{"data":{"AlipayFaceToFaceEnabled":false,"AutoGroups":"","CaptchaCheckEnabled":false,"CheckinEnabled":true,"CheckinQuota":10000,"CheckinQuotaMax":0,"CustomAppList":"[{\"key\":1710356410045,\"icon\":\"https://docs.ooo.cool/jc/ocool.ico\",\"title\":\"文档站\",\"desc\":\"docs\",\"url\":\"https://docs.ooo.cool/\"},{\"key\":1712031458061,\"icon\":\"https://docs.ooo.cool/pic/files.png\",\"title\":\"文件上传\",\"desc\":\"files\",\"url\":\"https://docs.ooo.cool/guides/file\"},{\"key\":1725290003075,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/mjtool2.png\",\"title\":\"mj提示词生成器\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/mj/mjhelper/\"},{\"key\":1725290003735,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/lobechat.png\",\"title\":\"lobechat配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/lobechat/\"},{\"key\":1725290004919,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/cursor.png\",\"title\":\"Cursor配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/cursor/\"},{\"key\":1725290005507,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/sider.png\",\"title\":\"sider配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/sider/\"},{\"key\":1725290006475,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/quicker.png\",\"title\":\"quicker教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/quicker/\"},{\"key\":1725290007344,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/pot.png\",\"title\":\"pot配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/pot/\"},{\"key\":1725290008219,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/OpenAI%20Translator.png\",\"title\":\"OpenAI Translator\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/openaitranslator/\"},{\"key\":1725290008851,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/nextchat.png\",\"title\":\"nextchat教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/nextchat/\"},{\"key\":1725290009923,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/cjsfy.png\",\"title\":\"沉浸式翻译教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/cjsfy/\"},{\"key\":1725290010537,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/chatbox.png\",\"title\":\"Chatbox配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/chatbox/\"},{\"key\":1725290011363,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/botgem.png\",\"title\":\"Botgem配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/botgem/\"},{\"key\":1725290012111,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/bob-logo.png\",\"title\":\"BOB配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/bob/\"},{\"key\":1725290012795,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/aide.png\",\"title\":\"AIDE配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/aide/\"},{\"key\":1725290013794,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/OpenCat.png\",\"title\":\"OpenCat教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/opencat/\"},{\"key\":1725314832392,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/chatgpthy.png\",\"title\":\"ChatGPT.好友\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/chatgpthy/\"},{\"key\":1725315138807,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/zotero.png\",\"title\":\"zotero配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/zotero/\"},{\"key\":1725385119177,\"icon\":\"https://vip.123pan.cn/1821083851/ocoolai/pic/logo/ol.png\",\"title\":\"欧路翻译配置教程\",\"desc\":\"\",\"url\":\"https://docs.ooo.cool/guides/oulu/\"}]","CustomAvailablePayMethods":3,"CustomAvailablePayMethods2":0,"CustomDarkThemeConfig":"","CustomEthRate":27406,"CustomThemeConfig":"{\n  \"token\": {\n    \"colorPrimary\": \"#13c2c2\",\n    \"colorInfo\": \"#13c2c2\",\n    \"colorTextBase\": \"#717171\",\n    \"colorBgBase\": \"#ffffff\",\n    \"fontSize\": 12,\n    \"borderRadius\": 16,\n    \"borderRadiusXS\": 9,\n    \"borderRadiusSM\": 11,\n    \"wireframe\": true\n  },\n  \"components\": {\n    \"Button\": {\n      \"colorFillSecondary\": \"rgba(120,49,49,0.06)\"\n    },\n    \"Slider\": {\n      \"controlSize\": 10,\n      \"dotSize\": 15,\n      \"colorPrimaryBorderHover\": \"rgb(190,111,0)\"\n    }\n  }\n}","CustomVerificationTypesConfig":{"checkin":{"displayName":"签到","displayNameEn":"Checkin","verificationTypes":[],"apiEndpoints":["/api/user/checkin"],"pageRoute":"/checkinPage"},"login":{"displayName":"登录","displayNameEn":"Login","verificationTypes":[],"apiEndpoints":["/api/user/login"],"pageRoute":"/login"},"register":{"displayName":"注册","displayNameEn":"Register","verificationTypes":[],"apiEndpoints":["/api/user/register"],"pageRoute":"/register"},"reset_password":{"displayName":"重置密码","displayNameEn":"Reset Password","verificationTypes":[],"apiEndpoints":["/api/reset_password"],"pageRoute":"/reset_password"},"send_sms":{"displayName":"发送短信","displayNameEn":"Send SMS","verificationTypes":["captcha","turnstile"],"apiEndpoints":["/api/send_sms"],"pageRoute":"/send_sms"},"verification":{"displayName":"发送验证邮件","displayNameEn":"Send Verification Email","verificationTypes":[],"apiEndpoints":["/api/verification"],"pageRoute":"/verification"}},"DataExportDefaultTime":"day","DataExportDisplayEnabled":true,"DataExportEnabled":true,"DataExportInterval":1,"DebugEnabled":false,"DefaultUseAutoGroupEnabled":false,"DiscordClientId":"","DiscordOAuthEnabled":false,"DocumentInfo":"https://docs.ooo.cool","FloatButtonBottom":48,"FloatButtonEnabled":false,"FloatButtonRight":40,"GameCaptchaEnabled":false,"GoogleClientId":"642371774467-sv5otpc9tu2ae1k381jmhpog4878p37d.apps.googleusercontent.com","GoogleOAuthEnabled":true,"GroupAvailabilityPageEnabled":false,"GuestChatPageEnabled":false,"GuestQueryEnabled":true,"LarkOAuthEnabled":false,"LimitedAccessConfigs":"[]","LimitedAccessType":"query","LimitedAccessURL":"","LinuxDOClientId":"","LinuxDOOAuthEnabled":false,"LogDetailConsumeEnabled":false,"MaxFallbackGroups":5,"MaxTopUpLimit":100000,"MidjourneyEnabled":true,"ModelOverviewPageEnabled":false,"ModelPricingPageEnabled":false,"NavExtMenus":"[{\"name\":\"模型广场\",\"visibles\":true,\"icon\":\"carbon:model-alt\",\"path\":\"/account/pricing\",\"target\":\"_blank\",\"useIframe\":false,\"tooltip\":\"模型广场\",\"need_login\":true},{\"name\":\"发票\",\"visibles\":true,\"icon\":\"ph:invoice\",\"path\":\"/ocoolai/apply\",\"target\":\"_blank\",\"useIframe\":true,\"tooltip\":\"发票\",\"need_login\":true},{\"name\":\"一键配置\",\"visibles\":true,\"icon\":\"material-symbols-light:drag-click\",\"path\":\"/ocoolai/tools\",\"target\":\"_blank\",\"useIframe\":true,\"tooltip\":\"一键配置\",\"need_login\":true},{\"name\":\"文件上传\",\"visibles\":true,\"icon\":\"humbleicons:upload\",\"path\":\"/files-upl/\",\"target\":\"_blank\",\"useIframe\":true,\"tooltip\":\"文件上传\",\"need_login\":true}]","NoticeVersion":"33","OnlineTopupEnabled":true,"PasskeyEnabled":true,"PasskeySelfRecoveryEnabled":true,"PasswordRegisterEnabled":true,"PayPalMinimumFee":1,"PaymentComplianceConfirmed":true,"PublicRankingsEnabled":false,"PureHomePageEnabled":true,"QqInfo":"","QuotaExpireDays":0,"QuotaExpireEnabled":false,"RegisterEnabled":true,"RegisterInfo":"· 本站1元兑换1美金，美元$只是为了方便对齐官方计费，并非实际汇率。​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​ ​​  ​ ​​  ​ ​​​ ​​  ​ ​  ​​  ​ ​  ​  ​ ​​  ​​​  ​  ​ ​​  ​ ​  ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  \n\n· 注册赠送0.2$用于测试，同IP多次注册会将该IP下账号全部封禁。 ​ ​​  ​ ​​  ​ ​ ​  ​ ​​  ​ ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​​​  ​   ​ ​​  ​ ​   ​ ​​  ​ ​ ​ ​​  ​ ​​  ​ ​​  ​ ​ ​  ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​  ​ ​​  ​ ​​\n· 请在注册成功后回到主页点击“使用教程”按照教程进行配置。​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​    ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ ​  ​  ​ ​​  ​ ​​  ​ ​​  ​ ​​  ​ \n· 邮箱注册仅允许QQ邮箱、163邮箱、学校邮箱（edu.cn）注册。","SMSLoginEnabled":false,"SMSRegisterEnabled":false,"SMSVerificationEnabled":false,"ShellApiLogOptimizerEnabled":false,"SiteDescription":"MacOS Windows win 安卓 Android ios 苹果 ipad iPadOS 浏览器插件  支持ChatGPT Openai的客户端 软件 ，免费，可以使用api key 翻译 api key分发 chatbox nextweb  meetai（模态）  joychat chatboost openchat pot翻译  easydict chuanhu（川虎） assischat ChatGPTbox ama问天 botgem LobeChat Openaitranslator  prices  tutorrials  siderai  gemini-pro chatglm  清华智谱   支持tts 文本转语音   moonshot minimax stable diffusion","StatusPageUrl":"","StripeMinTopUp":1,"StripeTopupEnabled":false,"SuixingpayEnabled":true,"SwitchUIEnabled":true,"TaskPluginRuntimeEnabled":true,"TelegramBotName":"ocoolAIbot","TelegramOAuthEnabled":false,"Theme":"antd","TokenFallbackGroupEnabled":false,"TokenGroupChangeEnabled":true,"TopupPageNotice":"","TransferEnabled":false,"UnsubscribeEnabled":true,"UptimeKumaPageEnabled":false,"UserLogDownstreamErrorVisibleEnabled":false,"UserLogModelMappingVisibilityMode":2,"UserLogModelMappingVisibleEnabled":false,"UserLogViewEnabled":true,"WechatInfo":"https://oss.laf.dev/w89ie3-ocool-docs/pic/2a6327e3-52a9-5f08-953d-5cb0401024d4.jpg","announcements":[],"announcements_enabled":true,"chat_link":"","customPayPalUsdRate":7.5,"customUsdtRate":7,"custom_currency_exchange_rate":1,"custom_currency_symbol":"¤","display_in_currency":true,"email_verification":true,"file_system_server_address":"https://api.ocoolai.com","footer_html":"","github_client_id":"034a428b680ce6697fa2","github_oauth":true,"group_provider_category_supported":true,"header_script":"\u003cscript\u003e\n// Router Interceptor Script for Docker Frontend\n// This script intercepts specific routes and redirects them to static files\n\n(function() {\n    // 目标路由和对应的重定向URL\n    const routeRedirects = {\n        '/about': '/info/models/',\n        '/account/pricing': '/info/models/'\n    };\n    \n    // 上次检查的路径\n    let lastCheckedPath = window.location.pathname;\n    \n    // 检查并处理路由的主函数\n    function handleRouting(path) {\n        // 防止重复检查相同路径\n        if (path === lastCheckedPath) return false;\n        lastCheckedPath = path;\n        \n        // 检查是否是需要重定向的路径\n        if (routeRedirects[path]) {\n            console.log('拦截到目标路由: ' + path + ', 重定向到: ' + routeRedirects[path]);\n            window.location.href = routeRedirects[path];\n            return true;\n        }\n        \n        // 处理根路径\n        if (path === '/' || path === '') {\n            // 检查是否需要强制刷新\n            if (!window.location.hash \u0026\u0026 !sessionStorage.getItem('freshLoad')) {\n                // 标记这是一个新的会话\n                sessionStorage.setItem('freshLoad', 'true');\n                // 强制刷新页面\n                window.location.reload();\n                return true;\n            }\n        }\n        return false;\n    }\n\n    // 直接拦截所有点击事件\n    document.addEventListener('click', function(e) {\n        // 向上查找，查看是否点击了链接\n        let target = e.target;\n        while (target \u0026\u0026 target.tagName !== 'A') {\n            target = target.parentNode;\n            if (!target) return;\n        }\n        \n        // 如果找到链接元素\n        if (target \u0026\u0026 target.tagName === 'A') {\n            const href = target.getAttribute('href');\n            \n            // 如果是内部链接并且匹配我们要拦截的路由\n            if (href \u0026\u0026 href.startsWith('/') \u0026\u0026 routeRedirects[href]) {\n                e.preventDefault(); // 阻止默认的点击行为\n                e.stopPropagation(); // 阻止事件冒泡\n                console.log('拦截到链接点击, href: ' + href + ', 重定向到: ' + routeRedirects[href]);\n                window.location.href = routeRedirects[href];\n                return false;\n            }\n        }\n    }, true); // 使用捕获阶段，确保在事件到达目标前就能处理\n\n    // 初始化时检查当前路径\n    handleRouting(window.location.pathname);\n\n    // 积极监听 URL 变化\n    function checkURLChange() {\n        handleRouting(window.location.pathname);\n    }\n    \n    // 每100ms检查一次URL变化\n    setInterval(checkURLChange, 100);\n\n    // 监听 popstate 事件\n    window.addEventListener('popstate', function(event) {\n        handleRouting(window.location.pathname);\n    });\n\n    // 重写 History API 方法\n    const originalPushState = history.pushState;\n    history.pushState = function() {\n        const result = originalPushState.apply(this, arguments);\n        // 立即检查路径变化\n        setTimeout(function() {\n            handleRouting(window.location.pathname);\n        }, 0);\n        return result;\n    };\n    \n    const originalReplaceState = history.replaceState;\n    history.replaceState = function() {\n        const result = originalReplaceState.apply(this, arguments);\n        // 立即检查路径变化\n        setTimeout(function() {\n            handleRouting(window.location.pathname);\n        }, 0);\n        return result;\n    };\n\n    // 监听 hashchange 事件\n    window.addEventListener('hashchange', function() {\n        handleRouting(window.location.pathname);\n    });\n\n    // 页面离开时清除会话标记\n    window.addEventListener('beforeunload', function() {\n        sessionStorage.removeItem('freshLoad');\n    });\n    \n    console.log('路由拦截器已启动，当前路径: ' + window.location.pathname);\n})();\n\n\u003c/script\u003e\n\n\u003cscript src=\"https://vip.123pan.cn/1821083851/ocoolai/web/menu4.js\"\u003e\u003c/script\u003e\n\u003cscript src='https://sf1-scmcdn-cn.feishucdn.com/obj/feishu-static/op/fe/devtools_frontend/remote-debug-0.0.1-alpha.6.js'\u003e\u003c/script\u003e\n\u003cscript src=\"https://vip.123pan.cn/1821083851/ocoolai/shell/tokenpage-html1.1.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://vip.123pan.cn/1821083851/ocoolai/shell/avatar.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://vip.123pan.cn/1821083851/ocoolai/shell/css2.1.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://vip.123pan.cn/1821083851/ocoolai/shell/headerMenu1.4.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://vip.123pan.cn/1821083851/ocoolai/web/ocool5.0-1/assets/js/vendors/color-modes.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://vip.123pan.cn/1821083851/ocoolai/shell/ocool1.5.3.js\"\u003e\u003c/script\u003e\n\u003cstyle\u003e#root \u003e div \u003e div \u003e div.ant-layout.ant-layout-has-sider.css-1p4sm1f \u003e div.ant-pro-layout-container.css-1p4sm1f \u003e main \u003e div \u003e div.ant-pro-grid-content.css-1p4sm1f \u003e div \u003e div \u003e div \u003e div:nth-child(4) \u003e div \u003e div \u003e div:nth-child(3) \u003e div \u003e div:nth-child(2){display:none !important;}\u003c/style\u003e\n\u003cstyle\u003e\n#root \u003e div \u003e div \u003e div.ant-pro-grid-content.css-1p4sm1f {\n  padding: 0px !important;\n}\n\u003c/style\u003e\n\u003cstyle\u003e\n    #root \u003e div \u003e div \u003e div.ant-layout.ant-layout-has-sider.css-1p4sm1f \u003e aside \u003e div \u003e div:nth-child(1) {\n      overflow: hidden !important;\n      overflow: -moz-scrollbars-none !important; /* 适用于旧版Firefox */\n      -ms-overflow-style: none !important; /* 适用于Internet Explorer和Edge */\n      scrollbar-width: none !important; /* 适用于Firefox */\n    }\n\n    #root \u003e div \u003e div \u003e div.ant-layout.ant-layout-has-sider.css-1p4sm1f \u003e aside \u003e div \u003e div:nth-child(1)::-webkit-scrollbar {\n      display: none !important; /* 适用于Webkit浏览器（如Chrome和Safari） */\n    }\n/* 去除令牌设置里无用的选项 */\n\n\u003c/style\u003e\n\u003cscript src='https://sf1-scmcdn-cn.feishucdn.com/obj/feishu-static/op/fe/devtools_frontend/remote-debug-0.0.1-alpha.6.js'\u003e\u003c/script\u003e\n\u003cscript\u003e\n// 动态加载必要的依赖\nfunction loadDependencies() {\n    // 加载 Tailwind CSS\n    const tailwindScript = document.createElement('script');\n    tailwindScript.src = 'https://cdn.tailwindcss.com';\n    document.head.appendChild(tailwindScript);\n\n    // 加载 Font Awesome\n    const fontAwesome = document.createElement('link');\n    fontAwesome.rel = 'stylesheet';\n    fontAwesome.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css';\n    document.head.appendChild(fontAwesome);\n\n    // 加载 GSAP\n    const gsapScript = document.createElement('script');\n    gsapScript.src = 'https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js';\n    document.head.appendChild(gsapScript);\n\n    // 确保 GSAP 加载完成后再初始化搜索框\n    return new Promise((resolve) =\u003e {\n        gsapScript.onload = resolve;\n    });\n}\n\n    // 创建搜索框内容\n    const searchContent = document.createElement('div');\n    searchContent.className = 'ocool-search-container';\n    searchContent.innerHTML = `\n        \u003ci class=\"ocool-search-icon fas fa-search\"\u003e\u003c/i\u003e\n        \u003cinput \n            type=\"text\" \n            class=\"ocool-search-input\"\n            placeholder=\"提问/搜索...\"\n        \u003e\n        \u003cdiv class=\"ocool-search-shortcut\"\u003e\n            \u003cspan class=\"ocool-search-key\"\u003e${shortcutKey}\u003c/span\u003e\n            \u003cspan class=\"ocool-search-key\"\u003eK\u003c/span\u003e\n        \u003c/div\u003e\n        \u003cdiv class=\"ocool-search-buttons\"\u003e\n            \u003cbutton class=\"ocool-search-clear-button\"\u003e\n                \u003ci class=\"fas fa-times\"\u003e\u003c/i\u003e\n            \u003c/button\u003e\n            \u003cbutton class=\"ocool-search-submit-button\"\u003e\n                \u003ci class=\"fas fa-arrow-right\"\u003e\u003c/i\u003e\n            \u003c/button\u003e\n        \u003c/div\u003e\n    `;\n\n    // 将样式和内容添加到 Shadow DOM\n    shadow.appendChild(fontAwesome);\n    shadow.appendChild(style);\n    shadow.appendChild(searchContent);\n\n    // 查找目标容器并插入\n    const targetSelector = '#root \u003e div \u003e div \u003e div.ant-layout \u003e div \u003e header \u003e div \u003e div \u003e div.ant-pro-global-header-right-content \u003e div \u003e div \u003e div \u003e div';\n    \n    function insertSearchBox() {\n        const targetElement = document.querySelector(targetSelector);\n        if (targetElement) {\n            targetElement.parentNode.insertBefore(searchContainer, targetElement);\n            return true;\n        }\n        return false;\n    }\n\n    // 使用 requestAnimationFrame 优化性能\n    let rafId;\n    const observer = new MutationObserver(() =\u003e {\n        if (rafId) {\n            cancelAnimationFrame(rafId);\n        }\n        rafId = requestAnimationFrame(() =\u003e {\n            if (insertSearchBox()) {\n                observer.disconnect();\n            }\n        });\n    });\n\n    if (!insertSearchBox()) {\n        observer.observe(document.body, {\n            childList: true,\n            subtree: true\n        });\n    }\n\n    return shadow;\n}\n\n// 初始化搜索功能\nasync function initSearch() {\n    await loadDependencies();\n    \n    const shadow = createSearchBox();\n    const searchInput = shadow.querySelector('.ocool-search-input');\n    const clearButton = shadow.querySelector('.ocool-search-clear-button');\n    const searchButton = shadow.querySelector('.ocool-search-submit-button');\n    const shortcutHint = shadow.querySelector('.ocool-search-shortcut');\n    let isExpanded = false;\n\n    // 处理搜索框聚焦\n    function handleFocus() {\n        searchInput.focus();\n        isExpanded = true;\n        gsap.to(searchInput, {\n            width: '384px',\n            duration: 0.15,\n            ease: 'power4.in',\n            overwrite: true\n        });\n        shortcutHint.style.display = 'none';\n        updateButtonsVisibility();\n    }\n\n    // 处理搜索框失焦\n    function handleBlur() {\n        if (!searchInput.value) {\n            isExpanded = false;\n            gsap.to(searchInput, {\n                width: '176px',\n                duration: 0.1,\n                ease: 'power3.in',\n                overwrite: true\n            });\n            if (!isExpanded) {\n                shortcutHint.style.display = 'block';\n            }\n            updateButtonsVisibility();\n        }\n    }\n\n    // 更新按钮显示状态\n    function updateButtonsVisibility() {\n        const hasValue = searchInput.value.length \u003e 0;\n        clearButton.style.display = hasValue ? 'block' : 'none';\n        searchButton.style.display = (hasValue \u0026\u0026 isExpanded) ? 'block' : 'none';\n        // 只在初始状态（未展开且无内容）显示快捷键提示\n        shortcutHint.style.display = (!isExpanded \u0026\u0026 !hasValue) ? 'block' : 'none';\n    }\n\n    // 处理搜索提交\n    function handleSearch() {\n        const question = encodeURIComponent(searchInput.value.trim());\n        if (question) {\n            const url = `https://docs.ocoolai.com/?q=${question}\u0026ask=true`;\n            window.open(url, '_blank');\n        }\n    }\n\n    // 处理清空输入\n    function handleClear() {\n        searchInput.value = '';\n        searchInput.focus();\n        updateButtonsVisibility();\n    }\n\n    // 监听快捷键\n    document.addEventListener('keydown', (e) =\u003e {\n        if ((e.ctrlKey || e.metaKey) \u0026\u0026 e.key === 'k') {\n            e.preventDefault();\n            handleFocus();\n        }\n        if (e.key === 'Enter' \u0026\u0026 document.activeElement === searchInput) {\n            handleSearch();\n        }\n    });\n\n    // 监听输入变化以显示/隐藏按钮\n    searchInput.addEventListener('input', updateButtonsVisibility);\n\n    // 绑定事件监听器\n    searchInput.addEventListener('focus', handleFocus);\n    searchInput.addEventListener('blur', handleBlur);\n    clearButton.addEventListener('click', handleClear);\n    searchButton.addEventListener('click', handleSearch);\n}\n\n// 自动初始化\nif (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', initSearch);\n} else {\n    initSearch();\n}\n\n\u003c/script\u003e","instanceId":"7Ye1jzKXUnXKBpltA48a9d07C4264d05B36f83E99e155c35","lark_client_id":"cli_a6a445a9baa8500c","lark_oauth_configured":false,"logo":"https://vip.123pan.cn/1821083851/ocoolai/ocool.png","oauth_register_enabled":true,"oidc":false,"oidc_authorization_endpoint":"","oidc_client_id":"","oidc_display_name":"OIDC","oidc_token_endpoint":"","oidc_userinfo_endpoint":"","oidc_well_known":"","price":1,"quota_display_type":"CNY","quota_per_unit":500000,"server_address":"https://one.ocoolai.com","start_time":1793519000,"stripe_unit_price":8,"system_name":"ocoolAI","telegram_oauth_configured":false,"top_up_link":"","turnstile_check":false,"turnstile_site_key":"0x4AAAAAAAPA7SibF0PtInJQ","usd_exchange_rate":1,"version":"v13.9.5","wechat_login":true,"wechat_qrcode":"https://vip.123pan.cn/1821083851/ocoolai/pic/wx-qr.jpg"},"message":"","success":true}