@scalemule/news-publication 0.0.51 → 0.0.53
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/README.md +2 -0
- package/dist/chunk-KNO2LIDQ.js +892 -0
- package/dist/pets-forms.cjs +74 -14
- package/dist/pets-forms.js +5 -2
- package/dist/pets-interactions.cjs +25 -19
- package/dist/pets-interactions.js +25 -19
- package/dist/pets-plugin.cjs +105 -24
- package/dist/pets-plugin.js +36 -12
- package/dist/pets-publication.cjs +490 -213
- package/dist/pets-publication.js +5 -4
- package/dist/pets-view.cjs +488 -210
- package/dist/pets-view.d.cts +5 -2
- package/dist/pets-view.d.ts +5 -2
- package/dist/pets-view.js +1 -1
- package/fonts/bricolage-OFL.txt +93 -0
- package/fonts/dmsans-OFL.txt +93 -0
- package/fonts/paw-bricolage.woff2 +0 -0
- package/fonts/paw-dmsans.woff2 +0 -0
- package/package.json +3 -2
- package/pets.css +885 -448
- package/dist/chunk-QW3OZB22.js +0 -616
|
@@ -0,0 +1,892 @@
|
|
|
1
|
+
import { SponsorAcknowledgment } from './chunk-4JRWZXAP.js';
|
|
2
|
+
import { PET_SAFETY, safePetLink, adoptionAvailability } from './chunk-AFJ6S5WJ.js';
|
|
3
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
function PawBayIllustration() {
|
|
6
|
+
return /* @__PURE__ */ jsxs(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
className: "paw-bay-art",
|
|
10
|
+
viewBox: "0 0 740 650",
|
|
11
|
+
fill: "none",
|
|
12
|
+
"aria-hidden": "true",
|
|
13
|
+
focusable: "false",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ jsx(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
d: "M40 279C40 125 156 25 328 25h52c174 0 320 115 320 285v276H40V279Z",
|
|
19
|
+
fill: "var(--paw-art-sky)"
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ jsx("circle", { cx: "544", cy: "142", r: "58", fill: "#f9d66f" }),
|
|
23
|
+
/* @__PURE__ */ jsx(
|
|
24
|
+
"path",
|
|
25
|
+
{
|
|
26
|
+
d: "M67 283c116-82 192-10 263-47 124-64 237-35 370 54v296H40V307l27-24Z",
|
|
27
|
+
fill: "var(--paw-art-hill)"
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
"path",
|
|
32
|
+
{
|
|
33
|
+
d: "M40 368c132-17 202-104 339-46 97 41 191 2 321 21v243H40V368Z",
|
|
34
|
+
fill: "#8ec4ce"
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ jsxs("g", { stroke: "#477b83", strokeWidth: "3", opacity: ".7", children: [
|
|
38
|
+
/* @__PURE__ */ jsx("path", { d: "M52 336h249M91 269v75m130-93v87M91 285c43 49 85 45 130-11m-130 32c42 38 85 35 130-11M112 306v30m24-15v15m27-10v10m30-21v21" }),
|
|
39
|
+
/* @__PURE__ */ jsx(
|
|
40
|
+
"path",
|
|
41
|
+
{
|
|
42
|
+
d: "M347 352h54m96 23h105m-346 8h65m115-44h38",
|
|
43
|
+
strokeLinecap: "round"
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ jsx(
|
|
48
|
+
"path",
|
|
49
|
+
{
|
|
50
|
+
d: "M40 435c87-40 177-43 273-16 146 41 264-38 387 5v162H40V435Z",
|
|
51
|
+
fill: "var(--paw-art-ground)"
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
/* @__PURE__ */ jsx(
|
|
55
|
+
"path",
|
|
56
|
+
{
|
|
57
|
+
d: "M365 415c-47 42-65 56-35 83 39 35 140 41 166 88H333c-35-30-94-47-95-82-1-37 84-66 127-89Z",
|
|
58
|
+
fill: "#f4f3dc"
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
/* @__PURE__ */ jsxs("g", { stroke: "#204d50", strokeWidth: "5", strokeLinecap: "round", children: [
|
|
62
|
+
/* @__PURE__ */ jsx("path", { d: "m447 193 9-6 10 5m-19 22 9-6 10 5" }),
|
|
63
|
+
/* @__PURE__ */ jsx(
|
|
64
|
+
"path",
|
|
65
|
+
{
|
|
66
|
+
d: "M113 473v-65m0 29c-25 0-31-16-32-31 23 0 31 16 32 31Zm1-13c25-3 31-19 28-35-19 7-27 18-28 35Z",
|
|
67
|
+
fill: "#6d995b"
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ jsx(
|
|
71
|
+
"path",
|
|
72
|
+
{
|
|
73
|
+
d: "M637 548v-52m0 22c-19-1-28-13-26-28 18 2 25 15 26 28Zm1-11c19-1 27-16 26-29-17 1-25 15-26 29Z",
|
|
74
|
+
fill: "#6d995b"
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
] }),
|
|
78
|
+
/* @__PURE__ */ jsxs("g", { className: "paw-art-dog", children: [
|
|
79
|
+
/* @__PURE__ */ jsx(
|
|
80
|
+
"path",
|
|
81
|
+
{
|
|
82
|
+
d: "M250 459c-43 0-79-37-62-81",
|
|
83
|
+
stroke: "#bf723c",
|
|
84
|
+
strokeWidth: "29",
|
|
85
|
+
strokeLinecap: "round"
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
/* @__PURE__ */ jsx(
|
|
89
|
+
"path",
|
|
90
|
+
{
|
|
91
|
+
d: "M248 457c-8-82 31-132 87-130 58 2 82 57 71 132l-12 67H258l-10-69Z",
|
|
92
|
+
fill: "#d68b4f"
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ jsx(
|
|
96
|
+
"path",
|
|
97
|
+
{
|
|
98
|
+
d: "M300 330c-21 51-20 105 12 143l48 7c26-54 21-107-9-148Z",
|
|
99
|
+
fill: "#fff6df"
|
|
100
|
+
}
|
|
101
|
+
),
|
|
102
|
+
/* @__PURE__ */ jsx(
|
|
103
|
+
"path",
|
|
104
|
+
{
|
|
105
|
+
d: "M250 446c-16 16-18 44-4 67l37 13c10-28 16-48 4-72",
|
|
106
|
+
fill: "#bf723c"
|
|
107
|
+
}
|
|
108
|
+
),
|
|
109
|
+
/* @__PURE__ */ jsx(
|
|
110
|
+
"path",
|
|
111
|
+
{
|
|
112
|
+
d: "m311 420-6 105h-27c-17 0-20 21-2 23h63l11-126m30 0 7 101h25c19 0 19 24 2 25h-57l-7-129",
|
|
113
|
+
fill: "#d68b4f"
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ jsx(
|
|
117
|
+
"path",
|
|
118
|
+
{
|
|
119
|
+
d: "M294 323c-42-27-61-77-47-122 12-39 40-67 84-70 60-4 101 31 108 79l-4 54c-2 51-31 78-78 80l-63-21Z",
|
|
120
|
+
fill: "#e9a867"
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
/* @__PURE__ */ jsx(
|
|
124
|
+
"path",
|
|
125
|
+
{
|
|
126
|
+
d: "M322 137c-36-10-72 13-81 47-12 45-15 93 5 99 31 10 50-52 53-86 1-24 3-39 23-60Z",
|
|
127
|
+
fill: "#193e45"
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
/* @__PURE__ */ jsx(
|
|
131
|
+
"path",
|
|
132
|
+
{
|
|
133
|
+
d: "M396 152c27-15 55 13 53 49-2 30-15 54-25 43l-28-92Z",
|
|
134
|
+
fill: "#193e45"
|
|
135
|
+
}
|
|
136
|
+
),
|
|
137
|
+
/* @__PURE__ */ jsx(
|
|
138
|
+
"path",
|
|
139
|
+
{
|
|
140
|
+
d: "M362 202c-13 1-20 17-21 40-14 0-40 10-36 37 4 30 40 47 79 36 31-8 43-33 44-57-23-14-33-21-39-37-6-13-16-20-27-19Z",
|
|
141
|
+
fill: "#fff6df"
|
|
142
|
+
}
|
|
143
|
+
),
|
|
144
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "359", cy: "217", rx: "5", ry: "7", fill: "#193e45" }),
|
|
145
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "402", cy: "217", rx: "5", ry: "7", fill: "#193e45" }),
|
|
146
|
+
/* @__PURE__ */ jsx(
|
|
147
|
+
"path",
|
|
148
|
+
{
|
|
149
|
+
d: "M372 250c8-5 22-3 28 2-1 11-8 17-15 17-7-1-12-8-13-19Z",
|
|
150
|
+
fill: "#193e45"
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
/* @__PURE__ */ jsx(
|
|
154
|
+
"path",
|
|
155
|
+
{
|
|
156
|
+
d: "M385 268v15m0-1c-7 10-19 7-23 1m23-1c5 10 16 8 20 3",
|
|
157
|
+
stroke: "#193e45",
|
|
158
|
+
strokeWidth: "4",
|
|
159
|
+
strokeLinecap: "round"
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
/* @__PURE__ */ jsx("path", { d: "M382 291c-1 20 17 25 20 6v-9", fill: "#e67b6d" }),
|
|
163
|
+
/* @__PURE__ */ jsx("path", { d: "m286 313 64 26 52-16-35 65-29-37-52-15Z", fill: "#ed795e" }),
|
|
164
|
+
/* @__PURE__ */ jsx(
|
|
165
|
+
"path",
|
|
166
|
+
{
|
|
167
|
+
d: "m307 323 43 20 31-10m-38 22 22 18",
|
|
168
|
+
stroke: "#ffe5d2",
|
|
169
|
+
strokeWidth: "4"
|
|
170
|
+
}
|
|
171
|
+
)
|
|
172
|
+
] }),
|
|
173
|
+
/* @__PURE__ */ jsxs("g", { className: "paw-art-cat", children: [
|
|
174
|
+
/* @__PURE__ */ jsx(
|
|
175
|
+
"path",
|
|
176
|
+
{
|
|
177
|
+
d: "M531 480c44 11 64-15 54-46-8-25-29-23-34-7",
|
|
178
|
+
stroke: "#204d50",
|
|
179
|
+
strokeWidth: "19",
|
|
180
|
+
strokeLinecap: "round"
|
|
181
|
+
}
|
|
182
|
+
),
|
|
183
|
+
/* @__PURE__ */ jsx(
|
|
184
|
+
"path",
|
|
185
|
+
{
|
|
186
|
+
d: "M462 478c-7-61 1-106 38-107 35-1 52 47 43 108l-4 31h-71l-6-32Z",
|
|
187
|
+
fill: "#204d50"
|
|
188
|
+
}
|
|
189
|
+
),
|
|
190
|
+
/* @__PURE__ */ jsx(
|
|
191
|
+
"path",
|
|
192
|
+
{
|
|
193
|
+
d: "m466 394-13-65 37 22 35-25 9 67c-14 29-51 29-68 1Z",
|
|
194
|
+
fill: "#204d50"
|
|
195
|
+
}
|
|
196
|
+
),
|
|
197
|
+
/* @__PURE__ */ jsx("path", { d: "m463 346 10 19 8-8m39-14-15 14 16 6", fill: "#eeab94" }),
|
|
198
|
+
/* @__PURE__ */ jsx(
|
|
199
|
+
"path",
|
|
200
|
+
{
|
|
201
|
+
d: "M490 413c-10 15-13 56-7 97h33c4-38-1-68-15-97",
|
|
202
|
+
fill: "#f4f3dc"
|
|
203
|
+
}
|
|
204
|
+
),
|
|
205
|
+
/* @__PURE__ */ jsx(
|
|
206
|
+
"path",
|
|
207
|
+
{
|
|
208
|
+
d: "m478 381 6-2m26-1 6 2m-20 9 4 2-3 4m-28-6-17-5m17 13-18 1m71-12 17-6m-16 14 19-1",
|
|
209
|
+
stroke: "#f4f3dc",
|
|
210
|
+
strokeWidth: "3",
|
|
211
|
+
strokeLinecap: "round"
|
|
212
|
+
}
|
|
213
|
+
),
|
|
214
|
+
/* @__PURE__ */ jsx(
|
|
215
|
+
"path",
|
|
216
|
+
{
|
|
217
|
+
d: "M461 501h21m35 0h25",
|
|
218
|
+
stroke: "#204d50",
|
|
219
|
+
strokeWidth: "18",
|
|
220
|
+
strokeLinecap: "round"
|
|
221
|
+
}
|
|
222
|
+
)
|
|
223
|
+
] }),
|
|
224
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "338", cy: "559", rx: "119", ry: "6", fill: "#396f52", opacity: ".18" }),
|
|
225
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "504", cy: "520", rx: "63", ry: "5", fill: "#396f52", opacity: ".18" }),
|
|
226
|
+
/* @__PURE__ */ jsx("circle", { cx: "166", cy: "526", r: "23", fill: "#f6ce5d" }),
|
|
227
|
+
/* @__PURE__ */ jsx("path", { d: "M157 505c20 11 24 25 15 42", stroke: "#65814a", strokeWidth: "3" }),
|
|
228
|
+
/* @__PURE__ */ jsx(
|
|
229
|
+
"path",
|
|
230
|
+
{
|
|
231
|
+
d: "m92 555 8-10 7 10m470-14 8-10 7 10",
|
|
232
|
+
stroke: "#6e905e",
|
|
233
|
+
strokeWidth: "3",
|
|
234
|
+
strokeLinecap: "round"
|
|
235
|
+
}
|
|
236
|
+
)
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
function PawInvitationArt() {
|
|
242
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 400 360", fill: "none", "aria-hidden": "true", focusable: "false", children: [
|
|
243
|
+
/* @__PURE__ */ jsx(
|
|
244
|
+
"path",
|
|
245
|
+
{
|
|
246
|
+
d: "m64 60 253-19 18 273-253 19Z",
|
|
247
|
+
fill: "var(--paw-art-sky)",
|
|
248
|
+
transform: "rotate(-8 200 180)"
|
|
249
|
+
}
|
|
250
|
+
),
|
|
251
|
+
/* @__PURE__ */ jsx(
|
|
252
|
+
"path",
|
|
253
|
+
{
|
|
254
|
+
d: "m77 31 262 26-27 280-262-26Z",
|
|
255
|
+
fill: "var(--paw-paper)",
|
|
256
|
+
stroke: "var(--paw-line)"
|
|
257
|
+
}
|
|
258
|
+
),
|
|
259
|
+
/* @__PURE__ */ jsx("path", { d: "m97 55 220 23-18 190-220-22Z", fill: "var(--paw-green)" }),
|
|
260
|
+
/* @__PURE__ */ jsxs(
|
|
261
|
+
"g",
|
|
262
|
+
{
|
|
263
|
+
stroke: "var(--paw-ink)",
|
|
264
|
+
strokeWidth: "5",
|
|
265
|
+
strokeLinecap: "round",
|
|
266
|
+
strokeLinejoin: "round",
|
|
267
|
+
children: [
|
|
268
|
+
/* @__PURE__ */ jsx(
|
|
269
|
+
"path",
|
|
270
|
+
{
|
|
271
|
+
d: "M146 198c-21-28-16-84 17-101l27 18 25-7c41 2 60 45 40 78-15 26-44 31-62 34-20 2-37-7-47-22Z",
|
|
272
|
+
fill: "var(--paw-paper)"
|
|
273
|
+
}
|
|
274
|
+
),
|
|
275
|
+
/* @__PURE__ */ jsx(
|
|
276
|
+
"path",
|
|
277
|
+
{
|
|
278
|
+
d: "M164 99c-27-1-44 35-34 59 11 24 31-13 34-59Zm71 18c22 0 35 25 31 41",
|
|
279
|
+
fill: "var(--paw-ink)"
|
|
280
|
+
}
|
|
281
|
+
),
|
|
282
|
+
/* @__PURE__ */ jsx("path", { d: "m185 154 1 2m41 2 1 2m-32 18 18 2-10 10Z" }),
|
|
283
|
+
/* @__PURE__ */ jsx("path", { d: "M204 190c-8 12-19 8-23 2m23-2c6 15 16 10 21 7M139 244l7-31m99 40-11-30" })
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
),
|
|
287
|
+
/* @__PURE__ */ jsx(
|
|
288
|
+
"path",
|
|
289
|
+
{
|
|
290
|
+
d: "m158 288 98 10",
|
|
291
|
+
stroke: "var(--paw-line)",
|
|
292
|
+
strokeWidth: "4",
|
|
293
|
+
strokeLinecap: "round"
|
|
294
|
+
}
|
|
295
|
+
),
|
|
296
|
+
/* @__PURE__ */ jsx(
|
|
297
|
+
"path",
|
|
298
|
+
{
|
|
299
|
+
d: "m302 29 8 18 20 2-15 14 3 20-17-10-17 9 4-20-14-14 20-1Z",
|
|
300
|
+
fill: "#f5c95b"
|
|
301
|
+
}
|
|
302
|
+
),
|
|
303
|
+
/* @__PURE__ */ jsx("path", { d: "M62 212c-20-28-50 5-3 38 52-21 29-58 3-38Z", fill: "#ed795e" })
|
|
304
|
+
] });
|
|
305
|
+
}
|
|
306
|
+
function PawMark({ size = 40 }) {
|
|
307
|
+
return /* @__PURE__ */ jsxs(
|
|
308
|
+
"svg",
|
|
309
|
+
{
|
|
310
|
+
className: "paw-mark",
|
|
311
|
+
width: size,
|
|
312
|
+
height: size,
|
|
313
|
+
viewBox: "0 0 573.94 529",
|
|
314
|
+
"aria-hidden": "true",
|
|
315
|
+
focusable: "false",
|
|
316
|
+
children: [
|
|
317
|
+
/* @__PURE__ */ jsx(
|
|
318
|
+
"path",
|
|
319
|
+
{
|
|
320
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
321
|
+
d: "M438.14,116.61c-13.43,29.67-37.83,43.23-70.22,41.59-26.22-1.33-47.57-18.07-53.85-44.04-8.61-35.6,4.38-73.47,32.54-97.01,23.86-19.95,59.01-24.71,80.86-2.33,25.28,25.88,24.83,70.53,10.67,101.8Z"
|
|
322
|
+
}
|
|
323
|
+
),
|
|
324
|
+
/* @__PURE__ */ jsx(
|
|
325
|
+
"path",
|
|
326
|
+
{
|
|
327
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
328
|
+
d: "M261.38,102.84c-3.42,34.87-26.95,55.34-62.34,55.6-47.55.35-70.66-41.61-72.41-84-.76-18.36,2.81-36.21,13.1-51.28C150.96,6.71,169.05-1.66,189.1.47c15.88,1.68,30.04,9.02,41.83,20.13,22.37,21.08,33.45,51.63,30.44,82.24Z"
|
|
329
|
+
}
|
|
330
|
+
),
|
|
331
|
+
/* @__PURE__ */ jsx(
|
|
332
|
+
"path",
|
|
333
|
+
{
|
|
334
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
335
|
+
d: "M74.37,233.2c-19.12,5.92-38.02,1.03-52.01-12.56C5.9,204.65-2.02,181.66.44,158.79s20.8-41.47,44.56-43.32c26.77-2.08,52.81,11.67,64.67,35.72,6.55,13.29,8.8,27.71,4.77,41.93-5.48,19.31-20.59,34.04-40.07,40.07Z"
|
|
336
|
+
}
|
|
337
|
+
),
|
|
338
|
+
/* @__PURE__ */ jsx(
|
|
339
|
+
"path",
|
|
340
|
+
{
|
|
341
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
342
|
+
d: "M554.12,217.92c-16.28,18.05-40.96,22.44-62.24,12.42-28.24-13.29-41.83-43.6-30.18-73.55,11.84-30.44,45.43-47.9,77.46-39.5,16.05,4.2,27.59,16.88,32.19,32.77,6.91,23.87-.39,49.18-17.23,67.85Z"
|
|
343
|
+
}
|
|
344
|
+
),
|
|
345
|
+
/* @__PURE__ */ jsx(
|
|
346
|
+
"path",
|
|
347
|
+
{
|
|
348
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
349
|
+
d: "M254.75,276.06c-11.16,1.17-18.16-5.23-31.29,5.65-2.03,1.68-3.74,3.55-6.45,4.65.19-7.18,3.13-13.83,8.89-18.06,9.64-7.09,24.35-3.41,28.86,7.76Z"
|
|
350
|
+
}
|
|
351
|
+
),
|
|
352
|
+
/* @__PURE__ */ jsx(
|
|
353
|
+
"path",
|
|
354
|
+
{
|
|
355
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
356
|
+
d: "M393.76,388.44c14.25.78,43.73,21.57,44.48,36.86-13.73-13.65-28.07-25.42-44.48-36.86Z"
|
|
357
|
+
}
|
|
358
|
+
),
|
|
359
|
+
/* @__PURE__ */ jsx(
|
|
360
|
+
"path",
|
|
361
|
+
{
|
|
362
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
363
|
+
d: "M389.2,362.82c-13.07-10.75-14.56-12.34-32.27-9.64,2.18-7.74,11.87-11.56,19.39-9.51,7.9,2.16,14.35,10.44,12.88,19.15Z"
|
|
364
|
+
}
|
|
365
|
+
),
|
|
366
|
+
/* @__PURE__ */ jsx(
|
|
367
|
+
"path",
|
|
368
|
+
{
|
|
369
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
370
|
+
d: "M395.67,379.62c12.45-2.44,45.72,6.18,48.71,20.68-15.95-9.19-31.31-15.01-48.71-20.68Z"
|
|
371
|
+
}
|
|
372
|
+
),
|
|
373
|
+
/* @__PURE__ */ jsx(
|
|
374
|
+
"path",
|
|
375
|
+
{
|
|
376
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
377
|
+
d: "M225.21,368.12c8.14-14.26,21.23-23.67,36.61-26.8l24.13-4.91c24.77-5.03,49.74-30.01,43.64-57.5-1.23-5.52-5.96-8.44-11.59-8.97-10.59-1.01-21.06-1.48-31.46-3.17-10.47-1.7-17.76-7.16-22.72-16.52-13.11-24.7-34.21-38.21-62.98-35.89-32.35,2.61-60.19,20.02-78.69,46.19-8.86,12.53-17.29,24.45-24.06,38.06-9.19,18.49,6.19,33.68,20.29,44.38,11.81,8.96,15.39,17.42,23.42,14.26,17.13-6.74,23.74-36.34,24.85-52.55l1.91-27.97c.45-6.63,1.48-12.94,5.66-18.84,10.07,43.41,17.92,81.63-15.36,116.38-18.45,19.26-30.63,43.84-21.53,70.61,1.81,5.31,4.18,9.89,5.44,15.71-49.05-41.25-82.59-100.28-68.34-165.81,2.75-12.63,7.16-23.65,13.2-34.96,14.89-27.92,36.14-51.76,63.26-68.22,29.85-18.12,65.65-21.17,97.88-7.93,14.6,6,26.59,15.11,38.32,26.09,7.66-6.63,14.7-12.8,23.27-18.11,27.44-17,60.05-20.76,90.86-10.43,18.28,6.12,34.08,16.52,48,29.84,32.73,31.32,55.61,73.73,53.14,120.37-1.9,35.78-15.78,69.68-39.3,97.5,2.83-33.15-1.57-57.13-20.69-83.05-1.39-19.67-2.57-38.89-16.51-55.64-10.36,9-17.24,20.04-25.23,30.79-17.93-6.9-37.08-3.27-49.82,11.18-15.8,17.9-32.66-7.14-33.3,15.72-4.67,5.19-8.68,9.51-9.33,16.8-1.08,12.18,3.59,23.69,13.76,30.79l12.21,8.52c12.5,8.72,16.99,23.63,13.91,38.67-2.35,11.43-8.1,21.24-15.29,30.53-8.3,10.65-17.82,19.82-28.28,28.44-10.27,8.46-18.67,17.43-28.71,27.3,6.77-55.37-37.54-71.57-53.11-115.32-5.31-14.91-5.64-31.2,2.56-45.56ZM310.95,414.5c.66-6.02-.23-11.99-4.42-16.09-3.63-3.56-9.46-5.66-15.26-4.62-7.74,1.39-13.23,6.73-18.29,13.26-7.08-12.24-20.28-17.67-30.59-9.89-4.5,3.4-6.97,9.12-6.98,15.36-.05,19.1,21.83,36.81,35.58,48.75,14.15-12.18,36.74-27.53,39.96-46.76Z"
|
|
378
|
+
}
|
|
379
|
+
),
|
|
380
|
+
/* @__PURE__ */ jsx(
|
|
381
|
+
"path",
|
|
382
|
+
{
|
|
383
|
+
fill: "var(--paw-logo-heart, #ef7152)",
|
|
384
|
+
d: "M310.95,414.5c-3.22,19.23-25.81,34.58-39.96,46.76-13.75-11.93-35.63-29.65-35.58-48.75.02-6.24,2.48-11.96,6.98-15.36,10.31-7.78,23.51-2.35,30.59,9.89,5.06-6.53,10.54-11.86,18.29-13.26,5.8-1.04,11.63,1.06,15.26,4.62,4.19,4.1,5.08,10.07,4.42,16.09Z"
|
|
385
|
+
}
|
|
386
|
+
)
|
|
387
|
+
]
|
|
388
|
+
}
|
|
389
|
+
);
|
|
390
|
+
}
|
|
391
|
+
function PawNeighborhoodIllustration() {
|
|
392
|
+
return /* @__PURE__ */ jsx(PawBayIllustration, {});
|
|
393
|
+
}
|
|
394
|
+
function Photo({
|
|
395
|
+
resource,
|
|
396
|
+
mediaUrl,
|
|
397
|
+
large = false
|
|
398
|
+
}) {
|
|
399
|
+
const photo = resource.media.find((m) => m.status === "PUBLISHED");
|
|
400
|
+
const src = photo && safePetLink(mediaUrl(resource.id, photo.id));
|
|
401
|
+
if (!src)
|
|
402
|
+
return /* @__PURE__ */ jsxs("div", { className: "paw-photo-empty", children: [
|
|
403
|
+
/* @__PURE__ */ jsx(PawMark, { size: 64 }),
|
|
404
|
+
/* @__PURE__ */ jsx("span", { children: "A story from your community" })
|
|
405
|
+
] });
|
|
406
|
+
const separator = src.includes("?") ? "&" : "?";
|
|
407
|
+
return /* @__PURE__ */ jsxs("figure", { className: "paw-photo", children: [
|
|
408
|
+
/* @__PURE__ */ jsxs("picture", { children: [
|
|
409
|
+
/* @__PURE__ */ jsx(
|
|
410
|
+
"source",
|
|
411
|
+
{
|
|
412
|
+
type: "image/webp",
|
|
413
|
+
srcSet: `${src}${separator}width=640&format=webp 640w, ${src}${separator}width=1280&format=webp 1280w`,
|
|
414
|
+
sizes: large ? "(max-width: 700px) 100vw, 65vw" : "(max-width: 700px) 100vw, 33vw"
|
|
415
|
+
}
|
|
416
|
+
),
|
|
417
|
+
/* @__PURE__ */ jsx(
|
|
418
|
+
"img",
|
|
419
|
+
{
|
|
420
|
+
src: `${src}${separator}width=1280&format=jpeg`,
|
|
421
|
+
srcSet: `${src}${separator}width=640&format=jpeg 640w, ${src}${separator}width=1280&format=jpeg 1280w`,
|
|
422
|
+
sizes: large ? "(max-width: 700px) 100vw, 65vw" : "(max-width: 700px) 100vw, 33vw",
|
|
423
|
+
alt: photo.caption || resource.content.name,
|
|
424
|
+
width: large ? 1200 : 640,
|
|
425
|
+
height: large ? 900 : 480,
|
|
426
|
+
loading: large ? "eager" : "lazy"
|
|
427
|
+
}
|
|
428
|
+
)
|
|
429
|
+
] }),
|
|
430
|
+
photo.attribution && /* @__PURE__ */ jsxs("figcaption", { children: [
|
|
431
|
+
"Photograph: ",
|
|
432
|
+
photo.attribution
|
|
433
|
+
] })
|
|
434
|
+
] });
|
|
435
|
+
}
|
|
436
|
+
function ResourceCard(props) {
|
|
437
|
+
const href = safePetLink(props.href);
|
|
438
|
+
return /* @__PURE__ */ jsxs("article", { className: `paw-resource${props.memorial ? " paw-memorial" : ""}`, children: [
|
|
439
|
+
/* @__PURE__ */ jsx(Photo, { ...props }),
|
|
440
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-resource-copy", children: [
|
|
441
|
+
/* @__PURE__ */ jsxs("p", { className: "paw-context", children: [
|
|
442
|
+
props.label,
|
|
443
|
+
" \xB7 ",
|
|
444
|
+
props.community
|
|
445
|
+
] }),
|
|
446
|
+
/* @__PURE__ */ jsx("h3", { children: href ? /* @__PURE__ */ jsx("a", { href, children: props.resource.content.name }) : props.resource.content.name }),
|
|
447
|
+
/* @__PURE__ */ jsx("p", { children: props.resource.content.story }),
|
|
448
|
+
props.resource.content.attribution && /* @__PURE__ */ jsxs("p", { className: "paw-credit", children: [
|
|
449
|
+
"Shared by ",
|
|
450
|
+
props.resource.content.attribution
|
|
451
|
+
] })
|
|
452
|
+
] })
|
|
453
|
+
] });
|
|
454
|
+
}
|
|
455
|
+
function PetProfileCard(props) {
|
|
456
|
+
return /* @__PURE__ */ jsx(ResourceCard, { ...props, label: "Meet a neighbor" });
|
|
457
|
+
}
|
|
458
|
+
function PetCelebrationCard(props) {
|
|
459
|
+
return /* @__PURE__ */ jsx(
|
|
460
|
+
ResourceCard,
|
|
461
|
+
{
|
|
462
|
+
...props,
|
|
463
|
+
memorial: props.resource.content.category === "memorial",
|
|
464
|
+
label: props.resource.content.category === "memorial" ? "In loving memory" : "A little joy worth sharing"
|
|
465
|
+
}
|
|
466
|
+
);
|
|
467
|
+
}
|
|
468
|
+
function LostPetNotice(props) {
|
|
469
|
+
return /* @__PURE__ */ jsxs("div", { className: "paw-notice", children: [
|
|
470
|
+
/* @__PURE__ */ jsx(
|
|
471
|
+
ResourceCard,
|
|
472
|
+
{
|
|
473
|
+
...props,
|
|
474
|
+
label: props.resource.reunited_at ? "Reported reunited" : props.resource.kind === "found" ? "Found pet" : "Lost pet"
|
|
475
|
+
}
|
|
476
|
+
),
|
|
477
|
+
/* @__PURE__ */ jsx("p", { className: "paw-safety", children: PET_SAFETY.recovery })
|
|
478
|
+
] });
|
|
479
|
+
}
|
|
480
|
+
function AdoptionListingCard(props) {
|
|
481
|
+
const source = props.resource.content.source;
|
|
482
|
+
const url = source && safePetLink(source.official_url);
|
|
483
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
484
|
+
/* @__PURE__ */ jsx(ResourceCard, { ...props, label: "Adoption discovery" }),
|
|
485
|
+
source && /* @__PURE__ */ jsxs("p", { className: "paw-source", children: [
|
|
486
|
+
adoptionAvailability(source) === "confirmed" ? "Availability recently confirmed." : "Check current availability with the organization.",
|
|
487
|
+
" ",
|
|
488
|
+
url && /* @__PURE__ */ jsxs("a", { href: url, rel: "noopener noreferrer", children: [
|
|
489
|
+
"Visit ",
|
|
490
|
+
source.organization
|
|
491
|
+
] }),
|
|
492
|
+
source.verified_at && /* @__PURE__ */ jsxs("small", { children: [
|
|
493
|
+
"Source checked",
|
|
494
|
+
" ",
|
|
495
|
+
new Date(source.verified_at).toLocaleDateString("en-US", {
|
|
496
|
+
timeZone: "America/Los_Angeles"
|
|
497
|
+
})
|
|
498
|
+
] })
|
|
499
|
+
] })
|
|
500
|
+
] });
|
|
501
|
+
}
|
|
502
|
+
function PetEventCard(props) {
|
|
503
|
+
const event = props.resource.content.event, source = props.resource.content.source;
|
|
504
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
505
|
+
/* @__PURE__ */ jsx(ResourceCard, { ...props, label: "Pet community event" }),
|
|
506
|
+
event && /* @__PURE__ */ jsxs("p", { className: "paw-source", children: [
|
|
507
|
+
/* @__PURE__ */ jsx("time", { dateTime: event.starts_at, children: new Date(event.starts_at).toLocaleString("en-US", {
|
|
508
|
+
timeZone: "America/Los_Angeles",
|
|
509
|
+
dateStyle: "medium",
|
|
510
|
+
timeStyle: "short"
|
|
511
|
+
}) }),
|
|
512
|
+
" ",
|
|
513
|
+
"\xB7 Pacific time",
|
|
514
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
515
|
+
event.cost_verified && event.cost === "free" ? "Verified free event" : event.cost_verified && event.cost === "paid" ? "Paid event \u2014 check official pricing" : "Check the official organization for cost"
|
|
516
|
+
] }),
|
|
517
|
+
source && /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsxs("a", { href: safePetLink(source.official_url), rel: "noopener noreferrer", children: [
|
|
518
|
+
"Official details from ",
|
|
519
|
+
source.organization
|
|
520
|
+
] }) })
|
|
521
|
+
] });
|
|
522
|
+
}
|
|
523
|
+
function PawOfTheWeekCard(props) {
|
|
524
|
+
const href = safePetLink(props.href);
|
|
525
|
+
const Heading = props.pageHeading ? "h1" : "h2";
|
|
526
|
+
return /* @__PURE__ */ jsxs("article", { className: "paw-spotlight", children: [
|
|
527
|
+
/* @__PURE__ */ jsx(Photo, { ...props, large: true }),
|
|
528
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-spotlight-copy", children: [
|
|
529
|
+
/* @__PURE__ */ jsxs("p", { className: "paw-context", children: [
|
|
530
|
+
props.community,
|
|
531
|
+
"\u2019s Paw of the Week"
|
|
532
|
+
] }),
|
|
533
|
+
/* @__PURE__ */ jsxs(Heading, { children: [
|
|
534
|
+
"Meet ",
|
|
535
|
+
props.resource.content.name,
|
|
536
|
+
"."
|
|
537
|
+
] }),
|
|
538
|
+
/* @__PURE__ */ jsx("p", { children: props.resource.content.story }),
|
|
539
|
+
href && /* @__PURE__ */ jsx("a", { className: "paw-button", href, children: "Read the story" }),
|
|
540
|
+
/* @__PURE__ */ jsx("p", { className: "paw-credit", children: "Chosen by our editors. Always free to submit." })
|
|
541
|
+
] })
|
|
542
|
+
] });
|
|
543
|
+
}
|
|
544
|
+
function PetFriendlyPlaceCard({
|
|
545
|
+
name,
|
|
546
|
+
description,
|
|
547
|
+
href,
|
|
548
|
+
verified,
|
|
549
|
+
verifiedAt
|
|
550
|
+
}) {
|
|
551
|
+
const url = safePetLink(href);
|
|
552
|
+
return /* @__PURE__ */ jsxs("article", { className: "paw-place", children: [
|
|
553
|
+
/* @__PURE__ */ jsx("p", { className: "paw-context", children: verified ? "Verified directory information" : "Community suggestion \u2014 not verified" }),
|
|
554
|
+
/* @__PURE__ */ jsx("h3", { children: url ? /* @__PURE__ */ jsx("a", { href: url, children: name }) : name }),
|
|
555
|
+
/* @__PURE__ */ jsx("p", { children: description }),
|
|
556
|
+
verifiedAt && /* @__PURE__ */ jsxs("small", { children: [
|
|
557
|
+
"Last checked ",
|
|
558
|
+
verifiedAt
|
|
559
|
+
] })
|
|
560
|
+
] });
|
|
561
|
+
}
|
|
562
|
+
function SponsorAcknowledgment2({
|
|
563
|
+
acknowledgment,
|
|
564
|
+
now = Date.now()
|
|
565
|
+
}) {
|
|
566
|
+
const start = Date.parse(acknowledgment.starts_at), end = Date.parse(acknowledgment.ends_at);
|
|
567
|
+
if (!(start <= now && now < end)) return null;
|
|
568
|
+
return /* @__PURE__ */ jsxs("div", { className: "paw-sponsor", children: [
|
|
569
|
+
/* @__PURE__ */ jsx(
|
|
570
|
+
SponsorAcknowledgment,
|
|
571
|
+
{
|
|
572
|
+
creative: acknowledgment.creative,
|
|
573
|
+
acknowledgment,
|
|
574
|
+
label: "Sponsored"
|
|
575
|
+
}
|
|
576
|
+
),
|
|
577
|
+
/* @__PURE__ */ jsx("small", { children: "Paid community sponsorship. Sponsorship does not influence editorial selections and is not an endorsement." })
|
|
578
|
+
] });
|
|
579
|
+
}
|
|
580
|
+
function PetsSection({
|
|
581
|
+
name = "Bay Area Paw",
|
|
582
|
+
tagline = "Happier pets. Closer communities.",
|
|
583
|
+
community,
|
|
584
|
+
communities,
|
|
585
|
+
resources,
|
|
586
|
+
spotlight,
|
|
587
|
+
acknowledgments = [],
|
|
588
|
+
basePath = "/pets",
|
|
589
|
+
mediaUrl,
|
|
590
|
+
contributeUrl,
|
|
591
|
+
placesUrl,
|
|
592
|
+
walksUrl,
|
|
593
|
+
nextUrl,
|
|
594
|
+
unavailable,
|
|
595
|
+
regionLabel,
|
|
596
|
+
resourceBasePath,
|
|
597
|
+
browseBasePath = "/browse",
|
|
598
|
+
eventsUrl,
|
|
599
|
+
accountUrl
|
|
600
|
+
}) {
|
|
601
|
+
const location = community?.name || regionLabel || "the Bay Area";
|
|
602
|
+
const link = (id) => `${resourceBasePath || basePath}/${encodeURIComponent(id)}`;
|
|
603
|
+
const local = (id) => communities.find((c) => c.id === id)?.name || "Our community";
|
|
604
|
+
const communityQuery = community ? "?community=" + encodeURIComponent(community.slug) : "";
|
|
605
|
+
const photoBoard = resources.filter(
|
|
606
|
+
(r) => r.kind === "photo" || r.kind === "profile"
|
|
607
|
+
);
|
|
608
|
+
const celebrations = resources.filter((r) => r.kind === "celebration");
|
|
609
|
+
const notices = resources.filter((r) => ["lost", "found"].includes(r.kind));
|
|
610
|
+
const adoptions = resources.filter((r) => r.kind === "adoption");
|
|
611
|
+
return /* @__PURE__ */ jsxs("div", { className: "paw paw-home", children: [
|
|
612
|
+
/* @__PURE__ */ jsxs("header", { className: "paw-masthead", children: [
|
|
613
|
+
/* @__PURE__ */ jsxs("a", { href: basePath || "/", className: "paw-brand", children: [
|
|
614
|
+
/* @__PURE__ */ jsx(PawMark, {}),
|
|
615
|
+
/* @__PURE__ */ jsx("span", { children: name })
|
|
616
|
+
] }),
|
|
617
|
+
/* @__PURE__ */ jsx("p", { children: tagline }),
|
|
618
|
+
accountUrl && /* @__PURE__ */ jsx("a", { href: safePetLink(accountUrl), children: "My pets" }),
|
|
619
|
+
contributeUrl && /* @__PURE__ */ jsx("a", { className: "paw-button", href: safePetLink(contributeUrl), children: "Share your pet" })
|
|
620
|
+
] }),
|
|
621
|
+
/* @__PURE__ */ jsxs("details", { className: "paw-mobile-nav", children: [
|
|
622
|
+
/* @__PURE__ */ jsxs("summary", { children: [
|
|
623
|
+
"Explore Bay Area Paw ",
|
|
624
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "\uFF0B" })
|
|
625
|
+
] }),
|
|
626
|
+
/* @__PURE__ */ jsxs("nav", { "aria-label": "Mobile pet community", children: [
|
|
627
|
+
/* @__PURE__ */ jsx("a", { href: "#neighbors", children: "Our pets" }),
|
|
628
|
+
/* @__PURE__ */ jsx("a", { href: "#lost-found", children: "Lost & found" }),
|
|
629
|
+
walksUrl && /* @__PURE__ */ jsx("a", { href: safePetLink(walksUrl), children: "Paw Walks" }),
|
|
630
|
+
placesUrl && /* @__PURE__ */ jsx("a", { href: safePetLink(placesUrl), children: "Paw Places" }),
|
|
631
|
+
/* @__PURE__ */ jsx("a", { href: "#adoption", children: "Adoption" }),
|
|
632
|
+
/* @__PURE__ */ jsx("a", { href: "#celebrations", children: "Celebrations" }),
|
|
633
|
+
eventsUrl && /* @__PURE__ */ jsx("a", { href: safePetLink(eventsUrl), children: "Events" })
|
|
634
|
+
] })
|
|
635
|
+
] }),
|
|
636
|
+
/* @__PURE__ */ jsxs("nav", { className: "paw-nav", "aria-label": "Pet community", children: [
|
|
637
|
+
/* @__PURE__ */ jsx("a", { href: "#neighbors", children: "Our pets" }),
|
|
638
|
+
/* @__PURE__ */ jsx("a", { href: "#lost-found", children: "Lost & found" }),
|
|
639
|
+
walksUrl && /* @__PURE__ */ jsx("a", { href: safePetLink(walksUrl), children: "Paw Walks" }),
|
|
640
|
+
placesUrl && /* @__PURE__ */ jsx("a", { href: safePetLink(placesUrl), children: "Paw Places" }),
|
|
641
|
+
/* @__PURE__ */ jsx("a", { href: "#adoption", children: "Adoption" }),
|
|
642
|
+
/* @__PURE__ */ jsx("a", { href: "#celebrations", children: "Celebrations" }),
|
|
643
|
+
eventsUrl && /* @__PURE__ */ jsx("a", { href: safePetLink(eventsUrl), children: "Events" })
|
|
644
|
+
] }),
|
|
645
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-community", children: [
|
|
646
|
+
/* @__PURE__ */ jsxs("p", { children: [
|
|
647
|
+
/* @__PURE__ */ jsx("span", { className: "paw-location-dot", "aria-hidden": "true" }),
|
|
648
|
+
" Your pet community in ",
|
|
649
|
+
location,
|
|
650
|
+
"."
|
|
651
|
+
] }),
|
|
652
|
+
/* @__PURE__ */ jsxs("form", { action: basePath || "/", method: "get", children: [
|
|
653
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "paw-community", children: "Your community" }),
|
|
654
|
+
/* @__PURE__ */ jsxs(
|
|
655
|
+
"select",
|
|
656
|
+
{
|
|
657
|
+
id: "paw-community",
|
|
658
|
+
name: "community",
|
|
659
|
+
defaultValue: community?.slug || "",
|
|
660
|
+
children: [
|
|
661
|
+
/* @__PURE__ */ jsx("option", { value: "", children: "All communities" }),
|
|
662
|
+
communities.map((c) => /* @__PURE__ */ jsx("option", { value: c.slug, children: c.name }, c.id))
|
|
663
|
+
]
|
|
664
|
+
}
|
|
665
|
+
),
|
|
666
|
+
/* @__PURE__ */ jsx("button", { type: "submit", children: "Explore" })
|
|
667
|
+
] })
|
|
668
|
+
] }),
|
|
669
|
+
unavailable ? /* @__PURE__ */ jsxs("div", { role: "status", className: "paw-empty", children: [
|
|
670
|
+
/* @__PURE__ */ jsx("h1", { children: "Your community is on its way." }),
|
|
671
|
+
/* @__PURE__ */ jsx("p", { children: "We can\u2019t load the pet community right now. Please try again shortly." })
|
|
672
|
+
] }) : spotlight ? /* @__PURE__ */ jsx("section", { id: "paw-week", "aria-label": "Paw of the Week", children: /* @__PURE__ */ jsx(
|
|
673
|
+
PawOfTheWeekCard,
|
|
674
|
+
{
|
|
675
|
+
pageHeading: true,
|
|
676
|
+
resource: spotlight,
|
|
677
|
+
community: local(spotlight.area_id),
|
|
678
|
+
href: link(spotlight.id),
|
|
679
|
+
mediaUrl
|
|
680
|
+
}
|
|
681
|
+
) }) : /* @__PURE__ */ jsxs("section", { className: "paw-welcome", "aria-labelledby": "paw-welcome-title", children: [
|
|
682
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-welcome-copy", children: [
|
|
683
|
+
/* @__PURE__ */ jsxs("h1", { id: "paw-welcome-title", children: [
|
|
684
|
+
"Good company.",
|
|
685
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
686
|
+
"Right here."
|
|
687
|
+
] }),
|
|
688
|
+
/* @__PURE__ */ jsx("p", { children: "For the pets we love. And the neighbors we haven\u2019t met yet." }),
|
|
689
|
+
/* @__PURE__ */ jsx("p", { className: "paw-welcome-detail", children: "Share their story, find your next favorite walk, and make a little more room for community." }),
|
|
690
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-hero-actions", children: [
|
|
691
|
+
contributeUrl && /* @__PURE__ */ jsx("a", { className: "paw-button", href: safePetLink(contributeUrl), children: "Share your pet" }),
|
|
692
|
+
/* @__PURE__ */ jsx("a", { className: "paw-text-link", href: "#paw-week", children: "Meet Paw of the Week" })
|
|
693
|
+
] })
|
|
694
|
+
] }),
|
|
695
|
+
/* @__PURE__ */ jsx("div", { className: "paw-illustration", children: /* @__PURE__ */ jsx(PawNeighborhoodIllustration, {}) })
|
|
696
|
+
] }),
|
|
697
|
+
!unavailable && /* @__PURE__ */ jsxs("nav", { className: "paw-shortcuts", "aria-label": "Useful pet resources", children: [
|
|
698
|
+
/* @__PURE__ */ jsxs(
|
|
699
|
+
"a",
|
|
700
|
+
{
|
|
701
|
+
href: safePetLink(browseBasePath + "/lost_found" + communityQuery),
|
|
702
|
+
children: [
|
|
703
|
+
/* @__PURE__ */ jsx("span", { children: "Lost a pet?" }),
|
|
704
|
+
/* @__PURE__ */ jsx("strong", { children: "Let\u2019s help them home" }),
|
|
705
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "\u2197" })
|
|
706
|
+
]
|
|
707
|
+
}
|
|
708
|
+
),
|
|
709
|
+
walksUrl && /* @__PURE__ */ jsxs("a", { href: safePetLink(walksUrl), children: [
|
|
710
|
+
/* @__PURE__ */ jsx("span", { children: "A little fresh air" }),
|
|
711
|
+
/* @__PURE__ */ jsx("strong", { children: "Find a Paw Walk" }),
|
|
712
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "\u2197" })
|
|
713
|
+
] }),
|
|
714
|
+
placesUrl && /* @__PURE__ */ jsxs("a", { href: safePetLink(placesUrl), children: [
|
|
715
|
+
/* @__PURE__ */ jsx("span", { children: "Out with your companion" }),
|
|
716
|
+
/* @__PURE__ */ jsx("strong", { children: "Explore Paw Places" }),
|
|
717
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "\u2197" })
|
|
718
|
+
] })
|
|
719
|
+
] }),
|
|
720
|
+
!unavailable && !spotlight && /* @__PURE__ */ jsxs(
|
|
721
|
+
"section",
|
|
722
|
+
{
|
|
723
|
+
className: "paw-week-invitation",
|
|
724
|
+
id: "paw-week",
|
|
725
|
+
"aria-labelledby": "paw-week-title",
|
|
726
|
+
children: [
|
|
727
|
+
/* @__PURE__ */ jsx("div", { className: "paw-invitation-art", children: /* @__PURE__ */ jsx(PawInvitationArt, {}) }),
|
|
728
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
729
|
+
/* @__PURE__ */ jsx("p", { className: "paw-context", children: "Paw of the Week" }),
|
|
730
|
+
/* @__PURE__ */ jsxs("h2", { id: "paw-week-title", children: [
|
|
731
|
+
"Somebody\u2019s favorite.",
|
|
732
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
733
|
+
"Soon, everybody\u2019s."
|
|
734
|
+
] }),
|
|
735
|
+
/* @__PURE__ */ jsx("p", { children: "The couch companion. The trail buddy. The tiny character with a very big personality. We\u2019d love to meet yours." }),
|
|
736
|
+
contributeUrl && /* @__PURE__ */ jsx("a", { className: "paw-button", href: safePetLink(contributeUrl), children: "Introduce your pet" }),
|
|
737
|
+
/* @__PURE__ */ jsx("small", { children: "Always free. Selected with care by local editors." })
|
|
738
|
+
] })
|
|
739
|
+
]
|
|
740
|
+
}
|
|
741
|
+
),
|
|
742
|
+
!unavailable && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
743
|
+
/* @__PURE__ */ jsxs("section", { id: "neighbors", className: "paw-section", children: [
|
|
744
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-section-heading", children: [
|
|
745
|
+
/* @__PURE__ */ jsx("h2", { children: "Friends around the corner" }),
|
|
746
|
+
/* @__PURE__ */ jsx("p", { children: "Small moments. Very good company." })
|
|
747
|
+
] }),
|
|
748
|
+
photoBoard.length ? /* @__PURE__ */ jsx("div", { className: "paw-gallery", children: photoBoard.map((r) => /* @__PURE__ */ jsx(
|
|
749
|
+
PetProfileCard,
|
|
750
|
+
{
|
|
751
|
+
resource: r,
|
|
752
|
+
community: local(r.area_id),
|
|
753
|
+
href: link(r.id),
|
|
754
|
+
mediaUrl
|
|
755
|
+
},
|
|
756
|
+
r.id
|
|
757
|
+
)) }) : /* @__PURE__ */ jsxs("div", { className: "paw-board-invitation", children: [
|
|
758
|
+
/* @__PURE__ */ jsx(PawMark, { size: 56 }),
|
|
759
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
760
|
+
/* @__PURE__ */ jsx("h3", { children: "There\u2019s a place for your pet here." }),
|
|
761
|
+
/* @__PURE__ */ jsx("p", { children: "The photo board is ready for its first neighbors. A favorite photograph, a few words, and a new familiar face." })
|
|
762
|
+
] }),
|
|
763
|
+
contributeUrl && /* @__PURE__ */ jsx(
|
|
764
|
+
"a",
|
|
765
|
+
{
|
|
766
|
+
className: "paw-text-link",
|
|
767
|
+
href: safePetLink(contributeUrl),
|
|
768
|
+
children: "Share a photograph"
|
|
769
|
+
}
|
|
770
|
+
)
|
|
771
|
+
] }),
|
|
772
|
+
/* @__PURE__ */ jsx(
|
|
773
|
+
"a",
|
|
774
|
+
{
|
|
775
|
+
href: safePetLink(browseBasePath + "/neighbors" + communityQuery),
|
|
776
|
+
children: "Browse all community pets"
|
|
777
|
+
}
|
|
778
|
+
)
|
|
779
|
+
] }),
|
|
780
|
+
/* @__PURE__ */ jsxs("section", { id: "lost-found", className: "paw-section paw-recovery", children: [
|
|
781
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-section-heading", children: [
|
|
782
|
+
/* @__PURE__ */ jsx("h2", { children: "Let\u2019s help them get home." }),
|
|
783
|
+
/* @__PURE__ */ jsx("p", { children: "Lost & found is always free." })
|
|
784
|
+
] }),
|
|
785
|
+
notices.length ? /* @__PURE__ */ jsx("div", { className: "paw-gallery", children: notices.map((r) => /* @__PURE__ */ jsx(
|
|
786
|
+
LostPetNotice,
|
|
787
|
+
{
|
|
788
|
+
resource: r,
|
|
789
|
+
community: local(r.area_id),
|
|
790
|
+
href: link(r.id),
|
|
791
|
+
mediaUrl
|
|
792
|
+
},
|
|
793
|
+
r.id
|
|
794
|
+
)) }) : /* @__PURE__ */ jsx("p", { children: "No current, reviewed notices in this community." }),
|
|
795
|
+
/* @__PURE__ */ jsx("p", { className: "paw-safety", children: PET_SAFETY.recovery }),
|
|
796
|
+
/* @__PURE__ */ jsx(
|
|
797
|
+
"a",
|
|
798
|
+
{
|
|
799
|
+
href: safePetLink(
|
|
800
|
+
browseBasePath + "/lost_found" + communityQuery
|
|
801
|
+
),
|
|
802
|
+
children: "Open the lost & found board"
|
|
803
|
+
}
|
|
804
|
+
)
|
|
805
|
+
] }),
|
|
806
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-discover-pair", children: [
|
|
807
|
+
/* @__PURE__ */ jsxs("section", { id: "celebrations", className: "paw-section", children: [
|
|
808
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-section-heading", children: [
|
|
809
|
+
/* @__PURE__ */ jsx("h2", { children: "A life full of little milestones" }),
|
|
810
|
+
/* @__PURE__ */ jsx("p", { children: "Birthdays, adoption days, new beginnings and fond memories." })
|
|
811
|
+
] }),
|
|
812
|
+
celebrations.length ? /* @__PURE__ */ jsx("div", { className: "paw-gallery", children: celebrations.map((r) => /* @__PURE__ */ jsx(
|
|
813
|
+
PetCelebrationCard,
|
|
814
|
+
{
|
|
815
|
+
resource: r,
|
|
816
|
+
community: local(r.area_id),
|
|
817
|
+
href: link(r.id),
|
|
818
|
+
mediaUrl
|
|
819
|
+
},
|
|
820
|
+
r.id
|
|
821
|
+
)) }) : /* @__PURE__ */ jsx("p", { className: "paw-empty", children: "Celebrate someone who makes your days brighter. Every story is reviewed with care." }),
|
|
822
|
+
/* @__PURE__ */ jsx(
|
|
823
|
+
"a",
|
|
824
|
+
{
|
|
825
|
+
href: safePetLink(
|
|
826
|
+
browseBasePath + "/celebration" + communityQuery
|
|
827
|
+
),
|
|
828
|
+
children: "More pet celebrations"
|
|
829
|
+
}
|
|
830
|
+
)
|
|
831
|
+
] }),
|
|
832
|
+
/* @__PURE__ */ jsxs("section", { id: "adoption", className: "paw-section", children: [
|
|
833
|
+
/* @__PURE__ */ jsxs("div", { className: "paw-section-heading", children: [
|
|
834
|
+
/* @__PURE__ */ jsx("h2", { children: "A new chapter starts with hello." }),
|
|
835
|
+
/* @__PURE__ */ jsx("p", { children: "Discover animals through local shelters and rescue organizations." })
|
|
836
|
+
] }),
|
|
837
|
+
adoptions.length ? /* @__PURE__ */ jsx("div", { className: "paw-gallery", children: adoptions.map((r) => /* @__PURE__ */ jsx(
|
|
838
|
+
AdoptionListingCard,
|
|
839
|
+
{
|
|
840
|
+
resource: r,
|
|
841
|
+
community: local(r.area_id),
|
|
842
|
+
href: link(r.id),
|
|
843
|
+
mediaUrl
|
|
844
|
+
},
|
|
845
|
+
r.id
|
|
846
|
+
)) }) : /* @__PURE__ */ jsx("p", { className: "paw-empty", children: "Our editors are gathering official shelter and rescue listings. Check directly with your local organization for current availability." }),
|
|
847
|
+
/* @__PURE__ */ jsx("p", { className: "paw-safety", children: PET_SAFETY.adoption }),
|
|
848
|
+
/* @__PURE__ */ jsx(
|
|
849
|
+
"a",
|
|
850
|
+
{
|
|
851
|
+
href: safePetLink(
|
|
852
|
+
browseBasePath + "/adoption" + communityQuery
|
|
853
|
+
),
|
|
854
|
+
children: "Explore adoption listings"
|
|
855
|
+
}
|
|
856
|
+
)
|
|
857
|
+
] })
|
|
858
|
+
] }),
|
|
859
|
+
nextUrl && /* @__PURE__ */ jsx("a", { className: "paw-button", href: safePetLink(nextUrl), children: "More community pets" })
|
|
860
|
+
] }),
|
|
861
|
+
acknowledgments.length > 0 && /* @__PURE__ */ jsxs("section", { "aria-label": "Community support", children: [
|
|
862
|
+
/* @__PURE__ */ jsx("p", { children: "Bay Area Paw is made possible with support from our community partners." }),
|
|
863
|
+
acknowledgments.map((item) => /* @__PURE__ */ jsx(
|
|
864
|
+
SponsorAcknowledgment2,
|
|
865
|
+
{
|
|
866
|
+
acknowledgment: item
|
|
867
|
+
},
|
|
868
|
+
item.campaign_id + item.placement_id
|
|
869
|
+
))
|
|
870
|
+
] }),
|
|
871
|
+
/* @__PURE__ */ jsxs("footer", { className: "paw-footer", children: [
|
|
872
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
873
|
+
/* @__PURE__ */ jsxs("a", { className: "paw-brand", href: basePath || "/", children: [
|
|
874
|
+
/* @__PURE__ */ jsx(PawMark, { size: 40 }),
|
|
875
|
+
name
|
|
876
|
+
] }),
|
|
877
|
+
/* @__PURE__ */ jsx("p", { children: tagline })
|
|
878
|
+
] }),
|
|
879
|
+
/* @__PURE__ */ jsxs("p", { children: [
|
|
880
|
+
"A community project from",
|
|
881
|
+
" ",
|
|
882
|
+
/* @__PURE__ */ jsx("a", { href: "https://bayareanewsnetwork.com", children: "Bay Area News Network" }),
|
|
883
|
+
".",
|
|
884
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
885
|
+
"Made for the places we call home."
|
|
886
|
+
] }),
|
|
887
|
+
/* @__PURE__ */ jsx("a", { href: "#paw-community", className: "paw-text-link", children: "Find your community" })
|
|
888
|
+
] })
|
|
889
|
+
] });
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
export { AdoptionListingCard, LostPetNotice, PawMark, PawNeighborhoodIllustration, PawOfTheWeekCard, PetCelebrationCard, PetEventCard, PetFriendlyPlaceCard, PetProfileCard, PetsSection, SponsorAcknowledgment2 as SponsorAcknowledgment };
|