| 1 |
- var P=Object.defineProperty,H=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var g=(t,e,n)=>e in t?P(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,f=(t,e)=>{for(var n in e||(e={}))N.call(e,n)&&g(t,n,e[n]);if(h)for(var n of h(e))V.call(e,n)&&g(t,n,e[n]);return t},y=(t,e)=>H(t,I(e));import{d as m,u as E,r as x,o as c,c as O,a as z,b as u,e as r,n as d,p as b,f as w,g as k,F as T,w as _,v as p,h as B,i as j,j as A,k as D,l as K,m as M,q as U}from"./vendor.d24c0c8e.js";const W=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerpolicy&&(o.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?o.credentials="include":a.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}};W();const q=m({setup(t){return E({title:"Hong Kong Starway Technology Co.,Limited",meta:[{name:"description",content:"Hong Kong Starway Technology Co.,Limited"}]}),(e,n)=>{const s=x("router-view");return c(),O(s)}}}),F="modulepreload",C={},R="/krgame/",G=function(e,n){return!n||n.length===0?e():Promise.all(n.map(s=>{if(s=`${R}${s}`,s in C)return;C[s]=!0;const a=s.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${o}`))return;const i=document.createElement("link");if(i.rel=a?"stylesheet":F,a||(i.as="script",i.crossOrigin=""),i.href=s,document.head.appendChild(i),a)return new Promise(($,L)=>{i.addEventListener("load",$),i.addEventListener("error",L)})})).then(()=>e())};var v=(t,e)=>{const n=t.__vccOpts||t;for(const[s,a]of e)n[s]=a;return n};const J=t=>(b("data-v-186c4998"),t=t(),w(),t),Q={class:"header"},X={class:"w-[1270px] mx-auto"},Y={class:"flex items-center justify-between h-[82px]"},Z=J(()=>r("div",{class:"logo text-[20px]"},"Hong Kong Starway Technology Co.,Limited",-1)),ee={class:"menu"},te={class:"flex items-center"},ne=m({setup(t){const e=z("main1"),n=a=>{e.value=a;const o=document.getElementById(a);o&&o.scrollIntoView({behavior:"smooth"})},s=()=>{window.open("https://static.borderplay.com/prod/term/TW/zh-hant/2/109/privacy.html","_blank")};return(a,o)=>(c(),u("div",null,[r("div",Q,[r("div",X,[r("div",Y,[Z,r("div",ee,[r("ul",te,[r("li",{class:d(["mr-[66px]",{active:e.value==="main1"}]),onClick:o[0]||(o[0]=i=>n("main1"))}," Home ",2),r("li",{class:d(["mr-[66px]",{active:e.value==="main2"}]),onClick:o[1]||(o[1]=i=>n("main2"))}," Company Introduction ",2),r("li",{class:d(["mr-[66px]",{active:e.value==="main3"}]),onClick:o[2]||(o[2]=i=>n("main3"))}," Games Showcase ",2),r("li",{class:"mr-[66px]",onClick:s},"Privacy Policy"),r("li",{class:"contact w-[150px] h-[40px] bg-[#63a9ff] cursor-pointer text-white rounded-full flex items-center justify-center",onClick:o[3]||(o[3]=i=>n("main4"))}," Contact Us ")])])])])])]))}});var ae=v(ne,[["__scopeId","data-v-186c4998"]]);const oe={};function re(t,e){const n=ae,s=x("router-view");return c(),u(T,null,[k(n),r("main",null,[k(s)])],64)}var se=v(oe,[["render",re]]);const ie={about:()=>G(()=>import("./about.ee2828ac.js"),["assets/about.ee2828ac.js","assets/vendor.d24c0c8e.js"]),default:se};function le(t){return t.map(e=>{var n;return{path:e.path,component:ie[((n=e.meta)==null?void 0:n.layout)||"default"],children:[y(f({},e),{path:""})]}})}var ce="/krgame/assets/main1.0603d735.png",me="/krgame/assets/main2.016acab3.png",ue="/krgame/assets/main3.3d2269df.png",de="/krgame/assets/main4-t.308a937d.png",_e="/krgame/assets/main5.f1b190c5.png";const S=t=>(b("data-v-828a4ba4"),t=t(),w(),t),pe=B('<div id="main1" class="main1" data-v-828a4ba4><img src="'+ce+'" alt="" style="width:100%;height:100%;" data-v-828a4ba4></div><div id="main2" class="main2" data-v-828a4ba4><img src="'+me+'" alt="" style="width:100%;height:100%;" data-v-828a4ba4></div><div id="main3" class="main3" data-v-828a4ba4><img src="'+ue+'" alt="" style="width:100%;height:100%;" data-v-828a4ba4></div>',3),ve={id:"main4",class:"main4 bg-[#f7f7f7] py-[50px]"},he={class:"w-[573px] mx-auto"},ge=S(()=>r("div",{class:"title mb-[50px]"},[r("img",{src:de,alt:"",style:{width:"406px",height:"106px"},class:"mx-auto"})],-1)),fe={class:"contact-content w-[573px] h-[504px] bg-[#fff] rounded-[10px] shadow-lg hover:shadow-xl transition-shadow duration-300 px-[76px] pt-[50px]"},ye={class:"contact-content-inner mx-auto mb-[30px]"},xe={class:"contact-content-inner mx-auto mb-[30px]"},ze={class:"contact-content-inner textarea mx-auto mb-[30px]"},be=S(()=>r("div",{id:"main5",class:"main5"},[r("img",{src:_e,alt:"",style:{width:"100%",height:"100%"}})],-1)),we=m({setup(t){const e=z({name:"",email:"",message:""}),n=()=>{if(!e.value.name.trim()||!e.value.email.trim()||!e.value.message.trim()){alert("Please fill in all the information");return}e.value={name:"",email:"",message:""},alert("Submitted successfully")};return(s,a)=>(c(),u("div",null,[pe,r("div",ve,[r("div",he,[ge,r("div",fe,[r("div",ye,[_(r("input",{type:"text","onUpdate:modelValue":a[0]||(a[0]=o=>e.value.name=o),placeholder:"Name"},null,512),[[p,e.value.name]])]),r("div",xe,[_(r("input",{type:"text","onUpdate:modelValue":a[1]||(a[1]=o=>e.value.email=o),placeholder:"E-mail"},null,512),[[p,e.value.email]])]),r("div",ze,[_(r("textarea",{"onUpdate:modelValue":a[2]||(a[2]=o=>e.value.message=o),placeholder:"Leave a message"},null,512),[[p,e.value.message]])]),r("div",{class:"submit-btn",onClick:n},"Submit")])])]),be]))}});var ke=v(we,[["__scopeId","data-v-828a4ba4"]]);const Ce=[{name:"index",path:"/",component:ke,props:!0}],Se=le(Ce),$e=j({history:A("/hkgame/"),routes:Se});var Le={en:{button:{about:t=>{const{normalize:e}=t;return e(["About"])},back:t=>{const{normalize:e}=t;return e(["Back"])},go:t=>{const{normalize:e}=t;return e(["GO"])},home:t=>{const{normalize:e}=t;return e(["Home"])},toggle_dark:t=>{const{normalize:e}=t;return e(["Toggle dark mode"])},toggle_langs:t=>{const{normalize:e}=t;return e(["Change languages"])}},intro:{desc:t=>{const{normalize:e}=t;return e(["Opinionated Vite Starter Template"])},"dynamic-route":t=>{const{normalize:e}=t;return e(["Demo of dynamic route"])},hi:t=>{const{normalize:e,interpolate:n,named:s}=t;return e(["Hi, ",n(s("name")),"!"])},aka:t=>{const{normalize:e}=t;return e(["Also known as"])},"whats-your-name":t=>{const{normalize:e}=t;return e(["What's your name?"])}},"not-found":t=>{const{normalize:e}=t;return e(["Not found"])}},"zh-CN":{button:{about:t=>{const{normalize:e}=t;return e(["\u5173\u4E8E"])},back:t=>{const{normalize:e}=t;return e(["\u8FD4\u56DE"])},go:t=>{const{normalize:e}=t;return e(["\u786E\u5B9A"])},home:t=>{const{normalize:e}=t;return e(["\u9996\u9875"])},toggle_dark:t=>{const{normalize:e}=t;return e(["\u5207\u6362\u6DF1\u8272\u6A21\u5F0F"])},toggle_langs:t=>{const{normalize:e}=t;return e(["\u5207\u6362\u8BED\u8A00"])}},intro:{desc:t=>{const{normalize:e}=t;return e(["\u56FA\u6267\u5DF1\u89C1\u7684 Vite \u9879\u76EE\u6A21\u677F"])},"dynamic-route":t=>{const{normalize:e}=t;return e(["\u52A8\u6001\u8DEF\u7531\u6F14\u793A"])},hi:t=>{const{normalize:e,interpolate:n,named:s}=t;return e(["\u4F60\u597D\uFF0C",n(s("name"))])},aka:t=>{const{normalize:e}=t;return e(["\u4E5F\u53EB"])},"whats-your-name":t=>{const{normalize:e}=t;return e(["\u8F93\u5165\u4F60\u7684\u540D\u5B57"])}},"not-found":t=>{const{normalize:e}=t;return e(["\u672A\u627E\u5230\u9875\u9762"])}}};const Pe=D({legacy:!1,locale:"zh-CN",fallbackLocale:"en",messages:Le});const He=K(),l=M(q);l.use($e);l.use(Pe);l.use(He);l.use(U());l.mount("#app");export{v as _,ae as a};
|