chore(publish): replace source tree with static export at repo root

Publish the prerendered static export (index.html, 404.html, cinema/,
c/, about/, for-cinemas/, for-film-lovers/, assets/, images/, og/,
sitemap.xml, robots.txt) as the site root and remove the React Router
+ Nitro source tree from this branch. Source remains available in
history at 0548772.

Note: public/sw.js here reports VERSION v2.0.5 while the removed source
tree (v2.1.0) was newer, and .gitignore was not carried over.
This commit is contained in:
Bkk1234 committed 2026-11-22 22:24:36 +07:00
1 parent 05487728a7
commit e6c4ebff48
394 files changed
+3977 -37891

No files matched your search

+1
View File
@@ -0,0 +1 @@
import{i as e,t}from"./react-B8IZ02wI.js";import{a as n,l as r}from"./components-LggAOTeO.js";import{a as i,c as a,r as o}from"./IconCheck-B3jDJthn.js";import{t as s}from"./jsx-runtime-fBfwind-.js";import{i as c,o as l}from"./share-origin-COlEIvGo.js";import{r as u}from"./messages-nFlHChGW.js";import{n as d}from"./motion-DOH2EXPt.js";import{t as f}from"./createReactComponent-C-DRqPhY.js";import{n as p,o as m,r as h,s as g,t as _}from"./CinemaGrid-DJMjtFke.js";import{i as v,t as y}from"./SiteShell-DHgUrms6.js";import{a as b,i as x,o as S,s as C}from"./seo-CukKNP_H.js";import{_ as w,a as T,h as E,i as D,m as O,r as k}from"./cinemas-CTA3vCte.js";var A=f(`outline`,`search`,`Search`,[[`path`,{d:`M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0`,key:`svg-0`}],[`path`,{d:`M21 21l-6 -6`,key:`svg-1`}]]),j=e(t(),1),M=s();function N(e,t){switch(e){case`locating`:return t.search.locating;case`denied`:return t.search.denied;case`unsupported`:return t.search.unsupported;case`error`:return t.search.error;case`ready`:return t.search.sortedByDistance;default:return null}}function P({query:e,onQueryChange:t,nearMeStatus:n,onRequestLocation:r,onSubmitSearch:i}){let{messages:a}=o(),s=N(n,a),c=n===`ready`,l=(0,j.useRef)(null);function u(e){e.preventDefault(),l.current?.blur(),i()}return(0,M.jsxs)(`section`,{className:`mx-auto flex max-w-[1016px] flex-col items-center gap-10 pt-24 md:pt-[167px]`,children:[(0,M.jsxs)(v,{delay:60,className:`flex max-w-[745px] flex-col items-center gap-4 text-center`,children:[(0,M.jsxs)(`h1`,{className:`text-4xl font-bold leading-[1.3] md:text-[56px]`,children:[a.hero.titlePrefix,(0,M.jsx)(`span`,{className:`text-[#D47272]`,children:a.hero.titleHighlight}),a.hero.titleSuffix]}),(0,M.jsx)(`p`,{className:`text-base md:text-xl`,children:a.hero.subtitle})]}),(0,M.jsxs)(v,{delay:200,className:`w-full rounded-2xl border border-[#303030] bg-[#1B1B1B]/80 px-4 py-6 backdrop-blur-[24px] md:px-10`,children:[(0,M.jsxs)(`form`,{role:`search`,onSubmit:u,className:`flex h-14 items-center gap-3 rounded-lg border border-[#1B1B1B] bg-[#1F1F1F] px-5 transition-colors duration-300 focus-within:border-[#A92626]/70`,children:[(0,M.jsx)(A,{size:16,className:`shrink-0 text-[#999]`}),(0,M.jsx)(`input`,{ref:l,value:e,onChange:e=>t(e.target.value),placeholder:a.search.placeholder,"aria-label":a.search.placeholder,type:`search`,enterKeyHint:`search`,className:`min-w-0 flex-1 bg-transparent text-base text-white outline-none placeholder:text-[#8A8A8A] md:text-sm [&::-webkit-search-cancel-button]:hidden`}),(0,M.jsxs)(`button`,{type:`button`,onClick:r,disabled:n===`locating`,"aria-label":a.search.nearMe,className:`relative hidden items-center gap-2 border-l border-[#999] px-4 text-sm transition after:absolute after:-inset-y-3 after:inset-x-0 after:content-[''] disabled:opacity-60 sm:flex ${c?`text-[#D47272]`:`text-[#999] hover:text-white`}`,children:[c?(0,M.jsx)(g,{size:16}):(0,M.jsx)(m,{size:16}),a.search.nearMe]}),(0,M.jsx)(`button`,{type:`submit`,className:`relative h-8 rounded-lg border border-[#8F0808] bg-[#8F0808] px-6 text-sm font-medium transition after:absolute after:-inset-y-1.5 after:-inset-x-1 after:content-[''] hover:bg-[#a30a0a]`,children:a.search.submit})]}),s?(0,M.jsx)(`p`,{role:`status`,"aria-live":`polite`,className:`px-1 pt-3 text-xs ${n===`ready`?`text-[#B3B3B3]`:`text-[#D47272]`}`,children:s}):null]})]})}var F=864e5;function I(e=new Date){return e.toISOString().slice(0,10)}function L(e){let t=Date.parse(`${e}T00:00:00Z`);return Number.isFinite(t)?Math.floor(t/F):0}function R(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}function z(e){let t=e>>>0;return()=>{t=t+1831565813>>>0;let e=t;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}function B(e,t){let n=z(t),r=[...e];for(let e=r.length-1;e>0;--e){let t=Math.floor(n()*(e+1));[r[e],r[t]]=[r[t],r[e]]}return r}function V(e,t){if(e.length===0)return[];let n=(t%e.length+e.length)%e.length;return[...e.slice(n),...e.slice(0,n)]}function H(e,t,n=I()){let r=e.length;if(r<2)return[...e];let i=B(e,R(t(e[0])+`|`+e.map(t).join(`|`)+`|v1`)),a=L(n);return V(i,r===2?a%2:1+(a%(r-1)+(r-1))%(r-1))}var U=/[\u200B-\u200D\u2060\uFEFF]/g,W=/\p{M}+/gu;function G(e){return e.normalize(`NFKC`).replace(U,``).toLowerCase().replace(/[·•・,،.\\/_|+&()\[\]{}<>"'’‘`“”«»—–~*:;!?$%^@#№-]+/g,` `).replace(/\s+/g,` `).trim()}function K(e){return G(e).normalize(`NFD`).replace(W,``).replace(/[^\p{L}\p{N}\s]+/gu,` `).replace(/\s+/g,` `).trim()}function q(e){let t=G(e);return t===``?[]:t.split(` `).filter(e=>e!==``)}var J={names:400,place:180,categories:150,details:60},Y={exact:3,prefix:2,contains:1.2,loose:.8};function X(e,t={}){let n={names:[e.name,e.name_th??``,e.slug.replace(/-/g,` `)],place:[e.location_label,e.location_label_en??``,...e.address_lines??[],...e.address_lines_en??[],...e.transport.flatMap(e=>[e.value,e.value_en??``])],categories:[...e.tags,...e.tags.map(e=>t[e]??``)],detailLine truncated