PageSourceSearch

https://www.typingmind.com/_next/static/chunks/01irln0clu-7r.js

js typingmind.com collected 2026-10-02 04:28:16 UTC 54,103 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="0c3cb8be-7083-b62a-263d-f2e3c00e49bb")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89903,e=>{"use strict";var t=e.i(268601),s=e.i(971910),l=e.i(670245),n=e.i(975705),r=e.i(707537),i=e.i(357287);function a({defaultValue:e,onChange:l,jsonObjectOnly:r=!1}){let[o,d]=(0,n.useState)(e),c=o!==e,u=!r||(()=>{try{let e=JSON.parse(o);if("object"!=typeof e||Array.isArray(e))return!1;return!0}catch(e){return!1}})();return(0,t.jsxs)("div",{children:[c?(0,t.jsx)("div",{className:"text-xs text-orange-500 mb-1",children:(0,t.jsx)(s.Trans,{id:"ICsA6P"})}):null,r&&!u?(0,t.jsx)("div",{className:"text-xs text-red-500 mb-1",children:(0,t.jsx)(s.Trans,{id:"TlBnce"})}):null,(0,t.jsx)("textarea",{type:"text",placeholder:'{ "max_tokens": 1000 }',className:(0,i.classNames)("w-full px-3 py-1.5 border rounded-md shadow-sm focus:outline-none sm:text-sm dark:bg-zinc-700  disabled:text-gray-500",c?"border-orange-500 dark:border-orange-900/20 focus:ring-orange-500 focus:border-orange-500 ":"border-gray-300 dark:border-white/20 focus:ring-blue-500 focus:border-blue-500 "),value:o,autoComplete:"off",onChange:e=>d(e.target.value)}),c?(0,t.jsxs)("div",{className:"flex items-center justify-start gap-2 my-2",children:[(0,t.jsx)("button",{onClick:()=>{l(o)},type:"submit",className:"inline-flex items-center px-3 py-1.5 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-green-600 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:bg-gray-400 gap-2",children:(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"tfDRzk"})})}),(0,t.jsx)("button",{onClick:()=>{d(e)},type:"submit",className:"inline-flex items-center px-3 py-1.5 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 disabled:bg-gray-400 gap-2",children:(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"bzSI52"})})})]}):null]})}e.i(676982);var o=e.i(236910);let d=[{label:"none",value:"BLOCK_NONE"},{label:"few",value:"BLOCK_ONLY_HIGH"},{label:"some",value:"BLOCK_MEDIUM_AND_ABOVE"},{label:"most",value:"BLOCK_LOW_AND_ABOVE"}];d.forEach((e,t)=>{d[e.value]=t});let c=[{label:{id:"EyQMHI"},name:"HARM_CATEGORY_HARASSMENT",defaultValue:"BLOCK_MEDIUM_AND_ABOVE"},{label:{id:"LoVB_U"},name:"HARM_CATEGORY_HATE_SPEECH",defaultValue:"BLOCK_MEDIUM_AND_ABOVE"},{label:{id:"xwwTVi"},name:"HARM_CATEGORY_SEXUALLY_EXPLICIT",defaultValue:"BLOCK_MEDIUM_AND_ABOVE"},{label:{id:"-xHY_f"},name:"HARM_CATEGORY_DANGEROUS_CONTENT",defaultValue:"BLOCK_MEDIUM_AND_ABOVE"},{label:{id:"LkEYm3"},name:"HARM_CATEGORY_CIVIC_INTEGRITY",defaultValue:"BLOCK_NONE"}],u=[{label:{id:"EdQY6l"},value:"none"},{label:{id:"R9Khdg"},value:"auto"},{label:{id:"8GG-Pa"},value:"minimal"},{label:{id:"nTWWCZ"},value:"low"},{label:{id:"agPptk"},value:"medium"},{label:{id:"yx_fMc"},value:"high"},{label:{id:"3Ski8l"},value:"xhigh"},{label:{id:"CK1KXz"},value:"max"}],x="antialiased font-semibold flex items-center gap-x-2 sm:flex-nowrap flex-wrap";e.s(["default",0,function({modelParameters:e={},onPatchModelParameters:m=()=>{},supportedParameters:h=[],allowCustomParams:p=!1,readOnly:g}){let{i18n:f}=(0,s.useLingui)(),{temperature:j,presencePenalty:b,frequencyPenalty:v,topP:k,topK:y,maxTokens:w,safetySettings:N,reasoningEffort:C,promptCachingEnabled:T,contextLimit:E,extraModelParamsEnabled:L,extraModelParamsJSON:_,imageSize:M}=e,S=(0,n.useMemo)(()=>new Set((0,o.getSupportedParameterNames)(h)),[h]),I=(0,n.useMemo)(()=>Object.fromEntries(h.filter(e=>"object"==typeof e).map(e=>[e.name,e])),[h]),A=(0,n.useMemo)(()=>I.reasoningEffort?.options?u.filter(e=>I.reasoningEffort.options.includes(e.value)):u,[I]),B=!C||A.some(e=>e.value===C);return(0,t.jsxs)("fieldset",{disabled:g,className:"space-y-4",children:[S.has("contextLimit")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsxs)("span",{children:[(0,t.jsx)(s.Trans,{id:"7ki9Qg"})," ",0===Number(E)?l.i18n._({id:"kS_gaE"}):E]}),g?null:(0,t.jsxs)("button",{onClick:()=>m({contextLimit:i.DEFAULT_MODEL_PARAMETERS.contextLimit}),className:"antialiased text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}
2),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 mt-1 mb-2",children:(0,t.jsx)(s.Trans,{id:"k2UV77"})}),(0,t.jsx)("select",{"data-element-id":"context-limit-select",className:"block w-full rounded-lg border-0 py-2 pl-3 pr-10 text-slate-900 dark:text-white dark:bg-zinc-800 ring-1 ring-inset ring-slate-200 dark:ring-white/20 dark:focus:ring-blue-500 focus:ring-2 focus:ring-blue-600 sm:text-sm sm:leading-6",value:E,onChange:e=>m({contextLimit:Number(e.target.value)}),children:Array.from(Array(101).keys()).map(e=>(0,t.jsx)("option",{value:e,children:0===e?(0,t.jsx)(s.Trans,{id:"98vSRA"}):(0,t.jsx)(s.Trans,{id:"rt-E3q",values:{i:e}})},e))})]}),S.has("temperature")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"r6Q6b1",values:{0:null===j?l.i18n._({id:"23umQ0"}):j}})}),g?null:null===j?(0,t.jsxs)("button",{onClick:()=>m({temperature:1}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({temperature:i.DEFAULT_MODEL_PARAMETERS.temperature}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"ScdGLq"})}),null!==j&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"range",className:"transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200",value:j,min:I.temperature?.min??0,max:I.temperature?.max??2,step:.01,onChange:e=>m({temperature:parseFloat(e.target.value,10)})}),(0,t.jsxs)("div",{className:"flex items-center justify-between font-semibold text-slate-600 dark:text-slate-400",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"6LWacs"})}),(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"proQUv"})}),(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"0xD_Jm"})})]})]})]}),S.has("presencePenalty")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"DtKN3n",values:{0:null===b?l.i18n._({id:"23umQ0"}):b}})}),g?null:null===b?(0,t.jsxs)("button",{onClick:()=>m({presencePenalty:0}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({presencePenalty:i.DEFAULT_MODEL_PARAMETERS.presencePenalty}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"ED63fq"})}),null!==b&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"range",className:"transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200",value:b,min:I.presencePenalty?.min??0,max:I.presencePenalty?.max??2,step:.01,onChange:e=>m({presencePenalty:parseFloat(e.target.value,10)})}),(0,t.jsxs)("div",{className:"flex items-center justify-between font-semibold text-slate-600 dark:text-slate-400",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"kJygHz"})}),(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"9ElpTL"})})]})]})]}),S.has("frequencyPenalty")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"CHoLVk",values:{0:null===v?l.i18n._({id:"23umQ0"}):v}})}),g?null:null===v?(0,t.jsxs)("button",{onClick:()=>m({frequencyPenalty:0}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({frequencyPenalty:i.DEFAULT_MODEL_PARAMETERS.frequencyPenalty}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}
2),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"lIWqIu"})}),null!==v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"range",className:"transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200",value:v,min:I.frequencyPenalty?.min??0,max:I.frequencyPenalty?.max??2,step:.01,onChange:e=>m({frequencyPenalty:parseFloat(e.target.value,10)})}),(0,t.jsxs)("div",{className:"flex items-center justify-between font-semibold text-slate-600 dark:text-slate-400",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"kJygHz"})}),(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"ypjVz9"})})]})]})]}),S.has("topP")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"fvdi5P",values:{0:null===k?l.i18n._({id:"23umQ0"}):k}})}),g?null:null===k?(0,t.jsxs)("button",{onClick:()=>m({topP:1}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({topP:i.DEFAULT_MODEL_PARAMETERS.topP}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"p1aRIt"})}),null!==k&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"range",className:"transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200",value:k,min:I.topP?.min??0,max:I.topP?.max??1,step:.01,onChange:e=>m({topP:parseFloat(e.target.value,10)})}),(0,t.jsxs)("div",{className:"flex items-center justify-between font-semibold text-slate-600 dark:text-slate-400",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"6LWacs"})}),(0,t.jsx)("div",{children:(0,t.jsx)(s.Trans,{id:"0xD_Jm"})})]})]})]}),S.has("topK")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"VhAZmC",values:{0:null===y?l.i18n._({id:"23umQ0"}):y}})}),g?null:null===y?(0,t.jsxs)("button",{onClick:()=>m({topK:"5"}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({topK:i.DEFAULT_MODEL_PARAMETERS.topK}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"FjIVLO"})}),null!==y&&(0,t.jsx)("input",{type:"number",className:"mt-2 block w-full rounded-lg border-0 py-2 px-3 text-gray-900 ring-1 ring-inset ring-slate-200 dark:ring-white/20 focus:ring-2 focus:ring-blue-600 sm:text-sm sm:leading-6 dark:bg-zinc-700 dark:text-white disabled:text-slate-600 dark:text-slate-400",value:y,min:I.topK?.min??0,max:I.topK?.max,step:1,onChange:e=>m({topK:e.target.value}),placeholder:"5"})]}),S.has("maxTokens")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"YUSYqz",values:{0:null===w?l.i18n._({id:"23umQ0"}):w}})}),g?null:null===w?(0,t.jsxs)("button",{onClick:()=>m({maxTokens:"1000"}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({maxTokens:i.DEFAULT_MODEL_PARAMETERS.maxTokens}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"LSy-DK"})}),null!==w&&(0,t.jsx)("input",{type:"number",className:"mt-2 block w-full rounded-lg border-0 py-2 px-3 text-gray-900 ring-1 ring-inset ring-slate-200 dark:ring-white/20 focus:ring-2 focus:ring-blue-600 sm:text-sm sm:leading-6 dark:bg-zinc-700 dark:text-white disabled:text-slate-600 dar
2k:text-slate-400",value:w,min:I.maxTokens?.min??0,max:I.maxTokens?.max,onChange:e=>m({maxTokens:e.target.value}),placeholder:"1000"})]}),S.has("safetySettings")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsxs)("span",{className:" align-middle",children:[(0,t.jsx)(s.Trans,{id:"COlLrc"})," ",null===N?l.i18n._({id:"23umQ0"}):l.i18n._({id:"8Tg_JR"})]}),g?null:null===N?(0,t.jsxs)("button",{onClick:()=>m({safetySettings:c.reduce((e,t)=>({...e,[t.name]:t.defaultValue}),{})}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs align-middle",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({safetySettings:i.DEFAULT_MODEL_PARAMETERS.safetySettings}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs align-middle",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"ArkuA2"})}),null!==N&&(0,t.jsx)("div",{className:"border-l border-slate-200 dark:border-slate-700 pl-4 mt-4 flex flex-col gap-y-4",children:c.map(e=>(0,t.jsxs)("label",{className:"block",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("p",{className:"min-w-[120px] text-slate-900 dark:text-white",children:f._(e.label)}),(0,t.jsx)("input",{type:"range",className:"transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200",min:0,max:3,step:1,value:d[N?.[e.name]],onChange:t=>{m({safetySettings:{...N,[e.name]:d[t.target.value].value}})}})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("p",{className:"min-w-[120px]"}),(0,t.jsx)("div",{className:"w-full grid grid-cols-6 font-semibold text-slate-600 dark:text-slate-400 text-xs",children:d.map((e,s)=>(0,t.jsxs)("div",{className:(0,i.classNames)("text-center min-w-0 col-span-2",0===s&&"!text-left !col-span-1",s===d.length-1&&"!text-right !col-span-1"),children:[0===s&&"Block"," ",e.label]},e.label))})]})]},e.name))})]}),S.has("promptCachingEnabled")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"g0_9nA"})}),(0,t.jsx)(r.default,{size:"small",enabled:!!T,setEnabled:e=>m({promptCachingEnabled:e})})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"eVwtTb"})}),T?(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400",children:(0,t.jsx)(s.Trans,{id:"4D6PdY"})}),(0,t.jsxs)("select",{"data-element-id":"promt-caching-select",className:"block w-full rounded-lg border-0 py-2 pl-3 pr-10 text-slate-900 dark:text-white dark:bg-zinc-800 ring-1 ring-inset ring-slate-200 dark:ring-white/20 dark:focus:ring-blue-500 focus:ring-2 focus:ring-blue-600 sm:text-sm sm:leading-6",value:"extended"===T?"extended":"standard",onChange:e=>m({promptCachingEnabled:e.target.value}),children:[(0,t.jsx)("option",{value:"standard",children:(0,t.jsx)(s.Trans,{id:"TJBHlP"})}),(0,t.jsx)("option",{value:"extended",children:(0,t.jsx)(s.Trans,{id:"HtEG00"})})]})]}):null]}),S.has("reasoningEffort")&&A.length?(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"wdAQBn",values:{0:null===C?l.i18n._({id:"23umQ0"}):(0,t.jsx)("span",{className:"capitalize",children:C})}})}),g?null:null===C?(0,t.jsxs)("button",{onClick:()=>m({reasoningEffort:"medium"}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({reasoningEffort:i.DEFAULT_MODEL_PARAMETERS.reasoningEffort}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"ZRNIoK"})}),null!==C&&(0,t.jsxs)("select",{className:"block w-full rounded-lg border-0 py-2 pl-3 pr-10 text-slate-900 dark:text-white dark:bg-zinc-800 ring-1 ring-inset ring-slate-200 dark:ring-white/20 dark:focus:ring-blue-500 focus:ring-2 focus:ring-blue-600 sm:text-sm sm:leading-6",value:C,onChange:e=>m({reasoningEffort:e.target.value}),children:[B?null:(0,t.jsxs)("option",{value:C,children:[C," ",(0,t.jsx)(s.Trans,{id:"leFaL_"})]}),A.map(e=>(0,t.jsx)("option",{value:e.value,children:f._(e.label)},e.value))]})]}):null,S.has("imageSize")&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"eKU-46",values:{0:null===M?l.i18n._({id:"23umQ0"}):M}})}),g?null:null===M?(0,t.jsxs)("button",{onClick:()=>m({imageSize:"1K"}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"o-XJ9D"}),")"]}):(0,t.jsxs)("button",{onClick:()=>m({imageSize:i.DEFAULT_MODEL_PARAMETERS.imageSize}),className:"text-blue-600 hover:underline dark:text-blue-500 font-semibold text-xs",children:["(",(0,t.jsx)(s.Trans,{id:"L-rMC9"}),")"]})]}
2),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"nT5uCQ"})}),null!==M&&(0,t.jsx)("select",{className:"block w-full rounded-lg border-0 py-2 pl-3 pr-10 text-slate-900 dark:text-white dark:bg-zinc-800 ring-1 ring-inset ring-slate-200 dark:ring-white/20 dark:focus:ring-blue-500 focus:ring-2 focus:ring-blue-600 sm:text-sm sm:leading-6",value:M,onChange:e=>m({imageSize:e.target.value}),children:(I.imageSize?.options||["1K","2K","4K"]).map(e=>(0,t.jsx)("option",{value:e,children:e},e))})]}),p?(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:x,children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.Trans,{id:"3NliSw"})}),(0,t.jsx)(r.default,{size:"small",enabled:L,setEnabled:e=>m({extraModelParamsEnabled:e})})]}),(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"C_OtZE"})}),L?(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-xs text-slate-600 dark:text-slate-400 my-1",children:(0,t.jsx)(s.Trans,{id:"lNYNhx"})}),(0,t.jsx)(a,{jsonObjectOnly:!0,defaultValue:_||"{}",onChange:e=>m({extraModelParamsJSON:e})})]}):null]}):null]})}],89903)},892251,e=>{"use strict";var t=e.i(268601),s=e.i(266757),l=e.i(971910),n=e.i(670245),r=e.i(955061),i=e.i(975705),a=e.i(405401),o=e.i(492116),d=e.i(357287);function c(...e){return e.filter(Boolean).join(" ")}e.s(["default",0,function({model:e,setModel:u,allModels:x,disabled:m,size:h="medium",inputClassName:p}){let g=x.find(t=>t.id===e)||x[0],[f,j]=(0,i.useState)(""),b=(0,i.useMemo)(()=>(0,d.searchModelsByKeyword)(x,f),[f,x]);return(0,t.jsxs)(s.Combobox,{value:g,onChange:e=>{e&&(u(e.id),j(""))},onClose:()=>j(""),disabled:m||0===x.length,children:[(0,t.jsxs)("div",{"data-element-id":"model-select",className:"flex relative w-full",children:[(0,t.jsx)("div",{className:"pl-0.5 absolute left-2 top-1/2 transform -translate-y-1/2 pointer-events-none",children:g?(0,t.jsx)(r.default,{model:g.id,defaultURL:g.iconUrl,size:"rounded-small"}):(0,t.jsx)(r.default,{size:"rounded-small"})}),(0,t.jsxs)(s.ComboboxButton,{"data-element-id":"model-select-button",disabled:m||0===x.length,className:"absolute right-2 top-1/2 transform -translate-y-1/2 disabled:text-neutral-400 disabled:bg-gray-200 dark:disabled:bg-gray-700 dark:disabled:opacity-50 dark:disabled:text-neutral-500",children:[(0,t.jsx)("span",{className:"sr-only",children:(0,t.jsx)(l.Trans,{id:"9cUjxN"})}),(0,t.jsx)(o.default,{className:"w-5 h-5"})]}),(0,t.jsx)(s.ComboboxInput,{"data-element-id":"model-search-input",disabled:m||0===x.length,displayValue:e=>e?.title||"",onChange:e=>j(e.target.value),placeholder:0===x.length?n.i18n._({id:"aKhyhj"}):n.i18n._({id:"cxgWdM"}),className:c("w-full flex-grow disabled:text-neutral-400 disabled:bg-gray-200 dark:disabled:bg-gray-700 dark:disabled:opacity-50 dark:disabled:text-neutral-500 border-none focus:ring-2 focus:ring-blue-600 bg-slate-100 dark:bg-white/15 rounded-xl pl-[45px] pr-8 text-slate-900 dark:text-white dark:placeholder:text-slate-400 placeholder:text-slate-600 font-normal leading-normal","small"===h?"text-base sm:text-sm py-3":"text-base py-2.5",p)})]}),(0,t.jsx)(s.ComboboxOptions,{"data-element-id":"model-select-options",anchor:{to:"bottom start",gap:10},className:"flex flex-col ring-1 ring-slate-200 dark:ring-white/[15%] dark:bg-[--main-dark-popup-color] rounded-xl bg-white shadow-lg focus:outline-none overflow-hidden p-2 absolute z-[210] [--anchor-max-height:388px]",modal:!1,style:{width:"var(--input-width)"},children:(0,t.jsxs)("div",{className:"overflow-auto custom-scrollbar",children:[b.map(e=>(0,t.jsx)(s.ComboboxOption,{className:"text-slate-900 dark:text-white relative cursor-default select-none p-2 rounded-xl",value:e,children:({selected:s,focus:l})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:c(l?"bg-slate-900/10 dark:bg-white/20":"","group-hover:bg-slate-900/10 group-active:bg-slate-900/20 dark:group-hover:bg-white/20 dark:group-active:bg-white/25 rounded-xl -z-0 w-full absolute inset-y-0 right-0 flex items-center pr-2")}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.default,{model:e.id,defaultURL:e.iconUrl,
2size:"rounded-small"}),(0,t.jsx)("span",{className:c(s?"font-semibold":"font-normal","small"===h?"text-base sm:text-sm":"text-base","block truncate antialiased text-slate-900 dark:text-white"),children:e.title})]}),s?(0,t.jsx)("span",{className:"text-blue-600 dark:text-blue-500 absolute inset-y-0 right-0 flex items-center pr-2",children:(0,t.jsx)(a.default,{className:"h-5 w-5","aria-hidden":"true"})}):null]})},e.id)),0===b.length&&""!==f&&(0,t.jsxs)("div",{className:"text-center antialiased cursor-default p-2 text-slate-600 dark:text-slate-400",children:[(0,t.jsx)(l.Trans,{id:"ensdru"}),' "',f,'"']})]})})]})}])},737130,e=>{"use strict";var t=e.i(268601),s=e.i(975705),l=e.i(273910),n=e.i(357287),r=e.i(624034),i=e.i(147282);let a=({limit:e,label:s,onChange:a,onDelete:o,availableTimeUnits:d})=>(0,t.jsxs)("div",{className:(0,n.classNames)("p-2 xs:p-4 flex items-center space-x-4 border border-gray-200 rounded-lg hover:bg-gray-50 relative"),children:[(0,t.jsx)("div",{className:"grow",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 my-4",children:[(0,t.jsx)("input",{type:"number",className:"border w-24 text-right border-gray-300 rounded-md shadow-sm py-2 px-3 text-base leading-6 focus:outline-none focus:ring-blue-500 focus:border-blue-500 transition duration-150 ease-in-out dark:bg-zinc-700",value:e.quantity,onChange:t=>{a({...e,quantity:t.target.value})},required:!0,min:1}),"period"===e.limitCheckIn?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"text-sm",children:[s," every"]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2 grow",children:[(0,t.jsx)("input",{type:"number",value:e.timeValue,onChange:t=>{a({...e,timeValue:t.target.value})},required:!0,min:1,max:e.timeUnit===i.LIMIT_TIME_UNITS.HOUR?24:e.timeUnit===i.LIMIT_TIME_UNITS.DAY?31:12,className:"border w-10 grow text-right border-gray-300 rounded-md shadow-sm py-2 px-3 text-base leading-6 focus:outline-none focus:ring-blue-500 focus:border-blue-500 transition duration-150 ease-in-out dark:bg-zinc-700"}),(0,t.jsx)("select",{value:e.timeUnit,onChange:t=>{a({...e,timeUnit:t.target.value})},className:"border w-24 grow border-gray-300 rounded-md shadow-sm py-2 px-3 text-base leading-6 focus:outline-none focus:ring-blue-500 focus:border-blue-500 transition duration-150 ease-in-out dark:bg-zinc-700",children:["hour","day","month"].map(s=>(0,t.jsx)("option",{value:s,disabled:d.every(e=>e!==s),children:1==e.timeValue?s:s+"s"},s))})]})]}):(0,t.jsx)("span",{className:"text-sm",children:s})]})}),(0,t.jsx)("div",{className:"text-sm font-medium flex items-center justify-between space-x-2 absolute -right-3 -top-3 rounded-full px-2 py-1 border border-gray-200 bg-white group",children:(0,t.jsxs)(l.default,{onConfirmed:()=>{o()},type:"button",className:"flex justify-center text-red-500 hover:underline items-center font-semibold shrink-0 truncate",children:[(0,t.jsx)(r.AiFillDelete,{className:"w-5 h-5"})," ",(0,t.jsx)("span",{className:"group-hover:inline-block hidden",children:"Delete"})]})})]},e.id);var o=e.i(250017),d=e.i(446322);let c=({limits:e,setLimits:l,title:n,description:r,limitLabel:c,limitCheckIn:u,limitBy:x,defaultTimeValue:m=3,defaultQuantity:h=25})=>{let p=(0,s.useMemo)(()=>{let t=Object.fromEntries(e.map(e=>[e.timeUnit,!0]));return[i.LIMIT_TIME_UNITS.HOUR,i.LIMIT_TIME_UNITS.DAY,i.LIMIT_TIME_UNITS.MONTH].filter(e=>!t[e])},[e]);return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2 justify-between",children:[(0,t.jsx)("h2",{className:"text-lg font-medium flex items-center space-x-2 leading-none",children:n}),(0,t.jsxs)("button",{type:"button",onClick:()=>{0===p.length?o.default.error("You have used all types of this limit!"):l(e=>[...e,(0,i.generateNewLimit)({limitBy:x,limitCheckIn:u,timeUnit:p[0],timeValue:m,quantity:h})])},className:"text-blue-500 hover:underline inline-flex justify-center items-center font-semibold space-x-1 shrink-0 truncate py-2 px-2",children:[(0,t.jsx)(d.FaPlus,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"",children:"Add Limit"})]})]}),r?(0,t.jsx)("p",{className:"!mt-0 text-sm text-gray-500 dark:text-gray-400",children:r}):null,e.map((e,s)=>(0,t.jsx)(a,{limit:e,label:c,onChange:t=>{l(s=>s.map(s=>s.id!==e.id?s:t))},onDelete:()=>{l(t=>t.filter(t=>t.id!==e.id))},availableTimeUnits:p},e.id))]})};var u=i,x=e.i(372781),m=e.i(524572);let h="Something went wrong. Please try again.";e.s(["default",0,({group:e,onCancel:r,className:i,onSaved:a,supportedLimitTypes:d=[u.LIMIT_BY.MESSAGES_BY_TIME,u.LIMIT_BY.CHARACTERS_BY_MESSAGE_AND_TIME,u.LIMIT_BY.CHARACTERS_BY_MESSAGE,u.LIMIT_BY.TOKENS_BY_TIME]})=>
2{let[p,g]=(0,s.useState)(e.name),[f,j]=(0,s.useState)(()=>(e.rules||[]).filter(e=>e.limitBy===u.LIMIT_BY.MESSAGES_BY_TIME)),[b,v]=(0,s.useState)(()=>(e.rules||[]).filter(e=>e.limitBy===u.LIMIT_BY.CHARACTERS_BY_MESSAGE_AND_TIME)),[k,y]=(0,s.useState)(()=>(e.rules||[]).filter(e=>e.limitBy===u.LIMIT_BY.CHARACTERS_BY_MESSAGE)),[w,N]=(0,s.useState)(()=>(e.rules||[]).filter(e=>e.limitBy===u.LIMIT_BY.TOKENS_BY_TIME)),[C,T]=(0,s.useState)(""),[E,L]=(0,s.useState)(""),_=async()=>{try{if(L("save"),T(""),!p.trim())return;let t=[...f,...b,...k,...w].map(e=>({...e,timeValue:e.timeValue&&Number(e.timeValue),quantity:Number(e.quantity)})),s={id:e.id||e.tempID||(0,m.v4)(),name:p,rules:t};if(!(e.id?await fetch(`/api/hosted/limit-groups/${e.id}`,{headers:{"Content-Type":"application/json"},method:"PATCH",body:JSON.stringify(s)}):await fetch("/api/hosted/limit-groups",{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(s)})).ok)return void T(h);o.default.success("Saved!"),a?.(s)}catch(e){T(h)}finally{L("")}};return(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),_()},className:(0,n.classNames)("border border-gray-300 dark:border-gray-600 rounded-md p-4 shadow bg-white space-y-2 [&_h2]:text-base",i),children:[(0,t.jsx)("div",{children:(0,t.jsx)("input",{placeholder:"Limit name",type:"text",value:p,onChange:e=>g(e.target.value),required:!0,className:"border w-full max-w-lg border-gray-300 rounded-md shadow-sm py-2 px-3 text-base leading-6 focus:outline-none focus:ring-blue-500 focus:border-blue-500 transition duration-150 ease-in-out dark:bg-zinc-700"})}),d.includes(u.LIMIT_BY.MESSAGES_BY_TIME)?(0,t.jsx)(c,{limits:f,setLimits:j,limitCheckIn:u.LIMIT_CHECK.PERIOD,limitBy:u.LIMIT_BY.MESSAGES_BY_TIME,title:"Message Limits",description:"Counts messages sent. For plugins, this counts messages that used the plugin.",limitLabel:"messages"}):null,d.includes(u.LIMIT_BY.CHARACTERS_BY_MESSAGE)?(0,t.jsx)(c,{limits:k,setLimits:y,limitCheckIn:u.LIMIT_CHECK.EVERYTIME,limitBy:u.LIMIT_BY.CHARACTERS_BY_MESSAGE,title:"Character Limits Per Message",limitLabel:"characters per message"}):null,d.includes(u.LIMIT_BY.CHARACTERS_BY_MESSAGE_AND_TIME)?(0,t.jsx)(c,{limits:b,setLimits:v,limitCheckIn:u.LIMIT_CHECK.PERIOD,limitBy:u.LIMIT_BY.CHARACTERS_BY_MESSAGE_AND_TIME,title:"Character Limits Per Time Period",description:"Counts characters only for the last user message, not the whole chat history.",limitLabel:"characters"}):null,d.includes(u.LIMIT_BY.TOKENS_BY_TIME)?(0,t.jsx)(c,{limits:w,setLimits:N,limitCheckIn:u.LIMIT_CHECK.PERIOD,limitBy:u.LIMIT_BY.TOKENS_BY_TIME,title:"Token Limits Per Time Period",description:"Counts tokens across all chat turns, including tool calls and definitions. Token accounting works best for models and providers that return usage data in their responses. Non-reporting models still work, but estimates may be used.",limitLabel:"tokens",defaultTimeValue:1,defaultQuantity:1e4}):null,(0,t.jsxs)("div",{className:"!mt-6",children:[C&&(0,t.jsx)("div",{className:"my-4 text-red-500 text-sm text-center",children:C}),(0,t.jsxs)("button",{type:"submit",className:"mx-auto flex items-center px-4 py-2 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:bg-gray-400 gap-2",disabled:E,children:["save"===E?(0,t.jsx)(x.default,{}):"→",e.id?(0,t.jsx)("span",{children:"Update"}):(0,t.jsx)("span",{children:"Save"})]}),(0,t.jsx)(l.default,{disabled:"delete"===E,onConfirmed:r,type:"button",className:"mt-4 flex gap-1 mx-auto text-red-500 hover:underline items-center font-semibold shrink-0 truncate",children:(0,t.jsx)("span",{className:"",children:"Cancel"})})]})]})}],737130)},743576,e=>{"use strict";var t=e.i(268601),s=e.i(975705),l=e.i(760651),n=e.i(357287),r=e.i(955061),i=e.i(471789),a=e.i(110484),o=e.i(971910),d=e.i(670245),c=e.i(253056),u=e.i(442424),x=e.i(253989),m=e.i(250017);let h=({provider:e,settings:l,onPatchSettings:n,onTestSettings:r,open:a,onClose:h})=>
2{let[p,g]=(0,s.useState)(!1),[f,j]=(0,s.useState)(""),[b,v]=(0,s.useState)({});(0,s.useEffect)(()=>{a&&(v({}),j(""))},[a]);let k=Object.keys(b).length>0,y=(0,i.getProviderSettingsToSave)({provider:e,draftSettings:b}),w=!!(e?.testModelID||e?.listModelsEndpoint)&&Object.values(y).some(Boolean),N=(0,s.useCallback)((e,t)=>{j(""),null===t?v(t=>{let s={...t};return delete s[e],s}):v(s=>({...s,[e]:t}))},[]),C=async t=>{t.preventDefault(),j("");let s=(0,i.getEmptyDraftRequiredSettings)({provider:e,draftSettings:b})[0];if(s)return void j(d.i18n._({id:"qz0KKG",values:{0:s.label}}));if(!Object.keys(y).length)return void j(d.i18n._({id:"uqMh5_"}));g(!0);try{await n({settings:y,shouldTest:w}),v({}),m.default.success(d.i18n._({id:"oqLZ23"})),h()}catch(e){j(e?.message||d.i18n._({id:"m-zVUp"}))}finally{g(!1)}},T=async()=>{j(""),g(!0);try{let t=Object.fromEntries((e.settingDefinitions||[]).map(e=>[e.name,""]));await n({settings:t,shouldTest:!1}),m.default.success(d.i18n._({id:"KESN48"})),h()}catch(e){j(e?.message||d.i18n._({id:"m-zVUp"}))}finally{g(!1)}},E=async()=>{j(""),g(!0);try{await r({settings:y}),m.default.success(d.i18n._({id:"7U78Tk"}))}catch(e){j(e?.message||d.i18n._({id:"7zzUYe"}))}finally{g(!1)}},{optionalSettings:L,requiredSettings:_}=(0,i.getProviderSettingsGroups)(e);return(0,t.jsx)(u.default,{position:"top",open:a,setOpen:h,wide2:!0,showCloseButton:!1,children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("h2",{className:"text-base text-center sm:text-xl font-semibold shrink-0",children:[e?.title," ",d.i18n._({id:"ywFj2D"})]}),e?(0,t.jsx)(x.default,{provider:e,settings:l,draftSettings:b,requiredSettings:_,optionalSettings:L,editing:k,loading:p,shouldTest:w,error:f,variant:"popup",autoFocus:a,onSettingFieldChange:N,onSubmit:C,onCancel:()=>{v({}),j("")},onClearSettings:T,onTestConnection:r?E:void 0},e.id):null,k?null:(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(c.default,{variant:"secondary",onClick:h,disabled:p,theme:"slate",className:"flex-1 md:flex-none",children:(0,t.jsx)(o.Trans,{id:"yz7wBu"})})})]})})};e.s(["default",0,({providers:e,selectedProviderID:c,onSelectProvider:u,modelsCountByProviderID:x,installedModelsCountByProviderID:m,settingsByProviderID:p,checkProviderConfigured:g,showConfig:f,onPatchSettings:j,onTestSettings:b})=>{let v=(e,t)=>{let s=t.currentTarget.closest("[data-provider-item]");s&&s.scrollIntoView({behavior:"smooth",inline:"start",block:"nearest"}),u(e)},[k,y]=s.default.useState(null),w=e.find(e=>e.id===k);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-row gap-2 overflow-x-auto pb-2 custom-scrollbar lg:h-full lg:flex-col lg:gap-1 lg:overflow-x-hidden lg:overflow-y-auto lg:pb-0",children:[(0,t.jsx)("div",{"data-provider-item":!0,className:(0,n.classNames)("relative flex items-center transition-all rounded-xl flex-shrink-0","all"===c?"bg-slate-900/10 dark:bg-white/10 text-slate-900 dark:text-white":"hover:bg-slate-900/10 dark:hover:bg-white/10 text-slate-700 dark:text-slate-300"),children:(0,t.jsxs)("button",{className:"p-2 flex flex-1 items-center gap-2 whitespace-nowrap outline-none",onClick:e=>{v("all",e)},children:[(0,t.jsx)("span",{className:"bg-slate-900/10 dark:bg-white/10 rounded-full w-8 h-8 flex items-center justify-center",children:(0,t.jsx)(l.default,{className:"w-[18px] h-[18px]"})}),(0,t.jsxs)("span",{className:"flex-1 gap-0.5 flex flex-col truncate items-start",children:[(0,t.jsx)("span",{className:"text-sm font-medium",children:(0,t.jsx)(o.Trans,{id:"f87SjU"})}),(0,t.jsxs)("span",{className:"text-xs text-slate-500 dark:text-slate-300",children:[m.all||0," /"," ",x.all||0," ",(0,t.jsx)(o.Trans,{id:"ZsLF7e"})]})]})]})}),e.map(e=>{let s=c===e.id;return(0,t.jsxs)("div",{"data-provider-item":!0,className:(0,n.classNames)("relative flex items-center transition-all rounded-xl flex-shrink-0",s?"bg-slate-900/10 dark:bg-white/10 text-slate-900 dark:text-white":"hover:bg-slate-900/10 dark:hover:bg-white/10 text-slate-700 dark:text-slate-300"),children:[(0,t.jsx)("button",{className:"p-2 flex flex-1 items-center gap-2 whitespace-nowrap outline-none",onClick:t=>v(e.id,t),children:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.default,{defaultURL:e.iconURL,size:"rounded-medium"}),(0,t.jsxs)("span",{className:"flex-1 gap-0.5 flex flex-col truncate items-start",children:[(0,t.jsx)("span",{className:"text-sm font-medium",children:e.title}),(0,t.jsx)("span",{className:"text-xs text-slate-500 dark:text-slate-300",children:(0,t.jsxs)(t.Fragment,{children:[m[e.id]||0," /"," ",x[e.id]||0," ",(0,t.jsx)(o.Trans,{id:"ZsLF7e"})]})})]})]})}),(0,t.jsxs)("div",{className:"pr-2 py-2 ml-auto flex items-center",children:[e.id!==i.OTHERS_PROVIDER.id?(0,t.jsx)("span",{className:"p-1","data-tooltip-id":"global","data-tooltip-content":g(e.id)?d.i18n._({id:"Q
2HcLEN"}):m[e.id]>=1?d.i18n._({id:"_ybDod"}):d.i18n._({id:"jjaYji"}),children:g(e.id)?(0,t.jsx)("span",{className:"block w-2 h-2 bg-green-600 dark:bg-green-500 rounded-full shrink-0"}):m[e.id]>=1?(0,t.jsx)("span",{className:"block w-2 h-2 bg-orange-500 rounded-full shrink-0"}):(0,t.jsx)("span",{className:"block w-2 h-2 bg-gray-400 dark:bg-gray-500 rounded-full shrink-0"})}):null,e.id!==i.OTHERS_PROVIDER.id&&f?(0,t.jsx)("button",{type:"button",onClick:t=>{t.stopPropagation(),y(e.id)},className:"h-9 aspect-square flex items-center justify-center rounded-lg hover:bg-slate-900/10 dark:hover:bg-white/10 transition-colors","data-tooltip-id":"global","data-tooltip-content":d.i18n._({id:"ywFj2D"}),children:(0,t.jsx)(a.default,{className:"w-[18px] h-[18px]"})}):null]})]},e.id)})]}),(0,t.jsx)(h,{provider:w,settings:p[w?.id],open:!!w,onClose:()=>y(null),onPatchSettings:({settings:e,shouldTest:t})=>j({providerID:w?.id,settings:e,shouldTest:t}),onTestSettings:b?({settings:e}={})=>b({providerID:w?.id,settings:e}):void 0})]})}],743576)},548914,e=>{"use strict";var t=e.i(268601),s=e.i(670245),l=e.i(975705),n=e.i(524572);function r(...e){return e.filter(Boolean).join(" ")}e.s(["default",0,({suggestions:e=[],tags:i,setTags:a,placeholder:o=s.i18n._({id:"ENWqZw"}),allowNew:d=!0,className:c,inputClassName:u,autoFocus:x,newTagText:m=s.i18n._({id:"uFQF6u"}),allowBackspace:h=!0})=>{let[p,g]=(0,l.useState)(""),[f,j]=(0,l.useState)(!1),[b,v]=(0,l.useState)(-1),k=(0,l.useRef)(null),y=(0,l.useRef)(null),w=(0,l.useMemo)(()=>p.trim()?e.filter(e=>!i.find(t=>t.name===e.name)).filter(e=>e.name.toLowerCase().includes(p.toLowerCase())).slice(0,10):e,[p,i,e]),N=(0,l.useMemo)(()=>!!d&&!!p.trim()&&!e.some(e=>e.name.toLowerCase()===p.toLowerCase()),[p,d,e]);(0,l.useEffect)(()=>{x&&k.current&&k.current.focus()},[x]),(0,l.useEffect)(()=>{let e=e=>{y.current&&!y.current.contains(e.target)&&k.current&&!k.current.contains(e.target)&&j(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let C=e=>{if("string"==typeof e){let t=e.trim();if(!t)return;e={id:"tag-"+(0,n.v4)(),name:t}}i.find(t=>t.id===e.id||t.name.toLowerCase()===e.name.toLowerCase())||(a([...i,e]),g(""),v(-1),setTimeout(()=>{k.current?.focus()},0))},T=e=>{a(i.filter((t,s)=>s!==e))};return(0,l.useEffect)(()=>{b>-1&&document.querySelector("#tag-suggestions > li[aria-selected=true]")?.scrollIntoView({block:"nearest"})},[b]),(0,t.jsx)("div",{"data-element-id":"add-new-prompt-tags-input",className:c,children:(0,t.jsxs)("div",{className:"w-full",children:[i.length?(0,t.jsx)("div",{className:"flex flex-wrap gap-2 w-full mb-2",children:i.map((e,l)=>(0,t.jsxs)("div",{className:"border border-gray-300 dark:border-gray-500 rounded-md px-2 py-0.5 flex items-center gap-2 hover:border-blue-500 dark:hover:border-blue-500 group cursor-pointer",onClick:()=>{g(e.name),T(l),k.current?.focus()},title:s.i18n._({id:"cwMTjO"}),children:[(0,t.jsx)("span",{children:e.name}),(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),T(l)},className:"text-gray-500 hover:text-red-500 focus:text-red-500 focus:outline-none","aria-label":s.i18n._({id:"w61W3L",values:{0:e.name}}),children:"✕"})]},e.id))}):null,(0,t.jsxs)("div",{className:"relative w-full",children:[(0,t.jsx)("input",{ref:k,type:"text",value:p,onChange:e=>{let t=e.target.value;g(t),t.trim()&&(j(!0),v(-1))},onKeyDown:e=>{if("Escape"===e.key){j(!1),v(-1);return}if("Enter"===e.key){e.preventDefault(),b>=0&&w[b]?C(w[b]):N&&C(p);return}if("Backspace"===e.key&&!p&&h&&i.length>0)return void T(i.length-1);if(!f&&w.length>0&&j(!0),"ArrowDown"===e.key){e.preventDefault();let t=w.length+(N?0:-1);v(e=>e<t?e+1:0)}if("ArrowUp"===e.key){e.preventDefault();let t=w.length+(N?0:-1);v(e=>e>0?e-1:t)}},onFocus:()=>{j(!0)},placeholder:o,className:r("w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 text-base leading-6 focus:outline-none focus:ring-blue-500 focus:border-blue-500 transition duration-150 ease-in-out dark:bg-zinc-700 dark:border-gray-500 dark:focus:border-blue-500",u),"aria-label":o,"aria-autocomplete":"list","aria-controls":"tag-suggestions"}),f&&(w.length>0||N)&&(0,t.jsxs)("ul",{ref:y,id:"tag-suggestions",className:"z-10 mt-1 absolute top-full left-0 w-full bg-white dark:bg-zinc-900 border border-gray-200 dark:border-gray-600 shadow-lg rounded-lg overflow-hidden text-black dark:text-white font-medium max-h-60 overflow-y-auto",role:"listbox",children:[w.map((e,s)=>(0,t.jsx)("li",{className:r("truncate p-2 cursor-pointer",b===s?"bg-blue-500 text-white":"hover:bg-blue-100 dar
2k:hover:bg-blue-900"),onClick:()=>{C(e),j(!1)},onMouseEnter:()=>v(s),role:"option","aria-selected":b===s,children:e.name},e.id)),N&&(0,t.jsxs)("li",{className:r("truncate p-2 cursor-pointer",b===w.length?"bg-blue-500 text-white":"hover:bg-blue-100 dark:hover:bg-blue-900"),onClick:()=>{C(p),j(!1)},onMouseEnter:()=>v(w.length),role:"option","aria-selected":b===w.length,children:[(0,t.jsx)("span",{className:"opacity-70",children:m})," ",p]})]})]})]})})}])},328041,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("polyline",{fill:"none",points:"1.872 3.305 2.28 6.25 5.224 5.843",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M2.499,12.211c-.415-.838-.671-1.761-.734-2.728",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M6.735,15.888c-.936-.307-1.78-.795-2.496-1.42",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M14.479,13.749c.613-.706,1.094-1.535,1.399-2.454",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M9.451,16.237c.983-.06,1.923-.32,2.774-.743",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M16.232,8.484c-.265-3.763-3.401-6.734-7.232-6.734-3.031,0-5.627,1.86-6.71,4.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})})}])},474420,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",stroke:"currentColor",children:[(0,t.jsx)("polyline",{points:"1.872 3.305 2.28 6.25 5.224 5.843"}),(0,t.jsx)("path",{d:"M2.499,12.211c-.415-.838-.671-1.761-.734-2.728"}),(0,t.jsx)("path",{d:"M6.735,15.888c-.936-.307-1.78-.795-2.496-1.42"}),(0,t.jsx)("path",{d:"M14.479,13.749c.613-.706,1.094-1.535,1.399-2.454"}),(0,t.jsx)("path",{d:"M9.451,16.237c.983-.06,1.923-.32,2.774-.743"}),(0,t.jsx)("path",{d:"M16.232,8.484c-.265-3.763-3.401-6.734-7.232-6.734-3.031,0-5.627,1.86-6.71,4.5"}),(0,t.jsx)("line",{x1:"9",y1:"7",x2:"9",y2:"11"}),(0,t.jsx)("line",{x1:"7",y1:"9",x2:"11",y2:"9"})]})})}])},591849,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("polyline",{fill:"none",points:"5 6.75 9 2.75 13 6.75",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,t.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"9",x2:"9",y1:"2.75",y2:"12.25"}),(0,t.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"2.75",x2:"15.25",y1:"15.25",y2:"15.25"})]})})}])},209052,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("polyline",{fill:"none",points:"5 9.75 9 5.75 13 9.75",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,t.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"9",x2:"9",y1:"5.75",y2:"15.25"}),(0,t.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"2.75",x2:"15.25",y1:"2.75",y2:"2.75"})]})})}])},917758,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",thick:n,...r}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"3.873",x2:"14.118",y1:"14.127",y2:"3.882"}),(0,t.jsx)("circle",{cx:"9",cy:"9",fill:"none",r:"7.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})})}])},435312,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M14.72,12.22l-1.22,1.22V6.25c0-.414-.336-.75-.75-.75s-.75,.336-.75,.75v7.189l-1.22-1.22c-.293-.293-.768-.293-1.061,0s-.293,.768,0,1.061l2.5,2.5c.146,.146,.338,.22,.53,.22s.384-.073,.53-.22l2.5-2.5c.293-.293,.293-.768,0-1.061s-.768-.293-1.061,0Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M10,9.75c0-.414-.336-.75-.75-.75H2.75c-.414,0-.75,.336-.75,.75s.336,.75,.75,.75h6.5c.414,0,.75-.336,.75-.75Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M2.75,7h6.5c.414,0,.75-.336,.75-.75s-.336-.75-.75-.75H2.75c-.414,0-.75,.336-.75,.75s.336,.75,.75,.75Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M2.75,3.5H12.75c.414,0,.75-.336,.75-.75s-.336-.75-.75-.75H2.75c-.414,0-.75,.336-.75,.75s.336,.75,.75,.75Z",fill:"currentColor"})]})})}])},866218,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"m4.4147,13.583l2.4642-2.4631c-.5427-.5432-.8789-1.2927-.8789-2.1194,0-1.6543,1.3457-3,3-3,.8272,0,1.5772.3364,2.1204.8799l2.4646-2.4636c-1.2065-.812-2.7245-1.4172-4.585-1.4172-4.001,0-6.4404,2.791-7.5386,4.4551-.6182.9395-.6182,2.1514,0,3.0898.587.8911,1.5625,2.1028,2.9532,3.0386Z",strokeWidth:0}),(0,t.jsx)("path",{d:"m15.2986,5.884l-3.3191,3.3186c-.1016,1.4907-1.2871,2.676-2.7777,2.7773l-2.6429,2.6426c.739.2339,1.549.3779,2.4411.3779,4.001,0,6.4404-2.791,7.5386-4.4551.6182-.9395.6182-2.1514,0-3.0898-.3059-.4644-.7203-1.0166-1.2399-1.5715Z",strokeWidth:0}),(0,t.jsx)("path",{d:"m2,16.75c-.192,0-.384-.073-.53-.22-.293-.293-.293-.768,0-1.061L15.47,1.47c.293-.293.768-.293,1.061,0s.293.768,0,1.061L2.53,16.53c-.146.146-.338.22-.53.22Z",strokeWidth:0})]})})}])},760651,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",stroke:"currentColor",children:[(0,t.jsx)("circle",{cx:"5",cy:"5",r:"2.5"}),(0,t.jsx)("circle",{cx:"13",cy:"5",r:"2.5"}),(0,t.jsx)("circle",{cx:"5",cy:"13",r:"2.5"}),(0,t.jsx)("circle",{cx:"13",cy:"13",r:"2.5"})]})})}])},682906,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsxs)("g",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",stroke:"currentColor",children:[(0,t.jsx)("path",{d:"M6.75 9.5C7.02614 9.5 7.25 9.27614 7.25 9C7.25 8.72386 7.02614 8.5 6.75 8.5C6.47386 8.5 6.25 8.72386 6.25 9C6.25 9.27614 6.47386 9.5 6.75 9.5Z",fill:"currentColor"})," ",(0,t.jsx)("path",{d:"M6.75 4.25C7.02614 4.25 7.25 4.02614 7.25 3.75C7.25 3.47386 7.02614 3.25 6.75 3.25C6.47386 3.25 6.25 3.47386 6.25 3.75C6.25 4.02614 6.47386 4.25 6.75 4.25Z",fill:"currentColor"})," ",(0,t.jsx)("path",{d:"M6.75 14.75C7.02614 14.75 7.25 14.5261 7.25 14.25C7.25 13.9739 7.02614 13.75 6.75 13.75C6.47386 13.75 6.25 13.9739 6.25 14.25C6.25 14.5261 6.47386 14.75 6.75 14.75Z",fill:"currentColor"})," ",(0,t.jsx)("path",{d:"M11.25 9.5C11.5261 9.5 11.75 9.27614 11.75 9C11.75 8.72386 11.5261 8.5 11.25 8.5C10.9739 8.5 10.75 8.72386 10.75 9C10.75 9.27614 10.9739 9.5 11.25 9.5Z",fill:"currentColor"})," ",(0,t.jsx)("path",{d:"M11.25 4.25C11.5261 4.25 11.75 4.02614 11.75 3.75C11.75 3.47386 11.5261 3.25 11.25 3.25C10.9739 3.25 10.75 3.47386 10.75 3.75C10.75 4.02614 10.9739 4.25 11.25 4.25Z",fill:"currentColor"})," ",(0,t.jsx)("path",{d:"M11.25 14.75C11.5261 14.75 11.75 14.5261 11.75 14.25C11.75 13.9739 11.5261 13.75 11.25 13.75C10.9739 13.75 10.75 13.9739 10.75 14.25C10.75 14.5261 10.9739 14.75 11.25 14.75Z",fill:"currentColor"})]})})}])},564786,e=>{"use strict";var t=e.i(268601);e.i(975705),e.s(["default",0,function(e){let s=e.fill||"currentColor",l=e.secondaryfill||s,n=e.width||"1em",r=e.height||"1em";return(0,t.jsx)("svg",{className:e.className,height:r,width:n,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsxs)("g",{fill:s,children:[(0,t.jsx)("line",{fill:"none",stroke:l,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"9",x2:"9",y1:".75",y2:"1.75"}),(0,t.jsx)("line",{fill:"none",stroke:l,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"14.834",x2:"14.127",y1:"3.166",y2:"3.873"}),(0,t.jsx)("line",{fill:"none",stroke:l,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"17.25",x2:"16.25",y1:"9",y2:"9"}),(0,t.jsx)("line",{fill:"none",stroke:l,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"3.166",x2:"3.873",y1:"3.166",y2:"3.873"}),(0,t.jsx)("line",{fill:"none",stroke:l,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:".75",x2:"1.75",y1:"9",y2:"9"}),(0,t.jsx)("line",{fill:"none",stroke:s,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"6.897",x2:"11.103",y1:"13.25",y2:"13.25"}),(0,t.jsx)("path",{d:"M13.75,9c0-2.959-2.705-5.286-5.777-4.642-1.872,.392-3.35,1.957-3.658,3.844-.381,2.339,.951,4.417,2.935,5.205v2.343c0,.552,.448,1,1,1h1.5c.552,0,1-.448,1-1v-2.343c1.755-.697,3-2.403,3-4.407Z",fill:"none",stroke:s,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})})}])},563974,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsx)("g",{fill:"currentColor",children:(0,t.jsx)("path",{d:"M3.25 9H14.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})})}])},935404,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsx)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,t.jsx)("g",{fill:"currentColor",children:(0,t.jsx)("path",{d:"M14.75,8.25c.372,0,.716,.118,1,.317v-2.317c0-1.104-.895-2-2-2h-2.317c.198-.284,.317-.627,.317-1,0-.967-.784-1.75-1.75-1.75s-1.75,.783-1.75,1.75c0,.373,.118,.716,.317,1h-2.317c-1.105,0-2,.896-2,2v2.317c-.284-.198-.628-.317-1-.317-.966,0-1.75,.783-1.75,1.75s.784,1.75,1.75,1.75c.372,0,.716-.118,1-.317v2.317c0,1.104,.895,2,2,2h2.317c-.198-.284-.317-.627-.317-1,0-.967,.784-1.75,1.75-1.75s1.75,.783,1.75,1.75c0,.373-.118,.716-.317,1h2.317c1.105,0,2-.896,2-2v-2.317c-.284,.198-.628,.317-1,.317-.966,0-1.75-.783-1.75-1.75s.784-1.75,1.75-1.75Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})})}])},118190,e=>{"use strict";var t=e.i(268601);e.s(["default",0,function({className:e="",width:s="18px",height:l="18px",...n}){return(0,t.jsxs)("svg",{className:e,width:s,height:l,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...n,children:[(0,t.jsxs)("defs",{children:[(0,t.jsx)("path",{id:"puzzlePath",d:"M15.414,8.665c.233,.117,.509,.104,.73-.032,.221-.137,.356-.378,.356-.638v-1.744c0-1.517-1.233-2.75-2.75-2.75h-1.775c.01-.083,.025-.
2164,.025-.25,0-1.103-.897-2-2-2s-2,.897-2,2c0,.086,.015,.167,.025,.25h-1.775c-1.517,0-2.75,1.233-2.75,2.75v1.775c-.083-.011-.164-.025-.25-.025-1.103,0-2,.897-2,2s.897,2,2,2c.086,0,.167-.015,.25-.025v1.775c0,1.517,1.233,2.75,2.75,2.75h1.744c.26,0,.501-.135,.638-.355,.136-.221,.149-.498,.033-.73-.109-.219-.165-.442-.165-.665,0-.827,.673-1.5,1.5-1.5s1.5,.673,1.5,1.5c0,.221-.056,.445-.166,.666-.116,.232-.103,.508,.034,.729,.137,.221,.378,.355,.638,.355h1.744c1.517,0,2.75-1.233,2.75-2.75v-1.744c0-.26-.135-.501-.356-.638s-.498-.15-.73-.032c-1.027,.515-2.164-.285-2.164-1.335,0-1.05,1.134-1.85,2.164-1.335Z"}),(0,t.jsx)("clipPath",{id:"clipTopLeft",children:(0,t.jsx)("polygon",{points:"0,0 16,0 16,2 2,16 0,16"})}),(0,t.jsx)("clipPath",{id:"clipBottomRight",children:(0,t.jsx)("polygon",{points:"2,16 16,2 18,2 18,18 0,18"})})]}),(0,t.jsx)("g",{transform:"translate(-0.5, -0.5)",children:(0,t.jsx)("use",{href:"#puzzlePath",fill:"currentColor",clipPath:"url(#clipTopLeft)"})}),(0,t.jsx)("g",{transform:"translate(0.5, 0.5)",children:(0,t.jsx)("use",{href:"#puzzlePath",fill:"currentColor",clipPath:"url(#clipBottomRight)"})}),(0,t.jsx)("line",{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}])}]);
3
4//# debugId=0c3cb8be-7083-b62a-263d-f2e3c00e49bb
5//# sourceMappingURL=17b_p9-t4pbpz.js.map

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.