@opendesign-plus/components 0.0.1-rc.5 → 0.0.1-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/OCookieNotice.vue.d.ts +1 -0
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +1 -0
- package/dist/components.cjs.js +1 -1
- package/dist/components.css +1 -1
- package/dist/components.element.cjs.js +1 -1
- package/dist/components.element.es.js +50 -49
- package/dist/components.es.js +105 -104
- package/package.json +1 -1
- package/src/components/OCookieNotice.vue +6 -6
- package/src/components/element-plus/OElCookieNotice.vue +4 -4
package/dist/components.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@opensig/opendesign"),b=require("@opendesign-plus/composables"),C=require("./chunk-index.cjs.js"),P=require("@vueuse/core"),W=e.defineComponent({__name:"ContentWrapper",props:{verticalPadding:{type:[Boolean,String,Array],default:void 0}},setup(t){const o=Symbol("default"),n=t,u=e.computed(()=>n.verticalPadding?s.isBoolean(n.verticalPadding)?o:s.isString(n.verticalPadding)?n.verticalPadding:n.verticalPadding[0]:0),c=e.computed(()=>n.verticalPadding?s.isBoolean(n.verticalPadding)?o:s.isString(n.verticalPadding)?n.verticalPadding:s.isUndefined(n.verticalPadding[1])?n.verticalPadding[0]:n.verticalPadding[1]:0);return(d,h)=>(e.openBlock(),e.createElementBlock("div",{class:"content-wrapper",style:e.normalizeStyle({"--content-wrapper-vertical-paddingTop":u.value===e.unref(o)?void 0:u.value,"--content-wrapper-vertical-paddingBottom":c.value===e.unref(o)?void 0:c.value})},[e.renderSlot(d.$slots,"default",{},void 0,!0)],4))}}),z=C._export_sfc(W,[["__scopeId","data-v-a0f91aed"]]),j={key:0},q={class:"banner-content"},Y=["src"],Z={key:1,class:"banner-title"},Q={key:2,class:"banner-subtitle"},X={key:4,class:"banner-opts"},ee=e.defineComponent({__name:"OBanner",props:{options:void 0,size:"large",contentJustifyCenter:!1},setup(t){const o=t,{isLight:n}=b.useTheme("opendesignplus",document.domain||"localhost"),{isPhone:u}=b.useScreen(),c=e.computed(()=>o.options),d=e.ref(""),h=r=>{setTimeout(()=>{d.value=c.value[r].bg_theme??"light"},100)},i=(r,k)=>{r&&!k&&window.open(r)};return(r,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["home-banner",t.size])},[t.size==="tiny"?(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(c.value[1].title),1)):e.unref(u)?(e.openBlock(),e.createBlock(e.unref(s.OCarousel),{key:2,class:"banner-carousel",effect:"gallery","indicator-click":"","data-o-theme":d.value,arrow:"never","auto-play":!0,onBeforeChange:h},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,f)=>(e.openBlock(),e.createBlock(e.unref(s.OCarouselItem),{class:e.normalizeClass(["banner-item",`banner-item${f}`])},{default:e.withCtx(()=>[e.createVNode(z,{class:"banner-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OFigure),{class:"banner-bg",src:l.bg,onClick:g=>i(l.href)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1032,["class"]))),256))]),_:1},8,["data-o-theme"])):(e.openBlock(),e.createBlock(e.unref(s.OCarousel),{key:1,class:"banner-carousel",effect:"toggle","active-class":"current-slide","indicator-click":"","auto-play":!0,"data-o-theme":d.value,onBeforeChange:h},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,f)=>(e.openBlock(),e.createBlock(e.unref(s.OCarouselItem),{key:f,class:e.normalizeClass(["banner-item",`banner-item${f}`])},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OFigure),{class:e.normalizeClass(["banner-bg",{"with-sticky-bg":l.withStickyBg,"in-dark":!e.unref(n),"cursor-pointer":l.href&&!l.btn}]),src:l.bg,style:e.normalizeStyle({"--pad-offset":l.pad_offset}),onClick:g=>i(l.href,l.btn)},{default:e.withCtx(()=>[e.createVNode(z,{class:e.normalizeClass(["banner-wrapper",["banner-wrapper",t.contentJustifyCenter?"content-center":""]])},{default:e.withCtx(()=>[e.createElementVNode("div",q,[!e.unref(u)&&l.attach?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.attach,class:"banner-attach"},null,8,Y)):e.createCommentVNode("",!0),l.title?(e.openBlock(),e.createElementBlock("div",Z,e.toDisplayString(l.title),1)):e.createCommentVNode("",!0),l.subtitle?(e.openBlock(),e.createElementBlock("div",Q,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0),l.bg_text?(e.openBlock(),e.createElementBlock("div",{key:3,class:"banner-text",style:e.normalizeStyle({backgroundImage:`url(${l.bg_text})`,"--pc-width":l.pc_text_width,"--pc-height":l.pc_text_height,"--pad-width":l.pad_text_width,"--pad-height":l.pad_text_height})},null,4)):e.createCommentVNode("",!0),l.btn?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(e.unref(s.OButton),{href:l.href,target:"_blank",variant:"solid",color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.btn),1)]),_:2},1032,["href","size"])])):e.createCommentVNode("",!0)])]),_:2},1032,["class"])]),_:2},1032,["src","class","style","onClick"])]),_:2},1032,["class"]))),128))]),_:1},8,["data-o-theme"]))],2))}}),T=C._export_sfc(ee,[["__scopeId","data-v-38a33983"]]),te={key:0,class:"cookie-notice"},oe={class:"cookie-notice-content"},ne=["type"],le={class:"cookie-notice-left"},re={key:0,class:"cookie-desc",style:{"margin-top":"0"}},ae=["href"],ce={class:"cookie-title"},se={class:"cookie-desc"},ie=["href"],de={key:0,class:"cookie-notice-right"},ue={class:"cookie-dlg-title"},he={class:"cookie-dlg-content"},me={class:"content-item"},pe={class:"item-header"},fe={class:"item-title"},ve={class:"item-extra"},ke={class:"item-detail"},ge={class:"content-item"},ye={class:"item-header"},Ce={class:"item-title"},Be={class:"item-extra"},we={class:"item-detail"},_e="0",D="1",Ve="2",$="3",Ne="agreed-cookiepolicy-zh",Ee="agreed-cookiepolicy-en",Se=e.defineComponent({__name:"OCookieNotice",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},detailUrl:{},wrapper:{}},emits:["update:visible"],setup(t,{expose:o,emit:n}){const u=t,c=n,{lePadV:d,leLaptop:h}=b.useScreen(),{locale:i,t:r}=C.useI18n(),k=e.computed(()=>i.value==="zh"),l=e.computed(()=>k.value?Ne:Ee),f=e.ref(!1),g=P.useVModel(u,"visible",c,{defaultValue:!1}),w=v=>{const p=document.cookie.split(";").find(B=>B.split("=")[0].trim()===encodeURIComponent(v));return p?decodeURIComponent(p.split("=")[1]):null},S=(v,p,B,G)=>{const J=`; max-age=${B*24*60*60}`;document.cookie=`${encodeURIComponent(v)}=${encodeURIComponent(p)}${J}; path=/; domain=${G}`},x=(v,p)=>{document.cookie=`${encodeURIComponent(v)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${p}`},y=v=>{typeof v=="boolean"?g.value=v:g.value=!g.value,e.nextTick(()=>{!g.value&&k.value&&w(l.value)!==$&&S(l.value,$,180,location.hostname)})},_=e.ref(!1),N=v=>{typeof v=="boolean"?_.value=v:_.value=!_.value},a=()=>k.value?w(l.value)!==$:(w(l.value)??"0")===_e,V=()=>k.value?w(l.value)===$:w(l.value)===D;e.onMounted(()=>{a()&&y(!0)}),e.watch(i,()=>{y(a())});const m=()=>{f.value=!0,x(l.value,location.hostname),S(l.value,D,180,location.hostname),y(!1)},E=()=>{f.value=!1,x(l.value,location.hostname),S(l.value,Ve,180,location.hostname),y(!1)},R=e.computed(()=>[{id:"save",color:"primary",label:r("cookie.saveSetting"),variant:"outline",size:"large",round:"pill",onClick:()=>{f.value?m():E(),N(!1)}},{id:"allowAll",color:"primary",label:r("cookie.acceptAll"),variant:"outline",size:"large",round:"pill",onClick:()=>{f.value=!0,m(),N(!1)}}]),F=v=>{v&&(f.value=V())};return o({check(){V()===g.value&&y()}}),(v,p)=>(e.openBlock(),e.createBlock(e.unref(C.ClientOnly),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:t.wrapper||"#app"},[e.unref(g)?(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("div",oe,[e.createElementVNode("div",{type:e.unref(i),class:e.normalizeClass({"cookie-notice-wrap-grid":t.enableGrid,"cookie-notice-wrap":!t.enableGrid})},[e.createElementVNode("div",le,[k.value?(e.openBlock(),e.createElementBlock("p",re,[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(r)("cookie.about")),9,ae)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",ce,e.toDisplayString(e.unref(r)("cookie.title",[t.community])),1),e.createElementVNode("p",se,[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(r)("cookie.about")),9,ie),p[4]||(p[4]=e.createTextVNode(". ",-1))])],64))]),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",de,[e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:p[0]||(p[0]=B=>N(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(s.OIcon),{class:"cookie-notice-close",type:e.unref(i),onClick:p[1]||(p[1]=B=>y(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OIconClose))]),_:1},8,["type"])],10,ne)]),e.createVNode(e.unref(s.ODialog),{visible:_.value,"onUpdate:visible":p[3]||(p[3]=B=>_.value=B),size:e.unref(h)?"medium":"large","phone-half-full":e.unref(d),class:"cookie-dlg",actions:R.value,onChange:F},{header:e.withCtx(()=>[e.createElementVNode("span",ue,e.toDisplayString(e.unref(r)("cookie.manage")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",he,[e.createElementVNode("div",me,[e.createElementVNode("div",pe,[e.createElementVNode("span",fe,e.toDisplayString(e.unref(r)("cookie.necessaryCookie")),1),e.createElementVNode("span",ve,e.toDisplayString(e.unref(r)("cookie.alwaysOn")),1)]),e.createElementVNode("div",ke,e.toDisplayString(e.unref(r)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",ge,[e.createElementVNode("div",ye,[e.createElementVNode("span",Ce,e.toDisplayString(e.unref(r)("cookie.analyticalCookie")),1),e.createElementVNode("span",Be,[e.createVNode(e.unref(s.OSwitch),{modelValue:f.value,"onUpdate:modelValue":p[2]||(p[2]=B=>f.value=B)},null,8,["modelValue"])])]),e.createElementVNode("div",we,e.toDisplayString(e.unref(r)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["visible","size","phone-half-full","actions"])])):e.createCommentVNode("",!0)],8,["to"]))]),_:1}))}}),A=C._export_sfc(Se,[["__scopeId","data-v-e46f706e"]]),be={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xe(t,o){return e.openBlock(),e.createElementBlock("svg",be,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"},null,-1)])])}const $e={name:"components-icon-close",render:xe},Ie={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Oe(t,o){return e.openBlock(),e.createElementBlock("svg",Ie,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M13.215 0.524c-7.048 0-12.762 5.714-12.762 12.762s5.714 12.762 12.762 12.762c7.048 0 12.762-5.714 12.762-12.762s-5.714-12.762-12.762-12.762zM13.215 2.809c5.786 0 10.476 4.69 10.476 10.476s-4.69 10.476-10.476 10.476c-5.786 0-10.476-4.69-10.476-10.476s4.69-10.476 10.476-10.476z"},null,-1),e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M23.33 23.22c0.446-0.447 1.169-0.448 1.616-0.002l4.771 4.759c0.447 0.446 0.448 1.169 0.002 1.616s-1.169 0.448-1.616 0.002l-4.771-4.759c-0.447-0.446-0.448-1.169-0.002-1.616z"},null,-1)])])}const M={name:"components-icon-header-search",render:Oe},ze={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function De(t,o){return e.openBlock(),e.createElementBlock("svg",ze,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M10.858 22.41c-0.349 0.349-0.915 0.349-1.263 0-0.314-0.314-0.345-0.804-0.094-1.153l0.094-0.111 5.146-5.15-5.177-5.178c-0.274-0.305-0.3-0.755-0.077-1.087l0.111-0.135c0.347-0.347 0.91-0.347 1.257 0l5.142 5.143 5.15-5.146c0.349-0.349 0.915-0.349 1.263 0 0.314 0.314 0.345 0.804 0.094 1.153l-0.094 0.111-11.552 11.552zM17.89 16.634l4.551 4.552c0.313 0.349 0.302 0.886-0.034 1.222-0.347 0.347-0.91 0.347-1.257 0l-4.516-4.518 1.256-1.256z"},null,-1)])])}const Me={name:"components-icon-header-delete",render:De},Pe={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Te(t,o){return e.openBlock(),e.createElementBlock("svg",Pe,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"},null,-1)])])}const Ae={name:"components-icon-delete",render:Te},Ue={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"32",viewBox:"0 0 36 32"};function He(t,o){return e.openBlock(),e.createElementBlock("svg",Ue,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"},null,-1)])])}const Ke={name:"components-icon-header-back",render:He},Le={class:"o-header-search"},Re={class:"o-header-search-drawer"},Fe={key:0,class:"o-header-search-recommend-container"},Ge=["onClick"],Je={key:1,class:"o-header-search-history-container"},We={class:"o-header-search-history-header"},je={class:"o-header-search-history-header-title"},qe={class:"o-header-search-history-item-container"},Ye=["onClick"],Ze={class:"o-header-search-history-item-text"},Qe={key:3,class:"o-header-search-hot-container"},Xe={class:"o-header-search-hot-header"},et={class:"o-header-search-hot-item-container"},tt=["onClick"],ot=e.defineComponent({__name:"OHeaderSearch",props:{modelValue:{default:""},placeholder:{},expandedPlaceholder:{},expandDirection:{default:"left"},clearable:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},historyTitle:{},storageKey:{default:"search-history"},hotItems:{default:()=>[]},hotTitle:{},recommendItems:{default:()=>[]},searchUrl:{},searchUrlOpenBlank:{type:Boolean,default:!0},searchTextMobile:{}},emits:["update:modelValue","update:historyItems","clear","search","delete-history","delete-history-item"],setup(t,{emit:o}){const{lePadV:n}=b.useScreen(),{t:u}=C.useI18n(),c=t,d=o,h=e.ref(c.modelValue),i=e.ref(c.historyItems),r=e.ref(!1),k=e.ref(),l=e.computed(()=>!n.value&&r.value||n.value&&h.value);e.watch(()=>c.modelValue,a=>{h.value!==a&&(h.value=a)}),e.watch(()=>h.value,a=>{d("update:modelValue",a)}),e.watch(()=>c.historyItems,a=>{i.value!==a&&(i.value=a)}),e.watch(()=>i.value,a=>{d("update:historyItems",a)}),e.onMounted(()=>{if(c.storeHistory&&c.storageKey)try{const a=JSON.parse(localStorage.getItem(c.storageKey)||"[]");Array.isArray(a)&&a.length&&(i.value=Array.from(new Set([...i.value,...a])))}catch{}});const f=()=>{r.value=!0},g=()=>{const a=h.value.trim();a&&(r.value=!1,i.value.unshift(a),i.value=Array.from(new Set(i.value)),i.value.length>c.maxHistoryCount&&i.value.pop(),c.storeHistory&&c.storeHistory&&localStorage.setItem(c.storageKey,JSON.stringify(i.value)),d("search",a),c.searchUrl&&window.open(c.searchUrl+a,c.searchUrlOpenBlank?"_blank":"_self","noopener noreferrer"))},w=()=>{h.value="",d("clear"),n.value||(r.value=!1)},S=()=>{const a=[...i.value];i.value=[],c.storeHistory&&c.storeHistory&&localStorage.removeItem(c.storageKey),d("delete-history",a)},x=a=>{i.value=i.value.filter(V=>V!==a),c.storeHistory&&c.storeHistory&&(i.value.length?localStorage.setItem(c.storageKey,JSON.stringify(i.value)):localStorage.removeItem(c.storageKey)),d("delete-history-item",a)},y=a=>{h.value=a,g()},_=()=>{h.value="",r.value=!1},N=e.ref();return P.onClickOutside(N,w),(a,V)=>(e.openBlock(),e.createElementBlock("div",Le,[e.createElementVNode("div",{ref_key:"posWrapper",ref:N,class:e.normalizeClass({"o-header-search-input-pc-wrapper":!e.unref(n),"o-header-search-input-pc-wrapper-left":!e.unref(n)&&t.expandDirection==="left","o-header-search-input-pc-wrapper-right":!e.unref(n)&&t.expandDirection==="right","o-header-search-input-mobile-wrapper":e.unref(n),focus:r.value})},[e.createElementVNode("div",{class:e.normalizeClass(["o-header-search-input-wrapper",{focus:r.value}])},[e.unref(n)&&r.value?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon",onClick:_},{default:e.withCtx(()=>[e.createVNode(e.unref(Ke))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(s.OInput),{ref_key:"inputRef",ref:k,modelValue:h.value,"onUpdate:modelValue":V[0]||(V[0]=m=>h.value=m),class:"o-header-search-input",placeholder:r.value?t.expandedPlaceholder??e.unref(u)("search.expandedPlaceholder"):t.placeholder??e.unref(u)("search.placeholder"),onFocus:f,onKeyup:e.withKeys(g,["enter"])},{prefix:e.withCtx(()=>[e.renderSlot(a.$slots,"input-prefix",{},()=>[e.createVNode(e.unref(s.OIcon),{class:"o-header-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(M))]),_:1})],!0)]),suffix:e.withCtx(()=>[e.renderSlot(a.$slots,"input-suffix",{},()=>[t.clearable&&l.value?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon close",onClick:w},{default:e.withCtx(()=>[e.createVNode(e.unref($e))]),_:1})):e.createCommentVNode("",!0)],!0)]),_:3},8,["modelValue","placeholder"]),e.unref(n)&&r.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:"o-header-search-text",onClick:g},e.toDisplayString(t.searchTextMobile??e.unref(u)("search")),1)):e.createCommentVNode("",!0)],2),e.withDirectives(e.createElementVNode("div",Re,[e.renderSlot(a.$slots,"drawer",{recommendItems:t.recommendItems,historyItems:i.value,hotItems:t.hotItems},()=>[t.recommendItems.length?(e.openBlock(),e.createElementBlock("div",Fe,[e.renderSlot(a.$slots,"recommend-header",{recommend:t.recommendItems},void 0,!0),e.renderSlot(a.$slots,"recommend-content",{recommend:t.recommendItems},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.recommendItems,m=>(e.openBlock(),e.createElementBlock("div",{class:"o-header-search-recommend-item",key:m,onClick:E=>y(m)},e.toDisplayString(m),9,Ge))),128))],!0)])):i.value.length?(e.openBlock(),e.createElementBlock("div",Je,[e.renderSlot(a.$slots,"history-header",{history:i.value},()=>[e.createElementVNode("div",We,[e.createElementVNode("span",je,e.toDisplayString(t.historyTitle??e.unref(u)("search.history")),1),e.createVNode(e.unref(s.OIcon),{class:"o-header-search-icon",onClick:S},{default:e.withCtx(()=>[e.createVNode(e.unref(Ae))]),_:1})])],!0),e.renderSlot(a.$slots,"history-content",{history:i.value},()=>[e.createElementVNode("div",qe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,m=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"o-header-search-history-item",onClick:E=>y(m)},[e.createElementVNode("span",Ze,e.toDisplayString(m),1),e.createVNode(e.unref(s.OIcon),{class:"o-header-search-history-item-icon",onClick:e.withModifiers(E=>x(m),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(Me),{class:"icon-delete"})]),_:1},8,["onClick"])],8,Ye))),128))])],!0)])):e.createCommentVNode("",!0),(t.recommendItems.length||i.value.length)&&t.hotItems.length?(e.openBlock(),e.createBlock(e.unref(s.ODivider),{key:2,class:"o-header-search-drawer-divider"})):e.createCommentVNode("",!0),t.hotItems.length?(e.openBlock(),e.createElementBlock("div",Qe,[e.renderSlot(a.$slots,"hot-header",{hot:t.hotItems},()=>[e.createElementVNode("div",Xe,e.toDisplayString(t.hotTitle??e.unref(u)("search.hot")),1)],!0),e.renderSlot(a.$slots,"hot-content",{hot:t.hotItems},()=>[e.createElementVNode("div",et,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.hotItems,m=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"o-header-search-hot-item",onClick:E=>y(m)},e.toDisplayString(m),9,tt))),128))])],!0)])):e.createCommentVNode("",!0)],!0)],512),[[e.vShow,r.value]])],2),e.unref(n)?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon-mobile",onClick:f},{default:e.withCtx(()=>[e.createVNode(e.unref(M))]),_:1})):e.createCommentVNode("",!0)]))}}),U=C._export_sfc(ot,[["__scopeId","data-v-cce80de4"]]),nt={locale:"zh-CN","common.empty":"暂无数据","common.loading":"加载中...","pagination.goto":"前往","pagination.page":"页","pagination.countPerPage":"条/页","pagination.total":"共 {0} 条","upload.buttonLabel":"点击上传","upload.drag":"点击或拖拽文件到此处上传","upload.dragHover":"释放文件并开始上传","upload.retry":"点击重试","upload.delete":"删除","upload.preview":"预览","upload.edit":"编辑","select.cancel":"取消","select.confirm":"确定","input.limit":"<b>{0}</b>/{1}"},lt={locale:"en-US","common.empty":"No Data","common.loading":"Loading...","pagination.goto":"Go to","pagination.page":"Page","pagination.countPerPage":"/page","pagination.total":"Total: {0}","upload.buttonLabel":"Upload","upload.drag":"Click or drag file to this area to upload","upload.dragHover":"Release to upload","upload.retry":"Click to retry","upload.delete":"Delete","upload.preview":"Preview","upload.edit":"Edit","select.cancel":"Cancel","select.confirm":"Ok","input.limit":"<b>{0}</b>/{1}"},H=e.defineComponent({__name:"OPlusConfigProvider",props:{locale:{},theme:{default:"light"}},setup(t){const o=t,n=e.reactive({locale:e.computed(()=>o.locale),theme:e.computed(()=>o.theme)});return e.provide(C.configProviderInjectKey,n),(u,c)=>(e.openBlock(),e.createBlock(e.unref(s.OConfigProvider),{locale:t.locale==="zh"?e.unref(nt):e.unref(lt)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["locale"]))}}),rt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function at(t,o){return e.openBlock(),e.createElementBlock("svg",rt,[...o[0]||(o[0]=[e.createElementVNode("path",{d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const ct={name:"components-icon-chevron-right",render:at},st={class:"section-wrapper"},it={key:1,class:"section-title"},dt={key:2,class:"section-subtitle"},ut={key:1,class:"section-body"},ht={key:2,class:"section-footer"},mt=e.defineComponent({__name:"OSection",props:{title:{default:void 0},subtitle:{default:void 0},full:{type:Boolean,default:!1},headerJustifyCenter:{type:Boolean,default:!0},footer:{default:void 0},footerHref:{default:void 0}},setup(t){const o=t;return(n,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["app-section",{"is-full":o.full}])},[e.createElementVNode("div",st,[e.renderSlot(n.$slots,"main",{},()=>[n.$slots.header||o.title||o.subtitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["section-header",{"is-left":!o.headerJustifyCenter}])},[e.renderSlot(n.$slots,"header",{},()=>[e.unref(s.isArray)(o.title)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.title,c=>(e.openBlock(),e.createElementBlock("h2",{key:c,class:"section-title"},e.toDisplayString(c),1))),128)):n.$slots.title||o.title?(e.openBlock(),e.createElementBlock("h2",it,[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),n.$slots.subtitle||o.subtitle?(e.openBlock(),e.createElementBlock("p",dt,[e.renderSlot(n.$slots,"subtitle",{},()=>[e.createTextVNode(e.toDisplayString(o.subtitle),1)],!0)])):e.createCommentVNode("",!0)],!0)],2)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("div",ut,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),n.$slots.footer||o.footer?(e.openBlock(),e.createElementBlock("div",ht,[e.renderSlot(n.$slots,"footer",{},()=>[e.createVNode(e.unref(s.OLink),{href:o.footerHref,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"footer-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ct))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.footer)+" ",1)]),_:1},8,["href"])],!0)])):e.createCommentVNode("",!0)],!0)])],2))}}),K=C._export_sfc(mt,[["__scopeId","data-v-57b81782"]]),pt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function ft(t,o){return e.openBlock(),e.createElementBlock("svg",pt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"},null,-1)])])}const I={name:"components-icon-sun",render:ft},vt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function kt(t,o){return e.openBlock(),e.createElementBlock("svg",vt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"},null,-1)])])}const O={name:"components-icon-moon",render:kt},gt={class:"o-theme-switcher"},yt={key:1,class:"o-theme-switcher-mobile"},Ct=e.defineComponent({__name:"OThemeSwitcher",props:{theme:{default:"light"},type:{default:"auto"},lightValue:{default:"light"},darkValue:{default:"dark"},lightIcon:{default:I},darkIcon:{default:O}},emits:["update:theme","change"],setup(t,{emit:o}){const n=t,u=o,{gtPhone:c}=b.useScreen(),d=e.computed({get(){return n.theme},set(r){u("update:theme",r),u("change",r)}}),h=e.computed(()=>n.type==="common"||n.type==="auto"&&c.value),i=()=>{d.value=d.value===n.lightValue?n.darkValue:n.lightValue};return(r,k)=>(e.openBlock(),e.createElementBlock("div",gt,[h.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"o-theme-switcher-common",onClick:i},[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[d.value===t.lightValue?(e.openBlock(),e.createBlock(e.unref(O),{key:0})):(e.openBlock(),e.createBlock(e.unref(I),{key:1}))]),_:1})])):(e.openBlock(),e.createElementBlock("div",yt,[e.createVNode(e.unref(s.OSwitch),{modelValue:d.value,"onUpdate:modelValue":k[0]||(k[0]=l=>d.value=l),class:"o-theme-switch","checked-value":t.darkValue,"unchecked-value":t.lightValue},{on:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(I))]),_:1})]),off:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(O))]),_:1})]),_:1},8,["modelValue","checked-value","unchecked-value"])]))]))}}),L=C._export_sfc(Ct,[["__scopeId","data-v-837e14fb"]]),Bt={OBanner:T,OCookieNotice:A,OHeaderSearch:U,OPlusConfigProvider:H,OSection:K,OThemeSwitcher:L},wt={install:t=>{Object.entries(Bt).forEach(([o,n])=>{t.component(o,n)})}};exports.OBanner=T;exports.OCookieNotice=A;exports.OHeaderSearch=U;exports.OPlusConfigProvider=H;exports.OSection=K;exports.OThemeSwitcher=L;exports.default=wt;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@opensig/opendesign"),b=require("@opendesign-plus/composables"),C=require("./chunk-index.cjs.js"),P=require("@vueuse/core"),W=e.defineComponent({__name:"ContentWrapper",props:{verticalPadding:{type:[Boolean,String,Array],default:void 0}},setup(t){const o=Symbol("default"),n=t,d=e.computed(()=>n.verticalPadding?s.isBoolean(n.verticalPadding)?o:s.isString(n.verticalPadding)?n.verticalPadding:n.verticalPadding[0]:0),c=e.computed(()=>n.verticalPadding?s.isBoolean(n.verticalPadding)?o:s.isString(n.verticalPadding)?n.verticalPadding:s.isUndefined(n.verticalPadding[1])?n.verticalPadding[0]:n.verticalPadding[1]:0);return(u,h)=>(e.openBlock(),e.createElementBlock("div",{class:"content-wrapper",style:e.normalizeStyle({"--content-wrapper-vertical-paddingTop":d.value===e.unref(o)?void 0:d.value,"--content-wrapper-vertical-paddingBottom":c.value===e.unref(o)?void 0:c.value})},[e.renderSlot(u.$slots,"default",{},void 0,!0)],4))}}),D=C._export_sfc(W,[["__scopeId","data-v-a0f91aed"]]),j={key:0},q={class:"banner-content"},Y=["src"],Z={key:1,class:"banner-title"},Q={key:2,class:"banner-subtitle"},X={key:4,class:"banner-opts"},ee=e.defineComponent({__name:"OBanner",props:{options:void 0,size:"large",contentJustifyCenter:!1},setup(t){const o=t,{isLight:n}=b.useTheme("opendesignplus",document.domain||"localhost"),{isPhone:d}=b.useScreen(),c=e.computed(()=>o.options),u=e.ref(""),h=r=>{setTimeout(()=>{u.value=c.value[r].bg_theme??"light"},100)},i=(r,k)=>{r&&!k&&window.open(r)};return(r,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["home-banner",t.size])},[t.size==="tiny"?(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(c.value[1].title),1)):e.unref(d)?(e.openBlock(),e.createBlock(e.unref(s.OCarousel),{key:2,class:"banner-carousel",effect:"gallery","indicator-click":"","data-o-theme":u.value,arrow:"never","auto-play":!0,onBeforeChange:h},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,f)=>(e.openBlock(),e.createBlock(e.unref(s.OCarouselItem),{class:e.normalizeClass(["banner-item",`banner-item${f}`])},{default:e.withCtx(()=>[e.createVNode(D,{class:"banner-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OFigure),{class:"banner-bg",src:l.bg,onClick:g=>i(l.href)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1032,["class"]))),256))]),_:1},8,["data-o-theme"])):(e.openBlock(),e.createBlock(e.unref(s.OCarousel),{key:1,class:"banner-carousel",effect:"toggle","active-class":"current-slide","indicator-click":"","auto-play":!0,"data-o-theme":u.value,onBeforeChange:h},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,f)=>(e.openBlock(),e.createBlock(e.unref(s.OCarouselItem),{key:f,class:e.normalizeClass(["banner-item",`banner-item${f}`])},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OFigure),{class:e.normalizeClass(["banner-bg",{"with-sticky-bg":l.withStickyBg,"in-dark":!e.unref(n),"cursor-pointer":l.href&&!l.btn}]),src:l.bg,style:e.normalizeStyle({"--pad-offset":l.pad_offset}),onClick:g=>i(l.href,l.btn)},{default:e.withCtx(()=>[e.createVNode(D,{class:e.normalizeClass(["banner-wrapper",["banner-wrapper",t.contentJustifyCenter?"content-center":""]])},{default:e.withCtx(()=>[e.createElementVNode("div",q,[!e.unref(d)&&l.attach?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.attach,class:"banner-attach"},null,8,Y)):e.createCommentVNode("",!0),l.title?(e.openBlock(),e.createElementBlock("div",Z,e.toDisplayString(l.title),1)):e.createCommentVNode("",!0),l.subtitle?(e.openBlock(),e.createElementBlock("div",Q,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0),l.bg_text?(e.openBlock(),e.createElementBlock("div",{key:3,class:"banner-text",style:e.normalizeStyle({backgroundImage:`url(${l.bg_text})`,"--pc-width":l.pc_text_width,"--pc-height":l.pc_text_height,"--pad-width":l.pad_text_width,"--pad-height":l.pad_text_height})},null,4)):e.createCommentVNode("",!0),l.btn?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(e.unref(s.OButton),{href:l.href,target:"_blank",variant:"solid",color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.btn),1)]),_:2},1032,["href","size"])])):e.createCommentVNode("",!0)])]),_:2},1032,["class"])]),_:2},1032,["src","class","style","onClick"])]),_:2},1032,["class"]))),128))]),_:1},8,["data-o-theme"]))],2))}}),T=C._export_sfc(ee,[["__scopeId","data-v-38a33983"]]),te={key:0,class:"cookie-notice"},oe={class:"cookie-notice-content"},ne=["type"],le={class:"cookie-notice-left"},re={key:0,class:"cookie-desc",style:{"margin-top":"0"}},ae=["href"],ce={class:"cookie-title"},se={class:"cookie-desc"},ie=["href"],de={key:0,class:"cookie-notice-right"},ue={class:"cookie-dlg-title"},he={class:"cookie-dlg-content"},me={class:"content-item"},pe={class:"item-header"},fe={class:"item-title"},ve={class:"item-extra"},ke={class:"item-detail"},ge={class:"content-item"},ye={class:"item-header"},Ce={class:"item-title"},Be={class:"item-extra"},we={class:"item-detail"},_e="0",z="1",Ve="2",$="3",Ne="agreed-cookiepolicy-zh",Ee="agreed-cookiepolicy-en",Se=e.defineComponent({__name:"OCookieNotice",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},detailUrl:{},wrapper:{},cookieDomain:{}},emits:["update:visible"],setup(t,{expose:o,emit:n}){const d=t,c=n,{lePadV:u,leLaptop:h}=b.useScreen(),{locale:i,t:r}=C.useI18n(),k=e.computed(()=>i.value==="zh"),l=e.computed(()=>k.value?Ne:Ee),f=e.ref(!1),g=P.useVModel(d,"visible",c,{defaultValue:!1}),w=v=>{const p=document.cookie.split(";").find(B=>B.split("=")[0].trim()===encodeURIComponent(v));return p?decodeURIComponent(p.split("=")[1]):null},S=(v,p,B,G)=>{const J=`; max-age=${B*24*60*60}`;document.cookie=`${encodeURIComponent(v)}=${encodeURIComponent(p)}${J}; path=/; domain=${G}`},x=(v,p)=>{document.cookie=`${encodeURIComponent(v)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${p}`},y=v=>{typeof v=="boolean"?g.value=v:g.value=!g.value,e.nextTick(()=>{!g.value&&k.value&&w(l.value)!==$&&S(l.value,$,180,d.cookieDomain??location.hostname)})},_=e.ref(!1),N=v=>{typeof v=="boolean"?_.value=v:_.value=!_.value},a=()=>k.value?w(l.value)!==$:(w(l.value)??"0")===_e,V=()=>k.value?w(l.value)===$:w(l.value)===z;e.onMounted(()=>{a()&&y(!0)}),e.watch(i,()=>{y(a())});const m=()=>{f.value=!0,x(l.value,d.cookieDomain??location.hostname),S(l.value,z,180,d.cookieDomain??location.hostname),y(!1)},E=()=>{f.value=!1,x(l.value,d.cookieDomain??location.hostname),S(l.value,Ve,180,d.cookieDomain??location.hostname),y(!1)},R=e.computed(()=>[{id:"save",color:"primary",label:r("cookie.saveSetting"),variant:"outline",size:"large",round:"pill",onClick:()=>{f.value?m():E(),N(!1)}},{id:"allowAll",color:"primary",label:r("cookie.acceptAll"),variant:"outline",size:"large",round:"pill",onClick:()=>{f.value=!0,m(),N(!1)}}]),F=v=>{v&&(f.value=V())};return o({check(){V()===g.value&&y()}}),(v,p)=>(e.openBlock(),e.createBlock(e.unref(C.ClientOnly),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:t.wrapper||"#app"},[e.unref(g)?(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("div",oe,[e.createElementVNode("div",{type:e.unref(i),class:e.normalizeClass({"cookie-notice-wrap-grid":t.enableGrid,"cookie-notice-wrap":!t.enableGrid})},[e.createElementVNode("div",le,[k.value?(e.openBlock(),e.createElementBlock("p",re,[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(r)("cookie.about")),9,ae)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",ce,e.toDisplayString(e.unref(r)("cookie.title",[t.community])),1),e.createElementVNode("p",se,[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(r)("cookie.about")),9,ie),p[4]||(p[4]=e.createTextVNode(". ",-1))])],64))]),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",de,[e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:p[0]||(p[0]=B=>N(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(s.OIcon),{class:"cookie-notice-close",type:e.unref(i),onClick:p[1]||(p[1]=B=>y(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OIconClose))]),_:1},8,["type"])],10,ne)]),e.createVNode(e.unref(s.ODialog),{visible:_.value,"onUpdate:visible":p[3]||(p[3]=B=>_.value=B),size:e.unref(h)?"medium":"large","phone-half-full":e.unref(u),class:"cookie-dlg",actions:R.value,onChange:F},{header:e.withCtx(()=>[e.createElementVNode("span",ue,e.toDisplayString(e.unref(r)("cookie.manage")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",he,[e.createElementVNode("div",me,[e.createElementVNode("div",pe,[e.createElementVNode("span",fe,e.toDisplayString(e.unref(r)("cookie.necessaryCookie")),1),e.createElementVNode("span",ve,e.toDisplayString(e.unref(r)("cookie.alwaysOn")),1)]),e.createElementVNode("div",ke,e.toDisplayString(e.unref(r)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",ge,[e.createElementVNode("div",ye,[e.createElementVNode("span",Ce,e.toDisplayString(e.unref(r)("cookie.analyticalCookie")),1),e.createElementVNode("span",Be,[e.createVNode(e.unref(s.OSwitch),{modelValue:f.value,"onUpdate:modelValue":p[2]||(p[2]=B=>f.value=B)},null,8,["modelValue"])])]),e.createElementVNode("div",we,e.toDisplayString(e.unref(r)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["visible","size","phone-half-full","actions"])])):e.createCommentVNode("",!0)],8,["to"]))]),_:1}))}}),A=C._export_sfc(Se,[["__scopeId","data-v-712c28fb"]]),be={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xe(t,o){return e.openBlock(),e.createElementBlock("svg",be,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"},null,-1)])])}const $e={name:"components-icon-close",render:xe},Ie={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Oe(t,o){return e.openBlock(),e.createElementBlock("svg",Ie,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M13.215 0.524c-7.048 0-12.762 5.714-12.762 12.762s5.714 12.762 12.762 12.762c7.048 0 12.762-5.714 12.762-12.762s-5.714-12.762-12.762-12.762zM13.215 2.809c5.786 0 10.476 4.69 10.476 10.476s-4.69 10.476-10.476 10.476c-5.786 0-10.476-4.69-10.476-10.476s4.69-10.476 10.476-10.476z"},null,-1),e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M23.33 23.22c0.446-0.447 1.169-0.448 1.616-0.002l4.771 4.759c0.447 0.446 0.448 1.169 0.002 1.616s-1.169 0.448-1.616 0.002l-4.771-4.759c-0.447-0.446-0.448-1.169-0.002-1.616z"},null,-1)])])}const M={name:"components-icon-header-search",render:Oe},De={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ze(t,o){return e.openBlock(),e.createElementBlock("svg",De,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M10.858 22.41c-0.349 0.349-0.915 0.349-1.263 0-0.314-0.314-0.345-0.804-0.094-1.153l0.094-0.111 5.146-5.15-5.177-5.178c-0.274-0.305-0.3-0.755-0.077-1.087l0.111-0.135c0.347-0.347 0.91-0.347 1.257 0l5.142 5.143 5.15-5.146c0.349-0.349 0.915-0.349 1.263 0 0.314 0.314 0.345 0.804 0.094 1.153l-0.094 0.111-11.552 11.552zM17.89 16.634l4.551 4.552c0.313 0.349 0.302 0.886-0.034 1.222-0.347 0.347-0.91 0.347-1.257 0l-4.516-4.518 1.256-1.256z"},null,-1)])])}const Me={name:"components-icon-header-delete",render:ze},Pe={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Te(t,o){return e.openBlock(),e.createElementBlock("svg",Pe,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"},null,-1)])])}const Ae={name:"components-icon-delete",render:Te},Ue={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"32",viewBox:"0 0 36 32"};function He(t,o){return e.openBlock(),e.createElementBlock("svg",Ue,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"},null,-1)])])}const Ke={name:"components-icon-header-back",render:He},Le={class:"o-header-search"},Re={class:"o-header-search-drawer"},Fe={key:0,class:"o-header-search-recommend-container"},Ge=["onClick"],Je={key:1,class:"o-header-search-history-container"},We={class:"o-header-search-history-header"},je={class:"o-header-search-history-header-title"},qe={class:"o-header-search-history-item-container"},Ye=["onClick"],Ze={class:"o-header-search-history-item-text"},Qe={key:3,class:"o-header-search-hot-container"},Xe={class:"o-header-search-hot-header"},et={class:"o-header-search-hot-item-container"},tt=["onClick"],ot=e.defineComponent({__name:"OHeaderSearch",props:{modelValue:{default:""},placeholder:{},expandedPlaceholder:{},expandDirection:{default:"left"},clearable:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},historyTitle:{},storageKey:{default:"search-history"},hotItems:{default:()=>[]},hotTitle:{},recommendItems:{default:()=>[]},searchUrl:{},searchUrlOpenBlank:{type:Boolean,default:!0},searchTextMobile:{}},emits:["update:modelValue","update:historyItems","clear","search","delete-history","delete-history-item"],setup(t,{emit:o}){const{lePadV:n}=b.useScreen(),{t:d}=C.useI18n(),c=t,u=o,h=e.ref(c.modelValue),i=e.ref(c.historyItems),r=e.ref(!1),k=e.ref(),l=e.computed(()=>!n.value&&r.value||n.value&&h.value);e.watch(()=>c.modelValue,a=>{h.value!==a&&(h.value=a)}),e.watch(()=>h.value,a=>{u("update:modelValue",a)}),e.watch(()=>c.historyItems,a=>{i.value!==a&&(i.value=a)}),e.watch(()=>i.value,a=>{u("update:historyItems",a)}),e.onMounted(()=>{if(c.storeHistory&&c.storageKey)try{const a=JSON.parse(localStorage.getItem(c.storageKey)||"[]");Array.isArray(a)&&a.length&&(i.value=Array.from(new Set([...i.value,...a])))}catch{}});const f=()=>{r.value=!0},g=()=>{const a=h.value.trim();a&&(r.value=!1,i.value.unshift(a),i.value=Array.from(new Set(i.value)),i.value.length>c.maxHistoryCount&&i.value.pop(),c.storeHistory&&c.storeHistory&&localStorage.setItem(c.storageKey,JSON.stringify(i.value)),u("search",a),c.searchUrl&&window.open(c.searchUrl+a,c.searchUrlOpenBlank?"_blank":"_self","noopener noreferrer"))},w=()=>{h.value="",u("clear"),n.value||(r.value=!1)},S=()=>{const a=[...i.value];i.value=[],c.storeHistory&&c.storeHistory&&localStorage.removeItem(c.storageKey),u("delete-history",a)},x=a=>{i.value=i.value.filter(V=>V!==a),c.storeHistory&&c.storeHistory&&(i.value.length?localStorage.setItem(c.storageKey,JSON.stringify(i.value)):localStorage.removeItem(c.storageKey)),u("delete-history-item",a)},y=a=>{h.value=a,g()},_=()=>{h.value="",r.value=!1},N=e.ref();return P.onClickOutside(N,w),(a,V)=>(e.openBlock(),e.createElementBlock("div",Le,[e.createElementVNode("div",{ref_key:"posWrapper",ref:N,class:e.normalizeClass({"o-header-search-input-pc-wrapper":!e.unref(n),"o-header-search-input-pc-wrapper-left":!e.unref(n)&&t.expandDirection==="left","o-header-search-input-pc-wrapper-right":!e.unref(n)&&t.expandDirection==="right","o-header-search-input-mobile-wrapper":e.unref(n),focus:r.value})},[e.createElementVNode("div",{class:e.normalizeClass(["o-header-search-input-wrapper",{focus:r.value}])},[e.unref(n)&&r.value?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon",onClick:_},{default:e.withCtx(()=>[e.createVNode(e.unref(Ke))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(s.OInput),{ref_key:"inputRef",ref:k,modelValue:h.value,"onUpdate:modelValue":V[0]||(V[0]=m=>h.value=m),class:"o-header-search-input",placeholder:r.value?t.expandedPlaceholder??e.unref(d)("search.expandedPlaceholder"):t.placeholder??e.unref(d)("search.placeholder"),onFocus:f,onKeyup:e.withKeys(g,["enter"])},{prefix:e.withCtx(()=>[e.renderSlot(a.$slots,"input-prefix",{},()=>[e.createVNode(e.unref(s.OIcon),{class:"o-header-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(M))]),_:1})],!0)]),suffix:e.withCtx(()=>[e.renderSlot(a.$slots,"input-suffix",{},()=>[t.clearable&&l.value?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon close",onClick:w},{default:e.withCtx(()=>[e.createVNode(e.unref($e))]),_:1})):e.createCommentVNode("",!0)],!0)]),_:3},8,["modelValue","placeholder"]),e.unref(n)&&r.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:"o-header-search-text",onClick:g},e.toDisplayString(t.searchTextMobile??e.unref(d)("search")),1)):e.createCommentVNode("",!0)],2),e.withDirectives(e.createElementVNode("div",Re,[e.renderSlot(a.$slots,"drawer",{recommendItems:t.recommendItems,historyItems:i.value,hotItems:t.hotItems},()=>[t.recommendItems.length?(e.openBlock(),e.createElementBlock("div",Fe,[e.renderSlot(a.$slots,"recommend-header",{recommend:t.recommendItems},void 0,!0),e.renderSlot(a.$slots,"recommend-content",{recommend:t.recommendItems},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.recommendItems,m=>(e.openBlock(),e.createElementBlock("div",{class:"o-header-search-recommend-item",key:m,onClick:E=>y(m)},e.toDisplayString(m),9,Ge))),128))],!0)])):i.value.length?(e.openBlock(),e.createElementBlock("div",Je,[e.renderSlot(a.$slots,"history-header",{history:i.value},()=>[e.createElementVNode("div",We,[e.createElementVNode("span",je,e.toDisplayString(t.historyTitle??e.unref(d)("search.history")),1),e.createVNode(e.unref(s.OIcon),{class:"o-header-search-icon",onClick:S},{default:e.withCtx(()=>[e.createVNode(e.unref(Ae))]),_:1})])],!0),e.renderSlot(a.$slots,"history-content",{history:i.value},()=>[e.createElementVNode("div",qe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,m=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"o-header-search-history-item",onClick:E=>y(m)},[e.createElementVNode("span",Ze,e.toDisplayString(m),1),e.createVNode(e.unref(s.OIcon),{class:"o-header-search-history-item-icon",onClick:e.withModifiers(E=>x(m),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(Me),{class:"icon-delete"})]),_:1},8,["onClick"])],8,Ye))),128))])],!0)])):e.createCommentVNode("",!0),(t.recommendItems.length||i.value.length)&&t.hotItems.length?(e.openBlock(),e.createBlock(e.unref(s.ODivider),{key:2,class:"o-header-search-drawer-divider"})):e.createCommentVNode("",!0),t.hotItems.length?(e.openBlock(),e.createElementBlock("div",Qe,[e.renderSlot(a.$slots,"hot-header",{hot:t.hotItems},()=>[e.createElementVNode("div",Xe,e.toDisplayString(t.hotTitle??e.unref(d)("search.hot")),1)],!0),e.renderSlot(a.$slots,"hot-content",{hot:t.hotItems},()=>[e.createElementVNode("div",et,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.hotItems,m=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"o-header-search-hot-item",onClick:E=>y(m)},e.toDisplayString(m),9,tt))),128))])],!0)])):e.createCommentVNode("",!0)],!0)],512),[[e.vShow,r.value]])],2),e.unref(n)?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon-mobile",onClick:f},{default:e.withCtx(()=>[e.createVNode(e.unref(M))]),_:1})):e.createCommentVNode("",!0)]))}}),U=C._export_sfc(ot,[["__scopeId","data-v-cce80de4"]]),nt={locale:"zh-CN","common.empty":"暂无数据","common.loading":"加载中...","pagination.goto":"前往","pagination.page":"页","pagination.countPerPage":"条/页","pagination.total":"共 {0} 条","upload.buttonLabel":"点击上传","upload.drag":"点击或拖拽文件到此处上传","upload.dragHover":"释放文件并开始上传","upload.retry":"点击重试","upload.delete":"删除","upload.preview":"预览","upload.edit":"编辑","select.cancel":"取消","select.confirm":"确定","input.limit":"<b>{0}</b>/{1}"},lt={locale:"en-US","common.empty":"No Data","common.loading":"Loading...","pagination.goto":"Go to","pagination.page":"Page","pagination.countPerPage":"/page","pagination.total":"Total: {0}","upload.buttonLabel":"Upload","upload.drag":"Click or drag file to this area to upload","upload.dragHover":"Release to upload","upload.retry":"Click to retry","upload.delete":"Delete","upload.preview":"Preview","upload.edit":"Edit","select.cancel":"Cancel","select.confirm":"Ok","input.limit":"<b>{0}</b>/{1}"},H=e.defineComponent({__name:"OPlusConfigProvider",props:{locale:{},theme:{default:"light"}},setup(t){const o=t,n=e.reactive({locale:e.computed(()=>o.locale),theme:e.computed(()=>o.theme)});return e.provide(C.configProviderInjectKey,n),(d,c)=>(e.openBlock(),e.createBlock(e.unref(s.OConfigProvider),{locale:t.locale==="zh"?e.unref(nt):e.unref(lt)},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["locale"]))}}),rt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function at(t,o){return e.openBlock(),e.createElementBlock("svg",rt,[...o[0]||(o[0]=[e.createElementVNode("path",{d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const ct={name:"components-icon-chevron-right",render:at},st={class:"section-wrapper"},it={key:1,class:"section-title"},dt={key:2,class:"section-subtitle"},ut={key:1,class:"section-body"},ht={key:2,class:"section-footer"},mt=e.defineComponent({__name:"OSection",props:{title:{default:void 0},subtitle:{default:void 0},full:{type:Boolean,default:!1},headerJustifyCenter:{type:Boolean,default:!0},footer:{default:void 0},footerHref:{default:void 0}},setup(t){const o=t;return(n,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["app-section",{"is-full":o.full}])},[e.createElementVNode("div",st,[e.renderSlot(n.$slots,"main",{},()=>[n.$slots.header||o.title||o.subtitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["section-header",{"is-left":!o.headerJustifyCenter}])},[e.renderSlot(n.$slots,"header",{},()=>[e.unref(s.isArray)(o.title)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.title,c=>(e.openBlock(),e.createElementBlock("h2",{key:c,class:"section-title"},e.toDisplayString(c),1))),128)):n.$slots.title||o.title?(e.openBlock(),e.createElementBlock("h2",it,[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),n.$slots.subtitle||o.subtitle?(e.openBlock(),e.createElementBlock("p",dt,[e.renderSlot(n.$slots,"subtitle",{},()=>[e.createTextVNode(e.toDisplayString(o.subtitle),1)],!0)])):e.createCommentVNode("",!0)],!0)],2)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("div",ut,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),n.$slots.footer||o.footer?(e.openBlock(),e.createElementBlock("div",ht,[e.renderSlot(n.$slots,"footer",{},()=>[e.createVNode(e.unref(s.OLink),{href:o.footerHref,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"footer-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ct))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.footer)+" ",1)]),_:1},8,["href"])],!0)])):e.createCommentVNode("",!0)],!0)])],2))}}),K=C._export_sfc(mt,[["__scopeId","data-v-57b81782"]]),pt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function ft(t,o){return e.openBlock(),e.createElementBlock("svg",pt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"},null,-1)])])}const I={name:"components-icon-sun",render:ft},vt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function kt(t,o){return e.openBlock(),e.createElementBlock("svg",vt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"},null,-1)])])}const O={name:"components-icon-moon",render:kt},gt={class:"o-theme-switcher"},yt={key:1,class:"o-theme-switcher-mobile"},Ct=e.defineComponent({__name:"OThemeSwitcher",props:{theme:{default:"light"},type:{default:"auto"},lightValue:{default:"light"},darkValue:{default:"dark"},lightIcon:{default:I},darkIcon:{default:O}},emits:["update:theme","change"],setup(t,{emit:o}){const n=t,d=o,{gtPhone:c}=b.useScreen(),u=e.computed({get(){return n.theme},set(r){d("update:theme",r),d("change",r)}}),h=e.computed(()=>n.type==="common"||n.type==="auto"&&c.value),i=()=>{u.value=u.value===n.lightValue?n.darkValue:n.lightValue};return(r,k)=>(e.openBlock(),e.createElementBlock("div",gt,[h.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"o-theme-switcher-common",onClick:i},[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[u.value===t.lightValue?(e.openBlock(),e.createBlock(e.unref(O),{key:0})):(e.openBlock(),e.createBlock(e.unref(I),{key:1}))]),_:1})])):(e.openBlock(),e.createElementBlock("div",yt,[e.createVNode(e.unref(s.OSwitch),{modelValue:u.value,"onUpdate:modelValue":k[0]||(k[0]=l=>u.value=l),class:"o-theme-switch","checked-value":t.darkValue,"unchecked-value":t.lightValue},{on:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(I))]),_:1})]),off:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(O))]),_:1})]),_:1},8,["modelValue","checked-value","unchecked-value"])]))]))}}),L=C._export_sfc(Ct,[["__scopeId","data-v-837e14fb"]]),Bt={OBanner:T,OCookieNotice:A,OHeaderSearch:U,OPlusConfigProvider:H,OSection:K,OThemeSwitcher:L},wt={install:t=>{Object.entries(Bt).forEach(([o,n])=>{t.component(o,n)})}};exports.OBanner=T;exports.OCookieNotice=A;exports.OHeaderSearch=U;exports.OPlusConfigProvider=H;exports.OSection=K;exports.OThemeSwitcher=L;exports.default=wt;
|
package/dist/components.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-a0f91aed]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-a0f91aed]{transform:rotate(-180deg)}}.content-wrapper[data-v-a0f91aed]{--layout-content-max-width: 1544px;--layout-content-padding: 64px;--layout-header-height: 80px}@media(max-width:1440px){.content-wrapper[data-v-a0f91aed]{--layout-content-max-width: 100%;--layout-content-padding: 40px}}@media(max-width:1200px){.content-wrapper[data-v-a0f91aed]{--layout-content-padding: 32px}}@media(max-width:600px){.content-wrapper[data-v-a0f91aed]{--layout-content-padding: 24px}}.content-wrapper[data-v-a0f91aed]{max-width:var(--layout-content-max-width);padding-left:var(--layout-content-padding);padding-right:var(--layout-content-padding);margin:0 auto;--content-wrapper-vertical-paddingTop: 72px;--content-wrapper-vertical-paddingBottom: 72px;padding-top:var(--content-wrapper-vertical-paddingTop);padding-bottom:var(--content-wrapper-vertical-paddingBottom)}.home-banner[data-v-38a33983]{overflow:hidden;position:relative}.home-banner.tiny[data-v-38a33983]{font-size:48px;line-height:64px}@media(min-width:1201px)and (max-width:1440px){.home-banner.tiny[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:841px)and (max-width:1200px){.home-banner.tiny[data-v-38a33983]{font-size:32px;line-height:44px}}@media(min-width:601px)and (max-width:840px){.home-banner.tiny[data-v-38a33983]{font-size:32px;line-height:44px}}@media(max-width:600px){.home-banner.tiny[data-v-38a33983]{font-size:20px;line-height:28px}}.home-banner.tiny[data-v-38a33983]{font-weight:500;margin:var(--o-gap-8) 0;color:var(--o-color-info1)}.home-banner .banner-title[data-v-38a33983]{color:var(--o-color-info1);font-weight:500;font-size:48px;margin-bottom:8px}.home-banner .banner-subtitle[data-v-38a33983]{color:var(--o-color-info1);margin-top:8px;font-size:16px}.home-banner .banner-text[data-v-38a33983]{height:var(--pc-height);width:var(--pc-width);background-size:contain;background-repeat:no-repeat}@media(min-width:601px)and (max-width:1200px){.home-banner .banner-text[data-v-38a33983]{height:var(--pad-height);width:var(--pad-width)}}.home-banner.large[data-v-38a33983]{--banner-height: 460px;height:var(--banner-height)}.home-banner.large .banner-title[data-v-38a33983]{font-size:56px;line-height:80px}@media(min-width:1201px)and (max-width:1440px){.home-banner.large .banner-title[data-v-38a33983]{font-size:48px;line-height:64px}}@media(min-width:841px)and (max-width:1200px){.home-banner.large .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:601px)and (max-width:840px){.home-banner.large .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(max-width:600px){.home-banner.large .banner-title[data-v-38a33983]{font-size:22px;line-height:30px}}.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:20px;line-height:28px}@media(min-width:1201px)and (max-width:1440px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:18px;line-height:26px}}@media(min-width:841px)and (max-width:1200px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(min-width:601px)and (max-width:840px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(max-width:600px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:1201px)and (max-width:1680px){.home-banner.large[data-v-38a33983]{--banner-height: 400px}}@media(min-width:841px)and (max-width:1200px){.home-banner.large[data-v-38a33983]{--banner-height: 360px}}@media(max-width:840px){.home-banner.large[data-v-38a33983]{--banner-height: 184px}}.home-banner.medium[data-v-38a33983]{--banner-height: 360px;height:var(--banner-height)}.home-banner.medium .banner-title[data-v-38a33983]{font-size:48px;line-height:64px}@media(min-width:1201px)and (max-width:1440px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:841px)and (max-width:1200px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(min-width:601px)and (max-width:840px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(max-width:600px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:20px;line-height:28px}}.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:18px;line-height:26px}@media(min-width:1201px)and (max-width:1440px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(min-width:841px)and (max-width:1200px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(max-width:600px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:1201px)and (max-width:1680px){.home-banner.medium[data-v-38a33983]{--banner-height: 280px}}@media(min-width:841px)and (max-width:1200px){.home-banner.medium[data-v-38a33983]{--banner-height: 220px}}@media(max-width:840px){.home-banner.medium[data-v-38a33983]{--banner-height: 120px}}.home-banner.medium .banner-text[data-v-38a33983]{--pc-height: 100px !important;--pc-width: 500px !important}@media(min-width:601px)and (max-width:1200px){.home-banner.medium .banner-text[data-v-38a33983]{--pc-height: 60px !important;--pc-width: 300px !important}}.home-banner.small[data-v-38a33983]{--banner-height: 280px;height:var(--banner-height)}.home-banner.small .banner-title[data-v-38a33983]{font-size:48px;line-height:64px}@media(min-width:1201px)and (max-width:1440px){.home-banner.small .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:841px)and (max-width:1200px){.home-banner.small .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(min-width:601px)and (max-width:840px){.home-banner.small .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(max-width:600px){.home-banner.small .banner-title[data-v-38a33983]{font-size:20px;line-height:28px}}.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:18px;line-height:26px}@media(min-width:1201px)and (max-width:1440px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(min-width:841px)and (max-width:1200px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(max-width:600px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:1201px)and (max-width:1680px){.home-banner.small[data-v-38a33983]{--banner-height: 220px}}@media(min-width:841px)and (max-width:1200px){.home-banner.small[data-v-38a33983]{--banner-height: 180px}}@media(max-width:840px){.home-banner.small[data-v-38a33983]{display:none}}.home-banner.small .banner-text[data-v-38a33983]{--pc-height: 80px !important;--pc-width: 400px !important}@media(min-width:601px)and (max-width:1200px){.home-banner.small .banner-text[data-v-38a33983]{--pc-height: 50px !important;--pc-width: 250px !important}}.home-banner[data-v-38a33983] .o-btn{border-radius:var(--btn-height)}.banner-carousel[data-v-38a33983]{width:100%;height:100%}@media(min-width:841px){.banner-carousel[data-v-38a33983]{--carousel-indicator-offset: 53px}}@media(max-width:840px){.banner-carousel[data-v-38a33983]{--carousel-indicator-offset: 1px}}.banner-carousel[data-v-38a33983] .o-carousel-indicator-bar{height:24px}.banner-item[data-v-38a33983],.banner-bg[data-v-38a33983],.banner-bg[data-v-38a33983] .o-figure-img{width:100%;height:100%}@media(min-width:601px)and (max-width:1200px){.banner-bg[data-v-38a33983] .o-figure-img{transition:object-position .3s ease;object-position:var(--pad-offset)}}@media(max-width:600px){.banner-bg[data-v-38a33983]{--figure-radius: 4px}}.banner-wrapper[data-v-38a33983]{height:100%}.banner-wrapper.content-center[data-v-38a33983]{display:flex;justify-content:center}.banner-wrapper.content-center .banner-content[data-v-38a33983]{align-items:center}.banner-content[data-v-38a33983]{height:100%;display:inline-flex;flex-direction:column;justify-content:center;position:relative}.banner-opts[data-v-38a33983]{margin-top:24px;--d: 20px}@keyframes fade-up-38a33983{0%{transform:translateY(var(--d));opacity:0}to{transform:translateY(0);opacity:1}}.current-slide .banner-title[data-v-38a33983],.current-slide .banner-subtitle[data-v-38a33983],.current-slide .banner-text[data-v-38a33983],.current-slide .banner-opts[data-v-38a33983]{animation:fade-up-38a33983 .4s ease-in}.in-dark.with-sticky-bg[data-v-38a33983] .o-figure-img{filter:brightness(80%) grayscale(20%) contrast(1.2)}.cursor-pointer[data-v-38a33983]{cursor:pointer}.hover-icon-rotate .o-icon[data-v-38a33983]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-38a33983]{transform:rotate(-180deg)}}.banner-item0 .banner-attach[data-v-38a33983]{height:120px}@media(min-width:601px)and (max-width:1200px){.banner-item0 .banner-attach[data-v-38a33983]{height:80px}}.banner-item1 .banner-attach[data-v-38a33983]{height:156px}@media(min-width:601px)and (max-width:1200px){.banner-item1 .banner-attach[data-v-38a33983]{height:120px}}.banner-item2 .banner-content[data-v-38a33983]{width:100%;justify-content:center}.banner-item2 .banner-attach[data-v-38a33983]{height:38%;margin-top:-60px;object-fit:contain}.hover-icon-rotate .o-icon[data-v-e46f706e]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-e46f706e]{transform:rotate(-180deg)}}.cookie-notice[data-v-e46f706e]{position:fixed;bottom:0;z-index:999;width:100%}.cookie-notice .o-button[data-v-e46f706e]{--o-button-font-size-mini: 14px}.cookie-notice .o-button+.o-button[data-v-e46f706e]{margin-left:16px}@media(max-width:840px){.cookie-notice .o-button+.o-button[data-v-e46f706e]{margin-left:0;margin-top:12px}}.cookie-notice-content[data-v-e46f706e]{background-color:rgba(var(--o-mixedgray-1),.9);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:var(--o-shadow-1)}.cookie-notice-wrap[data-v-e46f706e]{position:relative;display:flex;justify-content:space-between;margin:0 auto;padding:24px var(--layout-content-padding);max-width:var(--layout-content-max-width)}@media(max-width:840px){.cookie-notice-wrap[data-v-e46f706e]:not([type=zh]){flex-direction:column;align-items:center}}.cookie-notice-wrap-grid[data-v-e46f706e]{position:relative;display:flex;justify-content:space-between;width:var(--grid-content-width);padding:24px 0;margin:0 auto}@media(max-width:840px){.cookie-notice-wrap-grid[data-v-e46f706e]:not([type=zh]){padding:16px 0;flex-direction:column;align-items:center}}.cookie-notice-left[data-v-e46f706e]{width:60%}@media(max-width:1100px){.cookie-notice-left[data-v-e46f706e]{width:58%}}@media(max-width:840px){.cookie-notice-left[data-v-e46f706e]{width:100%}}.cookie-notice-left .cookie-title[data-v-e46f706e]{font-size:16px;line-height:28px;color:var(--o-color-info1);font-weight:500}@media(max-width:840px){.cookie-notice-left .cookie-title[data-v-e46f706e]{font-size:16px;line-height:24px;text-align:center}}.cookie-notice-left .cookie-desc[data-v-e46f706e]{font-size:12px;line-height:18px;color:var(--o-color-info2);margin-top:8px}.cookie-notice-right[data-v-e46f706e]{display:flex;align-items:center;margin-top:12px}@media(max-width:840px){.cookie-notice-right[data-v-e46f706e]{width:100%}}@media(max-width:840px){.cookie-notice-right[data-v-e46f706e]{flex-direction:column;align-items:center}}.cookie-notice-right .o-btn[data-v-e46f706e]:not(:first-child){margin-left:16px}@media(max-width:840px){.cookie-notice-right .o-btn[data-v-e46f706e]{align-self:stretch}.cookie-notice-right .o-btn[data-v-e46f706e]:not(:first-child){margin-top:12px;margin-left:0}}.cookie-notice-close[type=en][data-v-e46f706e]{position:absolute;top:16px;right:var(--layout-content-padding);transform-origin:center}.cookie-notice-close[data-v-e46f706e]{cursor:pointer;color:var(--o-color-info1);font-size:20px}.cookie-notice-close[data-v-e46f706e]:hover{color:var(--o-color-primary2)}@media(max-width:840px){.cookie-notice-close[data-v-e46f706e]{font-size:14px}}.cookie-notice-close[data-v-e46f706e]{overflow:hidden}@media(hover:hover){.cookie-notice-close:hover svg[data-v-e46f706e]{transform:rotate(180deg)}}.cookie-notice-close svg[data-v-e46f706e]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.cookie-notice-wrap-grid .cookie-notice-close[data-v-e46f706e]{right:0}.cookie-dlg-content .content-item+.content-item[data-v-e46f706e]{margin-top:24px}.cookie-dlg-content .content-item .item-header[data-v-e46f706e]{display:flex;align-items:center}.cookie-dlg-content .content-item .item-header .item-title[data-v-e46f706e]{font-size:18px;line-height:32px;color:var(--o-color-info1);font-weight:500}.cookie-dlg-content .content-item .item-header .item-extra[data-v-e46f706e]{font-size:14px;line-height:22px;color:var(--o-color-info3);margin-left:24px}.cookie-dlg-content .content-item .item-detail[data-v-e46f706e]{font-size:16px;line-height:28px;color:var(--o-color-info2);margin-top:12px}@media(max-width:840px){.cookie-dlg-content .content-item .item-detail[data-v-e46f706e]{font-size:14px;line-height:21px;margin-top:8px}}.hover-icon-rotate .o-icon[data-v-cce80de4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-cce80de4]{transform:rotate(-180deg)}}.o-header-search[data-v-cce80de4]{position:relative;width:160px;height:32px}@media(max-width:1440px){.o-header-search[data-v-cce80de4]{width:120px}}@media screen and (max-width:1080px){.o-header-search[data-v-cce80de4]{width:24px;height:24px}}.o-header-search-icon[data-v-cce80de4]{cursor:pointer;color:var(--o-color-info1);font-size:20px;line-height:28px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-icon[data-v-cce80de4]{font-size:18px;line-height:26px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-icon[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(min-width:601px)and (max-width:840px){.o-header-search-icon[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:600px){.o-header-search-icon[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px){.o-header-search-icon[data-v-cce80de4]{font-size:20px}}.o-header-search-icon .close[data-v-cce80de4]{overflow:hidden}@media(hover:hover){.o-header-search-icon .close:hover svg[data-v-cce80de4]{transform:rotate(180deg)}}.o-header-search-icon .close svg[data-v-cce80de4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.o-header-search-icon-mobile[data-v-cce80de4]{font-size:24px;line-height:28px;color:var(--o-color-info1);cursor:pointer;display:none}@media(max-width:840px){.o-header-search-icon-mobile[data-v-cce80de4]{display:block}}.o-header-search-input-pc-wrapper[data-v-cce80de4]{position:absolute;right:0;top:0;width:fit-content;background-color:var(--o-color-fill2);z-index:100}.o-header-search-input-pc-wrapper-left[data-v-cce80de4]{right:0}.o-header-search-input-pc-wrapper-right[data-v-cce80de4]{left:0}.o-header-search-input-pc-wrapper.focus[data-v-cce80de4]{box-shadow:var(--o-shadow-2);top:calc(-1 * var(--o-gap-4))}.o-header-search-input-mobile-wrapper[data-v-cce80de4]{display:none}.o-header-search-input-mobile-wrapper.focus[data-v-cce80de4]{position:fixed;top:0;right:0;bottom:0;left:0;display:block;height:100vh;background-color:var(--o-color-fill2);z-index:100;overflow:hidden}.o-header-search-input-wrapper .o-header-search-input[data-v-cce80de4]{width:160px;transition:width var(--o-easing-standard-in) var(--o-duration-m2)}@media(max-width:1440px){.o-header-search-input-wrapper .o-header-search-input[data-v-cce80de4]{width:120px}}.o-header-search-input-wrapper.focus[data-v-cce80de4]{padding:var(--o-gap-4)}@media(max-width:840px){.o-header-search-input-wrapper.focus[data-v-cce80de4]{display:flex;align-items:center;gap:var(--o-gap-4);padding:10px var(--o-gap-4) var(--o-gap-4) var(--o-gap-4)}}.o-header-search-input-wrapper.focus .o-header-search-input[data-v-cce80de4]{width:480px}@media(max-width:1440px){.o-header-search-input-wrapper.focus .o-header-search-input[data-v-cce80de4]{width:240px}}@media(max-width:840px){.o-header-search-input-wrapper.focus .o-header-search-input[data-v-cce80de4]{flex:1}}.o-header-search-icon.close[data-v-cce80de4]{overflow:hidden}@media(hover:hover){.o-header-search-icon.close:hover svg[data-v-cce80de4]{transform:rotate(180deg)}}.o-header-search-icon.close svg[data-v-cce80de4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.o-header-search-drawer[data-v-cce80de4]{position:absolute;width:100%;padding:var(--o-gap-5);padding-top:var(--o-gap-2);background-color:var(--o-color-fill2);box-shadow:var(--o-shadow-2)}@media(max-width:840px){.o-header-search-drawer[data-v-cce80de4]{position:static;height:calc(100vh - 50px);padding-top:0;overflow-y:auto;box-shadow:unset}}.o-header-search-drawer[data-v-cce80de4]:before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px;background-color:var(--o-color-fill2);box-shadow:unset}@media(max-width:1440px){.o-header-search-drawer[data-v-cce80de4]:before{top:-10px;height:10px}}@media(max-width:1200px){.o-header-search-drawer[data-v-cce80de4]:before{top:-8px;height:8px}}@media(max-width:840px){.o-header-search-drawer[data-v-cce80de4]:before{display:none}}.o-header-search-recommend-container[data-v-cce80de4]{color:var(--o-color-info1);margin-bottom:var(--o-gap-3)}.o-header-search-recommend-item[data-v-cce80de4]{cursor:pointer;font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(hover:hover){.o-header-search-recommend-item[data-v-cce80de4]:hover{color:var(--o-color-primary1)}}@media(max-width:840px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}.o-header-search-recommend-item+.o-header-search-recommend-item[data-v-cce80de4]{margin-top:var(--o-gap-3)}@media(max-width:840px){.o-header-search-history-container[data-v-cce80de4]{margin-bottom:var(--o-gap-5)}}.o-header-search-history-header[data-v-cce80de4]{display:flex;align-items:center;justify-content:space-between}.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:10px;line-height:16px}}.o-header-search-history-header-title[data-v-cce80de4]{color:var(--o-color-info3)}@media(max-width:840px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:18px;line-height:26px;color:var(--o-color-info1)}}@media(max-width:840px)and (min-width:1201px)and (max-width:1440px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:840px)and (min-width:841px)and (max-width:1200px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:601px)and (max-width:840px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (max-width:600px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:14px;line-height:22px}}.o-header-search-history-item-container[data-v-cce80de4]{display:flex;gap:8px;flex-wrap:wrap;margin-top:var(--o-gap-2)}.o-header-search-history-item-icon[data-v-cce80de4]{position:absolute;right:-8px;top:-8px;display:none;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background-color:rgb(var(--o-mixedgray-9))}.o-header-search-history-item-icon .icon-delete[data-v-cce80de4]{height:16px;width:16px;color:var(--o-color-white)}.o-header-search-history-item[data-v-cce80de4]{position:relative;display:flex;align-items:center;max-width:224px;height:24px;padding:0 var(--o-gap-3);background-color:var(--o-color-fill3);border-radius:var(--o-radius-xs);cursor:pointer}@media(hover:hover){.o-header-search-history-item[data-v-cce80de4]:hover{background-color:var(--o-color-control2-light);color:var(--o-color-primary1)}.o-header-search-history-item:hover .o-header-search-history-item-icon[data-v-cce80de4]{display:flex}}.o-header-search-history-item-text[data-v-cce80de4]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(max-width:840px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:840px)and (min-width:1201px)and (max-width:1440px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:841px)and (max-width:1200px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:601px)and (max-width:840px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (max-width:600px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}.o-header-search-drawer-divider[data-v-cce80de4]{--o-divider-gap: var(--o-gap-4)}@media(max-width:840px){.o-header-search-drawer-divider[data-v-cce80de4]{display:none}}.o-header-search-hot-header[data-v-cce80de4]{color:var(--o-color-info3);font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-hot-header[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-hot-header[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-hot-header[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-hot-header[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(max-width:840px){.o-header-search-hot-header[data-v-cce80de4]{margin-bottom:var(--o-gap-3);font-size:18px;line-height:26px}}@media(max-width:840px)and (min-width:1201px)and (max-width:1440px){.o-header-search-hot-header[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:840px)and (min-width:841px)and (max-width:1200px){.o-header-search-hot-header[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:601px)and (max-width:840px){.o-header-search-hot-header[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (max-width:600px){.o-header-search-hot-header[data-v-cce80de4]{font-size:14px;line-height:22px}}.o-header-search-hot-item-container[data-v-cce80de4]{display:flex;flex-wrap:wrap;gap:var(--o-gap-4);margin-top:var(--o-gap-3);font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(max-width:840px){.o-header-search-hot-item-container[data-v-cce80de4]{flex-direction:column;gap:12px;font-size:12px;line-height:18px}}.o-header-search-hot-item[data-v-cce80de4]{color:var(--o-color-info1);cursor:pointer}@media(hover:hover){.o-header-search-hot-item[data-v-cce80de4]:hover{color:var(--o-color-primary1)}}.o-header-search-text[data-v-cce80de4]{font-size:16px;line-height:24px}.hover-icon-rotate .o-icon[data-v-57b81782]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-57b81782]{transform:rotate(-180deg)}}.app-section[data-v-57b81782]{--o-gap-section: var(--o-gap-7)}.app-section .section-wrapper[data-v-57b81782]{margin:var(--o-gap-section) auto 0}.app-section.is-full .section-body[data-v-57b81782]{max-width:100%;width:100%;padding:0}.app-section:last-child .section-wrapper[data-v-57b81782]{padding-bottom:var(--o-gap-section)}.app-section .section-header.is-left .section-title[data-v-57b81782],.app-section .section-header.is-left .section-subtitle[data-v-57b81782]{justify-content:start}.app-section .section-title[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:0 auto;display:flex;justify-content:center;color:var(--o-color-info1);text-align:center;font-size:40px;line-height:56px}@media(min-width:1201px)and (max-width:1440px){.app-section .section-title[data-v-57b81782]{font-size:32px;line-height:44px}}@media(min-width:841px)and (max-width:1200px){.app-section .section-title[data-v-57b81782]{font-size:24px;line-height:32px}}@media(min-width:601px)and (max-width:840px){.app-section .section-title[data-v-57b81782]{font-size:22px;line-height:30px}}@media(max-width:600px){.app-section .section-title[data-v-57b81782]{font-size:18px;line-height:26px}}.app-section .section-title[data-v-57b81782]{font-weight:500}.app-section .section-subtitle[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:12px auto 0;display:flex;justify-content:center;color:var(--o-color-info2);font-size:16px;line-height:24px}@media(min-width:1201px)and (max-width:1440px){.app-section .section-subtitle[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:841px)and (max-width:1200px){.app-section .section-subtitle[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.app-section .section-subtitle[data-v-57b81782]{font-size:14px;line-height:22px}}@media(max-width:600px){.app-section .section-subtitle[data-v-57b81782]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:1440px){.app-section .section-subtitle[data-v-57b81782]{margin-top:8px}}@media(max-width:600px){.app-section .section-subtitle[data-v-57b81782]{margin-top:12px;text-align:center}}.app-section .section-body[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:0 auto;margin-top:var(--o-gap-7)}.app-section .section-footer[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:0 auto;color:var(--o-color-info1);display:flex;justify-content:center;font-size:16px;line-height:24px}@media(min-width:1201px)and (max-width:1440px){.app-section .section-footer[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:841px)and (max-width:1200px){.app-section .section-footer[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.app-section .section-footer[data-v-57b81782]{font-size:14px;line-height:22px}}@media(max-width:600px){.app-section .section-footer[data-v-57b81782]{font-size:12px;line-height:18px}}.app-section .section-footer[data-v-57b81782]{margin-top:32px}.app-section .section-footer[data-v-57b81782] .o-btn{border-radius:var(--btn-height)}@media(max-width:1440px){.app-section .section-footer[data-v-57b81782]{margin-top:16px}}@media(max-width:600px){.app-section .section-footer[data-v-57b81782]{margin-top:12px}}.app-section .section-footer:hover .footer-icon[data-v-57b81782]{fill:var(--link-color-active)}.app-section .footer-icon[data-v-57b81782]{font-size:16px;height:24px}.hover-icon-rotate .o-icon[data-v-837e14fb]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-837e14fb]{transform:rotate(-180deg)}}.o-theme-switcher-common[data-v-837e14fb]{cursor:pointer;width:20px;height:20px;display:flex;align-items:center}.o-theme-switcher-common .o-theme-icon[data-v-837e14fb]{font-size:24px;color:var(--o-color-info1)}@media(hover:hover){.o-theme-switcher-common .o-theme-icon[data-v-837e14fb]:hover{color:var(--o-color-primary1)}}.o-theme-switcher-mobile .o-theme-switch[data-v-837e14fb]{background-color:var(--o-color-control1-light)}.o-theme-switcher-mobile .o-theme-switch .o-theme-icon[data-v-837e14fb]{color:var(--o-color-white)}.hover-icon-rotate .o-icon[data-v-0f21fee4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-0f21fee4]{transform:rotate(-180deg)}}.el-button[data-v-0f21fee4]{--el-button-bg-color: transparent;--el-button-text-color: var(--o-color-primary1);--el-button-border-color: var(--o-color-primary1);--el-button-hover-bg-color: var(--o-color-primary1)}.cookie-notice[data-v-0f21fee4]{position:fixed;bottom:0;z-index:999;width:100%;--el-color-primary: var(--o-color-primary1)}.cookie-notice .o-button[data-v-0f21fee4]{--o-button-font-size-mini: 14px}.cookie-notice .o-button+.o-button[data-v-0f21fee4]{margin-left:16px}@media(max-width:840px){.cookie-notice .o-button+.o-button[data-v-0f21fee4]{margin-left:0;margin-top:12px}}.cookie-notice-content[data-v-0f21fee4]{background-color:rgba(var(--o-mixedgray-1),.9);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:var(--o-shadow-1)}.cookie-notice-wrap[data-v-0f21fee4]{position:relative;display:flex;justify-content:space-between;margin:0 auto;padding:24px var(--layout-content-padding);max-width:var(--layout-content-max-width)}@media(max-width:840px){.cookie-notice-wrap[data-v-0f21fee4]:not([type=zh]){flex-direction:column;align-items:center}}.cookie-notice-wrap-grid[data-v-0f21fee4]{position:relative;display:flex;justify-content:space-between;width:var(--grid-content-width);padding:24px 0;margin:0 auto}@media(max-width:840px){.cookie-notice-wrap-grid[data-v-0f21fee4]{padding:16px 0;flex-direction:column;align-items:center}}.cookie-notice-left[data-v-0f21fee4]{width:60%}@media(max-width:1100px){.cookie-notice-left[data-v-0f21fee4]{width:58%}}@media(max-width:840px){.cookie-notice-left[data-v-0f21fee4]{width:100%}}.cookie-notice-left .cookie-title[data-v-0f21fee4]{font-size:16px;line-height:28px;color:var(--o-color-info1);font-weight:500}@media(max-width:840px){.cookie-notice-left .cookie-title[data-v-0f21fee4]{font-size:16px;line-height:24px;text-align:center}}.cookie-notice-left .cookie-desc[data-v-0f21fee4]{font-size:12px;line-height:18px;color:var(--o-color-info2);margin-top:8px}.cookie-notice-right[data-v-0f21fee4]{display:flex;align-items:center;margin-top:12px}@media(max-width:840px){.cookie-notice-right[data-v-0f21fee4]{width:100%}}@media(max-width:840px){.cookie-notice-right[data-v-0f21fee4]{flex-direction:column;align-items:center}}.cookie-notice-right .el-button[data-v-0f21fee4]:not(:first-child){margin-left:16px}@media(max-width:840px){.cookie-notice-right .el-button[data-v-0f21fee4]{align-self:stretch}.cookie-notice-right .el-button[data-v-0f21fee4]:not(:first-child){margin-top:12px;margin-left:0}}.cookie-notice-close[type=en][data-v-0f21fee4]{position:absolute;top:16px;right:var(--layout-content-padding);transform-origin:center}.cookie-notice-close[data-v-0f21fee4]{cursor:pointer;color:var(--o-color-info1);font-size:20px}.cookie-notice-close[data-v-0f21fee4]:hover{color:var(--o-color-primary2)}@media(max-width:840px){.cookie-notice-close[data-v-0f21fee4]{font-size:14px}}.cookie-notice-close[data-v-0f21fee4]{overflow:hidden}@media(hover:hover){.cookie-notice-close:hover svg[data-v-0f21fee4]{transform:rotate(180deg)}}.cookie-notice-close svg[data-v-0f21fee4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.cookie-dlg-content .content-item+.content-item[data-v-0f21fee4]{margin-top:24px}.cookie-dlg-content .content-item .item-header[data-v-0f21fee4]{display:flex;align-items:center}.cookie-dlg-content .content-item .item-header .item-title[data-v-0f21fee4]{font-size:18px;line-height:32px;color:var(--o-color-info1);font-weight:500}.cookie-dlg-content .content-item .item-header .item-extra[data-v-0f21fee4]{font-size:14px;line-height:22px;color:var(--o-color-info3);margin-left:24px}.cookie-dlg-content .content-item .item-detail[data-v-0f21fee4]{font-size:16px;line-height:28px;color:var(--o-color-info2);margin-top:12px}@media(max-width:840px){.cookie-dlg-content .content-item .item-detail[data-v-0f21fee4]{font-size:14px;line-height:21px;margin-top:8px}}[data-v-0f21fee4] .el-dialog .el-dialog__header{text-align:center}[data-v-0f21fee4] .el-dialog .el-dialog__title{font-size:32px}@media(max-width:840px){[data-v-0f21fee4] .el-dialog .el-dialog__title{font-size:22px}}[data-v-0f21fee4] .el-dialog .el-dialog__footer{text-align:center}@media(max-width:840px){[data-v-0f21fee4] .el-dialog .el-dialog__footer .o-button{margin:0 8px}}
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-a0f91aed]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-a0f91aed]{transform:rotate(-180deg)}}.content-wrapper[data-v-a0f91aed]{--layout-content-max-width: 1544px;--layout-content-padding: 64px;--layout-header-height: 80px}@media(max-width:1440px){.content-wrapper[data-v-a0f91aed]{--layout-content-max-width: 100%;--layout-content-padding: 40px}}@media(max-width:1200px){.content-wrapper[data-v-a0f91aed]{--layout-content-padding: 32px}}@media(max-width:600px){.content-wrapper[data-v-a0f91aed]{--layout-content-padding: 24px}}.content-wrapper[data-v-a0f91aed]{max-width:var(--layout-content-max-width);padding-left:var(--layout-content-padding);padding-right:var(--layout-content-padding);margin:0 auto;--content-wrapper-vertical-paddingTop: 72px;--content-wrapper-vertical-paddingBottom: 72px;padding-top:var(--content-wrapper-vertical-paddingTop);padding-bottom:var(--content-wrapper-vertical-paddingBottom)}.home-banner[data-v-38a33983]{overflow:hidden;position:relative}.home-banner.tiny[data-v-38a33983]{font-size:48px;line-height:64px}@media(min-width:1201px)and (max-width:1440px){.home-banner.tiny[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:841px)and (max-width:1200px){.home-banner.tiny[data-v-38a33983]{font-size:32px;line-height:44px}}@media(min-width:601px)and (max-width:840px){.home-banner.tiny[data-v-38a33983]{font-size:32px;line-height:44px}}@media(max-width:600px){.home-banner.tiny[data-v-38a33983]{font-size:20px;line-height:28px}}.home-banner.tiny[data-v-38a33983]{font-weight:500;margin:var(--o-gap-8) 0;color:var(--o-color-info1)}.home-banner .banner-title[data-v-38a33983]{color:var(--o-color-info1);font-weight:500;font-size:48px;margin-bottom:8px}.home-banner .banner-subtitle[data-v-38a33983]{color:var(--o-color-info1);margin-top:8px;font-size:16px}.home-banner .banner-text[data-v-38a33983]{height:var(--pc-height);width:var(--pc-width);background-size:contain;background-repeat:no-repeat}@media(min-width:601px)and (max-width:1200px){.home-banner .banner-text[data-v-38a33983]{height:var(--pad-height);width:var(--pad-width)}}.home-banner.large[data-v-38a33983]{--banner-height: 460px;height:var(--banner-height)}.home-banner.large .banner-title[data-v-38a33983]{font-size:56px;line-height:80px}@media(min-width:1201px)and (max-width:1440px){.home-banner.large .banner-title[data-v-38a33983]{font-size:48px;line-height:64px}}@media(min-width:841px)and (max-width:1200px){.home-banner.large .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:601px)and (max-width:840px){.home-banner.large .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(max-width:600px){.home-banner.large .banner-title[data-v-38a33983]{font-size:22px;line-height:30px}}.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:20px;line-height:28px}@media(min-width:1201px)and (max-width:1440px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:18px;line-height:26px}}@media(min-width:841px)and (max-width:1200px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(min-width:601px)and (max-width:840px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(max-width:600px){.home-banner.large .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:1201px)and (max-width:1680px){.home-banner.large[data-v-38a33983]{--banner-height: 400px}}@media(min-width:841px)and (max-width:1200px){.home-banner.large[data-v-38a33983]{--banner-height: 360px}}@media(max-width:840px){.home-banner.large[data-v-38a33983]{--banner-height: 184px}}.home-banner.medium[data-v-38a33983]{--banner-height: 360px;height:var(--banner-height)}.home-banner.medium .banner-title[data-v-38a33983]{font-size:48px;line-height:64px}@media(min-width:1201px)and (max-width:1440px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:841px)and (max-width:1200px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(min-width:601px)and (max-width:840px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(max-width:600px){.home-banner.medium .banner-title[data-v-38a33983]{font-size:20px;line-height:28px}}.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:18px;line-height:26px}@media(min-width:1201px)and (max-width:1440px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(min-width:841px)and (max-width:1200px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(max-width:600px){.home-banner.medium .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:1201px)and (max-width:1680px){.home-banner.medium[data-v-38a33983]{--banner-height: 280px}}@media(min-width:841px)and (max-width:1200px){.home-banner.medium[data-v-38a33983]{--banner-height: 220px}}@media(max-width:840px){.home-banner.medium[data-v-38a33983]{--banner-height: 120px}}.home-banner.medium .banner-text[data-v-38a33983]{--pc-height: 100px !important;--pc-width: 500px !important}@media(min-width:601px)and (max-width:1200px){.home-banner.medium .banner-text[data-v-38a33983]{--pc-height: 60px !important;--pc-width: 300px !important}}.home-banner.small[data-v-38a33983]{--banner-height: 280px;height:var(--banner-height)}.home-banner.small .banner-title[data-v-38a33983]{font-size:48px;line-height:64px}@media(min-width:1201px)and (max-width:1440px){.home-banner.small .banner-title[data-v-38a33983]{font-size:40px;line-height:56px}}@media(min-width:841px)and (max-width:1200px){.home-banner.small .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(min-width:601px)and (max-width:840px){.home-banner.small .banner-title[data-v-38a33983]{font-size:32px;line-height:44px}}@media(max-width:600px){.home-banner.small .banner-title[data-v-38a33983]{font-size:20px;line-height:28px}}.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:18px;line-height:26px}@media(min-width:1201px)and (max-width:1440px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:16px;line-height:24px}}@media(min-width:841px)and (max-width:1200px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(max-width:600px){.home-banner.small .banner-subtitle[data-v-38a33983]{font-size:14px;line-height:22px}}@media(min-width:1201px)and (max-width:1680px){.home-banner.small[data-v-38a33983]{--banner-height: 220px}}@media(min-width:841px)and (max-width:1200px){.home-banner.small[data-v-38a33983]{--banner-height: 180px}}@media(max-width:840px){.home-banner.small[data-v-38a33983]{display:none}}.home-banner.small .banner-text[data-v-38a33983]{--pc-height: 80px !important;--pc-width: 400px !important}@media(min-width:601px)and (max-width:1200px){.home-banner.small .banner-text[data-v-38a33983]{--pc-height: 50px !important;--pc-width: 250px !important}}.home-banner[data-v-38a33983] .o-btn{border-radius:var(--btn-height)}.banner-carousel[data-v-38a33983]{width:100%;height:100%}@media(min-width:841px){.banner-carousel[data-v-38a33983]{--carousel-indicator-offset: 53px}}@media(max-width:840px){.banner-carousel[data-v-38a33983]{--carousel-indicator-offset: 1px}}.banner-carousel[data-v-38a33983] .o-carousel-indicator-bar{height:24px}.banner-item[data-v-38a33983],.banner-bg[data-v-38a33983],.banner-bg[data-v-38a33983] .o-figure-img{width:100%;height:100%}@media(min-width:601px)and (max-width:1200px){.banner-bg[data-v-38a33983] .o-figure-img{transition:object-position .3s ease;object-position:var(--pad-offset)}}@media(max-width:600px){.banner-bg[data-v-38a33983]{--figure-radius: 4px}}.banner-wrapper[data-v-38a33983]{height:100%}.banner-wrapper.content-center[data-v-38a33983]{display:flex;justify-content:center}.banner-wrapper.content-center .banner-content[data-v-38a33983]{align-items:center}.banner-content[data-v-38a33983]{height:100%;display:inline-flex;flex-direction:column;justify-content:center;position:relative}.banner-opts[data-v-38a33983]{margin-top:24px;--d: 20px}@keyframes fade-up-38a33983{0%{transform:translateY(var(--d));opacity:0}to{transform:translateY(0);opacity:1}}.current-slide .banner-title[data-v-38a33983],.current-slide .banner-subtitle[data-v-38a33983],.current-slide .banner-text[data-v-38a33983],.current-slide .banner-opts[data-v-38a33983]{animation:fade-up-38a33983 .4s ease-in}.in-dark.with-sticky-bg[data-v-38a33983] .o-figure-img{filter:brightness(80%) grayscale(20%) contrast(1.2)}.cursor-pointer[data-v-38a33983]{cursor:pointer}.hover-icon-rotate .o-icon[data-v-38a33983]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-38a33983]{transform:rotate(-180deg)}}.banner-item0 .banner-attach[data-v-38a33983]{height:120px}@media(min-width:601px)and (max-width:1200px){.banner-item0 .banner-attach[data-v-38a33983]{height:80px}}.banner-item1 .banner-attach[data-v-38a33983]{height:156px}@media(min-width:601px)and (max-width:1200px){.banner-item1 .banner-attach[data-v-38a33983]{height:120px}}.banner-item2 .banner-content[data-v-38a33983]{width:100%;justify-content:center}.banner-item2 .banner-attach[data-v-38a33983]{height:38%;margin-top:-60px;object-fit:contain}.hover-icon-rotate .o-icon[data-v-712c28fb]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-712c28fb]{transform:rotate(-180deg)}}.cookie-notice[data-v-712c28fb]{position:fixed;bottom:0;z-index:999;width:100%}.cookie-notice .o-button[data-v-712c28fb]{--o-button-font-size-mini: 14px}.cookie-notice .o-button+.o-button[data-v-712c28fb]{margin-left:16px}@media(max-width:840px){.cookie-notice .o-button+.o-button[data-v-712c28fb]{margin-left:0;margin-top:12px}}.cookie-notice-content[data-v-712c28fb]{background-color:rgba(var(--o-mixedgray-1),.9);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:var(--o-shadow-1)}.cookie-notice-wrap[data-v-712c28fb]{position:relative;display:flex;justify-content:space-between;margin:0 auto;padding:24px var(--layout-content-padding);max-width:var(--layout-content-max-width)}@media(max-width:840px){.cookie-notice-wrap[data-v-712c28fb]:not([type=zh]){flex-direction:column;align-items:center}}.cookie-notice-wrap-grid[data-v-712c28fb]{position:relative;display:flex;justify-content:space-between;width:var(--grid-content-width);padding:24px 0;margin:0 auto}@media(max-width:840px){.cookie-notice-wrap-grid[data-v-712c28fb]:not([type=zh]){padding:16px 0;flex-direction:column;align-items:center}}.cookie-notice-left[data-v-712c28fb]{width:60%}@media(max-width:1100px){.cookie-notice-left[data-v-712c28fb]{width:58%}}@media(max-width:840px){.cookie-notice-left[data-v-712c28fb]{width:100%}}.cookie-notice-left .cookie-title[data-v-712c28fb]{font-size:16px;line-height:28px;color:var(--o-color-info1);font-weight:500}@media(max-width:840px){.cookie-notice-left .cookie-title[data-v-712c28fb]{font-size:16px;line-height:24px;text-align:center}}.cookie-notice-left .cookie-desc[data-v-712c28fb]{font-size:12px;line-height:18px;color:var(--o-color-info2);margin-top:8px}.cookie-notice-right[data-v-712c28fb]{display:flex;align-items:center;margin-top:12px}@media(max-width:840px){.cookie-notice-right[data-v-712c28fb]{width:100%}}@media(max-width:840px){.cookie-notice-right[data-v-712c28fb]{flex-direction:column;align-items:center}}.cookie-notice-right .o-btn[data-v-712c28fb]:not(:first-child){margin-left:16px}@media(max-width:840px){.cookie-notice-right .o-btn[data-v-712c28fb]{align-self:stretch}.cookie-notice-right .o-btn[data-v-712c28fb]:not(:first-child){margin-top:12px;margin-left:0}}.cookie-notice-close[type=en][data-v-712c28fb]{position:absolute;top:16px;right:var(--layout-content-padding);transform-origin:center}.cookie-notice-close[data-v-712c28fb]{cursor:pointer;color:var(--o-color-info1);font-size:20px}.cookie-notice-close[data-v-712c28fb]:hover{color:var(--o-color-primary2)}@media(max-width:840px){.cookie-notice-close[data-v-712c28fb]{font-size:14px}}.cookie-notice-close[data-v-712c28fb]{overflow:hidden}@media(hover:hover){.cookie-notice-close:hover svg[data-v-712c28fb]{transform:rotate(180deg)}}.cookie-notice-close svg[data-v-712c28fb]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.cookie-notice-wrap-grid .cookie-notice-close[data-v-712c28fb]{right:0}.cookie-dlg-content .content-item+.content-item[data-v-712c28fb]{margin-top:24px}.cookie-dlg-content .content-item .item-header[data-v-712c28fb]{display:flex;align-items:center}.cookie-dlg-content .content-item .item-header .item-title[data-v-712c28fb]{font-size:18px;line-height:32px;color:var(--o-color-info1);font-weight:500}.cookie-dlg-content .content-item .item-header .item-extra[data-v-712c28fb]{font-size:14px;line-height:22px;color:var(--o-color-info3);margin-left:24px}.cookie-dlg-content .content-item .item-detail[data-v-712c28fb]{font-size:16px;line-height:28px;color:var(--o-color-info2);margin-top:12px}@media(max-width:840px){.cookie-dlg-content .content-item .item-detail[data-v-712c28fb]{font-size:14px;line-height:21px;margin-top:8px}}.hover-icon-rotate .o-icon[data-v-cce80de4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-cce80de4]{transform:rotate(-180deg)}}.o-header-search[data-v-cce80de4]{position:relative;width:160px;height:32px}@media(max-width:1440px){.o-header-search[data-v-cce80de4]{width:120px}}@media screen and (max-width:1080px){.o-header-search[data-v-cce80de4]{width:24px;height:24px}}.o-header-search-icon[data-v-cce80de4]{cursor:pointer;color:var(--o-color-info1);font-size:20px;line-height:28px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-icon[data-v-cce80de4]{font-size:18px;line-height:26px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-icon[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(min-width:601px)and (max-width:840px){.o-header-search-icon[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:600px){.o-header-search-icon[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px){.o-header-search-icon[data-v-cce80de4]{font-size:20px}}.o-header-search-icon .close[data-v-cce80de4]{overflow:hidden}@media(hover:hover){.o-header-search-icon .close:hover svg[data-v-cce80de4]{transform:rotate(180deg)}}.o-header-search-icon .close svg[data-v-cce80de4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.o-header-search-icon-mobile[data-v-cce80de4]{font-size:24px;line-height:28px;color:var(--o-color-info1);cursor:pointer;display:none}@media(max-width:840px){.o-header-search-icon-mobile[data-v-cce80de4]{display:block}}.o-header-search-input-pc-wrapper[data-v-cce80de4]{position:absolute;right:0;top:0;width:fit-content;background-color:var(--o-color-fill2);z-index:100}.o-header-search-input-pc-wrapper-left[data-v-cce80de4]{right:0}.o-header-search-input-pc-wrapper-right[data-v-cce80de4]{left:0}.o-header-search-input-pc-wrapper.focus[data-v-cce80de4]{box-shadow:var(--o-shadow-2);top:calc(-1 * var(--o-gap-4))}.o-header-search-input-mobile-wrapper[data-v-cce80de4]{display:none}.o-header-search-input-mobile-wrapper.focus[data-v-cce80de4]{position:fixed;top:0;right:0;bottom:0;left:0;display:block;height:100vh;background-color:var(--o-color-fill2);z-index:100;overflow:hidden}.o-header-search-input-wrapper .o-header-search-input[data-v-cce80de4]{width:160px;transition:width var(--o-easing-standard-in) var(--o-duration-m2)}@media(max-width:1440px){.o-header-search-input-wrapper .o-header-search-input[data-v-cce80de4]{width:120px}}.o-header-search-input-wrapper.focus[data-v-cce80de4]{padding:var(--o-gap-4)}@media(max-width:840px){.o-header-search-input-wrapper.focus[data-v-cce80de4]{display:flex;align-items:center;gap:var(--o-gap-4);padding:10px var(--o-gap-4) var(--o-gap-4) var(--o-gap-4)}}.o-header-search-input-wrapper.focus .o-header-search-input[data-v-cce80de4]{width:480px}@media(max-width:1440px){.o-header-search-input-wrapper.focus .o-header-search-input[data-v-cce80de4]{width:240px}}@media(max-width:840px){.o-header-search-input-wrapper.focus .o-header-search-input[data-v-cce80de4]{flex:1}}.o-header-search-icon.close[data-v-cce80de4]{overflow:hidden}@media(hover:hover){.o-header-search-icon.close:hover svg[data-v-cce80de4]{transform:rotate(180deg)}}.o-header-search-icon.close svg[data-v-cce80de4]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.o-header-search-drawer[data-v-cce80de4]{position:absolute;width:100%;padding:var(--o-gap-5);padding-top:var(--o-gap-2);background-color:var(--o-color-fill2);box-shadow:var(--o-shadow-2)}@media(max-width:840px){.o-header-search-drawer[data-v-cce80de4]{position:static;height:calc(100vh - 50px);padding-top:0;overflow-y:auto;box-shadow:unset}}.o-header-search-drawer[data-v-cce80de4]:before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px;background-color:var(--o-color-fill2);box-shadow:unset}@media(max-width:1440px){.o-header-search-drawer[data-v-cce80de4]:before{top:-10px;height:10px}}@media(max-width:1200px){.o-header-search-drawer[data-v-cce80de4]:before{top:-8px;height:8px}}@media(max-width:840px){.o-header-search-drawer[data-v-cce80de4]:before{display:none}}.o-header-search-recommend-container[data-v-cce80de4]{color:var(--o-color-info1);margin-bottom:var(--o-gap-3)}.o-header-search-recommend-item[data-v-cce80de4]{cursor:pointer;font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(hover:hover){.o-header-search-recommend-item[data-v-cce80de4]:hover{color:var(--o-color-primary1)}}@media(max-width:840px){.o-header-search-recommend-item[data-v-cce80de4]{font-size:12px;line-height:18px}}.o-header-search-recommend-item+.o-header-search-recommend-item[data-v-cce80de4]{margin-top:var(--o-gap-3)}@media(max-width:840px){.o-header-search-history-container[data-v-cce80de4]{margin-bottom:var(--o-gap-5)}}.o-header-search-history-header[data-v-cce80de4]{display:flex;align-items:center;justify-content:space-between}.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:10px;line-height:16px}}.o-header-search-history-header-title[data-v-cce80de4]{color:var(--o-color-info3)}@media(max-width:840px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:18px;line-height:26px;color:var(--o-color-info1)}}@media(max-width:840px)and (min-width:1201px)and (max-width:1440px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:840px)and (min-width:841px)and (max-width:1200px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:601px)and (max-width:840px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (max-width:600px){.o-header-search-history-header-title[data-v-cce80de4]{font-size:14px;line-height:22px}}.o-header-search-history-item-container[data-v-cce80de4]{display:flex;gap:8px;flex-wrap:wrap;margin-top:var(--o-gap-2)}.o-header-search-history-item-icon[data-v-cce80de4]{position:absolute;right:-8px;top:-8px;display:none;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background-color:rgb(var(--o-mixedgray-9))}.o-header-search-history-item-icon .icon-delete[data-v-cce80de4]{height:16px;width:16px;color:var(--o-color-white)}.o-header-search-history-item[data-v-cce80de4]{position:relative;display:flex;align-items:center;max-width:224px;height:24px;padding:0 var(--o-gap-3);background-color:var(--o-color-fill3);border-radius:var(--o-radius-xs);cursor:pointer}@media(hover:hover){.o-header-search-history-item[data-v-cce80de4]:hover{background-color:var(--o-color-control2-light);color:var(--o-color-primary1)}.o-header-search-history-item:hover .o-header-search-history-item-icon[data-v-cce80de4]{display:flex}}.o-header-search-history-item-text[data-v-cce80de4]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(max-width:840px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:840px)and (min-width:1201px)and (max-width:1440px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:841px)and (max-width:1200px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:601px)and (max-width:840px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (max-width:600px){.o-header-search-history-item-text[data-v-cce80de4]{font-size:12px;line-height:18px}}.o-header-search-drawer-divider[data-v-cce80de4]{--o-divider-gap: var(--o-gap-4)}@media(max-width:840px){.o-header-search-drawer-divider[data-v-cce80de4]{display:none}}.o-header-search-hot-header[data-v-cce80de4]{color:var(--o-color-info3);font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-hot-header[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-hot-header[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-hot-header[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-hot-header[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(max-width:840px){.o-header-search-hot-header[data-v-cce80de4]{margin-bottom:var(--o-gap-3);font-size:18px;line-height:26px}}@media(max-width:840px)and (min-width:1201px)and (max-width:1440px){.o-header-search-hot-header[data-v-cce80de4]{font-size:16px;line-height:24px}}@media(max-width:840px)and (min-width:841px)and (max-width:1200px){.o-header-search-hot-header[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (min-width:601px)and (max-width:840px){.o-header-search-hot-header[data-v-cce80de4]{font-size:14px;line-height:22px}}@media(max-width:840px)and (max-width:600px){.o-header-search-hot-header[data-v-cce80de4]{font-size:14px;line-height:22px}}.o-header-search-hot-item-container[data-v-cce80de4]{display:flex;flex-wrap:wrap;gap:var(--o-gap-4);margin-top:var(--o-gap-3);font-size:12px;line-height:18px}@media(min-width:1201px)and (max-width:1440px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:841px)and (max-width:1200px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:840px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:12px;line-height:18px}}@media(max-width:600px){.o-header-search-hot-item-container[data-v-cce80de4]{font-size:10px;line-height:16px}}@media(max-width:840px){.o-header-search-hot-item-container[data-v-cce80de4]{flex-direction:column;gap:12px;font-size:12px;line-height:18px}}.o-header-search-hot-item[data-v-cce80de4]{color:var(--o-color-info1);cursor:pointer}@media(hover:hover){.o-header-search-hot-item[data-v-cce80de4]:hover{color:var(--o-color-primary1)}}.o-header-search-text[data-v-cce80de4]{font-size:16px;line-height:24px}.hover-icon-rotate .o-icon[data-v-57b81782]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-57b81782]{transform:rotate(-180deg)}}.app-section[data-v-57b81782]{--o-gap-section: var(--o-gap-7)}.app-section .section-wrapper[data-v-57b81782]{margin:var(--o-gap-section) auto 0}.app-section.is-full .section-body[data-v-57b81782]{max-width:100%;width:100%;padding:0}.app-section:last-child .section-wrapper[data-v-57b81782]{padding-bottom:var(--o-gap-section)}.app-section .section-header.is-left .section-title[data-v-57b81782],.app-section .section-header.is-left .section-subtitle[data-v-57b81782]{justify-content:start}.app-section .section-title[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:0 auto;display:flex;justify-content:center;color:var(--o-color-info1);text-align:center;font-size:40px;line-height:56px}@media(min-width:1201px)and (max-width:1440px){.app-section .section-title[data-v-57b81782]{font-size:32px;line-height:44px}}@media(min-width:841px)and (max-width:1200px){.app-section .section-title[data-v-57b81782]{font-size:24px;line-height:32px}}@media(min-width:601px)and (max-width:840px){.app-section .section-title[data-v-57b81782]{font-size:22px;line-height:30px}}@media(max-width:600px){.app-section .section-title[data-v-57b81782]{font-size:18px;line-height:26px}}.app-section .section-title[data-v-57b81782]{font-weight:500}.app-section .section-subtitle[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:12px auto 0;display:flex;justify-content:center;color:var(--o-color-info2);font-size:16px;line-height:24px}@media(min-width:1201px)and (max-width:1440px){.app-section .section-subtitle[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:841px)and (max-width:1200px){.app-section .section-subtitle[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.app-section .section-subtitle[data-v-57b81782]{font-size:14px;line-height:22px}}@media(max-width:600px){.app-section .section-subtitle[data-v-57b81782]{font-size:12px;line-height:18px}}@media(min-width:601px)and (max-width:1440px){.app-section .section-subtitle[data-v-57b81782]{margin-top:8px}}@media(max-width:600px){.app-section .section-subtitle[data-v-57b81782]{margin-top:12px;text-align:center}}.app-section .section-body[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:0 auto;margin-top:var(--o-gap-7)}.app-section .section-footer[data-v-57b81782]{max-width:var(--layout-content-max-width);padding:0 var(--layout-content-padding);margin:0 auto;color:var(--o-color-info1);display:flex;justify-content:center;font-size:16px;line-height:24px}@media(min-width:1201px)and (max-width:1440px){.app-section .section-footer[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:841px)and (max-width:1200px){.app-section .section-footer[data-v-57b81782]{font-size:14px;line-height:22px}}@media(min-width:601px)and (max-width:840px){.app-section .section-footer[data-v-57b81782]{font-size:14px;line-height:22px}}@media(max-width:600px){.app-section .section-footer[data-v-57b81782]{font-size:12px;line-height:18px}}.app-section .section-footer[data-v-57b81782]{margin-top:32px}.app-section .section-footer[data-v-57b81782] .o-btn{border-radius:var(--btn-height)}@media(max-width:1440px){.app-section .section-footer[data-v-57b81782]{margin-top:16px}}@media(max-width:600px){.app-section .section-footer[data-v-57b81782]{margin-top:12px}}.app-section .section-footer:hover .footer-icon[data-v-57b81782]{fill:var(--link-color-active)}.app-section .footer-icon[data-v-57b81782]{font-size:16px;height:24px}.hover-icon-rotate .o-icon[data-v-837e14fb]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-837e14fb]{transform:rotate(-180deg)}}.o-theme-switcher-common[data-v-837e14fb]{cursor:pointer;width:20px;height:20px;display:flex;align-items:center}.o-theme-switcher-common .o-theme-icon[data-v-837e14fb]{font-size:24px;color:var(--o-color-info1)}@media(hover:hover){.o-theme-switcher-common .o-theme-icon[data-v-837e14fb]:hover{color:var(--o-color-primary1)}}.o-theme-switcher-mobile .o-theme-switch[data-v-837e14fb]{background-color:var(--o-color-control1-light)}.o-theme-switcher-mobile .o-theme-switch .o-theme-icon[data-v-837e14fb]{color:var(--o-color-white)}.hover-icon-rotate .o-icon[data-v-c6024199]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}@media(hover:hover){.hover-icon-rotate:hover .o-icon[data-v-c6024199]{transform:rotate(-180deg)}}.el-button[data-v-c6024199]{--el-button-bg-color: transparent;--el-button-text-color: var(--o-color-primary1);--el-button-border-color: var(--o-color-primary1);--el-button-hover-bg-color: var(--o-color-primary1)}.cookie-notice[data-v-c6024199]{position:fixed;bottom:0;z-index:999;width:100%;--el-color-primary: var(--o-color-primary1)}.cookie-notice .o-button[data-v-c6024199]{--o-button-font-size-mini: 14px}.cookie-notice .o-button+.o-button[data-v-c6024199]{margin-left:16px}@media(max-width:840px){.cookie-notice .o-button+.o-button[data-v-c6024199]{margin-left:0;margin-top:12px}}.cookie-notice-content[data-v-c6024199]{background-color:rgba(var(--o-mixedgray-1),.9);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:var(--o-shadow-1)}.cookie-notice-wrap[data-v-c6024199]{position:relative;display:flex;justify-content:space-between;margin:0 auto;padding:24px var(--layout-content-padding);max-width:var(--layout-content-max-width)}@media(max-width:840px){.cookie-notice-wrap[data-v-c6024199]:not([type=zh]){flex-direction:column;align-items:center}}.cookie-notice-wrap-grid[data-v-c6024199]{position:relative;display:flex;justify-content:space-between;width:var(--grid-content-width);padding:24px 0;margin:0 auto}@media(max-width:840px){.cookie-notice-wrap-grid[data-v-c6024199]{padding:16px 0;flex-direction:column;align-items:center}}.cookie-notice-left[data-v-c6024199]{width:60%}@media(max-width:1100px){.cookie-notice-left[data-v-c6024199]{width:58%}}@media(max-width:840px){.cookie-notice-left[data-v-c6024199]{width:100%}}.cookie-notice-left .cookie-title[data-v-c6024199]{font-size:16px;line-height:28px;color:var(--o-color-info1);font-weight:500}@media(max-width:840px){.cookie-notice-left .cookie-title[data-v-c6024199]{font-size:16px;line-height:24px;text-align:center}}.cookie-notice-left .cookie-desc[data-v-c6024199]{font-size:12px;line-height:18px;color:var(--o-color-info2);margin-top:8px}.cookie-notice-right[data-v-c6024199]{display:flex;align-items:center;margin-top:12px}@media(max-width:840px){.cookie-notice-right[data-v-c6024199]{width:100%}}@media(max-width:840px){.cookie-notice-right[data-v-c6024199]{flex-direction:column;align-items:center}}.cookie-notice-right .el-button[data-v-c6024199]:not(:first-child){margin-left:16px}@media(max-width:840px){.cookie-notice-right .el-button[data-v-c6024199]{align-self:stretch}.cookie-notice-right .el-button[data-v-c6024199]:not(:first-child){margin-top:12px;margin-left:0}}.cookie-notice-close[type=en][data-v-c6024199]{position:absolute;top:16px;right:var(--layout-content-padding);transform-origin:center}.cookie-notice-close[data-v-c6024199]{cursor:pointer;color:var(--o-color-info1);font-size:20px}.cookie-notice-close[data-v-c6024199]:hover{color:var(--o-color-primary2)}@media(max-width:840px){.cookie-notice-close[data-v-c6024199]{font-size:14px}}.cookie-notice-close[data-v-c6024199]{overflow:hidden}@media(hover:hover){.cookie-notice-close:hover svg[data-v-c6024199]{transform:rotate(180deg)}}.cookie-notice-close svg[data-v-c6024199]{transition:all var(--o-duration-m1) var(--o-easing-standard-in)}.cookie-dlg-content .content-item+.content-item[data-v-c6024199]{margin-top:24px}.cookie-dlg-content .content-item .item-header[data-v-c6024199]{display:flex;align-items:center}.cookie-dlg-content .content-item .item-header .item-title[data-v-c6024199]{font-size:18px;line-height:32px;color:var(--o-color-info1);font-weight:500}.cookie-dlg-content .content-item .item-header .item-extra[data-v-c6024199]{font-size:14px;line-height:22px;color:var(--o-color-info3);margin-left:24px}.cookie-dlg-content .content-item .item-detail[data-v-c6024199]{font-size:16px;line-height:28px;color:var(--o-color-info2);margin-top:12px}@media(max-width:840px){.cookie-dlg-content .content-item .item-detail[data-v-c6024199]{font-size:14px;line-height:21px;margin-top:8px}}[data-v-c6024199] .el-dialog .el-dialog__header{text-align:center}[data-v-c6024199] .el-dialog .el-dialog__title{font-size:32px}@media(max-width:840px){[data-v-c6024199] .el-dialog .el-dialog__title{font-size:22px}}[data-v-c6024199] .el-dialog .el-dialog__footer{text-align:center}@media(max-width:840px){[data-v-c6024199] .el-dialog .el-dialog__footer .o-button{margin:0 8px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),E=require("./chunk-index.cjs.js"),I=require("@opendesign-plus/composables"),a=require("element-plus");require("element-plus/es/components/button/style/index");require("element-plus/es/components/dialog/style/index");require("element-plus/es/components/switch/style/index");require("element-plus/es/components/icon/style/index");const U=require("@vueuse/core"),q={key:0,class:"cookie-notice"},R={class:"cookie-notice-content"},$=["type"],G={class:"cookie-notice-left"},K={key:0,class:"cookie-desc",style:{"margin-top":"0"}},L=["href"],z={class:"cookie-title"},M={class:"cookie-desc"},j=["href"],P={key:0,class:"cookie-notice-right"},Y={class:"cookie-dlg-content"},H={class:"content-item"},Z={class:"item-header"},F={class:"item-title"},W={class:"item-extra"},J={class:"item-detail"},Q={class:"content-item"},X={class:"item-header"},ee={class:"item-title"},te={class:"item-extra"},oe={class:"item-detail"},ne="0",C="1",le="2",v="3",ie="agreed-cookiepolicy-zh",ae="agreed-cookiepolicy-en",ce=e.defineComponent({__name:"OElCookieNotice",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},detailUrl:{},wrapper:{},cookieDomain:{}},emits:["update:visible"],setup(c,{expose:D,emit:x}){const f=c,S=x,{lePadV:w}=I.useScreen(),{locale:k,t:o}=E.useI18n(),s=e.computed(()=>k.value==="zh"),i=e.computed(()=>s.value?ie:ae),r=e.ref(!1),d=U.useVModel(f,"visible",S,{defaultValue:!1}),m=n=>{const t=document.cookie.split(";").find(l=>l.split("=")[0].trim()===encodeURIComponent(n));return t?decodeURIComponent(t.split("=")[1]):null},y=(n,t,l,O)=>{const T=`; max-age=${l*24*60*60}`;document.cookie=`${encodeURIComponent(n)}=${encodeURIComponent(t)}${T}; path=/; domain=${O}`},u=n=>{typeof n=="boolean"?d.value=n:d.value=!d.value,e.nextTick(()=>{!d.value&&s.value&&m(i.value)!==v&&y(i.value,v,180,f.cookieDomain??location.hostname)})},p=e.ref(!1),V=n=>{typeof n=="boolean"?p.value=n:p.value=!p.value},N=()=>s.value?m(i.value)!==v:(m(i.value)??"0")===ne,_=()=>s.value?m(i.value)===v:m(i.value)===C;e.onMounted(()=>{N()&&u(!0)}),e.watch(k,()=>{u(N())});const g=()=>{r.value=!0,y(i.value,C,180,f.cookieDomain??location.hostname),u(!1)},h=()=>{r.value=!1,y(i.value,le,180,f.cookieDomain??location.hostname),u(!1)},B=()=>{r.value?g():h(),V(!1)},b=()=>{r.value=!0,g(),V(!1)},A=()=>{r.value=_()};return D({check(){_()===d.value&&u()}}),(n,t)=>(e.openBlock(),e.createBlock(e.unref(E.ClientOnly),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:c.wrapper||"#app"},[e.unref(d)?(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("div",R,[e.createElementVNode("div",{type:e.unref(k),class:e.normalizeClass({"cookie-notice-wrap-grid":c.enableGrid,"cookie-notice-wrap":!c.enableGrid})},[e.createElementVNode("div",G,[s.value?(e.openBlock(),e.createElementBlock("p",K,[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:c.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(o)("cookie.about")),9,L)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",z,e.toDisplayString(e.unref(o)("cookie.title",[c.community])),1),e.createElementVNode("p",M,[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:c.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(o)("cookie.about")),9,j),t[4]||(t[4]=e.createTextVNode(". ",-1))])],64))]),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(e.unref(a.ElButton),{round:"",type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(a.ElButton),{round:"",type:"primary",onClick:h},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(a.ElButton),{round:"",type:"primary",onClick:t[0]||(t[0]=l=>V(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(a.ElIcon),{class:"cookie-notice-close",type:e.unref(k),onClick:t[1]||(t[1]=l=>u(!1))},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"close-icon",{},()=>[t[5]||(t[5]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})],-1))],!0)]),_:3},8,["type"])],10,$)]),e.createVNode(e.unref(a.ElDialog),{modelValue:p.value,"onUpdate:modelValue":t[3]||(t[3]=l=>p.value=l),width:e.unref(w)?"90%":"50%",title:e.unref(o)("cookie.manage"),"destroy-on-close":"",onOpen:A},{footer:e.withCtx(()=>[e.createVNode(e.unref(a.ElButton),{round:"",type:"primary",onClick:B,style:{"margin-right":"16px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.saveSetting")),1)]),_:1}),e.createVNode(e.unref(a.ElButton),{round:"",type:"primary",onClick:b},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.acceptAll")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Y,[e.createElementVNode("div",H,[e.createElementVNode("div",Z,[e.createElementVNode("span",F,e.toDisplayString(e.unref(o)("cookie.necessaryCookie")),1),e.createElementVNode("span",W,e.toDisplayString(e.unref(o)("cookie.alwaysOn")),1)]),e.createElementVNode("div",J,e.toDisplayString(e.unref(o)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",Q,[e.createElementVNode("div",X,[e.createElementVNode("span",ee,e.toDisplayString(e.unref(o)("cookie.analyticalCookie")),1),e.createElementVNode("span",te,[e.createVNode(e.unref(a.ElSwitch),{modelValue:r.value,"onUpdate:modelValue":t[2]||(t[2]=l=>r.value=l)},null,8,["modelValue"])])]),e.createElementVNode("div",oe,e.toDisplayString(e.unref(o)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["modelValue","width","title"])])):e.createCommentVNode("",!0)],8,["to"]))]),_:3}))}}),re=E._export_sfc(ce,[["__scopeId","data-v-c6024199"]]);exports.OElCookieNotice=re;
|