134 lines
223 KiB
JavaScript
134 lines
223 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Share-DuY2ogPU.js","assets/vue-B11_pI9F.js","assets/rolldown-runtime-DWdDZTNf.js","assets/_plugin-vue_export-helper-B67ILkmu.js","assets/kimi-DRwOD7EI.js","assets/useMessage-Cpv2N0cC.js","assets/preload-helper-NECkhNH4.js","assets/snapdom-Da_w1Ev1.js","assets/dayjs.min-BoSdjn8v.js","assets/yaml-8mzYdWcr.js","assets/ThumbnailSlide-COLdjDXw.js","assets/common-utils-G6HD4Ji1.js","assets/dexie-HNSdyusO.js","assets/katex-BotMgawn.js","assets/katex-Cg8Rrj4S.css","assets/prosemirror-KiX6ZXa-.js","assets/const-BjfH-jZe.js","assets/faIcons-u_2ozSt4.js","assets/shapePreset-CxGn1Ud3.js","assets/yaml-Jsje7sNc.js","assets/ThumbnailSlide-CNt7vrDr.css","assets/penpal-DGj0EF1v.js","assets/kimi.button-DiBbOOiZ.js","assets/dom-CWEl93tC.js","assets/dom-ljDggPGB.css","assets/kimi-DH0O-3yG.css","assets/useMessage-DevS7YOO.css","assets/Loading-DTHKpUX9.js","assets/Loading-D1HZ5BTY.css","assets/Screen-e_2r2R5P.js","assets/slideTransition-qR4hDwBa.js","assets/slideTransition-B0IpQu8x.css","assets/menuExclusive-DWJqMbvd.js","assets/menuExclusive-A6pV-6q5.css","assets/PopoverMenu-D6aS9gI3.js","assets/PopoverMenu-CwiC6AzW.css","assets/Screen-C40EWX4e.css","assets/usePPTDTitle-senR0KSa.js","assets/Share-n_N54u8j.css","assets/Editor-DBJ5CkCS.js","assets/SelectMenu-J2_ZM6vn.js","assets/SelectMenu-CDF5hVie.css","assets/Tabs-BfEIxvgH.js","assets/Tabs-3y3wUkna.css","assets/Editor-BGjJFbt1.css","assets/Presenter-BPEJLQpU.js","assets/Presenter-DqFMqITV.css","assets/Mobile-BgPuwkub.js","assets/Mobile-DDsjWa2n.css","assets/Raw-BESBL9gK.js","assets/folderEntryParser-DjmgZytL.js","assets/Raw-CWTq5DqG.css","assets/Preview-BAHV0lEy.js","assets/Preview-DIpDCKLk.css","assets/Player-Bww-Hqsc.js","assets/Player-CZ5SJTIm.css"])))=>i.map(i=>d[i]);
|
||
import'data:text/javascript,"assets/index-jtNAhQeK.js";if(!import.meta.resolve)throw Error("import.meta.resolve not supported")';export function __vite_legacy_guard(){import.meta.url,import(`_`).catch(()=>1),(async function*(){})().next()}import{$ as t,At as n,B as r,D as i,E as a,Et as o,G as s,H as c,J as l,K as u,M as d,Mt as f,N as p,Nt as m,P as h,Q as g,T as _,Tt as v,U as y,V as ee,W as b,X as te,Y as ne,Z as x,at as re,b as ie,bt as ae,c as S,ct as C,dt as oe,et as se,ft as ce,ht as le,i as ue,k as de,kt as fe,l as w,lt as pe,mt as me,o as he,ot as ge,p as _e,r as ve,rt as ye,s as be,tt as xe,u as Se,ut as Ce,vt as we,w as Te,z as Ee}from"./vue-B11_pI9F.js";import{b as De,r as Oe,u as ke}from"./const-BjfH-jZe.js";import{t as T}from"./preload-helper-NECkhNH4.js";import{o as Ae}from"./common-utils-G6HD4Ji1.js";import{t as je}from"./_plugin-vue_export-helper-B67ILkmu.js";import{t as Me}from"./icons-CgDhqj4h.js";import{A as Ne,C as E,D as Pe,E as D,M as Fe,N as Ie,O as Le,P as O,S as Re,T as ze,_ as Be,b as Ve,d as He,f as Ue,g as We,h as Ge,j as Ke,k as qe,l as Je,m as Ye,p as Xe,u as Ze,v as Qe,w as $e,x as et,y as tt}from"./kimi-DRwOD7EI.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var nt={install(e){e.config.globalProperties.modelContextMap=new Map}};function rt(){return g()?.root.appContext.config.globalProperties.modelContextMap}function it(e){return{fn:e}}function at(e){let t=g();return{key:Symbol(`model`),instance:e.fn(),vueInstance:t}}function ot(e){let t=g();if(!t)throw Error(`useModel must use in a setup context!`);let n=rt();if(!n)throw Error(`You haven't install model plugin!`);if(!n.has(e)){let r=at(e);n.set(e,{contextInfo:r,count:0}),t.root.appContext.app.provide(r.key,r.instance)}let r=n.get(e);return r.count++,n.set(e,r),re(()=>{r.count--,r.count===0&&n.delete(e)}),r.contextInfo.instance}function st(e){let t=it(e);return()=>ot(t)}var ct=a({history:i(Oe),routes:De?[{path:`/share/:id?`,component:()=>T(()=>import(`./Share-DuY2ogPU.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),meta:{theme:`light`}}]:[{path:`/`,name:`Editor`,component:()=>T(()=>import(`./Editor-DBJ5CkCS.js`),__vite__mapDeps([39,1,2,11,3,6,5,4,7,8,9,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,33,34,35,40,41,42,43,29,30,31,36,37,44])),meta:{noBodyScroll:!0}},{path:`/presenter`,name:`Presenter`,component:()=>T(()=>import(`./Presenter-BPEJLQpU.js`),__vite__mapDeps([45,1,2,3,10,11,6,4,12,9,13,14,15,16,17,18,19,20,29,22,23,24,25,30,31,32,33,34,35,36,37,46])),meta:{noBodyScroll:!0}},{path:`/share/:id?`,name:`Share`,component:()=>T(()=>import(`./Share-DuY2ogPU.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),meta:{theme:`light`}},{path:`/mobile`,name:`Mobile`,component:()=>T(()=>import(`./Mobile-BgPuwkub.js`),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,37,48]))},{path:`/raw`,name:`RawPreview`,component:()=>T(()=>import(`./Raw-BESBL9gK.js`),__vite__mapDeps([49,1,2,3,10,11,6,4,12,9,13,14,15,16,17,18,19,20,50,51])),meta:{theme:`light`}},{path:`/preview`,name:`NormalPreview`,component:()=>T(()=>import(`./Preview-BAHV0lEy.js`),__vite__mapDeps([52,1,2,3,5,6,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,37,53])),meta:{theme:`light`}},{path:`/player`,name:`Player`,component:()=>T(()=>import(`./Player-Bww-Hqsc.js`),__vite__mapDeps([54,1,2,3,5,6,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,37,55])),meta:{noBodyScroll:!0,theme:`light`}}]});ct.afterEach(e=>{document.documentElement.classList.toggle(`no-body-scroll`,!!e.meta.noBodyScroll)});var lt={topBar:{fullscreen:`Fullscreen`,collapse:`Collapse`,autosaving:`Autosaving...`,justSaved:`Just saved`,savedMinutesAgo:`Saved {minutes} min ago`,versionName:`V{version}`,versionLatest:`Latest`,versionEditedBy:`Edited by {editor} at {time}`,versionMinutesAgo:`{minutes} min ago`,versionYesterday:`Yesterday {time}`,restoreVersion:`Restore`,returnLatestVersion:`Back to latest`,close:`Close`},basic:{undo:`Undo`,redo:`Redo`,save:`Save`,screen:`Play`,share:`Share`,export:`Export`,unnamedPresentation:`Untitled presentation`,lastPage:`This is the last page`},presenter:{start:`Present on this screen`,mode:`Presenter mode`,exit:`Exit`,openFailed:`Browser blocked the presenter pop-up. Click the pop-up blocked icon in the address bar, choose Always allow pop-ups and redirects from this site, then try again.`,connectFailed:`Failed to connect presenter window. Please try again.`},screen:{fullscreenFailed:`Browser denied fullscreen. Allow fullscreen permission for this site in browser settings, then try again.`,transitionEffects:{none:`No Effect`,fade:`Fade`,"wipe-right":`Wipe Right`,"wipe-left":`Wipe Left`,"wipe-down":`Wipe Down`,"wipe-up":`Wipe Up`,"split-vertical":`Split Vertical`,"split-horizontal":`Split Horizontal`,box:`Box`,checkerboard:`Checkerboard`,"random-bars-horizontal":`Random Bars Horizontal`,"random-bars-vertical":`Random Bars Vertical`,"horizontal-blinds":`Horizontal Blinds`,"vertical-blinds":`Vertical Blinds`,"column-grid":`Column Grid`,"random-grid":`Random Grid`,random:`Random Effect`}},save:{saveFailed:`Save failed`,invalidData:`Save data is invalid. Refresh and try again.`,conflictTitle:`Newer version detected`,conflictContent:`This presentation was updated at {time}. Refresh to view the latest version, or apply your current changes and save again.`,conflictRefresh:`Refresh page`,conflictApplyChanges:`Apply current changes`},bottomBar:{rectangle:`Rectangle`,otherShapes:`Other shapes`,decoration:`Decoration`,straightLine:`Straight line`,curve:`Curve`,createTable:`Create table`,searchIcon:`Search icon`,noIconFound:`No icons found`},sideBar:{addSlide:`New slide`,previewMode:`Preview mode`,expand:`Expand`,collapse:`Collapse`},contextMenu:{cut:`Cut`,copy:`Copy`,paste:`Paste`,selectAll:`Select all`,changeBackground:`Change background`,newPage:`New slide`,copyPage:`Copy page`,deletePage:`Delete slide`,delete:`Delete`,moveUpOneLayer:`Bring forward`,moveDownOneLayer:`Send backward`,bringToTop:`Bring to front`,sendToBottom:`Send to back`,align:`Align`,alignCenter:`Center`,alignHorizontal:`Center horizontally`,startFromCurrent:`Start from current`,insertColumn:`Insert column`,insertColumnLeft:`Left`,insertColumnRight:`Right`,insertRow:`Insert row`,insertRowAbove:`Above`,insertRowBelow:`Below`,deleteColumn:`Delete column`,deleteRow:`Delete row`,mergeCells:`Merge cells`,unmergeCells:`Unmerge cells`,selectCurrentColumn:`Select column`,selectCurrentRow:`Select row`,selectAllCells:`Select all`,deleteTable:`Delete table`},common:{name:`Slides`,nameEN:`Slides`,confirm:`Confirm`,cancel:`Cancel`,dontRemind:`Don't remind me again`,feedback:`Feedback`,user:`User`,loadFailedRetry:`Load failed. Please try again later.`},annotation:{edit:`Edit`,entry:`Comment`,placeholder:`Tell Kimi what to change`,add:`Add`,addedCount:`{count} comments added`,emptyTip:`Add comments on the pages`,clear:`Clear comments`,delete:`Delete comments`,marker:`Comment`,pageLabel:`Page {page}`,clearConfirm:{title:`Clear all comments?`,content:`This will remove all added comments`,cancelText:`Cancel`,confirmText:`Clear`},exitConfirm:{title:`Exit comment mode?`,content:`Unsent comments won’t be saved`,cancelText:`Cancel`,confirmText:`Exit`}},wap:{loading:`Loading`,play:`Play`,export:`Export`,exporting:`Exporting`,playPrevLine1:`Tap or swipe left`,playPrevLine2:`Previous slide`,playMenuLine1:`Tap center`,playMenuLine2:`Open slide menu`,playNextLine1:`Tap or swipe right`,playNextLine2:`Next slide`},rate:{title:`How was this result?`,thanksTitle:`Thanks for sharing`,bad:`Not good`,normal:`Okay`,good:`Great`,resultTip:`Your ideas make Kimi better! `,feedback:`More feedback`},feedback:{snackbar:{title:`How is this result?`,good:`Good`,normal:`Normal`,bad:`Bad`,successMessage:`Got it, feel free to share more feedback!`,writeFeedback:`Feedback`}},logoModal:{title:`Add logo`,tooltip:`Logo will be added to the top-left corner of all slides`,selected:`Selected`,upload:`Upload logo`,preview:`Preview`,maxLimit:`Maximum 5 logos`,alertMaxLimit:`Maximum 5 logos allowed`,applyToAll:`Apply to all slides`},latex:{title:`Insert equation`,placeholder:`Enter LaTeX formula, e.g. E = mc^2`},themeEditor:{title:`Slides theme`,apply:`Apply`,cancel:`Cancel`,themeColors:`Theme colors`,emptyThemeColors:`No theme colors`,currentPageBackground:`Current page background`,backgroundColor:`Color`,backgroundImage:`Image`,uploadImage:`Upload image`,uploadImageFailed:`Image upload failed. Please try again later.`,backgroundFitFill:`Fill`,backgroundFitContain:`Fit`,backgroundFitStretch:`Stretch`,applyToAll:`Apply to all`,textStyles:`Text styles`,emptyTextStyles:`No text styles`,fontStyle:`Weight`,lineHeight:`Line height`,letterSpacing:`Letter spacing`,previewText:`Meet Kimi123`,normal:`Regular`,textStyleTitle:`Title`,textStyleSubtitle:`Subtitle`,textStyleBody:`Body`,textStyleCaption:`Caption / note`,miSans:`Microsoft YaHei`},diffChecker:{title:`Diff checker`,newFile:`New file`,deletedFile:`Deleted`,emptyContent:`File content is empty`},insert:{text:`Insert text`,graphics:`Graphics`,graphicsShapeTab:`Shapes`,graphicsLineTab:`Lines`,graphicsIconTab:`Icons`,image:`Insert image`,table:`Insert table`,theme:`Theme`,latex:`Insert equation`,watermark:`Add watermark`,more:`More`,animation:`Animation`},scaleMenu:{zoomIn:`Zoom in`,zoomOut:`Zoom out`,fitScreen:`Fit screen`},exportDialog:{image:`Image`,downloadTitle:`Export`,tabDownload:`Download`,tabGoogleSlides:`Google Slides`,outputFormat:`Output format`,fontEmbed:`Embed fonts`,fontEmbedTooltip:`Embed font files into PPTX for consistent display across devices`,slideTransition:`Slide transition`,slideTransitionTooltip:`Add transition animations to slides`,defaultDownloadPath:`Default download path`,storageTo:`Save to`,download:`Download`,downloadStarted:`Export started`,downloadStartTip:`Export started. If the download doesn’t start, please try another browser or export again`,loading:`Exporting`,pendingTip:`Export is taking too long, please try a different browser`,wechatTip:`WeChat built-in browser does not support downloads. Please use a desktop browser such as Chrome or Edge`,safariTip:`Current browser version is outdated, please upgrade or change browser and try again`,mobileTip:`Please download on desktop`,exportPptxFailed:`Failed to export PPTX`,exportPptxSignFailed:`Failed to export PPTX. Please refresh and try again.`,exportImageFailed:`Failed to export images`,exportingToGoogle:`Exporting to Google Slides...`,exportToGoogle:`Export to Google`,exportToGoogleTips:`Export presentation to Google Slides`,exportToGoogleNetworkError:`Failed to export to Google Slides`},share:{create:`Create slides`,createDesign:`Start designing`,public:`Public`,private:`Private`,createLink:`Create share link`,createLinkDesc:`Anyone with the link can view your presentation`,createLinkBtn:`Create link`,createLinkFailed:`Failed to create share link`,bannedTips:`Sharing has been disabled`,goFeedback:`Send feedback`,updateLinkTitle:`Update share link`,updateLinkDesc:`The old link will no longer work after updating`,updateLinkConfirm:`Update`,updateLinkSuccess:`Link updated`,updateTime:`Updated: `,viewLink:`View link`,notPublic:`Not public`,copySuccess:`Link copied`,copyFailed:`Copy failed`,copyLinkBtn:`Copy link`,updateLinkBtn:`Update link`,setPrivateTitle:`Set to private`,setPrivateDesc:`Others will not be able to access via the link`,setPrivateConfirm:`Confirm`,setPrivateSuccess:`Set to private`,updateShareFailed:`Failed to update share status`,linkError:`Invalid link, please check the share link`,report:`Report`,linkInvalid:`Unable to access this link`},floatBar:{leftAlign:`Left`,centerAlign:`Center`,rightAlign:`Right`,justify:`Justify`,topAlign:`Top`,verticallyCenter:`Center`,bottomAlign:`Bottom`,horizontalAlignment:`Horizontal alignment`,verticalAlignment:`Vertical alignment`,lineSpacing:`Line spacing`,textStyle:`Text style`,tableStyle:`Table style`,unappliedTextStyle:`Unapplied`,manageTextStyles:`Manage text styles`,fontColor:`Font color`,textBackground:`Text background`,font:`Font`,unsupportedFont:`⚠️ Unsupported font style`,fontSize:`Font size`,bold:`Bold`,italic:`Italic`,underline:`Underline`,strikethrough:`Strikethrough`,insertLatex:`Insert equation`,editLatex:`Edit equation`,editData:`Edit data`,showChartTitle:`Show title`,editChartTitle:`Edit title`,chartTitlePlaceholder:`Chart title`,showChartValues:`Show values`,chartLegend:`Legend`,none:`None`,top:`Top`,bottom:`Bottom`,left:`Left`,right:`Right`,candlestickUpColor:`Up color`,candlestickDownColor:`Down color`,candlestickWickColor:`Wick color`,waterfallIncreaseColor:`Increase color`,waterfallDecreaseColor:`Decrease color`,waterfallTotalColor:`Total color`,heatmapLowColor:`Low value color`,heatmapMiddleColor:`Middle value color`,heatmapHighColor:`High value color`,editLine:`Edit line`,curveLine:`Curve`,lineCurveSharp:`Polyline`,lineCurveRound:`Rounded`,lineCurveSmooth:`Curve`,lineStartArrow:`Start arrow`,lineEndArrow:`End arrow`,usedThemeColor:`Using "{name}" theme`,colorFill:`Color fill`,themeColor:`Theme color`,replaceImage:`Replace image`,replaceIcon:`Replace icon`,replaceShape:`Replace shape`,imageFit:`Image fit`,fitFill:`Stretch`,fitContain:`Contain`,fitCover:`Cover`,cancelCrop:`Cancel crop`,cropImage:`Crop image`,opacity:`Opacity`,horizontalFlip:`Horizontal flip`,verticalFlip:`Vertical flip`,layer:`Layer`,bringToTop:`Bring to front`,sendToBottom:`Send to back`,bringForward:`Bring forward`,sendBackward:`Send backward`,rowAction:`Row actions`,columnAction:`Column actions`,insertRowBefore:`Insert row above`,insertRowAfter:`Insert row below`,insertColumnBefore:`Insert column left`,insertColumnAfter:`Insert column right`,defaultBorder:`Default`,allBorders:`All borders`,topAndBottomBorders:`Top and bottom borders`,leftAndRightBorders:`Left and right borders`,topBorder:`Top border`,rightBorder:`Right border`,bottomBorder:`Bottom border`,leftBorder:`Left border`,equalizeColumnWidths:`Equalize column widths`,deselectAll:`Deselect all`,selectAll:`Select all`,deleteTable:`Delete table`,cellBackground:`Cell background`,times:`x`,border:`Border`,line:`Line`,solidLine:`Solid`,dashedLine:`Dashed`,dottedLine:`Dotted`,noBorder:`No border`,style:`Style`,thickness:`Thickness`,color:`Color`,recentColors:`Recent colors`,notSupportEyeDropper:`Current browser does not support color picker, please change browser`,escCloseEyeDropper:`Press ESC to close color picker`},notes:{placeholder:`Notes`,show:`Show speaker notes`},animationPanel:{title:`Animation`,preview:`Preview`,empty:`No animations on this page`,add:`Add animation`,addHint:`Select an element to add an animation`,target:`Target element`,effect:`Effect`,trigger:`Trigger`,triggerOnClick:`On click`,triggerWithPrevious:`With previous`,triggerAfterPrevious:`After previous`,direction:`Direction`,directionUp:`Up`,directionDown:`Down`,directionLeft:`Left`,directionRight:`Right`,duration:`Duration (ms)`,delay:`Delay (ms)`,easing:`Easing`,easingLinear:`Linear`,easingEaseIn:`Ease in`,easingEaseOut:`Ease out`,easingEaseInOut:`Ease in-out`,repeat:`Repeat`,path:`Path`,delete:`Delete`,categoryEntrance:`Entrance`,categoryEmphasis:`Emphasis`,categoryExit:`Exit`,categoryMotionPath:`Motion path`,effects:{appear:`Appear`,"fade-in":`Fade in`,"fly-in":`Fly in`,"zoom-in":`Zoom in`,"wipe-in":`Wipe in`,"float-in":`Float In`,"peek-in":`Peek In`,"rise-in":`Rise In`,pulse:`Pulse`,"grow-shrink":`Grow/Shrink`,spin:`Spin`,teeter:`Teeter`,"fill-color":`Fill Color`,transparency:`Transparency`,"color-pulse":`Color Pulse`,disappear:`Disappear`,"fade-out":`Fade out`,"fly-out":`Fly out`,"zoom-out":`Zoom out`,"wipe-out":`Wipe out`,"float-out":`Float Out`,"motion-path":`Motion path`},pickElement:`Pick element`,elementTypes:{text:`Text`,shape:`Shape`,image:`Image`,icon:`Icon`,table:`Table`,chart:`Chart`,line:`Line`}}},ut={topBar:{fullscreen:`全屏`,collapse:`收起`,autosaving:`正在自动保存...`,justSaved:`刚刚保存`,savedMinutesAgo:`{minutes} 分钟前保存`,versionName:`V{version} 版本`,versionLatest:`最新`,versionEditedBy:`{editor} 编辑于 {time}`,versionMinutesAgo:`{minutes} 分钟前`,versionYesterday:`昨天 {time}`,restoreVersion:`还原`,returnLatestVersion:`返回最新版`,close:`关闭`},basic:{undo:`撤销`,redo:`重做`,save:`保存`,screen:`放映`,share:`分享`,export:`导出`,unnamedPresentation:`未命名演示文稿`,lastPage:`已经是最后一页了`},presenter:{start:`在当前屏幕放映`,mode:`演讲者模式`,exit:`退出`,openFailed:`浏览器已阻止新开演讲小窗口。请点击地址栏中的弹出式窗口已被阻止图标,选择始终允许来自本站的弹出式窗口和重定向后重试`,connectFailed:`演讲窗口连接失败,请重试`},screen:{fullscreenFailed:`浏览器拒绝进入全屏。请在浏览器设置中允许本站使用全屏权限后重试`,transitionEffects:{none:`无效果`,fade:`淡入淡出`,"wipe-right":`向右擦除`,"wipe-left":`向左擦除`,"wipe-down":`向下擦除`,"wipe-up":`向上擦除`,"split-vertical":`垂直分割`,"split-horizontal":`水平分割`,box:`方框`,checkerboard:`棋盘`,"random-bars-horizontal":`横向随机线条`,"random-bars-vertical":`纵向随机线条`,"horizontal-blinds":`横向百叶窗`,"vertical-blinds":`纵向百叶窗`,"column-grid":`列网格`,"random-grid":`随机网格`,random:`随机效果`}},save:{saveFailed:`保存失败`,invalidData:`保存数据有问题,请刷新重试`,conflictTitle:`检测到更新版本`,conflictContent:`该演示文稿已于 {time} 更新。刷新页面可查看最新版本;应用改动会用当前内容继续保存。`,conflictRefresh:`刷新页面`,conflictApplyChanges:`应用当前改动`},contextMenu:{cut:`剪切`,copy:`复制`,paste:`粘贴`,selectAll:`全选`,changeBackground:`修改背景`,newPage:`新建页面`,copyPage:`复制页面`,deletePage:`删除页面`,delete:`删除`,moveUpOneLayer:`上移一层`,moveDownOneLayer:`下移一层`,bringToTop:`置于顶层`,sendToBottom:`置于底层`,align:`对齐`,alignCenter:`水平垂直居中`,alignHorizontal:`水平居中`,startFromCurrent:`从当前页开始放映`,insertColumn:`插入列`,insertColumnLeft:`在左侧插入`,insertColumnRight:`在右侧插入`,insertRow:`插入行`,insertRowAbove:`在上方插入`,insertRowBelow:`在下方插入`,deleteColumn:`删除列`,deleteRow:`删除行`,mergeCells:`合并单元格`,unmergeCells:`拆分单元格`,selectCurrentColumn:`选中当前列`,selectCurrentRow:`选中当前行`,selectAllCells:`选中全部单元格`,deleteTable:`删除表格`},common:{name:`PPT`,nameEN:`PPT`,confirm:`确认`,cancel:`取消`,dontRemind:`不再提醒`,feedback:`用户反馈`,user:`用户`,loadFailedRetry:`加载失败,请稍后重试`},annotation:{edit:`编辑`,entry:`批注`,placeholder:`告诉 Kimi 这里怎么改`,add:`添加`,addedCount:`已添加 {count} 条批注`,emptyTip:`在页面上留下批注`,clear:`清空批注`,delete:`删除批注`,marker:`批注`,pageLabel:`第 {page} 页`,clearConfirm:{title:`清空批注`,content:`此操作将移除所有已添加的批注`,cancelText:`取消`,confirmText:`清空`},exitConfirm:{title:`退出批注模式`,content:`未发送的批注不会被保存`,cancelText:`取消`,confirmText:`退出`}},wap:{loading:`加载中`,play:`播放`,export:`导出`,exporting:`正在导出`,playPrevLine1:`点击或左滑`,playPrevLine2:`切换上一页`,playMenuLine1:`点击中部`,playMenuLine2:`展开目录菜单`,playNextLine1:`点击或右滑`,playNextLine2:`切换下一页`},rate:{title:`你对这次生成结果满意吗?`,thanksTitle:`感谢你的反馈`,bad:`不满意`,normal:`还可以`,good:`非常棒`,resultTip:`你的想法将帮助 Kimi 越做越好!`,feedback:`补充反馈`},feedback:{snackbar:{title:`本次生成的作品怎么样?`,good:`好`,normal:`一般`,bad:`不好`,successMessage:`你的反馈将帮助 Kimi 越做越好!`,writeFeedback:`写反馈`}},logoModal:{title:`添加 Logo`,tooltip:`Logo 将被添加到所有幻灯片的左上角`,selected:`已选中`,upload:`上传 Logo`,preview:`预览效果`,maxLimit:`最多上传 5 个 Logo`,alertMaxLimit:`最多只能上传 5 个 Logo`,applyToAll:`应用到所有幻灯片`},latex:{title:`插入公式`,placeholder:`输入 LaTeX 公式,例如:E = mc^2`},themeEditor:{title:`幻灯片主题`,apply:`应用`,cancel:`取消`,themeColors:`主题色`,emptyThemeColors:`暂无主题色`,currentPageBackground:`当前页背景`,backgroundColor:`颜色`,backgroundImage:`图片`,uploadImage:`上传图片`,uploadImageFailed:`图片上传失败,请稍后重试`,backgroundFitFill:`填充`,backgroundFitContain:`适应`,backgroundFitStretch:`拉伸`,applyToAll:`应用到全部`,textStyles:`文本样式`,emptyTextStyles:`暂无文本样式`,fontStyle:`字重`,lineHeight:`行高`,letterSpacing:`字距`,previewText:`认识Kimi123`,normal:`Regular`,textStyleTitle:`标题`,textStyleSubtitle:`副标题`,textStyleBody:`正文`,textStyleCaption:`说明文字 / 注释`,miSans:`微软雅黑`},sideBar:{addSlide:`新建页面`,previewMode:`预览模式`,expand:`展开`,collapse:`收起`},diffChecker:{title:`Diff 检查器`,newFile:`新增文件`,deletedFile:`已删除`,emptyContent:`文件内容为空`},bottomBar:{rectangle:`矩形`,otherShapes:`基础形状`,decoration:`装饰`,straightLine:`直线`,curve:`曲线`,createTable:`创建表格`,searchIcon:`搜索图标`,noIconFound:`未找到图标`},insert:{text:`插入文字`,graphics:`图形工具`,graphicsShapeTab:`形状`,graphicsLineTab:`线条`,graphicsIconTab:`图标`,image:`插入图片`,table:`插入表格`,theme:`主题`,latex:`插入公式`,watermark:`添加水印`,more:`更多`,animation:`动画`},scaleMenu:{zoomIn:`放大`,zoomOut:`缩小`,fitScreen:`适合屏幕`},exportDialog:{image:`图片`,downloadTitle:`导出`,tabDownload:`下载`,tabGoogleSlides:`Google Slides`,outputFormat:`输出格式`,fontEmbed:`嵌入字体`,fontEmbedTooltip:`将字体文件嵌入到 PPTX 中,保证在其他设备上显示一致`,slideTransition:`切换动画`,slideTransitionTooltip:`为幻灯片添加切换动画效果`,defaultDownloadPath:`默认下载路径`,storageTo:`储存至`,download:`下载`,downloadStarted:`导出开始`,downloadStartTip:`导出开始。若未开始下载,请更换浏览器尝试或者重新导出`,loading:`正在导出`,pendingTip:`导出耗时较长,建议更换浏览器后重试`,wechatTip:`微信内置浏览器暂不支持下载,请前往电脑端浏览器操作(如 Chrome、Edge)`,safariTip:`当前浏览器版本过低,请升级或者更换其他浏览器后重试(如 Chrome、Edge)`,mobileTip:`请在电脑端下载`,exportPptxFailed:`导出 PPTX 失败`,exportPptxSignFailed:`导出 PPTX 失败,请刷新重试`,exportImageFailed:`导出图片失败`,exportingToGoogle:`正在导出到 Google Slides...`,exportToGoogle:`导出到 Google`,exportToGoogleTips:`将演示文稿导出到 Google Slides`,exportToGoogleNetworkError:`导出到 Google Slides 失败`},share:{create:`去做PPT`,createDesign:`去设计`,public:`公开`,private:`私密`,createLink:`创建分享链接`,createLinkDesc:`任何人都可以通过链接查看你的演示文稿`,createLinkBtn:`创建链接`,createLinkFailed:`创建分享链接失败`,bannedTips:`分享已被禁用`,goFeedback:`去反馈`,updateLinkTitle:`更新分享链接`,updateLinkDesc:`更新后,旧链接将不再可用`,updateLinkConfirm:`更新`,updateLinkSuccess:`链接已更新`,updateTime:`更新时间:`,viewLink:`查看链接`,notPublic:`未公开`,copySuccess:`链接已复制`,copyFailed:`复制失败`,copyLinkBtn:`复制链接`,updateLinkBtn:`更新链接`,setPrivateTitle:`设为私密`,setPrivateDesc:`设为私密后,其他人将无法通过链接访问`,setPrivateConfirm:`确认`,setPrivateSuccess:`已设为私密`,updateShareFailed:`更新分享状态失败`,linkError:`链接有误,请确认分享链接`,report:`举报`,linkInvalid:`该链接无法访问`},floatBar:{leftAlign:`左对齐`,centerAlign:`居中对齐`,rightAlign:`右对齐`,justify:`两端对齐`,topAlign:`顶部对齐`,verticallyCenter:`垂直居中`,bottomAlign:`底部对齐`,horizontalAlignment:`水平对齐`,verticalAlignment:`垂直对齐`,lineSpacing:`行间距`,textStyle:`文本样式`,tableStyle:`表格样式`,unappliedTextStyle:`未应用`,manageTextStyles:`管理文字样式`,fontColor:`字体颜色`,textBackground:`文字背景`,font:`字体`,unsupportedFont:`⚠️ 暂不支持的字体样式`,fontSize:`字号`,bold:`加粗`,italic:`斜体`,underline:`下划线`,strikethrough:`删除线`,insertLatex:`插入公式`,editLatex:`编辑公式`,editData:`编辑数据`,showChartTitle:`显示标题`,editChartTitle:`编辑标题`,chartTitlePlaceholder:`图表标题`,showChartValues:`显示数值`,chartLegend:`图例`,none:`无`,top:`上`,bottom:`下`,left:`左`,right:`右`,candlestickUpColor:`上涨颜色`,candlestickDownColor:`下跌颜色`,candlestickWickColor:`影线颜色`,waterfallIncreaseColor:`增加颜色`,waterfallDecreaseColor:`减少颜色`,waterfallTotalColor:`汇总颜色`,heatmapLowColor:`低值颜色`,heatmapMiddleColor:`中间值颜色`,heatmapHighColor:`高值颜色`,editLine:`编辑线条`,curveLine:`曲线`,lineCurveSharp:`折线`,lineCurveRound:`圆角`,lineCurveSmooth:`曲线`,lineStartArrow:`起点箭头`,lineEndArrow:`终点箭头`,usedThemeColor:`使用"{name}"主题`,colorFill:`颜色填充`,themeColor:`主题颜色`,replaceImage:`替换图片`,replaceIcon:`替换图标`,replaceShape:`替换形状`,imageFit:`图片适配`,fitFill:`拉伸`,fitContain:`适应`,fitCover:`裁切填充`,cancelCrop:`取消裁剪`,cropImage:`裁剪图片`,opacity:`不透明度`,horizontalFlip:`水平翻转`,verticalFlip:`垂直翻转`,layer:`层级`,bringToTop:`置顶`,sendToBottom:`置底`,bringForward:`上移一层`,sendBackward:`下移一层`,rowAction:`行操作`,columnAction:`列操作`,insertRowBefore:`在上面插入行`,insertRowAfter:`在下面插入行`,insertColumnBefore:`在左边插入列`,insertColumnAfter:`在右边插入列`,defaultBorder:`默认`,allBorders:`所有边框`,topAndBottomBorders:`上下边框`,leftAndRightBorders:`左右边框`,topBorder:`上边框`,rightBorder:`右边框`,bottomBorder:`下边框`,leftBorder:`左边框`,equalizeColumnWidths:`均分列宽`,deselectAll:`取消选择`,selectAll:`全选`,deleteTable:`删除表格`,cellBackground:`单元格背景`,times:`倍`,border:`边框`,line:`线条`,solidLine:`实线`,dashedLine:`虚线`,dottedLine:`点线`,noBorder:`无边框`,style:`样式`,thickness:`粗细`,color:`颜色`,recentColors:`最近使用`,notSupportEyeDropper:`当前浏览器不支持取色吸管,请更换浏览器`,escCloseEyeDropper:`按 ESC 键关闭取色吸管`},notes:{placeholder:`备注`,show:`显示演讲者备注`},animationPanel:{title:`动画`,preview:`预览`,empty:`当前页暂无动画`,add:`添加动画`,addHint:`选择元素后添加动画`,target:`目标元素`,effect:`动画效果`,trigger:`触发方式`,triggerOnClick:`单击时`,triggerWithPrevious:`与上一动画同时`,triggerAfterPrevious:`上一动画之后`,direction:`方向`,directionUp:`向上`,directionDown:`向下`,directionLeft:`向左`,directionRight:`向右`,duration:`时长 (ms)`,delay:`延迟 (ms)`,easing:`缓动`,easingLinear:`线性`,easingEaseIn:`缓入`,easingEaseOut:`缓出`,easingEaseInOut:`缓入缓出`,repeat:`重复次数`,path:`路径`,delete:`删除`,categoryEntrance:`进入`,categoryEmphasis:`强调`,categoryExit:`退出`,categoryMotionPath:`路径`,effects:{appear:`出现`,"fade-in":`淡入`,"fly-in":`飞入`,"zoom-in":`缩放进入`,"wipe-in":`擦除进入`,"float-in":`浮入`,"peek-in":`探入`,"rise-in":`升起`,pulse:`脉冲`,"grow-shrink":`放大缩小`,spin:`旋转`,teeter:`晃动`,"fill-color":`填充变色`,transparency:`透明度`,"color-pulse":`彩色脉冲`,disappear:`消失`,"fade-out":`淡出`,"fly-out":`飞出`,"zoom-out":`缩放退出`,"wipe-out":`擦除退出`,"float-out":`浮出`,"motion-path":`动作路径`},pickElement:`点选元素`,elementTypes:{text:`文本框`,shape:`形状`,image:`图片`,icon:`图标`,table:`表格`,chart:`图表`,line:`线条`}}},dt={topBar:{fullscreen:`全螢幕`,collapse:`收合`,autosaving:`正在自動儲存…`,justSaved:`剛剛儲存`,savedMinutesAgo:`{minutes} 分鐘前儲存`,versionName:`V{version} 版本`,versionLatest:`最新`,versionEditedBy:`{editor} 於 {time} 編輯`,versionMinutesAgo:`{minutes} 分鐘前`,versionYesterday:`昨天 {time}`,restoreVersion:`還原`,returnLatestVersion:`返回最新版本`,close:`關閉`},basic:{undo:`復原`,redo:`重做`,save:`儲存`,screen:`放映`,share:`分享`,export:`匯出`,unnamedPresentation:`未命名簡報`,lastPage:`已經是最後一張投影片`},presenter:{start:`在目前螢幕放映`,mode:`簡報模式`,exit:`退出`,openFailed:`瀏覽器已封鎖簡報者彈出式視窗。請允許來自此網站的彈出式視窗和重新導向後再試一次`,connectFailed:`無法連線至簡報者視窗,請再試一次`},screen:{fullscreenFailed:`無法進入全螢幕。請在瀏覽器設定中允許此網站使用全螢幕後再試一次`,transitionEffects:{none:`無`,fade:`淡化`,"wipe-right":`向右擦去`,"wipe-left":`向左擦去`,"wipe-down":`向下擦去`,"wipe-up":`向上擦去`,"split-vertical":`垂直分割`,"split-horizontal":`水平分割`,box:`方塊`,checkerboard:`棋盤式`,"random-bars-horizontal":`水平隨機線條`,"random-bars-vertical":`垂直隨機線條`,"horizontal-blinds":`水平百葉窗`,"vertical-blinds":`垂直百葉窗`,"column-grid":`直欄格線`,"random-grid":`隨機格線`,random:`隨機效果`}},save:{saveFailed:`儲存失敗`,invalidData:`儲存資料有誤,請重新整理後再試一次`,conflictTitle:`偵測到較新的版本`,conflictContent:`此簡報已於 {time} 更新。重新整理即可查看最新版本;套用變更則會以目前內容繼續儲存。`,conflictRefresh:`重新整理`,conflictApplyChanges:`套用目前的變更`},bottomBar:{rectangle:`矩形`,otherShapes:`基本圖案`,decoration:`裝飾`,straightLine:`直線`,curve:`曲線`,createTable:`建立表格`,searchIcon:`搜尋圖示`,noIconFound:`找不到圖示`},sideBar:{addSlide:`新增投影片`,previewMode:`預覽模式`,expand:`展開`,collapse:`收合`},contextMenu:{cut:`剪下`,copy:`複製`,paste:`貼上`,selectAll:`全選`,changeBackground:`變更背景`,newPage:`新增投影片`,copyPage:`複製投影片`,deletePage:`刪除投影片`,delete:`刪除`,moveUpOneLayer:`上移一層`,moveDownOneLayer:`下移一層`,bringToTop:`移到最上層`,sendToBottom:`移到最下層`,align:`對齊`,alignCenter:`在投影片上置中`,alignHorizontal:`水平置中`,startFromCurrent:`從這張投影片開始放映`,insertColumn:`插入欄`,insertColumnLeft:`插入左欄`,insertColumnRight:`插入右欄`,insertRow:`插入列`,insertRowAbove:`插入上方列`,insertRowBelow:`插入下方列`,deleteColumn:`刪除欄`,deleteRow:`刪除列`,mergeCells:`合併儲存格`,unmergeCells:`取消合併儲存格`,selectCurrentColumn:`選取目前欄`,selectCurrentRow:`選取目前列`,selectAllCells:`選取所有儲存格`,deleteTable:`刪除表格`},common:{name:`簡報`,nameEN:`PPT`,confirm:`確認`,cancel:`取消`,dontRemind:`不再顯示`,feedback:`意見回饋`,user:`使用者`,loadFailedRetry:`載入失敗,請稍後再試`},annotation:{edit:`編輯`,entry:`註解`,placeholder:`告訴 Kimi 要怎麼修改`,add:`新增`,addedCount:`已新增註解:{count}`,emptyTip:`在投影片上新增註解`,clear:`清除註解`,delete:`刪除註解`,marker:`註解`,pageLabel:`投影片 {page}`,clearConfirm:{title:`要清除所有註解嗎?`,content:`這會移除你新增的所有註解`,cancelText:`取消`,confirmText:`清除`},exitConfirm:{title:`要結束註解模式嗎?`,content:`尚未送出的註解不會儲存`,cancelText:`取消`,confirmText:`結束`}},wap:{loading:`載入中`,play:`播放`,export:`匯出`,exporting:`正在匯出`,playPrevLine1:`點一下或向左滑`,playPrevLine2:`前往上一張投影片`,playMenuLine1:`點一下中央`,playMenuLine2:`開啟投影片選單`,playNextLine1:`點一下或向右滑`,playNextLine2:`前往下一張投影片`},rate:{title:`你對這次的結果滿意嗎?`,thanksTitle:`感謝你的意見回饋`,bad:`不滿意`,normal:`還可以`,good:`很棒`,resultTip:`你的意見能幫助 Kimi 持續改進`,feedback:`提供更多意見`},feedback:{snackbar:{title:`這次的結果如何?`,good:`好`,normal:`還可以`,bad:`不太好`,successMessage:`感謝你的意見,這能幫助 Kimi 持續改進`,writeFeedback:`提供意見`}},logoModal:{title:`新增 Logo`,tooltip:`Logo 會顯示在每張投影片的左上角`,selected:`已選取`,upload:`上傳 Logo`,preview:`預覽`,maxLimit:`最多 5 個 Logo`,alertMaxLimit:`最多可上傳 5 個 Logo`,applyToAll:`套用至所有投影片`},latex:{title:`插入公式`,placeholder:`輸入 LaTeX 公式,例如:E = mc^2`},themeEditor:{title:`投影片主題`,apply:`套用`,cancel:`取消`,themeColors:`主題色彩`,emptyThemeColors:`沒有主題色彩`,currentPageBackground:`目前投影片背景`,backgroundColor:`顏色`,backgroundImage:`影像`,uploadImage:`上傳影像`,uploadImageFailed:`影像上傳失敗,請稍後再試`,backgroundFitFill:`填充`,backgroundFitContain:`適應`,backgroundFitStretch:`拉伸`,applyToAll:`全部套用`,textStyles:`文字樣式`,emptyTextStyles:`沒有文字樣式`,fontStyle:`字型粗細`,lineHeight:`行高`,letterSpacing:`字元間距`,previewText:`認識 Kimi123`,normal:`標準`,textStyleTitle:`標題`,textStyleSubtitle:`副標題`,textStyleBody:`正文`,textStyleCaption:`說明文字 / 附註`,miSans:`Microsoft YaHei`},diffChecker:{title:`差異檢查工具`,newFile:`新增`,deletedFile:`已刪除`,emptyContent:`此檔案沒有內容`},insert:{text:`插入文字`,graphics:`圖形`,graphicsShapeTab:`形狀`,graphicsLineTab:`線條`,graphicsIconTab:`圖示`,image:`插入影像`,table:`插入表格`,theme:`主題`,latex:`插入公式`,watermark:`新增浮水印`,more:`更多`,animation:`動畫`},scaleMenu:{zoomIn:`放大`,zoomOut:`縮小`,fitScreen:`配合螢幕大小`},exportDialog:{image:`影像`,downloadTitle:`匯出`,tabDownload:`下載`,tabGoogleSlides:`Google 簡報`,outputFormat:`輸出格式`,fontEmbed:`內嵌字型`,fontEmbedTooltip:`將字型內嵌至 PPTX,讓不同裝置上的顯示保持一致`,slideTransition:`投影片切換`,slideTransitionTooltip:`在投影片之間加入切換效果`,defaultDownloadPath:`預設下載路徑`,storageTo:`儲存至`,download:`下載`,downloadStarted:`已開始匯出`,downloadStartTip:`已開始匯出。若下載未開始,請改用其他瀏覽器或重新匯出。`,loading:`正在匯出`,pendingTip:`匯出時間比預期更久,請改用其他瀏覽器。`,wechatTip:`微信內建瀏覽器不支援下載,請改用 Chrome 或 Edge 等電腦版瀏覽器。`,safariTip:`瀏覽器版本過舊,請更新或改用 Chrome、Edge 等其他瀏覽器。`,mobileTip:`請在電腦上下載`,exportPptxFailed:`無法匯出 PPTX,請再試一次。`,exportPptxSignFailed:`匯出 PPTX 失敗,請重新整理後再試。`,exportImageFailed:`無法匯出影像,請再試一次。`,exportingToGoogle:`正在匯出至 Google 簡報…`,exportToGoogle:`匯出至 Google 簡報`,exportToGoogleTips:`將此簡報匯出至 Google 簡報`,exportToGoogleNetworkError:`無法匯出至 Google 簡報,請檢查網路連線後再試一次。`},share:{create:`建立簡報`,createDesign:`去設計`,public:`公開`,private:`私人`,createLink:`建立分享連結`,createLinkDesc:`任何取得連結的人都能查看此簡報`,createLinkBtn:`建立連結`,createLinkFailed:`無法建立分享連結`,bannedTips:`分享已被停用`,goFeedback:`前往回饋`,updateLinkTitle:`更新分享連結`,updateLinkDesc:`更新後,舊連結將無法使用`,updateLinkConfirm:`更新`,updateLinkSuccess:`連結已更新`,updateTime:`更新時間:`,viewLink:`查看連結`,notPublic:`未公開`,copySuccess:`已複製連結`,copyFailed:`無法複製連結,請再試一次。`,copyLinkBtn:`複製連結`,updateLinkBtn:`更新連結`,setPrivateTitle:`要將簡報設為私人嗎?`,setPrivateDesc:`任何取得連結的人都將失去存取權`,setPrivateConfirm:`設為私人`,setPrivateSuccess:`簡報已設為私人`,updateShareFailed:`無法更新分享設定`,linkError:`此連結無效,請檢查後再試一次。`,report:`檢舉`,linkInvalid:`此連結無法使用`},floatBar:{leftAlign:`左對齊`,centerAlign:`置中對齊`,rightAlign:`右對齊`,justify:`左右對齊`,topAlign:`靠上對齊`,verticallyCenter:`垂直置中`,bottomAlign:`靠下對齊`,horizontalAlignment:`水平對齊`,verticalAlignment:`垂直對齊`,lineSpacing:`行距`,textStyle:`文字樣式`,tableStyle:`表格樣式`,unappliedTextStyle:`未套用`,manageTextStyles:`管理文字樣式`,fontColor:`文字色彩`,textBackground:`文字背景`,font:`字型`,unsupportedFont:`⚠️ 暫不支援的字型樣式`,fontSize:`字型大小`,bold:`粗體`,italic:`斜體`,underline:`底線`,strikethrough:`刪除線`,insertLatex:`插入公式`,editLatex:`編輯公式`,editData:`編輯資料`,showChartTitle:`顯示標題`,editChartTitle:`編輯標題`,chartTitlePlaceholder:`圖表標題`,showChartValues:`顯示值`,chartLegend:`圖例`,none:`無`,top:`上`,bottom:`下`,left:`左`,right:`右`,candlestickUpColor:`上漲顏色`,candlestickDownColor:`下跌顏色`,candlestickWickColor:`影線色彩`,waterfallIncreaseColor:`增加色彩`,waterfallDecreaseColor:`減少色彩`,waterfallTotalColor:`總計色彩`,heatmapLowColor:`低值色彩`,heatmapMiddleColor:`中點色彩`,heatmapHighColor:`高值色彩`,editLine:`編輯線條`,curveLine:`曲線`,lineCurveSharp:`折線`,lineCurveRound:`圓角`,lineCurveSmooth:`曲線`,lineStartArrow:`起點箭頭`,lineEndArrow:`終點箭頭`,usedThemeColor:`使用「{name}」主題`,colorFill:`填滿色彩`,themeColor:`主題色彩`,replaceImage:`取代影像`,replaceIcon:`取代圖示`,replaceShape:`取代圖案`,imageFit:`影像調整`,fitFill:`拉伸`,fitContain:`適應`,fitCover:`裁剪以填滿`,cancelCrop:`取消裁剪`,cropImage:`裁剪影像`,opacity:`不透明度`,horizontalFlip:`水平翻轉`,verticalFlip:`垂直翻轉`,layer:`圖層`,bringToTop:`移到最上層`,sendToBottom:`移到最下層`,bringForward:`上移一層`,sendBackward:`下移一層`,rowAction:`列操作`,columnAction:`欄操作`,insertRowBefore:`在上方插入列`,insertRowAfter:`在下方插入列`,insertColumnBefore:`在左側插入欄`,insertColumnAfter:`在右側插入欄`,defaultBorder:`預設`,allBorders:`所有邊框`,topAndBottomBorders:`上下邊框`,leftAndRightBorders:`左右邊框`,topBorder:`上邊框`,rightBorder:`右邊框`,bottomBorder:`下邊框`,leftBorder:`左邊框`,equalizeColumnWidths:`平均分配欄寬`,deselectAll:`取消全選`,selectAll:`全選`,deleteTable:`刪除表格`,cellBackground:`儲存格背景`,times:`倍`,border:`邊框`,line:`線條`,solidLine:`實線`,dashedLine:`虛線`,dottedLine:`點線`,noBorder:`無邊框`,style:`樣式`,thickness:`粗細`,color:`顏色`,recentColors:`最近使用的色彩`,notSupportEyeDropper:`此瀏覽器不支援滴管,請改用其他瀏覽器。`,escCloseEyeDropper:`按 Esc 關閉滴管`},notes:{placeholder:`備忘稿`,show:`顯示講者備忘稿`},animationPanel:{title:`動畫`,preview:`預覽`,empty:`目前頁面沒有動畫`,add:`新增動畫`,addHint:`選擇元素後新增動畫`,target:`目標元素`,effect:`動畫效果`,trigger:`觸發方式`,triggerOnClick:`按一下時`,triggerWithPrevious:`與上一動畫同時`,triggerAfterPrevious:`接續上一動畫`,direction:`方向`,directionUp:`向上`,directionDown:`向下`,directionLeft:`向左`,directionRight:`向右`,duration:`時間長度 (ms)`,delay:`延遲 (ms)`,easing:`緩動`,easingLinear:`線性`,easingEaseIn:`緩入`,easingEaseOut:`緩出`,easingEaseInOut:`緩入緩出`,repeat:`重複次數`,path:`路徑`,delete:`刪除`,categoryEntrance:`進入`,categoryEmphasis:`強調`,categoryExit:`結束`,categoryMotionPath:`路徑`,effects:{appear:`出現`,"fade-in":`淡入`,"fly-in":`飛入`,"zoom-in":`縮放進入`,"wipe-in":`擦除進入`,"float-in":`浮入`,"peek-in":`探入`,"rise-in":`升起`,pulse:`脈衝`,"grow-shrink":`放大縮小`,spin:`旋轉`,teeter:`晃動`,"fill-color":`填滿變色`,transparency:`透明度`,"color-pulse":`彩色脈衝`,disappear:`消失`,"fade-out":`淡出`,"fly-out":`飛出`,"zoom-out":`縮放退出`,"wipe-out":`擦除退出`,"float-out":`浮出`,"motion-path":`動作路徑`},pickElement:`點選元素`,elementTypes:{text:`文字方塊`,shape:`圖形`,image:`圖片`,icon:`圖示`,table:`表格`,chart:`圖表`,line:`線條`}}},ft=[{locale:`zh-cn`,routeLang:`zh`,displayName:`简体中文`},{locale:`zh-tw`,routeLang:`zh-tw`,displayName:`繁体中文`},{locale:`en-us`,routeLang:`en`,displayName:`英语`},{locale:`pt-br`,routeLang:`pt`,displayName:`葡萄牙语`},{locale:`de`,routeLang:`de`,displayName:`德语`},{locale:`es-419`,routeLang:`es`,displayName:`西班牙语`},{locale:`fr-fr`,routeLang:`fr`,displayName:`法语`},{locale:`tr`,routeLang:`tr`,displayName:`土耳其语`},{locale:`ja`,routeLang:`ja`,displayName:`日语`},{locale:`it`,routeLang:`it`,displayName:`意大利语`},{locale:`ko`,routeLang:`ko`,displayName:`韩语`},{locale:`id`,routeLang:`id`,displayName:`印尼语`},{locale:`vi`,routeLang:`vi`,displayName:`越南语`},{locale:`th`,routeLang:`th`,displayName:`泰语`},{locale:`ru`,routeLang:`ru`,displayName:`俄语`},{locale:`ar`,routeLang:`ar`,displayName:`阿语(标准阿拉伯语)`}],pt=`en-us`,mt=new Set([`ar`,`he`,`fa`,`ur`,`ps`,`sd`,`yi`,`ckb`,`ku`,`dv`,`ug`]),ht=new Map([[`fr`,`fr-fr`]]);new Map(ft.map(e=>[e.locale,e])),new Map(ft.map(e=>[e.routeLang.toLowerCase(),e.locale]));var gt=new Set(ft.map(e=>e.locale)),_t=e=>e?.trim().toLowerCase().replace(/_/g,`-`),vt=e=>{let t=_t(e);if(!t)return;let n=ht.get(t)??t;return gt.has(n)?n:void 0},yt=e=>{let t=typeof e==`string`?[e]:e;for(let e of t??[]){let t=vt(e);if(t)return t}},bt=e=>{let t=_t(e);if(!t)return!1;let[n]=t.split(`-`);return mt.has(t)||mt.has(n)},xt=e=>{let t=typeof e==`string`?[e]:e;for(let e of t??[]){let t=_t(e);if(!t)continue;let n=vt(t);if(n)return n;let r=t.split(`-`)[0],i=ft.find(e=>{let t=e.locale.split(`-`)[0];return e.routeLang===r||t===r});if(i)return i.locale}},St=()=>typeof navigator>`u`?pt:xt(navigator.languages?.length?navigator.languages:navigator.language)??`en-us`,Ct={"en-us":lt,"zh-cn":ut,"zh-tw":dt},wt={ar:()=>T(()=>import(`./ar-CbI07Aji.js`).then(e=>e.default),[]),de:()=>T(()=>import(`./de-DjWrb2Zx.js`).then(e=>e.default),[]),"es-419":()=>T(()=>import(`./es-419-DlFE1O59.js`).then(e=>e.default),[]),"fr-fr":()=>T(()=>import(`./fr-FR-BsowxVaY.js`).then(e=>e.default),[]),id:()=>T(()=>import(`./id-Cg8K7Xy9.js`).then(e=>e.default),[]),it:()=>T(()=>import(`./it-dvmUTs12.js`).then(e=>e.default),[]),ja:()=>T(()=>import(`./ja-HpL7bYhU.js`).then(e=>e.default),[]),ko:()=>T(()=>import(`./ko-DNVKLvAQ.js`).then(e=>e.default),[]),"pt-br":()=>T(()=>import(`./pt-BR-DXr6EdW-.js`).then(e=>e.default),[]),ru:()=>T(()=>import(`./ru-Bp25sOdo.js`).then(e=>e.default),[]),th:()=>T(()=>import(`./th-DfhyGEJz.js`).then(e=>e.default),[]),tr:()=>T(()=>import(`./tr-C10BN1wY.js`).then(e=>e.default),[]),vi:()=>T(()=>import(`./vi-C9Lb0nj3.js`).then(e=>e.default),[])},Tt=new Map,Et=async e=>{let t=Ct[e];if(t)return t;let n=Tt.get(e);if(n)return n;let r=wt[e];if(!r)return Ct[pt];let i=r().then(t=>(Ct[e]=t,Tt.delete(e),t));return Tt.set(e,i),i},Dt=()=>_(),Ot=null,kt=()=>{if(!(typeof window>`u`))return yt(new URLSearchParams(window.location.search).get(`lang`))},At=()=>typeof document>`u`?null:vt(document.cookie.split(`;`).find(e=>e.trim().startsWith(`lang=`))?.split(`=`)[1])??null,jt=e=>typeof localStorage>`u`?null:vt(localStorage.getItem(e))??null,Mt=()=>{let e=kt(),t=St(),n=jt(`KIMI_LOCALE`),r=jt(`kimi-ppt-LOCALE`),i=At();return e||r||i||n||t},Nt=e=>{typeof document>`u`||(document.documentElement.lang=e)},Pt=async e=>{let t=await Et(e);Ot?.global.setLocaleMessage(e,t)},Ft=e=>{let t=Te({legacy:!1,locale:e,fallbackLocale:pt,messages:Ct});return Ot=t,we(()=>t.global.locale.value,e=>{let n=vt(e)??`en-us`;n!==e&&(t.global.locale.value=n),Nt(n),Pt(n)},{immediate:!0,flush:`sync`}),t},It=async e=>{let t=vt(e);if(t)return await Pt(t),Ot&&(Ot.global.locale.value=t),t},Lt=()=>Ot?.global.locale.value??`en-us`,Rt=async()=>{let e=Mt();return await Et(e),Ft(e)},zt=/</g,Bt=/>/g;function Vt(e){return e.replace(zt,`<`).replace(Bt,`>`)}function Ht(e){let t=document.createElement(`div`);t.style.position=`fixed`,t.style.opacity=`0`,t.innerHTML=e,document.body.appendChild(t);let n=document.createRange();n.selectNodeContents(t);let r=window.getSelection();r&&(r.removeAllRanges(),r.addRange(n));try{return document.execCommand(`copy`)}catch{return!1}finally{r&&r.removeAllRanges(),document.body.removeChild(t)}}function Ut(e){let t=e.trimStart();return/^<meta\s+charset=["']?utf-8["']?\s*\/?>/i.test(t)?t:`<meta charset="utf-8">\n${t}`}async function Wt(e,t){if(!t)return Gt(e);let n=Ut(t);try{return await navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([e],{type:`text/plain`}),"text/html":new Blob([n],{type:`text/html`})})]),!0}catch{return Ht(n)}}async function Gt(e){try{return await navigator.clipboard.writeText(e),!0}catch{let t=document.createElement(`div`);t.style.position=`fixed`,t.style.top=`-9999px`,t.style.opacity=`0`,t.textContent=e,document.body.appendChild(t);let n=document.createRange();n.selectNodeContents(t);let r=window.getSelection();r&&(r.removeAllRanges(),r.addRange(n));try{return document.execCommand(`copy`)}catch{return!1}finally{r&&r.removeAllRanges(),document.body.removeChild(t)}}}var Kt,qt=class{constructor(e){Ae(this,`value`,void 0),Ae(this,`next`,void 0),this.value=e}},k=new WeakMap,Jt=new WeakMap,Yt=new WeakMap;Kt=Symbol.iterator;var Xt=class{constructor(){Se(this,k,void 0),Se(this,Jt,void 0),Se(this,Yt,void 0),this.clear()}enqueue(e){var t;let n=new qt(e);w(k,this)?(w(Jt,this).next=n,S(Jt,this,n)):(S(k,this,n),S(Jt,this,n)),S(Yt,this,(t=w(Yt,this),t++,t))}dequeue(){var e;let t=w(k,this);if(t)return S(k,this,w(k,this).next),S(Yt,this,(e=w(Yt,this),e--,e)),w(k,this)||S(Jt,this,void 0),t.value}peek(){if(w(k,this))return w(k,this).value}clear(){S(k,this,void 0),S(Jt,this,void 0),S(Yt,this,0)}get size(){return w(Yt,this)}*[Kt](){let e=w(k,this);for(;e;)yield e.value,e=e.next}*drain(){for(;w(k,this);)yield this.dequeue()}};function Zt(e){let t=!1;if(typeof e==`object`&&({concurrency:e,rejectOnClear:t=!1}=e),Qt(e),typeof t!=`boolean`)throw TypeError("Expected `rejectOnClear` to be a boolean");let n=new Xt,r=0,i=()=>{r<e&&n.size>0&&(r++,n.dequeue().run())},a=()=>{r--,i()},o=async(e,t,n)=>{let r=(async()=>e(...n))();t(r);try{await r}catch{}a()},s=(t,a,s,c)=>{let l={reject:s};new Promise(e=>{l.run=e,n.enqueue(l)}).then(o.bind(void 0,t,a,c)),r<e&&i()},c=(e,...t)=>new Promise((n,r)=>{s(e,n,r,t)});return Object.defineProperties(c,{activeCount:{get:()=>r},pendingCount:{get:()=>n.size},clearQueue:{value(){if(!t){n.clear();return}let e=AbortSignal.abort().reason;for(;n.size>0;)n.dequeue().reject(e)}},concurrency:{get:()=>e,set(t){Qt(t),e=t,queueMicrotask(()=>{for(;r<e&&n.size>0;)i()})}},map:{async value(e,t){let n=Array.from(e,(e,n)=>this(t,e,n));return Promise.all(n)}}}),c}function Qt(e){if(!((Number.isInteger(e)||e===1/0)&&e>0))throw TypeError("Expected `concurrency` to be a number from 1 and up")}var $t=e=>new Promise(t=>{let n=new Image;n.crossOrigin=`anonymous`;let r=typeof e==`string`,i=r?e:URL.createObjectURL(e);n.onload=()=>{!r&&URL.revokeObjectURL(i),t({width:n.width,height:n.height})},n.onerror=()=>{!r&&URL.revokeObjectURL(i)},n.src=i}),en=Zt(5),tn=new Map;function nn(e){return en(()=>{let t=tn.get(e);return typeof t==`boolean`?Promise.resolve(t):new Promise(t=>{let n=new Image;n.src=e,n.onload=()=>{t(!0),tn.set(e,!0)},n.onerror=()=>{t(!1)}})})}function rn(e=0){return new Promise(t=>setTimeout(t,e))}function an(e,t,n=`Timeout`){return Promise.race([e,rn(t).then(()=>{throw Error(n)})])}function on(e,t){if(!e)return Promise.resolve(void 0);let n=Date.now();return e.then(e=>(t(void 0,Date.now()-n,e),e)).catch(e=>{throw t(e,Date.now()-n),e})}function sn(e){"@babel/helpers - typeof";return sn=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sn(e)}var cn=/^\s+/,ln=/\s+$/;function A(e,t){if(e=e||``,t=t||{},e instanceof A)return e;if(!(this instanceof A))return new A(e,t);var n=un(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}A.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255,i=t<=.03928?t/12.92:((t+.055)/1.055)**2.4,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4;return .2126*i+.7152*a+.0722*o},setAlpha:function(e){return this._a=Pn(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=mn(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=mn(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=fn(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=fn(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return gn(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return _n(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`)`:`rgba(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:Math.round(j(this._r,255)*100)+`%`,g:Math.round(j(this._g,255)*100)+`%`,b:Math.round(j(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+Math.round(j(this._r,255)*100)+`%, `+Math.round(j(this._g,255)*100)+`%, `+Math.round(j(this._b,255)*100)+`%)`:`rgba(`+Math.round(j(this._r,255)*100)+`%, `+Math.round(j(this._g,255)*100)+`%, `+Math.round(j(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:Mn[gn(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+vn(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=A(e);n=`#`+vn(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`)?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return A(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Sn,arguments)},brighten:function(){return this._applyModification(Cn,arguments)},darken:function(){return this._applyModification(wn,arguments)},desaturate:function(){return this._applyModification(yn,arguments)},saturate:function(){return this._applyModification(bn,arguments)},greyscale:function(){return this._applyModification(xn,arguments)},spin:function(){return this._applyModification(Tn,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(kn,arguments)},complement:function(){return this._applyCombination(En,arguments)},monochromatic:function(){return this._applyCombination(An,arguments)},splitcomplement:function(){return this._applyCombination(On,arguments)},triad:function(){return this._applyCombination(Dn,[3])},tetrad:function(){return this._applyCombination(Dn,[4])}},A.fromRatio=function(e,t){if(sn(e)==`object`){var n={};for(var r in e)e.hasOwnProperty(r)&&(r===`a`?n[r]=e[r]:n[r]=Rn(e[r]));e=n}return A(e,t)};function un(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;return typeof e==`string`&&(e=Vn(e)),sn(e)==`object`&&(F(e.r)&&F(e.g)&&F(e.b)?(t=dn(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)===`%`?`prgb`:`rgb`):F(e.h)&&F(e.s)&&F(e.v)?(r=Rn(e.s),i=Rn(e.v),t=hn(e.h,r,i),o=!0,s=`hsv`):F(e.h)&&F(e.s)&&F(e.l)&&(r=Rn(e.s),a=Rn(e.l),t=pn(e.h,r,a),o=!0,s=`hsl`),e.hasOwnProperty(`a`)&&(n=e.a)),n=Pn(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function dn(e,t,n){return{r:j(e,255)*255,g:j(t,255)*255,b:j(n,255)*255}}function fn(e,t,n){e=j(e,255),t=j(t,255),n=j(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,o,s=(r+i)/2;if(r==i)a=o=0;else{var c=r-i;switch(o=s>.5?c/(2-r-i):c/(r+i),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:o,l:s}}function pn(e,t,n){var r,i,a;e=j(e,360),t=j(t,100),n=j(n,100);function o(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(t===0)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=o(c,s,e+1/3),i=o(c,s,e),a=o(c,s,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function mn(e,t,n){e=j(e,255),t=j(t,255),n=j(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,o,s=r,c=r-i;if(o=r===0?0:c/r,r==i)a=0;else{switch(r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:o,v:s}}function hn(e,t,n){e=j(e,360)*6,t=j(t,100),n=j(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6,l=[n,o,a,a,s,n][c],u=[s,n,n,o,a,a][c],d=[a,a,s,n,n,o][c];return{r:l*255,g:u*255,b:d*255}}function gn(e,t,n,r){var i=[N(Math.round(e).toString(16)),N(Math.round(t).toString(16)),N(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function _n(e,t,n,r,i){var a=[N(Math.round(e).toString(16)),N(Math.round(t).toString(16)),N(Math.round(n).toString(16)),N(zn(r))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join(``)}function vn(e,t,n,r){return[N(zn(r)),N(Math.round(e).toString(16)),N(Math.round(t).toString(16)),N(Math.round(n).toString(16))].join(``)}A.equals=function(e,t){return!e||!t?!1:A(e).toRgbString()==A(t).toRgbString()},A.random=function(){return A.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function yn(e,t){t=t===0?0:t||10;var n=A(e).toHsl();return n.s-=t/100,n.s=Fn(n.s),A(n)}function bn(e,t){t=t===0?0:t||10;var n=A(e).toHsl();return n.s+=t/100,n.s=Fn(n.s),A(n)}function xn(e){return A(e).desaturate(100)}function Sn(e,t){t=t===0?0:t||10;var n=A(e).toHsl();return n.l+=t/100,n.l=Fn(n.l),A(n)}function Cn(e,t){t=t===0?0:t||10;var n=A(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),A(n)}function wn(e,t){t=t===0?0:t||10;var n=A(e).toHsl();return n.l-=t/100,n.l=Fn(n.l),A(n)}function Tn(e,t){var n=A(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,A(n)}function En(e){var t=A(e).toHsl();return t.h=(t.h+180)%360,A(t)}function Dn(e,t){if(isNaN(t)||t<=0)throw Error(`Argument to polyad must be a positive number`);for(var n=A(e).toHsl(),r=[A(e)],i=360/t,a=1;a<t;a++)r.push(A({h:(n.h+a*i)%360,s:n.s,l:n.l}));return r}function On(e){var t=A(e).toHsl(),n=t.h;return[A(e),A({h:(n+72)%360,s:t.s,l:t.l}),A({h:(n+216)%360,s:t.s,l:t.l})]}function kn(e,t,n){t=t||6,n=n||30;var r=A(e).toHsl(),i=360/n,a=[A(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(A(r));return a}function An(e,t){t=t||6;for(var n=A(e).toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(A({h:r,s:i,v:a})),a=(a+s)%1;return o}A.mix=function(e,t,n){n=n===0?0:n||50;var r=A(e).toRgb(),i=A(t).toRgb(),a=n/100;return A({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},A.readability=function(e,t){var n=A(e),r=A(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},A.isReadable=function(e,t,n){var r=A.readability(e,t),i,a=!1;switch(i=Hn(n),i.level+i.size){case`AAsmall`:case`AAAlarge`:a=r>=4.5;break;case`AAlarge`:a=r>=3;break;case`AAAsmall`:a=r>=7;break}return a},A.mostReadable=function(e,t,n){var r=null,i=0,a,o,s,c;n=n||{},o=n.includeFallbackColors,s=n.level,c=n.size;for(var l=0;l<t.length;l++)a=A.readability(e,t[l]),a>i&&(i=a,r=A(t[l]));return A.isReadable(e,r,{level:s,size:c})||!o?r:(n.includeFallbackColors=!1,A.mostReadable(e,[`#fff`,`#000`],n))};var jn=A.names={aliceblue:`f0f8ff`,antiquewhite:`faebd7`,aqua:`0ff`,aquamarine:`7fffd4`,azure:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`000`,blanchedalmond:`ffebcd`,blue:`00f`,blueviolet:`8a2be2`,brown:`a52a2a`,burlywood:`deb887`,burntsienna:`ea7e5d`,cadetblue:`5f9ea0`,chartreuse:`7fff00`,chocolate:`d2691e`,coral:`ff7f50`,cornflowerblue:`6495ed`,cornsilk:`fff8dc`,crimson:`dc143c`,cyan:`0ff`,darkblue:`00008b`,darkcyan:`008b8b`,darkgoldenrod:`b8860b`,darkgray:`a9a9a9`,darkgreen:`006400`,darkgrey:`a9a9a9`,darkkhaki:`bdb76b`,darkmagenta:`8b008b`,darkolivegreen:`556b2f`,darkorange:`ff8c00`,darkorchid:`9932cc`,darkred:`8b0000`,darksalmon:`e9967a`,darkseagreen:`8fbc8f`,darkslateblue:`483d8b`,darkslategray:`2f4f4f`,darkslategrey:`2f4f4f`,darkturquoise:`00ced1`,darkviolet:`9400d3`,deeppink:`ff1493`,deepskyblue:`00bfff`,dimgray:`696969`,dimgrey:`696969`,dodgerblue:`1e90ff`,firebrick:`b22222`,floralwhite:`fffaf0`,forestgreen:`228b22`,fuchsia:`f0f`,gainsboro:`dcdcdc`,ghostwhite:`f8f8ff`,gold:`ffd700`,goldenrod:`daa520`,gray:`808080`,green:`008000`,greenyellow:`adff2f`,grey:`808080`,honeydew:`f0fff0`,hotpink:`ff69b4`,indianred:`cd5c5c`,indigo:`4b0082`,ivory:`fffff0`,khaki:`f0e68c`,lavender:`e6e6fa`,lavenderblush:`fff0f5`,lawngreen:`7cfc00`,lemonchiffon:`fffacd`,lightblue:`add8e6`,lightcoral:`f08080`,lightcyan:`e0ffff`,lightgoldenrodyellow:`fafad2`,lightgray:`d3d3d3`,lightgreen:`90ee90`,lightgrey:`d3d3d3`,lightpink:`ffb6c1`,lightsalmon:`ffa07a`,lightseagreen:`20b2aa`,lightskyblue:`87cefa`,lightslategray:`789`,lightslategrey:`789`,lightsteelblue:`b0c4de`,lightyellow:`ffffe0`,lime:`0f0`,limegreen:`32cd32`,linen:`faf0e6`,magenta:`f0f`,maroon:`800000`,mediumaquamarine:`66cdaa`,mediumblue:`0000cd`,mediumorchid:`ba55d3`,mediumpurple:`9370db`,mediumseagreen:`3cb371`,mediumslateblue:`7b68ee`,mediumspringgreen:`00fa9a`,mediumturquoise:`48d1cc`,mediumvioletred:`c71585`,midnightblue:`191970`,mintcream:`f5fffa`,mistyrose:`ffe4e1`,moccasin:`ffe4b5`,navajowhite:`ffdead`,navy:`000080`,oldlace:`fdf5e6`,olive:`808000`,olivedrab:`6b8e23`,orange:`ffa500`,orangered:`ff4500`,orchid:`da70d6`,palegoldenrod:`eee8aa`,palegreen:`98fb98`,paleturquoise:`afeeee`,palevioletred:`db7093`,papayawhip:`ffefd5`,peachpuff:`ffdab9`,peru:`cd853f`,pink:`ffc0cb`,plum:`dda0dd`,powderblue:`b0e0e6`,purple:`800080`,rebeccapurple:`663399`,red:`f00`,rosybrown:`bc8f8f`,royalblue:`4169e1`,saddlebrown:`8b4513`,salmon:`fa8072`,sandybrown:`f4a460`,seagreen:`2e8b57`,seashell:`fff5ee`,sienna:`a0522d`,silver:`c0c0c0`,skyblue:`87ceeb`,slateblue:`6a5acd`,slategray:`708090`,slategrey:`708090`,snow:`fffafa`,springgreen:`00ff7f`,steelblue:`4682b4`,tan:`d2b48c`,teal:`008080`,thistle:`d8bfd8`,tomato:`ff6347`,turquoise:`40e0d0`,violet:`ee82ee`,wheat:`f5deb3`,white:`fff`,whitesmoke:`f5f5f5`,yellow:`ff0`,yellowgreen:`9acd32`},Mn=A.hexNames=Nn(jn);function Nn(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Pn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(e,t){In(e)&&(e=`100%`);var n=Ln(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Fn(e){return Math.min(1,Math.max(0,e))}function M(e){return parseInt(e,16)}function In(e){return typeof e==`string`&&e.indexOf(`.`)!=-1&&parseFloat(e)===1}function Ln(e){return typeof e==`string`&&e.indexOf(`%`)!=-1}function N(e){return e.length==1?`0`+e:``+e}function Rn(e){return e<=1&&(e=e*100+`%`),e}function zn(e){return Math.round(parseFloat(e)*255).toString(16)}function Bn(e){return M(e)/255}var P=function(){var e=`(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)`,t=`[\\s|\\(]+(`+e+`)[,|\\s]+(`+e+`)[,|\\s]+(`+e+`)\\s*\\)?`,n=`[\\s|\\(]+(`+e+`)[,|\\s]+(`+e+`)[,|\\s]+(`+e+`)[,|\\s]+(`+e+`)\\s*\\)?`;return{CSS_UNIT:new RegExp(e),rgb:RegExp(`rgb`+t),rgba:RegExp(`rgba`+n),hsl:RegExp(`hsl`+t),hsla:RegExp(`hsla`+n),hsv:RegExp(`hsv`+t),hsva:RegExp(`hsva`+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function F(e){return!!P.CSS_UNIT.exec(e)}function Vn(e){e=e.replace(cn,``).replace(ln,``).toLowerCase();var t=!1;if(jn[e])e=jn[e],t=!0;else if(e==`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};var n;return(n=P.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=P.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=P.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=P.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=P.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=P.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=P.hex8.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),a:Bn(n[4]),format:t?`name`:`hex8`}:(n=P.hex6.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),format:t?`name`:`hex`}:(n=P.hex4.exec(e))?{r:M(n[1]+``+n[1]),g:M(n[2]+``+n[2]),b:M(n[3]+``+n[3]),a:Bn(n[4]+``+n[4]),format:t?`name`:`hex8`}:(n=P.hex3.exec(e))?{r:M(n[1]+``+n[1]),g:M(n[2]+``+n[2]),b:M(n[3]+``+n[3]),format:t?`name`:`hex`}:!1}function Hn(e){var t,n;return e=e||{level:`AA`,size:`small`},t=(e.level||`AA`).toUpperCase(),n=(e.size||`small`).toLowerCase(),t!==`AA`&&t!==`AAA`&&(t=`AA`),n!==`small`&&n!==`large`&&(n=`small`),{level:t,size:n}}var Un=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,Wn=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=Un[n[e]&63];return t},Gn=Symbol(`shape-defs-pool`);function Kn(e){if(e.kind===`clipPath`)return`clip:${e.pathString}|${e.viewBox[0]}x${e.viewBox[1]}|${e.bounds[0]}x${e.bounds[1]}`;if(e.kind===`gradient`){let t=e.spec,n=t.stops.map(e=>`${e.position}:${e.color}`).join(`,`);return`grad:${t.gradientType}|${t.angle??0}|${n}|${e.bounds[0]}x${e.bounds[1]}`}if(e.kind===`imagePattern`){let t=e.spec,n=t.crop?`${t.crop.left??0},${t.crop.top??0},${t.crop.right??0},${t.crop.bottom??0}`:``;return`img:${t.src}|fit=${t.fit?.mode??`fill`}|crop=${n}|op=${t.opacity??1}|${e.bounds[0]}x${e.bounds[1]}`}let t=e.spec;return`shd:${t.blur}|${t.color}|${t.offset?.[0]??0},${t.offset?.[1]??0}`}function qn(){let e=Yn();return pe(Gn,e),e}function Jn(){return se(Gn,null)||qn()}function Yn(){let e=v([]);return{entries:e,register:t=>{let n=Kn(t),r=e.value.find(e=>e.fingerprint===n);if(r)return r.refCount++,r.id;let i=`def-${Wn(8)}`;return e.value=[...e.value,{id:i,fingerprint:n,refCount:1,spec:t}],i},unref:t=>{let n=e.value.find(e=>e.id===t);n&&(n.refCount--,n.refCount<=0&&(e.value=e.value.filter(e=>e.id!==t)))}}}var Xn={class:`pptd-defs-pool`,"aria-hidden":`true`,focusable:`false`},Zn=[`id`],Qn=[`d`,`transform`],$n=[`id`],er=[`offset`,`stop-color`,`stop-opacity`],tr=[`id`],nr=[`offset`,`stop-color`,`stop-opacity`],rr=[`id`],ir=[`stdDeviation`,`dx`,`dy`,`flood-color`],ar=[`id`,`width`,`height`],or=[`href`,`width`,`height`,`preserveAspectRatio`,`opacity`],sr=je(x({__name:`DefsPool`,setup(e){let{entries:t}=Jn();function n(e=0,t,n){let r=e*Math.PI/180,i=Math.cos(r),a=Math.sin(r),o=t/2,s=n/2,c=(Math.abs(i)*t+Math.abs(a)*n)/2;return{x1:o-i*c,y1:s-a*c,x2:o+i*c,y2:s+a*c}}function i(e,t){let[n,r]=t,i=e.fit?.mode??`fill`;return{w:n,h:r,preserve:i===`cover`?`xMidYMid slice`:i===`contain`?`xMidYMid meet`:`none`,src:e.src,opacity:e.opacity??1}}function a(e,t){let n=t[0]/Math.max(e[0],1e-6),r=t[1]/Math.max(e[1],1e-6);return n===1&&r===1?void 0:`scale(${n} ${r})`}function o(e){let[t,n]=e;return{cx:t/2,cy:n/2,r:Math.min(t,n)*.3}}function c(e){let t=A(e);return t.isValid()?t.setAlpha(1).toHexString():e}function l(e){let t=A(e);if(!t.isValid())return;let n=t.getAlpha();return n<1?n:void 0}return(e,d)=>(C(),u(`svg`,Xn,[y(`defs`,null,[(C(!0),u(r,null,Ce(fe(t),e=>(C(),u(r,{key:e.id},[e.spec.kind===`clipPath`?(C(),u(`clipPath`,{key:0,id:e.id,clipPathUnits:`userSpaceOnUse`},[y(`path`,{d:e.spec.pathString,transform:a(e.spec.viewBox,e.spec.bounds)},null,8,Qn)],8,Zn)):e.spec.kind===`gradient`&&e.spec.spec.gradientType===`linear`?(C(),u(`linearGradient`,ye({key:1,id:e.id,gradientUnits:`userSpaceOnUse`},{ref_for:!0},n(e.spec.spec.angle,e.spec.bounds[0],e.spec.bounds[1])),[(C(!0),u(r,null,Ce(e.spec.spec.stops,(e,t)=>(C(),u(`stop`,{key:t,offset:e.position,"stop-color":c(e.color),"stop-opacity":l(e.color)},null,8,er))),128))],16,$n)):e.spec.kind===`gradient`&&e.spec.spec.gradientType===`radial`?(C(),u(`radialGradient`,ye({key:2,id:e.id,gradientUnits:`userSpaceOnUse`},{ref_for:!0},o(e.spec.bounds)),[(C(!0),u(r,null,Ce(e.spec.spec.stops,(e,t)=>(C(),u(`stop`,{key:t,offset:e.position,"stop-color":c(e.color),"stop-opacity":l(e.color)},null,8,nr))),128))],16,tr)):e.spec.kind===`shadow`?(C(),u(`filter`,{key:3,id:e.id,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`},[y(`feDropShadow`,{stdDeviation:e.spec.spec.blur/2,dx:e.spec.spec.offset?.[0]??0,dy:e.spec.spec.offset?.[1]??0,"flood-color":e.spec.spec.color},null,8,ir)],8,rr)):e.spec.kind===`imagePattern`?(C(),u(`pattern`,{key:4,id:e.id,patternUnits:`userSpaceOnUse`,width:i(e.spec.spec,e.spec.bounds).w,height:i(e.spec.spec,e.spec.bounds).h},[y(`image`,{href:i(e.spec.spec,e.spec.bounds).src,width:i(e.spec.spec,e.spec.bounds).w,height:i(e.spec.spec,e.spec.bounds).h,preserveAspectRatio:i(e.spec.spec,e.spec.bounds).preserve,opacity:i(e.spec.spec,e.spec.bounds).opacity},null,8,or)],8,ar)):s(``,!0)],64))),128))]),oe(e.$slots,`default`,{},void 0,!0)]))}}),[[`__scopeId`,`data-v-a2588ac6`]]),cr={Colors:{KMBlue:{normal:`#1783FF`,hover:`rgba(22, 127, 247, 1)`,active:`rgba(22, 124, 242, 1)`},Red:{normal:`#FF3849`,hover:`rgba(247, 54, 71, 1)`,active:`rgba(242, 53, 69, 1)`},Red25:{normal:`rgba(255, 56, 73, .25)`,hover:`rgba(227, 50, 65, 0.27249999999999996)`,active:`rgba(211, 46, 60, 0.2875000000000001)`},PositiveGreen:{normal:`#16C456`,hover:`rgba(21, 190, 83, 1)`,active:`rgba(21, 186, 82, 1)`},PositiveGreen25:{normal:`rgba(22, 196, 86, .25)`,hover:`rgba(20, 174, 77, 0.27249999999999996)`,active:`rgba(18, 162, 71, 0.2875000000000001)`},Green:{normal:`#32FF7D`,hover:`rgba(49, 247, 121, 1)`,active:`rgba(48, 242, 119, 1)`},Yellow:{normal:`#FFD230`,hover:`rgba(247, 204, 47, 1)`,active:`rgba(242, 200, 46, 1)`},Orange:{normal:`#FF9500`,hover:`rgba(247, 145, 0, 1)`,active:`rgba(242, 142, 0, 1)`},Purple:{normal:`#985FFB`,hover:`rgba(147, 92, 243, 1)`,active:`rgba(144, 90, 238, 1)`}},Bg:{Primary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},Primary90:{normal:`rgba(255, 255, 255, 0.9)`,hover:`rgba(247, 247, 247, 0.903)`,active:`rgba(241, 241, 241, 0.905)`},Primary70:{normal:`rgba(255, 255, 255, 0.7)`,hover:`rgba(244, 244, 244, 0.709)`,active:`rgba(237, 237, 237, 0.715)`},Secondary:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`},Secondary90:{normal:`rgba(245, 245, 245, 0.9)`,hover:`rgba(237, 237, 237, 0.903)`,active:`rgba(231, 231, 231, 0.905)`},Tertiary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},Tertiary90:{normal:`rgba(255, 255, 255, 0.9)`,hover:`rgba(247, 247, 247, 0.903)`,active:`rgba(241, 241, 241, 0.905)`},GroundPC:{normal:`#F9FBFC`,hover:`rgba(242, 243, 244, 1)`,active:`rgba(237, 238, 239, 1)`},Quaternary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`}},BgGp:{Primary:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`},Primary90:{normal:`rgba(245, 245, 245, 0.9)`,hover:`rgba(237, 237, 237, 0.903)`,active:`rgba(231, 231, 231, 0.905)`},Secondary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},Secondary90:{normal:`rgba(255, 255, 255, 0.9)`,hover:`rgba(247, 247, 247, 0.903)`,active:`rgba(241, 241, 241, 0.905)`},Tertiary:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`}},Labels:{Primary:{normal:`rgba(0, 0, 0, .9)`,hover:`rgba(0, 0, 0, 0.903)`,active:`rgba(0, 0, 0, 0.905)`},Secondary:{normal:`rgba(0, 0, 0, .6)`,hover:`rgba(0, 0, 0, 0.612)`,active:`rgba(0, 0, 0, 0.62)`},Tertiary:{normal:`rgba(0,0,0,.45)`,hover:`rgba(0, 0, 0, 0.4665)`,active:`rgba(0, 0, 0, 0.47750000000000004)`},Quaternary:{normal:`rgba(0,0,0,.3)`,hover:`rgba(0, 0, 0, 0.32100000000000006)`,active:`rgba(0, 0, 0, 0.3350000000000001)`}},Fills:{F1:{normal:`rgba(0, 0, 0, .03)`,hover:`rgba(0, 0, 0, 0.05910000000000004)`,active:`rgba(0, 0, 0, 0.07850000000000001)`},F2:{normal:`rgba(0, 0, 0, .05)`,hover:`rgba(0, 0, 0, 0.07850000000000001)`,active:`rgba(0, 0, 0, 0.09750000000000003)`},F3:{normal:`rgba(0, 0, 0, .15)`,hover:`rgba(0, 0, 0, 0.1755)`,active:`rgba(0, 0, 0, 0.1925)`},F4:{normal:`rgba(0, 0, 0, .25)`,hover:`rgba(0, 0, 0, 0.27249999999999996)`,active:`rgba(0, 0, 0, 0.2875000000000001)`}},Separators:{S1:{normal:`rgba(0, 0, 0, .13)`,hover:`rgba(0, 0, 0, 0.15610000000000002)`,active:`rgba(0, 0, 0, 0.1735)`}},MaskBg:{Light:{normal:`rgba(0, 0, 0, .1)`,hover:`rgba(0, 0, 0, 0.127)`,active:`rgba(0, 0, 0, 0.14500000000000002)`},Base:{normal:`rgba(0, 0, 0, .4)`,hover:`rgba(0, 0, 0, 0.41800000000000004)`,active:`rgba(0, 0, 0, 0.43000000000000005)`},Dark:{normal:`rgba(0, 0, 0, .6)`,hover:`rgba(0, 0, 0, 0.612)`,active:`rgba(0, 0, 0, 0.62)`},Gray:{normal:`rgba(48, 48, 48, .9)`,hover:`rgba(46, 46, 46, 0.903)`,active:`rgba(45, 45, 45, 0.905)`},ToastIOS:{normal:`rgba(69,69,69,.9)`,hover:`rgba(67, 67, 67, 0.903)`,active:`rgba(65, 65, 65, 0.905)`},ToastAndroid:{normal:`#454545`,hover:`rgba(67, 67, 67, 1)`,active:`rgba(66, 66, 66, 1)`},ToastPC:{normal:`#2B2B2B`,hover:`rgba(42, 42, 42, 1)`,active:`rgba(41, 41, 41, 1)`}},Always:{White:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},WhiteSecondary:{normal:`rgba(255, 255, 255, 0.84)`,hover:`rgba(246, 246, 246, 0.8448)`,active:`rgba(240, 240, 240, 0.848)`},WhiteTertiary:{normal:`rgba(255, 255, 255, 0.56)`,hover:`rgba(242, 242, 242, 0.5732)`,active:`rgba(233, 233, 233, 0.5820000000000001)`},WhiteQuaternary:{normal:`rgba(255, 255, 255, 0.42)`,hover:`rgba(238, 238, 238, 0.4373999999999999)`,active:`rgba(227, 227, 227, 0.44899999999999995)`},Black:{normal:`#000000`,hover:`rgba(0, 0, 0, 1)`,active:`rgba(0, 0, 0, 1)`},TransparencyDarkFill:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(0, 0, 0, 0.612)`,active:`rgba(0, 0, 0, 0.62)`},TransparencyTagFill:{normal:`rgba(69, 69, 69, 0.7)`,hover:`rgba(66, 66, 66, 0.709)`,active:`rgba(64, 64, 64, 0.715)`},TransparencyWhite15:{normal:`rgba(255, 255, 255, 0.15)`,hover:`rgba(211, 211, 211, 0.1755)`,active:`rgba(189, 189, 189, 0.1925)`}},Others:{LightBlueBg:{normal:`#E8F3FF`,hover:`rgba(225, 236, 247, 1)`,active:`rgba(220, 231, 242, 1)`},BubbleBlue:{normal:`#1783FF`,hover:`rgba(22, 127, 247, 1)`,active:`rgba(22, 124, 242, 1)`},BubbleGray_PC:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`},LightRedBg:{normal:`rgba(255, 77, 77, 0.1)`,hover:`rgba(195, 59, 59, 0.127)`,active:`rgba(167, 50, 50, 0.14500000000000002)`},LightOrangeBg:{normal:`rgba(255, 149, 0, 0.1)`,hover:`rgba(195, 114, 0, 0.127)`,active:`rgba(167, 98, 0, 0.14500000000000002)`},LightGreenBg:{normal:`rgba(22, 196, 86, 0.1)`,hover:`rgba(17, 150, 66, 0.127)`,active:`rgba(14, 128, 56, 0.14500000000000002)`},LightYellowBg:{normal:`rgba(255, 200, 0, 0.2)`,hover:`rgba(221, 173, 0, 0.22399999999999998)`,active:`rgba(202, 158, 0, 0.24)`},KMBlueDisabled:{normal:`rgba(23, 131, 255, 0.4)`,hover:`rgba(21, 122, 237, 0.41800000000000004)`,active:`rgba(20, 116, 225, 0.43000000000000005)`},KMBlue10:{normal:`rgba(23, 131, 255, 0.1)`,hover:`rgba(18, 100, 195, 0.127)`,active:`rgba(15, 86, 167, 0.14500000000000002)`},TextSelected:{normal:`rgba(23, 131, 255, 0.2)`,hover:`rgba(20, 113, 221, 0.22399999999999998)`,active:`rgba(18, 104, 202, 0.24)`},WhiteOnDarkDisabled:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},SubLayerBg:{normal:`rgba(0, 0, 0, 0.08)`,hover:`rgba(0, 0, 0, 0.10760000000000003)`,active:`rgba(0, 0, 0, 0.126)`}},Syntax:{Keyword:{normal:`#A626A4`,hover:`rgba(161, 37, 159, 1)`,active:`rgba(158, 36, 156, 1)`},String:{normal:`#50A14F`,hover:`rgba(78, 156, 77, 1)`,active:`rgba(76, 153, 75, 1)`},Literal:{normal:`#986801`,hover:`rgba(147, 101, 1, 1)`,active:`rgba(144, 99, 1, 1)`},Comment:{normal:`#A1A1A1`,hover:`rgba(156, 156, 156, 1)`,active:`rgba(153, 153, 153, 1)`},Metadata:{normal:`#C18401`,hover:`rgba(187, 128, 1, 1)`,active:`rgba(183, 125, 1, 1)`},MultilineComment:{normal:`#A1A1A1`,hover:`rgba(156, 156, 156, 1)`,active:`rgba(153, 153, 153, 1)`},Punctuation:{normal:`#E45649`,hover:`rgba(221, 83, 71, 1)`,active:`rgba(217, 82, 69, 1)`},Mark:{normal:`#526FFF`,hover:`rgba(80, 108, 247, 1)`,active:`rgba(78, 105, 242, 1)`}}},lr={Colors:{KMBlue:{normal:`#1A88FF`,hover:`rgba(37, 142, 255, 1)`,active:`rgba(49, 148, 255, 1)`},Red:{normal:`#FF4756`,hover:`rgba(255, 80, 94, 1)`,active:`rgba(255, 89, 103, 1)`},Red25:{normal:`rgba(255, 71, 86, 0.25)`,hover:`rgba(255, 103, 115, 0.2875000000000001)`,active:`rgba(255, 128, 138, 0.32499999999999996)`},PositiveGreen:{normal:`#16C456`,hover:`rgba(34, 199, 94, 1)`,active:`rgba(45, 202, 103, 1)`},PositiveGreen25:{normal:`rgba(22, 196, 86, 0.25)`,hover:`rgba(63, 206, 115, 0.2875000000000001)`,active:`rgba(94, 214, 138, 0.32499999999999996)`},Green:{normal:`#32FF7D`,hover:`rgba(60, 255, 132, 1)`,active:`rgba(71, 255, 138, 1)`},Yellow:{normal:`#FFD230`,hover:`rgba(255, 212, 58, 1)`,active:`rgba(255, 215, 69, 1)`},Orange:{normal:`#FF9F0A`,hover:`rgba(255, 164, 22, 1)`,active:`rgba(255, 169, 35, 1)`},Purple:{normal:`#A16BFF`,hover:`rgba(166, 114, 255, 1)`,active:`rgba(170, 122, 255, 1)`}},Bg:{Primary:{normal:`#121212`,hover:`rgba(30, 30, 30, 1)`,active:`rgba(42, 42, 42, 1)`},Primary90:{normal:`rgba(18, 18, 18, 0.9)`,hover:`rgba(31, 31, 31, 0.905)`,active:`rgba(44, 44, 44, 0.91)`},Primary70:{normal:`rgba(18, 18, 18, 0.7)`,hover:`rgba(35, 35, 35, 0.715)`,active:`rgba(50, 50, 50, 0.73)`},Secondary:{normal:`#1F1F1F`,hover:`rgba(42, 42, 42, 1)`,active:`rgba(53, 53, 53, 1)`},Secondary90:{normal:`rgba(31, 31, 31, 0.9)`,hover:`rgba(43, 43, 43, 0.905)`,active:`rgba(56, 56, 56, 0.91)`},Tertiary:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`},Tertiary90:{normal:`rgba(41, 41, 41, 0.9)`,hover:`rgba(53, 53, 53, 0.905)`,active:`rgba(65, 65, 65, 0.91)`},GroundPC:{normal:`#161717`,hover:`rgba(34, 35, 35, 1)`,active:`rgba(45, 46, 46, 1)`},Quaternary:{normal:`#4D4D4D`,hover:`rgba(86, 86, 86, 1)`,active:`rgba(95, 95, 95, 1)`}},BgGp:{Primary:{normal:`#121212`,hover:`rgba(30, 30, 30, 1)`,active:`rgba(42, 42, 42, 1)`},Primary90:{normal:`rgba(18, 18, 18, 0.9)`,hover:`rgba(31, 31, 31, 0.905)`,active:`rgba(44, 44, 44, 0.91)`},Secondary:{normal:`#1F1F1F`,hover:`rgba(42, 42, 42, 1)`,active:`rgba(53, 53, 53, 1)`},Secondary90:{normal:`rgba(31, 31, 31, 0.9)`,hover:`rgba(43, 43, 43, 0.905)`,active:`rgba(56, 56, 56, 0.91)`},Tertiary:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`}},Labels:{Primary:{normal:`rgba(255, 255, 255, 0.84)`,hover:`rgba(255, 255, 255, 0.848)`,active:`rgba(255, 255, 255, 0.856)`},Secondary:{normal:`rgba(255, 255, 255, 0.56)`,hover:`rgba(255, 255, 255, 0.5820000000000001)`,active:`rgba(255, 255, 255, 0.6040000000000001)`},Tertiary:{normal:`rgba(255, 255, 255, 0.42)`,hover:`rgba(255, 255, 255, 0.44899999999999995)`,active:`rgba(255, 255, 255, 0.47799999999999987)`},Quaternary:{normal:`rgba(255, 255, 255, 0.26)`,hover:`rgba(255, 255, 255, 0.29700000000000004)`,active:`rgba(255, 255, 255, 0.33399999999999996)`}},Fills:{F1:{normal:`rgba(255, 255, 255, 0.05)`,hover:`rgba(255, 255, 255, 0.09750000000000003)`,active:`rgba(255, 255, 255, 0.14500000000000002)`},F2:{normal:`rgba(255, 255, 255, 0.1)`,hover:`rgba(255, 255, 255, 0.14500000000000002)`,active:`rgba(255, 255, 255, 0.18999999999999995)`},F3:{normal:`rgba(255, 255, 255, 0.18)`,hover:`rgba(255, 255, 255, 0.22099999999999997)`,active:`rgba(255, 255, 255, 0.2619999999999999)`},F4:{normal:`rgba(255, 255, 255, 0.25)`,hover:`rgba(255, 255, 255, 0.2875000000000001)`,active:`rgba(255, 255, 255, 0.32499999999999996)`}},Separators:{S1:{normal:`rgba(255, 255, 255, 0.12)`,hover:`rgba(255, 255, 255, 0.16400000000000003)`,active:`rgba(255, 255, 255, 0.20799999999999996)`}},MaskBg:{Light:{normal:`rgba(0, 0, 0, 0.3)`,hover:`rgba(38, 38, 38, 0.3350000000000001)`,active:`rgba(69, 69, 69, 0.37)`},Base:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(21, 21, 21, 0.62)`,active:`rgba(40, 40, 40, 0.6399999999999999)`},Dark:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(21, 21, 21, 0.62)`,active:`rgba(40, 40, 40, 0.6399999999999999)`},Gray:{normal:`rgba(48, 48, 48, 0.9)`,hover:`rgba(59, 59, 59, 0.905)`,active:`rgba(71, 71, 71, 0.91)`},ToastIOS:{normal:`rgba(89, 89, 89, 0.9)`,hover:`rgba(98, 98, 98, 0.905)`,active:`rgba(107, 107, 107, 0.91)`},ToastAndroid:{normal:`#595959`,hover:`rgba(97, 97, 97, 1)`,active:`rgba(106, 106, 106, 1)`},ToastPC:{normal:`#404040`,hover:`rgba(74, 74, 74, 1)`,active:`rgba(83, 83, 83, 1)`}},Always:{White:{normal:`#FFFFFF`,hover:`rgba(255, 255, 255, 1)`,active:`rgba(255, 255, 255, 1)`},WhiteSecondary:{normal:`rgba(255, 255, 255, 0.84)`,hover:`rgba(255, 255, 255, 0.848)`,active:`rgba(255, 255, 255, 0.856)`},WhiteTertiary:{normal:`rgba(255, 255, 255, 0.56)`,hover:`rgba(255, 255, 255, 0.5820000000000001)`,active:`rgba(255, 255, 255, 0.6040000000000001)`},WhiteQuaternary:{normal:`rgba(255, 255, 255, 0.42)`,hover:`rgba(255, 255, 255, 0.44899999999999995)`,active:`rgba(255, 255, 255, 0.47799999999999987)`},Black:{normal:`#000000`,hover:`rgba(13, 13, 13, 1)`,active:`rgba(26, 26, 26, 1)`},TransparencyDarkFill:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(21, 21, 21, 0.62)`,active:`rgba(40, 40, 40, 0.6399999999999999)`},TransparencyTagFill:{normal:`rgba(69, 69, 69, 0.7)`,hover:`rgba(82, 82, 82, 0.715)`,active:`rgba(94, 94, 94, 0.73)`},TransparencyWhite15:{normal:`rgba(255, 255, 255, 0.15)`,hover:`rgba(255, 255, 255, 0.1925)`,active:`rgba(255, 255, 255, 0.235)`}},Others:{LightBlueBg:{normal:`#1E2A38`,hover:`rgba(41, 53, 66, 1)`,active:`rgba(53, 63, 76, 1)`},BubbleBlue:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`},BubbleGray_PC:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`},LightRedBg:{normal:`rgba(255, 82, 82, 0.1)`,hover:`rgba(255, 142, 142, 0.14500000000000002)`,active:`rgba(255, 173, 173, 0.18999999999999995)`},LightOrangeBg:{normal:`rgba(255, 159, 10, 0.1)`,hover:`rgba(255, 192, 94, 0.14500000000000002)`,active:`rgba(255, 210, 139, 0.18999999999999995)`},LightGreenBg:{normal:`rgba(22, 196, 86, 0.1)`,hover:`rgba(102, 216, 144, 0.14500000000000002)`,active:`rgba(145, 227, 175, 0.18999999999999995)`},LightYellowBg:{normal:`rgba(255, 210, 48, 0.2)`,hover:`rgba(255, 219, 91, 0.24)`,active:`rgba(255, 226, 122, 0.2799999999999999)`},KMBlueDisabled:{normal:`rgba(26, 136, 255, 0.4)`,hover:`rgba(53, 150, 255, 0.43000000000000005)`,active:`rgba(76, 162, 255, 0.45999999999999996)`},KMBlue10:{normal:`rgba(26, 136, 255, 0.1)`,hover:`rgba(105, 177, 255, 0.14500000000000002)`,active:`rgba(147, 199, 255, 0.18999999999999995)`},TextSelected:{normal:`rgba(26, 136, 255, 0.2)`,hover:`rgba(74, 161, 255, 0.24)`,active:`rgba(108, 179, 255, 0.2799999999999999)`},WhiteOnDarkDisabled:{normal:`rgba(255, 255, 255, 0.4)`,hover:`rgba(255, 255, 255, 0.43000000000000005)`,active:`rgba(255, 255, 255, 0.45999999999999996)`},SubLayerBg:{normal:`rgba(255, 255, 255, 0.06)`,hover:`rgba(255, 255, 255, 0.1070000000000001)`,active:`rgba(255, 255, 255, 0.15400000000000003)`}},Syntax:{Keyword:{normal:`#D55FDE`,hover:`rgba(215, 103, 224, 1)`,active:`rgba(217, 111, 225, 1)`},String:{normal:`#89CA78`,hover:`rgba(143, 205, 127, 1)`,active:`rgba(149, 207, 134, 1)`},Literal:{normal:`#D19A66`,hover:`rgba(211, 159, 110, 1)`,active:`rgba(214, 164, 117, 1)`},Comment:{normal:`#5C6370`,hover:`rgba(100, 107, 119, 1)`,active:`rgba(108, 115, 126, 1)`},Metadata:{normal:`#E5C07B`,hover:`rgba(230, 195, 130, 1)`,active:`rgba(232, 198, 136, 1)`},MultilineComment:{normal:`#5C6370`,hover:`rgba(100, 107, 119, 1)`,active:`rgba(108, 115, 126, 1)`},Punctuation:{normal:`#EF596F`,hover:`rgba(240, 97, 118, 1)`,active:`rgba(241, 106, 125, 1)`},Mark:{normal:`#2BBAC5`,hover:`rgba(54, 189, 200, 1)`,active:`rgba(64, 193, 203, 1)`}}},ur={ui:{T1:{fontSize:`18px`,lineHeight:`26px`},T2:{fontSize:`16px`,lineHeight:`24px`},T2_Emphasized:{fontSize:`16px`,lineHeight:`24px`},B1:{fontSize:`15px`,lineHeight:`22px`},B1_Emphasized:{fontSize:`15px`,lineHeight:`22px`},B2:{fontSize:`14px`,lineHeight:`20px`},B2_Emphasized:{fontSize:`14px`,lineHeight:`20px`},C1:{fontSize:`12px`,lineHeight:`18px`},C1_Emphasized:{fontSize:`12px`,lineHeight:`18px`},C2:{fontSize:`10px`,lineHeight:`14px`},C2_Emphasized:{fontSize:`10px`,lineHeight:`14px`}},markdown:{H1_Content:{fontSize:`20px`,lineHeight:`32px`},H2_Content:{fontSize:`18px`,lineHeight:`28px`},B1_Content:{fontSize:`16px`,lineHeight:`26px`},B1_Content_Emphasized:{fontSize:`16px`,lineHeight:`26px`},B1_List_Content:{fontSize:`16px`,lineHeight:`26px`},B1_List_Content_Emphasized:{fontSize:`16px`,lineHeight:`26px`},B2_Content:{fontSize:`15px`,lineHeight:`24px`},B2_Content_Emphasized:{fontSize:`15px`,lineHeight:`24px`},B3_Content:{fontSize:`14px`,lineHeight:`22px`},B3_Content_Emphasized:{fontSize:`14px`,lineHeight:`22px`},Codeblocks:{fontSize:`14px`,lineHeight:`22px`},InlineCode:{fontSize:`16px`,lineHeight:`26px`}}},dr=Symbol(`themeInjectKey`),fr=o(`system`),pr=o(`light`);function mr(){return window.matchMedia(`(prefers-color-scheme: dark)`).matches||window.INJECT_ENV?.theme===`dark`}function hr(e){let t=`light`;t=e===`system`?mr()?`dark`:`light`:e,!(pr.value===t&&document.documentElement.classList.contains(t))&&(pr.value=t,document.documentElement.classList.remove(`dark`,`light`),document.documentElement.classList.add(pr.value))}function gr(e){fr.value=e,hr(e)}function _r(){we(()=>fr.value,e=>{hr(e)}),ge(()=>{try{let e=localStorage.getItem(`CUSTOM_THEME`);if(e){let t=JSON.parse(e);(t===`dark`||t===`light`||t===`system`)&&(fr.value=t)}}catch{}/.*Kimi\/\d.*/.test(navigator.userAgent)&&window.INJECT_ENV?.theme&&(fr.value=window.INJECT_ENV.theme===`dark`?`dark`:`light`),hr(fr.value),_e(window.matchMedia(`(prefers-color-scheme: dark)`),`change`,()=>{fr.value===`system`&&hr(fr.value)})});let e={themeSetting:fr,currentTheme:pr,themeVariables:vr(),fontOptions:ur};return pe(dr,e),e}function vr(){return c(()=>pr.value===`dark`?lr:cr)}function yr(e=!1){let n=g();if(!n)throw Error(`useShowModal must be called within a setup function`);let r=n.root.appContext,i=n.provides,a=x({name:`DynamicHolder`,props:{component:{type:[Object,Function],required:!0},props:{type:Object,required:!0}},setup(e){let n=g();return n.appContext=r,n.root.appContext=r,n.provides=i,()=>t(e.component,{...e.props,onClose:e.props.onClose})}}),o=null,s=(e,t)=>{o||(o=document.createElement(`div`),document.body.appendChild(o));let r=ne(a,{component:e,props:t});r.appContext=n.appContext,h(r,o)},c=()=>{o&&(h(null,o),o.remove(),o=null)};return e||re(()=>{c()}),{mount:s,unmount:c}}var[br,xr]=ie(()=>({queue:v([]),preconditions:[],isShowingDialog:v(!1)}));function Sr(e,t){let n=t.length;for(;n>0&&t[n-1].priority<e.priority;)n--;return t.splice(n,0,e),t}var Cr=(e={})=>{let t=xr();if(!t)throw Error(`useShowModal must be used within a ModalQueueProvider`);let{queue:n,preconditions:r,isShowingDialog:i}=t,{mount:a,unmount:o}=yr(e.withoutDynamicMount??!1),s=e=>{let t=n.value.indexOf(e);t>=0&&n.value.splice(t,1)},c=()=>{if(i.value)return;let e=n.value[0];e&&(i.value=!0,e.fn(e))};return{showModal:e=>new Promise(t=>{let l=e.priority??0,u=!1,d=n=>{let r=r=>{u||(u=!0,i.value=!1,t(r),o(),e.immediate||(s(n),c()))};a(typeof e.component==`function`?te({loader:e.component}):e.component,{...e.props,onClose:r})},f={fn:d,priority:l};if(e.immediate){d(f);return}Sr(f,n.value),Promise.allSettled(r).then(()=>{c()})}),closeModal:o,setPrecondition:e=>{r.push(e)},queue:n}},wr={bdAll:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<g clip-path="url(#clip0_619_20211)">
|
||
<path d="M20.0918 3.10449C20.1202 3.10737 20.1482 3.11173 20.1758 3.11719C20.1939 3.12078 20.2118 3.12521 20.2295 3.12988C20.2392 3.13244 20.2492 3.13385 20.2588 3.13672C20.3077 3.15136 20.3544 3.17102 20.3994 3.19336C20.4031 3.19517 20.4065 3.19736 20.4102 3.19922C20.4535 3.22148 20.4943 3.24764 20.5332 3.27637C20.5407 3.2819 20.5483 3.28721 20.5557 3.29297C20.5922 3.3217 20.6266 3.35279 20.6582 3.38672C20.6634 3.3923 20.6678 3.39859 20.6729 3.4043C20.7029 3.43826 20.7301 3.47445 20.7549 3.5127C20.7604 3.52119 20.7663 3.5294 20.7715 3.53809C20.8242 3.62597 20.8625 3.72314 20.8828 3.82715C20.8937 3.88315 20.9004 3.94082 20.9004 4V20C20.9004 20.031 20.8976 20.0616 20.8945 20.0918H20.8955C20.8828 20.2169 20.8418 20.3328 20.7832 20.4375C20.7686 20.4636 20.7524 20.4883 20.7354 20.5127C20.7212 20.533 20.7072 20.5532 20.6914 20.5723C20.6734 20.594 20.6537 20.6139 20.6338 20.6338C20.6143 20.6533 20.5944 20.6718 20.5732 20.6895C20.5537 20.7057 20.5336 20.7208 20.5127 20.7354C20.4883 20.7524 20.4636 20.7686 20.4375 20.7832C20.4029 20.8026 20.3683 20.8222 20.3311 20.8369C20.3244 20.8396 20.3173 20.8413 20.3105 20.8438C20.2655 20.8603 20.219 20.8736 20.1709 20.8828C20.1155 20.8935 20.0585 20.9004 20 20.9004H4L3.91406 20.8965C3.88459 20.8937 3.85573 20.8884 3.82715 20.8828C3.77703 20.873 3.72842 20.8595 3.68164 20.8418C3.67672 20.8399 3.67188 20.8379 3.66699 20.8359C3.622 20.818 3.57916 20.7961 3.53809 20.7715C3.5294 20.7663 3.52119 20.7604 3.5127 20.7549C3.47445 20.7301 3.43826 20.7029 3.4043 20.6729C3.39859 20.6678 3.3923 20.6634 3.38672 20.6582C3.35279 20.6266 3.3217 20.5922 3.29297 20.5557C3.28721 20.5483 3.2819 20.5407 3.27637 20.5332C3.18315 20.4069 3.12118 20.2563 3.10449 20.0918L3.09961 20V4C3.09961 3.50294 3.50294 3.09961 4 3.09961H20L20.0918 3.10449ZM4.90039 19.0996H11.0996V12.9004H4.90039V19.0996ZM12.9004 19.0996H19.0996V12.9004H12.9004V19.0996ZM4.90039 4.90039V11.0996H11.0996V4.90039H4.90039ZM12.9004 4.90039V11.0996H19.0996V4.90039H12.9004Z" fill="currentColor" fill-opacity="0.9"/>
|
||
</g>
|
||
<defs>
|
||
<clipPath id="clip0_619_20211">
|
||
<rect width="24" height="24" fill="currentColor"/>
|
||
</clipPath>
|
||
</defs>
|
||
</svg>
|
||
`,bdBottom:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<rect x="4" y="4" width="16" height="16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="5 5"/>
|
||
<path d="M4 20H20" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,bdDef:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<rect x="4" y="4" width="16" height="16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="5 5"/>
|
||
</svg>
|
||
`,bdH:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<g clip-path="url(#clip0_619_20209)">
|
||
<path d="M20 17.0996C20.4969 17.0998 20.9004 17.5031 20.9004 18V20C20.9004 20.031 20.8976 20.0616 20.8945 20.0918C20.8902 20.1345 20.8822 20.1761 20.8721 20.2168C20.8617 20.2587 20.8491 20.2995 20.833 20.3389C20.8165 20.3794 20.7964 20.4178 20.7744 20.4551C20.7678 20.4663 20.761 20.4774 20.7539 20.4883C20.73 20.5251 20.7037 20.5599 20.6748 20.5928C20.6681 20.6004 20.6613 20.6078 20.6543 20.6152C20.6236 20.6479 20.5909 20.6783 20.5557 20.7061C20.5483 20.7118 20.5407 20.7171 20.5332 20.7227C20.4945 20.7513 20.4542 20.7776 20.4111 20.7998C20.4047 20.8031 20.3982 20.8064 20.3916 20.8096C20.3746 20.8178 20.3574 20.8258 20.3398 20.833C20.3302 20.8369 20.3203 20.8401 20.3105 20.8438C20.2934 20.8501 20.2764 20.857 20.2588 20.8623C20.2435 20.8669 20.2276 20.8693 20.2119 20.873C20.2005 20.8758 20.1893 20.8795 20.1777 20.8818C20.1495 20.8875 20.1209 20.8926 20.0918 20.8955L20 20.9004H4C3.98326 20.9004 3.96671 20.8984 3.9502 20.8975C3.93368 20.8984 3.91713 20.9004 3.90039 20.9004C3.40333 20.9004 3 20.4971 3 20V18C3 17.5029 3.40333 17.0996 3.90039 17.0996C4.39728 17.0998 4.80078 17.5031 4.80078 18V19.0996H11.1006V18C11.1006 17.5031 11.5031 17.0998 12 17.0996C12.4969 17.0998 12.9004 17.5031 12.9004 18V19.0996H19.1006V18C19.1006 17.5031 19.5031 17.0998 20 17.0996ZM20 9.09961C20.4969 9.09981 20.9004 9.50307 20.9004 10V14C20.9004 14.4969 20.4969 14.9002 20 14.9004C19.5031 14.9002 19.1006 14.4969 19.1006 14V12.9004H12.9004V14C12.9004 14.4969 12.4969 14.9002 12 14.9004C11.5031 14.9002 11.1006 14.4969 11.1006 14V12.9004H4.80078V14C4.80078 14.4969 4.39728 14.9002 3.90039 14.9004C3.40333 14.9004 3 14.4971 3 14V10C3 9.50294 3.40333 9.09961 3.90039 9.09961C4.39728 9.09981 4.80078 9.50307 4.80078 10V11.0996H11.1006V10C11.1006 9.50307 11.5031 9.09981 12 9.09961C12.4969 9.09981 12.9004 9.50307 12.9004 10V11.0996H19.1006V10C19.1006 9.50307 19.5031 9.09981 20 9.09961ZM20.0918 3.10449C20.1209 3.10744 20.1496 3.11154 20.1777 3.11719C20.1893 3.11951 20.2005 3.12321 20.2119 3.12598C20.2275 3.12975 20.2435 3.13214 20.2588 3.13672C20.2764 3.142 20.2934 3.14896 20.3105 3.15527C20.3187 3.15826 20.3269 3.16085 20.335 3.16406L20.3496 3.16992C20.4155 3.19774 20.4764 3.23444 20.5332 3.27637C20.5407 3.2819 20.5483 3.28721 20.5557 3.29297C20.5909 3.32071 20.6236 3.35119 20.6543 3.38379C20.6613 3.39118 20.6681 3.39863 20.6748 3.40625C20.7037 3.43907 20.73 3.47395 20.7539 3.51074C20.761 3.52166 20.7678 3.53271 20.7744 3.54395C20.7964 3.58121 20.8165 3.6197 20.833 3.66016C20.8491 3.69951 20.8616 3.74033 20.8721 3.78223C20.8758 3.79713 20.8799 3.81196 20.8828 3.82715C20.8937 3.88315 20.9004 3.94082 20.9004 4V6C20.9004 6.49693 20.4969 6.90019 20 6.90039C19.5031 6.90019 19.1006 6.49693 19.1006 6V4.90039H12.9004V6C12.9004 6.49693 12.4969 6.90019 12 6.90039C11.5031 6.90019 11.1006 6.49693 11.1006 6V4.90039H4.80078V6C4.80078 6.49693 4.39728 6.90019 3.90039 6.90039C3.40333 6.90039 3 6.49706 3 6V4C3 3.50294 3.40333 3.09961 3.90039 3.09961C3.91711 3.09962 3.9337 3.10065 3.9502 3.10156C3.96669 3.10066 3.98328 3.09961 4 3.09961H20L20.0918 3.10449Z" fill="currentColor" fill-opacity="0.9"/>
|
||
</g>
|
||
<defs>
|
||
<clipPath id="clip0_619_20209">
|
||
<rect width="24" height="24" fill="currentColor"/>
|
||
</clipPath>
|
||
</defs>
|
||
</svg>
|
||
`,bdLeft:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<rect x="4" y="4" width="16" height="16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="5 5"/>
|
||
<path d="M4 20L4 4" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,bdNone:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M9.5 4H5C4.44772 4 4 4.44772 4 5V9.5C4 10.0523 4.44772 10.5 5 10.5H9.5C10.0523 10.5 10.5 10.0523 10.5 9.5V5C10.5 4.44772 10.0523 4 9.5 4Z" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="2 6"/>
|
||
<path d="M5 20H9.5C10.0523 20 10.5 19.5523 10.5 19V14.5C10.5 13.9477 10.0523 13.5 9.5 13.5H5C4.44772 13.5 4 13.9477 4 14.5V19C4 19.5523 4.44772 20 5 20Z" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="2 6"/>
|
||
<path d="M19 4H14.5C13.9477 4 13.5 4.44772 13.5 5V9.5C13.5 10.0523 13.9477 10.5 14.5 10.5H19C19.5523 10.5 20 10.0523 20 9.5V5C20 4.44772 19.5523 4 19 4Z" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="2 6"/>
|
||
<path d="M14.5 20H19C19.5523 20 20 19.5523 20 19V14.5C20 13.9477 19.5523 13.5 19 13.5H14.5C13.9477 13.5 13.5 13.9477 13.5 14.5V19C13.5 19.5523 13.9477 20 14.5 20Z" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="2 6"/>
|
||
</svg>
|
||
`,bdRight:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<rect width="16" height="16" transform="matrix(-1 0 0 1 20 4)" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="5 5"/>
|
||
<path d="M20 20L20 4" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,bdTop:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<rect width="16" height="16" transform="matrix(-1 0 0 1 20 4)" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="5 5"/>
|
||
<path d="M20 4L4 4" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,bdV:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<rect x="4" y="4" width="16" height="16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="5 5"/>
|
||
<path d="M4 20L4 4" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M12 20L12 4" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M4 12L20 12" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3.6 3.6"/>
|
||
<path d="M20 20L20 4" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,chartLegend:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M12 16L20 16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M12 8H20" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M4 15C4 14.4477 4.44772 14 5 14H7C7.55228 14 8 14.4477 8 15V17C8 17.5523 7.55228 18 7 18H5C4.44772 18 4 17.5523 4 17V15Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M4 7C4 6.44772 4.44772 6 5 6H7C7.55228 6 8 6.44772 8 7V9C8 9.55228 7.55228 10 7 10H5C4.44772 10 4 9.55228 4 9V7Z" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,chartValue:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M4 20H20" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M5 15C5 13.8954 5.89543 13 7 13H17C18.1046 13 19 13.8954 19 15V20H5V15Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M16.9902 3.24121C17.8182 3.24121 18.4482 3.427 18.8802 3.79858C19.3122 4.17016 19.5282 4.66885 19.5282 5.29467C19.5282 5.67276 19.4352 5.99219 19.2492 6.25295C19.0632 6.5137 18.8442 6.71253 18.5922 6.84942C18.7482 6.90809 18.8892 6.98632 19.0152 7.08411C19.1472 7.17537 19.2612 7.29271 19.3572 7.43613C19.4592 7.57302 19.5402 7.736 19.6002 7.92504C19.6602 8.11409 19.6902 8.33248 19.6902 8.58019C19.6902 8.91918 19.6212 9.22231 19.4832 9.48958C19.3512 9.75034 19.1652 9.97524 18.9252 10.1643C18.6912 10.3533 18.4092 10.4968 18.0792 10.5945C17.7552 10.6923 17.3982 10.7412 17.0082 10.7412C16.2582 10.7412 15.6912 10.6271 15.3072 10.399C14.9292 10.1708 14.7402 9.88072 14.7402 9.52869C14.7402 9.32009 14.7852 9.14082 14.8752 8.99088C15.0355 8.72975 15.3865 8.75451 15.6548 8.9025C15.7017 8.9284 15.7509 8.95461 15.8022 8.98111C16.0422 9.09845 16.3572 9.15712 16.7472 9.15712C17.1132 9.15712 17.3832 9.08867 17.5572 8.95177C17.7372 8.80836 17.8272 8.62257 17.8272 8.3944C17.8272 8.16624 17.7552 7.99349 17.6112 7.87615C17.4732 7.75881 17.2332 7.70014 16.8912 7.70014H16.2123C16.0034 7.70014 15.8065 7.58786 15.7482 7.38723C15.7122 7.26338 15.6942 7.11344 15.6942 6.93743C15.6942 6.76142 15.7092 6.60823 15.7392 6.47785C15.7887 6.2627 16.0055 6.15516 16.2262 6.15516H16.8912C17.4072 6.15516 17.6652 5.94004 17.6652 5.50979C17.6652 5.3077 17.5812 5.14473 17.4132 5.02087C17.2512 4.89049 17.0052 4.8253 16.6752 4.8253C16.3812 4.8253 16.1202 4.86442 15.8922 4.94265C15.844 4.95823 15.7976 4.97475 15.753 4.99218C15.4973 5.09222 15.1808 5.09847 15.0372 4.86442C14.9592 4.72752 14.9202 4.56781 14.9202 4.38528C14.9202 3.99414 15.1062 3.70731 15.4782 3.52478C15.8562 3.33573 16.3602 3.24121 16.9902 3.24121Z" fill="currentColor"/>
|
||
<path d="M9.13951 4.48205C9.13951 4.07788 9.31651 3.77475 9.67051 3.57266C10.0245 3.37057 10.4985 3.26953 11.0925 3.26953C11.5185 3.26953 11.8935 3.3282 12.2175 3.44554C12.5415 3.55636 12.8115 3.70956 13.0275 3.90512C13.2435 4.10069 13.4055 4.33211 13.5135 4.59939C13.6215 4.86666 13.6755 5.15349 13.6755 5.45988C13.6755 6.28127 13.2465 7.06353 12.3885 7.80669L10.9755 9.03876H13.2145C13.4307 9.03876 13.6295 9.16211 13.6845 9.37123C13.7265 9.5016 13.7475 9.64502 13.7475 9.80147C13.7475 10.0818 13.6905 10.2839 13.5765 10.4077C13.4625 10.5251 13.3125 10.5837 13.1265 10.5837H9.70762C9.49077 10.5837 9.26868 10.5215 9.13718 10.3491C9.08699 10.2832 9.04277 10.2115 9.00451 10.1339C8.91451 9.95141 8.86951 9.73303 8.86951 9.47879C8.86951 9.21151 8.92051 8.98661 9.02251 8.80408C9.12451 8.62155 9.23551 8.47488 9.35551 8.36406L10.8495 6.98531C11.0355 6.8093 11.1885 6.65284 11.3085 6.51595C11.4345 6.37905 11.5335 6.25845 11.6055 6.15415C11.6835 6.04333 11.7375 5.94228 11.7675 5.85102C11.8035 5.75323 11.8215 5.66197 11.8215 5.57722C11.8215 5.35558 11.7405 5.18283 11.5785 5.05897C11.4165 4.93511 11.1915 4.87318 10.9035 4.87318C10.6155 4.87318 10.3575 4.92207 10.1295 5.01986C10.0719 5.04455 10.0168 5.06945 9.96424 5.09456C9.71419 5.21392 9.39368 5.22149 9.25651 4.98074C9.17851 4.83733 9.13951 4.6711 9.13951 4.48205Z" fill="currentColor"/>
|
||
<path d="M5.01091 5.54973C4.73794 5.64118 4.43027 5.59877 4.25197 5.37275C4.14397 5.22934 4.08997 5.03377 4.08997 4.78605C4.08997 4.31669 4.35397 3.98749 4.88197 3.79844L6.08797 3.34863H6.48397C6.79597 3.34863 7.04197 3.44642 7.22197 3.64198C7.40197 3.83755 7.49197 4.10483 7.49197 4.44381V10.206C7.49197 10.4146 7.35683 10.5968 7.14997 10.6237C7.00597 10.6498 6.84697 10.6628 6.67297 10.6628C6.31297 10.6628 6.05197 10.5977 5.88997 10.4673C5.73397 10.3369 5.65597 10.0892 5.65597 9.72412V5.33364L5.01091 5.54973Z" fill="currentColor"/>
|
||
</svg>
|
||
`,colAdd:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M4 5C4 4.44772 4.44772 4 5 4H6.51856C7.07084 4 7.51856 4.44772 7.51856 5V19C7.51856 19.5523 7.07084 20 6.51856 20H5C4.44772 20 4 19.5523 4 19V5Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M10.2474 5C10.2474 4.44772 10.6952 4 11.2474 4H12.766C13.3183 4 13.766 4.44772 13.766 5V19C13.766 19.5523 13.3183 20 12.766 20H11.2474C10.6952 20 10.2474 19.5523 10.2474 19V5Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M16.4949 5C16.4949 4.44772 16.9426 4 17.4949 4H19.0134C19.5657 4 20.0134 4.44772 20.0134 5V19C20.0134 19.5523 19.5657 20 19.0134 20H17.4949C16.9426 20 16.4949 19.5523 16.4949 19V5Z" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,colDel:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<rect x="14" y="4" width="6" height="16" rx="1" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M4 12H11" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
</svg>
|
||
`,fitContain:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M4 7C4 5.34315 5.34315 4 7 4H17C18.6569 4 20 5.34315 20 7V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<rect x="7" y="8" width="10" height="8" rx="1" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,fitCover:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M4 7C4 5.34315 5.34315 4 7 4H17C18.6569 4 20 5.34315 20 7V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M20 7L4 7" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M20 17L4 17" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M10.5 12H7" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M8.5 10L6.5 12L8.5 14" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
||
<path d="M13.5 12H17" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M15.5 10L17.5 12L15.5 14" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
||
</svg>
|
||
`,fitFill:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M4 7C4 5.34315 5.34315 4 7 4H17C18.6569 4 20 5.34315 20 7V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M10.5 12H7" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M8.5 10L6.5 12L8.5 14" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
||
<path d="M13.5 12H17" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M15.5 10L17.5 12L15.5 14" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
||
</svg>
|
||
`,merge:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M16.0051 6.5L16.0021 5.00205C16.0009 4.44897 16.449 4 17.0021 4H19.0135C19.5658 4 20.0135 4.44772 20.0135 5V19C20.0135 19.5523 19.5658 20 19.0135 20H17C16.4477 20 16 19.5523 16 19V17.5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M7.99487 6.5L7.99795 5.00205C7.99908 4.44897 7.55103 4 6.99795 4H5.00006C4.44777 4 4.00006 4.44772 4.00006 5V19C4.00006 19.5523 4.44777 20 5.00006 20H7C7.55228 20 8 19.5523 8 19V17.5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M17.5 12H14" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M15.5 10L13.5 12L15.5 14" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
||
<path d="M6.5 12H10" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
|
||
<path d="M8.5 10L10.5 12L8.5 14" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
||
</svg>
|
||
`,presenterMode:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M20.35 15.25C21.08 12.05 20.38 8.58 17.95 6.28C14.86 3.35 9.58 4.02 8.05 8.08C7.68 9.06 7.76 10.2 8.08 11.28C8.25 11.86 8.02 12.4 7.56 12.78L6.92 13.32C6.54 13.64 6.7 14.25 7.18 14.39L8.28 14.7C8.05 15.2 8.37 15.79 8.92 15.9L9.72 16.05C9.5 16.64 9.92 17.27 10.55 17.32L10.92 17.35V18.76C10.92 19.86 11.82 20.76 12.92 20.76H13.42C14.72 20.76 15.78 21.82 15.78 23.12" stroke="currentColor" stroke-width="1.48" stroke-linecap="round" stroke-linejoin="round"/>
|
||
<path d="M2 7.2C0.74 10.2 0.74 13.8 2 16.8" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
|
||
<path d="M3.9 8.85C3.16 10.85 3.16 13.15 3.9 15.15" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
|
||
<path d="M4.7 10.62C4.42 11.5 4.42 12.5 4.7 13.38" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
|
||
</svg>
|
||
`,rowAdd:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
<path d="M19 3.99316C19.5523 3.99316 20 4.44088 20 4.99316L20 6.50979C20 7.06207 19.5523 7.50979 19 7.50979L5 7.50979C4.44772 7.50979 4 7.06207 4 6.50979L4 4.99316C4 4.44088 4.44772 3.99316 5 3.99316L19 3.99316Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M19 10.2363C19.5523 10.2363 20 10.684 20 11.2363L20 12.753C20 13.3052 19.5523 13.753 19 13.753L5 13.753C4.44772 13.753 4 13.3052 4 12.753L4 11.2363C4 10.684 4.44772 10.2363 5 10.2363L19 10.2363Z" stroke="currentColor" stroke-width="1.8"/>
|
||
<path d="M19 16.4814C19.5523 16.4814 20 16.9292 20 17.4814L20 18.9981C20 19.5504 19.5523 19.9981 19 19.9981L5 19.9981C4.44772 19.9981 4 19.5504 4 18.9981L4 17.4814C4 16.9292 4.44772 16.4814 5 16.4814L19 16.4814Z" stroke="currentColor" stroke-width="1.8"/>
|
||
</svg>
|
||
`,rowDel:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
|
||
<path d="M8 7H16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" />
|
||
<rect x="4.5" y="14" width="15" height="5.5" rx="1.4" stroke="currentColor" stroke-width="1.6" />
|
||
</svg>
|
||
`,split:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
|
||
<rect x="7" y="5" width="5" height="14" rx="1.1" stroke="currentColor" stroke-width="1.6" />
|
||
<rect x="12" y="5" width="5" height="14" rx="1.1" stroke="currentColor" stroke-width="1.6" />
|
||
<path d="M12 12H3" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" />
|
||
<path d="M12 12H21" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" />
|
||
<path d="M5.7 9.3L3 12L5.7 14.7" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" />
|
||
<path d="M18.3 9.3L21 12L18.3 14.7" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" />
|
||
</svg>
|
||
`,spark:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
|
||
<path d="M12 3L13.9 8.1L19 10L13.9 11.9L12 17L10.1 11.9L5 10L10.1 8.1L12 3Z" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" />
|
||
<path d="M18 15L18.8 17.2L21 18L18.8 18.8L18 21L17.2 18.8L15 18L17.2 17.2L18 15Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" />
|
||
<path d="M5.5 16V19.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" />
|
||
<path d="M3.75 17.75H7.25" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" />
|
||
</svg>
|
||
`};ue(Me);var Tr=new Set(Object.keys(Me.icons));Object.keys(wr).filter(e=>!Tr.has(e));function Er(e){if(!Tr.has(e)&&Object.prototype.hasOwnProperty.call(wr,e))return wr[e]}var Dr=[`innerHTML`],Or=je(x({inheritAttrs:!1,__name:`index`,props:{name:{},size:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean}},setup(e){let t=e,n=le(),r=c(()=>Er(t.name)),i=e=>{if(e!=null)return typeof e==`string`||typeof e==`number`?e:void 0},a=e=>{if(e!=null){if(typeof e==`number`)return`${e}px`;if(typeof e==`string`)return/^\d+(\.\d+)?$/.test(e)?`${e}px`:e}},o=e=>typeof e==`string`?e:void 0,s=c(()=>{let{name:e,size:r,...a}=t,o=i(r??n.size);return o==null?a:{...a,width:a.width??i(n.width)??o,height:a.height??i(n.height)??o}}),l=c(()=>{let{size:e,...t}=n;return{...t,...s.value}}),d=c(()=>{let{style:e,width:t,height:r,color:i,size:a,...o}=n;return o}),f=c(()=>{let e=a(t.width??n.width??t.size??n.size??t.height??n.height),r=a(t.height??n.height??t.size??n.size??t.width??n.width);return{width:e??`1em`,height:r??`1em`,color:t.color??o(n.color)}});return(e,i)=>r.value?(C(),u(`span`,ye({key:0},d.value,{class:`kimi-icon-svg`,style:[fe(n).style,f.value],innerHTML:r.value}),null,16,Dr)):(C(),b(fe(ve),ye({key:1},l.value,{icon:t.name}),null,16,[`icon`]))}}),[[`__scopeId`,`data-v-177f9c47`]]),kr=je(x({__name:`IconWithBackground`,props:{name:{},size:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean},backgroundColor:{}},setup(e){let t=e,n=e=>{if(e!=null){if(typeof e==`number`)return`${e}px`;if(typeof e==`string`)return/^\d+(\.\d+)?$/.test(e)?`${e}px`:e}},r=c(()=>n(t.width??t.size??t.height)??`20px`);return(e,n)=>(C(),u(`span`,{class:`icon-with-background`,style:f({"--icon-background":t.backgroundColor??`#fff`,"--icon-size":r.value})},[ne(Or,ye({class:`icon-svg`},t),null,16)],4))}}),[[`__scopeId`,`data-v-1b5f1a16`]]),Ar={class:`message-content`},jr=je(x({__name:`Message`,props:{type:{},content:{type:[String,Object,Number,Boolean,null,Array]},closable:{type:Boolean},placement:{}},emits:[`mouseenter`,`mouseleave`,`close`],setup(e,{emit:t}){let i=e,a=t,o=c(()=>xe(i.content));return(t,i)=>(C(),u(`div`,{class:n([`message-container`,`message-container-${e.placement}`]),onMouseenter:i[1]||(i[1]=e=>a(`mouseenter`)),onMouseleave:i[2]||(i[2]=e=>a(`mouseleave`))},[e.type===`success`?(C(),b(fe(Or),{key:0,name:`Check_f`,class:n([`message-icon`,e.type])},null,8,[`class`])):e.type===`loading`?(C(),u(`div`,{key:1,class:n([`message-icon`,e.type])},null,2)):e.type===`error`?(C(),b(fe(Or),{key:2,name:`Close_f`,class:n([`message-icon`,e.type])},null,8,[`class`])):s(``,!0),y(`div`,Ar,[o.value?(C(),b(me(e.content),{key:0})):(C(),u(r,{key:1},[l(m(e.content),1)],64))]),e.closable?(C(),u(`button`,{key:3,class:`message-close`,type:`button`,onClick:i[0]||(i[0]=e=>a(`close`))},`关闭`)):s(``,!0)],34))}}),[[`__scopeId`,`data-v-62d950aa`]]),Mr=je(x({__name:`MessageProvider`,props:{placement:{default:`top`},max:{default:10},duration:{default:3e3},closable:{type:Boolean,default:!1},keepAliveOnHover:{type:Boolean,default:!0}},setup(e){let t=e,i=v({}),a=v([]),s=o({placement:`top`,max:10,duration:3e3,closable:!1,keepAliveOnHover:!0});we(()=>t,e=>{s.value={...s.value,...e}},{deep:!0});let c=e=>{let t=i.value[e];t?.timer&&(clearTimeout(t.timer),t.timer=void 0)},l=e=>{c(e),a.value=a.value.filter(t=>t!==e),i.value[e]?.onClose?.(),i.value=Object.fromEntries(Object.entries(i.value).filter(([t])=>t!==e))},f=e=>{let t=i.value[e];!t||t.duration<=0||(t.timer=setTimeout(()=>{l(e)},t.duration))},p=e=>{i.value[e]?.keepAliveOnHover&&c(e)},m=e=>{let t=i.value[e];t?.keepAliveOnHover&&t.duration>0&&f(e)},h=(e,t,n)=>{let r=`${Date.now()}-${Math.random().toString(36).slice(2)}`,o={key:r,content:e,type:t,duration:n?.duration??s.value.duration,closable:n?.closable??s.value.closable,keepAliveOnHover:n?.keepAliveOnHover??s.value.keepAliveOnHover,onClose:n?.onClose};if(s.value.max&&a.value.length>=s.value.max){let e=a.value.shift();i.value=Object.fromEntries(Object.entries(i.value).filter(([t])=>t!==e))}return a.value.push(r),i.value[r]=o,!n?.noAutoClose&&o.type!==`loading`&&f(r),o};return g()?.root.appContext.app.provide(`messageApi`,{create:(e,t)=>h(e,`default`,t),info:(e,t)=>h(e,`info`,t),success:(e,t)=>h(e,`success`,t),warning:(e,t)=>h(e,`warning`,t),error:(e,t)=>h(e,`error`,t),loading:(e,t)=>h(e,`loading`,t),close:e=>{l(e.key)},destroyAll:()=>{for(let e of a.value)c(e),i.value[e]?.onClose?.();a.value=[],i.value={}}}),(t,a)=>(C(),u(r,null,[oe(t.$slots,`default`,{},void 0,!0),(C(),b(ee,{to:`body`},[y(`div`,{class:n([`message-list-container`,[e.placement]])},[ne(d,{name:`message-fade`,appear:``,class:`message-list`,tag:`div`},{default:ae(()=>[(C(!0),u(r,null,Ce(i.value,t=>(C(),b(jr,{key:t.key,type:t.type,content:t.content,closable:t.closable,placement:e.placement,onMouseenter:e=>p(t.key),onMouseleave:e=>m(t.key),onClose:e=>l(t.key)},null,8,[`type`,`content`,`closable`,`placement`,`onMouseenter`,`onMouseleave`,`onClose`]))),128))]),_:1})],2)]))],64))}}),[[`__scopeId`,`data-v-13db0a2e`]]),Nr=x({__name:`App`,setup(e){let t=_r(),n=de(),r=()=>{hr(n.meta.theme??t.themeSetting.value)};return we(()=>[n.meta.theme,t.themeSetting.value,t.currentTheme.value],r,{immediate:!0}),ge(r),br(),qn(),(e,t)=>{let n=ce(`router-view`);return C(),b(Mr,null,{default:ae(()=>[ne(sr),ne(n)]),_:1})}}}),Pr={class:`menu-content`},Fr=[`data-menu-id`,`onClick`],Ir={class:`text`},Lr={key:0,class:`sub-text`},Rr=je(x({__name:`MenuContent`,props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,i)=>{let a=ce(`menu-content`,!0);return C(),u(`ul`,Pr,[(C(!0),u(r,null,Ce(e.menus,(t,i)=>(C(),u(r,{key:t.text||i},[t.hide?s(``,!0):(C(),u(`li`,{key:0,"data-menu-id":t.id,"data-testid":`context-menu-item`,class:n([`menu-item`,{divider:t.divider,disable:t.disable}]),onClick:Ee(n=>e.handleClickMenuItem(t),[`stop`])},[t.divider?s(``,!0):(C(),u(`div`,{key:0,class:n([`menu-item-content`,{"has-children":t.children,"has-handler":t.handler}])},[y(`span`,Ir,m(t.text),1),t.subText&&!t.children?(C(),u(`span`,Lr,m(t.subText),1)):s(``,!0),t.children&&t.children.length?(C(),b(a,{key:1,class:`sub-menu`,menus:t.children,handleClickMenuItem:e.handleClickMenuItem},null,8,[`menus`,`handleClickMenuItem`])):s(``,!0)],2))],10,Fr))],64))),128))])}}}),[[`__scopeId`,`data-v-dab6a2ce`]]),zr=je(x({__name:`index`,props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){let t=e,n=c(()=>{let{x:e,y:n}=t.axis,r=t.menus.filter(e=>!(e.divider||e.hide)).length,i=t.menus.filter(e=>e.divider).length,a=r*40+i*11+10,o=document.body.clientWidth,s=document.body.clientHeight,c=s<=n+a;return{left:o<=e+180?e-180:e,top:s<=n+a?n-a:n,...c&&{transform:`translateY(-100%)`}}}),i=e=>{e.disable||e.children&&!e.handler||(e.handler&&e.handler(t.el),t.removeContextmenu())};return(t,a)=>(C(),u(r,null,[y(`div`,{class:`mask`,onContextmenu:a[0]||(a[0]=Ee(t=>e.removeContextmenu(),[`prevent`])),onMousedown:a[1]||(a[1]=Ee(t=>e.removeContextmenu(),[`left`]))},null,32),y(`div`,{class:`contextmenu`,style:f({left:n.value.left+`px`,top:n.value.top+`px`}),onContextmenu:a[2]||(a[2]=Ee(()=>{},[`prevent`]))},[ne(Rr,{menus:e.menus,handleClickMenuItem:i},null,8,[`menus`])],36)],64))}}),[[`__scopeId`,`data-v-1967551f`]]),Br=`CTX_CONTEXTMENU_HANDLER`,Vr=(e,t,n)=>{t.stopPropagation(),t.preventDefault();let r=n.value(e);if(!r||!r.length)return;let i=null,a=()=>{i&&(document.body.removeChild(i),i=null),e.classList.remove(`contextmenu-active`),document.body.removeEventListener(`scroll`,a),window.removeEventListener(`resize`,a)},o={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:a};i=document.createElement(`div`),h(ne(zr,o,null),i),document.body.appendChild(i),e.classList.add(`contextmenu-active`),document.body.addEventListener(`scroll`,a),window.addEventListener(`resize`,a)},Hr={mounted(e,t){e[Br]=n=>Vr(e,n,t),e.addEventListener(`contextmenu`,e[Br])},unmounted(e){e&&e[Br]&&(e.removeEventListener(`contextmenu`,e[Br]),delete e[Br])}},Ur=3,Wr={writeUnknownFields:!0};function Gr(e){return e?Object.assign(Object.assign({},Wr),e):Wr}function Kr(e,t,n){return qr(new ze,Gr(n),et(e,t)).finish()}function qr(e,t,n){for(let r of n.sortedFields){if(!n.isSet(r)){if(r.presence==Ur)throw Error(`cannot encode ${r} to binary: required field not set`);continue}Jr(e,t,n,r)}if(t.writeUnknownFields)for(let{no:t,wireType:r,data:i}of n.getUnknown()??[])e.tag(t,r).raw(i);return e}function Jr(e,t,n,r){switch(r.fieldKind){case`scalar`:case`enum`:Yr(e,n.desc.typeName,r.name,r.scalar??O.INT32,r.number,n.get(r));break;case`list`:Zr(e,t,r,n.get(r));break;case`message`:Xr(e,t,r,n.get(r));break;case`map`:for(let[i,a]of n.get(r))Qr(e,t,r,i,a);break}}function Yr(e,t,n,r,i,a){$r(e.tag(i,ei(r)),t,n,r,a)}function Xr(e,t,n,r){n.delimitedEncoding?qr(e.tag(n.number,D.StartGroup),t,r).tag(n.number,D.EndGroup):qr(e.tag(n.number,D.LengthDelimited).fork(),t,r).join()}function Zr(e,t,n,r){if(n.listKind==`message`){for(let i of r)Xr(e,t,n,i);return}let i=n.scalar??O.INT32;if(n.packed){if(!r.size)return;e.tag(n.number,D.LengthDelimited).fork();for(let t of r)$r(e,n.parent.typeName,n.name,i,t);e.join();return}for(let t of r)Yr(e,n.parent.typeName,n.name,i,n.number,t)}function Qr(e,t,n,r,i){switch(e.tag(n.number,D.LengthDelimited).fork(),Yr(e,n.parent.typeName,n.name,n.mapKey,1,r),n.mapKind){case`scalar`:case`enum`:Yr(e,n.parent.typeName,n.name,n.scalar??O.INT32,2,i);break;case`message`:qr(e.tag(2,D.LengthDelimited).fork(),t,i).join();break}e.join()}function $r(e,t,n,r,i){try{switch(r){case O.STRING:e.string(i);break;case O.BOOL:e.bool(i);break;case O.DOUBLE:e.double(i);break;case O.FLOAT:e.float(i);break;case O.INT32:e.int32(i);break;case O.INT64:e.int64(i);break;case O.UINT64:e.uint64(i);break;case O.FIXED64:e.fixed64(i);break;case O.BYTES:e.bytes(i);break;case O.FIXED32:e.fixed32(i);break;case O.SFIXED32:e.sfixed32(i);break;case O.SFIXED64:e.sfixed64(i);break;case O.SINT64:e.sint64(i);break;case O.UINT32:e.uint32(i);break;case O.SINT32:e.sint32(i);break}}catch(e){throw e instanceof Error?Error(`cannot encode field ${t}.${n} to binary: ${e.message}`):e}}function ei(e){switch(e){case O.BYTES:case O.STRING:return D.LengthDelimited;case O.DOUBLE:case O.FIXED64:case O.SFIXED64:return D.Bit64;case O.FIXED32:case O.SFIXED32:case O.FLOAT:return D.Bit32;default:return D.Varint}}function ti(e,t,n){let r=!1;return n||(n=qe(Xe),r=!0),n.value=Kr(e,t),n.typeUrl=ii(t.$typeName),r?n:void 0}function ni(e,t){return e.typeUrl===``?!1:(typeof t==`string`?t:t.typeName)===ai(e.typeUrl)}function ri(e,t){if(e.typeUrl===``)return;let n=t.kind==`message`?t:t.getMessage(ai(e.typeUrl));if(!(!n||!ni(e,n)))return Ye(n,e.value)}function ii(e){return`type.googleapis.com/${e}`}function ai(e){let t=e.lastIndexOf(`/`),n=t>=0?e.substring(t+1):e;if(!n.length)throw Error(`invalid type url: ${e}`);return n}function oi(e,t){ui(t,e);let n=ci(e.$unknown,t),[r,i,a]=li(t);for(let e of n)Ge(r,new $e(e.data),i,e.wireType,{readUnknownFields:!0});return a()}function si(e,t,n){ui(t,e);let r=(e.$unknown??[]).filter(e=>e.no!==t.number),[i,a]=li(t,n),o=new ze;Jr(o,{writeUnknownFields:!0},i,a);let s=new $e(o.finish());for(;s.pos<s.len;){let[e,t]=s.tag(),n=s.skip(t,e);r.push({no:e,wireType:t,data:n})}e.$unknown=r}function ci(e,t){if(e===void 0)return[];if(t.fieldKind===`enum`||t.fieldKind===`scalar`){for(let n=e.length-1;n>=0;--n)if(e[n].no==t.number)return[e[n]];return[]}return e.filter(e=>e.no===t.number)}function li(e,t){let n=e.typeName,r=Object.assign(Object.assign({},e),{kind:`field`,parent:e.extendee,localName:n}),i=Object.assign(Object.assign({},e.extendee),{fields:[r],members:[r],oneofs:[]}),a=qe(i,t===void 0?void 0:{[n]:t});return[et(i,a),r,()=>{let t=a[n];if(t===void 0){let t=e.message;return Ke(t)?Fe(t.fields[0].scalar,t.fields[0].longAsString):qe(t)}return t}]}function ui(e,t){if(e.extendee.typeName!=t.$typeName)throw Error(`extension ${e.typeName} can only be applied to message ${e.extendee.typeName}`)}var di=3,fi=2,pi={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1};function mi(e){return e?Object.assign(Object.assign({},pi),e):pi}function hi(e,t,n){return _i(et(e,t),mi(n))}function gi(e,t,n){let r=hi(e,t,n);return JSON.stringify(r,null,n?.prettySpaces??0)}function _i(e,t){let n=wi(e,t);if(n!==void 0)return n;let r={};for(let n of e.sortedFields){if(!e.isSet(n)){if(n.presence==di)throw Error(`cannot encode ${n} to JSON: required field not set`);if(!t.alwaysEmitImplicit||n.presence!==fi)continue}let i=vi(n,e.get(n),t);i!==void 0&&(r[Ci(n,t)]=i)}if(t.registry){let n=new Set;for(let{no:i}of e.getUnknown()??[])if(!n.has(i)){n.add(i);let a=t.registry.getExtensionFor(e.desc,i);if(!a)continue;let[o,s]=li(a,oi(e.message,a)),c=vi(s,o.get(s),t);c!==void 0&&(r[a.jsonName]=c)}}return r}function vi(e,t,n){switch(e.fieldKind){case`scalar`:return Si(e,t);case`message`:return _i(t,n);case`enum`:return xi(e.enum,t,n.enumAsInteger);case`list`:return bi(t,n);case`map`:return yi(t,n)}}function yi(e,t){let n=e.field(),r={};switch(n.mapKind){case`scalar`:for(let[t,i]of e)r[t]=Si(n,i);break;case`message`:for(let[n,i]of e)r[n]=_i(i,t);break;case`enum`:for(let[i,a]of e)r[i]=xi(n.enum,a,t.enumAsInteger);break}return t.alwaysEmitImplicit||e.size>0?r:void 0}function bi(e,t){let n=e.field(),r=[];switch(n.listKind){case`scalar`:for(let t of e)r.push(Si(n,t));break;case`enum`:for(let i of e)r.push(xi(n.enum,i,t.enumAsInteger));break;case`message`:for(let n of e)r.push(_i(n,t));break}return t.alwaysEmitImplicit||r.length>0?r:void 0}function xi(e,t,n){if(typeof t!=`number`)throw Error(`cannot encode ${e} to JSON: expected number, got ${E(t)}`);return e.typeName==`google.protobuf.NullValue`?null:n?t:e.value[t]?.name??t}function Si(e,t){switch(e.scalar){case O.INT32:case O.SFIXED32:case O.SINT32:case O.FIXED32:case O.UINT32:if(typeof t!=`number`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return t;case O.FLOAT:case O.DOUBLE:if(typeof t!=`number`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return Number.isNaN(t)?`NaN`:t===1/0?`Infinity`:t===-1/0?`-Infinity`:t;case O.STRING:if(typeof t!=`string`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return t;case O.BOOL:if(typeof t!=`boolean`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return t;case O.UINT64:case O.FIXED64:case O.INT64:case O.SFIXED64:case O.SINT64:if(typeof t==`bigint`||typeof t==`string`||typeof t==`number`&&Number.isInteger(t))return t.toString();throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);case O.BYTES:if(t instanceof Uint8Array)return Ve(t);throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`)}}function Ci(e,t){return t.useProtoFieldName?e.name:e.jsonName}function wi(e,t){if(e.desc.typeName.startsWith(`google.protobuf.`))switch(e.desc.typeName){case`google.protobuf.Any`:return Ti(e.message,t);case`google.protobuf.Timestamp`:return ji(e.message);case`google.protobuf.Duration`:return Ei(e.message);case`google.protobuf.FieldMask`:return Di(e.message);case`google.protobuf.Struct`:return Oi(e.message);case`google.protobuf.Value`:return ki(e.message);case`google.protobuf.ListValue`:return Ai(e.message);default:if(Ke(e.desc)){let t=e.desc.fields[0];return Si(t,e.get(t))}return}}function Ti(e,t){if(e.typeUrl===``)return{};let{registry:n}=t,r,i;if(n&&(r=ri(e,n),r&&(i=n.getMessage(r.$typeName))),!i||!r)throw Error(`cannot encode message ${e.$typeName} to JSON: "${e.typeUrl}" is not in the type registry`);let a=et(i,r),o=Ne(i)?{value:wi(a,t)}:_i(a,t);return o[`@type`]=e.typeUrl,o}function Ei(e){let t=Number(e.seconds),n=e.nanos;if(t>315576e6||t<-315576e6)throw Error(`cannot encode message ${e.$typeName} to JSON: value out of range`);if(t>0&&n<0||t<0&&n>0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos sign must match seconds sign`);let r=e.seconds.toString();if(n!==0){let e=Math.abs(n).toString();e=`0`.repeat(9-e.length)+e,e.substring(3)===`000000`?e=e.substring(0,3):e.substring(6)===`000`&&(e=e.substring(0,6)),r+=`.`+e,n<0&&t==0&&(r=`-`+r)}return r+`s`}function Di(e){return e.paths.map(t=>{if(Qe(Be(t))!==t)throw Error(`cannot encode message ${e.$typeName} to JSON: lowerCamelCase of path name "${t}" is irreversible`);return Be(t)}).join(`,`)}function Oi(e){let t={};for(let[n,r]of Object.entries(e.fields))t[n]=ki(r);return t}function ki(e){switch(e.kind.case){case`nullValue`:return null;case`numberValue`:if(!Number.isFinite(e.kind.value))throw Error(`${e.$typeName} cannot be NaN or Infinity`);return e.kind.value;case`boolValue`:return e.kind.value;case`stringValue`:return e.kind.value;case`structValue`:return Oi(e.kind.value);case`listValue`:return Ai(e.kind.value);default:throw Error(`${e.$typeName} must have a value`)}}function Ai(e){return e.values.map(ki)}function ji(e){let t=Number(e.seconds)*1e3;if(t<Date.parse(`0001-01-01T00:00:00Z`)||t>Date.parse(`9999-12-31T23:59:59Z`))throw Error(`cannot encode message ${e.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);if(e.nanos<0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be negative`);if(e.nanos>999999999)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be greater than 99999999`);let n=`Z`;if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);n=t.substring(3)===`000000`?`.`+t.substring(0,3)+`Z`:t.substring(6)===`000`?`.`+t.substring(0,6)+`Z`:`.`+t+`Z`}return new Date(t).toISOString().replace(`.000Z`,n)}var Mi={ignoreUnknownFields:!1};function Ni(e){return e?Object.assign(Object.assign({},Mi),e):Mi}function Pi(e,t,n){return Fi(e,Qi(t,e.typeName),n)}function Fi(e,t,n){let r=et(e);try{Ri(r,t,Ni(n))}catch(e){throw Le(e)?Error(`cannot decode ${e.field()} from JSON: ${e.message}`,{cause:e}):e}return r.message}var Ii=new WeakMap;function Li(e,t){if(!Ii.has(e)){let t=new Map;for(let n of e.fields)t.set(n.name,n).set(n.jsonName,n);Ii.set(e,t)}return Ii.get(e)?.get(t)}function Ri(e,t,n){if($i(e,t,n))return;if(t==null||Array.isArray(t)||typeof t!=`object`)throw Error(`cannot decode ${e.desc} from JSON: ${E(t)}`);let r=new Map;for(let[i,a]of Object.entries(t)){let t=Li(e.desc,i);if(t){if(t.oneof){if(a===null&&t.fieldKind==`scalar`)continue;let e=r.get(t.oneof);if(e!==void 0)throw new Pe(t.oneof,`oneof set multiple times by ${e.name} and ${t.name}`);r.set(t.oneof,t)}zi(e,t,a,n)}else{let t;if(i.startsWith(`[`)&&i.endsWith(`]`)&&(t=n.registry?.getExtension(i.substring(1,i.length-1)))&&t.extendee.typeName===e.desc.typeName){let[r,i,o]=li(t);zi(r,i,a,n),si(e.message,t,o())}if(!t&&!n.ignoreUnknownFields)throw Error(`cannot decode ${e.desc} from JSON: key "${i}" is unknown`)}}}function zi(e,t,n,r){switch(t.fieldKind){case`scalar`:Gi(e,t,n);break;case`enum`:Wi(e,t,n,r);break;case`message`:Ui(e,t,n,r);break;case`list`:Hi(e.get(t),n,r);break;case`map`:Vi(e.get(t),n,r);break}}function Bi(e,t,n){if(e.scalar&&t!==null)return Yi(e,t);if(e.message&&!Ki(e,t)){let r=et(e.message);return Ri(r,t,n),r}if(e.enum&&!Ki(e,t))return Ji(e.enum,t,n.ignoreUnknownFields);throw new Pe(e,`${e.fieldKind===`list`?`list item`:`map value`} must not be null`)}function Vi(e,t,n){if(t===null)return;let r=e.field();if(typeof t!=`object`||Array.isArray(t))throw new Pe(r,`expected object, got `+E(t));for(let[i,a]of Object.entries(t)){let t=Xi(r.mapKey,i),o=Bi(r,a,n);o!==qi&&e.set(t,o)}}function Hi(e,t,n){if(t===null)return;let r=e.field();if(!Array.isArray(t))throw new Pe(r,`expected Array, got `+E(t));for(let i of t){let t=Bi(r,i,n);t!==qi&&e.add(t)}}function Ui(e,t,n,r){if(Ki(t,n)){e.clear(t);return}let i=e.isSet(t)?e.get(t):et(t.message);Ri(i,n,r),e.set(t,i)}function Wi(e,t,n,r){if(Ki(t,n)){e.clear(t);return}let i=Ji(t.enum,n,r.ignoreUnknownFields);i!==qi&&e.set(t,i)}function Gi(e,t,n){n===null?e.clear(t):e.set(t,Yi(t,n))}function Ki(e,t){return t===null&&e.message?.typeName!=`google.protobuf.Value`&&e.enum?.typeName!=`google.protobuf.NullValue`}var qi=Symbol();function Ji(e,t,n){if(t===null)return e.values[0].number;switch(typeof t){case`number`:if(Number.isInteger(t))return t;break;case`string`:let r=e.values.find(e=>e.name===t);if(r!==void 0)return r.number;if(n)return qi;break}throw Error(`cannot decode ${e} from JSON: ${E(t)}`)}function Yi(e,t){switch(e.scalar){case O.DOUBLE:case O.FLOAT:if(t===`NaN`)return NaN;if(t===`Infinity`)return 1/0;if(t===`-Infinity`)return-1/0;if(typeof t==`number`){if(Number.isNaN(t))throw new Pe(e,`unexpected NaN number`);if(!Number.isFinite(t))throw new Pe(e,`unexpected infinite number`);break}if(typeof t==`string`){if(t===``||t.trim().length!==t.length)break;let e=Number(t);if(!Number.isFinite(e))break;return e}break;case O.INT32:case O.FIXED32:case O.SFIXED32:case O.SINT32:case O.UINT32:return Zi(t);case O.BYTES:if(typeof t==`string`){if(t===``)return new Uint8Array;try{return tt(t)}catch(t){throw new Pe(e,t instanceof Error?t.message:String(t))}}break}return t}function Xi(e,t){switch(e){case O.BOOL:switch(t){case`true`:return!0;case`false`:return!1}return t;case O.INT32:case O.FIXED32:case O.UINT32:case O.SFIXED32:case O.SINT32:return Zi(t);default:return t}}function Zi(e){if(typeof e==`string`){if(e===``||e.trim().length!==e.length)return e;let t=Number(e);return Number.isNaN(t)?e:t}return e}function Qi(e,t){try{return JSON.parse(e)}catch(e){let n=e instanceof Error?e.message:String(e);throw Error(`cannot decode message ${t} from JSON: ${n}`,{cause:e})}}function $i(e,t,n){if(!e.desc.typeName.startsWith(`google.protobuf.`))return!1;switch(e.desc.typeName){case`google.protobuf.Any`:return ea(e.message,t,n),!0;case`google.protobuf.Timestamp`:return ta(e.message,t),!0;case`google.protobuf.Duration`:return na(e.message,t),!0;case`google.protobuf.FieldMask`:return ra(e.message,t),!0;case`google.protobuf.Struct`:return ia(e.message,t),!0;case`google.protobuf.Value`:return aa(e.message,t),!0;case`google.protobuf.ListValue`:return oa(e.message,t),!0;default:if(Ke(e.desc)){let n=e.desc.fields[0];return t===null?e.clear(n):e.set(n,Yi(n,t)),!0}return!1}}function ea(e,t,n){if(t===null||Array.isArray(t)||typeof t!=`object`)throw Error(`cannot decode message ${e.$typeName} from JSON: expected object but got ${E(t)}`);if(Object.keys(t).length==0)return;let r=t[`@type`];if(typeof r!=`string`||r==``)throw Error(`cannot decode message ${e.$typeName} from JSON: "@type" is empty`);let i=r.includes(`/`)?r.substring(r.lastIndexOf(`/`)+1):r;if(!i.length)throw Error(`cannot decode message ${e.$typeName} from JSON: "@type" is invalid`);let a=n.registry?.getMessage(i);if(!a)throw Error(`cannot decode message ${e.$typeName} from JSON: ${r} is not in the type registry`);let o=et(a);if(Ne(a)&&Object.prototype.hasOwnProperty.call(t,`value`)){let e=t.value;Ri(o,e,n)}else{let e=Object.assign({},t);delete e[`@type`],Ri(o,e,n)}ti(o.desc,o.message,e)}function ta(e,t){if(typeof t!=`string`)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);let n=t.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.([0-9]{1,9}))?(?:Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!n)throw Error(`cannot decode message ${e.$typeName} from JSON: invalid RFC 3339 string`);let r=Date.parse(n[1]+`-`+n[2]+`-`+n[3]+`T`+n[4]+`:`+n[5]+`:`+n[6]+(n[8]?n[8]:`Z`));if(Number.isNaN(r))throw Error(`cannot decode message ${e.$typeName} from JSON: invalid RFC 3339 string`);if(r<Date.parse(`0001-01-01T00:00:00Z`)||r>Date.parse(`9999-12-31T23:59:59Z`))throw Error(`cannot decode message ${e.$typeName} from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);e.seconds=Ie.parse(r/1e3),e.nanos=0,n[7]&&(e.nanos=parseInt(`1`+n[7]+`0`.repeat(9-n[7].length))-1e9)}function na(e,t){if(typeof t!=`string`)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);let n=t.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/);if(n===null)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);let r=Number(n[1]);if(r>315576e6||r<-315576e6)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);if(e.seconds=Ie.parse(r),typeof n[2]!=`string`)return;let i=n[2]+`0`.repeat(9-n[2].length);e.nanos=parseInt(i),(r<0||Object.is(r,-0))&&(e.nanos=-e.nanos)}function ra(e,t){if(typeof t!=`string`)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);t!==``&&(e.paths=t.split(`,`).map(t=>{if(t.includes(`_`))throw Error(`cannot decode message ${e.$typeName} from JSON: path names must be lowerCamelCase`);return Qe(t)}))}function ia(e,t){if(typeof t!=`object`||!t||Array.isArray(t))throw Error(`cannot decode message ${e.$typeName} from JSON ${E(t)}`);for(let[n,r]of Object.entries(t)){let t=qe(Ue);aa(t,r),e.fields[n]=t}}function aa(e,t){switch(typeof t){case`number`:e.kind={case:`numberValue`,value:t};break;case`string`:e.kind={case:`stringValue`,value:t};break;case`boolean`:e.kind={case:`boolValue`,value:t};break;case`object`:if(t===null)e.kind={case:`nullValue`,value:Ze.NULL_VALUE};else if(Array.isArray(t)){let n=qe(Je);oa(n,t),e.kind={case:`listValue`,value:n}}else{let n=qe(He);ia(n,t),e.kind={case:`structValue`,value:n}}break;default:throw Error(`cannot decode message ${e.$typeName} from JSON ${E(t)}`)}return e}function oa(e,t){if(!Array.isArray(t))throw Error(`cannot decode message ${e.$typeName} from JSON ${E(t)}`);for(let n of t){let t=qe(Ue);aa(t,n),e.values.push(t)}}var I;(function(e){e[e.Canceled=1]=`Canceled`,e[e.Unknown=2]=`Unknown`,e[e.InvalidArgument=3]=`InvalidArgument`,e[e.DeadlineExceeded=4]=`DeadlineExceeded`,e[e.NotFound=5]=`NotFound`,e[e.AlreadyExists=6]=`AlreadyExists`,e[e.PermissionDenied=7]=`PermissionDenied`,e[e.ResourceExhausted=8]=`ResourceExhausted`,e[e.FailedPrecondition=9]=`FailedPrecondition`,e[e.Aborted=10]=`Aborted`,e[e.OutOfRange=11]=`OutOfRange`,e[e.Unimplemented=12]=`Unimplemented`,e[e.Internal=13]=`Internal`,e[e.Unavailable=14]=`Unavailable`,e[e.DataLoss=15]=`DataLoss`,e[e.Unauthenticated=16]=`Unauthenticated`})(I||(I={}));function sa(e){let t=I[e];return typeof t==`string`?t[0].toLowerCase()+t.substring(1).replace(/[A-Z]/g,e=>`_`+e.toLowerCase()):e.toString()}var ca;function la(e){if(!ca){ca={};for(let e of Object.values(I))typeof e!=`string`&&(ca[sa(e)]=e)}return ca[e]}var L=class e extends Error{constructor(e,t=I.Unknown,n,r,i){super(ua(e,t)),this.name=`ConnectError`,Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=e,this.code=t,this.metadata=new Headers(n??{}),this.details=r??[],this.cause=i}static from(t,n=I.Unknown){return t instanceof e?t:t instanceof Error?t.name==`AbortError`||t.name==`TimeoutError`?new e(t.message,I.Canceled):new e(t.message,n,void 0,void 0,t):new e(String(t),n,void 0,void 0,t)}static[Symbol.hasInstance](t){return t instanceof Error?Object.getPrototypeOf(t)===e.prototype?!0:t.name===`ConnectError`&&`code`in t&&typeof t.code==`number`&&`metadata`in t&&`details`in t&&Array.isArray(t.details)&&`rawMessage`in t&&typeof t.rawMessage==`string`&&`cause`in t:!1}findDetails(e){let t=e.kind===`message`?{getMessage:t=>t===e.typeName?e:void 0}:e,n=[];for(let e of this.details){if(`desc`in e){t.getMessage(e.desc.typeName)&&n.push(qe(e.desc,e.value));continue}let r=t.getMessage(e.type);if(r)try{n.push(Ye(r,e.value))}catch{}}return n}};function ua(e,t){return e.length?`[${sa(t)}] ${e}`:`[${sa(t)}]`}function da(...e){let t=new Headers;for(let n of e)n.forEach((e,n)=>{t.append(n,e)});return t}function fa(e,t){let n={};for(let r of e.methods){let e=t(r);e!=null&&(n[r.localName]=e)}return n}function pa(e,t,n=!1){if(t>e){let r=`message size is larger than configured readMaxBytes ${e}`;throw n&&(r=`message size ${t} is larger than configured readMaxBytes ${e}`),new L(r,I.ResourceExhausted)}}function ma(e){return new ha(e)}var ha=class{constructor(e){this.readMaxBytes=e,this.header=new Uint8Array(5),this.headerView=new DataView(this.header.buffer),this.buf=[]}get byteLength(){return this.buf.reduce((e,t)=>e+t.byteLength,0)}decode(e){this.buf.push(e);let t=[];for(;;){let e=this.pop();if(!e)break;t.push(e)}return t}pop(){if(!(!this.env&&(this.env=this.head(),!this.env))&&this.cons(this.env.data)){let e=this.env;return this.env=void 0,e}}head(){if(!this.cons(this.header))return;let e=this.headerView.getUint8(0),t=this.headerView.getUint32(1);return pa(this.readMaxBytes,t,!0),{flags:e,data:new Uint8Array(t)}}cons(e){let t=e.byteLength;if(this.byteLength<t)return!1;let n=0;for(;n<t;){let r=this.buf.shift();r.byteLength>t-n?(e.set(r.subarray(0,t-n),n),this.buf.unshift(r.subarray(t-n)),n+=t-n):(e.set(r,n),n+=r.byteLength)}return!0}};function ga(e){let t,n=ma(4294967295);return new ReadableStream({start(){t=e.getReader()},async pull(e){let r=!1;for(;!r;){let i=await t.read();if(i.done)n.byteLength>0&&e.error(new L(`protocol error: incomplete envelope`,I.InvalidArgument)),e.close();else for(let t of n.decode(i.value))e.enqueue(t),r=!0}}})}function _a(e,t){let n=new Uint8Array(t.length+5);n.set(t,5);let r=new DataView(n.buffer,n.byteOffset,n.byteLength);return r.setUint8(0,e),r.setUint32(1,t.length),n}var va=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},ya=function(e){return this instanceof ya?(this.v=e,this):new ya(e)},ba=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof ya?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}},xa=function(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:ya(e[r](t)),done:!1}:i?i(t):t}:i}};function Sa(e){return ba(this,arguments,function*(){yield ya(yield*xa(va(e)))})}var Ca=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},wa=function(e){return this instanceof wa?(this.v=e,this):new wa(e)},Ta=function(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:wa(e[r](t)),done:!1}:i?i(t):t}:i}},Ea=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof wa?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};function Da(e,t){return fa(e,e=>{switch(e.methodKind){case`unary`:return Oa(t,e);case`server_streaming`:return ka(t,e);case`client_streaming`:return Aa(t,e);case`bidi_streaming`:return ja(t,e);default:return null}})}function Oa(e,t){return async(n,r)=>{var i,a;let o=await e.unary(t,r?.signal,r?.timeoutMs,r?.headers,n,r?.contextValues);return(i=r?.onHeader)==null||i.call(r,o.header),(a=r?.onTrailer)==null||a.call(r,o.trailer),o.message}}function ka(e,t){return(n,r)=>Ma(e.stream(t,r?.signal,r?.timeoutMs,r?.headers,Sa([n]),r?.contextValues),r)}function Aa(e,t){return async(n,r)=>{var i,a,o,s,c,l;let u=await e.stream(t,r?.signal,r?.timeoutMs,r?.headers,n,r?.contextValues);(c=r?.onHeader)==null||c.call(r,u.header);let d,f=0;try{for(var p=!0,m=Ca(u.message),h;h=await m.next(),i=h.done,!i;p=!0)s=h.value,p=!1,d=s,f++}catch(e){a={error:e}}finally{try{!p&&!i&&(o=m.return)&&await o.call(m)}finally{if(a)throw a.error}}if(!d)throw new L(`protocol error: missing response message`,I.Unimplemented);if(f>1)throw new L(`protocol error: received extra messages for client streaming method`,I.Unimplemented);return(l=r?.onTrailer)==null||l.call(r,u.trailer),d}}function ja(e,t){return(n,r)=>Ma(e.stream(t,r?.signal,r?.timeoutMs,r?.headers,n,r?.contextValues),r)}function Ma(e,t){let n=(function(){return Ea(this,arguments,function*(){var n,r;let i=yield wa(e);(n=t?.onHeader)==null||n.call(t,i.header),yield wa(yield*Ta(Ca(i.message))),(r=t?.onTrailer)==null||r.call(t,i.trailer)})})()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>n.next()})}}function Na(...e){let t=new AbortController,n=e.filter(e=>e!==void 0).concat(t.signal);for(let e of n){if(e.aborted){r.apply(e);break}e.addEventListener(`abort`,r)}function r(){t.signal.aborted||t.abort(Fa(this));for(let e of n)e.removeEventListener(`abort`,r)}return t}function Pa(e){let t=new AbortController,n=()=>{t.abort(new L(`the operation timed out`,I.DeadlineExceeded))},r;return e!==void 0&&(e<=0?n():r=setTimeout(n,e)),{signal:t.signal,cleanup:()=>clearTimeout(r)}}function Fa(e){if(!e.aborted)return;if(e.reason!==void 0)return e.reason;let t=Error(`This operation was aborted`);return t.name=`AbortError`,t}function Ia(){return{get(e){return e.id in this?this[e.id]:e.defaultValue},set(e,t){return this[e.id]=t,this},delete(e){return delete this[e.id],this}}}function La(e,t){return e.toString().replace(/\/?$/,`/${t.parent.typeName}/${t.name}`)}function Ra(e,t){return qe(e,t)}function za(e,t){function n(t){return t.done===!0?t:{done:t.done,value:Ra(e,t.value)}}return{[Symbol.asyncIterator](){let e=t[Symbol.asyncIterator](),r={next:()=>e.next().then(n)};return e.throw!==void 0&&(r.throw=t=>e.throw(t).then(n)),e.return!==void 0&&(r.return=t=>e.return(t).then(n)),r}}}function Ba(e,t){if(!t)return e;for(let n of t.concat().reverse())e=n(e);return e}function Va(e){let t=Object.assign({},e);return t.ignoreUnknownFields??(t.ignoreUnknownFields=!0),t}function Ha(e,t,n,r){let i=t?Ua(e.input,r):Wa(e.input,n);return{parse:(t?Ua(e.output,r):Wa(e.output,n)).parse,serialize:i.serialize}}function Ua(e,t){return{parse(n){try{return Ye(e,n,t)}catch(e){throw new L(`parse binary: ${e instanceof Error?e.message:String(e)}`,I.Internal)}},serialize(n){try{return Kr(e,n,t)}catch(e){throw new L(`serialize binary: ${e instanceof Error?e.message:String(e)}`,I.Internal)}}}}function Wa(e,t){let n=t?.textEncoder??new TextEncoder,r=t?.textDecoder??new TextDecoder,i=Va(t);return{parse(t){try{return Pi(e,r.decode(t),i)}catch(e){throw L.from(e,I.InvalidArgument)}},serialize(t){try{let r=gi(e,t,i);return n.encode(r)}catch(e){throw L.from(e,I.Internal)}}}}var Ga=/^application\/(connect\+)?(?:(json)(?:; ?charset=utf-?8)?|(proto))$/i,Ka=`application/proto`,qa=`application/json`,Ja=`application/connect+proto`,Ya=`application/connect+json`;function Xa(e){let t=e?.match(Ga);if(t)return{stream:!!t[1],binary:!!t[3]}}function Za(e,t,n){if(t&&new Headers(t).forEach((e,t)=>n.metadata.append(t,e)),typeof e!=`object`||!e||Array.isArray(e))throw n;let r=n.code;`code`in e&&typeof e.code==`string`&&(r=la(e.code)??r);let i=e.message;if(i!=null&&typeof i!=`string`)throw n;let a=new L(i??``,r,t);if(`details`in e&&Array.isArray(e.details))for(let t of e.details){if(typeof t!=`object`||!t||Array.isArray(t)||typeof t.type!=`string`||typeof t.value!=`string`)throw n;try{a.details.push({type:t.type,value:tt(t.value),debug:t.debug})}catch{throw n}}return a}function Qa(e){let t=new L(`invalid end stream`,I.Unknown),n;try{n=JSON.parse(typeof e==`string`?e:new TextDecoder().decode(e))}catch{throw t}if(typeof n!=`object`||!n||Array.isArray(n))throw t;let r=new Headers;if(`metadata`in n){if(typeof n.metadata!=`object`||n.metadata==null||Array.isArray(n.metadata))throw t;for(let[e,i]of Object.entries(n.metadata)){if(!Array.isArray(i)||i.some(e=>typeof e!=`string`))throw t;for(let t of i)r.append(e,t)}}return{metadata:r,error:`error`in n&&n.error!=null?Za(n.error,r,t):void 0}}var $a=`Content-Type`,eo=`Content-Length`,to=`Content-Encoding`,no=`Accept-Encoding`,ro=`Connect-Timeout-Ms`,io=`Connect-Protocol-Version`,ao=`User-Agent`;function oo(e){switch(e){case 400:return I.Internal;case 401:return I.Unauthenticated;case 403:return I.PermissionDenied;case 404:return I.Unimplemented;case 429:return I.Unavailable;case 502:return I.Unavailable;case 503:return I.Unavailable;case 504:return I.Unavailable;default:return I.Unknown}}function so(e){let t=new Headers,n=new Headers;return e.forEach((e,r)=>{r.toLowerCase().startsWith(`trailer-`)?n.append(r.substring(8),e):t.append(r,e)}),[t,n]}function co(e,t,n,r,i){let a=new Headers(r??{});return n!==void 0&&a.set(ro,`${n}`),a.set($a,e==`unary`?t?Ka:qa:t?Ja:Ya),a.set(io,`1`),!a.has(`User-Agent`)&&i&&a.set(ao,`connect-es/2.1.1`),a}function lo(e,t,n,r){let i=r.get($a),a=Xa(i);if(n!==200){let t=new L(`HTTP ${n}`,oo(n),r);if(e==`unary`&&a&&!a.binary)return{isUnaryError:!0,unaryError:t};throw t}let o={binary:t,stream:e!==`unary`};if(a?.binary!==o.binary||a.stream!==o.stream)throw new L(`unsupported content type ${i}`,a===void 0?I.Unknown:I.Internal,r);return{isUnaryError:!1}}var uo=`application/`;function fo(e,t){return t?Ve(e,`url`):encodeURIComponent(new TextDecoder().decode(e))}function po(e,t,n){let r=`?connect=v1`,i=e.header.get($a);i?.indexOf(uo)===0&&(r+=`&encoding=`+encodeURIComponent(i.slice(12)));let a=e.header.get(to);a!==null&&a!==`identity`&&(r+=`&compression=`+encodeURIComponent(a),n=!0),n&&(r+=`&base64=1`),r+=`&message=`+fo(t,n);let o=e.url+r,s=new Headers(e.header);for(let e of[io,$a,eo,to,no])s.delete(e);return Object.assign(Object.assign({},e),{requestMethod:`GET`,url:o,header:s})}function mo(e){let t=Ba(e.next,e.interceptors),[n,r,i]=go(e);return t(Object.assign(Object.assign({},e.req),{message:Ra(e.req.method.input,e.req.message),signal:n})).then(e=>(i(),e),r)}function ho(e){let t=Ba(e.next,e.interceptors),[n,r,i]=go(e),a=Object.assign(Object.assign({},e.req),{message:za(e.req.method.input,e.req.message),signal:n}),o=!1;return n.addEventListener(`abort`,function(){var t,n;let r=e.req.message[Symbol.asyncIterator]();o||(t=r.throw)==null||t.call(r,this.reason).catch(()=>{}),(n=r.return)==null||n.call(r).catch(()=>{})}),t(a).then(e=>Object.assign(Object.assign({},e),{message:{[Symbol.asyncIterator](){let t=e.message[Symbol.asyncIterator]();return{next(){return t.next().then(e=>(e.done==1&&(o=!0,i()),e),r)}}}}}),r)}function go(e){let{signal:t,cleanup:n}=Pa(e.timeoutMs),r=Na(e.signal,t);return[r.signal,function(e){let i=L.from(t.aborted?Fa(t):e);return r.abort(i),n(),Promise.reject(i)},function(){n(),r.abort()}]}function _o(){try{new Headers}catch{throw Error(`connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.`)}}var vo=function(e){return this instanceof vo?(this.v=e,this):new vo(e)},yo=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof vo?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}},bo={redirect:`error`};function xo(e){_o();let t=e.useBinaryFormat??!1;return{async unary(n,r,i,a,o,s){let{serialize:c,parse:l}=Ha(n,t,e.jsonOptions,e.binaryOptions);return i=i===void 0?e.defaultTimeoutMs:i<=0?void 0:i,await mo({interceptors:e.interceptors,signal:r,timeoutMs:i,req:{stream:!1,service:n.parent,method:n,requestMethod:`POST`,url:La(e.baseUrl,n),header:co(n.methodKind,t,i,a,!1),contextValues:s??Ia(),message:o},next:async r=>{let i=e.useHttpGet===!0&&n.idempotency===We.NO_SIDE_EFFECTS,a=null;i?r=po(r,c(r.message),t):a=c(r.message);let o=await(e.fetch??globalThis.fetch)(r.url,Object.assign(Object.assign({},bo),{method:r.requestMethod,headers:r.header,signal:r.signal,body:a})),{isUnaryError:s,unaryError:u}=lo(n.methodKind,t,o.status,o.headers);if(s)throw Za(await o.json(),da(...so(o.headers)),u);let[d,f]=so(o.headers);return{stream:!1,service:n.parent,method:n,header:d,message:t?l(new Uint8Array(await o.arrayBuffer())):Fi(n.output,await o.json(),Va(e.jsonOptions)),trailer:f}}})},async stream(n,r,i,a,o,s){let{serialize:c,parse:l}=Ha(n,t,e.jsonOptions,e.binaryOptions);function u(e,t,n,r){return yo(this,arguments,function*(){let i=ga(e).getReader(),a=!1;for(;;){let e=yield vo(i.read());if(e.done)break;let{flags:r,data:o}=e.value;if((r&1)==1)throw new L(`protocol error: received unsupported compressed output`,I.Internal);if((r&2)==2){a=!0;let e=Qa(o);if(e.error){let t=e.error;throw n.forEach((e,n)=>{t.metadata.append(n,e)}),t}e.metadata.forEach((e,n)=>t.set(n,e));continue}yield yield vo(l(o))}if(`throwIfAborted`in r&&r.throwIfAborted(),!a)throw`missing EndStreamResponse`})}async function d(e){if(n.methodKind!=`server_streaming`)throw`The fetch API does not support streaming request bodies`;let t=await e[Symbol.asyncIterator]().next();if(t.done==1)throw`missing request message`;return _a(0,c(t.value))}return i=i===void 0?e.defaultTimeoutMs:i<=0?void 0:i,await ho({interceptors:e.interceptors,timeoutMs:i,signal:r,req:{stream:!0,service:n.parent,method:n,requestMethod:`POST`,url:La(e.baseUrl,n),header:co(n.methodKind,t,i,a,!1),contextValues:s??Ia(),message:o},next:async r=>{let i=await(e.fetch??globalThis.fetch)(r.url,Object.assign(Object.assign({},bo),{method:r.requestMethod,headers:r.header,signal:r.signal,body:await d(r.message)}));if(lo(n.methodKind,t,i.status,i.headers),i.body===null)throw`missing response body`;let a=new Headers;return Object.assign(Object.assign({},r),{header:i.headers,trailer:a,message:u(i.body,a,i.headers,r.signal)})}})}}}var So={},Co=`kimiBridge is not ready`;typeof window<`u`&&(window.__kimiBridgeCallback=e=>{let{messageId:t,webViewId:n}=e;if(n!==window.webViewId)return;let r=So[t];if(r){if(r.type===`once`){e.error?r.reject(e.error):r.resolve(e.data),So[t]=void 0;return}r.callbackList.forEach(t=>{t(e.data)})}});var wo=()=>!!window.webViewId&&(!!window.webkit||!!window.KimiBridge);async function To(e,t){if(!window.webViewId)return Promise.reject(Error(Co));let n=Math.random().toString(36).slice(2,12),r={webViewId:window.webViewId,messageId:n,method:e,params:t??{}};if(window.webkit)return window.webkit.messageHandlers.kimiBridge.postMessage(r),new Promise((e,t)=>{So[n]={type:`once`,resolve:e,reject:t}});if(window.KimiBridge)return window.KimiBridge[e](JSON.stringify(r)),new Promise((e,t)=>{So[n]={type:`once`,resolve:e,reject:t}});throw Error(Co)}function Eo(e,t){let n=So[e];n?n.type===`multiple`&&n.callbackList.push(t):So[e]={type:`multiple`,callbackList:[t]}}function Do(e,t){let n=So[e];if(n?.type!==`multiple`)return;let r=n.callbackList.indexOf(t);r!==-1&&n.callbackList.splice(r,1)}var Oo=`refresh_token`,ko=`access_token`;async function Ao(){let e=localStorage.getItem(ko),t=localStorage.getItem(Oo);if(!ke&&wo())try{let n=await To(`getToken`);n?.accessToken&&(e=n.accessToken),n?.refreshToken&&(t=n.refreshToken)}catch{console.error(`get token failed`)}return{accessToken:e,refreshToken:t,type:`normal`}}var jo={cn:{remoteFmUrl:`https://static.trustdecision.com/tdfp/cn/1adb3bba719793fb6874417a286e900d/fm.js`,localFmUrl:`https://td-static.kimi.link/cn-fm.js`,localNormalUrl:`https://td-static.kimi.link/cn-normal.js`},sg:{remoteFmUrl:`https://static.trustdecision.com/tdfp/sg/51193b5b2cf8d41581289fba7ba3cce3/fm.js`,localFmUrl:`https://td-static.kimi.link/sg-fm.js`,localNormalUrl:`https://td-static.kimi.link/sg-normal.js`}},Mo,No;function Po(e){return`${e}?t=${+(Date.now()/36e5).toFixed(0)}`}function Fo(e){window.collectEvent?.(`msh_risk_sdk_init`,{is_success:!0,sdk_source:e})}function Io(e,t){window.collectEvent?.(`msh_risk_sdk_init`,{is_success:!1,sdk_source:e,error_msg:t instanceof Error?t.message:String(t)})}function Lo(e){return new Promise((t,n)=>{if(document.querySelector(`script[src="${e}"]`)){t();return}let r=document.createElement(`script`);r.src=e,r.async=!0,r.addEventListener(`load`,()=>t(),{once:!0}),r.addEventListener(`error`,()=>n(Error(`Failed to load script: ${e}`)),{once:!0}),document.head.appendChild(r)})}function Ro(e){let t=jo[e];return new Promise((e,n)=>{window._fmOpt={partner:`kimi`,channel:`kimi-web`,appName:`kimi-web`,success(){e(),Fo(`remote`)}},Lo(Po(t.remoteFmUrl)).catch(n)})}function zo(e){let t=jo[e];return new Promise((e,n)=>{window._fmOpt={partner:`kimi`,channel:`kimi-web`,appName:`kimi-web`,normalUrl:t.localNormalUrl,success(){e(),Fo(`local`)}},Lo(Po(t.localFmUrl)).catch(n)})}async function Bo(e){if(!(typeof window>`u`))return Mo===e&&No?No:(Mo=e,No=Ro(e).catch(async t=>(Io(`remote`,t),zo(e).catch(t=>{throw Mo===e&&(Mo=void 0,No=void 0),Io(`local`,t),t}))),No)}async function Vo(){if(typeof window>`u`)return;No&&await No;let e=window._fmOpt?.getinfo?.();if(window.collectEvent?.(`msh_risk_box_get_sync`,{is_success:!!e?.length,is_initialized:!!No}),!(!Mo||!e))return`${Mo}:${e}`}var Ho=Symbol(`connectService`);async function Uo(e){return Promise.race([rn(1e3).then(()=>null),e.catch(()=>null)])}async function Wo(){let e=await Uo(Vo());return e?{"x-msh-shield-data":e}:{}}async function Go(){let{accessToken:e}=await Ao(),t=await Wo();return{"x-msh-platform":`web`,"R-Timezone":Intl.DateTimeFormat().resolvedOptions().timeZone,...!De&&e?{Authorization:`Bearer ${e}`}:{},...t}}var Ko=(e,t)=>{let n=new Map,r=xo({baseUrl:`/apiv2`,jsonOptions:{useProtoFieldName:!0},interceptors:[e=>async n=>{let r={...await Go(),"X-Language":t()};return Object.entries(r).forEach(([e,t])=>{t!=null&&n.header.set(e,String(t))}),e(n)}]});e.provide(Ho,{serviceMap:n,transport:r})},qo=e=>{let{serviceMap:t,transport:n}=se(Ho);if(t.has(e))return t.get(e);let r=Da(e,n);return t.set(e,r),r},Jo=`https://lf3-data.volccdn.com/obj/data-static/log-sdk/collect/5.0/collect-rangers-v5.1.12.js`,Yo=()=>`zh-cn`,Xo,Zo,Qo={};function $o(...e){[...e]}function es(...e){[...e]}function ts(...e){[...e]}function ns(){if(window.LogAnalyticsObject=`collectEvent`,window.collectEvent)return;let e=function(){e.q?.push(arguments)};e.q=[],e.l=Date.now(),window.collectEvent=e}function rs(){return new Promise((e,t)=>{if(document.querySelector(`script[src="${Jo}"]`)){e();return}let n=document.createElement(`script`);n.src=Jo,n.async=!0,n.addEventListener(`load`,()=>e(),{once:!0}),n.addEventListener(`error`,()=>t(Error(`load data finder sdk failed`)),{once:!0}),document.head.appendChild(n)})}function is(e){Object.assign(Qo,e);for(let t of Object.keys(e))e[t]===void 0&&delete Qo[t]}function as(e={}){return e.getLocale&&(Yo=e.getLocale),e.commonParams&&is(e.commonParams),ns(),Xo=(e,t)=>{window.collectEvent?.(e,{locale:Yo(),...t})},Zo||(window.collectEvent?.(`init`,{app_id:20001731,channel_domain:`https://gator.volces.com`,ab_channel_domain:`https://tab.volces.com`,log:!0,autotrack:!1,enable_ab_test:!0,auto_exposure_expriment:!0,enable_stay_duration:!0}),window.collectEvent?.(`start`),Zo=rs().catch(e=>{ts(e)})),Zo??Promise.resolve()}var os=new Map;function ss(){os.clear()}function cs(e,t,n){let r=Yo(),i={...Qo,...t,ppt_locale:r};if(n)if(n===!0){let t=e;if(os.has(t))return;os.set(t,!0)}else if(Array.isArray(n)){let t=`${e}:${n.map(e=>`${String(e)}=${i[e]}`).join(`&`)}`;if(os.has(t))return;os.set(t,!0)}else{let t=`${e}:${String(n)}=${i[n]}`;if(os.has(t))return;os.set(t,!0)}Xo||as(),Xo?.(e,i)}(function(){var e,t,n;typeof Element>`u`||Element.prototype.addEventListener||(e=[],n=function(t,n){for(var r=0;r<e.length;){var i=e[r];if(i.object===this&&i.type===t&&i.listener===n){t===`DOMContentLoaded`?this.detachEvent(`onreadystatechange`,i.wrapper):this.detachEvent(`on`+t,i.wrapper),e.splice(r,1);break}++r}},Element.prototype.addEventListener=t=function(t,n){function r(e){e.target=e.srcElement,e.currentTarget=o,n.handleEvent===void 0?n.call(o,e):n.handleEvent(e)}var i,a,o=this;t===`DOMContentLoaded`?(i=function(e){document.readyState===`complete`&&r(e)},document.attachEvent(`onreadystatechange`,i),e.push({object:this,type:t,listener:n,wrapper:i}),document.readyState===`complete`&&((a=new window.Event).srcElement=window,i(a))):(this.attachEvent(`on`+t,r),e.push({object:this,type:t,listener:n,wrapper:r}))},Element.prototype.removeEventListener=n,HTMLDocument&&!HTMLDocument.prototype.addEventListener&&(HTMLDocument.prototype.addEventListener=t,HTMLDocument.prototype.removeEventListener=n),Window&&!Window.prototype.addEventListener&&(Window.prototype.addEventListener=t,Window.prototype.removeEventListener=n))})();var R=function(){return(R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ls(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function us(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function z(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function B(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var ds=10,fs=1e3,ps=function(e){return JSON.stringify({ev_type:`batch`,list:e})};function ms(e){var t,n,r=e.transport,i=e.endpoint,a=e.size,o=a===void 0?ds:a,e=e.wait,s=e===void 0?fs:e,c=[],l=0;function u(){var e;c.length&&(e=this.getBatchData(),r.post({url:i,data:e,fail:function(n){t&&t(n,e)},success:function(){n&&n(e)}}),c=[])}return{getSize:function(){return o},getWait:function(){return s},setSize:function(e){o=e},setWait:function(e){s=e},getEndpoint:function(){return i},setEndpoint:function(e){i=e},send:function(e){c.push(e),c.length>=o&&u.call(this),clearTimeout(l),l=setTimeout(u.bind(this),s)},flush:function(){clearTimeout(l),u.call(this)},getBatchData:function(){return c.length?ps(c):``},clear:function(){clearTimeout(l),c=[]},fail:function(e){t=e},success:function(e){n=e}}}var V=function(){return{}};function hs(e){return e}function H(e){return typeof e==`object`&&!!e}function gs(e){return e===void 0}function _s(e,t){try{return e instanceof t}catch{return!1}}var vs=Object.prototype;function ys(e){return H(e)?typeof Object.getPrototypeOf==`function`?(e=Object.getPrototypeOf(e),e===vs||e===null):vs.toString.call(e)===`[object Object]`:!1}function bs(e){return vs.toString.call(e)===`[object Array]`}function U(e){return typeof e==`function`}function xs(e){return typeof e==`boolean`}function Ss(e){return typeof e==`number`}function W(e){return typeof e==`string`}function Cs(e){switch(Object.prototype.toString.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMError]`:case`[object DOMException]`:return!0;default:return e instanceof Error}}function ws(e){return typeof Event<`u`&&_s(e,Event)}function Ts(e){return Object.prototype.toString.call(e)===`[object ErrorEvent]`}function Es(e){return Object.prototype.toString.call(e)===`[object PromiseRejectionEvent]`}function Ds(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Os(){for(var e=[...arguments],t={},n=0;n<e.length;)t=ks(t,e[n++]);return t}function ks(e,t){var n,r=R({},e);for(n in t)Ds(t,n)&&t[n]!==void 0&&(H(t[n])&&ys(t[n])?r[n]=ks(H(e[n])?e[n]:{},t[n]):bs(t[n])&&bs(e[n])?r[n]=As(e[n],t[n]):r[n]=t[n]);return r}function As(e,t){return e=bs(e)?e:[],t=bs(t)?t:[],Array.prototype.concat.call(e,t).map(function(e){return e instanceof RegExp?e:H(e)&&ys(e)?ks({},e):bs(e)?As([],e):e})}function G(e,t){if(!bs(e)||e.length===0)return!1;for(var n=0;n<e.length;){if(e[n]===t)return!0;n++}return!1}var js=function(e,t){if(!bs(e))return e;var n=e.indexOf(t);return 0<=n?(t=e.slice(),t.splice(n,1),t):e},Ms=function(e,t,n){for(var r,t=z(t.split(`.`)),i=t[0],a=t.slice(1);e&&0<a.length;)e=e[i],i=(r=z(a))[0],a=r.slice(1);if(e)return n(e,i)},Ns=function(e,t,n){return Ms(e,t,function(e,t){if(e&&t in e&&U(e[t]))try{return e[t].apply(e,n)}catch{return}})},Ps=function(){var e={};return[e,function(t,n){return e[t]=n},function(t){return delete e[t]}]},Fs=function(e,t){return e&&H(e)?t.reduce(function(t,n){return t[n]=e[n],t},{}):e};function Is(e){return bs(e)&&e.length?Ls(e):null}function Ls(e){for(var t=[],n=e.length,r=0;r<n;r++){var i=e[r];W(i)?t.push(i.replace(/([.*+?^=!:${}()|[\]/\\])/g,`\\$1`)):i&&i.source&&t.push(i.source)}return new RegExp(t.join(`|`),`i`)}var Rs=function(e,t){return e=Is(e||[]),!!e&&e.test(t)};function zs(e){try{return W(e)?e:JSON.stringify(e)}catch(e){return`[FAILED_TO_STRINGIFY]:`+String(e)}}var Bs=function(e){return H(e)?Object.keys(e).reduce(function(t,n){return t+=`&`+n+`=`+e[n]},``).replace(`&`,`?`):``};function Vs(){var e={},t={},n={set:function(r,i){return e[r]=i,t[r]=zs(i),n},merge:function(r){return e=R(R({},e),r),Object.keys(r).forEach(function(e){t[e]=zs(r[e])}),n},delete:function(r){return delete e[r],delete t[r],n},clear:function(){return e={},t={},n},get:function(e){return t[e]},toString:function(){return R({},t)}};return n}var Hs=function(e,t,n,r){return r===void 0&&(r=!0),function(){var i=[...arguments];if(!e)return V;var a=e[t],o=n.apply(void 0,B([a],z(i),!1)),s=o;return U(s)&&r&&(s=function(){var e=[...arguments];try{return o.apply(this,e)}catch{return U(a)&&a.apply(this,e)}}),e[t]=s,function(n){n||(s===e[t]?e[t]=a:o=a)}}},Us=function(e,t,n){return function(){var r=[...arguments];if(!e)return V;var i=e[t],a=n.apply(void 0,B([i],z(r),!1)),o=a;return U(o)&&(o=function(){var e=[...arguments];return a.apply(this,e)}),e[t]=o,function(){o===e[t]?e[t]=i:a=i}}},Ws=function(){return``.padStart?function(e,t){return e.padStart(t=t===void 0?8:t,` `)}:function(e){return e}}(),Gs=0,Ks=function(){var e=[...arguments];console.error.apply(console,B([`[SDK]`,Date.now(),Ws(``+ Gs++)],z(e),!1))},qs=0,Js=function(){var e=[...arguments];console.warn.apply(console,B([`[SDK]`,Date.now(),Ws(``+ qs++)],z(e),!1))},Ys=function(e){return Math.random()<Number(e)},Xs=function(e,t){return e<Number(t)},Zs=function(e){return function(t){for(var n=t,r=0;r<e.length&&n;r++)try{n=e[r](n)}catch(e){Ks(e)}return n}},Qs=function(e){return function(t){for(var n=!0,r=0;r<e.length&&n;r++)try{n=e[r](t)}catch(e){Ks(e)}return n}};function $s(){for(var e=Array(16),t=0,n=0;n<16;n++)!(3&n)&&(t=4294967296*Math.random()),e[n]=t>>>((3&n)<<3)&255;return e}function ec(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);var r=0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[+r]],i[e[15]]].join(``)}function tc(){var e=$s();return e[6]=15&e[6]|64,e[8]=63&e[8]|128,ec(e)}var nc=3e5,rc=function(e,t,n){var r=0;return n===-1?V:function(){if(e())return r&&clearTimeout(r),void(r=0);r===0&&(r=setTimeout(t,n))}},ic=function(e,t){var n=[];try{n=t.reduce(function(t,n){try{var r=n(e);typeof r==`function`&&t.push(r)}catch{}return t},[])}catch{}return function(e){return ic(e,n)}},ac=function(e){function t(e){r=js(r,e),a||o()}var n,r=[],i=[],a=!1,o=rc(function(){return!!r.length},function(){a=!0,n&&n[0](),i.forEach(function(e){return e()}),i.length=0,n=void 0},e=e===void 0?nc:e);return{next:function(e){return ic(e,r)},complete:function(e){i.push(e)},attach:function(e,t){n=[e,t]},subscribe:function(e){if(a)throw Error(`Observer is closed`);return r.push(e),n&&n[1]&&n[1](e),o(),function(){return t(e)}},unsubscribe:t}},oc=function(e,t,n){n=ac(n);try{e(n.next,n.attach),t&&n.complete(t)}catch{}return[n.subscribe,n.unsubscribe]},sc=function(e,t){var n=z(e,1)[0];return function(e,r){var i=n(function(n){return Qs(t)(n)?e(n):V});r(function(){i()})}};function cc(){function e(e){e.length&&e.forEach(function(e){try{e()}catch{}}),e.length=0}function t(t){r[t]&&r[t].forEach(function(t){e(t[1])}),r[t]=void 0}var n=!1,r={};return{set:function(t,i,a){r[t]?r[t].push([i,a]):r[t]=[[i,a]],n&&e(a)},has:function(e){return!!r[e]},remove:t,removeByEvType:function(t){Object.keys(r).forEach(function(n){r[n]&&r[n].forEach(function(n){n[0]===t&&e(n[1])})})},clear:function(){n=!0,Object.keys(r).forEach(function(e){t(e)})}}}var K=function(e,t,n,r){return e.destroyAgent.set(t,n,r)},lc=500,uc=50;function dc(e,t,n){t.push(n),t.length<lc||(t=t.splice(0,uc),e.savePreStartDataToDb&&e.savePreStartDataToDb(t))}function fc(e){var t=e.getPreStartQueue();t.forEach(function(t){return e.build(t)}),t.length=0}var pc=[`init`,`start`,`config`,`beforeDestroy`,`provide`,`beforeReport`,`report`,`beforeBuild`,`build`,`beforeSend`,`send`,`beforeConfig`];function mc(e){var t,n,r=e.builder,i=e.createSender,a=e.createDefaultConfig,o=e.createConfigManager,s=e.userConfigNormalizer,c=e.initConfigNormalizer,l=e.validateInitConfig,u={};pc.forEach(function(e){return u[e]=[]});var d=!1,f=!1,p=!1,m=[],h=[],g=cc(),_={getBuilder:function(){return r},getSender:function(){return t},getPreStartQueue:function(){return m},init:function(e){if(d)Js(`already inited`);else{if(!(e&&H(e)&&l(e)))throw Error(`invalid InitConfig, init failed`);var r=a(e);if(!r)throw Error(`defaultConfig missing`);if(e=c(e),(n=o(r)).setConfig(e),n.onChange(function(){v(`config`)}),!(t=i(n.getConfig())))throw Error(`sender missing`);v(`init`,d=!0)}},set:function(e){d&&e&&H(e)&&(v(`beforeConfig`,!1,e),n?.setConfig(e))},config:function(e){if(d)return e&&H(e)&&(v(`beforeConfig`,!1,e),n?.setConfig(s(e))),n?.getConfig()},provide:function(e,t){G(h,e)?Js(`cannot provide `+e+`, reserved`):(_[e]=t,v(`provide`,!1,e))},start:function(){d&&(f||n?.onReady(function(){v(`start`,f=!0),fc(_)}))},report:function(e){e&&(!(e=Zs(u.beforeReport)(e))||(e=Zs(u.report)(e))&&(f?this.build(e):dc(_,m,e)))},build:function(e){!f||(e=Zs(u.beforeBuild)(e))&&(!(e=r.build(e))||(e=Zs(u.build)(e))&&this.send(e))},send:function(e){!f||(e=Zs(u.beforeSend)(e))&&(t.send(e),v(`send`,!1,e))},destroy:function(){g.clear(),p=!0,v(`beforeDestroy`,!(m.length=0))},on:function(e,t){if(e===`init`&&d||e===`start`&&f||e===`beforeDestroy`&&p)try{t()}catch{}else u[e]&&u[e].push(t)},off:function(e,t){u[e]&&(u[e]=js(u[e],t))},destroyAgent:g},h=Object.keys(_);return _;function v(e,t){t===void 0&&(t=!1);var n=[...arguments].slice(2);u[e].forEach(function(e){try{e.apply(void 0,B([],z(n),!1))}catch{}}),t&&(u[e].length=0)}}var hc=function(e){var t=Vs();e.provide(`context`,t),e.on(`report`,function(e){return e.extra||(e.extra={}),e.extra.context=t.toString(),e})},gc=function(e,t,n){function r(){var n=[...arguments];if(s=n[0]){var i=s.split(`.`)[0];if(i in r)return Ns(r,s,[].slice.call(n,1));var o=a[i]||[],s=(s=t?.(e))??{};o.push(B([s],z(n),!1)),a[i]=o}}var i,a={};for(i in Hs(e,`provide`,function(t){return function(n,i){r[n]=i,t.call(e,n,i)}})(),e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return e.on(`provide`,function(t){a[t]&&(a[t].forEach(function(t){var r=z(t),t=r[0],r=r.slice(1);n?.(e,t,r)}),a[t]=null)}),r};function _c(e,t){e.on(`init`,function(){function n(n){n.forEach(function(n){var i=n.name;G(r,i)||(r.push(i),n.setup(e),t&&t(i,n.setup),e.destroyAgent.set(i,i,[function(){r=js(r,i),n.tearDown&&n.tearDown()}]))})}var r=[];e.provide(`applyIntegrations`,n);var i=e.config();i&&i.integrations&&n(i.integrations)})}var vc=`_`,yc=function(e){return e.split(vc)[0]};function bc(e,t){var n=t||{},r={};e.provide(`setFilter`,function(e,t){r[e]||(r[e]=[]),r[e].push(t)}),e.provide(`initSubject`,function(t){var i=z(t,2),a=i[0],t=i[1],i=yc(a),i=!!i&&r[i];return n[a]||(n[a]=oc(t,function(){n[a]=void 0})),i?xc(e,[a,sc(n[a],i)]):n[a]}),e.provide(`getSubject`,function(e){return n[e]}),e.provide(`privateSubject`,{})}function q(e,t){return e.initSubject(t)}function xc(e,t,n){var t=z(t,2),r=t[0],t=t[1],i=e.privateSubject||{};return i[r]||(i[r]=oc(t,function(){i[r]=void 0},n)),i[r]}var J=function(){return Date.now()};function Y(){if(typeof window==`object`&&H(window))return window}function X(){if(typeof document==`object`&&H(document))return document}function Sc(){return Y()&&window.location}function Cc(){return Y()&&window.history}function wc(){if(Y()&&H(window.performance))return window.performance}function Tc(){if(Y()&&`Promise`in window)return Promise}function Ec(){if(typeof XMLHttpRequest==`function`&&U(XMLHttpRequest))return XMLHttpRequest}function Dc(){if(Y()&&U(window.MutationObserver))return window.MutationObserver}function Oc(){if(Y()&&U(window.PerformanceObserver))return window.PerformanceObserver}function kc(){if(Y()&&U(window.PerformanceEventTiming))return window.PerformanceEventTiming}function Ac(){if(Y()&&`requestAnimationFrame`in window)return window.requestAnimationFrame}function jc(){if(Y()&&`cancelAnimationFrame`in window)return window.cancelAnimationFrame}function Mc(){if(Y()&&`navigator`in window)return window.navigator}function Nc(){var e=Mc();if(e)return e.connection||e.mozConnection||e.webkitConnection}function Pc(e){return e?.effectiveType||e?.type||``}function Fc(e){var t=X();return!t||!e?``:(t=t.createElement(`a`),t.href=e,t.href)}function Ic(e){var t=X();return!t||!e?{url:e,protocol:``,domain:``,query:``,path:``,hash:``}:(t=t.createElement(`a`),t.href=e,e=t.pathname||`/`,e[0]!==`/`&&(e=`/`+e),{url:t.href,protocol:t.protocol.slice(0,-1),domain:t.hostname,query:t.search.substring(1),path:e,hash:t.hash})}function Lc(){var e=Y()&&Sc();return e?e.href:``}var Rc=function(e){return{pid:e.pid,view_id:e.viewId,url:Lc()}},zc=function(e){var t=e.config(),t=Rc(t);return t.context=e.context?e.context.toString():{},t},Bc=function(e,t){t===void 0&&(t=!1);var n=zc(e);return t&&(n.timestamp=J()),function(t){e.report(R(R({},t),{overrides:n}))}},Vc=`view_0`,Hc=function(e){return function(t,n){function r(n){n.viewId&&n.viewId!==e.config()?.viewId&&(t(i),i=R(R({},zc(e)),Rc(n)))}var i=zc(e);e.on(`beforeConfig`,r),n(function(){e.off(`beforeConfig`,r)})}},Uc=`f_view_0`,Wc=function(e){return function(t,n){var r=zc(e);n(V,function(e){r&&e(r)})}},Gc=function(e){if(e)return e.__SLARDAR_REGISTRY__||(e.__SLARDAR_REGISTRY__={Slardar:{plugins:[],errors:[],subject:{}}}),e.__SLARDAR_REGISTRY__.Slardar},Kc=function(){var e=[...arguments],t=Gc(Y());t&&(t.errors||(t.errors=[]),t.errors.push(e))},qc=function(e,t){var n=e&&new e(t);return[function(e,t){n&&e&&n.observe(e,t)},function(){return n&&n.disconnect()}]},Jc=function(e,t,n,r){var i,a=!U(t)||r&&e&&e.hidden?function(e){return e(0),0}:t,o=U(n)?n:V;return[function(e){i&&o(i),i=a(e)},a,o]},Yc=function(e){var t=e&&e.timing||void 0;return[t,function(){return e&&e.now?e.now():(Date.now?Date.now():+new Date)-(t&&t.navigationStart||0)},function(t){var n=(e||{}).getEntriesByType;return U(n)&&n.call(e,t)||[]},function(){var t=(e||{}).clearResourceTimings;U(t)&&t.call(e)},function(t){var n=(e||{}).getEntriesByName;return U(n)&&n.call(e,t)||[]}]},Xc=function(e){return e.requestIdleCallback||function(t){return e.setTimeout(t,1)}},Zc=function(e){var t={url:Lc(),timestamp:J()},n=e.config();return n!=null&&n.pid&&(t.pid=n.pid),e!=null&&e.context&&(t.context=e.context.toString()),t},Qc=function(e,t){return function(n){function r(e){return e.overrides=t,e}e.on(`report`,r),n(),e.off(`report`,r)}},$c=`<unknown>`;function el(e){try{for(var t,n=e,r=[],i=0,a=0,o=3;n&&i++<5&&!((t=tl(n))===`html`||1<i&&256<=a+r.length*o+t.length);)r.push(t),a+=t.length,n=n.parentNode;return r.reverse().join(` > `)}catch{return $c}}function tl(e){var t,n,r,i=e,a=[];if(!i||!i.tagName)return``;if(a.push(i.tagName.toLowerCase()),i.id)return`#`+i.id;if(e=i.className,e&&W(e))for(t=e.split(/\s+/),s=0;s<t.length;s++)a.push(`.`+t[s]);for(var o=[`type`,`name`,`title`,`alt`],s=0;s<o.length;s++)n=o[s],(r=i.getAttribute(n))&&a.push(`[`+n+`="`+r+`"]`);for(var c=i,l=1,u=!0;c=c.previousElementSibling;)c.tagName?.toLowerCase()===i.tagName?.toLowerCase()&&(c.className===i.className&&o.every(function(e){return i.getAttribute(e)===c?.getAttribute(e)})&&(u=!1),l++);return 1<l&&!u&&a.push(`:nth-of-type(`+l+`)`),a.join(``)}var Z=function(e,t,n,r){return r===void 0&&(r=!1),e.addEventListener(t,n,r),function(){e.removeEventListener(t,n,r)}},nl=function(e,t,n,r){return r===void 0&&(r=!1),e.addEventListener(t,n,r),function(){e.removeEventListener(t,n,r)}};function rl(e,t){e&&t.push(function(){return clearTimeout(e)})}var il=function(e){var t=!1;return[function(n){t||(t=!0,e&&e(n))}]},al=function(e){var t,n=Y();n&&(t=z(il(e),1)[0],[`unload`,`beforeunload`,`pagehide`].forEach(function(e){Z(n,e,t,!1)}))},ol=function(e){var t,n=X(),r=Y();n&&r&&(t=V,t=nl(n,`visibilitychange`,function(){n.visibilityState===`visible`&&(e(),t())},!0))},sl=function(e,t){return H(e)?R(R({},t),e):!!e&&t},cl=function(){return!!btoa&&!!atob};function ll(e){return cl()?btoa(encodeURI(e)):e}function ul(e){return cl()?decodeURI(atob(e)):e}var dl=function(e){try{var t=localStorage.getItem(e),n=t,r=n=t&&typeof t==`string`?JSON.parse(ul(t)):n,i=r.expires,a=ls(r,[`expires`]);return i>=J()?a:void 0}catch{return}},fl=function(e,t,n){if(!(n<=0))try{localStorage.setItem(e,ll(JSON.stringify(R(R({},t),{expires:J()+n}))))}catch{}},pl=7776e6,ml=function(e){return!1===e?0:!0!==e&&e!==void 0&&Ss(e)?e:pl},hl=function(e){var t;if(typeof window==`object`&&window.__perfsee__){var n={};return(t=Error.captureStackTrace)!=null&&t.call(Error,n,e),n.stack}},gl=`xhr_0`,_l=function(){var e=RegExp(`\\/monitor_web\\/collect|\\/monitor_browser\\/collect\\/batch`,`i`);return function(t){return e.test(t)}},vl=function(e){return function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t=z(n,2),this._method=t[0],this._url=t[1],e.apply(this,n)}},yl=function(e){return function(){var t=[...arguments];this._reqHeaders=this._reqHeaders||{};var n=z(t,2),r=n[0],n=n[1];return this._reqHeaders[r]=n,e&&e.apply(this,t)}},bl=function(e,t){return Us(e,`onreadystatechange`,function(n){return function(){var r=[...arguments];return this.readyState===4&&t(e),n&&n.apply(this,r)}})},xl=function(e,t){var n=_l();return function(){for(var r,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return this._start=J(),this._data=i?.[0],n(this._url)||(r=t([this._method,this._url,this._start,this]),bl(this,r)()),e.apply(this,i)}},Sl=function(e){return function(t,n){var r;e&&((r=[]).push(Us(e,`open`,vl)()),r.push(Us(e,`setRequestHeader`,yl)()),r.push(Us(e,`send`,xl)(t)),n(function(){r.forEach(function(e){return e()})}))}},Cl=`fetch_0`,wl=function(e,t){return function(n,r){var i=t([n,r=r===void 0?{}:r]),r=e(n,r);return r.then(function(e){i(e)},function(){i(void 0)}),r}},Tl=[Cl,function(e,t){var n,r=Y();r&&fetch&&((n=[]).push(Us(r,`fetch`,wl)(e)),t(function(){n.forEach(function(e){return e()})}))}],El=[`resource`],Dl=[`longtask`],Ol=function(e,t,n){var r=e&&new e(function(e,r){e.getEntries?e.getEntries().forEach(function(e,n,i){return t(e,n,i,r)}):n&&n()});return[function(t){if(!e||!r)return n&&n();try{r.observe({entryTypes:t})}catch{return n&&n()}},function(t,i){if(!e||!r)return n&&n();try{var a={type:t,buffered:!0};gs(i)||(a.durationThreshold=i),r.observe(a)}catch{return n&&n()}r.observe({type:t,buffered:!1})},function(){return r&&r.disconnect()}]},kl=function(e,t,n){return e=z(Ol(e,t),3),t=e[0],e=e[2],t(n),e},Al=function(e,t,n,r){return e=z(Ol(e,t),3),t=e[1],e=e[2],t(n,r),e},jl=[`longtask_0`,function(e,t){var n=Oc();n&&t(kl(n,e,Dl))}],Ml=[`resource_0`,function(e,t){var n,r=Oc();r&&(n=_l(),t(kl(r,function(t){n(t.name)||e(t)},El)))}],Nl=`pageview`,Pl=`session`,Fl=`js_error`,Q=`http`,Il=`resource_error`,Ll=`resource`,Rl=`custom`,zl=`performance`,Bl=`performance_timing`,Vl=`performance_longtask`,Hl=`blank_screen`,Ul=`action`,Wl=`01`,Gl={sampleRate:1,origins:[]},Kl=function(){var e=window&&(window.crypto||window.msCrypto);if(e!==void 0&&e.getRandomValues){var t=new Uint16Array(8);return e.getRandomValues(t),e=function(e){for(var t=e.toString(16);t.length<4;)t=`0`+t;return t},e(t[0])+e(t[1])+e(t[2])+e(t[3])+e(t[4])+e(t[5])+e(t[6])+e(t[7])}return`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`.replace(/[x]/g,function(){return(16*Math.random()|0).toString(16)})},ql=function(e,t){var n=sl(e,Gl);if(n&&Ys(n.sampleRate))return function(e,r){var i=n.origins;i.length&&Rs(i,e)&&(r(`traceparent`,`00-`+Kl()+`-`+Kl().substring(16)+`-`+Wl),r(`baggage`,t))}},Jl=RegExp(`(cookie|auth|jwt|token|key|ticket|secret|credential|session|password)`,`i`),Yl=RegExp(`(bearer|session)`,`i`),Xl=function(e,t){return!e||!t||Jl.test(e)||Yl.test(t)},Zl=function(e){var t=!1;return function(n){t||(t=!0,e(n))}},Ql=function(e,t){try{if(t){var n=e.request.url,r=t(n);if(!r)return;e.request.url=r,e.extra=R(R({},e.extra),{original_url:n})}}catch{}},$l=function(e,t,n){var r=z(t,2),t=r[0],i=r[1],a=n.setTraceHeader,o=n.ignoreUrls,s=n.setContextAtReq,c=n.extractUrl;e.push(t[0](function(e){var t=z(e,4);t[0],e=t[1],t[2];var r=t[3];if(!e)return V;var l,u=Fc(e);if(Rs(o,u))return V;a&&a(u,function(e,t){return r.setRequestHeader(e,t)});var d=s(),f=void 0,p=i()[0](function(e){(u===e.name||l&&l===e.name)&&!f&&(f=e)});return function(e){l=e.responseURL;var t=nu(e,n);setTimeout(function(){f&&(t.response.timing=f),Ql(t,c),d&&d({ev_type:Q,payload:t}),p()},100)}}))};function eu(e){return W(e)&&e?e.split(`\r
|
||
`).reduce(function(e,t){var n;return W(t)&&(t=(n=z(t.split(`: `),2))[0],n=n[1],Xl(t,n)||(e[t.toLowerCase()]=n)),e},{}):{}}function tu(e){return Object.keys(e).reduce(function(t,n){return Xl(n,e[n])||(t[n.toLowerCase()]=e[n]),t},{})}var nu=function(e,t){var n=e._method,r=e._reqHeaders,i=e._url,a=e._start,o=e._data,n={api:`xhr`,request:{url:Fc(i),method:(n||``).toLowerCase(),headers:r&&tu(r),timestamp:a},response:{status:e.status||0,is_custom_error:!1,timestamp:J()},duration:J()-a};typeof e.getAllResponseHeaders==`function`&&(n.response.headers=eu(e.getAllResponseHeaders())),r=n.response.status,a=t.collectBodyOnError,t=t.extraExtractor;try{var s=t?.(e.response,n,o);s&&(n.extra=s),s&&(n.response.is_custom_error=!0),a&&(s||400<=r)&&(n.request.body=o?``+o:void 0,n.response.body=e.response?``+e.response:void 0)}catch{}return n};function ru(e,t,n){return t=(e=e.config())?.plugins[t],sl(t,n)}var iu=`ajax`,au={autoWrap:!0,setContextAtReq:function(){return hs},ignoreUrls:[],collectBodyOnError:!1};function ou(e){e.on(`init`,function(){var t,n,r=ru(e,iu,au);r&&(t=[],n=(n=e.config())?.domain,(n=R(R({},r),{setContextAtReq:function(){return Bc(e,!0)},setTraceHeader:ql(r.trace,`apmplus.app_id=`+(r=e.config())?.aid+`,apmplus.origin=web,apmplus.client_domain=`+(typeof n==`string`&&0<=n.indexOf(`//`)?``:`https://`)+n)})).autoWrap&&$l(t,[q(e,[gl,Sl(XMLHttpRequest&&XMLHttpRequest.prototype)]),function(){return q(e,Ml)}],n),K(e,iu,Q,t))})}var su=`click`,cu=su+`_0`,lu=`dom`,uu=[cu,function(e,t){var n,r=X();r&&(n=nl(r,su,e,!0),t(function(){n()}))}],du=`keypress`,fu=[du+`_0`,function(e,t){var n,r=X();r&&(n=nl(r,du,e,!0),t(function(){n()}))}],pu=function(e){return function(t){var n;try{n=t.event.target?el(t.event.target):el(t.event)}catch{n=$c}n.length!==0&&e({type:`dom`,category:`ui.`+t.name,message:n})}},mu=function(e,t){return function(n){if(t)try{e(n)}catch{}}},hu=function(e){function t(e,t){var r;return function(i){n=void 0,i&&r!==i&&t({event:r=i,name:e})}}var n;return[t,function(r){return function(i){var a;try{a=i.target}catch{return}var o=a&&a.tagName;o&&(o===`INPUT`||o===`TEXTAREA`||a.isContentEditable)&&(n||t(`input`,r)(i),clearTimeout(n),n=window.setTimeout(function(){n=void 0},e))}}]},gu=function(e,t,n){e===void 0&&(e=20),t===void 0&&(t=hs),n===void 0&&(n=function(e,t){return e.slice(-t)});var r=[];return[function(){return r},function(i){var a=t(i);a&&(i=R(R({},a),{timestamp:i.timestamp||J()}),r=0<=e&&r.length+1>e?n(B(B([],z(r),!1),[i],!1),e):B(B([],z(r),!1),[i],!1))}]},_u=function(e,t,n){var r=z(t,2),i=r[0],a=r[1],o=n.maxBreadcrumbs,s=n.onAddBreadcrumb,c=n.onMaxBreadcrumbs,t=n.dom,r=z(hu(100),2),n=r[0],r=r[1],s=z(gu(o,s,c),2),c=s[0],s=s[1];return t&&(t=pu(s),e.push(i[0](n(su,mu(t,lu)))),e.push(a[0](r(mu(t,lu))))),[c,s]},vu=`breadcrumb`,yu={maxBreadcrumbs:20,dom:!0};function bu(e,t){var n,r,i,a=sl(t,yu);a&&(a=(t=z(_u(n=[],[q(e,uu),q(e,fu)],a),2))[0],r=t[1],e.on(`report`,i=function(e){return e.ev_type===Q&&r({type:Q,category:e.payload.api,message:``,data:{method:e.payload.request.method,url:e.payload.request.url,status_code:String(e.payload.response.status)},timestamp:e.payload.request.timestamp}),e}),n.push(function(){e.off(`report`,i)}),K(e,vu,Fl,n),e.provide(`getBreadcrumbs`,a),e.provide(`addBreadcrumb`,r))}function xu(e){e.on(`init`,function(){var t=(t=e.config())?.plugins[vu];bu(e,t)})}var Su=function(e,t,n){var r=z(t,2),t=r[0],i=r[1],a=n.setTraceHeader,o=n.ignoreUrls,s=n.setContextAtReq,c=n.extractUrl,l=window.Headers,u=window.Request;u&&l&&e.push(t[0](function(e){var t,e=z(e,2),r=e[0],d=e[1],f=Fc(r instanceof u?r.url:r);if(!Cu(f)||Rs(o,f))return V;a&&a(f,function(e,t){return Tu(e,t,r,d,u,l)});var p=s(),m=J(),h=void 0,g=i()[0](function(e){(f===e.name||t&&t===e.name)&&!h&&(h=e)});return function(e){t=e&&e.url;var i=ku(r,d,e,u,l,n,m),a=Zl(function(e){h&&(e.response.timing=h),Ql(e,c),p&&p({ev_type:Q,payload:e}),g()});setTimeout(function(){a(i)},1e3)}}))},Cu=function(e){if(!W(e))return!1;var t=z(e.split(`:`),2),e=t[0];return!t[1]||e===`http`||e===`https`},wu=function(e,t){return e instanceof t},Tu=function(e,t,n,r,i,a){wu(n,i)?n.headers.set(e,t):r.headers instanceof a?r.headers.set(e,t):r.headers=R(R({},r.headers),((r={})[e]=t,r))},Eu=function(e,t,n){return t=t&&t.method||`get`,(t=wu(e,n)&&e.method||t).toLowerCase()},Du=function(e){var t=[...arguments].slice(1);try{return t.reduce(function(t,n){return new e(n||{}).forEach(function(e,n){return!Xl(n,e)&&(t[n]=e)}),t},{})}catch{return{}}},Ou=function(e,t,n){return wu(e,n)?e.body:t?.body},ku=function(e,t,n,r,i,a,o){function s(){l&&(c.request.body=Ou(e,t,r)?.toString())}var c={api:`fetch`,request:{method:Eu(e,t,r),timestamp:o,url:Fc(e instanceof r?e.url:e),headers:Du(i,e.headers,t.headers)},response:{status:n&&n.status||0,is_custom_error:!1,timestamp:J()},duration:J()-o},l=a.collectBodyOnError,u=a.extraExtractor;if(n)try{var d=Du(i,n.headers);c.response.headers=d;try{(d[`content-type`]||``).indexOf(`application/json`)!==-1&&u&&n.clone().json().catch(function(){return n.clone().text()}).then(function(n){n=u(n,c,(n=Ou(e,t,r))?.toString()),n&&(c.extra=n,c.response.is_custom_error=!0,s())}).catch(V)}catch{}400<=n.status&&s()}catch{}else s();return c},Au=`fetch`,ju={autoWrap:!0,setContextAtReq:function(){return hs},ignoreUrls:[],collectBodyOnError:!1};function Mu(e){e.on(`init`,function(){var t,n,r=ru(e,Au,ju);r&&(t=[],n=(n=e.config())?.domain,(n=R(R({},r),{setContextAtReq:function(){return Bc(e,!0)},setTraceHeader:ql(r.trace,`apmplus.app_id=`+(r=e.config())?.aid+`,apmplus.origin=web,apmplus.client_domain=`+(typeof n==`string`&&0<=n.indexOf(`//`)?``:`https://`)+n)})).autoWrap&&Su(t,[q(e,Tl),function(){return q(e,Ml)}],n),K(e,Au,Q,t))})}var Nu=[`name`,`message`,`stack`,`filename`,`lineno`,`colno`],Pu=function(e){var t;return Cs(e)?t=Fs(e,Nu):(ys(e)||ws(e)||W(e))&&(t={message:zs(e)}),t},Fu=function(e){var t=Pu(e.error);if(!t)return t;var n=e.colno,r=e.lineno,e=e.filename;return n&&!t.colno&&(t.colno=String(n)),r&&!t.lineno&&(t.lineno=String(r)),e&&!t.filename&&(t.filename=e),t},Iu=function(e){try{var t=void 0;if(`reason`in e?t=e.reason:`detail`in e&&`reason`in e.detail&&(t=e.detail.reason),t){var n=Pu(t);return R(R({},n),{name:(n&&n.name)??`UnhandledRejection`})}}catch{}},Lu=function(e){return(Ts(e)?Fu:Es(e)?Iu:Pu)(e)},Ru=[`EventTarget`,`Window`,`Node`,`ApplicationCache`,`ChannelMergerNode`,`EventSource`,`FileReader`,`HTMLUnknownElement`,`IDBDatabase`,`IDBRequest`,`IDBTransaction`,`MessagePort`,`Notification`,`SVGElementInstance`,`Screen`,`TextTrack`,`TextTrackCue`,`TextTrackList`,`WebSocket`,`Worker`,`XMLHttpRequest`,`XMLHttpRequestEventTarget`,`XMLHttpRequestUpload`],zu=[`setTimeout`,`setInterval`,`requestAnimationFrame`,`requestIdleCallback`],Bu=[`onload`,`onerror`,`onprogress`,`onreadystatechange`],Vu=`addEventListener`,Hu=`removeEventListener`,Uu=`capture-global`,Wu=[`async_error_0`,function(e,t){function n(t,r){if(!U(t))return t;var i={type:Uu,data:R({},r)},a=t._w_||(t._w_=function(){try{return(t.handleEvent&&U(t.handleEvent)?t.handleEvent:t).apply(this,[].map.call(arguments,function(e){return n(e,r)}))}catch(t){var a=Pu(t);throw a&&e({source:i,error:a}),t}});return a._hook_=!0,a}var r=Y(),i=Ec(),a=[];r&&a.push.apply(a,B([],z(zu.filter(function(e){return r[e]}).map(function(e){return Hs(r,e,function(t){return function(r){var i=[...arguments].slice(1);return t&&t.call.apply(t,B([this,n(r,{function:e})],z(i),!1))}},!1)()})),!1)),i&&i.prototype&&a.push(Hs(i.prototype,`send`,function(e){return function(){for(var t=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return Bu.filter(function(e){return t[e]&&!t[e]._hook_}).forEach(function(e){t[e]=n(t[e],{function:e})}),e.apply(this,r)}},!1)()),Ru.forEach(function(e){var t=r&&r[e]&&r[e].prototype;t&&t[Vu]&&(a.push(Hs(t,Vu,function(t){return function(r,i,a){try{var o=i.handleEvent;U(o)&&(i.handleEvent=n(o,{function:`handleEvent`,target:e}))}catch{}return t&&t.call(this,r,n(i,{function:Vu,target:e}),a)}},!1)()),a.push(Hs(t,Hu,function(e){return function(t,n,r){return n!=null&&n._w_&&e.call(this,t,n._w_,r),e.call(this,t,n,r)}},!1)()))}),t(function(){return a.forEach(function(e){return e()})})}],Gu=[`err_0`,function(e,t){var n,r=Y();r&&(n=Z(r,`error`,e,!0),t(function(){n()}))}],Ku=[`perr_0`,function(e,t){var n,r=Y();r&&(n=Z(r,`unhandledrejection`,e,!0),t(function(){n()}))}],qu=function(e,t){return e&&t&&e===t},Ju=function(e,t){return!(!e||!t)&&!(!qu(e.message,t.message)||!qu(e.stack,t.stack))},Yu=function(){var e;return function(t){try{if(Ju(t,e))return void(e=t)}catch(e){Kc(e)}return e=t}},Xu=function(e,t,n,r){function i(t){var n=t.error,r=t.extra,i=t.react,t=t.source;!(n=u?f(n):n)||!n.message||d&&d.test(n.message)||e({ev_type:Fl,payload:{error:n,breadcrumbs:[],extra:r,react:i,source:t}})}var a=z(n,3),o=a[0],s=a[1],c=a[2],l=r.ignoreErrors,n=r.onerror,a=r.onunhandledrejection,u=r.dedupe,r=r.captureGlobalAsync,d=Is(l),f=Yu();return n&&t.push(o[0](function(e){return i({error:Fu(e),source:{type:`onerror`}})})),a&&t.push(s[0](function(e){return i({error:Iu(e),source:{type:`onunhandledrejection`}})})),r&&t.push(c()[0](function(e){i(e)})),function(e,t,n){return i({error:Lu(e),extra:t,react:n,source:{type:`manual`}})}},Zu=`jsError`,Qu={ignoreErrors:[],onerror:!0,onunhandledrejection:!0,captureGlobalAsync:!1,dedupe:!0};function $u(e,t){window.removeEventListener(`error`,e.pcErr,!0),window.removeEventListener(`unhandledrejection`,e.pcRej,!0);var n=sl(t,Qu);n&&(n=Xu(function(t){e.getBreadcrumbs&&(t.payload.breadcrumbs=e.getBreadcrumbs()),e.report(t)},t=[],[q(e,Gu),q(e,Ku),function(){return q(e,Wu)}],n),K(e,Zu,Fl,t),e.provide(`captureException`,n))}function ed(e){e.on(`init`,function(){var t=(t=e.config())?.plugins[Zu];$u(e,t)})}var td=`hidden_3`,nd=function(e){return e.visibilityState===`hidden`},rd=[td,function(e,t){var n,r,i,a=X(),o=Y();a&&o&&(r=nl(a,`visibilitychange`,n=function(t){e(t.type===`pagehide`||nd(a))},!0),i=Z(o,`pagehide`,n,!0),t(function(){r(),i()},function(e){e(nd(a))}))}],id=`load_1`,ad=function(e){return e.readyState===`complete`},od=[id,function(e,t){var n,r,i,a=Y(),o=X();a&&o&&(n=!1,r=V,i=function(){setTimeout(function(){e(),n=!0},0)},ad(o)?i():r=Z(a,`load`,i,!1),t(function(){r()},function(e){n&&e()}))}],sd=[`unload_0`,function(e,t){var n,r,i,a=Y();a&&(n=z(il(e),1)[0],r=function(){n()},i=[],[`unload`,`beforeunload`,`pagehide`].forEach(function(e){i.push(Z(a,e,r,!1))}),t(function(){i.forEach(function(e){return e()})}))}],cd=[`domLoad_1`,function(e,t){var n,r,i=Y(),a=X();i&&a&&(n=!1,r=V,i=function(){setTimeout(function(){e(),n=!0},0)},a.readyState===`loading`?r=nl(a,`DOMContentLoaded`,i,!1):i(),t(function(){r()},function(e){n&&e()}))}],ld=[`activated_0`,function(e,t){var n,r,i,a=X();a&&(n=!1,r=V,i=function(){e(),n=!0},a&&a.prerendering?r=nl(a,`prerenderingchange`,i,!0):i(),t(function(){r()},function(e){n&&e()}))}],ud=`history_0`,dd=`hash_0`,fd=function(e,t){var n,r,i,a=Cc(),o=Y();a&&o&&(r=function(){return e(location.href)},(n=[]).push(Hs(a,`pushState`,i=function(e){return function(){var t=[...arguments];try{e.apply(a,t)}finally{r()}}})(),Hs(a,`replaceState`,i)()),n.push(Z(o,`popstate`,r,!0)),t(function(){n.forEach(function(e){return e()})}))},pd=[dd,function(e,t){var n,r=Y();r&&(n=Z(r,`hashchange`,function(){return e(location.href)},!0),t(function(){n()}))}],md=[ud,fd],hd=function(e){return function(t){return e===`hash`?Ic(t).hash?.replace(/^#/,``)||`/`:Ic(t).path}},gd=function(e){return _d(e,J())},_d=function(e,t){return e+`_`+t},vd=function(e,t,n,r){var i=n,a=t;return r&&r(t),[function(t,n,o){t!==`user_set`&&n!==i?(i=n,a=o??i,r&&r(a),e(t,a)):t===`user_set`&&n!==a&&(a=n,r&&r(a),e(t,a))},function(){t&&e(`init`,t)}]},yd=function(e,t){var n=t;return[function(t,r){r!==n&&e(t,n=r)}]},bd=function(e,t){return{ev_type:Nl,payload:{pid:t,source:e}}},xd=function(e){return function(t,n){e(bd(t,n))}},Sd=function(e){return e===`manual`},Cd=`error_weight`,wd=`duration_apdex`,Td=`perf_apdex`,Ed=`action`,Dd=function(){var e={error_count:[0,0,0,0],duration_count:[0,0,0]};return e[Td]={},e},Od=function(e,t){var n=e[0]+e[1]+e[2],r=e[0]/n;return e[2]/n>t.frustrating_threshold?2:r>t.satisfying_threshold||n===0?0:1},kd=function(){var e=0,t=void 0;return[function(n){n?t&&(e+=J()-t,t=void 0):t=J()},function(){t&&(e+=J()-t);var n=e;return e=0,t=J(),n}]},Ad=function(e,t){return function(n,r){var i=n.payload;switch(n.ev_type){case zl:var a=i.name;i.isSupport&&e(r[Td],a,i.value);break;case Ul:e(r[Td],Ed,i.duration||0);break;case Fl:t(r[Cd],0);break;case Q:i.response.is_custom_error||400<=i.response.status?t(r[Cd],1):(a=i.response.timing)&&e(r[wd],0,a.duration);break;case Il:t(r[Cd],2);break;case Hl:t(r[Cd],3);break;case Ll:e(r[wd],1,i.duration);break;case Vl:i.longtasks.forEach(function(t){e(r[wd],2,t.duration)})}}},jd=function(){function e(){t=[0,0,0],n=Dd()}var t,n;return e(),[function(e,r,i){var a=e&&e[r];!a||i<=0||(e=i<(a[0].threshold||0)?0:i>(a[1].threshold||0)?2:1,t[e]+=a[e].weight,typeof r==`string`?(i=_d(r,e),a=n[Td][i],n[Td][i]=(a||0)+1):e==2&&(n.duration_count[r]+=1))},function(e,r){e&&(t[2]+=e[r],n.error_count[r]+=1)},function(){return[t,n]},e]},Md=function(){var e={start:J(),end:0,time_spent:0,is_bounced:!1,entry:``,exit:``,p_count:0,a_count:0};return[function(t,n){var r=z(t,3),i=r[0],t=r[1],r=r[2];e.end=J(),e.time_spent+=n&&n.time_spent||0,e.last_page=n,e.p_count+=1,e.rank=i,e.apdex=t,e.apdex_detail=r,r=X(),r&&(e.is_bounced=!ad(r))},function(t,n){e.time_spent+=t.time_spent,e.p_count+=1,e.exit=n},function(){e.a_count+=1},function(t){e.entry=t,e.exit=t},function(){return e}]},Nd=function(e,t,n,r){var i,a,o=r.sendInit,s=r.initPid,c=r.routeMode,l=r.extractPid,r=r.onPidUpdate,u=Sd(c)?function(){return``}:hd(c),d=l||function(){},r=z(vd(xd(e),s||(i=location.href,d(i)??u(i)),u(location.href),r),2),f=r[0],r=r[1];return Sd(c)||(a=z(yd(function(e,t){return f(e,u(t),d(t))},``),1)[0],n.length&&n.forEach(function(e){return t.push(e[0](function(e){return a(c,e)}))})),o&&r(),[f.bind(null,`user_set`)]},Pd=function(e,t,n,r){var i=z(n,2),a=i[0],o=i[1],s=r.apdex===2,c=void 0,l=void 0,u=void 0,d=!1,f=z(jd(),4),p=f[0],m=f[1],h=f[2],g=f[3],n=z(jd(),4),i=n[0],r=n[1],_=n[2],v=n[3],f=z(Md(),5),y=f[0],ee=f[1],b=f[2],te=f[3],ne=f[4],n=z(kd(),2),f=n[0],x=n[1];t.push(a[0](f)),s||t.push(o[0](function(){var t,n,r;d&&(t=(r=z(_(),2))[0],n=r[1],r=Od(t,u),y([r,t,n],ae()),e({ev_type:Pl,payload:ne()}),v())}));var re=Ad(p,m),ie=Ad(i,r),ae=function(){var e=z(h(),2),t=e[0],e=e[1];return{start:c[0],pid:c[1],view_id:c[2],end:J(),time_spent:x(),apdex:t,rank:Od(t,u),detail:e}};return t.push(function(){d=!1}),[function(e,t){if(!c)return c=[J(),e,t],te(e),void(d=!(!u||!c));d&&(l=ae(),ee(l,e)),c=[J(),e,t],g()},function(e){d&&(s||(ie(e,u),e.ev_type===Ul&&b()),e.common.pid===c[1]&&re(e,u))},function(t){d&&(t.payload.last=l),e(t)},function(e){if(!e)return t.forEach(function(e){return e()}),void(t.length=0);d=!(!(u=e)||!c)}]},Fd=`pageview`,Id={sendInit:!0,routeMode:`history`,apdex:2};function Ld(e,t){var n,r,i,a,o,s,c,l,u,d,f=sl(t,Id);f&&Sc()&&(n=f.routeMode,o=f.apdex,l=e.report.bind(e),c=V,o&&(r=[],t=(i=z(Pd(e.report.bind(e),r,[q(e,rd),q(e,sd)],f),4))[0],a=i[1],o=i[2],s=i[3],l=o,c=t,e.on(`send`,a),r.push(function(){return e.off(`send`,a)}),e.on(`start`,function(){s(e.config().apdex)}),K(e,Fd,Pl,r)),u=z(Nd(l,l=[],Sd(n)?[]:[e.initSubject(pd),e.initSubject(md)],R(R({},f),{initPid:(f=e.config())?.pid,onPidUpdate:function(t){var n=gd(t);c(t,n),e.set({pid:t,viewId:n,actionId:void 0})}})),1)[0],xc(e,[Uc,Wc(e)],-1),d=function(){u(e.config().pid)},e.on(`config`,d),l.push(function(){return e.off(`config`,d)}),K(e,Fd,Nl,l),e.provide(`sendPageview`,u))}function Rd(e){e.on(`init`,function(){var t=(t=e.config())?.plugins[Fd];Ld(e,t)})}var zd=`resource`,Bd=[`xmlhttprequest`,`fetch`,`beacon`],Vd=function(e,t,n,r){var i,a,o,s,c=z(n,2),n=c[0],l=c[1],u=wc();u&&(c=r.ignoreUrls,i=r.slowSessionThreshold,a=r.ignoreTypes,o=Is(c),s=function(t,n){n===void 0&&(n=!1),G(a||Bd,t.initiatorType)||o&&o.test(t.name)||(t={ev_type:Ll,payload:t},n&&(t.extra={sample_rate:1}),e(t))},t.push(n[0](function(){var e=z(Yc(u),3),n=e[0],e=e[2],r=function(){if(!n)return!1;var e=n.loadEventEnd-n.navigationStart;return i<e}();e(zd).forEach(function(e){return s(e,r)}),t.push(l()[0](function(e){s(e)}))})))},Hd=`resource`,Ud={ignoreUrls:[],slowSessionThreshold:4e3};function Wd(e,t){var n=sl(t,Ud);n&&(t=[],Vd(e.report.bind(e),t,[q(e,od),function(){return q(e,Ml)}],n),K(e,Hd,Ll,t))}function Gd(e){e.on(`init`,function(){var t=(t=e.config())?.plugins[Hd];Wd(e,t)})}function Kd(e){return e.tagName.toLowerCase()===`link`}function qd(e,t){return U(e.getAttribute)?e.getAttribute(t)||``:e[t]||``}var Jd=function(e){return qd(e,Kd(e)?`href`:`src`)},Yd=function(e,t){var n=e.target||e.srcElement;if(n&&(e=n.tagName,e&&W(e)))return{url:Jd(n),tagName:e,xpath:t?el(n):void 0}},Xd=function(e,t){var n=e.url,r=e.tagName,e=e.xpath,n=Fc(n),t=t(n)[0];return{type:r.toLowerCase(),url:n,xpath:e,timing:t}},Zd=function(e,t,n,r){var i=z(n,1)[0],a=Y();if(a){function p(t){var n=location&&location.href;n&&t.url===n||l&&!l.test(t.url)||u&&u.test(t.url)||t.url&&(s&&t.url===f||(f=t.url,(t=Xd(t,d))&&e({ev_type:Il,payload:t})))}var o=r.ignoreUrls,n=r.includeUrls,s=r.dedupe,c=r.gatherPath,l=Is(n),u=Is(o),d=z(Yc(wc()),5)[4],f=void 0;return t.push(i[0](function(e){e=e||a.event,!e||(e=Yd(e,c))&&p(e)})),p}},Qd=`resourceError`,$d={includeUrls:[],ignoreUrls:[],dedupe:!0,gatherPath:!1};function ef(e,t){var n=sl(t,$d);n&&(t=[],n=Zd(e.report.bind(e),t,[q(e,Gu)],n),K(e,Qd,Il,t),n&&e.provide(`reportResourceError`,n))}function tf(e){e.on(`init`,function(){var t=(t=e.config())?.plugins[Qd];ef(e,t)})}var nf={isSupport:!0,isPolyfill:!1,isBounced:!1,isCustom:!1,type:`perf`},rf=function(e,t){return R({name:e,value:t},nf)},af=function(e,t,n){var r=!1;return function(i){n.length&&n.forEach(function(e){e()}),n.length=0,r||(r=!0,t&&t(e(i)))}},of=function(e,t){return{ev_type:zl,payload:e,overrides:t}},sf=function(e){return{ev_type:Vl,payload:{type:`perf`,longtasks:[e]}}},cf=function(e){return function(t,n){e(of(t,n))}},lf=`spa_load`,uf=function(e){var t=0,n=rf(lf,0);return[function(){t=J()},function(){n.value=J()-t,e&&e(of(n)),t=0}]},df=function(){return(0,z(Yc(wc()),3)[2])(`navigation`)[0]},ff=function(){var e=df();return e&&e.activationStart||0};function pf(e){var t,n,e=(e=e?.sources)?.filter(function(e){return!!e.node});if(e&&e.length){if(e.length===1)return e[0].node;var r,i=0;try{for(var a=us(e),o=a.next();!o.done;o=a.next()){var s=o.value,c=mf(s);i<c&&(i=c,r=s.node)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r}}var mf=function(e){var t,n,r,i,a,o,s,c,l=e.previousRect,u=e.currentRect,d=window.innerWidth*window.devicePixelRatio,f=window.innerHeight*window.devicePixelRatio;return(t=Math.max(u.left,l.left),n=Math.min(u.right,l.right),r=Math.max(u.top,l.top),i=Math.min(u.bottom,l.bottom),r=i-r,r=(t=n-t)<=0||r<=0?0:t*r,Math.min((u.width*u.height+l.width*l.height-r)/(f*d),1))*(a=u.x===0&&u.y===0&&u.width===0&&u.height===0?{x:u.x,y:f}:{x:u.x,y:u.y},o=a.x,s=a.y,c=l.x===0&&l.y===0&&l.width===0&&l.height===0?{x:l.x,y:f}:{x:l.x,y:l.y},a=c.x,c=c.y,s=Math.max(Math.abs(o-a),Math.abs(s-c)),c=Math.max(d,f),Math.min(s/c,1))},hf=`first-contentful-paint`,gf=`first-paint`,_f=`fp`,vf=`fcp`,yf=`paint`,bf=function(e,t,n){return Sf(gf,_f,e,t,n)},xf=function(e,t,n){return Sf(hf,vf,e,t,n)},Sf=function(e,t,n,r,i){var i=z(i,3),a=i[0],o=i[1],s=i[2],c=Oc(),l=wc(),u=X(),d=rf(t,0),f=af(of,n,r);if(!l||!c||!u)return d.isSupport=!1,void f(d);function p(){if(nd(u))return d.isSupport=!1,void f(d);function t(e){var t=e.startTime,e=ff();d.value=t<e?0:t-e,f(d)}var n,i,a=(0,z(Yc(l),5)[4])(e)[0];a?t(a):(r.push(kl(c,function(n){n.name===e&&t(n)},[yf])),a=s(),r.push(a[0](function(){d.isBounced=!0,f(d)})),n=function(e){e&&f(d)},i=o(),r.push(function(){return i[1](n)}),i[0](n))}r.push(function(){return a[1](p)}),a[0](p)},Cf=[_f,bf],wf=[vf,xf],Tf=`tti`,Ef=`get`,Df=5e3,Of=function(e){function t(t){t<r||!n||(a(),i=window.setTimeout(n,t-e()),r=t)}var n,r=-1/0,i=void 0,a=function(){return window.clearTimeout(i)};return[function(e,r){n=e,t(r)},function(){a(),n=void 0},t]},kf=function(e,t,n){if(2<e.length)return n();for(var r=[],i=0;i<t.length;i++)r.push([t[i].start,0],[t[i].end,1]);for(i=0;i<e.length;i++)r.push([e[i],0]);r.sort(function(e,t){return e[0]-t[0]});for(var a=e.length,i=r.length-1;0<=i;i--){var o=z(r[i],2),s=o[0];switch(o[1]){case 0:a--;break;case 1:if(2<++a)return s}}return 0},Af=function(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++){var i=e[t[r]];typeof i==`number`&&n.push(i)}return n},jf=function(e,t){var n=[`img`,`script`,`iframe`,`link`,`audio`,`video`,`source`],e=z(qc(e,function(e){for(var r=0;r<e.length;r++)(e[r].type===`childList`&&function e(t,n){for(var r=0;r<t.length;r++)if(G(n,t[r].nodeName.toLowerCase())||t[r].children&&e(t[r].children,n))return 1}(e[r].addedNodes,n)||e[r].type===`attributes`&&G(n,e[r].target.nodeName.toLowerCase()))&&t(e[r])}),2),r=e[0];return[function(){return r(document,{attributes:!0,childList:!0,subtree:!0,attributeFilter:[`href`,`src`]})},e[1]]},Mf=function(e){var t=e||{},e=t.domContentLoadedEventEnd,t=t.navigationStart;return e?e-(t===void 0?0:t):null},Nf=function(e,t,n,r,i){return r-n<Df?null:(i=i.length===0?e:i[i.length-1].end,r-i<Df?null:Math.max(i,t))},Pf=function(e,t){var n=e.startTime,r=e.duration;e.start=n,e.end=n+r,t.push(e)},Ff=function(e,t,n){var t=z(t,5),r=t[0],i=t[1],a=t[2],o=t[3],s=t[4];return function(t,c){var l=[],u=[],d=z(Ps(),3),f=d[0],p=d[1],m=d[2];n.forEach(function(e){e.entryType===Dl[0]&&Pf(e,l)});var h=0;e.push(r[0](function(e){if((z(e,1)[0]||``).toLowerCase()!==Ef)return V;var t=h+=1;return p(t,J()),function(){m(t)}})),e.push(i[0](function(e){var t=z(e,2),e=t[0],t=t[1];if(!window.Request||Eu(e,t,window.Request)!==Ef)return V;var n=h+=1;return p(n,J()),function(){m(n)}}));var g=z(s&&jf(s,function(){return t(c()+Df)})||[],2),d=g[0],g=g[1];d&&d();function _(){return kf(Af(f),u,c)}return g&&e.push(g),e.push(a[0](function(e){Pf(e,l);var n=e.startTime,e=e.duration;t(n+e+Df)})),e.push(o[0](function(e){var n=e.fetchStart,e=e.responseEnd;u.push({start:n,end:e}),t(_()+Df)})),e.push(function(){l.length=0,u.length=0}),[l,_]}},If=function(e,t,n,r){var i=z(n,5),a=i[0],o=i[1],s=i[2],c=i[3],l=i[4],u=rf(Tf,0),d=af(of,e,t),n=wc(),i=Oc(),e=r||{},r=e.entries,f=r===void 0?[]:r,p=e.observer;if(t.push(function(){p&&p.disconnect(),f.length=0}),!window||!XMLHttpRequest||!n||!i||i.supportedEntryTypes&&!G(i.supportedEntryTypes||[],Dl[0]))return u.isSupport=!1,void d(u);var e=z(Yc(n),5),m=e[0],h=e[1],g=e[4],i=z(Of(h),3),n=i[0],e=i[1],_=i[2],c=z(Ff(t,[a,o,s,c,Dc()],f)(_,h),2),v=c[0],y=c[1];t.push(e);function ee(e){u.value=e,d(u)}e=v[v.length-1],n(function(){return function(e){var t=g(hf)[0],t=Nf((t?t.startTime:Mf(m))||0,Mf(m)||0,y(),h(),v);if(!t)return _(h()+1e3);e(t)}(ee)},Math.max(y()+Df,e?e.end:0)),t.push(l[0](function(){u.isSupport=!1,d(u)}))},Lf=`tti`;function Rf(e){var t=[];If(Bc(e),t,[q(e,[gl,Sl(XMLHttpRequest&&XMLHttpRequest.prototype)]),q(e,Tl),q(e,jl),q(e,Ml),xc(e,[Vc,Hc(e)])],e.pp),K(e,Lf,zl,t)}function zf(e){e.on(`init`,function(){ru(e,Lf,{})&&Rf(e)})}var Bf=`fmp`,Vf=[`SCRIPT`,`STYLE`,`META`,`HEAD`],Hf=function(e,t,n,r){if(!e||-1<r.indexOf(e.tagName))return 0;var i=e.children,i=[].slice.call(i===void 0?[]:i).reduceRight(function(e,n){return e+Hf(n,t+1,0<e,r)},0);return i<=0&&!n&&(!U(e.getBoundingClientRect)||(n=e.getBoundingClientRect()||{},e=n.top,n=n.height,e>window.innerHeight||n<=0))?0:i+1+.5*t},Uf=function(e){var t=z(e===void 0?[]:e),e=t[0],t=t.slice(1);return t&&t.reduce(function(e,t){var n=z(e,2),r=n[0],e=n[1],n=t.score-r.score;return[t,t.time>=r.time&&e.rate<n?{time:t.time,rate:n}:e]},[e,{time:e?.time,rate:0}])[1].time||0},Wf=function(e,t,n){var r=z(n,2),i=r[0],a=r[1],o=X(),s=Dc(),n=wc(),r=n&&n.timing&&n.timing.navigationStart||void 0,c=rf(Bf,0),l=af(of,e,t);if(!o||!s||!r)return c.isSupport=!1,void l(c);function u(){return f.push({time:J()-d,score:Hf(o&&o.body,1,!1,Vf)})}var d=J(),f=[],n=Ac(),e=jc(),p=z(Jc(o,n,e,!0),1)[0],e=z(qc(s,function(){return p(u)}),2),s=e[0],e=e[1],m=d-(r||0);s(o,{subtree:!0,childList:!0}),t.push(e),t.push(a[0](function(){c.isSupport=!1,l(c)})),t.push(i[0](function(){rl(window.setTimeout(function(){(function(e){e===void 0&&(e=0);var t=Uf(f);c.value=t?t+e:0,l(c),f.length=0})(m)},200),t)}))},Gf=`fmp`,Kf={renderType:`CSR`};function qf(e,t){var n=[];(t=t===void 0?Kf:t).renderType===`SSR`?Sf(gf,Gf,Bc(e),n,[q(e,ld),function(){return q(e,rd)},function(){return q(e,sd)}]):Wf(Bc(e),n,[q(e,od),xc(e,[Vc,Hc(e)])]),K(e,Gf,zl,n)}function Jf(e){e.on(`init`,function(){var t=ru(e,Gf,Kf);t&&qf(e,t)})}var Yf=`largest-contentful-paint`,Xf=`lcp`,Zf=[`keydown`,`click`],Qf=[Xf,function(e,t,n){var n=z(n,3),r=n[0],i=n[1],a=n[2],o=Oc(),s=X(),c=rf(Xf,0),l=af(of,e,t);if(!o||!s)return c.isSupport=!1,void l(c);function u(){if(nd(s))return c.isSupport=!1,void l(c);function e(){setTimeout(function(){l(c)},0)}t.push(Al(o,function(e){var t=e.startTime,n=e.element,e=ff();if(c.value=t<e?0:t-e,n)try{c.extra={element:el(n)}}catch{}},Yf)),Zf.forEach(function(n){t.push(nl(s,n,e,!0))});var n=a();function r(e){e&&l(c)}t.push(n[0](function(){c.value===0&&(c.isBounced=!0),l(c)}));var u=i();t.push(function(){return u[1](r)}),u[0](r)}t.push(function(){return r[1](u)}),r[0](u)}],$f=`first-input`,ep=`layout-shift`,tp=`cls`,np=function(){var e=0,t=[],n=void 0;return[function(){e=0},function(r,i){var a,o;i.hadRecentInput||(a=t[0],o=t[t.length-1],n=e&&i.startTime-o<1e3&&i.startTime-a<5e3?(e+=i.value,t.push(i.startTime),i.value>n.value?i:n):(e=i.value,t=[i.startTime],i),r(e,n))}]},rp=[tp,function(e,t,n){var r=z(n,4),i=r[1],a=r[2],n=r[3],r=Oc(),o=rf(tp,0),s=cf(e);if(!r)return o.isSupport=!1,void s(o);var e=z(np(),2),c=e[0],e=e[1].bind(null,function(e,t){if(e>o.value){o.value=e;try{var n=pf(t);o.extra=n?{element:el(n)}:void 0}catch{}}});t.push(Al(r,e,ep)),i=i(),t.push(i[0](function(e){e&&c()})),n=n(),t.push(n[0](function(e){s(o,e),c(),o=rf(tp,0)})),a=a(),t.push(a[0](function(){s(o)}))}],ip=`event`,ap=`inp`,op=10,sp=function(e,t){var n=0,r=1/0,i=0;return t.push(Al(e,function(e){e.interactionId&&(r=Math.min(r,e.interactionId),i=Math.max(i,e.interactionId),n=i?(i-r)/7+1:0)},ip,0)),[function(){return n}]},cp=[ap,function(e,t,n){var r=z(n,4),n=r[0],i=r[2],a=r[3],o=Oc(),s=kc(),r=wc(),c=rf(ap,0),l=cf(e);if(!o||!s||!r)return c.isSupport=!1,void l(c);function u(){m=_(),h=[],g={}}function d(e){var t=h[h.length-1],n=g[e.interactionId],r=!h.length||e.duration>h[0].latency;(n||h.length<op||e.duration>t.latency)&&(n?(n.entries.push(e),n.latency=Math.max(n.latency,e.duration),r&&!n.element&&e.target&&(n.element=el(e.target))):(n={id:e.interactionId,latency:e.duration,entries:[e]},r&&e.target&&(n.element=el(e.target)),g[n.id]=n,h.push(n)),h.sort(function(e,t){return t.latency-e.latency}),h.splice(op).forEach(function(e){delete g[e.id]}))}function f(){var e=(e=Math.min(h.length-1,Math.floor(v()/50)),h[e]);e&&(c.value=e.latency,e.element?c.extra={element:e.element}:(e=e.entries[0].target)&&(c.extra={element:el(e)}))}function p(e){e.interactionId&&d(e),e.entryType!==`first-input`||h.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||d(e)}var m=0,h=[],g={},_=z(sp(o,t),1)[0],v=function(){return _()-m};t.push(n[0](function(){t.push(Al(o,p,ip,40)),`interactionId`in s.prototype&&t.push(Al(o,p,$f));var e=a();t.push(e[0](function(e){f(),l(c,e),u(),c=rf(ap,0)})),e=i(),t.push(e[0](function(){f(),l(c)})),t.push(u)}))}],lp=`longtask`,up=[lp,function(e,t,n){n=z(n,4)[3],t.push(n[0](function(t){e(sf(t))}))}],dp=`timing`,fp=[dp,function(e,t,n){var r=z(n,3),i=r[0],a=r[1],n=r[2],r=wc(),r=z(Yc(r),3),o=r[0],s=r[1],c=r[2],l=af(function(e){var t=c(`navigation`)[0],n=t&&t.responseStart;return(!n||n<=0||n>s())&&(t=void 0),{ev_type:Bl,payload:{isBounced:e,timing:o,navigation_timing:t}}},e,t);t.push(n[0](function(){l(!0)}));function u(){function e(){l(!1)}var n=a();t.push(function(){return n[1](e)}),n[0](e)}t.push(function(){return i[1](u)}),i[0](u)}];cp[0];var pp=[`SCRIPT`,`STYLE`,`META`,`HEAD`],mp=[Fl,Q,Il],hp=1.5,gp=1e4,_p=8e3,vp=4e3,yp=1e4,bp=.1,xp=4,Sp=[zl,Vl,Bl,Rl],Cp=function(e){return~Sp.indexOf(e.ev_type)},wp=function(e,t){if(mp.indexOf(t.ev_type)===-1||t.ev_type===Q&&t.payload.response.status<400||e&&mp.indexOf(e.type)<mp.indexOf(t.ev_type))return e;var n=``;switch(t.ev_type){case Fl:n=t.payload.error.message;break;case Q:n=t.payload.request.url;break;case Il:n=t.payload.url}return{type:t.ev_type,message:n,timestamp:J()}},Tp=function(e,t){return~pp.indexOf(e.tagName)||xp<t},Ep=function(e){return e=e.getBoundingClientRect(),{width:e.width,height:e.height,top:e.top}},Dp=function(e){return e?document.querySelector(e):document.body},Op=function(e,t,n,r){if(t===void 0&&(t=0),n===void 0&&(n=0),r===void 0&&(r=hp),!e||Tp(e,t)||r<=n)return n;var i=function(){if(!t)return 0;var n=Ep(e),r=n.top,n=n.height;return r>innerHeight||n<=0?0:1/(1<<t-1)}();return[].reduceRight.call(e.children,function(e,n){return Op(n,t+1,e,r)},n+i)};function kp(e,t,n){if(t===void 0&&(t=0),n===void 0&&(n=!0),!e||Tp(e,t))return``;var r=R(R({},Ep(e)),{id:e.getAttribute(`id`),class:e.getAttribute(`class`)}),i=Object.keys(r).reduce(function(e,t){return e+(Ss(r[t])||r[t]?` `+t+`="`+r[t]+`"`:``)},``),a=e.tagName.toLowerCase(),e=[].reduce.call(e.children,function(e,n){return e+kp(n,t+1,!1)},``);return`<`+a+i+(n?` innerHeight="`+innerHeight+`" visibilityState="`+document.visibilityState+`"`:``)+`>`+e+`</`+a+`>`}var Ap=function(e){var t=e.cb,n=e.screenshotUrl,r=e.window,i=e.document,a=e.mask,o=e.partialShot,s=e.quality,c=e.rootSelector;if(Tc()&&r&&i){if(r.html2canvas)return l();e=i.createElement(`script`),e.src=n,e.crossOrigin=`anonymous`,e.onload=l,e.onerror=function(){t()},(n=i.head)!=null&&n.appendChild(e)}function l(){Xc(r)(function(){r.html2canvas&&r.html2canvas(o&&c&&i.querySelector(c)||i.body,{scale:360/r.innerWidth,mask:a,useCROS:!0}).then(function(e){t(jp(e.toDataURL(`image/jpeg`,s)))}).catch(function(){t(Mp())})})}};function jp(e){return e.slice(0,10)===`data:image`?e:Mp()}function Mp(e,t){e===void 0&&(e=192),t===void 0&&(t=108);var n=document.createElement(`canvas`);n.width=e,n.height=t;var r=n.getContext(`2d`);return r&&(r.fillStyle=`#ffffff`,r.fillRect(0,0,e,t)),n.toDataURL(`image/jpeg`)}var Np=function(e,t,n,r){function i(n,r){le||(o=de())&&(le=!0,t.forEach(function(e){return e()}),t.length=0,e({ev_type:Hl,payload:{timestamp:o[0],score:o[1],screenshot:r,error:s,serialized_dom:kp(Dp(ee))},overrides:{timestamp:n||o[0]}}))}function a(){u&&clearTimeout(u),c&&clearTimeout(c),c=ae.setTimeout(function(){l=C(function(){(o=de())&&fe()})},1e3)}var o,s,c,l,u,d,f,p=z(n,5),m=p[0],h=p[1],g=p[2],_=p[3],v=p[4],y=r.threshold,n=r.screenshot,ee=r.rootSelector,p=r.autoDetect,b=r.ssUrl,te=r.quality,ne=r.mask,x=r.partialShot,re=r.initDetTime,ie=r.runDetTime,ae=Y(),S=X(),C=ae.requestAnimationFrame||V,oe=ae.cancelAnimationFrame||V,se=z(Yc(performance),2)[1],ce=0,le=!1,ue=!n,de=function(){var e=Dp(ee);if(e)return e=Op(e,0,0,y),e<y?[J(),e]:void 0},fe=(d=function(){o&&!le&&(ue?i():(ue=!0,Ap({cb:i.bind(null,J()),screenshotUrl:b,window:ae,document:S,mask:ne,partialShot:x,quality:te,rootSelector:ee})))},function(){u&&clearTimeout(u),f=J(),u=ae.setTimeout(function(){(f<ce?a:d)()},se()>gp?ie:re)});return t.push(v[0](function(){s&&i()})),p&&t.push(m[0](function(){var e=h();t.push(e[0](function(){var e=z(qc(Dc(),a),2),n=e[0],r=e[1];t.push(function(){clearTimeout(c),clearTimeout(u),oe(l),r&&r()}),n((n=X())?.body,{subtree:!0,childList:!0}),t.push(g()[0](function(){c&&a()})),t.push(_()[0](function(){c&&a()})),a()}))})),[function(e){le||Cp(e)||(ce=J(),s&&ce-s.timestamp>yp&&(s=void 0),s=wp(s,e))},a]},Pp=`blankScreen`;function Fp(e,t){var n,r,i=X(),a=Y();i&&a&&(a=[],t=z(Np(e.report.bind(e),a,[q(e,ld),function(){return q(e,cd)},function(){return q(e,jl)},function(){return q(e,Ml)},q(e,sd)],t),2),n=t[0],t=t[1],e.on(`report`,r=function(e){return n(e),e}),a.push(function(){e.off(`report`,r)}),K(e,Pp,Hl,a),e.provide(`detectBlankScreen`,t))}function Ip(e,t){e.on(`init`,function(){var n={autoDetect:!0,threshold:hp,screenshot:!0,ssUrl:`https://apm.volccdn.com/mars-web/apmplus/web/html2canvas.min.js`,mask:!1,partialShot:!0,quality:bp,initDetTime:_p,runDetTime:vp},n=t?sl(t,n):ru(e,Pp,n);n&&Fp(e,n)})}var Lp={entries:[],observer:void 0},Rp=`performance`;function zp(e){e.on(`init`,function(){var t=e.pp||Lp;(u=t.observer)!=null&&u.disconnect();var n,r,i,a,o,s,c,l,u,d,f,p=ru(e,Rp,{});p&&(n=function(){return q(e,ld)},r=function(){return q(e,rd)},i=function(){return q(e,sd)},a=q(e,od),o=q(e,jl),s=void 0,xc(e,[Uc,Wc(e)],-1)[0](function(e){s=e})(),c=function(t){t=t.ev_type===zl&&(t.payload.name===rp[0]||t.payload.name===cp[0])||t.ev_type===Vl?t:R(R({},t),{overrides:s}),e.report(t)},l=function(){return xc(e,[Vc,Hc(e)])},[Cf,wf,Qf,cp,rp].forEach(function(t){!1!==p[t[0]]&&(t[1](c,t=[],[n(),r,i,l]),K(e,Rp,zl,t))}),[up,fp].forEach(function(t){var r;!1!==p[t[0]]&&(t[1](c,r=[],[a,n,i(),o]),t=t[0]===lp?Vl:t[0]===dp?Bl:zl,K(e,Rp,t,r))}),u=(d=z(uf(e.report.bind(e)),2))[0],d=d[1],e.provide(`performanceInit`,u),e.provide(`performanceSend`,d),t.entries.length=0,f=function(t){var n=R(R(R({},nf),t),{isCustom:!0}),t=hl(f);t&&Object.assign(n,{stacks:t}),e.report(of(n))},e.provide(`sendCustomPerfMetric`,f))})}var Bp=`event`,Vp=`log`,Hp=function(e){if(e&&H(e)&&e.name&&W(e.name)){var t={name:e.name,type:Bp};if(`metrics`in e&&H(e.metrics)){var n=e.metrics,r={};for(i in n)Ss(n[i])&&(r[i]=n[i]);t.metrics=r}if(`categories`in e&&H(e.categories)){var i,a=e.categories,o={};for(i in a)o[i]=zs(a[i]);t.categories=o}return`attached_log`in e&&W(e.attached_log)&&(t.attached_log=e.attached_log),t}},Up=function(e){if(e&&H(e)&&e.content&&W(e.content)){var t={content:zs(e.content),type:Vp,level:`info`};if(`level`in e&&(t.level=e.level),`extra`in e&&H(e.extra)){var n,r=e.extra,i={},a={};for(n in r)Ss(r[n])?i[n]=r[n]:a[n]=zs(r[n]);t.metrics=i,t.categories=a}return`attached_log`in e&&W(e.attached_log)&&(t.attached_log=e.attached_log),t}},Wp=function(e){function t(n){var r=Hp(n);r&&((n=hl(t))&&(r.stacks=n),e.report({ev_type:Rl,payload:r,extra:{timestamp:J()}}))}e.provide(`sendEvent`,t),e.provide(`sendLog`,function(t){t=Up(t),t&&e.report({ev_type:Rl,payload:t,extra:{timestamp:J()}})})},Gp=function(e){var t=Nc(),n=Pc(t);t&&(t.onchange=function(){n=Pc(t)}),e.on(`report`,function(e){return R(R({},e),{extra:R(R({},e.extra||{}),{network_type:n})})})},Kp=function(e,t){var n=e.common||{};return n.sample_rate=t,e.common=n,e},qp=function(e,t,n,r,i){return e?(a=i(r,t),function(){return a}):function(){return n(t)};var a},Jp=function(e,t){return e.map(function(e){switch(t){case`number`:return Number(e);case`boolean`:return e===`1`;default:return String(e)}})},Yp=function(e,t,n){switch(n){case`eq`:return G(t,e);case`neq`:return!G(t,e);case`gt`:return e>t[0];case`gte`:return e>=t[0];case`lt`:return e<t[0];case`lte`:return e<=t[0];case`regex`:return!!e.match(new RegExp(t.join(`|`)));case`not_regex`:return!e.match(new RegExp(t.join(`|`)));default:return!1}},Xp=function(e,t,n,r){return e=Ms(e,t,function(e,t){return e[t]}),e===void 0?!1:(t=xs(e)?`bool`:Ss(e)?`number`:`string`,Yp(e,Jp(r,t),n))},Zp=function(e,t){try{return t.type===`rule`?Xp(e,t.field,t.op,t.values):t.type===`and`?t.children.every(function(t){return Zp(e,t)}):t.children.some(function(t){return Zp(e,t)})}catch(e){return Kc(e),!1}},Qp=function(e,t,n,r,i,a){var o={};return Object.keys(e).forEach(function(s){var c=e[s],l=c.enable,u=c.sample_rate,c=c.conditional_sample_rules;l?(o[s]={enable:l,sample_rate:u,effectiveSampleRate:u*n,hit:qp(t,u,r,i,a)},c&&(o[s].conditional_hit_rules=c.map(function(e){var o=e.sample_rate,e=e.filter;return{sample_rate:o,hit:qp(t,o,r,i,a),effectiveSampleRate:o*n,filter:e}}))):o[s]={enable:l,hit:function(){return!1},sample_rate:0,effectiveSampleRate:0}}),o},$p=function(e,t,n,r,i){if(!t)return hs;var a=t.sample_rate,o=t.include_users,s=t.sample_granularity,c=t.rules,t=t.r,t=t===void 0?Math.random():t;if(G(o,e))return function(e){return Kp(e,1)};var l=s===`session`,u=qp(l,a,n,t,r),d=Qp(c,l,a,n,t,r);return function(e){if(!u())return l&&i[0](),!1;if(!(e.ev_type in d))return Kp(e,a);if(!d[e.ev_type].enable)return l&&i[1](e.ev_type),!1;if((t=e.common)!=null&&t.sample_rate)return e;var t=d[e.ev_type],n=t.conditional_hit_rules;if(n){for(var r=0;r<n.length;r++)if(Zp(e,n[r].filter))return!!n[r].hit()&&Kp(e,n[r].effectiveSampleRate)}return t.hit()?Kp(e,t.effectiveSampleRate):(n&&n.length||!l||i[1](e.ev_type),!1)}},em=function(e){e.on(`start`,function(){var t=e.config(),n=t.userId,t=t.sample,t=$p(n,t,Ys,Xs,[function(){e.destroy()},function(t){e.destroyAgent.removeByEvType(t)}]);e.on(`build`,t)})},tm=function(){var e=Y();return e&&e.navigator.sendBeacon?{get:function(){},post:function(t,n){e.navigator.sendBeacon(t,n)}}:{get:V,post:V}};function nm(e){return e=Error(e),e.name=`ReqeustServerError`,e}function rm(e){return e=Error(e),e.name=`RequestNetworkError`,e}var im=function(e,t,n){var r=t.url,i=t.data,a=t.success,o=a===void 0?V:a,a=t.fail,s=a===void 0?V:a,a=t.getResponseText,c=a===void 0?V:a,t=t.withCredentials,t=t!==void 0&&t,n=new n;n.withCredentials=t,n.open(e,r,!0),n.setRequestHeader(`Content-Type`,`application/json`),n.onload=function(){c?.(this.responseText);try{var e;400<=this.status?s(nm(this.responseText||this.statusText)):this.responseText?(e=JSON.parse(this.responseText),o(e)):o({})}catch(e){s(e)}},n.onerror=function(){s(rm(`Network request failed`))},n.onabort=function(){s(rm(`Network request aborted`))},n.send(i)},am=function(){var e=Ec();return e?{useBeacon:!0,get:function(t){im(`GET`,t,e)},post:function(t){im(`POST`,t,e)}}:{get:V,post:V}};function om(e){var t=ms(e),n=t.send;return al(function(){var r,i;e.transport.useBeacon?(r=tm(),(i=t.getBatchData())&&(r.post(t.getEndpoint(),i),t.clear()),t.send=function(e){r.post(t.getEndpoint(),ps([e]))},ol(function(){t.send=n})):t.flush()}),t}var sm=`apmplus.volces.com`,cm=`2.10.1`,lm=`APM_PLUS_WEB`,um=`/settings/get/webpro`,dm=`/monitor_web/collect`,fm=`APMPLUS`,pm=[dm,um,`/monitor_browser/collect`],mm=`session`,hm={sample_rate:1,include_users:[],sample_granularity:mm,rules:{}};function gm(e,t){return e.plugins.filter(function(e){return e.name===t&&e.version===`2.10.1`})[0]}function _m(e,t,n){(n=n===void 0?Gc(Y()):n)&&n.plugins&&(gm(n,e)||n.plugins.push({name:e,version:`2.10.1`,apply:t}))}function vm(e){e.provide(`reloadPlugin`,function(t,n){var r;e.destroyAgent.has(t)&&e.destroyAgent.remove(t),n!==void 0&&e.set({plugins:R(R({},e.config().plugins),((r={})[t]=n,r))}),e.config().plugins[t]&&ym(e,t)})}function ym(e,t,n){if(n=n===void 0?Gc(Y()):n)if(n=gm(n,t),n)try{if(e.destroyAgent.has(t))return;n.apply(e)}catch(e){Js(`[loader].applyPlugin failed`,t,e)}else Js(`[loader].applyPlugin not found`,t)}var bm={build:function(e){return{ev_type:e.ev_type,payload:e.payload,common:R(R({},e.extra||{}),e.overrides||{})}}};function xm(e){var t,n=e.plugins||{};for(t in n)n[t]&&!H(n[t])&&(n[t]={});return R(R({},e),{plugins:n})}function Sm(e){return H(e)&&`aid`in e}function Cm(e){return R({},e)}function wm(e){if(!e)return{};var t=e.sample,n=e.timestamp,r=e.status,i=e.apdex;if(!t)return{};var a=t.sample_rate,o=t.sample_granularity,e=t.include_users,t=t.rules;return{sample:{include_users:e,sample_rate:r&&r===4?0:a,sample_granularity:o===void 0?mm:o,rules:(t===void 0?[]:t).reduce(function(e,t){var n=t.name,r=t.enable,i=t.sample_rate,t=t.conditional_sample_rules;return e[n]={enable:r,sample_rate:i,conditional_sample_rules:t},e},{})},apdex:i,serverTimestamp:n}}var Tm=function(e,t){return t===void 0&&(t=`/monitor_web/collect`),(e&&0<=e.indexOf(`//`)?``:`https://`)+e+t},Em=function(e,t){return t===void 0&&(t=`/settings/get/webpro`),(e&&0<=e.indexOf(`//`)?``:`https://`)+e+t},Dm=function(){return tc()},Om=function(e){return fm+e},km=function(e,t){try{var n=localStorage.getItem(e);if(!n||!cl()||n[0]!==`{`)return;fl(e,JSON.parse(n),t)}catch{}},Am=function(e,t){e===void 0&&(e=0);var n={userId:tc(),deviceId:tc(),r:Math.random()};return t<=0?n:(e=Om(e),km(e,t),dl(e)||n)},jm=function(e){var t=e.aid,n=e.userId,r=e.deviceId,i=e.sample,e=e.storageExpires,t=Om(t);fl(t,{userId:n,deviceId:r,r:i.r},ml(e))},Mm=function(e){try{var t=localStorage.getItem(e);return t?JSON.parse(t):null}catch{return null}},Nm=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch{}},Pm=function(e){return fm+`__cache__server__config__`+String(e)},Fm=function(e){return e=Pm(e),Mm(e)},Im=function(e,t){e=Pm(e),Nm(e,t)},Lm=function(e){var t,n,r,i=e,a={},o=V,s=V;return{getConfig:function(){return i},setConfig:function(e){return a=R(R({},a),e||{}),c(),t||(t=e,i.useLocalConfig?(r={},o()):n?l():Rm(i.transport,i.domain,i.aid,function(e){n=e,l()})),i},onChange:function(e){s=e},onReady:function(t){o=function(){(function(){e.userId!==i.userId&&(e.sample.r=Math.random(),c()),jm(i)})(),t()},r&&o()}};function c(){var t=R(R(R({},e),r||{}),a);t.plugins=Os(e.plugins,r?.plugins||{},a.plugins||{}),t.sample=zm(zm(e.sample,r?.sample),a.sample),i=t,s()}function l(){r=wm(n),c(),o()}};function Rm(e,t,n,r){function i(){e.get({withCredentials:!0,url:Em(t)+`?aid=`+n,success:function(e){e=e.data||{},Im(n,e),r(e)},fail:function(){var e;(a+=1)<3?i():((e=Fm(n))==null||delete e.timestamp,r(e||{sample:{sample_rate:0}}))}})}var a=0;i()}function zm(e,t){if(!e||!t)return e||t;var n=R(R({},e),t);return n.include_users=B(B([],z(e.include_users||[]),!1),z(t.include_users||[]),!1),n.rules=B(B([],z(Object.keys(e.rules||{})),!1),z(Object.keys(t.rules||{})),!1).reduce(function(n,r){return r in n||(r in(e.rules||{})&&r in(t.rules||{})?(n[r]=R(R({},e.rules[r]),t.rules[r]),n[r].conditional_sample_rules=B(B([],z(e.rules[r].conditional_sample_rules||[]),!1),z(t.rules[r].conditional_sample_rules||[]),!1)):n[r]=e.rules?.[r]||t.rules?.[r]),n},{}),n}var $,Bm=function(e,t){var n=t||{},t=n.pid,t=t===void 0?``:t,n=n.viewId,n=n===void 0?``:n,n={url:Lc(),timestamp:Date.now(),pid:t,view_id:n};return R(R({},e),{extra:R(R({},n),e.extra||{})})},Vm=function(e){e.on(`report`,function(t){return Bm(t,e.config())}),e.on(`init`,function(){var t=e.config(),n=t.pid,r=t.viewId,i=e.getPreStartQueue();i.forEach(function(e,t){var a=e.extra||{};i[t]=R(R({},e),{extra:R(R({},a),{pid:a.pid||n,view_id:a.view_id||r})})})})},Hm={sri:`reportSri`,st:`reportResourceError`,err:`captureException`,reject:`captureException`},Um=function(e){return Object.keys(e).reduce(function(e,t){return e[t]=[],e},{})},Wm=function(e){return Object.keys(e).reduce(function(t,n){return t[e[n]]?t[e[n]].push(n):t[e[n]]=[n],t},{})},Gm=function(e,t,n){return function(r,i,a,o){a===void 0&&(a=J()),o===void 0&&(o=location.href),o=R(R({},Zc(e)),{url:o,timestamp:a}),t[r]&&(e[n[r]]?Qc(e,o)(function(){e[n[r]](i)}):(a=t[r])!=null&&a.push([i,o]))}},Km=function(e,t,n){return function(r){r in n&&n[r].forEach(function(n){var i;(i=t[n])!=null&&i.forEach(function(t){var t=z(t,2),n=t[0],t=t[1];Qc(e,t)(function(){e[r](n)})}),t[n]=null})}},qm=function(e,t){return t===`err`?!1!==Ms(e,`plugins.`+Zu+`.onerror`,function(e,t){return e[t]}):t!==`reject`||!1!==Ms(e,`plugins.`+Zu+`.onunhandledrejection`,function(e,t){return e[t]})},Jm=function(e,t){var n=Um(t=t===void 0?Hm:t),r=Wm(t),i=Gm(e,n,t);(t=e.p)!=null&&t.a&&`observe`in e.p.a&&e.p.a.observe(function(t){var n=z(t,5);n[0];var r=n[1],a=n[2],o=n[3],t=n[4],n=e.config();qm(n,r)&&i(r,a,o,t)}),e.on(`init`,function(){var t,n=e.config();(t=e.p)!=null&&t.a.forEach(function(e){var t=z(e,5);t[0];var r=t[1],a=t[2],e=t[3],t=t[4];qm(n,r)&&i(r,a,e,t)}),e.p&&e.p.a&&(e.p.a.length=0),e.provide(`precollect`,function(e,t,r,a){r===void 0&&(r=J()),a===void 0&&(a=location.href),qm(n,e)&&i(e,t,r,a)})}),e.on(`provide`,Km(e,n,r))},Ym=700,Xm=function(e){var t,n=!1;e.on(`init`,function(){t=new Date().getTime(),e.on(`config`,function(){var r,i=(r=e.config())?.serverTimestamp;isNaN(i)||Number(i)<=0||n||(n=!0,(r=new Date().getTime())-t<Ym&&i&&(r=i-(r+t)/2,!isNaN(r)&&(0<r||r<-6e5)&&e.set({offset:r})))})})},Zm=function(e,t){var n={};return n.aid=t.aid,n.user_id=t.userId,R(R({},e),{extra:R(R({},n),e.extra||{})})},Qm=function(e){e.on(`beforeBuild`,function(t){return Zm(t,e.config())})},$m=function(e){e.on(`start`,function(){var t=e.config(),n=t.deviceId,r=t.sessionId,i=t.release,a=t.env,o=t.offset,s=t.aid,t=t.token,s={did:n,sid:r,release:i,env:a,sname:lm,sversion:cm,soffset:o||0,biz_id:s,x_auth_token:t},t=e.getSender();t.setEndpoint(t.getEndpoint()+Bs(s))})},eh=function(e){var t=ml(e.storageExpires),e=Am(e.aid,t);return{aid:0,pid:``,token:``,viewId:gd(`_`),userId:e.userId,deviceId:e.deviceId,sessionId:Dm(),storageExpires:t,domain:sm,plugins:{ajax:{ignoreUrls:pm},fetch:{ignoreUrls:pm},breadcrumb:{},pageview:{},jsError:{},resource:{},resourceError:{},performance:{},tti:{},fmp:{},blankScreen:!1},release:``,env:`production`,sample:R(R({},hm),{r:e.r}),transport:am()}},th=function(e){var t=e===void 0?{}:e,n=t.createSender,e=t.builder,t=t.createDefaultConfig,r=mc({validateInitConfig:Sm,initConfigNormalizer:xm,userConfigNormalizer:Cm,createSender:n===void 0?function(e){return om({size:20,endpoint:Tm(e.domain),transport:e.transport})}:n,builder:e===void 0?bm:e,createDefaultConfig:t===void 0?eh:t,createConfigManager:Lm});return hc(r),t=Gc(Y()),bc(r,t&&t.subject),Xm(r),Qm(r),Vm(r),Gp(r),$m(r),t=gc(r,Zc,function(e,t,n){return Qc(e,t)(function(){var e=z(n),t=e[0],e=e.slice(1);r[t].apply(r,B([],z(e),!1))})}),_c(t,_m),t},nh=(($={})[Fd]=Rd,$[iu]=ou,$[Au]=Mu,$[Lf]=zf,$[Gf]=Jf,$[vu]=xu,$[Zu]=ed,$[Rp]=zp,$[Qd]=tf,$[Hd]=Gd,$[Pp]=Ip,$),rh=function(e){var t=th(e=e===void 0?{}:e);return em(t),Jm(t),Wp(t),Object.keys(nh).forEach(function(e){_m(e,nh[e]),nh[e](t)}),vm(t),t.provide(`create`,rh),t},ih=`precollect`,ah=3e5;function oh(e,t){var n;`addEventListener`in e&&(t.pcErr=function(n){var r=(n=n||e.event).target||n.srcElement||{};r instanceof Element||r instanceof HTMLElement?r.getAttribute(`integrity`)?t(ih,`sri`,r.getAttribute(`href`)||r.getAttribute(`src`)):t(ih,`st`,{tagName:r.tagName,url:r.getAttribute(`href`)||r.getAttribute(`src`)}):t(ih,`err`,n.error)},t.pcRej=function(n){n=n||e.event,t(ih,`reject`,n.reason||n.detail&&n.detail.reason)},(n=[]).push(Z(e,`error`,t.pcErr,!0)),n.push(Z(e,`unhandledrejection`,t.pcRej,!0)),setTimeout(function(){n.forEach(function(e){return e()})},ah)),`PerformanceObserver`in e&&`PerformanceLongTaskTiming`in e&&(t.pp={entries:[]},t.pp.observer=new PerformanceObserver(function(e){t.pp.entries=t.pp.entries.concat(e.getEntries())}),t.pp.observer.observe({entryTypes:[`longtask`]}),setTimeout(function(){t.pp.observer.disconnect()},ah))}var sh=rh(),ch=Y();ch&&oh(ch,sh);function lh(){let e={aid:566559,token:`f870c26146004d2e80179ff6ff3c0c54`,pid:`/neo-ppt`,env:`production`,release:`d73e51b`,userId:localStorage.getItem(`msh_user_id`)??``,plugins:{pageview:!1,ajax:!1,fetch:!1,performance:{fp:!0,fcp:!0,fid:!0,inp:!0,lcp:!0,cls:!0,longtask:!1},breadcrumb:!1,jsError:{captureGlobalAsync:!0,ignoreErrors:[`Failed to fetch`,`The user aborted a request.`,`Load failed`,/ResizeObserver/,/Unable to load image/,/Failed to execute 'readText' on 'Clipboard': Read permission denied./,/Transaction aborted/,/\[SnapDOM - fetchImage\]/]},resource:!1}};sh(`context.set`,`product`,`ppt`),sh(`context.set`,`is_ppt`,`true`),sh(`init`,e),sh(`start`)}lh();var uh=new be({defaultOptions:{queries:{staleTime:1e3,gcTime:1/0,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}});(async()=>{let e=await Rt();as({getLocale:()=>e.global.locale.value});let t=p(Nr);t.use(nt).use(ct).use(e),t.use(he,{queryClient:uh}),Ko(t,()=>e.global.locale.value),t.directive(`contextmenu`,Hr),t.mount(`#app`)})();export{$t as A,yt as B,Gn as C,rn as D,A as E,Lt as F,It as I,Dt as L,Zt as M,Wt as N,on as O,Vt as P,bt as R,sr as S,Wn as T,st as V,kr as _,cs as a,Cr as b,Wo as c,Ao as d,Eo as f,Pi as g,Do as h,es as i,nn as j,an as k,qo as l,wo as m,ts as n,is as o,To as p,$o as r,Go as s,ss as t,Bo as u,Or as v,qn as w,gr as x,Er as y,vt as z};
|