[chore] site/mockup: /s/stay 빌드를 킹서버 운영본과 일치 — 미니블로그 번들·비콘·영상·날씨 위치 반영
운영 /s/stay 는 서버에서 직접 고친 부분이 레포에 없어, 레포로 구워 덮으면 미니블로그·방문 비콘·영상 7개·날씨 섹션 위치가 사라지는 상태였다. - vendor: 미니블로그를 그리는 index-0DqrdnlD-blog1.js 추가, 옛 번들은 retired/ 로 - patch_stay.py: videos.json 영상 10개 · 날씨 섹션 2번째 · stay-blog-order 스타일 · beacon.js 삽입 - inject.css: 운영본의 본문 글자 크기(--fs-body·sm·xs) - build_reading.py: 운영본대로 문학 8꼭지만, 데이터 직렬화도 운영본과 같게 - README: 운영본과 같다는 기준, 배포 후 미니블로그 글 채우는 법, 백업·되돌리기 검증: 전체 빌드 체인 실행 → refresh_posts 로 운영 글 24건을 넣은 결과가 운영 index.html 과 바이트 단위로 동일. 참조 자산 138개 전부 레포에 있고 서버와 md5 일치. test_mockup_blog.py 는 로컬 PostgreSQL 이 꺼져 있어 실행 못 함(3 errors, ConnectionRefused).
This commit is contained in:
1 parent
9bb86e6d47
commit
1eea456e56
9 files changed
+463
-9
No files matched your search
@@ -653,11 +653,16 @@ orig/index.html 원본 HTML (건드리지 않는다)
|
||||
├─ build_reading.py 군산 읽기(카로셀 34꼭지, 화면엔 매번 5~6개 무작위)를 넣는다
|
||||
├─ build_daily.py 오늘의 한 장(일력 39장)을 넣는다 — 가요·인물·문학을 읽어 쓰므로 맨 뒤
|
||||
└─ patch_stay.py 캐치프레이즈 · 주변 맛집 · 객실 사진 · 자작곡 · 주입 CSS/JS · 자산 경로 교정
|
||||
· 영상 목록(videos.json) · 날씨 섹션 위치 · 미니블로그 순서 · 방문 비콘(beacon.js)
|
||||
│
|
||||
▼
|
||||
build/index.html ← 배포하는 파일 (git 이그노어)
|
||||
```
|
||||
|
||||
★ 이 순서대로 다 돌리면 `build/index.html` 은 킹서버 운영본과 **미니블로그 글(`posts`)만 빼고 한 글자도
|
||||
다르지 않다**(2026-10-19 대조). 글은 DB 에서 오므로 빌드에 넣지 않는다 — 아래 2.2 "미니블로그 글".
|
||||
미니블로그 화면은 `vendor/index-0DqrdnlD-blog1.js` 번들이 그린다. `vendor/` 에는 js·css 번들을 한 벌씩만 둔다.
|
||||
|
||||
★ **렌더러(`solution/site/src`)를 고치지 않는다.** 고치면 번들 해시가 바뀌어
|
||||
전 사이트 재굽기 + 전체 재업로드가 따라온다. 목업에만 필요한 것은 `inject.css`/`inject.js` 로 덮는다.
|
||||
|
||||
@@ -781,11 +786,20 @@ docker cp audio/. \$C:/app/solution/site/out/s/stay/audio/
|
||||
docker cp vendor/. \$C:/app/solution/site/out/s/stay/vendor/"
|
||||
```
|
||||
|
||||
확인: `md5 -q build/index.html` 과
|
||||
`ssh King_admin "docker exec o2o-web4ai-solution-site md5sum /srv/sites/s/stay/index.html"` 이 같아야 한다.
|
||||
그다음 `node audit-all.mjs https://web4ai.o2osolution.ai/s/stay`.
|
||||
★ **덮기 전에 운영본을 백업한다** — `docker exec $C cp …/s/stay/index.html …/s/stay/index.html.bak-<날짜>`.
|
||||
|
||||
되돌리기: 컨테이너 안에 `index.html.bak-20260910` 이 있다.
|
||||
### 미니블로그 글
|
||||
|
||||
`build/index.html` 의 `posts` 는 비어 있다. 덮은 직후 `/s/stay` 의 미니블로그가 비어 보이는 게 정상이다.
|
||||
글은 DB(`place_posts`)에서 다시 채운다 — 스테이,머뭄 계정으로 빌더에서 **발행**을 한 번 누른다.
|
||||
`stay` 는 목업이라 발행이 사이트를 굽지 않고 `index.html` 의 `posts` 만 갈아 끼운다
|
||||
(`solution/backend/services/mockup_blog.py` `refresh_posts`, `build_service._refresh_mockup_blog`).
|
||||
블로그 글이 승인·게재될 때도 같은 경로로 자동으로 채워진다. 갈아 끼우기 직전 파일은 `index.html.bak-blog` 로 남는다.
|
||||
|
||||
확인: 글을 채운 뒤 `node audit-all.mjs https://web4ai.o2osolution.ai/s/stay`.
|
||||
`index.html` 은 글 때문에 `build/index.html` 과 md5 가 다르다 — 비교하려면 payload 의 `posts` 를 빼고 본다.
|
||||
|
||||
되돌리기: 컨테이너 안의 `index.html.bak-*` 중 가장 최근 것을 `index.html` 로 복사한다.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
(function () {
|
||||
try { if (localStorage.getItem('web4ai.stats.disabled') === '1') return; } catch (e) {}
|
||||
function send() {
|
||||
var p = location.pathname;
|
||||
if (p.indexOf('/s/') !== 0) return;
|
||||
var h = location.hash || '';
|
||||
var tab = h.indexOf('#/') === 0 && h !== '#/' ? h : '';
|
||||
var utm = new URLSearchParams(location.search).get('utm_source') || '';
|
||||
var body = JSON.stringify({path: p + tab, referrer: document.referrer, utm_source: utm});
|
||||
var blob = new Blob([body], {type: 'text/plain;charset=UTF-8'});
|
||||
if (navigator.sendBeacon && navigator.sendBeacon('/v1/track/view', blob)) return;
|
||||
fetch('/v1/track/view', {method: 'POST', body: body, keepalive: true, headers: {'Content-Type': 'text/plain'}}).catch(function () {});
|
||||
}
|
||||
send();
|
||||
window.addEventListener('hashchange', send);
|
||||
})();
|
||||
@@ -67,9 +67,8 @@ def naver(title):
|
||||
# 갈래 — 화면에 이 순서로 선다.
|
||||
GROUPS = [
|
||||
("문학", "이 도시를 쓴 사람과 그 자리"),
|
||||
("인물", "이 도시가 낳은 사람들"),
|
||||
]
|
||||
KEEP = {"문학", "인물"}
|
||||
KEEP = {"문학"}
|
||||
|
||||
# (갈래, 제목, 글, 연도 또는 None)
|
||||
# ★ 원문을 옮기지 않는다 — 시·소설·가사의 본문은 한 줄도 싣지 않고 제목과 배경만 쓴다.
|
||||
@@ -371,7 +370,7 @@ existing = next((s for s in SECTIONS if s["id"] == "reading"), None)
|
||||
if existing is None:
|
||||
existing = {"id": "reading", "name": "군산 읽기", "enabled": False, "locked": False}
|
||||
SECTIONS.insert(next(i for i, s in enumerate(SECTIONS) if s["id"] == "story") + 1, existing)
|
||||
existing["data"] = json.dumps(env, ensure_ascii=False)
|
||||
existing["data"] = json.dumps(env, ensure_ascii=False, separators=(",", ":"))
|
||||
|
||||
SRC.write_text(json.dumps(payload, ensure_ascii=False), encoding="utf-8")
|
||||
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
★ 플레이어는 헤더 **안**이다. 하단 바는 모바일 탭바(fixed bottom:0 · 61px)를 덮었고,
|
||||
상단 바는 헤더와 두 줄이 됐다. 헤더 안이면 화면에서 차지하는 줄이 늘지 않는다. */
|
||||
|
||||
.site, .site-canvas {
|
||||
--fs-body: clamp(1.125rem, 1.09rem + 0.15vw, 1.1875rem);
|
||||
--fs-sm: clamp(1.0625rem, 1.04rem + 0.1vw, 1.09375rem);
|
||||
--fs-xs: clamp(0.96875rem, 0.95rem + 0.06vw, 1rem);
|
||||
}
|
||||
|
||||
/* ── 헤더에 꽂는 아이콘 세 개 ─────────────────────────────────────── */
|
||||
#w4d-mini {
|
||||
display: inline-flex;
|
||||
|
||||
@@ -237,6 +237,16 @@ for _sec in payload["theme"]["sections"]:
|
||||
_sec["data"] = json.dumps({"kind": "postcard", "version": 1, "items": []}, ensure_ascii=False)
|
||||
break
|
||||
|
||||
for _sec in payload["theme"]["sections"]:
|
||||
if _sec["id"] == "video":
|
||||
_env = json.loads(_sec["data"])
|
||||
_env["items"] = json.loads((SP / "videos.json").read_text(encoding="utf-8"))
|
||||
_sec["data"] = json.dumps(_env, ensure_ascii=False)
|
||||
break
|
||||
|
||||
_secs = payload["theme"]["sections"]
|
||||
_secs.insert(1, _secs.pop(next(i for i, s in enumerate(_secs) if s["id"] == "weather")))
|
||||
|
||||
# 굽는 판에는 케이스마다 **첫 문장**을 박는다 — 크롤러와 첫 화면이 보는 값이고,
|
||||
# inject.js 가 DOM 에서 갈아 끼울 때 찾는 닻이기도 하다. 문장이 겹치면 엉뚱한 줄을 바꾼다.
|
||||
_all_notes = [t for lst in SKY_NOTES.values() for t in lst] + \
|
||||
@@ -551,11 +561,17 @@ assert (SP / "vendor" / "embla-carousel.umd.js").exists(), \
|
||||
|
||||
block = ("\n <script src=\"/s/stay/vendor/embla-carousel.umd.js\"></script>\n"
|
||||
" <style id=\"w4d-css\">\n" + css + "\n </style>\n"
|
||||
" <script id=\"w4d-js\">\n" + js + "\n </script>\n ")
|
||||
" <script id=\"w4d-js\">\n" + js + "\n </script>\n"
|
||||
" <script>\n" + (SP / "beacon.js").read_text(encoding="utf-8") + " </script>\n ")
|
||||
# 치환문(block)에 JS 의 정규식(\s 등)이 섞여 있어 그대로 넘기면 파이썬이 이스케이프로 읽는다 — 람다로 넘긴다.
|
||||
html, n = re.subn(r"\n?\s*</body>", lambda _m: block + "</body>", html, count=1)
|
||||
assert n == 1, "</body> 를 못 찾았다"
|
||||
|
||||
BLOG_ORDER = ('<style id="stay-blog-order">#root main:has(#top){display:flex;flex-direction:column}'
|
||||
'#root main>#top{order:-2}#root main #blog{order:-1}</style>')
|
||||
html, n = re.subn(r"\n </head>", lambda _m: "\n " + BLOG_ORDER + "</head>", html, count=1)
|
||||
assert n == 1, "</head> 를 못 찾았다"
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# 레포 안으로 끌어들이기 — 다른 사람 기계에서도 그대로 떠야 한다.
|
||||
#
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"schemaVersion": 1, "site": {"siteId": "e929e6b4-e502-4761-9786-0bb82178b375", "placeId": "66894a1b-a331-43f1-942c-0ae064a704d6", "status": 3, "origin": "https://web4ai.o2osolution.ai", "basePath": "/s/stay", "slug": "stay", "publishedAt": "2026-09-03T01:27:39.284442+00:00", "updatedAt": "2026-09-14T07:42:00+00:00", "version": 11}, "place": {"name": "스테이,머뭄", "category": 1, "roadAddress": "전북 군산시 절골길 18", "address": "전북 군산시 신흥동 63-18", "addressRegion": "전북", "addressLocality": "군산시", "addressSubLocality": null, "addressRegionCode": "KR-45", "phone": "0507-1497-0983", "latitude": 35.9864175, "longitude": 126.7061254, "regionCode": "52군산시", "kakaoPlaceId": null}, "facts": [{"key": "parking", "label": "주차 가능", "value": "true", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://m.place.naver.com/place/1133638931/home", "critical": false, "required": false, "unitId": null, "collectedAt": "2026-08-28T02:10:08.678003+00:00", "verifiedAt": "2026-08-28T02:12:21.402109+00:00"}, {"key": "intro", "label": "숙소 소개", "value": "1920년대에 지어진 백 년 고택을 리모델링한 독채 펜션입니다. 히로쓰 가옥 후문 바로 옆이고, 침구는 매일 세탁·살균·건조합니다.", "unit": null, "type": "text", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://m.place.naver.com/place/1133638931/home", "critical": false, "required": false, "unitId": null, "collectedAt": "2026-08-28T02:10:08.547669+00:00", "verifiedAt": "2026-08-28T02:12:21.922925+00:00"}, {"key": "wifi", "label": "와이파이", "value": "true", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://m.place.naver.com/place/1133638931/home", "critical": false, "required": false, "unitId": null, "collectedAt": "2026-08-28T02:10:08.757070+00:00", "verifiedAt": "2026-08-28T02:12:22.356600+00:00"}, {"key": "check_in_time", "label": "체크인 시간", "value": "15:00", "unit": null, "type": "time", "scope": "place", "status": 3, "sourceType": 1, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T23:31:05.719599+00:00"}, {"key": "check_out_time", "label": "체크아웃 시간", "value": "11:00", "unit": null, "type": "time", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "cancel_policy", "label": "취소·환불 규정", "value": "입실 당일 취소와 노쇼(No Show)는 숙박요금의 100%가 부과되어 환불되지 않습니다. 그 이전 취소 수수료는 예약하신 채널의 취소 규정을 따릅니다.", "unit": null, "type": "text", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "cooking_allowed", "label": "취사 가능", "value": "true", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "pet_allowed", "label": "반려동물 동반", "value": "false", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "smoking", "label": "흡연 가능", "value": "false", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": false, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "extra_person_fee", "label": "인원 추가 요금", "value": "20000", "unit": "원", "type": "number", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": false, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "pickup_service", "label": "픽업 서비스", "value": "false", "type": "bool", "scope": "place", "unit": null, "status": 3, "sourceType": 3, "sourceUrl": "htLine truncated
|
||||
{"schemaVersion": 1, "site": {"siteId": "e929e6b4-e502-4761-9786-0bb82178b375", "placeId": "66894a1b-a331-43f1-942c-0ae064a704d6", "status": 3, "origin": "https://web4ai.o2osolution.ai", "basePath": "/s/stay", "slug": "stay", "publishedAt": "2026-09-03T01:27:39.284442+00:00", "updatedAt": "2026-09-14T07:42:00+00:00", "version": 11}, "place": {"name": "스테이,머뭄", "category": 1, "roadAddress": "전북 군산시 절골길 18", "address": "전북 군산시 신흥동 63-18", "addressRegion": "전북", "addressLocality": "군산시", "addressSubLocality": null, "addressRegionCode": "KR-45", "phone": "0507-1497-0983", "latitude": 35.9864175, "longitude": 126.7061254, "regionCode": "52군산시", "kakaoPlaceId": null}, "facts": [{"key": "parking", "label": "주차 가능", "value": "true", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://m.place.naver.com/place/1133638931/home", "critical": false, "required": false, "unitId": null, "collectedAt": "2026-08-28T02:10:08.678003+00:00", "verifiedAt": "2026-08-28T02:12:21.402109+00:00"}, {"key": "intro", "label": "숙소 소개", "value": "1920년대에 지어진 백 년 고택을 리모델링한 독채 펜션입니다. 히로쓰 가옥 후문 바로 옆이고, 침구는 매일 세탁·살균·건조합니다.", "unit": null, "type": "text", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://m.place.naver.com/place/1133638931/home", "critical": false, "required": false, "unitId": null, "collectedAt": "2026-08-28T02:10:08.547669+00:00", "verifiedAt": "2026-08-28T02:12:21.922925+00:00"}, {"key": "wifi", "label": "와이파이", "value": "true", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://m.place.naver.com/place/1133638931/home", "critical": false, "required": false, "unitId": null, "collectedAt": "2026-08-28T02:10:08.757070+00:00", "verifiedAt": "2026-08-28T02:12:22.356600+00:00"}, {"key": "check_out_time", "label": "체크아웃 시간", "value": "11:00", "unit": null, "type": "time", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "cancel_policy", "label": "취소·환불 규정", "value": "입실 당일 취소와 노쇼(No Show)는 숙박요금의 100%가 부과되어 환불되지 않습니다. 그 이전 취소 수수료는 예약하신 채널의 취소 규정을 따릅니다.", "unit": null, "type": "text", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "cooking_allowed", "label": "취사 가능", "value": "true", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "pet_allowed", "label": "반려동물 동반", "value": "false", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "smoking", "label": "흡연 가능", "value": "false", "unit": null, "type": "bool", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": false, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "extra_person_fee", "label": "인원 추가 요금", "value": "20000", "unit": "원", "type": "number", "scope": "place", "status": 3, "sourceType": 3, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": false, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T13:27:53.241391+00:00"}, {"key": "check_in_time", "label": "체크인 시간", "value": "15:00", "unit": null, "type": "time", "scope": "place", "status": 3, "sourceType": 1, "sourceUrl": "https://travel.interpark.com/checkinnow/goods/GY0002361440", "critical": true, "required": true, "unitId": null, "collectedAt": "2026-09-02T13:27:53.241391+00:00", "verifiedAt": "2026-09-02T23:31:05.719599+00:00"}, {"key": "pickup_service", "label": "픽업 서비스", "value": "false", "type": "bool", "scope": "place", "unit": null, "status": 3, "sourceType": 3, "sourceUrl": "htLine truncated
|
||||
@@ -0,0 +1,351 @@
|
||||
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function c(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(f){if(f.ep)return;f.ep=!0;const d=c(f);fetch(f.href,d)}})();const Tb="modulepreload",Ab=function(s){return"/"+s},Oh={},kb=function(r,c,u){let f=Promise.resolve();if(c&&c.length>0){let m=function(p){return Promise.all(p.map(y=>Promise.resolve(y).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const x=document.querySelector("meta[property=csp-nonce]"),g=(x==null?void 0:x.nonce)||(x==null?void 0:x.getAttribute("nonce"));f=m(c.map(p=>{if(p=Ab(p),p in Oh)return;Oh[p]=!0;const y=p.endsWith(".css"),v=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${v}`))return;const j=document.createElement("link");if(j.rel=y?"stylesheet":Tb,y||(j.as="script"),j.crossOrigin="",j.href=p,g&&j.setAttribute("nonce",g),document.head.appendChild(j),y)return new Promise((w,N)=>{j.addEventListener("load",w),j.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(m){const x=new Event("vite:preloadError",{cancelable:!0});if(x.payload=m,window.dispatchEvent(x),!x.defaultPrevented)throw m}return f.then(m=>{for(const x of m||[])x.status==="rejected"&&d(x.reason);return r().catch(d)})};var $o={exports:{}},Ds={};/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Dh;function Cb(){if(Dh)return Ds;Dh=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function c(u,f,d){var m=null;if(d!==void 0&&(m=""+d),f.key!==void 0&&(m=""+f.key),"key"in f){d={};for(var x in f)x!=="key"&&(d[x]=f[x])}else d=f;return f=d.ref,{$$typeof:s,type:u,key:m,ref:f!==void 0?f:null,props:d}}return Ds.Fragment=r,Ds.jsx=c,Ds.jsxs=c,Ds}var Rh;function _b(){return Rh||(Rh=1,$o.exports=Cb()),$o.exports}var a=_b(),Go={exports:{}},ue={};/**
|
||||
* @license React
|
||||
* react.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Uh;function Mb(){if(Uh)return ue;Uh=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),j=Symbol.iterator;function w(E){return E===null||typeof E!="object"?null:(E=j&&E[j]||E["@@iterator"],typeof E=="function"?E:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,H={};function L(E,$,K){this.props=E,this.context=$,this.refs=H,this.updater=K||N}L.prototype.isReactComponent={},L.prototype.setState=function(E,$){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,$,"setState")},L.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function Y(){}Y.prototype=L.prototype;function R(E,$,K){this.props=E,this.context=$,this.refs=H,this.updater=K||N}var Q=R.prototype=new Y;Q.constructor=R,A(Q,L.prototype),Q.isPureReactComponent=!0;var q=Array.isArray;function J(){}var X={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function le(E,$,K){var F=K.ref;return{$$typeof:s,type:E,key:$,ref:F!==void 0?F:null,props:K}}function Z(E,$){return le(E.type,$,E.props)}function ne(E){return typeof E=="object"&&E!==null&&E.$$typeof===s}function ye(E){var $={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return $[K]})}var Ge=/\/+/g;function Xe(E,$){return typeof E=="object"&&E!==null&&E.key!=null?ye(""+E.key):$.toString(36)}function re(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(J,J):(E.status="pending",E.then(function($){E.status==="pending"&&(E.status="fulfilled",E.value=$)},function($){E.status==="pending"&&(E.status="rejected",E.reason=$)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function O(E,$,K,F,ce){var fe=typeof E;(fe==="undefined"||fe==="boolean")&&(E=null);var oe=!1;if(E===null)oe=!0;else switch(fe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(E.$$typeof){case s:case r:oe=!0;break;case y:return oe=E._init,O(oe(E._payload),$,K,F,ce)}}if(oe)return ce=ce(E),oe=F===""?"."+Xe(E,0):F,q(ce)?(K="",oe!=null&&(K=oe.replace(Ge,"$&/")+"/"),O(ce,$,K,"",function(at){return at})):ce!=null&&(ne(ce)&&(ce=Z(ce,K+(ce.key==null||E&&E.key===ce.key?"":(""+ce.key).replace(Ge,"$&/")+"/")+oe)),$.push(ce)),1;oe=0;var Ee=F===""?".":F+":";if(q(E))for(var ze=0;ze<E.length;ze++)F=E[ze],fe=Ee+Xe(F,ze),oe+=O(F,$,K,fe,ce);else if(ze=w(E),typeof ze=="function")for(E=ze.call(E),ze=0;!(F=E.next()).done;)F=F.value,fe=Ee+Xe(F,ze++),oe+=O(F,$,K,fe,ce);else if(fe==="object"){if(typeof E.then=="function")return O(re(E),$,K,F,ce);throw $=String(E),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return oe}function V(E,$,K){if(E==null)return E;var F=[],ce=0;return O(E,F,"","",function(fe){return $.call(K,fe,ce++)}),F}function ae(E){if(E._status===-1){var $=E._result;$=$(),$.then(function(K){(E._status===0||E._status===-1)&&(E._status=1,E._result=K)},function(K){(E._status===0||E._status===-1)&&(E._status=2,E._result=K)}),E._status===-1&&(E._status=0,E._result=$)}if(E._status===1)return E._result.default;throw E._result}var he=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},je={map:V,forEach:function(E,$,K){V(E,function(){$.apply(this,arguments)},K)},count:function(E){var $=0;return V(E,function(){$++}),$},toArray:function(E){return V(E,function($){return $})||[]},only:function(E){if(!ne(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return ue.Activity=v,ue.Children=je,ue.Component=L,ue.Fragment=c,ue.Profiler=f,ue.PureComponent=R,ue.StrictMode=u,ue.Suspense=g,ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,ue.__COMPILER_RUNTIME={__proto__:null,c:function(E){return X.H.useMemoCache(E)}},ue.cache=function(E){return function(){return E.apply(null,arguments)}},ue.cacheSignal=function(){return null},ue.cloneElement=function(E,$,K){if(E==null)throw ErrorLine truncated
|
||||
* @license React
|
||||
* scheduler.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Hh;function Ob(){return Hh||(Hh=1,(function(s){function r(O,V){var ae=O.length;O.push(V);e:for(;0<ae;){var he=ae-1>>>1,je=O[he];if(0<f(je,V))O[he]=V,O[ae]=je,ae=he;else break e}}function c(O){return O.length===0?null:O[0]}function u(O){if(O.length===0)return null;var V=O[0],ae=O.pop();if(ae!==V){O[0]=ae;e:for(var he=0,je=O.length,E=je>>>1;he<E;){var $=2*(he+1)-1,K=O[$],F=$+1,ce=O[F];if(0>f(K,ae))F<je&&0>f(ce,K)?(O[he]=ce,O[F]=ae,he=F):(O[he]=K,O[$]=ae,he=$);else if(F<je&&0>f(ce,ae))O[he]=ce,O[F]=ae,he=F;else break e}}return V}function f(O,V){var ae=O.sortIndex-V.sortIndex;return ae!==0?ae:O.id-V.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;s.unstable_now=function(){return d.now()}}else{var m=Date,x=m.now();s.unstable_now=function(){return m.now()-x}}var g=[],p=[],y=1,v=null,j=3,w=!1,N=!1,A=!1,H=!1,L=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function Q(O){for(var V=c(p);V!==null;){if(V.callback===null)u(p);else if(V.startTime<=O)u(p),V.sortIndex=V.expirationTime,r(g,V);else break;V=c(p)}}function q(O){if(A=!1,Q(O),!N)if(c(g)!==null)N=!0,J||(J=!0,ye());else{var V=c(p);V!==null&&re(q,V.startTime-O)}}var J=!1,X=-1,I=5,le=-1;function Z(){return H?!0:!(s.unstable_now()-le<I)}function ne(){if(H=!1,J){var O=s.unstable_now();le=O;var V=!0;try{e:{N=!1,A&&(A=!1,Y(X),X=-1),w=!0;var ae=j;try{t:{for(Q(O),v=c(g);v!==null&&!(v.expirationTime>O&&Z());){var he=v.callback;if(typeof he=="function"){v.callback=null,j=v.priorityLevel;var je=he(v.expirationTime<=O);if(O=s.unstable_now(),typeof je=="function"){v.callback=je,Q(O),V=!0;break t}v===c(g)&&u(g),Q(O)}else u(g);v=c(g)}if(v!==null)V=!0;else{var E=c(p);E!==null&&re(q,E.startTime-O),V=!1}}break e}finally{v=null,j=ae,w=!1}V=void 0}}finally{V?ye():J=!1}}}var ye;if(typeof R=="function")ye=function(){R(ne)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,Xe=Ge.port2;Ge.port1.onmessage=ne,ye=function(){Xe.postMessage(null)}}else ye=function(){L(ne,0)};function re(O,V){X=L(function(){O(s.unstable_now())},V)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(O){O.callback=null},s.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<O?Math.floor(1e3/O):5},s.unstable_getCurrentPriorityLevel=function(){return j},s.unstable_next=function(O){switch(j){case 1:case 2:case 3:var V=3;break;default:V=j}var ae=j;j=V;try{return O()}finally{j=ae}},s.unstable_requestPaint=function(){H=!0},s.unstable_runWithPriority=function(O,V){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var ae=j;j=O;try{return V()}finally{j=ae}},s.unstable_scheduleCallback=function(O,V,ae){var he=s.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?he+ae:he):ae=he,O){case 1:var je=-1;break;case 2:je=250;break;case 5:je=1073741823;break;case 4:je=1e4;break;default:je=5e3}return je=ae+je,O={id:y++,callback:V,priorityLevel:O,startTime:ae,expirationTime:je,sortIndex:-1},ae>he?(O.sortIndex=ae,r(p,O),c(g)===null&&O===c(p)&&(A?(Y(X),X=-1):A=!0,re(q,ae-he))):(O.sortIndex=je,r(g,O),N||w||(N=!0,J||(J=!0,ye()))),O},s.unstable_shouldYield=Z,s.unstable_wrapCallback=function(O){var V=j;return function(){var ae=j;j=V;try{return O.apply(this,arguments)}finally{j=ae}}}})(Qo)),Qo}var Bh;function Db(){return Bh||(Bh=1,Xo.exports=Ob()),Xo.exports}var Vo={exports:{}},xt={};/**
|
||||
* @license React
|
||||
* react-dom.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var qh;function Rb(){if(qh)return xt;qh=1;var s=fu();function r(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var u={d:{f:c,r:function(){throw Error(r(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},f=Symbol.for("react.portal");function d(g,p,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:v==null?null:""+v,children:g,containerInfo:p,implementation:y}}var m=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,xt.createPortal=function(g,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return d(g,p,null,y)},xt.flushSync=function(g){var p=m.T,y=u.p;try{if(m.T=null,u.p=2,g)return g()}finally{m.T=p,u.p=y,u.d.f()}},xt.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,u.d.C(g,p))},xt.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},xt.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var y=p.as,v=x(y,p.crossOrigin),j=typeof p.integrity=="string"?p.integrity:void 0,w=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?u.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:j,fetchPriority:w}):y==="script"&&u.d.X(g,{crossOrigin:v,integrity:j,fetchPriority:w,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},xt.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=x(p.as,p.crossOrigin);u.d.M(g,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&u.d.M(g)},xt.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,v=x(y,p.crossOrigin);u.d.L(g,y,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},xt.preloadModule=function(g,p){if(typeof g=="string")if(p){var y=x(p.as,p.crossOrigin);u.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else u.d.m(g)},xt.requestFormReset=function(g){u.d.r(g)},xt.unstable_batchedUpdates=function(g,p){return g(p)},xt.useFormState=function(g,p,y){return m.H.useFormState(g,p,y)},xt.useFormStatus=function(){return m.H.useHostTransitionStatus()},xt.version="19.2.8",xt}var $h;function Ub(){if($h)return Vo.exports;$h=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Vo.exports=Rb(),Vo.exports}/**
|
||||
* @license React
|
||||
* react-dom-client.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Gh;function Lb(){if(Gh)return Rs;Gh=1;var s=Db(),r=fu(),c=Ub();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function x(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(d(e)!==e)throw Error(u(188))}function p(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(u(188));return t!==e?null:e}for(var l=e,n=t;;){var i=l.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){l=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===l)return g(i),e;if(o===n)return g(i),t;o=o.sibling}throw Error(u(188))}if(l.return!==n.return)l=i,n=o;else{for(var h=!1,b=i.child;b;){if(b===l){h=!0,l=i,n=o;break}if(b===n){h=!0,n=i,l=o;break}b=b.sibling}if(!h){for(b=o.child;b;){if(b===l){h=!0,l=o,n=i;break}if(b===n){h=!0,n=o,l=i;break}b=b.sibling}if(!h)throw Error(u(189))}}if(l.alternate!==n)throw Error(u(190))}if(l.tag!==3)throw Error(u(188));return l.stateNode.current===l?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var v=Object.assign,j=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),R=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function ye(e){return e===null||typeof e!="object"?null:(e=ne&&e[ne]||e["@@iterator"],typeof e=="function"?e:null)}var Ge=Symbol.for("react.client.reference");function Xe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ge?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case L:return"Profiler";case H:return"StrictMode";case q:return"Suspense";case J:return"SuspenseList";case le:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case N:return"Portal";case R:return e.displayName||"Context";case Y:return(e._context.displayName||"Context")+".Consumer";case Q:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:Xe(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return Xe(e(t))}catch{}}return null}var re=Array.isArray,O=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},he=[],je=-1;function E(e){return{current:e}}function $(e){0>je||(e.current=he[je],he[je]=null,je--)}function K(e,t){je++,he[je]=e.current,e.current=t}var F=E(null),ce=E(null),fe=E(null),oe=E(null);function Ee(e,t){switch(K(fe,t),K(ce,e),K(F,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?lh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=lh(t),e=ah(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$(F),K(F,e)}function ze(){$(F),$(ce),$(fe)}function at(e){e.memoizedState!==null&&K(oe,e);var t=F.current,l=ah(t,e.type);t!==l&&(K(ce,e),K(F,l))}function Me(e){ce.current===e&&($(F),$(ce)),oe.current===e&&($(oe),Cs._currentValue=ae)}var te,Ae;function Oe(e){if(te===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);te=t&&t[1]||"",Ae=-1<l.stack.indexOf(`
|
||||
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||||
`+te+e+Ae}var tt=!1;function Nt(e,t){if(!e||tt)return"";tt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(D){var M=D}Reflect.construct(e,[],G)}else{try{G.call()}catch(D){M=D}e.call(G.prototype)}}else{try{throw Error()}catch(D){M=D}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(D){if(D&&M&&typeof D.stack=="string")return[D.stack,M.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),h=o[0],b=o[1];if(h&&b){var S=h.split(`
|
||||
`),C=b.split(`
|
||||
`);for(i=n=0;n<S.length&&!S[n].includes("DetermineComponentFrameRoot");)n++;for(;i<C.length&&!C[i].includes("DetermineComponentFrameRoot");)i++;if(n===S.length||i===C.length)for(n=S.length-1,i=C.length-1;1<=n&&0<=i&&S[n]!==C[i];)i--;for(;1<=n&&0<=i;n--,i--)if(S[n]!==C[i]){if(n!==1||i!==1)do if(n--,i--,0>i||S[n]!==C[i]){var U=`
|
||||
`+S[n].replace(" at new "," at ");return e.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",e.displayName)),U}while(1<=n&&0<=i);break}}}finally{tt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Oe(l):""}function Wt(e,t){switch(e.tag){case 26:case 27:case 5:return Oe(e.type);case 16:return Oe("Lazy");case 13:return e.child!==t&&t!==null?Oe("Suspense Fallback"):Oe("Suspense");case 19:return Oe("SuspenseList");case 0:case 15:return Nt(e.type,!1);case 11:return Nt(e.type.render,!1);case 1:return Nt(e.type,!0);case 31:return Oe("Activity");default:return""}}function sl(e){try{var t="",l=null;do t+=Wt(e,l),l=e,e=e.return;while(e);return t}catch(n){return`
|
||||
Error generating stack: `+n.message+`
|
||||
`+n.stack}}var Bt=Object.prototype.hasOwnProperty,Pt=s.unstable_scheduleCallback,gl=s.unstable_cancelCallback,Hn=s.unstable_shouldYield,Bn=s.unstable_requestPaint,pt=s.unstable_now,Js=s.unstable_getCurrentPriorityLevel,Fs=s.unstable_ImmediatePriority,qn=s.unstable_UserBlockingPriority,$a=s.unstable_NormalPriority,$n=s.unstable_LowPriority,bl=s.unstable_IdlePriority,Gn=s.log,Yn=s.unstable_setDisableYieldValue,il=null,vt=null;function rl(e){if(typeof Gn=="function"&&Yn(e),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(il,e)}catch{}}var yt=Math.clz32?Math.clz32:Is,zr=Math.log,Tr=Math.LN2;function Is(e){return e>>>=0,e===0?32:31-(zr(e)/Tr|0)|0}var Ga=256,ga=262144,ba=4194304;function cl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ya(e,t,l){var n=e.pendingLanes;if(n===0)return 0;var i=0,o=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var b=n&134217727;return b!==0?(n=b&~o,n!==0?i=cl(n):(h&=b,h!==0?i=cl(h):l||(l=b&~e,l!==0&&(i=cl(l))))):(b=n&~o,b!==0?i=cl(b):h!==0?i=cl(h):l||(l=n&~e,l!==0&&(i=cl(l)))),i===0?0:t!==0&&t!==i&&(t&o)===0&&(o=i&-i,l=t&-t,o>=l||o===32&&(l&4194048)!==0)?t:i}function $l(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ws(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ps(){var e=ba;return ba<<=1,(ba&62914560)===0&&(ba=4194304),e}function Ar(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Xn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function px(e,t,l,n,i,o){var h=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,C=e.hiddenUpdates;for(l=h&~l;0<l;){var U=31-yt(l),G=1<<U;b[U]=0,S[U]=-1;var M=C[U];if(M!==null)for(C[U]=null,U=0;U<M.length;U++){var D=M[U];D!==null&&(D.lane&=-536870913)}l&=~G}n!==0&&Lu(e,n,0),o!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=o&~(h&~t))}function Lu(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-yt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|l&261930}function Hu(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var n=31-yt(l),i=1<<n;i&t|e[n]&t&&(e[n]|=t),l&=~i}}function Bu(e,t){var l=t&-t;return l=(l&42)!==0?1:kr(l),(l&(e.suspendedLanes|t))!==0?0:l}function kr(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Cr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function qu(){var e=V.p;return e!==0?e:(e=window.event,e===void 0?32:zh(e.type))}function $u(e,t){var l=V.p;try{return V.p=e,t()}finally{V.p=l}}var Gl=Math.random().toString(36).slice(2),ot="__reactFiber$"+Gl,St="__reactProps$"+Gl,Xa="__reactContainer$"+Gl,_r="__reactEvents$"+Gl,xx="__reactListeners$"+Gl,gx="__reactHandles$"+Gl,Gu="__reactResources$"+Gl,Qn="__reactMarker$"+Gl;function Mr(e){delete e[ot],delete e[St],delete e[_r],delete e[xx],delete e[gx]}function Qa(e){var t=e[ot];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Xa]||l[ot]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=uh(e);e!==null;){if(l=e[ot])return l;e=uh(e)}return t}e=l,l=e.parentNode}return null}function Va(e){if(e=e[ot]||e[Xa]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Vn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function Za(e){var t=e[Gu];return t||(t=e[Gu]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function nt(e){e[Qn]=!0}var Yu=new Set,Xu={};function va(e,t){Ka(e,t),Ka(e+"Capture",t)}function Ka(e,t){for(Xu[e]=t,e=0;e<t.length;e++)Yu.add(t[e])}var bx=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u21
Line truncated
|
||||
`).replace(Jg,"")}function eh(e,t){return t=Pm(t),Pm(e)===t}function Re(e,t,l,n,i,o){switch(l){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||Fa(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&Fa(e,""+n);break;case"className":ti(e,"class",n);break;case"tabIndex":ti(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":ti(e,l,n);break;case"style":Pu(e,n,o);break;case"data":if(t!=="object"){ti(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=ai(""+n),e.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(l==="formAction"?(t!=="input"&&Re(e,t,"name",i.name,i,null),Re(e,t,"formEncType",i.formEncType,i,null),Re(e,t,"formMethod",i.formMethod,i,null),Re(e,t,"formTarget",i.formTarget,i,null)):(Re(e,t,"encType",i.encType,i,null),Re(e,t,"method",i.method,i,null),Re(e,t,"target",i.target,i,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=ai(""+n),e.setAttribute(l,n);break;case"onClick":n!=null&&(e.onclick=yl);break;case"onScroll":n!=null&&xe("scroll",e);break;case"onScrollEnd":n!=null&&xe("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(u(61));if(l=n.__html,l!=null){if(i.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}l=ai(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""+n):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":n===!0?e.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(l,n):e.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(l):e.setAttribute(l,n);break;case"popover":xe("beforetoggle",e),xe("toggle",e),ei(e,"popover",n);break;case"xlinkActuate":vl(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":vl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":vl(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":vl(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":vl(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":vl(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":vl(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":vl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":vl(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":ei(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Sx.get(l)||l,ei(e,l,n))}}function So(e,t,l,n,i,o){switch(l){case"style":Pu(e,n,o);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(u(61));if(l=n.__html,l!=null){if(i.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"children":typeof n=="string"?Fa(e,n):(typeof n=="number"||typeof n=="bigint")&&Fa(e,""+n);break;case"onScroll":n!=null&&xe("scroll",e);break;case"onScrollEnd":n!=null&&xe("scrollend",e);break;case"onClick":n!=null&&(e.onclick=yl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne
Line truncated
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Bb=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),qb=s=>s.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,c,u)=>u?u.toUpperCase():c.toLowerCase()),Xh=s=>{const r=qb(s);return r.charAt(0).toUpperCase()+r.slice(1)},Mp=(...s)=>s.filter((r,c,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===c).join(" ").trim(),$b=s=>{for(const r in s)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/var Gb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Yb=_.forwardRef(({color:s="currentColor",size:r=24,strokeWidth:c=2,absoluteStrokeWidth:u,className:f="",children:d,iconNode:m,...x},g)=>_.createElement("svg",{ref:g,...Gb,width:r,height:r,stroke:s,strokeWidth:u?Number(c)*24/Number(r):c,className:Mp("lucide",f),...!d&&!$b(x)&&{"aria-hidden":"true"},...x},[...m.map(([p,y])=>_.createElement(p,y)),...Array.isArray(d)?d:[d]]));/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const _e=(s,r)=>{const c=_.forwardRef(({className:u,...f},d)=>_.createElement(Yb,{ref:d,iconNode:r,className:Mp(`lucide-${Bb(Xh(s))}`,`lucide-${s}`,u),...f}));return c.displayName=Xh(s),c};/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Xb=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Hl=_e("arrow-up-right",Xb);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Qb=[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]],Vb=_e("bed-double",Qb);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Zb=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]],Kb=_e("calendar-check",Zb);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Jb=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Fb=_e("car",Jb);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Ib=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],du=_e("check",Ib);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Wb=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],mu=_e("chevron-down",Wb);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const Pb=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],_n=_e("chevron-left",Pb);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const e0=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],La=_e("chevron-right",e0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const t0=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],l0=_e("clock",t0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const a0=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v6",key:"1j4efv"}],["path",{d:"M8 14v6",key:"17c4r9"}],["path",{d:"M12 16v6",key:"c8a4gj"}]],n0=_e("cloud-rain",a0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const s0=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M8 19h.01",key:"puxtts"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M12 21h.01",key:"h35vbk"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M16 19h.01",key:"1vcnzz"}]],i0=_e("cloud-snow",s0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const r0=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],c0=_e("cloud",r0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const o0=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],u0=_e("copy",o0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const f0=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],d0=_e("external-link",f0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const m0=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],h0=_e("instagram",m0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const p0=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Op=_e("mail",p0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const x0=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],vr=_e("map-pin",x0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const g0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Dp=_e("menu",g0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const b0=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],hu=_e("message-circle",b0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const v0=[["path",{d:"M5 12h14",key:"1ays0h"}]],y0=_e("minus",v0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const j0=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],Zo=_e("navigation",j0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const N0=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],gt=_e("phone",N0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const S0=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],w0=_e("play",S0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const E0=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],z0=_e("plus",E0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const T0=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],A0=_e("rotate-ccw",T0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const k0=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],C0=_e("sun",k0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const _0=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],M0=_e("utensils",_0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const O0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],yr=_e("x",O0);/**
|
||||
* @license lucide-react v0.546.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const D0=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],R0=_e("youtube",D0),Rp=_.createContext(null);function U0({payload:s,children:r}){return a.jsx(Rp.Provider,{value:s,children:r})}function W(){const s=_.useContext(Rp);if(!s)throw new Error("SiteProvider 밖에서 useSite() 를 불렀습니다. payload 없이는 렌더할 수 없습니다.");return s}function L0(){return a.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",children:[a.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),a.jsxs("g",{className:"w4d-reel",children:[a.jsx("circle",{cx:"8.5",cy:"12",r:"2.6"}),a.jsx("path",{d:"M8.5 9.4v5.2M5.9 12h5.2"})]}),a.jsxs("g",{className:"w4d-reel",children:[a.jsx("circle",{cx:"15.5",cy:"12",r:"2.6"}),a.jsx("path",{d:"M15.5 9.4v5.2M12.9 12h5.2"})]}),a.jsx("path",{d:"M6 19l1.5-2.4h9L18 19"})]})}function H0(){return a.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M8 5v14l11-7z"})})}function B0(){return a.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M7 5h3.4v14H7zm6.6 0H17v14h-3.4z"})})}function q0(){return a.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[a.jsx("path",{d:"M4 7h11M4 12h11M4 17h7"}),a.jsx("path",{d:"M19 17.5V9l3 1.2"}),a.jsx("circle",{cx:"17.4",cy:"17.6",r:"1.7",fill:"currentColor",stroke:"none"})]})}function $0(){return a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:a.jsx("path",{d:"M6 6l12 12M18 6L6 18"})})}function Qh(s){if(typeof s!="number"||!Number.isFinite(s))return"";const r=Math.floor(s/60),c=Math.floor(s%60);return`${r}:${c<10?"0":""}${c}`}function Up(){const s=W(),r=(s.songs??[]).filter(q=>q.audioUrl),[c,u]=_.useState(0),[f,d]=_.useState(!1),[m,x]=_.useState(!1),[g,p]=_.useState({now:0,total:0}),[y,v]=_.useState({}),j=_.useRef(null),w=_.useRef(null),N=_.useRef(null),A=r.length;_.useEffect(()=>{A>1&&u(Math.floor(Math.random()*A))},[A]);const H=_.useCallback(()=>{var I;const q=document.querySelector("header"),J=q==null?void 0:q.getBoundingClientRect(),X={top:`${J?J.bottom+6:66}px`};if(window.innerWidth<=640)X.left="8px",X.right="8px";else{X.left="auto";const le=(I=w.current)==null?void 0:I.getBoundingClientRect();X.right=`${Math.max(12,window.innerWidth-((le==null?void 0:le.right)??0))}px`}v(X)},[]);if(_.useEffect(()=>{if(!m)return;H();const q=()=>H(),J=X=>{var le,Z;const I=X.target;(le=N.current)!=null&&le.contains(I)||(Z=w.current)!=null&&Z.contains(I)||x(!1)};return window.addEventListener("resize",q),window.addEventListener("scroll",q,{passive:!0}),document.addEventListener("click",J),()=>{window.removeEventListener("resize",q),window.removeEventListener("scroll",q),document.removeEventListener("click",J)}},[m,H]),_.useEffect(()=>()=>{var q;return(q=j.current)==null?void 0:q.pause()},[]),r.length===0)return null;const L=r[c]??r[0],Y=(q=c)=>{const J=j.current,X=r[q];!J||!X||(J.getAttribute("src")!==X.audioUrl&&(J.src=X.audioUrl),J.play().then(()=>d(!0),()=>d(!1)))},R=()=>{var q;(q=j.current)==null||q.pause(),d(!1)},Q=q=>{const J=(q%r.length+r.length)%r.length;u(J),p({now:0,total:0}),Y(J)};return a.jsxs(a.Fragment,{children:[a.jsxs("span",{id:"w4d-mini",ref:w,"data-playing":f?"1":"0",children:[a.jsx("span",{id:"w4d-tape","aria-hidden":!0,title:`${s.place.name}이(가) 만든 노래`,children:a.jsx(L0,{})}),a.jsx("span",{id:"w4d-now","aria-live":"polite",children:L.title}),a.jsx("button",{type:"button",id:"w4d-play","data-playing":f?"1":"0",title:`${f?"멈춤":"재생"} · ${L.title}`,onClick:()=>f?R():Y(),children:f?a.jsx(B0,{}):a.jsx(H0,{})}),a.jsx("button",{type:"button",id:"w4d-toggle",title:"노래 목록","aria-expanded":m,onClick:()=>x(q=>!q),children:a.jsx(q0,{})})]}),a.jsx("audio",{ref:j,src:r[0].audioUrl,preload:"none",onTimeUpdate:q=>p({now:q.currentTarget.currentTime,total:q.currentTarget.duration}),onDurationChange:q=>p(J=>({...J,total:q.currentTarget.duration})),onEnded:()=>Q(c+1),onError:()=>d(!1)}),a.jsxs("div",{id:"w4d-panel",ref:N,hidden:!m,style:y,children:[a.jsxs("div",{className:"w4d-head",children:[a.jsxs("span",{className:"w4d-head-t",children:[s.place.name,"이(가) 만든 노래"]}),a.jsxs("span",{className:"w4d-head-n",children:[r.length,"곡"]}),a.jsx("button",{type:"button",id:"w4d-close",title:"닫기","aria-label":"닫기",onClick:()=>x(!1),children:a.jsx($0,{})})]}),a.jsx("ol",{children:r.map((q,J)=>a.jsx("li",{children:a.jsxs("button",{type:"button",className:"w4d-item","aria-current":J===c,"data-playing":J===c&&f?"1":"0",onClick:()=>Q(J),children:[a.jsxs("span",{className:"w4d-mark",children:[a.jsx("span",{className:"w4d-disc-sm"}),a.jsxs("span",{className:"w4d-eq","aria-hidden":!0,children:[a.jsx("i",{}),a.jsx("i",{}),a.jsx("i",{})]})]}),a.Line truncated
|
||||
|
||||
`).trim()})]})]})}const ml={LODGING:1,CAFE:2,RESTAURANT:3,CLINIC:4},G0={OWNER:1,CRAWL:3,TEMPLATE:5},Vh={UNVERIFIED:1,VERIFIED:3,CORRECTED:4},Y0=[Vh.VERIFIED,Vh.CORRECTED];function Lp(s){return Y0.includes(s)}const it={YANOLJA:1,GOODCHOICE:2,NAVER_PLACE:3,INSTAGRAM:4,OFFICIAL_SITE:5,BLOG:6,NAVER_BOOKING:7,ETC:99},Bj={PUBLISHED:3};function Mn(s){return s.filter(r=>Lp(r.status)&&r.value!=null&&r.value!=="")}function Hp(s){const r=new Map;for(const c of Mn(s))r.set(c.key,c);return r}function da(s,r){const c=Hp(s).get(r);return(c==null?void 0:c.value)??void 0}function Ct(s,r){const c=Hp(s).get(r);if(!(c!=null&&c.value))return;const u=c.type==="number"?X0(c.value):c.value;return c.unit?`${u}${c.unit}`:u}function X0(s){const r=Number(s.replace(/,/g,""));return Number.isFinite(r)?r.toLocaleString("ko-KR"):s}function pu(s){return s.type!=="bool"?s.label:s.label.replace(/\s*(가능|여부)$/,"")||s.label}function Q0(s){return s.filter(r=>Lp(r.status)&&r.question&&r.answer).sort((r,c)=>r.sortOrder-c.sortOrder)}function xu(s){return s.map(r=>({...r,facts:Mn(r.facts)})).sort((r,c)=>r.sortOrder-c.sortOrder)}const V0={songs:"title",daily:"title",course:"name",schedule:"name",people:"name",chronicle:"title",reading:"title",literature:"workTitle",postcard:"line",quiz:"question",planner:"name",itinerary:"name",video:"url",event:"title"};function Z0(s){const r=(s??"").trim();if(!r)return;const c=/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/|live\/)|youtu\.be\/)([A-Za-z0-9_-]{6,20})/.exec(r);return c==null?void 0:c[1]}function K0(s){return/youtube\.com\/shorts\//.test((s??"").trim())}function J0(s){return`https://i.ytimg.com/vi/${s}/hqdefault.jpg`}function F0(s){return`https://www.youtube-nocookie.com/embed/${s}?autoplay=1&rel=0&modestbranding=1`}const dr={items:[],unverified:0,sourced:0};function I0(s,r){var p,y;const c=v=>{const j=s.slice(0,Math.max(0,v)),w=j.split(`
|
||||
`).length,N=v-j.lastIndexOf(`
|
||||
`);return`${w}번째 줄 ${N}번째 글자`},u=(p=/Unexpected token '(.)'/.exec(r))==null?void 0:p[1],f=u==="}"||u==="]"?"닫는 괄호 바로 앞에 쉼표가 하나 더 있는지 보세요.":"그 앞의 쉼표·따옴표·괄호를 확인해 주세요.",d=/line (\d+) column (\d+)/.exec(r);if(d)return`${d[1]}번째 줄 ${d[2]}번째 글자에서 JSON 이 끊깁니다. ${f}`;const m=/position (\d+)/.exec(r);if(m)return`${c(Number(m[1]))}에서 JSON 이 끊깁니다. ${f}`;const x=(y=/\.\.\."([\s\S]*?)" is not valid JSON/.exec(r))==null?void 0:y[1],g=x?s.indexOf(x):-1;return g>=0?`${c(g+x.length)} 부근에서 JSON 이 끊깁니다. ${f}`:"JSON 이 아닙니다. ChatGPT 가 준 답에서 { 로 시작해 } 로 끝나는 부분만 붙여넣어 주세요."}function W0(s,r){const c=V0[s],u=(r??"").trim();if(!c||!u)return dr;let f;try{f=JSON.parse(u)}catch(v){return{...dr,error:I0(u,v instanceof Error?v.message:"")}}if(typeof f!="object"||f===null||Array.isArray(f))return{...dr,error:"바깥이 { } 로 감싸인 JSON 이어야 합니다."};const d=f,m=typeof d.kind=="string"?d.kind:void 0,x=d.items;if(!Array.isArray(x))return{...dr,error:"items 배열이 없습니다. 프롬프트로 다시 만들어 주세요."};const g=x.filter(v=>typeof v=="object"&&v!==null&&!Array.isArray(v)&&typeof v[c]=="string"&&v[c].trim().length>0);let p=0,y=0;for(const v of g){const j=v;j.verified!=="확인"&&(p+=1),j.source&&typeof j.source=="object"&&(y+=1)}return{items:g,title:typeof d.title=="string"?d.title:void 0,subtitle:typeof d.subtitle=="string"?d.subtitle:void 0,linkUrl:typeof d.linkUrl=="string"&&/^https?:\/\//.test(d.linkUrl)?d.linkUrl:void 0,linkLabel:typeof d.linkLabel=="string"?d.linkLabel:void 0,kindMismatch:m&&m!==s?m:void 0,unverified:p,sourced:y}}const P0=1260,ev=60,tv="10:00",Zh=["봄","여름","가을","겨울"];function Kh(s){const r=/^(\d{1,2}):(\d{2})$/.exec(s.trim());if(!r)return;const c=Number(r[1]),u=Number(r[2]);if(!(c>23||u>59))return c*60+u}function mr(s){const r=(s%1440+1440)%1440;return`${String(Math.floor(r/60)).padStart(2,"0")}:${String(r%60).padStart(2,"0")}`}function lv(s){const r=Kh(s.startTime??"")??Kh(tv)??600,c=[];let u=r,f=0;for(const d of s.stops??[]){const m=Math.max(0,d.moveMinutes??0),x=Math.max(1,d.minutes??ev),g=u+m;if(g+x>P0){f+=1;continue}c.push({stop:d,time:mr(g),until:mr(g+x),move:m}),u=g+x}return{stops:c,from:mr(r),to:mr(u),totalMinutes:u-r,dropped:f}}function av(s=new Date){const r=s.getMonth()+1,c=Math.floor((r-3+12)%12/3),u=Zh[c];return r%3===0&&s.getDate()<=15?[Zh[(c+3)%4],u]:[u]}function Jh(s){const r=parseInt(s.replace("#",""),16);return[r>>16&255,r>>8&255,r&255]}function Fh(s,r,c){if(!/^#[0-9a-fA-F]{6}$/.test(s)||!/^#[0-9a-fA-F]{6}$/.test(r))return s;const[u,f,d]=Jh(s),[m,x,g]=Jh(r),p=(v,j)=>Math.round(v+(j-v)*c),y=v=>v.toString(16).padStart(2,"0");return`#${y(p(u,m))}${y(p(f,x))}${y(p(d,g))}`}function nv(s){return{surface:Fh(s.bg,s.text,.06),surfaceAlt:s.card,inverse:"#1c1917",border:Fh(s.bg,s.text,.2)}}const Bp={[ml.LODGING]:{type:"HotelRoom",path:"rooms",label:"객실"},[ml.CAFE]:{type:"MenuItem",path:"menu",label:"메뉴"},[ml.RESTAURANT]:{type:"MenuItem",path:"menu",label:"메뉴"},[ml.CLINIC]:{type:"Product",path:"programs",label:"시술"}};function sv(s){return s.links.filter(r=>r.confirmed&&/^https?:\/\//i.test(r.url??""))}function qp(s){var r;for(const[c,u]of[["weekday_price","주중 1박"],["price","1박"],["weekend_price","주말 1박"],["peak_price","성수기 1박"]]){const f=Number((r=da(s.facts,c))==null?void 0:r.replace(/[^0-9]/g,""));if(Number.isFinite(f)&&f>0)return{price:f,label:u}}}const Ih=[it.NAVER_BOOKING,it.YANOLJA,it.GOODCHOICE,it.NAVER_PLACE];function iv(s){return/\/p\/search\/|[?&]query=/.test(s)}function $p(s){const r=new Map(Ih.map((f,d)=>[f,d])),c=s.links.filter(f=>f.confirmed&&Ih.includes(f.channel)&&!iv(f.url)),u=c.some(f=>f.channel===it.NAVER_BOOKING);return c.filter(f=>!(u&&f.channel===it.NAVER_PLACE)).sort((f,d)=>(r.get(f.channel)??99)-(r.get(d.channel)??99))}function gu(s){return s.links.find(r=>r.confirmed&&r.channel===it.OFFICIAL_SITE)??$p(s)[0]??sv(s)[0]}function bu(s){return Mn(s.facts).filter(r=>r.scope==="place").map(r=>({key:r.key,label:pu(r),value:vu(r,s.facts)})).filter(r=>r.value!=="")}function vu(s,r){var u;if(s.key==="intro"&&((u=s.summary)!=null&&u.trim()))return s.summary.trim();const c=Ct(r,s.key);return c?s.type!=="bool"?c:/여부$/.test(s.label)?c==="true"?"있음":c==="false"?"없음":c:c==="true"?"가능":c==="false"?"불가":c:""}const rv=new Set(["weekday_price","weekend_price","peak_price","price_range"]);function cv(s){const r=new Set;return s.filter(c=>{const u=c.value.trim();return r.has(u)?!1:(r.add(u),!0)})}function nl(s){const r=Bp[s.place.category],c=new Map(s.media.map(u=>[u.mediaId,u]));return xu(s.units).map(u=>{const f=Ct(u.facts,"room_intro")??Ct(u.facts,"description"),d=s.place.category===ml.LODGING?["standard_capacity","max_capacity","bed_type","room_size"]:["price","volume","origin"];return{unitId:u.unit
Line truncated
|
||||
.stay2-hero-slide { animation: stay2-hero-fade ${r}s ease-in-out infinite; }
|
||||
@keyframes stay2-hero-fade {
|
||||
0% { opacity: 1; }
|
||||
${c(xr)} { opacity: 1; }
|
||||
${c(xr+nu)} { opacity: 0; }
|
||||
${c(r-nu)} { opacity: 0; }
|
||||
100% { opacity: 1; }
|
||||
}`}
|
||||
.stay2-hero-focus { animation: stay2-hero-focus 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
|
||||
@keyframes stay2-hero-focus {
|
||||
0% { opacity: 0; filter: blur(0.22em); }
|
||||
40% { opacity: 1; }
|
||||
100% { opacity: 1; filter: blur(0); }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.stay2-hero-slide, .stay2-hero-focus { animation: none; }
|
||||
}
|
||||
`}function qv(s,r){return((r-s)%r*xr+nu).toFixed(1)}function $v(){const s=W(),{place:r,narrative:c}=s,u=rt(s),f=Ke(s)[0],d=c.tagline??c.heroSubline,m=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary)),x=m.length<2?0:Math.min(m.length,Hv),g=f?{href:f.url,label:`${Cn(f)}에서 예약`,external:!0}:r.phone?{href:`tel:${r.phone}`,label:`${r.phone} 예약 문의`,external:!1}:s.units.length>0?{href:"#units",label:`${u.label} 보기`,external:!1}:null;return a.jsxs("section",{id:"top",className:"w-full",children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:Bv(x)}}),a.jsxs("div",{className:"relative flex w-full items-center justify-center overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"100svh"},children:[m.map((p,y)=>a.jsx("img",{src:p.url,alt:p.alt,fetchPriority:y===0?"high":y<x?"auto":"low",loading:y<Math.max(x,1)?void 0:"lazy",decoding:"async",width:p.width,height:p.height,className:`absolute inset-0 size-full object-cover object-center ${y<x?"stay2-hero-slide":""}`,style:{opacity:y===0?1:0,animationDelay:y<x?`-${qv(y,x)}s`:void 0}},p.mediaId)),a.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--tpl-inverse, #1c1917) 16%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 14%, transparent) 40%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 34%, transparent) 100%)"}}),a.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-48",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--tpl-inverse, #1c1917) 68%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 40%, transparent) 45%, transparent 100%)"}}),a.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(ellipse 58% 42% at 50% 52%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 38%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 18%, transparent) 55%, transparent 78%)"}}),a.jsxs("div",{className:"shell relative z-10 flex flex-col items-center pt-20 text-center",style:{textShadow:"0 1px 3px color-mix(in srgb, var(--tpl-inverse, #1c1917) 55%, transparent)"},children:[a.jsx("h1",{className:"stay2-hero-focus serif",style:{fontSize:"var(--fs-display)",fontWeight:300,letterSpacing:"0.06em",lineHeight:1.25,animationDelay:"0.05s"},children:r.name}),d&&a.jsx("p",{className:"stay2-hero-focus measure mt-6 text-[length:var(--fs-lead)] font-light leading-loose opacity-100",style:{animationDelay:"0.3s"},children:a.jsx(ql,{children:d})}),g&&a.jsx("a",{href:g.href,...g.external?{target:"_blank",rel:"noopener noreferrer"}:{},className:"stay2-hero-focus tap mt-10 inline-flex items-center justify-center border border-current/70 px-9 text-[length:var(--fs-sm)] font-light tracking-[0.14em] transition-colors hover:border-current",style:{animationDelay:"0.55s",backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 22%, transparent)",boxShadow:"0 1px 6px color-mix(in srgb, var(--tpl-inverse, #1c1917) 30%, transparent)"},children:g.label})]})]})]})}function Gv(){const s=W(),{place:r,narrative:c}=s,u=Nr(s),f=Dn(s),d=Ke(s),m=Ha(s),x=m.length>0?m:bu(s).slice(0,4),g=(u==null?void 0:u.caption)??r.name;return a.jsxs("section",{id:"top","data-oasi":!0,"aria-labelledby":"top-heading",className:"pt-12 lg:pt-16",children:[a.jsx("h1",{id:"top-heading",className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em] leading-[1.9]",children:r.name}),c.heroHeadline&&a.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:c.heroHeadline}),u&&a.jsxs("figure",{className:"relative mx-auto mt-10 w-full max-w-[34rem]",children:[a.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"block h-[clamp(17rem,27vw,24rem)] w-full object-cover"}),a.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:g})]}),(f||x.length>0)&&a.jsxs("dl",{className:"border-line mt-10 flex flex-wrap gap-x-10 gap-y-4 border-t pt-5 text-[length:var(--fs-xs)] leading-[1.9]",children:[f&&a.jsxs("div",{children:[a.jsx("dt",{className:"text-muted",children:"최저가"}),a.jsx("dd",{children:f})]}),x.map(p=>a.jsxs("div",{children:[a.jsx("dt",{className:"text-muted",children:p.label}),a.jsx("dd",{children:p.value})]},p.label))]}),d.length>0&&a.jsx("ul",{className:"mt-6 flex flex-wrap items-center gap-x-8",children:d.map(p=>a.jsx("li",{children:a.jsx("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:bt(p)})},p.url))})]})}function Yv(){const s=W(),r=yu(s),c=Nr(s),u=c&&r.some(f=>f
Line truncated
|
||||
`).forEach(f=>{if(f.trim()===""){u.push("");return}let d="";f.split(" ").forEach(m=>{const x=d?`${d} ${m}`:m;if(s.measureText(x).width<=c){d=x;return}if(d&&u.push(d),s.measureText(m).width<=c){d=m;return}let g="";for(const p of m){const y=g+p;s.measureText(y).width>c&&g?(u.push(g),g=p):g=y}d=g}),d&&u.push(d)}),u}function cj(s,r,c){const u=[];let f="";return r.split(/[,\s]+/).filter(Boolean).forEach(d=>{const m=f?`${f} ${d}`:d;if(s.measureText(m).width<=c){f=m;return}if(f&&u.push(f),s.measureText(d).width<=c){f=d;return}let x="";for(const g of d){const p=x+g;s.measureText(p).width>c&&x?(u.push(x),x=g):x=p}f=x}),f&&u.push(f),u}const oj="/v1/image/relay?url=";async function uj(s){const r=(c,u)=>new Promise((f,d)=>{const m=new Image;u&&(m.crossOrigin=u),m.onload=()=>f(m),m.onerror=d,m.src=c});try{return{img:await r(s,"anonymous"),exportable:!0}}catch{}if(/^https?:\/\//i.test(s))try{return{img:await r(`${oj}${encodeURIComponent(s)}`,"anonymous"),exportable:!0}}catch{}return{img:await r(s,null),exportable:!1}}function fj(){const s=document.querySelector(".serif");return(s?getComputedStyle(s).fontFamily:"")||"serif"}async function Ap(s,{photoUrl:r,text:c,placeName:u,region:f}){const d=s.getContext("2d");if(!d)return!1;const m=s.width,x=fj();d.clearRect(0,0,m,m),d.fillStyle=rj,d.fillRect(0,0,m,m);const{img:g,exportable:p}=await uj(r),y=m-ht*2,v=y/1.5,j=Math.max(y/g.width,v/g.height),w=g.width*j,N=g.height*j;d.save(),d.beginPath(),d.rect(ht,ht,y,v),d.clip(),d.drawImage(g,ht+(y-w)/2,ht+(v-N)/2,w,N),d.restore(),d.strokeStyle="rgba(27,26,21,0.25)",d.lineWidth=1,d.strokeRect(ht+.5,ht+.5,y-1,v-1);const A=ht+v+36,H=m-ht-ou,L=dx(m);d.strokeStyle="rgba(27,26,21,0.35)",d.beginPath(),d.moveTo(H,A),d.lineTo(H,m-ht-46),d.stroke(),d.fillStyle=lu,d.font=`600 46px ${x}`,d.textAlign="left",d.textBaseline="alphabetic";const Y=mx(d,`“${c.trim()||"오늘, 이 숙소에서 하루를 보냅니다."}”`,L),R=Y.slice(0,Bs);if(Y.length>Bs){let I=R[Bs-1];for(;I.length&&d.measureText(`${I}…`).width>L;)I=I.slice(0,-1);R[Bs-1]=`${I}…`}R.forEach((I,le)=>d.fillText(I,ht,A+50+le*60));const Q=H+ou/2;d.strokeStyle=lu,d.lineWidth=1.5,d.setLineDash([4,4]),d.strokeRect(Q-44,A,88,108),d.setLineDash([]),d.fillStyle=lu,d.font=`400 20px ${x}`,d.textAlign="center",d.fillText("郵票",Q,A+46),d.fillText("10원",Q,A+78),d.save(),d.translate(Q,A+210),d.rotate(-6*Math.PI/180),d.strokeStyle=Tp,d.lineWidth=3,d.beginPath(),d.arc(0,0,62,0,Math.PI*2),d.stroke(),d.fillStyle=Tp,d.font=`600 22px ${x}`;const q=cj(d,u,100).slice(0,2),J=8-(q.length-1)*26/2;q.forEach((I,le)=>d.fillText(I,0,J+le*26)),d.restore();const X=m-ht-30;return d.strokeStyle="rgba(27,26,21,0.3)",d.setLineDash([3,3]),d.beginPath(),d.moveTo(ht,X-20),d.lineTo(m-ht,X-20),d.stroke(),d.setLineDash([]),d.fillStyle="rgba(27,26,21,0.6)",d.font=`400 22px ${x}`,d.textAlign="left",d.fillText(`${u} · ${f}`,ht,X+6),p}const kp="postcard.png";function dj(){const s=W(),r=(s.media??[]).filter(R=>R.url),c=_.useRef(null),[u,f]=_.useState(0),[d,m]=_.useState(""),[x,g]=_.useState(""),[p,y]=_.useState(!1),[v,j]=_.useState(!0);_.useEffect(()=>{var R;y(((R=window.matchMedia)==null?void 0:R.call(window,"(pointer: coarse)").matches)??!1)},[]);const w=s.place.name,N=String(s.place.address??"").split(" ").slice(0,2).join(" ");if(_.useEffect(()=>{const R=c.current,Q=r[u];if(!R||!(Q!=null&&Q.url))return;const q=window.setTimeout(()=>{Ap(R,{photoUrl:Q.url,text:d,placeName:w,region:N}).then(j)},80);return()=>window.clearTimeout(q)},[u,d,w,N,r]),_.useEffect(()=>{var q;const R=c.current,Q=r[u];!R||!(Q!=null&&Q.url)||!((q=document.fonts)!=null&&q.ready)||document.fonts.ready.then(()=>Ap(R,{photoUrl:Q.url,text:d,placeName:w,region:N}).then(j))},[]),r.length===0)return null;function A(R){var q;const Q=(q=c.current)==null?void 0:q.getContext("2d");return Q?(Q.font="600 46px serif",mx(Q,`“${R}”`,dx()).length<=Bs):!0}function H(){return new Promise(R=>{const Q=c.current;if(!Q)return R(null);Q.toBlob(q=>R(q),"image/png",.95)})}function L(R){const Q=URL.createObjectURL(R),q=document.createElement("a");q.href=Q,q.download=kp,q.click(),URL.revokeObjectURL(Q)}async function Y(){var J,X;const R=await H();if(!R)return;const Q=((J=document.querySelector('meta[property="og:url"]'))==null?void 0:J.content)??`${location.origin}${location.pathname}`,q=new File([R],kp,{type:"image/png"});if((X=navigator.canShare)!=null&&X.call(navigator,{files:[q]})){await navigator.share({files:[q],title:`${w} 엽서`,text:Q}).catch(()=>{});return}if(navigator.share){await navigator.share({title:`${w} 엽서`,url:Q}).catch(()=>{}),g('이 브라우저는 사진을 같이 못 보내 링크만 보냈습니다. 사진은 "이미지로 저장" 을 눌러 주세요.');return}L(R),g("이 브라우저는 공유 시트를 못 열어 저장으로 대신했습니다.")}return a.jsx(ct,{id:"postcard-maker",title:"엽서 쓰기",lead:`${w}에서 보내는 한 장을 직접 써 봅니다. 사진을 고르고 한 마디를 적으면 그 자리에서 엽서가 되고,
Line truncated
|
||||
.oasi-page main > section:not([data-oasi]) {
|
||||
background-color: transparent !important;
|
||||
background-image: none !important;
|
||||
border-color: transparent !important;
|
||||
color: var(--tpl-text) !important;
|
||||
padding-block: var(--oasi-gap) 0 !important;
|
||||
}
|
||||
.oasi-page main > section:not([data-oasi]) .shell {
|
||||
max-width: none;
|
||||
padding-inline: 0;
|
||||
}
|
||||
.oasi-page main > section#about > .shell > .grid {
|
||||
display: block;
|
||||
}
|
||||
.oasi-page main > section#about > .shell > .grid > * + * {
|
||||
margin-top: 2.5rem;
|
||||
}
|
||||
.oasi-page main > section#summary dl {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
/*
|
||||
* 붙여넣기 아이템 카드 — 소식 · 영상 · 추천 일정 (2026-09-04, 사장님: "1,2,3안 다 맞추세요")
|
||||
*
|
||||
* ★ 이 카드들은 .panel 이 아니라 제 인라인 style 로 면을 그린다(items/common.tsx 의
|
||||
* ITEM_CARD·ITEM_BORDER). 그래서 위 .panel 규칙이 안 닿았고, 섹션 띠를 다 지운 3안에서
|
||||
* **소식 카드만 갱지 결에 2px 테두리를 두른 상자로 혼자 서 있었다.**
|
||||
* ★ w4-paper 의 결은 1안(레트로 갱지)의 것이다. 여기서는 결을 지우고 테두리를 실선 한 겹으로
|
||||
* 낮춘다. 상자를 아예 없애지는 않는다 — 전단 여섯 장이 경계 없이 붙으면 어디까지가 한 장인지
|
||||
* 안 보인다. 면은 빼고 테두리만 남기는 게 이 안의 타협점이다.
|
||||
* ★ 배경은 transparent 로 두지 않는다. 사진 없는 공지 카드가 종이에 바로 얹히면
|
||||
* 본문과 구분이 사라진다 — 아주 옅은 틴트 한 겹만 남긴다.
|
||||
* ★ 영상은 뺐다 (2026-09-04, 사장님: "영상 border 안 예쁘다")
|
||||
* 영상 카드는 상자가 아니라 **표지 사진 한 장**이고, 쇼츠라 9:16 세로다. li 에 틴트를 깔면
|
||||
* 영상보다 넓은 회색 판이 뒤에 깔려 액자처럼 보인다. 사진은 제 테두리가 곧 경계다.
|
||||
*/
|
||||
.oasi-page section#event li,
|
||||
.oasi-page section#itinerary article {
|
||||
background-image: none !important;
|
||||
background-color: color-mix(in oklab, currentcolor 3%, transparent) !important;
|
||||
border-width: 1px !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.oasi-page .panel,
|
||||
.oasi-page .panel-sunken {
|
||||
background-color: transparent;
|
||||
border-width: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.oasi-page main > section#faq > .shell > div:last-of-type {
|
||||
row-gap: 0;
|
||||
column-gap: 2.5rem;
|
||||
}
|
||||
.oasi-page main > section#faq details {
|
||||
margin-block: 0;
|
||||
border-top: 1px solid var(--site-line);
|
||||
}
|
||||
.oasi-page main > section#faq summary {
|
||||
padding-inline: 0;
|
||||
}
|
||||
.oasi-page main > section#faq summary > span:first-child {
|
||||
width: 1.125rem;
|
||||
}
|
||||
.oasi-page main > section#faq summary + div {
|
||||
border-top-width: 0;
|
||||
padding-inline: 1.875rem 0;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
.oasi-page main > section#info dl.panel > div {
|
||||
padding-inline: 0;
|
||||
}
|
||||
.oasi-page main > section#info dl > div.panel {
|
||||
border-top: 1px solid var(--site-line);
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.oasi-page main > section#location .panel {
|
||||
border-top: 1px solid var(--site-line);
|
||||
padding-inline: 0;
|
||||
}
|
||||
.oasi-page main > section#location :is(thead, tbody) :is(th, td):first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
.oasi-page main > section#location :is(thead, tbody) :is(th, td):last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.oasi-page main > section#weather .panel {
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.oasi-page main > section#guide .panel > span:last-child {
|
||||
padding-inline: 0;
|
||||
}
|
||||
@media (min-width: 40rem) {
|
||||
.oasi-page main > section#festival .panel > span:last-child {
|
||||
padding-inline: 0;
|
||||
}
|
||||
}
|
||||
`,vj={"--oasi-gap":"clamp(3.5rem, 7vw, var(--tpl-section-space, 4rem))",backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"};function yj({children:s}){var y,v,j,w;const r=W(),{place:c}=r,u=rt(r),f=Ke(r)[0],d=Rn(r),m=[{label:"처음",href:"#top",show:!0},{label:"소개",href:"#about",show:Ht(r,"intro")},{label:u.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Ht(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(N=>N.show),x=[...Ha(r).map(N=>`${N.label} ${N.value}`),...r.theme.sections.filter(N=>{var A;return N.enabled&&((A=N.name)==null?void 0:A.trim())}).map(N=>N.name.trim())].slice(0,3),g=r.narrative.tagline??r.narrative.heroSubline,p=c.roadAddress??c.address;return a.jsxs("div",{className:"oasi-page flex min-h-screen w-full flex-col",style:vj,children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:bj}}),a.jsxs("div",{className:"mx-auto flex w-full max-w-[72rem] flex-col gap-10 px-5 pb-16 pt-10 lg:flex-row lg:gap-14 lg:px-10 lg:pb-24 lg:pt-16",children:[a.jsxs("header",{className:"lg:sticky lg:top-12 lg:h-fit lg:w-[18.75rem] lg:shrink-0",children:[a.jsxs("a",{href:"#top",className:"block",children:[a.jsx("span",{className:"serif block leading-none",style:{fontSize:"var(--fs-display)",fontWeight:300,letterSpacing:"0.14em"},children:c.name}),c.englishName&&a.jsx("span",{className:"text-muted mt-3 block text-[length:var(--fs-xs)] tracking-[0.24em]",children:c.englishName})]}),a.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-12 lg:mt-24",children:a.jsx("ul",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 lg:block",children:m.map((N,A)=>a.jsx("li",{children:a.jsx("a",{href:N.href,"aria-current":A===0?"true":void 0,className:`tap inline-flex items-center text-[length:var(--fs-sm)] transition-opacity hover:opacity-100 ${A===0?"":"text-muted"}`,children:N.label})},N.label))})}),f&&a.jsx("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-2 inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:bt(f)})]}),a.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[(x.length>0||g)&&a.jsxs("div",{className:"border-line flex flex-col gap-3 border-y py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6",children:[x.length>0&&a.jsx("ul",{className:"text-muted flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)]",children:x.map((N,A)=>a.jsxs("li",{className:"flex items-center gap-4",children:[A>0&&a.jsx("span",{"aria-hidden":!0,className:"opacity-40",children:"|"}),a.jsx("span",{children:N})]},N))}),g&&a.jsx("p",{className:"text-muted measure shrink-0 text-[length:var(--fs-xs)] leading-[1.9] sm:max-w-[18rem] sm:text-right",children:a.jsx(ql,{children:g})})]}),s]})]}),a.jsx("footer",{className:"border-line mt-auto w-full border-t",children:a.jsxs("div",{className:"mx-auto grid w-full max-w-[72rem] grid-cols-1 gap-8 px-5 pb-28 pt-10 text-[length:var(--fs-xs)] leading-[1.9] sm:grid-cols-3 lg:px-10 lg:pb-14",children:[a.jsxs("p",{children:["[",c.name,"]"]}),d.length>0?a.jsx("ul",{className:"space-y-1",children:d.map(N=>a.jsx("li",{children:a.jsx("a",{href:N.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-[5px]",children:Cn(N)})},N.url))}):a.jsx("span",{}),a.jsxs("div",{className:"text-muted space-y-1 sm:text-right",children:[p&&a.jsx("p",{children:p}),c.phone&&a.jsx("p",{children:a.jsx("a",{href:`tel:${c.phone}`,className:"underline underline-offset-[5px]",children:c.phone})}),c.email&&a.jsx("p",{children:c.email}),((y=c.legal)==null?void 0:y.representative)&&a.jsxs("p",{children:["대표 ",c.legal.representative]}),((v=c.legal)==null?void 0:v.businessRegistrationNumber)&&a.jsxs("p",{children:["사업자등록번호 ",c.legal.businessRegistrationNumber]}),((j=c.legal)==null?void 0:j.mailOrderNumber)&&a.jsxs("p",{children:["통신판매업신고 ",c.legal.mailOrderNumber]}),((w=c.legal)==null?void 0:w.licenseNumber)&&a.jsxs("p",{children:[c.legal.licenseLabel??"인허가번호"," ",c.legal.licenseNumber]}),a.jsxs("p",{className:"byline",children:[a.jsxs("span",{className:"author",children:["작성·운영 ",c.name]})," · 최종 업데이트: ",a.jsx("time",{dateTime:r.site.updatedAt,children:Ba(r.site.updatedAt)})]})]})]})}),a.jsx(qa,{})]})}function jj({children:s}){var j,w,N,A;const r=W(),{place:c,narrative:u,site:f}=r,d=rt(r),m=Dn(r),x=Ha(r),g=Ke(r)[0],p=gu(r),y=c.roadAddress??c.address,v=[{label:"소개",href:"#about",show:Ht(r,"intro")},{label:d.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변 정보",href:"#guide",show:Ht(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(H=>H.show);return a.jsxs("div",{className:"flex min-h-screen w-full fl
Line truncated
|
||||
.pastel-page > main > section:not([data-pastel]) {
|
||||
border-color: transparent;
|
||||
background-image: none;
|
||||
color: var(--pastel-ink) !important;
|
||||
}
|
||||
.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+1) { background-color: var(--pastel-1) !important; }
|
||||
.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+2) { background-color: var(--pastel-soft) !important; }
|
||||
.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+3) { background-color: var(--pastel-2) !important; }
|
||||
.pastel-page > main > section:not([data-pastel]):nth-of-type(4n) { background-color: var(--pastel-3) !important; }
|
||||
`,Sj={"--pastel-1":"var(--tpl-card)","--pastel-2":"var(--tpl-accent)","--pastel-3":"var(--tpl-secondary)","--pastel-soft":"var(--tpl-bg)","--pastel-ink":"var(--tpl-text)","--section-space":"clamp(2.75rem, 8vw, calc(var(--tpl-section-space, 4rem) * 1.4))",backgroundColor:"var(--pastel-soft)",color:"var(--pastel-ink)"};function wj({children:s}){const r=W(),c=rt(r),u=Rn(r),f=[{label:"소개",href:"#about",show:Ht(r,"intro")},{label:c.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Ht(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:r.faqs.length>0}].filter(d=>d.show);return a.jsxs("div",{className:"pastel-page flex min-h-screen w-full flex-col",style:Sj,children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:Nj}}),a.jsx("header",{className:"sticky top-0 z-40 w-full",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"},children:a.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[a.jsx("a",{href:"#top",className:"flex min-w-0 items-center gap-2",children:a.jsx("span",{className:"serif truncate italic",style:{fontSize:"var(--fs-lead)",fontWeight:800,display:"inline-block",transform:"rotate(-1.5deg)"},children:r.place.name})}),a.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-8 lg:flex",children:f.map(d=>a.jsx("a",{href:d.href,className:"py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.2em] opacity-100 transition-opacity hover:opacity-100",children:d.label},d.label))}),a.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r.place.phone&&a.jsx("a",{href:`tel:${r.place.phone}`,"aria-label":"전화",className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-1)"},children:a.jsx(gt,{className:"size-4"})}),u.map(d=>a.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer","aria-label":Bl(d),className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-2)"},children:/instagram/i.test(d.url)?a.jsx(h0,{className:"size-4"}):a.jsx(hu,{className:"size-4"})},d.url)),a.jsxs("details",{className:"relative lg:hidden",children:[a.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-full marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:a.jsx(Dp,{className:"size-5"})}),a.jsx("nav",{"aria-label":"전체 메뉴",className:"absolute right-0 top-[calc(100%+0.5rem)] z-50 w-48 overflow-hidden rounded-2xl",style:{backgroundColor:"var(--tpl-surface, #fff)",boxShadow:"0 10px 30px rgb(0 0 0 / 0.12)"},children:a.jsx("ul",{children:f.map(d=>a.jsx("li",{children:a.jsx("a",{href:d.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-bold tracking-[0.08em]",children:d.label})},d.label))})})]})]})]})}),s,a.jsx("div",{style:{"--tpl-inverse":"var(--pastel-3)","--tpl-bg":"var(--pastel-ink)"},children:a.jsx(nx,{})}),a.jsx(qa,{})]})}function Ej({children:s}){var p,y,v,j;const r=W(),{place:c,site:u}=r,f=Qp(),d=zj(f),m=Ke(r)[0],x=gu(r),g=c.roadAddress??c.address;return a.jsxs("div",{className:"flex min-h-screen w-full flex-col",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[a.jsx("header",{className:"sticky top-0 z-40 w-full border-b-2 backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-bg) 90%, transparent)",borderColor:"var(--tpl-text)"},children:a.jsxs("div",{className:"flex h-14 items-center justify-between gap-4 px-4 sm:px-6 xl:px-8",children:[a.jsx("a",{href:"#top",className:"serif min-w-0 truncate text-[length:var(--fs-lead)] font-extrabold",children:c.name}),a.jsxs("div",{className:"flex shrink-0 items-center gap-4 text-[length:var(--fs-sm)]",children:[c.phone&&a.jsx("a",{href:`tel:${c.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:c.phone}),m&&a.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center font-bold underline underline-offset-4",children:bt(m)})]})]})}),a.jsxs("div",{className:"flex w-full flex-1",children:[f.length>0&&a.jsx("aside",{className:"border-line sticky top-14 hidden h-[calc(100vh-3.5rem)] w-44 shrink-0 self-start border-r xl:block",style:{backgroundImage:Ys},children:a.jsx("nav",{"aria-label":"차례",className:"flex h-full flex-col justify-center gap-0.5 py-8 pl-6 pr-3",children:f.map(w=>{const N=w.anchor===d;return a.jsxs("a",{href:`#${w.anchor}`,"aria-current":N?"true":void 0,className:"flex items-baseline gap-2 py-2 text-[length:var(--fs-sm)] leading-tight motion-safe:transition-opacity",style:{opacity:N?1:.35},children:[a.jsx("span",{className:"shrink-0 text-[length:var(--fs-xs)] font-bold tabular-nums",children:w.no}),a.jsx("span",{className:"truncate",style:{fontWeight:N?700:400},children:w.label})]},w.anchor)})})}),a.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children
Line truncated
|
||||
File renamed without changes.
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"url": "https://youtube.com/shorts/c2ZdwhaB7S4",
|
||||
"caption": "머뭄의 하루",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/_bbo3dVgOXs",
|
||||
"caption": "마당과 창고형 카페 공간",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/qrCG4rOeJvs",
|
||||
"caption": "밤의 머뭄",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/1baZI59P3jo",
|
||||
"caption": "조용한 독채 감성 숙소",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/dM8_d6Aud68",
|
||||
"caption": "사랑하는 이와의 특별한 추억",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/S-5BByzHc-8",
|
||||
"caption": "바다 근처 독채에서 머물다",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/J5h6q1VU7Fc",
|
||||
"caption": "함께하는 특별한 시간",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/2vzZZ0Rg7_o",
|
||||
"caption": "가보면 알게 되는 이유",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/QoapnYYQ01I",
|
||||
"caption": "감성 독채 펜션",
|
||||
"verified": "확인"
|
||||
},
|
||||
{
|
||||
"url": "https://youtube.com/shorts/71hCLTKle0A",
|
||||
"caption": "특별한 추억을",
|
||||
"verified": "확인"
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user