1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,470284,e=>{"use strict";e.s(["ccount",0,function(e,n){let t=String(e);if("string"!=typeof n)throw TypeError("Expected character");let l=0,r=t.indexOf(n);for(;-1!==r;)l++,r=t.indexOf(n,r+n.length);return l}])},816220,e=>{"use strict";e.s(["parse",0,function(e){let n=[],t=String(e||""),l=t.indexOf(","),r=0,o=!1;for(;!o;){-1===l&&(l=t.length,o=!0);let e=t.slice(r,l).trim();(e||!o)&&n.push(e),r=l+1,l=t.indexOf(",",r)}return n},"stringify",0,function(e,n){let t=n||{};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}])},897802,e=>{"use strict";e.s(["ok",0,function(){},"unreachable",0,function(){}])},465741,899936,e=>{"use strict";let n=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,t=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};e.s(["name",0,function(e,r){return((r||l).jsx?t:n).test(e)}],465741),e.s(["hastToReact",0,{classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"}],899936)},158206,e=>{"use strict";let n=/[ \t\n\f\r]/g;function t(e){return""===e.replace(n,"")}e.s(["whitespace",0,function(e){return"object"==typeof e?"text"===e.type&&t(e.value):t(e)}])},369090,(e,n,t)=>{"use strict";var l=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function p(e){return e?e.replace(c,""):""}n.exports=function(e,n){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,c=1;function d(e){var n=e.match(r);n&&(t+=n.length);var l=e.lastIndexOf("\n");c=~l?e.length-l:c+e.length}function m(){var e={line:t,column:c};return function(n){return n.position=new h(e),f(o),n}}function h(e){this.start=e,this.end={line:t,column:c},this.source=n.source}function g(l){var r=Error(n.source+":"+t+":"+c+": "+l);if(r.reason=l,r.filename=n.source,r.line=t,r.column=c,r.source=e,n.silent);else throw r}function f(n){var t=n.exec(e);if(t){var l=t[0];return d(l),e=e.slice(l.length),t}}function y(e){var n;for(e=e||[];n=b();)!1!==n&&e.push(n);return e}function b(){var n=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var t=2;""!=e.charAt(t)&&("*"!=e.charAt(t)||"/"!=e.charAt(t+1));)++t;if(t+=2,""===e.charAt(t-1))return g("End of comment missing");var l=e.slice(2,t-2);return c+=2,d(l),e=e.slice(t),c+=2,n({type:"comment",comment:l})}}h.prototype.content=e,f(o);var v,x=[];for(y(x);v=function(){var e=m(),n=f(a);if(n){if(b(),!f(i))return g("property missing ':'");var t=f(s),r=e({type:"declaration",property:p(n[0].replace(l,"")),value:t?p(t[0].replace(l,"")):""});return f(u),r}}();)!1!==v&&(x.push(v),y(x));return x}},559596,(e,n,t)=>{"use strict";var l=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,n){let t=null;if(!e||"string"!=typeof e)return t;let l=(0,r.default)(e),o="function"==typeof n;return l.forEach(e=>{if("declaration"!==e.type)return;let{property:l,value:r}=e;o?n(l,r,e):r&&((t=t||{})[l]=r)}),t};let r=l(e.r(369090))},851521,(e,n,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var l=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(e,n){return n.toUpperCase()},u=function(e,n){return"".concat(n,"-")};t.camelCase=function(e,n){var t;return(void 0===n&&(n={}),!(t=e)||o.test(t)||l.test(t))?e:(e=e.toLowerCase(),(e=n.reactCompat?e.replace(i,u):e.replace(a,u)).replace(r,s))}},763185,(e,n,t)=>{"use strict";
1var l=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(559596)),r=e.r(851521);function o(e,n){var t={};return e&&"string"==typeof e&&(0,l.default)(e,function(e,l){e&&l&&(t[(0,r.camelCase)(e,n)]=l)}),t}o.default=o,n.exports=o},732460,e=>{"use strict";var n=e.i(83790);let t={name:"book-open",size:24,node:[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]};t.node;let l=(0,n.default)(t);e.s(["BookOpen",0,l],732460)},780010,e=>{"use strict";var n=e.i(128397);e.s(["ChevronLeft",()=>n.default])},434864,e=>{"use strict";var n=e.i(83790);let t={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};t.node;let l=(0,n.default)(t);e.s(["Type",0,l],434864)},636929,e=>{"use strict";var n=e.i(83790);let t={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};t.node;let l=(0,n.default)(t);e.s(["Upload",0,l],636929)},788293,e=>{"use strict";var n=e.i(83790);let t={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};t.node;let l=(0,n.default)(t);e.s(["Zap",0,l],788293)},61634,e=>{"use strict";var n=e.i(273072),t=e.i(360285),l=e.i(461033),r=e.i(626378);function o(e){let n={},o={};for(let[r,a]of Object.entries(e.properties)){let i=new l.DefinedInfo(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),n[r]=i,o[(0,t.normalize)(r)]=r,o[(0,t.normalize)(i.attribute)]=r}return new r.Schema(n,o,e.space)}var a=e.i(383954);let i=o({properties:{ariaActiveDescendant:null,ariaAtomic:a.booleanish,ariaAutoComplete:null,ariaBusy:a.booleanish,ariaChecked:a.booleanish,ariaColCount:a.number,ariaColIndex:a.number,ariaColSpan:a.number,ariaControls:a.spaceSeparated,ariaCurrent:null,ariaDescribedBy:a.spaceSeparated,ariaDetails:null,ariaDisabled:a.booleanish,ariaDropEffect:a.spaceSeparated,ariaErrorMessage:null,ariaExpanded:a.booleanish,ariaFlowTo:a.spaceSeparated,ariaGrabbed:a.booleanish,ariaHasPopup:null,ariaHidden:a.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a.spaceSeparated,ariaLevel:a.number,ariaLive:null,ariaModal:a.booleanish,ariaMultiLine:a.booleanish,ariaMultiSelectable:a.booleanish,ariaOrientation:null,ariaOwns:a.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:a.number,ariaPressed:a.booleanish,ariaReadOnly:a.booleanish,ariaRelevant:null,ariaRequired:a.booleanish,ariaRoleDescription:a.spaceSeparated,ariaRowCount:a.number,ariaRowIndex:a.number,ariaRowSpan:a.number,ariaSelected:a.booleanish,ariaSetSize:a.number,ariaSort:null,ariaValueMax:a.number,ariaValueMin:a.number,ariaValueNow:a.number,ariaValueText:null,role:null},transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase()});function s(e,n){return n in e?e[n]:n}function u(e,n){return s(e,n.toLowerCase())}let c=o({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:a.commaSeparated,acceptCharset:a.spaceSeparated,accessKey:a.spaceSeparated,action:null,allow:null,allowFullScreen:a.boolean,allowPaymentRequest:a.boolean,allowUserMedia:a.boolean,alt:null,as:null,async:a.boolean,autoCapitalize:null,autoComplete:a.spaceSeparated,autoFocus:a.boolean,autoPlay:a.boolean,blocking:a.spaceSeparated,capture:null,charSet:null,checked:a.boolean,cite:null,className:a.spaceSeparated,cols:a.number,colSpan:null,content:null,contentEditable:a.booleanish,controls:a.boolean,controlsList:a.spaceSeparated,coords:a.number|a.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a.boolean,defer:a.boolean,dir:null,dirName:null,disabled:a.boolean,download:a.overloadedBoolean,draggable:a.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a.boolean,formTarget:null,headers:a.spaceSeparated,height:a.number,hidden:a.overloadedBoolean,high:a.number,href:null,hrefLang:null,htmlFor:a.spaceSeparated,httpEquiv:a.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:a.boolean,inputMode:null,integrity:null,is:null,isMap:a.boolean,itemId:null,itemProp:a.spaceSeparated,itemRef:a.spaceSeparated,itemScope:a.boolean,itemType:a.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a.boolean,low:a.number,manifest:null,max:null,maxLength:a.number,media:null,method:null,min:null,minLength:a.number,multiple:a.boolean,muted:a.boolean,name:null,nonce:null,noModule:a.boolean,noValidate:a.boolean,onAbort:null,onAfterPrint:null,onAuxCl
1ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a.boolean,optimum:a.number,pattern:null,ping:a.spaceSeparated,placeholder:null,playsInline:a.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:a.boolean,referrerPolicy:null,rel:a.spaceSeparated,required:a.boolean,reversed:a.boolean,rows:a.number,rowSpan:a.number,sandbox:a.spaceSeparated,scope:null,scoped:a.boolean,seamless:a.boolean,selected:a.boolean,shadowRootClonable:a.boolean,shadowRootDelegatesFocus:a.boolean,shadowRootMode:null,shape:null,size:a.number,sizes:null,slot:null,span:a.number,spellCheck:a.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:a.number,step:null,style:null,tabIndex:a.number,target:null,title:null,translate:null,type:null,typeMustMatch:a.boolean,useMap:null,value:a.booleanish,width:a.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:a.spaceSeparated,axis:null,background:null,bgColor:null,border:a.number,borderColor:null,bottomMargin:a.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a.boolean,declare:a.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:a.number,leftMargin:a.number,link:null,longDesc:null,lowSrc:null,marginHeight:a.number,marginWidth:a.number,noResize:a.boolean,noHref:a.boolean,noShade:a.boolean,noWrap:a.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:a.number,rules:null,scheme:null,scrolling:a.booleanish,standby:null,summary:null,text:null,topMargin:a.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:a.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a.boolean,disableRemotePlayback:a.boolean,prefix:null,property:null,results:a.number,security:null,unselectable:null},space:"html",transform:u}),p=o({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav
1-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:a.commaOrSpaceSeparated,accentHeight:a.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:a.number,amplitude:a.number,arabicForm:null,ascent:a.number,attributeName:null,attributeType:null,azimuth:a.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:a.number,by:null,calcMode:null,capHeight:a.number,className:a.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:a.number,diffuseConstant:a.number,direction:null,display:null,dur:null,divisor:a.number,dominantBaseline:null,download:a.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:a.number,enableBackgroun
1d:null,end:null,event:null,exponent:a.number,externalResourcesRequired:null,fill:null,fillOpacity:a.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:a.commaSeparated,g2:a.commaSeparated,glyphName:a.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:a.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:a.number,horizOriginX:a.number,horizOriginY:a.number,id:null,ideographic:a.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:a.number,k:a.number,k1:a.number,k2:a.number,k3:a.number,k4:a.number,kernelMatrix:a.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:a.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:a.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:a.number,overlineThickness:a.number,paintOrder:null,panose1:null,path:null,pathLength:a.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:a.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:a.number,pointsAtY:a.number,pointsAtZ:a.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:a.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:a.commaOrSpaceSeparated,rev:a.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:a.commaOrSpaceSeparated,requiredFeatures:a.commaOrSpaceSeparated,requiredFonts:a.commaOrSpaceSeparated,requiredFormats:a.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:a.number,specularExponent:a.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:a.number,strikethroughThickness:a.number,string:null,stroke:null,strokeDashArray:a.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:a.number,strokeOpacity:a.number,strokeWidth:null,style:null,surfaceScale:a.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:a.commaOrSpaceSeparated,tabIndex:a.number,tableValues:null,target:null,targetX:a.number,targetY:a.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:a.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:a.number,underlineThickness:a.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:a.number,values:null,vAlphabetic:a.number,vMathematical:a.number,vectorEffect:null,vHanging:a.number,vIdeographic:a.number,version:null,vertAdvY:a.number,vertOriginX:a.number,vertOriginY:a.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:a.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:s}),d=o({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,n)=>"xlink:"+n.slice(5).toLowerCase()}),m=o({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:u}),h=o({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase()}),g=(0,n.merge)([i,c,d,m,h],"html"),f=(0,n.merge)([i,p,d,m,h],"svg");e.s(["html",0,g,"svg",0,f],61634)},273638,e=>{"use strict";var n=e.i(461033),t=e.i(475915),l=e.i(360285);let r=/[A-Z]/g,o=/-[a-z]/g,a=/^data[-\w.:]+$/i;function i(e){return"-"+e.toLowerCase()}function s(e){return e.charAt(1).toUpperCase()}e.s(["find",0,function(e,u){let c=(0,l.normalize)(u),p=u,d=t.Info;if(c in e.normal)return e.property[e.normal[c]];if(c.length>4&&"data"===c.slice(0,4)&&a.test(u)){if("-"===u.charAt(4)){let e=u.slice(5).replace(o,s);p="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=u.slice(4);if(!o.test(e)){let n=e.replace(r,i);"-"!==n.charAt(0)&&(n="-"+n),u="data"+n}}d=n.DefinedInfo}return new d(p,u)}])},360285,e=>{"use strict";e.s(["normalize",0,function(e){return e.toLowerCase()}])},461033,475915,383954,e=>{"use strict";class n{constructor(e,n){this.attribute=n,this.property=e}}n.prototype.attribute="",n.prototype.booleanish=!1,n.prototype.boolean=!1,n.prototype.commaOrSpaceSeparated=!1,n.prototype.commaSeparated=!1,n.prototype.defined=!1,n.prototype.mustUseProperty=!1,n.prototype.number=!1,n.prototype.overloadedBoolean=!1,n.prototype.property="",n.prototype.spaceSeparated=!1,n.prototype.space=void 0,e.s(["Info",0,n],475915);let t=0,l=c(),r=c(),o=c(),a=c(),i=c(),s=c(),u=c();function c(){return 2**++t}e.s(["boolean",0,l,"booleanish",0,r,"commaOrSpaceSeparated",0,u,"commaSeparated",0,s,"number",0,a,"overloadedBoolean",0,o,"spaceSeparated",0,i],383954);var p=e.i(383954);let d=Object.keys(p);class m extends n{constructor(e,n,t,l){let r=-1;if(super(e,n),function(e,n,t){t&&(e[n]=t)}(this,"space",l),"number"==typeof t)for(;++r<d.length;){const e=d[r];!function(e,n,t){t&&(e[n]=t)}(this,d[r],(t&p[e])===p[e])}}}m.prototype.defined=!0,e.s(["DefinedInfo",0,m],461033)},273072,626378,e=>{"use strict";class n{constructor(e,n,t){this.normal=n,this.property=e,t&&(this.space=t)}}n.prototype.normal={},n.prototype.property={},n.prototype.space=void 0,e.s(["Schema",0,n],626378),e.s(["merge",0,function(e,t){let l={},r={};for(let n of e)Object.assign(l,n.property),Object.assign(r,n.normal);return new n(l,r,t)}],273072)},722365,e=>{"use strict";e.s(["parse",0,function(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]},"stringify",0,function(e){return e.join(" ").trim()}])},417798,e=>{"use strict";let n=l("end"),t=l("start");function l(e){return function(n){let t=n&&n.position&&n.position[e]||{};if("number"==typeof t.line&&t.line>0&&"number"==typeof t.column&&t.column>0)return{line:t.line,column:t.column,offset:"number"==typeof t.offset&&t.offset>-1?t.offset:void 0}}}e.s(["pointEnd",0,n,"pointStart",0,t,"position",0,function(e){let l=t(e),r=n(e);if(l&&r)return{start:l,end:r}}])},678543,e=>{"use strict";let n=new Set(["md","markdown"]),t=new Set(["html","htm"]),l=new Set(["mmd","mermaid"]),r=new Set(["js","jsx","ts","tsx","css","json","py","python","java","c","cpp","h","cs","go","rs","php","rb","sh","bash","xml","yml","yaml","toml","sql","graphql","swift","kotlin","dart","r","lua","scala","perl","haskell","rust"]),o=new Set(["png","jpg","jpeg","gif","webp","svg","bmp","ico"]),a=new Set(["mp4","webm","mov"]),i=new Set(["pptx","ppt","potx"]),s=new Set(["csv","tsv"]),u=new Set(["xlsx","xls"]),c=new Set(["txt","log","env","ini"]),p=new Set(["dockerfile","makefile",".gitignore",".dockerignore",".gitattributes",".editorconfig"]),d=[[n,"markdown"],[l,"mermaid"],[t,"html"],[r,"code"],[o,"image"],[a,"video"],["pdf","pdf"],["docx","docx"],[i,"pptx"],[s,"csv"],[u,"xlsx"],[c,"text"],["tar","tar"]],m=new Set(["pdf","docx","pptx","image"]),h=new Set(["markdown","html","text","code"]),g=new Set(["xlsx","csv","html","mermaid","tar","video"]),f=new Set(["code","text","markdown","csv","html","mermaid"]),y=new Set(["xlsx","csv"]),b=new Set(["image","pdf","docx","xlsx","pptx","html","video"]);e.s(["BLANK_THUMBNAIL_FILE_TYPES",0,y,"DOCUMENT_THUMBNAIL_SCALE",0,.4,"DOCUMENT_VIEWER_FILE_TYPES",0,m,"DOCUMENT_VIEWER_ZOOM_BOUNDS",0,{min:25,max:400},"RICH_PREVIEW_FILE_TYPES",0,b,"SELF_MANAGED_FILE_TYPES",0,g,"TEXT_CONTENT_FILE_TYPES",0,f,"TEXT_SEARCHABLE_FILE_TYPES",0,h,"VIDEO_EXTENSIONS",0,a,"VIEWPORT_ZOOM_BOUNDS",0,{min:25,max:200}
1,"ZOOM_DEFAULT_PERCENT",0,100,"ZOOM_MAX_PERCENT",0,200,"ZOOM_MIN_PERCENT",0,25,"ZOOM_STEP_PERCENT",0,10,"clampZoomPercent",0,function(e){return Math.max(25,Math.min(200,Math.round(e)))},"getFileTypeFromExtension",0,function(e){let n=e.toLowerCase(),t=n.split(".").pop()??"";for(let[e,n]of d)if("string"==typeof e?t===e:e.has(t))return n;if(p.has(n))return"text";let l=n.split(".")[0];return l&&p.has(l)?"text":"binary"}])},376399,e=>{"use strict";var n,t=((n={}).Navigating="navigating",n.WaitingForInput="waiting_for_input",n.Writing="writing",n.Creating="creating",n.Rendering="rendering",n.Done="done",n.Error="error",n);e.s(["ExecutionCardStatus",()=>t,"isExecutionCardLive",0,function(e){return"done"!==e&&"error"!==e}])},924953,e=>{"use strict";var n=e.i(41931),t=e.i(115703),l=e.i(418837);let r="/workspace";function o(e){if(!e)return r;let n=e.startsWith("/")?e:`/${e}`;n.startsWith(r)||(n=`${r}${n}`);try{n=n.replace(/\\u([0-9a-fA-F]{4})/g,(e,n)=>String.fromCharCode(parseInt(n,16)))}catch(e){console.error("Error processing Unicode escapes in path:",e)}return n}e.s(["WORKSPACE_PATH",0,r,"constructPublicSandboxFileUrl",0,(e,n,t,l)=>{let o=t||`app.${l}`,a=n.replace(RegExp(`^${r}/`),"");return`https://${e}-agent.${o}/${a}`},"getFileUrl",0,function(e,r){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.FileSource.Sandbox;if(!r)return r;if(a===l.FileSource.Deliverable)return`${(0,t.getBackendUrl)()}${r}`;if(!e)return r;let i=o(r),s=(0,t.getBackendUrl)();return(0,n.buildUrlWithParams)(`${s}/p/sandboxes/${e}/files/content`,{path:i})},"isWorkspaceSandboxPath",0,function(e){return!!e?.startsWith(r)},"normalizeWorkspacePath",0,o])},130084,e=>{"use strict";let n=e.i(832356).z.enum(["pending","success","skipped_too_large","skipped_unsupported","skipped_agent_upload","skipped_no_qtoken","skipped_encrypted"]);n.enum,e.s(["ASSISTANT_MODE",0,{AGENT:"agent",CHAT:"chat"},"FILE_UPLOAD_ERROR_TYPE",0,{MAX_FILES_EXCEEDED:"max_files_exceeded",FILE_TYPE_UNSUPPORTED:"file_type_unsupported",FILE_SIZE_EXCEEDED:"file_size_exceeded",CONTEXT_WINDOW_EXCEEDED:"context_window_exceeded"},"FILE_UPLOAD_STATUS",0,{PENDING:"pending",UPLOADING:"uploading",SUCCESS:"success",ERROR:"error",PENDING_TRANSCRIPTION:"pending_transcription",TRANSCRIBING:"transcribing",TRANSCRIBED:"transcribed"},"ParserdStatusSchema",0,n,"isReasoningMessage",0,e=>"reasoning_title"===e.type||"reasoning_summary"===e.type])},80790,273936,406919,64717,e=>{"use strict";var n=e.i(236601);let t={KNOWLEDGE_GRAPH:"kg-",DOCUMENT:"doc-",WEB:"web-",STYLEGUIDE:"sg-",COMPLIANCE_PACK:"cp-",ENTERPRISE_BRAIN:"eb-"};function l(e){return e?e.trim().replace(/_/g,"-"):""}e.s(["CITATION_PREFIXES",0,t],273936),e.s(["categorizeCitations",0,function(e){let n=!1,l=!1,r=!1;for(let o of e)o.startsWith(t.DOCUMENT)?n=!0:o.startsWith(t.WEB)?l=!0:o.startsWith(t.KNOWLEDGE_GRAPH)&&(r=!0);return{hasDocSources:n,hasWebSources:l,hasKGSources:r}},"getCitationSource",0,function(e){let n=l(e);return n.startsWith(t.DOCUMENT)?"document":n.startsWith(t.ENTERPRISE_BRAIN)?"enterprise-brain":n.startsWith(t.WEB)?"web":n.startsWith(t.STYLEGUIDE)||n.startsWith(t.COMPLIANCE_PACK)?"styleguide":n.startsWith(t.KNOWLEDGE_GRAPH)?"knowledge-graph":"knowledge-graph-legacy"},"normalizeCitationId",0,l],406919);let r="#citation-group-",o="inline-flex items-center justify-center focus:outline-2 focus:outline-ring active:outline-2 active:outline-ring",a=`size-5 p-0.5 ${o}`,i=`h-4.5 w-fit px-1 ${o}`;e.s(["CITATION_CHAR_END",0,")","CITATION_CHAR_START",0,"(","CITATION_GROUP_PREFIX",0,r,"groupCitationButtonClasses",0,i,"singleCitationButtonClasses",0,a],64717);let s=(e,n,t)=>{let l=t.substring(e.endIndex,n.startIndex).trim();return/^,?\s*$/.test(l)},u=(e,n)=>{let r=e=>{let n=l(e);return n.startsWith(t.DOCUMENT)?"doc":n.startsWith(t.WEB)?"web":n.startsWith(t.STYLEGUIDE)?"styleguide":"kg"};return r(e.id)===r(n.id)},c=[["ã","ã"],["ã","ã"],["ã","ã"],["ã","ã"],["ã","ã"],["â
","â"],["\\u3010","\\u3011"],["\\u3016","\\u3017"],["\\u301a","\\u301b"],["\\u3014","\\u3015"],["\\u3018","\\u3019"],["\\u2045","\\u2046"]],p=c.map(e=>{let[n]=e;return n.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}).join("|"),d=c.map(e=>{let[,n]=e;return n.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}).join("|"),m=new Set(c.filter(e=>{let[,n]=e;return 1===n.length}).map(e=>{let[,n]=e;return n})),h=RegExp(`(?:${p}
1)(?:(?!${d}).)+(?:${d})`,"s"),g=RegExp(`(?:${p})((?:(?!${d}).)+)(?:${d})`,"gs"),f=RegExp(` ?(?:${p})(?:(?!${d}).)+(?:${d})([.,!?;:])`,"gs"),y=RegExp(`( ?)(?:${p})(?:(?!${d}).)+?(?:${d})( ?)`,"gs");e.s(["CITATION_BRACKETS",0,c,"CLOSING_BRACKET_CHARS",0,m,"CUSTOM_INLINE_CITATION_REGEX",0,g,"extractInlineCitations",0,e=>{let n=[];if(!e)return n;let t=new RegExp(g.source,g.flags),l=t.exec(e);for(;null!==l;){let r=l[1]??"";n.push({id:r,title:r,fullMatch:l[0],startIndex:l.index,endIndex:l.index+l[0].length}),0===l[0].length&&(t.lastIndex+=1),l=t.exec(e)}return n},"findCitationGroups",0,e=>{let n,t,l,o=(e=>{let n=/\(\[([^\]]+)\]\(([^)]+)\)\)/g,t=[],l=n.exec(e);for(;null!==l;){let[r,o,a]=l,i=l.index+r.length;t.push({id:a,title:o,fullMatch:r,startIndex:l.index,endIndex:i}),l=n.exec(e)}return t})(e);if(0===o.length)return{groups:[],processedText:e};let a=((e,n)=>{if(0===e.length)return[];let t=[],l=[e[0]];for(let r=1;r<e.length;r++){let o=e[r-1],a=e[r];s(o,a,n)&&u(o,a)?l.push(a):(t.push(l),l=[a])}return t.push(l),t})(o,e);return{groups:a.filter(e=>e.length>1),processedText:(n=e,t=0,l=0,a.forEach(e=>{if(e.length>1){let o,a=e[0],i=e[e.length-1],s=a.startIndex-t,u=i.endIndex-t,c="."===n[u]?".":"",p=(o=l,`[citation-group-${o}](${r}${o})${c}`);n=n.substring(0,s)+p+n.substring(u+ +!!c),t+=u-s-p.length+ +!!c,l++}}),n)}},"getCitationReference",0,e=>{let{id:n,references:r,docReferences:o,docThreadCache:a,webThreadCache:i,kgThreadCache:s,styleguideThreadCache:u}=e,c=l(n);return c.startsWith(t.DOCUMENT)?a?.get(c)??o?.files.find(e=>e.metadata.cite===c)??null:c.startsWith(t.WEB)?i?.get(c)??null:c.startsWith(t.STYLEGUIDE)||c.startsWith(t.COMPLIANCE_PACK)?u?.get(c)??null:c.startsWith(t.KNOWLEDGE_GRAPH)?s?.get(c)??null:r?.files.find(e=>l(e.metadata.cite)===c)??r?.web.find(e=>l(e.metadata.cite)===c)??null},"hasDocumentCitations",0,e=>h.test(e),"isCitation",0,e=>{let{id:n,title:t,text:l}=e;return!!n&&"string"==typeof t&&l.includes(`([${t}](${n}))`)},"isCitationGroup",0,e=>!!e?.startsWith(r),"removeCitationWrappers",0,e=>Array.isArray(e)?n.Children.map(e,(n,t)=>{if("string"!=typeof n)return n;let l=n,r=e[t-1],o=e[t+1];return n.endsWith("(")&&o?.props?.node?.tagName==="a"&&(l=l.slice(0,-1)),n.startsWith(")")&&r?.props?.node?.tagName==="a"&&(l=l.slice(1)),l}):e,"removeInlineCitations",0,e=>e?e.replace(g,""):"","removeInlineCitationsAndCleanSpacing",0,e=>{if(!e)return"";let n=e.replace(f,"$1");return n.replace(y,(e,n,t)=>n&&t?" ":"")},"sanitizeCitationText",0,e=>e.replace(/\s+/g," ").trim()],80790)},573375,601533,980615,635099,817597,e=>{"use strict";var n=e.i(247862),t=e.i(975157),l=e.i(236601),r=e.i(816220),o=e.i(897802),a=e.i(465741),i=e.i(158206),s=e.i(273638),u=e.i(899936),c=e.i(61634),p=e.i(722365),d=e.i(763185),m=e.i(417798);function h(e){return e&&"object"==typeof e?"position"in e||"type"in e?f(e.position):"start"in e||"end"in e?f(e):"line"in e||"column"in e?g(e):"":""}function g(e){return y(e&&e.line)+":"+y(e&&e.column)}function f(e){return g(e&&e.start)+"-"+g(e&&e.end)}function y(e){return e&&"number"==typeof e?e:1}e.s(["stringifyPosition",0,h],601533);class b extends Error{constructor(e,n,t){super(),"string"==typeof n&&(t=n,n=void 0);let l="",r={},o=!1;if(n&&(r="line"in n&&"column"in n||"start"in n&&"end"in n?{place:n}:"type"in n?{ancestors:[n],place:n.position}:{...n}),"string"==typeof e?l=e:!r.cause&&e&&(o=!0,l=e.message,r.cause=e),!r.ruleId&&!r.source&&"string"==typeof t){const e=t.indexOf(":");-1===e?r.ruleId=t:(r.source=t.slice(0,e),r.ruleId=t.slice(e+1))}if(!r.place&&r.ancestors&&r.ancestors){const e=r.ancestors[r.ancestors.length-1];e&&(r.place=e.position)}const a=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=a?a.line:void 0,this.name=h(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=o&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}b.prototype.file="",b.prototype.name="",b.prototype.reason="",b.prototype.message="",b.prototype.stack="",b.prototype.column=void 0,b.prototype.line=void 0,b.prototype.ancestors=void 0,b.prototype.cause=void 0,b.prototype.fatal=void 0,b.prototype.place=void 0,b.prototype.ruleId=void 0,b.prototype.source=void 0,e.s(["VFileMessage",0,b],980615);let v={}.hasOwnProperty,x=new Map,S=/[A-Z]/g,w=new Set(["table","tbody","thead","tfoot","tr"]),C=new Set(["td","th"]),E="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function k(e,n){var t,l,r,o;let a;if(!n||void 0===n.Fragment)throw TypeError("Expected `Fragment` in options");let i=n.filePath||void 0;if(n.development){if("function"!=typeof n.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");t=i,l=n.jsxDEV,a=function(e,n,r,o){let a=Array.isArray(r.children),i=(0,m.pointStart)(e);return l(n,r,o,a,{columnNumber:i?i.column-1:void 0,fileName:t,lineNumber:i?i.line:void 0},void 0)}}else{if("function"!=typeof n.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof n.jsxs)throw TypeError("Expected `jsxs` in production options");r=n.jsx,o=n.jsxs,a=function(e,n,t,l){let a=Array.isArray(t.children)?o:r;return l?a(n,t,l):a(n,t)}}let s={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:a,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:!1!==n.passKeys,passNode:n.passNode||!1,schema:"svg"===n.space?c.svg:c.html,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==n.tableCellAlignToStyle},u=R(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}function R(e,n,t){var l,a,m,h,g,f,y,x,k;let R,A,_,D,N,U,$,j,F,W,B;return"element"===n.type?(l=e,a=n,m=t,A=R=l.schema,"svg"===a.tagName.toLowerCase()&&"html"===R.space&&(l.schema=c.svg),l.ancestors.push(a),_=M(l,a.tagName,!1),D=function(e,n){let t,l,o={};for(l in n.properties)if("children"!==l&&v.call(n.properties,l)){let a=function(e,n,t){let l=(0,s.find)(e.schema,n);if(!(null==t||"number"==typeof t&&Number.isNaN(t))){if(Array.isArray(t)&&(t=l.commaSeparated?(0,r.stringify)(t):(0,p.stringify)(t)),"style"===l.property){let n="object"==typeof t?t:function(e,n){try{return(0,d.default)(n,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=new b("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=E+"#cannot-parse-style-attribute",n}}(e,String(t));return"css"===e.stylePropertyNameCase&&(n=function(e){let n,t={};for(n in e)v.call(e,n)&&(t[function(e){let n=e.replace(S,I);return"ms-"===n.slice(0,3)&&(n="-"+n),n}(n)]=e[n]);return t}(n)),["style",n]}return["react"===e.elementAttributeNameCase&&l.space?u.hastToReact[l.property]||l.property:l.attribute,t]}}(e,l,n.properties[l]);if(a){let[l,r]=a;e.tableCellAlignToStyle&&"align"===l&&"string"==typeof r&&C.has(n.tagName)?t=r:o[l]=r}}return t&&((o.style||(o.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=t),o}(l,a),N=L(l,a),w.has(a.tagName)&&(N=N.filter(function(e){return"string"!=typeof e||!(0,i.whitespace)(e)})),T(l,D,_,a),P(D,N),l.ancestors.pop(),l.schema=R,l.create(a,_,D,m)):"mdxFlowExpression"===n.type||"mdxTextExpression"===n.type?function(e,n){if(n.data&&n.data.estree&&e.evaluater){let t=n.data.estree.body[0];return(0,o.ok)("ExpressionStatement"===t.type),e.evaluater.evaluateExpression(t.expression)}O(e,n.position)}(e,n):"mdxJsxFlowElement"===n.type||"mdxJsxTextElement"===n.type?(h=e,g=n,f=t,$=U=h.schema,"svg"===g.name&&"html"===U.space&&(h.schema=c.svg),h.ancestors.push(g),j=null===g.name?h.Fragment:M(h,g.name,!0),F=function(e,n){let t={};for(let l of n.attributes)if("mdxJsxExpressionAttribute"===l.type)if(l.data&&l.data.estree&&e.evaluater){let n=l.data.estree.body[0];(0,o.ok)("ExpressionStatement"===n.type);let r=n.expression;(0,o.ok)("ObjectExpression"===r.type);let a=r.properties[0];(0,o.ok)("SpreadElement"===a.type),Object.assign(t,e.evaluater.evaluateExpression(a.argument))}else O(e,n.position);else{let r,a=l.name;if(l.value&&"object"==typeof l.value)if(l.value.data&&l.value.data.estree&&e.evaluater){let n=l.value.data.estree.body[0];(0,o.ok)("ExpressionStatement"===n.type),r=e.evaluater.evaluateExpression(n.expression)}else O(e,n.position);else r=null===l.value||l.value;t[a]=r}return t}(h,g),W=L(h,g),T(h,F,j,g),P(F,W),h.ancestors.pop(),h.schema=U,h.create(g,j,F,f)):"mdxjsEsm"===n.type?function(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);O(e,n.position)}(e,n):"root"===n.type?(y=e,x=n,k=t,P(B={},L(y,x)),y.create(x,y.Fragment,B,k)):"text"===n.type?n.value:void 0}function T(e,n,t,l){"string"!=typeof t&&t!==e.Fragment&&e.passNode&&(n.node=l)}function P(e,n){if(n.length>0){let t=n.length>1?n:n[0];t&&(e.children=t)}}function L(e,n){let t=[],l=-1,r=e.passKeys?new Map:x;for(;++l<n.children.length;){let o,a=n.children[l];if(e.passKeys){let e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){let n=r.get(e)||0;o=e+"-"+n,r.set(e,n+1)}}let i=R(e,a,o);void 0!==i&&t.push(i)}return t}function M(e,n,t){let l;if(t)if(n.includes(".")){let e,t=n.split("."),r=-1;for(;++r<t.length;){let n=(0,a.name)(t[r])?{type:"Identifier",name:t[r]}:{type:"Literal",value:t[r]};e=e?{type:"MemberExpression",object:e,property:n,computed:!!(r&&"Literal"===n.type),optional:!1}:n}(0,o.ok)(e,"always a result"),l=e}else l=(0,a.name)(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};else l={type:"Literal",value:n};if("Literal"===l.type){let n=l.value;return v.call(e.components,n)?e.components[n]:n}if(e.evaluater)return e.evaluater.evaluateExpression(l);O(e)}function O(e,n){let t=new b("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});
1throw t.file=e.filePath||void 0,t.url=E+"#cannot-handle-mdx-estrees-without-createevaluater",t}function I(e){return"-"+e.toLowerCase()}e.s(["toJsxRuntime",0,k],635099);var A=e.i(518071);let _=null,D=[{pre(e){e.properties.style&&(e.properties.style=e.properties.style.replace(/background-color:[^;]+;?/g,""))}}];function N(t,r,o){let{resolvedTheme:a}=(0,A.useTheme)(),[i,s]=(0,l.useState)(null);(0,l.useRef)(!1);let u=o?.theme||("dark"===a?"github-dark":"github-light"),c="string"==typeof u?u:u.name??"custom-syntax-theme",p=o?.throttleMs??0,d=(0,l.useRef)({code:"string"==typeof t?t:"",language:r||"plaintext",theme:u,themeKey:c}),m=(0,l.useRef)(!1),h=(0,l.useRef)(!1),g=(0,l.useRef)(!1);return(0,l.useEffect)(()=>(g.current=!1,()=>{g.current=!0}),[]),(0,l.useEffect)(()=>{let n="string"==typeof t?t:"";if(d.current={code:n,language:r||"plaintext",theme:u,themeKey:c},!n.trim()){s(null),m.current=!1;return}if(m.current=!0,h.current)return;h.current=!0;let l=async()=>{for(;m.current&&!g.current&&(m.current=!1,p>0&&await new Promise(e=>setTimeout(e,p)),!g.current);){let{code:n,language:t,theme:l,themeKey:r}=d.current;if(!n?.trim()){s(null);continue}try{let o=await (!_&&(_=e.A(324612).then(e=>e.codeToHast)),_),a=await o(n,{lang:t,theme:l,transformers:D});if(g.current)break;let i=d.current;if(n!==i.code||t!==i.language||r!==i.themeKey)continue;s(a)}catch(l){if(g.current)break;let e=d.current;if(n!==e.code||t!==e.language||r!==e.themeKey)continue;s(null)}}h.current=!1,m.current&&!g.current&&(h.current=!0,l())};l()},[t,r,u,c,p]),(0,l.useMemo)(()=>i?k(i,{Fragment:n.Fragment,jsx:n.jsx,jsxs:n.jsxs}
1):null,[i])}e.s(["useSyntaxHighlightElement",0,N],817597),e.s(["CodeBlock",0,function(e){let{children:l,className:r,...o}=e;return(0,n.jsx)("div",{className:(0,t.cn)("w-full flex-grow min-w-0 overflow-hidden flex",r),...o,children:l})},"CodeBlockCode",0,function(e){let{code:l,language:r="tsx",theme:o,className:a,wrapLines:i=!1,...s}=e,u=N(l,r,{theme:o}),c=(0,t.cn)("[&_pre]:!text-foreground [&_pre]:!bg-card [&_pre]:rounded-lg [&_pre]:p-4 [&_pre]:!w-full [&_pre]:!flex-grow [&_pre]:!min-w-0 [&_pre]:!box-border [&_.shiki]:!w-full [&_.shiki]:!flex-grow [&_.shiki]:!min-w-0 [&_code]:!min-w-0 [&_span]:font-mono",i?"[&_pre]:!overflow-x-hidden [&_.shiki]:!overflow-x-hidden [&_code]:!whitespace-pre-wrap [&_code]:!break-words":"[&_pre]:!overflow-x-auto [&_.shiki]:!overflow-x-auto [&_code]:!whitespace-pre","w-full flex-grow min-w-0 overflow-hidden flex",a);return u?(0,n.jsx)("div",{className:c,...s,children:u}):(0,n.jsx)("div",{className:c,...s,children:(0,n.jsx)("pre",{className:(0,t.cn)("!w-full !flex-grow !min-w-0 !box-border",i?"!overflow-x-hidden whitespace-pre-wrap break-words":"!overflow-x-auto"),children:(0,n.jsx)("code",{children:l})})})}],573375)},548915,e=>{"use strict";var n=e.i(247862),t=e.i(508748),l=e.i(586715);e.s(["DocumentCircle",0,e=>{let{outerClassName:r,className:o,size:a=16,...i}=e;return(0,n.jsx)(l.IconCircle,{className:r,children:(0,n.jsx)(t.Document,{className:o,size:a,...i})})}])},508748,e=>{"use strict";var n=e.i(247862),t=e.i(236601);e.s(["Document",0,e=>{let{className:l,size:r=11,...o}=e,a=(0,t.useId)();return(0,n.jsxs)("svg",{width:r,height:r,className:l,viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,n.jsx)("g",{clipPath:`url(#${a})`,children:(0,n.jsx)("path",{d:"M9.57918 3.19281H8.21076C7.96881 3.19281 7.73676 3.0967 7.56568 2.92561C7.39459 2.75452 7.29848 2.52248 7.29848 2.28053V0.912109M3.19321 3.64895V7.66299C3.19321 7.79983 3.28444 7.93667 3.37567 8.0279C3.4669 8.11913 3.60374 8.21035 3.74058 8.21035H6.84234M1.36865 5.47351V9.48755C1.36865 9.62439 1.45988 9.76123 1.55111 9.85246C1.64234 9.94369 1.77918 10.0349 1.91602 10.0349H5.01778M9.57918 2.73667V5.70158C9.57918 6.0665 9.25988 6.38579 8.89497 6.38579H5.70199C5.33707 6.38579 5.01778 6.0665 5.01778 5.70158V1.59632C5.01778 1.23141 5.33707 0.912109 5.70199 0.912109H7.75462L9.57918 2.73667Z",stroke:"currentColor",strokeWidth:"0.684211",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:a,children:(0,n.jsx)("rect",{width:"10.9474",height:"10.9474",fill:"white"})})})]})}])},586715,e=>{"use strict";var n=e.i(247862),t=e.i(975157);e.s(["IconCircle",0,function(e){let{children:l,className:r}=e;return(0,n.jsx)("span",{className:(0,t.cn)("bg-muted-secondary-selected rounded-full flex shrink-0 w-5 h-5 items-center justify-center",r),children:l})}])},855008,e=>{"use strict";var n=e.i(247862),t=e.i(586715),l=e.i(371205);e.s(["KnowledgeGraphCircle",0,e=>{let{outerClassName:r,className:o,size:a=16,...i}=e;return(0,n.jsx)(t.IconCircle,{className:r,children:(0,n.jsx)(l.KnowledgeGraph,{className:o,size:a,...i})})}])},371205,e=>{"use strict";var n=e.i(247862);e.s(["KnowledgeGraph",0,e=>{let{className:t,size:l=14,fillColor:r="#F5F5F9",...o}=e;return(0,n.jsxs)("svg",{width:l,height:l,className:t,viewBox:"0 0 14 14",fill:"none",...o,children:[(0,n.jsx)("path",{d:"M5.31152 3.63867L11.102 8.14235",stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("path",{d:"M5.35449 3.53125L10.4581 2.4375",stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("line",{x1:"4.5287",y1:"10.3686",x2:"10.9625",y2:"7.79509",stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("path",{d:"M5.35384 4.625L4.98926 10.0938L1.70801 6.8125",stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("path",{d:"M1.70801 6.81315L5.35384 3.89648",stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("path",{d:"M1.70801 5.72852C2.30621 5.72852 2.79182 6.21336 2.79199 6.81152C2.79199 7.40983 2.30632 7.89551 1.70801 7.89551C1.10985 7.89533 0.625 7.40972 0.625 6.81152C0.625176 6.21347 1.10996 5.72869 1.70801 5.72852Z",fill:r,stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("circle",{cx:"10.4583",cy:"2.43783",r:"1.08333",fill:r,stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("circle",{cx:"10.8226",cy:"7.9056",r:"2.17708",fill:r,stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("circle",{cx:"5.354",cy:"3.89648",r:"1.8125",fill:r,stroke:"currentColor",strokeWidth:"0.75"}),(0,n.jsx)("circle",{cx:"4.98958",cy:"10.0941",r:"2.17708",fill:r,stroke:"currentColor",strokeWidth:"0.75"})]})}])},344468,e=>{"use strict";var n,t=((n={}).ContentLibrary="content-library",n.BrandGuidelines="brand-guidelines",n.CompanyInfo="company-info",n.Audiences="audiences",n.ComplianceLegal="compliance-legal",n.Simulator="simulator",n.Settings="settings",n);let l="content-library",r=Object.values(t);function o(e){let{organizationId:n}=e;return`/organization/${n}/enterprise-brain`}function a(e){let{organizationId:n,tab:t}=e;return`${o({organizationId:n})}/${t}`}function i(e){return r.find(n=>n===e)??null}e.s(["DEFAULT_ENTERPRISE_BRAIN_TAB",0,l,"EnterpriseBrainTab",()=>t,"getAvailableEnterpriseBrainTabs",0,function(e){let{audiencesEnabled:n,companyInfoEnabled:t,settingsEnabled:l,simulatorEnabled:o}=e;return r.filter(e=>(n||"audiences"!==e)&&(t||"company-info"!==e)&&(o||"simulator"!==e)&&(l||"settings"!==e))},"getContentLibraryAssetPath",0,function(e){let{organizationId:n,assetId:t}=e;return`${a({organizationId:n,tab:"content-library"})}/${t}`},"getEnterpriseBrainOnboardingPath",0,function(e){return`${o(e)}/onboarding`},"getEnterpriseBrainTabPath",0,a,"isEnterpriseBrainPath",0,function(e){return/^\/organization\/[^/]+\/enterprise-brain(?:\/|$)/.test(e)},"parseEnterpriseBrainTab",0,i,"resolveLegacyEnterpriseBrainTab",0,function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,t=i(e.get("tab")?.replaceAll("_","-"));return t&&n.includes(t)?t:e.has("file")||e.has("styleguide")?"brand-guidelines":e.has("pack")?"compliance-legal":l}])},431982,e=>{"use strict";let n=new Map([["api","API"],["fds","FDS"],["id","ID"],["mcp","MCP"],["sql","SQL"],["vc","VC"],["html","HTML"],["pdf","PDF"],["csv","CSV"],["json","JSON"],["xml","XML"],["md","MD"],["ppt","PPT"],["pptx","PPTX"],["doc","DOC"],["docx","DOCX"],["xls","XLS"],["xlsx","XLSX"],["atlassian","Atlassian"],["jira","Jira"]]);function t(e){return e?e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[-_]+/g," ").replace(/\s+/g," ").trim().toLowerCase().replace(/\b\w+\b/g,e=>n.get(e.toLowerCase())??e):""}e.s(["toSentenceCase",0,function(e){let n=t(e);return n?n.charAt(0).toUpperCase()+n.slice(1):""},"toSpacedLowercase",0,t,"toTitleCase",0,function(e){let n=t(e);return n?n.replace(/\b\w/g,e=>e.toUpperCase()):""}])},857034,e=>{"use strict";var n=e.i(236601),t=e.i(115703),l=e.i(971564),r=e.i(924953);function o(e,n,l){n||(n=l);let r=(0,t.getBackendUrl)(),o="/p/proxy/sandbox/";try{let t=new URL(e),l=t.pathname.match(/^\/api\/sandboxes\/([^/]+)\/proxy\/(\d+)(?:\/(.*))?$/);if(l){let e=l[1],n=l[2],a=l[3],i=a?`/${a}`:"";return`${r}${o}${n}-${e}${i}${t.search}${t.hash}`}if(t.hostname.endsWith(`.${n}`)){let e=t.hostname.split(".")[0].replace(/-(preview|agent)$/,""),n=t.pathname.replace(/^\/proxy\//,"");return n=n.replace(/^\/+/,""),`${r}${o}${e}/${n}${t.search}${t.hash}`}return e}catch(n){return e}}let a=/^[\w-]{11}$/,i=new Set(["youtube.com","youtu.be","youtube-nocookie.com"]),s=new Set(["embed","shorts","live","v"]);function u(e){if(e?.vnc_preview)return`${e.vnc_preview}/vnc_lite.html?password=${encodeURIComponent(e.pass??"")}&autoconnect=true&scale=local&width=1024&height=768`}e.s(["buildVncLiteUrl",0,u,"constructHtmlPreviewUrl",0,function(e,n,t,l,a){
1if(!e||!n)return;let i=n.replace(RegExp(`^${r.WORKSPACE_PATH}/`),"").split("/").map(e=>encodeURIComponent(e)).join("/"),s=e.replace(/\/$/,""),u=`${s}/${i}`;return t&&a&&(u=o(u,l??null,a)),u},"convertToInternalSandboxUrl",0,o,"getDisplayHostname",0,function(e){return(function(e){try{return new URL(e).hostname.toLowerCase()}catch{return""}})(e).replace(/^www\./,"")||e},"getFaviconUrl",0,function(e){try{let n=new URL(e).hostname;return`https://www.google.com/s2/favicons?domain=${n}&sz=128`}catch{return null}},"getSafeExternalUrl",0,function(e){if("string"!=typeof e)return null;try{let n=new URL(e.trim());return"http:"===n.protocol||"https:"===n.protocol?n.href:null}catch{return null}},"isCrossOriginFromAppWindow",0,function(e){if(!e)return!1;try{return new URL(e,window.location.origin).origin!==window.location.origin}catch{return!1}},"isPreviewEnvironment",0,function(){try{return new URL((0,t.getBackendUrl)()).hostname.endsWith(".chicken-dojo.ts.net")}catch{return!1}},"isSameOriginUrl",0,function(e){if(!e)return!1;try{return new URL(e,window.location.origin).origin===window.location.origin}catch{return!1}},"parseYoutubeVideoId",0,function(e){let n;try{n=new URL(e.trim())}catch{return null}let t=n.hostname.toLowerCase().replace(/^(www\.|m\.)/,"");if(!i.has(t))return null;let l=n.searchParams.get("v");if(l&&a.test(l))return l;let r=n.pathname.split("/").filter(Boolean),o="youtu.be"===t?r[0]:r.length>1&&s.has(r[0])?r[1]:void 0;return o&&a.test(o)?o:null},"useVncWebsocket",0,function(e){let t=(e=>{let{config:t}=(0,l.useConfig)();return(0,n.useMemo)(()=>{let n=u(e);if(n)return t?.applicationDomain&&(n=function(e){try{let n=new URL(e);n.pathname=n.pathname.replace("/p/proxy/sandbox/","/proxy/sandbox/");let t=n.pathname.split("/").filter(Boolean),l=t.findIndex(e=>"sandbox"===e);if(-1===l||t.length<=l+1)return e;let r=t.slice(0,l+2),o=`${r.join("/")}/websockify`;return n.searchParams.set("path",o),n.toString()}catch(n){return e}}(n=o(n,t.sandboxProxyDomain??null,t.applicationDomain))),n},[e,t?.sandboxProxyDomain,t?.applicationDomain])})(e);return(0,n.useMemo)(()=>(function(e){if(!e)return null;try{let n=new URL(e),t="https:"===n.protocol?"wss:":"ws:",l=n.searchParams.get("password")??"",r=n.searchParams.get("path"),o=r?`/${r.replace(/^\//,"")}`:`${n.pathname.replace(/\/vnc_lite\.html$/,"")}/websockify`;return{wsUrl:`${t}//${n.host}${o}`,password:l}}catch{return null}})(t),[t])},"youtubeThumbnailUrl",0,function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"maxres";return`https://img.youtube.com/vi/${encodeURIComponent(e)}/${n}default.jpg`},"youtubeWatchUrl",0,function(e){return`https://www.youtube.com/watch?v=${encodeURIComponent(e)}`}])},428920,34313,339063,603497,592745,492303,e=>{"use strict";var n=e.i(404590);let t=(0,n.create)((e,n)=>({docReferences:new Map,threadCache:new Map,setDocReferences:(n,t)=>{e(e=>{let l=new Map(e.docReferences),r=new Map(e.threadCache);return l.set(n,t),t.files.forEach(e=>{e.metadata.cite&&!r.has(e.metadata.cite)&&r.set(e.metadata.cite,e)}),{docReferences:l,threadCache:r}})},retainMessages:n=>e(e=>{let t=!1,l=new Map;return e.docReferences.forEach((e,r)=>{n.has(r)?l.set(r,e):t=!0}),t?{docReferences:l}:e}),reset:()=>e({docReferences:new Map,threadCache:new Map})}));e.s(["useDocumentReferences",0,t],34313),e.s([],428920);let l=(0,n.create)(e=>({webSearchReferences:new Map,threadCache:new Map,setWebSearchReferences:(n,t)=>{e(e=>{let l=new Map(e.webSearchReferences),r=new Map(e.threadCache);return l.set(n,t),t.web.forEach(e=>{e.metadata.cite&&!r.has(e.metadata.cite)&&r.set(e.metadata.cite,e)}),{webSearchReferences:l,threadCache:r}})},retainMessages:n=>e(e=>{let t=!1,l=new Map;return e.webSearchReferences.forEach((e,r)=>{n.has(r)?l.set(r,e):t=!0}),t?{webSearchReferences:l}:e}),reset:()=>e({webSearchReferences:new Map,threadCache:new Map})}));e.s(["useWebSearchReferences",0,l],339063),e.s([],603497);let r=(0,n.create)(e=>({kgReferences:new Map,threadCache:new Map,setKGReferences:(n,t,l)=>{e(e=>{let r=new Map(e.kgReferences),o=new Map(e.threadCache);return r.set(n,{files:t,web:l}
1),t.forEach(e=>{e.metadata.cite&&!o.has(e.metadata.cite)&&o.set(e.metadata.cite,e)}),l.forEach(e=>{e.metadata.cite&&!o.has(e.metadata.cite)&&o.set(e.metadata.cite,e)}),{kgReferences:r,threadCache:o}})},retainMessages:n=>e(e=>{let t=!1,l=new Map;return e.kgReferences.forEach((e,r)=>{n.has(r)?l.set(r,e):t=!0}),t?{kgReferences:l}:e}),reset:()=>e({kgReferences:new Map,threadCache:new Map})}));e.s(["useKGReferences",0,r],592745),e.s([],492303)},418837,e=>{"use strict";var n,t=((n={}).Sandbox="sandbox",n.Deliverable="deliverable",n);e.s(["FileSource",()=>t])},850137,e=>{"use strict";var n=e.i(130084),t=e.i(924953);function l(e){let n=e.lastIndexOf(".");return n<=0||n===e.length-1?{stem:e,extension:""}:{stem:e.slice(0,n),extension:e.slice(n)}}e.s(["formatFileReferences",0,e=>{let l=e=>encodeURIComponent(e.path||`${t.WORKSPACE_PATH}/${e.name}`);return[...e.filter(e=>!e.uploadStatus||e.uploadStatus===n.FILE_UPLOAD_STATUS.SUCCESS).map(e=>`[Uploaded File: ${l(e)}]`),...e.filter(e=>e.uploadStatus===n.FILE_UPLOAD_STATUS.TRANSCRIBED).map(e=>`[Transcribed File: ${l(e)}]`)].join("\n")},"generateTempMessageId",0,()=>{let e=Date.now(),n=Math.random().toString(36).substring(2,9);return`temp-${e}-${n}`},"getFileHandlingStrategy",0,function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e===n.ASSISTANT_MODE.CHAT?{useFileIds:!0,appendFileReferencesForBackend:!1}:{useFileIds:t,appendFileReferencesForBackend:!0}},"getFileNameWithoutExtension",0,e=>{let n=e.lastIndexOf(".");return n>0?e.substring(0,n):e},"splitFileExtension",0,l,"truncateFilename",0,function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250;if(e.length<=n)return e;let{stem:t,extension:r}=l(e);return t.substring(0,n-r.length)+r}])}]);
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.