officialblock 2.9.7 → 2.9.8

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.
@@ -1,4 +1,4 @@
1
- (function(le,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("simplebar-vue"),require("gsap"),require("swiper/vue"),require("swiper/modules"),require("@splidejs/vue-splide"),require("@wangeditor/editor-for-vue"),require("@wangeditor/editor")):typeof define=="function"&&define.amd?define(["exports","vue","simplebar-vue","gsap","swiper/vue","swiper/modules","@splidejs/vue-splide","@wangeditor/editor-for-vue","@wangeditor/editor"],e):(le=typeof globalThis<"u"?globalThis:le||self,e(le.OfficialBlock={},le.Vue,le.SimplebarVue,le.gsap,le.SwiperVue,le.SwiperModules,le.VueSplide,le.WangEditorVue,le.WangEditor))})(this,function(le,e,dl,Hs,kt,gt,qh,Kh,Wh){"use strict";var whe=Object.defineProperty;var Che=(le,e,dl)=>e in le?whe(le,e,{enumerable:!0,configurable:!0,writable:!0,value:dl}):le[e]=dl;var la=(le,e,dl)=>Che(le,typeof e!="symbol"?e+"":e,dl);const Bn={width:e.ref(0),scrollY:e.ref(0),offsetBottom:e.ref(0)},Xh=()=>typeof window<"u"?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:0,_c=()=>typeof window<"u"?Math.round(window.pageYOffset):0,$c=()=>typeof window<"u"?Math.round(document.documentElement.offsetHeight-window.pageYOffset-window.innerHeight):0,Jh=()=>{Bn.width.value=Xh(),Bn.scrollY.value=_c(),Bn.offsetBottom.value=$c()};let eu;const Zh=()=>{clearTimeout(eu),eu=setTimeout(Jh,100)},_h=()=>{Bn.scrollY.value=_c(),Bn.offsetBottom.value=$c()};function $y(){const n=e.computed(()=>Bn.width.value),t=e.computed(()=>Bn.scrollY.value),o=e.computed(()=>Bn.offsetBottom.value);return{$_vsWidth:n,$_vsScrollY:t,$_vsOffsetBottom:o,getScreenWidth:Xh,getScreenScrollY:_c,getScreenOffsetBottom:$c}}const $h={install(n){Jh(),typeof window<"u"&&(window.addEventListener("resize",Zh,{passive:!0}),window.addEventListener("scroll",_h,{passive:!0})),n.config.globalProperties.$_vsWidth=e.computed(()=>Bn.width.value),n.config.globalProperties.$_vsScrollY=e.computed(()=>Bn.scrollY.value),n.config.globalProperties.$_vsOffsetBottom=e.computed(()=>Bn.offsetBottom.value),n.provide("vueScreen",{$_vsWidth:e.computed(()=>Bn.width.value),$_vsScrollY:e.computed(()=>Bn.scrollY.value),$_vsOffsetBottom:e.computed(()=>Bn.offsetBottom.value)});const t=n.unmount;n.unmount=function(){typeof window<"u"&&(window.removeEventListener("resize",Zh),window.removeEventListener("scroll",_h),clearTimeout(eu)),t&&t.call(this)}}},ef={sc:{donation:{school:"学校",latest_attending_institute:"最后修读的学校",graduation_or_year_left:"毕业/离校年份 (如适用)",wrong_format:"请输入正确的格式",add_school:"添加学校",is_required:"此为必填项",customized_amount:"其他金额",enter_valid_amount:"请输入有效金额",first_name:"名字",last_name:"姓氏",please_input:"请输入",postcode_0000:"邮政编码(如果不适用则为 00000)",chinese_name:"中文姓名(选填)",other:"其他",next:"下一步",confirm_donate:"确认并捐赠",fundraising_programmes:"筹款项目",priority_areas:"优先受惠范围",donation_reference:"参考编号",donation_designated_to:"捐款意向",amount:"金额",payment_method:"捐款方式",identity:"捐款人身份",salutation:"称谓",full_name:"全名(与捐款收据一致)",affiliation:"关系",email:"电邮",phone:"电话",mailing_address:"通讯地址",acknowledgement:"捐款答谢",acknowledgement_public:"我同意机构把我的姓名铭志于捐款芳名录。(捐款金额不会公开)",acknowledgement_private:"我希望以「无名氏」名义捐款。",method_card:"网上捐款, Visa/万事达卡",method_unionpay:"网上捐款, 银联",method_offline:"离线捐款, 支票/银行转账捐款",donation_individual_donor:"个人捐款",donation_organisation_donor:"机构捐款",donation_issue_title:"若在捐款过程中出现任何问题",donation_issue_text:'在香港或海外的捐赠者,请发送邮件至 <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a> 联系老明思女士<br />在中国内地的捐赠者,请发送邮件至 <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a> 联系赵秋婉女士'},program:{date_of_attendance:"出席日期",application_reference:"参考编号",from:"从",to:"到"},enquiry:{enquiry_information_form:"查询信息表",would_like_to_know_more:"我想了解更多(可以选择多个)",leave_your_contact:"请留下您的联系方式,以便我们保持联系(酌情选择一项)",do_not_consent:"我不同意耀中幼教学院使用我的个人资料进行直接营销。",bottom_text:"<p>*必填项<br />您的所有数据都是严格保密的,用于学院的管理、沟通和营销目的,例如 大学新闻、活动和计划。 学院不会向外界透露任何个人信息。</p>",school_college_university:"学校/学院/大学",question:"问题",i_want_to_ask:"我想问...",parent:"家长",student:"学生",other:"其他(请注明)",graduation_year:"毕业年",enquiry_content:"查询内容"},register:{name:"姓名",your_name:"你的名字",you_are:"你是",contact_number:"联系电话",email:"电邮",school_name_organization:"学校名称/组织",parent:"家长",alumni:"校友",student:"学生",faculty_staff:"教学人员/行政人员",others:"其他",please_choose:"请选择",affiliation:"与我们的联系",title:"注册表单",check_text:"我同意接收来自官方的直接营销信息",notice:"注意:请勿在表单中填写任何个人身份信息,如身份证号、护照号等。"},blessing:{blessing_to_ycyw:"祝福YCYW",your_message:"你的留言",your_message_placeholder:"我想说...",characters:"字符长度",upload_photo:"上传照片",files_supported_image:"支持的文件: jpg and png",drag_drop_placeholder:"将你的文件拖放到此处或 <b>选择文件</b>",maximum_size:"最大尺寸",blessing_message_to_ycyw:"给YCYW的祝福信息",thank_you:"感谢您",blessing_thank_you:"让您的祝福泛动着涟漪。助推教育,点燃希望",blessing_button:"阅读更多"},error:{page_not_found:"未能找到页面",error_title:"Oops!",error_text:"对不起,你要找的页面不存在。",see_also:"继续访问:",home_page:"首页"},time:{days:"日",hours:"小时",minutes:"分钟",seconds:"秒"},btn:{read:"阅读",profile:"简介",read_story:"阅读故事",filters:"筛选",print:"列印",watch_full_video:"观看完整视频",go_back:"返回上一頁",top:"往上",prevArticle:"上一篇",nextArticle:"下一篇",visit_school_website:"访问学校网页",read_more:"了解更多",load_more:"更多",learn_more:"了解更多",all_years:"所有年份",submit:"提交",confirm:"确认",submit_success:"提交成功",submit_fail:"提交失败",previous_post:"上一个",next_post:"下一个",view_more:"了解更多",confirm_and_submit:"确认并提交",close:"关闭"},text:{explore_next:"更多",search:"搜索...",cancel:"取消",drag_hint:"拖动以查看更多学校",all:"全部",title:"标题",on_page:"内容",see_more:"更多",see_less:"收合",all_region:"所有地区",no_result_for:'没有"%query%"的搜索结果',result_text:'%number%个"%query%"的搜索结果',looking_for_something_else:"想搜索其他内容?",tel:"电话",fax:"传真",email:"电邮",fee:"费用"},story:{result_text:'%number%个"%query%"的搜索结果'},article:{news_n_publications:"新闻及刊物",news:"新闻",alumni:"校友会",alumni_community:"校友会",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"前往 {locale}",error_alternative_locale_text:"此文章暂时没有{locale},但您先可以浏览其他语言。"},setting:{component_edit:"组件编辑",only_show_pc:"仅在PC端显示",only_show_mobile:"仅在移动端显示",component_width:"组件宽度",component_bg:"组件背景",sub_component:"子组件",sub_component_attr:"子组件属性",width_default:"默认",width_small:"小",width_middle:"中",width_large:"大",bg_white:"白色",bg_grey:"灰色",please_select:"请选择",please_input:"请输入",title:"标题",subtitle:"子标题",content:"内容",image:"图片",image_link:"请输入图片链接",image_alt:"图片alt",link:"链接",link_name:"链接名称",link_url:"链接地址",is_external:"是否外部链接",button_text:"按钮文本",button_link:"按钮链接",api_address:"接口地址",default_api:"默认接口地址",add:"添加",add_tab:"添加 Tab",paste_tab:"粘贴 Tab",copy_tab:"复制 Tab",tab_name:"Tab名称",no_data:"暂无数据",name:"名称",description:"描述",video_url:"视频地址",video_cover:"视频封面",height:"高度",pc_columns:"PC列数",mobile_columns:"移动端列数",rows:"行数",type:"类型",yes:"是",no:"否",table_header:"表格头部",add_row:"新增",section:"章节",label:"标签",preview:"预览",size:"尺寸",position:"位置",component_type:"组件类型",open_first:"打开第一个",school_logo:"学校logo",button:"按钮",show_underline:"下划线",big_title:"大标题",form_name:"表单名称",consent_checkbox:"同意复选框文本",consent_notice:"同意通知",submit_api:"提交api",select_icon:"请选择图标",add_icon:"添加icon",add_link:"添加链接",link_type:"链接类型",external_link:"外部链接",photo:"照片",desktop_columns:"桌面显示的列数",mobile_display_columns:"移动端显示的列数",bg_preset:"背景预设",bg_color:"背景颜色",school_category:"学校类别",article_category:"文章类别",map_image:"地图图片",show_x:"显示X坐标",show_y:"显示Y坐标",date:"日期",url:"网址",pc_height:"PC高度",mobile_height:"移动端高度",spacing:"间距设置",tab_start_spacing:"制表符起始间距",section_spacing:"部分间距",component_spacing:"组件间距",link_spacing:"链接间距",page_end_spacing:"页末间距",event_code:"Event Code",contact_person:"联系人",input_title:"请输入标题",table_row:"表格行",table_data:"表格数据",paragraph:"段落",add_paragraph:"添加段落",add_component:"添加组件",component:"组件",category:"分类",add_category:"添加分类",category_name:"分类名称",image_caption:"图片描述",add_image:"添加图片",image_group:"图片组",video:"视频",is_round:"圆角",btn_default:"默认按钮",btn_white:"白色按钮",btn_light:"亮色按钮",btn_blue:"蓝色按钮",add_button:"添加按钮",input_url:"请输入网址",input_link_url:"请输入链接地址",input_subtitle:"请输入副标题",input_name:"请输入名称",input_label:"请输入标签",input_content:"请输入内容",input_html:"请输入html内容",input_video_url:"请输入视频链接",input_article_category:"请输入文章类别",input_text:"请输入text",input_key:"请输入key",select_link_type:"请选择链接类型",prepend:"前置",append:"追加",label_name:"标签名称",link_text:"链接文本",link_list:"链接列表",add_text:"添加text",add_section:"添加章节",add_social_link:"添加社交链接",show_year_select:"显示年份选择",translation:"翻译",campus:"校区",marker:"标记",marker_x:"标记X坐标",marker_y:"标记Y坐标",detail_popup_position:"详情弹出位置",left:"左",right:"右",normal_item:"普通项目",article_item:"文章项目",circle_link:"圆链接",text_link:"文字链接",is_light:"是否亮色",subtitle2:"第二个子标题",subject:"题目",unique_id:"唯一标识",more:"更多",left_title:"左侧标题",right_title:"右侧标题",image_alt_label:"图片alt",quote:"引言",input_form_name:"请输入表单名称",input_event_code:"请输入 Event Code (Key)",input_consent_checkbox:"请输入同意复选框文本",input_consent_notice:"请输入同意通知",input_submit_api:"请输入提交 API",input_subtitle2:"请输入第二个子标题",input_quote:"请输入引言",input_image_alt:"请输入图片 Alt",input_unique_id:"请输入唯一标识",select_button_type:"请选择按钮类型",select_icon_size:"请选择图标大小",close:"关闭",input_label_name:"请输入标签名称",at_least_3_items:"至少保留3个项目",phone:"手机号码",email:"邮箱",alt_text:"图片替代文本"},operate:{copy:"复制",delete:"删除",edit:"编辑",paste_above:"向上粘贴",paste_below:"向下粘贴",click_upload:"点击上传"},sort:{most_recent:"最新",past_month:"上月",past_year:"去年"},placeholder:{title_here:"这里是标题",html_content:"这里是html内容",link_name:"链接名称",input_html:"请输入html内容",subtitle_here:"这里是副标题",description_here:"这里是描述",detail_here:"这里是详情",label_here:"这里是标签",content_here:"这里是内容",name_here:"这里是名称",text_here:"这里是文本",article_title_here:"这里是文章标题",article_content_here:"这里是文章内容",quote_demo_text:"<h2>耀中耀华</h2><ul><li>与科技结盟</li><li>与文艺结盟</li><li>与仁爱结盟</li></ul>",title:"标题",subtitle:"副标题",content:"内容",description:"描述",name:"名称",label:"标签",button:"按钮",button_name:"按钮名称",learn_more:"了解更多",view_more:"查看更多",title_1:"标题1",title_2:"标题2",title_3:"标题3",title_here_1:"这里是标题1",title_here_2:"这里是标题2",title_here_3:"这里是标题3",this_is_title:"这是标题",this_is_subtitle:"这是副标题",this_is_content:"这是内容",this_is_description:"这是描述",this_is_image_caption:"这是图片描述",please_input:"请输入",please_input_content:"请输入内容...",quote_here:"这里是引言"}},en:{donation:{school:"School",latest_attending_institute:"Latest Attending Institute",graduation_or_year_left:"Graduation or Year left (optional)",wrong_format:"Please enter a valid format",add_school:"Add School",is_required:"This is required",customized_amount:"Other Amount",enter_valid_amount:"Please enter a valid amount",first_name:"Given Name",last_name:"Surname",please_input:"Please input",postcode_0000:"Postal code (00000 if not available)",chinese_name:"Chinese Name (optional)",other:"Other",next:"Next",confirm_donate:"Confirm & Donate",fundraising_programmes:"Fundraising Programmes",priority_areas:"Priority areas",donation_reference:"Donation reference",donation_designated_to:"Donation designated to",amount:"Amount",payment_method:"Payment Method",identity:"Identity",salutation:"Salutation",full_name:"Full Name (as appeared on tax receipts)",affiliation:"Affiliation",email:"Email",phone:"Phone",mailing_address:"Mailing Address",acknowledgement:"Acknowledgement",acknowledgement_public:"I am happy to be included in the published list of donors (donation amount will not be featured)",acknowledgement_private:"I wish to make my donation anonymously",method_card:"Online, Visa/MasterCard",method_unionpay:"Online, UnionPay",method_offline:"Offline, Cheque/Bank Transfer",donation_individual_donor:"Individual Donor",donation_organisation_donor:"Organisation Donor",donation_issue_title:"If you encountered any issues during the payment process",donation_issue_text:'For donors based in Hong Kong and overseas, please contact Ms Josephine Lo at <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a><br />For donors based in Mainland China, please contact Ms Rachel Zhao at <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a>'},program:{date_of_attendance:"Date of Attendance",application_reference:"Application reference no",from:"From",to:"To"},enquiry:{enquiry_information_form:"Enquiry Information Form",would_like_to_know_more:"I would like to know more about (may choose more than one)",leave_your_contact:"Please leave your contact information so we could keep in touch (select one as appropriate)",do_not_consent:"I DO NOT CONSENT to the use of my personal data by Yew Chung College of Early Childhood Education for direct marketing.",bottom_text:"<p>*Compulsory field<br />All your data are strictly confidential and for the College's administration, communication and marketing purposes, e.g. College news, activities and programmes. The College will not disclose any personal information to external parties.</p>",school_college_university:"School/College/University",question:"Question",i_want_to_ask:"I want to ask...",parent:"Parent",student:"Student",other:"Others (Please specify)",graduation_year:"Graduation Year",enquiry_content:"Enquiry Content"},register:{name:"Name",your_name:"Your Name",you_are:"You are",contact_number:"Contact number",email:"Email",school_name_organization:"School Name / Organization",parent:"Parent",alumni:"Alumni",student:"Student",faculty_staff:"Faculty / Staff",others:"Others",please_choose:"Please choose",affiliation:"Affiliation",title:"Register Form",check_text:"I agree to receive direct marketing information from Yew Chung College of Early Childhood Education",notice:"Note: Please do not fill in any personal identification information, such as ID card number, passport number, etc., in the form."},blessing:{blessing_to_ycyw:"Blessing To YCYW",your_message:"Your Message",your_message_placeholder:"I want to say...",characters:"Characters",upload_photo:"Upload Photo",files_supported_image:"Files Supported: jpg and png",drag_drop_placeholder:"Drag and drop your file here or <b>choose file</b>",maximum_size:"Maximum Size",blessing_message_to_ycyw:"Blessing message to YCYW",thank_you:"Thank you",blessing_thank_you:"Amplify the impact of your blessing. Be the fuel behind our education powerhouse.",blessing_button:"Read More"},error:{page_not_found:"Page not found",error_title:"Oops!",error_text:"Sorry, the page you're looking for doesn't exist.",see_also:"SEE ALSO:",home_page:"Home Page"},time:{days:"DAYS",hours:"HOURS",minutes:"MINUTES",seconds:"SECONDS"},btn:{read:"Read",profile:"Profile",read_story:"Read Story",filters:"Filters",print:"Print",watch_full_video:"Watch Full Video",go_back:"Go Back",top:"Top",prevArticle:"Previous",nextArticle:"Next",visit_school_website:"Visit School website",read_more:"Read More",load_more:"Load More",learn_more:"Learn More",all_years:"All Years",submit:"Submit",confirm:"Confirm",submit_success:"Submitted successfully",submit_fail:"Submission Failed",previous_post:"Previous post",next_post:"Next post",view_more:"View more",confirm_and_submit:"Confirm & Submit",close:"Close"},text:{explore_next:"More",search:"Search...",cancel:"Cancel",drag_hint:"Drag to discover more schools",all:"All",title:"Title",on_page:"On page",see_more:"See More",see_less:"See Less",all_region:"All Regions",no_result_for:'No results for "%query%"',result_text:'%number% results for "%query%"',looking_for_something_else:"Looking for something else?",tel:"Tel",fax:"Fax",email:"Email",fee:"Fee"},story:{result_text:'%number% results for "%query%"'},article:{news_n_publications:"news & publications",news:"news",alumni:"alumni",alumni_community:"alumni community",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"Go to {locale}",error_alternative_locale_text:"This article doesn't have {locale}, but is available in another locales."},setting:{component_edit:"Component Edit",only_show_pc:"PC Only",only_show_mobile:"Mobile Only",component_width:"Component Width",component_bg:"Component Background",sub_component:"Sub Component",sub_component_attr:"Sub Component Attributes",width_default:"Default",width_small:"Small",width_middle:"Medium",width_large:"Large",bg_white:"White",bg_grey:"Grey",please_select:"Please select",please_input:"Please input",title:"Title",subtitle:"Subtitle",content:"Content",image:"Image",image_link:"Please enter image link",image_alt:"Image alt",link:"Link",link_name:"Link Name",link_url:"Link URL",is_external:"External Link",button_text:"Button Text",button_link:"Button Link",api_address:"API Address",default_api:"Default API Address",add:"Add",add_tab:"Add Tab",paste_tab:"Paste Tab",copy_tab:"Copy Tab",tab_name:"Tab Name",no_data:"No Data",name:"Name",description:"Description",video_url:"Video URL",video_cover:"Video Cover",height:"Height",pc_columns:"PC Columns",mobile_columns:"Mobile Columns",rows:"Rows",type:"Type",yes:"Yes",no:"No",table_header:"Table Header",add_row:"Add Row",section:"Section",label:"Label",preview:"Preview",size:"Size",position:"Position",component_type:"Component Type",open_first:"Open First",school_logo:"School Logo",button:"Button",show_underline:"Show Underline",big_title:"Big Title",form_name:"Form Name",consent_checkbox:"Consent Checkbox Text",consent_notice:"Consent Notice",submit_api:"Submit API",select_icon:"Select Icon",add_icon:"Add Icon",add_link:"Add Link",link_type:"Link Type",external_link:"External Link",photo:"Photo",desktop_columns:"Desktop Columns",mobile_display_columns:"Mobile Display Columns",bg_preset:"Background Preset",bg_color:"Background Color",school_category:"School Category",article_category:"Article Category",map_image:"Map Image",show_x:"Show X",show_y:"Show Y",date:"Date",url:"URL",pc_height:"PC Height",mobile_height:"Mobile Height",spacing:"Spacing",tab_start_spacing:"Tab Start Spacing",section_spacing:"Section Spacing",component_spacing:"Component Spacing",link_spacing:"Link Spacing",page_end_spacing:"Page End Spacing",event_code:"Event Code",contact_person:"Contact Person",input_title:"Please enter title",table_row:"Table Row",table_data:"Table Data",paragraph:"Paragraph",add_paragraph:"Add Paragraph",add_component:"Add Component",component:"Component",category:"Category",add_category:"Add Category",category_name:"Category Name",image_caption:"Image Caption",add_image:"Add Image",image_group:"Image Group",video:"Video",is_round:"Rounded",btn_default:"Default Button",btn_white:"White Button",btn_light:"Light Button",btn_blue:"Blue Button",add_button:"Add Button",input_url:"Please enter URL",input_link_url:"Please enter link URL",input_subtitle:"Please enter subtitle",input_name:"Please enter name",input_label:"Please enter label",input_content:"Please enter content",input_html:"Please enter HTML content",input_video_url:"Please enter video URL",input_article_category:"Please enter article category",input_text:"Please enter text",input_key:"Please enter key",select_link_type:"Please select link type",prepend:"Prepend",append:"Append",label_name:"Label Name",link_text:"Link Text",link_list:"Link List",add_text:"Add Text",add_section:"Add Section",add_social_link:"Add Social Link",show_year_select:"Show Year Select",translation:"Translation",campus:"Campus",marker:"Marker",marker_x:"Marker X",marker_y:"Marker Y",detail_popup_position:"Detail Popup Position",left:"Left",right:"Right",normal_item:"Normal Item",article_item:"Article Item",circle_link:"Circle Link",text_link:"Text Link",is_light:"Light Style",subtitle2:"Second Subtitle",subject:"Subject",unique_id:"Unique ID",more:"More",left_title:"Left Title",right_title:"Right Title",image_alt_label:"Image Alt",quote:"Quote",input_form_name:"Please enter form name",input_event_code:"Please enter Event Code (Key)",input_consent_checkbox:"Please enter consent checkbox text",input_consent_notice:"Please enter consent notice",input_submit_api:"Please enter submit API",input_subtitle2:"Please enter second subtitle",input_quote:"Please enter quote",input_image_alt:"Please enter image alt",input_unique_id:"Please enter unique ID",select_button_type:"Please select button type",select_icon_size:"Please select icon size",close:"Close",input_label_name:"Please enter label name",at_least_3_items:"At least 3 items must be kept",phone:"Phone",email:"Email",alt_text:"Image Alt Text"},operate:{copy:"Copy",delete:"Delete",edit:"Edit",paste_above:"Paste Above",paste_below:"Paste Below",click_upload:"Click to Upload"},sort:{most_recent:"Most Recent",past_month:"Past Month",past_year:"Past Year"},placeholder:{title_here:"Title here",html_content:"HTML content here",link_name:"Link name",input_html:"Please enter HTML content",subtitle_here:"Subtitle here",description_here:"Description here",detail_here:"Detail here",label_here:"Label here",content_here:"Content here",name_here:"Name here",text_here:"Text here",article_title_here:"Article title here",article_content_here:"Article content here",quote_demo_text:"<h2>YCYW</h2><ul><li>Aligned with Technology</li><li>Aligned with Arts</li><li>Aligned with Compassion</li></ul>",title:"Title",subtitle:"Subtitle",content:"Content",description:"Description",name:"Name",label:"Label",button:"Button",button_name:"Button Name",learn_more:"Learn More",view_more:"View More",title_1:"Title 1",title_2:"Title 2",title_3:"Title 3",title_here_1:"Title here 1",title_here_2:"Title here 2",title_here_3:"Title here 3",this_is_title:"This is a title",this_is_subtitle:"This is a subtitle",this_is_content:"This is the content",this_is_description:"This is the description",this_is_image_caption:"This is the image caption",please_input:"Please input",please_input_content:"Please input content...",quote_here:"Quote here"}},de:{donation:{school:"School",latest_attending_institute:"Latest Attending Institute",graduation_or_year_left:"Graduation or Year left (optional)",wrong_format:"Please enter a valid format",add_school:"Add School",is_required:"This is required",customized_amount:"Other Amount",enter_valid_amount:"Please enter a valid amount",first_name:"Given Name",last_name:"Surname",please_input:"Please input",postcode_0000:"Postal code (00000 if not available)",chinese_name:"Chinese Name (optional)",other:"Other",next:"Next",confirm_donate:"Confirm & Donate",fundraising_programmes:"Fundraising Programmes",priority_areas:"Priority areas",donation_reference:"Donation reference",donation_designated_to:"Donation designated to",amount:"Amount",payment_method:"Payment Method",identity:"Identity",salutation:"Salutation",full_name:"Full Name (as appeared on tax receipts)",affiliation:"Affiliation",email:"Email",phone:"Phone",mailing_address:"Mailing Address",acknowledgement:"Acknowledgement",acknowledgement_public:"I am happy to be included in the published list of donors (donation amount will not be featured)",acknowledgement_private:"I wish to make my donation anonymously",method_card:"Online, Visa/MasterCard",method_unionpay:"Online, UnionPay",method_offline:"Offline, Cheque/Bank Transfer",donation_individual_donor:"Individual Donor",donation_organisation_donor:"Organisation Donor",donation_issue_title:"If you encountered any issues during the payment process",donation_issue_text:'For donors based in Hong Kong and overseas, please contact Ms Josephine Lo at <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a><br />For donors based in Mainland China, please contact Ms Rachel Zhao at <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a>'},program:{date_of_attendance:"Date of Attendance",application_reference:"Application reference no",from:"From",to:"To"},enquiry:{enquiry_information_form:"Enquiry Information Form",would_like_to_know_more:"I would like to know more about (may choose more than one)",leave_your_contact:"Please leave your contact information so we could keep in touch (select one as appropriate)",do_not_consent:"I DO NOT CONSENT to the use of my personal data by Yew Chung College of Early Childhood Education for direct marketing.",bottom_text:"<p>*Compulsory field<br />All your data are strictly confidential and for the College's administration, communication and marketing purposes, e.g. College news, activities and programmes. The College will not disclose any personal information to external parties.</p>",school_college_university:"School/College/University",question:"Question",i_want_to_ask:"I want to ask...",parent:"Parent",student:"Student",other:"Others (Please specify)",graduation_year:"Graduation Year",enquiry_content:"Enquiry Content"},register:{name:"Name",your_name:"Your Name",you_are:"You are",contact_number:"Contact number",email:"Email",school_name_organization:"School Name / Organization",parent:"Parent",alumni:"Alumni",student:"Student",faculty_staff:"Faculty / Staff",others:"Others",please_choose:"Please choose",affiliation:"Affiliation",title:"Register Form",check_text:"I agree to receive direct marketing information from Yew Chung College of Early Childhood Education",notice:"Note: Please do not fill in any personal identification information, such as ID card number, passport number, etc., in the form."},blessing:{blessing_to_ycyw:"Blessing To YCYW",your_message:"Your Message",your_message_placeholder:"I want to say...",characters:"Characters",upload_photo:"Upload Photo",files_supported_image:"Files Supported: jpg and png",drag_drop_placeholder:"Drag and drop your file here or <b>choose file</b>",maximum_size:"Maximum Size",blessing_message_to_ycyw:"Blessing message to YCYW",thank_you:"Thank you",blessing_thank_you:"Amplify the impact of your blessing. Be the fuel behind our education powerhouse.",blessing_button:"Read More"},error:{page_not_found:"Page not found",error_title:"Oops!",error_text:"Sorry, the page you're looking for doesn't exist.",see_also:"SEE ALSO:",home_page:"Home Page"},time:{days:"DAYS",hours:"HOURS",minutes:"MINUTES",seconds:"SECONDS"},btn:{read:"Read",profile:"Profile",read_story:"Read Story",filters:"Filters",print:"Print",watch_full_video:"Watch Full Video",go_back:"Go Back",top:"Top",prevArticle:"Previous",nextArticle:"Next",visit_school_website:"Visit School website",read_more:"Read More",load_more:"Load More",learn_more:"Learn More",all_years:"All Years",submit:"Submit",confirm:"Confirm",submit_success:"Submitted successfully",submit_fail:"Submission Failed",previous_post:"Previous post",next_post:"Next post",view_more:"View more",confirm_and_submit:"Confirm & Submit",close:"Close"},text:{explore_next:"More",search:"Search...",cancel:"Cancel",drag_hint:"Drag to discover more schools",all:"All",title:"Title",on_page:"On page",see_more:"See More",see_less:"See Less",all_region:"All Regions",no_result_for:'No results for "%query%"',result_text:'%number% results for "%query%"',looking_for_something_else:"Looking for something else?",tel:"Tel",fax:"Fax",email:"Email",fee:"Fee"},story:{result_text:'%number% results for "%query%"'},article:{news_n_publications:"news & publications",news:"news",alumni:"alumni",alumni_community:"alumni community",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"Go to {locale}",error_alternative_locale_text:"This article doesn't have {locale}, but is available in another locales."},setting:{component_edit:"Component Edit",only_show_pc:"PC Only",only_show_mobile:"Mobile Only",component_width:"Component Width",component_bg:"Component Background",sub_component:"Sub Component",sub_component_attr:"Sub Component Attributes",width_default:"Default",width_small:"Small",width_middle:"Medium",width_large:"Large",bg_white:"White",bg_grey:"Grey",please_select:"Please select",please_input:"Please input",title:"Title",subtitle:"Subtitle",content:"Content",image:"Image",image_link:"Please enter image link",image_alt:"Image alt",link:"Link",link_name:"Link Name",link_url:"Link URL",is_external:"External Link",button_text:"Button Text",button_link:"Button Link",api_address:"API Address",default_api:"Default API Address",add:"Add",add_tab:"Add Tab",paste_tab:"Paste Tab",copy_tab:"Copy Tab",tab_name:"Tab Name",no_data:"No Data",name:"Name",description:"Description",video_url:"Video URL",video_cover:"Video Cover",height:"Height",pc_columns:"PC Columns",mobile_columns:"Mobile Columns",rows:"Rows",type:"Type",yes:"Yes",no:"No",table_header:"Table Header",add_row:"Add Row",section:"Section",label:"Label",preview:"Preview",size:"Size",position:"Position",component_type:"Component Type",open_first:"Open First",school_logo:"School Logo",button:"Button",show_underline:"Show Underline",big_title:"Big Title",form_name:"Form Name",consent_checkbox:"Consent Checkbox Text",consent_notice:"Consent Notice",submit_api:"Submit API",select_icon:"Select Icon",add_icon:"Add Icon",add_link:"Add Link",link_type:"Link Type",external_link:"External Link",photo:"Photo",desktop_columns:"Desktop Columns",mobile_display_columns:"Mobile Display Columns",bg_preset:"Background Preset",bg_color:"Background Color",school_category:"School Category",article_category:"Article Category",map_image:"Map Image",show_x:"Show X",show_y:"Show Y",date:"Date",url:"URL",pc_height:"PC Height",mobile_height:"Mobile Height",spacing:"Spacing",tab_start_spacing:"Tab Start Spacing",section_spacing:"Section Spacing",component_spacing:"Component Spacing",link_spacing:"Link Spacing",page_end_spacing:"Page End Spacing",event_code:"Event Code",contact_person:"Contact Person",input_title:"Please enter title",table_row:"Table Row",table_data:"Table Data",paragraph:"Paragraph",add_paragraph:"Add Paragraph",add_component:"Add Component",component:"Component",category:"Category",add_category:"Add Category",category_name:"Category Name",image_caption:"Image Caption",add_image:"Add Image",image_group:"Image Group",video:"Video",is_round:"Rounded",btn_default:"Default Button",btn_white:"White Button",btn_light:"Light Button",btn_blue:"Blue Button",add_button:"Add Button",input_url:"Please enter URL",input_link_url:"Please enter link URL",input_subtitle:"Please enter subtitle",input_name:"Please enter name",input_label:"Please enter label",input_content:"Please enter content",input_html:"Please enter HTML content",input_video_url:"Please enter video URL",input_article_category:"Please enter article category",input_text:"Please enter text",input_key:"Please enter key",select_link_type:"Please select link type",prepend:"Prepend",append:"Append",label_name:"Label Name",link_text:"Link Text",link_list:"Link List",add_text:"Add Text",add_section:"Add Section",add_social_link:"Add Social Link",show_year_select:"Show Year Select",translation:"Translation",campus:"Campus",marker:"Marker",marker_x:"Marker X",marker_y:"Marker Y",detail_popup_position:"Detail Popup Position",left:"Left",right:"Right",normal_item:"Normal Item",article_item:"Article Item",circle_link:"Circle Link",text_link:"Text Link",is_light:"Light Style",subtitle2:"Second Subtitle",subject:"Subject",unique_id:"Unique ID",more:"More",left_title:"Left Title",right_title:"Right Title",image_alt_label:"Image Alt",quote:"Quote",input_form_name:"Please enter form name",input_event_code:"Please enter Event Code (Key)",input_consent_checkbox:"Please enter consent checkbox text",input_consent_notice:"Please enter consent notice",input_submit_api:"Please enter submit API",input_subtitle2:"Please enter second subtitle",input_quote:"Please enter quote",input_image_alt:"Please enter image alt",input_unique_id:"Please enter unique ID",select_button_type:"Please select button type",select_icon_size:"Please select icon size",close:"Close",input_label_name:"Please enter label name",at_least_3_items:"At least 3 items must be kept",phone:"Phone",email:"Email",alt_text:"Image Alt Text"},operate:{copy:"Copy",delete:"Delete",edit:"Edit",paste_above:"Paste Above",paste_below:"Paste Below",click_upload:"Click to Upload"},sort:{most_recent:"Most Recent",past_month:"Past Month",past_year:"Past Year"},placeholder:{title_here:"Title here",html_content:"HTML content here",link_name:"Link name",input_html:"Please enter HTML content",subtitle_here:"Subtitle here",description_here:"Description here",detail_here:"Detail here",label_here:"Label here",content_here:"Content here",name_here:"Name here",text_here:"Text here",article_title_here:"Article title here",article_content_here:"Article content here",quote_demo_text:"<h2>YCYW</h2><ul><li>Aligned with Technology</li><li>Aligned with Arts</li><li>Aligned with Compassion</li></ul>",title:"Title",subtitle:"Subtitle",content:"Content",description:"Description",name:"Name",label:"Label",button:"Button",button_name:"Button Name",learn_more:"Learn More",view_more:"View More",title_1:"Title 1",title_2:"Title 2",title_3:"Title 3",title_here_1:"Title here 1",title_here_2:"Title here 2",title_here_3:"Title here 3",this_is_title:"This is a title",this_is_subtitle:"This is a subtitle",this_is_content:"This is the content",this_is_description:"This is the description",this_is_image_caption:"This is the image caption",please_input:"Please input",please_input_content:"Please input content...",quote_here:"Quote here"}},ko:{donation:{school:"School",latest_attending_institute:"Latest Attending Institute",graduation_or_year_left:"Graduation or Year left (optional)",wrong_format:"Please enter a valid format",add_school:"Add School",is_required:"This is required",customized_amount:"Other Amount",enter_valid_amount:"Please enter a valid amount",first_name:"Given Name",last_name:"Surname",please_input:"Please input",postcode_0000:"Postal code (00000 if not available)",chinese_name:"Chinese Name (optional)",other:"Other",next:"Next",confirm_donate:"Confirm & Donate",fundraising_programmes:"Fundraising Programmes",priority_areas:"Priority areas",donation_reference:"Donation reference",donation_designated_to:"Donation designated to",amount:"Amount",payment_method:"Payment Method",identity:"Identity",salutation:"Salutation",full_name:"Full Name (as appeared on tax receipts)",affiliation:"Affiliation",email:"Email",phone:"Phone",mailing_address:"Mailing Address",acknowledgement:"Acknowledgement",acknowledgement_public:"I am happy to be included in the published list of donors (donation amount will not be featured)",acknowledgement_private:"I wish to make my donation anonymously",method_card:"Online, Visa/MasterCard",method_unionpay:"Online, UnionPay",method_offline:"Offline, Cheque/Bank Transfer",donation_individual_donor:"Individual Donor",donation_organisation_donor:"Organisation Donor",donation_issue_title:"If you encountered any issues during the payment process",donation_issue_text:'For donors based in Hong Kong and overseas, please contact Ms Josephine Lo at <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a><br />For donors based in Mainland China, please contact Ms Rachel Zhao at <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a>'},program:{date_of_attendance:"Date of Attendance",application_reference:"Application reference no",from:"From",to:"To"},enquiry:{enquiry_information_form:"Enquiry Information Form",would_like_to_know_more:"I would like to know more about (may choose more than one)",leave_your_contact:"Please leave your contact information so we could keep in touch (select one as appropriate)",do_not_consent:"I DO NOT CONSENT to the use of my personal data by Yew Chung College of Early Childhood Education for direct marketing.",bottom_text:"<p>*Compulsory field<br />All your data are strictly confidential and for the College's administration, communication and marketing purposes, e.g. College news, activities and programmes. The College will not disclose any personal information to external parties.</p>",school_college_university:"School/College/University",question:"Question",i_want_to_ask:"I want to ask...",parent:"Parent",student:"Student",other:"Others (Please specify)",graduation_year:"Graduation Year",enquiry_content:"Enquiry Content"},register:{name:"Name",your_name:"Your Name",you_are:"You are",contact_number:"Contact number",email:"Email",school_name_organization:"School Name / Organization",parent:"Parent",alumni:"Alumni",student:"Student",faculty_staff:"Faculty / Staff",others:"Others",please_choose:"Please choose",affiliation:"Affiliation",title:"Register Form",check_text:"I agree to receive direct marketing information from Yew Chung College of Early Childhood Education",notice:"Note: Please do not fill in any personal identification information, such as ID card number, passport number, etc., in the form."},blessing:{blessing_to_ycyw:"Blessing To YCYW",your_message:"Your Message",your_message_placeholder:"I want to say...",characters:"Characters",upload_photo:"Upload Photo",files_supported_image:"Files Supported: jpg and png",drag_drop_placeholder:"Drag and drop your file here or <b>choose file</b>",maximum_size:"Maximum Size",blessing_message_to_ycyw:"Blessing message to YCYW",thank_you:"Thank you",blessing_thank_you:"Amplify the impact of your blessing. Be the fuel behind our education powerhouse.",blessing_button:"Read More"},error:{page_not_found:"Page not found",error_title:"Oops!",error_text:"Sorry, the page you're looking for doesn't exist.",see_also:"SEE ALSO:",home_page:"Home Page"},time:{days:"DAYS",hours:"HOURS",minutes:"MINUTES",seconds:"SECONDS"},btn:{read:"Read",profile:"Profile",read_story:"Read Story",filters:"Filters",print:"Print",watch_full_video:"Watch Full Video",go_back:"Go Back",top:"Top",prevArticle:"Previous",nextArticle:"Next",visit_school_website:"Visit School website",read_more:"Read More",load_more:"Load More",learn_more:"Learn More",all_years:"All Years",submit:"Submit",confirm:"Confirm",submit_success:"Submitted successfully",submit_fail:"Submission Failed",previous_post:"Previous post",next_post:"Next post",view_more:"View more",confirm_and_submit:"Confirm & Submit",close:"Close"},text:{explore_next:"More",search:"Search...",cancel:"Cancel",drag_hint:"Drag to discover more schools",all:"All",title:"Title",on_page:"On page",see_more:"See More",see_less:"See Less",all_region:"All Regions",no_result_for:'No results for "%query%"',result_text:'%number% results for "%query%"',looking_for_something_else:"Looking for something else?",tel:"Tel",fax:"Fax",email:"Email",fee:"Fee"},story:{result_text:'%number% results for "%query%"'},article:{news_n_publications:"news & publications",news:"news",alumni:"alumni",alumni_community:"alumni community",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"Go to {locale}",error_alternative_locale_text:"This article doesn't have {locale}, but is available in another locales."},setting:{component_edit:"Component Edit",only_show_pc:"PC Only",only_show_mobile:"Mobile Only",component_width:"Component Width",component_bg:"Component Background",sub_component:"Sub Component",sub_component_attr:"Sub Component Attributes",width_default:"Default",width_small:"Small",width_middle:"Medium",width_large:"Large",bg_white:"White",bg_grey:"Grey",please_select:"Please select",please_input:"Please input",title:"Title",subtitle:"Subtitle",content:"Content",image:"Image",image_link:"Please enter image link",image_alt:"Image alt",link:"Link",link_name:"Link Name",link_url:"Link URL",is_external:"External Link",button_text:"Button Text",button_link:"Button Link",api_address:"API Address",default_api:"Default API Address",add:"Add",add_tab:"Add Tab",paste_tab:"Paste Tab",copy_tab:"Copy Tab",tab_name:"Tab Name",no_data:"No Data",name:"Name",description:"Description",video_url:"Video URL",video_cover:"Video Cover",height:"Height",pc_columns:"PC Columns",mobile_columns:"Mobile Columns",rows:"Rows",type:"Type",yes:"Yes",no:"No",table_header:"Table Header",add_row:"Add Row",section:"Section",label:"Label",preview:"Preview",size:"Size",position:"Position",component_type:"Component Type",open_first:"Open First",school_logo:"School Logo",button:"Button",show_underline:"Show Underline",big_title:"Big Title",form_name:"Form Name",consent_checkbox:"Consent Checkbox Text",consent_notice:"Consent Notice",submit_api:"Submit API",select_icon:"Select Icon",add_icon:"Add Icon",add_link:"Add Link",link_type:"Link Type",external_link:"External Link",photo:"Photo",desktop_columns:"Desktop Columns",mobile_display_columns:"Mobile Display Columns",bg_preset:"Background Preset",bg_color:"Background Color",school_category:"School Category",article_category:"Article Category",map_image:"Map Image",show_x:"Show X",show_y:"Show Y",date:"Date",url:"URL",pc_height:"PC Height",mobile_height:"Mobile Height",spacing:"Spacing",tab_start_spacing:"Tab Start Spacing",section_spacing:"Section Spacing",component_spacing:"Component Spacing",link_spacing:"Link Spacing",page_end_spacing:"Page End Spacing",event_code:"Event Code",contact_person:"Contact Person",input_title:"Please enter title",table_row:"Table Row",table_data:"Table Data",paragraph:"Paragraph",add_paragraph:"Add Paragraph",add_component:"Add Component",component:"Component",category:"Category",add_category:"Add Category",category_name:"Category Name",image_caption:"Image Caption",add_image:"Add Image",image_group:"Image Group",video:"Video",is_round:"Rounded",btn_default:"Default Button",btn_white:"White Button",btn_light:"Light Button",btn_blue:"Blue Button",add_button:"Add Button",input_url:"Please enter URL",input_link_url:"Please enter link URL",input_subtitle:"Please enter subtitle",input_name:"Please enter name",input_label:"Please enter label",input_content:"Please enter content",input_html:"Please enter HTML content",input_video_url:"Please enter video URL",input_article_category:"Please enter article category",input_text:"Please enter text",input_key:"Please enter key",select_link_type:"Please select link type",prepend:"Prepend",append:"Append",label_name:"Label Name",link_text:"Link Text",link_list:"Link List",add_text:"Add Text",add_section:"Add Section",add_social_link:"Add Social Link",show_year_select:"Show Year Select",translation:"Translation",campus:"Campus",marker:"Marker",marker_x:"Marker X",marker_y:"Marker Y",detail_popup_position:"Detail Popup Position",left:"Left",right:"Right",normal_item:"Normal Item",article_item:"Article Item",circle_link:"Circle Link",text_link:"Text Link",is_light:"Light Style",subtitle2:"Second Subtitle",subject:"Subject",unique_id:"Unique ID",more:"More",left_title:"Left Title",right_title:"Right Title",image_alt_label:"Image Alt",quote:"Quote",input_form_name:"Please enter form name",input_event_code:"Please enter Event Code (Key)",input_consent_checkbox:"Please enter consent checkbox text",input_consent_notice:"Please enter consent notice",input_submit_api:"Please enter submit API",input_subtitle2:"Please enter second subtitle",input_quote:"Please enter quote",input_image_alt:"Please enter image alt",input_unique_id:"Please enter unique ID",select_button_type:"Please select button type",select_icon_size:"Please select icon size",close:"Close",input_label_name:"Please enter label name",at_least_3_items:"At least 3 items must be kept",phone:"Phone",email:"Email",alt_text:"Image Alt Text"},operate:{copy:"Copy",delete:"Delete",edit:"Edit",paste_above:"Paste Above",paste_below:"Paste Below",click_upload:"Click to Upload"},sort:{most_recent:"Most Recent",past_month:"Past Month",past_year:"Past Year"},placeholder:{title_here:"Title here",html_content:"HTML content here",link_name:"Link name",input_html:"Please enter HTML content",subtitle_here:"Subtitle here",description_here:"Description here",detail_here:"Detail here",label_here:"Label here",content_here:"Content here",name_here:"Name here",text_here:"Text here",article_title_here:"Article title here",article_content_here:"Article content here",quote_demo_text:"<h2>YCYW</h2><ul><li>Aligned with Technology</li><li>Aligned with Arts</li><li>Aligned with Compassion</li></ul>",title:"Title",subtitle:"Subtitle",content:"Content",description:"Description",name:"Name",label:"Label",button:"Button",button_name:"Button Name",learn_more:"Learn More",view_more:"View More",title_1:"Title 1",title_2:"Title 2",title_3:"Title 3",title_here_1:"Title here 1",title_here_2:"Title here 2",title_here_3:"Title here 3",this_is_title:"This is a title",this_is_subtitle:"This is a subtitle",this_is_content:"This is the content",this_is_description:"This is the description",this_is_image_caption:"This is the image caption",please_input:"Please input",please_input_content:"Please input content...",quote_here:"Quote here"}},hk:{donation:{school:"學校",latest_attending_institute:"最後修讀的學校",graduation_or_year_left:"畢業/離校年份 (如適用)",wrong_format:"請輸入正確的格式",add_school:"新增學校",is_required:"此為必填項",customized_amount:"其他金額",enter_valid_amount:"請輸入有效金額",first_name:"名字",last_name:"姓氏",please_input:"請輸入",postcode_0000:"郵政編碼(如果不適用則為 00000)",chinese_name:"中文姓名(選填)",other:"其他",next:"下一步",confirm_donate:"確認並捐贈",fundraising_programmes:"籌款項目",priority_areas:"優先受惠範圍",donation_reference:"參考編號",donation_designated_to:"捐款意向",amount:"金額",payment_method:"捐款方式",identity:"捐款人身份",salutation:"稱謂",full_name:"全名(與捐款收據一致)",affiliation:"關係",email:"電郵",phone:"電話",mailing_address:"通訊地址",acknowledgement:"捐款答謝",acknowledgement_public:"我同意學院把我的姓名銘志於捐款芳名錄。(捐款金額不會公開)",acknowledgement_private:"我希望以「無名氏」名義捐款。",method_card:"網上捐款, Visa/萬事達卡",method_unionpay:"網上捐款, 銀聯",method_offline:"離線捐款, 支票/銀行轉賬捐款",donation_individual_donor:"個人捐款",donation_organisation_donor:"機構捐款",donation_issue_title:"若在捐款過程中出現任何問題",donation_issue_text:'在香港或海外的捐贈者,請透過電郵 <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a> 聯繫老明思女士<br />在中國內地的捐贈者,請透過電郵 <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a> 聯繫趙秋婉女士'},program:{date_of_attendance:"出席日期",application_reference:"參考編號",from:"從",to:"到"},enquiry:{enquiry_information_form:"查詢信息表",would_like_to_know_more:"我想了解更多(可以選擇多個)",leave_your_contact:"請留下您的聯繫方式,以便我們保持聯繫(酌情選擇一項)",do_not_consent:"我不同意耀中幼教學院使用我的個人資料進行直接營銷。",bottom_text:"<p>*必填項<br />您的所有數據都是嚴格保密的,用於學院的管理、溝通和營銷目的,例如 大學新聞、活動和計劃。 學院不會向外界透露任何個人信息。</p>",school_college_university:"學校/學院/大學",question:"問題",i_want_to_ask:"我想問...",parent:"家長",student:"學生",other:"其他(請註明)",graduation_year:"畢業年",enquiry_content:"查詢內容"},register:{name:"姓名",your_name:"你的名字",you_are:"你是",contact_number:"聯繫電話",email:"電郵",school_name_organization:"學校名稱/組織",parent:"家長",alumni:"校友",student:"學生",faculty_staff:"教學人員/行政人員",others:"其他",please_choose:"請選擇",affiliation:"與我們的聯繫",title:"註冊表單",check_text:"我同意接收來自官方的直接行銷訊息",notice:"注意:請勿在表單中填寫任何個人識別資訊,如身分證字號、護照號碼等。"},blessing:{blessing_to_ycyw:"祝福YCYW",your_message:"你的留言",your_message_placeholder:"我想說...",characters:"字符長度",upload_photo:"上傳照片",files_supported_image:"支持的文件: jpg and png",drag_drop_placeholder:"將你的文件拖放到此處或 <b>選擇文件</b>",maximum_size:"最大尺寸",blessing_message_to_ycyw:"給YCYW的祝福信息",thank_you:"感謝您",blessing_thank_you:"讓您的祝福泛動著漣漪。助推教育,點燃希望。",blessing_button:"閱讀更多"},error:{page_not_found:"未能找到頁面",error_title:"Oops!",error_text:"對不起,你要找的頁面不存在。",see_also:"繼續瀏覽:",home_page:"首頁"},time:{days:"日",hours:"小時",minutes:"分鐘",seconds:"秒"},btn:{read:"閱讀",profile:"簡介",read_story:"閱讀故事",filters:"篩選",print:"列印",watch_full_video:"觀看完整影片",go_back:"返回上一頁",top:"往上",prevArticle:"上一篇",nextArticle:"下一篇",visit_school_website:"瀏覽學校網站",read_more:"了解更多",load_more:"更多",learn_more:"了解更多",all_years:"所有年份",submit:"提交",confirm:"確認",submit_success:"提交成功",submit_fail:"提交失敗",previous_post:"上一個",next_post:"下一個",view_more:"了解更多",confirm_and_submit:"確認並提交",close:"關閉"},text:{explore_next:"更多",search:"搜尋...",cancel:"取消",drag_hint:"拖動以查看更多學校",all:"全部",title:"標題",on_page:"內容",see_more:"更多",see_less:"收合",all_region:"所有地區",no_result_for:"沒有「%query%」的搜尋結果",result_text:"%number%個「%query%」的搜尋結果",looking_for_something_else:"想搜尋其他內容?",tel:"電話",fax:"傳真",email:"電郵",fee:"費用"},story:{result_text:"%number%個「%query%」的搜尋結果"},article:{news_n_publications:"新聞及刊物",news:"新聞",alumni:"校友會",alumni_community:"校友會",admissions:"入學申請",news_n_media:"最新消息",go_to_alternative_locale:"前往 {locale}",error_alternative_locale_text:"此文章暫時沒有{locale},但您可以先瀏覽其他語言。"},setting:{component_edit:"組件編輯",only_show_pc:"僅在PC端顯示",only_show_mobile:"僅在行動端顯示",component_width:"組件寬度",component_bg:"組件背景",sub_component:"子組件",sub_component_attr:"子組件屬性",width_default:"預設",width_small:"小",width_middle:"中",width_large:"大",bg_white:"白色",bg_grey:"灰色",please_select:"請選擇",please_input:"請輸入",title:"標題",subtitle:"子標題",content:"內容",image:"圖片",image_link:"請輸入圖片連結",image_alt:"圖片alt",link:"連結",link_name:"連結名稱",link_url:"連結地址",is_external:"是否外部連結",button_text:"按鈕文字",button_link:"按鈕連結",api_address:"接口地址",default_api:"預設接口地址",add:"新增",add_tab:"新增 Tab",paste_tab:"貼上 Tab",copy_tab:"複製 Tab",tab_name:"Tab名稱",no_data:"暫無資料",name:"名稱",description:"描述",video_url:"影片地址",video_cover:"影片封面",height:"高度",pc_columns:"PC列數",mobile_columns:"行動端列數",rows:"行數",type:"類型",yes:"是",no:"否",table_header:"表格標頭",add_row:"新增",section:"章節",label:"標籤",preview:"預覽",size:"尺寸",position:"位置",component_type:"組件類型",open_first:"打開第一個",school_logo:"學校logo",button:"按鈕",show_underline:"顯示底線",big_title:"大標題",form_name:"表單名稱",consent_checkbox:"同意複選框文字",consent_notice:"同意通知",submit_api:"提交api",select_icon:"請選擇圖示",add_icon:"新增icon",add_link:"新增連結",link_type:"連結類型",external_link:"外部連結",photo:"照片",desktop_columns:"桌面顯示的列數",mobile_display_columns:"行動端顯示的列數",bg_preset:"背景預設",bg_color:"背景顏色",school_category:"學校類別",article_category:"文章類別",map_image:"地圖圖片",show_x:"顯示X座標",show_y:"顯示Y座標",date:"日期",url:"網址",pc_height:"PC高度",mobile_height:"行動端高度",spacing:"間距設定",tab_start_spacing:"標籤起始間距",section_spacing:"部分間距",component_spacing:"組件間距",link_spacing:"連結間距",page_end_spacing:"頁末間距",event_code:"Event Code",contact_person:"聯絡人",input_title:"請輸入標題",table_row:"表格行",table_data:"表格資料",paragraph:"段落",add_paragraph:"新增段落",add_component:"新增組件",component:"組件",category:"分類",add_category:"新增分類",category_name:"分類名稱",image_caption:"圖片描述",add_image:"新增圖片",image_group:"圖片組",video:"影片",is_round:"圓角",btn_default:"預設按鈕",btn_white:"白色按鈕",btn_light:"亮色按鈕",btn_blue:"藍色按鈕",add_button:"新增按鈕",input_url:"請輸入網址",input_link_url:"請輸入連結地址",input_subtitle:"請輸入副標題",input_name:"請輸入名稱",input_label:"請輸入標籤",input_content:"請輸入內容",input_html:"請輸入HTML內容",input_video_url:"請輸入影片連結",input_article_category:"請輸入文章類別",input_text:"請輸入文字",input_key:"請輸入key",select_link_type:"請選擇連結類型",prepend:"前置",append:"追加",label_name:"標籤名稱",link_text:"連結文字",link_list:"連結列表",add_text:"新增文字",add_section:"新增章節",add_social_link:"新增社交連結",show_year_select:"顯示年份選擇",translation:"翻譯",campus:"校區",marker:"標記",marker_x:"標記X座標",marker_y:"標記Y座標",detail_popup_position:"詳情彈出位置",left:"左",right:"右",normal_item:"一般項目",article_item:"文章項目",circle_link:"圓形連結",text_link:"文字連結",is_light:"是否亮色",subtitle2:"第二個子標題",subject:"題目",unique_id:"唯一識別",more:"更多",left_title:"左側標題",right_title:"右側標題",image_alt_label:"圖片alt",quote:"引言",input_form_name:"請輸入表單名稱",input_event_code:"請輸入 Event Code (Key)",input_consent_checkbox:"請輸入同意複選框文字",input_consent_notice:"請輸入同意通知",input_submit_api:"請輸入提交 API",input_subtitle2:"請輸入第二個子標題",input_quote:"請輸入引言",input_image_alt:"請輸入圖片 Alt",input_unique_id:"請輸入唯一識別",select_button_type:"請選擇按鈕類型",select_icon_size:"請選擇圖示大小",close:"關閉",input_label_name:"請輸入標籤名稱",at_least_3_items:"至少保留3个項目",phone:"手機號碼",email:"郵箱",alt_text:"圖片替代文本"},operate:{copy:"複製",delete:"刪除",edit:"編輯",paste_above:"向上貼上",paste_below:"向下貼上",click_upload:"點擊上傳"},sort:{most_recent:"最新",past_month:"上月",past_year:"去年"},placeholder:{title_here:"這裡是標題",html_content:"這裡是html內容",link_name:"連結名稱",input_html:"請輸入html內容",subtitle_here:"這裡是副標題",description_here:"這裡是描述",detail_here:"這裡是詳情",label_here:"這裡是標籤",content_here:"這裡是內容",name_here:"這裡是名稱",text_here:"這裡是文字",article_title_here:"這裡是文章標題",article_content_here:"這裡是文章內容",quote_demo_text:"<h2>耀中耀華</h2><ul><li>與科技結盟</li><li>與文藝結盟</li><li>與仁愛結盟</li></ul>",title:"標題",subtitle:"副標題",content:"內容",description:"描述",name:"名稱",label:"標籤",button:"按鈕",button_name:"按鈕名稱",learn_more:"了解更多",view_more:"查看更多",title_1:"標題1",title_2:"標題2",title_3:"標題3",title_here_1:"這裡是標題1",title_here_2:"這裡是標題2",title_here_3:"這裡是標題3",this_is_title:"這是標題",this_is_subtitle:"這是副標題",this_is_content:"這是內容",this_is_description:"這是描述",this_is_image_caption:"這是圖片描述",please_input:"請輸入",please_input_content:"請輸入內容...",quote_here:"這裡是引言"}}};function de(n){const t=ef[n]||ef.en;function o(a,l){const s=a.split(".");let r=t;for(const i of s)if(r=r==null?void 0:r[i],r===void 0)return l||a;return r}return{t:o,lang:t}}function Y(n=16){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let o="";for(let a=0;a<n;a++)o+=t.charAt(Math.floor(Math.random()*t.length));return o}function ce(){const n=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n),o=window.innerWidth<=768;return t||o&&!/iPad/.test(n)}function cl(n){let t=0,o=0;for(;n;)t+=n.offsetLeft-n.scrollLeft+n.clientLeft,o+=n.offsetTop-n.scrollTop+n.clientTop,n=n.offsetParent;return{x:t,y:o}}function zs(n="Publications",t="section",o=10,a=8){const l="abcdefghijklmnopqrstuvwxyz0123456789",s=l.length;function r(f){if(typeof crypto<"u"&&crypto.getRandomValues){const c=new Uint32Array(f);crypto.getRandomValues(c);let g="";for(let h=0;h<f;h++)g+=l[c[h]%s];return g}else{let c="";for(let g=0;g<f;g++)c+=l.charAt(Math.floor(Math.random()*s));return c}}function i(f){const c=Date.now().toString();if(c.length>=f)return c.slice(0,f);{const g=r(f-c.length).replace(/[^0-9]/g,"");return c+g}}const d=i(o),u=r(a),m=i(o),p=r(a);return`${n}-${d}-${u}-${t}-${m}-${p}`}function ew(n){if(!n)return{top:0,left:0};const t=n.getBoundingClientRect(),o=window.pageYOffset||document.documentElement.scrollTop,a=window.pageXOffset||document.documentElement.scrollLeft;return{top:t.top+o,left:t.left+a}}function tu(n){if(!n)return;const t=document.querySelector(n);if(!t)return;const o=ew(t).top;window.scroll({top:o-170,left:0,behavior:"smooth"})}const tw=["innerHTML"],nw=["innerHTML"],ow=e.defineComponent({__name:"index",props:{type:{type:String,default:"button"},data:{type:Object,default:()=>{}},hasHoverBg:{type:Boolean,default:!0},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=n,a=t,l=()=>{!o.data.url||!o.isPreview||(o.data.url.startsWith("http")?typeof window<"u"&&window.open(o.data.url,"_blank"):a("handleClick",o.data.url))};return(s,r)=>n.type==="button"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["button-primary flex-inline flex-center",[n.hasHoverBg&&"button-hover-bg"]]),onClick:l},[e.createElementVNode("span",{class:"button-text",innerHTML:n.data.text},null,8,tw),r[0]||(r[0]=e.createElementVNode("span",{class:"button-icon"},null,-1))],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"link-button flex-inline flex-center",onClick:l},[e.createElementVNode("span",{class:"link-text",innerHTML:n.data.text},null,8,nw),r[1]||(r[1]=e.createElementVNode("span",{class:"button-icon link-icon"},null,-1))]))}}),te=(n,t)=>{const o=n.__vccOpts||n;for(const[a,l]of t)o[a]=l;return o},Uo=te(ow,[["__scopeId","data-v-d6f1a301"]]),aw={class:"article-item article-list-item"},lw={class:"article-item-title"},iw=["innerHTML"],sw={key:0,class:"article-item-button"},rw={key:1,class:"article-item-link"},dw=e.defineComponent({__name:"article",props:{article:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=t,a=e.ref(null),l=s=>{o("handleClick",s)};return e.onMounted(()=>{e.nextTick(()=>{a.value&&a.value.querySelectorAll("a").forEach(r=>{r.addEventListener("click",i=>{const d=i.target.getAttribute("href");d&&!d.startsWith("http")&&(i.preventDefault(),o("handleClick",d))})})})}),(s,r)=>{var i,d;return e.openBlock(),e.createElementBlock("div",aw,[e.createElementVNode("h4",lw,e.toDisplayString(n.article.title),1),e.createElementVNode("div",{class:e.normalizeClass(["article-item__content",{"mt-4":!!n.article.title}]),innerHTML:n.article.content,ref_key:"contentRef",ref:a},null,10,iw),(i=n.article.buttonList)!=null&&i.length?(e.openBlock(),e.createElementBlock("div",sw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.article.buttonList,u=>(e.openBlock(),e.createElementBlock("div",{class:"article-item-btn-col",key:u.id},[e.createVNode(Uo,{data:u,isPreview:n.isPreview,onHandleClick:l},null,8,["data","isPreview"])]))),128))])):e.createCommentVNode("",!0),(d=n.article.linkList)!=null&&d.length?(e.openBlock(),e.createElementBlock("div",rw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.article.linkList,u=>(e.openBlock(),e.createElementBlock("div",{class:"article-item-link-col",key:u.id},[e.createVNode(Uo,{data:u,isPreview:n.isPreview,type:"link",onHandleClick:l},null,8,["data","isPreview"])]))),128))])):e.createCommentVNode("",!0)])}}}),cw={class:"contact-item"},uw={key:0,class:"contact__cat-list"},mw={class:"contact-item-title"},hw=["innerHTML"],fw={class:"contact-item-link"},gw=te(e.defineComponent({__name:"contact",props:{contact:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=t,a=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{a.value&&a.value.querySelectorAll("a").forEach(s=>{s.addEventListener("click",r=>{const i=r.target.getAttribute("href");i&&!i.startsWith("http")&&(r.preventDefault(),o("handleClick",i))})})})}),(l,s)=>{var r;return e.openBlock(),e.createElementBlock("div",cw,[((r=n.contact.categories)==null?void 0:r.length)>0?(e.openBlock(),e.createElementBlock("ul",uw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.contact.categories,i=>(e.openBlock(),e.createElementBlock("li",{key:i.id,class:"contact__cat-item tx-overline text-blue"},e.toDisplayString(i.text),1))),128))])):e.createCommentVNode("",!0),e.createElementVNode("h4",mw,e.toDisplayString(n.contact.title),1),e.createElementVNode("div",{class:"editor-content",innerHTML:n.contact.content,ref_key:"contentRef",ref:a},null,8,hw),e.createElementVNode("div",fw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.contact.linkList,i=>(e.openBlock(),e.createBlock(Uo,{key:i.id,data:i,isPreview:n.isPreview,type:"link"},null,8,["data","isPreview"]))),128))])])}}}),[["__scopeId","data-v-8a14726a"]]),pw={key:0,class:"image-desc"},Aw={key:1,class:"video-container flex-inline flex-center"},yw=["src"],ww={class:"video-thumbnail flex flex-center"},Cw=["src"],bw={key:2,class:"image-list-container"},Ew={key:0,class:"image-preview"},Bw={class:"image-list-wrapper"},xw=["src","onClick"],kw=te(e.defineComponent({__name:"index",props:{type:{type:String,default:"Image"},data:{type:Object,default:()=>{}},preview:{type:Boolean,default:!0}},setup(n){var g,h,w;const t=n,o=e.ref(),a=e.ref(!1),l=()=>{var E;(E=o.value)==null||E.play(),a.value=!0},s=e.ref(((w=(h=(g=t.data)==null?void 0:g.imageList)==null?void 0:h[0])==null?void 0:w.src)||""),r=E=>{s.value=E},i=e.ref(null),d=e.ref(!1),u=e.ref(!1),m=()=>{const E=i.value;E&&(d.value=E.scrollLeft>0,u.value=E.scrollLeft+E.clientWidth<E.scrollWidth)},p=()=>{const E=i.value;E&&E.scrollBy({left:-E.clientWidth/1.5,behavior:"smooth"})},f=()=>{const E=i.value;E&&E.scrollBy({left:E.clientWidth/1.5,behavior:"smooth"})},c=()=>{m()};return e.watch(()=>{var E;return(E=t.data)==null?void 0:E.imageList},async()=>{await e.nextTick(),m()}),e.onMounted(()=>{typeof window<"u"&&window.addEventListener("resize",m),e.nextTick(m)}),e.onUnmounted(()=>{typeof window<"u"&&window.removeEventListener("resize",m)}),(E,x)=>{const b=e.resolveComponent("a-image"),A=e.resolveComponent("icon-caret-right");return e.openBlock(),e.createElementBlock(e.Fragment,null,[n.type==="Image"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["image-container",[n.data.isRound?"round":""]])},[e.createVNode(b,{class:"image",src:n.data.imgSrc,preview:n.preview,alt:n.data.alt,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview","alt"]),n.data.caption?(e.openBlock(),e.createElementBlock("p",pw,e.toDisplayString(n.data.caption),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),n.type==="Video"?(e.openBlock(),e.createElementBlock("div",Aw,[e.createElementVNode("video",{class:"video",ref_key:"videoElement",ref:o,src:n.data.videoSrc,controls:""},null,8,yw),a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ww,[e.createElementVNode("img",{src:n.data.imgSrc},null,8,Cw)]),e.createElementVNode("div",{class:"play-button flex flex-center",onClick:l},[e.createVNode(A,{style:{color:"#fff"}})])],64))])):e.createCommentVNode("",!0),n.type==="ImageList"?(e.openBlock(),e.createElementBlock("div",bw,[s.value?(e.openBlock(),e.createElementBlock("div",Ew,[e.createVNode(b,{class:"image",src:s.value,preview:n.preview,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Bw,[e.withDirectives(e.createElementVNode("div",{class:"thumbnail__nav__prev",onClick:p}," ‹ ",512),[[e.vShow,d.value]]),e.createElementVNode("div",{class:"image-list",ref_key:"imageListRef",ref:i,onScroll:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.data.imageList,k=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:k.id},[k.src?(e.openBlock(),e.createElementBlock("img",{key:0,class:"image",src:k.src,onClick:B=>r(k.src)},null,8,xw)):e.createCommentVNode("",!0)],64))),128))],544),e.withDirectives(e.createElementVNode("div",{class:"thumbnail__nav__next",onClick:f}," › ",512),[[e.vShow,u.value]])])])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-10251248"]]),We=te(e.defineComponent({__name:"index",props:{modelValue:{type:String,default:""},name:{type:String,default:""},locale:{type:String,default:"sc"},buttonText:{type:String,default:""},buttonClass:{type:String,default:"fit-content"}},emits:["update:modelValue"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=e.computed(()=>o.buttonText||a("operate.click_upload")),s=t,r=e.inject("handleUpload",()=>{}),i=e.inject("fileUrl",null),d=e.inject("chooseName",null),u=()=>{if(!r){console.warn("Upload: handleUpload function not provided by ancestor");return}r(!0,o.name)};return e.watch(()=>o.name,()=>{i.value=null},{deep:!0,immediate:!0}),e.watch(()=>[i==null?void 0:i.value],([m])=>{!m||!d.value||d.value!==o.name||s("update:modelValue",m)},{immediate:!1}),(m,p)=>{const f=e.resolveComponent("icon-upload"),c=e.resolveComponent("a-button");return e.openBlock(),e.createBlock(c,{type:"primary",onClick:u,class:e.normalizeClass(n.buttonClass)},{icon:e.withCtx(()=>[e.createVNode(f)]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["class"])}}}),[["__scopeId","data-v-62fd1c8d"]]),Vw={class:"setting-content"},Dw={class:"setting-header flex items-center mb-10"},Sw={class:"header-title"},Nw={class:"setting-header flex items-center"},Tw={class:"header-title"},Pw={class:"setting-header flex items-center"},Iw={class:"header-title"},Mw={class:"setting-header flex items-center"},Lw={class:"header-title"},Qw={class:"setting-body"},Ow={class:"setting-item"},Fw={class:"item-name"},Uw={class:"btn-group"},Hw={class:"drag-handle"},zw={class:"item-title"},Rw={class:"item-title"},vw={class:"item-title"},jw={class:"btn-group"},Yw={key:0,class:"drag-handle"},Gw={class:"item-action flex items-center"},qw=["onClick"],Kw={class:"btn-text"},Ww={class:"item-title"},Xw={class:"btn-group"},Jw={key:0,class:"drag-handle"},Zw={class:"item-action flex items-center"},_w=["onClick"],$w={class:"btn-text"},e2={class:"item-title"},t2={class:"item-title"},n2={class:"item-title"},o2={class:"btn-group"},a2={key:0,class:"drag-handle"},l2={class:"item-action flex items-center"},i2=["onClick"],s2={class:"btn-text"},r2={class:"item-title"},d2={class:"btn-group"},c2={key:0,class:"drag-handle"},u2={class:"item-action flex items-center"},m2=["onClick"],h2={class:"btn-text"},f2=["src"],g2={class:"item-uplaod flex items-center"},p2={class:"item-title"},A2={class:"item-img-list"},y2={class:"btn-group"},w2={key:0,class:"drag-handle"},C2={key:0,class:"item-img-box"},b2=["src"],E2={class:"item-right flex-1"},B2=["onClick"],x2={class:"btn-text"},k2={class:"item-title"},V2=["src"],D2={class:"item-uplaod flex items-center"},S2=["src"],N2={class:"item-uplaod flex items-center"},T2=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>Ut)),l=e.ref(!1),s=e.computed(()=>({animation:200,group:"item",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".rich-text-editor, .arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),r=e.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),i=e.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),d=e.computed(()=>({animation:200,group:"categories",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),u=e.computed(()=>({animation:200,group:"images",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),m=I=>I&&I.length>1,p=n,{t:f}=de(p.locale),c=t,g=()=>{c("update:show",!1)},h=I=>{const S=p.data;I==="Article"?S.data.push({id:Y(),type:"Article",title:"",content:"",buttonList:[],linkList:[]}):I==="Contact"?S.data.push({id:Y(),type:"Contact",title:"",content:"",categories:[],linkList:[]}):I==="Image"?S.data.push({id:Y(),type:"Image",imgSrc:"",caption:"",alt:"",isRound:!1}):I==="ImageList"?S.data.push({id:Y(),type:"ImageList",imageList:[]}):I==="Video"&&S.data.push({id:Y(),type:"Video",videoSrc:"",imgSrc:""})},w=I=>{p.data.data=p.data.data.filter(S=>S.id!==I)},E=I=>{I.push({id:Y(),text:f("placeholder.view_more"),url:void 0})},x=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)},b=I=>{I.push({id:Y(),text:f("placeholder.view_more"),url:void 0})},A=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)},k=I=>{I.push({id:Y(),text:"分类"})},B=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)},C=I=>{I.push({id:Y(),src:""})},D=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)};return(I,S)=>{const P=e.resolveComponent("a-switch"),Q=e.resolveComponent("a-option"),L=e.resolveComponent("a-select"),F=e.resolveComponent("icon-plus"),z=e.resolveComponent("a-button"),v=e.resolveComponent("a-button-group"),q=e.resolveComponent("icon-drag-arrow"),ee=e.resolveComponent("icon-delete"),U=e.resolveComponent("a-input"),H=e.resolveComponent("a-checkbox"),$=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock($,{width:500,visible:n.show,footer:!1,onCancel:g,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(f)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",Vw,[e.createElementVNode("div",Dw,[e.createElementVNode("span",Sw,e.toDisplayString(e.unref(f)("setting.only_show_pc")),1),e.createVNode(P,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":S[0]||(S[0]=R=>n.data.onlyShowPc=R)},null,8,["modelValue"])]),e.createElementVNode("div",Nw,[e.createElementVNode("span",Tw,e.toDisplayString(e.unref(f)("setting.only_show_mobile")),1),e.createVNode(P,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":S[1]||(S[1]=R=>n.data.onlyShowMobile=R)},null,8,["modelValue"])]),e.createElementVNode("div",Pw,[e.createElementVNode("span",Iw,e.toDisplayString(e.unref(f)("setting.component_width")),1),e.createVNode(L,{modelValue:n.data.width,"onUpdate:modelValue":S[2]||(S[2]=R=>n.data.width=R),placeholder:e.unref(f)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(Q,{value:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_default")),1)]),_:1}),e.createVNode(Q,{value:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_small")),1)]),_:1}),e.createVNode(Q,{value:"middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_middle")),1)]),_:1}),e.createVNode(Q,{value:"max"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_large")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",Mw,[e.createElementVNode("span",Lw,e.toDisplayString(e.unref(f)("setting.component_bg")),1),e.createVNode(L,{modelValue:n.data.bgColor,"onUpdate:modelValue":S[3]||(S[3]=R=>n.data.bgColor=R),placeholder:e.unref(f)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(Q,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.bg_white")),1)]),_:1}),e.createVNode(Q,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createVNode(v,{type:"primary"},{default:e.withCtx(()=>[e.createVNode(z,{size:"mini",onClick:S[4]||(S[4]=R=>h("Article"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[22]||(S[22]=e.createTextVNode(" Article ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[5]||(S[5]=R=>h("Contact"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[23]||(S[23]=e.createTextVNode(" Contact ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[6]||(S[6]=R=>h("Image"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[24]||(S[24]=e.createTextVNode(" Image ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[7]||(S[7]=R=>h("ImageList"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[25]||(S[25]=e.createTextVNode(" ImageList ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[8]||(S[8]=R=>h("Video"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[26]||(S[26]=e.createTextVNode(" Video ",-1))]),_:1})]),_:1}),e.createElementVNode("div",Qw,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":S[19]||(S[19]=R=>n.data.data=R),"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},s.value,{onStart:S[20]||(S[20]=R=>l.value=!0),onEnd:S[21]||(S[21]=R=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:R})=>[e.createElementVNode("div",Ow,[e.createElementVNode("p",Fw,e.toDisplayString(R.type),1),e.createElementVNode("div",Uw,[e.createElementVNode("div",Hw,[e.createVNode(q,{class:"drag-icon"})]),e.createVNode(ee,{class:"btn-delete",onClick:j=>w(R.id)},null,8,["onClick"])]),R.type==="Article"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("p",zw,e.toDisplayString(e.unref(f)("setting.title")),1),e.createVNode(U,{modelValue:R.title,"onUpdate:modelValue":j=>R.title=j,placeholder:e.unref(f)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",Rw,e.toDisplayString(e.unref(f)("setting.content")),1),e.createVNode(e.unref(a),{modelValue:R.content,"onUpdate:modelValue":j=>R.content=j,name:`ArticleList_editor_${R.id}`},null,8,["modelValue","onUpdate:modelValue","name"]),e.createElementVNode("p",vw,e.toDisplayString(e.unref(f)("setting.button")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.buttonList,"onUpdate:modelValue":j=>R.buttonList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},r.value,{disabled:!m(R.buttonList),onStart:S[9]||(S[9]=j=>l.value=!0),onEnd:S[10]||(S[10]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.buttonList)}]),key:j.id},[e.createElementVNode("div",jw,[m(R.buttonList)?(e.openBlock(),e.createElementBlock("div",Yw,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>x(R.buttonList,j.id)},null,8,["onClick"])]),e.createVNode(z,{type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",Gw,[e.createVNode(U,{class:"action-text",modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{modelValue:j.url,"onUpdate:modelValue":W=>j.url=W,placeholder:e.unref(f)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>E(R.buttonList)},[e.createVNode(F),e.createElementVNode("span",Kw,e.toDisplayString(e.unref(f)("setting.add")),1)],8,qw),e.createElementVNode("p",Ww,e.toDisplayString(e.unref(f)("setting.link")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.linkList,"onUpdate:modelValue":j=>R.linkList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},i.value,{disabled:!m(R.linkList),onStart:S[11]||(S[11]=j=>l.value=!0),onEnd:S[12]||(S[12]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.linkList)}]),key:j.id},[e.createElementVNode("div",Xw,[m(R.linkList)?(e.openBlock(),e.createElementBlock("div",Jw,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>A(R.linkList,j.id)},null,8,["onClick"])]),e.createVNode(z,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",Zw,[e.createVNode(U,{class:"action-text",modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{modelValue:j.url,"onUpdate:modelValue":W=>j.url=W,placeholder:e.unref(f)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>b(R.linkList)},[e.createVNode(F),e.createElementVNode("span",$w,e.toDisplayString(e.unref(f)("setting.add_link")),1)],8,_w)],64)):e.createCommentVNode("",!0),R.type==="Contact"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",e2,e.toDisplayString(e.unref(f)("setting.title")),1),e.createVNode(U,{modelValue:R.title,"onUpdate:modelValue":j=>R.title=j,placeholder:e.unref(f)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",t2,e.toDisplayString(e.unref(f)("setting.content")),1),e.createVNode(e.unref(a),{modelValue:R.content,"onUpdate:modelValue":j=>R.content=j,name:`ArticleList_editor_${R.id}`},null,8,["modelValue","onUpdate:modelValue","name"]),e.createElementVNode("p",n2,e.toDisplayString(e.unref(f)("setting.category")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.categories,"onUpdate:modelValue":j=>R.categories=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},d.value,{disabled:!m(R.categories),onStart:S[13]||(S[13]=j=>l.value=!0),onEnd:S[14]||(S[14]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.categories)}]),key:j.id},[e.createElementVNode("div",o2,[m(R.categories)?(e.openBlock(),e.createElementBlock("div",a2,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>B(R.categories,j.id)},null,8,["onClick"])]),e.createVNode(ee,{class:"btn-delete",onClick:W=>B(R.categories,j.id)},null,8,["onClick"]),e.createVNode(z,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",l2,[e.createVNode(U,{modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.category_name"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>k(R.categories)},[e.createVNode(F),e.createElementVNode("span",s2,e.toDisplayString(e.unref(f)("setting.add_category")),1)],8,i2),e.createElementVNode("p",r2,e.toDisplayString(e.unref(f)("setting.link")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.linkList,"onUpdate:modelValue":j=>R.linkList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},i.value,{disabled:!m(R.linkList),onStart:S[15]||(S[15]=j=>l.value=!0),onEnd:S[16]||(S[16]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.linkList)}]),key:j.id},[e.createElementVNode("div",d2,[m(R.linkList)?(e.openBlock(),e.createElementBlock("div",c2,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>A(R.linkList,j.id)},null,8,["onClick"])]),e.createVNode(z,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",u2,[e.createVNode(U,{class:"action-text",modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{modelValue:j.url,"onUpdate:modelValue":W=>j.url=W,placeholder:e.unref(f)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>b(R.linkList)},[e.createVNode(F),e.createElementVNode("span",h2,e.toDisplayString(e.unref(f)("setting.add_link")),1)],8,m2)],64)):e.createCommentVNode("",!0),R.type==="Image"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("img",{class:"item-img",src:R.imgSrc},null,8,f2),e.createElementVNode("div",g2,[e.createVNode(U,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,placeholder:e.unref(f)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,name:`ArticleList_${R.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(U,{class:"mt-2",modelValue:R.caption,"onUpdate:modelValue":j=>R.caption=j,placeholder:e.unref(f)("setting.image_caption"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{class:"mt-2",modelValue:R.alt,"onUpdate:modelValue":j=>R.alt=j,placeholder:e.unref(f)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(H,{class:"pt-2",modelValue:R.isRound,"onUpdate:modelValue":j=>R.isRound=j},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.is_round")),1)]),_:1},8,["modelValue","onUpdate:modelValue"])],64)):e.createCommentVNode("",!0),R.type==="ImageList"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("p",p2,e.toDisplayString(e.unref(f)("setting.image_group")),1),e.createElementVNode("div",A2,[e.createVNode(e.unref(o),e.mergeProps({modelValue:R.imageList,"onUpdate:modelValue":j=>R.imageList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},u.value,{disabled:!m(R.imageList),onStart:S[17]||(S[17]=j=>l.value=!0),onEnd:S[18]||(S[18]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["img-list-item flex draggable-item",{"sortable-disabled":!m(R.imageList)}]),key:j.id},[e.createElementVNode("div",y2,[m(R.imageList)?(e.openBlock(),e.createElementBlock("div",w2,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>D(R.imageList,j.id)},null,8,["onClick"])]),j.src?(e.openBlock(),e.createElementBlock("div",C2,[e.createElementVNode("img",{class:"item-img small-img",src:j.src},null,8,b2)])):e.createCommentVNode("",!0),e.createElementVNode("div",E2,[e.createVNode(U,{style:{"margin-bottom":"12px"},modelValue:j.src,"onUpdate:modelValue":W=>j.src=W,placeholder:e.unref(f)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:j.src,"onUpdate:modelValue":W=>j.src=W,name:`ArticleList_${j.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"])]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>C(R.imageList)},[e.createVNode(F),e.createElementVNode("span",x2,e.toDisplayString(e.unref(f)("setting.add_image")),1)],8,B2)],64)):e.createCommentVNode("",!0),R.type==="Video"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createElementVNode("p",k2,e.toDisplayString(e.unref(f)("setting.video")),1),e.createElementVNode("video",{class:"item-img",src:R.videoSrc,controls:""},null,8,V2),e.createElementVNode("div",D2,[e.createVNode(U,{modelValue:R.videoSrc,"onUpdate:modelValue":j=>R.videoSrc=j,placeholder:e.unref(f)("setting.input_video_url"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:R.videoSrc,"onUpdate:modelValue":j=>R.videoSrc=j,name:`ArticleList_${R.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createElementVNode("img",{class:"item-img",src:R.imgSrc},null,8,S2),e.createElementVNode("div",N2,[e.createVNode(U,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,placeholder:e.unref(f)("setting.video_cover"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,name:`ArticleList_${R.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])])],64)):e.createCommentVNode("",!0)])]),_:1},16,["modelValue","component-data"])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-bc6fc8f7"]]),P2={class:"operate-page operate-component"},I2={class:"operate-btn d-flex justify-end"},Ve=te(e.defineComponent({__name:"index",props:{show:{type:Boolean,default:!1},locale:{type:String,default:"sc"}},emits:["handleCopy","handleDelete","handleEdit","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{l("handleCopy")},r=()=>{l("handleDelete")},i=()=>{l("handleEdit")},d=u=>{l("handlePaste",u)};return(u,m)=>{const p=e.resolveComponent("icon-copy"),f=e.resolveComponent("a-tooltip"),c=e.resolveComponent("icon-delete"),g=e.resolveComponent("icon-edit"),h=e.resolveComponent("icon-arrow-up"),w=e.resolveComponent("icon-arrow-down");return e.withDirectives((e.openBlock(),e.createElementBlock("div",P2,[e.createElementVNode("div",I2,[e.createElementVNode("div",{class:"btn-item btn-copy d-flex align-center fs-10",onClick:e.withModifiers(s,["stop"])},[e.createVNode(f,{content:e.unref(a)("operate.copy"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-delete d-flex align-center fs-10",onClick:e.withModifiers(r,["stop"])},[e.createVNode(f,{content:e.unref(a)("operate.delete"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-edit d-flex align-center fs-10",onClick:e.withModifiers(i,["stop"])},[e.createVNode(f,{content:e.unref(a)("operate.edit"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(g)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-paste d-flex align-center fs-10",onClick:m[0]||(m[0]=e.withModifiers(E=>d("top"),["stop"]))},[e.createVNode(f,{content:e.unref(a)("operate.paste_above"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(h)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-paste d-flex align-center fs-10",onClick:m[1]||(m[1]=e.withModifiers(E=>d("bottom"),["stop"]))},[e.createVNode(f,{content:e.unref(a)("operate.paste_below"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(w)]),_:1},8,["content"])])])],512)),[[e.vShow,n.show]])}}}),[["__scopeId","data-v-6a332d29"]]),M2={class:"article-list-left"},L2={class:"left-list"},Q2={class:"article-list-right"},O2={class:"right-list"},pi=te(e.defineComponent({name:"ArticleList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste","handleClick"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=e.computed(()=>o.modelValue&&o.modelValue.data&&o.modelValue.data.length?o.modelValue.data.some(g=>g.type!=="Article"&&g.type!=="Contact"):!1),r=()=>{var h;if(o.modelValue&&o.modelValue.data)return;const g={id:((h=o.modelValue)==null?void 0:h.id)||Y(),type:"ArticleList",onlyShowPc:!1,onlyShowMobile:!1,width:"",bgColor:"",data:[{id:Y(),type:"Article",title:a("placeholder.title_here"),content:a("placeholder.content_here"),buttonList:[],linkList:[{id:Y(),text:a("placeholder.link_name"),url:""}]},{id:Y(),type:"Image",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",caption:"",alt:"",isRound:!1}]};l("update:modelValue",g)},i=e.computed(()=>{var g,h;return o.isPreview?(g=o.modelValue)!=null&&g.onlyShowPc?!ce():(h=o.modelValue)!=null&&h.onlyShowMobile?ce():!0:!0}),d=e.ref(!1),u=e.ref(!1),m=()=>{l("handleDelete",o.modelValue.id)},p=()=>{l("handleCopy",o.modelValue)},f=g=>{l("handlePaste",g)},c=g=>{l("handleClick",g)};return r(),(g,h)=>{var x,b,A;const w=e.resolveComponent("a-col"),E=e.resolveComponent("a-row");return e.openBlock(),e.createElementBlock(e.Fragment,null,[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"article-list-container",style:e.normalizeStyle({backgroundColor:((x=n.modelValue)==null?void 0:x.bgColor)||"transparent"}),onMouseenter:h[2]||(h[2]=k=>d.value=!0),onMouseleave:h[3]||(h[3]=k=>d.value=!1)},[e.createVNode(E,{class:e.normalizeClass(["article-list",[(b=n.modelValue)!=null&&b.width?`container-content-${(A=n.modelValue)==null?void 0:A.width}`:"container-content"]])},{default:e.withCtx(()=>[e.createVNode(w,{sm:{span:24},md:{span:s.value?12:24}},{default:e.withCtx(()=>{var k;return[e.createElementVNode("div",M2,[e.createElementVNode("ul",L2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((k=n.modelValue)==null?void 0:k.data,B=>(e.openBlock(),e.createElementBlock("li",{key:B.id,class:"left-item"},[B.type==="Article"?(e.openBlock(),e.createBlock(dw,{key:0,article:B,isPreview:n.isPreview,onHandleClick:c},null,8,["article","isPreview"])):e.createCommentVNode("",!0),B.type==="Contact"?(e.openBlock(),e.createBlock(gw,{key:1,contact:B,isPreview:n.isPreview,onHandleClick:c},null,8,["contact","isPreview"])):e.createCommentVNode("",!0)]))),128))])])]}),_:1},8,["md"]),s.value?(e.openBlock(),e.createBlock(w,{key:0,sm:{span:24},md:{span:12}},{default:e.withCtx(()=>{var k;return[e.createElementVNode("div",Q2,[e.createElementVNode("ul",O2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((k=n.modelValue)==null?void 0:k.data,B=>(e.openBlock(),e.createElementBlock("li",{key:B.id,class:"right-item"},[e.createVNode(kw,{type:B.type,data:B,preview:n.isPreview},null,8,["type","data","preview"])]))),128))])])]}),_:1})):e.createCommentVNode("",!0)]),_:1},8,["class"]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:d.value,"onUpdate:show":h[0]||(h[0]=k=>d.value=k),locale:n.locale,onHandleEdit:h[1]||(h[1]=k=>u.value=!0),onHandleDelete:m,onHandleCopy:p,onHandlePaste:f},null,8,["show","locale"]))],36)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(T2,{key:1,show:u.value,"onUpdate:show":h[4]||(h[4]=k=>u.value=k),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-ac5eadfa"]]),F2=Object.freeze(Object.defineProperty({__proto__:null,default:pi},Symbol.toStringTag,{value:"Module"})),U2={class:"banner-quicklinks"},H2={class:"quick-links__list is-big"},tf=te(e.defineComponent({__name:"index",props:{data:{type:Array,default:()=>[]},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=n,a=t,l=f=>{a("handleClick",f)},s=e.ref(null),r=e.ref(!1),i=e.ref(!1),d=()=>{const f=s.value;f&&(r.value=f.scrollLeft>0,i.value=f.scrollLeft+f.clientWidth<f.scrollWidth)},u=()=>{const f=s.value;f&&f.scrollBy({left:-f.clientWidth/1.5,behavior:"smooth"})},m=()=>{const f=s.value;f&&f.scrollBy({left:f.clientWidth/1.5,behavior:"smooth"})},p=()=>{d()};return e.watch(()=>o.data,async()=>{await e.nextTick(),d()}),e.onMounted(()=>{typeof window<"u"&&window.addEventListener("resize",d),e.nextTick(d)}),e.onUnmounted(()=>{typeof window<"u"&&window.removeEventListener("resize",d)}),(f,c)=>(e.openBlock(),e.createElementBlock("div",U2,[e.withDirectives(e.createElementVNode("div",{class:"quick-links__nav__prev",onClick:u},null,512),[[e.vShow,r.value]]),e.createElementVNode("div",{class:"quick-links__wrapper",ref_key:"quickLinksWrapperRef",ref:s,onScroll:p},[e.createElementVNode("div",H2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.data,g=>(e.openBlock(),e.createBlock(Uo,{key:g.id,data:g,hasHoverBg:!1,isPreview:n.isPreview,onHandleClick:l},null,8,["data","isPreview"]))),128))])],544),e.withDirectives(e.createElementVNode("div",{class:"quick-links__nav__next",onClick:m},null,512),[[e.vShow,i.value]])]))}}),[["__scopeId","data-v-2705de92"]]),z2={class:"setting-header flex items-center mb-10"},R2={class:"header-title"},v2={class:"setting-header flex items-center"},j2={class:"header-title"},Y2={class:"setting-content"},G2={class:"item-title"},q2={class:"item-title"},K2=["src"],W2={class:"item-uplaod flex items-center"},X2={class:"setting-body"},J2={class:"setting-item"},Z2={class:"item-title"},_2={class:"btn-group"},$2={key:0,class:"drag-handle"},eC={class:"item-action flex items-center"},tC={class:"btn-text"},nC=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=n,{t:l}=de(a.locale),s=t,r=e.ref(!1),i=e.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),d=f=>f&&f.length>1,u=f=>{f.push({id:Y(),text:l("btn.view_more"),url:void 0})},m=(f,c)=>{f.splice(f.findIndex(g=>g.id===c),1)},p=()=>{s("update:show",!1)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-input"),w=e.resolveComponent("icon-drag-arrow"),E=e.resolveComponent("icon-delete"),x=e.resolveComponent("a-button"),b=e.resolveComponent("icon-plus"),A=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(A,{width:500,visible:n.show,footer:!1,onCancel:p,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(l)("setting.component_edit")),1)]),default:e.withCtx(()=>{var k,B;return[e.createElementVNode("div",z2,[e.createElementVNode("span",R2,e.toDisplayString(e.unref(l)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=C=>n.data.onlyShowPc=C)},null,8,["modelValue"])]),e.createElementVNode("div",v2,[e.createElementVNode("span",j2,e.toDisplayString(e.unref(l)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=C=>n.data.onlyShowMobile=C)},null,8,["modelValue"])]),e.createElementVNode("div",Y2,[e.createElementVNode("p",G2,e.toDisplayString(e.unref(l)("setting.title")),1),e.createVNode(h,{modelValue:n.data.data.title,"onUpdate:modelValue":c[2]||(c[2]=C=>n.data.data.title=C),placeholder:e.unref(l)("setting.input_title"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createElementVNode("p",q2,e.toDisplayString(e.unref(l)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:(B=(k=n.data)==null?void 0:k.data)==null?void 0:B.imgSrc},null,8,K2),e.createElementVNode("div",W2,[e.createVNode(h,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":c[3]||(c[3]=C=>n.data.data.imgSrc=C),placeholder:e.unref(l)("setting.image_link"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createVNode(We,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":c[4]||(c[4]=C=>n.data.data.imgSrc=C),name:"bannerImage"},null,8,["modelValue"])]),e.createElementVNode("div",X2,[e.createElementVNode("div",J2,[e.createElementVNode("p",Z2,e.toDisplayString(e.unref(l)("setting.link")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data.linkList,"onUpdate:modelValue":c[5]||(c[5]=C=>n.data.data.linkList=C),"component-data":{tag:"div",type:"transition-group",name:r.value?null:"flip-list"}},i.value,{disabled:!d(n.data.data.linkList),onStart:c[6]||(c[6]=C=>r.value=!0),onEnd:c[7]||(c[7]=C=>r.value=!1),"item-key":"id"}),{item:e.withCtx(({element:C})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!d(n.data.data.linkList)}]),key:C.id},[e.createElementVNode("div",_2,[d(n.data.data.linkList)?(e.openBlock(),e.createElementBlock("div",$2,[e.createVNode(w,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(E,{class:"btn-delete",onClick:D=>m(n.data.data.linkList,C.id)},null,8,["onClick"])]),e.createVNode(x,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.text),1)]),_:2},1024),e.createElementVNode("div",eC,[e.createVNode(h,{class:"action-text",modelValue:C.text,"onUpdate:modelValue":D=>C.text=D,placeholder:e.unref(l)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(h,{modelValue:C.url,"onUpdate:modelValue":D=>C.url=D,placeholder:e.unref(l)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:c[8]||(c[8]=C=>u(n.data.data.linkList))},[e.createVNode(b),e.createElementVNode("span",tC,e.toDisplayString(e.unref(l)("setting.add_link")),1)])])])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-69b80a10"]]),oC={class:"banner-image__title is-zh"},Rs=te(e.defineComponent({name:"BannerImage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var g;if(o.modelValue&&o.modelValue.data)return;const c={id:((g=o.modelValue)==null?void 0:g.id)||Y(),type:"BannerImage",onlyShowPc:!1,onlyShowMobile:!1,data:{title:a("placeholder.title_here"),imgSrc:"https://osswebsite-test.cedim.cn/ywies-tx/static-images/about-ywies/01_About_YWIES_1_Header.jpg",linkList:[{id:Y(),text:a("placeholder.link_name"),url:""}]}};l("update:modelValue",c)},r=e.computed(()=>{var c,g;return o.isPreview?(c=o.modelValue)!=null&&c.onlyShowPc?!ce():(g=o.modelValue)!=null&&g.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=c=>{l("handlePaste",c)},f=c=>{l("handleClick",c)};return s(),(c,g)=>{var h,w,E,x,b,A,k,B,C;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"banner-image",onMouseenter:g[2]||(g[2]=D=>i.value=!0),onMouseleave:g[3]||(g[3]=D=>i.value=!1)},[e.createElementVNode("div",{class:"banner-image__image",style:e.normalizeStyle({backgroundImage:"url("+((w=(h=n.modelValue)==null?void 0:h.data)==null?void 0:w.imgSrc)+")","background-position":"center"})},[e.createElementVNode("div",oC,e.toDisplayString((x=(E=n.modelValue)==null?void 0:E.data)==null?void 0:x.title),1)],4),(k=(A=(b=n.modelValue)==null?void 0:b.data)==null?void 0:A.linkList)!=null&&k.length?(e.openBlock(),e.createBlock(tf,{key:0,data:(C=(B=n.modelValue)==null?void 0:B.data)==null?void 0:C.linkList,isPreview:n.isPreview,onHandleClick:f},null,8,["data","isPreview"])):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:1,show:i.value,"onUpdate:show":g[0]||(g[0]=D=>i.value=D),locale:n.locale,onHandleEdit:g[1]||(g[1]=D=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],32)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(nC,{key:1,show:d.value,"onUpdate:show":g[4]||(g[4]=D=>d.value=D),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-f49273d8"]]),aC=Object.freeze(Object.defineProperty({__proto__:null,default:Rs},Symbol.toStringTag,{value:"Module"})),lC={class:"setting-header flex items-center mb-10"},iC={class:"header-title"},sC={class:"setting-header flex items-center"},rC={class:"header-title"},dC={class:"setting-content"},cC={class:"item-title"},uC={class:"item-title"},mC=["src"],hC={class:"item-uplaod flex items-center"},fC=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{l("update:show",!1)};return(r,i)=>{const d=e.resolveComponent("a-switch"),u=e.resolveComponent("a-input"),m=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(m,{width:500,visible:n.show,footer:!1,onCancel:s,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(a)("setting.component_edit")),1)]),default:e.withCtx(()=>{var p,f;return[e.createElementVNode("div",lC,[e.createElementVNode("span",iC,e.toDisplayString(e.unref(a)("setting.only_show_pc")),1),e.createVNode(d,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":i[0]||(i[0]=c=>n.data.onlyShowPc=c)},null,8,["modelValue"])]),e.createElementVNode("div",sC,[e.createElementVNode("span",rC,e.toDisplayString(e.unref(a)("setting.only_show_mobile")),1),e.createVNode(d,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":i[1]||(i[1]=c=>n.data.onlyShowMobile=c)},null,8,["modelValue"])]),e.createElementVNode("div",dC,[e.createElementVNode("p",cC,e.toDisplayString(e.unref(a)("setting.title")),1),e.createVNode(u,{modelValue:n.data.data.title,"onUpdate:modelValue":i[2]||(i[2]=c=>n.data.data.title=c),placeholder:e.unref(a)("setting.input_title"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createElementVNode("p",uC,e.toDisplayString(e.unref(a)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:(f=(p=n.data)==null?void 0:p.data)==null?void 0:f.imgSrc},null,8,mC),e.createElementVNode("div",hC,[e.createVNode(u,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":i[3]||(i[3]=c=>n.data.data.imgSrc=c),placeholder:e.unref(a)("setting.image_link"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createVNode(We,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":i[4]||(i[4]=c=>n.data.data.imgSrc=c),name:"BannerPage","button-class":"fit-content"},null,8,["modelValue"])])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-8982f7ec"]]),gC={class:"red"},pC={class:"banner-page__title"},AC={class:"position-absolute triangle-position"},yC={class:"position-relative h-100 banner-strips"},vs=te(e.defineComponent({name:"BannerPage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var c;if(o.modelValue&&o.modelValue.data)return;const f={id:((c=o.modelValue)==null?void 0:c.id)||Y(),type:"BannerPage",onlyShowPc:!1,onlyShowMobile:!1,data:{title:a("placeholder.title_here"),imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg"}};l("update:modelValue",f)},r=e.computed(()=>{var f,c;return o.isPreview?(f=o.modelValue)!=null&&f.onlyShowPc?!ce():(c=o.modelValue)!=null&&c.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=f=>{l("handlePaste",f)};return s(),(f,c)=>{var g,h,w,E;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"banner-page",onMouseenter:c[2]||(c[2]=x=>i.value=!0),onMouseleave:c[3]||(c[3]=x=>i.value=!1)},[e.createElementVNode("div",gC,[e.createElementVNode("p",pC,e.toDisplayString((h=(g=n.modelValue)==null?void 0:g.data)==null?void 0:h.title),1)]),c[6]||(c[6]=e.createElementVNode("div",{class:"orange"},null,-1)),e.createElementVNode("div",AC,[e.createElementVNode("div",yC,[c[5]||(c[5]=e.createElementVNode("img",{src:"https://ywies-tx.cedim.cn/images/material/banner-strips.png",alt:""},null,-1)),e.createElementVNode("div",{class:"triangle",style:e.normalizeStyle({backgroundImage:"url("+((E=(w=n.modelValue)==null?void 0:w.data)==null?void 0:E.imgSrc)+")"}),"data-v-24231ec2":""},null,4)])]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=x=>i.value=x),locale:n.locale,onHandleEdit:c[1]||(c[1]=x=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],32)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fC,{key:1,show:d.value,"onUpdate:show":c[4]||(c[4]=x=>d.value=x),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-9edc0255"]]),wC=Object.freeze(Object.defineProperty({__proto__:null,default:vs},Symbol.toStringTag,{value:"Module"})),CC={class:"setting-content"},bC={class:"setting-header flex items-center mb-10"},EC={class:"header-title"},BC={class:"setting-header flex items-center"},xC={class:"header-title"},kC={class:"setting-header flex items-center"},VC={class:"header-title"},DC={class:"setting-header flex items-center"},SC={class:"header-title"},NC={class:"setting-header flex items-center"},TC={class:"header-title"},PC={class:"setting-body"},IC={class:"setting-item"},MC={class:"item-name"},LC={class:"btn-group"},QC={key:0,class:"drag-handle"},OC={class:"item-action flex items-center"},FC=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:"sc"}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.ref(!1),l=e.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),s=f=>f&&f.length>1,r=n,{t:i}=de(r.locale),d=t,u=()=>{d("update:show",!1)},m=f=>{r.data.data.push({id:Y(),type:f,text:i("placeholder.view_more"),url:void 0})},p=f=>{r.data.data=r.data.data.filter(c=>c.id!==f)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-option"),w=e.resolveComponent("a-select"),E=e.resolveComponent("icon-plus"),x=e.resolveComponent("a-button"),b=e.resolveComponent("a-button-group"),A=e.resolveComponent("icon-drag-arrow"),k=e.resolveComponent("icon-delete"),B=e.resolveComponent("a-input"),C=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(C,{width:500,visible:n.show,footer:!1,onCancel:u,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(i)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",CC,[e.createElementVNode("div",bC,[e.createElementVNode("span",EC,e.toDisplayString(e.unref(i)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=D=>n.data.onlyShowPc=D)},null,8,["modelValue"])]),e.createElementVNode("div",BC,[e.createElementVNode("span",xC,e.toDisplayString(e.unref(i)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=D=>n.data.onlyShowMobile=D)},null,8,["modelValue"])]),e.createElementVNode("div",kC,[e.createElementVNode("span",VC,e.toDisplayString(e.unref(i)("setting.component_width")),1),e.createVNode(w,{modelValue:n.data.width,"onUpdate:modelValue":c[2]||(c[2]=D=>n.data.width=D),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_default")),1)]),_:1}),e.createVNode(h,{value:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_small")),1)]),_:1}),e.createVNode(h,{value:"middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_middle")),1)]),_:1}),e.createVNode(h,{value:"max"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_large")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",DC,[e.createElementVNode("span",SC,e.toDisplayString(e.unref(i)("setting.component_bg")),1),e.createVNode(w,{modelValue:n.data.bgColor,"onUpdate:modelValue":c[3]||(c[3]=D=>n.data.bgColor=D),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_white")),1)]),_:1}),e.createVNode(h,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",NC,[e.createElementVNode("span",TC,e.toDisplayString(e.unref(i)("setting.centered")),1),e.createVNode(w,{modelValue:n.data.center,"onUpdate:modelValue":c[4]||(c[4]=D=>n.data.center=D),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.centered")),1)]),_:1}),e.createVNode(h,{value:!1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_default")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createVNode(b,{type:"primary"},{default:e.withCtx(()=>[e.createVNode(x,{size:"mini",onClick:c[5]||(c[5]=D=>m(""))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_default")),1)]),_:1}),e.createVNode(x,{size:"mini",onClick:c[6]||(c[6]=D=>m("white"))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_white")),1)]),_:1}),e.createVNode(x,{size:"mini",onClick:c[7]||(c[7]=D=>m("light"))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_light")),1)]),_:1}),e.createVNode(x,{size:"mini",onClick:c[8]||(c[8]=D=>m("blue"))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_blue")),1)]),_:1})]),_:1}),e.createElementVNode("div",PC,[e.createElementVNode("div",IC,[e.createElementVNode("p",MC,e.toDisplayString(e.unref(i)("setting.button")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":c[9]||(c[9]=D=>n.data.data=D),"component-data":{tag:"div",type:"transition-group",name:a.value?null:"flip-list"}},l.value,{disabled:!s(n.data.data),onStart:c[10]||(c[10]=D=>a.value=!0),onEnd:c[11]||(c[11]=D=>a.value=!1),"item-key":"id"}),{item:e.withCtx(({element:D})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!s(n.data.data)}]),key:D.id},[e.createElementVNode("div",LC,[s(n.data.data)?(e.openBlock(),e.createElementBlock("div",QC,[e.createVNode(A,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(k,{class:"btn-delete",onClick:I=>p(D.id)},null,8,["onClick"])]),e.createVNode(x,{type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.text),1)]),_:2},1024),e.createElementVNode("div",OC,[e.createVNode(B,{class:"action-text",modelValue:D.text,"onUpdate:modelValue":I=>D.text=I,placeholder:e.unref(i)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(B,{modelValue:D.url,"onUpdate:modelValue":I=>D.url=I,placeholder:e.unref(i)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-6d73045a"]]),UC={class:"btn-list__row"},HC=["href"],zC={class:"btn-primary__text"},RC=["onClick"],vC={class:"btn-primary__text"},nu=te(e.defineComponent({__name:"btnList",props:{list:{},isPreview:{}},emits:["handleClick"],setup(n,{emit:t}){const o=n,a=t,l=s=>{!s||!o.isPreview||(s.startsWith("http")?typeof window<"u"&&window.open(s,"_blank"):a("handleClick",s))};return(s,r)=>(e.openBlock(),e.createElementBlock("div",UC,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.list,i=>(e.openBlock(),e.createElementBlock("div",{class:"btn-list__item",key:i.id},[i.url&&i.url.includes("http")&&n.isPreview?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.url,class:e.normalizeClass(["size-normal btn-primary",[i.type?`btn-primary--${i.type}`:""]])},[e.createElementVNode("div",zC,e.toDisplayString(i.text),1),r[0]||(r[0]=e.createElementVNode("span",{class:"btn-primary__icon"},null,-1))],10,HC)):(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d=>l(i.url||""),class:e.normalizeClass(["size-normal btn-primary",[i.type?`btn-primary--${i.type}`:""]])},[e.createElementVNode("div",vC,e.toDisplayString(i.text),1),r[1]||(r[1]=e.createElementVNode("span",{class:"btn-primary__icon"},null,-1))],10,RC))]))),128))]))}}),[["__scopeId","data-v-d2365405"]]),Ai=te(e.defineComponent({name:"BtnList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste","handleClick"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var g;if(o.modelValue&&o.modelValue.data)return;const c={id:((g=o.modelValue)==null?void 0:g.id)||Y(),type:"BtnList",onlyShowPc:!1,onlyShowMobile:!1,width:"",bgColor:"",center:!0,data:[{id:Y(),type:"",text:a("placeholder.button_name"),url:""},{id:Y(),type:"white",text:a("placeholder.button_name"),url:""},{id:Y(),type:"light",text:a("placeholder.button_name"),url:""},{id:Y(),type:"blue",text:a("placeholder.button_name"),url:""}]};l("update:modelValue",c)},r=e.computed(()=>{var c,g;return o.isPreview?(c=o.modelValue)!=null&&c.onlyShowPc?!ce():(g=o.modelValue)!=null&&g.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=c=>{l("handlePaste",c)},f=c=>{l("handleClick",c)};return s(),(c,g)=>{var h,w,E,x,b;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["btn-list",[((h=n.modelValue)==null?void 0:h.center)&&"center"]]),style:e.normalizeStyle({backgroundColor:((w=n.modelValue)==null?void 0:w.bgColor)||"transparent"}),onMouseenter:g[2]||(g[2]=A=>i.value=!0),onMouseleave:g[3]||(g[3]=A=>i.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["btn-list__container",[(E=n.modelValue)!=null&&E.width?`container-content-${(x=n.modelValue)==null?void 0:x.width}`:"container-content"]])},[e.createVNode(nu,{list:(b=n.modelValue)==null?void 0:b.data,isPreview:n.isPreview,onHandleClick:f},null,8,["list","isPreview"])],2),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":g[0]||(g[0]=A=>i.value=A),locale:n.locale,onHandleEdit:g[1]||(g[1]=A=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],38)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(FC,{key:1,show:d.value,"onUpdate:show":g[4]||(g[4]=A=>d.value=A),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-ae219b0a"]]),jC=Object.freeze(Object.defineProperty({__proto__:null,default:Ai},Symbol.toStringTag,{value:"Module"})),YC={class:"setting-content"},GC={class:"setting-header flex items-center mb-10"},qC={class:"header-title"},KC={class:"setting-header flex items-center"},WC={class:"header-title"},XC={class:"setting-header flex items-center"},JC={class:"header-title"},ZC={class:"setting-header flex items-center"},_C={class:"header-title"},$C={class:"setting-header flex items-center"},eb={class:"header-title"},tb={class:"setting-body"},nb={class:"setting-item"},ob={class:"btn-group"},ab={key:0,class:"drag-handle"},lb={class:"item-title"},ib={class:"item-title"},sb={class:"item-title"},rb=["src"],db={class:"item-uplaod flex items-center"},cb={class:"btn-text"},ub=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.ref(!1),l=e.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),s=f=>f&&f.length>1,r=n,{t:i}=de(r.locale),d=t,u=()=>{d("update:show",!1)},m=()=>{r.data.data.push({id:Y(),title:i("placeholder.title"),subtitle:i("placeholder.subtitle"),imgSrc:void 0,alt:""})},p=f=>{r.data.data=r.data.data.filter(c=>c.id!==f)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-option"),w=e.resolveComponent("a-select"),E=e.resolveComponent("a-input"),x=e.resolveComponent("icon-drag-arrow"),b=e.resolveComponent("icon-delete"),A=e.resolveComponent("icon-plus"),k=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(k,{width:500,visible:n.show,footer:!1,onCancel:u,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(i)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",YC,[e.createElementVNode("div",GC,[e.createElementVNode("span",qC,e.toDisplayString(e.unref(i)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=B=>n.data.onlyShowPc=B)},null,8,["modelValue"])]),e.createElementVNode("div",KC,[e.createElementVNode("span",WC,e.toDisplayString(e.unref(i)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=B=>n.data.onlyShowMobile=B)},null,8,["modelValue"])]),e.createElementVNode("div",XC,[e.createElementVNode("span",JC,e.toDisplayString(e.unref(i)("setting.component_bg")),1),e.createVNode(w,{modelValue:n.data.bgColor,"onUpdate:modelValue":c[2]||(c[2]=B=>n.data.bgColor=B),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_white")),1)]),_:1}),e.createVNode(h,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",ZC,[e.createElementVNode("span",_C,e.toDisplayString(e.unref(i)("setting.pc_columns")),1),e.createVNode(E,{modelValue:n.data.desktopCol,"onUpdate:modelValue":c[3]||(c[3]=B=>n.data.desktopCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",$C,[e.createElementVNode("span",eb,e.toDisplayString(e.unref(i)("setting.mobile_columns")),1),e.createVNode(E,{modelValue:n.data.mobileCol,"onUpdate:modelValue":c[4]||(c[4]=B=>n.data.mobileCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",tb,[e.createElementVNode("div",nb,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":c[5]||(c[5]=B=>n.data.data=B),"component-data":{tag:"div",type:"transition-group",name:a.value?null:"flip-list"}},l.value,{disabled:!s(n.data.data),onStart:c[6]||(c[6]=B=>a.value=!0),onEnd:c[7]||(c[7]=B=>a.value=!1),"item-key":"id"}),{item:e.withCtx(({element:B})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!s(n.data.data)}]),key:B.id},[e.createElementVNode("div",ob,[s(n.data.data)?(e.openBlock(),e.createElementBlock("div",ab,[e.createVNode(x,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(b,{class:"btn-delete",onClick:C=>p(B.id)},null,8,["onClick"])]),e.createElementVNode("p",lb,e.toDisplayString(e.unref(i)("setting.title")),1),e.createVNode(E,{modelValue:B.title,"onUpdate:modelValue":C=>B.title=C,placeholder:e.unref(i)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",ib,e.toDisplayString(e.unref(i)("setting.subtitle")),1),e.createVNode(E,{modelValue:B.subtitle,"onUpdate:modelValue":C=>B.subtitle=C,placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",sb,e.toDisplayString(e.unref(i)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:B.imgSrc},null,8,rb),e.createElementVNode("div",db,[e.createVNode(E,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,placeholder:e.unref(i)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,name:`GalleryDefault_${B.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(E,{class:"mt-2",modelValue:B.alt,"onUpdate:modelValue":C=>B.alt=C,placeholder:e.unref(i)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:c[8]||(c[8]=B=>m())},[e.createVNode(A),e.createElementVNode("span",cb,e.toDisplayString(e.unref(i)("setting.add")),1)])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-2c2c9162"]]),mb={class:"container-content"},hb={class:"gallery-default"},fb={class:"img-wrapper need-mask"},gb=["src","alt"],pb={class:"img-wrapper__content"},Ab={class:"img-wrapper__content__title"},yb={class:"img-wrapper__content__subtitle"},js=te(e.defineComponent({name:"GalleryDefault",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var c;if(o.modelValue&&o.modelValue.data)return;const f={id:((c=o.modelValue)==null?void 0:c.id)||Y(),type:"GalleryDefault",onlyShowPc:!1,onlyShowMobile:!1,bgColor:"",desktopCol:3,mobileCol:2,data:[{id:Y(),title:a("placeholder.title"),subtitle:a("placeholder.subtitle"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:""},{id:Y(),title:a("placeholder.title"),subtitle:a("placeholder.subtitle"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:""}]};l("update:modelValue",f)},r=e.computed(()=>{var f,c;return o.isPreview?(f=o.modelValue)!=null&&f.onlyShowPc?!ce():(c=o.modelValue)!=null&&c.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=f=>{l("handlePaste",f)};return s(),(f,c)=>{var g,h,w,E;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"gallery-list",style:e.normalizeStyle({backgroundColor:((g=n.modelValue)==null?void 0:g.bgColor)||"transparent"}),onMouseenter:c[2]||(c[2]=x=>i.value=!0),onMouseleave:c[3]||(c[3]=x=>i.value=!1)},[e.createElementVNode("div",mb,[e.createElementVNode("div",{class:e.normalizeClass(["default-row row",[`row-cols-${(h=n.modelValue)==null?void 0:h.mobileCol}`,`row-cols-md-${(w=n.modelValue)==null?void 0:w.desktopCol}`]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=n.modelValue)==null?void 0:E.data,x=>(e.openBlock(),e.createElementBlock("div",{key:x.id,class:"col"},[e.createElementVNode("div",hb,[e.createElementVNode("div",fb,[e.createElementVNode("img",{src:x.imgSrc,alt:x.alt},null,8,gb),e.createElementVNode("div",pb,[e.createElementVNode("div",Ab,e.toDisplayString(x.title),1),e.createElementVNode("h5",yb,e.toDisplayString(x.subtitle),1)])])])]))),128))],2)]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=x=>i.value=x),locale:n.locale,onHandleEdit:c[1]||(c[1]=x=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],36)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ub,{key:1,show:d.value,"onUpdate:show":c[4]||(c[4]=x=>d.value=x),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-b84e4b2f"]]),wb=Object.freeze(Object.defineProperty({__proto__:null,default:js},Symbol.toStringTag,{value:"Module"})),Cb={class:"setting-content"},bb={class:"setting-header flex items-center mb-10"},Eb={class:"header-title"},Bb={class:"setting-header flex items-center"},xb={class:"header-title"},kb={class:"setting-header flex items-center"},Vb={class:"header-title"},Db={class:"setting-header flex items-center"},Sb={class:"header-title"},Nb={class:"setting-header flex items-center"},Tb={class:"header-title"},Pb={class:"setting-header flex items-center"},Ib={class:"header-title"},Mb={class:"setting-body"},Lb={class:"setting-item"},Qb={class:"btn-group"},Ob={key:0,class:"drag-handle"},Fb={class:"item-title"},Ub={class:"item-title"},Hb={class:"item-title"},zb=["src"],Rb={class:"item-uplaod flex items-center"},vb={class:"btn-text"},jb=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.ref(!1),l=e.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),s=f=>f&&f.length>1,r=n,{t:i}=de(r.locale),d=t,u=()=>{d("update:show",!1)},m=()=>{r.data.data.push({id:Y(),title:i("placeholder.title"),url:"",imgSrc:void 0,alt:""})},p=f=>{r.data.data=r.data.data.filter(c=>c.id!==f)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-option"),w=e.resolveComponent("a-select"),E=e.resolveComponent("a-input"),x=e.resolveComponent("icon-drag-arrow"),b=e.resolveComponent("icon-delete"),A=e.resolveComponent("icon-plus"),k=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(k,{width:500,visible:n.show,footer:!1,onCancel:u,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(i)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",Cb,[e.createElementVNode("div",bb,[e.createElementVNode("span",Eb,e.toDisplayString(e.unref(i)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=B=>n.data.onlyShowPc=B)},null,8,["modelValue"])]),e.createElementVNode("div",Bb,[e.createElementVNode("span",xb,e.toDisplayString(e.unref(i)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=B=>n.data.onlyShowMobile=B)},null,8,["modelValue"])]),e.createElementVNode("div",kb,[e.createElementVNode("span",Vb,e.toDisplayString(e.unref(i)("setting.component_bg")),1),e.createVNode(w,{modelValue:n.data.bgColor,"onUpdate:modelValue":c[2]||(c[2]=B=>n.data.bgColor=B),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_white")),1)]),_:1}),e.createVNode(h,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",Db,[e.createElementVNode("span",Sb,e.toDisplayString(e.unref(i)("setting.pc_columns")),1),e.createVNode(E,{modelValue:n.data.desktopCol,"onUpdate:modelValue":c[3]||(c[3]=B=>n.data.desktopCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",Nb,[e.createElementVNode("span",Tb,e.toDisplayString(e.unref(i)("setting.mobile_columns")),1),e.createVNode(E,{modelValue:n.data.mobileCol,"onUpdate:modelValue":c[4]||(c[4]=B=>n.data.mobileCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",Pb,[e.createElementVNode("span",Ib,e.toDisplayString(e.unref(i)("setting.centered")),1),e.createVNode(w,{modelValue:n.data.center,"onUpdate:modelValue":c[5]||(c[5]=B=>n.data.center=B),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.centered")),1)]),_:1}),e.createVNode(h,{value:!1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_default")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",Mb,[e.createElementVNode("div",Lb,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":c[6]||(c[6]=B=>n.data.data=B),"component-data":{tag:"div",type:"transition-group",name:a.value?null:"flip-list"}},l.value,{disabled:!s(n.data.data),onStart:c[7]||(c[7]=B=>a.value=!0),onEnd:c[8]||(c[8]=B=>a.value=!1),"item-key":"id"}),{item:e.withCtx(({element:B})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!s(n.data.data)}]),key:B.id},[e.createElementVNode("div",Qb,[s(n.data.data)?(e.openBlock(),e.createElementBlock("div",Ob,[e.createVNode(x,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(b,{class:"btn-delete",onClick:C=>p(B.id)},null,8,["onClick"])]),e.createElementVNode("p",Fb,e.toDisplayString(e.unref(i)("setting.title")),1),e.createVNode(E,{modelValue:B.title,"onUpdate:modelValue":C=>B.title=C,placeholder:e.unref(i)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",Ub,e.toDisplayString(e.unref(i)("setting.link_url")),1),e.createVNode(E,{modelValue:B.url,"onUpdate:modelValue":C=>B.url=C,placeholder:e.unref(i)("setting.input_link_url"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",Hb,e.toDisplayString(e.unref(i)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:B.imgSrc},null,8,zb),e.createElementVNode("div",Rb,[e.createVNode(E,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,placeholder:e.unref(i)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,name:`GalleryCaptionRound_${B.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(E,{class:"mt-2",modelValue:B.alt,"onUpdate:modelValue":C=>B.alt=C,placeholder:e.unref(i)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:c[9]||(c[9]=B=>m())},[e.createVNode(A),e.createElementVNode("span",vb,e.toDisplayString(e.unref(i)("setting.add")),1)])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-68c63b85"]]),Yb={class:"gallery-container gallery-caption-round container-content"},Gb=["href"],qb=["src","alt"],Kb=["onClick"],Wb=["src","alt"],Xb={key:2,class:"gallery-caption__img"},Jb=["src","alt"],Zb=["href"],_b=["onClick"],$b=["innerHTML"],Ys=te(e.defineComponent({name:"GalleryCaptionRound",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste","handleClick"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var g;if(o.modelValue&&o.modelValue.data)return;const c={id:((g=o.modelValue)==null?void 0:g.id)||Y(),type:"GalleryCaptionRound",onlyShowPc:!1,onlyShowMobile:!1,bgColor:"",desktopCol:3,mobileCol:2,center:!1,data:[{id:Y(),title:a("placeholder.title"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",url:""},{id:Y(),title:a("placeholder.title"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",url:""}]};l("update:modelValue",c)},r=e.computed(()=>{var c,g;return o.isPreview?(c=o.modelValue)!=null&&c.onlyShowPc?!ce():(g=o.modelValue)!=null&&g.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=c=>{l("handlePaste",c)},f=c=>{l("handleClick",c)};return s(),(c,g)=>{var h,w,E,x,b;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"gallery-list",style:e.normalizeStyle({backgroundColor:((h=n.modelValue)==null?void 0:h.bgColor)||"transparent"}),onMouseenter:g[2]||(g[2]=A=>i.value=!0),onMouseleave:g[3]||(g[3]=A=>i.value=!1)},[e.createElementVNode("div",Yb,[e.createElementVNode("div",{class:e.normalizeClass(["default-row row",[`row-cols-${(w=n.modelValue)==null?void 0:w.mobileCol}`,`row-cols-md-${(E=n.modelValue)==null?void 0:E.desktopCol}`,((x=n.modelValue)==null?void 0:x.center)&&"row-center"]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((b=n.modelValue)==null?void 0:b.data,A=>(e.openBlock(),e.createElementBlock("div",{key:A.id,class:"col"},[e.createElementVNode("div",{class:e.normalizeClass(["gallery-caption-round gallery-caption",[A.url&&"has-url"]])},[A.url&&A.url.includes("http")&&n.isPreview?(e.openBlock(),e.createElementBlock("a",{key:0,href:A.url,target:"_blank",class:"gallery-caption__img"},[e.createElementVNode("img",{src:A.imgSrc,alt:A.alt},null,8,qb)],8,Gb)):A.url?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:k=>f(A.url),class:"gallery-caption__img"},[e.createElementVNode("img",{src:A.imgSrc,alt:A.alt},null,8,Wb)],8,Kb)):(e.openBlock(),e.createElementBlock("div",Xb,[e.createElementVNode("img",{src:A.imgSrc,alt:A.alt},null,8,Jb)])),A.url&&A.url.includes("http")&&n.isPreview?(e.openBlock(),e.createElementBlock("a",{key:3,href:A.url,target:"_blank",class:"gallery-caption__title tx-subtitle text-blue text-center"},e.toDisplayString(A.title),9,Zb)):A.url?(e.openBlock(),e.createElementBlock("button",{key:4,onClick:k=>f(A.url),class:"gallery-caption__title tx-subtitle text-blue text-center"},e.toDisplayString(A.title),9,_b)):(e.openBlock(),e.createElementBlock("div",{key:5,class:"tx-subtitle text-blue text-center",innerHTML:A.title},null,8,$b))],2)]))),128))],2)]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":g[0]||(g[0]=A=>i.value=A),locale:n.locale,onHandleEdit:g[1]||(g[1]=A=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],36)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(jb,{key:1,show:d.value,"onUpdate:show":g[4]||(g[4]=A=>d.value=A),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-8a997fd0"]]),eE=Object.freeze(Object.defineProperty({__proto__:null,default:Ys},Symbol.toStringTag,{value:"Module"})),tE={class:"setting-content"},nE={class:"setting-header flex items-center mb-10"},oE={class:"header-title"},aE={class:"setting-header flex items-center"},lE={class:"header-title"},iE={class:"setting-header flex items-center"},sE={class:"header-title"},rE={class:"setting-body"},dE={class:"setting-item"},cE={class:"btn-group"},uE={key:0,class:"drag-handle"},mE={class:"item-title"},hE={class:"item-title"},fE={class:"item-title"},gE={class:"item-title"},pE=["src"],AE={class:"item-uplaod flex items-center"},yE={class:"item-action flex items-center"},wE={class:"btn-text"},CE=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>Ut)),l=e.ref(!1),s=e.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),r=c=>c&&c.length>1,i=n,{t:d}=de(i.locale),u=t,m=()=>{u("update:show",!1)},p=()=>{i.data.data.push({id:Y(),title:d("placeholder.title"),text:d("placeholder.content"),date:"",imgSrc:"",alt:"",url:"",btnText:""})},f=c=>{i.data.data=i.data.data.filter(g=>g.id!==c)};return(c,g)=>{const h=e.resolveComponent("a-switch"),w=e.resolveComponent("a-option"),E=e.resolveComponent("a-select"),x=e.resolveComponent("icon-drag-arrow"),b=e.resolveComponent("icon-delete"),A=e.resolveComponent("a-input"),k=e.resolveComponent("a-button"),B=e.resolveComponent("icon-plus"),C=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(C,{width:500,visible:n.show,footer:!1,onCancel:m,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(d)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",tE,[e.createElementVNode("div",nE,[e.createElementVNode("span",oE,e.toDisplayString(e.unref(d)("setting.only_show_pc")),1),e.createVNode(h,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":g[0]||(g[0]=D=>n.data.onlyShowPc=D)},null,8,["modelValue"])]),e.createElementVNode("div",aE,[e.createElementVNode("span",lE,e.toDisplayString(e.unref(d)("setting.only_show_mobile")),1),e.createVNode(h,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":g[1]||(g[1]=D=>n.data.onlyShowMobile=D)},null,8,["modelValue"])]),e.createElementVNode("div",iE,[e.createElementVNode("span",sE,e.toDisplayString(e.unref(d)("setting.component_bg")),1),e.createVNode(E,{modelValue:n.data.bgColor,"onUpdate:modelValue":g[2]||(g[2]=D=>n.data.bgColor=D),placeholder:e.unref(d)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(w,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("setting.bg_white")),1)]),_:1}),e.createVNode(w,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",rE,[e.createElementVNode("div",dE,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":g[3]||(g[3]=D=>n.data.data=D),"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},s.value,{disabled:!r(n.data.data),onStart:g[4]||(g[4]=D=>l.value=!0),onEnd:g[5]||(g[5]=D=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:D})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!r(n.data.data)}]),key:D.id},[e.createElementVNode("div",cE,[r(n.data.data)?(e.openBlock(),e.createElementBlock("div",uE,[e.createVNode(x,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(b,{class:"btn-delete",onClick:I=>f(D.id)},null,8,["onClick"])]),e.createElementVNode("p",mE,e.toDisplayString(e.unref(d)("setting.title")),1),e.createVNode(A,{modelValue:D.title,"onUpdate:modelValue":I=>D.title=I,placeholder:e.unref(d)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",hE,e.toDisplayString(e.unref(d)("setting.button_text")),1),e.createVNode(e.unref(a),{modelValue:D.text,"onUpdate:modelValue":I=>D.text=I,name:`GalleryTimeline_editor_${D.id}`},null,8,["modelValue","onUpdate:modelValue","name"]),e.createElementVNode("p",fE,e.toDisplayString(e.unref(d)("setting.date")),1),e.createVNode(A,{modelValue:D.date,"onUpdate:modelValue":I=>D.date=I,placeholder:e.unref(d)("setting.date"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",gE,e.toDisplayString(e.unref(d)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:D.imgSrc},null,8,pE),e.createElementVNode("div",AE,[e.createVNode(A,{modelValue:D.imgSrc,"onUpdate:modelValue":I=>D.imgSrc=I,placeholder:e.unref(d)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:D.imgSrc,"onUpdate:modelValue":I=>D.imgSrc=I,name:`GalleryTimeline_${D.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(A,{class:"mt-2",modelValue:D.alt,"onUpdate:modelValue":I=>D.alt=I,placeholder:e.unref(d)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(k,{style:{"margin-top":"10px"},type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.btnText),1)]),_:2},1024),e.createElementVNode("div",yE,[e.createVNode(A,{class:"action-text",modelValue:D.btnText,"onUpdate:modelValue":I=>D.btnText=I,placeholder:e.unref(d)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(A,{modelValue:D.url,"onUpdate:modelValue":I=>D.url=I,placeholder:e.unref(d)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:g[6]||(g[6]=D=>p())},[e.createVNode(B),e.createElementVNode("span",wE,e.toDisplayString(e.unref(d)("setting.add")),1)])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-138e9836"]]),Pa=e.defineComponent({name:"ScrollBar",__name:"index",props:{hideScrollbar:{type:Boolean,default:!1},light:{type:Boolean,default:!1}},setup(n){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["scroll-bar",{"scroll-bar--is-light":n.light}])},[n.hideScrollbar?e.renderSlot(t.$slots,"default",{key:1}):(e.openBlock(),e.createBlock(e.unref(dl),{key:0,"data-simplebar-auto-hide":"false",class:"simple-bar"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))],2))}});function bE(n,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}function EE(n,t,o){return t&&bE(n.prototype,t),n}/*!
1
+ (function(le,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("simplebar-vue"),require("gsap"),require("swiper/vue"),require("swiper/modules"),require("@splidejs/vue-splide"),require("@wangeditor/editor-for-vue"),require("@wangeditor/editor")):typeof define=="function"&&define.amd?define(["exports","vue","simplebar-vue","gsap","swiper/vue","swiper/modules","@splidejs/vue-splide","@wangeditor/editor-for-vue","@wangeditor/editor"],e):(le=typeof globalThis<"u"?globalThis:le||self,e(le.OfficialBlock={},le.Vue,le.SimplebarVue,le.gsap,le.SwiperVue,le.SwiperModules,le.VueSplide,le.WangEditorVue,le.WangEditor))})(this,function(le,e,dl,Hs,kt,gt,qh,Kh,Wh){"use strict";var whe=Object.defineProperty;var Che=(le,e,dl)=>e in le?whe(le,e,{enumerable:!0,configurable:!0,writable:!0,value:dl}):le[e]=dl;var la=(le,e,dl)=>Che(le,typeof e!="symbol"?e+"":e,dl);const Bn={width:e.ref(0),scrollY:e.ref(0),offsetBottom:e.ref(0)},Xh=()=>typeof window<"u"?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:0,_c=()=>typeof window<"u"?Math.round(window.pageYOffset):0,$c=()=>typeof window<"u"?Math.round(document.documentElement.offsetHeight-window.pageYOffset-window.innerHeight):0,Jh=()=>{Bn.width.value=Xh(),Bn.scrollY.value=_c(),Bn.offsetBottom.value=$c()};let eu;const Zh=()=>{clearTimeout(eu),eu=setTimeout(Jh,100)},_h=()=>{Bn.scrollY.value=_c(),Bn.offsetBottom.value=$c()};function $y(){const n=e.computed(()=>Bn.width.value),t=e.computed(()=>Bn.scrollY.value),o=e.computed(()=>Bn.offsetBottom.value);return{$_vsWidth:n,$_vsScrollY:t,$_vsOffsetBottom:o,getScreenWidth:Xh,getScreenScrollY:_c,getScreenOffsetBottom:$c}}const $h={install(n){Jh(),typeof window<"u"&&(window.addEventListener("resize",Zh,{passive:!0}),window.addEventListener("scroll",_h,{passive:!0})),n.config.globalProperties.$_vsWidth=e.computed(()=>Bn.width.value),n.config.globalProperties.$_vsScrollY=e.computed(()=>Bn.scrollY.value),n.config.globalProperties.$_vsOffsetBottom=e.computed(()=>Bn.offsetBottom.value),n.provide("vueScreen",{$_vsWidth:e.computed(()=>Bn.width.value),$_vsScrollY:e.computed(()=>Bn.scrollY.value),$_vsOffsetBottom:e.computed(()=>Bn.offsetBottom.value)});const t=n.unmount;n.unmount=function(){typeof window<"u"&&(window.removeEventListener("resize",Zh),window.removeEventListener("scroll",_h),clearTimeout(eu)),t&&t.call(this)}}},ef={sc:{donation:{school:"学校",latest_attending_institute:"最后修读的学校",graduation_or_year_left:"毕业/离校年份 (如适用)",wrong_format:"请输入正确的格式",add_school:"添加学校",is_required:"此为必填项",customized_amount:"其他金额",enter_valid_amount:"请输入有效金额",first_name:"名字",last_name:"姓氏",please_input:"请输入",postcode_0000:"邮政编码(如果不适用则为 00000)",chinese_name:"中文姓名(选填)",other:"其他",next:"下一步",confirm_donate:"确认并捐赠",fundraising_programmes:"筹款项目",priority_areas:"优先受惠范围",donation_reference:"参考编号",donation_designated_to:"捐款意向",amount:"金额",payment_method:"捐款方式",identity:"捐款人身份",salutation:"称谓",full_name:"全名(与捐款收据一致)",affiliation:"关系",email:"电邮",phone:"电话",mailing_address:"通讯地址",acknowledgement:"捐款答谢",acknowledgement_public:"我同意机构把我的姓名铭志于捐款芳名录。(捐款金额不会公开)",acknowledgement_private:"我希望以「无名氏」名义捐款。",method_card:"网上捐款, Visa/万事达卡",method_unionpay:"网上捐款, 银联",method_offline:"离线捐款, 支票/银行转账捐款",donation_individual_donor:"个人捐款",donation_organisation_donor:"机构捐款",donation_issue_title:"若在捐款过程中出现任何问题",donation_issue_text:'在香港或海外的捐赠者,请发送邮件至 <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a> 联系老明思女士<br />在中国内地的捐赠者,请发送邮件至 <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a> 联系赵秋婉女士'},program:{date_of_attendance:"出席日期",application_reference:"参考编号",from:"从",to:"到"},enquiry:{enquiry_information_form:"查询信息表",would_like_to_know_more:"我想了解更多(可以选择多个)",leave_your_contact:"请留下您的联系方式,以便我们保持联系(酌情选择一项)",do_not_consent:"我不同意耀中幼教学院使用我的个人资料进行直接营销。",bottom_text:"<p>*必填项<br />您的所有数据都是严格保密的,用于学院的管理、沟通和营销目的,例如 大学新闻、活动和计划。 学院不会向外界透露任何个人信息。</p>",school_college_university:"学校/学院/大学",question:"问题",i_want_to_ask:"我想问...",parent:"家长",student:"学生",other:"其他(请注明)",graduation_year:"毕业年",enquiry_content:"查询内容"},register:{name:"姓名",your_name:"你的名字",you_are:"你是",contact_number:"联系电话",email:"电邮",school_name_organization:"学校名称/组织",parent:"家长",alumni:"校友",student:"学生",faculty_staff:"教学人员/行政人员",others:"其他",please_choose:"请选择",affiliation:"与我们的联系",title:"注册表单",check_text:"我同意接收来自官方的直接营销信息",notice:"注意:请勿在表单中填写任何个人身份信息,如身份证号、护照号等。"},blessing:{blessing_to_ycyw:"祝福YCYW",your_message:"你的留言",your_message_placeholder:"我想说...",characters:"字符长度",upload_photo:"上传照片",files_supported_image:"支持的文件: jpg and png",drag_drop_placeholder:"将你的文件拖放到此处或 <b>选择文件</b>",maximum_size:"最大尺寸",blessing_message_to_ycyw:"给YCYW的祝福信息",thank_you:"感谢您",blessing_thank_you:"让您的祝福泛动着涟漪。助推教育,点燃希望",blessing_button:"阅读更多"},error:{page_not_found:"未能找到页面",error_title:"Oops!",error_text:"对不起,你要找的页面不存在。",see_also:"继续访问:",home_page:"首页"},time:{days:"日",hours:"小时",minutes:"分钟",seconds:"秒"},btn:{read:"阅读",profile:"简介",read_story:"阅读故事",filters:"筛选",print:"列印",watch_full_video:"观看完整视频",go_back:"返回上一頁",top:"往上",prevArticle:"上一篇",nextArticle:"下一篇",visit_school_website:"访问学校网页",read_more:"了解更多",load_more:"更多",learn_more:"了解更多",all_years:"所有年份",submit:"提交",confirm:"确认",submit_success:"提交成功",submit_fail:"提交失败",previous_post:"上一个",next_post:"下一个",view_more:"了解更多",confirm_and_submit:"确认并提交",close:"关闭"},text:{explore_next:"更多",search:"搜索...",cancel:"取消",drag_hint:"拖动以查看更多学校",all:"全部",title:"标题",on_page:"内容",see_more:"更多",see_less:"收合",all_region:"所有地区",no_result_for:'没有"%query%"的搜索结果',result_text:'%number%个"%query%"的搜索结果',looking_for_something_else:"想搜索其他内容?",tel:"电话",fax:"传真",email:"电邮",fee:"费用"},story:{result_text:'%number%个"%query%"的搜索结果'},article:{news_n_publications:"新闻及刊物",news:"新闻",alumni:"校友会",alumni_community:"校友会",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"前往 {locale}",error_alternative_locale_text:"此文章暂时没有{locale},但您先可以浏览其他语言。"},setting:{component_edit:"组件编辑",only_show_pc:"仅在PC端显示",only_show_mobile:"仅在移动端显示",component_width:"组件宽度",component_bg:"组件背景",sub_component:"子组件",sub_component_attr:"子组件属性",width_default:"默认",width_small:"小",width_middle:"中",width_large:"大",bg_white:"白色",bg_grey:"灰色",please_select:"请选择",please_input:"请输入",title:"标题",subtitle:"子标题",content:"内容",image:"图片",image_link:"请输入图片链接",image_alt:"图片alt",link:"链接",link_name:"链接名称",link_url:"链接地址",is_external:"是否外部链接",button_text:"按钮文本",button_link:"按钮链接",api_address:"接口地址",default_api:"默认接口地址",add:"添加",add_tab:"添加 Tab",paste_tab:"粘贴 Tab",copy_tab:"复制 Tab",tab_name:"Tab名称",no_data:"暂无数据",name:"名称",description:"描述",video_url:"视频地址",video_cover:"视频封面",height:"高度",pc_columns:"PC列数",mobile_columns:"移动端列数",rows:"行数",type:"类型",yes:"是",no:"否",table_header:"表格头部",add_row:"新增",section:"章节",label:"标签",preview:"预览",size:"尺寸",position:"位置",component_type:"组件类型",open_first:"打开第一个",school_logo:"学校logo",button:"按钮",show_underline:"下划线",big_title:"大标题",form_name:"表单名称",consent_checkbox:"同意复选框文本",consent_notice:"同意通知",submit_api:"提交api",select_icon:"请选择图标",add_icon:"添加icon",add_link:"添加链接",link_type:"链接类型",external_link:"外部链接",photo:"照片",desktop_columns:"桌面显示的列数",mobile_display_columns:"移动端显示的列数",bg_preset:"背景预设",bg_color:"背景颜色",school_category:"学校类别",article_category:"文章类别",map_image:"地图图片",show_x:"显示X坐标",show_y:"显示Y坐标",date:"日期",url:"网址",pc_height:"PC高度",mobile_height:"移动端高度",spacing:"间距设置",tab_start_spacing:"制表符起始间距",section_spacing:"部分间距",component_spacing:"组件间距",link_spacing:"链接间距",page_end_spacing:"页末间距",event_code:"Event Code",contact_person:"联系人",input_title:"请输入标题",table_row:"表格行",table_data:"表格数据",paragraph:"段落",add_paragraph:"添加段落",add_component:"添加组件",component:"组件",category:"分类",add_category:"添加分类",category_name:"分类名称",image_caption:"图片描述",add_image:"添加图片",image_group:"图片组",video:"视频",is_round:"圆角",btn_default:"默认按钮",btn_white:"白色按钮",btn_light:"亮色按钮",btn_blue:"蓝色按钮",add_button:"添加按钮",input_url:"请输入网址",input_link_url:"请输入链接地址",input_subtitle:"请输入副标题",input_name:"请输入名称",input_label:"请输入标签",input_content:"请输入内容",input_html:"请输入html内容",input_video_url:"请输入视频链接",input_article_category:"请输入文章类别",input_text:"请输入text",input_key:"请输入key",select_link_type:"请选择链接类型",prepend:"前置",append:"追加",label_name:"标签名称",link_text:"链接文本",link_list:"链接列表",add_text:"添加text",add_section:"添加章节",add_social_link:"添加社交链接",show_year_select:"显示年份选择",translation:"翻译",campus:"校区",marker:"标记",marker_x:"标记X坐标",marker_y:"标记Y坐标",detail_popup_position:"详情弹出位置",left:"左",right:"右",normal_item:"普通项目",article_item:"文章项目",circle_link:"圆链接",text_link:"文字链接",is_light:"是否亮色",subtitle2:"第二个子标题",subject:"题目",unique_id:"唯一标识",more:"更多",left_title:"左侧标题",right_title:"右侧标题",image_alt_label:"图片alt",quote:"引言",input_form_name:"请输入表单名称",input_event_code:"请输入 Event Code (Key)",input_consent_checkbox:"请输入同意复选框文本",input_consent_notice:"请输入同意通知",input_submit_api:"请输入提交 API",input_subtitle2:"请输入第二个子标题",input_quote:"请输入引言",input_image_alt:"请输入图片 Alt",input_unique_id:"请输入唯一标识",select_button_type:"请选择按钮类型",select_icon_size:"请选择图标大小",close:"关闭",input_label_name:"请输入标签名称",at_least_3_items:"至少保留3个项目",phone:"手机号码",email:"邮箱",alt_text:"图片替代文本"},operate:{copy:"复制",delete:"删除",edit:"编辑",paste_above:"向上粘贴",paste_below:"向下粘贴",click_upload:"点击上传"},sort:{most_recent:"最新",past_month:"上月",past_year:"去年"},placeholder:{title_here:"这里是标题",html_content:"这里是html内容",link_name:"链接名称",input_html:"请输入html内容",subtitle_here:"这里是副标题",description_here:"这里是描述",detail_here:"这里是详情",label_here:"这里是标签",content_here:"这里是内容",name_here:"这里是名称",text_here:"这里是文本",article_title_here:"这里是文章标题",article_content_here:"这里是文章内容",quote_demo_text:"<h2>耀中耀华</h2><ul><li>与科技结盟</li><li>与文艺结盟</li><li>与仁爱结盟</li></ul>",title:"标题",subtitle:"副标题",content:"内容",description:"描述",name:"名称",label:"标签",button:"按钮",button_name:"按钮名称",learn_more:"了解更多",view_more:"查看更多",title_1:"标题1",title_2:"标题2",title_3:"标题3",title_here_1:"这里是标题1",title_here_2:"这里是标题2",title_here_3:"这里是标题3",this_is_title:"这是标题",this_is_subtitle:"这是副标题",this_is_content:"这是内容",this_is_description:"这是描述",this_is_image_caption:"这是图片描述",please_input:"请输入",please_input_content:"请输入内容...",quote_here:"这里是引言"}},en:{donation:{school:"School",latest_attending_institute:"Latest Attending Institute",graduation_or_year_left:"Graduation or Year left (optional)",wrong_format:"Please enter a valid format",add_school:"Add School",is_required:"This is required",customized_amount:"Other Amount",enter_valid_amount:"Please enter a valid amount",first_name:"Given Name",last_name:"Surname",please_input:"Please input",postcode_0000:"Postal code (00000 if not available)",chinese_name:"Chinese Name (optional)",other:"Other",next:"Next",confirm_donate:"Confirm & Donate",fundraising_programmes:"Fundraising Programmes",priority_areas:"Priority areas",donation_reference:"Donation reference",donation_designated_to:"Donation designated to",amount:"Amount",payment_method:"Payment Method",identity:"Identity",salutation:"Salutation",full_name:"Full Name (as appeared on tax receipts)",affiliation:"Affiliation",email:"Email",phone:"Phone",mailing_address:"Mailing Address",acknowledgement:"Acknowledgement",acknowledgement_public:"I am happy to be included in the published list of donors (donation amount will not be featured)",acknowledgement_private:"I wish to make my donation anonymously",method_card:"Online, Visa/MasterCard",method_unionpay:"Online, UnionPay",method_offline:"Offline, Cheque/Bank Transfer",donation_individual_donor:"Individual Donor",donation_organisation_donor:"Organisation Donor",donation_issue_title:"If you encountered any issues during the payment process",donation_issue_text:'For donors based in Hong Kong and overseas, please contact Ms Josephine Lo at <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a><br />For donors based in Mainland China, please contact Ms Rachel Zhao at <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a>'},program:{date_of_attendance:"Date of Attendance",application_reference:"Application reference no",from:"From",to:"To"},enquiry:{enquiry_information_form:"Enquiry Information Form",would_like_to_know_more:"I would like to know more about (may choose more than one)",leave_your_contact:"Please leave your contact information so we could keep in touch (select one as appropriate)",do_not_consent:"I DO NOT CONSENT to the use of my personal data by Yew Chung College of Early Childhood Education for direct marketing.",bottom_text:"<p>*Compulsory field<br />All your data are strictly confidential and for the College's administration, communication and marketing purposes, e.g. College news, activities and programmes. The College will not disclose any personal information to external parties.</p>",school_college_university:"School/College/University",question:"Question",i_want_to_ask:"I want to ask...",parent:"Parent",student:"Student",other:"Others (Please specify)",graduation_year:"Graduation Year",enquiry_content:"Enquiry Content"},register:{name:"Name",your_name:"Your Name",you_are:"You are",contact_number:"Contact number",email:"Email",school_name_organization:"School Name / Organization",parent:"Parent",alumni:"Alumni",student:"Student",faculty_staff:"Faculty / Staff",others:"Others",please_choose:"Please choose",affiliation:"Affiliation",title:"Register Form",check_text:"I agree to receive direct marketing information from Yew Chung College of Early Childhood Education",notice:"Note: Please do not fill in any personal identification information, such as ID card number, passport number, etc., in the form."},blessing:{blessing_to_ycyw:"Blessing To YCYW",your_message:"Your Message",your_message_placeholder:"I want to say...",characters:"Characters",upload_photo:"Upload Photo",files_supported_image:"Files Supported: jpg and png",drag_drop_placeholder:"Drag and drop your file here or <b>choose file</b>",maximum_size:"Maximum Size",blessing_message_to_ycyw:"Blessing message to YCYW",thank_you:"Thank you",blessing_thank_you:"Amplify the impact of your blessing. Be the fuel behind our education powerhouse.",blessing_button:"Read More"},error:{page_not_found:"Page not found",error_title:"Oops!",error_text:"Sorry, the page you're looking for doesn't exist.",see_also:"SEE ALSO:",home_page:"Home Page"},time:{days:"DAYS",hours:"HOURS",minutes:"MINUTES",seconds:"SECONDS"},btn:{read:"Read",profile:"Profile",read_story:"Read Story",filters:"Filters",print:"Print",watch_full_video:"Watch Full Video",go_back:"Go Back",top:"Top",prevArticle:"Previous",nextArticle:"Next",visit_school_website:"Visit School website",read_more:"Read More",load_more:"Load More",learn_more:"Learn More",all_years:"All Years",submit:"Submit",confirm:"Confirm",submit_success:"Submitted successfully",submit_fail:"Submission Failed",previous_post:"Previous post",next_post:"Next post",view_more:"View more",confirm_and_submit:"Confirm & Submit",close:"Close"},text:{explore_next:"More",search:"Search...",cancel:"Cancel",drag_hint:"Drag to discover more schools",all:"All",title:"Title",on_page:"On page",see_more:"See More",see_less:"See Less",all_region:"All Regions",no_result_for:'No results for "%query%"',result_text:'%number% results for "%query%"',looking_for_something_else:"Looking for something else?",tel:"Tel",fax:"Fax",email:"Email",fee:"Fee"},story:{result_text:'%number% results for "%query%"'},article:{news_n_publications:"news & publications",news:"news",alumni:"alumni",alumni_community:"alumni community",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"Go to {locale}",error_alternative_locale_text:"This article doesn't have {locale}, but is available in another locales."},setting:{component_edit:"Component Edit",only_show_pc:"PC Only",only_show_mobile:"Mobile Only",component_width:"Component Width",component_bg:"Component Background",sub_component:"Sub Component",sub_component_attr:"Sub Component Attributes",width_default:"Default",width_small:"Small",width_middle:"Medium",width_large:"Large",bg_white:"White",bg_grey:"Grey",please_select:"Please select",please_input:"Please input",title:"Title",subtitle:"Subtitle",content:"Content",image:"Image",image_link:"Please enter image link",image_alt:"Image alt",link:"Link",link_name:"Link Name",link_url:"Link URL",is_external:"External Link",button_text:"Button Text",button_link:"Button Link",api_address:"API Address",default_api:"Default API Address",add:"Add",add_tab:"Add Tab",paste_tab:"Paste Tab",copy_tab:"Copy Tab",tab_name:"Tab Name",no_data:"No Data",name:"Name",description:"Description",video_url:"Video URL",video_cover:"Video Cover",height:"Height",pc_columns:"PC Columns",mobile_columns:"Mobile Columns",rows:"Rows",type:"Type",yes:"Yes",no:"No",table_header:"Table Header",add_row:"Add Row",section:"Section",label:"Label",preview:"Preview",size:"Size",position:"Position",component_type:"Component Type",open_first:"Open First",school_logo:"School Logo",button:"Button",show_underline:"Show Underline",big_title:"Big Title",form_name:"Form Name",consent_checkbox:"Consent Checkbox Text",consent_notice:"Consent Notice",submit_api:"Submit API",select_icon:"Select Icon",add_icon:"Add Icon",add_link:"Add Link",link_type:"Link Type",external_link:"External Link",photo:"Photo",desktop_columns:"Desktop Columns",mobile_display_columns:"Mobile Display Columns",bg_preset:"Background Preset",bg_color:"Background Color",school_category:"School Category",article_category:"Article Category",map_image:"Map Image",show_x:"Show X",show_y:"Show Y",date:"Date",url:"URL",pc_height:"PC Height",mobile_height:"Mobile Height",spacing:"Spacing",tab_start_spacing:"Tab Start Spacing",section_spacing:"Section Spacing",component_spacing:"Component Spacing",link_spacing:"Link Spacing",page_end_spacing:"Page End Spacing",event_code:"Event Code",contact_person:"Contact Person",input_title:"Please enter title",table_row:"Table Row",table_data:"Table Data",paragraph:"Paragraph",add_paragraph:"Add Paragraph",add_component:"Add Component",component:"Component",category:"Category",add_category:"Add Category",category_name:"Category Name",image_caption:"Image Caption",add_image:"Add Image",image_group:"Image Group",video:"Video",is_round:"Rounded",btn_default:"Default Button",btn_white:"White Button",btn_light:"Light Button",btn_blue:"Blue Button",add_button:"Add Button",input_url:"Please enter URL",input_link_url:"Please enter link URL",input_subtitle:"Please enter subtitle",input_name:"Please enter name",input_label:"Please enter label",input_content:"Please enter content",input_html:"Please enter HTML content",input_video_url:"Please enter video URL",input_article_category:"Please enter article category",input_text:"Please enter text",input_key:"Please enter key",select_link_type:"Please select link type",prepend:"Prepend",append:"Append",label_name:"Label Name",link_text:"Link Text",link_list:"Link List",add_text:"Add Text",add_section:"Add Section",add_social_link:"Add Social Link",show_year_select:"Show Year Select",translation:"Translation",campus:"Campus",marker:"Marker",marker_x:"Marker X",marker_y:"Marker Y",detail_popup_position:"Detail Popup Position",left:"Left",right:"Right",normal_item:"Normal Item",article_item:"Article Item",circle_link:"Circle Link",text_link:"Text Link",is_light:"Light Style",subtitle2:"Second Subtitle",subject:"Subject",unique_id:"Unique ID",more:"More",left_title:"Left Title",right_title:"Right Title",image_alt_label:"Image Alt",quote:"Quote",input_form_name:"Please enter form name",input_event_code:"Please enter Event Code (Key)",input_consent_checkbox:"Please enter consent checkbox text",input_consent_notice:"Please enter consent notice",input_submit_api:"Please enter submit API",input_subtitle2:"Please enter second subtitle",input_quote:"Please enter quote",input_image_alt:"Please enter image alt",input_unique_id:"Please enter unique ID",select_button_type:"Please select button type",select_icon_size:"Please select icon size",close:"Close",input_label_name:"Please enter label name",at_least_3_items:"At least 3 items must be kept",phone:"Phone",email:"Email",alt_text:"Image Alt Text"},operate:{copy:"Copy",delete:"Delete",edit:"Edit",paste_above:"Paste Above",paste_below:"Paste Below",click_upload:"Click to Upload"},sort:{most_recent:"Most Recent",past_month:"Past Month",past_year:"Past Year"},placeholder:{title_here:"Title here",html_content:"HTML content here",link_name:"Link name",input_html:"Please enter HTML content",subtitle_here:"Subtitle here",description_here:"Description here",detail_here:"Detail here",label_here:"Label here",content_here:"Content here",name_here:"Name here",text_here:"Text here",article_title_here:"Article title here",article_content_here:"Article content here",quote_demo_text:"<h2>YCYW</h2><ul><li>Aligned with Technology</li><li>Aligned with Arts</li><li>Aligned with Compassion</li></ul>",title:"Title",subtitle:"Subtitle",content:"Content",description:"Description",name:"Name",label:"Label",button:"Button",button_name:"Button Name",learn_more:"Learn More",view_more:"View More",title_1:"Title 1",title_2:"Title 2",title_3:"Title 3",title_here_1:"Title here 1",title_here_2:"Title here 2",title_here_3:"Title here 3",this_is_title:"This is a title",this_is_subtitle:"This is a subtitle",this_is_content:"This is the content",this_is_description:"This is the description",this_is_image_caption:"This is the image caption",please_input:"Please input",please_input_content:"Please input content...",quote_here:"Quote here"}},de:{donation:{school:"School",latest_attending_institute:"Latest Attending Institute",graduation_or_year_left:"Graduation or Year left (optional)",wrong_format:"Please enter a valid format",add_school:"Add School",is_required:"This is required",customized_amount:"Other Amount",enter_valid_amount:"Please enter a valid amount",first_name:"Given Name",last_name:"Surname",please_input:"Please input",postcode_0000:"Postal code (00000 if not available)",chinese_name:"Chinese Name (optional)",other:"Other",next:"Next",confirm_donate:"Confirm & Donate",fundraising_programmes:"Fundraising Programmes",priority_areas:"Priority areas",donation_reference:"Donation reference",donation_designated_to:"Donation designated to",amount:"Amount",payment_method:"Payment Method",identity:"Identity",salutation:"Salutation",full_name:"Full Name (as appeared on tax receipts)",affiliation:"Affiliation",email:"Email",phone:"Phone",mailing_address:"Mailing Address",acknowledgement:"Acknowledgement",acknowledgement_public:"I am happy to be included in the published list of donors (donation amount will not be featured)",acknowledgement_private:"I wish to make my donation anonymously",method_card:"Online, Visa/MasterCard",method_unionpay:"Online, UnionPay",method_offline:"Offline, Cheque/Bank Transfer",donation_individual_donor:"Individual Donor",donation_organisation_donor:"Organisation Donor",donation_issue_title:"If you encountered any issues during the payment process",donation_issue_text:'For donors based in Hong Kong and overseas, please contact Ms Josephine Lo at <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a><br />For donors based in Mainland China, please contact Ms Rachel Zhao at <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a>'},program:{date_of_attendance:"Date of Attendance",application_reference:"Application reference no",from:"From",to:"To"},enquiry:{enquiry_information_form:"Enquiry Information Form",would_like_to_know_more:"I would like to know more about (may choose more than one)",leave_your_contact:"Please leave your contact information so we could keep in touch (select one as appropriate)",do_not_consent:"I DO NOT CONSENT to the use of my personal data by Yew Chung College of Early Childhood Education for direct marketing.",bottom_text:"<p>*Compulsory field<br />All your data are strictly confidential and for the College's administration, communication and marketing purposes, e.g. College news, activities and programmes. The College will not disclose any personal information to external parties.</p>",school_college_university:"School/College/University",question:"Question",i_want_to_ask:"I want to ask...",parent:"Parent",student:"Student",other:"Others (Please specify)",graduation_year:"Graduation Year",enquiry_content:"Enquiry Content"},register:{name:"Name",your_name:"Your Name",you_are:"You are",contact_number:"Contact number",email:"Email",school_name_organization:"School Name / Organization",parent:"Parent",alumni:"Alumni",student:"Student",faculty_staff:"Faculty / Staff",others:"Others",please_choose:"Please choose",affiliation:"Affiliation",title:"Register Form",check_text:"I agree to receive direct marketing information from Yew Chung College of Early Childhood Education",notice:"Note: Please do not fill in any personal identification information, such as ID card number, passport number, etc., in the form."},blessing:{blessing_to_ycyw:"Blessing To YCYW",your_message:"Your Message",your_message_placeholder:"I want to say...",characters:"Characters",upload_photo:"Upload Photo",files_supported_image:"Files Supported: jpg and png",drag_drop_placeholder:"Drag and drop your file here or <b>choose file</b>",maximum_size:"Maximum Size",blessing_message_to_ycyw:"Blessing message to YCYW",thank_you:"Thank you",blessing_thank_you:"Amplify the impact of your blessing. Be the fuel behind our education powerhouse.",blessing_button:"Read More"},error:{page_not_found:"Page not found",error_title:"Oops!",error_text:"Sorry, the page you're looking for doesn't exist.",see_also:"SEE ALSO:",home_page:"Home Page"},time:{days:"DAYS",hours:"HOURS",minutes:"MINUTES",seconds:"SECONDS"},btn:{read:"Read",profile:"Profile",read_story:"Read Story",filters:"Filters",print:"Print",watch_full_video:"Watch Full Video",go_back:"Go Back",top:"Top",prevArticle:"Previous",nextArticle:"Next",visit_school_website:"Visit School website",read_more:"Read More",load_more:"Load More",learn_more:"Learn More",all_years:"All Years",submit:"Submit",confirm:"Confirm",submit_success:"Submitted successfully",submit_fail:"Submission Failed",previous_post:"Previous post",next_post:"Next post",view_more:"View more",confirm_and_submit:"Confirm & Submit",close:"Close"},text:{explore_next:"More",search:"Search...",cancel:"Cancel",drag_hint:"Drag to discover more schools",all:"All",title:"Title",on_page:"On page",see_more:"See More",see_less:"See Less",all_region:"All Regions",no_result_for:'No results for "%query%"',result_text:'%number% results for "%query%"',looking_for_something_else:"Looking for something else?",tel:"Tel",fax:"Fax",email:"Email",fee:"Fee"},story:{result_text:'%number% results for "%query%"'},article:{news_n_publications:"news & publications",news:"news",alumni:"alumni",alumni_community:"alumni community",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"Go to {locale}",error_alternative_locale_text:"This article doesn't have {locale}, but is available in another locales."},setting:{component_edit:"Component Edit",only_show_pc:"PC Only",only_show_mobile:"Mobile Only",component_width:"Component Width",component_bg:"Component Background",sub_component:"Sub Component",sub_component_attr:"Sub Component Attributes",width_default:"Default",width_small:"Small",width_middle:"Medium",width_large:"Large",bg_white:"White",bg_grey:"Grey",please_select:"Please select",please_input:"Please input",title:"Title",subtitle:"Subtitle",content:"Content",image:"Image",image_link:"Please enter image link",image_alt:"Image alt",link:"Link",link_name:"Link Name",link_url:"Link URL",is_external:"External Link",button_text:"Button Text",button_link:"Button Link",api_address:"API Address",default_api:"Default API Address",add:"Add",add_tab:"Add Tab",paste_tab:"Paste Tab",copy_tab:"Copy Tab",tab_name:"Tab Name",no_data:"No Data",name:"Name",description:"Description",video_url:"Video URL",video_cover:"Video Cover",height:"Height",pc_columns:"PC Columns",mobile_columns:"Mobile Columns",rows:"Rows",type:"Type",yes:"Yes",no:"No",table_header:"Table Header",add_row:"Add Row",section:"Section",label:"Label",preview:"Preview",size:"Size",position:"Position",component_type:"Component Type",open_first:"Open First",school_logo:"School Logo",button:"Button",show_underline:"Show Underline",big_title:"Big Title",form_name:"Form Name",consent_checkbox:"Consent Checkbox Text",consent_notice:"Consent Notice",submit_api:"Submit API",select_icon:"Select Icon",add_icon:"Add Icon",add_link:"Add Link",link_type:"Link Type",external_link:"External Link",photo:"Photo",desktop_columns:"Desktop Columns",mobile_display_columns:"Mobile Display Columns",bg_preset:"Background Preset",bg_color:"Background Color",school_category:"School Category",article_category:"Article Category",map_image:"Map Image",show_x:"Show X",show_y:"Show Y",date:"Date",url:"URL",pc_height:"PC Height",mobile_height:"Mobile Height",spacing:"Spacing",tab_start_spacing:"Tab Start Spacing",section_spacing:"Section Spacing",component_spacing:"Component Spacing",link_spacing:"Link Spacing",page_end_spacing:"Page End Spacing",event_code:"Event Code",contact_person:"Contact Person",input_title:"Please enter title",table_row:"Table Row",table_data:"Table Data",paragraph:"Paragraph",add_paragraph:"Add Paragraph",add_component:"Add Component",component:"Component",category:"Category",add_category:"Add Category",category_name:"Category Name",image_caption:"Image Caption",add_image:"Add Image",image_group:"Image Group",video:"Video",is_round:"Rounded",btn_default:"Default Button",btn_white:"White Button",btn_light:"Light Button",btn_blue:"Blue Button",add_button:"Add Button",input_url:"Please enter URL",input_link_url:"Please enter link URL",input_subtitle:"Please enter subtitle",input_name:"Please enter name",input_label:"Please enter label",input_content:"Please enter content",input_html:"Please enter HTML content",input_video_url:"Please enter video URL",input_article_category:"Please enter article category",input_text:"Please enter text",input_key:"Please enter key",select_link_type:"Please select link type",prepend:"Prepend",append:"Append",label_name:"Label Name",link_text:"Link Text",link_list:"Link List",add_text:"Add Text",add_section:"Add Section",add_social_link:"Add Social Link",show_year_select:"Show Year Select",translation:"Translation",campus:"Campus",marker:"Marker",marker_x:"Marker X",marker_y:"Marker Y",detail_popup_position:"Detail Popup Position",left:"Left",right:"Right",normal_item:"Normal Item",article_item:"Article Item",circle_link:"Circle Link",text_link:"Text Link",is_light:"Light Style",subtitle2:"Second Subtitle",subject:"Subject",unique_id:"Unique ID",more:"More",left_title:"Left Title",right_title:"Right Title",image_alt_label:"Image Alt",quote:"Quote",input_form_name:"Please enter form name",input_event_code:"Please enter Event Code (Key)",input_consent_checkbox:"Please enter consent checkbox text",input_consent_notice:"Please enter consent notice",input_submit_api:"Please enter submit API",input_subtitle2:"Please enter second subtitle",input_quote:"Please enter quote",input_image_alt:"Please enter image alt",input_unique_id:"Please enter unique ID",select_button_type:"Please select button type",select_icon_size:"Please select icon size",close:"Close",input_label_name:"Please enter label name",at_least_3_items:"At least 3 items must be kept",phone:"Phone",email:"Email",alt_text:"Image Alt Text"},operate:{copy:"Copy",delete:"Delete",edit:"Edit",paste_above:"Paste Above",paste_below:"Paste Below",click_upload:"Click to Upload"},sort:{most_recent:"Most Recent",past_month:"Past Month",past_year:"Past Year"},placeholder:{title_here:"Title here",html_content:"HTML content here",link_name:"Link name",input_html:"Please enter HTML content",subtitle_here:"Subtitle here",description_here:"Description here",detail_here:"Detail here",label_here:"Label here",content_here:"Content here",name_here:"Name here",text_here:"Text here",article_title_here:"Article title here",article_content_here:"Article content here",quote_demo_text:"<h2>YCYW</h2><ul><li>Aligned with Technology</li><li>Aligned with Arts</li><li>Aligned with Compassion</li></ul>",title:"Title",subtitle:"Subtitle",content:"Content",description:"Description",name:"Name",label:"Label",button:"Button",button_name:"Button Name",learn_more:"Learn More",view_more:"View More",title_1:"Title 1",title_2:"Title 2",title_3:"Title 3",title_here_1:"Title here 1",title_here_2:"Title here 2",title_here_3:"Title here 3",this_is_title:"This is a title",this_is_subtitle:"This is a subtitle",this_is_content:"This is the content",this_is_description:"This is the description",this_is_image_caption:"This is the image caption",please_input:"Please input",please_input_content:"Please input content...",quote_here:"Quote here"}},ko:{donation:{school:"School",latest_attending_institute:"Latest Attending Institute",graduation_or_year_left:"Graduation or Year left (optional)",wrong_format:"Please enter a valid format",add_school:"Add School",is_required:"This is required",customized_amount:"Other Amount",enter_valid_amount:"Please enter a valid amount",first_name:"Given Name",last_name:"Surname",please_input:"Please input",postcode_0000:"Postal code (00000 if not available)",chinese_name:"Chinese Name (optional)",other:"Other",next:"Next",confirm_donate:"Confirm & Donate",fundraising_programmes:"Fundraising Programmes",priority_areas:"Priority areas",donation_reference:"Donation reference",donation_designated_to:"Donation designated to",amount:"Amount",payment_method:"Payment Method",identity:"Identity",salutation:"Salutation",full_name:"Full Name (as appeared on tax receipts)",affiliation:"Affiliation",email:"Email",phone:"Phone",mailing_address:"Mailing Address",acknowledgement:"Acknowledgement",acknowledgement_public:"I am happy to be included in the published list of donors (donation amount will not be featured)",acknowledgement_private:"I wish to make my donation anonymously",method_card:"Online, Visa/MasterCard",method_unionpay:"Online, UnionPay",method_offline:"Offline, Cheque/Bank Transfer",donation_individual_donor:"Individual Donor",donation_organisation_donor:"Organisation Donor",donation_issue_title:"If you encountered any issues during the payment process",donation_issue_text:'For donors based in Hong Kong and overseas, please contact Ms Josephine Lo at <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a><br />For donors based in Mainland China, please contact Ms Rachel Zhao at <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a>'},program:{date_of_attendance:"Date of Attendance",application_reference:"Application reference no",from:"From",to:"To"},enquiry:{enquiry_information_form:"Enquiry Information Form",would_like_to_know_more:"I would like to know more about (may choose more than one)",leave_your_contact:"Please leave your contact information so we could keep in touch (select one as appropriate)",do_not_consent:"I DO NOT CONSENT to the use of my personal data by Yew Chung College of Early Childhood Education for direct marketing.",bottom_text:"<p>*Compulsory field<br />All your data are strictly confidential and for the College's administration, communication and marketing purposes, e.g. College news, activities and programmes. The College will not disclose any personal information to external parties.</p>",school_college_university:"School/College/University",question:"Question",i_want_to_ask:"I want to ask...",parent:"Parent",student:"Student",other:"Others (Please specify)",graduation_year:"Graduation Year",enquiry_content:"Enquiry Content"},register:{name:"Name",your_name:"Your Name",you_are:"You are",contact_number:"Contact number",email:"Email",school_name_organization:"School Name / Organization",parent:"Parent",alumni:"Alumni",student:"Student",faculty_staff:"Faculty / Staff",others:"Others",please_choose:"Please choose",affiliation:"Affiliation",title:"Register Form",check_text:"I agree to receive direct marketing information from Yew Chung College of Early Childhood Education",notice:"Note: Please do not fill in any personal identification information, such as ID card number, passport number, etc., in the form."},blessing:{blessing_to_ycyw:"Blessing To YCYW",your_message:"Your Message",your_message_placeholder:"I want to say...",characters:"Characters",upload_photo:"Upload Photo",files_supported_image:"Files Supported: jpg and png",drag_drop_placeholder:"Drag and drop your file here or <b>choose file</b>",maximum_size:"Maximum Size",blessing_message_to_ycyw:"Blessing message to YCYW",thank_you:"Thank you",blessing_thank_you:"Amplify the impact of your blessing. Be the fuel behind our education powerhouse.",blessing_button:"Read More"},error:{page_not_found:"Page not found",error_title:"Oops!",error_text:"Sorry, the page you're looking for doesn't exist.",see_also:"SEE ALSO:",home_page:"Home Page"},time:{days:"DAYS",hours:"HOURS",minutes:"MINUTES",seconds:"SECONDS"},btn:{read:"Read",profile:"Profile",read_story:"Read Story",filters:"Filters",print:"Print",watch_full_video:"Watch Full Video",go_back:"Go Back",top:"Top",prevArticle:"Previous",nextArticle:"Next",visit_school_website:"Visit School website",read_more:"Read More",load_more:"Load More",learn_more:"Learn More",all_years:"All Years",submit:"Submit",confirm:"Confirm",submit_success:"Submitted successfully",submit_fail:"Submission Failed",previous_post:"Previous post",next_post:"Next post",view_more:"View more",confirm_and_submit:"Confirm & Submit",close:"Close"},text:{explore_next:"More",search:"Search...",cancel:"Cancel",drag_hint:"Drag to discover more schools",all:"All",title:"Title",on_page:"On page",see_more:"See More",see_less:"See Less",all_region:"All Regions",no_result_for:'No results for "%query%"',result_text:'%number% results for "%query%"',looking_for_something_else:"Looking for something else?",tel:"Tel",fax:"Fax",email:"Email",fee:"Fee"},story:{result_text:'%number% results for "%query%"'},article:{news_n_publications:"news & publications",news:"news",alumni:"alumni",alumni_community:"alumni community",admissions:"admissions",news_n_media:"news & media",go_to_alternative_locale:"Go to {locale}",error_alternative_locale_text:"This article doesn't have {locale}, but is available in another locales."},setting:{component_edit:"Component Edit",only_show_pc:"PC Only",only_show_mobile:"Mobile Only",component_width:"Component Width",component_bg:"Component Background",sub_component:"Sub Component",sub_component_attr:"Sub Component Attributes",width_default:"Default",width_small:"Small",width_middle:"Medium",width_large:"Large",bg_white:"White",bg_grey:"Grey",please_select:"Please select",please_input:"Please input",title:"Title",subtitle:"Subtitle",content:"Content",image:"Image",image_link:"Please enter image link",image_alt:"Image alt",link:"Link",link_name:"Link Name",link_url:"Link URL",is_external:"External Link",button_text:"Button Text",button_link:"Button Link",api_address:"API Address",default_api:"Default API Address",add:"Add",add_tab:"Add Tab",paste_tab:"Paste Tab",copy_tab:"Copy Tab",tab_name:"Tab Name",no_data:"No Data",name:"Name",description:"Description",video_url:"Video URL",video_cover:"Video Cover",height:"Height",pc_columns:"PC Columns",mobile_columns:"Mobile Columns",rows:"Rows",type:"Type",yes:"Yes",no:"No",table_header:"Table Header",add_row:"Add Row",section:"Section",label:"Label",preview:"Preview",size:"Size",position:"Position",component_type:"Component Type",open_first:"Open First",school_logo:"School Logo",button:"Button",show_underline:"Show Underline",big_title:"Big Title",form_name:"Form Name",consent_checkbox:"Consent Checkbox Text",consent_notice:"Consent Notice",submit_api:"Submit API",select_icon:"Select Icon",add_icon:"Add Icon",add_link:"Add Link",link_type:"Link Type",external_link:"External Link",photo:"Photo",desktop_columns:"Desktop Columns",mobile_display_columns:"Mobile Display Columns",bg_preset:"Background Preset",bg_color:"Background Color",school_category:"School Category",article_category:"Article Category",map_image:"Map Image",show_x:"Show X",show_y:"Show Y",date:"Date",url:"URL",pc_height:"PC Height",mobile_height:"Mobile Height",spacing:"Spacing",tab_start_spacing:"Tab Start Spacing",section_spacing:"Section Spacing",component_spacing:"Component Spacing",link_spacing:"Link Spacing",page_end_spacing:"Page End Spacing",event_code:"Event Code",contact_person:"Contact Person",input_title:"Please enter title",table_row:"Table Row",table_data:"Table Data",paragraph:"Paragraph",add_paragraph:"Add Paragraph",add_component:"Add Component",component:"Component",category:"Category",add_category:"Add Category",category_name:"Category Name",image_caption:"Image Caption",add_image:"Add Image",image_group:"Image Group",video:"Video",is_round:"Rounded",btn_default:"Default Button",btn_white:"White Button",btn_light:"Light Button",btn_blue:"Blue Button",add_button:"Add Button",input_url:"Please enter URL",input_link_url:"Please enter link URL",input_subtitle:"Please enter subtitle",input_name:"Please enter name",input_label:"Please enter label",input_content:"Please enter content",input_html:"Please enter HTML content",input_video_url:"Please enter video URL",input_article_category:"Please enter article category",input_text:"Please enter text",input_key:"Please enter key",select_link_type:"Please select link type",prepend:"Prepend",append:"Append",label_name:"Label Name",link_text:"Link Text",link_list:"Link List",add_text:"Add Text",add_section:"Add Section",add_social_link:"Add Social Link",show_year_select:"Show Year Select",translation:"Translation",campus:"Campus",marker:"Marker",marker_x:"Marker X",marker_y:"Marker Y",detail_popup_position:"Detail Popup Position",left:"Left",right:"Right",normal_item:"Normal Item",article_item:"Article Item",circle_link:"Circle Link",text_link:"Text Link",is_light:"Light Style",subtitle2:"Second Subtitle",subject:"Subject",unique_id:"Unique ID",more:"More",left_title:"Left Title",right_title:"Right Title",image_alt_label:"Image Alt",quote:"Quote",input_form_name:"Please enter form name",input_event_code:"Please enter Event Code (Key)",input_consent_checkbox:"Please enter consent checkbox text",input_consent_notice:"Please enter consent notice",input_submit_api:"Please enter submit API",input_subtitle2:"Please enter second subtitle",input_quote:"Please enter quote",input_image_alt:"Please enter image alt",input_unique_id:"Please enter unique ID",select_button_type:"Please select button type",select_icon_size:"Please select icon size",close:"Close",input_label_name:"Please enter label name",at_least_3_items:"At least 3 items must be kept",phone:"Phone",email:"Email",alt_text:"Image Alt Text"},operate:{copy:"Copy",delete:"Delete",edit:"Edit",paste_above:"Paste Above",paste_below:"Paste Below",click_upload:"Click to Upload"},sort:{most_recent:"Most Recent",past_month:"Past Month",past_year:"Past Year"},placeholder:{title_here:"Title here",html_content:"HTML content here",link_name:"Link name",input_html:"Please enter HTML content",subtitle_here:"Subtitle here",description_here:"Description here",detail_here:"Detail here",label_here:"Label here",content_here:"Content here",name_here:"Name here",text_here:"Text here",article_title_here:"Article title here",article_content_here:"Article content here",quote_demo_text:"<h2>YCYW</h2><ul><li>Aligned with Technology</li><li>Aligned with Arts</li><li>Aligned with Compassion</li></ul>",title:"Title",subtitle:"Subtitle",content:"Content",description:"Description",name:"Name",label:"Label",button:"Button",button_name:"Button Name",learn_more:"Learn More",view_more:"View More",title_1:"Title 1",title_2:"Title 2",title_3:"Title 3",title_here_1:"Title here 1",title_here_2:"Title here 2",title_here_3:"Title here 3",this_is_title:"This is a title",this_is_subtitle:"This is a subtitle",this_is_content:"This is the content",this_is_description:"This is the description",this_is_image_caption:"This is the image caption",please_input:"Please input",please_input_content:"Please input content...",quote_here:"Quote here"}},hk:{donation:{school:"學校",latest_attending_institute:"最後修讀的學校",graduation_or_year_left:"畢業/離校年份 (如適用)",wrong_format:"請輸入正確的格式",add_school:"新增學校",is_required:"此為必填項",customized_amount:"其他金額",enter_valid_amount:"請輸入有效金額",first_name:"名字",last_name:"姓氏",please_input:"請輸入",postcode_0000:"郵政編碼(如果不適用則為 00000)",chinese_name:"中文姓名(選填)",other:"其他",next:"下一步",confirm_donate:"確認並捐贈",fundraising_programmes:"籌款項目",priority_areas:"優先受惠範圍",donation_reference:"參考編號",donation_designated_to:"捐款意向",amount:"金額",payment_method:"捐款方式",identity:"捐款人身份",salutation:"稱謂",full_name:"全名(與捐款收據一致)",affiliation:"關係",email:"電郵",phone:"電話",mailing_address:"通訊地址",acknowledgement:"捐款答謝",acknowledgement_public:"我同意學院把我的姓名銘志於捐款芳名錄。(捐款金額不會公開)",acknowledgement_private:"我希望以「無名氏」名義捐款。",method_card:"網上捐款, Visa/萬事達卡",method_unionpay:"網上捐款, 銀聯",method_offline:"離線捐款, 支票/銀行轉賬捐款",donation_individual_donor:"個人捐款",donation_organisation_donor:"機構捐款",donation_issue_title:"若在捐款過程中出現任何問題",donation_issue_text:'在香港或海外的捐贈者,請透過電郵 <a href="mailto:josephinel@ycef.com" target="_blank">josephinel@ycef.com</a> 聯繫老明思女士<br />在中國內地的捐贈者,請透過電郵 <a href="mailto:rachel.zhao@yewwah.com.cn" target="_blank">rachel.zhao@yewwah.com.cn</a> 聯繫趙秋婉女士'},program:{date_of_attendance:"出席日期",application_reference:"參考編號",from:"從",to:"到"},enquiry:{enquiry_information_form:"查詢信息表",would_like_to_know_more:"我想了解更多(可以選擇多個)",leave_your_contact:"請留下您的聯繫方式,以便我們保持聯繫(酌情選擇一項)",do_not_consent:"我不同意耀中幼教學院使用我的個人資料進行直接營銷。",bottom_text:"<p>*必填項<br />您的所有數據都是嚴格保密的,用於學院的管理、溝通和營銷目的,例如 大學新聞、活動和計劃。 學院不會向外界透露任何個人信息。</p>",school_college_university:"學校/學院/大學",question:"問題",i_want_to_ask:"我想問...",parent:"家長",student:"學生",other:"其他(請註明)",graduation_year:"畢業年",enquiry_content:"查詢內容"},register:{name:"姓名",your_name:"你的名字",you_are:"你是",contact_number:"聯繫電話",email:"電郵",school_name_organization:"學校名稱/組織",parent:"家長",alumni:"校友",student:"學生",faculty_staff:"教學人員/行政人員",others:"其他",please_choose:"請選擇",affiliation:"與我們的聯繫",title:"註冊表單",check_text:"我同意接收來自官方的直接行銷訊息",notice:"注意:請勿在表單中填寫任何個人識別資訊,如身分證字號、護照號碼等。"},blessing:{blessing_to_ycyw:"祝福YCYW",your_message:"你的留言",your_message_placeholder:"我想說...",characters:"字符長度",upload_photo:"上傳照片",files_supported_image:"支持的文件: jpg and png",drag_drop_placeholder:"將你的文件拖放到此處或 <b>選擇文件</b>",maximum_size:"最大尺寸",blessing_message_to_ycyw:"給YCYW的祝福信息",thank_you:"感謝您",blessing_thank_you:"讓您的祝福泛動著漣漪。助推教育,點燃希望。",blessing_button:"閱讀更多"},error:{page_not_found:"未能找到頁面",error_title:"Oops!",error_text:"對不起,你要找的頁面不存在。",see_also:"繼續瀏覽:",home_page:"首頁"},time:{days:"日",hours:"小時",minutes:"分鐘",seconds:"秒"},btn:{read:"閱讀",profile:"簡介",read_story:"閱讀故事",filters:"篩選",print:"列印",watch_full_video:"觀看完整影片",go_back:"返回上一頁",top:"往上",prevArticle:"上一篇",nextArticle:"下一篇",visit_school_website:"瀏覽學校網站",read_more:"了解更多",load_more:"更多",learn_more:"了解更多",all_years:"所有年份",submit:"提交",confirm:"確認",submit_success:"提交成功",submit_fail:"提交失敗",previous_post:"上一個",next_post:"下一個",view_more:"了解更多",confirm_and_submit:"確認並提交",close:"關閉"},text:{explore_next:"更多",search:"搜尋...",cancel:"取消",drag_hint:"拖動以查看更多學校",all:"全部",title:"標題",on_page:"內容",see_more:"更多",see_less:"收合",all_region:"所有地區",no_result_for:"沒有「%query%」的搜尋結果",result_text:"%number%個「%query%」的搜尋結果",looking_for_something_else:"想搜尋其他內容?",tel:"電話",fax:"傳真",email:"電郵",fee:"費用"},story:{result_text:"%number%個「%query%」的搜尋結果"},article:{news_n_publications:"新聞及刊物",news:"新聞",alumni:"校友會",alumni_community:"校友會",admissions:"入學申請",news_n_media:"最新消息",go_to_alternative_locale:"前往 {locale}",error_alternative_locale_text:"此文章暫時沒有{locale},但您可以先瀏覽其他語言。"},setting:{component_edit:"組件編輯",only_show_pc:"僅在PC端顯示",only_show_mobile:"僅在行動端顯示",component_width:"組件寬度",component_bg:"組件背景",sub_component:"子組件",sub_component_attr:"子組件屬性",width_default:"預設",width_small:"小",width_middle:"中",width_large:"大",bg_white:"白色",bg_grey:"灰色",please_select:"請選擇",please_input:"請輸入",title:"標題",subtitle:"子標題",content:"內容",image:"圖片",image_link:"請輸入圖片連結",image_alt:"圖片alt",link:"連結",link_name:"連結名稱",link_url:"連結地址",is_external:"是否外部連結",button_text:"按鈕文字",button_link:"按鈕連結",api_address:"接口地址",default_api:"預設接口地址",add:"新增",add_tab:"新增 Tab",paste_tab:"貼上 Tab",copy_tab:"複製 Tab",tab_name:"Tab名稱",no_data:"暫無資料",name:"名稱",description:"描述",video_url:"影片地址",video_cover:"影片封面",height:"高度",pc_columns:"PC列數",mobile_columns:"行動端列數",rows:"行數",type:"類型",yes:"是",no:"否",table_header:"表格標頭",add_row:"新增",section:"章節",label:"標籤",preview:"預覽",size:"尺寸",position:"位置",component_type:"組件類型",open_first:"打開第一個",school_logo:"學校logo",button:"按鈕",show_underline:"顯示底線",big_title:"大標題",form_name:"表單名稱",consent_checkbox:"同意複選框文字",consent_notice:"同意通知",submit_api:"提交api",select_icon:"請選擇圖示",add_icon:"新增icon",add_link:"新增連結",link_type:"連結類型",external_link:"外部連結",photo:"照片",desktop_columns:"桌面顯示的列數",mobile_display_columns:"行動端顯示的列數",bg_preset:"背景預設",bg_color:"背景顏色",school_category:"學校類別",article_category:"文章類別",map_image:"地圖圖片",show_x:"顯示X座標",show_y:"顯示Y座標",date:"日期",url:"網址",pc_height:"PC高度",mobile_height:"行動端高度",spacing:"間距設定",tab_start_spacing:"標籤起始間距",section_spacing:"部分間距",component_spacing:"組件間距",link_spacing:"連結間距",page_end_spacing:"頁末間距",event_code:"Event Code",contact_person:"聯絡人",input_title:"請輸入標題",table_row:"表格行",table_data:"表格資料",paragraph:"段落",add_paragraph:"新增段落",add_component:"新增組件",component:"組件",category:"分類",add_category:"新增分類",category_name:"分類名稱",image_caption:"圖片描述",add_image:"新增圖片",image_group:"圖片組",video:"影片",is_round:"圓角",btn_default:"預設按鈕",btn_white:"白色按鈕",btn_light:"亮色按鈕",btn_blue:"藍色按鈕",add_button:"新增按鈕",input_url:"請輸入網址",input_link_url:"請輸入連結地址",input_subtitle:"請輸入副標題",input_name:"請輸入名稱",input_label:"請輸入標籤",input_content:"請輸入內容",input_html:"請輸入HTML內容",input_video_url:"請輸入影片連結",input_article_category:"請輸入文章類別",input_text:"請輸入文字",input_key:"請輸入key",select_link_type:"請選擇連結類型",prepend:"前置",append:"追加",label_name:"標籤名稱",link_text:"連結文字",link_list:"連結列表",add_text:"新增文字",add_section:"新增章節",add_social_link:"新增社交連結",show_year_select:"顯示年份選擇",translation:"翻譯",campus:"校區",marker:"標記",marker_x:"標記X座標",marker_y:"標記Y座標",detail_popup_position:"詳情彈出位置",left:"左",right:"右",normal_item:"一般項目",article_item:"文章項目",circle_link:"圓形連結",text_link:"文字連結",is_light:"是否亮色",subtitle2:"第二個子標題",subject:"題目",unique_id:"唯一識別",more:"更多",left_title:"左側標題",right_title:"右側標題",image_alt_label:"圖片alt",quote:"引言",input_form_name:"請輸入表單名稱",input_event_code:"請輸入 Event Code (Key)",input_consent_checkbox:"請輸入同意複選框文字",input_consent_notice:"請輸入同意通知",input_submit_api:"請輸入提交 API",input_subtitle2:"請輸入第二個子標題",input_quote:"請輸入引言",input_image_alt:"請輸入圖片 Alt",input_unique_id:"請輸入唯一識別",select_button_type:"請選擇按鈕類型",select_icon_size:"請選擇圖示大小",close:"關閉",input_label_name:"請輸入標籤名稱",at_least_3_items:"至少保留3个項目",phone:"手機號碼",email:"郵箱",alt_text:"圖片替代文本"},operate:{copy:"複製",delete:"刪除",edit:"編輯",paste_above:"向上貼上",paste_below:"向下貼上",click_upload:"點擊上傳"},sort:{most_recent:"最新",past_month:"上月",past_year:"去年"},placeholder:{title_here:"這裡是標題",html_content:"這裡是html內容",link_name:"連結名稱",input_html:"請輸入html內容",subtitle_here:"這裡是副標題",description_here:"這裡是描述",detail_here:"這裡是詳情",label_here:"這裡是標籤",content_here:"這裡是內容",name_here:"這裡是名稱",text_here:"這裡是文字",article_title_here:"這裡是文章標題",article_content_here:"這裡是文章內容",quote_demo_text:"<h2>耀中耀華</h2><ul><li>與科技結盟</li><li>與文藝結盟</li><li>與仁愛結盟</li></ul>",title:"標題",subtitle:"副標題",content:"內容",description:"描述",name:"名稱",label:"標籤",button:"按鈕",button_name:"按鈕名稱",learn_more:"了解更多",view_more:"查看更多",title_1:"標題1",title_2:"標題2",title_3:"標題3",title_here_1:"這裡是標題1",title_here_2:"這裡是標題2",title_here_3:"這裡是標題3",this_is_title:"這是標題",this_is_subtitle:"這是副標題",this_is_content:"這是內容",this_is_description:"這是描述",this_is_image_caption:"這是圖片描述",please_input:"請輸入",please_input_content:"請輸入內容...",quote_here:"這裡是引言"}}};function de(n){const t=ef[n]||ef.en;function o(a,l){const s=a.split(".");let r=t;for(const i of s)if(r=r==null?void 0:r[i],r===void 0)return l||a;return r}return{t:o,lang:t}}function Y(n=16){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let o="";for(let a=0;a<n;a++)o+=t.charAt(Math.floor(Math.random()*t.length));return o}function ce(){const n=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n),o=window.innerWidth<=768;return t||o&&!/iPad/.test(n)}function cl(n){let t=0,o=0;for(;n;)t+=n.offsetLeft-n.scrollLeft+n.clientLeft,o+=n.offsetTop-n.scrollTop+n.clientTop,n=n.offsetParent;return{x:t,y:o}}function zs(n="Publications",t="section",o=10,a=8){const l="abcdefghijklmnopqrstuvwxyz0123456789",s=l.length;function r(f){if(typeof crypto<"u"&&crypto.getRandomValues){const c=new Uint32Array(f);crypto.getRandomValues(c);let g="";for(let h=0;h<f;h++)g+=l[c[h]%s];return g}else{let c="";for(let g=0;g<f;g++)c+=l.charAt(Math.floor(Math.random()*s));return c}}function i(f){const c=Date.now().toString();if(c.length>=f)return c.slice(0,f);{const g=r(f-c.length).replace(/[^0-9]/g,"");return c+g}}const d=i(o),u=r(a),m=i(o),p=r(a);return`${n}-${d}-${u}-${t}-${m}-${p}`}function ew(n){if(!n)return{top:0,left:0};const t=n.getBoundingClientRect(),o=window.pageYOffset||document.documentElement.scrollTop,a=window.pageXOffset||document.documentElement.scrollLeft;return{top:t.top+o,left:t.left+a}}function tu(n){if(!n)return;const t=document.querySelector(n);if(!t)return;const o=ew(t).top;window.scroll({top:o-170,left:0,behavior:"smooth"})}const tw=["innerHTML"],nw=["innerHTML"],ow=e.defineComponent({__name:"index",props:{type:{type:String,default:"button"},data:{type:Object,default:()=>{}},hasHoverBg:{type:Boolean,default:!0},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=n,a=t,l=()=>{!o.data.url||!o.isPreview||(o.data.url.startsWith("http")?typeof window<"u"&&window.open(o.data.url,"_blank"):a("handleClick",o.data.url))};return(s,r)=>n.type==="button"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["button-primary flex-inline flex-center",[n.hasHoverBg&&"button-hover-bg"]]),onClick:l},[e.createElementVNode("span",{class:"button-text",innerHTML:n.data.text},null,8,tw),r[0]||(r[0]=e.createElementVNode("span",{class:"button-icon"},null,-1))],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"link-button flex-inline flex-center",onClick:l},[e.createElementVNode("span",{class:"link-text",innerHTML:n.data.text},null,8,nw),r[1]||(r[1]=e.createElementVNode("span",{class:"button-icon link-icon"},null,-1))]))}}),te=(n,t)=>{const o=n.__vccOpts||n;for(const[a,l]of t)o[a]=l;return o},Uo=te(ow,[["__scopeId","data-v-d6f1a301"]]),aw={class:"article-item article-list-item"},lw={class:"article-item-title"},iw=["innerHTML"],sw={key:0,class:"article-item-button"},rw={key:1,class:"article-item-link"},dw=e.defineComponent({__name:"article",props:{article:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=t,a=e.ref(null),l=s=>{o("handleClick",s)};return e.onMounted(()=>{e.nextTick(()=>{a.value&&a.value.querySelectorAll("a").forEach(r=>{r.addEventListener("click",i=>{const d=i.target.getAttribute("href");d&&!d.startsWith("http")&&(i.preventDefault(),o("handleClick",d))})})})}),(s,r)=>{var i,d;return e.openBlock(),e.createElementBlock("div",aw,[e.createElementVNode("h4",lw,e.toDisplayString(n.article.title),1),e.createElementVNode("div",{class:e.normalizeClass(["article-item__content",{"mt-4":!!n.article.title}]),innerHTML:n.article.content,ref_key:"contentRef",ref:a},null,10,iw),(i=n.article.buttonList)!=null&&i.length?(e.openBlock(),e.createElementBlock("div",sw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.article.buttonList,u=>(e.openBlock(),e.createElementBlock("div",{class:"article-item-btn-col",key:u.id},[e.createVNode(Uo,{data:u,isPreview:n.isPreview,onHandleClick:l},null,8,["data","isPreview"])]))),128))])):e.createCommentVNode("",!0),(d=n.article.linkList)!=null&&d.length?(e.openBlock(),e.createElementBlock("div",rw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.article.linkList,u=>(e.openBlock(),e.createElementBlock("div",{class:"article-item-link-col",key:u.id},[e.createVNode(Uo,{data:u,isPreview:n.isPreview,type:"link",onHandleClick:l},null,8,["data","isPreview"])]))),128))])):e.createCommentVNode("",!0)])}}}),cw={class:"contact-item"},uw={key:0,class:"contact__cat-list"},mw={class:"contact-item-title"},hw=["innerHTML"],fw={class:"contact-item-link"},gw=te(e.defineComponent({__name:"contact",props:{contact:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=t,a=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{a.value&&a.value.querySelectorAll("a").forEach(s=>{s.addEventListener("click",r=>{const i=r.target.getAttribute("href");i&&!i.startsWith("http")&&(r.preventDefault(),o("handleClick",i))})})})}),(l,s)=>{var r;return e.openBlock(),e.createElementBlock("div",cw,[((r=n.contact.categories)==null?void 0:r.length)>0?(e.openBlock(),e.createElementBlock("ul",uw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.contact.categories,i=>(e.openBlock(),e.createElementBlock("li",{key:i.id,class:"contact__cat-item tx-overline text-blue"},e.toDisplayString(i.text),1))),128))])):e.createCommentVNode("",!0),e.createElementVNode("h4",mw,e.toDisplayString(n.contact.title),1),e.createElementVNode("div",{class:"editor-content",innerHTML:n.contact.content,ref_key:"contentRef",ref:a},null,8,hw),e.createElementVNode("div",fw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.contact.linkList,i=>(e.openBlock(),e.createBlock(Uo,{key:i.id,data:i,isPreview:n.isPreview,type:"link"},null,8,["data","isPreview"]))),128))])])}}}),[["__scopeId","data-v-8a14726a"]]),pw={key:0,class:"image-desc"},Aw={key:1,class:"video-container flex-inline flex-center"},yw=["src"],ww={class:"video-thumbnail flex flex-center"},Cw=["src"],bw={key:2,class:"image-list-container"},Ew={key:0,class:"image-preview"},Bw={class:"image-list-wrapper"},xw=["src","onClick"],kw=te(e.defineComponent({__name:"index",props:{type:{type:String,default:"Image"},data:{type:Object,default:()=>{}},preview:{type:Boolean,default:!0}},setup(n){var g,h,w;const t=n,o=e.ref(),a=e.ref(!1),l=()=>{var E;(E=o.value)==null||E.play(),a.value=!0},s=e.ref(((w=(h=(g=t.data)==null?void 0:g.imageList)==null?void 0:h[0])==null?void 0:w.src)||""),r=E=>{s.value=E},i=e.ref(null),d=e.ref(!1),u=e.ref(!1),m=()=>{const E=i.value;E&&(d.value=E.scrollLeft>0,u.value=E.scrollLeft+E.clientWidth<E.scrollWidth)},p=()=>{const E=i.value;E&&E.scrollBy({left:-E.clientWidth/1.5,behavior:"smooth"})},f=()=>{const E=i.value;E&&E.scrollBy({left:E.clientWidth/1.5,behavior:"smooth"})},c=()=>{m()};return e.watch(()=>{var E;return(E=t.data)==null?void 0:E.imageList},async()=>{await e.nextTick(),m()}),e.onMounted(()=>{typeof window<"u"&&window.addEventListener("resize",m),e.nextTick(m)}),e.onUnmounted(()=>{typeof window<"u"&&window.removeEventListener("resize",m)}),(E,x)=>{const b=e.resolveComponent("a-image"),A=e.resolveComponent("icon-caret-right");return e.openBlock(),e.createElementBlock(e.Fragment,null,[n.type==="Image"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["image-container",[n.data.isRound?"round":""]])},[e.createVNode(b,{class:"image",src:n.data.imgSrc,preview:n.preview,alt:n.data.alt,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview","alt"]),n.data.caption?(e.openBlock(),e.createElementBlock("p",pw,e.toDisplayString(n.data.caption),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),n.type==="Video"?(e.openBlock(),e.createElementBlock("div",Aw,[e.createElementVNode("video",{class:"video",ref_key:"videoElement",ref:o,src:n.data.videoSrc,controls:""},null,8,yw),a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ww,[e.createElementVNode("img",{src:n.data.imgSrc},null,8,Cw)]),e.createElementVNode("div",{class:"play-button flex flex-center",onClick:l},[e.createVNode(A,{style:{color:"#fff"}})])],64))])):e.createCommentVNode("",!0),n.type==="ImageList"?(e.openBlock(),e.createElementBlock("div",bw,[s.value?(e.openBlock(),e.createElementBlock("div",Ew,[e.createVNode(b,{class:"image",src:s.value,preview:n.preview,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Bw,[e.withDirectives(e.createElementVNode("div",{class:"thumbnail__nav__prev",onClick:p}," ‹ ",512),[[e.vShow,d.value]]),e.createElementVNode("div",{class:"image-list",ref_key:"imageListRef",ref:i,onScroll:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.data.imageList,k=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:k.id},[k.src?(e.openBlock(),e.createElementBlock("img",{key:0,class:"image",src:k.src,onClick:B=>r(k.src)},null,8,xw)):e.createCommentVNode("",!0)],64))),128))],544),e.withDirectives(e.createElementVNode("div",{class:"thumbnail__nav__next",onClick:f}," › ",512),[[e.vShow,u.value]])])])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-10251248"]]),We=te(e.defineComponent({__name:"index",props:{modelValue:{type:String,default:""},name:{type:String,default:""},locale:{type:String,default:"sc"},buttonText:{type:String,default:""},buttonClass:{type:String,default:"fit-content"}},emits:["update:modelValue"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=e.computed(()=>o.buttonText||a("operate.click_upload")),s=t,r=e.inject("handleUpload",()=>{}),i=e.inject("fileUrl",null),d=e.inject("chooseName",null),u=()=>{if(!r){console.warn("Upload: handleUpload function not provided by ancestor");return}r(!0,o.name)};return e.watch(()=>o.name,()=>{i.value=null},{deep:!0,immediate:!0}),e.watch(()=>[i==null?void 0:i.value],([m])=>{!m||!d.value||d.value!==o.name||s("update:modelValue",m)},{immediate:!1}),(m,p)=>{const f=e.resolveComponent("icon-upload"),c=e.resolveComponent("a-button");return e.openBlock(),e.createBlock(c,{type:"primary",onClick:u,class:e.normalizeClass(n.buttonClass)},{icon:e.withCtx(()=>[e.createVNode(f)]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["class"])}}}),[["__scopeId","data-v-62fd1c8d"]]),Vw={class:"setting-content"},Dw={class:"setting-header flex items-center mb-10"},Sw={class:"header-title"},Nw={class:"setting-header flex items-center"},Tw={class:"header-title"},Pw={class:"setting-header flex items-center"},Iw={class:"header-title"},Mw={class:"setting-header flex items-center"},Lw={class:"header-title"},Qw={class:"setting-body"},Ow={class:"setting-item"},Fw={class:"item-name"},Uw={class:"btn-group"},Hw={class:"drag-handle"},zw={class:"item-title"},Rw={class:"item-title"},vw={class:"item-title"},jw={class:"btn-group"},Yw={key:0,class:"drag-handle"},Gw={class:"item-action flex items-center"},qw=["onClick"],Kw={class:"btn-text"},Ww={class:"item-title"},Xw={class:"btn-group"},Jw={key:0,class:"drag-handle"},Zw={class:"item-action flex items-center"},_w=["onClick"],$w={class:"btn-text"},e2={class:"item-title"},t2={class:"item-title"},n2={class:"item-title"},o2={class:"btn-group"},a2={key:0,class:"drag-handle"},l2={class:"item-action flex items-center"},i2=["onClick"],s2={class:"btn-text"},r2={class:"item-title"},d2={class:"btn-group"},c2={key:0,class:"drag-handle"},u2={class:"item-action flex items-center"},m2=["onClick"],h2={class:"btn-text"},f2=["src"],g2={class:"item-uplaod flex items-center"},p2={class:"item-title"},A2={class:"item-img-list"},y2={class:"btn-group"},w2={key:0,class:"drag-handle"},C2={key:0,class:"item-img-box"},b2=["src"],E2={class:"item-right flex-1"},B2=["onClick"],x2={class:"btn-text"},k2={class:"item-title"},V2=["src"],D2={class:"item-uplaod flex items-center"},S2=["src"],N2={class:"item-uplaod flex items-center"},T2=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>Ut)),l=e.ref(!1),s=e.computed(()=>({animation:200,group:"item",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".rich-text-editor, .arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),r=e.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),i=e.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),d=e.computed(()=>({animation:200,group:"categories",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),u=e.computed(()=>({animation:200,group:"images",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),m=I=>I&&I.length>1,p=n,{t:f}=de(p.locale),c=t,g=()=>{c("update:show",!1)},h=I=>{const S=p.data;I==="Article"?S.data.push({id:Y(),type:"Article",title:"",content:"",buttonList:[],linkList:[]}):I==="Contact"?S.data.push({id:Y(),type:"Contact",title:"",content:"",categories:[],linkList:[]}):I==="Image"?S.data.push({id:Y(),type:"Image",imgSrc:"",caption:"",alt:"",isRound:!1}):I==="ImageList"?S.data.push({id:Y(),type:"ImageList",imageList:[]}):I==="Video"&&S.data.push({id:Y(),type:"Video",videoSrc:"",imgSrc:""})},w=I=>{p.data.data=p.data.data.filter(S=>S.id!==I)},E=I=>{I.push({id:Y(),text:f("placeholder.view_more"),url:void 0})},x=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)},b=I=>{I.push({id:Y(),text:f("placeholder.view_more"),url:void 0})},A=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)},k=I=>{I.push({id:Y(),text:"分类"})},B=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)},C=I=>{I.push({id:Y(),src:""})},D=(I,S)=>{I.splice(I.findIndex(P=>P.id===S),1)};return(I,S)=>{const P=e.resolveComponent("a-switch"),Q=e.resolveComponent("a-option"),L=e.resolveComponent("a-select"),F=e.resolveComponent("icon-plus"),z=e.resolveComponent("a-button"),v=e.resolveComponent("a-button-group"),q=e.resolveComponent("icon-drag-arrow"),ee=e.resolveComponent("icon-delete"),U=e.resolveComponent("a-input"),H=e.resolveComponent("a-checkbox"),$=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock($,{width:500,visible:n.show,footer:!1,onCancel:g,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(f)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",Vw,[e.createElementVNode("div",Dw,[e.createElementVNode("span",Sw,e.toDisplayString(e.unref(f)("setting.only_show_pc")),1),e.createVNode(P,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":S[0]||(S[0]=R=>n.data.onlyShowPc=R)},null,8,["modelValue"])]),e.createElementVNode("div",Nw,[e.createElementVNode("span",Tw,e.toDisplayString(e.unref(f)("setting.only_show_mobile")),1),e.createVNode(P,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":S[1]||(S[1]=R=>n.data.onlyShowMobile=R)},null,8,["modelValue"])]),e.createElementVNode("div",Pw,[e.createElementVNode("span",Iw,e.toDisplayString(e.unref(f)("setting.component_width")),1),e.createVNode(L,{modelValue:n.data.width,"onUpdate:modelValue":S[2]||(S[2]=R=>n.data.width=R),placeholder:e.unref(f)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(Q,{value:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_default")),1)]),_:1}),e.createVNode(Q,{value:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_small")),1)]),_:1}),e.createVNode(Q,{value:"middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_middle")),1)]),_:1}),e.createVNode(Q,{value:"max"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.width_large")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",Mw,[e.createElementVNode("span",Lw,e.toDisplayString(e.unref(f)("setting.component_bg")),1),e.createVNode(L,{modelValue:n.data.bgColor,"onUpdate:modelValue":S[3]||(S[3]=R=>n.data.bgColor=R),placeholder:e.unref(f)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(Q,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.bg_white")),1)]),_:1}),e.createVNode(Q,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createVNode(v,{type:"primary"},{default:e.withCtx(()=>[e.createVNode(z,{size:"mini",onClick:S[4]||(S[4]=R=>h("Article"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[22]||(S[22]=e.createTextVNode(" Article ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[5]||(S[5]=R=>h("Contact"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[23]||(S[23]=e.createTextVNode(" Contact ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[6]||(S[6]=R=>h("Image"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[24]||(S[24]=e.createTextVNode(" Image ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[7]||(S[7]=R=>h("ImageList"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[25]||(S[25]=e.createTextVNode(" ImageList ",-1))]),_:1}),e.createVNode(z,{size:"mini",onClick:S[8]||(S[8]=R=>h("Video"))},{icon:e.withCtx(()=>[e.createVNode(F)]),default:e.withCtx(()=>[S[26]||(S[26]=e.createTextVNode(" Video ",-1))]),_:1})]),_:1}),e.createElementVNode("div",Qw,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":S[19]||(S[19]=R=>n.data.data=R),"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},s.value,{onStart:S[20]||(S[20]=R=>l.value=!0),onEnd:S[21]||(S[21]=R=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:R})=>[e.createElementVNode("div",Ow,[e.createElementVNode("p",Fw,e.toDisplayString(R.type),1),e.createElementVNode("div",Uw,[e.createElementVNode("div",Hw,[e.createVNode(q,{class:"drag-icon"})]),e.createVNode(ee,{class:"btn-delete",onClick:j=>w(R.id)},null,8,["onClick"])]),R.type==="Article"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("p",zw,e.toDisplayString(e.unref(f)("setting.title")),1),e.createVNode(U,{modelValue:R.title,"onUpdate:modelValue":j=>R.title=j,placeholder:e.unref(f)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",Rw,e.toDisplayString(e.unref(f)("setting.content")),1),e.createVNode(e.unref(a),{modelValue:R.content,"onUpdate:modelValue":j=>R.content=j,name:`ArticleList_editor_${R.id}`},null,8,["modelValue","onUpdate:modelValue","name"]),e.createElementVNode("p",vw,e.toDisplayString(e.unref(f)("setting.button")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.buttonList,"onUpdate:modelValue":j=>R.buttonList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},r.value,{disabled:!m(R.buttonList),onStart:S[9]||(S[9]=j=>l.value=!0),onEnd:S[10]||(S[10]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.buttonList)}]),key:j.id},[e.createElementVNode("div",jw,[m(R.buttonList)?(e.openBlock(),e.createElementBlock("div",Yw,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>x(R.buttonList,j.id)},null,8,["onClick"])]),e.createVNode(z,{type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",Gw,[e.createVNode(U,{class:"action-text",modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{modelValue:j.url,"onUpdate:modelValue":W=>j.url=W,placeholder:e.unref(f)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>E(R.buttonList)},[e.createVNode(F),e.createElementVNode("span",Kw,e.toDisplayString(e.unref(f)("setting.add")),1)],8,qw),e.createElementVNode("p",Ww,e.toDisplayString(e.unref(f)("setting.link")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.linkList,"onUpdate:modelValue":j=>R.linkList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},i.value,{disabled:!m(R.linkList),onStart:S[11]||(S[11]=j=>l.value=!0),onEnd:S[12]||(S[12]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.linkList)}]),key:j.id},[e.createElementVNode("div",Xw,[m(R.linkList)?(e.openBlock(),e.createElementBlock("div",Jw,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>A(R.linkList,j.id)},null,8,["onClick"])]),e.createVNode(z,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",Zw,[e.createVNode(U,{class:"action-text",modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{modelValue:j.url,"onUpdate:modelValue":W=>j.url=W,placeholder:e.unref(f)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>b(R.linkList)},[e.createVNode(F),e.createElementVNode("span",$w,e.toDisplayString(e.unref(f)("setting.add_link")),1)],8,_w)],64)):e.createCommentVNode("",!0),R.type==="Contact"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",e2,e.toDisplayString(e.unref(f)("setting.title")),1),e.createVNode(U,{modelValue:R.title,"onUpdate:modelValue":j=>R.title=j,placeholder:e.unref(f)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",t2,e.toDisplayString(e.unref(f)("setting.content")),1),e.createVNode(e.unref(a),{modelValue:R.content,"onUpdate:modelValue":j=>R.content=j,name:`ArticleList_editor_${R.id}`},null,8,["modelValue","onUpdate:modelValue","name"]),e.createElementVNode("p",n2,e.toDisplayString(e.unref(f)("setting.category")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.categories,"onUpdate:modelValue":j=>R.categories=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},d.value,{disabled:!m(R.categories),onStart:S[13]||(S[13]=j=>l.value=!0),onEnd:S[14]||(S[14]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.categories)}]),key:j.id},[e.createElementVNode("div",o2,[m(R.categories)?(e.openBlock(),e.createElementBlock("div",a2,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>B(R.categories,j.id)},null,8,["onClick"])]),e.createVNode(ee,{class:"btn-delete",onClick:W=>B(R.categories,j.id)},null,8,["onClick"]),e.createVNode(z,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",l2,[e.createVNode(U,{modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.category_name"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>k(R.categories)},[e.createVNode(F),e.createElementVNode("span",s2,e.toDisplayString(e.unref(f)("setting.add_category")),1)],8,i2),e.createElementVNode("p",r2,e.toDisplayString(e.unref(f)("setting.link")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:R.linkList,"onUpdate:modelValue":j=>R.linkList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},i.value,{disabled:!m(R.linkList),onStart:S[15]||(S[15]=j=>l.value=!0),onEnd:S[16]||(S[16]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!m(R.linkList)}]),key:j.id},[e.createElementVNode("div",d2,[m(R.linkList)?(e.openBlock(),e.createElementBlock("div",c2,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>A(R.linkList,j.id)},null,8,["onClick"])]),e.createVNode(z,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1024),e.createElementVNode("div",u2,[e.createVNode(U,{class:"action-text",modelValue:j.text,"onUpdate:modelValue":W=>j.text=W,placeholder:e.unref(f)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{modelValue:j.url,"onUpdate:modelValue":W=>j.url=W,placeholder:e.unref(f)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>b(R.linkList)},[e.createVNode(F),e.createElementVNode("span",h2,e.toDisplayString(e.unref(f)("setting.add_link")),1)],8,m2)],64)):e.createCommentVNode("",!0),R.type==="Image"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("img",{class:"item-img",src:R.imgSrc},null,8,f2),e.createElementVNode("div",g2,[e.createVNode(U,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,placeholder:e.unref(f)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,name:`ArticleList_${R.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(U,{class:"mt-2",modelValue:R.caption,"onUpdate:modelValue":j=>R.caption=j,placeholder:e.unref(f)("setting.image_caption"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(U,{class:"mt-2",modelValue:R.alt,"onUpdate:modelValue":j=>R.alt=j,placeholder:e.unref(f)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(H,{class:"pt-2",modelValue:R.isRound,"onUpdate:modelValue":j=>R.isRound=j},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(f)("setting.is_round")),1)]),_:1},8,["modelValue","onUpdate:modelValue"])],64)):e.createCommentVNode("",!0),R.type==="ImageList"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("p",p2,e.toDisplayString(e.unref(f)("setting.image_group")),1),e.createElementVNode("div",A2,[e.createVNode(e.unref(o),e.mergeProps({modelValue:R.imageList,"onUpdate:modelValue":j=>R.imageList=j,"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},u.value,{disabled:!m(R.imageList),onStart:S[17]||(S[17]=j=>l.value=!0),onEnd:S[18]||(S[18]=j=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:j})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["img-list-item flex draggable-item",{"sortable-disabled":!m(R.imageList)}]),key:j.id},[e.createElementVNode("div",y2,[m(R.imageList)?(e.openBlock(),e.createElementBlock("div",w2,[e.createVNode(q,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(ee,{class:"btn-delete",onClick:W=>D(R.imageList,j.id)},null,8,["onClick"])]),j.src?(e.openBlock(),e.createElementBlock("div",C2,[e.createElementVNode("img",{class:"item-img small-img",src:j.src},null,8,b2)])):e.createCommentVNode("",!0),e.createElementVNode("div",E2,[e.createVNode(U,{style:{"margin-bottom":"12px"},modelValue:j.src,"onUpdate:modelValue":W=>j.src=W,placeholder:e.unref(f)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:j.src,"onUpdate:modelValue":W=>j.src=W,name:`ArticleList_${j.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"])]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:j=>C(R.imageList)},[e.createVNode(F),e.createElementVNode("span",x2,e.toDisplayString(e.unref(f)("setting.add_image")),1)],8,B2)],64)):e.createCommentVNode("",!0),R.type==="Video"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createElementVNode("p",k2,e.toDisplayString(e.unref(f)("setting.video")),1),e.createElementVNode("video",{class:"item-img",src:R.videoSrc,controls:""},null,8,V2),e.createElementVNode("div",D2,[e.createVNode(U,{modelValue:R.videoSrc,"onUpdate:modelValue":j=>R.videoSrc=j,placeholder:e.unref(f)("setting.input_video_url"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:R.videoSrc,"onUpdate:modelValue":j=>R.videoSrc=j,name:`ArticleList_${R.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createElementVNode("img",{class:"item-img",src:R.imgSrc},null,8,S2),e.createElementVNode("div",N2,[e.createVNode(U,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,placeholder:e.unref(f)("setting.video_cover"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:R.imgSrc,"onUpdate:modelValue":j=>R.imgSrc=j,name:`ArticleList_${R.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])])],64)):e.createCommentVNode("",!0)])]),_:1},16,["modelValue","component-data"])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-bc6fc8f7"]]),P2={class:"operate-page operate-component"},I2={class:"operate-btn d-flex justify-end"},Ve=te(e.defineComponent({__name:"index",props:{show:{type:Boolean,default:!1},locale:{type:String,default:"sc"}},emits:["handleCopy","handleDelete","handleEdit","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{l("handleCopy")},r=()=>{l("handleDelete")},i=()=>{l("handleEdit")},d=u=>{l("handlePaste",u)};return(u,m)=>{const p=e.resolveComponent("icon-copy"),f=e.resolveComponent("a-tooltip"),c=e.resolveComponent("icon-delete"),g=e.resolveComponent("icon-edit"),h=e.resolveComponent("icon-arrow-up"),w=e.resolveComponent("icon-arrow-down");return e.withDirectives((e.openBlock(),e.createElementBlock("div",P2,[e.createElementVNode("div",I2,[e.createElementVNode("div",{class:"btn-item btn-copy d-flex align-center fs-10",onClick:e.withModifiers(s,["stop"])},[e.createVNode(f,{content:e.unref(a)("operate.copy"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-delete d-flex align-center fs-10",onClick:e.withModifiers(r,["stop"])},[e.createVNode(f,{content:e.unref(a)("operate.delete"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-edit d-flex align-center fs-10",onClick:e.withModifiers(i,["stop"])},[e.createVNode(f,{content:e.unref(a)("operate.edit"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(g)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-paste d-flex align-center fs-10",onClick:m[0]||(m[0]=e.withModifiers(E=>d("top"),["stop"]))},[e.createVNode(f,{content:e.unref(a)("operate.paste_above"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(h)]),_:1},8,["content"])]),e.createElementVNode("div",{class:"btn-item btn-paste d-flex align-center fs-10",onClick:m[1]||(m[1]=e.withModifiers(E=>d("bottom"),["stop"]))},[e.createVNode(f,{content:e.unref(a)("operate.paste_below"),position:"bottom"},{default:e.withCtx(()=>[e.createVNode(w)]),_:1},8,["content"])])])],512)),[[e.vShow,n.show]])}}}),[["__scopeId","data-v-6a332d29"]]),M2={class:"article-list-left"},L2={class:"left-list"},Q2={key:0,class:"article-list-right"},O2={class:"right-list"},pi=te(e.defineComponent({name:"ArticleList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste","handleClick"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=e.computed(()=>o.modelValue&&o.modelValue.data&&o.modelValue.data.length?o.modelValue.data.some(g=>g.type!=="Article"&&g.type!=="Contact"):!1),r=()=>{var h;if(o.modelValue&&o.modelValue.data)return;const g={id:((h=o.modelValue)==null?void 0:h.id)||Y(),type:"ArticleList",onlyShowPc:!1,onlyShowMobile:!1,width:"",bgColor:"",data:[{id:Y(),type:"Article",title:a("placeholder.title_here"),content:a("placeholder.content_here"),buttonList:[],linkList:[{id:Y(),text:a("placeholder.link_name"),url:""}]},{id:Y(),type:"Image",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",caption:"",alt:"",isRound:!1}]};l("update:modelValue",g)},i=e.computed(()=>{var g,h;return o.isPreview?(g=o.modelValue)!=null&&g.onlyShowPc?!ce():(h=o.modelValue)!=null&&h.onlyShowMobile?ce():!0:!0}),d=e.ref(!1),u=e.ref(!1),m=()=>{l("handleDelete",o.modelValue.id)},p=()=>{l("handleCopy",o.modelValue)},f=g=>{l("handlePaste",g)},c=g=>{l("handleClick",g)};return r(),(g,h)=>{var E,x,b;const w=e.resolveComponent("a-row");return e.openBlock(),e.createElementBlock(e.Fragment,null,[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"article-list-container",style:e.normalizeStyle({backgroundColor:((E=n.modelValue)==null?void 0:E.bgColor)||"transparent"}),onMouseenter:h[2]||(h[2]=A=>d.value=!0),onMouseleave:h[3]||(h[3]=A=>d.value=!1)},[e.createVNode(w,{class:e.normalizeClass(["article-list",[(x=n.modelValue)!=null&&x.width?`container-content-${(b=n.modelValue)==null?void 0:b.width}`:"container-content"]])},{default:e.withCtx(()=>{var A,k;return[e.createElementVNode("div",M2,[e.createElementVNode("ul",L2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((A=n.modelValue)==null?void 0:A.data,B=>(e.openBlock(),e.createElementBlock("li",{key:B.id,class:"left-item"},[B.type==="Article"?(e.openBlock(),e.createBlock(dw,{key:0,article:B,isPreview:n.isPreview,onHandleClick:c},null,8,["article","isPreview"])):e.createCommentVNode("",!0),B.type==="Contact"?(e.openBlock(),e.createBlock(gw,{key:1,contact:B,isPreview:n.isPreview,onHandleClick:c},null,8,["contact","isPreview"])):e.createCommentVNode("",!0)]))),128))])]),s.value?(e.openBlock(),e.createElementBlock("div",Q2,[e.createElementVNode("ul",O2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((k=n.modelValue)==null?void 0:k.data,B=>(e.openBlock(),e.createElementBlock("li",{key:B.id,class:"right-item"},[e.createVNode(kw,{type:B.type,data:B,preview:n.isPreview},null,8,["type","data","preview"])]))),128))])])):e.createCommentVNode("",!0)]}),_:1},8,["class"]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:d.value,"onUpdate:show":h[0]||(h[0]=A=>d.value=A),locale:n.locale,onHandleEdit:h[1]||(h[1]=A=>u.value=!0),onHandleDelete:m,onHandleCopy:p,onHandlePaste:f},null,8,["show","locale"]))],36)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(T2,{key:1,show:u.value,"onUpdate:show":h[4]||(h[4]=A=>u.value=A),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-900ca624"]]),F2=Object.freeze(Object.defineProperty({__proto__:null,default:pi},Symbol.toStringTag,{value:"Module"})),U2={class:"banner-quicklinks"},H2={class:"quick-links__list is-big"},tf=te(e.defineComponent({__name:"index",props:{data:{type:Array,default:()=>[]},isPreview:{type:Boolean,default:!0}},emits:["handleClick"],setup(n,{emit:t}){const o=n,a=t,l=f=>{a("handleClick",f)},s=e.ref(null),r=e.ref(!1),i=e.ref(!1),d=()=>{const f=s.value;f&&(r.value=f.scrollLeft>0,i.value=f.scrollLeft+f.clientWidth<f.scrollWidth)},u=()=>{const f=s.value;f&&f.scrollBy({left:-f.clientWidth/1.5,behavior:"smooth"})},m=()=>{const f=s.value;f&&f.scrollBy({left:f.clientWidth/1.5,behavior:"smooth"})},p=()=>{d()};return e.watch(()=>o.data,async()=>{await e.nextTick(),d()}),e.onMounted(()=>{typeof window<"u"&&window.addEventListener("resize",d),e.nextTick(d)}),e.onUnmounted(()=>{typeof window<"u"&&window.removeEventListener("resize",d)}),(f,c)=>(e.openBlock(),e.createElementBlock("div",U2,[e.withDirectives(e.createElementVNode("div",{class:"quick-links__nav__prev",onClick:u},null,512),[[e.vShow,r.value]]),e.createElementVNode("div",{class:"quick-links__wrapper",ref_key:"quickLinksWrapperRef",ref:s,onScroll:p},[e.createElementVNode("div",H2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.data,g=>(e.openBlock(),e.createBlock(Uo,{key:g.id,data:g,hasHoverBg:!1,isPreview:n.isPreview,onHandleClick:l},null,8,["data","isPreview"]))),128))])],544),e.withDirectives(e.createElementVNode("div",{class:"quick-links__nav__next",onClick:m},null,512),[[e.vShow,i.value]])]))}}),[["__scopeId","data-v-2705de92"]]),z2={class:"setting-header flex items-center mb-10"},R2={class:"header-title"},v2={class:"setting-header flex items-center"},j2={class:"header-title"},Y2={class:"setting-content"},G2={class:"item-title"},q2={class:"item-title"},K2=["src"],W2={class:"item-uplaod flex items-center"},X2={class:"setting-body"},J2={class:"setting-item"},Z2={class:"item-title"},_2={class:"btn-group"},$2={key:0,class:"drag-handle"},eC={class:"item-action flex items-center"},tC={class:"btn-text"},nC=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=n,{t:l}=de(a.locale),s=t,r=e.ref(!1),i=e.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),d=f=>f&&f.length>1,u=f=>{f.push({id:Y(),text:l("btn.view_more"),url:void 0})},m=(f,c)=>{f.splice(f.findIndex(g=>g.id===c),1)},p=()=>{s("update:show",!1)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-input"),w=e.resolveComponent("icon-drag-arrow"),E=e.resolveComponent("icon-delete"),x=e.resolveComponent("a-button"),b=e.resolveComponent("icon-plus"),A=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(A,{width:500,visible:n.show,footer:!1,onCancel:p,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(l)("setting.component_edit")),1)]),default:e.withCtx(()=>{var k,B;return[e.createElementVNode("div",z2,[e.createElementVNode("span",R2,e.toDisplayString(e.unref(l)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=C=>n.data.onlyShowPc=C)},null,8,["modelValue"])]),e.createElementVNode("div",v2,[e.createElementVNode("span",j2,e.toDisplayString(e.unref(l)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=C=>n.data.onlyShowMobile=C)},null,8,["modelValue"])]),e.createElementVNode("div",Y2,[e.createElementVNode("p",G2,e.toDisplayString(e.unref(l)("setting.title")),1),e.createVNode(h,{modelValue:n.data.data.title,"onUpdate:modelValue":c[2]||(c[2]=C=>n.data.data.title=C),placeholder:e.unref(l)("setting.input_title"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createElementVNode("p",q2,e.toDisplayString(e.unref(l)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:(B=(k=n.data)==null?void 0:k.data)==null?void 0:B.imgSrc},null,8,K2),e.createElementVNode("div",W2,[e.createVNode(h,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":c[3]||(c[3]=C=>n.data.data.imgSrc=C),placeholder:e.unref(l)("setting.image_link"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createVNode(We,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":c[4]||(c[4]=C=>n.data.data.imgSrc=C),name:"bannerImage"},null,8,["modelValue"])]),e.createElementVNode("div",X2,[e.createElementVNode("div",J2,[e.createElementVNode("p",Z2,e.toDisplayString(e.unref(l)("setting.link")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data.linkList,"onUpdate:modelValue":c[5]||(c[5]=C=>n.data.data.linkList=C),"component-data":{tag:"div",type:"transition-group",name:r.value?null:"flip-list"}},i.value,{disabled:!d(n.data.data.linkList),onStart:c[6]||(c[6]=C=>r.value=!0),onEnd:c[7]||(c[7]=C=>r.value=!1),"item-key":"id"}),{item:e.withCtx(({element:C})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!d(n.data.data.linkList)}]),key:C.id},[e.createElementVNode("div",_2,[d(n.data.data.linkList)?(e.openBlock(),e.createElementBlock("div",$2,[e.createVNode(w,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(E,{class:"btn-delete",onClick:D=>m(n.data.data.linkList,C.id)},null,8,["onClick"])]),e.createVNode(x,{type:"text"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.text),1)]),_:2},1024),e.createElementVNode("div",eC,[e.createVNode(h,{class:"action-text",modelValue:C.text,"onUpdate:modelValue":D=>C.text=D,placeholder:e.unref(l)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(h,{modelValue:C.url,"onUpdate:modelValue":D=>C.url=D,placeholder:e.unref(l)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:c[8]||(c[8]=C=>u(n.data.data.linkList))},[e.createVNode(b),e.createElementVNode("span",tC,e.toDisplayString(e.unref(l)("setting.add_link")),1)])])])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-69b80a10"]]),oC={class:"banner-image__title is-zh"},Rs=te(e.defineComponent({name:"BannerImage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var g;if(o.modelValue&&o.modelValue.data)return;const c={id:((g=o.modelValue)==null?void 0:g.id)||Y(),type:"BannerImage",onlyShowPc:!1,onlyShowMobile:!1,data:{title:a("placeholder.title_here"),imgSrc:"https://osswebsite-test.cedim.cn/ywies-tx/static-images/about-ywies/01_About_YWIES_1_Header.jpg",linkList:[{id:Y(),text:a("placeholder.link_name"),url:""}]}};l("update:modelValue",c)},r=e.computed(()=>{var c,g;return o.isPreview?(c=o.modelValue)!=null&&c.onlyShowPc?!ce():(g=o.modelValue)!=null&&g.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=c=>{l("handlePaste",c)},f=c=>{l("handleClick",c)};return s(),(c,g)=>{var h,w,E,x,b,A,k,B,C;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"banner-image",onMouseenter:g[2]||(g[2]=D=>i.value=!0),onMouseleave:g[3]||(g[3]=D=>i.value=!1)},[e.createElementVNode("div",{class:"banner-image__image",style:e.normalizeStyle({backgroundImage:"url("+((w=(h=n.modelValue)==null?void 0:h.data)==null?void 0:w.imgSrc)+")","background-position":"center"})},[e.createElementVNode("div",oC,e.toDisplayString((x=(E=n.modelValue)==null?void 0:E.data)==null?void 0:x.title),1)],4),(k=(A=(b=n.modelValue)==null?void 0:b.data)==null?void 0:A.linkList)!=null&&k.length?(e.openBlock(),e.createBlock(tf,{key:0,data:(C=(B=n.modelValue)==null?void 0:B.data)==null?void 0:C.linkList,isPreview:n.isPreview,onHandleClick:f},null,8,["data","isPreview"])):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:1,show:i.value,"onUpdate:show":g[0]||(g[0]=D=>i.value=D),locale:n.locale,onHandleEdit:g[1]||(g[1]=D=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],32)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(nC,{key:1,show:d.value,"onUpdate:show":g[4]||(g[4]=D=>d.value=D),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-f49273d8"]]),aC=Object.freeze(Object.defineProperty({__proto__:null,default:Rs},Symbol.toStringTag,{value:"Module"})),lC={class:"setting-header flex items-center mb-10"},iC={class:"header-title"},sC={class:"setting-header flex items-center"},rC={class:"header-title"},dC={class:"setting-content"},cC={class:"item-title"},uC={class:"item-title"},mC=["src"],hC={class:"item-uplaod flex items-center"},fC=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{l("update:show",!1)};return(r,i)=>{const d=e.resolveComponent("a-switch"),u=e.resolveComponent("a-input"),m=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(m,{width:500,visible:n.show,footer:!1,onCancel:s,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(a)("setting.component_edit")),1)]),default:e.withCtx(()=>{var p,f;return[e.createElementVNode("div",lC,[e.createElementVNode("span",iC,e.toDisplayString(e.unref(a)("setting.only_show_pc")),1),e.createVNode(d,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":i[0]||(i[0]=c=>n.data.onlyShowPc=c)},null,8,["modelValue"])]),e.createElementVNode("div",sC,[e.createElementVNode("span",rC,e.toDisplayString(e.unref(a)("setting.only_show_mobile")),1),e.createVNode(d,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":i[1]||(i[1]=c=>n.data.onlyShowMobile=c)},null,8,["modelValue"])]),e.createElementVNode("div",dC,[e.createElementVNode("p",cC,e.toDisplayString(e.unref(a)("setting.title")),1),e.createVNode(u,{modelValue:n.data.data.title,"onUpdate:modelValue":i[2]||(i[2]=c=>n.data.data.title=c),placeholder:e.unref(a)("setting.input_title"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createElementVNode("p",uC,e.toDisplayString(e.unref(a)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:(f=(p=n.data)==null?void 0:p.data)==null?void 0:f.imgSrc},null,8,mC),e.createElementVNode("div",hC,[e.createVNode(u,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":i[3]||(i[3]=c=>n.data.data.imgSrc=c),placeholder:e.unref(a)("setting.image_link"),"allow-clear":""},null,8,["modelValue","placeholder"]),e.createVNode(We,{modelValue:n.data.data.imgSrc,"onUpdate:modelValue":i[4]||(i[4]=c=>n.data.data.imgSrc=c),name:"BannerPage","button-class":"fit-content"},null,8,["modelValue"])])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-8982f7ec"]]),gC={class:"red"},pC={class:"banner-page__title"},AC={class:"position-absolute triangle-position"},yC={class:"position-relative h-100 banner-strips"},vs=te(e.defineComponent({name:"BannerPage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var c;if(o.modelValue&&o.modelValue.data)return;const f={id:((c=o.modelValue)==null?void 0:c.id)||Y(),type:"BannerPage",onlyShowPc:!1,onlyShowMobile:!1,data:{title:a("placeholder.title_here"),imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg"}};l("update:modelValue",f)},r=e.computed(()=>{var f,c;return o.isPreview?(f=o.modelValue)!=null&&f.onlyShowPc?!ce():(c=o.modelValue)!=null&&c.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=f=>{l("handlePaste",f)};return s(),(f,c)=>{var g,h,w,E;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"banner-page",onMouseenter:c[2]||(c[2]=x=>i.value=!0),onMouseleave:c[3]||(c[3]=x=>i.value=!1)},[e.createElementVNode("div",gC,[e.createElementVNode("p",pC,e.toDisplayString((h=(g=n.modelValue)==null?void 0:g.data)==null?void 0:h.title),1)]),c[6]||(c[6]=e.createElementVNode("div",{class:"orange"},null,-1)),e.createElementVNode("div",AC,[e.createElementVNode("div",yC,[c[5]||(c[5]=e.createElementVNode("img",{src:"https://ywies-tx.cedim.cn/images/material/banner-strips.png",alt:""},null,-1)),e.createElementVNode("div",{class:"triangle",style:e.normalizeStyle({backgroundImage:"url("+((E=(w=n.modelValue)==null?void 0:w.data)==null?void 0:E.imgSrc)+")"}),"data-v-24231ec2":""},null,4)])]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=x=>i.value=x),locale:n.locale,onHandleEdit:c[1]||(c[1]=x=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],32)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fC,{key:1,show:d.value,"onUpdate:show":c[4]||(c[4]=x=>d.value=x),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-9edc0255"]]),wC=Object.freeze(Object.defineProperty({__proto__:null,default:vs},Symbol.toStringTag,{value:"Module"})),CC={class:"setting-content"},bC={class:"setting-header flex items-center mb-10"},EC={class:"header-title"},BC={class:"setting-header flex items-center"},xC={class:"header-title"},kC={class:"setting-header flex items-center"},VC={class:"header-title"},DC={class:"setting-header flex items-center"},SC={class:"header-title"},NC={class:"setting-header flex items-center"},TC={class:"header-title"},PC={class:"setting-body"},IC={class:"setting-item"},MC={class:"item-name"},LC={class:"btn-group"},QC={key:0,class:"drag-handle"},OC={class:"item-action flex items-center"},FC=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:"sc"}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.ref(!1),l=e.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),s=f=>f&&f.length>1,r=n,{t:i}=de(r.locale),d=t,u=()=>{d("update:show",!1)},m=f=>{r.data.data.push({id:Y(),type:f,text:i("placeholder.view_more"),url:void 0})},p=f=>{r.data.data=r.data.data.filter(c=>c.id!==f)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-option"),w=e.resolveComponent("a-select"),E=e.resolveComponent("icon-plus"),x=e.resolveComponent("a-button"),b=e.resolveComponent("a-button-group"),A=e.resolveComponent("icon-drag-arrow"),k=e.resolveComponent("icon-delete"),B=e.resolveComponent("a-input"),C=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(C,{width:500,visible:n.show,footer:!1,onCancel:u,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(i)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",CC,[e.createElementVNode("div",bC,[e.createElementVNode("span",EC,e.toDisplayString(e.unref(i)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=D=>n.data.onlyShowPc=D)},null,8,["modelValue"])]),e.createElementVNode("div",BC,[e.createElementVNode("span",xC,e.toDisplayString(e.unref(i)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=D=>n.data.onlyShowMobile=D)},null,8,["modelValue"])]),e.createElementVNode("div",kC,[e.createElementVNode("span",VC,e.toDisplayString(e.unref(i)("setting.component_width")),1),e.createVNode(w,{modelValue:n.data.width,"onUpdate:modelValue":c[2]||(c[2]=D=>n.data.width=D),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_default")),1)]),_:1}),e.createVNode(h,{value:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_small")),1)]),_:1}),e.createVNode(h,{value:"middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_middle")),1)]),_:1}),e.createVNode(h,{value:"max"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_large")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",DC,[e.createElementVNode("span",SC,e.toDisplayString(e.unref(i)("setting.component_bg")),1),e.createVNode(w,{modelValue:n.data.bgColor,"onUpdate:modelValue":c[3]||(c[3]=D=>n.data.bgColor=D),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_white")),1)]),_:1}),e.createVNode(h,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",NC,[e.createElementVNode("span",TC,e.toDisplayString(e.unref(i)("setting.centered")),1),e.createVNode(w,{modelValue:n.data.center,"onUpdate:modelValue":c[4]||(c[4]=D=>n.data.center=D),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.centered")),1)]),_:1}),e.createVNode(h,{value:!1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_default")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createVNode(b,{type:"primary"},{default:e.withCtx(()=>[e.createVNode(x,{size:"mini",onClick:c[5]||(c[5]=D=>m(""))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_default")),1)]),_:1}),e.createVNode(x,{size:"mini",onClick:c[6]||(c[6]=D=>m("white"))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_white")),1)]),_:1}),e.createVNode(x,{size:"mini",onClick:c[7]||(c[7]=D=>m("light"))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_light")),1)]),_:1}),e.createVNode(x,{size:"mini",onClick:c[8]||(c[8]=D=>m("blue"))},{icon:e.withCtx(()=>[e.createVNode(E)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(i)("setting.btn_blue")),1)]),_:1})]),_:1}),e.createElementVNode("div",PC,[e.createElementVNode("div",IC,[e.createElementVNode("p",MC,e.toDisplayString(e.unref(i)("setting.button")),1),e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":c[9]||(c[9]=D=>n.data.data=D),"component-data":{tag:"div",type:"transition-group",name:a.value?null:"flip-list"}},l.value,{disabled:!s(n.data.data),onStart:c[10]||(c[10]=D=>a.value=!0),onEnd:c[11]||(c[11]=D=>a.value=!1),"item-key":"id"}),{item:e.withCtx(({element:D})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!s(n.data.data)}]),key:D.id},[e.createElementVNode("div",LC,[s(n.data.data)?(e.openBlock(),e.createElementBlock("div",QC,[e.createVNode(A,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(k,{class:"btn-delete",onClick:I=>p(D.id)},null,8,["onClick"])]),e.createVNode(x,{type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.text),1)]),_:2},1024),e.createElementVNode("div",OC,[e.createVNode(B,{class:"action-text",modelValue:D.text,"onUpdate:modelValue":I=>D.text=I,placeholder:e.unref(i)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(B,{modelValue:D.url,"onUpdate:modelValue":I=>D.url=I,placeholder:e.unref(i)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-6d73045a"]]),UC={class:"btn-list__row"},HC=["href"],zC={class:"btn-primary__text"},RC=["onClick"],vC={class:"btn-primary__text"},nu=te(e.defineComponent({__name:"btnList",props:{list:{},isPreview:{}},emits:["handleClick"],setup(n,{emit:t}){const o=n,a=t,l=s=>{!s||!o.isPreview||(s.startsWith("http")?typeof window<"u"&&window.open(s,"_blank"):a("handleClick",s))};return(s,r)=>(e.openBlock(),e.createElementBlock("div",UC,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.list,i=>(e.openBlock(),e.createElementBlock("div",{class:"btn-list__item",key:i.id},[i.url&&i.url.includes("http")&&n.isPreview?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.url,class:e.normalizeClass(["size-normal btn-primary",[i.type?`btn-primary--${i.type}`:""]])},[e.createElementVNode("div",zC,e.toDisplayString(i.text),1),r[0]||(r[0]=e.createElementVNode("span",{class:"btn-primary__icon"},null,-1))],10,HC)):(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d=>l(i.url||""),class:e.normalizeClass(["size-normal btn-primary",[i.type?`btn-primary--${i.type}`:""]])},[e.createElementVNode("div",vC,e.toDisplayString(i.text),1),r[1]||(r[1]=e.createElementVNode("span",{class:"btn-primary__icon"},null,-1))],10,RC))]))),128))]))}}),[["__scopeId","data-v-d2365405"]]),Ai=te(e.defineComponent({name:"BtnList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste","handleClick"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var g;if(o.modelValue&&o.modelValue.data)return;const c={id:((g=o.modelValue)==null?void 0:g.id)||Y(),type:"BtnList",onlyShowPc:!1,onlyShowMobile:!1,width:"",bgColor:"",center:!0,data:[{id:Y(),type:"",text:a("placeholder.button_name"),url:""},{id:Y(),type:"white",text:a("placeholder.button_name"),url:""},{id:Y(),type:"light",text:a("placeholder.button_name"),url:""},{id:Y(),type:"blue",text:a("placeholder.button_name"),url:""}]};l("update:modelValue",c)},r=e.computed(()=>{var c,g;return o.isPreview?(c=o.modelValue)!=null&&c.onlyShowPc?!ce():(g=o.modelValue)!=null&&g.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=c=>{l("handlePaste",c)},f=c=>{l("handleClick",c)};return s(),(c,g)=>{var h,w,E,x,b;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["btn-list",[((h=n.modelValue)==null?void 0:h.center)&&"center"]]),style:e.normalizeStyle({backgroundColor:((w=n.modelValue)==null?void 0:w.bgColor)||"transparent"}),onMouseenter:g[2]||(g[2]=A=>i.value=!0),onMouseleave:g[3]||(g[3]=A=>i.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["btn-list__container",[(E=n.modelValue)!=null&&E.width?`container-content-${(x=n.modelValue)==null?void 0:x.width}`:"container-content"]])},[e.createVNode(nu,{list:(b=n.modelValue)==null?void 0:b.data,isPreview:n.isPreview,onHandleClick:f},null,8,["list","isPreview"])],2),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":g[0]||(g[0]=A=>i.value=A),locale:n.locale,onHandleEdit:g[1]||(g[1]=A=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],38)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(FC,{key:1,show:d.value,"onUpdate:show":g[4]||(g[4]=A=>d.value=A),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-ae219b0a"]]),jC=Object.freeze(Object.defineProperty({__proto__:null,default:Ai},Symbol.toStringTag,{value:"Module"})),YC={class:"setting-content"},GC={class:"setting-header flex items-center mb-10"},qC={class:"header-title"},KC={class:"setting-header flex items-center"},WC={class:"header-title"},XC={class:"setting-header flex items-center"},JC={class:"header-title"},ZC={class:"setting-header flex items-center"},_C={class:"header-title"},$C={class:"setting-header flex items-center"},eb={class:"header-title"},tb={class:"setting-body"},nb={class:"setting-item"},ob={class:"btn-group"},ab={key:0,class:"drag-handle"},lb={class:"item-title"},ib={class:"item-title"},sb={class:"item-title"},rb=["src"],db={class:"item-uplaod flex items-center"},cb={class:"btn-text"},ub=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.ref(!1),l=e.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),s=f=>f&&f.length>1,r=n,{t:i}=de(r.locale),d=t,u=()=>{d("update:show",!1)},m=()=>{r.data.data.push({id:Y(),title:i("placeholder.title"),subtitle:i("placeholder.subtitle"),imgSrc:void 0,alt:""})},p=f=>{r.data.data=r.data.data.filter(c=>c.id!==f)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-option"),w=e.resolveComponent("a-select"),E=e.resolveComponent("a-input"),x=e.resolveComponent("icon-drag-arrow"),b=e.resolveComponent("icon-delete"),A=e.resolveComponent("icon-plus"),k=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(k,{width:500,visible:n.show,footer:!1,onCancel:u,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(i)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",YC,[e.createElementVNode("div",GC,[e.createElementVNode("span",qC,e.toDisplayString(e.unref(i)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=B=>n.data.onlyShowPc=B)},null,8,["modelValue"])]),e.createElementVNode("div",KC,[e.createElementVNode("span",WC,e.toDisplayString(e.unref(i)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=B=>n.data.onlyShowMobile=B)},null,8,["modelValue"])]),e.createElementVNode("div",XC,[e.createElementVNode("span",JC,e.toDisplayString(e.unref(i)("setting.component_bg")),1),e.createVNode(w,{modelValue:n.data.bgColor,"onUpdate:modelValue":c[2]||(c[2]=B=>n.data.bgColor=B),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_white")),1)]),_:1}),e.createVNode(h,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",ZC,[e.createElementVNode("span",_C,e.toDisplayString(e.unref(i)("setting.pc_columns")),1),e.createVNode(E,{modelValue:n.data.desktopCol,"onUpdate:modelValue":c[3]||(c[3]=B=>n.data.desktopCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",$C,[e.createElementVNode("span",eb,e.toDisplayString(e.unref(i)("setting.mobile_columns")),1),e.createVNode(E,{modelValue:n.data.mobileCol,"onUpdate:modelValue":c[4]||(c[4]=B=>n.data.mobileCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",tb,[e.createElementVNode("div",nb,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":c[5]||(c[5]=B=>n.data.data=B),"component-data":{tag:"div",type:"transition-group",name:a.value?null:"flip-list"}},l.value,{disabled:!s(n.data.data),onStart:c[6]||(c[6]=B=>a.value=!0),onEnd:c[7]||(c[7]=B=>a.value=!1),"item-key":"id"}),{item:e.withCtx(({element:B})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!s(n.data.data)}]),key:B.id},[e.createElementVNode("div",ob,[s(n.data.data)?(e.openBlock(),e.createElementBlock("div",ab,[e.createVNode(x,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(b,{class:"btn-delete",onClick:C=>p(B.id)},null,8,["onClick"])]),e.createElementVNode("p",lb,e.toDisplayString(e.unref(i)("setting.title")),1),e.createVNode(E,{modelValue:B.title,"onUpdate:modelValue":C=>B.title=C,placeholder:e.unref(i)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",ib,e.toDisplayString(e.unref(i)("setting.subtitle")),1),e.createVNode(E,{modelValue:B.subtitle,"onUpdate:modelValue":C=>B.subtitle=C,placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",sb,e.toDisplayString(e.unref(i)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:B.imgSrc},null,8,rb),e.createElementVNode("div",db,[e.createVNode(E,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,placeholder:e.unref(i)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,name:`GalleryDefault_${B.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(E,{class:"mt-2",modelValue:B.alt,"onUpdate:modelValue":C=>B.alt=C,placeholder:e.unref(i)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:c[8]||(c[8]=B=>m())},[e.createVNode(A),e.createElementVNode("span",cb,e.toDisplayString(e.unref(i)("setting.add")),1)])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-2c2c9162"]]),mb={class:"container-content"},hb={class:"gallery-default"},fb={class:"img-wrapper need-mask"},gb=["src","alt"],pb={class:"img-wrapper__content"},Ab={class:"img-wrapper__content__title"},yb={class:"img-wrapper__content__subtitle"},js=te(e.defineComponent({name:"GalleryDefault",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var c;if(o.modelValue&&o.modelValue.data)return;const f={id:((c=o.modelValue)==null?void 0:c.id)||Y(),type:"GalleryDefault",onlyShowPc:!1,onlyShowMobile:!1,bgColor:"",desktopCol:3,mobileCol:2,data:[{id:Y(),title:a("placeholder.title"),subtitle:a("placeholder.subtitle"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:""},{id:Y(),title:a("placeholder.title"),subtitle:a("placeholder.subtitle"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:""}]};l("update:modelValue",f)},r=e.computed(()=>{var f,c;return o.isPreview?(f=o.modelValue)!=null&&f.onlyShowPc?!ce():(c=o.modelValue)!=null&&c.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=f=>{l("handlePaste",f)};return s(),(f,c)=>{var g,h,w,E;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"gallery-list",style:e.normalizeStyle({backgroundColor:((g=n.modelValue)==null?void 0:g.bgColor)||"transparent"}),onMouseenter:c[2]||(c[2]=x=>i.value=!0),onMouseleave:c[3]||(c[3]=x=>i.value=!1)},[e.createElementVNode("div",mb,[e.createElementVNode("div",{class:e.normalizeClass(["default-row row",[`row-cols-${(h=n.modelValue)==null?void 0:h.mobileCol}`,`row-cols-md-${(w=n.modelValue)==null?void 0:w.desktopCol}`]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=n.modelValue)==null?void 0:E.data,x=>(e.openBlock(),e.createElementBlock("div",{key:x.id,class:"col"},[e.createElementVNode("div",hb,[e.createElementVNode("div",fb,[e.createElementVNode("img",{src:x.imgSrc,alt:x.alt},null,8,gb),e.createElementVNode("div",pb,[e.createElementVNode("div",Ab,e.toDisplayString(x.title),1),e.createElementVNode("h5",yb,e.toDisplayString(x.subtitle),1)])])])]))),128))],2)]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=x=>i.value=x),locale:n.locale,onHandleEdit:c[1]||(c[1]=x=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],36)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ub,{key:1,show:d.value,"onUpdate:show":c[4]||(c[4]=x=>d.value=x),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-b84e4b2f"]]),wb=Object.freeze(Object.defineProperty({__proto__:null,default:js},Symbol.toStringTag,{value:"Module"})),Cb={class:"setting-content"},bb={class:"setting-header flex items-center mb-10"},Eb={class:"header-title"},Bb={class:"setting-header flex items-center"},xb={class:"header-title"},kb={class:"setting-header flex items-center"},Vb={class:"header-title"},Db={class:"setting-header flex items-center"},Sb={class:"header-title"},Nb={class:"setting-header flex items-center"},Tb={class:"header-title"},Pb={class:"setting-header flex items-center"},Ib={class:"header-title"},Mb={class:"setting-body"},Lb={class:"setting-item"},Qb={class:"btn-group"},Ob={key:0,class:"drag-handle"},Fb={class:"item-title"},Ub={class:"item-title"},Hb={class:"item-title"},zb=["src"],Rb={class:"item-uplaod flex items-center"},vb={class:"btn-text"},jb=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.ref(!1),l=e.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),s=f=>f&&f.length>1,r=n,{t:i}=de(r.locale),d=t,u=()=>{d("update:show",!1)},m=()=>{r.data.data.push({id:Y(),title:i("placeholder.title"),url:"",imgSrc:void 0,alt:""})},p=f=>{r.data.data=r.data.data.filter(c=>c.id!==f)};return(f,c)=>{const g=e.resolveComponent("a-switch"),h=e.resolveComponent("a-option"),w=e.resolveComponent("a-select"),E=e.resolveComponent("a-input"),x=e.resolveComponent("icon-drag-arrow"),b=e.resolveComponent("icon-delete"),A=e.resolveComponent("icon-plus"),k=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(k,{width:500,visible:n.show,footer:!1,onCancel:u,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(i)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",Cb,[e.createElementVNode("div",bb,[e.createElementVNode("span",Eb,e.toDisplayString(e.unref(i)("setting.only_show_pc")),1),e.createVNode(g,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":c[0]||(c[0]=B=>n.data.onlyShowPc=B)},null,8,["modelValue"])]),e.createElementVNode("div",Bb,[e.createElementVNode("span",xb,e.toDisplayString(e.unref(i)("setting.only_show_mobile")),1),e.createVNode(g,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":c[1]||(c[1]=B=>n.data.onlyShowMobile=B)},null,8,["modelValue"])]),e.createElementVNode("div",kb,[e.createElementVNode("span",Vb,e.toDisplayString(e.unref(i)("setting.component_bg")),1),e.createVNode(w,{modelValue:n.data.bgColor,"onUpdate:modelValue":c[2]||(c[2]=B=>n.data.bgColor=B),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_white")),1)]),_:1}),e.createVNode(h,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",Db,[e.createElementVNode("span",Sb,e.toDisplayString(e.unref(i)("setting.pc_columns")),1),e.createVNode(E,{modelValue:n.data.desktopCol,"onUpdate:modelValue":c[3]||(c[3]=B=>n.data.desktopCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",Nb,[e.createElementVNode("span",Tb,e.toDisplayString(e.unref(i)("setting.mobile_columns")),1),e.createVNode(E,{modelValue:n.data.mobileCol,"onUpdate:modelValue":c[4]||(c[4]=B=>n.data.mobileCol=B),placeholder:e.unref(i)("setting.please_input"),"allow-clear":""},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",Pb,[e.createElementVNode("span",Ib,e.toDisplayString(e.unref(i)("setting.centered")),1),e.createVNode(w,{modelValue:n.data.center,"onUpdate:modelValue":c[5]||(c[5]=B=>n.data.center=B),placeholder:e.unref(i)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(h,{value:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.centered")),1)]),_:1}),e.createVNode(h,{value:!1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("setting.width_default")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",Mb,[e.createElementVNode("div",Lb,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":c[6]||(c[6]=B=>n.data.data=B),"component-data":{tag:"div",type:"transition-group",name:a.value?null:"flip-list"}},l.value,{disabled:!s(n.data.data),onStart:c[7]||(c[7]=B=>a.value=!0),onEnd:c[8]||(c[8]=B=>a.value=!1),"item-key":"id"}),{item:e.withCtx(({element:B})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!s(n.data.data)}]),key:B.id},[e.createElementVNode("div",Qb,[s(n.data.data)?(e.openBlock(),e.createElementBlock("div",Ob,[e.createVNode(x,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(b,{class:"btn-delete",onClick:C=>p(B.id)},null,8,["onClick"])]),e.createElementVNode("p",Fb,e.toDisplayString(e.unref(i)("setting.title")),1),e.createVNode(E,{modelValue:B.title,"onUpdate:modelValue":C=>B.title=C,placeholder:e.unref(i)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",Ub,e.toDisplayString(e.unref(i)("setting.link_url")),1),e.createVNode(E,{modelValue:B.url,"onUpdate:modelValue":C=>B.url=C,placeholder:e.unref(i)("setting.input_link_url"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",Hb,e.toDisplayString(e.unref(i)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:B.imgSrc},null,8,zb),e.createElementVNode("div",Rb,[e.createVNode(E,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,placeholder:e.unref(i)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:B.imgSrc,"onUpdate:modelValue":C=>B.imgSrc=C,name:`GalleryCaptionRound_${B.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(E,{class:"mt-2",modelValue:B.alt,"onUpdate:modelValue":C=>B.alt=C,placeholder:e.unref(i)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:c[9]||(c[9]=B=>m())},[e.createVNode(A),e.createElementVNode("span",vb,e.toDisplayString(e.unref(i)("setting.add")),1)])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-68c63b85"]]),Yb={class:"gallery-container gallery-caption-round container-content"},Gb=["href"],qb=["src","alt"],Kb=["onClick"],Wb=["src","alt"],Xb={key:2,class:"gallery-caption__img"},Jb=["src","alt"],Zb=["href"],_b=["onClick"],$b=["innerHTML"],Ys=te(e.defineComponent({name:"GalleryCaptionRound",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!0},locale:{type:String,default:"sc"}},emits:["update:modelValue","handleDelete","handleCopy","handlePaste","handleClick"],setup(n,{emit:t}){const o=n,{t:a}=de(o.locale),l=t,s=()=>{var g;if(o.modelValue&&o.modelValue.data)return;const c={id:((g=o.modelValue)==null?void 0:g.id)||Y(),type:"GalleryCaptionRound",onlyShowPc:!1,onlyShowMobile:!1,bgColor:"",desktopCol:3,mobileCol:2,center:!1,data:[{id:Y(),title:a("placeholder.title"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",url:""},{id:Y(),title:a("placeholder.title"),imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",url:""}]};l("update:modelValue",c)},r=e.computed(()=>{var c,g;return o.isPreview?(c=o.modelValue)!=null&&c.onlyShowPc?!ce():(g=o.modelValue)!=null&&g.onlyShowMobile?ce():!0:!0}),i=e.ref(!1),d=e.ref(!1),u=()=>{l("handleDelete",o.modelValue.id)},m=()=>{l("handleCopy",o.modelValue)},p=c=>{l("handlePaste",c)},f=c=>{l("handleClick",c)};return s(),(c,g)=>{var h,w,E,x,b;return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"gallery-list",style:e.normalizeStyle({backgroundColor:((h=n.modelValue)==null?void 0:h.bgColor)||"transparent"}),onMouseenter:g[2]||(g[2]=A=>i.value=!0),onMouseleave:g[3]||(g[3]=A=>i.value=!1)},[e.createElementVNode("div",Yb,[e.createElementVNode("div",{class:e.normalizeClass(["default-row row",[`row-cols-${(w=n.modelValue)==null?void 0:w.mobileCol}`,`row-cols-md-${(E=n.modelValue)==null?void 0:E.desktopCol}`,((x=n.modelValue)==null?void 0:x.center)&&"row-center"]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((b=n.modelValue)==null?void 0:b.data,A=>(e.openBlock(),e.createElementBlock("div",{key:A.id,class:"col"},[e.createElementVNode("div",{class:e.normalizeClass(["gallery-caption-round gallery-caption",[A.url&&"has-url"]])},[A.url&&A.url.includes("http")&&n.isPreview?(e.openBlock(),e.createElementBlock("a",{key:0,href:A.url,target:"_blank",class:"gallery-caption__img"},[e.createElementVNode("img",{src:A.imgSrc,alt:A.alt},null,8,qb)],8,Gb)):A.url?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:k=>f(A.url),class:"gallery-caption__img"},[e.createElementVNode("img",{src:A.imgSrc,alt:A.alt},null,8,Wb)],8,Kb)):(e.openBlock(),e.createElementBlock("div",Xb,[e.createElementVNode("img",{src:A.imgSrc,alt:A.alt},null,8,Jb)])),A.url&&A.url.includes("http")&&n.isPreview?(e.openBlock(),e.createElementBlock("a",{key:3,href:A.url,target:"_blank",class:"gallery-caption__title tx-subtitle text-blue text-center"},e.toDisplayString(A.title),9,Zb)):A.url?(e.openBlock(),e.createElementBlock("button",{key:4,onClick:k=>f(A.url),class:"gallery-caption__title tx-subtitle text-blue text-center"},e.toDisplayString(A.title),9,_b)):(e.openBlock(),e.createElementBlock("div",{key:5,class:"tx-subtitle text-blue text-center",innerHTML:A.title},null,8,$b))],2)]))),128))],2)]),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:0,show:i.value,"onUpdate:show":g[0]||(g[0]=A=>i.value=A),locale:n.locale,onHandleEdit:g[1]||(g[1]=A=>d.value=!0),onHandleDelete:u,onHandleCopy:m,onHandlePaste:p},null,8,["show","locale"]))],36)):e.createCommentVNode("",!0),n.isPreview?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(jb,{key:1,show:d.value,"onUpdate:show":g[4]||(g[4]=A=>d.value=A),data:n.modelValue,locale:n.locale},null,8,["show","data","locale"]))],64)}}}),[["__scopeId","data-v-8a997fd0"]]),eE=Object.freeze(Object.defineProperty({__proto__:null,default:Ys},Symbol.toStringTag,{value:"Module"})),tE={class:"setting-content"},nE={class:"setting-header flex items-center mb-10"},oE={class:"header-title"},aE={class:"setting-header flex items-center"},lE={class:"header-title"},iE={class:"setting-header flex items-center"},sE={class:"header-title"},rE={class:"setting-body"},dE={class:"setting-item"},cE={class:"btn-group"},uE={key:0,class:"drag-handle"},mE={class:"item-title"},hE={class:"item-title"},fE={class:"item-title"},gE={class:"item-title"},pE=["src"],AE={class:"item-uplaod flex items-center"},yE={class:"item-action flex items-center"},wE={class:"btn-text"},CE=te(e.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},locale:{type:String,default:""}},emits:["update:show"],setup(n,{emit:t}){const o=e.defineAsyncComponent(()=>import("vuedraggable")),a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>Ut)),l=e.ref(!1),s=e.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost",handle:".drag-handle",filter:".arco-input, .arco-select, .arco-checkbox",preventOnFilter:!1})),r=c=>c&&c.length>1,i=n,{t:d}=de(i.locale),u=t,m=()=>{u("update:show",!1)},p=()=>{i.data.data.push({id:Y(),title:d("placeholder.title"),text:d("placeholder.content"),date:"",imgSrc:"",alt:"",url:"",btnText:""})},f=c=>{i.data.data=i.data.data.filter(g=>g.id!==c)};return(c,g)=>{const h=e.resolveComponent("a-switch"),w=e.resolveComponent("a-option"),E=e.resolveComponent("a-select"),x=e.resolveComponent("icon-drag-arrow"),b=e.resolveComponent("icon-delete"),A=e.resolveComponent("a-input"),k=e.resolveComponent("a-button"),B=e.resolveComponent("icon-plus"),C=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(C,{width:500,visible:n.show,footer:!1,onCancel:m,unmountOnClose:""},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.data.type)+" "+e.toDisplayString(e.unref(d)("setting.component_edit")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",tE,[e.createElementVNode("div",nE,[e.createElementVNode("span",oE,e.toDisplayString(e.unref(d)("setting.only_show_pc")),1),e.createVNode(h,{modelValue:n.data.onlyShowPc,"onUpdate:modelValue":g[0]||(g[0]=D=>n.data.onlyShowPc=D)},null,8,["modelValue"])]),e.createElementVNode("div",aE,[e.createElementVNode("span",lE,e.toDisplayString(e.unref(d)("setting.only_show_mobile")),1),e.createVNode(h,{modelValue:n.data.onlyShowMobile,"onUpdate:modelValue":g[1]||(g[1]=D=>n.data.onlyShowMobile=D)},null,8,["modelValue"])]),e.createElementVNode("div",iE,[e.createElementVNode("span",sE,e.toDisplayString(e.unref(d)("setting.component_bg")),1),e.createVNode(E,{modelValue:n.data.bgColor,"onUpdate:modelValue":g[2]||(g[2]=D=>n.data.bgColor=D),placeholder:e.unref(d)("setting.please_select"),"allow-clear":""},{default:e.withCtx(()=>[e.createVNode(w,{value:"#ffffff"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("setting.bg_white")),1)]),_:1}),e.createVNode(w,{value:"#F7F7FA"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("setting.bg_grey")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",rE,[e.createElementVNode("div",dE,[e.createVNode(e.unref(o),e.mergeProps({modelValue:n.data.data,"onUpdate:modelValue":g[3]||(g[3]=D=>n.data.data=D),"component-data":{tag:"div",type:"transition-group",name:l.value?null:"flip-list"}},s.value,{disabled:!r(n.data.data),onStart:g[4]||(g[4]=D=>l.value=!0),onEnd:g[5]||(g[5]=D=>l.value=!1),"item-key":"id"}),{item:e.withCtx(({element:D})=>[(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item-button draggable-item",{"sortable-disabled":!r(n.data.data)}]),key:D.id},[e.createElementVNode("div",cE,[r(n.data.data)?(e.openBlock(),e.createElementBlock("div",uE,[e.createVNode(x,{class:"drag-icon"})])):e.createCommentVNode("",!0),e.createVNode(b,{class:"btn-delete",onClick:I=>f(D.id)},null,8,["onClick"])]),e.createElementVNode("p",mE,e.toDisplayString(e.unref(d)("setting.title")),1),e.createVNode(A,{modelValue:D.title,"onUpdate:modelValue":I=>D.title=I,placeholder:e.unref(d)("setting.input_title"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",hE,e.toDisplayString(e.unref(d)("setting.button_text")),1),e.createVNode(e.unref(a),{modelValue:D.text,"onUpdate:modelValue":I=>D.text=I,name:`GalleryTimeline_editor_${D.id}`},null,8,["modelValue","onUpdate:modelValue","name"]),e.createElementVNode("p",fE,e.toDisplayString(e.unref(d)("setting.date")),1),e.createVNode(A,{modelValue:D.date,"onUpdate:modelValue":I=>D.date=I,placeholder:e.unref(d)("setting.date"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createElementVNode("p",gE,e.toDisplayString(e.unref(d)("setting.image")),1),e.createElementVNode("img",{class:"item-img",src:D.imgSrc},null,8,pE),e.createElementVNode("div",AE,[e.createVNode(A,{modelValue:D.imgSrc,"onUpdate:modelValue":I=>D.imgSrc=I,placeholder:e.unref(d)("setting.image_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(We,{modelValue:D.imgSrc,"onUpdate:modelValue":I=>D.imgSrc=I,name:`GalleryTimeline_${D.id}`,"button-class":"fit-content"},null,8,["modelValue","onUpdate:modelValue","name"])]),e.createVNode(A,{class:"mt-2",modelValue:D.alt,"onUpdate:modelValue":I=>D.alt=I,placeholder:e.unref(d)("setting.image_alt"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(k,{style:{"margin-top":"10px"},type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.btnText),1)]),_:2},1024),e.createElementVNode("div",yE,[e.createVNode(A,{class:"action-text",modelValue:D.btnText,"onUpdate:modelValue":I=>D.btnText=I,placeholder:e.unref(d)("setting.button_text"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e.createVNode(A,{modelValue:D.url,"onUpdate:modelValue":I=>D.url=I,placeholder:e.unref(d)("setting.button_link"),"allow-clear":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:g[6]||(g[6]=D=>p())},[e.createVNode(B),e.createElementVNode("span",wE,e.toDisplayString(e.unref(d)("setting.add")),1)])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-138e9836"]]),Pa=e.defineComponent({name:"ScrollBar",__name:"index",props:{hideScrollbar:{type:Boolean,default:!1},light:{type:Boolean,default:!1}},setup(n){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["scroll-bar",{"scroll-bar--is-light":n.light}])},[n.hideScrollbar?e.renderSlot(t.$slots,"default",{key:1}):(e.openBlock(),e.createBlock(e.unref(dl),{key:0,"data-simplebar-auto-hide":"false",class:"simple-bar"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))],2))}});function bE(n,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}function EE(n,t,o){return t&&bE(n.prototype,t),n}/*!
2
2
  * Observer 3.13.0
3
3
  * https://gsap.com
4
4
  *