mirror of
https://github.com/vastxie/99AI.git
synced 2025-09-19 01:56:38 +08:00
54 lines
305 KiB
JavaScript
54 lines
305 KiB
JavaScript
var Mo=Object.defineProperty;var Ro=(e,t,u)=>t in e?Mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u;var re=(e,t,u)=>(Ro(e,typeof t!="symbol"?t+"":t,u),u),an=(e,t,u)=>{if(!t.has(e))throw TypeError("Cannot "+u)};var g=(e,t,u)=>(an(e,t,"read from private field"),u?u.call(e):t.get(e)),G=(e,t,u)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,u)},H=(e,t,u,n)=>(an(e,t,"write to private field"),n?n.call(e,u):t.set(e,u),u);var vu=(e,t,u,n)=>({set _(r){H(e,t,r,u)},get _(){return g(e,t,n)}}),O=(e,t,u)=>(an(e,t,"access private method"),u);import{f as Po,a as Jr,b as No,c as Oo,d as jo,e as Uo,g as qo,h as Ho,i as Wo,j as Vo}from"./user-3d98b148.js";import{u as Je}from"./useBasicLayout-18dd2ca5.js";import{u as $e,a as Go,f as Xo,b as Zo,t as R,r as Yo,c as Qo,d as Be,p as Kr,g as Un,e as Jo,h as Ko,i as es,_ as ts,j as ei,s as ti,k as us,l as ns,m as rs,n as is}from"./index-40baf14c.js";import{W,d as me,r as j,e as M,w as ke,f as Fe,U as ne,V as pe,z as Wu,R as L,S as P,a2 as m,a3 as Z,L as F,a4 as N,k as ae,a5 as _e,a6 as V,F as Ye,a7 as it,a8 as kn,A as os,c as oe,o as qn,H as nt,a9 as tu,n as uu,a as we,p as at,t as ui,x as Bu,G as ss,aa as as,ab as ls,ac as cs,O as ds,ad as fs}from"./vue-c19408e5.js";import{I as ni,L as hs,R as gs,C as _t,a as ps}from"./Right-153af9c5.js";import{e as Ke,p as ms,q as bs,r as ri,s as ii,t as Hn,v as Vu,d as ys,w as Jt,x as xs,y as oi,i as si,z as vs}from"./naive-ui-64ac446a.js";import{_ as Vt}from"./_plugin-vue_export-helper-c27b6911.js";import{f as _s}from"./crami-173ca461.js";import{t as ks,a as ws}from"./vueuse-motion-563da5fd.js";const Cs=ni("search",!0,function(e){return W("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[W("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),W("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),W("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),As=ni("star",!1,function(e){return W("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[W("path",{d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])});function Es(e,t,u){return(t=function(n){var r=function(i,o){if(typeof i!="object"||!i)return i;var s=i[Symbol.toPrimitive];if(s!==void 0){var a=s.call(i,o||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(i)}(n,"string");return typeof r=="symbol"?r:r+""}(t))in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u,e}var zt=[],ai={},cr={};function Ds(e){for(var t=[],u=e.length,n=[],r=0;u>=r;r++)n.push(!0);return li(0,e,[],t,n),t}function li(e,t,u,n,r){var i=t.length;if(e!==i)for(var o=function(){var a=t.substring(e,s+1),l=!1;if(zt.some(function(h){return h.indexOf(a)===0})&&!t[s+1]&&r[s+1]){if(a.length===1)u.push(a);else{var c=[];zt.forEach(function(h){h.indexOf(a)===0&&c.push(h)}),u.push(c)}l=!0}else zt.indexOf(a)!==-1&&r[s+1]&&(u.push(a),l=!0);if(l){var d=n.length;li(s+1,t,u,n,r),n.length===d&&(r[s+1]=!1),u.pop()}},s=e;i>s;s++)o();else n.push(u.join(" "))}function Ss(e,t,u,n){if(!e)return!1;var r=e.split(" ");return r.forEach(function(i){i.length>0&&n&&r.push(i.charAt(0))}),u?r.some(function(i){return i.indexOf(t)===0}):r.indexOf(t)!==-1}function Fs(e,t){if(!e||!t)return!1;e=e.toLowerCase(),t=t.replace(/\s+/g,"").toLowerCase();var u=e.indexOf(t);if(u!==-1)return[u,u+t.length-1];var n=dr(e.split(""),[t.split("")],t);if(n)return n;var r,i,o=function(s){for(var a=[],l=0,c=s.length;c>l;l++){var d=s.charAt(l);a.push(ai[d]||d)}return a}(e);return dr(o,cr[t]||(i=[],Ds(r=t).forEach(function(s){var a=s.split(" "),l=a.length-1;a[l].indexOf(",")?a[l].split(",").forEach(function(c){a.splice(l,1,c),i.push(JSON.parse(JSON.stringify(a)))}):i.push(a)}),i.length!==0&&i[0].length===r.length||i.push(r.split("")),cr=Es({},r,i),i),t)}function dr(e,t,u){for(var n=0;e.length>n;n++)for(var r=0;t.length>r;r++){var i=t[r],o=i.length,s=o===u.length,a=!0,l=0,c=0,d=0;if(e.length>=o){for(;i.length>l;l++)if(l===0&&e[n+l+c]===" ")c+=1,l-=1;else if(e[n+l+d]===" ")d+=1,l-=1;else if(!Ss(e[n+l+d],i[l],!e[n+l+1]||!i[l+1],s)){a=!1;break}if(a)return[n+c,d+n+l-1]}}return!1}var Ts={match:function(e){var t={},u=["ju","jun","jue","juan","qu","qun","que","xuan","xu","xue","yu","yuan","yue","yun","nve","lve"],n=["lv","lve","nv","nve"];return Object.keys(e).forEach(function(r){if(t[r]=e[r],zt.push(r),u.includes(r)){var i=(o=r).indexOf("u")!==-1?o.replace("u","v"):o.replace("v","u");t[i]=e[r],zt.push(i)}var o;if(n.includes(r)){var s=r.replace("v","ü");t[s]=e[r],zt.push(s)}}),ai=function(r){var i={};for(var o in r)for(var s=r[o],a=0,l=s.length;l>a;a++)i[s[a]]=i[s[a]]?i[s[a]]+" "+o:o;return i}(t),Fs}({a:"阿啊呵腌嗄吖锕",e:"额阿俄恶鹅遏鄂厄饿峨扼娥鳄哦蛾噩愕讹锷垩婀鹗萼谔莪腭锇颚呃阏屙苊轭",ai:"爱埃艾碍癌哀挨矮隘蔼唉皑哎霭捱暧嫒嗳瑷嗌锿砹",ei:"诶",xi:"系西席息希习吸喜细析戏洗悉锡溪惜稀袭夕洒晰昔牺腊烯熙媳栖膝隙犀蹊硒兮熄曦禧嬉玺奚汐徙羲铣淅嘻歙熹矽蟋郗唏皙隰樨浠忾蜥檄郄翕阋鳃舾屣葸螅咭粞觋欷僖醯鼷裼穸饩舄禊诶菥蓰",yi:"一以已意议义益亿易医艺食依移衣异伊仪宜射遗疑毅谊亦疫役忆抑尾乙译翼蛇溢椅沂泄逸蚁夷邑怡绎彝裔姨熠贻矣屹颐倚诣胰奕翌疙弈轶蛾驿壹猗臆弋铱旖漪迤佚翊诒怿痍懿饴峄揖眙镒仡黟肄咿翳挹缢呓刈咦嶷羿钇殪荑薏蜴镱噫癔苡悒嗌瘗衤佾埸圯舣酏劓",an:"安案按岸暗鞍氨俺胺铵谙庵黯鹌桉埯犴揞厂广",han:"厂汉韩含旱寒汗涵函喊憾罕焊翰邯撼瀚憨捍酣悍鼾邗颔蚶晗菡旰顸犴焓撖",ang:"昂仰盎肮",ao:"奥澳傲熬凹鳌敖遨鏖袄坳翱嗷拗懊岙螯骜獒鏊艹媪廒聱",wa:"瓦挖娃洼袜蛙凹哇佤娲呙腽",yu:"于与育余预域予遇奥语誉玉鱼雨渔裕愈娱欲吁舆宇羽逾豫郁寓吾狱喻御浴愉禹俞邪榆愚渝尉淤虞屿峪粥驭瑜禺毓钰隅芋熨瘀迂煜昱汩於臾盂聿竽萸妪腴圄谕觎揄龉谀俣馀庾妤瘐鬻欤鹬阈嵛雩鹆圉蜮伛纡窬窳饫蓣狳肀舁蝓燠",niu:"牛纽扭钮拗妞忸狃",o:"哦噢喔",ba:"把八巴拔伯吧坝爸霸罢芭跋扒叭靶疤笆耙鲅粑岜灞钯捌菝魃茇",pa:"怕帕爬扒趴琶啪葩耙杷钯筢",pi:"被批副否皮坏辟啤匹披疲罢僻毗坯脾譬劈媲屁琵邳裨痞癖陂丕枇噼霹吡纰砒铍淠郫埤濞睥芘蚍圮鼙罴蜱疋貔仳庀擗甓陴",bi:"比必币笔毕秘避闭佛辟壁弊彼逼碧鼻臂蔽拂泌璧庇痹毙弼匕鄙陛裨贲敝蓖吡篦纰俾铋毖筚荸薜婢哔跸濞秕荜愎睥妣芘箅髀畀滗狴萆嬖襞舭",bai:"百白败摆伯拜柏佰掰呗擘捭稗",bo:"波博播勃拨薄佛伯玻搏柏泊舶剥渤卜驳簿脖膊簸菠礴箔铂亳钵帛擘饽跛钹趵檗啵鹁擗踣",bei:"北被备倍背杯勃贝辈悲碑臂卑悖惫蓓陂钡狈呗焙碚褙庳鞴孛鹎邶鐾",ban:"办版半班般板颁伴搬斑扮拌扳瓣坂阪绊钣瘢舨癍",pan:"判盘番潘攀盼拚畔胖叛拌蹒磐爿蟠泮袢襻丬",bin:"份宾频滨斌彬濒殡缤鬓槟摈膑玢镔豳髌傧",bang:"帮邦彭旁榜棒膀镑绑傍磅蚌谤梆浜蒡",pang:"旁庞乓磅螃彷滂逄耪",beng:"泵崩蚌蹦迸绷甭嘣甏堋",bao:"报保包宝暴胞薄爆炮饱抱堡剥鲍曝葆瀑豹刨褒雹孢苞煲褓趵鸨龅勹",bu:"不部步布补捕堡埔卜埠簿哺怖钚卟瓿逋晡醭钸",pu:"普暴铺浦朴堡葡谱埔扑仆蒲曝瀑溥莆圃璞濮菩蹼匍噗氆攵镨攴镤",mian:"面棉免绵缅勉眠冕娩腼渑湎沔黾宀眄",po:"破繁坡迫颇朴泊婆泼魄粕鄱珀陂叵笸泺皤钋钷",fan:"反范犯繁饭泛翻凡返番贩烦拚帆樊藩矾梵蕃钒幡畈蘩蹯燔",fu:"府服副负富复福夫妇幅付扶父符附腐赴佛浮覆辅傅伏抚赋辐腹弗肤阜袱缚甫氟斧孚敷俯拂俘咐腑孵芙涪釜脯茯馥宓绂讣呋罘麸蝠匐芾蜉跗凫滏蝮驸绋蚨砩桴赙菔呒趺苻拊阝鲋怫稃郛莩幞祓艴黻黼鳆",ben:"本奔苯笨夯贲锛畚坌",feng:"风丰封峰奉凤锋冯逢缝蜂枫疯讽烽俸沣酆砜葑唪",bian:"变便边编遍辩鞭辨贬匾扁卞汴辫砭苄蝙鳊弁窆笾煸褊碥忭缏",pian:"便片篇偏骗翩扁骈胼蹁谝犏缏",zhen:"镇真针圳振震珍阵诊填侦臻贞枕桢赈祯帧甄斟缜箴疹砧榛鸩轸稹溱蓁胗椹朕畛浈",biao:"表标彪镖裱飚膘飙镳婊骠飑杓髟鳔灬瘭",piao:"票朴漂飘嫖瓢剽缥殍瞟骠嘌莩螵",huo:"和活或货获火伙惑霍祸豁嚯藿锪蠖钬耠镬夥灬劐攉",bie:"别鳖憋瘪蹩",min:"民敏闽闵皿泯岷悯珉抿黾缗玟愍苠鳘",fen:"分份纷奋粉氛芬愤粪坟汾焚酚吩忿棼玢鼢瀵偾鲼",bing:"并病兵冰屏饼炳秉丙摒柄槟禀枋邴冫",geng:"更耕颈庚耿梗埂羹哽赓绠鲠",fang:"方放房防访纺芳仿坊妨肪邡舫彷枋鲂匚钫",xian:"现先县见线限显险献鲜洗宪纤陷闲贤仙衔掀咸嫌掺羡弦腺痫娴舷馅酰铣冼涎暹籼锨苋蚬跹岘藓燹鹇氙莶霰跣猃彡祆筅",fou:"不否缶",ca:"拆擦嚓礤",cha:"查察差茶插叉刹茬楂岔诧碴嚓喳姹杈汊衩搽槎镲苴檫馇锸猹",cai:"才采财材菜彩裁蔡猜踩睬",can:"参残餐灿惨蚕掺璨惭粲孱骖黪",shen:"信深参身神什审申甚沈伸慎渗肾绅莘呻婶娠砷蜃哂椹葚吲糁渖诜谂矧胂",cen:"参岑涔",san:"三参散伞叁糁馓毵",cang:"藏仓苍沧舱臧伧",zang:"藏脏葬赃臧奘驵",chen:"称陈沈沉晨琛臣尘辰衬趁忱郴宸谌碜嗔抻榇伧谶龀肜",cao:"草操曹槽糙嘈漕螬艚屮",ce:"策测册侧厕栅恻",ze:"责则泽择侧咋啧仄箦赜笮舴昃迮帻",zhai:"债择齐宅寨侧摘窄斋祭翟砦瘵哜",dao:"到道导岛倒刀盗稻蹈悼捣叨祷焘氘纛刂帱忉",ceng:"层曾蹭噌",zha:"查扎炸诈闸渣咋乍榨楂札栅眨咤柞喳喋铡蚱吒怍砟揸痄哳齄",chai:"差拆柴钗豺侪虿瘥",ci:"次此差词辞刺瓷磁兹慈茨赐祠伺雌疵鹚糍呲粢",zi:"资自子字齐咨滋仔姿紫兹孜淄籽梓鲻渍姊吱秭恣甾孳訾滓锱辎趑龇赀眦缁呲笫谘嵫髭茈粢觜耔",cuo:"措错磋挫搓撮蹉锉厝嵯痤矬瘥脞鹾",chan:"产单阐崭缠掺禅颤铲蝉搀潺蟾馋忏婵孱觇廛谄谗澶骣羼躔蒇冁",shan:"山单善陕闪衫擅汕扇掺珊禅删膳缮赡鄯栅煽姗跚鳝嬗潸讪舢苫疝掸膻钐剡蟮芟埏彡骟",zhan:"展战占站崭粘湛沾瞻颤詹斩盏辗绽毡栈蘸旃谵搌",xin:"新心信辛欣薪馨鑫芯锌忻莘昕衅歆囟忄镡",lian:"联连练廉炼脸莲恋链帘怜涟敛琏镰濂楝鲢殓潋裢裣臁奁莶蠊蔹",chang:"场长厂常偿昌唱畅倡尝肠敞倘猖娼淌裳徜昶怅嫦菖鲳阊伥苌氅惝鬯",zhang:"长张章障涨掌帐胀彰丈仗漳樟账杖璋嶂仉瘴蟑獐幛鄣嫜",chao:"超朝潮炒钞抄巢吵剿绰嘲晁焯耖怊",zhao:"着照招找召朝赵兆昭肇罩钊沼嘲爪诏濯啁棹笊",zhou:"调州周洲舟骤轴昼宙粥皱肘咒帚胄绉纣妯啁诌繇碡籀酎荮",che:"车彻撤尺扯澈掣坼砗屮",ju:"车局据具举且居剧巨聚渠距句拒俱柜菊拘炬桔惧矩鞠驹锯踞咀瞿枸掬沮莒橘飓疽钜趄踽遽琚龃椐苣裾榘狙倨榉苴讵雎锔窭鞫犋屦醵",cheng:"成程城承称盛抢乘诚呈净惩撑澄秤橙骋逞瞠丞晟铛埕塍蛏柽铖酲裎枨",rong:"容荣融绒溶蓉熔戎榕茸冗嵘肜狨蝾",sheng:"生声升胜盛乘圣剩牲甸省绳笙甥嵊晟渑眚",deng:"等登邓灯澄凳瞪蹬噔磴嶝镫簦戥",zhi:"制之治质职只志至指织支值知识直致执置止植纸拓智殖秩旨址滞氏枝芝脂帜汁肢挚稚酯掷峙炙栉侄芷窒咫吱趾痔蜘郅桎雉祉郦陟痣蛭帙枳踯徵胝栀贽祗豸鸷摭轵卮轾彘觯絷跖埴夂黹忮骘膣踬",zheng:"政正证争整征郑丁症挣蒸睁铮筝拯峥怔诤狰徵钲",tang:"堂唐糖汤塘躺趟倘棠烫淌膛搪镗傥螳溏帑羰樘醣螗耥铴瑭",chi:"持吃池迟赤驰尺斥齿翅匙痴耻炽侈弛叱啻坻眙嗤墀哧茌豉敕笞饬踟蚩柢媸魑篪褫彳鸱螭瘛眵傺",shi:"是时实事市十使世施式势视识师史示石食始士失适试什泽室似诗饰殖释驶氏硕逝湿蚀狮誓拾尸匙仕柿矢峙侍噬嗜栅拭嘘屎恃轼虱耆舐莳铈谥炻豕鲥饣螫酾筮埘弑礻蓍鲺贳",qi:"企其起期气七器汽奇齐启旗棋妻弃揭枝歧欺骑契迄亟漆戚岂稽岐琦栖缉琪泣乞砌祁崎绮祺祈凄淇杞脐麒圻憩芪伎俟畦耆葺沏萋骐鳍綦讫蕲屺颀亓碛柒啐汔綮萁嘁蛴槭欹芑桤丌蜞",chuai:"揣踹啜搋膪",tuo:"托脱拓拖妥驼陀沱鸵驮唾椭坨佗砣跎庹柁橐乇铊沲酡鼍箨柝",duo:"多度夺朵躲铎隋咄堕舵垛惰哆踱跺掇剁柁缍沲裰哚隳",xue:"学血雪削薛穴靴谑噱鳕踅泶彐",chong:"重种充冲涌崇虫宠忡憧舂茺铳艟",chou:"筹抽绸酬愁丑臭仇畴稠瞅踌惆俦瘳雠帱",qiu:"求球秋丘邱仇酋裘龟囚遒鳅虬蚯泅楸湫犰逑巯艽俅蝤赇鼽糗",xiu:"修秀休宿袖绣臭朽锈羞嗅岫溴庥馐咻髹鸺貅",chu:"出处础初助除储畜触楚厨雏矗橱锄滁躇怵绌搐刍蜍黜杵蹰亍樗憷楮",tuan:"团揣湍疃抟彖",zhui:"追坠缀揣椎锥赘惴隹骓缒",chuan:"传川船穿串喘椽舛钏遄氚巛舡",zhuan:"专转传赚砖撰篆馔啭颛",yuan:"元员院原源远愿园援圆缘袁怨渊苑宛冤媛猿垣沅塬垸鸳辕鸢瑗圜爰芫鼋橼螈眢箢掾",cuan:"窜攒篡蹿撺爨汆镩",chuang:"创床窗闯幢疮怆",zhuang:"装状庄壮撞妆幢桩奘僮戆",chui:"吹垂锤炊椎陲槌捶棰",chun:"春纯醇淳唇椿蠢鹑朐莼肫蝽",zhun:"准屯淳谆肫窀",cu:"促趋趣粗簇醋卒蹴猝蹙蔟殂徂",dun:"吨顿盾敦蹲墩囤沌钝炖盹遁趸砘礅",qu:"区去取曲趋渠趣驱屈躯衢娶祛瞿岖龋觑朐蛐癯蛆苣阒诎劬蕖蘧氍黢蠼璩麴鸲磲",xu:"需许续须序徐休蓄畜虚吁绪叙旭邪恤墟栩絮圩婿戌胥嘘浒煦酗诩朐盱蓿溆洫顼勖糈砉醑",chuo:"辍绰戳淖啜龊踔辶",zu:"组族足祖租阻卒俎诅镞菹",ji:"济机其技基记计系期际及集级几给积极己纪即继击既激绩急奇吉季齐疾迹鸡剂辑籍寄挤圾冀亟寂暨脊跻肌稽忌饥祭缉棘矶汲畸姬藉瘠骥羁妓讥稷蓟悸嫉岌叽伎鲫诘楫荠戟箕霁嵇觊麂畿玑笈犄芨唧屐髻戢佶偈笄跽蒺乩咭赍嵴虮掎齑殛鲚剞洎丌墼蕺彐芰哜",cong:"从丛匆聪葱囱琮淙枞骢苁璁",zong:"总从综宗纵踪棕粽鬃偬枞腙",cou:"凑辏腠楱",cui:"衰催崔脆翠萃粹摧璀瘁悴淬啐隹毳榱",wei:"为位委未维卫围违威伟危味微唯谓伪慰尾魏韦胃畏帷喂巍萎蔚纬潍尉渭惟薇苇炜圩娓诿玮崴桅偎逶倭猥囗葳隗痿猬涠嵬韪煨艉隹帏闱洧沩隈鲔軎",cun:"村存寸忖皴",zuo:"作做座左坐昨佐琢撮祚柞唑嘬酢怍笮阼胙",zuan:"钻纂攥缵躜",da:"大达打答搭沓瘩惮嗒哒耷鞑靼褡笪怛妲",dai:"大代带待贷毒戴袋歹呆隶逮岱傣棣怠殆黛甙埭诒绐玳呔迨",tai:"台太态泰抬胎汰钛苔薹肽跆邰鲐酞骀炱",ta:"他它她拓塔踏塌榻沓漯獭嗒挞蹋趿遢铊鳎溻闼",dan:"但单石担丹胆旦弹蛋淡诞氮郸耽殚惮儋眈疸澹掸膻啖箪聃萏瘅赕",lu:"路六陆录绿露鲁卢炉鹿禄赂芦庐碌麓颅泸卤潞鹭辘虏璐漉噜戮鲈掳橹轳逯渌蓼撸鸬栌氇胪镥簏舻辂垆",tan:"谈探坦摊弹炭坛滩贪叹谭潭碳毯瘫檀痰袒坍覃忐昙郯澹钽锬",ren:"人任认仁忍韧刃纫饪妊荏稔壬仞轫亻衽",jie:"家结解价界接节她届介阶街借杰洁截姐揭捷劫戒皆竭桔诫楷秸睫藉拮芥诘碣嗟颉蚧孑婕疖桀讦疥偈羯袷哜喈卩鲒骱",yan:"研严验演言眼烟沿延盐炎燕岩宴艳颜殷彦掩淹阎衍铅雁咽厌焰堰砚唁焉晏檐蜒奄俨腌妍谚兖筵焱偃闫嫣鄢湮赝胭琰滟阉魇酽郾恹崦芫剡鼹菸餍埏谳讠厣罨",dang:"当党档荡挡宕砀铛裆凼菪谠",tao:"套讨跳陶涛逃桃萄淘掏滔韬叨洮啕绦饕鼗",tiao:"条调挑跳迢眺苕窕笤佻啁粜髫铫祧龆蜩鲦",te:"特忑忒铽慝",de:"的地得德底锝",dei:"得",di:"的地第提低底抵弟迪递帝敌堤蒂缔滴涤翟娣笛棣荻谛狄邸嘀砥坻诋嫡镝碲骶氐柢籴羝睇觌",ti:"体提题弟替梯踢惕剔蹄棣啼屉剃涕锑倜悌逖嚏荑醍绨鹈缇裼",tui:"推退弟腿褪颓蜕忒煺",you:"有由又优游油友右邮尤忧幼犹诱悠幽佑釉柚铀鱿囿酉攸黝莠猷蝣疣呦蚴莸莜铕宥繇卣牖鼬尢蚰侑",dian:"电点店典奠甸碘淀殿垫颠滇癫巅惦掂癜玷佃踮靛钿簟坫阽",tian:"天田添填甜甸恬腆佃舔钿阗忝殄畋栝掭",zhu:"主术住注助属逐宁著筑驻朱珠祝猪诸柱竹铸株瞩嘱贮煮烛苎褚蛛拄铢洙竺蛀渚伫杼侏澍诛茱箸炷躅翥潴邾槠舳橥丶瘃麈疰",nian:"年念酿辗碾廿捻撵拈蔫鲶埝鲇辇黏",diao:"调掉雕吊钓刁貂凋碉鲷叼铫铞",yao:"要么约药邀摇耀腰遥姚窑瑶咬尧钥谣肴夭侥吆疟妖幺杳舀窕窈曜鹞爻繇徭轺铫鳐崾珧",die:"跌叠蝶迭碟爹谍牒耋佚喋堞瓞鲽垤揲蹀",she:"设社摄涉射折舍蛇拾舌奢慑赦赊佘麝歙畲厍猞揲滠",ye:"业也夜叶射野液冶喝页爷耶邪咽椰烨掖拽曳晔谒腋噎揶靥邺铘揲",xie:"些解协写血叶谢械鞋胁斜携懈契卸谐泄蟹邪歇泻屑挟燮榭蝎撷偕亵楔颉缬邂鲑瀣勰榍薤绁渫廨獬躞",zhe:"喆这者着著浙折哲蔗遮辙辄柘锗褶蜇蛰鹧谪赭摺乇磔螫",ding:"定订顶丁鼎盯钉锭叮仃铤町酊啶碇腚疔玎耵",diu:"丢铥",ting:"听庭停厅廷挺亭艇婷汀铤烃霆町蜓葶梃莛",dong:"动东董冬洞懂冻栋侗咚峒氡恫胴硐垌鸫岽胨",tong:"同通统童痛铜桶桐筒彤侗佟潼捅酮砼瞳恸峒仝嗵僮垌茼",zhong:"中重种众终钟忠仲衷肿踵冢盅蚣忪锺舯螽夂",dou:"都斗读豆抖兜陡逗窦渎蚪痘蔸钭篼",du:"度都独督读毒渡杜堵赌睹肚镀渎笃竺嘟犊妒牍蠹椟黩芏髑",duan:"断段短端锻缎煅椴簖",dui:"对队追敦兑堆碓镦怼憝",rui:"瑞兑锐睿芮蕊蕤蚋枘",yue:"月说约越乐跃兑阅岳粤悦曰钥栎钺樾瀹龠哕刖",tun:"吞屯囤褪豚臀饨暾氽",hui:"会回挥汇惠辉恢徽绘毁慧灰贿卉悔秽溃荟晖彗讳诲珲堕诙蕙晦睢麾烩茴喙桧蛔洄浍虺恚蟪咴隳缋哕",wu:"务物无五武午吴舞伍污乌误亡恶屋晤悟吾雾芜梧勿巫侮坞毋诬呜钨邬捂鹜兀婺妩於戊鹉浯蜈唔骛仵焐芴鋈庑鼯牾怃圬忤痦迕杌寤阢",ya:"亚压雅牙押鸭呀轧涯崖邪芽哑讶鸦娅衙丫蚜碣垭伢氩桠琊揠吖睚痖疋迓岈砑",he:"和合河何核盖贺喝赫荷盒鹤吓呵苛禾菏壑褐涸阂阖劾诃颌嗬貉曷翮纥盍",wo:"我握窝沃卧挝涡斡渥幄蜗喔倭莴龌肟硪",en:"恩摁蒽",n:"嗯唔",er:"而二尔儿耳迩饵洱贰铒珥佴鸸鲕",fa:"发法罚乏伐阀筏砝垡珐",quan:"全权券泉圈拳劝犬铨痊诠荃醛蜷颧绻犭筌鬈悛辁畎",fei:"费非飞肥废菲肺啡沸匪斐蜚妃诽扉翡霏吠绯腓痱芾淝悱狒榧砩鲱篚镄",pei:"配培坏赔佩陪沛裴胚妃霈淠旆帔呸醅辔锫",ping:"平评凭瓶冯屏萍苹乒坪枰娉俜鲆",fo:"佛",hu:"和护户核湖互乎呼胡戏忽虎沪糊壶葫狐蝴弧瑚浒鹄琥扈唬滹惚祜囫斛笏芴醐猢怙唿戽槲觳煳鹕冱瓠虍岵鹱烀轷",ga:"夹咖嘎尬噶旮伽尕钆尜",ge:"个合各革格歌哥盖隔割阁戈葛鸽搁胳舸疙铬骼蛤咯圪镉颌仡硌嗝鬲膈纥袼搿塥哿虼",ha:"哈蛤铪",xia:"下夏峡厦辖霞夹虾狭吓侠暇遐瞎匣瑕唬呷黠硖罅狎瘕柙",gai:"改该盖概溉钙丐芥赅垓陔戤",hai:"海还害孩亥咳骸骇氦嗨胲醢",gan:"干感赶敢甘肝杆赣乾柑尴竿秆橄矸淦苷擀酐绀泔坩旰疳澉",gang:"港钢刚岗纲冈杠缸扛肛罡戆筻",jiang:"将强江港奖讲降疆蒋姜浆匠酱僵桨绛缰犟豇礓洚茳糨耩",hang:"行航杭巷夯吭桁沆绗颃",gong:"工公共供功红贡攻宫巩龚恭拱躬弓汞蚣珙觥肱廾",hong:"红宏洪轰虹鸿弘哄烘泓訇蕻闳讧荭黉薨",guang:"广光逛潢犷胱咣桄",qiong:"穷琼穹邛茕筇跫蛩銎",gao:"高告搞稿膏糕镐皋羔锆杲郜睾诰藁篙缟槁槔",hao:"好号毫豪耗浩郝皓昊皋蒿壕灏嚎濠蚝貉颢嗥薅嚆",li:"理力利立里李历例离励礼丽黎璃厉厘粒莉梨隶栗荔沥犁漓哩狸藜罹篱鲤砺吏澧俐骊溧砾莅锂笠蠡蛎痢雳俪傈醴栎郦俚枥喱逦娌鹂戾砬唳坜疠蜊黧猁鬲粝蓠呖跞疬缡鲡鳢嫠詈悝苈篥轹",jia:"家加价假佳架甲嘉贾驾嫁夹稼钾挟拮迦伽颊浃枷戛荚痂颉镓笳珈岬胛袈郏葭袷瘕铗跏蛱恝哿",luo:"啰落罗络洛逻螺锣骆萝裸漯烙摞骡咯箩珞捋荦硌雒椤镙跞瘰泺脶猡倮蠃",ke:"可科克客刻课颗渴壳柯棵呵坷恪苛咳磕珂稞瞌溘轲窠嗑疴蝌岢铪颏髁蚵缂氪骒钶锞",qia:"卡恰洽掐髂袷咭葜",gei:"给",gen:"根跟亘艮哏茛",hen:"很狠恨痕哏",gou:"构购够句沟狗钩拘勾苟垢枸篝佝媾诟岣彀缑笱鞲觏遘",kou:"口扣寇叩抠佝蔻芤眍筘",gu:"股古顾故固鼓骨估谷贾姑孤雇辜菇沽咕呱锢钴箍汩梏痼崮轱鸪牯蛊诂毂鹘菰罟嘏臌觚瞽蛄酤牿鲴",pai:"牌排派拍迫徘湃俳哌蒎",gua:"括挂瓜刮寡卦呱褂剐胍诖鸹栝呙",tou:"钭投头透偷愉骰亠",guai:"怪拐乖",kuai:"会快块筷脍蒯侩浍郐蒉狯哙",guan:"关管观馆官贯冠惯灌罐莞纶棺斡矜倌鹳鳏盥掼涫",wan:"万完晚湾玩碗顽挽弯蔓丸莞皖宛婉腕蜿惋烷琬畹豌剜纨绾脘菀芄箢",ne:"呢哪呐讷疒",gui:"规贵归轨桂柜圭鬼硅瑰跪龟匮闺诡癸鳜桧皈鲑刽晷傀眭妫炅庋簋刿宄匦",jun:"军均俊君峻菌竣钧骏龟浚隽郡筠皲麇捃",jiong:"窘炯迥炅冂扃",jue:"决绝角觉掘崛诀獗抉爵嚼倔厥蕨攫珏矍蹶谲镢鳜噱桷噘撅橛孓觖劂爝",gun:"滚棍辊衮磙鲧绲丨",hun:"婚混魂浑昏棍珲荤馄诨溷阍",guo:"国过果郭锅裹帼涡椁囗蝈虢聒埚掴猓崞蜾呙馘",hei:"黑嘿嗨",kan:"看刊勘堪坎砍侃嵌槛瞰阚龛戡凵莰",heng:"衡横恒亨哼珩桁蘅",mo:"万没么模末冒莫摩墨默磨摸漠脉膜魔沫陌抹寞蘑摹蓦馍茉嘿谟秣蟆貉嫫镆殁耱嬷麽瘼貊貘",peng:"鹏朋彭膨蓬碰苹棚捧亨烹篷澎抨硼怦砰嘭蟛堋",hou:"后候厚侯猴喉吼逅篌糇骺後鲎瘊堠",hua:"化华划话花画滑哗豁骅桦猾铧砉",huai:"怀坏淮徊槐踝",huan:"还环换欢患缓唤焕幻痪桓寰涣宦垸洹浣豢奂郇圜獾鲩鬟萑逭漶锾缳擐",xun:"讯训迅孙寻询循旬巡汛勋逊熏徇浚殉驯鲟薰荀浔洵峋埙巽郇醺恂荨窨蕈曛獯",huang:"黄荒煌皇凰慌晃潢谎惶簧璜恍幌湟蝗磺隍徨遑肓篁鳇蟥癀",nai:"能乃奶耐奈鼐萘氖柰佴艿",luan:"乱卵滦峦鸾栾銮挛孪脔娈",qie:"切且契窃茄砌锲怯伽惬妾趄挈郄箧慊",jian:"建间件见坚检健监减简艰践兼鉴键渐柬剑尖肩舰荐箭浅剪俭碱茧奸歼拣捡煎贱溅槛涧堑笺谏饯锏缄睑謇蹇腱菅翦戬毽笕犍硷鞯牮枧湔鲣囝裥踺搛缣鹣蒹谫僭戋趼楗",nan:"南难男楠喃囡赧腩囝蝻",qian:"前千钱签潜迁欠纤牵浅遣谦乾铅歉黔谴嵌倩钳茜虔堑钎骞阡掮钤扦芊犍荨仟芡悭缱佥愆褰凵肷岍搴箝慊椠",qiang:"强抢疆墙枪腔锵呛羌蔷襁羟跄樯戕嫱戗炝镪锖蜣",xiang:"向项相想乡象响香降像享箱羊祥湘详橡巷翔襄厢镶飨饷缃骧芗庠鲞葙蟓",jiao:"教交较校角觉叫脚缴胶轿郊焦骄浇椒礁佼蕉娇矫搅绞酵剿嚼饺窖跤蛟侥狡姣皎茭峤铰醮鲛湫徼鹪僬噍艽挢敫",zhuo:"着著缴桌卓捉琢灼浊酌拙茁涿镯淖啄濯焯倬擢斫棹诼浞禚",qiao:"桥乔侨巧悄敲俏壳雀瞧翘窍峭锹撬荞跷樵憔鞘橇峤诮谯愀鞒硗劁缲",xiao:"小效销消校晓笑肖削孝萧俏潇硝宵啸嚣霄淆哮筱逍姣箫骁枭哓绡蛸崤枵魈",si:"司四思斯食私死似丝饲寺肆撕泗伺嗣祀厮驷嘶锶俟巳蛳咝耜笥纟糸鸶缌澌姒汜厶兕",kai:"开凯慨岂楷恺揩锴铠忾垲剀锎蒈",jin:"进金今近仅紧尽津斤禁锦劲晋谨筋巾浸襟靳瑾烬缙钅矜觐堇馑荩噤廑妗槿赆衿卺",qin:"亲勤侵秦钦琴禽芹沁寝擒覃噙矜嗪揿溱芩衾廑锓吣檎螓",jing:"经京精境竞景警竟井惊径静劲敬净镜睛晶颈荆兢靖泾憬鲸茎腈菁胫阱旌粳靓痉箐儆迳婧肼刭弪獍",ying:"应营影英景迎映硬盈赢颖婴鹰荧莹樱瑛蝇萦莺颍膺缨瀛楹罂荥萤鹦滢蓥郢茔嘤璎嬴瘿媵撄潆",jiu:"就究九酒久救旧纠舅灸疚揪咎韭玖臼柩赳鸠鹫厩啾阄桕僦鬏",zui:"最罪嘴醉咀蕞觜",juan:"卷捐圈眷娟倦绢隽镌涓鹃鄄蠲狷锩桊",suan:"算酸蒜狻",yun:"员运云允孕蕴韵酝耘晕匀芸陨纭郧筠恽韫郓氲殒愠昀菀狁",qun:"群裙逡麇",ka:"卡喀咖咔咯佧胩",kang:"康抗扛慷炕亢糠伉钪闶",keng:"坑铿吭",kao:"考靠烤拷铐栲尻犒",ken:"肯垦恳啃龈裉",yin:"因引银印音饮阴隐姻殷淫尹荫吟瘾寅茵圻垠鄞湮蚓氤胤龈窨喑铟洇狺夤廴吲霪茚堙",kong:"空控孔恐倥崆箜",ku:"苦库哭酷裤枯窟挎骷堀绔刳喾",kua:"跨夸垮挎胯侉",kui:"亏奎愧魁馈溃匮葵窥盔逵睽馗聩喟夔篑岿喹揆隗傀暌跬蒉愦悝蝰",kuan:"款宽髋",kuang:"况矿框狂旷眶匡筐邝圹哐贶夼诳诓纩",que:"确却缺雀鹊阙瘸榷炔阕悫",kun:"困昆坤捆琨锟鲲醌髡悃阃",kuo:"扩括阔廓蛞",la:"拉落垃腊啦辣蜡喇剌旯砬邋瘌",lai:"来莱赖睐徕籁涞赉濑癞崃疠铼",lan:"兰览蓝篮栏岚烂滥缆揽澜拦懒榄斓婪阑褴罱啉谰镧漤",lin:"林临邻赁琳磷淋麟霖鳞凛拎遴蔺吝粼嶙躏廪檩啉辚膦瞵懔",lang:"浪朗郎廊狼琅榔螂阆锒莨啷蒗稂",liang:"量两粮良辆亮梁凉谅粱晾靓踉莨椋魉墚",lao:"老劳落络牢捞涝烙姥佬崂唠酪潦痨醪铑铹栳耢",mu:"目模木亩幕母牧莫穆姆墓慕牟牡募睦缪沐暮拇姥钼苜仫毪坶",le:"了乐勒肋叻鳓嘞仂泐",lei:"类累雷勒泪蕾垒磊擂镭肋羸耒儡嫘缧酹嘞诔檑",sui:"随岁虽碎尿隧遂髓穗绥隋邃睢祟濉燧谇眭荽",lie:"列烈劣裂猎冽咧趔洌鬣埒捩躐",leng:"冷愣棱楞塄",ling:"领令另零灵龄陵岭凌玲铃菱棱伶羚苓聆翎泠瓴囹绫呤棂蛉酃鲮柃",lia:"俩",liao:"了料疗辽廖聊寥缪僚燎缭撂撩嘹潦镣寮蓼獠钌尥鹩",liu:"流刘六留柳瘤硫溜碌浏榴琉馏遛鎏骝绺镏旒熘鹨锍",lun:"论轮伦仑纶沦抡囵",lv:"率律旅绿虑履吕铝屡氯缕滤侣驴榈闾偻褛捋膂稆",lou:"楼露漏陋娄搂篓喽镂偻瘘髅耧蝼嵝蒌",mao:"贸毛矛冒貌茂茅帽猫髦锚懋袤牦卯铆耄峁瑁蟊茆蝥旄泖昴瞀",long:"龙隆弄垄笼拢聋陇胧珑窿茏咙砻垅泷栊癃",nong:"农浓弄脓侬哝",shuang:"双爽霜孀泷",shu:"术书数属树输束述署熟殊蔬舒疏鼠淑叔暑枢墅俞曙抒竖蜀薯梳戍恕孰沭赎庶漱塾倏澍纾姝菽黍腧秫毹殳疋摅",shuai:"率衰帅摔甩蟀",lve:"略掠锊",ma:"么马吗摩麻码妈玛嘛骂抹蚂唛蟆犸杩",me:"么麽",mai:"买卖麦迈脉埋霾荬劢",man:"满慢曼漫埋蔓瞒蛮鳗馒幔谩螨熳缦镘颟墁鞔嫚",mi:"米密秘迷弥蜜谜觅靡泌眯麋猕谧咪糜宓汨醚嘧弭脒冖幂祢縻蘼芈糸敉",men:"们门闷瞒汶扪焖懑鞔钔",mang:"忙盲茫芒氓莽蟒邙硭漭",meng:"蒙盟梦猛孟萌氓朦锰檬勐懵蟒蜢虻黾蠓艨甍艋瞢礞",miao:"苗秒妙描庙瞄缪渺淼藐缈邈鹋杪眇喵",mou:"某谋牟缪眸哞鍪蛑侔厶",miu:"缪谬",mei:"美没每煤梅媒枚妹眉魅霉昧媚玫酶镁湄寐莓袂楣糜嵋镅浼猸鹛",wen:"文问闻稳温纹吻蚊雯紊瘟汶韫刎璺玟阌",mie:"灭蔑篾乜咩蠛",ming:"明名命鸣铭冥茗溟酩瞑螟暝",na:"内南那纳拿哪娜钠呐捺衲镎肭",nei:"内那哪馁",nuo:"难诺挪娜糯懦傩喏搦锘",ruo:"若弱偌箬",nang:"囊馕囔曩攮",nao:"脑闹恼挠瑙淖孬垴铙桡呶硇猱蛲",ni:"你尼呢泥疑拟逆倪妮腻匿霓溺旎昵坭铌鲵伲怩睨猊",nen:"嫩恁",neng:"能",nin:"您恁",niao:"鸟尿溺袅脲茑嬲",nie:"摄聂捏涅镍孽捻蘖啮蹑嗫臬镊颞乜陧",niang:"娘酿",ning:"宁凝拧泞柠咛狞佞聍甯",nu:"努怒奴弩驽帑孥胬",nv:"女钕衄恧",ru:"入如女乳儒辱汝茹褥孺濡蠕嚅缛溽铷洳薷襦颥蓐",nuan:"暖",nve:"虐疟",re:"热若惹喏",ou:"区欧偶殴呕禺藕讴鸥瓯沤耦怄",pao:"跑炮泡抛刨袍咆疱庖狍匏脬",pou:"剖掊裒",pen:"喷盆湓",pie:"瞥撇苤氕丿",pin:"品贫聘频拼拚颦姘嫔榀牝",se:"色塞瑟涩啬穑铯槭",qing:"情青清请亲轻庆倾顷卿晴氢擎氰罄磬蜻箐鲭綮苘黥圊檠謦",zan:"赞暂攒堑昝簪糌瓒錾趱拶",shao:"少绍召烧稍邵哨韶捎勺梢鞘芍苕劭艄筲杓潲",sao:"扫骚嫂梢缫搔瘙臊埽缲鳋",sha:"沙厦杀纱砂啥莎刹杉傻煞鲨霎嗄痧裟挲铩唼歃",xuan:"县选宣券旋悬轩喧玄绚渲璇炫萱癣漩眩暄煊铉楦泫谖痃碹揎镟儇",ran:"然染燃冉苒髯蚺",rang:"让壤攘嚷瓤穰禳",rao:"绕扰饶娆桡荛",reng:"仍扔",ri:"日",rou:"肉柔揉糅鞣蹂",ruan:"软阮朊",run:"润闰",sa:"萨洒撒飒卅仨脎",suo:"所些索缩锁莎梭琐嗦唆唢娑蓑羧挲桫嗍睃",sai:"思赛塞腮噻鳃",shui:"说水税谁睡氵",sang:"桑丧嗓搡颡磉",sen:"森",seng:"僧",shai:"筛晒",shang:"上商尚伤赏汤裳墒晌垧觞殇熵绱",xing:"行省星腥猩惺兴刑型形邢饧醒幸杏性姓陉荇荥擤悻硎",shou:"收手受首售授守寿瘦兽狩绶艏扌",shuo:"说数硕烁朔铄妁槊蒴搠",su:"速素苏诉缩塑肃俗宿粟溯酥夙愫簌稣僳谡涑蔌嗉觫",shua:"刷耍唰",shuan:"栓拴涮闩",shun:"顺瞬舜吮",song:"送松宋讼颂耸诵嵩淞怂悚崧凇忪竦菘",sou:"艘搜擞嗽嗖叟馊薮飕嗾溲锼螋瞍",sun:"损孙笋荪榫隼狲飧",teng:"腾疼藤滕誊",tie:"铁贴帖餮萜",tu:"土突图途徒涂吐屠兔秃凸荼钍菟堍酴",wai:"外歪崴",wang:"王望往网忘亡旺汪枉妄惘罔辋魍",weng:"翁嗡瓮蓊蕹",zhua:"抓挝爪",yang:"样养央阳洋扬杨羊详氧仰秧痒漾疡泱殃恙鸯徉佯怏炀烊鞅蛘",xiong:"雄兄熊胸凶匈汹芎",yo:"哟唷",yong:"用永拥勇涌泳庸俑踊佣咏雍甬镛臃邕蛹恿慵壅痈鳙墉饔喁",za:"杂扎咱砸咋匝咂拶",zai:"在再灾载栽仔宰哉崽甾",zao:"造早遭枣噪灶燥糟凿躁藻皂澡蚤唣",zei:"贼",zen:"怎谮",zeng:"增曾综赠憎锃甑罾缯",zhei:"这",zou:"走邹奏揍诹驺陬楱鄹鲰",zhuai:"转拽",zun:"尊遵鳟樽撙",dia:"嗲",nou:"耨"})};const Is={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},zs={class:"flex justify-between items-start mb-2"},Ls={class:"relative flex flex-1 w-full"},$s={for:"search-field",class:"sr-only"},Bs={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},Ms=["placeholder"],Rs={key:1,class:"relative",style:{"max-width":"60%",margin:"auto"}},Ps=["onClick"],Ns={key:0,class:"flex justify-between items-start my-1 h-14",style:{"max-width":"100%"}},Os=["onClick"],js={class:"w-full flex flex-grow my-2 items-start"},Us=["onClick"],qs={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-full"},Hs=["src"],Ws={class:"text-white text-sm"},Vs={class:"flex-grow flex flex-col"},Gs={class:"flex items-center font-medium text-base text-gray-600 dark:text-gray-400 my-1"},Xs={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},Zs={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-1"},Ys=me({__name:"AppDialog",props:{visible:{type:Boolean}},setup(e){const t=e,{isMobile:u}=Je(),n=$e();function r(){n.updateAppDialog(!1)}const i=Ke(),o=Go(),s=j(""),a=M(()=>o.catId),l=j([]),c=j([]),d=M(()=>o.mineApps),h=j([]),p=j(0);function f(D){return d.value.some(C=>C.appId===D.id)}async function b(){var C;const D=await Xo();l.value=(C=D==null?void 0:D.data)==null?void 0:C.rows.map(E=>(E.loading=!1,E)),c.value=l.value}const k=M(()=>{if(s.value){const D=s.value.toLowerCase();return l.value.filter(C=>Ts.match(C.name,D))}return p.value===0?l.value:l.value.filter(D=>D.catId===p.value)});async function v(D){D.loading=!0;try{const C=await Qo({appId:D.id});i.success(C.data),await o.queryMineApps(),D.loading=!1}catch{D.loading=!1}}async function y(D){const C=Number(D.id);r(),Yo.replace({path:"/chat",query:{appId:C}})}async function x(){var E;const D=await Zo(),C={id:0,name:R("app.allCategories")};h.value=[C,...(E=D==null?void 0:D.data)==null?void 0:E.rows]}function _(D){p.value=D}ke(a,D=>{D?c.value=l.value.filter(C=>C.catId===D):c.value=l.value});function A(){const D=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return D[Math.floor(Math.random()*D.length)]}const T=j(null);function I(){T.value&&T.value.scrollBy({left:-100,behavior:"smooth"})}function w(){T.value&&T.value.scrollBy({left:100,behavior:"smooth"})}return Fe(()=>{x(),b()}),(D,C)=>(L(),ne(Wu,{name:"modal-fade"},{default:pe(()=>[t.visible?(L(),P("div",Is,[m("div",{class:Z(["bg-white dark:bg-gray-900 shadow-lg flex flex-col",[F(u)?"w-full h-full px-2 py-5":"w-[80vw] min-h-[60vh] max-h-[80vh] p-6 rounded-lg"]])},[m("div",zs,[m("div",{class:Z(["mx-1 flex rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800",[F(u)?"w-full mr-8":"w-[40%]"]])},[m("div",Ls,[m("label",$s,N(F(R)("app.searchAppNameQuickFind")),1),m("div",Bs,[W(F(Cs),{theme:"outline",size:"24",class:"text-gray-400"})]),ae(m("input",{id:"search-field","onUpdate:modelValue":C[0]||(C[0]=E=>s.value=E),class:"z-1 w-full rounded-xl dark:bg-gray-800 pr-3 py-2 font-normal outline-0 delay-100 text-base pl-12 dark:text-gray-400",placeholder:F(R)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,Ms),[[_e,s.value]])])],2),F(u)?V("",!0):(L(),ne(F(hs),{key:0,size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:I})),F(u)?V("",!0):(L(),P("div",Rs,[m("div",{ref_key:"scrollContainer",ref:T,class:"flex justify-between items-center scrollbar-hide overflow-x-auto",style:{"max-width":"95%",margin:"auto"}},[(L(!0),P(Ye,null,it(h.value,(E,S)=>(L(),P("div",{key:S,onClick:z=>_(E.id),class:Z([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":p.value===E.id,"text-gray-500":p.value!==E.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},N(E.name),11,Ps))),128))],512)])),F(u)?V("",!0):(L(),ne(F(gs),{key:2,size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:w})),W(F(_t),{size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 ml-3",onClick:r})]),F(u)?(L(),P("div",Ns,[m("div",{ref_key:"scrollContainer",ref:T,class:"flex justify-between items-center overflow-x-auto scrollbar-hide"},[(L(!0),P(Ye,null,it(h.value,(E,S)=>(L(),P("div",{key:S,onClick:z=>_(E.id),class:Z([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":p.value===E.id,"text-gray-500":p.value!==E.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},N(E.name),11,Os))),128))],512)])):V("",!0),m("div",js,[W(os,{name:"list",tag:"div",class:Z(["w-full grid overflow-y-auto",[F(u)?"grid-cols-1 max-h-[85vh]":"h-[60vh] grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-3 gap-3"]]),style:{"align-content":"start"}},{default:pe(()=>[(L(!0),P(Ye,null,it(k.value,E=>(L(),P("div",{key:E.id,onClick:S=>y(E),class:"custom-card cursor-pointer h-[7rem] flex items-center gap-5 rounded-xl bg-gray-50 px-3 py-3 mx-2 mb-3 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[E.coverImg?(L(),P("div",qs,[m("img",{src:E.coverImg,class:"rounded-full w-16 h-16",alt:"app-image"},null,8,Hs)])):(L(),P("div",{key:1,class:Z([A(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-16 h-16 flex items-center justify-center"])},[m("span",Ws,N(E.name.slice(0,3)),1)],2)),m("div",Vs,[m("div",Gs,[m("span",Xs,N(E.name),1),W(F(As),{theme:f(E)?"filled":"outline",size:"20",fill:f(E)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:kn(S=>v(E),["stop"])},null,8,["theme","fill","onClick"])]),m("span",Zs,N(E.des),1)])],8,Us))),128))]),_:1},8,["class"])])],2)])):V("",!0)]),_:1}))}});const Qs=Vt(Ys,[["__scopeId","data-v-3044efeb"]]);const Js={key:0,class:"fixed inset-0 z-50 px-2 flex items-center justify-center bg-black bg-opacity-50"},Ks={class:"bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] flex flex-col relative"},ea=m("div",{class:"flex justify-between items-center mb-3"},[m("span",{class:"text-xl"},"合理合规须知")],-1),ta=m("div",{class:"flex-1 overflow-y-auto"},[m("p",null,"请合理合规使用,请勿咨询敏感信息或使用敏感词生成图片。"),m("p",null," 多次触发平台风控,将记录【账号/IP】等信息并禁止使用,保留向有关部门提交相关记录的权利。 ")],-1),ua={class:"flex justify-end mt-3"},na=["disabled"],ra={key:0},ia={key:1},oa=me({__name:"BadWordsDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=Be(),n=$e();M(()=>u.globalConfig);const r=j(15),i=j(!1);function o(){const a=setInterval(()=>{r.value>0?r.value-=1:(i.value=!0,clearInterval(a))},1e3)}function s(){i.value&&(n.UpdateBadWordsDialog(!1),r.value=15,i.value=!1)}return ke(()=>t.visible,a=>{a&&o()},{immediate:!0}),t.visible&&o(),(a,l)=>t.visible?(L(),P("div",Js,[m("div",Ks,[ea,ta,m("div",ua,[m("button",{disabled:!i.value,onClick:s,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500 disabled:bg-gray-400"},[i.value?(L(),P("span",ra,"已知晓")):(L(),P("span",ia,"请等待 "+N(r.value)+" 秒",1))],8,na)])])])):V("",!0)}}),sa={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},aa=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),la=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),ca=[aa,la],da=me({name:"CloseOutline",render:function(t,u){return L(),P("svg",sa,ca)}}),fa={class:"p-5 bg-white rounded-lg shadow-md dark:bg-slate-800 relative"},ha=m("div",{class:"flex items-start justify-start text-xl font-bold mb-5 dark:text-gray-300"},[m("span",{class:"ml-2"},"绑定微信账户")],-1),ga={class:"text-center font-bold text-sm py-5 dark:text-gray-400"},pa={class:"inline-block text-red-500"},ma={class:"my-4 flex justify-center relative"},ba=m("span",{class:"block text-center text-base py-4 dark:text-gray-400"}," 打开微信扫码绑定账户 ",-1),ya=me({__name:"BindWx",props:{visible:{type:Boolean}},setup(e){const t=$e();let u;const n=j(),r=Be(),i=j(!1),o=j(""),s=j(""),a=Ke();async function l(){const b=await Po();b.success&&(s.value=b.data,c())}async function c(){const b=await Jr({sceneStr:s.value});b.success&&(i.value=!0,o.value=b.data,u=setInterval(()=>{d()},1e3))}async function d(){if(!s.value)return;const b=await No({sceneStr:s.value});if(b.data){clearInterval(u);const{status:k,msg:v}=b.data;k?a.success(v):a.error(v),r.getUserInfo(),t.updateBindwxDialog(!1)}}function h(){var b;clearInterval(u),l(),(b=n.value)==null||b.reset()}function p(){l()}function f(){clearInterval(u),o.value="",s.value="",i.value=!1}return(b,k)=>(L(),ne(F(ms),{show:b.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":p,"on-after-leave":f},{default:pe(()=>[m("div",fa,[m("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:k[0]||(k[0]=v=>F(t).updateBindwxDialog(!1))},[W(F(bs),{size:"20",color:"#0e7a0d"},{default:pe(()=>[W(F(da))]),_:1})]),ha,m("div",ga,[m("p",null,[oe(" 请在 "),m("span",pa,[W(F(ri),{ref_key:"countdownRef",ref:n,active:i.value,duration:120*1e3,"on-finish":h},null,8,["active"])]),oe(" 时间内完成绑定 ")])]),m("div",ma,[o.value?(L(),ne(F(ii),{key:0,"preview-disabled":"",width:"230",src:o.value},null,8,["src"])):(L(),ne(F(Hn),{key:1,height:"230px",width:"230px"})),o.value?V("",!0):(L(),ne(F(Vu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),ba])]),_:1},8,["show"]))}});function ci(e){return Kr({url:"/order/buy",data:e})}function xa(e){return Un({url:"/order/queryByOrderId",data:e})}const va={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_a={class:"flex justify-between items-center p-3"},ka={class:"text-xl font-bold"},wa={class:"w-full overflow-y-auto p-4 mx-auto m-2 grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"},Ca=["onClick"],Aa={class:"relative"},Ea={class:"text-lg font-semibold leading-8"},Da={key:0,class:"flex justify-between items-end min-h-28"},Sa={class:"text-sm font-bold mr-1 w-[120px]"},Fa={class:"font-bold"},Ta={key:1,class:"flex justify-between items-end min-h-28"},Ia={class:"text-sm font-bold mr-1 w-[120px]"},za={class:"font-bold"},La={key:2,class:"flex justify-between items-end min-h-28"},$a={class:"text-sm font-bold mr-1 w-[120px]"},Ba={class:"font-bold"},Ma={class:"mt-6 flex items-baseline gap-x-1"},Ra={class:"text-4xl font-bold tracking-tight"},Pa={class:"mt-6 flex flex-col gap-4"},Na=["onClick"],Oa={role:"list",class:"mt-8 space-y-3 text-sm leading-6 text-gray-600 dark:text-gray-400"},ja=me({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(e){const t=Be(),u=$e(),n=j(!0),r=j([]),i=Ke();ys();const o=j(!1),s=M(()=>t.globalConfig.model3Name||R("goods.basicModelQuota")),{isMobile:a}=Je(),l=M(()=>t.globalConfig.model4Name)||R("goods.advancedModelQuota"),c=M(()=>t.globalConfig.drawMjName)||R("goods.drawingQuota"),d=M(()=>Number(t.globalConfig.isHideModel3Point)===1),h=M(()=>Number(t.globalConfig.isHideModel4Point)===1),p=M(()=>Number(t.globalConfig.isHideDrawMjPoint)===1),f=M(()=>{var C;const D=window.navigator.userAgent.toLowerCase();return D.match(/MicroMessenger/i)&&((C=D==null?void 0:D.match(/MicroMessenger/i))==null?void 0:C[0])==="micromessenger"}),b=M(()=>{const{payHupiStatus:D,payEpayStatus:C,payMpayStatus:E,payWechatStatus:S,payLtzfStatus:z}=t.globalConfig;return Number(S)===1?"wechat":Number(E)===1?"mpay":Number(D)===1?"hupi":Number(C)===1?"epay":Number(z)===1?"ltzf":null}),k=M(()=>{const{payEpayChannel:D,payMpayChannel:C}=t.globalConfig;return b.value==="mpay"?C?JSON.parse(C):[]:b.value==="epay"?D?JSON.parse(D):[]:b.value==="wechat"?["wxpay"]:b.value==="hupi"?["wxpay"]:b.value==="ltzf"?["wxpay"]:[]});Fe(()=>{_(),f.value&&v()}),qn(()=>{r.value=[],n.value=!0});async function v(){const D=window.location.href.replace(/#.*$/,""),C=await Oo({url:D}),{appId:E,nonceStr:S,timestamp:z,signature:$}=C.data;E&&(wx.config({debug:!1,appId:E,timestamp:z,nonceStr:S,signature:$,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function y(D){const{appId:C,timeStamp:E,nonceStr:S,package:z,signType:$,paySign:B}=D;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:C,timeStamp:E,nonceStr:S,package:z,signType:$,paySign:B},U=>{U.err_msg==="get_brand_wcpay_request:ok"?(i.success(R("goods.purchaseSuccess")),setTimeout(()=>{t.getUserInfo(),u.updateGoodsDialog(!1)},500)):i.success(R("goods.paymentNotSuccessful"))})}async function x(D){if(o.value)return;function C(){const E=window.navigator.userAgent.toLowerCase(),S=E.indexOf("micromessenger")!==-1,z=E.indexOf("windows")===-1&&E.indexOf("macintosh")===-1;return S&&z}if(C()&&b.value==="wechat"&&Number(t.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",y,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",y),document.attachEvent("onWeixinJSBridgeReady",y));else{const E=await ci({goodsId:D.id,payType:"jsapi"}),{success:S,data:z}=E;S&&y(z)}return}u.updateOrderInfo({pkgInfo:D}),u.updateGoodsDialog(!1),u.updatePayDialog(!0)}async function _(){n.value=!0;try{const D=await _s({status:1,size:30});r.value=D.data.rows,n.value=!1}catch{n.value=!1}}const A=j(""),T=D=>{A.value=D.name};function I(D){if(!k.value.length){i.warning(R("goods.paymentNotEnabled"));return}x(D)}function w(D){return D.split(`
|
||
`)}return(D,C)=>(L(),ne(Wu,{name:"modal-fade"},{default:pe(()=>[D.visible?(L(),P("div",va,[m("div",{class:Z(["bg-white dark:bg-gray-900 flex flex-col relative",F(a)?" w-full h-full":"max-h-[80vh] rounded-lg shadow-lg w-full max-w-7xl p-4 mx-2 "])},[m("div",_a,[m("span",ka,N(F(R)("goods.selectProducts")),1),W(F(_t),{size:"18",class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:C[0]||(C[0]=E=>F(u).updateGoodsDialog(!1))})]),m("div",wa,[(L(!0),P(Ye,null,it(r.value,(E,S)=>(L(),P("div",{key:S,class:Z([E.name==A.value?"ring-2 ring-indigo-500 shadow-md":"ring-2 ring-gray-200 dark:ring-gray-800 ","rounded-lg p-8 hover:shadow-md"]),onClick:z=>T(E)},[m("div",Aa,[m("b",Ea,N(E.name),1)]),d.value?V("",!0):(L(),P("div",Da,[m("span",Sa,N(s.value),1),m("span",Fa,N(E.model3Count>99999?"无限额度":E.model3Count),1)])),h.value?V("",!0):(L(),P("div",Ta,[m("span",Ia,N(F(l)),1),m("span",za,N(E.model4Count>99999?"无限额度":E.model4Count),1)])),p.value?V("",!0):(L(),P("div",La,[m("span",$a,N(F(c)),1),m("span",Ba,N(E.drawMjCount>99999?"无限额度":E.drawMjCount),1)])),m("div",Ma,[m("span",Ra,N(`¥${E.price}`),1)]),m("div",Pa,[m("button",{onClick:z=>I(E),class:Z(["block w-full rounded-md shadow-sm px-3 py-2 text-center text-sm font-semibold leading-6",[E.name==A.value?"text-white bg-indigo-600 hover:bg-indigo-500 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 focus-visible:outline focus-visible:outline-2":"ring-1 ring-primary-200 dark:ring-gray-800 dark:bg-gray-800 text-primary-500 hover:ring-primary-300 dark:hover:bg-gray-700"]])},N(F(R)("goods.buyPackage")),11,Na)]),m("ul",Oa,[(L(!0),P(Ye,null,it(w(E.des),(z,$)=>(L(),P("li",{key:$,class:"flex gap-x-3"},[W(F(ps),{theme:"filled",size:"24",class:"text-gray-500"}),oe(" "+N(z),1)]))),128))])],10,Ca))),128))])],2)])):V("",!0)]),_:1}))}});const Ua=Vt(ja,[["__scopeId","data-v-4844baa1"]]),qa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfjAEro8E3Ce50EtxsKxPTwCPH3U2jTmJkBJgWTnAMxDeGMEoa0xQ+LJQnCD4HYFkCyAC3RdwN3U7gMkpxRTTYrMD91sCJIgCxV5R6O1Jcfy7VwonqLoj9/CqB2kF341qncGkBvRe+ureAWpRgoalCBecMFzcdK24YymZRJz5zprgq1tsJwXYL3CVZGvdGHmwZc7JQtra2gE+f712ep2QUYP714DJhaJrXLqXZQszlZwtYdSHoB9ljVk/ePVrSZFL0ZkAlxzQBVseCT8WhZhRThtFB8plk9Zi/qCi8cv0fNxvKFrDy4oF11NXXIFy2EII4iBcG3Y03VLZT8OqRd5aFPduvOEpxRayvXolxAKB2g6NgEhobBlc1HHYKY7WvHf5wtVAPgegIlbbZ9seUZ7AyFnwewi9pGoUyDmhrB931kfnC1ZwOeKlLP8GZJi6QLSFP2yep4toXSbT3ZQAfX3O6omt8Nhd9r/aHQAUMOQywYBZo5uZD2ThQ2rbPCjlnH6yI9rUryE5DU75ctJaake46Be4DuDjF8dFBNA94/AdtiySVxIlpMlTS8td801o70vMigM9huTda2lhcKHVHPO2HZv/P6LIwX7hk/+qzPSvUJGMkrg8AQYTkroRdXMlE+HH/twsG6BsOdJHYZlaO/lBZ6weOiiSXqs3Gqj0TeAxx+T75DIpgwjC0onD51pQD4JaluPrkR/cpFT9DcoVp84LOgTL/DjtBbglgou+puHwB8lEznPxJw1XSX77VtgizBvQNBw4RMqB7xt4Lc3c8lQKJaQHoO4R8ydz0/7MWoCXk8c85MrMC9J3qaafw/WtQlwXST+F3BnAeYB4obgJ1BJIuG+YtiKAjVOZ/Pd1ZdwzoG+4uBtSPpjaRbhXLcwF3hzytb2TilgVgT5BkYybBrTYC+Rvg5nRpdTRJrIs8+VPXPQXj2i4ItxC4O2NQQUQnN4U9rRcz9nH64p4ceM2lziX5Y4s3KHCdUHwE77ecMkMEp6BwhIa2Z6DslZRvfulgHafYLuCas58WLp2aLCFUga70qxOFU6dPFL2W1feYeaU43Y5z/TxnCuYabMEuC043ckdBp4pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII=";const Ha={props:{canvasWidth:{type:Number,default:310},canvasHeight:{type:Number,default:160},show:{type:Boolean,default:!1},puzzleScale:{type:Number,default:1},sliderSize:{type:Number,default:40},range:{type:Number,default:10},imgs:{type:Array},successText:{type:String,default:"验证通过!"},failText:{type:String,default:"验证失败,请重试"},sliderText:{type:String,default:"拖动滑块完成拼图"}},data(){return{mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:null,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1,resetSvg:qa}},mounted(){document.body.appendChild(this.$el),document.addEventListener("mousemove",this.onRangeMouseMove,!1),document.addEventListener("mouseup",this.onRangeMouseUp,!1),document.addEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.addEventListener("touchend",this.onRangeMouseUp,!1),this.show&&(document.body.classList.add("vue-puzzle-overflow"),this.reset())},beforeDestroy(){clearTimeout(this.timer1),document.body.removeChild(this.$el),document.removeEventListener("mousemove",this.onRangeMouseMove,!1),document.removeEventListener("mouseup",this.onRangeMouseUp,!1),document.removeEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onRangeMouseUp,!1)},watch:{show(e){e?(document.body.classList.add("vue-puzzle-overflow"),this.reset()):(this.isSubmting=!1,this.isSuccess=!1,this.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))}},computed:{styleWidth(){const e=this.startWidth+this.newX-this.startX;return e<this.sliderBaseSize?this.sliderBaseSize:e>this.canvasWidth?this.canvasWidth:e},puzzleBaseSize(){return Math.round(Math.max(Math.min(this.puzzleScale,2),.2)*52.5+6)},sliderBaseSize(){return Math.max(Math.min(Math.round(this.sliderSize),Math.round(this.canvasWidth*.5)),10)}},methods:{onClose(){!this.mouseDown&&!this.isSubmting&&(clearTimeout(this.timer1),this.$emit("close"))},onCloseMouseDown(){this.closeDown=!0},onCloseMouseUp(){this.closeDown&&this.onClose(),this.closeDown=!1},onRangeMouseDown(e){this.isCanSlide&&(this.mouseDown=!0,this.startWidth=this.$refs["range-slider"].clientWidth,this.newX=e.clientX||e.changedTouches[0].clientX,this.startX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseMove(e){this.mouseDown&&(e.preventDefault(),this.newX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseUp(){this.mouseDown&&(this.mouseDown=!1,this.submit())},init(e){if(this.loading&&!e)return;this.loading=!0,this.isCanSlide=!1;const t=this.$refs.canvas1,u=this.$refs.canvas2,n=this.$refs.canvas3,r=t.getContext("2d"),i=u.getContext("2d"),o=n.getContext("2d"),s=navigator.userAgent.indexOf("Firefox")>=0&&navigator.userAgent.indexOf("Windows")>=0,a=document.createElement("img");if(r.fillStyle="rgba(255,255,255,1)",o.fillStyle="rgba(255,255,255,1)",r.clearRect(0,0,this.canvasWidth,this.canvasHeight),i.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.pinX=this.getRandom(this.puzzleBaseSize,this.canvasWidth-this.puzzleBaseSize-20),this.pinY=this.getRandom(20,this.canvasHeight-this.puzzleBaseSize-20),a.crossOrigin="anonymous",a.onload=()=>{const[l,c,d,h]=this.makeImgSize(a);r.save(),this.paintBrick(r),r.closePath(),s?(r.clip(),r.save(),r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.restore()):(r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.clip()),r.drawImage(a,l,c,d,h),o.fillRect(0,0,this.canvasWidth,this.canvasHeight),o.drawImage(a,l,c,d,h),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.closePath(),r.shadowColor="rgba(255, 255, 255, .8)",r.shadowOffsetX=-1,r.shadowOffsetY=-1,r.shadowBlur=Math.min(Math.ceil(8*this.puzzleScale),12),r.fillStyle="#ffffaa",r.fill();const p=r.getImageData(this.pinX-3,this.pinY-20,this.pinX+this.puzzleBaseSize+5,this.pinY+this.puzzleBaseSize+5);i.putImageData(p,0,this.pinY-20),r.restore(),r.clearRect(0,0,this.canvasWidth,this.canvasHeight),r.save(),this.paintBrick(r),r.globalAlpha=.8,r.fillStyle="#ffffff",r.fill(),r.restore(),r.save(),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.shadowColor="#000",r.shadowOffsetX=2,r.shadowOffsetY=2,r.shadowBlur=16,r.fill(),r.restore(),r.save(),r.globalCompositeOperation="destination-over",r.drawImage(a,l,c,d,h),r.restore(),this.loading=!1,this.isCanSlide=!0},a.onerror=()=>{this.init(!0)},!e&&this.imgs&&this.imgs.length){let l=this.getRandom(0,this.imgs.length-1);l===this.imgIndex&&(l===this.imgs.length-1?l=0:l++),this.imgIndex=l,a.src=this.imgs[l]}else a.src=this.makeImgWithCanvas()},getRandom(e,t){return Math.ceil(Math.random()*(t-e)+e)},makeImgSize(e){const t=e.width/e.height,u=this.canvasWidth/this.canvasHeight;let n=0,r=0,i=0,o=0;return t>u?(o=this.canvasHeight,i=t*o,r=0,n=(this.canvasWidth-i)/2):(i=this.canvasWidth,o=i/t,n=0,r=(this.canvasHeight-o)/2),[n,r,i,o]},paintBrick(e){const t=Math.ceil(15*this.puzzleScale);e.beginPath(),e.moveTo(this.pinX,this.pinY),e.lineTo(this.pinX+t,this.pinY),e.arcTo(this.pinX+t,this.pinY-t/2,this.pinX+t+t/2,this.pinY-t/2,t/2),e.arcTo(this.pinX+t+t,this.pinY-t/2,this.pinX+t+t,this.pinY,t/2),e.lineTo(this.pinX+t+t+t,this.pinY),e.lineTo(this.pinX+t+t+t,this.pinY+t),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t,this.pinX+t+t+t+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t+t,this.pinX+t+t+t,this.pinY+t+t,t/2),e.lineTo(this.pinX+t+t+t,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t),e.arcTo(this.pinX+t/2,this.pinY+t+t,this.pinX+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t/2,this.pinY+t,this.pinX,this.pinY+t,t/2),e.lineTo(this.pinX,this.pinY)},makeImgWithCanvas(){const e=document.createElement("canvas"),t=e.getContext("2d");e.width=this.canvasWidth,e.height=this.canvasHeight,t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.fillRect(0,0,this.canvasWidth,this.canvasHeight);for(let u=0;u<12;u++)if(t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.strokeStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,this.getRandom(0,2)>1)t.save(),t.rotate(this.getRandom(-90,90)*Math.PI/180),t.fillRect(this.getRandom(-20,e.width-20),this.getRandom(-20,e.height-20),this.getRandom(10,e.width/2+10),this.getRandom(10,e.height/2+10)),t.restore();else{t.beginPath();const n=this.getRandom(-Math.PI,Math.PI);t.arc(this.getRandom(0,e.width),this.getRandom(0,e.height),this.getRandom(10,e.height/2+10),n,n+Math.PI*1.5),t.closePath(),t.fill()}return e.toDataURL("image/png")},submit(){this.isSubmting=!0;const e=Math.abs(this.pinX-(this.styleWidth-this.sliderBaseSize)+(this.puzzleBaseSize-this.sliderBaseSize)*((this.styleWidth-this.sliderBaseSize)/(this.canvasWidth-this.sliderBaseSize))-3);e<this.range?(this.infoText=this.successText,this.infoBoxFail=!1,this.infoBoxShow=!0,this.isCanSlide=!1,this.isSuccess=!0,clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.$emit("success",e)},800)):(this.infoText=this.failText,this.infoBoxFail=!0,this.infoBoxShow=!0,this.isCanSlide=!1,this.$emit("fail",e),clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.reset()},800))},resetState(){this.infoBoxFail=!1,this.infoBoxShow=!1,this.isCanSlide=!1,this.isSuccess=!1,this.startWidth=this.sliderBaseSize,this.startX=0,this.newX=0},reset(){this.isSubmting||(this.resetState(),this.init())}}},Wa=["width","height"],Va=["width","height"],Ga=["width","height"],Xa=m("div",{class:"loading-gif_"},[m("span"),m("span"),m("span"),m("span"),m("span")],-1),Za=[Xa],Ya=["src"],Qa={class:"auth-control_"},Ja={class:"range-text"},Ka=m("div",null,null,-1),el=m("div",null,null,-1),tl=m("div",null,null,-1),ul=[Ka,el,tl];function nl(e,t,u,n,r,i){return L(),P("div",{class:Z(["vue-puzzle-vcode",{show_:u.show}]),onMousedown:t[5]||(t[5]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onMouseup:t[6]||(t[6]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o)),onTouchstart:t[7]||(t[7]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onTouchend:t[8]||(t[8]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o))},[m("div",{class:"vue-auth-box_ rounded-lg bg-white dark:bg-gray-800",onMousedown:t[3]||(t[3]=kn(()=>{},["stop"])),onTouchstart:t[4]||(t[4]=kn(()=>{},["stop"]))},[m("div",{class:"auth-body_",style:nt(`height: ${u.canvasHeight}px`)},[m("canvas",{ref:"canvas1",width:u.canvasWidth,height:u.canvasHeight,style:nt(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,12,Wa),m("canvas",{ref:"canvas3",class:Z(["auth-canvas3_",{show:r.isSuccess}]),width:u.canvasWidth,height:u.canvasHeight,style:nt(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,14,Va),m("canvas",{width:i.puzzleBaseSize,class:"auth-canvas2_",height:u.canvasHeight,ref:"canvas2",style:nt(`width:${i.puzzleBaseSize}px;height:${u.canvasHeight}px;transform:translateX(${i.styleWidth-i.sliderBaseSize-(i.puzzleBaseSize-i.sliderBaseSize)*((i.styleWidth-i.sliderBaseSize)/(u.canvasWidth-i.sliderBaseSize))}px)`)},null,12,Ga),m("div",{class:Z(["loading-box_",{hide_:!r.loading}])},Za,2),m("div",{class:Z(["info-box_",{show:r.infoBoxShow},{fail:r.infoBoxFail}])},N(r.infoText),3),m("div",{class:Z(["flash_",{show:r.isSuccess}]),style:nt(`transform: translateX(${r.isSuccess?`${u.canvasWidth+u.canvasHeight*.578}px`:`-${u.canvasHeight*.578}px`}) skew(-30deg, 0);`)},null,6),m("img",{class:"reset_",onClick:t[0]||(t[0]=(...o)=>i.reset&&i.reset(...o)),src:r.resetSvg},null,8,Ya)],4),m("div",Qa,[m("div",{class:"range-box bg-gray-100 dark:bg-gray-700",style:nt(`height:${i.sliderBaseSize}px`)},[m("div",Ja,N(u.sliderText),1),m("div",{class:"range-slider",ref:"range-slider",style:nt(`width:${i.styleWidth}px`)},[m("div",{class:Z(["range-btn",{isDown:r.mouseDown}]),style:nt(`width:${i.sliderBaseSize}px`),onMousedown:t[1]||(t[1]=o=>i.onRangeMouseDown(o)),onTouchstart:t[2]||(t[2]=o=>i.onRangeMouseDown(o))},ul,38)],4)],4)])],32)],34)}const Wn=Vt(Ha,[["render",nl]]),rl={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},il={class:"flex-1 flex flex-col items-center"},ol=m("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[m("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 实名认证 ")],-1),sl={class:"mt-4"},al=m("label",{for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},"姓名 ",-1),ll={class:"mt-2"},cl={class:"mt-4"},dl=m("label",{for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},"身份证号 ",-1),fl={class:"mt-2"},hl={key:0,class:"flex items-center justify-between my-3"},gl={class:"flex items-center"},pl={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},ml=me({__name:"Identity",props:{visible:{type:Boolean}},setup(e){const t=Ke(),{isMobile:u}=Je(),n=j(!1),r=$e(),i=Be(),o=M(()=>i.globalConfig),s=j({name:"",idCard:""}),a={name:[{required:!0,message:"请输入姓名",trigger:"blur"}],idCard:[{required:!0,message:"请输入身份证号",trigger:"blur"}]},l=j(!0);function c(){l.value=!0}function d(){if(l.value===!1&&o.value.isAutoOpenAgreement==="1")return t.error(`请阅读并同意《${o.value.agreementTitle}》`);n.value=!1,jo(s.value).then(h=>{h.code===200?(t.success("认证成功"),r.updateIdentityDialog(!1)):t.error("认证失败")})}return(h,p)=>h.visible?(L(),P("div",rl,[m("div",{class:Z(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":F(u),"max-w-xl":!F(u)}])},[W(F(_t),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:p[0]||(p[0]=f=>F(r).updateIdentityDialog(!1))}),m("div",il,[m("div",{class:Z(["flex w-full flex-col h-full justify-center",F(u)?"px-5 py-5":"px-10 py-5"])},[W(F(Jt),{ref:"formRef",model:s.value,rules:a,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[ol,m("div",sl,[al,m("div",ll,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":p[1]||(p[1]=f=>s.value.name=f),placeholder:"请输入姓名",class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,s.value.name]])])]),m("div",cl,[dl,m("div",fl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":p[2]||(p[2]=f=>s.value.idCard=f),placeholder:"请输入身份证号",class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,s.value.idCard]])])]),o.value.isAutoOpenAgreement==="1"?(L(),P("div",hl,[m("div",gl,[ae(m("input",{"onUpdate:modelValue":p[3]||(p[3]=f=>l.value=f),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,l.value]]),m("p",pl,[oe(" 已阅读并同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:c},"《"+N(o.value.agreementTitle)+"》",1)])])])):V("",!0),m("div",null,[m("button",{onClick:p[4]||(p[4]=f=>n.value=!0),type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 提交认证 ")])]),_:1},8,["model"])],2)])],2),W(Wn,{show:n.value,onSuccess:p[5]||(p[5]=f=>d()),onClose:p[6]||(p[6]=f=>n.value=!1),class:"bg-red-500"},null,8,["show"])])):V("",!0)}}),bl={class:"sm:mx-auto sm:w-full sm:max-w-sm"},yl={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},xl={class:"mt-4 flex"},vl=["placeholder"],_l={key:0,class:"mt-4 relative"},kl=["placeholder"],wl=["disabled","loading"],Cl={class:"rounded-lg"},Al={class:"mt-4"},El=["placeholder"],Dl={key:1,class:"flex items-center justify-between my-3"},Sl={class:"flex items-center"},Fl={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},Tl={key:2,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Il={class:"mb-8 sm:mx-auto sm:w-full sm:max-w-sm"},zl={class:"text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},Ll={class:"mt-4"},$l={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Bl={class:"mt-2"},Ml=["placeholder"],Rl={class:"mt-4"},Pl={class:"mt-2"},Nl={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ol=["placeholder"],jl={class:"flex items-center justify-between my-3"},Ul={key:0,class:"flex items-center justify-between my-3"},ql={class:"flex items-center"},Hl={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},Wl={key:0,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Vl={key:0},Gl=m("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[m("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 验证码登录 ")],-1),Xl={class:"mt-4 relative"},Zl=["placeholder"],Yl=["disabled","loading"],Ql={class:"mt-4 flex"},Jl=["placeholder"],Kl={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},e0=me({__name:"Email",emits:["changeLoginType"],setup(e,{emit:t}){const u=t,n=j(null),r=Ke(),i=j(!0),o=j(!1),s=Be(),a=j(0),l=s.globalConfig.siteName,{isMobile:c}=Je(),d=j(!1),h=j(!1),p=$e(),f=M(()=>s.globalConfig),b=j({password:"",contact:"",captchaId:null,code:""}),k=j({username:"",password:"",contact:""}),v={username:[{required:!0,message:R("login.enterUsername"),trigger:"blur"},{min:2,max:30,message:R("login.usernameLength"),trigger:"blur"}],password:[{required:!0,message:R("login.enterPassword"),trigger:"blur"},{min:6,max:30,message:R("login.passwordLength"),trigger:"blur"}],email:[{required:!0,message:R("login.enterEmail"),trigger:"blur"},{type:"email",message:R("login.emailValid"),trigger:["blur","change"]}]},y=M(()=>Number(s.globalConfig.wechatRegisterStatus)===1),x=M(()=>Number(s.globalConfig.phoneLoginStatus)===1),_=M(()=>Number(s.globalConfig.noVerifyRegister)===1),A=M(()=>Number(s.globalConfig.emailLoginStatus)===1),T=j(!0);function I(){T.value=!0,p.updateUserAgreementDialog(!0)}const w=M(()=>{if(A.value&&x.value)return R("login.emailPhone");if(A.value)return R("login.email");if(x.value)return R("login.phone")}),D=M(()=>{if(A.value&&x.value)return R("login.enterEmailOrPhone");if(A.value)return R("login.enterEmail");if(x.value)return R("login.enterPhone")});function C(){a.value>0&&setTimeout(()=>{a.value--,C()},1e3)}async function E(){var z;h.value=!1,(z=n.value)==null||z.validate(async $=>{if(!$)try{const{contact:B,captchaId:U}=b.value,J={contact:B,captchaId:U};let Y;Y=await Jo(J);const{success:se,message:ye}=Y;se?(r.success(Y.data),a.value=60,C()):r.error(ye)}catch{}})}function S(){var z;if(T.value===!1&&f.value.isAutoOpenAgreement==="1")return r.error(`请阅读并同意《${f.value.agreementTitle}》`);(z=n.value)==null||z.validate(async $=>{if(!$)try{o.value=!0;const B=i.value?Ko:es,U=i.value?{username:k.value.username,password:k.value.password}:b.value,J=await B(U);o.value=!1;const{success:Y,message:se}=J;if(!Y)return r.error(se);if(i.value)r.success(R("login.loginSuccess")),s.setToken(J.data),s.getUserInfo(),s.setLoginDialog(!1);else{r.success(R("login.registrationSuccess"));const{contact:ye,password:st}=b.value;k.value.username=ye,k.value.password=st,i.value=!i.value}}catch{o.value=!1}})}return(z,$)=>(L(),P("div",{class:Z(["flex w-full flex-col h-full justify-center",F(c)?"px-5 py-5":"px-10 py-5"])},[!i.value&&!d.value?(L(),ne(F(Jt),{key:0,ref_key:"formRef",ref:n,model:b.value,rules:v,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[m("div",bl,[m("h2",yl,N(F(l))+" "+N(F(R)("login.registerTitle")),1)]),m("div",xl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[0]||($[0]=B=>b.value.contact=B),placeholder:F(R)("login.enterContact")+w.value,class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,vl),[[_e,b.value.contact]])]),_.value?V("",!0):(L(),P("div",_l,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[1]||($[1]=B=>b.value.code=B),placeholder:F(R)("login.enterCode"),class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,kl),[[_e,b.value.code]]),_.value?V("",!0):(L(),P("button",{key:0,block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:$[2]||($[2]=B=>h.value=!0)},N(F(R)("login.sendVerificationCode")),9,wl))])),m("div",Cl,[W(Wn,{show:h.value,onSuccess:$[3]||($[3]=B=>E()),onClose:$[4]||($[4]=B=>h.value=!1),class:"bg-red-500"},null,8,["show"])]),m("div",Al,[ae(m("input",{id:"username",type:"password","onUpdate:modelValue":$[5]||($[5]=B=>b.value.password=B),placeholder:F(R)("login.enterPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,El),[[_e,b.value.password]])]),f.value.isAutoOpenAgreement==="1"?(L(),P("div",Dl,[m("div",Sl,[ae(m("input",{"onUpdate:modelValue":$[6]||($[6]=B=>T.value=B),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,T.value]]),m("p",Fl,[oe(" 已阅读并同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I},"《"+N(f.value.agreementTitle)+"》",1)])])])):V("",!0),m("div",null,[m("button",{onClick:S,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},N(F(R)("login.registerAccount")),1)]),A.value||x.value?(L(),P("p",Tl,[oe(N(F(R)("login.alreadyHaveAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[7]||($[7]=B=>i.value=!i.value)},N(F(R)("login.goToLogin")),1)])):V("",!0)]),_:1},8,["model"])):V("",!0),i.value&&!d.value?(L(),ne(F(Jt),{key:1,size:"large",ref_key:"formRef",ref:n,model:k.value,rules:v,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[m("div",Il,[m("h2",zl,N(F(l))+" 登录 ",1)]),m("div",Ll,[m("label",$l,N(w.value),1),m("div",Bl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[8]||($[8]=B=>k.value.username=B),placeholder:D.value,class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ml),[[_e,k.value.username]])])]),m("div",Rl,[m("div",Pl,[m("label",Nl,N(F(R)("login.password")),1),ae(m("input",{id:"password",type:"password","onUpdate:modelValue":$[9]||($[9]=B=>k.value.password=B),placeholder:F(R)("login.enterYourPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ol),[[_e,k.value.password]])])]),m("div",jl,[f.value.isAutoOpenAgreement==="1"?(L(),P("div",Ul,[m("div",ql,[ae(m("input",{"onUpdate:modelValue":$[10]||($[10]=B=>T.value=B),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,T.value]]),m("p",Hl,[oe(" 已阅读并同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I},"《"+N(f.value.agreementTitle)+"》",1)])])])):V("",!0)]),m("div",null,[m("button",{onClick:S,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},N(F(R)("login.loginAccount")),1)]),A.value||x.value?(L(),P("p",Wl,[oe(N(F(R)("login.noAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[11]||($[11]=B=>i.value=!i.value)},N(F(R)("login.register")),1),y.value?(L(),P("div",Vl,[oe(N(F(R)("login.orUse")),1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[12]||($[12]=B=>u("changeLoginType","wechat"))},N(F(R)("login.scanLogin")),1)])):V("",!0)])):V("",!0)]),_:1},8,["model"])):V("",!0),d.value?(L(),ne(F(Jt),{key:2,ref_key:"formRef",ref:n,model:b.value,rules:v,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[Gl,m("div",Xl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[13]||($[13]=B=>b.value.contact=B),placeholder:F(R)("login.enterContact")+w.value,class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,Zl),[[_e,b.value.contact]]),m("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:E},N(F(R)("login.sendVerificationCode")),9,Yl)]),m("div",Ql,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[14]||($[14]=B=>b.value.code=B),placeholder:F(R)("login.enterCode"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Jl),[[_e,b.value.code]])]),m("div",null,[m("button",{onClick:S,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 验证码登录 ")]),A.value||x.value?(L(),P("p",Kl,[oe(" 继续使用密码登录? "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[15]||($[15]=B=>d.value=!d.value)},"返回")])):V("",!0)]),_:1},8,["model"])):V("",!0)],2))}}),t0={class:"sm:mx-auto sm:w-full sm:max-w-sm"},u0={class:"pt-5 pb-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},n0={key:3,class:"flex items-center justify-between mt-5"},r0={class:"flex items-center"},i0={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},o0={key:4,class:"mt-3 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},s0={key:5,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},a0=me({__name:"Wechat",emits:["changeLoginType"],setup(e,{emit:t}){const u=j(),n=j(),r=t,i=j(""),o=j(""),s=j(!1),a=Ke(),l=Be(),c=j(),{isMobile:d}=Je(),h=M(()=>Number(l.globalConfig.phoneLoginStatus)===1),p=j(!0),f=$e();function b(){p.value=!0,f.updateUserAgreementDialog(!0)}const k=M(()=>l.globalConfig),v=M(()=>Number(l.globalConfig.emailLoginStatus)===1),y=M(()=>{if(v.value&&h.value)return R("login.emailPhone");if(v.value)return R("login.email");if(h.value)return R("login.phone")});function x(w){return new Promise((D,C)=>{const E=new Image;E.onload=()=>D(E),E.onerror=C,E.src=w})}async function _(){const D=await Uo({});D.success&&(o.value=D.data,T())}async function A(){if(!o.value)return;const w=await qo({sceneStr:o.value});w.data&&(clearInterval(u.value),a.success(R("login.loginSuccess")),l.setToken(w.data),l.getUserInfo(),l.setLoginDialog(!1))}async function T(){const w=await Jr({sceneStr:o.value});w.success&&(s.value=!0,await x(w.data),i.value=w.data,u.value=setInterval(()=>{A()},1e3))}function I(){var w;_(),(w=c.value)==null||w.reset()}return Fe(()=>{I(),n.value!==null&&clearInterval(n.value),n.value=setInterval(I,6e4)}),qn(()=>{u.value!==null&&clearInterval(u.value),n.value!==null&&clearInterval(n.value)}),(w,D)=>(L(),P("div",{class:Z(["w-full h-full flex flex-col items-center",F(d)?"px-10 py-10":" py-10"])},[m("div",t0,[m("h2",u0,N(F(R)("login.wechatLogin")),1)]),i.value&&(p.value||k.value.isAutoOpenAgreement!=="1")?(L(),ne(F(ii),{key:0,"preview-disabled":"",class:"w-[220px] h-[220px] select-none",src:i.value},null,8,["src"])):(L(),ne(F(Hn),{key:1,height:"220px",width:"220px",animated:""})),i.value?V("",!0):(L(),ne(F(Vu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})),k.value.isAutoOpenAgreement==="1"?(L(),P("div",n0,[m("div",r0,[ae(m("input",{"onUpdate:modelValue":D[0]||(D[0]=C=>p.value=C),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,p.value]]),m("p",i0,[oe(" 扫码登录及代表同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:b},"《"+N(k.value.agreementTitle)+"》",1)])])])):V("",!0),v.value||h.value?(L(),P("p",o0,[oe(N(F(R)("login.wechatScanFailed"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:D[1]||(D[1]=C=>r("changeLoginType","email"))},N(y.value),1)])):(L(),P("p",s0,N(F(R)("login.useWechatScan")),1))],2))}});const l0={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},c0={key:0,class:"flex items-center justify-center h-[600px]"},d0={key:1,class:"flex-1 flex flex-col items-center"},f0=me({__name:"Login",props:{visible:{type:Boolean}},setup(e){const t=Be();j(!1),j(""),j("");const u=j(null),n=j(!0),r=j("email"),{isMobile:i}=Je(),o=M(()=>Number(t.globalConfig.emailLoginStatus)===1),s=M(()=>Number(t.globalConfig.wechatRegisterStatus)===1),a=M(()=>Number(t.globalConfig.phoneLoginStatus)===1),l=M(()=>!s.value&&!a.value&&!o.value);function c(d){d==="wechat"?n.value=!0:(n.value=!1,r.value=d,uu(()=>{var h;(h=u.value)==null||h.syncBarPosition()}))}return(d,h)=>d.visible?(L(),P("div",l0,[m("div",{class:Z(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":F(i),"max-w-xl":!F(i)}])},[W(F(_t),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:h[0]||(h[0]=p=>F(t).setLoginDialog(!1))}),l.value?(L(),P("div",c0,[W(F(xs),{size:"small",status:"403",title:"网站已经关闭注册通道",description:"请联系管理员开通吧"},{footer:pe(()=>[W(F(oi),{size:"small",onClick:h[1]||(h[1]=p=>F(t).setLoginDialog(!1))},{default:pe(()=>[oe(" 知道了 ")]),_:1})]),_:1})])):(L(),P("div",d0,[s.value&&n.value?(L(),ne(a0,{key:0,onChangeLoginType:c})):(L(),ne(e0,{key:1,onChangeLoginType:c}))]))],2)])):V("",!0)}});function h0(){return Un({url:"/config/notice"})}const g0=e=>{const t=typeof e;return t!=="function"&&t!=="object"||e===null},p0=e=>{const t=e.flags===""?void 0:e.flags;return new RegExp(e.source,t)},Yt=(e,t=new WeakMap)=>{if(e===null||g0(e))return e;if(t.has(e))return t.get(e);if(e instanceof RegExp)return p0(e);if(e instanceof Date)return new Date(e.getTime());if(e instanceof Function)return e;if(e instanceof Map){const n=new Map;return t.set(e,n),e.forEach((r,i)=>{n.set(i,Yt(r,t))}),n}if(e instanceof Set){const n=new Set;t.set(e,n);for(const r of e)n.add(Yt(r,t));return n}if(Array.isArray(e)){const n=[];return t.set(e,n),e.forEach(r=>{n.push(Yt(r,t))}),n}const u={};t.set(e,u);for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(u[n]=Yt(e[n],t));return u},di=(e,t=200)=>{let u=0;return(...n)=>new Promise(r=>{u&&(clearTimeout(u),r("cancel")),u=window.setTimeout(()=>{e.apply(void 0,n),u=0,r("done")},t)})},wn=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,fr=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),fi=(e,t)=>{for(const u in t)fr(t[u])&&fr(e[u])?e[u]=fi(e[u],t[u]):e[u]=t[u];return e},q="md-editor",m0="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",b0="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",ue="https://cdnjs.cloudflare.com/ajax/libs",y0=`${ue}/highlight.js/11.8.0/highlight.min.js`,hr={main:`${ue}/prettier/2.8.0/standalone.js`,markdown:`${ue}/prettier/2.8.0/parser-markdown.js`},x0={css:`${ue}/cropperjs/1.5.13/cropper.min.css`,js:`${ue}/cropperjs/1.5.13/cropper.min.js`},v0=`${ue}/screenfull.js/5.2.0/screenfull.min.js`,_0=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],k0=["markdownTotal","=","scrollSwitch"],gr={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},w0=`${ue}/mermaid/10.6.1/mermaid.esm.min.mjs`,C0={js:`${ue}/KaTeX/0.16.9/katex.min.js`,css:`${ue}/KaTeX/0.16.9/katex.min.css`},Cn={a11y:{light:`${ue}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${ue}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${ue}/highlight.js/11.8.0/styles/github.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${ue}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${ue}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${ue}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${ue}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${ue}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},Qe={editorExtensions:{highlight:{js:y0,css:Cn},prettier:{standaloneJs:hr.main,parserMarkdownJs:hr.markdown},cropper:{...x0},iconfont:m0,iconfontClass:b0,screenfull:{js:v0},mermaid:{js:w0},katex:{...C0}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(e,t)=>t,markdownItConfig:()=>{},markdownItPlugins:e=>e,iconfontType:"svg",mermaidConfig:e=>e};var A0=Object.defineProperty,E0=(e,t,u)=>t in e?A0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u,D0=(e,t,u)=>(E0(e,typeof t!="symbol"?t+"":t,u),u);class S0{constructor(){D0(this,"pools",{})}remove(t,u,n){const i=this.pools[t]&&this.pools[t][u];i&&(this.pools[t][u]=i.filter(o=>o!==n))}clear(t){this.pools[t]={}}on(t,u){return this.pools[t]||(this.pools[t]={}),this.pools[t][u.name]||(this.pools[t][u.name]=[]),this.pools[t][u.name].push(u.callback),this.pools[t][u.name].includes(u.callback)}emit(t,u,...n){this.pools[t]||(this.pools[t]={});const i=this.pools[t][u];i&&i.forEach(o=>{try{o(...n)}catch(s){console.error(`${u} monitor event exception!`,s)}})}}const ht=new S0,F0="buildFinished",ln="catalogChanged",T0="pushCatalog",hi="rerender",ot=(e,t,u="")=>{var n;const r=document.getElementById(t.id);if(r)u!==""&&(Reflect.get(window,u)?(n=t.onload)==null||n.call(r,new Event("load")):t.onload&&r.addEventListener("load",t.onload));else{const i={...t};i.onload=null;const o=z0(e,i);t.onload&&o.addEventListener("load",t.onload),document.head.appendChild(o)}},I0=(e,t)=>{const u=document.getElementById(t.id);u==null||u.remove(),ot(e,t)},z0=(e,t)=>{const u=document.createElement(e);return Object.keys(t).forEach(n=>{t[n]!==void 0&&(u[n]=t[n])}),u},L0=e=>{if(!e)return e;const t=e.split(`
|
||
`),u=['<span rn-wrapper aria-hidden="true">'];return t.forEach(()=>{u.push("<span></span>")}),u.push("</span>"),`<span class="${q}-code-block">${e}</span>${u.join("")}`},$0=(()=>{let e=0;return t=>t+ ++e})();/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var wt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var u=arguments[t];for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&(e[n]=u[n])}return e},_u=function(t){return t.tagName==="IMG"},B0=function(t){return NodeList.prototype.isPrototypeOf(t)},Fu=function(t){return t&&t.nodeType===1},pr=function(t){var u=t.currentSrc||t.src;return u.substr(-4).toLowerCase()===".svg"},mr=function(t){try{return Array.isArray(t)?t.filter(_u):B0(t)?[].slice.call(t).filter(_u):Fu(t)?[t].filter(_u):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(_u):[]}catch{throw new TypeError(`The provided selector is invalid.
|
||
Expects a CSS selector, a Node element, a NodeList or an array.
|
||
See: https://github.com/francoischalifour/medium-zoom`)}},M0=function(t){var u=document.createElement("div");return u.classList.add("medium-zoom-overlay"),u.style.background=t,u},R0=function(t){var u=t.getBoundingClientRect(),n=u.top,r=u.left,i=u.width,o=u.height,s=t.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return s.removeAttribute("id"),s.style.position="absolute",s.style.top=n+a+"px",s.style.left=r+l+"px",s.style.width=i+"px",s.style.height=o+"px",s.style.transform="",s},Ft=function(t,u){var n=wt({bubbles:!1,cancelable:!1,detail:void 0},u);if(typeof window.CustomEvent=="function")return new CustomEvent(t,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r},P0=function e(t){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(S){function z(){}S(z,z)},r=function(S){var z=S.target;if(z===D){f();return}x.indexOf(z)!==-1&&b({target:z})},i=function(){if(!(A||!w.original)){var S=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(T-S)>I.scrollOffset&&setTimeout(f,150)}},o=function(S){var z=S.key||S.keyCode;(z==="Escape"||z==="Esc"||z===27)&&f()},s=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=S;if(S.background&&(D.style.background=S.background),S.container&&S.container instanceof Object&&(z.container=wt({},I.container,S.container)),S.template){var $=Fu(S.template)?S.template:document.querySelector(S.template);z.template=$}return I=wt({},I,z),x.forEach(function(B){B.dispatchEvent(Ft("medium-zoom:update",{detail:{zoom:C}}))}),C},a=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(wt({},I,S))},l=function(){for(var S=arguments.length,z=Array(S),$=0;$<S;$++)z[$]=arguments[$];var B=z.reduce(function(U,J){return[].concat(U,mr(J))},[]);return B.filter(function(U){return x.indexOf(U)===-1}).forEach(function(U){x.push(U),U.classList.add("medium-zoom-image")}),_.forEach(function(U){var J=U.type,Y=U.listener,se=U.options;B.forEach(function(ye){ye.addEventListener(J,Y,se)})}),C},c=function(){for(var S=arguments.length,z=Array(S),$=0;$<S;$++)z[$]=arguments[$];w.zoomed&&f();var B=z.length>0?z.reduce(function(U,J){return[].concat(U,mr(J))},[]):x;return B.forEach(function(U){U.classList.remove("medium-zoom-image"),U.dispatchEvent(Ft("medium-zoom:detach",{detail:{zoom:C}}))}),x=x.filter(function(U){return B.indexOf(U)===-1}),C},d=function(S,z){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return x.forEach(function(B){B.addEventListener("medium-zoom:"+S,z,$)}),_.push({type:"medium-zoom:"+S,listener:z,options:$}),C},h=function(S,z){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return x.forEach(function(B){B.removeEventListener("medium-zoom:"+S,z,$)}),_=_.filter(function(B){return!(B.type==="medium-zoom:"+S&&B.listener.toString()===z.toString())}),C},p=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=S.target,$=function(){var U={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},J=void 0,Y=void 0;if(I.container)if(I.container instanceof Object)U=wt({},U,I.container),J=U.width-U.left-U.right-I.margin*2,Y=U.height-U.top-U.bottom-I.margin*2;else{var se=Fu(I.container)?I.container:document.querySelector(I.container),ye=se.getBoundingClientRect(),st=ye.width,un=ye.height,nn=ye.left,Do=ye.top;U=wt({},U,{width:st,height:un,left:nn,top:Do})}J=J||U.width-I.margin*2,Y=Y||U.height-I.margin*2;var Xt=w.zoomedHd||w.original,So=pr(Xt)?J:Xt.naturalWidth||J,Fo=pr(Xt)?Y:Xt.naturalHeight||Y,xu=Xt.getBoundingClientRect(),To=xu.top,Io=xu.left,rn=xu.width,on=xu.height,zo=Math.min(Math.max(rn,So),J)/rn,Lo=Math.min(Math.max(on,Fo),Y)/on,sn=Math.min(zo,Lo),$o=(-Io+(J-rn)/2+I.margin+U.left)/sn,Bo=(-To+(Y-on)/2+I.margin+U.top)/sn,lr="scale("+sn+") translate3d("+$o+"px, "+Bo+"px, 0)";w.zoomed.style.transform=lr,w.zoomedHd&&(w.zoomedHd.style.transform=lr)};return new n(function(B){if(z&&x.indexOf(z)===-1){B(C);return}var U=function st(){A=!1,w.zoomed.removeEventListener("transitionend",st),w.original.dispatchEvent(Ft("medium-zoom:opened",{detail:{zoom:C}})),B(C)};if(w.zoomed){B(C);return}if(z)w.original=z;else if(x.length>0){var J=x;w.original=J[0]}else{B(C);return}if(w.original.dispatchEvent(Ft("medium-zoom:open",{detail:{zoom:C}})),T=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,A=!0,w.zoomed=R0(w.original),document.body.appendChild(D),I.template){var Y=Fu(I.template)?I.template:document.querySelector(I.template);w.template=document.createElement("div"),w.template.appendChild(Y.content.cloneNode(!0)),document.body.appendChild(w.template)}if(w.original.parentElement&&w.original.parentElement.tagName==="PICTURE"&&w.original.currentSrc&&(w.zoomed.src=w.original.currentSrc),document.body.appendChild(w.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),w.original.classList.add("medium-zoom-image--hidden"),w.zoomed.classList.add("medium-zoom-image--opened"),w.zoomed.addEventListener("click",f),w.zoomed.addEventListener("transitionend",U),w.original.getAttribute("data-zoom-src")){w.zoomedHd=w.zoomed.cloneNode(),w.zoomedHd.removeAttribute("srcset"),w.zoomedHd.removeAttribute("sizes"),w.zoomedHd.removeAttribute("loading"),w.zoomedHd.src=w.zoomed.getAttribute("data-zoom-src"),w.zoomedHd.onerror=function(){clearInterval(se),console.warn("Unable to reach the zoom image target "+w.zoomedHd.src),w.zoomedHd=null,$()};var se=setInterval(function(){w.zoomedHd.complete&&(clearInterval(se),w.zoomedHd.classList.add("medium-zoom-image--opened"),w.zoomedHd.addEventListener("click",f),document.body.appendChild(w.zoomedHd),$())},10)}else if(w.original.hasAttribute("srcset")){w.zoomedHd=w.zoomed.cloneNode(),w.zoomedHd.removeAttribute("sizes"),w.zoomedHd.removeAttribute("loading");var ye=w.zoomedHd.addEventListener("load",function(){w.zoomedHd.removeEventListener("load",ye),w.zoomedHd.classList.add("medium-zoom-image--opened"),w.zoomedHd.addEventListener("click",f),document.body.appendChild(w.zoomedHd),$()})}else $()})},f=function(){return new n(function(S){if(A||!w.original){S(C);return}var z=function $(){w.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(w.zoomed),w.zoomedHd&&document.body.removeChild(w.zoomedHd),document.body.removeChild(D),w.zoomed.classList.remove("medium-zoom-image--opened"),w.template&&document.body.removeChild(w.template),A=!1,w.zoomed.removeEventListener("transitionend",$),w.original.dispatchEvent(Ft("medium-zoom:closed",{detail:{zoom:C}})),w.original=null,w.zoomed=null,w.zoomedHd=null,w.template=null,S(C)};A=!0,document.body.classList.remove("medium-zoom--opened"),w.zoomed.style.transform="",w.zoomedHd&&(w.zoomedHd.style.transform=""),w.template&&(w.template.style.transition="opacity 150ms",w.template.style.opacity=0),w.original.dispatchEvent(Ft("medium-zoom:close",{detail:{zoom:C}})),w.zoomed.addEventListener("transitionend",z)})},b=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=S.target;return w.original?f():p({target:z})},k=function(){return I},v=function(){return x},y=function(){return w.original},x=[],_=[],A=!1,T=0,I=u,w={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?I=t:(t||typeof t=="string")&&l(t),I=wt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},I);var D=M0(I.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",i),window.addEventListener("resize",f);var C={open:p,close:f,toggle:b,update:s,clone:a,attach:l,detach:c,on:d,off:h,getOptions:k,getImages:v,getZoomedImage:y};return C};function N0(e,t){t===void 0&&(t={});var u=t.insertAt;if(!(!e||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",u==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var O0=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";N0(O0);const j0=P0;var U0=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,u=[],n=0;n<e.rangeCount;n++)u.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||u.forEach(function(r){e.addRange(r)}),t&&t.focus()}},q0=U0,br={"text/plain":"Text","text/html":"Url",default:"Text"},H0="Copy to clipboard: #{key}, Enter";function W0(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function V0(e,t){var u,n,r,i,o,s,a=!1;t||(t={}),u=t.debug||!1;try{r=q0(),i=document.createRange(),o=document.getSelection(),s=document.createElement("span"),s.textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(c){if(c.stopPropagation(),t.format)if(c.preventDefault(),typeof c.clipboardData>"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=br[t.format]||br.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(s),i.selectNodeContents(s),o.addRange(i);var l=document.execCommand("copy");if(!l)throw new Error("copy command was unsuccessful");a=!0}catch(c){u&&console.error("unable to copy using execCommand: ",c),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),a=!0}catch(d){u&&console.error("unable to copy using clipboardData: ",d),u&&console.error("falling back to prompt"),n=W0("message"in t?t.message:H0),window.prompt(n,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),s&&document.body.removeChild(s),r()}return a}var G0=V0;const X0=si(G0),yr={};function Z0(e){let t=yr[e];if(t)return t;t=yr[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);t.push(n)}for(let u=0;u<e.length;u++){const n=e.charCodeAt(u);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function Ot(e,t){typeof t!="string"&&(t=Ot.defaultChars);const u=Z0(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let r="";for(let i=0,o=n.length;i<o;i+=3){const s=parseInt(n.slice(i+1,i+3),16);if(s<128){r+=u[s];continue}if((s&224)===192&&i+3<o){const a=parseInt(n.slice(i+4,i+6),16);if((a&192)===128){const l=s<<6&1984|a&63;l<128?r+="<22><>":r+=String.fromCharCode(l),i+=3;continue}}if((s&240)===224&&i+6<o){const a=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16);if((a&192)===128&&(l&192)===128){const c=s<<12&61440|a<<6&4032|l&63;c<2048||c>=55296&&c<=57343?r+="<22><><EFBFBD>":r+=String.fromCharCode(c),i+=6;continue}}if((s&248)===240&&i+9<o){const a=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16),c=parseInt(n.slice(i+10,i+12),16);if((a&192)===128&&(l&192)===128&&(c&192)===128){let d=s<<18&1835008|a<<12&258048|l<<6&4032|c&63;d<65536||d>1114111?r+="<22><><EFBFBD><EFBFBD>":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),i+=9;continue}}r+="<22>"}return r})}Ot.defaultChars=";/?:@&=+$,#";Ot.componentChars="";const xr={};function Y0(e){let t=xr[e];if(t)return t;t=xr[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+u.toString(16).toUpperCase()).slice(-2))}for(let u=0;u<e.length;u++)t[e.charCodeAt(u)]=e[u];return t}function gu(e,t,u){typeof t!="string"&&(u=t,t=gu.defaultChars),typeof u>"u"&&(u=!0);const n=Y0(t);let r="";for(let i=0,o=e.length;i<o;i++){const s=e.charCodeAt(i);if(u&&s===37&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){r+=e.slice(i,i+3),i+=2;continue}if(s<128){r+=n[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<o){const a=e.charCodeAt(i+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}gu.defaultChars=";/?:@&=+$,-_.!~*'()#";gu.componentChars="-_.!~*'()";function Vn(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Mu(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Q0=/^([a-z0-9.+-]+:)/i,J0=/:[0-9]*$/,K0=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ec=["<",">",'"',"`"," ","\r",`
|
||
`," "],tc=["{","}","|","\\","^","`"].concat(ec),uc=["'"].concat(tc),vr=["%","/","?",";","#"].concat(uc),_r=["/","?","#"],nc=255,kr=/^[+a-z0-9A-Z_-]{0,63}$/,rc=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,wr={javascript:!0,"javascript:":!0},Cr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Gn(e,t){if(e&&e instanceof Mu)return e;const u=new Mu;return u.parse(e,t),u}Mu.prototype.parse=function(e,t){let u,n,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const l=K0.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let o=Q0.exec(i);if(o&&(o=o[0],u=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(t||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(o&&wr[o])&&(i=i.substr(2),this.slashes=!0)),!wr[o]&&(r||o&&!Cr[o])){let l=-1;for(let f=0;f<_r.length;f++)n=i.indexOf(_r[f]),n!==-1&&(l===-1||n<l)&&(l=n);let c,d;l===-1?d=i.lastIndexOf("@"):d=i.lastIndexOf("@",l),d!==-1&&(c=i.slice(0,d),i=i.slice(d+1),this.auth=c),l=-1;for(let f=0;f<vr.length;f++)n=i.indexOf(vr[f]),n!==-1&&(l===-1||n<l)&&(l=n);l===-1&&(l=i.length),i[l-1]===":"&&l--;const h=i.slice(0,l);i=i.slice(l),this.parseHost(h),this.hostname=this.hostname||"";const p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){const f=this.hostname.split(/\./);for(let b=0,k=f.length;b<k;b++){const v=f[b];if(v&&!v.match(kr)){let y="";for(let x=0,_=v.length;x<_;x++)v.charCodeAt(x)>127?y+="x":y+=v[x];if(!y.match(kr)){const x=f.slice(0,b),_=f.slice(b+1),A=v.match(rc);A&&(x.push(A[1]),_.unshift(A[2])),_.length&&(i=_.join(".")+i),this.hostname=x.join(".");break}}}}this.hostname.length>nc&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=i.indexOf("#");s!==-1&&(this.hash=i.substr(s),i=i.slice(0,s));const a=i.indexOf("?");return a!==-1&&(this.search=i.substr(a),i=i.slice(0,a)),i&&(this.pathname=i),Cr[u]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Mu.prototype.parseHost=function(e){let t=J0.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const ic=Object.freeze(Object.defineProperty({__proto__:null,decode:Ot,encode:gu,format:Vn,parse:Gn},Symbol.toStringTag,{value:"Module"})),gi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,pi=/[\0-\x1F\x7F-\x9F]/,oc=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Xn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,mi=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,bi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,sc=Object.freeze(Object.defineProperty({__proto__:null,Any:gi,Cc:pi,Cf:oc,P:Xn,S:mi,Z:bi},Symbol.toStringTag,{value:"Module"})),ac=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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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(e=>e.charCodeAt(0))),lc=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var cn;const cc=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]]),dc=(cn=String.fromCodePoint)!==null&&cn!==void 0?cn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function fc(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=cc.get(e))!==null&&t!==void 0?t:e}var ge;(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"})(ge||(ge={}));const hc=32;var yt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(yt||(yt={}));function An(e){return e>=ge.ZERO&&e<=ge.NINE}function gc(e){return e>=ge.UPPER_A&&e<=ge.UPPER_F||e>=ge.LOWER_A&&e<=ge.LOWER_F}function pc(e){return e>=ge.UPPER_A&&e<=ge.UPPER_Z||e>=ge.LOWER_A&&e<=ge.LOWER_Z||An(e)}function mc(e){return e===ge.EQUALS||pc(e)}var de;(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"})(de||(de={}));var mt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(mt||(mt={}));class bc{constructor(t,u,n){this.decodeTree=t,this.emitCodePoint=u,this.errors=n,this.state=de.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=mt.Strict}startEntity(t){this.decodeMode=t,this.state=de.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,u){switch(this.state){case de.EntityStart:return t.charCodeAt(u)===ge.NUM?(this.state=de.NumericStart,this.consumed+=1,this.stateNumericStart(t,u+1)):(this.state=de.NamedEntity,this.stateNamedEntity(t,u));case de.NumericStart:return this.stateNumericStart(t,u);case de.NumericDecimal:return this.stateNumericDecimal(t,u);case de.NumericHex:return this.stateNumericHex(t,u);case de.NamedEntity:return this.stateNamedEntity(t,u)}}stateNumericStart(t,u){return u>=t.length?-1:(t.charCodeAt(u)|hc)===ge.LOWER_X?(this.state=de.NumericHex,this.consumed+=1,this.stateNumericHex(t,u+1)):(this.state=de.NumericDecimal,this.stateNumericDecimal(t,u))}addToNumericResult(t,u,n,r){if(u!==n){const i=n-u;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(u,i),r),this.consumed+=i}}stateNumericHex(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(An(r)||gc(r))u+=1;else return this.addToNumericResult(t,n,u,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,n,u,16),-1}stateNumericDecimal(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(An(r))u+=1;else return this.addToNumericResult(t,n,u,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,n,u,10),-1}emitNumericEntity(t,u){var n;if(this.consumed<=u)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ge.SEMI)this.consumed+=1;else if(this.decodeMode===mt.Strict)return 0;return this.emitCodePoint(fc(this.result),this.consumed),this.errors&&(t!==ge.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,u){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&yt.VALUE_LENGTH)>>14;for(;u<t.length;u++,this.excess++){const o=t.charCodeAt(u);if(this.treeIndex=yc(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===mt.Attribute&&(i===0||mc(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&yt.VALUE_LENGTH)>>14,i!==0){if(o===ge.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==mt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:u,decodeTree:n}=this,r=(n[u]&yt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(u,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,u,n){const{decodeTree:r}=this;return this.emitCodePoint(u===1?r[t]&~yt.VALUE_LENGTH:r[t+1],n),u===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case de.NamedEntity:return this.result!==0&&(this.decodeMode!==mt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case de.NumericDecimal:return this.emitNumericEntity(0,2);case de.NumericHex:return this.emitNumericEntity(0,3);case de.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case de.EntityStart:return 0}}}function yi(e){let t="";const u=new bc(e,n=>t+=dc(n));return function(r,i){let o=0,s=0;for(;(s=r.indexOf("&",s))>=0;){t+=r.slice(o,s),u.startEntity(i);const l=u.write(r,s+1);if(l<0){o=s+u.end();break}o=s+l,s=l===0?o+1:o}const a=t+r.slice(o);return t="",a}}function yc(e,t,u,n){const r=(t&yt.BRANCH_LENGTH)>>7,i=t&yt.JUMP_TABLE;if(r===0)return i!==0&&n===i?u:-1;if(i){const a=n-i;return a<0||a>=r?-1:e[u+a]-1}let o=u,s=o+r-1;for(;o<=s;){const a=o+s>>>1,l=e[a];if(l<n)o=a+1;else if(l>n)s=a-1;else return e[a+r]}return-1}const xc=yi(ac);yi(lc);function xi(e,t=mt.Legacy){return xc(e,t)}function vc(e){return Object.prototype.toString.call(e)}function Zn(e){return vc(e)==="[object String]"}const _c=Object.prototype.hasOwnProperty;function kc(e,t){return _c.call(e,t)}function Gu(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){if(u){if(typeof u!="object")throw new TypeError(u+"must be object");Object.keys(u).forEach(function(n){e[n]=u[n]})}}),e}function vi(e,t,u){return[].concat(e.slice(0,t),u,e.slice(t+1))}function Yn(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Ru(e){if(e>65535){e-=65536;const t=55296+(e>>10),u=56320+(e&1023);return String.fromCharCode(t,u)}return String.fromCharCode(e)}const _i=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,wc=/&([a-z#][a-z0-9]{1,31});/gi,Cc=new RegExp(_i.source+"|"+wc.source,"gi"),Ac=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Ec(e,t){if(t.charCodeAt(0)===35&&Ac.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Yn(n)?Ru(n):e}const u=xi(e);return u!==e?u:e}function Dc(e){return e.indexOf("\\")<0?e:e.replace(_i,"$1")}function jt(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Cc,function(t,u,n){return u||Ec(t,n)})}const Sc=/[&<>"]/,Fc=/[&<>"]/g,Tc={"&":"&","<":"<",">":">",'"':"""};function Ic(e){return Tc[e]}function vt(e){return Sc.test(e)?e.replace(Fc,Ic):e}const zc=/[.?*+^$[\]\\(){}|-]/g;function Lc(e){return e.replace(zc,"\\$&")}function K(e){switch(e){case 9:case 32:return!0}return!1}function nu(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ru(e){return Xn.test(e)||mi.test(e)}function iu(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Xu(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const $c={mdurl:ic,ucmicro:sc},Bc=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:vi,assign:Gu,escapeHtml:vt,escapeRE:Lc,fromCodePoint:Ru,has:kc,isMdAsciiPunct:iu,isPunctChar:ru,isSpace:K,isString:Zn,isValidEntityCode:Yn,isWhiteSpace:nu,lib:$c,normalizeReference:Xu,unescapeAll:jt,unescapeMd:Dc},Symbol.toStringTag,{value:"Module"}));function Mc(e,t,u){let n,r,i,o;const s=e.posMax,a=e.pos;for(e.pos=t+1,n=1;e.pos<s;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){r=!0;break}if(o=e.pos,e.md.inline.skipToken(e),i===91){if(o===e.pos-1)n++;else if(u)return e.pos=a,-1}}let l=-1;return r&&(l=e.pos),e.pos=a,l}function Rc(e,t,u){let n,r=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<u;){if(n=e.charCodeAt(r),n===10||n===60)return i;if(n===62)return i.pos=r+1,i.str=jt(e.slice(t+1,r)),i.ok=!0,i;if(n===92&&r+1<u){r+=2;continue}r++}return i}let o=0;for(;r<u&&(n=e.charCodeAt(r),!(n===32||n<32||n===127));){if(n===92&&r+1<u){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(n===40&&(o++,o>32))return i;if(n===41){if(o===0)break;o--}r++}return t===r||o!==0||(i.str=jt(e.slice(t,r)),i.pos=r,i.ok=!0),i}function Pc(e,t,u,n){let r,i=t;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(i>=u)return o;let s=e.charCodeAt(i);if(s!==34&&s!==39&&s!==40)return o;t++,i++,s===40&&(s=41),o.marker=s}for(;i<u;){if(r=e.charCodeAt(i),r===o.marker)return o.pos=i+1,o.str+=jt(e.slice(t,i)),o.ok=!0,o;if(r===40&&o.marker===41)return o;r===92&&i+1<u&&i++,i++}return o.can_continue=!0,o.str+=jt(e.slice(t,i)),o}const Nc=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:Rc,parseLinkLabel:Mc,parseLinkTitle:Pc},Symbol.toStringTag,{value:"Module"})),et={};et.code_inline=function(e,t,u,n,r){const i=e[t];return"<code"+r.renderAttrs(i)+">"+vt(i.content)+"</code>"};et.code_block=function(e,t,u,n,r){const i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+vt(e[t].content)+`</code></pre>
|
||
`};et.fence=function(e,t,u,n,r){const i=e[t],o=i.info?jt(i.info).trim():"";let s="",a="";if(o){const c=o.split(/(\s+)/g);s=c[0],a=c.slice(2).join("")}let l;if(u.highlight?l=u.highlight(i.content,s,a)||vt(i.content):l=vt(i.content),l.indexOf("<pre")===0)return l+`
|
||
`;if(o){const c=i.attrIndex("class"),d=i.attrs?i.attrs.slice():[];c<0?d.push(["class",u.langPrefix+s]):(d[c]=d[c].slice(),d[c][1]+=" "+u.langPrefix+s);const h={attrs:d};return`<pre><code${r.renderAttrs(h)}>${l}</code></pre>
|
||
`}return`<pre><code${r.renderAttrs(i)}>${l}</code></pre>
|
||
`};et.image=function(e,t,u,n,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,u,n),r.renderToken(e,t,u)};et.hardbreak=function(e,t,u){return u.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`};et.softbreak=function(e,t,u){return u.breaks?u.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`};et.text=function(e,t){return vt(e[t].content)};et.html_block=function(e,t){return e[t].content};et.html_inline=function(e,t){return e[t].content};function Gt(){this.rules=Gu({},et)}Gt.prototype.renderAttrs=function(t){let u,n,r;if(!t.attrs)return"";for(r="",u=0,n=t.attrs.length;u<n;u++)r+=" "+vt(t.attrs[u][0])+'="'+vt(t.attrs[u][1])+'"';return r};Gt.prototype.renderToken=function(t,u,n){const r=t[u];let i="";if(r.hidden)return"";r.block&&r.nesting!==-1&&u&&t[u-1].hidden&&(i+=`
|
||
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,r.nesting===1&&u+1<t.length)){const s=t[u+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===r.tag)&&(o=!1)}return i+=o?`>
|
||
`:">",i};Gt.prototype.renderInline=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i<o;i++){const s=e[i].type;typeof r[s]<"u"?n+=r[s](e,i,t,u,this):n+=this.renderToken(e,i,t)}return n};Gt.prototype.renderInlineAsText=function(e,t,u){let n="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":n+=e[r].content;break;case"image":n+=this.renderInlineAsText(e[r].children,t,u);break;case"html_inline":case"html_block":n+=e[r].content;break;case"softbreak":case"hardbreak":n+=`
|
||
`;break}return n};Gt.prototype.render=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i<o;i++){const s=e[i].type;s==="inline"?n+=this.renderInline(e[i].children,t,u):typeof r[s]<"u"?n+=r[s](e,i,t,u,this):n+=this.renderToken(e,i,t,u)}return n};function Ce(){this.__rules__=[],this.__cache__=null}Ce.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Ce.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(u){u.enabled&&u.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(u){e.__cache__[u]=[],e.__rules__.forEach(function(n){n.enabled&&(u&&n.alt.indexOf(u)<0||e.__cache__[u].push(n.fn))})})};Ce.prototype.at=function(e,t,u){const n=this.__find__(e),r=u||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null};Ce.prototype.before=function(e,t,u,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:u,alt:i.alt||[]}),this.__cache__=null};Ce.prototype.after=function(e,t,u,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:u,alt:i.alt||[]}),this.__cache__=null};Ce.prototype.push=function(e,t,u){const n=u||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null};Ce.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const u=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!0,u.push(n)},this),this.__cache__=null,u};Ce.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(u){u.enabled=!1}),this.enable(e,t)};Ce.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const u=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!1,u.push(n)},this),this.__cache__=null,u};Ce.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function He(e,t,u){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=u,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}He.prototype.attrIndex=function(t){if(!this.attrs)return-1;const u=this.attrs;for(let n=0,r=u.length;n<r;n++)if(u[n][0]===t)return n;return-1};He.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};He.prototype.attrSet=function(t,u){const n=this.attrIndex(t),r=[t,u];n<0?this.attrPush(r):this.attrs[n]=r};He.prototype.attrGet=function(t){const u=this.attrIndex(t);let n=null;return u>=0&&(n=this.attrs[u][1]),n};He.prototype.attrJoin=function(t,u){const n=this.attrIndex(t);n<0?this.attrPush([t,u]):this.attrs[n][1]=this.attrs[n][1]+" "+u};function ki(e,t,u){this.src=e,this.env=u,this.tokens=[],this.inlineMode=!1,this.md=t}ki.prototype.Token=He;const Oc=/\r\n?|\n/g,jc=/\0/g;function Uc(e){let t;t=e.src.replace(Oc,`
|
||
`),t=t.replace(jc,"<22>"),e.src=t}function qc(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Hc(e){const t=e.tokens;for(let u=0,n=t.length;u<n;u++){const r=t[u];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Wc(e){return/^<a[>\s]/i.test(e)}function Vc(e){return/^<\/a\s*>/i.test(e)}function Gc(e){const t=e.tokens;if(e.md.options.linkify)for(let u=0,n=t.length;u<n;u++){if(t[u].type!=="inline"||!e.md.linkify.pretest(t[u].content))continue;let r=t[u].children,i=0;for(let o=r.length-1;o>=0;o--){const s=r[o];if(s.type==="link_close"){for(o--;r[o].level!==s.level&&r[o].type!=="link_open";)o--;continue}if(s.type==="html_inline"&&(Wc(s.content)&&i>0&&i--,Vc(s.content)&&i++),!(i>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const a=s.content;let l=e.md.linkify.match(a);const c=[];let d=s.level,h=0;l.length>0&&l[0].index===0&&o>0&&r[o-1].type==="text_special"&&(l=l.slice(1));for(let p=0;p<l.length;p++){const f=l[p].url,b=e.md.normalizeLink(f);if(!e.md.validateLink(b))continue;let k=l[p].text;l[p].schema?l[p].schema==="mailto:"&&!/^mailto:/i.test(k)?k=e.md.normalizeLinkText("mailto:"+k).replace(/^mailto:/,""):k=e.md.normalizeLinkText(k):k=e.md.normalizeLinkText("http://"+k).replace(/^http:\/\//,"");const v=l[p].index;if(v>h){const A=new e.Token("text","",0);A.content=a.slice(h,v),A.level=d,c.push(A)}const y=new e.Token("link_open","a",1);y.attrs=[["href",b]],y.level=d++,y.markup="linkify",y.info="auto",c.push(y);const x=new e.Token("text","",0);x.content=k,x.level=d,c.push(x);const _=new e.Token("link_close","a",-1);_.level=--d,_.markup="linkify",_.info="auto",c.push(_),h=l[p].lastIndex}if(h<a.length){const p=new e.Token("text","",0);p.content=a.slice(h),p.level=d,c.push(p)}t[u].children=r=vi(r,o,c)}}}}const wi=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Xc=/\((c|tm|r)\)/i,Zc=/\((c|tm|r)\)/ig,Yc={c:"©",r:"®",tm:"™"};function Qc(e,t){return Yc[t.toLowerCase()]}function Jc(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&(n.content=n.content.replace(Zc,Qc)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Kc(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&wi.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function ed(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Xc.test(e.tokens[t].content)&&Jc(e.tokens[t].children),wi.test(e.tokens[t].content)&&Kc(e.tokens[t].children))}const td=/['"]/,Ar=/['"]/g,Er="’";function ku(e,t,u){return e.slice(0,t)+u+e.slice(t+1)}function ud(e,t){let u;const n=[];for(let r=0;r<e.length;r++){const i=e[r],o=e[r].level;for(u=n.length-1;u>=0&&!(n[u].level<=o);u--);if(n.length=u+1,i.type!=="text")continue;let s=i.content,a=0,l=s.length;e:for(;a<l;){Ar.lastIndex=a;const c=Ar.exec(s);if(!c)break;let d=!0,h=!0;a=c.index+1;const p=c[0]==="'";let f=32;if(c.index-1>=0)f=s.charCodeAt(c.index-1);else for(u=r-1;u>=0&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u--)if(e[u].content){f=e[u].content.charCodeAt(e[u].content.length-1);break}let b=32;if(a<l)b=s.charCodeAt(a);else for(u=r+1;u<e.length&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u++)if(e[u].content){b=e[u].content.charCodeAt(0);break}const k=iu(f)||ru(String.fromCharCode(f)),v=iu(b)||ru(String.fromCharCode(b)),y=nu(f),x=nu(b);if(x?d=!1:v&&(y||k||(d=!1)),y?h=!1:k&&(x||v||(h=!1)),b===34&&c[0]==='"'&&f>=48&&f<=57&&(h=d=!1),d&&h&&(d=k,h=v),!d&&!h){p&&(i.content=ku(i.content,c.index,Er));continue}if(h)for(u=n.length-1;u>=0;u--){let _=n[u];if(n[u].level<o)break;if(_.single===p&&n[u].level===o){_=n[u];let A,T;p?(A=t.md.options.quotes[2],T=t.md.options.quotes[3]):(A=t.md.options.quotes[0],T=t.md.options.quotes[1]),i.content=ku(i.content,c.index,T),e[_.token].content=ku(e[_.token].content,_.pos,A),a+=T.length-1,_.token===r&&(a+=A.length-1),s=i.content,l=s.length,n.length=u;continue e}}d?n.push({token:r,pos:c.index,single:p,level:o}):h&&p&&(i.content=ku(i.content,c.index,Er))}}}function nd(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!td.test(e.tokens[t].content)||ud(e.tokens[t].children,e)}function rd(e){let t,u;const n=e.tokens,r=n.length;for(let i=0;i<r;i++){if(n[i].type!=="inline")continue;const o=n[i].children,s=o.length;for(t=0;t<s;t++)o[t].type==="text_special"&&(o[t].type="text");for(t=u=0;t<s;t++)o[t].type==="text"&&t+1<s&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==u&&(o[u]=o[t]),u++);t!==u&&(o.length=u)}}const dn=[["normalize",Uc],["block",qc],["inline",Hc],["linkify",Gc],["replacements",ed],["smartquotes",nd],["text_join",rd]];function Qn(){this.ruler=new Ce;for(let e=0;e<dn.length;e++)this.ruler.push(dn[e][0],dn[e][1])}Qn.prototype.process=function(e){const t=this.ruler.getRules("");for(let u=0,n=t.length;u<n;u++)t[u](e)};Qn.prototype.State=ki;function tt(e,t,u,n){this.src=e,this.md=t,this.env=u,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let i=0,o=0,s=0,a=0,l=r.length,c=!1;o<l;o++){const d=r.charCodeAt(o);if(!c)if(K(d)){s++,d===9?a+=4-a%4:a++;continue}else c=!0;(d===10||o===l-1)&&(d!==10&&o++,this.bMarks.push(i),this.eMarks.push(o),this.tShift.push(s),this.sCount.push(a),this.bsCount.push(0),c=!1,s=0,a=0,i=o+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}tt.prototype.push=function(e,t,u){const n=new He(e,t,u);return n.block=!0,u<0&&this.level--,n.level=this.level,u>0&&this.level++,this.tokens.push(n),n};tt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};tt.prototype.skipEmptyLines=function(t){for(let u=this.lineMax;t<u&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};tt.prototype.skipSpaces=function(t){for(let u=this.src.length;t<u;t++){const n=this.src.charCodeAt(t);if(!K(n))break}return t};tt.prototype.skipSpacesBack=function(t,u){if(t<=u)return t;for(;t>u;)if(!K(this.src.charCodeAt(--t)))return t+1;return t};tt.prototype.skipChars=function(t,u){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===u;t++);return t};tt.prototype.skipCharsBack=function(t,u,n){if(t<=n)return t;for(;t>n;)if(u!==this.src.charCodeAt(--t))return t+1;return t};tt.prototype.getLines=function(t,u,n,r){if(t>=u)return"";const i=new Array(u-t);for(let o=0,s=t;s<u;s++,o++){let a=0;const l=this.bMarks[s];let c=l,d;for(s+1<u||r?d=this.eMarks[s]+1:d=this.eMarks[s];c<d&&a<n;){const h=this.src.charCodeAt(c);if(K(h))h===9?a+=4-(a+this.bsCount[s])%4:a++;else if(c-l<this.tShift[s])a++;else break;c++}a>n?i[o]=new Array(a-n+1).join(" ")+this.src.slice(c,d):i[o]=this.src.slice(c,d)}return i.join("")};tt.prototype.Token=He;const id=65536;function fn(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(u,n)}function Dr(e){const t=[],u=e.length;let n=0,r=e.charCodeAt(n),i=!1,o=0,s="";for(;n<u;)r===124&&(i?(s+=e.substring(o,n-1),o=n):(t.push(s+e.substring(o,n)),s="",o=n+1)),i=r===92,n++,r=e.charCodeAt(n);return t.push(s+e.substring(o)),t}function od(e,t,u,n){if(t+2>u)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58||i>=e.eMarks[r])return!1;const s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58&&!K(s)||o===45&&K(s))return!1;for(;i<e.eMarks[r];){const _=e.src.charCodeAt(i);if(_!==124&&_!==45&&_!==58&&!K(_))return!1;i++}let a=fn(e,t+1),l=a.split("|");const c=[];for(let _=0;_<l.length;_++){const A=l[_].trim();if(!A){if(_===0||_===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?c.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?c.push("left"):c.push("")}if(a=fn(e,t).trim(),a.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=Dr(a),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const d=l.length;if(d===0||d!==c.length)return!1;if(n)return!0;const h=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),f=e.push("table_open","table",1),b=[t,0];f.map=b;const k=e.push("thead_open","thead",1);k.map=[t,t+1];const v=e.push("tr_open","tr",1);v.map=[t,t+1];for(let _=0;_<l.length;_++){const A=e.push("th_open","th",1);c[_]&&(A.attrs=[["style","text-align:"+c[_]]]);const T=e.push("inline","",0);T.content=l[_].trim(),T.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y,x=0;for(r=t+2;r<u&&!(e.sCount[r]<e.blkIndent);r++){let _=!1;for(let T=0,I=p.length;T<I;T++)if(p[T](e,r,u,!0)){_=!0;break}if(_||(a=fn(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(l=Dr(a),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),x+=d-l.length,x>id))break;if(r===t+2){const T=e.push("tbody_open","tbody",1);T.map=y=[t+2,0]}const A=e.push("tr_open","tr",1);A.map=[r,r+1];for(let T=0;T<d;T++){const I=e.push("td_open","td",1);c[T]&&(I.attrs=[["style","text-align:"+c[T]]]);const w=e.push("inline","",0);w.content=l[T]?l[T].trim():"",w.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return y&&(e.push("tbody_close","tbody",-1),y[1]=r),e.push("table_close","table",-1),b[1]=r,e.parentType=h,e.line=r,!0}function sd(e,t,u){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,r=n;for(;n<u;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,r=n;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
||
`,i.map=[t,e.line],!0}function ad(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;const o=e.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let s=r;r=e.skipChars(r,o);let a=r-s;if(a<3)return!1;const l=e.src.slice(s,r),c=e.src.slice(r,i);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let d=t,h=!1;for(;d++,!(d>=u||(r=s=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],r<i&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(r)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(r=e.skipChars(r,o),!(r-s<a)&&(r=e.skipSpaces(r),!(r<i)))){h=!0;break}a=e.sCount[t],e.line=d+(h?1:0);const p=e.push("fence","code",0);return p.info=c,p.content=e.getLines(t+1,d,a,!0),p.markup=l,p.map=[t,e.line],!0}function ld(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const s=[],a=[],l=[],c=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let p=!1,f;for(f=t;f<u;f++){const x=e.sCount[f]<e.blkIndent;if(r=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],r>=i)break;if(e.src.charCodeAt(r++)===62&&!x){let A=e.sCount[f]+1,T,I;e.src.charCodeAt(r)===32?(r++,A++,I=!1,T=!0):e.src.charCodeAt(r)===9?(T=!0,(e.bsCount[f]+A)%4===3?(r++,A++,I=!1):I=!0):T=!1;let w=A;for(s.push(e.bMarks[f]),e.bMarks[f]=r;r<i;){const D=e.src.charCodeAt(r);if(K(D))D===9?w+=4-(w+e.bsCount[f]+(I?1:0))%4:w++;else break;r++}p=r>=i,a.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(T?1:0),l.push(e.sCount[f]),e.sCount[f]=w-A,c.push(e.tShift[f]),e.tShift[f]=r-e.bMarks[f];continue}if(p)break;let _=!1;for(let A=0,T=d.length;A<T;A++)if(d[A](e,f,u,!0)){_=!0;break}if(_){e.lineMax=f,e.blkIndent!==0&&(s.push(e.bMarks[f]),a.push(e.bsCount[f]),c.push(e.tShift[f]),l.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}s.push(e.bMarks[f]),a.push(e.bsCount[f]),c.push(e.tShift[f]),l.push(e.sCount[f]),e.sCount[f]=-1}const b=e.blkIndent;e.blkIndent=0;const k=e.push("blockquote_open","blockquote",1);k.markup=">";const v=[t,0];k.map=v,e.md.block.tokenize(e,t,f);const y=e.push("blockquote_close","blockquote",-1);y.markup=">",e.lineMax=o,e.parentType=h,v[1]=e.line;for(let x=0;x<c.length;x++)e.bMarks[x+t]=s[x],e.tShift[x+t]=c[x],e.sCount[x+t]=l[x],e.bsCount[x+t]=a[x];return e.blkIndent=b,!0}function cd(e,t,u,n){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(i++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;i<r;){const l=e.src.charCodeAt(i++);if(l!==o&&!K(l))return!1;l===o&&s++}if(s<3)return!1;if(n)return!0;e.line=t+1;const a=e.push("hr","hr",0);return a.map=[t,e.line],a.markup=Array(s+1).join(String.fromCharCode(o)),!0}function Sr(e,t){const u=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<u){const i=e.src.charCodeAt(n);if(!K(i))return-1}return n}function Fr(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let r=u;if(r+1>=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-u>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<n&&(i=e.src.charCodeAt(r),!K(i))?-1:r}function dd(e,t){const u=e.level+2;for(let n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===u&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function fd(e,t,u,n){let r,i,o,s,a=t,l=!0;if(e.sCount[a]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]<e.blkIndent)return!1;let c=!1;n&&e.parentType==="paragraph"&&e.sCount[a]>=e.blkIndent&&(c=!0);let d,h,p;if((p=Fr(e,a))>=0){if(d=!0,o=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(o,p-1)),c&&h!==1)return!1}else if((p=Sr(e,a))>=0)d=!1;else return!1;if(c&&e.skipSpaces(p)>=e.eMarks[a])return!1;if(n)return!0;const f=e.src.charCodeAt(p-1),b=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),h!==1&&(s.attrs=[["start",h]])):s=e.push("bullet_list_open","ul",1);const k=[a,0];s.map=k,s.markup=String.fromCharCode(f);let v=!1;const y=e.md.block.ruler.getRules("list"),x=e.parentType;for(e.parentType="list";a<u;){i=p,r=e.eMarks[a];const _=e.sCount[a]+p-(e.bMarks[a]+e.tShift[a]);let A=_;for(;i<r;){const B=e.src.charCodeAt(i);if(B===9)A+=4-(A+e.bsCount[a])%4;else if(B===32)A++;else break;i++}const T=i;let I;T>=r?I=1:I=A-_,I>4&&(I=1);const w=_+I;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(f);const D=[a,0];s.map=D,d&&(s.info=e.src.slice(o,p-1));const C=e.tight,E=e.tShift[a],S=e.sCount[a],z=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=w,e.tight=!0,e.tShift[a]=T-e.bMarks[a],e.sCount[a]=A,T>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,u):e.md.block.tokenize(e,a,u,!0),(!e.tight||v)&&(l=!1),v=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=z,e.tShift[a]=E,e.sCount[a]=S,e.tight=C,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(f),a=e.line,D[1]=a,a>=u||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let $=!1;for(let B=0,U=y.length;B<U;B++)if(y[B](e,a,u,!0)){$=!0;break}if($)break;if(d){if(p=Fr(e,a),p<0)break;o=e.bMarks[a]+e.tShift[a]}else if(p=Sr(e,a),p<0)break;if(f!==e.src.charCodeAt(p-1))break}return d?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(f),k[1]=a,e.line=a,e.parentType=x,l&&dd(e,b),!0}function hd(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function s(y){const x=e.lineMax;if(y>=x||e.isEmpty(y))return null;let _=!1;if(e.sCount[y]-e.blkIndent>3&&(_=!0),e.sCount[y]<0&&(_=!0),!_){const I=e.md.block.ruler.getRules("reference"),w=e.parentType;e.parentType="reference";let D=!1;for(let C=0,E=I.length;C<E;C++)if(I[C](e,y,x,!0)){D=!0;break}if(e.parentType=w,D)return null}const A=e.bMarks[y]+e.tShift[y],T=e.eMarks[y];return e.src.slice(A,T+1)}let a=e.src.slice(r,i+1);i=a.length;let l=-1;for(r=1;r<i;r++){const y=a.charCodeAt(r);if(y===91)return!1;if(y===93){l=r;break}else if(y===10){const x=s(o);x!==null&&(a+=x,i=a.length,o++)}else if(y===92&&(r++,r<i&&a.charCodeAt(r)===10)){const x=s(o);x!==null&&(a+=x,i=a.length,o++)}}if(l<0||a.charCodeAt(l+1)!==58)return!1;for(r=l+2;r<i;r++){const y=a.charCodeAt(r);if(y===10){const x=s(o);x!==null&&(a+=x,i=a.length,o++)}else if(!K(y))break}const c=e.md.helpers.parseLinkDestination(a,r,i);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;r=c.pos;const h=r,p=o,f=r;for(;r<i;r++){const y=a.charCodeAt(r);if(y===10){const x=s(o);x!==null&&(a+=x,i=a.length,o++)}else if(!K(y))break}let b=e.md.helpers.parseLinkTitle(a,r,i);for(;b.can_continue;){const y=s(o);if(y===null)break;a+=y,r=i,i=a.length,o++,b=e.md.helpers.parseLinkTitle(a,r,i,b)}let k;for(r<i&&f!==r&&b.ok?(k=b.str,r=b.pos):(k="",r=h,o=p);r<i;){const y=a.charCodeAt(r);if(!K(y))break;r++}if(r<i&&a.charCodeAt(r)!==10&&k)for(k="",r=h,o=p;r<i;){const y=a.charCodeAt(r);if(!K(y))break;r++}if(r<i&&a.charCodeAt(r)!==10)return!1;const v=Xu(a.slice(1,l));return v?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[v]>"u"&&(e.env.references[v]={title:k,href:d}),e.line=o),!0):!1}const gd=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],pd="[a-zA-Z_:][a-zA-Z0-9:._-]*",md="[^\"'=<>`\\x00-\\x20]+",bd="'[^']*'",yd='"[^"]*"',xd="(?:"+md+"|"+bd+"|"+yd+")",vd="(?:\\s+"+pd+"(?:\\s*=\\s*"+xd+")?)",Ci="<[A-Za-z][A-Za-z0-9\\-]*"+vd+"*\\s*\\/?>",Ai="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",_d="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",kd="<[?][\\s\\S]*?[?]>",wd="<![A-Za-z][^>]*>",Cd="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Ad=new RegExp("^(?:"+Ci+"|"+Ai+"|"+_d+"|"+kd+"|"+wd+"|"+Cd+")"),Ed=new RegExp("^(?:"+Ci+"|"+Ai+")"),Tt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+gd.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ed.source+"\\s*$"),/^$/,!1]];function Dd(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let o=e.src.slice(r,i),s=0;for(;s<Tt.length&&!Tt[s][0].test(o);s++);if(s===Tt.length)return!1;if(n)return Tt[s][2];let a=t+1;if(!Tt[s][1].test(o)){for(;a<u&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],i=e.eMarks[a],o=e.src.slice(r,i),Tt[s][1].test(o)){o.length!==0&&a++;break}}e.line=a;const l=e.push("html_block","",0);return l.map=[t,a],l.content=e.getLines(t,a,e.blkIndent,!0),!0}function Sd(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(r);if(o!==35||r>=i)return!1;let s=1;for(o=e.src.charCodeAt(++r);o===35&&r<i&&s<=6;)s++,o=e.src.charCodeAt(++r);if(s>6||r<i&&!K(o))return!1;if(n)return!0;i=e.skipSpacesBack(i,r);const a=e.skipCharsBack(i,35,r);a>r&&K(e.src.charCodeAt(a-1))&&(i=a),e.line=t+1;const l=e.push("heading_open","h"+String(s),1);l.markup="########".slice(0,s),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(r,i).trim(),c.map=[t,e.line],c.children=[];const d=e.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}function Fd(e,t,u){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,o,s=t+1;for(;s<u&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let p=e.bMarks[s]+e.tShift[s];const f=e.eMarks[s];if(p<f&&(o=e.src.charCodeAt(p),(o===45||o===61)&&(p=e.skipChars(p,o),p=e.skipSpaces(p),p>=f))){i=o===61?1:2;break}}if(e.sCount[s]<0)continue;let h=!1;for(let p=0,f=n.length;p<f;p++)if(n[p](e,s,u,!0)){h=!0;break}if(h)break}if(!i)return!1;const a=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const l=e.push("heading_open","h"+String(i),1);l.markup=String.fromCharCode(o),l.map=[t,e.line];const c=e.push("inline","",0);c.content=a,c.map=[t,e.line-1],c.children=[];const d=e.push("heading_close","h"+String(i),-1);return d.markup=String.fromCharCode(o),e.parentType=r,!0}function Td(e,t,u){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=t+1;for(e.parentType="paragraph";i<u&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let l=!1;for(let c=0,d=n.length;c<d;c++)if(n[c](e,i,u,!0)){l=!0;break}if(l)break}const o=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const a=e.push("inline","",0);return a.content=o,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const wu=[["table",od,["paragraph","reference"]],["code",sd],["fence",ad,["paragraph","reference","blockquote","list"]],["blockquote",ld,["paragraph","reference","blockquote","list"]],["hr",cd,["paragraph","reference","blockquote","list"]],["list",fd,["paragraph","reference","blockquote"]],["reference",hd],["html_block",Dd,["paragraph","reference","blockquote"]],["heading",Sd,["paragraph","reference","blockquote"]],["lheading",Fd],["paragraph",Td]];function Zu(){this.ruler=new Ce;for(let e=0;e<wu.length;e++)this.ruler.push(wu[e][0],wu[e][1],{alt:(wu[e][2]||[]).slice()})}Zu.prototype.tokenize=function(e,t,u){const n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting;let o=t,s=!1;for(;o<u&&(e.line=o=e.skipEmptyLines(o),!(o>=u||e.sCount[o]<e.blkIndent));){if(e.level>=i){e.line=u;break}const a=e.line;let l=!1;for(let c=0;c<r;c++)if(l=n[c](e,o,u,!1),l){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<u&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}};Zu.prototype.parse=function(e,t,u,n){if(!e)return;const r=new this.State(e,t,u,n);this.tokenize(r,r.line,r.lineMax)};Zu.prototype.State=tt;function pu(e,t,u,n){this.src=e,this.env=u,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}pu.prototype.pushPending=function(){const e=new He("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};pu.prototype.push=function(e,t,u){this.pending&&this.pushPending();const n=new He(e,t,u);let r=null;return u<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,u>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};pu.prototype.scanDelims=function(e,t){const u=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<u&&this.src.charCodeAt(i)===n;)i++;const o=i-e,s=i<u?this.src.charCodeAt(i):32,a=iu(r)||ru(String.fromCharCode(r)),l=iu(s)||ru(String.fromCharCode(s)),c=nu(r),d=nu(s),h=!d&&(!l||c||a),p=!c&&(!a||d||l);return{can_open:h&&(t||!p||a),can_close:p&&(t||!h||l),length:o}};pu.prototype.Token=He;function Id(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function zd(e,t){let u=e.pos;for(;u<e.posMax&&!Id(e.src.charCodeAt(u));)u++;return u===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,u)),e.pos=u,!0)}const Ld=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function $d(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const u=e.pos,n=e.posMax;if(u+3>n||e.src.charCodeAt(u)!==58||e.src.charCodeAt(u+1)!==47||e.src.charCodeAt(u+2)!==47)return!1;const r=e.pending.match(Ld);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(u-i.length));if(!o)return!1;let s=o.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",a]],l.markup="linkify",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(s);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=s.length-i.length,!0}function Bd(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(u++;u<r&&K(e.src.charCodeAt(u));)u++;return e.pos=u,!0}const Jn=[];for(let e=0;e<256;e++)Jn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Jn[e.charCodeAt(0)]=1});function Md(e,t){let u=e.pos;const n=e.posMax;if(e.src.charCodeAt(u)!==92||(u++,u>=n))return!1;let r=e.src.charCodeAt(u);if(r===10){for(t||e.push("hardbreak","br",0),u++;u<n&&(r=e.src.charCodeAt(u),!!K(r));)u++;return e.pos=u,!0}let i=e.src[u];if(r>=55296&&r<=56319&&u+1<n){const s=e.src.charCodeAt(u+1);s>=56320&&s<=57343&&(i+=e.src[u+1],u++)}const o="\\"+i;if(!t){const s=e.push("text_special","",0);r<256&&Jn[r]!==0?s.content=i:s.content=o,s.markup=o,s.info="escape"}return e.pos=u+1,!0}function Rd(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==96)return!1;const r=u;u++;const i=e.posMax;for(;u<i&&e.src.charCodeAt(u)===96;)u++;const o=e.src.slice(r,u),s=o.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return t||(e.pending+=o),e.pos+=s,!0;let a=u,l;for(;(l=e.src.indexOf("`",a))!==-1;){for(a=l+1;a<i&&e.src.charCodeAt(a)===96;)a++;const c=a-l;if(c===s){if(!t){const d=e.push("code_inline","code",0);d.markup=o,d.content=e.src.slice(u,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[c]=l}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}function Pd(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const o=String.fromCharCode(n);if(i<2)return!1;let s;i%2&&(s=e.push("text","",0),s.content=o,i--);for(let a=0;a<i;a+=2)s=e.push("text","",0),s.content=o+o,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function Tr(e,t){let u;const n=[],r=t.length;for(let i=0;i<r;i++){const o=t[i];if(o.marker!==126||o.end===-1)continue;const s=t[o.end];u=e.tokens[o.token],u.type="s_open",u.tag="s",u.nesting=1,u.markup="~~",u.content="",u=e.tokens[s.token],u.type="s_close",u.tag="s",u.nesting=-1,u.markup="~~",u.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&n.push(s.token-1)}for(;n.length;){const i=n.pop();let o=i+1;for(;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,i!==o&&(u=e.tokens[o],e.tokens[o]=e.tokens[i],e.tokens[i]=u)}}function Nd(e){const t=e.tokens_meta,u=e.tokens_meta.length;Tr(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&Tr(e,t[n].delimiters)}const Ei={tokenize:Pd,postProcess:Nd};function Od(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let i=0;i<r.length;i++){const o=e.push("text","",0);o.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function Ir(e,t){const u=t.length;for(let n=u-1;n>=0;n--){const r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,s=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function jd(e){const t=e.tokens_meta,u=e.tokens_meta.length;Ir(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&Ir(e,t[n].delimiters)}const Di={tokenize:Od,postProcess:jd};function Ud(e,t){let u,n,r,i,o="",s="",a=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,d=e.posMax,h=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let f=p+1;if(f<d&&e.src.charCodeAt(f)===40){for(l=!1,f++;f<d&&(u=e.src.charCodeAt(f),!(!K(u)&&u!==10));f++);if(f>=d)return!1;if(a=f,r=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?f=r.pos:o="",a=f;f<d&&(u=e.src.charCodeAt(f),!(!K(u)&&u!==10));f++);if(r=e.md.helpers.parseLinkTitle(e.src,f,e.posMax),f<d&&a!==f&&r.ok)for(s=r.str,f=r.pos;f<d&&(u=e.src.charCodeAt(f),!(!K(u)&&u!==10));f++);}(f>=d||e.src.charCodeAt(f)!==41)&&(l=!0),f++}if(l){if(typeof e.env.references>"u")return!1;if(f<d&&e.src.charCodeAt(f)===91?(a=f+1,f=e.md.helpers.parseLinkLabel(e,f),f>=0?n=e.src.slice(a,f++):f=p+1):f=p+1,n||(n=e.src.slice(h,p)),i=e.env.references[Xu(n)],!i)return e.pos=c,!1;o=i.href,s=i.title}if(!t){e.pos=h,e.posMax=p;const b=e.push("link_open","a",1),k=[["href",o]];b.attrs=k,s&&k.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=d,!0}function qd(e,t){let u,n,r,i,o,s,a,l,c="";const d=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const p=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(i=f+1,i<h&&e.src.charCodeAt(i)===40){for(i++;i<h&&(u=e.src.charCodeAt(i),!(!K(u)&&u!==10));i++);if(i>=h)return!1;for(l=i,s=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),s.ok&&(c=e.md.normalizeLink(s.str),e.md.validateLink(c)?i=s.pos:c=""),l=i;i<h&&(u=e.src.charCodeAt(i),!(!K(u)&&u!==10));i++);if(s=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<h&&l!==i&&s.ok)for(a=s.str,i=s.pos;i<h&&(u=e.src.charCodeAt(i),!(!K(u)&&u!==10));i++);else a="";if(i>=h||e.src.charCodeAt(i)!==41)return e.pos=d,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<h&&e.src.charCodeAt(i)===91?(l=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(l,i++):i=f+1):i=f+1,r||(r=e.src.slice(p,f)),o=e.env.references[Xu(r)],!o)return e.pos=d,!1;c=o.href,a=o.title}if(!t){n=e.src.slice(p,f);const b=[];e.md.inline.parse(n,e.md,e.env,b);const k=e.push("image","img",0),v=[["src",c],["alt",""]];k.attrs=v,k.children=b,k.content=n,a&&v.push(["title",a])}return e.pos=i,e.posMax=h,!0}const Hd=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Wd=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Vd(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++u>=r)return!1;const o=e.src.charCodeAt(u);if(o===60)return!1;if(o===62)break}const i=e.src.slice(n+1,u);if(Wd.test(i)){const o=e.md.normalizeLink(i);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}if(Hd.test(i)){const o=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}return!1}function Gd(e){return/^<a[>\s]/i.test(e)}function Xd(e){return/^<\/a\s*>/i.test(e)}function Zd(e){const t=e|32;return t>=97&&t<=122}function Yd(e,t){if(!e.md.options.html)return!1;const u=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=u)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!Zd(r))return!1;const i=e.src.slice(n).match(Ad);if(!i)return!1;if(!t){const o=e.push("html_inline","",0);o.content=i[0],Gd(o.content)&&e.linkLevel++,Xd(o.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const Qd=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Jd=/^&([a-z][a-z0-9]{1,31});/i;function Kd(e,t){const u=e.pos,n=e.posMax;if(e.src.charCodeAt(u)!==38||u+1>=n)return!1;if(e.src.charCodeAt(u+1)===35){const i=e.src.slice(u).match(Qd);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),s=e.push("text_special","",0);s.content=Yn(o)?Ru(o):Ru(65533),s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(u).match(Jd);if(i){const o=xi(i[0]);if(o!==i[0]){if(!t){const s=e.push("text_special","",0);s.content=o,s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function zr(e){const t={},u=e.length;if(!u)return;let n=0,r=-2;const i=[];for(let o=0;o<u;o++){const s=e[o];if(i.push(0),(e[n].marker!==s.marker||r!==s.token-1)&&(n=o),r=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[s.marker][(s.open?3:0)+s.length%3];let l=n-i[n]-1,c=l;for(;l>a;l-=i[l]+1){const d=e[l];if(d.marker===s.marker&&d.open&&d.end<0){let h=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(h=!0),!h){const p=l>0&&!e[l-1].open?i[l-1]+1:0;i[o]=o-l+p,i[l]=p,s.open=!1,d.end=o,d.close=!1,c=-1,r=-2;break}}}c!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}function ef(e){const t=e.tokens_meta,u=e.tokens_meta.length;zr(e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&zr(t[n].delimiters)}function tf(e){let t,u,n=0;const r=e.tokens,i=e.tokens.length;for(t=u=0;t<i;t++)r[t].nesting<0&&n--,r[t].level=n,r[t].nesting>0&&n++,r[t].type==="text"&&t+1<i&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==u&&(r[u]=r[t]),u++);t!==u&&(r.length=u)}const hn=[["text",zd],["linkify",$d],["newline",Bd],["escape",Md],["backticks",Rd],["strikethrough",Ei.tokenize],["emphasis",Di.tokenize],["link",Ud],["image",qd],["autolink",Vd],["html_inline",Yd],["entity",Kd]],gn=[["balance_pairs",ef],["strikethrough",Ei.postProcess],["emphasis",Di.postProcess],["fragments_join",tf]];function mu(){this.ruler=new Ce;for(let e=0;e<hn.length;e++)this.ruler.push(hn[e][0],hn[e][1]);this.ruler2=new Ce;for(let e=0;e<gn.length;e++)this.ruler2.push(gn[e][0],gn[e][1])}mu.prototype.skipToken=function(e){const t=e.pos,u=this.ruler.getRules(""),n=u.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let o=!1;if(e.level<r){for(let s=0;s<n;s++)if(e.level++,o=u[s](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,i[t]=e.pos};mu.prototype.tokenize=function(e){const t=this.ruler.getRules(""),u=t.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let o=!1;if(e.level<r){for(let s=0;s<u;s++)if(o=t[s](e,!1),o){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};mu.prototype.parse=function(e,t,u,n){const r=new this.State(e,t,u,n);this.tokenize(r);const i=this.ruler2.getRules(""),o=i.length;for(let s=0;s<o;s++)i[s](r)};mu.prototype.State=pu;function uf(e){const t={};e=e||{},t.src_Any=gi.source,t.src_Cc=pi.source,t.src_Z=bi.source,t.src_P=Xn.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const u="[><|]";return t.src_pseudo_letter="(?:(?!"+u+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+u+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+u+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+u+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function En(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){u&&Object.keys(u).forEach(function(n){e[n]=u[n]})}),e}function Yu(e){return Object.prototype.toString.call(e)}function nf(e){return Yu(e)==="[object String]"}function rf(e){return Yu(e)==="[object Object]"}function of(e){return Yu(e)==="[object RegExp]"}function Lr(e){return Yu(e)==="[object Function]"}function sf(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Si={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function af(e){return Object.keys(e||{}).reduce(function(t,u){return t||Si.hasOwnProperty(u)},!1)}const lf={"http:":{validate:function(e,t,u){const n=e.slice(t);return u.re.http||(u.re.http=new RegExp("^\\/\\/"+u.re.src_auth+u.re.src_host_port_strict+u.re.src_path,"i")),u.re.http.test(n)?n.match(u.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,u){const n=e.slice(t);return u.re.no_http||(u.re.no_http=new RegExp("^"+u.re.src_auth+"(?:localhost|(?:(?:"+u.re.src_domain+")\\.)+"+u.re.src_domain_root+")"+u.re.src_port+u.re.src_host_terminator+u.re.src_path,"i")),u.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(u.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,u){const n=e.slice(t);return u.re.mailto||(u.re.mailto=new RegExp("^"+u.re.src_email_name+"@"+u.re.src_host_strict,"i")),u.re.mailto.test(n)?n.match(u.re.mailto)[0].length:0}}},cf="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",df="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ff(e){e.__index__=-1,e.__text_cache__=""}function hf(e){return function(t,u){const n=t.slice(u);return e.test(n)?n.match(e)[0].length:0}}function $r(){return function(e,t){t.normalize(e)}}function Pu(e){const t=e.re=uf(e.__opts__),u=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||u.push(cf),u.push(t.src_xn),t.src_tlds=u.join("|");function n(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(s,a){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+a)}Object.keys(e.__schemas__).forEach(function(s){const a=e.__schemas__[s];if(a===null)return;const l={validate:null,link:null};if(e.__compiled__[s]=l,rf(a)){of(a.validate)?l.validate=hf(a.validate):Lr(a.validate)?l.validate=a.validate:i(s,a),Lr(a.normalize)?l.normalize=a.normalize:a.normalize?i(s,a):l.normalize=$r();return}if(nf(a)){r.push(s);return}i(s,a)}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:$r()};const o=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(sf).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),ff(e)}function gf(e,t){const u=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(u,n);this.schema=e.__schema__.toLowerCase(),this.index=u+t,this.lastIndex=n+t,this.raw=r,this.text=r,this.url=r}function Dn(e,t){const u=new gf(e,t);return e.__compiled__[u.schema].normalize(u,e),u}function Te(e,t){if(!(this instanceof Te))return new Te(e,t);t||af(e)&&(t=e,e={}),this.__opts__=En({},Si,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=En({},lf,e),this.__compiled__={},this.__tlds__=df,this.__tlds_replaced__=!1,this.re={},Pu(this)}Te.prototype.add=function(t,u){return this.__schemas__[t]=u,Pu(this),this};Te.prototype.set=function(t){return this.__opts__=En(this.__opts__,t),this};Te.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let u,n,r,i,o,s,a,l,c;if(this.re.schema_test.test(t)){for(a=this.re.schema_search,a.lastIndex=0;(u=a.exec(t))!==null;)if(i=this.testSchemaAt(t,u[2],a.lastIndex),i){this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0};Te.prototype.pretest=function(t){return this.re.pretest.test(t)};Te.prototype.testSchemaAt=function(t,u,n){return this.__compiled__[u.toLowerCase()]?this.__compiled__[u.toLowerCase()].validate(t,n,this):0};Te.prototype.match=function(t){const u=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(u.push(Dn(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)u.push(Dn(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return u.length?u:null};Te.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const u=this.re.schema_at_start.exec(t);if(!u)return null;const n=this.testSchemaAt(t,u[2],u[0].length);return n?(this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+n,Dn(this,0)):null};Te.prototype.tlds=function(t,u){return t=Array.isArray(t)?t:[t],u?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),Pu(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Pu(this),this)};Te.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Te.prototype.onCompile=function(){};const Lt=2147483647,Xe=36,Kn=1,ou=26,pf=38,mf=700,Fi=72,Ti=128,Ii="-",bf=/^xn--/,yf=/[^\0-\x7F]/,xf=/[\x2E\u3002\uFF0E\uFF61]/g,vf={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pn=Xe-Kn,Ze=Math.floor,mn=String.fromCharCode;function gt(e){throw new RangeError(vf[e])}function _f(e,t){const u=[];let n=e.length;for(;n--;)u[n]=t(e[n]);return u}function zi(e,t){const u=e.split("@");let n="";u.length>1&&(n=u[0]+"@",e=u[1]),e=e.replace(xf,".");const r=e.split("."),i=_f(r,t).join(".");return n+i}function Li(e){const t=[];let u=0;const n=e.length;for(;u<n;){const r=e.charCodeAt(u++);if(r>=55296&&r<=56319&&u<n){const i=e.charCodeAt(u++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),u--)}else t.push(r)}return t}const kf=e=>String.fromCodePoint(...e),wf=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Xe},Br=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},$i=function(e,t,u){let n=0;for(e=u?Ze(e/mf):e>>1,e+=Ze(e/t);e>pn*ou>>1;n+=Xe)e=Ze(e/pn);return Ze(n+(pn+1)*e/(e+pf))},Bi=function(e){const t=[],u=e.length;let n=0,r=Ti,i=Fi,o=e.lastIndexOf(Ii);o<0&&(o=0);for(let s=0;s<o;++s)e.charCodeAt(s)>=128&>("not-basic"),t.push(e.charCodeAt(s));for(let s=o>0?o+1:0;s<u;){const a=n;for(let c=1,d=Xe;;d+=Xe){s>=u&>("invalid-input");const h=wf(e.charCodeAt(s++));h>=Xe&>("invalid-input"),h>Ze((Lt-n)/c)&>("overflow"),n+=h*c;const p=d<=i?Kn:d>=i+ou?ou:d-i;if(h<p)break;const f=Xe-p;c>Ze(Lt/f)&>("overflow"),c*=f}const l=t.length+1;i=$i(n-a,l,a==0),Ze(n/l)>Lt-r&>("overflow"),r+=Ze(n/l),n%=l,t.splice(n++,0,r)}return String.fromCodePoint(...t)},Mi=function(e){const t=[];e=Li(e);const u=e.length;let n=Ti,r=0,i=Fi;for(const a of e)a<128&&t.push(mn(a));const o=t.length;let s=o;for(o&&t.push(Ii);s<u;){let a=Lt;for(const c of e)c>=n&&c<a&&(a=c);const l=s+1;a-n>Ze((Lt-r)/l)&>("overflow"),r+=(a-n)*l,n=a;for(const c of e)if(c<n&&++r>Lt&>("overflow"),c===n){let d=r;for(let h=Xe;;h+=Xe){const p=h<=i?Kn:h>=i+ou?ou:h-i;if(d<p)break;const f=d-p,b=Xe-p;t.push(mn(Br(p+f%b,0))),d=Ze(f/b)}t.push(mn(Br(d,0))),i=$i(r,l,s===o),r=0,++s}++r,++n}return t.join("")},Cf=function(e){return zi(e,function(t){return bf.test(t)?Bi(t.slice(4).toLowerCase()):t})},Af=function(e){return zi(e,function(t){return yf.test(t)?"xn--"+Mi(t):t})},Ri={version:"2.3.1",ucs2:{decode:Li,encode:kf},decode:Bi,encode:Mi,toASCII:Af,toUnicode:Cf},Ef={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Df={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},Sf={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Ff={default:Ef,zero:Df,commonmark:Sf},Tf=/^(vbscript|javascript|file|data):/,If=/^data:image\/(gif|png|jpeg|webp);/;function zf(e){const t=e.trim().toLowerCase();return Tf.test(t)?If.test(t):!0}const Pi=["http:","https:","mailto:"];function Lf(e){const t=Gn(e,!0);if(t.hostname&&(!t.protocol||Pi.indexOf(t.protocol)>=0))try{t.hostname=Ri.toASCII(t.hostname)}catch{}return gu(Vn(t))}function $f(e){const t=Gn(e,!0);if(t.hostname&&(!t.protocol||Pi.indexOf(t.protocol)>=0))try{t.hostname=Ri.toUnicode(t.hostname)}catch{}return Ot(Vn(t),Ot.defaultChars+"%")}function Le(e,t){if(!(this instanceof Le))return new Le(e,t);t||Zn(e)||(t=e||{},e="default"),this.inline=new mu,this.block=new Zu,this.core=new Qn,this.renderer=new Gt,this.linkify=new Te,this.validateLink=zf,this.normalizeLink=Lf,this.normalizeLinkText=$f,this.utils=Bc,this.helpers=Gu({},Nc),this.options={},this.configure(e),t&&this.set(t)}Le.prototype.set=function(e){return Gu(this.options,e),this};Le.prototype.configure=function(e){const t=this;if(Zn(e)){const u=e;if(e=Ff[u],!e)throw new Error('Wrong `markdown-it` preset "'+u+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(u){e.components[u].rules&&t[u].ruler.enableOnly(e.components[u].rules),e.components[u].rules2&&t[u].ruler2.enableOnly(e.components[u].rules2)}),this};Le.prototype.enable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.enable(e,!0))},this),u=u.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Le.prototype.disable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.disable(e,!0))},this),u=u.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Le.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Le.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const u=new this.core.State(e,this,t);return this.core.process(u),u.tokens};Le.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Le.prototype.parseInline=function(e,t){const u=new this.core.State(e,this,t);return u.inlineMode=!0,this.core.process(u),u.tokens};Le.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const Mr=new Set([!0,!1,"alt","title"]);function Ni(e,t){return(Array.isArray(e)?e:[]).filter(([u])=>u!==t)}function Oi(e,t){e&&e.attrs&&(e.attrs=Ni(e.attrs,t))}function Bf(e,t){if(!Mr.has(e))throw new TypeError(`figcaption must be one of: ${[...Mr]}.`);if(e==="alt")return t.content;const u=t.attrs.find(([n])=>n==="title");return Array.isArray(u)&&u[1]?(Oi(t,"title"),u[1]):void 0}function Mf(e,t){t=t||{},e.core.ruler.before("linkify","image_figures",function(u){let n=1;for(let r=1,i=u.tokens.length;r<i-1;++r){const o=u.tokens[r];if(o.type!=="inline"||!o.children||o.children.length!==1&&o.children.length!==3||o.children.length===1&&o.children[0].type!=="image")continue;if(o.children.length===3){const[l,c,d]=o.children;if(l.type!=="link_open"||c.type!=="image"||d.type!=="link_close")continue}if(r!==0&&u.tokens[r-1].type!=="paragraph_open"||r!==i-1&&u.tokens[r+1].type!=="paragraph_close")continue;const s=u.tokens[r-1];let a;if(s.type="figure_open",s.tag="figure",u.tokens[r+1].type="figure_close",u.tokens[r+1].tag="figure",t.dataType&&u.tokens[r-1].attrPush(["data-type","image"]),t.link&&o.children.length===1){[a]=o.children;const l=new u.Token("link_open","a",1);l.attrPush(["href",a.attrGet("src")]),o.children.unshift(l),o.children.push(new u.Token("link_close","a",-1))}if(a=o.children.length===1?o.children[0]:o.children[1],t.figcaption){const l=Bf(t.figcaption,a);if(l){const[c]=e.parseInline(l,u.env);o.children.push(new u.Token("figcaption_open","figcaption",1)),o.children.push(...c.children),o.children.push(new u.Token("figcaption_close","figcaption",-1)),a.attrs&&(a.attrs=Ni(a.attrs,"title"))}}if(t.copyAttrs&&a.attrs){const l=t.copyAttrs===!0?"":t.copyAttrs;s.attrs=a.attrs.filter(([c])=>c.match(l)).map(c=>Array.from(c))}if(t.tabindex&&(u.tokens[r-1].attrPush(["tabindex",n]),n++),t.lazy&&(a.attrs.some(([l])=>l==="loading")||a.attrs.push(["loading","lazy"])),t.async&&(a.attrs.some(([l])=>l==="decoding")||a.attrs.push(["decoding","async"])),t.classes&&typeof t.classes=="string"){let l=!1;for(let c=0,d=a.attrs.length;c<d&&!l;c++){const h=a.attrs[c];h[0]==="class"&&(h[1]=`${h[1]} ${t.classes}`,l=!0)}l||a.attrs.push(["class",t.classes])}if(t.removeSrc){const l=a.attrs.find(([c])=>c==="src");a.attrs.push(["data-src",l[1]]),Oi(a,"src")}}})}var Sn=!0,ji=!1,Ui=!1,Rf=function(e,t){t&&(Sn=!t.enabled,ji=!!t.label,Ui=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(u){for(var n=u.tokens,r=2;r<n.length;r++)Nf(n,r)&&(Of(n[r],u.Token),Rr(n[r-2],"class","task-list-item"+(Sn?"":" enabled")),Rr(n[Pf(n,r-2)],"class","contains-task-list"))})};function Rr(e,t,u){var n=e.attrIndex(t),r=[t,u];n<0?e.attrPush(r):e.attrs[n]=r}function Pf(e,t){for(var u=e[t].level-1,n=t-1;n>=0;n--)if(e[n].level===u)return n;return-1}function Nf(e,t){return Wf(e[t])&&Vf(e[t-1])&&Gf(e[t-2])&&Xf(e[t])}function Of(e,t){if(e.children.unshift(jf(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),ji)if(Ui){e.children.pop();var u="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+u+'">',e.children.push(Hf(e.content,u,t))}else e.children.unshift(Uf(t)),e.children.push(qf(t))}function jf(e,t){var u=new t("html_inline","",0),n=Sn?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?u.content='<input class="task-list-item-checkbox"'+n+'type="checkbox">':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(u.content='<input class="task-list-item-checkbox" checked=""'+n+'type="checkbox">'),u}function Uf(e){var t=new e("html_inline","",0);return t.content="<label>",t}function qf(e){var t=new e("html_inline","",0);return t.content="</label>",t}function Hf(e,t,u){var n=new u("html_inline","",0);return n.content='<label class="task-list-item-label" for="'+t+'">'+e+"</label>",n.attrs=[{for:t}],n}function Wf(e){return e.type==="inline"}function Vf(e){return e.type==="paragraph_open"}function Gf(e){return e.type==="list_item_open"}function Xf(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const Zf=si(Rf),It=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,qi=new Set,Fn=typeof process=="object"&&process?process:{},Hi=(e,t,u,n)=>{typeof Fn.emitWarning=="function"?Fn.emitWarning(e,t,u,n):console.error(`[${u}] ${t}: ${e}`)};let Nu=globalThis.AbortController,Pr=globalThis.AbortSignal;var Qr;if(typeof Nu>"u"){Pr=class{constructor(){re(this,"onabort");re(this,"_onabort",[]);re(this,"reason");re(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},Nu=class{constructor(){re(this,"signal",new Pr);t()}abort(n){var r,i;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(i=(r=this.signal).onabort)==null||i.call(r,n)}}};let e=((Qr=Fn.env)==null?void 0:Qr.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const t=()=>{e&&(e=!1,Hi("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const Yf=e=>!qi.has(e),lt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),Wi=e=>lt(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Tu:null:null;class Tu extends Array{constructor(t){super(t),this.fill(0)}}var $t;const Ct=class Ct{constructor(t,u){re(this,"heap");re(this,"length");if(!g(Ct,$t))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new u(t),this.length=0}static create(t){const u=Wi(t);if(!u)return[];H(Ct,$t,!0);const n=new Ct(t,u);return H(Ct,$t,!1),n}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}};$t=new WeakMap,G(Ct,$t,!1);let Tn=Ct;var Me,Ae,Re,Pe,Bt,Mt,ce,Ne,le,te,X,xe,Ee,be,fe,Oe,he,je,Ue,De,qe,bt,ve,au,zn,At,rt,lu,Se,Hu,Vi,Et,Rt,cu,We,ct,Ve,dt,du,Ln,Hp,Pt,Iu,Nt,zu,Q,ee,fu,$n,Dt,Qt,Ge,ft,hu,Bn;const ar=class ar{constructor(t){G(this,au);G(this,Hu);G(this,We);G(this,Ve);G(this,du);G(this,Pt);G(this,Nt);G(this,Q);G(this,fu);G(this,Dt);G(this,Ge);G(this,hu);G(this,Me,void 0);G(this,Ae,void 0);G(this,Re,void 0);G(this,Pe,void 0);G(this,Bt,void 0);G(this,Mt,void 0);re(this,"ttl");re(this,"ttlResolution");re(this,"ttlAutopurge");re(this,"updateAgeOnGet");re(this,"updateAgeOnHas");re(this,"allowStale");re(this,"noDisposeOnSet");re(this,"noUpdateTTL");re(this,"maxEntrySize");re(this,"sizeCalculation");re(this,"noDeleteOnFetchRejection");re(this,"noDeleteOnStaleGet");re(this,"allowStaleOnFetchAbort");re(this,"allowStaleOnFetchRejection");re(this,"ignoreFetchAbort");G(this,ce,void 0);G(this,Ne,void 0);G(this,le,void 0);G(this,te,void 0);G(this,X,void 0);G(this,xe,void 0);G(this,Ee,void 0);G(this,be,void 0);G(this,fe,void 0);G(this,Oe,void 0);G(this,he,void 0);G(this,je,void 0);G(this,Ue,void 0);G(this,De,void 0);G(this,qe,void 0);G(this,bt,void 0);G(this,ve,void 0);G(this,At,()=>{});G(this,rt,()=>{});G(this,lu,()=>{});G(this,Se,()=>!1);G(this,Et,t=>{});G(this,Rt,(t,u,n)=>{});G(this,cu,(t,u,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});re(this,Hp,"LRUCache");const{max:u=0,ttl:n,ttlResolution:r=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:s,allowStale:a,dispose:l,disposeAfter:c,noDisposeOnSet:d,noUpdateTTL:h,maxSize:p=0,maxEntrySize:f=0,sizeCalculation:b,fetchMethod:k,memoMethod:v,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:x,allowStaleOnFetchRejection:_,allowStaleOnFetchAbort:A,ignoreFetchAbort:T}=t;if(u!==0&&!lt(u))throw new TypeError("max option must be a nonnegative integer");const I=u?Wi(u):Array;if(!I)throw new Error("invalid max value: "+u);if(H(this,Me,u),H(this,Ae,p),this.maxEntrySize=f||g(this,Ae),this.sizeCalculation=b,this.sizeCalculation){if(!g(this,Ae)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(v!==void 0&&typeof v!="function")throw new TypeError("memoMethod must be a function if defined");if(H(this,Mt,v),k!==void 0&&typeof k!="function")throw new TypeError("fetchMethod must be a function if specified");if(H(this,Bt,k),H(this,bt,!!k),H(this,le,new Map),H(this,te,new Array(u).fill(void 0)),H(this,X,new Array(u).fill(void 0)),H(this,xe,new I(u)),H(this,Ee,new I(u)),H(this,be,0),H(this,fe,0),H(this,Oe,Tn.create(u)),H(this,ce,0),H(this,Ne,0),typeof l=="function"&&H(this,Re,l),typeof c=="function"?(H(this,Pe,c),H(this,he,[])):(H(this,Pe,void 0),H(this,he,void 0)),H(this,qe,!!g(this,Re)),H(this,ve,!!g(this,Pe)),this.noDisposeOnSet=!!d,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!_,this.allowStaleOnFetchAbort=!!A,this.ignoreFetchAbort=!!T,this.maxEntrySize!==0){if(g(this,Ae)!==0&&!lt(g(this,Ae)))throw new TypeError("maxSize must be a positive integer if specified");if(!lt(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");O(this,Hu,Vi).call(this)}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!x,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!s,this.ttlResolution=lt(r)||r===0?r:1,this.ttlAutopurge=!!i,this.ttl=n||0,this.ttl){if(!lt(this.ttl))throw new TypeError("ttl must be a positive integer if specified");O(this,au,zn).call(this)}if(g(this,Me)===0&&this.ttl===0&&g(this,Ae)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!g(this,Me)&&!g(this,Ae)){const w="LRU_CACHE_UNBOUNDED";Yf(w)&&(qi.add(w),Hi("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",w,ar))}}static unsafeExposeInternals(t){return{starts:g(t,Ue),ttls:g(t,De),sizes:g(t,je),keyMap:g(t,le),keyList:g(t,te),valList:g(t,X),next:g(t,xe),prev:g(t,Ee),get head(){return g(t,be)},get tail(){return g(t,fe)},free:g(t,Oe),isBackgroundFetch:u=>{var n;return O(n=t,Q,ee).call(n,u)},backgroundFetch:(u,n,r,i)=>{var o;return O(o=t,Nt,zu).call(o,u,n,r,i)},moveToTail:u=>{var n;return O(n=t,Dt,Qt).call(n,u)},indexes:u=>{var n;return O(n=t,We,ct).call(n,u)},rindexes:u=>{var n;return O(n=t,Ve,dt).call(n,u)},isStale:u=>{var n;return g(n=t,Se).call(n,u)}}}get max(){return g(this,Me)}get maxSize(){return g(this,Ae)}get calculatedSize(){return g(this,Ne)}get size(){return g(this,ce)}get fetchMethod(){return g(this,Bt)}get memoMethod(){return g(this,Mt)}get dispose(){return g(this,Re)}get disposeAfter(){return g(this,Pe)}getRemainingTTL(t){return g(this,le).has(t)?1/0:0}*entries(){for(const t of O(this,We,ct).call(this))g(this,X)[t]!==void 0&&g(this,te)[t]!==void 0&&!O(this,Q,ee).call(this,g(this,X)[t])&&(yield[g(this,te)[t],g(this,X)[t]])}*rentries(){for(const t of O(this,Ve,dt).call(this))g(this,X)[t]!==void 0&&g(this,te)[t]!==void 0&&!O(this,Q,ee).call(this,g(this,X)[t])&&(yield[g(this,te)[t],g(this,X)[t]])}*keys(){for(const t of O(this,We,ct).call(this)){const u=g(this,te)[t];u!==void 0&&!O(this,Q,ee).call(this,g(this,X)[t])&&(yield u)}}*rkeys(){for(const t of O(this,Ve,dt).call(this)){const u=g(this,te)[t];u!==void 0&&!O(this,Q,ee).call(this,g(this,X)[t])&&(yield u)}}*values(){for(const t of O(this,We,ct).call(this))g(this,X)[t]!==void 0&&!O(this,Q,ee).call(this,g(this,X)[t])&&(yield g(this,X)[t])}*rvalues(){for(const t of O(this,Ve,dt).call(this))g(this,X)[t]!==void 0&&!O(this,Q,ee).call(this,g(this,X)[t])&&(yield g(this,X)[t])}[Symbol.iterator](){return this.entries()}find(t,u={}){for(const n of O(this,We,ct).call(this)){const r=g(this,X)[n],i=O(this,Q,ee).call(this,r)?r.__staleWhileFetching:r;if(i!==void 0&&t(i,g(this,te)[n],this))return this.get(g(this,te)[n],u)}}forEach(t,u=this){for(const n of O(this,We,ct).call(this)){const r=g(this,X)[n],i=O(this,Q,ee).call(this,r)?r.__staleWhileFetching:r;i!==void 0&&t.call(u,i,g(this,te)[n],this)}}rforEach(t,u=this){for(const n of O(this,Ve,dt).call(this)){const r=g(this,X)[n],i=O(this,Q,ee).call(this,r)?r.__staleWhileFetching:r;i!==void 0&&t.call(u,i,g(this,te)[n],this)}}purgeStale(){let t=!1;for(const u of O(this,Ve,dt).call(this,{allowStale:!0}))g(this,Se).call(this,u)&&(O(this,Ge,ft).call(this,g(this,te)[u],"expire"),t=!0);return t}info(t){const u=g(this,le).get(t);if(u===void 0)return;const n=g(this,X)[u],r=O(this,Q,ee).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;const i={value:r};if(g(this,De)&&g(this,Ue)){const o=g(this,De)[u],s=g(this,Ue)[u];if(o&&s){const a=o-(It.now()-s);i.ttl=a,i.start=Date.now()}}return g(this,je)&&(i.size=g(this,je)[u]),i}dump(){const t=[];for(const u of O(this,We,ct).call(this,{allowStale:!0})){const n=g(this,te)[u],r=g(this,X)[u],i=O(this,Q,ee).call(this,r)?r.__staleWhileFetching:r;if(i===void 0||n===void 0)continue;const o={value:i};if(g(this,De)&&g(this,Ue)){o.ttl=g(this,De)[u];const s=It.now()-g(this,Ue)[u];o.start=Math.floor(Date.now()-s)}g(this,je)&&(o.size=g(this,je)[u]),t.unshift([n,o])}return t}load(t){this.clear();for(const[u,n]of t){if(n.start){const r=Date.now()-n.start;n.start=It.now()-r}this.set(u,n.value,n)}}set(t,u,n={}){var h,p,f,b,k;if(u===void 0)return this.delete(t),this;const{ttl:r=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:s=this.sizeCalculation,status:a}=n;let{noUpdateTTL:l=this.noUpdateTTL}=n;const c=g(this,cu).call(this,t,u,n.size||0,s);if(this.maxEntrySize&&c>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),O(this,Ge,ft).call(this,t,"set"),this;let d=g(this,ce)===0?void 0:g(this,le).get(t);if(d===void 0)d=g(this,ce)===0?g(this,fe):g(this,Oe).length!==0?g(this,Oe).pop():g(this,ce)===g(this,Me)?O(this,Pt,Iu).call(this,!1):g(this,ce),g(this,te)[d]=t,g(this,X)[d]=u,g(this,le).set(t,d),g(this,xe)[g(this,fe)]=d,g(this,Ee)[d]=g(this,fe),H(this,fe,d),vu(this,ce)._++,g(this,Rt).call(this,d,c,a),a&&(a.set="add"),l=!1;else{O(this,Dt,Qt).call(this,d);const v=g(this,X)[d];if(u!==v){if(g(this,bt)&&O(this,Q,ee).call(this,v)){v.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=v;y!==void 0&&!o&&(g(this,qe)&&((h=g(this,Re))==null||h.call(this,y,t,"set")),g(this,ve)&&((p=g(this,he))==null||p.push([y,t,"set"])))}else o||(g(this,qe)&&((f=g(this,Re))==null||f.call(this,v,t,"set")),g(this,ve)&&((b=g(this,he))==null||b.push([v,t,"set"])));if(g(this,Et).call(this,d),g(this,Rt).call(this,d,c,a),g(this,X)[d]=u,a){a.set="replace";const y=v&&O(this,Q,ee).call(this,v)?v.__staleWhileFetching:v;y!==void 0&&(a.oldValue=y)}}else a&&(a.set="update")}if(r!==0&&!g(this,De)&&O(this,au,zn).call(this),g(this,De)&&(l||g(this,lu).call(this,d,r,i),a&&g(this,rt).call(this,a,d)),!o&&g(this,ve)&&g(this,he)){const v=g(this,he);let y;for(;y=v==null?void 0:v.shift();)(k=g(this,Pe))==null||k.call(this,...y)}return this}pop(){var t;try{for(;g(this,ce);){const u=g(this,X)[g(this,be)];if(O(this,Pt,Iu).call(this,!0),O(this,Q,ee).call(this,u)){if(u.__staleWhileFetching)return u.__staleWhileFetching}else if(u!==void 0)return u}}finally{if(g(this,ve)&&g(this,he)){const u=g(this,he);let n;for(;n=u==null?void 0:u.shift();)(t=g(this,Pe))==null||t.call(this,...n)}}}has(t,u={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=u,i=g(this,le).get(t);if(i!==void 0){const o=g(this,X)[i];if(O(this,Q,ee).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(g(this,Se).call(this,i))r&&(r.has="stale",g(this,rt).call(this,r,i));else return n&&g(this,At).call(this,i),r&&(r.has="hit",g(this,rt).call(this,r,i)),!0}else r&&(r.has="miss");return!1}peek(t,u={}){const{allowStale:n=this.allowStale}=u,r=g(this,le).get(t);if(r===void 0||!n&&g(this,Se).call(this,r))return;const i=g(this,X)[r];return O(this,Q,ee).call(this,i)?i.__staleWhileFetching:i}async fetch(t,u={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:a=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:f=this.allowStaleOnFetchAbort,context:b,forceRefresh:k=!1,status:v,signal:y}=u;if(!g(this,bt))return v&&(v.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,status:v});const x={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:s,size:a,sizeCalculation:l,noUpdateTTL:c,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:f,ignoreFetchAbort:p,status:v,signal:y};let _=g(this,le).get(t);if(_===void 0){v&&(v.fetch="miss");const A=O(this,Nt,zu).call(this,t,_,x,b);return A.__returned=A}else{const A=g(this,X)[_];if(O(this,Q,ee).call(this,A)){const C=n&&A.__staleWhileFetching!==void 0;return v&&(v.fetch="inflight",C&&(v.returnedStale=!0)),C?A.__staleWhileFetching:A.__returned=A}const T=g(this,Se).call(this,_);if(!k&&!T)return v&&(v.fetch="hit"),O(this,Dt,Qt).call(this,_),r&&g(this,At).call(this,_),v&&g(this,rt).call(this,v,_),A;const I=O(this,Nt,zu).call(this,t,_,x,b),D=I.__staleWhileFetching!==void 0&&n;return v&&(v.fetch=T?"stale":"refresh",D&&T&&(v.returnedStale=!0)),D?I.__staleWhileFetching:I.__returned=I}}async forceFetch(t,u={}){const n=await this.fetch(t,u);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(t,u={}){const n=g(this,Mt);if(!n)throw new Error("no memoMethod provided to constructor");const{context:r,forceRefresh:i,...o}=u,s=this.get(t,o);if(!i&&s!==void 0)return s;const a=n(t,s,{options:o,context:r});return this.set(t,a,o),a}get(t,u={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=u,s=g(this,le).get(t);if(s!==void 0){const a=g(this,X)[s],l=O(this,Q,ee).call(this,a);return o&&g(this,rt).call(this,o,s),g(this,Se).call(this,s)?(o&&(o.get="stale"),l?(o&&n&&a.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?a.__staleWhileFetching:void 0):(i||O(this,Ge,ft).call(this,t,"expire"),o&&n&&(o.returnedStale=!0),n?a:void 0)):(o&&(o.get="hit"),l?a.__staleWhileFetching:(O(this,Dt,Qt).call(this,s),r&&g(this,At).call(this,s),a))}else o&&(o.get="miss")}delete(t){return O(this,Ge,ft).call(this,t,"delete")}clear(){return O(this,hu,Bn).call(this,"delete")}};Hp=Symbol.toStringTag,Me=new WeakMap,Ae=new WeakMap,Re=new WeakMap,Pe=new WeakMap,Bt=new WeakMap,Mt=new WeakMap,ce=new WeakMap,Ne=new WeakMap,le=new WeakMap,te=new WeakMap,X=new WeakMap,xe=new WeakMap,Ee=new WeakMap,be=new WeakMap,fe=new WeakMap,Oe=new WeakMap,he=new WeakMap,je=new WeakMap,Ue=new WeakMap,De=new WeakMap,qe=new WeakMap,bt=new WeakMap,ve=new WeakMap,au=new WeakSet,zn=function(){const t=new Tu(g(this,Me)),u=new Tu(g(this,Me));H(this,De,t),H(this,Ue,u),H(this,lu,(i,o,s=It.now())=>{if(u[i]=o!==0?s:0,t[i]=o,o!==0&&this.ttlAutopurge){const a=setTimeout(()=>{g(this,Se).call(this,i)&&O(this,Ge,ft).call(this,g(this,te)[i],"expire")},o+1);a.unref&&a.unref()}}),H(this,At,i=>{u[i]=t[i]!==0?It.now():0}),H(this,rt,(i,o)=>{if(t[o]){const s=t[o],a=u[o];if(!s||!a)return;i.ttl=s,i.start=a,i.now=n||r();const l=i.now-a;i.remainingTTL=s-l}});let n=0;const r=()=>{const i=It.now();if(this.ttlResolution>0){n=i;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return i};this.getRemainingTTL=i=>{const o=g(this,le).get(i);if(o===void 0)return 0;const s=t[o],a=u[o];if(!s||!a)return 1/0;const l=(n||r())-a;return s-l},H(this,Se,i=>{const o=u[i],s=t[i];return!!s&&!!o&&(n||r())-o>s})},At=new WeakMap,rt=new WeakMap,lu=new WeakMap,Se=new WeakMap,Hu=new WeakSet,Vi=function(){const t=new Tu(g(this,Me));H(this,Ne,0),H(this,je,t),H(this,Et,u=>{H(this,Ne,g(this,Ne)-t[u]),t[u]=0}),H(this,cu,(u,n,r,i)=>{if(O(this,Q,ee).call(this,n))return 0;if(!lt(r))if(i){if(typeof i!="function")throw new TypeError("sizeCalculation must be a function");if(r=i(n,u),!lt(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),H(this,Rt,(u,n,r)=>{if(t[u]=n,g(this,Ae)){const i=g(this,Ae)-t[u];for(;g(this,Ne)>i;)O(this,Pt,Iu).call(this,!0)}H(this,Ne,g(this,Ne)+t[u]),r&&(r.entrySize=n,r.totalCalculatedSize=g(this,Ne))})},Et=new WeakMap,Rt=new WeakMap,cu=new WeakMap,We=new WeakSet,ct=function*({allowStale:t=this.allowStale}={}){if(g(this,ce))for(let u=g(this,fe);!(!O(this,du,Ln).call(this,u)||((t||!g(this,Se).call(this,u))&&(yield u),u===g(this,be)));)u=g(this,Ee)[u]},Ve=new WeakSet,dt=function*({allowStale:t=this.allowStale}={}){if(g(this,ce))for(let u=g(this,be);!(!O(this,du,Ln).call(this,u)||((t||!g(this,Se).call(this,u))&&(yield u),u===g(this,fe)));)u=g(this,xe)[u]},du=new WeakSet,Ln=function(t){return t!==void 0&&g(this,le).get(g(this,te)[t])===t},Pt=new WeakSet,Iu=function(t){var i,o;const u=g(this,be),n=g(this,te)[u],r=g(this,X)[u];return g(this,bt)&&O(this,Q,ee).call(this,r)?r.__abortController.abort(new Error("evicted")):(g(this,qe)||g(this,ve))&&(g(this,qe)&&((i=g(this,Re))==null||i.call(this,r,n,"evict")),g(this,ve)&&((o=g(this,he))==null||o.push([r,n,"evict"]))),g(this,Et).call(this,u),t&&(g(this,te)[u]=void 0,g(this,X)[u]=void 0,g(this,Oe).push(u)),g(this,ce)===1?(H(this,be,H(this,fe,0)),g(this,Oe).length=0):H(this,be,g(this,xe)[u]),g(this,le).delete(n),vu(this,ce)._--,u},Nt=new WeakSet,zu=function(t,u,n,r){const i=u===void 0?void 0:g(this,X)[u];if(O(this,Q,ee).call(this,i))return i;const o=new Nu,{signal:s}=n;s==null||s.addEventListener("abort",()=>o.abort(s.reason),{signal:o.signal});const a={signal:o.signal,options:n,context:r},l=(b,k=!1)=>{const{aborted:v}=o.signal,y=n.ignoreFetchAbort&&b!==void 0;if(n.status&&(v&&!k?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,y&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),v&&!y&&!k)return d(o.signal.reason);const x=p;return g(this,X)[u]===p&&(b===void 0?x.__staleWhileFetching?g(this,X)[u]=x.__staleWhileFetching:O(this,Ge,ft).call(this,t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(t,b,a.options))),b},c=b=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=b),d(b)),d=b=>{const{aborted:k}=o.signal,v=k&&n.allowStaleOnFetchAbort,y=v||n.allowStaleOnFetchRejection,x=y||n.noDeleteOnFetchRejection,_=p;if(g(this,X)[u]===p&&(!x||_.__staleWhileFetching===void 0?O(this,Ge,ft).call(this,t,"fetch"):v||(g(this,X)[u]=_.__staleWhileFetching)),y)return n.status&&_.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),_.__staleWhileFetching;if(_.__returned===_)throw b},h=(b,k)=>{var y;const v=(y=g(this,Bt))==null?void 0:y.call(this,t,i,a);v&&v instanceof Promise&&v.then(x=>b(x===void 0?void 0:x),k),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(b(void 0),n.allowStaleOnFetchAbort&&(b=x=>l(x,!0)))})};n.status&&(n.status.fetchDispatched=!0);const p=new Promise(h).then(l,c),f=Object.assign(p,{__abortController:o,__staleWhileFetching:i,__returned:void 0});return u===void 0?(this.set(t,f,{...a.options,status:void 0}),u=g(this,le).get(t)):g(this,X)[u]=f,f},Q=new WeakSet,ee=function(t){if(!g(this,bt))return!1;const u=t;return!!u&&u instanceof Promise&&u.hasOwnProperty("__staleWhileFetching")&&u.__abortController instanceof Nu},fu=new WeakSet,$n=function(t,u){g(this,Ee)[u]=t,g(this,xe)[t]=u},Dt=new WeakSet,Qt=function(t){t!==g(this,fe)&&(t===g(this,be)?H(this,be,g(this,xe)[t]):O(this,fu,$n).call(this,g(this,Ee)[t],g(this,xe)[t]),O(this,fu,$n).call(this,g(this,fe),t),H(this,fe,t))},Ge=new WeakSet,ft=function(t,u){var r,i,o,s;let n=!1;if(g(this,ce)!==0){const a=g(this,le).get(t);if(a!==void 0)if(n=!0,g(this,ce)===1)O(this,hu,Bn).call(this,u);else{g(this,Et).call(this,a);const l=g(this,X)[a];if(O(this,Q,ee).call(this,l)?l.__abortController.abort(new Error("deleted")):(g(this,qe)||g(this,ve))&&(g(this,qe)&&((r=g(this,Re))==null||r.call(this,l,t,u)),g(this,ve)&&((i=g(this,he))==null||i.push([l,t,u]))),g(this,le).delete(t),g(this,te)[a]=void 0,g(this,X)[a]=void 0,a===g(this,fe))H(this,fe,g(this,Ee)[a]);else if(a===g(this,be))H(this,be,g(this,xe)[a]);else{const c=g(this,Ee)[a];g(this,xe)[c]=g(this,xe)[a];const d=g(this,xe)[a];g(this,Ee)[d]=g(this,Ee)[a]}vu(this,ce)._--,g(this,Oe).push(a)}}if(g(this,ve)&&((o=g(this,he))!=null&&o.length)){const a=g(this,he);let l;for(;l=a==null?void 0:a.shift();)(s=g(this,Pe))==null||s.call(this,...l)}return n},hu=new WeakSet,Bn=function(t){var u,n,r;for(const i of O(this,Ve,dt).call(this,{allowStale:!0})){const o=g(this,X)[i];if(O(this,Q,ee).call(this,o))o.__abortController.abort(new Error("deleted"));else{const s=g(this,te)[i];g(this,qe)&&((u=g(this,Re))==null||u.call(this,o,s,t)),g(this,ve)&&((n=g(this,he))==null||n.push([o,s,t]))}}if(g(this,le).clear(),g(this,X).fill(void 0),g(this,te).fill(void 0),g(this,De)&&g(this,Ue)&&(g(this,De).fill(0),g(this,Ue).fill(0)),g(this,je)&&g(this,je).fill(0),H(this,be,0),H(this,fe,0),g(this,Oe).length=0,H(this,Ne,0),H(this,ce,0),g(this,ve)&&g(this,he)){const i=g(this,he);let o;for(;o=i==null?void 0:i.shift();)(r=g(this,Pe))==null||r.call(this,...o)}};let In=ar;function Qf(e,t){for(var u=0;u<t.length;u++){const n=t[u];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(n,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Jf=(e,t)=>{const u=we("editorId"),{noImgZoomIn:n}=e,r=di(()=>{const i=document.querySelectorAll(`#${u}-preview img:not(.not-zoom):not(.medium-zoom-image)`);i.length!==0&&j0(i,{background:"#00000073"})});Fe(()=>{!n&&e.setting.preview&&r()}),ke([t,ui(e.setting,"preview")],()=>{!n&&e.setting.preview&&r()})},Kf=(e,t,u)=>{const n=we("editorId"),r=we("usedLanguageText"),i=()=>{document.querySelectorAll(`#${n} .${q}-preview .${q}-code`).forEach(a=>{let l=-1;const c=a.querySelector(`.${q}-copy-button`);c&&(c.onclick=d=>{d.preventDefault(),clearTimeout(l);const p=(a.querySelector("input:checked + pre code")||a.querySelector("pre code")).textContent,f=X0(e.formatCopiedText(p)),{text:b,successTips:k,failTips:v}=r.value.copyCode,y=f?k:v;c.dataset.isIcon?c.dataset.tips=y:c.innerHTML=y,l=window.setTimeout(()=>{c.dataset.isIcon?c.dataset.tips=b:c.innerHTML=b},1500)})})},o=()=>{uu(i)},s=a=>{a&&uu(i)};ke([t,u],o),ke(()=>e.setting.preview,s),ke(()=>e.setting.htmlPreview,s),ke(()=>r.value,i),Fe(i)},e1=e=>{const t=we("highlight"),u=Bu(Qe.editorExtensions.highlight.instance);return Fe(()=>{e.noHighlight||u.value||(ot("link",{...t.value.css,rel:"stylesheet",id:`${q}-hlCss`}),ot("script",{...t.value.js,id:`${q}-hljs`,onload(){u.value=window.hljs}},"hljs"))}),ke(()=>t.value.css,()=>{e.noHighlight||I0("link",{...t.value.css,rel:"stylesheet",id:`${q}-hlCss`})}),u},t1=e=>{const t=we("theme"),{editorExtensions:u,editorExtensionsAttrs:n,mermaidConfig:r}=Qe,i=Bu(u.mermaid.instance),o=Bu(-1),s=new In({max:1e3,ttl:6e5}),a=()=>{const c=i.value;!e.noMermaid&&c&&(c.initialize(r({startOnLoad:!1,theme:t.value==="dark"?"dark":"default"})),o.value=o.value+1)};return ke(()=>t.value,()=>{s.clear(),a()}),Fe(()=>{var c,d;if(e.noMermaid||i.value)return;const h=u.mermaid.js;/\.mjs/.test(h)?(ot("link",{...(c=n.mermaid)==null?void 0:c.js,rel:"modulepreload",href:h,id:`${q}-mermaid-m`}),ts(()=>import(h),[],import.meta.url).then(p=>{i.value=p.default,a()})):ot("script",{...(d=n.mermaid)==null?void 0:d.js,src:h,id:`${q}-mermaid`,onload(){i.value=window.mermaid,a()}},"mermaid")}),{mermaidRef:i,reRenderRef:o,replaceMermaid:()=>{uu(()=>{if(!e.noMermaid&&i.value){const c=document.querySelectorAll(`div.${q}-mermaid`),d=document.createElement("div");d.style.width=document.body.offsetWidth+"px",d.style.height=document.body.offsetHeight+"px",d.style.position="fixed",d.style.zIndex="-10000",d.style.top="-10000";let h=c.length;h>0&&document.body.appendChild(d),c.forEach(async p=>{let f=s.get(p.innerText);if(!f){const k=wn(),v=i.value.renderAsync||i.value.render;let y="";try{y=await v(k,p.innerText,d)}catch{}f=await e.sanitizeMermaid(typeof y=="string"?y:y.svg),s.set(p.innerText,f)}const b=document.createElement("p");b.className=`${q}-mermaid`,b.setAttribute("data-processed",""),b.innerHTML=f,p.dataset.line!==void 0&&(b.dataset.line=p.dataset.line),p.replaceWith(b),--h===0&&d.remove()})}})}}},u1=e=>{const t=Bu(Qe.editorExtensions.katex.instance);return Fe(()=>{if(e.noKatex||t.value)return;const{editorExtensions:u}=Qe;ot("script",{src:u.katex.js,id:`${q}-katex`,onload(){t.value=window.katex}},"katex"),ot("link",{rel:"stylesheet",href:u.katex.css,id:`${q}-katexCss`})}),t},n1=(e,t)=>{const u=e.renderer.rules.fence.bind(e.renderer.rules);e.renderer.rules.fence=(n,r,i,o,s)=>{const a=n[r],l=a.content.trim();if(a.info==="mermaid"){let c;return n[r].map&&n[r].level===0&&(c=n[r].map[0],n[r].attrSet("data-line",String(c))),`<div class="${q}-mermaid" ${c!==void 0?"data-line="+c:""} data-mermaid-theme=${t.themeRef.value}>${l}</div>`}return u(n,r,i,o,s)}},r1=n1,Ou=(e,t)=>{const u=e.attrs?e.attrs.slice():[];return t.forEach(n=>{const r=e.attrIndex(n[0]);r<0?u.push(n):(u[r]=u[r].slice(),u[r][1]+=` ${n[1]}`)}),u},Nr=(e,t)=>{let u=!0,n=!0;const r=e.posMax,i=t>0?e.src.charCodeAt(t-1):-1,o=t+1<=r?e.src.charCodeAt(t+1):-1;return(i===32||i===9||o>=48&&o<=57)&&(n=!1),(o===32||o===9)&&(u=!1),{can_open:u,can_close:n}},i1=(e,t)=>{let u,n,r,i;if(e.src[e.pos]!=="$")return!1;if(r=Nr(e,e.pos),!r.can_open)return t||(e.pending+="$"),e.pos+=1,!0;const o=e.pos+1;for(u=o;(u=e.src.indexOf("$",u))!==-1;){for(i=u-1;e.src[i]==="\\";)i-=1;if((u-i)%2==1)break;u+=1}return u===-1?(t||(e.pending+="$"),e.pos=o,!0):u-o===0?(t||(e.pending+="$$"),e.pos=o+1,!0):(r=Nr(e,u),r.can_close?(t||(n=e.push("math_inline","math",0),n.markup="$",n.content=e.src.slice(o,u)),e.pos=u+1,!0):(t||(e.pending+="$"),e.pos=o,!0))},o1=(e,t,u,n)=>{let r,i,o,s,a=!1,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(l+2>c||e.src.slice(l,l+2)!=="$$")return!1;if(l+=2,r=e.src.slice(l,c),n)return!0;for(r.trim().slice(-2)==="$$"&&(r=r.trim().slice(0,-2),a=!0),o=t;!a&&(o++,!(o>=u||(l=e.bMarks[o]+e.tShift[o],c=e.eMarks[o],l<c&&e.tShift[o]<e.blkIndent)));)e.src.slice(l,c).trim().slice(-2)==="$$"&&(s=e.src.slice(0,c).lastIndexOf("$$"),i=e.src.slice(l,s),a=!0);e.line=o+1;const d=e.push("math_block","math",0);return d.block=!0,d.content=(r&&r.trim()?r+`
|
||
`:"")+e.getLines(t+1,o,e.tShift[t],!0)+(i&&i.trim()?i:""),d.map=[t,e.line],d.markup="$$",!0},s1=(e,{katexRef:t})=>{const u=(r,i,o,s,a)=>{const l=r[i],c={attrs:Ou(l,[["class",`${q}-katex-inline`]])};if(t.value){const d=t.value.renderToString(l.content,{throwOnError:!1});return`<span ${a.renderAttrs(c)} data-processed>${d}</span>`}else return`<span ${a.renderAttrs(c)}>${l.content}</span>`},n=(r,i,o,s,a)=>{const l=r[i],c={attrs:Ou(l,[["class",`${q}-katex-block`]])};if(t.value){const d=t.value.renderToString(l.content,{throwOnError:!1,displayMode:!0});return`<p ${a.renderAttrs(c)} data-processed>${d}</p>`}else return`<p ${a.renderAttrs(c)}>${l.content}</p>`};e.inline.ruler.after("escape","math_inline",i1),e.block.ruler.after("blockquote","math_block",o1,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=u,e.renderer.rules.math_block=n},a1=s1,l1=(e,t)=>{t=t||{};const u=3,n=t.marker||"!",r=n.charCodeAt(0),i=n.length;let o="",s="";const a=(c,d,h,p,f)=>{const b=c[d];return b.type==="admonition_open"?c[d].attrPush(["class",`${q}-admonition ${q}-admonition-${b.info}`]):b.type==="admonition_title_open"&&c[d].attrPush(["class",`${q}-admonition-title`]),f.renderToken(c,d,h)},l=c=>{const d=c.trim().split(" ",2);s="",o=d[0],d.length>1&&(s=c.substring(o.length+2))};e.block.ruler.before("code","admonition",(c,d,h,p)=>{let f,b,k,v=!1,y=c.bMarks[d]+c.tShift[d],x=c.eMarks[d];if(r!==c.src.charCodeAt(y))return!1;for(f=y+1;f<=x&&n[(f-y)%i]===c.src[f];f++);const _=Math.floor((f-y)/i);if(_!==u)return!1;f-=(f-y)%i;const A=c.src.slice(y,f),T=c.src.slice(f,x);if(l(T),p)return!0;for(b=d;b++,!(b>=h||(y=c.bMarks[b]+c.tShift[b],x=c.eMarks[b],y<x&&c.sCount[b]<c.blkIndent));)if(r===c.src.charCodeAt(y)&&!(c.sCount[b]-c.blkIndent>=4)){for(f=y+1;f<=x&&n[(f-y)%i]===c.src[f];f++);if(!(Math.floor((f-y)/i)<_)&&(f-=(f-y)%i,f=c.skipSpaces(f),!(f<x))){v=!0;break}}const I=c.parentType,w=c.lineMax;return c.parentType="root",c.lineMax=b,k=c.push("admonition_open","div",1),k.markup=A,k.block=!0,k.info=o,k.map=[d,b],s&&(k=c.push("admonition_title_open","p",1),k.markup=A+" "+o,k.map=[d,b],k=c.push("inline","",0),k.content=s,k.map=[d,c.line-1],k.children=[],k=c.push("admonition_title_close","p",-1),k.markup=A+" "+o),c.md.block.tokenize(c,d+1,b),k=c.push("admonition_close","div",-1),k.markup=c.src.slice(y,f),k.block=!0,c.parentType=I,c.lineMax=w,c.line=b+(v?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.admonition_open=a,e.renderer.rules.admonition_title_open=a,e.renderer.rules.admonition_title_close=a,e.renderer.rules.admonition_close=a},c1=l1,d1=(e,t)=>{e.renderer.rules.heading_open=(u,n)=>{var r;const i=u[n],o=((r=u[n+1].children)==null?void 0:r.reduce((a,l)=>a+(["text","code_inline"].includes(l.type)&&l.content||""),""))||"",s=i.markup.length;return t.headsRef.value.push({text:o,level:s}),i.map&&i.level===0&&i.attrSet("id",t.mdHeadingId(o,s,t.headsRef.value.length)),e.renderer.renderToken(u,n,t)},e.renderer.rules.heading_close=(u,n,r,i,o)=>o.renderToken(u,n,r)},f1=d1,h1=(e,t)=>{if(typeof t[e]=="string")return t[e];const u=`<i class="${q}-iconfont ${q}-icon-${e}"></i>`;switch(Qe.iconfontType){case"svg":return`<svg class="${q}-icon" aria-hidden="true"><use xlink:href="#${q}-icon-${e}"></use></svg>`;default:return u}},g1=h1,p1=(e,t)=>{const u=e.renderer.rules.fence,n=e.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,i=/::(open|close)/,o=d=>d.info?n(d.info).trim():"",s=d=>{const h=o(d),[p=null,f=""]=(r.exec(h)||[]).slice(1);return[p,f]},a=d=>{const h=o(d);return h?h.split(/(\s+)/g)[0]:""},l=d=>{const h=d.info.match(i)||[],p=h[1]==="open"||h[1]!=="close"&&t.codeFoldable&&d.content.trim().split(`
|
||
`).length<t.autoFoldThreshold,f=h[1]||t.codeFoldable?"details":"div",b=h[1]||t.codeFoldable?"summary":"div";return{open:p,tagContainer:f,tagHeader:b}},c=(d,h,p,f,b)=>{var k;if(d[h].hidden)return"";const v=(k=t.usedLanguageTextRef.value)==null?void 0:k.copyCode.text,y=t.customIconRef.value.copy||v,x=!!t.customIconRef.value.copy,_=`<span class="${q}-collapse-tips">${g1("collapse-tips",t.customIconRef.value)}</span>`,[A]=s(d[h]);if(A===null){const{open:Y,tagContainer:se,tagHeader:ye}=l(d[h]),st=[["class",`${q}-code`]];Y&&st.push(["open",""]);const un={attrs:Ou(d[h],st)};d[h].info=d[h].info.replace(i,"");const nn=u(d,h,p,f,b);return`<${se} ${b.renderAttrs(un)}>
|
||
<${ye} class="${q}-code-head">
|
||
<div class="${q}-code-flag"><span></span><span></span><span></span></div>
|
||
<div class="${q}-code-action">
|
||
<span class="${q}-code-lang">${d[h].info.trim()}</span>
|
||
<span class="${q}-copy-button" data-tips="${v}"${x?" data-is-icon=true":""}">${y}</span>
|
||
${se==="details"?_:""}
|
||
</div>
|
||
</${ye}>${nn}</${se}>`}let T,I,w,D,C="",E="",S="";const{open:z,tagContainer:$,tagHeader:B}=l(d[h]),U=[["class",`${q}-code`]];z&&U.push(["open",""]);const J={attrs:Ou(d[h],U)};for(let Y=h;Y<d.length&&(T=d[Y],[I,w]=s(T),I===A);Y++){T.info=T.info.replace(r,"").replace(i,""),T.hidden=!0;const se=`${q}-codetab-${t.editorId}-${h}-${Y-h}`;D=Y-h>0?"":"checked",C+=`<li>
|
||
<input type="radio" name="${q}-codetab-label-${t.editorId}-${h}" class="${se}" ${D}>
|
||
<label onclick="document.querySelectorAll('.${se}').forEach(e => e.click())">${w||a(T)}</label>
|
||
</li>`,E+=`<input type="radio" name="${q}-codetab-pre-${t.editorId}-${h}" class="${se}" ${D}>
|
||
${u(d,Y,p,f,b)}`,S+=`<input type="radio" name="${q}-codetab-lang-${t.editorId}-${h}" class="${se}" ${D}>
|
||
<span class=${q}-code-lang>${a(T)}</span>`}return`<${$} ${b.renderAttrs(J)}>
|
||
<${B} class="${q}-code-head">
|
||
<div class="${q}-code-flag">
|
||
<ul class="${q}-codetab-label">${C}</ul>
|
||
</div>
|
||
<div class="${q}-code-action">
|
||
<span class="${q}-codetab-lang">${S}</span>
|
||
<span class="${q}-copy-button" data-tips="${v}"${x?" data-is-icon=true":""}">${y}</span>
|
||
${$==="details"?_:""}
|
||
</div>
|
||
</${B}>${E}</${$}>`};e.renderer.rules.fence=c,e.renderer.rules.code_block=c},m1=p1;function b1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mn={exports:{}},ie={},Rn={exports:{}},St={};function Gi(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function y1(e,t,u){}function x1(e,t,u){}var v1=/javascript\s*\:/img;function _1(e,t){return v1.test(t)?"":t}St.whiteList=Gi();St.getDefaultWhiteList=Gi;St.onAttr=y1;St.onIgnoreAttr=x1;St.safeAttrValue=_1;var k1={indexOf:function(e,t){var u,n;if(Array.prototype.indexOf)return e.indexOf(t);for(u=0,n=e.length;u<n;u++)if(e[u]===t)return u;return-1},forEach:function(e,t,u){var n,r;if(Array.prototype.forEach)return e.forEach(t,u);for(n=0,r=e.length;n<r;n++)t.call(u,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Zt=k1;function w1(e,t){e=Zt.trimRight(e),e[e.length-1]!==";"&&(e+=";");var u=e.length,n=!1,r=0,i=0,o="";function s(){if(!n){var c=Zt.trim(e.slice(r,i)),d=c.indexOf(":");if(d!==-1){var h=Zt.trim(c.slice(0,d)),p=Zt.trim(c.slice(d+1));if(h){var f=t(r,o.length,h,p,c);f&&(o+=f+"; ")}}}r=i+1}for(;i<u;i++){var a=e[i];if(a==="/"&&e[i+1]==="*"){var l=e.indexOf("*/",i+2);if(l===-1)break;i=l+1,r=i+1,n=!1}else a==="("?n=!0:a===")"?n=!1:a===";"?n||s():a===`
|
||
`&&s()}return Zt.trim(o)}var C1=w1,Cu=St,A1=C1;function Or(e){return e==null}function E1(e){var t={};for(var u in e)t[u]=e[u];return t}function Xi(e){e=E1(e||{}),e.whiteList=e.whiteList||Cu.whiteList,e.onAttr=e.onAttr||Cu.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Cu.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Cu.safeAttrValue,this.options=e}Xi.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,u=t.options,n=u.whiteList,r=u.onAttr,i=u.onIgnoreAttr,o=u.safeAttrValue,s=A1(e,function(a,l,c,d,h){var p=n[c],f=!1;if(p===!0?f=p:typeof p=="function"?f=p(d):p instanceof RegExp&&(f=p.test(d)),f!==!0&&(f=!1),d=o(c,d),!!d){var b={position:l,sourcePosition:a,source:h,isWhite:f};if(f){var k=r(c,d,b);return Or(k)?c+":"+d:k}else{var k=i(c,d,b);if(!Or(k))return k}}});return s};var D1=Xi;(function(e,t){var u=St,n=D1;function r(o,s){var a=new n(s);return a.process(o)}t=e.exports=r,t.FilterCSS=n;for(var i in u)t[i]=u[i];typeof window<"u"&&(window.filterCSS=e.exports)})(Rn,Rn.exports);var er=Rn.exports,tr={indexOf:function(e,t){var u,n;if(Array.prototype.indexOf)return e.indexOf(t);for(u=0,n=e.length;u<n;u++)if(e[u]===t)return u;return-1},forEach:function(e,t,u){var n,r;if(Array.prototype.forEach)return e.forEach(t,u);for(n=0,r=e.length;n<r;n++)t.call(u,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,u=t.exec(e);return u?u.index:-1}},S1=er.FilterCSS,F1=er.getDefaultWhiteList,ju=tr;function Zi(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var Yi=new S1;function T1(e,t,u){}function I1(e,t,u){}function z1(e,t,u){}function L1(e,t,u){}function Qi(e){return e.replace(B1,"<").replace(M1,">")}function $1(e,t,u,n){if(u=no(u),t==="href"||t==="src"){if(u=ju.trim(u),u==="#")return"#";if(!(u.substr(0,7)==="http://"||u.substr(0,8)==="https://"||u.substr(0,7)==="mailto:"||u.substr(0,4)==="tel:"||u.substr(0,11)==="data:image/"||u.substr(0,6)==="ftp://"||u.substr(0,2)==="./"||u.substr(0,3)==="../"||u[0]==="#"||u[0]==="/"))return""}else if(t==="background"){if(Au.lastIndex=0,Au.test(u))return""}else if(t==="style"){if(jr.lastIndex=0,jr.test(u)||(Ur.lastIndex=0,Ur.test(u)&&(Au.lastIndex=0,Au.test(u))))return"";n!==!1&&(n=n||Yi,u=n.process(u))}return u=ro(u),u}var B1=/</g,M1=/>/g,R1=/"/g,P1=/"/g,N1=/&#([a-zA-Z0-9]*);?/gim,O1=/:?/gim,j1=/&newline;?/gim,Au=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,jr=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Ur=/u\s*r\s*l\s*\(.*/gi;function Ji(e){return e.replace(R1,""")}function Ki(e){return e.replace(P1,'"')}function eo(e){return e.replace(N1,function(u,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function to(e){return e.replace(O1,":").replace(j1," ")}function uo(e){for(var t="",u=0,n=e.length;u<n;u++)t+=e.charCodeAt(u)<32?" ":e.charAt(u);return ju.trim(t)}function no(e){return e=Ki(e),e=eo(e),e=to(e),e=uo(e),e}function ro(e){return e=Ji(e),e=Qi(e),e}function U1(){return""}function q1(e,t){typeof t!="function"&&(t=function(){});var u=!Array.isArray(e);function n(o){return u?!0:ju.indexOf(e,o)!==-1}var r=[],i=!1;return{onIgnoreTag:function(o,s,a){if(n(o))if(a.isClosing){var l="[/removed]",c=a.position+l.length;return r.push([i!==!1?i:a.position,c]),i=!1,l}else return i||(i=a.position),"[removed]";else return t(o,s,a)},remove:function(o){var s="",a=0;return ju.forEach(r,function(l){s+=o.slice(a,l[0]),a=l[1]}),s+=o.slice(a),s}}}function H1(e){for(var t="",u=0;u<e.length;){var n=e.indexOf("<!--",u);if(n===-1){t+=e.slice(u);break}t+=e.slice(u,n);var r=e.indexOf("-->",n);if(r===-1)break;u=r+3}return t}function W1(e){var t=e.split("");return t=t.filter(function(u){var n=u.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),t.join("")}ie.whiteList=Zi();ie.getDefaultWhiteList=Zi;ie.onTag=T1;ie.onIgnoreTag=I1;ie.onTagAttr=z1;ie.onIgnoreTagAttr=L1;ie.safeAttrValue=$1;ie.escapeHtml=Qi;ie.escapeQuote=Ji;ie.unescapeQuote=Ki;ie.escapeHtmlEntities=eo;ie.escapeDangerHtml5Entities=to;ie.clearNonPrintableCharacter=uo;ie.friendlyAttrValue=no;ie.escapeAttrValue=ro;ie.onIgnoreTagStripAll=U1;ie.StripTagBody=q1;ie.stripCommentTag=H1;ie.stripBlankChar=W1;ie.attributeWrapSign='"';ie.cssFilter=Yi;ie.getDefaultCSSWhiteList=F1;var Qu={},pt=tr;function V1(e){var t=pt.spaceIndex(e),u;return t===-1?u=e.slice(1,-1):u=e.slice(1,t+1),u=pt.trim(u).toLowerCase(),u.slice(0,1)==="/"&&(u=u.slice(1)),u.slice(-1)==="/"&&(u=u.slice(0,-1)),u}function G1(e){return e.slice(0,2)==="</"}function X1(e,t,u){var n="",r=0,i=!1,o=!1,s=0,a=e.length,l="",c="";e:for(s=0;s<a;s++){var d=e.charAt(s);if(i===!1){if(d==="<"){i=s;continue}}else if(o===!1){if(d==="<"){n+=u(e.slice(r,s)),i=s,r=s;continue}if(d===">"||s===a-1){n+=u(e.slice(r,i)),c=e.slice(i,s+1),l=V1(c),n+=t(i,n.length,l,c,G1(c)),r=s+1,i=!1;continue}if(d==='"'||d==="'")for(var h=1,p=e.charAt(s-h);p.trim()===""||p==="=";){if(p==="="){o=d;continue e}p=e.charAt(s-++h)}}else if(d===o){o=!1;continue}}return r<a&&(n+=u(e.substr(r))),n}var Z1=/[^a-zA-Z0-9\\_:.-]/gim;function Y1(e,t){var u=0,n=0,r=[],i=!1,o=e.length;function s(h,p){if(h=pt.trim(h),h=h.replace(Z1,"").toLowerCase(),!(h.length<1)){var f=t(h,p||"");f&&r.push(f)}}for(var a=0;a<o;a++){var l=e.charAt(a),c,d;if(i===!1&&l==="="){i=e.slice(u,a),u=a+1,n=e.charAt(u)==='"'||e.charAt(u)==="'"?u:J1(e,a+1);continue}if(i!==!1&&a===n){if(d=e.indexOf(l,a+1),d===-1)break;c=pt.trim(e.slice(n+1,d)),s(i,c),i=!1,a=d,u=a+1;continue}if(/\s|\n|\t/.test(l))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(d=Q1(e,a),d===-1){c=pt.trim(e.slice(u,a)),s(c),i=!1,u=a+1;continue}else{a=d-1;continue}else if(d=K1(e,a-1),d===-1){c=pt.trim(e.slice(u,a)),c=qr(c),s(i,c),i=!1,u=a+1;continue}else continue}return u<e.length&&(i===!1?s(e.slice(u)):s(i,qr(pt.trim(e.slice(u))))),pt.trim(r.join(" "))}function Q1(e,t){for(;t<e.length;t++){var u=e[t];if(u!==" ")return u==="="?t:-1}}function J1(e,t){for(;t<e.length;t++){var u=e[t];if(u!==" ")return u==="'"||u==='"'?t:-1}}function K1(e,t){for(;t>0;t--){var u=e[t];if(u!==" ")return u==="="?t:-1}}function eh(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function qr(e){return eh(e)?e.substr(1,e.length-2):e}Qu.parseTag=X1;Qu.parseAttr=Y1;var th=er.FilterCSS,ze=ie,io=Qu,uh=io.parseTag,nh=io.parseAttr,Lu=tr;function Eu(e){return e==null}function rh(e){var t=Lu.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=Lu.trim(e.slice(t+1,-1));var u=e[e.length-1]==="/";return u&&(e=Lu.trim(e.slice(0,-1))),{html:e,closing:u}}function ih(e){var t={};for(var u in e)t[u]=e[u];return t}function oh(e){var t={};for(var u in e)Array.isArray(e[u])?t[u.toLowerCase()]=e[u].map(function(n){return n.toLowerCase()}):t[u.toLowerCase()]=e[u];return t}function oo(e){e=ih(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=ze.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=oh(e.whiteList||e.allowList):e.whiteList=ze.whiteList,this.attributeWrapSign=e.singleQuotedAttributeValue===!0?"'":ze.attributeWrapSign,e.onTag=e.onTag||ze.onTag,e.onTagAttr=e.onTagAttr||ze.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||ze.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||ze.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||ze.safeAttrValue,e.escapeHtml=e.escapeHtml||ze.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new th(e.css))}oo.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,u=t.options,n=u.whiteList,r=u.onTag,i=u.onIgnoreTag,o=u.onTagAttr,s=u.onIgnoreTagAttr,a=u.safeAttrValue,l=u.escapeHtml,c=t.attributeWrapSign,d=t.cssFilter;u.stripBlankChar&&(e=ze.stripBlankChar(e)),u.allowCommentTag||(e=ze.stripCommentTag(e));var h=!1;u.stripIgnoreTagBody&&(h=ze.StripTagBody(u.stripIgnoreTagBody,i),i=h.onIgnoreTag);var p=uh(e,function(f,b,k,v,y){var x={sourcePosition:f,position:b,isClosing:y,isWhite:Object.prototype.hasOwnProperty.call(n,k)},_=r(k,v,x);if(!Eu(_))return _;if(x.isWhite){if(x.isClosing)return"</"+k+">";var A=rh(v),T=n[k],I=nh(A.html,function(w,D){var C=Lu.indexOf(T,w)!==-1,E=o(k,w,D,C);return Eu(E)?C?(D=a(k,w,D,d),D?w+"="+c+D+c:w):(E=s(k,w,D,C),Eu(E)?void 0:E):E});return v="<"+k,I&&(v+=" "+I),A.closing&&(v+=" /"),v+=">",v}else return _=i(k,v,x),Eu(_)?l(v):_},l);return h&&(p=h.remove(p)),p};var sh=oo;(function(e,t){var u=ie,n=Qu,r=sh;function i(s,a){var l=new r(a);return l.process(s)}t=e.exports=i,t.filterXSS=i,t.FilterXSS=r,function(){for(var s in u)t[s]=u[s];for(var a in n)t[a]=n[a]}(),typeof window<"u"&&(window.filterXSS=e.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=e.exports)})(Mn,Mn.exports);var Kt=Mn.exports;const ah=b1(Kt),lh=Qf({__proto__:null,default:ah},[Kt]),Hr={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},ch=(e,t)=>{const{extendedWhiteList:u={},xss:n={}}=t;let r;if(typeof n=="function")r=new Kt.FilterXSS(n(lh));else{const i=Kt.getDefaultWhiteList();[...Object.keys(u),...Object.keys(Hr)].forEach(s=>{const a=i[s]||[],l=Hr[s]||[],c=u[s]||[];i[s]=[...new Set([...a,...l,...c])]}),r=new Kt.FilterXSS({whiteList:i,...n})}e.core.ruler.after("linkify","xss",i=>{for(let o=0;o<i.tokens.length;o++){const s=i.tokens[o];switch(s.type){case"html_block":{s.content=r.process(s.content);break}case"inline":{(s.children||[]).forEach(l=>{l.type==="html_inline"&&(l.content=r.process(l.content))});break}}}})},dh=ch,fh=e=>{e.core.ruler.push("init-line-number",t=>(t.tokens.forEach(u=>{u.map&&(u.attrs||(u.attrs=[]),u.attrs.push(["data-line",u.map[0].toString()]))}),!0))},hh=(e,t)=>{const{editorConfig:u,markdownItConfig:n,markdownItPlugins:r}=Qe,i=we("editorId"),o=we("language"),s=we("usedLanguageText"),a=we("showCodeRowNumber"),l=we("theme"),c=we("customIcon"),d=j([]),h=e1(e),p=u1(e),{reRenderRef:f,replaceMermaid:b}=t1(e),k=Le({html:!0,breaks:!0,linkify:!0});n(k,{editorId:i});const v=[{type:"image",plugin:Mf,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:c1,options:{}},{type:"taskList",plugin:Zf,options:{}},{type:"heading",plugin:f1,options:{mdHeadingId:e.mdHeadingId,headsRef:d}},{type:"code",plugin:m1,options:{editorId:i,usedLanguageTextRef:s,codeFoldable:e.codeFoldable,autoFoldThreshold:e.autoFoldThreshold,customIconRef:c}},{type:"xss",plugin:dh,options:{}}];e.noKatex||v.push({type:"katex",plugin:a1,options:{katexRef:p}}),e.noMermaid||v.push({type:"mermaid",plugin:r1,options:{themeRef:l}}),r(v,{editorId:i}).forEach(w=>{k.use(w.plugin,w.options)});const y=k.options.highlight;k.set({highlight:(w,D,C)=>{if(y){const z=y(w,D,C);if(z)return z}let E;!e.noHighlight&&h.value?h.value.getLanguage(D)?E=h.value.highlight(w,{language:D,ignoreIllegals:!0}).value:E=h.value.highlightAuto(w).value:E=k.utils.escapeHtml(w);const S=a?L0(E.replace(/^\n+|\n+$/g,"")):`<span class="${q}-code-block">${E.replace(/^\n+|\n+$/g,"")}</span>`;return`<pre><code class="language-${D}" language=${D}>${S}</code></pre>`}}),fh(k);const x=j(`_article-key_${wn()}`),_=j(e.sanitize(k.render(e.modelValue))),A=()=>{ht.emit(i,F0,_.value),e.onHtmlChanged(_.value),e.onGetCatalog(d.value),ht.emit(i,ln,d.value),b()};Fe(A);const T=()=>{d.value=[],_.value=e.sanitize(k.render(e.modelValue)),A()},I=M(()=>(e.noKatex||p.value)&&(e.noHighlight||h.value));return ke([ui(e,"modelValue"),I,f,o],di(T,t?0:u.renderDelay)),ke(()=>e.setting.preview,()=>{e.setting.preview&&uu(()=>{ht.emit(i,ln,d.value)})}),Fe(()=>{ht.on(i,{name:T0,callback(){ht.emit(i,ln,d.value)}}),ht.on(i,{name:hi,callback:()=>{x.value=`_article-key_${wn()}`,T()}})}),{html:_,key:x}},gh=hh,so={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:e=>e},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:e=>e},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number}};({...so});const ph=me({name:"ContentPreview",props:so,setup(e){const t=we("editorId"),u=we("previewTheme"),n=we("showCodeRowNumber"),{html:r,key:i}=gh(e,e.previewOnly);return Kf(e,r,i),Jf(e,r),()=>W(Ye,null,[e.setting.preview&&W("div",{id:`${t}-preview-wrapper`,class:`${q}-preview-wrapper`,key:"content-preview-wrapper"},[W("div",{key:i.value,id:`${t}-preview`,class:[`${q}-preview`,`${u==null?void 0:u.value}-theme`,n&&`${q}-scrn`],innerHTML:r.value},null)]),!e.previewOnly&&e.setting.htmlPreview&&W("div",{id:`${t}-html-wrapper`,class:`${q}-preview-wrapper`,key:"html-preview-wrapper"},[W("div",{class:`${q}-html`},[r.value])])])}}),mh=e=>{const{editorId:t}=e,u=Qe.editorExtensions.highlight,n=Qe.editorExtensionsAttrs.highlight;at("editorId",t),at("theme",M(()=>e.theme)),at("language",M(()=>e.language)),at("highlight",M(()=>{const{js:i}=u,o={...Cn,...u.css},{js:s,css:a={}}=n||{},l=e.codeStyleReverse&&e.codeStyleReverseList.includes(e.previewTheme)?"dark":e.theme,c=o[e.codeTheme]?o[e.codeTheme][l]:Cn.atom[l],d=o[e.codeTheme]&&a[e.codeTheme]?a[e.codeTheme][l]:a.atom?a.atom[l]:{};return{js:{src:i,...s},css:{href:c,...d}}})),at("showCodeRowNumber",e.showCodeRowNumber);const r=M(()=>{const i={...gr,...Qe.editorConfig.languageUserDefined};return fi(Yt(gr["en-US"]),i[e.language]||{})});at("usedLanguageText",r),at("previewTheme",M(()=>e.previewTheme)),at("customIcon",M(()=>e.customIcon))},bh=e=>{Fe(()=>{const{editorExtensions:t,editorExtensionsAttrs:u,iconfontType:n}=Qe;e.noIconfont||(n==="svg"?ot("script",{...u.iconfont,src:t.iconfont,id:`${q}-icon`}):ot("link",{...u.iconfontClass,rel:"stylesheet",href:t.iconfontClass,id:`${q}-icon-class`}))})},yh=e=>e,ao={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:()=>$0("md-editor-v3_")},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:yh},sanitize:{type:Function,default:e=>e},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:e=>e},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:e=>Promise.resolve(e)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30}};({...ao});const lo=["onHtmlChanged","onGetCatalog"];[...lo];const xh=(e,t)=>{const{editorId:u}=e,n={rerender(){ht.emit(u,hi)}};t.expose(n)},$u=me({name:"MdPreview",props:ao,emits:lo,setup(e,t){const{editorId:u,noKatex:n,noMermaid:r,noHighlight:i}=e;return mh(e),bh(e),xh(e,t),qn(()=>{ht.clear(u)}),()=>W("div",{id:u,class:[q,e.class,e.theme==="dark"&&`${q}-dark`,`${q}-previewOnly`],style:e.style},[W(ph,{modelValue:e.modelValue,onHtmlChanged:o=>{e.onHtmlChanged?e.onHtmlChanged(o):t.emit("onHtmlChanged",o)},onGetCatalog:o=>{e.onGetCatalog?e.onGetCatalog(o):t.emit("onGetCatalog",o)},mdHeadingId:e.mdHeadingId,noMermaid:r,sanitize:e.sanitize,noKatex:n,formatCopiedText:e.formatCopiedText,noHighlight:i,noImgZoomIn:e.noImgZoomIn,previewOnly:!0,sanitizeMermaid:e.sanitizeMermaid,codeFoldable:e.codeFoldable,autoFoldThreshold:e.autoFoldThreshold},null)])}});$u.install=e=>(e.component($u.name,$u),e);const vh={key:0,class:"fixed inset-0 z-50 px-2 flex items-center justify-center bg-black bg-opacity-50"},_h={class:"bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] flex flex-col relative"},kh={class:"flex justify-between items-center mb-3"},wh={key:0,class:"w-1/3 bg-gray-300 dark:bg-gray-700 h-6 rounded"},Ch={key:1,class:"text-xl"},Ah={class:"flex-1 overflow-y-auto"},Eh={key:0,class:"space-y-2"},Dh={class:"flex justify-end mt-3"},Sh="preview-only",Fh=me({__name:"NoticeDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=j({noticeInfo:"",noticeTitle:""}),n=ei(),r=$e(),i=j(!0),o=M(()=>n.theme==="dark"),s=M(()=>u.value.noticeInfo?u.value.noticeInfo:"");function a(){r.updateNoticeDialog(!1)}async function l(){const h=await h0(),{success:p,data:f}=h;p&&(u.value=f)}async function c(){i.value=!0,await l(),i.value=!1}function d(){r.updateNoticeDialog(!1),ti.set("showNotice",Date.now()+24*60*60*1e3)}return ke(()=>t.visible,h=>{h&&c()}),(h,p)=>t.visible?(L(),P("div",vh,[m("div",_h,[W(F(_t),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:a}),m("div",kh,[i.value?(L(),P("div",wh)):(L(),P("span",Ch,N(u.value.noticeTitle),1))]),m("div",Ah,[i.value?(L(),P("div",Eh,[(L(),P(Ye,null,it(10,f=>m("div",{key:f,class:"bg-gray-300 dark:bg-gray-900 h-4 rounded"})),64))])):(L(),ne(F($u),{key:1,editorId:Sh,modelValue:s.value,theme:o.value?"dark":"light",class:"dark:bg-gray-900"},null,8,["modelValue","theme"]))]),m("div",Dh,[m("button",{onClick:d,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500"},[m("span",null,N(F(R)("notice.doNotRemind24h")),1)])])])])):V("",!0)}}),Wr=""+new URL("alipay-eab94eb8.png",import.meta.url).href,Vr=""+new URL("wxpay-2d8f84af.png",import.meta.url).href;var bu={},Th=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},co={},Ie={};let ur;const Ih=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Ie.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Ie.getSymbolTotalCodewords=function(t){return Ih[t]};Ie.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Ie.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');ur=t};Ie.isKanjiModeEnabled=function(){return typeof ur<"u"};Ie.toSJIS=function(t){return ur(t)};var Ju={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(u){if(typeof u!="string")throw new Error("Param is not a string");switch(u.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+u)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,r){if(e.isValid(n))return n;try{return t(n)}catch{return r}}})(Ju);function fo(){this.buffer=[],this.length=0}fo.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let u=0;u<t;u++)this.putBit((e>>>t-u-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var zh=fo;function yu(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}yu.prototype.set=function(e,t,u,n){const r=e*this.size+t;this.data[r]=u,n&&(this.reservedBit[r]=!0)};yu.prototype.get=function(e,t){return this.data[e*this.size+t]};yu.prototype.xor=function(e,t,u){this.data[e*this.size+t]^=u};yu.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Lh=yu,ho={};(function(e){const t=Ie.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const r=Math.floor(n/7)+2,i=t(n),o=i===145?26:Math.ceil((i-13)/(2*r-2))*2,s=[i-7];for(let a=1;a<r-1;a++)s[a]=s[a-1]-o;return s.push(6),s.reverse()},e.getPositions=function(n){const r=[],i=e.getRowColCoords(n),o=i.length;for(let s=0;s<o;s++)for(let a=0;a<o;a++)s===0&&a===0||s===0&&a===o-1||s===o-1&&a===0||r.push([i[s],i[a]]);return r}})(ho);var go={};const $h=Ie.getSymbolSize,Gr=7;go.getPositions=function(t){const u=$h(t);return[[0,0],[u-Gr,0],[0,u-Gr]]};var po={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const i=r.size;let o=0,s=0,a=0,l=null,c=null;for(let d=0;d<i;d++){s=a=0,l=c=null;for(let h=0;h<i;h++){let p=r.get(d,h);p===l?s++:(s>=5&&(o+=t.N1+(s-5)),l=p,s=1),p=r.get(h,d),p===c?a++:(a>=5&&(o+=t.N1+(a-5)),c=p,a=1)}s>=5&&(o+=t.N1+(s-5)),a>=5&&(o+=t.N1+(a-5))}return o},e.getPenaltyN2=function(r){const i=r.size;let o=0;for(let s=0;s<i-1;s++)for(let a=0;a<i-1;a++){const l=r.get(s,a)+r.get(s,a+1)+r.get(s+1,a)+r.get(s+1,a+1);(l===4||l===0)&&o++}return o*t.N2},e.getPenaltyN3=function(r){const i=r.size;let o=0,s=0,a=0;for(let l=0;l<i;l++){s=a=0;for(let c=0;c<i;c++)s=s<<1&2047|r.get(l,c),c>=10&&(s===1488||s===93)&&o++,a=a<<1&2047|r.get(c,l),c>=10&&(a===1488||a===93)&&o++}return o*t.N3},e.getPenaltyN4=function(r){let i=0;const o=r.data.length;for(let a=0;a<o;a++)i+=r.data[a];return Math.abs(Math.ceil(i*100/o/5)-10)*t.N4};function u(n,r,i){switch(n){case e.Patterns.PATTERN000:return(r+i)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(r+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return r*i%2+r*i%3===0;case e.Patterns.PATTERN110:return(r*i%2+r*i%3)%2===0;case e.Patterns.PATTERN111:return(r*i%3+(r+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(r,i){const o=i.size;for(let s=0;s<o;s++)for(let a=0;a<o;a++)i.isReserved(a,s)||i.xor(a,s,u(r,a,s))},e.getBestMask=function(r,i){const o=Object.keys(e.Patterns).length;let s=0,a=1/0;for(let l=0;l<o;l++){i(l),e.applyMask(l,r);const c=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(l,r),c<a&&(a=c,s=l)}return s}})(po);var Ku={};const xt=Ju,Du=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Su=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Ku.getBlocksCount=function(t,u){switch(u){case xt.L:return Du[(t-1)*4+0];case xt.M:return Du[(t-1)*4+1];case xt.Q:return Du[(t-1)*4+2];case xt.H:return Du[(t-1)*4+3];default:return}};Ku.getTotalCodewordsCount=function(t,u){switch(u){case xt.L:return Su[(t-1)*4+0];case xt.M:return Su[(t-1)*4+1];case xt.Q:return Su[(t-1)*4+2];case xt.H:return Su[(t-1)*4+3];default:return}};var mo={},en={};const eu=new Uint8Array(512),Uu=new Uint8Array(256);(function(){let t=1;for(let u=0;u<255;u++)eu[u]=t,Uu[t]=u,t<<=1,t&256&&(t^=285);for(let u=255;u<512;u++)eu[u]=eu[u-255]})();en.log=function(t){if(t<1)throw new Error("log("+t+")");return Uu[t]};en.exp=function(t){return eu[t]};en.mul=function(t,u){return t===0||u===0?0:eu[Uu[t]+Uu[u]]};(function(e){const t=en;e.mul=function(n,r){const i=new Uint8Array(n.length+r.length-1);for(let o=0;o<n.length;o++)for(let s=0;s<r.length;s++)i[o+s]^=t.mul(n[o],r[s]);return i},e.mod=function(n,r){let i=new Uint8Array(n);for(;i.length-r.length>=0;){const o=i[0];for(let a=0;a<r.length;a++)i[a]^=t.mul(r[a],o);let s=0;for(;s<i.length&&i[s]===0;)s++;i=i.slice(s)}return i},e.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let i=0;i<n;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}})(mo);const bo=mo;function nr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}nr.prototype.initialize=function(t){this.degree=t,this.genPoly=bo.generateECPolynomial(this.degree)};nr.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const u=new Uint8Array(t.length+this.degree);u.set(t);const n=bo.mod(u,this.genPoly),r=this.degree-n.length;if(r>0){const i=new Uint8Array(this.degree);return i.set(n,r),i}return n};var Bh=nr,yo={},kt={},rr={};rr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var ut={};const xo="[0-9]+",Mh="[A-Z $%*+\\-./:]+";let su="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";su=su.replace(/u/g,"\\u");const Rh="(?:(?![A-Z0-9 $%*+\\-./:]|"+su+`)(?:.|[\r
|
||
]))+`;ut.KANJI=new RegExp(su,"g");ut.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");ut.BYTE=new RegExp(Rh,"g");ut.NUMERIC=new RegExp(xo,"g");ut.ALPHANUMERIC=new RegExp(Mh,"g");const Ph=new RegExp("^"+su+"$"),Nh=new RegExp("^"+xo+"$"),Oh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ut.testKanji=function(t){return Ph.test(t)};ut.testNumeric=function(t){return Nh.test(t)};ut.testAlphanumeric=function(t){return Oh.test(t)};(function(e){const t=rr,u=ut;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,o){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!t.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?i.ccBits[0]:o<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return u.testNumeric(i)?e.NUMERIC:u.testAlphanumeric(i)?e.ALPHANUMERIC:u.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function n(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(i,o){if(e.isValid(i))return i;try{return n(i)}catch{return o}}})(kt);(function(e){const t=Ie,u=Ku,n=Ju,r=kt,i=rr,o=7973,s=t.getBCHDigit(o);function a(h,p,f){for(let b=1;b<=40;b++)if(p<=e.getCapacity(b,f,h))return b}function l(h,p){return r.getCharCountIndicator(h,p)+4}function c(h,p){let f=0;return h.forEach(function(b){const k=l(b.mode,p);f+=k+b.getBitsLength()}),f}function d(h,p){for(let f=1;f<=40;f++)if(c(h,f)<=e.getCapacity(f,p,r.MIXED))return f}e.from=function(p,f){return i.isValid(p)?parseInt(p,10):f},e.getCapacity=function(p,f,b){if(!i.isValid(p))throw new Error("Invalid QR Code version");typeof b>"u"&&(b=r.BYTE);const k=t.getSymbolTotalCodewords(p),v=u.getTotalCodewordsCount(p,f),y=(k-v)*8;if(b===r.MIXED)return y;const x=y-l(b,p);switch(b){case r.NUMERIC:return Math.floor(x/10*3);case r.ALPHANUMERIC:return Math.floor(x/11*2);case r.KANJI:return Math.floor(x/13);case r.BYTE:default:return Math.floor(x/8)}},e.getBestVersionForData=function(p,f){let b;const k=n.from(f,n.M);if(Array.isArray(p)){if(p.length>1)return d(p,k);if(p.length===0)return 1;b=p[0]}else b=p;return a(b.mode,b.getLength(),k)},e.getEncodedBits=function(p){if(!i.isValid(p)||p<7)throw new Error("Invalid QR Code version");let f=p<<12;for(;t.getBCHDigit(f)-s>=0;)f^=o<<t.getBCHDigit(f)-s;return p<<12|f}})(yo);var vo={};const Pn=Ie,_o=1335,jh=21522,Xr=Pn.getBCHDigit(_o);vo.getEncodedBits=function(t,u){const n=t.bit<<3|u;let r=n<<10;for(;Pn.getBCHDigit(r)-Xr>=0;)r^=_o<<Pn.getBCHDigit(r)-Xr;return(n<<10|r)^jh};var ko={};const Uh=kt;function Ut(e){this.mode=Uh.NUMERIC,this.data=e.toString()}Ut.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Ut.prototype.getLength=function(){return this.data.length};Ut.prototype.getBitsLength=function(){return Ut.getBitsLength(this.data.length)};Ut.prototype.write=function(t){let u,n,r;for(u=0;u+3<=this.data.length;u+=3)n=this.data.substr(u,3),r=parseInt(n,10),t.put(r,10);const i=this.data.length-u;i>0&&(n=this.data.substr(u),r=parseInt(n,10),t.put(r,i*3+1))};var qh=Ut;const Hh=kt,bn=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function qt(e){this.mode=Hh.ALPHANUMERIC,this.data=e}qt.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};qt.prototype.getLength=function(){return this.data.length};qt.prototype.getBitsLength=function(){return qt.getBitsLength(this.data.length)};qt.prototype.write=function(t){let u;for(u=0;u+2<=this.data.length;u+=2){let n=bn.indexOf(this.data[u])*45;n+=bn.indexOf(this.data[u+1]),t.put(n,11)}this.data.length%2&&t.put(bn.indexOf(this.data[u]),6)};var Wh=qt,Vh=function(t){for(var u=[],n=t.length,r=0;r<n;r++){var i=t.charCodeAt(r);if(i>=55296&&i<=56319&&n>r+1){var o=t.charCodeAt(r+1);o>=56320&&o<=57343&&(i=(i-55296)*1024+o-56320+65536,r+=1)}if(i<128){u.push(i);continue}if(i<2048){u.push(i>>6|192),u.push(i&63|128);continue}if(i<55296||i>=57344&&i<65536){u.push(i>>12|224),u.push(i>>6&63|128),u.push(i&63|128);continue}if(i>=65536&&i<=1114111){u.push(i>>18|240),u.push(i>>12&63|128),u.push(i>>6&63|128),u.push(i&63|128);continue}u.push(239,191,189)}return new Uint8Array(u).buffer};const Gh=Vh,Xh=kt;function Ht(e){this.mode=Xh.BYTE,typeof e=="string"&&(e=Gh(e)),this.data=new Uint8Array(e)}Ht.getBitsLength=function(t){return t*8};Ht.prototype.getLength=function(){return this.data.length};Ht.prototype.getBitsLength=function(){return Ht.getBitsLength(this.data.length)};Ht.prototype.write=function(e){for(let t=0,u=this.data.length;t<u;t++)e.put(this.data[t],8)};var Zh=Ht;const Yh=kt,Qh=Ie;function Wt(e){this.mode=Yh.KANJI,this.data=e}Wt.getBitsLength=function(t){return t*13};Wt.prototype.getLength=function(){return this.data.length};Wt.prototype.getBitsLength=function(){return Wt.getBitsLength(this.data.length)};Wt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let u=Qh.toSJIS(this.data[t]);if(u>=33088&&u<=40956)u-=33088;else if(u>=57408&&u<=60351)u-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
||
Make sure your charset is UTF-8`);u=(u>>>8&255)*192+(u&255),e.put(u,13)}};var Jh=Wt,wo={exports:{}};(function(e){var t={single_source_shortest_paths:function(u,n,r){var i={},o={};o[n]=0;var s=t.PriorityQueue.make();s.push(n,0);for(var a,l,c,d,h,p,f,b,k;!s.empty();){a=s.pop(),l=a.value,d=a.cost,h=u[l]||{};for(c in h)h.hasOwnProperty(c)&&(p=h[c],f=d+p,b=o[c],k=typeof o[c]>"u",(k||b>f)&&(o[c]=f,s.push(c,f),i[c]=l))}if(typeof r<"u"&&typeof o[r]>"u"){var v=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(v)}return i},extract_shortest_path_from_predecessor_list:function(u,n){for(var r=[],i=n;i;)r.push(i),u[i],i=u[i];return r.reverse(),r},find_path:function(u,n,r){var i=t.single_source_shortest_paths(u,n,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(u){var n=t.PriorityQueue,r={},i;u=u||{};for(i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);return r.queue=[],r.sorter=u.sorter||n.default_sorter,r},default_sorter:function(u,n){return u.cost-n.cost},push:function(u,n){var r={value:u,cost:n};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(wo);var Kh=wo.exports;(function(e){const t=kt,u=qh,n=Wh,r=Zh,i=Jh,o=ut,s=Ie,a=Kh;function l(v){return unescape(encodeURIComponent(v)).length}function c(v,y,x){const _=[];let A;for(;(A=v.exec(x))!==null;)_.push({data:A[0],index:A.index,mode:y,length:A[0].length});return _}function d(v){const y=c(o.NUMERIC,t.NUMERIC,v),x=c(o.ALPHANUMERIC,t.ALPHANUMERIC,v);let _,A;return s.isKanjiModeEnabled()?(_=c(o.BYTE,t.BYTE,v),A=c(o.KANJI,t.KANJI,v)):(_=c(o.BYTE_KANJI,t.BYTE,v),A=[]),y.concat(x,_,A).sort(function(I,w){return I.index-w.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function h(v,y){switch(y){case t.NUMERIC:return u.getBitsLength(v);case t.ALPHANUMERIC:return n.getBitsLength(v);case t.KANJI:return i.getBitsLength(v);case t.BYTE:return r.getBitsLength(v)}}function p(v){return v.reduce(function(y,x){const _=y.length-1>=0?y[y.length-1]:null;return _&&_.mode===x.mode?(y[y.length-1].data+=x.data,y):(y.push(x),y)},[])}function f(v){const y=[];for(let x=0;x<v.length;x++){const _=v[x];switch(_.mode){case t.NUMERIC:y.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:y.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:y.push([_,{data:_.data,mode:t.BYTE,length:l(_.data)}]);break;case t.BYTE:y.push([{data:_.data,mode:t.BYTE,length:l(_.data)}])}}return y}function b(v,y){const x={},_={start:{}};let A=["start"];for(let T=0;T<v.length;T++){const I=v[T],w=[];for(let D=0;D<I.length;D++){const C=I[D],E=""+T+D;w.push(E),x[E]={node:C,lastCount:0},_[E]={};for(let S=0;S<A.length;S++){const z=A[S];x[z]&&x[z].node.mode===C.mode?(_[z][E]=h(x[z].lastCount+C.length,C.mode)-h(x[z].lastCount,C.mode),x[z].lastCount+=C.length):(x[z]&&(x[z].lastCount=C.length),_[z][E]=h(C.length,C.mode)+4+t.getCharCountIndicator(C.mode,y))}}A=w}for(let T=0;T<A.length;T++)_[A[T]].end=0;return{map:_,table:x}}function k(v,y){let x;const _=t.getBestModeForData(v);if(x=t.from(y,_),x!==t.BYTE&&x.bit<_.bit)throw new Error('"'+v+'" cannot be encoded with mode '+t.toString(x)+`.
|
||
Suggested mode is: `+t.toString(_));switch(x===t.KANJI&&!s.isKanjiModeEnabled()&&(x=t.BYTE),x){case t.NUMERIC:return new u(v);case t.ALPHANUMERIC:return new n(v);case t.KANJI:return new i(v);case t.BYTE:return new r(v)}}e.fromArray=function(y){return y.reduce(function(x,_){return typeof _=="string"?x.push(k(_,null)):_.data&&x.push(k(_.data,_.mode)),x},[])},e.fromString=function(y,x){const _=d(y,s.isKanjiModeEnabled()),A=f(_),T=b(A,x),I=a.find_path(T.map,"start","end"),w=[];for(let D=1;D<I.length-1;D++)w.push(T.table[I[D]].node);return e.fromArray(p(w))},e.rawSplit=function(y){return e.fromArray(d(y,s.isKanjiModeEnabled()))}})(ko);const tn=Ie,yn=Ju,eg=zh,tg=Lh,ug=ho,ng=go,Nn=po,On=Ku,rg=Bh,qu=yo,ig=vo,og=kt,xn=ko;function sg(e,t){const u=e.size,n=ng.getPositions(t);for(let r=0;r<n.length;r++){const i=n[r][0],o=n[r][1];for(let s=-1;s<=7;s++)if(!(i+s<=-1||u<=i+s))for(let a=-1;a<=7;a++)o+a<=-1||u<=o+a||(s>=0&&s<=6&&(a===0||a===6)||a>=0&&a<=6&&(s===0||s===6)||s>=2&&s<=4&&a>=2&&a<=4?e.set(i+s,o+a,!0,!0):e.set(i+s,o+a,!1,!0))}}function ag(e){const t=e.size;for(let u=8;u<t-8;u++){const n=u%2===0;e.set(u,6,n,!0),e.set(6,u,n,!0)}}function lg(e,t){const u=ug.getPositions(t);for(let n=0;n<u.length;n++){const r=u[n][0],i=u[n][1];for(let o=-2;o<=2;o++)for(let s=-2;s<=2;s++)o===-2||o===2||s===-2||s===2||o===0&&s===0?e.set(r+o,i+s,!0,!0):e.set(r+o,i+s,!1,!0)}}function cg(e,t){const u=e.size,n=qu.getEncodedBits(t);let r,i,o;for(let s=0;s<18;s++)r=Math.floor(s/3),i=s%3+u-8-3,o=(n>>s&1)===1,e.set(r,i,o,!0),e.set(i,r,o,!0)}function vn(e,t,u){const n=e.size,r=ig.getEncodedBits(t,u);let i,o;for(i=0;i<15;i++)o=(r>>i&1)===1,i<6?e.set(i,8,o,!0):i<8?e.set(i+1,8,o,!0):e.set(n-15+i,8,o,!0),i<8?e.set(8,n-i-1,o,!0):i<9?e.set(8,15-i-1+1,o,!0):e.set(8,15-i-1,o,!0);e.set(n-8,8,1,!0)}function dg(e,t){const u=e.size;let n=-1,r=u-1,i=7,o=0;for(let s=u-1;s>0;s-=2)for(s===6&&s--;;){for(let a=0;a<2;a++)if(!e.isReserved(r,s-a)){let l=!1;o<t.length&&(l=(t[o]>>>i&1)===1),e.set(r,s-a,l),i--,i===-1&&(o++,i=7)}if(r+=n,r<0||u<=r){r-=n,n=-n;break}}}function fg(e,t,u){const n=new eg;u.forEach(function(a){n.put(a.mode.bit,4),n.put(a.getLength(),og.getCharCountIndicator(a.mode,e)),a.write(n)});const r=tn.getSymbolTotalCodewords(e),i=On.getTotalCodewordsCount(e,t),o=(r-i)*8;for(n.getLengthInBits()+4<=o&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const s=(o-n.getLengthInBits())/8;for(let a=0;a<s;a++)n.put(a%2?17:236,8);return hg(n,e,t)}function hg(e,t,u){const n=tn.getSymbolTotalCodewords(t),r=On.getTotalCodewordsCount(t,u),i=n-r,o=On.getBlocksCount(t,u),s=n%o,a=o-s,l=Math.floor(n/o),c=Math.floor(i/o),d=c+1,h=l-c,p=new rg(h);let f=0;const b=new Array(o),k=new Array(o);let v=0;const y=new Uint8Array(e.buffer);for(let I=0;I<o;I++){const w=I<a?c:d;b[I]=y.slice(f,f+w),k[I]=p.encode(b[I]),f+=w,v=Math.max(v,w)}const x=new Uint8Array(n);let _=0,A,T;for(A=0;A<v;A++)for(T=0;T<o;T++)A<b[T].length&&(x[_++]=b[T][A]);for(A=0;A<h;A++)for(T=0;T<o;T++)x[_++]=k[T][A];return x}function gg(e,t,u,n){let r;if(Array.isArray(e))r=xn.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const c=xn.rawSplit(e);l=qu.getBestVersionForData(c,u)}r=xn.fromString(e,l||40)}else throw new Error("Invalid data");const i=qu.getBestVersionForData(r,u);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=i;else if(t<i)throw new Error(`
|
||
The chosen QR Code version cannot contain this amount of data.
|
||
Minimum version required to store current data is: `+i+`.
|
||
`);const o=fg(t,u,r),s=tn.getSymbolSize(t),a=new tg(s);return sg(a,t),ag(a),lg(a,t),vn(a,u,0),t>=7&&cg(a,t),dg(a,o),isNaN(n)&&(n=Nn.getBestMask(a,vn.bind(null,a,u))),Nn.applyMask(n,a),vn(a,u,n),{modules:a,version:t,errorCorrectionLevel:u,maskPattern:n,segments:r}}co.create=function(t,u){if(typeof t>"u"||t==="")throw new Error("No input text");let n=yn.M,r,i;return typeof u<"u"&&(n=yn.from(u.errorCorrectionLevel,yn.M),r=qu.from(u.version),i=Nn.from(u.maskPattern),u.toSJISFunc&&tn.setToSJISFunction(u.toSJISFunc)),gg(t,r,n,i)};var Co={},ir={};(function(e){function t(u){if(typeof u=="number"&&(u=u.toString()),typeof u!="string")throw new Error("Color should be defined as hex string");let n=u.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+u);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const r=parseInt(n.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const r=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,o=n.scale||4;return{width:i,scale:i?4:o,margin:r,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,r){return r.width&&r.width>=n+r.margin*2?r.width/(n+r.margin*2):r.scale},e.getImageWidth=function(n,r){const i=e.getScale(n,r);return Math.floor((n+r.margin*2)*i)},e.qrToImageData=function(n,r,i){const o=r.modules.size,s=r.modules.data,a=e.getScale(o,i),l=Math.floor((o+i.margin*2)*a),c=i.margin*a,d=[i.color.light,i.color.dark];for(let h=0;h<l;h++)for(let p=0;p<l;p++){let f=(h*l+p)*4,b=i.color.light;if(h>=c&&p>=c&&h<l-c&&p<l-c){const k=Math.floor((h-c)/a),v=Math.floor((p-c)/a);b=d[s[k*o+v]?1:0]}n[f++]=b.r,n[f++]=b.g,n[f++]=b.b,n[f]=b.a}}})(ir);(function(e){const t=ir;function u(r,i,o){r.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=o,i.width=o,i.style.height=o+"px",i.style.width=o+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(i,o,s){let a=s,l=o;typeof a>"u"&&(!o||!o.getContext)&&(a=o,o=void 0),o||(l=n()),a=t.getOptions(a);const c=t.getImageWidth(i.modules.size,a),d=l.getContext("2d"),h=d.createImageData(c,c);return t.qrToImageData(h.data,i,a),u(d,l,c),d.putImageData(h,0,0),l},e.renderToDataURL=function(i,o,s){let a=s;typeof a>"u"&&(!o||!o.getContext)&&(a=o,o=void 0),a||(a={});const l=e.render(i,o,a),c=a.type||"image/png",d=a.rendererOpts||{};return l.toDataURL(c,d.quality)}})(Co);var Ao={};const pg=ir;function Zr(e,t){const u=e.a/255,n=t+'="'+e.hex+'"';return u<1?n+" "+t+'-opacity="'+u.toFixed(2).slice(1)+'"':n}function _n(e,t,u){let n=e+t;return typeof u<"u"&&(n+=" "+u),n}function mg(e,t,u){let n="",r=0,i=!1,o=0;for(let s=0;s<e.length;s++){const a=Math.floor(s%t),l=Math.floor(s/t);!a&&!i&&(i=!0),e[s]?(o++,s>0&&a>0&&e[s-1]||(n+=i?_n("M",a+u,.5+l+u):_n("m",r,0),r=0,i=!1),a+1<t&&e[s+1]||(n+=_n("h",o),o=0)):r++}return n}Ao.render=function(t,u,n){const r=pg.getOptions(u),i=t.modules.size,o=t.modules.data,s=i+r.margin*2,a=r.color.light.a?"<path "+Zr(r.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",l="<path "+Zr(r.color.dark,"stroke")+' d="'+mg(o,i,r.margin)+'"/>',c='viewBox="0 0 '+s+" "+s+'"',h='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+c+' shape-rendering="crispEdges">'+a+l+`</svg>
|
||
`;return typeof n=="function"&&n(null,h),h};const bg=Th,jn=co,Eo=Co,yg=Ao;function or(e,t,u,n,r){const i=[].slice.call(arguments,1),o=i.length,s=typeof i[o-1]=="function";if(!s&&!bg())throw new Error("Callback required as last argument");if(s){if(o<2)throw new Error("Too few arguments provided");o===2?(r=u,u=t,t=n=void 0):o===3&&(t.getContext&&typeof r>"u"?(r=n,n=void 0):(r=n,n=u,u=t,t=void 0))}else{if(o<1)throw new Error("Too few arguments provided");return o===1?(u=t,t=n=void 0):o===2&&!t.getContext&&(n=u,u=t,t=void 0),new Promise(function(a,l){try{const c=jn.create(u,n);a(e(c,t,n))}catch(c){l(c)}})}try{const a=jn.create(u,n);r(null,e(a,t,n))}catch(a){r(a)}}bu.create=jn.create;bu.toCanvas=or.bind(null,Eo.render);bu.toDataURL=or.bind(null,Eo.renderToDataURL);bu.toString=or.bind(null,function(e,t,u){return yg.render(e,u)});function xg(e,t){const u=ks(e),n=j("");return ke(u,async r=>{u.value&&ws&&(n.value=await bu.toDataURL(r,t))},{immediate:!0}),n}const vg=["src"],_g=me({__name:"index",props:{value:{default:""},size:{default:160},color:{default:"#000"},backgroundColor:{default:"#FFF"},bordered:{type:Boolean,default:!0},borderColor:{default:"#0505050f"},scale:{default:8},errorLevel:{default:"H"}},setup(e){const t=e,u=xg(t.value,{errorCorrectionLevel:t.errorLevel,type:"image/png",quality:1,margin:3,scale:t.scale,color:{dark:t.color,light:t.backgroundColor}});return(n,r)=>(L(),P("div",{class:Z(["m-qrcode",{bordered:n.bordered}]),style:nt(`width: ${n.size}px; height: ${n.size}px; border-color: ${n.borderColor};`)},[m("img",{src:F(u),class:"u-qrcode",alt:"QRCode"},null,8,vg)],6))}});const Yr=Vt(_g,[["__scopeId","data-v-56c01def"]]),kg={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},wg={class:"flex justify-between"},Cg={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Ag={class:"ml-[8px]"},Eg={class:"p-4"},Dg={class:"whitespace-nowrap font-bold"},Sg={class:"ml-1 text-xl font-bold tracking-tight"},Fg={class:"mt-2 flex"},Tg={class:"whitespace-nowrap font-bold"},Ig={class:"ml-2"},zg={class:"flex items-center justify-center my-3 relative"},Lg=["src"],$g=["src"],Bg={class:"mb-10 mt-5 text-base"},Mg=["src"],Rg=["src"],Pg={key:0,class:"flex items-center justify-center text-lg"},Ng={class:"inline-block w-20 text-primary-500 text-center"},Og={class:"mt-6 space-y-6"},jg=["id","value"],Ug=["for"],qg=["src"],Hg=1e3,Wg=me({__name:"PayDialog",props:{visible:{type:Boolean}},setup(e){const{isMobile:t}=Je(),u=Be(),n=us(),r=Ke(),i=j(!0),o=j("wxpay"),s=M(()=>{var B;const S=window.navigator.userAgent.toLowerCase(),z=S.match(/MicroMessenger/i)&&((B=S==null?void 0:S.match(/MicroMessenger/i))==null?void 0:B[0])==="micromessenger",$=!S.includes("windows")&&!S.includes("macintosh");return z&&$}),a=M(()=>{const{payHupiStatus:S,payEpayStatus:z,payMpayStatus:$,payWechatStatus:B,payLtzfStatus:U}=u.globalConfig;return Number(B)===1?"wechat":Number(z)===1?"epay":Number($)===1?"mpay":Number(S)===1?"hupi":Number(U)===1?"ltzf":null}),l=M(()=>{const{payEpayChannel:S,payMpayChannel:z}=u.globalConfig;return a.value==="mpay"?z?JSON.parse(z):[]:a.value==="epay"?S?JSON.parse(S):[]:a.value==="wechat"?["wxpay"]:a.value==="hupi"?["wxpay"]:a.value==="ltzf"?["wxpay"]:[]}),c=M(()=>o.value==="wxpay"?R("pay.wechat"):R("pay.alipay")),d=j(),h=M(()=>{const{payEpayApiPayUrl:S}=u.globalConfig;return a.value==="epay"&&S.includes("submit")||a.value==="mpay"});ke(o,()=>{var S;I(),(S=d.value)==null||S.reset()});const p=j("");let f;const b=M(()=>[{label:R("pay.wechatPay"),value:"wxpay",icon:Vr,payChannel:"wxpay"},{label:R("pay.alipayPay"),value:"alipay",icon:Wr,payChannel:"alipay"}].filter(S=>l.value.includes(S.payChannel))),k=async()=>{if(!p.value)return;const S=await xa({orderId:p.value}),{success:z,data:$}=S;if(z){const{status:B}=$;B===1&&(clearInterval(f),r.success(R("pay.paymentSuccess")),i.value=!1,u.getUserInfo(),setTimeout(()=>{n.updatePayDialog(!1)},2e3))}},v=M(()=>n==null?void 0:n.orderInfo),y=j(""),x=j(!0),_=j(!0),A=j("");function T(){n.updateOrderInfo({}),C(),n.updatePayDialog(!1)}async function I(){!h.value&&(x.value=!0),h.value&&(_.value=!0);let S=null;S=o.value,a.value==="wechat"&&(S=s.value?"jsapi":"native");try{const z=await ci({goodsId:v.value.pkgInfo.id,payType:S}),{data:$,success:B,message:U}=z;if(!B)return r.error(U);const{url_qrcode:J,orderId:Y,redirectUrl:se}=$;A.value=se,p.value=Y,y.value=J,x.value=!1,_.value=!1}catch{n.updatePayDialog(!1),x.value=!1,_.value=!1}}function w(){window.open(A.value)}async function D(){await I(),f||(f=setInterval(()=>{k()},Hg))}function C(){f&&(clearInterval(f),f=null)}function E(){r.error(R("pay.paymentTimeout")),C(),n.updatePayDialog(!1),n.updateGoodsDialog(!0)}return Fe(async()=>{D()}),ss(()=>{C(),T()}),(S,z)=>(L(),ne(Wu,{name:"modal-fade",onAfterEnter:D,onAfterLeave:C},{default:pe(()=>{var $,B;return[S.visible?(L(),P("div",kg,[m("div",{class:Z(["p-4 rounded bg-white dark:bg-gray-900",F(t)?" w-full h-full":" rounded-lg shadow-lg p-4 mx-2 "])},[m("div",wg,[m("div",Cg,[m("span",Ag,N(F(R)("pay.productPayment")),1)]),W(F(_t),{size:"18",class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:T})]),m("div",Eg,[m("div",null,[m("span",Dg,N(F(R)("pay.amountDue")),1),m("span",Sg,N(`¥${($=v.value.pkgInfo)==null?void 0:$.price}`),1)]),m("div",Fg,[m("span",Tg,N(F(R)("pay.packageName")),1),m("span",Ig,N((B=v.value.pkgInfo)==null?void 0:B.name),1)]),m("div",{class:Z(["flex justify-center",[F(t)?"flex-col":"flex-row",h.value?"flex-row-reverse":""]])},[m("div",null,[m("div",zg,[x.value&&!h.value?(L(),ne(F(Vu),{key:0,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})):V("",!0),x.value?(L(),ne(F(Hn),{key:1,width:240,height:240,sharp:!1,size:"medium"})):V("",!0),a.value==="epay"&&!x.value&&!_.value&&!h.value?(L(),ne(Yr,{key:2,value:y.value,size:240},null,8,["value"])):V("",!0),o.value==="wxpay"&&!x.value&&!h.value?(L(),P("img",{key:3,src:F(Vr),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,Lg)):V("",!0),o.value==="alipay"&&!x.value&&!h.value?(L(),P("img",{key:4,src:F(Wr),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,$g)):V("",!0),a.value==="wechat"&&!x.value?(L(),ne(Yr,{key:5,value:y.value,size:240},null,8,["value"])):V("",!0),h.value?(L(),P("div",{key:6,class:Z(["flex flex-col",[h.value&&F(t)?"ml-0":"ml-20"]])},[m("span",Bg,N(F(R)("pay.siteAdminEnabledRedirect")),1),h.value?(L(),ne(F(oi),{key:0,type:"primary",ghost:"",disabled:_.value,loading:_.value,onClick:w},{default:pe(()=>[oe(N(F(R)("pay.clickToPay")),1)]),_:1},8,["disabled","loading"])):V("",!0)],2)):V("",!0),a.value==="hupi"&&!_.value?(L(),P("iframe",{key:7,class:"w-[280px] h-[280px] scale-90",src:y.value,frameborder:"0"},null,8,Mg)):V("",!0),a.value==="ltzf"&&!_.value?(L(),P("img",{key:8,src:y.value,class:"w-[280px] h-[280px] scale-90",alt:"QRCode"},null,8,Rg)):V("",!0)]),h.value?V("",!0):(L(),P("span",Pg,N(F(R)("pay.open"))+" "+N(c.value)+" "+N(F(R)("pay.scanToPay")),1))]),m("div",{class:Z(["flex flex-col",[F(t)?"w-full ":" ml-10 w-[200] "]])},[m("div",{class:Z(["flex items-center justify-center mt-6 w-full font-bold text-sm",[F(t)?"mb-2":"mb-10"]]),style:{"white-space":"nowrap"}},[m("span",null,N(F(R)("pay.completePaymentWithin")),1),m("span",Ng,[W(F(ri),{ref_key:"countdownRef",ref:d,active:i.value,duration:300*1e3,"on-finish":E},null,8,["active"])]),m("span",null,N(F(R)("pay.timeToCompletePayment")),1)],2),m("div",Og,[(L(!0),P(Ye,null,it(b.value,U=>(L(),P("div",{key:U.value,class:"flex items-center"},[ae(m("input",{type:"radio",id:U.value,name:"payment-method",value:U.value,"onUpdate:modelValue":z[0]||(z[0]=J=>o.value=J),class:"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,8,jg),[[as,o.value]]),m("label",{for:U.value,class:"ml-3 block text-sm font-medium leading-6 text-gray-900"},[m("img",{class:"h-4 object-contain mr-2 inline-block",src:U.icon,alt:""},null,8,qg),oe(" "+N(U.label),1)],8,Ug)]))),128))])],2)],2)])],2)])):V("",!0)]}),_:1}))}});const Vg=Vt(Wg,[["__scopeId","data-v-8dd6fdf4"]]),Gg={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},Xg={class:"flex-1 flex flex-col items-center"},Zg=m("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[m("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 手机号绑定 ")],-1),Yg={class:"mt-4 flex"},Qg={class:"mt-4 relative"},Jg=["disabled","loading"],Kg={class:"mt-4"},ep={class:"mt-2"},tp={class:"mt-4"},up={class:"mt-2"},np={class:"mt-4"},rp={class:"mt-2"},ip={key:0,class:"flex items-center justify-between my-3"},op={class:"flex items-center"},sp={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},ap=me({__name:"PhoneIdentity",props:{visible:{type:Boolean}},setup(e){const t=Ke(),{isMobile:u}=Je(),n=j(!1),r=$e(),i=j(!1),o=j(null),s=j(0),a=Be(),l=M(()=>a.globalConfig),c=j({username:"",password:"",confirmPassword:"",phone:"",code:""}),d={phone:[{required:!0,message:"请输入手机号"},{pattern:/^1[3456789]\d{9}$/,message:"手机号格式错误"}],code:[{required:!0,message:"请输入验证码"}],username:[{required:!0,message:"请输入用户名"}],password:[{required:!0,message:"请输入密码"}],confirmPassword:[{required:!0,message:"请再次输入密码"},{validator(v,y){return y!==c.value.password?new Error("两次输入的密码不一致"):!0},trigger:"blur"}]},h=j(!0);function p(){h.value=!0,r.updateUserAgreementDialog(!0)}function f(){if(h.value===!1&&l.value.isAutoOpenAgreement==="1")return t.error(`请阅读并同意《${l.value.agreementTitle}》`);n.value=!1,Ho(c.value).then(v=>{v.code===200?(t.success("认证成功"),r.updatePhoneDialog(!1)):t.error(v.error)})}async function b(){var v;n.value=!1,(v=o.value)==null||v.validate(async y=>{if(!y)try{const{phone:x}=c.value,_={phone:x};let A;A=await ns(_);const{success:T,message:I}=A;T?(t.success(A.data),s.value=60,k()):t.error(I)}catch{}})}function k(){s.value>0&&setTimeout(()=>{s.value--,k()},1e3)}return(v,y)=>v.visible?(L(),P("div",Gg,[m("div",{class:Z(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":F(u),"max-w-xl":!F(u)}])},[W(F(_t),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:y[0]||(y[0]=x=>F(r).updatePhoneDialog(!1))}),m("div",Xg,[m("div",{class:Z(["flex w-full flex-col h-full justify-center",F(u)?"px-5 py-5":"px-10 py-5"])},[W(F(Jt),{ref_key:"formRef",ref:o,model:c.value,rules:d,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[Zg,m("div",Yg,[ae(m("input",{id:"userPhone",type:"text","onUpdate:modelValue":y[1]||(y[1]=x=>c.value.phone=x),placeholder:"请输入手机号",class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,c.value.phone]])]),m("div",Qg,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":y[2]||(y[2]=x=>c.value.code=x),placeholder:"请输入验证码",class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,512),[[_e,c.value.code]]),m("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:i.value,loading:i.value,onClick:y[3]||(y[3]=x=>n.value=!0)}," 发送验证码 ",8,Jg)]),m("div",Kg,[m("div",ep,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":y[4]||(y[4]=x=>c.value.username=x),placeholder:"请输入用户名",class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,c.value.username]])])]),m("div",tp,[m("div",up,[ae(m("input",{id:"password",type:"password","onUpdate:modelValue":y[5]||(y[5]=x=>c.value.password=x),placeholder:"请输入密码",class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,c.value.password]])])]),m("div",np,[m("div",rp,[ae(m("input",{id:"confirmPassword",type:"password","onUpdate:modelValue":y[6]||(y[6]=x=>c.value.confirmPassword=x),placeholder:"请再次输入密码",class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,c.value.confirmPassword]])])]),l.value.isAutoOpenAgreement==="1"?(L(),P("div",ip,[m("div",op,[ae(m("input",{"onUpdate:modelValue":y[7]||(y[7]=x=>h.value=x),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,h.value]]),m("p",sp,[oe(" 已阅读并同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:p},"《"+N(l.value.agreementTitle)+"》",1)])])])):V("",!0),m("div",null,[m("button",{onClick:y[8]||(y[8]=x=>f()),type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 提交认证 ")]),W(Wn,{show:n.value,onSuccess:y[9]||(y[9]=x=>b()),onClose:y[10]||(y[10]=x=>n.value=!1),class:"bg-red-500"},null,8,["show"])]),_:1},8,["model"])],2)])],2)])):V("",!0)}});function lp(){return Kr({url:"/signin/sign"})}function cp(){return Un({url:"/signin/signinLog"})}const sr=e=>(ls("data-v-8f584477"),e=e(),cs(),e),dp={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},fp={class:"bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg w-full max-w-xl max-h-[80vh] overflow-y-auto"},hp={class:"flex justify-between items-center mb-4"},gp={class:"text-base"},pp={class:"text-[red]"},mp=sr(()=>m("span",{class:"sr-only"},"Close",-1)),bp=sr(()=>m("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)),yp=[mp,bp],xp={class:"bg-gray-50 mb-5 p-2 rounded-md border border-gray-200 dark:border-gray-700 dark:bg-gray-700"},vp={key:0},_p={class:"mx-2 text-primary-500"},kp={key:1},wp={class:"mx-2 text-primary-500"},Cp={key:2},Ap={class:"mx-2 text-primary-500"},Ep=sr(()=>m("div",{class:"mt-10 grid grid-cols-7 text-center text-xs leading-6 text-gray-500 dark:text-gray-400"},[m("div",null,"日"),m("div",null,"一"),m("div",null,"二"),m("div",null,"三"),m("div",null,"四"),m("div",null,"五"),m("div",null,"六")],-1)),Dp={class:"mt-2 grid grid-cols-7 text-sm"},Sp=["datetime"],Fp={class:"flex mt-3 w-full"},Tp=["disabled"],Ip=me({__name:"SignInDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=Be(),n=$e(),r=j(!1);Je();const i=j([]),o=Ke(),s=j(!1),a=new Date().toISOString().split("T")[0],l=M(()=>i.value.map(C=>{var E;return{...C,day:(E=C.signInDate.split("-").pop())==null?void 0:E.replace(/^0/,""),isToday:C.signInDate===a}})),c=M(()=>u.globalConfig.model3Name||R("pay.baseModelQuota")),d=M(()=>u.globalConfig.model4Name)||R("pay.advancedModelQuota"),h=M(()=>u.globalConfig.drawMjName)||R("pay.MJDrawingQuota"),p=M(()=>Number(u.globalConfig.isHideModel3Point)===1),f=M(()=>Number(u.globalConfig.isHideModel4Point)===1),b=M(()=>Number(u.globalConfig.isHideDrawMjPoint)===1);function k(){n.updateSignInDialog(!1)}const v=M(()=>u.userInfo.consecutiveDays),y=M(()=>{var C;return Number((C=u.globalConfig)==null?void 0:C.signInModel3Count)||0}),x=M(()=>{var C;return Number((C=u.globalConfig)==null?void 0:C.signInModel4Count)||0}),_=M(()=>{var C;return Number((C=u.globalConfig)==null?void 0:C.signInMjDrawToken)||0}),A=M(()=>i.value.some(C=>C.signInDate===a&&C.isSigned));async function T(){try{r.value=!0;const C=await cp();console.log("fetchSignLogAPI response:",C),C.success&&(i.value=C.data||[],console.log("signInData:",i.value)),r.value=!1}catch(C){r.value=!1,console.error("Error fetching sign-in log:",C)}}async function I(){try{s.value=!0;const C=await lp();console.log("fetchSignInAPI response:",C),C.success&&(o.success("签到成功!"),await T(),u.getUserInfo()),s.value=!1}catch(C){s.value=!1,console.error("Error during sign-in:",C)}}async function w(){r.value=!0,await T(),r.value=!1}ke(()=>t.visible,C=>{C&&w()});function D(C,E){return new Date(C,E,1).getDay()}return(C,E)=>(L(),ne(Wu,{name:"modal-fade"},{default:pe(()=>[t.visible?(L(),P("div",dp,[m("div",fp,[m("div",hp,[m("span",gp,[oe(" 签到奖励 "),m("span",null,[oe("(已连续签到"),m("b",pp,N(v.value),1),oe("天)")])]),m("button",{onClick:k,class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"},yp)]),m("div",xp,[oe(" 每日签到赠送: "),y.value>0&&!p.value?(L(),P("span",vp,[m("b",_p,N(y.value),1),oe(N(c.value),1)])):V("",!0),x.value>0&&!f.value?(L(),P("span",kp,[m("b",wp,N(x.value),1),oe(N(F(d)),1)])):V("",!0),_.value>0&&!b.value?(L(),P("span",Cp,[m("b",Ap,N(_.value),1),oe(N(F(h)),1)])):V("",!0)]),W(F(Vu),{show:r.value},{default:pe(()=>[Ep,m("div",Dp,[(L(!0),P(Ye,null,it(D(new Date().getFullYear(),new Date().getMonth()),S=>(L(),P("div",{key:"empty-"+S,class:"py-2"}))),128)),(L(!0),P(Ye,null,it(l.value,S=>(L(),P("div",{key:S.signInDate,class:"py-2"},[m("button",{type:"button",class:Z([S.isToday?"bg-primary-600 text-white":S.isSigned?"text-primary-600":"text-gray-900 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700 mx-auto flex h-8 w-8 items-center justify-center rounded-full"])},[m("time",{datetime:S.signInDate},N(S.day),9,Sp)],2)]))),128))])]),_:1},8,["show"]),m("div",Fp,[m("button",{class:Z(["w-full py-2 px-4 rounded text-white",A.value?"bg-gray-400 cursor-not-allowed":"bg-primary-600"]),disabled:A.value,onClick:I}," 签到 ",10,Tp)])])])):V("",!0)]),_:1}))}});const zp=Vt(Ip,[["__scopeId","data-v-8f584477"]]),Lp={key:0,class:"fixed inset-0 z-50 px-2 flex items-center justify-center bg-black bg-opacity-50"},$p={class:"bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] flex flex-col relative"},Bp={class:"flex justify-between items-center mb-3"},Mp={class:"text-xl"},Rp={class:"flex-1 overflow-y-auto"},Pp=["innerHTML"],Np=m("span",null,"已阅读",-1),Op=[Np],jp=me({__name:"UserAgreementDialog",props:{visible:{type:Boolean}},setup(e){const t=Be(),u=e,n=$e(),r=M(()=>t.globalConfig);function i(){n.updateUserAgreementDialog(!1)}function o(){n.updateUserAgreementDialog(!1),ti.set("agreedToUserAgreement","true")}return(s,a)=>u.visible?(L(),P("div",Lp,[m("div",$p,[W(F(_t),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:i}),m("div",Bp,[m("span",Mp,N(r.value.agreementTitle),1)]),m("div",Rp,[m("div",{innerHTML:r.value.agreementInfo,class:"dark:bg-gray-900 p-1"},null,8,Pp)]),m("div",{class:"flex justify-end mt-3"},[m("button",{onClick:o,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500"},Op)])])])):V("",!0)}}),Up={class:"h-full dark:bg-gray-900 transition-all p-0"},qp={class:"h-full overflow-hidden"},n2=me({__name:"index",setup(e){const t=Be(),u=rs(),n=is(),r=$e(),i=ei(),o=Ke(),s=M(()=>r.payDialog),a=M(()=>r.goodsDialog),l=M(()=>r.noticeDialog),c=M(()=>r.bindWxDialog),d=M(()=>r.signInDialog),h=M(()=>r.appDialog),p=M(()=>r.identityDialog),f=M(()=>r.phoneIdentityDialog),b=M(()=>r.userAgreementDialog),k=M(()=>r.BadWordsDialog),{isMobile:v}=Je(),y=M(()=>t.loginDialog);M(()=>i.theme);const x=M(()=>t.isLogin),_=M(()=>{var C;return Number((C=t.globalConfig)==null?void 0:C.wechatSilentLoginStatus)===1});function A(){const{token:C}=u.query;if(C){t.setToken(C);const E=u.name;n.replace({name:E,query:{}}),o.success("账户登录成功、开始体验吧!"),t.getUserInfo()}}async function T(){if(u.path==="/home"||!_.value||x.value)return;const E=new URLSearchParams(window.location.search).getAll("code"),S=E.length>0?E[E.length-1]:null;if(S){const z=await Wo({code:S});z.success&&(t.setToken(z.data),t.getUserInfo(),t.setLoginDialog(!1),n.replace("/chat"))}else{const z=window.location.href.split("#")[0],$=await Vo({url:z});$.success&&(window.location.href=$.data)}}function I(){var E;const C=window.navigator.userAgent.toLowerCase();C.match(/MicroMessenger/i)&&((E=C==null?void 0:C.match(/MicroMessenger/i))==null?void 0:E[0])==="micromessenger"&&T()}Fe(()=>{I(),A()});const w=M(()=>v.value?["rounded-none","shadow-none"]:["dark:border-neutral-800"]),D=M(()=>v.value?["flex-col"]:["dark:border-neutral-800"]);return(C,E)=>{const S=ds("RouterView");return L(),P("div",Up,[m("div",qp,[m("div",{class:Z(["z-40 transition flex h-full relative",D.value])},[W(F(vs),{class:Z(["h-full",w.value]),style:{flex:"1"}},{default:pe(()=>[W(S,null,{default:pe(({Component:z,route:$})=>[(L(),ne(fs(z),{key:$.fullPath}))]),_:1})]),_:1},8,["class"])],2),W(f0,{visible:y.value},null,8,["visible"]),W(Vg,{visible:s.value},null,8,["visible"]),W(Ua,{visible:a.value},null,8,["visible"]),W(Fh,{visible:l.value},null,8,["visible"]),W(ya,{visible:c.value},null,8,["visible"]),W(zp,{visible:d.value},null,8,["visible"]),W(Qs,{visible:h.value},null,8,["visible"]),W(ml,{visible:p.value},null,8,["visible"]),W(ap,{visible:f.value},null,8,["visible"]),W(jp,{visible:b.value},null,8,["visible"]),W(oa,{visible:k.value},null,8,["visible"])])])}}});export{n2 as default};
|