delete dist folder

This commit is contained in:
leander committed 2026-10-31 01:58:01 +01:00
1 parent 392a8f6339
commit 4555fd7e0f
338 files changed
-5946

No files matched your search

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

-289
View File
@@ -1,289 +0,0 @@
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover" name="viewport"/><meta content="noindex" name="robots"/><meta content="same-origin" name="referrer"/><link href="/static/favicon.ico" rel="icon" sizes="any"/><link href="/static/favicon.svg" rel="icon" type="image/svg+xml"/><link href="/static/apple-touch-icon.png" rel="apple-touch-icon"/><link href="/static/manifest.webmanifest" rel="manifest"/><title>Sanity Studio</title><script>
;(function () {
var _caughtErrors = []
var errorChannel = (function () {
var subscribers = []
function publish(msg) {
for (var i = 0; i < subscribers.length; i += 1) {
subscribers[i](msg)
}
}
function subscribe(subscriber) {
subscribers.push(subscriber)
return function () {
var idx = subscribers.indexOf(subscriber)
if (idx > -1) {
subscribers.splice(idx, 1)
}
}
}
return {publish, subscribe, subscribers}
})()
// NOTE: Store the error channel instance in the global scope so that the application can
// access it and subscribe to errors.
window.__sanityErrorChannel = {
subscribe: errorChannel.subscribe,
}
function _nextTick(callback) {
setTimeout(callback, 0)
}
function _handleError(error, params) {
_nextTick(function () {
// - If there are error channel subscribers, then we notify them (no console error).
// - If there are no subscribers, then we log the error to the console and render the error overlay.
if (errorChannel.subscribers.length) {
errorChannel.publish({error, params})
} else {
console.error(error)
_renderErrorOverlay(error, params)
}
})
}
var ERROR_BOX_STYLE = [
'background: #fff',
'border-radius: 6px',
'box-sizing: border-box',
'color: #121923',
'flex: 1',
"font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue','Liberation Sans',Helvetica,Arial,system-ui,sans-serif",
'font-size: 16px',
'line-height: 21px',
'margin: 0 auto',
'max-width: 960px',
'max-height: 90dvh',
'overflow: auto',
'padding: 20px',
'width: 100%',
].join(';')
var ERROR_CODE_STYLE = [
'color: #972E2A',
"font-family: -apple-system-ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace",
'font-size: 13px',
'line-height: 17px',
'margin: 0',
].join(';')
function _renderErrorOverlay(error, params) {
var errorElement = document.querySelector('#__sanityError') || document.createElement('div')
var colno = params.event.colno
var lineno = params.event.lineno
var filename = params.event.filename
errorElement.id = '__sanityError'
errorElement.innerHTML = [
'<div style="' + ERROR_BOX_STYLE + '">',
'<div style="font-weight: 700;">Uncaught error: ' + error.message + '</div>',
'<div style="color: #515E72; font-size: 13px; line-height: 17px; margin: 10px 0;">' +
filename +
':' +
lineno +
':' +
colno +
'</div>',
'<pre style="' + ERROR_CODE_STYLE + '">' + error.stack + '</pre>',
'</div>',
].join('')
errorElement.style.position = 'fixed'
errorElement.style.zIndex = 1000000
errorElement.style.top = 0
errorElement.style.left = 0
errorElement.style.right = 0
errorElement.style.bottom = 0
errorElement.style.padding = '20px'
errorElement.style.background = 'rgba(16,17,18,0.66)'
errorElement.style.display = 'flex'
errorElement.style.alignItems = 'center'
errorElement.style.justifyContent = 'center'
document.body.appendChild(errorElement)
}
// NOTE:
// Yes – we're attaching 2 error listeners below 👀
// This is because React makes the same error throw twice (in development mode).
// See: https://github.com/facebook/react/issues/10384
// Error listener #1
window.onerror = function (event, source, lineno, colno, error) {
_nextTick(function () {
if (_caughtErrors.indexOf(error) !== -1) return
_caughtErrors.push(error)
_handleError(error, {
event,
lineno,
colno,
source,
})
_nextTick(function () {
var idx = _caughtErrors.indexOf(error)
if (idx > -1) _caughtErrors.splice(idx, 1)
})
})
// IMPORTANT: this callback must return `true` to prevent the error from being rendered in
// the browser’s console.
return true
}
// Error listener #2
window.addEventListener('error', function (event) {
if (_caughtErrors.indexOf(event.error) !== -1) return true
_caughtErrors.push(event.error)
_handleError(event.error, {
event,
lineno: event.lineno,
colno: event.colno,
})
_nextTick(function () {
_nextTick(function () {
var idx = _caughtErrors.indexOf(event.error)
if (idx > -1) _caughtErrors.splice(idx, 1)
})
})
return true
})
})()
</script><link href="/static/lib-BFHl89nf.css" rel="stylesheet"/><link href="/static/PerspectiveProvider-qJFIbsuW-Di-8vf7M.css" rel="stylesheet"/><style>
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-Regular.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 400;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-Italic.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-Medium.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 500;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-MediumItalic.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 600;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-SemiBoldItalic.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-Bold.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 700;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-BoldItalic.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 800;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-ExtraBold.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 800;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-ExtraBoldItalic.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 900;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-Black.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 900;
font-display: swap;
src: url("https://studio-static.sanity.io/Inter-BlackItalic.woff2") format("woff2");
}
html {
@media (prefers-color-scheme: dark) {
background-color: #13141b;
}
@media (prefers-color-scheme: light) {
background-color: #ffffff;
}
}
html,
body,
#sanity {
height: 100%;
}
body {
margin: 0;
-webkit-font-smoothing: antialiased;
}
</style><script src="https://core.sanity-cdn.com/bridge.js" async type="module" data-sanity-core></script>
</head><body><div id="sanity"></div><script src="/static/sanity-DeX-YVGt.js" type="module"></script><noscript><div class="sanity-app-no-js__root"><div class="sanity-app-no-js__content"><style type="text/css">
.sanity-app-no-js__root {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: #fff;
}
.sanity-app-no-js__content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
font-family: helvetica, arial, sans-serif;
}
</style><h1>JavaScript disabled</h1><p>Please <a href="https://www.enable-javascript.com/">enable JavaScript</a> in your browser and reload the page to proceed.</p></div></div></noscript></body></html>
-1
View File
@@ -1 +0,0 @@
Files placed here will be served by the Sanity server under the `/static`-prefix
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({AccessDeniedIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`access-denied`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M18.1568 6.84315C21.281 9.96734 21.281 15.0327 18.1568 18.1569C15.0326 21.281 9.96733 21.281 6.84313 18.1569C3.71894 15.0327 3.71894 9.96734 6.84313 6.84315C9.96733 3.71895 15.0326 3.71895 18.1568 6.84315ZM18.1568 6.84315L6.844 18.156`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`activity`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M21 15H19L15.5 7L11 18L8 12L6 15H4`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as ActivityIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({AddIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`add`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M12.5 5V20M5 12.5H20`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({AddCircleIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`add-circle`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`add-comment`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M13 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5H9.5V20.5L13.5 16.5H16.5C17.6046 16.5 18.5 15.6046 18.5 14.5V12M15 6.5H22M18.5 10V3`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as AddCommentIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({AddDocumentIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`add-document`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M11.5 4.5H18.5V12M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5M6.5 9.5V19.5H11M20 17.5H16.5M16.5 17.5H13M16.5 17.5V14M16.5 17.5V21`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({AddUserIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`add-user`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M7.17857 15.2368C6.10714 15.7632 4.5 16.8158 4.5 20.5H19.5C19.5 16.8158 18.2589 15.943 16.8214 15.2368C15.75 14.7105 13.6071 14.7105 13.6071 13.1316C13.6071 11.5526 14.6786 10.7632 14.6786 8.65789C14.6786 6.55263 13.6071 5.5 12 5.5C10.3929 5.5 9.32142 6.55263 9.32142 8.65789C9.32142 10.7632 10.3929 11.5526 10.3929 13.1316C10.3929 14.7105 8.25 14.7105 7.17857 15.2368Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M20.5 6V13M17 9.5H24`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Nd as t,Od as n,Rf as r,jd as i}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as a,t as o}from"./jsx-runtime-BpzPEenQ.js";import{t as s}from"./compiler-runtime-sKsOXjDo.js";var c=e(a(),1),l=s(),u=o();function d(e){let a=(0,l.c)(25),{children:o}=e,{dataset:s,projectId:d}=t(),f=i(n),[p,m]=(0,c.useState)(null),[h,g]=(0,c.useState)(!1),[_,v]=(0,c.useState)(!1),[y,b]=(0,c.useState)(null),x;a[0]!==s||a[1]!==f||a[2]!==d?(x=async()=>(await f.request({url:`/projects/${d}/datasets?datasetProfile=comments&addonFor=${s}`,tag:`sanity.studio`}))?.[0]?.name,a[0]=s,a[1]=f,a[2]=d,a[3]=x):x=a[3];let S=x,C;a[4]!==f||a[5]!==d?(C=e=>f.withConfig({dataset:e,projectId:d,requestTagPrefix:`sanity.studio`,useCdn:!1}),a[4]=f,a[5]=d,a[6]=C):C=a[6];let w=C,T;a[7]!==s||a[8]!==S||a[9]!==w||a[10]!==f?(T=async()=>{g(!0);try{let e=await S();if(e){let t=w(e);return m(t),g(!1),t}}catch{}return(async()=>{let e=(await f.request({url:`/comments/${s}/setup`,method:`POST`}))?.datasetName;if(!e)return g(!1),null;let t=w(e);return m(t),t})().finally(()=>{g(!1)})},a[7]=s,a[8]=S,a[9]=w,a[10]=f,a[11]=T):T=a[11];let E=T,D,O;a[12]!==S||a[13]!==w?(D=()=>{S().then(e=>{if(!e)return;let t=w(e);m(t)}).catch(e=>{b(e)}).finally(()=>{v(!0)})},O=[S,w],a[12]=S,a[13]=w,a[14]=D,a[15]=O):(D=a[14],O=a[15]),(0,c.useEffect)(D,O);let k;a[16]!==p||a[17]!==y||a[18]!==E||a[19]!==h||a[20]!==_?(k={client:p,createAddonDataset:E,isCreatingDataset:h,ready:_,error:y},a[16]=p,a[17]=y,a[18]=E,a[19]=h,a[20]=_,a[21]=k):k=a[21];let A=k,j;return a[22]!==o||a[23]!==A?(j=(0,u.jsx)(r.Provider,{value:A,children:o}),a[22]=o,a[23]=A,a[24]=j):j=a[24],j}function f(e){let t=(0,l.c)(2);if((0,c.useContext)(r))return e.children;let n;return t[0]===e?n=t[1]:(n=(0,u.jsx)(d,{...e}),t[0]=e,t[1]=n),n}export{f as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`api`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z`,fill:`currentColor`}),(0,i.jsx)(`path`,{d:`M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z`,fill:`currentColor`}),(0,i.jsx)(`path`,{d:`M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z`,fill:`currentColor`})]})});export{a as ApiIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`archive`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M12.5 10V17M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M4.5 7.5H20.5M16 14L12.5 17.5L9 14`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as ArchiveIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ArrowDownIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`arrow-down`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M12.5 19.5V5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M18 14L12.5 19.5L7 14`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ArrowLeftIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`arrow-left`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M5.5 12.5H20`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M11 18L5.5 12.5L11 7`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ArrowRightIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`arrow-right`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M19.5 12.5H5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M14 7L19.5 12.5L14 18`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`arrow-top-right`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M16.5 8.5L7 18`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M9 8.5H16.5V16`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as ArrowTopRightIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`asterisk`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M12.5 4V21M16.75 5.13879L8.25 19.8612M19.8612 8.25L5.13878 16.75M4.00002 12.5H21M5.13881 8.25L19.8612 16.75M8.25002 5.13879L16.75 19.8612`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as AsteriskIcon,a as default};
-2
View File
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/resources-B2JQiyBa-Ci7zMcrI.js","static/lib-CQcSfzr9.js","static/rolldown-runtime-Dd_uD5pT.js","static/PerspectiveProvider-qJFIbsuW-DOpUdg_O.js","static/jsx-runtime-BpzPEenQ.js","static/compiler-runtime-sKsOXjDo.js","static/from-B8yXq1Hf.js","static/clientStore-Cq3vrK4Q-X8Ukd-3S.js","static/preload-helper-DjzSQ1t3.js","static/isRecord-Kfmt-nk--BGze3w87.js","static/request-CYLhJzOA-R7VqCP01.js","static/resolveEditInfo-Cz-smq3a-BkgfIKD_.js","static/dist-LVcARZxB.js","static/Spinner-Dk8hTAm3.js","static/Close-B_ZEgT1V.js","static/ChevronDown-BpYUc-AP.js","static/ToggleArrowRight-Ds3XaLpQ.js","static/Checkmark-OT7tsNpL.js","static/Remove-B96Rrnq-.js","static/stegaClean-YZRATV86-BdUaXCkw.js","static/isRecord-Kfmt-nk--BbRXhYkF.js","static/WarningOutline-DOBjmorn.js","static/request-CYLhJzOA-4VlvBNTk.js","static/ChevronRight-Cf6GkXSa.js","static/Document-0Zpczu4q.js","static/Bolt-CkliNuRS.js","static/Clock-ClG7Ty9T.js","static/Dot-D4h2WemU.js","static/Calendar-DCYqUUNo.js","static/Search-QbUIQb6W.js","static/ChevronLeft-BzE8YX6u.js","static/EarthGlobe-Dqu4Dt_R.js","static/EllipsisHorizontal-BuWLk1Hy.js","static/InfoOutline-BLtnjxbN.js","static/ErrorOutline-Cl-3_nRG.js","static/EarthAmericas-DLWVWv9X.js","static/Image-BrMFkN0j.js","static/Trash-BxG6GrjH.js","static/ArrowLeft-x2OZCZTu.js","static/Edit-CAHlBqGT.js","static/AddCircle-BZjvWs4R.js","static/Circle-DkcW-8WT.js","static/Publish-BYF7r5nk.js","static/Timeline-X-VaErdm.js","static/Unpublish-B0p_ZGt2.js","static/ArrowDown-CM5h1Tfl.js","static/ArrowRight-D293IkFJ.js","static/Revert-BmEXeO7H.js","static/Copy-BTQgeMVP.js","static/Sync-B1MBhh7o.js","static/AccessDenied-PrzSvkgv.js","static/Documents-C8KrBFzU.js","static/Download-DeIn0VAL.js","static/ChevronUp-3VMiyA07.js","static/Link-Cl1VSeDJ.js","static/Ulist-CYD_2mDY.js","static/BinaryDocument-D1GQsa0h.js","static/Upload-ChJKE2jO.js","static/ReadOnly-BkEx9qPu.js","static/Reset-CgCZnejz.js","static/Launch-DuEs-KHJ.js","static/Unknown-CEYtdaCK.js","static/Add-CwQ5TpM8.js","static/Lock-Ui2f2sVi.js","static/EyeOpen-DOBSuUsK.js","static/BulbOutline-BN--Ec2H.js","static/HelpCircle-8HZ3whUD.js","static/Collapse-B22lXxln.js","static/Expand-CQC9Ec3E.js","static/BlockElement-CQIVGSb1.js","static/Bold-CGtaOUDj.js","static/Code-COts8HnY.js","static/InlineElement-BWl55c6a.js","static/Italic-BmVn7uuk.js","static/Olist-BBuinWyR.js","static/Strikethrough-BszDIkmY.js","static/Underline-BdG8-Er-.js","static/ThLarge-CjFCbJnr.js","static/Desktop-msdzf3th.js","static/Moon-NrRkSdh3.js","static/Sun-OgXegq7_.js","static/DragHandle-CKP6vPDQ.js","static/AddDocument-Ca_v8JdZ.js","static/InsertAbove-C8i6y-4D.js","static/InsertBelow-BILWhc2X.js","static/Crop-DW3NFLyK.js","static/PerspectiveProvider-qJFIbsuW-Di-8vf7M.css","static/CommentsProvider-DHVaZIPI-2Crq30kn.js","static/types--2f-avvL-CUBrVRGR.js","static/Controls-Dx7QJOxz.js","static/Sort-CFTgH29c.js","static/validationUtils-Dwef0BLR-aKs6KPwC.js","static/SingleDocReleaseUpsellProvider-eSYyzLjC-BW_WNBsf.js","static/Clipboard-BeSdPeHT.js","static/BlockContent-Bw8BGwBw.js","static/CheckmarkCircle-B6SBY4QE.js","static/Number-CjvU0EcK.js","static/String-DHDsSmJ_.js","static/Undo-qtvfkxbn.js","static/ComposeSparkles-Dn7kooau.js","static/Unlink-MiIozO9s.js","static/Comment-CPMW8FMx.js","static/Task-DGtH1mzn.js","static/Feedback-CkbzKydh.js","static/FaceHappy-1ocsUhoA.js","static/FaceIndifferent-CIPzkDxf.js","static/FaceSad-lhl7n__s.js","static/Sparkle-CUquRU1h.js","static/EyeClosed-BnY-JoVE.js","static/Unlock-B4_-ahLp.js","static/DoubleChevronRight-PxmJHA0v.js","static/Menu-BoI111KG.js","static/Leave-_nWak6QB.js","static/AddUser-CTyeR_e2.js","static/Cog-0goaM-Or.js","static/Users-BDbacX-A.js","static/Bug-CFB9Jubh.js","static/Github-BTBOp21P.js","static/Refresh-C_m5vs8N.js","static/useAddonDataset-BvCgByG6-N5vrKMLm.js","static/helpers-D_aQC6Do-Cc0nAXnJ.js","static/buildRangeDecorationSelectionsFromComments-B6nJH-Wx-DCNxDhrr.js","static/CommentsListItem-B4CoDHda-DaXAEbir.js","static/LinkRemoved-LZtddC2J.js","static/CommentsList-CmhU6-yt-B2twFKeQ.js","static/CommentsEnabledProvider-CEeES47b-AmQjnwX5.js","static/useComments-Bi1m7AzT-DcZcKqsq.js","static/CommentsEnabledProvider-By3TCGFl-C60crpzJ.js","static/AddonDatasetProvider-CF_RtUZo-BdePhlKm.js","static/lib-BFHl89nf.css"])))=>i.map(i=>d[i]);
import{i as e,t}from"./rolldown-runtime-Dd_uD5pT.js";import{i as n,l as r,s as i,t as a}from"./lib-CQcSfzr9.js";import{$s as o,A as s,Aa as c,Af as l,Am as u,Ao as d,Ap as f,Ar as p,B as m,Bc as h,Bl as g,C as _,Cs as v,Ct as y,Dl as b,Do as x,Dp as S,Dr as C,Ds as w,Ei as T,Ep as E,Er as D,Es as O,Fa as k,Fl as A,Fr as j,Ft as M,G as N,Gr as P,Gs as F,H as I,Ho as L,Il as R,Io as z,Ir as B,Iu as V,Jc as ee,Ks as H,Ll as te,Ls as ne,Lu as re,Md as ie,Ml as U,Mn as ae,Mo as W,Mp as G,Ms as oe,Mu as K,Nd as se,O as ce,Od as le,Oi as ue,Oo as de,Pr as fe,Qo as pe,Qt as me,Rd as he,Ro as ge,Rr as _e,Rs as ve,Ru as ye,Sc as be,Sd as q,Tl as xe,To as Se,Tp as Ce,Up as we,V as Te,Va as Ee,W as De,Wc as Oe,Wr as ke,Xo as Ae,Yf as je,Yl as Me,Yo as Ne,Ys as Pe,Zc as Fe,Zi as Ie,Zs as Le,_ as Re,_d as ze,_l as Be,ac as Ve,ad as He,ar as Ue,as as We,b as Ge,ba as Ke,bc as qe,bf as Je,bl as Ye,cc as Xe,cd as Ze,da as Qe,dc as $e,dm as et,dp as tt,ds as nt,ec as rt,ed as it,fa as at,fl as ot,fp as st,fr as ct,fs as lt,ft as ut,gc as dt,gl as ft,gu as pt,hc as mt,hu as ht,ic as gt,im as _t,ir as vt,is as yt,ja as bt,jd as xt,jo as St,js as Ct,ju as wt,kd as Tt,ki as Et,ko as Dt,ks as Ot,l as kt,la as At,lc as jt,ld as Mt,ls as Nt,ms as Pt,mu as Ft,nc as It,nd as Lt,nr as Rt,ns as zt,oa as Bt,oc as Vt,os as Ht,pc as Ut,pm as Wt,pr as Gt,q as Kt,qi as qt,ra as Jt,rc as Yt,rs as Xt,sc as Zt,sd as Qt,so as $t,sp as en,ss as tn,ta as nn,tc as rn,tl as an,tt as on,uc as sn,um as cn,up as ln,us as un,v as dn,va as fn,vd as pn,vu as mn,w as hn,wi as gn,wm as _n,wo as vn,wp as yn,ws as bn,xi as xn,y as Sn,ya as Cn,zc as wn,zr as Tn}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as En,t as Dn}from"./jsx-runtime-BpzPEenQ.js";import{t as On}from"./compiler-runtime-sKsOXjDo.js";import{t as kn}from"./from-B8yXq1Hf.js";import{At as An,Q as jn,X as Mn,at as Nn,ht as Pn,it as Fn,lt as In,nt as Ln,ot as Rn,q as zn,rt as Bn,st as Vn,wt as Hn,xt as Un,yt as Wn}from"./clientStore-Cq3vrK4Q-X8Ukd-3S.js";import{i as Gn,n as Kn,t as qn}from"./CommentsProvider-DHVaZIPI-2Crq30kn.js";import{An as Jn,At as Yn,Bt as Xn,Ct as Zn,E as Qn,En as $n,Et as er,F as tr,Ft as nr,Gt as rr,Ht as ir,It as ar,Jt as or,Kt as sr,Lt as cr,Nn as lr,Nt as ur,O as dr,On as fr,P as pr,Pt as mr,Rt as hr,St as gr,T as _r,Tt as vr,Ut as yr,Vt as br,W as xr,Wt as Sr,Yt as Cr,_n as wr,an as Tr,at as Er,b as Dr,bn as Or,cr as kr,dn as Ar,fn as jr,fr as Mr,hr as Nr,ht as Pr,i as Fr,in as Ir,ir as Lr,it as Rr,jt as zr,l as Br,ln as Vr,lr as Hr,mn as Ur,mt as Wr,nn as Gr,nr as Kr,nt as qr,ot as Jr,p as Yr,pt as Xr,qt as Zr,rn as Qr,rr as $r,tr as ei,u as ti,un as ni,w as ri,x as ii,xn as ai}from"./types--2f-avvL-CUBrVRGR.js";import{t as oi}from"./preload-helper-DjzSQ1t3.js";import{B as si,Bt as ci,Dt as li,Et as ui,Gt as di,O as fi,Pt as pi,Qt as mi,R as hi,S as gi,St as J,T as _i,U as vi,Ut as yi,V as bi,Vt as xi,Zt as Si,_ as Ci,at as wi,b as Ti,bt as Ei,c as Di,ct as Oi,dt as ki,et as Ai,f as ji,ft as Mi,g as Ni,h as Pi,j as Fi,k as Ii,p as Li,r as Y,s as Ri,st as zi,t as Bi,tt as Vi,x as Hi,yt as Ui}from"./dist-LVcARZxB.js";import{a as Wi,c as Gi,d as Ki,l as qi,o as Ji,s as Yi,u as Xi}from"./stegaClean-YZRATV86-BdUaXCkw.js";import{t as Zi}from"./Close-B_ZEgT1V.js";import{t as Qi}from"./WarningOutline-DOBjmorn.js";import{t as $i}from"./ChevronDown-BpYUc-AP.js";import{t as ea}from"./Checkmark-OT7tsNpL.js";import{t as ta}from"./ChevronRight-Cf6GkXSa.js";import{t as na}from"./Document-0Zpczu4q.js";import{t as ra}from"./Search-QbUIQb6W.js";import{t as ia}from"./InfoOutline-BLtnjxbN.js";import{t as aa}from"./ErrorOutline-Cl-3_nRG.js";import{t as oa}from"./EarthAmericas-DLWVWv9X.js";import{t as sa}from"./ArrowLeft-x2OZCZTu.js";import{t as ca}from"./Unpublish-B0p_ZGt2.js";import{t as la}from"./ArrowRight-D293IkFJ.js";import{t as ua}from"./Revert-BmEXeO7H.js";import{t as da}from"./Copy-BTQgeMVP.js";import{t as fa}from"./Sync-B1MBhh7o.js";import{t as pa}from"./Documents-C8KrBFzU.js";import{t as ma}from"./ChevronUp-3VMiyA07.js";import{t as ha}from"./Link-Cl1VSeDJ.js";import{t as ga}from"./ReadOnly-BkEx9qPu.js";import{t as _a}from"./Launch-DuEs-KHJ.js";import{t as va}from"./Unknown-CEYtdaCK.js";import{t as ya}from"./Add-CwQ5TpM8.js";import{t as ba}from"./Lock-Ui2f2sVi.js";import{t as xa}from"./Collapse-B22lXxln.js";import{t as Sa}from"./Expand-CQC9Ec3E.js";import{t as Ca}from"./Sort-CFTgH29c.js";import{t as wa}from"./ComposeSparkles-Dn7kooau.js";import{n as Ta}from"./CommentsEnabledProvider-CEeES47b-AmQjnwX5.js";import{t as Ea}from"./CommentsEnabledProvider-By3TCGFl-C60crpzJ.js";import{t as Da}from"./Stack-DWymSM37.js";import{t as Oa}from"./StackCompact-appU5vbP.js";import{t as ka}from"./Transfer-CJnKiHxh.js";import{t as Aa}from"./DocumentRemove-CzwTDkkJ.js";import{t as ja}from"./Pause-ibSxMIa3.js";import{t as Ma}from"./Star-_p_HG-Ts.js";import{t as Na}from"./StarFilled-CSrmmOKn.js";import{t as Pa}from"./SplitVertical-uh7MyVDf.js";import{t as Fa}from"./Share-D41CqXzI.js";imLine truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`bar-chart`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BarChartIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`basket`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5M8.5 10.5L9.5 19.5M16.5 10.5L15.5 19.5M12.5 10.5V19.5M19.5 13.5H5.5M19 16.5H6`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BasketIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`bell`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17.5C6.5 16 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 16 19.5 17.5H5.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BellIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`bill`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BillIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({BinaryDocumentIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`binary-document`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M9.5 12.5V17.5M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM12.5 12.5V17.5H15.5V12.5H12.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`square`,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({BlockContentIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`block-content`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z`,fill:`currentColor`}),(0,o.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z`,fill:`currentColor`}),(0,o.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z`,fill:`currentColor`}),(0,o.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M21 18.6002H4V17.4002H21V18.6002Z`,fill:`currentColor`}),(0,o.jsx)(`path`,{d:`M9.86438 15.6H11.2L8.27623 7.60003H6.92377L4 15.6H5.29072L6.0371 13.4767H9.12362L9.86438 15.6ZM7.53546 9.05255H7.63086L8.80374 12.4344H6.35698L7.53546 9.05255Z`,fill:`currentColor`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({BlockElementIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`block-element`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`blockquote`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BlockquoteIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({BoldIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`bold`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.6496 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z`,fill:`currentColor`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({BoltIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`bolt`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M18 11.5L9 21L11 13.5H7L16 4L14 11.5H18Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`book`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M19.5 18V7C19.5 7 18.5 6.5 16.5 6.5C14.5 6.5 12.5 7.5 12.5 7.5M19.5 18V18.5C19.5 18.5 18 18.5 16 18.5C14 18.5 12.5 18.5 12.5 18.5M19.5 18C19.5 18 18.5 17.5 16.5 17.5C14.5 17.5 12.5 18.5 12.5 18.5M5.5 18V7C5.5 7 6.5 6.5 8.5 6.5C10.5 6.5 12.5 7.5 12.5 7.5M5.5 18V18.5C5.5 18.5 7 18.5 9 18.5C11 18.5 12.5 18.5 12.5 18.5M5.5 18C5.5 18 6.5 17.5 8.5 17.5C10.5 17.5 12.5 18.5 12.5 18.5M12.5 18.5V7.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BookIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`bookmark`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M7.5 6.5V19.5L12.5 14.5L17.5 19.5V6.5C17.5 5.94772 17.0523 5.5 16.5 5.5H8.5C7.94772 5.5 7.5 5.94772 7.5 6.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BookmarkIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`bookmark-filled`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M7.5 6.5V19.5L12.5 14.5L17.5 19.5V6.5C17.5 5.94772 17.0523 5.5 16.5 5.5H8.5C7.94772 5.5 7.5 5.94772 7.5 6.5Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BookmarkFilledIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`bottle`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94772 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as BottleIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({BugIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`bug`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M8.5 9.5V8.9C8.16863 8.9 7.9 9.16863 7.9 9.5H8.5ZM16.5 9.5H17.1C17.1 9.16863 16.8314 8.9 16.5 8.9V9.5ZM8.5 10.1H9.5V8.9H8.5V10.1ZM9.5 10.1H15.5V8.9H9.5V10.1ZM15.5 10.1H16.5V8.9H15.5V10.1ZM15.9 9.5V13.5H17.1V9.5H15.9ZM15.9 13.5C15.9 14.395 15.678 15.0264 15.3758 15.4797C15.0711 15.9367 14.6605 16.2489 14.2317 16.4633C13.8005 16.6789 13.3621 16.7897 13.0264 16.8457C12.8599 16.8734 12.7226 16.887 12.6291 16.8937C12.5825 16.897 12.5472 16.8986 12.5249 16.8994C12.5138 16.8997 12.506 16.8999 12.5018 16.9C12.4997 16.9 12.4984 16.9 12.4981 16.9C12.498 16.9 12.4981 16.9 12.4984 16.9C12.4985 16.9 12.4987 16.9 12.499 16.9C12.4991 16.9 12.4994 16.9 12.4995 16.9C12.4997 16.9 12.5 16.9 12.5 17.5C12.5 18.1 12.5003 18.1 12.5006 18.1C12.5008 18.1 12.5011 18.1 12.5014 18.1C12.5019 18.1 12.5025 18.1 12.5031 18.1C12.5044 18.1 12.5059 18.1 12.5077 18.1C12.5112 18.0999 12.5157 18.0999 12.5212 18.0998C12.532 18.0996 12.5467 18.0993 12.5649 18.0987C12.6013 18.0975 12.6519 18.0951 12.7146 18.0907C12.8399 18.0817 13.0151 18.0641 13.2236 18.0293C13.6379 17.9603 14.1995 17.8211 14.7683 17.5367C15.3395 17.2511 15.9289 16.8133 16.3742 16.1453C16.822 15.4736 17.1 14.605 17.1 13.5H15.9ZM12.5 17.5C12.5 16.9 12.5003 16.9 12.5005 16.9C12.5006 16.9 12.5009 16.9 12.501 16.9C12.5013 16.9 12.5015 16.9 12.5016 16.9C12.5019 16.9 12.502 16.9 12.5019 16.9C12.5016 16.9 12.5003 16.9 12.4982 16.9C12.494 16.8999 12.4862 16.8997 12.4751 16.8994C12.4528 16.8986 12.4175 16.897 12.3709 16.8937C12.2774 16.887 12.1401 16.8734 11.9736 16.8457C11.6379 16.7897 11.1995 16.6789 10.7683 16.4633C10.3395 16.2489 9.92894 15.9367 9.62423 15.4797C9.32203 15.0264 9.1 14.395 9.1 13.5H7.9C7.9 14.605 8.17797 15.4736 8.62577 16.1453C9.07106 16.8133 9.66049 17.2511 10.2317 17.5367C10.8005 17.8211 11.3621 17.9603 11.7764 18.0293C11.9849 18.0641 12.1601 18.0817 12.2854 18.0907C12.3481 18.0951 12.3987 18.0975 12.4351 18.0987C12.4533 18.0993 12.468 18.0996 12.4788 18.0998C12.4843 18.0999 12.4888 18.0999 12.4923 18.1C12.4941 18.1 12.4956 18.1 12.4969 18.1C12.4975 18.1 12.4981 18.1 12.4986 18.1C12.4989 18.1 12.4992 18.1 12.4994 18.1C12.4997 18.1 12.5 18.1 12.5 17.5ZM9.1 13.5V9.5H7.9V13.5H9.1ZM9.5 9.5C10.1 9.5 10.1 9.50028 10.1 9.50055C10.1 9.50063 10.1 9.50089 10.1 9.50104C10.1 9.50134 10.1 9.5016 10.1 9.50182C10.1 9.50225 10.1 9.5025 10.1 9.50259C10.1 9.50276 10.1 9.50224 10.1 9.50107C10.1001 9.49872 10.1002 9.49374 10.1004 9.4863C10.1009 9.4714 10.102 9.44678 10.1043 9.41384C10.1091 9.34776 10.1188 9.24944 10.1387 9.12989C10.179 8.88793 10.2586 8.5745 10.4117 8.26833C10.5636 7.96451 10.782 7.67894 11.0984 7.46798C11.4111 7.25953 11.855 7.1 12.5 7.1V5.9C11.645 5.9 10.9639 6.11547 10.4328 6.46952C9.90549 6.82106 9.56143 7.28549 9.33834 7.73167C9.11643 8.1755 9.00846 8.61207 8.95504 8.93261C8.92809 9.09431 8.91438 9.23036 8.90738 9.32835C8.90388 9.37744 8.90203 9.41727 8.90107 9.44632C8.90058 9.46085 8.90031 9.47272 8.90017 9.48172C8.9001 9.48622 8.90005 9.49001 8.90003 9.49306C8.90002 9.49459 8.90001 9.49593 8.90001 9.49709C8.9 9.49767 8.9 9.4982 8.9 9.49869C8.9 9.49893 8.9 9.49926 8.9 9.49938C8.9 9.4997 8.9 9.5 9.5 9.5ZM12.5 7.1C13.145 7.1 13.5889 7.25953 13.9016 7.46798C14.218 7.67894 14.4364 7.96451 14.5883 8.26833C14.7414 8.5745 14.821 8.88793 14.8613 9.12989C14.8812 9.24944 14.8909 9.34776 14.8957 9.41384C14.898 9.44678 14.8991 9.4714 14.8996 9.4863C14.8998 9.49374 14.8999 9.49872 14.9 9.50107C14.9 9.50224 14.9 9.50276 14.9 9.50259C14.9 9.5025 14.9 9.50225 14.9 9.50182C14.9 9.5016 14.9 9.50134 14.9 9.50104C14.9 9.50089 14.9 9.50063 14.9 9.50055C14.9 9.50028 14.9 9.5 15.5 9.5C16.1 9.5 16.1 9.4997 16.1 9.49938C16.1 9.49926 16.1 9.49893 16.1 9.49869C16.1 9.4982 16.1 9.49767 16.1 9.49709C16.1 9.49593 16.1 9.49459 16.1 9.49306C16.0999 9.49001 16.0999 9.48622 16.0998 9.48172C16.0997 9.47272 16.0994 9.46085 16.0989 9.44632C16.098 9.41727 16.0961 9.37744 16.0926 9.32835C16.0856 9.23036 16.0719 9.09431 16.045 8.93261C15.9915 8.61207 15.8836 8.1755 15.6617 7.73167C15.4386 7.28549 15.0945 6.82106 14.5672 6.46952C14.0361 6.11547 13.355 5.9 12.5 5.9V7.1ZM11.9 9.5V17.5H13.1V9.5H11.9ZM8.5 9.9C7.71525 9.9 7.10887 9.51034 6.67426 9.07574C6.45859 8.86006 6.29547 8.64279 6.18673 8.47968C6.1327 8.39863 6.09302 8.33235 6.06782 8.28825C6.05524 8.26624 6.04634 8.24988 6.04113 8.24011C6.03853 8.23523 6.03685 8.232 6.0361 8.23055C6.03573 8.22983 6.03559 8.22955 6.03568 8.22973C6.03573 8.22982 6.03583 8.23003 6.03599 8.23035C6.03607 8.23051 6.03617 8.2307 6.03628 8.23092C6.03634 8.23103 6.03643 8.23122 6.03646 8.23127C6.03656 8.23147 6.03666 8.23167 5.5 8.5C4.96334 8.76833 4.96345 8.76855 4.96357 8.76877C4.96361 8.76886 4.96372 8.76 Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`bulb-filled`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:1.2})})});export{a as BulbFilledIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({BulbOutlineIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`bulb-outline`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z`,stroke:`currentColor`,strokeWidth:1.2})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CalendarIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`calendar`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M5.5 18.5H19.5V6.5H5.5V18.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M16.5 8V4M8.5 8V4M8 12.5H10M8 15.5H10M11.5 12.5H13.5M11.5 15.5H13.5M15 12.5H17M15 15.5H17M12.5 8V4M5.5 9.5H19.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Co as t,Ha as n,Sd as r,Ua as i,Ya as a,Za as o,au as s,co as c,lo as l,nu as u,rc as d,ro as f,to as p,uc as m,uo as h,yo as g}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as _,t as v}from"./jsx-runtime-BpzPEenQ.js";import{t as y}from"./compiler-runtime-sKsOXjDo.js";import{Et as b,St as x,i as S,r as C,t as w,x as T}from"./dist-LVcARZxB.js";import{t as E}from"./Close-B_ZEgT1V.js";import{t as D}from"./ChevronRight-Cf6GkXSa.js";import{t as O}from"./ChevronLeft-BzE8YX6u.js";var k=e(_(),1),ee=y(),A=v();function j(e,t){let n=s(e,t?.in).getDay();return n===0||n===6}function M(e){let t=(0,ee.c)(33),{date:n,focused:r,isCurrentMonth:i,isToday:a,onSelect:o,selected:s,disabled:c,dateStyles:l}=e,u;t[0]===l?u=t[1]:(u=l===void 0?{}:l,t[0]=l,t[1]=u);let d=u,f;t[2]!==n||t[3]!==o||t[4]!==s?(f=()=>{o(s?void 0:n)},t[2]=n,t[3]=o,t[4]=s,t[5]=f):f=t[5];let p=f,m;m=a||s?`primary`:(j(n),`default`);let h;t[6]===n?h=t[7]:(h=n.toDateString(),t[6]=n,t[7]=h);let g=r?`true`:``,_;t[8]!==n||t[9]!==a?(_=a?`day-tile-today`:`day-tile-${n.getDate()}-${n.getMonth()}`,t[8]=n,t[9]=a,t[10]=_):_=t[10];let v;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(v={position:`relative`},t[11]=v):v=t[11];let y=!s&&!i?.35:1,S;t[12]!==d||t[13]!==y?(S={opacity:y,textAlign:`center`,...d},t[12]=d,t[13]=y,t[14]=S):S=t[14];let C;t[15]!==n||t[16]!==s?(C=s?(0,A.jsx)(E,{}):n.getDate(),t[15]=n,t[16]=s,t[17]=C):C=t[17];let w;t[18]!==S||t[19]!==C?(w=(0,A.jsx)(x,{size:1,style:S,children:C}),t[18]=S,t[19]=C,t[20]=w):w=t[20];let T;t[21]!==c||t[22]!==p||t[23]!==s||t[24]!==w||t[25]!==h||t[26]!==g||t[27]!==_||t[28]!==m?(T=(0,A.jsx)(b,{"aria-label":h,"aria-pressed":s,as:`button`,__unstable_focusRing:!0,"data-weekday":!0,"data-focused":g,"data-testid":_,role:`button`,tabIndex:-1,onClick:p,paddingX:3,paddingY:4,radius:2,selected:s,style:v,tone:m,disabled:c,children:w}),t[21]=c,t[22]=p,t[23]=s,t[24]=w,t[25]=h,t[26]=g,t[27]=_,t[28]=m,t[29]=T):T=t[29];let D;return t[30]!==s||t[31]!==T?(D=(0,A.jsx)(`div`,{"aria-selected":s,"data-ui":`CalendarDay`,children:T}),t[30]=s,t[31]=T,t[32]=D):D=t[32],D}function te(e){let n=(0,ee.c)(36),{date:r,renderCalendarDay:i,hidden:s,disabled:u,timeZoneScope:d}=e,{getCurrentZoneDate:f}=t(d),p=i||M,m=o(r),{weekInfo:h}=g(),{firstDay:_}=h,v,y,b,x,C,T;if(n[0]!==_||n[1]!==s){let e=a(_);y=w,C=s||!1,T=`CalendarMonth`,v=S,n[8]===Symbol.for(`react.memo_cache_sentinel`)?(b={gap:`1px`,gridTemplateColumns:`repeat(7, 1fr)`},n[8]=b):b=n[8],x=e.map(N),n[0]=_,n[1]=s,n[2]=v,n[3]=y,n[4]=b,n[5]=x,n[6]=C,n[7]=T}else v=n[2],y=n[3],b=n[4],x=n[5],C=n[6],T=n[7];let E;if(n[9]!==p||n[10]!==r||n[11]!==u||n[12]!==f||n[13]!==e.focused||n[14]!==e.onSelect||n[15]!==e.selected||n[16]!==m){let t;n[18]!==p||n[19]!==r||n[20]!==u||n[21]!==f||n[22]!==e.focused||n[23]!==e.onSelect||n[24]!==e.selected?(t=(t,n)=>t.days.map((t,i)=>{let a=e.focused&&l(t,e.focused),o=e.selected&&l(t,e.selected),s=l(t,f()),d=c(t,e.focused||r);return(0,A.jsx)(p,{date:t,focused:a,isCurrentMonth:d,isToday:s,onSelect:e.onSelect,selected:o,disabled:u},`${n}-${i}`)}),n[18]=p,n[19]=r,n[20]=u,n[21]=f,n[22]=e.focused,n[23]=e.onSelect,n[24]=e.selected,n[25]=t):t=n[25],E=m.map(t),n[9]=p,n[10]=r,n[11]=u,n[12]=f,n[13]=e.focused,n[14]=e.onSelect,n[15]=e.selected,n[16]=m,n[17]=E}else E=n[17];let D;n[26]!==v||n[27]!==b||n[28]!==x||n[29]!==E?(D=(0,A.jsxs)(v,{style:b,children:[x,E]}),n[26]=v,n[27]=b,n[28]=x,n[29]=E,n[30]=D):D=n[30];let O;return n[31]!==y||n[32]!==C||n[33]!==T||n[34]!==D?(O=(0,A.jsx)(y,{"aria-hidden":C,"data-ui":T,children:D}),n[31]=y,n[32]=C,n[33]=T,n[34]=D,n[35]=O):O=n[35],O}function N(e){return(0,A.jsx)(b,{paddingY:3,children:(0,A.jsx)(T,{size:1,style:{textAlign:`center`},children:e.slice(0,1)})},e)}var ne=(0,A.jsx)(`span`,{"data-preserve-focus":!0,style:{overflow:`hidden`,position:`absolute`,outline:`none`},tabIndex:-1});function P(e){let a=(0,ee.c)(87),o,s,c,l,g,_,v,y;a[0]===e?(o=a[1],s=a[2],c=a[3],l=a[4],g=a[5],_=a[6],v=a[7],y=a[8]):({ref:o,focusedDate:l,onFocusedDateChange:s,onSelect:c,selectedDate:v,renderCalendarDay:g,timeZoneScope:y,..._}=e,a[0]=e,a[1]=o,a[2]=s,a[3]=c,a[4]=l,a[5]=g,a[6]=_,a[7]=v,a[8]=y);let b;a[9]===Symbol.for(`react.memo_cache_sentinel`)?(b=new Date,a[9]=b):b=a[9];let[S,T]=(0,k.useState)(b),{t:E}=r(),{zoneDateToUtc:j}=t(y),M=l||S,N;a[10]!==s||a[11]!==l?(N=e=>{s&&l?s(e):T(e)},a[10]=s,a[11]=l,a[12]=N):N=a[12];let P=N,re;a[13]!==P||a[14]!==j?(re=e=>{P(j(e))},a[13]=P,a[14]=j,a[15]=re):re=a[15];let ie=re,ae;a[16]!==M||a[17]!==ie?(ae=e=>ie(h(M,e)),a[16]=M,a[17]=ie,a[18]=ae):ae=a[18];let F=ae,oe;a[19]!==P||a[20]!==c||a[21]!==j?(oe=e=>{if(e){let t=j(f(p(e,e.getHours()),e.getMinutes()));c(t),P(t)}else c(void 0)},a[19]=P,a[20]=c,a[21]=j,a[22]=oe):oe=a[22];let se=oe,I=(0,k.useRef)(null),ce;a[23]===Symbol.for(`react.memo_cache_sentinel`)?(ce=()=>I.current,a[23]=ce):ce=a[23],(0,k.useImperativeHandle)(o,ce);let le;a[24]===Symbol.for(`react.memo_cache_sentinel`)?(le=()=>{I.current?.querySelector(`[data-focused="true"]`)?.focus()}Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`case`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as CaseIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`chart-upward`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as ChartUpwardIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CheckmarkIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`checkmark`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M5.5 11.5L10.5 16.5L19.5 7.60001`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CheckmarkCircleIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`checkmark-circle`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ChevronDownIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`chevron-down`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M17 10L12.5 14.5L8 10`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ChevronLeftIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`chevron-left`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M15 17L10.5 12.5L15 8`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ChevronRightIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`chevron-right`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M10 8L14.5 12.5L10 17`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ChevronUpIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`chevron-up`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M8 15L12.5 10.5L17 15`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CircleIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`circle`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`circle`,{cx:12.5,cy:12.5,r:8,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ClipboardIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`clipboard`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`clipboard-image`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as ClipboardImageIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ClockIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`clock`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CloseIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`close`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M18 7L7 18M7 7L18 18`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`close-circle`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as CloseCircleIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CodeIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`code`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`code-block`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as CodeBlockIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CogIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`cog`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M14.0666 6.19428L13.719 5.32531C13.5196 4.82685 13.0369 4.5 12.5 4.5C11.9631 4.5 11.4804 4.82685 11.281 5.32531L10.9334 6.19428C10.7984 6.53187 10.5328 6.80068 10.1969 6.93982C9.86098 7.07896 9.48313 7.07666 9.14894 6.93343L8.2887 6.56476C7.79525 6.35328 7.22276 6.46353 6.84315 6.84315C6.46353 7.22276 6.35328 7.79525 6.56476 8.2887L6.93343 9.14894C7.07666 9.48313 7.07896 9.86098 6.93982 10.1969C6.80068 10.5328 6.53187 10.7984 6.19428 10.9334L5.32531 11.281C4.82685 11.4804 4.5 11.9631 4.5 12.5C4.5 13.0369 4.82685 13.5196 5.32531 13.719L6.19428 14.0666C6.53187 14.2016 6.80068 14.4672 6.93982 14.8031C7.07896 15.139 7.07666 15.5169 6.93343 15.8511L6.56476 16.7113C6.35328 17.2048 6.46353 17.7772 6.84315 18.1569C7.22276 18.5365 7.79525 18.6467 8.2887 18.4352L9.14894 18.0666C9.48314 17.9233 9.86099 17.921 10.1969 18.0602C10.5328 18.1993 10.7984 18.4681 10.9334 18.8057L11.281 19.6747C11.4804 20.1732 11.9631 20.5 12.5 20.5C13.0369 20.5 13.5196 20.1731 13.719 19.6747L14.0666 18.8057C14.2016 18.4681 14.4672 18.1993 14.8031 18.0602C15.139 17.921 15.5169 17.9233 15.8511 18.0666L16.7113 18.4352C17.2047 18.6467 17.7772 18.5365 18.1569 18.1569C18.5365 17.7772 18.6467 17.2047 18.4352 16.7113L18.0666 15.8511C17.9233 15.5169 17.921 15.139 18.0602 14.8031C18.1993 14.4672 18.4681 14.2016 18.8057 14.0666L19.6747 13.719C20.1731 13.5196 20.5 13.0369 20.5 12.5C20.5 11.9631 20.1731 11.4804 19.6747 11.281L18.8057 10.9334C18.4681 10.7984 18.1993 10.5328 18.0602 10.1969C17.921 9.86098 17.9233 9.48313 18.0666 9.14894L18.4352 8.2887C18.6467 7.79525 18.5365 7.22276 18.1569 6.84314C17.7772 6.46353 17.2048 6.35328 16.7113 6.56476L15.8511 6.93343C15.5169 7.07666 15.139 7.07896 14.8031 6.93982C14.4672 6.80068 14.2016 6.53187 14.0666 6.19428Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CollapseIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`collapse`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M10.5 14.5L6 19M14.5 10.5L19 6`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`color-wheel`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M9.43853 5.10896L11.1606 9.26642M13.8394 15.7336L15.5615 19.891M15.7336 11.1606L19.891 9.43853M9.26642 13.8394L5.10896 15.5615M5.3139 9.52342L9.23359 11.147M15.7664 13.853L19.6861 15.4766M13.853 9.23359L15.4766 5.3139M9.52342 19.6861L11.147 15.7664M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5ZM16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as ColorWheelIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CommentIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`comment`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-5
View File
@@ -1,5 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Df as t,Ef as n,Jf as r,Qs as i,Sd as a,Wf as o,Yr as s,Ys as c,Zs as l,ai as u,ci as d,di as f,ec as p,fi as m,gf as h,hf as g,ii as _,ju as v,lc as y,li as b,mi as x,nc as S,oi as C,pc as w,pi as T,pu as E,rc as D,ri as O,rr as k,si as A,uc as j,ui as M,vi as N,yi as P,yu as F}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as I,t as L}from"./jsx-runtime-BpzPEenQ.js";import{t as R}from"./compiler-runtime-sKsOXjDo.js";import{et as z,pr as B}from"./types--2f-avvL-CUBrVRGR.js";import{Et as V,Gt as H,Ot as U,Qt as ee,Ut as W,_ as G,et as te,f as ne,ft as re,j as K,l as ie,o as q,pt as ae,r as J,s as oe,t as se}from"./dist-LVcARZxB.js";import{a as ce,n as le}from"./helpers-D_aQC6Do-Cc0nAXnJ.js";var Y=e(I(),1),X=R(),Z=L();function ue(){let e=(0,Y.useContext)(r);if(!e)throw Error(`useComments must be used within a CommentsProvider`);return e}var Q={behavior:`smooth`,inline:`center`,scrollMode:`if-needed`},de={...Q,block:`start`},fe={...Q,block:`center`},$={...Q,block:`center`},pe={comment:{...Q,block:`center`},field:$,group:de,"inline-comment":fe};function me(e){return e.replace(/[[\]_"_=.]/g,``)}function he(e){return{"data-comments-comment-id":me(e)}}function ge(e){return{"data-comments-field-id":me(e)}}function _e(e){return{"data-comments-group-id":me(e)}}function ve(e){return{"data-comments-inline-comment-id":me(e)}}function ye(e){let t=(0,X.c)(14),n;t[0]===e?n=t[1]:(n=e||{},t[0]=e,t[1]=n);let{boundaryElement:r}=n,[i,a]=(0,Y.useState)(null);i?.type;let o=pe[i?.type||`comment`],s=i?.type===`comment`?r:void 0,c;t[2]!==o||t[3]!==s?(c={...o,boundary:s},t[2]=o,t[3]=s,t[4]=c):c=t[4];let l=c,u;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=e=>{a({type:`comment`,id:e})},t[5]=u):u=t[5];let d=u,f;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(f=e=>{a({type:`group`,id:e})},t[6]=f):f=t[6];let p=f,m;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(m=e=>{a({type:`field`,id:e})},t[7]=m):m=t[7];let h=m,g;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(g=e=>{a({type:`inline-comment`,id:e})},t[8]=g):g=t[8];let _=g,v,y;t[9]!==l||t[10]!==i?(v=()=>{let e=requestAnimationFrame(()=>{if(!i)return;let{type:e,id:t}=i,n=document?.querySelector(`[data-comments-${e}-id="${me(t)}"]`);n&&x(n,l)});return()=>{cancelAnimationFrame(e)}},y=[l,i],t[9]=l,t[10]=i,t[11]=v,t[12]=y):(v=t[11],y=t[12]),(0,Y.useEffect)(v,y);let b;return t[13]===Symbol.for(`react.memo_cache_sentinel`)?(b={scrollToComment:d,scrollToField:h,scrollToGroup:p,scrollToInlineComment:_},t[13]=b):b=t[13],b}var be=`_1xg999m0`;function xe(e){let t=(0,X.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Z.jsx)(q,{className:be,size:1,as:`div`,trim:!0,children:n}),t[0]=n,t[1]=r),r}var Se=h({name:`mention`,type:`object`,fields:[{name:`userId`,type:`string`}]}),Ce=h({type:`block`,name:`block`,of:[Se],marks:{annotations:[]},styles:[{title:`Normal`,value:`normal`}],lists:[]}),we=g({type:`array`,name:`body`,of:[Ce]}),Te=E.compile({name:`comments`,types:[we]}).get(`body`);function Ee(e){let t=(0,X.c)(25),{t:n}=a(z),{onClose:r,onConfirm:i}=e,o;t[0]===r?o=t[1]:(o=e=>{e.stopPropagation(),r()},t[0]=r,t[1]=o);let s=o,c;t[2]===i?c=t[3]:(c=e=>{e.stopPropagation(),i()},t[2]=i,t[3]=c);let l=c,u;t[4]===n?u=t[5]:(u=n(`discard.header`),t[4]=n,t[5]=u);let d;t[6]===s?d=t[7]:(d={onClick:s},t[6]=s,t[7]=d);let f;t[8]===n?f=t[9]:(f=n(`discard.button-confirm`),t[8]=n,t[9]=f);let m;t[10]!==l||t[11]!==f?(m={onClick:l,text:f,tone:`critical`},t[10]=l,t[11]=f,t[12]=m):m=t[12];let h;t[13]!==d||t[14]!==m?(h={cancelButton:d,confirmButton:m},t[13]=d,t[14]=m,t[15]=h):h=t[15];let g;t[16]===n?g=t[17]:(g=n(`discard.text`),t[16]=n,t[17]=g);let _;t[18]===g?_=t[19]:(_=(0,Z.jsx)(q,{size:1,as:`div`,trim:!0,children:g}),t[18]=g,t[19]=_);let v;return t[20]!==r||t[21]!==u||t[22]!==h||t[23]!==_?(v=(0,Z.jsx)(U,{tone:`default`,children:(0,Z.jsx)(G,{zOffset:9999999,children:(0,Z.jsx)(p,{header:u,id:`discard-comment-dialog`,onClose:r,width:0,onClickOutside:r,footer:h,children:_})})}),t[20]=r,t[21]=u,t[22]=h,t[23]=_,t[24]=v):v=t[24],v}var De=H(ie).withConfig({displayName:`StyledAvatar`,componentId:`sc-lay0rn-0`})`svg > ellipse{stroke:transparent;}`,Oe=/[^\p{Alpha}\p{White_Space}]/gu,ke=/\p{White_Space}+/u;function Ae(e){let t=e.replace(Oe,``).split(ke);return t.length===1?`${t[0].charAt(0)}`.toUpperCase():`${t[0].charAt(0)}${t[t.length-1].charAt(0)}`}function je(e){let t=(0,X.c)(12),n,r;t[0]===e?(n=t[1],r=t[2]):({user:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r;i?.displayName;let a=i?.displayName||``,o;t[3]===a?o=t[4]:(o=Ae(a),t[3]=a,t[4]=o);let s=o;if(!i){let e;return t[5]===n?e=t[6]:(e=(0,Z.jsx)(De,{...n}),t[5]=n,t[6]=e),e}let c=i?.imageUrl,l=i?.displayName,u;return t[7]!==s||t[8]!==n||t[9]!==c||t[10]!==l?(u=(0,Z.jsx)(De,{initials:s,src:c,title:l,...n}),t[7]=s,t[8]=n,t[9]=c,t[10]=l,t[11]=u):u=t[11],u}function Me(e){let t=(0,X.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({ref:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i,a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`Line truncated
min-height: ${ee(e.theme).avatar.sizes[1]?.size}px;
display: flex;
align-items: center;
`);function it(e){let t=(0,X.c)(41),{avatarSize:n,currentUser:r,focusLock:o,onBlur:s,onFocus:c,onKeyDown:l,onSubmit:u,placeholder:d,renderBlock:f,withAvatar:p}=e,m=n===void 0?1:n,[h]=i(r.id),{canSubmit:g,expandOnFocus:_,focused:v,hasChanges:y,insertAtChar:b,openMentions:x,readOnly:S,mentionOptions:C}=Ue(),{t:w}=a(z),T;t[0]!==m||t[1]!==h||t[2]!==p?(T=p?(0,Z.jsx)(rt,{children:(0,Z.jsx)(je,{user:h,size:m})}):null,t[0]=m,t[1]=h,t[2]=p,t[3]=T):T=t[3];let E=T,O;t[4]!==b||t[5]!==x?(O=e=>{e.stopPropagation(),b(),x()},t[4]=b,t[5]=x,t[6]=O):O=t[6];let k=O,A=_&&!g?`true`:`false`,M=v?`true`:`false`,N=S?`transparent`:`default`,P;t[7]!==o||t[8]!==s||t[9]!==c||t[10]!==l||t[11]!==u||t[12]!==d||t[13]!==f?(P=(0,Z.jsx)($e,{"data-ui":`CommentInputEditableWrap`,paddingX:1,paddingY:2,children:(0,Z.jsx)(Ze,{focusLock:o,onBlur:s,onFocus:c,onKeyDown:l,onSubmit:u,placeholder:d,renderBlock:f})}),t[7]=o,t[8]=s,t[9]=c,t[10]=l,t[11]=u,t[12]=d,t[13]=f,t[14]=P):P=t[14];let F;t[15]!==k||t[16]!==C.disabled||t[17]!==S||t[18]!==w?(F=!C.disabled&&(0,Z.jsx)(D,{"aria-label":w(`compose.mention-user-aria-label`),"data-testid":`comment-input-mention-button`,disabled:S,icon:Me,mode:`bleed`,type:`button`,onClick:k,tooltipProps:{content:w(`compose.mention-user-tooltip`)}}),t[15]=k,t[16]=C.disabled,t[17]=S,t[18]=w,t[19]=F):F=t[19];let I;t[20]!==g||t[21]!==y||t[22]!==C.disabled||t[23]!==u||t[24]!==S||t[25]!==w?(I=u&&(0,Z.jsxs)(Z.Fragment,{children:[!C.disabled&&(0,Z.jsx)(et,{}),(0,Z.jsx)(D,{"aria-label":w(`compose.send-comment-aria-label`),"data-testid":`comment-input-send-button`,disabled:!g||!y||S,icon:Ne,mode:y&&g?`default`:`bleed`,onClick:u,tone:y&&g?`primary`:`default`,tooltipProps:{content:w(`compose.send-comment-tooltip`)}})]}),t[20]=g,t[21]=y,t[22]=C.disabled,t[23]=u,t[24]=S,t[25]=w,t[26]=I):I=t[26];let L;t[27]!==F||t[28]!==I?(L=(0,Z.jsx)(J,{alignItems:`center`,"data-ui":`CommentInputActions`,gap:1,justifyContent:`flex-end`,padding:1,children:(0,Z.jsxs)(j,{children:[F,I]})}),t[27]=F,t[28]=I,t[29]=L):L=t[29];let R;t[30]!==P||t[31]!==L?(R=(0,Z.jsxs)(oe,{children:[P,L]}),t[30]=P,t[31]=L,t[32]=R):R=t[32];let B;t[33]!==R||t[34]!==A||t[35]!==M||t[36]!==N?(B=(0,Z.jsx)(nt,{id:`comment-input-root`,"data-expand-on-focus":A,"data-focused":M,flex:1,sizing:`border`,tone:N,children:R}),t[33]=R,t[34]=A,t[35]=M,t[36]=N,t[37]=B):B=t[37];let V;return t[38]!==E||t[39]!==B?(V=(0,Z.jsxs)(J,{alignItems:`flex-start`,gap:2,children:[E,B]}),t[38]=E,t[39]=B,t[40]=V):V=t[40],V}function at(e){let t=(0,X.c)(42),{children:r,expandOnFocus:i,focused:a,focusOnMount:s,mentionOptions:c,onMentionMenuOpenChange:l,value:u,readOnly:d}=e,f=i!==void 0&&i,p=s!==void 0&&s,h=m(),[g,_]=(0,Y.useState)(!1),[v,y]=(0,Y.useState)(``),[x,S]=(0,Y.useState)(null),C;t[0]===u?C=t[1]:(C=le(u),t[0]=u,t[1]=C);let w=C,T=ce(u),E;t[2]!==h||t[3]!==d?(E=()=>{d||b.focus(h)},t[2]=h,t[3]=d,t[4]=E):E=t[4];let D=E,O;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>{_(!1),y(``),S(null)},t[5]=O):O=t[5];let A=O,j;t[6]!==h||t[7]!==c?.disabled?(j=()=>{c?.disabled||(_(!0),y(``),_(!0),S(b.getSelection(h)))},t[6]=h,t[7]=c?.disabled,t[8]=j):j=t[8],c?.disabled;let M=j,N;t[9]!==h||t[10]!==c?.disabled||t[11]!==v||t[12]!==M?(N=e=>{if(c?.disabled)return;let t=b.getSelection(h),r=t?t.focus.offset:0,i=b.focusChild(h),a=n(i)&&i||void 0,o=e.inputType===`insertText`,s=e.inputType===`deleteContentBackward`,l=o&&e.data===`@`,u=a?.text.slice(0,Math.max(0,r)).lastIndexOf(`@`)||0,d=a?.text.slice(r-1,r)===` `,f=o&&e.data===` `&&!v;if(l&&(r<1||d)){M();return}if(f||s&&(a?.text.length===1||u===(a?.text.length||0)-1)){A();return}if(n(i)){let t=i.text.slice(u+1,r);o&&(t+=e.data),s&&(t=t.slice(0,Math.max(0,t.length-1))),y(t)}},t[9]=h,t[10]=c?.disabled,t[11]=v,t[12]=M,t[13]=N):N=t[13],c?.disabled;let P=N,F;t[14]===h?F=t[15]:(F=()=>{_(!0),b.focus(h),b.insertChild(h,h.schemaTypes.span,{text:`@`}),S(b.getSelection(h))},t[14]=h,t[15]=F);let I=F,L;t[16]!==g||t[17]!==l?(L=()=>l?.(g),t[16]=g,t[17]=l,t[18]=L):L=t[18],k(g,L);let R;t[19]!==h||t[20]!==x?(R=e=>{let t=h.schemaTypes.inlineObjects.find(ot),[r,i]=x&&b.findByPath(h,x.focus.path)||[];if(r&&n(r)&&i&&t){b.focus(h);let n=b.getSelection(h)?.focus.offset;n!==void 0&&(b.delete(h,{anchor:{path:i,offset:r.text.lastIndexOf(`@`)},focus:{path:i,offset:n}},{mode:`selected`}),b.insertChild(h,t,{userId:e}),b.insertChild(h,h.schemaTypes.span,{text:` `}))}},t[19]=h,t[20]=x,t[21]=R):R=t[21];let z=R,B=!!d,V;t[22]!==w||t[23]!==h||t[24]!==f||t[25]!==D||t[26]!==p||t[27]!==a||t[28]!==T||t[29]!==I||t[30]!==z||t[31]!==c||t[32]!==g||t[33]!==v||t[34]!==P||t[35]!==M||t[36]!==B||t[37]!==u?(V={canSubmit:w,closeMentions:A,editor:h,expandOnFocus:f,focused:a,focusEditor:D,focusOnMount:p,hasChanges:T,insertAtChar:I,insertMention:z,mentionOptions:c,mentionsMenuOpen:g,mentionsSearchTerm:v,onBeforeInput:P,openMentions:M,readOnly:B,value:u},t[22]=w,t[23]=h,t[24]=f,t[25]=D,t[26]=p,t[27]=a,t[28]=T,t[29]=I,t[30]=z,t[31]=c,t[32]=g,t[33]=v,t[34]=P,t[35]=M,t[36]=B,t[37]=u,t[38]=V):V=t[38];let H=V,U;return t[39]!==r||t[40]!==H?(U Line truncated
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Kf as t,ju as n,tp as r}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as i,t as a}from"./jsx-runtime-BpzPEenQ.js";import{t as o}from"./compiler-runtime-sKsOXjDo.js";import{Et as s}from"./types--2f-avvL-CUBrVRGR.js";import{t as c}from"./CommentsEnabledProvider-By3TCGFl-C60crpzJ.js";var l=e(i(),1),u=o(),d=a();function f(e){let n=(0,u.c)(6),{children:r}=e,[i,a]=(0,l.useState)(null),o;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=e=>{a(e)},n[0]=o):o=n[0];let s=o,c;n[1]===i?c=n[2]:(c={authoringPath:i,setAuthoringPath:s},n[1]=i,n[2]=c);let f=c,p;return n[3]!==r||n[4]!==f?(p=(0,d.jsx)(t.Provider,{value:f,children:r}),n[3]=r,n[4]=f,n[5]=p):p=n[5],p}var p=(0,l.memo)(function(e){let t=(0,u.c)(8),{children:i}=e,[a,o]=(0,l.useState)(null),s;t[0]===a?s=t[1]:(s=e=>{n(a,e)||o(e)},t[0]=a,t[1]=s);let c=s,f;t[2]!==c||t[3]!==a?(f={selectedPath:a,setSelectedPath:c},t[2]=c,t[3]=a,t[4]=f):f=t[4];let p=f,m;return t[5]!==i||t[6]!==p?(m=(0,d.jsx)(r.Provider,{value:p,children:i}),t[5]=i,t[6]=p,t[7]=m):m=t[7],m});function m(e){let t=(0,u.c)(8),{documentId:n,documentType:r}=e;if(s().mode!==null){let n;return t[0]===e?n=t[1]:(n=(0,d.jsx)(h,{...e}),t[0]=e,t[1]=n),n}let i;t[2]===e?i=t[3]:(i=(0,d.jsx)(h,{...e}),t[2]=e,t[3]=i);let a;return t[4]!==n||t[5]!==r||t[6]!==i?(a=(0,d.jsx)(c,{groupId:n,documentType:r,children:i}),t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function h(e){let t=(0,u.c)(6);if(!s().enabled){let n;return t[0]===e?n=t[1]:(n=e.renderDefault(e),t[0]=e,t[1]=n),n}let n;t[2]===e?n=t[3]:(n=e.renderDefault(e),t[2]=e,t[3]=n);let r;return t[4]===n?r=t[5]:(r=(0,d.jsx)(p,{children:(0,d.jsx)(f,{children:n})}),t[4]=n,t[5]=r),r}export{m as CommentsDocumentLayout};
@@ -1 +0,0 @@
import{t as e}from"./jsx-runtime-BpzPEenQ.js";import{t}from"./compiler-runtime-sKsOXjDo.js";import{Tt as n,v as r}from"./types--2f-avvL-CUBrVRGR.js";import{n as i,t as a}from"./CommentsEnabledProvider-CEeES47b-AmQjnwX5.js";var o=t(),s=e();function c(e){let t=(0,o.c)(8),{documentId:r,documentType:a}=e;if(n().mode!==null){let n;return t[0]===e?n=t[1]:(n=(0,s.jsx)(l,{...e}),t[0]=e,t[1]=n),n}let c;t[2]===e?c=t[3]:(c=(0,s.jsx)(l,{...e}),t[2]=e,t[3]=c);let u;return t[4]!==r||t[5]!==a||t[6]!==c?(u=(0,s.jsx)(i,{documentId:r,documentType:a,children:c}),t[4]=r,t[5]=a,t[6]=c,t[7]=u):u=t[7],u}function l(e){let t=(0,o.c)(6);if(!n().enabled){let n;return t[0]===e?n=t[1]:(n=e.renderDefault(e),t[0]=e,t[1]=n),n}let i;t[2]===e?i=t[3]:(i=e.renderDefault(e),t[2]=e,t[3]=i);let c;return t[4]===i?c=t[5]:(c=(0,s.jsx)(r,{children:(0,s.jsx)(a,{children:i})}),t[4]=i,t[5]=c),c}export{c as CommentsDocumentLayout};
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Md as t,S as n,Xf as r,or as i}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as a,t as o}from"./jsx-runtime-BpzPEenQ.js";import{t as s}from"./compiler-runtime-sKsOXjDo.js";import{o as c}from"./stegaClean-YZRATV86-BdUaXCkw.js";var l=e(a(),1),u=s(),d=o();function f(e,r){let a=(0,u.c)(3),{enabled:o,isLoading:s,error:l}=i(n.studioComments),{enabled:d}=t().document.comments,f=d({documentType:r,documentId:c(e)}),p;bb0:{if(s||!f||l){let e;a[0]===Symbol.for(`react.memo_cache_sentinel`)?(e={enabled:!1,mode:null},a[0]=e):e=a[0],p=e;break bb0}let e=o?`default`:`upsell`,t;a[1]===e?t=a[2]:(t={enabled:!0,mode:e},a[1]=e,a[2]=t),p=t}return p}var p=(0,l.memo)(function(e){let t=(0,u.c)(3),{children:n,groupId:i,documentType:a}=e,o=f(i,a),s;return t[0]!==n||t[1]!==o?(s=(0,d.jsx)(r.Provider,{value:o,children:n}),t[0]=n,t[1]=o,t[2]=s):s=t[2],s});export{p as t};
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Gf as t,Md as n,S as r,Yf as i,or as a}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as o,t as s}from"./jsx-runtime-BpzPEenQ.js";import{t as c}from"./compiler-runtime-sKsOXjDo.js";import{o as l}from"./stegaClean-YZRATV86-BdUaXCkw.js";var u=e(o(),1),d=c(),f=s();function p(e){let n=(0,d.c)(6),{children:r}=e,[i,a]=(0,u.useState)(null),o;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=e=>{a(e)},n[0]=o):o=n[0];let s=o,c;n[1]===i?c=n[2]:(c={authoringPath:i,setAuthoringPath:s},n[1]=i,n[2]=c);let l=c,p;return n[3]!==r||n[4]!==l?(p=(0,f.jsx)(t.Provider,{value:l,children:r}),n[3]=r,n[4]=l,n[5]=p):p=n[5],p}function m(e,t){let i=(0,d.c)(3),{enabled:o,isLoading:s,error:c}=a(r.studioComments),{enabled:u}=n().document.comments,f=u({documentType:t,documentId:l(e)}),p;bb0:{if(s||!f||c){let e;i[0]===Symbol.for(`react.memo_cache_sentinel`)?(e={enabled:!1,mode:null},i[0]=e):e=i[0],p=e;break bb0}let e=o?`default`:`upsell`,t;i[1]===e?t=i[2]:(t={enabled:!0,mode:e},i[1]=e,i[2]=t),p=t}return p}var h=(0,u.memo)(function(e){let t=(0,d.c)(3),{children:n,documentId:r,documentType:a}=e,o=m(r,a),s;return t[0]!==n||t[1]!==o?(s=(0,f.jsx)(i.Provider,{value:o,children:n}),t[0]=n,t[1]=o,t[2]=s):s=t[2],s});export{h as n,p as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{$t as t,Hl as n,Kf as r,Sd as i,To as ee,Vl as a,Zs as te,cd as o,lc as s,ld as c,nc as ne,nf as l,rc as re}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as u,t as d}from"./jsx-runtime-BpzPEenQ.js";import{t as f}from"./compiler-runtime-sKsOXjDo.js";import{Et as p,et as m,n as h}from"./types--2f-avvL-CUBrVRGR.js";import{Gt as g,Ut as _,Y as v,a as y,et as b,it as ie,o as ae,r as x,s as S,yt as oe}from"./dist-LVcARZxB.js";import{t as C}from"./Comment-CPMW8FMx.js";import{i as w,n as T,r as E}from"./helpers-D_aQC6Do-Cc0nAXnJ.js";import{AddCommentIcon as se}from"./AddComment-DzLuhpXr.js";import{l as D,o as O,t as k,u as ce}from"./CommentInput-C1kF5k49-CItaByrf.js";import{n as le,t as A}from"./useCommentsUpsell-dtlhkiSW-BXDjHwtY.js";var j=e(u(),1),ue=f(),M=d();function de(){let e=(0,j.useContext)(r);if(!e)throw Error(`useCommentsAuthoringPath: missing context value`);return e}var N=`srqqgt0`;function P(e){let t=(0,ue.c)(69),{count:n,currentUser:r,fieldTitle:a,mentionOptions:te,onChange:o,onClick:c,onClose:l,onCommentAdd:u,onDiscard:d,onInputKeyDown:f,open:p,readOnly:h,value:g}=e,{t:_}=i(m),v=(0,j.useRef)(null),[ie,S]=(0,j.useState)(null),w=(0,j.useRef)(null),E=n>0,D;t[0]!==ie||t[1]!==l||t[2]!==p?(D=()=>{p&&(l(),ie?.focus())},t[0]=ie,t[1]=l,t[2]=p,t[3]=D):D=t[3];let O=D,ce;t[4]!==O||t[5]!==u?(ce=e=>{u(e),O()},t[4]=O,t[5]=u,t[6]=ce):ce=t[6];let le=ce,A;t[7]===g?A=t[8]:(A=T(g),t[7]=g,t[8]=A);let de=A,P;t[9]!==O||t[10]!==de?(P=()=>{if(!de){O();return}w.current?.discardDialogController.open()},t[9]=O,t[10]=de,t[11]=P):P=t[11];let F=P,I;t[12]===f?I=t[13]:(I=e=>{e.isDefaultPrevented()||f&&f(e)},t[12]=f,t[13]=I);let fe=I,L;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(L=()=>{w.current?.discardDialogController.close()},t[14]=L):L=t[14];let pe=L,R;t[15]!==O||t[16]!==d?(R=()=>{w.current?.discardDialogController.close(),O(),d()},t[15]=O,t[16]=d,t[17]=R):R=t[17];let z=R,B;t[18]===F?B=t[19]:(B=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),F())},t[18]=F,t[19]=B);let me=B,V;if(t[20]===Symbol.for(`react.memo_cache_sentinel`)?(V=()=>[v.current],t[20]=V):V=t[20],b(p&&F,V),!E){let e;t[21]===a?e=t[22]:(e={field:a},t[21]=a,t[22]=e);let n;t[23]!==_||t[24]!==e?(n=(0,M.jsx)(ee,{t:_,i18nKey:`compose.add-comment-input-placeholder`,values:e}),t[23]=_,t[24]=e,t[25]=n):n=t[25];let i=n,s;t[26]!==r||t[27]!==z||t[28]!==fe||t[29]!==le||t[30]!==te||t[31]!==o||t[32]!==i||t[33]!==h||t[34]!==g?(s=(0,M.jsx)(x,{className:N,padding:2,gap:4,flexDirection:`column`,children:(0,M.jsx)(k,{currentUser:r,focusLock:!0,focusOnMount:!0,mentionOptions:te,onChange:o,onDiscardCancel:pe,onDiscardConfirm:z,onKeyDown:fe,onSubmit:le,placeholder:i,readOnly:h,ref:w,value:g})}),t[26]=r,t[27]=z,t[28]=fe,t[29]=le,t[30]=te,t[31]=o,t[32]=i,t[33]=h,t[34]=g,t[35]=s):s=t[35];let l=s,u;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(u=[`bottom-end`],t[36]=u):u=t[36];let d;t[37]===_?d=t[38]:(d=_(`field-button.aria-label-add`),t[37]=_,t[38]=d);let f;t[39]===_?f=t[40]:(f=_(`field-button.title`),t[39]=_,t[40]=f);let m;t[41]===f?m=t[42]:(m={content:f,placement:`top`},t[41]=f,t[42]=m);let y;t[43]!==c||t[44]!==p||t[45]!==h||t[46]!==d||t[47]!==m?(y=(0,M.jsx)(`div`,{children:(0,M.jsx)(re,{"aria-label":d,disabled:h,icon:se,mode:`bleed`,onClick:c,ref:S,selected:p,tooltipProps:m})}),t[43]=c,t[44]=p,t[45]=h,t[46]=d,t[47]=m,t[48]=y):y=t[48];let b;return t[49]!==l||t[50]!==me||t[51]!==p||t[52]!==y?(b=(0,M.jsx)(ne,{constrainSize:!0,content:l,fallbackPlacements:u,open:p,placement:`right-start`,portal:!0,ref:v,onKeyDown:me,children:y}),t[49]=l,t[50]=me,t[51]=p,t[52]=y,t[53]=b):b=t[53],b}let H;t[54]!==n||t[55]!==_?(H=_(`field-button.content`,{count:n}),t[54]=n,t[55]=_,t[56]=H):H=t[56];let U;t[57]===_?U=t[58]:(U=_(`field-button.aria-label-open`),t[57]=_,t[58]=U);let W;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(W=(0,M.jsx)(y,{muted:!0,size:1,icon:C,style:{margin:`-0.375rem`}}),t[59]=W):W=t[59];let G=n>9?`9+`:n,K;t[60]===G?K=t[61]:(K=(0,M.jsxs)(x,{alignItems:`center`,gap:2,children:[W,(0,M.jsx)(ae,{size:0,as:`div`,trim:!0,children:G})]}),t[60]=G,t[61]=K);let q;t[62]!==c||t[63]!==U||t[64]!==K?(q=(0,M.jsx)(oe,{"aria-label":U,mode:`bleed`,onClick:c,padding:2,gap:2,children:K}),t[62]=c,t[63]=U,t[64]=K,t[65]=q):q=t[65];let J;return t[66]!==q||t[67]!==H?(J=(0,M.jsx)(s,{portal:!0,placement:`top`,content:H,children:q}),t[66]=q,t[67]=H,t[68]=J):J=t[68],J}var F=new Map,I=[],fe={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}};function L(e){let t=(0,ue.c)(5),{enabled:n,mode:r}=p();if(!n){let n;return t[0]===e?n=t[1]:(n=e.renderDefault(e),t[0]=e,t[1]=n),n}let i;return t[2]!==r||t[3]!==e?(i=(0,M.jsx)(z,{...e,mode:r}),t[2]=r,t[3]=e,t[4]=i):i=t[4],i}var pe=g(o.div).withConfig({displayName:`HighlightDiv`,componentId:`sc-gt2o49-0`})(({theme:e})=>{let{radius:t,space:n,color:r}=e.sanity,i=v[h][r.dark?900:50].hex;return _`mix-blend-mode:${r.dark?`screen`:`multiply`};border-radius:${t[3]}px;top:-${n[2]}px;left:-${n[2]}Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{$t as t,Gf as n,Hl as r,Sd as i,To as ee,Vl as a,Zs as o,cd as te,lc as s,ld as ne,nc as re,nf as c,rc as ie}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as l,t as u}from"./jsx-runtime-BpzPEenQ.js";import{t as d}from"./compiler-runtime-sKsOXjDo.js";import{Dt as f,J as p,Ot as m,Tt as h,dt as g,g as ae,gt as oe,r as _,tt as v,vt as y}from"./types--2f-avvL-CUBrVRGR.js";import{Gt as b,Ut as x,Y as S,a as C,et as se,it as ce,o as w,r as T,s as E,yt as le}from"./dist-LVcARZxB.js";import{t as ue}from"./Comment-CPMW8FMx.js";import{t as D}from"./useAddonDataset-BvCgByG6-N5vrKMLm.js";import{t as O}from"./useComments-Bi1m7AzT-DcZcKqsq.js";import{AddCommentIcon as k}from"./AddComment-DzLuhpXr.js";import{t as de}from"./useCommentsUpsell-a8ecO894-CNq44jQK.js";var A=e(l(),1),fe=d(),j=u();function pe(){let e=(0,A.useContext)(n);if(!e)throw Error(`useCommentsAuthoringPath: missing context value`);return e}var M=b(T).withConfig({displayName:`ContentStack`,componentId:`sc-kyng0k-0`})`width:320px;`;function me(e){let t=(0,fe.c)(69),{count:n,currentUser:r,fieldTitle:a,isCreatingDataset:o,mentionOptions:te,onChange:ne,onClick:c,onClose:l,onCommentAdd:u,onDiscard:d,onInputKeyDown:f,open:p,value:m}=e,{t:h}=i(v),{error:oe}=D(),_=(0,A.useRef)(null),[y,b]=(0,A.useState)(null),x=(0,A.useRef)(null),S=n>0,ce;t[0]!==y||t[1]!==l||t[2]!==p?(ce=()=>{p&&(l(),y?.focus())},t[0]=y,t[1]=l,t[2]=p,t[3]=ce):ce=t[3];let E=ce,O;t[4]!==E||t[5]!==u?(O=e=>{u(e),E()},t[4]=E,t[5]=u,t[6]=O):O=t[6];let de=O,pe;t[7]===m?pe=t[8]:(pe=g(m),t[7]=m,t[8]=pe);let me=pe,N;t[9]!==E||t[10]!==me?(N=()=>{if(!me){E();return}x.current?.discardDialogController.open()},t[9]=E,t[10]=me,t[11]=N):N=t[11];let P=N,F;t[12]===f?F=t[13]:(F=e=>{e.isDefaultPrevented()||f&&f(e)},t[12]=f,t[13]=F);let I=F,L;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(L=()=>{x.current?.discardDialogController.close()},t[14]=L):L=t[14];let he=L,R;t[15]!==E||t[16]!==d?(R=()=>{x.current?.discardDialogController.close(),E(),d()},t[15]=E,t[16]=d,t[17]=R):R=t[17];let ge=R,z;t[18]===P?z=t[19]:(z=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),P())},t[18]=P,t[19]=z);let B=z,V;if(t[20]===Symbol.for(`react.memo_cache_sentinel`)?(V=()=>[_.current],t[20]=V):V=t[20],se(p&&P,V),!S){let e;t[21]===a?e=t[22]:(e={field:a},t[21]=a,t[22]=e);let n;t[23]!==h||t[24]!==e?(n=(0,j.jsx)(ee,{t:h,i18nKey:`compose.add-comment-input-placeholder`,values:e}),t[23]=h,t[24]=e,t[25]=n):n=t[25];let i=n,s;t[26]!==r||t[27]!==ge||t[28]!==I||t[29]!==de||t[30]!==o||t[31]!==te||t[32]!==ne||t[33]!==i||t[34]!==m?(s=(0,j.jsx)(M,{padding:2,gap:4,flexDirection:`column`,children:(0,j.jsx)(ae,{currentUser:r,focusLock:!0,focusOnMount:!0,mentionOptions:te,onChange:ne,onDiscardCancel:he,onDiscardConfirm:ge,onKeyDown:I,onSubmit:de,placeholder:i,readOnly:o,ref:x,value:m})}),t[26]=r,t[27]=ge,t[28]=I,t[29]=de,t[30]=o,t[31]=te,t[32]=ne,t[33]=i,t[34]=m,t[35]=s):s=t[35];let l=s,u;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(u=[`bottom-end`],t[36]=u):u=t[36];let d;t[37]===h?d=t[38]:(d=h(`field-button.aria-label-add`),t[37]=h,t[38]=d);let f=o||!!oe,g;t[39]===h?g=t[40]:(g=h(`field-button.title`),t[39]=h,t[40]=g);let v;t[41]===g?v=t[42]:(v={content:g,placement:`top`},t[41]=g,t[42]=v);let y;t[43]!==c||t[44]!==p||t[45]!==d||t[46]!==f||t[47]!==v?(y=(0,j.jsx)(`div`,{children:(0,j.jsx)(ie,{"aria-label":d,disabled:f,icon:k,mode:`bleed`,onClick:c,ref:b,selected:p,tooltipProps:v})}),t[43]=c,t[44]=p,t[45]=d,t[46]=f,t[47]=v,t[48]=y):y=t[48];let S;return t[49]!==l||t[50]!==B||t[51]!==p||t[52]!==y?(S=(0,j.jsx)(re,{constrainSize:!0,content:l,fallbackPlacements:u,open:p,placement:`right-start`,portal:!0,ref:_,onKeyDown:B,children:y}),t[49]=l,t[50]=B,t[51]=p,t[52]=y,t[53]=S):S=t[53],S}let H;t[54]!==n||t[55]!==h?(H=h(`field-button.content`,{count:n}),t[54]=n,t[55]=h,t[56]=H):H=t[56];let U;t[57]===h?U=t[58]:(U=h(`field-button.aria-label-open`),t[57]=h,t[58]=U);let W;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(W=(0,j.jsx)(C,{muted:!0,size:1,icon:ue,style:{margin:`-0.375rem`}}),t[59]=W):W=t[59];let G=n>9?`9+`:n,K;t[60]===G?K=t[61]:(K=(0,j.jsxs)(T,{alignItems:`center`,gap:2,children:[W,(0,j.jsx)(w,{size:0,as:`div`,trim:!0,children:G})]}),t[60]=G,t[61]=K);let q;t[62]!==c||t[63]!==U||t[64]!==K?(q=(0,j.jsx)(le,{"aria-label":U,mode:`bleed`,onClick:c,padding:2,gap:2,children:K}),t[62]=c,t[63]=U,t[64]=K,t[65]=q):q=t[65];let J;return t[66]!==q||t[67]!==H?(J=(0,j.jsx)(s,{portal:!0,placement:`top`,content:H,children:q}),t[66]=q,t[67]=H,t[68]=J):J=t[68],J}var N=new Map,P=[],F={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}};function I(e){let t=(0,fe.c)(5),{enabled:n,mode:r}=h();if(!n){let n;return t[0]===e?n=t[1]:(n=e.renderDefault(e),t[0]=e,t[1]=n),n}let i;return t[2]!==r||t[3]!==e?(i=(0,j.jsx)(R,{...e,mode:r}),t[2]=r,t[3]=e,t[4]=i):i=t[4],i}var L=b(te.div).withConfig({displayName:`HighlightDiv`,componentId:`sc-9nisbw-0`})(({theme:e})=>{let{radius:t,space:n,color:r}=e.sanity,i=S[_][r.daLine truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Cf as t,Df as n,Ef as r,Hl as i,Ll as a,Pu as o,Sc as s,Sd as c,Tu as l,Vl as u,Zs as d,cd as f,ju as p,ka as m,ld as h,li as g,nc as _,nf as v,rc as y,vf as b,yc as x}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as S,t as C}from"./jsx-runtime-BpzPEenQ.js";import{t as w}from"./compiler-runtime-sKsOXjDo.js";import{Et as T,et as E,n as D}from"./types--2f-avvL-CUBrVRGR.js";import{Gt as ee,Ut as te,Y as O,at as ne,et as re,p as ie,r as k,s as ae}from"./dist-LVcARZxB.js";import{i as oe,n as A,r as j}from"./helpers-D_aQC6Do-Cc0nAXnJ.js";import{n as M,t as N}from"./buildRangeDecorationSelectionsFromComments-B6nJH-Wx-DCNxDhrr.js";import{AddCommentIcon as P}from"./AddComment-DzLuhpXr.js";import{c as se,l as ce,t as le,u as ue}from"./CommentInput-C1kF5k49-CItaByrf.js";import{n as de,t as fe}from"./useCommentsUpsell-dtlhkiSW-BXDjHwtY.js";var F=e(S(),1),I=w(),L=C(),pe=ee.span.withConfig({displayName:`HighlightSpan`,componentId:`sc-8rkq2u-0`})(({theme:e})=>{let t=e.sanity.v2?.color._dark,n=O[D][t?800:100].hex,r=O[D][t?700:300].hex,i=O[D][t?700:200].hex,a=O[D][t?600:400].hex,o=O[D][t?700:200].hex,s=O[D][t?600:400].hex;return te`box-sizing:border-box;transition:background-color 100ms ease,border-color 100ms ease;*{mix-blend-mode:${t?`screen`:`multiply`};}&[data-inline-comment-state='added'][data-inline-comment-nested='false']{background-color:${n};border-bottom:2px solid ${r};}&[data-inline-comment-state='added'][data-inline-comment-nested='true']{background-color:${o};border-bottom:2px solid ${s};}&[data-inline-comment-state='added'][data-inline-comment-nested='false'][data-hovered='true']{background-color:${i};border-bottom:2px solid ${a};}&[data-inline-comment-state='authoring']{background-color:${n};border-bottom:2px solid ${r};}`});function me(e){let t=(0,I.c)(15),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({ref:s,children:n,isAdded:r,isAuthoring:i,isHovered:a,isNested:o,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=r?`added`:i?`authoring`:void 0,u=a?`true`:`false`,d=o?`true`:`false`,f;return t[8]!==n||t[9]!==s||t[10]!==c||t[11]!==l||t[12]!==u||t[13]!==d?(f=(0,L.jsx)(pe,{...c,"data-hovered":u,"data-inline-comment-nested":d,"data-inline-comment-state":l,ref:s,children:n}),t[8]=n,t[9]=s,t[10]=c,t[11]=l,t[12]=u,t[13]=d,t[14]=f):f=t[14],f}var he=(0,F.memo)(function(e){let t=(0,I.c)(20),{children:n,commentId:r,currentHoveredCommentId:i,onClick:a,onHoverEnd:o,onHoverStart:s,selectedThreadId:c,threadId:l}=e,u=(0,F.useRef)(null),[d,f]=(0,F.useState)(!1),[p,m]=(0,F.useState)(null),h,g;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=()=>{let e=u.current?.previousSibling,t=u.current?.nextSibling;if(!e||!t){f(!1);return}let[n]=Object.keys(se(``)),r=e.getAttribute(n),i=t.getAttribute(n),a=!!(r&&i&&r===i);m(a?r:null),f(a)},g=[],t[0]=h,t[1]=g):(h=t[0],g=t[1]),(0,F.useEffect)(h,g);let _;t[2]!==r||t[3]!==s?(_=()=>s(r),t[2]=r,t[3]=s,t[4]=_):_=t[4];let v=_,y;t[5]===o?y=t[6]:(y=()=>o(null),t[5]=o,t[6]=y);let b=y,x;t[7]!==r||t[8]!==a?(x=()=>a(r),t[7]=r,t[8]=a,t[9]=x):x=t[9];let S=x,C=i===r||i===p&&d||c===l,w;t[10]===l?w=t[11]:(w=se(l),t[10]=l,t[11]=w);let T;return t[12]!==n||t[13]!==S||t[14]!==v||t[15]!==b||t[16]!==d||t[17]!==C||t[18]!==w?(T=(0,L.jsx)(me,{isAdded:!0,isHovered:C,isNested:d,onClick:S,onMouseEnter:v,onMouseLeave:b,ref:u,...w,children:n}),t[12]=n,t[13]=S,t[14]=v,t[15]=b,t[16]=d,t[17]=C,t[18]=w,t[19]=T):T=t[19],T});function ge(e){let{comments:t,currentHoveredCommentId:n,onDecorationClick:r,onDecorationHoverEnd:i,onDecorationHoverStart:a,onDecorationMoved:o,selectedThreadId:s,value:c,documentValue:l,basePath:u}=e;return M({comments:t,value:c,documentValue:l,basePath:u}).map(({selection:e,comment:t,range:c})=>({component:({children:e})=>(0,L.jsx)(he,{commentId:t._id,currentHoveredCommentId:n,onClick:r,onHoverEnd:i,onHoverStart:a,selectedThreadId:s,threadId:t.threadId,children:e}),onMoved:o,selection:e,payload:{commentId:t._id,range:c}}))}function R(e,i){let a=e.path[0],o=e.path[e.path.length-1];if(!t(a)||!t(o))return null;let s=i.find(e=>e._key===a._key);if(!n(s))return null;let c=s.children.findIndex(e=>e._key===o._key);if(c===-1)return null;let l=s.children.slice(0,c).reduce((e,t)=>e+(r(t)?t.text.length:0),0);return{_key:s._key,offset:l+e.offset}}function _e(e,t){let n=e.backward?{anchor:e.focus,focus:e.anchor}:e,r=R(n.anchor,t),i=R(n.focus,t);return!r||!i?null:{start:r,end:i}}function ve(e,t){let n=e.flatMap(e=>{if(e===null)return[];let n=_e(e,t);return n?[n]:[]});if(n.length===0)return null;let r=new Map(t.map((e,t)=>[e._key,t])),i=(e,t)=>(r.get(e._key)??-1)-(r.get(t._key)??-1)||e.offset-t.offset,a=n.map(e=>e.start).sort(i),o=n.map(e=>e.end).sort(i);return{start:a[0],end:o[o.length-1]}}function ye(e){let{comment:t,value:n,documentValue:r,basePath:i}=e,a=M({comments:[t],value:n,documentValue:r,basePath:i}).filter(e=>e.range.text);return{range:ve(a.map(e=>e.selection),n),selection:{type:`text`,valuLine truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Df as t,Pu as n,Sc as r,Sd as i,Vl as a,Zs as o,cd as s,ju as c,ka as l,ld as u,li as d,nc as f,nf as p,rc as m,vf as h}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as g,t as _}from"./jsx-runtime-BpzPEenQ.js";import{t as v}from"./compiler-runtime-sKsOXjDo.js";import{Dt as y,Ot as b,Q as x,Tt as S,X as C,Z as ee,dt as te,g as ne,gt as re,h as ie,m as w,rt as ae,tt as T,vt as oe}from"./types--2f-avvL-CUBrVRGR.js";import{Gt as E,at as se,et as D,p as ce,r as O,s as le}from"./dist-LVcARZxB.js";import{t as ue}from"./useAddonDataset-BvCgByG6-N5vrKMLm.js";import{t as de}from"./useComments-Bi1m7AzT-DcZcKqsq.js";import{AddCommentIcon as k}from"./AddComment-DzLuhpXr.js";import{t as fe}from"./useCommentsUpsell-a8ecO894-CNq44jQK.js";var A=e(g(),1),j=v(),M=_();function pe(e){if(!e||!e.length)return null;let t=e.map(e=>e.getBoundingClientRect()),n=Math.min(...t.map(e=>e.x))||0,r=Math.min(...t.map(e=>e.y))||0,i=Math.max(...t.map(e=>e.right))||0,a=Math.max(...t.map(e=>e.bottom))||0;return{x:n,y:r,width:i-n,height:a-r,top:r,right:i,bottom:a,left:n}}function N(e){let t=(0,j.c)(5),{scrollElement:n,disabled:r,selector:i}=e,[a,o]=(0,A.useState)(null),s,c;return t[0]!==r||t[1]!==n||t[2]!==i?(s=()=>{if(r)return;let e=()=>{let e=document?.querySelectorAll(i);if(!e)return;let t=pe(Array.from(e));o(t)};if(e(),n)return n.addEventListener(`wheel`,e),()=>{n.removeEventListener(`wheel`,e)}},c=[n,r,i],t[0]=r,t[1]=n,t[2]=i,t[3]=s,t[4]=c):(s=t[3],c=t[4]),(0,A.useEffect)(s,c),a}function me(e){let t=(0,j.c)(6),{scrollElement:n,disabled:r,selector:i}=e,a;t[0]!==r||t[1]!==n||t[2]!==i?(a={scrollElement:n,disabled:r,selector:i},t[0]=r,t[1]=n,t[2]=i,t[3]=a):a=t[3];let o=N(a),s;bb0:{if(!o){s=null;break bb0}let e;t[4]===o?e=t[5]:(e={getBoundingClientRect:()=>o},t[4]=o,t[5]=e),s=e}return s}function he(){let e=window.getSelection(),t=null;return e&&e.rangeCount>0&&(t=e.getRangeAt(0)),t?.getBoundingClientRect()||null}var P=E(s.create(f)).withConfig({displayName:`MotionPopover`,componentId:`sc-7suyjs-0`})`user-select:none;`,F=[`bottom`,`top`],I={hidden:{opacity:0,y:-4},visible:{opacity:1,y:0}};function ge(e){let t=(0,j.c)(13),{disabled:n,onClick:r,onClickOutside:a,referenceElement:o}=e,s=(0,A.useRef)(null),{t:c}=i(T),l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>[s.current],t[0]=l):l=t[0],D(a,l);let u;t[1]===c?u=t[2]:(u=c(`inline-add-comment-button.disabled-overlap-title`),t[1]=c,t[2]=u);let d=u,f;t[3]===c?f=t[4]:(f=c(`inline-add-comment-button.title`),t[3]=c,t[4]=f);let p=n?d:f,h=n?w:k,g;t[5]!==n||t[6]!==r||t[7]!==h||t[8]!==p?(g=(0,M.jsx)(m,{"data-testid":`inline-comment-button`,disabled:n,icon:h,mode:`bleed`,onClick:r,ref:s,text:p}),t[5]=n,t[6]=r,t[7]=h,t[8]=p,t[9]=g):g=t[9];let _=g,v;return t[10]!==_||t[11]!==o?(v=(0,M.jsx)(P,{animate:`visible`,content:_,contentEditable:!1,fallbackPlacements:F,initial:`hidden`,open:!0,padding:1,placement:`bottom`,portal:!0,referenceElement:o,variants:I}),t[10]=_,t[11]=o,t[12]=v):v=t[12],v}var L=[`bottom`,`top`],R=E(O).withConfig({displayName:`RootStack`,componentId:`sc-orhtcy-0`})`width:250px;`;function _e(e){let t=(0,j.c)(20),{currentUser:n,mentionOptions:r,onChange:i,onClickOutside:a,onDiscardConfirm:o,onSubmit:s,referenceElement:c,value:l}=e,u=(0,A.useRef)(null),d=(0,A.useRef)(null),p=se().elements?.documentScrollElement||null,m;t[0]===o?m=t[1]:(m=()=>{u.current?.discardDialogController.close(),o()},t[0]=o,t[1]=m);let h=m,g;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>{u.current?.discardDialogController.close()},t[2]=g):g=t[2];let _=g,v;t[3]!==a||t[4]!==l?(v=()=>{if(te(l)){u.current?.discardDialogController.open();return}a()},t[3]=a,t[4]=l,t[5]=v):v=t[5];let y;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(y=()=>[d.current],t[6]=y):y=t[6],D(v,y);let b;t[7]!==n||t[8]!==h||t[9]!==r||t[10]!==i||t[11]!==s||t[12]!==l?(b=(0,M.jsx)(R,{padding:2,ref:d,flexDirection:`column`,children:(0,M.jsx)(ne,{currentUser:n,focusLock:!0,focusOnMount:!0,mentionOptions:r,onChange:i,onDiscardCancel:_,onDiscardConfirm:h,onSubmit:s,ref:u,value:l})}),t[7]=n,t[8]=h,t[9]=r,t[10]=i,t[11]=s,t[12]=l,t[13]=b):b=t[13];let x;t[14]!==p||t[15]!==b?(x=(0,M.jsx)(ce,{element:p,children:b}),t[14]=p,t[15]=b,t[16]=x):x=t[16];let S=x,C;return t[17]!==S||t[18]!==c?(C=(0,M.jsx)(f,{content:S,"data-ui":`InlineCommentInputPopover`,fallbackPlacements:L,open:!0,placement:`bottom`,portal:!0,referenceElement:c}),t[17]=S,t[18]=c,t[19]=C):C=t[19],C}var z=[];function ve(e){let t=(0,j.c)(5),{enabled:n,mode:i}=S(),a=r(),o=e.schemaType.name===`sanity.assist.instruction.prompt`,s=!!a.__internal_comments;if(!n||o||!s){let n;return t[0]===e?n=t[1]:(n=e.renderDefault(e),t[0]=e,t[1]=n),n}let c;return t[2]!==i||t[3]!==e?(c=(0,M.jsx)(ye,{...e,mode:i}),t[2]=i,t[3]=e,t[4]=c):c=t[4],c}var ye=(0,A.memo)(function(e){let n=(0,j.c)(107),{mode:r,onItemClose:i,onItemOpen:s}=e,f=o(),m=se(),{comments:h,getComment:g,mentionOptions:_,onCommentsOpen:v,operation:S,setStatus:te,status:ne}=de(),{error:re}Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Fl as t,Qf as n,Sd as r,Zs as i,dc as a,nc as o,oc as s,rc as c,sc as l,sd as u}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as d,t as f}from"./jsx-runtime-BpzPEenQ.js";import{t as p}from"./compiler-runtime-sKsOXjDo.js";import{Dt as m,H as h,Ot as ee,Tt as g,gt as _,kt as v,tt as te}from"./types--2f-avvL-CUBrVRGR.js";import{Et as y,Gt as b,Pt as ne,R as x,Vt as S,et as re,n as C,o as w,r as ie,s as T,t as E}from"./dist-LVcARZxB.js";import{t as D}from"./Close-B_ZEgT1V.js";import{t as O}from"./ChevronDown-BpYUc-AP.js";import{t as k}from"./Checkmark-OT7tsNpL.js";import{t as A}from"./CommentsListItem-B4CoDHda-DaXAEbir.js";import{t as j}from"./CommentsList-CmhU6-yt-B2twFKeQ.js";import{t as ae}from"./useAddonDataset-BvCgByG6-N5vrKMLm.js";import{t as M}from"./useComments-Bi1m7AzT-DcZcKqsq.js";import{t as N}from"./useCommentsUpsell-a8ecO894-CNq44jQK.js";var P=e(d(),1),F=p(),I=f(),L=b(E).withConfig({displayName:`Root`,componentId:`sc-eolnz3-0`})`max-width:280px;`,R=S`from{opacity:0;}to{opacity:1;}`,z=b(o).withConfig({displayName:`StyledPopover`,componentId:`sc-eolnz3-1`})`opacity:0;animation:${R} 200ms 500ms forwards;`;function B(e){let t=(0,F.c)(23),n,i;t[0]===e?(n=t[1],i=t[2]):({onDismiss:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let{t:a}=r(te),o;t[3]===a?o=t[4]:(o=a(`onboarding.header`),t[3]=a,t[4]=o);let s;t[5]===o?s=t[6]:(s=(0,I.jsx)(w,{weight:`medium`,size:1,as:`div`,trim:!0,children:o}),t[5]=o,t[6]=s);let l;t[7]===a?l=t[8]:(l=a(`onboarding.body`),t[7]=a,t[8]=l);let u;t[9]===l?u=t[10]:(u=(0,I.jsx)(w,{size:1,as:`div`,trim:!0,children:l}),t[9]=l,t[10]=u);let d;t[11]===a?d=t[12]:(d=a(`onboarding.dismiss`),t[11]=a,t[12]=d);let f;t[13]!==n||t[14]!==d?(f=(0,I.jsx)(ie,{justifyContent:`flex-end`,marginTop:2,children:(0,I.jsx)(c,{text:d,tone:`primary`,onClick:n})}),t[13]=n,t[14]=d,t[15]=f):f=t[15];let p;t[16]!==s||t[17]!==u||t[18]!==f?(p=(0,I.jsx)(L,{padding:4,children:(0,I.jsxs)(T,{gap:3,children:[s,u,f]})}),t[16]=s,t[17]=u,t[18]=f,t[19]=p):p=t[19];let m;return t[20]!==i||t[21]!==p?(m=(0,I.jsx)(z,{content:p,open:!0,portal:!0,...i}),t[20]=i,t[21]=p,t[22]=m):m=t[22],m}function oe(e){let t=(0,F.c)(4),{data:n,onPrimaryClick:r,onSecondaryClick:i}=e,a;return t[0]!==n||t[1]!==r||t[2]!==i?(a=(0,I.jsx)(C,{size:1,children:(0,I.jsx)(E,{marginBottom:6,children:(0,I.jsx)(h,{data:n,onPrimaryClick:r,onSecondaryClick:i})})}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):a=t[3],a}function se(){let e=(0,P.useContext)(n);if(!e)throw Error(`useCommentsOnboarding: missing context value`);return e}function ce(e){let t=(0,F.c)(9),{error:n}=e,{t:i}=r(te),a;t[0]===i?a=t[1]:(a=i(`inspector-error.title`),t[0]=i,t[1]=a);let o;t[2]===a?o=t[3]:(o=(0,I.jsx)(w,{size:1,weight:`medium`,as:`div`,trim:!0,children:a}),t[2]=a,t[3]=o);let s;t[4]===n.message?s=t[5]:(s=(0,I.jsx)(w,{size:1,muted:!0,as:`div`,trim:!0,children:n.message}),t[4]=n.message,t[5]=s);let c;return t[6]!==o||t[7]!==s?(c=(0,I.jsx)(E,{padding:2,children:(0,I.jsx)(y,{paddingX:2,paddingY:3,tone:`critical`,border:!0,radius:3,children:(0,I.jsxs)(T,{gap:3,children:[o,s]})})}),t[6]=o,t[7]=s,t[8]=c):c=t[8],c}var le=b(y).withConfig({displayName:`Root`,componentId:`sc-efi4zg-0`})({position:`relative`,zIndex:`1`,lineHeight:`0`});function ue(e){let t=(0,F.c)(57),{t:n}=r(te),{ref:i,onClose:o,onViewChange:u,view:d,mode:f}=e,p;t[0]===u?p=t[1]:(p=()=>u(`open`),t[0]=u,t[1]=p);let m=p,h;t[2]===u?h=t[3]:(h=()=>u(`resolved`),t[2]=u,t[3]=h);let ee=h,g;t[4]===n?g=t[5]:(g=n(`feature-name`),t[4]=n,t[5]=g);let _;t[6]===g?_=t[7]:(_=(0,I.jsx)(ie,{alignItems:`center`,flexBasis:`0%`,flexGrow:1,gap:2,paddingY:2,padding:3,children:(0,I.jsx)(w,{as:`h1`,size:1,weight:`medium`,trim:!0,children:g})}),t[6]=g,t[7]=_);let v;t[8]!==n||t[9]!==d?(v=n(d===`open`?`status-filter.status-open`:`status-filter.status-resolved`),t[8]=n,t[9]=d,t[10]=v):v=t[10];let y;t[11]===v?y=t[12]:(y=(0,I.jsx)(c,{text:v,mode:`bleed`,iconRight:O}),t[11]=v,t[12]=y);let b;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(b={width:`180px`},t[13]=b):b=t[13];let ne=d===`open`?k:void 0,x;t[14]===n?x=t[15]:(x=n(`status-filter.status-open-full`),t[14]=n,t[15]=x);let S;t[16]!==m||t[17]!==ne||t[18]!==x?(S=(0,I.jsx)(l,{iconRight:ne,onClick:m,text:x}),t[16]=m,t[17]=ne,t[18]=x,t[19]=S):S=t[19];let re=d===`resolved`?k:void 0,C;t[20]===n?C=t[21]:(C=n(`status-filter.status-resolved-full`),t[20]=n,t[21]=C);let T;t[22]!==f||t[23]!==n?(T=f===`upsell`?{content:n(`status-filter.status-resolved-full-upsell`)}:void 0,t[22]=f,t[23]=n,t[24]=T):T=t[24];let E=f===`upsell`,A;t[25]!==ee||t[26]!==re||t[27]!==C||t[28]!==T||t[29]!==E?(A=(0,I.jsx)(l,{iconRight:re,onClick:ee,text:C,tooltipProps:T,disabled:E}),t[25]=ee,t[26]=re,t[27]=C,t[28]=T,t[29]=E,t[30]=A):A=t[30];let j;t[31]!==A||t[32]!==S?(j=(0,I.jsxs)(a,{style:b,children:[S,A]}),t[31]=A,t[32]=S,t[33]=j):j=t[33];let ae;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(ae={placement:`bottom-end`},t[34]=ae):ae=t[34];let M;t[35]!==j||t[36]!==y?(M=(0,I.jsx)(s,{id:`comment-status-menu-button`Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{$f as t,Fl as n,Rd as r,Sd as i,To as a,Ys as o,Zs as s,ad as c,dc as l,lc as u,nc as d,nf as f,oc as p,rc as m,sc as h,sd as g}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as _,t as v}from"./jsx-runtime-BpzPEenQ.js";import{t as y}from"./compiler-runtime-sKsOXjDo.js";import{Et as b,H as x,et as S}from"./types--2f-avvL-CUBrVRGR.js";import{Et as C,Gt as w,Pt as T,R as E,Ut as D,Vt as O,a as k,et as A,n as j,o as M,p as N,r as P,s as F,t as I,yt as L}from"./dist-LVcARZxB.js";import{t as ee}from"./Close-B_ZEgT1V.js";import{t as te}from"./ChevronDown-BpYUc-AP.js";import{t as ne}from"./Checkmark-OT7tsNpL.js";import{t as R}from"./ChevronRight-Cf6GkXSa.js";import{n as z,r as B}from"./helpers-D_aQC6Do-Cc0nAXnJ.js";import{l as V,s as H,t as U,u as re}from"./CommentInput-C1kF5k49-CItaByrf.js";import{n as ie,t as ae}from"./useCommentsUpsell-dtlhkiSW-BXDjHwtY.js";import{n as oe,r as se,t as ce}from"./CommentsListItem-Dyi91Dx1-D2kIh320.js";var W=e(_(),1),G=y(),K=v();function q(e){return{open:{title:e(`list-status.empty-state-open-title`),message:e(`list-status.empty-state-open-text`)},resolved:{title:e(`list-status.empty-state-resolved-title`),message:e(`list-status.empty-state-resolved-text`)}}}function le(e){let t=(0,G.c)(17),{status:n,error:r,loading:a,hasNoComments:s}=e,{t:c}=i(S),l;t[0]===c?l=t[1]:(l=q(c),t[0]=c,t[1]=l);let u=l;if(r){let e;t[2]===c?e=t[3]:(e=c(`list-status.error`),t[2]=c,t[3]=e);let n;return t[4]===e?n=t[5]:(n=(0,K.jsx)(P,{alignItems:`center`,justifyContent:`center`,flexBasis:`0%`,flexGrow:1,padding:4,children:(0,K.jsx)(P,{alignItems:`center`,children:(0,K.jsx)(M,{size:1,muted:!0,as:`div`,trim:!0,children:e})})}),t[4]=e,t[5]=n),n}if(a){let e;t[6]===c?e=t[7]:(e=c(`list-status.loading`),t[6]=c,t[7]=e);let n;return t[8]===e?n=t[9]:(n=(0,K.jsx)(o,{showText:!0,title:e}),t[8]=e,t[9]=n),n}if(s){let e=u[n],r;t[10]===e.title?r=t[11]:(r=(0,K.jsx)(M,{align:`center`,size:1,muted:!0,weight:`medium`,as:`div`,trim:!0,children:e.title}),t[10]=e.title,t[11]=r);let i=u[n],a;t[12]===i.message?a=t[13]:(a=(0,K.jsx)(M,{align:`center`,size:1,muted:!0,as:`div`,trim:!0,children:i.message}),t[12]=i.message,t[13]=a);let o;return t[14]!==r||t[15]!==a?(o=(0,K.jsx)(P,{alignItems:`center`,justifyContent:`center`,flexBasis:`0%`,flexGrow:1,children:(0,K.jsx)(j,{size:0,padding:4,children:(0,K.jsxs)(F,{gap:3,children:[r,a]})})}),t[14]=r,t[15]=a,t[16]=o):o=t[16],o}return null}var J=(0,K.jsx)(k,{muted:!0,icon:R,style:{margin:`-0.4375rem`}}),Y=(e,t)=>(0,K.jsx)(I,{as:`li`,children:(0,K.jsx)(M,{truncate:1,size:1,weight:`medium`,as:`div`,trim:!0,children:e})},`${e}-${t}`);function X(e){let t=(0,G.c)(11),{titlePath:n,maxLength:r}=e,i;bb0:{let e=n.length,a=Math.ceil(r/2),o=Math.floor(r/2);if(r&&e>r){let r;t[0]!==o||t[1]!==a||t[2]!==e||t[3]!==n?(r=[...n.slice(0,a-1),n.slice(a-1,e-o),...n.slice(e-o)],t[0]=o,t[1]=a,t[2]=e,t[3]=n,t[4]=r):r=t[4],i=r;break bb0}i=n}let a=i,o;if(t[5]!==a){let e;t[7]===a.length?e=t[8]:(e=(e,t)=>{let n=`${e}-${t}`,r=t<a.length-1;return Array.isArray(e)?(0,K.jsxs)(W.Fragment,{children:[(0,K.jsx)(u,{content:(0,K.jsx)(P,{gap:2,padding:2,flexDirection:`column`,children:e.map(Y)}),children:(0,K.jsx)(I,{children:Y(`...`,t)})}),r&&J]},n):(0,K.jsxs)(W.Fragment,{children:[Y(e,t),r&&J]},n)},t[7]=a.length,t[8]=e),o=a.map(e),t[5]=a,t[6]=o}else o=t[6];let s=o,c;return t[9]===s?c=t[10]:(c=(0,K.jsx)(P,{alignItems:`center`,as:`ol`,gap:2,children:s}),t[9]=s,t[10]=c),c}var Z=[];function ue(e){let t=(0,G.c)(25),{currentUser:n,fieldTitle:r,mentionOptions:o,mode:s,onBlur:c,onFocus:l,onKeyDown:u,onNewThreadCreate:d,readOnly:f}=e,{t:p}=i(S),[m,h]=(0,W.useState)(Z),g=(0,W.useRef)(null),_;t[0]===d?_=t[1]:(_=e=>{d?.(e),h(Z)},t[0]=d,t[1]=_);let v=_,y;t[2]===m?y=t[3]:(y=z(m),t[2]=m,t[3]=y);let b=y,x;t[4]===b?x=t[5]:(x=()=>{b&&g.current?.discardDialogController.open()},t[4]=b,t[5]=x);let C=x,w;t[6]!==u||t[7]!==C?(w=e=>{e.isDefaultPrevented()||(e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),C()),u&&u(e))},t[6]=u,t[7]=C,t[8]=w):w=t[8];let T=w,E;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{h(Z),g.current?.discardDialogController.close(),g.current?.focus()},t[9]=E):E=t[9];let D=E,O;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>{g.current?.discardDialogController.close()},t[10]=O):O=t[10];let k=O,A;t[11]!==r||t[12]!==s||t[13]!==p?(A=s===`upsell`?p(`compose.add-comment-input-placeholder-upsell`):(0,K.jsx)(a,{t:p,i18nKey:`compose.add-comment-input-placeholder`,values:{field:r}}),t[11]=r,t[12]=s,t[13]=p,t[14]=A):A=t[14];let j=A,M=f||s===`upsell`,N;return t[15]!==n||t[16]!==T||t[17]!==v||t[18]!==o||t[19]!==c||t[20]!==l||t[21]!==j||t[22]!==M||t[23]!==m?(N=(0,K.jsx)(U,{currentUser:n,expandOnFocus:!0,mentionOptions:o,onBlur:c,onChange:h,onDiscardCancel:k,onDiscardConfirm:D,onKeyDown:T,onFocus:l,onSubmit:v,placeholder:j,readOnly:M,ref:g,value:m}),t[15]=n,t[16]=T,t[17]=v,t[18]=o,t[19]=c,t[20]=l,t[21]=j,t[22]=M,t[23]=m,t[24]=N):N=t[24],N}var de=w(P).withConfig(Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Sd as t,To as n,Ys as r,lc as i,nf as a}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as o,t as s}from"./jsx-runtime-BpzPEenQ.js";import{t as c}from"./compiler-runtime-sKsOXjDo.js";import{Y as l,dt as u,g as d,tt as f}from"./types--2f-avvL-CUBrVRGR.js";import{Gt as p,Ut as m,a as h,n as g,o as _,p as v,r as y,s as b,t as x,yt as S}from"./dist-LVcARZxB.js";import{t as C}from"./ChevronRight-Cf6GkXSa.js";import{n as w,r as T}from"./CommentsListItem-B4CoDHda-DaXAEbir.js";var E=e(o(),1),D=c(),O=s();function k(e){return{open:{title:e(`list-status.empty-state-open-title`),message:e(`list-status.empty-state-open-text`)},resolved:{title:e(`list-status.empty-state-resolved-title`),message:e(`list-status.empty-state-resolved-text`)}}}function A(e){let n=(0,D.c)(17),{status:i,error:a,loading:o,hasNoComments:s}=e,{t:c}=t(f),l;n[0]===c?l=n[1]:(l=k(c),n[0]=c,n[1]=l);let u=l;if(a){let e;n[2]===c?e=n[3]:(e=c(`list-status.error`),n[2]=c,n[3]=e);let t;return n[4]===e?t=n[5]:(t=(0,O.jsx)(y,{alignItems:`center`,justifyContent:`center`,flexBasis:`0%`,flexGrow:1,padding:4,children:(0,O.jsx)(y,{alignItems:`center`,children:(0,O.jsx)(_,{size:1,muted:!0,as:`div`,trim:!0,children:e})})}),n[4]=e,n[5]=t),t}if(o){let e;n[6]===c?e=n[7]:(e=c(`list-status.loading`),n[6]=c,n[7]=e);let t;return n[8]===e?t=n[9]:(t=(0,O.jsx)(r,{showText:!0,title:e}),n[8]=e,n[9]=t),t}if(s){let e=u[i],t;n[10]===e.title?t=n[11]:(t=(0,O.jsx)(_,{align:`center`,size:1,muted:!0,weight:`medium`,as:`div`,trim:!0,children:e.title}),n[10]=e.title,n[11]=t);let r=u[i],a;n[12]===r.message?a=n[13]:(a=(0,O.jsx)(_,{align:`center`,size:1,muted:!0,as:`div`,trim:!0,children:r.message}),n[12]=r.message,n[13]=a);let o;return n[14]!==t||n[15]!==a?(o=(0,O.jsx)(y,{alignItems:`center`,justifyContent:`center`,flexBasis:`0%`,flexGrow:1,children:(0,O.jsx)(g,{size:0,padding:4,children:(0,O.jsxs)(b,{gap:3,children:[t,a]})})}),n[14]=t,n[15]=a,n[16]=o):o=n[16],o}return null}var j=(0,O.jsx)(h,{muted:!0,icon:C,style:{margin:`-0.4375rem`}}),M=(e,t)=>(0,O.jsx)(x,{as:`li`,children:(0,O.jsx)(_,{truncate:1,size:1,weight:`medium`,as:`div`,trim:!0,children:e})},`${e}-${t}`);function N(e){let t=(0,D.c)(11),{titlePath:n,maxLength:r}=e,a;bb0:{let e=n.length,i=Math.ceil(r/2),o=Math.floor(r/2);if(r&&e>r){let r;t[0]!==o||t[1]!==i||t[2]!==e||t[3]!==n?(r=[...n.slice(0,i-1),n.slice(i-1,e-o),...n.slice(e-o)],t[0]=o,t[1]=i,t[2]=e,t[3]=n,t[4]=r):r=t[4],a=r;break bb0}a=n}let o=a,s;if(t[5]!==o){let e;t[7]===o.length?e=t[8]:(e=(e,t)=>{let n=`${e}-${t}`,r=t<o.length-1;return Array.isArray(e)?(0,O.jsxs)(E.Fragment,{children:[(0,O.jsx)(i,{content:(0,O.jsx)(y,{gap:2,padding:2,flexDirection:`column`,children:e.map(M)}),children:(0,O.jsx)(x,{children:M(`...`,t)})}),r&&j]},n):(0,O.jsxs)(E.Fragment,{children:[M(e,t),r&&j]},n)},t[7]=o.length,t[8]=e),s=o.map(e),t[5]=o,t[6]=s}else s=t[6];let c=s,l;return t[9]===c?l=t[10]:(l=(0,O.jsx)(y,{alignItems:`center`,as:`ol`,gap:2,children:c}),t[9]=c,t[10]=l),l}var P=[];function F(e){let r=(0,D.c)(25),{currentUser:i,fieldTitle:a,mentionOptions:o,mode:s,onBlur:c,onFocus:l,onKeyDown:p,onNewThreadCreate:m,readOnly:h}=e,{t:g}=t(f),[_,v]=(0,E.useState)(P),y=(0,E.useRef)(null),b;r[0]===m?b=r[1]:(b=e=>{m?.(e),v(P)},r[0]=m,r[1]=b);let x=b,S;r[2]===_?S=r[3]:(S=u(_),r[2]=_,r[3]=S);let C=S,w;r[4]===C?w=r[5]:(w=()=>{C&&y.current?.discardDialogController.open()},r[4]=C,r[5]=w);let T=w,k;r[6]!==p||r[7]!==T?(k=e=>{e.isDefaultPrevented()||(e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),T()),p&&p(e))},r[6]=p,r[7]=T,r[8]=k):k=r[8];let A=k,j;r[9]===Symbol.for(`react.memo_cache_sentinel`)?(j=()=>{v(P),y.current?.discardDialogController.close(),y.current?.focus()},r[9]=j):j=r[9];let M=j,N;r[10]===Symbol.for(`react.memo_cache_sentinel`)?(N=()=>{y.current?.discardDialogController.close()},r[10]=N):N=r[10];let F=N,I;r[11]!==a||r[12]!==s||r[13]!==g?(I=s===`upsell`?g(`compose.add-comment-input-placeholder-upsell`):(0,O.jsx)(n,{t:g,i18nKey:`compose.add-comment-input-placeholder`,values:{field:a}}),r[11]=a,r[12]=s,r[13]=g,r[14]=I):I=r[14];let L=I,R=h||s===`upsell`,z;return r[15]!==i||r[16]!==A||r[17]!==x||r[18]!==o||r[19]!==c||r[20]!==l||r[21]!==L||r[22]!==R||r[23]!==_?(z=(0,O.jsx)(d,{currentUser:i,expandOnFocus:!0,mentionOptions:o,onBlur:c,onChange:v,onDiscardCancel:F,onDiscardConfirm:M,onKeyDown:A,onFocus:l,onSubmit:x,placeholder:L,readOnly:R,ref:y,value:_}),r[15]=i,r[16]=A,r[17]=x,r[18]=o,r[19]=c,r[20]=l,r[21]=L,r[22]=R,r[23]=_,r[24]=z):z=r[24],z}var I=p(y).withConfig({displayName:`HeaderFlex`,componentId:`sc-u3p3r5-0`})`min-height:25px;`,L=p(S).withConfig({displayName:`BreadcrumbsButton`,componentId:`sc-u3p3r5-1`})(({theme:e})=>{let t=e.sanity.color.base.fg;return m`--card-fg-color:${t};max-width:100%;`});function R(e){let n=(0,D.c)(36),{breadcrumbs:r,canCreateNewThread:i,children:o,currentUser:s,fieldPath:c,isSelected:l,mentionOptions:u,mode:d,onNewThreadCreate:p,onPathSelect:m,readOnly:h}=e,{t:g}=t(f),_;n[0]!==c||n[1]!==p?(_=e=>Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Ar as t,Df as n,Do as r,Kr as i,Qs as a,Sd as o,To as s,Tu as c,da as l,dc as u,ec as d,fa as f,la as p,lc as m,nc as h,oc as g,pc as _,rc as v,rr as y,sc as b,uc as x,wo as S}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as C,t as w}from"./jsx-runtime-BpzPEenQ.js";import{t as T}from"./compiler-runtime-sKsOXjDo.js";import{$ as E,M as D,_ as O,c as k,dt as A,g as ee,gt as te,k as j,o as M,q as ne,r as re,tt as ie,wt as ae}from"./types--2f-avvL-CUBrVRGR.js";import{Et as N,Gt as P,Pt as oe,Qt as F,Ut as I,Y as L,a as se,et as ce,i as R,j as le,o as z,r as B,s as ue,t as V,yt as H}from"./dist-LVcARZxB.js";import{t as de}from"./ChevronDown-BpYUc-AP.js";import{t as fe}from"./Trash-BxG6GrjH.js";import{t as pe}from"./Edit-CAHlBqGT.js";import{t as me}from"./Link-Cl1VSeDJ.js";import{t as he}from"./CheckmarkCircle-B6SBY4QE.js";import{t as ge}from"./Undo-qtvfkxbn.js";import{t as _e}from"./LinkRemoved-LZtddC2J.js";var U=e(C(),1),W=T(),G=w();function ve(e){return{thread:{title:e(`delete-thread.title`),body:e(`delete-thread.body`),confirmButtonText:e(`delete-thread.confirm`)},comment:{title:e(`delete-comment.title`),body:e(`delete-comment.body`),confirmButtonText:e(`delete-comment.confirm`)}}}function ye(e){let t=(0,W.c)(27),{isParent:n,onClose:r,commentId:i,onConfirm:a,loading:s,error:c}=e,{t:l}=o(ie),u;t[0]===l?u=t[1]:(u=ve(l),t[0]=l,t[1]=u);let{title:f,body:p,confirmButtonText:m}=u[n?`thread`:`comment`],h;t[2]!==i||t[3]!==a?(h=()=>{a(i)},t[2]=i,t[3]=a,t[4]=h):h=t[4];let g=h,_;t[5]===r?_=t[6]:(_={onClick:r},t[5]=r,t[6]=_);let v;t[7]!==m||t[8]!==g||t[9]!==s?(v={loading:s,onClick:g,text:m,tone:`critical`},t[7]=m,t[8]=g,t[9]=s,t[10]=v):v=t[10];let y;t[11]!==_||t[12]!==v?(y={cancelButton:_,confirmButton:v},t[11]=_,t[12]=v,t[13]=y):y=t[13];let b;t[14]===p?b=t[15]:(b=(0,G.jsx)(z,{size:1,as:`div`,trim:!0,children:p}),t[14]=p,t[15]=b);let x;t[16]!==c||t[17]!==l?(x=c&&(0,G.jsx)(S,{tone:`critical`,children:l(`delete-dialog.error`)}),t[16]=c,t[17]=l,t[18]=x):x=t[18];let C;t[19]!==b||t[20]!==x?(C=(0,G.jsxs)(ue,{gap:4,children:[b,x]}),t[19]=b,t[20]=x,t[21]=C):C=t[21];let w;return t[22]!==r||t[23]!==y||t[24]!==C||t[25]!==f?(w=(0,G.jsx)(d,{footer:y,header:f,id:`delete-comment-dialog`,onClose:r,width:0,children:C}),t[22]=r,t[23]=y,t[24]=C,t[25]=f,t[26]=w):w=t[26],w}var be=P.div.withConfig({displayName:`SpacerAvatar`,componentId:`sc-negkme-0`})(e=>{let t=F(e.theme),{$size:n=1}=e;return I`min-width:${t.avatar.sizes[n]?.size}px;`}),xe=/\b(https?:\/\/[^\s,()]+(?:\.[^\s,()]+)*|www\.[^\s,()]+\.[^\s,()]{2,})\b/g;function Se(e){e.stopPropagation()}function Ce(e){let t=e.startsWith(`http`)?e:`https://${e}`;return(0,G.jsx)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,onClick:Se,children:e},e)}var we=[e=>typeof e==`string`?e.split(xe).flatMap(e=>e.match(xe)?Ce(e):e):e];function Te(e){return Array.isArray(e)?e.flatMap(e=>{let t=[e];for(let e of we)t=t.flatMap(e);return t}):e}var Ee=P(ue).withConfig({displayName:`PortableTextWrap`,componentId:`sc-f594nj-0`})(()=>I`& > [data-ui='Text']:not(:first-child){margin-top:1em;}& > [data-ui='Text']:empty{display:none;}`),De=[];function K(e){let t=(0,W.c)(4),n;t[0]===e.children?n=t[1]:(n=Te(e.children),t[0]=e.children,t[1]=n);let r=n,i;return t[2]===r?i=t[3]:(i=(0,G.jsx)(D,{children:r}),t[2]=r,t[3]=i),i}var Oe={block:{normal:K,h1:K,h2:K,h3:K,h4:K,h5:K,h6:K,blockquote:K,code:K},list:{bullet:U.Fragment,number:U.Fragment,checkmarks:U.Fragment},listItem:{bullet:K,number:K,checkmarks:K},marks:{strong:U.Fragment,em:U.Fragment,code:U.Fragment,underline:U.Fragment,strikeThrough:U.Fragment,link:U.Fragment},types:{mention:e=>(0,G.jsx)(j,{userId:e?.value?.userId,selected:!1})}};function ke(e){let t=(0,W.c)(2),{blocks:n}=e,r=n||De,a;return t[0]===r?a=t[1]:(a=(0,G.jsx)(Ee,{children:(0,G.jsx)(i,{value:r,components:Oe})}),t[0]=r,t[1]=a),a}function q(e){let t=(0,W.c)(11),n,r;t[0]===e?(n=t[1],r=t[2]):({ref:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(`path`,{d:`M10.1044 10.4011L10.1044 10.9972`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`square`}),a=(0,G.jsx)(`path`,{d:`M14.2393 10.4011L14.2393 10.9972`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`square`}),o=(0,G.jsx)(`path`,{d:`M7.12128 14.1151C7.70803 15.0226 9.66113 16.8377 11.7735 16.8377C13.8859 16.8377 15.6713 15.0226 16.4257 14.1151`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`square`}),s=(0,G.jsx)(`path`,{d:`M16.703 6.43905C15.3486 5.36511 13.6357 4.72374 11.773 4.72374C7.38731 4.72374 3.83203 8.27902 3.83203 12.6647C3.83203 17.0503 7.38731 20.6056 11.773 20.6056C16.0995 20.6056 19.618 17.1455 19.712 12.8415`,stroke:`currentColor`,strokeWidth:1.2}),c=(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M19.1135 9.03425L19.1135 11.4903L20.3135 11.4903L20.3135 9.03425L22.7693 9.03425L22.7693 7.83425L20.3135 7.83425L20.3135 5.37941L19.1135 5.37941L19.1135 7.83425L16.6584 7.83425L16.6584 9.03425L19.11 Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Ar as t,Df as n,Do as r,Js as i,Kr as a,Qs as o,Sd as s,To as c,Tu as l,da as u,dc as d,ec as f,fa as p,la as m,lc as h,nc as g,oc as _,pc as v,qs as y,rc as b,rr as x,sc as S,uc as C,wo as w}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as T,t as E}from"./jsx-runtime-BpzPEenQ.js";import{t as D}from"./compiler-runtime-sKsOXjDo.js";import{a as O,et as ee,n as k,s as A}from"./types--2f-avvL-CUBrVRGR.js";import{Et as j,Gt as M,Pt as N,Qt as P,St as te,Ut as F,Y as I,a as ne,c as L,et as re,i as ie,j as ae,o as R,r as z,s as B,t as oe,yt as se}from"./dist-LVcARZxB.js";import{l as V,u as ce}from"./stegaClean-YZRATV86-BdUaXCkw.js";import{t as le}from"./ChevronDown-BpYUc-AP.js";import{t as ue}from"./Trash-BxG6GrjH.js";import{t as de}from"./Edit-CAHlBqGT.js";import{t as fe}from"./Link-Cl1VSeDJ.js";import{t as pe}from"./CheckmarkCircle-B6SBY4QE.js";import{t as H}from"./Undo-qtvfkxbn.js";import{t as me}from"./LinkRemoved-LZtddC2J.js";import{a as he,n as ge,t as _e}from"./helpers-D_aQC6Do-Cc0nAXnJ.js";import{a as ve,i as ye,l as be,n as xe,r as Se,t as Ce}from"./CommentInput-C1kF5k49-CItaByrf.js";var U=e(T(),1),W=D(),G=E();function we(e){return{thread:{title:e(`delete-thread.title`),body:e(`delete-thread.body`),confirmButtonText:e(`delete-thread.confirm`)},comment:{title:e(`delete-comment.title`),body:e(`delete-comment.body`),confirmButtonText:e(`delete-comment.confirm`)}}}function Te(e){let t=(0,W.c)(27),{isParent:n,onClose:r,commentId:i,onConfirm:a,loading:o,error:c}=e,{t:l}=s(ee),u;t[0]===l?u=t[1]:(u=we(l),t[0]=l,t[1]=u);let{title:d,body:p,confirmButtonText:m}=u[n?`thread`:`comment`],h;t[2]!==i||t[3]!==a?(h=()=>{a(i)},t[2]=i,t[3]=a,t[4]=h):h=t[4];let g=h,_;t[5]===r?_=t[6]:(_={onClick:r},t[5]=r,t[6]=_);let v;t[7]!==m||t[8]!==g||t[9]!==o?(v={loading:o,onClick:g,text:m,tone:`critical`},t[7]=m,t[8]=g,t[9]=o,t[10]=v):v=t[10];let y;t[11]!==_||t[12]!==v?(y={cancelButton:_,confirmButton:v},t[11]=_,t[12]=v,t[13]=y):y=t[13];let b;t[14]===p?b=t[15]:(b=(0,G.jsx)(R,{size:1,as:`div`,trim:!0,children:p}),t[14]=p,t[15]=b);let x;t[16]!==c||t[17]!==l?(x=c&&(0,G.jsx)(w,{tone:`critical`,children:l(`delete-dialog.error`)}),t[16]=c,t[17]=l,t[18]=x):x=t[18];let S;t[19]!==b||t[20]!==x?(S=(0,G.jsxs)(B,{gap:4,children:[b,x]}),t[19]=b,t[20]=x,t[21]=S):S=t[21];let C;return t[22]!==r||t[23]!==y||t[24]!==S||t[25]!==d?(C=(0,G.jsx)(f,{footer:y,header:d,id:`delete-comment-dialog`,onClose:r,width:0,children:S}),t[22]=r,t[23]=y,t[24]=S,t[25]=d,t[26]=C):C=t[26],C}var Ee=M.div.withConfig({displayName:`SpacerAvatar`,componentId:`sc-negkme-0`})(e=>{let t=P(e.theme),{$size:n=1}=e;return F`min-width:${t.avatar.sizes[n]?.size}px;`}),De=/\b(https?:\/\/[^\s,()]+(?:\.[^\s,()]+)*|www\.[^\s,()]+\.[^\s,()]{2,})\b/g;function Oe(e){e.stopPropagation()}function K(e){let t=e.startsWith(`http`)?e:`https://${e}`;return(0,G.jsx)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,onClick:Oe,children:e},e)}var ke=[e=>typeof e==`string`?e.split(De).flatMap(e=>e.match(De)?K(e):e):e];function q(e){return Array.isArray(e)?e.flatMap(e=>{let t=[e];for(let e of ke)t=t.flatMap(e);return t}):e}var Ae=M(B).withConfig({displayName:`PortableTextWrap`,componentId:`sc-f594nj-0`})(()=>F`& > [data-ui='Text']:not(:first-child){margin-top:1em;}& > [data-ui='Text']:empty{display:none;}`),je=[];function J(e){let t=(0,W.c)(4),n;t[0]===e.children?n=t[1]:(n=q(e.children),t[0]=e.children,t[1]=n);let r=n,i;return t[2]===r?i=t[3]:(i=(0,G.jsx)(ye,{children:r}),t[2]=r,t[3]=i),i}var Me={block:{normal:J,h1:J,h2:J,h3:J,h4:J,h5:J,h6:J,blockquote:J,code:J},list:{bullet:U.Fragment,number:U.Fragment,checkmarks:U.Fragment},listItem:{bullet:J,number:J,checkmarks:J},marks:{strong:U.Fragment,em:U.Fragment,code:U.Fragment,underline:U.Fragment,strikeThrough:U.Fragment,link:U.Fragment},types:{mention:e=>(0,G.jsx)(Se,{userId:e?.value?.userId,selected:!1})}};function Ne(e){let t=(0,W.c)(2),{blocks:n}=e,r=n||je,i;return t[0]===r?i=t[1]:(i=(0,G.jsx)(Ae,{children:(0,G.jsx)(a,{value:r,components:Me})}),t[0]=r,t[1]=i),i}function Y(e){let t=(0,W.c)(11),n,r;t[0]===e?(n=t[1],r=t[2]):({ref:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(`path`,{d:`M10.1044 10.4011L10.1044 10.9972`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`square`}),a=(0,G.jsx)(`path`,{d:`M14.2393 10.4011L14.2393 10.9972`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`square`}),o=(0,G.jsx)(`path`,{d:`M7.12128 14.1151C7.70803 15.0226 9.66113 16.8377 11.7735 16.8377C13.8859 16.8377 15.6713 15.0226 16.4257 14.1151`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`square`}),s=(0,G.jsx)(`path`,{d:`M16.703 6.43905C15.3486 5.36511 13.6357 4.72374 11.773 4.72374C7.38731 4.72374 3.83203 8.27902 3.83203 12.6647C3.83203 17.0503 7.38731 20.6056 11.773 20.6056C16.0995 20.6056 19.618 17.1455 19.712 12.8415`,stroke:`currentColor`,strokeWidth:1.2}),c=(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M19.1135 9.034 Line truncated
-29
View File
@@ -1,29 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{$t as t,An as n,Bo as r,Cf as i,D as a,Df as o,E as s,Em as c,Fl as l,Gi as u,Hl as d,In as f,Ir as p,Is as m,Jf as h,K as g,Md as _,Ms as v,Nd as y,Ns as b,O as x,Oa as S,Od as C,Ol as w,Or as T,Ou as E,Qt as D,Ru as O,Sd as k,Sl as A,Tf as j,Tl as M,Tm as N,U as P,Xo as F,Yc as I,Ys as L,Zf as R,Zs as ee,_s as z,_t as te,aa as ne,ap as B,bt as V,cr as H,ed as re,et as U,g as W,gl as ie,gs as G,h as ae,hp as K,hr as oe,hs as se,ic as ce,jd as le,js as q,k as ue,mp as de,n as fe,nf as J,oa as pe,p as me,qf as he,r as ge,tl as _e,ur as ve,va as Y,vs as ye,vt as be,x as xe,xc as Se,xt as Ce,yc as we,yf as Te,ys as Ee,yt as De,z as Oe}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as ke,t as Ae}from"./jsx-runtime-BpzPEenQ.js";import{t as je}from"./compiler-runtime-sKsOXjDo.js";import{f as Me,l as Ne,o as Pe}from"./from-B8yXq1Hf.js";import{Q as X,St as Fe,X as Ie,ct as Le,ft as Re,ht as ze,lt as Be,mt as Ve,q as He,rt as Ue,xt as We}from"./clientStore-Cq3vrK4Q-X8Ukd-3S.js";import{Bt as Ge,Et as Ke,Tt as qe,dr as Je,gt as Ye,hn as Xe,mr as Ze}from"./types--2f-avvL-CUBrVRGR.js";import{Et as Qe,St as $e,s as et,t as tt}from"./dist-LVcARZxB.js";import{a as nt,d as rt,l as it,o as at,s as ot,u as st}from"./stegaClean-YZRATV86-BdUaXCkw.js";import{t as ct}from"./useAddonDataset-BvCgByG6-N5vrKMLm.js";import{r as lt}from"./helpers-D_aQC6Do-Cc0nAXnJ.js";import{t as ut}from"./buildRangeDecorationSelectionsFromComments-B6nJH-Wx-DCNxDhrr.js";function dt(){var e=[...arguments],t=Fe(e),n=c(e),r=n.args,i=n.keys,a=new Me(function(e){var t=r.length;if(!t){e.complete();return}for(var n=Array(t),a=t,o=t,s=function(t){var s=!1;Pe(r[t]).subscribe(Ne(e,function(e){s||(s=!0,o--),n[t]=e},function(){return a--},void 0,function(){(!a||!s)&&(o||e.next(i?N(i,n):n),e.complete())}))},c=0;c<t;c++)s(c)});return t?a.pipe(Ve(t)):a}var Z=e(ke(),1),Q=je(),$=Ae();function ft(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n={componentProps:e,componentResolver:te},t[0]=e,t[1]=n),m(n)}function pt(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={defaultComponent:ft,pick:se},e[0]=t):t=e[0],q(t)}function mt(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n={componentProps:e,componentResolver:be},t[0]=e,t[1]=n),m(n)}function ht(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={defaultComponent:mt,pick:G},e[0]=t):t=e[0],q(t)}function gt(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n={componentProps:e,componentResolver:De},t[0]=e,t[1]=n),m(n)}function _t(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={defaultComponent:gt,pick:z},e[0]=t):t=e[0],q(t)}function vt(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n={componentProps:e,componentResolver:V},t[0]=e,t[1]=n),m(n)}function yt(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={defaultComponent:vt,pick:ye},e[0]=t):t=e[0],q(t)}function bt(e){let t=(0,Q.c)(2),n;return t[0]===e?n=t[1]:(n={componentProps:e,componentResolver:Ce},t[0]=e,t[1]=n),m(n)}function xt(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={defaultComponent:bt,pick:Ee},e[0]=t):t=e[0],q(t)}function St(e){let t=(0,Q.c)(28),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=[],t[0]=r):r=t[0];let[a,o]=(0,Z.useState)(r),{onPathOpen:s}=H(),{hasAnyFullscreen:c,allFullscreenPaths:l}=ve(),u;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(u=(e,t)=>{o(n=>n.some(t=>t.id===e)?n:[...n,{id:e,path:t}])},t[1]=u):u=t[1];let d=u,f;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=e=>{o(t=>t.filter(t=>t.id!==e))},t[2]=f):f=t[2];let p=f,m;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=(e,t)=>{o(n=>n.map(n=>n.id===e?{...n,path:t}:n))},t[3]=m):m=t[3];let h=m,g;t[4]===l?g=t[5]:(g=e=>l.filter(t=>{let n=Se(t);if(n.length>e.length||!n.every((t,n)=>{let r=e[n];return i(t)&&i(r)?t._key===r._key:t===r}))return!1;if(n.some(Tt))return!0;let r=e[n.length];return!i(r)}),t[4]=l,t[5]=g);let _=g,v;t[6]===s?v=t[7]:(v=()=>{s(Y),o([])},t[6]=s,t[7]=v);let y=v,b;t[8]!==y||t[9]!==_||t[10]!==s?(b=e=>{let t=_(e);if(t&&t.length>0){let e=t.reduce(wt),n=Se(e);s(n),o(e=>e.filter(e=>!e.path||e.path.length>=n.length?!1:e.path.every((e,t)=>{let r=n[t];return i(e)&&i(r)?e._key===r._key:e===r})))}else y()},t[8]=y,t[9]=_,t[10]=s,t[11]=b):b=t[11];let x=b,S;t[12]!==l||t[13]!==y||t[14]!==x||t[15]!==c||t[16]!==s||t[17]!==a?(S=e=>{let t=a[a.length-1]?.path;if(e?.toParent&&a.length>=2){let e=a[a.length-2];if(e?.path){s(e.path),o(Ct);return}}if(t&&c()&&l.length>=1){x(t);return}y()},t[12]=l,t[13]=y,t[14]=x,t[15]=c,t[16]=s,t[17]=a,t[18]=S):S=t[18];let C=S,w;t[19]===s?w=t[20]:(w=e=>{s(e),o(t=>t.filter(t=>!t.path||t.path.length>=e.length?!1:t.path.every((t,n)=>{let r=e[n];return i(t)&&i(r)?t._key===r._key:t===r})))},t[19]=s,t[20]=w);let T=w,E;t[21]!==C||t[22]!==T||t[23]!==a?(E={stack:a,push:d,remove:p,update:h,close:C,navigateTo:T},t[21]=C,t[22]=T,t[23]=a,t[24]=E):E=t[24];let D=ELine truncated
_createdAt,
_id,
authorId,
contentSnapshot,
context,
lastEditedAt,
message,
parentCommentId,
reactions,
status,
target,
threadId
} | order(_createdAt desc)`,[d,f]=(0,Z.useReducer)(gn,_n),[p,m]=(0,Z.useState)(n!==null),[h,g]=(0,Z.useState)(null),_=(0,Z.useRef)(!1),v;t[2]===r?v=t[3]:(v=at(r),t[2]=r,t[3]=v);let y;t[4]===o?y=t[5]:(y=o?{documentVersionId:o}:{},t[4]=o,t[5]=y);let b;t[6]!==v||t[7]!==y?(b={documentId:v,...y},t[6]=v,t[7]=y,t[8]=b):b=t[8];let x=b,S;t[9]!==n||t[10]!==x||t[11]!==u?(S=async()=>{if(!n){m(!1);return}try{let e=await n.fetch(u,x);f({type:`COMMENTS_SET`,comments:e}),m(!1)}catch(e){g(e)}},t[9]=n,t[10]=x,t[11]=u,t[12]=S):S=t[12];let C=S,w;t[13]!==C||t[14]!==i||t[15]!==a?(w=async e=>{if(e.type===`welcome`&&!_.current&&(m(!0),await C(),m(!1),_.current=!0),e.type===`reconnect`&&(m(!0),_.current=!1),e.type===`mutation`){if(e.transition===`appear`){let t=e.result;t&&f({type:`COMMENT_RECEIVED`,payload:t})}if(e.transition===`disappear`&&f({type:`COMMENT_DELETED`,id:e.documentId}),e.transition===`update`){let t=e.result,n=e.result?._id||``,r=e.transactionId,o=a.get(n),s=r===o;if(!s&&o)return;t&&(f({type:`COMMENT_UPDATED`,payload:t}),s&&i(n))}}},t[13]=C,t[14]=i,t[15]=a,t[16]=w):w=t[16];let T=w,E;bb0:{if(!n){let e;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(e=We(),t[17]=e):e=t[17],E=e;break bb0}let e;if(t[18]!==n.observable||t[19]!==l||t[20]!==x){let r;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(r=e=>(g(e),We(e)),t[22]=r):r=t[22],e=n.observable.listen(`*[${l}]`,x,vn).pipe(Ue(r)),t[18]=n.observable,t[19]=l,t[20]=x,t[21]=e}else e=t[21];E=e}let D=E,O,k;t[23]!==T||t[24]!==D?(O=()=>{let e=D.subscribe(T);return()=>{e?.unsubscribe()}},k=[T,D],t[23]=T,t[24]=D,t[25]=O,t[26]=k):(O=t[25],k=t[26]),(0,Z.useEffect)(O,k);let A;t[27]===d.comments?A=t[28]:(A=Object.values(d.comments),t[27]=d.comments,t[28]=A);let j=A,M;return t[29]!==j||t[30]!==h||t[31]!==p?(M={data:j,dispatch:f,error:h,loading:p},t[29]=j,t[30]=h,t[31]=p,t[32]=M):M=t[32],M}function xn(e,t){let n=l(t),r=n[0];if(r&&j(e)){let t=e?.fields?.find(e=>e.name===r);if(t){let e=d(n.slice(1));return e?xn(t.type,e):t}}}function Sn(e,t){if(typeof t==`number`)return t;let n=T(e,t);return n!==-1&&n}function Cn(e){try{return l(e)}catch{return[]}}function wn(e){let{currentUser:n,schemaType:r,fieldPath:i,documentValue:a}=e,o=Cn(i),s=[],c=r;return o.forEach((e,r)=>{let i=o.slice(0,r+1),l=o.slice(0,r),u=xn(c,d([e])),p=e.hasOwnProperty(`_key`),m=we(a,l),h=we(a,i),g={document:a,currentUser:n,parent:m,value:h,path:i};if(p&&Array.isArray(m)){let t=Sn(m,e),n=typeof t==`number`;s.push({invalid:t===!1,isArrayItem:!0,title:n?`#${Number(t)+1}`:`Unknown array item`});return}if(u?.type){let e=f(u.type.hidden,g);s.push({invalid:e,isArrayItem:!1,title:t(u.type)}),c=u.type;return}if(Te(c)){let n=we(a,l)?._type,r=c?.of?.find(e=>e.name===n),i=r?.fields?.find(t=>t.name===e);if(!n&&h){let n=(c?.of?.map(e=>e?.fields).filter(Boolean).flat())?.find(t=>t?.name===e),r=f(n?.type?.hidden,g);n&&(s.push({invalid:r,isArrayItem:!1,title:t(n?.type)}),c=n?.type);return}if(!i){s.push({invalid:!0,isArrayItem:!1,title:`Unknown field`});return}let o=t(i?.type),u=f(r?.type?.hidden,g),d=f(i?.type.hidden,g),p=u||d;s.push({invalid:p,isArrayItem:!1,title:o}),c=i?.type;return}s.push({invalid:!0,isArrayItem:!1,title:`Unknown field`})}),s}var Tn=[];function En(e){let{comments:t,currentUser:n,documentValue:r,schemaType:i,type:a}=e,o=t?.filter(e=>!e.parentCommentId);return a===`task`?o.map(e=>{let n=t?.filter(t=>t.parentCommentId===e._id);return{commentsCount:[e,...n].length,parentComment:e,replies:n,threadId:e.threadId,hasReferencedValue:!1,breadcrumbs:Tn,fieldPath:``}}):a===`field`?o.map(e=>{let a=wn({currentUser:n,documentValue:r,fieldPath:e.target.path?.field||``,schemaType:i}),o=!1;if(Ye(e)&&(o=!!(e.target.path?.selection&&e.target.path.selection.value.some(e=>e.text))),a.some(e=>e.invalid))return;let s=t?.filter(t=>t.parentCommentId===e._id),c=[e,...s].length,l=o;return{breadcrumbs:a,commentsCount:c,fieldPath:e.target.path?.field||``,parentComment:e,replies:s,threadId:e.threadId,hasReferencedValue:l}}).filter(Boolean):Tn}var Dn=[],On={open:Dn,resolved:Dn},kn=(0,Z.memo)(function(e){let t=(0,Q.c)(88),{children:n,documentId:r,documentType:i,isCommentsOpen:a,onCommentsOpen:o,sortOrder:s,type:c,getCommentLink:l,onClearSelectedComment:u,selectedCommentId:d,isConnecting:f,onPathOpen:p,releaseId:m,mentionsDisabled:h}=e,g=qe(),[_,v]=(0,Z.useState)(`open`),{client:b,createAddonDataset:x,isCreatingDataset:S}=ct(),C;t[0]===r?C=t[1]:(C=at(r),t[0]=r,t[1]=C);let w=C,T=Ge(w,i,`low`,m),E=M(),D;t[2]!==i||t[3]!==E?(D=E.get(i),t[2]=i,t[3]=E,t[4]=D):D=t[4];let O=D,k=ee(),{name:A,dataset:j,projectId:N}=y(),P;bb0:{if(m){P=T.version;break bb0}P=T.draft||T.published}let F=P,I=F?._rev,[L]=(0,Z.useState)(An),R;t[5]===L?R=t[6]:(R=e=>{L.delete(e)},t[5]=L,t[6]=R);let z=R,te;t[7]!==b||t[8]!==r||t[9]!==z||t[10]!==m||t[11]!==L?(te={documentId:r,releaseId:m,client:b,transactionsIdMap:L,onLatestTransactionIdReceived:z},t[7]=b,t[8]=r,t[9]=z,t[10]=m,t[11]=L,t[12]=te):te=t[12];let{dispatch:B,data:V,error:H,loading:re}=bn(te),U=V===void 0?Dn:V,W;t[13]===L?W=t[14]:(W Line truncated
_createdAt,
_id,
_rev,
_type,
_system,
contentSnapshot,
context,
lastEditedAt,
message,
parentCommentId,
reactions,
status,
target,
threadId
} | order(_createdAt desc)`,params:{gdr:t,...i.params}}}function er(e,t){let n={};for(let t of e)n[t._key]={...t};for(let e of t)n[e._key]={...n[e._key],...e};return Object.values(n)}function tr(e){return e.reduce((e,t)=>({...e,[t._id]:t}),{})}function nr(e,t){switch(t.type){case`COMMENTS_SET`:{let n=tr(t.comments);return{...e,comments:n}}case`COMMENT_ADDED`:{let n=t.payload,r=n,i={[n._id]:{...e.comments[n._id],...r,_state:n._state||void 0,_createdAt:n._createdAt||new Date().toISOString()}};return{...e,comments:{...e.comments,...i}}}case`COMMENT_RECEIVED`:{let n=t.payload;return{...e,comments:{...e.comments,[n._id]:n}}}case`COMMENT_DELETED`:{let{[t.id]:n,...r}=e.comments;return Object.keys(r).forEach(e=>{r[e].parentCommentId===t.id&&delete r[e]}),{...e,comments:r}}case`COMMENT_UPDATED`:{let n=t.payload,r=n._id,i=e.comments[r],a=er(i?.reactions?.filter(e=>e?._optimisticState)||[],n.reactions||[]),o={...i,...n,reactions:a};return{...e,comments:{...e.comments,[r]:o}}}default:return e}}var rr={comments:{}},ir={events:[`welcome`,`mutation`,`reconnect`],includeResult:!0,includeAllVersions:!0,visibility:`query`,tag:`comments-store`};function ar(e){let t=(0,Q.c)(35),{client:n,groupId:r,versionId:i,type:a,onLatestTransactionIdReceived:o,transactionsIdMap:s,ready:c}=e,l=c===void 0||c,[u,d]=(0,Z.useReducer)(nr,rr),[f,p]=(0,Z.useState)(n!==null&&l),[m,h]=(0,Z.useState)(null),g=(0,Z.useRef)(!1),_;t[0]!==n?.collaboration.comments||t[1]!==r?(_=n?.collaboration.comments.getTargetDocumentRef(r)??null,t[0]=n?.collaboration.comments,t[1]=r,t[2]=_):_=t[2];let v=_,y;t[3]!==v||t[4]!==a||t[5]!==i?(y=$n({gdr:v,versionId:i,type:a}),t[3]=v,t[4]=a,t[5]=i,t[6]=y):y=t[6];let{query:b,params:x}=y,S;t[7]===x?S=t[8]:(S=JSON.stringify(x),t[7]=x,t[8]=S);let C=`${b}:${S}:${l}`,[w,T]=(0,Z.useState)(C);w!==C&&(T(C),d({type:`COMMENTS_SET`,comments:[]}),p(!!(n&&v&&l)),h(null));let E;t[9]!==n||t[10]!==v||t[11]!==x||t[12]!==b||t[13]!==l?(E=async()=>{if(!n||!v||!l){p(!1);return}try{let e=await n.collaboration.comments.fetch(b,x);d({type:`COMMENTS_SET`,comments:e}),h(null),p(!1)}catch(e){h(e)}},t[9]=n,t[10]=v,t[11]=x,t[12]=b,t[13]=l,t[14]=E):E=t[14];let D=E,O;t[15]!==D||t[16]!==o||t[17]!==s?(O=async e=>{if(e.type===`welcome`&&!g.current&&(p(!0),await D(),p(!1),g.current=!0),e.type===`reconnect`&&(p(!0),g.current=!1),e.type===`mutation`){if(e.transition===`appear`){let t=e.result;if(!t)return;let n=s.get(t._id);if(n&&e.transactionId!==n)return;d({type:`COMMENT_RECEIVED`,payload:t})}if(e.transition===`disappear`&&d({type:`COMMENT_DELETED`,id:e.documentId}),e.transition===`update`){let t=e.result,n=e.result?._id||``,r=e.transactionId,i=s.get(n),a=r===i;if(!a&&i)return;t&&(d({type:`COMMENT_UPDATED`,payload:t}),a&&o(n))}}},t[15]=D,t[16]=o,t[17]=s,t[18]=O):O=t[18];let k=O,A;bb0:{if(!n||!v||!l){let e;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(e=We(),t[19]=e):e=t[19],A=e;break bb0}let e;if(t[20]!==n.collaboration.comments||t[21]!==x||t[22]!==b){let r;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(r=e=>(h(e),We()),t[24]=r):r=t[24],e=n.collaboration.comments.listen(b,x,ir).pipe(Ue(r)),t[20]=n.collaboration.comments,t[21]=x,t[22]=b,t[23]=e}else e=t[23];A=e}let j=A,M,N;t[25]!==k||t[26]!==j?(M=()=>{g.current=!1;let e=j.subscribe(k);return()=>{e?.unsubscribe()}},N=[k,j],t[25]=k,t[26]=j,t[27]=M,t[28]=N):(M=t[27],N=t[28]),(0,Z.useEffect)(M,N);let P;t[29]===u.comments?P=t[30]:(P=Object.values(u.comments),t[29]=u.comments,t[30]=P);let F=P,I;return t[31]!==F||t[32]!==m||t[33]!==f?(I={data:F,dispatch:d,error:m,loading:f},t[31]=F,t[32]=m,t[33]=f,t[34]=I):I=t[34],I}function or(e,t){let n=l(t),r=n[0];if(r&&j(e)){let t=e?.fields?.find(e=>e.name===r);if(t){let e=d(n.slice(1));return e?or(t.type,e):t}}}function sr(e,t){if(typeof t==`number`)return t;let n=T(e,t);return n!==-1&&n}function cr(e){let{currentUser:n,schemaType:r,fieldPath:i,documentValue:a}=e,o=l(i),s=[],c=r;return o.forEach((e,r)=>{let i=o.slice(0,r+1),l=o.slice(0,r),u=or(c,d([e])),p=e.hasOwnProperty(`_key`),m=we(a,l),h=we(a,i),g={document:a,currentUser:n,parent:m,value:h,path:i};if(p&&Array.isArray(m)){let t=sr(m,e),n=typeof t==`number`;s.push({invalid:t===!1,isArrayItem:!0,title:n?`#${Number(t)+1}`:`Unknown array item`});return}if(u?.type){let e=f(u.type.hidden,g);s.push({invalid:e,isArrayItem:!1,title:t(u.type)}),c=u.type;return}if(Te(c)){let n=we(a,l)?._type,r=c?.of?.find(e=>e.name===n),i=r?.fields?.find(t=>t.name===e);if(!n&&h){let n=(c?.of?.map(e=>e?.fields).filter(Boolean).flat())?.find(t=>t?.name===e),r=f(n?.type?.hidden,g);n&&(s.push({invalid:r,isArrayItem:!1,title:t(n?.type)}),c=n?.type);return}if(!i){s.push({invalid:!0,isArrayItem:!1,title:`Unknown field`});return}let o=t(i?.type),u=f(r?.type?.hidden,g),d=f(i?.type.hidden,g),p=u||d;s.push({invalid:p,isArrayItem:!1,title:o}),c=i?.type;return}s.push({invalid:!0,isArrayItem:!1,title:`Unknown field`})}),s}function lr(e){let t=e.indexOf(ut[0]),n=e.indexOf(ut[1]);return t===-1||n===-1?!!e:n>t+1}var ur=[];function dr(e){let{comments:t,currentUser:n,d Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{$ as t,Jt as n,Qf as r,S as i,np as a,or as o,xr as s}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as c,t as l}from"./jsx-runtime-BpzPEenQ.js";import{t as u}from"./compiler-runtime-sKsOXjDo.js";import{t as d}from"./AddonDatasetProvider-CF_RtUZo-BdePhlKm.js";var f=e(c(),1),p=u(),m=l(),h=`sanityStudio:comments:inspector:onboarding:dismissed:v1`,g=e=>{try{window.localStorage.setItem(h,JSON.stringify(e))}catch{}},_=()=>{try{let e=window.localStorage.getItem(h);return e?JSON.parse(e):!1}catch{return!1}};function v(e){let t=(0,p.c)(7),{children:n}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=_(),t[0]=i):i=t[0];let[a,o]=(0,f.useState)(i),s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=()=>{o(!0),g(!0)},t[1]=s):s=t[1];let c=s,l;t[2]===a?l=t[3]:(l={setDismissed:c,isDismissed:a},t[2]=a,t[3]=l);let u=l,d;return t[4]!==n||t[5]!==u?(d=(0,m.jsx)(r.Provider,{value:u,children:n}),t[4]=n,t[5]=u,t[6]=d):d=t[6],d}function y(e){let r=(0,p.c)(9),i;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={dataUri:`/journey/comments`,feature:`comments`},r[0]=i):i=r[0];let o=s(i),c=e.children,l;r[1]===o?l=r[2]:(l=n(o),r[1]=o,r[2]=l);let u;r[3]===l?u=r[4]:(u=(0,m.jsx)(t,{...l}),r[3]=l,r[4]=u);let d;return r[5]!==o||r[6]!==e.children||r[7]!==u?(d=(0,m.jsxs)(a.Provider,{value:o,children:[c,u]}),r[5]=o,r[6]=e.children,r[7]=u,r[8]=d):d=r[8],d}function b(e){let t=(0,p.c)(8),{enabled:n,isLoading:r}=o(i.studioComments),a;t[0]===e?a=t[1]:(a=e.renderDefault(e),t[0]=e,t[1]=a);let s=a,c;t[2]!==s||t[3]!==n||t[4]!==r?(c=!n&&!r?(0,m.jsx)(y,{children:s}):s,t[2]=s,t[3]=n,t[4]=r,t[5]=c):c=t[5];let l;return t[6]===c?l=t[7]:(l=(0,m.jsx)(d,{children:(0,m.jsx)(v,{children:c})}),t[6]=c,t[7]=l),l}export{b as CommentsStudioLayout};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{$ as t,$f as n,Jt as r,S as i,or as a,rp as o,xr as s}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{n as c,t as l}from"./jsx-runtime-BpzPEenQ.js";import{t as u}from"./compiler-runtime-sKsOXjDo.js";import{t as d}from"./AddonDatasetProvider-CF_RtUZo-BdePhlKm.js";var f=e(c(),1),p=u(),m=l(),h=`sanityStudio:comments:inspector:onboarding:dismissed:v1`,g=e=>{try{window.localStorage.setItem(h,JSON.stringify(e))}catch{}},_=()=>{try{let e=window.localStorage.getItem(h);return e?JSON.parse(e):!1}catch{return!1}};function v(e){let t=(0,p.c)(7),{children:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=_(),t[0]=i):i=t[0];let[a,o]=(0,f.useState)(i),s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=()=>{o(!0),g(!0)},t[1]=s):s=t[1];let c=s,l;t[2]===a?l=t[3]:(l={setDismissed:c,isDismissed:a},t[2]=a,t[3]=l);let u=l,d;return t[4]!==r||t[5]!==u?(d=(0,m.jsx)(n.Provider,{value:u,children:r}),t[4]=r,t[5]=u,t[6]=d):d=t[6],d}function y(e){let n=(0,p.c)(9),i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={dataUri:`/journey/comments`,feature:`comments`},n[0]=i):i=n[0];let a=s(i),c=e.children,l;n[1]===a?l=n[2]:(l=r(a),n[1]=a,n[2]=l);let u;n[3]===l?u=n[4]:(u=(0,m.jsx)(t,{...l}),n[3]=l,n[4]=u);let d;return n[5]!==a||n[6]!==e.children||n[7]!==u?(d=(0,m.jsxs)(o.Provider,{value:a,children:[c,u]}),n[5]=a,n[6]=e.children,n[7]=u,n[8]=d):d=n[8],d}function b(e){let t=(0,p.c)(8),{enabled:n,isLoading:r}=a(i.studioComments),o;t[0]===e?o=t[1]:(o=e.renderDefault(e),t[0]=e,t[1]=o);let s=o,c;t[2]!==s||t[3]!==n||t[4]!==r?(c=!n&&!r?(0,m.jsx)(y,{children:s}):s,t[2]=s,t[3]=n,t[4]=r,t[5]=c):c=t[5];let l;return t[6]===c?l=t[7]:(l=(0,m.jsx)(d,{children:(0,m.jsx)(v,{children:c})}),t[6]=c,t[7]=l),l}export{b as CommentsStudioLayout};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`component`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as ComponentIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ComposeSparklesIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`compose-sparkles`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M17 9L9.5 16.5L9 19L11.5 18.5L19 11M17 9L19 7L21 9L19 11M17 9L19 11M4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinecap:`round`,strokeLinejoin:`round`})})});export{i as n,s as t};
@@ -1 +0,0 @@
import{Cr as e,Nd as t,Om as n,Sd as r,St as i,cl as a,ed as o,f as s,gn as c,im as l,lc as u,ot as d,tl as f,ua as p,wm as m}from"./PerspectiveProvider-qJFIbsuW-DOpUdg_O.js";import{t as h}from"./jsx-runtime-BpzPEenQ.js";import{t as g}from"./compiler-runtime-sKsOXjDo.js";import{At as _,Q as v,X as y,ct as b,ht as x,rt as S,xt as C}from"./clientStore-Cq3vrK4Q-X8Ukd-3S.js";import{V as w,vn as ee}from"./types--2f-avvL-CUBrVRGR.js";import{St as te}from"./dist-LVcARZxB.js";import{t as ne}from"./ErrorOutline-Cl-3_nRG.js";var T=g(),E=h(),D=new WeakMap;function O(e){let t=D.get(e);if(t)return t;let n=new Map(e.map(e=>[e.name,new Set(e.values.map(e=>e.value))]));return D.set(e,n),n}function k(e,t){let n=O(t),r=[];for(let[t,i]of Object.entries(e)){let e=n.get(t);if(!e){r.push({key:t,value:i,type:`unknown-key`});continue}e.has(i)||r.push({key:t,value:i,type:`unknown-value`})}return r}var A=/^[a-z][a-z0-9_-]{0,63}$/,re=[`_`,`$`];function j(e){let t=e.trim();if(t){for(let e of re)if(t.startsWith(e))return`reserved`;if(t.includes(`:`)||!A.test(t))return`invalid`}}function M(e){if(!e.trim())return`empty`;if(e.includes(`,`))return`invalid`}function N(e){return typeof e==`string`&&e.trim()||void 0}function ie(e,t){if(!Array.isArray(e))return console.warn(`[sanity] Dropped conditions entry "${t}": values must be an array`),[];let n=new Set,r=[];for(let i of e){if(typeof i==`string`){let e=i.trim();if(M(e)){console.warn(`[sanity] Dropped invalid conditions value "${i}" for key "${t}"`);continue}if(n.has(e)){console.warn(`[sanity] Dropped duplicate conditions value "${e}" for key "${t}"`);continue}n.add(e),r.push({value:e,title:e});continue}if(!f(i)||typeof i.value!=`string`){console.warn(`[sanity] Dropped invalid conditions value for key "${t}"`);continue}let e=i.value.trim();if(M(e)){console.warn(`[sanity] Dropped invalid conditions value "${i.value}" for key "${t}"`);continue}if(n.has(e)){console.warn(`[sanity] Dropped duplicate conditions value "${e}" for key "${t}"`);continue}n.add(e),r.push({value:e,title:N(i.title)??e,description:N(i.description)})}return r}function ae(e,t){if(!Array.isArray(e))throw Error(`Expected conditions to resolve to an array`);let n=new Set,r=[];for(let i of e){if(!f(i)||typeof i.name!=`string`){console.warn(`[sanity] Dropped invalid \`${t}\` entry: expected an object with a name string`);continue}let e=i.name.trim();if(j(e)){console.warn(`[sanity] Dropped invalid conditions key "${i.name}"`);continue}if(n.has(e)){console.warn(`[sanity] Dropped duplicate conditions key "${e}"`);continue}let a=ie(i.values,e);if(a.length===0){console.warn(`[sanity] Dropped conditions entry "${e}": no valid values`);continue}n.add(e),r.push({name:e,title:N(i.title)??e,description:N(i.description),values:a})}return r}var P=3e4,F={mode:`mapped`,status:`loading`},I={status:`loading`},L=()=>void 0,R=new WeakMap,z=0,B=new WeakMap,V=0;function H(e){let t=R.get(e);return t===void 0&&(t=z++,R.set(e,t)),t}function U(e,t){return`${H(e)}:${t.workspaceName}:${t.context.projectId}:${t.context.dataset}:${t.context.type}`}function W(e,t){return`${H(e)}:${t.workspaceName}:${t.context.projectId}:${t.context.dataset}`}function G(e,t){let n=B.get(e);return n===void 0&&(n=V++,B.set(e,n)),`static:${n}:${t}`}function K(e){return e instanceof Error?e:Error(String(e))}function q(e){return Error(`Expected \`beta.variants.types.${e}.conditions\` to include at least one valid entry`)}function J(e,t){let n=ae(e,`beta.variants.types.${t}.conditions`);if(n.length===0)throw q(t);return{mode:`mapped`,status:`ready`,definitions:n}}function oe(e,t){let n=K(e);return console.error(`[sanity] Invalid \`beta.variants.types.${t}.conditions\``,n),{mode:`mapped`,status:`error`,error:n}}function se(e,t,n){let r=K(e);return console.error(`[sanity] Failed to resolve \`beta.variants.types.${n}.conditions\``,r),{mode:`mapped`,status:`error`,error:r,retry:t}}function ce(e){return Array.isArray(e)||typeof e==`function`}function Y(e){if(f(e)&&Object.keys(e).length===0)return i();if(!f(e))throw Error(`Expected \`beta.variants.types\` to resolve to an object, but received ${p(e)}`);for(let[t,n]of Object.entries(e)){if(!c(t))throw Error(`Expected \`beta.variants.types\` keys to be lowercase identifiers, but received ${JSON.stringify(t)}`);if(d(t),!f(n))throw Error(`Expected \`beta.variants.types.${t}\` to be an object, but received ${p(n)}`);if(n.conditions!==void 0&&!ce(n.conditions))throw Error(`Expected \`beta.variants.types.${t}.conditions\` to be an array or a function`)}return e}function le(e,t,r){return b(()=>Promise.resolve(e(t))).pipe(n({first:P}),x(e=>J(e,t.type)),S(e=>C(se(e,r,t.type))),l(F))}var ue=a(function(e,t){let{context:n}=t,r=new _,i=()=>r.next();return r.pipe(l(void 0),y(()=>le(e,n,i)),v({bufferSize:1,refCount:!1}))},U),de=a(function(e,t){try{return C(J(e,t))}catch(e){return C(oe(e,t))}},G);function fe(e,t,n){return e===void 0?C({mode:`freeform`}):Array.isArray(e)?de(e,t.type):typeof e==`function`?ue(e,{context:t,workspaceName:n}):C({mode:`mappe Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`confetti`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M16.5 6.25C16.9142 6.25 17.25 5.91421 17.25 5.5C17.25 5.08579 16.9142 4.75 16.5 4.75C16.0858 4.75 15.75 5.08579 15.75 5.5C15.75 5.91421 16.0858 6.25 16.5 6.25Z`,fill:`currentColor`}),(0,i.jsx)(`path`,{d:`M19.5 16.25C19.9142 16.25 20.25 15.9142 20.25 15.5C20.25 15.0858 19.9142 14.75 19.5 14.75C19.0858 14.75 18.75 15.0858 18.75 15.5C18.75 15.9142 19.0858 16.25 19.5 16.25Z`,fill:`currentColor`}),(0,i.jsx)(`path`,{d:`M13 4C11 6 14.5 5.5 12.5 7.5M21 12C19 14 19.5 10.5 17.5 12.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M16.066 16.4904C15.3965 17.1598 13.1126 15.9613 10.9647 13.8135C8.81684 11.6656 7.61835 9.38165 8.28782 8.71218M16.066 16.4904C16.7355 15.8209 15.537 13.537 13.3891 11.3891C11.2412 9.2412 8.95729 8.04271 8.28782 8.71218M16.066 16.4904C15.8661 16.6902 15.6277 16.8474 15.3657 16.952L6.99288 20.296C6.26931 20.5849 5.44878 20.4193 4.9038 19.8744C4.35883 19.3294 4.19324 18.5089 4.48221 17.7853L7.82614 9.41242C7.93077 9.15042 8.08793 8.91208 8.28782 8.71218M20 5C20 14 11.5 5.32688 11.5 14.3269`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as ConfettiIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({ControlsIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`controls`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CopyIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`copy`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`credit-card`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M20.5 9.5H4.5V11.5H20.5V9.5Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as CreditCardIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({CropIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`crop`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M9.5 5V15.5H20M5 9.5H15.5V20`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`cube`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M12.5 22V13M12.5 13L4.5 8M12.5 13L20.5 8`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as CubeIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`dashboard`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as DashboardIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`database`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M18.5 7V17.5C18.5 19.0594 16.0504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as DatabaseIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({DesktopIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`desktop`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`path`,{d:`M4.5 13.5V15.5C4.5 16.0523 4.94772 16.5 5.5 16.5H12.5M4.5 13.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V13.5M4.5 13.5H20.5M20.5 13.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5M12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`diamond`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M21 10.5L12.5 21M21 10.5L18 5.5H11M21 10.5H16M12.5 21L4 10.5M12.5 21L9 10.5M12.5 21L16 10.5M4 10.5L7 5.5H11M4 10.5H9M9 10.5H12.5H16M9 10.5L11 5.5M16 10.5L14.5 5.5H11`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`,strokeLinecap:`round`})})});export{a as DiamondIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({DocumentIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`document`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M18.5 20.5H6.5V9.5L11.5 4.5H18.5V20.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`document-pdf`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M12.7127 13.8012L12.7193 13.77C12.8488 13.2366 13.0117 12.5716 12.8845 11.969C12.7997 11.4937 12.4493 11.3084 12.1503 11.295C11.7977 11.2794 11.483 11.4803 11.4049 11.7726C11.2576 12.3082 11.3893 13.0402 11.6303 13.973C11.3268 14.6961 10.8425 15.7472 10.4877 16.3721C9.8271 16.7135 8.94113 17.2402 8.80946 17.9053C8.78268 18.028 8.81392 18.1842 8.88757 18.3248C8.97014 18.481 9.10181 18.6015 9.25579 18.6596C9.32274 18.6841 9.40308 18.7042 9.49681 18.7042C9.88959 18.7042 10.5256 18.3873 11.3736 16.9322C11.5031 16.8898 11.637 16.8452 11.7664 16.8006C12.3734 16.5953 13.0028 16.381 13.5718 16.2851C14.2012 16.622 14.9175 16.8385 15.404 16.8385C15.8861 16.8385 16.0758 16.5529 16.1472 16.381C16.2722 16.0797 16.2119 15.7004 16.0088 15.4973C15.7143 15.2072 14.9979 15.1313 13.882 15.2696C13.3331 14.9349 12.9738 14.4796 12.7127 13.8012ZM10.2645 17.1911C9.95431 17.6419 9.71998 17.8673 9.59278 17.9655C9.7423 17.691 10.0346 17.4009 10.2645 17.1911ZM12.2195 11.9355C12.3355 12.1341 12.3199 12.7345 12.2306 13.038C12.1213 12.5939 12.1056 11.9645 12.1704 11.8909L12.2195 11.9355ZM12.1837 14.6247C12.4225 15.0376 12.7238 15.3924 13.0563 15.6557C12.5743 15.7651 12.1346 15.9458 11.7419 16.1065C11.6481 16.1445 11.5566 16.1824 11.4674 16.2181C11.7642 15.6803 12.0119 15.071 12.1837 14.6247ZM15.6562 16.0864L15.6428 16.1065C15.6428 16.1065 15.4375 16.2315 14.6497 15.9213C15.5558 15.8789 15.6562 16.0864 15.6562 16.0864Z`,fill:`currentColor`}),(0,i.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as DocumentPdfIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({DocumentRemoveIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`document-remove`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`document-sheet`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M10.4 19V16.4M10.4 16.4L10.4 13.4M10.4 16.4H8M10.4 16.4H14.4M10.4 13.4V11M10.4 13.4H8M10.4 13.4H14.4M14.4 19V16.4M14.4 16.4V13.4M14.4 16.4H17M14.4 13.4V11M14.4 13.4H17M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as DocumentSheetIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`document-text`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as DocumentTextIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`document-video`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M11.5 16.5V13.5L14 15L11.5 16.5Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:1.2}),(0,i.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as DocumentVideoIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`document-word`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z`,fill:`currentColor`}),(0,i.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as DocumentWordIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)(`svg`,{"data-sanity-icon":`document-zip`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,i.jsx)(`path`,{d:`M11.5 4.5V9.5H6.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM13.5 13H15.5L16 17H13L13.5 13Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{a as DocumentZipIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({DocumentsIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsxs)(`svg`,{"data-sanity-icon":`documents`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:[(0,o.jsx)(`path`,{d:`M10.5 4.5V9.5H5.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`}),(0,o.jsx)(`path`,{d:`M16.5 7.5H19.5V21.5H8.5V18.5M10.5 4.5H16.5V18.5H5.5V9.5L10.5 4.5Z`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})]})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e,n as t}from"./rolldown-runtime-Dd_uD5pT.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";var i=t({DotIcon:()=>s,default:()=>s}),a=e(n(),1),o=r(),s=(0,a.forwardRef)(function(e,t){return(0,o.jsx)(`svg`,{"data-sanity-icon":`dot`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,o.jsx)(`circle`,{cx:12.5,cy:12.5,r:2.5,fill:`currentColor`,stroke:`currentColor`,strokeWidth:1.2})})});export{i as n,s as t};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`double-chevron-down`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M17 7.5C15.6332 8.86683 12.5 12 12.5 12L8 7.5M17 12.5C15.6332 13.8668 12.5 17 12.5 17L8 12.5`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as DoubleChevronDownIcon,a as default};
-1
View File
@@ -1 +0,0 @@
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n(),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(`svg`,{"data-sanity-icon":`double-chevron-left`,width:`1em`,height:`1em`,viewBox:`0 0 25 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,ref:t,children:(0,i.jsx)(`path`,{d:`M12.5 17L8 12.5L12.5 8M17.5 17L13 12.5L17.5 8`,stroke:`currentColor`,strokeWidth:1.2,strokeLinejoin:`round`})})});export{a as DoubleChevronLeftIcon,a as default};
Loaded 100 of 338 files, more files were not shown because too many files have changed in this diff. Show more