1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,343084,e=>{"use strict";let t=["top","right","bottom","left"],r=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),n=Math.min,i=Math.max,o=Math.round,s=Math.floor,a={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e){return e.split("-")[0]}function l(e){return e.split("-")[1]}function c(e){return"x"===e?"y":"x"}function f(e){return"y"===e?"height":"width"}function p(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function d(e){return c(p(e))}function h(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],m=["right","left"],v=["top","bottom"],b=["bottom","top"];function g(e){let t=u(e);return a[t]+e.slice(t.length)}e.s(["clamp",0,function(e,t,r){return i(e,n(t,r))},"createCoords",0,e=>({x:e,y:e}),"evaluate",0,function(e,t){return"function"==typeof e?e(t):e},"floor",0,s,"getAlignment",0,l,"getAlignmentAxis",0,d,"getAlignmentSides",0,function(e,t,r){void 0===r&&(r=!1);let n=l(e),i=d(e),o=f(i),s="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=g(s)),[s,g(s)]},"getAxisLength",0,f,"getExpandedPlacements",0,function(e){let t=g(e);return[h(e),t,h(t)]},"getOppositeAlignmentPlacement",0,h,"getOppositeAxis",0,c,"getOppositeAxisPlacements",0,function(e,t,r,n){let i=l(e),o=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?m:y;return t?y:m;case"left":case"right":return t?v:b;default:return[]}}(u(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(h)))),o},"getOppositePlacement",0,g,"getPaddingObject",0,function(e){var t,r,n,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}},"getSide",0,u,"getSideAxis",0,p,"max",0,i,"min",0,n,"placements",0,r,"rectToClientRect",0,function(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}},"round",0,o,"sides",0,t])},229315,e=>{"use strict";let t;function r(){return"u">typeof window}function n(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function a(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function l(e){return!(!r()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function f(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let p=/transform|translate|scale|rotate|perspective|filter/,d=/paint|layout|strict|content/,h=e=>!!e&&"none"!==e;function y(e){let t=a(e)?b(e):e;return h(t.transform)||h(t.translate)||h(t.scale)||h(t.rotate)||h(t.perspective)||!m()&&(h(t.backdropFilter)||h(t.filter))||p.test(t.willChange||"")||d.test(t.contain||"")}function m(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function v(e){return/^(html|body|#document)$/.test(n(e))}function b(e){return i(e).getComputedStyle(e)}function g(e){if("html"===n(e))return e;let t=e.assignedSlot||e.parentNode||l(e)&&e.host||o(e);return l(t)?t.host:t}function _(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["getComputedStyle",0,b,"getContainingBlock",0,function(e){let t=g(e);for(;u(t)&&!v(t);){if(y(t))return t;if(f(t))break;t=g(t)}return null},"getDocumentElement",0,o,"getFrameElement",0,_,"getNodeName",0,n,"getNodeScroll",0,function(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"getOverflowAncestors",0,function e(t,r,n){var o;void 0===r&&(r=[]),void 0===n&&(n=!0);let s=function e(t){let r=g(t);return v(r)?(t.ownerDocument||t).body:u(r)&&c(r)?r:e(r)}(t),a=s===(null==(o=t.ownerDocument)?void 0:o.body),l=i(s);if(!a)return r.concat(s,e(s,[],n));{let t=_(l);
1return r.concat(l,l.visualViewport||[],c(s)?s:[],t&&n?e(t):[])}},"getParentNode",0,g,"getWindow",0,i,"isContainingBlock",0,y,"isElement",0,a,"isHTMLElement",0,u,"isLastTraversableNode",0,v,"isNode",0,s,"isOverflowElement",0,c,"isShadowRoot",0,l,"isTableElement",0,function(e){return/^(table|td|th)$/.test(n(e))},"isTopLayer",0,f,"isWebKit",0,m])},679474,(e,t,r)=>{"use strict";var n=e.r(271645).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;r.c=function(e){return n.H.useMemoCache(e)}},500932,(e,t,r)=>{"use strict";t.exports=e.r(679474)},934537,66511,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",0,t],66511);var 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|playsInline|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=t(function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)});e.s(["default",0,n],934537)},881933,(e,t,r)=>{"use strict";let n,i,o;var s,a,u=Object.create,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,p=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,h=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of f(t))d.call(e,i)||i===r||l(e,i,{get:()=>t[i],enumerable:!(n=c(t,i))||n.enumerable});return e},y={},m={$dispatcherGuard:()=>R,$makeReadOnly:()=>T,$reset:()=>C,$structuralCheck:()=>j,c:()=>k,clearRenderCounterRegistry:()=>N,renderCounterRegistry:()=>I,useRenderCounter:()=>P};for(var v in m)l(y,v,{get:m[v],enumerable:!0});t.exports=h(l({},"__esModule",{value:!0}),y);var b=(o=null!=(n=e.r(271645))?u(p(n)):{},h(!i&&n&&n.__esModule?o:l(o,"default",{value:n,enumerable:!0}),n)),{useRef:g,useEffect:_,isValidElement:w}=b,S=null!=(s=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?s:b.__SECRET_INT
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.memo_cache_sentinel"),k="function"==typeof(null==(a=b.__COMPILER_RUNTIME)?void 0:a.c)?b.__COMPILER_RUNTIME.c:function(e){return b.useMemo(()=>{let t=Array(e);for(let r=0;r<e;r++)t[r]=x;return t[x]=!0,t},[])},E={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{E[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var A=null;function O(e){return S.ReactCurrentDispatcher.current=e,S.ReactCurrentDispatcher.current}E.useMemoCache=e=>{if(null!=A)return A.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var $=[];function R(e){let t=S.ReactCurrentDispatcher.current;if(0===e){if($.push(t),1===$.length&&(A=t),t===E)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");O(E)}else if(1===e){let e=$.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===$.length&&(A=null),O(e)}else if(2===e)$.push(t),O(A);else if(3===e){let e=$.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");O(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function C(e){for(let t=0;t<e.length;t++)e[t]=x}function T(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var I=new Map;function N(){for(let e of I.values())e.forEach(e=>{e.count=0})}function P(e){let t=g(null);null!=t.current&&(t.current.count+=1),_(()=>{if(null==t.current){let r,n={count:0};null==(r=I.get(e))&&(r=new Set,I.set(e,r)),r.add(n),t.current=n}return()=>{var r;let n;null!==t.current&&(r=t.current,null!=(n=I.get(e))&&n.delete(r))}})}var M=new Set;function j(e,t,r,n,i,o){function s(e,t,s,a){let u=`${n}:${o} [${i}] ${r}${s} changed from ${e} to ${t} at depth ${a}`;M.has(u)||(M.add(u),console.error(u))}!function e(t,r,n,i){if(!(i>2)){if(t!==r)if(typeof t!=typeof r)s(`type ${typeof t}`,`type ${typeof r}`,n,i);else if("object"==typeof t){let o=Array.isArray(t),a=Array.isArray(r);if(null===t&&null!==r)s("null",`type ${typeof r}`,n,i);else if(null===r)s(`type ${typeof t}`,"null",n,i);else if(t instanceof Map)if(r instanceof Map)if(t.size!==r.size)s(`Map instance with size ${t.size}`,`Map instance with size ${r.size}`,n,i);else for(let[o,a]of t)r.has(o)?e(a,r.get(o),`${n}.get(${o})`,i+1):s(`Map instance with key ${o}`,`Map instance without key ${o}`,n,i);else s("Map instance","other value",n,i);else if(r instanceof Map)s("other value","Map instance",n,i);else if(t instanceof Set)if(r instanceof Set)if(t.size!==r.size)s(`Set instance with size ${t.size}`,`Set instance with size ${r.size}`,n,i);else for(let e of r)t.has(e)||s(`Set instance without element ${e}`,`Set instance with element ${e}`,n,i);else s("Set instance","other value",n,i);else if(r instanceof Set)s("other value","Set instance",n,i);else if(o||a)if(o!==a)s(`type ${o?"array":"object"}`,`type ${a?"array":"object"}`,n,i);else if(t.length!==r.length)s(`array with length ${t.length}`,`array with length ${r.length}`,n,i);else for(let o=0;o<t.length;o++)e(t[o],r[o],`${n}[${o}]`,i+1);else if(w(t)||w(r))w(t)!==w(r)?s(`type ${w(t)?"React element":"object"}`,`type ${w(r)?"React element":"object"}`,n,i):t.type!==r.type?s(`React element of type ${t.type}`,`React element of type ${r.type}`,n,i):e(t.props,r.props,`[props of ${n}]`,i+1);else{for(let e in r)e in t||s(`object without key ${e}`,`object with key ${e}`,n,i);for(let o in t)o in r?e(t[o],r[o],`${n}.${o}`,i+1):s(`object with key ${o}`,`object without key ${o}`,n,i)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(r)?isNaN(t)!==isNaN(r)&&s(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(r)?"NaN":"non-NaN value"}`,n,i):t!==r&&s(t,r,n,i)}}}(e,t,"",0)}},216024,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 s(e){return"string"==typeof e?n.test(e.trim()):"object"==typeof e&&"_key"in e}function a(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?c(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(s(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 l(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(s(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 c(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,"")):s(e)?{_key:e.match(n)[1]}:a(e)?function(e){let[t,r]=e.split(":").map(e=>""===e?e:Number(e));return[t,r]}(e):e}var p=Object.freeze({__proto__:null,fromString:c,get:u,isIndexSegment:o,isIndexTuple:a,isKeySegment:s,reKeySegment:n,toString:l});let d="drafts",h="versions",y=`${d}.`,m=`${h}.`;function v(e){return e.startsWith(y)}function b(e){return e.startsWith(m)}function g(e){return!v(e)&&!b(e)}function _(e){if(!b(e))return;let[t,r]=e.split(".");return r}function w(e){return b(e)?e.split(".").slice(2).join("."):v(e)?e.slice(y.length):e}let S={"\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","'":"\\'","\\":"\\\\"},x={"\\f":"\f","\\n":` 2`,"\\r":"\r","\\t":" ","\\'":"'","\\\\":"\\"};function k(e){return`$${e.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>S[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>S[e])}')]`:`[${e._index}]`).join("")}`}function E(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=>x[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=>x[e]);r.push({_key:e,_index:-1});continue}}return r}function A(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 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,t){if(!t?.mappings)return;let r=k(O(e));if(void 0!==t.mappings[r])return{mapping:t.mappings[r],matchedPath:r,pathSuffix:""};let n=O(e).map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>S[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>S[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}}}}e.s(["DRAFTS_FOLDER",0,d,"VERSION_FOLDER",0,h,"createEditUrl",0,function(e){let{baseUrl:t,workspace:r="default",tool:n="default",id:i,type:o,path:s,projectId:a,dataset:u}=e;if(!t)throw Error("baseUrl is required");if(!s)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 c="default"===r?void 0:r,f="default"===n?void 0:n,p=w(i),d=Array.isArray(s)?l(A(s)):s,h=new URLSearchParams({baseUrl:t,id:p,type:o,path:d});if(c&&h.set("workspace",c),f&&h.set("tool",f),a&&h.set("projectId",a),u&&h.set("dataset",u),g(i))h.set("perspective","published");else if(b(i)){let e=_(i);h.set("perspective",e)}let y=["/"===t?"":t];c&&y.push(c);let m=["mode=presentation",`id=${p}`,`type=${o}`,`path=${encodeURIComponent(d)}`];return f&&m.push(`tool=${f}`),y.push("intent","edit",`${m.join(";")}?${h}`),y.join("/")},"get",0,u,"getDraftId",0,function(e){return b(e)?y+w(e):v(e)?e:y+e},"getPublishedId",0,w,"getVersionFromId",0,_,"getVersionId",0,function(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${m}${t}.${w(e)}`},"isDraftId",0,v,"isPublishedId",0,g,"isVersionId",0,b,"jsonPath",0,k,"jsonPathToStudioPath",0,A,"parseJsonPath",0,E,"resolveEditInfo",0,function(e){let{resultSourceMap:t,resultPath:r}=e,{mapping:n,pathSuffix:i}=$(r,t)||{};
2if(!n||"literal"===n.source.type||"unknown"===n.source.type)return;let o=t.documents[n.source.document],s=t.paths[n.source.path];if(o&&s){var a;let t,{baseUrl:r,workspace:n,tool:u}=("/"!==(t="string"==typeof(a="function"==typeof e.studioUrl?e.studioUrl(o):e.studioUrl)?a:a.baseUrl)&&(t=t.replace(/\/$/,"")),"string"==typeof a?{baseUrl:t}:{...a,baseUrl:t});if(!r)return;let{_id:l,_type:c,_projectId:f,_dataset:p}=o;return{baseUrl:r,workspace:n,tool:u,id:l,type:c,path:E(s+i),projectId:f,dataset:p}}},"resolveMapping",0,$,"studioPath",0,p,"studioPathToJsonPath",0,function(e){return("string"==typeof e?c(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)}`)})},"toString",0,l,"walkMap",0,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)}],216024)},408659,e=>{"use strict";var t=e.i(290571),r=e.i(394426),n=e.i(909116),i=(0,e.i(842093).createErrorClass)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=e.i(586903),s=e.i(140260),a=function(e){function a(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,t.__extends)(a,e),a.prototype.lift=function(e){var t=new u(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new i},a.prototype.next=function(e){var r=this;(0,s.errorContext)(function(){var n,i;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=(0,t.__values)(r.currentObservers),s=o.next();!s.done;s=o.next())s.value.next(e)}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}})},a.prototype.error=function(e){var t=this;(0,s.errorContext)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},a.prototype.complete=function(){var e=this;(0,s.errorContext)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,s=this.observers;return r||i?n.EMPTY_SUBSCRIPTION:(this.currentObservers=null,s.push(e),new n.Subscription(function(){t.currentObservers=null,(0,o.arrRemove)(s,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},a.prototype.asObservable=function(){var e=new r.Observable;return e.source=this,e},a.create=function(e,t){return new u(e,t)},a}(r.Observable),u=function(e){function r(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return(0,t.__extends)(r,e),r.prototype.next=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.next)||r.call(t,e)},r.prototype.error=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.error)||r.call(t,e)},r.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},r.prototype._subscribe=function(e){var t,r;return null!=(r=null==(t=this.source)?void 0:t.subscribe(e))?r:n.EMPTY_SUBSCRIPTION},r}(a);e.s(["Subject",0,a],408659)},3670,e=>{"use strict";var t={now:function(){return(t.delegate||Date).now()},delegate:void 0};e.s(["dateTimestampProvider",0,t])},740144,e=>{"use strict";var t=e.i(290571),r=e.i(408659),n=e.i(3670),i=function(e){function r(t,r,i){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===i&&(i=n.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,r),o}return(0,t.__extends)(r,e),r.prototype.next=function(t){var r=this.isStopped,n=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,s=this._windowTime;!r&&(n.push(t),i||n.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},r.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},r.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,i=(n?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!n){for(var o=t.now(),s=0,a=1;a<r.length&&r[a]<=o;a+=2)s=a;s&&r.splice(0,s+1)}},r}(r.Subject);e.s(["ReplaySubject",0,i])},844032,e=>{"use strict";var t=e.i(484973),r=e.i(979165);e.s(["mergeAll",0,function(e){return void 0===e&&(e=1/0),(0,t.mergeMap)(r.identity,e)}])},673649,871041,e=>{"use strict";var t=e.i(603752);function r(e){return e&&(0,t.isFunction)(e.schedule)}function n(e){return e[e.length-1]}e.s(["isScheduler",0,r],871041),e.s(["popNumber",0,function(e,t){return"number"==typeof n(e)?e.pop():t},"popResultSelector",0,function(e){return(0,t.isFunction)(n(e))?e.pop():void 0},"popScheduler",0,function(e){return r(n(e))?e.pop():void 0}],673649)},330823,669450,170920,2223,e=>{"use strict";var t=e.i(220324),r=e.i(175436),n=e.i(902965),i=e.i(627608);function o(e,t){return void 0===t&&(t=0),(0,n.operate)(function(n,o){n.subscribe((0,i.createOperatorSubscriber)(o,function(n){return(0,r.executeSchedule)(o,e,function(){return o.next(n)},t)},function(){return(0,r.executeSchedule)(o,e,function(){return o.complete()},t)},function(n){return(0,r.executeSchedule)(o,e,function(){return o.error(n)},t)}))})}function s(e,t){return void 0===t&&(t=0),(0,n.operate)(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}e.s(["observeOn",0,o],669450),e.s(["subscribeOn",0,s],170920);var a=e.i(394426),u=e.i(177650),l=e.i(603752);function c(e,t){if(!e)throw Error("Iterable cannot be null");return new a.Observable(function(n){(0,r.executeSchedule)(n,t,function(){var i=e[Symbol.asyncIterator]();(0,r.executeSchedule)(n,t,function(){i.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}var f=e.i(717718),p=e.i(349449),d=e.i(987675),h=e.i(23515),y=e.i(238331),m=e.i(254824),v=e.i(311902);function b(e,n){if(null!=e){if((0,f.isInteropObservable)(e))return(0,t.innerFrom)(e).pipe(s(n),o(n));if((0,d.isArrayLike)(e))return new a.Observable(function(t){var r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})});if((0,p.isPromise)(e))return(0,t.innerFrom)(e).pipe(s(n),o(n));if((0,y.isAsyncIterable)(e))return c(e,n);if((0,h.isIterable)(e))return new a.Observable(function(t){var i;return(0,r.executeSchedule)(t,n,function(){i=e[u.iterator](),(0,r.executeSchedule)(t,n,function(){var e,r,n;try{r=(e=i.next()).value,n=e.done}catch(e){t.error(e);return}n?t.complete():t.next(r)},0,!0)}),function(){return(0,l.isFunction)(null==i?void 0:i.return)&&i.return()}});if((0,v.isReadableStreamLike)(e))return c((0,v.readableStreamLikeToAsyncGenerator)(e),n)}throw(0,m.createInvalidObservableTypeError)(e)}e.s(["scheduled",0,b],2223),e.s(["from",0,function(e,r){return r?b(e,r):(0,t.innerFrom)(e)}],330823)},993817,e=>{"use strict";var t=e.i(844032),r=e.i(220324),n=e.i(96623),i=e.i(673649),o=e.i(330823);e.s(["merge",0,function(){for(var e=[],s=0;s<arguments.length;s++)e[s]=arguments[s];var a=(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,a)):n.EMPTY}])},128068,e=>{"use strict";var t=e.i(902965);e.s(["finalize",0,function(e){return(0,t.operate)(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}])},277497,e=>{"use strict";var t=e.i(290571),r=e.i(220324),n=e.i(408659),i=e.i(240126),o=e.i(902965);function s(e,n){for(var o=[],s=2;s<arguments.length;s++)o[s-2]=arguments[s];if(!0===n)return void e();if(!1!==n){var a=new i.SafeSubscriber({next:function(){a.unsubscribe(),e()}});return(0,r.innerFrom)(n.apply(void 0,(0,t.__spreadArray)([],(0,t.__read)(o)))).subscribe(a)}}e.s(["share",0,function(e){void 0===e&&(e={});var t=e.connector,a=void 0===t?function(){return new n.Subject}:t,u=e.resetOnError,l=void 0===u||u,c=e.resetOnComplete,f=void 0===c||c,p=e.resetOnRefCountZero,d=void 0===p||p;return function(e){var t,n,u,c=0,p=!1,h=!1,y=function(){null==n||n.unsubscribe(),n=void 0},m=function(){y(),t=u=void 0,p=h=!1},v=function(){var e=t;m(),null==e||e.unsubscribe()};return(0,o.operate)(function(e,o){c++,h||p||y();var b=u=null!=u?u:a();o.add(function(){0!=--c||h||p||(n=s(v,d))}),b.subscribe(o),!t&&c>0&&(t=new i.SafeSubscriber({next:function(e){return b.next(e)},error:function(e){h=!0,y(),n=s(m,l,e),b.error(e)},complete:function(){p=!0,y(),n=s(m,f),b.complete()}}),(0,r.innerFrom)(e).subscribe(t))})(e)}}])},329418,e=>{"use strict";var t=e.i(290571),r=function(e){function r(t,r){return e.call(this)||this}return(0,t.__extends)(r,e),r.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},r}(e.i(909116).Subscription),n={setInterval:function(e,r){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var s=n.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,(0,t.__spreadArray)([e,r],(0,t.__read)(i))):setInterval.apply(void 0,(0,t.__spreadArray)([e,r],(0,t.__read)(i)))},clearInterval:function(e){var t=n.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},i=e.i(586903),o=function(e){function r(t,r){var n=e.call(this,t,r)||this;
2return n.scheduler=t,n.work=r,n.pending=!1,n}return(0,t.__extends)(r,e),r.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(i,this.id,t),this},r.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),n.setInterval(e.flush.bind(e,this),r)},r.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&n.clearInterval(t)},r.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},r.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,i.arrRemove)(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},r}(r);e.s(["AsyncAction",0,o],329418)},629437,796989,e=>{"use strict";var t=e.i(329418),r=e.i(290571),n=e.i(3670),i=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.dateTimestampProvider.now,e}(),o=function(e){function t(t,r){void 0===r&&(r=i.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,r.__extends)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift())if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(i);e.s(["AsyncScheduler",0,o],796989);var s=new o(t.AsyncAction);e.s(["async",0,s,"asyncScheduler",0,s],629437)},817312,161538,e=>{"use strict";var t=e.i(394426),r=e.i(629437),n=e.i(871041);function i(e){return e instanceof Date&&!isNaN(e)}e.s(["isValidDate",0,i],161538),e.s(["timer",0,function(e,o,s){void 0===e&&(e=0),void 0===s&&(s=r.async);var a=-1;return null!=o&&((0,n.isScheduler)(o)?s=o:a=o),new t.Observable(function(t){var r=i(e)?e-s.now():e;r<0&&(r=0);var n=0;return s.schedule(function(){t.closed||(t.next(n++),0<=a?this.schedule(void 0,a):t.complete())},r)})}],817312)},234915,e=>{"use strict";var t=(0,e.i(842093).createErrorClass)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});e.s(["EmptyError",0,t])},305753,e=>{"use strict";var t=e.i(234915);e.s(["lastValueFrom",0,function(e,r){var n="object"==typeof r;return new Promise(function(i,o){var s,a=!1;e.subscribe({next:function(e){s=e,a=!0},error:o,complete:function(){a?i(s):n?i(r.defaultValue):o(new t.EmptyError)}})})}])},245281,e=>{"use strict";var t=e.i(673649),r=e.i(330823);e.s(["of",0,function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=(0,t.popScheduler)(e);return(0,r.from)(e,i)}])},218692,e=>{"use strict";var t=e.i(603752),r=e.i(902965),n=e.i(627608),i=e.i(979165);e.s(["tap",0,function(e,o,s){var a=(0,t.isFunction)(e)||o||s?{next:e,error:o,complete:s}:e;return a?(0,r.operate)(function(e,t){null==(r=a.subscribe)||r.call(a);var r,i=!0;e.subscribe((0,n.createOperatorSubscriber)(t,function(e){var r;null==(r=a.next)||r.call(a,e),t.next(e)},function(){var e;i=!1,null==(e=a.complete)||e.call(a),t.complete()},function(e){var r;i=!1,null==(r=a.error)||r.call(a,e),t.error(e)},function(){var e,t;i&&(null==(e=a.unsubscribe)||e.call(a)),null==(t=a.finalize)||t.call(a)}))}):i.identity}])},827341,e=>{"use strict";var t=e.i(740144),r=e.i(277497);e.s(["shareReplay",0,function(e,n,i){var o,s,a,u,l=!1;return e&&"object"==typeof e?(u=void 0===(o=e.bufferSize)?1/0:o,n=void 0===(s=e.windowTime)?1/0:s,l=void 0!==(a=e.refCount)&&a,i=e.sc
2heduler):u=null!=e?e:1/0,(0,r.share)({connector:function(){return new t.ReplaySubject(u,n,i)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}])}]);
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.