cos-design 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +46 -28
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/elements.cjs +1 -1
- package/dist/elements.js +665 -1347
- package/dist/{engine-DAYJbw0W.cjs → engine-D2OC52jQ.cjs} +3 -3
- package/dist/{engine-jGjtPKCP.js → engine-Dh44m7ox.js} +117 -102
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/clickSpark/element/index.d.ts +1 -0
- package/dist/src/components/weatherBackground/vue/useLiveWeather.d.ts +15 -0
- package/dist/style.css +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +583 -622
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.1.0] - 2026-11-18
|
|
11
|
+
|
|
12
|
+
4.0.0 发布后合入 `master`、此前未上 npm 的两段改动随本版本一起发布:PR #5(P0 硬化与 4.1 质量项)和 PR #6(P1 发现、HTML 片段、减少动效与体积预算)。全部包版本对齐到 **4.1.0**。
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- `WeatherBackground` Vue:`@cos-design/weather-background/vue` 导出 `useLiveWeather` / `useSunTimes`(实现 `src/components/weatherBackground/vue/useLiveWeather.ts`,说明见 [docs/examples/weather-background-vue.md](https://github.com/jiaxiantao/cos-design/blob/master/docs/examples/weather-background-vue.md))
|
|
17
|
+
- `@cos-design/shared` 导出 `element-options`(`readBooleanAttr`、`readNumberAttr`、`readStringAttr`、`readJsonAttr`、`readPropertyOverride`、`camelToKebabAttr`、`optionCallbackDispatcher`、`BooleanAttrMode`),Element 适配器共用解析
|
|
18
|
+
- GitHub 发现:仓库内记录多框架 About / topics;Issue 模板分为 Bug、新特效提案、框架适配。Discussions 需维护者在 Settings 勾选(见 [docs/github-discovery.md](https://github.com/jiaxiantao/cos-design/blob/master/docs/github-discovery.md))
|
|
19
|
+
- Playground Element Tab:「复制 HTML」得到含 `script type="module"`、自定义元素和关键属性(含 `auto="false"`)的完整页面
|
|
20
|
+
- 减少动效审计表 [docs/a11y-reduced-motion.md](https://github.com/jiaxiantao/cos-design/blob/master/docs/a11y-reduced-motion.md)
|
|
21
|
+
- 活动页按需安装说明,以及 `pnpm verify:bundle-budget`(代表性包 gzip;仅 `photoLantern` 引用 `three`)
|
|
22
|
+
- WebGL dispose 清单与脚本
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- CI:`verify:v4-matrix`、`verify:v4-runtime`、`verify:webgl-dispose`
|
|
27
|
+
- Playwright 多框架 smoke(Vue / Web Components / Core)
|
|
28
|
+
- Vitest:抽奖与属性解析;Core 单测加深(FlipCard 受控、ScratchCard 阈值、dispose smoke)
|
|
29
|
+
- CI 构建 `examples/vue-app` 与 `examples/vanilla`
|
|
30
|
+
- `LavaBubble` / `SoapBubbles` 在减少动效时停在首帧;`MatrixRain` 标题与天气加载圈不再空转
|
|
31
|
+
- Next.js client-only 写法在 QUICKSTART、`examples/next-app` 与 Playground 快速开始中对齐为 `'use client'` + `@cos-design/*` + `dynamic(..., { ssr: false })`
|
|
32
|
+
- 聚合包 `cos-design` 与全部 `@cos-design/*` 子包:4.0.0 → 4.1.0
|
|
33
|
+
|
|
10
34
|
## [4.0.0] - 2026-09-23
|
|
11
35
|
|
|
12
36
|
### Added
|
package/README.md
CHANGED
|
@@ -23,11 +23,15 @@
|
|
|
23
23
|
**cos-design** is a **multi-framework** library of **visual effects** — fireworks, scratch cards, weather/matrix backgrounds, neon headlines, flip counters — not a general admin UI kit. **React is the default entry**; Vue 3, Core APIs, and Web Components use the same package names via subpaths.
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
|
|
27
|
-
# or smaller per-component packages:
|
|
26
|
+
# Campaign pages: install only the packages you render
|
|
28
27
|
pnpm add @cos-design/fireworks @cos-design/scratch-card @cos-design/weather-background
|
|
28
|
+
|
|
29
|
+
# Umbrella is for trying the catalog, not for a production campaign entry
|
|
30
|
+
pnpm add cos-design
|
|
29
31
|
```
|
|
30
32
|
|
|
33
|
+
`three` is a peer of `@cos-design/photo-lantern` only (optional on the umbrella). Gzip budgets: [docs/bundle-budget.md](https://github.com/jiaxiantao/cos-design/blob/master/docs/bundle-budget.md).
|
|
34
|
+
|
|
31
35
|
```tsx
|
|
32
36
|
import { Fireworks } from '@cos-design/fireworks';
|
|
33
37
|
import { ScratchCard } from '@cos-design/scratch-card';
|
|
@@ -64,7 +68,8 @@ import { Fireworks } from '@cos-design/fireworks/vue';
|
|
|
64
68
|
- **Start here (campaign):** [Build a campaign page in 10 minutes](https://github.com/jiaxiantao/cos-design/blob/master/docs/campaign-10-minutes.md) · runnable [examples/next-app](https://github.com/jiaxiantao/cos-design/blob/master/examples/next-app) · [examples/vue-app](https://github.com/jiaxiantao/cos-design/blob/master/examples/vue-app) · [examples/vanilla](https://github.com/jiaxiantao/cos-design/blob/master/examples/vanilla)
|
|
65
69
|
- **AI index:** https://jiaxiantao.github.io/cos-design/llms.txt · **Context7:** `/jiaxiantao/cos-design`
|
|
66
70
|
- **Cursor Skill install:** see [docs/ai-discovery.md](https://github.com/jiaxiantao/cos-design/blob/master/docs/ai-discovery.md)
|
|
67
|
-
- **Article:** [
|
|
71
|
+
- **Article:** [Marketing page effects with cos-design](https://github.com/jiaxiantao/cos-design/blob/master/website-content/cos-design-marketing-effects-en.md)
|
|
72
|
+
- **Quality (all frameworks):** `pnpm verify:v4-matrix` · `pnpm verify:v4-runtime` · `pnpm test:unit` · `pnpm test:smoke` (React + Vue / Web Components / Core tabs)
|
|
68
73
|
|
|
69
74
|
---
|
|
70
75
|
|
|
@@ -92,15 +97,16 @@ import { Fireworks } from '@cos-design/fireworks/vue';
|
|
|
92
97
|
### 安装
|
|
93
98
|
|
|
94
99
|
```bash
|
|
95
|
-
#
|
|
96
|
-
pnpm add cos-design
|
|
97
|
-
|
|
98
|
-
# 或按需安装单个组件(npm 包名为 kebab-case)
|
|
100
|
+
# 活动页请按需安装子包(推荐)
|
|
99
101
|
pnpm add @cos-design/weather-background
|
|
100
102
|
pnpm add @cos-design/fireworks
|
|
103
|
+
|
|
104
|
+
# 聚合包只适合本地试用全部 91 个组件,不要作为活动页的生产入口
|
|
105
|
+
pnpm add cos-design
|
|
101
106
|
```
|
|
102
107
|
|
|
103
|
-
> 目录 `weatherBackground` → `@cos-design/weather-background`;依赖 `@cos-design/shared` 的组件会自动安装工具包。
|
|
108
|
+
> 目录 `weatherBackground` → `@cos-design/weather-background`;依赖 `@cos-design/shared` 的组件会自动安装工具包。
|
|
109
|
+
> **活动页优先 `@cos-design/*`。** 聚合包 `cos-design` 的默认入口会带上全部组件。`three` 只有 [`@cos-design/photo-lantern`](https://github.com/jiaxiantao/cos-design/blob/master/docs/bundle-budget.md) 会拉取(聚合包把它标成 optional peer)。体积门禁见 [docs/bundle-budget.md](https://github.com/jiaxiantao/cos-design/blob/master/docs/bundle-budget.md)。
|
|
104
110
|
|
|
105
111
|
### 最简示例
|
|
106
112
|
|
|
@@ -162,13 +168,15 @@ Context7: /jiaxiantao/cos-design
|
|
|
162
168
|
|
|
163
169
|
### 使用注意(摘要)
|
|
164
170
|
|
|
165
|
-
| 注意点
|
|
166
|
-
|
|
|
167
|
-
| **SSR**
|
|
168
|
-
| **尺寸**
|
|
169
|
-
| **密度**
|
|
170
|
-
| **权限**
|
|
171
|
-
| **省电**
|
|
171
|
+
| 注意点 | 说明 |
|
|
172
|
+
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
173
|
+
| **SSR** | 与 Next 示例相同:`'use client'` + `@cos-design/*` + `dynamic(..., { ssr: false })` |
|
|
174
|
+
| **尺寸** | Canvas 组件需明确 `width` / `height`,或设 `fill` 铺满有高度的父容器 |
|
|
175
|
+
| **密度** | 建议每页「一个强背景 + 若干局部交互」,避免多 Canvas 抢性能 |
|
|
176
|
+
| **权限** | `AudioVisualizer` 开启麦克风时需 HTTPS 与用户授权 |
|
|
177
|
+
| **省电** | 标签页隐藏时,多数 Canvas 动画自动暂停 |
|
|
178
|
+
| **减少动效** | 背景停在首帧,转盘 / 老虎机 / 九宫格跳过旋转。见 [审计表](https://github.com/jiaxiantao/cos-design/blob/master/docs/a11y-reduced-motion.md) |
|
|
179
|
+
| **体积** | 活动页用 `@cos-design/*`。`three` 仅 PhotoLantern。见 [预算](https://github.com/jiaxiantao/cos-design/blob/master/docs/bundle-budget.md) |
|
|
172
180
|
|
|
173
181
|
---
|
|
174
182
|
|
|
@@ -401,35 +409,45 @@ npx --yes pnpm@9 dev # 启动 Playground
|
|
|
401
409
|
**Canvas 组件请客户端渲染**(依赖 `window` / `canvas` / `requestAnimationFrame`):
|
|
402
410
|
|
|
403
411
|
```tsx
|
|
412
|
+
'use client';
|
|
413
|
+
|
|
404
414
|
import dynamic from 'next/dynamic';
|
|
405
415
|
|
|
406
|
-
const
|
|
416
|
+
const WeatherBackground = dynamic(
|
|
417
|
+
() => import('@cos-design/weather-background').then((m) => m.WeatherBackground),
|
|
418
|
+
{ ssr: false },
|
|
419
|
+
);
|
|
407
420
|
```
|
|
408
421
|
|
|
422
|
+
与 [QUICKSTART.md](https://github.com/jiaxiantao/cos-design/blob/master/QUICKSTART.md) 和 [examples/next-app](https://github.com/jiaxiantao/cos-design/blob/master/examples/next-app) 相同:Canvas / WebGL 走按需子包的 `dynamic(..., { ssr: false })`。
|
|
423
|
+
|
|
409
424
|
**控制使用密度** — 一个页面建议「一个强视觉背景 + 若干局部交互」,避免全场动画互相抢戏。
|
|
410
425
|
|
|
411
426
|
---
|
|
412
427
|
|
|
413
428
|
## 文档
|
|
414
429
|
|
|
415
|
-
| 文档 | 内容
|
|
416
|
-
| -------------------------------------------------------------------------------------------------------------- |
|
|
417
|
-
| [快速开始](https://github.com/jiaxiantao/cos-design/blob/master/QUICKSTART.md) | 安装、用法、注意事项与常见问题
|
|
418
|
-
| [
|
|
419
|
-
| [
|
|
420
|
-
| [
|
|
421
|
-
| [
|
|
422
|
-
| [
|
|
423
|
-
| [
|
|
424
|
-
| [
|
|
430
|
+
| 文档 | 内容 |
|
|
431
|
+
| -------------------------------------------------------------------------------------------------------------- | --------------------------------- |
|
|
432
|
+
| [快速开始](https://github.com/jiaxiantao/cos-design/blob/master/QUICKSTART.md) | 安装、用法、注意事项与常见问题 |
|
|
433
|
+
| [包体积与 three](https://github.com/jiaxiantao/cos-design/blob/master/docs/bundle-budget.md) | 按需子包、gzip 预算、谁依赖 three |
|
|
434
|
+
| [减少动效审计](https://github.com/jiaxiantao/cos-design/blob/master/docs/a11y-reduced-motion.md) | 背景首帧与抽奖跳过旋转 |
|
|
435
|
+
| [GitHub 发现](https://github.com/jiaxiantao/cos-design/blob/master/docs/github-discovery.md) | About / topics / Discussions |
|
|
436
|
+
| [AI Agent 参考](https://github.com/jiaxiantao/cos-design/blob/master/docs/ai.md) | 供 AI 使用的组件选型与 API 文档 |
|
|
437
|
+
| [llms.txt](https://jiaxiantao.github.io/cos-design/llms.txt) | 机器可读索引(llmstxt 规范) |
|
|
438
|
+
| [AGENTS.md](https://github.com/jiaxiantao/cos-design/blob/master/AGENTS.md) | 编码 Agent 仓库规则 |
|
|
439
|
+
| [v3.0 发布博客](https://github.com/jiaxiantao/cos-design/blob/master/website-content/cos-design-v3-release.md) | 重大升级解读、分类体系、技术实现 |
|
|
440
|
+
| [完整介绍与实践指南](https://github.com/jiaxiantao/cos-design/blob/master/website-content/cos-design-intro.md) | 架构、使用规则、组件详解 |
|
|
441
|
+
| [CHANGELOG](https://github.com/jiaxiantao/cos-design/blob/master/CHANGELOG.md) | 版本更新记录 |
|
|
442
|
+
| [CONTRIBUTING](https://github.com/jiaxiantao/cos-design/blob/master/CONTRIBUTING.md) | 参与贡献指南 |
|
|
425
443
|
|
|
426
444
|
---
|
|
427
445
|
|
|
428
446
|
## 自动发布
|
|
429
447
|
|
|
430
|
-
推送到 `master` 后,GitHub Actions
|
|
448
|
+
推送到 `master` 后,GitHub Actions(`.github/workflows/ci.yml`)自动 lint、构建,并将新版本发布到 [npm](https://www.npmjs.com/package/cos-design)。
|
|
431
449
|
|
|
432
|
-
|
|
450
|
+
发布使用 npm Trusted Publishing(OIDC),不读取 `NPM_TOKEN`。npmjs.com 上每个包的 Trusted Publisher 需指向仓库 `jiaxiantao/cos-design`、workflow 文件名 `ci.yml`。不要在该 job 里写 `registry-url`、`_authToken` 或 `NODE_AUTH_TOKEN`,否则 npm 会跳过 OIDC,未登录的 PUT 会以 `E404` 失败。
|
|
433
451
|
|
|
434
452
|
---
|
|
435
453
|
|
package/dist/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./engine-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./engine-D2OC52jQ.cjs"),t=require("./core-CszjZZo9.cjs");exports.DEFAULT_FOG_LEVEL=e.nt,exports.DEFAULT_HAIL_LEVEL=e.Y,exports.DEFAULT_RAIN_LEVEL=e.D,exports.DEFAULT_SMOG_LEVEL=e.y,exports.DEFAULT_SNOW_LEVEL=e.O,exports.DEFAULT_WIND_LEVEL=e.r,exports.FOG_LEVEL_LABELS=e.rt,exports.HAIL_LEVEL_LABELS=e.X,exports.IDLE_LIVE_WEATHER=e.u,exports.MAX_PRECIP_LEVEL=e.k,exports.MIN_PRECIP_LEVEL=e.A,exports.RAIN_LEVEL_LABELS=e.j,exports.SMOG_LEVEL_LABELS=e.b,exports.SNOW_LEVEL_LABELS=e.M,exports.buildWindMotion=e.i,exports.clampFogLevel=e.it,exports.clampHailLevel=e.Z,exports.clampPrecipLevel=e.N,exports.clampSmogLevel=e.x,exports.createAudioVisualizer=e.Bn,exports.createAurora=e.Vn,exports.createAuroraVeil=e.Lt,exports.createBarcodeScan=e.Wn,exports.createBlurText=e.Un,exports.createBubbleField=e.Ht,exports.createBurnAway=e.Hn,exports.createCanvasClock=e.zn,exports.createCharge=e.Rn,exports.createCircularText=e.Ln,exports.createClickSpark=e.In,exports.createConfetti=e.Fn,exports.createCountUp=e.jn,exports.createCountdown=e.Mn,exports.createCursorTrail=e.On,exports.createCurvedLoop=e.Pn,exports.createCyberGrid=e.Nn,exports.createDandelionField=e.Bt,exports.createDiceRoll=e.Dn,exports.createDnaHelix=e.An,exports.createDoublePendulum=e.En,exports.createElectricArc=e.kn,exports.createFireworks=e.Tn,exports.createFlipCard=e.wn,exports.createFlipCounter=e.Cn,exports.createFuzzyText=e.Sn,exports.createGameOfLife=e.bn,exports.createGlitchText=e.yn,exports.createGradientFlow=e.xn,exports.createGravityBalls=e.vn,exports.createHolographicCard=e._n,exports.createInkBloom=e.Rt,exports.createLavaBubble=e.zt,exports.createLiquidGlass=e.mn,exports.createLiquidProgress=e.gn,exports.createLorenzAttractor=e.hn,exports.createMagneticButton=e.pn,exports.createMatrixRain=e.fn,exports.createMazeGenerator=e.un,exports.createMetaballPool=e.dn,exports.createMeteorRain=e.ln,exports.createNeonText=e.sn,exports.createNetworkGraph=e.cn,exports.createNewtonCradle=e.on,exports.createNineGrid=e.an,exports.createOrbitalChart=e.in,exports.createParticleNetwork=e.rn,exports.createPhotoAlbum=e.nn,exports.createPhotoCarousel=e.tn,exports.createPhotoClothesline=e.en,exports.createPhotoFilmstrip=e.$t,exports.createPhotoFridge=e.Qt,exports.createPhotoLantern=e.Zt,exports.createPhotoLightbox=e.Xt,exports.createPhotoPolaroid=e.Yt,exports.createPhotoPostcard=t.t,exports.createPhotoPrism=e.Jt,exports.createPhotoScroll=e.qt,exports.createPhotoTunnel=e.Kt,exports.createPhotoViewMaster=e.Gt,exports.createPlasmaBall=e.Wt,exports.createProgressChest=e.Nt,exports.createRadarScan=e.Mt,exports.createRedPacketRain=e.jt,exports.createReturnCity=e.At,exports.createRippleWater=e.wt,exports.createRopeChain=e.kt,exports.createRotatingText=e.Ot,exports.createSandFall=e.bt,exports.createScrambleText=e.Ct,exports.createScratchCard=e.St,exports.createShinyText=e.Et,exports.createSlotMachine=e.xt,exports.createSmokeFog=e.Ut,exports.createSnowfall=e.Ft,exports.createSoapBubbles=e.Vt,exports.createSolarSystem=e.It,exports.createSpeedometer=e.Dt,exports.createSplitReveal=e.yt,exports.createSplitText=e.vt,exports.createSpotlight=e.gt,exports.createSpringMass=e._t,exports.createStarfield=e.Pt,exports.createTextMorph=e.mt,exports.createTimelinePulse=e.Tt,exports.createTrueFocus=e.pt,exports.createTurntable=e.ht,exports.createTypewriter=e.ft,exports.createWaveButton=e.dt,exports.createWaveText=e.t,exports.createWeatherBackground=e.n,exports.fetchLiveWeather=e.d,exports.fetchSunTimes=e.f,exports.fogBankAlphaScale=e.at,exports.fogLevelFromVisibility=e.ot,exports.fogLevelFromWmo=e.st,exports.formatFogLevel=e.ct,exports.formatHailLevel=e.Q,exports.formatLocalHm=e.p,exports.formatPrecipLevel=e.P,exports.formatSmogLevel=e.S,exports.getDayCycleTimesFromLive=e.m,exports.hailLevelFromWmo=e.$,exports.hailSpec=e.et,exports.intensifyFogConfig=e.lt,exports.intensifyRainConfig=e.F,exports.intensifySmogConfig=e.C,exports.intensifySnowCount=e.I,exports.isRainWeather=e.L,exports.isSnowWeather=e.R,exports.isValidCoords=e.h,exports.kmhToWindLevel=e.a,exports.mapWmoCodeToWeatherType=e.g,exports.normalizeWeatherType=e.z,exports.precipBand=e.B,exports.precipLabel=e.V,exports.rainLevelFromWeather=e.H,exports.rainLevelFromWmo=e.U,exports.resolveSceneWeather=e.W,exports.sampleWindField=e.o,exports.smogBankAlphaScale=e.w,exports.smogLevelFromVisibility=e.T,exports.snowLevelFromWeather=e.G,exports.snowLevelFromWmo=e.K,exports.subscribeLiveWeather=e._,exports.subscribeSunTimes=e.v,exports.supportsFogLevel=e.ut,exports.supportsHailLevel=e.tt,exports.supportsRainLevel=e.q,exports.supportsSmogLevel=e.E,exports.supportsSnowLevel=e.J,exports.visualWindLevel=e.s,exports.windLevelToKmh=e.c,exports.windStreakSpec=e.l;
|
package/dist/core.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, Dt as p, E as m, En as h, Et as g, F as _, Fn as v, Ft as y, G as b, Gt as x, H as S, Hn as C, Ht as w, I as T, In as E, It as D, J as O, Jt as k, K as A, Kt as j, L as M, Ln as N, Lt as P, M as F, Mn as I, Mt as L, N as R, Nn as z, Nt as B, O as V, On as H, Ot as U, P as W, Pn as G, Pt as K, Q as q, Qt as J, R as Y, Rn as X, Rt as Z, S as Q, Sn as $, St as ee, T as te, Tn as ne, Tt as re, U as ie, Un as ae, Ut as oe, V as se, Vn as ce, Vt as le, W as ue, Wn as de, Wt as fe, X as pe, Xt as me, Y as he, Yt as ge, Z as _e, Zt as ve, _ as ye, _n as be, _t as xe, a as Se, an as Ce, at as we, b as Te, bn as Ee, bt as De, c as Oe, cn as ke, ct as Ae, d as je, dn as Me, dt as Ne, en as Pe, et as Fe, f as Ie, fn as Le, ft as Re, g as ze, gn as Be, gt as Ve, h as He, hn as Ue, ht as We, i as Ge, in as Ke, it as qe, j as Je, jn as Ye, jt as Xe, k as Ze, kn as Qe, kt as $e, l as et, ln as tt, lt as nt, m as rt, mn as it, mt as at, n as ot, nn as st, nt as ct, o as lt, on as ut, ot as dt, p as ft, pn as pt, pt as mt, q as ht, qt as gt, r as _t, rn as vt, rt as yt, s as bt, sn as xt, st as St, t as Ct, tn as wt, tt as Tt, u as Et, un as Dt, ut as Ot, v as kt, vn as At, vt as jt, w as Mt, wn as Nt, wt as Pt, x as Ft, xn as It, xt as Lt, y as Rt, yn as zt, yt as Bt, z as Vt, zn as Ht, zt as Ut } from "./engine-
|
|
1
|
+
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, Dt as p, E as m, En as h, Et as g, F as _, Fn as v, Ft as y, G as b, Gt as x, H as S, Hn as C, Ht as w, I as T, In as E, It as D, J as O, Jt as k, K as A, Kt as j, L as M, Ln as N, Lt as P, M as F, Mn as I, Mt as L, N as R, Nn as z, Nt as B, O as V, On as H, Ot as U, P as W, Pn as G, Pt as K, Q as q, Qt as J, R as Y, Rn as X, Rt as Z, S as Q, Sn as $, St as ee, T as te, Tn as ne, Tt as re, U as ie, Un as ae, Ut as oe, V as se, Vn as ce, Vt as le, W as ue, Wn as de, Wt as fe, X as pe, Xt as me, Y as he, Yt as ge, Z as _e, Zt as ve, _ as ye, _n as be, _t as xe, a as Se, an as Ce, at as we, b as Te, bn as Ee, bt as De, c as Oe, cn as ke, ct as Ae, d as je, dn as Me, dt as Ne, en as Pe, et as Fe, f as Ie, fn as Le, ft as Re, g as ze, gn as Be, gt as Ve, h as He, hn as Ue, ht as We, i as Ge, in as Ke, it as qe, j as Je, jn as Ye, jt as Xe, k as Ze, kn as Qe, kt as $e, l as et, ln as tt, lt as nt, m as rt, mn as it, mt as at, n as ot, nn as st, nt as ct, o as lt, on as ut, ot as dt, p as ft, pn as pt, pt as mt, q as ht, qt as gt, r as _t, rn as vt, rt as yt, s as bt, sn as xt, st as St, t as Ct, tn as wt, tt as Tt, u as Et, un as Dt, ut as Ot, v as kt, vn as At, vt as jt, w as Mt, wn as Nt, wt as Pt, x as Ft, xn as It, xt as Lt, y as Rt, yn as zt, yt as Bt, z as Vt, zn as Ht, zt as Ut } from "./engine-Dh44m7ox.js";
|
|
2
2
|
import { t as Wt } from "./core-On5bp2VI.js";
|
|
3
3
|
export { ct as DEFAULT_FOG_LEVEL, he as DEFAULT_HAIL_LEVEL, d as DEFAULT_RAIN_LEVEL, Rt as DEFAULT_SMOG_LEVEL, V as DEFAULT_SNOW_LEVEL, _t as DEFAULT_WIND_LEVEL, yt as FOG_LEVEL_LABELS, pe as HAIL_LEVEL_LABELS, Et as IDLE_LIVE_WEATHER, Ze as MAX_PRECIP_LEVEL, n as MIN_PRECIP_LEVEL, Je as RAIN_LEVEL_LABELS, Te as SMOG_LEVEL_LABELS, F as SNOW_LEVEL_LABELS, Ge as buildWindMotion, qe as clampFogLevel, _e as clampHailLevel, R as clampPrecipLevel, Ft as clampSmogLevel, o as createAudioVisualizer, ce as createAurora, P as createAuroraVeil, de as createBarcodeScan, ae as createBlurText, w as createBubbleField, C as createBurnAway, Ht as createCanvasClock, X as createCharge, N as createCircularText, E as createClickSpark, v as createConfetti, Ye as createCountUp, I as createCountdown, H as createCursorTrail, G as createCurvedLoop, z as createCyberGrid, s as createDandelionField, f as createDiceRoll, r as createDnaHelix, h as createDoublePendulum, Qe as createElectricArc, ne as createFireworks, Nt as createFlipCard, l as createFlipCounter, $ as createFuzzyText, Ee as createGameOfLife, zt as createGlitchText, It as createGradientFlow, At as createGravityBalls, be as createHolographicCard, Z as createInkBloom, Ut as createLavaBubble, it as createLiquidGlass, Be as createLiquidProgress, Ue as createLorenzAttractor, pt as createMagneticButton, Le as createMatrixRain, Dt as createMazeGenerator, Me as createMetaballPool, tt as createMeteorRain, xt as createNeonText, ke as createNetworkGraph, ut as createNewtonCradle, Ce as createNineGrid, Ke as createOrbitalChart, vt as createParticleNetwork, st as createPhotoAlbum, wt as createPhotoCarousel, Pe as createPhotoClothesline, t as createPhotoFilmstrip, J as createPhotoFridge, ve as createPhotoLantern, me as createPhotoLightbox, ge as createPhotoPolaroid, Wt as createPhotoPostcard, k as createPhotoPrism, gt as createPhotoScroll, j as createPhotoTunnel, x as createPhotoViewMaster, fe as createPlasmaBall, B as createProgressChest, L as createRadarScan, Xe as createRedPacketRain, i as createReturnCity, Pt as createRippleWater, $e as createRopeChain, U as createRotatingText, De as createSandFall, u as createScrambleText, ee as createScratchCard, g as createShinyText, Lt as createSlotMachine, oe as createSmokeFog, y as createSnowfall, le as createSoapBubbles, D as createSolarSystem, p as createSpeedometer, Bt as createSplitReveal, jt as createSplitText, Ve as createSpotlight, xe as createSpringMass, K as createStarfield, at as createTextMorph, re as createTimelinePulse, mt as createTrueFocus, We as createTurntable, Re as createTypewriter, Ne as createWaveButton, Ct as createWaveText, ot as createWeatherBackground, je as fetchLiveWeather, Ie as fetchSunTimes, we as fogBankAlphaScale, dt as fogLevelFromVisibility, St as fogLevelFromWmo, Ae as formatFogLevel, q as formatHailLevel, ft as formatLocalHm, W as formatPrecipLevel, Q as formatSmogLevel, rt as getDayCycleTimesFromLive, e as hailLevelFromWmo, Fe as hailSpec, nt as intensifyFogConfig, _ as intensifyRainConfig, c as intensifySmogConfig, T as intensifySnowCount, M as isRainWeather, Y as isSnowWeather, He as isValidCoords, Se as kmhToWindLevel, ze as mapWmoCodeToWeatherType, Vt as normalizeWeatherType, a as precipBand, se as precipLabel, S as rainLevelFromWeather, ie as rainLevelFromWmo, ue as resolveSceneWeather, lt as sampleWindField, Mt as smogBankAlphaScale, te as smogLevelFromVisibility, b as snowLevelFromWeather, A as snowLevelFromWmo, ye as subscribeLiveWeather, kt as subscribeSunTimes, Ot as supportsFogLevel, Tt as supportsHailLevel, ht as supportsRainLevel, m as supportsSmogLevel, O as supportsSnowLevel, bt as visualWindLevel, Oe as windLevelToKmh, et as windStreakSpec };
|