1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80205,e=>{"use strict";var t=e.i(866312),r=e.i(7560);function n(e,n){return(0,t.operate)(function(t,i){var o=0;t.subscribe((0,r.createOperatorSubscriber)(i,function(t){return e.call(n,t,o++)&&i.next(t)}))})}e.s(["filter",()=>n])},159862,e=>{"use strict";var t=e.i(516165),r=e.i(633482);function n(e){return new t.Observable(function(t){(0,r.innerFrom)(e()).subscribe(t)})}e.s(["defer",()=>n])},178480,e=>{"use strict";var t=e.i(544287),r=e.i(633482),n=e.i(982100),i=e.i(282519),o=e.i(187636);function a(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];var s=(0,i.popScheduler)(e),u=(0,i.popNumber)(e,1/0);return e.length?1===e.length?(0,r.innerFrom)(e[0]):(0,t.mergeAll)(u)((0,o.from)(e,s)):n.EMPTY}e.s(["merge",()=>a])},725764,e=>{"use strict";let t,r="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),n=new Uint8Array(16),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));e.s(["uuid",0,function(e,o,a){if(r&&!o&&!e)return r();let s=(e=e||{}).random??e.rng?.()??function(){if(!t){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(n)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,o){if((a=a||0)<0||a+16>o.length)throw RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`);for(let e=0;e<16;++e)o[a+e]=s[e];return o}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(s)}],725764)},728799,e=>{"use strict";e.s(["default",0,function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}])},619637,e=>{"use strict";var t=e.i(706462),r=e.i(492943);e.s(["default",0,function(e){return"symbol"==typeof e||(0,r.default)(e)&&"[object Symbol]"==(0,t.default)(e)}])},205800,638588,e=>{"use strict";var t=e.i(122954),r=e.i(728799),n=e.i(764843),i=e.i(619637),o=1/0,a=t.default?t.default.prototype:void 0,s=a?a.toString:void 0;let u=function e(t){if("string"==typeof t)return t;if((0,n.default)(t))return(0,r.default)(t,e)+"";if((0,i.default)(t))return s?s.call(t):"";var a=t+"";return"0"==a&&1/t==-o?"-0":a};e.s(["default",0,u],638588),e.s(["default",0,function(e){return null==e?"":u(e)}],205800)},982100,e=>{"use strict";var t=e.i(516165),r=new t.Observable(function(e){return e.complete()});function n(e){var n;return e?(n=e,new t.Observable(function(e){return n.schedule(function(){return e.complete()})})):r}e.s(["EMPTY",()=>r,"empty",()=>n])},262940,e=>{"use strict";var t=e.i(806298),r=e.i(827540);function n(e,n){return(0,r.isFunction)(n)?(0,t.mergeMap)(e,n,1):(0,t.mergeMap)(e,1)}e.s(["concatMap",()=>n])},591607,e=>{"use strict";var t=e.i(824627),r=e.i(913186),n=Array.isArray;function i(e){return(0,r.map)(function(r){return n(r)?e.apply(void 0,(0,t.__spreadArray)([],(0,t.__read)(r))):e(r)})}e.s(["mapOneOrManyArgs",()=>i])},597971,e=>{"use strict";var t,r=e.i(824627),n=e.i(79357),i=1,o={};function a(e){return e in o&&(delete o[e],!0)}var s=function(e){var r=i++;return o[r]=!0,t||(t=Promise.resolve()),t.then(function(){return a(r)&&e()}),r},u=function(e){a(e)},c={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=c.delegate;return((null==n?void 0:n.setImmediate)||s).apply(void 0,(0,r.__spreadArray)([],(0,r.__read)(e)))},clearImmediate:function(e){var t=c.delegate;return((null==t?void 0:t.clearImmediate)||u)(e)},delegate:void 0},l=function(e){function t(t,r){var n=e.call(this,t,r)||this;
1return n.scheduler=t,n.work=r,n}return(0,r.__extends)(t,e),t.prototype.requestAsyncId=function(t,r,n){return(void 0===n&&(n=0),null!==n&&n>0)?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=c.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i,o=t.actions;null!=r&&(null==(i=o[o.length-1])?void 0:i.id)!==r&&(c.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(n.AsyncAction),f=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.flush=function(e){this._active=!0;var t,r=this._scheduled;this._scheduled=void 0;var n=this.actions;e=e||n.shift();do if(t=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift())if(this._active=!1,t){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw t}},t}(e.i(745491).AsyncScheduler))(l);e.s(["asapScheduler",()=>f],597971)},108766,e=>{"use strict";var t=e.i(984648),r=e.i(178102);let n=(0,t.forwardRef)(function(e,t){return(0,r.jsx)("svg",{"data-sanity-icon":"remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,r.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})});e.s(["RemoveIcon",()=>n,"default",()=>n])},785076,e=>{"use strict";var t=e.i(984648),r=e.i(178102);let n=(0,t.forwardRef)(function(e,t){return(0,r.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,r.jsx)("path",{d:"M17 10L12.5 14.5L8 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})});e.s(["ChevronDownIcon",()=>n,"default",()=>n])},134213,e=>{"use strict";var t=e.i(984648),r=e.i(178102);let n=(0,t.forwardRef)(function(e,t){return(0,r.jsx)("svg",{"data-sanity-icon":"toggle-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,r.jsx)("path",{d:"M10.5 16V9L16 12.5L10.5 16Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})});e.s(["ToggleArrowRightIcon",()=>n,"default",()=>n])},475101,e=>{"use strict";var t=e.i(984648),r=e.i(178102);let n=(0,t.forwardRef)(function(e,t){return(0,r.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,r.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})});e.s(["CheckmarkIcon",()=>n,"default",()=>n])},607833,e=>{"use strict";var t=e.i(984648),r=e.i(178102);let n=(0,t.forwardRef)(function(e,t){return(0,r.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,r.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})});e.s(["CloseIcon",()=>n,"default",()=>n])},842134,(e,t,r)=>{"use strict";var n=e.r(984648).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;r.c=function(e){return n.H.useMemoCache(e)}},855848,(e,t,r)=>{"use strict";t.exports=e.r(842134)},35166,e=>{"use strict";function t(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}e.s(["default",()=>t])},570606,e=>{"use strict";var t=e.i(35166),r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,n=(0,t.default)(function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)});e.s(["default",()=>n])},42353,e=>{"use strict";var t=e.i(984648),r=e.i(178102);let n=(0,t.forwardRef)(function(e,t){return(0,r.jsx)("svg",{"data-sanity-icon":"spinner",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,r.jsx)("path",{d:"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})});e.s(["SpinnerIcon",()=>n,"default",()=>n])},156658,e=>{"use strict";var t=e.i(984648);let r=t.default.createContext(!0);function n(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}let i="use"in t.default?()=>{try{return t.default.use(r)}catch{return!1}}:()=>!1;function o(e){let r=t.default.useRef(n);return t.default.useInsertionEffect(()=>{r.current=e},[e]),(...e)=>(i()&&n(),(0,r.current)(...e))}e.s(["useEffectEvent",()=>o])},979278,e=>{"use strict";var t=e.i(808591);e.s(["Stack",()=>t.t])},686476,e=>{"use strict";var t=e.i(466735);e.s(["Card",()=>t.s])},885026,e=>{"use strict";function t(e){return"object"==typeof e&&!!e&&!Array.isArray(e)}function r(e){return t(e)&&"string"==typeof e._ref}function n(e){return t(e)&&r(e.asset)&&e.asset._ref.startsWith("image-")}function i(e){return t(e)&&"string"==typeof e._ref&&"string"==typeof e._dataset&&"string"==typeof e._projectId}function o(e){return t(e)&&"string"==typeof e._id&&"string"==typeof e._type}function a(e){return t(e)&&"string"==typeof e._type}function s(e){return t(e)&&"string"==typeof e._key}function u(e){return!!t(e)&&"string"==typeof e._ref&&3===e._ref.split(":").length}function c(e){return"error"===e.level}function l(e){return"warning"===e.level}function f(e){return"info"===e.level}function d(e){return"create"in e}function p(e){return"createIfNotExists"in e}function y(e){return"createOrReplace"in e}let h=/_key\s*==\s*['"](.*)['"]/,g=/^\d*:\d*$/;function m(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function v(e){return"string"==typeof e?h.test(e.trim()):"object"==typeof e&&"_key"in e}function b(e){if("string"==typeof e&&g.test(e))return!0;
1if(!Array.isArray(e)||2!==e.length)return!1;let[t,r]=e;return("number"==typeof t||""===t)&&("number"==typeof r||""===r)}function k(e){return!!e&&("object"==typeof e||"function"==typeof e)}function w(e){return k(e)&&"string"==typeof e._type&&Array.isArray(e.children)&&e.children.every(e=>k(e))&&(!("markDefs"in e)||Array.isArray(e.markDefs)&&e.markDefs.every(e=>k(e)))&&(!("style"in e)||"string"==typeof e.style)}function x(e){return k(e)&&"span"===e._type&&"string"==typeof e.text&&(!("marks"in e)||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function A(e){return!!e&&("object"==typeof e||"function"==typeof e)}function _(e){if(!S(e))return!1;let t=e;for(;t;){if("document"===t.name)return!0;t=t.type}return!1}function S(e){return!!A(e)&&"object"===e.jsonType}function T(e){return!!A(e)&&"array"===e.jsonType}function j(e){return T(e)&&e.of.some(e=>N(e))}function I(e){return T(e)&&e.of.every(e=>S(e))}function O(e){return T(e)&&e.of.every(e=>M(e))}function R(e){return T(e)&&e.of.every(e=>C(e))}function E(e){return!!A(e)&&"boolean"===e.jsonType}function C(e){return!!A(e)&&"string"===e.jsonType}function $(e){return!!C(e)&&"datetime"===e.name}function P(e){return!!A(e)&&"number"===e.jsonType}function M(e){return E(e)||C(e)||P(e)}function L(e){return!!A(e)&&void 0!==e.deprecated}function U(e){return"object"==typeof e&&!!e&&"title"in e&&"value"in e}function D(e){return!!A(e)&&Array.isArray(e.annotations)&&Array.isArray(e.decorators)}function N(e){if(!A(e)||!Array.isArray(e.fields))return!1;let t=e.fields.find(F),r=e.fields.find(V),n=e.fields.find(B);return F(t)&&V(r)&&B(n)}function V(e){return!!A(e)&&"style"===e.name&&A(e.type)&&"string"===e.type.jsonType}function B(e){return!!A(e)&&"listItem"===e.name&&A(e.type)&&"string"===e.type.jsonType}function F(e){return!!A(e)&&"children"===e.name&&!!T(e.type)&&e.type.of.some(D)}function W(e,t){return e}function H(e,t){return e}function q(e,t){return e}let z=["groq2024","groqLegacy"];function Y(e){return z.includes(e)}function J(e){return t(e)&&"string"==typeof e.current}function X(e){return"error"===e.level}function K(e){return"warning"===e.level}e.s(["defineArrayMember",()=>q,"defineField",()=>H,"defineType",()=>W,"isArrayOfBlocksSchemaType",()=>j,"isArrayOfObjectsSchemaType",()=>I,"isArrayOfPrimitivesSchemaType",()=>O,"isArrayOfStringsSchemaType",()=>R,"isArraySchemaType",()=>T,"isBlockSchemaType",()=>N,"isBooleanSchemaType",()=>E,"isCreateIfNotExistsMutation",()=>p,"isCreateMutation",()=>d,"isCreateOrReplaceMutation",()=>y,"isCrossDatasetReference",()=>i,"isCrossDatasetReferenceSchemaType",()=>function e(t){return A(t)&&("crossDatasetReference"===t.name||e(t.type))},"isDateTimeSchemaType",()=>$,"isDeprecatedSchemaType",()=>L,"isDocumentSchemaType",()=>_,"isFileSchemaType",()=>function e(t){return A(t)&&("file"===t.name||e(t.type))},"isGlobalDocumentReference",()=>u,"isImage",()=>n,"isImageSchemaType",()=>function e(t){return A(t)&&("image"===t.name||e(t.type))},"isIndexSegment",()=>m,"isIndexTuple",()=>b,"isKeySegment",()=>v,"isKeyedObject",()=>s,"isNumberSchemaType",()=>P,"isObjectSchemaType",()=>S,"isPortableTextSpan",()=>x,"isPortableTextTextBlock",()=>w,"isPrimitiveSchemaType",()=>M,"isReference",()=>r,"isReferenceSchemaType",()=>function e(t){return A(t)&&("reference"===t.name||e(t.type))},"isSanityDocument",()=>o,"isSearchStrategy",()=>Y,"isSlug",()=>J,"isSpanSchemaType",()=>D,"isStringSchemaType",()=>C,"isTitledListValue",()=>U,"isTypedObject",()=>a,"isValidationError",()=>X,"isValidationErrorMarker",()=>c,"isValidationInfoMarker",()=>f,"isValidationWarning",()=>K,"isValidationWarningMarker",()=>l,"searchStrategies",()=>z])},667569,e=>{"use strict";function t(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/_key\s*==\s*['"](.*)['"]/,i=/^\d*:\d*$/;function o(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function a(e){return"string"==typeof e?n.test(e.trim()):"object"==typeof e&&"_key"in e}function s(e){if("string"==typeof e&&i.test(e))return!0;
1if(!Array.isArray(e)||2!==e.length)return!1;let[t,r]=e;return("number"==typeof t||""===t)&&("number"==typeof r||""===r)}function u(e,t,r){let n="string"==typeof t?l(t):t;if(!Array.isArray(n))throw Error("Path must be an array or a string");let i=e;for(let e=0;e<n.length;e++){let t=n[e];if(o(t)){if(!Array.isArray(i))return r;i=i[t]}if(a(t)){if(!Array.isArray(i))return r;i=i.find(e=>e._key===t._key)}if("string"==typeof t&&(i="object"==typeof i&&null!==i?i[t]:void 0),typeof i>"u")return r}return i}function c(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,r)=>{let n=typeof t;if("number"===n)return`${e}[${t}]`;if("string"===n)return`${e}${0===r?"":"."}${t}`;if(a(t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[r,n]=t;return`${e}[${r}:${n}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}function l(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(r);if(!t)throw Error("Invalid path string");return t.map(f)}function f(e){return o(e)?Number(e.replace(/[^\d]/g,"")):a(e)?{_key:e.match(n)[1]}:s(e)?function(e){let[t,r]=e.split(":").map(e=>""===e?e:Number(e));return[t,r]}(e):e}var d=Object.freeze({__proto__:null,fromString:l,get:u,isIndexSegment:o,isIndexTuple:s,isKeySegment:a,reKeySegment:n,toString:c});let p="drafts",y="versions",h=`${p}.`,g=`${y}.`;function m(e){return e.startsWith(h)}function v(e){return e.startsWith(g)}function b(e){return!m(e)&&!v(e)}function k(e){return v(e)?h+A(e):m(e)?e:h+e}function w(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${g}${t}.${A(e)}`}function x(e){if(!v(e))return;let[t,r]=e.split(".");return r}function A(e){return v(e)?e.split(".").slice(2).join("."):m(e)?e.slice(h.length):e}let _={"\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","'":"\\'","\\":"\\\\"},S={"\\f":"\f","\\n":` 2`,"\\r":"\r","\\t":" ","\\'":"'","\\\\":"\\"};function T(e){return`$${e.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>_[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>_[e])}')]`:`[${e._index}]`).join("")}`}function j(e){let t,r=[],n=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;for(;null!==(t=n.exec(e));){if(void 0!==t[1]){let e=t[1].replace(/\\(\\|f|n|r|t|')/g,e=>S[e]);r.push(e);continue}if(void 0!==t[2]){r.push(parseInt(t[2],10));continue}if(void 0!==t[3]){let e=t[3].replace(/\\(\\')/g,e=>S[e]);r.push({_key:e,_index:-1});continue}}return r}function I(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(""!==e._key)return{_key:e._key};if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}function O(e){return("string"==typeof e?l(e):e).map(e=>{var t;if("string"==typeof e||"number"==typeof e)return e;if(Array.isArray(e))throw Error(`IndexTuple segments aren't supported:${JSON.stringify(e)}`);if("object"==typeof(t=e)&&"_key"in t&&"_index"in t)return e;if(e._key)return{_key:e._key,_index:-1};throw Error(`invalid segment:${JSON.stringify(e)}`)})}function R(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}function E(e,t){if(!t?.mappings)return;let r=T(R(e));if(void 0!==t.mappings[r])return{mapping:t.mappings[r],matchedPath:r,pathSuffix:""};let n=R(e).map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>_[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>_[e])}')]`:`[${e._index}]`);for(let e=n.length-1;e>=0;e--){let i=`$${n.slice(0,e).join("")}`,o=t.mappings[i];if(o){let e=r.substring(i.length);return{mapping:o,matchedPath:i,pathSuffix:e}}}}function C(e){let{baseUrl:t,workspace:r="default",tool:n="default",id:i,type:o,path:a,projectId:s,dataset:u}=e;if(!t)throw Error("baseUrl is required");if(!a)throw Error("path is required");if(!i)throw Error("id is required");if("/"!==t&&t.endsWith("/"))throw Error("baseUrl must not end with a slash");let l="default"===r?void 0:r,f="default"===n?void 0:n,d=A(i),p=Array.isArray(a)?c(I(a)):a,y=new URLSearchParams({baseUrl:t,id:d,type:o,path:p});if(l&&y.set("workspace",l),f&&y.set("tool",f),s&&y.set("projectId",s),u&&y.set("dataset",u),b(i))y.set("perspective","published");else if(v(i)){let e=x(i);y.set("perspective",e)}let h=["/"===t?"":t];l&&h.push(l);let g=["mode=presentation",`id=${d}`,`type=${o}`,`path=${encodeURIComponent(p)}`];return f&&g.push(`tool=${f}`),h.push("intent","edit",`${g.join(";")}?${y}`),h.join("/")}function $(e){let{resultSourceMap:t,resultPath:r}=e,{mapping:n,pathSuffix:i}=E(r,t)||{};
2if(!n||"literal"===n.source.type||"unknown"===n.source.type)return;let o=t.documents[n.source.document],a=t.paths[n.source.path];if(o&&a){var s;let t,{baseUrl:r,workspace:n,tool:u}=("/"!==(t="string"==typeof(s="function"==typeof e.studioUrl?e.studioUrl(o):e.studioUrl)?s:s.baseUrl)&&(t=t.replace(/\/$/,"")),"string"==typeof s?{baseUrl:t}:{...s,baseUrl:t});if(!r)return;let{_id:c,_type:l,_projectId:f,_dataset:d}=o;return{baseUrl:r,workspace:n,tool:u,id:c,type:l,path:j(a+i),projectId:f,dataset:d}}}e.s(["DRAFTS_FOLDER",()=>p,"VERSION_FOLDER",()=>y,"createEditUrl",()=>C,"get",()=>u,"getDraftId",()=>k,"getPublishedId",()=>A,"getVersionFromId",()=>x,"getVersionId",()=>w,"isDraftId",()=>m,"isPublishedId",()=>b,"isVersionId",()=>v,"jsonPath",()=>T,"jsonPathToStudioPath",()=>I,"parseJsonPath",()=>j,"resolveEditInfo",()=>$,"resolveMapping",()=>E,"studioPath",()=>d,"studioPathToJsonPath",()=>O,"toString",()=>c,"walkMap",()=>function e(r,n,i=[]){if(null!==r&&Array.isArray(r))return r.map((r,o)=>{if(t(r)){let t=r._key;if("string"==typeof t)return e(r,n,i.concat({_key:t,_index:o}))}return e(r,n,i.concat(o))});if(t(r)){if("block"===r._type||"span"===r._type){let t={...r};return"block"===r._type?t.children=e(r.children,n,i.concat("children")):"span"===r._type&&(t.text=e(r.text,n,i.concat("text"))),t}return Object.fromEntries(Object.entries(r).map(([t,r])=>[t,e(r,n,i.concat(t))]))}return n(r,i)}],667569)},122954,274874,659173,e=>{"use strict";var t=e.g&&e.g.Object===Object&&e.g;e.s(["default",0,t],274874);var r="object"==typeof self&&self&&self.Object===Object&&self,n=t||r||Function("return this")();e.s(["default",0,n],659173);var i=n.Symbol;e.s(["default",0,i],122954)},764843,e=>{"use strict";var t=Array.isArray;e.s(["default",0,t])},706462,e=>{"use strict";var t=e.i(122954),r=Object.prototype,n=r.hasOwnProperty,i=r.toString,o=t.default?t.default.toStringTag:void 0;let a=function(e){var t=n.call(e,o),r=e[o];try{e[o]=void 0;var a=!0}catch(e){}var s=i.call(e);return a&&(t?e[o]=r:delete e[o]),s};var s=Object.prototype.toString,u=t.default?t.default.toStringTag:void 0;e.s(["default",0,function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?a(e):s.call(e)}],706462)},492943,e=>{"use strict";e.s(["default",0,function(e){return null!=e&&"object"==typeof e}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.