diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index ba23edc35..f5d0c096e 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -117,7 +117,7 @@ blocks: fi done - open -Fn "$(xcode-select -p)/Applications/Simulator.app" - - xcrun simctl boot "iPhone 16" + - xcrun simctl boot "iPhone 17" - xcrun simctl install booted ./WebDriverAgentRunner-Runner.app epilogue: always: diff --git a/Core/source/mobile-interface/endpoints.ts b/Core/source/mobile-interface/endpoints.ts index d88f315c6..1f10b6ff5 100644 --- a/Core/source/mobile-interface/endpoints.ts +++ b/Core/source/mobile-interface/endpoints.ts @@ -69,19 +69,30 @@ export class Endpoints { } else if (req.format === 'encryptInline') { const encryptedAtts: Att[] = []; for (const att of req.atts || []) { - const encryptedAtt = (await PgpMsg.encrypt({ - pubkeys: req.pubKeys, - data: Buf.fromBase64Str(att.base64), - filename: att.name, - armor: false, - })) as Uint8Array; - encryptedAtts.push( - new Att({ - name: `${att.name}.pgp`, - type: 'application/pgp-encrypted', - data: encryptedAtt, - }), - ); + // Skip encryption for public key attachments + if (att.type === 'application/pgp-keys') { + encryptedAtts.push( + new Att({ + name: att.name, + type: att.type, + data: Buf.fromBase64Str(att.base64), + }), + ); + } else { + const encryptedAtt = (await PgpMsg.encrypt({ + pubkeys: req.pubKeys, + data: Buf.fromBase64Str(att.base64), + filename: att.name, + armor: false, + })) as Uint8Array; + encryptedAtts.push( + new Att({ + name: `${att.name}.pgp`, + type: 'application/pgp-encrypted', + data: encryptedAtt, + }), + ); + } } const signingPrv = await getSigningPrv(req); @@ -199,7 +210,7 @@ export class Endpoints { type: 'decryptErr', content: decryptRes.error.type === DecryptErrTypes.noMdc - ? decryptRes.content?.toUtfStr() ?? '' + ? (decryptRes.content?.toUtfStr() ?? '') : rawBlock.content.toString(), decryptErr: decryptRes, complete: true, diff --git a/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Attachment.swift b/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Attachment.swift index 6b6012db1..a71588a0c 100644 --- a/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Attachment.swift +++ b/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Attachment.swift @@ -38,6 +38,13 @@ extension ComposeViewController { handler: { [weak self] _ in self?.selectFromFilesApp() } ) ) + let publicKeyAction = UIAlertAction( + title: "files_picking_public_key".localized, + style: .default, + handler: { [weak self] _ in self?.attachPublicKey() } + ) + publicKeyAction.accessibilityIdentifier = "aid-attach-public-key" + alert.addAction(publicKeyAction) alert.addAction(UIAlertAction(title: "cancel".localized, style: .cancel)) present(alert, animated: true, completion: nil) } @@ -74,4 +81,45 @@ extension ComposeViewController { } ) } + + private func attachPublicKey() { + Task { + do { + // Get the current user's keypair + let keypair = try await getUserKeypair() + + // Get the public key data + let publicKeyArmored = keypair.public + guard let publicKeyData = publicKeyArmored.data(using: String.Encoding.utf8) else { + throw AppErr.general("Failed to convert public key to data") + } + + // Create a MessageAttachment from the public key data with longid-based filename + let attachment = MessageAttachment( + name: "0x\(keypair.primaryLongid).asc", + data: publicKeyData, + mimeType: "application/pgp-keys" + ) + appendAttachmentIfAllowed(attachment) + reload(sections: [.attachments]) + } catch { + showAlert(message: "Failed to retrieve public key: \(error.localizedDescription)") + } + } + } + + private func getUserKeypair() async throws -> Keypair { + // Get the user's email to retrieve their key + let userEmail = contextToSend.sender + + // Get all keypairs for the user + let keypairs = try await appContext.keyAndPassPhraseStorage.getKeypairsWithPassPhrases(email: userEmail) + + // Get the first available keypair + guard let firstKeypair = keypairs.first else { + throw AppErr.general("No keypair found for \(userEmail)") + } + + return firstKeypair + } } diff --git a/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Picker.swift b/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Picker.swift index 0fd1a57f7..7493a5a09 100644 --- a/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Picker.swift +++ b/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Picker.swift @@ -34,7 +34,7 @@ extension ComposeViewController: UIImagePickerControllerDelegate, UINavigationCo reload(sections: [.attachments]) } - private func appendAttachmentIfAllowed(_ attachment: MessageAttachment) { + internal func appendAttachmentIfAllowed(_ attachment: MessageAttachment) { let totalSize = contextToSend.attachments.map(\.size).reduce(0, +) + attachment.size if totalSize > GeneralConstants.Global.attachmentSizeLimit { showToast("files_picking_size_error_message".localized) diff --git a/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Setup.swift b/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Setup.swift index 51b0c2a8b..9a10a2b01 100644 --- a/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Setup.swift +++ b/FlowCrypt/Controllers/Compose/Extensions/ComposeViewController+Setup.swift @@ -24,7 +24,8 @@ extension ComposeViewController { self?.handleInfoTap() } let attachmentButton = NavigationBarItemsView.Input( - image: UIImage(systemName: "paperclip") + image: UIImage(systemName: "paperclip"), + accessibilityId: "aid-compose-attach" ) { [weak self] in self?.handleAttachTap() } diff --git a/FlowCrypt/Functionality/Services/Compose Message Helper/ComposeMessageHelper.swift b/FlowCrypt/Functionality/Services/Compose Message Helper/ComposeMessageHelper.swift index 9f0af4056..1bec2a829 100644 --- a/FlowCrypt/Functionality/Services/Compose Message Helper/ComposeMessageHelper.swift +++ b/FlowCrypt/Functionality/Services/Compose Message Helper/ComposeMessageHelper.swift @@ -396,17 +396,24 @@ extension ComposeMessageHelper { for attachment in message.atts { guard let data = Data(base64Encoded: attachment.base64) else { continue } - let encryptedFile = try await core.encrypt( - file: data, - name: attachment.name, - pubKeys: message.pubKeys - ) - let encryptedAttachment = SendableMsg.Attachment( - name: "\(attachment.name).pgp", - type: "application/pgp-encrypted", - base64: encryptedFile.base64EncodedString() - ) - encryptedAttachments.append(encryptedAttachment) + // Skip encryption for public key attachments + if attachment.type == "application/pgp-keys" { + // Add public key attachment as-is without encryption + encryptedAttachments.append(attachment) + } else { + // Encrypt all other attachments + let encryptedFile = try await core.encrypt( + file: data, + name: attachment.name, + pubKeys: message.pubKeys + ) + let encryptedAttachment = SendableMsg.Attachment( + name: "\(attachment.name).pgp", + type: "application/pgp-encrypted", + base64: encryptedFile.base64EncodedString() + ) + encryptedAttachments.append(encryptedAttachment) + } } return encryptedAttachments diff --git a/FlowCrypt/Resources/en.lproj/Localizable.strings b/FlowCrypt/Resources/en.lproj/Localizable.strings index 114b826fa..a287bacc6 100644 --- a/FlowCrypt/Resources/en.lproj/Localizable.strings +++ b/FlowCrypt/Resources/en.lproj/Localizable.strings @@ -395,6 +395,7 @@ Be careful - avoid clicking links and downloading attachments, or sharing person "files_picking_camera_input_source" = "Camera"; "files_picking_photo_library_source" = "Photo Library"; "files_picking_files_source" = "Files"; +"files_picking_public_key" = "Public Key"; "files_picking_no_library_access_error_title" = "No access to library"; "files_picking_no_library_access_error_message" = "You may open Settings and give the full access to photo library"; "files_picking_no_camera_access_error_title" = "No access to camera"; diff --git a/FlowCrypt/Resources/generated/flowcrypt-ios-prod.js.txt b/FlowCrypt/Resources/generated/flowcrypt-ios-prod.js.txt index 3fd94b80f..375fb60ce 100644 --- a/FlowCrypt/Resources/generated/flowcrypt-ios-prod.js.txt +++ b/FlowCrypt/Resources/generated/flowcrypt-ios-prod.js.txt @@ -20649,7 +20649,7 @@ var time_estimates;time_estimates={estimate_attack_times:function(e){var t,n,s,o /* entrypoint-bare starts here */ /*! For license information please see entrypoint-bare.js.LICENSE.txt */ -(()=>{var e={38:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mnemonic=void 0;const r=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"];t.mnemonic=e=>{if(!e)return;const t=e.split("").map((e=>(e=>{let t=e+"";for(;t.length<4;)t="0"+t;return t})(parseInt(e,16).toString(2)))).join("").match(new RegExp(".{1,11}","g"));return(t?.map((e=>parseInt(e,2)))??[]).map((e=>r[e].toUpperCase())).join(" ")}},145:(e,t,r)=>{"use strict";let n,i,s=r(7793);class a extends s{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new n(new i,this,e).stringify()}}a.registerLazyResult=e=>{n=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},178:(e,t,r)=>{"use strict";var n=r(8969);Object.defineProperty(t,"__esModule",{value:!0}),t.getKeyExpirationTimeForCapabilities=t.strToHex=t.iso2022jpToUtf=t.base64decode=t.base64encode=void 0;const i=r(8287);t.base64encode=e=>i.Buffer.from(e,"binary").toString("base64"),t.base64decode=e=>i.Buffer.from(e,"base64").toString("binary"),t.iso2022jpToUtf=e=>n.convert(e,{to:"UTF8",from:"JIS",type:"string"}),t.strToHex=e=>{if(null===e)return"";const t=[],r=e.length;let n,i=0;for(;i{let t=null;for(const r of e)(null===t||null!==r&&r>t)&&(t=r);return t},a=e=>{const t=s(e.bindingSignatures.map((e=>e.created)));return e.bindingSignatures.filter((e=>e.created===t))[0].getExpirationTime()};t.getKeyExpirationTimeForCapabilities=async(e,t,r,n)=>{const i=await e.getPrimaryUser(void 0,n,void 0);if(!i)throw new Error("Could not find primary user");const o=await e.getExpirationTime(n);if(!o)return null;const c=s(i.user.selfCertifications.map((e=>e.created))),u=i.user.selfCertifications.filter((e=>e.created===c))[0].getExpirationTime();let l=o{}))||await e.getEncryptionKey(r,null,n).catch((()=>{}));if(!t)return null;const i="bindingSignatures"in t?a(t):await t.getExpirationTime(n)??0;i{}))||await e.getSigningKey(r,null,n).catch((()=>{}));if(!t)return null;const i="bindingSignatures"in t?a(t):await t.getExpirationTime(n)??0;i{},251:(e,t)=>{t.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,c=(1<>1,l=-7,h=r?i-1:0,f=r?-1:1,p=e[t+h];for(h+=f,s=p&(1<<-l)-1,p>>=-l,l+=o;l>0;s=256*s+e[t+h],h+=f,l-=8);for(a=s&(1<<-l)-1,s>>=-l,l+=n;l>0;a=256*a+e[t+h],h+=f,l-=8);if(0===s)s=1-u;else{if(s===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),s-=u}return(p?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var a,o,c,u=8*s-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:s-1,d=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+h>=1?f/c:f*Math.pow(2,1-h))*c>=2&&(a++,c/=2),a+h>=l?(o=0,a=l):a+h>=1?(o=(t*c-1)*Math.pow(2,i),a+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&o,p+=d,o/=256,i-=8);for(a=a<0;e[r+p]=255&a,p+=d,a/=256,u-=8);e[r+p-d]|=128*g}},321:(e,t,r)=>{var n=r(1371),i=String.fromCharCode,s=Array.prototype.slice,a=Object.prototype.toString,o=Object.prototype.hasOwnProperty,c=Array.isArray,u=Object.keys;function l(e){return c?c(e):"[object Array]"===a.call(e)}function h(e){if(u)return u(e);var t=[];for(var r in e)o.call(e,r)&&(t[t.length]=r);return t}function f(e,t){if(n.HAS_TYPED)switch(e){case 8:return new Uint8Array(t);case 16:return new Uint16Array(t)}return new Array(t)}function p(e){if(n.CAN_CHARCODE_APPLY&&n.CAN_CHARCODE_APPLY_TYPED){var t=e&&e.length;if(tn.APPLY_BUFFER_SIZE&&(n.APPLY_BUFFER_SIZE_OK=!0),r}catch(e){n.APPLY_BUFFER_SIZE_OK=!1}}return d(e)}function d(e){for(var t,r="",s=e&&e.length,a=0;an.APPLY_BUFFER_SIZE&&(n.APPLY_BUFFER_SIZE_OK=!0);continue}catch(e){n.APPLY_BUFFER_SIZE_OK=!1}return g(e)}r+=i.apply(null,t)}return r}function g(e){for(var t="",r=e&&e.length,n=0;n>2],t[t.length]=y[(3&i)<<4],t[t.length]=w,t[t.length]=w;break}if(s=e[r++],r==n){t[t.length]=y[i>>2],t[t.length]=y[(3&i)<<4|(240&s)>>4],t[t.length]=y[(15&s)<<2],t[t.length]=w;break}a=e[r++],t[t.length]=y[i>>2],t[t.length]=y[(3&i)<<4|(240&s)>>4],t[t.length]=y[(15&s)<<2|(192&a)>>6],t[t.length]=y[63&a]}return p(t)},t.base64decode=function(e){var t,r,n,i,s,a,o;for(a=e&&e.length,s=0,o=[];s>4;do{if(61==(n=255&e.charCodeAt(s++)))return o;n=m[n]}while(s>2;do{if(61==(i=255&e.charCodeAt(s++)))return o;i=m[i]}while(s{"use strict";let n=r(7793);class i extends n{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,n.registerAtRule(i)},718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),i(e,Array.isArray(t)?t:[t],r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var s=Array.isArray(r)?r:[r],a=0;a0){var c=e(t,o.children,!0);if(c)return c}}return null},t.existsOne=function e(t,r){return(Array.isArray(r)?r:[r]).some((function(r){return(0,n.isTag)(r)&&t(r)||(0,n.hasChildren)(r)&&e(t,r.children)}))},t.findAll=function(e,t){for(var r=[],i=[Array.isArray(t)?t:[t]],s=[0];;)if(s[0]>=i[0].length){if(1===i.length)return r;i.shift(),s.shift()}else{var a=i[0][s[0]++];(0,n.isTag)(a)&&e(a)&&r.push(a),(0,n.hasChildren)(a)&&a.children.length>0&&(s.unshift(0),i.unshift(a.children))}};var n=r(1141);function i(e,t,r,i){for(var s=[],a=[Array.isArray(t)?t:[t]],o=[0];;)if(o[0]>=a[0].length){if(1===o.length)return s;a.shift(),o.shift()}else{var c=a[0][o[0]++];if(e(c)&&(s.push(c),--i<=0))return s;r&&(0,n.hasChildren)(c)&&c.children.length>0&&(o.unshift(0),a.unshift(c.children))}}},833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Buf=void 0;const n=r(178);class i extends Uint8Array{static concat=e=>{const t=new Uint8Array(e.reduce(((e,t)=>e+t.length),0));let r=0;for(const n of e)t.set(n,r),r+=n.length;return i.fromUint8(t)};static with=e=>e instanceof i?e:e instanceof Uint8Array?i.fromUint8(e):i.fromUtfStr(e);static fromUint8=e=>new i(e);static fromRawBytesStr=e=>{const t=e.length,r=new i(t);for(let n=0;n{let t;const r=e.length;let n;const s=[];for(let i=0;i55295&&t<57344){if(!n){if(t>56319){s.push(239,191,189);continue}if(i+1===r){s.push(239,191,189);continue}n=t;continue}if(t<56320){s.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&s.push(239,191,189);if(n=void 0,t<128)s.push(t);else if(t<2048)s.push(t>>6|192,63&t|128);else if(t<65536)s.push(t>>12|224,t>>6&63|128,63&t|128);else{if(!(t<1114112))throw new Error("Invalid code point");s.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return new i(s)};static fromBase64Str=e=>i.fromRawBytesStr((0,n.base64decode)(e));static fromBase64UrlStr=e=>i.fromBase64Str(e.replace(/-/g,"+").replace(/_/g,"/"));toString=(e="inform")=>this.toUtfStr(e);toUtfStr=(e="inform")=>{const t=this.length;let r=0,n="";const i=new Array(t);for(let s=0;s{const e=this.length,t=[];for(let r=0;r(0,n.base64encode)(this.toRawBytesStr());toBase64UrlStr=()=>this.toBase64Str().replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}t.Buf=i},909:e=>{e.exports={52120:8751,52103:8752,49848:8753,52121:8754,52125:8755,49839:8756,52123:8757,52122:8758,126:8759,52868:8760,52869:8761,49825:8770,49830:8771,49855:8772,49850:8811,49834:8812,49833:8813,49838:8814,14845090:8815,49828:8816,14845078:8817,52870:9825,52872:9826,52873:9827,52874:9828,52906:9829,52876:9831,52878:9833,52907:9834,52879:9836,52908:9841,52909:9842,52910:9843,52911:9844,53130:9845,52880:9846,53132:9847,53122:9848,53133:9849,53131:9850,52912:9851,53134:9852,53378:10050,53379:10051,53380:10052,53381:10053,53382:10054,53383:10055,53384:10056,53385:10057,53386:10058,53387:10059,53388:10060,53390:10061,53391:10062,53650:10098,53651:10099,53652:10100,53653:10101,53654:10102,53655:10103,53656:10104,53657:10105,53658:10106,53659:10107,53660:10108,53662:10109,53663:10110,50054:10529,50320:10530,50342:10532,50354:10534,50561:10536,50367:10537,50570:10539,50072:10540,50578:10541,50598:10543,50078:10544,50086:10561,50321:10562,50096:10563,50343:10564,50353:10565,50355:10566,50360:10567,50562:10568,50560:10569,50569:10570,50571:10571,50104:10572,50579:10573,50079:10574,50599:10575,50110:10576,50049:10785,50048:10786,50052:10787,50050:10788,50306:10789,51085:10790,50304:10791,50308:10792,50053:10793,50051:10794,50310:10795,50312:10796,50316:10797,50055:10798,50314:10799,50318:10800,50057:10801,50056:10802,50059:10803,50058:10804,50330:10805,50326:10806,50322:10807,50328:10808,50332:10810,50334:10811,50338:10812,50336:10813,50340:10814,50061:10815,50060:10816,50063:10817,50062:10818,51087:10819,50352:10820,50346:10821,50350:10822,50344:10823,50356:10824,50358:10825,50361:10826,50365:10827,50363:10828,50563:10829,50567:10830,50565:10831,50065:10832,50067:10833,50066:10834,50070:10835,50068:10836,51089:10837,50576:10838,50572:10839,50069:10840,50580:10841,50584:10842,50582:10843,50586:10844,50588:10845,50592:10846,50590:10847,50596:10848,50594:10849,50074:10850,50073:10851,50076:10852,50075:10853,50604:10854,51091:10855,50608:10856,50602:10857,50610:10858,50606:10859,50600:10860,51095:10861,51099:10862,51097:10863,51093:10864,50612:10865,50077:10866,50616:10867,50614:10868,50617:10869,50621:10870,50619:10871,50081:11041,50080:11042,50084:11043,50082:11044,50307:11045,51086:11046,50305:11047,50309:11048,50085:11049,50083:11050,50311:11051,50313:11052,50317:11053,50087:11054,50315:11055,50319:11056,50089:11057,50088:11058,50091:11059,50090:11060,50331:11061,50327:11062,50323:11063,50329:11064,51125:11065,50333:11066,50335:11067,50337:11069,50341:11070,50093:11071,50092:11072,50095:11073,50094:11074,51088:11075,50347:11077,50351:11078,50345:11079,50357:11080,50359:11081,50362:11082,50366:11083,50364:11084,50564:11085,50568:11086,50566:11087,50097:11088,50099:11089,50098:11090,50102:11091,50100:11092,51090:11093,50577:11094,50573:11095,50101:11096,50581:11097,50585:11098,50583:11099,50587:11100,50589:11101,50593:11102,50591:11103,50597:11104,50595:11105,50106:11106,50105:11107,50108:11108,50107:11109,50605:11110,51092:11111,50609:11112,50603:11113,50611:11114,50607:11115,50601:11116,51096:11117,51100:11118,51098:11119,51094:11120,50613:11121,50109:11122,50111:11123,50615:11124,50618:11125,50622:11126,50620:11127,14989442:12321,14989444:12322,14989445:12323,14989452:12324,14989458:12325,14989471:12326,14989475:12327,14989476:12328,14989480:12329,14989483:12330,14989486:12331,14989487:12332,14989488:12333,14989493:12334,14989696:12335,14989697:12336,14989700:12337,14989703:12338,14989713:12339,14989722:12340,14989724:12341,14989731:12342,14989736:12343,14989737:12344,14989748:12345,14989749:12346,14989753:12347,14989759:12348,14989965:12349,14989974:12350,14989975:12351,14989981:12352,14989999:12353,14990009:12354,14990211:12355,14990224:12356,14990234:12357,14990235:12358,14990240:12359,14990241:12360,14990242:12361,14990248:12362,14990255:12363,14990257:12364,14990259:12365,14990261:12366,14990269:12367,14990270:12368,14990271:12369,14990464:12370,14990466:12371,14990467:12372,14990472:12373,14990475:12374,14990476:12375,14990482:12376,14990485:12377,14990486:12378,14990487:12379,14990489:12380,14990510:12381,14990513:12382,14990752:12383,14990515:12384,14990517:12385,14990519:12386,14990521:12387,14990523:12388,14990526:12389,14990720:12390,14990722:12391,14990728:12392,14990729:12393,14990731:12394,14990732:12395,14990738:12396,14990740:12397,14990742:12398,14990744:12399,14990751:12400,14990755:12401,14990762:12402,14990764:12403,14990766:12404,14990769:12405,14990775:12406,14990776:12407,14990777:12408,14990778:12409,14990781:12410,14990782:12411,14990977:12412,14990978:12413,14990980:12414,14990981:12577,14990985:12578,14990986:12579,14990988:12580,14990990:12581,14990992:12582,14990994:12583,14990995:12584,14990996:12585,14990999:12586,14991001:12587,14991002:12588,14991006:12589,14991007:12590,14991026:12591,14991031:12592,14991033:12593,14991035:12594,14991036:12595,14991037:12596,14991038:12597,14991232:12598,14991233:12599,14991237:12600,14991238:12601,14991240:12602,14991241:12603,14991243:12604,14991244:12605,14991245:12606,14991247:12607,14991250:12608,14991260:12609,14991264:12610,14991266:12611,14991280:12612,14991282:12613,14991292:12614,14991293:12615,14991295:12616,15040640:12617,15040641:12618,15040644:12619,15040647:12620,15040650:12621,15040652:12622,15040654:12623,15040656:12624,15040659:12625,15040663:12626,15040664:12627,15040667:12628,15040668:12629,15040669:12630,15040670:12631,15040674:12632,15040679:12633,15040686:12634,15040688:12635,15040690:12636,15040691:12637,15040693:12638,15040896:12639,15040897:12640,15040898:12641,15040901:12642,15040902:12643,15040906:12644,15040908:12645,15040910:12646,15040913:12647,15040914:12648,15040915:12649,15040919:12650,15040921:12651,15040927:12652,15040928:12653,15040930:12654,15040931:12655,15040934:12656,15040935:12657,15040938:12658,15040941:12659,15040944:12660,15040945:12661,15040699:12662,15041153:12663,15041155:12664,15041156:12665,15041158:12666,15041162:12667,15041166:12668,15041167:12669,15041168:12670,15041170:12833,15041171:12834,15041172:12835,15041174:12836,15041179:12837,15041180:12838,15041182:12839,15041183:12840,15041184:12841,15041185:12842,15041186:12843,15041194:12844,15041199:12845,15041200:12846,15041209:12847,15041210:12848,15041213:12849,15041408:12850,15041411:12851,15041412:12852,15041415:12853,15041420:12854,15041422:12855,15041424:12856,15041427:12857,15041428:12858,15041432:12859,15041436:12860,15041437:12861,15041439:12862,15041442:12863,15041444:12864,15041446:12865,15041448:12866,15041449:12867,15041455:12868,15041457:12869,15041462:12870,15041466:12871,15041470:12872,15041667:12873,15041670:12874,15041671:12875,15041672:12876,15041675:12877,15041676:12878,15041677:12879,15041678:12880,15041458:12881,15041680:12882,15041687:12883,15041689:12884,15041691:12885,15041692:12886,15041693:12887,15041694:12888,15041699:12889,15041703:12890,15041704:12891,15041708:12892,15041709:12893,15041711:12894,15041713:12895,15041715:12896,15041716:12897,15041717:12898,15041720:12899,15041721:12900,15041922:12901,15041930:12902,15041935:12903,15041939:12904,15041941:12905,15041943:12906,15041944:12907,15041951:12908,15041956:12909,15041958:12910,15041982:12911,15042179:12912,15042180:12913,15042187:12914,15042190:12915,15042200:12916,15042205:12917,15042209:12918,15042211:12919,15042221:12920,15042232:12921,15042234:12922,15042236:12923,15042238:12924,15042239:12925,15042434:12926,15042440:13089,15042447:13090,15042449:13091,15042450:13092,15042451:13093,15042453:13094,15042456:13095,15042462:13096,15042466:13097,15042469:13098,15042478:13099,15042482:13100,15042483:13101,15042484:13102,15042487:13103,15042689:13104,15042690:13105,15042693:13106,15042706:13107,15042707:13108,15042709:13109,15042710:13110,15042712:13111,15042722:13112,15042728:13113,15042737:13114,15042738:13115,15042741:13116,15042748:13117,15042949:13118,15042953:13119,15042965:13120,15042967:13121,15042968:13122,15042970:13123,15042972:13124,15042975:13125,15042976:13126,15042977:13127,15042982:13128,15042990:13129,15042999:13130,15043e3:13131,15043001:13132,15043200:13133,15043202:13134,15043205:13135,15043210:13136,15043212:13137,15043219:13138,15043221:13139,15043222:13140,15043223:13141,15043224:13142,15043226:13143,15043228:13144,15043236:13145,15043237:13146,15043238:13147,15043239:13148,15043247:13149,15043248:13150,15043254:13151,15043255:13152,15043256:13153,15043258:13154,15043259:13155,15043261:13156,15043456:13157,15043460:13158,15043462:13159,15043464:13160,15043468:13161,15043471:13162,15043473:13163,15043476:13164,15043478:13165,15043483:13166,15043484:13167,15043489:13168,15043493:13169,15043496:13170,15043497:13171,15043498:13172,15043500:13173,15043504:13174,15043505:13175,15043508:13176,15043510:13177,15043511:13178,15043712:13179,15043715:13180,15043722:13181,15043723:13182,15043724:13345,15043729:13346,15043731:13347,15043736:13348,15043739:13349,15043740:13350,15043742:13351,15043743:13352,15043749:13353,15043751:13354,15043752:13355,15043753:13356,15043755:13357,15043756:13358,15043757:13359,15043760:13360,15043762:13361,15043765:13362,15043772:13363,15043773:13364,15043774:13365,15043970:13366,15043980:13367,15043979:13368,15043993:13369,15043995:13370,15044001:13371,15044003:13372,15044005:13373,15044012:13374,15044013:13375,15044018:13376,15044025:13377,15044030:13378,15044227:13379,15044231:13380,15044232:13381,15044238:13382,15044243:13383,15044244:13384,15044249:13385,15044253:13386,15044257:13387,15044260:13388,15044266:13389,15044267:13390,15044271:13391,15044274:13392,15044276:13393,15044277:13394,15044279:13395,15044280:13396,15044282:13397,15044285:13398,15044480:13399,15044485:13400,15044495:13401,15044498:13402,15044499:13403,15044501:13404,15044506:13405,15044509:13406,15044510:13407,15044512:13408,15044518:13409,15044519:13410,15044533:13411,15044738:13412,15044755:13413,15044762:13414,15044769:13415,15044775:13416,15044776:13417,15044778:13418,15044783:13419,15044785:13420,15044788:13421,15044789:13422,15044995:13423,15044996:13424,15044999:13425,15045005:13426,15045007:13427,15045022:13428,15045026:13429,15045028:13430,15045030:13431,15045031:13432,15045033:13433,15045035:13434,15045037:13435,15045038:13436,15045044:13437,15045055:13438,15045249:13601,15045251:13602,15045253:13603,15045256:13604,15045257:13605,15045261:13606,15045265:13607,15045269:13608,15045270:13609,15045276:13610,15045279:13611,15045281:13612,15045286:13613,15045287:13614,15045289:13615,15045290:13616,15045293:13617,15045294:13618,15045297:13619,15045303:13620,15045305:13621,15045306:13622,15045307:13623,15045311:13624,15045510:13625,15045514:13626,15045517:13627,15045518:13628,15045536:13629,15045546:13630,15045548:13631,15045551:13632,15045558:13633,15045564:13634,15045566:13635,15045567:13636,15045760:13637,15045761:13638,15045765:13639,15045768:13640,15045769:13641,15045772:13642,15045773:13643,15045774:13644,15045781:13645,15045802:13646,15045803:13647,15045810:13648,15045813:13649,15045814:13650,15045819:13651,15045820:13652,15045821:13653,15046017:13654,15046023:13655,15046025:13656,15046026:13657,15046029:13658,15046032:13659,15046033:13660,15046040:13661,15046042:13662,15046043:13663,15046046:13664,15046048:13665,15046049:13666,15046052:13667,15046054:13668,15046079:13669,15046273:13670,15046274:13671,15046278:13672,15046280:13673,15046286:13674,15046287:13675,15046289:13676,15046290:13677,15046291:13678,15046292:13679,15046295:13680,15046307:13681,15046308:13682,15046317:13683,15046322:13684,15046335:13685,15046529:13686,15046531:13687,15046534:13688,15046537:13689,15046539:13690,15046540:13691,15046542:13692,15046545:13693,15046546:13694,15046547:13857,15046551:13858,15046552:13859,15046555:13860,15046558:13861,15046562:13862,15046569:13863,15046582:13864,15046591:13865,15046789:13866,15046792:13867,15046794:13868,15046797:13869,15046798:13870,15046799:13871,15046800:13872,15046801:13873,15046802:13874,15046809:13875,15046828:13876,15046832:13877,15046835:13878,15046837:13879,15046839:13880,15046841:13881,15046843:13882,15046844:13883,15046845:13884,15046847:13885,15047040:13886,15047041:13887,15047043:13888,15047044:13889,15047046:13890,15047049:13891,15047051:13892,15047053:13893,15047055:13894,15047060:13895,15047070:13896,15047072:13897,15047073:13898,15047074:13899,15047075:13900,15047078:13901,15047081:13902,15047085:13903,15047087:13904,15047089:13905,15047090:13906,15047093:13907,15047300:13908,15047301:13909,15047304:13910,15047307:13911,15047308:13912,15047317:13913,15047321:13914,15047322:13915,15047325:13916,15047326:13917,15047327:13918,15047334:13919,15047335:13920,15047336:13921,15047337:13922,15047339:13923,15047340:13924,15047341:13925,15047345:13926,15047347:13927,15047351:13928,15047358:13929,15047557:13930,15047561:13931,15047562:13932,15047563:13933,15047567:13934,15047568:13935,15047564:13936,15047565:13937,15047577:13938,15047580:13939,15047581:13940,15047583:13941,15047585:13942,15047588:13943,15047589:13944,15047590:13945,15047591:13946,15047592:13947,15047601:13948,15047595:13949,15047597:13950,15047606:14113,15047607:14114,15047809:14115,15047810:14116,15047815:14117,15047818:14118,15047820:14119,15047825:14120,15047829:14121,15047834:14122,15047835:14123,15047837:14124,15047840:14125,15047842:14126,15047843:14127,15047844:14128,15047845:14129,15047849:14130,15047850:14131,15047852:14132,15047854:14133,15047855:14134,15047859:14135,15047860:14136,15047869:14137,15047870:14138,15047871:14139,15048069:14140,15048070:14141,15048076:14142,15048077:14143,15048082:14144,15048098:14145,15048101:14146,15048103:14147,15048104:14148,15048107:14149,15048109:14150,15048110:14151,15048111:14152,15048112:14153,15048113:14154,15048115:14155,15048116:14156,15048117:14157,15048119:14158,15048121:14159,15048122:14160,15048123:14161,15048124:14162,15048126:14163,15048321:14164,15048323:14165,15048332:14166,15048340:14167,15048343:14168,15048345:14169,15048346:14170,15048348:14171,15048349:14172,15048350:14173,15048351:14174,15048353:14175,15048341:14176,15048359:14177,15048360:14178,15048361:14179,15048364:14180,15048376:14181,15048381:14182,15048583:14183,15048584:14184,15048588:14185,15048591:14186,15048597:14187,15048605:14188,15048606:14189,15048612:14190,15048614:14191,15048615:14192,15048617:14193,15048621:14194,15048624:14195,15048629:14196,15048630:14197,15048632:14198,15048637:14199,15048638:14200,15048639:14201,15048835:14202,15048836:14203,15048840:14204,15048841:14205,15048609:14206,15048844:14369,15048845:14370,15048859:14371,15048862:14372,15048863:14373,15048864:14374,15048870:14375,15048871:14376,15048877:14377,15048882:14378,15048889:14379,15048895:14380,15049097:14381,15049100:14382,15049101:14383,15049103:14384,15049104:14385,15049109:14386,15049119:14387,15049121:14388,15049124:14389,15049127:14390,15049128:14391,15049144:14392,15049148:14393,15049151:14394,15049344:14395,15049345:14396,15049351:14397,15049352:14398,15049353:14399,15049354:14400,15049356:14401,15049357:14402,15049359:14403,15049360:14404,15049364:14405,15049366:14406,15049373:14407,15049376:14408,15049377:14409,15049378:14410,15049382:14411,15049385:14412,15049393:14413,15049394:14414,15049604:14415,15049404:14416,15049602:14417,15049608:14418,15049613:14419,15049614:14420,15049616:14421,15049618:14422,15049620:14423,15049622:14424,15049626:14425,15049629:14426,15049633:14427,15049634:14428,15049641:14429,15049651:14430,15049861:14431,15049862:14432,15049867:14433,15049868:14434,15049874:14435,15049875:14436,15049876:14437,15243649:14438,15049885:14439,15049889:14440,15049891:14441,15049892:14442,15049896:14443,15049903:14444,15049904:14445,15049907:14446,15049909:14447,15049910:14448,15049919:14449,15050115:14450,15050118:14451,15050130:14452,15050131:14453,15050137:14454,15050139:14455,15050141:14456,15050142:14457,15050143:14458,15050145:14459,15050147:14460,15050155:14461,15050157:14462,15050159:14625,15050162:14626,15050165:14627,15050166:14628,15050169:14629,15050171:14630,15050172:14631,15050379:14632,15050380:14633,15050382:14634,15050386:14635,15050389:14636,15050391:14637,15050399:14638,15050404:14639,15050407:14640,15050413:14641,15050414:14642,15050415:14643,15050416:14644,15050419:14645,15050423:14646,15050426:14647,15050428:14648,15050625:14649,15050627:14650,15050628:14651,15050632:14652,15050634:14653,15050637:14654,15050642:14655,15050653:14656,15050654:14657,15050655:14658,15050659:14659,15050660:14660,15050663:14661,15050670:14662,15050671:14663,15050673:14664,15050674:14665,15050676:14666,15050679:14667,15050880:14668,15050884:14669,15050892:14670,15050893:14671,15050894:14672,15050898:14673,15050899:14674,15050910:14675,15050915:14676,15050916:14677,15050919:14678,15050920:14679,15050922:14680,15050925:14681,15050928:14682,15051140:14683,15051141:14684,15051143:14685,15051144:14686,15051148:14687,15051152:14688,15051157:14689,15051166:14690,15051171:14691,15051173:14692,15051175:14693,15051181:14694,15051191:14695,15051194:14696,15051195:14697,15051198:14698,15051403:14699,15051408:14700,15051411:14701,15051414:14702,15051417:14703,15051420:14704,15051422:14705,15051423:14706,15051424:14707,15051426:14708,15051431:14709,15051436:14710,15051441:14711,15051442:14712,15051443:14713,15051445:14714,15051448:14715,15051450:14716,15051451:14717,15051455:14718,15051652:14881,15051654:14882,15051656:14883,15051663:14884,15051674:14885,15051676:14886,15051680:14887,15051685:14888,15051690:14889,15051694:14890,15051701:14891,15051702:14892,15051709:14893,15051904:14894,15051905:14895,15051912:14896,15051927:14897,15051956:14898,15051929:14899,15051931:14900,15051933:14901,15051937:14902,15051941:14903,15051949:14904,15051960:14905,15052161:14906,15052171:14907,15052172:14908,15052178:14909,15052182:14910,15052190:14911,15052200:14912,15052206:14913,15052207:14914,15052220:14915,15052221:14916,15052222:14917,15052223:14918,15052417:14919,15052420:14920,15052422:14921,15052426:14922,15052430:14923,15052432:14924,15052433:14925,15052435:14926,15052436:14927,15052438:14928,15052456:14929,15052457:14930,15052460:14931,15052461:14932,15052463:14933,15052465:14934,15052466:14935,15052471:14936,15052474:14937,15052476:14938,15052672:14939,15052673:14940,15052685:14941,15052687:14942,15052694:14943,15052695:14944,15052696:14945,15052697:14946,15052698:14947,15052704:14948,15052719:14949,15052721:14950,15052724:14951,15052733:14952,15052940:14953,15052951:14954,15052958:14955,15052959:14956,15052963:14957,15052966:14958,15052969:14959,15052971:14960,15052972:14961,15052974:14962,15052976:14963,15052978:14964,15052981:14965,15052982:14966,15053209:14967,15053210:14968,15053212:14969,15053218:14970,15053219:14971,15053223:14972,15053224:14973,15053225:14974,15053229:15137,15053232:15138,15053236:15139,15053237:15140,15053242:15141,15053243:15142,15053244:15143,15053245:15144,15053447:15145,15053448:15146,15053450:15147,15053455:15148,15053458:15149,15053469:15150,15053471:15151,15053472:15152,15053474:15153,15053475:15154,15053478:15155,15053482:15156,15053490:15157,15053492:15158,15053493:15159,15053498:15160,15053705:15161,15053707:15162,15053714:15163,15053725:15164,15053719:15165,15053742:15166,15053745:15167,15053746:15168,15053748:15169,15053953:15170,15053958:15171,15053965:15172,15053970:15173,15053995:15174,15053987:15175,15053988:15176,15053990:15177,15053991:15178,15054001:15179,15054004:15180,15054009:15181,15054013:15182,15054015:15183,15054210:15184,15054211:15185,15054214:15186,15054216:15187,15054229:15188,15054225:15189,15054233:15190,15054218:15191,15054239:15192,15054240:15193,15054241:15194,15054242:15195,15054244:15196,15054250:15197,15054253:15198,15054256:15199,15054265:15200,15054266:15201,15054270:15202,15054271:15203,15054465:15204,15054467:15205,15054472:15206,15054474:15207,15054482:15208,15054483:15209,15054484:15210,15054485:15211,15054489:15212,15054491:15213,15054495:15214,15054496:15215,15054503:15216,15054507:15217,15054512:15218,15054516:15219,15054520:15220,15054521:15221,15054723:15222,15054727:15223,15054731:15224,15054736:15225,15054734:15226,15054744:15227,15054745:15228,15054752:15229,15054756:15230,15054761:15393,15054776:15394,15054777:15395,15054976:15396,15054983:15397,15054989:15398,15054994:15399,15054996:15400,15054997:15401,15055e3:15402,15055007:15403,15055008:15404,15055022:15405,15055016:15406,15055026:15407,15055029:15408,15055038:15409,15055243:15410,15055248:15411,15055241:15412,15055249:15413,15055254:15414,15055256:15415,15055259:15416,15055260:15417,15055262:15418,15055272:15419,15055274:15420,15055275:15421,15055276:15422,15055277:15423,15055278:15424,15055280:15425,15055488:15426,15055499:15427,15055502:15428,15055522:15429,15055524:15430,15055525:15431,15055528:15432,15055530:15433,15055532:15434,15055537:15435,15055539:15436,15055549:15437,15055550:15438,15055551:15439,15055750:15440,15055756:15441,15055755:15442,15055758:15443,15055761:15444,15055762:15445,15055764:15446,15055765:15447,15055772:15448,15055774:15449,15055781:15450,15055787:15451,15056002:15452,15056006:15453,15056007:15454,15056008:15455,15056014:15456,15056025:15457,15056028:15458,15056029:15459,15056033:15460,15056034:15461,15056035:15462,15056036:15463,15056040:15464,15056043:15465,15056044:15466,15056046:15467,15056048:15468,15056052:15469,15056054:15470,15056059:15471,15056061:15472,15056063:15473,15056256:15474,15056260:15475,15056261:15476,15056263:15477,15056269:15478,15056272:15479,15056276:15480,15056280:15481,15056283:15482,15056288:15483,15056291:15484,15056292:15485,15056295:15486,15056303:15649,15056306:15650,15056308:15651,15056309:15652,15056312:15653,15056314:15654,15056317:15655,15056318:15656,15056521:15657,15056525:15658,15056527:15659,15056534:15660,15056540:15661,15056541:15662,15056546:15663,15056551:15664,15056555:15665,15056548:15666,15056556:15667,15056559:15668,15056560:15669,15056561:15670,15056568:15671,15056772:15672,15056775:15673,15056776:15674,15056777:15675,15056779:15676,15056784:15677,15056785:15678,15056786:15679,15056787:15680,15056788:15681,15056798:15682,15056801:15683,15056802:15684,15056808:15685,15056809:15686,15056810:15687,15056812:15688,15056813:15689,15056814:15690,15056815:15691,15056818:15692,15056819:15693,15056822:15694,15056826:15695,15056828:15696,15106183:15697,15106186:15698,15106189:15699,15106195:15700,15106196:15701,15106199:15702,15106200:15703,15106202:15704,15106207:15705,15106212:15706,15106221:15707,15106227:15708,15106229:15709,15106432:15710,15106439:15711,15106440:15712,15106441:15713,15106444:15714,15106449:15715,15106452:15716,15106454:15717,15106455:15718,15106461:15719,15106465:15720,15106471:15721,15106481:15722,15106494:15723,15106495:15724,15106690:15725,15106694:15726,15106696:15727,15106698:15728,15106702:15729,15106705:15730,15106707:15731,15106709:15732,15106712:15733,15106717:15734,15106718:15735,15106722:15736,15106724:15737,15106725:15738,15106728:15739,15106736:15740,15106737:15741,15106743:15742,15106747:15905,15106750:15906,15106946:15907,15106948:15908,15106952:15909,15106953:15910,15106954:15911,15106955:15912,15106958:15913,15106959:15914,15106964:15915,15106965:15916,15106969:15917,15106971:15918,15106973:15919,15106974:15920,15106978:15921,15106981:15922,15106994:15923,15106997:15924,15107e3:15925,15107004:15926,15107005:15927,15107202:15928,15107207:15929,15107210:15930,15107212:15931,15107216:15932,15107217:15933,15107218:15934,15107219:15935,15107220:15936,15107222:15937,15107223:15938,15107225:15939,15107228:15940,15107230:15941,15107234:15942,15107242:15943,15107243:15944,15107248:15945,15107249:15946,15107253:15947,15107254:15948,15107255:15949,15107257:15950,15107457:15951,15107461:15952,15107462:15953,15107465:15954,15107486:15955,15107488:15956,15107500:15957,15107506:15958,15107512:15959,15107515:15960,15107516:15961,15107519:15962,15107712:15963,15107713:15964,15107715:15965,15107716:15966,15107723:15967,15107725:15968,15107730:15969,15107731:15970,15107735:15971,15107736:15972,15107740:15973,15107741:15974,15107743:15975,15107744:15976,15107749:15977,15107752:15978,15107754:15979,15107757:15980,15107768:15981,15107769:15982,15107772:15983,15107968:15984,15107969:15985,15107970:15986,15107982:15987,15107983:15988,15107989:15989,15107996:15990,15107997:15991,15107998:15992,15107999:15993,15108001:15994,15108002:15995,15108007:15996,15108009:15997,15108005:15998,15108012:16161,15108013:16162,15108015:16163,15108225:16164,15108227:16165,15108228:16166,15108231:16167,15108243:16168,15108245:16169,15108252:16170,15108256:16171,15108258:16172,15108259:16173,15108263:16174,15108265:16175,15108267:16176,15108281:16177,15108285:16178,15108482:16179,15108483:16180,15108484:16181,15108486:16182,15108492:16183,15108496:16184,15108497:16185,15108498:16186,15108500:16187,15108502:16188,15108506:16189,15108508:16190,15108516:16191,15108525:16192,15108527:16193,15108531:16194,15108538:16195,15108541:16196,15108749:16197,15108750:16198,15108751:16199,15108752:16200,15108774:16201,15108776:16202,15108787:16203,15108790:16204,15108791:16205,15108794:16206,15108798:16207,15108799:16208,15108996:16209,15109006:16210,15109013:16211,15109014:16212,15109018:16213,15109034:16214,15109042:16215,15109044:16216,15109052:16217,15109053:16218,15109251:16219,15109252:16220,15109258:16221,15109259:16222,15109261:16223,15109264:16224,15109267:16225,15109270:16226,15109272:16227,15109289:16228,15109290:16229,15109293:16230,15109301:16231,15109302:16232,15109305:16233,15109308:16234,15109505:16235,15109506:16236,15109507:16237,15109508:16238,15109510:16239,15109514:16240,15109515:16241,15109518:16242,15109522:16243,15109523:16244,15109524:16245,15109528:16246,15109531:16247,15109541:16248,15109542:16249,15109548:16250,15109549:16251,15109553:16252,15109556:16253,15109557:16254,15109560:16417,15109564:16418,15109565:16419,15109567:16420,15109762:16421,15109764:16422,15109767:16423,15109770:16424,15109776:16425,15109780:16426,15109781:16427,15109785:16428,15109786:16429,15109790:16430,15109796:16431,15109798:16432,15109805:16433,15109806:16434,15109807:16435,15109821:16436,15110017:16437,15110021:16438,15110024:16439,15110030:16440,15110033:16441,15110035:16442,15110036:16443,15110037:16444,15110044:16445,15110048:16446,15110053:16447,15110058:16448,15110060:16449,15110066:16450,15110067:16451,15110069:16452,15110072:16453,15110073:16454,15110281:16455,15110282:16456,15110288:16457,15110290:16458,15110292:16459,15110296:16460,15110302:16461,15110304:16462,15110306:16463,15110308:16464,15110309:16465,15110313:16466,15110314:16467,15110319:16468,15110320:16469,15110325:16470,15110333:16471,15110335:16472,15110539:16473,15110543:16474,15110545:16475,15110546:16476,15110547:16477,15110548:16478,15110554:16479,15110555:16480,15110556:16481,15110557:16482,15110559:16483,15110560:16484,15110561:16485,15110563:16486,15110573:16487,15110579:16488,15110580:16489,15110587:16490,15110589:16491,15110789:16492,15110791:16493,15110799:16494,15110800:16495,15110801:16496,15110808:16497,15110809:16498,15110811:16499,15110813:16500,15110815:16501,15110817:16502,15110819:16503,15110822:16504,15110824:16505,15110828:16506,15110835:16507,15110845:16508,15110846:16509,15110847:16510,15111044:16673,15111049:16674,15111050:16675,15111051:16676,15111052:16677,15111054:16678,15111056:16679,15111057:16680,15111061:16681,15111063:16682,15111076:16683,15111077:16684,15111081:16685,15111082:16686,15111085:16687,15111088:16688,15111093:16689,15111095:16690,15111099:16691,15111103:16692,15111297:16693,15111300:16694,15111304:16695,15111305:16696,15111306:16697,15111311:16698,15111315:16699,15111316:16700,15111318:16701,15111321:16702,15111323:16703,15111326:16704,15111327:16705,15111330:16706,15111334:16707,15111337:16708,15111342:16709,15111345:16710,15111354:16711,15111356:16712,15111357:16713,15111555:16714,15111559:16715,15111561:16716,15111568:16717,15111570:16718,15111572:16719,15111583:16720,15111584:16721,15111591:16722,15111595:16723,15111610:16724,15111613:16725,15111809:16726,15111813:16727,15111818:16728,15111826:16729,15111829:16730,15111832:16731,15111837:16732,15111840:16733,15111843:16734,15111846:16735,15111854:16736,15111858:16737,15111859:16738,15111860:16739,15111871:16740,15112066:16741,15112072:16742,15112073:16743,15112078:16744,15112080:16745,15112084:16746,15112086:16747,15112088:16748,15112095:16749,15112112:16750,15112114:16751,15112116:16752,15112117:16753,15112121:16754,15112126:16755,15112127:16756,15112320:16757,15112324:16758,15112328:16759,15112329:16760,15112333:16761,15112337:16762,15112338:16763,15112341:16764,15112342:16765,15112349:16766,15112350:16929,15112353:16930,15112354:16931,15112355:16932,15112356:16933,15112358:16934,15112361:16935,15112362:16936,15112363:16937,15112364:16938,15112366:16939,15112368:16940,15112369:16941,15112371:16942,15112377:16943,15112375:16944,15112576:16945,15112581:16946,15112582:16947,15112586:16948,15112588:16949,15112593:16950,15112590:16951,15112599:16952,15112600:16953,15112601:16954,15112603:16955,15112604:16956,15112608:16957,15112609:16958,15113147:16959,15112618:16960,15112619:16961,15112620:16962,15112638:16963,15112627:16964,15112629:16965,15112639:16966,15112631:16967,15112632:16968,15112633:16969,15112635:16970,15112832:16971,15112636:16972,15112843:16973,15112844:16974,15112845:16975,15112848:16976,15112850:16977,15112857:16978,15112858:16979,15112859:16980,15112860:16981,15112863:16982,15112864:16983,15112868:16984,15112877:16985,15112881:16986,15112882:16987,15112885:16988,15112891:16989,15112895:16990,15113088:16991,15113090:16992,15113091:16993,15113096:16994,15113100:16995,15113102:16996,15113103:16997,15113108:16998,15113115:16999,15113119:17e3,15113128:17001,15113131:17002,15113132:17003,15113134:17004,15113146:17005,15113349:17006,15113351:17007,15113358:17008,15113363:17009,15113369:17010,15113372:17011,15113376:17012,15113378:17013,15113395:17014,15113406:17015,15113605:17016,15113607:17017,15113608:17018,15113612:17019,15113620:17020,15113621:17021,15113629:17022,15113638:17185,15113644:17186,15113646:17187,15113652:17188,15113654:17189,15113659:17190,15113857:17191,15113860:17192,15113870:17193,15113871:17194,15113873:17195,15113875:17196,15113878:17197,15113880:17198,15113881:17199,15113883:17200,15113904:17201,15113905:17202,15113906:17203,15113909:17204,15113915:17205,15113916:17206,15113917:17207,15114169:17208,15114112:17209,15114114:17210,15114115:17211,15114117:17212,15114120:17213,15114121:17214,15114130:17215,15114135:17216,15114137:17217,15114140:17218,15114145:17219,15114150:17220,15114160:17221,15114162:17222,15114166:17223,15114167:17224,15114642:17225,15114388:17226,15114393:17227,15114397:17228,15114399:17229,15114408:17230,15114407:17231,15114412:17232,15114413:17233,15114415:17234,15114416:17235,15114417:17236,15114419:17237,15114427:17238,15114431:17239,15114628:17240,15114629:17241,15114634:17242,15114636:17243,15114645:17244,15114647:17245,15114648:17246,15114651:17247,15114667:17248,15114670:17249,15114671:17250,15114672:17251,15114673:17252,15114674:17253,15114677:17254,15114681:17255,15114682:17256,15114683:17257,15114684:17258,15114882:17259,15114884:17260,15114886:17261,15114888:17262,15114902:17263,15114904:17264,15114906:17265,15114908:17266,15114913:17267,15114915:17268,15114917:17269,15114921:17270,15114922:17271,15114926:17272,15114930:17273,15114939:17274,15115141:17275,15115144:17276,15115148:17277,15115151:17278,15115152:17441,15115153:17442,15115155:17443,15115158:17444,15115161:17445,15115164:17446,15115165:17447,15115173:17448,15115176:17449,15115178:17450,15115179:17451,15115180:17452,15115181:17453,15115184:17454,15115185:17455,15115189:17456,15115190:17457,15115195:17458,15115196:17459,15115197:17460,15115398:17461,15115401:17462,15115402:17463,15115408:17464,15115409:17465,15115411:17466,15115414:17467,15115415:17468,15115441:17469,15115443:17470,15115445:17471,15115448:17472,15115451:17473,15115650:17474,15115653:17475,15115657:17476,15115662:17477,15115671:17478,15115675:17479,15115683:17480,15115684:17481,15115685:17482,15115686:17483,15115688:17484,15115689:17485,15115692:17486,15115696:17487,15115697:17488,15115698:17489,15115706:17490,15115707:17491,15115711:17492,15115904:17493,15115917:17494,15115922:17495,15115926:17496,15115928:17497,15115937:17498,15115941:17499,15115942:17500,15115944:17501,15115947:17502,15115949:17503,15115951:17504,15115959:17505,15115960:17506,15115962:17507,15115964:17508,15116165:17509,15116168:17510,15116177:17511,15116182:17512,15116183:17513,15116194:17514,15116197:17515,15116206:17516,15116207:17517,15116209:17518,15116211:17519,15116213:17520,15116222:17521,15116416:17522,15116417:17523,15116419:17524,15116431:17525,15116433:17526,15116437:17527,15116442:17528,15116445:17529,15116448:17530,15116452:17531,15116456:17532,15116464:17533,15116466:17534,15116468:17697,15116471:17698,15116475:17699,15116478:17700,15116479:17701,15116677:17702,15116678:17703,15116681:17704,15116682:17705,15116686:17706,15116688:17707,15116689:17708,15116690:17709,15116693:17710,15116694:17711,15116699:17712,15116708:17713,15116711:17714,15116714:17715,15116721:17716,15116723:17717,15116734:17718,15116929:17719,15116931:17720,15116934:17721,15116935:17722,15116937:17723,15116939:17724,15116945:17725,15116955:17726,15116957:17727,15116958:17728,15116959:17729,15116965:17730,15116971:17731,15116975:17732,15116976:17733,15116977:17734,15116980:17735,15116989:17736,15116990:17737,15116991:17738,15117190:17739,15117193:17740,15117192:17741,15117196:17742,15117200:17743,15117204:17744,15117205:17745,15117206:17746,15117212:17747,15117213:17748,15117220:17749,15117223:17750,15117228:17751,15117232:17752,15117233:17753,15117234:17754,15117244:17755,15117245:17756,15117442:17757,15117443:17758,15117446:17759,15117447:17760,15117449:17761,15117455:17762,15117456:17763,15117457:17764,15117463:17765,15117467:17766,15117470:17767,15117476:17768,15117480:17769,15117483:17770,15117484:17771,15117487:17772,15117493:17773,15117494:17774,15117499:17775,15117503:17776,15117702:17777,15117706:17778,15117709:17779,15117714:17780,15117718:17781,15117720:17782,15117725:17783,15117728:17784,15117735:17785,15117739:17786,15117742:17787,15117744:17788,15117749:17789,15117757:17790,15117758:17953,15117954:17954,15117957:17955,15117975:17956,15117979:17957,15117983:17958,15117984:17959,15117986:17960,15117987:17961,15117992:17962,15117993:17963,15117996:17964,15117997:17965,15117998:17966,15118e3:17967,15118008:17968,15118009:17969,15118013:17970,15118014:17971,15118211:17972,15118212:17973,15118217:17974,15118220:17975,15118230:17976,15118234:17977,15118241:17978,15118243:17979,15118246:17980,15118247:17981,15118254:17982,15118257:17983,15118263:17984,15118265:17985,15118271:17986,15118466:17987,15118468:17988,15118469:17989,15118473:17990,15118477:17991,15118478:17992,15118480:17993,15118482:17994,15118489:17995,15118495:17996,15118502:17997,15118503:17998,15118504:17999,15118508:18e3,15118510:18001,15118515:18002,15118517:18003,15118518:18004,15118522:18005,15118523:18006,15118527:18007,15118730:18008,15118731:18009,15118733:18010,15118735:18011,15118738:18012,15118740:18013,15118745:18014,15118747:18015,15118748:18016,15118763:18017,15118765:18018,15118767:18019,15118772:18020,15118774:18021,15118776:18022,15118777:18023,15118779:18024,15118981:18025,15118982:18026,15118983:18027,15118985:18028,15118996:18029,15118997:18030,15118999:18031,15119e3:18032,15119004:18033,15119007:18034,15119024:18035,15119026:18036,15119028:18037,15119234:18038,15119238:18039,15119245:18040,15119247:18041,15119248:18042,15119249:18043,15119250:18044,15119252:18045,15119254:18046,15119258:18209,15119260:18210,15119264:18211,15119271:18212,15119273:18213,15119275:18214,15119276:18215,15119278:18216,15119282:18217,15119284:18218,15119492:18219,15119495:18220,15119498:18221,15119502:18222,15119503:18223,15119505:18224,15119507:18225,15119514:18226,15119526:18227,15119527:18228,15119528:18229,15118759:18230,15119534:18231,15119535:18232,15119537:18233,15119545:18234,15119548:18235,15119551:18236,15119767:18237,15119774:18238,15119775:18239,15119777:18240,15119781:18241,15119783:18242,15119791:18243,15119792:18244,15119804:18245,15120002:18246,15120007:18247,15120017:18248,15120018:18249,15120020:18250,15120022:18251,15120023:18252,15120024:18253,15120042:18254,15120044:18255,15120052:18256,15120055:18257,15120057:18258,15120061:18259,15120063:18260,15120260:18261,15120264:18262,15120266:18263,15120270:18264,15120271:18265,15120278:18266,15120283:18267,15120285:18268,15120287:18269,15120288:18270,15120290:18271,15120293:18272,15120297:18273,15120303:18274,15120304:18275,15120308:18276,15120310:18277,15120316:18278,15120512:18279,15120516:18280,15120542:18281,15120546:18282,15120551:18283,15120562:18284,15120566:18285,15120569:18286,15120571:18287,15120572:18288,15120772:18289,15120773:18290,15120776:18291,15120777:18292,15120779:18293,15120783:18294,15120785:18295,15120786:18296,15120787:18297,15120788:18298,15120791:18299,15120796:18300,15120797:18301,15120798:18302,15120802:18465,15120803:18466,15120808:18467,15120819:18468,15120827:18469,15120829:18470,15121037:18471,15121043:18472,15121049:18473,15121056:18474,15121063:18475,15121069:18476,15121070:18477,15121073:18478,15121075:18479,15121083:18480,15121087:18481,15121280:18482,15121281:18483,15121283:18484,15121287:18485,15121288:18486,15121290:18487,15121293:18488,15121294:18489,15121295:18490,15121323:18491,15121325:18492,15121326:18493,15121337:18494,15121339:18495,15121341:18496,15121540:18497,15121544:18498,15121546:18499,15121548:18500,15121549:18501,15121558:18502,15121560:18503,15121562:18504,15121563:18505,15121574:18506,15121577:18507,15121578:18508,15121583:18509,15121584:18510,15121587:18511,15121590:18512,15121595:18513,15121596:18514,15121581:18515,15121807:18516,15121809:18517,15121810:18518,15121811:18519,15121815:18520,15121817:18521,15121818:18522,15121821:18523,15121822:18524,15121825:18525,15121826:18526,15121832:18527,15121836:18528,15121853:18529,15121854:18530,15122051:18531,15122055:18532,15122056:18533,15122059:18534,15122060:18535,15122061:18536,15122064:18537,15122066:18538,15122067:18539,15122068:18540,15122070:18541,15122074:18542,15122079:18543,15122080:18544,15122085:18545,15122086:18546,15122087:18547,15122088:18548,15122094:18549,15122095:18550,15122096:18551,15122101:18552,15122102:18553,15122108:18554,15122309:18555,15122311:18556,15122312:18557,15122314:18558,15122330:18721,15122334:18722,15122344:18723,15122345:18724,15122352:18725,15122357:18726,15122361:18727,15122364:18728,15122365:18729,15171712:18730,15171717:18731,15171718:18732,15171719:18733,15171725:18734,15171735:18735,15171744:18736,15171747:18737,15171759:18738,15171764:18739,15171767:18740,15171769:18741,15171772:18742,15171971:18743,15171972:18744,15171976:18745,15171977:18746,15171978:18747,15171979:18748,15171988:18749,15171989:18750,15171997:18751,15171998:18752,15171982:18753,15172004:18754,15172005:18755,15172012:18756,15172014:18757,15172021:18758,15172022:18759,15172030:18760,15172225:18761,15172229:18762,15172230:18763,15172244:18764,15172245:18765,15172246:18766,15172247:18767,15172248:18768,15172251:18769,15172260:18770,15172267:18771,15172272:18772,15172273:18773,15172276:18774,15172279:18775,15172490:18776,15172497:18777,15172499:18778,15172500:18779,15172501:18780,15172502:18781,15172504:18782,15172508:18783,15172516:18784,15172538:18785,15172739:18786,15172740:18787,15172741:18788,15172742:18789,15172743:18790,15172747:18791,15172748:18792,15172751:18793,15172766:18794,15172768:18795,15172779:18796,15172781:18797,15172783:18798,15172784:18799,15172785:18800,15172792:18801,15172993:18802,15172997:18803,15172998:18804,15172999:18805,15173002:18806,15173003:18807,15173008:18808,15173010:18809,15173015:18810,15173018:18811,15173020:18812,15173022:18813,15173024:18814,15173032:18977,15173049:18978,15173248:18979,15173253:18980,15173255:18981,15173260:18982,15173266:18983,15173274:18984,15173275:18985,15173280:18986,15173282:18987,15173295:18988,15173296:18989,15173298:18990,15173299:18991,15173306:18992,15173311:18993,15173504:18994,15173505:18995,15173508:18996,15173515:18997,15173516:18998,15173523:18999,15173526:19e3,15173529:19001,15173530:19002,15173532:19003,15173560:19004,15173566:19005,15173760:19006,15173767:19007,15173768:19008,15173769:19009,15173779:19010,15173783:19011,15173786:19012,15173789:19013,15173791:19014,15173796:19015,15173803:19016,15173807:19017,15173812:19018,15173816:19019,15173817:19020,15174017:19021,15174018:19022,15174019:19023,15174021:19024,15174030:19025,15174031:19026,15174032:19027,15174035:19028,15174037:19029,15174038:19030,15174042:19031,15174044:19032,15174046:19033,15174048:19034,15174051:19035,15174056:19036,15174059:19037,15174062:19038,15174063:19039,15174065:19040,15174071:19041,15174072:19042,15174075:19043,15174076:19044,15174079:19045,15174276:19046,15174281:19047,15174285:19048,15174286:19049,15174291:19050,15174299:19051,15174312:19052,15174317:19053,15174318:19054,15174321:19055,15174324:19056,15174334:19057,15174529:19058,15174535:19059,15174537:19060,15174540:19061,15174549:19062,15174550:19063,15174552:19064,15174559:19065,15174565:19066,15174579:19067,15174580:19068,15174586:19069,15174587:19070,15174590:19233,15174786:19234,15174788:19235,15174789:19236,15174791:19237,15174795:19238,15174797:19239,15174802:19240,15174803:19241,15174808:19242,15174809:19243,15174814:19244,15174818:19245,15174820:19246,15174823:19247,15174824:19248,15174828:19249,15174833:19250,15174834:19251,15174837:19252,15174842:19253,15174843:19254,15174845:19255,15175043:19256,15175053:19257,15175056:19258,15175058:19259,15175062:19260,15175064:19261,15175069:19262,15175070:19263,15175071:19264,15175072:19265,15175078:19266,15175079:19267,15175081:19268,15175083:19269,15175084:19270,15175086:19271,15175087:19272,15175089:19273,15175095:19274,15175097:19275,15175100:19276,15175296:19277,15175297:19278,15175299:19279,15175301:19280,15175302:19281,15175310:19282,15175312:19283,15175315:19284,15175317:19285,15175319:19286,15175320:19287,15175324:19288,15175326:19289,15175327:19290,15175328:19291,15175330:19292,15175333:19293,15175334:19294,15175338:19295,15175339:19296,15175341:19297,15175349:19298,15175351:19299,15175353:19300,15175356:19301,15175357:19302,15175359:19303,15175557:19304,15175558:19305,15175561:19306,15175563:19307,15175564:19308,15175567:19309,15175570:19310,15175571:19311,15175574:19312,15175577:19313,15175581:19314,15175585:19315,15175587:19316,15175590:19317,15175591:19318,15175593:19319,15175604:19320,15175605:19321,15175607:19322,15175609:19323,15175610:19324,15175611:19325,15175613:19326,15175615:19489,15175808:19490,15175809:19491,15175812:19492,15175815:19493,15175818:19494,15175825:19495,15175834:19496,15175835:19497,15175844:19498,15175846:19499,15175848:19500,15175849:19501,15175850:19502,15175851:19503,15175852:19504,15175853:19505,15175854:19506,15175855:19507,15175856:19508,15175857:19509,15175865:19510,15176064:19511,15176067:19512,15176068:19513,15176070:19514,15176071:19515,15176075:19516,15176077:19517,15176081:19518,15176082:19519,15176087:19520,15176093:19521,15176098:19522,15176102:19523,15176103:19524,15176104:19525,15176107:19526,15176109:19527,15176110:19528,15176113:19529,15176114:19530,15176320:19531,15176321:19532,15176325:19533,15176326:19534,15176327:19535,15176329:19536,15176335:19537,15176336:19538,15176337:19539,15176338:19540,15176344:19541,15176345:19542,15176346:19543,15176348:19544,15176351:19545,15176352:19546,15176353:19547,15176355:19548,15176358:19549,15176360:19550,15176361:19551,15176362:19552,15176363:19553,15176366:19554,15176367:19555,15176369:19556,15176370:19557,15176373:19558,15176377:19559,15176379:19560,15176383:19561,15176584:19562,15176585:19563,15176588:19564,15176592:19565,15176595:19566,15176600:19567,15176602:19568,15176603:19569,15176606:19570,15176607:19571,15176612:19572,15176616:19573,15176618:19574,15176619:19575,15176623:19576,15176628:19577,15176634:19578,15176635:19579,15176636:19580,15176639:19581,15176838:19582,15176850:19745,15176854:19746,15176855:19747,15176864:19748,15176865:19749,15176868:19750,15176871:19751,15176873:19752,15176874:19753,15176879:19754,15176886:19755,15176889:19756,15176893:19757,15176894:19758,15176895:19759,15177088:19760,15177091:19761,15177095:19762,15177096:19763,15177102:19764,15177104:19765,15177106:19766,15177111:19767,15177118:19768,15177119:19769,15177121:19770,15177135:19771,15177137:19772,15177145:19773,15177146:19774,15177147:19775,15177148:19776,15177149:19777,15177150:19778,15177345:19779,15177349:19780,15177360:19781,15177362:19782,15177363:19783,15177365:19784,15177369:19785,15177372:19786,15177378:19787,15177380:19788,15177396:19789,15177402:19790,15177407:19791,15177600:19792,15177601:19793,15177604:19794,15177606:19795,15177612:19796,15177614:19797,15177615:19798,15177623:19799,15177628:19800,15177631:19801,15177632:19802,15177633:19803,15177636:19804,15177639:19805,15177644:19806,15177646:19807,15177647:19808,15177649:19809,15177657:19810,15177856:19811,15177858:19812,15177859:19813,15177860:19814,15177863:19815,15177864:19816,15177866:19817,15177868:19818,15177871:19819,15177874:19820,15177875:19821,15177877:19822,15177878:19823,15177881:19824,15177883:19825,15177884:19826,15177885:19827,15177886:19828,15177891:19829,15177893:19830,15177894:19831,15177897:19832,15177901:19833,15177906:19834,15177907:19835,15177909:19836,15177912:19837,15177913:19838,15177914:20001,15177916:20002,15178122:20003,15178112:20004,15178113:20005,15178115:20006,15178116:20007,15178117:20008,15178121:20009,15178123:20010,15178133:20011,15178137:20012,15178143:20013,15178148:20014,15178149:20015,15178157:20016,15178158:20017,15178159:20018,15178161:20019,15178164:20020,15178369:20021,15178373:20022,15178380:20023,15178381:20024,15178389:20025,15178395:20026,15178396:20027,15178397:20028,15178399:20029,15178400:20030,15178402:20031,15178403:20032,15178404:20033,15178405:20034,15178406:20035,15178407:20036,15178408:20037,15178410:20038,15178413:20039,15178429:20040,15178625:20041,15178629:20042,15178633:20043,15178635:20044,15178636:20045,15178638:20046,15178644:20047,15178649:20048,15178656:20049,15178662:20050,15178664:20051,15178668:20052,15178672:20053,15178673:20054,15178678:20055,15178681:20056,15178684:20057,15178880:20058,15178886:20059,15178890:20060,15178894:20061,15178898:20062,15178900:20063,15178901:20064,15178903:20065,15178905:20066,15178906:20067,15178908:20068,15178914:20069,15178920:20070,15178925:20071,15178926:20072,15178927:20073,15178932:20074,15178933:20075,15178934:20076,15178937:20077,15178941:20078,15178942:20079,15179138:20080,15179141:20081,15179142:20082,15179146:20083,15179149:20084,15179150:20085,15179151:20086,15179154:20087,15179158:20088,15179159:20089,15179164:20090,15179166:20091,15179167:20092,15179168:20093,15179170:20094,15179172:20257,15179175:20258,15179178:20259,15179180:20260,15179184:20261,15179186:20262,15179187:20263,15179188:20264,15179194:20265,15179197:20266,15179392:20267,15179396:20268,15179404:20269,15179405:20270,15179412:20271,15179413:20272,15179414:20273,15179418:20274,15179423:20275,15179426:20276,15179431:20277,15179434:20278,15179438:20279,15179439:20280,15179441:20281,15179445:20282,15179454:20283,15179651:20284,15179657:20285,15179665:20286,15179666:20287,15179669:20288,15179673:20289,15179678:20290,15179679:20291,15179680:20292,15179684:20293,15179686:20294,15179690:20295,15179692:20296,15179696:20297,15179697:20298,15179700:20299,15179704:20300,15179707:20301,15179909:20302,15179910:20303,15179913:20304,15179917:20305,15179918:20306,15179921:20307,15179933:20308,15179937:20309,15179938:20310,15179939:20311,15179949:20312,15179950:20313,15179952:20314,15179957:20315,15179959:20316,15180163:20317,15180164:20318,15180167:20319,15180168:20320,15180172:20321,15180174:20322,15180178:20323,15180188:20324,15180190:20325,15180192:20326,15180193:20327,15180195:20328,15180196:20329,15180200:20330,15180202:20331,15180206:20332,15180218:20333,15180222:20334,15180426:20335,15180431:20336,15180436:20337,15180440:20338,15180449:20339,15180445:20340,15180446:20341,15180447:20342,15180452:20343,15180456:20344,15180460:20345,15180461:20346,15180464:20347,15180465:20348,15180466:20349,15180467:20350,15180475:20513,15180477:20514,15180479:20515,15180679:20516,15180680:20517,15180681:20518,15180684:20519,15180686:20520,15180690:20521,15180691:20522,15180693:20523,15180694:20524,15180708:20525,15180699:20526,15180703:20527,15180704:20528,15180705:20529,15180710:20530,15180714:20531,15180722:20532,15180723:20533,15180928:20534,15180726:20535,15180727:20536,15180730:20537,15180731:20538,15180735:20539,15180934:20540,15180940:20541,15180944:20542,15180954:20543,15180956:20544,15180958:20545,15180959:20546,15180960:20547,15180965:20548,15180967:20549,15180969:20550,15180973:20551,15180977:20552,15180980:20553,15180981:20554,15180987:20555,15180989:20556,15180991:20557,15181188:20558,15181189:20559,15181190:20560,15181194:20561,15181195:20562,15181199:20563,15181201:20564,15181204:20565,15181208:20566,15181211:20567,15181212:20568,15181223:20569,15181225:20570,15181227:20571,15181234:20572,15181241:20573,15181243:20574,15181244:20575,15181246:20576,15181451:20577,15181452:20578,15181457:20579,15181459:20580,15181460:20581,15181461:20582,15181462:20583,15181464:20584,15181467:20585,15181468:20586,15181473:20587,15181480:20588,15181481:20589,15181483:20590,15181487:20591,15181489:20592,15181492:20593,15181496:20594,15181499:20595,15181698:20596,15181700:20597,15181703:20598,15181704:20599,15181706:20600,15181711:20601,15181716:20602,15181718:20603,15181722:20604,15181725:20605,15181726:20606,15181728:20769,15181730:20770,15181733:20771,15181738:20772,15181739:20773,15181741:20774,15181745:20775,15181752:20776,15181756:20777,15181954:20778,15181955:20779,15181959:20780,15181961:20781,15181962:20782,15181964:20783,15181969:20784,15181973:20785,15181979:20786,15181982:20787,15181985:20788,15181991:20789,15181995:20790,15181997:20791,15181999:20792,15182e3:20793,15182004:20794,15182005:20795,15182008:20796,15182009:20797,15182010:20798,15182212:20799,15182213:20800,15182215:20801,15182216:20802,15182220:20803,15182229:20804,15182230:20805,15182233:20806,15182236:20807,15182237:20808,15182239:20809,15182240:20810,15182245:20811,15182247:20812,15182250:20813,15182253:20814,15182261:20815,15182264:20816,15182270:20817,15182464:20818,15182466:20819,15182469:20820,15182470:20821,15182474:20822,15182475:20823,15182480:20824,15182481:20825,15182484:20826,15182494:20827,15182496:20828,15182499:20829,15182508:20830,15182515:20831,15182517:20832,15182521:20833,15182523:20834,15182524:20835,15182726:20836,15182729:20837,15182732:20838,15182734:20839,15182737:20840,15182747:20841,15182760:20842,15182761:20843,15182763:20844,15182764:20845,15182769:20846,15182772:20847,15182779:20848,15182781:20849,15182782:20850,15182983:20851,15182996:20852,15183007:20853,15183011:20854,15183015:20855,15183017:20856,15183018:20857,15183019:20858,15183021:20859,15183022:20860,15183023:20861,15183024:20862,15183025:21025,15183028:21026,15183037:21027,15183039:21028,15183232:21029,15183233:21030,15183239:21031,15183246:21032,15183253:21033,15183264:21034,15183268:21035,15183270:21036,15183273:21037,15183274:21038,15183277:21039,15183279:21040,15183282:21041,15183283:21042,15183287:21043,15183492:21044,15183497:21045,15183502:21046,15183504:21047,15183505:21048,15183510:21049,15183515:21050,15183518:21051,15183520:21052,15183525:21053,15183532:21054,15183535:21055,15183536:21056,15183538:21057,15183541:21058,15183542:21059,15183546:21060,15183547:21061,15183548:21062,15183549:21063,15183746:21064,15183749:21065,15183752:21066,15183754:21067,15183764:21068,15183766:21069,15183767:21070,15183769:21071,15183770:21072,15183771:21073,15183784:21074,15183786:21075,15183794:21076,15183796:21077,15183797:21078,15183800:21079,15183801:21080,15183802:21081,15183804:21082,15183806:21083,15184001:21084,15184002:21085,15184003:21086,15184004:21087,15184006:21088,15184009:21089,15184011:21090,15184012:21091,15184014:21092,15184015:21093,15184025:21094,15184027:21095,15184032:21096,15184037:21097,15184038:21098,15184040:21099,15184044:21100,15184049:21101,15184051:21102,15184052:21103,15184054:21104,15184057:21105,15184058:21106,15184262:21107,15184266:21108,15184277:21109,15184273:21110,15184274:21111,15184275:21112,15184281:21113,15184282:21114,15184283:21115,15184284:21116,15184285:21117,15184286:21118,15184289:21281,15184291:21282,15184295:21283,15184297:21284,15184301:21285,15184302:21286,15184304:21287,15184306:21288,15184313:21289,15184316:21290,15184317:21291,15184518:21292,15184519:21293,15184527:21294,15184532:21295,15184542:21296,15184544:21297,15184550:21298,15184560:21299,15184566:21300,15184567:21301,15184570:21302,15184571:21303,15184572:21304,15184575:21305,15184772:21306,15184775:21307,15184776:21308,15184777:21309,15184781:21310,15184783:21311,15184787:21312,15184788:21313,15184789:21314,15184791:21315,15184793:21316,15184794:21317,15184797:21318,15184806:21319,15184809:21320,15184811:21321,15184821:21322,15185027:21323,15185031:21324,15185032:21325,15185033:21326,15185039:21327,15185041:21328,15185042:21329,15185043:21330,15185046:21331,15185053:21332,15185054:21333,15185059:21334,15185062:21335,15185066:21336,15185069:21337,15185073:21338,15185084:21339,15185085:21340,15185086:21341,15185280:21342,15185281:21343,15185287:21344,15185288:21345,15185293:21346,15185297:21347,15185299:21348,15185303:21349,15185305:21350,15185306:21351,15185308:21352,15185309:21353,15185317:21354,15185319:21355,15185322:21356,15185328:21357,15185336:21358,15185338:21359,15185339:21360,15185343:21361,15185537:21362,15185538:21363,15185539:21364,15185541:21365,15185542:21366,15185544:21367,15185547:21368,15185548:21369,15185549:21370,15185553:21371,15185558:21372,15185559:21373,15185565:21374,15185566:21537,15185574:21538,15185575:21539,15185578:21540,15185587:21541,15185590:21542,15185591:21543,15185593:21544,15185794:21545,15185795:21546,15185796:21547,15185797:21548,15185798:21549,15185804:21550,15185805:21551,15185806:21552,15185815:21553,15185817:21554,15186048:21555,15185826:21556,15185829:21557,15185830:21558,15185834:21559,15185835:21560,15185837:21561,15185841:21562,15185845:21563,15185846:21564,15185849:21565,15185850:21566,15186056:21567,15186064:21568,15186065:21569,15186069:21570,15186071:21571,15186076:21572,15186077:21573,15186080:21574,15186087:21575,15186088:21576,15186092:21577,15186093:21578,15186095:21579,15186099:21580,15186102:21581,15186111:21582,15186308:21583,15186309:21584,15186311:21585,15186318:21586,15186320:21587,15186322:21588,15186328:21589,15186335:21590,15186337:21591,15186338:21592,15186341:21593,15186347:21594,15186350:21595,15186351:21596,15186355:21597,15186360:21598,15186366:21599,15186561:21600,15186566:21601,15186567:21602,15186570:21603,15186573:21604,15186577:21605,15186581:21606,15186584:21607,15186586:21608,15186589:21609,15186590:21610,15187132:21611,15187131:21612,15187133:21613,15187134:21614,15187135:21615,15187331:21616,15187332:21617,15187335:21618,15187343:21619,15187346:21620,15187347:21621,15187355:21622,15187356:21623,15187357:21624,15187361:21625,15187363:21626,15187364:21627,15187365:21628,15187366:21629,15187373:21630,15187377:21793,15187389:21794,15187390:21795,15187391:21796,15187584:21797,15187595:21798,15187597:21799,15187599:21800,15187600:21801,15187601:21802,15187606:21803,15187607:21804,15187612:21805,15187617:21806,15187618:21807,15187622:21808,15187626:21809,15187629:21810,15187636:21811,15187644:21812,15187647:21813,15187840:21814,15187843:21815,15187848:21816,15187854:21817,15187855:21818,15187867:21819,15187871:21820,15187875:21821,15187877:21822,15187880:21823,15187884:21824,15187886:21825,15187887:21826,15187890:21827,15187898:21828,15187901:21829,15187902:21830,15187903:21831,15237255:21832,15237256:21833,15237258:21834,15237261:21835,15237262:21836,15237263:21837,15237265:21838,15237267:21839,15237268:21840,15237270:21841,15237277:21842,15237278:21843,15237279:21844,15237280:21845,15237284:21846,15237286:21847,15237292:21848,15237294:21849,15237296:21850,15237300:21851,15237301:21852,15237303:21853,15237305:21854,15237306:21855,15237308:21856,15237310:21857,15237504:21858,15237508:21859,15237536:21860,15237540:21861,15237542:21862,15237549:21863,15237553:21864,15237557:21865,15237761:21866,15237768:21867,15237774:21868,15237788:21869,15237790:21870,15237798:21871,15237799:21872,15237803:21873,15237816:21874,15237817:21875,15238024:21876,15238029:21877,15238031:21878,15238034:21879,15238036:21880,15238037:21881,15238039:21882,15238040:21883,15238048:21884,15238061:21885,15238062:21886,15238064:22049,15238066:22050,15238067:22051,15238070:22052,15238073:22053,15238074:22054,15238078:22055,15238275:22056,15238283:22057,15238294:22058,15238295:22059,15238296:22060,15238300:22061,15238302:22062,15238304:22063,15238308:22064,15238311:22065,15238316:22066,15238320:22067,15238325:22068,15238330:22069,15238332:22070,15238533:22071,15238535:22072,15238538:22073,15238540:22074,15238546:22075,15238551:22076,15238560:22077,15238561:22078,15238567:22079,15238568:22080,15238569:22081,15238573:22082,15238575:22083,15238583:22084,15238785:22085,15238800:22086,15238788:22087,15238789:22088,15238790:22089,15238795:22090,15238798:22091,15238806:22092,15238808:22093,15238811:22094,15238814:22095,15238818:22096,15238830:22097,15238834:22098,15238836:22099,15238843:22100,15239051:22101,15239043:22102,15239045:22103,15239050:22104,15239054:22105,15239055:22106,15239061:22107,15239063:22108,15239067:22109,15239069:22110,15239070:22111,15239073:22112,15239076:22113,15239083:22114,15239084:22115,15239088:22116,15239089:22117,15239090:22118,15239093:22119,15239094:22120,15239096:22121,15239097:22122,15239101:22123,15239103:22124,15239296:22125,15239299:22126,15239311:22127,15239315:22128,15239316:22129,15239321:22130,15239322:22131,15239325:22132,15239329:22133,15239330:22134,15239336:22135,15239346:22136,15239348:22137,15239354:22138,15239555:22139,15239556:22140,15239557:22141,15239558:22142,15239563:22305,15239566:22306,15239567:22307,15239569:22308,15239574:22309,15239580:22310,15239584:22311,15239587:22312,15239591:22313,15239597:22314,15239604:22315,15239611:22316,15239613:22317,15239615:22318,15239808:22319,15239809:22320,15239811:22321,15239812:22322,15239815:22323,15239817:22324,15239818:22325,15239822:22326,15239825:22327,15239828:22328,15239830:22329,15239832:22330,15239834:22331,15239835:22332,15239840:22333,15239841:22334,15239843:22335,15239844:22336,15239847:22337,15239848:22338,15239849:22339,15239850:22340,15239854:22341,15239856:22342,15239858:22343,15239860:22344,15239863:22345,15239866:22346,15239868:22347,15239870:22348,15239871:22349,15240070:22350,15240080:22351,15240085:22352,15240090:22353,15240096:22354,15240098:22355,15240100:22356,15240104:22357,15240106:22358,15240109:22359,15240111:22360,15240118:22361,15240119:22362,15240125:22363,15240126:22364,15240320:22365,15240321:22366,15240327:22367,15240328:22368,15240330:22369,15240331:22370,15240596:22371,15240347:22372,15240349:22373,15240350:22374,15240351:22375,15240353:22376,15240354:22377,15240364:22378,15240365:22379,15240366:22380,15240368:22381,15240371:22382,15240375:22383,15240378:22384,15240380:22385,15240381:22386,15240578:22387,15240579:22388,15240580:22389,15240583:22390,15240589:22391,15240590:22392,15240593:22393,15240597:22394,15240598:22395,15240599:22396,15240624:22397,15240632:22398,15240637:22561,15240639:22562,15240832:22563,15240834:22564,15240836:22565,15240838:22566,15240845:22567,15240850:22568,15240852:22569,15240853:22570,15240856:22571,15240857:22572,15240859:22573,15240860:22574,15240861:22575,15240870:22576,15240871:22577,15240873:22578,15240876:22579,15240894:22580,15240895:22581,15241088:22582,15241095:22583,15241097:22584,15241103:22585,15241104:22586,15241105:22587,15241108:22588,15241117:22589,15240595:22590,15241128:22591,15241130:22592,15241142:22593,15241144:22594,15241145:22595,15241148:22596,15241345:22597,15241350:22598,15241354:22599,15241359:22600,15241361:22601,15241365:22602,15241369:22603,15240877:22604,15241391:22605,15241401:22606,15241605:22607,15241607:22608,15241608:22609,15241610:22610,15241613:22611,15241615:22612,15241617:22613,15241618:22614,15241622:22615,15241624:22616,15241625:22617,15241626:22618,15241628:22619,15241632:22620,15241636:22621,15241637:22622,15241639:22623,15241642:22624,15241648:22625,15241651:22626,15241652:22627,15241654:22628,15241656:22629,15241660:22630,15241661:22631,15241857:22632,15241861:22633,15241874:22634,15241875:22635,15241877:22636,15241886:22637,15241894:22638,15241896:22639,15241897:22640,15241898:22641,15241903:22642,15241905:22643,15241908:22644,15241914:22645,15241917:22646,15241918:22647,15242112:22648,15242114:22649,15242119:22650,15242120:22651,15242124:22652,15242127:22653,15242131:22654,15242140:22817,15242151:22818,15242154:22819,15242159:22820,15242160:22821,15242161:22822,15242162:22823,15242167:22824,15242418:22825,15242170:22826,15242171:22827,15242173:22828,15242370:22829,15242371:22830,15242375:22831,15242380:22832,15242382:22833,15242384:22834,15242396:22835,15242398:22836,15242402:22837,15242403:22838,15242404:22839,15242405:22840,15242407:22841,15242410:22842,15242411:22843,15242415:22844,15242419:22845,15242420:22846,15242422:22847,15242431:22848,15242630:22849,15242639:22850,15242640:22851,15242641:22852,15242642:22853,15242643:22854,15242646:22855,15242649:22856,15242652:22857,15242653:22858,15242654:22859,15242655:22860,15242656:22861,15242657:22862,15242658:22863,15242660:22864,15242667:22865,15242671:22866,15242681:22867,15242682:22868,15242683:22869,15242685:22870,15242687:22871,15242881:22872,15242885:22873,15242886:22874,15242889:22875,15242891:22876,15242892:22877,15242895:22878,15242899:22879,15242904:22880,15242909:22881,15242911:22882,15242912:22883,15242914:22884,15242917:22885,15242919:22886,15242932:22887,15242934:22888,15242935:22889,15242936:22890,15242940:22891,15242941:22892,15242942:22893,15242943:22894,15243138:22895,15243143:22896,15243146:22897,15243147:22898,15243150:22899,15242925:22900,15243160:22901,15243162:22902,15243167:22903,15243168:22904,15243174:22905,15243176:22906,15243181:22907,15243187:22908,15243190:22909,15243196:22910,15243199:23073,15243392:23074,15243396:23075,15243397:23076,15243405:23077,15243406:23078,15243408:23079,15243409:23080,15243410:23081,15243416:23082,15243417:23083,15243419:23084,15243422:23085,15243425:23086,15243431:23087,15243433:23088,15243446:23089,15243448:23090,15243450:23091,15243452:23092,15243453:23093,15243648:23094,15243650:23095,15243654:23096,15243666:23097,15243667:23098,15243670:23099,15243671:23100,15243672:23101,15243673:23102,15243677:23103,15243680:23104,15243681:23105,15243682:23106,15243683:23107,15243684:23108,15243689:23109,15243692:23110,15243695:23111,15243701:23112,15243702:23113,15243703:23114,15243706:23115,15243917:23116,15243921:23117,15243926:23118,15243928:23119,15243930:23120,15243932:23121,15243937:23122,15243942:23123,15243943:23124,15243944:23125,15243949:23126,15243953:23127,15243955:23128,15243956:23129,15243957:23130,15243959:23131,15243960:23132,15243961:23133,15243967:23134,15244160:23135,15244161:23136,15244163:23137,15244165:23138,15244177:23139,15244178:23140,15244181:23141,15244183:23142,15244186:23143,15244188:23144,15244192:23145,15244195:23146,15244197:23147,15244199:23148,15243912:23149,15244218:23150,15244220:23151,15244221:23152,15244420:23153,15244421:23154,15244423:23155,15244427:23156,15244430:23157,15244431:23158,15244432:23159,15244435:23160,15244436:23161,15244441:23162,15244446:23163,15244447:23164,15244449:23165,15244451:23166,15244456:23329,15244462:23330,15244463:23331,15244465:23332,15244466:23333,15244473:23334,15244474:23335,15244476:23336,15244477:23337,15244478:23338,15244672:23339,15244675:23340,15244677:23341,15244685:23342,15244696:23343,15244701:23344,15244705:23345,15244708:23346,15244709:23347,15244719:23348,15244721:23349,15244722:23350,15244731:23351,15244931:23352,15244932:23353,15244933:23354,15244934:23355,15244935:23356,15244936:23357,15244937:23358,15244939:23359,15244940:23360,15244944:23361,15244947:23362,15244949:23363,15244951:23364,15244952:23365,15244953:23366,15244958:23367,15244960:23368,15244963:23369,15244967:23370,15244972:23371,15244973:23372,15244974:23373,15244977:23374,15244981:23375,15244990:23376,15244991:23377,15245185:23378,15245192:23379,15245193:23380,15245194:23381,15245198:23382,15245205:23383,15245206:23384,15245209:23385,15245210:23386,15245212:23387,15245215:23388,15245218:23389,15245219:23390,15245220:23391,15245226:23392,15245227:23393,15245229:23394,15245233:23395,15245235:23396,15245240:23397,15245242:23398,15245247:23399,15245441:23400,15245443:23401,15245446:23402,15245449:23403,15245450:23404,15245451:23405,15245456:23406,15245465:23407,15245458:23408,15245459:23409,15245460:23410,15245464:23411,15245466:23412,15245467:23413,15245468:23414,15245470:23415,15245471:23416,15245480:23417,15245485:23418,15245486:23419,15245488:23420,15245490:23421,15245493:23422,15245498:23585,15245500:23586,15245697:23587,15245699:23588,15245701:23589,15245704:23590,15245705:23591,15245706:23592,15245707:23593,15245710:23594,15245713:23595,15245717:23596,15245718:23597,15245720:23598,15245722:23599,15245724:23600,15245727:23601,15245728:23602,15245732:23603,15245737:23604,15245745:23605,15245753:23606,15245755:23607,15245952:23608,15245976:23609,15245978:23610,15245979:23611,15245980:23612,15245983:23613,15245984:23614,15245992:23615,15245994:23616,15246010:23617,15246013:23618,15246014:23619,15246208:23620,15246218:23621,15246219:23622,15246220:23623,15246221:23624,15246222:23625,15246225:23626,15246226:23627,15246227:23628,15246235:23629,15246238:23630,15246247:23631,15246255:23632,15246256:23633,15246257:23634,15246261:23635,15246263:23636,15246465:23637,15246470:23638,15246477:23639,15246478:23640,15246479:23641,15246485:23642,15246486:23643,15246488:23644,15246489:23645,15246490:23646,15246492:23647,15246496:23648,15246502:23649,15246503:23650,15246504:23651,15246512:23652,15246513:23653,15246514:23654,15246517:23655,15246521:23656,15246522:23657,15246526:23658,15246720:23659,15246722:23660,15246725:23661,15246726:23662,15246729:23663,15246735:23664,15246738:23665,15246743:23666,15246746:23667,15246747:23668,15246748:23669,15246753:23670,15246754:23671,15246755:23672,15246763:23673,15246766:23674,15246768:23675,15246771:23676,15246773:23677,15246778:23678,15246779:23841,15246780:23842,15246781:23843,15246985:23844,15246989:23845,15246992:23846,15246996:23847,15246997:23848,15247003:23849,15247004:23850,15247007:23851,15247008:23852,15247013:23853,15247024:23854,15247028:23855,15247029:23856,15247030:23857,15247031:23858,15247036:23859,15247252:23860,15247253:23861,15247254:23862,15247255:23863,15247256:23864,15247269:23865,15247273:23866,15247275:23867,15247277:23868,15247281:23869,15247283:23870,15247286:23871,15247289:23872,15247293:23873,15247295:23874,15247492:23875,15247493:23876,15247495:23877,15247503:23878,15247505:23879,15247506:23880,15247508:23881,15247509:23882,15247518:23883,15247520:23884,15247522:23885,15247524:23886,15247526:23887,15247531:23888,15247532:23889,15247535:23890,15247541:23891,15247543:23892,15247549:23893,15247550:23894,15247744:23895,15247747:23896,15247749:23897,15247751:23898,15247753:23899,15247757:23900,15247758:23901,15247763:23902,15247766:23903,15247767:23904,15247768:23905,15247772:23906,15247773:23907,15247777:23908,15247781:23909,15247783:23910,15247797:23911,15247798:23912,15247799:23913,15247801:23914,15247802:23915,15247803:23916,15247806:23917,15247807:23918,15248e3:23919,15248003:23920,15248006:23921,15248011:23922,15248015:23923,15248016:23924,15248018:23925,15248022:23926,15248023:23927,15248025:23928,15248031:23929,15248039:23930,15248041:23931,15248046:23932,15248047:23933,15248051:23934,15248054:24097,15248055:24098,15248059:24099,15248062:24100,15248259:24101,15248262:24102,15248264:24103,15248265:24104,15248266:24105,15248273:24106,15248275:24107,15248276:24108,15248277:24109,15248279:24110,15248285:24111,15248287:24112,15248300:24113,15248304:24114,15248308:24115,15248309:24116,15248310:24117,15248316:24118,15248319:24119,15248517:24120,15248518:24121,15248523:24122,15248529:24123,15248540:24124,15248542:24125,15248543:24126,15248522:24127,15248557:24128,15248560:24129,15248567:24130,15248572:24131,15248770:24132,15248771:24133,15248772:24134,15248773:24135,15248774:24136,15248776:24137,15248786:24138,15248787:24139,15248788:24140,15248793:24141,15248781:24142,15248798:24143,15248803:24144,15248813:24145,15248822:24146,15248824:24147,15248825:24148,15248828:24149,15248830:24150,15249025:24151,15249028:24152,15249029:24153,15249035:24154,15249037:24155,15249039:24156,15249044:24157,15249045:24158,15249052:24159,15249054:24160,15249055:24161,15249592:24162,15249593:24163,15249597:24164,15249598:24165,15249797:24166,15249799:24167,15249801:24168,15249803:24169,15249807:24170,15249809:24171,15249811:24172,15249812:24173,15249815:24174,15249816:24175,15249819:24176,15249821:24177,15249817:24178,15249827:24179,15249828:24180,15249830:24181,15249832:24182,15249833:24183,15249837:24184,15249843:24185,15249845:24186,15249846:24187,15249851:24188,15249854:24189,15250054:24190,15250055:24353,15250059:24354,15250064:24355,15250066:24356,15250067:24357,15250073:24358,15250075:24359,15250076:24360,15250084:24361,15250105:24362,15250106:24363,15250309:24364,15250310:24365,15250313:24366,15250315:24367,15250319:24368,15250326:24369,15250325:24370,15250329:24371,15250333:24372,15250337:24373,15250344:24374,15250348:24375,15250351:24376,15250352:24377,15250354:24378,15250357:24379,15250359:24380,15250360:24381,15250366:24382,15250367:24383,15250561:24384,15250563:24385,15250569:24386,15250578:24387,15250583:24388,15250587:24389,15250853:24390,15250857:24391,15250860:24392,15250862:24393,15250879:24394,15251074:24395,15251076:24396,15251080:24397,15251085:24398,15251088:24399,15251089:24400,15251093:24401,15251102:24402,15251103:24403,15251104:24404,15251110:24405,15251115:24406,15251116:24407,15251119:24408,15251122:24409,15251125:24410,15251127:24411,15251129:24412,15251131:24413,15251328:24414,15251333:24415,15251334:24416,15251335:24417,15251336:24418,15251338:24419,15251342:24420,15251345:24421,15251348:24422,15251349:24423,15251351:24424,15251353:24425,15251364:24426,15251365:24427,15251367:24428,15251372:24429,15251376:24430,15251132:24431,15251377:24432,15251378:24433,15251380:24434,15251389:24435,15251585:24436,15251588:24437,15251589:24438,15251590:24439,15251595:24440,15251601:24441,15251604:24442,15251606:24443,15251616:24444,15251617:24445,15251618:24446,15251619:24609,15251622:24610,15251623:24611,15251633:24612,15251635:24613,15251638:24614,15251639:24615,15251640:24616,15251641:24617,15251645:24618,15251840:24619,15251841:24620,15251851:24621,15251853:24622,15251854:24623,15251855:24624,15251860:24625,15251867:24626,15251868:24627,15251869:24628,15251870:24629,15251873:24630,15251874:24631,15251881:24632,15251884:24633,15251885:24634,15251887:24635,15251888:24636,15251889:24637,15251897:24638,15251898:24639,15251899:24640,15252098:24641,15252099:24642,15252105:24643,15252112:24644,15252114:24645,15252117:24646,15252122:24647,15252123:24648,15252125:24649,15252126:24650,15252130:24651,15252135:24652,15252137:24653,15252141:24654,15252142:24655,15252147:24656,15252149:24657,15252154:24658,15252155:24659,15252352:24660,15252353:24661,15252355:24662,15252356:24663,15252359:24664,15252367:24665,15252369:24666,15252372:24667,15252380:24668,15252392:24669,15252398:24670,15252400:24671,15252401:24672,15252407:24673,15252409:24674,15252410:24675,15252397:24676,15252608:24677,15252610:24678,15252615:24679,15252616:24680,15252623:24681,15252624:24682,15252630:24683,15252631:24684,15252632:24685,15252638:24686,15252640:24687,15252641:24688,15252643:24689,15252645:24690,15252647:24691,15252648:24692,15252652:24693,15252653:24694,15252654:24695,15252660:24696,15252661:24697,15252662:24698,15252663:24699,15252666:24700,15252864:24701,15252865:24702,15252867:24865,15252871:24866,15252879:24867,15252881:24868,15252882:24869,15252883:24870,15252884:24871,15252885:24872,15252888:24873,15252893:24874,15252894:24875,15252901:24876,15253149:24877,15253152:24878,15253153:24879,15253156:24880,15253157:24881,15253158:24882,15253173:24883,15253174:24884,15253176:24885,15253182:24886,15253376:24887,15253377:24888,15253382:24889,15253386:24890,15253387:24891,15253389:24892,15253392:24893,15253394:24894,15253395:24895,15253397:24896,15253408:24897,15253411:24898,15253412:24899,15253416:24900,15253422:24901,15253425:24902,15253429:24903,15253430:24904,15253435:24905,15253438:24906,15302786:24907,15302788:24908,15302792:24909,15302796:24910,15302808:24911,15302811:24912,15302824:24913,15302825:24914,15302831:24915,15302826:24916,15302828:24917,15302829:24918,15302835:24919,15302836:24920,15302839:24921,15302847:24922,15303043:24923,15303044:24924,15303052:24925,15303067:24926,15303069:24927,15303074:24928,15303078:24929,15303079:24930,15303084:24931,15303088:24932,15303092:24933,15303097:24934,15303301:24935,15303304:24936,15303307:24937,15303308:24938,15303310:24939,15303312:24940,15303317:24941,15303319:24942,15303320:24943,15303321:24944,15303323:24945,15303328:24946,15303329:24947,15303330:24948,15303333:24949,15303344:24950,15303346:24951,15303347:24952,15303348:24953,15303350:24954,15303357:24955,15303564:24956,15303358:24957,15303555:24958,15303556:25121,15303557:25122,15303559:25123,15303560:25124,15303573:25125,15303575:25126,15303576:25127,15303577:25128,15303580:25129,15303581:25130,15303583:25131,15303589:25132,15303570:25133,15303606:25134,15303595:25135,15303599:25136,15303600:25137,15303604:25138,15303614:25139,15303615:25140,15303808:25141,15303812:25142,15303813:25143,15303814:25144,15303816:25145,15303821:25146,15303824:25147,15303828:25148,15303830:25149,15303831:25150,15303832:25151,15303834:25152,15303836:25153,15303838:25154,15303840:25155,15303845:25156,15303842:25157,15303843:25158,15303847:25159,15303849:25160,15303854:25161,15303855:25162,15303857:25163,15303860:25164,15303862:25165,15303863:25166,15303865:25167,15303866:25168,15303868:25169,15303869:25170,15304067:25171,15304071:25172,15304072:25173,15304079:25174,15304083:25175,15304087:25176,15304089:25177,15304090:25178,15304091:25179,15304097:25180,15304100:25181,15304103:25182,15304109:25183,15304116:25184,15304121:25185,15304122:25186,15304123:25187,15304321:25188,15304323:25189,15304325:25190,15304326:25191,15304330:25192,15304334:25193,15304337:25194,15304339:25195,15304340:25196,15304341:25197,15304344:25198,15304350:25199,15304353:25200,15304358:25201,15304360:25202,15304364:25203,15304365:25204,15304366:25205,15304368:25206,15304369:25207,15304370:25208,15304371:25209,15304374:25210,15304379:25211,15304380:25212,15304381:25213,15304383:25214,15304578:25377,15304579:25378,15304581:25379,15304595:25380,15304596:25381,15304599:25382,15304601:25383,15304602:25384,15304606:25385,15304612:25386,15304613:25387,15304617:25388,15304618:25389,15304620:25390,15304621:25391,15304622:25392,15304623:25393,15304624:25394,15304625:25395,15304631:25396,15304633:25397,15304635:25398,15304637:25399,15304832:25400,15304833:25401,15304836:25402,15304837:25403,15304838:25404,15304839:25405,15304841:25406,15304842:25407,15304844:25408,15304848:25409,15304850:25410,15304851:25411,15304854:25412,15304856:25413,15304860:25414,15304861:25415,15304867:25416,15304868:25417,15304869:25418,15304870:25419,15304872:25420,15304878:25421,15304879:25422,15304880:25423,15304883:25424,15304885:25425,15304886:25426,15304888:25427,15304889:25428,15304890:25429,15304892:25430,15304894:25431,15305088:25432,15305090:25433,15305091:25434,15305094:25435,15305095:25436,15305098:25437,15305101:25438,15305102:25439,15305103:25440,15305105:25441,15305112:25442,15305113:25443,15305116:25444,15305117:25445,15305120:25446,15305121:25447,15305125:25448,15305127:25449,15305128:25450,15305129:25451,15305134:25452,15305135:25453,15305136:25454,15305141:25455,15305142:25456,15305143:25457,15305144:25458,15305145:25459,15305147:25460,15305148:25461,15305149:25462,15305151:25463,15305352:25464,15305353:25465,15305354:25466,15305357:25467,15305358:25468,15305362:25469,15305367:25470,15305369:25633,15305375:25634,15305376:25635,15305380:25636,15305381:25637,15305383:25638,15305384:25639,15305387:25640,15305391:25641,15305394:25642,15305398:25643,15305400:25644,15305402:25645,15305403:25646,15305404:25647,15305405:25648,15305407:25649,15305600:25650,15305601:25651,15305602:25652,15305603:25653,15305605:25654,15305606:25655,15305607:25656,15305608:25657,15305611:25658,15305612:25659,15305613:25660,15305614:25661,15305616:25662,15305619:25663,15305621:25664,15305623:25665,15305624:25666,15305625:25667,15305628:25668,15305629:25669,15305631:25670,15305632:25671,15305633:25672,15305635:25673,15305637:25674,15305639:25675,15305640:25676,15305644:25677,15305646:25678,15305648:25679,15305657:25680,15305659:25681,15305663:25682,15305856:25683,15305858:25684,15305864:25685,15305869:25686,15305873:25687,15305876:25688,15305877:25689,15305884:25690,15305885:25691,15305886:25692,15305887:25693,15305889:25694,15305892:25695,15305893:25696,15305895:25697,15305897:25698,15305898:25699,15305907:25700,15305908:25701,15305910:25702,15305911:25703,15306119:25704,15306120:25705,15306121:25706,15306128:25707,15306129:25708,15306130:25709,15306133:25710,15306135:25711,15306136:25712,15306138:25713,15306142:25714,15306148:25715,15306149:25716,15306151:25717,15306153:25718,15306154:25719,15306157:25720,15306159:25721,15306160:25722,15306161:25723,15306163:25724,15306164:25725,15306166:25726,15306170:25889,15306173:25890,15306175:25891,15306368:25892,15306369:25893,15306370:25894,15306376:25895,15306378:25896,15306379:25897,15306381:25898,15306383:25899,15306386:25900,15306389:25901,15306392:25902,15306395:25903,15306398:25904,15306401:25905,15306403:25906,15306404:25907,15306406:25908,15306408:25909,15306411:25910,15306420:25911,15306421:25912,15306422:25913,15306426:25914,15306409:25915,15306625:25916,15306628:25917,15306629:25918,15306630:25919,15306631:25920,15306633:25921,15306634:25922,15306635:25923,15306636:25924,15306637:25925,15306643:25926,15306649:25927,15306652:25928,15306654:25929,15306655:25930,15306658:25931,15306662:25932,15306663:25933,15306681:25934,15306679:25935,15306680:25936,15306682:25937,15306683:25938,15306685:25939,15306881:25940,15306882:25941,15306884:25942,15306888:25943,15306889:25944,15306893:25945,15306894:25946,15306895:25947,15306901:25948,15306902:25949,15306903:25950,15306911:25951,15306926:25952,15306927:25953,15306929:25954,15306930:25955,15306931:25956,15306932:25957,15306939:25958,15306943:25959,15306941:25960,15307139:25961,15307141:25962,15307144:25963,15307146:25964,15307148:25965,15307157:25966,15307161:25967,15307164:25968,15307167:25969,15307169:25970,15307171:25971,15307176:25972,15307179:25973,15307181:25974,15307182:25975,15307183:25976,15307185:25977,15307186:25978,15307396:25979,15307395:25980,15308216:25981,15308217:25982,15308222:26145,15308420:26146,15308424:26147,15308428:26148,15308429:26149,15308430:26150,15308445:26151,15308446:26152,15308447:26153,15308449:26154,15308454:26155,15308457:26156,15308459:26157,15308460:26158,15308468:26159,15308470:26160,15308474:26161,15308477:26162,15308479:26163,15308678:26164,15308680:26165,15308681:26166,15308683:26167,15308688:26168,15308689:26169,15308690:26170,15308691:26171,15308697:26172,15308698:26173,15308701:26174,15308702:26175,15308703:26176,15308704:26177,15308708:26178,15308710:26179,15308957:26180,15308958:26181,15308962:26182,15308964:26183,15308965:26184,15308966:26185,15308972:26186,15308977:26187,15308979:26188,15308983:26189,15308984:26190,15308985:26191,15308986:26192,15308988:26193,15308989:26194,15309185:26195,15309202:26196,15309204:26197,15309206:26198,15309207:26199,15309208:26200,15309217:26201,15309230:26202,15309236:26203,15309243:26204,15309244:26205,15309246:26206,15309247:26207,15309441:26208,15309442:26209,15309443:26210,15309444:26211,15309449:26212,15309457:26213,15309462:26214,15309466:26215,15309469:26216,15309471:26217,15309476:26218,15309477:26219,15309478:26220,15309481:26221,15309486:26222,15309487:26223,15309491:26224,15309498:26225,15309706:26226,15309714:26227,15054514:26228,15309720:26229,15309722:26230,15309725:26231,15309726:26232,15309727:26233,15309737:26234,15309743:26235,15309745:26236,15309754:26237,15309954:26238,15309955:26401,15309957:26402,15309961:26403,15309978:26404,15309979:26405,15309981:26406,15309985:26407,15309986:26408,15309987:26409,15309992:26410,15310001:26411,15310003:26412,15310209:26413,15310211:26414,15310218:26415,15310222:26416,15310223:26417,15310229:26418,15310231:26419,15310232:26420,15310234:26421,15310235:26422,15310243:26423,15310247:26424,15310250:26425,15310254:26426,15310259:26427,15310262:26428,15310263:26429,15310264:26430,15310267:26431,15310269:26432,15310271:26433,15310464:26434,15310473:26435,15310485:26436,15310486:26437,15310487:26438,15310489:26439,15310490:26440,15310494:26441,15310495:26442,15310498:26443,15310508:26444,15310510:26445,15310513:26446,15310514:26447,15310517:26448,15310518:26449,15310520:26450,15310521:26451,15310522:26452,15310524:26453,15310526:26454,15310527:26455,15310721:26456,15310724:26457,15310725:26458,15310727:26459,15310729:26460,15310730:26461,15310732:26462,15310733:26463,15310734:26464,15310736:26465,15310737:26466,15310740:26467,15310743:26468,15310744:26469,15310745:26470,15310749:26471,15310750:26472,15310752:26473,15310747:26474,15310753:26475,15310756:26476,15310767:26477,15310769:26478,15310772:26479,15310775:26480,15310776:26481,15310778:26482,15310983:26483,15310986:26484,15311001:26485,15310989:26486,15310990:26487,15310996:26488,15310998:26489,15311004:26490,15311006:26491,15311008:26492,15311011:26493,15311014:26494,15311019:26657,15311022:26658,15311023:26659,15311024:26660,15311026:26661,15311027:26662,15311029:26663,15311013:26664,15311038:26665,15311236:26666,15311239:26667,15311242:26668,15311249:26669,15311250:26670,15311251:26671,15311254:26672,15311255:26673,15311257:26674,15311258:26675,15311266:26676,15311267:26677,15311269:26678,15311270:26679,15311274:26680,15311276:26681,15311531:26682,15311533:26683,15311534:26684,15311536:26685,15311540:26686,15311543:26687,15311544:26688,15311546:26689,15311547:26690,15311551:26691,15311746:26692,15311749:26693,15311752:26694,15311756:26695,15311777:26696,15311779:26697,15311781:26698,15311782:26699,15311783:26700,15311786:26701,15311795:26702,15311798:26703,15312002:26704,15312007:26705,15312008:26706,15312017:26707,15312021:26708,15312022:26709,15312023:26710,15312026:26711,15312027:26712,15312028:26713,15312031:26714,15312034:26715,15312038:26716,15312039:26717,15312043:26718,15312049:26719,15312050:26720,15312051:26721,15312052:26722,15312053:26723,15312057:26724,15312058:26725,15312059:26726,15312060:26727,15312256:26728,15312257:26729,15312262:26730,15312263:26731,15312264:26732,15312269:26733,15312270:26734,15312276:26735,15312280:26736,15312281:26737,15312283:26738,15312284:26739,15312286:26740,15312287:26741,15312288:26742,15312539:26743,15312541:26744,15312543:26745,15312550:26746,15312560:26747,15312561:26748,15312562:26749,15312565:26750,15312569:26913,15312570:26914,15312573:26915,15312575:26916,15312771:26917,15312777:26918,15312787:26919,15312788:26920,15312793:26921,15312794:26922,15312796:26923,15312798:26924,15312807:26925,15312810:26926,15312811:26927,15312812:26928,15312816:26929,15312820:26930,15312821:26931,15312825:26932,15312829:26933,15312830:26934,15313026:26935,15313027:26936,15313028:26937,15313035:26938,15313036:26939,15313040:26940,15313041:26941,15313046:26942,15313054:26943,15313056:26944,15313058:26945,15313059:26946,15313060:26947,15313063:26948,15313069:26949,15313070:26950,15313075:26951,15313077:26952,15313078:26953,15313080:26954,15313287:26955,15313281:26956,15313284:26957,15313290:26958,15313291:26959,15313292:26960,15313294:26961,15313297:26962,15313300:26963,15313302:26964,15313309:26965,15313578:26966,15313580:26967,15313582:26968,15313583:26969,15313586:26970,15313588:26971,15313589:26972,15313590:26973,15313593:26974,15313595:26975,15313598:26976,15313599:26977,15313793:26978,15313795:26979,15313798:26980,15313800:26981,15313806:26982,15313808:26983,15313810:26984,15313813:26985,15313814:26986,15313815:26987,15313819:26988,15313820:26989,15313824:26990,15313828:26991,15313829:26992,15313831:26993,15313833:26994,15313836:26995,15313842:26996,15313843:26997,15313845:26998,15313849:26999,15313850:27e3,15313853:27001,15313855:27002,15314048:27003,15314049:27004,15314050:27005,15314051:27006,15314052:27169,15314053:27170,15314056:27171,15314057:27172,15314059:27173,15314060:27174,15314061:27175,15314062:27176,15314064:27177,15314066:27178,15314070:27179,15314073:27180,15314075:27181,15314076:27182,15314080:27183,15314086:27184,15314091:27185,15314093:27186,15314099:27187,15314100:27188,15314101:27189,15314103:27190,15314105:27191,15314106:27192,15314109:27193,15314312:27194,15314315:27195,15314316:27196,15314325:27197,15314326:27198,15314327:27199,15314331:27200,15314334:27201,15314337:27202,15314339:27203,15314341:27204,15314342:27205,15314344:27206,15314346:27207,15314347:27208,15314348:27209,15314349:27210,15314350:27211,15314355:27212,15314357:27213,15314359:27214,15314360:27215,15314361:27216,15314367:27217,15314560:27218,15314564:27219,15314565:27220,15314566:27221,15314567:27222,15314569:27223,15314570:27224,15314571:27225,15314573:27226,15314575:27227,15314576:27228,15314580:27229,15314586:27230,15314589:27231,15314590:27232,15314598:27233,15314599:27234,15314601:27235,15314604:27236,15314608:27237,15314609:27238,15314610:27239,15314615:27240,15314616:27241,15314619:27242,15314620:27243,15314622:27244,15314623:27245,15314817:27246,15314823:27247,15314824:27248,15314830:27249,15314832:27250,15314839:27251,15314840:27252,15314845:27253,15314847:27254,15314853:27255,15314855:27256,15314858:27257,15314859:27258,15314863:27259,15314867:27260,15314871:27261,15314872:27262,15314873:27425,15314874:27426,15314877:27427,15314879:27428,15315072:27429,15315074:27430,15315083:27431,15315087:27432,15315089:27433,15315094:27434,15315096:27435,15315097:27436,15315098:27437,15315100:27438,15315102:27439,15315106:27440,15315107:27441,15315110:27442,15315111:27443,15315112:27444,15315113:27445,15315114:27446,15315121:27447,15315125:27448,15315126:27449,15315127:27450,15315133:27451,15315329:27452,15315331:27453,15315332:27454,15315333:27455,15315337:27456,15315338:27457,15315342:27458,15315343:27459,15315344:27460,15315347:27461,15315348:27462,15315350:27463,15315352:27464,15315355:27465,15315357:27466,15315358:27467,15315359:27468,15315363:27469,15315369:27470,15315370:27471,15315356:27472,15315371:27473,15315368:27474,15315374:27475,15315376:27476,15315378:27477,15315381:27478,15315383:27479,15315387:27480,15315878:27481,15315890:27482,15315895:27483,15315897:27484,15316107:27485,15316098:27486,15316113:27487,15316119:27488,15316120:27489,15316124:27490,15316125:27491,15316126:27492,15316143:27493,15316144:27494,15316146:27495,15316147:27496,15316148:27497,15316154:27498,15316156:27499,15316357:27500,15316157:27501,15316354:27502,15316355:27503,15316359:27504,15316362:27505,15316371:27506,15316372:27507,15316383:27508,15316387:27509,15316386:27510,15316389:27511,15316393:27512,15316394:27513,15316395:27514,15316400:27515,15316406:27516,15316407:27517,15316411:27518,15316412:27681,15316414:27682,15316611:27683,15316612:27684,15316614:27685,15316618:27686,15316621:27687,15316622:27688,15316626:27689,15316627:27690,15316629:27691,15316630:27692,15316631:27693,15316632:27694,15316641:27695,15316650:27696,15316652:27697,15316654:27698,15316657:27699,15316661:27700,15316665:27701,15316668:27702,15316671:27703,15316867:27704,15316871:27705,15316873:27706,15316874:27707,15316884:27708,15316885:27709,15316886:27710,15316887:27711,15316890:27712,15316894:27713,15316895:27714,15316896:27715,15316901:27716,15316903:27717,15316905:27718,15316907:27719,15316910:27720,15316912:27721,15316915:27722,15316916:27723,15316926:27724,15317130:27725,15317122:27726,15317127:27727,15317134:27728,15317136:27729,15317137:27730,15317138:27731,15317141:27732,15317142:27733,15317145:27734,15317148:27735,15317149:27736,15317434:27737,15317435:27738,15317436:27739,15317632:27740,15317634:27741,15317635:27742,15317636:27743,15317637:27744,15317639:27745,15317646:27746,15317647:27747,15317654:27748,15317656:27749,15317659:27750,15317662:27751,15317668:27752,15317672:27753,15317676:27754,15317678:27755,15317679:27756,15317680:27757,15317683:27758,15317684:27759,15317685:27760,15317894:27761,15317896:27762,15317899:27763,15317909:27764,15317919:27765,15317924:27766,15317927:27767,15317932:27768,15317933:27769,15317934:27770,15317936:27771,15317937:27772,15317938:27773,15317941:27774,15317944:27937,15317951:27938,15318146:27939,15318147:27940,15318153:27941,15318159:27942,15318160:27943,15318161:27944,15318162:27945,15318164:27946,15318166:27947,15318167:27948,15318169:27949,15318170:27950,15318171:27951,15318175:27952,15318178:27953,15318182:27954,15318186:27955,15318187:27956,15318191:27957,15318193:27958,15318194:27959,15318196:27960,15318199:27961,15318201:27962,15318202:27963,15318204:27964,15318205:27965,15318207:27966,15318401:27967,15318403:27968,15318404:27969,15318405:27970,15318406:27971,15318407:27972,15318419:27973,15318421:27974,15318422:27975,15318423:27976,15318424:27977,15318426:27978,15318429:27979,15318430:27980,15318440:27981,15318441:27982,15318445:27983,15318446:27984,15318447:27985,15318448:27986,15318449:27987,15318451:27988,15318453:27989,15318458:27990,15318461:27991,15318671:27992,15318672:27993,15318673:27994,15318674:27995,15318676:27996,15318678:27997,15318679:27998,15318686:27999,15318689:28e3,15318690:28001,15318691:28002,15318693:28003,14909596:8513}},1040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPacketDecrypted=t.isFullyEncrypted=t.isFullyDecrypted=void 0;const n=r(2365),i=r(9815),s=r(6382);s.config.versionString=`FlowCrypt ${i.VERSION} Gmail Encryption`,s.config.commentString="Seamlessly send and receive encrypted email",s.config.allowUnauthenticatedMessages=!0,s.config.allowUnauthenticatedStream=!0;const a=e=>{if(!e.isPrivate())throw new Error("Cannot check encryption status of secret keys in a Public Key");const t=e.getKeys().map((e=>e.keyPacket)).filter(n.PgpKey.isPacketPrivate);if(!t.length)throw new Error("This key has no private packets. Is it a Private Key?");const r=t.filter((e=>!e.isDummy()));if(!r.length)throw new Error("This key only has a gnu-dummy private packet, with no actual secret keys.");return r};t.isFullyDecrypted=e=>a(e).every((e=>!0===e.isDecrypted())),t.isFullyEncrypted=e=>a(e).every((e=>!1===e.isDecrypted())),t.isPacketDecrypted=(e,t)=>{if(!e.isPrivate())throw new Error("Cannot check packet encryption status of secret key in a Public Key");if(!t)throw new Error("No KeyID provided to isPacketDecrypted");const[r]=e.getKeys(t);if(!r)throw new Error("KeyID not found in Private Key");return!0===r.keyPacket.isDecrypted()}},1106:(e,t,r)=>{"use strict";let{nanoid:n}=r(5042),{isAbsolute:i,resolve:s}=r(197),{SourceMapConsumer:a,SourceMapGenerator:o}=r(1866),{fileURLToPath:c,pathToFileURL:u}=r(2739),l=r(3614),h=r(3878),f=r(9746),p=Symbol("lineToIndexCache"),d=Boolean(a&&o),g=Boolean(s&&i);function y(e){if(e[p])return e[p];let t=e.css.split("\n"),r=new Array(t.length),n=0;for(let e=0,i=t.length;e"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let i,s,a,o,c;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){o=e.offset;let n=this.fromOffset(o);t=n.line,r=n.col}else t=e.line,r=e.column,o=this.fromLineAndColumn(t,r);if("number"==typeof n.offset){a=n.offset;let e=this.fromOffset(a);s=e.line,i=e.col}else s=n.line,i=n.column,a=this.fromLineAndColumn(n.line,n.column)}else if(r)o=this.fromLineAndColumn(t,r);else{o=t;let e=this.fromOffset(o);t=e.line,r=e.col}let h=this.origin(t,r,s,i);return c=h?new l(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,n.plugin):new l(e,void 0===s?t:{column:r,line:t},void 0===s?r:{column:i,line:s},this.css,this.file,n.plugin),c.input={column:r,endColumn:i,endLine:s,endOffset:a,line:t,offset:o,source:this.css},this.file&&(u&&(c.input.url=u(this.file).toString()),c.input.file=this.file),c}fromLineAndColumn(e,t){return y(this)[e-1]+t-1}fromOffset(e){let t=y(this),r=0;if(e>=t[t.length-1])r=t.length-1;else{let n,i=t.length-2;for(;r>1),e=t[n+1])){r=n;break}r=n+1}}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){if(!this.map)return!1;let s,a,o=this.map.consumer(),l=o.originalPositionFor({column:t,line:e});if(!l.source)return!1;"number"==typeof r&&(s=o.originalPositionFor({column:n,line:r})),a=i(l.source)?u(l.source):new URL(l.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let h={column:l.column,endColumn:s&&s.column,endLine:s&&s.line,line:l.line,url:a.toString()};if("file:"===a.protocol){if(!c)throw new Error("file: protocol is not available in this PostCSS build");h.file=c(a)}let f=o.sourceContentFor(l.source);return f&&(h.source=f),h}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=m,m.default=m,f&&f.registerInput&&f.registerInput(m)},1141:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(5413),a=r(6957);i(r(6957),t);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===s.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},1341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpArmor=void 0;const n=r(833),i=r(6471),s=r(6382);class a{static ARMOR_HEADER_DICT={null:{begin:"-----BEGIN",end:"-----END",replace:!1},publicKey:{begin:"-----BEGIN PGP PUBLIC KEY BLOCK-----",end:"-----END PGP PUBLIC KEY BLOCK-----",replace:!0},privateKey:{begin:"-----BEGIN PGP PRIVATE KEY BLOCK-----",end:"-----END PGP PRIVATE KEY BLOCK-----",replace:!0},signedMsg:{begin:"-----BEGIN PGP SIGNED MESSAGE-----",middle:"-----BEGIN PGP SIGNATURE-----",end:"-----END PGP SIGNATURE-----",replace:!0},signature:{begin:"-----BEGIN PGP SIGNATURE-----",end:"-----END PGP SIGNATURE-----",replace:!1},encryptedMsg:{begin:"-----BEGIN PGP MESSAGE-----",end:"-----END PGP MESSAGE-----",replace:!0},encryptedMsgLink:{begin:"This message is encrypted: Open Message",end:/https:(\/|/){2}(cryptup\.org|flowcrypt\.com)(\/|/)[a-zA-Z0-9]{10}(\n|$)/,replace:!0}};static clip=e=>{if(e?.includes(a.ARMOR_HEADER_DICT.null.begin)&&e.includes(String(a.ARMOR_HEADER_DICT.null.end))){const t=e.match(/(-----BEGIN PGP (MESSAGE|SIGNED MESSAGE|SIGNATURE|PUBLIC KEY BLOCK)-----[^]+-----END PGP (MESSAGE|SIGNATURE|PUBLIC KEY BLOCK)-----)/gm);return t&&t.length?t[0]:void 0}};static headers=(e,t="string")=>{const r=a.ARMOR_HEADER_DICT[e];return{begin:"string"==typeof r.begin&&"re"===t?r.begin.replace(/ /g,"\\s"):r.begin,end:"string"==typeof r.end&&"re"===t?r.end.replace(/ /g,"\\s"):r.end,replace:r.replace}};static normalize=(e,t)=>{if(e=i.Str.normalize(e).replace(/\n /g,"\n"),["encryptedMsg","publicKey","privateKey","key"].includes(t)){const t=(e=e.replace(/\r?\n/g,"\n").trim()).match(/\n\n/g),r=e.match(/\n\n\n/g),n=e.match(/\n\n\n\n/g),i=e.match(/\n\n\n\n\n\n/g);r&&i&&r.length>1&&1===i.length?e=e.replace(/\n\n\n/g,"\n"):t&&n&&t.length>1&&1===n.length&&(e=e.replace(/\n\n/g,"\n"))}const r=e.split("\n"),n=a.headers("key"===t?"null":t);if(r.length>5&&r[0].includes(n.begin)&&r[r.length-1].includes(String(n.end))&&!r.includes(""))for(let t=1;t<5;t++)if(!r[t].match(/^[a-zA-Z0-9\-_. ]+: .+$/)){if(r[t].match(/^[a-zA-Z0-9\/+]{32,77}$/)){e=`${r.slice(0,t).join("\n")}\n\n${r.slice(t).join("\n")}`;break}break}return e};static cryptoMsgPrepareForDecrypt=async e=>{if(!e.length)throw new Error("Encrypted message could not be parsed because no data was provided");const t=new n.Buf(e.slice(0,100)).toUtfStr("ignore"),r=t.includes(a.headers("encryptedMsg").begin),i=t.includes(a.headers("signedMsg").begin),o=r||i;if(i)return{isArmored:o,isCleartext:!0,message:await(0,s.readCleartextMessage)({cleartextMessage:new n.Buf(e).toUtfStr()})};if(r)return{isArmored:o,isCleartext:!1,message:await(0,s.readMessage)({armoredMessage:new n.Buf(e).toUtfStr()})};if(e instanceof Uint8Array)return{isArmored:o,isCleartext:!1,message:await(0,s.readMessage)({binaryMessage:e})};throw new Error("Message does not have armor headers")}}t.PgpArmor=a},1371:(e,t,r)=>{var n=r(321),i=r(2801);t.FALLBACK_CHARACTER=63;var s=t.HAS_TYPED="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array,a=!1,o=!1;try{"a"===String.fromCharCode.apply(null,[97])&&(a=!0)}catch(e){}if(s)try{"a"===String.fromCharCode.apply(null,new Uint8Array([97]))&&(o=!0)}catch(e){}t.CAN_CHARCODE_APPLY=a,t.CAN_CHARCODE_APPLY_TYPED=o,t.APPLY_BUFFER_SIZE=65533,t.APPLY_BUFFER_SIZE_OK=null;var c=t.EncodingNames={UTF32:{order:0},UTF32BE:{alias:["UCS4"]},UTF32LE:null,UTF16:{order:1},UTF16BE:{alias:["UCS2"]},UTF16LE:null,BINARY:{order:2},ASCII:{order:3,alias:["ISO646","CP367"]},JIS:{order:4,alias:["ISO2022JP"]},UTF8:{order:5},EUCJP:{order:6},SJIS:{order:7,alias:["CP932","MSKANJI","WINDOWS31J"]},UNICODE:{order:8}},u={};t.EncodingAliases=u,t.EncodingOrders=function(){for(var e,t,r,i,s=u,a=n.objectKeys(c),o=[],l=0,h=a.length;l95&&(i.JIS_TO_UTF8_TABLE[t]=0|e);for(i.JISX0212_TO_UTF8_TABLE={},a=(r=n.objectKeys(i.UTF8_TO_JISX0212_TABLE)).length,s=0;s{"use strict";let n=r(7793),i=r(1752);class s extends n{get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}e.exports=s,s.default=s,n.registerRule(s)},1558:e=>{"use strict";e.exports=require("../../bundles/raw/web-stream-tools")},1592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeUndefinedValues=t.fmtErr=t.fmtRes=t.fmtContentBlock=t.stripHtmlRootTags=t.isContentBlock=void 0;const n=r(2633),i=r(4010),s=r(6471),a=r(6622);t.isContentBlock=e=>"plainText"===e||"decryptedText"===e||"plainHtml"===e||"decryptedHtml"===e||"signedMsg"===e||"verifiedMsg"===e;const o=(e,t)=>{let r;return r="green"===t?"border: 1px solid #f0f0f0;border-left: 8px solid #31A217;border-right: none;' +\n 'background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAMAAAAPdrEwAAAAh1BMVEXw8PD////w8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PD7MuHIAAAALXRSTlMAAAECBAcICw4QEhUZIyYqMTtGTV5kdn2Ii5mfoKOqrbG0uL6/xcnM0NTX2t1l7cN4AAAB0UlEQVR4Ae3Y3Y4SQRCG4bdHweFHRBTBH1FRFLXv//qsA8kmvbMdXhh2Q0KfknpSCQc130c67s22+e9+v/+d84fxkSPH0m/+5P9vN7vRV0vPfx7or1NB23e99KAHuoXOOc6moQsBwNN1Q9g4Wdh1uq3MA7Qn0+2ylAt7WbWpyT+Wo8roKH6v2QhZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2gjZ2AUNOLmwgQdogEJ2dnF3UJdU3WjqO/u96aYtVd/7jqvIyu76G5se6GaY7tNNcy5d7se7eWVnDz87fMkuVuS8epF6f9NPObPY5re9y4N1/vya9Gr3se2bfvl9M0mkyZdv077p+a/3z4Meby5Br4NWiV51BaiUqfLro9I3WiR61RVcffwfXI7u5zZ20EOA82Uu8x3SlrSwXQuBSvSqK0AletUVoBK96gpIwlZy0MJWctDCVnLQwlZy0MJWctDCVnLQwlZy0MJWctDCVnLQwlZy0MJWctDCVnLQwlZy0MJWckIletUVIJJxITN6wtZd2EI+0NquyIJOnUpFVvRpcwmV6FVXgEr0qitAJXrVFaASveoKUIledQWoRK+6AlSiV13BP+/VVbky7Xq1AAAAAElFTkSuQmCC);":"red"===t?"border: 1px solid #f0f0f0;border-left: 8px solid #d14836;border-right: none;":"plain"===t?"border: none;":"border: 1px solid #f0f0f0;border-left: 8px solid #989898;border-right: none;",`
${a.Xss.htmlSanitizeKeepBasicTags(e)}
\x3c!-- next MsgBlock --\x3e\n`};t.stripHtmlRootTags=e=>(e=(e=(e=e.replace(/<\/?html[^>]*>/g,"")).replace(/]*>.*<\/head>/g,"")).replace(/<\/?body[^>]*>/g,"")).trim();const c=(e,t)=>e.replace(/src="cid:([^"]+)"/g,((e,r)=>{const n=t[r];if(n){const e=`src="data:${n.attMeta?.type};base64,${n.attMeta?.data}"`;return delete t[r],e}return e}));t.fmtContentBlock=e=>{const r=[],u=[],l=e.filter((e=>!i.Mime.isPlainImgAtt(e))),h=[],f={};for(const t of e.filter((e=>i.Mime.isPlainImgAtt(e))))t.attMeta?.cid?f[t.attMeta.cid.replace(/>$/,"").replace(/^0&&g!==l.length&&(p.partial=!0));for(const e of h.concat(Object.values(f))){const t=`${e.attMeta?.name||"(unnamed image)"} - ${e.attMeta?.length??0}kb`,n=`${a.Xss.escape(t)} `;r.push(o(n,"plain")),u.push(`[image: ${t}]\n`)}const y=n.MsgBlock.fromContent("plainHtml",`\n \n \n \n \n \n ${r.join("")}\n `);return y.verifyRes=p,{contentBlock:y,text:u.join("").trim()}},t.fmtRes=(e,t)=>({json:e,data:t||new Uint8Array(0)}),t.fmtErr=e=>(0,t.fmtRes)({error:{message:String(e),stack:e&&"object"==typeof e&&e.stack||""}}),t.removeUndefinedValues=e=>{for(const t in e)void 0===e[t]&&delete e[t]}},1724:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=s(r(7918)),o=r(9878),c=new Set(["input","option","optgroup","select","button","datalist","textarea"]),u=new Set(["p"]),l=new Set(["thead","tbody"]),h=new Set(["dd","dt"]),f=new Set(["rt","rp"]),p=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",u],["h1",u],["h2",u],["h3",u],["h4",u],["h5",u],["h6",u],["select",c],["input",c],["output",c],["button",c],["datalist",c],["textarea",c],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",h],["dt",h],["address",u],["article",u],["aside",u],["blockquote",u],["details",u],["div",u],["dl",u],["fieldset",u],["figcaption",u],["figure",u],["footer",u],["form",u],["header",u],["hr",u],["main",u],["nav",u],["ol",u],["pre",u],["section",u],["table",u],["ul",u],["rt",f],["rp",f],["tbody",l],["tfoot",l]]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),g=new Set(["math","svg"]),y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),m=/\s|\//,w=function(){function e(e,t){var r,n,i,s,o;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(r=t.lowerCaseTags)&&void 0!==r?r:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(o=(s=this.cbs).onparserinit)||void 0===o||o.call(s,this)}return e.prototype.ontext=function(e,t){var r,n,i=this.getSlice(e,t);this.endIndex=t-1,null===(n=(r=this.cbs).ontext)||void 0===n||n.call(r,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,r,n=this.tokenizer.getSectionStart();this.endIndex=n-1,null===(r=(t=this.cbs).ontext)||void 0===r||r.call(t,(0,o.fromCodePoint)(e)),this.startIndex=n},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&d.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},e.prototype.emitOpenTag=function(e){var t,r,n,i;this.openTagStart=this.startIndex,this.tagname=e;var s=!this.options.xmlMode&&p.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),g.has(e)?this.foreignContext.push(!0):y.has(e)&&this.foreignContext.push(!1)),null===(i=(n=this.cbs).onopentagname)||void 0===i||i.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&(null===(r=(t=this.cbs).onopentag)||void 0===r||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var r,n,i,s,a,o;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(g.has(c)||y.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))this.options.xmlMode||"br"!==c||(null===(n=(r=this.cbs).onopentagname)||void 0===n||n.call(r,"br"),null===(s=(i=this.cbs).onopentag)||void 0===s||s.call(i,"br",{},!0),null===(o=(a=this.cbs).onclosetag)||void 0===o||o.call(a,"br",!1));else{var u=this.stack.lastIndexOf(c);if(-1!==u)if(this.cbs.onclosetag)for(var l=this.stack.length-u;l--;)this.cbs.onclosetag(this.stack.pop(),0!==l);else this.stack.length=u;else this.options.xmlMode||"p"!==c||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,r,n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,n,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,o.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var r,n;this.endIndex=t,null===(n=(r=this.cbs).onattribute)||void 0===n||n.call(r,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(m),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(n),"!".concat(r))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(n),"?".concat(r))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,r){var n,i,s,a;this.endIndex=t,null===(i=(n=this.cbs).oncomment)||void 0===i||i.call(n,this.getSlice(e,t-r)),null===(a=(s=this.cbs).oncommentend)||void 0===a||a.call(s),this.startIndex=t+1},e.prototype.oncdata=function(e,t,r){var n,i,s,a,o,c,u,l,h,f;this.endIndex=t;var p=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(n=this.cbs).oncdatastart)||void 0===i||i.call(n),null===(a=(s=this.cbs).ontext)||void 0===a||a.call(s,p),null===(c=(o=this.cbs).oncdataend)||void 0===c||c.call(o)):(null===(l=(u=this.cbs).oncomment)||void 0===l||l.call(u,"[CDATA[".concat(p,"]]")),null===(f=(h=this.cbs).oncommentend)||void 0===f||f.call(h)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,r,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(n=(r=this.cbs).onparserinit)||void 0===n||n.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,r;this.ended?null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,r;this.ended?null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{t.isBINARY=function(e){for(var t,r=0,n=e&&e.length;r255)return!1;if(t>=0&&t<=7||255===t)return!0}return!1},t.isASCII=function(e){for(var t,r=0,n=e&&e.length;r255||t>=128&&t<=255||27===t)return!1;return!0},t.isJIS=function(e){for(var t,r,n,i=0,s=e&&e.length;i255||t>=128&&t<=255)return!1;if(27===t){if(i+2>=s)return!1;if(r=e[i+1],n=e[i+2],36===r){if(40===n||64===n||66===n)return!0}else{if(38===r&&64===n)return!0;if(40===r&&(66===n||73===n||74===n))return!0}}}return!1},t.isEUCJP=function(e){for(var t,r=0,n=e&&e.length;r255||t<142)return!1;if(142===t){if(r+1>=n)return!1;if((t=e[++r])<161||223=n)return!1;if((t=e[++r])<162||237=n)return!1;if((t=e[++r])<161||254128;)if(e[r++]>255)return!1;for(;r239||r+1>=n)return!1;if((t=e[++r])<64||127===t||t>252)return!1}return!0},t.isUTF8=function(e){for(var t,r=0,n=e&&e.length;r255)return!1;if(!(9===t||10===t||13===t||t>=32&&t<=126))if(t>=194&&t<=223){if(r+1>=n||e[r+1]<128||e[r+1]>191)return!1;r++}else if(224===t){if(r+2>=n||e[r+1]<160||e[r+1]>191||e[r+2]<128||e[r+2]>191)return!1;r+=2}else if(t>=225&&t<=236||238===t||239===t){if(r+2>=n||e[r+1]<128||e[r+1]>191||e[r+2]<128||e[r+2]>191)return!1;r+=2}else if(237===t){if(r+2>=n||e[r+1]<128||e[r+1]>159||e[r+2]<128||e[r+2]>191)return!1;r+=2}else if(240===t){if(r+3>=n||e[r+1]<144||e[r+1]>191||e[r+2]<128||e[r+2]>191||e[r+3]<128||e[r+3]>191)return!1;r+=3}else if(t>=241&&t<=243){if(r+3>=n||e[r+1]<128||e[r+1]>191||e[r+2]<128||e[r+2]>191||e[r+3]<128||e[r+3]>191)return!1;r+=3}else{if(244!==t)return!1;if(r+3>=n||e[r+1]<128||e[r+1]>143||e[r+2]<128||e[r+2]>191||e[r+3]<128||e[r+3]>191)return!1;r+=3}}return!0},t.isUTF16=function(e){var t,r,n,i,s=0,a=e&&e.length,o=null;if(a<2){if(e[0]>255)return!1}else{if(t=e[0],r=e[1],255===t&&254===r)return!0;if(254===t&&255===r)return!0;for(;s255)return!1}if(null===o)return!1;if(void 0!==(n=e[o+1])&&n>0&&n<128)return!0;if(void 0!==(i=e[o-1])&&i>0&&i<128)return!0}return!1},t.isUTF16BE=function(e){var t,r,n=0,i=e&&e.length,s=null;if(i<2){if(e[0]>255)return!1}else{if(t=e[0],r=e[1],254===t&&255===r)return!0;for(;n255)return!1}if(null===s)return!1;if(s%2==0)return!0}return!1},t.isUTF16LE=function(e){var t,r,n=0,i=e&&e.length,s=null;if(i<2){if(e[0]>255)return!1}else{if(t=e[0],r=e[1],255===t&&254===r)return!0;for(;n255)return!1}if(null===s)return!1;if(s%2!=0)return!0}return!1},t.isUTF32=function(e){var t,r,n,i,s,a,o=0,c=e&&e.length,u=null;if(c<4){for(;o255)return!1}else{if(t=e[0],r=e[1],n=e[2],i=e[3],0===t&&0===r&&254===n&&255===i)return!0;if(255===t&&254===r&&0===n&&0===i)return!0;for(;o255)return!1}if(null===u)return!1;if(void 0!==(s=e[u+3])&&s>0&&s<=127)return 0===e[u+2]&&0===e[u+1];if(void 0!==(a=e[u-1])&&a>0&&a<=127)return 0===e[u+1]&&0===e[u+2]}return!1},t.isUNICODE=function(e){for(var t,r=0,n=e&&e.length;r1114111)return!1;return!0}},1752:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,r){let n=[],i="",s=!1,a=0,o=!1,c="",u=!1;for(let r of e)u?u=!1:"\\"===r?u=!0:o?r===c&&(o=!1):'"'===r||"'"===r?(o=!0,c=r):"("===r?a+=1:")"===r?a>0&&(a-=1):0===a&&t.includes(r)&&(s=!0),s?(""!==i&&n.push(i.trim()),i="",s=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n}};e.exports=t,t.default=t},1818:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=n(r(5504)),s=r(5987),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function o(e,t){for(var r,n="",a=0;null!==(r=e.exec(t));){var o=r.index;n+=t.substring(a,o);var c=t.charCodeAt(o),u=i.default.get(c);if("object"==typeof u){if(o+1{},2365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpKey=void 0;const n=r(7659),i=r(1341),s=r(3313),a=r(102),o=r(178),c=r(6382),u=r(1040),l=r(3955),h=r(6471);class f{static create=async(e,t,r)=>{const n=await(0,c.generateKey)({userIDs:e,passphrase:r,format:"armored",curve:"curve25519"===t?"curve25519Legacy":void 0,rsaBits:"curve25519"===t?void 0:"rsa2048"===t?2048:4096});return{public:n.publicKey,private:n.privateKey,revCert:n.revocationCertificate}};static read=async e=>{const t=s.Store.armoredKeyCacheGet(e);if(t)return t;const r=await(0,c.readKey)({armoredKey:e});return r?.isPrivate()&&s.Store.armoredKeyCacheSet(e,r),r};static isPacketPrivate=e=>e instanceof c.SecretKeyPacket||e instanceof c.SecretSubkeyPacket;static validateAllDecryptedPackets=async e=>{for(const t of e.toPacketList().filter(f.isPacketPrivate))t.isDecrypted()&&await t.validate()};static decrypt=async(e,t,r,n)=>{if(!e.isPrivate())throw new Error("Nothing to decrypt in a public key");const i=e.getKeys(r).map((e=>e.keyPacket)).filter(f.isPacketPrivate);if(!i.length)throw new Error(`No private key packets selected of${e.getKeys().map((e=>e.keyPacket)).filter(f.isPacketPrivate).length} prv packets available`);for(const e of i){if(e.isDecrypted()){if("OK-IF-ALREADY-DECRYPTED"===n)continue;throw new Error("Decryption failed - key packet was already decrypted")}try{await e.decrypt(t),await e.validate()}catch(e){if(e instanceof Error&&e.message.toLowerCase().includes("passphrase"))return!1;throw e}}return!0};static encrypt=async(e,t)=>{if(!t||"undefined"===t||"null"===t)throw new Error(`Encryption passphrase should not be empty:${typeof t}:${t}`);const r=e.getKeys().map((e=>e.keyPacket)).filter(f.isPacketPrivate),n=r.filter((e=>!e.isDecrypted())).length;if(!r.length)throw new Error("No private key packets in key to encrypt. Is this a private key?");if(n)throw new Error(`Cannot encrypt a key that has ${n} of ${r.length} private packets still encrypted`);await(0,c.encryptKey)({privateKey:e,passphrase:t})};static normalize=async e=>{try{let t=[];if(e=i.PgpArmor.normalize(e,"key"),RegExp(i.PgpArmor.headers("publicKey","re").begin).test(e))t=await(0,c.readKeys)({armoredKeys:e});else if(RegExp(i.PgpArmor.headers("privateKey","re").begin).test(e))t=await(0,c.readKeys)({armoredKeys:e});else if(RegExp(i.PgpArmor.headers("encryptedMsg","re").begin).test(e)){const r=await(0,c.readMessage)({armoredMessage:e});t=[new c.PublicKey(r.packets)]}for(const e of t)for(const t of e.users)await f.validateAllDecryptedPackets(e),t.otherCertifications=[];return{normalized:t.map((e=>e.armor())).join("\n"),keys:t}}catch(e){return n.Catch.reportErr(e),{normalized:"",keys:[],error:h.Str.extractErrorMessage(e)}}};static fingerprint=async e=>{if(e)if("string"==typeof e)try{return await f.fingerprint(await f.read(e))}catch(e){return e instanceof Error&&"openpgp is not defined"===e.message&&n.Catch.reportErr(e),void console.error(e)}else{if(!e.keyPacket.getFingerprintBytes())return;try{return e.keyPacket.getFingerprint().toUpperCase()}catch(e){return void console.error(e)}}};static longid=async e=>{if(e)return"string"==typeof e&&8===e.length?(0,o.strToHex)(e).toUpperCase():"string"==typeof e&&40===e.length?e.substr(-16):"string"==typeof e&&49===e.length?e.replace(/ /g,"").substr(-16):await f.longid(await f.fingerprint(e))};static longids=async e=>{const t=[];for(const r of e){const e=await f.longid(r.bytes);e&&t.push(e)}return t};static usable=async(e,t)=>{if(!await f.fingerprint(e))return!1;const r=await(0,c.readKey)({armoredKey:e});return!!r&&(!!await f.keyIsUsable(r,t)||await f.usableButExpired(r,t))};static expired=async e=>{if(!e)return!1;const t=await e.getExpirationTime();if(t===1/0||!t)return!1;if(t instanceof Date)return Date.now()>t.getTime();throw new Error(`Got unexpected value for expiration: ${t}`)};static usableButExpired=async(e,t)=>{if(!e)return!1;if(await f.keyIsUsable(e,t))return!1;const r=await f.dateBeforeExpiration(e);return void 0!==r&&f.keyIsUsable(e,t,r)};static dateBeforeExpiration=async e=>{const t="string"==typeof e?await f.read(e):e,r=await(0,o.getKeyExpirationTimeForCapabilities)(t,"encrypt");if(r instanceof Date&&r.getTime(){const{normalized:t,keys:r,error:n}=await f.normalize(e);return{original:e,normalized:t,keys:await Promise.all(r.map(f.details)),error:n}};static details=async e=>{const t=e.getKeys(),r=e.keyPacket.getAlgorithmInfo(),n={algorithm:r.algorithm,algorithmId:c.enums.publicKey[r.algorithm]};r.bits&&Object.assign(n,{bits:r.bits}),r.curve&&Object.assign(n,{curve:r.curve});const i=e.keyPacket.created.getTime()/1e3,s=await(0,o.getKeyExpirationTimeForCapabilities)(e,"encrypt"),l=s!==1/0&&s?s.getTime()/1e3:void 0,h=await f.lastSig(e)/1e3,p=[];for(const e of t){const t=e.getFingerprint().toUpperCase();if(t){const e=await f.longid(t);if(e){const r=e.substr(-8);p.push({fingerprint:t,longid:e,shortid:r,keywords:(0,a.mnemonic)(e)??""})}}}const d=e.toPublic().armor(),g={public:d,users:e.getUserIDs(),ids:p,algo:n,created:i,expiration:l,lastModified:h,revoked:e.revocationSignatures.length>0,usableForEncryption:await f.usable(d,"encrypt"),usableForSigning:await f.usable(d,"sign")};return e.isPrivate()&&Object.assign(g,{private:e.armor(),isFullyDecrypted:(0,u.isFullyDecrypted)(e),isFullyEncrypted:(0,u.isFullyEncrypted)(e)}),g};static lastSig=async e=>{const t=[];for(const r of e.users){const n={userID:r.userID,userAttribute:r.userAttribute,key:e};for(const i of r.selfCertifications)try{await i.verify(e.keyPacket,c.enums.signature.certGeneric,n),t.push(i)}catch(e){console.log(`PgpKey.lastSig: Skipping self-certification signature because it is invalid: ${String(e)}`)}}for(const r of e.subkeys)try{const e=await r.verify();t.push(e)}catch(e){console.log(`PgpKey.lastSig: Skipping subkey ${r.getKeyID().toHex()} because there is no valid binding signature: ${String(e)}`)}if(t.length>0)return Math.max(...t.map((e=>e.created?e.created.getTime():0)));throw new Error("No valid signature found in key")};static revoke=async e=>{await e.isRevoked()||(e=(await(0,c.revokeKey)({key:e,format:"object"})).privateKey);const t=await e.getRevocationCertificate();if(t){if("string"==typeof t)return{key:e,revocationCertificate:t};{const r=await(0,l.requireStreamReadToEnd)();return{key:e,revocationCertificate:await r(t)}}}};static keyIsUsable=async(e,t,r)=>Boolean(await n.Catch.undefinedOnException("encrypt"===t?e.getEncryptionKey(void 0,r):e.getSigningKey(void 0,r)))}t.PgpKey=f},2517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},2633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MsgBlock=void 0;class r{type;content;complete;signature;keyDetails;attMeta;decryptErr;verifyRes;constructor(e,t,r,n,i,s,a,o){this.type=e,this.content=t,this.complete=r,this.signature=n,this.keyDetails=i,this.attMeta=s,this.decryptErr=a,this.verifyRes=o}static fromContent=(e,t,n=!1)=>new r(e,t,!n);static fromKeyDetails=(e,t,n)=>new r(e,t,!0,void 0,n);static fromAtt=(e,t,n)=>new r(e,t,!0,void 0,void 0,n)}t.MsgBlock=r},2730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var n,i,s=r(9878),a=r(1818),o=r(5987);function c(e,t){if(void 0===t&&(t=n.XML),("number"==typeof t?t:t.level)===n.HTML){var r="object"==typeof t?t.mode:void 0;return(0,s.decodeHTML)(e,r)}return(0,s.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(n=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=c,t.decodeStrict=function(e,t){var r;void 0===t&&(t=n.XML);var i="number"==typeof t?{level:t}:t;return null!==(r=i.mode)&&void 0!==r||(i.mode=s.DecodingMode.Strict),c(e,i)},t.encode=function(e,t){void 0===t&&(t=n.XML);var r="number"==typeof t?{level:t}:t;return r.mode===i.UTF8?(0,o.escapeUTF8)(e):r.mode===i.Attribute?(0,o.escapeAttribute)(e):r.mode===i.Text?(0,o.escapeText)(e):r.level===n.HTML?r.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,o.encodeXML)(e)};var u=r(5987);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return u.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return u.escapeText}});var l=r(1818);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var h=r(9878);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return h.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return h.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return h.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})},2739:()=>{},2801:(e,t,r)=>{t.UTF8_TO_JIS_TABLE=r(4992),t.UTF8_TO_JISX0212_TABLE=r(909),t.JIS_TO_UTF8_TABLE=r(5748),t.JISX0212_TO_UTF8_TABLE=r(7921)},2895:(e,t,r)=>{"use strict";let n=r(396),i=r(9371),s=r(7793),a=r(3614),o=r(5238),c=r(145),u=r(3438),l=r(1106),h=r(6966),f=r(1752),p=r(3152),d=r(9577),g=r(6846),y=r(3717),m=r(5644),w=r(1534),b=r(3303),A=r(38);function v(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new g(e)}v.plugin=function(e,t){let r,n=!1;function i(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=(new g).version,i}return Object.defineProperty(i,"postcss",{get:()=>(r||(r=i()),r)}),i.process=function(e,t,r){return v([i(r)]).process(e,t)},i},v.stringify=b,v.parse=d,v.fromJSON=u,v.list=f,v.comment=e=>new i(e),v.atRule=e=>new n(e),v.decl=e=>new o(e),v.rule=e=>new w(e),v.root=e=>new m(e),v.document=e=>new c(e),v.CssSyntaxError=a,v.Declaration=o,v.Container=s,v.Processor=g,v.Document=c,v.Comment=i,v.Warning=A,v.AtRule=n,v.Result=y,v.Input=l,v.Rule=w,v.Root=m,v.Node=p,h.registerPostcss(v),e.exports=v,v.default=v},3152:(e,t,r)=>{"use strict";let n=r(3614),i=r(7668),s=r(3303),{isClean:a,my:o}=r(4151);function c(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("proxyCache"===n)continue;let i=e[n],s=typeof i;"parent"===n&&"object"===s?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((e=>c(e,r))):("object"===s&&null!==i&&(i=c(i)),r[n]=i)}return r}function u(e,t){if(t&&void 0!==t.offset)return t.offset;let r=1,n=1,i=0;for(let s=0;s"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,n=r.slice(u(r,this.source.start),u(r,this.source.end)).indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}positionInside(e){let t=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,i=u(n,this.source.start),s=i+e;for(let e=i;e"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){if(null==n)continue;let s=t.get(n.input);null==s&&(s=i,t.set(n.input,i),i++),r[e]={end:n.end,inputId:s,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r={}){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}}e.exports=l,l.default=l},3207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Att=void 0;const n=r(833),i=r(6471);class s{static attachmentsPattern=/^(((cryptup|flowcrypt)-backup-[a-z0-9]+\.(key|asc))|(.+\.pgp)|(.+\.gpg)|(.+\.asc)|(noname)|(message)|(PGPMIME version identification)|())$/gm;length=NaN;type;name;url;id;msgId;inline;cid;contentDescription;bytes;treatAsValue;constructor({data:e,type:t,name:r,length:n,url:i,inline:s,id:a,msgId:o,treatAs:c,cid:u,contentDescription:l}){if(void 0===e&&void 0===i&&void 0===a)throw new Error("Att: one of data|url|id has to be set");if(a&&!o)throw new Error("Att: if id is set, msgId must be set too");e?(this.bytes=e,this.length=e.length):this.length=Number(n),this.name=r||"",this.type=t||"application/octet-stream",this.url=i||void 0,this.inline=!!s,this.id=a||void 0,this.msgId=o||void 0,this.treatAsValue=c||void 0,this.cid=u||void 0,this.contentDescription=l||void 0}static keyinfoAsPubkeyAtt=e=>new s({data:n.Buf.fromUtfStr(e.public),type:"application/pgp-keys",name:`0x${e.longid}.asc`});hasData=()=>this.bytes instanceof Uint8Array;setData=e=>{if(this.hasData())throw new Error("Att bytes already set");this.bytes=e};getData=()=>{if(this.bytes instanceof n.Buf)return this.bytes;if(this.bytes instanceof Uint8Array)return new n.Buf(this.bytes);throw new Error("Att has no data set")};treatAs=(e,t=!1)=>{if(this.treatAsValue)return this.treatAsValue;if(["PGPexch.htm.pgp","PGPMIME version identification","Version.txt","PGPMIME Versions Identification"].includes(this.name))return"hidden";if("signature.asc"===this.name||"application/pgp-signature"===this.type){if(e.length>1){const t=i.Str.getFilenameWithoutExtension(this.name);if(e.some((e=>e!==this&&(e.name===t||i.Str.getFilenameWithoutExtension(e.name)===t))))return"hidden"}return"signature"}return this.name||this.type.startsWith("image/")?"msg.asc"===this.name&&this.length<100&&"application/pgp-encrypted"===this.type?"hidden":["message","msg.asc","message.asc","encrypted.asc","encrypted.eml.pgp","Message.pgp"].includes(this.name)||"message"===this.name&&t?"encryptedMsg":this.name.match(/(\.pgp$)|(\.gpg$)|(\.[a-zA-Z0-9]{3,4}\.asc$)/g)?"encryptedFile":this.name.match(/(cryptup|flowcrypt)-backup-[a-z0-9]+\.(key|asc)$/g)?"privateKey":this.name.match(/^(0|0x)?[A-F0-9]{8}([A-F0-9]{8})?.*\.asc$/g)||this.name.toLowerCase().includes("public")&&this.name.match(/[A-F0-9]{8}.*\.asc$/g)||this.name.match(/\.asc$/)&&this.hasData()&&n.Buf.with(this.getData().subarray(0,100)).toUtfStr().includes("-----BEGIN PGP PUBLIC KEY BLOCK-----")?"publicKey":this.name.match(/\.asc$/)&&this.length<1e5&&!this.inline?"encryptedMsg":"plainFile":this.length<100?"hidden":"encryptedMsg"}}t.Att=s},3209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testElement=function(e,t){var r=c(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=c(e);return s?(0,i.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_name(e),t,r,n)},t.getElementsByClassName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(a("class",e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_type(e),t,r,n)};var n=r(1141),i=r(718),s={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}function c(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):a(t,r)}));return 0===t.length?null:t.reduce(o)}},3303:(e,t,r)=>{"use strict";let n=r(7668);function i(e,t){new n(t).stringify(e)}e.exports=i,i.default=i},3313:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Store=void 0;const n=r(178);let i,s={};class a{static decryptedKeyCacheSet=e=>{a.keyCacheRenewExpiry(),s[(e=>(0,n.strToHex)(e.getKeyID().bytes).toUpperCase())(e)]=e};static decryptedKeyCacheGet=e=>(a.keyCacheRenewExpiry(),s[e]);static armoredKeyCacheSet=(e,t)=>{a.keyCacheRenewExpiry(),s[e]=t};static armoredKeyCacheGet=e=>(a.keyCacheRenewExpiry(),s[e]);static keyCacheWipe=()=>{s={}};static keyCacheRenewExpiry=()=>{i&&clearTimeout(i),i=setTimeout(a.keyCacheWipe,12e4)}}t.Store=a},3403:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,r=t.lastIndexOf(e);r>=0&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},3438:(e,t,r)=>{"use strict";let n=r(396),i=r(9371),s=r(5238),a=r(1106),o=r(3878),c=r(5644),u=r(1534);function l(e,t){if(Array.isArray(e))return e.map((e=>l(e)));let{inputs:r,...h}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:a.prototype};r.map&&(r.map={...r.map,__proto__:o.prototype}),t.push(r)}}if(h.nodes&&(h.nodes=e.nodes.map((e=>l(e,t)))),h.source){let{inputId:e,...r}=h.source;h.source=r,null!=e&&(h.source.input=t[e])}if("root"===h.type)return new c(h);if("decl"===h.type)return new s(h);if("rule"===h.type)return new u(h);if("comment"===h.type)return new i(h);if("atrule"===h.type)return new n(h);throw new Error("Unknown node type: "+e.type)}e.exports=l,l.default=l},3603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},3604:(e,t,r)=>{"use strict";let{dirname:n,relative:i,resolve:s,sep:a}=r(197),{SourceMapConsumer:o,SourceMapGenerator:c}=r(1866),{pathToFileURL:u}=r(2739),l=r(1106),h=Boolean(o&&c),f=Boolean(n&&s&&i&&a);e.exports=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),i=e.root||n(e.file);!1===this.mapOpts.sourcesContent?(t=new o(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),f&&h&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=c.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,n=1,i="",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((a,o,c)=>{if(this.css+=a,o&&"end"!==c&&(s.generated.line=r,s.generated.column=n-1,o.source&&o.source.start?(s.source=this.sourcePath(o),s.original.line=o.source.start.line,s.original.column=o.source.start.column-1,this.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,this.map.addMapping(s))),t=a.match(/\n/g),t?(r+=t.length,e=a.lastIndexOf("\n"),n=a.length-e):n+=a.length,o&&"start"!==c){let e=o.parent||{raws:{}};("decl"===o.type||"atrule"===o.type&&!o.nodes)&&o===e.last&&!e.raws.semicolon||(o.source&&o.source.end?(s.source=this.sourcePath(o),s.original.line=o.source.end.line,s.original.column=o.source.end.column-1,s.generated.line=r,s.generated.column=n-2,this.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,s.generated.line=r,s.generated.column=n-1,this.map.addMapping(s)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?n(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=n(s(r,this.mapOpts.annotation)));let a=i(r,e);return this.memoizedPaths.set(e,a),a}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new l(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(u){let t=u(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}}},3614:(e,t,r)=>{"use strict";let n=r(8633),i=r(9746);class s extends Error{constructor(e,t,r,n,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),a&&(this.plugin=a),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=n.isColorSupported);let r=e=>e,s=e=>e,a=e=>e;if(e){let{bold:e,gray:t,red:o}=n.createColors(!0);s=t=>e(o(t)),r=e=>t(e),i&&(a=e=>i(e))}let o=t.split(/\r?\n/),c=Math.max(this.line-3,0),u=Math.min(this.line+2,o.length),l=String(u).length;return o.slice(c,u).map(((e,t)=>{let n=c+1+t,i=" "+(" "+n).slice(-l)+" | ";if(n===this.line){if(e.length>160){let t=20,n=Math.max(0,this.column-t),o=Math.max(this.column+t,this.endColumn+t),c=e.slice(n,o),u=r(i.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return s(">")+r(i)+a(c)+"\n "+u+s("^")}let t=r(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+r(i)+a(e)+"\n "+t+s("^")}return" "+r(i)+a(e)})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=s,s.default=s},3717:(e,t,r)=>{"use strict";let n=r(38);class i{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}}e.exports=i,i.default=i},3806:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r");case o.Comment:return"\x3c!--".concat(e.data,"--\x3e");case o.CDATA:return function(e){return"")}(e);case o.Script:case o.Style:case o.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=u.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&g.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&y.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),s=function(e,t){var r;if(e){var n=!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)?h:t.xmlMode||"utf8"!==t.encodeEntities?c.encodeXML:c.escapeAttribute;return Object.keys(e).map((function(r){var i,s,a=null!==(i=e[r])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(r=null!==(s=u.attributeNames.get(r))&&void 0!==s?s:r),t.emptyAttrs||t.xmlMode||""!==a?"".concat(r,'="').concat(n(a),'"'):r})).join(" ")}}(e.attribs,t);return s&&(i+=" ".concat(s)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+=""))),i}(e,t);case o.Text:return function(e,t){var r,n=e.data||"";return!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?(0,c.encodeXML)(n):(0,c.escapeText)(n)),n}(e,t)}}t.render=p,t.default=p;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),y=new Set(["svg","math"])},3878:(e,t,r)=>{"use strict";let{existsSync:n,readFileSync:i}=r(9977),{dirname:s,join:a}=r(197),{SourceMapConsumer:o,SourceMapGenerator:c}=r(1866);class u{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new o(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let r=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(r)return n=e.substr(r[0].length),Buffer?Buffer.from(n,"base64").toString():window.atob(n);var n;let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=s(e),n(e))return this.mapFile=e,i(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof o)return c.fromSourceMap(t).toString();if(t instanceof c)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=a(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=u,u.default=u},3880:(e,t)=>{t.HANKANA_TABLE={12289:65380,12290:65377,12300:65378,12301:65379,12443:65438,12444:65439,12449:65383,12450:65393,12451:65384,12452:65394,12453:65385,12454:65395,12455:65386,12456:65396,12457:65387,12458:65397,12459:65398,12461:65399,12463:65400,12465:65401,12467:65402,12469:65403,12471:65404,12473:65405,12475:65406,12477:65407,12479:65408,12481:65409,12483:65391,12484:65410,12486:65411,12488:65412,12490:65413,12491:65414,12492:65415,12493:65416,12494:65417,12495:65418,12498:65419,12501:65420,12504:65421,12507:65422,12510:65423,12511:65424,12512:65425,12513:65426,12514:65427,12515:65388,12516:65428,12517:65389,12518:65429,12519:65390,12520:65430,12521:65431,12522:65432,12523:65433,12524:65434,12525:65435,12527:65436,12530:65382,12531:65437,12539:65381,12540:65392},t.HANKANA_SONANTS={12532:65395,12535:65436,12538:65382},t.HANKANA_MARKS=[65438,65439],t.ZENKANA_TABLE=[12290,12300,12301,12289,12539,12530,12449,12451,12453,12455,12457,12515,12517,12519,12483,12540,12450,12452,12454,12456,12458,12459,12461,12463,12465,12467,12469,12471,12473,12475,12477,12479,12481,12484,12486,12488,12490,12491,12492,12493,12494,12495,12498,12501,12504,12507,12510,12511,12512,12513,12514,12516,12518,12520,12521,12522,12523,12524,12525,12527,12531,12443,12444]},3955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireIso88592=t.requireMimeBuilder=t.requireMimeParser=t.requireStreamReadToEnd=void 0,t.requireStreamReadToEnd=async()=>"not node"===(globalThis.process?.release?.name||"not node")?(await Promise.resolve().then((()=>r(9275)))).readToEnd:r(1558).readToEnd,t.requireMimeParser=()=>r.g["emailjs-mime-parser"],t.requireMimeBuilder=()=>r.g["emailjs-mime-builder"],t.requireIso88592=()=>r.g.iso88592},4010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mime=void 0;const n=r(6471),i=r(3955),s=r(3207),a=r(833),o=r(7659),c=r(2633),u=r(9545),l=r(1341),h=r(178),f=(0,i.requireMimeParser)(),p=(0,i.requireMimeBuilder)(),d=(0,i.requireIso88592)();class g{static processBody=e=>{const t=[];if(e.text){const r=u.MsgBlockParser.detectBlocks(n.Str.normalize(e.text),!0).blocks;r.find((e=>["pkcs7","encryptedMsg","signedMsg","publicKey","privateKey"].includes(e.type)))?t.push(...r):e.html?t.push(c.MsgBlock.fromContent("plainHtml",e.html)):t.push(...r)}else e.html&&t.push(c.MsgBlock.fromContent("plainHtml",e.html));return t};static isBodyEmpty=({text:e,html:t})=>g.isBodyTextEmpty(e)&&g.isBodyTextEmpty(t);static isBodyTextEmpty=e=>!(e&&!/^(\r)?(\n)?$/.test(e));static processAttachments=(e,t)=>{const r=[],n=[];for(const e of t.atts){let i=e.treatAs(t.atts,g.isBodyEmpty(t));if(["needChunk","maybePgp"].includes(i)&&(i="encryptedMsg"),"encryptedMsg"===i){const t=l.PgpArmor.clip(e.getData().toUtfStr());t&&r.push(c.MsgBlock.fromContent("encryptedMsg",t))}else"signature"===i?n.push(e):"publicKey"===i||"privateKey"===i?r.push(...u.MsgBlockParser.detectBlocks(e.getData().toUtfStr(),!0).blocks):"encryptedFile"===i?r.push(c.MsgBlock.fromAtt("encryptedAtt","",{name:e.name,type:e.type,length:e.getData().length,data:e.getData(),treatAs:e.treatAs(t.atts)})):"plainFile"===i&&r.push(c.MsgBlock.fromAtt("plainAtt","",{name:e.name,type:e.type,length:e.getData().length,data:e.getData(),inline:e.inline,cid:e.cid}))}if(n.length){const t=n[0].getData().toUtfStr();[...e,...r].some((e=>["plainText","plainHtml","signedMsg"].includes(e.type)))||r.push(new c.MsgBlock("signedMsg","",!0,t))}const i=[...e,...r];if(t.signature&&t.signature.includes(l.PgpArmor.ARMOR_HEADER_DICT.signature.begin)&&t.signature.includes(String(l.PgpArmor.ARMOR_HEADER_DICT.signature.end))){for(const e of i)"plainText"===e.type?(e.type="signedMsg",e.signature=t.signature):"plainHtml"===e.type&&(e.type="signedHtml",e.signature=t.signature);i.find((e=>"plainText"===e.type||"plainHtml"===e.type||"signedMsg"===e.type||"signedHtml"===e.type))||i.push(new c.MsgBlock("signedMsg","",!0,t.signature))}return{headers:t.headers,blocks:i,from:t.from,to:t.to,rawSignedContent:t.rawSignedContent}};static processDecoded=e=>{const t=g.processBody(e);return g.processAttachments(t,e)};static process=async e=>{const t=await g.decode(e);return g.processDecoded(t)};static isPlainImgAtt=e=>"plainAtt"===e.type&&e.attMeta&&e.attMeta.type&&["image/jpeg","image/jpg","image/bmp","image/png","image/svg+xml"].includes(e.attMeta.type);static replyHeaders=e=>{const t=String(e.headers["message-id"]||"");return{"in-reply-to":t,references:String(e.headers["in-reply-to"]||"")+" "+t}};static resemblesMsg=e=>{const t=new a.Buf(e.slice(0,1e3)).toUtfStr().toLowerCase(),r=t.match(/content-type: +[0-9a-z\-\/]+/);return!!r&&(!!(t.match(/content-transfer-encoding: +[0-9a-z\-\/]+/)||t.match(/content-disposition: +[0-9a-z\-\/]+/)||t.match(/; boundary=/)||t.match(/; charset=/))||Boolean(0===r.index&&t.match(/boundary=/)))};static decode=async e=>{const t={atts:[],headers:{},subject:void 0,text:void 0,html:void 0,signature:void 0,from:void 0,to:[],cc:[],bcc:[]},r=new f,n={};return r.onbody=e=>{const t=String(e.path.join("."));void 0===n[t]&&(n[t]=e)},await new Promise(((i,s)=>{try{r.onend=()=>{try{for(const e of Object.keys(r.node.headers))t.headers[e]=r.node.headers[e][0].value;t.rawSignedContent=g.retrieveRawSignedContent([r.node]);for(const e of Object.values(n))"application/pgp-signature"===g.getNodeType(e)?t.signature=e.rawContent:"text/html"!==g.getNodeType(e)||g.getNodeFilename(e)?"text/plain"!==g.getNodeType(e)||g.getNodeFilename(e)&&!g.isNodeInline(e)?"text/rfc822-headers"===g.getNodeType(e)?e._parentNode&&e._parentNode.headers.subject&&(t.subject=e._parentNode.headers.subject[0].value):t.atts.push(g.getNodeAsAtt(e)):t.text=(t.text?`${t.text}\n\n`:"")+g.getNodeContentAsUtfStr(e):t.html=(t.html||"")+g.getNodeContentAsUtfStr(e);const e=g.headerGetAddress(t,["from","to","cc","bcc"]);t.subject=String(t.subject||t.headers.subject||""),Object.assign(t,e),i(t)}catch(e){s(e)}},r.write(e),r.end()}catch(e){o.Catch.reportErr(e),i(t)}}))};static encode=async(e,t,r=[],n)=>{const i=new p("pgpMimeEncrypted"!==n?"multipart/mixed":'multipart/encrypted; protocol="application/pgp-encrypted";',{includeBccInHeader:!0});for(const e of Object.keys(t))i.addHeader(e,t[e]);if(Object.keys(e).length){let t;if(1===Object.keys(e).length)t=g.newContentNode(p,Object.keys(e)[0],e[Object.keys(e)[0]]||"");else{t=new p("multipart/alternative");for(const r of Object.keys(e))t.appendChild(g.newContentNode(p,r,e[r]??""))}i.appendChild(t)}for(const e of r)i.appendChild(g.createAttNode(e));return i.build()};static subjectWithoutPrefixes=e=>e.replace(/^((Re|Fwd): ?)+/g,"").trim();static encodePgpMimeSigned=async(e,t,r=[],i)=>{const o=`SIG_PLACEHOLDER_${n.Str.sloppyRandom(10)}`,c=new p('multipart/signed; protocol="application/pgp-signature";',{includeBccInHeader:!0});for(const e of Object.keys(t))c.addHeader(e,t[e]);const u=new p("multipart/alternative");for(const t of Object.keys(e))u.appendChild(g.newContentNode(p,t,e[t]??""));const l=new p("multipart/mixed");l.appendChild(u);for(const e of r)l.appendChild(g.createAttNode(e));const h=new s.Att({data:a.Buf.fromUtfStr(o),type:"application/pgp-signature",name:"signature.asc"}),f=g.createAttNode(h);c.appendChild(l),c.appendChild(f);const d=c.build(),{rawSignedContent:y}=await g.decode(a.Buf.fromUtfStr(d));if(!y)throw console.log(`mimeStrWithPlaceholderSig(placeholder:${o}):\n${d}`),new Error("Could not find raw signed content immediately after mime-encoding a signed message");const m=await i(y),w=d.replace(a.Buf.fromUtfStr(o).toBase64Str(),a.Buf.fromUtfStr(m).toBase64Str());if(w===d)throw console.log(`pgpMimeSigned(placeholder:${o}):\n${w}`),new Error("Replaced sigPlaceholder with realSignature but mime stayed the same");return w};static headerGetAddress=(e,t)=>{const r={to:[],cc:[],bcc:[]};let i;const s=e=>"string"==typeof e?[e].map((e=>n.Str.parseEmail(e).email)).filter((e=>!!e)):e.map((e=>e.address));for(const o of t){const t=e.headers[o];t&&("from"===o?(a=t,i=n.Str.parseEmail((Array.isArray(a)?(a[0]||{}).address:String(a||""))||"").email):r[o]=[...r[o],...s(t)])}var a;return{...r,from:i}};static retrieveRawSignedContent=e=>{for(const t of e){if(!t._childNodes||!t._childNodes.length)continue;const e="signed"===t._isMultipart,r="mixed"===t._isMultipart&&2===t._childNodes.length&&"application/pgp-signature"===g.getNodeType(t._childNodes[1]);if(e||r){let e=t._childNodes[0].raw.replace(/\r?\n/g,"\r\n");return/--$/.test(e)&&(e+="\r\n"),e}return g.retrieveRawSignedContent(t._childNodes)}};static createAttNode=e=>{const t=`${e.type}; name="${e.name}"`,r=`f_${n.Str.sloppyRandom(30)}@flowcrypt`,i={};return e.contentDescription&&(i["Content-Description"]=e.contentDescription),i["Content-Disposition"]=e.inline?"inline":"attachment",i["X-Attachment-Id"]=r,i["Content-ID"]=`<${r}>`,i["Content-Transfer-Encoding"]="base64",new p(t,{filename:e.name}).setHeader(i).setContent(e.getData())};static getNodeType=(e,t="value")=>{if(e.headers["content-type"]&&e.headers["content-type"][0])return e.headers["content-type"][0][t]};static getNodeContentId=e=>{if(e.headers["content-id"]&&e.headers["content-id"][0])return e.headers["content-id"][0].value};static getNodeFilename=e=>{if(e.headers["content-disposition"]&&e.headers["content-disposition"][0]){const t=e.headers["content-disposition"][0];if(t.params&&t.params.filename)return String(t.params.filename)}if(e.headers["content-type"]&&e.headers["content-type"][0]){const t=e.headers["content-type"][0];if(t.params&&t.params.name)return String(t.params.name)}};static isNodeInline=e=>{const t=e.headers["content-disposition"];return t&&t[0]&&"inline"===t[0].value};static fromEqualSignNotationAsBuf=e=>a.Buf.fromRawBytesStr(e.replace(/(=[A-F0-9]{2})+/g,(e=>{const t=e.replace(/^=/,"").split("=").map((e=>parseInt(e,16)));return new a.Buf(t).toRawBytesStr()})));static getNodeAsAtt=e=>new s.Att({name:g.getNodeFilename(e),type:g.getNodeType(e),data:"quoted-printable"===e.contentTransferEncoding.value?g.fromEqualSignNotationAsBuf(e.rawContent??""):e.content,cid:g.getNodeContentId(e)});static getNodeContentAsUtfStr=e=>{if(e.charset&&d.labels.includes(e.charset))return d.decode(e.rawContent??"");let t;return t="utf-8"===e.charset&&"base64"===e.contentTransferEncoding.value?a.Buf.fromUint8(e.content):"utf-8"===e.charset&&"quoted-printable"===e.contentTransferEncoding.value?g.fromEqualSignNotationAsBuf(e.rawContent??""):a.Buf.fromRawBytesStr(e.rawContent??""),"ISO-2022-JP"===e.charset?.toUpperCase()||"utf-8"===e.charset&&g.getNodeType(e,"initial")?.includes("ISO-2022-JP")?(0,h.iso2022jpToUtf)(t):t.toUtfStr()};static newContentNode=(e,t,r)=>{const n=new e(t).setContent(r);return"text/plain"===t&&n.addHeader("Content-Transfer-Encoding","quoted-printable"),n}}t.Mime=g},4151:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},4211:(e,t,r)=>{"use strict";let n=r(3604),i=r(9577);const s=r(3717);let a=r(3303);r(6156);class o{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,r){let i;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let o=a;this.result=new s(this._processor,i,this._opts),this.result.css=t;let c=this;Object.defineProperty(this.result,"root",{get:()=>c.root});let u=new n(o,i,this._opts,t);if(u.isMap()){let[e,t]=u.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}e.exports=o,o.default=o},4437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=function(e){var t=c(h,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:o(r)};l(n,"id","id",r),l(n,"title","title",r);var i=null===(t=c("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var s=u("summary",r)||u("content",r);s&&(n.description=s);var a=u("updated",r);return a&&(n.pubDate=new Date(a)),n}))};l(n,"id","id",r),l(n,"title","title",r);var s=null===(t=c("link",r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),l(n,"description","subtitle",r);var a=u("updated",r);return a&&(n.updated=new Date(a)),l(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=c("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:o(t)};l(r,"id","guid",t),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t);var n=u("pubDate",t)||u("dc:date",t);return n&&(r.pubDate=new Date(n)),r}))};l(s,"title","title",n),l(s,"link","link",n),l(s,"description","description",n);var a=u("lastBuildDate",n);return a&&(s.updated=new Date(a)),l(s,"author","managingEditor",n,!0),s}(t):null};var n=r(6037),i=r(3209),s=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function o(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=s;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},4728:(e,t,r)=>{const n=r(8659),i=r(7151),{isPlainObject:s}=r(8682),a=r(4744),o=r(9466),{parse:c}=r(2895),u=["img","audio","video","picture","svg","object","map","iframe","embed"],l=["script","style"];function h(e,t){e&&Object.keys(e).forEach((function(r){t(e[r],r)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function p(e,t){const r=[];return h(e,(function(e){t(e)&&r.push(e)})),r}e.exports=g;const d=/^[^\0\t\n\f\r /<=>]+$/;function g(e,t,r){if(null==e)return"";"number"==typeof e&&(e=e.toString());let m="",w="";function b(e,t){const r=this;this.tag=e,this.attribs=t||{},this.tagPosition=m.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){D.length&&(D[D.length-1].text+=r.text)},this.updateParentNodeMediaChildren=function(){D.length&&u.includes(this.tag)&&D[D.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},y,t.parser);const A=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};l.forEach((function(e){A(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const v=t.nonTextTags||["script","style","textarea","option"];let E,k;t.allowedAttributes&&(E={},k={},h(t.allowedAttributes,(function(e,t){E[t]=[];const r=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):E[t].push(e)})),r.length&&(k[t]=new RegExp("^("+r.join("|")+")$"))})));const S={},I={},C={};h(t.allowedClasses,(function(e,t){if(E&&(f(E,t)||(E[t]=[]),E[t].push("class")),S[t]=e,Array.isArray(e)){const r=[];S[t]=[],C[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?C[t].push(e):S[t].push(e)})),r.length&&(I[t]=new RegExp("^("+r.join("|")+")$"))}}));const B={};let x,P,D,T,U,K,O;h(t.transformTags,(function(e,t){let r;"function"==typeof e?r=e:"string"==typeof e&&(r=g.simpleTransform(e)),"*"===t?x=r:B[t]=r}));let M=!1;N();const R=new n.Parser({onopentag:function(e,r){if(t.onOpenTag&&t.onOpenTag(e,r),t.enforceHtmlBoundary&&"html"===e&&N(),K)return void O++;const n=new b(e,r);D.push(n);let i=!1;const u=!!n.text;let l;if(f(B,e)&&(l=B[e](e,r),n.attribs=r=l.attribs,void 0!==l.text&&(n.innerText=l.text),e!==l.tagName&&(n.name=e=l.tagName,U[P]=l.tagName)),x&&(l=x(e,r),n.attribs=r=l.attribs,e!==l.tagName&&(n.name=e=l.tagName,U[P]=l.tagName)),(!A(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(T)||null!=t.nestingLimit&&P>=t.nestingLimit)&&(i=!0,T[P]=!0,"discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||-1!==v.indexOf(e)&&(K=!0,O=1)),P++,i){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode){if(n.innerText&&!u){const r=L(n.innerText);t.textFilter?m+=t.textFilter(r,e):m+=r,M=!0}return}w=m,m=""}m+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(n.innerText=""),i&&("escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode)&&t.preserveEscapedAttributes?h(r,(function(e,t){m+=" "+t+'="'+L(e||"",!0)+'"'})):(!E||f(E,e)||E["*"])&&h(r,(function(r,i){if(!d.test(i))return void delete n.attribs[i];if(""===r&&!t.allowedEmptyAttributes.includes(i)&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete n.attribs[i];let u=!1;if(!E||f(E,e)&&-1!==E[e].indexOf(i)||E["*"]&&-1!==E["*"].indexOf(i)||f(k,e)&&k[e].test(i)||k["*"]&&k["*"].test(i))u=!0;else if(E&&E[e])for(const t of E[e])if(s(t)&&t.name&&t.name===i){u=!0;let e="";if(!0===t.multiple){const n=r.split(" ");for(const r of n)-1!==t.values.indexOf(r)&&(""===e?e=r:e+=" "+r)}else t.values.indexOf(r)>=0&&(e=r);r=e}if(u){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&F(e,r))return void delete n.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const n=_(r);if(t.allowedScriptHostnames||t.allowedScriptDomains){const r=(t.allowedScriptHostnames||[]).find((function(e){return e===n.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)}));e=r||i}}catch(t){e=!1}if(!e)return void delete n.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{const n=_(r);if(n.isRelativeUrl)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const r=(t.allowedIframeHostnames||[]).find((function(e){return e===n.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)}));e=r||i}}catch(t){e=!1}if(!e)return void delete n.attribs[i]}if("srcset"===i)try{let e=o(r);if(e.forEach((function(e){F("srcset",e.url)&&(e.evil=!0)})),e=p(e,(function(e){return!e.evil})),!e.length)return void delete n.attribs[i];r=p(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),n.attribs[i]=r}catch(e){return void delete n.attribs[i]}if("class"===i){const t=S[e],s=S["*"],o=I[e],c=C[e],u=C["*"],f=[o,I["*"]].concat(c,u).filter((function(e){return e}));if(!(l=r,h=t&&s?a(t,s):t||s,g=f,r=h?(l=l.split(/\s+/)).filter((function(e){return-1!==h.indexOf(e)||g.some((function(t){return t.test(e)}))})).join(" "):l).length)return void delete n.attribs[i]}if("style"===i)if(t.parseStyleAttributes)try{if(r=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const r=e.nodes[0];let n;return n=t[r.selector]&&t["*"]?a(t[r.selector],t["*"]):t[r.selector]||t["*"],n&&(e.nodes[0].nodes=r.nodes.reduce(function(e){return function(t,r){return f(e,r.prop)&&e[r.prop].some((function(e){return e.test(r.value)}))&&t.push(r),t}}(n),[])),e}(c(e+" {"+r+"}",{map:!1}),t.allowedStyles)),0===r.length)return void delete n.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+r+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete n.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");m+=" "+i,r&&r.length?m+='="'+L(r,!0)+'"':t.allowedEmptyAttributes.includes(i)&&(m+='=""')}else delete n.attribs[i];var l,h,g})),-1!==t.selfClosing.indexOf(e)?m+=" />":(m+=">",!n.innerText||u||t.textFilter||(m+=L(n.innerText),M=!0)),i&&(m=w+L(m),w=""),n.openingTagLength=m.length-n.tagPosition},ontext:function(e){if(K)return;const r=D[D.length-1];let n;if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||A(n))if("discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||"script"!==n&&"style"!==n){if(!M){const r=L(e,!1);t.textFilter?m+=t.textFilter(r,n):m+=r}}else m+=e;else e="";D.length&&(D[D.length-1].text+=e)},onclosetag:function(e,r){if(t.onCloseTag&&t.onCloseTag(e,r),K){if(O--,O)return;K=!1}const n=D.pop();if(!n)return;if(n.tag!==e)return void D.push(n);K=!!t.enforceHtmlBoundary&&"html"===e,P--;const i=T[P];if(i){if(delete T[P],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void n.updateParentNodeText();w=m,m=""}if(U[P]&&(e=U[P],delete U[P]),t.exclusiveFilter){const e=t.exclusiveFilter(n);if("excludeTag"===e)return i&&(m=w,w=""),void(m=m.substring(0,n.tagPosition)+m.substring(n.tagPosition+n.openingTagLength));if(e)return void(m=m.substring(0,n.tagPosition))}n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||r&&!A(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(m=w,w=""):(m+="",i&&(m=w+L(m),w=""),M=!1)}},t.parser);return R.write(e),R.end(),m;function N(){m="",P=0,D=[],T={},U={},K=!1,O=0}function L(e,r){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(//g,">"),r&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),r&&(e=e.replace(/"/g,""")),e}function F(e,r){for(r=r.replace(/[\x00-\x20]+/g,"");;){const e=r.indexOf("\x3c!--");if(-1===e)break;const t=r.indexOf("--\x3e",e+4);if(-1===t)break;r=r.substring(0,e)+r.substring(t+3)}const n=r.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!n)return!!r.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=n[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function _(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const r=new URL(e,t);return{isRelativeUrl:r&&"relative-site"===r.hostname&&"relative:"===r.protocol,url:r}}}const y={decodeEntities:!0};g.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},g.simpleTransform=function(e,t,r){return r=void 0===r||r,t=t||{},function(n,i){let s;if(r)for(s in t)i[s]=t[s];else i=t;return{tagName:e,attribs:i}}}},4744:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function o(e,r,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=n;var u=Array.isArray(r);return u===Array.isArray(e)?u?c.arrayMerge(e,r,c):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(a(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return o;var r=t.customMerge(e);return"function"==typeof r?r:o}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,c):n(r,c)}o.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return o(e,r,t)}),{})};var c=o;e.exports=c},4992:e=>{e.exports={15711649:33,15711650:34,15711651:35,15711652:36,15711653:37,15711654:38,15711655:39,15711656:40,15711657:41,15711658:42,15711659:43,15711660:44,15711661:45,15711662:46,15711663:47,15711664:48,15711665:49,15711666:50,15711667:51,15711668:52,15711669:53,15711670:54,15711671:55,15711672:56,15711673:57,15711674:58,15711675:59,15711676:60,15711677:61,15711678:62,15711679:63,15711872:64,15711873:65,15711874:66,15711875:67,15711876:68,15711877:69,15711878:70,15711879:71,15711880:72,15711881:73,15711882:74,15711883:75,15711884:76,15711885:77,15711886:78,15711887:79,15711888:80,15711889:81,15711890:82,15711891:83,15711892:84,15711893:85,15711894:86,15711895:87,15711896:88,15711897:89,15711898:90,15711899:91,15711900:92,15711901:93,15711902:94,15711903:95,14848416:11553,14848417:11554,14848418:11555,14848419:11556,14848420:11557,14848421:11558,14848422:11559,14848423:11560,14848424:11561,14848425:11562,14848426:11563,14848427:11564,14848428:11565,14848429:11566,14848430:11567,14848431:11568,14848432:11569,14848433:11570,14848434:11571,14848435:11572,14845344:11573,14845345:11574,14845346:11575,14845347:11576,14845348:11577,14845349:11578,14845350:11579,14845351:11580,14845352:11581,14845353:11582,14912905:11584,14912660:11585,14912674:11586,14912909:11587,14912664:11588,14912679:11589,14912643:11590,14912694:11591,14912913:11592,14912919:11593,14912653:11594,14912678:11595,14912675:11596,14912683:11597,14912906:11598,14912699:11599,14913180:11600,14913181:11601,14913182:11602,14913166:11603,14913167:11604,14913412:11605,14913185:11606,14912955:11615,14909597:11616,14909599:11617,14845078:11618,14913421:11619,14845089:11620,14912164:11621,14912165:11622,14912166:11623,14912167:11624,14912168:11625,14911665:11626,14911666:11627,14911673:11628,14912958:11629,14912957:11630,14912956:11631,14846126:11635,14846097:11636,14846111:11640,14846655:11641,14909568:8481,14909569:8482,14909570:8483,15711372:8484,15711374:8485,14910395:8486,15711386:8487,15711387:8488,15711391:8489,15711361:8490,14910107:8491,14910108:8492,49844:8493,15711616:8494,49832:8495,15711422:8496,15712163:8497,15711423:8498,14910397:8499,14910398:8500,14910109:8501,14910110:8502,14909571:8503,14990237:8504,14909573:8505,14909574:8506,14909575:8507,14910396:8508,14844053:8509,14844048:8510,15711375:8511,15711420:8512,15711646:8513,14844054:8514,15711644:8515,14844070:8516,14844069:8517,14844056:8518,14844057:8519,14844060:8520,14844061:8521,15711368:8522,15711369:8523,14909588:8524,14909589:8525,15711419:8526,15711421:8527,15711643:8528,15711645:8529,14909576:8530,14909577:8531,14909578:8532,14909579:8533,14909580:8534,14909581:8535,14909582:8536,14909583:8537,14909584:8538,14909585:8539,15711371:8540,15711373:8541,49841:8542,50071:8543,50103:8544,15711389:8545,14846368:8546,15711388:8547,15711390:8548,14846374:8549,14846375:8550,14846110:8551,14846132:8552,14850434:8553,14850432:8554,49840:8555,14844082:8556,14844083:8557,14845059:8558,15712165:8559,15711364:8560,15712160:8561,15712161:8562,15711365:8563,15711363:8564,15711366:8565,15711370:8566,15711392:8567,49831:8568,14850182:8569,14850181:8570,14849931:8571,14849935:8572,14849934:8573,14849927:8574,14849926:8737,14849697:8738,14849696:8739,14849715:8740,14849714:8741,14849725:8742,14849724:8743,14844091:8744,14909586:8745,14845586:8746,14845584:8747,14845585:8748,14845587:8749,14909587:8750,14846088:8762,14846091:8763,14846598:8764,14846599:8765,14846594:8766,14846595:8767,14846122:8768,14846121:8769,14846119:8778,14846120:8779,49836:8780,14845842:8781,14845844:8782,14846080:8783,14846083:8784,14846112:8796,14846629:8797,14847122:8798,14846082:8799,14846087:8800,14846369:8801,14846354:8802,14846378:8803,14846379:8804,14846106:8805,14846141:8806,14846109:8807,14846133:8808,14846123:8809,14846124:8810,14845099:8818,14844080:8819,14850479:8820,14850477:8821,14850474:8822,14844064:8823,14844065:8824,49846:8825,14849967:8830,15711376:9008,15711377:9009,15711378:9010,15711379:9011,15711380:9012,15711381:9013,15711382:9014,15711383:9015,15711384:9016,15711385:9017,15711393:9025,15711394:9026,15711395:9027,15711396:9028,15711397:9029,15711398:9030,15711399:9031,15711400:9032,15711401:9033,15711402:9034,15711403:9035,15711404:9036,15711405:9037,15711406:9038,15711407:9039,15711408:9040,15711409:9041,15711410:9042,15711411:9043,15711412:9044,15711413:9045,15711414:9046,15711415:9047,15711416:9048,15711417:9049,15711418:9050,15711617:9057,15711618:9058,15711619:9059,15711620:9060,15711621:9061,15711622:9062,15711623:9063,15711624:9064,15711625:9065,15711626:9066,15711627:9067,15711628:9068,15711629:9069,15711630:9070,15711631:9071,15711632:9072,15711633:9073,15711634:9074,15711635:9075,15711636:9076,15711637:9077,15711638:9078,15711639:9079,15711640:9080,15711641:9081,15711642:9082,14909825:9249,14909826:9250,14909827:9251,14909828:9252,14909829:9253,14909830:9254,14909831:9255,14909832:9256,14909833:9257,14909834:9258,14909835:9259,14909836:9260,14909837:9261,14909838:9262,14909839:9263,14909840:9264,14909841:9265,14909842:9266,14909843:9267,14909844:9268,14909845:9269,14909846:9270,14909847:9271,14909848:9272,14909849:9273,14909850:9274,14909851:9275,14909852:9276,14909853:9277,14909854:9278,14909855:9279,14909856:9280,14909857:9281,14909858:9282,14909859:9283,14909860:9284,14909861:9285,14909862:9286,14909863:9287,14909864:9288,14909865:9289,14909866:9290,14909867:9291,14909868:9292,14909869:9293,14909870:9294,14909871:9295,14909872:9296,14909873:9297,14909874:9298,14909875:9299,14909876:9300,14909877:9301,14909878:9302,14909879:9303,14909880:9304,14909881:9305,14909882:9306,14909883:9307,14909884:9308,14909885:9309,14909886:9310,14909887:9311,14910080:9312,14910081:9313,14910082:9314,14910083:9315,14910084:9316,14910085:9317,14910086:9318,14910087:9319,14910088:9320,14910089:9321,14910090:9322,14910091:9323,14910092:9324,14910093:9325,14910094:9326,14910095:9327,14910096:9328,14910097:9329,14910098:9330,14910099:9331,14910113:9505,14910114:9506,14910115:9507,14910116:9508,14910117:9509,14910118:9510,14910119:9511,14910120:9512,14910121:9513,14910122:9514,14910123:9515,14910124:9516,14910125:9517,14910126:9518,14910127:9519,14910128:9520,14910129:9521,14910130:9522,14910131:9523,14910132:9524,14910133:9525,14910134:9526,14910135:9527,14910136:9528,14910137:9529,14910138:9530,14910139:9531,14910140:9532,14910141:9533,14910142:9534,14910143:9535,14910336:9536,14910337:9537,14910338:9538,14910339:9539,14910340:9540,14910341:9541,14910342:9542,14910343:9543,14910344:9544,14910345:9545,14910346:9546,14910347:9547,14910348:9548,14910349:9549,14910350:9550,14910351:9551,14910352:9552,14910353:9553,14910354:9554,14910355:9555,14910356:9556,14910357:9557,14910358:9558,14910359:9559,14910360:9560,14910361:9561,14910362:9562,14910363:9563,14910364:9564,14910365:9565,14910366:9566,14910367:9567,14910368:9568,14910369:9569,14910370:9570,14910371:9571,14910372:9572,14910373:9573,14910374:9574,14910375:9575,14910376:9576,14910377:9577,14910378:9578,14910379:9579,14910380:9580,14910381:9581,14910382:9582,14910383:9583,14910384:9584,14910385:9585,14910386:9586,14910387:9587,14910388:9588,14910389:9589,14910390:9590,52881:9761,52882:9762,52883:9763,52884:9764,52885:9765,52886:9766,52887:9767,52888:9768,52889:9769,52890:9770,52891:9771,52892:9772,52893:9773,52894:9774,52895:9775,52896:9776,52897:9777,52899:9778,52900:9779,52901:9780,52902:9781,52903:9782,52904:9783,52905:9784,52913:9793,52914:9794,52915:9795,52916:9796,52917:9797,52918:9798,52919:9799,52920:9800,52921:9801,52922:9802,52923:9803,52924:9804,52925:9805,52926:9806,52927:9807,53120:9808,53121:9809,53123:9810,53124:9811,53125:9812,53126:9813,53127:9814,53128:9815,53129:9816,53392:10017,53393:10018,53394:10019,53395:10020,53396:10021,53397:10022,53377:10023,53398:10024,53399:10025,53400:10026,53401:10027,53402:10028,53403:10029,53404:10030,53405:10031,53406:10032,53407:10033,53408:10034,53409:10035,53410:10036,53411:10037,53412:10038,53413:10039,53414:10040,53415:10041,53416:10042,53417:10043,53418:10044,53419:10045,53420:10046,53421:10047,53422:10048,53423:10049,53424:10065,53425:10066,53426:10067,53427:10068,53428:10069,53429:10070,53649:10071,53430:10072,53431:10073,53432:10074,53433:10075,53434:10076,53435:10077,53436:10078,53437:10079,53438:10080,53439:10081,53632:10082,53633:10083,53634:10084,53635:10085,53636:10086,53637:10087,53638:10088,53639:10089,53640:10090,53641:10091,53642:10092,53643:10093,53644:10094,53645:10095,53646:10096,53647:10097,14849152:10273,14849154:10274,14849164:10275,14849168:10276,14849176:10277,14849172:10278,14849180:10279,14849196:10280,14849188:10281,14849204:10282,14849212:10283,14849153:10284,14849155:10285,14849167:10286,14849171:10287,14849179:10288,14849175:10289,14849187:10290,14849203:10291,14849195:10292,14849211:10293,14849419:10294,14849184:10295,14849199:10296,14849192:10297,14849207:10298,14849215:10299,14849181:10300,14849200:10301,14849189:10302,14849208:10303,14849410:10304,14989980:12321,15045782:12322,15050883:12323,15308991:12324,15045504:12325,15107227:12326,15109288:12327,15050678:12328,15302818:12329,15241653:12330,15240348:12331,15182224:12332,15106730:12333,15110049:12334,15120549:12335,15112109:12336,15241638:12337,15239846:12338,15314869:12339,15114899:12340,15047847:12341,15111841:12342,15108529:12343,15052443:12344,15050640:12345,15243707:12346,15311796:12347,15185314:12348,15185598:12349,15314574:12350,15108246:12351,15184543:12352,15246007:12353,15052425:12354,15055541:12355,15109257:12356,15112855:12357,15114632:12358,15308679:12359,15310477:12360,15113615:12361,14990245:12362,14990474:12363,14990733:12364,14991005:12365,15040905:12366,15047602:12367,15049911:12368,15050644:12369,15050881:12370,15052937:12371,15106975:12372,15107215:12373,15107504:12374,15112339:12375,15115397:12376,15172282:12377,15177103:12378,15177136:12379,15181755:12380,15185581:12381,15185839:12382,15238019:12383,15241358:12384,15245731:12385,15248514:12386,15303061:12387,15303098:12388,15043771:12389,14989973:12390,14989989:12391,15048607:12392,15237810:12393,15303553:12394,15180719:12395,14989440:12396,15049649:12397,15121058:12398,15302840:12399,15182002:12400,15240360:12401,15239819:12402,15315119:12403,15041921:12404,15044016:12405,15045309:12406,15045537:12407,15047584:12408,15050683:12409,15056021:12410,15311794:12411,15120299:12412,15238052:12413,15242413:12414,15309218:12577,15309232:12578,15309472:12579,15310779:12580,15044747:12581,15044531:12582,15052423:12583,15172495:12584,15187645:12585,15253378:12586,15309736:12587,15044015:12588,15316380:12589,15182522:12590,14989457:12591,15180435:12592,15239100:12593,15120550:12594,15046808:12595,15045764:12596,15117469:12597,15242394:12598,15315131:12599,15050661:12600,15044265:12601,15119782:12602,15176604:12603,15308431:12604,15047042:12605,14989969:12606,15303051:12607,15309746:12608,15240591:12609,15312012:12610,15044513:12611,15046326:12612,15051952:12613,15056305:12614,15112352:12615,15113139:12616,15114372:12617,15118520:12618,15119283:12619,15119529:12620,15176091:12621,15178632:12622,15182222:12623,15311028:12624,15240113:12625,15245723:12626,15247776:12627,15305645:12628,15120050:12629,15177387:12630,15178634:12631,15312773:12632,15106726:12633,15248513:12634,15251082:12635,15308466:12636,15115918:12637,15044269:12638,15042182:12639,15047826:12640,15048880:12641,15050116:12642,15052468:12643,15055798:12644,15106216:12645,15109801:12646,15110068:12647,15119039:12648,15121556:12649,15172238:12650,15172756:12651,15173017:12652,15173525:12653,15174847:12654,15186049:12655,15239606:12656,15240081:12657,15242903:12658,15303072:12659,15305115:12660,15316123:12661,15049129:12662,15111868:12663,15118746:12664,15176869:12665,15042489:12666,15049902:12667,15050149:12668,15056512:12669,15056796:12670,15108796:12833,15112122:12834,15116458:12835,15117479:12836,15118004:12837,15175307:12838,15187841:12839,15246742:12840,15316140:12841,15316110:12842,15317892:12843,15053473:12844,15118998:12845,15240635:12846,15041668:12847,15053195:12848,15107766:12849,15239046:12850,15114678:12851,15174049:12852,14989721:12853,14991290:12854,15044024:12855,15106473:12856,15120553:12857,15182223:12858,15310771:12859,14989451:12860,15043734:12861,14990254:12862,14990741:12863,14990525:12864,14991009:12865,14990771:12866,15043232:12867,15044527:12868,15046793:12869,15049871:12870,15051649:12871,15052470:12872,15052705:12873,15181713:12874,15112839:12875,15113884:12876,15113910:12877,15117708:12878,15119027:12879,15172011:12880,15175554:12881,15181453:12882,15181502:12883,15182012:12884,15183495:12885,15239857:12886,15240091:12887,15240324:12888,15240631:12889,15241135:12890,15241107:12891,15244710:12892,15248050:12893,15046825:12894,15250088:12895,15253414:12896,15303054:12897,15309982:12898,15243914:12899,14991236:12900,15053736:12901,15108241:12902,15174041:12903,15176891:12904,15239077:12905,15239869:12906,15244222:12907,15250304:12908,15309701:12909,15312019:12910,15312789:12911,14990219:12912,14990490:12913,15247267:12914,15047582:12915,15049098:12916,15049610:12917,15055803:12918,15056811:12919,15106218:12920,15106708:12921,15106466:12922,15107984:12923,15108242:12924,15109008:12925,15111353:12926,15314305:13089,15112614:13090,15114928:13091,15119799:13092,15172016:13093,15177100:13094,15178374:13095,15185333:13096,15239845:13097,15245241:13098,15308427:13099,15309454:13100,15250077:13101,15042481:13102,15043262:13103,15049878:13104,15045299:13105,15052467:13106,15053974:13107,15107496:13108,15115906:13109,15120047:13110,15180429:13111,15242123:13112,15245719:13113,15247794:13114,15306407:13115,15313592:13116,15119788:13117,15312552:13118,15244185:13119,15048355:13120,15114175:13121,15244174:13122,15304846:13123,15043203:13124,15047303:13125,15044740:13126,15055763:13127,15109025:13128,15110841:13129,15114428:13130,15114424:13131,15118011:13132,15175090:13133,15180474:13134,15182251:13135,15247002:13136,15247250:13137,15250859:13138,15252611:13139,15303597:13140,15308451:13141,15309460:13142,15310249:13143,15052198:13144,15053491:13145,15115709:13146,15311245:13147,15311246:13148,15109787:13149,15183008:13150,15116459:13151,15116735:13152,15114934:13153,15315085:13154,15121823:13155,15042994:13156,15046301:13157,15106480:13158,15109036:13159,15119547:13160,15120519:13161,15121297:13162,15241627:13163,15246480:13164,15252868:13165,14989460:13166,15315129:13167,15044534:13168,15115419:13169,15116474:13170,15310468:13171,15114410:13172,15041948:13173,15182723:13174,15241906:13175,15304604:13176,15306380:13177,15047067:13178,15316136:13179,15114402:13180,15240325:13181,15241393:13182,15184549:13345,15042696:13346,15240069:13347,15176614:13348,14989758:13349,14990979:13350,15042208:13351,15052690:13352,15042698:13353,15043480:13354,15043495:13355,15054779:13356,15046298:13357,15048874:13358,15050662:13359,15052428:13360,15052440:13361,15052699:13362,15055282:13363,15055289:13364,15106723:13365,15107231:13366,15107491:13367,15107774:13368,15110043:13369,15111586:13370,15114129:13371,15114643:13372,15115194:13373,15117502:13374,15117715:13375,15118743:13376,15121570:13377,15122071:13378,15121797:13379,15176368:13380,15176856:13381,15178659:13382,15178891:13383,15182783:13384,15183521:13385,15184033:13386,15185833:13387,15187126:13388,15187888:13389,15237789:13390,15239590:13391,15240862:13392,15247027:13393,15248268:13394,15250091:13395,15303300:13396,15307153:13397,15308435:13398,15308433:13399,15308450:13400,15309221:13401,15310739:13402,15312040:13403,15239320:13404,14989496:13405,15044779:13406,15053496:13407,15054732:13408,15175337:13409,15178124:13410,15178940:13411,15053481:13412,15187883:13413,15250571:13414,15309697:13415,15310993:13416,15311252:13417,15311256:13418,14990465:13419,14990478:13420,15044017:13421,15046300:13422,15047080:13423,15048634:13424,15050119:13425,15051913:13426,15052676:13427,15053456:13428,15054988:13429,15055294:13430,15056780:13431,15110062:13432,15113402:13433,15112087:13434,15112098:13435,15113375:13436,15115147:13437,15115140:13438,15116703:13601,15055024:13602,15118213:13603,15118487:13604,15118781:13605,15177151:13606,15181192:13607,15052195:13608,15181952:13609,15185024:13610,15056573:13611,15246991:13612,15247512:13613,15250100:13614,15250871:13615,15252364:13616,15252637:13617,15311778:13618,15313038:13619,15314108:13620,14989952:13621,15040957:13622,15041664:13623,15050387:13624,15052444:13625,15108271:13626,15108736:13627,15111084:13628,15117498:13629,15174304:13630,15177361:13631,15181191:13632,15187625:13633,15245243:13634,15248060:13635,15248816:13636,15109804:13637,15241098:13638,15310496:13639,15044745:13640,15044739:13641,15046315:13642,15114644:13643,15116696:13644,15247792:13645,15179943:13646,15113653:13647,15317901:13648,15044020:13649,15052450:13650,15238298:13651,15243664:13652,15302790:13653,14989464:13654,14989701:13655,14990215:13656,14990481:13657,15044490:13658,15044792:13659,15052462:13660,15056019:13661,15106213:13662,15111569:13663,15113405:13664,15118722:13665,15118770:13666,15119267:13667,15172024:13668,15175811:13669,15182262:13670,15182510:13671,15182984:13672,15185050:13673,15184830:13674,15185318:13675,15112103:13676,15174043:13677,15044283:13678,15053189:13679,15054760:13680,15109010:13681,15109024:13682,15109273:13683,15120544:13684,15243674:13685,15247537:13686,15251357:13687,15305656:13688,15121537:13689,15181478:13690,15314330:13691,14989992:13692,14989995:13693,14989996:13694,14991003:13857,14991008:13858,15041425:13859,15041927:13860,15182774:13861,15041969:13862,15042486:13863,15043988:13864,15043745:13865,15044031:13866,15044523:13867,15046316:13868,15049347:13869,15053729:13870,15056055:13871,15056266:13872,15106223:13873,15106448:13874,15106477:13875,15109279:13876,15111577:13877,15116683:13878,15119233:13879,15174530:13880,15174573:13881,15179695:13882,15238072:13883,15238277:13884,15239304:13885,15242638:13886,15303607:13887,15306657:13888,15310783:13889,15312279:13890,15313306:13891,14990256:13892,15042461:13893,15052973:13894,15112833:13895,15115693:13896,15053184:13897,15113138:13898,15115701:13899,15175305:13900,15114640:13901,15184513:13902,15041413:13903,15043492:13904,15048071:13905,15054782:13906,15305894:13907,15111844:13908,15117475:13909,15117501:13910,15175860:13911,15181441:13912,15181501:13913,15183243:13914,15185802:13915,15239865:13916,15241100:13917,15245759:13918,15246751:13919,15248569:13920,15253393:13921,15304593:13922,15044767:13923,15305344:13924,14989725:13925,15040694:13926,15044517:13927,15043770:13928,15174551:13929,15175318:13930,15179689:13931,15240102:13932,15252143:13933,15312774:13934,15312776:13935,15312786:13936,15041975:13937,15107226:13938,15243678:13939,15046320:13940,15182266:13941,15040950:13942,15052691:13943,15303047:13944,15309445:13945,14989490:13946,15117211:13947,15304615:13948,15053201:13949,15053192:13950,15109784:14113,15182495:14114,15118995:14115,15310260:14116,15252897:14117,15182506:14118,15173258:14119,15309448:14120,15184514:14121,15114391:14122,15186352:14123,15114641:14124,15306156:14125,15043506:14126,15044763:14127,15242923:14128,15247507:14129,15187620:14130,15252365:14131,15303585:14132,15044006:14133,15245960:14134,15181185:14135,14991234:14136,15041214:14137,15042705:14138,15041924:14139,15046035:14140,15047853:14141,15175594:14142,15048331:14143,15050129:14144,15056290:14145,15056516:14146,15106485:14147,15107510:14148,15107495:14149,15107753:14150,15109810:14151,15110330:14152,15111596:14153,15112623:14154,15114626:14155,15120531:14156,15177126:14157,15182013:14158,15184827:14159,15185292:14160,15185561:14161,15186315:14162,15187371:14163,15240334:14164,15240586:14165,15244173:14166,15247496:14167,15247779:14168,15248806:14169,15252413:14170,15311002:14171,15316623:14172,15239864:14173,15253390:14174,15314856:14175,15043207:14176,15108255:14177,15110787:14178,15122304:14179,15309465:14180,15114625:14181,15041169:14182,15117472:14183,15118778:14184,15121812:14185,15182260:14186,15185296:14187,15245696:14188,15247523:14189,15113352:14190,14990262:14191,15040697:14192,15040678:14193,15040933:14194,15041980:14195,15042744:14196,15042979:14197,15046311:14198,15047823:14199,15048837:14200,15051660:14201,15055802:14202,15107762:14203,15108024:14204,15109043:14205,15109554:14206,15115420:14369,15116457:14370,15174077:14371,15174316:14372,15174830:14373,15179924:14374,15180207:14375,15185337:14376,15178892:14377,15237801:14378,15246987:14379,15248537:14380,15250338:14381,15252370:14382,15303075:14383,15306165:14384,15309242:14385,15311253:14386,15313043:14387,15317432:14388,15041923:14389,15044255:14390,15044275:14391,15055291:14392,15056038:14393,15120539:14394,15121040:14395,15175300:14396,15175614:14397,15185283:14398,15239351:14399,15247488:14400,15248314:14401,15309200:14402,14989710:14403,15040651:14404,15044516:14405,15045052:14406,15047610:14407,15050641:14408,15052196:14409,15054769:14410,15055531:14411,15056039:14412,15108280:14413,15111557:14414,15113903:14415,15120790:14416,15174544:14417,15184778:14418,15246004:14419,15237793:14420,15238049:14421,15241136:14422,15243662:14423,15248007:14424,15251368:14425,15304887:14426,15309703:14427,15311271:14428,15318163:14429,14989972:14430,14989970:14431,14990477:14432,15043976:14433,15045001:14434,15044798:14435,15050927:14436,15056524:14437,15056545:14438,15106719:14439,15114919:14440,15116942:14441,15176090:14442,15180417:14443,15248030:14444,15248036:14445,15248823:14446,15304336:14447,14989726:14448,15314825:14449,14989988:14450,14990780:14451,14991023:14452,15040665:14453,15040662:14454,15041929:14455,15041964:14456,15043231:14457,15043257:14458,15043518:14459,15044250:14460,15044515:14461,15044753:14462,15044750:14625,15046281:14626,15048081:14627,15048354:14628,15050173:14629,15052180:14630,15052189:14631,15052431:14632,15054757:14633,15054759:14634,15054775:14635,15055288:14636,15055491:14637,15055514:14638,15055543:14639,15056024:14640,15106450:14641,15107468:14642,15108759:14643,15109016:14644,15109799:14645,15111355:14646,15112322:14647,15112579:14648,15113140:14649,15113645:14650,15114401:14651,15114903:14652,15116171:14653,15118751:14654,15119530:14655,15119785:14656,15120559:14657,15121053:14658,15176882:14659,15178375:14660,15180204:14661,15182015:14662,15184800:14663,15185029:14664,15185048:14665,15185310:14666,15185585:14667,15237269:14668,15237251:14669,15237807:14670,15237809:14671,15238548:14672,15238799:14673,15239338:14674,15240594:14675,15245708:14676,15245729:14677,15248539:14678,15250082:14679,15250364:14680,15303562:14681,15304117:14682,15305137:14683,15179967:14684,15305660:14685,15308452:14686,15309197:14687,15310981:14688,15312537:14689,15313816:14690,15316155:14691,15042971:14692,15043243:14693,15044535:14694,15044744:14695,15049621:14696,15109047:14697,15122336:14698,15249834:14699,15252895:14700,15317689:14701,15041931:14702,15042747:14703,15045002:14704,15047613:14705,15182208:14706,15304119:14707,15316384:14708,15317906:14709,15175044:14710,15121545:14711,15238576:14712,15176849:14713,15056829:14714,15106970:14715,15313576:14716,15174555:14717,15253180:14718,15117732:14881,15310979:14882,14990218:14883,15047600:14884,15048100:14885,15049406:14886,15051162:14887,15106472:14888,15107975:14889,15112335:14890,15112326:14891,15114425:14892,15114929:14893,15120311:14894,15177621:14895,15185082:14896,15239598:14897,15314306:14898,14989979:14899,14990736:14900,15044489:14901,15045766:14902,15054255:14903,15054758:14904,15054766:14905,15114171:14906,15119001:14907,15176115:14908,15179906:14909,15247760:14910,15306390:14911,15246239:14912,15048080:14913,15055527:14914,15109291:14915,15041205:14916,15041196:14917,15042189:14918,15113344:14919,15045513:14920,15049118:14921,15050427:14922,15052464:14923,15056297:14924,15108493:14925,15109793:14926,15114429:14927,15117747:14928,15120520:14929,15172029:14930,15304583:14931,15174272:14932,15179925:14933,15179942:14934,15181229:14935,15111822:14936,15185072:14937,15241116:14938,15246209:14939,15252617:14940,15309467:14941,15042980:14942,15047848:14943,15113616:14944,15187370:14945,15250081:14946,15042228:14947,15048066:14948,15308970:14949,15048890:14950,15115914:14951,15237812:14952,15045298:14953,15053966:14954,15048636:14955,15180437:14956,15316922:14957,14990748:14958,15042954:14959,15045259:14960,15110334:14961,15112360:14962,15113364:14963,15114165:14964,15182468:14965,15183254:14966,15185058:14967,15305903:14968,15114652:14969,15314605:14970,15183033:14971,15043737:14972,15042186:14973,15042743:14974,15052703:15137,15109046:15138,15110830:15139,15111078:15140,15113389:15141,15118010:15142,15242921:15143,15309713:15144,15178384:15145,15314838:15146,15109516:15147,15305862:15148,15314603:15149,15178431:15150,15112594:15151,14989449:15152,15041176:15153,15044482:15154,15053233:15155,15106984:15156,15110802:15157,15111587:15158,15114655:15159,15173542:15160,15175562:15161,15176867:15162,15183511:15163,15186562:15164,15243925:15165,15249027:15166,15250331:15167,15304120:15168,15312016:15169,15111852:15170,15112875:15171,15117963:15172,14990229:15173,14990228:15174,14990522:15175,14990783:15176,15042746:15177,15044536:15178,15044530:15179,15046563:15180,15047579:15181,15049643:15182,15050635:15183,15050633:15184,15050687:15185,15052176:15186,15053197:15187,15054978:15188,15055019:15189,15056791:15190,15106205:15191,15109255:15192,15111343:15193,15052188:15194,15111855:15195,15111869:15196,15112104:15197,15113885:15198,15117730:15199,15117755:15200,15118479:15201,15175045:15202,15181193:15203,15181697:15204,15184824:15205,15185049:15206,15185067:15207,15237794:15208,15238274:15209,15239091:15210,15246998:15211,15247774:15212,15247785:15213,15247782:15214,15248012:15215,15248302:15216,15250311:15217,15250332:15218,15309708:15219,15311804:15220,15117743:15221,14989963:15222,14990524:15223,14990989:15224,15041936:15225,15052183:15226,15052730:15227,15107464:15228,15109249:15229,15112578:15230,15117473:15393,15121291:15394,15119035:15395,15173822:15396,15176381:15397,15177620:15398,15180673:15399,15180986:15400,15237260:15401,15237299:15402,15239082:15403,15241876:15404,15253150:15405,15118736:15406,15317439:15407,15056015:15408,15248792:15409,15316139:15410,15182778:15411,15252408:15412,15052429:15413,15309739:15414,14989443:15415,15044529:15416,15048631:15417,15049905:15418,15051657:15419,15052452:15420,15106697:15421,15120831:15422,15121542:15423,15177406:15424,15250346:15425,15052447:15426,15242368:15427,15183776:15428,15040946:15429,15114164:15430,15239837:15431,15053217:15432,15242634:15433,15186078:15434,15239310:15435,15042201:15436,15052932:15437,15109544:15438,15250854:15439,15111836:15440,15173038:15441,15180990:15442,15185047:15443,15237253:15444,15248541:15445,15252362:15446,15303086:15447,15244167:15448,15303338:15449,15040671:15450,15043514:15451,15052986:15452,15113619:15453,15172028:15454,15173813:15455,15304076:15456,15304584:15457,15305899:15458,15240101:15459,15052674:15460,15056049:15461,15107001:15462,14989499:15463,15044502:15464,15052424:15465,15108491:15466,15113393:15467,15117962:15468,15174569:15469,15175584:15470,15181998:15471,15238571:15472,15251107:15473,15304082:15474,15312534:15475,15041682:15476,15044503:15477,15045034:15478,15052735:15479,15109768:15480,15116473:15481,15185580:15482,15309952:15483,15047578:15484,15044494:15485,15045032:15486,15052439:15649,15052977:15650,15054750:15651,14991278:15652,15107201:15653,15109054:15654,15119538:15655,15181696:15656,15181707:15657,15185282:15658,15186317:15659,15187858:15660,15239085:15661,15239327:15662,15241872:15663,15245702:15664,15246770:15665,15249040:15666,15251892:15667,15252655:15668,15302833:15669,15304075:15670,15304108:15671,15309702:15672,15304348:15673,14990208:15674,14990735:15675,15041925:15676,15043969:15677,15056531:15678,15108238:15679,15114132:15680,15118721:15681,15120523:15682,15175075:15683,15186086:15684,15304589:15685,15305347:15686,15044500:15687,15049881:15688,15052479:15689,15120273:15690,15181213:15691,15186094:15692,15184539:15693,15049150:15694,15173279:15695,15042490:15696,15245715:15697,15253424:15698,14991242:15699,15053755:15700,15112357:15701,15179436:15702,15182755:15703,15239324:15704,15312831:15705,15042438:15706,15056554:15707,15112108:15708,15115695:15709,15117961:15710,15120307:15711,15121046:15712,15121828:15713,15178686:15714,15185044:15715,15054753:15716,15303093:15717,15304327:15718,15310982:15719,15042470:15720,15042717:15721,15108480:15722,15112849:15723,15113113:15724,15120538:15725,15055542:15726,15185810:15727,15187378:15728,15113144:15729,15242927:15730,15243191:15731,15248312:15732,15043241:15733,15044505:15734,15050163:15735,15055503:15736,15056528:15737,15106453:15738,15305636:15739,15309220:15740,15041207:15741,15041695:15742,15043485:15905,15043744:15906,15043975:15907,15044524:15908,15045544:15909,15046022:15910,15045809:15911,15046807:15912,15050152:15913,15050430:15914,15050940:15915,15052469:15916,15052934:15917,15052943:15918,15052945:15919,15052954:15920,15055492:15921,15055498:15922,15055776:15923,15056304:15924,15108543:15925,15108740:15926,15109019:15927,15109772:15928,15109559:15929,15112327:15930,15112332:15931,15112365:15932,15112630:15933,15113662:15934,15114914:15935,15116447:15936,15116469:15937,15119036:15938,15120008:15939,15120521:15940,15120792:15941,15172796:15942,15172774:15943,15173031:15944,15177607:15945,15178881:15946,15180189:15947,15180929:15948,15181221:15949,15181744:15950,15182752:15951,15182993:15952,15184551:15953,15185081:15954,15237782:15955,15241110:15956,15241867:15957,15242633:15958,15245725:15959,15246259:15960,15247519:15961,15247548:15962,15247764:15963,15247795:15964,15249825:15965,15250334:15966,15304356:15967,15305126:15968,15306174:15969,15306904:15970,15309468:15971,15310488:15972,14989450:15973,14989448:15974,14989470:15975,14989719:15976,15042199:15977,15042992:15978,15048590:15979,15048884:15980,15049612:15981,15051938:15982,15055032:15983,15106949:15984,15111102:15985,15113633:15986,15113622:15987,15119748:15988,15174326:15989,15177139:15990,15182243:15991,15241912:15992,15248818:15993,15304376:15994,15305888:15995,15046833:15996,15048628:15997,15311806:15998,15109037:16161,15115405:16162,15117974:16163,15173549:16164,15186324:16165,15237559:16166,15239602:16167,15247270:16168,15311775:16169,15244693:16170,15253169:16171,15052987:16172,14990520:16173,14991265:16174,14991029:16175,15045767:16176,15050912:16177,15052701:16178,15052713:16179,15056771:16180,15107470:16181,15109295:16182,15111856:16183,15112587:16184,15115182:16185,15115931:16186,15119800:16187,15120305:16188,15176883:16189,15177401:16190,15178911:16191,15181214:16192,15181734:16193,15185075:16194,15239075:16195,15239855:16196,15242922:16197,15247018:16198,15247546:16199,15252139:16200,15253147:16201,15302834:16202,15304605:16203,15309959:16204,14990010:16205,14990209:16206,15042691:16207,15049141:16208,15049644:16209,15052939:16210,15176858:16211,15052989:16212,15238542:16213,15247498:16214,15253381:16215,15309219:16216,15310253:16217,15183013:16218,15248271:16219,15310984:16220,15304098:16221,15047603:16222,15044264:16223,15302807:16224,15044793:16225,15048322:16226,15055013:16227,15109800:16228,15118516:16229,15172234:16230,15179169:16231,15184523:16232,15187872:16233,15245744:16234,15303042:16235,15304084:16236,15305872:16237,15305880:16238,15309455:16239,15176094:16240,15313796:16241,15053959:16242,15054249:16243,15111600:16244,15113890:16245,15251112:16246,15309723:16247,15109550:16248,15113609:16249,15115417:16250,15241093:16251,15310999:16252,15309696:16253,15246270:16254,15122052:16417,15110586:16418,15052728:16419,14989462:16420,15171756:16421,15177117:16422,15112367:16423,15042436:16424,15042742:16425,15043490:16426,15050643:16427,15056513:16428,15106215:16429,15108240:16430,15111359:16431,15111604:16432,15112351:16433,15112628:16434,15115186:16435,15114390:16436,15117731:16437,15120517:16438,15174066:16439,15176863:16440,15178651:16441,15184574:16442,15237526:16443,15049648:16444,15246269:16445,15246783:16446,15248032:16447,15248019:16448,15248267:16449,15302813:16450,15304338:16451,15310226:16452,15310233:16453,15111817:16454,15181966:16455,15238278:16456,15309499:16457,15055021:16458,15106972:16459,15108250:16460,15111845:16461,15112340:16462,15113872:16463,15179699:16464,15182221:16465,15184269:16466,15186110:16467,15238282:16468,15250092:16469,15250852:16470,15251361:16471,15251871:16472,15180457:16473,15042695:16474,15109017:16475,15109797:16476,15110530:16477,15108760:16478,15247533:16479,15182467:16480,15183744:16481,15248044:16482,15309738:16483,15185334:16484,15239308:16485,15244681:16486,14990233:16487,15041928:16488,15043971:16489,15044e3:16490,15052451:16491,15052930:16492,15052950:16493,15054749:16494,15108262:16495,15108487:16496,15110832:16497,15114387:16498,15114420:16499,15119241:16500,15119749:16501,15119511:16502,15114131:16503,15121820:16504,15173006:16505,15173053:16506,15112075:16507,15182271:16508,15183533:16509,15185818:16510,15186314:16673,15187624:16674,15238586:16675,15239323:16676,15239353:16677,15242918:16678,15247790:16679,15250318:16680,15251381:16681,15303096:16682,15303095:16683,15305389:16684,15305361:16685,15308419:16686,15314606:16687,15042957:16688,15046276:16689,15121592:16690,15172790:16691,15041960:16692,15181445:16693,15186325:16694,15238835:16695,15184782:16696,15047052:16697,15049105:16698,15053480:16699,15109802:16700,15113150:16701,15113149:16702,15115674:16703,15174553:16704,15177359:16705,15177358:16706,15180942:16707,15181206:16708,15181727:16709,15184535:16710,15185056:16711,15185284:16712,15243399:16713,15247540:16714,15308987:16715,15303073:16716,15318176:16717,15041447:16718,15042997:16719,15044492:16720,15044514:16721,15040649:16722,15046314:16723,15049646:16724,15050127:16725,15173821:16726,15052427:16727,15053220:16728,15043741:16729,15106979:16730,15106995:16731,15109532:16732,15109763:16733,15109311:16734,15109819:16735,15111053:16736,15112105:16737,15113145:16738,15054755:16739,15116173:16740,15116221:16741,15121557:16742,15173541:16743,14989961:16744,15177641:16745,15178680:16746,15182483:16747,15184799:16748,15185807:16749,15185564:16750,15237537:16751,15240585:16752,15240600:16753,15241644:16754,15241916:16755,15243195:16756,15246213:16757,15250864:16758,15302785:16759,15303085:16760,15306391:16761,15309980:16762,15313042:16763,15041423:16764,15049367:16765,15107726:16766,15239059:16929,15242421:16930,15250568:16931,15302816:16932,14991235:16933,15040948:16934,15042951:16935,15044019:16936,15106479:16937,15109513:16938,15113631:16939,15120556:16940,15251123:16941,15302815:16942,14991255:16943,15053214:16944,15250314:16945,15112079:16946,15185562:16947,15043986:16948,15245974:16949,15041974:16950,15110019:16951,15052184:16952,15052203:16953,15052938:16954,15110285:16955,15113617:16956,15303068:16957,14990230:16958,15049882:16959,15049898:16960,15118768:16961,15247761:16962,15045822:16963,15048853:16964,15050405:16965,15106992:16966,15108499:16967,15114113:16968,15239349:16969,15115669:16970,15309184:16971,15312772:16972,15313064:16973,14990739:16974,15048838:16975,15052734:16976,15237264:16977,15053489:16978,15055023:16979,15056517:16980,15106208:16981,15107467:16982,15108276:16983,15113151:16984,15119280:16985,15121310:16986,15238030:16987,15238591:16988,15240084:16989,15245963:16990,15250104:16991,15302784:16992,15302830:16993,15309450:16994,15317915:16995,15314843:16996,14990243:16997,15044528:16998,15049895:16999,15183020:17e3,15304333:17001,15311244:17002,15316921:17003,15121309:17004,15171751:17005,15043987:17006,15046020:17007,15052421:17008,15108504:17009,15108766:17010,15109011:17011,15119010:17012,15122351:17013,15175842:17014,15247511:17015,15306936:17016,15122305:17017,15248318:17018,15240376:17019,15042471:17020,15244216:17021,15044522:17022,15044521:17185,14990726:17186,15303060:17187,15253168:17188,15050154:17189,15238321:17190,15054781:17191,15182762:17192,15253183:17193,15115162:17194,15249591:17195,15174584:17196,15315336:17197,15116477:17198,15248048:17199,14989497:17200,15043992:17201,15046790:17202,15048102:17203,15108997:17204,15109794:17205,15112102:17206,15117710:17207,15120289:17208,15120795:17209,15172269:17210,15179693:17211,15182767:17212,15183530:17213,15185595:17214,15237309:17215,15238022:17216,15244171:17217,15248021:17218,15306139:17219,15047587:17220,15049607:17221,15056062:17222,15111853:17223,15112854:17224,15116928:17225,15118005:17226,15176887:17227,15248263:17228,15040676:17229,15179685:17230,15047856:17231,15056027:17232,15106469:17233,15112634:17234,15118752:17235,15177652:17236,15181978:17237,15187374:17238,15239092:17239,15244440:17240,15303045:17241,15312563:17242,15183753:17243,15177116:17244,15182777:17245,15183249:17246,15242116:17247,15302800:17248,15181737:17249,15182482:17250,15240374:17251,15051681:17252,15179136:17253,14989485:17254,14990258:17255,15052441:17256,15056800:17257,15108797:17258,15112380:17259,15114161:17260,15119272:17261,15243691:17262,15245751:17263,15247547:17264,15304078:17265,15305651:17266,15312784:17267,15116439:17268,15171750:17269,15174826:17270,15240103:17271,15241623:17272,15250095:17273,14989441:17274,15041926:17275,15042443:17276,15046283:17277,15052725:17278,15054998:17441,15055027:17442,15055489:17443,15056020:17444,15056053:17445,15056299:17446,15056564:17447,15108018:17448,15109265:17449,15112866:17450,15113373:17451,15121838:17452,15174034:17453,15176890:17454,15178938:17455,15237556:17456,15238329:17457,15238584:17458,15244726:17459,15248063:17460,15248284:17461,15251077:17462,15251379:17463,15305370:17464,15308215:17465,15310978:17466,15315877:17467,15043461:17468,15109527:17469,15178676:17470,15113365:17471,15118984:17472,15175565:17473,15250307:17474,15306414:17475,15309235:17476,15119525:17477,15049372:17478,15115406:17479,15116172:17480,15253437:17481,15306394:17482,15177627:17483,15302810:17484,15049114:17485,15114370:17486,15109812:17487,15116219:17488,14990723:17489,15121580:17490,15114136:17491,15253179:17492,15242406:17493,15185588:17494,15306132:17495,15115455:17496,15121840:17497,15048106:17498,15049655:17499,15051948:17500,15185068:17501,15173802:17502,15044746:17503,15304611:17504,15316660:17505,14989997:17506,14990734:17507,15040924:17508,15040949:17509,15042947:17510,15250078:17511,15045e3:17512,15048868:17513,15052442:17514,15055005:17515,15055509:17516,15055533:17517,15055799:17518,15056031:17519,15106700:17520,15108789:17521,15109306:17522,15110032:17523,15114927:17524,15118720:17525,15180423:17526,15181454:17527,15181963:17528,15185824:17529,15239559:17530,15247490:17531,15248294:17532,15251844:17533,15302803:17534,15303352:17697,15303853:17698,15304600:17699,15318158:17700,15119269:17701,15110552:17702,15111074:17703,15111605:17704,15121332:17705,15178372:17706,15183003:17707,15303081:17708,15306641:17709,15121082:17710,15045554:17711,15056569:17712,15110820:17713,15252877:17714,15253421:17715,15305092:17716,15041976:17717,15049131:17718,15049897:17719,15053205:17720,15055511:17721,15120315:17722,15186575:17723,15176860:17724,15250108:17725,15252386:17726,15311259:17727,15172281:17728,14990493:17729,15118015:17730,15122097:17731,15176880:17732,15309755:17733,15041934:17734,15044752:17735,15048885:17736,15049111:17737,15050412:17738,15053216:17739,15056530:17740,15111831:17741,15113628:17742,15120545:17743,15178171:17744,15241119:17745,15250349:17746,15302804:17747,15303613:17748,15306125:17749,15179941:17750,15179962:17751,15043242:17752,15055526:17753,15047839:17754,15050164:17755,15106194:17756,15040658:17757,15041946:17758,15042220:17759,15042445:17760,15042688:17761,15045776:17762,15049108:17763,15049112:17764,15050135:17765,15052437:17766,15053750:17767,15054475:17768,15106748:17769,15108757:17770,15110317:17771,15113649:17772,15114627:17773,15114940:17774,15115167:17775,15178647:17776,15120280:17777,15120815:17778,15120027:17779,15172015:17780,15173512:17781,15056275:17782,15177624:17783,15181239:17784,15183241:17785,15183252:17786,15183250:17787,15184790:17788,15185329:17789,15042736:17790,15241635:17953,15242665:17954,15243172:17955,15247502:17956,15248516:17957,15249798:17958,15251599:17959,15302787:17960,15302799:17961,15306905:17962,15309238:17963,15311021:17964,15313072:17965,15308696:17966,15041421:17967,15043477:17968,15044748:17969,15048834:17970,15052942:17971,15107751:17972,15110814:17973,15119518:17974,15179443:17975,15182757:17976,15238068:17977,15241348:17978,15303059:17979,15305349:17980,15053728:17981,15316103:17982,15043775:17983,15056535:17984,15056563:17985,15120028:17986,15174073:17987,15179171:17988,15181503:17989,15183780:17990,15118226:17991,15174572:17992,15248045:17993,15114371:17994,15116705:17995,15042488:17996,15182465:17997,15115444:17998,15053194:17999,15315894:18e3,15240107:18001,15052677:18002,15304073:18003,15171742:18004,15047096:18005,15053231:18006,15106951:18007,15111590:18008,15118988:18009,15249818:18010,15303041:18011,15310995:18012,15045009:18013,15113095:18014,15304845:18015,15050120:18016,15303331:18017,15042181:18018,14989709:18019,15042474:18020,15242905:18021,15248526:18022,15171992:18023,15109562:18024,15306123:18025,15115682:18026,15312564:18027,15186052:18028,15177143:18029,15043991:18030,15115680:18031,15252383:18032,15309731:18033,15118749:18034,14989964:18035,15052988:18036,15056016:18037,15253417:18038,15043714:18039,15250321:18040,15237769:18041,15243705:18042,15055807:18043,15112101:18044,14989747:18045,15041957:18046,15050370:18209,15052991:18210,15310766:18211,14990267:18212,15050378:18213,15056781:18214,15248013:18215,15122337:18216,15181488:18217,15181218:18218,15052711:18219,15241649:18220,15174827:18221,15173297:18222,15055284:18223,15056821:18224,15109563:18225,15110810:18226,15173507:18227,15184536:18228,14989699:18229,15055804:18230,14989707:18231,15048604:18232,15047330:18233,15106729:18234,15122307:18235,15185037:18236,15238077:18237,15238323:18238,15238847:18239,15253170:18240,15246999:18241,15243940:18242,15054772:18243,15108746:18244,15110829:18245,15246983:18246,15113655:18247,15119266:18248,15119550:18249,15175862:18250,15179956:18251,15051142:18252,15187381:18253,15239853:18254,15312556:18255,14991283:18256,15055747:18257,15109021:18258,15109778:18259,15111575:18260,15113647:18261,15178627:18262,15174028:18263,15238028:18264,15237818:18265,15252649:18266,15304077:18267,15040653:18268,15048633:18269,15051410:18270,15114885:18271,15115699:18272,15173028:18273,15174589:18274,15250103:18275,15049650:18276,15250336:18277,15309226:18278,15302809:18279,15244735:18280,15181732:18281,15179687:18282,15241385:18283,14990511:18284,15042981:18285,15043994:18286,15109005:18287,15114127:18288,15119242:18289,15178173:18290,15183508:18291,15184533:18292,15239350:18293,15242884:18294,15253419:18295,15113117:18296,15121568:18297,15173766:18298,15186075:18299,15240875:18300,15312769:18301,15317670:18302,15042493:18465,15183537:18466,15180210:18467,15183544:18468,15237767:18469,15183240:18470,15117224:18471,15055265:18472,15237772:18473,15177105:18474,15177120:18475,15041963:18476,15305122:18477,15121036:18478,15178170:18479,15304343:18480,15313834:18481,14990480:18482,15187376:18483,15108764:18484,15183247:18485,15308453:18486,15315881:18487,15047098:18488,15049113:18489,15244196:18490,15309500:18491,14990516:18492,15042724:18493,15043978:18494,15044493:18495,15044507:18496,15054982:18497,15110316:18498,15111825:18499,15113663:18500,15118526:18501,15118734:18502,15174024:18503,15174319:18504,15175597:18505,15177108:18506,15186305:18507,15239340:18508,15243177:18509,15250089:18510,15183748:18511,15304582:18512,15173033:18513,15310994:18514,15311791:18515,15109309:18516,15112617:18517,15177130:18518,15178660:18519,15180688:18520,15242627:18521,15244206:18522,15043754:18523,15043985:18524,15044774:18525,15050371:18526,15055495:18527,15056316:18528,15106738:18529,15108489:18530,15108537:18531,15108779:18532,15111824:18533,15118228:18534,15119244:18535,15177394:18536,15178414:18537,15180433:18538,15181720:18539,15185803:18540,15187383:18541,15237797:18542,15245995:18543,15248057:18544,15250107:18545,15303103:18546,15310238:18547,15311771:18548,15116427:18549,15184056:18550,15041177:18551,15052990:18552,15056558:18553,15113863:18554,15118232:18555,15175861:18556,15178889:18557,15187598:18558,15318203:18721,15114122:18722,15181975:18723,15043769:18724,15177355:18725,15313837:18726,15056294:18727,15238813:18728,15241137:18729,15237784:18730,15056060:18731,15056773:18732,15177122:18733,15183238:18734,15302844:18735,15114663:18736,15050667:18737,15051419:18738,15185040:18739,15178174:18740,15248556:18741,14991285:18742,15056298:18743,15116441:18744,15118519:18745,15121538:18746,15176610:18747,15181224:18748,15245736:18749,15247765:18750,15249849:18751,15055775:18752,15110031:18753,15177605:18754,15181714:18755,15240087:18756,15305896:18757,15305650:18758,15241884:18759,15244205:18760,15315117:18761,15045505:18762,15056300:18763,15111820:18764,15119772:18765,15171733:18766,15250087:18767,15250323:18768,15311035:18769,15111567:18770,15176630:18771,14989453:18772,14990232:18773,15048608:18774,15049899:18775,15051174:18776,15052684:18777,15042216:18778,15054979:18779,15055516:18780,15106198:18781,15108534:18782,15111607:18783,15111847:18784,15112622:18785,15119790:18786,15173814:18787,15183014:18788,15238544:18789,15238810:18790,15239833:18791,15248796:18792,15250080:18793,15250342:18794,15250868:18795,15308956:18796,15309188:18797,14991022:18798,15110827:18799,15117734:18800,15239326:18801,15241633:18802,15242666:18803,15303592:18804,15052929:18805,15115667:18806,15311528:18807,15241658:18808,15242647:18809,14990479:18810,15042991:18811,15056553:18812,15055237:18813,15113357:18814,15181455:18977,15238585:18978,15246471:18979,15246982:18980,15120309:18981,15056023:18982,15108501:18983,15119032:18984,14990223:18985,15174057:18986,15314578:18987,15042694:18988,15044795:18989,15047092:18990,15049395:18991,15107748:18992,15108526:18993,15172762:18994,15050158:18995,15184521:18996,15184798:18997,15185051:18998,15309744:18999,15111815:19e3,15237534:19001,14989465:19002,14990773:19003,15041973:19004,15049088:19005,15055267:19006,15055283:19007,15056010:19008,15114116:19009,14989478:19010,15242429:19011,15308425:19012,15309211:19013,15184307:19014,15310977:19015,15041467:19016,15049601:19017,15178134:19018,15180455:19019,15042725:19020,15179429:19021,15242385:19022,15183494:19023,15040911:19024,15049865:19025,15174023:19026,15183751:19027,15185832:19028,15253178:19029,15253396:19030,15303053:19031,14991039:19032,15043465:19033,15050921:19034,15056001:19035,15310509:19036,14991261:19037,15239319:19038,15305642:19039,15047811:19040,15109525:19041,15117737:19042,15176875:19043,15246236:19044,15252628:19045,15182210:19046,15043487:19047,15049363:19048,15107477:19049,15108234:19050,15112878:19051,15118221:19052,15184063:19053,15241129:19054,15040675:19055,14991288:19056,15043717:19057,15044998:19058,15048881:19059,15050121:19060,15052445:19061,15053744:19062,15053743:19063,15053993:19064,15055510:19065,15108785:19066,15109543:19067,15111358:19068,15111865:19069,15113355:19070,15119253:19233,15119265:19234,15172537:19235,15179954:19236,15186091:19237,15238046:19238,15239859:19239,15241356:19240,15242156:19241,15244418:19242,15246482:19243,15247530:19244,15249802:19245,15303334:19246,15305618:19247,15311805:19248,15315891:19249,15316396:19250,14989711:19251,14989985:19252,15041165:19253,15042966:19254,15048074:19255,15050408:19256,15055037:19257,15056792:19258,15056793:19259,15108287:19260,15112884:19261,15113371:19262,15114128:19263,15115154:19264,15042194:19265,15185057:19266,15237802:19267,15238824:19268,15248512:19269,15250060:19270,15250111:19271,15305150:19272,15308978:19273,15044768:19274,15311020:19275,15043735:19276,15041429:19277,15043996:19278,15049384:19279,15110834:19280,15113396:19281,15174055:19282,15179174:19283,15182214:19284,15304614:19285,15043459:19286,15119009:19287,15117958:19288,15048832:19289,15055244:19290,15050132:19291,15113388:19292,15187899:19293,15042465:19294,15178630:19295,15110569:19296,15180712:19297,15314324:19298,15317691:19299,15048587:19300,15050425:19301,15112359:19302,15113882:19303,15118222:19304,15045545:19305,15116185:19306,15055253:19307,15238812:19308,15113877:19309,15314602:19310,15114174:19311,15315346:19312,15114653:19313,14989990:19314,14991267:19315,15044488:19316,15108793:19317,15113387:19318,15119019:19319,15253380:19320,14991021:19321,15186349:19322,15317695:19323,14989447:19324,15107490:19325,15121024:19326,15121579:19489,15242387:19490,15045043:19491,15113386:19492,15314309:19493,15054771:19494,15183509:19495,15053484:19496,15052678:19497,15244444:19498,15120778:19499,15242129:19500,15181972:19501,15238280:19502,15050393:19503,15184525:19504,15118481:19505,15178912:19506,15043481:19507,15049890:19508,15172769:19509,15174047:19510,15179675:19511,15309991:19512,15316385:19513,15115403:19514,15051199:19515,15050904:19516,15042213:19517,15044749:19518,15045053:19519,15112334:19520,15178655:19521,15253431:19522,15305368:19523,15315892:19524,15050666:19525,15174045:19526,15121285:19527,15041933:19528,15115145:19529,15185599:19530,15185836:19531,15310242:19532,15317690:19533,15110584:19534,15116449:19535,15240322:19536,15050372:19537,15052191:19538,15118235:19539,15174811:19540,15178674:19541,15185586:19542,15237271:19543,15241881:19544,15041714:19545,15113384:19546,15317913:19547,15178670:19548,15113634:19549,15043519:19550,15312005:19551,15052964:19552,15108283:19553,15184318:19554,15250096:19555,15046031:19556,15106742:19557,15185035:19558,15308416:19559,15043713:19560,14989727:19561,15042230:19562,15049884:19563,15173818:19564,15237302:19565,15304590:19566,15056037:19567,15179682:19568,15044228:19569,15056313:19570,15185028:19571,15242924:19572,15247539:19573,15252109:19574,15310230:19575,15114163:19576,15242926:19577,15307155:19578,15107209:19579,15107208:19580,15119033:19581,15178130:19582,15248301:19745,15252664:19746,15045807:19747,14990737:19748,15041706:19749,15043463:19750,15044491:19751,15052453:19752,15055293:19753,15106720:19754,15107714:19755,15110038:19756,15113353:19757,15114138:19758,15120807:19759,15120012:19760,15174838:19761,15174839:19762,15176881:19763,15181200:19764,15246229:19765,15248024:19766,15303050:19767,15303313:19768,15303605:19769,15309700:19770,15244941:19771,15049877:19772,14989960:19773,14990745:19774,14989454:19775,15248009:19776,15252671:19777,15310992:19778,15041197:19779,15055292:19780,15050390:19781,15052473:19782,15055544:19783,15110042:19784,15110074:19785,15111041:19786,15113116:19787,15115658:19788,15116184:19789,15119499:19790,15121078:19791,15173268:19792,15176872:19793,15182511:19794,15187594:19795,15237248:19796,15241609:19797,15242121:19798,15246977:19799,15248545:19800,15251594:19801,15303077:19802,15309245:19803,15312010:19804,15107518:19805,15108753:19806,15117490:19807,15118979:19808,15119796:19809,15187852:19810,15187900:19811,15120256:19812,15187589:19813,15244986:19814,15246264:19815,15113637:19816,15240881:19817,15311036:19818,15309751:19819,15119515:19820,15185313:19821,15241405:19822,15304106:19823,14989745:19824,15044021:19825,15054224:19826,15117444:19827,15122347:19828,15243149:19829,15243437:19830,15247015:19831,15042729:19832,15044751:19833,15053221:19834,15113614:19835,15114920:19836,15175814:19837,15176323:19838,15177634:20001,15246223:20002,15246241:20003,15304588:20004,15309730:20005,15309240:20006,15056523:20007,15175303:20008,15182731:20009,15241614:20010,15109792:20011,15177125:20012,15043209:20013,15119745:20014,15121052:20015,15175817:20016,15177113:20017,15180203:20018,15184530:20019,15309446:20020,15182748:20021,15318669:20022,14991030:20023,15107502:20024,15112069:20025,15243676:20026,14989958:20027,14989998:20028,15041434:20029,14989473:20030,15042444:20031,15052718:20032,15111833:20033,15114881:20034,15120060:20035,15174815:20036,15178114:20037,15179437:20038,15181980:20039,15184807:20040,15239599:20041,15248274:20042,15303100:20043,15304591:20044,15309237:20045,15311e3:20046,15043227:20047,15185809:20048,15040683:20049,15044248:20050,15113879:20051,15120267:20052,15173520:20053,15175859:20054,15239080:20055,15252650:20056,15309475:20057,15315351:20058,15317663:20059,15176096:20060,15049089:20061,15120025:20062,15185071:20063,15311262:20064,14990244:20065,14990518:20066,14990987:20067,15042231:20068,15043249:20069,15054522:20070,15106204:20071,15175346:20072,15180988:20073,15240083:20074,15304884:20075,15309495:20076,15309750:20077,15309962:20078,15317655:20079,15318434:20080,15112870:20081,15117748:20082,15042711:20083,15043235:20084,15172488:20085,15246210:20086,15055753:20087,15106443:20088,15107728:20089,15121571:20090,15173001:20091,15184062:20092,15185844:20093,15237551:20094,15242158:20257,15302819:20258,15305900:20259,15044994:20260,15314351:20261,15117203:20262,15172233:20263,15250306:20264,15251375:20265,15310002:20266,15043252:20267,15051137:20268,15055754:20269,15056004:20270,15113367:20271,15115708:20272,15115924:20273,15119786:20274,15121551:20275,15174050:20276,15174588:20277,15183789:20278,15237249:20279,15237566:20280,15244683:20281,15303566:20282,15041965:20283,15317651:20284,15181444:20285,15237771:20286,15305906:20287,15248278:20288,15040685:20289,15045260:20290,15247793:20291,15117738:20292,15250308:20293,15238279:20294,15106961:20295,15113888:20296,15316914:20297,14989977:20298,14989976:20299,15315088:20300,15247787:20301,15243137:20302,15242664:20303,15115392:20304,15120830:20305,15180439:20306,15238549:20307,15056012:20513,14989456:20514,14989461:20515,14989482:20516,14989489:20517,14989494:20518,14989500:20519,14989503:20520,14989698:20521,14989718:20522,14989720:20523,14989954:20524,14989957:20525,15249835:20526,14989962:20527,15239314:20528,15056013:20529,14989966:20530,14989982:20531,14989983:20532,14989984:20533,14989986:20534,1499e4:20535,14990003:20536,14990006:20537,14990222:20538,14990221:20539,14990212:20540,14990214:20541,14990210:20542,14990231:20543,14990238:20544,14990253:20545,14990239:20546,14990263:20547,14990473:20548,14990746:20549,14990512:20550,14990747:20551,14990749:20552,14990743:20553,14990727:20554,14990774:20555,14990984:20556,14990991:20557,14991e3:20558,14990779:20559,14990761:20560,14990768:20561,14990993:20562,14990767:20563,14990982:20564,14990998:20565,15041688:20566,14991252:20567,14991263:20568,14991246:20569,14991256:20570,14991259:20571,14991249:20572,14991258:20573,14991248:20574,14991268:20575,14991269:20576,15040666:20577,15040680:20578,15040660:20579,15040682:20580,15040677:20581,15040645:20582,14990492:20583,14991286:20584,15040673:20585,15040681:20586,15040684:20587,14991294:20588,14991279:20589,15040657:20590,15040646:20591,15040899:20592,15040903:20593,15113347:20594,15040917:20595,15040912:20596,15040904:20597,15040922:20598,15040918:20599,15040940:20600,15040952:20601,15041152:20602,15041178:20603,15041157:20604,15041204:20605,15041202:20606,15041417:20769,15041418:20770,15041203:20771,15041410:20772,15041430:20773,15041438:20774,15041445:20775,15041453:20776,15041443:20777,15041454:20778,15041465:20779,15041461:20780,15041673:20781,15041665:20782,15041666:20783,15041686:20784,15041685:20785,15041684:20786,15041690:20787,15041697:20788,15041722:20789,15041719:20790,15041724:20791,15041723:20792,15041727:20793,15041920:20794,15041938:20795,15041932:20796,15041940:20797,15041954:20798,15182776:20799,15041961:20800,15041962:20801,15041966:20802,15042176:20803,15042178:20804,15047576:20805,15042188:20806,15042185:20807,15042191:20808,15042193:20809,15042195:20810,15042197:20811,15042198:20812,15042212:20813,15042214:20814,15042210:20815,15042217:20816,15042218:20817,15042219:20818,15042227:20819,15042225:20820,15042226:20821,15042224:20822,15042229:20823,15042237:20824,15042437:20825,15042441:20826,15042459:20827,15042464:20828,15243669:20829,15042473:20830,15042477:20831,15042480:20832,15042485:20833,15042494:20834,15042692:20835,15042699:20836,15042708:20837,15042702:20838,15042727:20839,15042730:20840,15042734:20841,15042739:20842,15042745:20843,15042959:20844,15042948:20845,15042955:20846,15042956:20847,15042974:20848,15042964:20849,15042986:20850,15042996:20851,15042985:20852,15042995:20853,15043007:20854,15043005:20855,15043213:20856,15043220:20857,15043218:20858,15042993:20859,15043208:20860,15043217:20861,15253160:20862,15253159:21025,15043244:21026,15043245:21027,15043260:21028,15043253:21029,15043457:21030,15043469:21031,15043479:21032,15043486:21033,15043491:21034,15043494:21035,15311789:21036,15043488:21037,15043507:21038,15043509:21039,15043512:21040,15043513:21041,15043718:21042,15043720:21043,15176888:21044,15043725:21045,15043728:21046,15043727:21047,15043733:21048,15043738:21049,15043747:21050,15043759:21051,15043761:21052,15043763:21053,15043768:21054,15043968:21055,15043974:21056,15043973:21057,14989463:21058,15043977:21059,15043981:21060,15042454:21061,15043998:21062,15044009:21063,15044014:21064,15049880:21065,15044027:21066,15044023:21067,15044226:21068,15044246:21069,15044256:21070,15044262:21071,15044261:21072,15044270:21073,15044272:21074,15044278:21075,15044483:21076,15184018:21077,15309721:21078,15044511:21079,15113148:21080,15173550:21081,15044526:21082,15044520:21083,15044525:21084,15044538:21085,15044737:21086,15044797:21087,15044992:21088,15044780:21089,15044781:21090,15044796:21091,15044782:21092,15044790:21093,15044777:21094,15044765:21095,15045006:21096,15045263:21097,15045045:21098,15045262:21099,15045023:21100,15045041:21101,15045047:21102,15045040:21103,15045266:21104,15045051:21105,15045248:21106,15045046:21107,15045252:21108,15045264:21109,15045254:21110,15045511:21111,15045282:21112,15045304:21113,15045285:21114,15045292:21115,15045508:21116,15045512:21117,15045288:21118,15045291:21281,15045506:21282,15045284:21283,15045310:21284,15045308:21285,15045528:21286,15045541:21287,15045542:21288,15045775:21289,15045780:21290,15045565:21291,15045550:21292,15045549:21293,15045562:21294,15045538:21295,15045817:21296,15046016:21297,15046051:21298,15046028:21299,15045806:21300,15046044:21301,15046021:21302,15046038:21303,15046039:21304,15045816:21305,15045811:21306,15046045:21307,15046297:21308,15046272:21309,15045295:21310,15046282:21311,15046303:21312,15046075:21313,15046078:21314,15046296:21315,15046302:21316,15046318:21317,15046076:21318,15046275:21319,15046313:21320,15046279:21321,15046312:21322,15046554:21323,15046533:21324,15046559:21325,15046532:21326,15046556:21327,15046564:21328,15046548:21329,15046804:21330,15046583:21331,15046806:21332,15046590:21333,15046589:21334,15046811:21335,15046585:21336,15047054:21337,15047056:21338,15173535:21339,15046836:21340,15046838:21341,15046834:21342,15046840:21343,15047083:21344,15047076:21345,15046831:21346,15047084:21347,15047082:21348,15047302:21349,15047296:21350,15047306:21351,15047328:21352,15047316:21353,15047311:21354,15047333:21355,15047342:21356,15047350:21357,15047348:21358,15047554:21359,15047356:21360,15047553:21361,15047555:21362,15047552:21363,15047560:21364,15047566:21365,15047569:21366,15047571:21367,15047575:21368,15047598:21369,15047609:21370,15047808:21371,15047615:21372,15047812:21373,15047817:21374,15047816:21537,15047819:21538,15047821:21539,15047827:21540,15047832:21541,15047830:21542,15046535:21543,15047836:21544,15047846:21545,15047863:21546,15047864:21547,15048078:21548,15047867:21549,15048064:21550,15048079:21551,15048105:21552,15048576:21553,15048328:21554,15048097:21555,15048127:21556,15048329:21557,15048339:21558,15048352:21559,15048371:21560,15048356:21561,15048362:21562,15048368:21563,15048579:21564,15048582:21565,15048596:21566,15048594:21567,15048595:21568,15048842:21569,15048598:21570,15048611:21571,15048843:21572,15048857:21573,15048861:21574,15049138:21575,15048865:21576,15049122:21577,15049099:21578,15049136:21579,15118208:21580,15049106:21581,15048893:21582,15049145:21583,15049349:21584,15049401:21585,15049375:21586,15049387:21587,15049402:21588,15049630:21589,15049403:21590,15049400:21591,15049390:21592,15049605:21593,15049619:21594,15049617:21595,15049623:21596,15049625:21597,15049624:21598,15049637:21599,15049628:21600,15049636:21601,15049631:21602,15049647:21603,15049658:21604,15049657:21605,15049659:21606,15049660:21607,15049661:21608,15049858:21609,15049866:21610,15049872:21611,15049883:21612,15114918:21613,15049893:21614,15049900:21615,15049901:21616,15049906:21617,15049912:21618,15049918:21619,15182738:21620,15050133:21621,15050128:21622,15050126:21623,15050138:21624,15050136:21625,15050146:21626,15050144:21627,15050151:21628,15050156:21629,15050153:21630,15050168:21793,15050369:21794,15050397:21795,14990750:21796,14991019:21797,15050403:21798,15050418:21799,15050630:21800,15050664:21801,15050652:21802,15050381:21803,15050649:21804,15050650:21805,15050917:21806,15050911:21807,15050897:21808,15050908:21809,15050889:21810,15050906:21811,15051136:21812,15051180:21813,15051145:21814,15050933:21815,15050934:21816,15051170:21817,15051178:21818,15051418:21819,15051452:21820,15051454:21821,15051659:21822,15051650:21823,15051453:21824,15051683:21825,15051671:21826,15051686:21827,15051689:21828,15051670:21829,15051706:21830,15051707:21831,15051916:21832,15051915:21833,15051926:21834,15051954:21835,15051664:21836,15051946:21837,15051958:21838,15051966:21839,15052163:21840,15052165:21841,15052160:21842,15052177:21843,15052181:21844,15052186:21845,15052187:21846,15052197:21847,15052201:21848,15052208:21849,15052211:21850,15052213:21851,15052216:21852,15111816:21853,15052218:21854,15052416:21855,15052419:21856,15052454:21857,15052472:21858,15052675:21859,15052679:21860,15052681:21861,15052692:21862,15052688:21863,15052708:21864,15052710:21865,15052706:21866,15052702:21867,15052709:21868,15052715:21869,15052720:21870,15052726:21871,15052723:21872,15052933:21873,15052935:21874,15052936:21875,15052941:21876,15052947:21877,15052960:21878,15052962:21879,15052968:21880,15052984:21881,15052985:21882,15053185:21883,15053190:21884,15053198:21885,15053203:21886,15053200:22049,15053199:22050,15052209:22051,15053228:22052,15053230:22053,14989730:22054,15053238:22055,15053241:22056,15053452:22057,15053457:22058,15053460:22059,15050395:22060,15053483:22061,15053499:22062,15053494:22063,15053500:22064,15053495:22065,15053701:22066,15053502:22067,15053703:22068,15053721:22069,15053737:22070,15053757:22071,15053754:22072,15053741:22073,15054476:22074,15053738:22075,15053963:22076,15053973:22077,15053975:22078,15054236:22079,15053983:22080,15053979:22081,15053969:22082,15053972:22083,15053986:22084,15053978:22085,15053977:22086,15053976:22087,15054220:22088,15054226:22089,15054222:22090,15054219:22091,15054252:22092,15054259:22093,15054262:22094,15054471:22095,15054468:22096,15054466:22097,15054498:22098,15054493:22099,15054508:22100,15054510:22101,15054525:22102,15054480:22103,15054519:22104,15054524:22105,15054729:22106,15054733:22107,15054739:22108,15054738:22109,15054742:22110,15054747:22111,15054763:22112,15054770:22113,15054773:22114,15054987:22115,15055002:22116,15055001:22117,15054993:22118,15055003:22119,15055030:22120,15055031:22121,15055236:22122,15055235:22123,15055232:22124,15055246:22125,15055255:22126,15055252:22127,15055263:22128,15055266:22129,15055268:22130,15055239:22131,15055285:22132,15055286:22133,15055290:22134,15317692:22135,15055295:22136,15055520:22137,15055745:22138,15055746:22139,15055752:22140,15055760:22141,15055759:22142,15055766:22305,15055779:22306,15055773:22307,15055770:22308,15055771:22309,15055778:22310,15055777:22311,15055784:22312,15055785:22313,15055788:22314,15055793:22315,15055795:22316,15055792:22317,15055796:22318,15055800:22319,15055806:22320,15056003:22321,15056009:22322,15056285:22323,15056284:22324,15056011:22325,15056017:22326,15056022:22327,15056041:22328,15056045:22329,15056056:22330,15056257:22331,15056264:22332,15056268:22333,15056270:22334,15056047:22335,15056273:22336,15056278:22337,15056279:22338,15056281:22339,15056289:22340,15056301:22341,15056307:22342,15056311:22343,15056515:22344,15056514:22345,15056319:22346,15056522:22347,15056520:22348,15056529:22349,15056519:22350,15056542:22351,15056537:22352,15056536:22353,15056544:22354,15056552:22355,15056557:22356,15056572:22357,15056790:22358,15056827:22359,15056804:22360,15056824:22361,15056817:22362,15056797:22363,15106739:22364,15056831:22365,15106209:22366,15106464:22367,15106201:22368,15106192:22369,15106217:22370,15106190:22371,15106225:22372,15106203:22373,15106197:22374,15106219:22375,15106214:22376,15106191:22377,15106234:22378,15106458:22379,15106433:22380,15106474:22381,15106487:22382,15106463:22383,15106442:22384,15106438:22385,15106445:22386,15106467:22387,15106435:22388,15106468:22389,15106434:22390,15106476:22391,15106475:22392,15106457:22393,15106689:22394,15106701:22395,15106983:22396,15106691:22397,15106714:22398,15106692:22561,15106715:22562,15106710:22563,15106711:22564,15106706:22565,15106727:22566,15106699:22567,15106977:22568,15106744:22569,15106976:22570,15106963:22571,15106740:22572,15056816:22573,15106749:22574,15106950:22575,15106741:22576,15106968:22577,15107469:22578,15107221:22579,15107206:22580,15106998:22581,15106999:22582,15107200:22583,15106996:22584,15107002:22585,15107203:22586,15107233:22587,15107003:22588,15106993:22589,15107213:22590,15107214:22591,15107463:22592,15107262:22593,15107240:22594,15107239:22595,15107466:22596,15107263:22597,15107260:22598,15107244:22599,15107252:22600,15107261:22601,15107458:22602,15107460:22603,15107507:22604,15107511:22605,15107480:22606,15107481:22607,15107482:22608,15107499:22609,15107508:22610,15107503:22611,15107493:22612,15107505:22613,15107487:22614,15107485:22615,15107475:22616,15107509:22617,15107737:22618,15107734:22619,15107719:22620,15107756:22621,15107732:22622,15107738:22623,15107722:22624,15107729:22625,15107755:22626,15107758:22627,15107980:22628,15107978:22629,15107977:22630,15108023:22631,15107976:22632,15107971:22633,15107974:22634,15107770:22635,15107979:22636,15187385:22637,15107981:22638,15108006:22639,15108003:22640,15108022:22641,15108026:22642,15108020:22643,15108031:22644,15108029:22645,15108028:22646,15108030:22647,15108224:22648,15108232:22649,15108233:22650,15108237:22651,15108236:22652,15108244:22653,15108251:22654,15108254:22817,15108257:22818,15108266:22819,15108270:22820,15108272:22821,15108274:22822,15108275:22823,15108481:22824,15108494:22825,15108510:22826,15108515:22827,15108507:22828,15108512:22829,15108520:22830,15108540:22831,15108738:22832,15108745:22833,15108542:22834,15108754:22835,15108755:22836,15108758:22837,15109012:22838,15108739:22839,15108756:22840,15109015:22841,15109009:22842,15108795:22843,15109007:22844,15109055:22845,15108998:22846,15111060:22847,15109e3:22848,15109020:22849,15109004:22850,15109002:22851,15108994:22852,15108999:22853,15108763:22854,15109001:22855,15109260:22856,15109038:22857,15109041:22858,15109287:22859,15109250:22860,15109256:22861,15109039:22862,15109045:22863,15109520:22864,15109310:22865,15109517:22866,15110300:22867,15109519:22868,15109782:22869,15109774:22870,15109760:22871,15109803:22872,15109558:22873,15109795:22874,15109775:22875,15109769:22876,15109791:22877,15109813:22878,15109547:22879,15109545:22880,15109822:22881,15110057:22882,15110016:22883,15110022:22884,15110051:22885,15110025:22886,15110034:22887,15110070:22888,15110020:22889,15110294:22890,15110324:22891,15110278:22892,15110291:22893,15110310:22894,15110326:22895,15111325:22896,15110295:22897,15110312:22898,15110287:22899,15110567:22900,15110575:22901,15110582:22902,15110542:22903,15111338:22904,15110805:22905,15110803:22906,15110821:22907,15110825:22908,15110792:22909,15110844:22910,15111066:23073,15111058:23074,15111045:23075,15111047:23076,15110843:23077,15111064:23078,15111042:23079,15111089:23080,15111079:23081,15239305:23082,15111072:23083,15111073:23084,15108780:23085,15111075:23086,15111087:23087,15111340:23088,15111094:23089,15111092:23090,15111090:23091,15111098:23092,15111296:23093,15111101:23094,15111320:23095,15111324:23096,15111301:23097,15111332:23098,15111331:23099,15111339:23100,15111348:23101,15111349:23102,15111351:23103,15111350:23104,15111352:23105,15177099:23106,15111560:23107,15111574:23108,15111573:23109,15111565:23110,15111576:23111,15111582:23112,15111581:23113,15111602:23114,15111608:23115,15111810:23116,15111811:23117,15249034:23118,15111835:23119,15111839:23120,15111851:23121,15111863:23122,15112067:23123,15112070:23124,15112065:23125,15112068:23126,15112076:23127,15112082:23128,15112091:23129,15112089:23130,15112096:23131,15112097:23132,15112113:23133,15113650:23134,15112330:23135,15112323:23136,15112123:23137,15113651:23138,15112373:23139,15112374:23140,15112372:23141,15112348:23142,15112591:23143,15112580:23144,15112585:23145,15112577:23146,15112606:23147,15112605:23148,15112612:23149,15112615:23150,15112616:23151,15112607:23152,15112610:23153,15112624:23154,15112835:23155,15112840:23156,15112846:23157,15112841:23158,15112836:23159,15112856:23160,15112861:23161,15113089:23162,15112889:23163,15113097:23164,15112894:23165,15112892:23166,15113092:23329,15112888:23330,15113110:23331,15113114:23332,15113120:23333,15112383:23334,15113126:23335,15113129:23336,15113136:23337,15113141:23338,15113143:23339,15113359:23340,15113366:23341,15113374:23342,15113382:23343,15113383:23344,15310008:23345,15113390:23346,15113407:23347,15113398:23348,15113601:23349,15113400:23350,15113399:23351,15113606:23352,15113630:23353,15113632:23354,15113625:23355,15113635:23356,15113636:23357,15113865:23358,15113648:23359,15113897:23360,15113660:23361,15113642:23362,15113868:23363,15113867:23364,15113894:23365,15113889:23366,15113861:23367,15113911:23368,15114159:23369,15113908:23370,15114156:23371,15113907:23372,15114153:23373,15113912:23374,15114148:23375,15114142:23376,15114141:23377,15114146:23378,15114158:23379,15113913:23380,15114126:23381,15114118:23382,15114151:23383,15116956:23384,15114398:23385,15114630:23386,15114409:23387,15114624:23388,15114637:23389,15114418:23390,15114638:23391,15114931:23392,15114411:23393,15114649:23394,15114659:23395,15114679:23396,15114687:23397,15114911:23398,15114895:23399,15114925:23400,15114900:23401,15114909:23402,15114907:23403,15114883:23404,15116974:23405,15114937:23406,15114676:23407,15114933:23408,15114912:23409,15114938:23410,15115407:23411,15114893:23412,15114686:23413,15115393:23414,15115146:23415,15115400:23416,15115160:23417,15115426:23418,15115430:23419,15115169:23420,15115404:23421,15115149:23422,15115156:23585,15115175:23586,15115157:23587,15115446:23588,15115410:23589,15115396:23590,15115159:23591,15115171:23592,15115429:23593,15115193:23594,15115168:23595,15115183:23596,15115432:23597,15115434:23598,15115418:23599,15115427:23600,15115425:23601,15115142:23602,15115705:23603,15115703:23604,15115676:23605,15115704:23606,15115691:23607,15115668:23608,15115710:23609,15115694:23610,15115449:23611,15115700:23612,15115453:23613,15115673:23614,15115440:23615,15115681:23616,15115678:23617,15115677:23618,15115905:23619,15115690:23620,15115954:23621,15115950:23622,15116176:23623,15115967:23624,15116161:23625,15116179:23626,15115966:23627,15116174:23628,15052712:23629,15116170:23630,15116189:23631,15115963:23632,15116163:23633,15115943:23634,15116462:23635,15115921:23636,15115936:23637,15115932:23638,15115925:23639,15115956:23640,15116190:23641,15116200:23642,15116418:23643,15116443:23644,15116223:23645,15117450:23646,15116217:23647,15116210:23648,15116199:23649,15116421:23650,15115953:23651,15116446:23652,15116205:23653,15116436:23654,15116203:23655,15116426:23656,15116434:23657,15117185:23658,15116451:23659,15116435:23660,15116676:23661,15116428:23662,15116722:23663,15116470:23664,15116728:23665,15116679:23666,15116706:23667,15116697:23668,15116710:23669,15116680:23670,15116472:23671,15116450:23672,15116944:23673,15116941:23674,15116960:23675,15116932:23676,15116962:23677,15116963:23678,15116951:23841,15243415:23842,15116987:23843,15117187:23844,15117186:23845,15116984:23846,15116979:23847,15116972:23848,15117214:23849,15117201:23850,15117215:23851,15116970:23852,15117210:23853,15117226:23854,15117243:23855,15117445:23856,15243414:23857,15117242:23858,15117458:23859,15117462:23860,15314097:23861,15117471:23862,15117496:23863,15117495:23864,15178652:23865,15117497:23866,15311790:23867,15117703:23868,15117699:23869,15117705:23870,15117712:23871,15117721:23872,15117716:23873,15117723:23874,15117727:23875,15117729:23876,15117752:23877,15117753:23878,15117759:23879,15117952:23880,15117956:23881,15117955:23882,15117965:23883,15117976:23884,15117973:23885,15117982:23886,15117988:23887,15117994:23888,15117995:23889,15117999:23890,15118002:23891,15118001:23892,15118003:23893,15118007:23894,15118012:23895,15118214:23896,15118219:23897,15118227:23898,15118239:23899,15118252:23900,15118251:23901,15118259:23902,15118255:23903,15317694:23904,15118472:23905,15118483:23906,15118484:23907,15118491:23908,15118500:23909,15118499:23910,15118750:23911,15118741:23912,15118754:23913,15118762:23914,15118978:23915,15118989:23916,15119002:23917,15118977:23918,15119003:23919,15118782:23920,15118760:23921,15118771:23922,15118994:23923,15118992:23924,15119236:23925,15119281:23926,15119251:23927,15119037:23928,15119255:23929,15119237:23930,15119261:23931,15119022:23932,15119025:23933,15119038:23934,15119034:24097,15119259:24098,15119279:24099,15119257:24100,15119274:24101,15119519:24102,15245709:24103,15119542:24104,15119531:24105,15119549:24106,15119544:24107,15119513:24108,15119541:24109,15119539:24110,15119506:24111,15119500:24112,15119779:24113,15120019:24114,15119780:24115,15119770:24116,15119801:24117,15119769:24118,15120014:24119,15120021:24120,15122340:24121,15120005:24122,15120313:24123,15120533:24124,15120522:24125,15120053:24126,15120263:24127,15120294:24128,15120056:24129,15120262:24130,15120300:24131,15120286:24132,15120268:24133,15120296:24134,15120274:24135,15120261:24136,15120314:24137,15120281:24138,15120292:24139,15120277:24140,15120298:24141,15120302:24142,15120557:24143,15120814:24144,15120558:24145,15120537:24146,15120818:24147,15120799:24148,15120574:24149,15120547:24150,15120811:24151,15120555:24152,15120822:24153,15120781:24154,15120543:24155,15120771:24156,15120570:24157,15120782:24158,15120548:24159,15121343:24160,15120541:24161,15120568:24162,15121026:24163,15121066:24164,15121048:24165,15121289:24166,15121079:24167,15121299:24168,15121085:24169,15121071:24170,15121284:24171,15121074:24172,15121300:24173,15121301:24174,15121039:24175,15121061:24176,15121282:24177,15121055:24178,15121793:24179,15121553:24180,15171980:24181,15121324:24182,15121336:24183,15121342:24184,15121599:24185,15121330:24186,15121585:24187,15121327:24188,15121586:24189,15121292:24190,15121598:24353,15121555:24354,15121335:24355,15122054:24356,15121850:24357,15121848:24358,15122049:24359,15122048:24360,15121839:24361,15121819:24362,15122355:24363,15121837:24364,15122050:24365,15121852:24366,15121816:24367,15122062:24368,15122065:24369,15122306:24370,15121830:24371,15122099:24372,15122083:24373,15122081:24374,15122084:24375,15122105:24376,15122310:24377,15122090:24378,15122335:24379,15122325:24380,15122348:24381,15122324:24382,15122328:24383,15122353:24384,15122350:24385,15122331:24386,15171721:24387,15171723:24388,15122362:24389,15171729:24390,15171713:24391,15171727:24392,15122366:24393,15171739:24394,15171738:24395,15121844:24396,15171741:24397,15171736:24398,15171743:24399,15171760:24400,15171774:24401,15171762:24402,15171985:24403,15172003:24404,15172249:24405,15172242:24406,15172271:24407,15172529:24408,15172268:24409,15172280:24410,15172275:24411,15172270:24412,15172511:24413,15172491:24414,15172509:24415,15172505:24416,15172745:24417,15172541:24418,15172764:24419,15172761:24420,15173029:24421,15173013:24422,15173256:24423,15173030:24424,15173026:24425,15173004:24426,15173014:24427,15173036:24428,15173263:24429,15173563:24430,15173252:24431,15173269:24432,15173288:24433,15173292:24434,15173527:24435,15173305:24436,15173310:24437,15173522:24438,15173513:24439,15173524:24440,15173518:24441,15173536:24442,15173548:24443,15173543:24444,15173557:24445,15173564:24446,15173561:24609,15173567:24610,15173773:24611,15173776:24612,15173787:24613,15173800:24614,15173805:24615,15173804:24616,15173808:24617,15173810:24618,15173819:24619,15173820:24620,15173823:24621,15174016:24622,15174022:24623,15174027:24624,15174040:24625,15174068:24626,15174078:24627,15174274:24628,15174273:24629,15174279:24630,15174290:24631,15174294:24632,15174306:24633,15174311:24634,15174329:24635,15174322:24636,15174531:24637,15174534:24638,15174532:24639,15174542:24640,15174546:24641,15174562:24642,15174560:24643,15174561:24644,15174585:24645,15174583:24646,15040655:24647,15174807:24648,15174794:24649,15174812:24650,15174806:24651,15174813:24652,15174836:24653,15174831:24654,15174825:24655,15174821:24656,15174846:24657,15175054:24658,15175055:24659,15317912:24660,15175063:24661,15175082:24662,15175080:24663,15175088:24664,15175096:24665,15175093:24666,15175099:24667,15175098:24668,15175560:24669,15175347:24670,15175566:24671,15175355:24672,15175552:24673,15175589:24674,15175598:24675,15175582:24676,15176354:24677,15175813:24678,15176111:24679,15175845:24680,15175608:24681,15175858:24682,15175866:24683,15176085:24684,15175871:24685,15176095:24686,15176089:24687,15176065:24688,15176092:24689,15176105:24690,15176112:24691,15176099:24692,15176106:24693,15176118:24694,15176126:24695,15176331:24696,15176350:24697,15176359:24698,15176586:24699,15176591:24700,15176596:24701,15175601:24702,15176608:24865,15176611:24866,15176615:24867,15176617:24868,15176622:24869,15176626:24870,15176624:24871,15176625:24872,15176632:24873,15176631:24874,15176836:24875,15176835:24876,15176837:24877,15176844:24878,15176846:24879,15176845:24880,15176853:24881,15176851:24882,15176862:24883,15176870:24884,15176876:24885,15176892:24886,15177092:24887,15177101:24888,15177098:24889,15177097:24890,15177115:24891,15177094:24892,15177114:24893,15177129:24894,15177124:24895,15177127:24896,15177131:24897,15177133:24898,15177144:24899,15177142:24900,15177350:24901,15177351:24902,15177140:24903,15177354:24904,15177353:24905,15177346:24906,15177364:24907,15177370:24908,15177373:24909,15177381:24910,15177379:24911,15177602:24912,15177395:24913,15177603:24914,15177397:24915,15177405:24916,15177400:24917,15177404:24918,15177393:24919,15177613:24920,15177610:24921,15177618:24922,15177625:24923,15177635:24924,15177630:24925,15177662:24926,15177663:24927,15177660:24928,15177857:24929,15177648:24930,15177658:24931,15177650:24932,15177651:24933,15177867:24934,15177869:24935,15177865:24936,15177887:24937,15177895:24938,15177888:24939,15177889:24940,15177890:24941,15177892:24942,15177908:24943,15177904:24944,15177915:24945,15178119:24946,15178120:24947,15178118:24948,15178140:24949,15178136:24950,15178145:24951,15178146:24952,15178152:24953,15178153:24954,15178154:24955,15178151:24956,15178156:24957,15178160:24958,15178162:25121,15178166:25122,15178168:25123,15178172:25124,15178368:25125,15178371:25126,15178376:25127,15178379:25128,15178382:25129,15178390:25130,15178387:25131,15178393:25132,15178394:25133,15178416:25134,15178420:25135,15178424:25136,15178425:25137,15178426:25138,15178626:25139,15178637:25140,15178646:25141,15178642:25142,15178654:25143,15178657:25144,15178661:25145,15178663:25146,15178666:25147,15243439:25148,15178683:25149,15178888:25150,15178887:25151,15178884:25152,15178921:25153,15178916:25154,15178910:25155,15178917:25156,15178918:25157,15178907:25158,15178935:25159,15178936:25160,15179143:25161,15179162:25162,15179176:25163,15179179:25164,15179163:25165,15179173:25166,15179199:25167,15179198:25168,15179193:25169,15179406:25170,15179403:25171,15179409:25172,15179424:25173,15179422:25174,15179440:25175,15179446:25176,15179449:25177,15179455:25178,15179452:25179,15179453:25180,15179451:25181,15179655:25182,15179661:25183,15179671:25184,15179674:25185,15179676:25186,15179683:25187,15179694:25188,15179708:25189,15179916:25190,15179922:25191,15180966:25192,15179936:25193,15180970:25194,15180165:25195,15180430:25196,15180212:25197,15180422:25198,15180220:25199,15180442:25200,15180428:25201,15180451:25202,15180469:25203,15180458:25204,15180463:25205,15180689:25206,15180678:25207,15180683:25208,15180692:25209,15180478:25210,15180476:25211,15180677:25212,15180682:25213,15180716:25214,15180711:25377,15180698:25378,15180733:25379,15180724:25380,15180935:25381,15180946:25382,15180945:25383,15180953:25384,15180972:25385,15180971:25386,15181184:25387,15181216:25388,15181207:25389,15181215:25390,15181210:25391,15181205:25392,15181203:25393,15181242:25394,15181247:25395,15181450:25396,15181469:25397,15181479:25398,15318411:25399,15181482:25400,15181486:25401,15181491:25402,15181497:25403,15181498:25404,15181705:25405,15181717:25406,15181735:25407,15181740:25408,15181729:25409,15181731:25410,15181960:25411,15181965:25412,15181976:25413,15181977:25414,15181984:25415,15181983:25416,15181440:25417,15182001:25418,15182011:25419,15182014:25420,15182007:25421,15182211:25422,15182231:25423,15182217:25424,15182241:25425,15182242:25426,15182249:25427,15318685:25428,15182256:25429,15182265:25430,15182269:25431,15182472:25432,15182487:25433,15182485:25434,15182488:25435,15182486:25436,15182505:25437,15182728:25438,15182512:25439,15182518:25440,15182725:25441,15182724:25442,15182527:25443,15303299:25444,15182727:25445,15182730:25446,15182733:25447,15182735:25448,15182741:25449,15182739:25450,15182745:25451,15182746:25452,15182749:25453,15182753:25454,15182754:25455,15182758:25456,15182765:25457,15182768:25458,15182978:25459,15182991:25460,15182986:25461,15182982:25462,15183027:25463,15183e3:25464,15183001:25465,15183006:25466,15183029:25467,15183016:25468,15183030:25469,15183248:25470,15183290:25633,15182980:25634,15183245:25635,15182987:25636,15183244:25637,15183237:25638,15183285:25639,15183269:25640,15183284:25641,15183271:25642,15183280:25643,15183281:25644,15183276:25645,15183278:25646,15183517:25647,15183512:25648,15183519:25649,15183501:25650,15183516:25651,15183514:25652,15183499:25653,15183506:25654,15183503:25655,15183261:25656,15183513:25657,15183755:25658,15183745:25659,15183756:25660,15183759:25661,15183540:25662,15183750:25663,15183773:25664,15183785:25665,15184017:25666,15184020:25667,15183782:25668,15183781:25669,15184288:25670,15184e3:25671,15184007:25672,15184019:25673,15183795:25674,15183799:25675,15184023:25676,15184013:25677,15183798:25678,15184035:25679,15184039:25680,15184042:25681,15184031:25682,15184055:25683,15184043:25684,15184061:25685,15184268:25686,15184259:25687,15184276:25688,15184271:25689,15184256:25690,15184272:25691,15184280:25692,15184287:25693,15184292:25694,15184278:25695,15184293:25696,15184300:25697,15184309:25698,15184515:25699,15184528:25700,15184548:25701,15184557:25702,15184546:25703,15184555:25704,15184545:25705,15184552:25706,15184563:25707,15184562:25708,15184561:25709,15184558:25710,15184569:25711,15184573:25712,15184768:25713,15184773:25714,15184770:25715,15184792:25716,15184786:25717,15184796:25718,15184802:25719,15314107:25720,15184815:25721,15184818:25722,15184820:25723,15184822:25724,15184826:25725,15185030:25726,15185026:25889,15185052:25890,15185045:25891,15185034:25892,15185285:25893,15185291:25894,15185070:25895,15185074:25896,15185087:25897,15185077:25898,15185286:25899,15185331:25900,15185302:25901,15185294:25902,15185330:25903,15185320:25904,15185326:25905,15185295:25906,15185315:25907,15185555:25908,15185545:25909,15185307:25910,15185551:25911,15185341:25912,15185563:25913,15185594:25914,15185582:25915,15185571:25916,15185589:25917,15185799:25918,15185597:25919,15185579:25920,15186109:25921,15185570:25922,15185583:25923,15185820:25924,15185592:25925,15185567:25926,15185584:25927,15185816:25928,15185821:25929,15185828:25930,15185822:25931,15185851:25932,15185842:25933,15185825:25934,15186053:25935,15186058:25936,15186083:25937,15186081:25938,15186066:25939,15186097:25940,15186079:25941,15186057:25942,15186059:25943,15186082:25944,15186310:25945,15186342:25946,15186107:25947,15186101:25948,15186105:25949,15186307:25950,15186103:25951,15186098:25952,15186106:25953,15186343:25954,15186333:25955,15186326:25956,15186334:25957,15186329:25958,15186330:25959,15186361:25960,15186346:25961,15186345:25962,15186364:25963,15186363:25964,15186563:25965,15185813:25966,15186365:25967,15253166:25968,15186367:25969,15186568:25970,15186569:25971,15186572:25972,15186578:25973,15186576:25974,15186579:25975,15186580:25976,15186582:25977,15186574:25978,15186587:25979,15186588:25980,15187128:25981,15187130:25982,15187333:26145,15187340:26146,15187341:26147,15187342:26148,15187344:26149,15187345:26150,15187349:26151,15187348:26152,15187352:26153,15187359:26154,15187360:26155,15187368:26156,15187369:26157,15187367:26158,15187384:26159,15187586:26160,15187590:26161,15187587:26162,15187592:26163,15187591:26164,15187596:26165,15187604:26166,15187614:26167,15187613:26168,15187610:26169,15187619:26170,15187631:26171,15187634:26172,15187641:26173,15187630:26174,15187638:26175,15187640:26176,15248817:26177,15187845:26178,15187846:26179,15187850:26180,15187861:26181,15187860:26182,15187873:26183,15187878:26184,15187881:26185,15187891:26186,15187897:26187,15311772:26188,15237254:26189,15237252:26190,15237259:26191,15237266:26192,15237272:26193,15237273:26194,15237276:26195,15237281:26196,15237288:26197,15237311:26198,15237307:26199,15237514:26200,15237510:26201,15237522:26202,15237528:26203,15237530:26204,15237535:26205,15237538:26206,15237544:26207,15237555:26208,15237554:26209,15237552:26210,15237558:26211,15237561:26212,15237565:26213,15237567:26214,15237764:26215,15237766:26216,15237765:26217,15237787:26218,15237779:26219,15237786:26220,15237805:26221,15042192:26222,15237804:26223,15238043:26224,15238053:26225,15238041:26226,15238045:26227,15238020:26228,15238042:26229,15238038:26230,15238281:26231,15238063:26232,15238065:26233,15238299:26234,15238313:26235,15238307:26236,15238319:26237,15238539:26238,15309451:26401,15238534:26402,15238334:26403,15238547:26404,15238545:26405,15238076:26406,15238577:26407,15238574:26408,15238565:26409,15238566:26410,15238580:26411,15238787:26412,15238792:26413,15238794:26414,15238784:26415,15238786:26416,15238816:26417,15238805:26418,15238820:26419,15238819:26420,15238559:26421,15238803:26422,15238825:26423,15238832:26424,15238837:26425,15238846:26426,15238840:26427,15238845:26428,15239040:26429,15239042:26430,15238842:26431,15239049:26432,15239053:26433,15239057:26434,15239065:26435,15239064:26436,15239048:26437,15239066:26438,15239071:26439,15239072:26440,15239079:26441,15239098:26442,15239099:26443,15239102:26444,15239297:26445,15239298:26446,15239301:26447,15239303:26448,15239306:26449,15239309:26450,15239312:26451,15239318:26452,15239337:26453,15239339:26454,15239352:26455,15239347:26456,15239552:26457,15239577:26458,15239576:26459,15239581:26460,15239578:26461,15239583:26462,15239588:26463,15239586:26464,15239592:26465,15239594:26466,15239595:26467,15239342:26468,15239601:26469,15239607:26470,15239608:26471,15239614:26472,15239821:26473,15239826:26474,15239851:26475,15239839:26476,15239867:26477,15239852:26478,15240097:26479,15240099:26480,15240095:26481,15240082:26482,15240116:26483,15240115:26484,15240122:26485,15240851:26486,15240323:26487,15240123:26488,15240121:26489,15240094:26490,15240326:26491,15240092:26492,15240329:26493,15240089:26494,15240373:26657,15240372:26658,15240342:26659,15240370:26660,15240369:26661,15240576:26662,15240377:26663,15240592:26664,15240581:26665,15240367:26666,15240363:26667,15240343:26668,15240344:26669,15240837:26670,15240858:26671,15240874:26672,15240863:26673,15240866:26674,15240854:26675,15240355:26676,15240846:26677,15240839:26678,15240842:26679,15240636:26680,15240885:26681,15240627:26682,15240629:26683,15240864:26684,15240841:26685,15240872:26686,15241140:26687,15241363:26688,15241131:26689,15241102:26690,15241149:26691,15241347:26692,15241112:26693,15241355:26694,15241089:26695,15241143:26696,15241351:26697,15241120:26698,15241138:26699,15241357:26700,15241378:26701,15241376:26702,15240893:26703,15241400:26704,15242374:26705,15241147:26706,15241645:26707,15241386:26708,15241404:26709,15242650:26710,15241860:26711,15241655:26712,15241643:26713,15241901:26714,15241646:26715,15241858:26716,15241641:26717,15241606:26718,15241388:26719,15241647:26720,15241657:26721,15241397:26722,15242122:26723,15241634:26724,15241913:26725,15241919:26726,15241887:26727,15242137:26728,15242125:26729,15241915:26730,15242138:26731,15242128:26732,15242113:26733,15242118:26734,15242134:26735,15241889:26736,15242401:26737,15242175:26738,15242164:26739,15242391:26740,15242392:26741,15242412:26742,15242399:26743,15242389:26744,15242388:26745,15242172:26746,15242624:26747,15242659:26748,15242648:26749,15242632:26750,15242625:26913,15243394:26914,15242635:26915,15242645:26916,15242880:26917,15242916:26918,15242888:26919,15242897:26920,15242890:26921,15242920:26922,15242669:26923,15242900:26924,15242907:26925,15243178:26926,15242887:26927,15242908:26928,15242679:26929,15242686:26930,15242896:26931,15243145:26932,15242938:26933,15243151:26934,15242937:26935,15243152:26936,15243157:26937,15243165:26938,15243173:26939,15243164:26940,15243193:26941,15243402:26942,15243411:26943,15243403:26944,15243198:26945,15243194:26946,15243398:26947,15243426:26948,15243418:26949,15243440:26950,15243455:26951,15243661:26952,14989717:26953,15243668:26954,15243679:26955,15243687:26956,15243697:26957,15243923:26958,15243939:26959,15243945:26960,15243946:26961,15243915:26962,15243916:26963,15243958:26964,15243951:26965,15244164:26966,15244166:26967,15243952:26968,15244169:26969,15245475:26970,15243947:26971,15244180:26972,15244190:26973,15244201:26974,15244204:26975,15244191:26976,15244187:26977,15244207:26978,15244434:26979,15244422:26980,15244424:26981,15244416:26982,15244419:26983,15244219:26984,15244433:26985,15244425:26986,15244429:26987,15244217:26988,15244426:26989,15244468:26990,15244479:26991,15244471:26992,15244475:26993,15244453:26994,15244457:26995,15244442:26996,15244704:26997,15244703:26998,15244728:26999,15244684:27e3,15244686:27001,15244724:27002,15244695:27003,15244712:27004,15244718:27005,15244697:27006,15244691:27169,15244707:27170,15244714:27171,15245445:27172,15244962:27173,15244959:27174,15244930:27175,15244975:27176,15245195:27177,15244989:27178,15245184:27179,15245200:27180,15309718:27181,15244971:27182,15245188:27183,15244979:27184,15245191:27185,15245190:27186,15244987:27187,15245231:27188,15245234:27189,15245216:27190,15245455:27191,15245453:27192,15245246:27193,15245238:27194,15245239:27195,15245454:27196,15245202:27197,15245457:27198,15245462:27199,15245461:27200,15245474:27201,15245473:27202,15245489:27203,15245494:27204,15245497:27205,15245479:27206,15245499:27207,15245700:27208,15245698:27209,15245714:27210,15245721:27211,15245726:27212,15245730:27213,15245739:27214,15245953:27215,15245758:27216,15245982:27217,15245749:27218,15245757:27219,15246005:27220,15245746:27221,15245954:27222,15245975:27223,15245970:27224,15245998:27225,15245977:27226,15245986:27227,15245965:27228,15245988:27229,15246e3:27230,15246015:27231,15246001:27232,15246211:27233,15246212:27234,15246228:27235,15246232:27236,15246233:27237,15246237:27238,15246265:27239,15246466:27240,15246268:27241,15246260:27242,15246248:27243,15246258:27244,15246468:27245,15246476:27246,15246474:27247,15246483:27248,15246723:27249,15246494:27250,15246501:27251,15246506:27252,15246507:27253,15246721:27254,15246724:27255,15246523:27256,15246518:27257,15246520:27258,15246732:27259,15246493:27260,15246752:27261,15246750:27262,15246758:27425,15246756:27426,15246765:27427,15246762:27428,15246767:27429,15246772:27430,15246775:27431,15246782:27432,15246979:27433,15246984:27434,15246986:27435,15246995:27436,15247e3:27437,15247009:27438,15247017:27439,15247014:27440,15247020:27441,15247023:27442,15247026:27443,15247034:27444,15247037:27445,15247039:27446,15247232:27447,15247258:27448,15247260:27449,15247261:27450,15247271:27451,15247284:27452,15247288:27453,15247491:27454,15247510:27455,15247504:27456,15247500:27457,15247515:27458,15247517:27459,15247525:27460,15247542:27461,15247745:27462,15247771:27463,15247762:27464,15247750:27465,15247752:27466,15247804:27467,15247789:27468,15247788:27469,15247778:27470,15248005:27471,15248002:27472,15248004:27473,15248040:27474,15248033:27475,15248017:27476,15248037:27477,15248038:27478,15248026:27479,15248035:27480,15248260:27481,15248269:27482,15248258:27483,15248282:27484,15248299:27485,15248307:27486,15248295:27487,15248292:27488,15248305:27489,15248532:27490,15248288:27491,15248290:27492,15248311:27493,15248286:27494,15248283:27495,15248524:27496,15248519:27497,15248538:27498,15248289:27499,15248534:27500,15248528:27501,15248535:27502,15248544:27503,15248563:27504,15310507:27505,15248550:27506,15248555:27507,15248574:27508,15248552:27509,15248769:27510,15248780:27511,15248783:27512,15248782:27513,15248777:27514,15248790:27515,15248795:27516,15248794:27517,15248811:27518,15248799:27681,15248812:27682,15248815:27683,15248820:27684,15248829:27685,15249024:27686,15249036:27687,15249038:27688,15249042:27689,15249043:27690,15249046:27691,15249049:27692,15249050:27693,15249594:27694,15249793:27695,15249599:27696,15249800:27697,15249804:27698,15249806:27699,15249808:27700,15249813:27701,15249826:27702,15249836:27703,15249848:27704,15249850:27705,15250050:27706,15250057:27707,15250053:27708,15250058:27709,15250061:27710,15250062:27711,15250068:27712,15249852:27713,15250072:27714,15108253:27715,15250093:27716,15250090:27717,15250109:27718,15250098:27719,15250099:27720,15250094:27721,15250102:27722,15250312:27723,15250305:27724,15250340:27725,15250339:27726,15250330:27727,15250365:27728,15250362:27729,15250363:27730,15250564:27731,15250565:27732,15250570:27733,15250567:27734,15250575:27735,15250573:27736,15250576:27737,15318414:27738,15250579:27739,15250317:27740,15250580:27741,15250582:27742,15250855:27743,15250861:27744,15250865:27745,15250867:27746,15251073:27747,15251097:27748,15251330:27749,15251134:27750,15251130:27751,15251343:27752,15251354:27753,15251350:27754,15251340:27755,15251355:27756,15251339:27757,15251370:27758,15251371:27759,15251359:27760,15251363:27761,15251388:27762,15251592:27763,15251593:27764,15251391:27765,15251613:27766,15251614:27767,15251600:27768,15251615:27769,15251842:27770,15251637:27771,15251632:27772,15251636:27773,15251850:27774,15251847:27937,15251849:27938,15251852:27939,15251856:27940,15251848:27941,15251865:27942,15251876:27943,15251872:27944,15251626:27945,15251875:27946,15251861:27947,15251894:27948,15251890:27949,15251900:27950,15252097:27951,15252103:27952,15252101:27953,15252100:27954,15252107:27955,15252106:27956,15252115:27957,15252113:27958,15252116:27959,15252121:27960,15252138:27961,15252129:27962,15252140:27963,15252144:27964,15252358:27965,15252145:27966,15252158:27967,15252357:27968,15252360:27969,15252363:27970,15252379:27971,15252387:27972,15252412:27973,15252411:27974,15252395:27975,15252414:27976,15252618:27977,15252613:27978,15252629:27979,15252626:27980,15252633:27981,15252627:27982,15252636:27983,15252639:27984,15252635:27985,15252620:27986,15252646:27987,15252659:27988,15252667:27989,15252665:27990,15252869:27991,15252866:27992,15252670:27993,15252876:27994,15252873:27995,15252870:27996,15252878:27997,15252887:27998,15252892:27999,15252898:28e3,15252899:28001,15252900:28002,15253148:28003,15253151:28004,15253155:28005,15253165:28006,15253167:28007,15253175:28008,15253402:28009,15253413:28010,15253410:28011,15253418:28012,15253423:28013,15303303:28014,15253428:28015,15302789:28016,15253433:28017,15253434:28018,15302801:28019,15302805:28020,15302817:28021,15302797:28022,15302814:28023,15302806:28024,15302795:28025,15302823:28026,15302838:28027,15302837:28028,15302841:28029,15253432:28030,15303055:28193,15303056:28194,15303057:28195,15303058:28196,15302798:28197,15303049:28198,15302846:28199,15303062:28200,15303064:28201,15303070:28202,15303080:28203,15303087:28204,15303094:28205,15309480:28206,15303090:28207,15303298:28208,15303101:28209,15303297:28210,15303296:28211,15303306:28212,15303305:28213,15303311:28214,15303336:28215,15303343:28216,15303345:28217,15303349:28218,15303586:28219,15303588:28220,15108488:28221,15303579:28222,15303810:28223,15303826:28224,15303833:28225,15303858:28226,15303856:28227,15304074:28228,15304086:28229,15304088:28230,15304099:28231,15304101:28232,15304105:28233,15304115:28234,15304114:28235,15304331:28236,15304329:28237,15304322:28238,15304354:28239,15304363:28240,15304367:28241,15304362:28242,15304373:28243,15304372:28244,15304378:28245,15304576:28246,15304577:28247,15304585:28248,15304587:28249,15304592:28250,15304598:28251,15304607:28252,15304609:28253,15304603:28254,15304636:28255,15304629:28256,15304630:28257,15304862:28258,15304639:28259,15304852:28260,15304876:28261,15304853:28262,15304849:28263,15305118:28264,15305111:28265,15305093:28266,15305097:28267,15305124:28268,15305096:28269,15305365:28270,15304895:28271,15305099:28272,15305104:28273,15305372:28274,15305366:28275,15305363:28276,15305371:28277,15305114:28278,15305615:28279,15305401:28280,15305399:28281,15305641:28282,15305871:28283,15305658:28284,15306116:28285,15305902:28286,15305881:28449,15305890:28450,15305882:28451,15305891:28452,15305914:28453,15305909:28454,15305915:28455,15306140:28456,15306144:28457,15306172:28458,15306158:28459,15306134:28460,15306416:28461,15306412:28462,15306413:28463,15306388:28464,15306425:28465,15306646:28466,15306647:28467,15306664:28468,15306661:28469,15306648:28470,15306627:28471,15306653:28472,15306640:28473,15306632:28474,15306660:28475,15306906:28476,15306900:28477,15306899:28478,15306883:28479,15306887:28480,15306896:28481,15306934:28482,15306923:28483,15306933:28484,15306913:28485,15306938:28486,15307137:28487,15307154:28488,15307140:28489,15307163:28490,15307168:28491,15307170:28492,15307166:28493,15307178:28494,15304873:28495,15307184:28496,15307189:28497,15307191:28498,15307197:28499,15307162:28500,15307196:28501,15307198:28502,15307393:28503,15307199:28504,15308418:28505,15308423:28506,15308426:28507,15308436:28508,15308438:28509,15308440:28510,15308441:28511,15308448:28512,15308456:28513,15308455:28514,15308461:28515,15308476:28516,15308475:28517,15308473:28518,15308478:28519,15308682:28520,15122358:28521,15308675:28522,15308685:28523,15308684:28524,15308693:28525,15308692:28526,15308694:28527,15308700:28528,15308705:28529,15308709:28530,15308706:28531,15308961:28532,15308968:28533,15308974:28534,15308975:28535,15309186:28536,15309196:28537,15309199:28538,15309195:28539,15309239:28540,15309212:28541,15309214:28542,15309213:28705,15309215:28706,15309222:28707,15309234:28708,15309228:28709,15309453:28710,15309464:28711,15309461:28712,15309463:28713,15309482:28714,15309479:28715,15309489:28716,15309490:28717,15309488:28718,15309492:28719,15309494:28720,15309496:28721,15309497:28722,15309710:28723,15309707:28724,15309705:28725,15309709:28726,15246733:28727,15309724:28728,15309965:28729,15309717:28730,15309753:28731,15309956:28732,15309958:28733,15309960:28734,15309971:28735,15309966:28736,15309969:28737,15309967:28738,15309974:28739,15309977:28740,15309988:28741,15309994:28742,1531e4:28743,15310009:28744,15310013:28745,15310014:28746,15310212:28747,15310214:28748,15310216:28749,15310210:28750,15310217:28751,15310236:28752,15310240:28753,15310244:28754,15310246:28755,15310248:28756,15043474:28757,15310251:28758,15310257:28759,15310265:28760,15310469:28761,15310268:28762,15310465:28763,15310266:28764,15310470:28765,15310475:28766,15310479:28767,15310480:28768,15310492:28769,15310504:28770,15310502:28771,15310499:28772,15310515:28773,15310516:28774,15310723:28775,15310726:28776,15310728:28777,15310731:28778,15310748:28779,15310765:28780,15318415:28781,15310770:28782,15182751:28783,15310774:28784,15310773:28785,15310991:28786,15310988:28787,15311032:28788,15311012:28789,15311009:28790,15311031:28791,15311037:28792,15311238:28793,15311247:28794,15311243:28795,15311275:28796,15311279:28797,15311280:28798,15311281:28961,15311284:28962,15311283:28963,15311530:28964,15311535:28965,15311537:28966,15311542:28967,15311748:28968,15311747:28969,15311750:28970,15311785:28971,15311787:28972,15312003:28973,15312009:28974,15312018:28975,15312020:28976,15312024:28977,15312033:28978,15312029:28979,15312030:28980,15312036:28981,15312032:28982,15312044:28983,15312046:28984,15312061:28985,15312062:28986,15312258:28987,15312265:28988,15312261:28989,15312272:28990,15312267:28991,15312273:28992,15312274:28993,15312268:28994,15312277:28995,15312535:28996,15312536:28997,15312549:28998,15312557:28999,15312558:29e3,15312572:29001,15312799:29002,15312795:29003,15312797:29004,15312792:29005,15312785:29006,15312813:29007,15312814:29008,15312817:29009,15312818:29010,15312827:29011,15312824:29012,15313025:29013,15313039:29014,15313029:29015,15312802:29016,15313049:29017,15313067:29018,15313079:29019,15313285:29020,15313282:29021,15313280:29022,15313283:29023,15313086:29024,15313301:29025,15313293:29026,15313307:29027,15313303:29028,15313311:29029,15313314:29030,15313317:29031,15313316:29032,15313321:29033,15313323:29034,15313322:29035,15313581:29036,15313584:29037,15313596:29038,15313792:29039,15313807:29040,15313809:29041,15313811:29042,15313812:29043,15313822:29044,15313823:29045,15313826:29046,15313827:29047,15313830:29048,15313839:29049,15313835:29050,15313838:29051,15313844:29052,15313841:29053,15313847:29054,15313851:29217,15314054:29218,15314072:29219,15314074:29220,15314079:29221,15314082:29222,15314083:29223,15314085:29224,15314087:29225,15314088:29226,15314089:29227,15314090:29228,15314094:29229,15314095:29230,15314098:29231,15314308:29232,15314307:29233,15314319:29234,15314317:29235,15314318:29236,15314321:29237,15314328:29238,15314356:29239,15314579:29240,15314563:29241,15314577:29242,15314582:29243,15314583:29244,15314591:29245,15314592:29246,15314600:29247,15314612:29248,15314816:29249,15314826:29250,15314617:29251,15314822:29252,15314831:29253,15314833:29254,15314834:29255,15314851:29256,15314850:29257,15314852:29258,15314836:29259,15314849:29260,15315130:29261,15314866:29262,15314865:29263,15314864:29264,15315093:29265,15315092:29266,15315081:29267,15315091:29268,15315084:29269,15315078:29270,15315080:29271,15315090:29272,15315082:29273,15315076:29274,15315118:29275,15315099:29276,15315109:29277,15315108:29278,15315105:29279,15315120:29280,15315335:29281,15315122:29282,15315334:29283,15315134:29284,15315354:29285,15315360:29286,15315367:29287,15315382:29288,15315384:29289,15315879:29290,15315884:29291,15315888:29292,15316105:29293,15316104:29294,15315883:29295,15316099:29296,15316102:29297,15316138:29298,15316134:29299,15316655:29300,15316131:29301,15316127:29302,15316356:29303,15316117:29304,15316114:29305,15316353:29306,15316159:29307,15316158:29308,15316358:29309,15316360:29310,15316381:29473,15316382:29474,15316388:29475,15316369:29476,15316368:29477,15316377:29478,15316402:29479,15316617:29480,15316615:29481,15316651:29482,15316399:29483,15316410:29484,15316634:29485,15316644:29486,15316649:29487,15316658:29488,15316868:29489,15316865:29490,15316667:29491,15316664:29492,15316666:29493,15316870:29494,15316879:29495,15316866:29496,15316889:29497,15316883:29498,15316920:29499,15316902:29500,15316909:29501,15316911:29502,15316925:29503,15317146:29504,15317147:29505,15317150:29506,15317429:29507,15317433:29508,15317437:29509,15317633:29510,15317640:29511,15317643:29512,15317644:29513,15317650:29514,15317653:29515,15317649:29516,15317661:29517,15317669:29518,15317673:29519,15317688:29520,15317674:29521,15317677:29522,15310241:29523,15317900:29524,15317902:29525,15317903:29526,15317904:29527,15317908:29528,15317916:29529,15317918:29530,15317917:29531,15317920:29532,15317925:29533,15317928:29534,15317935:29535,15317940:29536,15317942:29537,15317943:29538,15317945:29539,15317947:29540,15317948:29541,15317949:29542,15318151:29543,15318152:29544,15178423:29545,15318165:29546,15318177:29547,15318188:29548,15318206:29549,15318410:29550,15318418:29551,15318420:29552,15318435:29553,15318431:29554,15318432:29555,15318433:29556,15318438:29557,15318439:29558,15318444:29559,15318442:29560,15318455:29561,15318450:29562,15318454:29563,15318677:29564,15318684:29565,15318688:29566,15048879:29729,15116167:29730,15303065:29731,15176100:29732,15042460:29733,15173273:29734,15186570:31009,15246492:31010,15306120:31011,15305352:31012,15242140:31013,14991241:31014,15172283:31015,15112369:31016,15115144:31017,15305657:31018,15113147:31019,15056261:31020,14989480:31021,14990241:31022,14990268:31023,14990464:31024,14990467:31025,14990521:31026,14990742:31027,14990994:31028,14990986:31029,14991002:31030,14990996:31031,14991245:31032,15040896:31033,15040674:31034,14991295:31035,15040670:31036,15040902:31037,15040944:31038,15040898:31039,15041172:31040,15041460:31041,15041432:31042,15041930:31043,15041956:31044,15042205:31045,15042238:31046,15042476:31047,15042709:31048,15043228:31049,15043238:31050,15043456:31051,15043483:31052,15043712:31053,15043719:31054,15043748:31055,15044018:31056,15044243:31057,15044274:31058,15044509:31059,15706254:31060,15045276:31061,15045258:31062,15045289:31063,15045567:31064,15046278:31065,15048089:31066,15048101:31067,15048364:31068,15048584:31069,15048583:31070,15706255:31071,15706256:31072,15049374:31073,15049394:31074,15049867:31075,15050131:31076,15050139:31077,15050141:31078,15050147:31079,15050404:31080,15050426:31081,15052182:31082,15052672:31083,15176879:31084,15052696:31085,15052716:31086,15052958:31087,15053478:31088,15053498:31089,15053749:31090,15053991:31091,15054227:31092,15706257:31093,15054210:31094,15054253:31095,15054520:31096,15054521:31097,15054736:31098,15056033:31099,15056052:31100,15056295:31101,15056567:31102,15056798:31265,15106461:31266,15106693:31267,15106698:31268,15106974:31269,15106965:31270,15107232:31271,15106994:31272,15107217:31273,15107255:31274,15107248:31275,15107736:31276,15108243:31277,15108774:31278,15110069:31279,15110560:31280,15110813:31281,15111054:31282,15111566:31283,15112320:31284,15112341:31285,15112379:31286,15112329:31287,15112366:31288,15112350:31289,15112356:31290,15112613:31291,15112599:31292,15112601:31293,15706258:31294,15112627:31295,15112857:31296,15112864:31297,15112882:31298,15112895:31299,15113146:31300,15113358:31301,15705257:31302,15113638:31303,15113915:31304,15114642:31305,15114112:31306,15114369:31307,15114628:31308,15115151:31309,15706259:31310,15115688:31311,15706260:31312,15115928:31313,15116194:31314,15116464:31315,15116715:31316,15116678:31317,15116723:31318,15116734:31319,15117218:31320,15117220:31321,15118230:31322,15118527:31323,15118748:31324,15118982:31325,15118767:31326,15119258:31327,15119492:31328,15120007:31329,15119791:31330,15120022:31331,15120044:31332,15120271:31333,15120312:31334,15120306:31335,15120316:31336,15120569:31337,15120796:31338,15120551:31339,15120572:31340,15121087:31341,15122056:31342,15122101:31343,15122357:31344,15171717:31345,15171719:31346,15171752:31347,15172229:31348,15172267:31349,15172751:31350,15172740:31351,15173020:31352,15172998:31353,15172999:31354,15706261:31355,15173505:31356,15173566:31357,15174321:31358,15174334:31521,15174820:31522,15706262:31523,15175095:31524,15175357:31525,15175561:31526,15175574:31527,15175587:31528,15175570:31529,15175815:31530,15175605:31531,15175846:31532,15175850:31533,15175849:31534,15175854:31535,15176098:31536,15176329:31537,15176351:31538,15176833:31539,15177135:31540,15178370:31541,15178396:31542,15178398:31543,15178395:31544,15178406:31545,15706263:31546,15179142:31547,15043247:31548,15179937:31549,15180174:31550,15180196:31551,15180218:31552,15180976:31553,15706264:31554,15706265:31555,15706266:31556,15181460:31557,15706267:31558,15181467:31559,15182737:31560,15182759:31561,15706268:31562,15182763:31563,15183518:31564,15706269:31565,15185288:31566,15185308:31567,15185591:31568,15185568:31569,15185814:31570,15186322:31571,15187335:31572,15187617:31573,15706270:31574,15240321:31575,15240610:31576,15240639:31577,15241095:31578,15241142:31579,15241608:31580,15241908:31581,15242643:31582,15242649:31583,15242667:31584,15706271:31585,15242928:31586,15706272:31587,15706273:31588,15245447:31589,15246261:31590,15247506:31591,15247543:31592,15247801:31593,15248039:31594,15248062:31595,15248287:31596,15706274:31597,15248310:31598,15248787:31599,15248831:31600,15250352:31601,15250356:31602,15250578:31603,15250870:31604,15706275:31605,15252367:31606,15706276:31607,15706277:31608,15303079:31609,15303582:31610,15706278:31611,15303829:31612,15303847:31613,15304602:31614,15304599:31777,15304606:31778,15304621:31779,15304622:31780,15304612:31781,15304613:31782,15304838:31783,15304848:31784,15304842:31785,15304890:31786,15305088:31787,15304892:31788,15305102:31789,15305113:31790,15305105:31791,15304889:31792,15305127:31793,15305383:31794,15305143:31795,15305144:31796,15305639:31797,15305623:31798,15305625:31799,15305616:31800,15706279:31801,15305621:31802,15305632:31803,15305619:31804,15305893:31805,15305889:31806,15305659:31807,15706280:31808,15305886:31809,15305663:31810,15305885:31811,15305858:31812,15306160:31813,15306135:31814,15306404:31815,15306630:31816,15306654:31817,15306680:31818,15306929:31819,15307141:31820,15307144:31821,15308434:31822,15706012:31823,15706281:31824,15309469:31825,15309487:31826,15310003:31827,15310011:31828,15310211:31829,15310221:31830,15310223:31831,15310225:31832,15310229:31833,15311255:31834,15311269:31835,15706282:31836,15706283:31837,15312039:31838,15706284:31839,15312542:31840,15313294:31841,15313817:31842,15313820:31843,15314357:31844,15314354:31845,15314575:31846,15314609:31847,15314619:31848,15315072:31849,15316400:31850,15316395:31851,15706285:31852,15317145:31853,15317905:31854,14845360:31857,14845361:31858,14845362:31859,14845363:31860,14845364:31861,14845365:31862,14845366:31863,14845367:31864,14845368:31865,14845369:31866,15712164:31868,15711367:31869,15711362:31870,14846117:8514,15712162:8780,14846098:74077}},5042:e=>{e.exports={nanoid:(e=21)=>{let t="",r=0|e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i--;)n+=e[Math.random()*e.length|0];return n}}},5096:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=n.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(r=String.fromCodePoint)&&void 0!==r?r:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},5210:(e,t,r)=>{var n=r(1371),i=r(321),s=r(1742),a=r(2801);function o(e){n.init_JIS_TO_UTF8_TABLE();for(var t,r,i,s,o,c,u,l=[],h=0,f=e&&e.length;h=161&&t<=223?(s=188|(i=t-64)>>6&3,o=128|63&i,l[l.length]=239,l[l.length]=255&s,l[l.length]=255&o):t>=128?(r=t<<1,(i=e[++h])<159?(r-=r<319?225:97,i-=i>126?32:31):(r-=r<319?224:96,i-=126),c=((r&=255)<<8)+i,void 0===(u=a.JIS_TO_UTF8_TABLE[c])?l[l.length]=n.FALLBACK_CHARACTER:u<65535?(l[l.length]=u>>8&255,l[l.length]=255&u):(l[l.length]=u>>16&255,l[l.length]=u>>8&255,l[l.length]=255&u)):l[l.length]=255&e[h];return l}function c(e){n.init_JIS_TO_UTF8_TABLE();for(var t,r,i,s,o,c,u=[],l=0,h=e&&e.length;l>6&3,s=128|63&r,u[u.length]=239,u[u.length]=255&i,u[u.length]=255&s):143===t?(o=(e[++l]-128<<8)+(e[++l]-128),void 0===(c=a.JISX0212_TO_UTF8_TABLE[o])?u[u.length]=n.FALLBACK_CHARACTER:c<65535?(u[u.length]=c>>8&255,u[u.length]=255&c):(u[u.length]=c>>16&255,u[u.length]=c>>8&255,u[u.length]=255&c)):t>=128?(o=(t-128<<8)+(e[++l]-128),void 0===(c=a.JIS_TO_UTF8_TABLE[o])?u[u.length]=n.FALLBACK_CHARACTER:c<65535?(u[u.length]=c>>8&255,u[u.length]=255&c):(u[u.length]=c>>16&255,u[u.length]=c>>8&255,u[u.length]=255&c)):u[u.length]=255&e[l];return u}function u(e){n.init_JIS_TO_UTF8_TABLE();for(var t,r,i,s,o,c=[],u=0,l=0,h=e&&e.length;l>8&255,c[c.length]=255&o):(c[c.length]=o>>16&255,c[c.length]=o>>8&255,c[c.length]=255&o)):2===u?(r=188|(t=e[l]+64)>>6&3,i=128|63&t,c[c.length]=239,c[c.length]=255&r,c[c.length]=255&i):3===u?(s=(e[l]<<8)+e[++l],void 0===(o=a.JISX0212_TO_UTF8_TABLE[s])?c[c.length]=n.FALLBACK_CHARACTER:o<65535?(c[c.length]=o>>8&255,c[c.length]=255&o):(c[c.length]=o>>16&255,c[c.length]=o>>8&255,c[c.length]=255&o)):c[c.length]=255&e[l]}return c}function l(e,t){for(var r,i,s,o,c,u,l=[],h=0,f=e&&e.length,p=t&&t.fallback;h=128?(r<=223?(o=[r,e[h+1]],c=(r<<8)+e[++h]):r<=239?(o=[r,e[h+1],e[h+2]],c=(r<<16)+(e[++h]<<8)+(255&e[++h])):(o=[r,e[h+1],e[h+2],e[h+3]],c=(r<<24)+(e[++h]<<16)+(e[++h]<<8)+(255&e[++h])),null==(u=a.UTF8_TO_JIS_TABLE[c])?p?x(l,o,p):l[l.length]=n.FALLBACK_CHARACTER:u<255?l[l.length]=u+128:(u>65536&&(u-=65536),s=255&u,1&(i=u>>8)?((i>>=1)<47?i+=113:i-=79,s+=s>95?32:31):((i>>=1)<=47?i+=112:i-=80,s+=126),l[l.length]=255&i,l[l.length]=255&s)):l[l.length]=255&e[h];return l}function h(e,t){for(var r,i,s,o,c=[],u=0,l=e&&e.length,h=t&&t.fallback;u=128?(r<=223?(i=[r,e[u+1]],s=(r<<8)+e[++u]):r<=239?(i=[r,e[u+1],e[u+2]],s=(r<<16)+(e[++u]<<8)+(255&e[++u])):(i=[r,e[u+1],e[u+2],e[u+3]],s=(r<<24)+(e[++u]<<16)+(e[++u]<<8)+(255&e[++u])),null==(o=a.UTF8_TO_JIS_TABLE[s])?null==(o=a.UTF8_TO_JISX0212_TABLE[s])?h?x(c,i,h):c[c.length]=n.FALLBACK_CHARACTER:(c[c.length]=143,c[c.length]=(o>>8)-128&255,c[c.length]=(255&o)-128&255):(o>65536&&(o-=65536),o<255?(c[c.length]=142,c[c.length]=o-128&255):(c[c.length]=(o>>8)-128&255,c[c.length]=(255&o)-128&255))):c[c.length]=255&e[u];return c}function f(e,t){for(var r,i,s,o,c=[],u=0,l=e&&e.length,h=0,f=t&&t.fallback,p=[27,40,66,27,36,66,27,40,73,27,36,40,68];h>8&255,c[c.length]=255&o):(o>65536&&(o-=65536),o<255?(2!==u&&(u=2,c[c.length]=p[6],c[c.length]=p[7],c[c.length]=p[8]),c[c.length]=255&o):(1!==u&&(u=1,c[c.length]=p[3],c[c.length]=p[4],c[c.length]=p[5]),c[c.length]=o>>8&255,c[c.length]=255&o)));return 0!==u&&(c[c.length]=p[0],c[c.length]=p[1],c[c.length]=p[2]),c}function p(e){for(var t,r,n=[],i=0,s=e&&e.length;i=55296&&t<=56319&&i+1=56320&&r<=57343&&(t=1024*(t-55296)+r-56320+65536,i++),t<128?n[n.length]=t:t<2048?(n[n.length]=192|t>>6&31,n[n.length]=128|63&t):t<65536?(n[n.length]=224|t>>12&15,n[n.length]=128|t>>6&63,n[n.length]=128|63&t):t<2097152&&(n[n.length]=240|t>>18&15,n[n.length]=128|t>>12&63,n[n.length]=128|t>>6&63,n[n.length]=128|63&t);return n}function d(e,t){for(var r,n,i,s=[],a=0,o=e&&e.length,c=t&&t.ignoreSurrogatePair;a>4)>=0&&r<=7?i=n:12===r||13===r?i=(31&n)<<6|63&e[a++]:14===r?i=(15&n)<<12|(63&e[a++])<<6|63&e[a++]:15===r&&(i=(7&n)<<18|(63&e[a++])<<12|(63&e[a++])<<6|63&e[a++]),i<=65535||c?s[s.length]=i:(i-=65536,s[s.length]=55296+(i>>10),s[s.length]=i%1024+56320);return s}function g(e,t){var r;if(t&&t.bom){var n,s,a=t.bom;i.isString(a)||(a="BE"),"B"===a.charAt(0).toUpperCase()?(n=[254,255],s=y(e)):(n=[255,254],s=m(e)),(r=[])[0]=n[0],r[1]=n[1];for(var o=0,c=s.length;o>8&255,r[r.length]=255&t);return r}function m(e){for(var t,r=[],n=0,i=e&&e.length;n>8&255);return r}function w(e){var t,r,n=[],i=0,s=e&&e.length;for(s>=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i>=1)<47?t+=113:t-=79,r+=r>95?32:31):((t>>=1)<=47?t+=112:t-=80,r+=126),i[i.length]=255&t,i[i.length]=255&r):i[i.length]=2===s?e[a]+128&255:3===s?n.FALLBACK_CHARACTER:255&e[a]}return i},t.JISToEUCJP=function(e){for(var t=[],r=0,n=e&&e.length,i=0;i=161&&t<=223?(2!==i&&(i=2,n[n.length]=o[6],n[n.length]=o[7],n[n.length]=o[8]),n[n.length]=t-128&255):t>=128?(1!==i&&(i=1,n[n.length]=o[3],n[n.length]=o[4],n[n.length]=o[5]),t<<=1,(r=e[++a])<159?(t-=t<319?225:97,r-=r>126?32:31):(t-=t<319?224:96,r-=126),n[n.length]=255&t,n[n.length]=255&r):(0!==i&&(i=0,n[n.length]=o[0],n[n.length]=o[1],n[n.length]=o[2]),n[n.length]=255&t);return 0!==i&&(n[n.length]=o[0],n[n.length]=o[1],n[n.length]=o[2]),n},t.SJISToEUCJP=function(e){for(var t,r,n=[],i=e&&e.length,s=0;s=161&&t<=223?(n[n.length]=142,n[n.length]=t):t>=129?(t<<=1,(r=e[++s])<159?(t-=t<319?97:225,r+=r>126?96:97):(t-=t<319?96:224,r+=2),n[n.length]=255&t,n[n.length]=255&r):n[n.length]=255&t;return n},t.EUCJPToJIS=function(e){for(var t,r=[],n=0,i=e&&e.length,s=0,a=[27,40,66,27,36,66,27,40,73,27,36,40,68];s142?(1!==n&&(n=1,r[r.length]=a[3],r[r.length]=a[4],r[r.length]=a[5]),r[r.length]=t-128&255,r[r.length]=e[++s]-128&255):(0!==n&&(n=0,r[r.length]=a[0],r[r.length]=a[1],r[r.length]=a[2]),r[r.length]=255&t);return 0!==n&&(r[r.length]=a[0],r[r.length]=a[1],r[r.length]=a[2]),r},t.EUCJPToSJIS=function(e){for(var t,r,i=[],s=e&&e.length,a=0;a142?(r=e[++a],1&t?(t>>=1,t+=t<111?49:113,r-=r>223?96:97):(t>>=1,t+=t<=111?48:112,r-=2),i[i.length]=255&t,i[i.length]=255&r):i[i.length]=142===t?255&e[++a]:255&t;return i},t.SJISToUTF8=o,t.EUCJPToUTF8=c,t.JISToUTF8=u,t.UTF8ToSJIS=l,t.UTF8ToEUCJP=h,t.UTF8ToJIS=f,t.UNICODEToUTF8=p,t.UTF8ToUNICODE=d,t.UNICODEToUTF16=g,t.UNICODEToUTF16BE=y,t.UNICODEToUTF16LE=m,t.UTF16BEToUNICODE=w,t.UTF16LEToUNICODE=b,t.UTF16ToUNICODE=A,t.UTF16ToUTF16BE=function(e){for(var t,r,n=[],i=0,a=e&&e.length,o=!1,c=!0;i=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(l=2),r&&(c[0]=r[0],c[1]=r[1]);l=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(l=2),r&&(c[0]=r[0],c[1]=r[1]);l{"use strict";let n=r(3152);class i extends n{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}e.exports=i,i.default=i},5261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpPwd=void 0;class r{static CRACK_GUESSES_PER_SECOND=8e7;static CRACK_TIME_WORDS_PWD=[{match:"millenni",word:"perfect",bar:100,color:"green",pass:!0},{match:"centu",word:"perfect",bar:95,color:"green",pass:!0},{match:"year",word:"great",bar:80,color:"orange",pass:!0},{match:"month",word:"good",bar:70,color:"darkorange",pass:!0},{match:"week",word:"good",bar:30,color:"darkred",pass:!0},{match:"day",word:"reasonable",bar:40,color:"darkorange",pass:!0},{match:"hour",word:"bare minimum",bar:20,color:"darkred",pass:!0},{match:"minute",word:"poor",bar:15,color:"red",pass:!1},{match:"",word:"weak",bar:10,color:"red",pass:!1}];static CRACK_TIME_WORDS_PASS_PHRASE=[{match:"millenni",word:"perfect",bar:100,color:"green",pass:!0},{match:"centu",word:"great",bar:80,color:"green",pass:!0},{match:"year",word:"good",bar:60,color:"orange",pass:!0},{match:"month",word:"reasonable",bar:40,color:"darkorange",pass:!0},{match:"week",word:"poor",bar:30,color:"darkred",pass:!1},{match:"day",word:"poor",bar:20,color:"darkred",pass:!1},{match:"",word:"weak",bar:10,color:"red",pass:!1}];static estimateStrength=(e,t="passphrase")=>{const n=e/r.CRACK_GUESSES_PER_SECOND;for(const e of"pwd"===t?r.CRACK_TIME_WORDS_PWD:r.CRACK_TIME_WORDS_PASS_PHRASE){const t=r.readableCrackTime(n);if(t.includes(e.match))return{word:e,seconds:Math.round(n),time:t}}throw Error("(thrown) estimate_strength: got to end without any result")};static weakWords=()=>["crypt","up","cryptup","flow","flowcrypt","encryption","pgp","email","set","backup","passphrase","best","pass","phrases","are","long","and","have","several","words","in","them","Best pass phrases are long","have several words","in them","bestpassphrasesarelong","haveseveralwords","inthem","Loss of this pass phrase","cannot be recovered","Note it down","on a paper","lossofthispassphrase","cannotberecovered","noteitdown","onapaper","setpassword","set password","set pass word","setpassphrase","set pass phrase","set passphrase"];static readableCrackTime=e=>{const t=e=>e>1?"s":"";e=Math.round(e);const r=Math.round(e/31104e8);if(r)return 1===r?"a millennium":"millennia";const n=Math.round(e/31104e5);if(n)return 1===n?"a century":"centuries";const i=Math.round(e/31104e3);if(i)return i+" year"+t(i);const s=Math.round(e/2592e3);if(s)return s+" month"+t(s);const a=Math.round(e/604800);if(a)return a+" week"+t(a);const o=Math.round(e/86400);if(o)return o+" day"+t(o);const c=Math.round(e/3600);if(c)return c+" hour"+t(c);const u=Math.round(e/60);if(u)return u+" minute"+t(u);const l=e%60;return l?l+" second"+t(l):"less than a second"}}t.PgpPwd=r},5397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentPosition=void 0,t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=s,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=s(e,t);return r&n.PRECEDING?-1:r&n.FOLLOWING?1:0})),e};var n,i=r(1141);function s(e,t){var r=[],s=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)r.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)s.unshift(a),a=a.parent;for(var o=Math.min(r.length,s.length),c=0;cl.indexOf(f)?u===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:u===e?n.PRECEDING|n.CONTAINS:n.PRECEDING}!function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(n||(t.DocumentPosition=n={}))},5413:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},5504:(e,t)=>{"use strict";function r(e){for(var t=1;t{"use strict";let n,i,s=r(7793);class a extends s{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new n(new i,this,e).stringify()}}a.registerLazyResult=e=>{n=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,s.registerRoot(a)},5748:e=>{e.exports=null},5781:e=>{"use strict";const t="'".charCodeAt(0),r='"'.charCodeAt(0),n="\\".charCodeAt(0),i="/".charCodeAt(0),s="\n".charCodeAt(0),a=" ".charCodeAt(0),o="\f".charCodeAt(0),c="\t".charCodeAt(0),u="\r".charCodeAt(0),l="[".charCodeAt(0),h="]".charCodeAt(0),f="(".charCodeAt(0),p=")".charCodeAt(0),d="{".charCodeAt(0),g="}".charCodeAt(0),y=";".charCodeAt(0),m="*".charCodeAt(0),w=":".charCodeAt(0),b="@".charCodeAt(0),A=/[\t\n\f\r "#'()/;[\\\]{}]/g,v=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,E=/.[\r\n"'(/\\]/,k=/[\da-f]/i;e.exports=function(e,S={}){let I,C,B,x,P,D,T,U,K,O,M=e.css.valueOf(),R=S.ignoreErrors,N=M.length,L=0,F=[],_=[];function Q(t){throw e.error("Unclosed "+t,L)}return{back:function(e){_.push(e)},endOfFile:function(){return 0===_.length&&L>=N},nextToken:function(e){if(_.length)return _.pop();if(L>=N)return;let S=!!e&&e.ignoreUnclosed;switch(I=M.charCodeAt(L),I){case s:case a:case c:case u:case o:x=L;do{x+=1,I=M.charCodeAt(x)}while(I===a||I===s||I===c||I===u||I===o);D=["space",M.slice(L,x)],L=x-1;break;case l:case h:case d:case g:case w:case y:case p:{let e=String.fromCharCode(I);D=[e,e,L];break}case f:if(O=F.length?F.pop()[1]:"",K=M.charCodeAt(L+1),"url"===O&&K!==t&&K!==r&&K!==a&&K!==s&&K!==c&&K!==o&&K!==u){x=L;do{if(T=!1,x=M.indexOf(")",x+1),-1===x){if(R||S){x=L;break}Q("bracket")}for(U=x;M.charCodeAt(U-1)===n;)U-=1,T=!T}while(T);D=["brackets",M.slice(L,x+1),L,x],L=x}else x=M.indexOf(")",L+1),C=M.slice(L,x+1),-1===x||E.test(C)?D=["(","(",L]:(D=["brackets",C,L,x],L=x);break;case t:case r:P=I===t?"'":'"',x=L;do{if(T=!1,x=M.indexOf(P,x+1),-1===x){if(R||S){x=L+1;break}Q("string")}for(U=x;M.charCodeAt(U-1)===n;)U-=1,T=!T}while(T);D=["string",M.slice(L,x+1),L,x],L=x;break;case b:A.lastIndex=L+1,A.test(M),x=0===A.lastIndex?M.length-1:A.lastIndex-2,D=["at-word",M.slice(L,x+1),L,x],L=x;break;case n:for(x=L,B=!0;M.charCodeAt(x+1)===n;)x+=1,B=!B;if(I=M.charCodeAt(x+1),B&&I!==i&&I!==a&&I!==s&&I!==c&&I!==u&&I!==o&&(x+=1,k.test(M.charAt(x)))){for(;k.test(M.charAt(x+1));)x+=1;M.charCodeAt(x+1)===a&&(x+=1)}D=["word",M.slice(L,x+1),L,x],L=x;break;default:I===i&&M.charCodeAt(L+1)===m?(x=M.indexOf("*/",L+2)+1,0===x&&(R||S?x=M.length:Q("comment")),D=["comment",M.slice(L,x+1),L,x],L=x):(v.lastIndex=L+1,v.test(M),x=0===v.lastIndex?M.length-1:v.lastIndex-2,D=["word",M.slice(L,x+1),L,x],F.push(D),L=x)}return L++,D},position:function(){return L}}}},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e){for(var n,i="",s=0;null!==(n=t.xmlReplacer.exec(e));){var a=n.index,o=e.charCodeAt(a),c=r.get(o);void 0!==c?(i+=e.substring(s,a)+c,s=a+1):(i+="".concat(e.substring(s,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),s=t.xmlReplacer.lastIndex+=Number(55296==(64512&o)))}return i+e.substr(s)}function i(e,t){return function(r){for(var n,i=0,s="";n=e.exec(r);)i!==n.index&&(s+=r.substring(i,n.index)),s+=t.get(n[0].charCodeAt(0)),i=n.index+1;return s+r.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=n,t.escape=n,t.escapeUTF8=i(/[&<>'"]/g,r),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6037:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getOuterHTML=o,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return o(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""};var i=r(1141),s=n(r(3806)),a=r(5413);function o(e,t){return(0,s.default)(e,t)}},6156:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},6171:e=>{"use strict";e.exports={rE:"2.2.0"}},6364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readArmoredKeyOrThrow=t.ValidateInput=void 0;const n=r(6382);t.ValidateInput=class{static setClientConfiguration=e=>{if(i(e)&&s(e,"shouldHideArmorMeta","boolean?"))return e;throw new Error("Wrong request structure for NodeRequest.setClientConfiguration")};static generateKey=e=>{if(i(e)&&s(e,"userIds","Userid[]")&&e.userIds.length&&s(e,"passphrase","string")&&["rsa2048","rsa4096","curve25519"].includes(e.variant))return e;throw new Error("Wrong request structure for NodeRequest.generateKey")};static encryptMsg=e=>{if(i(e)&&s(e,"pubKeys","string[]")&&s(e,"msgPwd","string?"))return e;throw new Error("Wrong request structure for NodeRequest.encryptMsg")};static composeEmail=e=>{if(!(i(e)&&s(e,"text","string")&&s(e,"html","string?")&&s(e,"from","string")&&s(e,"subject","string")&&s(e,"to","string[]")&&s(e,"cc","string[]")&&s(e,"bcc","string[]")))throw new Error("Wrong request structure for NodeRequest.composeEmail, need: text,from,subject,to,cc,bcc,atts (can use empty arr for cc/bcc, and can skip atts)");if(!s(e,"atts","ComposeAttachment[]?"))throw new Error("Wrong atts structure for NodeRequest.composeEmail, need: {name, type, base64}");if(s(e,"pubKeys","string[]")&&s(e,"signingPrv","PrvKeyInfo?")&&e.pubKeys.length&&("encryptInline"===e.format||"encryptPgpmime"===e.format))return e;if(!e.pubKeys&&"plain"===e.format)return e;throw new Error("Wrong choice of pubKeys and format. Either pubKeys:[..]+format:encryptInline OR format:plain allowed")};static parseDecryptMsg=e=>{if(i(e)&&s(e,"keys","PrvKeyInfo[]")&&s(e,"msgPwd","string?")&&s(e,"isMime","boolean?")&&s(e,"verificationPubkeys","string[]?"))return e;throw new Error("Wrong request structure for NodeRequest.parseDecryptMsg")};static sanitizeHtml=e=>{if(i(e)&&s(e,"html","string"))return e;throw new Error("Wrong request structure for NodeRequest.sanitizeHtml")};static encryptFile=e=>{if(i(e)&&s(e,"pubKeys","string[]")&&s(e,"name","string"))return e;throw new Error("Wrong request structure for NodeRequest.encryptFile")};static parseAttachmentType=e=>{if(i(e)&&s(e,"atts","Attachment[]"))return e;throw new Error("Wrong request structure for NodeRequest.parseAttachmentType")};static decryptFile=e=>{if(i(e)&&s(e,"keys","PrvKeyInfo[]")&&s(e,"msgPwd","string?"))return e;throw new Error("Wrong request structure for NodeRequest.decryptFile")};static zxcvbnStrengthBar=e=>{if(i(e)&&s(e,"guesses","number")&&s(e,"purpose","string")&&"passphrase"===e.purpose)return e;if(i(e)&&s(e,"value","string")&&s(e,"purpose","string")&&"passphrase"===e.purpose)return e;throw new Error("Wrong request structure for NodeRequest.zxcvbnStrengthBar")};static isEmailValid=e=>{if(i(e)&&s(e,"email","string"))return e;throw new Error("Wrong request structure for NodeRequest.isEmailValid")};static decryptKey=e=>{if(i(e)&&s(e,"armored","string")&&s(e,"passphrases","string[]"))return e;throw new Error("Wrong request structure for NodeRequest.decryptKey")};static encryptKey=e=>{if(i(e)&&s(e,"armored","string")&&s(e,"passphrase","string"))return e;throw new Error("Wrong request structure for NodeRequest.encryptKey")};static verifyKey=e=>{if(i(e)&&s(e,"armored","string"))return e;throw new Error("Wrong request structure for NodeRequest.verifyKey")}};const i=e=>!!e&&"object"==typeof e,s=(e,t,r)=>{if(!i(e))return!1;const n=e[t];return"number"===r||"string"===r?typeof n===r:"boolean?"===r?"boolean"==typeof n||void 0===n:"string?"===r?null===n?(e[t]=void 0,!0):"string"==typeof n||void 0===n:"ComposeAttachment[]?"===r?void 0===n||Array.isArray(n)&&n.filter((e=>s(e,"name","string")&&s(e,"type","string")&&s(e,"base64","string"))).length===n.length:"Attachment[]"===r?Array.isArray(n)&&n.filter((e=>s(e,"id","string")&&s(e,"msgId","string")&&s(e,"name","string")&&s(e,"type","string?"))).length===n.length:"string[]"===r?Array.isArray(n)&&n.filter((e=>"string"==typeof e)).length===n.length:"string[]?"===r?void 0===n||Array.isArray(n)&&n.filter((e=>"string"==typeof e)).length===n.length:"PrvKeyInfo?"===r?null===n?(e[t]=void 0,!0):void 0===n||s(n,"private","string")&&s(n,"longid","string")&&s(n,"passphrase","string?"):"PrvKeyInfo[]"===r?Array.isArray(n)&&n.filter((e=>s(e,"private","string")&&s(e,"longid","string")&&s(e,"passphrase","string?"))).length===n.length:"Userid[]"===r?Array.isArray(n)&&n.filter((e=>s(e,"name","string")&&s(e,"email","string"))).length===n.length:"object"===r&&i(n)};t.readArmoredKeyOrThrow=async e=>{const t=await(0,n.readKey)({armoredKey:e});if(!t)throw new Error("No key found");return t}},6382:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AEADEncryptedDataPacket:()=>La,CleartextMessage:()=>jo,CompressedDataPacket:()=>xa,GrammarError:()=>Sa,LiteralDataPacket:()=>pa,MarkerPacket:()=>za,Message:()=>Ro,OnePassSignaturePacket:()=>va,PacketList:()=>ka,PaddingPacket:()=>Xa,PrivateKey:()=>Io,PublicKey:()=>So,PublicKeyEncryptedSessionKeyPacket:()=>Fa,PublicKeyPacket:()=>ja,PublicSubkeyPacket:()=>Ga,SecretKeyPacket:()=>Ja,SecretSubkeyPacket:()=>Ya,Signature:()=>to,SignaturePacket:()=>wa,Subkey:()=>bo,SymEncryptedIntegrityProtectedDataPacket:()=>Ma,SymEncryptedSessionKeyPacket:()=>Qa,SymmetricallyEncryptedDataPacket:()=>qa,TrustPacket:()=>Za,UnparseablePacket:()=>Zt,UserAttributePacket:()=>Va,UserIDPacket:()=>Wa,armor:()=>re,config:()=>L,createCleartextMessage:()=>qo,createMessage:()=>_o,decrypt:()=>Yo,decryptKey:()=>Jo,decryptSessionKeys:()=>rc,encrypt:()=>Wo,encryptKey:()=>$o,encryptSessionKey:()=>tc,enums:()=>N,generateKey:()=>zo,generateSessionKey:()=>ec,readCleartextMessage:()=>Ho,readKey:()=>Po,readKeys:()=>To,readMessage:()=>Fo,readPrivateKey:()=>Do,readPrivateKeys:()=>Uo,readSignature:()=>ro,reformatKey:()=>Go,revokeKey:()=>Vo,sign:()=>Zo,unarmor:()=>te,verify:()=>Xo});const n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}))})),Object.freeze(e)}const s=Symbol("doneWritingPromise"),a=Symbol("doneWritingResolve"),o=Symbol("doneWritingReject"),c=Symbol("readingIndex");class u extends Array{constructor(){super(),Object.setPrototypeOf(this,u.prototype),this[s]=new Promise(((e,t)=>{this[a]=e,this[o]=t})),this[s].catch((()=>{}))}}function l(e){return e&&e.getReader&&Array.isArray(e)}function h(e){if(!l(e)){const t=e.getWriter(),r=t.releaseLock;return t.releaseLock=()=>{t.closed.catch((function(){})),r.call(t)},t}this.stream=e}function f(e){if(l(e))return"array";if(n.ReadableStream&&n.ReadableStream.prototype.isPrototypeOf(e))return"web";if(e&&!(n.ReadableStream&&e instanceof n.ReadableStream)&&"function"==typeof e._read&&"object"==typeof e._readableState)throw new Error("Native Node streams are no longer supported: please manually convert the stream to a WebStream, using e.g. `stream.Readable.toWeb`");return!(!e||!e.getReader)&&"web-like"}function p(e){return Uint8Array.prototype.isPrototypeOf(e)}function d(e){if(1===e.length)return e[0];let t=0;for(let r=0;r(await this[s],this[c]===this.length?{value:void 0,done:!0}:{value:this[this[c]++],done:!1})}},u.prototype.readToEnd=async function(e){await this[s];const t=e(this.slice(this[c]));return this.length=0,t},u.prototype.clone=function(){const e=new u;return e[s]=this[s].then((()=>{e.push(...this)})),e},h.prototype.write=async function(e){this.stream.push(e)},h.prototype.close=async function(){this.stream[a]()},h.prototype.abort=async function(e){return this.stream[o](e),e},h.prototype.releaseLock=function(){},"object"==typeof n.process&&n.process.versions;const g=new WeakSet,y=Symbol("externalBuffer");function m(e){if(this.stream=e,e[y]&&(this[y]=e[y].slice()),l(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{},void(this._cancel=()=>{})}if(f(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{t.closed.catch((function(){})),t.releaseLock()},void(this._cancel=t.cancel.bind(t))}let t=!1;this._read=async()=>t||g.has(e)?{value:void 0,done:!0}:(t=!0,{value:e,done:!1}),this._releaseLock=()=>{if(t)try{g.add(e)}catch(e){}}}function w(e){return f(e)?e:new ReadableStream({start(t){t.enqueue(e),t.close()}})}function b(e){if(f(e))return e;const t=new u;return(async()=>{const r=M(t);await r.write(e),await r.close()})(),t}function A(e){return e.some((e=>f(e)&&!l(e)))?function(e){e=e.map(w);const t=k((async function(e){await Promise.all(n.map((t=>U(t,e))))}));let r=Promise.resolve();const n=e.map(((n,i)=>I(n,((n,s)=>(r=r.then((()=>v(n,t.writable,{preventClose:i!==e.length-1}))),r)))));return t.readable}(e):e.some((e=>l(e)))?function(e){const t=new u;let r=Promise.resolve();return e.forEach(((n,i)=>(r=r.then((()=>v(n,t,{preventClose:i!==e.length-1}))),r))),t}(e):"string"==typeof e[0]?e.join(""):d(e)}async function v(e,t,{preventClose:r=!1,preventAbort:n=!1,preventCancel:i=!1}={}){if(f(e)&&!l(e)){e=w(e);try{if(e[y]){const r=M(t);for(let t=0;t{t=e,r=n})),t=null,r=null)},close:n.close.bind(n),abort:n.error.bind(n)})}}function S(e,t=()=>{},r=()=>{}){if(l(e)){const n=new u;return(async()=>{const i=M(n);try{const n=await T(e),s=t(n),a=r();let o;o=void 0!==s&&void 0!==a?A([s,a]):void 0!==s?s:a,await i.write(o),await i.close()}catch(e){await i.abort(e)}})(),n}if(f(e))return E(e,{async transform(e,r){try{const n=await t(e);void 0!==n&&r.enqueue(n)}catch(e){r.error(e)}},async flush(e){try{const t=await r();void 0!==t&&e.enqueue(t)}catch(t){e.error(t)}}});const n=t(e),i=r();return void 0!==n&&void 0!==i?A([n,i]):void 0!==n?n:i}function I(e,t){if(f(e)&&!l(e)){let r;const n=new TransformStream({start(e){r=e}}),i=v(e,n.writable),s=k((async function(e){r.error(e),await i,await new Promise(setTimeout)}));return t(n.readable,s.writable),s.readable}e=b(e);const r=new u;return t(e,r),r}function C(e,t){let r;const n=I(e,((e,i)=>{const s=O(e);s.remainder=()=>(s.releaseLock(),v(e,i),n),r=t(s)}));return r}function B(e){if(l(e))return e.clone();if(f(e)){const t=function(e){if(l(e))throw new Error("ArrayStream cannot be tee()d, use clone() instead");if(f(e)){const t=w(e).tee();return t[0][y]=t[1][y]=e[y],t}return[D(e),D(e)]}(e);return P(e,t[0]),t[1]}return D(e)}function x(e){return l(e)?B(e):f(e)?new ReadableStream({start(t){const r=I(e,(async(e,r)=>{const n=O(e),i=M(r);try{for(;;){await i.ready;const{done:e,value:r}=await n.read();if(e){try{t.close()}catch(e){}return void await i.close()}try{t.enqueue(r)}catch(e){}await i.write(r)}}catch(e){t.error(e),await i.abort(e)}}));P(e,r)}}):D(e)}function P(e,t){Object.entries(Object.getOwnPropertyDescriptors(e.constructor.prototype)).forEach((([r,n])=>{"constructor"!==r&&(n.value?n.value=n.value.bind(t):n.get=n.get.bind(t),Object.defineProperty(e,r,n))}))}function D(e,t=0,r=1/0){if(l(e))throw new Error("Not implemented");if(f(e)){if(t>=0&&r>=0){let n=0;return E(e,{transform(e,i){n=t&&i.enqueue(D(e,Math.max(t-n,0),r-n)),n+=e.length):i.terminate()}})}if(t<0&&(r<0||r===1/0)){let n=[];return S(e,(e=>{e.length>=-t?n=[e]:n.push(e)}),(()=>D(A(n),t,r)))}if(0===t&&r<0){let n;return S(e,(e=>{const i=n?A([n,e]):e;if(i.length>=-r)return n=D(i,r),D(i,t,r);n=i}))}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),K((async()=>D(await T(e),t,r)))}return e[y]&&(e=A(e[y].concat([e]))),p(e)?e.subarray(t,r===1/0?e.length:r):e.slice(t,r)}async function T(e,t=A){return l(e)?e.readToEnd(t):f(e)?O(e).readToEnd(t):e}async function U(e,t){if(f(e)){if(e.cancel){const r=await e.cancel(t);return await new Promise(setTimeout),r}if(e.destroy)return e.destroy(t),await new Promise(setTimeout),t}}function K(e){const t=new u;return(async()=>{const r=M(t);try{await r.write(await e()),await r.close()}catch(e){await r.abort(e)}})(),t}function O(e){return new m(e)}function M(e){return new h(e)}m.prototype.read=async function(){return this[y]&&this[y].length?{done:!1,value:this[y].shift()}:this._read()},m.prototype.releaseLock=function(){this[y]&&(this.stream[y]=this[y]),this._releaseLock()},m.prototype.cancel=function(e){return this._cancel(e)},m.prototype.readLine=async function(){let e,t=[];for(;!e;){let{done:r,value:n}=await this.read();if(n+="",r)return t.length?A(t):void 0;const i=n.indexOf("\n")+1;i&&(e=A(t.concat(n.substr(0,i))),t=[]),i!==n.length&&t.push(n.substr(i))}return this.unshift(...t),e},m.prototype.readByte=async function(){const{done:e,value:t}=await this.read();if(e)return;const r=t[0];return this.unshift(D(t,1)),r},m.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){const{done:n,value:i}=await this.read();if(n)return t.length?A(t):void 0;if(t.push(i),r+=i.length,r>=e){const r=A(t);return this.unshift(D(r,e)),D(r,0,e)}}},m.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},m.prototype.unshift=function(...e){this[y]||(this[y]=[]),1===e.length&&p(e[0])&&this[y].length&&e[0].length&&this[y][0].byteOffset>=e[0].length?this[y][0]=new Uint8Array(this[y][0].buffer,this[y][0].byteOffset-e[0].length,this[y][0].byteLength+e[0].length):this[y].unshift(...e.filter((e=>e&&e.length)))},m.prototype.readToEnd=async function(e=A){const t=[];for(;;){const{done:e,value:r}=await this.read();if(e)break;t.push(r)}return e(t)};const R=Symbol("byValue");var N={curve:{nistP256:"nistP256",p256:"nistP256",nistP384:"nistP384",p384:"nistP384",nistP521:"nistP521",p521:"nistP521",secp256k1:"secp256k1",ed25519Legacy:"ed25519Legacy",ed25519:"ed25519Legacy",curve25519Legacy:"curve25519Legacy",curve25519:"curve25519Legacy",brainpoolP256r1:"brainpoolP256r1",brainpoolP384r1:"brainpoolP384r1",brainpoolP512r1:"brainpoolP512r1"},s2k:{simple:0,salted:1,iterated:3,argon2:4,gnu:101},publicKey:{rsaEncryptSign:1,rsaEncrypt:2,rsaSign:3,elgamal:16,dsa:17,ecdh:18,ecdsa:19,eddsaLegacy:22,aedh:23,aedsa:24,x25519:25,x448:26,ed25519:27,ed448:28},symmetric:{idea:1,tripledes:2,cast5:3,blowfish:4,aes128:7,aes192:8,aes256:9,twofish:10},compression:{uncompressed:0,zip:1,zlib:2,bzip2:3},hash:{md5:1,sha1:2,ripemd:3,sha256:8,sha384:9,sha512:10,sha224:11,sha3_256:12,sha3_512:14},webHash:{"SHA-1":2,"SHA-256":8,"SHA-384":9,"SHA-512":10},aead:{eax:1,ocb:2,gcm:3,experimentalGCM:100},packet:{publicKeyEncryptedSessionKey:1,signature:2,symEncryptedSessionKey:3,onePassSignature:4,secretKey:5,publicKey:6,secretSubkey:7,compressedData:8,symmetricallyEncryptedData:9,marker:10,literalData:11,trust:12,userID:13,publicSubkey:14,userAttribute:17,symEncryptedIntegrityProtectedData:18,modificationDetectionCode:19,aeadEncryptedData:20,padding:21},literal:{binary:"b".charCodeAt(),text:"t".charCodeAt(),utf8:"u".charCodeAt(),mime:"m".charCodeAt()},signature:{binary:0,text:1,standalone:2,certGeneric:16,certPersona:17,certCasual:18,certPositive:19,certRevocation:48,subkeyBinding:24,keyBinding:25,key:31,keyRevocation:32,subkeyRevocation:40,timestamp:64,thirdParty:80},signatureSubpacket:{signatureCreationTime:2,signatureExpirationTime:3,exportableCertification:4,trustSignature:5,regularExpression:6,revocable:7,keyExpirationTime:9,placeholderBackwardsCompatibility:10,preferredSymmetricAlgorithms:11,revocationKey:12,issuerKeyID:16,notationData:20,preferredHashAlgorithms:21,preferredCompressionAlgorithms:22,keyServerPreferences:23,preferredKeyServer:24,primaryUserID:25,policyURI:26,keyFlags:27,signersUserID:28,reasonForRevocation:29,features:30,signatureTarget:31,embeddedSignature:32,issuerFingerprint:33,preferredAEADAlgorithms:34,preferredCipherSuites:39},keyFlags:{certifyKeys:1,signData:2,encryptCommunication:4,encryptStorage:8,splitPrivateKey:16,authentication:32,sharedPrivateKey:128},armor:{multipartSection:0,multipartLast:1,signed:2,message:3,publicKey:4,privateKey:5,signature:6},reasonForRevocation:{noReason:0,keySuperseded:1,keyCompromised:2,keyRetired:3,userIDInvalid:32},features:{modificationDetection:1,aead:2,v5Keys:4,seipdv2:8},write:function(e,t){if("number"==typeof t&&(t=this.read(e,t)),void 0!==e[t])return e[t];throw new Error("Invalid enum value.")},read:function(e,t){if(e[R]||(e[R]=[],Object.entries(e).forEach((([t,r])=>{e[R][r]=t}))),void 0!==e[R][t])return e[R][t];throw new Error("Invalid enum value.")}},L={preferredHashAlgorithm:N.hash.sha512,preferredSymmetricAlgorithm:N.symmetric.aes256,preferredCompressionAlgorithm:N.compression.uncompressed,aeadProtect:!1,parseAEADEncryptedV4KeysAsLegacy:!1,preferredAEADAlgorithm:N.aead.gcm,aeadChunkSizeByte:12,v6Keys:!1,enableParsingV5Entities:!1,s2kType:N.s2k.iterated,s2kIterationCountByte:224,s2kArgon2Params:{passes:3,parallelism:4,memoryExponent:16},allowUnauthenticatedMessages:!1,allowUnauthenticatedStream:!1,minRSABits:2047,passwordCollisionCheck:!1,allowInsecureDecryptionWithSigningKeys:!1,allowInsecureVerificationWithReformattedKeys:!1,allowMissingKeyFlags:!1,constantTimePKCS1Decryption:!1,constantTimePKCS1DecryptionSupportedSymmetricAlgorithms:new Set([N.symmetric.aes128,N.symmetric.aes192,N.symmetric.aes256]),ignoreUnsupportedPackets:!0,ignoreMalformedPackets:!1,enforceGrammar:!0,additionalAllowedPackets:[],showVersion:!1,showComment:!1,versionString:"OpenPGP.js 6.2.0",commentString:"https://openpgpjs.org",maxUserIDLength:5120,knownNotations:[],nonDeterministicSignaturesViaNotation:!0,useEllipticFallback:!0,rejectHashAlgorithms:new Set([N.hash.md5,N.hash.ripemd]),rejectMessageHashAlgorithms:new Set([N.hash.md5,N.hash.ripemd,N.hash.sha1]),rejectPublicKeyAlgorithms:new Set([N.publicKey.elgamal,N.publicKey.dsa]),rejectCurves:new Set([N.curve.secp256k1])};const F=(()=>{try{return!1}catch(e){}return!1})(),_={isString:function(e){return"string"==typeof e||e instanceof String},nodeRequire:()=>{},isArray:function(e){return e instanceof Array},isUint8Array:p,isStream:f,getNobleCurve:async(e,t)=>{if(!L.useEllipticFallback)throw new Error("This curve is only supported in the full build of OpenPGP.js");const{nobleCurves:r}=await Promise.resolve().then((function(){return zh}));switch(e){case N.publicKey.ecdh:case N.publicKey.ecdsa:{const e=r.get(t);if(!e)throw new Error("Unsupported curve");return e}case N.publicKey.x448:return r.get("x448");case N.publicKey.ed448:return r.get("ed448");default:throw new Error("Unsupported curve")}},readNumber:function(e){let t=0;for(let r=0;r>8*(t-n-1)&255;return r},readDate:function(e){const t=_.readNumber(e);return new Date(1e3*t)},writeDate:function(e){const t=Math.floor(e.getTime()/1e3);return _.writeNumber(t,4)},normalizeDate:function(e=Date.now()){return null===e||e===1/0?e:new Date(1e3*Math.floor(+e/1e3))},readMPI:function(e){const t=7+(e[0]<<8|e[1])>>>3;return _.readExactSubarray(e,2,2+t)},readExactSubarray:function(e,t,r){if(e.lengtht)throw new Error("Input array too long");const r=new Uint8Array(t),n=t-e.length;return r.set(e,n),r},uint8ArrayToMPI:function(e){const t=_.uint8ArrayBitLength(e);if(0===t)throw new Error("Zero MPI");const r=e.subarray(e.length-Math.ceil(t/8)),n=new Uint8Array([(65280&t)>>8,255&t]);return _.concatUint8Array([n,r])},uint8ArrayBitLength:function(e){let t;for(t=0;t>1);for(let r=0;r>1;r++)t[r]=parseInt(e.substr(r<<1,2),16);return t},uint8ArrayToHex:function(e){const t="0123456789abcdef";let r="";return e.forEach((e=>{r+=t[e>>4]+t[15&e]})),r},stringToUint8Array:function(e){return S(e,(e=>{if(!_.isString(e))throw new Error("stringToUint8Array: Data must be in the form of a string");const t=new Uint8Array(e.length);for(let r=0;rr("",!0)))},decodeUTF8:function(e){const t=new TextDecoder("utf-8");function r(e,r=!1){return t.decode(e,{stream:!r})}return S(e,r,(()=>r(new Uint8Array,!0)))},concat:A,concatUint8Array:d,equalsUint8Array:function(e,t){if(!_.isUint8Array(e)||!_.isUint8Array(t))throw new Error("Data must be in the form of a Uint8Array");if(e.length!==t.length)return!1;for(let r=0;r=0;r--)if(t(e[r],r,e))return r;return-1},writeChecksum:function(e){let t=0;for(let r=0;r>>16;return 0!==r&&(e=r,t+=16),r=e>>8,0!==r&&(e=r,t+=8),r=e>>4,0!==r&&(e=r,t+=4),r=e>>2,0!==r&&(e=r,t+=2),r=e>>1,0!==r&&(e=r,t+=1),t},double:function(e){const t=new Uint8Array(e.length),r=e.length-1;for(let n=0;n>7;return t[r]=e[r]<<1^135*(e[0]>>7),t},shiftRight:function(e,t){if(t)for(let r=e.length-1;r>=0;r--)e[r]>>=t,r>0&&(e[r]|=e[r-1]<<8-t);return e},getWebCrypto:function(){const e=void 0!==n&&n.crypto&&n.crypto.subtle||this.getNodeCrypto()?.webcrypto.subtle;if(!e)throw new Error("The WebCrypto API is not available");return e},getNodeCrypto:function(){return this.nodeRequire("crypto")},getNodeZlib:function(){return this.nodeRequire("zlib")},getNodeBuffer:function(){return(this.nodeRequire("buffer")||{}).Buffer},getHardwareConcurrency:function(){return"undefined"!=typeof navigator?navigator.hardwareConcurrency||1:this.nodeRequire("os").cpus().length},isEmailAddress:function(e){return!!_.isString(e)&&/^[^\p{C}\p{Z}@<>\\]+@[^\p{C}\p{Z}@<>\\]+[^\p{C}\p{Z}\p{P}]$/u.test(e)},canonicalizeEOL:function(e){let t=!1;return S(e,(e=>{let r;t&&(e=_.concatUint8Array([new Uint8Array([13]),e])),13===e[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;const n=[];for(let t=0;r=e.indexOf(10,t)+1,r;t=r)13!==e[r-2]&&n.push(r);if(!n.length)return e;const i=new Uint8Array(e.length+n.length);let s=0;for(let t=0;tt?new Uint8Array([13]):void 0))},nativeEOL:function(e){let t=!1;return S(e,(e=>{let r;13===(e=t&&10!==e[0]?_.concatUint8Array([new Uint8Array([13]),e]):new Uint8Array(e))[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;let n=0;for(let t=0;t!==e.length;t=r){r=e.indexOf(13,t)+1,r||(r=e.length);const i=r-(10===e[r]?1:0);t&&e.copyWithin(n,t,i),n+=i-t}return e.subarray(0,n)}),(()=>t?new Uint8Array([13]):void 0))},removeTrailingSpaces:function(e){return e.split("\n").map((e=>{let t=e.length-1;for(;t>=0&&(" "===e[t]||"\t"===e[t]||"\r"===e[t]);t--);return e.substr(0,t+1)})).join("\n")},wrapError:function(e,t){if(!t)return e instanceof Error?e:new Error(e);if(e instanceof Error){try{e.message+=": "+t.message,e.cause=t}catch(e){}return e}return new Error(e+": "+t.message,{cause:t})},constructAllowedPackets:function(e){const t={};return e.forEach((e=>{if(!e.tag)throw new Error("Invalid input: expected a packet class");t[e.tag]=e})),t},anyPromise:function(e){return new Promise((async(t,r)=>{let n;await Promise.all(e.map((async e=>{try{t(await e)}catch(e){n=e}}))),r(n)}))},selectUint8Array:function(e,t,r){const n=Math.max(t.length,r.length),i=new Uint8Array(n);let s=0;for(let n=0;n{t=_.concatUint8Array([t,e]);const r=[],n=Math.floor(t.length/45),i=45*n,s=j(t.subarray(0,i));for(let e=0;et.length?j(t)+"\n":""))}function z(e){let t="";return S(e,(e=>{t+=e;let r=0;const n=[" ","\t","\r","\n"];for(let e=0;e0&&(i-r)%4!=0;i--)n.includes(t[i])&&r--;const s=H(t.substr(0,i));return t=t.substr(i),s}),(()=>H(t)))}function G(e){return z(e.replace(/-/g,"+").replace(/_/g,"/"))}function V(e,t){let r=q(e).replace(/[\r\n]/g,"");return r=r.replace(/[+]/g,"-").replace(/[/]/g,"_").replace(/[=]/g,""),r}function J(e){const t=e.match(/^-----BEGIN PGP (MESSAGE, PART \d+\/\d+|MESSAGE, PART \d+|SIGNED MESSAGE|MESSAGE|PUBLIC KEY BLOCK|PRIVATE KEY BLOCK|SIGNATURE)-----$/m);if(!t)throw new Error("Unknown ASCII armor type");return/MESSAGE, PART \d+\/\d+/.test(t[1])?N.armor.multipartSection:/MESSAGE, PART \d+/.test(t[1])?N.armor.multipartLast:/SIGNED MESSAGE/.test(t[1])?N.armor.signed:/MESSAGE/.test(t[1])?N.armor.message:/PUBLIC KEY BLOCK/.test(t[1])?N.armor.publicKey:/PRIVATE KEY BLOCK/.test(t[1])?N.armor.privateKey:/SIGNATURE/.test(t[1])?N.armor.signature:void 0}function $(e,t){let r="";return t.showVersion&&(r+="Version: "+t.versionString+"\n"),t.showComment&&(r+="Comment: "+t.commentString+"\n"),e&&(r+="Comment: "+e+"\n"),r+="\n",r}function W(e){const t=function(e){let t=13501623;return S(e,(e=>{const r=Z?Math.floor(e.length/4):0,n=new Uint32Array(e.buffer,e.byteOffset,r);for(let e=0;e>24&255]^Y[1][t>>16&255]^Y[2][t>>8&255]^Y[3][255&t];for(let n=4*r;n>8^Y[0][255&t^e[n]]}),(()=>new Uint8Array([t,t>>8,t>>16])))}(e);return q(t)}Q?(j=e=>Q.from(e).toString("base64"),H=e=>{const t=Q.from(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}):(j=e=>btoa(_.uint8ArrayToString(e)),H=e=>_.stringToUint8Array(atob(e)));const Y=[new Array(255),new Array(255),new Array(255),new Array(255)];for(let e=0;e<=255;e++){let t=e<<16;for(let e=0;e<8;e++)t=t<<1^(8388608&t?8801531:0);Y[0][e]=(16711680&t)>>16|65280&t|(255&t)<<16}for(let e=0;e<=255;e++)Y[1][e]=Y[0][e]>>8^Y[0][255&Y[0][e]];for(let e=0;e<=255;e++)Y[2][e]=Y[1][e]>>8^Y[0][255&Y[1][e]];for(let e=0;e<=255;e++)Y[3][e]=Y[2][e]>>8^Y[0][255&Y[2][e]];const Z=function(){const e=new ArrayBuffer(2);return new DataView(e).setInt16(0,255,!0),255===new Int16Array(e)[0]}();function X(e){for(let t=0;t=0&&r!==e.length-1&&(t=e.slice(0,r)),t}function te(e){return new Promise((async(t,r)=>{try{const n=/^-----[^-]+-----$/m,i=/^[ \f\r\t\u00a0\u2000-\u200a\u202f\u205f\u3000]*$/;let s;const a=[];let o,c,u=a,l=[];const h=z(I(e,(async(e,f)=>{const p=O(e);try{for(;;){let e=await p.readLine();if(void 0===e)throw new Error("Misformed armored text");if(e=_.removeTrailingSpaces(e.replace(/[\r\n]/g,"")),s)if(o)c||s!==N.armor.signed||(n.test(e)?(l=l.join("\r\n"),c=!0,X(u),u=[],o=!1):l.push(e.replace(/^- /,"")));else if(n.test(e)&&r(new Error("Mandatory blank line missing between armor headers and armor data")),i.test(e)){if(X(u),o=!0,c||s!==N.armor.signed){t({text:l,data:h,headers:a,type:s});break}}else u.push(e);else n.test(e)&&(s=J(e))}}catch(e){return void r(e)}const d=M(f);try{for(;;){await d.ready;const{done:e,value:t}=await p.read();if(e)throw new Error("Misformed armored text");const r=t+"";if(-1!==r.indexOf("=")||-1!==r.indexOf("-")){let e=await p.readToEnd();e.length||(e=""),e=r+e,e=_.removeTrailingSpaces(e.replace(/\r/g,""));const t=e.split(n);if(1===t.length)throw new Error("Misformed armored text");const i=ee(t[0].slice(0,-1));await d.write(i);break}await d.write(r)}await d.ready,await d.close()}catch(e){await d.abort(e)}})))}catch(e){r(e)}})).then((async e=>(l(e.data)&&(e.data=await T(e.data)),e)))}function re(e,t,r,n,i,s=!1,a=L){let o,c;e===N.armor.signed&&(o=t.text,c=t.hash,t=t.data);const u=s&&x(t),l=[];switch(e){case N.armor.multipartSection:l.push("-----BEGIN PGP MESSAGE, PART "+r+"/"+n+"-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP MESSAGE, PART "+r+"/"+n+"-----\n");break;case N.armor.multipartLast:l.push("-----BEGIN PGP MESSAGE, PART "+r+"-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP MESSAGE, PART "+r+"-----\n");break;case N.armor.signed:l.push("-----BEGIN PGP SIGNED MESSAGE-----\n"),l.push(c?`Hash: ${c}\n\n`:"\n"),l.push(o.replace(/^-/gm,"- -")),l.push("\n-----BEGIN PGP SIGNATURE-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP SIGNATURE-----\n");break;case N.armor.message:l.push("-----BEGIN PGP MESSAGE-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP MESSAGE-----\n");break;case N.armor.publicKey:l.push("-----BEGIN PGP PUBLIC KEY BLOCK-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP PUBLIC KEY BLOCK-----\n");break;case N.armor.privateKey:l.push("-----BEGIN PGP PRIVATE KEY BLOCK-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP PRIVATE KEY BLOCK-----\n");break;case N.armor.signature:l.push("-----BEGIN PGP SIGNATURE-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP SIGNATURE-----\n")}return _.concat(l)}const ne=BigInt(0),ie=BigInt(1);function se(e){const t="0123456789ABCDEF";let r="";return e.forEach((e=>{r+=t[e>>4]+t[15&e]})),BigInt("0x0"+r)}function ae(e,t){const r=e%t;return rne;){const e=n&ie;n>>=ie,s=e?s*i%r:s,i=i*i%r}return s}function ce(e){return e>=ne?e:-e}function ue(e,t){const{gcd:r,x:n}=function(e,t){let r=BigInt(0),n=BigInt(1),i=BigInt(1),s=BigInt(0),a=ce(e),o=ce(t);const c=eNumber.MAX_SAFE_INTEGER)throw new Error("Number can only safely store up to 53 bits");return t}function he(e,t){return(e>>BigInt(t)&ie)===ne?0:1}function fe(e){const t=e>=ie)!==t;)r++;return r}function pe(e){const t=e>=r)!==t;)n++;return n}function de(e,t="be",r){let n=e.toString(16);n.length%2==1&&(n="0"+n);const i=n.length/2,s=new Uint8Array(r||i),a=r?r-i:0;let o=0;for(;oe&&(a=ae(a,i<ae(e,r)!==t))}(e)||!function(e,t=BigInt(2)){return oe(t,e-we,e)===we}(e)||!function(e,t){const r=fe(e);t||(t=Math.max(1,r/48|0));const n=e-we;let i=0;for(;!he(n,i);)i++;const s=e>>BigInt(i);for(;t>0;t--){let t,r=oe(me(BigInt(2),n),s,e);if(r!==we&&r!==n){for(t=1;tBigInt(e))),Ee=_.getWebCrypto(),ke=_.getNodeCrypto(),Se=ke&&ke.getHashes();function Ie(e){if(ke&&Se.includes(e))return async function(t){const r=ke.createHash(e);return S(t,(e=>{r.update(e)}),(()=>new Uint8Array(r.digest())))}}function Ce(e,t){const r=async()=>{const{nobleHashes:t}=await Promise.resolve().then((function(){return Af})),r=t.get(e);if(!r)throw new Error("Unsupported hash");return r};return async function(e){if(l(e)&&(e=await T(e)),_.isStream(e)){const t=(await r()).create();return S(e,(e=>{t.update(e)}),(()=>t.digest()))}return Ee&&t?new Uint8Array(await Ee.digest(t,e)):(await r())(e)}}const Be=Ie("md5")||Ce("md5"),xe=Ie("sha1")||Ce("sha1","SHA-1"),Pe=Ie("sha224")||Ce("sha224"),De=Ie("sha256")||Ce("sha256","SHA-256"),Te=Ie("sha384")||Ce("sha384","SHA-384"),Ue=Ie("sha512")||Ce("sha512","SHA-512"),Ke=Ie("ripemd160")||Ce("ripemd160"),Oe=Ie("sha3-256")||Ce("sha3_256"),Me=Ie("sha3-512")||Ce("sha3_512");function Re(e,t){switch(e){case N.hash.md5:return Be(t);case N.hash.sha1:return xe(t);case N.hash.ripemd:return Ke(t);case N.hash.sha256:return De(t);case N.hash.sha384:return Te(t);case N.hash.sha512:return Ue(t);case N.hash.sha224:return Pe(t);case N.hash.sha3_256:return Oe(t);case N.hash.sha3_512:return Me(t);default:throw new Error("Unsupported hash function")}}function Ne(e){switch(e){case N.hash.md5:return 16;case N.hash.sha1:case N.hash.ripemd:return 20;case N.hash.sha256:return 32;case N.hash.sha384:return 48;case N.hash.sha512:return 64;case N.hash.sha224:return 28;case N.hash.sha3_256:return 32;case N.hash.sha3_512:return 64;default:throw new Error("Invalid hash algorithm.")}}const Le=[];function Fe(e,t){const r=e.length;if(r>t-11)throw new Error("Message too long");const n=function(e){const t=new Uint8Array(e);let r=0;for(;r=8&!n;if(t)return _.selectUint8Array(a,s,t);if(a)return s;throw new Error("Decryption error")}function Qe(e,t,r){let n;if(t.length!==Ne(e))throw new Error("Invalid hash length");const i=new Uint8Array(Le[e].length);for(n=0;n=r.length)throw new Error("Digest size cannot exceed key modulus size");if(t&&!_.isStream(t))if(_.getWebCrypto())try{return await async function(e,t,r,n,i,s,a,o){const c=await Ve(r,n,i,s,a,o),u={name:"RSASSA-PKCS1-v1_5",hash:{name:e}},l=await je.importKey("jwk",c,u,!1,["sign"]);return new Uint8Array(await je.sign("RSASSA-PKCS1-v1_5",l,t))}(N.read(N.webHash,e),t,r,n,i,s,a,o)}catch(e){_.printDebugError(e)}else if(_.getNodeCrypto())return async function(e,t,r,n,i,s,a,o){const c=He.createSign(N.read(N.hash,e));c.write(t),c.end();const u=await Ve(r,n,i,s,a,o);return new Uint8Array(c.sign({key:u,format:"jwk",type:"pkcs1"}))}(e,t,r,n,i,s,a,o);return async function(e,t,r,n){t=se(t);return de(oe(se(Qe(e,n,pe(t))),r=se(r),t),"be",pe(t))}(e,r,i,c)}async function Ge(e,t,r){return _.getNodeCrypto()?async function(e,t,r){const n={key:Je(t,r),format:"jwk",type:"pkcs1",padding:He.constants.RSA_PKCS1_PADDING};return new Uint8Array(He.publicEncrypt(n,e))}(e,t,r):async function(e,t,r){if(t=se(t),e=se(Fe(e,pe(t))),r=se(r),e>=t)throw new Error("Message size cannot exceed modulus size");return de(oe(e,r,t),"be",pe(t))}(e,t,r)}async function Ve(e,t,r,n,i,s){const a=se(n),o=se(i),c=se(r);let u=ae(c,o-qe),l=ae(c,a-qe);return l=de(l),u=de(u),{kty:"RSA",n:V(e),e:V(t),d:V(r),p:V(i),q:V(n),dp:V(u),dq:V(l),qi:V(s),ext:!0}}function Je(e,t){return{kty:"RSA",n:V(e),e:V(t),ext:!0}}function $e(e,t){return{n:G(e.n),e:de(t),d:G(e.d),p:G(e.q),q:G(e.p),u:G(e.qi)}}const We=BigInt(1),Ye="object"==typeof n&&"crypto"in n?n.crypto:void 0,Ze={};var Xe=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function ht(e,t,r,n){return function(e,t,r,n){var i,s=0;for(i=0;i<32;i++)s|=e[t+i]^r[n+i];return(1&s-1>>>8)-1}(e,t,r,n)}function ft(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function pt(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function dt(e,t,r){for(var n,i=~(r-1),s=0;s<16;s++)n=i&(e[s]^t[s]),e[s]^=n,t[s]^=n}function gt(e,t){var r,n,i,s=Xe(),a=Xe();for(r=0;r<16;r++)a[r]=t[r];for(pt(a),pt(a),pt(a),n=0;n<2;n++){for(s[0]=a[0]-65517,r=1;r<15;r++)s[r]=a[r]-65535-(s[r-1]>>16&1),s[r-1]&=65535;s[15]=a[15]-32767-(s[14]>>16&1),i=s[15]>>16&1,s[14]&=65535,dt(a,s,1-i)}for(r=0;r<16;r++)e[2*r]=255&a[r],e[2*r+1]=a[r]>>8}function yt(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return gt(r,e),gt(n,t),ht(r,0,n,0)}function mt(e){var t=new Uint8Array(32);return gt(t,e),1&t[0]}function wt(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function bt(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function At(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function vt(e,t,r){var n,i,s=0,a=0,o=0,c=0,u=0,l=0,h=0,f=0,p=0,d=0,g=0,y=0,m=0,w=0,b=0,A=0,v=0,E=0,k=0,S=0,I=0,C=0,B=0,x=0,P=0,D=0,T=0,U=0,K=0,O=0,M=0,R=r[0],N=r[1],L=r[2],F=r[3],_=r[4],Q=r[5],j=r[6],H=r[7],q=r[8],z=r[9],G=r[10],V=r[11],J=r[12],$=r[13],W=r[14],Y=r[15];s+=(n=t[0])*R,a+=n*N,o+=n*L,c+=n*F,u+=n*_,l+=n*Q,h+=n*j,f+=n*H,p+=n*q,d+=n*z,g+=n*G,y+=n*V,m+=n*J,w+=n*$,b+=n*W,A+=n*Y,a+=(n=t[1])*R,o+=n*N,c+=n*L,u+=n*F,l+=n*_,h+=n*Q,f+=n*j,p+=n*H,d+=n*q,g+=n*z,y+=n*G,m+=n*V,w+=n*J,b+=n*$,A+=n*W,v+=n*Y,o+=(n=t[2])*R,c+=n*N,u+=n*L,l+=n*F,h+=n*_,f+=n*Q,p+=n*j,d+=n*H,g+=n*q,y+=n*z,m+=n*G,w+=n*V,b+=n*J,A+=n*$,v+=n*W,E+=n*Y,c+=(n=t[3])*R,u+=n*N,l+=n*L,h+=n*F,f+=n*_,p+=n*Q,d+=n*j,g+=n*H,y+=n*q,m+=n*z,w+=n*G,b+=n*V,A+=n*J,v+=n*$,E+=n*W,k+=n*Y,u+=(n=t[4])*R,l+=n*N,h+=n*L,f+=n*F,p+=n*_,d+=n*Q,g+=n*j,y+=n*H,m+=n*q,w+=n*z,b+=n*G,A+=n*V,v+=n*J,E+=n*$,k+=n*W,S+=n*Y,l+=(n=t[5])*R,h+=n*N,f+=n*L,p+=n*F,d+=n*_,g+=n*Q,y+=n*j,m+=n*H,w+=n*q,b+=n*z,A+=n*G,v+=n*V,E+=n*J,k+=n*$,S+=n*W,I+=n*Y,h+=(n=t[6])*R,f+=n*N,p+=n*L,d+=n*F,g+=n*_,y+=n*Q,m+=n*j,w+=n*H,b+=n*q,A+=n*z,v+=n*G,E+=n*V,k+=n*J,S+=n*$,I+=n*W,C+=n*Y,f+=(n=t[7])*R,p+=n*N,d+=n*L,g+=n*F,y+=n*_,m+=n*Q,w+=n*j,b+=n*H,A+=n*q,v+=n*z,E+=n*G,k+=n*V,S+=n*J,I+=n*$,C+=n*W,B+=n*Y,p+=(n=t[8])*R,d+=n*N,g+=n*L,y+=n*F,m+=n*_,w+=n*Q,b+=n*j,A+=n*H,v+=n*q,E+=n*z,k+=n*G,S+=n*V,I+=n*J,C+=n*$,B+=n*W,x+=n*Y,d+=(n=t[9])*R,g+=n*N,y+=n*L,m+=n*F,w+=n*_,b+=n*Q,A+=n*j,v+=n*H,E+=n*q,k+=n*z,S+=n*G,I+=n*V,C+=n*J,B+=n*$,x+=n*W,P+=n*Y,g+=(n=t[10])*R,y+=n*N,m+=n*L,w+=n*F,b+=n*_,A+=n*Q,v+=n*j,E+=n*H,k+=n*q,S+=n*z,I+=n*G,C+=n*V,B+=n*J,x+=n*$,P+=n*W,D+=n*Y,y+=(n=t[11])*R,m+=n*N,w+=n*L,b+=n*F,A+=n*_,v+=n*Q,E+=n*j,k+=n*H,S+=n*q,I+=n*z,C+=n*G,B+=n*V,x+=n*J,P+=n*$,D+=n*W,T+=n*Y,m+=(n=t[12])*R,w+=n*N,b+=n*L,A+=n*F,v+=n*_,E+=n*Q,k+=n*j,S+=n*H,I+=n*q,C+=n*z,B+=n*G,x+=n*V,P+=n*J,D+=n*$,T+=n*W,U+=n*Y,w+=(n=t[13])*R,b+=n*N,A+=n*L,v+=n*F,E+=n*_,k+=n*Q,S+=n*j,I+=n*H,C+=n*q,B+=n*z,x+=n*G,P+=n*V,D+=n*J,T+=n*$,U+=n*W,K+=n*Y,b+=(n=t[14])*R,A+=n*N,v+=n*L,E+=n*F,k+=n*_,S+=n*Q,I+=n*j,C+=n*H,B+=n*q,x+=n*z,P+=n*G,D+=n*V,T+=n*J,U+=n*$,K+=n*W,O+=n*Y,A+=(n=t[15])*R,a+=38*(E+=n*L),o+=38*(k+=n*F),c+=38*(S+=n*_),u+=38*(I+=n*Q),l+=38*(C+=n*j),h+=38*(B+=n*H),f+=38*(x+=n*q),p+=38*(P+=n*z),d+=38*(D+=n*G),g+=38*(T+=n*V),y+=38*(U+=n*J),m+=38*(K+=n*$),w+=38*(O+=n*W),b+=38*(M+=n*Y),s=(n=(s+=38*(v+=n*N))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),A=(n=A+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=(s+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),A=(n=A+i+65535)-65536*(i=Math.floor(n/65536)),s+=i-1+37*(i-1),e[0]=s,e[1]=a,e[2]=o,e[3]=c,e[4]=u,e[5]=l,e[6]=h,e[7]=f,e[8]=p,e[9]=d,e[10]=g,e[11]=y,e[12]=m,e[13]=w,e[14]=b,e[15]=A}function Et(e,t){vt(e,t,t)}function kt(e,t){var r,n=Xe();for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)Et(n,n),2!==r&&4!==r&&vt(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function St(e,t,r){var n,i,s=new Uint8Array(32),a=new Float64Array(80),o=Xe(),c=Xe(),u=Xe(),l=Xe(),h=Xe(),f=Xe();for(i=0;i<31;i++)s[i]=t[i];for(s[31]=127&t[31]|64,s[0]&=248,wt(a,r),i=0;i<16;i++)c[i]=a[i],l[i]=o[i]=u[i]=0;for(o[0]=l[0]=1,i=254;i>=0;--i)dt(o,c,n=s[i>>>3]>>>(7&i)&1),dt(u,l,n),bt(h,o,u),At(o,o,u),bt(u,c,l),At(c,c,l),Et(l,h),Et(f,o),vt(o,u,o),vt(u,c,h),bt(h,o,u),At(o,o,u),Et(c,o),At(u,l,f),vt(o,u,it),bt(o,o,l),vt(u,u,o),vt(o,l,f),vt(l,c,a),Et(c,h),dt(o,c,n),dt(u,l,n);for(i=0;i<16;i++)a[i+16]=o[i],a[i+32]=u[i],a[i+48]=c[i],a[i+64]=l[i];var p=a.subarray(32),d=a.subarray(16);return kt(p,p),vt(d,d,p),gt(e,d),0}function It(e,t){return St(e,t,tt)}var Ct=[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 Bt(e,t,r,n){for(var i,s,a,o,c,u,l,h,f,p,d,g,y,m,w,b,A,v,E,k,S,I,C,B,x,P,D=new Int32Array(16),T=new Int32Array(16),U=e[0],K=e[1],O=e[2],M=e[3],R=e[4],N=e[5],L=e[6],F=e[7],_=t[0],Q=t[1],j=t[2],H=t[3],q=t[4],z=t[5],G=t[6],V=t[7],J=0;n>=128;){for(E=0;E<16;E++)k=8*E+J,D[E]=r[k+0]<<24|r[k+1]<<16|r[k+2]<<8|r[k+3],T[E]=r[k+4]<<24|r[k+5]<<16|r[k+6]<<8|r[k+7];for(E=0;E<80;E++)if(i=U,s=K,a=O,o=M,c=R,u=N,l=L,f=_,p=Q,d=j,g=H,y=q,m=z,w=G,C=65535&(I=V),B=I>>>16,x=65535&(S=F),P=S>>>16,C+=65535&(I=(q>>>14|R<<18)^(q>>>18|R<<14)^(R>>>9|q<<23)),B+=I>>>16,x+=65535&(S=(R>>>14|q<<18)^(R>>>18|q<<14)^(q>>>9|R<<23)),P+=S>>>16,C+=65535&(I=q&z^~q&G),B+=I>>>16,x+=65535&(S=R&N^~R&L),P+=S>>>16,C+=65535&(I=Ct[2*E+1]),B+=I>>>16,x+=65535&(S=Ct[2*E]),P+=S>>>16,S=D[E%16],B+=(I=T[E%16])>>>16,x+=65535&S,P+=S>>>16,x+=(B+=(C+=65535&I)>>>16)>>>16,C=65535&(I=v=65535&C|B<<16),B=I>>>16,x=65535&(S=A=65535&x|(P+=x>>>16)<<16),P=S>>>16,C+=65535&(I=(_>>>28|U<<4)^(U>>>2|_<<30)^(U>>>7|_<<25)),B+=I>>>16,x+=65535&(S=(U>>>28|_<<4)^(_>>>2|U<<30)^(_>>>7|U<<25)),P+=S>>>16,B+=(I=_&Q^_&j^Q&j)>>>16,x+=65535&(S=U&K^U&O^K&O),P+=S>>>16,h=65535&(x+=(B+=(C+=65535&I)>>>16)>>>16)|(P+=x>>>16)<<16,b=65535&C|B<<16,C=65535&(I=g),B=I>>>16,x=65535&(S=o),P=S>>>16,B+=(I=v)>>>16,x+=65535&(S=A),P+=S>>>16,K=i,O=s,M=a,R=o=65535&(x+=(B+=(C+=65535&I)>>>16)>>>16)|(P+=x>>>16)<<16,N=c,L=u,F=l,U=h,Q=f,j=p,H=d,q=g=65535&C|B<<16,z=y,G=m,V=w,_=b,E%16==15)for(k=0;k<16;k++)S=D[k],C=65535&(I=T[k]),B=I>>>16,x=65535&S,P=S>>>16,S=D[(k+9)%16],C+=65535&(I=T[(k+9)%16]),B+=I>>>16,x+=65535&S,P+=S>>>16,A=D[(k+1)%16],C+=65535&(I=((v=T[(k+1)%16])>>>1|A<<31)^(v>>>8|A<<24)^(v>>>7|A<<25)),B+=I>>>16,x+=65535&(S=(A>>>1|v<<31)^(A>>>8|v<<24)^A>>>7),P+=S>>>16,A=D[(k+14)%16],B+=(I=((v=T[(k+14)%16])>>>19|A<<13)^(A>>>29|v<<3)^(v>>>6|A<<26))>>>16,x+=65535&(S=(A>>>19|v<<13)^(v>>>29|A<<3)^A>>>6),P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,D[k]=65535&x|P<<16,T[k]=65535&C|B<<16;C=65535&(I=_),B=I>>>16,x=65535&(S=U),P=S>>>16,S=e[0],B+=(I=t[0])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[0]=U=65535&x|P<<16,t[0]=_=65535&C|B<<16,C=65535&(I=Q),B=I>>>16,x=65535&(S=K),P=S>>>16,S=e[1],B+=(I=t[1])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[1]=K=65535&x|P<<16,t[1]=Q=65535&C|B<<16,C=65535&(I=j),B=I>>>16,x=65535&(S=O),P=S>>>16,S=e[2],B+=(I=t[2])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[2]=O=65535&x|P<<16,t[2]=j=65535&C|B<<16,C=65535&(I=H),B=I>>>16,x=65535&(S=M),P=S>>>16,S=e[3],B+=(I=t[3])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[3]=M=65535&x|P<<16,t[3]=H=65535&C|B<<16,C=65535&(I=q),B=I>>>16,x=65535&(S=R),P=S>>>16,S=e[4],B+=(I=t[4])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[4]=R=65535&x|P<<16,t[4]=q=65535&C|B<<16,C=65535&(I=z),B=I>>>16,x=65535&(S=N),P=S>>>16,S=e[5],B+=(I=t[5])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[5]=N=65535&x|P<<16,t[5]=z=65535&C|B<<16,C=65535&(I=G),B=I>>>16,x=65535&(S=L),P=S>>>16,S=e[6],B+=(I=t[6])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[6]=L=65535&x|P<<16,t[6]=G=65535&C|B<<16,C=65535&(I=V),B=I>>>16,x=65535&(S=F),P=S>>>16,S=e[7],B+=(I=t[7])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[7]=F=65535&x|P<<16,t[7]=V=65535&C|B<<16,J+=128,n-=128}return n}function xt(e,t,r){var n,i=new Int32Array(8),s=new Int32Array(8),a=new Uint8Array(256),o=r;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,s[0]=4089235720,s[1]=2227873595,s[2]=4271175723,s[3]=1595750129,s[4]=2917565137,s[5]=725511199,s[6]=4215389547,s[7]=327033209,Bt(i,s,t,r),r%=128,n=0;n=0;--i)Dt(e,t,n=r[i/8|0]>>(7&i)&1),Pt(t,e),Pt(e,e),Dt(e,t,n)}function Kt(e,t){var r=[Xe(),Xe(),Xe(),Xe()];ft(r[0],ot),ft(r[1],ct),ft(r[2],nt),vt(r[3],ot,ct),Ut(e,r,t)}function Ot(e,t,r){var n,i=new Uint8Array(64),s=[Xe(),Xe(),Xe(),Xe()];for(r||et(t,32),xt(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,Kt(s,i),Tt(e,s),n=0;n<32;n++)t[n+32]=e[n];return 0}var Mt=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Rt(e,t){var r,n,i,s;for(n=63;n>=32;--n){for(r=0,i=n-32,s=n-12;i>4)*Mt[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*Mt[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function Nt(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;Rt(e,r)}var Lt=64;function Ft(){for(var e=0;e=0;r--)Et(n,n),1!==r&&vt(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}(r,r),vt(r,r,i),vt(r,r,s),vt(r,r,s),vt(e[0],r,s),Et(n,e[0]),vt(n,n,s),yt(n,i)&&vt(e[0],e[0],ut),Et(n,e[0]),vt(n,n,s),yt(n,i)?-1:(mt(e[0])===t[31]>>7&&At(e[0],rt,e[0]),vt(e[3],e[0],e[1]),0)}(c,n))return-1;for(i=0;i=0},Ze.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return Ot(e,t),{publicKey:e,secretKey:t}},Ze.sign.keyPair.fromSecretKey=function(e){if(Ft(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r=1){const t=e[0];if(e.length>=1+t)return this.oid=e.subarray(1,1+t),1+this.oid.length}throw new Error("Invalid oid")}write(){return _.concatUint8Array([new Uint8Array([this.oid.length]),this.oid])}toHex(){return _.uint8ArrayToHex(this.oid)}getName(){const e=_t[this.toHex()];if(!e)throw new Error("Unknown curve object identifier.");return e}}function jt(e){let t,r=0;const n=e[0];return n<192?([r]=e,t=1):n<255?(r=(e[0]-192<<8)+e[1]+192,t=2):255===n&&(r=_.readNumber(e.subarray(1,5)),t=5),{len:r,offset:t}}function Ht(e){return e<192?new Uint8Array([e]):e>191&&e<8384?new Uint8Array([192+(e-192>>8),e-192&255]):_.concatUint8Array([new Uint8Array([255]),_.writeNumber(e,4)])}function qt(e){if(e<0||e>30)throw new Error("Partial Length power must be between 1 and 30");return new Uint8Array([224+e])}function zt(e){return new Uint8Array([192|e])}function Gt(e,t){return _.concatUint8Array([zt(e),Ht(t)])}function Vt(e){return[N.packet.literalData,N.packet.compressedData,N.packet.symmetricallyEncryptedData,N.packet.symEncryptedIntegrityProtectedData,N.packet.aeadEncryptedData].includes(e)}async function Jt(e,t,r){let n,i;try{const s=await e.peekBytes(2);if(!s||s.length<2||!(128&s[0]))throw new Error("Error during parsing. This message / key probably does not conform to a valid OpenPGP format.");const a=await e.readByte();let o,c,l=-1,h=-1;h=0,64&a&&(h=1),h?l=63&a:(l=(63&a)>>2,c=3&a);const f=Vt(l);let p,d=null;if(t&&f){if("array"===t){const e=new u;n=M(e),d=e}else{const e=new TransformStream;n=M(e.writable),d=e.readable}i=r({tag:l,packet:d})}else d=[];do{if(h){const t=await e.readByte();if(p=!1,t<192)o=t;else if(t>=192&&t<224)o=(t-192<<8)+await e.readByte()+192;else if(t>223&&t<255){if(o=1<<(31&t),p=!0,!f)throw new TypeError("This packet type does not support partial lengths.")}else o=await e.readByte()<<24|await e.readByte()<<16|await e.readByte()<<8|await e.readByte()}else switch(c){case 0:o=await e.readByte();break;case 1:o=await e.readByte()<<8|await e.readByte();break;case 2:o=await e.readByte()<<24|await e.readByte()<<16|await e.readByte()<<8|await e.readByte();break;default:o=1/0}if(o>0){let t=0;for(;;){n&&await n.ready;const{done:r,value:i}=await e.read();if(r){if(o===1/0)break;throw new Error("Unexpected end of packet")}const s=o===1/0?i:i.subarray(0,o-t);if(n?await n.write(s):d.push(s),t+=i.length,t>=o){e.unshift(i.subarray(o-t+i.length));break}}}}while(p);n?(await n.ready,await n.close()):(d=_.concatUint8Array(d),await r({tag:l,packet:d}))}catch(e){if(n)return await n.abort(e),!0;throw e}finally{n&&await i}}class $t extends Error{constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,$t),this.name="UnsupportedError"}}class Wt extends $t{constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,$t),this.name="UnknownPacketError"}}class Yt extends $t{constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,$t),this.name="MalformedPacketError"}}class Zt{constructor(e,t){this.tag=e,this.rawContent=t}write(){return this.rawContent}}async function Xt(e){switch(e){case N.publicKey.ed25519:try{const e=_.getWebCrypto(),t=await e.generateKey("Ed25519",!0,["sign","verify"]).catch((e=>{if("OperationError"===e.name){const e=new Error("Unexpected key generation issue");throw e.name="NotSupportedError",e}throw e})),r=await e.exportKey("jwk",t.privateKey),n=await e.exportKey("jwk",t.publicKey);return{A:new Uint8Array(G(n.x)),seed:G(r.d)}}catch(t){if("NotSupportedError"!==t.name)throw t;const r=ye(nr(e)),{publicKey:n}=Ze.sign.keyPair.fromSeed(r);return{A:n,seed:r}}case N.publicKey.ed448:{const e=await _.getNobleCurve(N.publicKey.ed448),t=e.utils.randomPrivateKey();return{A:e.getPublicKey(t),seed:t}}default:throw new Error("Unsupported EdDSA algorithm")}}async function er(e,t,r,n,i,s){if(Ne(t){if(e===N.publicKey.ed25519)return{kty:"OKP",crv:"Ed25519",x:V(t),ext:!0};throw new Error("Unsupported EdDSA algorithm")},ar=(e,t,r)=>{if(e===N.publicKey.ed25519){const n=sr(e,t);return n.d=V(r),n}throw new Error("Unsupported EdDSA algorithm")};var or=Object.freeze({__proto__:null,generate:Xt,getPayloadSize:nr,getPreferredHashAlgo:ir,sign:er,validateParams:rr,verify:tr});function cr(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function ur(e,...t){if(!cr(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function lr(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function hr(e,t){ur(e);const r=t.outputLen;if(e.length68===new Uint8Array(new Uint32Array([287454020]).buffer)[0])();function mr(e){if("string"==typeof e)e=function(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))}(e);else{if(!cr(e))throw new Error("Uint8Array expected, got "+typeof e);e=Ir(e)}return e}function wr(e,t){return e.buffer===t.buffer&&e.byteOffset{function r(r,...n){if(ur(r),!yr)throw new Error("Non little-endian hardware is not yet supported");if(void 0!==e.nonceLength){const t=n[0];if(!t)throw new Error("nonce / iv required");e.varSizeNonce?ur(t):ur(t,e.nonceLength)}const i=e.tagLength;i&&void 0!==n[1]&&ur(n[1]);const s=t(r,...n),a=(e,t)=>{if(void 0!==t){if(2!==e)throw new Error("cipher output not supported");ur(t)}};let o=!1;return{encrypt(e,t){if(o)throw new Error("cannot encrypt() twice with same key + nonce");return o=!0,ur(e),a(s.encrypt.length,t),s.encrypt(e,t)},decrypt(e,t){if(ur(e),i&&e.length>i&s),o=Number(r&s);e.setUint32(t+0,a,n),e.setUint32(t+4,o,n)}function Sr(e){return e.byteOffset%4==0}function Ir(e){return Uint8Array.from(e)}const Cr=16,Br=new Uint8Array(16),xr=pr(Br),Pr=e=>(e>>>0&255)<<24|(e>>>8&255)<<16|(e>>>16&255)<<8|e>>>24&255;class Dr{constructor(e,t){this.blockLen=Cr,this.outputLen=Cr,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,ur(e=mr(e),16);const r=gr(e);let n=r.getUint32(0,!1),i=r.getUint32(4,!1),s=r.getUint32(8,!1),a=r.getUint32(12,!1);const o=[];for(let e=0;e<128;e++)o.push({s0:Pr(n),s1:Pr(i),s2:Pr(s),s3:Pr(a)}),({s0:n,s1:i,s2:s,s3:a}={s3:(l=s)<<31|(h=a)>>>1,s2:(u=i)<<31|l>>>1,s1:(c=n)<<31|u>>>1,s0:c>>>1^225<<24&-(1&h)});var c,u,l,h;const f=(p=t||1024)>65536?8:p>1024?4:2;var p;if(![1,2,4,8].includes(f))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=f;const d=128/f,g=this.windowSize=2**f,y=[];for(let e=0;e>>f-a-1&1))continue;const{s0:c,s1:u,s2:l,s3:h}=o[f*e+a];r^=c,n^=u,i^=l,s^=h}y.push({s0:r,s1:n,s2:i,s3:s})}this.t=y}_updateBlock(e,t,r,n){e^=this.s0,t^=this.s1,r^=this.s2,n^=this.s3;const{W:i,t:s,windowSize:a}=this;let o=0,c=0,u=0,l=0;const h=(1<>>8*e&255;for(let e=8/i-1;e>=0;e--){const r=t>>>i*e&h,{s0:n,s1:p,s2:d,s3:g}=s[f*a+r];o^=n,c^=p,u^=d,l^=g,f+=1}}this.s0=o,this.s1=c,this.s2=u,this.s3=l}update(e){lr(this),ur(e=mr(e));const t=pr(e),r=Math.floor(e.length/Cr),n=e.length%Cr;for(let e=0;e>>1|r,r=(1&n)<<7}return e[0]^=225&-t,e}(Ir(e));super(r,t),dr(r)}update(e){e=mr(e),lr(this);const t=pr(e),r=e.length%Cr,n=Math.floor(e.length/Cr);for(let e=0;ee(r,t.length).update(mr(t)).digest(),r=e(new Uint8Array(16),0);return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=(t,r)=>e(t,r),t}const Kr=Ur(((e,t)=>new Dr(e,t)));Ur(((e,t)=>new Tr(e,t)));const Or=16,Mr=new Uint8Array(Or);function Rr(e){return e<<1^283&-(e>>7)}function Nr(e,t){let r=0;for(;t>0;t>>=1)r^=e&-(1&t),e=Rr(e);return r}const Lr=(()=>{const e=new Uint8Array(256);for(let t=0,r=1;t<256;t++,r^=Rr(r))e[t]=r;const t=new Uint8Array(256);t[0]=99;for(let r=0;r<255;r++){let n=e[255-r];n|=n<<8,t[e[r]]=255&(n^n>>4^n>>5^n>>6^n>>7^99)}return dr(e),t})(),Fr=Lr.map(((e,t)=>Lr.indexOf(t))),_r=e=>e<<8|e>>>24,Qr=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function jr(e,t){if(256!==e.length)throw new Error("Wrong sbox length");const r=new Uint32Array(256).map(((r,n)=>t(e[n]))),n=r.map(_r),i=n.map(_r),s=i.map(_r),a=new Uint32Array(65536),o=new Uint32Array(65536),c=new Uint16Array(65536);for(let t=0;t<256;t++)for(let u=0;u<256;u++){const l=256*t+u;a[l]=r[t]^n[u],o[l]=i[t]^s[u],c[l]=e[t]<<8|e[u]}return{sbox:e,sbox2:c,T0:r,T1:n,T2:i,T3:s,T01:a,T23:o}}const Hr=jr(Lr,(e=>Nr(e,3)<<24|e<<16|e<<8|Nr(e,2))),qr=jr(Fr,(e=>Nr(e,11)<<24|Nr(e,13)<<16|Nr(e,9)<<8|Nr(e,14))),zr=(()=>{const e=new Uint8Array(16);for(let t=0,r=1;t<16;t++,r=Rr(r))e[t]=r;return e})();function Gr(e){ur(e);const t=e.length;if(![16,24,32].includes(t))throw new Error("aes: invalid key size, should be 16, 24 or 32, got "+t);const{sbox2:r}=Hr,n=[];Sr(e)||n.push(e=Ir(e));const i=pr(e),s=i.length,a=e=>$r(r,e,e,e,e),o=new Uint32Array(t+28);o.set(i);for(let e=s;e>>8)^zr[e/s-1]:s>6&&e%s===4&&(t=a(t)),o[e]=o[e-s]^t}var c;return dr(...n),o}function Vr(e){const t=Gr(e),r=t.slice(),n=t.length,{sbox2:i}=Hr,{T0:s,T1:a,T2:o,T3:c}=qr;for(let e=0;e>>8&255]^o[n>>>16&255]^c[n>>>24]}return r}function Jr(e,t,r,n,i,s){return e[r<<8&65280|n>>>8&255]^t[i>>>8&65280|s>>>24&255]}function $r(e,t,r,n,i){return e[255&t|65280&r]|e[n>>>16&255|i>>>16&65280]<<16}function Wr(e,t,r,n,i){const{sbox2:s,T01:a,T23:o}=Hr;let c=0;t^=e[c++],r^=e[c++],n^=e[c++],i^=e[c++];const u=e.length/4-2;for(let s=0;s=0;e--)r=r+(255&s[e])|0,s[e]=255&r,r>>>=8;({s0:o,s1:c,s2:u,s3:l}=Wr(e,a[0],a[1],a[2],a[3]))}const p=Or*Math.floor(h.length/4);if(p>>0,o.setUint32(l,f,t),({s0:p,s1:d,s2:g,s3:y}=Wr(e,a[0],a[1],a[2],a[3]));const m=Or*Math.floor(c.length/4);if(mr(e,t),decrypt:(e,t)=>r(e,t)}})),tn=vr({blockSize:16,nonceLength:16},(function(e,t,r={}){const n=!r.disablePadding;return{encrypt(r,i){const s=Gr(e),{b:a,o,out:c}=function(e,t,r){ur(e);let n=e.length;const i=n%Or;if(!t&&0!==i)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");Sr(e)||(e=Ir(e));const s=pr(e);if(t){let e=Or-i;e||(e=Or),n+=e}return br(e,r=Er(n,r)),{b:s,o:pr(r),out:r}}(r,n,i);let u=t;const l=[s];Sr(u)||l.push(u=Ir(u));const h=pr(u);let f=h[0],p=h[1],d=h[2],g=h[3],y=0;for(;y+4<=a.length;)f^=a[y+0],p^=a[y+1],d^=a[y+2],g^=a[y+3],({s0:f,s1:p,s2:d,s3:g}=Wr(s,f,p,d,g)),o[y++]=f,o[y++]=p,o[y++]=d,o[y++]=g;if(n){const e=function(e){const t=new Uint8Array(16),r=pr(t);t.set(e);const n=Or-e.length;for(let e=Or-n;e16)throw new Error("aes/pcks5: wrong padding");const i=e.subarray(0,-n);for(let t=0;tr(e,!0,t),decrypt:(e,t)=>r(e,!1,t)}}));const nn=vr({blockSize:16,nonceLength:12,tagLength:16,varSizeNonce:!0},(function(e,t,r){if(t.length<8)throw new Error("aes/gcm: invalid nonce length");function n(e,t,n){const i=function(e,t,r,n,i){const s=i?i.length:0,a=e.create(r,n.length+s);i&&a.update(i);const o=function(e,t,r){const n=new Uint8Array(16),i=gr(n);return kr(i,0,BigInt(t),r),kr(i,8,BigInt(e),r),n}(8*n.length,8*s,t);a.update(n),a.update(o);const c=a.digest();return dr(o),c}(Kr,!1,e,n,r);for(let e=0;e=2**32)throw new Error("plaintext should be less than 4gb");const r=Gr(e);if(16===t.length)an(r,t);else{const e=pr(t);let n=e[0],i=e[1];for(let t=0,s=1;t<6;t++)for(let t=2;t=2**32)throw new Error("ciphertext should be less than 4gb");const r=Vr(e),n=t.length/8-1;if(1===n)on(r,t);else{const e=pr(t);let i=e[0],s=e[1];for(let t=0,a=6*n;t<6;t++)for(let t=2*n;t>=1;t-=2,a--){s^=Qr(a);const{s0:n,s1:o,s2:c,s3:u}=Yr(r,i,s,e[t],e[t+1]);i=n,s=o,e[t]=c,e[t+1]=u}e[0]=i,e[1]=s}r.fill(0)}},un=new Uint8Array(8).fill(166),ln=vr({blockSize:8},(e=>({encrypt(t){if(!t.length||t.length%8!=0)throw new Error("invalid plaintext length");if(8===t.length)throw new Error("8-byte keys not allowed in AESKW, use AESKWP instead");const r=function(...e){let t=0;for(let r=0;r{if("OperationError"===e.name){const e=new Error("Unexpected key generation issue");throw e.name="NotSupportedError",e}throw e})),r=await e.exportKey("jwk",t.privateKey),n=await e.exportKey("jwk",t.publicKey);if(r.x!==n.x){const e=new Error("Unexpected mismatching public point");throw e.name="NotSupportedError",e}return{A:new Uint8Array(G(n.x)),k:G(r.d)}}catch(e){if("NotSupportedError"!==e.name)throw e;const t=ye(32),{publicKey:r}=Ze.box.keyPair.fromSecretKey(t);return{A:r,k:t}}case N.publicKey.x448:{const e=await _.getNobleCurve(N.publicKey.x448),t=e.utils.randomPrivateKey();return{A:e.getPublicKey(t),k:t}}default:throw new Error("Unsupported ECDH algorithm")}}async function kn(e,t,r){switch(e){case N.publicKey.x25519:{const{publicKey:e}=Ze.box.keyPair.fromSecretKey(r);return _.equalsUint8Array(t,e)}case N.publicKey.x448:{const e=(await _.getNobleCurve(N.publicKey.x448)).getPublicKey(r);return _.equalsUint8Array(t,e)}default:return!1}}async function Sn(e,t,r){const{ephemeralPublicKey:n,sharedSecret:i}=await Bn(e,r),s=_.concatUint8Array([n,r,i]);switch(e){case N.publicKey.x25519:{const e=N.symmetric.aes128,{keySize:r}=gn(e),i=await An(N.hash.sha256,s,new Uint8Array,vn.x25519,r);return{ephemeralPublicKey:n,wrappedKey:await mn(e,i,t)}}case N.publicKey.x448:{const e=N.symmetric.aes256,{keySize:r}=gn(N.symmetric.aes256),i=await An(N.hash.sha512,s,new Uint8Array,vn.x448,r);return{ephemeralPublicKey:n,wrappedKey:await mn(e,i,t)}}default:throw new Error("Unsupported ECDH algorithm")}}async function In(e,t,r,n,i){const s=await xn(e,t,n,i),a=_.concatUint8Array([t,n,s]);switch(e){case N.publicKey.x25519:{const e=N.symmetric.aes128,{keySize:t}=gn(e);return wn(e,await An(N.hash.sha256,a,new Uint8Array,vn.x25519,t),r)}case N.publicKey.x448:{const e=N.symmetric.aes256,{keySize:t}=gn(N.symmetric.aes256);return wn(e,await An(N.hash.sha512,a,new Uint8Array,vn.x448,t),r)}default:throw new Error("Unsupported ECDH algorithm")}}function Cn(e){switch(e){case N.publicKey.x25519:return 32;case N.publicKey.x448:return 56;default:throw new Error("Unsupported ECDH algorithm")}}async function Bn(e,t){switch(e){case N.publicKey.x25519:try{const r=_.getWebCrypto(),n=await r.generateKey("X25519",!0,["deriveKey","deriveBits"]).catch((e=>{if("OperationError"===e.name){const e=new Error("Unexpected key generation issue");throw e.name="NotSupportedError",e}throw e})),i=await r.exportKey("jwk",n.publicKey);if((await r.exportKey("jwk",n.privateKey)).x!==i.x){const e=new Error("Unexpected mismatching public point");throw e.name="NotSupportedError",e}const s=Dn(e,t),a=await r.importKey("jwk",s,"X25519",!1,[]),o=await r.deriveBits({name:"X25519",public:a},n.privateKey,8*Cn(e));return{sharedSecret:new Uint8Array(o),ephemeralPublicKey:new Uint8Array(G(i.x))}}catch(r){if("NotSupportedError"!==r.name)throw r;const n=ye(Cn(e)),i=Ze.scalarMult(n,t);Pn(i);const{publicKey:s}=Ze.box.keyPair.fromSecretKey(n);return{ephemeralPublicKey:s,sharedSecret:i}}case N.publicKey.x448:{const e=await _.getNobleCurve(N.publicKey.x448),r=e.utils.randomPrivateKey(),n=e.getSharedSecret(r,t);return Pn(n),{ephemeralPublicKey:e.getPublicKey(r),sharedSecret:n}}default:throw new Error("Unsupported ECDH algorithm")}}async function xn(e,t,r,n){switch(e){case N.publicKey.x25519:try{const i=_.getWebCrypto(),s=function(e,t,r){if(e===N.publicKey.x25519){const n=Dn(e,t);return n.d=V(r),n}throw new Error("Unsupported ECDH algorithm")}(e,r,n),a=Dn(e,t),o=await i.importKey("jwk",s,"X25519",!1,["deriveKey","deriveBits"]),c=await i.importKey("jwk",a,"X25519",!1,[]),u=await i.deriveBits({name:"X25519",public:c},o,8*Cn(e));return new Uint8Array(u)}catch(e){if("NotSupportedError"!==e.name)throw e;const r=Ze.scalarMult(n,t);return Pn(r),r}case N.publicKey.x448:{const e=(await _.getNobleCurve(N.publicKey.x448)).getSharedSecret(n,t);return Pn(e),e}default:throw new Error("Unsupported ECDH algorithm")}}function Pn(e){let t=0;for(let r=0;r0===s[0]&&Yn(a,r,s.subarray(1),i);if(n&&!_.isStream(n))switch(a.type){case"web":try{const e=await async function(e,t,{r,s:n},i,s){const a=zn(e.payloadSize,On[e.name],s),o=await Vn.importKey("jwk",a,{name:"ECDSA",namedCurve:On[e.name],hash:{name:N.read(N.webHash,e.hash)}},!1,["verify"]),c=_.concatUint8Array([r,n]).buffer;return Vn.verify({name:"ECDSA",namedCurve:On[e.name],hash:{name:N.read(N.webHash,t)}},o,c,i)}(a,t,r,n,i);return e||o()}catch(e){if("nistP521"!==a.name&&("DataError"===e.name||"OperationError"===e.name))throw e;_.printDebugError("Browser did not support verifying: "+e.message)}break;case"node":{const e=await async function(e,t,{r,s:n},i,s){const a=_.nodeRequire("eckey-utils"),o=_.getNodeBuffer(),{publicKey:c}=a.generateDer({curveName:Rn[e.name],publicKey:o.from(s)}),u=Jn.createVerify(N.read(N.hash,t));u.write(i),u.end();const l=_.concatUint8Array([r,n]);try{return u.verify({key:c,format:"der",type:"spki",dsaEncoding:"ieee-p1363"},l)}catch(e){return!1}}(a,t,r,n,i);return e||o()}}return await Yn(a,r,s,i)||o()}async function Yn(e,t,r,n){return(await _.getNobleCurve(N.publicKey.ecdsa,e.name)).verify(_.concatUint8Array([t.r,t.s]),r,n,{lowS:!1})}var Zn=Object.freeze({__proto__:null,sign:$n,validateParams:async function(e,t,r){const n=new Ln(e);if(n.keyType!==N.publicKey.ecdsa)return!1;switch(n.type){case"web":case"node":{const n=ye(8),i=N.hash.sha256,s=await Re(i,n);try{const a=await $n(e,i,n,t,r,s);return await Wn(e,i,a,n,t,s)}catch(e){return!1}}default:return Qn(N.publicKey.ecdsa,e,t,r)}},verify:Wn});async function Xn(e,t,r,n,i,s){if(jn(new Ln(e),n),Ne(t)0){const r=e[t-1];if(r>=1){const n=e.subarray(t-r),i=new Uint8Array(r).fill(r);if(_.equalsUint8Array(n,i))return e.subarray(0,t-r)}}throw new Error("Invalid padding")}const ii=_.getWebCrypto(),si=_.getNodeCrypto();function ai(e,t,r,n){return _.concatUint8Array([t.write(),new Uint8Array([e]),r.write(),_.stringToUint8Array("Anonymous Sender "),n])}async function oi(e,t,r,n,i=!1,s=!1){let a;if(i){for(a=0;a=0&&0===t[a];a--);t=t.subarray(0,a+1)}return(await Re(e,_.concatUint8Array([new Uint8Array([0,0,0,1]),t,n]))).subarray(0,r)}async function ci(e,t,r,n,i){const s=function(e){const t=8-e.length%8,r=new Uint8Array(e.length+t).fill(t);return r.set(e),r}(r),a=new Ln(e);jn(a,n);const{publicKey:o,sharedKey:c}=await async function(e,t){switch(e.type){case"curve25519Legacy":{const{sharedSecret:r,ephemeralPublicKey:n}=await Bn(N.publicKey.x25519,t.subarray(1));return{publicKey:_.concatUint8Array([new Uint8Array([e.wireFormatLeadingByte]),n]),sharedKey:r}}case"web":if(e.web&&_.getWebCrypto())try{return await async function(e,t){const r=zn(e.payloadSize,e.web,t);let n=ii.generateKey({name:"ECDH",namedCurve:e.web},!0,["deriveKey","deriveBits"]),i=ii.importKey("jwk",r,{name:"ECDH",namedCurve:e.web},!1,[]);[n,i]=await Promise.all([n,i]);let s=ii.deriveBits({name:"ECDH",namedCurve:e.web,public:i},n.privateKey,e.sharedSize),a=ii.exportKey("jwk",n.publicKey);[s,a]=await Promise.all([s,a]);const o=new Uint8Array(s);return{publicKey:new Uint8Array(qn(a,e.wireFormatLeadingByte)),sharedKey:o}}(e,t)}catch(r){return _.printDebugError(r),hi(e,t)}break;case"node":return async function(e,t){const r=si.createECDH(e.node);r.generateKeys();const n=new Uint8Array(r.computeSecret(t));return{publicKey:new Uint8Array(r.getPublicKey()),sharedKey:n}}(e,t);default:return hi(e,t)}}(a,n),u=ai(N.publicKey.ecdh,e,t,i),{keySize:l}=gn(t.cipher),h=await oi(t.hash,c,l,u);return{publicKey:o,wrappedKey:await mn(t.cipher,h,s)}}async function ui(e,t,r,n,i,s,a){const o=new Ln(e);jn(o,i),jn(o,r);const{sharedKey:c}=await async function(e,t,r,n){if(n.length!==e.payloadSize){const t=new Uint8Array(e.payloadSize);t.set(n,e.payloadSize-n.length),n=t}switch(e.type){case"curve25519Legacy":{const e=n.slice().reverse();return{secretKey:e,sharedKey:await xn(N.publicKey.x25519,t.subarray(1),r.subarray(1),e)}}case"web":if(e.web&&_.getWebCrypto())try{return await async function(e,t,r,n){const i=Gn(e.payloadSize,e.web,r,n);let s=ii.importKey("jwk",i,{name:"ECDH",namedCurve:e.web},!0,["deriveKey","deriveBits"]);const a=zn(e.payloadSize,e.web,t);let o=ii.importKey("jwk",a,{name:"ECDH",namedCurve:e.web},!0,[]);[s,o]=await Promise.all([s,o]);let c=ii.deriveBits({name:"ECDH",namedCurve:e.web,public:o},s,e.sharedSize),u=ii.exportKey("jwk",s);[c,u]=await Promise.all([c,u]);const l=new Uint8Array(c);return{secretKey:G(u.d),sharedKey:l}}(e,t,r,n)}catch(r){return _.printDebugError(r),li(e,t,n)}break;case"node":return async function(e,t,r){const n=si.createECDH(e.node);n.setPrivateKey(r);const i=new Uint8Array(n.computeSecret(t));return{secretKey:new Uint8Array(n.getPrivateKey()),sharedKey:i}}(e,t,n);default:return li(e,t,n)}}(o,r,i,s),u=ai(N.publicKey.ecdh,e,t,a),{keySize:l}=gn(t.cipher);let h;for(let e=0;e<3;e++)try{const r=await oi(t.hash,c,l,u,1===e,2===e);return ni(await wn(t.cipher,r,n))}catch(e){h=e}throw h}async function li(e,t,r){return{secretKey:r,sharedKey:(await _.getNobleCurve(N.publicKey.ecdh,e.name)).getSharedSecret(r,t).subarray(1)}}async function hi(e,t){const r=await _.getNobleCurve(N.publicKey.ecdh,e.name),{publicKey:n,privateKey:i}=await e.genKeyPair();return{publicKey:n,sharedKey:r.getSharedSecret(i,t).subarray(1)}}var fi=Object.freeze({__proto__:null,decrypt:ui,encrypt:ci,validateParams:async function(e,t,r){return Qn(N.publicKey.ecdh,e,t,r)}}),pi=Object.freeze({__proto__:null,CurveWithOID:Ln,ecdh:fi,ecdhX:Tn,ecdsa:Zn,eddsa:or,eddsaLegacy:ri,generate:Fn,getPreferredHashAlgo:_n});const di=BigInt(0),gi=BigInt(1);class yi{constructor(e){e&&(this.data=e)}read(e){if(e.length>=1){const t=e[0];if(e.length>=1+t)return this.data=e.subarray(1,1+t),1+this.data.length}throw new Error("Invalid symmetric key")}write(){return _.concatUint8Array([new Uint8Array([this.data.length]),this.data])}}class mi{constructor(e){if(e){const{hash:t,cipher:r}=e;this.hash=t,this.cipher=r}else this.hash=null,this.cipher=null}read(e){if(e.length<4||3!==e[0]||1!==e[1])throw new $t("Cannot read KDFParams");return this.hash=e[2],this.cipher=e[3],4}write(){return new Uint8Array([3,1,this.hash,this.cipher])}}class wi{static fromObject({wrappedKey:e,algorithm:t}){const r=new wi;return r.wrappedKey=e,r.algorithm=t,r}read(e){let t=0,r=e[t++];this.algorithm=r%2?e[t++]:null,r-=r%2,this.wrappedKey=_.readExactSubarray(e,t,t+r),t+=r}write(){return _.concatUint8Array([this.algorithm?new Uint8Array([this.wrappedKey.length+1,this.algorithm]):new Uint8Array([this.wrappedKey.length]),this.wrappedKey])}}async function bi(e,t,r,n,i,s){switch(e){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:{const{c:e}=n,{n:i,e:a}=t,{d:o,p:c,q:u,u:l}=r;return async function(e,t,r,n,i,s,a,o){if(_.getNodeCrypto()&&!o)try{return await async function(e,t,r,n,i,s,a){const o={key:await Ve(t,r,n,i,s,a),format:"jwk",type:"pkcs1",padding:He.constants.RSA_PKCS1_PADDING};try{return new Uint8Array(He.privateDecrypt(o,e))}catch(e){throw new Error("Decryption error")}}(e,t,r,n,i,s,a)}catch(e){_.printDebugError(e)}return async function(e,t,r,n,i,s,a,o){if(e=se(e),t=se(t),r=se(r),n=se(n),i=se(i),s=se(s),a=se(a),e>=t)throw new Error("Data too large.");const c=ae(n,s-qe),u=ae(n,i-qe),l=me(BigInt(2),t),h=oe(ue(l,t),r,t),f=oe(e=ae(e*h,t),u,i);let p=ae(a*(oe(e,c,s)-f),s)*i+f;return p=ae(p*l,t),_e(de(p,"be",pe(t)),o)}(e,t,r,n,i,s,a,o)}(e,i,a,o,c,u,l,s)}case N.publicKey.elgamal:{const{c1:e,c2:i}=n;return async function(e,t,r,n,i){return e=se(e),t=se(t),r=se(r),_e(de(ae(ue(oe(e,n=se(n),r),r)*t,r),"be",pe(r)),i)}(e,i,t.p,r.x,s)}case N.publicKey.ecdh:{const{oid:e,Q:s,kdfParams:a}=t,{d:o}=r,{V:c,C:u}=n;return ui(e,a,c,u.data,s,o,i)}case N.publicKey.x25519:case N.publicKey.x448:{const{A:i}=t,{k:s}=r,{ephemeralPublicKey:a,C:o}=n;if(null!==o.algorithm&&!_.isAES(o.algorithm))throw new Error("AES session key expected");return In(e,a,o.wrappedKey,i,s)}default:throw new Error("Unknown public key encryption algorithm.")}}function Ai(e,t,r){let n=0;switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:{const e=_.readMPI(t.subarray(n));n+=e.length+2;const r=_.readMPI(t.subarray(n));n+=r.length+2;const i=_.readMPI(t.subarray(n));n+=i.length+2;const s=_.readMPI(t.subarray(n));return n+=s.length+2,{read:n,privateParams:{d:e,p:r,q:i,u:s}}}case N.publicKey.dsa:case N.publicKey.elgamal:{const e=_.readMPI(t.subarray(n));return n+=e.length+2,{read:n,privateParams:{x:e}}}case N.publicKey.ecdsa:case N.publicKey.ecdh:{const i=Si(e,r.oid);let s=_.readMPI(t.subarray(n));return n+=s.length+2,s=_.leftPad(s,i),{read:n,privateParams:{d:s}}}case N.publicKey.eddsaLegacy:{const i=Si(e,r.oid);if(r.oid.getName()!==N.curve.ed25519Legacy)throw new Error("Unexpected OID for eddsaLegacy");let s=_.readMPI(t.subarray(n));return n+=s.length+2,s=_.leftPad(s,i),{read:n,privateParams:{seed:s}}}case N.publicKey.ed25519:case N.publicKey.ed448:{const r=Si(e),i=_.readExactSubarray(t,n,n+r);return n+=i.length,{read:n,privateParams:{seed:i}}}case N.publicKey.x25519:case N.publicKey.x448:{const r=Si(e),i=_.readExactSubarray(t,n,n+r);return n+=i.length,{read:n,privateParams:{k:i}}}default:throw new $t("Unknown public key encryption algorithm.")}}function vi(e,t){const r=new Set([N.publicKey.ed25519,N.publicKey.x25519,N.publicKey.ed448,N.publicKey.x448]),n=Object.keys(t).map((n=>{const i=t[n];return _.isUint8Array(i)?r.has(e)?i:_.uint8ArrayToMPI(i):i.write()}));return _.concatUint8Array(n)}function Ei(e){const{keySize:t}=gn(e);return ye(t)}function ki(e){try{e.getName()}catch(e){throw new $t("Unknown curve OID")}}function Si(e,t){switch(e){case N.publicKey.ecdsa:case N.publicKey.ecdh:case N.publicKey.eddsaLegacy:return new Ln(t).payloadSize;case N.publicKey.ed25519:case N.publicKey.ed448:return nr(e);case N.publicKey.x25519:case N.publicKey.x448:return Cn(e);default:throw new Error("Unknown elliptic algo")}}const Ii=_.getWebCrypto(),Ci=_.getNodeCrypto(),Bi=Ci?Ci.getCiphers():[],xi={idea:Bi.includes("idea-cfb")?"idea-cfb":void 0,tripledes:Bi.includes("des-ede3-cfb")?"des-ede3-cfb":void 0,cast5:Bi.includes("cast5-cfb")?"cast5-cfb":void 0,blowfish:Bi.includes("bf-cfb")?"bf-cfb":void 0,aes128:Bi.includes("aes-128-cfb")?"aes-128-cfb":void 0,aes192:Bi.includes("aes-192-cfb")?"aes-192-cfb":void 0,aes256:Bi.includes("aes-256-cfb")?"aes-256-cfb":void 0};async function Pi(e){const{blockSize:t}=gn(e),r=await ye(t),n=new Uint8Array([r[r.length-2],r[r.length-1]]);return _.concat([r,n])}async function Di(e,t,r,n,i){const s=N.read(N.symmetric,e);if(_.getNodeCrypto()&&xi[s])return function(e,t,r,n){const i=N.read(N.symmetric,e),s=new Ci.createCipheriv(xi[i],t,n);return S(r,(e=>new Uint8Array(s.update(e))))}(e,t,r,n);if(_.isAES(e))return async function(e,t,r,n){if(Ii&&await Ui.isSupported(e)){const i=new Ui(e,t,n);return _.isStream(r)?S(r,(e=>i.encryptChunk(e)),(()=>i.finish())):i.encrypt(r)}if(_.isStream(r)){const i=new Ki(!0,e,t,n);return S(r,(e=>i.processChunk(e)),(()=>i.finish()))}return rn(t,n).encrypt(r)}(e,t,r,n);const a=new(await fn(e))(t),o=a.blockSize,c=n.slice();let u=new Uint8Array;const l=e=>{e&&(u=_.concatUint8Array([u,e]));const t=new Uint8Array(u.length);let r,n=0;for(;e?u.length>=o:u.length;){const e=a.encrypt(c);for(r=0;rnew Uint8Array(s.update(e))))}(e,t,r,n);if(_.isAES(e))return async function(e,t,r,n){if(_.isStream(r)){const i=new Ki(!1,e,t,n);return S(r,(e=>i.processChunk(e)),(()=>i.finish()))}return rn(t,n).decrypt(r)}(e,t,r,n);const s=new(await fn(e))(t),a=s.blockSize;let o=n,c=new Uint8Array;const u=e=>{e&&(c=_.concatUint8Array([c,e]));const t=new Uint8Array(c.length);let r,n=0;for(;e?c.length>=a:c.length;){const e=s.encrypt(o);for(o=c.subarray(0,a),r=0;r!0),(()=>!1))}async _runCBC(e,t){const r="AES-CBC";this.keyRef=this.keyRef||await Ii.importKey("raw",this.key,r,!1,["encrypt"]);const n=await Ii.encrypt({name:r,iv:t||this.zeroBlock},this.keyRef,e);return new Uint8Array(n).subarray(0,e.length)}async encryptChunk(e){const t=this.nextBlock.length-this.i,r=e.subarray(0,t);if(this.nextBlock.set(r,this.i),this.i+e.length>=2*this.blockSize){const r=(e.length-t)%this.blockSize,n=_.concatUint8Array([this.nextBlock,e.subarray(t,e.length-r)]),i=_.concatUint8Array([this.prevBlock,n.subarray(0,n.length-this.blockSize)]),s=await this._runCBC(i);return Oi(s,n),this.prevBlock=s.slice(-this.blockSize),r>0&&this.nextBlock.set(e.subarray(-r)),this.i=r,s}let n;if(this.i+=r.length,this.i===this.nextBlock.length){const t=this.nextBlock;n=await this._runCBC(this.prevBlock),Oi(n,t),this.prevBlock=n.slice(),this.i=0;const i=e.subarray(r.length);this.nextBlock.set(i,this.i),this.i+=i.length}else n=new Uint8Array;return n}async finish(){let e;if(0===this.i)e=new Uint8Array;else{this.nextBlock=this.nextBlock.subarray(0,this.i);const t=this.nextBlock,r=await this._runCBC(this.prevBlock);Oi(r,t),e=r.subarray(0,t.length)}return this.clearSensitiveData(),e}clearSensitiveData(){this.nextBlock.fill(0),this.prevBlock.fill(0),this.keyRef=null,this.key=null}async encrypt(e){const t=(await this._runCBC(_.concatUint8Array([new Uint8Array(this.blockSize),e]),this.iv)).subarray(0,e.length);return Oi(t,e),this.clearSensitiveData(),t}}class Ki{constructor(e,t,r,n){this.forEncryption=e;const{blockSize:i}=gn(t);this.key=hn.expandKeyLE(r),n.byteOffset%4!=0&&(n=n.slice()),this.prevBlock=Mi(n),this.nextBlock=new Uint8Array(i),this.i=0,this.blockSize=i}_runCFB(e){const t=Mi(e),r=new Uint8Array(e.length),n=Mi(r);for(let e=0;e+4<=n.length;e+=4){const{s0:r,s1:i,s2:s,s3:a}=hn.encrypt(this.key,this.prevBlock[0],this.prevBlock[1],this.prevBlock[2],this.prevBlock[3]);n[e+0]=t[e+0]^r,n[e+1]=t[e+1]^i,n[e+2]=t[e+2]^s,n[e+3]=t[e+3]^a,this.prevBlock=(this.forEncryption?n:t).slice(e,e+4)}return r}async processChunk(e){const t=this.nextBlock.length-this.i,r=e.subarray(0,t);if(this.nextBlock.set(r,this.i),this.i+e.length>=2*this.blockSize){const r=(e.length-t)%this.blockSize,n=_.concatUint8Array([this.nextBlock,e.subarray(t,e.length-r)]),i=this._runCFB(n);return r>0&&this.nextBlock.set(e.subarray(-r)),this.i=r,i}let n;if(this.i+=r.length,this.i===this.nextBlock.length){n=this._runCFB(this.nextBlock),this.i=0;const t=e.subarray(r.length);this.nextBlock.set(t,this.i),this.i+=t.length}else n=new Uint8Array;return n}async finish(){let e;return e=0===this.i?new Uint8Array:this._runCFB(this.nextBlock).subarray(0,this.i),this.clearSensitiveData(),e}clearSensitiveData(){this.nextBlock.fill(0),this.prevBlock.fill(0),this.key.fill(0)}}function Oi(e,t){const r=Math.min(e.length,t.length);for(let n=0;nnew Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),Ri=_.getWebCrypto(),Ni=_.getNodeCrypto(),Li=16;function Fi(e,t){const r=e.length-Li;for(let n=0;ntn(t,ts,{disablePadding:!0}).encrypt(e),s=e=>tn(t,ts,{disablePadding:!0}).decrypt(e);let a;function o(e,t,r,s){const o=t.length/Yi|0;!function(e,t){const r=_.nbits(Math.max(e.length,t.length)/Yi|0)-1;for(let e=n+1;e<=r;e++)a[e]=_.double(a[e-1]);n=r}(t,s);const c=_.concatUint8Array([ts.subarray(0,15-r.length),rs,r]),u=63&c[15];c[15]&=192;const l=i(c),h=_.concatUint8Array([l,es(l.subarray(0,8),l.subarray(1,9))]),f=_.shiftRight(h.subarray(0+(u>>3),17+(u>>3)),8-(7&u)).subarray(1),p=new Uint8Array(Yi),d=new Uint8Array(t.length+16);let g,y=0;for(g=0;g=r)throw new Error("Signature size cannot exceed modulus size");const s=de(oe(t,n,r),"be",pe(r)),a=Qe(e,i,pe(r));return _.equalsUint8Array(s,a)}(e,r,n,i,s)}(t,i,_.leftPad(r.s,e.length),e,a,s)}case N.publicKey.dsa:{const{g:e,p:t,q:i,y:a}=n,{r:o,s:c}=r;return async function(e,t,r,n,i,s,a,o){if(t=se(t),r=se(r),s=se(s),a=se(a),i=se(i),o=se(o),t<=di||t>=a||r<=di||r>=a)return _.printDebug("invalid DSA Signature"),!1;const c=ae(se(n.subarray(0,pe(a))),a),u=ue(r,a);if(u===di)return _.printDebug("invalid DSA Signature"),!1;i=ae(i,s),o=ae(o,s);const l=ae(c*u,a),h=ae(t*u,a);return ae(ae(oe(i,l,s)*oe(o,h,s),s),a)===t}(0,o,c,s,e,t,i,a)}case N.publicKey.ecdsa:{const{oid:e,Q:a}=n,o=new Ln(e).payloadSize;return Wn(e,t,{r:_.leftPad(r.r,o),s:_.leftPad(r.s,o)},i,a,s)}case N.publicKey.eddsaLegacy:{const{oid:e,Q:i}=n,a=new Ln(e).payloadSize;return ei(e,t,{r:_.leftPad(r.r,a),s:_.leftPad(r.s,a)},0,i,s)}case N.publicKey.ed25519:case N.publicKey.ed448:{const{A:i}=n;return tr(e,t,r,0,i,s)}default:throw new Error("Unknown signature algorithm.")}}cs.getNonce=function(e,t){const r=e.slice();for(let e=0;e1048576&&(ps=fs(),ps.catch((()=>{}))),n}catch(e){throw e.message&&(e.message.includes("Unable to grow instance memory")||e.message.includes("failed to grow memory")||e.message.includes("WebAssembly.Memory.grow")||e.message.includes("Out of memory"))?new hs("Could not allocate required memory for Argon2"):e}}}class gs{constructor(e,t=L){this.algorithm=N.hash.sha256,this.type=N.read(N.s2k,e),this.c=t.s2kIterationCountByte,this.salt=null}generateSalt(){switch(this.type){case"salted":case"iterated":this.salt=ye(8)}}getCount(){return 16+(15&this.c)<<6+(this.c>>4)}read(e){let t=0;switch(this.algorithm=e[t++],this.type){case"simple":break;case"salted":this.salt=e.subarray(t,t+8),t+=8;break;case"iterated":this.salt=e.subarray(t,t+8),t+=8,this.c=e[t++];break;case"gnu":if("GNU"!==_.uint8ArrayToString(e.subarray(t,t+3)))throw new $t("Unknown s2k type.");if(t+=3,1001!==1e3+e[t++])throw new $t("Unknown s2k gnu protection mode.");this.type="gnu-dummy";break;default:throw new $t("Unknown s2k type.")}return t}write(){if("gnu-dummy"===this.type)return new Uint8Array([101,0,..._.stringToUint8Array("GNU"),1]);const e=[new Uint8Array([N.write(N.s2k,this.type),this.algorithm])];switch(this.type){case"simple":break;case"salted":e.push(this.salt);break;case"iterated":e.push(this.salt),e.push(new Uint8Array([this.c]));break;case"gnu":throw new Error("GNU s2k type not supported.");default:throw new Error("Unknown s2k type.")}return _.concatUint8Array(e)}async produceKey(e,t){e=_.encodeUTF8(e);const r=[];let n=0,i=0;for(;n>1|(21845&Ks)<<1;Os=(61680&(Os=(52428&Os)>>2|(13107&Os)<<2))>>4|(3855&Os)<<4,Us[Ks]=((65280&Os)>>8|(255&Os)<<8)>>1}var Ms=function(e,t,r){for(var n=e.length,i=0,s=new As(t);i>c]=u}else for(a=new As(n),i=0;i>15-e[i]);return a},Rs=new bs(288);for(Ks=0;Ks<144;++Ks)Rs[Ks]=8;for(Ks=144;Ks<256;++Ks)Rs[Ks]=9;for(Ks=256;Ks<280;++Ks)Rs[Ks]=7;for(Ks=280;Ks<288;++Ks)Rs[Ks]=8;var Ns=new bs(32);for(Ks=0;Ks<32;++Ks)Ns[Ks]=5;var Ls=Ms(Rs,9,0),Fs=Ms(Rs,9,1),_s=Ms(Ns,5,0),Qs=Ms(Ns,5,1),js=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},Hs=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},qs=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},zs=function(e){return(e+7)/8|0},Gs=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new bs(e.subarray(t,r))},Vs=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Js=function(e,t,r){var n=new Error(t||Vs[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,Js),!r)throw n;return n},$s=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},Ws=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},Ys=function(e,t){for(var r=[],n=0;nf&&(f=s[n].s);var p=new As(f+1),d=Zs(r[l-1],p,0);if(d>t){n=0;var g=0,y=d-t,m=1<t))break;g+=m-(1<>=y;g>0;){var b=s[n].s;p[b]=0&&g;--n){var A=s[n].s;p[A]==t&&(--p[A],++g)}d=t}return{t:new bs(p),l:d}},Zs=function(e,t,r){return-1==e.s?Math.max(Zs(e.l,t,r+1),Zs(e.r,t,r+1)):t[e.s]=r},Xs=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new As(++t),n=0,i=e[0],s=1,a=function(e){r[n++]=e},o=1;o<=t;++o)if(e[o]==i&&o!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(i),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(i);s=1,i=e[o]}return{c:r.subarray(0,n),n:t}},ea=function(e,t){for(var r=0,n=0;n>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var s=0;s4&&!C[Ss[x-1]];--x);var P,D,T,U,K=u+5<<3,O=ea(i,Rs)+ea(s,Ns)+a,M=ea(i,f)+ea(s,g)+a+14+3*x+ea(k,C)+2*k[16]+3*k[17]+7*k[18];if(c>=0&&K<=O&&K<=M)return ta(t,l,e.subarray(c,c+u));if($s(t,l,1+(M15&&($s(t,l,F[S]>>5&127),l+=F[S]>>12)}}}else P=Ls,D=Rs,T=_s,U=Ns;for(S=0;S255){Ws(t,l,P[257+(_=Q>>18&31)]),l+=D[_+257],_>7&&($s(t,l,Q>>23&31),l+=Es[_]);var j=31&Q;Ws(t,l,T[j]),l+=U[j],j>3&&(Ws(t,l,Q>>5&8191),l+=ks[j])}else Ws(t,l,P[Q]),l+=D[Q]}return Ws(t,l,P[256]),l+D[256]},na=new vs([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ia=new bs(0),sa=function(){var e=1,t=0;return{p:function(r){for(var n=e,i=t,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a>16),i=(65535&i)+15*(i>>16)}e=n,t=i},d:function(){return(255&(e%=65521))<<24|(65280&e)<<8|(255&(t%=65521))<<8|t>>8}}},aa=function(e,t,r,n,i){if(!i&&(i={l:1},t.dictionary)){var s=t.dictionary.subarray(-32768),a=new bs(s.length+e.length);a.set(s),a.set(e,s.length),e=a,i.w=s.length}return function(e,t,r,n,i,s){var a=s.z||e.length,o=new bs(n+a+5*(1+Math.ceil(a/7e3))+i),c=o.subarray(n,o.length-i),u=s.l,l=7&(s.r||0);if(t){l&&(c[0]=s.r>>3);for(var h=na[t-1],f=h>>13,p=8191&h,d=(1<7e3||C>24576)&&(U>423||!u)){l=ra(e,c,0,A,v,E,S,C,x,I-x,l),C=k=S=0,x=I;for(var K=0;K<286;++K)v[K]=0;for(K=0;K<30;++K)E[K]=0}var O=2,M=0,R=p,N=D-T&32767;if(U>2&&P==b(I-N))for(var L=Math.min(f,U)-1,F=Math.min(32767,I),_=Math.min(258,U);N<=F&&--R&&D!=T;){if(e[I+O]==e[I+O-N]){for(var Q=0;Q<_&&e[I+Q]==e[I+Q-N];++Q);if(Q>O){if(O=Q,M=N,Q>L)break;var j=Math.min(N,Q-2),H=0;for(K=0;KH&&(H=z,T=q)}}}N+=(D=T)-(T=g[D])&32767}if(M){A[C++]=268435456|xs[O]<<18|Ts[M];var G=31&xs[O],V=31&Ts[M];S+=Es[G]+ks[V],++v[257+G],++E[V],B=I+O,++k}else A[C++]=e[I],++v[e[I]]}}for(I=Math.max(I,B);I=a&&(c[l/8|0]=u,J=a),l=ta(c,l+1,e.subarray(I,J))}s.i=a}return Gs(o,0,n+zs(l)+i)}(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,n,i)},oa=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},ca=function(){function e(e,t){if("function"==typeof e&&(t=e,e={}),this.ondata=t,this.o=e||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new bs(98304),this.o.dictionary){var r=this.o.dictionary.subarray(-32768);this.b.set(r,32768-r.length),this.s.i=32768-r.length}}return e.prototype.p=function(e,t){this.ondata(aa(e,this.o,0,0,this.s),t)},e.prototype.push=function(e,t){this.ondata||Js(5),this.s.l&&Js(4);var r=e.length+this.s.z;if(r>this.b.length){if(r>2*this.b.length-32768){var n=new bs(-32768&r);n.set(this.b.subarray(0,this.s.z)),this.b=n}var i=this.b.length-this.s.z;this.b.set(e.subarray(0,i),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(e.subarray(i),32768),this.s.z=e.length-i+32768,this.s.i=32766,this.s.w=32768}else this.b.set(e,this.s.z),this.s.z+=e.length;this.s.l=1&t,(this.s.z>this.s.w+8191||t)&&(this.p(this.b,t||!1),this.s.w=this.s.i,this.s.i-=2)},e.prototype.flush=function(){this.ondata||Js(5),this.s.l&&Js(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},e}(),ua=function(){function e(e,t){"function"==typeof e&&(t=e,e={}),this.ondata=t;var r=e&&e.dictionary&&e.dictionary.subarray(-32768);this.s={i:0,b:r?r.length:0},this.o=new bs(32768),this.p=new bs(0),r&&this.o.set(r)}return e.prototype.e=function(e){if(this.ondata||Js(5),this.d&&Js(4),this.p.length){if(e.length){var t=new bs(this.p.length+e.length);t.set(this.p),t.set(e,this.p.length),this.p=t}}else this.p=e},e.prototype.c=function(e){this.s.i=+(this.d=e||!1);var t=this.s.b,r=function(e,t,r){var n=e.length;if(!n||t.f&&!t.l)return r||new bs(0);var i=!r,s=i||2!=t.i,a=t.i;i&&(r=new bs(3*n));var o=function(e){var t=r.length;if(e>t){var n=new bs(Math.max(2*t,e));n.set(r),r=n}},c=t.f||0,u=t.p||0,l=t.b||0,h=t.l,f=t.d,p=t.m,d=t.n,g=8*n;do{if(!h){c=Hs(e,u,1);var y=Hs(e,u+1,3);if(u+=3,!y){var m=e[(x=zs(u)+4)-4]|e[x-3]<<8,w=x+m;if(w>n){a&&Js(0);break}s&&o(l+m),r.set(e.subarray(x,w),l),t.b=l+=m,t.p=u=8*w,t.f=c;continue}if(1==y)h=Fs,f=Qs,p=9,d=5;else if(2==y){var b=Hs(e,u,31)+257,A=Hs(e,u+10,15)+4,v=b+Hs(e,u+5,31)+1;u+=14;for(var E=new bs(v),k=new bs(19),S=0;S>4)<16)E[S++]=x;else{var D=0,T=0;for(16==x?(T=3+Hs(e,u,3),u+=2,D=E[S-1]):17==x?(T=3+Hs(e,u,7),u+=3):18==x&&(T=11+Hs(e,u,127),u+=7);T--;)E[S++]=D}}var U=E.subarray(0,b),K=E.subarray(b);p=js(U),d=js(K),h=Ms(U,p,1),f=Ms(K,d,1)}else Js(1);if(u>g){a&&Js(0);break}}s&&o(l+131072);for(var O=(1<>4;if((u+=15&D)>g){a&&Js(0);break}if(D||Js(2),N<256)r[l++]=N;else{if(256==N){R=u,h=null;break}var L=N-254;if(N>264){var F=Es[S=N-257];L=Hs(e,u,(1<>4;if(_||Js(3),u+=15&_,K=Ds[Q],Q>3&&(F=ks[Q],K+=qs(e,u)&(1<g){a&&Js(0);break}s&&o(l+131072);var j=l+L;if(l>4>7||(r[0]<<8|r[1])%31)&&Js(6,"invalid zlib data"),(r[1]>>5&1)==+!n&&Js(6,"invalid zlib data: "+(32&r[1]?"need":"unexpected")+" dictionary"),2+(r[1]>>3&4))),this.v=0}var r,n;t&&(this.p.length<4&&Js(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),ua.prototype.c.call(this,t)},e}(),fa="undefined"!=typeof TextDecoder&&new TextDecoder;try{fa.decode(ia,{stream:!0})}catch(e){}class pa{static get tag(){return N.packet.literalData}constructor(e=new Date){this.format=N.literal.utf8,this.date=_.normalizeDate(e),this.text=null,this.data=null,this.filename=""}setText(e,t=N.literal.utf8){this.format=t,this.text=e,this.data=null}getText(e=!1){return(null===this.text||_.isStream(this.text))&&(this.text=_.decodeUTF8(_.nativeEOL(this.getBytes(e)))),this.text}setBytes(e,t){this.format=t,this.data=e,this.text=null}getBytes(e=!1){return null===this.data&&(this.data=_.canonicalizeEOL(_.encodeUTF8(this.text))),e?x(this.data):this.data}setFilename(e){this.filename=e}getFilename(){return this.filename}async read(e){await C(e,(async e=>{const t=await e.readByte(),r=await e.readByte();this.filename=_.decodeUTF8(await e.readBytes(r)),this.date=_.readDate(await e.readBytes(4));let n=e.remainder();l(n)&&(n=await T(n)),this.setBytes(n,t)}))}writeHeader(){const e=_.encodeUTF8(this.filename),t=new Uint8Array([e.length]),r=new Uint8Array([this.format]),n=_.writeDate(this.date);return _.concatUint8Array([r,t,e,n])}write(){const e=this.writeHeader(),t=this.getBytes();return _.concat([e,t])}}class da{constructor(){this.bytes=""}read(e){return this.bytes=_.uint8ArrayToString(e.subarray(0,8)),this.bytes.length}write(){return _.stringToUint8Array(this.bytes)}toHex(){return _.uint8ArrayToHex(_.stringToUint8Array(this.bytes))}equals(e,t=!1){return t&&(e.isWildcard()||this.isWildcard())||this.bytes===e.bytes}isNull(){return""===this.bytes}isWildcard(){return/^0+$/.test(this.toHex())}static mapToHex(e){return e.toHex()}static fromID(e){const t=new da;return t.read(_.hexToUint8Array(e)),t}static wildcard(){const e=new da;return e.read(new Uint8Array(8)),e}}const ga=Symbol("verified"),ya="salt@notations.openpgpjs.org",ma=new Set([N.signatureSubpacket.issuerKeyID,N.signatureSubpacket.issuerFingerprint,N.signatureSubpacket.embeddedSignature]);class wa{static get tag(){return N.packet.signature}constructor(){this.version=null,this.signatureType=null,this.hashAlgorithm=null,this.publicKeyAlgorithm=null,this.signatureData=null,this.unhashedSubpackets=[],this.unknownSubpackets=[],this.signedHashValue=null,this.salt=null,this.created=null,this.signatureExpirationTime=null,this.signatureNeverExpires=!0,this.exportable=null,this.trustLevel=null,this.trustAmount=null,this.regularExpression=null,this.revocable=null,this.keyExpirationTime=null,this.keyNeverExpires=null,this.preferredSymmetricAlgorithms=null,this.revocationKeyClass=null,this.revocationKeyAlgorithm=null,this.revocationKeyFingerprint=null,this.issuerKeyID=new da,this.rawNotations=[],this.notations={},this.preferredHashAlgorithms=null,this.preferredCompressionAlgorithms=null,this.keyServerPreferences=null,this.preferredKeyServer=null,this.isPrimaryUserID=null,this.policyURI=null,this.keyFlags=null,this.signersUserID=null,this.reasonForRevocationFlag=null,this.reasonForRevocationString=null,this.features=null,this.signatureTargetPublicKeyAlgorithm=null,this.signatureTargetHashAlgorithm=null,this.signatureTargetHash=null,this.embeddedSignature=null,this.issuerKeyVersion=null,this.issuerFingerprint=null,this.preferredAEADAlgorithms=null,this.preferredCipherSuites=null,this.revoked=null,this[ga]=null}read(e,t=L){let r=0;if(this.version=e[r++],5===this.version&&!t.enableParsingV5Entities)throw new $t("Support for v5 entities is disabled; turn on `config.enableParsingV5Entities` if needed");if(4!==this.version&&5!==this.version&&6!==this.version)throw new $t(`Version ${this.version} of the signature packet is unsupported.`);if(this.signatureType=e[r++],this.publicKeyAlgorithm=e[r++],this.hashAlgorithm=e[r++],r+=this.readSubPackets(e.subarray(r,e.length),!0),!this.created)throw new Error("Missing signature creation time subpacket.");if(this.signatureData=e.subarray(0,r),r+=this.readSubPackets(e.subarray(r,e.length),!1),this.signedHashValue=e.subarray(r,r+2),r+=2,6===this.version){const t=e[r++];this.salt=e.subarray(r,r+t),r+=t}const n=e.subarray(r,e.length),{read:i,signatureParams:s}=function(e,t){let r=0;switch(e){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.rsaSign:{const e=_.readMPI(t.subarray(r));return r+=e.length+2,{read:r,signatureParams:{s:e}}}case N.publicKey.dsa:case N.publicKey.ecdsa:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,signatureParams:{r:e,s:n}}}case N.publicKey.eddsaLegacy:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,signatureParams:{r:e,s:n}}}case N.publicKey.ed25519:case N.publicKey.ed448:{const n=2*nr(e),i=_.readExactSubarray(t,r,r+n);return r+=i.length,{read:r,signatureParams:{RS:i}}}default:throw new $t("Unknown signature algorithm.")}}(this.publicKeyAlgorithm,n);if(ivi(this.publicKeyAlgorithm,await this.params))):vi(this.publicKeyAlgorithm,this.params)}write(){const e=[];return e.push(this.signatureData),e.push(this.writeUnhashedSubPackets()),e.push(this.signedHashValue),6===this.version&&(e.push(new Uint8Array([this.salt.length])),e.push(this.salt)),e.push(this.writeParams()),_.concat(e)}async sign(e,t,r=new Date,n=!1,i){this.version=e.version,this.created=_.normalizeDate(r),this.issuerKeyVersion=e.version,this.issuerFingerprint=e.getFingerprintBytes(),this.issuerKeyID=e.getKeyID();const s=[new Uint8Array([this.version,this.signatureType,this.publicKeyAlgorithm,this.hashAlgorithm])];if(6===this.version){const e=Aa(this.hashAlgorithm);if(null===this.salt)this.salt=ye(e);else if(e!==this.salt.length)throw new Error("Provided salt does not have the required length")}else if(i.nonDeterministicSignaturesViaNotation){if(0!==this.rawNotations.filter((({name:e})=>e===ya)).length)throw new Error("Unexpected existing salt notation");{const e=ye(Aa(this.hashAlgorithm));this.rawNotations.push({name:ya,value:e,humanReadable:!1,critical:!1})}}s.push(this.writeHashedSubPackets()),this.unhashedSubpackets=[],this.signatureData=_.concat(s);const a=this.toHash(this.signatureType,t,n),o=await this.hash(this.signatureType,t,a,n);this.signedHashValue=D(B(o),0,2);const c=async()=>async function(e,t,r,n,i,s){if(!r||!n)throw new Error("Missing key parameters");switch(e){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.rsaSign:{const{n:e,e:a}=r,{d:o,p:c,q:u,u:l}=n;return{s:await ze(t,i,e,a,o,c,u,l,s)}}case N.publicKey.dsa:{const{g:e,p:t,q:i}=r,{x:a}=n;return async function(e,t,r,n,i,s){const a=BigInt(0);let o,c,u,l;n=se(n),i=se(i),r=se(r),s=se(s),r=ae(r,n),s=ae(s,i);const h=ae(se(t.subarray(0,pe(i))),i);for(;;){if(o=me(gi,i),c=ae(oe(r,o,n),i),c===a)continue;const e=ae(s*c,i);if(l=ae(h+e,i),u=ae(ue(o,i)*l,i),u!==a)break}return{r:de(c,"be",pe(n)),s:de(u,"be",pe(n))}}(0,s,e,t,i,a)}case N.publicKey.elgamal:throw new Error("Signing with Elgamal is not defined in the OpenPGP standard.");case N.publicKey.ecdsa:{const{oid:e,Q:a}=r,{d:o}=n;return $n(e,t,i,a,o,s)}case N.publicKey.eddsaLegacy:{const{oid:e,Q:i}=r,{seed:a}=n;return Xn(e,t,0,i,a,s)}case N.publicKey.ed25519:case N.publicKey.ed448:{const{A:i}=r,{seed:a}=n;return er(e,t,0,i,a,s)}default:throw new Error("Unknown signature algorithm.")}}(this.publicKeyAlgorithm,this.hashAlgorithm,e.publicParams,e.privateParams,a,await T(o));_.isStream(o)?this.params=c():(this.params=await c(),this[ga]=!0)}writeHashedSubPackets(){const e=N.signatureSubpacket,t=[];let r;if(null===this.created)throw new Error("Missing signature creation time");t.push(ba(e.signatureCreationTime,!0,_.writeDate(this.created))),null!==this.signatureExpirationTime&&t.push(ba(e.signatureExpirationTime,!0,_.writeNumber(this.signatureExpirationTime,4))),null!==this.exportable&&t.push(ba(e.exportableCertification,!0,new Uint8Array([this.exportable?1:0]))),null!==this.trustLevel&&(r=new Uint8Array([this.trustLevel,this.trustAmount]),t.push(ba(e.trustSignature,!0,r))),null!==this.regularExpression&&t.push(ba(e.regularExpression,!0,this.regularExpression)),null!==this.revocable&&t.push(ba(e.revocable,!0,new Uint8Array([this.revocable?1:0]))),null!==this.keyExpirationTime&&t.push(ba(e.keyExpirationTime,!0,_.writeNumber(this.keyExpirationTime,4))),null!==this.preferredSymmetricAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredSymmetricAlgorithms)),t.push(ba(e.preferredSymmetricAlgorithms,!1,r))),null!==this.revocationKeyClass&&(r=new Uint8Array([this.revocationKeyClass,this.revocationKeyAlgorithm]),r=_.concat([r,this.revocationKeyFingerprint]),t.push(ba(e.revocationKey,!1,r))),!this.issuerKeyID.isNull()&&this.issuerKeyVersion<5&&t.push(ba(e.issuerKeyID,!1,this.issuerKeyID.write())),this.rawNotations.forEach((({name:n,value:i,humanReadable:s,critical:a})=>{r=[new Uint8Array([s?128:0,0,0,0])];const o=_.encodeUTF8(n);r.push(_.writeNumber(o.length,2)),r.push(_.writeNumber(i.length,2)),r.push(o),r.push(i),r=_.concat(r),t.push(ba(e.notationData,a,r))})),null!==this.preferredHashAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredHashAlgorithms)),t.push(ba(e.preferredHashAlgorithms,!1,r))),null!==this.preferredCompressionAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredCompressionAlgorithms)),t.push(ba(e.preferredCompressionAlgorithms,!1,r))),null!==this.keyServerPreferences&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.keyServerPreferences)),t.push(ba(e.keyServerPreferences,!1,r))),null!==this.preferredKeyServer&&t.push(ba(e.preferredKeyServer,!1,_.encodeUTF8(this.preferredKeyServer))),null!==this.isPrimaryUserID&&t.push(ba(e.primaryUserID,!1,new Uint8Array([this.isPrimaryUserID?1:0]))),null!==this.policyURI&&t.push(ba(e.policyURI,!1,_.encodeUTF8(this.policyURI))),null!==this.keyFlags&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.keyFlags)),t.push(ba(e.keyFlags,!0,r))),null!==this.signersUserID&&t.push(ba(e.signersUserID,!1,_.encodeUTF8(this.signersUserID))),null!==this.reasonForRevocationFlag&&(r=_.stringToUint8Array(String.fromCharCode(this.reasonForRevocationFlag)+this.reasonForRevocationString),t.push(ba(e.reasonForRevocation,!0,r))),null!==this.features&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.features)),t.push(ba(e.features,!1,r))),null!==this.signatureTargetPublicKeyAlgorithm&&(r=[new Uint8Array([this.signatureTargetPublicKeyAlgorithm,this.signatureTargetHashAlgorithm])],r.push(_.stringToUint8Array(this.signatureTargetHash)),r=_.concat(r),t.push(ba(e.signatureTarget,!0,r))),null!==this.embeddedSignature&&t.push(ba(e.embeddedSignature,!0,this.embeddedSignature.write())),null!==this.issuerFingerprint&&(r=[new Uint8Array([this.issuerKeyVersion]),this.issuerFingerprint],r=_.concat(r),t.push(ba(e.issuerFingerprint,this.version>=5,r))),null!==this.preferredAEADAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredAEADAlgorithms)),t.push(ba(e.preferredAEADAlgorithms,!1,r))),null!==this.preferredCipherSuites&&(r=new Uint8Array([].concat(...this.preferredCipherSuites)),t.push(ba(e.preferredCipherSuites,!1,r)));const n=_.concat(t),i=_.writeNumber(n.length,6===this.version?4:2);return _.concat([i,n])}writeUnhashedSubPackets(){const e=this.unhashedSubpackets.map((({type:e,critical:t,body:r})=>ba(e,t,r))),t=_.concat(e),r=_.writeNumber(t.length,6===this.version?4:2);return _.concat([r,t])}readSubPacket(e,t=!0){let r=0;const n=!!(128&e[r]),i=127&e[r];if(r++,t||(this.unhashedSubpackets.push({type:i,critical:n,body:e.subarray(r,e.length)}),ma.has(i)))switch(i){case N.signatureSubpacket.signatureCreationTime:this.created=_.readDate(e.subarray(r,e.length));break;case N.signatureSubpacket.signatureExpirationTime:{const t=_.readNumber(e.subarray(r,e.length));this.signatureNeverExpires=0===t,this.signatureExpirationTime=t;break}case N.signatureSubpacket.exportableCertification:this.exportable=1===e[r++];break;case N.signatureSubpacket.trustSignature:this.trustLevel=e[r++],this.trustAmount=e[r++];break;case N.signatureSubpacket.regularExpression:this.regularExpression=e[r];break;case N.signatureSubpacket.revocable:this.revocable=1===e[r++];break;case N.signatureSubpacket.keyExpirationTime:{const t=_.readNumber(e.subarray(r,e.length));this.keyExpirationTime=t,this.keyNeverExpires=0===t;break}case N.signatureSubpacket.preferredSymmetricAlgorithms:this.preferredSymmetricAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.revocationKey:this.revocationKeyClass=e[r++],this.revocationKeyAlgorithm=e[r++],this.revocationKeyFingerprint=e.subarray(r,r+20);break;case N.signatureSubpacket.issuerKeyID:if(4===this.version)this.issuerKeyID.read(e.subarray(r,e.length));else if(t)throw new Error("Unexpected Issuer Key ID subpacket");break;case N.signatureSubpacket.notationData:{const t=!!(128&e[r]);r+=4;const i=_.readNumber(e.subarray(r,r+2));r+=2;const s=_.readNumber(e.subarray(r,r+2));r+=2;const a=_.decodeUTF8(e.subarray(r,r+i)),o=e.subarray(r+i,r+i+s);this.rawNotations.push({name:a,humanReadable:t,value:o,critical:n}),t&&(this.notations[a]=_.decodeUTF8(o));break}case N.signatureSubpacket.preferredHashAlgorithms:this.preferredHashAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.preferredCompressionAlgorithms:this.preferredCompressionAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.keyServerPreferences:this.keyServerPreferences=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.preferredKeyServer:this.preferredKeyServer=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.primaryUserID:this.isPrimaryUserID=0!==e[r++];break;case N.signatureSubpacket.policyURI:this.policyURI=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.keyFlags:this.keyFlags=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.signersUserID:this.signersUserID=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.reasonForRevocation:this.reasonForRevocationFlag=e[r++],this.reasonForRevocationString=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.features:this.features=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.signatureTarget:{this.signatureTargetPublicKeyAlgorithm=e[r++],this.signatureTargetHashAlgorithm=e[r++];const t=Ne(this.signatureTargetHashAlgorithm);this.signatureTargetHash=_.uint8ArrayToString(e.subarray(r,r+t));break}case N.signatureSubpacket.embeddedSignature:this.embeddedSignature=new wa,this.embeddedSignature.read(e.subarray(r,e.length));break;case N.signatureSubpacket.issuerFingerprint:this.issuerKeyVersion=e[r++],this.issuerFingerprint=e.subarray(r,e.length),this.issuerKeyVersion>=5?this.issuerKeyID.read(this.issuerFingerprint):this.issuerKeyID.read(this.issuerFingerprint.subarray(-8));break;case N.signatureSubpacket.preferredAEADAlgorithms:this.preferredAEADAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.preferredCipherSuites:this.preferredCipherSuites=[];for(let t=r;t{r+=e.length}),(()=>{const n=[];return 5!==this.version||this.signatureType!==N.signature.binary&&this.signatureType!==N.signature.text||(t?n.push(new Uint8Array(6)):n.push(e.writeHeader())),n.push(new Uint8Array([this.version,255])),5===this.version&&n.push(new Uint8Array(4)),n.push(_.writeNumber(r,4)),_.concat(n)}))}toHash(e,t,r=!1){const n=this.toSign(e,t);return _.concat([this.salt||new Uint8Array,n,this.signatureData,this.calculateTrailer(t,r)])}async hash(e,t,r,n=!1){if(6===this.version&&this.salt.length!==Aa(this.hashAlgorithm))throw new Error("Signature salt does not have the expected length");return r||(r=this.toHash(e,t,n)),Re(this.hashAlgorithm,r)}async verify(e,t,r,n=new Date,i=!1,s=L){if(!this.issuerKeyID.equals(e.getKeyID()))throw new Error("Signature was not issued by the given public key");if(this.publicKeyAlgorithm!==e.algorithm)throw new Error("Public key algorithm used to sign signature does not match issuer key algorithm.");const a=t===N.signature.binary||t===N.signature.text;if(!this[ga]||a){let n,s;if(this.hashed?s=await this.hashed:(n=this.toHash(t,r,i),s=await this.hash(t,r,n)),s=await T(s),this.signedHashValue[0]!==s[0]||this.signedHashValue[1]!==s[1])throw new Error("Signed digest did not match");if(this.params=await this.params,this[ga]=await ls(this.publicKeyAlgorithm,this.hashAlgorithm,this.params,e.publicParams,n,s),!this[ga])throw new Error("Signature verification failed")}const o=_.normalizeDate(n);if(o&&this.created>o)throw new Error("Signature creation time is in the future");if(o&&o>=this.getExpirationTime())throw new Error("Signature is expired");if(s.rejectHashAlgorithms.has(this.hashAlgorithm))throw new Error("Insecure hash algorithm: "+N.read(N.hash,this.hashAlgorithm).toUpperCase());if(s.rejectMessageHashAlgorithms.has(this.hashAlgorithm)&&[N.signature.binary,N.signature.text].includes(this.signatureType))throw new Error("Insecure message hash algorithm: "+N.read(N.hash,this.hashAlgorithm).toUpperCase());if(this.unknownSubpackets.forEach((({type:e,critical:t})=>{if(t)throw new Error(`Unknown critical signature subpacket type ${e}`)})),this.rawNotations.forEach((({name:e,critical:t})=>{if(t&&s.knownNotations.indexOf(e)<0)throw new Error(`Unknown critical notation: ${e}`)})),null!==this.revocationKeyClass)throw new Error("This key is intended to be revoked with an authorized key, which OpenPGP.js does not support.")}isExpired(e=new Date){const t=_.normalizeDate(e);return null!==t&&!(this.created<=t&&twa.prototype.calculateTrailer.apply(await this.correspondingSig,e)))}async verify(){const e=await this.correspondingSig;if(!e||e.constructor.tag!==N.packet.signature)throw new Error("Corresponding signature packet missing");if(e.signatureType!==this.signatureType||e.hashAlgorithm!==this.hashAlgorithm||e.publicKeyAlgorithm!==this.publicKeyAlgorithm||!e.issuerKeyID.equals(this.issuerKeyID)||3===this.version&&6===e.version||6===this.version&&6!==e.version||6===this.version&&!_.equalsUint8Array(e.issuerFingerprint,this.issuerFingerprint)||6===this.version&&!_.equalsUint8Array(e.salt,this.salt))throw new Error("Corresponding signature packet does not match one-pass signature packet");return e.hashed=this.hashed,e.verify.apply(e,arguments)}}function Ea(e,t){if(!t[e]){let t;try{t=N.read(N.packet,e)}catch(t){throw new Wt(`Unknown packet type with tag: ${e}`)}throw new Error(`Packet not allowed in this context: ${t}`)}return new t[e]}va.prototype.hash=wa.prototype.hash,va.prototype.toHash=wa.prototype.toHash,va.prototype.toSign=wa.prototype.toSign;class ka extends Array{static async fromBinary(e,t,r=L,n=null,i=!1){const s=new ka;return await s.read(e,t,r,n,i),s}async read(e,t,r=L,n=null,i=!1){let s;r.additionalAllowedPackets.length&&(s=_.constructAllowedPackets(r.additionalAllowedPackets),t={...t,...s}),this.stream=I(e,(async(e,a)=>{const o=O(e),c=M(a);try{let a=_.isStream(e);for(;;){let e,u;if(await c.ready,await Jt(o,a,(async a=>{try{if(a.tag===N.packet.marker||a.tag===N.packet.trust||a.tag===N.packet.padding)return;const e=Ea(a.tag,t);try{n?.recordPacket(a.tag,s)}catch(e){if(r.enforceGrammar)throw e;_.printDebugError(e)}e.packets=new ka,e.fromStream=_.isStream(a.packet),u=e.fromStream;try{await e.read(a.packet,r)}catch(t){if(!(t instanceof $t))throw _.wrapError(new Yt(`Parsing ${e.constructor.name} failed`),t);throw t}await c.write(e)}catch(t){const n=t instanceof Wt&&a.tag<=39,s=t instanceof $t&&!(t instanceof Wt)&&!r.ignoreUnsupportedPackets,o=t instanceof Yt&&!r.ignoreMalformedPackets,u=Vt(a.tag);if(n||s||o||u||!(t instanceof Wt||t instanceof $t||t instanceof Yt))i?e=t:await c.abort(t);else{const e=new Zt(a.tag,a.packet);await c.write(e)}_.printDebugError(t)}})),u&&(a=null),e)throw await o.readToEnd(),e;const l=await o.peekBytes(2);if(!l||!l.length){try{n?.recordEnd()}catch(e){if(r.enforceGrammar)throw e;_.printDebugError(e)}return await c.ready,void await c.close()}}}catch(e){await c.abort(e)}}));const a=O(this.stream);for(;;){const{done:e,value:t}=await a.read();if(e?this.stream=null:this.push(t),e||Vt(t.constructor.tag))break}a.releaseLock()}write(){const e=[];for(let t=0;t{if(t.push(e),i+=e.length,i>=s){const e=Math.min(Math.log(i)/Math.LN2|0,30),r=2**e,n=_.concat([qt(e)].concat(t));return t=[n.subarray(1+r)],i=t[0].length,n.subarray(0,1+r)}}),(()=>_.concat([Ht(i)].concat(t)))))}else{if(_.isStream(n)){let t=0;e.push(S(B(n),(e=>{t+=e.length}),(()=>Gt(r,t))))}else e.push(Gt(r,n.length));e.push(n)}}return _.concat(e)}filterByTag(...e){const t=new ka,r=e=>t=>e===t;for(let n=0;nt.constructor.tag===e))}indexOfTag(...e){const t=[],r=this,n=e=>t=>e===t;for(let i=0;i0)throw new Sa("Missing trailing signature packets")}}}const Ba=_.constructAllowedPackets([pa,va,wa]);class xa{static get tag(){return N.packet.compressedData}constructor(e=L){this.packets=null,this.algorithm=e.preferredCompressionAlgorithm,this.compressed=null}async read(e,t=L){await C(e,(async e=>{this.algorithm=await e.readByte(),this.compressed=e.remainder(),await this.decompress(t)}))}write(){return null===this.compressed&&this.compress(),_.concat([new Uint8Array([this.algorithm]),this.compressed])}async decompress(e=L){const t=N.read(N.compression,this.algorithm),r=Ka[t];if(!r)throw new Error(`${t} decompression not supported`);this.packets=await ka.fromBinary(await r(this.compressed),Ba,e,new Ca)}compress(){const e=N.read(N.compression,this.algorithm),t=Ua[e];if(!t)throw new Error(`${e} compression not supported`);this.compressed=t(this.packets.write())}}function Pa(e,t){return r=>{if(!_.isStream(r)||l(r))return K((()=>T(r).then((e=>new Promise(((r,n)=>{const i=new t;i.ondata=e=>{r(e)};try{i.push(e,!0)}catch(e){n(e)}}))))));if(e)try{const t=e();return r.pipeThrough(t)}catch(e){if("TypeError"!==e.name)throw e}const n=r.getReader(),i=new t;return new ReadableStream({async start(e){for(i.ondata=async(t,r)=>{e.enqueue(t),r&&e.close()};;){const{done:e,value:t}=await n.read();if(e)return void i.push(new Uint8Array,!0);t.length&&i.push(t)}}})}}function Da(){return async function(e){const{decode:t}=await Promise.resolve().then((function(){return dp}));return K((async()=>t(await T(e))))}}const Ta=e=>({compressor:"undefined"!=typeof CompressionStream&&(()=>new CompressionStream(e)),decompressor:"undefined"!=typeof DecompressionStream&&(()=>new DecompressionStream(e))}),Ua={zip:Pa(Ta("deflate-raw").compressor,ca),zlib:Pa(Ta("deflate").compressor,la)},Ka={uncompressed:e=>e,zip:Pa(Ta("deflate-raw").decompressor,ua),zlib:Pa(Ta("deflate").decompressor,ha),bzip2:Da()},Oa=_.constructAllowedPackets([pa,xa,va,wa]);class Ma{static get tag(){return N.packet.symEncryptedIntegrityProtectedData}static fromObject({version:e,aeadAlgorithm:t}){if(1!==e&&2!==e)throw new Error("Unsupported SEIPD version");const r=new Ma;return r.version=e,2===e&&(r.aeadAlgorithm=t),r}constructor(){this.version=null,this.cipherAlgorithm=null,this.aeadAlgorithm=null,this.chunkSizeByte=null,this.salt=null,this.encrypted=null,this.packets=null}async read(e){await C(e,(async e=>{if(this.version=await e.readByte(),1!==this.version&&2!==this.version)throw new $t(`Version ${this.version} of the SEIP packet is unsupported.`);2===this.version&&(this.cipherAlgorithm=await e.readByte(),this.aeadAlgorithm=await e.readByte(),this.chunkSizeByte=await e.readByte(),this.salt=await e.readBytes(32)),this.encrypted=e.remainder()}))}write(){return 2===this.version?_.concat([new Uint8Array([this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte]),this.salt,this.encrypted]):_.concat([new Uint8Array([this.version]),this.encrypted])}async encrypt(e,t,r=L){const{blockSize:n,keySize:i}=gn(e);if(t.length!==i)throw new Error("Unexpected session key size");let s=this.packets.write();if(l(s)&&(s=await T(s)),2===this.version)this.cipherAlgorithm=e,this.salt=ye(32),this.chunkSizeByte=r.aeadChunkSizeByte,this.encrypted=await Ra(this,"encrypt",t,s);else{const r=await Pi(e),i=new Uint8Array([211,20]),a=_.concat([r,s,i]),o=await Re(N.hash.sha1,x(a)),c=_.concat([a,o]);this.encrypted=await Di(e,t,c,new Uint8Array(n))}return!0}async decrypt(e,t,r=L){if(t.length!==gn(e).keySize)throw new Error("Unexpected session key size");let n,i=B(this.encrypted);l(i)&&(i=await T(i));let s=!1;if(2===this.version){if(this.cipherAlgorithm!==e)throw new Error("Unexpected session key algorithm");n=await Ra(this,"decrypt",t,i)}else{const{blockSize:a}=gn(e),o=await Ti(e,t,i,new Uint8Array(a)),c=D(x(o),-20),u=D(o,0,-20),l=Promise.all([T(await Re(N.hash.sha1,x(u))),T(c)]).then((([e,t])=>{if(!_.equalsUint8Array(e,t))throw new Error("Modification detected.");return new Uint8Array})),h=D(u,a+2);n=D(h,0,-2),n=A([n,K((()=>l))]),_.isStream(i)&&r.allowUnauthenticatedStream?s=!0:n=await T(n)}return this.packets=await ka.fromBinary(n,Oa,r,new Ca,s),!0}}async function Ra(e,t,r,n){const i=e instanceof Ma&&2===e.version,s=!i&&e.constructor.tag===N.packet.aeadEncryptedData;if(!i&&!s)throw new Error("Unexpected packet type");const a=us(e.aeadAlgorithm,s),o="decrypt"===t?a.tagLength:0,c="encrypt"===t?a.tagLength:0,u=2**(e.chunkSizeByte+6)+o,l=s?8:0,h=new ArrayBuffer(13+l),f=new Uint8Array(h,0,5+l),p=new Uint8Array(h),d=new DataView(h),g=new Uint8Array(h,5,8);f.set([192|e.constructor.tag,e.version,e.cipherAlgorithm,e.aeadAlgorithm,e.chunkSizeByte],0);let y,m,w=0,b=Promise.resolve(),A=0,E=0;if(i){const{keySize:t}=gn(e.cipherAlgorithm),{ivLength:n}=a,i=new Uint8Array(h,0,5),s=await An(N.hash.sha256,r,e.salt,i,t+n);r=s.subarray(0,t),y=s.subarray(t),y.fill(0,y.length-8),m=new DataView(y.buffer,y.byteOffset,y.byteLength)}else y=e.iv;const k=await a(e.cipherAlgorithm,r);return I(n,(async(r,n)=>{if("array"!==_.isStream(r)){const t=new TransformStream({},{highWaterMark:_.getHardwareConcurrency()*2**(e.chunkSizeByte+6),size:e=>e.length});v(t.readable,n),n=t.writable}const s=O(r),a=M(n);try{for(;;){let e=await s.readBytes(u+o)||new Uint8Array;const r=e.subarray(e.length-o);let n,h,v;if(e=e.subarray(0,e.length-o),i)v=y;else{v=y.slice();for(let e=0;e<8;e++)v[y.length-8+e]^=g[e]}if(!w||e.length?(s.unshift(r),n=k[t](e,v,f),n.catch((()=>{})),E+=e.length-o+c):(d.setInt32(5+l+4,A),n=k[t](r,v,p),n.catch((()=>{})),E+=c,h=!0),A+=e.length-o,b=b.then((()=>n)).then((async e=>{await a.ready,await a.write(e),E-=e.length})).catch((e=>a.abort(e))),(h||E>a.desiredSize)&&await b,h){await a.close();break}i?m.setInt32(y.length-4,++w):d.setInt32(9,++w)}}catch(e){await a.ready.catch((()=>{})),await a.abort(e)}}))}const Na=_.constructAllowedPackets([pa,xa,va,wa]);class La{static get tag(){return N.packet.aeadEncryptedData}constructor(){this.version=1,this.cipherAlgorithm=null,this.aeadAlgorithm=N.aead.eax,this.chunkSizeByte=null,this.iv=null,this.encrypted=null,this.packets=null}async read(e){await C(e,(async e=>{const t=await e.readByte();if(1!==t)throw new $t(`Version ${t} of the AEAD-encrypted data packet is not supported.`);this.cipherAlgorithm=await e.readByte(),this.aeadAlgorithm=await e.readByte(),this.chunkSizeByte=await e.readByte();const r=us(this.aeadAlgorithm,!0);this.iv=await e.readBytes(r.ivLength),this.encrypted=e.remainder()}))}write(){return _.concat([new Uint8Array([this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte]),this.iv,this.encrypted])}async decrypt(e,t,r=L){this.packets=await ka.fromBinary(await Ra(this,"decrypt",t,B(this.encrypted)),Na,r,new Ca)}async encrypt(e,t,r=L){this.cipherAlgorithm=e;const{ivLength:n}=us(this.aeadAlgorithm,!0);this.iv=ye(n),this.chunkSizeByte=r.aeadChunkSizeByte;const i=this.packets.write();this.encrypted=await Ra(this,"encrypt",t,i)}}class Fa{static get tag(){return N.packet.publicKeyEncryptedSessionKey}constructor(){this.version=null,this.publicKeyID=new da,this.publicKeyVersion=null,this.publicKeyFingerprint=null,this.publicKeyAlgorithm=null,this.sessionKey=null,this.sessionKeyAlgorithm=null,this.encrypted={}}static fromObject({version:e,encryptionKeyPacket:t,anonymousRecipient:r,sessionKey:n,sessionKeyAlgorithm:i}){const s=new Fa;if(3!==e&&6!==e)throw new Error("Unsupported PKESK version");return s.version=e,6===e&&(s.publicKeyVersion=r?null:t.version,s.publicKeyFingerprint=r?null:t.getFingerprintBytes()),s.publicKeyID=r?da.wildcard():t.getKeyID(),s.publicKeyAlgorithm=t.algorithm,s.sessionKey=n,s.sessionKeyAlgorithm=i,s}read(e){let t=0;if(this.version=e[t++],3!==this.version&&6!==this.version)throw new $t(`Version ${this.version} of the PKESK packet is unsupported.`);if(6===this.version){const r=e[t++];if(r){this.publicKeyVersion=e[t++];const n=r-1;this.publicKeyFingerprint=e.subarray(t,t+n),t+=n,this.publicKeyVersion>=5?this.publicKeyID.read(this.publicKeyFingerprint):this.publicKeyID.read(this.publicKeyFingerprint.subarray(-8))}else this.publicKeyID=da.wildcard()}else t+=this.publicKeyID.read(e.subarray(t,t+8));if(this.publicKeyAlgorithm=e[t++],this.encrypted=function(e,t){let r=0;switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:return{c:_.readMPI(t.subarray(r))};case N.publicKey.elgamal:{const e=_.readMPI(t.subarray(r));return r+=e.length+2,{c1:e,c2:_.readMPI(t.subarray(r))}}case N.publicKey.ecdh:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=new yi;return n.read(t.subarray(r)),{V:e,C:n}}case N.publicKey.x25519:case N.publicKey.x448:{const n=Si(e),i=_.readExactSubarray(t,r,r+n);r+=i.length;const s=new wi;return s.read(t.subarray(r)),{ephemeralPublicKey:i,C:s}}default:throw new $t("Unknown public key encryption algorithm.")}}(this.publicKeyAlgorithm,e.subarray(t)),this.publicKeyAlgorithm===N.publicKey.x25519||this.publicKeyAlgorithm===N.publicKey.x448)if(3===this.version)this.sessionKeyAlgorithm=N.write(N.symmetric,this.encrypted.C.algorithm);else if(null!==this.encrypted.C.algorithm)throw new Error("Unexpected cleartext symmetric algorithm")}write(){const e=[new Uint8Array([this.version])];return 6===this.version?null!==this.publicKeyFingerprint?(e.push(new Uint8Array([this.publicKeyFingerprint.length+1,this.publicKeyVersion])),e.push(this.publicKeyFingerprint)):e.push(new Uint8Array([0])):e.push(this.publicKeyID.write()),e.push(new Uint8Array([this.publicKeyAlgorithm]),vi(this.publicKeyAlgorithm,this.encrypted)),_.concatUint8Array(e)}async encrypt(e){const t=N.write(N.publicKey,this.publicKeyAlgorithm),r=3===this.version?this.sessionKeyAlgorithm:null,n=5===e.version?e.getFingerprintBytes().subarray(0,20):e.getFingerprintBytes(),i=_a(this.version,t,r,this.sessionKey);this.encrypted=await async function(e,t,r,n,i){switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:{const{n:e,e:t}=r;return{c:await Ge(n,e,t)}}case N.publicKey.elgamal:{const{p:e,g:t,y:i}=r;return async function(e,t,r,n){t=se(t),r=se(r),n=se(n);const i=se(Fe(e,pe(t))),s=me(We,t-We);return{c1:de(oe(r,s,t)),c2:de(ae(oe(n,s,t)*i,t))}}(n,e,t,i)}case N.publicKey.ecdh:{const{oid:e,Q:t,kdfParams:s}=r,{publicKey:a,wrappedKey:o}=await ci(e,s,n,t,i);return{V:a,C:new yi(o)}}case N.publicKey.x25519:case N.publicKey.x448:{if(t&&!_.isAES(t))throw new Error("X25519 and X448 keys can only encrypt AES session keys");const{A:i}=r,{ephemeralPublicKey:s,wrappedKey:a}=await Sn(e,n,i);return{ephemeralPublicKey:s,C:wi.fromObject({algorithm:t,wrappedKey:a})}}default:return[]}}(t,r,e.publicParams,i,n)}async decrypt(e,t){if(this.publicKeyAlgorithm!==e.algorithm)throw new Error("Decryption error");const r=t?_a(this.version,this.publicKeyAlgorithm,t.sessionKeyAlgorithm,t.sessionKey):null,n=5===e.version?e.getFingerprintBytes().subarray(0,20):e.getFingerprintBytes(),i=await bi(this.publicKeyAlgorithm,e.publicParams,e.privateParams,this.encrypted,n,r),{sessionKey:s,sessionKeyAlgorithm:a}=function(e,t,r,n){switch(t){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.elgamal:case N.publicKey.ecdh:{const t=r.subarray(0,r.length-2),i=r.subarray(r.length-2),s=_.writeChecksum(t.subarray(t.length%8)),a=s[0]===i[0]&s[1]===i[1],o=6===e?{sessionKeyAlgorithm:null,sessionKey:t}:{sessionKeyAlgorithm:t[0],sessionKey:t.subarray(1)};if(n){const t=a&o.sessionKeyAlgorithm===n.sessionKeyAlgorithm&o.sessionKey.length===n.sessionKey.length;return{sessionKey:_.selectUint8Array(t,o.sessionKey,n.sessionKey),sessionKeyAlgorithm:6===e?null:_.selectUint8(t,o.sessionKeyAlgorithm,n.sessionKeyAlgorithm)}}if(a&&(6===e||N.read(N.symmetric,o.sessionKeyAlgorithm)))return o;throw new Error("Decryption error")}case N.publicKey.x25519:case N.publicKey.x448:return{sessionKeyAlgorithm:null,sessionKey:r};default:throw new Error("Unsupported public key algorithm")}}(this.version,this.publicKeyAlgorithm,i,t);if(3===this.version){const e=this.publicKeyAlgorithm!==N.publicKey.x25519&&this.publicKeyAlgorithm!==N.publicKey.x448;if(this.sessionKeyAlgorithm=e?a:this.sessionKeyAlgorithm,s.length!==gn(this.sessionKeyAlgorithm).keySize)throw new Error("Unexpected session key size")}this.sessionKey=s}}function _a(e,t,r,n){switch(t){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.elgamal:case N.publicKey.ecdh:return _.concatUint8Array([new Uint8Array(6===e?[]:[r]),n,_.writeChecksum(n.subarray(n.length%8))]);case N.publicKey.x25519:case N.publicKey.x448:return n;default:throw new Error("Unsupported public key algorithm")}}class Qa{static get tag(){return N.packet.symEncryptedSessionKey}constructor(e=L){this.version=e.aeadProtect?6:4,this.sessionKey=null,this.sessionKeyEncryptionAlgorithm=null,this.sessionKeyAlgorithm=null,this.aeadAlgorithm=N.write(N.aead,e.preferredAEADAlgorithm),this.encrypted=null,this.s2k=null,this.iv=null}read(e){let t=0;if(this.version=e[t++],4!==this.version&&5!==this.version&&6!==this.version)throw new $t(`Version ${this.version} of the SKESK packet is unsupported.`);6===this.version&&t++;const r=e[t++];this.version>=5&&(this.aeadAlgorithm=e[t++],6===this.version&&t++);const n=e[t++];if(this.s2k=ms(n),t+=this.s2k.read(e.subarray(t,e.length)),this.version>=5){const r=us(this.aeadAlgorithm,!0);this.iv=e.subarray(t,t+=r.ivLength)}this.version>=5||t=5){const e=us(this.aeadAlgorithm,!0),r=new Uint8Array([192|Qa.tag,this.version,this.sessionKeyEncryptionAlgorithm,this.aeadAlgorithm]),s=6===this.version?await An(N.hash.sha256,i,new Uint8Array,r,n):i,a=await e(t,s);this.sessionKey=await a.decrypt(this.encrypted,this.iv,r)}else if(null!==this.encrypted){const e=await Ti(t,i,this.encrypted,new Uint8Array(r));if(this.sessionKeyAlgorithm=N.write(N.symmetric,e[0]),this.sessionKey=e.subarray(1,e.length),this.sessionKey.length!==gn(this.sessionKeyAlgorithm).keySize)throw new Error("Unexpected session key size")}else this.sessionKey=i}async encrypt(e,t=L){const r=null!==this.sessionKeyEncryptionAlgorithm?this.sessionKeyEncryptionAlgorithm:this.sessionKeyAlgorithm;this.sessionKeyEncryptionAlgorithm=r,this.s2k=ws(t),this.s2k.generateSalt();const{blockSize:n,keySize:i}=gn(r),s=await this.s2k.produceKey(e,i);if(null===this.sessionKey&&(this.sessionKey=Ei(this.sessionKeyAlgorithm)),this.version>=5){const e=us(this.aeadAlgorithm);this.iv=ye(e.ivLength);const t=new Uint8Array([192|Qa.tag,this.version,this.sessionKeyEncryptionAlgorithm,this.aeadAlgorithm]),n=6===this.version?await An(N.hash.sha256,s,new Uint8Array,t,i):s,a=await e(r,n);this.encrypted=await a.encrypt(this.sessionKey,this.iv,t)}else{const e=_.concatUint8Array([new Uint8Array([this.sessionKeyAlgorithm]),this.sessionKey]);this.encrypted=await Di(r,s,e,new Uint8Array(n))}}}class ja{static get tag(){return N.packet.publicKey}constructor(e=new Date,t=L){this.version=t.v6Keys?6:4,this.created=_.normalizeDate(e),this.algorithm=null,this.publicParams=null,this.expirationTimeV3=0,this.fingerprint=null,this.keyID=null}static fromSecretKeyPacket(e){const t=new ja,{version:r,created:n,algorithm:i,publicParams:s,keyID:a,fingerprint:o}=e;return t.version=r,t.created=n,t.algorithm=i,t.publicParams=s,t.keyID=a,t.fingerprint=o,t}async read(e,t=L){let r=0;if(this.version=e[r++],5===this.version&&!t.enableParsingV5Entities)throw new $t("Support for parsing v5 entities is disabled; turn on `config.enableParsingV5Entities` if needed");if(4===this.version||5===this.version||6===this.version){this.created=_.readDate(e.subarray(r,r+4)),r+=4,this.algorithm=e[r++],this.version>=5&&(r+=4);const{read:t,publicParams:n}=function(e,t){let r=0;switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,publicParams:{n:e,e:n}}}case N.publicKey.dsa:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));r+=n.length+2;const i=_.readMPI(t.subarray(r));r+=i.length+2;const s=_.readMPI(t.subarray(r));return r+=s.length+2,{read:r,publicParams:{p:e,q:n,g:i,y:s}}}case N.publicKey.elgamal:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));r+=n.length+2;const i=_.readMPI(t.subarray(r));return r+=i.length+2,{read:r,publicParams:{p:e,g:n,y:i}}}case N.publicKey.ecdsa:{const e=new Qt;r+=e.read(t),ki(e);const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,publicParams:{oid:e,Q:n}}}case N.publicKey.eddsaLegacy:{const e=new Qt;if(r+=e.read(t),ki(e),e.getName()!==N.curve.ed25519Legacy)throw new Error("Unexpected OID for eddsaLegacy");let n=_.readMPI(t.subarray(r));return r+=n.length+2,n=_.leftPad(n,33),{read:r,publicParams:{oid:e,Q:n}}}case N.publicKey.ecdh:{const e=new Qt;r+=e.read(t),ki(e);const n=_.readMPI(t.subarray(r));r+=n.length+2;const i=new mi;return r+=i.read(t.subarray(r)),{read:r,publicParams:{oid:e,Q:n,kdfParams:i}}}case N.publicKey.ed25519:case N.publicKey.ed448:case N.publicKey.x25519:case N.publicKey.x448:{const n=_.readExactSubarray(t,r,r+Si(e));return r+=n.length,{read:r,publicParams:{A:n}}}default:throw new $t("Unknown public key encryption algorithm.")}}(this.algorithm,e.subarray(r));if(6===this.version&&n.oid&&(n.oid.getName()===N.curve.curve25519Legacy||n.oid.getName()===N.curve.ed25519Legacy))throw new Error("Legacy curve25519 cannot be used with v6 keys");return this.publicParams=n,r+=t,await this.computeFingerprintAndKeyID(),r}throw new $t(`Version ${this.version} of the key packet is unsupported.`)}write(){const e=[];e.push(new Uint8Array([this.version])),e.push(_.writeDate(this.created)),e.push(new Uint8Array([this.algorithm]));const t=vi(this.algorithm,this.publicParams);return this.version>=5&&e.push(_.writeNumber(t.length,4)),e.push(t),_.concatUint8Array(e)}writeForHash(e){const t=this.writePublicKey(),r=149+e,n=e>=5?4:2;return _.concatUint8Array([new Uint8Array([r]),_.writeNumber(t.length,n),t])}isDecrypted(){return null}getCreationTime(){return this.created}getKeyID(){return this.keyID}async computeFingerprintAndKeyID(){if(await this.computeFingerprint(),this.keyID=new da,this.version>=5)this.keyID.read(this.fingerprint.subarray(0,8));else{if(4!==this.version)throw new Error("Unsupported key version");this.keyID.read(this.fingerprint.subarray(12,20))}}async computeFingerprint(){const e=this.writeForHash(this.version);if(this.version>=5)this.fingerprint=await Re(N.hash.sha256,e);else{if(4!==this.version)throw new Error("Unsupported key version");this.fingerprint=await Re(N.hash.sha1,e)}}getFingerprintBytes(){return this.fingerprint}getFingerprint(){return _.uint8ArrayToHex(this.getFingerprintBytes())}hasSameFingerprintAs(e){return this.version===e.version&&_.equalsUint8Array(this.writePublicKey(),e.writePublicKey())}getAlgorithmInfo(){const e={};e.algorithm=N.read(N.publicKey,this.algorithm);const t=this.publicParams.n||this.publicParams.p;return t?e.bits=_.uint8ArrayBitLength(t):this.publicParams.oid&&(e.curve=this.publicParams.oid.getName()),e}}ja.prototype.readPublicKey=ja.prototype.read,ja.prototype.writePublicKey=ja.prototype.write;const Ha=_.constructAllowedPackets([pa,xa,va,wa]);class qa{static get tag(){return N.packet.symmetricallyEncryptedData}constructor(){this.encrypted=null,this.packets=null}read(e){this.encrypted=e}write(){return this.encrypted}async decrypt(e,t,r=L){if(!r.allowUnauthenticatedMessages)throw new Error("Message is not authenticated.");const{blockSize:n}=gn(e),i=await T(B(this.encrypted)),s=await Ti(e,t,i.subarray(n+2),i.subarray(2,n+2));this.packets=await ka.fromBinary(s,Ha,r)}async encrypt(e,t,r=L){const n=this.packets.write(),{blockSize:i}=gn(e),s=await Pi(e),a=await Di(e,t,s,new Uint8Array(i)),o=await Di(e,t,n,a.subarray(2));this.encrypted=_.concat([a,o])}}class za{static get tag(){return N.packet.marker}read(e){return 80===e[0]&&71===e[1]&&80===e[2]}write(){return new Uint8Array([80,71,80])}}class Ga extends ja{static get tag(){return N.packet.publicSubkey}constructor(e,t){super(e,t)}static fromSecretSubkeyPacket(e){const t=new Ga,{version:r,created:n,algorithm:i,publicParams:s,keyID:a,fingerprint:o}=e;return t.version=r,t.created=n,t.algorithm=i,t.publicParams=s,t.keyID=a,t.fingerprint=o,t}}class Va{static get tag(){return N.packet.userAttribute}constructor(){this.attributes=[]}read(e){let t=0;for(;t=e)return!1;if(ae(e-gi,t)!==di)return!1;if(oe(r,t,e)!==gi)return!1;const s=BigInt(fe(t));if(s=e)return!1;const i=BigInt(fe(e));if(i{He.generateKeyPair("rsa",r,((r,n,i)=>{r?t(r):e(i)}))}));return $e(n,t)}let r,n,i;do{n=be(e-(e>>1),t,40),r=be(e>>1,t,40),i=r*n}while(fe(i)!==e);const s=(r-qe)*(n-qe);return n({privateParams:{d:r,p:n,q:i,u:s},publicParams:{n:e,e:t}})));case N.publicKey.ecdsa:return Fn(r).then((({oid:e,Q:t,secret:r})=>({privateParams:{d:r},publicParams:{oid:new Qt(e),Q:t}})));case N.publicKey.eddsaLegacy:return Fn(r).then((({oid:e,Q:t,secret:r})=>({privateParams:{seed:r},publicParams:{oid:new Qt(e),Q:t}})));case N.publicKey.ecdh:return Fn(r).then((({oid:e,Q:t,secret:r,hash:n,cipher:i})=>({privateParams:{d:r},publicParams:{oid:new Qt(e),Q:t,kdfParams:new mi({hash:n,cipher:i})}})));case N.publicKey.ed25519:case N.publicKey.ed448:return Xt(e).then((({A:e,seed:t})=>({privateParams:{seed:t},publicParams:{A:e}})));case N.publicKey.x25519:case N.publicKey.x448:return En(e).then((({A:e,k:t})=>({privateParams:{k:t},publicParams:{A:e}})));case N.publicKey.dsa:case N.publicKey.elgamal:throw new Error("Unsupported algorithm for key generation.");default:throw new Error("Unknown public key algorithm.")}}(this.algorithm,e,t);this.privateParams=r,this.publicParams=n,this.isEncrypted=!1}clearPrivateParams(){this.isMissingSecretKeyMaterial()||(Object.keys(this.privateParams).forEach((e=>{this.privateParams[e].fill(0),delete this.privateParams[e]})),this.privateParams=null,this.isEncrypted=!0)}}async function $a(e,t,r,n,i,s,a){if("argon2"===t.type&&!i)throw new Error("Using Argon2 S2K without AEAD is not allowed");if("simple"===t.type&&6===e)throw new Error("Using Simple S2K with version 6 keys is not allowed");const{keySize:o}=gn(n),c=await t.produceKey(r,o);if(!i||5===e||a)return c;const u=_.concatUint8Array([s,new Uint8Array([e,n,i])]);return An(N.hash.sha256,c,new Uint8Array,u,o)}class Wa{static get tag(){return N.packet.userID}constructor(){this.userID="",this.name="",this.email="",this.comment=""}static fromObject(e){if(_.isString(e)||e.name&&!_.isString(e.name)||e.email&&!_.isEmailAddress(e.email)||e.comment&&!_.isString(e.comment))throw new Error("Invalid user ID format");const t=new Wa;Object.assign(t,e);const r=[];return t.name&&r.push(t.name),t.comment&&r.push(`(${t.comment})`),t.email&&r.push(`<${t.email}>`),t.userID=r.join(" "),t}read(e,t=L){const r=_.decodeUTF8(e);if(r.length>t.maxUserIDLength)throw new Error("User ID string is too long");const n=e=>/^[^\s@]+@[^\s@]+$/.test(e),i=r.indexOf("<"),s=r.lastIndexOf(">");if(-1!==i&&-1!==s&&s>i){const e=r.substring(i+1,s);if(n(e)){this.email=e;const t=r.substring(0,i).trim(),n=t.indexOf("("),s=t.lastIndexOf(")");-1!==n&&-1!==s&&s>n?(this.comment=t.substring(n+1,s).trim(),this.name=t.substring(0,n).trim()):(this.name=t,this.comment="")}}else n(r.trim())&&(this.email=r.trim(),this.name="",this.comment="");this.userID=r}write(){return _.encodeUTF8(this.userID)}equals(e){return e&&e.userID===this.userID}}class Ya extends Ja{static get tag(){return N.packet.secretSubkey}constructor(e=new Date,t=L){super(e,t)}}class Za{static get tag(){return N.packet.trust}read(){throw new $t("Trust packets are not supported")}write(){throw new $t("Trust packets are not supported")}}class Xa{static get tag(){return N.packet.padding}constructor(){this.padding=null}read(e){}write(){return this.padding}async createPadding(e){this.padding=await ye(e)}}const eo=_.constructAllowedPackets([wa]);class to{constructor(e){this.packets=e||new ka}write(){return this.packets.write()}armor(e=L){const t=this.packets.some((e=>e.constructor.tag===wa.tag&&6!==e.version));return re(N.armor.signature,this.write(),void 0,void 0,void 0,t,e)}getSigningKeyIDs(){return this.packets.map((e=>e.issuerKeyID))}}async function ro({armoredSignature:e,binarySignature:t,config:r,...n}){r={...L,...r};let i=e||t;if(!i)throw new Error("readSignature: must pass options object containing `armoredSignature` or `binarySignature`");if(e&&!_.isString(e))throw new Error("readSignature: options.armoredSignature must be a string");if(t&&!_.isUint8Array(t))throw new Error("readSignature: options.binarySignature must be a Uint8Array");const s=Object.keys(n);if(s.length>0)throw new Error(`Unknown option: ${s.join(", ")}`);if(e){const{type:e,data:t}=await te(i);if(e!==N.armor.signature)throw new Error("Armored text not of type signature");i=t}const a=await ka.fromBinary(i,eo,r);return new to(a)}async function no(e,t){const r=new Ya(e.date,t);return r.packets=null,r.algorithm=N.write(N.publicKey,e.algorithm),await r.generate(e.rsaBits,e.curve),await r.computeFingerprintAndKeyID(),r}async function io(e,t){const r=new Ja(e.date,t);return r.packets=null,r.algorithm=N.write(N.publicKey,e.algorithm),await r.generate(e.rsaBits,e.curve,e.config),await r.computeFingerprintAndKeyID(),r}async function so(e,t,r,n,i=new Date,s){let a,o;for(let c=e.length-1;c>=0;c--)try{(!a||e[c].created>=a.created)&&(await e[c].verify(t,r,n,i,void 0,s),a=e[c])}catch(e){o=e}if(!a)throw _.wrapError(`Could not find valid ${N.read(N.signature,r)} signature in key ${t.getKeyID().toHex()}`.replace("certGeneric ","self-").replace(/([a-z])([A-Z])/g,((e,t,r)=>t+" "+r.toLowerCase())),o);return a}function ao(e,t,r=new Date){const n=_.normalizeDate(r);if(null!==n){const r=ho(e,t);return!(e.created<=n&&n0&&(s.keyExpirationTime=r.keyExpirationTime,s.keyNeverExpires=!1),await co(i,[],t,s,r.date,void 0,void 0,void 0,n)}async function co(e,t,r,n,i,s,a=[],o=!1,c){if(r.isDummy())throw new Error("Cannot sign with a gnu-dummy key.");if(!r.isDecrypted())throw new Error("Signing key is not decrypted.");const u=new wa;return Object.assign(u,n),u.publicKeyAlgorithm=r.algorithm,u.hashAlgorithm=await async function(e,t,r=new Date,n=[],i){const s=N.hash.sha256,a=i.preferredHashAlgorithm,o=await Promise.all(e.map((async(e,t)=>(await e.getPrimarySelfSignature(r,n[t],i)).preferredHashAlgorithms||[]))),c=new Map;for(const e of o)for(const t of e)try{const e=N.write(N.hash,t);c.set(e,c.has(e)?c.get(e)+1:1)}catch{}const u=t=>0===e.length||c.get(t)===e.length||t===s,l=()=>{if(0===c.size)return s;const e=Array.from(c.keys()).filter((e=>u(e))).sort(((e,t)=>Ne(e)-Ne(t)))[0];return Ne(e)>=Ne(s)?e:s};if(new Set([N.publicKey.ecdsa,N.publicKey.eddsaLegacy,N.publicKey.ed25519,N.publicKey.ed448]).has(t.algorithm)){const e=function(e,t){switch(e){case N.publicKey.ecdsa:case N.publicKey.eddsaLegacy:return _n(t);case N.publicKey.ed25519:case N.publicKey.ed448:return ir(e);default:throw new Error("Unknown elliptic signing algo")}}(t.algorithm,t.publicParams.oid),r=u(a),n=Ne(a)>=Ne(e);if(r&&n)return a;{const t=l();return Ne(t)>=Ne(e)?t:e}}return u(a)?a:l()}(t,r,i,s,c),u.rawNotations=[...a],await u.sign(r,e,i,o,c),u}async function uo(e,t,r,n=new Date,i){(e=e[r])&&(t[r].length?await Promise.all(e.map((async function(e){e.isExpired(n)||i&&!await i(e)||t[r].some((function(t){return _.equalsUint8Array(t.writeParams(),e.writeParams())}))||t[r].push(e)}))):t[r]=e)}async function lo(e,t,r,n,i,s,a=new Date,o){s=s||e;const c=[];return await Promise.all(n.map((async function(e){try{if(!i||e.issuerKeyID.equals(i.issuerKeyID)){const n=![N.reasonForRevocation.keyRetired,N.reasonForRevocation.keySuperseded,N.reasonForRevocation.userIDInvalid].includes(e.reasonForRevocationFlag);await e.verify(s,t,r,n?null:a,!1,o),c.push(e.issuerKeyID)}}catch(e){}}))),i?(i.revoked=!!c.some((e=>e.equals(i.issuerKeyID)))||i.revoked||!1,i.revoked):c.length>0}function ho(e,t){let r;return!1===t.keyNeverExpires&&(r=e.created.getTime()+1e3*t.keyExpirationTime),r?new Date(r):1/0}function fo(e,t={}){switch(e.type=e.type||t.type,e.curve=e.curve||t.curve,e.rsaBits=e.rsaBits||t.rsaBits,e.keyExpirationTime=void 0!==e.keyExpirationTime?e.keyExpirationTime:t.keyExpirationTime,e.passphrase=_.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e.sign=e.sign||!1,e.type){case"ecc":try{e.curve=N.write(N.curve,e.curve)}catch(e){throw new Error("Unknown curve")}e.curve!==N.curve.ed25519Legacy&&e.curve!==N.curve.curve25519Legacy&&"ed25519"!==e.curve&&"curve25519"!==e.curve||(e.curve=e.sign?N.curve.ed25519Legacy:N.curve.curve25519Legacy),e.sign?e.algorithm=e.curve===N.curve.ed25519Legacy?N.publicKey.eddsaLegacy:N.publicKey.ecdsa:e.algorithm=N.publicKey.ecdh;break;case"curve25519":e.algorithm=e.sign?N.publicKey.ed25519:N.publicKey.x25519;break;case"curve448":e.algorithm=e.sign?N.publicKey.ed448:N.publicKey.x448;break;case"rsa":e.algorithm=N.publicKey.rsaEncryptSign;break;default:throw new Error(`Unsupported key type ${e.type}`)}return e}function po(e,t,r){switch(e.algorithm){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:case N.publicKey.dsa:case N.publicKey.ecdsa:case N.publicKey.eddsaLegacy:case N.publicKey.ed25519:case N.publicKey.ed448:if(!t.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");return!t.keyFlags||0!==(t.keyFlags[0]&N.keyFlags.signData);default:return!1}}function go(e,t,r){switch(e.algorithm){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.elgamal:case N.publicKey.ecdh:case N.publicKey.x25519:case N.publicKey.x448:if(!t.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");return!t.keyFlags||0!==(t.keyFlags[0]&N.keyFlags.encryptCommunication)||0!==(t.keyFlags[0]&N.keyFlags.encryptStorage);default:return!1}}function yo(e,t,r){if(!t.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");switch(e.algorithm){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.elgamal:case N.publicKey.ecdh:case N.publicKey.x25519:case N.publicKey.x448:return!(t.keyFlags&&0===(t.keyFlags[0]&N.keyFlags.signData)||!r.allowInsecureDecryptionWithSigningKeys)||!t.keyFlags||0!==(t.keyFlags[0]&N.keyFlags.encryptCommunication)||0!==(t.keyFlags[0]&N.keyFlags.encryptStorage);default:return!1}}function mo(e,t){const r=N.write(N.publicKey,e.algorithm),n=e.getAlgorithmInfo();if(t.rejectPublicKeyAlgorithms.has(r))throw new Error(`${n.algorithm} keys are considered too weak.`);switch(r){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:case N.publicKey.rsaEncrypt:if(n.bitse.getKeys(o).length>0));return 0===c.length?null:(await Promise.all(c.map((async t=>{const s=await t.getSigningKey(o,e.created,void 0,n);if(e.revoked||await i.isRevoked(e,s.keyPacket,r,n))throw new Error("User certificate is revoked");try{await e.verify(s.keyPacket,N.signature.certGeneric,a,r,void 0,n)}catch(e){throw _.wrapError("User certificate is invalid",e)}}))),!0)}async verifyAllCertifications(e,t=new Date,r){const n=this,i=this.selfCertifications.concat(this.otherCertifications);return Promise.all(i.map((async i=>({keyID:i.issuerKeyID,valid:await n.verifyCertificate(i,e,t,r).catch((()=>!1))}))))}async verify(e=new Date,t){if(!this.selfCertifications.length)throw new Error("No self-certifications found");const r=this,n=this.mainKey.keyPacket,i={userID:this.userID,userAttribute:this.userAttribute,key:n};let s;for(let a=this.selfCertifications.length-1;a>=0;a--)try{const s=this.selfCertifications[a];if(s.revoked||await r.isRevoked(s,void 0,e,t))throw new Error("Self-certification is revoked");try{await s.verify(n,N.signature.certGeneric,i,e,void 0,t)}catch(e){throw _.wrapError("Self-certification is invalid",e)}return!0}catch(e){s=e}throw s}async update(e,t,r){const n=this.mainKey.keyPacket,i={userID:this.userID,userAttribute:this.userAttribute,key:n};await uo(e,this,"selfCertifications",t,(async function(e){try{return await e.verify(n,N.signature.certGeneric,i,t,!1,r),!0}catch(e){return!1}})),await uo(e,this,"otherCertifications",t),await uo(e,this,"revocationSignatures",t,(function(e){return lo(n,N.signature.certRevocation,i,[e],void 0,void 0,t,r)}))}async revoke(e,{flag:t=N.reasonForRevocation.noReason,string:r=""}={},n=new Date,i=L){const s={userID:this.userID,userAttribute:this.userAttribute,key:e},a=new wo(s.userID||s.userAttribute,this.mainKey);return a.revocationSignatures.push(await co(s,[],e,{signatureType:N.signature.certRevocation,reasonForRevocationFlag:N.write(N.reasonForRevocation,t),reasonForRevocationString:r},n,void 0,void 0,!1,i)),await a.update(this),a}}class bo{constructor(e,t){this.keyPacket=e,this.bindingSignatures=[],this.revocationSignatures=[],this.mainKey=t}toPacketList(){const e=new ka;return e.push(this.keyPacket),e.push(...this.revocationSignatures),e.push(...this.bindingSignatures),e}clone(){const e=new bo(this.keyPacket,this.mainKey);return e.bindingSignatures=[...this.bindingSignatures],e.revocationSignatures=[...this.revocationSignatures],e}async isRevoked(e,t,r=new Date,n=L){const i=this.mainKey.keyPacket;return lo(i,N.signature.subkeyRevocation,{key:i,bind:this.keyPacket},this.revocationSignatures,e,t,r,n)}async verify(e=new Date,t=L){const r=this.mainKey.keyPacket,n={key:r,bind:this.keyPacket},i=await so(this.bindingSignatures,r,N.signature.subkeyBinding,n,e,t);if(i.revoked||await this.isRevoked(i,null,e,t))throw new Error("Subkey is revoked");if(ao(this.keyPacket,i,e))throw new Error("Subkey is expired");return i}async getExpirationTime(e=new Date,t=L){const r=this.mainKey.keyPacket,n={key:r,bind:this.keyPacket};let i;try{i=await so(this.bindingSignatures,r,N.signature.subkeyBinding,n,e,t)}catch(e){return null}const s=ho(this.keyPacket,i),a=i.getExpirationTime();return si.bindingSignatures[t].created&&(i.bindingSignatures[t]=e),!1;try{return await e.verify(n,N.signature.subkeyBinding,s,t,void 0,r),!0}catch(e){return!1}})),await uo(e,this,"revocationSignatures",t,(function(e){return lo(n,N.signature.subkeyRevocation,s,[e],void 0,void 0,t,r)}))}async revoke(e,{flag:t=N.reasonForRevocation.noReason,string:r=""}={},n=new Date,i=L){const s={key:e,bind:this.keyPacket},a=new bo(this.keyPacket,this.mainKey);return a.revocationSignatures.push(await co(s,[],e,{signatureType:N.signature.subkeyRevocation,reasonForRevocationFlag:N.write(N.reasonForRevocation,t),reasonForRevocationString:r},n,void 0,void 0,!1,i)),await a.update(this),a}hasSameFingerprintAs(e){return this.keyPacket.hasSameFingerprintAs(e.keyPacket||e)}}["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted"].forEach((e=>{bo.prototype[e]=function(){return this.keyPacket[e]()}}));const Ao=_.constructAllowedPackets([wa]),vo=new Set([N.packet.publicKey,N.packet.privateKey]),Eo=new Set([N.packet.publicKey,N.packet.privateKey,N.packet.publicSubkey,N.packet.privateSubkey]);class ko{packetListToStructure(e,t=new Set){let r,n,i,s;for(const a of e){if(a instanceof Zt){Eo.has(a.tag)&&!s&&(s=vo.has(a.tag)?vo:Eo);continue}const e=a.constructor.tag;if(s){if(!s.has(e))continue;s=null}if(t.has(e))throw new Error(`Unexpected packet type: ${e}`);switch(e){case N.packet.publicKey:case N.packet.secretKey:if(this.keyPacket)throw new Error("Key block contains multiple keys");if(this.keyPacket=a,n=this.getKeyID(),!n)throw new Error("Missing Key ID");break;case N.packet.userID:case N.packet.userAttribute:r=new wo(a,this),this.users.push(r);break;case N.packet.publicSubkey:case N.packet.secretSubkey:r=null,i=new bo(a,this),this.subkeys.push(i);break;case N.packet.signature:switch(a.signatureType){case N.signature.certGeneric:case N.signature.certPersona:case N.signature.certCasual:case N.signature.certPositive:if(!r){_.printDebug("Dropping certification signatures without preceding user packet");continue}a.issuerKeyID.equals(n)?r.selfCertifications.push(a):r.otherCertifications.push(a);break;case N.signature.certRevocation:r?r.revocationSignatures.push(a):this.directSignatures.push(a);break;case N.signature.key:this.directSignatures.push(a);break;case N.signature.subkeyBinding:if(!i){_.printDebug("Dropping subkey binding signature without preceding subkey packet");continue}i.bindingSignatures.push(a);break;case N.signature.keyRevocation:this.revocationSignatures.push(a);break;case N.signature.subkeyRevocation:if(!i){_.printDebug("Dropping subkey revocation signature without preceding subkey packet");continue}i.revocationSignatures.push(a)}}}}toPacketList(){const e=new ka;return e.push(this.keyPacket),e.push(...this.revocationSignatures),e.push(...this.directSignatures),this.users.map((t=>e.push(...t.toPacketList()))),this.subkeys.map((t=>e.push(...t.toPacketList()))),e}clone(e=!1){const t=new this.constructor(this.toPacketList());return e&&t.getKeys().forEach((e=>{if(e.keyPacket=Object.create(Object.getPrototypeOf(e.keyPacket),Object.getOwnPropertyDescriptors(e.keyPacket)),!e.keyPacket.isDecrypted())return;const t={};Object.keys(e.keyPacket.privateParams).forEach((r=>{t[r]=new Uint8Array(e.keyPacket.privateParams[r])})),e.keyPacket.privateParams=t})),t}getSubkeys(e=null){return this.subkeys.filter((t=>!e||t.getKeyID().equals(e,!0)))}getKeys(e=null){const t=[];return e&&!this.getKeyID().equals(e,!0)||t.push(this),t.concat(this.getSubkeys(e))}getKeyIDs(){return this.getKeys().map((e=>e.getKeyID()))}getUserIDs(){return this.users.map((e=>e.userID?e.userID.userID:null)).filter((e=>null!==e))}write(){return this.toPacketList().write()}async getSigningKey(e=null,t=new Date,r={},n=L){await this.verifyPrimaryKey(t,r,n);const i=this.keyPacket;try{mo(i,n)}catch(e){throw _.wrapError("Could not verify primary key",e)}const s=this.subkeys.slice().sort(((e,t)=>t.keyPacket.created-e.keyPacket.created||t.keyPacket.algorithm-e.keyPacket.algorithm));let a;for(const r of s)if(!e||r.getKeyID().equals(e))try{await r.verify(t,n);const e={key:i,bind:r.keyPacket},s=await so(r.bindingSignatures,i,N.signature.subkeyBinding,e,t,n);if(!po(r.keyPacket,s,n))continue;if(!s.embeddedSignature)throw new Error("Missing embedded signature");return await so([s.embeddedSignature],r.keyPacket,N.signature.keyBinding,e,t,n),mo(r.keyPacket,n),r}catch(e){a=e}try{const s=await this.getPrimarySelfSignature(t,r,n);if((!e||i.getKeyID().equals(e))&&po(i,s,n))return mo(i,n),this}catch(e){a=e}throw _.wrapError("Could not find valid signing key packet in key "+this.getKeyID().toHex(),a)}async getEncryptionKey(e,t=new Date,r={},n=L){await this.verifyPrimaryKey(t,r,n);const i=this.keyPacket;try{mo(i,n)}catch(e){throw _.wrapError("Could not verify primary key",e)}const s=this.subkeys.slice().sort(((e,t)=>t.keyPacket.created-e.keyPacket.created||t.keyPacket.algorithm-e.keyPacket.algorithm));let a;for(const r of s)if(!e||r.getKeyID().equals(e))try{await r.verify(t,n);const e={key:i,bind:r.keyPacket},s=await so(r.bindingSignatures,i,N.signature.subkeyBinding,e,t,n);if(go(r.keyPacket,s,n))return mo(r.keyPacket,n),r}catch(e){a=e}try{const s=await this.getPrimarySelfSignature(t,r,n);if((!e||i.getKeyID().equals(e))&&go(i,s,n))return mo(i,n),this}catch(e){a=e}throw _.wrapError("Could not find valid encryption key packet in key "+this.getKeyID().toHex(),a)}async isRevoked(e,t,r=new Date,n=L){return lo(this.keyPacket,N.signature.keyRevocation,{key:this.keyPacket},this.revocationSignatures,e,t,r,n)}async verifyPrimaryKey(e=new Date,t={},r=L){const n=this.keyPacket;if(await this.isRevoked(null,null,e,r))throw new Error("Primary key is revoked");if(ao(n,await this.getPrimarySelfSignature(e,t,r),e))throw new Error("Primary key is expired");if(6!==n.version){const t=await so(this.directSignatures,n,N.signature.key,{key:n},e,r).catch((()=>{}));if(t&&ao(n,t,e))throw new Error("Primary key is expired")}}async getExpirationTime(e,t=L){let r;try{const n=await this.getPrimarySelfSignature(null,e,t),i=ho(this.keyPacket,n),s=n.getExpirationTime(),a=6!==this.keyPacket.version&&await so(this.directSignatures,this.keyPacket,N.signature.key,{key:this.keyPacket},null,t).catch((()=>{}));if(a){const e=ho(this.keyPacket,a);r=Math.min(i,s,e)}else r=ie.subkeys.some((e=>t.hasSameFingerprintAs(e))))))throw new Error("Cannot update public key with private key if subkeys mismatch");return e.update(this,r)}const n=this.clone();return await uo(e,n,"revocationSignatures",t,(i=>lo(n.keyPacket,N.signature.keyRevocation,n,[i],null,e.keyPacket,t,r))),await uo(e,n,"directSignatures",t),await Promise.all(e.users.map((async e=>{const i=n.users.filter((t=>e.userID&&e.userID.equals(t.userID)||e.userAttribute&&e.userAttribute.equals(t.userAttribute)));if(i.length>0)await Promise.all(i.map((n=>n.update(e,t,r))));else{const t=e.clone();t.mainKey=n,n.users.push(t)}}))),await Promise.all(e.subkeys.map((async e=>{const i=n.subkeys.filter((t=>t.hasSameFingerprintAs(e)));if(i.length>0)await Promise.all(i.map((n=>n.update(e,t,r))));else{const t=e.clone();t.mainKey=n,n.subkeys.push(t)}}))),n}async getRevocationCertificate(e=new Date,t=L){const r={key:this.keyPacket},n=await so(this.revocationSignatures,this.keyPacket,N.signature.keyRevocation,r,e,t),i=new ka;i.push(n);const s=6!==this.keyPacket.version;return re(N.armor.publicKey,i.write(),null,null,"This is a revocation certificate",s,t)}async applyRevocationCertificate(e,t=new Date,r=L){const n=await te(e),i=(await ka.fromBinary(n.data,Ao,r)).findPacket(N.packet.signature);if(!i||i.signatureType!==N.signature.keyRevocation)throw new Error("Could not find revocation signature packet");if(!i.issuerKeyID.equals(this.getKeyID()))throw new Error("Revocation signature does not match key");try{await i.verify(this.keyPacket,N.signature.keyRevocation,{key:this.keyPacket},t,void 0,r)}catch(e){throw _.wrapError("Could not verify revocation signature",e)}const s=this.clone();return s.revocationSignatures.push(i),s}async signPrimaryUser(e,t,r,n=L){const{index:i,user:s}=await this.getPrimaryUser(t,r,n),a=await s.certify(e,t,n),o=this.clone();return o.users[i]=a,o}async signAllUsers(e,t=new Date,r=L){const n=this.clone();return n.users=await Promise.all(this.users.map((function(n){return n.certify(e,t,r)}))),n}async verifyPrimaryUser(e,t=new Date,r,n=L){const i=this.keyPacket,{user:s}=await this.getPrimaryUser(t,r,n);return e?await s.verifyAllCertifications(e,t,n):[{keyID:i.getKeyID(),valid:await s.verify(t,n).catch((()=>!1))}]}async verifyAllUsers(e,t=new Date,r=L){const n=this.keyPacket,i=[];return await Promise.all(this.users.map((async s=>{const a=e?await s.verifyAllCertifications(e,t,r):[{keyID:n.getKeyID(),valid:await s.verify(t,r).catch((()=>!1))}];i.push(...a.map((e=>({userID:s.userID?s.userID.userID:null,userAttribute:s.userAttribute,keyID:e.keyID,valid:e.valid}))))}))),i}}["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","hasSameFingerprintAs"].forEach((e=>{ko.prototype[e]=bo.prototype[e]}));class So extends ko{constructor(e){if(super(),this.keyPacket=null,this.revocationSignatures=[],this.directSignatures=[],this.users=[],this.subkeys=[],e&&(this.packetListToStructure(e,new Set([N.packet.secretKey,N.packet.secretSubkey])),!this.keyPacket))throw new Error("Invalid key: missing public-key packet")}isPrivate(){return!1}toPublic(){return this}armor(e=L){const t=6!==this.keyPacket.version;return re(N.armor.publicKey,this.toPacketList().write(),void 0,void 0,void 0,t,e)}}class Io extends So{constructor(e){if(super(),this.packetListToStructure(e,new Set([N.packet.publicKey,N.packet.publicSubkey])),!this.keyPacket)throw new Error("Invalid key: missing private-key packet")}isPrivate(){return!0}toPublic(){const e=new ka,t=this.toPacketList();for(const r of t)switch(r.constructor.tag){case N.packet.secretKey:{const t=ja.fromSecretKeyPacket(r);e.push(t);break}case N.packet.secretSubkey:{const t=Ga.fromSecretSubkeyPacket(r);e.push(t);break}default:e.push(r)}return new So(e)}armor(e=L){const t=6!==this.keyPacket.version;return re(N.armor.privateKey,this.toPacketList().write(),void 0,void 0,void 0,t,e)}async getDecryptionKeys(e,t=new Date,r={},n=L){const i=this.keyPacket,s=[];let a=null;for(let r=0;re.isDecrypted()))}async validate(e=L){if(!this.isPrivate())throw new Error("Cannot validate a public key");let t;if(this.keyPacket.isDummy()){const r=await this.getSigningKey(null,null,void 0,{...e,rejectPublicKeyAlgorithms:new Set,minRSABits:0});r&&!r.keyPacket.isDummy()&&(t=r.keyPacket)}else t=this.keyPacket;if(t)return t.validate();{const e=this.getKeys();if(e.map((e=>e.keyPacket.isDummy())).every(Boolean))throw new Error("Cannot validate an all-gnu-dummy key");return Promise.all(e.map((async e=>e.keyPacket.validate())))}}clearPrivateParams(){this.getKeys().forEach((({keyPacket:e})=>{e.isDecrypted()&&e.clearPrivateParams()}))}async revoke({flag:e=N.reasonForRevocation.noReason,string:t=""}={},r=new Date,n=L){if(!this.isPrivate())throw new Error("Need private key for revoking");const i={key:this.keyPacket},s=this.clone();return s.revocationSignatures.push(await co(i,[],this.keyPacket,{signatureType:N.signature.keyRevocation,reasonForRevocationFlag:N.write(N.reasonForRevocation,e),reasonForRevocationString:t},r,void 0,void 0,void 0,n)),s}async addSubkey(e={}){const t={...L,...e.config};if(e.passphrase)throw new Error("Subkey could not be encrypted here, please encrypt whole key");if(e.rsaBitse!==t))]}function a(){const e={};e.keyFlags=[N.keyFlags.certifyKeys|N.keyFlags.signData];const t=s([N.symmetric.aes256,N.symmetric.aes128],n.preferredSymmetricAlgorithm);if(e.preferredSymmetricAlgorithms=t,n.aeadProtect){const r=s([N.aead.gcm,N.aead.eax,N.aead.ocb],n.preferredAEADAlgorithm);e.preferredCipherSuites=r.flatMap((e=>t.map((t=>[t,e]))))}return e.preferredHashAlgorithms=s([N.hash.sha512,N.hash.sha256,N.hash.sha3_512,N.hash.sha3_256],n.preferredHashAlgorithm),e.preferredCompressionAlgorithms=s([N.compression.uncompressed,N.compression.zlib,N.compression.zip],n.preferredCompressionAlgorithm),e.features=[0],e.features[0]|=N.features.modificationDetection,n.aeadProtect&&(e.features[0]|=N.features.seipdv2),r.keyExpirationTime>0&&(e.keyExpirationTime=r.keyExpirationTime,e.keyNeverExpires=!1),e}if(i.push(e),6===e.version){const t={key:e},s=a();s.signatureType=N.signature.key;const o=await co(t,[],e,s,r.date,void 0,void 0,void 0,n);i.push(o)}await Promise.all(r.userIDs.map((async function(t,i){const s=Wa.fromObject(t),o={userID:s,key:e},c=6!==e.version?a():{};return c.signatureType=N.signature.certPositive,0===i&&(c.isPrimaryUserID=!0),{userIDPacket:s,signaturePacket:await co(o,[],e,c,r.date,void 0,void 0,void 0,n)}}))).then((e=>{e.forEach((({userIDPacket:e,signaturePacket:t})=>{i.push(e),i.push(t)}))})),await Promise.all(t.map((async function(t,i){const s=r.subkeys[i];return{secretSubkeyPacket:t,subkeySignaturePacket:await oo(t,e,s,n)}}))).then((e=>{e.forEach((({secretSubkeyPacket:e,subkeySignaturePacket:t})=>{i.push(e),i.push(t)}))}));const o={key:e};return i.push(await co(o,[],e,{signatureType:N.signature.keyRevocation,reasonForRevocationFlag:N.reasonForRevocation.noReason,reasonForRevocationString:""},r.date,void 0,void 0,void 0,n)),r.passphrase&&e.clearPrivateParams(),await Promise.all(t.map((async function(e,t){r.subkeys[t].passphrase&&e.clearPrivateParams()}))),new Io(i)}async function Po({armoredKey:e,binaryKey:t,config:r,...n}){if(r={...L,...r},!e&&!t)throw new Error("readKey: must pass options object containing `armoredKey` or `binaryKey`");if(e&&!_.isString(e))throw new Error("readKey: options.armoredKey must be a string");if(t&&!_.isUint8Array(t))throw new Error("readKey: options.binaryKey must be a Uint8Array");const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);let s;if(e){const{type:t,data:r}=await te(e);if(t!==N.armor.publicKey&&t!==N.armor.privateKey)throw new Error("Armored text not of type key");s=r}else s=t;const a=await ka.fromBinary(s,Co,r),o=a.indexOfTag(N.packet.publicKey,N.packet.secretKey);if(0===o.length)throw new Error("No key packet found");return Bo(a.slice(o[0],o[1]))}async function Do({armoredKey:e,binaryKey:t,config:r,...n}){if(r={...L,...r},!e&&!t)throw new Error("readPrivateKey: must pass options object containing `armoredKey` or `binaryKey`");if(e&&!_.isString(e))throw new Error("readPrivateKey: options.armoredKey must be a string");if(t&&!_.isUint8Array(t))throw new Error("readPrivateKey: options.binaryKey must be a Uint8Array");const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);let s;if(e){const{type:t,data:r}=await te(e);if(t!==N.armor.privateKey)throw new Error("Armored text not of type private key");s=r}else s=t;const a=await ka.fromBinary(s,Co,r),o=a.indexOfTag(N.packet.publicKey,N.packet.secretKey);for(let e=0;e0)throw new Error(`Unknown option: ${s.join(", ")}`);if(e){const{type:t,data:r}=await te(e);if(t!==N.armor.publicKey&&t!==N.armor.privateKey)throw new Error("Armored text not of type key");i=r}const a=[],o=await ka.fromBinary(i,Co,r),c=o.indexOfTag(N.packet.publicKey,N.packet.secretKey);if(0===c.length)throw new Error("No key packet found");for(let e=0;e0?t.map((e=>e.issuerKeyID)):e.packets.filterByTag(N.packet.signature).map((e=>e.issuerKeyID))}async decrypt(e,t,r,n=new Date,i=L){const s=this.packets.filterByTag(N.packet.symmetricallyEncryptedData,N.packet.symEncryptedIntegrityProtectedData,N.packet.aeadEncryptedData);if(0===s.length)throw new Error("No encrypted data found");const a=s[0],o=a.cipherAlgorithm,c=r||await this.decryptSessionKeys(e,t,o,n,i);let u=null;const l=Promise.all(c.map((async({algorithm:e,data:t})=>{if(!_.isUint8Array(t)||!a.cipherAlgorithm&&!_.isString(e))throw new Error("Invalid session key for decryption.");try{const r=a.cipherAlgorithm||N.write(N.symmetric,e);await a.decrypt(r,t,i)}catch(e){_.printDebugError(e),u=e}})));if(U(a.encrypted),a.encrypted=null,await l,!a.packets||!a.packets.length)throw u||new Error("Decryption failed.");const h=new Ro(a.packets);return a.packets=new ka,h}async decryptSessionKeys(e,t,r,n=new Date,i=L){let s,a=[];if(t){const e=this.packets.filterByTag(N.packet.symEncryptedSessionKey);if(0===e.length)throw new Error("No symmetrically encrypted session key packet found.");await Promise.all(t.map((async function(t,r){let n;n=r?await ka.fromBinary(e.write(),Oo,i):e,await Promise.all(n.map((async function(e){try{await e.decrypt(t),a.push(e)}catch(e){_.printDebugError(e),e instanceof hs&&(s=e)}})))})))}else{if(!e)throw new Error("No key or password specified.");{const t=this.packets.filterByTag(N.packet.publicKeyEncryptedSessionKey);if(0===t.length)throw new Error("No public key encrypted session key packet found.");await Promise.all(t.map((async function(t){await Promise.all(e.map((async function(e){let o;try{o=(await e.getDecryptionKeys(t.publicKeyID,null,void 0,i)).map((e=>e.keyPacket))}catch(e){return void(s=e)}let c=[N.symmetric.aes256,N.symmetric.aes128,N.symmetric.tripledes,N.symmetric.cast5];try{const t=await e.getPrimarySelfSignature(n,void 0,i);t.preferredSymmetricAlgorithms&&(c=c.concat(t.preferredSymmetricAlgorithms))}catch(e){}await Promise.all(o.map((async function(e){if(!e.isDecrypted())throw new Error("Decryption key is not decrypted.");if(!i.constantTimePKCS1Decryption||t.publicKeyAlgorithm!==N.publicKey.rsaEncrypt&&t.publicKeyAlgorithm!==N.publicKey.rsaEncryptSign&&t.publicKeyAlgorithm!==N.publicKey.rsaSign&&t.publicKeyAlgorithm!==N.publicKey.elgamal)try{await t.decrypt(e);const n=r||t.sessionKeyAlgorithm;if(n&&!c.includes(N.write(N.symmetric,n)))throw new Error("A non-preferred symmetric algorithm was used.");a.push(t)}catch(e){_.printDebugError(e),s=e}else{const n=t.write();await Promise.all((r?[r]:Array.from(i.constantTimePKCS1DecryptionSupportedSymmetricAlgorithms)).map((async t=>{const r=new Fa;r.read(n);const i={sessionKeyAlgorithm:t,sessionKey:Ei(t)};try{await r.decrypt(e,i),a.push(r)}catch(e){_.printDebugError(e),s=e}})))}})))}))),U(t.encrypted),t.encrypted=null})))}}if(a.length>0){if(a.length>1){const e=new Set;a=a.filter((t=>{const r=t.sessionKeyAlgorithm+_.uint8ArrayToString(t.sessionKey);return!e.has(r)&&(e.add(r),!0)}))}return a.map((e=>({data:e.sessionKey,algorithm:e.sessionKeyAlgorithm&&N.read(N.symmetric,e.sessionKeyAlgorithm)})))}throw s||new Error("Session key decryption failed.")}getLiteralData(){const e=this.unwrapCompressed().packets.findPacket(N.packet.literalData);return e&&e.getBytes()||null}getFilename(){const e=this.unwrapCompressed().packets.findPacket(N.packet.literalData);return e&&e.getFilename()||null}getText(){const e=this.unwrapCompressed().packets.findPacket(N.packet.literalData);return e?e.getText():null}static async generateSessionKey(e=[],t=new Date,r=[],n=L){const{symmetricAlgo:i,aeadAlgo:s}=await async function(e=[],t=new Date,r=[],n=L){const i=await Promise.all(e.map(((e,i)=>e.getPrimarySelfSignature(t,r[i],n))));if(e.length?i.every((e=>e.features&&e.features[0]&N.features.seipdv2)):n.aeadProtect){const e={symmetricAlgo:N.symmetric.aes128,aeadAlgo:N.aead.ocb},t=[{symmetricAlgo:n.preferredSymmetricAlgorithm,aeadAlgo:n.preferredAEADAlgorithm},{symmetricAlgo:n.preferredSymmetricAlgorithm,aeadAlgo:N.aead.ocb},{symmetricAlgo:N.symmetric.aes128,aeadAlgo:n.preferredAEADAlgorithm}];for(const e of t)if(i.every((t=>t.preferredCipherSuites&&t.preferredCipherSuites.some((t=>t[0]===e.symmetricAlgo&&t[1]===e.aeadAlgo)))))return e;return e}const s=N.symmetric.aes128,a=n.preferredSymmetricAlgorithm;return{symmetricAlgo:i.every((e=>e.preferredSymmetricAlgorithms&&e.preferredSymmetricAlgorithms.includes(a)))?a:s,aeadAlgo:void 0}}(e,t,r,n),a=N.read(N.symmetric,i),o=s?N.read(N.aead,s):void 0;return await Promise.all(e.map((e=>e.getEncryptionKey().catch((()=>null)).then((e=>{if(e&&(e.keyPacket.algorithm===N.publicKey.x25519||e.keyPacket.algorithm===N.publicKey.x448)&&!o&&!_.isAES(i))throw new Error("Could not generate a session key compatible with the given `encryptionKeys`: X22519 and X448 keys can only be used to encrypt AES session keys; change `config.preferredSymmetricAlgorithm` accordingly.")}))))),{data:Ei(i),algorithm:a,aeadAlgorithm:o}}async encrypt(e,t,r,n=!1,i=[],s=new Date,a=[],o=L){if(r){if(!_.isUint8Array(r.data)||!_.isString(r.algorithm))throw new Error("Invalid session key for encryption.")}else if(e&&e.length)r=await Ro.generateSessionKey(e,s,a,o);else{if(!t||!t.length)throw new Error("No keys, passwords, or session key provided.");r=await Ro.generateSessionKey(void 0,void 0,void 0,o)}const{data:c,algorithm:u,aeadAlgorithm:l}=r,h=await Ro.encryptSessionKey(c,u,l,e,t,n,i,s,a,o),f=Ma.fromObject({version:l?2:1,aeadAlgorithm:l?N.write(N.aead,l):null});f.packets=this.packets;const p=N.write(N.symmetric,u);return await f.encrypt(p,c,o),h.packets.push(f),f.packets=new ka,h}static async encryptSessionKey(e,t,r,n,i,s=!1,a=[],o=new Date,c=[],u=L){const l=new ka,h=N.write(N.symmetric,t),f=r&&N.write(N.aead,r);if(n){const t=await Promise.all(n.map((async function(t,r){const n=await t.getEncryptionKey(a[r],o,c,u),i=Fa.fromObject({version:f?6:3,encryptionKeyPacket:n.keyPacket,anonymousRecipient:s,sessionKey:e,sessionKeyAlgorithm:h});return await i.encrypt(n.keyPacket),delete i.sessionKey,i})));l.push(...t)}if(i){const t=async function(e,t){try{return await e.decrypt(t),1}catch(e){return 0}},r=(e,t)=>e+t,n=async function(e,s,a,o){const c=new Qa(u);return c.sessionKey=e,c.sessionKeyAlgorithm=s,a&&(c.aeadAlgorithm=a),await c.encrypt(o,u),u.passwordCollisionCheck&&1!==(await Promise.all(i.map((e=>t(c,e))))).reduce(r)?n(e,s,o):(delete c.sessionKey,c)},s=await Promise.all(i.map((t=>n(e,h,f,t))));l.push(...s)}return new Ro(l)}async sign(e=[],t=[],r=null,n=[],i=new Date,s=[],a=[],o=[],c=L){const u=new ka,l=this.packets.findPacket(N.packet.literalData);if(!l)throw new Error("No literal data packet to sign.");const h=await No(l,e,t,r,n,i,s,a,o,!1,c),f=h.map(((e,t)=>va.fromSignaturePacket(e,0===t))).reverse();return u.push(...f),u.push(l),u.push(...h),new Ro(u)}compress(e,t=L){if(e===N.compression.uncompressed)return this;const r=new xa(t);r.algorithm=e,r.packets=this.packets;const n=new ka;return n.push(r),new Ro(n)}async signDetached(e=[],t=[],r=null,n=[],i=[],s=new Date,a=[],o=[],c=L){const u=this.packets.findPacket(N.packet.literalData);if(!u)throw new Error("No literal data packet to sign.");return new to(await No(u,e,t,r,n,i,s,a,o,!0,c))}async verify(e,t=new Date,r=L){const n=this.unwrapCompressed(),i=n.packets.filterByTag(N.packet.literalData);if(1!==i.length)throw new Error("Can only verify message with one literal data packet.");let s=n.packets;l(s.stream)&&(s=s.concat(await T(s.stream,(e=>e||[]))));const a=s.filterByTag(N.packet.onePassSignature).reverse(),o=s.filterByTag(N.packet.signature);return a.length&&!o.length&&_.isStream(s.stream)&&!l(s.stream)?(await Promise.all(a.map((async e=>{e.correspondingSig=new Promise(((t,r)=>{e.correspondingSigResolve=t,e.correspondingSigReject=r})),e.signatureData=K((async()=>(await e.correspondingSig).signatureData)),e.hashed=T(await e.hash(e.signatureType,i[0],void 0,!1)),e.hashed.catch((()=>{}))}))),s.stream=I(s.stream,(async(e,t)=>{const r=O(e),n=M(t);try{for(let e=0;e{t.correspondingSigReject(e)})),await n.abort(e)}})),Lo(a,i,e,t,!1,r)):Lo(o,i,e,t,!1,r)}verifyDetached(e,t,r=new Date,n=L){const i=this.unwrapCompressed().packets.filterByTag(N.packet.literalData);if(1!==i.length)throw new Error("Can only verify message with one literal data packet.");return Lo(e.packets.filterByTag(N.packet.signature),i,t,r,!0,n)}unwrapCompressed(){const e=this.packets.filterByTag(N.packet.compressedData);return e.length?new Ro(e[0].packets):this}async appendSignature(e,t=L){await this.packets.read(_.isUint8Array(e)?e:(await te(e)).data,Mo,t)}write(){return this.packets.write()}armor(e=L){const t=this.packets[this.packets.length-1],r=t.constructor.tag===Ma.tag?2!==t.version:this.packets.some((e=>e.constructor.tag===wa.tag&&6!==e.version));return re(N.armor.message,this.write(),null,null,null,r,e)}}async function No(e,t,r=[],n=null,i=[],s=new Date,a=[],o=[],c=[],u=!1,l=L){const h=new ka,f=null===e.text?N.signature.binary:N.signature.text;if(await Promise.all(t.map((async(t,n)=>{const h=a[n];if(!t.isPrivate())throw new Error("Need private key for signing");const p=await t.getSigningKey(i[n],s,h,l);return co(e,r.length?r:[t],p.keyPacket,{signatureType:f},s,o,c,u,l)}))).then((e=>{h.push(...e)})),n){const e=n.packets.filterByTag(N.packet.signature);h.push(...e)}return h}async function Lo(e,t,r,n=new Date,i=!1,s=L){return Promise.all(e.filter((function(e){return["text","binary"].includes(N.read(N.signature,e.signatureType))})).map((async function(e){return async function(e,t,r,n=new Date,i=!1,s=L){let a,o;for(const t of r){const r=t.getKeys(e.issuerKeyID);if(r.length>0){a=t,o=r[0];break}}const c=e instanceof va?e.correspondingSig:e,u={keyID:e.issuerKeyID,verified:(async()=>{if(!o)throw new Error(`Could not find signing key with key ID ${e.issuerKeyID.toHex()}`);await e.verify(o.keyPacket,e.signatureType,t[0],n,i,s);const r=await c;if(o.getCreationTime()>r.created)throw new Error("Key is newer than the signature");try{await a.getSigningKey(o.getKeyID(),r.created,void 0,s)}catch(e){if(!s.allowInsecureVerificationWithReformattedKeys||!e.message.match(/Signature creation time is in the future/))throw e;await a.getSigningKey(o.getKeyID(),n,void 0,s)}return!0})(),signature:(async()=>{const e=await c,t=new ka;return e&&t.push(e),new to(t)})()};return u.signature.catch((()=>{})),u.verified.catch((()=>{})),u}(e,t,r,n,i,s)})))}async function Fo({armoredMessage:e,binaryMessage:t,config:r,...n}){r={...L,...r};let i=e||t;if(!i)throw new Error("readMessage: must pass options object containing `armoredMessage` or `binaryMessage`");if(e&&!_.isString(e)&&!_.isStream(e))throw new Error("readMessage: options.armoredMessage must be a string or stream");if(t&&!_.isUint8Array(t)&&!_.isStream(t))throw new Error("readMessage: options.binaryMessage must be a Uint8Array or stream");const s=Object.keys(n);if(s.length>0)throw new Error(`Unknown option: ${s.join(", ")}`);const a=_.isStream(i);if(e){const{type:e,data:t}=await te(i);if(e!==N.armor.message)throw new Error("Armored text not of type message");i=t}const o=await ka.fromBinary(i,Ko,r,new Ca),c=new Ro(o);return c.fromStream=a,c}async function _o({text:e,binary:t,filename:r,date:n=new Date,format:i=(void 0!==e?"utf8":"binary"),...s}){const a=void 0!==e?e:t;if(void 0===a)throw new Error("createMessage: must pass options object containing `text` or `binary`");if(e&&!_.isString(e)&&!_.isStream(e))throw new Error("createMessage: options.text must be a string or stream");if(t&&!_.isUint8Array(t)&&!_.isStream(t))throw new Error("createMessage: options.binary must be a Uint8Array or stream");const o=Object.keys(s);if(o.length>0)throw new Error(`Unknown option: ${o.join(", ")}`);const c=_.isStream(a),u=new pa(n);void 0!==e?u.setText(a,N.write(N.literal,i)):u.setBytes(a,N.write(N.literal,i)),void 0!==r&&u.setFilename(r);const l=new ka;l.push(u);const h=new Ro(l);return h.fromStream=c,h}const Qo=_.constructAllowedPackets([wa]);class jo{constructor(e,t){if(this.text=_.removeTrailingSpaces(e).replace(/\r?\n/g,"\r\n"),t&&!(t instanceof to))throw new Error("Invalid signature input");this.signature=t||new to(new ka)}getSigningKeyIDs(){const e=[];return this.signature.packets.forEach((function(t){e.push(t.issuerKeyID)})),e}async sign(e,t=[],r=null,n=[],i=new Date,s=[],a=[],o=[],c=L){const u=new pa;u.setText(this.text);const l=new to(await No(u,e,t,r,n,i,s,a,o,!0,c));return new jo(this.text,l)}verify(e,t=new Date,r=L){const n=this.signature.packets.filterByTag(N.packet.signature),i=new pa;return i.setText(this.text),Lo(n,[i],e,t,!0,r)}getText(){return this.text.replace(/\r\n/g,"\n")}armor(e=L){const t=this.signature.packets.some((e=>6!==e.version)),r={hash:t?Array.from(new Set(this.signature.packets.map((e=>N.read(N.hash,e.hashAlgorithm).toUpperCase())))).join():null,text:this.text,data:this.signature.packets.write()};return re(N.armor.signed,r,void 0,void 0,void 0,t,e)}}async function Ho({cleartextMessage:e,config:t,...r}){if(t={...L,...t},!e)throw new Error("readCleartextMessage: must pass options object containing `cleartextMessage`");if(!_.isString(e))throw new Error("readCleartextMessage: options.cleartextMessage must be a string");const n=Object.keys(r);if(n.length>0)throw new Error(`Unknown option: ${n.join(", ")}`);const i=await te(e);if(i.type!==N.armor.signed)throw new Error("No cleartext signed message.");const s=await ka.fromBinary(i.data,Qo,t);!function(e,t){const r=[];if(e.forEach((e=>{const t=e.match(/^Hash: (.+)$/);if(!t)throw new Error('Only "Hash" header allowed in cleartext signed message');{const e=t[1].replace(/\s/g,"").split(",").map((e=>{try{return N.write(N.hash,e.toLowerCase())}catch(t){throw new Error("Unknown hash algorithm in armor header: "+e.toLowerCase())}}));r.push(...e)}})),r.length&&!function(e){const r=e=>t=>e.hashAlgorithm===t;for(let n=0;n0)throw new Error(`Unknown option: ${r.join(", ")}`);return new jo(e)}async function zo({userIDs:e=[],passphrase:t,type:r,curve:n,rsaBits:i=4096,keyExpirationTime:s=0,date:a=new Date,subkeys:o=[{}],format:c="armored",config:u,...l}){oc(u={...L,...u}),r||n?(r=r||"ecc",n=n||"curve25519Legacy"):(r=u.v6Keys?"curve25519":"ecc",n="curve25519Legacy"),e=cc(e);const h=Object.keys(l);if(h.length>0)throw new Error(`Unknown option: ${h.join(", ")}`);if(0===e.length&&!u.v6Keys)throw new Error("UserIDs are required for V4 keys");if("rsa"===r&&ifo(e.subkeys[r],e)));let r=[io(e,t)];r=r.concat(e.subkeys.map((e=>no(e,t))));const n=await Promise.all(r),i=await xo(n[0],n.slice(1),e,t),s=await i.getRevocationCertificate(e.date,t);return i.revocationSignatures=[],{key:i,revocationCertificate:s}}(f,u);return e.getKeys().forEach((({keyPacket:e})=>mo(e,u))),{privateKey:hc(e,c,u),publicKey:hc(e.toPublic(),c,u),revocationCertificate:t}}catch(e){throw _.wrapError("Error generating keypair",e)}}async function Go({privateKey:e,userIDs:t=[],passphrase:r,keyExpirationTime:n=0,date:i,format:s="armored",config:a,...o}){oc(a={...L,...a}),t=cc(t);const c=Object.keys(o);if(c.length>0)throw new Error(`Unknown option: ${c.join(", ")}`);if(0===t.length&&6!==e.keyPacket.version)throw new Error("UserIDs are required for V4 keys");const u={privateKey:e,userIDs:t,passphrase:r,keyExpirationTime:n,date:i};try{const{key:e,revocationCertificate:t}=await async function(e,t){e=o(e);const{privateKey:r}=e;if(!r.isPrivate())throw new Error("Cannot reformat a public key");if(r.keyPacket.isDummy())throw new Error("Cannot reformat a gnu-dummy primary key");if(!r.getKeys().every((({keyPacket:e})=>e.isDecrypted())))throw new Error("Key is not decrypted");const n=r.keyPacket;e.subkeys||(e.subkeys=await Promise.all(r.subkeys.map((async e=>{const r=e.keyPacket,i={key:n,bind:r},s=await so(e.bindingSignatures,n,N.signature.subkeyBinding,i,null,t).catch((()=>({})));return{sign:s.keyFlags&&s.keyFlags[0]&N.keyFlags.signData}}))));const i=r.subkeys.map((e=>e.keyPacket));if(e.subkeys.length!==i.length)throw new Error("Number of subkey options does not match number of subkeys");e.subkeys=e.subkeys.map((t=>o(t,e)));const s=await xo(n,i,e,t),a=await s.getRevocationCertificate(e.date,t);return s.revocationSignatures=[],{key:s,revocationCertificate:a};function o(e,t={}){return e.keyExpirationTime=e.keyExpirationTime||t.keyExpirationTime,e.passphrase=_.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e}}(u,a);return{privateKey:hc(e,s,a),publicKey:hc(e.toPublic(),s,a),revocationCertificate:t}}catch(e){throw _.wrapError("Error reformatting keypair",e)}}async function Vo({key:e,revocationCertificate:t,reasonForRevocation:r,date:n=new Date,format:i="armored",config:s,...a}){oc(s={...L,...s});const o=Object.keys(a);if(o.length>0)throw new Error(`Unknown option: ${o.join(", ")}`);try{const a=t?await e.applyRevocationCertificate(t,n,s):await e.revoke(r,n,s);return a.isPrivate()?{privateKey:hc(a,i,s),publicKey:hc(a.toPublic(),i,s)}:{privateKey:null,publicKey:hc(a,i,s)}}catch(e){throw _.wrapError("Error revoking key",e)}}async function Jo({privateKey:e,passphrase:t,config:r,...n}){oc(r={...L,...r});const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);if(!e.isPrivate())throw new Error("Cannot decrypt a public key");const s=e.clone(!0),a=_.isArray(t)?t:[t];try{return await Promise.all(s.getKeys().map((e=>_.anyPromise(a.map((t=>e.keyPacket.decrypt(t))))))),await s.validate(r),s}catch(e){throw s.clearPrivateParams(),_.wrapError("Error decrypting private key",e)}}async function $o({privateKey:e,passphrase:t,config:r,...n}){oc(r={...L,...r});const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);if(!e.isPrivate())throw new Error("Cannot encrypt a public key");const s=e.clone(!0),a=s.getKeys(),o=_.isArray(t)?t:new Array(a.length).fill(t);if(o.length!==a.length)throw new Error("Invalid number of passphrases given for key encryption");try{return await Promise.all(a.map((async(e,t)=>{const{keyPacket:n}=e;await n.encrypt(o[t],r),n.clearPrivateParams()}))),s}catch(e){throw s.clearPrivateParams(),_.wrapError("Error encrypting private key",e)}}async function Wo({message:e,encryptionKeys:t,signingKeys:r,passwords:n,sessionKey:i,format:s="armored",signature:a=null,wildcard:o=!1,signingKeyIDs:c=[],encryptionKeyIDs:u=[],date:l=new Date,signingUserIDs:h=[],encryptionUserIDs:f=[],signatureNotations:p=[],config:d,...g}){if(oc(d={...L,...d}),nc(e),sc(s),t=cc(t),r=cc(r),n=cc(n),c=cc(c),u=cc(u),h=cc(h),f=cc(f),p=cc(p),g.detached)throw new Error("The `detached` option has been removed from openpgp.encrypt, separately call openpgp.sign instead. Don't forget to remove the `privateKeys` option as well.");if(g.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.encrypt, pass `encryptionKeys` instead");if(g.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.encrypt, pass `signingKeys` instead");if(void 0!==g.armor)throw new Error("The `armor` option has been removed from openpgp.encrypt, pass `format` instead.");const y=Object.keys(g);if(y.length>0)throw new Error(`Unknown option: ${y.join(", ")}`);r||(r=[]);try{if((r.length||a)&&(e=await e.sign(r,t,a,c,l,h,u,p,d)),e=e.compress(await async function(e=[],t=new Date,r=[],n=L){const i=N.compression.uncompressed,s=n.preferredCompressionAlgorithm,a=await Promise.all(e.map((async function(e,i){const a=(await e.getPrimarySelfSignature(t,r[i],n)).preferredCompressionAlgorithms;return!!a&&a.indexOf(s)>=0})));return a.every(Boolean)?s:i}(t,l,f,d),d),e=await e.encrypt(t,n,i,o,u,l,f,d),"object"===s)return e;const g="armored"===s?e.armor(d):e.write();return await uc(g)}catch(e){throw _.wrapError("Error encrypting message",e)}}async function Yo({message:e,decryptionKeys:t,passwords:r,sessionKeys:n,verificationKeys:i,expectSigned:s=!1,format:a="utf8",signature:o=null,date:c=new Date,config:u,...l}){if(oc(u={...L,...u}),nc(e),i=cc(i),t=cc(t),r=cc(r),n=cc(n),l.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.decrypt, pass `decryptionKeys` instead");if(l.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.decrypt, pass `verificationKeys` instead");const h=Object.keys(l);if(h.length>0)throw new Error(`Unknown option: ${h.join(", ")}`);try{const l=await e.decrypt(t,r,n,c,u);i||(i=[]);const h={};if(h.signatures=o?await l.verifyDetached(o,i,c,u):await l.verify(i,c,u),h.data="binary"===a?l.getLiteralData():l.getText(),h.filename=l.getFilename(),lc(h,e,...new Set([l,l.unwrapCompressed()])),s){if(0===i.length)throw new Error("Verification keys are required to verify message signatures");if(0===h.signatures.length)throw new Error("Message is not signed");h.data=A([h.data,K((async()=>(await _.anyPromise(h.signatures.map((e=>e.verified))),"binary"===a?new Uint8Array:"")))])}return h.data=await uc(h.data),h}catch(e){throw _.wrapError("Error decrypting message",e)}}async function Zo({message:e,signingKeys:t,recipientKeys:r=[],format:n="armored",detached:i=!1,signingKeyIDs:s=[],date:a=new Date,signingUserIDs:o=[],recipientUserIDs:c=[],signatureNotations:u=[],config:l,...h}){if(oc(l={...L,...l}),ic(e),sc(n),t=cc(t),s=cc(s),o=cc(o),r=cc(r),c=cc(c),u=cc(u),h.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.sign, pass `signingKeys` instead");if(void 0!==h.armor)throw new Error("The `armor` option has been removed from openpgp.sign, pass `format` instead.");const f=Object.keys(h);if(f.length>0)throw new Error(`Unknown option: ${f.join(", ")}`);if(e instanceof jo&&"binary"===n)throw new Error("Cannot return signed cleartext message in binary format");if(e instanceof jo&&i)throw new Error("Cannot detach-sign a cleartext message");if(!t||0===t.length)throw new Error("No signing keys provided");try{let h;return h=i?await e.signDetached(t,r,void 0,s,a,o,c,u,l):await e.sign(t,r,void 0,s,a,o,c,u,l),"object"===n?h:(h="armored"===n?h.armor(l):h.write(),i&&(h=I(e.packets.write(),(async(e,t)=>{await Promise.all([v(h,t),T(e).catch((()=>{}))])}))),await uc(h))}catch(e){throw _.wrapError("Error signing message",e)}}async function Xo({message:e,verificationKeys:t,expectSigned:r=!1,format:n="utf8",signature:i=null,date:s=new Date,config:a,...o}){if(oc(a={...L,...a}),ic(e),t=cc(t),o.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.verify, pass `verificationKeys` instead");const c=Object.keys(o);if(c.length>0)throw new Error(`Unknown option: ${c.join(", ")}`);if(e instanceof jo&&"binary"===n)throw new Error("Can't return cleartext message data as binary");if(e instanceof jo&&i)throw new Error("Can't verify detached cleartext signature");try{const o={};if(o.signatures=i?await e.verifyDetached(i,t,s,a):await e.verify(t,s,a),o.data="binary"===n?e.getLiteralData():e.getText(),e.fromStream&&!i&&lc(o,...new Set([e,e.unwrapCompressed()])),r){if(0===o.signatures.length)throw new Error("Message is not signed");o.data=A([o.data,K((async()=>(await _.anyPromise(o.signatures.map((e=>e.verified))),"binary"===n?new Uint8Array:"")))])}return o.data=await uc(o.data),o}catch(e){throw _.wrapError("Error verifying signed message",e)}}async function ec({encryptionKeys:e,date:t=new Date,encryptionUserIDs:r=[],config:n,...i}){if(oc(n={...L,...n}),e=cc(e),r=cc(r),i.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.generateSessionKey, pass `encryptionKeys` instead");const s=Object.keys(i);if(s.length>0)throw new Error(`Unknown option: ${s.join(", ")}`);try{return await Ro.generateSessionKey(e,t,r,n)}catch(e){throw _.wrapError("Error generating session key",e)}}async function tc({data:e,algorithm:t,aeadAlgorithm:r,encryptionKeys:n,passwords:i,format:s="armored",wildcard:a=!1,encryptionKeyIDs:o=[],date:c=new Date,encryptionUserIDs:u=[],config:l,...h}){if(oc(l={...L,...l}),function(e){if(!_.isUint8Array(e))throw new Error("Parameter [data] must be of type Uint8Array")}(e),function(e){if(!_.isString(e))throw new Error("Parameter [algorithm] must be of type String")}(t),sc(s),n=cc(n),i=cc(i),o=cc(o),u=cc(u),h.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.encryptSessionKey, pass `encryptionKeys` instead");const f=Object.keys(h);if(f.length>0)throw new Error(`Unknown option: ${f.join(", ")}`);if(!(n&&0!==n.length||i&&0!==i.length))throw new Error("No encryption keys or passwords provided.");try{return hc(await Ro.encryptSessionKey(e,t,r,n,i,a,o,c,u,l),s,l)}catch(e){throw _.wrapError("Error encrypting session key",e)}}async function rc({message:e,decryptionKeys:t,passwords:r,date:n=new Date,config:i,...s}){if(oc(i={...L,...i}),nc(e),t=cc(t),r=cc(r),s.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.decryptSessionKeys, pass `decryptionKeys` instead");const a=Object.keys(s);if(a.length>0)throw new Error(`Unknown option: ${a.join(", ")}`);try{return await e.decryptSessionKeys(t,r,void 0,n,i)}catch(e){throw _.wrapError("Error decrypting session keys",e)}}function nc(e){if(!(e instanceof Ro))throw new Error("Parameter [message] needs to be of type Message")}function ic(e){if(!(e instanceof jo||e instanceof Ro))throw new Error("Parameter [message] needs to be of type Message or CleartextMessage")}function sc(e){if("armored"!==e&&"binary"!==e&&"object"!==e)throw new Error(`Unsupported format ${e}`)}const ac=Object.keys(L).length;function oc(e){const t=Object.keys(e);if(t.length!==ac)for(const e of t)if(void 0===L[e])throw new Error(`Unknown config property: ${e}`)}function cc(e){return e&&!_.isArray(e)&&(e=[e]),e}async function uc(e){return"array"===_.isStream(e)?T(e):e}function lc(e,t,...r){e.data=I(t.packets.stream,(async(t,n)=>{await v(e.data,n,{preventClose:!0});const i=M(n);try{await T(t,(e=>e)),await Promise.all(r.map((e=>T(e.packets.stream,(e=>e))))),await i.close()}catch(e){await i.abort(e)}}))}function hc(e,t,r){switch(t){case"object":return e;case"armored":return e.armor(r);case"binary":return e.write();default:throw new Error(`Unsupported format ${t}`)}}const fc="object"==typeof n&&"crypto"in n?n.crypto:void 0;function pc(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function dc(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function gc(e,...t){if(!pc(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function yc(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function mc(e,t){gc(e);const r=t.outputLen;if(e.length>>t}function vc(e,t){return e<>>32-t>>>0}const Ec=(()=>68===new Uint8Array(new Uint32Array([287454020]).buffer)[0])()?e=>e:function(e){for(let r=0;r>>8&65280|t>>>24&255;var t;return e},kc=(()=>"function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex)(),Sc=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function Ic(e){if(gc(e),kc)return e.toHex();let t="";for(let r=0;r=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function Bc(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);if(kc)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let t=0,i=0;te().update(Pc(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}const Kc=Uc;function Oc(e=32){if(fc&&"function"==typeof fc.getRandomValues)return fc.getRandomValues(new Uint8Array(e));if(fc&&"function"==typeof fc.randomBytes)return Uint8Array.from(fc.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}const Mc=BigInt(0),Rc=BigInt(1);function Nc(e,t){if("boolean"!=typeof t)throw new Error(e+" boolean expected, got "+t)}function Lc(e){const t=e.toString(16);return 1&t.length?"0"+t:t}function Fc(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return""===e?Mc:BigInt("0x"+e)}function _c(e){return Fc(Ic(e))}function Qc(e){return gc(e),Fc(Ic(Uint8Array.from(e).reverse()))}function jc(e,t){return Bc(e.toString(16).padStart(2*t,"0"))}function Hc(e,t){return jc(e,t).reverse()}function qc(e,t,r){let n;if("string"==typeof t)try{n=Bc(t)}catch(t){throw new Error(e+" must be hex string or Uint8Array, cause: "+t)}else{if(!pc(t))throw new Error(e+" must be hex string or Uint8Array");n=Uint8Array.from(t)}const i=n.length;if("number"==typeof r&&i!==r)throw new Error(e+" of length "+r+" expected, got "+i);return n}const zc=e=>"bigint"==typeof e&&Mc<=e;function Gc(e,t,r,n){if(!function(e,t,r){return zc(e)&&zc(t)&&zc(r)&&t<=e&&e(Rc<n(e,t,!1))),Object.entries(r).forEach((([e,t])=>n(e,t,!0)))}function $c(e){const t=new WeakMap;return(r,...n)=>{const i=t.get(r);if(void 0!==i)return i;const s=e(r,...n);return t.set(r,s),s}}const Wc=BigInt(0),Yc=BigInt(1),Zc=BigInt(2),Xc=BigInt(3),eu=BigInt(4),tu=BigInt(5),ru=BigInt(8);function nu(e,t){const r=e%t;return r>=Wc?r:t+r}function iu(e,t,r){let n=e;for(;t-- >Wc;)n*=n,n%=r;return n}function su(e,t){if(e===Wc)throw new Error("invert: expected non-zero number");if(t<=Wc)throw new Error("invert: expected positive modulus, got "+t);let r=nu(e,t),n=t,i=Wc,s=Yc;for(;r!==Wc;){const e=n%r,t=i-s*(n/r);n=r,r=e,i=s,s=t}if(n!==Yc)throw new Error("invert: does not exist");return nu(i,t)}function au(e,t){const r=(e.ORDER+Yc)/eu,n=e.pow(t,r);if(!e.eql(e.sqr(n),t))throw new Error("Cannot find square root");return n}function ou(e,t){const r=(e.ORDER-tu)/ru,n=e.mul(t,Zc),i=e.pow(n,r),s=e.mul(t,i),a=e.mul(e.mul(s,Zc),i),o=e.mul(s,e.sub(a,e.ONE));if(!e.eql(e.sqr(o),t))throw new Error("Cannot find square root");return o}const cu=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function uu(e,t,r=!1){const n=new Array(t.length).fill(r?e.ZERO:void 0),i=t.reduce(((t,r,i)=>e.is0(r)?t:(n[i]=t,e.mul(t,r))),e.ONE),s=e.inv(i);return t.reduceRight(((t,r,i)=>e.is0(r)?t:(n[i]=e.mul(t,n[i]),e.mul(t,r))),s),n}function lu(e,t){const r=(e.ORDER-Yc)/Zc,n=e.pow(t,r),i=e.eql(n,e.ONE),s=e.eql(n,e.ZERO),a=e.eql(n,e.neg(e.ONE));if(!i&&!s&&!a)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function hu(e,t,r=!1,n={}){if(e<=Wc)throw new Error("invalid field: expected ORDER > 0, got "+e);let i,s;if("object"==typeof t&&null!=t){if(n.sqrt||r)throw new Error("cannot specify opts in two arguments");const e=t;e.BITS&&(i=e.BITS),e.sqrt&&(s=e.sqrt),"boolean"==typeof e.isLE&&(r=e.isLE)}else"number"==typeof t&&(i=t),n.sqrt&&(s=n.sqrt);const{nBitLength:a,nByteLength:o}=function(e,t){void 0!==t&&dc(t);const r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}(e,i);if(o>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const u=Object.freeze({ORDER:e,isLE:r,BITS:a,BYTES:o,MASK:Vc(a),ZERO:Wc,ONE:Yc,create:t=>nu(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("invalid field element: expected bigint, got "+typeof t);return Wc<=t&&te===Wc,isValidNot0:e=>!u.is0(e)&&u.isValid(e),isOdd:e=>(e&Yc)===Yc,neg:t=>nu(-t,e),eql:(e,t)=>e===t,sqr:t=>nu(t*t,e),add:(t,r)=>nu(t+r,e),sub:(t,r)=>nu(t-r,e),mul:(t,r)=>nu(t*r,e),pow:(e,t)=>function(e,t,r){if(rWc;)r&Yc&&(n=e.mul(n,i)),i=e.sqr(i),r>>=Yc;return n}(u,e,t),div:(t,r)=>nu(t*su(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>su(t,e),sqrt:s||(t=>{return c||(c=(r=e)%eu===Xc?au:r%ru===tu?ou:function(e){if(e1e3)throw new Error("Cannot find square root: probably non-prime P");if(1===r)return au;let s=i.pow(n,t);const a=(t+Yc)/Zc;return function(e,n){if(e.is0(n))return n;if(1!==lu(e,n))throw new Error("Cannot find square root");let i=r,o=e.mul(e.ONE,s),c=e.pow(n,t),u=e.pow(n,a);for(;!e.eql(c,e.ONE);){if(e.is0(c))return e.ZERO;let t=1,r=e.sqr(c);for(;!e.eql(r,e.ONE);)if(t++,r=e.sqr(r),t===i)throw new Error("Cannot find square root");const n=Yc<r?Hc(e,o):jc(e,o),fromBytes:e=>{if(e.length!==o)throw new Error("Field.fromBytes: expected "+o+" bytes, got "+e.length);return r?Qc(e):_c(e)},invertBatch:e=>uu(u,e),cmov:(e,t,r)=>r?t:e});return Object.freeze(u)}function fu(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function pu(e){const t=fu(e);return t+Math.ceil(t/2)}function du(e,t,r){return e&t^~e&r}function gu(e,t,r){return e&t^e&r^t&r}class yu extends Tc{constructor(e,t,r,n){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.buffer=new Uint8Array(e),this.view=bc(this.buffer)}update(e){yc(this),gc(e=Pc(e));const{view:t,buffer:r,blockLen:n}=this,i=e.length;for(let s=0;sn-s&&(this.process(r,0),s=0);for(let e=s;e>i&s),o=Number(r&s),c=n?4:0,u=n?0:4;e.setUint32(t+c,a,n),e.setUint32(t+u,o,n)}(r,n-8,BigInt(8*this.length),i),this.process(r,0);const a=bc(e),o=this.outputLen;if(o%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const c=o/4,u=this.get();if(c>u.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e>Eu&vu)}:{h:0|Number(e>>Eu&vu),l:0|Number(e&vu)}}function Su(e,t=!1){const r=e.length;let n=new Uint32Array(r),i=new Uint32Array(r);for(let s=0;se>>>r,Cu=(e,t,r)=>e<<32-r|t>>>r,Bu=(e,t,r)=>e>>>r|t<<32-r,xu=(e,t,r)=>e<<32-r|t>>>r,Pu=(e,t,r)=>e<<64-r|t>>>r-32,Du=(e,t,r)=>e>>>r-32|t<<64-r;function Tu(e,t,r,n){const i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:0|i}}const Uu=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),Ku=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,Ou=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),Mu=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0,Ru=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),Nu=(e,t,r,n,i,s)=>t+r+n+i+s+(e/2**32|0)|0,Lu=Uint32Array.from([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]),Fu=new Uint32Array(64);class _u extends yu{constructor(e=32){super(64,e,8,!1),this.A=0|mu[0],this.B=0|mu[1],this.C=0|mu[2],this.D=0|mu[3],this.E=0|mu[4],this.F=0|mu[5],this.G=0|mu[6],this.H=0|mu[7]}get(){const{A:e,B:t,C:r,D:n,E:i,F:s,G:a,H:o}=this;return[e,t,r,n,i,s,a,o]}set(e,t,r,n,i,s,a,o){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|s,this.G=0|a,this.H=0|o}process(e,t){for(let r=0;r<16;r++,t+=4)Fu[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){const t=Fu[e-15],r=Fu[e-2],n=Ac(t,7)^Ac(t,18)^t>>>3,i=Ac(r,17)^Ac(r,19)^r>>>10;Fu[e]=i+Fu[e-7]+n+Fu[e-16]|0}let{A:r,B:n,C:i,D:s,E:a,F:o,G:c,H:u}=this;for(let e=0;e<64;e++){const t=u+(Ac(a,6)^Ac(a,11)^Ac(a,25))+du(a,o,c)+Lu[e]+Fu[e]|0,l=(Ac(r,2)^Ac(r,13)^Ac(r,22))+gu(r,n,i)|0;u=c,c=o,o=a,a=s+t|0,s=i,i=n,n=r,r=t+l|0}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,s=s+this.D|0,a=a+this.E|0,o=o+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(r,n,i,s,a,o,c,u)}roundClean(){wc(Fu)}destroy(){this.set(0,0,0,0,0,0,0,0),wc(this.buffer)}}class Qu extends _u{constructor(){super(28),this.A=0|wu[0],this.B=0|wu[1],this.C=0|wu[2],this.D=0|wu[3],this.E=0|wu[4],this.F=0|wu[5],this.G=0|wu[6],this.H=0|wu[7]}}const ju=(()=>Su(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))))(),Hu=(()=>ju[0])(),qu=(()=>ju[1])(),zu=new Uint32Array(80),Gu=new Uint32Array(80);class Vu extends yu{constructor(e=64){super(128,e,16,!1),this.Ah=0|Au[0],this.Al=0|Au[1],this.Bh=0|Au[2],this.Bl=0|Au[3],this.Ch=0|Au[4],this.Cl=0|Au[5],this.Dh=0|Au[6],this.Dl=0|Au[7],this.Eh=0|Au[8],this.El=0|Au[9],this.Fh=0|Au[10],this.Fl=0|Au[11],this.Gh=0|Au[12],this.Gl=0|Au[13],this.Hh=0|Au[14],this.Hl=0|Au[15]}get(){const{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:s,Dh:a,Dl:o,Eh:c,El:u,Fh:l,Fl:h,Gh:f,Gl:p,Hh:d,Hl:g}=this;return[e,t,r,n,i,s,a,o,c,u,l,h,f,p,d,g]}set(e,t,r,n,i,s,a,o,c,u,l,h,f,p,d,g){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|s,this.Dh=0|a,this.Dl=0|o,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|h,this.Gh=0|f,this.Gl=0|p,this.Hh=0|d,this.Hl=0|g}process(e,t){for(let r=0;r<16;r++,t+=4)zu[r]=e.getUint32(t),Gu[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){const t=0|zu[e-15],r=0|Gu[e-15],n=Bu(t,r,1)^Bu(t,r,8)^Iu(t,0,7),i=xu(t,r,1)^xu(t,r,8)^Cu(t,r,7),s=0|zu[e-2],a=0|Gu[e-2],o=Bu(s,a,19)^Pu(s,a,61)^Iu(s,0,6),c=xu(s,a,19)^Du(s,a,61)^Cu(s,a,6),u=Ou(i,c,Gu[e-7],Gu[e-16]),l=Mu(u,n,o,zu[e-7],zu[e-16]);zu[e]=0|l,Gu[e]=0|u}let{Ah:r,Al:n,Bh:i,Bl:s,Ch:a,Cl:o,Dh:c,Dl:u,Eh:l,El:h,Fh:f,Fl:p,Gh:d,Gl:g,Hh:y,Hl:m}=this;for(let e=0;e<80;e++){const t=Bu(l,h,14)^Bu(l,h,18)^Pu(l,h,41),w=xu(l,h,14)^xu(l,h,18)^Du(l,h,41),b=l&f^~l&d,A=Ru(m,w,h&p^~h&g,qu[e],Gu[e]),v=Nu(A,y,t,b,Hu[e],zu[e]),E=0|A,k=Bu(r,n,28)^Pu(r,n,34)^Pu(r,n,39),S=xu(r,n,28)^Du(r,n,34)^Du(r,n,39),I=r&i^r&a^i&a,C=n&s^n&o^s&o;y=0|d,m=0|g,d=0|f,g=0|p,f=0|l,p=0|h,({h:l,l:h}=Tu(0|c,0|u,0|v,0|E)),c=0|a,u=0|o,a=0|i,o=0|s,i=0|r,s=0|n;const B=Uu(E,S,C);r=Ku(B,v,k,I),n=0|B}({h:r,l:n}=Tu(0|this.Ah,0|this.Al,0|r,0|n)),({h:i,l:s}=Tu(0|this.Bh,0|this.Bl,0|i,0|s)),({h:a,l:o}=Tu(0|this.Ch,0|this.Cl,0|a,0|o)),({h:c,l:u}=Tu(0|this.Dh,0|this.Dl,0|c,0|u)),({h:l,l:h}=Tu(0|this.Eh,0|this.El,0|l,0|h)),({h:f,l:p}=Tu(0|this.Fh,0|this.Fl,0|f,0|p)),({h:d,l:g}=Tu(0|this.Gh,0|this.Gl,0|d,0|g)),({h:y,l:m}=Tu(0|this.Hh,0|this.Hl,0|y,0|m)),this.set(r,n,i,s,a,o,c,u,l,h,f,p,d,g,y,m)}roundClean(){wc(zu,Gu)}destroy(){wc(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class Ju extends Vu{constructor(){super(48),this.Ah=0|bu[0],this.Al=0|bu[1],this.Bh=0|bu[2],this.Bl=0|bu[3],this.Ch=0|bu[4],this.Cl=0|bu[5],this.Dh=0|bu[6],this.Dl=0|bu[7],this.Eh=0|bu[8],this.El=0|bu[9],this.Fh=0|bu[10],this.Fl=0|bu[11],this.Gh=0|bu[12],this.Gl=0|bu[13],this.Hh=0|bu[14],this.Hl=0|bu[15]}}const $u=Uc((()=>new _u)),Wu=Uc((()=>new Qu)),Yu=Uc((()=>new Vu)),Zu=Uc((()=>new Ju));class Xu extends Tc{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,function(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.createHasher");dc(e.outputLen),dc(e.blockLen)}(e);const r=Pc(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let e=0;enew Xu(e,t).update(r).digest();el.create=(e,t)=>new Xu(e,t);const tl=BigInt(0),rl=BigInt(1);function nl(e,t){const r=t.negate();return e?r:t}function il(e,t,r){const n="pz"===t?e=>e.pz:e=>e.ez,i=uu(e.Fp,r.map(n)),s=r.map(((e,t)=>e.toAffine(i[t])));return s.map(e.fromAffine)}function sl(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function al(e,t){sl(e,t);const r=2**e;return{windows:Math.ceil(t/e)+1,windowSize:2**(e-1),mask:Vc(e),maxNumber:r,shiftBy:BigInt(e)}}function ol(e,t,r){const{windowSize:n,mask:i,maxNumber:s,shiftBy:a}=r;let o=Number(e&i),c=e>>a;o>n&&(o-=s,c+=rl);const u=t*n;return{nextN:c,offset:u+Math.abs(o)-1,isZero:0===o,isNeg:o<0,isNegF:t%2!=0,offsetF:u}}const cl=new WeakMap,ul=new WeakMap;function ll(e){return ul.get(e)||1}function hl(e){if(e!==tl)throw new Error("invalid wNAF")}function fl(e,t){return{constTimeNegate:nl,hasPrecomputes:e=>1!==ll(e),unsafeLadder(t,r,n=e.ZERO){let i=t;for(;r>tl;)r&rl&&(n=n.add(i)),i=i.double(),r>>=rl;return n},precomputeWindow(e,r){const{windows:n,windowSize:i}=al(r,t),s=[];let a=e,o=a;for(let e=0;e{if(!(e instanceof t))throw new Error("invalid point at index "+r)}))}(r,e),function(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach(((e,r)=>{if(!t.isValid(e))throw new Error("invalid scalar at index "+r)}))}(n,t);const i=r.length,s=n.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const a=e.ZERO,o=function(e){let t;for(t=0;e>Mc;e>>=Rc,t+=1);return t}(BigInt(i));let c=1;o>12?c=o-3:o>4?c=o-2:o>0&&(c=2);const u=Vc(c),l=new Array(Number(u)+1).fill(a);let h=a;for(let e=Math.floor((t.BITS-1)/c)*c;e>=0;e-=c){l.fill(a);for(let t=0;t>BigInt(e)&u);l[s]=l[s].add(r[t])}let t=a;for(let e=l.length-1,r=a;e>0;e--)r=r.add(l[e]),t=t.add(r);if(h=h.add(t),0!==e)for(let e=0;e(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"}))}(t),t}return hu(e)}function gl(e,t,r={}){if(!t||"object"!=typeof t)throw new Error(`expected valid ${e} CURVE object`);for(const e of["p","n","h"]){const r=t[e];if(!("bigint"==typeof r&&r>tl))throw new Error(`CURVE.${e} must be positive bigint`)}const n=dl(t.p,r.Fp),i=dl(t.n,r.Fn),s=["Gx","Gy","a","weierstrass"===e?"b":"d"];for(const e of s)if(!n.isValid(t[e]))throw new Error(`CURVE.${e} must be valid field element of CURVE.Fp`);return{Fp:n,Fn:i}}function yl(e){void 0!==e.lowS&&Nc("lowS",e.lowS),void 0!==e.prehash&&Nc("prehash",e.prehash)}class ml extends Error{constructor(e=""){super(e)}}const wl={Err:ml,_tlv:{encode:(e,t)=>{const{Err:r}=wl;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(1&t.length)throw new r("tlv.encode: unpadded data");const n=t.length/2,i=Lc(n);if(i.length/2&128)throw new r("tlv.encode: long form length too big");const s=n>127?Lc(i.length/2|128):"";return Lc(e)+s+i+t},decode(e,t){const{Err:r}=wl;let n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");const i=t[n++];let s=0;if(128&i){const e=127&i;if(!e)throw new r("tlv.decode(long): indefinite length not supported");if(e>4)throw new r("tlv.decode(long): byte length is too big");const a=t.subarray(n,n+e);if(a.length!==e)throw new r("tlv.decode: length bytes not complete");if(0===a[0])throw new r("tlv.decode(long): zero leftmost byte");for(const e of a)s=s<<8|e;if(n+=e,s<128)throw new r("tlv.decode(long): not minimal encoding")}else s=i;const a=t.subarray(n,n+s);if(a.length!==s)throw new r("tlv.decode: wrong value length");return{v:a,l:t.subarray(n+s)}}},_int:{encode(e){const{Err:t}=wl;if(eel(t.hash,e,Dc(...r))),{Fp:s,Fn:a}=e,{ORDER:o,BITS:c}=a;function u(e){return e>o>>Al}function l(e,t){if(!a.isValidNot0(t))throw new Error(`invalid signature ${e}: out of range 1..CURVE.n`)}class h{constructor(e,t,r){l("r",e),l("s",t),this.r=e,this.s=t,null!=r&&(this.recovery=r),Object.freeze(this)}static fromCompact(e){const t=a.BYTES,r=qc("compactSignature",e,2*t);return new h(a.fromBytes(r.subarray(0,t)),a.fromBytes(r.subarray(t,2*t)))}static fromDER(e){const{r:t,s:r}=wl.toSig(qc("DER",e));return new h(t,r)}assertValidity(){}addRecoveryBit(e){return new h(this.r,this.s,e)}recoverPublicKey(t){const r=s.ORDER,{r:n,s:i,recovery:c}=this;if(null==c||![0,1,2,3].includes(c))throw new Error("recovery id invalid");if(o*vl1)throw new Error("recovery id is ambiguous for h>1 curve");const u=2===c||3===c?n+o:n;if(!s.isValid(u))throw new Error("recovery id 2 or 3 invalid");const l=s.toBytes(u),h=e.fromHex(Dc(Il(!(1&c)),l)),f=a.inv(u),p=y(qc("msgHash",t)),d=a.create(-p*f),g=a.create(i*f),m=e.BASE.multiplyUnsafe(d).add(h.multiplyUnsafe(g));if(m.is0())throw new Error("point at infinify");return m.assertValidity(),m}hasHighS(){return u(this.s)}normalizeS(){return this.hasHighS()?new h(this.r,a.neg(this.s),this.recovery):this}toBytes(e){if("compact"===e)return Dc(a.toBytes(this.r),a.toBytes(this.s));if("der"===e)return Bc(wl.hexFromSig(this));throw new Error("invalid format")}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return Ic(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return Ic(this.toBytes("compact"))}}const f=Sl(a,r.allowedPrivateKeyLengths,r.wrapPrivateKey),p={isValidPrivateKey(e){try{return f(e),!0}catch(e){return!1}},normPrivateKeyToScalar:f,randomPrivateKey:()=>{const e=o;return function(e,t,r=!1){const n=e.length,i=fu(t),s=pu(t);if(n<16||n1024)throw new Error("expected "+s+"-1024 bytes of input, got "+n);const a=nu(r?Qc(e):_c(e),t-Yc)+Yc;return r?Hc(a,i):jc(a,i)}(n(pu(e)),e)},precompute:(t=8,r=e.BASE)=>r.precompute(t,!1)};function d(t){if("bigint"==typeof t)return!1;if(t instanceof e)return!0;const n=qc("key",t).length,i=s.BYTES,o=i+1,c=2*i+1;return r.allowedPrivateKeyLengths||a.BYTES===o?void 0:n===o||n===c}const g=t.bits2int||function(e){if(e.length>8192)throw new Error("input is too large");const t=_c(e),r=8*e.length-c;return r>0?t>>BigInt(r):t},y=t.bits2int_modN||function(e){return a.create(g(e))},m=Vc(c);function w(e){return Gc("num < 2^"+c,e,bl,m),a.toBytes(e)}const b={lowS:t.lowS,prehash:!1},A={lowS:t.lowS,prehash:!1};return e.BASE.precompute(8),Object.freeze({getPublicKey:function(t,r=!0){return e.fromPrivateKey(t).toBytes(r)},getSharedSecret:function(t,r,n=!0){if(!0===d(t))throw new Error("first arg must be private key");if(!1===d(r))throw new Error("second arg must be public key");return e.fromHex(r).multiply(f(t)).toBytes(n)},sign:function(r,o,c=b){const{seed:l,k2sig:p}=function(r,i,o=b){if(["recovered","canonical"].some((e=>e in o)))throw new Error("sign() legacy options not supported");const{hash:c}=t;let{lowS:l,prehash:p,extraEntropy:d}=o;null==l&&(l=!0),r=qc("msgHash",r),yl(o),p&&(r=qc("prehashed msgHash",c(r)));const m=y(r),A=f(i),v=[w(A),w(m)];if(null!=d&&!1!==d){const e=!0===d?n(s.BYTES):d;v.push(qc("extraEntropy",e))}const E=Dc(...v),k=m;return{seed:E,k2sig:function(t){const r=g(t);if(!a.isValidNot0(r))return;const n=a.inv(r),i=e.BASE.multiply(r).toAffine(),s=a.create(i.x);if(s===bl)return;const o=a.create(n*a.create(k+s*A));if(o===bl)return;let c=(i.x===s?0:2)|Number(i.y&Al),f=o;return l&&u(o)&&(f=function(e){return u(e)?a.neg(e):e}(o),c^=1),new h(s,f,c)}}}(r,o,c),d=function(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");const n=e=>new Uint8Array(e),i=e=>Uint8Array.of(e);let s=n(e),a=n(e),o=0;const c=()=>{s.fill(1),a.fill(0),o=0},u=(...e)=>r(a,s,...e),l=(e=n(0))=>{a=u(i(0),e),s=u(),0!==e.length&&(a=u(i(1),e),s=u())},h=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const r=[];for(;e{let r;for(c(),l(e);!(r=t(h()));)l();return c(),r}}(t.hash.outputLen,a.BYTES,i);return d(l,p)},verify:function(r,n,i,s=A){const o=r;n=qc("msgHash",n),i=qc("publicKey",i),yl(s);const{lowS:c,prehash:u,format:l}=s;if("strict"in s)throw new Error("options.strict was renamed to lowS");if(void 0!==l&&!["compact","der","js"].includes(l))throw new Error('format must be "compact", "der" or "js"');const f="string"==typeof o||pc(o),p=!f&&!l&&"object"==typeof o&&null!==o&&"bigint"==typeof o.r&&"bigint"==typeof o.s;if(!f&&!p)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let d,g;try{if(p){if(void 0!==l&&"js"!==l)throw new Error("invalid format");d=new h(o.r,o.s)}if(f){try{"compact"!==l&&(d=h.fromDER(o))}catch(e){if(!(e instanceof wl.Err))throw e}d||"der"===l||(d=h.fromCompact(o))}g=e.fromHex(i)}catch(e){return!1}if(!d)return!1;if(c&&d.hasHighS())return!1;u&&(n=t.hash(n));const{r:m,s:w}=d,b=y(n),v=a.inv(w),E=a.create(b*v),k=a.create(m*v),S=e.BASE.multiplyUnsafe(E).add(g.multiplyUnsafe(k));return!S.is0()&&a.create(S.x)===m},utils:p,Point:e,Signature:h})}function Bl(e){const{CURVE:t,curveOpts:r,ecdsaOpts:n}=function(e){const{CURVE:t,curveOpts:r}=function(e){const t={a:e.a,b:e.b,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy};return{CURVE:t,curveOpts:{Fp:e.Fp,Fn:hu(t.n,e.nBitLength),allowedPrivateKeyLengths:e.allowedPrivateKeyLengths,allowInfinityPoint:e.allowInfinityPoint,endo:e.endo,wrapPrivateKey:e.wrapPrivateKey,isTorsionFree:e.isTorsionFree,clearCofactor:e.clearCofactor,fromBytes:e.fromBytes,toBytes:e.toBytes}}}(e);return{CURVE:t,curveOpts:r,ecdsaOpts:{hash:e.hash,hmac:e.hmac,randomBytes:e.randomBytes,lowS:e.lowS,bits2int:e.bits2int,bits2int_modN:e.bits2int_modN}}}(e);return function(e,t){return Object.assign({},t,{ProjectivePoint:t.Point,CURVE:e})}(e,Cl(function(e,t={}){const{Fp:r,Fn:n}=gl("weierstrass",e,t),{h:i,n:s}=e;Jc(t,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:a}=t;if(a&&(!r.is0(e.a)||"bigint"!=typeof a.beta||"function"!=typeof a.splitScalar))throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function');function o(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}const c=t.toBytes||function(e,t,n){const{x:i,y:s}=t.toAffine(),a=r.toBytes(i);return Nc("isCompressed",n),n?(o(),Dc(Il(!r.isOdd(s)),a)):Dc(Uint8Array.of(4),a,r.toBytes(s))},u=t.fromBytes||function(e){gc(e);const t=r.BYTES,n=t+1,i=2*t+1,s=e.length,a=e[0],c=e.subarray(1);if(s!==n||2!==a&&3!==a){if(s===i&&4===a){const e=r.fromBytes(c.subarray(0*t,1*t)),n=r.fromBytes(c.subarray(1*t,2*t));if(!h(e,n))throw new Error("bad point: is not on curve");return{x:e,y:n}}throw new Error(`bad point: got length ${s}, expected compressed=${n} or uncompressed=${i}`)}{const e=r.fromBytes(c);if(!r.isValid(e))throw new Error("bad point: is not on curve, wrong x");const t=l(e);let n;try{n=r.sqrt(t)}catch(e){const t=e instanceof Error?": "+e.message:"";throw new Error("bad point: is not on curve, sqrt error"+t)}return o(),!(1&~a)!==r.isOdd(n)&&(n=r.neg(n)),{x:e,y:n}}},l=function(e,t,r){return function(n){const i=e.sqr(n),s=e.mul(i,n);return e.add(e.add(s,e.mul(n,t)),r)}}(r,e.a,e.b);function h(e,t){const n=r.sqr(t),i=l(e);return r.eql(n,i)}if(!h(e.Gx,e.Gy))throw new Error("bad curve params: generator point");const f=r.mul(r.pow(e.a,El),kl),p=r.mul(r.sqr(e.b),BigInt(27));if(r.is0(r.add(f,p)))throw new Error("bad curve params: a or b");function d(e,t,n=!1){if(!r.isValid(t)||n&&r.is0(t))throw new Error(`bad point coordinate ${e}`);return t}function g(e){if(!(e instanceof b))throw new Error("ProjectivePoint expected")}const y=$c(((e,t)=>{const{px:n,py:i,pz:s}=e;if(r.eql(s,r.ONE))return{x:n,y:i};const a=e.is0();null==t&&(t=a?r.ONE:r.inv(s));const o=r.mul(n,t),c=r.mul(i,t),u=r.mul(s,t);if(a)return{x:r.ZERO,y:r.ZERO};if(!r.eql(u,r.ONE))throw new Error("invZ was invalid");return{x:o,y:c}})),m=$c((e=>{if(e.is0()){if(t.allowInfinityPoint&&!r.is0(e.py))return;throw new Error("bad point: ZERO")}const{x:n,y:i}=e.toAffine();if(!r.isValid(n)||!r.isValid(i))throw new Error("bad point: x or y not field elements");if(!h(n,i))throw new Error("bad point: equation left != right");if(!e.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0}));function w(e,t,n,i,s){return n=new b(r.mul(n.px,e),n.py,n.pz),t=nl(i,t),n=nl(s,n),t.add(n)}class b{constructor(e,t,r){this.px=d("x",e),this.py=d("y",t,!0),this.pz=d("z",r),Object.freeze(this)}static fromAffine(e){const{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw new Error("invalid affine point");if(e instanceof b)throw new Error("projective point not allowed");return r.is0(t)&&r.is0(n)?b.ZERO:new b(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){return il(b,"pz",e)}static fromBytes(e){return gc(e),b.fromHex(e)}static fromHex(e){const t=b.fromAffine(u(qc("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){const r=Sl(n,t.allowedPrivateKeyLengths,t.wrapPrivateKey);return b.BASE.multiply(r(e))}static msm(e,t){return pl(b,n,e,t)}precompute(e=8,t=!0){return v.setWindowSize(this,e),t||this.multiply(El),this}_setWindowSize(e){this.precompute(e)}assertValidity(){m(this)}hasEvenY(){const{y:e}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(e)}equals(e){g(e);const{px:t,py:n,pz:i}=this,{px:s,py:a,pz:o}=e,c=r.eql(r.mul(t,o),r.mul(s,i)),u=r.eql(r.mul(n,o),r.mul(a,i));return c&&u}negate(){return new b(this.px,r.neg(this.py),this.pz)}double(){const{a:t,b:n}=e,i=r.mul(n,El),{px:s,py:a,pz:o}=this;let c=r.ZERO,u=r.ZERO,l=r.ZERO,h=r.mul(s,s),f=r.mul(a,a),p=r.mul(o,o),d=r.mul(s,a);return d=r.add(d,d),l=r.mul(s,o),l=r.add(l,l),c=r.mul(t,l),u=r.mul(i,p),u=r.add(c,u),c=r.sub(f,u),u=r.add(f,u),u=r.mul(c,u),c=r.mul(d,c),l=r.mul(i,l),p=r.mul(t,p),d=r.sub(h,p),d=r.mul(t,d),d=r.add(d,l),l=r.add(h,h),h=r.add(l,h),h=r.add(h,p),h=r.mul(h,d),u=r.add(u,h),p=r.mul(a,o),p=r.add(p,p),h=r.mul(p,d),c=r.sub(c,h),l=r.mul(p,f),l=r.add(l,l),l=r.add(l,l),new b(c,u,l)}add(t){g(t);const{px:n,py:i,pz:s}=this,{px:a,py:o,pz:c}=t;let u=r.ZERO,l=r.ZERO,h=r.ZERO;const f=e.a,p=r.mul(e.b,El);let d=r.mul(n,a),y=r.mul(i,o),m=r.mul(s,c),w=r.add(n,i),A=r.add(a,o);w=r.mul(w,A),A=r.add(d,y),w=r.sub(w,A),A=r.add(n,s);let v=r.add(a,c);return A=r.mul(A,v),v=r.add(d,m),A=r.sub(A,v),v=r.add(i,s),u=r.add(o,c),v=r.mul(v,u),u=r.add(y,m),v=r.sub(v,u),h=r.mul(f,A),u=r.mul(p,m),h=r.add(u,h),u=r.sub(y,h),h=r.add(y,h),l=r.mul(u,h),y=r.add(d,d),y=r.add(y,d),m=r.mul(f,m),A=r.mul(p,A),y=r.add(y,m),m=r.sub(d,m),m=r.mul(f,m),A=r.add(A,m),d=r.mul(y,A),l=r.add(l,d),d=r.mul(v,A),u=r.mul(w,u),u=r.sub(u,d),d=r.mul(w,y),h=r.mul(v,h),h=r.add(h,d),new b(u,l,h)}subtract(e){return this.add(e.negate())}is0(){return this.equals(b.ZERO)}multiply(e){const{endo:r}=t;if(!n.isValidNot0(e))throw new Error("invalid scalar: out of range");let i,s;const a=e=>v.wNAFCached(this,e,b.normalizeZ);if(r){const{k1neg:t,k1:n,k2neg:o,k2:c}=r.splitScalar(e),{p:u,f:l}=a(n),{p:h,f}=a(c);s=l.add(f),i=w(r.beta,u,h,t,o)}else{const{p:t,f:r}=a(e);i=t,s=r}return b.normalizeZ([i,s])[0]}multiplyUnsafe(e){const{endo:r}=t,i=this;if(!n.isValid(e))throw new Error("invalid scalar: out of range");if(e===bl||i.is0())return b.ZERO;if(e===Al)return i;if(v.hasPrecomputes(this))return this.multiply(e);if(r){const{k1neg:t,k1:n,k2neg:s,k2:a}=r.splitScalar(e),{p1:o,p2:c}=function(e,t,r,n){let i=t,s=e.ZERO,a=e.ZERO;for(;r>tl||n>tl;)r&rl&&(s=s.add(i)),n&rl&&(a=a.add(i)),i=i.double(),r>>=rl,n>>=rl;return{p1:s,p2:a}}(b,i,n,a);return w(r.beta,o,c,t,s)}return v.wNAFCachedUnsafe(i,e)}multiplyAndAddUnsafe(e,t,r){const n=this.multiplyUnsafe(t).add(e.multiplyUnsafe(r));return n.is0()?void 0:n}toAffine(e){return y(this,e)}isTorsionFree(){const{isTorsionFree:e}=t;return i===Al||(e?e(b,this):v.wNAFCachedUnsafe(this,s).is0())}clearCofactor(){const{clearCofactor:e}=t;return i===Al?this:e?e(b,this):this.multiplyUnsafe(i)}toBytes(e=!0){return Nc("isCompressed",e),this.assertValidity(),c(b,this,e)}toRawBytes(e=!0){return this.toBytes(e)}toHex(e=!0){return Ic(this.toBytes(e))}toString(){return``}}b.BASE=new b(e.Gx,e.Gy,r.ONE),b.ZERO=new b(r.ZERO,r.ONE,r.ZERO),b.Fp=r,b.Fn=n;const A=n.BITS,v=fl(b,t.endo?Math.ceil(A/2):A);return b}(t,r),n,r))}function xl(e,t){const r=t=>Bl({...e,hash:t});return{...r(t),create:r}}const Pl={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},Dl={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},Tl={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},Ul=hu(Pl.p),Kl=hu(Dl.p),Ol=hu(Tl.p),Ml=xl({...Pl,Fp:Ul,lowS:!1},$u),Rl=xl({...Dl,Fp:Kl,lowS:!1},Zu),Nl=xl({...Tl,Fp:Ol,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},Yu),Ll=BigInt(0),Fl=BigInt(1),_l=BigInt(2),Ql=BigInt(7),jl=BigInt(256),Hl=BigInt(113),ql=[],zl=[],Gl=[];for(let e=0,t=Fl,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],ql.push(2*(5*n+r)),zl.push((e+1)*(e+2)/2%64);let i=Ll;for(let e=0;e<7;e++)t=(t<>Ql)*Hl)%jl,t&_l&&(i^=Fl<<(Fl<r>32?((e,t,r)=>t<>>64-r)(e,t,r):((e,t,r)=>e<>>32-r)(e,t,r),Yl=(e,t,r)=>r>32?((e,t,r)=>e<>>64-r)(e,t,r):((e,t,r)=>t<>>32-r)(e,t,r);class Zl extends Tc{constructor(e,t,r,n=!1,i=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=i,dc(r),!(0=r&&this.keccak();const s=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+s),n),this.posOut+=s,n+=s}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return dc(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(mc(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,wc(this.state)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:s}=this;return e||(e=new Zl(t,r,n,s,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=s,e.destroyed=this.destroyed,e}}const Xl=(e,t,r)=>Uc((()=>new Zl(t,e,r))),eh=(()=>Xl(6,136,32))(),th=(()=>Xl(6,72,64))(),rh=(()=>{return e=31,t=136,r=32,function(e){const t=(t,r)=>e(r).update(Pc(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}(((n={})=>new Zl(t,e,void 0===n.dkLen?r:n.dkLen,!0)));var e,t,r})(),nh=BigInt(0),ih=BigInt(1),sh=BigInt(2),ah=BigInt(8),oh={zip215:!0};function ch(e,t={}){const{Fp:r,Fn:n}=gl("edwards",e,t),{h:i,n:s}=e;Jc(t,{},{uvRatio:"function"});const a=sh<r.create(e),c=t.uvRatio||((e,t)=>{try{return{isValid:!0,value:r.sqrt(r.div(e,t))}}catch(e){return{isValid:!1,value:nh}}});if(!function(e,t,r,n){const i=e.sqr(r),s=e.sqr(n),a=e.add(e.mul(t.a,i),s),o=e.add(e.ONE,e.mul(t.d,e.mul(i,s)));return e.eql(a,o)}(r,e,e.Gx,e.Gy))throw new Error("bad curve params: generator point");function u(e,t,r=!1){return Gc("coordinate "+e,t,r?ih:nh,a),t}function l(e){if(!(e instanceof p))throw new Error("ExtendedPoint expected")}const h=$c(((e,t)=>{const{ex:n,ey:i,ez:s}=e,a=e.is0();null==t&&(t=a?ah:r.inv(s));const c=o(n*t),u=o(i*t),l=o(s*t);if(a)return{x:nh,y:ih};if(l!==ih)throw new Error("invZ was invalid");return{x:c,y:u}})),f=$c((t=>{const{a:r,d:n}=e;if(t.is0())throw new Error("bad point: ZERO");const{ex:i,ey:s,ez:a,et:c}=t,u=o(i*i),l=o(s*s),h=o(a*a),f=o(h*h),p=o(u*r);if(o(h*o(p+l))!==o(f+o(n*o(u*l))))throw new Error("bad point: equation left != right (1)");if(o(i*s)!==o(a*c))throw new Error("bad point: equation left != right (2)");return!0}));class p{constructor(e,t,r,n){this.ex=u("x",e),this.ey=u("y",t),this.ez=u("z",r,!0),this.et=u("t",n),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof p)throw new Error("extended point not allowed");const{x:t,y:r}=e||{};return u("x",t),u("y",r),new p(t,r,ih,o(t*r))}static normalizeZ(e){return il(p,"ez",e)}static msm(e,t){return pl(p,n,e,t)}_setWindowSize(e){this.precompute(e)}precompute(e=8,t=!0){return d.setWindowSize(this,e),t||this.multiply(sh),this}assertValidity(){f(this)}equals(e){l(e);const{ex:t,ey:r,ez:n}=this,{ex:i,ey:s,ez:a}=e,c=o(t*a),u=o(i*n),h=o(r*a),f=o(s*n);return c===u&&h===f}is0(){return this.equals(p.ZERO)}negate(){return new p(o(-this.ex),this.ey,this.ez,o(-this.et))}double(){const{a:t}=e,{ex:r,ey:n,ez:i}=this,s=o(r*r),a=o(n*n),c=o(sh*o(i*i)),u=o(t*s),l=r+n,h=o(o(l*l)-s-a),f=u+a,d=f-c,g=u-a,y=o(h*d),m=o(f*g),w=o(h*g),b=o(d*f);return new p(y,m,b,w)}add(t){l(t);const{a:r,d:n}=e,{ex:i,ey:s,ez:a,et:c}=this,{ex:u,ey:h,ez:f,et:d}=t,g=o(i*u),y=o(s*h),m=o(c*n*d),w=o(a*f),b=o((i+s)*(u+h)-g-y),A=w-m,v=w+m,E=o(y-r*g),k=o(b*A),S=o(v*E),I=o(b*E),C=o(A*v);return new p(k,S,C,I)}subtract(e){return this.add(e.negate())}multiply(e){const t=e;Gc("scalar",t,ih,s);const{p:r,f:n}=d.wNAFCached(this,t,p.normalizeZ);return p.normalizeZ([r,n])[0]}multiplyUnsafe(e,t=p.ZERO){const r=e;return Gc("scalar",r,nh,s),r===nh?p.ZERO:this.is0()||r===ih?this:d.wNAFCachedUnsafe(this,r,p.normalizeZ,t)}isSmallOrder(){return this.multiplyUnsafe(i).is0()}isTorsionFree(){return d.wNAFCachedUnsafe(this,s).is0()}toAffine(e){return h(this,e)}clearCofactor(){return i===ih?this:this.multiplyUnsafe(i)}static fromBytes(e,t=!1){return gc(e),this.fromHex(e,t)}static fromHex(t,n=!1){const{d:i,a:s}=e,u=r.BYTES;t=qc("pointHex",t,u),Nc("zip215",n);const l=t.slice(),h=t[u-1];l[u-1]=-129&h;const f=Qc(l),d=n?a:r.ORDER;Gc("pointHex.y",f,nh,d);const g=o(f*f),y=o(g-ih),m=o(i*g-s);let{isValid:w,value:b}=c(y,m);if(!w)throw new Error("Point.fromHex: invalid y coordinate");const A=(b&ih)===ih,v=!!(128&h);if(!n&&b===nh&&v)throw new Error("Point.fromHex: x=0 and x_0=1");return v!==A&&(b=o(-b)),p.fromAffine({x:b,y:f})}static fromPrivateScalar(e){return p.BASE.multiply(e)}toBytes(){const{x:e,y:t}=this.toAffine(),n=Hc(t,r.BYTES);return n[n.length-1]|=e&ih?128:0,n}toRawBytes(){return this.toBytes()}toHex(){return Ic(this.toBytes())}toString(){return``}}p.BASE=new p(e.Gx,e.Gy,ih,o(e.Gx*e.Gy)),p.ZERO=new p(nh,ih,ih,nh),p.Fp=r,p.Fn=n;const d=fl(p,8*n.BYTES);return p}const uh=BigInt(0),lh=BigInt(1),hh=BigInt(2);const fh={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffff7cca23e9c44edb49aed63690216cc2728dc58f552378c292ab5844f3"),h:BigInt(4),a:BigInt(1),d:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffff6756"),Gx:BigInt("0x4f1970c66bed0ded221d15a622bf36da9e146570470f1767ea6de324a3d3a46412ae1af72ab66511433b80e18b00938e2626a82bc70cc05e"),Gy:BigInt("0x693f46716eb6bc248876203756c9c7624bea73736ca3984087789c1e05a0c2d73ad3ff1ce67c39c4fdbd132c4ed7c8ad9808795bf230fa14")};ch(Object.assign({},fh,{d:BigInt("0xd78b4bdc7f0daf19f24f38c29373a2ccad46157242a50f37809b1da3412a12e79ccc9c81264cfe9ad080997058fb61c4243cc32dbaa156b9"),Gx:BigInt("0x79a70b2b70400553ae7c9df416c792c61128751ac92969240c25a07d728bdc93e21f7787ed6972249de732f38496cd11698713093e9c04fc"),Gy:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000001")}));const ph=Uc((()=>rh.create({dkLen:114}))),dh=BigInt(1),gh=BigInt(2),yh=BigInt(3);BigInt(4);const mh=BigInt(11),wh=BigInt(22),bh=BigInt(44),Ah=BigInt(88),vh=BigInt(223);function Eh(e){const t=fh.p,r=e*e*e%t,n=r*r*e%t,i=iu(n,yh,t)*n%t,s=iu(i,yh,t)*n%t,a=iu(s,gh,t)*r%t,o=iu(a,mh,t)*a%t,c=iu(o,wh,t)*o%t,u=iu(c,bh,t)*c%t,l=iu(u,Ah,t)*u%t,h=iu(l,bh,t)*c%t,f=iu(h,gh,t)*r%t,p=iu(f,dh,t)*e%t;return iu(p,vh,t)*f%t}function kh(e){return e[0]&=252,e[55]|=128,e[56]=0,e}function Sh(e,t){const r=fh.p,n=nu(e*e*t,r),i=nu(n*e,r),s=nu(i*n*t,r),a=nu(i*Eh(s),r),o=nu(a*a,r);return{isValid:nu(o*t,r)===e,value:a}}const Ih=(()=>hu(fh.p,456,!0))(),Ch=function(e){const{CURVE:t,curveOpts:r,eddsaOpts:n}=function(e){const t={a:e.a,d:e.d,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy};return{CURVE:t,curveOpts:{Fp:e.Fp,Fn:hu(t.n,e.nBitLength,!0),uvRatio:e.uvRatio},eddsaOpts:{hash:e.hash,randomBytes:e.randomBytes,adjustScalarBytes:e.adjustScalarBytes,domain:e.domain,prehash:e.prehash,mapToCurve:e.mapToCurve}}}(e);return function(e,t){return Object.assign({},t,{ExtendedPoint:t.Point,CURVE:e})}(e,function(e,t){Jc(t,{hash:"function"},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});const{prehash:r,hash:n}=t,{BASE:i,Fp:s,Fn:a}=e,o=a.ORDER,c=t.randomBytes||Oc,u=t.adjustScalarBytes||(e=>e),l=t.domain||((e,t,r)=>{if(Nc("phflag",r),t.length||r)throw new Error("Contexts/pre-hash are not supported");return e});function h(e){return a.create(e)}function f(e){return h(Qc(e))}function p(e){const{head:t,prefix:r,scalar:a}=function(e){const t=s.BYTES;e=qc("private key",e,t);const r=qc("hashed private key",n(e),2*t),i=u(r.slice(0,t));return{head:i,prefix:r.slice(t,2*t),scalar:f(i)}}(e),o=i.multiply(a),c=o.toBytes();return{head:t,prefix:r,scalar:a,point:o,pointBytes:c}}function d(e=Uint8Array.of(),...t){const i=Dc(...t);return f(n(l(i,qc("context",e),!!r)))}const g=oh;return i.precompute(8),{getPublicKey:function(e){return p(e).pointBytes},sign:function(e,t,n={}){e=qc("message",e),r&&(e=r(e));const{prefix:a,scalar:c,pointBytes:u}=p(t),l=d(n.context,a,e),f=i.multiply(l).toBytes(),g=h(l+d(n.context,f,u,e)*c);Gc("signature.s",g,nh,o);const y=s.BYTES;return qc("result",Dc(f,Hc(g,y)),2*y)},verify:function(t,n,a,o=g){const{context:c,zip215:u}=o,l=s.BYTES;t=qc("signature",t,2*l),n=qc("message",n),a=qc("publicKey",a,l),void 0!==u&&Nc("zip215",u),r&&(n=r(n));const h=Qc(t.slice(l,2*l));let f,p,y;try{f=e.fromHex(a,u),p=e.fromHex(t.slice(0,l),u),y=i.multiplyUnsafe(h)}catch(e){return!1}if(!u&&f.isSmallOrder())return!1;const m=d(c,p.toBytes(),f.toBytes(),n);return p.add(f.multiplyUnsafe(m)).subtract(y).clearCofactor().is0()},utils:{getExtendedPublicKey:p,randomPrivateKey:()=>c(s.BYTES),precompute:(t=8,r=e.BASE)=>r.precompute(t,!1)},Point:e}}(ch(t,r),n))}((()=>({...fh,Fp:Ih,nBitLength:456,hash:ph,adjustScalarBytes:kh,domain:(e,t,r)=>{if(t.length>255)throw new Error("context must be smaller than 255, got: "+t.length);return Dc(xc("SigEd448"),new Uint8Array([r?1:0,t.length]),t,e)},uvRatio:Sh}))()),Bh=(()=>{const e=fh.p;return function(e){const t=(Jc(r=e,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...r}));var r;const{P:n,type:i,adjustScalarBytes:s,powPminus2:a,randomBytes:o}=t,c="x25519"===i;if(!c&&"x448"!==i)throw new Error("invalid type");const u=o||Oc,l=c?255:448,h=c?32:56,f=c?BigInt(9):BigInt(5),p=c?BigInt(121665):BigInt(39081),d=c?hh**BigInt(254):hh**BigInt(447),g=c?BigInt(8)*hh**BigInt(251)-lh:BigInt(4)*hh**BigInt(445)-lh,y=d+g+lh,m=e=>nu(e,n),w=b(f);function b(e){return Hc(m(e),h)}function A(e,t){const r=function(e,t){Gc("u",e,uh,n),Gc("scalar",t,d,y);const r=t,i=e;let s=lh,o=uh,c=e,u=lh,h=uh;for(let e=BigInt(l-1);e>=uh;e--){const t=r>>e&lh;h^=t,({x_2:s,x_3:c}=E(h,s,c)),({x_2:o,x_3:u}=E(h,o,u)),h=t;const n=s+o,a=m(n*n),l=s-o,f=m(l*l),d=a-f,g=c+u,y=m((c-u)*n),w=m(g*l),b=y+w,A=y-w;c=m(b*b),u=m(i*m(A*A)),s=m(a*f),o=m(d*(a+m(p*d)))}({x_2:s,x_3:c}=E(h,s,c)),({x_2:o,x_3:u}=E(h,o,u));const f=a(o);return m(s*f)}(function(e){const t=qc("u coordinate",e,h);return c&&(t[31]&=127),m(Qc(t))}(t),function(e){return Qc(s(qc("scalar",e,h)))}(e));if(r===uh)throw new Error("invalid private or public key received");return b(r)}function v(e){return A(e,w)}function E(e,t,r){const n=m(e*(t-r));return{x_2:t=m(t-n),x_3:r=m(r+n)}}return{scalarMult:A,scalarMultBase:v,getSharedSecret:(e,t)=>A(e,t),getPublicKey:e=>v(e),utils:{randomPrivateKey:()=>u(h)},GuBytes:w.slice()}}({P:e,type:"x448",powPminus2:t=>nu(iu(Eh(t),gh,e)*t,e),adjustScalarBytes:kh})})(),xh={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")};BigInt(0);const Ph=BigInt(1),Dh=BigInt(2),Th=(e,t)=>(e+t/Dh)/t,Uh=hu(xh.p,void 0,void 0,{sqrt:function(e){const t=xh.p,r=BigInt(3),n=BigInt(6),i=BigInt(11),s=BigInt(22),a=BigInt(23),o=BigInt(44),c=BigInt(88),u=e*e*e%t,l=u*u*e%t,h=iu(l,r,t)*l%t,f=iu(h,r,t)*l%t,p=iu(f,Dh,t)*u%t,d=iu(p,i,t)*p%t,g=iu(d,s,t)*d%t,y=iu(g,o,t)*g%t,m=iu(y,c,t)*y%t,w=iu(m,o,t)*g%t,b=iu(w,r,t)*l%t,A=iu(b,a,t)*d%t,v=iu(A,n,t)*u%t,E=iu(v,Dh,t);if(!Uh.eql(Uh.sqr(E),e))throw new Error("Cannot find square root");return E}}),Kh=xl({...xh,Fp:Uh,lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=xh.n,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-Ph*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=r,a=BigInt("0x100000000000000000000000000000000"),o=Th(s*e,t),c=Th(-n*e,t);let u=nu(e-o*r-c*i,t),l=nu(-o*n-c*s,t);const h=u>a,f=l>a;if(h&&(u=t-u),f&&(l=t-l),u>a||l>a)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:h,k1:u,k2neg:f,k2:l}}}},$u),Oh=$u,Mh=Wu,Rh=hu(BigInt("0xa9fb57dba1eea9bc3e660a909d838d726e3bf623d52620282013481d1f6e5377")),Nh=xl({a:Rh.create(BigInt("0x7d5a0975fc2c3057eef67530417affe7fb8055c126dc5c6ce94a4b44f330b5d9")),b:BigInt("0x26dc5c6ce94a4b44f330b5d9bbd77cbf958416295cf7e1ce6bccdc18ff8c07b6"),Fp:Rh,n:BigInt("0xa9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a7"),Gx:BigInt("0x8bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262"),Gy:BigInt("0x547ef835c3dac4fd97f8461a14611dc9c27745132ded8e545c1d54c72f046997"),h:BigInt(1),lowS:!1},Oh),Lh=Yu,Fh=Zu,_h=hu(BigInt("0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b412b1da197fb71123acd3a729901d1a71874700133107ec53")),Qh=xl({a:_h.create(BigInt("0x7bc382c63d8c150c3c72080ace05afa0c2bea28e4fb22787139165efba91f90f8aa5814a503ad4eb04a8c7dd22ce2826")),b:BigInt("0x04a8c7dd22ce28268b39b55416f0447c2fb77de107dcd2a62e880ea53eeb62d57cb4390295dbc9943ab78696fa504c11"),Fp:_h,n:BigInt("0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046565"),Gx:BigInt("0x1d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e"),Gy:BigInt("0x8abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff99129280e4646217791811142820341263c5315"),h:BigInt(1),lowS:!1},Fh),jh=hu(BigInt("0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca703308717d4d9b009bc66842aecda12ae6a380e62881ff2f2d82c68528aa6056583a48f3")),Hh=xl({a:jh.create(BigInt("0x7830a3318b603b89e2327145ac234cc594cbdd8d3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94ca")),b:BigInt("0x3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94cadc083e67984050b75ebae5dd2809bd638016f723"),Fp:jh,n:BigInt("0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca70330870553e5c414ca92619418661197fac10471db1d381085ddaddb58796829ca90069"),Gx:BigInt("0x81aee4bdd82ed9645a21322e9c4c6a9385ed9f70b5d916c1b43b62eef4d0098eff3b1f78e2d0d48d50d1687b93b97d5f7c6d5047406a5e688b352209bcb9f822"),Gy:BigInt("0x7dde385d566332ecc0eabfa9cf7822fdf209f70024a57b1aa000c55b881f8111b2dcde494a5f485e5bca4bd88a2763aed1ca2b2fa8f0540678cd1e0f3ad80892"),h:BigInt(1),lowS:!1},Lh),qh=new Map(Object.entries({nistP256:Ml,nistP384:Rl,nistP521:Nl,brainpoolP256r1:Nh,brainpoolP384r1:Qh,brainpoolP512r1:Hh,secp256k1:Kh,x448:Bh,ed448:Ch}));var zh=Object.freeze({__proto__:null,nobleCurves:qh});const Gh=Uint32Array.from([1732584193,4023233417,2562383102,271733878,3285377520]),Vh=new Uint32Array(80);class Jh extends yu{constructor(){super(64,20,8,!1),this.A=0|Gh[0],this.B=0|Gh[1],this.C=0|Gh[2],this.D=0|Gh[3],this.E=0|Gh[4]}get(){const{A:e,B:t,C:r,D:n,E:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)Vh[r]=e.getUint32(t,!1);for(let e=16;e<80;e++)Vh[e]=vc(Vh[e-3]^Vh[e-8]^Vh[e-14]^Vh[e-16],1);let{A:r,B:n,C:i,D:s,E:a}=this;for(let e=0;e<80;e++){let t,o;e<20?(t=du(n,i,s),o=1518500249):e<40?(t=n^i^s,o=1859775393):e<60?(t=gu(n,i,s),o=2400959708):(t=n^i^s,o=3395469782);const c=vc(r,5)+t+a+o+Vh[e]|0;a=s,s=i,i=vc(n,30),n=r,r=c}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,s=s+this.D|0,a=a+this.E|0,this.set(r,n,i,s,a)}roundClean(){wc(Vh)}destroy(){this.set(0,0,0,0,0),wc(this.buffer)}}const $h=Uc((()=>new Jh)),Wh=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Yh=(()=>Uint8Array.from(new Array(16).fill(0).map(((e,t)=>t))))(),Zh=(()=>Yh.map((e=>(9*e+5)%16)))(),Xh=(()=>{const e=[[Yh],[Zh]];for(let t=0;t<4;t++)for(let r of e)r.push(r[t].map((e=>Wh[e])));return e})(),ef=(()=>Xh[0])(),tf=(()=>Xh[1])(),rf=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>Uint8Array.from(e))),nf=ef.map(((e,t)=>e.map((e=>rf[t][e])))),sf=tf.map(((e,t)=>e.map((e=>rf[t][e])))),af=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),of=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function cf(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}const uf=new Uint32Array(16);class lf extends yu{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:t,h2:r,h3:n,h4:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)uf[r]=e.getUint32(t,!0);let r=0|this.h0,n=r,i=0|this.h1,s=i,a=0|this.h2,o=a,c=0|this.h3,u=c,l=0|this.h4,h=l;for(let e=0;e<5;e++){const t=4-e,f=af[e],p=of[e],d=ef[e],g=tf[e],y=nf[e],m=sf[e];for(let t=0;t<16;t++){const n=vc(r+cf(e,i,a,c)+uf[d[t]]+f,y[t])+l|0;r=l,l=c,c=0|vc(a,10),a=i,i=n}for(let e=0;e<16;e++){const r=vc(n+cf(t,s,o,u)+uf[g[e]]+p,m[e])+h|0;n=h,h=u,u=0|vc(o,10),o=s,s=r}}this.set(this.h1+a+u|0,this.h2+c+h|0,this.h3+l+n|0,this.h4+r+s|0,this.h0+i+o|0)}roundClean(){wc(uf)}destroy(){this.destroyed=!0,wc(this.buffer),this.set(0,0,0,0,0)}}const hf=$h,ff=Uc((()=>new lf)),pf=Array.from({length:64},((e,t)=>Math.floor(2**32*Math.abs(Math.sin(t+1))))),df=(e,t,r)=>e&t^~e&r,gf=new Uint32Array([1732584193,4023233417,2562383102,271733878]),yf=new Uint32Array(16);class mf extends yu{constructor(){super(64,16,8,!0),this.A=0|gf[0],this.B=0|gf[1],this.C=0|gf[2],this.D=0|gf[3]}get(){const{A:e,B:t,C:r,D:n}=this;return[e,t,r,n]}set(e,t,r,n){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n}process(e,t){for(let r=0;r<16;r++,t+=4)yf[r]=e.getUint32(t,!0);let{A:r,B:n,C:i,D:s}=this;for(let e=0;e<64;e++){let t,a,o;e<16?(t=df(n,i,s),a=e,o=[7,12,17,22]):e<32?(t=df(s,n,i),a=(5*e+1)%16,o=[5,9,14,20]):e<48?(t=n^i^s,a=(3*e+5)%16,o=[4,11,16,23]):(t=i^(n|~s),a=7*e%16,o=[6,10,15,21]),t=t+r+pf[e]+yf[a],r=s,s=i,i=n,n+=vc(t,o[e%4])}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,s=s+this.D|0,this.set(r,n,i,s)}roundClean(){yf.fill(0)}destroy(){this.set(0,0,0,0),this.buffer.fill(0)}}const wf=Kc((()=>new mf)),bf=new Map(Object.entries({md5:wf,sha1:hf,sha224:Mh,sha256:Oh,sha384:Fh,sha512:Lh,sha3_256:eh,sha3_512:th,ripemd160:ff}));var Af=Object.freeze({__proto__:null,nobleHashes:bf});function vf(e,t,r,n,i,s){const a=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],o=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],c=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],u=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],h=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],f=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],p=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];let d,g,y,m,w,b,A,v,E,k,S=0,I=t.length;const C=32===e.length?3:9;v=3===C?r?[0,32,2]:[30,-2,-2]:r?[0,32,2,62,30,-2,64,96,2]:[94,62,-2,32,64,2,30,-2,-2],r&&(t=function(e){const t=8-e.length%8;let r;if(!(t<8)){if(8===t)return e;throw new Error("des: invalid padding")}r=0;const n=new Uint8Array(e.length+t);for(let t=0;t>>4^A),A^=y,b^=y<<4,y=65535&(b>>>16^A),A^=y,b^=y<<16,y=858993459&(A>>>2^b),b^=y,A^=y<<2,y=16711935&(A>>>8^b),b^=y,A^=y<<8,y=1431655765&(b>>>1^A),A^=y,b^=y<<1,b=b<<1|b>>>31,A=A<<1|A>>>31,g=0;g>>4|A<<28)^e[d+1],y=b,b=A,A=y^(o[m>>>24&63]|u[m>>>16&63]|h[m>>>8&63]|p[63&m]|a[w>>>24&63]|c[w>>>16&63]|l[w>>>8&63]|f[63&w]);y=b,b=A,A=y}b=b>>>1|b<<31,A=A>>>1|A<<31,y=1431655765&(b>>>1^A),A^=y,b^=y<<1,y=16711935&(A>>>8^b),b^=y,A^=y<<8,y=858993459&(A>>>2^b),b^=y,A^=y<<2,y=65535&(b>>>16^A),A^=y,b^=y<<16,y=252645135&(b>>>4^A),A^=y,b^=y<<4,B[x++]=b>>>24,B[x++]=b>>>16&255,B[x++]=b>>>8&255,B[x++]=255&b,B[x++]=A>>>24,B[x++]=A>>>16&255,B[x++]=A>>>8&255,B[x++]=255&A}return r||(B=function(e){let t,r=null;if(t=0,!r){for(r=1;0===e[e.length-r];)r++;r--}return e.subarray(0,e.length-r)}(B)),B}function Ef(e){const t=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],r=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],n=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],i=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],s=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],a=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],o=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],c=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],u=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],l=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],h=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],f=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],p=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],d=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],g=e.length>8?3:1,y=new Array(32*g),m=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0];let w,b,A,v=0,E=0;for(let k=0;k>>4^k),k^=A,g^=A<<4,A=65535&(k>>>-16^g),g^=A,k^=A<<-16,A=858993459&(g>>>2^k),k^=A,g^=A<<2,A=65535&(k>>>-16^g),g^=A,k^=A<<-16,A=1431655765&(g>>>1^k),k^=A,g^=A<<1,A=16711935&(k>>>8^g),g^=A,k^=A<<8,A=1431655765&(g>>>1^k),k^=A,g^=A<<1,A=g<<8|k>>>20&240,g=k<<24|k<<8&16711680|k>>>8&65280|k>>>24&240,k=A;for(let e=0;e>>26,k=k<<2|k>>>26):(g=g<<1|g>>>27,k=k<<1|k>>>27),g&=-15,k&=-15,w=t[g>>>28]|r[g>>>24&15]|n[g>>>20&15]|i[g>>>16&15]|s[g>>>12&15]|a[g>>>8&15]|o[g>>>4&15],b=c[k>>>28]|u[k>>>24&15]|l[k>>>20&15]|h[k>>>16&15]|f[k>>>12&15]|p[k>>>8&15]|d[k>>>4&15],A=65535&(b>>>16^w),y[E++]=w^A,y[E++]=b^A<<16}return y}function kf(e){this.key=[];for(let t=0;t<3;t++)this.key.push(new Uint8Array(e.subarray(8*t,8*t+8)));this.encrypt=function(e){return vf(Ef(this.key[2]),vf(Ef(this.key[1]),vf(Ef(this.key[0]),e,!0),!1),!0)}}function Sf(){this.BlockSize=8,this.KeySize=16,this.setKey=function(e){if(this.masking=new Array(16),this.rotate=new Array(16),this.reset(),e.length!==this.KeySize)throw new Error("CAST-128: keys must be 16 bytes");return this.keySchedule(e),!0},this.reset=function(){for(let e=0;e<16;e++)this.masking[e]=0,this.rotate[e]=0},this.getBlockSize=function(){return this.BlockSize},this.encrypt=function(e){const t=new Array(e.length);for(let s=0;s>>24&255,t[s+1]=c>>>16&255,t[s+2]=c>>>8&255,t[s+3]=255&c,t[s+4]=o>>>24&255,t[s+5]=o>>>16&255,t[s+6]=o>>>8&255,t[s+7]=255&o}return t},this.decrypt=function(e){const t=new Array(e.length);for(let s=0;s>>24&255,t[s+1]=c>>>16&255,t[s+2]=c>>>8&255,t[s+3]=255&c,t[s+4]=o>>>24&255,t[s+5]=o>>16&255,t[s+6]=o>>8&255,t[s+7]=255&o}return t};const e=new Array(4);e[0]=new Array(4),e[0][0]=[4,0,13,15,12,14,8],e[0][1]=[5,2,16,18,17,19,10],e[0][2]=[6,3,23,22,21,20,9],e[0][3]=[7,1,26,25,27,24,11],e[1]=new Array(4),e[1][0]=[0,6,21,23,20,22,16],e[1][1]=[1,4,0,2,1,3,18],e[1][2]=[2,5,7,6,5,4,17],e[1][3]=[3,7,10,9,11,8,19],e[2]=new Array(4),e[2][0]=[4,0,13,15,12,14,8],e[2][1]=[5,2,16,18,17,19,10],e[2][2]=[6,3,23,22,21,20,9],e[2][3]=[7,1,26,25,27,24,11],e[3]=new Array(4),e[3][0]=[0,6,21,23,20,22,16],e[3][1]=[1,4,0,2,1,3,18],e[3][2]=[2,5,7,6,5,4,17],e[3][3]=[3,7,10,9,11,8,19];const t=new Array(4);function r(e,t,r){const n=t+e,i=n<>>32-r;return(s[0][i>>>24]^s[1][i>>>16&255])-s[2][i>>>8&255]+s[3][255&i]}function n(e,t,r){const n=t^e,i=n<>>32-r;return s[0][i>>>24]-s[1][i>>>16&255]+s[2][i>>>8&255]^s[3][255&i]}function i(e,t,r){const n=t-e,i=n<>>32-r;return(s[0][i>>>24]+s[1][i>>>16&255]^s[2][i>>>8&255])-s[3][255&i]}t[0]=new Array(4),t[0][0]=[24,25,23,22,18],t[0][1]=[26,27,21,20,22],t[0][2]=[28,29,19,18,25],t[0][3]=[30,31,17,16,28],t[1]=new Array(4),t[1][0]=[3,2,12,13,8],t[1][1]=[1,0,14,15,13],t[1][2]=[7,6,8,9,3],t[1][3]=[5,4,10,11,7],t[2]=new Array(4),t[2][0]=[19,18,28,29,25],t[2][1]=[17,16,30,31,28],t[2][2]=[23,22,24,25,18],t[2][3]=[21,20,26,27,22],t[3]=new Array(4),t[3][0]=[8,9,7,6,3],t[3][1]=[10,11,5,4,7],t[3][2]=[12,13,3,2,8],t[3][3]=[14,15,1,0,13],this.keySchedule=function(r){const n=new Array(8),i=new Array(32);let a;for(let e=0;e<4;e++)a=4*e,n[e]=r[a]<<24|r[a+1]<<16|r[a+2]<<8|r[a+3];const o=[6,7,4,5];let c,u=0;for(let r=0;r<2;r++)for(let r=0;r<4;r++){for(a=0;a<4;a++){const t=e[r][a];c=n[t[1]],c^=s[4][n[t[2]>>>2]>>>24-8*(3&t[2])&255],c^=s[5][n[t[3]>>>2]>>>24-8*(3&t[3])&255],c^=s[6][n[t[4]>>>2]>>>24-8*(3&t[4])&255],c^=s[7][n[t[5]>>>2]>>>24-8*(3&t[5])&255],c^=s[o[a]][n[t[6]>>>2]>>>24-8*(3&t[6])&255],n[t[0]]=c}for(a=0;a<4;a++){const e=t[r][a];c=s[4][n[e[0]>>>2]>>>24-8*(3&e[0])&255],c^=s[5][n[e[1]>>>2]>>>24-8*(3&e[1])&255],c^=s[6][n[e[2]>>>2]>>>24-8*(3&e[2])&255],c^=s[7][n[e[3]>>>2]>>>24-8*(3&e[3])&255],c^=s[4+a][n[e[4]>>>2]>>>24-8*(3&e[4])&255],i[u]=c,u++}}for(let e=0;e<16;e++)this.masking[e]=i[e],this.rotate[e]=31&i[16+e]};const s=new Array(8);s[0]=[821772500,2678128395,1810681135,1059425402,505495343,2617265619,1610868032,3483355465,3218386727,2294005173,3791863952,2563806837,1852023008,365126098,3269944861,584384398,677919599,3229601881,4280515016,2002735330,1136869587,3744433750,2289869850,2731719981,2714362070,879511577,1639411079,575934255,717107937,2857637483,576097850,2731753936,1725645e3,2810460463,5111599,767152862,2543075244,1251459544,1383482551,3052681127,3089939183,3612463449,1878520045,1510570527,2189125840,2431448366,582008916,3163445557,1265446783,1354458274,3529918736,3202711853,3073581712,3912963487,3029263377,1275016285,4249207360,2905708351,3304509486,1442611557,3585198765,2712415662,2731849581,3248163920,2283946226,208555832,2766454743,1331405426,1447828783,3315356441,3108627284,2957404670,2981538698,3339933917,1669711173,286233437,1465092821,1782121619,3862771680,710211251,980974943,1651941557,430374111,2051154026,704238805,4128970897,3144820574,2857402727,948965521,3333752299,2227686284,718756367,2269778983,2731643755,718440111,2857816721,3616097120,1113355533,2478022182,410092745,1811985197,1944238868,2696854588,1415722873,1682284203,1060277122,1998114690,1503841958,82706478,2315155686,1068173648,845149890,2167947013,1768146376,1993038550,3566826697,3390574031,940016341,3355073782,2328040721,904371731,1205506512,4094660742,2816623006,825647681,85914773,2857843460,1249926541,1417871568,3287612,3211054559,3126306446,1975924523,1353700161,2814456437,2438597621,1800716203,722146342,2873936343,1151126914,4160483941,2877670899,458611604,2866078500,3483680063,770352098,2652916994,3367839148,3940505011,3585973912,3809620402,718646636,2504206814,2914927912,3631288169,2857486607,2860018678,575749918,2857478043,718488780,2069512688,3548183469,453416197,1106044049,3032691430,52586708,3378514636,3459808877,3211506028,1785789304,218356169,3571399134,3759170522,1194783844,1523787992,3007827094,1975193539,2555452411,1341901877,3045838698,3776907964,3217423946,2802510864,2889438986,1057244207,1636348243,3761863214,1462225785,2632663439,481089165,718503062,24497053,3332243209,3344655856,3655024856,3960371065,1195698900,2971415156,3710176158,2115785917,4027663609,3525578417,2524296189,2745972565,3564906415,1372086093,1452307862,2780501478,1476592880,3389271281,18495466,2378148571,901398090,891748256,3279637769,3157290713,2560960102,1447622437,4284372637,216884176,2086908623,1879786977,3588903153,2242455666,2938092967,3559082096,2810645491,758861177,1121993112,215018983,642190776,4169236812,1196255959,2081185372,3508738393,941322904,4124243163,2877523539,1848581667,2205260958,3180453958,2589345134,3694731276,550028657,2519456284,3789985535,2973870856,2093648313,443148163,46942275,2734146937,1117713533,1115362972,1523183689,3717140224,1551984063],s[1]=[522195092,4010518363,1776537470,960447360,4267822970,4005896314,1435016340,1929119313,2913464185,1310552629,3579470798,3724818106,2579771631,1594623892,417127293,2715217907,2696228731,1508390405,3994398868,3925858569,3695444102,4019471449,3129199795,3770928635,3520741761,990456497,4187484609,2783367035,21106139,3840405339,631373633,3783325702,532942976,396095098,3548038825,4267192484,2564721535,2011709262,2039648873,620404603,3776170075,2898526339,3612357925,4159332703,1645490516,223693667,1567101217,3362177881,1029951347,3470931136,3570957959,1550265121,119497089,972513919,907948164,3840628539,1613718692,3594177948,465323573,2659255085,654439692,2575596212,2699288441,3127702412,277098644,624404830,4100943870,2717858591,546110314,2403699828,3655377447,1321679412,4236791657,1045293279,4010672264,895050893,2319792268,494945126,1914543101,2777056443,3894764339,2219737618,311263384,4275257268,3458730721,669096869,3584475730,3835122877,3319158237,3949359204,2005142349,2713102337,2228954793,3769984788,569394103,3855636576,1425027204,108000370,2736431443,3671869269,3043122623,1750473702,2211081108,762237499,3972989403,2798899386,3061857628,2943854345,867476300,964413654,1591880597,1594774276,2179821409,552026980,3026064248,3726140315,2283577634,3110545105,2152310760,582474363,1582640421,1383256631,2043843868,3322775884,1217180674,463797851,2763038571,480777679,2718707717,2289164131,3118346187,214354409,200212307,3810608407,3025414197,2674075964,3997296425,1847405948,1342460550,510035443,4080271814,815934613,833030224,1620250387,1945732119,2703661145,3966000196,1388869545,3456054182,2687178561,2092620194,562037615,1356438536,3409922145,3261847397,1688467115,2150901366,631725691,3840332284,549916902,3455104640,394546491,837744717,2114462948,751520235,2221554606,2415360136,3999097078,2063029875,803036379,2702586305,821456707,3019566164,360699898,4018502092,3511869016,3677355358,2402471449,812317050,49299192,2570164949,3259169295,2816732080,3331213574,3101303564,2156015656,3705598920,3546263921,143268808,3200304480,1638124008,3165189453,3341807610,578956953,2193977524,3638120073,2333881532,807278310,658237817,2969561766,1641658566,11683945,3086995007,148645947,1138423386,4158756760,1981396783,2401016740,3699783584,380097457,2680394679,2803068651,3334260286,441530178,4016580796,1375954390,761952171,891809099,2183123478,157052462,3683840763,1592404427,341349109,2438483839,1417898363,644327628,2233032776,2353769706,2201510100,220455161,1815641738,182899273,2995019788,3627381533,3702638151,2890684138,1052606899,588164016,1681439879,4038439418,2405343923,4229449282,167996282,1336969661,1688053129,2739224926,1543734051,1046297529,1138201970,2121126012,115334942,1819067631,1902159161,1941945968,2206692869,1159982321],s[2]=[2381300288,637164959,3952098751,3893414151,1197506559,916448331,2350892612,2932787856,3199334847,4009478890,3905886544,1373570990,2450425862,4037870920,3778841987,2456817877,286293407,124026297,3001279700,1028597854,3115296800,4208886496,2691114635,2188540206,1430237888,1218109995,3572471700,308166588,570424558,2187009021,2455094765,307733056,1310360322,3135275007,1384269543,2388071438,863238079,2359263624,2801553128,3380786597,2831162807,1470087780,1728663345,4072488799,1090516929,532123132,2389430977,1132193179,2578464191,3051079243,1670234342,1434557849,2711078940,1241591150,3314043432,3435360113,3091448339,1812415473,2198440252,267246943,796911696,3619716990,38830015,1526438404,2806502096,374413614,2943401790,1489179520,1603809326,1920779204,168801282,260042626,2358705581,1563175598,2397674057,1356499128,2217211040,514611088,2037363785,2186468373,4022173083,2792511869,2913485016,1173701892,4200428547,3896427269,1334932762,2455136706,602925377,2835607854,1613172210,41346230,2499634548,2457437618,2188827595,41386358,4172255629,1313404830,2405527007,3801973774,2217704835,873260488,2528884354,2478092616,4012915883,2555359016,2006953883,2463913485,575479328,2218240648,2099895446,660001756,2341502190,3038761536,3888151779,3848713377,3286851934,1022894237,1620365795,3449594689,1551255054,15374395,3570825345,4249311020,4151111129,3181912732,310226346,1133119310,530038928,136043402,2476768958,3107506709,2544909567,1036173560,2367337196,1681395281,1758231547,3641649032,306774401,1575354324,3716085866,1990386196,3114533736,2455606671,1262092282,3124342505,2768229131,4210529083,1833535011,423410938,660763973,2187129978,1639812e3,3508421329,3467445492,310289298,272797111,2188552562,2456863912,310240523,677093832,1013118031,901835429,3892695601,1116285435,3036471170,1337354835,243122523,520626091,277223598,4244441197,4194248841,1766575121,594173102,316590669,742362309,3536858622,4176435350,3838792410,2501204839,1229605004,3115755532,1552908988,2312334149,979407927,3959474601,1148277331,176638793,3614686272,2083809052,40992502,1340822838,2731552767,3535757508,3560899520,1354035053,122129617,7215240,2732932949,3118912700,2718203926,2539075635,3609230695,3725561661,1928887091,2882293555,1988674909,2063640240,2491088897,1459647954,4189817080,2302804382,1113892351,2237858528,1927010603,4002880361,1856122846,1594404395,2944033133,3855189863,3474975698,1643104450,4054590833,3431086530,1730235576,2984608721,3084664418,2131803598,4178205752,267404349,1617849798,1616132681,1462223176,736725533,2327058232,551665188,2945899023,1749386277,2575514597,1611482493,674206544,2201269090,3642560800,728599968,1680547377,2620414464,1388111496,453204106,4156223445,1094905244,2754698257,2201108165,3757000246,2704524545,3922940700,3996465027],s[3]=[2645754912,532081118,2814278639,3530793624,1246723035,1689095255,2236679235,4194438865,2116582143,3859789411,157234593,2045505824,4245003587,1687664561,4083425123,605965023,672431967,1336064205,3376611392,214114848,4258466608,3232053071,489488601,605322005,3998028058,264917351,1912574028,756637694,436560991,202637054,135989450,85393697,2152923392,3896401662,2895836408,2145855233,3535335007,115294817,3147733898,1922296357,3464822751,4117858305,1037454084,2725193275,2127856640,1417604070,1148013728,1827919605,642362335,2929772533,909348033,1346338451,3547799649,297154785,1917849091,4161712827,2883604526,3968694238,1469521537,3780077382,3375584256,1763717519,136166297,4290970789,1295325189,2134727907,2798151366,1566297257,3672928234,2677174161,2672173615,965822077,2780786062,289653839,1133871874,3491843819,35685304,1068898316,418943774,672553190,642281022,2346158704,1954014401,3037126780,4079815205,2030668546,3840588673,672283427,1776201016,359975446,3750173538,555499703,2769985273,1324923,69110472,152125443,3176785106,3822147285,1340634837,798073664,1434183902,15393959,216384236,1303690150,3881221631,3711134124,3960975413,106373927,2578434224,1455997841,1801814300,1578393881,1854262133,3188178946,3258078583,2302670060,1539295533,3505142565,3078625975,2372746020,549938159,3278284284,2620926080,181285381,2865321098,3970029511,68876850,488006234,1728155692,2608167508,836007927,2435231793,919367643,3339422534,3655756360,1457871481,40520939,1380155135,797931188,234455205,2255801827,3990488299,397000196,739833055,3077865373,2871719860,4022553888,772369276,390177364,3853951029,557662966,740064294,1640166671,1699928825,3535942136,622006121,3625353122,68743880,1742502,219489963,1664179233,1577743084,1236991741,410585305,2366487942,823226535,1050371084,3426619607,3586839478,212779912,4147118561,1819446015,1911218849,530248558,3486241071,3252585495,2886188651,3410272728,2342195030,20547779,2982490058,3032363469,3631753222,312714466,1870521650,1493008054,3491686656,615382978,4103671749,2534517445,1932181,2196105170,278426614,6369430,3274544417,2913018367,697336853,2143000447,2946413531,701099306,1558357093,2805003052,3500818408,2321334417,3567135975,216290473,3591032198,23009561,1996984579,3735042806,2024298078,3739440863,569400510,2339758983,3016033873,3097871343,3639523026,3844324983,3256173865,795471839,2951117563,4101031090,4091603803,3603732598,971261452,534414648,428311343,3389027175,2844869880,694888862,1227866773,2456207019,3043454569,2614353370,3749578031,3676663836,459166190,4132644070,1794958188,51825668,2252611902,3084671440,2036672799,3436641603,1099053433,2469121526,3059204941,1323291266,2061838604,1018778475,2233344254,2553501054,334295216,3556750194,1065731521,183467730],s[4]=[2127105028,745436345,2601412319,2788391185,3093987327,500390133,1155374404,389092991,150729210,3891597772,3523549952,1935325696,716645080,946045387,2901812282,1774124410,3869435775,4039581901,3293136918,3438657920,948246080,363898952,3867875531,1286266623,1598556673,68334250,630723836,1104211938,1312863373,613332731,2377784574,1101634306,441780740,3129959883,1917973735,2510624549,3238456535,2544211978,3308894634,1299840618,4076074851,1756332096,3977027158,297047435,3790297736,2265573040,3621810518,1311375015,1667687725,47300608,3299642885,2474112369,201668394,1468347890,576830978,3594690761,3742605952,1958042578,1747032512,3558991340,1408974056,3366841779,682131401,1033214337,1545599232,4265137049,206503691,103024618,2855227313,1337551222,2428998917,2963842932,4015366655,3852247746,2796956967,3865723491,3747938335,247794022,3755824572,702416469,2434691994,397379957,851939612,2314769512,218229120,1380406772,62274761,214451378,3170103466,2276210409,3845813286,28563499,446592073,1693330814,3453727194,29968656,3093872512,220656637,2470637031,77972100,1667708854,1358280214,4064765667,2395616961,325977563,4277240721,4220025399,3605526484,3355147721,811859167,3069544926,3962126810,652502677,3075892249,4132761541,3498924215,1217549313,3250244479,3858715919,3053989961,1538642152,2279026266,2875879137,574252750,3324769229,2651358713,1758150215,141295887,2719868960,3515574750,4093007735,4194485238,1082055363,3417560400,395511885,2966884026,179534037,3646028556,3738688086,1092926436,2496269142,257381841,3772900718,1636087230,1477059743,2499234752,3811018894,2675660129,3285975680,90732309,1684827095,1150307763,1723134115,3237045386,1769919919,1240018934,815675215,750138730,2239792499,1234303040,1995484674,138143821,675421338,1145607174,1936608440,3238603024,2345230278,2105974004,323969391,779555213,3004902369,2861610098,1017501463,2098600890,2628620304,2940611490,2682542546,1171473753,3656571411,3687208071,4091869518,393037935,159126506,1662887367,1147106178,391545844,3452332695,1891500680,3016609650,1851642611,546529401,1167818917,3194020571,2848076033,3953471836,575554290,475796850,4134673196,450035699,2351251534,844027695,1080539133,86184846,1554234488,3692025454,1972511363,2018339607,1491841390,1141460869,1061690759,4244549243,2008416118,2351104703,2868147542,1598468138,722020353,1027143159,212344630,1387219594,1725294528,3745187956,2500153616,458938280,4129215917,1828119673,544571780,3503225445,2297937496,1241802790,267843827,2694610800,1397140384,1558801448,3782667683,1806446719,929573330,2234912681,400817706,616011623,4121520928,3603768725,1761550015,1968522284,4053731006,4192232858,4005120285,872482584,3140537016,3894607381,2287405443,1963876937,3663887957,1584857e3,2975024454,1833426440,4025083860],s[5]=[4143615901,749497569,1285769319,3795025788,2514159847,23610292,3974978748,844452780,3214870880,3751928557,2213566365,1676510905,448177848,3730751033,4086298418,2307502392,871450977,3222878141,4110862042,3831651966,2735270553,1310974780,2043402188,1218528103,2736035353,4274605013,2702448458,3936360550,2693061421,162023535,2827510090,687910808,23484817,3784910947,3371371616,779677500,3503626546,3473927188,4157212626,3500679282,4248902014,2466621104,3899384794,1958663117,925738300,1283408968,3669349440,1840910019,137959847,2679828185,1239142320,1315376211,1547541505,1690155329,739140458,3128809933,3933172616,3876308834,905091803,1548541325,4040461708,3095483362,144808038,451078856,676114313,2861728291,2469707347,993665471,373509091,2599041286,4025009006,4170239449,2149739950,3275793571,3749616649,2794760199,1534877388,572371878,2590613551,1753320020,3467782511,1405125690,4270405205,633333386,3026356924,3475123903,632057672,2846462855,1404951397,3882875879,3915906424,195638627,2385783745,3902872553,1233155085,3355999740,2380578713,2702246304,2144565621,3663341248,3894384975,2502479241,4248018925,3094885567,1594115437,572884632,3385116731,767645374,1331858858,1475698373,3793881790,3532746431,1321687957,619889600,1121017241,3440213920,2070816767,2833025776,1933951238,4095615791,890643334,3874130214,859025556,360630002,925594799,1764062180,3920222280,4078305929,979562269,2810700344,4087740022,1949714515,546639971,1165388173,3069891591,1495988560,922170659,1291546247,2107952832,1813327274,3406010024,3306028637,4241950635,153207855,2313154747,1608695416,1150242611,1967526857,721801357,1220138373,3691287617,3356069787,2112743302,3281662835,1111556101,1778980689,250857638,2298507990,673216130,2846488510,3207751581,3562756981,3008625920,3417367384,2198807050,529510932,3547516680,3426503187,2364944742,102533054,2294910856,1617093527,1204784762,3066581635,1019391227,1069574518,1317995090,1691889997,3661132003,510022745,3238594800,1362108837,1817929911,2184153760,805817662,1953603311,3699844737,120799444,2118332377,207536705,2282301548,4120041617,145305846,2508124933,3086745533,3261524335,1877257368,2977164480,3160454186,2503252186,4221677074,759945014,254147243,2767453419,3801518371,629083197,2471014217,907280572,3900796746,940896768,2751021123,2625262786,3161476951,3661752313,3260732218,1425318020,2977912069,1496677566,3988592072,2140652971,3126511541,3069632175,977771578,1392695845,1698528874,1411812681,1369733098,1343739227,3620887944,1142123638,67414216,3102056737,3088749194,1626167401,2546293654,3941374235,697522451,33404913,143560186,2595682037,994885535,1247667115,3859094837,2699155541,3547024625,4114935275,2968073508,3199963069,2732024527,1237921620,951448369,1898488916,1211705605,2790989240,2233243581,3598044975],s[6]=[2246066201,858518887,1714274303,3485882003,713916271,2879113490,3730835617,539548191,36158695,1298409750,419087104,1358007170,749914897,2989680476,1261868530,2995193822,2690628854,3443622377,3780124940,3796824509,2976433025,4259637129,1551479e3,512490819,1296650241,951993153,2436689437,2460458047,144139966,3136204276,310820559,3068840729,643875328,1969602020,1680088954,2185813161,3283332454,672358534,198762408,896343282,276269502,3014846926,84060815,197145886,376173866,3943890818,3813173521,3545068822,1316698879,1598252827,2633424951,1233235075,859989710,2358460855,3503838400,3409603720,1203513385,1193654839,2792018475,2060853022,207403770,1144516871,3068631394,1121114134,177607304,3785736302,326409831,1929119770,2983279095,4183308101,3474579288,3200513878,3228482096,119610148,1170376745,3378393471,3163473169,951863017,3337026068,3135789130,2907618374,1183797387,2015970143,4045674555,2182986399,2952138740,3928772205,384012900,2454997643,10178499,2879818989,2596892536,111523738,2995089006,451689641,3196290696,235406569,1441906262,3890558523,3013735005,4158569349,1644036924,376726067,1006849064,3664579700,2041234796,1021632941,1374734338,2566452058,371631263,4007144233,490221539,206551450,3140638584,1053219195,1853335209,3412429660,3562156231,735133835,1623211703,3104214392,2738312436,4096837757,3366392578,3110964274,3956598718,3196820781,2038037254,3877786376,2339753847,300912036,3766732888,2372630639,1516443558,4200396704,1574567987,4069441456,4122592016,2699739776,146372218,2748961456,2043888151,35287437,2596680554,655490400,1132482787,110692520,1031794116,2188192751,1324057718,1217253157,919197030,686247489,3261139658,1028237775,3135486431,3059715558,2460921700,986174950,2661811465,4062904701,2752986992,3709736643,367056889,1353824391,731860949,1650113154,1778481506,784341916,357075625,3608602432,1074092588,2480052770,3811426202,92751289,877911070,3600361838,1231880047,480201094,3756190983,3094495953,434011822,87971354,363687820,1717726236,1901380172,3926403882,2481662265,400339184,1490350766,2661455099,1389319756,2558787174,784598401,1983468483,30828846,3550527752,2716276238,3841122214,1765724805,1955612312,1277890269,1333098070,1564029816,2704417615,1026694237,3287671188,1260819201,3349086767,1016692350,1582273796,1073413053,1995943182,694588404,1025494639,3323872702,3551898420,4146854327,453260480,1316140391,1435673405,3038941953,3486689407,1622062951,403978347,817677117,950059133,4246079218,3278066075,1486738320,1417279718,481875527,2549965225,3933690356,760697757,1452955855,3897451437,1177426808,1702951038,4085348628,2447005172,1084371187,3516436277,3068336338,1073369276,1027665953,3284188590,1230553676,1368340146,2226246512,267243139,2274220762,4070734279,2497715176,2423353163,2504755875],s[7]=[3793104909,3151888380,2817252029,895778965,2005530807,3871412763,237245952,86829237,296341424,3851759377,3974600970,2475086196,709006108,1994621201,2972577594,937287164,3734691505,168608556,3189338153,2225080640,3139713551,3033610191,3025041904,77524477,185966941,1208824168,2344345178,1721625922,3354191921,1066374631,1927223579,1971335949,2483503697,1551748602,2881383779,2856329572,3003241482,48746954,1398218158,2050065058,313056748,4255789917,393167848,1912293076,940740642,3465845460,3091687853,2522601570,2197016661,1727764327,364383054,492521376,1291706479,3264136376,1474851438,1685747964,2575719748,1619776915,1814040067,970743798,1561002147,2925768690,2123093554,1880132620,3151188041,697884420,2550985770,2607674513,2659114323,110200136,1489731079,997519150,1378877361,3527870668,478029773,2766872923,1022481122,431258168,1112503832,897933369,2635587303,669726182,3383752315,918222264,163866573,3246985393,3776823163,114105080,1903216136,761148244,3571337562,1690750982,3166750252,1037045171,1888456500,2010454850,642736655,616092351,365016990,1185228132,4174898510,1043824992,2023083429,2241598885,3863320456,3279669087,3674716684,108438443,2132974366,830746235,606445527,4173263986,2204105912,1844756978,2532684181,4245352700,2969441100,3796921661,1335562986,4061524517,2720232303,2679424040,634407289,885462008,3294724487,3933892248,2094100220,339117932,4048830727,3202280980,1458155303,2689246273,1022871705,2464987878,3714515309,353796843,2822958815,4256850100,4052777845,551748367,618185374,3778635579,4020649912,1904685140,3069366075,2670879810,3407193292,2954511620,4058283405,2219449317,3135758300,1120655984,3447565834,1474845562,3577699062,550456716,3466908712,2043752612,881257467,869518812,2005220179,938474677,3305539448,3850417126,1315485940,3318264702,226533026,965733244,321539988,1136104718,804158748,573969341,3708209826,937399083,3290727049,2901666755,1461057207,4013193437,4066861423,3242773476,2421326174,1581322155,3028952165,786071460,3900391652,3918438532,1485433313,4023619836,3708277595,3678951060,953673138,1467089153,1930354364,1533292819,2492563023,1346121658,1685000834,1965281866,3765933717,4190206607,2052792609,3515332758,690371149,3125873887,2180283551,2903598061,3933952357,436236910,289419410,14314871,1242357089,2904507907,1616633776,2666382180,585885352,3471299210,2699507360,1432659641,277164553,3354103607,770115018,2303809295,3741942315,3177781868,2853364978,2269453327,3774259834,987383833,1290892879,225909803,1741533526,890078084,1496906255,1111072499,916028167,243534141,1252605537,2204162171,531204876,290011180,3916834213,102027703,237315147,209093447,1486785922,220223953,2758195998,4175039106,82940208,3127791296,2569425252,518464269,1353887104,3941492737,2377294467,3935040926]}function If(e){this.cast5=new Sf,this.cast5.setKey(e),this.encrypt=function(e){return this.cast5.encrypt(e)}}kf.keySize=kf.prototype.keySize=24,kf.blockSize=kf.prototype.blockSize=8,If.blockSize=If.prototype.blockSize=8,If.keySize=If.prototype.keySize=16;const Cf=4294967295;function Bf(e,t){return(e<>>32-t)&Cf}function xf(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function Pf(e,t,r){e.splice(t,4,255&r,r>>>8&255,r>>>16&255,r>>>24&255)}function Df(e,t){return e>>>8*t&255}function Tf(e){this.tf=function(){let e=null,t=null,r=-1,n=[],i=[[],[],[],[]];function s(e){return i[0][Df(e,0)]^i[1][Df(e,1)]^i[2][Df(e,2)]^i[3][Df(e,3)]}function a(e){return i[0][Df(e,3)]^i[1][Df(e,0)]^i[2][Df(e,1)]^i[3][Df(e,2)]}function o(e,t){let r=s(t[0]),i=a(t[1]);t[2]=Bf(t[2]^r+i+n[4*e+8]&Cf,31),t[3]=Bf(t[3],1)^r+2*i+n[4*e+9]&Cf,r=s(t[2]),i=a(t[3]),t[0]=Bf(t[0]^r+i+n[4*e+10]&Cf,31),t[1]=Bf(t[1],1)^r+2*i+n[4*e+11]&Cf}function c(e,t){let r=s(t[0]),i=a(t[1]);t[2]=Bf(t[2],1)^r+i+n[4*e+10]&Cf,t[3]=Bf(t[3]^r+2*i+n[4*e+11]&Cf,31),r=s(t[2]),i=a(t[3]),t[0]=Bf(t[0],1)^r+i+n[4*e+8]&Cf,t[1]=Bf(t[1]^r+2*i+n[4*e+9]&Cf,31)}return{name:"twofish",blocksize:16,open:function(t){let r,s,a,o,c;e=t;const u=[],l=[],h=[];let f;const p=[];let d,g,y;const m=[[8,1,7,13,6,15,3,2,0,11,5,9,14,12,10,4],[2,8,11,13,15,7,6,14,3,1,9,4,0,10,12,5]],w=[[14,12,11,8,1,2,3,5,15,4,10,6,7,0,9,13],[1,14,2,11,4,12,3,7,6,13,10,5,15,9,0,8]],b=[[11,10,5,14,6,13,9,0,12,8,15,3,2,4,7,1],[4,12,7,5,1,6,9,10,0,14,13,8,2,11,3,15]],A=[[13,7,15,4,1,2,6,14,9,11,3,0,8,5,12,10],[11,9,5,1,12,3,13,14,6,4,7,15,2,0,8,10]],v=[0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15],E=[0,9,2,11,4,13,6,15,8,1,10,3,12,5,14,7],k=[[],[]],S=[[],[],[],[]];function I(e){return e^e>>2^[0,90,180,238][3&e]}function C(e){return e^e>>1^e>>2^[0,238,180,90][3&e]}function B(e,t){let r,n,i;for(r=0;r<8;r++)n=t>>>24,t=t<<8&Cf|e>>>24,e=e<<8&Cf,i=n<<1,128&n&&(i^=333),t^=n^i<<16,i^=n>>>1,1&n&&(i^=166),t^=i<<24|i<<8;return t}function x(e,t){const r=t>>4,n=15&t,i=m[e][r^n],s=w[e][v[n]^E[r]];return A[e][v[s]^E[i]]<<4|b[e][i^s]}function P(e,t){let r=Df(e,0),n=Df(e,1),i=Df(e,2),s=Df(e,3);switch(f){case 4:r=k[1][r]^Df(t[3],0),n=k[0][n]^Df(t[3],1),i=k[0][i]^Df(t[3],2),s=k[1][s]^Df(t[3],3);case 3:r=k[1][r]^Df(t[2],0),n=k[1][n]^Df(t[2],1),i=k[0][i]^Df(t[2],2),s=k[0][s]^Df(t[2],3);case 2:r=k[0][k[0][r]^Df(t[1],0)]^Df(t[0],0),n=k[0][k[1][n]^Df(t[1],1)]^Df(t[0],1),i=k[1][k[0][i]^Df(t[1],2)]^Df(t[0],2),s=k[1][k[1][s]^Df(t[1],3)]^Df(t[0],3)}return S[0][r]^S[1][n]^S[2][i]^S[3][s]}for(e=e.slice(0,32),r=e.length;16!==r&&24!==r&&32!==r;)e[r++]=0;for(r=0;r>2]=xf(e,r);for(r=0;r<256;r++)k[0][r]=x(0,r),k[1][r]=x(1,r);for(r=0;r<256;r++)d=k[1][r],g=I(d),y=C(d),S[0][r]=d+(g<<8)+(y<<16)+(y<<24),S[2][r]=g+(y<<8)+(d<<16)+(y<<24),d=k[0][r],g=I(d),y=C(d),S[1][r]=y+(y<<8)+(g<<16)+(d<<24),S[3][r]=g+(d<<8)+(y<<16)+(g<<24);for(f=h.length/2,r=0;r=0;e--)c(e,s);Pf(t,r,s[2]^n[0]),Pf(t,r+4,s[3]^n[1]),Pf(t,r+8,s[0]^n[2]),Pf(t,r+12,s[1]^n[3]),r+=16},finalize:function(){return t}}}(),this.tf.open(Array.from(e),0),this.encrypt=function(e){return this.tf.encrypt(Array.from(e),0)}}function Uf(){}function Kf(e){this.bf=new Uf,this.bf.init(e),this.encrypt=function(e){return this.bf.encryptBlock(e)}}Tf.keySize=Tf.prototype.keySize=32,Tf.blockSize=Tf.prototype.blockSize=16,Uf.prototype.BLOCKSIZE=8,Uf.prototype.SBOXES=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]],Uf.prototype.PARRAY=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Uf.prototype.NN=16,Uf.prototype._clean=function(e){return e<0&&(e=2147483648+(2147483647&e)),e},Uf.prototype._F=function(e){let t;const r=255&e,n=255&(e>>>=8),i=255&(e>>>=8),s=255&(e>>>=8);return t=this.sboxes[0][s]+this.sboxes[1][i],t^=this.sboxes[2][n],t+=this.sboxes[3][r],t},Uf.prototype._encryptBlock=function(e){let t,r=e[0],n=e[1];for(t=0;t>>24-8*t&255,i[t+n]=r[1]>>>24-8*t&255;return i},Uf.prototype._decryptBlock=function(e){let t,r=e[0],n=e[1];for(t=this.NN+1;t>1;--t){r^=this.parray[t],n=this._F(r)^n;const e=r;r=n,n=e}r^=this.parray[1],n^=this.parray[0],e[0]=this._clean(n),e[1]=this._clean(r)},Uf.prototype.init=function(e){let t,r=0;for(this.parray=[],t=0;t=e.length&&(r=0);this.parray[t]=this.PARRAY[t]^n}for(this.sboxes=[],t=0;t<4;++t)for(this.sboxes[t]=[],r=0;r<256;++r)this.sboxes[t][r]=this.SBOXES[t][r];const n=[0,0];for(t=0;t>>24^u<<8,e[n+1]=u>>>24^c<<8,Rf(e,r,e,n),Rf(e,r,t,o),c=e[s]^e[r],u=e[s+1]^e[r+1],e[s]=c>>>16^u<<16,e[s+1]=u>>>16^c<<16,Rf(e,i,e,s),c=e[n]^e[i],u=e[n+1]^e[i+1],e[n]=u>>>31^c<<1,e[n+1]=c>>>31^u<<1}const Ff=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),_f=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map((e=>2*e)));function Qf(e,t){const r=new Uint32Array(32),n=new Uint32Array(e.b.buffer,e.b.byteOffset,32);for(let t=0;t<16;t++)r[t]=e.h[t],r[t+16]=Ff[t];r[24]^=e.t0[0],r[25]^=e.t0[1];const i=t?4294967295:0;r[28]^=i,r[29]^=i;for(let e=0;e<12;e++){const t=e<<4;Lf(r,n,0,8,16,24,_f[t+0],_f[t+1]),Lf(r,n,2,10,18,26,_f[t+2],_f[t+3]),Lf(r,n,4,12,20,28,_f[t+4],_f[t+5]),Lf(r,n,6,14,22,30,_f[t+6],_f[t+7]),Lf(r,n,0,10,20,30,_f[t+8],_f[t+9]),Lf(r,n,2,12,22,24,_f[t+10],_f[t+11]),Lf(r,n,4,14,16,26,_f[t+12],_f[t+13]),Lf(r,n,6,8,18,28,_f[t+14],_f[t+15])}for(let t=0;t<16;t++)e.h[t]^=r[t]^r[t+16]}class jf{constructor(e,t,r,n){const i=new Uint8Array(64);this.S={b:new Uint8Array(zf),h:new Uint32Array(qf/4),t0:new Uint32Array(2),c:0,outlen:e},i[0]=e,t&&(i[1]=t.length),i[2]=1,i[3]=1,r&&i.set(r,32),n&&i.set(n,48);const s=new Uint32Array(i.buffer,i.byteOffset,i.length/Uint32Array.BYTES_PER_ELEMENT);for(let e=0;e<16;e++)this.S.h[e]=Ff[e]^s[e];if(t){const e=new Uint8Array(zf);e.set(t),this.update(e)}}update(e){if(!(e instanceof Uint8Array))throw new Error("Input must be Uint8Array or Buffer");let t=0;for(;t>2]>>8*(3&e);return this.S.h=null,t.buffer}}function Hf(e,t,r,n){if(e>qf)throw new Error(`outlen must be at most ${qf} (given: ${e})`);return new jf(e,t,r,n)}const qf=64,zf=128,Gf=1024,Vf=205===new Uint8Array(new Uint16Array([43981]).buffer)[0];function Jf(e,t,r){return e[r+0]=t,e[r+1]=t>>8,e[r+2]=t>>16,e[r+3]=t>>24,e}function $f(e,t,r){if(t>Number.MAX_SAFE_INTEGER)throw new Error("LE64: large numbers unsupported");let n=t;for(let t=r;tfunction(e,{memory:t,instance:r}){if(!Vf)throw new Error("BigEndian system not supported");const n=function({type:e,version:t,tagLength:r,password:n,salt:i,ad:s,secret:a,parallelism:o,memorySize:c,passes:u}){const l=(e,t,r,n)=>{if(tn)throw new Error(`${e} size should be between ${r} and ${n} bytes`)};if(2!==e||19!==t)throw new Error("Unsupported type or version");return l("password",n,8,4294967295),l("salt",i,8,4294967295),l("tag",r,4,4294967295),l("memory",c,8*o,4294967295),s&&l("associated data",s,0,4294967295),a&&l("secret",a,0,32),{type:e,version:t,tagLength:r,password:n,salt:i,ad:s,secret:a,lanes:o,memorySize:c,passes:u}}({type:2,version:19,...e}),{G:i,G2:s,xor:a,getLZ:o}=r.exports,c={},u={};u.G=i,u.G2=s,u.XOR=a;const l=4*n.lanes*Math.floor(n.memorySize/(4*n.lanes)),h=l*Gf+10240;if(t.buffer.byteLength{r.set(e,n),n+=e.length})),r}(i));const s=t.digest();return new Uint8Array(s)}(n),b=l/n.lanes,A=new Array(n.lanes).fill(null).map((()=>new Array(b))),v=(e,t)=>(A[e][t]=y.subarray(e*b*1024+1024*t,e*b*1024+1024*t+Gf),A[e][t]);for(let e=0;e0?A[i][c-1]:A[i][b-1],l=r?a.next().value:u;o(p.byteOffset,l.byteOffset,i,n.lanes,e,t,s,4,E);const h=p[0],f=p[1];0===e&&v(i,c),Zf(d,u,A[h][f],e>0?g:A[i][c]),e>0&&Yf(d,A[i][c],g,A[i][c])}}}const k=A[0][b-1];for(let e=1;erp((e=>np(0,0,"AGFzbQEAAAABKwdgBH9/f38AYAABf2AAAGADf39/AGAJf39/f39/f39/AX9gAX8AYAF/AX8CEwEDZW52Bm1lbW9yeQIBkAiAgAQDCgkCAwAABAEFBgEEBQFwAQICBgkBfwFBkIjAAgsHfQoDeG9yAAEBRwACAkcyAAMFZ2V0TFoABBlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALX2luaXRpYWxpemUAABBfX2Vycm5vX2xvY2F0aW9uAAgJc3RhY2tTYXZlAAUMc3RhY2tSZXN0b3JlAAYKc3RhY2tBbGxvYwAHCQcBAEEBCwEACs0gCQMAAQtYAQJ/A0AgACAEQQR0IgNqIAIgA2r9AAQAIAEgA2r9AAQA/VH9CwQAIAAgA0EQciIDaiACIANq/QAEACABIANq/QAEAP1R/QsEACAEQQJqIgRBwABHDQALC7ceAgt7A38DQCADIBFBBHQiD2ogASAPav0ABAAgACAPav0ABAD9USIF/QsEACACIA9qIAX9CwQAIAMgD0EQciIPaiABIA9q/QAEACAAIA9q/QAEAP1RIgX9CwQAIAIgD2ogBf0LBAAgEUECaiIRQcAARw0ACwNAIAMgEEEHdGoiAEEQaiAA/QAEcCAA/QAEMCIFIAD9AAQQIgT9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAQgBP0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgT9USIJQSD9ywEgCUEg/c0B/VAiCSAA/QAEUCIG/c4BIAkgCf0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIGIAX9USIFQSj9ywEgBUEY/c0B/VAiCCAE/c4BIAggCP0NAAECAwgJCgsAAQIDCAkKCyAEIAT9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIKIAogCf1RIgVBMP3LASAFQRD9zQH9UCIFIAb9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAYgBv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgkgCP1RIgRBAf3LASAEQT/9zQH9UCIMIAD9AARgIAD9AAQgIgQgAP0ABAAiBv3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBv1RIghBIP3LASAIQSD9zQH9UCIIIABBQGsiAf0ABAAiB/3OASAIIAj9DQABAgMICQoLAAECAwgJCgsgByAH/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiByAE/VEiBEEo/csBIARBGP3NAf1QIgsgBv3OASALIAv9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBiAI/VEiBEEw/csBIARBEP3NAf1QIgQgB/3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgByAH/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCCAL/VEiB0EB/csBIAdBP/3NAf1QIg0gDf0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eHyIH/c4BIAcgB/0NAAECAwgJCgsAAQIDCAkKCyAKIAr9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIKIAQgBSAF/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/VEiC0Eg/csBIAtBIP3NAf1QIgsgCP3OASALIAv9DQABAgMICQoLAAECAwgJCgsgCCAI/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCCAH/VEiB0Eo/csBIAdBGP3NAf1QIgcgCv3OASAHIAf9DQABAgMICQoLAAECAwgJCgsgCiAK/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiDv0LBAAgACAGIA0gDCAM/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4fIgr9zgEgCiAK/Q0AAQIDCAkKCwABAgMICQoLIAYgBv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgYgBSAEIAT9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9USIFQSD9ywEgBUEg/c0B/VAiBSAJ/c4BIAUgBf0NAAECAwgJCgsAAQIDCAkKCyAJIAn9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIJIAr9USIEQSj9ywEgBEEY/c0B/VAiCiAG/c4BIAogCv0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIE/QsEACAAIAQgBf1RIgVBMP3LASAFQRD9zQH9UCIFIA4gC/1RIgRBMP3LASAEQRD9zQH9UCIEIAT9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9CwRgIAAgBCAFIAX9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9CwRwIAEgBCAI/c4BIAQgBP0NAAECAwgJCgsAAQIDCAkKCyAIIAj9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIE/QsEACAAIAUgCf3OASAFIAX9DQABAgMICQoLAAECAwgJCgsgCSAJ/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCf0LBFAgACAEIAf9USIFQQH9ywEgBUE//c0B/VAiBSAJIAr9USIEQQH9ywEgBEE//c0B/VAiBCAE/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/QsEICAAIAQgBSAF/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/QsEMCAQQQFqIhBBCEcNAAtBACEQA0AgAyAQQQR0aiIAQYABaiAA/QAEgAcgAP0ABIADIgUgAP0ABIABIgT9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAQgBP0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgT9USIJQSD9ywEgCUEg/c0B/VAiCSAA/QAEgAUiBv3OASAJIAn9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBiAF/VEiBUEo/csBIAVBGP3NAf1QIgggBP3OASAIIAj9DQABAgMICQoLAAECAwgJCgsgBCAE/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCiAKIAn9USIFQTD9ywEgBUEQ/c0B/VAiBSAG/c4BIAUgBf0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIJIAj9USIEQQH9ywEgBEE//c0B/VAiDCAA/QAEgAYgAP0ABIACIgQgAP0ABAAiBv3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBv1RIghBIP3LASAIQSD9zQH9UCIIIAD9AASABCIH/c4BIAggCP0NAAECAwgJCgsAAQIDCAkKCyAHIAf9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIHIAT9USIEQSj9ywEgBEEY/c0B/VAiCyAG/c4BIAsgC/0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIGIAj9USIEQTD9ywEgBEEQ/c0B/VAiBCAH/c4BIAQgBP0NAAECAwgJCgsAAQIDCAkKCyAHIAf9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIIIAv9USIHQQH9ywEgB0E//c0B/VAiDSAN/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4fIgf9zgEgByAH/Q0AAQIDCAkKCwABAgMICQoLIAogCv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgogBCAFIAX9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9USILQSD9ywEgC0Eg/c0B/VAiCyAI/c4BIAsgC/0NAAECAwgJCgsAAQIDCAkKCyAIIAj9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIIIAf9USIHQSj9ywEgB0EY/c0B/VAiByAK/c4BIAcgB/0NAAECAwgJCgsAAQIDCAkKCyAKIAr9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIO/QsEACAAIAYgDSAMIAz9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh8iCv3OASAKIAr9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBiAFIAQgBP0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eH/1RIgVBIP3LASAFQSD9zQH9UCIFIAn9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAkgCf0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgkgCv1RIgRBKP3LASAEQRj9zQH9UCIKIAb9zgEgCiAK/Q0AAQIDCAkKCwABAgMICQoLIAYgBv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgT9CwQAIAAgBCAF/VEiBUEw/csBIAVBEP3NAf1QIgUgDiAL/VEiBEEw/csBIARBEP3NAf1QIgQgBP0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eH/0LBIAGIAAgBCAFIAX9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9CwSAByAAIAQgCP3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgCCAI/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBP0LBIAEIAAgBSAJ/c4BIAUgBf0NAAECAwgJCgsAAQIDCAkKCyAJIAn9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIJ/QsEgAUgACAEIAf9USIFQQH9ywEgBUE//c0B/VAiBSAJIAr9USIEQQH9ywEgBEE//c0B/VAiBCAE/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/QsEgAIgACAEIAUgBf0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eH/0LBIADIBBBAWoiEEEIRw0AC0EAIRADQCACIBBBBHQiAGoiASAAIANq/QAEACAB/QAEAP1R/QsEACACIABBEHIiAWoiDyABIANq/QAEACAP/QAEAP1R/QsEACACIABBIHIiAWoiDyABIANq/QAEACAP/QAEAP1R/QsEACACIABBMHIiAGoiASAAIANq/QAEACAB/QAEAP1R/QsEACAQQQRqIhBBwABHDQALCxYAIAAgASACIAMQAiAAIAIgAiADEAILewIBfwF+IAIhCSABNQIAIQogBCAFcgRAIAEoAgQgA3AhCQsgACAJNgIAIAAgB0EBayAFIAQbIAhsIAZBAWtBAEF/IAYbIAIgCUYbaiIBIAVBAWogCGxBACAEG2ogAa0gCiAKfkIgiH5CIIinQX9zaiAHIAhscDYCBCAACwQAIwALBgAgACQACxAAIwAgAGtBcHEiACQAIAALBQBBgAgL",e)),(e=>np(0,0,"AGFzbQEAAAABPwhgBH9/f38AYAABf2AAAGADf39/AGARf39/f39/f39/f39/f39/f38AYAl/f39/f39/f38Bf2ABfwBgAX8BfwITAQNlbnYGbWVtb3J5AgGQCICABAMLCgIDBAAABQEGBwEEBQFwAQICBgkBfwFBkIjAAgsHfQoDeG9yAAEBRwADAkcyAAQFZ2V0TFoABRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALX2luaXRpYWxpemUAABBfX2Vycm5vX2xvY2F0aW9uAAkJc3RhY2tTYXZlAAYMc3RhY2tSZXN0b3JlAAcKc3RhY2tBbGxvYwAICQcBAEEBCwEACssaCgMAAQtQAQJ/A0AgACAEQQN0IgNqIAIgA2opAwAgASADaikDAIU3AwAgACADQQhyIgNqIAIgA2opAwAgASADaikDAIU3AwAgBEECaiIEQYABRw0ACwveDwICfgF/IAAgAUEDdGoiEyATKQMAIhEgACAFQQN0aiIBKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA1BA3RqIgUgESAFKQMAhUIgiSIRNwMAIAAgCUEDdGoiCSARIAkpAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAEgESABKQMAhUIoiSIRNwMAIBMgESATKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAFIBEgBSkDAIVCMIkiETcDACAJIBEgCSkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgASARIAEpAwCFQgGJNwMAIAAgAkEDdGoiDSANKQMAIhEgACAGQQN0aiICKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA5BA3RqIgYgESAGKQMAhUIgiSIRNwMAIAAgCkEDdGoiCiARIAopAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAIgESACKQMAhUIoiSIRNwMAIA0gESANKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAGIBEgBikDAIVCMIkiETcDACAKIBEgCikDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAiARIAIpAwCFQgGJNwMAIAAgA0EDdGoiDiAOKQMAIhEgACAHQQN0aiIDKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA9BA3RqIgcgESAHKQMAhUIgiSIRNwMAIAAgC0EDdGoiCyARIAspAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAMgESADKQMAhUIoiSIRNwMAIA4gESAOKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAHIBEgBykDAIVCMIkiETcDACALIBEgCykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAyARIAMpAwCFQgGJNwMAIAAgBEEDdGoiDyAPKQMAIhEgACAIQQN0aiIEKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIBBBA3RqIgggESAIKQMAhUIgiSIRNwMAIAAgDEEDdGoiACARIAApAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAQgESAEKQMAhUIoiSIRNwMAIA8gESAPKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAIIBEgCCkDAIVCMIkiETcDACAAIBEgACkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgBCARIAQpAwCFQgGJNwMAIBMgEykDACIRIAIpAwAiEnwgEUIBhkL+////H4MgEkL/////D4N+fCIRNwMAIAggESAIKQMAhUIgiSIRNwMAIAsgESALKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACACIBEgAikDAIVCKIkiETcDACATIBEgEykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgCCARIAgpAwCFQjCJIhE3AwAgCyARIAspAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAIgESACKQMAhUIBiTcDACANIA0pAwAiESADKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAFIBEgBSkDAIVCIIkiETcDACAAIBEgACkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAyARIAMpAwCFQiiJIhE3AwAgDSARIA0pAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAUgESAFKQMAhUIwiSIRNwMAIAAgESAAKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACADIBEgAykDAIVCAYk3AwAgDiAOKQMAIhEgBCkDACISfCARQgGGQv7///8fgyASQv////8Pg358IhE3AwAgBiARIAYpAwCFQiCJIhE3AwAgCSARIAkpAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAQgESAEKQMAhUIoiSIRNwMAIA4gESAOKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAGIBEgBikDAIVCMIkiETcDACAJIBEgCSkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgBCARIAQpAwCFQgGJNwMAIA8gDykDACIRIAEpAwAiEnwgEUIBhkL+////H4MgEkL/////D4N+fCIRNwMAIAcgESAHKQMAhUIgiSIRNwMAIAogESAKKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACABIBEgASkDAIVCKIkiETcDACAPIBEgDykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgByARIAcpAwCFQjCJIhE3AwAgCiARIAopAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAEgESABKQMAhUIBiTcDAAvdCAEPfwNAIAIgBUEDdCIGaiABIAZqKQMAIAAgBmopAwCFNwMAIAIgBkEIciIGaiABIAZqKQMAIAAgBmopAwCFNwMAIAVBAmoiBUGAAUcNAAsDQCADIARBA3QiAGogACACaikDADcDACADIARBAXIiAEEDdCIBaiABIAJqKQMANwMAIAMgBEECciIBQQN0IgVqIAIgBWopAwA3AwAgAyAEQQNyIgVBA3QiBmogAiAGaikDADcDACADIARBBHIiBkEDdCIHaiACIAdqKQMANwMAIAMgBEEFciIHQQN0IghqIAIgCGopAwA3AwAgAyAEQQZyIghBA3QiCWogAiAJaikDADcDACADIARBB3IiCUEDdCIKaiACIApqKQMANwMAIAMgBEEIciIKQQN0IgtqIAIgC2opAwA3AwAgAyAEQQlyIgtBA3QiDGogAiAMaikDADcDACADIARBCnIiDEEDdCINaiACIA1qKQMANwMAIAMgBEELciINQQN0Ig5qIAIgDmopAwA3AwAgAyAEQQxyIg5BA3QiD2ogAiAPaikDADcDACADIARBDXIiD0EDdCIQaiACIBBqKQMANwMAIAMgBEEOciIQQQN0IhFqIAIgEWopAwA3AwAgAyAEQQ9yIhFBA3QiEmogAiASaikDADcDACADIARB//8DcSAAQf//A3EgAUH//wNxIAVB//8DcSAGQf//A3EgB0H//wNxIAhB//8DcSAJQf//A3EgCkH//wNxIAtB//8DcSAMQf//A3EgDUH//wNxIA5B//8DcSAPQf//A3EgEEH//wNxIBFB//8DcRACIARB8ABJIQAgBEEQaiEEIAANAAtBACEBIANBAEEBQRBBEUEgQSFBMEExQcAAQcEAQdAAQdEAQeAAQeEAQfAAQfEAEAIgA0ECQQNBEkETQSJBI0EyQTNBwgBBwwBB0gBB0wBB4gBB4wBB8gBB8wAQAiADQQRBBUEUQRVBJEElQTRBNUHEAEHFAEHUAEHVAEHkAEHlAEH0AEH1ABACIANBBkEHQRZBF0EmQSdBNkE3QcYAQccAQdYAQdcAQeYAQecAQfYAQfcAEAIgA0EIQQlBGEEZQShBKUE4QTlByABByQBB2ABB2QBB6ABB6QBB+ABB+QAQAiADQQpBC0EaQRtBKkErQTpBO0HKAEHLAEHaAEHbAEHqAEHrAEH6AEH7ABACIANBDEENQRxBHUEsQS1BPEE9QcwAQc0AQdwAQd0AQewAQe0AQfwAQf0AEAIgA0EOQQ9BHkEfQS5BL0E+QT9BzgBBzwBB3gBB3wBB7gBB7wBB/gBB/wAQAgNAIAIgAUEDdCIAaiIEIAAgA2opAwAgBCkDAIU3AwAgAiAAQQhyIgRqIgUgAyAEaikDACAFKQMAhTcDACACIABBEHIiBGoiBSADIARqKQMAIAUpAwCFNwMAIAIgAEEYciIAaiIEIAAgA2opAwAgBCkDAIU3AwAgAUEEaiIBQYABRw0ACwsWACAAIAEgAiADEAMgACACIAIgAxADC3sCAX8BfiACIQkgATUCACEKIAQgBXIEQCABKAIEIANwIQkLIAAgCTYCACAAIAdBAWsgBSAEGyAIbCAGQQFrQQBBfyAGGyACIAlGG2oiASAFQQFqIAhsQQAgBBtqIAGtIAogCn5CIIh+QiCIp0F/c2ogByAIbHA2AgQgAAsEACMACwYAIAAkAAsQACMAIABrQXBxIgAkACAACwUAQYAICw==",e)))});var pp=function(){if(hp)return lp;hp=1;var e,t=function(){if(sp)return ip;sp=1;var e=[0,1,3,7,15,31,63,127,255],t=function(e){this.stream=e,this.bitOffset=0,this.curByte=0,this.hasByte=!1};return t.prototype._ensureByte=function(){this.hasByte||(this.curByte=this.stream.readByte(),this.hasByte=!0)},t.prototype.read=function(t){for(var r=0;t>0;){this._ensureByte();var n=8-this.bitOffset;if(t>=n)r<<=n,r|=e[n]&this.curByte,this.hasByte=!1,this.bitOffset=0,t-=n;else{r<<=t;var i=n-t;r|=(this.curByte&e[t]<>i,this.bitOffset+=t,t=0}}return r},t.prototype.seek=function(e){var t=e%8,r=(e-t)/8;this.bitOffset=t,this.stream.seek(r),this.hasByte=!1},t.prototype.pi=function(){var e,t=new Uint8Array(6);for(e=0;e("00"+e.toString(16)).slice(-2))).join("")}(t)},ip=t}(),r=function(){if(op)return ap;op=1;var e=function(){};return e.prototype.readByte=function(){throw new Error("abstract method readByte() not implemented")},e.prototype.read=function(e,t,r){for(var n=0;n>>0},this.updateCRC=function(r){t=t<<8^e[255&(t>>>24^r)]},this.updateCRCRun=function(r,n){for(;n-- >0;)t=t<<8^e[255&(t>>>24^r)]}}),i=function(e,t){var r,n=e[t];for(r=t;r>0;r--)e[r]=e[r-1];return e[0]=n,n},s={OK:0,LAST_BLOCK:-1,NOT_BZIP_DATA:-2,UNEXPECTED_INPUT_EOF:-3,UNEXPECTED_OUTPUT_EOF:-4,DATA_ERROR:-5,OUT_OF_MEMORY:-6,OBSOLETE_INPUT:-7,END_OF_BLOCK:-8},a={};a[s.LAST_BLOCK]="Bad file checksum",a[s.NOT_BZIP_DATA]="Not bzip data",a[s.UNEXPECTED_INPUT_EOF]="Unexpected input EOF",a[s.UNEXPECTED_OUTPUT_EOF]="Unexpected output EOF",a[s.DATA_ERROR]="Data error",a[s.OUT_OF_MEMORY]="Out of memory",a[s.OBSOLETE_INPUT]="Obsolete (pre 0.9.5) bzip format not supported.";var o=function(e,t){var r=a[e]||"unknown error";t&&(r+=": "+t);var n=new TypeError(r);throw n.errorCode=e,n},c=function(e,t){this.writePos=this.writeCurrent=this.writeCount=0,this._start_bunzip(e,t)};c.prototype._init_block=function(){return this._get_next_block()?(this.blockCRC=new n,!0):(this.writeCount=-1,!1)},c.prototype._start_bunzip=function(e,r){var n=new Uint8Array(4);4===e.read(n,0,4)&&"BZh"===String.fromCharCode(n[0],n[1],n[2])||o(s.NOT_BZIP_DATA,"bad magic");var i=n[3]-48;(i<1||i>9)&&o(s.NOT_BZIP_DATA,"level out of range"),this.reader=new t(e),this.dbufSize=1e5*i,this.nextoutput=0,this.outputStream=r,this.streamCRC=0},c.prototype._get_next_block=function(){var e,t,r,n=this.reader,a=n.pi();if("177245385090"===a)return!1;"314159265359"!==a&&o(s.NOT_BZIP_DATA),this.targetBlockCRC=n.read(32)>>>0,this.streamCRC=(this.targetBlockCRC^(this.streamCRC<<1|this.streamCRC>>>31))>>>0,n.read(1)&&o(s.OBSOLETE_INPUT);var c=n.read(24);c>this.dbufSize&&o(s.DATA_ERROR,"initial position out of bounds");var u=n.read(16),l=new Uint8Array(256),h=0;for(e=0;e<16;e++)if(u&1<<15-e){var f=16*e;for(r=n.read(16),t=0;t<16;t++)r&1<<15-t&&(l[h++]=f+t)}var p=n.read(3);(p<2||p>6)&&o(s.DATA_ERROR);var d=n.read(15);0===d&&o(s.DATA_ERROR);var g=new Uint8Array(256);for(e=0;e=p&&o(s.DATA_ERROR);y[e]=i(g,t)}var m,w=h+2,b=[];for(t=0;t20)&&o(s.DATA_ERROR),n.read(1);)n.read(1)?u--:u++;E[e]=u}for(A=v=E[0],e=1;ev?v=E[e]:E[e]=d&&o(s.DATA_ERROR),m=b[y[P++]]),e=m.minLen,t=n.read(e);e>m.maxLen&&o(s.DATA_ERROR),!(t<=m.limit[e]);e++)t=t<<1|n.read(1);((t-=m.base[e])<0||t>=258)&&o(s.DATA_ERROR);var T=m.permute[t];if(0!==T&&1!==T){if(B)for(B=0,x+u>this.dbufSize&&o(s.DATA_ERROR),I[C=l[g[0]]]+=u;u--;)D[x++]=C;if(T>h)break;x>=this.dbufSize&&o(s.DATA_ERROR),I[C=l[C=i(g,e=T-1)]]++,D[x++]=C}else B||(B=1,u=0),u+=0===T?B:2*B,B<<=1}for((c<0||c>=x)&&o(s.DATA_ERROR),t=0,e=0;e<256;e++)r=t+I[e],I[e]=t,t=r;for(e=0;e>=8,O=-1),this.writePos=U,this.writeCurrent=K,this.writeCount=x,this.writeRun=O,!0},c.prototype._read_bunzip=function(e,t){var r,n,i;if(this.writeCount<0)return 0;var a=this.dbuf,c=this.writePos,u=this.writeCurrent,l=this.writeCount;this.outputsize;for(var h=this.writeRun;l;){for(l--,n=u,u=255&(c=a[c]),c>>=8,3===h++?(r=u,i=n,u=-1):(r=1,i=u),this.blockCRC.updateCRCRun(i,r);r--;)this.outputStream.writeByte(i),this.nextoutput++;u!=n&&(h=0)}return this.writeCount=l,this.blockCRC.getCRC()!==this.targetBlockCRC&&o(s.DATA_ERROR,"Bad block CRC (got "+this.blockCRC.getCRC().toString(16)+" expected "+this.targetBlockCRC.toString(16)+")"),this.nextoutput};var u=function(e){if("readByte"in e)return e;var t=new r;return t.pos=0,t.readByte=function(){return e[this.pos++]},t.seek=function(e){this.pos=e},t.eof=function(){return this.pos>=e.length},t},l=function(e){var t=new r,n=!0;if(e)if("number"==typeof e)t.buffer=new Uint8Array(e),n=!1;else{if("writeByte"in e)return e;t.buffer=e,n=!1}else t.buffer=new Uint8Array(16384);return t.pos=0,t.writeByte=function(e){if(n&&this.pos>=this.buffer.length){var t=new Uint8Array(2*this.buffer.length);t.set(this.buffer),this.buffer=t}this.buffer[this.pos++]=e},t.getBuffer=function(){if(this.pos!==this.buffer.length){if(!n)throw new TypeError("outputsize does not match decoded input");var e=new Uint8Array(this.pos);e.set(this.buffer.subarray(0,this.pos)),this.buffer=e}return this.buffer},t._coerced=!0,t};return lp={Bunzip:c,Stream:r,Err:s,decode:function(e,t,r){for(var n=u(e),i=l(t),a=new c(n,i);!("eof"in n)||!n.eof();)if(a._init_block())a._read_bunzip();else{var h=a.reader.read(32)>>>0;if(h!==a.streamCRC&&o(s.DATA_ERROR,"Bad stream CRC (got "+a.streamCRC.toString(16)+" expected "+h.toString(16)+")"),!r||!("eof"in n)||n.eof())break;a._start_bunzip(n,i)}if("getBuffer"in i)return i.getBuffer()},decodeBlock:function(e,t,r){var i=u(e),s=l(r),a=new c(i,s);if(a.reader.seek(t),a._get_next_block()&&(a.blockCRC=new n,a.writeCopies=0,a._read_bunzip()),"getBuffer"in s)return s.getBuffer()},table:function(e,t,n){var i=new r;i.delegate=u(e),i.pos=0,i.readByte=function(){return this.pos++,this.delegate.readByte()},i.delegate.eof&&(i.eof=i.delegate.eof.bind(i.delegate));var s=new r;s.pos=0,s.writeByte=function(){this.pos++};for(var a=new c(i,s),o=a.dbufSize;!("eof"in i)||!i.eof();){var l=8*i.pos+a.reader.bitOffset;if(a.reader.hasByte&&(l-=8),a._init_block()){var h=s.pos;a._read_bunzip(),t(l,s.pos-h)}else{if(a.reader.read(32),!n||!("eof"in i)||i.eof())break;a._start_bunzip(i,s),console.assert(a.dbufSize===o,"shouldn't change block size within multistream file")}}}}}(),dp=i({__proto__:null},[pp])},6471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.Str=void 0;const n=r(178);class i{static extractErrorMessage=e=>{if("object"==typeof e&&void 0!==e.message)return"string"==typeof e.message?e.message:JSON.stringify(e)};static parseEmail=(e,t="VALIDATE")=>{let r,n;if(e.includes("<")&&e.includes(">")){const t=e.indexOf("<"),i=e.indexOf(">");r=e.substr(t+1,t-i-1).replace(/["']/g,"").trim().toLowerCase(),n=e.substr(0,e.indexOf("<")).replace(/["']/g,"").trim()}else r=e.replace(/["']/g,"").trim().toLowerCase();return"VALIDATE"!==t||i.isEmailValid(r)||(r=void 0),{email:r,name:n,full:e}};static prettyPrint=e=>"object"==typeof e?JSON.stringify(e,void 0,2).replace(/ /g," ").replace(/\n/g,"
"):String(e);static normalizeSpaces=e=>e.replace(RegExp(String.fromCharCode(160),"g"),String.fromCharCode(32));static normalizeDashes=e=>e.replace(/^—–|—–$/gm,"-----");static getFilenameWithoutExtension=e=>e.replace(/\.[^/.]+$/,"");static normalize=e=>i.normalizeSpaces(i.normalizeDashes(e));static isEmailValid=e=>-1===e.indexOf(" ")&&/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i.test(e);static monthName=e=>["January","February","March","April","May","June","July","August","September","October","November","December"][e];static sloppyRandom=(e=5)=>{let t="";for(let r=0;re.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");static asEscapedHtml=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\n/g,"
");static htmlAttrDecode=e=>{try{return JSON.parse(i.base64urlUtfDecode(e))}catch(e){return}};static capitalize=e=>e.trim().split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ");static pluralize=(e,t,r="s")=>`${e} ${t}${e>1?r:""}`;static toUtcTimestamp=(e,t=!1)=>t?String(Date.parse(e)):Date.parse(e);static datetimeToDate=e=>e.substring(0,10).replace(/"/g,""").replace(/'/g,"'").replace(/e.toISOString().replace(/T/," ").replace(/:[^:]+$/,"");static base64urlUtfDecode=e=>void 0===e?e:decodeURIComponent(String(Array.prototype.map.call((0,n.base64decode)(e.replace(/-/g,"+").replace(/_/g,"/")),(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2))).join("")))}t.Str=i;class s{static arr={unique:e=>{const t=[];for(const r of e)t.includes(r)||t.push(r);return t},contains:(e,t)=>Boolean(e&&"function"==typeof e.indexOf&&-1!==e.indexOf(t)),sum:e=>e.reduce(((e,t)=>e+t),0),average:e=>s.arr.sum(e)/e.length};static obj={keyByValue:(e,t)=>{for(const r of Object.keys(e))if(e[r]===t)return r}}}t.Value=s},6622:(e,t,r)=>{"use strict";var n=r(4728);Object.defineProperty(t,"__esModule",{value:!0}),t.Xss=void 0;const i=r(6471);class s{static ALLOWED_BASIC_TAGS=["p","div","br","u","i","em","b","ol","ul","pre","li","table","thead","tbody","tfoot","tr","td","th","img","h1","h2","h3","h4","h5","h6","hr","address","blockquote","dl","fieldset","a","font","strong","strike","code"];static ALLOWED_ATTRS={"*":["style"],a:["href","name","target"],img:["src","width","height","alt"],font:["size","color","face"],span:["color"],div:["color"],p:["color"],td:["width","height"],hr:["color","height"]};static ALLOWED_STYLES={"*":{background:[/^(?!.*url).+$/]}};static ALLOWED_SCHEMES=["data","http","https","mailto"];static htmlSanitizeKeepBasicTags=e=>{const t=`IMG_ICON_${i.Str.sloppyRandom()}`;let r=!1,a=n(e,{allowedTags:s.ALLOWED_BASIC_TAGS,allowedAttributes:s.ALLOWED_ATTRS,allowedSchemes:s.ALLOWED_SCHEMES,transformTags:{img:(e,n)=>{const i=(n.src||"").substring(0,10);return i.startsWith("data:")?{tagName:"img",attribs:{src:n.src,alt:n.alt||""}}:i.startsWith("http://")||i.startsWith("https://")?(r=!0,{tagName:"a",attribs:{href:String(n.src),target:"_blank"},text:t}):{tagName:"img",attribs:{alt:n.alt,title:n.title},text:"[img]"}},"*":(e,t)=>(t.width&&"1"!==t.width&&"img"!==e&&delete t.width,t.height&&"1"!==t.height&&"img"!==e&&delete t.width,{tagName:e,attribs:t})},exclusiveFilter:({tag:e,attribs:t})=>"1"===t.width||"1"===t.height&&"hr"!==e});return r&&(a=`[remote content blocked for your privacy]

${a}`,a=n(a,{allowedTags:s.ALLOWED_BASIC_TAGS,allowedAttributes:s.ALLOWED_ATTRS,allowedSchemes:s.ALLOWED_SCHEMES,allowedStyles:s.ALLOWED_STYLES})),a=a.replace(new RegExp(t,"g"),'[img]'),a};static htmlSanitizeAndStripAllTags=(e,t)=>{let r=s.htmlSanitizeKeepBasicTags(e);const a=i.Str.sloppyRandom(5),o=`CU_BR_${a}`,c=`CU_BS_${a}`,u=`CU_BE_${a}`;r=r.replace(/]*>/gi,o),r=r.replace(/\n/g,""),r=r.replace(/<\/(p|h1|h2|h3|h4|h5|h6|ol|ul|pre|address|blockquote|dl|div|fieldset|form|hr|table)[^>]*>/gi,u),r=r.replace(/<(p|h1|h2|h3|h4|h5|h6|ol|ul|pre|address|blockquote|dl|div|fieldset|form|hr|table)[^>]*>/gi,c),r=r.replace(RegExp(`(${c})+`,"g"),c).replace(RegExp(`(${u})+`,"g"),u),r=r.split(o+u+c).join(o).split(u+c).join(o).split(o+u).join(o);let l=r.split(o).join("\n").split(c).filter((e=>!!e)).join("\n").split(u).filter((e=>!!e)).join("\n");return l=l.replace(/\n{2,}/g,"\n\n"),l=n(l,{allowedTags:["img","span"],allowedAttributes:{img:["src"]},allowedSchemes:s.ALLOWED_SCHEMES,transformTags:{img:(e,t)=>({tagName:"span",attribs:{},text:`[image: ${t.alt||t.title||"no name"}]`})}}),l=n(l,{allowedTags:[]}),l=l.trim(),"\n"!==t&&(l=l.replace(/\n/g,t)),l};static escape=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/");static escapeTextAsRenderableHtml=e=>s.escape(e).replace(/\n/g,"
\n").replace(/^ +/gm,(e=>e.replace(/ /g," "))).replace(/^\t+/gm,(e=>e.replace(/\t/g," "))).replace(/\n/g,"");static htmlUnescape=e=>e.replace(///g,"/").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/&/g,"&")}t.Xss=s},6846:(e,t,r)=>{"use strict";let n=r(145),i=r(6966),s=r(4211),a=r(5644);class o{constructor(e=[]){this.version="8.5.4",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new s(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=o,o.default=o,a.registerProcessor(o),n.registerProcessor(o)},6957:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=d;var g=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var s=e.call(this,n)||this;return s.name=t,s.attribs=r,s.type=i,s}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(f);function y(e){return(0,a.isTag)(e)}function m(e){return e.type===a.ElementType.CDATA}function w(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function A(e){return e.type===a.ElementType.Directive}function v(e){return e.type===a.ElementType.Root}function E(e,t){var r;if(void 0===t&&(t=!1),w(e))r=new u(e.data);else if(b(e))r=new l(e.data);else if(y(e)){var n=t?k(e.children):[],i=new g(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=i}else if(m(e)){n=t?k(e.children):[];var a=new p(n);n.forEach((function(e){return e.parent=a})),r=a}else if(v(e)){n=t?k(e.children):[];var o=new d(n);n.forEach((function(e){return e.parent=o})),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),r=o}else{if(!A(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new h(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function k(e){for(var t=e.map((function(e){return E(e,!0)})),r=1;r{"use strict";let n=r(7793),i=r(145),s=r(3604),a=r(9577),o=r(3717),c=r(5644),u=r(3303),{isClean:l,my:h}=r(4151);r(6156);const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},d={Once:!0,postcssPlugin:!0,prepare:!0};function g(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,r=f[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function m(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function w(e){return e[l]=!1,e.nodes&&e.nodes.forEach((e=>w(e))),e}let b={};class A{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof A||t instanceof o)i=w(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=a;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{i=e(t,r)}catch(e){this.processed=!0,this.error=e}i&&!i[h]&&n.rebuild(i)}else i=w(t);this.result=new o(e,i,r),this.helpers={...b,postcss:b,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!p[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!d[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(g(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return g(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=u;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new s(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(g(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];)e[l]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(g(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex{e[l]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}A.registerPostcss=e=>{b=e},e.exports=A,A.default=A,c.registerLazyResult(A),i.registerLazyResult(A)},7151:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},7526:(e,t)=>{"use strict";t.byteLength=function(e){var t=o(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,s=o(e),a=s[0],c=s[1],u=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,c)),l=0,h=c>0?a-4:a;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===c&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===c&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],a=16383,o=0,u=n-i;ou?u:o+a));return 1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),s.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=s[a],n[s.charCodeAt(a)]=a;function o(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var i,s,a=[],o=t;o>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},7659:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Catch=void 0,t.Catch=class{static reportErr=e=>{console.error(e)};static report=(e,t)=>{console.error(e,t)};static undefinedOnException=async e=>{try{return await e}catch(e){return}}}},7668:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class r{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n{if(i=e.raws[r],void 0!==i)return!1}))}var o;return void 0===i&&(i=t[n]),a.rawCache[n]=i,i}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=r,r.default=r},7793:(e,t,r)=>{"use strict";let n,i,s,a,o=r(9371),c=r(5238),u=r(3152),{isClean:l,my:h}=r(4151);function f(e){return e.map((e=>(e.nodes&&(e.nodes=f(e.nodes)),delete e.source,e)))}function p(e){if(e[l]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class d extends u{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n+1,0,e);for(let e in this.indexes)r=this.indexes[e],n(e[h]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[l]&&p(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}}d.registerParse=e=>{i=e},d.registerRule=e=>{a=e},d.registerAtRule=e=>{n=e},d.registerRoot=e=>{s=e},e.exports=d,d.default=d,d.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,n.prototype):"rule"===e.type?Object.setPrototypeOf(e,a.prototype):"decl"===e.type?Object.setPrototypeOf(e,c.prototype):"comment"===e.type?Object.setPrototypeOf(e,o.prototype):"root"===e.type&&Object.setPrototypeOf(e,s.prototype),e[h]=!0,e.nodes&&e.nodes.forEach((e=>{d.rebuild(e)}))}},7918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var n,i,s,a=r(9878);function o(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function c(e){return e===n.Slash||e===n.Gt||o(e)}function u(e){return e>=n.Zero&&e<=n.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(n||(n={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(s=t.QuoteType||(t.QuoteType={}));var l={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function e(e,t){var r=e.xmlMode,n=void 0!==r&&r,s=e.decodeEntities,o=void 0===s||s;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=n,this.decodeEntities=o,this.entityTrie=n?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?c(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||o(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==l.TitleEnd[2]?this.state=this.xmlMode||t!==l.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(l.TitleEnd,3)}else e===n.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){c(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===n.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===n.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||c(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=i.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(s.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(s.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?s.Double:s.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=i.InCommentLike,this.currentSequence=l.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===l.ScriptEnd[3]?this.startSpecial(l.ScriptEnd,4):t===l.StyleEnd[3]?this.startSpecial(l.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===n.Number?this.state=i.BeforeNumericEntity:e===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var r=(t>>14)-1;if(this.allowLegacyEntity()||e===n.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,0===r&&this.emitNamedEntity()}else this.trieIndex+=r}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===n.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):u(e)?(this.entityResult=10*this.entityResult+(e-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):u(e)?(this.entityResult=16*this.entityResult+(e-n.Zero),this.entityExcess++):function(e){return e>=n.UpperA&&e<=n.UpperF||e>=n.LowerA&&e<=n.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index{e.exports=null},7971:(e,t,r)=>{"use strict";r.d(t,{AS:()=>n.AS,Cs:()=>a,mg:()=>s,rL:()=>i});var n=r(9844);function i(e){if((0,n.AS)(e))return"array";if(globalThis.ReadableStream&&globalThis.ReadableStream.prototype.isPrototypeOf(e))return"web";if(e&&!(globalThis.ReadableStream&&e instanceof globalThis.ReadableStream)&&"function"==typeof e._read&&"object"==typeof e._readableState)throw new Error("Native Node streams are no longer supported: please manually convert the stream to a WebStream, using e.g. `stream.Readable.toWeb`");return!(!e||!e.getReader)&&"web-like"}function s(e){return Uint8Array.prototype.isPrototypeOf(e)}function a(e){if(1===e.length)return e[0];let t=0;for(let r=0;r{"use strict";const n=r(7526),i=r(251),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function o(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return h(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|g(e,t);let n=o(r);const i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if($(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer))return p(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return c.from(n,t,r);const i=function(e){if(c.isBuffer(e)){const t=0|d(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||W(e.length)?o(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return l(e),o(e<0?0:0|d(e))}function f(e){const t=e.length<0?0:0|d(e.length),r=o(t);for(let n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(i)return n?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return I(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function w(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),W(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){let s,a=1,o=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(s=r;so&&(r=o-c),s=r;s>=0;s--){let r=!0;for(let n=0;ni&&(n=i):n=i;const s=t.length;let a;for(n>s/2&&(n=s/2),a=0;a>8,i=r%256,s.push(i),s.push(n);return s}(t,e.length-r),e,r,n)}function I(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,o,c;switch(a){case 1:t<128&&(s=t);break;case 2:r=e[i+1],128==(192&r)&&(c=(31&t)<<6|63&r,c>127&&(s=c));break;case 3:r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&(c=(15&t)<<12|(63&r)<<6|63&n,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:r=e[i+1],n=e[i+2],o=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&o)&&(c=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&o,c>65535&&c<1114112&&(s=c))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return function(e){const t=e.length;if(t<=B)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nn.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tr&&(e+=" ... "),""},s&&(c.prototype[s]=c.prototype.inspect),c.prototype.compare=function(e,t,r,n,i){if($(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let s=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0);const o=Math.min(s,a),u=this.slice(n,i),l=e.slice(t,r);for(let e=0;e>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let s=!1;for(;;)switch(n){case"hex":return A(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":case"latin1":case"binary":return E(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const B=4096;function x(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;in)&&(r=n);let i="";for(let n=t;nr)throw new RangeError("Trying to access beyond buffer length")}function K(e,t,r,n,i,s){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function O(e,t,r,n,i){j(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function M(e,t,r,n,i){j(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r+7]=s,s>>=8,e[r+6]=s,s>>=8,e[r+5]=s,s>>=8,e[r+4]=s;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function R(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(e,t,r,n,s){return t=+t,r>>>=0,s||R(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function L(e,t,r,n,s){return t=+t,r>>>=0,s||R(e,0,r,8),i.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||U(e,t,this.length);let n=this[e],i=1,s=0;for(;++s>>=0,t>>>=0,r||U(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=Z((function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<>>=0,t>>>=0,r||U(e,t,this.length);let n=this[e],i=1,s=0;for(;++s=i&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||U(e,t,this.length);let n=t,i=1,s=this[e+--n];for(;n>0&&(i*=256);)s+=this[e+--n]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},c.prototype.readInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||U(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){e>>>=0,t||U(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=Z((function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<>>=0,t||U(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||U(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||U(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||U(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||K(this,e,t,r,Math.pow(2,8*r)-1,0);let i=1,s=0;for(this[t]=255&e;++s>>=0,r>>>=0,n||K(this,e,t,r,Math.pow(2,8*r)-1,0);let i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=Z((function(e,t=0){return O(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);K(this,e,t,r,n-1,-n)}let i=0,s=1,a=0;for(this[t]=255&e;++i>>=0,!n){const n=Math.pow(2,8*r-1);K(this,e,t,r,n-1,-n)}let i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=Z((function(e,t=0){return O(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(e,t,r){return N(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return N(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return L(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return L(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function j(e,t,r,n,i,s){if(e>r||e3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(s+1)}${n}`:`>= -(2${n} ** ${8*(s+1)-1}${n}) and < 2 ** ${8*(s+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new F.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||q(t,e.length-(r+1))}(n,i,s)}function H(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function q(e,t,r){if(Math.floor(e)!==e)throw H(e,r),new F.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}_("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),_("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),_("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=Q(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=Q(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n}),RangeError);const z=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||1/0;const n=e.length;let i=null;const s=[];for(let a=0;a55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function V(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function J(e,t,r,n){let i;for(i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function W(e){return e!=e}const Y=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function Z(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},8339:(e,t,r)=>{"use strict";let n=r(396),i=r(9371),s=r(5238),a=r(5644),o=r(1534),c=r(5781);const u={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,i,s=new n;s.name=e[1].slice(1),""===s.name&&this.unnamedAtrule(s,e),this.init(s,e[2]);let a=!1,o=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(c.length>0){for(i=c.length-1,r=c[i];r&&"space"===r[0];)r=c[--i];r&&(s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++)}this.end(e);break}c.push(e)}else c.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(s.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(s,"params",c),a&&(e=c[c.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),o&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let i=t-1;i>=0&&(r=e[i],"space"===r[0]||(n+=1,2!==n));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,n,i=0;for(let[s,a]of e.entries()){if(r=a,n=r[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(t){if("word"===t[0]&&"progid"===t[1])continue;return s}this.doubleColon(r)}t=r}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=c(this.input)}decl(e,t){let r=new s;this.init(r,e[0][2]);let n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let a,o=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)o.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),i="";for(let e=t;e>0;e--){let t=n[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=n.pop()[1]+i}i.trim().startsWith("!")&&(r.important=!0,r.raws.important=i,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=o.map((e=>e[1])).join(""),o=[]),this.raw(r,"value",o.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,i=null,s=[],a=e[1].startsWith("--"),o=[],c=e;for(;c;){if(r=c[0],o.push(c),"("===r||"["===r)i||(i=c),s.push("("===r?")":"]");else if(a&&n&&"{"===r)i||(i=c),s.push("}");else if(0===s.length){if(";"===r){if(n)return void this.decl(o,a);break}if("{"===r)return void this.rule(o);if("}"===r){this.tokenizer.back(o.pop()),t=!0;break}":"===r&&(n=!0)}else r===s[s.length-1]&&(s.pop(),0===s.length&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&n){if(!a)for(;o.length&&(c=o[o.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(o.pop());this.decl(o,a)}else this.unknownWord(o)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let i,s,a,o,c=r.length,l="",h=!0;for(let e=0;ee+t[1]),"");e.raws[t]={raw:n,value:l}}e[t]=l}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n{var t=String,r=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=r(),e.exports.createColors=r},8659:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var o=r(1724),c=r(1724);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return c.Parser}});var u=r(1141),l=r(1141);function h(e,t){var r=new u.DomHandler(void 0,t);return new o.Parser(r,t).end(e),r.root}function f(e,t){return h(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return l.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return l.DomHandler}}),t.parseDocument=h,t.parseDOM=f,t.createDomStream=function(e,t,r){var n=new u.DomHandler(e,t,r);return new o.Parser(n,t)};var p=r(7918);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(p).default}}),t.ElementType=s(r(5413));var d=r(8888),g=r(8888);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return g.getFeed}});var y={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=y),(0,d.getFeed)(f(e,t))},t.DomUtils=s(r(8888))},8682:(e,t)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}},8877:(e,t,r)=>{"use strict";r.d(t,{ArrayStream:()=>o.S5,cancel:()=>k,clone:()=>w,concat:()=>l,concatStream:()=>h,fromAsync:()=>S,getReader:()=>I,getWriter:()=>C,parse:()=>m,passiveClone:()=>b,pipe:()=>f,readToEnd:()=>E,slice:()=>v,toStream:()=>c,transform:()=>g,transformPair:()=>y,transformRaw:()=>p});var n=r(7971);const i=new WeakSet,s=Symbol("externalBuffer");function a(e){if(this.stream=e,e[s]&&(this[s]=e[s].slice()),(0,n.AS)(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{},void(this._cancel=()=>{})}if((0,n.rL)(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{t.closed.catch((function(){})),t.releaseLock()},void(this._cancel=t.cancel.bind(t))}let t=!1;this._read=async()=>t||i.has(e)?{value:void 0,done:!0}:(t=!0,{value:e,done:!1}),this._releaseLock=()=>{if(t)try{i.add(e)}catch(e){}}}a.prototype.read=async function(){return this[s]&&this[s].length?{done:!1,value:this[s].shift()}:this._read()},a.prototype.releaseLock=function(){this[s]&&(this.stream[s]=this[s]),this._releaseLock()},a.prototype.cancel=function(e){return this._cancel(e)},a.prototype.readLine=async function(){let e,t=[];for(;!e;){let{done:r,value:n}=await this.read();if(n+="",r)return t.length?l(t):void 0;const i=n.indexOf("\n")+1;i&&(e=l(t.concat(n.substr(0,i))),t=[]),i!==n.length&&t.push(n.substr(i))}return this.unshift(...t),e},a.prototype.readByte=async function(){const{done:e,value:t}=await this.read();if(e)return;const r=t[0];return this.unshift(v(t,1)),r},a.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){const{done:n,value:i}=await this.read();if(n)return t.length?l(t):void 0;if(t.push(i),r+=i.length,r>=e){const r=l(t);return this.unshift(v(r,e)),v(r,0,e)}}},a.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},a.prototype.unshift=function(...e){this[s]||(this[s]=[]),1===e.length&&(0,n.mg)(e[0])&&this[s].length&&e[0].length&&this[s][0].byteOffset>=e[0].length?this[s][0]=new Uint8Array(this[s][0].buffer,this[s][0].byteOffset-e[0].length,this[s][0].byteLength+e[0].length):this[s].unshift(...e.filter((e=>e&&e.length)))},a.prototype.readToEnd=async function(e=l){const t=[];for(;;){const{done:e,value:r}=await this.read();if(e)break;t.push(r)}return e(t)};var o=r(9844);function c(e){return(0,n.rL)(e)?e:new ReadableStream({start(t){t.enqueue(e),t.close()}})}function u(e){if((0,n.rL)(e))return e;const t=new o.S5;return(async()=>{const r=C(t);await r.write(e),await r.close()})(),t}function l(e){return e.some((e=>(0,n.rL)(e)&&!(0,n.AS)(e)))?h(e):e.some((e=>(0,n.AS)(e)))?function(e){const t=new o.S5;let r=Promise.resolve();return e.forEach(((n,i)=>(r=r.then((()=>f(n,t,{preventClose:i!==e.length-1}))),r))),t}(e):"string"==typeof e[0]?e.join(""):(0,n.Cs)(e)}function h(e){e=e.map(c);const t=d((async function(e){await Promise.all(n.map((t=>k(t,e))))}));let r=Promise.resolve();const n=e.map(((n,i)=>y(n,((n,s)=>(r=r.then((()=>f(n,t.writable,{preventClose:i!==e.length-1}))),r)))));return t.readable}async function f(e,t,{preventClose:r=!1,preventAbort:i=!1,preventCancel:a=!1}={}){if((0,n.rL)(e)&&!(0,n.AS)(e)){e=c(e);try{if(e[s]){const r=C(t);for(let t=0;t{t=e,r=n})),t=null,r=null)},close:n.close.bind(n),abort:n.error.bind(n)})}}function g(e,t=()=>{},r=()=>{}){if((0,n.AS)(e)){const n=new o.S5;return(async()=>{const i=C(n);try{const n=await E(e),s=t(n),a=r();let o;o=void 0!==s&&void 0!==a?l([s,a]):void 0!==s?s:a,await i.write(o),await i.close()}catch(e){await i.abort(e)}})(),n}if((0,n.rL)(e))return p(e,{async transform(e,r){try{const n=await t(e);void 0!==n&&r.enqueue(n)}catch(e){r.error(e)}},async flush(e){try{const t=await r();void 0!==t&&e.enqueue(t)}catch(t){e.error(t)}}});const i=t(e),s=r();return void 0!==i&&void 0!==s?l([i,s]):void 0!==i?i:s}function y(e,t){if((0,n.rL)(e)&&!(0,n.AS)(e)){let r;const n=new TransformStream({start(e){r=e}}),i=f(e,n.writable),s=d((async function(e){r.error(e),await i,await new Promise(setTimeout)}));return t(n.readable,s.writable),s.readable}e=u(e);const r=new o.S5;return t(e,r),r}function m(e,t){let r;const n=y(e,((e,i)=>{const s=I(e);s.remainder=()=>(s.releaseLock(),f(e,i),n),r=t(s)}));return r}function w(e){if((0,n.AS)(e))return e.clone();if((0,n.rL)(e)){const t=function(e){if((0,n.AS)(e))throw new Error("ArrayStream cannot be tee()d, use clone() instead");if((0,n.rL)(e)){const t=c(e).tee();return t[0][s]=t[1][s]=e[s],t}return[v(e),v(e)]}(e);return A(e,t[0]),t[1]}return v(e)}function b(e){return(0,n.AS)(e)?w(e):(0,n.rL)(e)?new ReadableStream({start(t){const r=y(e,(async(e,r)=>{const n=I(e),i=C(r);try{for(;;){await i.ready;const{done:e,value:r}=await n.read();if(e){try{t.close()}catch(e){}return void await i.close()}try{t.enqueue(r)}catch(e){}await i.write(r)}}catch(e){t.error(e),await i.abort(e)}}));A(e,r)}}):v(e)}function A(e,t){Object.entries(Object.getOwnPropertyDescriptors(e.constructor.prototype)).forEach((([r,n])=>{"constructor"!==r&&(n.value?n.value=n.value.bind(t):n.get=n.get.bind(t),Object.defineProperty(e,r,n))}))}function v(e,t=0,r=1/0){if((0,n.AS)(e))throw new Error("Not implemented");if((0,n.rL)(e)){if(t>=0&&r>=0){let n=0;return p(e,{transform(e,i){n=t&&i.enqueue(v(e,Math.max(t-n,0),r-n)),n+=e.length):i.terminate()}})}if(t<0&&(r<0||r===1/0)){let n=[];return g(e,(e=>{e.length>=-t?n=[e]:n.push(e)}),(()=>v(l(n),t,r)))}if(0===t&&r<0){let n;return g(e,(e=>{const i=n?l([n,e]):e;if(i.length>=-r)return n=v(i,r),v(i,t,r);n=i}))}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),S((async()=>v(await E(e),t,r)))}return e[s]&&(e=l(e[s].concat([e]))),(0,n.mg)(e)?e.subarray(t,r===1/0?e.length:r):e.slice(t,r)}async function E(e,t=l){return(0,n.AS)(e)?e.readToEnd(t):(0,n.rL)(e)?I(e).readToEnd(t):e}async function k(e,t){if((0,n.rL)(e)){if(e.cancel){const r=await e.cancel(t);return await new Promise(setTimeout),r}if(e.destroy)return e.destroy(t),await new Promise(setTimeout),t}}function S(e){const t=new o.S5;return(async()=>{const r=C(t);try{await r.write(await e()),await r.close()}catch(e){await r.abort(e)}})(),t}function I(e){return new a(e)}function C(e){return new o.AU(e)}},8888:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(6037),t),i(r(8938),t),i(r(3403),t),i(r(718),t),i(r(3209),t),i(r(5397),t),i(r(4437),t);var s=r(1141);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})},8938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChildren=i,t.getParent=s,t.getSiblings=function(e){var t=s(e);if(null!=t)return i(t);for(var r=[e],n=e.prev,a=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=a;)r.push(a),a=a.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t};var n=r(1141);function i(e){return(0,n.hasChildren)(e)?e.children:[]}function s(e){return e.parent||null}},8969:(e,t,r)=>{var n=r(1371),i=r(321),s=r(1742),a=r(5210),o=r(3880),c=r(6171).rE,u=Object.prototype.hasOwnProperty,l={version:c,orders:n.EncodingOrders,detect:function(e,t){if(null==e||0===e.length)return!1;i.isObject(t)&&!i.isArray(t)&&(t=t.encoding),i.isString(e)&&(e=i.stringToBuffer(e)),null==t?t=l.orders:i.isString(t)&&(t="AUTO"===(t=t.toUpperCase())?l.orders:~t.indexOf(",")?t.split(/\s*,\s*/):[t]);for(var r,n,a,o=t.length,c=0;c255)return encodeURIComponent(i.codeToString_fast(e));t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||33===t||t>=39&&t<=42||45===t||46===t||95===t||126===t?n[n.length]=t:(n[n.length]=37,t<16?(n[n.length]=48,n[n.length]=r[t]):(n[n.length]=r[t>>4&15],n[n.length]=r[15&t]))}return i.codeToString_fast(n)},urlDecode:function(e){for(var t,r=[],n=0,i=e&&e.length;n=65281&&r<=65374&&(r-=65248),n[n.length]=r;return t?i.codeToString_fast(n):n},toZenkakuCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var r,n=[],s=e&&e.length,a=0;a=33&&r<=126&&(r+=65248),n[n.length]=r;return t?i.codeToString_fast(n):n},toHiraganaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var r,n=[],s=e&&e.length,a=0;a=12449&&r<=12534?r-=96:12535===r?(n[n.length]=12431,r=12443):12538===r&&(n[n.length]=12434,r=12443),n[n.length]=r;return t?i.codeToString_fast(n):n},toKatakanaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var r,n=[],s=e&&e.length,a=0;a=12353&&r<=12438&&((12431===r||12434===r)&&a=12289&&r<=12540&&void 0!==(s=o.HANKANA_TABLE[r])?a[a.length]=s:12532===r||12535===r||12538===r?(a[a.length]=o.HANKANA_SONANTS[r],a[a.length]=65438):r>=12459&&r<=12489?(a[a.length]=o.HANKANA_TABLE[r-1],a[a.length]=65438):r>=12495&&r<=12509?(n=r%3,a[a.length]=o.HANKANA_TABLE[r-n],a[a.length]=o.HANKANA_MARKS[n-1]):a[a.length]=r;return t?i.codeToString_fast(a):a},toZenkanaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));var r,n,s,a=[],c=e&&e.length,u=0;for(u=0;u65376&&r<65440&&(n=o.ZENKANA_TABLE[r-65377],u+165397&&r<65413||r>65417&&r<65423)?(n++,u++):65439===s&&r>65417&&r<65423&&(n+=2,u++)),r=n),a[a.length]=r;return t?i.codeToString_fast(a):a},toHankakuSpace:function(e){if(i.isString(e))return e.replace(/\u3000/g," ");for(var t,r=[],n=e&&e.length,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSigningPrv=t.Endpoints=void 0;const n=r(1592),i=r(9379),s=r(2365),a=r(4010),o=r(3207),c=r(833),u=r(9545),l=r(5261),h=r(3313),f=r(6471),p=r(9815),d=r(6364),g=r(6622),y=r(6382);t.Endpoints=class{version=async()=>(0,n.fmtRes)({app_version:p.VERSION});setClientConfiguration=async e=>{const{shouldHideArmorMeta:t}=d.ValidateInput.setClientConfiguration(e);return y.config.showVersion=!t,y.config.showComment=!t,(0,n.fmtRes)({})};generateKey=async e=>{h.Store.keyCacheWipe();const{passphrase:t,userIds:r,variant:i}=d.ValidateInput.generateKey(e);if(t.length<12)throw new Error("Pass phrase length seems way too low! Pass phrase strength should be properly checked before encrypting a key.");const a=await s.PgpKey.create(r,i,t);return(0,n.fmtRes)({key:await s.PgpKey.details(await s.PgpKey.read(a.private))})};composeEmail=async e=>{const r=d.ValidateInput.composeEmail(e),s={to:r.to,from:r.from,subject:r.subject,cc:r.cc,bcc:r.bcc};if(r.replyToMsgId&&(s["in-reply-to"]=r.replyToMsgId,s.references=[r.inReplyTo,r.replyToMsgId].filter((e=>!!e)).join(" ")),"plain"===r.format){const e=(r.atts||[]).map((({name:e,type:t,base64:r})=>new o.Att({name:e,type:t,data:c.Buf.fromBase64Str(r)}))),t={"text/plain":r.text};return r.html&&(t["text/html"]=r.html),(0,n.fmtRes)({},c.Buf.fromUtfStr(await a.Mime.encode(t,s,e)))}if("encryptInline"===r.format){const e=[];for(const t of r.atts||[]){const n=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,data:c.Buf.fromBase64Str(t.base64),filename:t.name,armor:!1});e.push(new o.Att({name:`${t.name}.pgp`,type:"application/pgp-encrypted",data:n}))}const u=await(0,t.getSigningPrv)(r),l=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,signingPrv:u,data:c.Buf.fromUtfStr(r.text),armor:!0});return(0,n.fmtRes)({},c.Buf.fromUtfStr(await a.Mime.encode({"text/plain":l},s,e)))}throw new Error(`Unknown format: ${r.format}`)};encryptMsg=async(e,t)=>{const r=d.ValidateInput.encryptMsg(e),s=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,pwd:r.msgPwd,data:c.Buf.concat(t),armor:!0});return(0,n.fmtRes)({},c.Buf.fromUtfStr(s))};encryptFile=async(e,t)=>{const r=d.ValidateInput.encryptFile(e),s=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,data:c.Buf.concat(t),filename:r.name,armor:!1});return(0,n.fmtRes)({},s)};sanitizeHtml=async e=>{const{html:t}=d.ValidateInput.sanitizeHtml(e),r=g.Xss.htmlSanitizeKeepBasicTags(t);return(0,n.fmtRes)({sanitizedHtml:r})};parseDecryptMsg=async(e,t)=>{const{keys:r,msgPwd:o,isMime:l,verificationPubkeys:h}=d.ValidateInput.parseDecryptMsg(e),p=[];let y,m;if(l){const{blocks:e,rawSignedContent:r,headers:n}=await a.Mime.process(c.Buf.concat(t));m=String(n.subject),y=r,p.push(...e)}else{const{blocks:e}=u.MsgBlockParser.detectBlocks(c.Buf.concat(t).toString());p.push(...e)}const w=[];for(const e of p)if("signedMsg"!==e.type&&"signedHtml"!==e.type||!e.signature)if("encryptedMsg"===e.type||"signedMsg"===e.type){const t=await i.PgpMsg.decrypt({kisWithPp:r,msgPwd:o,encryptedData:c.Buf.with(e.content),verificationPubkeys:h});if(t.success)if(t.isEncrypted){const e=await u.MsgBlockParser.fmtDecryptedAsSanitizedHtmlBlocks(t.content,t.signature);w.push(...e.blocks),m=e.subject||m}else w.push({type:"verifiedMsg",content:f.Str.asEscapedHtml(t.content.toUtfStr()),complete:!0,verifyRes:t.signature});else delete t.message,w.push({type:"decryptErr",content:t.error.type===i.DecryptErrTypes.noMdc?t.content?.toUtfStr()??"":e.content.toString(),decryptErr:t,complete:!0})}else if("encryptedAtt"===e.type&&e.attMeta&&/^(0x)?[A-Fa-f0-9]{16,40}\.asc\.pgp$/.test(e.attMeta.name||"")){const t=await i.PgpMsg.decrypt({kisWithPp:r,msgPwd:o,encryptedData:c.Buf.with(e.attMeta.data||""),verificationPubkeys:h});t.content?w.push({type:"publicKey",content:t.content.toString(),complete:!0}):w.push(e)}else w.push(e);else{const t=await i.PgpMsg.verifyDetached({sigText:c.Buf.fromUtfStr(e.signature),plaintext:c.Buf.with(y||e.content),verificationPubkeys:h});"signedHtml"===e.type?w.push({type:"verifiedMsg",content:g.Xss.htmlSanitizeKeepBasicTags(e.content.toString()),verifyRes:t,complete:!0}):w.push({type:"verifiedMsg",content:f.Str.asEscapedHtml(e.content.toString()),verifyRes:t,complete:!0})}const b=[],A=[];let v="plain";for(const e of w)if(e.content instanceof c.Buf?e.content=(0,n.isContentBlock)(e.type)?e.content.toUtfStr():e.content.toRawBytesStr():e.attMeta&&e.attMeta.data instanceof Uint8Array&&(e.attMeta.data=c.Buf.fromUint8(e.attMeta.data).toBase64Str()),e.decryptErr?.content instanceof c.Buf&&(e.decryptErr.content=e.decryptErr.content.toUtfStr()),"decryptedHtml"!==e.type&&"decryptedText"!==e.type&&"decryptedAtt"!==e.type||(v="encrypted"),"publicKey"===e.type)if(e.keyDetails)A.push(e);else{const{keys:t}=await s.PgpKey.normalize(e.content);if(t.length)for(const e of t)A.push({type:"publicKey",content:e.armor(),complete:!0,keyDetails:await s.PgpKey.details(e)});else A.push({type:"decryptErr",content:e.content,complete:!0,decryptErr:{success:!1,error:{type:i.DecryptErrTypes.format,message:"Badly formatted public key"},longids:{message:[],matching:[],chosen:[],needPassphrase:[]}}})}else(0,n.isContentBlock)(e.type)||a.Mime.isPlainImgAtt(e)?b.push(e):A.push(e);const{contentBlock:E,text:k}=(0,n.fmtContentBlock)(b);A.unshift(E);const S=c.Buf.fromUtfStr(A.map((e=>JSON.stringify(e,((e,t)=>"content"===e&&t.length>1e5?"":t)))).join("\n")),I={text:k,replyType:v};return m&&Object.assign(I,{subject:m}),(0,n.fmtRes)(I,S)};parseAttachmentType=async e=>{const{atts:t}=d.ValidateInput.parseAttachmentType(e),r=t.map((e=>{const t=new o.Att(e);return{id:t.id,treatAs:t.treatAs([t])}}));return(0,n.fmtRes)({atts:r})};decryptFile=async(e,t,r)=>{const{keys:s,msgPwd:a}=d.ValidateInput.decryptFile(e),o=await i.PgpMsg.decrypt({kisWithPp:s,encryptedData:c.Buf.concat(t),msgPwd:a,verificationPubkeys:r});return o.success?(0,n.fmtRes)({decryptSuccess:{name:o.filename||""}},o.content):(delete o.message,delete o.content,(0,n.fmtRes)({decryptErr:o}))};zxcvbnStrengthBar=async e=>{const t=d.ValidateInput.zxcvbnStrengthBar(e);if("passphrase"===t.purpose){if("number"==typeof t.guesses)return(0,n.fmtRes)(l.PgpPwd.estimateStrength(t.guesses));if("string"==typeof t.value){if("function"!=typeof window.zxcvbn)throw new Error("window.zxcvbn missing in js");const e=window.zxcvbn(t.value,l.PgpPwd.weakWords()).guesses;return(0,n.fmtRes)(l.PgpPwd.estimateStrength(e))}throw new Error("Unexpected format: guesses is not a number, value is not a string")}throw new Error(`Unknown purpose: ${t.purpose}`)};parseKeys=async(e,t)=>{const r=[],a=c.Buf.concat(t),o=await i.PgpMsg.type({data:a});if(!o)return(0,n.fmtRes)({format:"unknown",keyDetails:r});if(o.armored){const{blocks:e}=u.MsgBlockParser.detectBlocks(a.toString());for(const t of e){const{keys:e}=await s.PgpKey.parse(t.content.toString());r.push(...e)}for(const e of r)(0,n.removeUndefinedValues)(e);return(0,n.fmtRes)({format:"armored",keyDetails:r})}const l=await(0,y.readKeys)({binaryKeys:a});for(const e of l)r.push(await s.PgpKey.details(e));for(const e of r)(0,n.removeUndefinedValues)(e);return(0,n.fmtRes)({format:"binary",keyDetails:r})};isEmailValid=async e=>{const{email:t}=d.ValidateInput.isEmailValid(e);return(0,n.fmtRes)({valid:f.Str.isEmailValid(t)})};decryptKey=async e=>{h.Store.keyCacheWipe();const{armored:t,passphrases:r}=d.ValidateInput.decryptKey(e);if(1!==r.length)throw new Error(`decryptKey: Can only accept exactly 1 pass phrase for decrypt, received: ${r.length}`);const i=await(0,d.readArmoredKeyOrThrow)(t);return await s.PgpKey.decrypt(i,r[0])?(0,n.fmtRes)({decryptedKey:i.armor()}):(0,n.fmtRes)({decryptedKey:void 0})};encryptKey=async e=>{h.Store.keyCacheWipe();const{armored:t,passphrase:r}=d.ValidateInput.encryptKey(e),i=await(0,d.readArmoredKeyOrThrow)(t);if(!r||r.length<12)throw new Error("Pass phrase length seems way too low! Pass phrase strength should be properly checked before encrypting a key.");const s=await(0,y.encryptKey)({privateKey:i,passphrase:r});return(0,n.fmtRes)({encryptedKey:s.armor()})};verifyKey=async e=>{const{armored:t}=d.ValidateInput.verifyKey(e),r=await(0,y.readKey)({armoredKey:t});return await r.verifyPrimaryKey(),(0,n.fmtRes)({})};keyCacheWipe=async()=>(h.Store.keyCacheWipe(),(0,n.fmtRes)({}))},t.getSigningPrv=async e=>{if(!e.signingPrv)return;const t=await(0,d.readArmoredKeyOrThrow)(e.signingPrv.private);if(await s.PgpKey.decrypt(t,e.signingPrv.passphrase||""))return t;throw new Error("Fail to decrypt signing key")}},9275:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ArrayStream:()=>n.ArrayStream,cancel:()=>n.cancel,clone:()=>n.clone,concat:()=>n.concat,concatStream:()=>n.concatStream,concatUint8Array:()=>i.Cs,fromAsync:()=>n.fromAsync,getReader:()=>n.getReader,getWriter:()=>n.getWriter,isArrayStream:()=>i.AS,isStream:()=>i.rL,isUint8Array:()=>i.mg,parse:()=>n.parse,passiveClone:()=>n.passiveClone,pipe:()=>n.pipe,readToEnd:()=>n.readToEnd,slice:()=>n.slice,toStream:()=>n.toStream,transform:()=>n.transform,transformPair:()=>n.transformPair,transformRaw:()=>n.transformRaw});var n=r(8877),i=r(7971)},9371:(e,t,r)=>{"use strict";let n=r(3152);class i extends n{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},9379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpMsg=t.FormatError=t.DecryptErrTypes=void 0;const n=r(2365),i=r(2633),s=r(6471),a=r(833),o=r(7659),c=r(9545),u=r(1341),l=r(3313),h=r(6382),f=r(1040),p=r(3955);var d;!function(e){e.keyMismatch="key_mismatch",e.usePassword="use_password",e.wrongPwd="wrong_password",e.noMdc="no_mdc",e.badMdc="bad_mdc",e.needPassphrase="need_passphrase",e.format="format",e.other="other"}(d||(t.DecryptErrTypes=d={}));class g extends Error{data;constructor(e,t){super(e),this.data=t}}t.FormatError=g;class y{static type=async({data:e})=>{if(!e||!e.length)return;const t=e[0];if(!(128&~t)){let e=0;if(e=192&~t?(60&t)/4:63&t,Object.values(h.enums.packet).includes(e)){const t=h.enums.packet;return{armored:!1,type:[t.symEncryptedIntegrityProtectedData,t.modificationDetectionCode,t.aeadEncryptedData,t.symmetricallyEncryptedData,t.compressedData].includes(e)?"encryptedMsg":"publicKey"}}}const{blocks:r}=c.MsgBlockParser.detectBlocks(new a.Buf(e.slice(0,50)).toUtfStr().trim());return 1===r.length&&!1===r[0].complete&&["encryptedMsg","privateKey","publicKey","signedMsg"].includes(r[0].type)?{armored:!0,type:r[0].type}:void 0};static sign=async(e,t,r=!1)=>{const n=await(0,h.createCleartextMessage)({text:t});return await(0,h.sign)({message:n,signingKeys:e,detached:r,format:"armored"})};static verify=async(e,t)=>{const r={match:null};try{const i=Array.isArray(e)?e:await e.verify(t);for(const e of i)r.signer||(r.signer=await n.PgpKey.longid(e.keyID.bytes)),r.match=(!0===r.match||null===r.match)&&await e.verified}catch(e){r.match=null,e instanceof Error&&"Can only verify message with one literal data packet."===e.message?r.error="FlowCrypt is not equipped to verify this message (err 101)":(r.error=e.message,o.Catch.reportErr(e))}return r};static verifyDetached=async({plaintext:e,sigText:t,verificationPubkeys:r})=>{const n=await(0,h.createMessage)({text:a.Buf.fromUint8(e).toUtfStr()});await n.appendSignature(a.Buf.fromUint8(t).toUtfStr());const i=await y.getSortedKeys([],n);if(r)for(const e of r){const t=await(0,h.readKeys)({armoredKeys:e});i.forVerification.push(...t)}return await y.verify(n,i.forVerification)};static decrypt=async({kisWithPp:e,encryptedData:t,msgPwd:r,verificationPubkeys:n})=>{let i;const s={message:[],matching:[],chosen:[],needPassphrase:[]};try{i=await u.PgpArmor.cryptoMsgPrepareForDecrypt(t)}catch(e){return{success:!1,error:{type:d.format,message:String(e)},longids:s}}const o=await y.getSortedKeys(e,i.message,n);s.message=o.encryptedFor,s.matching=o.prvForDecrypt.map((e=>e.longid)),s.chosen=o.prvForDecryptDecrypted.map((e=>e.longid)),s.needPassphrase=o.prvForDecryptWithoutPassphrases.map((e=>e.longid));const c=!i.isCleartext;if(!c){const e=await y.verify(i.message,o.forVerification),t=await(0,p.requireStreamReadToEnd)(),r=await t(i.message.getText()??"");return{success:!0,content:a.Buf.fromUtfStr(r),isEncrypted:c,signature:e}}if(!o.prvMatching.length&&!r)return{success:!1,error:{type:d.keyMismatch,message:"Missing appropriate key"},message:i.message,longids:s,isEncrypted:c};if(!o.prvForDecryptDecrypted.length&&!r)return{success:!1,error:{type:d.needPassphrase,message:"Missing pass phrase"},message:i.message,longids:s,isEncrypted:c};try{const e=i.message.packets,t=e.filterByTag(h.enums.packet.symEncryptedSessionKey).length>0,u=e.filterByTag(h.enums.packet.publicKeyEncryptedSessionKey).length>0;if(t&&!u&&!r)return{success:!1,error:{type:d.usePassword,message:"Use message password"},longids:s,isEncrypted:c};const l=r?[r]:void 0,f=o.prvForDecryptDecrypted.map((e=>e.decrypted)),g=await i.message.decrypt(f,l);await y.cryptoMsgGetSignedBy(g,o),await y.populateKeysForVerification(o,n);const m=o.signedBy.length?await g.verify(o.forVerification):void 0,w=await(0,p.requireStreamReadToEnd)(),b=new a.Buf(await w(g.getLiteralData())),A=m?await y.verify(m,[]):void 0;if(!i.isCleartext&&i.message.packets.filterByTag(h.enums.packet.symmetricallyEncryptedData).length){const e="Security threat!\n\nMessage is missing integrity checks (MDC). The sender should update their outdated software and resend.";return{success:!1,content:b,error:{type:d.noMdc,message:e},message:i.message,longids:s,isEncrypted:c}}return{success:!0,content:b,isEncrypted:c,filename:g.getFilename()||void 0,signature:A}}catch(e){return{success:!1,error:y.cryptoMsgDecryptCategorizeErr(e,r),message:i.message,longids:s,isEncrypted:c}}};static encrypt=async({pubkeys:e,signingPrv:t,pwd:r,data:n,filename:i,armor:s,date:a})=>{if(!e&&!r)throw new Error("no-pubkeys-no-challenge");const o=await(0,h.createMessage)({binary:n,filename:i,date:a}),c=[];for(const t of e){const e=await(0,h.readKeys)({armoredKeys:t});c.push(...e)}const u={message:o,date:a,encryptionKeys:c,passwords:r?[r]:void 0,signingKeys:t&&t.isPrivate()?t:void 0};return s||Object.assign(u,{format:"binary"}),await(0,h.encrypt)(u)};static extractFcAtts=(e,t)=>(e.includes('class="cryptup_file"')&&(e=e.replace(/[^<]+<\/a>\n?/gm,((e,r,n)=>{const a=s.Str.htmlAttrDecode(String(n));return y.isFcAttLinkData(a)&&t.push(i.MsgBlock.fromAtt("encryptedAttLink","",{type:a.type,name:a.name,length:a.size,url:String(r)})),""}))),e);static stripFcTeplyToken=e=>e.replace(/]+class="cryptup_reply"[^>]+><\/div>/,"");static stripPublicKeys=(e,t)=>{let{blocks:r,normalized:n}=c.MsgBlockParser.detectBlocks(e);for(const e of r)if("publicKey"===e.type){const r=e.content.toString();t.push(r),n=n.replace(r,"")}return n};static isFcAttLinkData=e=>e&&"object"==typeof e&&void 0!==e.name&&void 0!==e.size&&void 0!==e.type;static cryptoMsgGetSignedBy=async(e,t)=>{t.signedBy=s.Value.arr.unique(await n.PgpKey.longids(e.getSigningKeyIDs?e.getSigningKeyIDs():[]))};static populateKeysForVerification=async(e,t)=>{if(void 0!==t){e.forVerification=[];for(const r of t){const t=await(0,h.readKeys)({armoredKeys:r});e.forVerification.push(...t)}}};static getSortedKeys=async(e,t,r)=>{const i={forVerification:[],encryptedFor:[],signedBy:[],prvMatching:[],prvForDecrypt:[],prvForDecryptDecrypted:[],prvForDecryptWithoutPassphrases:[]},s=t instanceof h.Message?t.getEncryptionKeyIDs():[];if(i.encryptedFor=await n.PgpKey.longids(s),await y.cryptoMsgGetSignedBy(t,i),await y.populateKeysForVerification(i,r),i.encryptedFor.length){for(const t of e){t.parsed=await n.PgpKey.read(t.private);for(const e of await Promise.all(t.parsed.getKeyIDs().map((({bytes:e})=>n.PgpKey.longid(e)))))if(i.encryptedFor.includes(e)){i.prvMatching.push(t);break}}i.prvForDecrypt=i.prvMatching}else i.prvForDecrypt=[];for(const e of i.prvForDecrypt){if(!e.parsed||!e.passphrase)continue;const t=y.matchingKeyids(e.parsed,s),r=l.Store.decryptedKeyCacheGet(e.longid);r&&y.isKeyDecryptedFor(r,t)?(e.decrypted=r,i.prvForDecryptDecrypted.push(e)):y.isKeyDecryptedFor(e.parsed,t)||!0===await y.decryptKeyFor(e.parsed,e.passphrase,t)?(l.Store.decryptedKeyCacheSet(e.parsed),e.decrypted=e.parsed,i.prvForDecryptDecrypted.push(e)):i.prvForDecryptWithoutPassphrases.push(e)}return i};static matchingKeyids=(e,t)=>{const r=(t||[]).map((e=>e.bytes));return e.getKeyIDs().filter((e=>r.includes(e.bytes)))};static decryptKeyFor=async(e,t,r)=>{if(!r.length)return await n.PgpKey.decrypt(e,t,void 0,"OK-IF-ALREADY-DECRYPTED");for(const i of r)if(!await n.PgpKey.decrypt(e,t,i,"OK-IF-ALREADY-DECRYPTED"))return!1;return!0};static isKeyDecryptedFor=(e,t)=>!!(0,f.isFullyDecrypted)(e)||!(0,f.isFullyEncrypted)(e)&&!!t.length&&t.filter((t=>(0,f.isPacketDecrypted)(e,t))).length===t.length;static cryptoMsgDecryptCategorizeErr=(e,t)=>{const r=String(e).replace("Error: ","").replace("Error decrypting message: ","");return["Cannot read property 'isDecrypted' of null","privateKeyPacket is null","TypeprivateKeyPacket is null","Session key decryption failed.","Invalid session key for decryption."].includes(r)&&!t?{type:d.keyMismatch,message:r}:t&&["Invalid enum value.","CFB decrypt: invalid key","Session key decryption failed."].includes(r)?{type:d.wrongPwd,message:r}:"Decryption failed due to missing MDC in combination with modern cipher."===r||"Decryption failed due to missing MDC."===r?{type:d.noMdc,message:r}:"Decryption error"===r?{type:d.format,message:r}:"Modification detected."===r?{type:d.badMdc,message:"Security threat - opening this message is dangerous because it was modified in transit."}:{type:d.other,message:r}}}t.PgpMsg=y},9466:function(e,t){var r,n;void 0===(n="function"==typeof(r=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function r(t){var r,n=t.exec(e.substring(g));if(n)return r=n[0],g+=r.length,r}for(var n,i,s,a,o,c=e.length,u=/^[ \t\n\r\u000c]+/,l=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,p=/^\d+$/,d=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,y=[];;){if(r(l),g>=c)return y;n=r(h),i=[],","===n.slice(-1)?(n=n.replace(f,""),w()):m()}function m(){for(r(u),s="",a="in descriptor";;){if(o=e.charAt(g),"in descriptor"===a)if(t(o))s&&(i.push(s),s="",a="after descriptor");else{if(","===o)return g+=1,s&&i.push(s),void w();if("("===o)s+=o,a="in parens";else{if(""===o)return s&&i.push(s),void w();s+=o}}else if("in parens"===a)if(")"===o)s+=o,a="in descriptor";else{if(""===o)return i.push(s),void w();s+=o}else if("after descriptor"===a)if(t(o));else{if(""===o)return void w();a="in descriptor",g-=1}g+=1}}function w(){var t,r,s,a,o,c,u,l,h,f=!1,g={};for(a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MsgBlockParser=void 0;const n=r(2633),i=r(6622),s=r(833),a=r(7659),o=r(4010),c=r(1341),u=r(2365),l=r(9379),h=r(6471);class f{static ARMOR_HEADER_MAX_LENGTH=50;static detectBlocks=(e,t)=>{const r=[],n=h.Str.normalize(e);let i=0;for(;;){const e=f.detectBlockNext(n,i,t);if(e.found&&r.push(...e.found),void 0===e.continueAt)return{blocks:r,normalized:n};if(e.continueAt<=i)return a.Catch.report(`PgpArmordetect_blocks likely infinite loop: r.continue_at(${e.continueAt}) <= start_at(${i})`),{blocks:r,normalized:n};i=e.continueAt}};static fmtDecryptedAsSanitizedHtmlBlocks=async(e,t)=>{const r=[];let a=!1;if(!o.Mime.resemblesMsg(e)){let i=s.Buf.fromUint8(e).toUtfStr();i=l.PgpMsg.extractFcAtts(i,r),i=l.PgpMsg.stripFcTeplyToken(i);const o=[];i=l.PgpMsg.stripPublicKeys(i,o);const c=n.MsgBlock.fromContent("decryptedHtml",h.Str.asEscapedHtml(i));return c.verifyRes=t,r.push(c),await f.pushArmoredPubkeysToBlocks(o,r),{blocks:r,subject:void 0,isRichText:a}}const c=await o.Mime.decode(e);if(void 0!==c.html){const e=n.MsgBlock.fromContent("decryptedHtml",i.Xss.htmlSanitizeKeepBasicTags(c.html));e.verifyRes=t,r.push(e),a=!0}else if(void 0!==c.text){const e=n.MsgBlock.fromContent("decryptedHtml",h.Str.asEscapedHtml(c.text));e.verifyRes=t,r.push(e)}else n.MsgBlock.fromContent("decryptedHtml",h.Str.asEscapedHtml(s.Buf.with(e).toUtfStr())).verifyRes=t,r.push();for(const e of c.atts)if("publicKey"===e.treatAs(c.atts))await f.pushArmoredPubkeysToBlocks([e.getData().toUtfStr()],r);else{const i=n.MsgBlock.fromAtt("decryptedAtt","",{name:e.name,data:e.getData(),length:e.length,type:e.type});i.verifyRes=t,r.push(i)}return{blocks:r,subject:c.subject,isRichText:a}};static detectBlockNext=(e,t,r)=>{const i=Object.keys(c.PgpArmor.ARMOR_HEADER_DICT),s={found:[]},a=e.indexOf(c.PgpArmor.headers("null").begin,t);if(-1!==a){const o=e.substr(a,f.ARMOR_HEADER_MAX_LENGTH);for(const u of i){const i=c.PgpArmor.ARMOR_HEADER_DICT[u];if(i.replace&&0===o.indexOf(i.begin)){let o="";if(a>t&&(o=e.substring(t,a),!o.endsWith("\n")))continue;let c=-1,l=0;if("string"==typeof i.end)c=e.indexOf(i.end,a+i.begin.length),l=i.end.length;else{const t=e.substring(a).match(i.end);t&&(c=t.index?a+t.index:-1,l=t[0].length)}if(-1!==c||!r){o=o.trim(),o&&s.found.push(n.MsgBlock.fromContent("plainText",o)),-1!==c?(s.found.push(n.MsgBlock.fromContent(u,e.substring(a,c+l).trim())),s.continueAt=c+l):s.found.push(n.MsgBlock.fromContent(u,e.substr(a),!0));break}}}}if(e&&!s.found.length){const r=e.substr(t).trim();r&&s.found.push(n.MsgBlock.fromContent("plainText",r))}return s};static pushArmoredPubkeysToBlocks=async(e,t)=>{for(const r of e){const{keys:e}=await u.PgpKey.parse(r);for(const r of e)t.push(n.MsgBlock.fromKeyDetails("publicKey",r.public,r))}}}t.MsgBlockParser=f},9577:(e,t,r)=>{"use strict";let n=r(7793),i=r(1106),s=r(8339);function a(e,t){let r=new i(e,t),n=new s(r);try{n.parse()}catch(e){throw e}return n.root}e.exports=a,a.default=a,n.registerParse(a)},9746:()=>{},9815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GMAIL_RECOVERY_EMAIL_SUBJECTS=t.BACKEND_API_HOST=t.GOOGLE_CONTACTS_API_HOST=t.GOOGLE_OAUTH_SCREEN_HOST=t.GOOGLE_API_HOST=t.VERSION=void 0,t.VERSION=APP_VERSION,t.GOOGLE_API_HOST="[BUILD_REPLACEABLE_GOOGLE_API_HOST]",t.GOOGLE_OAUTH_SCREEN_HOST="[BUILD_REPLACEABLE_GOOGLE_OAUTH_SCREEN_HOST]",t.GOOGLE_CONTACTS_API_HOST="[BUILD_REPLACEABLE_GOOGLE_CONTACTS_API_HOST]",t.BACKEND_API_HOST="[BUILD_REPLACEABLE_BACKEND_API_HOST]",t.GMAIL_RECOVERY_EMAIL_SUBJECTS=["Your FlowCrypt Backup","Your CryptUp Backup","All you need to know about CryptUP (contains a backup)","CryptUP Account Backup"]},9844:(e,t,r)=>{"use strict";r.d(t,{AS:()=>c,AU:()=>u,S5:()=>o});const n=Symbol("doneWritingPromise"),i=Symbol("doneWritingResolve"),s=Symbol("doneWritingReject"),a=Symbol("readingIndex");class o extends Array{constructor(){super(),Object.setPrototypeOf(this,o.prototype),this[n]=new Promise(((e,t)=>{this[i]=e,this[s]=t})),this[n].catch((()=>{}))}}function c(e){return e&&e.getReader&&Array.isArray(e)}function u(e){if(!c(e)){const t=e.getWriter(),r=t.releaseLock;return t.releaseLock=()=>{t.closed.catch((function(){})),r.call(t)},t}this.stream=e}o.prototype.getReader=function(){return void 0===this[a]&&(this[a]=0),{read:async()=>(await this[n],this[a]===this.length?{value:void 0,done:!0}:{value:this[this[a]++],done:!1})}},o.prototype.readToEnd=async function(e){await this[n];const t=e(this.slice(this[a]));return this.length=0,t},o.prototype.clone=function(){const e=new o;return e[n]=this[n].then((()=>{e.push(...this)})),e},u.prototype.write=async function(e){this.stream.push(e)},u.prototype.close=async function(){this.stream[i]()},u.prototype.abort=async function(e){return this.stream[s](e),e},u.prototype.releaseLock=function(){}},9878:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var o=a(r(3603));t.htmlDecodeTree=o.default;var c=a(r(2517));t.xmlDecodeTree=c.default;var u=s(r(5096));t.decodeCodePoint=u.default;var l,h,f,p,d=r(5096);function g(e){return e>=l.ZERO&&e<=l.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return d.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return d.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(l||(l={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(h=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var y=function(){function e(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===l.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===l.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,r,n){if(t!==r){var i=r-t;this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var r,n=t;t=l.UPPER_A&&r<=l.UPPER_F||r>=l.LOWER_A&&r<=l.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var r=t;t>14;t=l.UPPER_A&&e<=l.UPPER_Z||e>=l.LOWER_A&&e<=l.LOWER_Z||g(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&h.VALUE_LENGTH)>>14)){if(s===l.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,r=(this.decodeTree[t]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,r){var n=this.decodeTree;return this.emitCodePoint(1===t?n[e]&~h.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function m(e){var t="",r=new y(e,(function(e){return t+=(0,u.fromCodePoint)(e)}));return function(e,n){for(var i=0,s=0;(s=e.indexOf("&",s))>=0;){t+=e.slice(i,s),r.startEntity(n);var a=r.write(e,s+1);if(a<0){i=s+r.end();break}i=s+a,s=0===a?i+1:i}var o=t+e.slice(i);return t="",o}}function w(e,t,r,n){var i=(t&h.BRANCH_LENGTH)>>7,s=t&h.JUMP_TABLE;if(0===i)return 0!==s&&n===s?r:-1;if(s){var a=n-s;return a<0||a>=i?-1:e[r+a]-1}for(var o=r,c=o+i-1;o<=c;){var u=o+c>>>1,l=e[u];if(ln))return e[u+i];c=u-1}}return-1}t.EntityDecoder=y,t.determineBranch=w;var b=m(o.default),A=m(c.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),b(e,t)},t.decodeHTMLAttribute=function(e){return b(e,p.Attribute)},t.decodeHTMLStrict=function(e){return b(e,p.Strict)},t.decodeXML=function(e){return A(e,p.Strict)}},9977:()=>{}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0});const t=r(9033),i=r(1592);r.g.handleRequestFromHost=async(e,r,n)=>{const s=new t.Endpoints;try{const t=s[e];return t?t(r,[n]).then((e=>e)).catch((e=>(0,i.fmtErr)(e))):(0,i.fmtErr)(new Error(`Unknown endpoint: ${e}`))}catch(e){return(0,i.fmtErr)(e)}}})(),module.exports=n})();; +(()=>{var e={38:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mnemonic=void 0;const r=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"];t.mnemonic=e=>{if(!e)return;const t=e.split("").map((e=>(e=>{let t=e+"";for(;t.length<4;)t="0"+t;return t})(parseInt(e,16).toString(2)))).join("").match(new RegExp(".{1,11}","g"));return(t?.map((e=>parseInt(e,2)))??[]).map((e=>r[e].toUpperCase())).join(" ")}},145:(e,t,r)=>{"use strict";let n,i,s=r(7793);class a extends s{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new n(new i,this,e).stringify()}}a.registerLazyResult=e=>{n=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},178:(e,t,r)=>{"use strict";var n=r(8969);Object.defineProperty(t,"__esModule",{value:!0}),t.getKeyExpirationTimeForCapabilities=t.strToHex=t.iso2022jpToUtf=t.base64decode=t.base64encode=void 0;const i=r(8287);t.base64encode=e=>i.Buffer.from(e,"binary").toString("base64"),t.base64decode=e=>i.Buffer.from(e,"base64").toString("binary"),t.iso2022jpToUtf=e=>n.convert(e,{to:"UTF8",from:"JIS",type:"string"}),t.strToHex=e=>{if(null===e)return"";const t=[],r=e.length;let n,i=0;for(;i{let t=null;for(const r of e)(null===t||null!==r&&r>t)&&(t=r);return t},a=e=>{const t=s(e.bindingSignatures.map((e=>e.created)));return e.bindingSignatures.filter((e=>e.created===t))[0].getExpirationTime()};t.getKeyExpirationTimeForCapabilities=async(e,t,r,n)=>{const i=await e.getPrimaryUser(void 0,n,void 0);if(!i)throw new Error("Could not find primary user");const o=await e.getExpirationTime(n);if(!o)return null;const c=s(i.user.selfCertifications.map((e=>e.created))),u=i.user.selfCertifications.filter((e=>e.created===c))[0].getExpirationTime();let l=o{}))||await e.getEncryptionKey(r,null,n).catch((()=>{}));if(!t)return null;const i="bindingSignatures"in t?a(t):await t.getExpirationTime(n)??0;i{}))||await e.getSigningKey(r,null,n).catch((()=>{}));if(!t)return null;const i="bindingSignatures"in t?a(t):await t.getExpirationTime(n)??0;i{},251:(e,t)=>{t.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,c=(1<>1,l=-7,h=r?i-1:0,f=r?-1:1,p=e[t+h];for(h+=f,s=p&(1<<-l)-1,p>>=-l,l+=o;l>0;s=256*s+e[t+h],h+=f,l-=8);for(a=s&(1<<-l)-1,s>>=-l,l+=n;l>0;a=256*a+e[t+h],h+=f,l-=8);if(0===s)s=1-u;else{if(s===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),s-=u}return(p?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var a,o,c,u=8*s-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:s-1,d=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+h>=1?f/c:f*Math.pow(2,1-h))*c>=2&&(a++,c/=2),a+h>=l?(o=0,a=l):a+h>=1?(o=(t*c-1)*Math.pow(2,i),a+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&o,p+=d,o/=256,i-=8);for(a=a<0;e[r+p]=255&a,p+=d,a/=256,u-=8);e[r+p-d]|=128*g}},321:(e,t,r)=>{var n=r(1371),i=String.fromCharCode,s=Array.prototype.slice,a=Object.prototype.toString,o=Object.prototype.hasOwnProperty,c=Array.isArray,u=Object.keys;function l(e){return c?c(e):"[object Array]"===a.call(e)}function h(e){if(u)return u(e);var t=[];for(var r in e)o.call(e,r)&&(t[t.length]=r);return t}function f(e,t){if(n.HAS_TYPED)switch(e){case 8:return new Uint8Array(t);case 16:return new Uint16Array(t)}return new Array(t)}function p(e){if(n.CAN_CHARCODE_APPLY&&n.CAN_CHARCODE_APPLY_TYPED){var t=e&&e.length;if(tn.APPLY_BUFFER_SIZE&&(n.APPLY_BUFFER_SIZE_OK=!0),r}catch(e){n.APPLY_BUFFER_SIZE_OK=!1}}return d(e)}function d(e){for(var t,r="",s=e&&e.length,a=0;an.APPLY_BUFFER_SIZE&&(n.APPLY_BUFFER_SIZE_OK=!0);continue}catch(e){n.APPLY_BUFFER_SIZE_OK=!1}return g(e)}r+=i.apply(null,t)}return r}function g(e){for(var t="",r=e&&e.length,n=0;n>2],t[t.length]=y[(3&i)<<4],t[t.length]=w,t[t.length]=w;break}if(s=e[r++],r==n){t[t.length]=y[i>>2],t[t.length]=y[(3&i)<<4|(240&s)>>4],t[t.length]=y[(15&s)<<2],t[t.length]=w;break}a=e[r++],t[t.length]=y[i>>2],t[t.length]=y[(3&i)<<4|(240&s)>>4],t[t.length]=y[(15&s)<<2|(192&a)>>6],t[t.length]=y[63&a]}return p(t)},t.base64decode=function(e){var t,r,n,i,s,a,o;for(a=e&&e.length,s=0,o=[];s>4;do{if(61==(n=255&e.charCodeAt(s++)))return o;n=m[n]}while(s>2;do{if(61==(i=255&e.charCodeAt(s++)))return o;i=m[i]}while(s{"use strict";let n=r(7793);class i extends n{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,n.registerAtRule(i)},718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),i(e,Array.isArray(t)?t:[t],r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var s=Array.isArray(r)?r:[r],a=0;a0){var c=e(t,o.children,!0);if(c)return c}}return null},t.existsOne=function e(t,r){return(Array.isArray(r)?r:[r]).some((function(r){return(0,n.isTag)(r)&&t(r)||(0,n.hasChildren)(r)&&e(t,r.children)}))},t.findAll=function(e,t){for(var r=[],i=[Array.isArray(t)?t:[t]],s=[0];;)if(s[0]>=i[0].length){if(1===i.length)return r;i.shift(),s.shift()}else{var a=i[0][s[0]++];(0,n.isTag)(a)&&e(a)&&r.push(a),(0,n.hasChildren)(a)&&a.children.length>0&&(s.unshift(0),i.unshift(a.children))}};var n=r(1141);function i(e,t,r,i){for(var s=[],a=[Array.isArray(t)?t:[t]],o=[0];;)if(o[0]>=a[0].length){if(1===o.length)return s;a.shift(),o.shift()}else{var c=a[0][o[0]++];if(e(c)&&(s.push(c),--i<=0))return s;r&&(0,n.hasChildren)(c)&&c.children.length>0&&(o.unshift(0),a.unshift(c.children))}}},833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Buf=void 0;const n=r(178);class i extends Uint8Array{static concat=e=>{const t=new Uint8Array(e.reduce(((e,t)=>e+t.length),0));let r=0;for(const n of e)t.set(n,r),r+=n.length;return i.fromUint8(t)};static with=e=>e instanceof i?e:e instanceof Uint8Array?i.fromUint8(e):i.fromUtfStr(e);static fromUint8=e=>new i(e);static fromRawBytesStr=e=>{const t=e.length,r=new i(t);for(let n=0;n{let t;const r=e.length;let n;const s=[];for(let i=0;i55295&&t<57344){if(!n){if(t>56319){s.push(239,191,189);continue}if(i+1===r){s.push(239,191,189);continue}n=t;continue}if(t<56320){s.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&s.push(239,191,189);if(n=void 0,t<128)s.push(t);else if(t<2048)s.push(t>>6|192,63&t|128);else if(t<65536)s.push(t>>12|224,t>>6&63|128,63&t|128);else{if(!(t<1114112))throw new Error("Invalid code point");s.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return new i(s)};static fromBase64Str=e=>i.fromRawBytesStr((0,n.base64decode)(e));static fromBase64UrlStr=e=>i.fromBase64Str(e.replace(/-/g,"+").replace(/_/g,"/"));toString=(e="inform")=>this.toUtfStr(e);toUtfStr=(e="inform")=>{const t=this.length;let r=0,n="";const i=new Array(t);for(let s=0;s{const e=this.length,t=[];for(let r=0;r(0,n.base64encode)(this.toRawBytesStr());toBase64UrlStr=()=>this.toBase64Str().replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}t.Buf=i},909:e=>{e.exports={52120:8751,52103:8752,49848:8753,52121:8754,52125:8755,49839:8756,52123:8757,52122:8758,126:8759,52868:8760,52869:8761,49825:8770,49830:8771,49855:8772,49850:8811,49834:8812,49833:8813,49838:8814,14845090:8815,49828:8816,14845078:8817,52870:9825,52872:9826,52873:9827,52874:9828,52906:9829,52876:9831,52878:9833,52907:9834,52879:9836,52908:9841,52909:9842,52910:9843,52911:9844,53130:9845,52880:9846,53132:9847,53122:9848,53133:9849,53131:9850,52912:9851,53134:9852,53378:10050,53379:10051,53380:10052,53381:10053,53382:10054,53383:10055,53384:10056,53385:10057,53386:10058,53387:10059,53388:10060,53390:10061,53391:10062,53650:10098,53651:10099,53652:10100,53653:10101,53654:10102,53655:10103,53656:10104,53657:10105,53658:10106,53659:10107,53660:10108,53662:10109,53663:10110,50054:10529,50320:10530,50342:10532,50354:10534,50561:10536,50367:10537,50570:10539,50072:10540,50578:10541,50598:10543,50078:10544,50086:10561,50321:10562,50096:10563,50343:10564,50353:10565,50355:10566,50360:10567,50562:10568,50560:10569,50569:10570,50571:10571,50104:10572,50579:10573,50079:10574,50599:10575,50110:10576,50049:10785,50048:10786,50052:10787,50050:10788,50306:10789,51085:10790,50304:10791,50308:10792,50053:10793,50051:10794,50310:10795,50312:10796,50316:10797,50055:10798,50314:10799,50318:10800,50057:10801,50056:10802,50059:10803,50058:10804,50330:10805,50326:10806,50322:10807,50328:10808,50332:10810,50334:10811,50338:10812,50336:10813,50340:10814,50061:10815,50060:10816,50063:10817,50062:10818,51087:10819,50352:10820,50346:10821,50350:10822,50344:10823,50356:10824,50358:10825,50361:10826,50365:10827,50363:10828,50563:10829,50567:10830,50565:10831,50065:10832,50067:10833,50066:10834,50070:10835,50068:10836,51089:10837,50576:10838,50572:10839,50069:10840,50580:10841,50584:10842,50582:10843,50586:10844,50588:10845,50592:10846,50590:10847,50596:10848,50594:10849,50074:10850,50073:10851,50076:10852,50075:10853,50604:10854,51091:10855,50608:10856,50602:10857,50610:10858,50606:10859,50600:10860,51095:10861,51099:10862,51097:10863,51093:10864,50612:10865,50077:10866,50616:10867,50614:10868,50617:10869,50621:10870,50619:10871,50081:11041,50080:11042,50084:11043,50082:11044,50307:11045,51086:11046,50305:11047,50309:11048,50085:11049,50083:11050,50311:11051,50313:11052,50317:11053,50087:11054,50315:11055,50319:11056,50089:11057,50088:11058,50091:11059,50090:11060,50331:11061,50327:11062,50323:11063,50329:11064,51125:11065,50333:11066,50335:11067,50337:11069,50341:11070,50093:11071,50092:11072,50095:11073,50094:11074,51088:11075,50347:11077,50351:11078,50345:11079,50357:11080,50359:11081,50362:11082,50366:11083,50364:11084,50564:11085,50568:11086,50566:11087,50097:11088,50099:11089,50098:11090,50102:11091,50100:11092,51090:11093,50577:11094,50573:11095,50101:11096,50581:11097,50585:11098,50583:11099,50587:11100,50589:11101,50593:11102,50591:11103,50597:11104,50595:11105,50106:11106,50105:11107,50108:11108,50107:11109,50605:11110,51092:11111,50609:11112,50603:11113,50611:11114,50607:11115,50601:11116,51096:11117,51100:11118,51098:11119,51094:11120,50613:11121,50109:11122,50111:11123,50615:11124,50618:11125,50622:11126,50620:11127,14989442:12321,14989444:12322,14989445:12323,14989452:12324,14989458:12325,14989471:12326,14989475:12327,14989476:12328,14989480:12329,14989483:12330,14989486:12331,14989487:12332,14989488:12333,14989493:12334,14989696:12335,14989697:12336,14989700:12337,14989703:12338,14989713:12339,14989722:12340,14989724:12341,14989731:12342,14989736:12343,14989737:12344,14989748:12345,14989749:12346,14989753:12347,14989759:12348,14989965:12349,14989974:12350,14989975:12351,14989981:12352,14989999:12353,14990009:12354,14990211:12355,14990224:12356,14990234:12357,14990235:12358,14990240:12359,14990241:12360,14990242:12361,14990248:12362,14990255:12363,14990257:12364,14990259:12365,14990261:12366,14990269:12367,14990270:12368,14990271:12369,14990464:12370,14990466:12371,14990467:12372,14990472:12373,14990475:12374,14990476:12375,14990482:12376,14990485:12377,14990486:12378,14990487:12379,14990489:12380,14990510:12381,14990513:12382,14990752:12383,14990515:12384,14990517:12385,14990519:12386,14990521:12387,14990523:12388,14990526:12389,14990720:12390,14990722:12391,14990728:12392,14990729:12393,14990731:12394,14990732:12395,14990738:12396,14990740:12397,14990742:12398,14990744:12399,14990751:12400,14990755:12401,14990762:12402,14990764:12403,14990766:12404,14990769:12405,14990775:12406,14990776:12407,14990777:12408,14990778:12409,14990781:12410,14990782:12411,14990977:12412,14990978:12413,14990980:12414,14990981:12577,14990985:12578,14990986:12579,14990988:12580,14990990:12581,14990992:12582,14990994:12583,14990995:12584,14990996:12585,14990999:12586,14991001:12587,14991002:12588,14991006:12589,14991007:12590,14991026:12591,14991031:12592,14991033:12593,14991035:12594,14991036:12595,14991037:12596,14991038:12597,14991232:12598,14991233:12599,14991237:12600,14991238:12601,14991240:12602,14991241:12603,14991243:12604,14991244:12605,14991245:12606,14991247:12607,14991250:12608,14991260:12609,14991264:12610,14991266:12611,14991280:12612,14991282:12613,14991292:12614,14991293:12615,14991295:12616,15040640:12617,15040641:12618,15040644:12619,15040647:12620,15040650:12621,15040652:12622,15040654:12623,15040656:12624,15040659:12625,15040663:12626,15040664:12627,15040667:12628,15040668:12629,15040669:12630,15040670:12631,15040674:12632,15040679:12633,15040686:12634,15040688:12635,15040690:12636,15040691:12637,15040693:12638,15040896:12639,15040897:12640,15040898:12641,15040901:12642,15040902:12643,15040906:12644,15040908:12645,15040910:12646,15040913:12647,15040914:12648,15040915:12649,15040919:12650,15040921:12651,15040927:12652,15040928:12653,15040930:12654,15040931:12655,15040934:12656,15040935:12657,15040938:12658,15040941:12659,15040944:12660,15040945:12661,15040699:12662,15041153:12663,15041155:12664,15041156:12665,15041158:12666,15041162:12667,15041166:12668,15041167:12669,15041168:12670,15041170:12833,15041171:12834,15041172:12835,15041174:12836,15041179:12837,15041180:12838,15041182:12839,15041183:12840,15041184:12841,15041185:12842,15041186:12843,15041194:12844,15041199:12845,15041200:12846,15041209:12847,15041210:12848,15041213:12849,15041408:12850,15041411:12851,15041412:12852,15041415:12853,15041420:12854,15041422:12855,15041424:12856,15041427:12857,15041428:12858,15041432:12859,15041436:12860,15041437:12861,15041439:12862,15041442:12863,15041444:12864,15041446:12865,15041448:12866,15041449:12867,15041455:12868,15041457:12869,15041462:12870,15041466:12871,15041470:12872,15041667:12873,15041670:12874,15041671:12875,15041672:12876,15041675:12877,15041676:12878,15041677:12879,15041678:12880,15041458:12881,15041680:12882,15041687:12883,15041689:12884,15041691:12885,15041692:12886,15041693:12887,15041694:12888,15041699:12889,15041703:12890,15041704:12891,15041708:12892,15041709:12893,15041711:12894,15041713:12895,15041715:12896,15041716:12897,15041717:12898,15041720:12899,15041721:12900,15041922:12901,15041930:12902,15041935:12903,15041939:12904,15041941:12905,15041943:12906,15041944:12907,15041951:12908,15041956:12909,15041958:12910,15041982:12911,15042179:12912,15042180:12913,15042187:12914,15042190:12915,15042200:12916,15042205:12917,15042209:12918,15042211:12919,15042221:12920,15042232:12921,15042234:12922,15042236:12923,15042238:12924,15042239:12925,15042434:12926,15042440:13089,15042447:13090,15042449:13091,15042450:13092,15042451:13093,15042453:13094,15042456:13095,15042462:13096,15042466:13097,15042469:13098,15042478:13099,15042482:13100,15042483:13101,15042484:13102,15042487:13103,15042689:13104,15042690:13105,15042693:13106,15042706:13107,15042707:13108,15042709:13109,15042710:13110,15042712:13111,15042722:13112,15042728:13113,15042737:13114,15042738:13115,15042741:13116,15042748:13117,15042949:13118,15042953:13119,15042965:13120,15042967:13121,15042968:13122,15042970:13123,15042972:13124,15042975:13125,15042976:13126,15042977:13127,15042982:13128,15042990:13129,15042999:13130,15043e3:13131,15043001:13132,15043200:13133,15043202:13134,15043205:13135,15043210:13136,15043212:13137,15043219:13138,15043221:13139,15043222:13140,15043223:13141,15043224:13142,15043226:13143,15043228:13144,15043236:13145,15043237:13146,15043238:13147,15043239:13148,15043247:13149,15043248:13150,15043254:13151,15043255:13152,15043256:13153,15043258:13154,15043259:13155,15043261:13156,15043456:13157,15043460:13158,15043462:13159,15043464:13160,15043468:13161,15043471:13162,15043473:13163,15043476:13164,15043478:13165,15043483:13166,15043484:13167,15043489:13168,15043493:13169,15043496:13170,15043497:13171,15043498:13172,15043500:13173,15043504:13174,15043505:13175,15043508:13176,15043510:13177,15043511:13178,15043712:13179,15043715:13180,15043722:13181,15043723:13182,15043724:13345,15043729:13346,15043731:13347,15043736:13348,15043739:13349,15043740:13350,15043742:13351,15043743:13352,15043749:13353,15043751:13354,15043752:13355,15043753:13356,15043755:13357,15043756:13358,15043757:13359,15043760:13360,15043762:13361,15043765:13362,15043772:13363,15043773:13364,15043774:13365,15043970:13366,15043980:13367,15043979:13368,15043993:13369,15043995:13370,15044001:13371,15044003:13372,15044005:13373,15044012:13374,15044013:13375,15044018:13376,15044025:13377,15044030:13378,15044227:13379,15044231:13380,15044232:13381,15044238:13382,15044243:13383,15044244:13384,15044249:13385,15044253:13386,15044257:13387,15044260:13388,15044266:13389,15044267:13390,15044271:13391,15044274:13392,15044276:13393,15044277:13394,15044279:13395,15044280:13396,15044282:13397,15044285:13398,15044480:13399,15044485:13400,15044495:13401,15044498:13402,15044499:13403,15044501:13404,15044506:13405,15044509:13406,15044510:13407,15044512:13408,15044518:13409,15044519:13410,15044533:13411,15044738:13412,15044755:13413,15044762:13414,15044769:13415,15044775:13416,15044776:13417,15044778:13418,15044783:13419,15044785:13420,15044788:13421,15044789:13422,15044995:13423,15044996:13424,15044999:13425,15045005:13426,15045007:13427,15045022:13428,15045026:13429,15045028:13430,15045030:13431,15045031:13432,15045033:13433,15045035:13434,15045037:13435,15045038:13436,15045044:13437,15045055:13438,15045249:13601,15045251:13602,15045253:13603,15045256:13604,15045257:13605,15045261:13606,15045265:13607,15045269:13608,15045270:13609,15045276:13610,15045279:13611,15045281:13612,15045286:13613,15045287:13614,15045289:13615,15045290:13616,15045293:13617,15045294:13618,15045297:13619,15045303:13620,15045305:13621,15045306:13622,15045307:13623,15045311:13624,15045510:13625,15045514:13626,15045517:13627,15045518:13628,15045536:13629,15045546:13630,15045548:13631,15045551:13632,15045558:13633,15045564:13634,15045566:13635,15045567:13636,15045760:13637,15045761:13638,15045765:13639,15045768:13640,15045769:13641,15045772:13642,15045773:13643,15045774:13644,15045781:13645,15045802:13646,15045803:13647,15045810:13648,15045813:13649,15045814:13650,15045819:13651,15045820:13652,15045821:13653,15046017:13654,15046023:13655,15046025:13656,15046026:13657,15046029:13658,15046032:13659,15046033:13660,15046040:13661,15046042:13662,15046043:13663,15046046:13664,15046048:13665,15046049:13666,15046052:13667,15046054:13668,15046079:13669,15046273:13670,15046274:13671,15046278:13672,15046280:13673,15046286:13674,15046287:13675,15046289:13676,15046290:13677,15046291:13678,15046292:13679,15046295:13680,15046307:13681,15046308:13682,15046317:13683,15046322:13684,15046335:13685,15046529:13686,15046531:13687,15046534:13688,15046537:13689,15046539:13690,15046540:13691,15046542:13692,15046545:13693,15046546:13694,15046547:13857,15046551:13858,15046552:13859,15046555:13860,15046558:13861,15046562:13862,15046569:13863,15046582:13864,15046591:13865,15046789:13866,15046792:13867,15046794:13868,15046797:13869,15046798:13870,15046799:13871,15046800:13872,15046801:13873,15046802:13874,15046809:13875,15046828:13876,15046832:13877,15046835:13878,15046837:13879,15046839:13880,15046841:13881,15046843:13882,15046844:13883,15046845:13884,15046847:13885,15047040:13886,15047041:13887,15047043:13888,15047044:13889,15047046:13890,15047049:13891,15047051:13892,15047053:13893,15047055:13894,15047060:13895,15047070:13896,15047072:13897,15047073:13898,15047074:13899,15047075:13900,15047078:13901,15047081:13902,15047085:13903,15047087:13904,15047089:13905,15047090:13906,15047093:13907,15047300:13908,15047301:13909,15047304:13910,15047307:13911,15047308:13912,15047317:13913,15047321:13914,15047322:13915,15047325:13916,15047326:13917,15047327:13918,15047334:13919,15047335:13920,15047336:13921,15047337:13922,15047339:13923,15047340:13924,15047341:13925,15047345:13926,15047347:13927,15047351:13928,15047358:13929,15047557:13930,15047561:13931,15047562:13932,15047563:13933,15047567:13934,15047568:13935,15047564:13936,15047565:13937,15047577:13938,15047580:13939,15047581:13940,15047583:13941,15047585:13942,15047588:13943,15047589:13944,15047590:13945,15047591:13946,15047592:13947,15047601:13948,15047595:13949,15047597:13950,15047606:14113,15047607:14114,15047809:14115,15047810:14116,15047815:14117,15047818:14118,15047820:14119,15047825:14120,15047829:14121,15047834:14122,15047835:14123,15047837:14124,15047840:14125,15047842:14126,15047843:14127,15047844:14128,15047845:14129,15047849:14130,15047850:14131,15047852:14132,15047854:14133,15047855:14134,15047859:14135,15047860:14136,15047869:14137,15047870:14138,15047871:14139,15048069:14140,15048070:14141,15048076:14142,15048077:14143,15048082:14144,15048098:14145,15048101:14146,15048103:14147,15048104:14148,15048107:14149,15048109:14150,15048110:14151,15048111:14152,15048112:14153,15048113:14154,15048115:14155,15048116:14156,15048117:14157,15048119:14158,15048121:14159,15048122:14160,15048123:14161,15048124:14162,15048126:14163,15048321:14164,15048323:14165,15048332:14166,15048340:14167,15048343:14168,15048345:14169,15048346:14170,15048348:14171,15048349:14172,15048350:14173,15048351:14174,15048353:14175,15048341:14176,15048359:14177,15048360:14178,15048361:14179,15048364:14180,15048376:14181,15048381:14182,15048583:14183,15048584:14184,15048588:14185,15048591:14186,15048597:14187,15048605:14188,15048606:14189,15048612:14190,15048614:14191,15048615:14192,15048617:14193,15048621:14194,15048624:14195,15048629:14196,15048630:14197,15048632:14198,15048637:14199,15048638:14200,15048639:14201,15048835:14202,15048836:14203,15048840:14204,15048841:14205,15048609:14206,15048844:14369,15048845:14370,15048859:14371,15048862:14372,15048863:14373,15048864:14374,15048870:14375,15048871:14376,15048877:14377,15048882:14378,15048889:14379,15048895:14380,15049097:14381,15049100:14382,15049101:14383,15049103:14384,15049104:14385,15049109:14386,15049119:14387,15049121:14388,15049124:14389,15049127:14390,15049128:14391,15049144:14392,15049148:14393,15049151:14394,15049344:14395,15049345:14396,15049351:14397,15049352:14398,15049353:14399,15049354:14400,15049356:14401,15049357:14402,15049359:14403,15049360:14404,15049364:14405,15049366:14406,15049373:14407,15049376:14408,15049377:14409,15049378:14410,15049382:14411,15049385:14412,15049393:14413,15049394:14414,15049604:14415,15049404:14416,15049602:14417,15049608:14418,15049613:14419,15049614:14420,15049616:14421,15049618:14422,15049620:14423,15049622:14424,15049626:14425,15049629:14426,15049633:14427,15049634:14428,15049641:14429,15049651:14430,15049861:14431,15049862:14432,15049867:14433,15049868:14434,15049874:14435,15049875:14436,15049876:14437,15243649:14438,15049885:14439,15049889:14440,15049891:14441,15049892:14442,15049896:14443,15049903:14444,15049904:14445,15049907:14446,15049909:14447,15049910:14448,15049919:14449,15050115:14450,15050118:14451,15050130:14452,15050131:14453,15050137:14454,15050139:14455,15050141:14456,15050142:14457,15050143:14458,15050145:14459,15050147:14460,15050155:14461,15050157:14462,15050159:14625,15050162:14626,15050165:14627,15050166:14628,15050169:14629,15050171:14630,15050172:14631,15050379:14632,15050380:14633,15050382:14634,15050386:14635,15050389:14636,15050391:14637,15050399:14638,15050404:14639,15050407:14640,15050413:14641,15050414:14642,15050415:14643,15050416:14644,15050419:14645,15050423:14646,15050426:14647,15050428:14648,15050625:14649,15050627:14650,15050628:14651,15050632:14652,15050634:14653,15050637:14654,15050642:14655,15050653:14656,15050654:14657,15050655:14658,15050659:14659,15050660:14660,15050663:14661,15050670:14662,15050671:14663,15050673:14664,15050674:14665,15050676:14666,15050679:14667,15050880:14668,15050884:14669,15050892:14670,15050893:14671,15050894:14672,15050898:14673,15050899:14674,15050910:14675,15050915:14676,15050916:14677,15050919:14678,15050920:14679,15050922:14680,15050925:14681,15050928:14682,15051140:14683,15051141:14684,15051143:14685,15051144:14686,15051148:14687,15051152:14688,15051157:14689,15051166:14690,15051171:14691,15051173:14692,15051175:14693,15051181:14694,15051191:14695,15051194:14696,15051195:14697,15051198:14698,15051403:14699,15051408:14700,15051411:14701,15051414:14702,15051417:14703,15051420:14704,15051422:14705,15051423:14706,15051424:14707,15051426:14708,15051431:14709,15051436:14710,15051441:14711,15051442:14712,15051443:14713,15051445:14714,15051448:14715,15051450:14716,15051451:14717,15051455:14718,15051652:14881,15051654:14882,15051656:14883,15051663:14884,15051674:14885,15051676:14886,15051680:14887,15051685:14888,15051690:14889,15051694:14890,15051701:14891,15051702:14892,15051709:14893,15051904:14894,15051905:14895,15051912:14896,15051927:14897,15051956:14898,15051929:14899,15051931:14900,15051933:14901,15051937:14902,15051941:14903,15051949:14904,15051960:14905,15052161:14906,15052171:14907,15052172:14908,15052178:14909,15052182:14910,15052190:14911,15052200:14912,15052206:14913,15052207:14914,15052220:14915,15052221:14916,15052222:14917,15052223:14918,15052417:14919,15052420:14920,15052422:14921,15052426:14922,15052430:14923,15052432:14924,15052433:14925,15052435:14926,15052436:14927,15052438:14928,15052456:14929,15052457:14930,15052460:14931,15052461:14932,15052463:14933,15052465:14934,15052466:14935,15052471:14936,15052474:14937,15052476:14938,15052672:14939,15052673:14940,15052685:14941,15052687:14942,15052694:14943,15052695:14944,15052696:14945,15052697:14946,15052698:14947,15052704:14948,15052719:14949,15052721:14950,15052724:14951,15052733:14952,15052940:14953,15052951:14954,15052958:14955,15052959:14956,15052963:14957,15052966:14958,15052969:14959,15052971:14960,15052972:14961,15052974:14962,15052976:14963,15052978:14964,15052981:14965,15052982:14966,15053209:14967,15053210:14968,15053212:14969,15053218:14970,15053219:14971,15053223:14972,15053224:14973,15053225:14974,15053229:15137,15053232:15138,15053236:15139,15053237:15140,15053242:15141,15053243:15142,15053244:15143,15053245:15144,15053447:15145,15053448:15146,15053450:15147,15053455:15148,15053458:15149,15053469:15150,15053471:15151,15053472:15152,15053474:15153,15053475:15154,15053478:15155,15053482:15156,15053490:15157,15053492:15158,15053493:15159,15053498:15160,15053705:15161,15053707:15162,15053714:15163,15053725:15164,15053719:15165,15053742:15166,15053745:15167,15053746:15168,15053748:15169,15053953:15170,15053958:15171,15053965:15172,15053970:15173,15053995:15174,15053987:15175,15053988:15176,15053990:15177,15053991:15178,15054001:15179,15054004:15180,15054009:15181,15054013:15182,15054015:15183,15054210:15184,15054211:15185,15054214:15186,15054216:15187,15054229:15188,15054225:15189,15054233:15190,15054218:15191,15054239:15192,15054240:15193,15054241:15194,15054242:15195,15054244:15196,15054250:15197,15054253:15198,15054256:15199,15054265:15200,15054266:15201,15054270:15202,15054271:15203,15054465:15204,15054467:15205,15054472:15206,15054474:15207,15054482:15208,15054483:15209,15054484:15210,15054485:15211,15054489:15212,15054491:15213,15054495:15214,15054496:15215,15054503:15216,15054507:15217,15054512:15218,15054516:15219,15054520:15220,15054521:15221,15054723:15222,15054727:15223,15054731:15224,15054736:15225,15054734:15226,15054744:15227,15054745:15228,15054752:15229,15054756:15230,15054761:15393,15054776:15394,15054777:15395,15054976:15396,15054983:15397,15054989:15398,15054994:15399,15054996:15400,15054997:15401,15055e3:15402,15055007:15403,15055008:15404,15055022:15405,15055016:15406,15055026:15407,15055029:15408,15055038:15409,15055243:15410,15055248:15411,15055241:15412,15055249:15413,15055254:15414,15055256:15415,15055259:15416,15055260:15417,15055262:15418,15055272:15419,15055274:15420,15055275:15421,15055276:15422,15055277:15423,15055278:15424,15055280:15425,15055488:15426,15055499:15427,15055502:15428,15055522:15429,15055524:15430,15055525:15431,15055528:15432,15055530:15433,15055532:15434,15055537:15435,15055539:15436,15055549:15437,15055550:15438,15055551:15439,15055750:15440,15055756:15441,15055755:15442,15055758:15443,15055761:15444,15055762:15445,15055764:15446,15055765:15447,15055772:15448,15055774:15449,15055781:15450,15055787:15451,15056002:15452,15056006:15453,15056007:15454,15056008:15455,15056014:15456,15056025:15457,15056028:15458,15056029:15459,15056033:15460,15056034:15461,15056035:15462,15056036:15463,15056040:15464,15056043:15465,15056044:15466,15056046:15467,15056048:15468,15056052:15469,15056054:15470,15056059:15471,15056061:15472,15056063:15473,15056256:15474,15056260:15475,15056261:15476,15056263:15477,15056269:15478,15056272:15479,15056276:15480,15056280:15481,15056283:15482,15056288:15483,15056291:15484,15056292:15485,15056295:15486,15056303:15649,15056306:15650,15056308:15651,15056309:15652,15056312:15653,15056314:15654,15056317:15655,15056318:15656,15056521:15657,15056525:15658,15056527:15659,15056534:15660,15056540:15661,15056541:15662,15056546:15663,15056551:15664,15056555:15665,15056548:15666,15056556:15667,15056559:15668,15056560:15669,15056561:15670,15056568:15671,15056772:15672,15056775:15673,15056776:15674,15056777:15675,15056779:15676,15056784:15677,15056785:15678,15056786:15679,15056787:15680,15056788:15681,15056798:15682,15056801:15683,15056802:15684,15056808:15685,15056809:15686,15056810:15687,15056812:15688,15056813:15689,15056814:15690,15056815:15691,15056818:15692,15056819:15693,15056822:15694,15056826:15695,15056828:15696,15106183:15697,15106186:15698,15106189:15699,15106195:15700,15106196:15701,15106199:15702,15106200:15703,15106202:15704,15106207:15705,15106212:15706,15106221:15707,15106227:15708,15106229:15709,15106432:15710,15106439:15711,15106440:15712,15106441:15713,15106444:15714,15106449:15715,15106452:15716,15106454:15717,15106455:15718,15106461:15719,15106465:15720,15106471:15721,15106481:15722,15106494:15723,15106495:15724,15106690:15725,15106694:15726,15106696:15727,15106698:15728,15106702:15729,15106705:15730,15106707:15731,15106709:15732,15106712:15733,15106717:15734,15106718:15735,15106722:15736,15106724:15737,15106725:15738,15106728:15739,15106736:15740,15106737:15741,15106743:15742,15106747:15905,15106750:15906,15106946:15907,15106948:15908,15106952:15909,15106953:15910,15106954:15911,15106955:15912,15106958:15913,15106959:15914,15106964:15915,15106965:15916,15106969:15917,15106971:15918,15106973:15919,15106974:15920,15106978:15921,15106981:15922,15106994:15923,15106997:15924,15107e3:15925,15107004:15926,15107005:15927,15107202:15928,15107207:15929,15107210:15930,15107212:15931,15107216:15932,15107217:15933,15107218:15934,15107219:15935,15107220:15936,15107222:15937,15107223:15938,15107225:15939,15107228:15940,15107230:15941,15107234:15942,15107242:15943,15107243:15944,15107248:15945,15107249:15946,15107253:15947,15107254:15948,15107255:15949,15107257:15950,15107457:15951,15107461:15952,15107462:15953,15107465:15954,15107486:15955,15107488:15956,15107500:15957,15107506:15958,15107512:15959,15107515:15960,15107516:15961,15107519:15962,15107712:15963,15107713:15964,15107715:15965,15107716:15966,15107723:15967,15107725:15968,15107730:15969,15107731:15970,15107735:15971,15107736:15972,15107740:15973,15107741:15974,15107743:15975,15107744:15976,15107749:15977,15107752:15978,15107754:15979,15107757:15980,15107768:15981,15107769:15982,15107772:15983,15107968:15984,15107969:15985,15107970:15986,15107982:15987,15107983:15988,15107989:15989,15107996:15990,15107997:15991,15107998:15992,15107999:15993,15108001:15994,15108002:15995,15108007:15996,15108009:15997,15108005:15998,15108012:16161,15108013:16162,15108015:16163,15108225:16164,15108227:16165,15108228:16166,15108231:16167,15108243:16168,15108245:16169,15108252:16170,15108256:16171,15108258:16172,15108259:16173,15108263:16174,15108265:16175,15108267:16176,15108281:16177,15108285:16178,15108482:16179,15108483:16180,15108484:16181,15108486:16182,15108492:16183,15108496:16184,15108497:16185,15108498:16186,15108500:16187,15108502:16188,15108506:16189,15108508:16190,15108516:16191,15108525:16192,15108527:16193,15108531:16194,15108538:16195,15108541:16196,15108749:16197,15108750:16198,15108751:16199,15108752:16200,15108774:16201,15108776:16202,15108787:16203,15108790:16204,15108791:16205,15108794:16206,15108798:16207,15108799:16208,15108996:16209,15109006:16210,15109013:16211,15109014:16212,15109018:16213,15109034:16214,15109042:16215,15109044:16216,15109052:16217,15109053:16218,15109251:16219,15109252:16220,15109258:16221,15109259:16222,15109261:16223,15109264:16224,15109267:16225,15109270:16226,15109272:16227,15109289:16228,15109290:16229,15109293:16230,15109301:16231,15109302:16232,15109305:16233,15109308:16234,15109505:16235,15109506:16236,15109507:16237,15109508:16238,15109510:16239,15109514:16240,15109515:16241,15109518:16242,15109522:16243,15109523:16244,15109524:16245,15109528:16246,15109531:16247,15109541:16248,15109542:16249,15109548:16250,15109549:16251,15109553:16252,15109556:16253,15109557:16254,15109560:16417,15109564:16418,15109565:16419,15109567:16420,15109762:16421,15109764:16422,15109767:16423,15109770:16424,15109776:16425,15109780:16426,15109781:16427,15109785:16428,15109786:16429,15109790:16430,15109796:16431,15109798:16432,15109805:16433,15109806:16434,15109807:16435,15109821:16436,15110017:16437,15110021:16438,15110024:16439,15110030:16440,15110033:16441,15110035:16442,15110036:16443,15110037:16444,15110044:16445,15110048:16446,15110053:16447,15110058:16448,15110060:16449,15110066:16450,15110067:16451,15110069:16452,15110072:16453,15110073:16454,15110281:16455,15110282:16456,15110288:16457,15110290:16458,15110292:16459,15110296:16460,15110302:16461,15110304:16462,15110306:16463,15110308:16464,15110309:16465,15110313:16466,15110314:16467,15110319:16468,15110320:16469,15110325:16470,15110333:16471,15110335:16472,15110539:16473,15110543:16474,15110545:16475,15110546:16476,15110547:16477,15110548:16478,15110554:16479,15110555:16480,15110556:16481,15110557:16482,15110559:16483,15110560:16484,15110561:16485,15110563:16486,15110573:16487,15110579:16488,15110580:16489,15110587:16490,15110589:16491,15110789:16492,15110791:16493,15110799:16494,15110800:16495,15110801:16496,15110808:16497,15110809:16498,15110811:16499,15110813:16500,15110815:16501,15110817:16502,15110819:16503,15110822:16504,15110824:16505,15110828:16506,15110835:16507,15110845:16508,15110846:16509,15110847:16510,15111044:16673,15111049:16674,15111050:16675,15111051:16676,15111052:16677,15111054:16678,15111056:16679,15111057:16680,15111061:16681,15111063:16682,15111076:16683,15111077:16684,15111081:16685,15111082:16686,15111085:16687,15111088:16688,15111093:16689,15111095:16690,15111099:16691,15111103:16692,15111297:16693,15111300:16694,15111304:16695,15111305:16696,15111306:16697,15111311:16698,15111315:16699,15111316:16700,15111318:16701,15111321:16702,15111323:16703,15111326:16704,15111327:16705,15111330:16706,15111334:16707,15111337:16708,15111342:16709,15111345:16710,15111354:16711,15111356:16712,15111357:16713,15111555:16714,15111559:16715,15111561:16716,15111568:16717,15111570:16718,15111572:16719,15111583:16720,15111584:16721,15111591:16722,15111595:16723,15111610:16724,15111613:16725,15111809:16726,15111813:16727,15111818:16728,15111826:16729,15111829:16730,15111832:16731,15111837:16732,15111840:16733,15111843:16734,15111846:16735,15111854:16736,15111858:16737,15111859:16738,15111860:16739,15111871:16740,15112066:16741,15112072:16742,15112073:16743,15112078:16744,15112080:16745,15112084:16746,15112086:16747,15112088:16748,15112095:16749,15112112:16750,15112114:16751,15112116:16752,15112117:16753,15112121:16754,15112126:16755,15112127:16756,15112320:16757,15112324:16758,15112328:16759,15112329:16760,15112333:16761,15112337:16762,15112338:16763,15112341:16764,15112342:16765,15112349:16766,15112350:16929,15112353:16930,15112354:16931,15112355:16932,15112356:16933,15112358:16934,15112361:16935,15112362:16936,15112363:16937,15112364:16938,15112366:16939,15112368:16940,15112369:16941,15112371:16942,15112377:16943,15112375:16944,15112576:16945,15112581:16946,15112582:16947,15112586:16948,15112588:16949,15112593:16950,15112590:16951,15112599:16952,15112600:16953,15112601:16954,15112603:16955,15112604:16956,15112608:16957,15112609:16958,15113147:16959,15112618:16960,15112619:16961,15112620:16962,15112638:16963,15112627:16964,15112629:16965,15112639:16966,15112631:16967,15112632:16968,15112633:16969,15112635:16970,15112832:16971,15112636:16972,15112843:16973,15112844:16974,15112845:16975,15112848:16976,15112850:16977,15112857:16978,15112858:16979,15112859:16980,15112860:16981,15112863:16982,15112864:16983,15112868:16984,15112877:16985,15112881:16986,15112882:16987,15112885:16988,15112891:16989,15112895:16990,15113088:16991,15113090:16992,15113091:16993,15113096:16994,15113100:16995,15113102:16996,15113103:16997,15113108:16998,15113115:16999,15113119:17e3,15113128:17001,15113131:17002,15113132:17003,15113134:17004,15113146:17005,15113349:17006,15113351:17007,15113358:17008,15113363:17009,15113369:17010,15113372:17011,15113376:17012,15113378:17013,15113395:17014,15113406:17015,15113605:17016,15113607:17017,15113608:17018,15113612:17019,15113620:17020,15113621:17021,15113629:17022,15113638:17185,15113644:17186,15113646:17187,15113652:17188,15113654:17189,15113659:17190,15113857:17191,15113860:17192,15113870:17193,15113871:17194,15113873:17195,15113875:17196,15113878:17197,15113880:17198,15113881:17199,15113883:17200,15113904:17201,15113905:17202,15113906:17203,15113909:17204,15113915:17205,15113916:17206,15113917:17207,15114169:17208,15114112:17209,15114114:17210,15114115:17211,15114117:17212,15114120:17213,15114121:17214,15114130:17215,15114135:17216,15114137:17217,15114140:17218,15114145:17219,15114150:17220,15114160:17221,15114162:17222,15114166:17223,15114167:17224,15114642:17225,15114388:17226,15114393:17227,15114397:17228,15114399:17229,15114408:17230,15114407:17231,15114412:17232,15114413:17233,15114415:17234,15114416:17235,15114417:17236,15114419:17237,15114427:17238,15114431:17239,15114628:17240,15114629:17241,15114634:17242,15114636:17243,15114645:17244,15114647:17245,15114648:17246,15114651:17247,15114667:17248,15114670:17249,15114671:17250,15114672:17251,15114673:17252,15114674:17253,15114677:17254,15114681:17255,15114682:17256,15114683:17257,15114684:17258,15114882:17259,15114884:17260,15114886:17261,15114888:17262,15114902:17263,15114904:17264,15114906:17265,15114908:17266,15114913:17267,15114915:17268,15114917:17269,15114921:17270,15114922:17271,15114926:17272,15114930:17273,15114939:17274,15115141:17275,15115144:17276,15115148:17277,15115151:17278,15115152:17441,15115153:17442,15115155:17443,15115158:17444,15115161:17445,15115164:17446,15115165:17447,15115173:17448,15115176:17449,15115178:17450,15115179:17451,15115180:17452,15115181:17453,15115184:17454,15115185:17455,15115189:17456,15115190:17457,15115195:17458,15115196:17459,15115197:17460,15115398:17461,15115401:17462,15115402:17463,15115408:17464,15115409:17465,15115411:17466,15115414:17467,15115415:17468,15115441:17469,15115443:17470,15115445:17471,15115448:17472,15115451:17473,15115650:17474,15115653:17475,15115657:17476,15115662:17477,15115671:17478,15115675:17479,15115683:17480,15115684:17481,15115685:17482,15115686:17483,15115688:17484,15115689:17485,15115692:17486,15115696:17487,15115697:17488,15115698:17489,15115706:17490,15115707:17491,15115711:17492,15115904:17493,15115917:17494,15115922:17495,15115926:17496,15115928:17497,15115937:17498,15115941:17499,15115942:17500,15115944:17501,15115947:17502,15115949:17503,15115951:17504,15115959:17505,15115960:17506,15115962:17507,15115964:17508,15116165:17509,15116168:17510,15116177:17511,15116182:17512,15116183:17513,15116194:17514,15116197:17515,15116206:17516,15116207:17517,15116209:17518,15116211:17519,15116213:17520,15116222:17521,15116416:17522,15116417:17523,15116419:17524,15116431:17525,15116433:17526,15116437:17527,15116442:17528,15116445:17529,15116448:17530,15116452:17531,15116456:17532,15116464:17533,15116466:17534,15116468:17697,15116471:17698,15116475:17699,15116478:17700,15116479:17701,15116677:17702,15116678:17703,15116681:17704,15116682:17705,15116686:17706,15116688:17707,15116689:17708,15116690:17709,15116693:17710,15116694:17711,15116699:17712,15116708:17713,15116711:17714,15116714:17715,15116721:17716,15116723:17717,15116734:17718,15116929:17719,15116931:17720,15116934:17721,15116935:17722,15116937:17723,15116939:17724,15116945:17725,15116955:17726,15116957:17727,15116958:17728,15116959:17729,15116965:17730,15116971:17731,15116975:17732,15116976:17733,15116977:17734,15116980:17735,15116989:17736,15116990:17737,15116991:17738,15117190:17739,15117193:17740,15117192:17741,15117196:17742,15117200:17743,15117204:17744,15117205:17745,15117206:17746,15117212:17747,15117213:17748,15117220:17749,15117223:17750,15117228:17751,15117232:17752,15117233:17753,15117234:17754,15117244:17755,15117245:17756,15117442:17757,15117443:17758,15117446:17759,15117447:17760,15117449:17761,15117455:17762,15117456:17763,15117457:17764,15117463:17765,15117467:17766,15117470:17767,15117476:17768,15117480:17769,15117483:17770,15117484:17771,15117487:17772,15117493:17773,15117494:17774,15117499:17775,15117503:17776,15117702:17777,15117706:17778,15117709:17779,15117714:17780,15117718:17781,15117720:17782,15117725:17783,15117728:17784,15117735:17785,15117739:17786,15117742:17787,15117744:17788,15117749:17789,15117757:17790,15117758:17953,15117954:17954,15117957:17955,15117975:17956,15117979:17957,15117983:17958,15117984:17959,15117986:17960,15117987:17961,15117992:17962,15117993:17963,15117996:17964,15117997:17965,15117998:17966,15118e3:17967,15118008:17968,15118009:17969,15118013:17970,15118014:17971,15118211:17972,15118212:17973,15118217:17974,15118220:17975,15118230:17976,15118234:17977,15118241:17978,15118243:17979,15118246:17980,15118247:17981,15118254:17982,15118257:17983,15118263:17984,15118265:17985,15118271:17986,15118466:17987,15118468:17988,15118469:17989,15118473:17990,15118477:17991,15118478:17992,15118480:17993,15118482:17994,15118489:17995,15118495:17996,15118502:17997,15118503:17998,15118504:17999,15118508:18e3,15118510:18001,15118515:18002,15118517:18003,15118518:18004,15118522:18005,15118523:18006,15118527:18007,15118730:18008,15118731:18009,15118733:18010,15118735:18011,15118738:18012,15118740:18013,15118745:18014,15118747:18015,15118748:18016,15118763:18017,15118765:18018,15118767:18019,15118772:18020,15118774:18021,15118776:18022,15118777:18023,15118779:18024,15118981:18025,15118982:18026,15118983:18027,15118985:18028,15118996:18029,15118997:18030,15118999:18031,15119e3:18032,15119004:18033,15119007:18034,15119024:18035,15119026:18036,15119028:18037,15119234:18038,15119238:18039,15119245:18040,15119247:18041,15119248:18042,15119249:18043,15119250:18044,15119252:18045,15119254:18046,15119258:18209,15119260:18210,15119264:18211,15119271:18212,15119273:18213,15119275:18214,15119276:18215,15119278:18216,15119282:18217,15119284:18218,15119492:18219,15119495:18220,15119498:18221,15119502:18222,15119503:18223,15119505:18224,15119507:18225,15119514:18226,15119526:18227,15119527:18228,15119528:18229,15118759:18230,15119534:18231,15119535:18232,15119537:18233,15119545:18234,15119548:18235,15119551:18236,15119767:18237,15119774:18238,15119775:18239,15119777:18240,15119781:18241,15119783:18242,15119791:18243,15119792:18244,15119804:18245,15120002:18246,15120007:18247,15120017:18248,15120018:18249,15120020:18250,15120022:18251,15120023:18252,15120024:18253,15120042:18254,15120044:18255,15120052:18256,15120055:18257,15120057:18258,15120061:18259,15120063:18260,15120260:18261,15120264:18262,15120266:18263,15120270:18264,15120271:18265,15120278:18266,15120283:18267,15120285:18268,15120287:18269,15120288:18270,15120290:18271,15120293:18272,15120297:18273,15120303:18274,15120304:18275,15120308:18276,15120310:18277,15120316:18278,15120512:18279,15120516:18280,15120542:18281,15120546:18282,15120551:18283,15120562:18284,15120566:18285,15120569:18286,15120571:18287,15120572:18288,15120772:18289,15120773:18290,15120776:18291,15120777:18292,15120779:18293,15120783:18294,15120785:18295,15120786:18296,15120787:18297,15120788:18298,15120791:18299,15120796:18300,15120797:18301,15120798:18302,15120802:18465,15120803:18466,15120808:18467,15120819:18468,15120827:18469,15120829:18470,15121037:18471,15121043:18472,15121049:18473,15121056:18474,15121063:18475,15121069:18476,15121070:18477,15121073:18478,15121075:18479,15121083:18480,15121087:18481,15121280:18482,15121281:18483,15121283:18484,15121287:18485,15121288:18486,15121290:18487,15121293:18488,15121294:18489,15121295:18490,15121323:18491,15121325:18492,15121326:18493,15121337:18494,15121339:18495,15121341:18496,15121540:18497,15121544:18498,15121546:18499,15121548:18500,15121549:18501,15121558:18502,15121560:18503,15121562:18504,15121563:18505,15121574:18506,15121577:18507,15121578:18508,15121583:18509,15121584:18510,15121587:18511,15121590:18512,15121595:18513,15121596:18514,15121581:18515,15121807:18516,15121809:18517,15121810:18518,15121811:18519,15121815:18520,15121817:18521,15121818:18522,15121821:18523,15121822:18524,15121825:18525,15121826:18526,15121832:18527,15121836:18528,15121853:18529,15121854:18530,15122051:18531,15122055:18532,15122056:18533,15122059:18534,15122060:18535,15122061:18536,15122064:18537,15122066:18538,15122067:18539,15122068:18540,15122070:18541,15122074:18542,15122079:18543,15122080:18544,15122085:18545,15122086:18546,15122087:18547,15122088:18548,15122094:18549,15122095:18550,15122096:18551,15122101:18552,15122102:18553,15122108:18554,15122309:18555,15122311:18556,15122312:18557,15122314:18558,15122330:18721,15122334:18722,15122344:18723,15122345:18724,15122352:18725,15122357:18726,15122361:18727,15122364:18728,15122365:18729,15171712:18730,15171717:18731,15171718:18732,15171719:18733,15171725:18734,15171735:18735,15171744:18736,15171747:18737,15171759:18738,15171764:18739,15171767:18740,15171769:18741,15171772:18742,15171971:18743,15171972:18744,15171976:18745,15171977:18746,15171978:18747,15171979:18748,15171988:18749,15171989:18750,15171997:18751,15171998:18752,15171982:18753,15172004:18754,15172005:18755,15172012:18756,15172014:18757,15172021:18758,15172022:18759,15172030:18760,15172225:18761,15172229:18762,15172230:18763,15172244:18764,15172245:18765,15172246:18766,15172247:18767,15172248:18768,15172251:18769,15172260:18770,15172267:18771,15172272:18772,15172273:18773,15172276:18774,15172279:18775,15172490:18776,15172497:18777,15172499:18778,15172500:18779,15172501:18780,15172502:18781,15172504:18782,15172508:18783,15172516:18784,15172538:18785,15172739:18786,15172740:18787,15172741:18788,15172742:18789,15172743:18790,15172747:18791,15172748:18792,15172751:18793,15172766:18794,15172768:18795,15172779:18796,15172781:18797,15172783:18798,15172784:18799,15172785:18800,15172792:18801,15172993:18802,15172997:18803,15172998:18804,15172999:18805,15173002:18806,15173003:18807,15173008:18808,15173010:18809,15173015:18810,15173018:18811,15173020:18812,15173022:18813,15173024:18814,15173032:18977,15173049:18978,15173248:18979,15173253:18980,15173255:18981,15173260:18982,15173266:18983,15173274:18984,15173275:18985,15173280:18986,15173282:18987,15173295:18988,15173296:18989,15173298:18990,15173299:18991,15173306:18992,15173311:18993,15173504:18994,15173505:18995,15173508:18996,15173515:18997,15173516:18998,15173523:18999,15173526:19e3,15173529:19001,15173530:19002,15173532:19003,15173560:19004,15173566:19005,15173760:19006,15173767:19007,15173768:19008,15173769:19009,15173779:19010,15173783:19011,15173786:19012,15173789:19013,15173791:19014,15173796:19015,15173803:19016,15173807:19017,15173812:19018,15173816:19019,15173817:19020,15174017:19021,15174018:19022,15174019:19023,15174021:19024,15174030:19025,15174031:19026,15174032:19027,15174035:19028,15174037:19029,15174038:19030,15174042:19031,15174044:19032,15174046:19033,15174048:19034,15174051:19035,15174056:19036,15174059:19037,15174062:19038,15174063:19039,15174065:19040,15174071:19041,15174072:19042,15174075:19043,15174076:19044,15174079:19045,15174276:19046,15174281:19047,15174285:19048,15174286:19049,15174291:19050,15174299:19051,15174312:19052,15174317:19053,15174318:19054,15174321:19055,15174324:19056,15174334:19057,15174529:19058,15174535:19059,15174537:19060,15174540:19061,15174549:19062,15174550:19063,15174552:19064,15174559:19065,15174565:19066,15174579:19067,15174580:19068,15174586:19069,15174587:19070,15174590:19233,15174786:19234,15174788:19235,15174789:19236,15174791:19237,15174795:19238,15174797:19239,15174802:19240,15174803:19241,15174808:19242,15174809:19243,15174814:19244,15174818:19245,15174820:19246,15174823:19247,15174824:19248,15174828:19249,15174833:19250,15174834:19251,15174837:19252,15174842:19253,15174843:19254,15174845:19255,15175043:19256,15175053:19257,15175056:19258,15175058:19259,15175062:19260,15175064:19261,15175069:19262,15175070:19263,15175071:19264,15175072:19265,15175078:19266,15175079:19267,15175081:19268,15175083:19269,15175084:19270,15175086:19271,15175087:19272,15175089:19273,15175095:19274,15175097:19275,15175100:19276,15175296:19277,15175297:19278,15175299:19279,15175301:19280,15175302:19281,15175310:19282,15175312:19283,15175315:19284,15175317:19285,15175319:19286,15175320:19287,15175324:19288,15175326:19289,15175327:19290,15175328:19291,15175330:19292,15175333:19293,15175334:19294,15175338:19295,15175339:19296,15175341:19297,15175349:19298,15175351:19299,15175353:19300,15175356:19301,15175357:19302,15175359:19303,15175557:19304,15175558:19305,15175561:19306,15175563:19307,15175564:19308,15175567:19309,15175570:19310,15175571:19311,15175574:19312,15175577:19313,15175581:19314,15175585:19315,15175587:19316,15175590:19317,15175591:19318,15175593:19319,15175604:19320,15175605:19321,15175607:19322,15175609:19323,15175610:19324,15175611:19325,15175613:19326,15175615:19489,15175808:19490,15175809:19491,15175812:19492,15175815:19493,15175818:19494,15175825:19495,15175834:19496,15175835:19497,15175844:19498,15175846:19499,15175848:19500,15175849:19501,15175850:19502,15175851:19503,15175852:19504,15175853:19505,15175854:19506,15175855:19507,15175856:19508,15175857:19509,15175865:19510,15176064:19511,15176067:19512,15176068:19513,15176070:19514,15176071:19515,15176075:19516,15176077:19517,15176081:19518,15176082:19519,15176087:19520,15176093:19521,15176098:19522,15176102:19523,15176103:19524,15176104:19525,15176107:19526,15176109:19527,15176110:19528,15176113:19529,15176114:19530,15176320:19531,15176321:19532,15176325:19533,15176326:19534,15176327:19535,15176329:19536,15176335:19537,15176336:19538,15176337:19539,15176338:19540,15176344:19541,15176345:19542,15176346:19543,15176348:19544,15176351:19545,15176352:19546,15176353:19547,15176355:19548,15176358:19549,15176360:19550,15176361:19551,15176362:19552,15176363:19553,15176366:19554,15176367:19555,15176369:19556,15176370:19557,15176373:19558,15176377:19559,15176379:19560,15176383:19561,15176584:19562,15176585:19563,15176588:19564,15176592:19565,15176595:19566,15176600:19567,15176602:19568,15176603:19569,15176606:19570,15176607:19571,15176612:19572,15176616:19573,15176618:19574,15176619:19575,15176623:19576,15176628:19577,15176634:19578,15176635:19579,15176636:19580,15176639:19581,15176838:19582,15176850:19745,15176854:19746,15176855:19747,15176864:19748,15176865:19749,15176868:19750,15176871:19751,15176873:19752,15176874:19753,15176879:19754,15176886:19755,15176889:19756,15176893:19757,15176894:19758,15176895:19759,15177088:19760,15177091:19761,15177095:19762,15177096:19763,15177102:19764,15177104:19765,15177106:19766,15177111:19767,15177118:19768,15177119:19769,15177121:19770,15177135:19771,15177137:19772,15177145:19773,15177146:19774,15177147:19775,15177148:19776,15177149:19777,15177150:19778,15177345:19779,15177349:19780,15177360:19781,15177362:19782,15177363:19783,15177365:19784,15177369:19785,15177372:19786,15177378:19787,15177380:19788,15177396:19789,15177402:19790,15177407:19791,15177600:19792,15177601:19793,15177604:19794,15177606:19795,15177612:19796,15177614:19797,15177615:19798,15177623:19799,15177628:19800,15177631:19801,15177632:19802,15177633:19803,15177636:19804,15177639:19805,15177644:19806,15177646:19807,15177647:19808,15177649:19809,15177657:19810,15177856:19811,15177858:19812,15177859:19813,15177860:19814,15177863:19815,15177864:19816,15177866:19817,15177868:19818,15177871:19819,15177874:19820,15177875:19821,15177877:19822,15177878:19823,15177881:19824,15177883:19825,15177884:19826,15177885:19827,15177886:19828,15177891:19829,15177893:19830,15177894:19831,15177897:19832,15177901:19833,15177906:19834,15177907:19835,15177909:19836,15177912:19837,15177913:19838,15177914:20001,15177916:20002,15178122:20003,15178112:20004,15178113:20005,15178115:20006,15178116:20007,15178117:20008,15178121:20009,15178123:20010,15178133:20011,15178137:20012,15178143:20013,15178148:20014,15178149:20015,15178157:20016,15178158:20017,15178159:20018,15178161:20019,15178164:20020,15178369:20021,15178373:20022,15178380:20023,15178381:20024,15178389:20025,15178395:20026,15178396:20027,15178397:20028,15178399:20029,15178400:20030,15178402:20031,15178403:20032,15178404:20033,15178405:20034,15178406:20035,15178407:20036,15178408:20037,15178410:20038,15178413:20039,15178429:20040,15178625:20041,15178629:20042,15178633:20043,15178635:20044,15178636:20045,15178638:20046,15178644:20047,15178649:20048,15178656:20049,15178662:20050,15178664:20051,15178668:20052,15178672:20053,15178673:20054,15178678:20055,15178681:20056,15178684:20057,15178880:20058,15178886:20059,15178890:20060,15178894:20061,15178898:20062,15178900:20063,15178901:20064,15178903:20065,15178905:20066,15178906:20067,15178908:20068,15178914:20069,15178920:20070,15178925:20071,15178926:20072,15178927:20073,15178932:20074,15178933:20075,15178934:20076,15178937:20077,15178941:20078,15178942:20079,15179138:20080,15179141:20081,15179142:20082,15179146:20083,15179149:20084,15179150:20085,15179151:20086,15179154:20087,15179158:20088,15179159:20089,15179164:20090,15179166:20091,15179167:20092,15179168:20093,15179170:20094,15179172:20257,15179175:20258,15179178:20259,15179180:20260,15179184:20261,15179186:20262,15179187:20263,15179188:20264,15179194:20265,15179197:20266,15179392:20267,15179396:20268,15179404:20269,15179405:20270,15179412:20271,15179413:20272,15179414:20273,15179418:20274,15179423:20275,15179426:20276,15179431:20277,15179434:20278,15179438:20279,15179439:20280,15179441:20281,15179445:20282,15179454:20283,15179651:20284,15179657:20285,15179665:20286,15179666:20287,15179669:20288,15179673:20289,15179678:20290,15179679:20291,15179680:20292,15179684:20293,15179686:20294,15179690:20295,15179692:20296,15179696:20297,15179697:20298,15179700:20299,15179704:20300,15179707:20301,15179909:20302,15179910:20303,15179913:20304,15179917:20305,15179918:20306,15179921:20307,15179933:20308,15179937:20309,15179938:20310,15179939:20311,15179949:20312,15179950:20313,15179952:20314,15179957:20315,15179959:20316,15180163:20317,15180164:20318,15180167:20319,15180168:20320,15180172:20321,15180174:20322,15180178:20323,15180188:20324,15180190:20325,15180192:20326,15180193:20327,15180195:20328,15180196:20329,15180200:20330,15180202:20331,15180206:20332,15180218:20333,15180222:20334,15180426:20335,15180431:20336,15180436:20337,15180440:20338,15180449:20339,15180445:20340,15180446:20341,15180447:20342,15180452:20343,15180456:20344,15180460:20345,15180461:20346,15180464:20347,15180465:20348,15180466:20349,15180467:20350,15180475:20513,15180477:20514,15180479:20515,15180679:20516,15180680:20517,15180681:20518,15180684:20519,15180686:20520,15180690:20521,15180691:20522,15180693:20523,15180694:20524,15180708:20525,15180699:20526,15180703:20527,15180704:20528,15180705:20529,15180710:20530,15180714:20531,15180722:20532,15180723:20533,15180928:20534,15180726:20535,15180727:20536,15180730:20537,15180731:20538,15180735:20539,15180934:20540,15180940:20541,15180944:20542,15180954:20543,15180956:20544,15180958:20545,15180959:20546,15180960:20547,15180965:20548,15180967:20549,15180969:20550,15180973:20551,15180977:20552,15180980:20553,15180981:20554,15180987:20555,15180989:20556,15180991:20557,15181188:20558,15181189:20559,15181190:20560,15181194:20561,15181195:20562,15181199:20563,15181201:20564,15181204:20565,15181208:20566,15181211:20567,15181212:20568,15181223:20569,15181225:20570,15181227:20571,15181234:20572,15181241:20573,15181243:20574,15181244:20575,15181246:20576,15181451:20577,15181452:20578,15181457:20579,15181459:20580,15181460:20581,15181461:20582,15181462:20583,15181464:20584,15181467:20585,15181468:20586,15181473:20587,15181480:20588,15181481:20589,15181483:20590,15181487:20591,15181489:20592,15181492:20593,15181496:20594,15181499:20595,15181698:20596,15181700:20597,15181703:20598,15181704:20599,15181706:20600,15181711:20601,15181716:20602,15181718:20603,15181722:20604,15181725:20605,15181726:20606,15181728:20769,15181730:20770,15181733:20771,15181738:20772,15181739:20773,15181741:20774,15181745:20775,15181752:20776,15181756:20777,15181954:20778,15181955:20779,15181959:20780,15181961:20781,15181962:20782,15181964:20783,15181969:20784,15181973:20785,15181979:20786,15181982:20787,15181985:20788,15181991:20789,15181995:20790,15181997:20791,15181999:20792,15182e3:20793,15182004:20794,15182005:20795,15182008:20796,15182009:20797,15182010:20798,15182212:20799,15182213:20800,15182215:20801,15182216:20802,15182220:20803,15182229:20804,15182230:20805,15182233:20806,15182236:20807,15182237:20808,15182239:20809,15182240:20810,15182245:20811,15182247:20812,15182250:20813,15182253:20814,15182261:20815,15182264:20816,15182270:20817,15182464:20818,15182466:20819,15182469:20820,15182470:20821,15182474:20822,15182475:20823,15182480:20824,15182481:20825,15182484:20826,15182494:20827,15182496:20828,15182499:20829,15182508:20830,15182515:20831,15182517:20832,15182521:20833,15182523:20834,15182524:20835,15182726:20836,15182729:20837,15182732:20838,15182734:20839,15182737:20840,15182747:20841,15182760:20842,15182761:20843,15182763:20844,15182764:20845,15182769:20846,15182772:20847,15182779:20848,15182781:20849,15182782:20850,15182983:20851,15182996:20852,15183007:20853,15183011:20854,15183015:20855,15183017:20856,15183018:20857,15183019:20858,15183021:20859,15183022:20860,15183023:20861,15183024:20862,15183025:21025,15183028:21026,15183037:21027,15183039:21028,15183232:21029,15183233:21030,15183239:21031,15183246:21032,15183253:21033,15183264:21034,15183268:21035,15183270:21036,15183273:21037,15183274:21038,15183277:21039,15183279:21040,15183282:21041,15183283:21042,15183287:21043,15183492:21044,15183497:21045,15183502:21046,15183504:21047,15183505:21048,15183510:21049,15183515:21050,15183518:21051,15183520:21052,15183525:21053,15183532:21054,15183535:21055,15183536:21056,15183538:21057,15183541:21058,15183542:21059,15183546:21060,15183547:21061,15183548:21062,15183549:21063,15183746:21064,15183749:21065,15183752:21066,15183754:21067,15183764:21068,15183766:21069,15183767:21070,15183769:21071,15183770:21072,15183771:21073,15183784:21074,15183786:21075,15183794:21076,15183796:21077,15183797:21078,15183800:21079,15183801:21080,15183802:21081,15183804:21082,15183806:21083,15184001:21084,15184002:21085,15184003:21086,15184004:21087,15184006:21088,15184009:21089,15184011:21090,15184012:21091,15184014:21092,15184015:21093,15184025:21094,15184027:21095,15184032:21096,15184037:21097,15184038:21098,15184040:21099,15184044:21100,15184049:21101,15184051:21102,15184052:21103,15184054:21104,15184057:21105,15184058:21106,15184262:21107,15184266:21108,15184277:21109,15184273:21110,15184274:21111,15184275:21112,15184281:21113,15184282:21114,15184283:21115,15184284:21116,15184285:21117,15184286:21118,15184289:21281,15184291:21282,15184295:21283,15184297:21284,15184301:21285,15184302:21286,15184304:21287,15184306:21288,15184313:21289,15184316:21290,15184317:21291,15184518:21292,15184519:21293,15184527:21294,15184532:21295,15184542:21296,15184544:21297,15184550:21298,15184560:21299,15184566:21300,15184567:21301,15184570:21302,15184571:21303,15184572:21304,15184575:21305,15184772:21306,15184775:21307,15184776:21308,15184777:21309,15184781:21310,15184783:21311,15184787:21312,15184788:21313,15184789:21314,15184791:21315,15184793:21316,15184794:21317,15184797:21318,15184806:21319,15184809:21320,15184811:21321,15184821:21322,15185027:21323,15185031:21324,15185032:21325,15185033:21326,15185039:21327,15185041:21328,15185042:21329,15185043:21330,15185046:21331,15185053:21332,15185054:21333,15185059:21334,15185062:21335,15185066:21336,15185069:21337,15185073:21338,15185084:21339,15185085:21340,15185086:21341,15185280:21342,15185281:21343,15185287:21344,15185288:21345,15185293:21346,15185297:21347,15185299:21348,15185303:21349,15185305:21350,15185306:21351,15185308:21352,15185309:21353,15185317:21354,15185319:21355,15185322:21356,15185328:21357,15185336:21358,15185338:21359,15185339:21360,15185343:21361,15185537:21362,15185538:21363,15185539:21364,15185541:21365,15185542:21366,15185544:21367,15185547:21368,15185548:21369,15185549:21370,15185553:21371,15185558:21372,15185559:21373,15185565:21374,15185566:21537,15185574:21538,15185575:21539,15185578:21540,15185587:21541,15185590:21542,15185591:21543,15185593:21544,15185794:21545,15185795:21546,15185796:21547,15185797:21548,15185798:21549,15185804:21550,15185805:21551,15185806:21552,15185815:21553,15185817:21554,15186048:21555,15185826:21556,15185829:21557,15185830:21558,15185834:21559,15185835:21560,15185837:21561,15185841:21562,15185845:21563,15185846:21564,15185849:21565,15185850:21566,15186056:21567,15186064:21568,15186065:21569,15186069:21570,15186071:21571,15186076:21572,15186077:21573,15186080:21574,15186087:21575,15186088:21576,15186092:21577,15186093:21578,15186095:21579,15186099:21580,15186102:21581,15186111:21582,15186308:21583,15186309:21584,15186311:21585,15186318:21586,15186320:21587,15186322:21588,15186328:21589,15186335:21590,15186337:21591,15186338:21592,15186341:21593,15186347:21594,15186350:21595,15186351:21596,15186355:21597,15186360:21598,15186366:21599,15186561:21600,15186566:21601,15186567:21602,15186570:21603,15186573:21604,15186577:21605,15186581:21606,15186584:21607,15186586:21608,15186589:21609,15186590:21610,15187132:21611,15187131:21612,15187133:21613,15187134:21614,15187135:21615,15187331:21616,15187332:21617,15187335:21618,15187343:21619,15187346:21620,15187347:21621,15187355:21622,15187356:21623,15187357:21624,15187361:21625,15187363:21626,15187364:21627,15187365:21628,15187366:21629,15187373:21630,15187377:21793,15187389:21794,15187390:21795,15187391:21796,15187584:21797,15187595:21798,15187597:21799,15187599:21800,15187600:21801,15187601:21802,15187606:21803,15187607:21804,15187612:21805,15187617:21806,15187618:21807,15187622:21808,15187626:21809,15187629:21810,15187636:21811,15187644:21812,15187647:21813,15187840:21814,15187843:21815,15187848:21816,15187854:21817,15187855:21818,15187867:21819,15187871:21820,15187875:21821,15187877:21822,15187880:21823,15187884:21824,15187886:21825,15187887:21826,15187890:21827,15187898:21828,15187901:21829,15187902:21830,15187903:21831,15237255:21832,15237256:21833,15237258:21834,15237261:21835,15237262:21836,15237263:21837,15237265:21838,15237267:21839,15237268:21840,15237270:21841,15237277:21842,15237278:21843,15237279:21844,15237280:21845,15237284:21846,15237286:21847,15237292:21848,15237294:21849,15237296:21850,15237300:21851,15237301:21852,15237303:21853,15237305:21854,15237306:21855,15237308:21856,15237310:21857,15237504:21858,15237508:21859,15237536:21860,15237540:21861,15237542:21862,15237549:21863,15237553:21864,15237557:21865,15237761:21866,15237768:21867,15237774:21868,15237788:21869,15237790:21870,15237798:21871,15237799:21872,15237803:21873,15237816:21874,15237817:21875,15238024:21876,15238029:21877,15238031:21878,15238034:21879,15238036:21880,15238037:21881,15238039:21882,15238040:21883,15238048:21884,15238061:21885,15238062:21886,15238064:22049,15238066:22050,15238067:22051,15238070:22052,15238073:22053,15238074:22054,15238078:22055,15238275:22056,15238283:22057,15238294:22058,15238295:22059,15238296:22060,15238300:22061,15238302:22062,15238304:22063,15238308:22064,15238311:22065,15238316:22066,15238320:22067,15238325:22068,15238330:22069,15238332:22070,15238533:22071,15238535:22072,15238538:22073,15238540:22074,15238546:22075,15238551:22076,15238560:22077,15238561:22078,15238567:22079,15238568:22080,15238569:22081,15238573:22082,15238575:22083,15238583:22084,15238785:22085,15238800:22086,15238788:22087,15238789:22088,15238790:22089,15238795:22090,15238798:22091,15238806:22092,15238808:22093,15238811:22094,15238814:22095,15238818:22096,15238830:22097,15238834:22098,15238836:22099,15238843:22100,15239051:22101,15239043:22102,15239045:22103,15239050:22104,15239054:22105,15239055:22106,15239061:22107,15239063:22108,15239067:22109,15239069:22110,15239070:22111,15239073:22112,15239076:22113,15239083:22114,15239084:22115,15239088:22116,15239089:22117,15239090:22118,15239093:22119,15239094:22120,15239096:22121,15239097:22122,15239101:22123,15239103:22124,15239296:22125,15239299:22126,15239311:22127,15239315:22128,15239316:22129,15239321:22130,15239322:22131,15239325:22132,15239329:22133,15239330:22134,15239336:22135,15239346:22136,15239348:22137,15239354:22138,15239555:22139,15239556:22140,15239557:22141,15239558:22142,15239563:22305,15239566:22306,15239567:22307,15239569:22308,15239574:22309,15239580:22310,15239584:22311,15239587:22312,15239591:22313,15239597:22314,15239604:22315,15239611:22316,15239613:22317,15239615:22318,15239808:22319,15239809:22320,15239811:22321,15239812:22322,15239815:22323,15239817:22324,15239818:22325,15239822:22326,15239825:22327,15239828:22328,15239830:22329,15239832:22330,15239834:22331,15239835:22332,15239840:22333,15239841:22334,15239843:22335,15239844:22336,15239847:22337,15239848:22338,15239849:22339,15239850:22340,15239854:22341,15239856:22342,15239858:22343,15239860:22344,15239863:22345,15239866:22346,15239868:22347,15239870:22348,15239871:22349,15240070:22350,15240080:22351,15240085:22352,15240090:22353,15240096:22354,15240098:22355,15240100:22356,15240104:22357,15240106:22358,15240109:22359,15240111:22360,15240118:22361,15240119:22362,15240125:22363,15240126:22364,15240320:22365,15240321:22366,15240327:22367,15240328:22368,15240330:22369,15240331:22370,15240596:22371,15240347:22372,15240349:22373,15240350:22374,15240351:22375,15240353:22376,15240354:22377,15240364:22378,15240365:22379,15240366:22380,15240368:22381,15240371:22382,15240375:22383,15240378:22384,15240380:22385,15240381:22386,15240578:22387,15240579:22388,15240580:22389,15240583:22390,15240589:22391,15240590:22392,15240593:22393,15240597:22394,15240598:22395,15240599:22396,15240624:22397,15240632:22398,15240637:22561,15240639:22562,15240832:22563,15240834:22564,15240836:22565,15240838:22566,15240845:22567,15240850:22568,15240852:22569,15240853:22570,15240856:22571,15240857:22572,15240859:22573,15240860:22574,15240861:22575,15240870:22576,15240871:22577,15240873:22578,15240876:22579,15240894:22580,15240895:22581,15241088:22582,15241095:22583,15241097:22584,15241103:22585,15241104:22586,15241105:22587,15241108:22588,15241117:22589,15240595:22590,15241128:22591,15241130:22592,15241142:22593,15241144:22594,15241145:22595,15241148:22596,15241345:22597,15241350:22598,15241354:22599,15241359:22600,15241361:22601,15241365:22602,15241369:22603,15240877:22604,15241391:22605,15241401:22606,15241605:22607,15241607:22608,15241608:22609,15241610:22610,15241613:22611,15241615:22612,15241617:22613,15241618:22614,15241622:22615,15241624:22616,15241625:22617,15241626:22618,15241628:22619,15241632:22620,15241636:22621,15241637:22622,15241639:22623,15241642:22624,15241648:22625,15241651:22626,15241652:22627,15241654:22628,15241656:22629,15241660:22630,15241661:22631,15241857:22632,15241861:22633,15241874:22634,15241875:22635,15241877:22636,15241886:22637,15241894:22638,15241896:22639,15241897:22640,15241898:22641,15241903:22642,15241905:22643,15241908:22644,15241914:22645,15241917:22646,15241918:22647,15242112:22648,15242114:22649,15242119:22650,15242120:22651,15242124:22652,15242127:22653,15242131:22654,15242140:22817,15242151:22818,15242154:22819,15242159:22820,15242160:22821,15242161:22822,15242162:22823,15242167:22824,15242418:22825,15242170:22826,15242171:22827,15242173:22828,15242370:22829,15242371:22830,15242375:22831,15242380:22832,15242382:22833,15242384:22834,15242396:22835,15242398:22836,15242402:22837,15242403:22838,15242404:22839,15242405:22840,15242407:22841,15242410:22842,15242411:22843,15242415:22844,15242419:22845,15242420:22846,15242422:22847,15242431:22848,15242630:22849,15242639:22850,15242640:22851,15242641:22852,15242642:22853,15242643:22854,15242646:22855,15242649:22856,15242652:22857,15242653:22858,15242654:22859,15242655:22860,15242656:22861,15242657:22862,15242658:22863,15242660:22864,15242667:22865,15242671:22866,15242681:22867,15242682:22868,15242683:22869,15242685:22870,15242687:22871,15242881:22872,15242885:22873,15242886:22874,15242889:22875,15242891:22876,15242892:22877,15242895:22878,15242899:22879,15242904:22880,15242909:22881,15242911:22882,15242912:22883,15242914:22884,15242917:22885,15242919:22886,15242932:22887,15242934:22888,15242935:22889,15242936:22890,15242940:22891,15242941:22892,15242942:22893,15242943:22894,15243138:22895,15243143:22896,15243146:22897,15243147:22898,15243150:22899,15242925:22900,15243160:22901,15243162:22902,15243167:22903,15243168:22904,15243174:22905,15243176:22906,15243181:22907,15243187:22908,15243190:22909,15243196:22910,15243199:23073,15243392:23074,15243396:23075,15243397:23076,15243405:23077,15243406:23078,15243408:23079,15243409:23080,15243410:23081,15243416:23082,15243417:23083,15243419:23084,15243422:23085,15243425:23086,15243431:23087,15243433:23088,15243446:23089,15243448:23090,15243450:23091,15243452:23092,15243453:23093,15243648:23094,15243650:23095,15243654:23096,15243666:23097,15243667:23098,15243670:23099,15243671:23100,15243672:23101,15243673:23102,15243677:23103,15243680:23104,15243681:23105,15243682:23106,15243683:23107,15243684:23108,15243689:23109,15243692:23110,15243695:23111,15243701:23112,15243702:23113,15243703:23114,15243706:23115,15243917:23116,15243921:23117,15243926:23118,15243928:23119,15243930:23120,15243932:23121,15243937:23122,15243942:23123,15243943:23124,15243944:23125,15243949:23126,15243953:23127,15243955:23128,15243956:23129,15243957:23130,15243959:23131,15243960:23132,15243961:23133,15243967:23134,15244160:23135,15244161:23136,15244163:23137,15244165:23138,15244177:23139,15244178:23140,15244181:23141,15244183:23142,15244186:23143,15244188:23144,15244192:23145,15244195:23146,15244197:23147,15244199:23148,15243912:23149,15244218:23150,15244220:23151,15244221:23152,15244420:23153,15244421:23154,15244423:23155,15244427:23156,15244430:23157,15244431:23158,15244432:23159,15244435:23160,15244436:23161,15244441:23162,15244446:23163,15244447:23164,15244449:23165,15244451:23166,15244456:23329,15244462:23330,15244463:23331,15244465:23332,15244466:23333,15244473:23334,15244474:23335,15244476:23336,15244477:23337,15244478:23338,15244672:23339,15244675:23340,15244677:23341,15244685:23342,15244696:23343,15244701:23344,15244705:23345,15244708:23346,15244709:23347,15244719:23348,15244721:23349,15244722:23350,15244731:23351,15244931:23352,15244932:23353,15244933:23354,15244934:23355,15244935:23356,15244936:23357,15244937:23358,15244939:23359,15244940:23360,15244944:23361,15244947:23362,15244949:23363,15244951:23364,15244952:23365,15244953:23366,15244958:23367,15244960:23368,15244963:23369,15244967:23370,15244972:23371,15244973:23372,15244974:23373,15244977:23374,15244981:23375,15244990:23376,15244991:23377,15245185:23378,15245192:23379,15245193:23380,15245194:23381,15245198:23382,15245205:23383,15245206:23384,15245209:23385,15245210:23386,15245212:23387,15245215:23388,15245218:23389,15245219:23390,15245220:23391,15245226:23392,15245227:23393,15245229:23394,15245233:23395,15245235:23396,15245240:23397,15245242:23398,15245247:23399,15245441:23400,15245443:23401,15245446:23402,15245449:23403,15245450:23404,15245451:23405,15245456:23406,15245465:23407,15245458:23408,15245459:23409,15245460:23410,15245464:23411,15245466:23412,15245467:23413,15245468:23414,15245470:23415,15245471:23416,15245480:23417,15245485:23418,15245486:23419,15245488:23420,15245490:23421,15245493:23422,15245498:23585,15245500:23586,15245697:23587,15245699:23588,15245701:23589,15245704:23590,15245705:23591,15245706:23592,15245707:23593,15245710:23594,15245713:23595,15245717:23596,15245718:23597,15245720:23598,15245722:23599,15245724:23600,15245727:23601,15245728:23602,15245732:23603,15245737:23604,15245745:23605,15245753:23606,15245755:23607,15245952:23608,15245976:23609,15245978:23610,15245979:23611,15245980:23612,15245983:23613,15245984:23614,15245992:23615,15245994:23616,15246010:23617,15246013:23618,15246014:23619,15246208:23620,15246218:23621,15246219:23622,15246220:23623,15246221:23624,15246222:23625,15246225:23626,15246226:23627,15246227:23628,15246235:23629,15246238:23630,15246247:23631,15246255:23632,15246256:23633,15246257:23634,15246261:23635,15246263:23636,15246465:23637,15246470:23638,15246477:23639,15246478:23640,15246479:23641,15246485:23642,15246486:23643,15246488:23644,15246489:23645,15246490:23646,15246492:23647,15246496:23648,15246502:23649,15246503:23650,15246504:23651,15246512:23652,15246513:23653,15246514:23654,15246517:23655,15246521:23656,15246522:23657,15246526:23658,15246720:23659,15246722:23660,15246725:23661,15246726:23662,15246729:23663,15246735:23664,15246738:23665,15246743:23666,15246746:23667,15246747:23668,15246748:23669,15246753:23670,15246754:23671,15246755:23672,15246763:23673,15246766:23674,15246768:23675,15246771:23676,15246773:23677,15246778:23678,15246779:23841,15246780:23842,15246781:23843,15246985:23844,15246989:23845,15246992:23846,15246996:23847,15246997:23848,15247003:23849,15247004:23850,15247007:23851,15247008:23852,15247013:23853,15247024:23854,15247028:23855,15247029:23856,15247030:23857,15247031:23858,15247036:23859,15247252:23860,15247253:23861,15247254:23862,15247255:23863,15247256:23864,15247269:23865,15247273:23866,15247275:23867,15247277:23868,15247281:23869,15247283:23870,15247286:23871,15247289:23872,15247293:23873,15247295:23874,15247492:23875,15247493:23876,15247495:23877,15247503:23878,15247505:23879,15247506:23880,15247508:23881,15247509:23882,15247518:23883,15247520:23884,15247522:23885,15247524:23886,15247526:23887,15247531:23888,15247532:23889,15247535:23890,15247541:23891,15247543:23892,15247549:23893,15247550:23894,15247744:23895,15247747:23896,15247749:23897,15247751:23898,15247753:23899,15247757:23900,15247758:23901,15247763:23902,15247766:23903,15247767:23904,15247768:23905,15247772:23906,15247773:23907,15247777:23908,15247781:23909,15247783:23910,15247797:23911,15247798:23912,15247799:23913,15247801:23914,15247802:23915,15247803:23916,15247806:23917,15247807:23918,15248e3:23919,15248003:23920,15248006:23921,15248011:23922,15248015:23923,15248016:23924,15248018:23925,15248022:23926,15248023:23927,15248025:23928,15248031:23929,15248039:23930,15248041:23931,15248046:23932,15248047:23933,15248051:23934,15248054:24097,15248055:24098,15248059:24099,15248062:24100,15248259:24101,15248262:24102,15248264:24103,15248265:24104,15248266:24105,15248273:24106,15248275:24107,15248276:24108,15248277:24109,15248279:24110,15248285:24111,15248287:24112,15248300:24113,15248304:24114,15248308:24115,15248309:24116,15248310:24117,15248316:24118,15248319:24119,15248517:24120,15248518:24121,15248523:24122,15248529:24123,15248540:24124,15248542:24125,15248543:24126,15248522:24127,15248557:24128,15248560:24129,15248567:24130,15248572:24131,15248770:24132,15248771:24133,15248772:24134,15248773:24135,15248774:24136,15248776:24137,15248786:24138,15248787:24139,15248788:24140,15248793:24141,15248781:24142,15248798:24143,15248803:24144,15248813:24145,15248822:24146,15248824:24147,15248825:24148,15248828:24149,15248830:24150,15249025:24151,15249028:24152,15249029:24153,15249035:24154,15249037:24155,15249039:24156,15249044:24157,15249045:24158,15249052:24159,15249054:24160,15249055:24161,15249592:24162,15249593:24163,15249597:24164,15249598:24165,15249797:24166,15249799:24167,15249801:24168,15249803:24169,15249807:24170,15249809:24171,15249811:24172,15249812:24173,15249815:24174,15249816:24175,15249819:24176,15249821:24177,15249817:24178,15249827:24179,15249828:24180,15249830:24181,15249832:24182,15249833:24183,15249837:24184,15249843:24185,15249845:24186,15249846:24187,15249851:24188,15249854:24189,15250054:24190,15250055:24353,15250059:24354,15250064:24355,15250066:24356,15250067:24357,15250073:24358,15250075:24359,15250076:24360,15250084:24361,15250105:24362,15250106:24363,15250309:24364,15250310:24365,15250313:24366,15250315:24367,15250319:24368,15250326:24369,15250325:24370,15250329:24371,15250333:24372,15250337:24373,15250344:24374,15250348:24375,15250351:24376,15250352:24377,15250354:24378,15250357:24379,15250359:24380,15250360:24381,15250366:24382,15250367:24383,15250561:24384,15250563:24385,15250569:24386,15250578:24387,15250583:24388,15250587:24389,15250853:24390,15250857:24391,15250860:24392,15250862:24393,15250879:24394,15251074:24395,15251076:24396,15251080:24397,15251085:24398,15251088:24399,15251089:24400,15251093:24401,15251102:24402,15251103:24403,15251104:24404,15251110:24405,15251115:24406,15251116:24407,15251119:24408,15251122:24409,15251125:24410,15251127:24411,15251129:24412,15251131:24413,15251328:24414,15251333:24415,15251334:24416,15251335:24417,15251336:24418,15251338:24419,15251342:24420,15251345:24421,15251348:24422,15251349:24423,15251351:24424,15251353:24425,15251364:24426,15251365:24427,15251367:24428,15251372:24429,15251376:24430,15251132:24431,15251377:24432,15251378:24433,15251380:24434,15251389:24435,15251585:24436,15251588:24437,15251589:24438,15251590:24439,15251595:24440,15251601:24441,15251604:24442,15251606:24443,15251616:24444,15251617:24445,15251618:24446,15251619:24609,15251622:24610,15251623:24611,15251633:24612,15251635:24613,15251638:24614,15251639:24615,15251640:24616,15251641:24617,15251645:24618,15251840:24619,15251841:24620,15251851:24621,15251853:24622,15251854:24623,15251855:24624,15251860:24625,15251867:24626,15251868:24627,15251869:24628,15251870:24629,15251873:24630,15251874:24631,15251881:24632,15251884:24633,15251885:24634,15251887:24635,15251888:24636,15251889:24637,15251897:24638,15251898:24639,15251899:24640,15252098:24641,15252099:24642,15252105:24643,15252112:24644,15252114:24645,15252117:24646,15252122:24647,15252123:24648,15252125:24649,15252126:24650,15252130:24651,15252135:24652,15252137:24653,15252141:24654,15252142:24655,15252147:24656,15252149:24657,15252154:24658,15252155:24659,15252352:24660,15252353:24661,15252355:24662,15252356:24663,15252359:24664,15252367:24665,15252369:24666,15252372:24667,15252380:24668,15252392:24669,15252398:24670,15252400:24671,15252401:24672,15252407:24673,15252409:24674,15252410:24675,15252397:24676,15252608:24677,15252610:24678,15252615:24679,15252616:24680,15252623:24681,15252624:24682,15252630:24683,15252631:24684,15252632:24685,15252638:24686,15252640:24687,15252641:24688,15252643:24689,15252645:24690,15252647:24691,15252648:24692,15252652:24693,15252653:24694,15252654:24695,15252660:24696,15252661:24697,15252662:24698,15252663:24699,15252666:24700,15252864:24701,15252865:24702,15252867:24865,15252871:24866,15252879:24867,15252881:24868,15252882:24869,15252883:24870,15252884:24871,15252885:24872,15252888:24873,15252893:24874,15252894:24875,15252901:24876,15253149:24877,15253152:24878,15253153:24879,15253156:24880,15253157:24881,15253158:24882,15253173:24883,15253174:24884,15253176:24885,15253182:24886,15253376:24887,15253377:24888,15253382:24889,15253386:24890,15253387:24891,15253389:24892,15253392:24893,15253394:24894,15253395:24895,15253397:24896,15253408:24897,15253411:24898,15253412:24899,15253416:24900,15253422:24901,15253425:24902,15253429:24903,15253430:24904,15253435:24905,15253438:24906,15302786:24907,15302788:24908,15302792:24909,15302796:24910,15302808:24911,15302811:24912,15302824:24913,15302825:24914,15302831:24915,15302826:24916,15302828:24917,15302829:24918,15302835:24919,15302836:24920,15302839:24921,15302847:24922,15303043:24923,15303044:24924,15303052:24925,15303067:24926,15303069:24927,15303074:24928,15303078:24929,15303079:24930,15303084:24931,15303088:24932,15303092:24933,15303097:24934,15303301:24935,15303304:24936,15303307:24937,15303308:24938,15303310:24939,15303312:24940,15303317:24941,15303319:24942,15303320:24943,15303321:24944,15303323:24945,15303328:24946,15303329:24947,15303330:24948,15303333:24949,15303344:24950,15303346:24951,15303347:24952,15303348:24953,15303350:24954,15303357:24955,15303564:24956,15303358:24957,15303555:24958,15303556:25121,15303557:25122,15303559:25123,15303560:25124,15303573:25125,15303575:25126,15303576:25127,15303577:25128,15303580:25129,15303581:25130,15303583:25131,15303589:25132,15303570:25133,15303606:25134,15303595:25135,15303599:25136,15303600:25137,15303604:25138,15303614:25139,15303615:25140,15303808:25141,15303812:25142,15303813:25143,15303814:25144,15303816:25145,15303821:25146,15303824:25147,15303828:25148,15303830:25149,15303831:25150,15303832:25151,15303834:25152,15303836:25153,15303838:25154,15303840:25155,15303845:25156,15303842:25157,15303843:25158,15303847:25159,15303849:25160,15303854:25161,15303855:25162,15303857:25163,15303860:25164,15303862:25165,15303863:25166,15303865:25167,15303866:25168,15303868:25169,15303869:25170,15304067:25171,15304071:25172,15304072:25173,15304079:25174,15304083:25175,15304087:25176,15304089:25177,15304090:25178,15304091:25179,15304097:25180,15304100:25181,15304103:25182,15304109:25183,15304116:25184,15304121:25185,15304122:25186,15304123:25187,15304321:25188,15304323:25189,15304325:25190,15304326:25191,15304330:25192,15304334:25193,15304337:25194,15304339:25195,15304340:25196,15304341:25197,15304344:25198,15304350:25199,15304353:25200,15304358:25201,15304360:25202,15304364:25203,15304365:25204,15304366:25205,15304368:25206,15304369:25207,15304370:25208,15304371:25209,15304374:25210,15304379:25211,15304380:25212,15304381:25213,15304383:25214,15304578:25377,15304579:25378,15304581:25379,15304595:25380,15304596:25381,15304599:25382,15304601:25383,15304602:25384,15304606:25385,15304612:25386,15304613:25387,15304617:25388,15304618:25389,15304620:25390,15304621:25391,15304622:25392,15304623:25393,15304624:25394,15304625:25395,15304631:25396,15304633:25397,15304635:25398,15304637:25399,15304832:25400,15304833:25401,15304836:25402,15304837:25403,15304838:25404,15304839:25405,15304841:25406,15304842:25407,15304844:25408,15304848:25409,15304850:25410,15304851:25411,15304854:25412,15304856:25413,15304860:25414,15304861:25415,15304867:25416,15304868:25417,15304869:25418,15304870:25419,15304872:25420,15304878:25421,15304879:25422,15304880:25423,15304883:25424,15304885:25425,15304886:25426,15304888:25427,15304889:25428,15304890:25429,15304892:25430,15304894:25431,15305088:25432,15305090:25433,15305091:25434,15305094:25435,15305095:25436,15305098:25437,15305101:25438,15305102:25439,15305103:25440,15305105:25441,15305112:25442,15305113:25443,15305116:25444,15305117:25445,15305120:25446,15305121:25447,15305125:25448,15305127:25449,15305128:25450,15305129:25451,15305134:25452,15305135:25453,15305136:25454,15305141:25455,15305142:25456,15305143:25457,15305144:25458,15305145:25459,15305147:25460,15305148:25461,15305149:25462,15305151:25463,15305352:25464,15305353:25465,15305354:25466,15305357:25467,15305358:25468,15305362:25469,15305367:25470,15305369:25633,15305375:25634,15305376:25635,15305380:25636,15305381:25637,15305383:25638,15305384:25639,15305387:25640,15305391:25641,15305394:25642,15305398:25643,15305400:25644,15305402:25645,15305403:25646,15305404:25647,15305405:25648,15305407:25649,15305600:25650,15305601:25651,15305602:25652,15305603:25653,15305605:25654,15305606:25655,15305607:25656,15305608:25657,15305611:25658,15305612:25659,15305613:25660,15305614:25661,15305616:25662,15305619:25663,15305621:25664,15305623:25665,15305624:25666,15305625:25667,15305628:25668,15305629:25669,15305631:25670,15305632:25671,15305633:25672,15305635:25673,15305637:25674,15305639:25675,15305640:25676,15305644:25677,15305646:25678,15305648:25679,15305657:25680,15305659:25681,15305663:25682,15305856:25683,15305858:25684,15305864:25685,15305869:25686,15305873:25687,15305876:25688,15305877:25689,15305884:25690,15305885:25691,15305886:25692,15305887:25693,15305889:25694,15305892:25695,15305893:25696,15305895:25697,15305897:25698,15305898:25699,15305907:25700,15305908:25701,15305910:25702,15305911:25703,15306119:25704,15306120:25705,15306121:25706,15306128:25707,15306129:25708,15306130:25709,15306133:25710,15306135:25711,15306136:25712,15306138:25713,15306142:25714,15306148:25715,15306149:25716,15306151:25717,15306153:25718,15306154:25719,15306157:25720,15306159:25721,15306160:25722,15306161:25723,15306163:25724,15306164:25725,15306166:25726,15306170:25889,15306173:25890,15306175:25891,15306368:25892,15306369:25893,15306370:25894,15306376:25895,15306378:25896,15306379:25897,15306381:25898,15306383:25899,15306386:25900,15306389:25901,15306392:25902,15306395:25903,15306398:25904,15306401:25905,15306403:25906,15306404:25907,15306406:25908,15306408:25909,15306411:25910,15306420:25911,15306421:25912,15306422:25913,15306426:25914,15306409:25915,15306625:25916,15306628:25917,15306629:25918,15306630:25919,15306631:25920,15306633:25921,15306634:25922,15306635:25923,15306636:25924,15306637:25925,15306643:25926,15306649:25927,15306652:25928,15306654:25929,15306655:25930,15306658:25931,15306662:25932,15306663:25933,15306681:25934,15306679:25935,15306680:25936,15306682:25937,15306683:25938,15306685:25939,15306881:25940,15306882:25941,15306884:25942,15306888:25943,15306889:25944,15306893:25945,15306894:25946,15306895:25947,15306901:25948,15306902:25949,15306903:25950,15306911:25951,15306926:25952,15306927:25953,15306929:25954,15306930:25955,15306931:25956,15306932:25957,15306939:25958,15306943:25959,15306941:25960,15307139:25961,15307141:25962,15307144:25963,15307146:25964,15307148:25965,15307157:25966,15307161:25967,15307164:25968,15307167:25969,15307169:25970,15307171:25971,15307176:25972,15307179:25973,15307181:25974,15307182:25975,15307183:25976,15307185:25977,15307186:25978,15307396:25979,15307395:25980,15308216:25981,15308217:25982,15308222:26145,15308420:26146,15308424:26147,15308428:26148,15308429:26149,15308430:26150,15308445:26151,15308446:26152,15308447:26153,15308449:26154,15308454:26155,15308457:26156,15308459:26157,15308460:26158,15308468:26159,15308470:26160,15308474:26161,15308477:26162,15308479:26163,15308678:26164,15308680:26165,15308681:26166,15308683:26167,15308688:26168,15308689:26169,15308690:26170,15308691:26171,15308697:26172,15308698:26173,15308701:26174,15308702:26175,15308703:26176,15308704:26177,15308708:26178,15308710:26179,15308957:26180,15308958:26181,15308962:26182,15308964:26183,15308965:26184,15308966:26185,15308972:26186,15308977:26187,15308979:26188,15308983:26189,15308984:26190,15308985:26191,15308986:26192,15308988:26193,15308989:26194,15309185:26195,15309202:26196,15309204:26197,15309206:26198,15309207:26199,15309208:26200,15309217:26201,15309230:26202,15309236:26203,15309243:26204,15309244:26205,15309246:26206,15309247:26207,15309441:26208,15309442:26209,15309443:26210,15309444:26211,15309449:26212,15309457:26213,15309462:26214,15309466:26215,15309469:26216,15309471:26217,15309476:26218,15309477:26219,15309478:26220,15309481:26221,15309486:26222,15309487:26223,15309491:26224,15309498:26225,15309706:26226,15309714:26227,15054514:26228,15309720:26229,15309722:26230,15309725:26231,15309726:26232,15309727:26233,15309737:26234,15309743:26235,15309745:26236,15309754:26237,15309954:26238,15309955:26401,15309957:26402,15309961:26403,15309978:26404,15309979:26405,15309981:26406,15309985:26407,15309986:26408,15309987:26409,15309992:26410,15310001:26411,15310003:26412,15310209:26413,15310211:26414,15310218:26415,15310222:26416,15310223:26417,15310229:26418,15310231:26419,15310232:26420,15310234:26421,15310235:26422,15310243:26423,15310247:26424,15310250:26425,15310254:26426,15310259:26427,15310262:26428,15310263:26429,15310264:26430,15310267:26431,15310269:26432,15310271:26433,15310464:26434,15310473:26435,15310485:26436,15310486:26437,15310487:26438,15310489:26439,15310490:26440,15310494:26441,15310495:26442,15310498:26443,15310508:26444,15310510:26445,15310513:26446,15310514:26447,15310517:26448,15310518:26449,15310520:26450,15310521:26451,15310522:26452,15310524:26453,15310526:26454,15310527:26455,15310721:26456,15310724:26457,15310725:26458,15310727:26459,15310729:26460,15310730:26461,15310732:26462,15310733:26463,15310734:26464,15310736:26465,15310737:26466,15310740:26467,15310743:26468,15310744:26469,15310745:26470,15310749:26471,15310750:26472,15310752:26473,15310747:26474,15310753:26475,15310756:26476,15310767:26477,15310769:26478,15310772:26479,15310775:26480,15310776:26481,15310778:26482,15310983:26483,15310986:26484,15311001:26485,15310989:26486,15310990:26487,15310996:26488,15310998:26489,15311004:26490,15311006:26491,15311008:26492,15311011:26493,15311014:26494,15311019:26657,15311022:26658,15311023:26659,15311024:26660,15311026:26661,15311027:26662,15311029:26663,15311013:26664,15311038:26665,15311236:26666,15311239:26667,15311242:26668,15311249:26669,15311250:26670,15311251:26671,15311254:26672,15311255:26673,15311257:26674,15311258:26675,15311266:26676,15311267:26677,15311269:26678,15311270:26679,15311274:26680,15311276:26681,15311531:26682,15311533:26683,15311534:26684,15311536:26685,15311540:26686,15311543:26687,15311544:26688,15311546:26689,15311547:26690,15311551:26691,15311746:26692,15311749:26693,15311752:26694,15311756:26695,15311777:26696,15311779:26697,15311781:26698,15311782:26699,15311783:26700,15311786:26701,15311795:26702,15311798:26703,15312002:26704,15312007:26705,15312008:26706,15312017:26707,15312021:26708,15312022:26709,15312023:26710,15312026:26711,15312027:26712,15312028:26713,15312031:26714,15312034:26715,15312038:26716,15312039:26717,15312043:26718,15312049:26719,15312050:26720,15312051:26721,15312052:26722,15312053:26723,15312057:26724,15312058:26725,15312059:26726,15312060:26727,15312256:26728,15312257:26729,15312262:26730,15312263:26731,15312264:26732,15312269:26733,15312270:26734,15312276:26735,15312280:26736,15312281:26737,15312283:26738,15312284:26739,15312286:26740,15312287:26741,15312288:26742,15312539:26743,15312541:26744,15312543:26745,15312550:26746,15312560:26747,15312561:26748,15312562:26749,15312565:26750,15312569:26913,15312570:26914,15312573:26915,15312575:26916,15312771:26917,15312777:26918,15312787:26919,15312788:26920,15312793:26921,15312794:26922,15312796:26923,15312798:26924,15312807:26925,15312810:26926,15312811:26927,15312812:26928,15312816:26929,15312820:26930,15312821:26931,15312825:26932,15312829:26933,15312830:26934,15313026:26935,15313027:26936,15313028:26937,15313035:26938,15313036:26939,15313040:26940,15313041:26941,15313046:26942,15313054:26943,15313056:26944,15313058:26945,15313059:26946,15313060:26947,15313063:26948,15313069:26949,15313070:26950,15313075:26951,15313077:26952,15313078:26953,15313080:26954,15313287:26955,15313281:26956,15313284:26957,15313290:26958,15313291:26959,15313292:26960,15313294:26961,15313297:26962,15313300:26963,15313302:26964,15313309:26965,15313578:26966,15313580:26967,15313582:26968,15313583:26969,15313586:26970,15313588:26971,15313589:26972,15313590:26973,15313593:26974,15313595:26975,15313598:26976,15313599:26977,15313793:26978,15313795:26979,15313798:26980,15313800:26981,15313806:26982,15313808:26983,15313810:26984,15313813:26985,15313814:26986,15313815:26987,15313819:26988,15313820:26989,15313824:26990,15313828:26991,15313829:26992,15313831:26993,15313833:26994,15313836:26995,15313842:26996,15313843:26997,15313845:26998,15313849:26999,15313850:27e3,15313853:27001,15313855:27002,15314048:27003,15314049:27004,15314050:27005,15314051:27006,15314052:27169,15314053:27170,15314056:27171,15314057:27172,15314059:27173,15314060:27174,15314061:27175,15314062:27176,15314064:27177,15314066:27178,15314070:27179,15314073:27180,15314075:27181,15314076:27182,15314080:27183,15314086:27184,15314091:27185,15314093:27186,15314099:27187,15314100:27188,15314101:27189,15314103:27190,15314105:27191,15314106:27192,15314109:27193,15314312:27194,15314315:27195,15314316:27196,15314325:27197,15314326:27198,15314327:27199,15314331:27200,15314334:27201,15314337:27202,15314339:27203,15314341:27204,15314342:27205,15314344:27206,15314346:27207,15314347:27208,15314348:27209,15314349:27210,15314350:27211,15314355:27212,15314357:27213,15314359:27214,15314360:27215,15314361:27216,15314367:27217,15314560:27218,15314564:27219,15314565:27220,15314566:27221,15314567:27222,15314569:27223,15314570:27224,15314571:27225,15314573:27226,15314575:27227,15314576:27228,15314580:27229,15314586:27230,15314589:27231,15314590:27232,15314598:27233,15314599:27234,15314601:27235,15314604:27236,15314608:27237,15314609:27238,15314610:27239,15314615:27240,15314616:27241,15314619:27242,15314620:27243,15314622:27244,15314623:27245,15314817:27246,15314823:27247,15314824:27248,15314830:27249,15314832:27250,15314839:27251,15314840:27252,15314845:27253,15314847:27254,15314853:27255,15314855:27256,15314858:27257,15314859:27258,15314863:27259,15314867:27260,15314871:27261,15314872:27262,15314873:27425,15314874:27426,15314877:27427,15314879:27428,15315072:27429,15315074:27430,15315083:27431,15315087:27432,15315089:27433,15315094:27434,15315096:27435,15315097:27436,15315098:27437,15315100:27438,15315102:27439,15315106:27440,15315107:27441,15315110:27442,15315111:27443,15315112:27444,15315113:27445,15315114:27446,15315121:27447,15315125:27448,15315126:27449,15315127:27450,15315133:27451,15315329:27452,15315331:27453,15315332:27454,15315333:27455,15315337:27456,15315338:27457,15315342:27458,15315343:27459,15315344:27460,15315347:27461,15315348:27462,15315350:27463,15315352:27464,15315355:27465,15315357:27466,15315358:27467,15315359:27468,15315363:27469,15315369:27470,15315370:27471,15315356:27472,15315371:27473,15315368:27474,15315374:27475,15315376:27476,15315378:27477,15315381:27478,15315383:27479,15315387:27480,15315878:27481,15315890:27482,15315895:27483,15315897:27484,15316107:27485,15316098:27486,15316113:27487,15316119:27488,15316120:27489,15316124:27490,15316125:27491,15316126:27492,15316143:27493,15316144:27494,15316146:27495,15316147:27496,15316148:27497,15316154:27498,15316156:27499,15316357:27500,15316157:27501,15316354:27502,15316355:27503,15316359:27504,15316362:27505,15316371:27506,15316372:27507,15316383:27508,15316387:27509,15316386:27510,15316389:27511,15316393:27512,15316394:27513,15316395:27514,15316400:27515,15316406:27516,15316407:27517,15316411:27518,15316412:27681,15316414:27682,15316611:27683,15316612:27684,15316614:27685,15316618:27686,15316621:27687,15316622:27688,15316626:27689,15316627:27690,15316629:27691,15316630:27692,15316631:27693,15316632:27694,15316641:27695,15316650:27696,15316652:27697,15316654:27698,15316657:27699,15316661:27700,15316665:27701,15316668:27702,15316671:27703,15316867:27704,15316871:27705,15316873:27706,15316874:27707,15316884:27708,15316885:27709,15316886:27710,15316887:27711,15316890:27712,15316894:27713,15316895:27714,15316896:27715,15316901:27716,15316903:27717,15316905:27718,15316907:27719,15316910:27720,15316912:27721,15316915:27722,15316916:27723,15316926:27724,15317130:27725,15317122:27726,15317127:27727,15317134:27728,15317136:27729,15317137:27730,15317138:27731,15317141:27732,15317142:27733,15317145:27734,15317148:27735,15317149:27736,15317434:27737,15317435:27738,15317436:27739,15317632:27740,15317634:27741,15317635:27742,15317636:27743,15317637:27744,15317639:27745,15317646:27746,15317647:27747,15317654:27748,15317656:27749,15317659:27750,15317662:27751,15317668:27752,15317672:27753,15317676:27754,15317678:27755,15317679:27756,15317680:27757,15317683:27758,15317684:27759,15317685:27760,15317894:27761,15317896:27762,15317899:27763,15317909:27764,15317919:27765,15317924:27766,15317927:27767,15317932:27768,15317933:27769,15317934:27770,15317936:27771,15317937:27772,15317938:27773,15317941:27774,15317944:27937,15317951:27938,15318146:27939,15318147:27940,15318153:27941,15318159:27942,15318160:27943,15318161:27944,15318162:27945,15318164:27946,15318166:27947,15318167:27948,15318169:27949,15318170:27950,15318171:27951,15318175:27952,15318178:27953,15318182:27954,15318186:27955,15318187:27956,15318191:27957,15318193:27958,15318194:27959,15318196:27960,15318199:27961,15318201:27962,15318202:27963,15318204:27964,15318205:27965,15318207:27966,15318401:27967,15318403:27968,15318404:27969,15318405:27970,15318406:27971,15318407:27972,15318419:27973,15318421:27974,15318422:27975,15318423:27976,15318424:27977,15318426:27978,15318429:27979,15318430:27980,15318440:27981,15318441:27982,15318445:27983,15318446:27984,15318447:27985,15318448:27986,15318449:27987,15318451:27988,15318453:27989,15318458:27990,15318461:27991,15318671:27992,15318672:27993,15318673:27994,15318674:27995,15318676:27996,15318678:27997,15318679:27998,15318686:27999,15318689:28e3,15318690:28001,15318691:28002,15318693:28003,14909596:8513}},1040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPacketDecrypted=t.isFullyEncrypted=t.isFullyDecrypted=void 0;const n=r(2365),i=r(9815),s=r(6382);s.config.versionString=`FlowCrypt ${i.VERSION} Gmail Encryption`,s.config.commentString="Seamlessly send and receive encrypted email",s.config.allowUnauthenticatedMessages=!0,s.config.allowUnauthenticatedStream=!0;const a=e=>{if(!e.isPrivate())throw new Error("Cannot check encryption status of secret keys in a Public Key");const t=e.getKeys().map((e=>e.keyPacket)).filter(n.PgpKey.isPacketPrivate);if(!t.length)throw new Error("This key has no private packets. Is it a Private Key?");const r=t.filter((e=>!e.isDummy()));if(!r.length)throw new Error("This key only has a gnu-dummy private packet, with no actual secret keys.");return r};t.isFullyDecrypted=e=>a(e).every((e=>!0===e.isDecrypted())),t.isFullyEncrypted=e=>a(e).every((e=>!1===e.isDecrypted())),t.isPacketDecrypted=(e,t)=>{if(!e.isPrivate())throw new Error("Cannot check packet encryption status of secret key in a Public Key");if(!t)throw new Error("No KeyID provided to isPacketDecrypted");const[r]=e.getKeys(t);if(!r)throw new Error("KeyID not found in Private Key");return!0===r.keyPacket.isDecrypted()}},1106:(e,t,r)=>{"use strict";let{nanoid:n}=r(5042),{isAbsolute:i,resolve:s}=r(197),{SourceMapConsumer:a,SourceMapGenerator:o}=r(1866),{fileURLToPath:c,pathToFileURL:u}=r(2739),l=r(3614),h=r(3878),f=r(9746),p=Symbol("lineToIndexCache"),d=Boolean(a&&o),g=Boolean(s&&i);function y(e){if(e[p])return e[p];let t=e.css.split("\n"),r=new Array(t.length),n=0;for(let e=0,i=t.length;e"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let i,s,a,o,c;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){o=e.offset;let n=this.fromOffset(o);t=n.line,r=n.col}else t=e.line,r=e.column,o=this.fromLineAndColumn(t,r);if("number"==typeof n.offset){a=n.offset;let e=this.fromOffset(a);s=e.line,i=e.col}else s=n.line,i=n.column,a=this.fromLineAndColumn(n.line,n.column)}else if(r)o=this.fromLineAndColumn(t,r);else{o=t;let e=this.fromOffset(o);t=e.line,r=e.col}let h=this.origin(t,r,s,i);return c=h?new l(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,n.plugin):new l(e,void 0===s?t:{column:r,line:t},void 0===s?r:{column:i,line:s},this.css,this.file,n.plugin),c.input={column:r,endColumn:i,endLine:s,endOffset:a,line:t,offset:o,source:this.css},this.file&&(u&&(c.input.url=u(this.file).toString()),c.input.file=this.file),c}fromLineAndColumn(e,t){return y(this)[e-1]+t-1}fromOffset(e){let t=y(this),r=0;if(e>=t[t.length-1])r=t.length-1;else{let n,i=t.length-2;for(;r>1),e=t[n+1])){r=n;break}r=n+1}}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){if(!this.map)return!1;let s,a,o=this.map.consumer(),l=o.originalPositionFor({column:t,line:e});if(!l.source)return!1;"number"==typeof r&&(s=o.originalPositionFor({column:n,line:r})),a=i(l.source)?u(l.source):new URL(l.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let h={column:l.column,endColumn:s&&s.column,endLine:s&&s.line,line:l.line,url:a.toString()};if("file:"===a.protocol){if(!c)throw new Error("file: protocol is not available in this PostCSS build");h.file=c(a)}let f=o.sourceContentFor(l.source);return f&&(h.source=f),h}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=m,m.default=m,f&&f.registerInput&&f.registerInput(m)},1141:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(5413),a=r(6957);i(r(6957),t);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===s.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},1341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpArmor=void 0;const n=r(833),i=r(6471),s=r(6382);class a{static ARMOR_HEADER_DICT={null:{begin:"-----BEGIN",end:"-----END",replace:!1},publicKey:{begin:"-----BEGIN PGP PUBLIC KEY BLOCK-----",end:"-----END PGP PUBLIC KEY BLOCK-----",replace:!0},privateKey:{begin:"-----BEGIN PGP PRIVATE KEY BLOCK-----",end:"-----END PGP PRIVATE KEY BLOCK-----",replace:!0},signedMsg:{begin:"-----BEGIN PGP SIGNED MESSAGE-----",middle:"-----BEGIN PGP SIGNATURE-----",end:"-----END PGP SIGNATURE-----",replace:!0},signature:{begin:"-----BEGIN PGP SIGNATURE-----",end:"-----END PGP SIGNATURE-----",replace:!1},encryptedMsg:{begin:"-----BEGIN PGP MESSAGE-----",end:"-----END PGP MESSAGE-----",replace:!0},encryptedMsgLink:{begin:"This message is encrypted: Open Message",end:/https:(\/|/){2}(cryptup\.org|flowcrypt\.com)(\/|/)[a-zA-Z0-9]{10}(\n|$)/,replace:!0}};static clip=e=>{if(e?.includes(a.ARMOR_HEADER_DICT.null.begin)&&e.includes(String(a.ARMOR_HEADER_DICT.null.end))){const t=e.match(/(-----BEGIN PGP (MESSAGE|SIGNED MESSAGE|SIGNATURE|PUBLIC KEY BLOCK)-----[^]+-----END PGP (MESSAGE|SIGNATURE|PUBLIC KEY BLOCK)-----)/gm);return t&&t.length?t[0]:void 0}};static headers=(e,t="string")=>{const r=a.ARMOR_HEADER_DICT[e];return{begin:"string"==typeof r.begin&&"re"===t?r.begin.replace(/ /g,"\\s"):r.begin,end:"string"==typeof r.end&&"re"===t?r.end.replace(/ /g,"\\s"):r.end,replace:r.replace}};static normalize=(e,t)=>{if(e=i.Str.normalize(e).replace(/\n /g,"\n"),["encryptedMsg","publicKey","privateKey","key"].includes(t)){const t=(e=e.replace(/\r?\n/g,"\n").trim()).match(/\n\n/g),r=e.match(/\n\n\n/g),n=e.match(/\n\n\n\n/g),i=e.match(/\n\n\n\n\n\n/g);r&&i&&r.length>1&&1===i.length?e=e.replace(/\n\n\n/g,"\n"):t&&n&&t.length>1&&1===n.length&&(e=e.replace(/\n\n/g,"\n"))}const r=e.split("\n"),n=a.headers("key"===t?"null":t);if(r.length>5&&r[0].includes(n.begin)&&r[r.length-1].includes(String(n.end))&&!r.includes(""))for(let t=1;t<5;t++)if(!r[t].match(/^[a-zA-Z0-9\-_. ]+: .+$/)){if(r[t].match(/^[a-zA-Z0-9\/+]{32,77}$/)){e=`${r.slice(0,t).join("\n")}\n\n${r.slice(t).join("\n")}`;break}break}return e};static cryptoMsgPrepareForDecrypt=async e=>{if(!e.length)throw new Error("Encrypted message could not be parsed because no data was provided");const t=new n.Buf(e.slice(0,100)).toUtfStr("ignore"),r=t.includes(a.headers("encryptedMsg").begin),i=t.includes(a.headers("signedMsg").begin),o=r||i;if(i)return{isArmored:o,isCleartext:!0,message:await(0,s.readCleartextMessage)({cleartextMessage:new n.Buf(e).toUtfStr()})};if(r)return{isArmored:o,isCleartext:!1,message:await(0,s.readMessage)({armoredMessage:new n.Buf(e).toUtfStr()})};if(e instanceof Uint8Array)return{isArmored:o,isCleartext:!1,message:await(0,s.readMessage)({binaryMessage:e})};throw new Error("Message does not have armor headers")}}t.PgpArmor=a},1371:(e,t,r)=>{var n=r(321),i=r(2801);t.FALLBACK_CHARACTER=63;var s=t.HAS_TYPED="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array,a=!1,o=!1;try{"a"===String.fromCharCode.apply(null,[97])&&(a=!0)}catch(e){}if(s)try{"a"===String.fromCharCode.apply(null,new Uint8Array([97]))&&(o=!0)}catch(e){}t.CAN_CHARCODE_APPLY=a,t.CAN_CHARCODE_APPLY_TYPED=o,t.APPLY_BUFFER_SIZE=65533,t.APPLY_BUFFER_SIZE_OK=null;var c=t.EncodingNames={UTF32:{order:0},UTF32BE:{alias:["UCS4"]},UTF32LE:null,UTF16:{order:1},UTF16BE:{alias:["UCS2"]},UTF16LE:null,BINARY:{order:2},ASCII:{order:3,alias:["ISO646","CP367"]},JIS:{order:4,alias:["ISO2022JP"]},UTF8:{order:5},EUCJP:{order:6},SJIS:{order:7,alias:["CP932","MSKANJI","WINDOWS31J"]},UNICODE:{order:8}},u={};t.EncodingAliases=u,t.EncodingOrders=function(){for(var e,t,r,i,s=u,a=n.objectKeys(c),o=[],l=0,h=a.length;l95&&(i.JIS_TO_UTF8_TABLE[t]=0|e);for(i.JISX0212_TO_UTF8_TABLE={},a=(r=n.objectKeys(i.UTF8_TO_JISX0212_TABLE)).length,s=0;s{"use strict";let n=r(7793),i=r(1752);class s extends n{get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}e.exports=s,s.default=s,n.registerRule(s)},1558:e=>{"use strict";e.exports=require("../../bundles/raw/web-stream-tools")},1592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeUndefinedValues=t.fmtErr=t.fmtRes=t.fmtContentBlock=t.stripHtmlRootTags=t.isContentBlock=void 0;const n=r(2633),i=r(4010),s=r(6471),a=r(6622);t.isContentBlock=e=>"plainText"===e||"decryptedText"===e||"plainHtml"===e||"decryptedHtml"===e||"signedMsg"===e||"verifiedMsg"===e;const o=(e,t)=>{let r;return r="green"===t?"border: 1px solid #f0f0f0;border-left: 8px solid #31A217;border-right: none;' +\n 'background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAMAAAAPdrEwAAAAh1BMVEXw8PD////w8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PD7MuHIAAAALXRSTlMAAAECBAcICw4QEhUZIyYqMTtGTV5kdn2Ii5mfoKOqrbG0uL6/xcnM0NTX2t1l7cN4AAAB0UlEQVR4Ae3Y3Y4SQRCG4bdHweFHRBTBH1FRFLXv//qsA8kmvbMdXhh2Q0KfknpSCQc130c67s22+e9+v/+d84fxkSPH0m/+5P9vN7vRV0vPfx7or1NB23e99KAHuoXOOc6moQsBwNN1Q9g4Wdh1uq3MA7Qn0+2ylAt7WbWpyT+Wo8roKH6v2QhZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2ghZ2gjZ2AUNOLmwgQdogEJ2dnF3UJdU3WjqO/u96aYtVd/7jqvIyu76G5se6GaY7tNNcy5d7se7eWVnDz87fMkuVuS8epF6f9NPObPY5re9y4N1/vya9Gr3se2bfvl9M0mkyZdv077p+a/3z4Meby5Br4NWiV51BaiUqfLro9I3WiR61RVcffwfXI7u5zZ20EOA82Uu8x3SlrSwXQuBSvSqK0AletUVoBK96gpIwlZy0MJWctDCVnLQwlZy0MJWctDCVnLQwlZy0MJWctDCVnLQwlZy0MJWctDCVnLQwlZy0MJWckIletUVIJJxITN6wtZd2EI+0NquyIJOnUpFVvRpcwmV6FVXgEr0qitAJXrVFaASveoKUIledQWoRK+6AlSiV13BP+/VVbky7Xq1AAAAAElFTkSuQmCC);":"red"===t?"border: 1px solid #f0f0f0;border-left: 8px solid #d14836;border-right: none;":"plain"===t?"border: none;":"border: 1px solid #f0f0f0;border-left: 8px solid #989898;border-right: none;",`
${a.Xss.htmlSanitizeKeepBasicTags(e)}
\x3c!-- next MsgBlock --\x3e\n`};t.stripHtmlRootTags=e=>(e=(e=(e=e.replace(/<\/?html[^>]*>/g,"")).replace(/]*>.*<\/head>/g,"")).replace(/<\/?body[^>]*>/g,"")).trim();const c=(e,t)=>e.replace(/src="cid:([^"]+)"/g,((e,r)=>{const n=t[r];if(n){const e=`src="data:${n.attMeta?.type};base64,${n.attMeta?.data}"`;return delete t[r],e}return e}));t.fmtContentBlock=e=>{const r=[],u=[],l=e.filter((e=>!i.Mime.isPlainImgAtt(e))),h=[],f={};for(const t of e.filter((e=>i.Mime.isPlainImgAtt(e))))t.attMeta?.cid?f[t.attMeta.cid.replace(/>$/,"").replace(/^0&&g!==l.length&&(p.partial=!0));for(const e of h.concat(Object.values(f))){const t=`${e.attMeta?.name||"(unnamed image)"} - ${e.attMeta?.length??0}kb`,n=`${a.Xss.escape(t)} `;r.push(o(n,"plain")),u.push(`[image: ${t}]\n`)}const y=n.MsgBlock.fromContent("plainHtml",`\n \n \n \n \n \n ${r.join("")}\n `);return y.verifyRes=p,{contentBlock:y,text:u.join("").trim()}},t.fmtRes=(e,t)=>({json:e,data:t||new Uint8Array(0)}),t.fmtErr=e=>(0,t.fmtRes)({error:{message:String(e),stack:e&&"object"==typeof e&&e.stack||""}}),t.removeUndefinedValues=e=>{for(const t in e)void 0===e[t]&&delete e[t]}},1724:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=s(r(7918)),o=r(9878),c=new Set(["input","option","optgroup","select","button","datalist","textarea"]),u=new Set(["p"]),l=new Set(["thead","tbody"]),h=new Set(["dd","dt"]),f=new Set(["rt","rp"]),p=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",u],["h1",u],["h2",u],["h3",u],["h4",u],["h5",u],["h6",u],["select",c],["input",c],["output",c],["button",c],["datalist",c],["textarea",c],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",h],["dt",h],["address",u],["article",u],["aside",u],["blockquote",u],["details",u],["div",u],["dl",u],["fieldset",u],["figcaption",u],["figure",u],["footer",u],["form",u],["header",u],["hr",u],["main",u],["nav",u],["ol",u],["pre",u],["section",u],["table",u],["ul",u],["rt",f],["rp",f],["tbody",l],["tfoot",l]]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),g=new Set(["math","svg"]),y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),m=/\s|\//,w=function(){function e(e,t){var r,n,i,s,o;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(r=t.lowerCaseTags)&&void 0!==r?r:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(o=(s=this.cbs).onparserinit)||void 0===o||o.call(s,this)}return e.prototype.ontext=function(e,t){var r,n,i=this.getSlice(e,t);this.endIndex=t-1,null===(n=(r=this.cbs).ontext)||void 0===n||n.call(r,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,r,n=this.tokenizer.getSectionStart();this.endIndex=n-1,null===(r=(t=this.cbs).ontext)||void 0===r||r.call(t,(0,o.fromCodePoint)(e)),this.startIndex=n},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&d.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},e.prototype.emitOpenTag=function(e){var t,r,n,i;this.openTagStart=this.startIndex,this.tagname=e;var s=!this.options.xmlMode&&p.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),g.has(e)?this.foreignContext.push(!0):y.has(e)&&this.foreignContext.push(!1)),null===(i=(n=this.cbs).onopentagname)||void 0===i||i.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&(null===(r=(t=this.cbs).onopentag)||void 0===r||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var r,n,i,s,a,o;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(g.has(c)||y.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))this.options.xmlMode||"br"!==c||(null===(n=(r=this.cbs).onopentagname)||void 0===n||n.call(r,"br"),null===(s=(i=this.cbs).onopentag)||void 0===s||s.call(i,"br",{},!0),null===(o=(a=this.cbs).onclosetag)||void 0===o||o.call(a,"br",!1));else{var u=this.stack.lastIndexOf(c);if(-1!==u)if(this.cbs.onclosetag)for(var l=this.stack.length-u;l--;)this.cbs.onclosetag(this.stack.pop(),0!==l);else this.stack.length=u;else this.options.xmlMode||"p"!==c||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,r,n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,n,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,o.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var r,n;this.endIndex=t,null===(n=(r=this.cbs).onattribute)||void 0===n||n.call(r,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(m),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(n),"!".concat(r))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(n),"?".concat(r))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,r){var n,i,s,a;this.endIndex=t,null===(i=(n=this.cbs).oncomment)||void 0===i||i.call(n,this.getSlice(e,t-r)),null===(a=(s=this.cbs).oncommentend)||void 0===a||a.call(s),this.startIndex=t+1},e.prototype.oncdata=function(e,t,r){var n,i,s,a,o,c,u,l,h,f;this.endIndex=t;var p=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(n=this.cbs).oncdatastart)||void 0===i||i.call(n),null===(a=(s=this.cbs).ontext)||void 0===a||a.call(s,p),null===(c=(o=this.cbs).oncdataend)||void 0===c||c.call(o)):(null===(l=(u=this.cbs).oncomment)||void 0===l||l.call(u,"[CDATA[".concat(p,"]]")),null===(f=(h=this.cbs).oncommentend)||void 0===f||f.call(h)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,r,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(n=(r=this.cbs).onparserinit)||void 0===n||n.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,r;this.ended?null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,r;this.ended?null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{t.isBINARY=function(e){for(var t,r=0,n=e&&e.length;r255)return!1;if(t>=0&&t<=7||255===t)return!0}return!1},t.isASCII=function(e){for(var t,r=0,n=e&&e.length;r255||t>=128&&t<=255||27===t)return!1;return!0},t.isJIS=function(e){for(var t,r,n,i=0,s=e&&e.length;i255||t>=128&&t<=255)return!1;if(27===t){if(i+2>=s)return!1;if(r=e[i+1],n=e[i+2],36===r){if(40===n||64===n||66===n)return!0}else{if(38===r&&64===n)return!0;if(40===r&&(66===n||73===n||74===n))return!0}}}return!1},t.isEUCJP=function(e){for(var t,r=0,n=e&&e.length;r255||t<142)return!1;if(142===t){if(r+1>=n)return!1;if((t=e[++r])<161||223=n)return!1;if((t=e[++r])<162||237=n)return!1;if((t=e[++r])<161||254128;)if(e[r++]>255)return!1;for(;r239||r+1>=n)return!1;if((t=e[++r])<64||127===t||t>252)return!1}return!0},t.isUTF8=function(e){for(var t,r=0,n=e&&e.length;r255)return!1;if(!(9===t||10===t||13===t||t>=32&&t<=126))if(t>=194&&t<=223){if(r+1>=n||e[r+1]<128||e[r+1]>191)return!1;r++}else if(224===t){if(r+2>=n||e[r+1]<160||e[r+1]>191||e[r+2]<128||e[r+2]>191)return!1;r+=2}else if(t>=225&&t<=236||238===t||239===t){if(r+2>=n||e[r+1]<128||e[r+1]>191||e[r+2]<128||e[r+2]>191)return!1;r+=2}else if(237===t){if(r+2>=n||e[r+1]<128||e[r+1]>159||e[r+2]<128||e[r+2]>191)return!1;r+=2}else if(240===t){if(r+3>=n||e[r+1]<144||e[r+1]>191||e[r+2]<128||e[r+2]>191||e[r+3]<128||e[r+3]>191)return!1;r+=3}else if(t>=241&&t<=243){if(r+3>=n||e[r+1]<128||e[r+1]>191||e[r+2]<128||e[r+2]>191||e[r+3]<128||e[r+3]>191)return!1;r+=3}else{if(244!==t)return!1;if(r+3>=n||e[r+1]<128||e[r+1]>143||e[r+2]<128||e[r+2]>191||e[r+3]<128||e[r+3]>191)return!1;r+=3}}return!0},t.isUTF16=function(e){var t,r,n,i,s=0,a=e&&e.length,o=null;if(a<2){if(e[0]>255)return!1}else{if(t=e[0],r=e[1],255===t&&254===r)return!0;if(254===t&&255===r)return!0;for(;s255)return!1}if(null===o)return!1;if(void 0!==(n=e[o+1])&&n>0&&n<128)return!0;if(void 0!==(i=e[o-1])&&i>0&&i<128)return!0}return!1},t.isUTF16BE=function(e){var t,r,n=0,i=e&&e.length,s=null;if(i<2){if(e[0]>255)return!1}else{if(t=e[0],r=e[1],254===t&&255===r)return!0;for(;n255)return!1}if(null===s)return!1;if(s%2==0)return!0}return!1},t.isUTF16LE=function(e){var t,r,n=0,i=e&&e.length,s=null;if(i<2){if(e[0]>255)return!1}else{if(t=e[0],r=e[1],255===t&&254===r)return!0;for(;n255)return!1}if(null===s)return!1;if(s%2!=0)return!0}return!1},t.isUTF32=function(e){var t,r,n,i,s,a,o=0,c=e&&e.length,u=null;if(c<4){for(;o255)return!1}else{if(t=e[0],r=e[1],n=e[2],i=e[3],0===t&&0===r&&254===n&&255===i)return!0;if(255===t&&254===r&&0===n&&0===i)return!0;for(;o255)return!1}if(null===u)return!1;if(void 0!==(s=e[u+3])&&s>0&&s<=127)return 0===e[u+2]&&0===e[u+1];if(void 0!==(a=e[u-1])&&a>0&&a<=127)return 0===e[u+1]&&0===e[u+2]}return!1},t.isUNICODE=function(e){for(var t,r=0,n=e&&e.length;r1114111)return!1;return!0}},1752:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,r){let n=[],i="",s=!1,a=0,o=!1,c="",u=!1;for(let r of e)u?u=!1:"\\"===r?u=!0:o?r===c&&(o=!1):'"'===r||"'"===r?(o=!0,c=r):"("===r?a+=1:")"===r?a>0&&(a-=1):0===a&&t.includes(r)&&(s=!0),s?(""!==i&&n.push(i.trim()),i="",s=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n}};e.exports=t,t.default=t},1818:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=n(r(5504)),s=r(5987),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function o(e,t){for(var r,n="",a=0;null!==(r=e.exec(t));){var o=r.index;n+=t.substring(a,o);var c=t.charCodeAt(o),u=i.default.get(c);if("object"==typeof u){if(o+1{},2365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpKey=void 0;const n=r(7659),i=r(1341),s=r(3313),a=r(102),o=r(178),c=r(6382),u=r(1040),l=r(3955),h=r(6471);class f{static create=async(e,t,r)=>{const n=await(0,c.generateKey)({userIDs:e,passphrase:r,format:"armored",curve:"curve25519"===t?"curve25519Legacy":void 0,rsaBits:"curve25519"===t?void 0:"rsa2048"===t?2048:4096});return{public:n.publicKey,private:n.privateKey,revCert:n.revocationCertificate}};static read=async e=>{const t=s.Store.armoredKeyCacheGet(e);if(t)return t;const r=await(0,c.readKey)({armoredKey:e});return r?.isPrivate()&&s.Store.armoredKeyCacheSet(e,r),r};static isPacketPrivate=e=>e instanceof c.SecretKeyPacket||e instanceof c.SecretSubkeyPacket;static validateAllDecryptedPackets=async e=>{for(const t of e.toPacketList().filter(f.isPacketPrivate))t.isDecrypted()&&await t.validate()};static decrypt=async(e,t,r,n)=>{if(!e.isPrivate())throw new Error("Nothing to decrypt in a public key");const i=e.getKeys(r).map((e=>e.keyPacket)).filter(f.isPacketPrivate);if(!i.length)throw new Error(`No private key packets selected of${e.getKeys().map((e=>e.keyPacket)).filter(f.isPacketPrivate).length} prv packets available`);for(const e of i){if(e.isDecrypted()){if("OK-IF-ALREADY-DECRYPTED"===n)continue;throw new Error("Decryption failed - key packet was already decrypted")}try{await e.decrypt(t),await e.validate()}catch(e){if(e instanceof Error&&e.message.toLowerCase().includes("passphrase"))return!1;throw e}}return!0};static encrypt=async(e,t)=>{if(!t||"undefined"===t||"null"===t)throw new Error(`Encryption passphrase should not be empty:${typeof t}:${t}`);const r=e.getKeys().map((e=>e.keyPacket)).filter(f.isPacketPrivate),n=r.filter((e=>!e.isDecrypted())).length;if(!r.length)throw new Error("No private key packets in key to encrypt. Is this a private key?");if(n)throw new Error(`Cannot encrypt a key that has ${n} of ${r.length} private packets still encrypted`);await(0,c.encryptKey)({privateKey:e,passphrase:t})};static normalize=async e=>{try{let t=[];if(e=i.PgpArmor.normalize(e,"key"),RegExp(i.PgpArmor.headers("publicKey","re").begin).test(e))t=await(0,c.readKeys)({armoredKeys:e});else if(RegExp(i.PgpArmor.headers("privateKey","re").begin).test(e))t=await(0,c.readKeys)({armoredKeys:e});else if(RegExp(i.PgpArmor.headers("encryptedMsg","re").begin).test(e)){const r=await(0,c.readMessage)({armoredMessage:e});t=[new c.PublicKey(r.packets)]}for(const e of t)for(const t of e.users)await f.validateAllDecryptedPackets(e),t.otherCertifications=[];return{normalized:t.map((e=>e.armor())).join("\n"),keys:t}}catch(e){return n.Catch.reportErr(e),{normalized:"",keys:[],error:h.Str.extractErrorMessage(e)}}};static fingerprint=async e=>{if(e)if("string"==typeof e)try{return await f.fingerprint(await f.read(e))}catch(e){return e instanceof Error&&"openpgp is not defined"===e.message&&n.Catch.reportErr(e),void console.error(e)}else{if(!e.keyPacket.getFingerprintBytes())return;try{return e.keyPacket.getFingerprint().toUpperCase()}catch(e){return void console.error(e)}}};static longid=async e=>{if(e)return"string"==typeof e&&8===e.length?(0,o.strToHex)(e).toUpperCase():"string"==typeof e&&40===e.length?e.substr(-16):"string"==typeof e&&49===e.length?e.replace(/ /g,"").substr(-16):await f.longid(await f.fingerprint(e))};static longids=async e=>{const t=[];for(const r of e){const e=await f.longid(r.bytes);e&&t.push(e)}return t};static usable=async(e,t)=>{if(!await f.fingerprint(e))return!1;const r=await(0,c.readKey)({armoredKey:e});return!!r&&(!!await f.keyIsUsable(r,t)||await f.usableButExpired(r,t))};static expired=async e=>{if(!e)return!1;const t=await e.getExpirationTime();if(t===1/0||!t)return!1;if(t instanceof Date)return Date.now()>t.getTime();throw new Error(`Got unexpected value for expiration: ${t}`)};static usableButExpired=async(e,t)=>{if(!e)return!1;if(await f.keyIsUsable(e,t))return!1;const r=await f.dateBeforeExpiration(e);return void 0!==r&&f.keyIsUsable(e,t,r)};static dateBeforeExpiration=async e=>{const t="string"==typeof e?await f.read(e):e,r=await(0,o.getKeyExpirationTimeForCapabilities)(t,"encrypt");if(r instanceof Date&&r.getTime(){const{normalized:t,keys:r,error:n}=await f.normalize(e);return{original:e,normalized:t,keys:await Promise.all(r.map(f.details)),error:n}};static details=async e=>{const t=e.getKeys(),r=e.keyPacket.getAlgorithmInfo(),n={algorithm:r.algorithm,algorithmId:c.enums.publicKey[r.algorithm]};r.bits&&Object.assign(n,{bits:r.bits}),r.curve&&Object.assign(n,{curve:r.curve});const i=e.keyPacket.created.getTime()/1e3,s=await(0,o.getKeyExpirationTimeForCapabilities)(e,"encrypt"),l=s!==1/0&&s?s.getTime()/1e3:void 0,h=await f.lastSig(e)/1e3,p=[];for(const e of t){const t=e.getFingerprint().toUpperCase();if(t){const e=await f.longid(t);if(e){const r=e.substr(-8);p.push({fingerprint:t,longid:e,shortid:r,keywords:(0,a.mnemonic)(e)??""})}}}const d=e.toPublic().armor(),g={public:d,users:e.getUserIDs(),ids:p,algo:n,created:i,expiration:l,lastModified:h,revoked:e.revocationSignatures.length>0,usableForEncryption:await f.usable(d,"encrypt"),usableForSigning:await f.usable(d,"sign")};return e.isPrivate()&&Object.assign(g,{private:e.armor(),isFullyDecrypted:(0,u.isFullyDecrypted)(e),isFullyEncrypted:(0,u.isFullyEncrypted)(e)}),g};static lastSig=async e=>{const t=[];for(const r of e.users){const n={userID:r.userID,userAttribute:r.userAttribute,key:e};for(const i of r.selfCertifications)try{await i.verify(e.keyPacket,c.enums.signature.certGeneric,n),t.push(i)}catch(e){console.log(`PgpKey.lastSig: Skipping self-certification signature because it is invalid: ${String(e)}`)}}for(const r of e.subkeys)try{const e=await r.verify();t.push(e)}catch(e){console.log(`PgpKey.lastSig: Skipping subkey ${r.getKeyID().toHex()} because there is no valid binding signature: ${String(e)}`)}if(t.length>0)return Math.max(...t.map((e=>e.created?e.created.getTime():0)));throw new Error("No valid signature found in key")};static revoke=async e=>{await e.isRevoked()||(e=(await(0,c.revokeKey)({key:e,format:"object"})).privateKey);const t=await e.getRevocationCertificate();if(t){if("string"==typeof t)return{key:e,revocationCertificate:t};{const r=await(0,l.requireStreamReadToEnd)();return{key:e,revocationCertificate:await r(t)}}}};static keyIsUsable=async(e,t,r)=>Boolean(await n.Catch.undefinedOnException("encrypt"===t?e.getEncryptionKey(void 0,r):e.getSigningKey(void 0,r)))}t.PgpKey=f},2517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},2633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MsgBlock=void 0;class r{type;content;complete;signature;keyDetails;attMeta;decryptErr;verifyRes;constructor(e,t,r,n,i,s,a,o){this.type=e,this.content=t,this.complete=r,this.signature=n,this.keyDetails=i,this.attMeta=s,this.decryptErr=a,this.verifyRes=o}static fromContent=(e,t,n=!1)=>new r(e,t,!n);static fromKeyDetails=(e,t,n)=>new r(e,t,!0,void 0,n);static fromAtt=(e,t,n)=>new r(e,t,!0,void 0,void 0,n)}t.MsgBlock=r},2730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var n,i,s=r(9878),a=r(1818),o=r(5987);function c(e,t){if(void 0===t&&(t=n.XML),("number"==typeof t?t:t.level)===n.HTML){var r="object"==typeof t?t.mode:void 0;return(0,s.decodeHTML)(e,r)}return(0,s.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(n=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=c,t.decodeStrict=function(e,t){var r;void 0===t&&(t=n.XML);var i="number"==typeof t?{level:t}:t;return null!==(r=i.mode)&&void 0!==r||(i.mode=s.DecodingMode.Strict),c(e,i)},t.encode=function(e,t){void 0===t&&(t=n.XML);var r="number"==typeof t?{level:t}:t;return r.mode===i.UTF8?(0,o.escapeUTF8)(e):r.mode===i.Attribute?(0,o.escapeAttribute)(e):r.mode===i.Text?(0,o.escapeText)(e):r.level===n.HTML?r.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,o.encodeXML)(e)};var u=r(5987);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return u.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return u.escapeText}});var l=r(1818);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var h=r(9878);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return h.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return h.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return h.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})},2739:()=>{},2801:(e,t,r)=>{t.UTF8_TO_JIS_TABLE=r(4992),t.UTF8_TO_JISX0212_TABLE=r(909),t.JIS_TO_UTF8_TABLE=r(5748),t.JISX0212_TO_UTF8_TABLE=r(7921)},2895:(e,t,r)=>{"use strict";let n=r(396),i=r(9371),s=r(7793),a=r(3614),o=r(5238),c=r(145),u=r(3438),l=r(1106),h=r(6966),f=r(1752),p=r(3152),d=r(9577),g=r(6846),y=r(3717),m=r(5644),w=r(1534),b=r(3303),A=r(38);function v(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new g(e)}v.plugin=function(e,t){let r,n=!1;function i(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=(new g).version,i}return Object.defineProperty(i,"postcss",{get:()=>(r||(r=i()),r)}),i.process=function(e,t,r){return v([i(r)]).process(e,t)},i},v.stringify=b,v.parse=d,v.fromJSON=u,v.list=f,v.comment=e=>new i(e),v.atRule=e=>new n(e),v.decl=e=>new o(e),v.rule=e=>new w(e),v.root=e=>new m(e),v.document=e=>new c(e),v.CssSyntaxError=a,v.Declaration=o,v.Container=s,v.Processor=g,v.Document=c,v.Comment=i,v.Warning=A,v.AtRule=n,v.Result=y,v.Input=l,v.Rule=w,v.Root=m,v.Node=p,h.registerPostcss(v),e.exports=v,v.default=v},3152:(e,t,r)=>{"use strict";let n=r(3614),i=r(7668),s=r(3303),{isClean:a,my:o}=r(4151);function c(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("proxyCache"===n)continue;let i=e[n],s=typeof i;"parent"===n&&"object"===s?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((e=>c(e,r))):("object"===s&&null!==i&&(i=c(i)),r[n]=i)}return r}function u(e,t){if(t&&void 0!==t.offset)return t.offset;let r=1,n=1,i=0;for(let s=0;s"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,n=r.slice(u(r,this.source.start),u(r,this.source.end)).indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}positionInside(e){let t=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,i=u(n,this.source.start),s=i+e;for(let e=i;e"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){if(null==n)continue;let s=t.get(n.input);null==s&&(s=i,t.set(n.input,i),i++),r[e]={end:n.end,inputId:s,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r={}){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}}e.exports=l,l.default=l},3207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Att=void 0;const n=r(833),i=r(6471);class s{static attachmentsPattern=/^(((cryptup|flowcrypt)-backup-[a-z0-9]+\.(key|asc))|(.+\.pgp)|(.+\.gpg)|(.+\.asc)|(noname)|(message)|(PGPMIME version identification)|())$/gm;length=NaN;type;name;url;id;msgId;inline;cid;contentDescription;bytes;treatAsValue;constructor({data:e,type:t,name:r,length:n,url:i,inline:s,id:a,msgId:o,treatAs:c,cid:u,contentDescription:l}){if(void 0===e&&void 0===i&&void 0===a)throw new Error("Att: one of data|url|id has to be set");if(a&&!o)throw new Error("Att: if id is set, msgId must be set too");e?(this.bytes=e,this.length=e.length):this.length=Number(n),this.name=r||"",this.type=t||"application/octet-stream",this.url=i||void 0,this.inline=!!s,this.id=a||void 0,this.msgId=o||void 0,this.treatAsValue=c||void 0,this.cid=u||void 0,this.contentDescription=l||void 0}static keyinfoAsPubkeyAtt=e=>new s({data:n.Buf.fromUtfStr(e.public),type:"application/pgp-keys",name:`0x${e.longid}.asc`});hasData=()=>this.bytes instanceof Uint8Array;setData=e=>{if(this.hasData())throw new Error("Att bytes already set");this.bytes=e};getData=()=>{if(this.bytes instanceof n.Buf)return this.bytes;if(this.bytes instanceof Uint8Array)return new n.Buf(this.bytes);throw new Error("Att has no data set")};treatAs=(e,t=!1)=>{if(this.treatAsValue)return this.treatAsValue;if(["PGPexch.htm.pgp","PGPMIME version identification","Version.txt","PGPMIME Versions Identification"].includes(this.name))return"hidden";if("signature.asc"===this.name||"application/pgp-signature"===this.type){if(e.length>1){const t=i.Str.getFilenameWithoutExtension(this.name);if(e.some((e=>e!==this&&(e.name===t||i.Str.getFilenameWithoutExtension(e.name)===t))))return"hidden"}return"signature"}return this.name||this.type.startsWith("image/")?"msg.asc"===this.name&&this.length<100&&"application/pgp-encrypted"===this.type?"hidden":["message","msg.asc","message.asc","encrypted.asc","encrypted.eml.pgp","Message.pgp"].includes(this.name)||"message"===this.name&&t?"encryptedMsg":this.name.match(/(\.pgp$)|(\.gpg$)|(\.[a-zA-Z0-9]{3,4}\.asc$)/g)?"encryptedFile":this.name.match(/(cryptup|flowcrypt)-backup-[a-z0-9]+\.(key|asc)$/g)?"privateKey":this.name.match(/^(0|0x)?[A-F0-9]{8}([A-F0-9]{8})?.*\.asc$/g)||this.name.toLowerCase().includes("public")&&this.name.match(/[A-F0-9]{8}.*\.asc$/g)||this.name.match(/\.asc$/)&&this.hasData()&&n.Buf.with(this.getData().subarray(0,100)).toUtfStr().includes("-----BEGIN PGP PUBLIC KEY BLOCK-----")?"publicKey":this.name.match(/\.asc$/)&&this.length<1e5&&!this.inline?"encryptedMsg":"plainFile":this.length<100?"hidden":"encryptedMsg"}}t.Att=s},3209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testElement=function(e,t){var r=c(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=c(e);return s?(0,i.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_name(e),t,r,n)},t.getElementsByClassName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(a("class",e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_type(e),t,r,n)};var n=r(1141),i=r(718),s={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}function c(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):a(t,r)}));return 0===t.length?null:t.reduce(o)}},3303:(e,t,r)=>{"use strict";let n=r(7668);function i(e,t){new n(t).stringify(e)}e.exports=i,i.default=i},3313:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Store=void 0;const n=r(178);let i,s={};class a{static decryptedKeyCacheSet=e=>{a.keyCacheRenewExpiry(),s[(e=>(0,n.strToHex)(e.getKeyID().bytes).toUpperCase())(e)]=e};static decryptedKeyCacheGet=e=>(a.keyCacheRenewExpiry(),s[e]);static armoredKeyCacheSet=(e,t)=>{a.keyCacheRenewExpiry(),s[e]=t};static armoredKeyCacheGet=e=>(a.keyCacheRenewExpiry(),s[e]);static keyCacheWipe=()=>{s={}};static keyCacheRenewExpiry=()=>{i&&clearTimeout(i),i=setTimeout(a.keyCacheWipe,12e4)}}t.Store=a},3403:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,r=t.lastIndexOf(e);r>=0&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},3438:(e,t,r)=>{"use strict";let n=r(396),i=r(9371),s=r(5238),a=r(1106),o=r(3878),c=r(5644),u=r(1534);function l(e,t){if(Array.isArray(e))return e.map((e=>l(e)));let{inputs:r,...h}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:a.prototype};r.map&&(r.map={...r.map,__proto__:o.prototype}),t.push(r)}}if(h.nodes&&(h.nodes=e.nodes.map((e=>l(e,t)))),h.source){let{inputId:e,...r}=h.source;h.source=r,null!=e&&(h.source.input=t[e])}if("root"===h.type)return new c(h);if("decl"===h.type)return new s(h);if("rule"===h.type)return new u(h);if("comment"===h.type)return new i(h);if("atrule"===h.type)return new n(h);throw new Error("Unknown node type: "+e.type)}e.exports=l,l.default=l},3603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},3604:(e,t,r)=>{"use strict";let{dirname:n,relative:i,resolve:s,sep:a}=r(197),{SourceMapConsumer:o,SourceMapGenerator:c}=r(1866),{pathToFileURL:u}=r(2739),l=r(1106),h=Boolean(o&&c),f=Boolean(n&&s&&i&&a);e.exports=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),i=e.root||n(e.file);!1===this.mapOpts.sourcesContent?(t=new o(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),f&&h&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=c.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,n=1,i="",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((a,o,c)=>{if(this.css+=a,o&&"end"!==c&&(s.generated.line=r,s.generated.column=n-1,o.source&&o.source.start?(s.source=this.sourcePath(o),s.original.line=o.source.start.line,s.original.column=o.source.start.column-1,this.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,this.map.addMapping(s))),t=a.match(/\n/g),t?(r+=t.length,e=a.lastIndexOf("\n"),n=a.length-e):n+=a.length,o&&"start"!==c){let e=o.parent||{raws:{}};("decl"===o.type||"atrule"===o.type&&!o.nodes)&&o===e.last&&!e.raws.semicolon||(o.source&&o.source.end?(s.source=this.sourcePath(o),s.original.line=o.source.end.line,s.original.column=o.source.end.column-1,s.generated.line=r,s.generated.column=n-2,this.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,s.generated.line=r,s.generated.column=n-1,this.map.addMapping(s)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?n(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=n(s(r,this.mapOpts.annotation)));let a=i(r,e);return this.memoizedPaths.set(e,a),a}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new l(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(u){let t=u(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}}},3614:(e,t,r)=>{"use strict";let n=r(8633),i=r(9746);class s extends Error{constructor(e,t,r,n,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),a&&(this.plugin=a),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=n.isColorSupported);let r=e=>e,s=e=>e,a=e=>e;if(e){let{bold:e,gray:t,red:o}=n.createColors(!0);s=t=>e(o(t)),r=e=>t(e),i&&(a=e=>i(e))}let o=t.split(/\r?\n/),c=Math.max(this.line-3,0),u=Math.min(this.line+2,o.length),l=String(u).length;return o.slice(c,u).map(((e,t)=>{let n=c+1+t,i=" "+(" "+n).slice(-l)+" | ";if(n===this.line){if(e.length>160){let t=20,n=Math.max(0,this.column-t),o=Math.max(this.column+t,this.endColumn+t),c=e.slice(n,o),u=r(i.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return s(">")+r(i)+a(c)+"\n "+u+s("^")}let t=r(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+r(i)+a(e)+"\n "+t+s("^")}return" "+r(i)+a(e)})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=s,s.default=s},3717:(e,t,r)=>{"use strict";let n=r(38);class i{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}}e.exports=i,i.default=i},3806:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r");case o.Comment:return"\x3c!--".concat(e.data,"--\x3e");case o.CDATA:return function(e){return"")}(e);case o.Script:case o.Style:case o.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=u.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&g.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&y.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),s=function(e,t){var r;if(e){var n=!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)?h:t.xmlMode||"utf8"!==t.encodeEntities?c.encodeXML:c.escapeAttribute;return Object.keys(e).map((function(r){var i,s,a=null!==(i=e[r])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(r=null!==(s=u.attributeNames.get(r))&&void 0!==s?s:r),t.emptyAttrs||t.xmlMode||""!==a?"".concat(r,'="').concat(n(a),'"'):r})).join(" ")}}(e.attribs,t);return s&&(i+=" ".concat(s)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+=""))),i}(e,t);case o.Text:return function(e,t){var r,n=e.data||"";return!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?(0,c.encodeXML)(n):(0,c.escapeText)(n)),n}(e,t)}}t.render=p,t.default=p;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),y=new Set(["svg","math"])},3878:(e,t,r)=>{"use strict";let{existsSync:n,readFileSync:i}=r(9977),{dirname:s,join:a}=r(197),{SourceMapConsumer:o,SourceMapGenerator:c}=r(1866);class u{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new o(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let r=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(r)return n=e.substr(r[0].length),Buffer?Buffer.from(n,"base64").toString():window.atob(n);var n;let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=s(e),n(e))return this.mapFile=e,i(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof o)return c.fromSourceMap(t).toString();if(t instanceof c)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=a(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=u,u.default=u},3880:(e,t)=>{t.HANKANA_TABLE={12289:65380,12290:65377,12300:65378,12301:65379,12443:65438,12444:65439,12449:65383,12450:65393,12451:65384,12452:65394,12453:65385,12454:65395,12455:65386,12456:65396,12457:65387,12458:65397,12459:65398,12461:65399,12463:65400,12465:65401,12467:65402,12469:65403,12471:65404,12473:65405,12475:65406,12477:65407,12479:65408,12481:65409,12483:65391,12484:65410,12486:65411,12488:65412,12490:65413,12491:65414,12492:65415,12493:65416,12494:65417,12495:65418,12498:65419,12501:65420,12504:65421,12507:65422,12510:65423,12511:65424,12512:65425,12513:65426,12514:65427,12515:65388,12516:65428,12517:65389,12518:65429,12519:65390,12520:65430,12521:65431,12522:65432,12523:65433,12524:65434,12525:65435,12527:65436,12530:65382,12531:65437,12539:65381,12540:65392},t.HANKANA_SONANTS={12532:65395,12535:65436,12538:65382},t.HANKANA_MARKS=[65438,65439],t.ZENKANA_TABLE=[12290,12300,12301,12289,12539,12530,12449,12451,12453,12455,12457,12515,12517,12519,12483,12540,12450,12452,12454,12456,12458,12459,12461,12463,12465,12467,12469,12471,12473,12475,12477,12479,12481,12484,12486,12488,12490,12491,12492,12493,12494,12495,12498,12501,12504,12507,12510,12511,12512,12513,12514,12516,12518,12520,12521,12522,12523,12524,12525,12527,12531,12443,12444]},3955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireIso88592=t.requireMimeBuilder=t.requireMimeParser=t.requireStreamReadToEnd=void 0,t.requireStreamReadToEnd=async()=>"not node"===(globalThis.process?.release?.name||"not node")?(await Promise.resolve().then((()=>r(9275)))).readToEnd:r(1558).readToEnd,t.requireMimeParser=()=>r.g["emailjs-mime-parser"],t.requireMimeBuilder=()=>r.g["emailjs-mime-builder"],t.requireIso88592=()=>r.g.iso88592},4010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mime=void 0;const n=r(6471),i=r(3955),s=r(3207),a=r(833),o=r(7659),c=r(2633),u=r(9545),l=r(1341),h=r(178),f=(0,i.requireMimeParser)(),p=(0,i.requireMimeBuilder)(),d=(0,i.requireIso88592)();class g{static processBody=e=>{const t=[];if(e.text){const r=u.MsgBlockParser.detectBlocks(n.Str.normalize(e.text),!0).blocks;r.find((e=>["pkcs7","encryptedMsg","signedMsg","publicKey","privateKey"].includes(e.type)))?t.push(...r):e.html?t.push(c.MsgBlock.fromContent("plainHtml",e.html)):t.push(...r)}else e.html&&t.push(c.MsgBlock.fromContent("plainHtml",e.html));return t};static isBodyEmpty=({text:e,html:t})=>g.isBodyTextEmpty(e)&&g.isBodyTextEmpty(t);static isBodyTextEmpty=e=>!(e&&!/^(\r)?(\n)?$/.test(e));static processAttachments=(e,t)=>{const r=[],n=[];for(const e of t.atts){let i=e.treatAs(t.atts,g.isBodyEmpty(t));if(["needChunk","maybePgp"].includes(i)&&(i="encryptedMsg"),"encryptedMsg"===i){const t=l.PgpArmor.clip(e.getData().toUtfStr());t&&r.push(c.MsgBlock.fromContent("encryptedMsg",t))}else"signature"===i?n.push(e):"publicKey"===i||"privateKey"===i?r.push(...u.MsgBlockParser.detectBlocks(e.getData().toUtfStr(),!0).blocks):"encryptedFile"===i?r.push(c.MsgBlock.fromAtt("encryptedAtt","",{name:e.name,type:e.type,length:e.getData().length,data:e.getData(),treatAs:e.treatAs(t.atts)})):"plainFile"===i&&r.push(c.MsgBlock.fromAtt("plainAtt","",{name:e.name,type:e.type,length:e.getData().length,data:e.getData(),inline:e.inline,cid:e.cid}))}if(n.length){const t=n[0].getData().toUtfStr();[...e,...r].some((e=>["plainText","plainHtml","signedMsg"].includes(e.type)))||r.push(new c.MsgBlock("signedMsg","",!0,t))}const i=[...e,...r];if(t.signature&&t.signature.includes(l.PgpArmor.ARMOR_HEADER_DICT.signature.begin)&&t.signature.includes(String(l.PgpArmor.ARMOR_HEADER_DICT.signature.end))){for(const e of i)"plainText"===e.type?(e.type="signedMsg",e.signature=t.signature):"plainHtml"===e.type&&(e.type="signedHtml",e.signature=t.signature);i.find((e=>"plainText"===e.type||"plainHtml"===e.type||"signedMsg"===e.type||"signedHtml"===e.type))||i.push(new c.MsgBlock("signedMsg","",!0,t.signature))}return{headers:t.headers,blocks:i,from:t.from,to:t.to,rawSignedContent:t.rawSignedContent}};static processDecoded=e=>{const t=g.processBody(e);return g.processAttachments(t,e)};static process=async e=>{const t=await g.decode(e);return g.processDecoded(t)};static isPlainImgAtt=e=>"plainAtt"===e.type&&e.attMeta&&e.attMeta.type&&["image/jpeg","image/jpg","image/bmp","image/png","image/svg+xml"].includes(e.attMeta.type);static replyHeaders=e=>{const t=String(e.headers["message-id"]||"");return{"in-reply-to":t,references:String(e.headers["in-reply-to"]||"")+" "+t}};static resemblesMsg=e=>{const t=new a.Buf(e.slice(0,1e3)).toUtfStr().toLowerCase(),r=t.match(/content-type: +[0-9a-z\-\/]+/);return!!r&&(!!(t.match(/content-transfer-encoding: +[0-9a-z\-\/]+/)||t.match(/content-disposition: +[0-9a-z\-\/]+/)||t.match(/; boundary=/)||t.match(/; charset=/))||Boolean(0===r.index&&t.match(/boundary=/)))};static decode=async e=>{const t={atts:[],headers:{},subject:void 0,text:void 0,html:void 0,signature:void 0,from:void 0,to:[],cc:[],bcc:[]},r=new f,n={};return r.onbody=e=>{const t=String(e.path.join("."));void 0===n[t]&&(n[t]=e)},await new Promise(((i,s)=>{try{r.onend=()=>{try{for(const e of Object.keys(r.node.headers))t.headers[e]=r.node.headers[e][0].value;t.rawSignedContent=g.retrieveRawSignedContent([r.node]);for(const e of Object.values(n))"application/pgp-signature"===g.getNodeType(e)?t.signature=e.rawContent:"text/html"!==g.getNodeType(e)||g.getNodeFilename(e)?"text/plain"!==g.getNodeType(e)||g.getNodeFilename(e)&&!g.isNodeInline(e)?"text/rfc822-headers"===g.getNodeType(e)?e._parentNode&&e._parentNode.headers.subject&&(t.subject=e._parentNode.headers.subject[0].value):t.atts.push(g.getNodeAsAtt(e)):t.text=(t.text?`${t.text}\n\n`:"")+g.getNodeContentAsUtfStr(e):t.html=(t.html||"")+g.getNodeContentAsUtfStr(e);const e=g.headerGetAddress(t,["from","to","cc","bcc"]);t.subject=String(t.subject||t.headers.subject||""),Object.assign(t,e),i(t)}catch(e){s(e)}},r.write(e),r.end()}catch(e){o.Catch.reportErr(e),i(t)}}))};static encode=async(e,t,r=[],n)=>{const i=new p("pgpMimeEncrypted"!==n?"multipart/mixed":'multipart/encrypted; protocol="application/pgp-encrypted";',{includeBccInHeader:!0});for(const e of Object.keys(t))i.addHeader(e,t[e]);if(Object.keys(e).length){let t;if(1===Object.keys(e).length)t=g.newContentNode(p,Object.keys(e)[0],e[Object.keys(e)[0]]||"");else{t=new p("multipart/alternative");for(const r of Object.keys(e))t.appendChild(g.newContentNode(p,r,e[r]??""))}i.appendChild(t)}for(const e of r)i.appendChild(g.createAttNode(e));return i.build()};static subjectWithoutPrefixes=e=>e.replace(/^((Re|Fwd): ?)+/g,"").trim();static encodePgpMimeSigned=async(e,t,r=[],i)=>{const o=`SIG_PLACEHOLDER_${n.Str.sloppyRandom(10)}`,c=new p('multipart/signed; protocol="application/pgp-signature";',{includeBccInHeader:!0});for(const e of Object.keys(t))c.addHeader(e,t[e]);const u=new p("multipart/alternative");for(const t of Object.keys(e))u.appendChild(g.newContentNode(p,t,e[t]??""));const l=new p("multipart/mixed");l.appendChild(u);for(const e of r)l.appendChild(g.createAttNode(e));const h=new s.Att({data:a.Buf.fromUtfStr(o),type:"application/pgp-signature",name:"signature.asc"}),f=g.createAttNode(h);c.appendChild(l),c.appendChild(f);const d=c.build(),{rawSignedContent:y}=await g.decode(a.Buf.fromUtfStr(d));if(!y)throw console.log(`mimeStrWithPlaceholderSig(placeholder:${o}):\n${d}`),new Error("Could not find raw signed content immediately after mime-encoding a signed message");const m=await i(y),w=d.replace(a.Buf.fromUtfStr(o).toBase64Str(),a.Buf.fromUtfStr(m).toBase64Str());if(w===d)throw console.log(`pgpMimeSigned(placeholder:${o}):\n${w}`),new Error("Replaced sigPlaceholder with realSignature but mime stayed the same");return w};static headerGetAddress=(e,t)=>{const r={to:[],cc:[],bcc:[]};let i;const s=e=>"string"==typeof e?[e].map((e=>n.Str.parseEmail(e).email)).filter((e=>!!e)):e.map((e=>e.address));for(const o of t){const t=e.headers[o];t&&("from"===o?(a=t,i=n.Str.parseEmail((Array.isArray(a)?(a[0]||{}).address:String(a||""))||"").email):r[o]=[...r[o],...s(t)])}var a;return{...r,from:i}};static retrieveRawSignedContent=e=>{for(const t of e){if(!t._childNodes||!t._childNodes.length)continue;const e="signed"===t._isMultipart,r="mixed"===t._isMultipart&&2===t._childNodes.length&&"application/pgp-signature"===g.getNodeType(t._childNodes[1]);if(e||r){let e=t._childNodes[0].raw.replace(/\r?\n/g,"\r\n");return/--$/.test(e)&&(e+="\r\n"),e}return g.retrieveRawSignedContent(t._childNodes)}};static createAttNode=e=>{const t=`${e.type}; name="${e.name}"`,r=`f_${n.Str.sloppyRandom(30)}@flowcrypt`,i={};return e.contentDescription&&(i["Content-Description"]=e.contentDescription),i["Content-Disposition"]=e.inline?"inline":"attachment",i["X-Attachment-Id"]=r,i["Content-ID"]=`<${r}>`,i["Content-Transfer-Encoding"]="base64",new p(t,{filename:e.name}).setHeader(i).setContent(e.getData())};static getNodeType=(e,t="value")=>{if(e.headers["content-type"]&&e.headers["content-type"][0])return e.headers["content-type"][0][t]};static getNodeContentId=e=>{if(e.headers["content-id"]&&e.headers["content-id"][0])return e.headers["content-id"][0].value};static getNodeFilename=e=>{if(e.headers["content-disposition"]&&e.headers["content-disposition"][0]){const t=e.headers["content-disposition"][0];if(t.params&&t.params.filename)return String(t.params.filename)}if(e.headers["content-type"]&&e.headers["content-type"][0]){const t=e.headers["content-type"][0];if(t.params&&t.params.name)return String(t.params.name)}};static isNodeInline=e=>{const t=e.headers["content-disposition"];return t&&t[0]&&"inline"===t[0].value};static fromEqualSignNotationAsBuf=e=>a.Buf.fromRawBytesStr(e.replace(/(=[A-F0-9]{2})+/g,(e=>{const t=e.replace(/^=/,"").split("=").map((e=>parseInt(e,16)));return new a.Buf(t).toRawBytesStr()})));static getNodeAsAtt=e=>new s.Att({name:g.getNodeFilename(e),type:g.getNodeType(e),data:"quoted-printable"===e.contentTransferEncoding.value?g.fromEqualSignNotationAsBuf(e.rawContent??""):e.content,cid:g.getNodeContentId(e)});static getNodeContentAsUtfStr=e=>{if(e.charset&&d.labels.includes(e.charset))return d.decode(e.rawContent??"");let t;return t="utf-8"===e.charset&&"base64"===e.contentTransferEncoding.value?a.Buf.fromUint8(e.content):"utf-8"===e.charset&&"quoted-printable"===e.contentTransferEncoding.value?g.fromEqualSignNotationAsBuf(e.rawContent??""):a.Buf.fromRawBytesStr(e.rawContent??""),"ISO-2022-JP"===e.charset?.toUpperCase()||"utf-8"===e.charset&&g.getNodeType(e,"initial")?.includes("ISO-2022-JP")?(0,h.iso2022jpToUtf)(t):t.toUtfStr()};static newContentNode=(e,t,r)=>{const n=new e(t).setContent(r);return"text/plain"===t&&n.addHeader("Content-Transfer-Encoding","quoted-printable"),n}}t.Mime=g},4151:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},4211:(e,t,r)=>{"use strict";let n=r(3604),i=r(9577);const s=r(3717);let a=r(3303);r(6156);class o{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,r){let i;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let o=a;this.result=new s(this._processor,i,this._opts),this.result.css=t;let c=this;Object.defineProperty(this.result,"root",{get:()=>c.root});let u=new n(o,i,this._opts,t);if(u.isMap()){let[e,t]=u.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}e.exports=o,o.default=o},4437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=function(e){var t=c(h,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:o(r)};l(n,"id","id",r),l(n,"title","title",r);var i=null===(t=c("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var s=u("summary",r)||u("content",r);s&&(n.description=s);var a=u("updated",r);return a&&(n.pubDate=new Date(a)),n}))};l(n,"id","id",r),l(n,"title","title",r);var s=null===(t=c("link",r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),l(n,"description","subtitle",r);var a=u("updated",r);return a&&(n.updated=new Date(a)),l(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=c("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:o(t)};l(r,"id","guid",t),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t);var n=u("pubDate",t)||u("dc:date",t);return n&&(r.pubDate=new Date(n)),r}))};l(s,"title","title",n),l(s,"link","link",n),l(s,"description","description",n);var a=u("lastBuildDate",n);return a&&(s.updated=new Date(a)),l(s,"author","managingEditor",n,!0),s}(t):null};var n=r(6037),i=r(3209),s=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function o(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=s;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},4728:(e,t,r)=>{const n=r(8659),i=r(7151),{isPlainObject:s}=r(8682),a=r(4744),o=r(9466),{parse:c}=r(2895),u=["img","audio","video","picture","svg","object","map","iframe","embed"],l=["script","style"];function h(e,t){e&&Object.keys(e).forEach((function(r){t(e[r],r)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function p(e,t){const r=[];return h(e,(function(e){t(e)&&r.push(e)})),r}e.exports=g;const d=/^[^\0\t\n\f\r /<=>]+$/;function g(e,t,r){if(null==e)return"";"number"==typeof e&&(e=e.toString());let m="",w="";function b(e,t){const r=this;this.tag=e,this.attribs=t||{},this.tagPosition=m.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){D.length&&(D[D.length-1].text+=r.text)},this.updateParentNodeMediaChildren=function(){D.length&&u.includes(this.tag)&&D[D.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},y,t.parser);const A=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};l.forEach((function(e){A(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const v=t.nonTextTags||["script","style","textarea","option"];let E,k;t.allowedAttributes&&(E={},k={},h(t.allowedAttributes,(function(e,t){E[t]=[];const r=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):E[t].push(e)})),r.length&&(k[t]=new RegExp("^("+r.join("|")+")$"))})));const S={},I={},C={};h(t.allowedClasses,(function(e,t){if(E&&(f(E,t)||(E[t]=[]),E[t].push("class")),S[t]=e,Array.isArray(e)){const r=[];S[t]=[],C[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?C[t].push(e):S[t].push(e)})),r.length&&(I[t]=new RegExp("^("+r.join("|")+")$"))}}));const B={};let x,P,D,T,U,K,O;h(t.transformTags,(function(e,t){let r;"function"==typeof e?r=e:"string"==typeof e&&(r=g.simpleTransform(e)),"*"===t?x=r:B[t]=r}));let M=!1;N();const R=new n.Parser({onopentag:function(e,r){if(t.onOpenTag&&t.onOpenTag(e,r),t.enforceHtmlBoundary&&"html"===e&&N(),K)return void O++;const n=new b(e,r);D.push(n);let i=!1;const u=!!n.text;let l;if(f(B,e)&&(l=B[e](e,r),n.attribs=r=l.attribs,void 0!==l.text&&(n.innerText=l.text),e!==l.tagName&&(n.name=e=l.tagName,U[P]=l.tagName)),x&&(l=x(e,r),n.attribs=r=l.attribs,e!==l.tagName&&(n.name=e=l.tagName,U[P]=l.tagName)),(!A(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(T)||null!=t.nestingLimit&&P>=t.nestingLimit)&&(i=!0,T[P]=!0,"discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||-1!==v.indexOf(e)&&(K=!0,O=1)),P++,i){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode){if(n.innerText&&!u){const r=L(n.innerText);t.textFilter?m+=t.textFilter(r,e):m+=r,M=!0}return}w=m,m=""}m+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(n.innerText=""),i&&("escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode)&&t.preserveEscapedAttributes?h(r,(function(e,t){m+=" "+t+'="'+L(e||"",!0)+'"'})):(!E||f(E,e)||E["*"])&&h(r,(function(r,i){if(!d.test(i))return void delete n.attribs[i];if(""===r&&!t.allowedEmptyAttributes.includes(i)&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete n.attribs[i];let u=!1;if(!E||f(E,e)&&-1!==E[e].indexOf(i)||E["*"]&&-1!==E["*"].indexOf(i)||f(k,e)&&k[e].test(i)||k["*"]&&k["*"].test(i))u=!0;else if(E&&E[e])for(const t of E[e])if(s(t)&&t.name&&t.name===i){u=!0;let e="";if(!0===t.multiple){const n=r.split(" ");for(const r of n)-1!==t.values.indexOf(r)&&(""===e?e=r:e+=" "+r)}else t.values.indexOf(r)>=0&&(e=r);r=e}if(u){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&F(e,r))return void delete n.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const n=_(r);if(t.allowedScriptHostnames||t.allowedScriptDomains){const r=(t.allowedScriptHostnames||[]).find((function(e){return e===n.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)}));e=r||i}}catch(t){e=!1}if(!e)return void delete n.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{const n=_(r);if(n.isRelativeUrl)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const r=(t.allowedIframeHostnames||[]).find((function(e){return e===n.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)}));e=r||i}}catch(t){e=!1}if(!e)return void delete n.attribs[i]}if("srcset"===i)try{let e=o(r);if(e.forEach((function(e){F("srcset",e.url)&&(e.evil=!0)})),e=p(e,(function(e){return!e.evil})),!e.length)return void delete n.attribs[i];r=p(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),n.attribs[i]=r}catch(e){return void delete n.attribs[i]}if("class"===i){const t=S[e],s=S["*"],o=I[e],c=C[e],u=C["*"],f=[o,I["*"]].concat(c,u).filter((function(e){return e}));if(!(l=r,h=t&&s?a(t,s):t||s,g=f,r=h?(l=l.split(/\s+/)).filter((function(e){return-1!==h.indexOf(e)||g.some((function(t){return t.test(e)}))})).join(" "):l).length)return void delete n.attribs[i]}if("style"===i)if(t.parseStyleAttributes)try{if(r=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const r=e.nodes[0];let n;return n=t[r.selector]&&t["*"]?a(t[r.selector],t["*"]):t[r.selector]||t["*"],n&&(e.nodes[0].nodes=r.nodes.reduce(function(e){return function(t,r){return f(e,r.prop)&&e[r.prop].some((function(e){return e.test(r.value)}))&&t.push(r),t}}(n),[])),e}(c(e+" {"+r+"}",{map:!1}),t.allowedStyles)),0===r.length)return void delete n.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+r+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete n.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");m+=" "+i,r&&r.length?m+='="'+L(r,!0)+'"':t.allowedEmptyAttributes.includes(i)&&(m+='=""')}else delete n.attribs[i];var l,h,g})),-1!==t.selfClosing.indexOf(e)?m+=" />":(m+=">",!n.innerText||u||t.textFilter||(m+=L(n.innerText),M=!0)),i&&(m=w+L(m),w=""),n.openingTagLength=m.length-n.tagPosition},ontext:function(e){if(K)return;const r=D[D.length-1];let n;if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||A(n))if("discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||"script"!==n&&"style"!==n){if(!M){const r=L(e,!1);t.textFilter?m+=t.textFilter(r,n):m+=r}}else m+=e;else e="";D.length&&(D[D.length-1].text+=e)},onclosetag:function(e,r){if(t.onCloseTag&&t.onCloseTag(e,r),K){if(O--,O)return;K=!1}const n=D.pop();if(!n)return;if(n.tag!==e)return void D.push(n);K=!!t.enforceHtmlBoundary&&"html"===e,P--;const i=T[P];if(i){if(delete T[P],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void n.updateParentNodeText();w=m,m=""}if(U[P]&&(e=U[P],delete U[P]),t.exclusiveFilter){const e=t.exclusiveFilter(n);if("excludeTag"===e)return i&&(m=w,w=""),void(m=m.substring(0,n.tagPosition)+m.substring(n.tagPosition+n.openingTagLength));if(e)return void(m=m.substring(0,n.tagPosition))}n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||r&&!A(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(m=w,w=""):(m+="",i&&(m=w+L(m),w=""),M=!1)}},t.parser);return R.write(e),R.end(),m;function N(){m="",P=0,D=[],T={},U={},K=!1,O=0}function L(e,r){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(//g,">"),r&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),r&&(e=e.replace(/"/g,""")),e}function F(e,r){for(r=r.replace(/[\x00-\x20]+/g,"");;){const e=r.indexOf("\x3c!--");if(-1===e)break;const t=r.indexOf("--\x3e",e+4);if(-1===t)break;r=r.substring(0,e)+r.substring(t+3)}const n=r.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!n)return!!r.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=n[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function _(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const r=new URL(e,t);return{isRelativeUrl:r&&"relative-site"===r.hostname&&"relative:"===r.protocol,url:r}}}const y={decodeEntities:!0};g.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},g.simpleTransform=function(e,t,r){return r=void 0===r||r,t=t||{},function(n,i){let s;if(r)for(s in t)i[s]=t[s];else i=t;return{tagName:e,attribs:i}}}},4744:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function o(e,r,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=n;var u=Array.isArray(r);return u===Array.isArray(e)?u?c.arrayMerge(e,r,c):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(a(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return o;var r=t.customMerge(e);return"function"==typeof r?r:o}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,c):n(r,c)}o.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return o(e,r,t)}),{})};var c=o;e.exports=c},4992:e=>{e.exports={15711649:33,15711650:34,15711651:35,15711652:36,15711653:37,15711654:38,15711655:39,15711656:40,15711657:41,15711658:42,15711659:43,15711660:44,15711661:45,15711662:46,15711663:47,15711664:48,15711665:49,15711666:50,15711667:51,15711668:52,15711669:53,15711670:54,15711671:55,15711672:56,15711673:57,15711674:58,15711675:59,15711676:60,15711677:61,15711678:62,15711679:63,15711872:64,15711873:65,15711874:66,15711875:67,15711876:68,15711877:69,15711878:70,15711879:71,15711880:72,15711881:73,15711882:74,15711883:75,15711884:76,15711885:77,15711886:78,15711887:79,15711888:80,15711889:81,15711890:82,15711891:83,15711892:84,15711893:85,15711894:86,15711895:87,15711896:88,15711897:89,15711898:90,15711899:91,15711900:92,15711901:93,15711902:94,15711903:95,14848416:11553,14848417:11554,14848418:11555,14848419:11556,14848420:11557,14848421:11558,14848422:11559,14848423:11560,14848424:11561,14848425:11562,14848426:11563,14848427:11564,14848428:11565,14848429:11566,14848430:11567,14848431:11568,14848432:11569,14848433:11570,14848434:11571,14848435:11572,14845344:11573,14845345:11574,14845346:11575,14845347:11576,14845348:11577,14845349:11578,14845350:11579,14845351:11580,14845352:11581,14845353:11582,14912905:11584,14912660:11585,14912674:11586,14912909:11587,14912664:11588,14912679:11589,14912643:11590,14912694:11591,14912913:11592,14912919:11593,14912653:11594,14912678:11595,14912675:11596,14912683:11597,14912906:11598,14912699:11599,14913180:11600,14913181:11601,14913182:11602,14913166:11603,14913167:11604,14913412:11605,14913185:11606,14912955:11615,14909597:11616,14909599:11617,14845078:11618,14913421:11619,14845089:11620,14912164:11621,14912165:11622,14912166:11623,14912167:11624,14912168:11625,14911665:11626,14911666:11627,14911673:11628,14912958:11629,14912957:11630,14912956:11631,14846126:11635,14846097:11636,14846111:11640,14846655:11641,14909568:8481,14909569:8482,14909570:8483,15711372:8484,15711374:8485,14910395:8486,15711386:8487,15711387:8488,15711391:8489,15711361:8490,14910107:8491,14910108:8492,49844:8493,15711616:8494,49832:8495,15711422:8496,15712163:8497,15711423:8498,14910397:8499,14910398:8500,14910109:8501,14910110:8502,14909571:8503,14990237:8504,14909573:8505,14909574:8506,14909575:8507,14910396:8508,14844053:8509,14844048:8510,15711375:8511,15711420:8512,15711646:8513,14844054:8514,15711644:8515,14844070:8516,14844069:8517,14844056:8518,14844057:8519,14844060:8520,14844061:8521,15711368:8522,15711369:8523,14909588:8524,14909589:8525,15711419:8526,15711421:8527,15711643:8528,15711645:8529,14909576:8530,14909577:8531,14909578:8532,14909579:8533,14909580:8534,14909581:8535,14909582:8536,14909583:8537,14909584:8538,14909585:8539,15711371:8540,15711373:8541,49841:8542,50071:8543,50103:8544,15711389:8545,14846368:8546,15711388:8547,15711390:8548,14846374:8549,14846375:8550,14846110:8551,14846132:8552,14850434:8553,14850432:8554,49840:8555,14844082:8556,14844083:8557,14845059:8558,15712165:8559,15711364:8560,15712160:8561,15712161:8562,15711365:8563,15711363:8564,15711366:8565,15711370:8566,15711392:8567,49831:8568,14850182:8569,14850181:8570,14849931:8571,14849935:8572,14849934:8573,14849927:8574,14849926:8737,14849697:8738,14849696:8739,14849715:8740,14849714:8741,14849725:8742,14849724:8743,14844091:8744,14909586:8745,14845586:8746,14845584:8747,14845585:8748,14845587:8749,14909587:8750,14846088:8762,14846091:8763,14846598:8764,14846599:8765,14846594:8766,14846595:8767,14846122:8768,14846121:8769,14846119:8778,14846120:8779,49836:8780,14845842:8781,14845844:8782,14846080:8783,14846083:8784,14846112:8796,14846629:8797,14847122:8798,14846082:8799,14846087:8800,14846369:8801,14846354:8802,14846378:8803,14846379:8804,14846106:8805,14846141:8806,14846109:8807,14846133:8808,14846123:8809,14846124:8810,14845099:8818,14844080:8819,14850479:8820,14850477:8821,14850474:8822,14844064:8823,14844065:8824,49846:8825,14849967:8830,15711376:9008,15711377:9009,15711378:9010,15711379:9011,15711380:9012,15711381:9013,15711382:9014,15711383:9015,15711384:9016,15711385:9017,15711393:9025,15711394:9026,15711395:9027,15711396:9028,15711397:9029,15711398:9030,15711399:9031,15711400:9032,15711401:9033,15711402:9034,15711403:9035,15711404:9036,15711405:9037,15711406:9038,15711407:9039,15711408:9040,15711409:9041,15711410:9042,15711411:9043,15711412:9044,15711413:9045,15711414:9046,15711415:9047,15711416:9048,15711417:9049,15711418:9050,15711617:9057,15711618:9058,15711619:9059,15711620:9060,15711621:9061,15711622:9062,15711623:9063,15711624:9064,15711625:9065,15711626:9066,15711627:9067,15711628:9068,15711629:9069,15711630:9070,15711631:9071,15711632:9072,15711633:9073,15711634:9074,15711635:9075,15711636:9076,15711637:9077,15711638:9078,15711639:9079,15711640:9080,15711641:9081,15711642:9082,14909825:9249,14909826:9250,14909827:9251,14909828:9252,14909829:9253,14909830:9254,14909831:9255,14909832:9256,14909833:9257,14909834:9258,14909835:9259,14909836:9260,14909837:9261,14909838:9262,14909839:9263,14909840:9264,14909841:9265,14909842:9266,14909843:9267,14909844:9268,14909845:9269,14909846:9270,14909847:9271,14909848:9272,14909849:9273,14909850:9274,14909851:9275,14909852:9276,14909853:9277,14909854:9278,14909855:9279,14909856:9280,14909857:9281,14909858:9282,14909859:9283,14909860:9284,14909861:9285,14909862:9286,14909863:9287,14909864:9288,14909865:9289,14909866:9290,14909867:9291,14909868:9292,14909869:9293,14909870:9294,14909871:9295,14909872:9296,14909873:9297,14909874:9298,14909875:9299,14909876:9300,14909877:9301,14909878:9302,14909879:9303,14909880:9304,14909881:9305,14909882:9306,14909883:9307,14909884:9308,14909885:9309,14909886:9310,14909887:9311,14910080:9312,14910081:9313,14910082:9314,14910083:9315,14910084:9316,14910085:9317,14910086:9318,14910087:9319,14910088:9320,14910089:9321,14910090:9322,14910091:9323,14910092:9324,14910093:9325,14910094:9326,14910095:9327,14910096:9328,14910097:9329,14910098:9330,14910099:9331,14910113:9505,14910114:9506,14910115:9507,14910116:9508,14910117:9509,14910118:9510,14910119:9511,14910120:9512,14910121:9513,14910122:9514,14910123:9515,14910124:9516,14910125:9517,14910126:9518,14910127:9519,14910128:9520,14910129:9521,14910130:9522,14910131:9523,14910132:9524,14910133:9525,14910134:9526,14910135:9527,14910136:9528,14910137:9529,14910138:9530,14910139:9531,14910140:9532,14910141:9533,14910142:9534,14910143:9535,14910336:9536,14910337:9537,14910338:9538,14910339:9539,14910340:9540,14910341:9541,14910342:9542,14910343:9543,14910344:9544,14910345:9545,14910346:9546,14910347:9547,14910348:9548,14910349:9549,14910350:9550,14910351:9551,14910352:9552,14910353:9553,14910354:9554,14910355:9555,14910356:9556,14910357:9557,14910358:9558,14910359:9559,14910360:9560,14910361:9561,14910362:9562,14910363:9563,14910364:9564,14910365:9565,14910366:9566,14910367:9567,14910368:9568,14910369:9569,14910370:9570,14910371:9571,14910372:9572,14910373:9573,14910374:9574,14910375:9575,14910376:9576,14910377:9577,14910378:9578,14910379:9579,14910380:9580,14910381:9581,14910382:9582,14910383:9583,14910384:9584,14910385:9585,14910386:9586,14910387:9587,14910388:9588,14910389:9589,14910390:9590,52881:9761,52882:9762,52883:9763,52884:9764,52885:9765,52886:9766,52887:9767,52888:9768,52889:9769,52890:9770,52891:9771,52892:9772,52893:9773,52894:9774,52895:9775,52896:9776,52897:9777,52899:9778,52900:9779,52901:9780,52902:9781,52903:9782,52904:9783,52905:9784,52913:9793,52914:9794,52915:9795,52916:9796,52917:9797,52918:9798,52919:9799,52920:9800,52921:9801,52922:9802,52923:9803,52924:9804,52925:9805,52926:9806,52927:9807,53120:9808,53121:9809,53123:9810,53124:9811,53125:9812,53126:9813,53127:9814,53128:9815,53129:9816,53392:10017,53393:10018,53394:10019,53395:10020,53396:10021,53397:10022,53377:10023,53398:10024,53399:10025,53400:10026,53401:10027,53402:10028,53403:10029,53404:10030,53405:10031,53406:10032,53407:10033,53408:10034,53409:10035,53410:10036,53411:10037,53412:10038,53413:10039,53414:10040,53415:10041,53416:10042,53417:10043,53418:10044,53419:10045,53420:10046,53421:10047,53422:10048,53423:10049,53424:10065,53425:10066,53426:10067,53427:10068,53428:10069,53429:10070,53649:10071,53430:10072,53431:10073,53432:10074,53433:10075,53434:10076,53435:10077,53436:10078,53437:10079,53438:10080,53439:10081,53632:10082,53633:10083,53634:10084,53635:10085,53636:10086,53637:10087,53638:10088,53639:10089,53640:10090,53641:10091,53642:10092,53643:10093,53644:10094,53645:10095,53646:10096,53647:10097,14849152:10273,14849154:10274,14849164:10275,14849168:10276,14849176:10277,14849172:10278,14849180:10279,14849196:10280,14849188:10281,14849204:10282,14849212:10283,14849153:10284,14849155:10285,14849167:10286,14849171:10287,14849179:10288,14849175:10289,14849187:10290,14849203:10291,14849195:10292,14849211:10293,14849419:10294,14849184:10295,14849199:10296,14849192:10297,14849207:10298,14849215:10299,14849181:10300,14849200:10301,14849189:10302,14849208:10303,14849410:10304,14989980:12321,15045782:12322,15050883:12323,15308991:12324,15045504:12325,15107227:12326,15109288:12327,15050678:12328,15302818:12329,15241653:12330,15240348:12331,15182224:12332,15106730:12333,15110049:12334,15120549:12335,15112109:12336,15241638:12337,15239846:12338,15314869:12339,15114899:12340,15047847:12341,15111841:12342,15108529:12343,15052443:12344,15050640:12345,15243707:12346,15311796:12347,15185314:12348,15185598:12349,15314574:12350,15108246:12351,15184543:12352,15246007:12353,15052425:12354,15055541:12355,15109257:12356,15112855:12357,15114632:12358,15308679:12359,15310477:12360,15113615:12361,14990245:12362,14990474:12363,14990733:12364,14991005:12365,15040905:12366,15047602:12367,15049911:12368,15050644:12369,15050881:12370,15052937:12371,15106975:12372,15107215:12373,15107504:12374,15112339:12375,15115397:12376,15172282:12377,15177103:12378,15177136:12379,15181755:12380,15185581:12381,15185839:12382,15238019:12383,15241358:12384,15245731:12385,15248514:12386,15303061:12387,15303098:12388,15043771:12389,14989973:12390,14989989:12391,15048607:12392,15237810:12393,15303553:12394,15180719:12395,14989440:12396,15049649:12397,15121058:12398,15302840:12399,15182002:12400,15240360:12401,15239819:12402,15315119:12403,15041921:12404,15044016:12405,15045309:12406,15045537:12407,15047584:12408,15050683:12409,15056021:12410,15311794:12411,15120299:12412,15238052:12413,15242413:12414,15309218:12577,15309232:12578,15309472:12579,15310779:12580,15044747:12581,15044531:12582,15052423:12583,15172495:12584,15187645:12585,15253378:12586,15309736:12587,15044015:12588,15316380:12589,15182522:12590,14989457:12591,15180435:12592,15239100:12593,15120550:12594,15046808:12595,15045764:12596,15117469:12597,15242394:12598,15315131:12599,15050661:12600,15044265:12601,15119782:12602,15176604:12603,15308431:12604,15047042:12605,14989969:12606,15303051:12607,15309746:12608,15240591:12609,15312012:12610,15044513:12611,15046326:12612,15051952:12613,15056305:12614,15112352:12615,15113139:12616,15114372:12617,15118520:12618,15119283:12619,15119529:12620,15176091:12621,15178632:12622,15182222:12623,15311028:12624,15240113:12625,15245723:12626,15247776:12627,15305645:12628,15120050:12629,15177387:12630,15178634:12631,15312773:12632,15106726:12633,15248513:12634,15251082:12635,15308466:12636,15115918:12637,15044269:12638,15042182:12639,15047826:12640,15048880:12641,15050116:12642,15052468:12643,15055798:12644,15106216:12645,15109801:12646,15110068:12647,15119039:12648,15121556:12649,15172238:12650,15172756:12651,15173017:12652,15173525:12653,15174847:12654,15186049:12655,15239606:12656,15240081:12657,15242903:12658,15303072:12659,15305115:12660,15316123:12661,15049129:12662,15111868:12663,15118746:12664,15176869:12665,15042489:12666,15049902:12667,15050149:12668,15056512:12669,15056796:12670,15108796:12833,15112122:12834,15116458:12835,15117479:12836,15118004:12837,15175307:12838,15187841:12839,15246742:12840,15316140:12841,15316110:12842,15317892:12843,15053473:12844,15118998:12845,15240635:12846,15041668:12847,15053195:12848,15107766:12849,15239046:12850,15114678:12851,15174049:12852,14989721:12853,14991290:12854,15044024:12855,15106473:12856,15120553:12857,15182223:12858,15310771:12859,14989451:12860,15043734:12861,14990254:12862,14990741:12863,14990525:12864,14991009:12865,14990771:12866,15043232:12867,15044527:12868,15046793:12869,15049871:12870,15051649:12871,15052470:12872,15052705:12873,15181713:12874,15112839:12875,15113884:12876,15113910:12877,15117708:12878,15119027:12879,15172011:12880,15175554:12881,15181453:12882,15181502:12883,15182012:12884,15183495:12885,15239857:12886,15240091:12887,15240324:12888,15240631:12889,15241135:12890,15241107:12891,15244710:12892,15248050:12893,15046825:12894,15250088:12895,15253414:12896,15303054:12897,15309982:12898,15243914:12899,14991236:12900,15053736:12901,15108241:12902,15174041:12903,15176891:12904,15239077:12905,15239869:12906,15244222:12907,15250304:12908,15309701:12909,15312019:12910,15312789:12911,14990219:12912,14990490:12913,15247267:12914,15047582:12915,15049098:12916,15049610:12917,15055803:12918,15056811:12919,15106218:12920,15106708:12921,15106466:12922,15107984:12923,15108242:12924,15109008:12925,15111353:12926,15314305:13089,15112614:13090,15114928:13091,15119799:13092,15172016:13093,15177100:13094,15178374:13095,15185333:13096,15239845:13097,15245241:13098,15308427:13099,15309454:13100,15250077:13101,15042481:13102,15043262:13103,15049878:13104,15045299:13105,15052467:13106,15053974:13107,15107496:13108,15115906:13109,15120047:13110,15180429:13111,15242123:13112,15245719:13113,15247794:13114,15306407:13115,15313592:13116,15119788:13117,15312552:13118,15244185:13119,15048355:13120,15114175:13121,15244174:13122,15304846:13123,15043203:13124,15047303:13125,15044740:13126,15055763:13127,15109025:13128,15110841:13129,15114428:13130,15114424:13131,15118011:13132,15175090:13133,15180474:13134,15182251:13135,15247002:13136,15247250:13137,15250859:13138,15252611:13139,15303597:13140,15308451:13141,15309460:13142,15310249:13143,15052198:13144,15053491:13145,15115709:13146,15311245:13147,15311246:13148,15109787:13149,15183008:13150,15116459:13151,15116735:13152,15114934:13153,15315085:13154,15121823:13155,15042994:13156,15046301:13157,15106480:13158,15109036:13159,15119547:13160,15120519:13161,15121297:13162,15241627:13163,15246480:13164,15252868:13165,14989460:13166,15315129:13167,15044534:13168,15115419:13169,15116474:13170,15310468:13171,15114410:13172,15041948:13173,15182723:13174,15241906:13175,15304604:13176,15306380:13177,15047067:13178,15316136:13179,15114402:13180,15240325:13181,15241393:13182,15184549:13345,15042696:13346,15240069:13347,15176614:13348,14989758:13349,14990979:13350,15042208:13351,15052690:13352,15042698:13353,15043480:13354,15043495:13355,15054779:13356,15046298:13357,15048874:13358,15050662:13359,15052428:13360,15052440:13361,15052699:13362,15055282:13363,15055289:13364,15106723:13365,15107231:13366,15107491:13367,15107774:13368,15110043:13369,15111586:13370,15114129:13371,15114643:13372,15115194:13373,15117502:13374,15117715:13375,15118743:13376,15121570:13377,15122071:13378,15121797:13379,15176368:13380,15176856:13381,15178659:13382,15178891:13383,15182783:13384,15183521:13385,15184033:13386,15185833:13387,15187126:13388,15187888:13389,15237789:13390,15239590:13391,15240862:13392,15247027:13393,15248268:13394,15250091:13395,15303300:13396,15307153:13397,15308435:13398,15308433:13399,15308450:13400,15309221:13401,15310739:13402,15312040:13403,15239320:13404,14989496:13405,15044779:13406,15053496:13407,15054732:13408,15175337:13409,15178124:13410,15178940:13411,15053481:13412,15187883:13413,15250571:13414,15309697:13415,15310993:13416,15311252:13417,15311256:13418,14990465:13419,14990478:13420,15044017:13421,15046300:13422,15047080:13423,15048634:13424,15050119:13425,15051913:13426,15052676:13427,15053456:13428,15054988:13429,15055294:13430,15056780:13431,15110062:13432,15113402:13433,15112087:13434,15112098:13435,15113375:13436,15115147:13437,15115140:13438,15116703:13601,15055024:13602,15118213:13603,15118487:13604,15118781:13605,15177151:13606,15181192:13607,15052195:13608,15181952:13609,15185024:13610,15056573:13611,15246991:13612,15247512:13613,15250100:13614,15250871:13615,15252364:13616,15252637:13617,15311778:13618,15313038:13619,15314108:13620,14989952:13621,15040957:13622,15041664:13623,15050387:13624,15052444:13625,15108271:13626,15108736:13627,15111084:13628,15117498:13629,15174304:13630,15177361:13631,15181191:13632,15187625:13633,15245243:13634,15248060:13635,15248816:13636,15109804:13637,15241098:13638,15310496:13639,15044745:13640,15044739:13641,15046315:13642,15114644:13643,15116696:13644,15247792:13645,15179943:13646,15113653:13647,15317901:13648,15044020:13649,15052450:13650,15238298:13651,15243664:13652,15302790:13653,14989464:13654,14989701:13655,14990215:13656,14990481:13657,15044490:13658,15044792:13659,15052462:13660,15056019:13661,15106213:13662,15111569:13663,15113405:13664,15118722:13665,15118770:13666,15119267:13667,15172024:13668,15175811:13669,15182262:13670,15182510:13671,15182984:13672,15185050:13673,15184830:13674,15185318:13675,15112103:13676,15174043:13677,15044283:13678,15053189:13679,15054760:13680,15109010:13681,15109024:13682,15109273:13683,15120544:13684,15243674:13685,15247537:13686,15251357:13687,15305656:13688,15121537:13689,15181478:13690,15314330:13691,14989992:13692,14989995:13693,14989996:13694,14991003:13857,14991008:13858,15041425:13859,15041927:13860,15182774:13861,15041969:13862,15042486:13863,15043988:13864,15043745:13865,15044031:13866,15044523:13867,15046316:13868,15049347:13869,15053729:13870,15056055:13871,15056266:13872,15106223:13873,15106448:13874,15106477:13875,15109279:13876,15111577:13877,15116683:13878,15119233:13879,15174530:13880,15174573:13881,15179695:13882,15238072:13883,15238277:13884,15239304:13885,15242638:13886,15303607:13887,15306657:13888,15310783:13889,15312279:13890,15313306:13891,14990256:13892,15042461:13893,15052973:13894,15112833:13895,15115693:13896,15053184:13897,15113138:13898,15115701:13899,15175305:13900,15114640:13901,15184513:13902,15041413:13903,15043492:13904,15048071:13905,15054782:13906,15305894:13907,15111844:13908,15117475:13909,15117501:13910,15175860:13911,15181441:13912,15181501:13913,15183243:13914,15185802:13915,15239865:13916,15241100:13917,15245759:13918,15246751:13919,15248569:13920,15253393:13921,15304593:13922,15044767:13923,15305344:13924,14989725:13925,15040694:13926,15044517:13927,15043770:13928,15174551:13929,15175318:13930,15179689:13931,15240102:13932,15252143:13933,15312774:13934,15312776:13935,15312786:13936,15041975:13937,15107226:13938,15243678:13939,15046320:13940,15182266:13941,15040950:13942,15052691:13943,15303047:13944,15309445:13945,14989490:13946,15117211:13947,15304615:13948,15053201:13949,15053192:13950,15109784:14113,15182495:14114,15118995:14115,15310260:14116,15252897:14117,15182506:14118,15173258:14119,15309448:14120,15184514:14121,15114391:14122,15186352:14123,15114641:14124,15306156:14125,15043506:14126,15044763:14127,15242923:14128,15247507:14129,15187620:14130,15252365:14131,15303585:14132,15044006:14133,15245960:14134,15181185:14135,14991234:14136,15041214:14137,15042705:14138,15041924:14139,15046035:14140,15047853:14141,15175594:14142,15048331:14143,15050129:14144,15056290:14145,15056516:14146,15106485:14147,15107510:14148,15107495:14149,15107753:14150,15109810:14151,15110330:14152,15111596:14153,15112623:14154,15114626:14155,15120531:14156,15177126:14157,15182013:14158,15184827:14159,15185292:14160,15185561:14161,15186315:14162,15187371:14163,15240334:14164,15240586:14165,15244173:14166,15247496:14167,15247779:14168,15248806:14169,15252413:14170,15311002:14171,15316623:14172,15239864:14173,15253390:14174,15314856:14175,15043207:14176,15108255:14177,15110787:14178,15122304:14179,15309465:14180,15114625:14181,15041169:14182,15117472:14183,15118778:14184,15121812:14185,15182260:14186,15185296:14187,15245696:14188,15247523:14189,15113352:14190,14990262:14191,15040697:14192,15040678:14193,15040933:14194,15041980:14195,15042744:14196,15042979:14197,15046311:14198,15047823:14199,15048837:14200,15051660:14201,15055802:14202,15107762:14203,15108024:14204,15109043:14205,15109554:14206,15115420:14369,15116457:14370,15174077:14371,15174316:14372,15174830:14373,15179924:14374,15180207:14375,15185337:14376,15178892:14377,15237801:14378,15246987:14379,15248537:14380,15250338:14381,15252370:14382,15303075:14383,15306165:14384,15309242:14385,15311253:14386,15313043:14387,15317432:14388,15041923:14389,15044255:14390,15044275:14391,15055291:14392,15056038:14393,15120539:14394,15121040:14395,15175300:14396,15175614:14397,15185283:14398,15239351:14399,15247488:14400,15248314:14401,15309200:14402,14989710:14403,15040651:14404,15044516:14405,15045052:14406,15047610:14407,15050641:14408,15052196:14409,15054769:14410,15055531:14411,15056039:14412,15108280:14413,15111557:14414,15113903:14415,15120790:14416,15174544:14417,15184778:14418,15246004:14419,15237793:14420,15238049:14421,15241136:14422,15243662:14423,15248007:14424,15251368:14425,15304887:14426,15309703:14427,15311271:14428,15318163:14429,14989972:14430,14989970:14431,14990477:14432,15043976:14433,15045001:14434,15044798:14435,15050927:14436,15056524:14437,15056545:14438,15106719:14439,15114919:14440,15116942:14441,15176090:14442,15180417:14443,15248030:14444,15248036:14445,15248823:14446,15304336:14447,14989726:14448,15314825:14449,14989988:14450,14990780:14451,14991023:14452,15040665:14453,15040662:14454,15041929:14455,15041964:14456,15043231:14457,15043257:14458,15043518:14459,15044250:14460,15044515:14461,15044753:14462,15044750:14625,15046281:14626,15048081:14627,15048354:14628,15050173:14629,15052180:14630,15052189:14631,15052431:14632,15054757:14633,15054759:14634,15054775:14635,15055288:14636,15055491:14637,15055514:14638,15055543:14639,15056024:14640,15106450:14641,15107468:14642,15108759:14643,15109016:14644,15109799:14645,15111355:14646,15112322:14647,15112579:14648,15113140:14649,15113645:14650,15114401:14651,15114903:14652,15116171:14653,15118751:14654,15119530:14655,15119785:14656,15120559:14657,15121053:14658,15176882:14659,15178375:14660,15180204:14661,15182015:14662,15184800:14663,15185029:14664,15185048:14665,15185310:14666,15185585:14667,15237269:14668,15237251:14669,15237807:14670,15237809:14671,15238548:14672,15238799:14673,15239338:14674,15240594:14675,15245708:14676,15245729:14677,15248539:14678,15250082:14679,15250364:14680,15303562:14681,15304117:14682,15305137:14683,15179967:14684,15305660:14685,15308452:14686,15309197:14687,15310981:14688,15312537:14689,15313816:14690,15316155:14691,15042971:14692,15043243:14693,15044535:14694,15044744:14695,15049621:14696,15109047:14697,15122336:14698,15249834:14699,15252895:14700,15317689:14701,15041931:14702,15042747:14703,15045002:14704,15047613:14705,15182208:14706,15304119:14707,15316384:14708,15317906:14709,15175044:14710,15121545:14711,15238576:14712,15176849:14713,15056829:14714,15106970:14715,15313576:14716,15174555:14717,15253180:14718,15117732:14881,15310979:14882,14990218:14883,15047600:14884,15048100:14885,15049406:14886,15051162:14887,15106472:14888,15107975:14889,15112335:14890,15112326:14891,15114425:14892,15114929:14893,15120311:14894,15177621:14895,15185082:14896,15239598:14897,15314306:14898,14989979:14899,14990736:14900,15044489:14901,15045766:14902,15054255:14903,15054758:14904,15054766:14905,15114171:14906,15119001:14907,15176115:14908,15179906:14909,15247760:14910,15306390:14911,15246239:14912,15048080:14913,15055527:14914,15109291:14915,15041205:14916,15041196:14917,15042189:14918,15113344:14919,15045513:14920,15049118:14921,15050427:14922,15052464:14923,15056297:14924,15108493:14925,15109793:14926,15114429:14927,15117747:14928,15120520:14929,15172029:14930,15304583:14931,15174272:14932,15179925:14933,15179942:14934,15181229:14935,15111822:14936,15185072:14937,15241116:14938,15246209:14939,15252617:14940,15309467:14941,15042980:14942,15047848:14943,15113616:14944,15187370:14945,15250081:14946,15042228:14947,15048066:14948,15308970:14949,15048890:14950,15115914:14951,15237812:14952,15045298:14953,15053966:14954,15048636:14955,15180437:14956,15316922:14957,14990748:14958,15042954:14959,15045259:14960,15110334:14961,15112360:14962,15113364:14963,15114165:14964,15182468:14965,15183254:14966,15185058:14967,15305903:14968,15114652:14969,15314605:14970,15183033:14971,15043737:14972,15042186:14973,15042743:14974,15052703:15137,15109046:15138,15110830:15139,15111078:15140,15113389:15141,15118010:15142,15242921:15143,15309713:15144,15178384:15145,15314838:15146,15109516:15147,15305862:15148,15314603:15149,15178431:15150,15112594:15151,14989449:15152,15041176:15153,15044482:15154,15053233:15155,15106984:15156,15110802:15157,15111587:15158,15114655:15159,15173542:15160,15175562:15161,15176867:15162,15183511:15163,15186562:15164,15243925:15165,15249027:15166,15250331:15167,15304120:15168,15312016:15169,15111852:15170,15112875:15171,15117963:15172,14990229:15173,14990228:15174,14990522:15175,14990783:15176,15042746:15177,15044536:15178,15044530:15179,15046563:15180,15047579:15181,15049643:15182,15050635:15183,15050633:15184,15050687:15185,15052176:15186,15053197:15187,15054978:15188,15055019:15189,15056791:15190,15106205:15191,15109255:15192,15111343:15193,15052188:15194,15111855:15195,15111869:15196,15112104:15197,15113885:15198,15117730:15199,15117755:15200,15118479:15201,15175045:15202,15181193:15203,15181697:15204,15184824:15205,15185049:15206,15185067:15207,15237794:15208,15238274:15209,15239091:15210,15246998:15211,15247774:15212,15247785:15213,15247782:15214,15248012:15215,15248302:15216,15250311:15217,15250332:15218,15309708:15219,15311804:15220,15117743:15221,14989963:15222,14990524:15223,14990989:15224,15041936:15225,15052183:15226,15052730:15227,15107464:15228,15109249:15229,15112578:15230,15117473:15393,15121291:15394,15119035:15395,15173822:15396,15176381:15397,15177620:15398,15180673:15399,15180986:15400,15237260:15401,15237299:15402,15239082:15403,15241876:15404,15253150:15405,15118736:15406,15317439:15407,15056015:15408,15248792:15409,15316139:15410,15182778:15411,15252408:15412,15052429:15413,15309739:15414,14989443:15415,15044529:15416,15048631:15417,15049905:15418,15051657:15419,15052452:15420,15106697:15421,15120831:15422,15121542:15423,15177406:15424,15250346:15425,15052447:15426,15242368:15427,15183776:15428,15040946:15429,15114164:15430,15239837:15431,15053217:15432,15242634:15433,15186078:15434,15239310:15435,15042201:15436,15052932:15437,15109544:15438,15250854:15439,15111836:15440,15173038:15441,15180990:15442,15185047:15443,15237253:15444,15248541:15445,15252362:15446,15303086:15447,15244167:15448,15303338:15449,15040671:15450,15043514:15451,15052986:15452,15113619:15453,15172028:15454,15173813:15455,15304076:15456,15304584:15457,15305899:15458,15240101:15459,15052674:15460,15056049:15461,15107001:15462,14989499:15463,15044502:15464,15052424:15465,15108491:15466,15113393:15467,15117962:15468,15174569:15469,15175584:15470,15181998:15471,15238571:15472,15251107:15473,15304082:15474,15312534:15475,15041682:15476,15044503:15477,15045034:15478,15052735:15479,15109768:15480,15116473:15481,15185580:15482,15309952:15483,15047578:15484,15044494:15485,15045032:15486,15052439:15649,15052977:15650,15054750:15651,14991278:15652,15107201:15653,15109054:15654,15119538:15655,15181696:15656,15181707:15657,15185282:15658,15186317:15659,15187858:15660,15239085:15661,15239327:15662,15241872:15663,15245702:15664,15246770:15665,15249040:15666,15251892:15667,15252655:15668,15302833:15669,15304075:15670,15304108:15671,15309702:15672,15304348:15673,14990208:15674,14990735:15675,15041925:15676,15043969:15677,15056531:15678,15108238:15679,15114132:15680,15118721:15681,15120523:15682,15175075:15683,15186086:15684,15304589:15685,15305347:15686,15044500:15687,15049881:15688,15052479:15689,15120273:15690,15181213:15691,15186094:15692,15184539:15693,15049150:15694,15173279:15695,15042490:15696,15245715:15697,15253424:15698,14991242:15699,15053755:15700,15112357:15701,15179436:15702,15182755:15703,15239324:15704,15312831:15705,15042438:15706,15056554:15707,15112108:15708,15115695:15709,15117961:15710,15120307:15711,15121046:15712,15121828:15713,15178686:15714,15185044:15715,15054753:15716,15303093:15717,15304327:15718,15310982:15719,15042470:15720,15042717:15721,15108480:15722,15112849:15723,15113113:15724,15120538:15725,15055542:15726,15185810:15727,15187378:15728,15113144:15729,15242927:15730,15243191:15731,15248312:15732,15043241:15733,15044505:15734,15050163:15735,15055503:15736,15056528:15737,15106453:15738,15305636:15739,15309220:15740,15041207:15741,15041695:15742,15043485:15905,15043744:15906,15043975:15907,15044524:15908,15045544:15909,15046022:15910,15045809:15911,15046807:15912,15050152:15913,15050430:15914,15050940:15915,15052469:15916,15052934:15917,15052943:15918,15052945:15919,15052954:15920,15055492:15921,15055498:15922,15055776:15923,15056304:15924,15108543:15925,15108740:15926,15109019:15927,15109772:15928,15109559:15929,15112327:15930,15112332:15931,15112365:15932,15112630:15933,15113662:15934,15114914:15935,15116447:15936,15116469:15937,15119036:15938,15120008:15939,15120521:15940,15120792:15941,15172796:15942,15172774:15943,15173031:15944,15177607:15945,15178881:15946,15180189:15947,15180929:15948,15181221:15949,15181744:15950,15182752:15951,15182993:15952,15184551:15953,15185081:15954,15237782:15955,15241110:15956,15241867:15957,15242633:15958,15245725:15959,15246259:15960,15247519:15961,15247548:15962,15247764:15963,15247795:15964,15249825:15965,15250334:15966,15304356:15967,15305126:15968,15306174:15969,15306904:15970,15309468:15971,15310488:15972,14989450:15973,14989448:15974,14989470:15975,14989719:15976,15042199:15977,15042992:15978,15048590:15979,15048884:15980,15049612:15981,15051938:15982,15055032:15983,15106949:15984,15111102:15985,15113633:15986,15113622:15987,15119748:15988,15174326:15989,15177139:15990,15182243:15991,15241912:15992,15248818:15993,15304376:15994,15305888:15995,15046833:15996,15048628:15997,15311806:15998,15109037:16161,15115405:16162,15117974:16163,15173549:16164,15186324:16165,15237559:16166,15239602:16167,15247270:16168,15311775:16169,15244693:16170,15253169:16171,15052987:16172,14990520:16173,14991265:16174,14991029:16175,15045767:16176,15050912:16177,15052701:16178,15052713:16179,15056771:16180,15107470:16181,15109295:16182,15111856:16183,15112587:16184,15115182:16185,15115931:16186,15119800:16187,15120305:16188,15176883:16189,15177401:16190,15178911:16191,15181214:16192,15181734:16193,15185075:16194,15239075:16195,15239855:16196,15242922:16197,15247018:16198,15247546:16199,15252139:16200,15253147:16201,15302834:16202,15304605:16203,15309959:16204,14990010:16205,14990209:16206,15042691:16207,15049141:16208,15049644:16209,15052939:16210,15176858:16211,15052989:16212,15238542:16213,15247498:16214,15253381:16215,15309219:16216,15310253:16217,15183013:16218,15248271:16219,15310984:16220,15304098:16221,15047603:16222,15044264:16223,15302807:16224,15044793:16225,15048322:16226,15055013:16227,15109800:16228,15118516:16229,15172234:16230,15179169:16231,15184523:16232,15187872:16233,15245744:16234,15303042:16235,15304084:16236,15305872:16237,15305880:16238,15309455:16239,15176094:16240,15313796:16241,15053959:16242,15054249:16243,15111600:16244,15113890:16245,15251112:16246,15309723:16247,15109550:16248,15113609:16249,15115417:16250,15241093:16251,15310999:16252,15309696:16253,15246270:16254,15122052:16417,15110586:16418,15052728:16419,14989462:16420,15171756:16421,15177117:16422,15112367:16423,15042436:16424,15042742:16425,15043490:16426,15050643:16427,15056513:16428,15106215:16429,15108240:16430,15111359:16431,15111604:16432,15112351:16433,15112628:16434,15115186:16435,15114390:16436,15117731:16437,15120517:16438,15174066:16439,15176863:16440,15178651:16441,15184574:16442,15237526:16443,15049648:16444,15246269:16445,15246783:16446,15248032:16447,15248019:16448,15248267:16449,15302813:16450,15304338:16451,15310226:16452,15310233:16453,15111817:16454,15181966:16455,15238278:16456,15309499:16457,15055021:16458,15106972:16459,15108250:16460,15111845:16461,15112340:16462,15113872:16463,15179699:16464,15182221:16465,15184269:16466,15186110:16467,15238282:16468,15250092:16469,15250852:16470,15251361:16471,15251871:16472,15180457:16473,15042695:16474,15109017:16475,15109797:16476,15110530:16477,15108760:16478,15247533:16479,15182467:16480,15183744:16481,15248044:16482,15309738:16483,15185334:16484,15239308:16485,15244681:16486,14990233:16487,15041928:16488,15043971:16489,15044e3:16490,15052451:16491,15052930:16492,15052950:16493,15054749:16494,15108262:16495,15108487:16496,15110832:16497,15114387:16498,15114420:16499,15119241:16500,15119749:16501,15119511:16502,15114131:16503,15121820:16504,15173006:16505,15173053:16506,15112075:16507,15182271:16508,15183533:16509,15185818:16510,15186314:16673,15187624:16674,15238586:16675,15239323:16676,15239353:16677,15242918:16678,15247790:16679,15250318:16680,15251381:16681,15303096:16682,15303095:16683,15305389:16684,15305361:16685,15308419:16686,15314606:16687,15042957:16688,15046276:16689,15121592:16690,15172790:16691,15041960:16692,15181445:16693,15186325:16694,15238835:16695,15184782:16696,15047052:16697,15049105:16698,15053480:16699,15109802:16700,15113150:16701,15113149:16702,15115674:16703,15174553:16704,15177359:16705,15177358:16706,15180942:16707,15181206:16708,15181727:16709,15184535:16710,15185056:16711,15185284:16712,15243399:16713,15247540:16714,15308987:16715,15303073:16716,15318176:16717,15041447:16718,15042997:16719,15044492:16720,15044514:16721,15040649:16722,15046314:16723,15049646:16724,15050127:16725,15173821:16726,15052427:16727,15053220:16728,15043741:16729,15106979:16730,15106995:16731,15109532:16732,15109763:16733,15109311:16734,15109819:16735,15111053:16736,15112105:16737,15113145:16738,15054755:16739,15116173:16740,15116221:16741,15121557:16742,15173541:16743,14989961:16744,15177641:16745,15178680:16746,15182483:16747,15184799:16748,15185807:16749,15185564:16750,15237537:16751,15240585:16752,15240600:16753,15241644:16754,15241916:16755,15243195:16756,15246213:16757,15250864:16758,15302785:16759,15303085:16760,15306391:16761,15309980:16762,15313042:16763,15041423:16764,15049367:16765,15107726:16766,15239059:16929,15242421:16930,15250568:16931,15302816:16932,14991235:16933,15040948:16934,15042951:16935,15044019:16936,15106479:16937,15109513:16938,15113631:16939,15120556:16940,15251123:16941,15302815:16942,14991255:16943,15053214:16944,15250314:16945,15112079:16946,15185562:16947,15043986:16948,15245974:16949,15041974:16950,15110019:16951,15052184:16952,15052203:16953,15052938:16954,15110285:16955,15113617:16956,15303068:16957,14990230:16958,15049882:16959,15049898:16960,15118768:16961,15247761:16962,15045822:16963,15048853:16964,15050405:16965,15106992:16966,15108499:16967,15114113:16968,15239349:16969,15115669:16970,15309184:16971,15312772:16972,15313064:16973,14990739:16974,15048838:16975,15052734:16976,15237264:16977,15053489:16978,15055023:16979,15056517:16980,15106208:16981,15107467:16982,15108276:16983,15113151:16984,15119280:16985,15121310:16986,15238030:16987,15238591:16988,15240084:16989,15245963:16990,15250104:16991,15302784:16992,15302830:16993,15309450:16994,15317915:16995,15314843:16996,14990243:16997,15044528:16998,15049895:16999,15183020:17e3,15304333:17001,15311244:17002,15316921:17003,15121309:17004,15171751:17005,15043987:17006,15046020:17007,15052421:17008,15108504:17009,15108766:17010,15109011:17011,15119010:17012,15122351:17013,15175842:17014,15247511:17015,15306936:17016,15122305:17017,15248318:17018,15240376:17019,15042471:17020,15244216:17021,15044522:17022,15044521:17185,14990726:17186,15303060:17187,15253168:17188,15050154:17189,15238321:17190,15054781:17191,15182762:17192,15253183:17193,15115162:17194,15249591:17195,15174584:17196,15315336:17197,15116477:17198,15248048:17199,14989497:17200,15043992:17201,15046790:17202,15048102:17203,15108997:17204,15109794:17205,15112102:17206,15117710:17207,15120289:17208,15120795:17209,15172269:17210,15179693:17211,15182767:17212,15183530:17213,15185595:17214,15237309:17215,15238022:17216,15244171:17217,15248021:17218,15306139:17219,15047587:17220,15049607:17221,15056062:17222,15111853:17223,15112854:17224,15116928:17225,15118005:17226,15176887:17227,15248263:17228,15040676:17229,15179685:17230,15047856:17231,15056027:17232,15106469:17233,15112634:17234,15118752:17235,15177652:17236,15181978:17237,15187374:17238,15239092:17239,15244440:17240,15303045:17241,15312563:17242,15183753:17243,15177116:17244,15182777:17245,15183249:17246,15242116:17247,15302800:17248,15181737:17249,15182482:17250,15240374:17251,15051681:17252,15179136:17253,14989485:17254,14990258:17255,15052441:17256,15056800:17257,15108797:17258,15112380:17259,15114161:17260,15119272:17261,15243691:17262,15245751:17263,15247547:17264,15304078:17265,15305651:17266,15312784:17267,15116439:17268,15171750:17269,15174826:17270,15240103:17271,15241623:17272,15250095:17273,14989441:17274,15041926:17275,15042443:17276,15046283:17277,15052725:17278,15054998:17441,15055027:17442,15055489:17443,15056020:17444,15056053:17445,15056299:17446,15056564:17447,15108018:17448,15109265:17449,15112866:17450,15113373:17451,15121838:17452,15174034:17453,15176890:17454,15178938:17455,15237556:17456,15238329:17457,15238584:17458,15244726:17459,15248063:17460,15248284:17461,15251077:17462,15251379:17463,15305370:17464,15308215:17465,15310978:17466,15315877:17467,15043461:17468,15109527:17469,15178676:17470,15113365:17471,15118984:17472,15175565:17473,15250307:17474,15306414:17475,15309235:17476,15119525:17477,15049372:17478,15115406:17479,15116172:17480,15253437:17481,15306394:17482,15177627:17483,15302810:17484,15049114:17485,15114370:17486,15109812:17487,15116219:17488,14990723:17489,15121580:17490,15114136:17491,15253179:17492,15242406:17493,15185588:17494,15306132:17495,15115455:17496,15121840:17497,15048106:17498,15049655:17499,15051948:17500,15185068:17501,15173802:17502,15044746:17503,15304611:17504,15316660:17505,14989997:17506,14990734:17507,15040924:17508,15040949:17509,15042947:17510,15250078:17511,15045e3:17512,15048868:17513,15052442:17514,15055005:17515,15055509:17516,15055533:17517,15055799:17518,15056031:17519,15106700:17520,15108789:17521,15109306:17522,15110032:17523,15114927:17524,15118720:17525,15180423:17526,15181454:17527,15181963:17528,15185824:17529,15239559:17530,15247490:17531,15248294:17532,15251844:17533,15302803:17534,15303352:17697,15303853:17698,15304600:17699,15318158:17700,15119269:17701,15110552:17702,15111074:17703,15111605:17704,15121332:17705,15178372:17706,15183003:17707,15303081:17708,15306641:17709,15121082:17710,15045554:17711,15056569:17712,15110820:17713,15252877:17714,15253421:17715,15305092:17716,15041976:17717,15049131:17718,15049897:17719,15053205:17720,15055511:17721,15120315:17722,15186575:17723,15176860:17724,15250108:17725,15252386:17726,15311259:17727,15172281:17728,14990493:17729,15118015:17730,15122097:17731,15176880:17732,15309755:17733,15041934:17734,15044752:17735,15048885:17736,15049111:17737,15050412:17738,15053216:17739,15056530:17740,15111831:17741,15113628:17742,15120545:17743,15178171:17744,15241119:17745,15250349:17746,15302804:17747,15303613:17748,15306125:17749,15179941:17750,15179962:17751,15043242:17752,15055526:17753,15047839:17754,15050164:17755,15106194:17756,15040658:17757,15041946:17758,15042220:17759,15042445:17760,15042688:17761,15045776:17762,15049108:17763,15049112:17764,15050135:17765,15052437:17766,15053750:17767,15054475:17768,15106748:17769,15108757:17770,15110317:17771,15113649:17772,15114627:17773,15114940:17774,15115167:17775,15178647:17776,15120280:17777,15120815:17778,15120027:17779,15172015:17780,15173512:17781,15056275:17782,15177624:17783,15181239:17784,15183241:17785,15183252:17786,15183250:17787,15184790:17788,15185329:17789,15042736:17790,15241635:17953,15242665:17954,15243172:17955,15247502:17956,15248516:17957,15249798:17958,15251599:17959,15302787:17960,15302799:17961,15306905:17962,15309238:17963,15311021:17964,15313072:17965,15308696:17966,15041421:17967,15043477:17968,15044748:17969,15048834:17970,15052942:17971,15107751:17972,15110814:17973,15119518:17974,15179443:17975,15182757:17976,15238068:17977,15241348:17978,15303059:17979,15305349:17980,15053728:17981,15316103:17982,15043775:17983,15056535:17984,15056563:17985,15120028:17986,15174073:17987,15179171:17988,15181503:17989,15183780:17990,15118226:17991,15174572:17992,15248045:17993,15114371:17994,15116705:17995,15042488:17996,15182465:17997,15115444:17998,15053194:17999,15315894:18e3,15240107:18001,15052677:18002,15304073:18003,15171742:18004,15047096:18005,15053231:18006,15106951:18007,15111590:18008,15118988:18009,15249818:18010,15303041:18011,15310995:18012,15045009:18013,15113095:18014,15304845:18015,15050120:18016,15303331:18017,15042181:18018,14989709:18019,15042474:18020,15242905:18021,15248526:18022,15171992:18023,15109562:18024,15306123:18025,15115682:18026,15312564:18027,15186052:18028,15177143:18029,15043991:18030,15115680:18031,15252383:18032,15309731:18033,15118749:18034,14989964:18035,15052988:18036,15056016:18037,15253417:18038,15043714:18039,15250321:18040,15237769:18041,15243705:18042,15055807:18043,15112101:18044,14989747:18045,15041957:18046,15050370:18209,15052991:18210,15310766:18211,14990267:18212,15050378:18213,15056781:18214,15248013:18215,15122337:18216,15181488:18217,15181218:18218,15052711:18219,15241649:18220,15174827:18221,15173297:18222,15055284:18223,15056821:18224,15109563:18225,15110810:18226,15173507:18227,15184536:18228,14989699:18229,15055804:18230,14989707:18231,15048604:18232,15047330:18233,15106729:18234,15122307:18235,15185037:18236,15238077:18237,15238323:18238,15238847:18239,15253170:18240,15246999:18241,15243940:18242,15054772:18243,15108746:18244,15110829:18245,15246983:18246,15113655:18247,15119266:18248,15119550:18249,15175862:18250,15179956:18251,15051142:18252,15187381:18253,15239853:18254,15312556:18255,14991283:18256,15055747:18257,15109021:18258,15109778:18259,15111575:18260,15113647:18261,15178627:18262,15174028:18263,15238028:18264,15237818:18265,15252649:18266,15304077:18267,15040653:18268,15048633:18269,15051410:18270,15114885:18271,15115699:18272,15173028:18273,15174589:18274,15250103:18275,15049650:18276,15250336:18277,15309226:18278,15302809:18279,15244735:18280,15181732:18281,15179687:18282,15241385:18283,14990511:18284,15042981:18285,15043994:18286,15109005:18287,15114127:18288,15119242:18289,15178173:18290,15183508:18291,15184533:18292,15239350:18293,15242884:18294,15253419:18295,15113117:18296,15121568:18297,15173766:18298,15186075:18299,15240875:18300,15312769:18301,15317670:18302,15042493:18465,15183537:18466,15180210:18467,15183544:18468,15237767:18469,15183240:18470,15117224:18471,15055265:18472,15237772:18473,15177105:18474,15177120:18475,15041963:18476,15305122:18477,15121036:18478,15178170:18479,15304343:18480,15313834:18481,14990480:18482,15187376:18483,15108764:18484,15183247:18485,15308453:18486,15315881:18487,15047098:18488,15049113:18489,15244196:18490,15309500:18491,14990516:18492,15042724:18493,15043978:18494,15044493:18495,15044507:18496,15054982:18497,15110316:18498,15111825:18499,15113663:18500,15118526:18501,15118734:18502,15174024:18503,15174319:18504,15175597:18505,15177108:18506,15186305:18507,15239340:18508,15243177:18509,15250089:18510,15183748:18511,15304582:18512,15173033:18513,15310994:18514,15311791:18515,15109309:18516,15112617:18517,15177130:18518,15178660:18519,15180688:18520,15242627:18521,15244206:18522,15043754:18523,15043985:18524,15044774:18525,15050371:18526,15055495:18527,15056316:18528,15106738:18529,15108489:18530,15108537:18531,15108779:18532,15111824:18533,15118228:18534,15119244:18535,15177394:18536,15178414:18537,15180433:18538,15181720:18539,15185803:18540,15187383:18541,15237797:18542,15245995:18543,15248057:18544,15250107:18545,15303103:18546,15310238:18547,15311771:18548,15116427:18549,15184056:18550,15041177:18551,15052990:18552,15056558:18553,15113863:18554,15118232:18555,15175861:18556,15178889:18557,15187598:18558,15318203:18721,15114122:18722,15181975:18723,15043769:18724,15177355:18725,15313837:18726,15056294:18727,15238813:18728,15241137:18729,15237784:18730,15056060:18731,15056773:18732,15177122:18733,15183238:18734,15302844:18735,15114663:18736,15050667:18737,15051419:18738,15185040:18739,15178174:18740,15248556:18741,14991285:18742,15056298:18743,15116441:18744,15118519:18745,15121538:18746,15176610:18747,15181224:18748,15245736:18749,15247765:18750,15249849:18751,15055775:18752,15110031:18753,15177605:18754,15181714:18755,15240087:18756,15305896:18757,15305650:18758,15241884:18759,15244205:18760,15315117:18761,15045505:18762,15056300:18763,15111820:18764,15119772:18765,15171733:18766,15250087:18767,15250323:18768,15311035:18769,15111567:18770,15176630:18771,14989453:18772,14990232:18773,15048608:18774,15049899:18775,15051174:18776,15052684:18777,15042216:18778,15054979:18779,15055516:18780,15106198:18781,15108534:18782,15111607:18783,15111847:18784,15112622:18785,15119790:18786,15173814:18787,15183014:18788,15238544:18789,15238810:18790,15239833:18791,15248796:18792,15250080:18793,15250342:18794,15250868:18795,15308956:18796,15309188:18797,14991022:18798,15110827:18799,15117734:18800,15239326:18801,15241633:18802,15242666:18803,15303592:18804,15052929:18805,15115667:18806,15311528:18807,15241658:18808,15242647:18809,14990479:18810,15042991:18811,15056553:18812,15055237:18813,15113357:18814,15181455:18977,15238585:18978,15246471:18979,15246982:18980,15120309:18981,15056023:18982,15108501:18983,15119032:18984,14990223:18985,15174057:18986,15314578:18987,15042694:18988,15044795:18989,15047092:18990,15049395:18991,15107748:18992,15108526:18993,15172762:18994,15050158:18995,15184521:18996,15184798:18997,15185051:18998,15309744:18999,15111815:19e3,15237534:19001,14989465:19002,14990773:19003,15041973:19004,15049088:19005,15055267:19006,15055283:19007,15056010:19008,15114116:19009,14989478:19010,15242429:19011,15308425:19012,15309211:19013,15184307:19014,15310977:19015,15041467:19016,15049601:19017,15178134:19018,15180455:19019,15042725:19020,15179429:19021,15242385:19022,15183494:19023,15040911:19024,15049865:19025,15174023:19026,15183751:19027,15185832:19028,15253178:19029,15253396:19030,15303053:19031,14991039:19032,15043465:19033,15050921:19034,15056001:19035,15310509:19036,14991261:19037,15239319:19038,15305642:19039,15047811:19040,15109525:19041,15117737:19042,15176875:19043,15246236:19044,15252628:19045,15182210:19046,15043487:19047,15049363:19048,15107477:19049,15108234:19050,15112878:19051,15118221:19052,15184063:19053,15241129:19054,15040675:19055,14991288:19056,15043717:19057,15044998:19058,15048881:19059,15050121:19060,15052445:19061,15053744:19062,15053743:19063,15053993:19064,15055510:19065,15108785:19066,15109543:19067,15111358:19068,15111865:19069,15113355:19070,15119253:19233,15119265:19234,15172537:19235,15179954:19236,15186091:19237,15238046:19238,15239859:19239,15241356:19240,15242156:19241,15244418:19242,15246482:19243,15247530:19244,15249802:19245,15303334:19246,15305618:19247,15311805:19248,15315891:19249,15316396:19250,14989711:19251,14989985:19252,15041165:19253,15042966:19254,15048074:19255,15050408:19256,15055037:19257,15056792:19258,15056793:19259,15108287:19260,15112884:19261,15113371:19262,15114128:19263,15115154:19264,15042194:19265,15185057:19266,15237802:19267,15238824:19268,15248512:19269,15250060:19270,15250111:19271,15305150:19272,15308978:19273,15044768:19274,15311020:19275,15043735:19276,15041429:19277,15043996:19278,15049384:19279,15110834:19280,15113396:19281,15174055:19282,15179174:19283,15182214:19284,15304614:19285,15043459:19286,15119009:19287,15117958:19288,15048832:19289,15055244:19290,15050132:19291,15113388:19292,15187899:19293,15042465:19294,15178630:19295,15110569:19296,15180712:19297,15314324:19298,15317691:19299,15048587:19300,15050425:19301,15112359:19302,15113882:19303,15118222:19304,15045545:19305,15116185:19306,15055253:19307,15238812:19308,15113877:19309,15314602:19310,15114174:19311,15315346:19312,15114653:19313,14989990:19314,14991267:19315,15044488:19316,15108793:19317,15113387:19318,15119019:19319,15253380:19320,14991021:19321,15186349:19322,15317695:19323,14989447:19324,15107490:19325,15121024:19326,15121579:19489,15242387:19490,15045043:19491,15113386:19492,15314309:19493,15054771:19494,15183509:19495,15053484:19496,15052678:19497,15244444:19498,15120778:19499,15242129:19500,15181972:19501,15238280:19502,15050393:19503,15184525:19504,15118481:19505,15178912:19506,15043481:19507,15049890:19508,15172769:19509,15174047:19510,15179675:19511,15309991:19512,15316385:19513,15115403:19514,15051199:19515,15050904:19516,15042213:19517,15044749:19518,15045053:19519,15112334:19520,15178655:19521,15253431:19522,15305368:19523,15315892:19524,15050666:19525,15174045:19526,15121285:19527,15041933:19528,15115145:19529,15185599:19530,15185836:19531,15310242:19532,15317690:19533,15110584:19534,15116449:19535,15240322:19536,15050372:19537,15052191:19538,15118235:19539,15174811:19540,15178674:19541,15185586:19542,15237271:19543,15241881:19544,15041714:19545,15113384:19546,15317913:19547,15178670:19548,15113634:19549,15043519:19550,15312005:19551,15052964:19552,15108283:19553,15184318:19554,15250096:19555,15046031:19556,15106742:19557,15185035:19558,15308416:19559,15043713:19560,14989727:19561,15042230:19562,15049884:19563,15173818:19564,15237302:19565,15304590:19566,15056037:19567,15179682:19568,15044228:19569,15056313:19570,15185028:19571,15242924:19572,15247539:19573,15252109:19574,15310230:19575,15114163:19576,15242926:19577,15307155:19578,15107209:19579,15107208:19580,15119033:19581,15178130:19582,15248301:19745,15252664:19746,15045807:19747,14990737:19748,15041706:19749,15043463:19750,15044491:19751,15052453:19752,15055293:19753,15106720:19754,15107714:19755,15110038:19756,15113353:19757,15114138:19758,15120807:19759,15120012:19760,15174838:19761,15174839:19762,15176881:19763,15181200:19764,15246229:19765,15248024:19766,15303050:19767,15303313:19768,15303605:19769,15309700:19770,15244941:19771,15049877:19772,14989960:19773,14990745:19774,14989454:19775,15248009:19776,15252671:19777,15310992:19778,15041197:19779,15055292:19780,15050390:19781,15052473:19782,15055544:19783,15110042:19784,15110074:19785,15111041:19786,15113116:19787,15115658:19788,15116184:19789,15119499:19790,15121078:19791,15173268:19792,15176872:19793,15182511:19794,15187594:19795,15237248:19796,15241609:19797,15242121:19798,15246977:19799,15248545:19800,15251594:19801,15303077:19802,15309245:19803,15312010:19804,15107518:19805,15108753:19806,15117490:19807,15118979:19808,15119796:19809,15187852:19810,15187900:19811,15120256:19812,15187589:19813,15244986:19814,15246264:19815,15113637:19816,15240881:19817,15311036:19818,15309751:19819,15119515:19820,15185313:19821,15241405:19822,15304106:19823,14989745:19824,15044021:19825,15054224:19826,15117444:19827,15122347:19828,15243149:19829,15243437:19830,15247015:19831,15042729:19832,15044751:19833,15053221:19834,15113614:19835,15114920:19836,15175814:19837,15176323:19838,15177634:20001,15246223:20002,15246241:20003,15304588:20004,15309730:20005,15309240:20006,15056523:20007,15175303:20008,15182731:20009,15241614:20010,15109792:20011,15177125:20012,15043209:20013,15119745:20014,15121052:20015,15175817:20016,15177113:20017,15180203:20018,15184530:20019,15309446:20020,15182748:20021,15318669:20022,14991030:20023,15107502:20024,15112069:20025,15243676:20026,14989958:20027,14989998:20028,15041434:20029,14989473:20030,15042444:20031,15052718:20032,15111833:20033,15114881:20034,15120060:20035,15174815:20036,15178114:20037,15179437:20038,15181980:20039,15184807:20040,15239599:20041,15248274:20042,15303100:20043,15304591:20044,15309237:20045,15311e3:20046,15043227:20047,15185809:20048,15040683:20049,15044248:20050,15113879:20051,15120267:20052,15173520:20053,15175859:20054,15239080:20055,15252650:20056,15309475:20057,15315351:20058,15317663:20059,15176096:20060,15049089:20061,15120025:20062,15185071:20063,15311262:20064,14990244:20065,14990518:20066,14990987:20067,15042231:20068,15043249:20069,15054522:20070,15106204:20071,15175346:20072,15180988:20073,15240083:20074,15304884:20075,15309495:20076,15309750:20077,15309962:20078,15317655:20079,15318434:20080,15112870:20081,15117748:20082,15042711:20083,15043235:20084,15172488:20085,15246210:20086,15055753:20087,15106443:20088,15107728:20089,15121571:20090,15173001:20091,15184062:20092,15185844:20093,15237551:20094,15242158:20257,15302819:20258,15305900:20259,15044994:20260,15314351:20261,15117203:20262,15172233:20263,15250306:20264,15251375:20265,15310002:20266,15043252:20267,15051137:20268,15055754:20269,15056004:20270,15113367:20271,15115708:20272,15115924:20273,15119786:20274,15121551:20275,15174050:20276,15174588:20277,15183789:20278,15237249:20279,15237566:20280,15244683:20281,15303566:20282,15041965:20283,15317651:20284,15181444:20285,15237771:20286,15305906:20287,15248278:20288,15040685:20289,15045260:20290,15247793:20291,15117738:20292,15250308:20293,15238279:20294,15106961:20295,15113888:20296,15316914:20297,14989977:20298,14989976:20299,15315088:20300,15247787:20301,15243137:20302,15242664:20303,15115392:20304,15120830:20305,15180439:20306,15238549:20307,15056012:20513,14989456:20514,14989461:20515,14989482:20516,14989489:20517,14989494:20518,14989500:20519,14989503:20520,14989698:20521,14989718:20522,14989720:20523,14989954:20524,14989957:20525,15249835:20526,14989962:20527,15239314:20528,15056013:20529,14989966:20530,14989982:20531,14989983:20532,14989984:20533,14989986:20534,1499e4:20535,14990003:20536,14990006:20537,14990222:20538,14990221:20539,14990212:20540,14990214:20541,14990210:20542,14990231:20543,14990238:20544,14990253:20545,14990239:20546,14990263:20547,14990473:20548,14990746:20549,14990512:20550,14990747:20551,14990749:20552,14990743:20553,14990727:20554,14990774:20555,14990984:20556,14990991:20557,14991e3:20558,14990779:20559,14990761:20560,14990768:20561,14990993:20562,14990767:20563,14990982:20564,14990998:20565,15041688:20566,14991252:20567,14991263:20568,14991246:20569,14991256:20570,14991259:20571,14991249:20572,14991258:20573,14991248:20574,14991268:20575,14991269:20576,15040666:20577,15040680:20578,15040660:20579,15040682:20580,15040677:20581,15040645:20582,14990492:20583,14991286:20584,15040673:20585,15040681:20586,15040684:20587,14991294:20588,14991279:20589,15040657:20590,15040646:20591,15040899:20592,15040903:20593,15113347:20594,15040917:20595,15040912:20596,15040904:20597,15040922:20598,15040918:20599,15040940:20600,15040952:20601,15041152:20602,15041178:20603,15041157:20604,15041204:20605,15041202:20606,15041417:20769,15041418:20770,15041203:20771,15041410:20772,15041430:20773,15041438:20774,15041445:20775,15041453:20776,15041443:20777,15041454:20778,15041465:20779,15041461:20780,15041673:20781,15041665:20782,15041666:20783,15041686:20784,15041685:20785,15041684:20786,15041690:20787,15041697:20788,15041722:20789,15041719:20790,15041724:20791,15041723:20792,15041727:20793,15041920:20794,15041938:20795,15041932:20796,15041940:20797,15041954:20798,15182776:20799,15041961:20800,15041962:20801,15041966:20802,15042176:20803,15042178:20804,15047576:20805,15042188:20806,15042185:20807,15042191:20808,15042193:20809,15042195:20810,15042197:20811,15042198:20812,15042212:20813,15042214:20814,15042210:20815,15042217:20816,15042218:20817,15042219:20818,15042227:20819,15042225:20820,15042226:20821,15042224:20822,15042229:20823,15042237:20824,15042437:20825,15042441:20826,15042459:20827,15042464:20828,15243669:20829,15042473:20830,15042477:20831,15042480:20832,15042485:20833,15042494:20834,15042692:20835,15042699:20836,15042708:20837,15042702:20838,15042727:20839,15042730:20840,15042734:20841,15042739:20842,15042745:20843,15042959:20844,15042948:20845,15042955:20846,15042956:20847,15042974:20848,15042964:20849,15042986:20850,15042996:20851,15042985:20852,15042995:20853,15043007:20854,15043005:20855,15043213:20856,15043220:20857,15043218:20858,15042993:20859,15043208:20860,15043217:20861,15253160:20862,15253159:21025,15043244:21026,15043245:21027,15043260:21028,15043253:21029,15043457:21030,15043469:21031,15043479:21032,15043486:21033,15043491:21034,15043494:21035,15311789:21036,15043488:21037,15043507:21038,15043509:21039,15043512:21040,15043513:21041,15043718:21042,15043720:21043,15176888:21044,15043725:21045,15043728:21046,15043727:21047,15043733:21048,15043738:21049,15043747:21050,15043759:21051,15043761:21052,15043763:21053,15043768:21054,15043968:21055,15043974:21056,15043973:21057,14989463:21058,15043977:21059,15043981:21060,15042454:21061,15043998:21062,15044009:21063,15044014:21064,15049880:21065,15044027:21066,15044023:21067,15044226:21068,15044246:21069,15044256:21070,15044262:21071,15044261:21072,15044270:21073,15044272:21074,15044278:21075,15044483:21076,15184018:21077,15309721:21078,15044511:21079,15113148:21080,15173550:21081,15044526:21082,15044520:21083,15044525:21084,15044538:21085,15044737:21086,15044797:21087,15044992:21088,15044780:21089,15044781:21090,15044796:21091,15044782:21092,15044790:21093,15044777:21094,15044765:21095,15045006:21096,15045263:21097,15045045:21098,15045262:21099,15045023:21100,15045041:21101,15045047:21102,15045040:21103,15045266:21104,15045051:21105,15045248:21106,15045046:21107,15045252:21108,15045264:21109,15045254:21110,15045511:21111,15045282:21112,15045304:21113,15045285:21114,15045292:21115,15045508:21116,15045512:21117,15045288:21118,15045291:21281,15045506:21282,15045284:21283,15045310:21284,15045308:21285,15045528:21286,15045541:21287,15045542:21288,15045775:21289,15045780:21290,15045565:21291,15045550:21292,15045549:21293,15045562:21294,15045538:21295,15045817:21296,15046016:21297,15046051:21298,15046028:21299,15045806:21300,15046044:21301,15046021:21302,15046038:21303,15046039:21304,15045816:21305,15045811:21306,15046045:21307,15046297:21308,15046272:21309,15045295:21310,15046282:21311,15046303:21312,15046075:21313,15046078:21314,15046296:21315,15046302:21316,15046318:21317,15046076:21318,15046275:21319,15046313:21320,15046279:21321,15046312:21322,15046554:21323,15046533:21324,15046559:21325,15046532:21326,15046556:21327,15046564:21328,15046548:21329,15046804:21330,15046583:21331,15046806:21332,15046590:21333,15046589:21334,15046811:21335,15046585:21336,15047054:21337,15047056:21338,15173535:21339,15046836:21340,15046838:21341,15046834:21342,15046840:21343,15047083:21344,15047076:21345,15046831:21346,15047084:21347,15047082:21348,15047302:21349,15047296:21350,15047306:21351,15047328:21352,15047316:21353,15047311:21354,15047333:21355,15047342:21356,15047350:21357,15047348:21358,15047554:21359,15047356:21360,15047553:21361,15047555:21362,15047552:21363,15047560:21364,15047566:21365,15047569:21366,15047571:21367,15047575:21368,15047598:21369,15047609:21370,15047808:21371,15047615:21372,15047812:21373,15047817:21374,15047816:21537,15047819:21538,15047821:21539,15047827:21540,15047832:21541,15047830:21542,15046535:21543,15047836:21544,15047846:21545,15047863:21546,15047864:21547,15048078:21548,15047867:21549,15048064:21550,15048079:21551,15048105:21552,15048576:21553,15048328:21554,15048097:21555,15048127:21556,15048329:21557,15048339:21558,15048352:21559,15048371:21560,15048356:21561,15048362:21562,15048368:21563,15048579:21564,15048582:21565,15048596:21566,15048594:21567,15048595:21568,15048842:21569,15048598:21570,15048611:21571,15048843:21572,15048857:21573,15048861:21574,15049138:21575,15048865:21576,15049122:21577,15049099:21578,15049136:21579,15118208:21580,15049106:21581,15048893:21582,15049145:21583,15049349:21584,15049401:21585,15049375:21586,15049387:21587,15049402:21588,15049630:21589,15049403:21590,15049400:21591,15049390:21592,15049605:21593,15049619:21594,15049617:21595,15049623:21596,15049625:21597,15049624:21598,15049637:21599,15049628:21600,15049636:21601,15049631:21602,15049647:21603,15049658:21604,15049657:21605,15049659:21606,15049660:21607,15049661:21608,15049858:21609,15049866:21610,15049872:21611,15049883:21612,15114918:21613,15049893:21614,15049900:21615,15049901:21616,15049906:21617,15049912:21618,15049918:21619,15182738:21620,15050133:21621,15050128:21622,15050126:21623,15050138:21624,15050136:21625,15050146:21626,15050144:21627,15050151:21628,15050156:21629,15050153:21630,15050168:21793,15050369:21794,15050397:21795,14990750:21796,14991019:21797,15050403:21798,15050418:21799,15050630:21800,15050664:21801,15050652:21802,15050381:21803,15050649:21804,15050650:21805,15050917:21806,15050911:21807,15050897:21808,15050908:21809,15050889:21810,15050906:21811,15051136:21812,15051180:21813,15051145:21814,15050933:21815,15050934:21816,15051170:21817,15051178:21818,15051418:21819,15051452:21820,15051454:21821,15051659:21822,15051650:21823,15051453:21824,15051683:21825,15051671:21826,15051686:21827,15051689:21828,15051670:21829,15051706:21830,15051707:21831,15051916:21832,15051915:21833,15051926:21834,15051954:21835,15051664:21836,15051946:21837,15051958:21838,15051966:21839,15052163:21840,15052165:21841,15052160:21842,15052177:21843,15052181:21844,15052186:21845,15052187:21846,15052197:21847,15052201:21848,15052208:21849,15052211:21850,15052213:21851,15052216:21852,15111816:21853,15052218:21854,15052416:21855,15052419:21856,15052454:21857,15052472:21858,15052675:21859,15052679:21860,15052681:21861,15052692:21862,15052688:21863,15052708:21864,15052710:21865,15052706:21866,15052702:21867,15052709:21868,15052715:21869,15052720:21870,15052726:21871,15052723:21872,15052933:21873,15052935:21874,15052936:21875,15052941:21876,15052947:21877,15052960:21878,15052962:21879,15052968:21880,15052984:21881,15052985:21882,15053185:21883,15053190:21884,15053198:21885,15053203:21886,15053200:22049,15053199:22050,15052209:22051,15053228:22052,15053230:22053,14989730:22054,15053238:22055,15053241:22056,15053452:22057,15053457:22058,15053460:22059,15050395:22060,15053483:22061,15053499:22062,15053494:22063,15053500:22064,15053495:22065,15053701:22066,15053502:22067,15053703:22068,15053721:22069,15053737:22070,15053757:22071,15053754:22072,15053741:22073,15054476:22074,15053738:22075,15053963:22076,15053973:22077,15053975:22078,15054236:22079,15053983:22080,15053979:22081,15053969:22082,15053972:22083,15053986:22084,15053978:22085,15053977:22086,15053976:22087,15054220:22088,15054226:22089,15054222:22090,15054219:22091,15054252:22092,15054259:22093,15054262:22094,15054471:22095,15054468:22096,15054466:22097,15054498:22098,15054493:22099,15054508:22100,15054510:22101,15054525:22102,15054480:22103,15054519:22104,15054524:22105,15054729:22106,15054733:22107,15054739:22108,15054738:22109,15054742:22110,15054747:22111,15054763:22112,15054770:22113,15054773:22114,15054987:22115,15055002:22116,15055001:22117,15054993:22118,15055003:22119,15055030:22120,15055031:22121,15055236:22122,15055235:22123,15055232:22124,15055246:22125,15055255:22126,15055252:22127,15055263:22128,15055266:22129,15055268:22130,15055239:22131,15055285:22132,15055286:22133,15055290:22134,15317692:22135,15055295:22136,15055520:22137,15055745:22138,15055746:22139,15055752:22140,15055760:22141,15055759:22142,15055766:22305,15055779:22306,15055773:22307,15055770:22308,15055771:22309,15055778:22310,15055777:22311,15055784:22312,15055785:22313,15055788:22314,15055793:22315,15055795:22316,15055792:22317,15055796:22318,15055800:22319,15055806:22320,15056003:22321,15056009:22322,15056285:22323,15056284:22324,15056011:22325,15056017:22326,15056022:22327,15056041:22328,15056045:22329,15056056:22330,15056257:22331,15056264:22332,15056268:22333,15056270:22334,15056047:22335,15056273:22336,15056278:22337,15056279:22338,15056281:22339,15056289:22340,15056301:22341,15056307:22342,15056311:22343,15056515:22344,15056514:22345,15056319:22346,15056522:22347,15056520:22348,15056529:22349,15056519:22350,15056542:22351,15056537:22352,15056536:22353,15056544:22354,15056552:22355,15056557:22356,15056572:22357,15056790:22358,15056827:22359,15056804:22360,15056824:22361,15056817:22362,15056797:22363,15106739:22364,15056831:22365,15106209:22366,15106464:22367,15106201:22368,15106192:22369,15106217:22370,15106190:22371,15106225:22372,15106203:22373,15106197:22374,15106219:22375,15106214:22376,15106191:22377,15106234:22378,15106458:22379,15106433:22380,15106474:22381,15106487:22382,15106463:22383,15106442:22384,15106438:22385,15106445:22386,15106467:22387,15106435:22388,15106468:22389,15106434:22390,15106476:22391,15106475:22392,15106457:22393,15106689:22394,15106701:22395,15106983:22396,15106691:22397,15106714:22398,15106692:22561,15106715:22562,15106710:22563,15106711:22564,15106706:22565,15106727:22566,15106699:22567,15106977:22568,15106744:22569,15106976:22570,15106963:22571,15106740:22572,15056816:22573,15106749:22574,15106950:22575,15106741:22576,15106968:22577,15107469:22578,15107221:22579,15107206:22580,15106998:22581,15106999:22582,15107200:22583,15106996:22584,15107002:22585,15107203:22586,15107233:22587,15107003:22588,15106993:22589,15107213:22590,15107214:22591,15107463:22592,15107262:22593,15107240:22594,15107239:22595,15107466:22596,15107263:22597,15107260:22598,15107244:22599,15107252:22600,15107261:22601,15107458:22602,15107460:22603,15107507:22604,15107511:22605,15107480:22606,15107481:22607,15107482:22608,15107499:22609,15107508:22610,15107503:22611,15107493:22612,15107505:22613,15107487:22614,15107485:22615,15107475:22616,15107509:22617,15107737:22618,15107734:22619,15107719:22620,15107756:22621,15107732:22622,15107738:22623,15107722:22624,15107729:22625,15107755:22626,15107758:22627,15107980:22628,15107978:22629,15107977:22630,15108023:22631,15107976:22632,15107971:22633,15107974:22634,15107770:22635,15107979:22636,15187385:22637,15107981:22638,15108006:22639,15108003:22640,15108022:22641,15108026:22642,15108020:22643,15108031:22644,15108029:22645,15108028:22646,15108030:22647,15108224:22648,15108232:22649,15108233:22650,15108237:22651,15108236:22652,15108244:22653,15108251:22654,15108254:22817,15108257:22818,15108266:22819,15108270:22820,15108272:22821,15108274:22822,15108275:22823,15108481:22824,15108494:22825,15108510:22826,15108515:22827,15108507:22828,15108512:22829,15108520:22830,15108540:22831,15108738:22832,15108745:22833,15108542:22834,15108754:22835,15108755:22836,15108758:22837,15109012:22838,15108739:22839,15108756:22840,15109015:22841,15109009:22842,15108795:22843,15109007:22844,15109055:22845,15108998:22846,15111060:22847,15109e3:22848,15109020:22849,15109004:22850,15109002:22851,15108994:22852,15108999:22853,15108763:22854,15109001:22855,15109260:22856,15109038:22857,15109041:22858,15109287:22859,15109250:22860,15109256:22861,15109039:22862,15109045:22863,15109520:22864,15109310:22865,15109517:22866,15110300:22867,15109519:22868,15109782:22869,15109774:22870,15109760:22871,15109803:22872,15109558:22873,15109795:22874,15109775:22875,15109769:22876,15109791:22877,15109813:22878,15109547:22879,15109545:22880,15109822:22881,15110057:22882,15110016:22883,15110022:22884,15110051:22885,15110025:22886,15110034:22887,15110070:22888,15110020:22889,15110294:22890,15110324:22891,15110278:22892,15110291:22893,15110310:22894,15110326:22895,15111325:22896,15110295:22897,15110312:22898,15110287:22899,15110567:22900,15110575:22901,15110582:22902,15110542:22903,15111338:22904,15110805:22905,15110803:22906,15110821:22907,15110825:22908,15110792:22909,15110844:22910,15111066:23073,15111058:23074,15111045:23075,15111047:23076,15110843:23077,15111064:23078,15111042:23079,15111089:23080,15111079:23081,15239305:23082,15111072:23083,15111073:23084,15108780:23085,15111075:23086,15111087:23087,15111340:23088,15111094:23089,15111092:23090,15111090:23091,15111098:23092,15111296:23093,15111101:23094,15111320:23095,15111324:23096,15111301:23097,15111332:23098,15111331:23099,15111339:23100,15111348:23101,15111349:23102,15111351:23103,15111350:23104,15111352:23105,15177099:23106,15111560:23107,15111574:23108,15111573:23109,15111565:23110,15111576:23111,15111582:23112,15111581:23113,15111602:23114,15111608:23115,15111810:23116,15111811:23117,15249034:23118,15111835:23119,15111839:23120,15111851:23121,15111863:23122,15112067:23123,15112070:23124,15112065:23125,15112068:23126,15112076:23127,15112082:23128,15112091:23129,15112089:23130,15112096:23131,15112097:23132,15112113:23133,15113650:23134,15112330:23135,15112323:23136,15112123:23137,15113651:23138,15112373:23139,15112374:23140,15112372:23141,15112348:23142,15112591:23143,15112580:23144,15112585:23145,15112577:23146,15112606:23147,15112605:23148,15112612:23149,15112615:23150,15112616:23151,15112607:23152,15112610:23153,15112624:23154,15112835:23155,15112840:23156,15112846:23157,15112841:23158,15112836:23159,15112856:23160,15112861:23161,15113089:23162,15112889:23163,15113097:23164,15112894:23165,15112892:23166,15113092:23329,15112888:23330,15113110:23331,15113114:23332,15113120:23333,15112383:23334,15113126:23335,15113129:23336,15113136:23337,15113141:23338,15113143:23339,15113359:23340,15113366:23341,15113374:23342,15113382:23343,15113383:23344,15310008:23345,15113390:23346,15113407:23347,15113398:23348,15113601:23349,15113400:23350,15113399:23351,15113606:23352,15113630:23353,15113632:23354,15113625:23355,15113635:23356,15113636:23357,15113865:23358,15113648:23359,15113897:23360,15113660:23361,15113642:23362,15113868:23363,15113867:23364,15113894:23365,15113889:23366,15113861:23367,15113911:23368,15114159:23369,15113908:23370,15114156:23371,15113907:23372,15114153:23373,15113912:23374,15114148:23375,15114142:23376,15114141:23377,15114146:23378,15114158:23379,15113913:23380,15114126:23381,15114118:23382,15114151:23383,15116956:23384,15114398:23385,15114630:23386,15114409:23387,15114624:23388,15114637:23389,15114418:23390,15114638:23391,15114931:23392,15114411:23393,15114649:23394,15114659:23395,15114679:23396,15114687:23397,15114911:23398,15114895:23399,15114925:23400,15114900:23401,15114909:23402,15114907:23403,15114883:23404,15116974:23405,15114937:23406,15114676:23407,15114933:23408,15114912:23409,15114938:23410,15115407:23411,15114893:23412,15114686:23413,15115393:23414,15115146:23415,15115400:23416,15115160:23417,15115426:23418,15115430:23419,15115169:23420,15115404:23421,15115149:23422,15115156:23585,15115175:23586,15115157:23587,15115446:23588,15115410:23589,15115396:23590,15115159:23591,15115171:23592,15115429:23593,15115193:23594,15115168:23595,15115183:23596,15115432:23597,15115434:23598,15115418:23599,15115427:23600,15115425:23601,15115142:23602,15115705:23603,15115703:23604,15115676:23605,15115704:23606,15115691:23607,15115668:23608,15115710:23609,15115694:23610,15115449:23611,15115700:23612,15115453:23613,15115673:23614,15115440:23615,15115681:23616,15115678:23617,15115677:23618,15115905:23619,15115690:23620,15115954:23621,15115950:23622,15116176:23623,15115967:23624,15116161:23625,15116179:23626,15115966:23627,15116174:23628,15052712:23629,15116170:23630,15116189:23631,15115963:23632,15116163:23633,15115943:23634,15116462:23635,15115921:23636,15115936:23637,15115932:23638,15115925:23639,15115956:23640,15116190:23641,15116200:23642,15116418:23643,15116443:23644,15116223:23645,15117450:23646,15116217:23647,15116210:23648,15116199:23649,15116421:23650,15115953:23651,15116446:23652,15116205:23653,15116436:23654,15116203:23655,15116426:23656,15116434:23657,15117185:23658,15116451:23659,15116435:23660,15116676:23661,15116428:23662,15116722:23663,15116470:23664,15116728:23665,15116679:23666,15116706:23667,15116697:23668,15116710:23669,15116680:23670,15116472:23671,15116450:23672,15116944:23673,15116941:23674,15116960:23675,15116932:23676,15116962:23677,15116963:23678,15116951:23841,15243415:23842,15116987:23843,15117187:23844,15117186:23845,15116984:23846,15116979:23847,15116972:23848,15117214:23849,15117201:23850,15117215:23851,15116970:23852,15117210:23853,15117226:23854,15117243:23855,15117445:23856,15243414:23857,15117242:23858,15117458:23859,15117462:23860,15314097:23861,15117471:23862,15117496:23863,15117495:23864,15178652:23865,15117497:23866,15311790:23867,15117703:23868,15117699:23869,15117705:23870,15117712:23871,15117721:23872,15117716:23873,15117723:23874,15117727:23875,15117729:23876,15117752:23877,15117753:23878,15117759:23879,15117952:23880,15117956:23881,15117955:23882,15117965:23883,15117976:23884,15117973:23885,15117982:23886,15117988:23887,15117994:23888,15117995:23889,15117999:23890,15118002:23891,15118001:23892,15118003:23893,15118007:23894,15118012:23895,15118214:23896,15118219:23897,15118227:23898,15118239:23899,15118252:23900,15118251:23901,15118259:23902,15118255:23903,15317694:23904,15118472:23905,15118483:23906,15118484:23907,15118491:23908,15118500:23909,15118499:23910,15118750:23911,15118741:23912,15118754:23913,15118762:23914,15118978:23915,15118989:23916,15119002:23917,15118977:23918,15119003:23919,15118782:23920,15118760:23921,15118771:23922,15118994:23923,15118992:23924,15119236:23925,15119281:23926,15119251:23927,15119037:23928,15119255:23929,15119237:23930,15119261:23931,15119022:23932,15119025:23933,15119038:23934,15119034:24097,15119259:24098,15119279:24099,15119257:24100,15119274:24101,15119519:24102,15245709:24103,15119542:24104,15119531:24105,15119549:24106,15119544:24107,15119513:24108,15119541:24109,15119539:24110,15119506:24111,15119500:24112,15119779:24113,15120019:24114,15119780:24115,15119770:24116,15119801:24117,15119769:24118,15120014:24119,15120021:24120,15122340:24121,15120005:24122,15120313:24123,15120533:24124,15120522:24125,15120053:24126,15120263:24127,15120294:24128,15120056:24129,15120262:24130,15120300:24131,15120286:24132,15120268:24133,15120296:24134,15120274:24135,15120261:24136,15120314:24137,15120281:24138,15120292:24139,15120277:24140,15120298:24141,15120302:24142,15120557:24143,15120814:24144,15120558:24145,15120537:24146,15120818:24147,15120799:24148,15120574:24149,15120547:24150,15120811:24151,15120555:24152,15120822:24153,15120781:24154,15120543:24155,15120771:24156,15120570:24157,15120782:24158,15120548:24159,15121343:24160,15120541:24161,15120568:24162,15121026:24163,15121066:24164,15121048:24165,15121289:24166,15121079:24167,15121299:24168,15121085:24169,15121071:24170,15121284:24171,15121074:24172,15121300:24173,15121301:24174,15121039:24175,15121061:24176,15121282:24177,15121055:24178,15121793:24179,15121553:24180,15171980:24181,15121324:24182,15121336:24183,15121342:24184,15121599:24185,15121330:24186,15121585:24187,15121327:24188,15121586:24189,15121292:24190,15121598:24353,15121555:24354,15121335:24355,15122054:24356,15121850:24357,15121848:24358,15122049:24359,15122048:24360,15121839:24361,15121819:24362,15122355:24363,15121837:24364,15122050:24365,15121852:24366,15121816:24367,15122062:24368,15122065:24369,15122306:24370,15121830:24371,15122099:24372,15122083:24373,15122081:24374,15122084:24375,15122105:24376,15122310:24377,15122090:24378,15122335:24379,15122325:24380,15122348:24381,15122324:24382,15122328:24383,15122353:24384,15122350:24385,15122331:24386,15171721:24387,15171723:24388,15122362:24389,15171729:24390,15171713:24391,15171727:24392,15122366:24393,15171739:24394,15171738:24395,15121844:24396,15171741:24397,15171736:24398,15171743:24399,15171760:24400,15171774:24401,15171762:24402,15171985:24403,15172003:24404,15172249:24405,15172242:24406,15172271:24407,15172529:24408,15172268:24409,15172280:24410,15172275:24411,15172270:24412,15172511:24413,15172491:24414,15172509:24415,15172505:24416,15172745:24417,15172541:24418,15172764:24419,15172761:24420,15173029:24421,15173013:24422,15173256:24423,15173030:24424,15173026:24425,15173004:24426,15173014:24427,15173036:24428,15173263:24429,15173563:24430,15173252:24431,15173269:24432,15173288:24433,15173292:24434,15173527:24435,15173305:24436,15173310:24437,15173522:24438,15173513:24439,15173524:24440,15173518:24441,15173536:24442,15173548:24443,15173543:24444,15173557:24445,15173564:24446,15173561:24609,15173567:24610,15173773:24611,15173776:24612,15173787:24613,15173800:24614,15173805:24615,15173804:24616,15173808:24617,15173810:24618,15173819:24619,15173820:24620,15173823:24621,15174016:24622,15174022:24623,15174027:24624,15174040:24625,15174068:24626,15174078:24627,15174274:24628,15174273:24629,15174279:24630,15174290:24631,15174294:24632,15174306:24633,15174311:24634,15174329:24635,15174322:24636,15174531:24637,15174534:24638,15174532:24639,15174542:24640,15174546:24641,15174562:24642,15174560:24643,15174561:24644,15174585:24645,15174583:24646,15040655:24647,15174807:24648,15174794:24649,15174812:24650,15174806:24651,15174813:24652,15174836:24653,15174831:24654,15174825:24655,15174821:24656,15174846:24657,15175054:24658,15175055:24659,15317912:24660,15175063:24661,15175082:24662,15175080:24663,15175088:24664,15175096:24665,15175093:24666,15175099:24667,15175098:24668,15175560:24669,15175347:24670,15175566:24671,15175355:24672,15175552:24673,15175589:24674,15175598:24675,15175582:24676,15176354:24677,15175813:24678,15176111:24679,15175845:24680,15175608:24681,15175858:24682,15175866:24683,15176085:24684,15175871:24685,15176095:24686,15176089:24687,15176065:24688,15176092:24689,15176105:24690,15176112:24691,15176099:24692,15176106:24693,15176118:24694,15176126:24695,15176331:24696,15176350:24697,15176359:24698,15176586:24699,15176591:24700,15176596:24701,15175601:24702,15176608:24865,15176611:24866,15176615:24867,15176617:24868,15176622:24869,15176626:24870,15176624:24871,15176625:24872,15176632:24873,15176631:24874,15176836:24875,15176835:24876,15176837:24877,15176844:24878,15176846:24879,15176845:24880,15176853:24881,15176851:24882,15176862:24883,15176870:24884,15176876:24885,15176892:24886,15177092:24887,15177101:24888,15177098:24889,15177097:24890,15177115:24891,15177094:24892,15177114:24893,15177129:24894,15177124:24895,15177127:24896,15177131:24897,15177133:24898,15177144:24899,15177142:24900,15177350:24901,15177351:24902,15177140:24903,15177354:24904,15177353:24905,15177346:24906,15177364:24907,15177370:24908,15177373:24909,15177381:24910,15177379:24911,15177602:24912,15177395:24913,15177603:24914,15177397:24915,15177405:24916,15177400:24917,15177404:24918,15177393:24919,15177613:24920,15177610:24921,15177618:24922,15177625:24923,15177635:24924,15177630:24925,15177662:24926,15177663:24927,15177660:24928,15177857:24929,15177648:24930,15177658:24931,15177650:24932,15177651:24933,15177867:24934,15177869:24935,15177865:24936,15177887:24937,15177895:24938,15177888:24939,15177889:24940,15177890:24941,15177892:24942,15177908:24943,15177904:24944,15177915:24945,15178119:24946,15178120:24947,15178118:24948,15178140:24949,15178136:24950,15178145:24951,15178146:24952,15178152:24953,15178153:24954,15178154:24955,15178151:24956,15178156:24957,15178160:24958,15178162:25121,15178166:25122,15178168:25123,15178172:25124,15178368:25125,15178371:25126,15178376:25127,15178379:25128,15178382:25129,15178390:25130,15178387:25131,15178393:25132,15178394:25133,15178416:25134,15178420:25135,15178424:25136,15178425:25137,15178426:25138,15178626:25139,15178637:25140,15178646:25141,15178642:25142,15178654:25143,15178657:25144,15178661:25145,15178663:25146,15178666:25147,15243439:25148,15178683:25149,15178888:25150,15178887:25151,15178884:25152,15178921:25153,15178916:25154,15178910:25155,15178917:25156,15178918:25157,15178907:25158,15178935:25159,15178936:25160,15179143:25161,15179162:25162,15179176:25163,15179179:25164,15179163:25165,15179173:25166,15179199:25167,15179198:25168,15179193:25169,15179406:25170,15179403:25171,15179409:25172,15179424:25173,15179422:25174,15179440:25175,15179446:25176,15179449:25177,15179455:25178,15179452:25179,15179453:25180,15179451:25181,15179655:25182,15179661:25183,15179671:25184,15179674:25185,15179676:25186,15179683:25187,15179694:25188,15179708:25189,15179916:25190,15179922:25191,15180966:25192,15179936:25193,15180970:25194,15180165:25195,15180430:25196,15180212:25197,15180422:25198,15180220:25199,15180442:25200,15180428:25201,15180451:25202,15180469:25203,15180458:25204,15180463:25205,15180689:25206,15180678:25207,15180683:25208,15180692:25209,15180478:25210,15180476:25211,15180677:25212,15180682:25213,15180716:25214,15180711:25377,15180698:25378,15180733:25379,15180724:25380,15180935:25381,15180946:25382,15180945:25383,15180953:25384,15180972:25385,15180971:25386,15181184:25387,15181216:25388,15181207:25389,15181215:25390,15181210:25391,15181205:25392,15181203:25393,15181242:25394,15181247:25395,15181450:25396,15181469:25397,15181479:25398,15318411:25399,15181482:25400,15181486:25401,15181491:25402,15181497:25403,15181498:25404,15181705:25405,15181717:25406,15181735:25407,15181740:25408,15181729:25409,15181731:25410,15181960:25411,15181965:25412,15181976:25413,15181977:25414,15181984:25415,15181983:25416,15181440:25417,15182001:25418,15182011:25419,15182014:25420,15182007:25421,15182211:25422,15182231:25423,15182217:25424,15182241:25425,15182242:25426,15182249:25427,15318685:25428,15182256:25429,15182265:25430,15182269:25431,15182472:25432,15182487:25433,15182485:25434,15182488:25435,15182486:25436,15182505:25437,15182728:25438,15182512:25439,15182518:25440,15182725:25441,15182724:25442,15182527:25443,15303299:25444,15182727:25445,15182730:25446,15182733:25447,15182735:25448,15182741:25449,15182739:25450,15182745:25451,15182746:25452,15182749:25453,15182753:25454,15182754:25455,15182758:25456,15182765:25457,15182768:25458,15182978:25459,15182991:25460,15182986:25461,15182982:25462,15183027:25463,15183e3:25464,15183001:25465,15183006:25466,15183029:25467,15183016:25468,15183030:25469,15183248:25470,15183290:25633,15182980:25634,15183245:25635,15182987:25636,15183244:25637,15183237:25638,15183285:25639,15183269:25640,15183284:25641,15183271:25642,15183280:25643,15183281:25644,15183276:25645,15183278:25646,15183517:25647,15183512:25648,15183519:25649,15183501:25650,15183516:25651,15183514:25652,15183499:25653,15183506:25654,15183503:25655,15183261:25656,15183513:25657,15183755:25658,15183745:25659,15183756:25660,15183759:25661,15183540:25662,15183750:25663,15183773:25664,15183785:25665,15184017:25666,15184020:25667,15183782:25668,15183781:25669,15184288:25670,15184e3:25671,15184007:25672,15184019:25673,15183795:25674,15183799:25675,15184023:25676,15184013:25677,15183798:25678,15184035:25679,15184039:25680,15184042:25681,15184031:25682,15184055:25683,15184043:25684,15184061:25685,15184268:25686,15184259:25687,15184276:25688,15184271:25689,15184256:25690,15184272:25691,15184280:25692,15184287:25693,15184292:25694,15184278:25695,15184293:25696,15184300:25697,15184309:25698,15184515:25699,15184528:25700,15184548:25701,15184557:25702,15184546:25703,15184555:25704,15184545:25705,15184552:25706,15184563:25707,15184562:25708,15184561:25709,15184558:25710,15184569:25711,15184573:25712,15184768:25713,15184773:25714,15184770:25715,15184792:25716,15184786:25717,15184796:25718,15184802:25719,15314107:25720,15184815:25721,15184818:25722,15184820:25723,15184822:25724,15184826:25725,15185030:25726,15185026:25889,15185052:25890,15185045:25891,15185034:25892,15185285:25893,15185291:25894,15185070:25895,15185074:25896,15185087:25897,15185077:25898,15185286:25899,15185331:25900,15185302:25901,15185294:25902,15185330:25903,15185320:25904,15185326:25905,15185295:25906,15185315:25907,15185555:25908,15185545:25909,15185307:25910,15185551:25911,15185341:25912,15185563:25913,15185594:25914,15185582:25915,15185571:25916,15185589:25917,15185799:25918,15185597:25919,15185579:25920,15186109:25921,15185570:25922,15185583:25923,15185820:25924,15185592:25925,15185567:25926,15185584:25927,15185816:25928,15185821:25929,15185828:25930,15185822:25931,15185851:25932,15185842:25933,15185825:25934,15186053:25935,15186058:25936,15186083:25937,15186081:25938,15186066:25939,15186097:25940,15186079:25941,15186057:25942,15186059:25943,15186082:25944,15186310:25945,15186342:25946,15186107:25947,15186101:25948,15186105:25949,15186307:25950,15186103:25951,15186098:25952,15186106:25953,15186343:25954,15186333:25955,15186326:25956,15186334:25957,15186329:25958,15186330:25959,15186361:25960,15186346:25961,15186345:25962,15186364:25963,15186363:25964,15186563:25965,15185813:25966,15186365:25967,15253166:25968,15186367:25969,15186568:25970,15186569:25971,15186572:25972,15186578:25973,15186576:25974,15186579:25975,15186580:25976,15186582:25977,15186574:25978,15186587:25979,15186588:25980,15187128:25981,15187130:25982,15187333:26145,15187340:26146,15187341:26147,15187342:26148,15187344:26149,15187345:26150,15187349:26151,15187348:26152,15187352:26153,15187359:26154,15187360:26155,15187368:26156,15187369:26157,15187367:26158,15187384:26159,15187586:26160,15187590:26161,15187587:26162,15187592:26163,15187591:26164,15187596:26165,15187604:26166,15187614:26167,15187613:26168,15187610:26169,15187619:26170,15187631:26171,15187634:26172,15187641:26173,15187630:26174,15187638:26175,15187640:26176,15248817:26177,15187845:26178,15187846:26179,15187850:26180,15187861:26181,15187860:26182,15187873:26183,15187878:26184,15187881:26185,15187891:26186,15187897:26187,15311772:26188,15237254:26189,15237252:26190,15237259:26191,15237266:26192,15237272:26193,15237273:26194,15237276:26195,15237281:26196,15237288:26197,15237311:26198,15237307:26199,15237514:26200,15237510:26201,15237522:26202,15237528:26203,15237530:26204,15237535:26205,15237538:26206,15237544:26207,15237555:26208,15237554:26209,15237552:26210,15237558:26211,15237561:26212,15237565:26213,15237567:26214,15237764:26215,15237766:26216,15237765:26217,15237787:26218,15237779:26219,15237786:26220,15237805:26221,15042192:26222,15237804:26223,15238043:26224,15238053:26225,15238041:26226,15238045:26227,15238020:26228,15238042:26229,15238038:26230,15238281:26231,15238063:26232,15238065:26233,15238299:26234,15238313:26235,15238307:26236,15238319:26237,15238539:26238,15309451:26401,15238534:26402,15238334:26403,15238547:26404,15238545:26405,15238076:26406,15238577:26407,15238574:26408,15238565:26409,15238566:26410,15238580:26411,15238787:26412,15238792:26413,15238794:26414,15238784:26415,15238786:26416,15238816:26417,15238805:26418,15238820:26419,15238819:26420,15238559:26421,15238803:26422,15238825:26423,15238832:26424,15238837:26425,15238846:26426,15238840:26427,15238845:26428,15239040:26429,15239042:26430,15238842:26431,15239049:26432,15239053:26433,15239057:26434,15239065:26435,15239064:26436,15239048:26437,15239066:26438,15239071:26439,15239072:26440,15239079:26441,15239098:26442,15239099:26443,15239102:26444,15239297:26445,15239298:26446,15239301:26447,15239303:26448,15239306:26449,15239309:26450,15239312:26451,15239318:26452,15239337:26453,15239339:26454,15239352:26455,15239347:26456,15239552:26457,15239577:26458,15239576:26459,15239581:26460,15239578:26461,15239583:26462,15239588:26463,15239586:26464,15239592:26465,15239594:26466,15239595:26467,15239342:26468,15239601:26469,15239607:26470,15239608:26471,15239614:26472,15239821:26473,15239826:26474,15239851:26475,15239839:26476,15239867:26477,15239852:26478,15240097:26479,15240099:26480,15240095:26481,15240082:26482,15240116:26483,15240115:26484,15240122:26485,15240851:26486,15240323:26487,15240123:26488,15240121:26489,15240094:26490,15240326:26491,15240092:26492,15240329:26493,15240089:26494,15240373:26657,15240372:26658,15240342:26659,15240370:26660,15240369:26661,15240576:26662,15240377:26663,15240592:26664,15240581:26665,15240367:26666,15240363:26667,15240343:26668,15240344:26669,15240837:26670,15240858:26671,15240874:26672,15240863:26673,15240866:26674,15240854:26675,15240355:26676,15240846:26677,15240839:26678,15240842:26679,15240636:26680,15240885:26681,15240627:26682,15240629:26683,15240864:26684,15240841:26685,15240872:26686,15241140:26687,15241363:26688,15241131:26689,15241102:26690,15241149:26691,15241347:26692,15241112:26693,15241355:26694,15241089:26695,15241143:26696,15241351:26697,15241120:26698,15241138:26699,15241357:26700,15241378:26701,15241376:26702,15240893:26703,15241400:26704,15242374:26705,15241147:26706,15241645:26707,15241386:26708,15241404:26709,15242650:26710,15241860:26711,15241655:26712,15241643:26713,15241901:26714,15241646:26715,15241858:26716,15241641:26717,15241606:26718,15241388:26719,15241647:26720,15241657:26721,15241397:26722,15242122:26723,15241634:26724,15241913:26725,15241919:26726,15241887:26727,15242137:26728,15242125:26729,15241915:26730,15242138:26731,15242128:26732,15242113:26733,15242118:26734,15242134:26735,15241889:26736,15242401:26737,15242175:26738,15242164:26739,15242391:26740,15242392:26741,15242412:26742,15242399:26743,15242389:26744,15242388:26745,15242172:26746,15242624:26747,15242659:26748,15242648:26749,15242632:26750,15242625:26913,15243394:26914,15242635:26915,15242645:26916,15242880:26917,15242916:26918,15242888:26919,15242897:26920,15242890:26921,15242920:26922,15242669:26923,15242900:26924,15242907:26925,15243178:26926,15242887:26927,15242908:26928,15242679:26929,15242686:26930,15242896:26931,15243145:26932,15242938:26933,15243151:26934,15242937:26935,15243152:26936,15243157:26937,15243165:26938,15243173:26939,15243164:26940,15243193:26941,15243402:26942,15243411:26943,15243403:26944,15243198:26945,15243194:26946,15243398:26947,15243426:26948,15243418:26949,15243440:26950,15243455:26951,15243661:26952,14989717:26953,15243668:26954,15243679:26955,15243687:26956,15243697:26957,15243923:26958,15243939:26959,15243945:26960,15243946:26961,15243915:26962,15243916:26963,15243958:26964,15243951:26965,15244164:26966,15244166:26967,15243952:26968,15244169:26969,15245475:26970,15243947:26971,15244180:26972,15244190:26973,15244201:26974,15244204:26975,15244191:26976,15244187:26977,15244207:26978,15244434:26979,15244422:26980,15244424:26981,15244416:26982,15244419:26983,15244219:26984,15244433:26985,15244425:26986,15244429:26987,15244217:26988,15244426:26989,15244468:26990,15244479:26991,15244471:26992,15244475:26993,15244453:26994,15244457:26995,15244442:26996,15244704:26997,15244703:26998,15244728:26999,15244684:27e3,15244686:27001,15244724:27002,15244695:27003,15244712:27004,15244718:27005,15244697:27006,15244691:27169,15244707:27170,15244714:27171,15245445:27172,15244962:27173,15244959:27174,15244930:27175,15244975:27176,15245195:27177,15244989:27178,15245184:27179,15245200:27180,15309718:27181,15244971:27182,15245188:27183,15244979:27184,15245191:27185,15245190:27186,15244987:27187,15245231:27188,15245234:27189,15245216:27190,15245455:27191,15245453:27192,15245246:27193,15245238:27194,15245239:27195,15245454:27196,15245202:27197,15245457:27198,15245462:27199,15245461:27200,15245474:27201,15245473:27202,15245489:27203,15245494:27204,15245497:27205,15245479:27206,15245499:27207,15245700:27208,15245698:27209,15245714:27210,15245721:27211,15245726:27212,15245730:27213,15245739:27214,15245953:27215,15245758:27216,15245982:27217,15245749:27218,15245757:27219,15246005:27220,15245746:27221,15245954:27222,15245975:27223,15245970:27224,15245998:27225,15245977:27226,15245986:27227,15245965:27228,15245988:27229,15246e3:27230,15246015:27231,15246001:27232,15246211:27233,15246212:27234,15246228:27235,15246232:27236,15246233:27237,15246237:27238,15246265:27239,15246466:27240,15246268:27241,15246260:27242,15246248:27243,15246258:27244,15246468:27245,15246476:27246,15246474:27247,15246483:27248,15246723:27249,15246494:27250,15246501:27251,15246506:27252,15246507:27253,15246721:27254,15246724:27255,15246523:27256,15246518:27257,15246520:27258,15246732:27259,15246493:27260,15246752:27261,15246750:27262,15246758:27425,15246756:27426,15246765:27427,15246762:27428,15246767:27429,15246772:27430,15246775:27431,15246782:27432,15246979:27433,15246984:27434,15246986:27435,15246995:27436,15247e3:27437,15247009:27438,15247017:27439,15247014:27440,15247020:27441,15247023:27442,15247026:27443,15247034:27444,15247037:27445,15247039:27446,15247232:27447,15247258:27448,15247260:27449,15247261:27450,15247271:27451,15247284:27452,15247288:27453,15247491:27454,15247510:27455,15247504:27456,15247500:27457,15247515:27458,15247517:27459,15247525:27460,15247542:27461,15247745:27462,15247771:27463,15247762:27464,15247750:27465,15247752:27466,15247804:27467,15247789:27468,15247788:27469,15247778:27470,15248005:27471,15248002:27472,15248004:27473,15248040:27474,15248033:27475,15248017:27476,15248037:27477,15248038:27478,15248026:27479,15248035:27480,15248260:27481,15248269:27482,15248258:27483,15248282:27484,15248299:27485,15248307:27486,15248295:27487,15248292:27488,15248305:27489,15248532:27490,15248288:27491,15248290:27492,15248311:27493,15248286:27494,15248283:27495,15248524:27496,15248519:27497,15248538:27498,15248289:27499,15248534:27500,15248528:27501,15248535:27502,15248544:27503,15248563:27504,15310507:27505,15248550:27506,15248555:27507,15248574:27508,15248552:27509,15248769:27510,15248780:27511,15248783:27512,15248782:27513,15248777:27514,15248790:27515,15248795:27516,15248794:27517,15248811:27518,15248799:27681,15248812:27682,15248815:27683,15248820:27684,15248829:27685,15249024:27686,15249036:27687,15249038:27688,15249042:27689,15249043:27690,15249046:27691,15249049:27692,15249050:27693,15249594:27694,15249793:27695,15249599:27696,15249800:27697,15249804:27698,15249806:27699,15249808:27700,15249813:27701,15249826:27702,15249836:27703,15249848:27704,15249850:27705,15250050:27706,15250057:27707,15250053:27708,15250058:27709,15250061:27710,15250062:27711,15250068:27712,15249852:27713,15250072:27714,15108253:27715,15250093:27716,15250090:27717,15250109:27718,15250098:27719,15250099:27720,15250094:27721,15250102:27722,15250312:27723,15250305:27724,15250340:27725,15250339:27726,15250330:27727,15250365:27728,15250362:27729,15250363:27730,15250564:27731,15250565:27732,15250570:27733,15250567:27734,15250575:27735,15250573:27736,15250576:27737,15318414:27738,15250579:27739,15250317:27740,15250580:27741,15250582:27742,15250855:27743,15250861:27744,15250865:27745,15250867:27746,15251073:27747,15251097:27748,15251330:27749,15251134:27750,15251130:27751,15251343:27752,15251354:27753,15251350:27754,15251340:27755,15251355:27756,15251339:27757,15251370:27758,15251371:27759,15251359:27760,15251363:27761,15251388:27762,15251592:27763,15251593:27764,15251391:27765,15251613:27766,15251614:27767,15251600:27768,15251615:27769,15251842:27770,15251637:27771,15251632:27772,15251636:27773,15251850:27774,15251847:27937,15251849:27938,15251852:27939,15251856:27940,15251848:27941,15251865:27942,15251876:27943,15251872:27944,15251626:27945,15251875:27946,15251861:27947,15251894:27948,15251890:27949,15251900:27950,15252097:27951,15252103:27952,15252101:27953,15252100:27954,15252107:27955,15252106:27956,15252115:27957,15252113:27958,15252116:27959,15252121:27960,15252138:27961,15252129:27962,15252140:27963,15252144:27964,15252358:27965,15252145:27966,15252158:27967,15252357:27968,15252360:27969,15252363:27970,15252379:27971,15252387:27972,15252412:27973,15252411:27974,15252395:27975,15252414:27976,15252618:27977,15252613:27978,15252629:27979,15252626:27980,15252633:27981,15252627:27982,15252636:27983,15252639:27984,15252635:27985,15252620:27986,15252646:27987,15252659:27988,15252667:27989,15252665:27990,15252869:27991,15252866:27992,15252670:27993,15252876:27994,15252873:27995,15252870:27996,15252878:27997,15252887:27998,15252892:27999,15252898:28e3,15252899:28001,15252900:28002,15253148:28003,15253151:28004,15253155:28005,15253165:28006,15253167:28007,15253175:28008,15253402:28009,15253413:28010,15253410:28011,15253418:28012,15253423:28013,15303303:28014,15253428:28015,15302789:28016,15253433:28017,15253434:28018,15302801:28019,15302805:28020,15302817:28021,15302797:28022,15302814:28023,15302806:28024,15302795:28025,15302823:28026,15302838:28027,15302837:28028,15302841:28029,15253432:28030,15303055:28193,15303056:28194,15303057:28195,15303058:28196,15302798:28197,15303049:28198,15302846:28199,15303062:28200,15303064:28201,15303070:28202,15303080:28203,15303087:28204,15303094:28205,15309480:28206,15303090:28207,15303298:28208,15303101:28209,15303297:28210,15303296:28211,15303306:28212,15303305:28213,15303311:28214,15303336:28215,15303343:28216,15303345:28217,15303349:28218,15303586:28219,15303588:28220,15108488:28221,15303579:28222,15303810:28223,15303826:28224,15303833:28225,15303858:28226,15303856:28227,15304074:28228,15304086:28229,15304088:28230,15304099:28231,15304101:28232,15304105:28233,15304115:28234,15304114:28235,15304331:28236,15304329:28237,15304322:28238,15304354:28239,15304363:28240,15304367:28241,15304362:28242,15304373:28243,15304372:28244,15304378:28245,15304576:28246,15304577:28247,15304585:28248,15304587:28249,15304592:28250,15304598:28251,15304607:28252,15304609:28253,15304603:28254,15304636:28255,15304629:28256,15304630:28257,15304862:28258,15304639:28259,15304852:28260,15304876:28261,15304853:28262,15304849:28263,15305118:28264,15305111:28265,15305093:28266,15305097:28267,15305124:28268,15305096:28269,15305365:28270,15304895:28271,15305099:28272,15305104:28273,15305372:28274,15305366:28275,15305363:28276,15305371:28277,15305114:28278,15305615:28279,15305401:28280,15305399:28281,15305641:28282,15305871:28283,15305658:28284,15306116:28285,15305902:28286,15305881:28449,15305890:28450,15305882:28451,15305891:28452,15305914:28453,15305909:28454,15305915:28455,15306140:28456,15306144:28457,15306172:28458,15306158:28459,15306134:28460,15306416:28461,15306412:28462,15306413:28463,15306388:28464,15306425:28465,15306646:28466,15306647:28467,15306664:28468,15306661:28469,15306648:28470,15306627:28471,15306653:28472,15306640:28473,15306632:28474,15306660:28475,15306906:28476,15306900:28477,15306899:28478,15306883:28479,15306887:28480,15306896:28481,15306934:28482,15306923:28483,15306933:28484,15306913:28485,15306938:28486,15307137:28487,15307154:28488,15307140:28489,15307163:28490,15307168:28491,15307170:28492,15307166:28493,15307178:28494,15304873:28495,15307184:28496,15307189:28497,15307191:28498,15307197:28499,15307162:28500,15307196:28501,15307198:28502,15307393:28503,15307199:28504,15308418:28505,15308423:28506,15308426:28507,15308436:28508,15308438:28509,15308440:28510,15308441:28511,15308448:28512,15308456:28513,15308455:28514,15308461:28515,15308476:28516,15308475:28517,15308473:28518,15308478:28519,15308682:28520,15122358:28521,15308675:28522,15308685:28523,15308684:28524,15308693:28525,15308692:28526,15308694:28527,15308700:28528,15308705:28529,15308709:28530,15308706:28531,15308961:28532,15308968:28533,15308974:28534,15308975:28535,15309186:28536,15309196:28537,15309199:28538,15309195:28539,15309239:28540,15309212:28541,15309214:28542,15309213:28705,15309215:28706,15309222:28707,15309234:28708,15309228:28709,15309453:28710,15309464:28711,15309461:28712,15309463:28713,15309482:28714,15309479:28715,15309489:28716,15309490:28717,15309488:28718,15309492:28719,15309494:28720,15309496:28721,15309497:28722,15309710:28723,15309707:28724,15309705:28725,15309709:28726,15246733:28727,15309724:28728,15309965:28729,15309717:28730,15309753:28731,15309956:28732,15309958:28733,15309960:28734,15309971:28735,15309966:28736,15309969:28737,15309967:28738,15309974:28739,15309977:28740,15309988:28741,15309994:28742,1531e4:28743,15310009:28744,15310013:28745,15310014:28746,15310212:28747,15310214:28748,15310216:28749,15310210:28750,15310217:28751,15310236:28752,15310240:28753,15310244:28754,15310246:28755,15310248:28756,15043474:28757,15310251:28758,15310257:28759,15310265:28760,15310469:28761,15310268:28762,15310465:28763,15310266:28764,15310470:28765,15310475:28766,15310479:28767,15310480:28768,15310492:28769,15310504:28770,15310502:28771,15310499:28772,15310515:28773,15310516:28774,15310723:28775,15310726:28776,15310728:28777,15310731:28778,15310748:28779,15310765:28780,15318415:28781,15310770:28782,15182751:28783,15310774:28784,15310773:28785,15310991:28786,15310988:28787,15311032:28788,15311012:28789,15311009:28790,15311031:28791,15311037:28792,15311238:28793,15311247:28794,15311243:28795,15311275:28796,15311279:28797,15311280:28798,15311281:28961,15311284:28962,15311283:28963,15311530:28964,15311535:28965,15311537:28966,15311542:28967,15311748:28968,15311747:28969,15311750:28970,15311785:28971,15311787:28972,15312003:28973,15312009:28974,15312018:28975,15312020:28976,15312024:28977,15312033:28978,15312029:28979,15312030:28980,15312036:28981,15312032:28982,15312044:28983,15312046:28984,15312061:28985,15312062:28986,15312258:28987,15312265:28988,15312261:28989,15312272:28990,15312267:28991,15312273:28992,15312274:28993,15312268:28994,15312277:28995,15312535:28996,15312536:28997,15312549:28998,15312557:28999,15312558:29e3,15312572:29001,15312799:29002,15312795:29003,15312797:29004,15312792:29005,15312785:29006,15312813:29007,15312814:29008,15312817:29009,15312818:29010,15312827:29011,15312824:29012,15313025:29013,15313039:29014,15313029:29015,15312802:29016,15313049:29017,15313067:29018,15313079:29019,15313285:29020,15313282:29021,15313280:29022,15313283:29023,15313086:29024,15313301:29025,15313293:29026,15313307:29027,15313303:29028,15313311:29029,15313314:29030,15313317:29031,15313316:29032,15313321:29033,15313323:29034,15313322:29035,15313581:29036,15313584:29037,15313596:29038,15313792:29039,15313807:29040,15313809:29041,15313811:29042,15313812:29043,15313822:29044,15313823:29045,15313826:29046,15313827:29047,15313830:29048,15313839:29049,15313835:29050,15313838:29051,15313844:29052,15313841:29053,15313847:29054,15313851:29217,15314054:29218,15314072:29219,15314074:29220,15314079:29221,15314082:29222,15314083:29223,15314085:29224,15314087:29225,15314088:29226,15314089:29227,15314090:29228,15314094:29229,15314095:29230,15314098:29231,15314308:29232,15314307:29233,15314319:29234,15314317:29235,15314318:29236,15314321:29237,15314328:29238,15314356:29239,15314579:29240,15314563:29241,15314577:29242,15314582:29243,15314583:29244,15314591:29245,15314592:29246,15314600:29247,15314612:29248,15314816:29249,15314826:29250,15314617:29251,15314822:29252,15314831:29253,15314833:29254,15314834:29255,15314851:29256,15314850:29257,15314852:29258,15314836:29259,15314849:29260,15315130:29261,15314866:29262,15314865:29263,15314864:29264,15315093:29265,15315092:29266,15315081:29267,15315091:29268,15315084:29269,15315078:29270,15315080:29271,15315090:29272,15315082:29273,15315076:29274,15315118:29275,15315099:29276,15315109:29277,15315108:29278,15315105:29279,15315120:29280,15315335:29281,15315122:29282,15315334:29283,15315134:29284,15315354:29285,15315360:29286,15315367:29287,15315382:29288,15315384:29289,15315879:29290,15315884:29291,15315888:29292,15316105:29293,15316104:29294,15315883:29295,15316099:29296,15316102:29297,15316138:29298,15316134:29299,15316655:29300,15316131:29301,15316127:29302,15316356:29303,15316117:29304,15316114:29305,15316353:29306,15316159:29307,15316158:29308,15316358:29309,15316360:29310,15316381:29473,15316382:29474,15316388:29475,15316369:29476,15316368:29477,15316377:29478,15316402:29479,15316617:29480,15316615:29481,15316651:29482,15316399:29483,15316410:29484,15316634:29485,15316644:29486,15316649:29487,15316658:29488,15316868:29489,15316865:29490,15316667:29491,15316664:29492,15316666:29493,15316870:29494,15316879:29495,15316866:29496,15316889:29497,15316883:29498,15316920:29499,15316902:29500,15316909:29501,15316911:29502,15316925:29503,15317146:29504,15317147:29505,15317150:29506,15317429:29507,15317433:29508,15317437:29509,15317633:29510,15317640:29511,15317643:29512,15317644:29513,15317650:29514,15317653:29515,15317649:29516,15317661:29517,15317669:29518,15317673:29519,15317688:29520,15317674:29521,15317677:29522,15310241:29523,15317900:29524,15317902:29525,15317903:29526,15317904:29527,15317908:29528,15317916:29529,15317918:29530,15317917:29531,15317920:29532,15317925:29533,15317928:29534,15317935:29535,15317940:29536,15317942:29537,15317943:29538,15317945:29539,15317947:29540,15317948:29541,15317949:29542,15318151:29543,15318152:29544,15178423:29545,15318165:29546,15318177:29547,15318188:29548,15318206:29549,15318410:29550,15318418:29551,15318420:29552,15318435:29553,15318431:29554,15318432:29555,15318433:29556,15318438:29557,15318439:29558,15318444:29559,15318442:29560,15318455:29561,15318450:29562,15318454:29563,15318677:29564,15318684:29565,15318688:29566,15048879:29729,15116167:29730,15303065:29731,15176100:29732,15042460:29733,15173273:29734,15186570:31009,15246492:31010,15306120:31011,15305352:31012,15242140:31013,14991241:31014,15172283:31015,15112369:31016,15115144:31017,15305657:31018,15113147:31019,15056261:31020,14989480:31021,14990241:31022,14990268:31023,14990464:31024,14990467:31025,14990521:31026,14990742:31027,14990994:31028,14990986:31029,14991002:31030,14990996:31031,14991245:31032,15040896:31033,15040674:31034,14991295:31035,15040670:31036,15040902:31037,15040944:31038,15040898:31039,15041172:31040,15041460:31041,15041432:31042,15041930:31043,15041956:31044,15042205:31045,15042238:31046,15042476:31047,15042709:31048,15043228:31049,15043238:31050,15043456:31051,15043483:31052,15043712:31053,15043719:31054,15043748:31055,15044018:31056,15044243:31057,15044274:31058,15044509:31059,15706254:31060,15045276:31061,15045258:31062,15045289:31063,15045567:31064,15046278:31065,15048089:31066,15048101:31067,15048364:31068,15048584:31069,15048583:31070,15706255:31071,15706256:31072,15049374:31073,15049394:31074,15049867:31075,15050131:31076,15050139:31077,15050141:31078,15050147:31079,15050404:31080,15050426:31081,15052182:31082,15052672:31083,15176879:31084,15052696:31085,15052716:31086,15052958:31087,15053478:31088,15053498:31089,15053749:31090,15053991:31091,15054227:31092,15706257:31093,15054210:31094,15054253:31095,15054520:31096,15054521:31097,15054736:31098,15056033:31099,15056052:31100,15056295:31101,15056567:31102,15056798:31265,15106461:31266,15106693:31267,15106698:31268,15106974:31269,15106965:31270,15107232:31271,15106994:31272,15107217:31273,15107255:31274,15107248:31275,15107736:31276,15108243:31277,15108774:31278,15110069:31279,15110560:31280,15110813:31281,15111054:31282,15111566:31283,15112320:31284,15112341:31285,15112379:31286,15112329:31287,15112366:31288,15112350:31289,15112356:31290,15112613:31291,15112599:31292,15112601:31293,15706258:31294,15112627:31295,15112857:31296,15112864:31297,15112882:31298,15112895:31299,15113146:31300,15113358:31301,15705257:31302,15113638:31303,15113915:31304,15114642:31305,15114112:31306,15114369:31307,15114628:31308,15115151:31309,15706259:31310,15115688:31311,15706260:31312,15115928:31313,15116194:31314,15116464:31315,15116715:31316,15116678:31317,15116723:31318,15116734:31319,15117218:31320,15117220:31321,15118230:31322,15118527:31323,15118748:31324,15118982:31325,15118767:31326,15119258:31327,15119492:31328,15120007:31329,15119791:31330,15120022:31331,15120044:31332,15120271:31333,15120312:31334,15120306:31335,15120316:31336,15120569:31337,15120796:31338,15120551:31339,15120572:31340,15121087:31341,15122056:31342,15122101:31343,15122357:31344,15171717:31345,15171719:31346,15171752:31347,15172229:31348,15172267:31349,15172751:31350,15172740:31351,15173020:31352,15172998:31353,15172999:31354,15706261:31355,15173505:31356,15173566:31357,15174321:31358,15174334:31521,15174820:31522,15706262:31523,15175095:31524,15175357:31525,15175561:31526,15175574:31527,15175587:31528,15175570:31529,15175815:31530,15175605:31531,15175846:31532,15175850:31533,15175849:31534,15175854:31535,15176098:31536,15176329:31537,15176351:31538,15176833:31539,15177135:31540,15178370:31541,15178396:31542,15178398:31543,15178395:31544,15178406:31545,15706263:31546,15179142:31547,15043247:31548,15179937:31549,15180174:31550,15180196:31551,15180218:31552,15180976:31553,15706264:31554,15706265:31555,15706266:31556,15181460:31557,15706267:31558,15181467:31559,15182737:31560,15182759:31561,15706268:31562,15182763:31563,15183518:31564,15706269:31565,15185288:31566,15185308:31567,15185591:31568,15185568:31569,15185814:31570,15186322:31571,15187335:31572,15187617:31573,15706270:31574,15240321:31575,15240610:31576,15240639:31577,15241095:31578,15241142:31579,15241608:31580,15241908:31581,15242643:31582,15242649:31583,15242667:31584,15706271:31585,15242928:31586,15706272:31587,15706273:31588,15245447:31589,15246261:31590,15247506:31591,15247543:31592,15247801:31593,15248039:31594,15248062:31595,15248287:31596,15706274:31597,15248310:31598,15248787:31599,15248831:31600,15250352:31601,15250356:31602,15250578:31603,15250870:31604,15706275:31605,15252367:31606,15706276:31607,15706277:31608,15303079:31609,15303582:31610,15706278:31611,15303829:31612,15303847:31613,15304602:31614,15304599:31777,15304606:31778,15304621:31779,15304622:31780,15304612:31781,15304613:31782,15304838:31783,15304848:31784,15304842:31785,15304890:31786,15305088:31787,15304892:31788,15305102:31789,15305113:31790,15305105:31791,15304889:31792,15305127:31793,15305383:31794,15305143:31795,15305144:31796,15305639:31797,15305623:31798,15305625:31799,15305616:31800,15706279:31801,15305621:31802,15305632:31803,15305619:31804,15305893:31805,15305889:31806,15305659:31807,15706280:31808,15305886:31809,15305663:31810,15305885:31811,15305858:31812,15306160:31813,15306135:31814,15306404:31815,15306630:31816,15306654:31817,15306680:31818,15306929:31819,15307141:31820,15307144:31821,15308434:31822,15706012:31823,15706281:31824,15309469:31825,15309487:31826,15310003:31827,15310011:31828,15310211:31829,15310221:31830,15310223:31831,15310225:31832,15310229:31833,15311255:31834,15311269:31835,15706282:31836,15706283:31837,15312039:31838,15706284:31839,15312542:31840,15313294:31841,15313817:31842,15313820:31843,15314357:31844,15314354:31845,15314575:31846,15314609:31847,15314619:31848,15315072:31849,15316400:31850,15316395:31851,15706285:31852,15317145:31853,15317905:31854,14845360:31857,14845361:31858,14845362:31859,14845363:31860,14845364:31861,14845365:31862,14845366:31863,14845367:31864,14845368:31865,14845369:31866,15712164:31868,15711367:31869,15711362:31870,14846117:8514,15712162:8780,14846098:74077}},5042:e=>{e.exports={nanoid:(e=21)=>{let t="",r=0|e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i--;)n+=e[Math.random()*e.length|0];return n}}},5096:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=n.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(r=String.fromCodePoint)&&void 0!==r?r:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},5210:(e,t,r)=>{var n=r(1371),i=r(321),s=r(1742),a=r(2801);function o(e){n.init_JIS_TO_UTF8_TABLE();for(var t,r,i,s,o,c,u,l=[],h=0,f=e&&e.length;h=161&&t<=223?(s=188|(i=t-64)>>6&3,o=128|63&i,l[l.length]=239,l[l.length]=255&s,l[l.length]=255&o):t>=128?(r=t<<1,(i=e[++h])<159?(r-=r<319?225:97,i-=i>126?32:31):(r-=r<319?224:96,i-=126),c=((r&=255)<<8)+i,void 0===(u=a.JIS_TO_UTF8_TABLE[c])?l[l.length]=n.FALLBACK_CHARACTER:u<65535?(l[l.length]=u>>8&255,l[l.length]=255&u):(l[l.length]=u>>16&255,l[l.length]=u>>8&255,l[l.length]=255&u)):l[l.length]=255&e[h];return l}function c(e){n.init_JIS_TO_UTF8_TABLE();for(var t,r,i,s,o,c,u=[],l=0,h=e&&e.length;l>6&3,s=128|63&r,u[u.length]=239,u[u.length]=255&i,u[u.length]=255&s):143===t?(o=(e[++l]-128<<8)+(e[++l]-128),void 0===(c=a.JISX0212_TO_UTF8_TABLE[o])?u[u.length]=n.FALLBACK_CHARACTER:c<65535?(u[u.length]=c>>8&255,u[u.length]=255&c):(u[u.length]=c>>16&255,u[u.length]=c>>8&255,u[u.length]=255&c)):t>=128?(o=(t-128<<8)+(e[++l]-128),void 0===(c=a.JIS_TO_UTF8_TABLE[o])?u[u.length]=n.FALLBACK_CHARACTER:c<65535?(u[u.length]=c>>8&255,u[u.length]=255&c):(u[u.length]=c>>16&255,u[u.length]=c>>8&255,u[u.length]=255&c)):u[u.length]=255&e[l];return u}function u(e){n.init_JIS_TO_UTF8_TABLE();for(var t,r,i,s,o,c=[],u=0,l=0,h=e&&e.length;l>8&255,c[c.length]=255&o):(c[c.length]=o>>16&255,c[c.length]=o>>8&255,c[c.length]=255&o)):2===u?(r=188|(t=e[l]+64)>>6&3,i=128|63&t,c[c.length]=239,c[c.length]=255&r,c[c.length]=255&i):3===u?(s=(e[l]<<8)+e[++l],void 0===(o=a.JISX0212_TO_UTF8_TABLE[s])?c[c.length]=n.FALLBACK_CHARACTER:o<65535?(c[c.length]=o>>8&255,c[c.length]=255&o):(c[c.length]=o>>16&255,c[c.length]=o>>8&255,c[c.length]=255&o)):c[c.length]=255&e[l]}return c}function l(e,t){for(var r,i,s,o,c,u,l=[],h=0,f=e&&e.length,p=t&&t.fallback;h=128?(r<=223?(o=[r,e[h+1]],c=(r<<8)+e[++h]):r<=239?(o=[r,e[h+1],e[h+2]],c=(r<<16)+(e[++h]<<8)+(255&e[++h])):(o=[r,e[h+1],e[h+2],e[h+3]],c=(r<<24)+(e[++h]<<16)+(e[++h]<<8)+(255&e[++h])),null==(u=a.UTF8_TO_JIS_TABLE[c])?p?x(l,o,p):l[l.length]=n.FALLBACK_CHARACTER:u<255?l[l.length]=u+128:(u>65536&&(u-=65536),s=255&u,1&(i=u>>8)?((i>>=1)<47?i+=113:i-=79,s+=s>95?32:31):((i>>=1)<=47?i+=112:i-=80,s+=126),l[l.length]=255&i,l[l.length]=255&s)):l[l.length]=255&e[h];return l}function h(e,t){for(var r,i,s,o,c=[],u=0,l=e&&e.length,h=t&&t.fallback;u=128?(r<=223?(i=[r,e[u+1]],s=(r<<8)+e[++u]):r<=239?(i=[r,e[u+1],e[u+2]],s=(r<<16)+(e[++u]<<8)+(255&e[++u])):(i=[r,e[u+1],e[u+2],e[u+3]],s=(r<<24)+(e[++u]<<16)+(e[++u]<<8)+(255&e[++u])),null==(o=a.UTF8_TO_JIS_TABLE[s])?null==(o=a.UTF8_TO_JISX0212_TABLE[s])?h?x(c,i,h):c[c.length]=n.FALLBACK_CHARACTER:(c[c.length]=143,c[c.length]=(o>>8)-128&255,c[c.length]=(255&o)-128&255):(o>65536&&(o-=65536),o<255?(c[c.length]=142,c[c.length]=o-128&255):(c[c.length]=(o>>8)-128&255,c[c.length]=(255&o)-128&255))):c[c.length]=255&e[u];return c}function f(e,t){for(var r,i,s,o,c=[],u=0,l=e&&e.length,h=0,f=t&&t.fallback,p=[27,40,66,27,36,66,27,40,73,27,36,40,68];h>8&255,c[c.length]=255&o):(o>65536&&(o-=65536),o<255?(2!==u&&(u=2,c[c.length]=p[6],c[c.length]=p[7],c[c.length]=p[8]),c[c.length]=255&o):(1!==u&&(u=1,c[c.length]=p[3],c[c.length]=p[4],c[c.length]=p[5]),c[c.length]=o>>8&255,c[c.length]=255&o)));return 0!==u&&(c[c.length]=p[0],c[c.length]=p[1],c[c.length]=p[2]),c}function p(e){for(var t,r,n=[],i=0,s=e&&e.length;i=55296&&t<=56319&&i+1=56320&&r<=57343&&(t=1024*(t-55296)+r-56320+65536,i++),t<128?n[n.length]=t:t<2048?(n[n.length]=192|t>>6&31,n[n.length]=128|63&t):t<65536?(n[n.length]=224|t>>12&15,n[n.length]=128|t>>6&63,n[n.length]=128|63&t):t<2097152&&(n[n.length]=240|t>>18&15,n[n.length]=128|t>>12&63,n[n.length]=128|t>>6&63,n[n.length]=128|63&t);return n}function d(e,t){for(var r,n,i,s=[],a=0,o=e&&e.length,c=t&&t.ignoreSurrogatePair;a>4)>=0&&r<=7?i=n:12===r||13===r?i=(31&n)<<6|63&e[a++]:14===r?i=(15&n)<<12|(63&e[a++])<<6|63&e[a++]:15===r&&(i=(7&n)<<18|(63&e[a++])<<12|(63&e[a++])<<6|63&e[a++]),i<=65535||c?s[s.length]=i:(i-=65536,s[s.length]=55296+(i>>10),s[s.length]=i%1024+56320);return s}function g(e,t){var r;if(t&&t.bom){var n,s,a=t.bom;i.isString(a)||(a="BE"),"B"===a.charAt(0).toUpperCase()?(n=[254,255],s=y(e)):(n=[255,254],s=m(e)),(r=[])[0]=n[0],r[1]=n[1];for(var o=0,c=s.length;o>8&255,r[r.length]=255&t);return r}function m(e){for(var t,r=[],n=0,i=e&&e.length;n>8&255);return r}function w(e){var t,r,n=[],i=0,s=e&&e.length;for(s>=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i>=1)<47?t+=113:t-=79,r+=r>95?32:31):((t>>=1)<=47?t+=112:t-=80,r+=126),i[i.length]=255&t,i[i.length]=255&r):i[i.length]=2===s?e[a]+128&255:3===s?n.FALLBACK_CHARACTER:255&e[a]}return i},t.JISToEUCJP=function(e){for(var t=[],r=0,n=e&&e.length,i=0;i=161&&t<=223?(2!==i&&(i=2,n[n.length]=o[6],n[n.length]=o[7],n[n.length]=o[8]),n[n.length]=t-128&255):t>=128?(1!==i&&(i=1,n[n.length]=o[3],n[n.length]=o[4],n[n.length]=o[5]),t<<=1,(r=e[++a])<159?(t-=t<319?225:97,r-=r>126?32:31):(t-=t<319?224:96,r-=126),n[n.length]=255&t,n[n.length]=255&r):(0!==i&&(i=0,n[n.length]=o[0],n[n.length]=o[1],n[n.length]=o[2]),n[n.length]=255&t);return 0!==i&&(n[n.length]=o[0],n[n.length]=o[1],n[n.length]=o[2]),n},t.SJISToEUCJP=function(e){for(var t,r,n=[],i=e&&e.length,s=0;s=161&&t<=223?(n[n.length]=142,n[n.length]=t):t>=129?(t<<=1,(r=e[++s])<159?(t-=t<319?97:225,r+=r>126?96:97):(t-=t<319?96:224,r+=2),n[n.length]=255&t,n[n.length]=255&r):n[n.length]=255&t;return n},t.EUCJPToJIS=function(e){for(var t,r=[],n=0,i=e&&e.length,s=0,a=[27,40,66,27,36,66,27,40,73,27,36,40,68];s142?(1!==n&&(n=1,r[r.length]=a[3],r[r.length]=a[4],r[r.length]=a[5]),r[r.length]=t-128&255,r[r.length]=e[++s]-128&255):(0!==n&&(n=0,r[r.length]=a[0],r[r.length]=a[1],r[r.length]=a[2]),r[r.length]=255&t);return 0!==n&&(r[r.length]=a[0],r[r.length]=a[1],r[r.length]=a[2]),r},t.EUCJPToSJIS=function(e){for(var t,r,i=[],s=e&&e.length,a=0;a142?(r=e[++a],1&t?(t>>=1,t+=t<111?49:113,r-=r>223?96:97):(t>>=1,t+=t<=111?48:112,r-=2),i[i.length]=255&t,i[i.length]=255&r):i[i.length]=142===t?255&e[++a]:255&t;return i},t.SJISToUTF8=o,t.EUCJPToUTF8=c,t.JISToUTF8=u,t.UTF8ToSJIS=l,t.UTF8ToEUCJP=h,t.UTF8ToJIS=f,t.UNICODEToUTF8=p,t.UTF8ToUNICODE=d,t.UNICODEToUTF16=g,t.UNICODEToUTF16BE=y,t.UNICODEToUTF16LE=m,t.UTF16BEToUNICODE=w,t.UTF16LEToUNICODE=b,t.UTF16ToUNICODE=A,t.UTF16ToUTF16BE=function(e){for(var t,r,n=[],i=0,a=e&&e.length,o=!1,c=!0;i=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(l=2),r&&(c[0]=r[0],c[1]=r[1]);l=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(l=2),r&&(c[0]=r[0],c[1]=r[1]);l{"use strict";let n=r(3152);class i extends n{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}e.exports=i,i.default=i},5261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpPwd=void 0;class r{static CRACK_GUESSES_PER_SECOND=8e7;static CRACK_TIME_WORDS_PWD=[{match:"millenni",word:"perfect",bar:100,color:"green",pass:!0},{match:"centu",word:"perfect",bar:95,color:"green",pass:!0},{match:"year",word:"great",bar:80,color:"orange",pass:!0},{match:"month",word:"good",bar:70,color:"darkorange",pass:!0},{match:"week",word:"good",bar:30,color:"darkred",pass:!0},{match:"day",word:"reasonable",bar:40,color:"darkorange",pass:!0},{match:"hour",word:"bare minimum",bar:20,color:"darkred",pass:!0},{match:"minute",word:"poor",bar:15,color:"red",pass:!1},{match:"",word:"weak",bar:10,color:"red",pass:!1}];static CRACK_TIME_WORDS_PASS_PHRASE=[{match:"millenni",word:"perfect",bar:100,color:"green",pass:!0},{match:"centu",word:"great",bar:80,color:"green",pass:!0},{match:"year",word:"good",bar:60,color:"orange",pass:!0},{match:"month",word:"reasonable",bar:40,color:"darkorange",pass:!0},{match:"week",word:"poor",bar:30,color:"darkred",pass:!1},{match:"day",word:"poor",bar:20,color:"darkred",pass:!1},{match:"",word:"weak",bar:10,color:"red",pass:!1}];static estimateStrength=(e,t="passphrase")=>{const n=e/r.CRACK_GUESSES_PER_SECOND;for(const e of"pwd"===t?r.CRACK_TIME_WORDS_PWD:r.CRACK_TIME_WORDS_PASS_PHRASE){const t=r.readableCrackTime(n);if(t.includes(e.match))return{word:e,seconds:Math.round(n),time:t}}throw Error("(thrown) estimate_strength: got to end without any result")};static weakWords=()=>["crypt","up","cryptup","flow","flowcrypt","encryption","pgp","email","set","backup","passphrase","best","pass","phrases","are","long","and","have","several","words","in","them","Best pass phrases are long","have several words","in them","bestpassphrasesarelong","haveseveralwords","inthem","Loss of this pass phrase","cannot be recovered","Note it down","on a paper","lossofthispassphrase","cannotberecovered","noteitdown","onapaper","setpassword","set password","set pass word","setpassphrase","set pass phrase","set passphrase"];static readableCrackTime=e=>{const t=e=>e>1?"s":"";e=Math.round(e);const r=Math.round(e/31104e8);if(r)return 1===r?"a millennium":"millennia";const n=Math.round(e/31104e5);if(n)return 1===n?"a century":"centuries";const i=Math.round(e/31104e3);if(i)return i+" year"+t(i);const s=Math.round(e/2592e3);if(s)return s+" month"+t(s);const a=Math.round(e/604800);if(a)return a+" week"+t(a);const o=Math.round(e/86400);if(o)return o+" day"+t(o);const c=Math.round(e/3600);if(c)return c+" hour"+t(c);const u=Math.round(e/60);if(u)return u+" minute"+t(u);const l=e%60;return l?l+" second"+t(l):"less than a second"}}t.PgpPwd=r},5397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentPosition=void 0,t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=s,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=s(e,t);return r&n.PRECEDING?-1:r&n.FOLLOWING?1:0})),e};var n,i=r(1141);function s(e,t){var r=[],s=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)r.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)s.unshift(a),a=a.parent;for(var o=Math.min(r.length,s.length),c=0;cl.indexOf(f)?u===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:u===e?n.PRECEDING|n.CONTAINS:n.PRECEDING}!function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(n||(t.DocumentPosition=n={}))},5413:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},5504:(e,t)=>{"use strict";function r(e){for(var t=1;t{"use strict";let n,i,s=r(7793);class a extends s{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new n(new i,this,e).stringify()}}a.registerLazyResult=e=>{n=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,s.registerRoot(a)},5748:e=>{e.exports=null},5781:e=>{"use strict";const t="'".charCodeAt(0),r='"'.charCodeAt(0),n="\\".charCodeAt(0),i="/".charCodeAt(0),s="\n".charCodeAt(0),a=" ".charCodeAt(0),o="\f".charCodeAt(0),c="\t".charCodeAt(0),u="\r".charCodeAt(0),l="[".charCodeAt(0),h="]".charCodeAt(0),f="(".charCodeAt(0),p=")".charCodeAt(0),d="{".charCodeAt(0),g="}".charCodeAt(0),y=";".charCodeAt(0),m="*".charCodeAt(0),w=":".charCodeAt(0),b="@".charCodeAt(0),A=/[\t\n\f\r "#'()/;[\\\]{}]/g,v=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,E=/.[\r\n"'(/\\]/,k=/[\da-f]/i;e.exports=function(e,S={}){let I,C,B,x,P,D,T,U,K,O,M=e.css.valueOf(),R=S.ignoreErrors,N=M.length,L=0,F=[],_=[];function Q(t){throw e.error("Unclosed "+t,L)}return{back:function(e){_.push(e)},endOfFile:function(){return 0===_.length&&L>=N},nextToken:function(e){if(_.length)return _.pop();if(L>=N)return;let S=!!e&&e.ignoreUnclosed;switch(I=M.charCodeAt(L),I){case s:case a:case c:case u:case o:x=L;do{x+=1,I=M.charCodeAt(x)}while(I===a||I===s||I===c||I===u||I===o);D=["space",M.slice(L,x)],L=x-1;break;case l:case h:case d:case g:case w:case y:case p:{let e=String.fromCharCode(I);D=[e,e,L];break}case f:if(O=F.length?F.pop()[1]:"",K=M.charCodeAt(L+1),"url"===O&&K!==t&&K!==r&&K!==a&&K!==s&&K!==c&&K!==o&&K!==u){x=L;do{if(T=!1,x=M.indexOf(")",x+1),-1===x){if(R||S){x=L;break}Q("bracket")}for(U=x;M.charCodeAt(U-1)===n;)U-=1,T=!T}while(T);D=["brackets",M.slice(L,x+1),L,x],L=x}else x=M.indexOf(")",L+1),C=M.slice(L,x+1),-1===x||E.test(C)?D=["(","(",L]:(D=["brackets",C,L,x],L=x);break;case t:case r:P=I===t?"'":'"',x=L;do{if(T=!1,x=M.indexOf(P,x+1),-1===x){if(R||S){x=L+1;break}Q("string")}for(U=x;M.charCodeAt(U-1)===n;)U-=1,T=!T}while(T);D=["string",M.slice(L,x+1),L,x],L=x;break;case b:A.lastIndex=L+1,A.test(M),x=0===A.lastIndex?M.length-1:A.lastIndex-2,D=["at-word",M.slice(L,x+1),L,x],L=x;break;case n:for(x=L,B=!0;M.charCodeAt(x+1)===n;)x+=1,B=!B;if(I=M.charCodeAt(x+1),B&&I!==i&&I!==a&&I!==s&&I!==c&&I!==u&&I!==o&&(x+=1,k.test(M.charAt(x)))){for(;k.test(M.charAt(x+1));)x+=1;M.charCodeAt(x+1)===a&&(x+=1)}D=["word",M.slice(L,x+1),L,x],L=x;break;default:I===i&&M.charCodeAt(L+1)===m?(x=M.indexOf("*/",L+2)+1,0===x&&(R||S?x=M.length:Q("comment")),D=["comment",M.slice(L,x+1),L,x],L=x):(v.lastIndex=L+1,v.test(M),x=0===v.lastIndex?M.length-1:v.lastIndex-2,D=["word",M.slice(L,x+1),L,x],F.push(D),L=x)}return L++,D},position:function(){return L}}}},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e){for(var n,i="",s=0;null!==(n=t.xmlReplacer.exec(e));){var a=n.index,o=e.charCodeAt(a),c=r.get(o);void 0!==c?(i+=e.substring(s,a)+c,s=a+1):(i+="".concat(e.substring(s,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),s=t.xmlReplacer.lastIndex+=Number(55296==(64512&o)))}return i+e.substr(s)}function i(e,t){return function(r){for(var n,i=0,s="";n=e.exec(r);)i!==n.index&&(s+=r.substring(i,n.index)),s+=t.get(n[0].charCodeAt(0)),i=n.index+1;return s+r.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=n,t.escape=n,t.escapeUTF8=i(/[&<>'"]/g,r),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6037:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getOuterHTML=o,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return o(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""};var i=r(1141),s=n(r(3806)),a=r(5413);function o(e,t){return(0,s.default)(e,t)}},6156:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},6171:e=>{"use strict";e.exports={rE:"2.2.0"}},6364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readArmoredKeyOrThrow=t.ValidateInput=void 0;const n=r(6382);t.ValidateInput=class{static setClientConfiguration=e=>{if(i(e)&&s(e,"shouldHideArmorMeta","boolean?"))return e;throw new Error("Wrong request structure for NodeRequest.setClientConfiguration")};static generateKey=e=>{if(i(e)&&s(e,"userIds","Userid[]")&&e.userIds.length&&s(e,"passphrase","string")&&["rsa2048","rsa4096","curve25519"].includes(e.variant))return e;throw new Error("Wrong request structure for NodeRequest.generateKey")};static encryptMsg=e=>{if(i(e)&&s(e,"pubKeys","string[]")&&s(e,"msgPwd","string?"))return e;throw new Error("Wrong request structure for NodeRequest.encryptMsg")};static composeEmail=e=>{if(!(i(e)&&s(e,"text","string")&&s(e,"html","string?")&&s(e,"from","string")&&s(e,"subject","string")&&s(e,"to","string[]")&&s(e,"cc","string[]")&&s(e,"bcc","string[]")))throw new Error("Wrong request structure for NodeRequest.composeEmail, need: text,from,subject,to,cc,bcc,atts (can use empty arr for cc/bcc, and can skip atts)");if(!s(e,"atts","ComposeAttachment[]?"))throw new Error("Wrong atts structure for NodeRequest.composeEmail, need: {name, type, base64}");if(s(e,"pubKeys","string[]")&&s(e,"signingPrv","PrvKeyInfo?")&&e.pubKeys.length&&("encryptInline"===e.format||"encryptPgpmime"===e.format))return e;if(!e.pubKeys&&"plain"===e.format)return e;throw new Error("Wrong choice of pubKeys and format. Either pubKeys:[..]+format:encryptInline OR format:plain allowed")};static parseDecryptMsg=e=>{if(i(e)&&s(e,"keys","PrvKeyInfo[]")&&s(e,"msgPwd","string?")&&s(e,"isMime","boolean?")&&s(e,"verificationPubkeys","string[]?"))return e;throw new Error("Wrong request structure for NodeRequest.parseDecryptMsg")};static sanitizeHtml=e=>{if(i(e)&&s(e,"html","string"))return e;throw new Error("Wrong request structure for NodeRequest.sanitizeHtml")};static encryptFile=e=>{if(i(e)&&s(e,"pubKeys","string[]")&&s(e,"name","string"))return e;throw new Error("Wrong request structure for NodeRequest.encryptFile")};static parseAttachmentType=e=>{if(i(e)&&s(e,"atts","Attachment[]"))return e;throw new Error("Wrong request structure for NodeRequest.parseAttachmentType")};static decryptFile=e=>{if(i(e)&&s(e,"keys","PrvKeyInfo[]")&&s(e,"msgPwd","string?"))return e;throw new Error("Wrong request structure for NodeRequest.decryptFile")};static zxcvbnStrengthBar=e=>{if(i(e)&&s(e,"guesses","number")&&s(e,"purpose","string")&&"passphrase"===e.purpose)return e;if(i(e)&&s(e,"value","string")&&s(e,"purpose","string")&&"passphrase"===e.purpose)return e;throw new Error("Wrong request structure for NodeRequest.zxcvbnStrengthBar")};static isEmailValid=e=>{if(i(e)&&s(e,"email","string"))return e;throw new Error("Wrong request structure for NodeRequest.isEmailValid")};static decryptKey=e=>{if(i(e)&&s(e,"armored","string")&&s(e,"passphrases","string[]"))return e;throw new Error("Wrong request structure for NodeRequest.decryptKey")};static encryptKey=e=>{if(i(e)&&s(e,"armored","string")&&s(e,"passphrase","string"))return e;throw new Error("Wrong request structure for NodeRequest.encryptKey")};static verifyKey=e=>{if(i(e)&&s(e,"armored","string"))return e;throw new Error("Wrong request structure for NodeRequest.verifyKey")}};const i=e=>!!e&&"object"==typeof e,s=(e,t,r)=>{if(!i(e))return!1;const n=e[t];return"number"===r||"string"===r?typeof n===r:"boolean?"===r?"boolean"==typeof n||void 0===n:"string?"===r?null===n?(e[t]=void 0,!0):"string"==typeof n||void 0===n:"ComposeAttachment[]?"===r?void 0===n||Array.isArray(n)&&n.filter((e=>s(e,"name","string")&&s(e,"type","string")&&s(e,"base64","string"))).length===n.length:"Attachment[]"===r?Array.isArray(n)&&n.filter((e=>s(e,"id","string")&&s(e,"msgId","string")&&s(e,"name","string")&&s(e,"type","string?"))).length===n.length:"string[]"===r?Array.isArray(n)&&n.filter((e=>"string"==typeof e)).length===n.length:"string[]?"===r?void 0===n||Array.isArray(n)&&n.filter((e=>"string"==typeof e)).length===n.length:"PrvKeyInfo?"===r?null===n?(e[t]=void 0,!0):void 0===n||s(n,"private","string")&&s(n,"longid","string")&&s(n,"passphrase","string?"):"PrvKeyInfo[]"===r?Array.isArray(n)&&n.filter((e=>s(e,"private","string")&&s(e,"longid","string")&&s(e,"passphrase","string?"))).length===n.length:"Userid[]"===r?Array.isArray(n)&&n.filter((e=>s(e,"name","string")&&s(e,"email","string"))).length===n.length:"object"===r&&i(n)};t.readArmoredKeyOrThrow=async e=>{const t=await(0,n.readKey)({armoredKey:e});if(!t)throw new Error("No key found");return t}},6382:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AEADEncryptedDataPacket:()=>La,CleartextMessage:()=>jo,CompressedDataPacket:()=>xa,GrammarError:()=>Sa,LiteralDataPacket:()=>pa,MarkerPacket:()=>za,Message:()=>Ro,OnePassSignaturePacket:()=>va,PacketList:()=>ka,PaddingPacket:()=>Xa,PrivateKey:()=>Io,PublicKey:()=>So,PublicKeyEncryptedSessionKeyPacket:()=>Fa,PublicKeyPacket:()=>ja,PublicSubkeyPacket:()=>Ga,SecretKeyPacket:()=>Ja,SecretSubkeyPacket:()=>Ya,Signature:()=>to,SignaturePacket:()=>wa,Subkey:()=>bo,SymEncryptedIntegrityProtectedDataPacket:()=>Ma,SymEncryptedSessionKeyPacket:()=>Qa,SymmetricallyEncryptedDataPacket:()=>qa,TrustPacket:()=>Za,UnparseablePacket:()=>Zt,UserAttributePacket:()=>Va,UserIDPacket:()=>Wa,armor:()=>re,config:()=>L,createCleartextMessage:()=>qo,createMessage:()=>_o,decrypt:()=>Yo,decryptKey:()=>Jo,decryptSessionKeys:()=>rc,encrypt:()=>Wo,encryptKey:()=>$o,encryptSessionKey:()=>tc,enums:()=>N,generateKey:()=>zo,generateSessionKey:()=>ec,readCleartextMessage:()=>Ho,readKey:()=>Po,readKeys:()=>To,readMessage:()=>Fo,readPrivateKey:()=>Do,readPrivateKeys:()=>Uo,readSignature:()=>ro,reformatKey:()=>Go,revokeKey:()=>Vo,sign:()=>Zo,unarmor:()=>te,verify:()=>Xo});const n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}))})),Object.freeze(e)}const s=Symbol("doneWritingPromise"),a=Symbol("doneWritingResolve"),o=Symbol("doneWritingReject"),c=Symbol("readingIndex");class u extends Array{constructor(){super(),Object.setPrototypeOf(this,u.prototype),this[s]=new Promise(((e,t)=>{this[a]=e,this[o]=t})),this[s].catch((()=>{}))}}function l(e){return e&&e.getReader&&Array.isArray(e)}function h(e){if(!l(e)){const t=e.getWriter(),r=t.releaseLock;return t.releaseLock=()=>{t.closed.catch((function(){})),r.call(t)},t}this.stream=e}function f(e){if(l(e))return"array";if(n.ReadableStream&&n.ReadableStream.prototype.isPrototypeOf(e))return"web";if(e&&!(n.ReadableStream&&e instanceof n.ReadableStream)&&"function"==typeof e._read&&"object"==typeof e._readableState)throw new Error("Native Node streams are no longer supported: please manually convert the stream to a WebStream, using e.g. `stream.Readable.toWeb`");return!(!e||!e.getReader)&&"web-like"}function p(e){return Uint8Array.prototype.isPrototypeOf(e)}function d(e){if(1===e.length)return e[0];let t=0;for(let r=0;r(await this[s],this[c]===this.length?{value:void 0,done:!0}:{value:this[this[c]++],done:!1})}},u.prototype.readToEnd=async function(e){await this[s];const t=e(this.slice(this[c]));return this.length=0,t},u.prototype.clone=function(){const e=new u;return e[s]=this[s].then((()=>{e.push(...this)})),e},h.prototype.write=async function(e){this.stream.push(e)},h.prototype.close=async function(){this.stream[a]()},h.prototype.abort=async function(e){return this.stream[o](e),e},h.prototype.releaseLock=function(){},"object"==typeof n.process&&n.process.versions;const g=new WeakSet,y=Symbol("externalBuffer");function m(e){if(this.stream=e,e[y]&&(this[y]=e[y].slice()),l(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{},void(this._cancel=()=>{})}if(f(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{t.closed.catch((function(){})),t.releaseLock()},void(this._cancel=t.cancel.bind(t))}let t=!1;this._read=async()=>t||g.has(e)?{value:void 0,done:!0}:(t=!0,{value:e,done:!1}),this._releaseLock=()=>{if(t)try{g.add(e)}catch(e){}}}function w(e){return f(e)?e:new ReadableStream({start(t){t.enqueue(e),t.close()}})}function b(e){if(f(e))return e;const t=new u;return(async()=>{const r=M(t);await r.write(e),await r.close()})(),t}function A(e){return e.some((e=>f(e)&&!l(e)))?function(e){e=e.map(w);const t=k((async function(e){await Promise.all(n.map((t=>U(t,e))))}));let r=Promise.resolve();const n=e.map(((n,i)=>I(n,((n,s)=>(r=r.then((()=>v(n,t.writable,{preventClose:i!==e.length-1}))),r)))));return t.readable}(e):e.some((e=>l(e)))?function(e){const t=new u;let r=Promise.resolve();return e.forEach(((n,i)=>(r=r.then((()=>v(n,t,{preventClose:i!==e.length-1}))),r))),t}(e):"string"==typeof e[0]?e.join(""):d(e)}async function v(e,t,{preventClose:r=!1,preventAbort:n=!1,preventCancel:i=!1}={}){if(f(e)&&!l(e)){e=w(e);try{if(e[y]){const r=M(t);for(let t=0;t{t=e,r=n})),t=null,r=null)},close:n.close.bind(n),abort:n.error.bind(n)})}}function S(e,t=()=>{},r=()=>{}){if(l(e)){const n=new u;return(async()=>{const i=M(n);try{const n=await T(e),s=t(n),a=r();let o;o=void 0!==s&&void 0!==a?A([s,a]):void 0!==s?s:a,await i.write(o),await i.close()}catch(e){await i.abort(e)}})(),n}if(f(e))return E(e,{async transform(e,r){try{const n=await t(e);void 0!==n&&r.enqueue(n)}catch(e){r.error(e)}},async flush(e){try{const t=await r();void 0!==t&&e.enqueue(t)}catch(t){e.error(t)}}});const n=t(e),i=r();return void 0!==n&&void 0!==i?A([n,i]):void 0!==n?n:i}function I(e,t){if(f(e)&&!l(e)){let r;const n=new TransformStream({start(e){r=e}}),i=v(e,n.writable),s=k((async function(e){r.error(e),await i,await new Promise(setTimeout)}));return t(n.readable,s.writable),s.readable}e=b(e);const r=new u;return t(e,r),r}function C(e,t){let r;const n=I(e,((e,i)=>{const s=O(e);s.remainder=()=>(s.releaseLock(),v(e,i),n),r=t(s)}));return r}function B(e){if(l(e))return e.clone();if(f(e)){const t=function(e){if(l(e))throw new Error("ArrayStream cannot be tee()d, use clone() instead");if(f(e)){const t=w(e).tee();return t[0][y]=t[1][y]=e[y],t}return[D(e),D(e)]}(e);return P(e,t[0]),t[1]}return D(e)}function x(e){return l(e)?B(e):f(e)?new ReadableStream({start(t){const r=I(e,(async(e,r)=>{const n=O(e),i=M(r);try{for(;;){await i.ready;const{done:e,value:r}=await n.read();if(e){try{t.close()}catch(e){}return void await i.close()}try{t.enqueue(r)}catch(e){}await i.write(r)}}catch(e){t.error(e),await i.abort(e)}}));P(e,r)}}):D(e)}function P(e,t){Object.entries(Object.getOwnPropertyDescriptors(e.constructor.prototype)).forEach((([r,n])=>{"constructor"!==r&&(n.value?n.value=n.value.bind(t):n.get=n.get.bind(t),Object.defineProperty(e,r,n))}))}function D(e,t=0,r=1/0){if(l(e))throw new Error("Not implemented");if(f(e)){if(t>=0&&r>=0){let n=0;return E(e,{transform(e,i){n=t&&i.enqueue(D(e,Math.max(t-n,0),r-n)),n+=e.length):i.terminate()}})}if(t<0&&(r<0||r===1/0)){let n=[];return S(e,(e=>{e.length>=-t?n=[e]:n.push(e)}),(()=>D(A(n),t,r)))}if(0===t&&r<0){let n;return S(e,(e=>{const i=n?A([n,e]):e;if(i.length>=-r)return n=D(i,r),D(i,t,r);n=i}))}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),K((async()=>D(await T(e),t,r)))}return e[y]&&(e=A(e[y].concat([e]))),p(e)?e.subarray(t,r===1/0?e.length:r):e.slice(t,r)}async function T(e,t=A){return l(e)?e.readToEnd(t):f(e)?O(e).readToEnd(t):e}async function U(e,t){if(f(e)){if(e.cancel){const r=await e.cancel(t);return await new Promise(setTimeout),r}if(e.destroy)return e.destroy(t),await new Promise(setTimeout),t}}function K(e){const t=new u;return(async()=>{const r=M(t);try{await r.write(await e()),await r.close()}catch(e){await r.abort(e)}})(),t}function O(e){return new m(e)}function M(e){return new h(e)}m.prototype.read=async function(){return this[y]&&this[y].length?{done:!1,value:this[y].shift()}:this._read()},m.prototype.releaseLock=function(){this[y]&&(this.stream[y]=this[y]),this._releaseLock()},m.prototype.cancel=function(e){return this._cancel(e)},m.prototype.readLine=async function(){let e,t=[];for(;!e;){let{done:r,value:n}=await this.read();if(n+="",r)return t.length?A(t):void 0;const i=n.indexOf("\n")+1;i&&(e=A(t.concat(n.substr(0,i))),t=[]),i!==n.length&&t.push(n.substr(i))}return this.unshift(...t),e},m.prototype.readByte=async function(){const{done:e,value:t}=await this.read();if(e)return;const r=t[0];return this.unshift(D(t,1)),r},m.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){const{done:n,value:i}=await this.read();if(n)return t.length?A(t):void 0;if(t.push(i),r+=i.length,r>=e){const r=A(t);return this.unshift(D(r,e)),D(r,0,e)}}},m.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},m.prototype.unshift=function(...e){this[y]||(this[y]=[]),1===e.length&&p(e[0])&&this[y].length&&e[0].length&&this[y][0].byteOffset>=e[0].length?this[y][0]=new Uint8Array(this[y][0].buffer,this[y][0].byteOffset-e[0].length,this[y][0].byteLength+e[0].length):this[y].unshift(...e.filter((e=>e&&e.length)))},m.prototype.readToEnd=async function(e=A){const t=[];for(;;){const{done:e,value:r}=await this.read();if(e)break;t.push(r)}return e(t)};const R=Symbol("byValue");var N={curve:{nistP256:"nistP256",p256:"nistP256",nistP384:"nistP384",p384:"nistP384",nistP521:"nistP521",p521:"nistP521",secp256k1:"secp256k1",ed25519Legacy:"ed25519Legacy",ed25519:"ed25519Legacy",curve25519Legacy:"curve25519Legacy",curve25519:"curve25519Legacy",brainpoolP256r1:"brainpoolP256r1",brainpoolP384r1:"brainpoolP384r1",brainpoolP512r1:"brainpoolP512r1"},s2k:{simple:0,salted:1,iterated:3,argon2:4,gnu:101},publicKey:{rsaEncryptSign:1,rsaEncrypt:2,rsaSign:3,elgamal:16,dsa:17,ecdh:18,ecdsa:19,eddsaLegacy:22,aedh:23,aedsa:24,x25519:25,x448:26,ed25519:27,ed448:28},symmetric:{idea:1,tripledes:2,cast5:3,blowfish:4,aes128:7,aes192:8,aes256:9,twofish:10},compression:{uncompressed:0,zip:1,zlib:2,bzip2:3},hash:{md5:1,sha1:2,ripemd:3,sha256:8,sha384:9,sha512:10,sha224:11,sha3_256:12,sha3_512:14},webHash:{"SHA-1":2,"SHA-256":8,"SHA-384":9,"SHA-512":10},aead:{eax:1,ocb:2,gcm:3,experimentalGCM:100},packet:{publicKeyEncryptedSessionKey:1,signature:2,symEncryptedSessionKey:3,onePassSignature:4,secretKey:5,publicKey:6,secretSubkey:7,compressedData:8,symmetricallyEncryptedData:9,marker:10,literalData:11,trust:12,userID:13,publicSubkey:14,userAttribute:17,symEncryptedIntegrityProtectedData:18,modificationDetectionCode:19,aeadEncryptedData:20,padding:21},literal:{binary:"b".charCodeAt(),text:"t".charCodeAt(),utf8:"u".charCodeAt(),mime:"m".charCodeAt()},signature:{binary:0,text:1,standalone:2,certGeneric:16,certPersona:17,certCasual:18,certPositive:19,certRevocation:48,subkeyBinding:24,keyBinding:25,key:31,keyRevocation:32,subkeyRevocation:40,timestamp:64,thirdParty:80},signatureSubpacket:{signatureCreationTime:2,signatureExpirationTime:3,exportableCertification:4,trustSignature:5,regularExpression:6,revocable:7,keyExpirationTime:9,placeholderBackwardsCompatibility:10,preferredSymmetricAlgorithms:11,revocationKey:12,issuerKeyID:16,notationData:20,preferredHashAlgorithms:21,preferredCompressionAlgorithms:22,keyServerPreferences:23,preferredKeyServer:24,primaryUserID:25,policyURI:26,keyFlags:27,signersUserID:28,reasonForRevocation:29,features:30,signatureTarget:31,embeddedSignature:32,issuerFingerprint:33,preferredAEADAlgorithms:34,preferredCipherSuites:39},keyFlags:{certifyKeys:1,signData:2,encryptCommunication:4,encryptStorage:8,splitPrivateKey:16,authentication:32,sharedPrivateKey:128},armor:{multipartSection:0,multipartLast:1,signed:2,message:3,publicKey:4,privateKey:5,signature:6},reasonForRevocation:{noReason:0,keySuperseded:1,keyCompromised:2,keyRetired:3,userIDInvalid:32},features:{modificationDetection:1,aead:2,v5Keys:4,seipdv2:8},write:function(e,t){if("number"==typeof t&&(t=this.read(e,t)),void 0!==e[t])return e[t];throw new Error("Invalid enum value.")},read:function(e,t){if(e[R]||(e[R]=[],Object.entries(e).forEach((([t,r])=>{e[R][r]=t}))),void 0!==e[R][t])return e[R][t];throw new Error("Invalid enum value.")}},L={preferredHashAlgorithm:N.hash.sha512,preferredSymmetricAlgorithm:N.symmetric.aes256,preferredCompressionAlgorithm:N.compression.uncompressed,aeadProtect:!1,parseAEADEncryptedV4KeysAsLegacy:!1,preferredAEADAlgorithm:N.aead.gcm,aeadChunkSizeByte:12,v6Keys:!1,enableParsingV5Entities:!1,s2kType:N.s2k.iterated,s2kIterationCountByte:224,s2kArgon2Params:{passes:3,parallelism:4,memoryExponent:16},allowUnauthenticatedMessages:!1,allowUnauthenticatedStream:!1,minRSABits:2047,passwordCollisionCheck:!1,allowInsecureDecryptionWithSigningKeys:!1,allowInsecureVerificationWithReformattedKeys:!1,allowMissingKeyFlags:!1,constantTimePKCS1Decryption:!1,constantTimePKCS1DecryptionSupportedSymmetricAlgorithms:new Set([N.symmetric.aes128,N.symmetric.aes192,N.symmetric.aes256]),ignoreUnsupportedPackets:!0,ignoreMalformedPackets:!1,enforceGrammar:!0,additionalAllowedPackets:[],showVersion:!1,showComment:!1,versionString:"OpenPGP.js 6.2.0",commentString:"https://openpgpjs.org",maxUserIDLength:5120,knownNotations:[],nonDeterministicSignaturesViaNotation:!0,useEllipticFallback:!0,rejectHashAlgorithms:new Set([N.hash.md5,N.hash.ripemd]),rejectMessageHashAlgorithms:new Set([N.hash.md5,N.hash.ripemd,N.hash.sha1]),rejectPublicKeyAlgorithms:new Set([N.publicKey.elgamal,N.publicKey.dsa]),rejectCurves:new Set([N.curve.secp256k1])};const F=(()=>{try{return!1}catch(e){}return!1})(),_={isString:function(e){return"string"==typeof e||e instanceof String},nodeRequire:()=>{},isArray:function(e){return e instanceof Array},isUint8Array:p,isStream:f,getNobleCurve:async(e,t)=>{if(!L.useEllipticFallback)throw new Error("This curve is only supported in the full build of OpenPGP.js");const{nobleCurves:r}=await Promise.resolve().then((function(){return zh}));switch(e){case N.publicKey.ecdh:case N.publicKey.ecdsa:{const e=r.get(t);if(!e)throw new Error("Unsupported curve");return e}case N.publicKey.x448:return r.get("x448");case N.publicKey.ed448:return r.get("ed448");default:throw new Error("Unsupported curve")}},readNumber:function(e){let t=0;for(let r=0;r>8*(t-n-1)&255;return r},readDate:function(e){const t=_.readNumber(e);return new Date(1e3*t)},writeDate:function(e){const t=Math.floor(e.getTime()/1e3);return _.writeNumber(t,4)},normalizeDate:function(e=Date.now()){return null===e||e===1/0?e:new Date(1e3*Math.floor(+e/1e3))},readMPI:function(e){const t=7+(e[0]<<8|e[1])>>>3;return _.readExactSubarray(e,2,2+t)},readExactSubarray:function(e,t,r){if(e.lengtht)throw new Error("Input array too long");const r=new Uint8Array(t),n=t-e.length;return r.set(e,n),r},uint8ArrayToMPI:function(e){const t=_.uint8ArrayBitLength(e);if(0===t)throw new Error("Zero MPI");const r=e.subarray(e.length-Math.ceil(t/8)),n=new Uint8Array([(65280&t)>>8,255&t]);return _.concatUint8Array([n,r])},uint8ArrayBitLength:function(e){let t;for(t=0;t>1);for(let r=0;r>1;r++)t[r]=parseInt(e.substr(r<<1,2),16);return t},uint8ArrayToHex:function(e){const t="0123456789abcdef";let r="";return e.forEach((e=>{r+=t[e>>4]+t[15&e]})),r},stringToUint8Array:function(e){return S(e,(e=>{if(!_.isString(e))throw new Error("stringToUint8Array: Data must be in the form of a string");const t=new Uint8Array(e.length);for(let r=0;rr("",!0)))},decodeUTF8:function(e){const t=new TextDecoder("utf-8");function r(e,r=!1){return t.decode(e,{stream:!r})}return S(e,r,(()=>r(new Uint8Array,!0)))},concat:A,concatUint8Array:d,equalsUint8Array:function(e,t){if(!_.isUint8Array(e)||!_.isUint8Array(t))throw new Error("Data must be in the form of a Uint8Array");if(e.length!==t.length)return!1;for(let r=0;r=0;r--)if(t(e[r],r,e))return r;return-1},writeChecksum:function(e){let t=0;for(let r=0;r>>16;return 0!==r&&(e=r,t+=16),r=e>>8,0!==r&&(e=r,t+=8),r=e>>4,0!==r&&(e=r,t+=4),r=e>>2,0!==r&&(e=r,t+=2),r=e>>1,0!==r&&(e=r,t+=1),t},double:function(e){const t=new Uint8Array(e.length),r=e.length-1;for(let n=0;n>7;return t[r]=e[r]<<1^135*(e[0]>>7),t},shiftRight:function(e,t){if(t)for(let r=e.length-1;r>=0;r--)e[r]>>=t,r>0&&(e[r]|=e[r-1]<<8-t);return e},getWebCrypto:function(){const e=void 0!==n&&n.crypto&&n.crypto.subtle||this.getNodeCrypto()?.webcrypto.subtle;if(!e)throw new Error("The WebCrypto API is not available");return e},getNodeCrypto:function(){return this.nodeRequire("crypto")},getNodeZlib:function(){return this.nodeRequire("zlib")},getNodeBuffer:function(){return(this.nodeRequire("buffer")||{}).Buffer},getHardwareConcurrency:function(){return"undefined"!=typeof navigator?navigator.hardwareConcurrency||1:this.nodeRequire("os").cpus().length},isEmailAddress:function(e){return!!_.isString(e)&&/^[^\p{C}\p{Z}@<>\\]+@[^\p{C}\p{Z}@<>\\]+[^\p{C}\p{Z}\p{P}]$/u.test(e)},canonicalizeEOL:function(e){let t=!1;return S(e,(e=>{let r;t&&(e=_.concatUint8Array([new Uint8Array([13]),e])),13===e[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;const n=[];for(let t=0;r=e.indexOf(10,t)+1,r;t=r)13!==e[r-2]&&n.push(r);if(!n.length)return e;const i=new Uint8Array(e.length+n.length);let s=0;for(let t=0;tt?new Uint8Array([13]):void 0))},nativeEOL:function(e){let t=!1;return S(e,(e=>{let r;13===(e=t&&10!==e[0]?_.concatUint8Array([new Uint8Array([13]),e]):new Uint8Array(e))[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;let n=0;for(let t=0;t!==e.length;t=r){r=e.indexOf(13,t)+1,r||(r=e.length);const i=r-(10===e[r]?1:0);t&&e.copyWithin(n,t,i),n+=i-t}return e.subarray(0,n)}),(()=>t?new Uint8Array([13]):void 0))},removeTrailingSpaces:function(e){return e.split("\n").map((e=>{let t=e.length-1;for(;t>=0&&(" "===e[t]||"\t"===e[t]||"\r"===e[t]);t--);return e.substr(0,t+1)})).join("\n")},wrapError:function(e,t){if(!t)return e instanceof Error?e:new Error(e);if(e instanceof Error){try{e.message+=": "+t.message,e.cause=t}catch(e){}return e}return new Error(e+": "+t.message,{cause:t})},constructAllowedPackets:function(e){const t={};return e.forEach((e=>{if(!e.tag)throw new Error("Invalid input: expected a packet class");t[e.tag]=e})),t},anyPromise:function(e){return new Promise((async(t,r)=>{let n;await Promise.all(e.map((async e=>{try{t(await e)}catch(e){n=e}}))),r(n)}))},selectUint8Array:function(e,t,r){const n=Math.max(t.length,r.length),i=new Uint8Array(n);let s=0;for(let n=0;n{t=_.concatUint8Array([t,e]);const r=[],n=Math.floor(t.length/45),i=45*n,s=j(t.subarray(0,i));for(let e=0;et.length?j(t)+"\n":""))}function z(e){let t="";return S(e,(e=>{t+=e;let r=0;const n=[" ","\t","\r","\n"];for(let e=0;e0&&(i-r)%4!=0;i--)n.includes(t[i])&&r--;const s=H(t.substr(0,i));return t=t.substr(i),s}),(()=>H(t)))}function G(e){return z(e.replace(/-/g,"+").replace(/_/g,"/"))}function V(e,t){let r=q(e).replace(/[\r\n]/g,"");return r=r.replace(/[+]/g,"-").replace(/[/]/g,"_").replace(/[=]/g,""),r}function J(e){const t=e.match(/^-----BEGIN PGP (MESSAGE, PART \d+\/\d+|MESSAGE, PART \d+|SIGNED MESSAGE|MESSAGE|PUBLIC KEY BLOCK|PRIVATE KEY BLOCK|SIGNATURE)-----$/m);if(!t)throw new Error("Unknown ASCII armor type");return/MESSAGE, PART \d+\/\d+/.test(t[1])?N.armor.multipartSection:/MESSAGE, PART \d+/.test(t[1])?N.armor.multipartLast:/SIGNED MESSAGE/.test(t[1])?N.armor.signed:/MESSAGE/.test(t[1])?N.armor.message:/PUBLIC KEY BLOCK/.test(t[1])?N.armor.publicKey:/PRIVATE KEY BLOCK/.test(t[1])?N.armor.privateKey:/SIGNATURE/.test(t[1])?N.armor.signature:void 0}function $(e,t){let r="";return t.showVersion&&(r+="Version: "+t.versionString+"\n"),t.showComment&&(r+="Comment: "+t.commentString+"\n"),e&&(r+="Comment: "+e+"\n"),r+="\n",r}function W(e){const t=function(e){let t=13501623;return S(e,(e=>{const r=Z?Math.floor(e.length/4):0,n=new Uint32Array(e.buffer,e.byteOffset,r);for(let e=0;e>24&255]^Y[1][t>>16&255]^Y[2][t>>8&255]^Y[3][255&t];for(let n=4*r;n>8^Y[0][255&t^e[n]]}),(()=>new Uint8Array([t,t>>8,t>>16])))}(e);return q(t)}Q?(j=e=>Q.from(e).toString("base64"),H=e=>{const t=Q.from(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}):(j=e=>btoa(_.uint8ArrayToString(e)),H=e=>_.stringToUint8Array(atob(e)));const Y=[new Array(255),new Array(255),new Array(255),new Array(255)];for(let e=0;e<=255;e++){let t=e<<16;for(let e=0;e<8;e++)t=t<<1^(8388608&t?8801531:0);Y[0][e]=(16711680&t)>>16|65280&t|(255&t)<<16}for(let e=0;e<=255;e++)Y[1][e]=Y[0][e]>>8^Y[0][255&Y[0][e]];for(let e=0;e<=255;e++)Y[2][e]=Y[1][e]>>8^Y[0][255&Y[1][e]];for(let e=0;e<=255;e++)Y[3][e]=Y[2][e]>>8^Y[0][255&Y[2][e]];const Z=function(){const e=new ArrayBuffer(2);return new DataView(e).setInt16(0,255,!0),255===new Int16Array(e)[0]}();function X(e){for(let t=0;t=0&&r!==e.length-1&&(t=e.slice(0,r)),t}function te(e){return new Promise((async(t,r)=>{try{const n=/^-----[^-]+-----$/m,i=/^[ \f\r\t\u00a0\u2000-\u200a\u202f\u205f\u3000]*$/;let s;const a=[];let o,c,u=a,l=[];const h=z(I(e,(async(e,f)=>{const p=O(e);try{for(;;){let e=await p.readLine();if(void 0===e)throw new Error("Misformed armored text");if(e=_.removeTrailingSpaces(e.replace(/[\r\n]/g,"")),s)if(o)c||s!==N.armor.signed||(n.test(e)?(l=l.join("\r\n"),c=!0,X(u),u=[],o=!1):l.push(e.replace(/^- /,"")));else if(n.test(e)&&r(new Error("Mandatory blank line missing between armor headers and armor data")),i.test(e)){if(X(u),o=!0,c||s!==N.armor.signed){t({text:l,data:h,headers:a,type:s});break}}else u.push(e);else n.test(e)&&(s=J(e))}}catch(e){return void r(e)}const d=M(f);try{for(;;){await d.ready;const{done:e,value:t}=await p.read();if(e)throw new Error("Misformed armored text");const r=t+"";if(-1!==r.indexOf("=")||-1!==r.indexOf("-")){let e=await p.readToEnd();e.length||(e=""),e=r+e,e=_.removeTrailingSpaces(e.replace(/\r/g,""));const t=e.split(n);if(1===t.length)throw new Error("Misformed armored text");const i=ee(t[0].slice(0,-1));await d.write(i);break}await d.write(r)}await d.ready,await d.close()}catch(e){await d.abort(e)}})))}catch(e){r(e)}})).then((async e=>(l(e.data)&&(e.data=await T(e.data)),e)))}function re(e,t,r,n,i,s=!1,a=L){let o,c;e===N.armor.signed&&(o=t.text,c=t.hash,t=t.data);const u=s&&x(t),l=[];switch(e){case N.armor.multipartSection:l.push("-----BEGIN PGP MESSAGE, PART "+r+"/"+n+"-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP MESSAGE, PART "+r+"/"+n+"-----\n");break;case N.armor.multipartLast:l.push("-----BEGIN PGP MESSAGE, PART "+r+"-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP MESSAGE, PART "+r+"-----\n");break;case N.armor.signed:l.push("-----BEGIN PGP SIGNED MESSAGE-----\n"),l.push(c?`Hash: ${c}\n\n`:"\n"),l.push(o.replace(/^-/gm,"- -")),l.push("\n-----BEGIN PGP SIGNATURE-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP SIGNATURE-----\n");break;case N.armor.message:l.push("-----BEGIN PGP MESSAGE-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP MESSAGE-----\n");break;case N.armor.publicKey:l.push("-----BEGIN PGP PUBLIC KEY BLOCK-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP PUBLIC KEY BLOCK-----\n");break;case N.armor.privateKey:l.push("-----BEGIN PGP PRIVATE KEY BLOCK-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP PRIVATE KEY BLOCK-----\n");break;case N.armor.signature:l.push("-----BEGIN PGP SIGNATURE-----\n"),l.push($(i,a)),l.push(q(t)),u&&l.push("=",W(u)),l.push("-----END PGP SIGNATURE-----\n")}return _.concat(l)}const ne=BigInt(0),ie=BigInt(1);function se(e){const t="0123456789ABCDEF";let r="";return e.forEach((e=>{r+=t[e>>4]+t[15&e]})),BigInt("0x0"+r)}function ae(e,t){const r=e%t;return rne;){const e=n&ie;n>>=ie,s=e?s*i%r:s,i=i*i%r}return s}function ce(e){return e>=ne?e:-e}function ue(e,t){const{gcd:r,x:n}=function(e,t){let r=BigInt(0),n=BigInt(1),i=BigInt(1),s=BigInt(0),a=ce(e),o=ce(t);const c=eNumber.MAX_SAFE_INTEGER)throw new Error("Number can only safely store up to 53 bits");return t}function he(e,t){return(e>>BigInt(t)&ie)===ne?0:1}function fe(e){const t=e>=ie)!==t;)r++;return r}function pe(e){const t=e>=r)!==t;)n++;return n}function de(e,t="be",r){let n=e.toString(16);n.length%2==1&&(n="0"+n);const i=n.length/2,s=new Uint8Array(r||i),a=r?r-i:0;let o=0;for(;oe&&(a=ae(a,i<ae(e,r)!==t))}(e)||!function(e,t=BigInt(2)){return oe(t,e-we,e)===we}(e)||!function(e,t){const r=fe(e);t||(t=Math.max(1,r/48|0));const n=e-we;let i=0;for(;!he(n,i);)i++;const s=e>>BigInt(i);for(;t>0;t--){let t,r=oe(me(BigInt(2),n),s,e);if(r!==we&&r!==n){for(t=1;tBigInt(e))),Ee=_.getWebCrypto(),ke=_.getNodeCrypto(),Se=ke&&ke.getHashes();function Ie(e){if(ke&&Se.includes(e))return async function(t){const r=ke.createHash(e);return S(t,(e=>{r.update(e)}),(()=>new Uint8Array(r.digest())))}}function Ce(e,t){const r=async()=>{const{nobleHashes:t}=await Promise.resolve().then((function(){return Af})),r=t.get(e);if(!r)throw new Error("Unsupported hash");return r};return async function(e){if(l(e)&&(e=await T(e)),_.isStream(e)){const t=(await r()).create();return S(e,(e=>{t.update(e)}),(()=>t.digest()))}return Ee&&t?new Uint8Array(await Ee.digest(t,e)):(await r())(e)}}const Be=Ie("md5")||Ce("md5"),xe=Ie("sha1")||Ce("sha1","SHA-1"),Pe=Ie("sha224")||Ce("sha224"),De=Ie("sha256")||Ce("sha256","SHA-256"),Te=Ie("sha384")||Ce("sha384","SHA-384"),Ue=Ie("sha512")||Ce("sha512","SHA-512"),Ke=Ie("ripemd160")||Ce("ripemd160"),Oe=Ie("sha3-256")||Ce("sha3_256"),Me=Ie("sha3-512")||Ce("sha3_512");function Re(e,t){switch(e){case N.hash.md5:return Be(t);case N.hash.sha1:return xe(t);case N.hash.ripemd:return Ke(t);case N.hash.sha256:return De(t);case N.hash.sha384:return Te(t);case N.hash.sha512:return Ue(t);case N.hash.sha224:return Pe(t);case N.hash.sha3_256:return Oe(t);case N.hash.sha3_512:return Me(t);default:throw new Error("Unsupported hash function")}}function Ne(e){switch(e){case N.hash.md5:return 16;case N.hash.sha1:case N.hash.ripemd:return 20;case N.hash.sha256:return 32;case N.hash.sha384:return 48;case N.hash.sha512:return 64;case N.hash.sha224:return 28;case N.hash.sha3_256:return 32;case N.hash.sha3_512:return 64;default:throw new Error("Invalid hash algorithm.")}}const Le=[];function Fe(e,t){const r=e.length;if(r>t-11)throw new Error("Message too long");const n=function(e){const t=new Uint8Array(e);let r=0;for(;r=8&!n;if(t)return _.selectUint8Array(a,s,t);if(a)return s;throw new Error("Decryption error")}function Qe(e,t,r){let n;if(t.length!==Ne(e))throw new Error("Invalid hash length");const i=new Uint8Array(Le[e].length);for(n=0;n=r.length)throw new Error("Digest size cannot exceed key modulus size");if(t&&!_.isStream(t))if(_.getWebCrypto())try{return await async function(e,t,r,n,i,s,a,o){const c=await Ve(r,n,i,s,a,o),u={name:"RSASSA-PKCS1-v1_5",hash:{name:e}},l=await je.importKey("jwk",c,u,!1,["sign"]);return new Uint8Array(await je.sign("RSASSA-PKCS1-v1_5",l,t))}(N.read(N.webHash,e),t,r,n,i,s,a,o)}catch(e){_.printDebugError(e)}else if(_.getNodeCrypto())return async function(e,t,r,n,i,s,a,o){const c=He.createSign(N.read(N.hash,e));c.write(t),c.end();const u=await Ve(r,n,i,s,a,o);return new Uint8Array(c.sign({key:u,format:"jwk",type:"pkcs1"}))}(e,t,r,n,i,s,a,o);return async function(e,t,r,n){t=se(t);return de(oe(se(Qe(e,n,pe(t))),r=se(r),t),"be",pe(t))}(e,r,i,c)}async function Ge(e,t,r){return _.getNodeCrypto()?async function(e,t,r){const n={key:Je(t,r),format:"jwk",type:"pkcs1",padding:He.constants.RSA_PKCS1_PADDING};return new Uint8Array(He.publicEncrypt(n,e))}(e,t,r):async function(e,t,r){if(t=se(t),e=se(Fe(e,pe(t))),r=se(r),e>=t)throw new Error("Message size cannot exceed modulus size");return de(oe(e,r,t),"be",pe(t))}(e,t,r)}async function Ve(e,t,r,n,i,s){const a=se(n),o=se(i),c=se(r);let u=ae(c,o-qe),l=ae(c,a-qe);return l=de(l),u=de(u),{kty:"RSA",n:V(e),e:V(t),d:V(r),p:V(i),q:V(n),dp:V(u),dq:V(l),qi:V(s),ext:!0}}function Je(e,t){return{kty:"RSA",n:V(e),e:V(t),ext:!0}}function $e(e,t){return{n:G(e.n),e:de(t),d:G(e.d),p:G(e.q),q:G(e.p),u:G(e.qi)}}const We=BigInt(1),Ye="object"==typeof n&&"crypto"in n?n.crypto:void 0,Ze={};var Xe=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function ht(e,t,r,n){return function(e,t,r,n){var i,s=0;for(i=0;i<32;i++)s|=e[t+i]^r[n+i];return(1&s-1>>>8)-1}(e,t,r,n)}function ft(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function pt(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function dt(e,t,r){for(var n,i=~(r-1),s=0;s<16;s++)n=i&(e[s]^t[s]),e[s]^=n,t[s]^=n}function gt(e,t){var r,n,i,s=Xe(),a=Xe();for(r=0;r<16;r++)a[r]=t[r];for(pt(a),pt(a),pt(a),n=0;n<2;n++){for(s[0]=a[0]-65517,r=1;r<15;r++)s[r]=a[r]-65535-(s[r-1]>>16&1),s[r-1]&=65535;s[15]=a[15]-32767-(s[14]>>16&1),i=s[15]>>16&1,s[14]&=65535,dt(a,s,1-i)}for(r=0;r<16;r++)e[2*r]=255&a[r],e[2*r+1]=a[r]>>8}function yt(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return gt(r,e),gt(n,t),ht(r,0,n,0)}function mt(e){var t=new Uint8Array(32);return gt(t,e),1&t[0]}function wt(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function bt(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function At(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function vt(e,t,r){var n,i,s=0,a=0,o=0,c=0,u=0,l=0,h=0,f=0,p=0,d=0,g=0,y=0,m=0,w=0,b=0,A=0,v=0,E=0,k=0,S=0,I=0,C=0,B=0,x=0,P=0,D=0,T=0,U=0,K=0,O=0,M=0,R=r[0],N=r[1],L=r[2],F=r[3],_=r[4],Q=r[5],j=r[6],H=r[7],q=r[8],z=r[9],G=r[10],V=r[11],J=r[12],$=r[13],W=r[14],Y=r[15];s+=(n=t[0])*R,a+=n*N,o+=n*L,c+=n*F,u+=n*_,l+=n*Q,h+=n*j,f+=n*H,p+=n*q,d+=n*z,g+=n*G,y+=n*V,m+=n*J,w+=n*$,b+=n*W,A+=n*Y,a+=(n=t[1])*R,o+=n*N,c+=n*L,u+=n*F,l+=n*_,h+=n*Q,f+=n*j,p+=n*H,d+=n*q,g+=n*z,y+=n*G,m+=n*V,w+=n*J,b+=n*$,A+=n*W,v+=n*Y,o+=(n=t[2])*R,c+=n*N,u+=n*L,l+=n*F,h+=n*_,f+=n*Q,p+=n*j,d+=n*H,g+=n*q,y+=n*z,m+=n*G,w+=n*V,b+=n*J,A+=n*$,v+=n*W,E+=n*Y,c+=(n=t[3])*R,u+=n*N,l+=n*L,h+=n*F,f+=n*_,p+=n*Q,d+=n*j,g+=n*H,y+=n*q,m+=n*z,w+=n*G,b+=n*V,A+=n*J,v+=n*$,E+=n*W,k+=n*Y,u+=(n=t[4])*R,l+=n*N,h+=n*L,f+=n*F,p+=n*_,d+=n*Q,g+=n*j,y+=n*H,m+=n*q,w+=n*z,b+=n*G,A+=n*V,v+=n*J,E+=n*$,k+=n*W,S+=n*Y,l+=(n=t[5])*R,h+=n*N,f+=n*L,p+=n*F,d+=n*_,g+=n*Q,y+=n*j,m+=n*H,w+=n*q,b+=n*z,A+=n*G,v+=n*V,E+=n*J,k+=n*$,S+=n*W,I+=n*Y,h+=(n=t[6])*R,f+=n*N,p+=n*L,d+=n*F,g+=n*_,y+=n*Q,m+=n*j,w+=n*H,b+=n*q,A+=n*z,v+=n*G,E+=n*V,k+=n*J,S+=n*$,I+=n*W,C+=n*Y,f+=(n=t[7])*R,p+=n*N,d+=n*L,g+=n*F,y+=n*_,m+=n*Q,w+=n*j,b+=n*H,A+=n*q,v+=n*z,E+=n*G,k+=n*V,S+=n*J,I+=n*$,C+=n*W,B+=n*Y,p+=(n=t[8])*R,d+=n*N,g+=n*L,y+=n*F,m+=n*_,w+=n*Q,b+=n*j,A+=n*H,v+=n*q,E+=n*z,k+=n*G,S+=n*V,I+=n*J,C+=n*$,B+=n*W,x+=n*Y,d+=(n=t[9])*R,g+=n*N,y+=n*L,m+=n*F,w+=n*_,b+=n*Q,A+=n*j,v+=n*H,E+=n*q,k+=n*z,S+=n*G,I+=n*V,C+=n*J,B+=n*$,x+=n*W,P+=n*Y,g+=(n=t[10])*R,y+=n*N,m+=n*L,w+=n*F,b+=n*_,A+=n*Q,v+=n*j,E+=n*H,k+=n*q,S+=n*z,I+=n*G,C+=n*V,B+=n*J,x+=n*$,P+=n*W,D+=n*Y,y+=(n=t[11])*R,m+=n*N,w+=n*L,b+=n*F,A+=n*_,v+=n*Q,E+=n*j,k+=n*H,S+=n*q,I+=n*z,C+=n*G,B+=n*V,x+=n*J,P+=n*$,D+=n*W,T+=n*Y,m+=(n=t[12])*R,w+=n*N,b+=n*L,A+=n*F,v+=n*_,E+=n*Q,k+=n*j,S+=n*H,I+=n*q,C+=n*z,B+=n*G,x+=n*V,P+=n*J,D+=n*$,T+=n*W,U+=n*Y,w+=(n=t[13])*R,b+=n*N,A+=n*L,v+=n*F,E+=n*_,k+=n*Q,S+=n*j,I+=n*H,C+=n*q,B+=n*z,x+=n*G,P+=n*V,D+=n*J,T+=n*$,U+=n*W,K+=n*Y,b+=(n=t[14])*R,A+=n*N,v+=n*L,E+=n*F,k+=n*_,S+=n*Q,I+=n*j,C+=n*H,B+=n*q,x+=n*z,P+=n*G,D+=n*V,T+=n*J,U+=n*$,K+=n*W,O+=n*Y,A+=(n=t[15])*R,a+=38*(E+=n*L),o+=38*(k+=n*F),c+=38*(S+=n*_),u+=38*(I+=n*Q),l+=38*(C+=n*j),h+=38*(B+=n*H),f+=38*(x+=n*q),p+=38*(P+=n*z),d+=38*(D+=n*G),g+=38*(T+=n*V),y+=38*(U+=n*J),m+=38*(K+=n*$),w+=38*(O+=n*W),b+=38*(M+=n*Y),s=(n=(s+=38*(v+=n*N))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),A=(n=A+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=(s+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),A=(n=A+i+65535)-65536*(i=Math.floor(n/65536)),s+=i-1+37*(i-1),e[0]=s,e[1]=a,e[2]=o,e[3]=c,e[4]=u,e[5]=l,e[6]=h,e[7]=f,e[8]=p,e[9]=d,e[10]=g,e[11]=y,e[12]=m,e[13]=w,e[14]=b,e[15]=A}function Et(e,t){vt(e,t,t)}function kt(e,t){var r,n=Xe();for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)Et(n,n),2!==r&&4!==r&&vt(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function St(e,t,r){var n,i,s=new Uint8Array(32),a=new Float64Array(80),o=Xe(),c=Xe(),u=Xe(),l=Xe(),h=Xe(),f=Xe();for(i=0;i<31;i++)s[i]=t[i];for(s[31]=127&t[31]|64,s[0]&=248,wt(a,r),i=0;i<16;i++)c[i]=a[i],l[i]=o[i]=u[i]=0;for(o[0]=l[0]=1,i=254;i>=0;--i)dt(o,c,n=s[i>>>3]>>>(7&i)&1),dt(u,l,n),bt(h,o,u),At(o,o,u),bt(u,c,l),At(c,c,l),Et(l,h),Et(f,o),vt(o,u,o),vt(u,c,h),bt(h,o,u),At(o,o,u),Et(c,o),At(u,l,f),vt(o,u,it),bt(o,o,l),vt(u,u,o),vt(o,l,f),vt(l,c,a),Et(c,h),dt(o,c,n),dt(u,l,n);for(i=0;i<16;i++)a[i+16]=o[i],a[i+32]=u[i],a[i+48]=c[i],a[i+64]=l[i];var p=a.subarray(32),d=a.subarray(16);return kt(p,p),vt(d,d,p),gt(e,d),0}function It(e,t){return St(e,t,tt)}var Ct=[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 Bt(e,t,r,n){for(var i,s,a,o,c,u,l,h,f,p,d,g,y,m,w,b,A,v,E,k,S,I,C,B,x,P,D=new Int32Array(16),T=new Int32Array(16),U=e[0],K=e[1],O=e[2],M=e[3],R=e[4],N=e[5],L=e[6],F=e[7],_=t[0],Q=t[1],j=t[2],H=t[3],q=t[4],z=t[5],G=t[6],V=t[7],J=0;n>=128;){for(E=0;E<16;E++)k=8*E+J,D[E]=r[k+0]<<24|r[k+1]<<16|r[k+2]<<8|r[k+3],T[E]=r[k+4]<<24|r[k+5]<<16|r[k+6]<<8|r[k+7];for(E=0;E<80;E++)if(i=U,s=K,a=O,o=M,c=R,u=N,l=L,f=_,p=Q,d=j,g=H,y=q,m=z,w=G,C=65535&(I=V),B=I>>>16,x=65535&(S=F),P=S>>>16,C+=65535&(I=(q>>>14|R<<18)^(q>>>18|R<<14)^(R>>>9|q<<23)),B+=I>>>16,x+=65535&(S=(R>>>14|q<<18)^(R>>>18|q<<14)^(q>>>9|R<<23)),P+=S>>>16,C+=65535&(I=q&z^~q&G),B+=I>>>16,x+=65535&(S=R&N^~R&L),P+=S>>>16,C+=65535&(I=Ct[2*E+1]),B+=I>>>16,x+=65535&(S=Ct[2*E]),P+=S>>>16,S=D[E%16],B+=(I=T[E%16])>>>16,x+=65535&S,P+=S>>>16,x+=(B+=(C+=65535&I)>>>16)>>>16,C=65535&(I=v=65535&C|B<<16),B=I>>>16,x=65535&(S=A=65535&x|(P+=x>>>16)<<16),P=S>>>16,C+=65535&(I=(_>>>28|U<<4)^(U>>>2|_<<30)^(U>>>7|_<<25)),B+=I>>>16,x+=65535&(S=(U>>>28|_<<4)^(_>>>2|U<<30)^(_>>>7|U<<25)),P+=S>>>16,B+=(I=_&Q^_&j^Q&j)>>>16,x+=65535&(S=U&K^U&O^K&O),P+=S>>>16,h=65535&(x+=(B+=(C+=65535&I)>>>16)>>>16)|(P+=x>>>16)<<16,b=65535&C|B<<16,C=65535&(I=g),B=I>>>16,x=65535&(S=o),P=S>>>16,B+=(I=v)>>>16,x+=65535&(S=A),P+=S>>>16,K=i,O=s,M=a,R=o=65535&(x+=(B+=(C+=65535&I)>>>16)>>>16)|(P+=x>>>16)<<16,N=c,L=u,F=l,U=h,Q=f,j=p,H=d,q=g=65535&C|B<<16,z=y,G=m,V=w,_=b,E%16==15)for(k=0;k<16;k++)S=D[k],C=65535&(I=T[k]),B=I>>>16,x=65535&S,P=S>>>16,S=D[(k+9)%16],C+=65535&(I=T[(k+9)%16]),B+=I>>>16,x+=65535&S,P+=S>>>16,A=D[(k+1)%16],C+=65535&(I=((v=T[(k+1)%16])>>>1|A<<31)^(v>>>8|A<<24)^(v>>>7|A<<25)),B+=I>>>16,x+=65535&(S=(A>>>1|v<<31)^(A>>>8|v<<24)^A>>>7),P+=S>>>16,A=D[(k+14)%16],B+=(I=((v=T[(k+14)%16])>>>19|A<<13)^(A>>>29|v<<3)^(v>>>6|A<<26))>>>16,x+=65535&(S=(A>>>19|v<<13)^(v>>>29|A<<3)^A>>>6),P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,D[k]=65535&x|P<<16,T[k]=65535&C|B<<16;C=65535&(I=_),B=I>>>16,x=65535&(S=U),P=S>>>16,S=e[0],B+=(I=t[0])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[0]=U=65535&x|P<<16,t[0]=_=65535&C|B<<16,C=65535&(I=Q),B=I>>>16,x=65535&(S=K),P=S>>>16,S=e[1],B+=(I=t[1])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[1]=K=65535&x|P<<16,t[1]=Q=65535&C|B<<16,C=65535&(I=j),B=I>>>16,x=65535&(S=O),P=S>>>16,S=e[2],B+=(I=t[2])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[2]=O=65535&x|P<<16,t[2]=j=65535&C|B<<16,C=65535&(I=H),B=I>>>16,x=65535&(S=M),P=S>>>16,S=e[3],B+=(I=t[3])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[3]=M=65535&x|P<<16,t[3]=H=65535&C|B<<16,C=65535&(I=q),B=I>>>16,x=65535&(S=R),P=S>>>16,S=e[4],B+=(I=t[4])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[4]=R=65535&x|P<<16,t[4]=q=65535&C|B<<16,C=65535&(I=z),B=I>>>16,x=65535&(S=N),P=S>>>16,S=e[5],B+=(I=t[5])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[5]=N=65535&x|P<<16,t[5]=z=65535&C|B<<16,C=65535&(I=G),B=I>>>16,x=65535&(S=L),P=S>>>16,S=e[6],B+=(I=t[6])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[6]=L=65535&x|P<<16,t[6]=G=65535&C|B<<16,C=65535&(I=V),B=I>>>16,x=65535&(S=F),P=S>>>16,S=e[7],B+=(I=t[7])>>>16,x+=65535&S,P+=S>>>16,P+=(x+=(B+=(C+=65535&I)>>>16)>>>16)>>>16,e[7]=F=65535&x|P<<16,t[7]=V=65535&C|B<<16,J+=128,n-=128}return n}function xt(e,t,r){var n,i=new Int32Array(8),s=new Int32Array(8),a=new Uint8Array(256),o=r;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,s[0]=4089235720,s[1]=2227873595,s[2]=4271175723,s[3]=1595750129,s[4]=2917565137,s[5]=725511199,s[6]=4215389547,s[7]=327033209,Bt(i,s,t,r),r%=128,n=0;n=0;--i)Dt(e,t,n=r[i/8|0]>>(7&i)&1),Pt(t,e),Pt(e,e),Dt(e,t,n)}function Kt(e,t){var r=[Xe(),Xe(),Xe(),Xe()];ft(r[0],ot),ft(r[1],ct),ft(r[2],nt),vt(r[3],ot,ct),Ut(e,r,t)}function Ot(e,t,r){var n,i=new Uint8Array(64),s=[Xe(),Xe(),Xe(),Xe()];for(r||et(t,32),xt(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,Kt(s,i),Tt(e,s),n=0;n<32;n++)t[n+32]=e[n];return 0}var Mt=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Rt(e,t){var r,n,i,s;for(n=63;n>=32;--n){for(r=0,i=n-32,s=n-12;i>4)*Mt[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*Mt[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function Nt(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;Rt(e,r)}var Lt=64;function Ft(){for(var e=0;e=0;r--)Et(n,n),1!==r&&vt(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}(r,r),vt(r,r,i),vt(r,r,s),vt(r,r,s),vt(e[0],r,s),Et(n,e[0]),vt(n,n,s),yt(n,i)&&vt(e[0],e[0],ut),Et(n,e[0]),vt(n,n,s),yt(n,i)?-1:(mt(e[0])===t[31]>>7&&At(e[0],rt,e[0]),vt(e[3],e[0],e[1]),0)}(c,n))return-1;for(i=0;i=0},Ze.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return Ot(e,t),{publicKey:e,secretKey:t}},Ze.sign.keyPair.fromSecretKey=function(e){if(Ft(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r=1){const t=e[0];if(e.length>=1+t)return this.oid=e.subarray(1,1+t),1+this.oid.length}throw new Error("Invalid oid")}write(){return _.concatUint8Array([new Uint8Array([this.oid.length]),this.oid])}toHex(){return _.uint8ArrayToHex(this.oid)}getName(){const e=_t[this.toHex()];if(!e)throw new Error("Unknown curve object identifier.");return e}}function jt(e){let t,r=0;const n=e[0];return n<192?([r]=e,t=1):n<255?(r=(e[0]-192<<8)+e[1]+192,t=2):255===n&&(r=_.readNumber(e.subarray(1,5)),t=5),{len:r,offset:t}}function Ht(e){return e<192?new Uint8Array([e]):e>191&&e<8384?new Uint8Array([192+(e-192>>8),e-192&255]):_.concatUint8Array([new Uint8Array([255]),_.writeNumber(e,4)])}function qt(e){if(e<0||e>30)throw new Error("Partial Length power must be between 1 and 30");return new Uint8Array([224+e])}function zt(e){return new Uint8Array([192|e])}function Gt(e,t){return _.concatUint8Array([zt(e),Ht(t)])}function Vt(e){return[N.packet.literalData,N.packet.compressedData,N.packet.symmetricallyEncryptedData,N.packet.symEncryptedIntegrityProtectedData,N.packet.aeadEncryptedData].includes(e)}async function Jt(e,t,r){let n,i;try{const s=await e.peekBytes(2);if(!s||s.length<2||!(128&s[0]))throw new Error("Error during parsing. This message / key probably does not conform to a valid OpenPGP format.");const a=await e.readByte();let o,c,l=-1,h=-1;h=0,64&a&&(h=1),h?l=63&a:(l=(63&a)>>2,c=3&a);const f=Vt(l);let p,d=null;if(t&&f){if("array"===t){const e=new u;n=M(e),d=e}else{const e=new TransformStream;n=M(e.writable),d=e.readable}i=r({tag:l,packet:d})}else d=[];do{if(h){const t=await e.readByte();if(p=!1,t<192)o=t;else if(t>=192&&t<224)o=(t-192<<8)+await e.readByte()+192;else if(t>223&&t<255){if(o=1<<(31&t),p=!0,!f)throw new TypeError("This packet type does not support partial lengths.")}else o=await e.readByte()<<24|await e.readByte()<<16|await e.readByte()<<8|await e.readByte()}else switch(c){case 0:o=await e.readByte();break;case 1:o=await e.readByte()<<8|await e.readByte();break;case 2:o=await e.readByte()<<24|await e.readByte()<<16|await e.readByte()<<8|await e.readByte();break;default:o=1/0}if(o>0){let t=0;for(;;){n&&await n.ready;const{done:r,value:i}=await e.read();if(r){if(o===1/0)break;throw new Error("Unexpected end of packet")}const s=o===1/0?i:i.subarray(0,o-t);if(n?await n.write(s):d.push(s),t+=i.length,t>=o){e.unshift(i.subarray(o-t+i.length));break}}}}while(p);n?(await n.ready,await n.close()):(d=_.concatUint8Array(d),await r({tag:l,packet:d}))}catch(e){if(n)return await n.abort(e),!0;throw e}finally{n&&await i}}class $t extends Error{constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,$t),this.name="UnsupportedError"}}class Wt extends $t{constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,$t),this.name="UnknownPacketError"}}class Yt extends $t{constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,$t),this.name="MalformedPacketError"}}class Zt{constructor(e,t){this.tag=e,this.rawContent=t}write(){return this.rawContent}}async function Xt(e){switch(e){case N.publicKey.ed25519:try{const e=_.getWebCrypto(),t=await e.generateKey("Ed25519",!0,["sign","verify"]).catch((e=>{if("OperationError"===e.name){const e=new Error("Unexpected key generation issue");throw e.name="NotSupportedError",e}throw e})),r=await e.exportKey("jwk",t.privateKey),n=await e.exportKey("jwk",t.publicKey);return{A:new Uint8Array(G(n.x)),seed:G(r.d)}}catch(t){if("NotSupportedError"!==t.name)throw t;const r=ye(nr(e)),{publicKey:n}=Ze.sign.keyPair.fromSeed(r);return{A:n,seed:r}}case N.publicKey.ed448:{const e=await _.getNobleCurve(N.publicKey.ed448),t=e.utils.randomPrivateKey();return{A:e.getPublicKey(t),seed:t}}default:throw new Error("Unsupported EdDSA algorithm")}}async function er(e,t,r,n,i,s){if(Ne(t){if(e===N.publicKey.ed25519)return{kty:"OKP",crv:"Ed25519",x:V(t),ext:!0};throw new Error("Unsupported EdDSA algorithm")},ar=(e,t,r)=>{if(e===N.publicKey.ed25519){const n=sr(e,t);return n.d=V(r),n}throw new Error("Unsupported EdDSA algorithm")};var or=Object.freeze({__proto__:null,generate:Xt,getPayloadSize:nr,getPreferredHashAlgo:ir,sign:er,validateParams:rr,verify:tr});function cr(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function ur(e,...t){if(!cr(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function lr(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function hr(e,t){ur(e);const r=t.outputLen;if(e.length68===new Uint8Array(new Uint32Array([287454020]).buffer)[0])();function mr(e){if("string"==typeof e)e=function(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))}(e);else{if(!cr(e))throw new Error("Uint8Array expected, got "+typeof e);e=Ir(e)}return e}function wr(e,t){return e.buffer===t.buffer&&e.byteOffset{function r(r,...n){if(ur(r),!yr)throw new Error("Non little-endian hardware is not yet supported");if(void 0!==e.nonceLength){const t=n[0];if(!t)throw new Error("nonce / iv required");e.varSizeNonce?ur(t):ur(t,e.nonceLength)}const i=e.tagLength;i&&void 0!==n[1]&&ur(n[1]);const s=t(r,...n),a=(e,t)=>{if(void 0!==t){if(2!==e)throw new Error("cipher output not supported");ur(t)}};let o=!1;return{encrypt(e,t){if(o)throw new Error("cannot encrypt() twice with same key + nonce");return o=!0,ur(e),a(s.encrypt.length,t),s.encrypt(e,t)},decrypt(e,t){if(ur(e),i&&e.length>i&s),o=Number(r&s);e.setUint32(t+0,a,n),e.setUint32(t+4,o,n)}function Sr(e){return e.byteOffset%4==0}function Ir(e){return Uint8Array.from(e)}const Cr=16,Br=new Uint8Array(16),xr=pr(Br),Pr=e=>(e>>>0&255)<<24|(e>>>8&255)<<16|(e>>>16&255)<<8|e>>>24&255;class Dr{constructor(e,t){this.blockLen=Cr,this.outputLen=Cr,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,ur(e=mr(e),16);const r=gr(e);let n=r.getUint32(0,!1),i=r.getUint32(4,!1),s=r.getUint32(8,!1),a=r.getUint32(12,!1);const o=[];for(let e=0;e<128;e++)o.push({s0:Pr(n),s1:Pr(i),s2:Pr(s),s3:Pr(a)}),({s0:n,s1:i,s2:s,s3:a}={s3:(l=s)<<31|(h=a)>>>1,s2:(u=i)<<31|l>>>1,s1:(c=n)<<31|u>>>1,s0:c>>>1^225<<24&-(1&h)});var c,u,l,h;const f=(p=t||1024)>65536?8:p>1024?4:2;var p;if(![1,2,4,8].includes(f))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=f;const d=128/f,g=this.windowSize=2**f,y=[];for(let e=0;e>>f-a-1&1))continue;const{s0:c,s1:u,s2:l,s3:h}=o[f*e+a];r^=c,n^=u,i^=l,s^=h}y.push({s0:r,s1:n,s2:i,s3:s})}this.t=y}_updateBlock(e,t,r,n){e^=this.s0,t^=this.s1,r^=this.s2,n^=this.s3;const{W:i,t:s,windowSize:a}=this;let o=0,c=0,u=0,l=0;const h=(1<>>8*e&255;for(let e=8/i-1;e>=0;e--){const r=t>>>i*e&h,{s0:n,s1:p,s2:d,s3:g}=s[f*a+r];o^=n,c^=p,u^=d,l^=g,f+=1}}this.s0=o,this.s1=c,this.s2=u,this.s3=l}update(e){lr(this),ur(e=mr(e));const t=pr(e),r=Math.floor(e.length/Cr),n=e.length%Cr;for(let e=0;e>>1|r,r=(1&n)<<7}return e[0]^=225&-t,e}(Ir(e));super(r,t),dr(r)}update(e){e=mr(e),lr(this);const t=pr(e),r=e.length%Cr,n=Math.floor(e.length/Cr);for(let e=0;ee(r,t.length).update(mr(t)).digest(),r=e(new Uint8Array(16),0);return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=(t,r)=>e(t,r),t}const Kr=Ur(((e,t)=>new Dr(e,t)));Ur(((e,t)=>new Tr(e,t)));const Or=16,Mr=new Uint8Array(Or);function Rr(e){return e<<1^283&-(e>>7)}function Nr(e,t){let r=0;for(;t>0;t>>=1)r^=e&-(1&t),e=Rr(e);return r}const Lr=(()=>{const e=new Uint8Array(256);for(let t=0,r=1;t<256;t++,r^=Rr(r))e[t]=r;const t=new Uint8Array(256);t[0]=99;for(let r=0;r<255;r++){let n=e[255-r];n|=n<<8,t[e[r]]=255&(n^n>>4^n>>5^n>>6^n>>7^99)}return dr(e),t})(),Fr=Lr.map(((e,t)=>Lr.indexOf(t))),_r=e=>e<<8|e>>>24,Qr=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function jr(e,t){if(256!==e.length)throw new Error("Wrong sbox length");const r=new Uint32Array(256).map(((r,n)=>t(e[n]))),n=r.map(_r),i=n.map(_r),s=i.map(_r),a=new Uint32Array(65536),o=new Uint32Array(65536),c=new Uint16Array(65536);for(let t=0;t<256;t++)for(let u=0;u<256;u++){const l=256*t+u;a[l]=r[t]^n[u],o[l]=i[t]^s[u],c[l]=e[t]<<8|e[u]}return{sbox:e,sbox2:c,T0:r,T1:n,T2:i,T3:s,T01:a,T23:o}}const Hr=jr(Lr,(e=>Nr(e,3)<<24|e<<16|e<<8|Nr(e,2))),qr=jr(Fr,(e=>Nr(e,11)<<24|Nr(e,13)<<16|Nr(e,9)<<8|Nr(e,14))),zr=(()=>{const e=new Uint8Array(16);for(let t=0,r=1;t<16;t++,r=Rr(r))e[t]=r;return e})();function Gr(e){ur(e);const t=e.length;if(![16,24,32].includes(t))throw new Error("aes: invalid key size, should be 16, 24 or 32, got "+t);const{sbox2:r}=Hr,n=[];Sr(e)||n.push(e=Ir(e));const i=pr(e),s=i.length,a=e=>$r(r,e,e,e,e),o=new Uint32Array(t+28);o.set(i);for(let e=s;e>>8)^zr[e/s-1]:s>6&&e%s===4&&(t=a(t)),o[e]=o[e-s]^t}var c;return dr(...n),o}function Vr(e){const t=Gr(e),r=t.slice(),n=t.length,{sbox2:i}=Hr,{T0:s,T1:a,T2:o,T3:c}=qr;for(let e=0;e>>8&255]^o[n>>>16&255]^c[n>>>24]}return r}function Jr(e,t,r,n,i,s){return e[r<<8&65280|n>>>8&255]^t[i>>>8&65280|s>>>24&255]}function $r(e,t,r,n,i){return e[255&t|65280&r]|e[n>>>16&255|i>>>16&65280]<<16}function Wr(e,t,r,n,i){const{sbox2:s,T01:a,T23:o}=Hr;let c=0;t^=e[c++],r^=e[c++],n^=e[c++],i^=e[c++];const u=e.length/4-2;for(let s=0;s=0;e--)r=r+(255&s[e])|0,s[e]=255&r,r>>>=8;({s0:o,s1:c,s2:u,s3:l}=Wr(e,a[0],a[1],a[2],a[3]))}const p=Or*Math.floor(h.length/4);if(p>>0,o.setUint32(l,f,t),({s0:p,s1:d,s2:g,s3:y}=Wr(e,a[0],a[1],a[2],a[3]));const m=Or*Math.floor(c.length/4);if(mr(e,t),decrypt:(e,t)=>r(e,t)}})),tn=vr({blockSize:16,nonceLength:16},(function(e,t,r={}){const n=!r.disablePadding;return{encrypt(r,i){const s=Gr(e),{b:a,o,out:c}=function(e,t,r){ur(e);let n=e.length;const i=n%Or;if(!t&&0!==i)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");Sr(e)||(e=Ir(e));const s=pr(e);if(t){let e=Or-i;e||(e=Or),n+=e}return br(e,r=Er(n,r)),{b:s,o:pr(r),out:r}}(r,n,i);let u=t;const l=[s];Sr(u)||l.push(u=Ir(u));const h=pr(u);let f=h[0],p=h[1],d=h[2],g=h[3],y=0;for(;y+4<=a.length;)f^=a[y+0],p^=a[y+1],d^=a[y+2],g^=a[y+3],({s0:f,s1:p,s2:d,s3:g}=Wr(s,f,p,d,g)),o[y++]=f,o[y++]=p,o[y++]=d,o[y++]=g;if(n){const e=function(e){const t=new Uint8Array(16),r=pr(t);t.set(e);const n=Or-e.length;for(let e=Or-n;e16)throw new Error("aes/pcks5: wrong padding");const i=e.subarray(0,-n);for(let t=0;tr(e,!0,t),decrypt:(e,t)=>r(e,!1,t)}}));const nn=vr({blockSize:16,nonceLength:12,tagLength:16,varSizeNonce:!0},(function(e,t,r){if(t.length<8)throw new Error("aes/gcm: invalid nonce length");function n(e,t,n){const i=function(e,t,r,n,i){const s=i?i.length:0,a=e.create(r,n.length+s);i&&a.update(i);const o=function(e,t,r){const n=new Uint8Array(16),i=gr(n);return kr(i,0,BigInt(t),r),kr(i,8,BigInt(e),r),n}(8*n.length,8*s,t);a.update(n),a.update(o);const c=a.digest();return dr(o),c}(Kr,!1,e,n,r);for(let e=0;e=2**32)throw new Error("plaintext should be less than 4gb");const r=Gr(e);if(16===t.length)an(r,t);else{const e=pr(t);let n=e[0],i=e[1];for(let t=0,s=1;t<6;t++)for(let t=2;t=2**32)throw new Error("ciphertext should be less than 4gb");const r=Vr(e),n=t.length/8-1;if(1===n)on(r,t);else{const e=pr(t);let i=e[0],s=e[1];for(let t=0,a=6*n;t<6;t++)for(let t=2*n;t>=1;t-=2,a--){s^=Qr(a);const{s0:n,s1:o,s2:c,s3:u}=Yr(r,i,s,e[t],e[t+1]);i=n,s=o,e[t]=c,e[t+1]=u}e[0]=i,e[1]=s}r.fill(0)}},un=new Uint8Array(8).fill(166),ln=vr({blockSize:8},(e=>({encrypt(t){if(!t.length||t.length%8!=0)throw new Error("invalid plaintext length");if(8===t.length)throw new Error("8-byte keys not allowed in AESKW, use AESKWP instead");const r=function(...e){let t=0;for(let r=0;r{if("OperationError"===e.name){const e=new Error("Unexpected key generation issue");throw e.name="NotSupportedError",e}throw e})),r=await e.exportKey("jwk",t.privateKey),n=await e.exportKey("jwk",t.publicKey);if(r.x!==n.x){const e=new Error("Unexpected mismatching public point");throw e.name="NotSupportedError",e}return{A:new Uint8Array(G(n.x)),k:G(r.d)}}catch(e){if("NotSupportedError"!==e.name)throw e;const t=ye(32),{publicKey:r}=Ze.box.keyPair.fromSecretKey(t);return{A:r,k:t}}case N.publicKey.x448:{const e=await _.getNobleCurve(N.publicKey.x448),t=e.utils.randomPrivateKey();return{A:e.getPublicKey(t),k:t}}default:throw new Error("Unsupported ECDH algorithm")}}async function kn(e,t,r){switch(e){case N.publicKey.x25519:{const{publicKey:e}=Ze.box.keyPair.fromSecretKey(r);return _.equalsUint8Array(t,e)}case N.publicKey.x448:{const e=(await _.getNobleCurve(N.publicKey.x448)).getPublicKey(r);return _.equalsUint8Array(t,e)}default:return!1}}async function Sn(e,t,r){const{ephemeralPublicKey:n,sharedSecret:i}=await Bn(e,r),s=_.concatUint8Array([n,r,i]);switch(e){case N.publicKey.x25519:{const e=N.symmetric.aes128,{keySize:r}=gn(e),i=await An(N.hash.sha256,s,new Uint8Array,vn.x25519,r);return{ephemeralPublicKey:n,wrappedKey:await mn(e,i,t)}}case N.publicKey.x448:{const e=N.symmetric.aes256,{keySize:r}=gn(N.symmetric.aes256),i=await An(N.hash.sha512,s,new Uint8Array,vn.x448,r);return{ephemeralPublicKey:n,wrappedKey:await mn(e,i,t)}}default:throw new Error("Unsupported ECDH algorithm")}}async function In(e,t,r,n,i){const s=await xn(e,t,n,i),a=_.concatUint8Array([t,n,s]);switch(e){case N.publicKey.x25519:{const e=N.symmetric.aes128,{keySize:t}=gn(e);return wn(e,await An(N.hash.sha256,a,new Uint8Array,vn.x25519,t),r)}case N.publicKey.x448:{const e=N.symmetric.aes256,{keySize:t}=gn(N.symmetric.aes256);return wn(e,await An(N.hash.sha512,a,new Uint8Array,vn.x448,t),r)}default:throw new Error("Unsupported ECDH algorithm")}}function Cn(e){switch(e){case N.publicKey.x25519:return 32;case N.publicKey.x448:return 56;default:throw new Error("Unsupported ECDH algorithm")}}async function Bn(e,t){switch(e){case N.publicKey.x25519:try{const r=_.getWebCrypto(),n=await r.generateKey("X25519",!0,["deriveKey","deriveBits"]).catch((e=>{if("OperationError"===e.name){const e=new Error("Unexpected key generation issue");throw e.name="NotSupportedError",e}throw e})),i=await r.exportKey("jwk",n.publicKey);if((await r.exportKey("jwk",n.privateKey)).x!==i.x){const e=new Error("Unexpected mismatching public point");throw e.name="NotSupportedError",e}const s=Dn(e,t),a=await r.importKey("jwk",s,"X25519",!1,[]),o=await r.deriveBits({name:"X25519",public:a},n.privateKey,8*Cn(e));return{sharedSecret:new Uint8Array(o),ephemeralPublicKey:new Uint8Array(G(i.x))}}catch(r){if("NotSupportedError"!==r.name)throw r;const n=ye(Cn(e)),i=Ze.scalarMult(n,t);Pn(i);const{publicKey:s}=Ze.box.keyPair.fromSecretKey(n);return{ephemeralPublicKey:s,sharedSecret:i}}case N.publicKey.x448:{const e=await _.getNobleCurve(N.publicKey.x448),r=e.utils.randomPrivateKey(),n=e.getSharedSecret(r,t);return Pn(n),{ephemeralPublicKey:e.getPublicKey(r),sharedSecret:n}}default:throw new Error("Unsupported ECDH algorithm")}}async function xn(e,t,r,n){switch(e){case N.publicKey.x25519:try{const i=_.getWebCrypto(),s=function(e,t,r){if(e===N.publicKey.x25519){const n=Dn(e,t);return n.d=V(r),n}throw new Error("Unsupported ECDH algorithm")}(e,r,n),a=Dn(e,t),o=await i.importKey("jwk",s,"X25519",!1,["deriveKey","deriveBits"]),c=await i.importKey("jwk",a,"X25519",!1,[]),u=await i.deriveBits({name:"X25519",public:c},o,8*Cn(e));return new Uint8Array(u)}catch(e){if("NotSupportedError"!==e.name)throw e;const r=Ze.scalarMult(n,t);return Pn(r),r}case N.publicKey.x448:{const e=(await _.getNobleCurve(N.publicKey.x448)).getSharedSecret(n,t);return Pn(e),e}default:throw new Error("Unsupported ECDH algorithm")}}function Pn(e){let t=0;for(let r=0;r0===s[0]&&Yn(a,r,s.subarray(1),i);if(n&&!_.isStream(n))switch(a.type){case"web":try{const e=await async function(e,t,{r,s:n},i,s){const a=zn(e.payloadSize,On[e.name],s),o=await Vn.importKey("jwk",a,{name:"ECDSA",namedCurve:On[e.name],hash:{name:N.read(N.webHash,e.hash)}},!1,["verify"]),c=_.concatUint8Array([r,n]).buffer;return Vn.verify({name:"ECDSA",namedCurve:On[e.name],hash:{name:N.read(N.webHash,t)}},o,c,i)}(a,t,r,n,i);return e||o()}catch(e){if("nistP521"!==a.name&&("DataError"===e.name||"OperationError"===e.name))throw e;_.printDebugError("Browser did not support verifying: "+e.message)}break;case"node":{const e=await async function(e,t,{r,s:n},i,s){const a=_.nodeRequire("eckey-utils"),o=_.getNodeBuffer(),{publicKey:c}=a.generateDer({curveName:Rn[e.name],publicKey:o.from(s)}),u=Jn.createVerify(N.read(N.hash,t));u.write(i),u.end();const l=_.concatUint8Array([r,n]);try{return u.verify({key:c,format:"der",type:"spki",dsaEncoding:"ieee-p1363"},l)}catch(e){return!1}}(a,t,r,n,i);return e||o()}}return await Yn(a,r,s,i)||o()}async function Yn(e,t,r,n){return(await _.getNobleCurve(N.publicKey.ecdsa,e.name)).verify(_.concatUint8Array([t.r,t.s]),r,n,{lowS:!1})}var Zn=Object.freeze({__proto__:null,sign:$n,validateParams:async function(e,t,r){const n=new Ln(e);if(n.keyType!==N.publicKey.ecdsa)return!1;switch(n.type){case"web":case"node":{const n=ye(8),i=N.hash.sha256,s=await Re(i,n);try{const a=await $n(e,i,n,t,r,s);return await Wn(e,i,a,n,t,s)}catch(e){return!1}}default:return Qn(N.publicKey.ecdsa,e,t,r)}},verify:Wn});async function Xn(e,t,r,n,i,s){if(jn(new Ln(e),n),Ne(t)0){const r=e[t-1];if(r>=1){const n=e.subarray(t-r),i=new Uint8Array(r).fill(r);if(_.equalsUint8Array(n,i))return e.subarray(0,t-r)}}throw new Error("Invalid padding")}const ii=_.getWebCrypto(),si=_.getNodeCrypto();function ai(e,t,r,n){return _.concatUint8Array([t.write(),new Uint8Array([e]),r.write(),_.stringToUint8Array("Anonymous Sender "),n])}async function oi(e,t,r,n,i=!1,s=!1){let a;if(i){for(a=0;a=0&&0===t[a];a--);t=t.subarray(0,a+1)}return(await Re(e,_.concatUint8Array([new Uint8Array([0,0,0,1]),t,n]))).subarray(0,r)}async function ci(e,t,r,n,i){const s=function(e){const t=8-e.length%8,r=new Uint8Array(e.length+t).fill(t);return r.set(e),r}(r),a=new Ln(e);jn(a,n);const{publicKey:o,sharedKey:c}=await async function(e,t){switch(e.type){case"curve25519Legacy":{const{sharedSecret:r,ephemeralPublicKey:n}=await Bn(N.publicKey.x25519,t.subarray(1));return{publicKey:_.concatUint8Array([new Uint8Array([e.wireFormatLeadingByte]),n]),sharedKey:r}}case"web":if(e.web&&_.getWebCrypto())try{return await async function(e,t){const r=zn(e.payloadSize,e.web,t);let n=ii.generateKey({name:"ECDH",namedCurve:e.web},!0,["deriveKey","deriveBits"]),i=ii.importKey("jwk",r,{name:"ECDH",namedCurve:e.web},!1,[]);[n,i]=await Promise.all([n,i]);let s=ii.deriveBits({name:"ECDH",namedCurve:e.web,public:i},n.privateKey,e.sharedSize),a=ii.exportKey("jwk",n.publicKey);[s,a]=await Promise.all([s,a]);const o=new Uint8Array(s);return{publicKey:new Uint8Array(qn(a,e.wireFormatLeadingByte)),sharedKey:o}}(e,t)}catch(r){return _.printDebugError(r),hi(e,t)}break;case"node":return async function(e,t){const r=si.createECDH(e.node);r.generateKeys();const n=new Uint8Array(r.computeSecret(t));return{publicKey:new Uint8Array(r.getPublicKey()),sharedKey:n}}(e,t);default:return hi(e,t)}}(a,n),u=ai(N.publicKey.ecdh,e,t,i),{keySize:l}=gn(t.cipher),h=await oi(t.hash,c,l,u);return{publicKey:o,wrappedKey:await mn(t.cipher,h,s)}}async function ui(e,t,r,n,i,s,a){const o=new Ln(e);jn(o,i),jn(o,r);const{sharedKey:c}=await async function(e,t,r,n){if(n.length!==e.payloadSize){const t=new Uint8Array(e.payloadSize);t.set(n,e.payloadSize-n.length),n=t}switch(e.type){case"curve25519Legacy":{const e=n.slice().reverse();return{secretKey:e,sharedKey:await xn(N.publicKey.x25519,t.subarray(1),r.subarray(1),e)}}case"web":if(e.web&&_.getWebCrypto())try{return await async function(e,t,r,n){const i=Gn(e.payloadSize,e.web,r,n);let s=ii.importKey("jwk",i,{name:"ECDH",namedCurve:e.web},!0,["deriveKey","deriveBits"]);const a=zn(e.payloadSize,e.web,t);let o=ii.importKey("jwk",a,{name:"ECDH",namedCurve:e.web},!0,[]);[s,o]=await Promise.all([s,o]);let c=ii.deriveBits({name:"ECDH",namedCurve:e.web,public:o},s,e.sharedSize),u=ii.exportKey("jwk",s);[c,u]=await Promise.all([c,u]);const l=new Uint8Array(c);return{secretKey:G(u.d),sharedKey:l}}(e,t,r,n)}catch(r){return _.printDebugError(r),li(e,t,n)}break;case"node":return async function(e,t,r){const n=si.createECDH(e.node);n.setPrivateKey(r);const i=new Uint8Array(n.computeSecret(t));return{secretKey:new Uint8Array(n.getPrivateKey()),sharedKey:i}}(e,t,n);default:return li(e,t,n)}}(o,r,i,s),u=ai(N.publicKey.ecdh,e,t,a),{keySize:l}=gn(t.cipher);let h;for(let e=0;e<3;e++)try{const r=await oi(t.hash,c,l,u,1===e,2===e);return ni(await wn(t.cipher,r,n))}catch(e){h=e}throw h}async function li(e,t,r){return{secretKey:r,sharedKey:(await _.getNobleCurve(N.publicKey.ecdh,e.name)).getSharedSecret(r,t).subarray(1)}}async function hi(e,t){const r=await _.getNobleCurve(N.publicKey.ecdh,e.name),{publicKey:n,privateKey:i}=await e.genKeyPair();return{publicKey:n,sharedKey:r.getSharedSecret(i,t).subarray(1)}}var fi=Object.freeze({__proto__:null,decrypt:ui,encrypt:ci,validateParams:async function(e,t,r){return Qn(N.publicKey.ecdh,e,t,r)}}),pi=Object.freeze({__proto__:null,CurveWithOID:Ln,ecdh:fi,ecdhX:Tn,ecdsa:Zn,eddsa:or,eddsaLegacy:ri,generate:Fn,getPreferredHashAlgo:_n});const di=BigInt(0),gi=BigInt(1);class yi{constructor(e){e&&(this.data=e)}read(e){if(e.length>=1){const t=e[0];if(e.length>=1+t)return this.data=e.subarray(1,1+t),1+this.data.length}throw new Error("Invalid symmetric key")}write(){return _.concatUint8Array([new Uint8Array([this.data.length]),this.data])}}class mi{constructor(e){if(e){const{hash:t,cipher:r}=e;this.hash=t,this.cipher=r}else this.hash=null,this.cipher=null}read(e){if(e.length<4||3!==e[0]||1!==e[1])throw new $t("Cannot read KDFParams");return this.hash=e[2],this.cipher=e[3],4}write(){return new Uint8Array([3,1,this.hash,this.cipher])}}class wi{static fromObject({wrappedKey:e,algorithm:t}){const r=new wi;return r.wrappedKey=e,r.algorithm=t,r}read(e){let t=0,r=e[t++];this.algorithm=r%2?e[t++]:null,r-=r%2,this.wrappedKey=_.readExactSubarray(e,t,t+r),t+=r}write(){return _.concatUint8Array([this.algorithm?new Uint8Array([this.wrappedKey.length+1,this.algorithm]):new Uint8Array([this.wrappedKey.length]),this.wrappedKey])}}async function bi(e,t,r,n,i,s){switch(e){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:{const{c:e}=n,{n:i,e:a}=t,{d:o,p:c,q:u,u:l}=r;return async function(e,t,r,n,i,s,a,o){if(_.getNodeCrypto()&&!o)try{return await async function(e,t,r,n,i,s,a){const o={key:await Ve(t,r,n,i,s,a),format:"jwk",type:"pkcs1",padding:He.constants.RSA_PKCS1_PADDING};try{return new Uint8Array(He.privateDecrypt(o,e))}catch(e){throw new Error("Decryption error")}}(e,t,r,n,i,s,a)}catch(e){_.printDebugError(e)}return async function(e,t,r,n,i,s,a,o){if(e=se(e),t=se(t),r=se(r),n=se(n),i=se(i),s=se(s),a=se(a),e>=t)throw new Error("Data too large.");const c=ae(n,s-qe),u=ae(n,i-qe),l=me(BigInt(2),t),h=oe(ue(l,t),r,t),f=oe(e=ae(e*h,t),u,i);let p=ae(a*(oe(e,c,s)-f),s)*i+f;return p=ae(p*l,t),_e(de(p,"be",pe(t)),o)}(e,t,r,n,i,s,a,o)}(e,i,a,o,c,u,l,s)}case N.publicKey.elgamal:{const{c1:e,c2:i}=n;return async function(e,t,r,n,i){return e=se(e),t=se(t),r=se(r),_e(de(ae(ue(oe(e,n=se(n),r),r)*t,r),"be",pe(r)),i)}(e,i,t.p,r.x,s)}case N.publicKey.ecdh:{const{oid:e,Q:s,kdfParams:a}=t,{d:o}=r,{V:c,C:u}=n;return ui(e,a,c,u.data,s,o,i)}case N.publicKey.x25519:case N.publicKey.x448:{const{A:i}=t,{k:s}=r,{ephemeralPublicKey:a,C:o}=n;if(null!==o.algorithm&&!_.isAES(o.algorithm))throw new Error("AES session key expected");return In(e,a,o.wrappedKey,i,s)}default:throw new Error("Unknown public key encryption algorithm.")}}function Ai(e,t,r){let n=0;switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:{const e=_.readMPI(t.subarray(n));n+=e.length+2;const r=_.readMPI(t.subarray(n));n+=r.length+2;const i=_.readMPI(t.subarray(n));n+=i.length+2;const s=_.readMPI(t.subarray(n));return n+=s.length+2,{read:n,privateParams:{d:e,p:r,q:i,u:s}}}case N.publicKey.dsa:case N.publicKey.elgamal:{const e=_.readMPI(t.subarray(n));return n+=e.length+2,{read:n,privateParams:{x:e}}}case N.publicKey.ecdsa:case N.publicKey.ecdh:{const i=Si(e,r.oid);let s=_.readMPI(t.subarray(n));return n+=s.length+2,s=_.leftPad(s,i),{read:n,privateParams:{d:s}}}case N.publicKey.eddsaLegacy:{const i=Si(e,r.oid);if(r.oid.getName()!==N.curve.ed25519Legacy)throw new Error("Unexpected OID for eddsaLegacy");let s=_.readMPI(t.subarray(n));return n+=s.length+2,s=_.leftPad(s,i),{read:n,privateParams:{seed:s}}}case N.publicKey.ed25519:case N.publicKey.ed448:{const r=Si(e),i=_.readExactSubarray(t,n,n+r);return n+=i.length,{read:n,privateParams:{seed:i}}}case N.publicKey.x25519:case N.publicKey.x448:{const r=Si(e),i=_.readExactSubarray(t,n,n+r);return n+=i.length,{read:n,privateParams:{k:i}}}default:throw new $t("Unknown public key encryption algorithm.")}}function vi(e,t){const r=new Set([N.publicKey.ed25519,N.publicKey.x25519,N.publicKey.ed448,N.publicKey.x448]),n=Object.keys(t).map((n=>{const i=t[n];return _.isUint8Array(i)?r.has(e)?i:_.uint8ArrayToMPI(i):i.write()}));return _.concatUint8Array(n)}function Ei(e){const{keySize:t}=gn(e);return ye(t)}function ki(e){try{e.getName()}catch(e){throw new $t("Unknown curve OID")}}function Si(e,t){switch(e){case N.publicKey.ecdsa:case N.publicKey.ecdh:case N.publicKey.eddsaLegacy:return new Ln(t).payloadSize;case N.publicKey.ed25519:case N.publicKey.ed448:return nr(e);case N.publicKey.x25519:case N.publicKey.x448:return Cn(e);default:throw new Error("Unknown elliptic algo")}}const Ii=_.getWebCrypto(),Ci=_.getNodeCrypto(),Bi=Ci?Ci.getCiphers():[],xi={idea:Bi.includes("idea-cfb")?"idea-cfb":void 0,tripledes:Bi.includes("des-ede3-cfb")?"des-ede3-cfb":void 0,cast5:Bi.includes("cast5-cfb")?"cast5-cfb":void 0,blowfish:Bi.includes("bf-cfb")?"bf-cfb":void 0,aes128:Bi.includes("aes-128-cfb")?"aes-128-cfb":void 0,aes192:Bi.includes("aes-192-cfb")?"aes-192-cfb":void 0,aes256:Bi.includes("aes-256-cfb")?"aes-256-cfb":void 0};async function Pi(e){const{blockSize:t}=gn(e),r=await ye(t),n=new Uint8Array([r[r.length-2],r[r.length-1]]);return _.concat([r,n])}async function Di(e,t,r,n,i){const s=N.read(N.symmetric,e);if(_.getNodeCrypto()&&xi[s])return function(e,t,r,n){const i=N.read(N.symmetric,e),s=new Ci.createCipheriv(xi[i],t,n);return S(r,(e=>new Uint8Array(s.update(e))))}(e,t,r,n);if(_.isAES(e))return async function(e,t,r,n){if(Ii&&await Ui.isSupported(e)){const i=new Ui(e,t,n);return _.isStream(r)?S(r,(e=>i.encryptChunk(e)),(()=>i.finish())):i.encrypt(r)}if(_.isStream(r)){const i=new Ki(!0,e,t,n);return S(r,(e=>i.processChunk(e)),(()=>i.finish()))}return rn(t,n).encrypt(r)}(e,t,r,n);const a=new(await fn(e))(t),o=a.blockSize,c=n.slice();let u=new Uint8Array;const l=e=>{e&&(u=_.concatUint8Array([u,e]));const t=new Uint8Array(u.length);let r,n=0;for(;e?u.length>=o:u.length;){const e=a.encrypt(c);for(r=0;rnew Uint8Array(s.update(e))))}(e,t,r,n);if(_.isAES(e))return async function(e,t,r,n){if(_.isStream(r)){const i=new Ki(!1,e,t,n);return S(r,(e=>i.processChunk(e)),(()=>i.finish()))}return rn(t,n).decrypt(r)}(e,t,r,n);const s=new(await fn(e))(t),a=s.blockSize;let o=n,c=new Uint8Array;const u=e=>{e&&(c=_.concatUint8Array([c,e]));const t=new Uint8Array(c.length);let r,n=0;for(;e?c.length>=a:c.length;){const e=s.encrypt(o);for(o=c.subarray(0,a),r=0;r!0),(()=>!1))}async _runCBC(e,t){const r="AES-CBC";this.keyRef=this.keyRef||await Ii.importKey("raw",this.key,r,!1,["encrypt"]);const n=await Ii.encrypt({name:r,iv:t||this.zeroBlock},this.keyRef,e);return new Uint8Array(n).subarray(0,e.length)}async encryptChunk(e){const t=this.nextBlock.length-this.i,r=e.subarray(0,t);if(this.nextBlock.set(r,this.i),this.i+e.length>=2*this.blockSize){const r=(e.length-t)%this.blockSize,n=_.concatUint8Array([this.nextBlock,e.subarray(t,e.length-r)]),i=_.concatUint8Array([this.prevBlock,n.subarray(0,n.length-this.blockSize)]),s=await this._runCBC(i);return Oi(s,n),this.prevBlock=s.slice(-this.blockSize),r>0&&this.nextBlock.set(e.subarray(-r)),this.i=r,s}let n;if(this.i+=r.length,this.i===this.nextBlock.length){const t=this.nextBlock;n=await this._runCBC(this.prevBlock),Oi(n,t),this.prevBlock=n.slice(),this.i=0;const i=e.subarray(r.length);this.nextBlock.set(i,this.i),this.i+=i.length}else n=new Uint8Array;return n}async finish(){let e;if(0===this.i)e=new Uint8Array;else{this.nextBlock=this.nextBlock.subarray(0,this.i);const t=this.nextBlock,r=await this._runCBC(this.prevBlock);Oi(r,t),e=r.subarray(0,t.length)}return this.clearSensitiveData(),e}clearSensitiveData(){this.nextBlock.fill(0),this.prevBlock.fill(0),this.keyRef=null,this.key=null}async encrypt(e){const t=(await this._runCBC(_.concatUint8Array([new Uint8Array(this.blockSize),e]),this.iv)).subarray(0,e.length);return Oi(t,e),this.clearSensitiveData(),t}}class Ki{constructor(e,t,r,n){this.forEncryption=e;const{blockSize:i}=gn(t);this.key=hn.expandKeyLE(r),n.byteOffset%4!=0&&(n=n.slice()),this.prevBlock=Mi(n),this.nextBlock=new Uint8Array(i),this.i=0,this.blockSize=i}_runCFB(e){const t=Mi(e),r=new Uint8Array(e.length),n=Mi(r);for(let e=0;e+4<=n.length;e+=4){const{s0:r,s1:i,s2:s,s3:a}=hn.encrypt(this.key,this.prevBlock[0],this.prevBlock[1],this.prevBlock[2],this.prevBlock[3]);n[e+0]=t[e+0]^r,n[e+1]=t[e+1]^i,n[e+2]=t[e+2]^s,n[e+3]=t[e+3]^a,this.prevBlock=(this.forEncryption?n:t).slice(e,e+4)}return r}async processChunk(e){const t=this.nextBlock.length-this.i,r=e.subarray(0,t);if(this.nextBlock.set(r,this.i),this.i+e.length>=2*this.blockSize){const r=(e.length-t)%this.blockSize,n=_.concatUint8Array([this.nextBlock,e.subarray(t,e.length-r)]),i=this._runCFB(n);return r>0&&this.nextBlock.set(e.subarray(-r)),this.i=r,i}let n;if(this.i+=r.length,this.i===this.nextBlock.length){n=this._runCFB(this.nextBlock),this.i=0;const t=e.subarray(r.length);this.nextBlock.set(t,this.i),this.i+=t.length}else n=new Uint8Array;return n}async finish(){let e;return e=0===this.i?new Uint8Array:this._runCFB(this.nextBlock).subarray(0,this.i),this.clearSensitiveData(),e}clearSensitiveData(){this.nextBlock.fill(0),this.prevBlock.fill(0),this.key.fill(0)}}function Oi(e,t){const r=Math.min(e.length,t.length);for(let n=0;nnew Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),Ri=_.getWebCrypto(),Ni=_.getNodeCrypto(),Li=16;function Fi(e,t){const r=e.length-Li;for(let n=0;ntn(t,ts,{disablePadding:!0}).encrypt(e),s=e=>tn(t,ts,{disablePadding:!0}).decrypt(e);let a;function o(e,t,r,s){const o=t.length/Yi|0;!function(e,t){const r=_.nbits(Math.max(e.length,t.length)/Yi|0)-1;for(let e=n+1;e<=r;e++)a[e]=_.double(a[e-1]);n=r}(t,s);const c=_.concatUint8Array([ts.subarray(0,15-r.length),rs,r]),u=63&c[15];c[15]&=192;const l=i(c),h=_.concatUint8Array([l,es(l.subarray(0,8),l.subarray(1,9))]),f=_.shiftRight(h.subarray(0+(u>>3),17+(u>>3)),8-(7&u)).subarray(1),p=new Uint8Array(Yi),d=new Uint8Array(t.length+16);let g,y=0;for(g=0;g=r)throw new Error("Signature size cannot exceed modulus size");const s=de(oe(t,n,r),"be",pe(r)),a=Qe(e,i,pe(r));return _.equalsUint8Array(s,a)}(e,r,n,i,s)}(t,i,_.leftPad(r.s,e.length),e,a,s)}case N.publicKey.dsa:{const{g:e,p:t,q:i,y:a}=n,{r:o,s:c}=r;return async function(e,t,r,n,i,s,a,o){if(t=se(t),r=se(r),s=se(s),a=se(a),i=se(i),o=se(o),t<=di||t>=a||r<=di||r>=a)return _.printDebug("invalid DSA Signature"),!1;const c=ae(se(n.subarray(0,pe(a))),a),u=ue(r,a);if(u===di)return _.printDebug("invalid DSA Signature"),!1;i=ae(i,s),o=ae(o,s);const l=ae(c*u,a),h=ae(t*u,a);return ae(ae(oe(i,l,s)*oe(o,h,s),s),a)===t}(0,o,c,s,e,t,i,a)}case N.publicKey.ecdsa:{const{oid:e,Q:a}=n,o=new Ln(e).payloadSize;return Wn(e,t,{r:_.leftPad(r.r,o),s:_.leftPad(r.s,o)},i,a,s)}case N.publicKey.eddsaLegacy:{const{oid:e,Q:i}=n,a=new Ln(e).payloadSize;return ei(e,t,{r:_.leftPad(r.r,a),s:_.leftPad(r.s,a)},0,i,s)}case N.publicKey.ed25519:case N.publicKey.ed448:{const{A:i}=n;return tr(e,t,r,0,i,s)}default:throw new Error("Unknown signature algorithm.")}}cs.getNonce=function(e,t){const r=e.slice();for(let e=0;e1048576&&(ps=fs(),ps.catch((()=>{}))),n}catch(e){throw e.message&&(e.message.includes("Unable to grow instance memory")||e.message.includes("failed to grow memory")||e.message.includes("WebAssembly.Memory.grow")||e.message.includes("Out of memory"))?new hs("Could not allocate required memory for Argon2"):e}}}class gs{constructor(e,t=L){this.algorithm=N.hash.sha256,this.type=N.read(N.s2k,e),this.c=t.s2kIterationCountByte,this.salt=null}generateSalt(){switch(this.type){case"salted":case"iterated":this.salt=ye(8)}}getCount(){return 16+(15&this.c)<<6+(this.c>>4)}read(e){let t=0;switch(this.algorithm=e[t++],this.type){case"simple":break;case"salted":this.salt=e.subarray(t,t+8),t+=8;break;case"iterated":this.salt=e.subarray(t,t+8),t+=8,this.c=e[t++];break;case"gnu":if("GNU"!==_.uint8ArrayToString(e.subarray(t,t+3)))throw new $t("Unknown s2k type.");if(t+=3,1001!==1e3+e[t++])throw new $t("Unknown s2k gnu protection mode.");this.type="gnu-dummy";break;default:throw new $t("Unknown s2k type.")}return t}write(){if("gnu-dummy"===this.type)return new Uint8Array([101,0,..._.stringToUint8Array("GNU"),1]);const e=[new Uint8Array([N.write(N.s2k,this.type),this.algorithm])];switch(this.type){case"simple":break;case"salted":e.push(this.salt);break;case"iterated":e.push(this.salt),e.push(new Uint8Array([this.c]));break;case"gnu":throw new Error("GNU s2k type not supported.");default:throw new Error("Unknown s2k type.")}return _.concatUint8Array(e)}async produceKey(e,t){e=_.encodeUTF8(e);const r=[];let n=0,i=0;for(;n>1|(21845&Ks)<<1;Os=(61680&(Os=(52428&Os)>>2|(13107&Os)<<2))>>4|(3855&Os)<<4,Us[Ks]=((65280&Os)>>8|(255&Os)<<8)>>1}var Ms=function(e,t,r){for(var n=e.length,i=0,s=new As(t);i>c]=u}else for(a=new As(n),i=0;i>15-e[i]);return a},Rs=new bs(288);for(Ks=0;Ks<144;++Ks)Rs[Ks]=8;for(Ks=144;Ks<256;++Ks)Rs[Ks]=9;for(Ks=256;Ks<280;++Ks)Rs[Ks]=7;for(Ks=280;Ks<288;++Ks)Rs[Ks]=8;var Ns=new bs(32);for(Ks=0;Ks<32;++Ks)Ns[Ks]=5;var Ls=Ms(Rs,9,0),Fs=Ms(Rs,9,1),_s=Ms(Ns,5,0),Qs=Ms(Ns,5,1),js=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},Hs=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},qs=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},zs=function(e){return(e+7)/8|0},Gs=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new bs(e.subarray(t,r))},Vs=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Js=function(e,t,r){var n=new Error(t||Vs[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,Js),!r)throw n;return n},$s=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},Ws=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},Ys=function(e,t){for(var r=[],n=0;nf&&(f=s[n].s);var p=new As(f+1),d=Zs(r[l-1],p,0);if(d>t){n=0;var g=0,y=d-t,m=1<t))break;g+=m-(1<>=y;g>0;){var b=s[n].s;p[b]=0&&g;--n){var A=s[n].s;p[A]==t&&(--p[A],++g)}d=t}return{t:new bs(p),l:d}},Zs=function(e,t,r){return-1==e.s?Math.max(Zs(e.l,t,r+1),Zs(e.r,t,r+1)):t[e.s]=r},Xs=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new As(++t),n=0,i=e[0],s=1,a=function(e){r[n++]=e},o=1;o<=t;++o)if(e[o]==i&&o!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(i),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(i);s=1,i=e[o]}return{c:r.subarray(0,n),n:t}},ea=function(e,t){for(var r=0,n=0;n>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var s=0;s4&&!C[Ss[x-1]];--x);var P,D,T,U,K=u+5<<3,O=ea(i,Rs)+ea(s,Ns)+a,M=ea(i,f)+ea(s,g)+a+14+3*x+ea(k,C)+2*k[16]+3*k[17]+7*k[18];if(c>=0&&K<=O&&K<=M)return ta(t,l,e.subarray(c,c+u));if($s(t,l,1+(M15&&($s(t,l,F[S]>>5&127),l+=F[S]>>12)}}}else P=Ls,D=Rs,T=_s,U=Ns;for(S=0;S255){Ws(t,l,P[257+(_=Q>>18&31)]),l+=D[_+257],_>7&&($s(t,l,Q>>23&31),l+=Es[_]);var j=31&Q;Ws(t,l,T[j]),l+=U[j],j>3&&(Ws(t,l,Q>>5&8191),l+=ks[j])}else Ws(t,l,P[Q]),l+=D[Q]}return Ws(t,l,P[256]),l+D[256]},na=new vs([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ia=new bs(0),sa=function(){var e=1,t=0;return{p:function(r){for(var n=e,i=t,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a>16),i=(65535&i)+15*(i>>16)}e=n,t=i},d:function(){return(255&(e%=65521))<<24|(65280&e)<<8|(255&(t%=65521))<<8|t>>8}}},aa=function(e,t,r,n,i){if(!i&&(i={l:1},t.dictionary)){var s=t.dictionary.subarray(-32768),a=new bs(s.length+e.length);a.set(s),a.set(e,s.length),e=a,i.w=s.length}return function(e,t,r,n,i,s){var a=s.z||e.length,o=new bs(n+a+5*(1+Math.ceil(a/7e3))+i),c=o.subarray(n,o.length-i),u=s.l,l=7&(s.r||0);if(t){l&&(c[0]=s.r>>3);for(var h=na[t-1],f=h>>13,p=8191&h,d=(1<7e3||C>24576)&&(U>423||!u)){l=ra(e,c,0,A,v,E,S,C,x,I-x,l),C=k=S=0,x=I;for(var K=0;K<286;++K)v[K]=0;for(K=0;K<30;++K)E[K]=0}var O=2,M=0,R=p,N=D-T&32767;if(U>2&&P==b(I-N))for(var L=Math.min(f,U)-1,F=Math.min(32767,I),_=Math.min(258,U);N<=F&&--R&&D!=T;){if(e[I+O]==e[I+O-N]){for(var Q=0;Q<_&&e[I+Q]==e[I+Q-N];++Q);if(Q>O){if(O=Q,M=N,Q>L)break;var j=Math.min(N,Q-2),H=0;for(K=0;KH&&(H=z,T=q)}}}N+=(D=T)-(T=g[D])&32767}if(M){A[C++]=268435456|xs[O]<<18|Ts[M];var G=31&xs[O],V=31&Ts[M];S+=Es[G]+ks[V],++v[257+G],++E[V],B=I+O,++k}else A[C++]=e[I],++v[e[I]]}}for(I=Math.max(I,B);I=a&&(c[l/8|0]=u,J=a),l=ta(c,l+1,e.subarray(I,J))}s.i=a}return Gs(o,0,n+zs(l)+i)}(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,n,i)},oa=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},ca=function(){function e(e,t){if("function"==typeof e&&(t=e,e={}),this.ondata=t,this.o=e||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new bs(98304),this.o.dictionary){var r=this.o.dictionary.subarray(-32768);this.b.set(r,32768-r.length),this.s.i=32768-r.length}}return e.prototype.p=function(e,t){this.ondata(aa(e,this.o,0,0,this.s),t)},e.prototype.push=function(e,t){this.ondata||Js(5),this.s.l&&Js(4);var r=e.length+this.s.z;if(r>this.b.length){if(r>2*this.b.length-32768){var n=new bs(-32768&r);n.set(this.b.subarray(0,this.s.z)),this.b=n}var i=this.b.length-this.s.z;this.b.set(e.subarray(0,i),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(e.subarray(i),32768),this.s.z=e.length-i+32768,this.s.i=32766,this.s.w=32768}else this.b.set(e,this.s.z),this.s.z+=e.length;this.s.l=1&t,(this.s.z>this.s.w+8191||t)&&(this.p(this.b,t||!1),this.s.w=this.s.i,this.s.i-=2)},e.prototype.flush=function(){this.ondata||Js(5),this.s.l&&Js(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},e}(),ua=function(){function e(e,t){"function"==typeof e&&(t=e,e={}),this.ondata=t;var r=e&&e.dictionary&&e.dictionary.subarray(-32768);this.s={i:0,b:r?r.length:0},this.o=new bs(32768),this.p=new bs(0),r&&this.o.set(r)}return e.prototype.e=function(e){if(this.ondata||Js(5),this.d&&Js(4),this.p.length){if(e.length){var t=new bs(this.p.length+e.length);t.set(this.p),t.set(e,this.p.length),this.p=t}}else this.p=e},e.prototype.c=function(e){this.s.i=+(this.d=e||!1);var t=this.s.b,r=function(e,t,r){var n=e.length;if(!n||t.f&&!t.l)return r||new bs(0);var i=!r,s=i||2!=t.i,a=t.i;i&&(r=new bs(3*n));var o=function(e){var t=r.length;if(e>t){var n=new bs(Math.max(2*t,e));n.set(r),r=n}},c=t.f||0,u=t.p||0,l=t.b||0,h=t.l,f=t.d,p=t.m,d=t.n,g=8*n;do{if(!h){c=Hs(e,u,1);var y=Hs(e,u+1,3);if(u+=3,!y){var m=e[(x=zs(u)+4)-4]|e[x-3]<<8,w=x+m;if(w>n){a&&Js(0);break}s&&o(l+m),r.set(e.subarray(x,w),l),t.b=l+=m,t.p=u=8*w,t.f=c;continue}if(1==y)h=Fs,f=Qs,p=9,d=5;else if(2==y){var b=Hs(e,u,31)+257,A=Hs(e,u+10,15)+4,v=b+Hs(e,u+5,31)+1;u+=14;for(var E=new bs(v),k=new bs(19),S=0;S>4)<16)E[S++]=x;else{var D=0,T=0;for(16==x?(T=3+Hs(e,u,3),u+=2,D=E[S-1]):17==x?(T=3+Hs(e,u,7),u+=3):18==x&&(T=11+Hs(e,u,127),u+=7);T--;)E[S++]=D}}var U=E.subarray(0,b),K=E.subarray(b);p=js(U),d=js(K),h=Ms(U,p,1),f=Ms(K,d,1)}else Js(1);if(u>g){a&&Js(0);break}}s&&o(l+131072);for(var O=(1<>4;if((u+=15&D)>g){a&&Js(0);break}if(D||Js(2),N<256)r[l++]=N;else{if(256==N){R=u,h=null;break}var L=N-254;if(N>264){var F=Es[S=N-257];L=Hs(e,u,(1<>4;if(_||Js(3),u+=15&_,K=Ds[Q],Q>3&&(F=ks[Q],K+=qs(e,u)&(1<g){a&&Js(0);break}s&&o(l+131072);var j=l+L;if(l>4>7||(r[0]<<8|r[1])%31)&&Js(6,"invalid zlib data"),(r[1]>>5&1)==+!n&&Js(6,"invalid zlib data: "+(32&r[1]?"need":"unexpected")+" dictionary"),2+(r[1]>>3&4))),this.v=0}var r,n;t&&(this.p.length<4&&Js(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),ua.prototype.c.call(this,t)},e}(),fa="undefined"!=typeof TextDecoder&&new TextDecoder;try{fa.decode(ia,{stream:!0})}catch(e){}class pa{static get tag(){return N.packet.literalData}constructor(e=new Date){this.format=N.literal.utf8,this.date=_.normalizeDate(e),this.text=null,this.data=null,this.filename=""}setText(e,t=N.literal.utf8){this.format=t,this.text=e,this.data=null}getText(e=!1){return(null===this.text||_.isStream(this.text))&&(this.text=_.decodeUTF8(_.nativeEOL(this.getBytes(e)))),this.text}setBytes(e,t){this.format=t,this.data=e,this.text=null}getBytes(e=!1){return null===this.data&&(this.data=_.canonicalizeEOL(_.encodeUTF8(this.text))),e?x(this.data):this.data}setFilename(e){this.filename=e}getFilename(){return this.filename}async read(e){await C(e,(async e=>{const t=await e.readByte(),r=await e.readByte();this.filename=_.decodeUTF8(await e.readBytes(r)),this.date=_.readDate(await e.readBytes(4));let n=e.remainder();l(n)&&(n=await T(n)),this.setBytes(n,t)}))}writeHeader(){const e=_.encodeUTF8(this.filename),t=new Uint8Array([e.length]),r=new Uint8Array([this.format]),n=_.writeDate(this.date);return _.concatUint8Array([r,t,e,n])}write(){const e=this.writeHeader(),t=this.getBytes();return _.concat([e,t])}}class da{constructor(){this.bytes=""}read(e){return this.bytes=_.uint8ArrayToString(e.subarray(0,8)),this.bytes.length}write(){return _.stringToUint8Array(this.bytes)}toHex(){return _.uint8ArrayToHex(_.stringToUint8Array(this.bytes))}equals(e,t=!1){return t&&(e.isWildcard()||this.isWildcard())||this.bytes===e.bytes}isNull(){return""===this.bytes}isWildcard(){return/^0+$/.test(this.toHex())}static mapToHex(e){return e.toHex()}static fromID(e){const t=new da;return t.read(_.hexToUint8Array(e)),t}static wildcard(){const e=new da;return e.read(new Uint8Array(8)),e}}const ga=Symbol("verified"),ya="salt@notations.openpgpjs.org",ma=new Set([N.signatureSubpacket.issuerKeyID,N.signatureSubpacket.issuerFingerprint,N.signatureSubpacket.embeddedSignature]);class wa{static get tag(){return N.packet.signature}constructor(){this.version=null,this.signatureType=null,this.hashAlgorithm=null,this.publicKeyAlgorithm=null,this.signatureData=null,this.unhashedSubpackets=[],this.unknownSubpackets=[],this.signedHashValue=null,this.salt=null,this.created=null,this.signatureExpirationTime=null,this.signatureNeverExpires=!0,this.exportable=null,this.trustLevel=null,this.trustAmount=null,this.regularExpression=null,this.revocable=null,this.keyExpirationTime=null,this.keyNeverExpires=null,this.preferredSymmetricAlgorithms=null,this.revocationKeyClass=null,this.revocationKeyAlgorithm=null,this.revocationKeyFingerprint=null,this.issuerKeyID=new da,this.rawNotations=[],this.notations={},this.preferredHashAlgorithms=null,this.preferredCompressionAlgorithms=null,this.keyServerPreferences=null,this.preferredKeyServer=null,this.isPrimaryUserID=null,this.policyURI=null,this.keyFlags=null,this.signersUserID=null,this.reasonForRevocationFlag=null,this.reasonForRevocationString=null,this.features=null,this.signatureTargetPublicKeyAlgorithm=null,this.signatureTargetHashAlgorithm=null,this.signatureTargetHash=null,this.embeddedSignature=null,this.issuerKeyVersion=null,this.issuerFingerprint=null,this.preferredAEADAlgorithms=null,this.preferredCipherSuites=null,this.revoked=null,this[ga]=null}read(e,t=L){let r=0;if(this.version=e[r++],5===this.version&&!t.enableParsingV5Entities)throw new $t("Support for v5 entities is disabled; turn on `config.enableParsingV5Entities` if needed");if(4!==this.version&&5!==this.version&&6!==this.version)throw new $t(`Version ${this.version} of the signature packet is unsupported.`);if(this.signatureType=e[r++],this.publicKeyAlgorithm=e[r++],this.hashAlgorithm=e[r++],r+=this.readSubPackets(e.subarray(r,e.length),!0),!this.created)throw new Error("Missing signature creation time subpacket.");if(this.signatureData=e.subarray(0,r),r+=this.readSubPackets(e.subarray(r,e.length),!1),this.signedHashValue=e.subarray(r,r+2),r+=2,6===this.version){const t=e[r++];this.salt=e.subarray(r,r+t),r+=t}const n=e.subarray(r,e.length),{read:i,signatureParams:s}=function(e,t){let r=0;switch(e){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.rsaSign:{const e=_.readMPI(t.subarray(r));return r+=e.length+2,{read:r,signatureParams:{s:e}}}case N.publicKey.dsa:case N.publicKey.ecdsa:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,signatureParams:{r:e,s:n}}}case N.publicKey.eddsaLegacy:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,signatureParams:{r:e,s:n}}}case N.publicKey.ed25519:case N.publicKey.ed448:{const n=2*nr(e),i=_.readExactSubarray(t,r,r+n);return r+=i.length,{read:r,signatureParams:{RS:i}}}default:throw new $t("Unknown signature algorithm.")}}(this.publicKeyAlgorithm,n);if(ivi(this.publicKeyAlgorithm,await this.params))):vi(this.publicKeyAlgorithm,this.params)}write(){const e=[];return e.push(this.signatureData),e.push(this.writeUnhashedSubPackets()),e.push(this.signedHashValue),6===this.version&&(e.push(new Uint8Array([this.salt.length])),e.push(this.salt)),e.push(this.writeParams()),_.concat(e)}async sign(e,t,r=new Date,n=!1,i){this.version=e.version,this.created=_.normalizeDate(r),this.issuerKeyVersion=e.version,this.issuerFingerprint=e.getFingerprintBytes(),this.issuerKeyID=e.getKeyID();const s=[new Uint8Array([this.version,this.signatureType,this.publicKeyAlgorithm,this.hashAlgorithm])];if(6===this.version){const e=Aa(this.hashAlgorithm);if(null===this.salt)this.salt=ye(e);else if(e!==this.salt.length)throw new Error("Provided salt does not have the required length")}else if(i.nonDeterministicSignaturesViaNotation){if(0!==this.rawNotations.filter((({name:e})=>e===ya)).length)throw new Error("Unexpected existing salt notation");{const e=ye(Aa(this.hashAlgorithm));this.rawNotations.push({name:ya,value:e,humanReadable:!1,critical:!1})}}s.push(this.writeHashedSubPackets()),this.unhashedSubpackets=[],this.signatureData=_.concat(s);const a=this.toHash(this.signatureType,t,n),o=await this.hash(this.signatureType,t,a,n);this.signedHashValue=D(B(o),0,2);const c=async()=>async function(e,t,r,n,i,s){if(!r||!n)throw new Error("Missing key parameters");switch(e){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.rsaSign:{const{n:e,e:a}=r,{d:o,p:c,q:u,u:l}=n;return{s:await ze(t,i,e,a,o,c,u,l,s)}}case N.publicKey.dsa:{const{g:e,p:t,q:i}=r,{x:a}=n;return async function(e,t,r,n,i,s){const a=BigInt(0);let o,c,u,l;n=se(n),i=se(i),r=se(r),s=se(s),r=ae(r,n),s=ae(s,i);const h=ae(se(t.subarray(0,pe(i))),i);for(;;){if(o=me(gi,i),c=ae(oe(r,o,n),i),c===a)continue;const e=ae(s*c,i);if(l=ae(h+e,i),u=ae(ue(o,i)*l,i),u!==a)break}return{r:de(c,"be",pe(n)),s:de(u,"be",pe(n))}}(0,s,e,t,i,a)}case N.publicKey.elgamal:throw new Error("Signing with Elgamal is not defined in the OpenPGP standard.");case N.publicKey.ecdsa:{const{oid:e,Q:a}=r,{d:o}=n;return $n(e,t,i,a,o,s)}case N.publicKey.eddsaLegacy:{const{oid:e,Q:i}=r,{seed:a}=n;return Xn(e,t,0,i,a,s)}case N.publicKey.ed25519:case N.publicKey.ed448:{const{A:i}=r,{seed:a}=n;return er(e,t,0,i,a,s)}default:throw new Error("Unknown signature algorithm.")}}(this.publicKeyAlgorithm,this.hashAlgorithm,e.publicParams,e.privateParams,a,await T(o));_.isStream(o)?this.params=c():(this.params=await c(),this[ga]=!0)}writeHashedSubPackets(){const e=N.signatureSubpacket,t=[];let r;if(null===this.created)throw new Error("Missing signature creation time");t.push(ba(e.signatureCreationTime,!0,_.writeDate(this.created))),null!==this.signatureExpirationTime&&t.push(ba(e.signatureExpirationTime,!0,_.writeNumber(this.signatureExpirationTime,4))),null!==this.exportable&&t.push(ba(e.exportableCertification,!0,new Uint8Array([this.exportable?1:0]))),null!==this.trustLevel&&(r=new Uint8Array([this.trustLevel,this.trustAmount]),t.push(ba(e.trustSignature,!0,r))),null!==this.regularExpression&&t.push(ba(e.regularExpression,!0,this.regularExpression)),null!==this.revocable&&t.push(ba(e.revocable,!0,new Uint8Array([this.revocable?1:0]))),null!==this.keyExpirationTime&&t.push(ba(e.keyExpirationTime,!0,_.writeNumber(this.keyExpirationTime,4))),null!==this.preferredSymmetricAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredSymmetricAlgorithms)),t.push(ba(e.preferredSymmetricAlgorithms,!1,r))),null!==this.revocationKeyClass&&(r=new Uint8Array([this.revocationKeyClass,this.revocationKeyAlgorithm]),r=_.concat([r,this.revocationKeyFingerprint]),t.push(ba(e.revocationKey,!1,r))),!this.issuerKeyID.isNull()&&this.issuerKeyVersion<5&&t.push(ba(e.issuerKeyID,!1,this.issuerKeyID.write())),this.rawNotations.forEach((({name:n,value:i,humanReadable:s,critical:a})=>{r=[new Uint8Array([s?128:0,0,0,0])];const o=_.encodeUTF8(n);r.push(_.writeNumber(o.length,2)),r.push(_.writeNumber(i.length,2)),r.push(o),r.push(i),r=_.concat(r),t.push(ba(e.notationData,a,r))})),null!==this.preferredHashAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredHashAlgorithms)),t.push(ba(e.preferredHashAlgorithms,!1,r))),null!==this.preferredCompressionAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredCompressionAlgorithms)),t.push(ba(e.preferredCompressionAlgorithms,!1,r))),null!==this.keyServerPreferences&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.keyServerPreferences)),t.push(ba(e.keyServerPreferences,!1,r))),null!==this.preferredKeyServer&&t.push(ba(e.preferredKeyServer,!1,_.encodeUTF8(this.preferredKeyServer))),null!==this.isPrimaryUserID&&t.push(ba(e.primaryUserID,!1,new Uint8Array([this.isPrimaryUserID?1:0]))),null!==this.policyURI&&t.push(ba(e.policyURI,!1,_.encodeUTF8(this.policyURI))),null!==this.keyFlags&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.keyFlags)),t.push(ba(e.keyFlags,!0,r))),null!==this.signersUserID&&t.push(ba(e.signersUserID,!1,_.encodeUTF8(this.signersUserID))),null!==this.reasonForRevocationFlag&&(r=_.stringToUint8Array(String.fromCharCode(this.reasonForRevocationFlag)+this.reasonForRevocationString),t.push(ba(e.reasonForRevocation,!0,r))),null!==this.features&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.features)),t.push(ba(e.features,!1,r))),null!==this.signatureTargetPublicKeyAlgorithm&&(r=[new Uint8Array([this.signatureTargetPublicKeyAlgorithm,this.signatureTargetHashAlgorithm])],r.push(_.stringToUint8Array(this.signatureTargetHash)),r=_.concat(r),t.push(ba(e.signatureTarget,!0,r))),null!==this.embeddedSignature&&t.push(ba(e.embeddedSignature,!0,this.embeddedSignature.write())),null!==this.issuerFingerprint&&(r=[new Uint8Array([this.issuerKeyVersion]),this.issuerFingerprint],r=_.concat(r),t.push(ba(e.issuerFingerprint,this.version>=5,r))),null!==this.preferredAEADAlgorithms&&(r=_.stringToUint8Array(_.uint8ArrayToString(this.preferredAEADAlgorithms)),t.push(ba(e.preferredAEADAlgorithms,!1,r))),null!==this.preferredCipherSuites&&(r=new Uint8Array([].concat(...this.preferredCipherSuites)),t.push(ba(e.preferredCipherSuites,!1,r)));const n=_.concat(t),i=_.writeNumber(n.length,6===this.version?4:2);return _.concat([i,n])}writeUnhashedSubPackets(){const e=this.unhashedSubpackets.map((({type:e,critical:t,body:r})=>ba(e,t,r))),t=_.concat(e),r=_.writeNumber(t.length,6===this.version?4:2);return _.concat([r,t])}readSubPacket(e,t=!0){let r=0;const n=!!(128&e[r]),i=127&e[r];if(r++,t||(this.unhashedSubpackets.push({type:i,critical:n,body:e.subarray(r,e.length)}),ma.has(i)))switch(i){case N.signatureSubpacket.signatureCreationTime:this.created=_.readDate(e.subarray(r,e.length));break;case N.signatureSubpacket.signatureExpirationTime:{const t=_.readNumber(e.subarray(r,e.length));this.signatureNeverExpires=0===t,this.signatureExpirationTime=t;break}case N.signatureSubpacket.exportableCertification:this.exportable=1===e[r++];break;case N.signatureSubpacket.trustSignature:this.trustLevel=e[r++],this.trustAmount=e[r++];break;case N.signatureSubpacket.regularExpression:this.regularExpression=e[r];break;case N.signatureSubpacket.revocable:this.revocable=1===e[r++];break;case N.signatureSubpacket.keyExpirationTime:{const t=_.readNumber(e.subarray(r,e.length));this.keyExpirationTime=t,this.keyNeverExpires=0===t;break}case N.signatureSubpacket.preferredSymmetricAlgorithms:this.preferredSymmetricAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.revocationKey:this.revocationKeyClass=e[r++],this.revocationKeyAlgorithm=e[r++],this.revocationKeyFingerprint=e.subarray(r,r+20);break;case N.signatureSubpacket.issuerKeyID:if(4===this.version)this.issuerKeyID.read(e.subarray(r,e.length));else if(t)throw new Error("Unexpected Issuer Key ID subpacket");break;case N.signatureSubpacket.notationData:{const t=!!(128&e[r]);r+=4;const i=_.readNumber(e.subarray(r,r+2));r+=2;const s=_.readNumber(e.subarray(r,r+2));r+=2;const a=_.decodeUTF8(e.subarray(r,r+i)),o=e.subarray(r+i,r+i+s);this.rawNotations.push({name:a,humanReadable:t,value:o,critical:n}),t&&(this.notations[a]=_.decodeUTF8(o));break}case N.signatureSubpacket.preferredHashAlgorithms:this.preferredHashAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.preferredCompressionAlgorithms:this.preferredCompressionAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.keyServerPreferences:this.keyServerPreferences=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.preferredKeyServer:this.preferredKeyServer=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.primaryUserID:this.isPrimaryUserID=0!==e[r++];break;case N.signatureSubpacket.policyURI:this.policyURI=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.keyFlags:this.keyFlags=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.signersUserID:this.signersUserID=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.reasonForRevocation:this.reasonForRevocationFlag=e[r++],this.reasonForRevocationString=_.decodeUTF8(e.subarray(r,e.length));break;case N.signatureSubpacket.features:this.features=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.signatureTarget:{this.signatureTargetPublicKeyAlgorithm=e[r++],this.signatureTargetHashAlgorithm=e[r++];const t=Ne(this.signatureTargetHashAlgorithm);this.signatureTargetHash=_.uint8ArrayToString(e.subarray(r,r+t));break}case N.signatureSubpacket.embeddedSignature:this.embeddedSignature=new wa,this.embeddedSignature.read(e.subarray(r,e.length));break;case N.signatureSubpacket.issuerFingerprint:this.issuerKeyVersion=e[r++],this.issuerFingerprint=e.subarray(r,e.length),this.issuerKeyVersion>=5?this.issuerKeyID.read(this.issuerFingerprint):this.issuerKeyID.read(this.issuerFingerprint.subarray(-8));break;case N.signatureSubpacket.preferredAEADAlgorithms:this.preferredAEADAlgorithms=[...e.subarray(r,e.length)];break;case N.signatureSubpacket.preferredCipherSuites:this.preferredCipherSuites=[];for(let t=r;t{r+=e.length}),(()=>{const n=[];return 5!==this.version||this.signatureType!==N.signature.binary&&this.signatureType!==N.signature.text||(t?n.push(new Uint8Array(6)):n.push(e.writeHeader())),n.push(new Uint8Array([this.version,255])),5===this.version&&n.push(new Uint8Array(4)),n.push(_.writeNumber(r,4)),_.concat(n)}))}toHash(e,t,r=!1){const n=this.toSign(e,t);return _.concat([this.salt||new Uint8Array,n,this.signatureData,this.calculateTrailer(t,r)])}async hash(e,t,r,n=!1){if(6===this.version&&this.salt.length!==Aa(this.hashAlgorithm))throw new Error("Signature salt does not have the expected length");return r||(r=this.toHash(e,t,n)),Re(this.hashAlgorithm,r)}async verify(e,t,r,n=new Date,i=!1,s=L){if(!this.issuerKeyID.equals(e.getKeyID()))throw new Error("Signature was not issued by the given public key");if(this.publicKeyAlgorithm!==e.algorithm)throw new Error("Public key algorithm used to sign signature does not match issuer key algorithm.");const a=t===N.signature.binary||t===N.signature.text;if(!this[ga]||a){let n,s;if(this.hashed?s=await this.hashed:(n=this.toHash(t,r,i),s=await this.hash(t,r,n)),s=await T(s),this.signedHashValue[0]!==s[0]||this.signedHashValue[1]!==s[1])throw new Error("Signed digest did not match");if(this.params=await this.params,this[ga]=await ls(this.publicKeyAlgorithm,this.hashAlgorithm,this.params,e.publicParams,n,s),!this[ga])throw new Error("Signature verification failed")}const o=_.normalizeDate(n);if(o&&this.created>o)throw new Error("Signature creation time is in the future");if(o&&o>=this.getExpirationTime())throw new Error("Signature is expired");if(s.rejectHashAlgorithms.has(this.hashAlgorithm))throw new Error("Insecure hash algorithm: "+N.read(N.hash,this.hashAlgorithm).toUpperCase());if(s.rejectMessageHashAlgorithms.has(this.hashAlgorithm)&&[N.signature.binary,N.signature.text].includes(this.signatureType))throw new Error("Insecure message hash algorithm: "+N.read(N.hash,this.hashAlgorithm).toUpperCase());if(this.unknownSubpackets.forEach((({type:e,critical:t})=>{if(t)throw new Error(`Unknown critical signature subpacket type ${e}`)})),this.rawNotations.forEach((({name:e,critical:t})=>{if(t&&s.knownNotations.indexOf(e)<0)throw new Error(`Unknown critical notation: ${e}`)})),null!==this.revocationKeyClass)throw new Error("This key is intended to be revoked with an authorized key, which OpenPGP.js does not support.")}isExpired(e=new Date){const t=_.normalizeDate(e);return null!==t&&!(this.created<=t&&twa.prototype.calculateTrailer.apply(await this.correspondingSig,e)))}async verify(){const e=await this.correspondingSig;if(!e||e.constructor.tag!==N.packet.signature)throw new Error("Corresponding signature packet missing");if(e.signatureType!==this.signatureType||e.hashAlgorithm!==this.hashAlgorithm||e.publicKeyAlgorithm!==this.publicKeyAlgorithm||!e.issuerKeyID.equals(this.issuerKeyID)||3===this.version&&6===e.version||6===this.version&&6!==e.version||6===this.version&&!_.equalsUint8Array(e.issuerFingerprint,this.issuerFingerprint)||6===this.version&&!_.equalsUint8Array(e.salt,this.salt))throw new Error("Corresponding signature packet does not match one-pass signature packet");return e.hashed=this.hashed,e.verify.apply(e,arguments)}}function Ea(e,t){if(!t[e]){let t;try{t=N.read(N.packet,e)}catch(t){throw new Wt(`Unknown packet type with tag: ${e}`)}throw new Error(`Packet not allowed in this context: ${t}`)}return new t[e]}va.prototype.hash=wa.prototype.hash,va.prototype.toHash=wa.prototype.toHash,va.prototype.toSign=wa.prototype.toSign;class ka extends Array{static async fromBinary(e,t,r=L,n=null,i=!1){const s=new ka;return await s.read(e,t,r,n,i),s}async read(e,t,r=L,n=null,i=!1){let s;r.additionalAllowedPackets.length&&(s=_.constructAllowedPackets(r.additionalAllowedPackets),t={...t,...s}),this.stream=I(e,(async(e,a)=>{const o=O(e),c=M(a);try{let a=_.isStream(e);for(;;){let e,u;if(await c.ready,await Jt(o,a,(async a=>{try{if(a.tag===N.packet.marker||a.tag===N.packet.trust||a.tag===N.packet.padding)return;const e=Ea(a.tag,t);try{n?.recordPacket(a.tag,s)}catch(e){if(r.enforceGrammar)throw e;_.printDebugError(e)}e.packets=new ka,e.fromStream=_.isStream(a.packet),u=e.fromStream;try{await e.read(a.packet,r)}catch(t){if(!(t instanceof $t))throw _.wrapError(new Yt(`Parsing ${e.constructor.name} failed`),t);throw t}await c.write(e)}catch(t){const n=t instanceof Wt&&a.tag<=39,s=t instanceof $t&&!(t instanceof Wt)&&!r.ignoreUnsupportedPackets,o=t instanceof Yt&&!r.ignoreMalformedPackets,u=Vt(a.tag);if(n||s||o||u||!(t instanceof Wt||t instanceof $t||t instanceof Yt))i?e=t:await c.abort(t);else{const e=new Zt(a.tag,a.packet);await c.write(e)}_.printDebugError(t)}})),u&&(a=null),e)throw await o.readToEnd(),e;const l=await o.peekBytes(2);if(!l||!l.length){try{n?.recordEnd()}catch(e){if(r.enforceGrammar)throw e;_.printDebugError(e)}return await c.ready,void await c.close()}}}catch(e){await c.abort(e)}}));const a=O(this.stream);for(;;){const{done:e,value:t}=await a.read();if(e?this.stream=null:this.push(t),e||Vt(t.constructor.tag))break}a.releaseLock()}write(){const e=[];for(let t=0;t{if(t.push(e),i+=e.length,i>=s){const e=Math.min(Math.log(i)/Math.LN2|0,30),r=2**e,n=_.concat([qt(e)].concat(t));return t=[n.subarray(1+r)],i=t[0].length,n.subarray(0,1+r)}}),(()=>_.concat([Ht(i)].concat(t)))))}else{if(_.isStream(n)){let t=0;e.push(S(B(n),(e=>{t+=e.length}),(()=>Gt(r,t))))}else e.push(Gt(r,n.length));e.push(n)}}return _.concat(e)}filterByTag(...e){const t=new ka,r=e=>t=>e===t;for(let n=0;nt.constructor.tag===e))}indexOfTag(...e){const t=[],r=this,n=e=>t=>e===t;for(let i=0;i0)throw new Sa("Missing trailing signature packets")}}}const Ba=_.constructAllowedPackets([pa,va,wa]);class xa{static get tag(){return N.packet.compressedData}constructor(e=L){this.packets=null,this.algorithm=e.preferredCompressionAlgorithm,this.compressed=null}async read(e,t=L){await C(e,(async e=>{this.algorithm=await e.readByte(),this.compressed=e.remainder(),await this.decompress(t)}))}write(){return null===this.compressed&&this.compress(),_.concat([new Uint8Array([this.algorithm]),this.compressed])}async decompress(e=L){const t=N.read(N.compression,this.algorithm),r=Ka[t];if(!r)throw new Error(`${t} decompression not supported`);this.packets=await ka.fromBinary(await r(this.compressed),Ba,e,new Ca)}compress(){const e=N.read(N.compression,this.algorithm),t=Ua[e];if(!t)throw new Error(`${e} compression not supported`);this.compressed=t(this.packets.write())}}function Pa(e,t){return r=>{if(!_.isStream(r)||l(r))return K((()=>T(r).then((e=>new Promise(((r,n)=>{const i=new t;i.ondata=e=>{r(e)};try{i.push(e,!0)}catch(e){n(e)}}))))));if(e)try{const t=e();return r.pipeThrough(t)}catch(e){if("TypeError"!==e.name)throw e}const n=r.getReader(),i=new t;return new ReadableStream({async start(e){for(i.ondata=async(t,r)=>{e.enqueue(t),r&&e.close()};;){const{done:e,value:t}=await n.read();if(e)return void i.push(new Uint8Array,!0);t.length&&i.push(t)}}})}}function Da(){return async function(e){const{decode:t}=await Promise.resolve().then((function(){return dp}));return K((async()=>t(await T(e))))}}const Ta=e=>({compressor:"undefined"!=typeof CompressionStream&&(()=>new CompressionStream(e)),decompressor:"undefined"!=typeof DecompressionStream&&(()=>new DecompressionStream(e))}),Ua={zip:Pa(Ta("deflate-raw").compressor,ca),zlib:Pa(Ta("deflate").compressor,la)},Ka={uncompressed:e=>e,zip:Pa(Ta("deflate-raw").decompressor,ua),zlib:Pa(Ta("deflate").decompressor,ha),bzip2:Da()},Oa=_.constructAllowedPackets([pa,xa,va,wa]);class Ma{static get tag(){return N.packet.symEncryptedIntegrityProtectedData}static fromObject({version:e,aeadAlgorithm:t}){if(1!==e&&2!==e)throw new Error("Unsupported SEIPD version");const r=new Ma;return r.version=e,2===e&&(r.aeadAlgorithm=t),r}constructor(){this.version=null,this.cipherAlgorithm=null,this.aeadAlgorithm=null,this.chunkSizeByte=null,this.salt=null,this.encrypted=null,this.packets=null}async read(e){await C(e,(async e=>{if(this.version=await e.readByte(),1!==this.version&&2!==this.version)throw new $t(`Version ${this.version} of the SEIP packet is unsupported.`);2===this.version&&(this.cipherAlgorithm=await e.readByte(),this.aeadAlgorithm=await e.readByte(),this.chunkSizeByte=await e.readByte(),this.salt=await e.readBytes(32)),this.encrypted=e.remainder()}))}write(){return 2===this.version?_.concat([new Uint8Array([this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte]),this.salt,this.encrypted]):_.concat([new Uint8Array([this.version]),this.encrypted])}async encrypt(e,t,r=L){const{blockSize:n,keySize:i}=gn(e);if(t.length!==i)throw new Error("Unexpected session key size");let s=this.packets.write();if(l(s)&&(s=await T(s)),2===this.version)this.cipherAlgorithm=e,this.salt=ye(32),this.chunkSizeByte=r.aeadChunkSizeByte,this.encrypted=await Ra(this,"encrypt",t,s);else{const r=await Pi(e),i=new Uint8Array([211,20]),a=_.concat([r,s,i]),o=await Re(N.hash.sha1,x(a)),c=_.concat([a,o]);this.encrypted=await Di(e,t,c,new Uint8Array(n))}return!0}async decrypt(e,t,r=L){if(t.length!==gn(e).keySize)throw new Error("Unexpected session key size");let n,i=B(this.encrypted);l(i)&&(i=await T(i));let s=!1;if(2===this.version){if(this.cipherAlgorithm!==e)throw new Error("Unexpected session key algorithm");n=await Ra(this,"decrypt",t,i)}else{const{blockSize:a}=gn(e),o=await Ti(e,t,i,new Uint8Array(a)),c=D(x(o),-20),u=D(o,0,-20),l=Promise.all([T(await Re(N.hash.sha1,x(u))),T(c)]).then((([e,t])=>{if(!_.equalsUint8Array(e,t))throw new Error("Modification detected.");return new Uint8Array})),h=D(u,a+2);n=D(h,0,-2),n=A([n,K((()=>l))]),_.isStream(i)&&r.allowUnauthenticatedStream?s=!0:n=await T(n)}return this.packets=await ka.fromBinary(n,Oa,r,new Ca,s),!0}}async function Ra(e,t,r,n){const i=e instanceof Ma&&2===e.version,s=!i&&e.constructor.tag===N.packet.aeadEncryptedData;if(!i&&!s)throw new Error("Unexpected packet type");const a=us(e.aeadAlgorithm,s),o="decrypt"===t?a.tagLength:0,c="encrypt"===t?a.tagLength:0,u=2**(e.chunkSizeByte+6)+o,l=s?8:0,h=new ArrayBuffer(13+l),f=new Uint8Array(h,0,5+l),p=new Uint8Array(h),d=new DataView(h),g=new Uint8Array(h,5,8);f.set([192|e.constructor.tag,e.version,e.cipherAlgorithm,e.aeadAlgorithm,e.chunkSizeByte],0);let y,m,w=0,b=Promise.resolve(),A=0,E=0;if(i){const{keySize:t}=gn(e.cipherAlgorithm),{ivLength:n}=a,i=new Uint8Array(h,0,5),s=await An(N.hash.sha256,r,e.salt,i,t+n);r=s.subarray(0,t),y=s.subarray(t),y.fill(0,y.length-8),m=new DataView(y.buffer,y.byteOffset,y.byteLength)}else y=e.iv;const k=await a(e.cipherAlgorithm,r);return I(n,(async(r,n)=>{if("array"!==_.isStream(r)){const t=new TransformStream({},{highWaterMark:_.getHardwareConcurrency()*2**(e.chunkSizeByte+6),size:e=>e.length});v(t.readable,n),n=t.writable}const s=O(r),a=M(n);try{for(;;){let e=await s.readBytes(u+o)||new Uint8Array;const r=e.subarray(e.length-o);let n,h,v;if(e=e.subarray(0,e.length-o),i)v=y;else{v=y.slice();for(let e=0;e<8;e++)v[y.length-8+e]^=g[e]}if(!w||e.length?(s.unshift(r),n=k[t](e,v,f),n.catch((()=>{})),E+=e.length-o+c):(d.setInt32(5+l+4,A),n=k[t](r,v,p),n.catch((()=>{})),E+=c,h=!0),A+=e.length-o,b=b.then((()=>n)).then((async e=>{await a.ready,await a.write(e),E-=e.length})).catch((e=>a.abort(e))),(h||E>a.desiredSize)&&await b,h){await a.close();break}i?m.setInt32(y.length-4,++w):d.setInt32(9,++w)}}catch(e){await a.ready.catch((()=>{})),await a.abort(e)}}))}const Na=_.constructAllowedPackets([pa,xa,va,wa]);class La{static get tag(){return N.packet.aeadEncryptedData}constructor(){this.version=1,this.cipherAlgorithm=null,this.aeadAlgorithm=N.aead.eax,this.chunkSizeByte=null,this.iv=null,this.encrypted=null,this.packets=null}async read(e){await C(e,(async e=>{const t=await e.readByte();if(1!==t)throw new $t(`Version ${t} of the AEAD-encrypted data packet is not supported.`);this.cipherAlgorithm=await e.readByte(),this.aeadAlgorithm=await e.readByte(),this.chunkSizeByte=await e.readByte();const r=us(this.aeadAlgorithm,!0);this.iv=await e.readBytes(r.ivLength),this.encrypted=e.remainder()}))}write(){return _.concat([new Uint8Array([this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte]),this.iv,this.encrypted])}async decrypt(e,t,r=L){this.packets=await ka.fromBinary(await Ra(this,"decrypt",t,B(this.encrypted)),Na,r,new Ca)}async encrypt(e,t,r=L){this.cipherAlgorithm=e;const{ivLength:n}=us(this.aeadAlgorithm,!0);this.iv=ye(n),this.chunkSizeByte=r.aeadChunkSizeByte;const i=this.packets.write();this.encrypted=await Ra(this,"encrypt",t,i)}}class Fa{static get tag(){return N.packet.publicKeyEncryptedSessionKey}constructor(){this.version=null,this.publicKeyID=new da,this.publicKeyVersion=null,this.publicKeyFingerprint=null,this.publicKeyAlgorithm=null,this.sessionKey=null,this.sessionKeyAlgorithm=null,this.encrypted={}}static fromObject({version:e,encryptionKeyPacket:t,anonymousRecipient:r,sessionKey:n,sessionKeyAlgorithm:i}){const s=new Fa;if(3!==e&&6!==e)throw new Error("Unsupported PKESK version");return s.version=e,6===e&&(s.publicKeyVersion=r?null:t.version,s.publicKeyFingerprint=r?null:t.getFingerprintBytes()),s.publicKeyID=r?da.wildcard():t.getKeyID(),s.publicKeyAlgorithm=t.algorithm,s.sessionKey=n,s.sessionKeyAlgorithm=i,s}read(e){let t=0;if(this.version=e[t++],3!==this.version&&6!==this.version)throw new $t(`Version ${this.version} of the PKESK packet is unsupported.`);if(6===this.version){const r=e[t++];if(r){this.publicKeyVersion=e[t++];const n=r-1;this.publicKeyFingerprint=e.subarray(t,t+n),t+=n,this.publicKeyVersion>=5?this.publicKeyID.read(this.publicKeyFingerprint):this.publicKeyID.read(this.publicKeyFingerprint.subarray(-8))}else this.publicKeyID=da.wildcard()}else t+=this.publicKeyID.read(e.subarray(t,t+8));if(this.publicKeyAlgorithm=e[t++],this.encrypted=function(e,t){let r=0;switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:return{c:_.readMPI(t.subarray(r))};case N.publicKey.elgamal:{const e=_.readMPI(t.subarray(r));return r+=e.length+2,{c1:e,c2:_.readMPI(t.subarray(r))}}case N.publicKey.ecdh:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=new yi;return n.read(t.subarray(r)),{V:e,C:n}}case N.publicKey.x25519:case N.publicKey.x448:{const n=Si(e),i=_.readExactSubarray(t,r,r+n);r+=i.length;const s=new wi;return s.read(t.subarray(r)),{ephemeralPublicKey:i,C:s}}default:throw new $t("Unknown public key encryption algorithm.")}}(this.publicKeyAlgorithm,e.subarray(t)),this.publicKeyAlgorithm===N.publicKey.x25519||this.publicKeyAlgorithm===N.publicKey.x448)if(3===this.version)this.sessionKeyAlgorithm=N.write(N.symmetric,this.encrypted.C.algorithm);else if(null!==this.encrypted.C.algorithm)throw new Error("Unexpected cleartext symmetric algorithm")}write(){const e=[new Uint8Array([this.version])];return 6===this.version?null!==this.publicKeyFingerprint?(e.push(new Uint8Array([this.publicKeyFingerprint.length+1,this.publicKeyVersion])),e.push(this.publicKeyFingerprint)):e.push(new Uint8Array([0])):e.push(this.publicKeyID.write()),e.push(new Uint8Array([this.publicKeyAlgorithm]),vi(this.publicKeyAlgorithm,this.encrypted)),_.concatUint8Array(e)}async encrypt(e){const t=N.write(N.publicKey,this.publicKeyAlgorithm),r=3===this.version?this.sessionKeyAlgorithm:null,n=5===e.version?e.getFingerprintBytes().subarray(0,20):e.getFingerprintBytes(),i=_a(this.version,t,r,this.sessionKey);this.encrypted=await async function(e,t,r,n,i){switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:{const{n:e,e:t}=r;return{c:await Ge(n,e,t)}}case N.publicKey.elgamal:{const{p:e,g:t,y:i}=r;return async function(e,t,r,n){t=se(t),r=se(r),n=se(n);const i=se(Fe(e,pe(t))),s=me(We,t-We);return{c1:de(oe(r,s,t)),c2:de(ae(oe(n,s,t)*i,t))}}(n,e,t,i)}case N.publicKey.ecdh:{const{oid:e,Q:t,kdfParams:s}=r,{publicKey:a,wrappedKey:o}=await ci(e,s,n,t,i);return{V:a,C:new yi(o)}}case N.publicKey.x25519:case N.publicKey.x448:{if(t&&!_.isAES(t))throw new Error("X25519 and X448 keys can only encrypt AES session keys");const{A:i}=r,{ephemeralPublicKey:s,wrappedKey:a}=await Sn(e,n,i);return{ephemeralPublicKey:s,C:wi.fromObject({algorithm:t,wrappedKey:a})}}default:return[]}}(t,r,e.publicParams,i,n)}async decrypt(e,t){if(this.publicKeyAlgorithm!==e.algorithm)throw new Error("Decryption error");const r=t?_a(this.version,this.publicKeyAlgorithm,t.sessionKeyAlgorithm,t.sessionKey):null,n=5===e.version?e.getFingerprintBytes().subarray(0,20):e.getFingerprintBytes(),i=await bi(this.publicKeyAlgorithm,e.publicParams,e.privateParams,this.encrypted,n,r),{sessionKey:s,sessionKeyAlgorithm:a}=function(e,t,r,n){switch(t){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.elgamal:case N.publicKey.ecdh:{const t=r.subarray(0,r.length-2),i=r.subarray(r.length-2),s=_.writeChecksum(t.subarray(t.length%8)),a=s[0]===i[0]&s[1]===i[1],o=6===e?{sessionKeyAlgorithm:null,sessionKey:t}:{sessionKeyAlgorithm:t[0],sessionKey:t.subarray(1)};if(n){const t=a&o.sessionKeyAlgorithm===n.sessionKeyAlgorithm&o.sessionKey.length===n.sessionKey.length;return{sessionKey:_.selectUint8Array(t,o.sessionKey,n.sessionKey),sessionKeyAlgorithm:6===e?null:_.selectUint8(t,o.sessionKeyAlgorithm,n.sessionKeyAlgorithm)}}if(a&&(6===e||N.read(N.symmetric,o.sessionKeyAlgorithm)))return o;throw new Error("Decryption error")}case N.publicKey.x25519:case N.publicKey.x448:return{sessionKeyAlgorithm:null,sessionKey:r};default:throw new Error("Unsupported public key algorithm")}}(this.version,this.publicKeyAlgorithm,i,t);if(3===this.version){const e=this.publicKeyAlgorithm!==N.publicKey.x25519&&this.publicKeyAlgorithm!==N.publicKey.x448;if(this.sessionKeyAlgorithm=e?a:this.sessionKeyAlgorithm,s.length!==gn(this.sessionKeyAlgorithm).keySize)throw new Error("Unexpected session key size")}this.sessionKey=s}}function _a(e,t,r,n){switch(t){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.elgamal:case N.publicKey.ecdh:return _.concatUint8Array([new Uint8Array(6===e?[]:[r]),n,_.writeChecksum(n.subarray(n.length%8))]);case N.publicKey.x25519:case N.publicKey.x448:return n;default:throw new Error("Unsupported public key algorithm")}}class Qa{static get tag(){return N.packet.symEncryptedSessionKey}constructor(e=L){this.version=e.aeadProtect?6:4,this.sessionKey=null,this.sessionKeyEncryptionAlgorithm=null,this.sessionKeyAlgorithm=null,this.aeadAlgorithm=N.write(N.aead,e.preferredAEADAlgorithm),this.encrypted=null,this.s2k=null,this.iv=null}read(e){let t=0;if(this.version=e[t++],4!==this.version&&5!==this.version&&6!==this.version)throw new $t(`Version ${this.version} of the SKESK packet is unsupported.`);6===this.version&&t++;const r=e[t++];this.version>=5&&(this.aeadAlgorithm=e[t++],6===this.version&&t++);const n=e[t++];if(this.s2k=ms(n),t+=this.s2k.read(e.subarray(t,e.length)),this.version>=5){const r=us(this.aeadAlgorithm,!0);this.iv=e.subarray(t,t+=r.ivLength)}this.version>=5||t=5){const e=us(this.aeadAlgorithm,!0),r=new Uint8Array([192|Qa.tag,this.version,this.sessionKeyEncryptionAlgorithm,this.aeadAlgorithm]),s=6===this.version?await An(N.hash.sha256,i,new Uint8Array,r,n):i,a=await e(t,s);this.sessionKey=await a.decrypt(this.encrypted,this.iv,r)}else if(null!==this.encrypted){const e=await Ti(t,i,this.encrypted,new Uint8Array(r));if(this.sessionKeyAlgorithm=N.write(N.symmetric,e[0]),this.sessionKey=e.subarray(1,e.length),this.sessionKey.length!==gn(this.sessionKeyAlgorithm).keySize)throw new Error("Unexpected session key size")}else this.sessionKey=i}async encrypt(e,t=L){const r=null!==this.sessionKeyEncryptionAlgorithm?this.sessionKeyEncryptionAlgorithm:this.sessionKeyAlgorithm;this.sessionKeyEncryptionAlgorithm=r,this.s2k=ws(t),this.s2k.generateSalt();const{blockSize:n,keySize:i}=gn(r),s=await this.s2k.produceKey(e,i);if(null===this.sessionKey&&(this.sessionKey=Ei(this.sessionKeyAlgorithm)),this.version>=5){const e=us(this.aeadAlgorithm);this.iv=ye(e.ivLength);const t=new Uint8Array([192|Qa.tag,this.version,this.sessionKeyEncryptionAlgorithm,this.aeadAlgorithm]),n=6===this.version?await An(N.hash.sha256,s,new Uint8Array,t,i):s,a=await e(r,n);this.encrypted=await a.encrypt(this.sessionKey,this.iv,t)}else{const e=_.concatUint8Array([new Uint8Array([this.sessionKeyAlgorithm]),this.sessionKey]);this.encrypted=await Di(r,s,e,new Uint8Array(n))}}}class ja{static get tag(){return N.packet.publicKey}constructor(e=new Date,t=L){this.version=t.v6Keys?6:4,this.created=_.normalizeDate(e),this.algorithm=null,this.publicParams=null,this.expirationTimeV3=0,this.fingerprint=null,this.keyID=null}static fromSecretKeyPacket(e){const t=new ja,{version:r,created:n,algorithm:i,publicParams:s,keyID:a,fingerprint:o}=e;return t.version=r,t.created=n,t.algorithm=i,t.publicParams=s,t.keyID=a,t.fingerprint=o,t}async read(e,t=L){let r=0;if(this.version=e[r++],5===this.version&&!t.enableParsingV5Entities)throw new $t("Support for parsing v5 entities is disabled; turn on `config.enableParsingV5Entities` if needed");if(4===this.version||5===this.version||6===this.version){this.created=_.readDate(e.subarray(r,r+4)),r+=4,this.algorithm=e[r++],this.version>=5&&(r+=4);const{read:t,publicParams:n}=function(e,t){let r=0;switch(e){case N.publicKey.rsaEncrypt:case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,publicParams:{n:e,e:n}}}case N.publicKey.dsa:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));r+=n.length+2;const i=_.readMPI(t.subarray(r));r+=i.length+2;const s=_.readMPI(t.subarray(r));return r+=s.length+2,{read:r,publicParams:{p:e,q:n,g:i,y:s}}}case N.publicKey.elgamal:{const e=_.readMPI(t.subarray(r));r+=e.length+2;const n=_.readMPI(t.subarray(r));r+=n.length+2;const i=_.readMPI(t.subarray(r));return r+=i.length+2,{read:r,publicParams:{p:e,g:n,y:i}}}case N.publicKey.ecdsa:{const e=new Qt;r+=e.read(t),ki(e);const n=_.readMPI(t.subarray(r));return r+=n.length+2,{read:r,publicParams:{oid:e,Q:n}}}case N.publicKey.eddsaLegacy:{const e=new Qt;if(r+=e.read(t),ki(e),e.getName()!==N.curve.ed25519Legacy)throw new Error("Unexpected OID for eddsaLegacy");let n=_.readMPI(t.subarray(r));return r+=n.length+2,n=_.leftPad(n,33),{read:r,publicParams:{oid:e,Q:n}}}case N.publicKey.ecdh:{const e=new Qt;r+=e.read(t),ki(e);const n=_.readMPI(t.subarray(r));r+=n.length+2;const i=new mi;return r+=i.read(t.subarray(r)),{read:r,publicParams:{oid:e,Q:n,kdfParams:i}}}case N.publicKey.ed25519:case N.publicKey.ed448:case N.publicKey.x25519:case N.publicKey.x448:{const n=_.readExactSubarray(t,r,r+Si(e));return r+=n.length,{read:r,publicParams:{A:n}}}default:throw new $t("Unknown public key encryption algorithm.")}}(this.algorithm,e.subarray(r));if(6===this.version&&n.oid&&(n.oid.getName()===N.curve.curve25519Legacy||n.oid.getName()===N.curve.ed25519Legacy))throw new Error("Legacy curve25519 cannot be used with v6 keys");return this.publicParams=n,r+=t,await this.computeFingerprintAndKeyID(),r}throw new $t(`Version ${this.version} of the key packet is unsupported.`)}write(){const e=[];e.push(new Uint8Array([this.version])),e.push(_.writeDate(this.created)),e.push(new Uint8Array([this.algorithm]));const t=vi(this.algorithm,this.publicParams);return this.version>=5&&e.push(_.writeNumber(t.length,4)),e.push(t),_.concatUint8Array(e)}writeForHash(e){const t=this.writePublicKey(),r=149+e,n=e>=5?4:2;return _.concatUint8Array([new Uint8Array([r]),_.writeNumber(t.length,n),t])}isDecrypted(){return null}getCreationTime(){return this.created}getKeyID(){return this.keyID}async computeFingerprintAndKeyID(){if(await this.computeFingerprint(),this.keyID=new da,this.version>=5)this.keyID.read(this.fingerprint.subarray(0,8));else{if(4!==this.version)throw new Error("Unsupported key version");this.keyID.read(this.fingerprint.subarray(12,20))}}async computeFingerprint(){const e=this.writeForHash(this.version);if(this.version>=5)this.fingerprint=await Re(N.hash.sha256,e);else{if(4!==this.version)throw new Error("Unsupported key version");this.fingerprint=await Re(N.hash.sha1,e)}}getFingerprintBytes(){return this.fingerprint}getFingerprint(){return _.uint8ArrayToHex(this.getFingerprintBytes())}hasSameFingerprintAs(e){return this.version===e.version&&_.equalsUint8Array(this.writePublicKey(),e.writePublicKey())}getAlgorithmInfo(){const e={};e.algorithm=N.read(N.publicKey,this.algorithm);const t=this.publicParams.n||this.publicParams.p;return t?e.bits=_.uint8ArrayBitLength(t):this.publicParams.oid&&(e.curve=this.publicParams.oid.getName()),e}}ja.prototype.readPublicKey=ja.prototype.read,ja.prototype.writePublicKey=ja.prototype.write;const Ha=_.constructAllowedPackets([pa,xa,va,wa]);class qa{static get tag(){return N.packet.symmetricallyEncryptedData}constructor(){this.encrypted=null,this.packets=null}read(e){this.encrypted=e}write(){return this.encrypted}async decrypt(e,t,r=L){if(!r.allowUnauthenticatedMessages)throw new Error("Message is not authenticated.");const{blockSize:n}=gn(e),i=await T(B(this.encrypted)),s=await Ti(e,t,i.subarray(n+2),i.subarray(2,n+2));this.packets=await ka.fromBinary(s,Ha,r)}async encrypt(e,t,r=L){const n=this.packets.write(),{blockSize:i}=gn(e),s=await Pi(e),a=await Di(e,t,s,new Uint8Array(i)),o=await Di(e,t,n,a.subarray(2));this.encrypted=_.concat([a,o])}}class za{static get tag(){return N.packet.marker}read(e){return 80===e[0]&&71===e[1]&&80===e[2]}write(){return new Uint8Array([80,71,80])}}class Ga extends ja{static get tag(){return N.packet.publicSubkey}constructor(e,t){super(e,t)}static fromSecretSubkeyPacket(e){const t=new Ga,{version:r,created:n,algorithm:i,publicParams:s,keyID:a,fingerprint:o}=e;return t.version=r,t.created=n,t.algorithm=i,t.publicParams=s,t.keyID=a,t.fingerprint=o,t}}class Va{static get tag(){return N.packet.userAttribute}constructor(){this.attributes=[]}read(e){let t=0;for(;t=e)return!1;if(ae(e-gi,t)!==di)return!1;if(oe(r,t,e)!==gi)return!1;const s=BigInt(fe(t));if(s=e)return!1;const i=BigInt(fe(e));if(i{He.generateKeyPair("rsa",r,((r,n,i)=>{r?t(r):e(i)}))}));return $e(n,t)}let r,n,i;do{n=be(e-(e>>1),t,40),r=be(e>>1,t,40),i=r*n}while(fe(i)!==e);const s=(r-qe)*(n-qe);return n({privateParams:{d:r,p:n,q:i,u:s},publicParams:{n:e,e:t}})));case N.publicKey.ecdsa:return Fn(r).then((({oid:e,Q:t,secret:r})=>({privateParams:{d:r},publicParams:{oid:new Qt(e),Q:t}})));case N.publicKey.eddsaLegacy:return Fn(r).then((({oid:e,Q:t,secret:r})=>({privateParams:{seed:r},publicParams:{oid:new Qt(e),Q:t}})));case N.publicKey.ecdh:return Fn(r).then((({oid:e,Q:t,secret:r,hash:n,cipher:i})=>({privateParams:{d:r},publicParams:{oid:new Qt(e),Q:t,kdfParams:new mi({hash:n,cipher:i})}})));case N.publicKey.ed25519:case N.publicKey.ed448:return Xt(e).then((({A:e,seed:t})=>({privateParams:{seed:t},publicParams:{A:e}})));case N.publicKey.x25519:case N.publicKey.x448:return En(e).then((({A:e,k:t})=>({privateParams:{k:t},publicParams:{A:e}})));case N.publicKey.dsa:case N.publicKey.elgamal:throw new Error("Unsupported algorithm for key generation.");default:throw new Error("Unknown public key algorithm.")}}(this.algorithm,e,t);this.privateParams=r,this.publicParams=n,this.isEncrypted=!1}clearPrivateParams(){this.isMissingSecretKeyMaterial()||(Object.keys(this.privateParams).forEach((e=>{this.privateParams[e].fill(0),delete this.privateParams[e]})),this.privateParams=null,this.isEncrypted=!0)}}async function $a(e,t,r,n,i,s,a){if("argon2"===t.type&&!i)throw new Error("Using Argon2 S2K without AEAD is not allowed");if("simple"===t.type&&6===e)throw new Error("Using Simple S2K with version 6 keys is not allowed");const{keySize:o}=gn(n),c=await t.produceKey(r,o);if(!i||5===e||a)return c;const u=_.concatUint8Array([s,new Uint8Array([e,n,i])]);return An(N.hash.sha256,c,new Uint8Array,u,o)}class Wa{static get tag(){return N.packet.userID}constructor(){this.userID="",this.name="",this.email="",this.comment=""}static fromObject(e){if(_.isString(e)||e.name&&!_.isString(e.name)||e.email&&!_.isEmailAddress(e.email)||e.comment&&!_.isString(e.comment))throw new Error("Invalid user ID format");const t=new Wa;Object.assign(t,e);const r=[];return t.name&&r.push(t.name),t.comment&&r.push(`(${t.comment})`),t.email&&r.push(`<${t.email}>`),t.userID=r.join(" "),t}read(e,t=L){const r=_.decodeUTF8(e);if(r.length>t.maxUserIDLength)throw new Error("User ID string is too long");const n=e=>/^[^\s@]+@[^\s@]+$/.test(e),i=r.indexOf("<"),s=r.lastIndexOf(">");if(-1!==i&&-1!==s&&s>i){const e=r.substring(i+1,s);if(n(e)){this.email=e;const t=r.substring(0,i).trim(),n=t.indexOf("("),s=t.lastIndexOf(")");-1!==n&&-1!==s&&s>n?(this.comment=t.substring(n+1,s).trim(),this.name=t.substring(0,n).trim()):(this.name=t,this.comment="")}}else n(r.trim())&&(this.email=r.trim(),this.name="",this.comment="");this.userID=r}write(){return _.encodeUTF8(this.userID)}equals(e){return e&&e.userID===this.userID}}class Ya extends Ja{static get tag(){return N.packet.secretSubkey}constructor(e=new Date,t=L){super(e,t)}}class Za{static get tag(){return N.packet.trust}read(){throw new $t("Trust packets are not supported")}write(){throw new $t("Trust packets are not supported")}}class Xa{static get tag(){return N.packet.padding}constructor(){this.padding=null}read(e){}write(){return this.padding}async createPadding(e){this.padding=await ye(e)}}const eo=_.constructAllowedPackets([wa]);class to{constructor(e){this.packets=e||new ka}write(){return this.packets.write()}armor(e=L){const t=this.packets.some((e=>e.constructor.tag===wa.tag&&6!==e.version));return re(N.armor.signature,this.write(),void 0,void 0,void 0,t,e)}getSigningKeyIDs(){return this.packets.map((e=>e.issuerKeyID))}}async function ro({armoredSignature:e,binarySignature:t,config:r,...n}){r={...L,...r};let i=e||t;if(!i)throw new Error("readSignature: must pass options object containing `armoredSignature` or `binarySignature`");if(e&&!_.isString(e))throw new Error("readSignature: options.armoredSignature must be a string");if(t&&!_.isUint8Array(t))throw new Error("readSignature: options.binarySignature must be a Uint8Array");const s=Object.keys(n);if(s.length>0)throw new Error(`Unknown option: ${s.join(", ")}`);if(e){const{type:e,data:t}=await te(i);if(e!==N.armor.signature)throw new Error("Armored text not of type signature");i=t}const a=await ka.fromBinary(i,eo,r);return new to(a)}async function no(e,t){const r=new Ya(e.date,t);return r.packets=null,r.algorithm=N.write(N.publicKey,e.algorithm),await r.generate(e.rsaBits,e.curve),await r.computeFingerprintAndKeyID(),r}async function io(e,t){const r=new Ja(e.date,t);return r.packets=null,r.algorithm=N.write(N.publicKey,e.algorithm),await r.generate(e.rsaBits,e.curve,e.config),await r.computeFingerprintAndKeyID(),r}async function so(e,t,r,n,i=new Date,s){let a,o;for(let c=e.length-1;c>=0;c--)try{(!a||e[c].created>=a.created)&&(await e[c].verify(t,r,n,i,void 0,s),a=e[c])}catch(e){o=e}if(!a)throw _.wrapError(`Could not find valid ${N.read(N.signature,r)} signature in key ${t.getKeyID().toHex()}`.replace("certGeneric ","self-").replace(/([a-z])([A-Z])/g,((e,t,r)=>t+" "+r.toLowerCase())),o);return a}function ao(e,t,r=new Date){const n=_.normalizeDate(r);if(null!==n){const r=ho(e,t);return!(e.created<=n&&n0&&(s.keyExpirationTime=r.keyExpirationTime,s.keyNeverExpires=!1),await co(i,[],t,s,r.date,void 0,void 0,void 0,n)}async function co(e,t,r,n,i,s,a=[],o=!1,c){if(r.isDummy())throw new Error("Cannot sign with a gnu-dummy key.");if(!r.isDecrypted())throw new Error("Signing key is not decrypted.");const u=new wa;return Object.assign(u,n),u.publicKeyAlgorithm=r.algorithm,u.hashAlgorithm=await async function(e,t,r=new Date,n=[],i){const s=N.hash.sha256,a=i.preferredHashAlgorithm,o=await Promise.all(e.map((async(e,t)=>(await e.getPrimarySelfSignature(r,n[t],i)).preferredHashAlgorithms||[]))),c=new Map;for(const e of o)for(const t of e)try{const e=N.write(N.hash,t);c.set(e,c.has(e)?c.get(e)+1:1)}catch{}const u=t=>0===e.length||c.get(t)===e.length||t===s,l=()=>{if(0===c.size)return s;const e=Array.from(c.keys()).filter((e=>u(e))).sort(((e,t)=>Ne(e)-Ne(t)))[0];return Ne(e)>=Ne(s)?e:s};if(new Set([N.publicKey.ecdsa,N.publicKey.eddsaLegacy,N.publicKey.ed25519,N.publicKey.ed448]).has(t.algorithm)){const e=function(e,t){switch(e){case N.publicKey.ecdsa:case N.publicKey.eddsaLegacy:return _n(t);case N.publicKey.ed25519:case N.publicKey.ed448:return ir(e);default:throw new Error("Unknown elliptic signing algo")}}(t.algorithm,t.publicParams.oid),r=u(a),n=Ne(a)>=Ne(e);if(r&&n)return a;{const t=l();return Ne(t)>=Ne(e)?t:e}}return u(a)?a:l()}(t,r,i,s,c),u.rawNotations=[...a],await u.sign(r,e,i,o,c),u}async function uo(e,t,r,n=new Date,i){(e=e[r])&&(t[r].length?await Promise.all(e.map((async function(e){e.isExpired(n)||i&&!await i(e)||t[r].some((function(t){return _.equalsUint8Array(t.writeParams(),e.writeParams())}))||t[r].push(e)}))):t[r]=e)}async function lo(e,t,r,n,i,s,a=new Date,o){s=s||e;const c=[];return await Promise.all(n.map((async function(e){try{if(!i||e.issuerKeyID.equals(i.issuerKeyID)){const n=![N.reasonForRevocation.keyRetired,N.reasonForRevocation.keySuperseded,N.reasonForRevocation.userIDInvalid].includes(e.reasonForRevocationFlag);await e.verify(s,t,r,n?null:a,!1,o),c.push(e.issuerKeyID)}}catch(e){}}))),i?(i.revoked=!!c.some((e=>e.equals(i.issuerKeyID)))||i.revoked||!1,i.revoked):c.length>0}function ho(e,t){let r;return!1===t.keyNeverExpires&&(r=e.created.getTime()+1e3*t.keyExpirationTime),r?new Date(r):1/0}function fo(e,t={}){switch(e.type=e.type||t.type,e.curve=e.curve||t.curve,e.rsaBits=e.rsaBits||t.rsaBits,e.keyExpirationTime=void 0!==e.keyExpirationTime?e.keyExpirationTime:t.keyExpirationTime,e.passphrase=_.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e.sign=e.sign||!1,e.type){case"ecc":try{e.curve=N.write(N.curve,e.curve)}catch(e){throw new Error("Unknown curve")}e.curve!==N.curve.ed25519Legacy&&e.curve!==N.curve.curve25519Legacy&&"ed25519"!==e.curve&&"curve25519"!==e.curve||(e.curve=e.sign?N.curve.ed25519Legacy:N.curve.curve25519Legacy),e.sign?e.algorithm=e.curve===N.curve.ed25519Legacy?N.publicKey.eddsaLegacy:N.publicKey.ecdsa:e.algorithm=N.publicKey.ecdh;break;case"curve25519":e.algorithm=e.sign?N.publicKey.ed25519:N.publicKey.x25519;break;case"curve448":e.algorithm=e.sign?N.publicKey.ed448:N.publicKey.x448;break;case"rsa":e.algorithm=N.publicKey.rsaEncryptSign;break;default:throw new Error(`Unsupported key type ${e.type}`)}return e}function po(e,t,r){switch(e.algorithm){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:case N.publicKey.dsa:case N.publicKey.ecdsa:case N.publicKey.eddsaLegacy:case N.publicKey.ed25519:case N.publicKey.ed448:if(!t.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");return!t.keyFlags||0!==(t.keyFlags[0]&N.keyFlags.signData);default:return!1}}function go(e,t,r){switch(e.algorithm){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.elgamal:case N.publicKey.ecdh:case N.publicKey.x25519:case N.publicKey.x448:if(!t.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");return!t.keyFlags||0!==(t.keyFlags[0]&N.keyFlags.encryptCommunication)||0!==(t.keyFlags[0]&N.keyFlags.encryptStorage);default:return!1}}function yo(e,t,r){if(!t.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");switch(e.algorithm){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaEncrypt:case N.publicKey.elgamal:case N.publicKey.ecdh:case N.publicKey.x25519:case N.publicKey.x448:return!(t.keyFlags&&0===(t.keyFlags[0]&N.keyFlags.signData)||!r.allowInsecureDecryptionWithSigningKeys)||!t.keyFlags||0!==(t.keyFlags[0]&N.keyFlags.encryptCommunication)||0!==(t.keyFlags[0]&N.keyFlags.encryptStorage);default:return!1}}function mo(e,t){const r=N.write(N.publicKey,e.algorithm),n=e.getAlgorithmInfo();if(t.rejectPublicKeyAlgorithms.has(r))throw new Error(`${n.algorithm} keys are considered too weak.`);switch(r){case N.publicKey.rsaEncryptSign:case N.publicKey.rsaSign:case N.publicKey.rsaEncrypt:if(n.bitse.getKeys(o).length>0));return 0===c.length?null:(await Promise.all(c.map((async t=>{const s=await t.getSigningKey(o,e.created,void 0,n);if(e.revoked||await i.isRevoked(e,s.keyPacket,r,n))throw new Error("User certificate is revoked");try{await e.verify(s.keyPacket,N.signature.certGeneric,a,r,void 0,n)}catch(e){throw _.wrapError("User certificate is invalid",e)}}))),!0)}async verifyAllCertifications(e,t=new Date,r){const n=this,i=this.selfCertifications.concat(this.otherCertifications);return Promise.all(i.map((async i=>({keyID:i.issuerKeyID,valid:await n.verifyCertificate(i,e,t,r).catch((()=>!1))}))))}async verify(e=new Date,t){if(!this.selfCertifications.length)throw new Error("No self-certifications found");const r=this,n=this.mainKey.keyPacket,i={userID:this.userID,userAttribute:this.userAttribute,key:n};let s;for(let a=this.selfCertifications.length-1;a>=0;a--)try{const s=this.selfCertifications[a];if(s.revoked||await r.isRevoked(s,void 0,e,t))throw new Error("Self-certification is revoked");try{await s.verify(n,N.signature.certGeneric,i,e,void 0,t)}catch(e){throw _.wrapError("Self-certification is invalid",e)}return!0}catch(e){s=e}throw s}async update(e,t,r){const n=this.mainKey.keyPacket,i={userID:this.userID,userAttribute:this.userAttribute,key:n};await uo(e,this,"selfCertifications",t,(async function(e){try{return await e.verify(n,N.signature.certGeneric,i,t,!1,r),!0}catch(e){return!1}})),await uo(e,this,"otherCertifications",t),await uo(e,this,"revocationSignatures",t,(function(e){return lo(n,N.signature.certRevocation,i,[e],void 0,void 0,t,r)}))}async revoke(e,{flag:t=N.reasonForRevocation.noReason,string:r=""}={},n=new Date,i=L){const s={userID:this.userID,userAttribute:this.userAttribute,key:e},a=new wo(s.userID||s.userAttribute,this.mainKey);return a.revocationSignatures.push(await co(s,[],e,{signatureType:N.signature.certRevocation,reasonForRevocationFlag:N.write(N.reasonForRevocation,t),reasonForRevocationString:r},n,void 0,void 0,!1,i)),await a.update(this),a}}class bo{constructor(e,t){this.keyPacket=e,this.bindingSignatures=[],this.revocationSignatures=[],this.mainKey=t}toPacketList(){const e=new ka;return e.push(this.keyPacket),e.push(...this.revocationSignatures),e.push(...this.bindingSignatures),e}clone(){const e=new bo(this.keyPacket,this.mainKey);return e.bindingSignatures=[...this.bindingSignatures],e.revocationSignatures=[...this.revocationSignatures],e}async isRevoked(e,t,r=new Date,n=L){const i=this.mainKey.keyPacket;return lo(i,N.signature.subkeyRevocation,{key:i,bind:this.keyPacket},this.revocationSignatures,e,t,r,n)}async verify(e=new Date,t=L){const r=this.mainKey.keyPacket,n={key:r,bind:this.keyPacket},i=await so(this.bindingSignatures,r,N.signature.subkeyBinding,n,e,t);if(i.revoked||await this.isRevoked(i,null,e,t))throw new Error("Subkey is revoked");if(ao(this.keyPacket,i,e))throw new Error("Subkey is expired");return i}async getExpirationTime(e=new Date,t=L){const r=this.mainKey.keyPacket,n={key:r,bind:this.keyPacket};let i;try{i=await so(this.bindingSignatures,r,N.signature.subkeyBinding,n,e,t)}catch(e){return null}const s=ho(this.keyPacket,i),a=i.getExpirationTime();return si.bindingSignatures[t].created&&(i.bindingSignatures[t]=e),!1;try{return await e.verify(n,N.signature.subkeyBinding,s,t,void 0,r),!0}catch(e){return!1}})),await uo(e,this,"revocationSignatures",t,(function(e){return lo(n,N.signature.subkeyRevocation,s,[e],void 0,void 0,t,r)}))}async revoke(e,{flag:t=N.reasonForRevocation.noReason,string:r=""}={},n=new Date,i=L){const s={key:e,bind:this.keyPacket},a=new bo(this.keyPacket,this.mainKey);return a.revocationSignatures.push(await co(s,[],e,{signatureType:N.signature.subkeyRevocation,reasonForRevocationFlag:N.write(N.reasonForRevocation,t),reasonForRevocationString:r},n,void 0,void 0,!1,i)),await a.update(this),a}hasSameFingerprintAs(e){return this.keyPacket.hasSameFingerprintAs(e.keyPacket||e)}}["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted"].forEach((e=>{bo.prototype[e]=function(){return this.keyPacket[e]()}}));const Ao=_.constructAllowedPackets([wa]),vo=new Set([N.packet.publicKey,N.packet.privateKey]),Eo=new Set([N.packet.publicKey,N.packet.privateKey,N.packet.publicSubkey,N.packet.privateSubkey]);class ko{packetListToStructure(e,t=new Set){let r,n,i,s;for(const a of e){if(a instanceof Zt){Eo.has(a.tag)&&!s&&(s=vo.has(a.tag)?vo:Eo);continue}const e=a.constructor.tag;if(s){if(!s.has(e))continue;s=null}if(t.has(e))throw new Error(`Unexpected packet type: ${e}`);switch(e){case N.packet.publicKey:case N.packet.secretKey:if(this.keyPacket)throw new Error("Key block contains multiple keys");if(this.keyPacket=a,n=this.getKeyID(),!n)throw new Error("Missing Key ID");break;case N.packet.userID:case N.packet.userAttribute:r=new wo(a,this),this.users.push(r);break;case N.packet.publicSubkey:case N.packet.secretSubkey:r=null,i=new bo(a,this),this.subkeys.push(i);break;case N.packet.signature:switch(a.signatureType){case N.signature.certGeneric:case N.signature.certPersona:case N.signature.certCasual:case N.signature.certPositive:if(!r){_.printDebug("Dropping certification signatures without preceding user packet");continue}a.issuerKeyID.equals(n)?r.selfCertifications.push(a):r.otherCertifications.push(a);break;case N.signature.certRevocation:r?r.revocationSignatures.push(a):this.directSignatures.push(a);break;case N.signature.key:this.directSignatures.push(a);break;case N.signature.subkeyBinding:if(!i){_.printDebug("Dropping subkey binding signature without preceding subkey packet");continue}i.bindingSignatures.push(a);break;case N.signature.keyRevocation:this.revocationSignatures.push(a);break;case N.signature.subkeyRevocation:if(!i){_.printDebug("Dropping subkey revocation signature without preceding subkey packet");continue}i.revocationSignatures.push(a)}}}}toPacketList(){const e=new ka;return e.push(this.keyPacket),e.push(...this.revocationSignatures),e.push(...this.directSignatures),this.users.map((t=>e.push(...t.toPacketList()))),this.subkeys.map((t=>e.push(...t.toPacketList()))),e}clone(e=!1){const t=new this.constructor(this.toPacketList());return e&&t.getKeys().forEach((e=>{if(e.keyPacket=Object.create(Object.getPrototypeOf(e.keyPacket),Object.getOwnPropertyDescriptors(e.keyPacket)),!e.keyPacket.isDecrypted())return;const t={};Object.keys(e.keyPacket.privateParams).forEach((r=>{t[r]=new Uint8Array(e.keyPacket.privateParams[r])})),e.keyPacket.privateParams=t})),t}getSubkeys(e=null){return this.subkeys.filter((t=>!e||t.getKeyID().equals(e,!0)))}getKeys(e=null){const t=[];return e&&!this.getKeyID().equals(e,!0)||t.push(this),t.concat(this.getSubkeys(e))}getKeyIDs(){return this.getKeys().map((e=>e.getKeyID()))}getUserIDs(){return this.users.map((e=>e.userID?e.userID.userID:null)).filter((e=>null!==e))}write(){return this.toPacketList().write()}async getSigningKey(e=null,t=new Date,r={},n=L){await this.verifyPrimaryKey(t,r,n);const i=this.keyPacket;try{mo(i,n)}catch(e){throw _.wrapError("Could not verify primary key",e)}const s=this.subkeys.slice().sort(((e,t)=>t.keyPacket.created-e.keyPacket.created||t.keyPacket.algorithm-e.keyPacket.algorithm));let a;for(const r of s)if(!e||r.getKeyID().equals(e))try{await r.verify(t,n);const e={key:i,bind:r.keyPacket},s=await so(r.bindingSignatures,i,N.signature.subkeyBinding,e,t,n);if(!po(r.keyPacket,s,n))continue;if(!s.embeddedSignature)throw new Error("Missing embedded signature");return await so([s.embeddedSignature],r.keyPacket,N.signature.keyBinding,e,t,n),mo(r.keyPacket,n),r}catch(e){a=e}try{const s=await this.getPrimarySelfSignature(t,r,n);if((!e||i.getKeyID().equals(e))&&po(i,s,n))return mo(i,n),this}catch(e){a=e}throw _.wrapError("Could not find valid signing key packet in key "+this.getKeyID().toHex(),a)}async getEncryptionKey(e,t=new Date,r={},n=L){await this.verifyPrimaryKey(t,r,n);const i=this.keyPacket;try{mo(i,n)}catch(e){throw _.wrapError("Could not verify primary key",e)}const s=this.subkeys.slice().sort(((e,t)=>t.keyPacket.created-e.keyPacket.created||t.keyPacket.algorithm-e.keyPacket.algorithm));let a;for(const r of s)if(!e||r.getKeyID().equals(e))try{await r.verify(t,n);const e={key:i,bind:r.keyPacket},s=await so(r.bindingSignatures,i,N.signature.subkeyBinding,e,t,n);if(go(r.keyPacket,s,n))return mo(r.keyPacket,n),r}catch(e){a=e}try{const s=await this.getPrimarySelfSignature(t,r,n);if((!e||i.getKeyID().equals(e))&&go(i,s,n))return mo(i,n),this}catch(e){a=e}throw _.wrapError("Could not find valid encryption key packet in key "+this.getKeyID().toHex(),a)}async isRevoked(e,t,r=new Date,n=L){return lo(this.keyPacket,N.signature.keyRevocation,{key:this.keyPacket},this.revocationSignatures,e,t,r,n)}async verifyPrimaryKey(e=new Date,t={},r=L){const n=this.keyPacket;if(await this.isRevoked(null,null,e,r))throw new Error("Primary key is revoked");if(ao(n,await this.getPrimarySelfSignature(e,t,r),e))throw new Error("Primary key is expired");if(6!==n.version){const t=await so(this.directSignatures,n,N.signature.key,{key:n},e,r).catch((()=>{}));if(t&&ao(n,t,e))throw new Error("Primary key is expired")}}async getExpirationTime(e,t=L){let r;try{const n=await this.getPrimarySelfSignature(null,e,t),i=ho(this.keyPacket,n),s=n.getExpirationTime(),a=6!==this.keyPacket.version&&await so(this.directSignatures,this.keyPacket,N.signature.key,{key:this.keyPacket},null,t).catch((()=>{}));if(a){const e=ho(this.keyPacket,a);r=Math.min(i,s,e)}else r=ie.subkeys.some((e=>t.hasSameFingerprintAs(e))))))throw new Error("Cannot update public key with private key if subkeys mismatch");return e.update(this,r)}const n=this.clone();return await uo(e,n,"revocationSignatures",t,(i=>lo(n.keyPacket,N.signature.keyRevocation,n,[i],null,e.keyPacket,t,r))),await uo(e,n,"directSignatures",t),await Promise.all(e.users.map((async e=>{const i=n.users.filter((t=>e.userID&&e.userID.equals(t.userID)||e.userAttribute&&e.userAttribute.equals(t.userAttribute)));if(i.length>0)await Promise.all(i.map((n=>n.update(e,t,r))));else{const t=e.clone();t.mainKey=n,n.users.push(t)}}))),await Promise.all(e.subkeys.map((async e=>{const i=n.subkeys.filter((t=>t.hasSameFingerprintAs(e)));if(i.length>0)await Promise.all(i.map((n=>n.update(e,t,r))));else{const t=e.clone();t.mainKey=n,n.subkeys.push(t)}}))),n}async getRevocationCertificate(e=new Date,t=L){const r={key:this.keyPacket},n=await so(this.revocationSignatures,this.keyPacket,N.signature.keyRevocation,r,e,t),i=new ka;i.push(n);const s=6!==this.keyPacket.version;return re(N.armor.publicKey,i.write(),null,null,"This is a revocation certificate",s,t)}async applyRevocationCertificate(e,t=new Date,r=L){const n=await te(e),i=(await ka.fromBinary(n.data,Ao,r)).findPacket(N.packet.signature);if(!i||i.signatureType!==N.signature.keyRevocation)throw new Error("Could not find revocation signature packet");if(!i.issuerKeyID.equals(this.getKeyID()))throw new Error("Revocation signature does not match key");try{await i.verify(this.keyPacket,N.signature.keyRevocation,{key:this.keyPacket},t,void 0,r)}catch(e){throw _.wrapError("Could not verify revocation signature",e)}const s=this.clone();return s.revocationSignatures.push(i),s}async signPrimaryUser(e,t,r,n=L){const{index:i,user:s}=await this.getPrimaryUser(t,r,n),a=await s.certify(e,t,n),o=this.clone();return o.users[i]=a,o}async signAllUsers(e,t=new Date,r=L){const n=this.clone();return n.users=await Promise.all(this.users.map((function(n){return n.certify(e,t,r)}))),n}async verifyPrimaryUser(e,t=new Date,r,n=L){const i=this.keyPacket,{user:s}=await this.getPrimaryUser(t,r,n);return e?await s.verifyAllCertifications(e,t,n):[{keyID:i.getKeyID(),valid:await s.verify(t,n).catch((()=>!1))}]}async verifyAllUsers(e,t=new Date,r=L){const n=this.keyPacket,i=[];return await Promise.all(this.users.map((async s=>{const a=e?await s.verifyAllCertifications(e,t,r):[{keyID:n.getKeyID(),valid:await s.verify(t,r).catch((()=>!1))}];i.push(...a.map((e=>({userID:s.userID?s.userID.userID:null,userAttribute:s.userAttribute,keyID:e.keyID,valid:e.valid}))))}))),i}}["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","hasSameFingerprintAs"].forEach((e=>{ko.prototype[e]=bo.prototype[e]}));class So extends ko{constructor(e){if(super(),this.keyPacket=null,this.revocationSignatures=[],this.directSignatures=[],this.users=[],this.subkeys=[],e&&(this.packetListToStructure(e,new Set([N.packet.secretKey,N.packet.secretSubkey])),!this.keyPacket))throw new Error("Invalid key: missing public-key packet")}isPrivate(){return!1}toPublic(){return this}armor(e=L){const t=6!==this.keyPacket.version;return re(N.armor.publicKey,this.toPacketList().write(),void 0,void 0,void 0,t,e)}}class Io extends So{constructor(e){if(super(),this.packetListToStructure(e,new Set([N.packet.publicKey,N.packet.publicSubkey])),!this.keyPacket)throw new Error("Invalid key: missing private-key packet")}isPrivate(){return!0}toPublic(){const e=new ka,t=this.toPacketList();for(const r of t)switch(r.constructor.tag){case N.packet.secretKey:{const t=ja.fromSecretKeyPacket(r);e.push(t);break}case N.packet.secretSubkey:{const t=Ga.fromSecretSubkeyPacket(r);e.push(t);break}default:e.push(r)}return new So(e)}armor(e=L){const t=6!==this.keyPacket.version;return re(N.armor.privateKey,this.toPacketList().write(),void 0,void 0,void 0,t,e)}async getDecryptionKeys(e,t=new Date,r={},n=L){const i=this.keyPacket,s=[];let a=null;for(let r=0;re.isDecrypted()))}async validate(e=L){if(!this.isPrivate())throw new Error("Cannot validate a public key");let t;if(this.keyPacket.isDummy()){const r=await this.getSigningKey(null,null,void 0,{...e,rejectPublicKeyAlgorithms:new Set,minRSABits:0});r&&!r.keyPacket.isDummy()&&(t=r.keyPacket)}else t=this.keyPacket;if(t)return t.validate();{const e=this.getKeys();if(e.map((e=>e.keyPacket.isDummy())).every(Boolean))throw new Error("Cannot validate an all-gnu-dummy key");return Promise.all(e.map((async e=>e.keyPacket.validate())))}}clearPrivateParams(){this.getKeys().forEach((({keyPacket:e})=>{e.isDecrypted()&&e.clearPrivateParams()}))}async revoke({flag:e=N.reasonForRevocation.noReason,string:t=""}={},r=new Date,n=L){if(!this.isPrivate())throw new Error("Need private key for revoking");const i={key:this.keyPacket},s=this.clone();return s.revocationSignatures.push(await co(i,[],this.keyPacket,{signatureType:N.signature.keyRevocation,reasonForRevocationFlag:N.write(N.reasonForRevocation,e),reasonForRevocationString:t},r,void 0,void 0,void 0,n)),s}async addSubkey(e={}){const t={...L,...e.config};if(e.passphrase)throw new Error("Subkey could not be encrypted here, please encrypt whole key");if(e.rsaBitse!==t))]}function a(){const e={};e.keyFlags=[N.keyFlags.certifyKeys|N.keyFlags.signData];const t=s([N.symmetric.aes256,N.symmetric.aes128],n.preferredSymmetricAlgorithm);if(e.preferredSymmetricAlgorithms=t,n.aeadProtect){const r=s([N.aead.gcm,N.aead.eax,N.aead.ocb],n.preferredAEADAlgorithm);e.preferredCipherSuites=r.flatMap((e=>t.map((t=>[t,e]))))}return e.preferredHashAlgorithms=s([N.hash.sha512,N.hash.sha256,N.hash.sha3_512,N.hash.sha3_256],n.preferredHashAlgorithm),e.preferredCompressionAlgorithms=s([N.compression.uncompressed,N.compression.zlib,N.compression.zip],n.preferredCompressionAlgorithm),e.features=[0],e.features[0]|=N.features.modificationDetection,n.aeadProtect&&(e.features[0]|=N.features.seipdv2),r.keyExpirationTime>0&&(e.keyExpirationTime=r.keyExpirationTime,e.keyNeverExpires=!1),e}if(i.push(e),6===e.version){const t={key:e},s=a();s.signatureType=N.signature.key;const o=await co(t,[],e,s,r.date,void 0,void 0,void 0,n);i.push(o)}await Promise.all(r.userIDs.map((async function(t,i){const s=Wa.fromObject(t),o={userID:s,key:e},c=6!==e.version?a():{};return c.signatureType=N.signature.certPositive,0===i&&(c.isPrimaryUserID=!0),{userIDPacket:s,signaturePacket:await co(o,[],e,c,r.date,void 0,void 0,void 0,n)}}))).then((e=>{e.forEach((({userIDPacket:e,signaturePacket:t})=>{i.push(e),i.push(t)}))})),await Promise.all(t.map((async function(t,i){const s=r.subkeys[i];return{secretSubkeyPacket:t,subkeySignaturePacket:await oo(t,e,s,n)}}))).then((e=>{e.forEach((({secretSubkeyPacket:e,subkeySignaturePacket:t})=>{i.push(e),i.push(t)}))}));const o={key:e};return i.push(await co(o,[],e,{signatureType:N.signature.keyRevocation,reasonForRevocationFlag:N.reasonForRevocation.noReason,reasonForRevocationString:""},r.date,void 0,void 0,void 0,n)),r.passphrase&&e.clearPrivateParams(),await Promise.all(t.map((async function(e,t){r.subkeys[t].passphrase&&e.clearPrivateParams()}))),new Io(i)}async function Po({armoredKey:e,binaryKey:t,config:r,...n}){if(r={...L,...r},!e&&!t)throw new Error("readKey: must pass options object containing `armoredKey` or `binaryKey`");if(e&&!_.isString(e))throw new Error("readKey: options.armoredKey must be a string");if(t&&!_.isUint8Array(t))throw new Error("readKey: options.binaryKey must be a Uint8Array");const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);let s;if(e){const{type:t,data:r}=await te(e);if(t!==N.armor.publicKey&&t!==N.armor.privateKey)throw new Error("Armored text not of type key");s=r}else s=t;const a=await ka.fromBinary(s,Co,r),o=a.indexOfTag(N.packet.publicKey,N.packet.secretKey);if(0===o.length)throw new Error("No key packet found");return Bo(a.slice(o[0],o[1]))}async function Do({armoredKey:e,binaryKey:t,config:r,...n}){if(r={...L,...r},!e&&!t)throw new Error("readPrivateKey: must pass options object containing `armoredKey` or `binaryKey`");if(e&&!_.isString(e))throw new Error("readPrivateKey: options.armoredKey must be a string");if(t&&!_.isUint8Array(t))throw new Error("readPrivateKey: options.binaryKey must be a Uint8Array");const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);let s;if(e){const{type:t,data:r}=await te(e);if(t!==N.armor.privateKey)throw new Error("Armored text not of type private key");s=r}else s=t;const a=await ka.fromBinary(s,Co,r),o=a.indexOfTag(N.packet.publicKey,N.packet.secretKey);for(let e=0;e0)throw new Error(`Unknown option: ${s.join(", ")}`);if(e){const{type:t,data:r}=await te(e);if(t!==N.armor.publicKey&&t!==N.armor.privateKey)throw new Error("Armored text not of type key");i=r}const a=[],o=await ka.fromBinary(i,Co,r),c=o.indexOfTag(N.packet.publicKey,N.packet.secretKey);if(0===c.length)throw new Error("No key packet found");for(let e=0;e0?t.map((e=>e.issuerKeyID)):e.packets.filterByTag(N.packet.signature).map((e=>e.issuerKeyID))}async decrypt(e,t,r,n=new Date,i=L){const s=this.packets.filterByTag(N.packet.symmetricallyEncryptedData,N.packet.symEncryptedIntegrityProtectedData,N.packet.aeadEncryptedData);if(0===s.length)throw new Error("No encrypted data found");const a=s[0],o=a.cipherAlgorithm,c=r||await this.decryptSessionKeys(e,t,o,n,i);let u=null;const l=Promise.all(c.map((async({algorithm:e,data:t})=>{if(!_.isUint8Array(t)||!a.cipherAlgorithm&&!_.isString(e))throw new Error("Invalid session key for decryption.");try{const r=a.cipherAlgorithm||N.write(N.symmetric,e);await a.decrypt(r,t,i)}catch(e){_.printDebugError(e),u=e}})));if(U(a.encrypted),a.encrypted=null,await l,!a.packets||!a.packets.length)throw u||new Error("Decryption failed.");const h=new Ro(a.packets);return a.packets=new ka,h}async decryptSessionKeys(e,t,r,n=new Date,i=L){let s,a=[];if(t){const e=this.packets.filterByTag(N.packet.symEncryptedSessionKey);if(0===e.length)throw new Error("No symmetrically encrypted session key packet found.");await Promise.all(t.map((async function(t,r){let n;n=r?await ka.fromBinary(e.write(),Oo,i):e,await Promise.all(n.map((async function(e){try{await e.decrypt(t),a.push(e)}catch(e){_.printDebugError(e),e instanceof hs&&(s=e)}})))})))}else{if(!e)throw new Error("No key or password specified.");{const t=this.packets.filterByTag(N.packet.publicKeyEncryptedSessionKey);if(0===t.length)throw new Error("No public key encrypted session key packet found.");await Promise.all(t.map((async function(t){await Promise.all(e.map((async function(e){let o;try{o=(await e.getDecryptionKeys(t.publicKeyID,null,void 0,i)).map((e=>e.keyPacket))}catch(e){return void(s=e)}let c=[N.symmetric.aes256,N.symmetric.aes128,N.symmetric.tripledes,N.symmetric.cast5];try{const t=await e.getPrimarySelfSignature(n,void 0,i);t.preferredSymmetricAlgorithms&&(c=c.concat(t.preferredSymmetricAlgorithms))}catch(e){}await Promise.all(o.map((async function(e){if(!e.isDecrypted())throw new Error("Decryption key is not decrypted.");if(!i.constantTimePKCS1Decryption||t.publicKeyAlgorithm!==N.publicKey.rsaEncrypt&&t.publicKeyAlgorithm!==N.publicKey.rsaEncryptSign&&t.publicKeyAlgorithm!==N.publicKey.rsaSign&&t.publicKeyAlgorithm!==N.publicKey.elgamal)try{await t.decrypt(e);const n=r||t.sessionKeyAlgorithm;if(n&&!c.includes(N.write(N.symmetric,n)))throw new Error("A non-preferred symmetric algorithm was used.");a.push(t)}catch(e){_.printDebugError(e),s=e}else{const n=t.write();await Promise.all((r?[r]:Array.from(i.constantTimePKCS1DecryptionSupportedSymmetricAlgorithms)).map((async t=>{const r=new Fa;r.read(n);const i={sessionKeyAlgorithm:t,sessionKey:Ei(t)};try{await r.decrypt(e,i),a.push(r)}catch(e){_.printDebugError(e),s=e}})))}})))}))),U(t.encrypted),t.encrypted=null})))}}if(a.length>0){if(a.length>1){const e=new Set;a=a.filter((t=>{const r=t.sessionKeyAlgorithm+_.uint8ArrayToString(t.sessionKey);return!e.has(r)&&(e.add(r),!0)}))}return a.map((e=>({data:e.sessionKey,algorithm:e.sessionKeyAlgorithm&&N.read(N.symmetric,e.sessionKeyAlgorithm)})))}throw s||new Error("Session key decryption failed.")}getLiteralData(){const e=this.unwrapCompressed().packets.findPacket(N.packet.literalData);return e&&e.getBytes()||null}getFilename(){const e=this.unwrapCompressed().packets.findPacket(N.packet.literalData);return e&&e.getFilename()||null}getText(){const e=this.unwrapCompressed().packets.findPacket(N.packet.literalData);return e?e.getText():null}static async generateSessionKey(e=[],t=new Date,r=[],n=L){const{symmetricAlgo:i,aeadAlgo:s}=await async function(e=[],t=new Date,r=[],n=L){const i=await Promise.all(e.map(((e,i)=>e.getPrimarySelfSignature(t,r[i],n))));if(e.length?i.every((e=>e.features&&e.features[0]&N.features.seipdv2)):n.aeadProtect){const e={symmetricAlgo:N.symmetric.aes128,aeadAlgo:N.aead.ocb},t=[{symmetricAlgo:n.preferredSymmetricAlgorithm,aeadAlgo:n.preferredAEADAlgorithm},{symmetricAlgo:n.preferredSymmetricAlgorithm,aeadAlgo:N.aead.ocb},{symmetricAlgo:N.symmetric.aes128,aeadAlgo:n.preferredAEADAlgorithm}];for(const e of t)if(i.every((t=>t.preferredCipherSuites&&t.preferredCipherSuites.some((t=>t[0]===e.symmetricAlgo&&t[1]===e.aeadAlgo)))))return e;return e}const s=N.symmetric.aes128,a=n.preferredSymmetricAlgorithm;return{symmetricAlgo:i.every((e=>e.preferredSymmetricAlgorithms&&e.preferredSymmetricAlgorithms.includes(a)))?a:s,aeadAlgo:void 0}}(e,t,r,n),a=N.read(N.symmetric,i),o=s?N.read(N.aead,s):void 0;return await Promise.all(e.map((e=>e.getEncryptionKey().catch((()=>null)).then((e=>{if(e&&(e.keyPacket.algorithm===N.publicKey.x25519||e.keyPacket.algorithm===N.publicKey.x448)&&!o&&!_.isAES(i))throw new Error("Could not generate a session key compatible with the given `encryptionKeys`: X22519 and X448 keys can only be used to encrypt AES session keys; change `config.preferredSymmetricAlgorithm` accordingly.")}))))),{data:Ei(i),algorithm:a,aeadAlgorithm:o}}async encrypt(e,t,r,n=!1,i=[],s=new Date,a=[],o=L){if(r){if(!_.isUint8Array(r.data)||!_.isString(r.algorithm))throw new Error("Invalid session key for encryption.")}else if(e&&e.length)r=await Ro.generateSessionKey(e,s,a,o);else{if(!t||!t.length)throw new Error("No keys, passwords, or session key provided.");r=await Ro.generateSessionKey(void 0,void 0,void 0,o)}const{data:c,algorithm:u,aeadAlgorithm:l}=r,h=await Ro.encryptSessionKey(c,u,l,e,t,n,i,s,a,o),f=Ma.fromObject({version:l?2:1,aeadAlgorithm:l?N.write(N.aead,l):null});f.packets=this.packets;const p=N.write(N.symmetric,u);return await f.encrypt(p,c,o),h.packets.push(f),f.packets=new ka,h}static async encryptSessionKey(e,t,r,n,i,s=!1,a=[],o=new Date,c=[],u=L){const l=new ka,h=N.write(N.symmetric,t),f=r&&N.write(N.aead,r);if(n){const t=await Promise.all(n.map((async function(t,r){const n=await t.getEncryptionKey(a[r],o,c,u),i=Fa.fromObject({version:f?6:3,encryptionKeyPacket:n.keyPacket,anonymousRecipient:s,sessionKey:e,sessionKeyAlgorithm:h});return await i.encrypt(n.keyPacket),delete i.sessionKey,i})));l.push(...t)}if(i){const t=async function(e,t){try{return await e.decrypt(t),1}catch(e){return 0}},r=(e,t)=>e+t,n=async function(e,s,a,o){const c=new Qa(u);return c.sessionKey=e,c.sessionKeyAlgorithm=s,a&&(c.aeadAlgorithm=a),await c.encrypt(o,u),u.passwordCollisionCheck&&1!==(await Promise.all(i.map((e=>t(c,e))))).reduce(r)?n(e,s,o):(delete c.sessionKey,c)},s=await Promise.all(i.map((t=>n(e,h,f,t))));l.push(...s)}return new Ro(l)}async sign(e=[],t=[],r=null,n=[],i=new Date,s=[],a=[],o=[],c=L){const u=new ka,l=this.packets.findPacket(N.packet.literalData);if(!l)throw new Error("No literal data packet to sign.");const h=await No(l,e,t,r,n,i,s,a,o,!1,c),f=h.map(((e,t)=>va.fromSignaturePacket(e,0===t))).reverse();return u.push(...f),u.push(l),u.push(...h),new Ro(u)}compress(e,t=L){if(e===N.compression.uncompressed)return this;const r=new xa(t);r.algorithm=e,r.packets=this.packets;const n=new ka;return n.push(r),new Ro(n)}async signDetached(e=[],t=[],r=null,n=[],i=[],s=new Date,a=[],o=[],c=L){const u=this.packets.findPacket(N.packet.literalData);if(!u)throw new Error("No literal data packet to sign.");return new to(await No(u,e,t,r,n,i,s,a,o,!0,c))}async verify(e,t=new Date,r=L){const n=this.unwrapCompressed(),i=n.packets.filterByTag(N.packet.literalData);if(1!==i.length)throw new Error("Can only verify message with one literal data packet.");let s=n.packets;l(s.stream)&&(s=s.concat(await T(s.stream,(e=>e||[]))));const a=s.filterByTag(N.packet.onePassSignature).reverse(),o=s.filterByTag(N.packet.signature);return a.length&&!o.length&&_.isStream(s.stream)&&!l(s.stream)?(await Promise.all(a.map((async e=>{e.correspondingSig=new Promise(((t,r)=>{e.correspondingSigResolve=t,e.correspondingSigReject=r})),e.signatureData=K((async()=>(await e.correspondingSig).signatureData)),e.hashed=T(await e.hash(e.signatureType,i[0],void 0,!1)),e.hashed.catch((()=>{}))}))),s.stream=I(s.stream,(async(e,t)=>{const r=O(e),n=M(t);try{for(let e=0;e{t.correspondingSigReject(e)})),await n.abort(e)}})),Lo(a,i,e,t,!1,r)):Lo(o,i,e,t,!1,r)}verifyDetached(e,t,r=new Date,n=L){const i=this.unwrapCompressed().packets.filterByTag(N.packet.literalData);if(1!==i.length)throw new Error("Can only verify message with one literal data packet.");return Lo(e.packets.filterByTag(N.packet.signature),i,t,r,!0,n)}unwrapCompressed(){const e=this.packets.filterByTag(N.packet.compressedData);return e.length?new Ro(e[0].packets):this}async appendSignature(e,t=L){await this.packets.read(_.isUint8Array(e)?e:(await te(e)).data,Mo,t)}write(){return this.packets.write()}armor(e=L){const t=this.packets[this.packets.length-1],r=t.constructor.tag===Ma.tag?2!==t.version:this.packets.some((e=>e.constructor.tag===wa.tag&&6!==e.version));return re(N.armor.message,this.write(),null,null,null,r,e)}}async function No(e,t,r=[],n=null,i=[],s=new Date,a=[],o=[],c=[],u=!1,l=L){const h=new ka,f=null===e.text?N.signature.binary:N.signature.text;if(await Promise.all(t.map((async(t,n)=>{const h=a[n];if(!t.isPrivate())throw new Error("Need private key for signing");const p=await t.getSigningKey(i[n],s,h,l);return co(e,r.length?r:[t],p.keyPacket,{signatureType:f},s,o,c,u,l)}))).then((e=>{h.push(...e)})),n){const e=n.packets.filterByTag(N.packet.signature);h.push(...e)}return h}async function Lo(e,t,r,n=new Date,i=!1,s=L){return Promise.all(e.filter((function(e){return["text","binary"].includes(N.read(N.signature,e.signatureType))})).map((async function(e){return async function(e,t,r,n=new Date,i=!1,s=L){let a,o;for(const t of r){const r=t.getKeys(e.issuerKeyID);if(r.length>0){a=t,o=r[0];break}}const c=e instanceof va?e.correspondingSig:e,u={keyID:e.issuerKeyID,verified:(async()=>{if(!o)throw new Error(`Could not find signing key with key ID ${e.issuerKeyID.toHex()}`);await e.verify(o.keyPacket,e.signatureType,t[0],n,i,s);const r=await c;if(o.getCreationTime()>r.created)throw new Error("Key is newer than the signature");try{await a.getSigningKey(o.getKeyID(),r.created,void 0,s)}catch(e){if(!s.allowInsecureVerificationWithReformattedKeys||!e.message.match(/Signature creation time is in the future/))throw e;await a.getSigningKey(o.getKeyID(),n,void 0,s)}return!0})(),signature:(async()=>{const e=await c,t=new ka;return e&&t.push(e),new to(t)})()};return u.signature.catch((()=>{})),u.verified.catch((()=>{})),u}(e,t,r,n,i,s)})))}async function Fo({armoredMessage:e,binaryMessage:t,config:r,...n}){r={...L,...r};let i=e||t;if(!i)throw new Error("readMessage: must pass options object containing `armoredMessage` or `binaryMessage`");if(e&&!_.isString(e)&&!_.isStream(e))throw new Error("readMessage: options.armoredMessage must be a string or stream");if(t&&!_.isUint8Array(t)&&!_.isStream(t))throw new Error("readMessage: options.binaryMessage must be a Uint8Array or stream");const s=Object.keys(n);if(s.length>0)throw new Error(`Unknown option: ${s.join(", ")}`);const a=_.isStream(i);if(e){const{type:e,data:t}=await te(i);if(e!==N.armor.message)throw new Error("Armored text not of type message");i=t}const o=await ka.fromBinary(i,Ko,r,new Ca),c=new Ro(o);return c.fromStream=a,c}async function _o({text:e,binary:t,filename:r,date:n=new Date,format:i=(void 0!==e?"utf8":"binary"),...s}){const a=void 0!==e?e:t;if(void 0===a)throw new Error("createMessage: must pass options object containing `text` or `binary`");if(e&&!_.isString(e)&&!_.isStream(e))throw new Error("createMessage: options.text must be a string or stream");if(t&&!_.isUint8Array(t)&&!_.isStream(t))throw new Error("createMessage: options.binary must be a Uint8Array or stream");const o=Object.keys(s);if(o.length>0)throw new Error(`Unknown option: ${o.join(", ")}`);const c=_.isStream(a),u=new pa(n);void 0!==e?u.setText(a,N.write(N.literal,i)):u.setBytes(a,N.write(N.literal,i)),void 0!==r&&u.setFilename(r);const l=new ka;l.push(u);const h=new Ro(l);return h.fromStream=c,h}const Qo=_.constructAllowedPackets([wa]);class jo{constructor(e,t){if(this.text=_.removeTrailingSpaces(e).replace(/\r?\n/g,"\r\n"),t&&!(t instanceof to))throw new Error("Invalid signature input");this.signature=t||new to(new ka)}getSigningKeyIDs(){const e=[];return this.signature.packets.forEach((function(t){e.push(t.issuerKeyID)})),e}async sign(e,t=[],r=null,n=[],i=new Date,s=[],a=[],o=[],c=L){const u=new pa;u.setText(this.text);const l=new to(await No(u,e,t,r,n,i,s,a,o,!0,c));return new jo(this.text,l)}verify(e,t=new Date,r=L){const n=this.signature.packets.filterByTag(N.packet.signature),i=new pa;return i.setText(this.text),Lo(n,[i],e,t,!0,r)}getText(){return this.text.replace(/\r\n/g,"\n")}armor(e=L){const t=this.signature.packets.some((e=>6!==e.version)),r={hash:t?Array.from(new Set(this.signature.packets.map((e=>N.read(N.hash,e.hashAlgorithm).toUpperCase())))).join():null,text:this.text,data:this.signature.packets.write()};return re(N.armor.signed,r,void 0,void 0,void 0,t,e)}}async function Ho({cleartextMessage:e,config:t,...r}){if(t={...L,...t},!e)throw new Error("readCleartextMessage: must pass options object containing `cleartextMessage`");if(!_.isString(e))throw new Error("readCleartextMessage: options.cleartextMessage must be a string");const n=Object.keys(r);if(n.length>0)throw new Error(`Unknown option: ${n.join(", ")}`);const i=await te(e);if(i.type!==N.armor.signed)throw new Error("No cleartext signed message.");const s=await ka.fromBinary(i.data,Qo,t);!function(e,t){const r=[];if(e.forEach((e=>{const t=e.match(/^Hash: (.+)$/);if(!t)throw new Error('Only "Hash" header allowed in cleartext signed message');{const e=t[1].replace(/\s/g,"").split(",").map((e=>{try{return N.write(N.hash,e.toLowerCase())}catch(t){throw new Error("Unknown hash algorithm in armor header: "+e.toLowerCase())}}));r.push(...e)}})),r.length&&!function(e){const r=e=>t=>e.hashAlgorithm===t;for(let n=0;n0)throw new Error(`Unknown option: ${r.join(", ")}`);return new jo(e)}async function zo({userIDs:e=[],passphrase:t,type:r,curve:n,rsaBits:i=4096,keyExpirationTime:s=0,date:a=new Date,subkeys:o=[{}],format:c="armored",config:u,...l}){oc(u={...L,...u}),r||n?(r=r||"ecc",n=n||"curve25519Legacy"):(r=u.v6Keys?"curve25519":"ecc",n="curve25519Legacy"),e=cc(e);const h=Object.keys(l);if(h.length>0)throw new Error(`Unknown option: ${h.join(", ")}`);if(0===e.length&&!u.v6Keys)throw new Error("UserIDs are required for V4 keys");if("rsa"===r&&ifo(e.subkeys[r],e)));let r=[io(e,t)];r=r.concat(e.subkeys.map((e=>no(e,t))));const n=await Promise.all(r),i=await xo(n[0],n.slice(1),e,t),s=await i.getRevocationCertificate(e.date,t);return i.revocationSignatures=[],{key:i,revocationCertificate:s}}(f,u);return e.getKeys().forEach((({keyPacket:e})=>mo(e,u))),{privateKey:hc(e,c,u),publicKey:hc(e.toPublic(),c,u),revocationCertificate:t}}catch(e){throw _.wrapError("Error generating keypair",e)}}async function Go({privateKey:e,userIDs:t=[],passphrase:r,keyExpirationTime:n=0,date:i,format:s="armored",config:a,...o}){oc(a={...L,...a}),t=cc(t);const c=Object.keys(o);if(c.length>0)throw new Error(`Unknown option: ${c.join(", ")}`);if(0===t.length&&6!==e.keyPacket.version)throw new Error("UserIDs are required for V4 keys");const u={privateKey:e,userIDs:t,passphrase:r,keyExpirationTime:n,date:i};try{const{key:e,revocationCertificate:t}=await async function(e,t){e=o(e);const{privateKey:r}=e;if(!r.isPrivate())throw new Error("Cannot reformat a public key");if(r.keyPacket.isDummy())throw new Error("Cannot reformat a gnu-dummy primary key");if(!r.getKeys().every((({keyPacket:e})=>e.isDecrypted())))throw new Error("Key is not decrypted");const n=r.keyPacket;e.subkeys||(e.subkeys=await Promise.all(r.subkeys.map((async e=>{const r=e.keyPacket,i={key:n,bind:r},s=await so(e.bindingSignatures,n,N.signature.subkeyBinding,i,null,t).catch((()=>({})));return{sign:s.keyFlags&&s.keyFlags[0]&N.keyFlags.signData}}))));const i=r.subkeys.map((e=>e.keyPacket));if(e.subkeys.length!==i.length)throw new Error("Number of subkey options does not match number of subkeys");e.subkeys=e.subkeys.map((t=>o(t,e)));const s=await xo(n,i,e,t),a=await s.getRevocationCertificate(e.date,t);return s.revocationSignatures=[],{key:s,revocationCertificate:a};function o(e,t={}){return e.keyExpirationTime=e.keyExpirationTime||t.keyExpirationTime,e.passphrase=_.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e}}(u,a);return{privateKey:hc(e,s,a),publicKey:hc(e.toPublic(),s,a),revocationCertificate:t}}catch(e){throw _.wrapError("Error reformatting keypair",e)}}async function Vo({key:e,revocationCertificate:t,reasonForRevocation:r,date:n=new Date,format:i="armored",config:s,...a}){oc(s={...L,...s});const o=Object.keys(a);if(o.length>0)throw new Error(`Unknown option: ${o.join(", ")}`);try{const a=t?await e.applyRevocationCertificate(t,n,s):await e.revoke(r,n,s);return a.isPrivate()?{privateKey:hc(a,i,s),publicKey:hc(a.toPublic(),i,s)}:{privateKey:null,publicKey:hc(a,i,s)}}catch(e){throw _.wrapError("Error revoking key",e)}}async function Jo({privateKey:e,passphrase:t,config:r,...n}){oc(r={...L,...r});const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);if(!e.isPrivate())throw new Error("Cannot decrypt a public key");const s=e.clone(!0),a=_.isArray(t)?t:[t];try{return await Promise.all(s.getKeys().map((e=>_.anyPromise(a.map((t=>e.keyPacket.decrypt(t))))))),await s.validate(r),s}catch(e){throw s.clearPrivateParams(),_.wrapError("Error decrypting private key",e)}}async function $o({privateKey:e,passphrase:t,config:r,...n}){oc(r={...L,...r});const i=Object.keys(n);if(i.length>0)throw new Error(`Unknown option: ${i.join(", ")}`);if(!e.isPrivate())throw new Error("Cannot encrypt a public key");const s=e.clone(!0),a=s.getKeys(),o=_.isArray(t)?t:new Array(a.length).fill(t);if(o.length!==a.length)throw new Error("Invalid number of passphrases given for key encryption");try{return await Promise.all(a.map((async(e,t)=>{const{keyPacket:n}=e;await n.encrypt(o[t],r),n.clearPrivateParams()}))),s}catch(e){throw s.clearPrivateParams(),_.wrapError("Error encrypting private key",e)}}async function Wo({message:e,encryptionKeys:t,signingKeys:r,passwords:n,sessionKey:i,format:s="armored",signature:a=null,wildcard:o=!1,signingKeyIDs:c=[],encryptionKeyIDs:u=[],date:l=new Date,signingUserIDs:h=[],encryptionUserIDs:f=[],signatureNotations:p=[],config:d,...g}){if(oc(d={...L,...d}),nc(e),sc(s),t=cc(t),r=cc(r),n=cc(n),c=cc(c),u=cc(u),h=cc(h),f=cc(f),p=cc(p),g.detached)throw new Error("The `detached` option has been removed from openpgp.encrypt, separately call openpgp.sign instead. Don't forget to remove the `privateKeys` option as well.");if(g.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.encrypt, pass `encryptionKeys` instead");if(g.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.encrypt, pass `signingKeys` instead");if(void 0!==g.armor)throw new Error("The `armor` option has been removed from openpgp.encrypt, pass `format` instead.");const y=Object.keys(g);if(y.length>0)throw new Error(`Unknown option: ${y.join(", ")}`);r||(r=[]);try{if((r.length||a)&&(e=await e.sign(r,t,a,c,l,h,u,p,d)),e=e.compress(await async function(e=[],t=new Date,r=[],n=L){const i=N.compression.uncompressed,s=n.preferredCompressionAlgorithm,a=await Promise.all(e.map((async function(e,i){const a=(await e.getPrimarySelfSignature(t,r[i],n)).preferredCompressionAlgorithms;return!!a&&a.indexOf(s)>=0})));return a.every(Boolean)?s:i}(t,l,f,d),d),e=await e.encrypt(t,n,i,o,u,l,f,d),"object"===s)return e;const g="armored"===s?e.armor(d):e.write();return await uc(g)}catch(e){throw _.wrapError("Error encrypting message",e)}}async function Yo({message:e,decryptionKeys:t,passwords:r,sessionKeys:n,verificationKeys:i,expectSigned:s=!1,format:a="utf8",signature:o=null,date:c=new Date,config:u,...l}){if(oc(u={...L,...u}),nc(e),i=cc(i),t=cc(t),r=cc(r),n=cc(n),l.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.decrypt, pass `decryptionKeys` instead");if(l.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.decrypt, pass `verificationKeys` instead");const h=Object.keys(l);if(h.length>0)throw new Error(`Unknown option: ${h.join(", ")}`);try{const l=await e.decrypt(t,r,n,c,u);i||(i=[]);const h={};if(h.signatures=o?await l.verifyDetached(o,i,c,u):await l.verify(i,c,u),h.data="binary"===a?l.getLiteralData():l.getText(),h.filename=l.getFilename(),lc(h,e,...new Set([l,l.unwrapCompressed()])),s){if(0===i.length)throw new Error("Verification keys are required to verify message signatures");if(0===h.signatures.length)throw new Error("Message is not signed");h.data=A([h.data,K((async()=>(await _.anyPromise(h.signatures.map((e=>e.verified))),"binary"===a?new Uint8Array:"")))])}return h.data=await uc(h.data),h}catch(e){throw _.wrapError("Error decrypting message",e)}}async function Zo({message:e,signingKeys:t,recipientKeys:r=[],format:n="armored",detached:i=!1,signingKeyIDs:s=[],date:a=new Date,signingUserIDs:o=[],recipientUserIDs:c=[],signatureNotations:u=[],config:l,...h}){if(oc(l={...L,...l}),ic(e),sc(n),t=cc(t),s=cc(s),o=cc(o),r=cc(r),c=cc(c),u=cc(u),h.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.sign, pass `signingKeys` instead");if(void 0!==h.armor)throw new Error("The `armor` option has been removed from openpgp.sign, pass `format` instead.");const f=Object.keys(h);if(f.length>0)throw new Error(`Unknown option: ${f.join(", ")}`);if(e instanceof jo&&"binary"===n)throw new Error("Cannot return signed cleartext message in binary format");if(e instanceof jo&&i)throw new Error("Cannot detach-sign a cleartext message");if(!t||0===t.length)throw new Error("No signing keys provided");try{let h;return h=i?await e.signDetached(t,r,void 0,s,a,o,c,u,l):await e.sign(t,r,void 0,s,a,o,c,u,l),"object"===n?h:(h="armored"===n?h.armor(l):h.write(),i&&(h=I(e.packets.write(),(async(e,t)=>{await Promise.all([v(h,t),T(e).catch((()=>{}))])}))),await uc(h))}catch(e){throw _.wrapError("Error signing message",e)}}async function Xo({message:e,verificationKeys:t,expectSigned:r=!1,format:n="utf8",signature:i=null,date:s=new Date,config:a,...o}){if(oc(a={...L,...a}),ic(e),t=cc(t),o.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.verify, pass `verificationKeys` instead");const c=Object.keys(o);if(c.length>0)throw new Error(`Unknown option: ${c.join(", ")}`);if(e instanceof jo&&"binary"===n)throw new Error("Can't return cleartext message data as binary");if(e instanceof jo&&i)throw new Error("Can't verify detached cleartext signature");try{const o={};if(o.signatures=i?await e.verifyDetached(i,t,s,a):await e.verify(t,s,a),o.data="binary"===n?e.getLiteralData():e.getText(),e.fromStream&&!i&&lc(o,...new Set([e,e.unwrapCompressed()])),r){if(0===o.signatures.length)throw new Error("Message is not signed");o.data=A([o.data,K((async()=>(await _.anyPromise(o.signatures.map((e=>e.verified))),"binary"===n?new Uint8Array:"")))])}return o.data=await uc(o.data),o}catch(e){throw _.wrapError("Error verifying signed message",e)}}async function ec({encryptionKeys:e,date:t=new Date,encryptionUserIDs:r=[],config:n,...i}){if(oc(n={...L,...n}),e=cc(e),r=cc(r),i.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.generateSessionKey, pass `encryptionKeys` instead");const s=Object.keys(i);if(s.length>0)throw new Error(`Unknown option: ${s.join(", ")}`);try{return await Ro.generateSessionKey(e,t,r,n)}catch(e){throw _.wrapError("Error generating session key",e)}}async function tc({data:e,algorithm:t,aeadAlgorithm:r,encryptionKeys:n,passwords:i,format:s="armored",wildcard:a=!1,encryptionKeyIDs:o=[],date:c=new Date,encryptionUserIDs:u=[],config:l,...h}){if(oc(l={...L,...l}),function(e){if(!_.isUint8Array(e))throw new Error("Parameter [data] must be of type Uint8Array")}(e),function(e){if(!_.isString(e))throw new Error("Parameter [algorithm] must be of type String")}(t),sc(s),n=cc(n),i=cc(i),o=cc(o),u=cc(u),h.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.encryptSessionKey, pass `encryptionKeys` instead");const f=Object.keys(h);if(f.length>0)throw new Error(`Unknown option: ${f.join(", ")}`);if(!(n&&0!==n.length||i&&0!==i.length))throw new Error("No encryption keys or passwords provided.");try{return hc(await Ro.encryptSessionKey(e,t,r,n,i,a,o,c,u,l),s,l)}catch(e){throw _.wrapError("Error encrypting session key",e)}}async function rc({message:e,decryptionKeys:t,passwords:r,date:n=new Date,config:i,...s}){if(oc(i={...L,...i}),nc(e),t=cc(t),r=cc(r),s.privateKeys)throw new Error("The `privateKeys` option has been removed from openpgp.decryptSessionKeys, pass `decryptionKeys` instead");const a=Object.keys(s);if(a.length>0)throw new Error(`Unknown option: ${a.join(", ")}`);try{return await e.decryptSessionKeys(t,r,void 0,n,i)}catch(e){throw _.wrapError("Error decrypting session keys",e)}}function nc(e){if(!(e instanceof Ro))throw new Error("Parameter [message] needs to be of type Message")}function ic(e){if(!(e instanceof jo||e instanceof Ro))throw new Error("Parameter [message] needs to be of type Message or CleartextMessage")}function sc(e){if("armored"!==e&&"binary"!==e&&"object"!==e)throw new Error(`Unsupported format ${e}`)}const ac=Object.keys(L).length;function oc(e){const t=Object.keys(e);if(t.length!==ac)for(const e of t)if(void 0===L[e])throw new Error(`Unknown config property: ${e}`)}function cc(e){return e&&!_.isArray(e)&&(e=[e]),e}async function uc(e){return"array"===_.isStream(e)?T(e):e}function lc(e,t,...r){e.data=I(t.packets.stream,(async(t,n)=>{await v(e.data,n,{preventClose:!0});const i=M(n);try{await T(t,(e=>e)),await Promise.all(r.map((e=>T(e.packets.stream,(e=>e))))),await i.close()}catch(e){await i.abort(e)}}))}function hc(e,t,r){switch(t){case"object":return e;case"armored":return e.armor(r);case"binary":return e.write();default:throw new Error(`Unsupported format ${t}`)}}const fc="object"==typeof n&&"crypto"in n?n.crypto:void 0;function pc(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function dc(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function gc(e,...t){if(!pc(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function yc(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function mc(e,t){gc(e);const r=t.outputLen;if(e.length>>t}function vc(e,t){return e<>>32-t>>>0}const Ec=(()=>68===new Uint8Array(new Uint32Array([287454020]).buffer)[0])()?e=>e:function(e){for(let r=0;r>>8&65280|t>>>24&255;var t;return e},kc=(()=>"function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex)(),Sc=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function Ic(e){if(gc(e),kc)return e.toHex();let t="";for(let r=0;r=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function Bc(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);if(kc)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let t=0,i=0;te().update(Pc(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}const Kc=Uc;function Oc(e=32){if(fc&&"function"==typeof fc.getRandomValues)return fc.getRandomValues(new Uint8Array(e));if(fc&&"function"==typeof fc.randomBytes)return Uint8Array.from(fc.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}const Mc=BigInt(0),Rc=BigInt(1);function Nc(e,t){if("boolean"!=typeof t)throw new Error(e+" boolean expected, got "+t)}function Lc(e){const t=e.toString(16);return 1&t.length?"0"+t:t}function Fc(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return""===e?Mc:BigInt("0x"+e)}function _c(e){return Fc(Ic(e))}function Qc(e){return gc(e),Fc(Ic(Uint8Array.from(e).reverse()))}function jc(e,t){return Bc(e.toString(16).padStart(2*t,"0"))}function Hc(e,t){return jc(e,t).reverse()}function qc(e,t,r){let n;if("string"==typeof t)try{n=Bc(t)}catch(t){throw new Error(e+" must be hex string or Uint8Array, cause: "+t)}else{if(!pc(t))throw new Error(e+" must be hex string or Uint8Array");n=Uint8Array.from(t)}const i=n.length;if("number"==typeof r&&i!==r)throw new Error(e+" of length "+r+" expected, got "+i);return n}const zc=e=>"bigint"==typeof e&&Mc<=e;function Gc(e,t,r,n){if(!function(e,t,r){return zc(e)&&zc(t)&&zc(r)&&t<=e&&e(Rc<n(e,t,!1))),Object.entries(r).forEach((([e,t])=>n(e,t,!0)))}function $c(e){const t=new WeakMap;return(r,...n)=>{const i=t.get(r);if(void 0!==i)return i;const s=e(r,...n);return t.set(r,s),s}}const Wc=BigInt(0),Yc=BigInt(1),Zc=BigInt(2),Xc=BigInt(3),eu=BigInt(4),tu=BigInt(5),ru=BigInt(8);function nu(e,t){const r=e%t;return r>=Wc?r:t+r}function iu(e,t,r){let n=e;for(;t-- >Wc;)n*=n,n%=r;return n}function su(e,t){if(e===Wc)throw new Error("invert: expected non-zero number");if(t<=Wc)throw new Error("invert: expected positive modulus, got "+t);let r=nu(e,t),n=t,i=Wc,s=Yc;for(;r!==Wc;){const e=n%r,t=i-s*(n/r);n=r,r=e,i=s,s=t}if(n!==Yc)throw new Error("invert: does not exist");return nu(i,t)}function au(e,t){const r=(e.ORDER+Yc)/eu,n=e.pow(t,r);if(!e.eql(e.sqr(n),t))throw new Error("Cannot find square root");return n}function ou(e,t){const r=(e.ORDER-tu)/ru,n=e.mul(t,Zc),i=e.pow(n,r),s=e.mul(t,i),a=e.mul(e.mul(s,Zc),i),o=e.mul(s,e.sub(a,e.ONE));if(!e.eql(e.sqr(o),t))throw new Error("Cannot find square root");return o}const cu=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function uu(e,t,r=!1){const n=new Array(t.length).fill(r?e.ZERO:void 0),i=t.reduce(((t,r,i)=>e.is0(r)?t:(n[i]=t,e.mul(t,r))),e.ONE),s=e.inv(i);return t.reduceRight(((t,r,i)=>e.is0(r)?t:(n[i]=e.mul(t,n[i]),e.mul(t,r))),s),n}function lu(e,t){const r=(e.ORDER-Yc)/Zc,n=e.pow(t,r),i=e.eql(n,e.ONE),s=e.eql(n,e.ZERO),a=e.eql(n,e.neg(e.ONE));if(!i&&!s&&!a)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function hu(e,t,r=!1,n={}){if(e<=Wc)throw new Error("invalid field: expected ORDER > 0, got "+e);let i,s;if("object"==typeof t&&null!=t){if(n.sqrt||r)throw new Error("cannot specify opts in two arguments");const e=t;e.BITS&&(i=e.BITS),e.sqrt&&(s=e.sqrt),"boolean"==typeof e.isLE&&(r=e.isLE)}else"number"==typeof t&&(i=t),n.sqrt&&(s=n.sqrt);const{nBitLength:a,nByteLength:o}=function(e,t){void 0!==t&&dc(t);const r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}(e,i);if(o>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const u=Object.freeze({ORDER:e,isLE:r,BITS:a,BYTES:o,MASK:Vc(a),ZERO:Wc,ONE:Yc,create:t=>nu(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("invalid field element: expected bigint, got "+typeof t);return Wc<=t&&te===Wc,isValidNot0:e=>!u.is0(e)&&u.isValid(e),isOdd:e=>(e&Yc)===Yc,neg:t=>nu(-t,e),eql:(e,t)=>e===t,sqr:t=>nu(t*t,e),add:(t,r)=>nu(t+r,e),sub:(t,r)=>nu(t-r,e),mul:(t,r)=>nu(t*r,e),pow:(e,t)=>function(e,t,r){if(rWc;)r&Yc&&(n=e.mul(n,i)),i=e.sqr(i),r>>=Yc;return n}(u,e,t),div:(t,r)=>nu(t*su(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>su(t,e),sqrt:s||(t=>{return c||(c=(r=e)%eu===Xc?au:r%ru===tu?ou:function(e){if(e1e3)throw new Error("Cannot find square root: probably non-prime P");if(1===r)return au;let s=i.pow(n,t);const a=(t+Yc)/Zc;return function(e,n){if(e.is0(n))return n;if(1!==lu(e,n))throw new Error("Cannot find square root");let i=r,o=e.mul(e.ONE,s),c=e.pow(n,t),u=e.pow(n,a);for(;!e.eql(c,e.ONE);){if(e.is0(c))return e.ZERO;let t=1,r=e.sqr(c);for(;!e.eql(r,e.ONE);)if(t++,r=e.sqr(r),t===i)throw new Error("Cannot find square root");const n=Yc<r?Hc(e,o):jc(e,o),fromBytes:e=>{if(e.length!==o)throw new Error("Field.fromBytes: expected "+o+" bytes, got "+e.length);return r?Qc(e):_c(e)},invertBatch:e=>uu(u,e),cmov:(e,t,r)=>r?t:e});return Object.freeze(u)}function fu(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function pu(e){const t=fu(e);return t+Math.ceil(t/2)}function du(e,t,r){return e&t^~e&r}function gu(e,t,r){return e&t^e&r^t&r}class yu extends Tc{constructor(e,t,r,n){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.buffer=new Uint8Array(e),this.view=bc(this.buffer)}update(e){yc(this),gc(e=Pc(e));const{view:t,buffer:r,blockLen:n}=this,i=e.length;for(let s=0;sn-s&&(this.process(r,0),s=0);for(let e=s;e>i&s),o=Number(r&s),c=n?4:0,u=n?0:4;e.setUint32(t+c,a,n),e.setUint32(t+u,o,n)}(r,n-8,BigInt(8*this.length),i),this.process(r,0);const a=bc(e),o=this.outputLen;if(o%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const c=o/4,u=this.get();if(c>u.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e>Eu&vu)}:{h:0|Number(e>>Eu&vu),l:0|Number(e&vu)}}function Su(e,t=!1){const r=e.length;let n=new Uint32Array(r),i=new Uint32Array(r);for(let s=0;se>>>r,Cu=(e,t,r)=>e<<32-r|t>>>r,Bu=(e,t,r)=>e>>>r|t<<32-r,xu=(e,t,r)=>e<<32-r|t>>>r,Pu=(e,t,r)=>e<<64-r|t>>>r-32,Du=(e,t,r)=>e>>>r-32|t<<64-r;function Tu(e,t,r,n){const i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:0|i}}const Uu=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),Ku=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,Ou=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),Mu=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0,Ru=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),Nu=(e,t,r,n,i,s)=>t+r+n+i+s+(e/2**32|0)|0,Lu=Uint32Array.from([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]),Fu=new Uint32Array(64);class _u extends yu{constructor(e=32){super(64,e,8,!1),this.A=0|mu[0],this.B=0|mu[1],this.C=0|mu[2],this.D=0|mu[3],this.E=0|mu[4],this.F=0|mu[5],this.G=0|mu[6],this.H=0|mu[7]}get(){const{A:e,B:t,C:r,D:n,E:i,F:s,G:a,H:o}=this;return[e,t,r,n,i,s,a,o]}set(e,t,r,n,i,s,a,o){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|s,this.G=0|a,this.H=0|o}process(e,t){for(let r=0;r<16;r++,t+=4)Fu[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){const t=Fu[e-15],r=Fu[e-2],n=Ac(t,7)^Ac(t,18)^t>>>3,i=Ac(r,17)^Ac(r,19)^r>>>10;Fu[e]=i+Fu[e-7]+n+Fu[e-16]|0}let{A:r,B:n,C:i,D:s,E:a,F:o,G:c,H:u}=this;for(let e=0;e<64;e++){const t=u+(Ac(a,6)^Ac(a,11)^Ac(a,25))+du(a,o,c)+Lu[e]+Fu[e]|0,l=(Ac(r,2)^Ac(r,13)^Ac(r,22))+gu(r,n,i)|0;u=c,c=o,o=a,a=s+t|0,s=i,i=n,n=r,r=t+l|0}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,s=s+this.D|0,a=a+this.E|0,o=o+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(r,n,i,s,a,o,c,u)}roundClean(){wc(Fu)}destroy(){this.set(0,0,0,0,0,0,0,0),wc(this.buffer)}}class Qu extends _u{constructor(){super(28),this.A=0|wu[0],this.B=0|wu[1],this.C=0|wu[2],this.D=0|wu[3],this.E=0|wu[4],this.F=0|wu[5],this.G=0|wu[6],this.H=0|wu[7]}}const ju=(()=>Su(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))))(),Hu=(()=>ju[0])(),qu=(()=>ju[1])(),zu=new Uint32Array(80),Gu=new Uint32Array(80);class Vu extends yu{constructor(e=64){super(128,e,16,!1),this.Ah=0|Au[0],this.Al=0|Au[1],this.Bh=0|Au[2],this.Bl=0|Au[3],this.Ch=0|Au[4],this.Cl=0|Au[5],this.Dh=0|Au[6],this.Dl=0|Au[7],this.Eh=0|Au[8],this.El=0|Au[9],this.Fh=0|Au[10],this.Fl=0|Au[11],this.Gh=0|Au[12],this.Gl=0|Au[13],this.Hh=0|Au[14],this.Hl=0|Au[15]}get(){const{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:s,Dh:a,Dl:o,Eh:c,El:u,Fh:l,Fl:h,Gh:f,Gl:p,Hh:d,Hl:g}=this;return[e,t,r,n,i,s,a,o,c,u,l,h,f,p,d,g]}set(e,t,r,n,i,s,a,o,c,u,l,h,f,p,d,g){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|s,this.Dh=0|a,this.Dl=0|o,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|h,this.Gh=0|f,this.Gl=0|p,this.Hh=0|d,this.Hl=0|g}process(e,t){for(let r=0;r<16;r++,t+=4)zu[r]=e.getUint32(t),Gu[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){const t=0|zu[e-15],r=0|Gu[e-15],n=Bu(t,r,1)^Bu(t,r,8)^Iu(t,0,7),i=xu(t,r,1)^xu(t,r,8)^Cu(t,r,7),s=0|zu[e-2],a=0|Gu[e-2],o=Bu(s,a,19)^Pu(s,a,61)^Iu(s,0,6),c=xu(s,a,19)^Du(s,a,61)^Cu(s,a,6),u=Ou(i,c,Gu[e-7],Gu[e-16]),l=Mu(u,n,o,zu[e-7],zu[e-16]);zu[e]=0|l,Gu[e]=0|u}let{Ah:r,Al:n,Bh:i,Bl:s,Ch:a,Cl:o,Dh:c,Dl:u,Eh:l,El:h,Fh:f,Fl:p,Gh:d,Gl:g,Hh:y,Hl:m}=this;for(let e=0;e<80;e++){const t=Bu(l,h,14)^Bu(l,h,18)^Pu(l,h,41),w=xu(l,h,14)^xu(l,h,18)^Du(l,h,41),b=l&f^~l&d,A=Ru(m,w,h&p^~h&g,qu[e],Gu[e]),v=Nu(A,y,t,b,Hu[e],zu[e]),E=0|A,k=Bu(r,n,28)^Pu(r,n,34)^Pu(r,n,39),S=xu(r,n,28)^Du(r,n,34)^Du(r,n,39),I=r&i^r&a^i&a,C=n&s^n&o^s&o;y=0|d,m=0|g,d=0|f,g=0|p,f=0|l,p=0|h,({h:l,l:h}=Tu(0|c,0|u,0|v,0|E)),c=0|a,u=0|o,a=0|i,o=0|s,i=0|r,s=0|n;const B=Uu(E,S,C);r=Ku(B,v,k,I),n=0|B}({h:r,l:n}=Tu(0|this.Ah,0|this.Al,0|r,0|n)),({h:i,l:s}=Tu(0|this.Bh,0|this.Bl,0|i,0|s)),({h:a,l:o}=Tu(0|this.Ch,0|this.Cl,0|a,0|o)),({h:c,l:u}=Tu(0|this.Dh,0|this.Dl,0|c,0|u)),({h:l,l:h}=Tu(0|this.Eh,0|this.El,0|l,0|h)),({h:f,l:p}=Tu(0|this.Fh,0|this.Fl,0|f,0|p)),({h:d,l:g}=Tu(0|this.Gh,0|this.Gl,0|d,0|g)),({h:y,l:m}=Tu(0|this.Hh,0|this.Hl,0|y,0|m)),this.set(r,n,i,s,a,o,c,u,l,h,f,p,d,g,y,m)}roundClean(){wc(zu,Gu)}destroy(){wc(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class Ju extends Vu{constructor(){super(48),this.Ah=0|bu[0],this.Al=0|bu[1],this.Bh=0|bu[2],this.Bl=0|bu[3],this.Ch=0|bu[4],this.Cl=0|bu[5],this.Dh=0|bu[6],this.Dl=0|bu[7],this.Eh=0|bu[8],this.El=0|bu[9],this.Fh=0|bu[10],this.Fl=0|bu[11],this.Gh=0|bu[12],this.Gl=0|bu[13],this.Hh=0|bu[14],this.Hl=0|bu[15]}}const $u=Uc((()=>new _u)),Wu=Uc((()=>new Qu)),Yu=Uc((()=>new Vu)),Zu=Uc((()=>new Ju));class Xu extends Tc{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,function(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.createHasher");dc(e.outputLen),dc(e.blockLen)}(e);const r=Pc(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let e=0;enew Xu(e,t).update(r).digest();el.create=(e,t)=>new Xu(e,t);const tl=BigInt(0),rl=BigInt(1);function nl(e,t){const r=t.negate();return e?r:t}function il(e,t,r){const n="pz"===t?e=>e.pz:e=>e.ez,i=uu(e.Fp,r.map(n)),s=r.map(((e,t)=>e.toAffine(i[t])));return s.map(e.fromAffine)}function sl(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function al(e,t){sl(e,t);const r=2**e;return{windows:Math.ceil(t/e)+1,windowSize:2**(e-1),mask:Vc(e),maxNumber:r,shiftBy:BigInt(e)}}function ol(e,t,r){const{windowSize:n,mask:i,maxNumber:s,shiftBy:a}=r;let o=Number(e&i),c=e>>a;o>n&&(o-=s,c+=rl);const u=t*n;return{nextN:c,offset:u+Math.abs(o)-1,isZero:0===o,isNeg:o<0,isNegF:t%2!=0,offsetF:u}}const cl=new WeakMap,ul=new WeakMap;function ll(e){return ul.get(e)||1}function hl(e){if(e!==tl)throw new Error("invalid wNAF")}function fl(e,t){return{constTimeNegate:nl,hasPrecomputes:e=>1!==ll(e),unsafeLadder(t,r,n=e.ZERO){let i=t;for(;r>tl;)r&rl&&(n=n.add(i)),i=i.double(),r>>=rl;return n},precomputeWindow(e,r){const{windows:n,windowSize:i}=al(r,t),s=[];let a=e,o=a;for(let e=0;e{if(!(e instanceof t))throw new Error("invalid point at index "+r)}))}(r,e),function(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach(((e,r)=>{if(!t.isValid(e))throw new Error("invalid scalar at index "+r)}))}(n,t);const i=r.length,s=n.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const a=e.ZERO,o=function(e){let t;for(t=0;e>Mc;e>>=Rc,t+=1);return t}(BigInt(i));let c=1;o>12?c=o-3:o>4?c=o-2:o>0&&(c=2);const u=Vc(c),l=new Array(Number(u)+1).fill(a);let h=a;for(let e=Math.floor((t.BITS-1)/c)*c;e>=0;e-=c){l.fill(a);for(let t=0;t>BigInt(e)&u);l[s]=l[s].add(r[t])}let t=a;for(let e=l.length-1,r=a;e>0;e--)r=r.add(l[e]),t=t.add(r);if(h=h.add(t),0!==e)for(let e=0;e(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"}))}(t),t}return hu(e)}function gl(e,t,r={}){if(!t||"object"!=typeof t)throw new Error(`expected valid ${e} CURVE object`);for(const e of["p","n","h"]){const r=t[e];if(!("bigint"==typeof r&&r>tl))throw new Error(`CURVE.${e} must be positive bigint`)}const n=dl(t.p,r.Fp),i=dl(t.n,r.Fn),s=["Gx","Gy","a","weierstrass"===e?"b":"d"];for(const e of s)if(!n.isValid(t[e]))throw new Error(`CURVE.${e} must be valid field element of CURVE.Fp`);return{Fp:n,Fn:i}}function yl(e){void 0!==e.lowS&&Nc("lowS",e.lowS),void 0!==e.prehash&&Nc("prehash",e.prehash)}class ml extends Error{constructor(e=""){super(e)}}const wl={Err:ml,_tlv:{encode:(e,t)=>{const{Err:r}=wl;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(1&t.length)throw new r("tlv.encode: unpadded data");const n=t.length/2,i=Lc(n);if(i.length/2&128)throw new r("tlv.encode: long form length too big");const s=n>127?Lc(i.length/2|128):"";return Lc(e)+s+i+t},decode(e,t){const{Err:r}=wl;let n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");const i=t[n++];let s=0;if(128&i){const e=127&i;if(!e)throw new r("tlv.decode(long): indefinite length not supported");if(e>4)throw new r("tlv.decode(long): byte length is too big");const a=t.subarray(n,n+e);if(a.length!==e)throw new r("tlv.decode: length bytes not complete");if(0===a[0])throw new r("tlv.decode(long): zero leftmost byte");for(const e of a)s=s<<8|e;if(n+=e,s<128)throw new r("tlv.decode(long): not minimal encoding")}else s=i;const a=t.subarray(n,n+s);if(a.length!==s)throw new r("tlv.decode: wrong value length");return{v:a,l:t.subarray(n+s)}}},_int:{encode(e){const{Err:t}=wl;if(eel(t.hash,e,Dc(...r))),{Fp:s,Fn:a}=e,{ORDER:o,BITS:c}=a;function u(e){return e>o>>Al}function l(e,t){if(!a.isValidNot0(t))throw new Error(`invalid signature ${e}: out of range 1..CURVE.n`)}class h{constructor(e,t,r){l("r",e),l("s",t),this.r=e,this.s=t,null!=r&&(this.recovery=r),Object.freeze(this)}static fromCompact(e){const t=a.BYTES,r=qc("compactSignature",e,2*t);return new h(a.fromBytes(r.subarray(0,t)),a.fromBytes(r.subarray(t,2*t)))}static fromDER(e){const{r:t,s:r}=wl.toSig(qc("DER",e));return new h(t,r)}assertValidity(){}addRecoveryBit(e){return new h(this.r,this.s,e)}recoverPublicKey(t){const r=s.ORDER,{r:n,s:i,recovery:c}=this;if(null==c||![0,1,2,3].includes(c))throw new Error("recovery id invalid");if(o*vl1)throw new Error("recovery id is ambiguous for h>1 curve");const u=2===c||3===c?n+o:n;if(!s.isValid(u))throw new Error("recovery id 2 or 3 invalid");const l=s.toBytes(u),h=e.fromHex(Dc(Il(!(1&c)),l)),f=a.inv(u),p=y(qc("msgHash",t)),d=a.create(-p*f),g=a.create(i*f),m=e.BASE.multiplyUnsafe(d).add(h.multiplyUnsafe(g));if(m.is0())throw new Error("point at infinify");return m.assertValidity(),m}hasHighS(){return u(this.s)}normalizeS(){return this.hasHighS()?new h(this.r,a.neg(this.s),this.recovery):this}toBytes(e){if("compact"===e)return Dc(a.toBytes(this.r),a.toBytes(this.s));if("der"===e)return Bc(wl.hexFromSig(this));throw new Error("invalid format")}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return Ic(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return Ic(this.toBytes("compact"))}}const f=Sl(a,r.allowedPrivateKeyLengths,r.wrapPrivateKey),p={isValidPrivateKey(e){try{return f(e),!0}catch(e){return!1}},normPrivateKeyToScalar:f,randomPrivateKey:()=>{const e=o;return function(e,t,r=!1){const n=e.length,i=fu(t),s=pu(t);if(n<16||n1024)throw new Error("expected "+s+"-1024 bytes of input, got "+n);const a=nu(r?Qc(e):_c(e),t-Yc)+Yc;return r?Hc(a,i):jc(a,i)}(n(pu(e)),e)},precompute:(t=8,r=e.BASE)=>r.precompute(t,!1)};function d(t){if("bigint"==typeof t)return!1;if(t instanceof e)return!0;const n=qc("key",t).length,i=s.BYTES,o=i+1,c=2*i+1;return r.allowedPrivateKeyLengths||a.BYTES===o?void 0:n===o||n===c}const g=t.bits2int||function(e){if(e.length>8192)throw new Error("input is too large");const t=_c(e),r=8*e.length-c;return r>0?t>>BigInt(r):t},y=t.bits2int_modN||function(e){return a.create(g(e))},m=Vc(c);function w(e){return Gc("num < 2^"+c,e,bl,m),a.toBytes(e)}const b={lowS:t.lowS,prehash:!1},A={lowS:t.lowS,prehash:!1};return e.BASE.precompute(8),Object.freeze({getPublicKey:function(t,r=!0){return e.fromPrivateKey(t).toBytes(r)},getSharedSecret:function(t,r,n=!0){if(!0===d(t))throw new Error("first arg must be private key");if(!1===d(r))throw new Error("second arg must be public key");return e.fromHex(r).multiply(f(t)).toBytes(n)},sign:function(r,o,c=b){const{seed:l,k2sig:p}=function(r,i,o=b){if(["recovered","canonical"].some((e=>e in o)))throw new Error("sign() legacy options not supported");const{hash:c}=t;let{lowS:l,prehash:p,extraEntropy:d}=o;null==l&&(l=!0),r=qc("msgHash",r),yl(o),p&&(r=qc("prehashed msgHash",c(r)));const m=y(r),A=f(i),v=[w(A),w(m)];if(null!=d&&!1!==d){const e=!0===d?n(s.BYTES):d;v.push(qc("extraEntropy",e))}const E=Dc(...v),k=m;return{seed:E,k2sig:function(t){const r=g(t);if(!a.isValidNot0(r))return;const n=a.inv(r),i=e.BASE.multiply(r).toAffine(),s=a.create(i.x);if(s===bl)return;const o=a.create(n*a.create(k+s*A));if(o===bl)return;let c=(i.x===s?0:2)|Number(i.y&Al),f=o;return l&&u(o)&&(f=function(e){return u(e)?a.neg(e):e}(o),c^=1),new h(s,f,c)}}}(r,o,c),d=function(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");const n=e=>new Uint8Array(e),i=e=>Uint8Array.of(e);let s=n(e),a=n(e),o=0;const c=()=>{s.fill(1),a.fill(0),o=0},u=(...e)=>r(a,s,...e),l=(e=n(0))=>{a=u(i(0),e),s=u(),0!==e.length&&(a=u(i(1),e),s=u())},h=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const r=[];for(;e{let r;for(c(),l(e);!(r=t(h()));)l();return c(),r}}(t.hash.outputLen,a.BYTES,i);return d(l,p)},verify:function(r,n,i,s=A){const o=r;n=qc("msgHash",n),i=qc("publicKey",i),yl(s);const{lowS:c,prehash:u,format:l}=s;if("strict"in s)throw new Error("options.strict was renamed to lowS");if(void 0!==l&&!["compact","der","js"].includes(l))throw new Error('format must be "compact", "der" or "js"');const f="string"==typeof o||pc(o),p=!f&&!l&&"object"==typeof o&&null!==o&&"bigint"==typeof o.r&&"bigint"==typeof o.s;if(!f&&!p)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let d,g;try{if(p){if(void 0!==l&&"js"!==l)throw new Error("invalid format");d=new h(o.r,o.s)}if(f){try{"compact"!==l&&(d=h.fromDER(o))}catch(e){if(!(e instanceof wl.Err))throw e}d||"der"===l||(d=h.fromCompact(o))}g=e.fromHex(i)}catch(e){return!1}if(!d)return!1;if(c&&d.hasHighS())return!1;u&&(n=t.hash(n));const{r:m,s:w}=d,b=y(n),v=a.inv(w),E=a.create(b*v),k=a.create(m*v),S=e.BASE.multiplyUnsafe(E).add(g.multiplyUnsafe(k));return!S.is0()&&a.create(S.x)===m},utils:p,Point:e,Signature:h})}function Bl(e){const{CURVE:t,curveOpts:r,ecdsaOpts:n}=function(e){const{CURVE:t,curveOpts:r}=function(e){const t={a:e.a,b:e.b,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy};return{CURVE:t,curveOpts:{Fp:e.Fp,Fn:hu(t.n,e.nBitLength),allowedPrivateKeyLengths:e.allowedPrivateKeyLengths,allowInfinityPoint:e.allowInfinityPoint,endo:e.endo,wrapPrivateKey:e.wrapPrivateKey,isTorsionFree:e.isTorsionFree,clearCofactor:e.clearCofactor,fromBytes:e.fromBytes,toBytes:e.toBytes}}}(e);return{CURVE:t,curveOpts:r,ecdsaOpts:{hash:e.hash,hmac:e.hmac,randomBytes:e.randomBytes,lowS:e.lowS,bits2int:e.bits2int,bits2int_modN:e.bits2int_modN}}}(e);return function(e,t){return Object.assign({},t,{ProjectivePoint:t.Point,CURVE:e})}(e,Cl(function(e,t={}){const{Fp:r,Fn:n}=gl("weierstrass",e,t),{h:i,n:s}=e;Jc(t,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:a}=t;if(a&&(!r.is0(e.a)||"bigint"!=typeof a.beta||"function"!=typeof a.splitScalar))throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function');function o(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}const c=t.toBytes||function(e,t,n){const{x:i,y:s}=t.toAffine(),a=r.toBytes(i);return Nc("isCompressed",n),n?(o(),Dc(Il(!r.isOdd(s)),a)):Dc(Uint8Array.of(4),a,r.toBytes(s))},u=t.fromBytes||function(e){gc(e);const t=r.BYTES,n=t+1,i=2*t+1,s=e.length,a=e[0],c=e.subarray(1);if(s!==n||2!==a&&3!==a){if(s===i&&4===a){const e=r.fromBytes(c.subarray(0*t,1*t)),n=r.fromBytes(c.subarray(1*t,2*t));if(!h(e,n))throw new Error("bad point: is not on curve");return{x:e,y:n}}throw new Error(`bad point: got length ${s}, expected compressed=${n} or uncompressed=${i}`)}{const e=r.fromBytes(c);if(!r.isValid(e))throw new Error("bad point: is not on curve, wrong x");const t=l(e);let n;try{n=r.sqrt(t)}catch(e){const t=e instanceof Error?": "+e.message:"";throw new Error("bad point: is not on curve, sqrt error"+t)}return o(),!(1&~a)!==r.isOdd(n)&&(n=r.neg(n)),{x:e,y:n}}},l=function(e,t,r){return function(n){const i=e.sqr(n),s=e.mul(i,n);return e.add(e.add(s,e.mul(n,t)),r)}}(r,e.a,e.b);function h(e,t){const n=r.sqr(t),i=l(e);return r.eql(n,i)}if(!h(e.Gx,e.Gy))throw new Error("bad curve params: generator point");const f=r.mul(r.pow(e.a,El),kl),p=r.mul(r.sqr(e.b),BigInt(27));if(r.is0(r.add(f,p)))throw new Error("bad curve params: a or b");function d(e,t,n=!1){if(!r.isValid(t)||n&&r.is0(t))throw new Error(`bad point coordinate ${e}`);return t}function g(e){if(!(e instanceof b))throw new Error("ProjectivePoint expected")}const y=$c(((e,t)=>{const{px:n,py:i,pz:s}=e;if(r.eql(s,r.ONE))return{x:n,y:i};const a=e.is0();null==t&&(t=a?r.ONE:r.inv(s));const o=r.mul(n,t),c=r.mul(i,t),u=r.mul(s,t);if(a)return{x:r.ZERO,y:r.ZERO};if(!r.eql(u,r.ONE))throw new Error("invZ was invalid");return{x:o,y:c}})),m=$c((e=>{if(e.is0()){if(t.allowInfinityPoint&&!r.is0(e.py))return;throw new Error("bad point: ZERO")}const{x:n,y:i}=e.toAffine();if(!r.isValid(n)||!r.isValid(i))throw new Error("bad point: x or y not field elements");if(!h(n,i))throw new Error("bad point: equation left != right");if(!e.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0}));function w(e,t,n,i,s){return n=new b(r.mul(n.px,e),n.py,n.pz),t=nl(i,t),n=nl(s,n),t.add(n)}class b{constructor(e,t,r){this.px=d("x",e),this.py=d("y",t,!0),this.pz=d("z",r),Object.freeze(this)}static fromAffine(e){const{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw new Error("invalid affine point");if(e instanceof b)throw new Error("projective point not allowed");return r.is0(t)&&r.is0(n)?b.ZERO:new b(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){return il(b,"pz",e)}static fromBytes(e){return gc(e),b.fromHex(e)}static fromHex(e){const t=b.fromAffine(u(qc("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){const r=Sl(n,t.allowedPrivateKeyLengths,t.wrapPrivateKey);return b.BASE.multiply(r(e))}static msm(e,t){return pl(b,n,e,t)}precompute(e=8,t=!0){return v.setWindowSize(this,e),t||this.multiply(El),this}_setWindowSize(e){this.precompute(e)}assertValidity(){m(this)}hasEvenY(){const{y:e}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(e)}equals(e){g(e);const{px:t,py:n,pz:i}=this,{px:s,py:a,pz:o}=e,c=r.eql(r.mul(t,o),r.mul(s,i)),u=r.eql(r.mul(n,o),r.mul(a,i));return c&&u}negate(){return new b(this.px,r.neg(this.py),this.pz)}double(){const{a:t,b:n}=e,i=r.mul(n,El),{px:s,py:a,pz:o}=this;let c=r.ZERO,u=r.ZERO,l=r.ZERO,h=r.mul(s,s),f=r.mul(a,a),p=r.mul(o,o),d=r.mul(s,a);return d=r.add(d,d),l=r.mul(s,o),l=r.add(l,l),c=r.mul(t,l),u=r.mul(i,p),u=r.add(c,u),c=r.sub(f,u),u=r.add(f,u),u=r.mul(c,u),c=r.mul(d,c),l=r.mul(i,l),p=r.mul(t,p),d=r.sub(h,p),d=r.mul(t,d),d=r.add(d,l),l=r.add(h,h),h=r.add(l,h),h=r.add(h,p),h=r.mul(h,d),u=r.add(u,h),p=r.mul(a,o),p=r.add(p,p),h=r.mul(p,d),c=r.sub(c,h),l=r.mul(p,f),l=r.add(l,l),l=r.add(l,l),new b(c,u,l)}add(t){g(t);const{px:n,py:i,pz:s}=this,{px:a,py:o,pz:c}=t;let u=r.ZERO,l=r.ZERO,h=r.ZERO;const f=e.a,p=r.mul(e.b,El);let d=r.mul(n,a),y=r.mul(i,o),m=r.mul(s,c),w=r.add(n,i),A=r.add(a,o);w=r.mul(w,A),A=r.add(d,y),w=r.sub(w,A),A=r.add(n,s);let v=r.add(a,c);return A=r.mul(A,v),v=r.add(d,m),A=r.sub(A,v),v=r.add(i,s),u=r.add(o,c),v=r.mul(v,u),u=r.add(y,m),v=r.sub(v,u),h=r.mul(f,A),u=r.mul(p,m),h=r.add(u,h),u=r.sub(y,h),h=r.add(y,h),l=r.mul(u,h),y=r.add(d,d),y=r.add(y,d),m=r.mul(f,m),A=r.mul(p,A),y=r.add(y,m),m=r.sub(d,m),m=r.mul(f,m),A=r.add(A,m),d=r.mul(y,A),l=r.add(l,d),d=r.mul(v,A),u=r.mul(w,u),u=r.sub(u,d),d=r.mul(w,y),h=r.mul(v,h),h=r.add(h,d),new b(u,l,h)}subtract(e){return this.add(e.negate())}is0(){return this.equals(b.ZERO)}multiply(e){const{endo:r}=t;if(!n.isValidNot0(e))throw new Error("invalid scalar: out of range");let i,s;const a=e=>v.wNAFCached(this,e,b.normalizeZ);if(r){const{k1neg:t,k1:n,k2neg:o,k2:c}=r.splitScalar(e),{p:u,f:l}=a(n),{p:h,f}=a(c);s=l.add(f),i=w(r.beta,u,h,t,o)}else{const{p:t,f:r}=a(e);i=t,s=r}return b.normalizeZ([i,s])[0]}multiplyUnsafe(e){const{endo:r}=t,i=this;if(!n.isValid(e))throw new Error("invalid scalar: out of range");if(e===bl||i.is0())return b.ZERO;if(e===Al)return i;if(v.hasPrecomputes(this))return this.multiply(e);if(r){const{k1neg:t,k1:n,k2neg:s,k2:a}=r.splitScalar(e),{p1:o,p2:c}=function(e,t,r,n){let i=t,s=e.ZERO,a=e.ZERO;for(;r>tl||n>tl;)r&rl&&(s=s.add(i)),n&rl&&(a=a.add(i)),i=i.double(),r>>=rl,n>>=rl;return{p1:s,p2:a}}(b,i,n,a);return w(r.beta,o,c,t,s)}return v.wNAFCachedUnsafe(i,e)}multiplyAndAddUnsafe(e,t,r){const n=this.multiplyUnsafe(t).add(e.multiplyUnsafe(r));return n.is0()?void 0:n}toAffine(e){return y(this,e)}isTorsionFree(){const{isTorsionFree:e}=t;return i===Al||(e?e(b,this):v.wNAFCachedUnsafe(this,s).is0())}clearCofactor(){const{clearCofactor:e}=t;return i===Al?this:e?e(b,this):this.multiplyUnsafe(i)}toBytes(e=!0){return Nc("isCompressed",e),this.assertValidity(),c(b,this,e)}toRawBytes(e=!0){return this.toBytes(e)}toHex(e=!0){return Ic(this.toBytes(e))}toString(){return``}}b.BASE=new b(e.Gx,e.Gy,r.ONE),b.ZERO=new b(r.ZERO,r.ONE,r.ZERO),b.Fp=r,b.Fn=n;const A=n.BITS,v=fl(b,t.endo?Math.ceil(A/2):A);return b}(t,r),n,r))}function xl(e,t){const r=t=>Bl({...e,hash:t});return{...r(t),create:r}}const Pl={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},Dl={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},Tl={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},Ul=hu(Pl.p),Kl=hu(Dl.p),Ol=hu(Tl.p),Ml=xl({...Pl,Fp:Ul,lowS:!1},$u),Rl=xl({...Dl,Fp:Kl,lowS:!1},Zu),Nl=xl({...Tl,Fp:Ol,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},Yu),Ll=BigInt(0),Fl=BigInt(1),_l=BigInt(2),Ql=BigInt(7),jl=BigInt(256),Hl=BigInt(113),ql=[],zl=[],Gl=[];for(let e=0,t=Fl,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],ql.push(2*(5*n+r)),zl.push((e+1)*(e+2)/2%64);let i=Ll;for(let e=0;e<7;e++)t=(t<>Ql)*Hl)%jl,t&_l&&(i^=Fl<<(Fl<r>32?((e,t,r)=>t<>>64-r)(e,t,r):((e,t,r)=>e<>>32-r)(e,t,r),Yl=(e,t,r)=>r>32?((e,t,r)=>e<>>64-r)(e,t,r):((e,t,r)=>t<>>32-r)(e,t,r);class Zl extends Tc{constructor(e,t,r,n=!1,i=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=i,dc(r),!(0=r&&this.keccak();const s=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+s),n),this.posOut+=s,n+=s}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return dc(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(mc(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,wc(this.state)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:s}=this;return e||(e=new Zl(t,r,n,s,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=s,e.destroyed=this.destroyed,e}}const Xl=(e,t,r)=>Uc((()=>new Zl(t,e,r))),eh=(()=>Xl(6,136,32))(),th=(()=>Xl(6,72,64))(),rh=(()=>{return e=31,t=136,r=32,function(e){const t=(t,r)=>e(r).update(Pc(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}(((n={})=>new Zl(t,e,void 0===n.dkLen?r:n.dkLen,!0)));var e,t,r})(),nh=BigInt(0),ih=BigInt(1),sh=BigInt(2),ah=BigInt(8),oh={zip215:!0};function ch(e,t={}){const{Fp:r,Fn:n}=gl("edwards",e,t),{h:i,n:s}=e;Jc(t,{},{uvRatio:"function"});const a=sh<r.create(e),c=t.uvRatio||((e,t)=>{try{return{isValid:!0,value:r.sqrt(r.div(e,t))}}catch(e){return{isValid:!1,value:nh}}});if(!function(e,t,r,n){const i=e.sqr(r),s=e.sqr(n),a=e.add(e.mul(t.a,i),s),o=e.add(e.ONE,e.mul(t.d,e.mul(i,s)));return e.eql(a,o)}(r,e,e.Gx,e.Gy))throw new Error("bad curve params: generator point");function u(e,t,r=!1){return Gc("coordinate "+e,t,r?ih:nh,a),t}function l(e){if(!(e instanceof p))throw new Error("ExtendedPoint expected")}const h=$c(((e,t)=>{const{ex:n,ey:i,ez:s}=e,a=e.is0();null==t&&(t=a?ah:r.inv(s));const c=o(n*t),u=o(i*t),l=o(s*t);if(a)return{x:nh,y:ih};if(l!==ih)throw new Error("invZ was invalid");return{x:c,y:u}})),f=$c((t=>{const{a:r,d:n}=e;if(t.is0())throw new Error("bad point: ZERO");const{ex:i,ey:s,ez:a,et:c}=t,u=o(i*i),l=o(s*s),h=o(a*a),f=o(h*h),p=o(u*r);if(o(h*o(p+l))!==o(f+o(n*o(u*l))))throw new Error("bad point: equation left != right (1)");if(o(i*s)!==o(a*c))throw new Error("bad point: equation left != right (2)");return!0}));class p{constructor(e,t,r,n){this.ex=u("x",e),this.ey=u("y",t),this.ez=u("z",r,!0),this.et=u("t",n),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof p)throw new Error("extended point not allowed");const{x:t,y:r}=e||{};return u("x",t),u("y",r),new p(t,r,ih,o(t*r))}static normalizeZ(e){return il(p,"ez",e)}static msm(e,t){return pl(p,n,e,t)}_setWindowSize(e){this.precompute(e)}precompute(e=8,t=!0){return d.setWindowSize(this,e),t||this.multiply(sh),this}assertValidity(){f(this)}equals(e){l(e);const{ex:t,ey:r,ez:n}=this,{ex:i,ey:s,ez:a}=e,c=o(t*a),u=o(i*n),h=o(r*a),f=o(s*n);return c===u&&h===f}is0(){return this.equals(p.ZERO)}negate(){return new p(o(-this.ex),this.ey,this.ez,o(-this.et))}double(){const{a:t}=e,{ex:r,ey:n,ez:i}=this,s=o(r*r),a=o(n*n),c=o(sh*o(i*i)),u=o(t*s),l=r+n,h=o(o(l*l)-s-a),f=u+a,d=f-c,g=u-a,y=o(h*d),m=o(f*g),w=o(h*g),b=o(d*f);return new p(y,m,b,w)}add(t){l(t);const{a:r,d:n}=e,{ex:i,ey:s,ez:a,et:c}=this,{ex:u,ey:h,ez:f,et:d}=t,g=o(i*u),y=o(s*h),m=o(c*n*d),w=o(a*f),b=o((i+s)*(u+h)-g-y),A=w-m,v=w+m,E=o(y-r*g),k=o(b*A),S=o(v*E),I=o(b*E),C=o(A*v);return new p(k,S,C,I)}subtract(e){return this.add(e.negate())}multiply(e){const t=e;Gc("scalar",t,ih,s);const{p:r,f:n}=d.wNAFCached(this,t,p.normalizeZ);return p.normalizeZ([r,n])[0]}multiplyUnsafe(e,t=p.ZERO){const r=e;return Gc("scalar",r,nh,s),r===nh?p.ZERO:this.is0()||r===ih?this:d.wNAFCachedUnsafe(this,r,p.normalizeZ,t)}isSmallOrder(){return this.multiplyUnsafe(i).is0()}isTorsionFree(){return d.wNAFCachedUnsafe(this,s).is0()}toAffine(e){return h(this,e)}clearCofactor(){return i===ih?this:this.multiplyUnsafe(i)}static fromBytes(e,t=!1){return gc(e),this.fromHex(e,t)}static fromHex(t,n=!1){const{d:i,a:s}=e,u=r.BYTES;t=qc("pointHex",t,u),Nc("zip215",n);const l=t.slice(),h=t[u-1];l[u-1]=-129&h;const f=Qc(l),d=n?a:r.ORDER;Gc("pointHex.y",f,nh,d);const g=o(f*f),y=o(g-ih),m=o(i*g-s);let{isValid:w,value:b}=c(y,m);if(!w)throw new Error("Point.fromHex: invalid y coordinate");const A=(b&ih)===ih,v=!!(128&h);if(!n&&b===nh&&v)throw new Error("Point.fromHex: x=0 and x_0=1");return v!==A&&(b=o(-b)),p.fromAffine({x:b,y:f})}static fromPrivateScalar(e){return p.BASE.multiply(e)}toBytes(){const{x:e,y:t}=this.toAffine(),n=Hc(t,r.BYTES);return n[n.length-1]|=e&ih?128:0,n}toRawBytes(){return this.toBytes()}toHex(){return Ic(this.toBytes())}toString(){return``}}p.BASE=new p(e.Gx,e.Gy,ih,o(e.Gx*e.Gy)),p.ZERO=new p(nh,ih,ih,nh),p.Fp=r,p.Fn=n;const d=fl(p,8*n.BYTES);return p}const uh=BigInt(0),lh=BigInt(1),hh=BigInt(2);const fh={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffff7cca23e9c44edb49aed63690216cc2728dc58f552378c292ab5844f3"),h:BigInt(4),a:BigInt(1),d:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffff6756"),Gx:BigInt("0x4f1970c66bed0ded221d15a622bf36da9e146570470f1767ea6de324a3d3a46412ae1af72ab66511433b80e18b00938e2626a82bc70cc05e"),Gy:BigInt("0x693f46716eb6bc248876203756c9c7624bea73736ca3984087789c1e05a0c2d73ad3ff1ce67c39c4fdbd132c4ed7c8ad9808795bf230fa14")};ch(Object.assign({},fh,{d:BigInt("0xd78b4bdc7f0daf19f24f38c29373a2ccad46157242a50f37809b1da3412a12e79ccc9c81264cfe9ad080997058fb61c4243cc32dbaa156b9"),Gx:BigInt("0x79a70b2b70400553ae7c9df416c792c61128751ac92969240c25a07d728bdc93e21f7787ed6972249de732f38496cd11698713093e9c04fc"),Gy:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000001")}));const ph=Uc((()=>rh.create({dkLen:114}))),dh=BigInt(1),gh=BigInt(2),yh=BigInt(3);BigInt(4);const mh=BigInt(11),wh=BigInt(22),bh=BigInt(44),Ah=BigInt(88),vh=BigInt(223);function Eh(e){const t=fh.p,r=e*e*e%t,n=r*r*e%t,i=iu(n,yh,t)*n%t,s=iu(i,yh,t)*n%t,a=iu(s,gh,t)*r%t,o=iu(a,mh,t)*a%t,c=iu(o,wh,t)*o%t,u=iu(c,bh,t)*c%t,l=iu(u,Ah,t)*u%t,h=iu(l,bh,t)*c%t,f=iu(h,gh,t)*r%t,p=iu(f,dh,t)*e%t;return iu(p,vh,t)*f%t}function kh(e){return e[0]&=252,e[55]|=128,e[56]=0,e}function Sh(e,t){const r=fh.p,n=nu(e*e*t,r),i=nu(n*e,r),s=nu(i*n*t,r),a=nu(i*Eh(s),r),o=nu(a*a,r);return{isValid:nu(o*t,r)===e,value:a}}const Ih=(()=>hu(fh.p,456,!0))(),Ch=function(e){const{CURVE:t,curveOpts:r,eddsaOpts:n}=function(e){const t={a:e.a,d:e.d,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy};return{CURVE:t,curveOpts:{Fp:e.Fp,Fn:hu(t.n,e.nBitLength,!0),uvRatio:e.uvRatio},eddsaOpts:{hash:e.hash,randomBytes:e.randomBytes,adjustScalarBytes:e.adjustScalarBytes,domain:e.domain,prehash:e.prehash,mapToCurve:e.mapToCurve}}}(e);return function(e,t){return Object.assign({},t,{ExtendedPoint:t.Point,CURVE:e})}(e,function(e,t){Jc(t,{hash:"function"},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});const{prehash:r,hash:n}=t,{BASE:i,Fp:s,Fn:a}=e,o=a.ORDER,c=t.randomBytes||Oc,u=t.adjustScalarBytes||(e=>e),l=t.domain||((e,t,r)=>{if(Nc("phflag",r),t.length||r)throw new Error("Contexts/pre-hash are not supported");return e});function h(e){return a.create(e)}function f(e){return h(Qc(e))}function p(e){const{head:t,prefix:r,scalar:a}=function(e){const t=s.BYTES;e=qc("private key",e,t);const r=qc("hashed private key",n(e),2*t),i=u(r.slice(0,t));return{head:i,prefix:r.slice(t,2*t),scalar:f(i)}}(e),o=i.multiply(a),c=o.toBytes();return{head:t,prefix:r,scalar:a,point:o,pointBytes:c}}function d(e=Uint8Array.of(),...t){const i=Dc(...t);return f(n(l(i,qc("context",e),!!r)))}const g=oh;return i.precompute(8),{getPublicKey:function(e){return p(e).pointBytes},sign:function(e,t,n={}){e=qc("message",e),r&&(e=r(e));const{prefix:a,scalar:c,pointBytes:u}=p(t),l=d(n.context,a,e),f=i.multiply(l).toBytes(),g=h(l+d(n.context,f,u,e)*c);Gc("signature.s",g,nh,o);const y=s.BYTES;return qc("result",Dc(f,Hc(g,y)),2*y)},verify:function(t,n,a,o=g){const{context:c,zip215:u}=o,l=s.BYTES;t=qc("signature",t,2*l),n=qc("message",n),a=qc("publicKey",a,l),void 0!==u&&Nc("zip215",u),r&&(n=r(n));const h=Qc(t.slice(l,2*l));let f,p,y;try{f=e.fromHex(a,u),p=e.fromHex(t.slice(0,l),u),y=i.multiplyUnsafe(h)}catch(e){return!1}if(!u&&f.isSmallOrder())return!1;const m=d(c,p.toBytes(),f.toBytes(),n);return p.add(f.multiplyUnsafe(m)).subtract(y).clearCofactor().is0()},utils:{getExtendedPublicKey:p,randomPrivateKey:()=>c(s.BYTES),precompute:(t=8,r=e.BASE)=>r.precompute(t,!1)},Point:e}}(ch(t,r),n))}((()=>({...fh,Fp:Ih,nBitLength:456,hash:ph,adjustScalarBytes:kh,domain:(e,t,r)=>{if(t.length>255)throw new Error("context must be smaller than 255, got: "+t.length);return Dc(xc("SigEd448"),new Uint8Array([r?1:0,t.length]),t,e)},uvRatio:Sh}))()),Bh=(()=>{const e=fh.p;return function(e){const t=(Jc(r=e,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...r}));var r;const{P:n,type:i,adjustScalarBytes:s,powPminus2:a,randomBytes:o}=t,c="x25519"===i;if(!c&&"x448"!==i)throw new Error("invalid type");const u=o||Oc,l=c?255:448,h=c?32:56,f=c?BigInt(9):BigInt(5),p=c?BigInt(121665):BigInt(39081),d=c?hh**BigInt(254):hh**BigInt(447),g=c?BigInt(8)*hh**BigInt(251)-lh:BigInt(4)*hh**BigInt(445)-lh,y=d+g+lh,m=e=>nu(e,n),w=b(f);function b(e){return Hc(m(e),h)}function A(e,t){const r=function(e,t){Gc("u",e,uh,n),Gc("scalar",t,d,y);const r=t,i=e;let s=lh,o=uh,c=e,u=lh,h=uh;for(let e=BigInt(l-1);e>=uh;e--){const t=r>>e&lh;h^=t,({x_2:s,x_3:c}=E(h,s,c)),({x_2:o,x_3:u}=E(h,o,u)),h=t;const n=s+o,a=m(n*n),l=s-o,f=m(l*l),d=a-f,g=c+u,y=m((c-u)*n),w=m(g*l),b=y+w,A=y-w;c=m(b*b),u=m(i*m(A*A)),s=m(a*f),o=m(d*(a+m(p*d)))}({x_2:s,x_3:c}=E(h,s,c)),({x_2:o,x_3:u}=E(h,o,u));const f=a(o);return m(s*f)}(function(e){const t=qc("u coordinate",e,h);return c&&(t[31]&=127),m(Qc(t))}(t),function(e){return Qc(s(qc("scalar",e,h)))}(e));if(r===uh)throw new Error("invalid private or public key received");return b(r)}function v(e){return A(e,w)}function E(e,t,r){const n=m(e*(t-r));return{x_2:t=m(t-n),x_3:r=m(r+n)}}return{scalarMult:A,scalarMultBase:v,getSharedSecret:(e,t)=>A(e,t),getPublicKey:e=>v(e),utils:{randomPrivateKey:()=>u(h)},GuBytes:w.slice()}}({P:e,type:"x448",powPminus2:t=>nu(iu(Eh(t),gh,e)*t,e),adjustScalarBytes:kh})})(),xh={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")};BigInt(0);const Ph=BigInt(1),Dh=BigInt(2),Th=(e,t)=>(e+t/Dh)/t,Uh=hu(xh.p,void 0,void 0,{sqrt:function(e){const t=xh.p,r=BigInt(3),n=BigInt(6),i=BigInt(11),s=BigInt(22),a=BigInt(23),o=BigInt(44),c=BigInt(88),u=e*e*e%t,l=u*u*e%t,h=iu(l,r,t)*l%t,f=iu(h,r,t)*l%t,p=iu(f,Dh,t)*u%t,d=iu(p,i,t)*p%t,g=iu(d,s,t)*d%t,y=iu(g,o,t)*g%t,m=iu(y,c,t)*y%t,w=iu(m,o,t)*g%t,b=iu(w,r,t)*l%t,A=iu(b,a,t)*d%t,v=iu(A,n,t)*u%t,E=iu(v,Dh,t);if(!Uh.eql(Uh.sqr(E),e))throw new Error("Cannot find square root");return E}}),Kh=xl({...xh,Fp:Uh,lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=xh.n,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-Ph*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=r,a=BigInt("0x100000000000000000000000000000000"),o=Th(s*e,t),c=Th(-n*e,t);let u=nu(e-o*r-c*i,t),l=nu(-o*n-c*s,t);const h=u>a,f=l>a;if(h&&(u=t-u),f&&(l=t-l),u>a||l>a)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:h,k1:u,k2neg:f,k2:l}}}},$u),Oh=$u,Mh=Wu,Rh=hu(BigInt("0xa9fb57dba1eea9bc3e660a909d838d726e3bf623d52620282013481d1f6e5377")),Nh=xl({a:Rh.create(BigInt("0x7d5a0975fc2c3057eef67530417affe7fb8055c126dc5c6ce94a4b44f330b5d9")),b:BigInt("0x26dc5c6ce94a4b44f330b5d9bbd77cbf958416295cf7e1ce6bccdc18ff8c07b6"),Fp:Rh,n:BigInt("0xa9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a7"),Gx:BigInt("0x8bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262"),Gy:BigInt("0x547ef835c3dac4fd97f8461a14611dc9c27745132ded8e545c1d54c72f046997"),h:BigInt(1),lowS:!1},Oh),Lh=Yu,Fh=Zu,_h=hu(BigInt("0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b412b1da197fb71123acd3a729901d1a71874700133107ec53")),Qh=xl({a:_h.create(BigInt("0x7bc382c63d8c150c3c72080ace05afa0c2bea28e4fb22787139165efba91f90f8aa5814a503ad4eb04a8c7dd22ce2826")),b:BigInt("0x04a8c7dd22ce28268b39b55416f0447c2fb77de107dcd2a62e880ea53eeb62d57cb4390295dbc9943ab78696fa504c11"),Fp:_h,n:BigInt("0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046565"),Gx:BigInt("0x1d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e"),Gy:BigInt("0x8abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff99129280e4646217791811142820341263c5315"),h:BigInt(1),lowS:!1},Fh),jh=hu(BigInt("0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca703308717d4d9b009bc66842aecda12ae6a380e62881ff2f2d82c68528aa6056583a48f3")),Hh=xl({a:jh.create(BigInt("0x7830a3318b603b89e2327145ac234cc594cbdd8d3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94ca")),b:BigInt("0x3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94cadc083e67984050b75ebae5dd2809bd638016f723"),Fp:jh,n:BigInt("0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca70330870553e5c414ca92619418661197fac10471db1d381085ddaddb58796829ca90069"),Gx:BigInt("0x81aee4bdd82ed9645a21322e9c4c6a9385ed9f70b5d916c1b43b62eef4d0098eff3b1f78e2d0d48d50d1687b93b97d5f7c6d5047406a5e688b352209bcb9f822"),Gy:BigInt("0x7dde385d566332ecc0eabfa9cf7822fdf209f70024a57b1aa000c55b881f8111b2dcde494a5f485e5bca4bd88a2763aed1ca2b2fa8f0540678cd1e0f3ad80892"),h:BigInt(1),lowS:!1},Lh),qh=new Map(Object.entries({nistP256:Ml,nistP384:Rl,nistP521:Nl,brainpoolP256r1:Nh,brainpoolP384r1:Qh,brainpoolP512r1:Hh,secp256k1:Kh,x448:Bh,ed448:Ch}));var zh=Object.freeze({__proto__:null,nobleCurves:qh});const Gh=Uint32Array.from([1732584193,4023233417,2562383102,271733878,3285377520]),Vh=new Uint32Array(80);class Jh extends yu{constructor(){super(64,20,8,!1),this.A=0|Gh[0],this.B=0|Gh[1],this.C=0|Gh[2],this.D=0|Gh[3],this.E=0|Gh[4]}get(){const{A:e,B:t,C:r,D:n,E:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)Vh[r]=e.getUint32(t,!1);for(let e=16;e<80;e++)Vh[e]=vc(Vh[e-3]^Vh[e-8]^Vh[e-14]^Vh[e-16],1);let{A:r,B:n,C:i,D:s,E:a}=this;for(let e=0;e<80;e++){let t,o;e<20?(t=du(n,i,s),o=1518500249):e<40?(t=n^i^s,o=1859775393):e<60?(t=gu(n,i,s),o=2400959708):(t=n^i^s,o=3395469782);const c=vc(r,5)+t+a+o+Vh[e]|0;a=s,s=i,i=vc(n,30),n=r,r=c}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,s=s+this.D|0,a=a+this.E|0,this.set(r,n,i,s,a)}roundClean(){wc(Vh)}destroy(){this.set(0,0,0,0,0),wc(this.buffer)}}const $h=Uc((()=>new Jh)),Wh=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Yh=(()=>Uint8Array.from(new Array(16).fill(0).map(((e,t)=>t))))(),Zh=(()=>Yh.map((e=>(9*e+5)%16)))(),Xh=(()=>{const e=[[Yh],[Zh]];for(let t=0;t<4;t++)for(let r of e)r.push(r[t].map((e=>Wh[e])));return e})(),ef=(()=>Xh[0])(),tf=(()=>Xh[1])(),rf=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>Uint8Array.from(e))),nf=ef.map(((e,t)=>e.map((e=>rf[t][e])))),sf=tf.map(((e,t)=>e.map((e=>rf[t][e])))),af=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),of=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function cf(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}const uf=new Uint32Array(16);class lf extends yu{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:t,h2:r,h3:n,h4:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)uf[r]=e.getUint32(t,!0);let r=0|this.h0,n=r,i=0|this.h1,s=i,a=0|this.h2,o=a,c=0|this.h3,u=c,l=0|this.h4,h=l;for(let e=0;e<5;e++){const t=4-e,f=af[e],p=of[e],d=ef[e],g=tf[e],y=nf[e],m=sf[e];for(let t=0;t<16;t++){const n=vc(r+cf(e,i,a,c)+uf[d[t]]+f,y[t])+l|0;r=l,l=c,c=0|vc(a,10),a=i,i=n}for(let e=0;e<16;e++){const r=vc(n+cf(t,s,o,u)+uf[g[e]]+p,m[e])+h|0;n=h,h=u,u=0|vc(o,10),o=s,s=r}}this.set(this.h1+a+u|0,this.h2+c+h|0,this.h3+l+n|0,this.h4+r+s|0,this.h0+i+o|0)}roundClean(){wc(uf)}destroy(){this.destroyed=!0,wc(this.buffer),this.set(0,0,0,0,0)}}const hf=$h,ff=Uc((()=>new lf)),pf=Array.from({length:64},((e,t)=>Math.floor(2**32*Math.abs(Math.sin(t+1))))),df=(e,t,r)=>e&t^~e&r,gf=new Uint32Array([1732584193,4023233417,2562383102,271733878]),yf=new Uint32Array(16);class mf extends yu{constructor(){super(64,16,8,!0),this.A=0|gf[0],this.B=0|gf[1],this.C=0|gf[2],this.D=0|gf[3]}get(){const{A:e,B:t,C:r,D:n}=this;return[e,t,r,n]}set(e,t,r,n){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n}process(e,t){for(let r=0;r<16;r++,t+=4)yf[r]=e.getUint32(t,!0);let{A:r,B:n,C:i,D:s}=this;for(let e=0;e<64;e++){let t,a,o;e<16?(t=df(n,i,s),a=e,o=[7,12,17,22]):e<32?(t=df(s,n,i),a=(5*e+1)%16,o=[5,9,14,20]):e<48?(t=n^i^s,a=(3*e+5)%16,o=[4,11,16,23]):(t=i^(n|~s),a=7*e%16,o=[6,10,15,21]),t=t+r+pf[e]+yf[a],r=s,s=i,i=n,n+=vc(t,o[e%4])}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,s=s+this.D|0,this.set(r,n,i,s)}roundClean(){yf.fill(0)}destroy(){this.set(0,0,0,0),this.buffer.fill(0)}}const wf=Kc((()=>new mf)),bf=new Map(Object.entries({md5:wf,sha1:hf,sha224:Mh,sha256:Oh,sha384:Fh,sha512:Lh,sha3_256:eh,sha3_512:th,ripemd160:ff}));var Af=Object.freeze({__proto__:null,nobleHashes:bf});function vf(e,t,r,n,i,s){const a=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],o=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],c=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],u=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],h=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],f=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],p=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];let d,g,y,m,w,b,A,v,E,k,S=0,I=t.length;const C=32===e.length?3:9;v=3===C?r?[0,32,2]:[30,-2,-2]:r?[0,32,2,62,30,-2,64,96,2]:[94,62,-2,32,64,2,30,-2,-2],r&&(t=function(e){const t=8-e.length%8;let r;if(!(t<8)){if(8===t)return e;throw new Error("des: invalid padding")}r=0;const n=new Uint8Array(e.length+t);for(let t=0;t>>4^A),A^=y,b^=y<<4,y=65535&(b>>>16^A),A^=y,b^=y<<16,y=858993459&(A>>>2^b),b^=y,A^=y<<2,y=16711935&(A>>>8^b),b^=y,A^=y<<8,y=1431655765&(b>>>1^A),A^=y,b^=y<<1,b=b<<1|b>>>31,A=A<<1|A>>>31,g=0;g>>4|A<<28)^e[d+1],y=b,b=A,A=y^(o[m>>>24&63]|u[m>>>16&63]|h[m>>>8&63]|p[63&m]|a[w>>>24&63]|c[w>>>16&63]|l[w>>>8&63]|f[63&w]);y=b,b=A,A=y}b=b>>>1|b<<31,A=A>>>1|A<<31,y=1431655765&(b>>>1^A),A^=y,b^=y<<1,y=16711935&(A>>>8^b),b^=y,A^=y<<8,y=858993459&(A>>>2^b),b^=y,A^=y<<2,y=65535&(b>>>16^A),A^=y,b^=y<<16,y=252645135&(b>>>4^A),A^=y,b^=y<<4,B[x++]=b>>>24,B[x++]=b>>>16&255,B[x++]=b>>>8&255,B[x++]=255&b,B[x++]=A>>>24,B[x++]=A>>>16&255,B[x++]=A>>>8&255,B[x++]=255&A}return r||(B=function(e){let t,r=null;if(t=0,!r){for(r=1;0===e[e.length-r];)r++;r--}return e.subarray(0,e.length-r)}(B)),B}function Ef(e){const t=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],r=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],n=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],i=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],s=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],a=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],o=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],c=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],u=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],l=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],h=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],f=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],p=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],d=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],g=e.length>8?3:1,y=new Array(32*g),m=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0];let w,b,A,v=0,E=0;for(let k=0;k>>4^k),k^=A,g^=A<<4,A=65535&(k>>>-16^g),g^=A,k^=A<<-16,A=858993459&(g>>>2^k),k^=A,g^=A<<2,A=65535&(k>>>-16^g),g^=A,k^=A<<-16,A=1431655765&(g>>>1^k),k^=A,g^=A<<1,A=16711935&(k>>>8^g),g^=A,k^=A<<8,A=1431655765&(g>>>1^k),k^=A,g^=A<<1,A=g<<8|k>>>20&240,g=k<<24|k<<8&16711680|k>>>8&65280|k>>>24&240,k=A;for(let e=0;e>>26,k=k<<2|k>>>26):(g=g<<1|g>>>27,k=k<<1|k>>>27),g&=-15,k&=-15,w=t[g>>>28]|r[g>>>24&15]|n[g>>>20&15]|i[g>>>16&15]|s[g>>>12&15]|a[g>>>8&15]|o[g>>>4&15],b=c[k>>>28]|u[k>>>24&15]|l[k>>>20&15]|h[k>>>16&15]|f[k>>>12&15]|p[k>>>8&15]|d[k>>>4&15],A=65535&(b>>>16^w),y[E++]=w^A,y[E++]=b^A<<16}return y}function kf(e){this.key=[];for(let t=0;t<3;t++)this.key.push(new Uint8Array(e.subarray(8*t,8*t+8)));this.encrypt=function(e){return vf(Ef(this.key[2]),vf(Ef(this.key[1]),vf(Ef(this.key[0]),e,!0),!1),!0)}}function Sf(){this.BlockSize=8,this.KeySize=16,this.setKey=function(e){if(this.masking=new Array(16),this.rotate=new Array(16),this.reset(),e.length!==this.KeySize)throw new Error("CAST-128: keys must be 16 bytes");return this.keySchedule(e),!0},this.reset=function(){for(let e=0;e<16;e++)this.masking[e]=0,this.rotate[e]=0},this.getBlockSize=function(){return this.BlockSize},this.encrypt=function(e){const t=new Array(e.length);for(let s=0;s>>24&255,t[s+1]=c>>>16&255,t[s+2]=c>>>8&255,t[s+3]=255&c,t[s+4]=o>>>24&255,t[s+5]=o>>>16&255,t[s+6]=o>>>8&255,t[s+7]=255&o}return t},this.decrypt=function(e){const t=new Array(e.length);for(let s=0;s>>24&255,t[s+1]=c>>>16&255,t[s+2]=c>>>8&255,t[s+3]=255&c,t[s+4]=o>>>24&255,t[s+5]=o>>16&255,t[s+6]=o>>8&255,t[s+7]=255&o}return t};const e=new Array(4);e[0]=new Array(4),e[0][0]=[4,0,13,15,12,14,8],e[0][1]=[5,2,16,18,17,19,10],e[0][2]=[6,3,23,22,21,20,9],e[0][3]=[7,1,26,25,27,24,11],e[1]=new Array(4),e[1][0]=[0,6,21,23,20,22,16],e[1][1]=[1,4,0,2,1,3,18],e[1][2]=[2,5,7,6,5,4,17],e[1][3]=[3,7,10,9,11,8,19],e[2]=new Array(4),e[2][0]=[4,0,13,15,12,14,8],e[2][1]=[5,2,16,18,17,19,10],e[2][2]=[6,3,23,22,21,20,9],e[2][3]=[7,1,26,25,27,24,11],e[3]=new Array(4),e[3][0]=[0,6,21,23,20,22,16],e[3][1]=[1,4,0,2,1,3,18],e[3][2]=[2,5,7,6,5,4,17],e[3][3]=[3,7,10,9,11,8,19];const t=new Array(4);function r(e,t,r){const n=t+e,i=n<>>32-r;return(s[0][i>>>24]^s[1][i>>>16&255])-s[2][i>>>8&255]+s[3][255&i]}function n(e,t,r){const n=t^e,i=n<>>32-r;return s[0][i>>>24]-s[1][i>>>16&255]+s[2][i>>>8&255]^s[3][255&i]}function i(e,t,r){const n=t-e,i=n<>>32-r;return(s[0][i>>>24]+s[1][i>>>16&255]^s[2][i>>>8&255])-s[3][255&i]}t[0]=new Array(4),t[0][0]=[24,25,23,22,18],t[0][1]=[26,27,21,20,22],t[0][2]=[28,29,19,18,25],t[0][3]=[30,31,17,16,28],t[1]=new Array(4),t[1][0]=[3,2,12,13,8],t[1][1]=[1,0,14,15,13],t[1][2]=[7,6,8,9,3],t[1][3]=[5,4,10,11,7],t[2]=new Array(4),t[2][0]=[19,18,28,29,25],t[2][1]=[17,16,30,31,28],t[2][2]=[23,22,24,25,18],t[2][3]=[21,20,26,27,22],t[3]=new Array(4),t[3][0]=[8,9,7,6,3],t[3][1]=[10,11,5,4,7],t[3][2]=[12,13,3,2,8],t[3][3]=[14,15,1,0,13],this.keySchedule=function(r){const n=new Array(8),i=new Array(32);let a;for(let e=0;e<4;e++)a=4*e,n[e]=r[a]<<24|r[a+1]<<16|r[a+2]<<8|r[a+3];const o=[6,7,4,5];let c,u=0;for(let r=0;r<2;r++)for(let r=0;r<4;r++){for(a=0;a<4;a++){const t=e[r][a];c=n[t[1]],c^=s[4][n[t[2]>>>2]>>>24-8*(3&t[2])&255],c^=s[5][n[t[3]>>>2]>>>24-8*(3&t[3])&255],c^=s[6][n[t[4]>>>2]>>>24-8*(3&t[4])&255],c^=s[7][n[t[5]>>>2]>>>24-8*(3&t[5])&255],c^=s[o[a]][n[t[6]>>>2]>>>24-8*(3&t[6])&255],n[t[0]]=c}for(a=0;a<4;a++){const e=t[r][a];c=s[4][n[e[0]>>>2]>>>24-8*(3&e[0])&255],c^=s[5][n[e[1]>>>2]>>>24-8*(3&e[1])&255],c^=s[6][n[e[2]>>>2]>>>24-8*(3&e[2])&255],c^=s[7][n[e[3]>>>2]>>>24-8*(3&e[3])&255],c^=s[4+a][n[e[4]>>>2]>>>24-8*(3&e[4])&255],i[u]=c,u++}}for(let e=0;e<16;e++)this.masking[e]=i[e],this.rotate[e]=31&i[16+e]};const s=new Array(8);s[0]=[821772500,2678128395,1810681135,1059425402,505495343,2617265619,1610868032,3483355465,3218386727,2294005173,3791863952,2563806837,1852023008,365126098,3269944861,584384398,677919599,3229601881,4280515016,2002735330,1136869587,3744433750,2289869850,2731719981,2714362070,879511577,1639411079,575934255,717107937,2857637483,576097850,2731753936,1725645e3,2810460463,5111599,767152862,2543075244,1251459544,1383482551,3052681127,3089939183,3612463449,1878520045,1510570527,2189125840,2431448366,582008916,3163445557,1265446783,1354458274,3529918736,3202711853,3073581712,3912963487,3029263377,1275016285,4249207360,2905708351,3304509486,1442611557,3585198765,2712415662,2731849581,3248163920,2283946226,208555832,2766454743,1331405426,1447828783,3315356441,3108627284,2957404670,2981538698,3339933917,1669711173,286233437,1465092821,1782121619,3862771680,710211251,980974943,1651941557,430374111,2051154026,704238805,4128970897,3144820574,2857402727,948965521,3333752299,2227686284,718756367,2269778983,2731643755,718440111,2857816721,3616097120,1113355533,2478022182,410092745,1811985197,1944238868,2696854588,1415722873,1682284203,1060277122,1998114690,1503841958,82706478,2315155686,1068173648,845149890,2167947013,1768146376,1993038550,3566826697,3390574031,940016341,3355073782,2328040721,904371731,1205506512,4094660742,2816623006,825647681,85914773,2857843460,1249926541,1417871568,3287612,3211054559,3126306446,1975924523,1353700161,2814456437,2438597621,1800716203,722146342,2873936343,1151126914,4160483941,2877670899,458611604,2866078500,3483680063,770352098,2652916994,3367839148,3940505011,3585973912,3809620402,718646636,2504206814,2914927912,3631288169,2857486607,2860018678,575749918,2857478043,718488780,2069512688,3548183469,453416197,1106044049,3032691430,52586708,3378514636,3459808877,3211506028,1785789304,218356169,3571399134,3759170522,1194783844,1523787992,3007827094,1975193539,2555452411,1341901877,3045838698,3776907964,3217423946,2802510864,2889438986,1057244207,1636348243,3761863214,1462225785,2632663439,481089165,718503062,24497053,3332243209,3344655856,3655024856,3960371065,1195698900,2971415156,3710176158,2115785917,4027663609,3525578417,2524296189,2745972565,3564906415,1372086093,1452307862,2780501478,1476592880,3389271281,18495466,2378148571,901398090,891748256,3279637769,3157290713,2560960102,1447622437,4284372637,216884176,2086908623,1879786977,3588903153,2242455666,2938092967,3559082096,2810645491,758861177,1121993112,215018983,642190776,4169236812,1196255959,2081185372,3508738393,941322904,4124243163,2877523539,1848581667,2205260958,3180453958,2589345134,3694731276,550028657,2519456284,3789985535,2973870856,2093648313,443148163,46942275,2734146937,1117713533,1115362972,1523183689,3717140224,1551984063],s[1]=[522195092,4010518363,1776537470,960447360,4267822970,4005896314,1435016340,1929119313,2913464185,1310552629,3579470798,3724818106,2579771631,1594623892,417127293,2715217907,2696228731,1508390405,3994398868,3925858569,3695444102,4019471449,3129199795,3770928635,3520741761,990456497,4187484609,2783367035,21106139,3840405339,631373633,3783325702,532942976,396095098,3548038825,4267192484,2564721535,2011709262,2039648873,620404603,3776170075,2898526339,3612357925,4159332703,1645490516,223693667,1567101217,3362177881,1029951347,3470931136,3570957959,1550265121,119497089,972513919,907948164,3840628539,1613718692,3594177948,465323573,2659255085,654439692,2575596212,2699288441,3127702412,277098644,624404830,4100943870,2717858591,546110314,2403699828,3655377447,1321679412,4236791657,1045293279,4010672264,895050893,2319792268,494945126,1914543101,2777056443,3894764339,2219737618,311263384,4275257268,3458730721,669096869,3584475730,3835122877,3319158237,3949359204,2005142349,2713102337,2228954793,3769984788,569394103,3855636576,1425027204,108000370,2736431443,3671869269,3043122623,1750473702,2211081108,762237499,3972989403,2798899386,3061857628,2943854345,867476300,964413654,1591880597,1594774276,2179821409,552026980,3026064248,3726140315,2283577634,3110545105,2152310760,582474363,1582640421,1383256631,2043843868,3322775884,1217180674,463797851,2763038571,480777679,2718707717,2289164131,3118346187,214354409,200212307,3810608407,3025414197,2674075964,3997296425,1847405948,1342460550,510035443,4080271814,815934613,833030224,1620250387,1945732119,2703661145,3966000196,1388869545,3456054182,2687178561,2092620194,562037615,1356438536,3409922145,3261847397,1688467115,2150901366,631725691,3840332284,549916902,3455104640,394546491,837744717,2114462948,751520235,2221554606,2415360136,3999097078,2063029875,803036379,2702586305,821456707,3019566164,360699898,4018502092,3511869016,3677355358,2402471449,812317050,49299192,2570164949,3259169295,2816732080,3331213574,3101303564,2156015656,3705598920,3546263921,143268808,3200304480,1638124008,3165189453,3341807610,578956953,2193977524,3638120073,2333881532,807278310,658237817,2969561766,1641658566,11683945,3086995007,148645947,1138423386,4158756760,1981396783,2401016740,3699783584,380097457,2680394679,2803068651,3334260286,441530178,4016580796,1375954390,761952171,891809099,2183123478,157052462,3683840763,1592404427,341349109,2438483839,1417898363,644327628,2233032776,2353769706,2201510100,220455161,1815641738,182899273,2995019788,3627381533,3702638151,2890684138,1052606899,588164016,1681439879,4038439418,2405343923,4229449282,167996282,1336969661,1688053129,2739224926,1543734051,1046297529,1138201970,2121126012,115334942,1819067631,1902159161,1941945968,2206692869,1159982321],s[2]=[2381300288,637164959,3952098751,3893414151,1197506559,916448331,2350892612,2932787856,3199334847,4009478890,3905886544,1373570990,2450425862,4037870920,3778841987,2456817877,286293407,124026297,3001279700,1028597854,3115296800,4208886496,2691114635,2188540206,1430237888,1218109995,3572471700,308166588,570424558,2187009021,2455094765,307733056,1310360322,3135275007,1384269543,2388071438,863238079,2359263624,2801553128,3380786597,2831162807,1470087780,1728663345,4072488799,1090516929,532123132,2389430977,1132193179,2578464191,3051079243,1670234342,1434557849,2711078940,1241591150,3314043432,3435360113,3091448339,1812415473,2198440252,267246943,796911696,3619716990,38830015,1526438404,2806502096,374413614,2943401790,1489179520,1603809326,1920779204,168801282,260042626,2358705581,1563175598,2397674057,1356499128,2217211040,514611088,2037363785,2186468373,4022173083,2792511869,2913485016,1173701892,4200428547,3896427269,1334932762,2455136706,602925377,2835607854,1613172210,41346230,2499634548,2457437618,2188827595,41386358,4172255629,1313404830,2405527007,3801973774,2217704835,873260488,2528884354,2478092616,4012915883,2555359016,2006953883,2463913485,575479328,2218240648,2099895446,660001756,2341502190,3038761536,3888151779,3848713377,3286851934,1022894237,1620365795,3449594689,1551255054,15374395,3570825345,4249311020,4151111129,3181912732,310226346,1133119310,530038928,136043402,2476768958,3107506709,2544909567,1036173560,2367337196,1681395281,1758231547,3641649032,306774401,1575354324,3716085866,1990386196,3114533736,2455606671,1262092282,3124342505,2768229131,4210529083,1833535011,423410938,660763973,2187129978,1639812e3,3508421329,3467445492,310289298,272797111,2188552562,2456863912,310240523,677093832,1013118031,901835429,3892695601,1116285435,3036471170,1337354835,243122523,520626091,277223598,4244441197,4194248841,1766575121,594173102,316590669,742362309,3536858622,4176435350,3838792410,2501204839,1229605004,3115755532,1552908988,2312334149,979407927,3959474601,1148277331,176638793,3614686272,2083809052,40992502,1340822838,2731552767,3535757508,3560899520,1354035053,122129617,7215240,2732932949,3118912700,2718203926,2539075635,3609230695,3725561661,1928887091,2882293555,1988674909,2063640240,2491088897,1459647954,4189817080,2302804382,1113892351,2237858528,1927010603,4002880361,1856122846,1594404395,2944033133,3855189863,3474975698,1643104450,4054590833,3431086530,1730235576,2984608721,3084664418,2131803598,4178205752,267404349,1617849798,1616132681,1462223176,736725533,2327058232,551665188,2945899023,1749386277,2575514597,1611482493,674206544,2201269090,3642560800,728599968,1680547377,2620414464,1388111496,453204106,4156223445,1094905244,2754698257,2201108165,3757000246,2704524545,3922940700,3996465027],s[3]=[2645754912,532081118,2814278639,3530793624,1246723035,1689095255,2236679235,4194438865,2116582143,3859789411,157234593,2045505824,4245003587,1687664561,4083425123,605965023,672431967,1336064205,3376611392,214114848,4258466608,3232053071,489488601,605322005,3998028058,264917351,1912574028,756637694,436560991,202637054,135989450,85393697,2152923392,3896401662,2895836408,2145855233,3535335007,115294817,3147733898,1922296357,3464822751,4117858305,1037454084,2725193275,2127856640,1417604070,1148013728,1827919605,642362335,2929772533,909348033,1346338451,3547799649,297154785,1917849091,4161712827,2883604526,3968694238,1469521537,3780077382,3375584256,1763717519,136166297,4290970789,1295325189,2134727907,2798151366,1566297257,3672928234,2677174161,2672173615,965822077,2780786062,289653839,1133871874,3491843819,35685304,1068898316,418943774,672553190,642281022,2346158704,1954014401,3037126780,4079815205,2030668546,3840588673,672283427,1776201016,359975446,3750173538,555499703,2769985273,1324923,69110472,152125443,3176785106,3822147285,1340634837,798073664,1434183902,15393959,216384236,1303690150,3881221631,3711134124,3960975413,106373927,2578434224,1455997841,1801814300,1578393881,1854262133,3188178946,3258078583,2302670060,1539295533,3505142565,3078625975,2372746020,549938159,3278284284,2620926080,181285381,2865321098,3970029511,68876850,488006234,1728155692,2608167508,836007927,2435231793,919367643,3339422534,3655756360,1457871481,40520939,1380155135,797931188,234455205,2255801827,3990488299,397000196,739833055,3077865373,2871719860,4022553888,772369276,390177364,3853951029,557662966,740064294,1640166671,1699928825,3535942136,622006121,3625353122,68743880,1742502,219489963,1664179233,1577743084,1236991741,410585305,2366487942,823226535,1050371084,3426619607,3586839478,212779912,4147118561,1819446015,1911218849,530248558,3486241071,3252585495,2886188651,3410272728,2342195030,20547779,2982490058,3032363469,3631753222,312714466,1870521650,1493008054,3491686656,615382978,4103671749,2534517445,1932181,2196105170,278426614,6369430,3274544417,2913018367,697336853,2143000447,2946413531,701099306,1558357093,2805003052,3500818408,2321334417,3567135975,216290473,3591032198,23009561,1996984579,3735042806,2024298078,3739440863,569400510,2339758983,3016033873,3097871343,3639523026,3844324983,3256173865,795471839,2951117563,4101031090,4091603803,3603732598,971261452,534414648,428311343,3389027175,2844869880,694888862,1227866773,2456207019,3043454569,2614353370,3749578031,3676663836,459166190,4132644070,1794958188,51825668,2252611902,3084671440,2036672799,3436641603,1099053433,2469121526,3059204941,1323291266,2061838604,1018778475,2233344254,2553501054,334295216,3556750194,1065731521,183467730],s[4]=[2127105028,745436345,2601412319,2788391185,3093987327,500390133,1155374404,389092991,150729210,3891597772,3523549952,1935325696,716645080,946045387,2901812282,1774124410,3869435775,4039581901,3293136918,3438657920,948246080,363898952,3867875531,1286266623,1598556673,68334250,630723836,1104211938,1312863373,613332731,2377784574,1101634306,441780740,3129959883,1917973735,2510624549,3238456535,2544211978,3308894634,1299840618,4076074851,1756332096,3977027158,297047435,3790297736,2265573040,3621810518,1311375015,1667687725,47300608,3299642885,2474112369,201668394,1468347890,576830978,3594690761,3742605952,1958042578,1747032512,3558991340,1408974056,3366841779,682131401,1033214337,1545599232,4265137049,206503691,103024618,2855227313,1337551222,2428998917,2963842932,4015366655,3852247746,2796956967,3865723491,3747938335,247794022,3755824572,702416469,2434691994,397379957,851939612,2314769512,218229120,1380406772,62274761,214451378,3170103466,2276210409,3845813286,28563499,446592073,1693330814,3453727194,29968656,3093872512,220656637,2470637031,77972100,1667708854,1358280214,4064765667,2395616961,325977563,4277240721,4220025399,3605526484,3355147721,811859167,3069544926,3962126810,652502677,3075892249,4132761541,3498924215,1217549313,3250244479,3858715919,3053989961,1538642152,2279026266,2875879137,574252750,3324769229,2651358713,1758150215,141295887,2719868960,3515574750,4093007735,4194485238,1082055363,3417560400,395511885,2966884026,179534037,3646028556,3738688086,1092926436,2496269142,257381841,3772900718,1636087230,1477059743,2499234752,3811018894,2675660129,3285975680,90732309,1684827095,1150307763,1723134115,3237045386,1769919919,1240018934,815675215,750138730,2239792499,1234303040,1995484674,138143821,675421338,1145607174,1936608440,3238603024,2345230278,2105974004,323969391,779555213,3004902369,2861610098,1017501463,2098600890,2628620304,2940611490,2682542546,1171473753,3656571411,3687208071,4091869518,393037935,159126506,1662887367,1147106178,391545844,3452332695,1891500680,3016609650,1851642611,546529401,1167818917,3194020571,2848076033,3953471836,575554290,475796850,4134673196,450035699,2351251534,844027695,1080539133,86184846,1554234488,3692025454,1972511363,2018339607,1491841390,1141460869,1061690759,4244549243,2008416118,2351104703,2868147542,1598468138,722020353,1027143159,212344630,1387219594,1725294528,3745187956,2500153616,458938280,4129215917,1828119673,544571780,3503225445,2297937496,1241802790,267843827,2694610800,1397140384,1558801448,3782667683,1806446719,929573330,2234912681,400817706,616011623,4121520928,3603768725,1761550015,1968522284,4053731006,4192232858,4005120285,872482584,3140537016,3894607381,2287405443,1963876937,3663887957,1584857e3,2975024454,1833426440,4025083860],s[5]=[4143615901,749497569,1285769319,3795025788,2514159847,23610292,3974978748,844452780,3214870880,3751928557,2213566365,1676510905,448177848,3730751033,4086298418,2307502392,871450977,3222878141,4110862042,3831651966,2735270553,1310974780,2043402188,1218528103,2736035353,4274605013,2702448458,3936360550,2693061421,162023535,2827510090,687910808,23484817,3784910947,3371371616,779677500,3503626546,3473927188,4157212626,3500679282,4248902014,2466621104,3899384794,1958663117,925738300,1283408968,3669349440,1840910019,137959847,2679828185,1239142320,1315376211,1547541505,1690155329,739140458,3128809933,3933172616,3876308834,905091803,1548541325,4040461708,3095483362,144808038,451078856,676114313,2861728291,2469707347,993665471,373509091,2599041286,4025009006,4170239449,2149739950,3275793571,3749616649,2794760199,1534877388,572371878,2590613551,1753320020,3467782511,1405125690,4270405205,633333386,3026356924,3475123903,632057672,2846462855,1404951397,3882875879,3915906424,195638627,2385783745,3902872553,1233155085,3355999740,2380578713,2702246304,2144565621,3663341248,3894384975,2502479241,4248018925,3094885567,1594115437,572884632,3385116731,767645374,1331858858,1475698373,3793881790,3532746431,1321687957,619889600,1121017241,3440213920,2070816767,2833025776,1933951238,4095615791,890643334,3874130214,859025556,360630002,925594799,1764062180,3920222280,4078305929,979562269,2810700344,4087740022,1949714515,546639971,1165388173,3069891591,1495988560,922170659,1291546247,2107952832,1813327274,3406010024,3306028637,4241950635,153207855,2313154747,1608695416,1150242611,1967526857,721801357,1220138373,3691287617,3356069787,2112743302,3281662835,1111556101,1778980689,250857638,2298507990,673216130,2846488510,3207751581,3562756981,3008625920,3417367384,2198807050,529510932,3547516680,3426503187,2364944742,102533054,2294910856,1617093527,1204784762,3066581635,1019391227,1069574518,1317995090,1691889997,3661132003,510022745,3238594800,1362108837,1817929911,2184153760,805817662,1953603311,3699844737,120799444,2118332377,207536705,2282301548,4120041617,145305846,2508124933,3086745533,3261524335,1877257368,2977164480,3160454186,2503252186,4221677074,759945014,254147243,2767453419,3801518371,629083197,2471014217,907280572,3900796746,940896768,2751021123,2625262786,3161476951,3661752313,3260732218,1425318020,2977912069,1496677566,3988592072,2140652971,3126511541,3069632175,977771578,1392695845,1698528874,1411812681,1369733098,1343739227,3620887944,1142123638,67414216,3102056737,3088749194,1626167401,2546293654,3941374235,697522451,33404913,143560186,2595682037,994885535,1247667115,3859094837,2699155541,3547024625,4114935275,2968073508,3199963069,2732024527,1237921620,951448369,1898488916,1211705605,2790989240,2233243581,3598044975],s[6]=[2246066201,858518887,1714274303,3485882003,713916271,2879113490,3730835617,539548191,36158695,1298409750,419087104,1358007170,749914897,2989680476,1261868530,2995193822,2690628854,3443622377,3780124940,3796824509,2976433025,4259637129,1551479e3,512490819,1296650241,951993153,2436689437,2460458047,144139966,3136204276,310820559,3068840729,643875328,1969602020,1680088954,2185813161,3283332454,672358534,198762408,896343282,276269502,3014846926,84060815,197145886,376173866,3943890818,3813173521,3545068822,1316698879,1598252827,2633424951,1233235075,859989710,2358460855,3503838400,3409603720,1203513385,1193654839,2792018475,2060853022,207403770,1144516871,3068631394,1121114134,177607304,3785736302,326409831,1929119770,2983279095,4183308101,3474579288,3200513878,3228482096,119610148,1170376745,3378393471,3163473169,951863017,3337026068,3135789130,2907618374,1183797387,2015970143,4045674555,2182986399,2952138740,3928772205,384012900,2454997643,10178499,2879818989,2596892536,111523738,2995089006,451689641,3196290696,235406569,1441906262,3890558523,3013735005,4158569349,1644036924,376726067,1006849064,3664579700,2041234796,1021632941,1374734338,2566452058,371631263,4007144233,490221539,206551450,3140638584,1053219195,1853335209,3412429660,3562156231,735133835,1623211703,3104214392,2738312436,4096837757,3366392578,3110964274,3956598718,3196820781,2038037254,3877786376,2339753847,300912036,3766732888,2372630639,1516443558,4200396704,1574567987,4069441456,4122592016,2699739776,146372218,2748961456,2043888151,35287437,2596680554,655490400,1132482787,110692520,1031794116,2188192751,1324057718,1217253157,919197030,686247489,3261139658,1028237775,3135486431,3059715558,2460921700,986174950,2661811465,4062904701,2752986992,3709736643,367056889,1353824391,731860949,1650113154,1778481506,784341916,357075625,3608602432,1074092588,2480052770,3811426202,92751289,877911070,3600361838,1231880047,480201094,3756190983,3094495953,434011822,87971354,363687820,1717726236,1901380172,3926403882,2481662265,400339184,1490350766,2661455099,1389319756,2558787174,784598401,1983468483,30828846,3550527752,2716276238,3841122214,1765724805,1955612312,1277890269,1333098070,1564029816,2704417615,1026694237,3287671188,1260819201,3349086767,1016692350,1582273796,1073413053,1995943182,694588404,1025494639,3323872702,3551898420,4146854327,453260480,1316140391,1435673405,3038941953,3486689407,1622062951,403978347,817677117,950059133,4246079218,3278066075,1486738320,1417279718,481875527,2549965225,3933690356,760697757,1452955855,3897451437,1177426808,1702951038,4085348628,2447005172,1084371187,3516436277,3068336338,1073369276,1027665953,3284188590,1230553676,1368340146,2226246512,267243139,2274220762,4070734279,2497715176,2423353163,2504755875],s[7]=[3793104909,3151888380,2817252029,895778965,2005530807,3871412763,237245952,86829237,296341424,3851759377,3974600970,2475086196,709006108,1994621201,2972577594,937287164,3734691505,168608556,3189338153,2225080640,3139713551,3033610191,3025041904,77524477,185966941,1208824168,2344345178,1721625922,3354191921,1066374631,1927223579,1971335949,2483503697,1551748602,2881383779,2856329572,3003241482,48746954,1398218158,2050065058,313056748,4255789917,393167848,1912293076,940740642,3465845460,3091687853,2522601570,2197016661,1727764327,364383054,492521376,1291706479,3264136376,1474851438,1685747964,2575719748,1619776915,1814040067,970743798,1561002147,2925768690,2123093554,1880132620,3151188041,697884420,2550985770,2607674513,2659114323,110200136,1489731079,997519150,1378877361,3527870668,478029773,2766872923,1022481122,431258168,1112503832,897933369,2635587303,669726182,3383752315,918222264,163866573,3246985393,3776823163,114105080,1903216136,761148244,3571337562,1690750982,3166750252,1037045171,1888456500,2010454850,642736655,616092351,365016990,1185228132,4174898510,1043824992,2023083429,2241598885,3863320456,3279669087,3674716684,108438443,2132974366,830746235,606445527,4173263986,2204105912,1844756978,2532684181,4245352700,2969441100,3796921661,1335562986,4061524517,2720232303,2679424040,634407289,885462008,3294724487,3933892248,2094100220,339117932,4048830727,3202280980,1458155303,2689246273,1022871705,2464987878,3714515309,353796843,2822958815,4256850100,4052777845,551748367,618185374,3778635579,4020649912,1904685140,3069366075,2670879810,3407193292,2954511620,4058283405,2219449317,3135758300,1120655984,3447565834,1474845562,3577699062,550456716,3466908712,2043752612,881257467,869518812,2005220179,938474677,3305539448,3850417126,1315485940,3318264702,226533026,965733244,321539988,1136104718,804158748,573969341,3708209826,937399083,3290727049,2901666755,1461057207,4013193437,4066861423,3242773476,2421326174,1581322155,3028952165,786071460,3900391652,3918438532,1485433313,4023619836,3708277595,3678951060,953673138,1467089153,1930354364,1533292819,2492563023,1346121658,1685000834,1965281866,3765933717,4190206607,2052792609,3515332758,690371149,3125873887,2180283551,2903598061,3933952357,436236910,289419410,14314871,1242357089,2904507907,1616633776,2666382180,585885352,3471299210,2699507360,1432659641,277164553,3354103607,770115018,2303809295,3741942315,3177781868,2853364978,2269453327,3774259834,987383833,1290892879,225909803,1741533526,890078084,1496906255,1111072499,916028167,243534141,1252605537,2204162171,531204876,290011180,3916834213,102027703,237315147,209093447,1486785922,220223953,2758195998,4175039106,82940208,3127791296,2569425252,518464269,1353887104,3941492737,2377294467,3935040926]}function If(e){this.cast5=new Sf,this.cast5.setKey(e),this.encrypt=function(e){return this.cast5.encrypt(e)}}kf.keySize=kf.prototype.keySize=24,kf.blockSize=kf.prototype.blockSize=8,If.blockSize=If.prototype.blockSize=8,If.keySize=If.prototype.keySize=16;const Cf=4294967295;function Bf(e,t){return(e<>>32-t)&Cf}function xf(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function Pf(e,t,r){e.splice(t,4,255&r,r>>>8&255,r>>>16&255,r>>>24&255)}function Df(e,t){return e>>>8*t&255}function Tf(e){this.tf=function(){let e=null,t=null,r=-1,n=[],i=[[],[],[],[]];function s(e){return i[0][Df(e,0)]^i[1][Df(e,1)]^i[2][Df(e,2)]^i[3][Df(e,3)]}function a(e){return i[0][Df(e,3)]^i[1][Df(e,0)]^i[2][Df(e,1)]^i[3][Df(e,2)]}function o(e,t){let r=s(t[0]),i=a(t[1]);t[2]=Bf(t[2]^r+i+n[4*e+8]&Cf,31),t[3]=Bf(t[3],1)^r+2*i+n[4*e+9]&Cf,r=s(t[2]),i=a(t[3]),t[0]=Bf(t[0]^r+i+n[4*e+10]&Cf,31),t[1]=Bf(t[1],1)^r+2*i+n[4*e+11]&Cf}function c(e,t){let r=s(t[0]),i=a(t[1]);t[2]=Bf(t[2],1)^r+i+n[4*e+10]&Cf,t[3]=Bf(t[3]^r+2*i+n[4*e+11]&Cf,31),r=s(t[2]),i=a(t[3]),t[0]=Bf(t[0],1)^r+i+n[4*e+8]&Cf,t[1]=Bf(t[1]^r+2*i+n[4*e+9]&Cf,31)}return{name:"twofish",blocksize:16,open:function(t){let r,s,a,o,c;e=t;const u=[],l=[],h=[];let f;const p=[];let d,g,y;const m=[[8,1,7,13,6,15,3,2,0,11,5,9,14,12,10,4],[2,8,11,13,15,7,6,14,3,1,9,4,0,10,12,5]],w=[[14,12,11,8,1,2,3,5,15,4,10,6,7,0,9,13],[1,14,2,11,4,12,3,7,6,13,10,5,15,9,0,8]],b=[[11,10,5,14,6,13,9,0,12,8,15,3,2,4,7,1],[4,12,7,5,1,6,9,10,0,14,13,8,2,11,3,15]],A=[[13,7,15,4,1,2,6,14,9,11,3,0,8,5,12,10],[11,9,5,1,12,3,13,14,6,4,7,15,2,0,8,10]],v=[0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15],E=[0,9,2,11,4,13,6,15,8,1,10,3,12,5,14,7],k=[[],[]],S=[[],[],[],[]];function I(e){return e^e>>2^[0,90,180,238][3&e]}function C(e){return e^e>>1^e>>2^[0,238,180,90][3&e]}function B(e,t){let r,n,i;for(r=0;r<8;r++)n=t>>>24,t=t<<8&Cf|e>>>24,e=e<<8&Cf,i=n<<1,128&n&&(i^=333),t^=n^i<<16,i^=n>>>1,1&n&&(i^=166),t^=i<<24|i<<8;return t}function x(e,t){const r=t>>4,n=15&t,i=m[e][r^n],s=w[e][v[n]^E[r]];return A[e][v[s]^E[i]]<<4|b[e][i^s]}function P(e,t){let r=Df(e,0),n=Df(e,1),i=Df(e,2),s=Df(e,3);switch(f){case 4:r=k[1][r]^Df(t[3],0),n=k[0][n]^Df(t[3],1),i=k[0][i]^Df(t[3],2),s=k[1][s]^Df(t[3],3);case 3:r=k[1][r]^Df(t[2],0),n=k[1][n]^Df(t[2],1),i=k[0][i]^Df(t[2],2),s=k[0][s]^Df(t[2],3);case 2:r=k[0][k[0][r]^Df(t[1],0)]^Df(t[0],0),n=k[0][k[1][n]^Df(t[1],1)]^Df(t[0],1),i=k[1][k[0][i]^Df(t[1],2)]^Df(t[0],2),s=k[1][k[1][s]^Df(t[1],3)]^Df(t[0],3)}return S[0][r]^S[1][n]^S[2][i]^S[3][s]}for(e=e.slice(0,32),r=e.length;16!==r&&24!==r&&32!==r;)e[r++]=0;for(r=0;r>2]=xf(e,r);for(r=0;r<256;r++)k[0][r]=x(0,r),k[1][r]=x(1,r);for(r=0;r<256;r++)d=k[1][r],g=I(d),y=C(d),S[0][r]=d+(g<<8)+(y<<16)+(y<<24),S[2][r]=g+(y<<8)+(d<<16)+(y<<24),d=k[0][r],g=I(d),y=C(d),S[1][r]=y+(y<<8)+(g<<16)+(d<<24),S[3][r]=g+(d<<8)+(y<<16)+(g<<24);for(f=h.length/2,r=0;r=0;e--)c(e,s);Pf(t,r,s[2]^n[0]),Pf(t,r+4,s[3]^n[1]),Pf(t,r+8,s[0]^n[2]),Pf(t,r+12,s[1]^n[3]),r+=16},finalize:function(){return t}}}(),this.tf.open(Array.from(e),0),this.encrypt=function(e){return this.tf.encrypt(Array.from(e),0)}}function Uf(){}function Kf(e){this.bf=new Uf,this.bf.init(e),this.encrypt=function(e){return this.bf.encryptBlock(e)}}Tf.keySize=Tf.prototype.keySize=32,Tf.blockSize=Tf.prototype.blockSize=16,Uf.prototype.BLOCKSIZE=8,Uf.prototype.SBOXES=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]],Uf.prototype.PARRAY=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Uf.prototype.NN=16,Uf.prototype._clean=function(e){return e<0&&(e=2147483648+(2147483647&e)),e},Uf.prototype._F=function(e){let t;const r=255&e,n=255&(e>>>=8),i=255&(e>>>=8),s=255&(e>>>=8);return t=this.sboxes[0][s]+this.sboxes[1][i],t^=this.sboxes[2][n],t+=this.sboxes[3][r],t},Uf.prototype._encryptBlock=function(e){let t,r=e[0],n=e[1];for(t=0;t>>24-8*t&255,i[t+n]=r[1]>>>24-8*t&255;return i},Uf.prototype._decryptBlock=function(e){let t,r=e[0],n=e[1];for(t=this.NN+1;t>1;--t){r^=this.parray[t],n=this._F(r)^n;const e=r;r=n,n=e}r^=this.parray[1],n^=this.parray[0],e[0]=this._clean(n),e[1]=this._clean(r)},Uf.prototype.init=function(e){let t,r=0;for(this.parray=[],t=0;t=e.length&&(r=0);this.parray[t]=this.PARRAY[t]^n}for(this.sboxes=[],t=0;t<4;++t)for(this.sboxes[t]=[],r=0;r<256;++r)this.sboxes[t][r]=this.SBOXES[t][r];const n=[0,0];for(t=0;t>>24^u<<8,e[n+1]=u>>>24^c<<8,Rf(e,r,e,n),Rf(e,r,t,o),c=e[s]^e[r],u=e[s+1]^e[r+1],e[s]=c>>>16^u<<16,e[s+1]=u>>>16^c<<16,Rf(e,i,e,s),c=e[n]^e[i],u=e[n+1]^e[i+1],e[n]=u>>>31^c<<1,e[n+1]=c>>>31^u<<1}const Ff=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),_f=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map((e=>2*e)));function Qf(e,t){const r=new Uint32Array(32),n=new Uint32Array(e.b.buffer,e.b.byteOffset,32);for(let t=0;t<16;t++)r[t]=e.h[t],r[t+16]=Ff[t];r[24]^=e.t0[0],r[25]^=e.t0[1];const i=t?4294967295:0;r[28]^=i,r[29]^=i;for(let e=0;e<12;e++){const t=e<<4;Lf(r,n,0,8,16,24,_f[t+0],_f[t+1]),Lf(r,n,2,10,18,26,_f[t+2],_f[t+3]),Lf(r,n,4,12,20,28,_f[t+4],_f[t+5]),Lf(r,n,6,14,22,30,_f[t+6],_f[t+7]),Lf(r,n,0,10,20,30,_f[t+8],_f[t+9]),Lf(r,n,2,12,22,24,_f[t+10],_f[t+11]),Lf(r,n,4,14,16,26,_f[t+12],_f[t+13]),Lf(r,n,6,8,18,28,_f[t+14],_f[t+15])}for(let t=0;t<16;t++)e.h[t]^=r[t]^r[t+16]}class jf{constructor(e,t,r,n){const i=new Uint8Array(64);this.S={b:new Uint8Array(zf),h:new Uint32Array(qf/4),t0:new Uint32Array(2),c:0,outlen:e},i[0]=e,t&&(i[1]=t.length),i[2]=1,i[3]=1,r&&i.set(r,32),n&&i.set(n,48);const s=new Uint32Array(i.buffer,i.byteOffset,i.length/Uint32Array.BYTES_PER_ELEMENT);for(let e=0;e<16;e++)this.S.h[e]=Ff[e]^s[e];if(t){const e=new Uint8Array(zf);e.set(t),this.update(e)}}update(e){if(!(e instanceof Uint8Array))throw new Error("Input must be Uint8Array or Buffer");let t=0;for(;t>2]>>8*(3&e);return this.S.h=null,t.buffer}}function Hf(e,t,r,n){if(e>qf)throw new Error(`outlen must be at most ${qf} (given: ${e})`);return new jf(e,t,r,n)}const qf=64,zf=128,Gf=1024,Vf=205===new Uint8Array(new Uint16Array([43981]).buffer)[0];function Jf(e,t,r){return e[r+0]=t,e[r+1]=t>>8,e[r+2]=t>>16,e[r+3]=t>>24,e}function $f(e,t,r){if(t>Number.MAX_SAFE_INTEGER)throw new Error("LE64: large numbers unsupported");let n=t;for(let t=r;tfunction(e,{memory:t,instance:r}){if(!Vf)throw new Error("BigEndian system not supported");const n=function({type:e,version:t,tagLength:r,password:n,salt:i,ad:s,secret:a,parallelism:o,memorySize:c,passes:u}){const l=(e,t,r,n)=>{if(tn)throw new Error(`${e} size should be between ${r} and ${n} bytes`)};if(2!==e||19!==t)throw new Error("Unsupported type or version");return l("password",n,8,4294967295),l("salt",i,8,4294967295),l("tag",r,4,4294967295),l("memory",c,8*o,4294967295),s&&l("associated data",s,0,4294967295),a&&l("secret",a,0,32),{type:e,version:t,tagLength:r,password:n,salt:i,ad:s,secret:a,lanes:o,memorySize:c,passes:u}}({type:2,version:19,...e}),{G:i,G2:s,xor:a,getLZ:o}=r.exports,c={},u={};u.G=i,u.G2=s,u.XOR=a;const l=4*n.lanes*Math.floor(n.memorySize/(4*n.lanes)),h=l*Gf+10240;if(t.buffer.byteLength{r.set(e,n),n+=e.length})),r}(i));const s=t.digest();return new Uint8Array(s)}(n),b=l/n.lanes,A=new Array(n.lanes).fill(null).map((()=>new Array(b))),v=(e,t)=>(A[e][t]=y.subarray(e*b*1024+1024*t,e*b*1024+1024*t+Gf),A[e][t]);for(let e=0;e0?A[i][c-1]:A[i][b-1],l=r?a.next().value:u;o(p.byteOffset,l.byteOffset,i,n.lanes,e,t,s,4,E);const h=p[0],f=p[1];0===e&&v(i,c),Zf(d,u,A[h][f],e>0?g:A[i][c]),e>0&&Yf(d,A[i][c],g,A[i][c])}}}const k=A[0][b-1];for(let e=1;erp((e=>np(0,0,"AGFzbQEAAAABKwdgBH9/f38AYAABf2AAAGADf39/AGAJf39/f39/f39/AX9gAX8AYAF/AX8CEwEDZW52Bm1lbW9yeQIBkAiAgAQDCgkCAwAABAEFBgEEBQFwAQICBgkBfwFBkIjAAgsHfQoDeG9yAAEBRwACAkcyAAMFZ2V0TFoABBlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALX2luaXRpYWxpemUAABBfX2Vycm5vX2xvY2F0aW9uAAgJc3RhY2tTYXZlAAUMc3RhY2tSZXN0b3JlAAYKc3RhY2tBbGxvYwAHCQcBAEEBCwEACs0gCQMAAQtYAQJ/A0AgACAEQQR0IgNqIAIgA2r9AAQAIAEgA2r9AAQA/VH9CwQAIAAgA0EQciIDaiACIANq/QAEACABIANq/QAEAP1R/QsEACAEQQJqIgRBwABHDQALC7ceAgt7A38DQCADIBFBBHQiD2ogASAPav0ABAAgACAPav0ABAD9USIF/QsEACACIA9qIAX9CwQAIAMgD0EQciIPaiABIA9q/QAEACAAIA9q/QAEAP1RIgX9CwQAIAIgD2ogBf0LBAAgEUECaiIRQcAARw0ACwNAIAMgEEEHdGoiAEEQaiAA/QAEcCAA/QAEMCIFIAD9AAQQIgT9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAQgBP0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgT9USIJQSD9ywEgCUEg/c0B/VAiCSAA/QAEUCIG/c4BIAkgCf0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIGIAX9USIFQSj9ywEgBUEY/c0B/VAiCCAE/c4BIAggCP0NAAECAwgJCgsAAQIDCAkKCyAEIAT9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIKIAogCf1RIgVBMP3LASAFQRD9zQH9UCIFIAb9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAYgBv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgkgCP1RIgRBAf3LASAEQT/9zQH9UCIMIAD9AARgIAD9AAQgIgQgAP0ABAAiBv3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBv1RIghBIP3LASAIQSD9zQH9UCIIIABBQGsiAf0ABAAiB/3OASAIIAj9DQABAgMICQoLAAECAwgJCgsgByAH/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiByAE/VEiBEEo/csBIARBGP3NAf1QIgsgBv3OASALIAv9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBiAI/VEiBEEw/csBIARBEP3NAf1QIgQgB/3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgByAH/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCCAL/VEiB0EB/csBIAdBP/3NAf1QIg0gDf0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eHyIH/c4BIAcgB/0NAAECAwgJCgsAAQIDCAkKCyAKIAr9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIKIAQgBSAF/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/VEiC0Eg/csBIAtBIP3NAf1QIgsgCP3OASALIAv9DQABAgMICQoLAAECAwgJCgsgCCAI/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCCAH/VEiB0Eo/csBIAdBGP3NAf1QIgcgCv3OASAHIAf9DQABAgMICQoLAAECAwgJCgsgCiAK/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiDv0LBAAgACAGIA0gDCAM/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4fIgr9zgEgCiAK/Q0AAQIDCAkKCwABAgMICQoLIAYgBv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgYgBSAEIAT9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9USIFQSD9ywEgBUEg/c0B/VAiBSAJ/c4BIAUgBf0NAAECAwgJCgsAAQIDCAkKCyAJIAn9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIJIAr9USIEQSj9ywEgBEEY/c0B/VAiCiAG/c4BIAogCv0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIE/QsEACAAIAQgBf1RIgVBMP3LASAFQRD9zQH9UCIFIA4gC/1RIgRBMP3LASAEQRD9zQH9UCIEIAT9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9CwRgIAAgBCAFIAX9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9CwRwIAEgBCAI/c4BIAQgBP0NAAECAwgJCgsAAQIDCAkKCyAIIAj9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIE/QsEACAAIAUgCf3OASAFIAX9DQABAgMICQoLAAECAwgJCgsgCSAJ/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCf0LBFAgACAEIAf9USIFQQH9ywEgBUE//c0B/VAiBSAJIAr9USIEQQH9ywEgBEE//c0B/VAiBCAE/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/QsEICAAIAQgBSAF/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/QsEMCAQQQFqIhBBCEcNAAtBACEQA0AgAyAQQQR0aiIAQYABaiAA/QAEgAcgAP0ABIADIgUgAP0ABIABIgT9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAQgBP0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgT9USIJQSD9ywEgCUEg/c0B/VAiCSAA/QAEgAUiBv3OASAJIAn9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBiAF/VEiBUEo/csBIAVBGP3NAf1QIgggBP3OASAIIAj9DQABAgMICQoLAAECAwgJCgsgBCAE/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiCiAKIAn9USIFQTD9ywEgBUEQ/c0B/VAiBSAG/c4BIAUgBf0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIJIAj9USIEQQH9ywEgBEE//c0B/VAiDCAA/QAEgAYgAP0ABIACIgQgAP0ABAAiBv3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBv1RIghBIP3LASAIQSD9zQH9UCIIIAD9AASABCIH/c4BIAggCP0NAAECAwgJCgsAAQIDCAkKCyAHIAf9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIHIAT9USIEQSj9ywEgBEEY/c0B/VAiCyAG/c4BIAsgC/0NAAECAwgJCgsAAQIDCAkKCyAGIAb9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIGIAj9USIEQTD9ywEgBEEQ/c0B/VAiBCAH/c4BIAQgBP0NAAECAwgJCgsAAQIDCAkKCyAHIAf9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIIIAv9USIHQQH9ywEgB0E//c0B/VAiDSAN/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4fIgf9zgEgByAH/Q0AAQIDCAkKCwABAgMICQoLIAogCv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgogBCAFIAX9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9USILQSD9ywEgC0Eg/c0B/VAiCyAI/c4BIAsgC/0NAAECAwgJCgsAAQIDCAkKCyAIIAj9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIIIAf9USIHQSj9ywEgB0EY/c0B/VAiByAK/c4BIAcgB/0NAAECAwgJCgsAAQIDCAkKCyAKIAr9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIO/QsEACAAIAYgDSAMIAz9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh8iCv3OASAKIAr9DQABAgMICQoLAAECAwgJCgsgBiAG/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBiAFIAQgBP0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eH/1RIgVBIP3LASAFQSD9zQH9UCIFIAn9zgEgBSAF/Q0AAQIDCAkKCwABAgMICQoLIAkgCf0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgkgCv1RIgRBKP3LASAEQRj9zQH9UCIKIAb9zgEgCiAK/Q0AAQIDCAkKCwABAgMICQoLIAYgBv0NAAECAwgJCgsAAQIDCAkKC/3eAUEB/csB/c4BIgT9CwQAIAAgBCAF/VEiBUEw/csBIAVBEP3NAf1QIgUgDiAL/VEiBEEw/csBIARBEP3NAf1QIgQgBP0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eH/0LBIAGIAAgBCAFIAX9DQABAgMEBQYHEBESExQVFhf9DQgJCgsMDQ4PGBkaGxwdHh/9CwSAByAAIAQgCP3OASAEIAT9DQABAgMICQoLAAECAwgJCgsgCCAI/Q0AAQIDCAkKCwABAgMICQoL/d4BQQH9ywH9zgEiBP0LBIAEIAAgBSAJ/c4BIAUgBf0NAAECAwgJCgsAAQIDCAkKCyAJIAn9DQABAgMICQoLAAECAwgJCgv93gFBAf3LAf3OASIJ/QsEgAUgACAEIAf9USIFQQH9ywEgBUE//c0B/VAiBSAJIAr9USIEQQH9ywEgBEE//c0B/VAiBCAE/Q0AAQIDBAUGBxAREhMUFRYX/Q0ICQoLDA0ODxgZGhscHR4f/QsEgAIgACAEIAUgBf0NAAECAwQFBgcQERITFBUWF/0NCAkKCwwNDg8YGRobHB0eH/0LBIADIBBBAWoiEEEIRw0AC0EAIRADQCACIBBBBHQiAGoiASAAIANq/QAEACAB/QAEAP1R/QsEACACIABBEHIiAWoiDyABIANq/QAEACAP/QAEAP1R/QsEACACIABBIHIiAWoiDyABIANq/QAEACAP/QAEAP1R/QsEACACIABBMHIiAGoiASAAIANq/QAEACAB/QAEAP1R/QsEACAQQQRqIhBBwABHDQALCxYAIAAgASACIAMQAiAAIAIgAiADEAILewIBfwF+IAIhCSABNQIAIQogBCAFcgRAIAEoAgQgA3AhCQsgACAJNgIAIAAgB0EBayAFIAQbIAhsIAZBAWtBAEF/IAYbIAIgCUYbaiIBIAVBAWogCGxBACAEG2ogAa0gCiAKfkIgiH5CIIinQX9zaiAHIAhscDYCBCAACwQAIwALBgAgACQACxAAIwAgAGtBcHEiACQAIAALBQBBgAgL",e)),(e=>np(0,0,"AGFzbQEAAAABPwhgBH9/f38AYAABf2AAAGADf39/AGARf39/f39/f39/f39/f39/f38AYAl/f39/f39/f38Bf2ABfwBgAX8BfwITAQNlbnYGbWVtb3J5AgGQCICABAMLCgIDBAAABQEGBwEEBQFwAQICBgkBfwFBkIjAAgsHfQoDeG9yAAEBRwADAkcyAAQFZ2V0TFoABRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALX2luaXRpYWxpemUAABBfX2Vycm5vX2xvY2F0aW9uAAkJc3RhY2tTYXZlAAYMc3RhY2tSZXN0b3JlAAcKc3RhY2tBbGxvYwAICQcBAEEBCwEACssaCgMAAQtQAQJ/A0AgACAEQQN0IgNqIAIgA2opAwAgASADaikDAIU3AwAgACADQQhyIgNqIAIgA2opAwAgASADaikDAIU3AwAgBEECaiIEQYABRw0ACwveDwICfgF/IAAgAUEDdGoiEyATKQMAIhEgACAFQQN0aiIBKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA1BA3RqIgUgESAFKQMAhUIgiSIRNwMAIAAgCUEDdGoiCSARIAkpAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAEgESABKQMAhUIoiSIRNwMAIBMgESATKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAFIBEgBSkDAIVCMIkiETcDACAJIBEgCSkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgASARIAEpAwCFQgGJNwMAIAAgAkEDdGoiDSANKQMAIhEgACAGQQN0aiICKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA5BA3RqIgYgESAGKQMAhUIgiSIRNwMAIAAgCkEDdGoiCiARIAopAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAIgESACKQMAhUIoiSIRNwMAIA0gESANKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAGIBEgBikDAIVCMIkiETcDACAKIBEgCikDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAiARIAIpAwCFQgGJNwMAIAAgA0EDdGoiDiAOKQMAIhEgACAHQQN0aiIDKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA9BA3RqIgcgESAHKQMAhUIgiSIRNwMAIAAgC0EDdGoiCyARIAspAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAMgESADKQMAhUIoiSIRNwMAIA4gESAOKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAHIBEgBykDAIVCMIkiETcDACALIBEgCykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAyARIAMpAwCFQgGJNwMAIAAgBEEDdGoiDyAPKQMAIhEgACAIQQN0aiIEKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIBBBA3RqIgggESAIKQMAhUIgiSIRNwMAIAAgDEEDdGoiACARIAApAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAQgESAEKQMAhUIoiSIRNwMAIA8gESAPKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAIIBEgCCkDAIVCMIkiETcDACAAIBEgACkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgBCARIAQpAwCFQgGJNwMAIBMgEykDACIRIAIpAwAiEnwgEUIBhkL+////H4MgEkL/////D4N+fCIRNwMAIAggESAIKQMAhUIgiSIRNwMAIAsgESALKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACACIBEgAikDAIVCKIkiETcDACATIBEgEykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgCCARIAgpAwCFQjCJIhE3AwAgCyARIAspAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAIgESACKQMAhUIBiTcDACANIA0pAwAiESADKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAFIBEgBSkDAIVCIIkiETcDACAAIBEgACkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAyARIAMpAwCFQiiJIhE3AwAgDSARIA0pAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAUgESAFKQMAhUIwiSIRNwMAIAAgESAAKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACADIBEgAykDAIVCAYk3AwAgDiAOKQMAIhEgBCkDACISfCARQgGGQv7///8fgyASQv////8Pg358IhE3AwAgBiARIAYpAwCFQiCJIhE3AwAgCSARIAkpAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAQgESAEKQMAhUIoiSIRNwMAIA4gESAOKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAGIBEgBikDAIVCMIkiETcDACAJIBEgCSkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgBCARIAQpAwCFQgGJNwMAIA8gDykDACIRIAEpAwAiEnwgEUIBhkL+////H4MgEkL/////D4N+fCIRNwMAIAcgESAHKQMAhUIgiSIRNwMAIAogESAKKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACABIBEgASkDAIVCKIkiETcDACAPIBEgDykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgByARIAcpAwCFQjCJIhE3AwAgCiARIAopAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAEgESABKQMAhUIBiTcDAAvdCAEPfwNAIAIgBUEDdCIGaiABIAZqKQMAIAAgBmopAwCFNwMAIAIgBkEIciIGaiABIAZqKQMAIAAgBmopAwCFNwMAIAVBAmoiBUGAAUcNAAsDQCADIARBA3QiAGogACACaikDADcDACADIARBAXIiAEEDdCIBaiABIAJqKQMANwMAIAMgBEECciIBQQN0IgVqIAIgBWopAwA3AwAgAyAEQQNyIgVBA3QiBmogAiAGaikDADcDACADIARBBHIiBkEDdCIHaiACIAdqKQMANwMAIAMgBEEFciIHQQN0IghqIAIgCGopAwA3AwAgAyAEQQZyIghBA3QiCWogAiAJaikDADcDACADIARBB3IiCUEDdCIKaiACIApqKQMANwMAIAMgBEEIciIKQQN0IgtqIAIgC2opAwA3AwAgAyAEQQlyIgtBA3QiDGogAiAMaikDADcDACADIARBCnIiDEEDdCINaiACIA1qKQMANwMAIAMgBEELciINQQN0Ig5qIAIgDmopAwA3AwAgAyAEQQxyIg5BA3QiD2ogAiAPaikDADcDACADIARBDXIiD0EDdCIQaiACIBBqKQMANwMAIAMgBEEOciIQQQN0IhFqIAIgEWopAwA3AwAgAyAEQQ9yIhFBA3QiEmogAiASaikDADcDACADIARB//8DcSAAQf//A3EgAUH//wNxIAVB//8DcSAGQf//A3EgB0H//wNxIAhB//8DcSAJQf//A3EgCkH//wNxIAtB//8DcSAMQf//A3EgDUH//wNxIA5B//8DcSAPQf//A3EgEEH//wNxIBFB//8DcRACIARB8ABJIQAgBEEQaiEEIAANAAtBACEBIANBAEEBQRBBEUEgQSFBMEExQcAAQcEAQdAAQdEAQeAAQeEAQfAAQfEAEAIgA0ECQQNBEkETQSJBI0EyQTNBwgBBwwBB0gBB0wBB4gBB4wBB8gBB8wAQAiADQQRBBUEUQRVBJEElQTRBNUHEAEHFAEHUAEHVAEHkAEHlAEH0AEH1ABACIANBBkEHQRZBF0EmQSdBNkE3QcYAQccAQdYAQdcAQeYAQecAQfYAQfcAEAIgA0EIQQlBGEEZQShBKUE4QTlByABByQBB2ABB2QBB6ABB6QBB+ABB+QAQAiADQQpBC0EaQRtBKkErQTpBO0HKAEHLAEHaAEHbAEHqAEHrAEH6AEH7ABACIANBDEENQRxBHUEsQS1BPEE9QcwAQc0AQdwAQd0AQewAQe0AQfwAQf0AEAIgA0EOQQ9BHkEfQS5BL0E+QT9BzgBBzwBB3gBB3wBB7gBB7wBB/gBB/wAQAgNAIAIgAUEDdCIAaiIEIAAgA2opAwAgBCkDAIU3AwAgAiAAQQhyIgRqIgUgAyAEaikDACAFKQMAhTcDACACIABBEHIiBGoiBSADIARqKQMAIAUpAwCFNwMAIAIgAEEYciIAaiIEIAAgA2opAwAgBCkDAIU3AwAgAUEEaiIBQYABRw0ACwsWACAAIAEgAiADEAMgACACIAIgAxADC3sCAX8BfiACIQkgATUCACEKIAQgBXIEQCABKAIEIANwIQkLIAAgCTYCACAAIAdBAWsgBSAEGyAIbCAGQQFrQQBBfyAGGyACIAlGG2oiASAFQQFqIAhsQQAgBBtqIAGtIAogCn5CIIh+QiCIp0F/c2ogByAIbHA2AgQgAAsEACMACwYAIAAkAAsQACMAIABrQXBxIgAkACAACwUAQYAICw==",e)))});var pp=function(){if(hp)return lp;hp=1;var e,t=function(){if(sp)return ip;sp=1;var e=[0,1,3,7,15,31,63,127,255],t=function(e){this.stream=e,this.bitOffset=0,this.curByte=0,this.hasByte=!1};return t.prototype._ensureByte=function(){this.hasByte||(this.curByte=this.stream.readByte(),this.hasByte=!0)},t.prototype.read=function(t){for(var r=0;t>0;){this._ensureByte();var n=8-this.bitOffset;if(t>=n)r<<=n,r|=e[n]&this.curByte,this.hasByte=!1,this.bitOffset=0,t-=n;else{r<<=t;var i=n-t;r|=(this.curByte&e[t]<>i,this.bitOffset+=t,t=0}}return r},t.prototype.seek=function(e){var t=e%8,r=(e-t)/8;this.bitOffset=t,this.stream.seek(r),this.hasByte=!1},t.prototype.pi=function(){var e,t=new Uint8Array(6);for(e=0;e("00"+e.toString(16)).slice(-2))).join("")}(t)},ip=t}(),r=function(){if(op)return ap;op=1;var e=function(){};return e.prototype.readByte=function(){throw new Error("abstract method readByte() not implemented")},e.prototype.read=function(e,t,r){for(var n=0;n>>0},this.updateCRC=function(r){t=t<<8^e[255&(t>>>24^r)]},this.updateCRCRun=function(r,n){for(;n-- >0;)t=t<<8^e[255&(t>>>24^r)]}}),i=function(e,t){var r,n=e[t];for(r=t;r>0;r--)e[r]=e[r-1];return e[0]=n,n},s={OK:0,LAST_BLOCK:-1,NOT_BZIP_DATA:-2,UNEXPECTED_INPUT_EOF:-3,UNEXPECTED_OUTPUT_EOF:-4,DATA_ERROR:-5,OUT_OF_MEMORY:-6,OBSOLETE_INPUT:-7,END_OF_BLOCK:-8},a={};a[s.LAST_BLOCK]="Bad file checksum",a[s.NOT_BZIP_DATA]="Not bzip data",a[s.UNEXPECTED_INPUT_EOF]="Unexpected input EOF",a[s.UNEXPECTED_OUTPUT_EOF]="Unexpected output EOF",a[s.DATA_ERROR]="Data error",a[s.OUT_OF_MEMORY]="Out of memory",a[s.OBSOLETE_INPUT]="Obsolete (pre 0.9.5) bzip format not supported.";var o=function(e,t){var r=a[e]||"unknown error";t&&(r+=": "+t);var n=new TypeError(r);throw n.errorCode=e,n},c=function(e,t){this.writePos=this.writeCurrent=this.writeCount=0,this._start_bunzip(e,t)};c.prototype._init_block=function(){return this._get_next_block()?(this.blockCRC=new n,!0):(this.writeCount=-1,!1)},c.prototype._start_bunzip=function(e,r){var n=new Uint8Array(4);4===e.read(n,0,4)&&"BZh"===String.fromCharCode(n[0],n[1],n[2])||o(s.NOT_BZIP_DATA,"bad magic");var i=n[3]-48;(i<1||i>9)&&o(s.NOT_BZIP_DATA,"level out of range"),this.reader=new t(e),this.dbufSize=1e5*i,this.nextoutput=0,this.outputStream=r,this.streamCRC=0},c.prototype._get_next_block=function(){var e,t,r,n=this.reader,a=n.pi();if("177245385090"===a)return!1;"314159265359"!==a&&o(s.NOT_BZIP_DATA),this.targetBlockCRC=n.read(32)>>>0,this.streamCRC=(this.targetBlockCRC^(this.streamCRC<<1|this.streamCRC>>>31))>>>0,n.read(1)&&o(s.OBSOLETE_INPUT);var c=n.read(24);c>this.dbufSize&&o(s.DATA_ERROR,"initial position out of bounds");var u=n.read(16),l=new Uint8Array(256),h=0;for(e=0;e<16;e++)if(u&1<<15-e){var f=16*e;for(r=n.read(16),t=0;t<16;t++)r&1<<15-t&&(l[h++]=f+t)}var p=n.read(3);(p<2||p>6)&&o(s.DATA_ERROR);var d=n.read(15);0===d&&o(s.DATA_ERROR);var g=new Uint8Array(256);for(e=0;e=p&&o(s.DATA_ERROR);y[e]=i(g,t)}var m,w=h+2,b=[];for(t=0;t20)&&o(s.DATA_ERROR),n.read(1);)n.read(1)?u--:u++;E[e]=u}for(A=v=E[0],e=1;ev?v=E[e]:E[e]=d&&o(s.DATA_ERROR),m=b[y[P++]]),e=m.minLen,t=n.read(e);e>m.maxLen&&o(s.DATA_ERROR),!(t<=m.limit[e]);e++)t=t<<1|n.read(1);((t-=m.base[e])<0||t>=258)&&o(s.DATA_ERROR);var T=m.permute[t];if(0!==T&&1!==T){if(B)for(B=0,x+u>this.dbufSize&&o(s.DATA_ERROR),I[C=l[g[0]]]+=u;u--;)D[x++]=C;if(T>h)break;x>=this.dbufSize&&o(s.DATA_ERROR),I[C=l[C=i(g,e=T-1)]]++,D[x++]=C}else B||(B=1,u=0),u+=0===T?B:2*B,B<<=1}for((c<0||c>=x)&&o(s.DATA_ERROR),t=0,e=0;e<256;e++)r=t+I[e],I[e]=t,t=r;for(e=0;e>=8,O=-1),this.writePos=U,this.writeCurrent=K,this.writeCount=x,this.writeRun=O,!0},c.prototype._read_bunzip=function(e,t){var r,n,i;if(this.writeCount<0)return 0;var a=this.dbuf,c=this.writePos,u=this.writeCurrent,l=this.writeCount;this.outputsize;for(var h=this.writeRun;l;){for(l--,n=u,u=255&(c=a[c]),c>>=8,3===h++?(r=u,i=n,u=-1):(r=1,i=u),this.blockCRC.updateCRCRun(i,r);r--;)this.outputStream.writeByte(i),this.nextoutput++;u!=n&&(h=0)}return this.writeCount=l,this.blockCRC.getCRC()!==this.targetBlockCRC&&o(s.DATA_ERROR,"Bad block CRC (got "+this.blockCRC.getCRC().toString(16)+" expected "+this.targetBlockCRC.toString(16)+")"),this.nextoutput};var u=function(e){if("readByte"in e)return e;var t=new r;return t.pos=0,t.readByte=function(){return e[this.pos++]},t.seek=function(e){this.pos=e},t.eof=function(){return this.pos>=e.length},t},l=function(e){var t=new r,n=!0;if(e)if("number"==typeof e)t.buffer=new Uint8Array(e),n=!1;else{if("writeByte"in e)return e;t.buffer=e,n=!1}else t.buffer=new Uint8Array(16384);return t.pos=0,t.writeByte=function(e){if(n&&this.pos>=this.buffer.length){var t=new Uint8Array(2*this.buffer.length);t.set(this.buffer),this.buffer=t}this.buffer[this.pos++]=e},t.getBuffer=function(){if(this.pos!==this.buffer.length){if(!n)throw new TypeError("outputsize does not match decoded input");var e=new Uint8Array(this.pos);e.set(this.buffer.subarray(0,this.pos)),this.buffer=e}return this.buffer},t._coerced=!0,t};return lp={Bunzip:c,Stream:r,Err:s,decode:function(e,t,r){for(var n=u(e),i=l(t),a=new c(n,i);!("eof"in n)||!n.eof();)if(a._init_block())a._read_bunzip();else{var h=a.reader.read(32)>>>0;if(h!==a.streamCRC&&o(s.DATA_ERROR,"Bad stream CRC (got "+a.streamCRC.toString(16)+" expected "+h.toString(16)+")"),!r||!("eof"in n)||n.eof())break;a._start_bunzip(n,i)}if("getBuffer"in i)return i.getBuffer()},decodeBlock:function(e,t,r){var i=u(e),s=l(r),a=new c(i,s);if(a.reader.seek(t),a._get_next_block()&&(a.blockCRC=new n,a.writeCopies=0,a._read_bunzip()),"getBuffer"in s)return s.getBuffer()},table:function(e,t,n){var i=new r;i.delegate=u(e),i.pos=0,i.readByte=function(){return this.pos++,this.delegate.readByte()},i.delegate.eof&&(i.eof=i.delegate.eof.bind(i.delegate));var s=new r;s.pos=0,s.writeByte=function(){this.pos++};for(var a=new c(i,s),o=a.dbufSize;!("eof"in i)||!i.eof();){var l=8*i.pos+a.reader.bitOffset;if(a.reader.hasByte&&(l-=8),a._init_block()){var h=s.pos;a._read_bunzip(),t(l,s.pos-h)}else{if(a.reader.read(32),!n||!("eof"in i)||i.eof())break;a._start_bunzip(i,s),console.assert(a.dbufSize===o,"shouldn't change block size within multistream file")}}}}}(),dp=i({__proto__:null},[pp])},6471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.Str=void 0;const n=r(178);class i{static extractErrorMessage=e=>{if("object"==typeof e&&void 0!==e.message)return"string"==typeof e.message?e.message:JSON.stringify(e)};static parseEmail=(e,t="VALIDATE")=>{let r,n;if(e.includes("<")&&e.includes(">")){const t=e.indexOf("<"),i=e.indexOf(">");r=e.substr(t+1,t-i-1).replace(/["']/g,"").trim().toLowerCase(),n=e.substr(0,e.indexOf("<")).replace(/["']/g,"").trim()}else r=e.replace(/["']/g,"").trim().toLowerCase();return"VALIDATE"!==t||i.isEmailValid(r)||(r=void 0),{email:r,name:n,full:e}};static prettyPrint=e=>"object"==typeof e?JSON.stringify(e,void 0,2).replace(/ /g," ").replace(/\n/g,"
"):String(e);static normalizeSpaces=e=>e.replace(RegExp(String.fromCharCode(160),"g"),String.fromCharCode(32));static normalizeDashes=e=>e.replace(/^—–|—–$/gm,"-----");static getFilenameWithoutExtension=e=>e.replace(/\.[^/.]+$/,"");static normalize=e=>i.normalizeSpaces(i.normalizeDashes(e));static isEmailValid=e=>-1===e.indexOf(" ")&&/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i.test(e);static monthName=e=>["January","February","March","April","May","June","July","August","September","October","November","December"][e];static sloppyRandom=(e=5)=>{let t="";for(let r=0;re.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");static asEscapedHtml=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\n/g,"
");static htmlAttrDecode=e=>{try{return JSON.parse(i.base64urlUtfDecode(e))}catch(e){return}};static capitalize=e=>e.trim().split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ");static pluralize=(e,t,r="s")=>`${e} ${t}${e>1?r:""}`;static toUtcTimestamp=(e,t=!1)=>t?String(Date.parse(e)):Date.parse(e);static datetimeToDate=e=>e.substring(0,10).replace(/"/g,""").replace(/'/g,"'").replace(/e.toISOString().replace(/T/," ").replace(/:[^:]+$/,"");static base64urlUtfDecode=e=>void 0===e?e:decodeURIComponent(String(Array.prototype.map.call((0,n.base64decode)(e.replace(/-/g,"+").replace(/_/g,"/")),(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2))).join("")))}t.Str=i;class s{static arr={unique:e=>{const t=[];for(const r of e)t.includes(r)||t.push(r);return t},contains:(e,t)=>Boolean(e&&"function"==typeof e.indexOf&&-1!==e.indexOf(t)),sum:e=>e.reduce(((e,t)=>e+t),0),average:e=>s.arr.sum(e)/e.length};static obj={keyByValue:(e,t)=>{for(const r of Object.keys(e))if(e[r]===t)return r}}}t.Value=s},6622:(e,t,r)=>{"use strict";var n=r(4728);Object.defineProperty(t,"__esModule",{value:!0}),t.Xss=void 0;const i=r(6471);class s{static ALLOWED_BASIC_TAGS=["p","div","br","u","i","em","b","ol","ul","pre","li","table","thead","tbody","tfoot","tr","td","th","img","h1","h2","h3","h4","h5","h6","hr","address","blockquote","dl","fieldset","a","font","strong","strike","code"];static ALLOWED_ATTRS={"*":["style"],a:["href","name","target"],img:["src","width","height","alt"],font:["size","color","face"],span:["color"],div:["color"],p:["color"],td:["width","height"],hr:["color","height"]};static ALLOWED_STYLES={"*":{background:[/^(?!.*url).+$/]}};static ALLOWED_SCHEMES=["data","http","https","mailto"];static htmlSanitizeKeepBasicTags=e=>{const t=`IMG_ICON_${i.Str.sloppyRandom()}`;let r=!1,a=n(e,{allowedTags:s.ALLOWED_BASIC_TAGS,allowedAttributes:s.ALLOWED_ATTRS,allowedSchemes:s.ALLOWED_SCHEMES,transformTags:{img:(e,n)=>{const i=(n.src||"").substring(0,10);return i.startsWith("data:")?{tagName:"img",attribs:{src:n.src,alt:n.alt||""}}:i.startsWith("http://")||i.startsWith("https://")?(r=!0,{tagName:"a",attribs:{href:String(n.src),target:"_blank"},text:t}):{tagName:"img",attribs:{alt:n.alt,title:n.title},text:"[img]"}},"*":(e,t)=>(t.width&&"1"!==t.width&&"img"!==e&&delete t.width,t.height&&"1"!==t.height&&"img"!==e&&delete t.width,{tagName:e,attribs:t})},exclusiveFilter:({tag:e,attribs:t})=>"1"===t.width||"1"===t.height&&"hr"!==e});return r&&(a=`[remote content blocked for your privacy]

${a}`,a=n(a,{allowedTags:s.ALLOWED_BASIC_TAGS,allowedAttributes:s.ALLOWED_ATTRS,allowedSchemes:s.ALLOWED_SCHEMES,allowedStyles:s.ALLOWED_STYLES})),a=a.replace(new RegExp(t,"g"),'[img]'),a};static htmlSanitizeAndStripAllTags=(e,t)=>{let r=s.htmlSanitizeKeepBasicTags(e);const a=i.Str.sloppyRandom(5),o=`CU_BR_${a}`,c=`CU_BS_${a}`,u=`CU_BE_${a}`;r=r.replace(/]*>/gi,o),r=r.replace(/\n/g,""),r=r.replace(/<\/(p|h1|h2|h3|h4|h5|h6|ol|ul|pre|address|blockquote|dl|div|fieldset|form|hr|table)[^>]*>/gi,u),r=r.replace(/<(p|h1|h2|h3|h4|h5|h6|ol|ul|pre|address|blockquote|dl|div|fieldset|form|hr|table)[^>]*>/gi,c),r=r.replace(RegExp(`(${c})+`,"g"),c).replace(RegExp(`(${u})+`,"g"),u),r=r.split(o+u+c).join(o).split(u+c).join(o).split(o+u).join(o);let l=r.split(o).join("\n").split(c).filter((e=>!!e)).join("\n").split(u).filter((e=>!!e)).join("\n");return l=l.replace(/\n{2,}/g,"\n\n"),l=n(l,{allowedTags:["img","span"],allowedAttributes:{img:["src"]},allowedSchemes:s.ALLOWED_SCHEMES,transformTags:{img:(e,t)=>({tagName:"span",attribs:{},text:`[image: ${t.alt||t.title||"no name"}]`})}}),l=n(l,{allowedTags:[]}),l=l.trim(),"\n"!==t&&(l=l.replace(/\n/g,t)),l};static escape=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/");static escapeTextAsRenderableHtml=e=>s.escape(e).replace(/\n/g,"
\n").replace(/^ +/gm,(e=>e.replace(/ /g," "))).replace(/^\t+/gm,(e=>e.replace(/\t/g," "))).replace(/\n/g,"");static htmlUnescape=e=>e.replace(///g,"/").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/&/g,"&")}t.Xss=s},6846:(e,t,r)=>{"use strict";let n=r(145),i=r(6966),s=r(4211),a=r(5644);class o{constructor(e=[]){this.version="8.5.4",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new s(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=o,o.default=o,a.registerProcessor(o),n.registerProcessor(o)},6957:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=d;var g=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var s=e.call(this,n)||this;return s.name=t,s.attribs=r,s.type=i,s}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(f);function y(e){return(0,a.isTag)(e)}function m(e){return e.type===a.ElementType.CDATA}function w(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function A(e){return e.type===a.ElementType.Directive}function v(e){return e.type===a.ElementType.Root}function E(e,t){var r;if(void 0===t&&(t=!1),w(e))r=new u(e.data);else if(b(e))r=new l(e.data);else if(y(e)){var n=t?k(e.children):[],i=new g(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=i}else if(m(e)){n=t?k(e.children):[];var a=new p(n);n.forEach((function(e){return e.parent=a})),r=a}else if(v(e)){n=t?k(e.children):[];var o=new d(n);n.forEach((function(e){return e.parent=o})),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),r=o}else{if(!A(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new h(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function k(e){for(var t=e.map((function(e){return E(e,!0)})),r=1;r{"use strict";let n=r(7793),i=r(145),s=r(3604),a=r(9577),o=r(3717),c=r(5644),u=r(3303),{isClean:l,my:h}=r(4151);r(6156);const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},d={Once:!0,postcssPlugin:!0,prepare:!0};function g(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,r=f[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function m(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function w(e){return e[l]=!1,e.nodes&&e.nodes.forEach((e=>w(e))),e}let b={};class A{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof A||t instanceof o)i=w(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=a;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{i=e(t,r)}catch(e){this.processed=!0,this.error=e}i&&!i[h]&&n.rebuild(i)}else i=w(t);this.result=new o(e,i,r),this.helpers={...b,postcss:b,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!p[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!d[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(g(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return g(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=u;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new s(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(g(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];)e[l]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(g(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex{e[l]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}A.registerPostcss=e=>{b=e},e.exports=A,A.default=A,c.registerLazyResult(A),i.registerLazyResult(A)},7151:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},7526:(e,t)=>{"use strict";t.byteLength=function(e){var t=o(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,s=o(e),a=s[0],c=s[1],u=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,c)),l=0,h=c>0?a-4:a;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===c&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===c&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],a=16383,o=0,u=n-i;ou?u:o+a));return 1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),s.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=s[a],n[s.charCodeAt(a)]=a;function o(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var i,s,a=[],o=t;o>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},7659:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Catch=void 0,t.Catch=class{static reportErr=e=>{console.error(e)};static report=(e,t)=>{console.error(e,t)};static undefinedOnException=async e=>{try{return await e}catch(e){return}}}},7668:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class r{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n{if(i=e.raws[r],void 0!==i)return!1}))}var o;return void 0===i&&(i=t[n]),a.rawCache[n]=i,i}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=r,r.default=r},7793:(e,t,r)=>{"use strict";let n,i,s,a,o=r(9371),c=r(5238),u=r(3152),{isClean:l,my:h}=r(4151);function f(e){return e.map((e=>(e.nodes&&(e.nodes=f(e.nodes)),delete e.source,e)))}function p(e){if(e[l]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class d extends u{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n+1,0,e);for(let e in this.indexes)r=this.indexes[e],n(e[h]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[l]&&p(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}}d.registerParse=e=>{i=e},d.registerRule=e=>{a=e},d.registerAtRule=e=>{n=e},d.registerRoot=e=>{s=e},e.exports=d,d.default=d,d.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,n.prototype):"rule"===e.type?Object.setPrototypeOf(e,a.prototype):"decl"===e.type?Object.setPrototypeOf(e,c.prototype):"comment"===e.type?Object.setPrototypeOf(e,o.prototype):"root"===e.type&&Object.setPrototypeOf(e,s.prototype),e[h]=!0,e.nodes&&e.nodes.forEach((e=>{d.rebuild(e)}))}},7918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var n,i,s,a=r(9878);function o(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function c(e){return e===n.Slash||e===n.Gt||o(e)}function u(e){return e>=n.Zero&&e<=n.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(n||(n={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(s=t.QuoteType||(t.QuoteType={}));var l={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function e(e,t){var r=e.xmlMode,n=void 0!==r&&r,s=e.decodeEntities,o=void 0===s||s;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=n,this.decodeEntities=o,this.entityTrie=n?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?c(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||o(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==l.TitleEnd[2]?this.state=this.xmlMode||t!==l.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(l.TitleEnd,3)}else e===n.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){c(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===n.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===n.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||c(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=i.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(s.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(s.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?s.Double:s.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=i.InCommentLike,this.currentSequence=l.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===l.ScriptEnd[3]?this.startSpecial(l.ScriptEnd,4):t===l.StyleEnd[3]?this.startSpecial(l.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===n.Number?this.state=i.BeforeNumericEntity:e===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var r=(t>>14)-1;if(this.allowLegacyEntity()||e===n.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,0===r&&this.emitNamedEntity()}else this.trieIndex+=r}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===n.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):u(e)?(this.entityResult=10*this.entityResult+(e-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):u(e)?(this.entityResult=16*this.entityResult+(e-n.Zero),this.entityExcess++):function(e){return e>=n.UpperA&&e<=n.UpperF||e>=n.LowerA&&e<=n.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index{e.exports=null},7971:(e,t,r)=>{"use strict";r.d(t,{AS:()=>n.AS,Cs:()=>a,mg:()=>s,rL:()=>i});var n=r(9844);function i(e){if((0,n.AS)(e))return"array";if(globalThis.ReadableStream&&globalThis.ReadableStream.prototype.isPrototypeOf(e))return"web";if(e&&!(globalThis.ReadableStream&&e instanceof globalThis.ReadableStream)&&"function"==typeof e._read&&"object"==typeof e._readableState)throw new Error("Native Node streams are no longer supported: please manually convert the stream to a WebStream, using e.g. `stream.Readable.toWeb`");return!(!e||!e.getReader)&&"web-like"}function s(e){return Uint8Array.prototype.isPrototypeOf(e)}function a(e){if(1===e.length)return e[0];let t=0;for(let r=0;r{"use strict";const n=r(7526),i=r(251),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function o(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return h(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|g(e,t);let n=o(r);const i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if($(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer))return p(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return c.from(n,t,r);const i=function(e){if(c.isBuffer(e)){const t=0|d(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||W(e.length)?o(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return l(e),o(e<0?0:0|d(e))}function f(e){const t=e.length<0?0:0|d(e.length),r=o(t);for(let n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(i)return n?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return I(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function w(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),W(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){let s,a=1,o=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(s=r;so&&(r=o-c),s=r;s>=0;s--){let r=!0;for(let n=0;ni&&(n=i):n=i;const s=t.length;let a;for(n>s/2&&(n=s/2),a=0;a>8,i=r%256,s.push(i),s.push(n);return s}(t,e.length-r),e,r,n)}function I(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,o,c;switch(a){case 1:t<128&&(s=t);break;case 2:r=e[i+1],128==(192&r)&&(c=(31&t)<<6|63&r,c>127&&(s=c));break;case 3:r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&(c=(15&t)<<12|(63&r)<<6|63&n,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:r=e[i+1],n=e[i+2],o=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&o)&&(c=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&o,c>65535&&c<1114112&&(s=c))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return function(e){const t=e.length;if(t<=B)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nn.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tr&&(e+=" ... "),""},s&&(c.prototype[s]=c.prototype.inspect),c.prototype.compare=function(e,t,r,n,i){if($(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let s=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0);const o=Math.min(s,a),u=this.slice(n,i),l=e.slice(t,r);for(let e=0;e>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let s=!1;for(;;)switch(n){case"hex":return A(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":case"latin1":case"binary":return E(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const B=4096;function x(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;in)&&(r=n);let i="";for(let n=t;nr)throw new RangeError("Trying to access beyond buffer length")}function K(e,t,r,n,i,s){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function O(e,t,r,n,i){j(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function M(e,t,r,n,i){j(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r+7]=s,s>>=8,e[r+6]=s,s>>=8,e[r+5]=s,s>>=8,e[r+4]=s;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function R(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(e,t,r,n,s){return t=+t,r>>>=0,s||R(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function L(e,t,r,n,s){return t=+t,r>>>=0,s||R(e,0,r,8),i.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||U(e,t,this.length);let n=this[e],i=1,s=0;for(;++s>>=0,t>>>=0,r||U(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=Z((function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<>>=0,t>>>=0,r||U(e,t,this.length);let n=this[e],i=1,s=0;for(;++s=i&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||U(e,t,this.length);let n=t,i=1,s=this[e+--n];for(;n>0&&(i*=256);)s+=this[e+--n]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},c.prototype.readInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||U(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){e>>>=0,t||U(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=Z((function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||q(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<>>=0,t||U(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||U(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||U(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||U(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||K(this,e,t,r,Math.pow(2,8*r)-1,0);let i=1,s=0;for(this[t]=255&e;++s>>=0,r>>>=0,n||K(this,e,t,r,Math.pow(2,8*r)-1,0);let i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=Z((function(e,t=0){return O(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);K(this,e,t,r,n-1,-n)}let i=0,s=1,a=0;for(this[t]=255&e;++i>>=0,!n){const n=Math.pow(2,8*r-1);K(this,e,t,r,n-1,-n)}let i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||K(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=Z((function(e,t=0){return O(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(e,t,r){return N(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return N(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return L(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return L(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function j(e,t,r,n,i,s){if(e>r||e3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(s+1)}${n}`:`>= -(2${n} ** ${8*(s+1)-1}${n}) and < 2 ** ${8*(s+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new F.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||q(t,e.length-(r+1))}(n,i,s)}function H(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function q(e,t,r){if(Math.floor(e)!==e)throw H(e,r),new F.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}_("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),_("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),_("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=Q(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=Q(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n}),RangeError);const z=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||1/0;const n=e.length;let i=null;const s=[];for(let a=0;a55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function V(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function J(e,t,r,n){let i;for(i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function W(e){return e!=e}const Y=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function Z(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},8339:(e,t,r)=>{"use strict";let n=r(396),i=r(9371),s=r(5238),a=r(5644),o=r(1534),c=r(5781);const u={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,i,s=new n;s.name=e[1].slice(1),""===s.name&&this.unnamedAtrule(s,e),this.init(s,e[2]);let a=!1,o=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(c.length>0){for(i=c.length-1,r=c[i];r&&"space"===r[0];)r=c[--i];r&&(s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++)}this.end(e);break}c.push(e)}else c.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(s.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(s,"params",c),a&&(e=c[c.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),o&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let i=t-1;i>=0&&(r=e[i],"space"===r[0]||(n+=1,2!==n));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,n,i=0;for(let[s,a]of e.entries()){if(r=a,n=r[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(t){if("word"===t[0]&&"progid"===t[1])continue;return s}this.doubleColon(r)}t=r}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=c(this.input)}decl(e,t){let r=new s;this.init(r,e[0][2]);let n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let a,o=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)o.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),i="";for(let e=t;e>0;e--){let t=n[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=n.pop()[1]+i}i.trim().startsWith("!")&&(r.important=!0,r.raws.important=i,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=o.map((e=>e[1])).join(""),o=[]),this.raw(r,"value",o.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,i=null,s=[],a=e[1].startsWith("--"),o=[],c=e;for(;c;){if(r=c[0],o.push(c),"("===r||"["===r)i||(i=c),s.push("("===r?")":"]");else if(a&&n&&"{"===r)i||(i=c),s.push("}");else if(0===s.length){if(";"===r){if(n)return void this.decl(o,a);break}if("{"===r)return void this.rule(o);if("}"===r){this.tokenizer.back(o.pop()),t=!0;break}":"===r&&(n=!0)}else r===s[s.length-1]&&(s.pop(),0===s.length&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&n){if(!a)for(;o.length&&(c=o[o.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(o.pop());this.decl(o,a)}else this.unknownWord(o)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let i,s,a,o,c=r.length,l="",h=!0;for(let e=0;ee+t[1]),"");e.raws[t]={raw:n,value:l}}e[t]=l}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n{var t=String,r=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=r(),e.exports.createColors=r},8659:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var o=r(1724),c=r(1724);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return c.Parser}});var u=r(1141),l=r(1141);function h(e,t){var r=new u.DomHandler(void 0,t);return new o.Parser(r,t).end(e),r.root}function f(e,t){return h(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return l.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return l.DomHandler}}),t.parseDocument=h,t.parseDOM=f,t.createDomStream=function(e,t,r){var n=new u.DomHandler(e,t,r);return new o.Parser(n,t)};var p=r(7918);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(p).default}}),t.ElementType=s(r(5413));var d=r(8888),g=r(8888);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return g.getFeed}});var y={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=y),(0,d.getFeed)(f(e,t))},t.DomUtils=s(r(8888))},8682:(e,t)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}},8877:(e,t,r)=>{"use strict";r.d(t,{ArrayStream:()=>o.S5,cancel:()=>k,clone:()=>w,concat:()=>l,concatStream:()=>h,fromAsync:()=>S,getReader:()=>I,getWriter:()=>C,parse:()=>m,passiveClone:()=>b,pipe:()=>f,readToEnd:()=>E,slice:()=>v,toStream:()=>c,transform:()=>g,transformPair:()=>y,transformRaw:()=>p});var n=r(7971);const i=new WeakSet,s=Symbol("externalBuffer");function a(e){if(this.stream=e,e[s]&&(this[s]=e[s].slice()),(0,n.AS)(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{},void(this._cancel=()=>{})}if((0,n.rL)(e)){const t=e.getReader();return this._read=t.read.bind(t),this._releaseLock=()=>{t.closed.catch((function(){})),t.releaseLock()},void(this._cancel=t.cancel.bind(t))}let t=!1;this._read=async()=>t||i.has(e)?{value:void 0,done:!0}:(t=!0,{value:e,done:!1}),this._releaseLock=()=>{if(t)try{i.add(e)}catch(e){}}}a.prototype.read=async function(){return this[s]&&this[s].length?{done:!1,value:this[s].shift()}:this._read()},a.prototype.releaseLock=function(){this[s]&&(this.stream[s]=this[s]),this._releaseLock()},a.prototype.cancel=function(e){return this._cancel(e)},a.prototype.readLine=async function(){let e,t=[];for(;!e;){let{done:r,value:n}=await this.read();if(n+="",r)return t.length?l(t):void 0;const i=n.indexOf("\n")+1;i&&(e=l(t.concat(n.substr(0,i))),t=[]),i!==n.length&&t.push(n.substr(i))}return this.unshift(...t),e},a.prototype.readByte=async function(){const{done:e,value:t}=await this.read();if(e)return;const r=t[0];return this.unshift(v(t,1)),r},a.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){const{done:n,value:i}=await this.read();if(n)return t.length?l(t):void 0;if(t.push(i),r+=i.length,r>=e){const r=l(t);return this.unshift(v(r,e)),v(r,0,e)}}},a.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},a.prototype.unshift=function(...e){this[s]||(this[s]=[]),1===e.length&&(0,n.mg)(e[0])&&this[s].length&&e[0].length&&this[s][0].byteOffset>=e[0].length?this[s][0]=new Uint8Array(this[s][0].buffer,this[s][0].byteOffset-e[0].length,this[s][0].byteLength+e[0].length):this[s].unshift(...e.filter((e=>e&&e.length)))},a.prototype.readToEnd=async function(e=l){const t=[];for(;;){const{done:e,value:r}=await this.read();if(e)break;t.push(r)}return e(t)};var o=r(9844);function c(e){return(0,n.rL)(e)?e:new ReadableStream({start(t){t.enqueue(e),t.close()}})}function u(e){if((0,n.rL)(e))return e;const t=new o.S5;return(async()=>{const r=C(t);await r.write(e),await r.close()})(),t}function l(e){return e.some((e=>(0,n.rL)(e)&&!(0,n.AS)(e)))?h(e):e.some((e=>(0,n.AS)(e)))?function(e){const t=new o.S5;let r=Promise.resolve();return e.forEach(((n,i)=>(r=r.then((()=>f(n,t,{preventClose:i!==e.length-1}))),r))),t}(e):"string"==typeof e[0]?e.join(""):(0,n.Cs)(e)}function h(e){e=e.map(c);const t=d((async function(e){await Promise.all(n.map((t=>k(t,e))))}));let r=Promise.resolve();const n=e.map(((n,i)=>y(n,((n,s)=>(r=r.then((()=>f(n,t.writable,{preventClose:i!==e.length-1}))),r)))));return t.readable}async function f(e,t,{preventClose:r=!1,preventAbort:i=!1,preventCancel:a=!1}={}){if((0,n.rL)(e)&&!(0,n.AS)(e)){e=c(e);try{if(e[s]){const r=C(t);for(let t=0;t{t=e,r=n})),t=null,r=null)},close:n.close.bind(n),abort:n.error.bind(n)})}}function g(e,t=()=>{},r=()=>{}){if((0,n.AS)(e)){const n=new o.S5;return(async()=>{const i=C(n);try{const n=await E(e),s=t(n),a=r();let o;o=void 0!==s&&void 0!==a?l([s,a]):void 0!==s?s:a,await i.write(o),await i.close()}catch(e){await i.abort(e)}})(),n}if((0,n.rL)(e))return p(e,{async transform(e,r){try{const n=await t(e);void 0!==n&&r.enqueue(n)}catch(e){r.error(e)}},async flush(e){try{const t=await r();void 0!==t&&e.enqueue(t)}catch(t){e.error(t)}}});const i=t(e),s=r();return void 0!==i&&void 0!==s?l([i,s]):void 0!==i?i:s}function y(e,t){if((0,n.rL)(e)&&!(0,n.AS)(e)){let r;const n=new TransformStream({start(e){r=e}}),i=f(e,n.writable),s=d((async function(e){r.error(e),await i,await new Promise(setTimeout)}));return t(n.readable,s.writable),s.readable}e=u(e);const r=new o.S5;return t(e,r),r}function m(e,t){let r;const n=y(e,((e,i)=>{const s=I(e);s.remainder=()=>(s.releaseLock(),f(e,i),n),r=t(s)}));return r}function w(e){if((0,n.AS)(e))return e.clone();if((0,n.rL)(e)){const t=function(e){if((0,n.AS)(e))throw new Error("ArrayStream cannot be tee()d, use clone() instead");if((0,n.rL)(e)){const t=c(e).tee();return t[0][s]=t[1][s]=e[s],t}return[v(e),v(e)]}(e);return A(e,t[0]),t[1]}return v(e)}function b(e){return(0,n.AS)(e)?w(e):(0,n.rL)(e)?new ReadableStream({start(t){const r=y(e,(async(e,r)=>{const n=I(e),i=C(r);try{for(;;){await i.ready;const{done:e,value:r}=await n.read();if(e){try{t.close()}catch(e){}return void await i.close()}try{t.enqueue(r)}catch(e){}await i.write(r)}}catch(e){t.error(e),await i.abort(e)}}));A(e,r)}}):v(e)}function A(e,t){Object.entries(Object.getOwnPropertyDescriptors(e.constructor.prototype)).forEach((([r,n])=>{"constructor"!==r&&(n.value?n.value=n.value.bind(t):n.get=n.get.bind(t),Object.defineProperty(e,r,n))}))}function v(e,t=0,r=1/0){if((0,n.AS)(e))throw new Error("Not implemented");if((0,n.rL)(e)){if(t>=0&&r>=0){let n=0;return p(e,{transform(e,i){n=t&&i.enqueue(v(e,Math.max(t-n,0),r-n)),n+=e.length):i.terminate()}})}if(t<0&&(r<0||r===1/0)){let n=[];return g(e,(e=>{e.length>=-t?n=[e]:n.push(e)}),(()=>v(l(n),t,r)))}if(0===t&&r<0){let n;return g(e,(e=>{const i=n?l([n,e]):e;if(i.length>=-r)return n=v(i,r),v(i,t,r);n=i}))}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),S((async()=>v(await E(e),t,r)))}return e[s]&&(e=l(e[s].concat([e]))),(0,n.mg)(e)?e.subarray(t,r===1/0?e.length:r):e.slice(t,r)}async function E(e,t=l){return(0,n.AS)(e)?e.readToEnd(t):(0,n.rL)(e)?I(e).readToEnd(t):e}async function k(e,t){if((0,n.rL)(e)){if(e.cancel){const r=await e.cancel(t);return await new Promise(setTimeout),r}if(e.destroy)return e.destroy(t),await new Promise(setTimeout),t}}function S(e){const t=new o.S5;return(async()=>{const r=C(t);try{await r.write(await e()),await r.close()}catch(e){await r.abort(e)}})(),t}function I(e){return new a(e)}function C(e){return new o.AU(e)}},8888:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(6037),t),i(r(8938),t),i(r(3403),t),i(r(718),t),i(r(3209),t),i(r(5397),t),i(r(4437),t);var s=r(1141);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})},8938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChildren=i,t.getParent=s,t.getSiblings=function(e){var t=s(e);if(null!=t)return i(t);for(var r=[e],n=e.prev,a=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=a;)r.push(a),a=a.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t};var n=r(1141);function i(e){return(0,n.hasChildren)(e)?e.children:[]}function s(e){return e.parent||null}},8969:(e,t,r)=>{var n=r(1371),i=r(321),s=r(1742),a=r(5210),o=r(3880),c=r(6171).rE,u=Object.prototype.hasOwnProperty,l={version:c,orders:n.EncodingOrders,detect:function(e,t){if(null==e||0===e.length)return!1;i.isObject(t)&&!i.isArray(t)&&(t=t.encoding),i.isString(e)&&(e=i.stringToBuffer(e)),null==t?t=l.orders:i.isString(t)&&(t="AUTO"===(t=t.toUpperCase())?l.orders:~t.indexOf(",")?t.split(/\s*,\s*/):[t]);for(var r,n,a,o=t.length,c=0;c255)return encodeURIComponent(i.codeToString_fast(e));t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||33===t||t>=39&&t<=42||45===t||46===t||95===t||126===t?n[n.length]=t:(n[n.length]=37,t<16?(n[n.length]=48,n[n.length]=r[t]):(n[n.length]=r[t>>4&15],n[n.length]=r[15&t]))}return i.codeToString_fast(n)},urlDecode:function(e){for(var t,r=[],n=0,i=e&&e.length;n=65281&&r<=65374&&(r-=65248),n[n.length]=r;return t?i.codeToString_fast(n):n},toZenkakuCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var r,n=[],s=e&&e.length,a=0;a=33&&r<=126&&(r+=65248),n[n.length]=r;return t?i.codeToString_fast(n):n},toHiraganaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var r,n=[],s=e&&e.length,a=0;a=12449&&r<=12534?r-=96:12535===r?(n[n.length]=12431,r=12443):12538===r&&(n[n.length]=12434,r=12443),n[n.length]=r;return t?i.codeToString_fast(n):n},toKatakanaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var r,n=[],s=e&&e.length,a=0;a=12353&&r<=12438&&((12431===r||12434===r)&&a=12289&&r<=12540&&void 0!==(s=o.HANKANA_TABLE[r])?a[a.length]=s:12532===r||12535===r||12538===r?(a[a.length]=o.HANKANA_SONANTS[r],a[a.length]=65438):r>=12459&&r<=12489?(a[a.length]=o.HANKANA_TABLE[r-1],a[a.length]=65438):r>=12495&&r<=12509?(n=r%3,a[a.length]=o.HANKANA_TABLE[r-n],a[a.length]=o.HANKANA_MARKS[n-1]):a[a.length]=r;return t?i.codeToString_fast(a):a},toZenkanaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));var r,n,s,a=[],c=e&&e.length,u=0;for(u=0;u65376&&r<65440&&(n=o.ZENKANA_TABLE[r-65377],u+165397&&r<65413||r>65417&&r<65423)?(n++,u++):65439===s&&r>65417&&r<65423&&(n+=2,u++)),r=n),a[a.length]=r;return t?i.codeToString_fast(a):a},toHankakuSpace:function(e){if(i.isString(e))return e.replace(/\u3000/g," ");for(var t,r=[],n=e&&e.length,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSigningPrv=t.Endpoints=void 0;const n=r(1592),i=r(9379),s=r(2365),a=r(4010),o=r(3207),c=r(833),u=r(9545),l=r(5261),h=r(3313),f=r(6471),p=r(9815),d=r(6364),g=r(6622),y=r(6382);t.Endpoints=class{version=async()=>(0,n.fmtRes)({app_version:p.VERSION});setClientConfiguration=async e=>{const{shouldHideArmorMeta:t}=d.ValidateInput.setClientConfiguration(e);return y.config.showVersion=!t,y.config.showComment=!t,(0,n.fmtRes)({})};generateKey=async e=>{h.Store.keyCacheWipe();const{passphrase:t,userIds:r,variant:i}=d.ValidateInput.generateKey(e);if(t.length<12)throw new Error("Pass phrase length seems way too low! Pass phrase strength should be properly checked before encrypting a key.");const a=await s.PgpKey.create(r,i,t);return(0,n.fmtRes)({key:await s.PgpKey.details(await s.PgpKey.read(a.private))})};composeEmail=async e=>{const r=d.ValidateInput.composeEmail(e),s={to:r.to,from:r.from,subject:r.subject,cc:r.cc,bcc:r.bcc};if(r.replyToMsgId&&(s["in-reply-to"]=r.replyToMsgId,s.references=[r.inReplyTo,r.replyToMsgId].filter((e=>!!e)).join(" ")),"plain"===r.format){const e=(r.atts||[]).map((({name:e,type:t,base64:r})=>new o.Att({name:e,type:t,data:c.Buf.fromBase64Str(r)}))),t={"text/plain":r.text};return r.html&&(t["text/html"]=r.html),(0,n.fmtRes)({},c.Buf.fromUtfStr(await a.Mime.encode(t,s,e)))}if("encryptInline"===r.format){const e=[];for(const t of r.atts||[])if("application/pgp-keys"===t.type)e.push(new o.Att({name:t.name,type:t.type,data:c.Buf.fromBase64Str(t.base64)}));else{const n=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,data:c.Buf.fromBase64Str(t.base64),filename:t.name,armor:!1});e.push(new o.Att({name:`${t.name}.pgp`,type:"application/pgp-encrypted",data:n}))}const u=await(0,t.getSigningPrv)(r),l=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,signingPrv:u,data:c.Buf.fromUtfStr(r.text),armor:!0});return(0,n.fmtRes)({},c.Buf.fromUtfStr(await a.Mime.encode({"text/plain":l},s,e)))}throw new Error(`Unknown format: ${r.format}`)};encryptMsg=async(e,t)=>{const r=d.ValidateInput.encryptMsg(e),s=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,pwd:r.msgPwd,data:c.Buf.concat(t),armor:!0});return(0,n.fmtRes)({},c.Buf.fromUtfStr(s))};encryptFile=async(e,t)=>{const r=d.ValidateInput.encryptFile(e),s=await i.PgpMsg.encrypt({pubkeys:r.pubKeys,data:c.Buf.concat(t),filename:r.name,armor:!1});return(0,n.fmtRes)({},s)};sanitizeHtml=async e=>{const{html:t}=d.ValidateInput.sanitizeHtml(e),r=g.Xss.htmlSanitizeKeepBasicTags(t);return(0,n.fmtRes)({sanitizedHtml:r})};parseDecryptMsg=async(e,t)=>{const{keys:r,msgPwd:o,isMime:l,verificationPubkeys:h}=d.ValidateInput.parseDecryptMsg(e),p=[];let y,m;if(l){const{blocks:e,rawSignedContent:r,headers:n}=await a.Mime.process(c.Buf.concat(t));m=String(n.subject),y=r,p.push(...e)}else{const{blocks:e}=u.MsgBlockParser.detectBlocks(c.Buf.concat(t).toString());p.push(...e)}const w=[];for(const e of p)if("signedMsg"!==e.type&&"signedHtml"!==e.type||!e.signature)if("encryptedMsg"===e.type||"signedMsg"===e.type){const t=await i.PgpMsg.decrypt({kisWithPp:r,msgPwd:o,encryptedData:c.Buf.with(e.content),verificationPubkeys:h});if(t.success)if(t.isEncrypted){const e=await u.MsgBlockParser.fmtDecryptedAsSanitizedHtmlBlocks(t.content,t.signature);w.push(...e.blocks),m=e.subject||m}else w.push({type:"verifiedMsg",content:f.Str.asEscapedHtml(t.content.toUtfStr()),complete:!0,verifyRes:t.signature});else delete t.message,w.push({type:"decryptErr",content:t.error.type===i.DecryptErrTypes.noMdc?t.content?.toUtfStr()??"":e.content.toString(),decryptErr:t,complete:!0})}else if("encryptedAtt"===e.type&&e.attMeta&&/^(0x)?[A-Fa-f0-9]{16,40}\.asc\.pgp$/.test(e.attMeta.name||"")){const t=await i.PgpMsg.decrypt({kisWithPp:r,msgPwd:o,encryptedData:c.Buf.with(e.attMeta.data||""),verificationPubkeys:h});t.content?w.push({type:"publicKey",content:t.content.toString(),complete:!0}):w.push(e)}else w.push(e);else{const t=await i.PgpMsg.verifyDetached({sigText:c.Buf.fromUtfStr(e.signature),plaintext:c.Buf.with(y||e.content),verificationPubkeys:h});"signedHtml"===e.type?w.push({type:"verifiedMsg",content:g.Xss.htmlSanitizeKeepBasicTags(e.content.toString()),verifyRes:t,complete:!0}):w.push({type:"verifiedMsg",content:f.Str.asEscapedHtml(e.content.toString()),verifyRes:t,complete:!0})}const b=[],A=[];let v="plain";for(const e of w)if(e.content instanceof c.Buf?e.content=(0,n.isContentBlock)(e.type)?e.content.toUtfStr():e.content.toRawBytesStr():e.attMeta&&e.attMeta.data instanceof Uint8Array&&(e.attMeta.data=c.Buf.fromUint8(e.attMeta.data).toBase64Str()),e.decryptErr?.content instanceof c.Buf&&(e.decryptErr.content=e.decryptErr.content.toUtfStr()),"decryptedHtml"!==e.type&&"decryptedText"!==e.type&&"decryptedAtt"!==e.type||(v="encrypted"),"publicKey"===e.type)if(e.keyDetails)A.push(e);else{const{keys:t}=await s.PgpKey.normalize(e.content);if(t.length)for(const e of t)A.push({type:"publicKey",content:e.armor(),complete:!0,keyDetails:await s.PgpKey.details(e)});else A.push({type:"decryptErr",content:e.content,complete:!0,decryptErr:{success:!1,error:{type:i.DecryptErrTypes.format,message:"Badly formatted public key"},longids:{message:[],matching:[],chosen:[],needPassphrase:[]}}})}else(0,n.isContentBlock)(e.type)||a.Mime.isPlainImgAtt(e)?b.push(e):A.push(e);const{contentBlock:E,text:k}=(0,n.fmtContentBlock)(b);A.unshift(E);const S=c.Buf.fromUtfStr(A.map((e=>JSON.stringify(e,((e,t)=>"content"===e&&t.length>1e5?"":t)))).join("\n")),I={text:k,replyType:v};return m&&Object.assign(I,{subject:m}),(0,n.fmtRes)(I,S)};parseAttachmentType=async e=>{const{atts:t}=d.ValidateInput.parseAttachmentType(e),r=t.map((e=>{const t=new o.Att(e);return{id:t.id,treatAs:t.treatAs([t])}}));return(0,n.fmtRes)({atts:r})};decryptFile=async(e,t,r)=>{const{keys:s,msgPwd:a}=d.ValidateInput.decryptFile(e),o=await i.PgpMsg.decrypt({kisWithPp:s,encryptedData:c.Buf.concat(t),msgPwd:a,verificationPubkeys:r});return o.success?(0,n.fmtRes)({decryptSuccess:{name:o.filename||""}},o.content):(delete o.message,delete o.content,(0,n.fmtRes)({decryptErr:o}))};zxcvbnStrengthBar=async e=>{const t=d.ValidateInput.zxcvbnStrengthBar(e);if("passphrase"===t.purpose){if("number"==typeof t.guesses)return(0,n.fmtRes)(l.PgpPwd.estimateStrength(t.guesses));if("string"==typeof t.value){if("function"!=typeof window.zxcvbn)throw new Error("window.zxcvbn missing in js");const e=window.zxcvbn(t.value,l.PgpPwd.weakWords()).guesses;return(0,n.fmtRes)(l.PgpPwd.estimateStrength(e))}throw new Error("Unexpected format: guesses is not a number, value is not a string")}throw new Error(`Unknown purpose: ${t.purpose}`)};parseKeys=async(e,t)=>{const r=[],a=c.Buf.concat(t),o=await i.PgpMsg.type({data:a});if(!o)return(0,n.fmtRes)({format:"unknown",keyDetails:r});if(o.armored){const{blocks:e}=u.MsgBlockParser.detectBlocks(a.toString());for(const t of e){const{keys:e}=await s.PgpKey.parse(t.content.toString());r.push(...e)}for(const e of r)(0,n.removeUndefinedValues)(e);return(0,n.fmtRes)({format:"armored",keyDetails:r})}const l=await(0,y.readKeys)({binaryKeys:a});for(const e of l)r.push(await s.PgpKey.details(e));for(const e of r)(0,n.removeUndefinedValues)(e);return(0,n.fmtRes)({format:"binary",keyDetails:r})};isEmailValid=async e=>{const{email:t}=d.ValidateInput.isEmailValid(e);return(0,n.fmtRes)({valid:f.Str.isEmailValid(t)})};decryptKey=async e=>{h.Store.keyCacheWipe();const{armored:t,passphrases:r}=d.ValidateInput.decryptKey(e);if(1!==r.length)throw new Error(`decryptKey: Can only accept exactly 1 pass phrase for decrypt, received: ${r.length}`);const i=await(0,d.readArmoredKeyOrThrow)(t);return await s.PgpKey.decrypt(i,r[0])?(0,n.fmtRes)({decryptedKey:i.armor()}):(0,n.fmtRes)({decryptedKey:void 0})};encryptKey=async e=>{h.Store.keyCacheWipe();const{armored:t,passphrase:r}=d.ValidateInput.encryptKey(e),i=await(0,d.readArmoredKeyOrThrow)(t);if(!r||r.length<12)throw new Error("Pass phrase length seems way too low! Pass phrase strength should be properly checked before encrypting a key.");const s=await(0,y.encryptKey)({privateKey:i,passphrase:r});return(0,n.fmtRes)({encryptedKey:s.armor()})};verifyKey=async e=>{const{armored:t}=d.ValidateInput.verifyKey(e),r=await(0,y.readKey)({armoredKey:t});return await r.verifyPrimaryKey(),(0,n.fmtRes)({})};keyCacheWipe=async()=>(h.Store.keyCacheWipe(),(0,n.fmtRes)({}))},t.getSigningPrv=async e=>{if(!e.signingPrv)return;const t=await(0,d.readArmoredKeyOrThrow)(e.signingPrv.private);if(await s.PgpKey.decrypt(t,e.signingPrv.passphrase||""))return t;throw new Error("Fail to decrypt signing key")}},9275:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ArrayStream:()=>n.ArrayStream,cancel:()=>n.cancel,clone:()=>n.clone,concat:()=>n.concat,concatStream:()=>n.concatStream,concatUint8Array:()=>i.Cs,fromAsync:()=>n.fromAsync,getReader:()=>n.getReader,getWriter:()=>n.getWriter,isArrayStream:()=>i.AS,isStream:()=>i.rL,isUint8Array:()=>i.mg,parse:()=>n.parse,passiveClone:()=>n.passiveClone,pipe:()=>n.pipe,readToEnd:()=>n.readToEnd,slice:()=>n.slice,toStream:()=>n.toStream,transform:()=>n.transform,transformPair:()=>n.transformPair,transformRaw:()=>n.transformRaw});var n=r(8877),i=r(7971)},9371:(e,t,r)=>{"use strict";let n=r(3152);class i extends n{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},9379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PgpMsg=t.FormatError=t.DecryptErrTypes=void 0;const n=r(2365),i=r(2633),s=r(6471),a=r(833),o=r(7659),c=r(9545),u=r(1341),l=r(3313),h=r(6382),f=r(1040),p=r(3955);var d;!function(e){e.keyMismatch="key_mismatch",e.usePassword="use_password",e.wrongPwd="wrong_password",e.noMdc="no_mdc",e.badMdc="bad_mdc",e.needPassphrase="need_passphrase",e.format="format",e.other="other"}(d||(t.DecryptErrTypes=d={}));class g extends Error{data;constructor(e,t){super(e),this.data=t}}t.FormatError=g;class y{static type=async({data:e})=>{if(!e||!e.length)return;const t=e[0];if(!(128&~t)){let e=0;if(e=192&~t?(60&t)/4:63&t,Object.values(h.enums.packet).includes(e)){const t=h.enums.packet;return{armored:!1,type:[t.symEncryptedIntegrityProtectedData,t.modificationDetectionCode,t.aeadEncryptedData,t.symmetricallyEncryptedData,t.compressedData].includes(e)?"encryptedMsg":"publicKey"}}}const{blocks:r}=c.MsgBlockParser.detectBlocks(new a.Buf(e.slice(0,50)).toUtfStr().trim());return 1===r.length&&!1===r[0].complete&&["encryptedMsg","privateKey","publicKey","signedMsg"].includes(r[0].type)?{armored:!0,type:r[0].type}:void 0};static sign=async(e,t,r=!1)=>{const n=await(0,h.createCleartextMessage)({text:t});return await(0,h.sign)({message:n,signingKeys:e,detached:r,format:"armored"})};static verify=async(e,t)=>{const r={match:null};try{const i=Array.isArray(e)?e:await e.verify(t);for(const e of i)r.signer||(r.signer=await n.PgpKey.longid(e.keyID.bytes)),r.match=(!0===r.match||null===r.match)&&await e.verified}catch(e){r.match=null,e instanceof Error&&"Can only verify message with one literal data packet."===e.message?r.error="FlowCrypt is not equipped to verify this message (err 101)":(r.error=e.message,o.Catch.reportErr(e))}return r};static verifyDetached=async({plaintext:e,sigText:t,verificationPubkeys:r})=>{const n=await(0,h.createMessage)({text:a.Buf.fromUint8(e).toUtfStr()});await n.appendSignature(a.Buf.fromUint8(t).toUtfStr());const i=await y.getSortedKeys([],n);if(r)for(const e of r){const t=await(0,h.readKeys)({armoredKeys:e});i.forVerification.push(...t)}return await y.verify(n,i.forVerification)};static decrypt=async({kisWithPp:e,encryptedData:t,msgPwd:r,verificationPubkeys:n})=>{let i;const s={message:[],matching:[],chosen:[],needPassphrase:[]};try{i=await u.PgpArmor.cryptoMsgPrepareForDecrypt(t)}catch(e){return{success:!1,error:{type:d.format,message:String(e)},longids:s}}const o=await y.getSortedKeys(e,i.message,n);s.message=o.encryptedFor,s.matching=o.prvForDecrypt.map((e=>e.longid)),s.chosen=o.prvForDecryptDecrypted.map((e=>e.longid)),s.needPassphrase=o.prvForDecryptWithoutPassphrases.map((e=>e.longid));const c=!i.isCleartext;if(!c){const e=await y.verify(i.message,o.forVerification),t=await(0,p.requireStreamReadToEnd)(),r=await t(i.message.getText()??"");return{success:!0,content:a.Buf.fromUtfStr(r),isEncrypted:c,signature:e}}if(!o.prvMatching.length&&!r)return{success:!1,error:{type:d.keyMismatch,message:"Missing appropriate key"},message:i.message,longids:s,isEncrypted:c};if(!o.prvForDecryptDecrypted.length&&!r)return{success:!1,error:{type:d.needPassphrase,message:"Missing pass phrase"},message:i.message,longids:s,isEncrypted:c};try{const e=i.message.packets,t=e.filterByTag(h.enums.packet.symEncryptedSessionKey).length>0,u=e.filterByTag(h.enums.packet.publicKeyEncryptedSessionKey).length>0;if(t&&!u&&!r)return{success:!1,error:{type:d.usePassword,message:"Use message password"},longids:s,isEncrypted:c};const l=r?[r]:void 0,f=o.prvForDecryptDecrypted.map((e=>e.decrypted)),g=await i.message.decrypt(f,l);await y.cryptoMsgGetSignedBy(g,o),await y.populateKeysForVerification(o,n);const m=o.signedBy.length?await g.verify(o.forVerification):void 0,w=await(0,p.requireStreamReadToEnd)(),b=new a.Buf(await w(g.getLiteralData())),A=m?await y.verify(m,[]):void 0;if(!i.isCleartext&&i.message.packets.filterByTag(h.enums.packet.symmetricallyEncryptedData).length){const e="Security threat!\n\nMessage is missing integrity checks (MDC). The sender should update their outdated software and resend.";return{success:!1,content:b,error:{type:d.noMdc,message:e},message:i.message,longids:s,isEncrypted:c}}return{success:!0,content:b,isEncrypted:c,filename:g.getFilename()||void 0,signature:A}}catch(e){return{success:!1,error:y.cryptoMsgDecryptCategorizeErr(e,r),message:i.message,longids:s,isEncrypted:c}}};static encrypt=async({pubkeys:e,signingPrv:t,pwd:r,data:n,filename:i,armor:s,date:a})=>{if(!e&&!r)throw new Error("no-pubkeys-no-challenge");const o=await(0,h.createMessage)({binary:n,filename:i,date:a}),c=[];for(const t of e){const e=await(0,h.readKeys)({armoredKeys:t});c.push(...e)}const u={message:o,date:a,encryptionKeys:c,passwords:r?[r]:void 0,signingKeys:t&&t.isPrivate()?t:void 0};return s||Object.assign(u,{format:"binary"}),await(0,h.encrypt)(u)};static extractFcAtts=(e,t)=>(e.includes('class="cryptup_file"')&&(e=e.replace(/[^<]+<\/a>\n?/gm,((e,r,n)=>{const a=s.Str.htmlAttrDecode(String(n));return y.isFcAttLinkData(a)&&t.push(i.MsgBlock.fromAtt("encryptedAttLink","",{type:a.type,name:a.name,length:a.size,url:String(r)})),""}))),e);static stripFcTeplyToken=e=>e.replace(/]+class="cryptup_reply"[^>]+><\/div>/,"");static stripPublicKeys=(e,t)=>{let{blocks:r,normalized:n}=c.MsgBlockParser.detectBlocks(e);for(const e of r)if("publicKey"===e.type){const r=e.content.toString();t.push(r),n=n.replace(r,"")}return n};static isFcAttLinkData=e=>e&&"object"==typeof e&&void 0!==e.name&&void 0!==e.size&&void 0!==e.type;static cryptoMsgGetSignedBy=async(e,t)=>{t.signedBy=s.Value.arr.unique(await n.PgpKey.longids(e.getSigningKeyIDs?e.getSigningKeyIDs():[]))};static populateKeysForVerification=async(e,t)=>{if(void 0!==t){e.forVerification=[];for(const r of t){const t=await(0,h.readKeys)({armoredKeys:r});e.forVerification.push(...t)}}};static getSortedKeys=async(e,t,r)=>{const i={forVerification:[],encryptedFor:[],signedBy:[],prvMatching:[],prvForDecrypt:[],prvForDecryptDecrypted:[],prvForDecryptWithoutPassphrases:[]},s=t instanceof h.Message?t.getEncryptionKeyIDs():[];if(i.encryptedFor=await n.PgpKey.longids(s),await y.cryptoMsgGetSignedBy(t,i),await y.populateKeysForVerification(i,r),i.encryptedFor.length){for(const t of e){t.parsed=await n.PgpKey.read(t.private);for(const e of await Promise.all(t.parsed.getKeyIDs().map((({bytes:e})=>n.PgpKey.longid(e)))))if(i.encryptedFor.includes(e)){i.prvMatching.push(t);break}}i.prvForDecrypt=i.prvMatching}else i.prvForDecrypt=[];for(const e of i.prvForDecrypt){if(!e.parsed||!e.passphrase)continue;const t=y.matchingKeyids(e.parsed,s),r=l.Store.decryptedKeyCacheGet(e.longid);r&&y.isKeyDecryptedFor(r,t)?(e.decrypted=r,i.prvForDecryptDecrypted.push(e)):y.isKeyDecryptedFor(e.parsed,t)||!0===await y.decryptKeyFor(e.parsed,e.passphrase,t)?(l.Store.decryptedKeyCacheSet(e.parsed),e.decrypted=e.parsed,i.prvForDecryptDecrypted.push(e)):i.prvForDecryptWithoutPassphrases.push(e)}return i};static matchingKeyids=(e,t)=>{const r=(t||[]).map((e=>e.bytes));return e.getKeyIDs().filter((e=>r.includes(e.bytes)))};static decryptKeyFor=async(e,t,r)=>{if(!r.length)return await n.PgpKey.decrypt(e,t,void 0,"OK-IF-ALREADY-DECRYPTED");for(const i of r)if(!await n.PgpKey.decrypt(e,t,i,"OK-IF-ALREADY-DECRYPTED"))return!1;return!0};static isKeyDecryptedFor=(e,t)=>!!(0,f.isFullyDecrypted)(e)||!(0,f.isFullyEncrypted)(e)&&!!t.length&&t.filter((t=>(0,f.isPacketDecrypted)(e,t))).length===t.length;static cryptoMsgDecryptCategorizeErr=(e,t)=>{const r=String(e).replace("Error: ","").replace("Error decrypting message: ","");return["Cannot read property 'isDecrypted' of null","privateKeyPacket is null","TypeprivateKeyPacket is null","Session key decryption failed.","Invalid session key for decryption."].includes(r)&&!t?{type:d.keyMismatch,message:r}:t&&["Invalid enum value.","CFB decrypt: invalid key","Session key decryption failed."].includes(r)?{type:d.wrongPwd,message:r}:"Decryption failed due to missing MDC in combination with modern cipher."===r||"Decryption failed due to missing MDC."===r?{type:d.noMdc,message:r}:"Decryption error"===r?{type:d.format,message:r}:"Modification detected."===r?{type:d.badMdc,message:"Security threat - opening this message is dangerous because it was modified in transit."}:{type:d.other,message:r}}}t.PgpMsg=y},9466:function(e,t){var r,n;void 0===(n="function"==typeof(r=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function r(t){var r,n=t.exec(e.substring(g));if(n)return r=n[0],g+=r.length,r}for(var n,i,s,a,o,c=e.length,u=/^[ \t\n\r\u000c]+/,l=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,p=/^\d+$/,d=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,y=[];;){if(r(l),g>=c)return y;n=r(h),i=[],","===n.slice(-1)?(n=n.replace(f,""),w()):m()}function m(){for(r(u),s="",a="in descriptor";;){if(o=e.charAt(g),"in descriptor"===a)if(t(o))s&&(i.push(s),s="",a="after descriptor");else{if(","===o)return g+=1,s&&i.push(s),void w();if("("===o)s+=o,a="in parens";else{if(""===o)return s&&i.push(s),void w();s+=o}}else if("in parens"===a)if(")"===o)s+=o,a="in descriptor";else{if(""===o)return i.push(s),void w();s+=o}else if("after descriptor"===a)if(t(o));else{if(""===o)return void w();a="in descriptor",g-=1}g+=1}}function w(){var t,r,s,a,o,c,u,l,h,f=!1,g={};for(a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MsgBlockParser=void 0;const n=r(2633),i=r(6622),s=r(833),a=r(7659),o=r(4010),c=r(1341),u=r(2365),l=r(9379),h=r(6471);class f{static ARMOR_HEADER_MAX_LENGTH=50;static detectBlocks=(e,t)=>{const r=[],n=h.Str.normalize(e);let i=0;for(;;){const e=f.detectBlockNext(n,i,t);if(e.found&&r.push(...e.found),void 0===e.continueAt)return{blocks:r,normalized:n};if(e.continueAt<=i)return a.Catch.report(`PgpArmordetect_blocks likely infinite loop: r.continue_at(${e.continueAt}) <= start_at(${i})`),{blocks:r,normalized:n};i=e.continueAt}};static fmtDecryptedAsSanitizedHtmlBlocks=async(e,t)=>{const r=[];let a=!1;if(!o.Mime.resemblesMsg(e)){let i=s.Buf.fromUint8(e).toUtfStr();i=l.PgpMsg.extractFcAtts(i,r),i=l.PgpMsg.stripFcTeplyToken(i);const o=[];i=l.PgpMsg.stripPublicKeys(i,o);const c=n.MsgBlock.fromContent("decryptedHtml",h.Str.asEscapedHtml(i));return c.verifyRes=t,r.push(c),await f.pushArmoredPubkeysToBlocks(o,r),{blocks:r,subject:void 0,isRichText:a}}const c=await o.Mime.decode(e);if(void 0!==c.html){const e=n.MsgBlock.fromContent("decryptedHtml",i.Xss.htmlSanitizeKeepBasicTags(c.html));e.verifyRes=t,r.push(e),a=!0}else if(void 0!==c.text){const e=n.MsgBlock.fromContent("decryptedHtml",h.Str.asEscapedHtml(c.text));e.verifyRes=t,r.push(e)}else n.MsgBlock.fromContent("decryptedHtml",h.Str.asEscapedHtml(s.Buf.with(e).toUtfStr())).verifyRes=t,r.push();for(const e of c.atts)if("publicKey"===e.treatAs(c.atts))await f.pushArmoredPubkeysToBlocks([e.getData().toUtfStr()],r);else{const i=n.MsgBlock.fromAtt("decryptedAtt","",{name:e.name,data:e.getData(),length:e.length,type:e.type});i.verifyRes=t,r.push(i)}return{blocks:r,subject:c.subject,isRichText:a}};static detectBlockNext=(e,t,r)=>{const i=Object.keys(c.PgpArmor.ARMOR_HEADER_DICT),s={found:[]},a=e.indexOf(c.PgpArmor.headers("null").begin,t);if(-1!==a){const o=e.substr(a,f.ARMOR_HEADER_MAX_LENGTH);for(const u of i){const i=c.PgpArmor.ARMOR_HEADER_DICT[u];if(i.replace&&0===o.indexOf(i.begin)){let o="";if(a>t&&(o=e.substring(t,a),!o.endsWith("\n")))continue;let c=-1,l=0;if("string"==typeof i.end)c=e.indexOf(i.end,a+i.begin.length),l=i.end.length;else{const t=e.substring(a).match(i.end);t&&(c=t.index?a+t.index:-1,l=t[0].length)}if(-1!==c||!r){o=o.trim(),o&&s.found.push(n.MsgBlock.fromContent("plainText",o)),-1!==c?(s.found.push(n.MsgBlock.fromContent(u,e.substring(a,c+l).trim())),s.continueAt=c+l):s.found.push(n.MsgBlock.fromContent(u,e.substr(a),!0));break}}}}if(e&&!s.found.length){const r=e.substr(t).trim();r&&s.found.push(n.MsgBlock.fromContent("plainText",r))}return s};static pushArmoredPubkeysToBlocks=async(e,t)=>{for(const r of e){const{keys:e}=await u.PgpKey.parse(r);for(const r of e)t.push(n.MsgBlock.fromKeyDetails("publicKey",r.public,r))}}}t.MsgBlockParser=f},9577:(e,t,r)=>{"use strict";let n=r(7793),i=r(1106),s=r(8339);function a(e,t){let r=new i(e,t),n=new s(r);try{n.parse()}catch(e){throw e}return n.root}e.exports=a,a.default=a,n.registerParse(a)},9746:()=>{},9815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GMAIL_RECOVERY_EMAIL_SUBJECTS=t.BACKEND_API_HOST=t.GOOGLE_CONTACTS_API_HOST=t.GOOGLE_OAUTH_SCREEN_HOST=t.GOOGLE_API_HOST=t.VERSION=void 0,t.VERSION=APP_VERSION,t.GOOGLE_API_HOST="[BUILD_REPLACEABLE_GOOGLE_API_HOST]",t.GOOGLE_OAUTH_SCREEN_HOST="[BUILD_REPLACEABLE_GOOGLE_OAUTH_SCREEN_HOST]",t.GOOGLE_CONTACTS_API_HOST="[BUILD_REPLACEABLE_GOOGLE_CONTACTS_API_HOST]",t.BACKEND_API_HOST="[BUILD_REPLACEABLE_BACKEND_API_HOST]",t.GMAIL_RECOVERY_EMAIL_SUBJECTS=["Your FlowCrypt Backup","Your CryptUp Backup","All you need to know about CryptUP (contains a backup)","CryptUP Account Backup"]},9844:(e,t,r)=>{"use strict";r.d(t,{AS:()=>c,AU:()=>u,S5:()=>o});const n=Symbol("doneWritingPromise"),i=Symbol("doneWritingResolve"),s=Symbol("doneWritingReject"),a=Symbol("readingIndex");class o extends Array{constructor(){super(),Object.setPrototypeOf(this,o.prototype),this[n]=new Promise(((e,t)=>{this[i]=e,this[s]=t})),this[n].catch((()=>{}))}}function c(e){return e&&e.getReader&&Array.isArray(e)}function u(e){if(!c(e)){const t=e.getWriter(),r=t.releaseLock;return t.releaseLock=()=>{t.closed.catch((function(){})),r.call(t)},t}this.stream=e}o.prototype.getReader=function(){return void 0===this[a]&&(this[a]=0),{read:async()=>(await this[n],this[a]===this.length?{value:void 0,done:!0}:{value:this[this[a]++],done:!1})}},o.prototype.readToEnd=async function(e){await this[n];const t=e(this.slice(this[a]));return this.length=0,t},o.prototype.clone=function(){const e=new o;return e[n]=this[n].then((()=>{e.push(...this)})),e},u.prototype.write=async function(e){this.stream.push(e)},u.prototype.close=async function(){this.stream[i]()},u.prototype.abort=async function(e){return this.stream[s](e),e},u.prototype.releaseLock=function(){}},9878:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var o=a(r(3603));t.htmlDecodeTree=o.default;var c=a(r(2517));t.xmlDecodeTree=c.default;var u=s(r(5096));t.decodeCodePoint=u.default;var l,h,f,p,d=r(5096);function g(e){return e>=l.ZERO&&e<=l.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return d.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return d.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(l||(l={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(h=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var y=function(){function e(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===l.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===l.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,r,n){if(t!==r){var i=r-t;this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var r,n=t;t=l.UPPER_A&&r<=l.UPPER_F||r>=l.LOWER_A&&r<=l.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var r=t;t>14;t=l.UPPER_A&&e<=l.UPPER_Z||e>=l.LOWER_A&&e<=l.LOWER_Z||g(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&h.VALUE_LENGTH)>>14)){if(s===l.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,r=(this.decodeTree[t]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,r){var n=this.decodeTree;return this.emitCodePoint(1===t?n[e]&~h.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function m(e){var t="",r=new y(e,(function(e){return t+=(0,u.fromCodePoint)(e)}));return function(e,n){for(var i=0,s=0;(s=e.indexOf("&",s))>=0;){t+=e.slice(i,s),r.startEntity(n);var a=r.write(e,s+1);if(a<0){i=s+r.end();break}i=s+a,s=0===a?i+1:i}var o=t+e.slice(i);return t="",o}}function w(e,t,r,n){var i=(t&h.BRANCH_LENGTH)>>7,s=t&h.JUMP_TABLE;if(0===i)return 0!==s&&n===s?r:-1;if(s){var a=n-s;return a<0||a>=i?-1:e[r+a]-1}for(var o=r,c=o+i-1;o<=c;){var u=o+c>>>1,l=e[u];if(ln))return e[u+i];c=u-1}}return-1}t.EntityDecoder=y,t.determineBranch=w;var b=m(o.default),A=m(c.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),b(e,t)},t.decodeHTMLAttribute=function(e){return b(e,p.Attribute)},t.decodeHTMLStrict=function(e){return b(e,p.Strict)},t.decodeXML=function(e){return A(e,p.Strict)}},9977:()=>{}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0});const t=r(9033),i=r(1592);r.g.handleRequestFromHost=async(e,r,n)=>{const s=new t.Endpoints;try{const t=s[e];return t?t(r,[n]).then((e=>e)).catch((e=>(0,i.fmtErr)(e))):(0,i.fmtErr)(new Error(`Unknown endpoint: ${e}`))}catch(e){return(0,i.fmtErr)(e)}}})(),module.exports=n})();; /* entrypoint-bare ends here */ } catch(e) { diff --git a/appium/api-mocks/apis/fes/fes-endpoints.ts b/appium/api-mocks/apis/fes/fes-endpoints.ts index da4e73237..19c457e52 100644 --- a/appium/api-mocks/apis/fes/fes-endpoints.ts +++ b/appium/api-mocks/apis/fes/fes-endpoints.ts @@ -69,12 +69,32 @@ export const getMockFesEndpoints = (mockConfig: MockConfig, fesConfig: FesConfig // body is a mime-multipart string, we're doing a few smoke checks here without parsing it if (req.method === 'POST') { expectContains(body, '-----BEGIN PGP MESSAGE-----'); - const match = String(body).match(/Content-Type: application\/json\s*\n\s*(\{.*\})/); - if (!match) { - throw new FesHttpErr('Bad request', Status.BAD_REQUEST); + // Extract JSON from request body + const bodyStr = String(body); + let messageData; + + // Try different parsing strategies + + // 1. Try embedded JSON after Content-Type header (original format) + const embeddedJsonMatch = bodyStr.match(/Content-Type:\s*application\/json\s*\r?\n\s*(\{.*?\})/s); + + // 2. Try to find any JSON object containing associateReplyToken + const jsonObjectMatch = bodyStr.match(/\{[^{}]*"associateReplyToken"[^{}]*\}/); + + if (embeddedJsonMatch) { + messageData = JSON.parse(embeddedJsonMatch[1]); + } else if (jsonObjectMatch) { + messageData = JSON.parse(jsonObjectMatch[0]); + } else { + // Last resort: try to parse the entire body as JSON + try { + messageData = JSON.parse(bodyStr); + } catch { + throw new FesHttpErr('Bad request - could not extract JSON from request body', Status.BAD_REQUEST); + } } - const messageData = JSON.parse(match[0]); + const { associateReplyToken, to, cc, bcc } = messageData; expect(associateReplyToken).toBe('mock-fes-reply-token'); diff --git a/appium/tests/screenobjects/new-message.screen.ts b/appium/tests/screenobjects/new-message.screen.ts index d25a9b748..9df8b2c9e 100644 --- a/appium/tests/screenobjects/new-message.screen.ts +++ b/appium/tests/screenobjects/new-message.screen.ts @@ -19,6 +19,8 @@ const SELECTORS = { CANCEL_BUTTON: '~aid-cancel-button', BACK_BUTTON: '~aid-back-button', DELETE_BUTTON: '~aid-compose-delete', + ATTACH_BUTTON: '~aid-compose-attach', + ATTACH_PUBLIC_KEY_BUTTON: '~aid-attach-public-key', SEND_BUTTON: '~aid-compose-send', SEND_PLAIN_MESSAGE_BUTTON: '~aid-compose-send-plain', SEND_MESSAGE_PASSWORD_BUTTON: '~aid-compose-send-message-password', @@ -92,6 +94,14 @@ class NewMessageScreen extends BaseScreen { return $(SELECTORS.DELETE_BUTTON); } + get attachButton() { + return $(SELECTORS.ATTACH_BUTTON); + } + + get attachPublicKeyButton() { + return $(SELECTORS.ATTACH_PUBLIC_KEY_BUTTON); + } + get sendButton() { return $(SELECTORS.SEND_BUTTON); } @@ -413,6 +423,14 @@ class NewMessageScreen extends BaseScreen { await ElementHelper.waitAndClick(await this.sendButton); }; + clickAttachButton = async () => { + await ElementHelper.waitAndClick(await this.attachButton); + }; + + clickAttachPublicKeyButton = async () => { + await ElementHelper.waitAndClick(await this.attachPublicKeyButton); + }; + checkSendPlainMessageButtonNotPresent = async () => { await ElementHelper.waitElementInvisible(await this.sendPlainMessageButton); }; diff --git a/appium/tests/specs/mock/composeEmail/CheckPublicKeyAttachment.spec.ts b/appium/tests/specs/mock/composeEmail/CheckPublicKeyAttachment.spec.ts new file mode 100644 index 000000000..65f18acc0 --- /dev/null +++ b/appium/tests/specs/mock/composeEmail/CheckPublicKeyAttachment.spec.ts @@ -0,0 +1,121 @@ +import { MockApi } from 'api-mocks/mock'; +import { MockApiConfig } from 'api-mocks/mock-config'; +import { MockUserList } from 'api-mocks/mock-data'; +import { + SplashScreen, + MailFolderScreen, + NewMessageScreen, + SetupKeyScreen, + MenuBarScreen, + EmailScreen, +} from '../../../screenobjects/all-screens'; + +describe('COMPOSE EMAIL: ', () => { + it('check public key attachment attach', async () => { + const mockApi = new MockApi(); + const recipient = MockUserList.dmitry; + const testSubject1 = 'Test public key attachment - PGP'; + const testSubject2 = 'Test public key attachment - Password'; + + mockApi.fesConfig = MockApiConfig.defaultEnterpriseFesConfiguration; + mockApi.ekmConfig = MockApiConfig.defaultEnterpriseEkmConfiguration; + const email = 'e2e.enterprise.test@flowcrypt.com'; + mockApi.addGoogleAccount(email); + + // Set up attester to serve public key for PGP recipient + mockApi.attesterConfig = { + servedPubkeys: { + [recipient.email]: recipient.pub!, + }, + }; + + await mockApi.withMockedApis(async () => { + await SplashScreen.mockLogin(); + await SetupKeyScreen.setPassPhrase(); + await MailFolderScreen.checkInboxScreen(); + + // Test 1: Public key attachment with regular PGP message + await MailFolderScreen.clickCreateEmail(); + + // Compose email + await NewMessageScreen.setAddRecipient(recipient.email); + await NewMessageScreen.setSubject(testSubject1); + await NewMessageScreen.setComposeSecurityMessage('This message includes my public key'); + + // Click attach button + await NewMessageScreen.clickAttachButton(); + + // Wait for action sheet to appear and click "Public key" using accessibility identifier + await browser.pause(1000); + await NewMessageScreen.clickAttachPublicKeyButton(); + + // Check that public key attachment was added + // The filename should be in format 0x{longid}.asc + await browser.pause(1000); + const attachmentLabel = await NewMessageScreen.attachmentNameLabel; + const attachmentName = await attachmentLabel.getValue(); + expect(attachmentName).toMatch(/^0x[A-F0-9]{16}\.asc$/); + + // Send the message + await NewMessageScreen.clickSendButton(); + await browser.pause(1000); + + // Go to sent folder to verify the attachment + await MenuBarScreen.clickMenuBtn(); + await MenuBarScreen.clickSentButton(); + await MailFolderScreen.checkSentScreen(); + await MailFolderScreen.clickOnEmailBySubject(testSubject1); + + // Verify attachment in sent email + // TODO: need to uncomment this line when we fix public key render issue + // https://github.com/FlowCrypt/flowcrypt-ios/issues/634 + // await EmailScreen.checkPublicKeyImportView(email, recipient.pub!, false); + await EmailScreen.clickBackButton(); + + // Go back to inbox for test 2 + await MenuBarScreen.clickMenuBtn(); + await MenuBarScreen.clickInboxButton(); + await MailFolderScreen.checkInboxScreen(); + + // Test 2: Public key attachment with password-protected message (non-PGP recipient) + await MailFolderScreen.clickCreateEmail(); + + // Compose email to non-PGP recipient + await NewMessageScreen.setAddRecipient('non-pgp@example.com'); + await NewMessageScreen.setSubject(testSubject2); + await NewMessageScreen.setComposeSecurityMessage('This password-protected message includes my public key'); + + // Click attach button + await NewMessageScreen.clickAttachButton(); + + // Wait for action sheet to appear and click "Public key" using accessibility identifier + await browser.pause(1000); + await NewMessageScreen.clickAttachPublicKeyButton(); + + // Check that public key attachment was added + await browser.pause(1000); + const attachmentLabel2 = await NewMessageScreen.attachmentNameLabel; + const attachmentName2 = await attachmentLabel2.getValue(); + expect(attachmentName2).toMatch(/^0x[A-F0-9]{16}\.asc$/); + + // Set message password + await NewMessageScreen.clickPasswordCell(); + await NewMessageScreen.setMessagePassword('abcABC1*'); + + // Send the password-protected message + await NewMessageScreen.clickSendButton(); + await browser.pause(1000); + + // Go to sent folder to verify the attachment + await MenuBarScreen.clickMenuBtn(); + await MenuBarScreen.clickSentButton(); + await MailFolderScreen.checkSentScreen(); + await MailFolderScreen.clickOnEmailBySubject(testSubject2); + + // Verify attachment in sent password-protected email + // TODO: need to uncomment this line when we fix public key render issue + // https://github.com/FlowCrypt/flowcrypt-ios/issues/634 + // await EmailScreen.checkPublicKeyImportView(email, recipient.pub!, false); + }); + }); +});