graview 0.1.52 → 0.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/preview/chunk.2IKVO743.js +1 -0
- package/dist/preview/{chunk.C4EPMV7O.js → chunk.2LQ37DC2.js} +1 -1
- package/dist/preview/{chunk.IVI3HRSF.js → chunk.3377DLPA.js} +1 -1
- package/dist/preview/chunk.34Q7OKK3.js +1 -0
- package/dist/preview/{chunk.3FKP32RG.js → chunk.36XV4ZMC.js} +2 -2
- package/dist/preview/{chunk.LESRQN3Y.js → chunk.3FRVG6JW.js} +1 -1
- package/dist/preview/{chunk.XLM4ONUB.js → chunk.3FUFVVR4.js} +1 -1
- package/dist/preview/chunk.3Y7BDRP3.js +1 -0
- package/dist/preview/{chunk.7FZY5E2U.js → chunk.4DCPB67O.js} +1 -1
- package/dist/preview/chunk.4DFO43VM.js +1 -0
- package/dist/preview/chunk.4QVZXCV5.js +1 -0
- package/dist/preview/chunk.4SVAHPJA.js +1 -0
- package/dist/preview/chunk.52Y37IAD.js +1 -0
- package/dist/preview/chunk.56UFDIX5.js +1 -0
- package/dist/preview/chunk.5E4UGVAD.js +1 -0
- package/dist/preview/chunk.5H3VCAPN.js +1 -0
- package/dist/preview/chunk.5K5D4IMM.js +1 -0
- package/dist/preview/{chunk.C4UNAJWC.js → chunk.5XFRWXYQ.js} +1 -1
- package/dist/preview/{chunk.ULAMIQ52.js → chunk.65F3DF5Q.js} +1 -1
- package/dist/preview/{chunk.QWQBPJ4U.js → chunk.6CVW53WA.js} +1 -1
- package/dist/preview/chunk.6ESAZJBN.js +1 -0
- package/dist/preview/chunk.6S3B4XC4.js +1 -0
- package/dist/preview/{chunk.VOHRQXCF.js → chunk.6W2DUW5S.js} +2 -2
- package/dist/preview/{chunk.7EA7THSM.js → chunk.72Q4R7N6.js} +1 -1
- package/dist/preview/chunk.7BXOQEUP.js +1 -0
- package/dist/preview/{chunk.7UJZP3YK.js → chunk.7NFCI4LH.js} +2 -2
- package/dist/preview/{chunk.4LI73QOY.js → chunk.7R6GXJS4.js} +1 -1
- package/dist/preview/chunk.A2RQFAZ6.js +1 -0
- package/dist/preview/{chunk.J2R55TM7.js → chunk.AQJD23AN.js} +1 -1
- package/dist/preview/{chunk.7XJ3XQZD.js → chunk.ASCTAUFD.js} +1 -1
- package/dist/preview/chunk.B3T4N2XM.js +25 -0
- package/dist/preview/chunk.B3WVCSW5.js +1 -0
- package/dist/preview/{chunk.NAPTE3S6.js → chunk.BB5XKTVC.js} +1 -1
- package/dist/preview/{chunk.Y37DXEHG.js → chunk.BG2SC77J.js} +1 -1
- package/dist/preview/{chunk.7UXDIEPK.js → chunk.BPPDBPTL.js} +1 -1
- package/dist/preview/chunk.BQHRZJ5Z.js +1 -0
- package/dist/preview/{chunk.BJL6EL6B.js → chunk.CANTHIRO.js} +1 -1
- package/dist/preview/chunk.CIUQWCU4.js +1 -0
- package/dist/preview/{chunk.SZCZD2GM.js → chunk.CSA6SWTI.js} +1 -1
- package/dist/preview/{chunk.52J42KR5.js → chunk.CWPRQSED.js} +1 -1
- package/dist/preview/{chunk.5DDHFNZM.js → chunk.CYP5KXIQ.js} +1 -1
- package/dist/preview/chunk.D3A24PQ6.js +1 -0
- package/dist/preview/{chunk.CBGKWYGI.js → chunk.DQPEVPKQ.js} +1 -1
- package/dist/preview/{chunk.R7ZZJOJW.js → chunk.DUZS52WX.js} +1 -1
- package/dist/preview/chunk.E52UTLQ2.js +1 -0
- package/dist/preview/{chunk.QPP3OJVR.js → chunk.E647LWH5.js} +1 -1
- package/dist/preview/chunk.EG2N5F6L.js +1 -0
- package/dist/preview/{chunk.T2Q3AAQI.js → chunk.EZXGVTT2.js} +1 -1
- package/dist/preview/chunk.F5RN6YXG.js +4 -0
- package/dist/preview/chunk.FBRARPGR.js +4 -0
- package/dist/preview/{chunk.J263VQF5.js → chunk.FCAKLO5U.js} +1 -1
- package/dist/preview/{chunk.3TME4BG3.js → chunk.FGJM4LJO.js} +1 -1
- package/dist/preview/{chunk.OS3WZV6C.js → chunk.FJN4OGAS.js} +1 -1
- package/dist/preview/chunk.FXNUR5JI.js +88 -0
- package/dist/preview/chunk.G226CUJQ.js +1 -0
- package/dist/preview/chunk.G6DISMVT.js +67 -0
- package/dist/preview/{chunk.LTJYKQJG.js → chunk.GANAZIRD.js} +1 -1
- package/dist/preview/{chunk.KFTZLNHY.js → chunk.GBIVIHGD.js} +19 -14
- package/dist/preview/chunk.GGHZEAAT.js +1 -0
- package/dist/preview/chunk.GPYZR6HE.js +1 -0
- package/dist/preview/{chunk.7KZ44FEU.js → chunk.GYO57LKD.js} +1 -1
- package/dist/preview/{chunk.NHIPVAGR.js → chunk.GZBODS7Z.js} +1 -1
- package/dist/preview/chunk.GZWC72HS.js +1 -0
- package/dist/preview/{chunk.FJEXINFF.js → chunk.H2B3SEI7.js} +1 -1
- package/dist/preview/{chunk.R6FHEEJ7.js → chunk.H6EMDQP5.js} +1 -1
- package/dist/preview/chunk.HAIHXBVX.js +1 -0
- package/dist/preview/{chunk.BHPZK4WJ.js → chunk.HBVURYWY.js} +2 -2
- package/dist/preview/{chunk.VKOCD5CL.js → chunk.HDXDYS4C.js} +1 -1
- package/dist/preview/chunk.HE545Z6I.js +1 -0
- package/dist/preview/chunk.HIDLE6BN.js +18 -0
- package/dist/preview/chunk.HIFLBWQJ.js +9 -0
- package/dist/preview/chunk.I62MCBQM.js +1 -0
- package/dist/preview/chunk.I6SUHXJF.js +1 -0
- package/dist/preview/chunk.I6W3IQ4W.js +1 -0
- package/dist/preview/chunk.ICYJ7QJG.js +2 -0
- package/dist/preview/{chunk.C7EEYSAM.js → chunk.IYVBJDR7.js} +1 -1
- package/dist/preview/{chunk.RWCWRJJC.js → chunk.J6OT74RM.js} +1 -1
- package/dist/preview/{chunk.GZHEGKPF.js → chunk.JCJ7NTW4.js} +1 -1
- package/dist/preview/{chunk.P5PXWOHI.js → chunk.JKCLYLT4.js} +1 -1
- package/dist/preview/chunk.JQTO52Q7.js +1 -0
- package/dist/preview/chunk.JRU5BT7K.js +5 -0
- package/dist/preview/{chunk.I43ONAEL.js → chunk.K7WME4P4.js} +1 -1
- package/dist/preview/{chunk.FLNYLE6S.js → chunk.KAKJYAHM.js} +1 -1
- package/dist/preview/chunk.KCM2VOC7.js +1 -0
- package/dist/preview/{chunk.LSL25VXW.js → chunk.KWMBRB6O.js} +1 -1
- package/dist/preview/{chunk.KVEDMKUN.js → chunk.KY7QD22S.js} +1 -1
- package/dist/preview/{chunk.RBWYXVUW.js → chunk.LAOZEYYQ.js} +1 -1
- package/dist/preview/{chunk.JQBP6QWQ.js → chunk.LCG3VLCB.js} +1 -1
- package/dist/preview/{chunk.7FMS57QO.js → chunk.LDLWYAHK.js} +1 -1
- package/dist/preview/chunk.LEKML4S4.js +1 -0
- package/dist/preview/{chunk.73EKJ4JN.js → chunk.MDIAWTNK.js} +1 -1
- package/dist/preview/chunk.MKWVNW4Q.js +35 -0
- package/dist/preview/{chunk.VGTEEANA.js → chunk.MSPRCR3Q.js} +1 -1
- package/dist/preview/{chunk.CV4QA4ZF.js → chunk.MT45H2T5.js} +1 -1
- package/dist/preview/chunk.MXTDQXVW.js +1 -0
- package/dist/preview/{chunk.M33LUF3Q.js → chunk.N6A3DIOY.js} +1 -1
- package/dist/preview/{chunk.DXZ5VYCQ.js → chunk.NAEEPUWJ.js} +1 -1
- package/dist/preview/{chunk.HSGUXMAO.js → chunk.NCTTPW7A.js} +1 -1
- package/dist/preview/chunk.OCWZJNZF.js +1 -0
- package/dist/preview/chunk.OP3ZUI4W.js +1 -0
- package/dist/preview/{chunk.J6IB2HUZ.js → chunk.OPKXCL5R.js} +1 -1
- package/dist/preview/chunk.OXLYDXQV.js +1 -0
- package/dist/preview/{chunk.DGWNVDZB.js → chunk.OZYZBRWO.js} +1 -1
- package/dist/preview/{chunk.CHMUL36A.js → chunk.P2W727C7.js} +1 -1
- package/dist/preview/{chunk.I2W7HSBU.js → chunk.P7FN3SFB.js} +1 -1
- package/dist/preview/{chunk.INL4OZI7.js → chunk.PEA4D66Y.js} +1 -1
- package/dist/preview/chunk.Q5JVKSEN.js +1 -0
- package/dist/preview/chunk.QATG5HNV.js +1 -0
- package/dist/preview/{chunk.KPUX27ZT.js → chunk.R3DWF35R.js} +1 -1
- package/dist/preview/{chunk.XZLKTOJE.js → chunk.RIS3OKAI.js} +1 -1
- package/dist/preview/{chunk.R77TACXU.js → chunk.RUTZEEBR.js} +1 -1
- package/dist/preview/{chunk.OYRZ2DEI.js → chunk.S2ATSY6P.js} +1 -1
- package/dist/preview/{chunk.NB6WN4DO.js → chunk.S6TN3MLY.js} +1 -1
- package/dist/preview/{chunk.FJC6PMOG.js → chunk.T56SOSIR.js} +4 -4
- package/dist/preview/chunk.THL67D77.js +1 -0
- package/dist/preview/{chunk.GL3YVGAP.js → chunk.TLQTDKOL.js} +2 -2
- package/dist/preview/{chunk.5WU2UTP7.js → chunk.TRPPN2GD.js} +1 -1
- package/dist/preview/{chunk.YKACMLLU.js → chunk.TTFYXKLI.js} +1 -1
- package/dist/preview/{chunk.FEBCIEI3.js → chunk.TXEWSZGO.js} +1 -1
- package/dist/preview/chunk.U4T4Y2MT.js +1 -0
- package/dist/preview/chunk.ULTYDYTS.js +19 -0
- package/dist/preview/chunk.UQ4CASST.js +1 -0
- package/dist/preview/chunk.UQENE3VE.js +1 -0
- package/dist/preview/chunk.USAGE5C6.js +28 -0
- package/dist/preview/{chunk.ZK42LPF5.js → chunk.UVMLX4US.js} +1 -1
- package/dist/preview/{chunk.G7XKQNOL.js → chunk.UXNZPPWR.js} +1 -1
- package/dist/preview/chunk.UYCPQ6IW.js +1 -0
- package/dist/preview/chunk.V6X3U3JF.js +1 -0
- package/dist/preview/{chunk.2K3YQJW3.js → chunk.VOHDRH3P.js} +1 -1
- package/dist/preview/{chunk.R7CRV2FE.js → chunk.VRJ4TULC.js} +1 -1
- package/dist/preview/{chunk.QRCTTDDQ.js → chunk.VTCPA4V4.js} +1 -1
- package/dist/preview/chunk.VTRI2MT2.js +2 -0
- package/dist/preview/chunk.W54NXXC5.js +293 -0
- package/dist/preview/{chunk.NVNQSZ43.js → chunk.WDEMPWS4.js} +1 -1
- package/dist/preview/chunk.XBNASVTY.js +1 -0
- package/dist/preview/{chunk.EIWTZC4A.js → chunk.XDEKL6TJ.js} +1 -1
- package/dist/preview/chunk.XE72DFBV.js +13 -0
- package/dist/preview/{chunk.N7D5LKBI.js → chunk.XFIZLWYA.js} +1 -1
- package/dist/preview/{chunk.U6PCKJ26.js → chunk.XXCT6DLX.js} +1 -1
- package/dist/preview/{chunk.7354O67H.js → chunk.Y4VOCJ7R.js} +1 -1
- package/dist/preview/chunk.YA7ZMGOL.js +1 -0
- package/dist/preview/{chunk.D62V3TBW.js → chunk.YI7WHBAD.js} +2 -2
- package/dist/preview/{chunk.6CY3EA6U.js → chunk.Z4YSCHZT.js} +1 -1
- package/dist/preview/{chunk.MBNZ2HK7.js → chunk.ZQWKS6K5.js} +1 -1
- package/dist/preview/{chunk.7IOC6U3C.js → chunk.ZYYM52N5.js} +1 -1
- package/dist/preview/index.html +50 -50
- package/dist/preview/page.js +2 -2
- package/package.json +6 -6
- package/dist/preview/chunk.2EB7COX5.js +0 -1
- package/dist/preview/chunk.2X3UZJWI.js +0 -1
- package/dist/preview/chunk.337JMOTL.js +0 -1
- package/dist/preview/chunk.3ZQAPPJ5.js +0 -18
- package/dist/preview/chunk.4VI3EYDL.js +0 -1
- package/dist/preview/chunk.4ZLCMATU.js +0 -2
- package/dist/preview/chunk.5LWPNOJA.js +0 -1
- package/dist/preview/chunk.63SRVTG2.js +0 -19
- package/dist/preview/chunk.6BA6RUK7.js +0 -1
- package/dist/preview/chunk.6JERQFZI.js +0 -1
- package/dist/preview/chunk.6NIE3ILA.js +0 -1
- package/dist/preview/chunk.6QNBUBGD.js +0 -1
- package/dist/preview/chunk.7OAXW7QF.js +0 -1
- package/dist/preview/chunk.7SNIX56B.js +0 -1
- package/dist/preview/chunk.AI2HBKVP.js +0 -359
- package/dist/preview/chunk.BDQ4FUKO.js +0 -1
- package/dist/preview/chunk.BRDAO2OF.js +0 -4
- package/dist/preview/chunk.CC7E6NUQ.js +0 -1
- package/dist/preview/chunk.D2T563AA.js +0 -1
- package/dist/preview/chunk.DC7M56NM.js +0 -9
- package/dist/preview/chunk.DIS7JS7X.js +0 -1
- package/dist/preview/chunk.DVLWSCIC.js +0 -35
- package/dist/preview/chunk.EHOEMVQP.js +0 -1
- package/dist/preview/chunk.EME5HQ3H.js +0 -1
- package/dist/preview/chunk.G446PWV6.js +0 -1
- package/dist/preview/chunk.HST7BYFW.js +0 -1
- package/dist/preview/chunk.JOWJNIWH.js +0 -4
- package/dist/preview/chunk.JV7FLVUV.js +0 -1
- package/dist/preview/chunk.KQSD5MLY.js +0 -1
- package/dist/preview/chunk.KSJ3J5UN.js +0 -1
- package/dist/preview/chunk.LXJW2Z2M.js +0 -1
- package/dist/preview/chunk.MCFLCC42.js +0 -12
- package/dist/preview/chunk.MYKRJ4SV.js +0 -1
- package/dist/preview/chunk.NICCIJV4.js +0 -1
- package/dist/preview/chunk.NQPNK6I5.js +0 -1
- package/dist/preview/chunk.NWK4E7TJ.js +0 -1
- package/dist/preview/chunk.NZB5S5UO.js +0 -1
- package/dist/preview/chunk.PRCWGE7A.js +0 -1
- package/dist/preview/chunk.PXHBPLTQ.js +0 -1
- package/dist/preview/chunk.PXVJBL2C.js +0 -1
- package/dist/preview/chunk.Q3XKNZQW.js +0 -1
- package/dist/preview/chunk.Q5IAXTF5.js +0 -25
- package/dist/preview/chunk.QXCYAFRT.js +0 -1
- package/dist/preview/chunk.RMRO5JZX.js +0 -1
- package/dist/preview/chunk.S4ZWBCYC.js +0 -1
- package/dist/preview/chunk.SELLAVIQ.js +0 -1
- package/dist/preview/chunk.SM6HTPYF.js +0 -1
- package/dist/preview/chunk.T6KKNWZT.js +0 -1
- package/dist/preview/chunk.UEPVA6IS.js +0 -1
- package/dist/preview/chunk.UMS7XRPO.js +0 -1
- package/dist/preview/chunk.VGIWQNJB.js +0 -1
- package/dist/preview/chunk.W5UJLKIT.js +0 -1
- package/dist/preview/chunk.WUEU3QBL.js +0 -1
- package/dist/preview/chunk.WWUMSCYC.js +0 -1
- package/dist/preview/chunk.XPR3QFF4.js +0 -1
- package/dist/preview/chunk.YKXUDACI.js +0 -28
- package/dist/preview/chunk.YUEOUV7G.js +0 -5
- package/dist/preview/chunk.YYWLYVAW.js +0 -1
- package/dist/preview/chunk.Z2JMTRF4.js +0 -1
- package/dist/preview/chunk.Z2UFPOAN.js +0 -88
- package/dist/preview/chunk.ZEKKIMKI.js +0 -1
- package/dist/preview/chunk.ZZGXVYW2.js +0 -1
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
var __graviewPreload=(base,files)=>{if(typeof document>"u")return;const asked=globalThis.__graviewPreloaded??=new Set;for(const file of files){const href=new URL(file,base).href;if(asked.has(href))continue;asked.add(href);const link=document.createElement("link");link.rel="modulepreload";link.href=href;document.head.append(link)}};import{Fa as _,G as C,La as Hr,Ma as Br,Na as Cr,Qa as Z,T as S,Ua as J,a as Ne,aa as me,ba as X,e as He,ka as Or,l as Er,m as Tr,s as Ar,sa as Nr,v as ie,z as $r}from"./chunk.Q5IAXTF5.js";import{a as M}from"./chunk.SDO3U72B.js";import{Ac as cr,Ad as br,Bd as xr,Cc as pr,Cd as kr,Dc as ur,Dd as Sr,Ed as Pr,Fd as Oe,Jc as gr,Jd as Lr,Lc as fr,Oc as mr,Pc as wr,Ya as nr,da as er,ia as rr,ja as tr,ld as fe,mb as ar,md as ae,nd as vr,pd as $e,rc as ir,rd as yr,sd as hr,tc as or,td as Q,uc as ge,vc as Ae,wc as sr,xc as lr,yc as U,zc as dr}from"./chunk.VOHRQXCF.js";import{a as Je,b as h}from"./chunk.AJZBJBMO.js";var Kr=Je(L=>{"use strict";var Vt=C();function Wr(r){var e="https://react.dev/errors/"+r;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+r+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function W(){}var P={d:{f:W,r:function(){throw Error(Wr(522))},D:W,C:W,L:W,m:W,X:W,S:W,M:W},p:0,findDOMNode:null},It=Symbol.for("react.portal");function Wt(r,e,t){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:It,key:n==null?null:""+n,children:r,containerInfo:e,implementation:t}}var oe=Vt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function ve(r,e){if(r==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}L.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P;L.createPortal=function(r,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(Wr(299));return Wt(r,e,null,t)};L.flushSync=function(r){var e=oe.T,t=P.p;try{if(oe.T=null,P.p=2,r)return r()}finally{oe.T=e,P.p=t,P.d.f()}};L.preconnect=function(r,e){typeof r=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,P.d.C(r,e))};L.prefetchDNS=function(r){typeof r=="string"&&P.d.D(r)};L.preinit=function(r,e){if(typeof r=="string"&&e&&typeof e.as=="string"){var t=e.as,n=ve(t,e.crossOrigin),i=typeof e.integrity=="string"?e.integrity:void 0,a=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;t==="style"?P.d.S(r,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:n,integrity:i,fetchPriority:a}):t==="script"&&P.d.X(r,{crossOrigin:n,integrity:i,fetchPriority:a,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};L.preinitModule=function(r,e){if(typeof r=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var t=ve(e.as,e.crossOrigin);P.d.M(r,{crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&P.d.M(r)};L.preload=function(r,e){if(typeof r=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var t=e.as,n=ve(t,e.crossOrigin);P.d.L(r,t,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};L.preloadModule=function(r,e){if(typeof r=="string")if(e){var t=ve(e.as,e.crossOrigin);P.d.m(r,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else P.d.m(r)};L.requestFormReset=function(r){P.d.r(r)};L.unstable_batchedUpdates=function(r,e){return r(e)};L.useFormState=function(r,e,t){return oe.H.useFormState(r,e,t)};L.useFormStatus=function(){return oe.H.useHostTransitionStatus()};L.version="19.2.8"});var qr=Je((sa,zr)=>{"use strict";function Gr(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gr)}catch(r){console.error(r)}}Gr(),zr.exports=Kr()});var _r={name:"Graview",typography:{body:Ae.body,mono:Ae.mono},schemes:ge},Rr={ground:"--graview-ground",groundDeep:"--graview-ground-deep",wash:"--graview-wash",panel:"--graview-panel",panelMuted:"--graview-panel-muted",panelWarning:"--graview-panel-warning",edge:"--graview-edge",edgeBright:"--graview-edge-bright",ink:"--graview-ink",inkMuted:"--graview-ink-muted",inkFaint:"--graview-ink-faint",accent:"--graview-accent",accentDim:"--graview-accent-dim",accentInk:"--graview-accent-ink",warn:"--graview-warn",good:"--graview-good",bad:"--graview-bad",glow:"--graview-glow",bar:"--graview-bar",float:"--graview-float",liftLow:"--graview-lift-low",liftHigh:"--graview-lift-high",tintAlpha:"--graview-tint-alpha",tintLightness:"--graview-tint-lightness",gridAlpha:"--graview-grid-alpha"};function Dr(r){return Object.keys(Rr).map(e=>` ${Rr[e]}: ${r[e]};`).join(`
|
|
2
|
-
`)}function Mr(r,e){let t=r===e?r:`${r} ${e}`;return` ${t} [data-graview-view] { transition: none; }
|
|
3
|
-
${t} [data-graview-touched] > * { animation: none; }
|
|
4
|
-
${t} [data-graview-view][data-graview-wrote] > *,
|
|
5
|
-
${t} [data-graview-view][data-graview-read] > * {
|
|
6
|
-
animation: none;
|
|
7
|
-
box-shadow: 0 0 0 2px var(--graview-activity);
|
|
8
|
-
}
|
|
9
|
-
${t} [data-graview-view][data-graview-read] > * { box-shadow: 0 0 0 1px var(--graview-activity); }
|
|
10
|
-
${t} [data-graview-connector][data-graview-activity] { animation: none; stroke-opacity: 1; }`}function Ht(r="dark",e=_r,t={}){let n=Mt(r,e,t);return t.scope===void 0?n:Bt(n,t.scope)}function Bt(r,e){let t=`:where(${e}) `,n=o=>o===e||o.startsWith(`${e} `)||o.startsWith(`${e}:`)||o.startsWith(`${e}[`)||o.startsWith(":root")&&o.includes(` ${e} `),i=o=>{let p=o.match(/^\s*/)[0],d=Rt(o.trim()).map(s=>n(s)?s:`${t}${s}`);return`${p}${d.join(", ")} `},a=o=>{let p="",d=0;for(;d<o.length;){let s=o.indexOf("{",d);if(s===-1)return p+o.slice(d);let u=Ct(o,s),c=o.slice(d,s),f=o.slice(s+1,u),m=c.trim().startsWith("@")?c.trim().split(/[\s(]/)[0]:null;m===null?p+=`${i(c)}{${f}}`:m==="@media"||m==="@supports"||m==="@container"||m==="@layer"?p+=`${c}{${a(f)}}`:p+=`${c}{${f}}`,d=u+1}return p};return a(r)}function Ct(r,e){let t=0,n=null;for(let i=e;i<r.length;i++){let a=r[i];if(n)a==="\\"?i++:a===n&&(n=null);else if(a==='"'||a==="'")n=a;else if(a==="/"&&r[i+1]==="*")i=r.indexOf("*/",i+2)+1||r.length;else if(a==="{")t++;else if(a==="}"&&--t===0)return i}return r.length}function Rt(r){let e=[],t=0,n=null,i="";for(let a of r){if(n)a===n&&(n=null);else if(a==='"'||a==="'")n=a;else if(a==="("||a==="[")t++;else if(a===")"||a==="]")t--;else if(a===","&&t===0){e.push(i.trim()),i="";continue}i+=a}return i.trim()&&e.push(i.trim()),e}function Mt(r,e,t){let n=e.schemes[r],i=t.scope??":root",a=t.scope??"html, body",o=t.scope??"body",p=":root",d=sr(e),s=lr(e),u=gr(e.kit);return`${i} {
|
|
11
|
-
${Dr(n)}
|
|
12
|
-
${fr(u)}
|
|
13
|
-
|
|
14
|
-
${wr()}
|
|
15
|
-
--graview-font-body: ${s.body};
|
|
16
|
-
--graview-font-display: ${s.display};
|
|
17
|
-
--graview-font-mono: ${s.mono};
|
|
18
|
-
|
|
19
|
-
--graview-weight-display: ${s.weights.display};
|
|
20
|
-
--graview-weight-body: ${s.weights.body};
|
|
21
|
-
--graview-weight-label: ${s.weights.label};
|
|
22
|
-
|
|
23
|
-
--graview-text-small: .833rem;
|
|
24
|
-
--graview-text-body: 1rem;
|
|
25
|
-
--graview-text-heading: 1.2rem;
|
|
26
|
-
--graview-text-title: 1.728rem;
|
|
27
|
-
|
|
28
|
-
--graview-space-1: 4px;
|
|
29
|
-
--graview-space-2: 8px;
|
|
30
|
-
--graview-space-3: 12px;
|
|
31
|
-
--graview-space-4: 16px;
|
|
32
|
-
--graview-space-5: 24px;
|
|
33
|
-
--graview-space-6: 32px;
|
|
34
|
-
--graview-space-7: 48px;
|
|
35
|
-
|
|
36
|
-
--graview-radius: ${d.radius}px;
|
|
37
|
-
--graview-radius-sm: ${d.radiusSmall}px;
|
|
38
|
-
--graview-pad: ${d.pad}px;
|
|
39
|
-
--graview-pad-sm: ${d.padSmall}px;
|
|
40
|
-
--graview-gap: ${d.gap}px;
|
|
41
|
-
color-scheme: ${r};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@media (max-width: 480px) { ${i} { --graview-text-title: 1.44rem; } }
|
|
45
|
-
|
|
46
|
-
${a} {
|
|
47
|
-
margin: 0;
|
|
48
|
-
background: var(--graview-ground-deep);
|
|
49
|
-
color: var(--graview-ink);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
${o} {
|
|
54
|
-
font: 0.875rem/1.55 var(--graview-font-body);
|
|
55
|
-
font-weight: var(--graview-weight-body);
|
|
56
|
-
font-variant-numeric: tabular-nums;
|
|
57
|
-
-webkit-font-smoothing: antialiased;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
h1, h2, h3, h4 { font-family: var(--graview-font-display); font-weight: var(--graview-weight-display); }
|
|
62
|
-
h1, h2 { letter-spacing: ${or}; }
|
|
63
|
-
|
|
64
|
-
.graview-logo > svg, .graview-logo-face > svg { display: block; height: 100%; width: auto; }
|
|
65
|
-
.graview-logo-face { display: inline-flex; height: 100%; width: auto; }
|
|
66
|
-
|
|
67
|
-
${i} [data-graview-scheme-only="${r==="dark"?"light":"dark"}"] { display: none; }
|
|
68
|
-
${r==="dark"?`${i} [data-graview-logo-fallback="invert"] { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }`:""}
|
|
69
|
-
code, kbd, samp { font-family: var(--graview-font-mono); }
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
[data-graview-figure] > svg {
|
|
73
|
-
width: 100%;
|
|
74
|
-
height: 100%;
|
|
75
|
-
display: block;
|
|
76
|
-
overflow: visible;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
@property --graview-altitude {
|
|
81
|
-
syntax: "<number>";
|
|
82
|
-
inherits: true;
|
|
83
|
-
initial-value: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.graview-ground {
|
|
88
|
-
position: relative;
|
|
89
|
-
|
|
90
|
-
isolation: isolate;
|
|
91
|
-
z-index: ${mr("scene")};
|
|
92
|
-
background: var(--graview-wash), var(--graview-ground);
|
|
93
|
-
--graview-altitude: 0;
|
|
94
|
-
transition: --graview-altitude 640ms cubic-bezier(0.33, 0, 0.2, 1);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
.graview-ground::before {
|
|
100
|
-
content: "";
|
|
101
|
-
position: absolute;
|
|
102
|
-
inset: 0;
|
|
103
|
-
pointer-events: none;
|
|
104
|
-
background-image:
|
|
105
|
-
linear-gradient(var(--graview-edge) 1px, transparent 1px),
|
|
106
|
-
linear-gradient(90deg, var(--graview-edge) 1px, transparent 1px);
|
|
107
|
-
background-size: var(--graview-kit-grid-size, 64px) var(--graview-kit-grid-size, 64px);
|
|
108
|
-
opacity: calc(var(--graview-kit-grid, 1) * var(--graview-grid-alpha) * (1 - var(--graview-altitude)));
|
|
109
|
-
mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
.graview-scroll {
|
|
114
|
-
overflow: auto;
|
|
115
|
-
min-height: 0;
|
|
116
|
-
--graview-scroll-shade: ${r==="light"?"rgba(20,30,32,0.22)":"rgba(0,0,0,0.55)"};
|
|
117
|
-
}
|
|
118
|
-
.graview-scroll[data-graview-more-below] {
|
|
119
|
-
box-shadow: inset 0 -12px 10px -10px var(--graview-scroll-shade);
|
|
120
|
-
}
|
|
121
|
-
.graview-scroll[data-graview-more-above] {
|
|
122
|
-
box-shadow: inset 0 12px 10px -10px var(--graview-scroll-shade);
|
|
123
|
-
}
|
|
124
|
-
.graview-scroll[data-graview-more-above][data-graview-more-below] {
|
|
125
|
-
box-shadow: inset 0 12px 10px -10px var(--graview-scroll-shade), inset 0 -12px 10px -10px var(--graview-scroll-shade);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
.graview-ground::after {
|
|
132
|
-
content: "";
|
|
133
|
-
position: absolute;
|
|
134
|
-
inset: 0;
|
|
135
|
-
pointer-events: none;
|
|
136
|
-
--graview-lattice-tile: var(--graview-lattice-cell, calc(var(--graview-kit-lattice-size, 46px) * 2.2361));
|
|
137
|
-
--graview-lattice-line: var(--graview-edge);
|
|
138
|
-
background-image:
|
|
139
|
-
linear-gradient(to top right, transparent calc(50% - 0.5px), var(--graview-lattice-line) calc(50% - 0.5px), var(--graview-lattice-line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
|
|
140
|
-
linear-gradient(to top left, transparent calc(50% - 0.5px), var(--graview-lattice-line) calc(50% - 0.5px), var(--graview-lattice-line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
|
|
141
|
-
linear-gradient(to top right, transparent calc(50% - 0.5px), var(--graview-lattice-line) calc(50% - 0.5px), var(--graview-lattice-line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
|
|
142
|
-
linear-gradient(to top left, transparent calc(50% - 0.5px), var(--graview-lattice-line) calc(50% - 0.5px), var(--graview-lattice-line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
|
|
143
|
-
|
|
144
|
-
--graview-lattice-rise: calc(var(--graview-lattice-tile) * var(--graview-lattice-tilt, 0.5));
|
|
145
|
-
background-size:
|
|
146
|
-
var(--graview-lattice-tile) var(--graview-lattice-rise),
|
|
147
|
-
var(--graview-lattice-tile) var(--graview-lattice-rise),
|
|
148
|
-
calc(var(--graview-lattice-tile) / 2) calc(var(--graview-lattice-rise) / 2),
|
|
149
|
-
calc(var(--graview-lattice-tile) / 2) calc(var(--graview-lattice-rise) / 2);
|
|
150
|
-
|
|
151
|
-
background-position: var(--graview-lattice-x, 0px) var(--graview-lattice-y, 0px);
|
|
152
|
-
|
|
153
|
-
opacity: calc(var(--graview-kit-lattice, 1) * var(--graview-grid-alpha) * 2 * var(--graview-altitude));
|
|
154
|
-
mask-image: linear-gradient(to top, #000 42%, rgba(0,0,0,0.35) 70%, transparent 92%);
|
|
155
|
-
-webkit-mask-image: linear-gradient(to top, #000 42%, rgba(0,0,0,0.35) 70%, transparent 92%);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
.graview-profile-keeping { display: grid; gap: 6px; }
|
|
160
|
-
.graview-profile-keeping:not(:has(button, a)) { display: none; }
|
|
161
|
-
.graview-profile-keeping > * { justify-self: start; }
|
|
162
|
-
|
|
163
|
-
.graview-host-action:hover,
|
|
164
|
-
.graview-host-action:focus-visible {
|
|
165
|
-
background: var(--graview-wash);
|
|
166
|
-
color: var(--graview-accent);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
@keyframes graview-settle {
|
|
172
|
-
from { opacity: 0; transform: translateY(7px); }
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
[data-graview-pick] {
|
|
177
|
-
cursor: pointer;
|
|
178
|
-
transition: filter 140ms ease, box-shadow 140ms ease;
|
|
179
|
-
}
|
|
180
|
-
[data-graview-pick]:hover {
|
|
181
|
-
filter: brightness(${r==="light"?.96:1.18});
|
|
182
|
-
}
|
|
183
|
-
[data-graview-pick]:focus-visible {
|
|
184
|
-
outline: 2px solid var(--graview-accent);
|
|
185
|
-
outline-offset: 2px;
|
|
186
|
-
border-radius: 7px;
|
|
187
|
-
}
|
|
188
|
-
.graview-activity-record:hover > [data-graview-primitive="chip"] {
|
|
189
|
-
filter: brightness(${r==="light"?.96:1.18});
|
|
190
|
-
}
|
|
191
|
-
.graview-activity-record:focus-visible {
|
|
192
|
-
outline: 2px solid var(--graview-accent);
|
|
193
|
-
outline-offset: 2px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
[data-graview-slot]:focus-visible {
|
|
197
|
-
outline: none;
|
|
198
|
-
}
|
|
199
|
-
[data-graview-slot]:focus-visible > span:first-of-type {
|
|
200
|
-
box-shadow: 0 0 0 2px var(--graview-ground), 0 0 0 4px var(--graview-accent);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
[data-graview-view] { cursor: pointer; }
|
|
205
|
-
[data-graview-view]:hover { filter: brightness(${r==="light"?.985:1.12}); }
|
|
206
|
-
[data-graview-view]:focus-visible {
|
|
207
|
-
outline: 2px solid var(--graview-accent);
|
|
208
|
-
outline-offset: 3px;
|
|
209
|
-
border-radius: var(--graview-radius);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
button {
|
|
213
|
-
font: inherit;
|
|
214
|
-
font-weight: var(--graview-weight-label);
|
|
215
|
-
color: var(--graview-ink);
|
|
216
|
-
padding: 7px 13px;
|
|
217
|
-
border: 1px solid var(--graview-edge);
|
|
218
|
-
border-radius: var(--graview-radius-sm, 8px);
|
|
219
|
-
background: var(--graview-panel);
|
|
220
|
-
box-shadow: ${r==="light"?"0 1px 2px rgba(24,33,58,0.05)":"none"};
|
|
221
|
-
cursor: pointer;
|
|
222
|
-
transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
button:hover:not(:disabled) {
|
|
226
|
-
border-color: var(--graview-edge-bright);
|
|
227
|
-
box-shadow: ${r==="light"?"0 1px 2px rgba(24,33,58,0.06), 0 6px 16px -8px rgba(24,33,58,0.2)":"0 0 0 1px var(--graview-accent-dim)"};
|
|
228
|
-
}
|
|
229
|
-
button:focus-visible {
|
|
230
|
-
outline: 2px solid var(--graview-accent);
|
|
231
|
-
outline-offset: 2px;
|
|
232
|
-
}
|
|
233
|
-
button:disabled { opacity: 0.45; cursor: default; }
|
|
234
|
-
|
|
235
|
-
code { color: var(--graview-ink-muted); font-size: 0.8125rem; letter-spacing: 0.02em; }
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
[data-graview-view] {
|
|
239
|
-
transition: filter 260ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
[data-graview-stage="dom"] [data-graview-view],
|
|
244
|
-
[data-graview-stage="dom"] [data-graview-view] > [data-graview-natural] {
|
|
245
|
-
pointer-events: none;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
@keyframes graview-touched {
|
|
251
|
-
0% { box-shadow: 0 0 0 0 var(--graview-accent-dim); }
|
|
252
|
-
35% { box-shadow: 0 0 26px 3px var(--graview-accent-dim); }
|
|
253
|
-
100% { box-shadow: 0 0 0 0 transparent; }
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
@keyframes graview-landed {
|
|
257
|
-
0% { box-shadow: 0 0 0 0 var(--graview-activity); opacity: 0.55; }
|
|
258
|
-
30% { box-shadow: 0 0 30px 4px var(--graview-activity); opacity: 1; }
|
|
259
|
-
100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
@keyframes graview-considered {
|
|
264
|
-
0% { outline-color: transparent; }
|
|
265
|
-
25% { outline-color: var(--graview-activity); }
|
|
266
|
-
100% { outline-color: transparent; }
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
@keyframes graview-relation {
|
|
271
|
-
0% { stroke-opacity: 0.28; stroke-width: 1.4; }
|
|
272
|
-
30% { stroke-opacity: 1; stroke-width: 3; }
|
|
273
|
-
100% { stroke-opacity: 0.28; stroke-width: 1.4; }
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
@media (prefers-reduced-motion: reduce) {
|
|
278
|
-
${Mr(`${p}:not([data-graview-motion='full'])`,o)}
|
|
279
|
-
}
|
|
280
|
-
${Mr(`${p}[data-graview-motion='reduce']`,o)}`}var Be=h(C(),1),Fr=new WeakMap,we=r=>{let e=Fr.get(r);return e||Fr.set(r,e={open:null,drawn:0,listeners:new Set}),e},_t=r=>{for(let e of[...r.listeners])e()},Dt=0;function na(r,e){let t=we(r);t.open=e?{...e,at:++Dt}:null,_t(t)}var Vr=r=>e=>{let t=we(r);return t.listeners.add(e),()=>void t.listeners.delete(e)};function Ir(r){let e=()=>r?we(r).drawn>0:!1;return(0,Be.useSyncExternalStore)(r?Vr(r):Ft,e,e)}var Ft=()=>()=>{};function aa(r){let e=()=>we(r).open;return(0,Be.useSyncExternalStore)(Vr(r),e,e)}var F=h(C(),1),jr=h(qr(),1);function Kt(r){let[e,t]=(0,F.useState)(null),[n,i]=(0,F.useState)(null);return(0,F.useLayoutEffect)(()=>{r.current!==n&&i(r.current)}),(0,F.useLayoutEffect)(()=>{if(!n||typeof ResizeObserver>"u")return;let a=()=>Math.round(n.getBoundingClientRect().width),o=a();t(o);let p=new ResizeObserver(()=>{let d=a();d!==o&&(o=d,(0,jr.flushSync)(()=>t(d)))});return p.observe(n),()=>p.disconnect()},[n]),e}function Gt(r=!0){let[e,t]=(0,F.useState)();return(0,F.useEffect)(()=>{if(!r)return t(void 0);let n=0,i=()=>t(innerHeight),a=()=>{i(),clearTimeout(n),n=window.setTimeout(i,300)},o=p=>{for(let[d,s]of[[window,"resize"],[window,"orientationchange"],[window.visualViewport,"resize"]])d?.[p](s,a)};return o("addEventListener"),i(),()=>{clearTimeout(n),o("removeEventListener")}},[r]),e}var ye={position:"absolute",width:1,height:1,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(50%)",whiteSpace:"nowrap"};var T=h(C(),1);var O=h(S(),1),Yr=6e3;function zt(){let r=[],e=0,t=new Set,n=new Map,i,a=()=>{for(let s of[...t])s()},o=s=>{if(clearTimeout(n.get(s.id)),n.delete(s.id),s.kind!=="toast")return;let u=(s.actions?.length??0)+(s.action?1:0),c=s.timeout??(u>0?!1:Yr);c!==!1&&n.set(s.id,setTimeout(()=>i?.()?o(s):p(s.id),c))},p=s=>{clearTimeout(n.get(s)),n.delete(s),r.some(u=>u.id===s)&&(r=r.filter(u=>u.id!==s),a())},d=s=>{r=r.some(u=>u.id===s.id)?r.map(u=>u.id===s.id?s:u):[...r,s],o(s),a()};return{notify(s){let u=s.id??`notice-${++e}`;return d({...s,id:u,said:++e}),{id:u,dismiss:()=>p(u),update:c=>{let f=r.find(m=>m.id===u);f&&d({...f,...c,id:u,kind:f.kind,said:c.sentence!==void 0&&c.sentence!==f.sentence?++e:f.said})}}},dismiss:p,hold(s){i=s},list:()=>r,subscribe(s){return t.add(s),()=>t.delete(s)}}}function qt({notices:r}){let e=r.reduce((p,d)=>!p||d.said>p.said?d:p,void 0),[t,n]=(0,T.useState)(""),[i,a]=(0,T.useState)(""),o=(0,T.useRef)(0);return(0,T.useEffect)(()=>{if(!e||e.said===o.current)return;o.current=e.said;let p=e.tone==="bad";(p?a:n)("");let d=setTimeout(()=>(p?a:n)(e.sentence),50);return()=>clearTimeout(d)},[e]),(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{role:"status","aria-live":"polite","data-testid":"notices-said",style:ye,children:t}),(0,O.jsx)("div",{role:"alert","data-testid":"notices-alarm",style:ye,children:i})]})}var jt=(0,T.createContext)(null);function Yt({board:r,anchor:e}){let t=(0,T.useSyncExternalStore)(r.subscribe,r.list,r.list);return(0,T.useEffect)(()=>Xt(Ce.prefetch),[]),(0,O.jsxs)(O.Fragment,{children:[t.length>0?(0,O.jsx)(T.Suspense,{fallback:null,children:(0,O.jsx)(Qt,{notices:t,anchor:e,board:r})}):null,(0,O.jsx)(qt,{notices:t})]})}var Ce=_(M(()=>(__graviewPreload(import.meta.url,["./chunk.MB7LKKUD.js","./chunk.AI2HBKVP.js","./chunk.Q5IAXTF5.js","./chunk.SDO3U72B.js","./chunk.VOHRQXCF.js","./chunk.SLBWPVIY.js","./chunk.AJZBJBMO.js"]),import("./chunk.T6KKNWZT.js")))),Ut=()=>Ce.load().then(()=>{},()=>{}),Qt=Ce.part((r,e)=>(0,O.jsx)(r.NoticeStacks,{...e}),{quiet:!0});function Xt(r){let e=()=>{(typeof navigator>"u"||navigator.onLine!==!1)&&r()},t=globalThis;if(t.requestIdleCallback){let i=t.requestIdleCallback(e,{timeout:5e3});return()=>t.cancelIdleCallback?.(i)}let n=setTimeout(e,2500);return()=>clearTimeout(n)}var R=_(M(()=>(__graviewPreload(import.meta.url,["./chunk.LSL25VXW.js","./chunk.UEPVA6IS.js","./chunk.WWUMSCYC.js","./chunk.Y37DXEHG.js","./chunk.DXZ5VYCQ.js","./chunk.J2R55TM7.js","./chunk.KPUX27ZT.js","./chunk.DIS7JS7X.js","./chunk.JV7FLVUV.js","./chunk.7354O67H.js","./chunk.TI4OSTQV.js","./chunk.GZHZLJBF.js","./chunk.YKACMLLU.js","./chunk.OJGHDWI6.js","./chunk.337JMOTL.js","./chunk.CV4QA4ZF.js","./chunk.OYRZ2DEI.js","./chunk.7EA7THSM.js","./chunk.AI2HBKVP.js","./chunk.Q5IAXTF5.js","./chunk.SDO3U72B.js","./chunk.VOHRQXCF.js","./chunk.SLBWPVIY.js","./chunk.AJZBJBMO.js"]),import("./chunk.DC7M56NM.js"))));var v=h(C(),1);var Xr=h(C(),1);var Ur=h(C(),1);function Re(r){return(0,Ur.useMemo)(()=>r===void 0||r===""?void 0:{__html:r},[r])}var K=h(S(),1);function Me({brand:r,size:e=22}){let t=pr(r),n=Qr(t?.light),i=n?Qr(t?.dark):void 0,a=Re(n!==void 0&&U(n)?n:void 0),o=Re(i!==void 0&&U(i)?i:void 0),p={display:"inline-flex",flex:"0 0 auto",height:e,color:"var(--graview-accent)"},d=ur(r);if(d)return(0,K.jsx)("span",{className:"graview-logo graview-emoji-mark","data-testid":"app-mark","aria-hidden":!0,style:{...p,alignItems:"center",fontSize:`${e*.86/16}rem`,lineHeight:1},children:d});if(!n)return null;let s=r?.logoAlt??r?.name??"",u=s!==""&&s!==r?.name,c=u?{role:"img","aria-label":s}:{"aria-hidden":!0};if(i){let m=(y,k,b)=>U(y)?(0,K.jsx)("span",{className:"graview-logo-face","data-graview-scheme-only":b,dangerouslySetInnerHTML:k}):(0,K.jsx)("img",{className:"graview-logo-face","data-graview-scheme-only":b,src:y,alt:""});return(0,K.jsxs)("span",{className:"graview-logo","data-testid":"app-mark",style:p,...c,children:[m(n,a,"light"),m(i,o,"dark")]})}let f=t?.darkFallback==="invert"?{"data-graview-logo-fallback":"invert"}:{};return U(n)?(0,K.jsx)("span",{className:"graview-logo","data-testid":"app-mark",style:p,...f,...c,dangerouslySetInnerHTML:a}):(0,K.jsx)("img",{className:"graview-logo","data-testid":"app-mark",src:n,alt:u?s:"",...f,style:{...p,width:"auto"}})}function Qr(r){if(!(!r||!cr(r)))return U(r)&&dr(r)!==null?void 0:r}function Zt(r){(0,Xr.useEffect)(()=>{if(!r||typeof document>"u")return;let e=[...document.querySelectorAll('link[rel~="icon"]')],t=e.map(i=>i.getAttribute("href")),n;e.length===0&&(n=document.createElement("link"),n.rel="icon",n.setAttribute("data-graview-favicon",""),document.head.appendChild(n),e.push(n));for(let i of e)i.href=r;return()=>{n&&n.remove(),e.forEach((i,a)=>{i!==n&&t[a]!==null&&t[a]!==void 0&&i.setAttribute("href",t[a])})}},[r])}var l=h(S(),1),Jt=R.part((r,e)=>(0,l.jsx)(r.TidyFoot,{...e}),{quiet:!0}),en=R.part((r,e)=>(0,l.jsx)(r.Here,{...e}),{quiet:!0});function rn(){let r=X(),[e,t]=(0,v.useState)("");return(0,v.useEffect)(()=>r?.store.subscribe((n,i)=>{i.some(a=>a.author.id!==r.principal.id)&&R.load().then(a=>a.sayTheirChange(i,r,t),String)}),[r]),(0,l.jsx)("span",{role:"status",className:"graview-bar-said",children:e})}var Zr="home",Jr="/",Y="scene:whole";function tn(r){let{store:e,principal:t,views:n}=r,i=e.kindsKeptFrom(t),a=e.schema.kinds.filter(g=>!e.modules.disabledKinds.has(g)&&!i.has(g)),o=n?.arrangement?.(),p=n?.places()??[],d=Sr(o,e.schema,p),s=kr(e.schema,o,[...e.modules.administered.values()].flatMap(g=>g.kinds??[])),u=(g,E)=>(!e.graph.size.nodes||e.graph.count(g)>0)&&(d?E?d.places.has(`${g}|${E}`):d.kinds.has(g):!s.has(g)),c=[{key:Zr,label:"Home",path:Jr,group:"home",primary:!0}],f=p.filter(g=>a.includes(g.kind)&&g.as!==Pr),m=f.filter(g=>!g.hidden),y=new Set(ae(m).map(g=>Q(g,p,e.schema).toLowerCase())),k=g=>yr(g.as,hr(g,p)?$e(e.schema,g.kind).slice(1):void 0),b=new Set(o?.hide??[]),N=Lr(a,o?.order,m);for(let{kind:g,view:E}of N){if(E){c.push({key:`place:${E.kind}:${E.as}`,label:Q(E,p,e.schema),path:k(E),group:"lists",kind:g,primary:d?d.places.has(`${g}|${E.as}`):!0});continue}let q=rr(e.schema,g),H=y.has(q.toLowerCase());c.push({key:`kind:${g}`,label:H?tr(e.schema,g):q,path:$e(e.schema,g),group:"lists",kind:g,primary:H||b.has(g)?!1:u(g),...b.has(g)?{hidden:!0}:{}})}for(let g of ae(f)){if(N.some(H=>H.view&&fe(H.view,g)))continue;let E=k(g),q=[g.kind,...g.over??[]].some(H=>a.includes(H)&&u(H,g.as));c.some(H=>H.path===E)||c.push({key:`place:${g.kind}:${g.as}`,label:Q(g,p,e.schema),path:E,group:"pictures",kind:g.kind,primary:q,hidden:g.hidden})}return a.some(g=>Object.keys(e.schema.tryDefinition(g)?.edges??{}).length>0)&&c.push({key:"connections",label:"Connections",path:"/map",group:"pictures",primary:!1}),c}function nn(r,e){let[t="/",n=""]=e.split("?"),i=r.find(o=>o.path===(n?`${t}?${n}`:t))??r.find(o=>o.path===t);if(i)return i.key;let a=`/${t.split("/").filter(Boolean)[0]??""}`;return r.find(o=>o.group==="lists"&&o.path===a)?.key??null}var et=(0,v.createContext)(null),an=()=>(0,v.useContext)(et),ee=30,rt=48,se=640,Fe=4,_e=2;function tt(r){let{widths:e,current:t,room:n,more:i,gap:a=Fe,primary:o,most:p=xr}=r;if(e.length===0||!(n>0)||!(i>0)||e.some(c=>!(c>0)))return null;let d=(c,f)=>c.reduce((m,y)=>m+e[y],0)+a*Math.max(0,c.length-1)+(f?a+i:0),s=(c,f)=>t<0||!c.includes(t)||c.slice(0,f).includes(t)?c.slice(0,f):[...c.filter(m=>m!==t).slice(0,f-1),t].sort((m,y)=>m-y),u=s(e.map((c,f)=>f).filter(c=>o?.[c]!==!1||c===t),p);if(d(u,u.length<e.length)<=n)return u.length>=_e?u:null;for(let c=u.length-1;c>=_e;c--){let f=s(u,c);if(d(f,!0)<=n)return f}return null}var on=`
|
|
281
|
-
.graview-bar{display:block;margin:0;padding:0;container:graview-bar/inline-size;flex:0 0 auto;position:relative;background:var(--graview-bar);border-bottom:1px solid var(--graview-edge);color:var(--graview-ink);font-family:var(--graview-font-body,system-ui)}
|
|
282
|
-
.graview-bar-row{display:flex;flex-wrap:nowrap;align-items:center;gap:16px;height:${rt-1}px;margin:0;padding:0 16px}
|
|
283
|
-
.graview-bar-home,.graview-bar-face,.graview-bar-place,.graview-bar-item,.graview-bar-at{display:inline-flex;align-items:center;box-sizing:border-box;min-width:0;margin:0;border:0;background:none;box-shadow:none;font:inherit;letter-spacing:normal;text-transform:none;text-decoration:none;color:var(--graview-ink);cursor:pointer;text-align:left}
|
|
284
|
-
.graview-bar-app{display:flex;flex:0 1 auto;max-width:50%}
|
|
285
|
-
.graview-bar-app::after{content:"";flex:0 100000 auto;width:2px;min-width:0}
|
|
286
|
-
.graview-bar-name{margin:0;display:flex;font-family:var(--graview-font-display,var(--graview-font-body,system-ui));font-size:.9375rem;font-weight:600;line-height:1.25}
|
|
287
|
-
.graview-bar-home{gap:8px;min-width:auto;min-height:30px;padding:0;letter-spacing:-.005em}
|
|
288
|
-
.graview-bar-app-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
|
|
289
|
-
.graview-bar-faces{display:inline-flex;flex:0 0 auto;box-sizing:border-box;height:30px;margin:0;padding:2px;gap:2px;border:1px solid var(--graview-edge);border-radius:8px}
|
|
290
|
-
.graview-bar-face{gap:6px;padding:0 10px;border-radius:6px;font-size:.8125rem;white-space:nowrap;color:var(--graview-ink-muted)}
|
|
291
|
-
.graview-bar-face span{min-width:0;max-width:11em;overflow:hidden;text-overflow:ellipsis}
|
|
292
|
-
.graview-bar-face[aria-pressed=true]{color:var(--graview-ink);font-weight:600;background:color-mix(in srgb,var(--graview-accent) 16%,transparent)}
|
|
293
|
-
[data-switch-drawn=icons] .graview-bar-face{padding:0 8px}
|
|
294
|
-
.graview-bar-said,[data-switch-drawn=icons] .graview-bar-face span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
|
|
295
|
-
.graview-bar-mid{display:flex;flex:1 100 0;min-width:0}
|
|
296
|
-
.graview-bar-mid[data-place]{min-width:9em;flex-basis:auto}
|
|
297
|
-
.graview-bar-place-at{position:relative;display:inline-flex;min-width:0;max-width:100%}
|
|
298
|
-
.graview-bar-place{gap:6px;height:30px;max-width:100%;padding:0 8px;border:1px solid transparent;border-radius:8px;font-size:.875rem;font-weight:600}
|
|
299
|
-
.graview-bar-face:hover,.graview-bar-place:hover{border-color:var(--graview-edge);color:var(--graview-ink)}
|
|
300
|
-
.graview-bar-place-words{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
301
|
-
.graview-bar-mid[data-places=standing]{flex:0 0 auto}
|
|
302
|
-
.graview-bar-places{display:flex;align-items:center;gap:${Fe}px;min-width:0;margin:0;padding:0}
|
|
303
|
-
.graview-bar-at{gap:6px;flex:0 0 auto;height:30px;padding:0 8px;border-block:2px solid transparent;border-radius:0;font-size:.875rem;font-weight:500;white-space:nowrap;color:var(--graview-ink-muted)}
|
|
304
|
-
.graview-bar-at:is(:hover,[aria-current],[aria-expanded=true]){color:var(--graview-ink)}
|
|
305
|
-
.graview-bar-at[aria-current]{font-weight:600;border-bottom-color:var(--graview-accent)}
|
|
306
|
-
.graview-bar-ruler{position:absolute;left:0;top:0;display:flex;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none}
|
|
307
|
-
.graview-bar-ruler .graview-bar-at{font-weight:600}
|
|
308
|
-
.graview-bar-ruler>.graview-bar-name{flex:none;white-space:nowrap;letter-spacing:-.005em}
|
|
309
|
-
.graview-bar-list{display:grid;align-content:start;width:min(320px,calc(100vw - 24px));height:auto;max-height:min(70vh,560px);overflow:auto;margin:0;padding:6px;border-radius:10px;border:1px solid var(--graview-edge);background:var(--graview-float);box-shadow:var(--graview-lift-high);color:var(--graview-ink)}
|
|
310
|
-
.graview-bar-list[hidden]{display:none}
|
|
311
|
-
.graview-bar-list p{margin:8px 8px 2px;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--graview-ink-muted)}
|
|
312
|
-
.graview-bar-list ul,.graview-bar-list li{display:grid;margin:0;padding:0;list-style:none}
|
|
313
|
-
.graview-bar-item{align-items:flex-start;gap:10px;width:100%;padding:7px 8px;border-radius:7px;font-size:.875rem;line-height:1.3;overflow-wrap:anywhere}
|
|
314
|
-
.graview-bar-item:hover{background:color-mix(in srgb,var(--graview-ink) 7%,transparent)}
|
|
315
|
-
.graview-bar-item[aria-current]{font-weight:600;background:color-mix(in srgb,var(--graview-accent) 14%,transparent)}
|
|
316
|
-
.graview-bar-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:14px;height:1.3em;color:var(--graview-ink-muted)}
|
|
317
|
-
.graview-bar :focus-visible{outline:2px solid var(--graview-accent);outline-offset:1px}
|
|
318
|
-
.graview-bar-tools{display:contents}
|
|
319
|
-
.graview-bar-tools>*{margin-left:-8px}
|
|
320
|
-
.graview-bar-tools>:is(.graview-bar-find,.graview-bar-find-open){margin-left:auto}
|
|
321
|
-
.graview-bar-own{display:flex;align-items:center;flex:0 0 auto}
|
|
322
|
-
.graview-bar-own:empty{display:none}
|
|
323
|
-
.graview-bar-find{position:relative;display:flex;min-width:7.5rem;flex:0 600 9rem;--graview-bar-find-end:3.25em}
|
|
324
|
-
.graview-bar-find-slot{display:flex;flex:1;min-width:0}
|
|
325
|
-
.graview-bar-find-keys{position:absolute;right:10px;line-height:30px;pointer-events:none;font-size:.75rem;color:var(--graview-ink-faint)}
|
|
326
|
-
.graview-bar-find:is(:focus-within,:has(input:not(:placeholder-shown))){flex-basis:16rem;--graview-bar-find-end:10px}
|
|
327
|
-
:is(:focus-within,:has(input:not(:placeholder-shown)))>.graview-bar-find-keys,.graview-bar-find-open{display:none}
|
|
328
|
-
.graview-bar-line{display:flex;flex:0 0 auto;padding:6px 8px;background:var(--graview-ground);border-bottom:1px solid var(--graview-edge);font-family:var(--graview-font-body,system-ui)}
|
|
329
|
-
.graview-bar-line .graview-bar-place{height:auto;min-height:32px}
|
|
330
|
-
.graview-bar-line .graview-bar-place-words{white-space:normal}
|
|
331
|
-
@media (pointer:coarse){.graview-bar-find-keys{display:none}}
|
|
332
|
-
@container graview-bar (max-width: ${se-1}px){
|
|
333
|
-
.graview-bar-row{gap:10px;padding:0 12px}
|
|
334
|
-
.graview-bar-app,.graview-bar-home{max-width:none;flex:1 1 auto;min-width:28px}
|
|
335
|
-
.graview-bar-name,.graview-bar-app-name{min-width:0}
|
|
336
|
-
.graview-bar-mid,.graview-bar-find{display:none}
|
|
337
|
-
.graview-bar-find-open{display:inline-flex}
|
|
338
|
-
.graview-bar-own{--graview-activity-mark:inline}
|
|
339
|
-
.graview-bar-own .graview-activity-word{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
|
|
340
|
-
.graview-bar[data-finding] :is(.graview-bar-app,.graview-bar-faces,.graview-bar-find-open){display:none}
|
|
341
|
-
.graview-bar[data-finding] .graview-bar-find{display:flex;flex:1 1 auto;min-width:0}
|
|
342
|
-
}
|
|
343
|
-
@container graview-bar (max-width: 300px){
|
|
344
|
-
.graview-bar-row{gap:4px;padding:0 10px}
|
|
345
|
-
}`,re={display:"inline-flex",alignItems:"center",justifyContent:"center",gap:6,minWidth:ee,height:ee,padding:0,borderRadius:8,border:"1px solid transparent",background:"none",boxShadow:"none",color:"var(--graview-ink-muted)",font:"inherit",fontSize:"0.875rem",cursor:"pointer",flex:"0 0 auto"};function sn({brand:r,name:e,heading:t=1,home:n,faces:i,places:a,current:o,reach:p,tools:d,find:s=!0,description:u,findBox:c,onFind:f,switch:m="words",scenePlaces:y,skips:k,named:b=!0}){let N=(0,v.useRef)(null),ze=X()?.who.size,[g,E]=(0,v.useState)(null),[q,H]=(0,v.useState)(null),[$,yt]=(0,v.useState)(!1),[ht,qe]=(0,v.useState)(!1),[bt,xt]=(0,v.useState)(!0),[je,kt]=(0,v.useState)(null),de=i?i.pages.current:!y,ne=de?{places:a,current:o,reach:p}:y,Pe=ne&&{...ne,places:vr(ne.places),here:ne.places.find(w=>w.key===ne.current)?.label},x=Pe&&Pe.places.length>0?Pe:null,Le=x?x.places.findIndex(w=>w.key===x.current):-1,Ye=!!i&&m==="words",Ue=x?x.places.map(w=>w.primary===!1?"0":"1").join(""):"",I=(0,v.useCallback)(()=>{let w=N.current;if(!w)return;let B=hn(w,Le,Ye,Ue);B!==void 0&&kt(B);let j=B?!0:dn(w);j!==null&&xt(j)},[Le,Ye,Ue]);(0,v.useLayoutEffect)(()=>{let w=N.current;if(!w)return;let B=()=>{let ue=w.getBoundingClientRect().width;yt(ue<se),w.style.setProperty("--graview-bar-width",`${Math.round(ue)}px`),I()};B();let j=typeof document>"u"?void 0:document.fonts;if(j?.ready.then(I),j?.addEventListener?.("loadingdone",I),typeof ResizeObserver>"u")return()=>j?.removeEventListener?.("loadingdone",I);let Te=new ResizeObserver(B);Te.observe(w);for(let ue of w.querySelectorAll(".graview-bar-tools > *"))Te.observe(ue);return()=>{Te.disconnect(),j?.removeEventListener?.("loadingdone",I)}},[I]);let Ee=(0,v.useRef)(f);Ee.current=f,(0,v.useLayoutEffect)(()=>{Ee.current?.(s&&g?{slot:g,compact:$,own:q}:null)},[s,g,$,q]),(0,v.useLayoutEffect)(()=>()=>Ee.current?.(null),[]);let St=(0,v.useCallback)(()=>{qe(!0),requestAnimationFrame(()=>g?.querySelector("input")?.focus())},[g]),Qe=(0,v.useRef)(null),ce=(0,v.useRef)(!1),Xe=(0,v.useCallback)(()=>{qe(!1),ce.current&&(ce.current=!1,requestAnimationFrame(()=>Qe.current?.focus()))},[]),Pt=t===!1?"span":`h${t}`,Lt=n.href!==void 0?"a":"button",Et=w=>B=>{!w||!at(B)||(B.preventDefault(),w())},Tt=!de,Ze=x&&!$&&je!==null&&!(Le<0&&x.here)?je.split(",").map(Number).filter(w=>w<x.places.length):null,pe=x?(0,l.jsx)(vn,{places:x.places,current:x.current,here:x.here,reach:x.reach,scene:Tt,stands:Ze}):null,At=x?x.places.map(w=>w.label).join(`
|
|
346
|
-
`):"";(0,v.useLayoutEffect)(I,[I,e,r,At,x?.current,de,$,m,s]);let $t=m==="icons"||!bt||$?"icons":"words";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("header",{ref:N,className:"graview-bar","data-testid":"app-bar","data-graview-app-bar":"",...ht&&$?{"data-finding":""}:{},children:[(0,l.jsx)("style",{children:on}),k,(0,l.jsxs)("div",{className:"graview-bar-row",children:[b?(0,l.jsx)("div",{className:"graview-bar-app",children:(0,l.jsx)(Pt,{className:"graview-bar-name",children:(0,l.jsxs)(Lt,{...n.href!==void 0?{href:n.href,onClick:Et(n.go)}:{type:"button",onClick:n.go},"data-testid":"app-home",...n.current?{"aria-current":"page"}:{},title:u?`${e} \u2014 ${u}`:`${e} \u2014 home`,className:"graview-bar-home",children:[(0,l.jsx)(Me,{brand:r,size:20}),(0,l.jsx)("span",{className:"graview-bar-app-name","data-testid":"app-name",children:e})]})})}):null,i?(0,l.jsx)(ln,{faces:i,form:m,drawn:$t}):null,(0,l.jsx)("div",{className:"graview-bar-mid",...Ze?{"data-places":"standing"}:!$&&pe?{"data-place":""}:{},children:$?null:pe}),!$&&x&&x.places.length>1?(0,l.jsxs)("span",{className:"graview-bar-ruler","aria-hidden":"true","data-graview-bar-ruler":"",children:[x.places.map(w=>(0,l.jsx)("span",{className:"graview-bar-at",children:w.label},w.key)),(0,l.jsxs)("span",{className:"graview-bar-at",children:[De,(0,l.jsx)(ot,{})]})]}):null,b?(0,l.jsx)("span",{className:"graview-bar-ruler","aria-hidden":"true",children:(0,l.jsx)("span",{className:"graview-bar-name",children:e})}):null,(0,l.jsxs)("div",{className:"graview-bar-tools",children:[s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button",className:"graview-bar-find-open",ref:Qe,"data-testid":"app-find-open","aria-label":"Find",title:"Find",onClick:St,style:{...re,display:void 0},children:(0,l.jsx)(gn,{})}),(0,l.jsxs)("div",{className:"graview-bar-find","data-testid":"app-find",onBlur:w=>{let B=w.relatedTarget;B instanceof Node&&w.currentTarget.contains(B)||w.currentTarget.querySelector("input")?.value||Xe()},onKeyDownCapture:w=>{w.key==="Escape"&&$&&(ce.current=!0)},onKeyDown:w=>{w.key!=="Escape"||!$||(!w.defaultPrevented||!w.currentTarget.querySelector("input")?.value?Xe():ce.current=!1)},children:[(0,l.jsx)("div",{ref:E,className:"graview-bar-find-slot",children:c}),(0,l.jsx)(pn,{})]})]}):null,(0,l.jsx)("div",{ref:H,className:"graview-bar-own","data-graview-bar-own":""}),ze?(0,l.jsx)(v.Suspense,{fallback:null,children:(0,l.jsx)(en,{scene:!de,compact:$})}):null,(0,l.jsx)(rn,{}),d]})]})]}),$&&pe?(0,l.jsx)("div",{className:"graview-bar-line","data-graview-place-line":"","data-testid":"app-place-line",children:pe}):null]})}function ln({faces:r,form:e,drawn:t}){let n=i=>{let a=r[i];return(0,l.jsxs)("button",{type:"button",className:"graview-bar-face","data-testid":`app-face-${i}`,"aria-pressed":a.current,title:a.label,...a.reach&&!a.current?{onPointerEnter:a.reach,onPointerDown:a.reach,onFocus:a.reach}:{},onClick:()=>{a.current||a.go()},children:[i==="scene"?(0,l.jsx)(it,{}):(0,l.jsx)(un,{}),(0,l.jsx)("span",{children:a.label})]})};return(0,l.jsxs)("div",{className:"graview-bar-faces",role:"group","aria-label":`${r.scene.label} or ${r.pages.label}`,"data-testid":"app-faces","data-switch":e,"data-switch-drawn":t,children:[n("scene"),n("pages")]})}function dn(r){let e=r.querySelector(".graview-bar-faces"),t=r.querySelector(".graview-bar-mid"),n=r.querySelector(".graview-bar-find");if(!e||!t||n?.matches(":focus-within")||r.getBoundingClientRect().width<se)return null;let a=lt(e),o=t.querySelector(".graview-bar-place-words"),p=o?parseFloat(getComputedStyle(o).fontSize)||14:0,d=o?Math.min(o.scrollWidth+34,14*p):0,s=nt(r);if(s===null)return!1;let u=t.getBoundingClientRect().width-d-s;if(n&&n.getBoundingClientRect().width>0){let c=parseFloat(getComputedStyle(n).flexBasis);isFinite(c)&&(u-=Math.max(0,c-n.getBoundingClientRect().width))}return e.getAttribute("data-switch-drawn")==="icons"?u>=a+2:u>=-1}function nt(r){let e=r.querySelector(".graview-bar-app"),t=r.querySelector(".graview-bar-ruler>.graview-bar-name");if(!e||!t)return 0;let n=o=>o?.getBoundingClientRect().width??0,i=n(e.firstElementChild)-n(r.querySelector(".graview-bar-app-name"))+n(t)+2,a=parseFloat(getComputedStyle(e).maxWidth)/100*(e.parentElement.clientWidth-2*e.offsetLeft)||1/0;return i>a+.5?null:Math.max(0,i-n(e))}var at=r=>r.button===0&&!(r.metaKey||r.ctrlKey||r.shiftKey||r.altKey);function cn(){let r=globalThis.navigator?.platform??"";return/Mac|iPhone|iPad|iPod/.test(r)?"\u2318K":"Ctrl K"}function pn(){let r=Ir(X()?.aiDesk);return(0,l.jsx)("span",{className:"graview-bar-find-keys","data-testid":"app-find-keys","aria-hidden":"true",children:r?"/":cn()})}function le({size:r,box:e=r,children:t}){return(0,l.jsx)("svg",{width:r,height:r,viewBox:`0 0 ${e} ${e}`,"aria-hidden":"true",focusable:"false",style:{flex:"0 0 auto"},children:t})}function it(){return(0,l.jsxs)(le,{size:14,children:[(0,l.jsx)("path",{d:"M7 1.5 L12.5 4.5 L7 7.5 L1.5 4.5 Z",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M1.5 7.5 L7 10.5 L12.5 7.5",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round",strokeLinecap:"round"})]})}function un(){return(0,l.jsxs)(le,{size:14,children:[(0,l.jsx)("rect",{x:"2.25",y:"1.75",width:"9.5",height:"10.5",rx:"1.5",fill:"none",stroke:"currentColor",strokeWidth:"1.3"}),(0,l.jsx)("path",{d:"M4.5 5 H9.5 M4.5 7.25 H9.5 M4.5 9.5 H7.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})}function ot(){return(0,l.jsx)(le,{size:10,children:(0,l.jsx)("path",{d:"M2 3.5 L5 6.5 L8 3.5",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function gn(){return(0,l.jsxs)(le,{size:16,children:[(0,l.jsx)("circle",{cx:"7",cy:"7",r:"4.75",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,l.jsx)("path",{d:"M10.5 10.5 L14 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}function fn({place:r}){if(r.key===Y)return(0,l.jsx)(it,{});if(r.group==="home")return(0,l.jsx)(le,{size:13,box:14,children:(0,l.jsx)("path",{d:"M2 6.5 L7 2 L12 6.5 V12 H2 Z",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round"})});let e=r.kind?`hsl(${Math.round(ir(r.kind))} 55% 52%`:"rgb(128 128 128";return(0,l.jsx)("span",{"aria-hidden":"true",style:{display:"inline-block",width:12,height:8,clipPath:"polygon(50% 0, 100% 50%, 50% 100%, 0 50%)",background:r.group==="lists"?`${e})`:`linear-gradient(${e}), ${e})) center / 6px 4px no-repeat, ${e} / 0.35)`}})}var mn=[{group:"home"},{group:"lists",heading:"Lists"},{group:"pictures",heading:"Pictures"}],De="More";function st({place:r,current:e,reach:t,standing:n,done:i}){let a=r.key===e,o=t.href?.(r.path);return(0,l.jsxs)(o!==void 0?"a":"button",{className:n?"graview-bar-at":"graview-bar-item","data-testid":`app-place-${r.key}`,"data-place-path":r.path,...a?{"aria-current":"page"}:{},...o!==void 0?{href:o}:{type:"button"},onClick:d=>{i(),t.go&&(o!==void 0&&!at(d)||(d.preventDefault(),t.go(r)))},children:[n?null:(0,l.jsx)("span",{className:"graview-bar-mark",children:(0,l.jsx)(fn,{place:r})}),n&&a?(0,l.jsx)("span",{"data-testid":"app-place-current",children:r.label}):(0,l.jsx)("span",{children:r.label})]})}function wn({places:r,current:e,reach:t,id:n,done:i}){return(0,l.jsx)(l.Fragment,{children:mn.map(({group:a,heading:o})=>{let p=r.filter(s=>s.group===a);if(p.length===0)return null;let d=`${n}-${a}`;return(0,l.jsxs)("div",{role:"group",...o?{"aria-labelledby":d}:{"aria-label":p[0].label},"data-place-group":a,children:[o?(0,l.jsx)("p",{id:d,children:o}):null,(0,l.jsx)("ul",{children:p.map(s=>(0,l.jsx)("li",{children:(0,l.jsx)(st,{place:s,current:e,reach:t,standing:!1,done:i})},s.key))})]},a)})})}function vn({places:r,current:e,here:t,reach:n,scene:i,stands:a}){let o=J("places"),p=(0,v.useRef)(a);o.open||(p.current=a);let d=p.current,u=r.find(b=>b.key===e)?.label??t??"Places",c=d?r.filter((b,N)=>!d.includes(N)):r,f=yn(r,e,i),m=X(),y=m?.keptViews?.current(),k=!!(y&&(y.removed.length>0||m.views.places().some(b=>b.hidden)||y.may.lenses&&(m.views.arrangement?.()?.hide?.length??0)>0));return(0,l.jsxs)("nav",{className:d?"graview-bar-places":"graview-bar-place-at","aria-label":i?"What the scene shows":"The app\u2019s places",...d?{"data-testid":"app-places-standing"}:{},...f,children:[d?.map(b=>(0,l.jsx)(st,{place:r[b],current:e,reach:n,standing:!0,done:()=>{}},r[b].key)),c.length>0||k?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("button",{type:"button",className:d?"graview-bar-at":"graview-bar-place","data-testid":"app-places-open",...o.trigger,onClick:o.toggle,"aria-label":d?`${De} \u2014 ${c.length} more ${i?"pictures":"places"}`:`${u} \u2014 ${i?"everything the scene shows":"every place"}`,title:d?c.map(b=>b.label).join(", "):u,children:[d?De:(0,l.jsx)("span",{className:"graview-bar-place-words","data-testid":"app-place-current",children:u}),(0,l.jsx)(ot,{})]}),(0,l.jsxs)("div",{...o.pane,"data-testid":"app-places",hidden:!o.open,className:"graview-bar-list",style:Z,children:[(0,l.jsx)(wn,{places:c,current:e,reach:n,id:o.pane.id,done:()=>o.setOpen(!1)}),k&&o.open?(0,l.jsx)(v.Suspense,{fallback:null,children:(0,l.jsx)(Jt,{id:o.pane.id,scene:i,reach:n,done:()=>o.setOpen(!1)})}):null]})]}):null]})}function yn(r,e,t){let n=X()?.setMenuAt,i=a=>{let o=a.target.closest?.("[data-place-path],[data-testid=app-places-open]");if(!o||!n)return;let p={at:0};a.type==="pointerdown"?document.addEventListener("pointerup",()=>p.at||=Date.now(),{once:!0}):a.preventDefault();let d=a.nativeEvent;R.load().then(s=>s.placeGesture(d,o,r,e,t,n,p),String)};return{onContextMenu:a=>a.shiftKey||i(a),onKeyDown:a=>(a.key==="ContextMenu"||a.key==="F10"&&a.shiftKey)&&i(a),onPointerDown:a=>a.pointerType!=="mouse"&&a.isPrimary&&i(a)}}function hn(r,e,t,n){let i=r.querySelector("[data-graview-bar-ruler]"),a=r.querySelector(".graview-bar-mid");if(!i||!a)return null;let o=r.querySelector(".graview-bar-find");if(o?.matches(":focus-within"))return;if(r.getBoundingClientRect().width<se)return null;let p=nt(r);if(p===null)return null;let d=[...i.children].map(N=>N.getBoundingClientRect().width),s=d.pop()??0,u=r.querySelector(".graview-bar-faces"),c=u&&t?lt(u):0,f=u?.getAttribute("data-switch-drawn")==="words"?c:0,m=a.getBoundingClientRect().left+p,y=o?.getBoundingClientRect(),k=y&&y.width>0?y.right-m-(parseFloat(getComputedStyle(o).minWidth)||0)-16:a.getBoundingClientRect().width-p,b=[...n].map(N=>N!=="0");return tt({widths:d,current:e,room:Math.floor(k+f-c),more:s,primary:b})?.join(",")??null}function lt(r){return[...r.querySelectorAll(".graview-bar-face span")].reduce((e,t)=>e+t.scrollWidth+10,0)}var bn=r=>`graview:lenses:${r}`,xn=(r,e)=>r?.name??e.kinds.join(",");function Ve(r){try{let e=JSON.parse(localStorage.getItem(bn(r))??"[]");return Array.isArray(e)?e.filter(t=>typeof t?.title=="string"&&typeof t.lens=="string"):[]}catch{return[]}}var G=h(C(),1);var A=h(S(),1);function kn({scheme:r,onScheme:e,profileHref:t,keeping:n,hostActions:i=Sn,signature:a=!1}){let{store:o,principal:p,seats:d,people:s}=me(),u=J("profile"),c=u.open,[f,m]=(0,G.useState)(!1);(0,G.useEffect)(()=>En(he),[]),c&&!f&&m(!0),(0,G.useEffect)(()=>{c&&he()},[c]);let y=p.id===void 0?void 0:o.graph.getNode(p.id),k=y===void 0?p.id===void 0?"Nobody in particular":nr(p,{graph:o.graph,schema:o.schema,seats:d,people:s}):er(o.schema.tryDefinition(y.kind),y);return(0,A.jsxs)("div",{style:{position:"relative"},children:[(0,A.jsx)("button",{type:"button","data-testid":"profile-button",...u.trigger,onClick:u.toggle,onPointerEnter:he,onFocus:he,"aria-label":`${k} \u2014 you, your seat and your settings`,title:`${k} \u2014 you, your seat and your settings`,style:{...re,borderRadius:999},children:(0,A.jsx)("span",{"aria-hidden":"true","data-testid":"profile-mark",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:ee-4,height:ee-4,borderRadius:999,fontSize:"0.8125rem",fontWeight:600,background:"var(--graview-panel-muted)",color:"var(--graview-ink)",border:"1px solid var(--graview-edge)"},children:Tn(k)})}),(0,A.jsxs)("section",{...u.pane,"aria-label":"Profile","data-testid":"profile","data-graview-offstage":"",hidden:!c,style:{...Z,width:280,maxWidth:"calc(100vw - 32px)",maxHeight:"min(62cqh, 520px)",overflowY:"auto",overflowX:"hidden",display:c?"grid":"none",gap:12,padding:12,borderRadius:10,border:"1px solid var(--graview-edge)",background:"var(--graview-float)",boxShadow:"var(--graview-lift-high)"},children:[f?(0,A.jsx)(G.Suspense,{fallback:null,children:(0,A.jsx)(Pn,{part:"top",name:k,me:y,profileHref:t,hostActions:i,close:()=>u.setOpen(!1)})}):null,(0,A.jsxs)("div",{className:"graview-profile-keeping","data-testid":"profile-keeping",style:$n,children:[(0,A.jsx)("span",{style:An,children:"Keeping this app"}),n]}),f?(0,A.jsx)(G.Suspense,{fallback:null,children:(0,A.jsx)(Ln,{part:"rest",name:k,me:y,scheme:r,onScheme:e,hostActions:i,signature:a,close:()=>u.setOpen(!1)})}):null]})]})}var Sn=[],he=()=>R.prefetch(),Pn=R.part((r,e)=>(0,A.jsx)(r.ProfilePane,{...e}),{what:"The rest of your menu"}),Ln=R.part((r,e)=>(0,A.jsx)(r.ProfilePane,{...e}),{quiet:!0});function En(r){let e=()=>{(typeof navigator>"u"||navigator.onLine!==!1)&&r()},t=globalThis;if(t.requestIdleCallback){let i=t.requestIdleCallback(e,{timeout:5e3});return()=>t.cancelIdleCallback?.(i)}let n=setTimeout(e,2500);return()=>clearTimeout(n)}function Tn(r){return(r.trim()[0]??"?").toUpperCase()}var An={fontSize:"0.75rem",letterSpacing:"0.14em",textTransform:"uppercase",color:"var(--graview-ink-faint)"},$n={paddingTop:10,borderTop:"1px solid var(--graview-edge)"};function On(r){return!(r==="hidden"||r===!1)}var Ie=h(C(),1);var dt="The whole thing",be=r=>`scene:${r.kind}:${r.as}`;function ct(r){let{view:e}=r,t=r.places.filter(c=>!r.hidden.has(c.kind)),n=ae(t),i=(c,f)=>{if(c===Y)return Er(Tr(f,!0),"view",null);let m=n.find(y=>be(y)===c);return m?$r(f,m.over?.find(y=>f.focusId===ie(y))??m.kind,m.as):null},a=e.within?.view,o=c=>e.focusId===ie(c.kind)&&(a===void 0?t.filter(f=>f.kind===c.kind).at(-1)===c:a===c.as),p=t.find(c=>o(c)&&(a!==void 0||!e.overview)),d=p?n.find(c=>fe(c,p)):void 0,s=n.filter(c=>!c.hidden||c===d);return{places:[{key:Y,label:dt,path:`${Oe}${He(i(Y,Ne))}`,group:"home"},...s.map(c=>({key:be(c),label:Q(c,t,r.schema),path:`${Oe}${He(i(be(c),Ne))}`,group:"pictures",kind:c.kind,hidden:c.hidden}))],current:d?be(d):Y,to:i}}function Nn(){let{store:r,views:e,hiddenKinds:t}=me(),{view:n,go:i}=Cr(),a=e.places(),o=(0,Ie.useMemo)(()=>ct({places:a,hidden:t,view:n,schema:r.schema}),[a,t,n,r.schema]),p=(0,Ie.useMemo)(()=>({go:d=>{let s=o.to(d.key,n);s&&i(s)}}),[o,n,i]);return{places:o.places,current:o.current,reach:p}}var te=h(C(),1);var D=h(S(),1),Hn=R.part((r,e)=>(0,D.jsx)(r.ProblemRows,{...e}),{what:"The problems",as:"li"}),We=()=>R.prefetch();function Bn({clean:r="All rules hold"}){let e=Br(),{set:t}=Hr(),n=e.length,[i,a]=(0,te.useState)(!1),o=J("problems",{open:i&&n>0,onOpenChange:a}),p=o.open,d=ut(e,r);return(0,te.useEffect)(()=>{if(n===0)return;let s=setTimeout(We,1500);return()=>clearTimeout(s)},[n>0]),(0,D.jsxs)("div",{style:{position:"relative",display:"inline-flex"},children:[(0,D.jsxs)("button",{type:"button","data-testid":"standing",...o.trigger,"aria-disabled":n===0?!0:void 0,"aria-label":d,onClick:n===0?void 0:o.toggle,onPointerEnter:n===0?void 0:We,onFocus:n===0?void 0:We,title:d,style:{...re,padding:n===0?0:"0 8px",cursor:n===0?"default":"pointer",color:n===0?"var(--graview-ink-muted)":pt(e),fontVariantNumeric:"tabular-nums",fontWeight:600},children:[(0,D.jsx)(gt,{tone:n===0?"var(--graview-good)":pt(e)}),n>0?(0,D.jsx)("span",{"aria-hidden":"true",children:n}):null]}),p?(0,D.jsx)("ol",{...o.pane,"data-testid":"problems",style:{...Z,width:300,maxHeight:"min(48cqh, 420px)",overflow:"auto",margin:0,padding:4,listStyle:"none",display:"grid",borderRadius:10,border:"1px solid var(--graview-edge)",background:"var(--graview-float)",boxShadow:"var(--graview-lift-high)"},children:(0,D.jsx)(te.Suspense,{fallback:null,children:(0,D.jsx)(Hn,{violations:e,pick:s=>{t(s.nodeIds),o.setOpen(!1)}})})}):null]})}function ut(r,e){return r.length===0?e:`${ar(r)} \u2014 open what is broken, and what would fix it`}var pt=r=>r.some(e=>e.status==="could-not-judge"||e.status==="over-budget")?"var(--graview-bad)":"var(--graview-warn)";function gt({tone:r}){return(0,D.jsx)("span",{"aria-hidden":"true",style:{width:8,height:8,borderRadius:999,flex:"0 0 auto",background:r}})}function Cn(r,e,t=[]){if(r.focusId)return r.focusId;let i=(r.selection??[]).map(Ar).find(a=>a!==null)??t.find(a=>e.includes(a))??e[0]??null;return i===null?null:ie(i)}var ke=h(S(),1),xe=_(M(()=>(__graviewPreload(import.meta.url,["./chunk.6JERQFZI.js","./chunk.7XJ3XQZD.js","./chunk.52J42KR5.js","./chunk.T2Q3AAQI.js","./chunk.C4EPMV7O.js","./chunk.G7XKQNOL.js","./chunk.7KZ44FEU.js","./chunk.KPUX27ZT.js","./chunk.DIS7JS7X.js","./chunk.D2T563AA.js","./chunk.JV7FLVUV.js","./chunk.GL3YVGAP.js","./chunk.WVUJXDXZ.js","./chunk.QRCTTDDQ.js","./chunk.3TME4BG3.js","./chunk.I43ONAEL.js","./chunk.73EKJ4JN.js","./chunk.INL4OZI7.js","./chunk.5WU2UTP7.js","./chunk.GZHZLJBF.js","./chunk.YKACMLLU.js","./chunk.OJGHDWI6.js","./chunk.337JMOTL.js","./chunk.CV4QA4ZF.js","./chunk.OYRZ2DEI.js","./chunk.7EA7THSM.js","./chunk.AI2HBKVP.js","./chunk.Q5IAXTF5.js","./chunk.SDO3U72B.js","./chunk.VOHRQXCF.js","./chunk.SLBWPVIY.js","./chunk.AJZBJBMO.js"]),import("./chunk.7OAXW7QF.js"))));function Rn(){return xe.load().then(()=>{})}var Mn=[{cardinality:"one",fidelity:"full",slot:"page"},{cardinality:"one",fidelity:"summary",slot:"card"},{cardinality:"one",fidelity:"glyph",slot:"row"},{cardinality:"many",fidelity:"full"},{cardinality:"many",fidelity:"summary"},{cardinality:"many",fidelity:"glyph"}];function _n({schema:r,specs:e,kind:t,view:n}){let i=xe.current.frameworkViews(r,e).lookup(t,{cardinality:n.cardinality,fidelity:n.fidelity});return i?(0,ke.jsx)(i,{...n}):null}var Dn=xe.part((r,e)=>(0,ke.jsx)(_n,{...e}),{what:"This view"});function ft(r,e,t){for(let n of e.kinds){let i=t?.[n];for(let a of Mn){let o=d=>(0,ke.jsx)(Dn,{schema:e,specs:t,kind:n,view:d}),p=a.slot!==void 0&&i?.[a.slot]!==void 0;p&&(o.says=(d,s)=>xe.current?.frameworkViews(e,t).lookup(n,{cardinality:a.cardinality,fidelity:a.fidelity})?.says?.(d,s)),r.register(n,{cardinality:a.cardinality,fidelity:a.fidelity},p?o:Or(o))}}return r}function Fn(r,e){return ft(Nr(r),r,e)}var Ke=h(C(),1);var V=h(S(),1),mt=_(M(()=>(__graviewPreload(import.meta.url,["./chunk.LESRQN3Y.js","./chunk.7UJZP3YK.js","./chunk.R77TACXU.js","./chunk.JOWJNIWH.js","./chunk.6JERQFZI.js","./chunk.7XJ3XQZD.js","./chunk.52J42KR5.js","./chunk.T2Q3AAQI.js","./chunk.63SRVTG2.js","./chunk.C4EPMV7O.js","./chunk.G7XKQNOL.js","./chunk.7KZ44FEU.js","./chunk.HJCQ6I3S.js","./chunk.JQBP6QWQ.js","./chunk.I2W7HSBU.js","./chunk.BJL6EL6B.js","./chunk.KPUX27ZT.js","./chunk.DIS7JS7X.js","./chunk.D2T563AA.js","./chunk.JV7FLVUV.js","./chunk.GL3YVGAP.js","./chunk.VGTEEANA.js","./chunk.SZCZD2GM.js","./chunk.7FZY5E2U.js","./chunk.7354O67H.js","./chunk.C7EEYSAM.js","./chunk.FEBCIEI3.js","./chunk.WVUJXDXZ.js","./chunk.QRCTTDDQ.js","./chunk.3TME4BG3.js","./chunk.I43ONAEL.js","./chunk.73EKJ4JN.js","./chunk.INL4OZI7.js","./chunk.5WU2UTP7.js","./chunk.GZHZLJBF.js","./chunk.YKACMLLU.js","./chunk.OJGHDWI6.js","./chunk.337JMOTL.js","./chunk.CV4QA4ZF.js","./chunk.OYRZ2DEI.js","./chunk.7EA7THSM.js","./chunk.AI2HBKVP.js","./chunk.Q5IAXTF5.js","./chunk.SDO3U72B.js","./chunk.VOHRQXCF.js","./chunk.SLBWPVIY.js","./chunk.AJZBJBMO.js"]),import("./chunk.QXCYAFRT.js"))));function Vn({lens:r,view:e}){let t=mt.current.declaredLensView(r);return(0,V.jsx)(t,{...e})}var In=mt.part((r,e)=>(0,V.jsx)(Vn,{...e}),{what:"This picture"});function Wn(r){let e=n=>(0,V.jsx)(Ke.Suspense,{fallback:null,children:(0,V.jsx)(In,{lens:r,view:n})});r.lens==="blocks"&&(e.flows=!0);let t=r.lens==="blocks"?r.options.blocks?.[0]:void 0;return typeof t?.headline=="string"&&(e.lede=t),r.create===!1&&(e.creates=!1),e}var wt=_(M(()=>(__graviewPreload(import.meta.url,["./chunk.6JERQFZI.js","./chunk.7XJ3XQZD.js","./chunk.52J42KR5.js","./chunk.T2Q3AAQI.js","./chunk.C4EPMV7O.js","./chunk.G7XKQNOL.js","./chunk.7KZ44FEU.js","./chunk.KPUX27ZT.js","./chunk.DIS7JS7X.js","./chunk.D2T563AA.js","./chunk.JV7FLVUV.js","./chunk.GL3YVGAP.js","./chunk.WVUJXDXZ.js","./chunk.QRCTTDDQ.js","./chunk.3TME4BG3.js","./chunk.I43ONAEL.js","./chunk.73EKJ4JN.js","./chunk.INL4OZI7.js","./chunk.5WU2UTP7.js","./chunk.GZHZLJBF.js","./chunk.YKACMLLU.js","./chunk.OJGHDWI6.js","./chunk.337JMOTL.js","./chunk.CV4QA4ZF.js","./chunk.OYRZ2DEI.js","./chunk.7EA7THSM.js","./chunk.AI2HBKVP.js","./chunk.Q5IAXTF5.js","./chunk.SDO3U72B.js","./chunk.VOHRQXCF.js","./chunk.SLBWPVIY.js","./chunk.AJZBJBMO.js"]),import("./chunk.CC7E6NUQ.js"))));function Kn({blocks:r,view:e}){let t=wt.current.homeView(r);return(0,V.jsx)(t,{...e})}var Gn=wt.part((r,e)=>(0,V.jsx)(Kn,{...e}),{what:"The home"});function zn(r){let e=t=>(0,V.jsx)(Ke.Suspense,{fallback:null,children:(0,V.jsx)(Gn,{blocks:r,view:t})});return Object.defineProperty(e,Symbol.for("graview.home-blocks"),{value:!0}),e}function qn(r,e){return e.home&&e.home.length>0&&r.home?.(zn(e.home)),vt(r,e),r.arrange?.(e.pages),r}function vt(r,e,t){for(let n of br(e).drawn){if(t&&r.places().some(o=>o.title===n.title))continue;let i=Wn(n),a={title:n.title,lens:n.lens,...n.across?{across:n.across}:{},...t?{beside:t}:{},...n.hidden?{hidden:!0}:{},over:n.kinds,...t?{}:{declared:!0}};for(let o of n.kinds)r.register(o,{cardinality:"many",fidelity:"full"},i,a),r.register(o,{cardinality:"many",fidelity:"summary"},i,a)}}function jn(r,e,t){t.length>0&&vt(r,{schema:e,lenses:t.map(({lens:n,...i})=>({...i,name:n}))},!0)}function Yn(r,e,t){jn(r,e,Ve(t))}var z=h(C(),1),Se=h(S(),1);var Ge=r=>`graview:first-look:${r}`;function Un(r,e){if(r.seen!==void 0)try{return typeof r.seen=="function"?r.seen():r.seen}catch{return!0}try{return window.localStorage.getItem(Ge(e))!==null}catch{return!1}}function Qn(r,e){if(r.seen===void 0)try{window.localStorage.setItem(Ge(e),"seen")}catch{}}var Xn=_(M(()=>(__graviewPreload(import.meta.url,["./chunk.Q5IAXTF5.js","./chunk.SDO3U72B.js","./chunk.VOHRQXCF.js","./chunk.SLBWPVIY.js","./chunk.AJZBJBMO.js"]),import("./chunk.ZK42LPF5.js")))),Zn=Xn.part((r,e)=>{let t=r.FirstLookHints;return(0,Se.jsx)(t,{...e})},{quiet:!0});function Jn({firstLook:r,root:e,app:t}){let n=(0,z.useRef)(null);n.current=r===!0?{}:r||null;let[i,a]=(0,z.useState)(()=>n.current!==null&&typeof window<"u"&&!Un(n.current,t)),o=(0,z.useCallback)(p=>{if(a(!1),p===null)return;let d=n.current??{};Qn(d,t),d.onDone?.(p)},[t]);return!i||n.current===null?null:(0,Se.jsx)(z.Suspense,{fallback:null,children:(0,Se.jsx)(Zn,{root:e,steps:n.current.steps??[],onEnd:o})})}export{Ht as a,Bt as b,we as c,_t as d,na as e,Ir as f,aa as g,Re as h,Zt as i,qr as j,Kt as k,Gt as l,ye as m,zt as n,jt as o,Yt as p,Ut as q,R as r,tn as s,nn as t,et as u,an as v,re as w,sn as x,kn as y,On as z,Nn as A,bn as B,xn as C,Ve as D,Bn as E,ut as F,gt as G,Cn as H,qn as I,jn as J,Yn as K,Rn as L,Fn as M,Jn as N};
|
|
347
|
-
/*! Bundled license information:
|
|
348
|
-
|
|
349
|
-
react-dom/cjs/react-dom.production.js:
|
|
350
|
-
(**
|
|
351
|
-
* @license React
|
|
352
|
-
* react-dom.production.js
|
|
353
|
-
*
|
|
354
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
355
|
-
*
|
|
356
|
-
* This source code is licensed under the MIT license found in the
|
|
357
|
-
* LICENSE file in the root directory of this source tree.
|
|
358
|
-
*)
|
|
359
|
-
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk.GZHZLJBF.js";import{n as P}from"./chunk.YKACMLLU.js";import"./chunk.OJGHDWI6.js";import"./chunk.337JMOTL.js";import"./chunk.CV4QA4ZF.js";import"./chunk.OYRZ2DEI.js";import"./chunk.7EA7THSM.js";import"./chunk.AI2HBKVP.js";import{G as A,T as S,ba as b}from"./chunk.Q5IAXTF5.js";import"./chunk.SDO3U72B.js";import{Ba as w,Nc as x,oa as L}from"./chunk.VOHRQXCF.js";import"./chunk.SLBWPVIY.js";import{b as R}from"./chunk.AJZBJBMO.js";var u=R(A(),1);var n=R(S(),1),C={kind:"human"},p={color:"var(--graview-ink-muted)"};function I(e){if(e){if(/^https?:\/\//i.test(e))try{return new URL(e).href}catch{return}return L(e)?e:void 0}}function z(e){let o=b(),t=o?.linkedReads,[i,a]=(0,u.useState)(()=>t?t.answered(e)??"asking":null);return(0,u.useEffect)(()=>{if(!t){a(o?.linkedRecords?"asking":null);return}let d=t.answered(e);if(a(d===void 0?"asking":d),d!==void 0)return;let s=!0;return t.ask(e).then(l=>s&&a(l)),()=>{s=!1}},[t,o?.linkedRecords,e.address,e.kind,e.id]),i}function V({reference:e,as:o}){let t=b(),i=z(e),a={position:"relative",zIndex:x.raised,overflowWrap:"anywhere",minWidth:0,maxWidth:"100%"};if(i==="asking")return(0,n.jsx)("span",{"data-graview-linked":"","data-graview-linked-state":"asking","aria-busy":"true",style:{...p,...a},children:"Linked record"});if(i&&"denied"in i)return(0,n.jsx)("span",{"data-graview-linked":"","data-graview-linked-state":"denied",style:{...p,fontStyle:"italic",...a},children:"linked record (no access)"});if(!i)return(0,n.jsx)("span",{"data-graview-linked":"","data-graview-linked-state":"missing",style:{...p,fontStyle:"italic",...a},children:"linked record (not found)"});let d=I(i.href),s=t?.linkedRecords,l=t?.principal??C,g=s?.open?c=>{c.metaKey||c.ctrlKey||(c.preventDefault(),s.open(e,l))}:void 0,k=(0,n.jsx)("a",{"data-graview-linked-title":"",...d?{href:d}:{role:"link",tabIndex:0},...g?{onClick:g,onKeyDown:c=>!d&&(c.key==="Enter"||c.key===" ")?g(c):void 0}:{},style:{fontWeight:600,color:"inherit",textUnderlineOffset:3,cursor:d||g?"pointer":"default"},children:i.label});return o==="chip"?(0,n.jsx)("span",{"data-graview-linked":"","data-graview-linked-state":"found",title:i.describe,style:{display:"inline-flex",alignItems:"center",minHeight:24,...a},children:k}):(0,n.jsx)(D,{record:i,title:k,base:a})}function D({record:e,title:o,base:t}){return(0,n.jsxs)("span",{"data-graview-linked":"","data-graview-linked-state":"found",style:{display:"grid",gap:2,padding:"8px 10px",border:"1px solid var(--graview-line)",borderRadius:"var(--graview-radius-sm, 6px)",background:"var(--graview-surface)",...t},children:[(0,n.jsxs)("span",{style:{display:"flex",flexWrap:"wrap",alignItems:"baseline",gap:"2px 8px"},children:[o,e.app?(0,n.jsxs)("span",{"data-graview-linked-app":"",style:{...p,fontSize:"0.75rem"},children:["in ",e.app]}):null]}),e.describe?(0,n.jsx)("span",{"data-graview-linked-describe":"",style:{...p,fontSize:"0.8125rem"},children:e.describe}):null,e.card&&e.card.length>0?(0,n.jsx)("span",{"data-graview-linked-card":"",style:{display:"flex",flexWrap:"wrap",gap:"2px 12px",fontSize:"0.8125rem"},children:e.card.map(i=>(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{style:p,children:i.label})," ",i.text]},i.label))}):null]})}function H({relation:e,refs:o,as:t="record",nodeId:i,field:a,style:d}){let s=(0,n.jsx)("span",{"data-graview-linked-list":"",style:{display:"grid",gap:6,minWidth:0,...d},children:o.map(l=>(0,n.jsx)(V,{reference:l,as:t},w(l)))});return i&&a?(0,n.jsx)(K,{nodeId:i,field:a,relation:e,refs:o,drawn:s}):s}function K({nodeId:e,field:o,relation:t,refs:i,drawn:a}){let{fields:d,commit:s}=P(e),l=d.find(f=>f.field===o),[g,k]=(0,u.useState)(!1);if(!l)return a;let c=t.cardinality==="one"?i[0]?w(i[0]):void 0:i.map(w);return(0,n.jsxs)("span",{style:{display:"grid",gap:6,minWidth:0},children:[a,g?(0,n.jsx)(N,{relation:t,value:c,label:"Link another record",onChange:f=>{s(l,f),k(!1)},onCancel:()=>k(!1)}):(0,n.jsx)("button",{type:"button","data-graview-linked-change":"",onClick:()=>k(!0),style:{justifySelf:"start",font:"inherit",fontSize:"0.8125rem",background:"none",border:0,padding:"4px 0",color:"var(--graview-accent)",cursor:"pointer",minHeight:24},children:"Change"})]})}function N({relation:e,value:o,onChange:t,onCancel:i,label:a}){let d=b(),s=d?.linkedRecords,l=d?.principal??C,g=(0,u.useId)(),[k,c]=(0,u.useState)(""),[f,m]=(0,u.useState)("asking");(0,u.useEffect)(()=>{if(!s)return;let r=!0;m("asking");let y=setTimeout(()=>{Promise.resolve().then(()=>s.find({address:e.address,kinds:e.kinds,query:k,limit:20},l)).then(h=>r&&m(Array.isArray(h)?h:"denied"),()=>r&&m([]))},150);return()=>{r=!1,clearTimeout(y)}},[s,e.address,e.kinds.join(","),k,l.kind,l.id]);let v=new Set([o].flat().filter(r=>typeof r=="string")),W=r=>{let y=w(r);if(e.cardinality==="one")return t(y);t(v.has(y)?[...v].filter(h=>h!==y):[...v,y])};return s?(0,n.jsxs)("span",{"data-graview-linked-picker":"",style:{display:"grid",gap:6,minWidth:0},children:[(0,n.jsx)("label",{htmlFor:g,style:{...p,fontSize:"0.8125rem"},children:a}),(0,n.jsx)("input",{id:g,type:"search",value:k,placeholder:`Find one in ${e.address}`,onChange:r=>c(r.target.value),style:{font:"inherit",minHeight:32,padding:"4px 8px",border:"1px solid var(--graview-line)",borderRadius:6,background:"var(--graview-surface)",color:"inherit",minWidth:0}}),f==="asking"?(0,n.jsx)("span",{"aria-busy":"true",style:p,children:"Looking\u2026"}):f==="denied"?(0,n.jsx)("span",{"data-graview-linked-state":"denied",style:{...p,fontStyle:"italic"},children:"linked record (no access)"}):f.length===0?(0,n.jsx)("span",{style:p,children:"Nothing there matches."}):(0,n.jsx)("ul",{role:"list",style:{listStyle:"none",margin:0,padding:0,display:"grid",gap:4},children:f.map(r=>{let y=v.has(w(r));return(0,n.jsx)("li",{children:(0,n.jsxs)("button",{type:"button","data-graview-linked-candidate":w(r),"aria-pressed":y,onClick:()=>W(r),style:{display:"grid",gap:2,width:"100%",textAlign:"start",font:"inherit",padding:"6px 8px",minHeight:32,border:"1px solid var(--graview-line)",borderRadius:6,background:y?"var(--graview-accent-soft, var(--graview-surface))":"var(--graview-surface)",color:"inherit",cursor:"pointer"},children:[(0,n.jsx)("span",{style:{fontWeight:600},children:r.label}),r.describe?(0,n.jsx)("span",{style:{...p,fontSize:"0.8125rem"},children:r.describe}):null]})},w(r))})}),i?(0,n.jsx)("button",{type:"button",onClick:i,style:{justifySelf:"start",font:"inherit",fontSize:"0.8125rem",background:"none",border:0,padding:"4px 0",color:"var(--graview-ink-muted)",cursor:"pointer",minHeight:24},children:"Keep it as it is"}):null]}):(0,n.jsxs)("span",{"data-graview-linked-picker":"","data-graview-linked-state":"no-host",style:p,children:["This page cannot read ",e.address,", so nothing there can be linked here."]})}var U=e=>(0,n.jsx)(H,{...e}),j=e=>(0,n.jsx)(N,{...e});export{N as LinkedPicker,H as LinkedRecordView,j as drawLinkedPicker,U as drawLinkedRecord};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var l={},O={empty:!0},Se={id:"text",class:"text",title:"text",lang:"text",dir:{oneOf:["ltr","rtl","auto"]},hidden:"text",tabindex:{oneOf:["-1","0"]},role:"text",style:"style",translate:{oneOf:["yes","no"]},spellcheck:{oneOf:["true","false"]},draggable:{oneOf:["true","false"]},inert:"boolean"},A={div:l,section:l,article:l,aside:l,header:l,footer:l,nav:l,hgroup:l,search:l,address:l,figure:l,figcaption:l,blockquote:l,p:l,pre:l,hr:O,br:O,wbr:O,h1:l,h2:l,h3:l,h4:l,h5:l,h6:l,span:l,strong:l,em:l,b:l,i:l,u:l,s:l,small:l,mark:l,abbr:l,cite:l,q:l,code:l,kbd:l,samp:l,var:l,sub:l,sup:l,dfn:l,bdi:l,bdo:l,ruby:l,rt:l,rp:l,time:{attributes:{datetime:"text"}},data:{attributes:{value:"text"}},del:{attributes:{datetime:"text"}},ins:{attributes:{datetime:"text"}},a:{attributes:{href:"link"}},ul:l,menu:l,dl:l,dt:l,dd:l,ol:{attributes:{start:"number",reversed:"boolean",type:{oneOf:["1","a","A","i","I"]}}},li:{attributes:{value:"number"}},table:l,caption:l,thead:l,tbody:l,tfoot:l,tr:l,colgroup:{attributes:{span:"number"}},col:{attributes:{span:"number"},empty:!0},th:{attributes:{colspan:"number",rowspan:"number",headers:"text",scope:{oneOf:["row","col","rowgroup","colgroup"]},abbr:"text"}},td:{attributes:{colspan:"number",rowspan:"number",headers:"text"}},details:{attributes:{open:"boolean",name:"text"}},summary:l,button:{attributes:{type:{oneOf:["button"]},disabled:"boolean",name:"text",value:"text"}},input:{empty:!0,attributes:{type:{oneOf:["text","search","number","range","checkbox","radio","date","time","datetime-local","month","week","color","email","tel","url"]},name:"text",value:"text",placeholder:"text",min:"text",max:"text",step:"text",checked:"boolean",disabled:"boolean",readonly:"boolean",required:"boolean",maxlength:"number",minlength:"number",size:"number",pattern:"text",multiple:"boolean",inputmode:"text",enterkeyhint:"text"}},select:{attributes:{name:"text",disabled:"boolean",multiple:"boolean",required:"boolean",size:"number"}},option:{attributes:{value:"text",selected:"boolean",disabled:"boolean",label:"text"}},optgroup:{attributes:{label:"text",disabled:"boolean"}},textarea:{attributes:{name:"text",placeholder:"text",rows:"number",cols:"number",disabled:"boolean",readonly:"boolean",required:"boolean",maxlength:"number",minlength:"number",wrap:{oneOf:["soft","hard","off"]}}},label:{attributes:{for:"text"}},fieldset:{attributes:{disabled:"boolean",name:"text"}},legend:l,output:l,meter:{attributes:{value:"number",min:"number",max:"number",low:"number",high:"number",optimum:"number"}},progress:{attributes:{value:"number",max:"number"}},img:{empty:!0,attributes:{src:"image",alt:"text",width:"number",height:"number",decoding:{oneOf:["async","sync","auto"]}}},"graview-video":O},Ee=["fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-dasharray","stroke-dashoffset","stroke-opacity","stroke-miterlimit","opacity","color","display","visibility","transform-origin","clip-path","clip-rule","marker-start","marker-mid","marker-end","font-family","font-size","font-weight","font-style","text-anchor","dominant-baseline","alignment-baseline","letter-spacing","text-decoration","paint-order","vector-effect","shape-rendering","pointer-events","stop-color","stop-opacity","overflow","mask"],Oe={id:"text",class:"text",style:"style",lang:"text",role:"text",tabindex:{oneOf:["-1","0"]},transform:"geometry",...Object.fromEntries(Ee.map(e=>[e,"css"]))},w={x:"geometry",y:"geometry",width:"geometry",height:"geometry"},R={viewBox:"geometry",preserveAspectRatio:"geometry"},X={gradientUnits:{oneOf:["userSpaceOnUse","objectBoundingBox"]},gradientTransform:"geometry",spreadMethod:{oneOf:["pad","reflect","repeat"]},href:"fragment"},_={svg:{attributes:{...w,...R}},g:l,defs:l,symbol:{attributes:{...w,...R,refX:"geometry",refY:"geometry"}},use:{attributes:{...w,href:"fragment"}},title:l,desc:l,path:{attributes:{d:"geometry",pathLength:"number"}},rect:{attributes:{...w,rx:"geometry",ry:"geometry",pathLength:"number"}},circle:{attributes:{cx:"geometry",cy:"geometry",r:"geometry",pathLength:"number"}},ellipse:{attributes:{cx:"geometry",cy:"geometry",rx:"geometry",ry:"geometry",pathLength:"number"}},line:{attributes:{x1:"geometry",y1:"geometry",x2:"geometry",y2:"geometry",pathLength:"number"}},polyline:{attributes:{points:"geometry",pathLength:"number"}},polygon:{attributes:{points:"geometry",pathLength:"number"}},text:{attributes:{x:"geometry",y:"geometry",dx:"geometry",dy:"geometry",rotate:"geometry",textLength:"geometry",lengthAdjust:{oneOf:["spacing","spacingAndGlyphs"]}}},tspan:{attributes:{x:"geometry",y:"geometry",dx:"geometry",dy:"geometry",rotate:"geometry",textLength:"geometry"}},textPath:{attributes:{href:"fragment",startOffset:"geometry",method:{oneOf:["align","stretch"]},spacing:{oneOf:["auto","exact"]},side:{oneOf:["left","right"]}}},linearGradient:{attributes:{x1:"geometry",y1:"geometry",x2:"geometry",y2:"geometry",...X}},radialGradient:{attributes:{cx:"geometry",cy:"geometry",r:"geometry",fx:"geometry",fy:"geometry",fr:"geometry",...X}},stop:{attributes:{offset:"geometry"}},clipPath:{attributes:{clipPathUnits:{oneOf:["userSpaceOnUse","objectBoundingBox"]}}},mask:{attributes:{...w,maskUnits:{oneOf:["userSpaceOnUse","objectBoundingBox"]},maskContentUnits:{oneOf:["userSpaceOnUse","objectBoundingBox"]}}},pattern:{attributes:{...w,...R,patternUnits:{oneOf:["userSpaceOnUse","objectBoundingBox"]},patternContentUnits:{oneOf:["userSpaceOnUse","objectBoundingBox"]},patternTransform:"geometry",href:"fragment"}},marker:{attributes:{...R,markerWidth:"geometry",markerHeight:"geometry",refX:"geometry",refY:"geometry",orient:"geometry",markerUnits:{oneOf:["strokeWidth","userSpaceOnUse"]}}}};var q=["alert","alertdialog","dialog","banner","main","navigation","contentinfo","complementary","search","form","region","application","status","log","marquee","timer"],v={nav:"div",header:"div",footer:"div",aside:"div",search:"div",output:"span"},Y={section:["aria-label","aria-labelledby","title"]};function Re(e){return/^aria-[a-z]+$/.test(e)}function Ae(e){return/^data-[a-z0-9][a-z0-9_.-]*$/.test(e)}var K=["all","display","position","top","right","bottom","left","inset","inset-block","inset-inline","inset-block-start","inset-block-end","inset-inline-start","inset-inline-end","width","height","min-width","min-height","max-width","max-height","inline-size","block-size","min-inline-size","min-block-size","max-inline-size","max-block-size","margin","margin-top","margin-right","margin-bottom","margin-left","margin-block","margin-inline","margin-block-start","margin-block-end","margin-inline-start","margin-inline-end","padding","padding-top","padding-right","padding-bottom","padding-left","padding-block","padding-inline","padding-block-start","padding-block-end","padding-inline-start","padding-inline-end","box-sizing","overflow","overflow-x","overflow-y","overflow-wrap","float","clear","z-index","aspect-ratio","object-fit","object-position","vertical-align","isolation","contain","container","container-type","container-name","content-visibility","flex","flex-direction","flex-wrap","flex-flow","flex-grow","flex-shrink","flex-basis","order","grid","grid-template","grid-template-columns","grid-template-rows","grid-template-areas","grid-auto-columns","grid-auto-rows","grid-auto-flow","grid-area","grid-column","grid-row","grid-column-start","grid-column-end","grid-row-start","grid-row-end","gap","row-gap","column-gap","align-items","align-content","align-self","justify-items","justify-content","justify-self","place-items","place-content","place-self","columns","column-count","column-width","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-fill","color","background","background-color","background-image","background-position","background-position-x","background-position-y","background-size","background-repeat","background-origin","background-clip","background-attachment","background-blend-mode","border","border-top","border-right","border-bottom","border-left","border-block","border-inline","border-block-start","border-block-end","border-inline-start","border-inline-end","border-width","border-style","border-color","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-start-start-radius","border-start-end-radius","border-end-start-radius","border-end-end-radius","border-collapse","border-spacing","outline","outline-width","outline-style","outline-color","outline-offset","box-shadow","opacity","visibility","mix-blend-mode","filter","backdrop-filter","clip-path","accent-color","caret-color","color-scheme","appearance","-webkit-appearance","font","font-family","font-size","font-weight","font-style","font-stretch","font-variant","font-variant-numeric","font-variant-caps","font-variant-ligatures","font-feature-settings","font-variation-settings","font-kerning","font-optical-sizing","font-size-adjust","font-synthesis","line-height","letter-spacing","word-spacing","text-align","text-align-last","text-indent","text-transform","text-decoration","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","text-underline-position","text-shadow","text-overflow","text-wrap","text-wrap-mode","text-wrap-style","white-space","white-space-collapse","word-break","line-break","hyphens","tab-size","direction","unicode-bidi","writing-mode","text-orientation","text-rendering","-webkit-font-smoothing","-webkit-line-clamp","-webkit-box-orient","line-clamp","-webkit-text-fill-color","-webkit-background-clip","list-style","list-style-type","list-style-position","content","quotes","counter-reset","counter-increment","counter-set","table-layout","caption-side","empty-cells","transform","transform-origin","transform-box","transform-style","translate","rotate","scale","perspective","perspective-origin","backface-visibility","transition","transition-property","transition-duration","transition-timing-function","transition-delay","transition-behavior","animation","animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-composition","will-change","cursor","pointer-events","user-select","-webkit-user-select","touch-action","resize","scroll-behavior","overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y","scroll-snap-type","scroll-snap-align","scroll-snap-stop","scroll-margin","scroll-padding","scrollbar-width","scrollbar-color","scrollbar-gutter","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-dasharray","stroke-dashoffset","stroke-opacity","stroke-miterlimit","stop-color","stop-opacity","clip-rule","marker","marker-start","marker-mid","marker-end","paint-order","vector-effect","shape-rendering","text-anchor","dominant-baseline","alignment-baseline","r","cx","cy","rx","ry","x","y","d","mask"],Z=["var","env","calc","min","max","clamp","round","mod","rem","abs","sign","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","rgb","rgba","hsl","hsla","hwb","lab","lch","oklab","oklch","color","color-mix","light-dark","linear-gradient","radial-gradient","conic-gradient","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","translate","translatex","translatey","translatez","translate3d","rotate","rotatex","rotatey","rotatez","rotate3d","scale","scalex","scaley","scalez","scale3d","skew","skewx","skewy","matrix","matrix3d","perspective","cubic-bezier","steps","linear","repeat","minmax","fit-content","blur","brightness","contrast","drop-shadow","grayscale","hue-rotate","invert","saturate","sepia","opacity","circle","ellipse","inset","polygon","path","xywh","rect","counter","counters"],J=["fill","stroke","clip-path","mask","marker","marker-start","marker-mid","marker-end"],Q=["media","supports","container","keyframes"],ee={position:["static","relative","absolute","sticky"],all:[],appearance:["auto","none","menulist-button","textfield"],"-webkit-appearance":["auto","none","menulist-button","textfield"]},te=["host","host-context","slotted","part","backdrop","picker","view-transition","view-transition-group","view-transition-image-pair","view-transition-old","view-transition-new"],T=64e3,M=4e3,ne=1e5,S=512e3,Ze=1e4,Je="http://www.w3.org/1999/xhtml",Qe="http://www.w3.org/2000/svg",_e=new Map(Object.keys(_).map(e=>[e.toLowerCase(),e]));function re(e){return _e.get(e.toLowerCase())}function oe(e,r,n){let t=n.toLowerCase(),i=e==="html"?[A[r]?.attributes,Se]:[_[r]?.attributes,Oe],o=e==="svg"&&t==="xlink:href"?"href":t;for(let a of i)if(a){for(let[u,c]of Object.entries(a))if(u.toLowerCase()===o)return{name:u,kind:c}}if(Re(t)||Ae(t))return{name:t,kind:"text"}}var f=e=>e>=48&&e<=57,ie=e=>f(e)||e>=65&&e<=70||e>=97&&e<=102,B=e=>e>=65&&e<=90||e>=97&&e<=122,F=e=>e>=128,P=e=>B(e)||F(e)||e===95,ae=e=>P(e)||f(e)||e===45,se=e=>e===10,h=e=>e===10||e===9||e===32,Te=e=>e>=0&&e<=8||e===11||e>=14&&e<=31||e===127,y=-1;function Pe(e){let r=[];for(let n=0;n<e.length;n+=1){let t=e.codePointAt(n);t>65535&&(n+=1),t===13?(e.charCodeAt(n+1)===10&&(n+=1),t=10):t===12?t=10:(t===0||t>=55296&&t<=57343)&&(t=65533),r.push(t)}return r}function $e(e){let r=Pe(e),n=0,t=(s=0)=>n+s<r.length?r[n+s]:y,i=[],o=(s,d)=>s===92&&d!==10&&d!==y,a=(s,d,m)=>s===45?P(d)||d===45||o(d,m):P(s)?!0:o(s,d),u=(s,d,m)=>s===43||s===45?f(d)||d===46&&f(m):f(s===46?d:s),c=()=>{let s=t();if(n+=1,s===y)return 65533;if(ie(s)){let d=String.fromCodePoint(s);for(;d.length<6&&ie(t());)d+=String.fromCodePoint(t()),n+=1;h(t())&&(n+=1);let m=parseInt(d,16);return m===0||m>=55296&&m<=57343||m>1114111?65533:m}return s},p=()=>{let s="";for(;;){let d=t();if(ae(d))s+=String.fromCodePoint(d),n+=1;else if(o(d,t(1)))n+=1,s+=String.fromCodePoint(c());else return s}},g=()=>{let s="";for((t()===43||t()===45)&&(s+=String.fromCodePoint(r[n++]));f(t());)s+=String.fromCodePoint(r[n++]);if(t()===46&&f(t(1)))for(s+=String.fromCodePoint(r[n++],r[n++]);f(t());)s+=String.fromCodePoint(r[n++]);if((t()===69||t()===101)&&(f(t(1))||(t(1)===43||t(1)===45)&&f(t(2))))for(s+=String.fromCodePoint(r[n++]),f(t())||(s+=String.fromCodePoint(r[n++]));f(t());)s+=String.fromCodePoint(r[n++]);return s},E=()=>{let s=g();return a(t(),t(1),t(2))?{type:"dimension",repr:s,unit:p()}:t()===37?(n+=1,{type:"percentage",repr:s}):{type:"number",repr:s}},b=()=>{for(;;){let s=t();if(n+=1,s===41||s===y)return;o(s,t())&&c()}},Ce=()=>{let s="";for(;h(t());)n+=1;for(;;){let d=t();if(n+=1,d===41)return{type:"url",value:s};if(d===y)return{type:"url",value:s};if(h(d)){for(;h(t());)n+=1;return t()===41||t()===y?(t()===41&&(n+=1),{type:"url",value:s}):(b(),{type:"bad-url"})}if(d===34||d===39||d===40||Te(d))return b(),{type:"bad-url"};if(d===92){if(o(d,t()))s+=String.fromCodePoint(c());else return b(),{type:"bad-url"};continue}s+=String.fromCodePoint(d)}},j=()=>{let s=p();if(s.toLowerCase()==="url"&&t()===40){for(n+=1;h(t())&&h(t(1));)n+=1;let d=h(t())?t(1):t();return d===34||d===39?{type:"function",value:s}:Ce()}return t()===40?(n+=1,{type:"function",value:s}):{type:"ident",value:s}},ve=s=>{let d="";for(;;){let m=t();if(n+=1,m===s||m===y)return{type:"string",value:d};if(se(m))return n-=1,{type:"bad-string"};if(m===92){if(t()===y)continue;if(se(t())){n+=1;continue}d+=String.fromCodePoint(c());continue}d+=String.fromCodePoint(m)}};for(;;){for(;t()===47&&t(1)===42;){for(n+=2;t()!==y&&!(t()===42&&t(1)===47);)n+=1;t()!==y&&(n+=2)}let s=t();if(s===y)return i;if(h(s)){for(;h(t());)n+=1;i.push({type:"whitespace"});continue}switch(n+=1,s){case 34:case 39:i.push(ve(s));continue;case 35:if(ae(t())||o(t(),t(1))){let d=a(t(),t(1),t(2));i.push({type:"hash",value:p(),id:d})}else i.push({type:"delim",value:"#"});continue;case 40:i.push({type:"("});continue;case 41:i.push({type:")"});continue;case 43:case 46:u(s,t(),t(1))?(n-=1,i.push(E())):i.push({type:"delim",value:String.fromCodePoint(s)});continue;case 44:i.push({type:","});continue;case 45:u(s,t(),t(1))?(n-=1,i.push(E())):t()===45&&t(1)===62?(n+=2,i.push({type:"CDC"})):a(s,t(),t(1))?(n-=1,i.push(j())):i.push({type:"delim",value:"-"});continue;case 58:i.push({type:":"});continue;case 59:i.push({type:";"});continue;case 60:t()===33&&t(1)===45&&t(2)===45?(n+=3,i.push({type:"CDO"})):i.push({type:"delim",value:"<"});continue;case 64:a(t(),t(1),t(2))?i.push({type:"at-keyword",value:p()}):i.push({type:"delim",value:"@"});continue;case 91:i.push({type:"["});continue;case 92:o(s,t())?(n-=1,i.push(j())):i.push({type:"delim",value:"\\"});continue;case 93:i.push({type:"]"});continue;case 123:i.push({type:"{"});continue;case 125:i.push({type:"}"});continue;default:f(s)?(n-=1,i.push(E())):P(s)?(n-=1,i.push(j())):i.push({type:"delim",value:String.fromCodePoint(s)})}}}var pe={"{":"}","[":"]","(":")"},fe=32,D=class{constructor(r){this.tokens=r}i=0;peek(){return this.tokens[this.i]}next(){return this.tokens[this.i++]}};function me(e,r){let n=e.next();return n.type==="{"||n.type==="["||n.type==="("?{type:"block",open:n.type,value:le(e,pe[n.type],r+1)}:n.type==="function"?{type:"func",name:n.value,value:le(e,")",r+1)}:n}function le(e,r,n){let t=[];for(;;){let i=e.peek();if(!i)return t;if(i.type===r)return e.next(),t;if(n>fe){e.next(),t.push({type:"bad-string"});continue}t.push(me(e,n))}}function k(e,r){let n=[],t=0;for(;t<e.length;){let i=e[t];if(i.type==="whitespace"||r&&(i.type==="CDO"||i.type==="CDC")){t+=1;continue}if(i.type==="at-keyword"){let u=[];t+=1;let c;for(;t<e.length;){let p=e[t];if(t+=1,p.type===";")break;if(p.type==="block"&&p.open==="{"){c=p.value;break}u.push(p)}n.push({type:"at-rule",name:i.value,prelude:u,...c?{block:c}:{}});continue}let o=[],a;for(;t<e.length;){let u=e[t];if(t+=1,u.type==="block"&&u.open==="{"){a=u.value;break}o.push(u)}a&&n.push({type:"qualified",prelude:o,block:a})}return n}function H(e){let r=[],n=0;for(;n<e.length;){let t=e[n];if(t.type==="whitespace"||t.type===";"){n+=1;continue}if(t.type==="at-keyword"){let o=(()=>{for(let a=n+1;a<e.length;a+=1){let u=e[a];if(u.type===";"||u.type==="block"&&u.open==="{")return a+1}return e.length})();r.push(...k(e.slice(n,o),!1)),n=o;continue}if(t.type==="ident"){let o=n+1;for(;e[o]?.type==="whitespace";)o+=1;if(e[o]?.type===":"){let a=o+1;for(;a<e.length&&e[a].type!==";";)a+=1;let u=ge(t.value,e.slice(o+1,a));if(u.value.some(c=>c.type==="block"&&c.open==="{")){let c=e.findIndex((p,g)=>g>n&&p.type==="block"&&p.open==="{");r.push(...k(e.slice(n,c+1),!1)),n=c+1;continue}r.push(u),n=a+1;continue}}let i=n;for(;i<e.length&&!(e[i].type==="block"&&e[i].open==="{")&&e[i].type!==";";)i+=1;i<e.length&&e[i].type==="block"&&r.push(...k(e.slice(n,i+1),!1)),n=i+1}return r}function ge(e,r){let n=[...r];for(;n[0]?.type==="whitespace";)n.shift();for(;n.at(-1)?.type==="whitespace";)n.pop();let t=!1,o=n.length-1;if(n[o]?.type==="ident"&&n[o].value.toLowerCase()==="important"){for(o-=1;n[o]?.type==="whitespace";)o-=1;let a=n[o];if(a?.type==="delim"&&a.value==="!")for(t=!0,n.length=o;n.at(-1)?.type==="whitespace";)n.pop()}return{type:"declaration",name:e,value:n,important:t}}function W(e){let r=new D($e(e)),n=[];for(;r.peek();)n.push(me(r,0));return n}function $(e){let r="",n=[...e].map(t=>t.codePointAt(0));return n.forEach((t,i)=>{t===0?r+="\uFFFD":t>=1&&t<=31||t===127||i===0&&f(t)||i===1&&f(t)&&n[0]===45?r+=`\\${t.toString(16)} `:i===0&&t===45&&n.length===1?r+="\\-":F(t)||t===45||t===95||f(t)||B(t)?r+=String.fromCodePoint(t):r+=`\\${String.fromCodePoint(t)}`}),r}function N(e){let r="";for(let n of e){let t=n.codePointAt(0);F(t)||t===45||t===95||f(t)||B(t)?r+=n:t>=1&&t<=31||t===127?r+=`\\${t.toString(16)} `:r+=`\\${n}`}return r}function U(e){let r='"';for(let n of e){let t=n.codePointAt(0);t===0?r+="\uFFFD":t>=1&&t<=31||t===127||t===60||t===62?r+=`\\${t.toString(16)} `:t===34||t===92?r+=`\\${n}`:r+=n}return`${r}"`}function Ne(e){let r=N(e);return/^[eE]([0-9]|[+-][0-9])/.test(e)?`\\${e.codePointAt(0).toString(16)} ${N(e.slice(1))}`:r}var ue=e=>{switch(e.type){case"ident":case"url":case"bad-url":case"number":case"percentage":case"dimension":case"CDC":case"hash":case"at-keyword":return e.type;case"func":case"function":return"function";case"block":return e.open==="("?"(":"other";case"(":return"(";case"delim":return`delim${e.value}`;default:return"other"}};function Le(e,r){let n=["ident","function","url","bad-url","delim-","number","percentage","dimension","CDC"];return e==="ident"?[...n,"("].includes(r):e==="at-keyword"||e==="hash"||e==="dimension"||e==="delim#"||e==="delim-"?n.includes(r):e==="number"?["ident","function","url","bad-url","number","percentage","dimension","delim%"].includes(r):e==="delim@"?["ident","function","url","bad-url","delim-","CDC"].includes(r):e==="delim."||e==="delim+"?["number","percentage","dimension"].includes(r):e==="delim/"?r==="delim*":!1}function ze(e){switch(e.type){case"whitespace":return" ";case"ident":return $(e.value);case"at-keyword":return`@${$(e.value)}`;case"hash":return`#${N(e.value)}`;case"string":return U(e.value);case"url":return`url(${U(e.value)})`;case"delim":return e.value==="\\"?`\\
|
|
2
|
-
`:e.value;case"CDO":return"<!--";case"CDC":return"-->";case"number":return e.repr;case"percentage":return`${e.repr}%`;case"dimension":return`${e.repr}${Ne(e.unit)}`;case"func":return`${$(e.name)}(${C(e.value)})`;case"block":return`${e.open}${C(e.value)}${pe[e.open]}`;case":":case";":case",":case"[":case"]":case"(":case")":case"{":case"}":return e.type;default:return""}}function C(e){let r="",n;for(let t of e)t.type==="whitespace"&&n?.type==="whitespace"||(n&&Le(ue(n),ue(t))&&(r+="/**/"),r+=ze(t),n=t);return r}var je=new Set(K),ye=new Set(Z),de=new Set(J),Me=new Set(Q),Ve=new Set(te),ce=/^#[A-Za-z_][A-Za-z0-9_.:-]*$/,x=e=>e.replace(/[A-Z]/g,r=>r.toLowerCase()),De=e=>x(e);function I(e,r,n){let t=[];for(let i of r){if(i.type==="bad-url"||i.type==="bad-string"){n({reason:"unreadable",...e?{name:e}:{}});return}if(i.type==="url"){if(e&&de.has(e)&&ce.test(i.value)){t.push({type:"func",name:"url",value:[{type:"string",value:i.value}]});continue}n({reason:"url",...e?{name:e}:{}});return}if(i.type==="func"){let o=x(i.name);if(o==="url"||o==="src"){let u=i.value.filter(p=>p.type!=="whitespace"),c=u[0];if(o==="url"&&u.length===1&&c?.type==="string"&&e&&de.has(e)&&ce.test(c.value)){t.push({type:"func",name:"url",value:[{type:"string",value:c.value}]});continue}n({reason:"url",...e?{name:e}:{}});return}if(!ye.has(o)){n({reason:"function",name:o});return}let a=I(e,i.value,n);if(!a)return;o==="var"?t.push({type:"whitespace"},{type:"func",name:o,value:a},{type:"whitespace"}):t.push({type:"func",name:o,value:a});continue}if(i.type==="block"){if(i.open==="{"||i.open==="("&&t.at(-1)?.type==="ident"){n({reason:"unreadable",...e?{name:e}:{}});return}let o=I(e,i.value,n);if(!o)return;t.push({type:"block",open:i.open,value:o});continue}if(i.type==="at-keyword"||i.type==="CDO"||i.type==="CDC"||i.type==="{"||i.type==="}"||i.type===";"||i.type==="delim"&&i.value==="\\"){n({reason:"unreadable",...e?{name:e}:{}});return}t.push(i)}return t}function z(e,r){let n=e.name.startsWith("--"),t=n?e.name:De(e.name);if(!n&&!je.has(t)){r({reason:"property",name:t});return}let i=ee[t];if(i){let u=e.value.filter(g=>g.type!=="whitespace"),c=u[0],p=u.length===1&&c?.type==="ident"?x(c.value):void 0;if(!p||![...i,"inherit","initial","unset","revert"].includes(p)){r({reason:"value",name:t});return}return`${t}: ${p}${e.important?" !important":""}`}let o=I(n?void 0:t,e.value,r);if(!o)return;let a=C(o).trim();return`${n?`--${N(e.name.slice(2))}`:t}: ${a}${e.important?" !important":""}`}function be(e,r){let n=t=>{for(let i=0;i<t.length;i+=1){let o=t[i];if(i>0&&t[i-1].type===":"&&(o.type==="ident"||o.type==="func")){let u=x(o.type==="ident"?o.value:o.name);if(Ve.has(u)||u.startsWith("-webkit-")||u.startsWith("-moz-"))return r({reason:"selector",name:u}),!1}if(o.type==="url"||o.type==="bad-url"||o.type==="bad-string"||o.type==="at-keyword"||o.type==="CDO"||o.type==="CDC"||o.type==="block"&&o.open==="{")return r({reason:"unreadable",name:"selector"}),!1;if(o.type==="func"&&!n(o.value)||o.type==="block"&&!n(o.value))return!1}return!0};return n(e)}function V(e,r,n){let t=[];for(let i of H(e))if(i.type==="declaration"){let o=z(i,r);o&&t.push(`${o};`)}else{let o=L(i,r,n+1,"style");o&&t.push(o)}return t.join(" ")}function Ue(e,r,n){let t=i=>i.every(o=>{if(o.type==="url"||o.type==="bad-url"||o.type==="bad-string"||o.type==="block"&&o.open==="{")return n({reason:o.type==="url"?"url":"unreadable",name:`@${r}`}),!1;if(o.type==="func"){let a=x(o.name);return r==="supports"&&a==="selector"?be(o.value,n):ye.has(a)?t(o.value):(n({reason:"function",name:a}),!1)}if(o.type==="block"){if(r==="supports"){let a=H(o.value);if(a.length===1&&a[0].type==="declaration")return z(a[0],n)!==void 0}return t(o.value)}return!0});return t(e)?C(e).trim():void 0}function G(e){return e.map((r,n)=>{let t=e[n-1],i=t?.type===":"||t?.type==="delim"&&(t.value==="."||t.value==="|");return r.type==="ident"&&!i&&Object.prototype.hasOwnProperty.call(v,x(r.value))?{type:"block",open:"[",value:[{type:"ident",value:"data-graview-as"},{type:"delim",value:"="},{type:"string",value:x(r.value)}]}:r.type==="func"?{type:"func",name:r.name,value:G(r.value)}:r.type==="block"&&r.open==="("?{type:"block",open:"(",value:G(r.value)}:r})}function L(e,r,n,t){if(n>fe){r({reason:"unreadable",name:"nesting"});return}if(e.type==="qualified"){if(t==="keyframes"){if(!e.prelude.every(g=>g.type==="whitespace"||g.type===","||g.type==="percentage"||g.type==="ident"&&["from","to"].includes(x(g.value)))){r({reason:"unreadable",name:"keyframe"});return}return`${C(e.prelude).trim()} { ${V(e.block,r,n)} }`}if(!be(e.prelude,r))return;let c=C(G(e.prelude)).trim();if(c===""){r({reason:"unreadable",name:"selector"});return}return`${c} { ${V(e.block,r,n)} }`}let i=x(e.name),o=i==="-webkit-keyframes"?"keyframes":i;if(!Me.has(o)||t==="keyframes"){r({reason:"at-rule",name:`@${i}`});return}if(!e.block){r({reason:"unreadable",name:`@${i}`});return}if(o==="keyframes"){if(t!=="sheet"){r({reason:"at-rule",name:"@keyframes"});return}let c=e.prelude.filter(b=>b.type!=="whitespace"),p=c[0];if(c.length!==1||!p||p.type!=="ident"&&p.type!=="string"){r({reason:"unreadable",name:"@keyframes"});return}let g=k(e.block,!1).map(b=>L(b,r,n+1,"keyframes")).filter(b=>b!==void 0);return`@keyframes ${p.type==="ident"?$(p.value):U(p.value)} { ${g.join(" ")} }`}let a=Ue(e.prelude,o,r);if(a===void 0)return;let u=t==="style"?V(e.block,r,n):k(e.block,!1).map(c=>L(c,r,n+1,"sheet")).filter(c=>c!==void 0).join(" ");return`@${o} ${a} { ${u} }`}function Ie(e,r=T){let n=[];if(e.length>r)return{css:"",refused:[{reason:"size"}]};let t=o=>void n.push(o);return{css:k(W(e),!0).map(o=>L(o,t,0,"sheet")).filter(o=>o!==void 0).join(`
|
|
3
|
-
`),refused:n}}function nt(e,r=T){let n=[],t=[],i=0;for(let o of e){if(i+o.length>r){t.push({reason:"size"});continue}i+=o.length;let a=Ie(o,r);a.css&&n.push(a.css),t.push(...a.refused)}return{css:n.join(`
|
|
4
|
-
`),refused:t}}function he(e,r=T){let n=[];if(e.length>r)return{css:"",refused:[{reason:"size"}]};let t=o=>void n.push(o),i=[];for(let o of H(W(e))){if(o.type!=="declaration"){t({reason:"unreadable",name:"a rule in a style attribute"});continue}let a=z(o,t);a&&i.push(a)}return{css:i.join("; "),refused:n}}function xe(e,r){let n,t=z(ge(e,W(r)),i=>n??=i);return t===void 0||n?{refused:n??{reason:"unreadable",name:e}}:{value:t.slice(t.indexOf(":")+1).trim()}}function at(e,r){if(r==="svg"){let t=re(e);return t?{namespace:"svg",name:t}:{refused:{reason:"element",element:e}}}let n=e.toLowerCase();return n==="svg"?{namespace:"svg",name:"svg"}:Object.prototype.hasOwnProperty.call(A,n)?Object.prototype.hasOwnProperty.call(v,n)?{namespace:"html",name:v[n],as:n}:{namespace:"html",name:n}:{refused:{reason:"element",element:e}}}function st(e,r){return(e==="html"?A[r]:_[r])?.empty===!0}var Ge=/^[+-]?(\d+\.?\d*|\.\d+)([eE][+-]?\d+)?$/,Be=/^[0-9A-Za-z\s.,+\-%()]*$/,Fe=/^#[A-Za-z_][A-Za-z0-9_.:-]*$/,He=/^data:image\/(png|gif|jpeg|webp|avif|bmp|svg\+xml)(;[A-Za-z0-9=._+-]+)*,/i,We=/^\/graview\/assets\/[0-9a-f]{64}\.(png|gif|jpe?g|webp|avif|svg|ico)$/,we=/\/graview\/assets\/[0-9a-f]{64}\.(png|gif|jpe?g|webp|avif|svg|ico)$/,Xe=/^\/(?!\/)(?!(?:.*\/)?\.\.?(?:\/|$))(?!.*%(?:2e|2f|5c))[^\\\s?#"'<>]*$/i;function qe(e,r){if(We.test(e))return e;let n=e;if(/^https?:\/\//i.test(e))try{let t=new URL(e);if(r==="null"||t.origin!==r||t.username!==""||t.password!==""||t.search!==""||t.hash!=="")return;n=e.slice(t.origin.length)}catch{return}if(Xe.test(n))return we.exec(n)?.[0]}function lt(e,r={},n){let t=e.length>120?`${e.slice(0,119)}\u2026`:e,i=ke(r.origins),o=we.exec(e.split(/[?#]/)[0])?.[0],a=n!==void 0&&n>S?` It is a data: image of ${n.toLocaleString("en-US")} characters, more than the ${S.toLocaleString("en-US")} a view's own data: image may be. A picture on a record is drawn at any size by the src the host hands the view (pictures in its manifest), used as it was handed.`:o?r.assets?` It is the app's own image only by its path, or under the app's base on this page's origin: write it as its path, ${o}.`:" This host has not said where the app's own images live (asset, on the view's definition), so a view here cannot draw one by its path.":/^https:\/\//i.test(e)?i.length>0?` Its origin is not one the host lists for images (${i.join(", ")}).`:" The host lists no origin a view's images may come from (images.origins, on the view's definition).":"",u=["a data: image",...r.assets?["the app's own image by the path add_image answered (/graview/assets/<sha256>.<ext>)"]:[],"a picture on a record (pictures in its manifest)",...i.length>0?[`an https: image from ${i.join(", ")}`]:[]];return`The image "${t}" was not drawn.${a} A view here shows ${u.slice(0,-1).join(", ")} or ${u[u.length-1]}.`}function ke(e){return(e??[]).flatMap(r=>{try{let n=new URL(r);return n.protocol==="https:"&&n.hostname!==""&&n.username===""&&n.password===""?[n.origin]:[]}catch{return[]}})}function Ye(e,r){if(!(!r||r.length===0||!/^https:\/\//i.test(e)))try{let n=new URL(e);return n.protocol!=="https:"||n.username!==""||n.password!==""?void 0:ke(r).includes(n.origin)?n.href:void 0}catch{return}}function ut(e,r,n,t,i){let o=oe(e,r,n);if(!o)return{refused:{reason:"attribute",element:r,name:n}};if(e==="html"&&Y[r]?.includes(o.name))return{refused:{reason:"attribute",element:r,name:n}};if(t===null)return{name:o.name,value:null};let a=Ke(o.name,o.kind,t,i);return"refused"in a?{refused:{...a.refused,element:r,...o.kind==="image"&&a.refused.reason==="url"?{address:t.slice(0,200),...t.length>S?{length:t.length}:{}}:{},...o.kind==="link"?{address:t.slice(0,200)}:{}}}:o.name==="role"&&a.value.split(/\s+/).some(u=>q.includes(u.toLowerCase()))?{refused:{reason:"value",element:r,name:n}}:o.name==="aria-live"&&!["polite","off"].includes(a.value.toLowerCase())?{refused:{reason:"value",element:r,name:n}}:{name:o.name,value:a.value,...a.dropped?{dropped:a.dropped.map(u=>({reason:u.reason==="url"?"url":"css",element:r,name:o.name,css:u}))}:{}}}function Ke(e,r,n,t){let i=(o,a)=>({refused:{reason:o,name:e,...a?{css:a}:{}}});if(r==="geometry")return n.length>ne||!Be.test(n)||/url/i.test(n)?i("value"):{value:n};if(r==="image"){let o=t.picture?.(n);if(o!==void 0)return{value:o};if(n.length>S)return i("url");if(He.test(n))return{value:n};if(n.startsWith(`blob:${t.origin}/`)&&/^blob:[^\s"'<>]+$/.test(n))return{value:n};let a=t.asset?qe(n,t.origin):void 0;if(a!==void 0){let c=t.asset(a);if(c)return{value:c}}let u=Ye(n,t.imageOrigins);return u?{value:u}:i("url")}if(r==="link"){let o=t.link?.(n);return o===void 0?i("url"):{value:o}}if(n.length>M)return i("value");if(typeof r=="object"){let o=r.oneOf.find(a=>a.toLowerCase()===n.toLowerCase());return o===void 0?i("value"):{value:o}}switch(r){case"text":return{value:n};case"number":return Ge.test(n.trim())&&Number.isFinite(Number(n))?{value:n.trim()}:i("value");case"boolean":return{value:""};case"fragment":return Fe.test(n)?{value:n}:i("url");case"style":{let o=he(n,M);return o.refused.length>0&&o.css===""?i(o.refused[0].reason==="url"?"url":"css",o.refused[0]):{value:o.css,...o.refused.length>0?{dropped:o.refused}:{}}}case"css":{let o=xe(e,n);return"refused"in o?i(o.refused.reason==="url"?"url":"css",o.refused):{value:o.value}}}}export{Ze as a,Je as b,Qe as c,nt as d,at as e,st as f,lt as g,ut as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as n}from"./chunk.6JERQFZI.js";import"./chunk.7XJ3XQZD.js";import"./chunk.52J42KR5.js";import"./chunk.T2Q3AAQI.js";import"./chunk.C4EPMV7O.js";import"./chunk.G7XKQNOL.js";import"./chunk.7KZ44FEU.js";import"./chunk.KPUX27ZT.js";import"./chunk.DIS7JS7X.js";import"./chunk.D2T563AA.js";import"./chunk.JV7FLVUV.js";import"./chunk.GL3YVGAP.js";import"./chunk.WVUJXDXZ.js";import{e as p}from"./chunk.QRCTTDDQ.js";import"./chunk.3TME4BG3.js";import"./chunk.I43ONAEL.js";import"./chunk.73EKJ4JN.js";import"./chunk.INL4OZI7.js";import"./chunk.5WU2UTP7.js";import"./chunk.GZHZLJBF.js";import"./chunk.YKACMLLU.js";import"./chunk.OJGHDWI6.js";import"./chunk.337JMOTL.js";import"./chunk.CV4QA4ZF.js";import"./chunk.OYRZ2DEI.js";import"./chunk.7EA7THSM.js";import"./chunk.AI2HBKVP.js";import{T as m}from"./chunk.Q5IAXTF5.js";import"./chunk.SDO3U72B.js";import"./chunk.VOHRQXCF.js";import"./chunk.SLBWPVIY.js";import{b as t}from"./chunk.AJZBJBMO.js";var i=t(m(),1),a=new WeakMap;function s(o){let e=a.get(o);if(!e){let r=p(o);e=c=>c.mode==="fullscreen"?(0,i.jsx)(n,{blocks:r,slot:"home",heading:2,firstHeading:1}):(0,i.jsx)(n,{blocks:r,slot:"home",heading:3,firstHeading:2}),a.set(o,e)}return e}export{s as homeView};
|