import{L as r}from"./c6a992d55-DelMbUx1.js";import{s as o,t,L as s,a as e,i as O,c as i,f as c,b as a}from"./cbd02b8f2-BI-rLiZ2.js";import"./vendor-react-DcxrbCFs.js";import"./vendor-intl-C0z7gCkr.js";import"./c5610fbe3-CrkoaGht.js";import"./c4b350ac1-BTR_0NaM.js";import"./vendor-ant-cds-BOj-tX6j.js";import"./vendor-base-ui-dYhdtXSh.js";import"./vendor-radix-BZeqcGXH.js";import"./vendor-virtual-sigx4wjL.js";import"./vendor-zod-Zyr3BDtu.js";import"./vendor-zustand-BLLlCrLG.js";import"./vendor-icons-ChFdOXlJ.js";import"./vendor-lodash--OmUGVwS.js";import"./vendor-router-DD4soP8u.js";import"./vendor-query-DdY22HAU.js";import"./vendor-luxon-Y8l99kBI.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-motion-HFQQEH7Z.js";import"./vendor-growthbook-Bq25eETo.js";import"./index-BSvCx8kl.js";import"./ca8998c31-6H5Q4Fd2.js";import"./c40b9b8f5-Da-ryo1W.js";import"./c4b43b0ae-760Yu4sg.js";import"./cbf215181-C3oidXTA.js";import"./c009a87a0-DXB61_5D.js";import"./c82022b5f-DK6eLSBd.js";import"./cc61d0d63-kW48LhDF.js";import"./c93f725a0-DejUT30N.js";import"./c85adc124-DNLst9Jo.js";import"./c26148d62-BlLiyl5z.js";import"./c0e977562-BYJ_xmcc.js";import"./c9f4bb49e-95JsAiB2.js";import"./cc2dfdfd3-C4WlGtCV.js";import"./c6a992d55-Bg3ygTzd.js";import"./c9e81e7b9-l4IaiKjm.js";import"./c5669b8e4-B184INBD.js";import"./cf57f6351-ChXug4Hw.js";import"./c0632795f-CL3ffsDQ.js";import"./cc2e285cb-B9NgZcZ2.js";import"./c1f96d614-DAkctE43.js";import"./cac5c74b6-D2snV6_H.js";import"./c627fcdb6-Cc-7gsFT.js";import"./c590fc197--sY4eEEU.js";import"./cbaad2c48-DRCBJU3Q.js";import"./c1d7d8319-yi8QLBnY.js";import"./cdd5b9598-Bh6YyBPI.js";import"./c393cb7f5-JWhvNgWh.js";import"./c4526f334-Ddtc7W1k.js";import"./c8c7c4e8f-DoGfpMPz.js";import"./c1d96b207-D0fAg0jr.js";import"./c9bba154c-DdQs_cXE.js";import"./c5d464fa3-D86Q2kdf.js";import"./c042dfd41-CLH2Fg4F.js";import"./cd78d010c-COlwQ5g4.js";import"./c9a932b3c-BpzzSlAy.js";import"./cd1c394f8-CKz8EIwT.js";import"./c07cc694b-DRW3eDrb.js";import"./c43a91f1b-CTmKqaEk.js";import"./c9a932a07-B-Nx6iSG.js";import"./c6e1d8764-pY2w_OF9.js";import"./ca44b2238-CSp34WED.js";import"./cfe55e8af-zUaYdKW8.js";import"./c70a3d12b-PuL6Jgdx.js";import"./cadc35a07-lZlbnvMu.js";import"./cc2095605-CrpUsyXQ.js";const p=o({String:t.string,Number:t.number,"True False":t.bool,PropertyName:t.propertyName,Null:t.null,",":t.separator,"[ ]":t.squareBracket,"{ }":t.brace}),m=r.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26a0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[p],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),j=()=>r=>{try{JSON.parse(r.state.doc.toString())}catch(o){if(!(o instanceof SyntaxError))throw o;const t=function(r,o){let t;return(t=r.message.match(/at position (\d+)/))?Math.min(+t[1],o.length):(t=r.message.match(/at line (\d+) column (\d+)/))?Math.min(o.line(+t[1]).from+ +t[2]-1,o.length):0}(o,r.state.doc);return[{from:t,message:o.message,severity:"error",to:t}]}return[]};const n=e.define({parser:m.configure({props:[O.add({Object:i({except:/^\s*\}/}),Array:i({except:/^\s*\]/})}),c.add({"Object Array":a})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function d(){return new s(n)}export{d as json,n as jsonLanguage,j as jsonParseLinter};
