1import { o as e, t } from "./rolldown-runtime-ybazCWPp.js"; 2import { s as r } from "./framer-motion-C724r53U.js"; 3import { o as n } from "./pdf-libs-Dx7BN56A.js"; 4var i, s, o = t((e, t) => { 5 var r = "undefined" != typeof Element, n = "function" == typeof Map, i = "function" == typeof Set, s = "function" == typeof ArrayBuffer && !!ArrayBuffer.isView; 6 function o(e, t) { 7 if (e === t) return !0; 8 if (e && t && "object" == typeof e && "object" == typeof t) { 9 if (e.constructor !== t.constructor) return !1; 10 var a, c, l, u; 11 if (Array.isArray(e)) { 12 if ((a = e.length) != t.length) return !1; 13 for (c = a; 0 !== c--;) if (!o(e[c], t[c])) return !1; 14 return !0; 15 } 16 if (n && e instanceof Map && t instanceof Map) { 17 if (e.size !== t.size) return !1; 18 for (u = e.entries(); !(c = u.next()).done;) if (!t.has(c.value[0])) return !1; 19 for (u = e.entries(); !(c = u.next()).done;) if (!o(c.value[1], t.get(c.value[0]))) return !1; 20 return !0; 21 } 22 if (i && e instanceof Set && t instanceof Set) { 23 if (e.size !== t.size) return !1; 24 for (u = e.entries(); !(c = u.next()).done;) if (!t.has(c.value[0])) return !1; 25 return !0; 26 } 27 if (s && ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) { 28 if ((a = e.length) != t.length) return !1; 29 for (c = a; 0 !== c--;) if (e[c] !== t[c]) return !1; 30 return !0; 31 } 32 if (e.constructor === RegExp) return e.source === t.source && e.flags === t.flags; 33 if (e.valueOf !== Object.prototype.valueOf && "function" == typeof e.valueOf && "function" == typeof t.valueOf) return e.valueOf() === t.valueOf(); 34 if (e.toString !== Object.prototype.toString && "function" == typeof e.toString && "function" == typeof t.toString) return e.toString() === t.toString(); 35 if ((a = (l = Object.keys(e)).length) !== Object.keys(t).length) return !1; 36 for (c = a; 0 !== c--;) if (!Object.prototype.hasOwnProperty.call(t, l[c])) return !1; 37 if (r && e instanceof Element) return !1; 38 for (c = a; 0 !== c--;) if (("_owner" !== l[c] && "__v" !== l[c] && "__o" !== l[c] || !e.$$typeof) && !o(e[l[c]], t[l[c]])) return !1; 39 return !0; 40 } 41 return e != e && t != t; 42 } 43 t.exports = function(e, t) { 44 try { 45 return o(e, t); 46 } catch (e) { 47 if ((e.message || "").match(/stack|recursion/i)) return !1; 48 throw e; 49 } 50 }; 51}), a = t((e, t) => { 52 t.exports = function(e, t, r, n, i, s, o, a) { 53 if (!e) { 54 var c; 55 if (void 0 === t) c = /* @__PURE__ */ new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); 56 else { 57 var l = [ 58 r, 59 n, 60 i, 61 s, 62 o, 63 a 64 ], u = 0; 65 (c = new Error(t.replace(/%s/g, function() { 66 return l[u++]; 67 }))).name = "Invariant Violation"; 68 } 69 throw c.framesToPop = 1, c; 70 } 71 }; 72}), c = t((e, t) => { 73 t.exports = function(e, t, r, n) { 74 var i = r ? r.call(n, e, t) : void 0; 75 if (void 0 !== i) return !!i; 76 if (e === t) return !0; 77 if ("object" != typeof e || !e || "object" != typeof t || !t) return !1; 78 var s = Object.keys(e), o = Object.keys(t); 79 if (s.length !== o.length) return !1; 80 for (var a = Object.prototype.hasOwnProperty.bind(t), c = 0; c < s.length; c++) { 81 var l = s[c]; 82 if (!a(l)) return !1; 83 var u = e[l], p = t[l]; 84 if (!1 === (i = r ? r.call(n, u, p, l) : void 0) || void 0 === i && u !== p) return !1; 85 } 86 return !0; 87 }; 88}), l = e(r()), u = e(o()), p = e(a()), f = e(c()), d = ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(d || {}), h = { rel: [ 89 "amphtml", 90 "canonical", 91 "alternate" 92] }, m = { type: ["application/ld+json"] }, y = { 93 charset: "", 94 name: [ 95 "generator", 96 "robots", 97 "description" 98 ], 99 property: [ 100 "og:type", 101 "og:title", 102 "og:url", 103 "og:image", 104 "og:image:alt", 105 "og:description", 106 "twitter:url", 107 "twitter:title", 108 "twitter:description", 109 "twitter:image", 110 "twitter:image:alt", 111 "twitter:card", 112 "twitter:site" 113 ] 114}, g = Object.values(d), b = { 115 accesskey: "accessKey",
116 charset: "charSet", 117 class: "className", 118 contenteditable: "contentEditable", 119 contextmenu: "contextMenu", 120 "http-equiv": "httpEquiv", 121 itemprop: "itemProp", 122 tabindex: "tabIndex" 123}, T = Object.entries(b).reduce((e, [t, r]) => (e[r] = t, e), {}), A = "data-rh", v = (e, t) => { 124 for (let r = e.length - 1; r >= 0; r -= 1) { 125 const n = e[r]; 126 if (Object.prototype.hasOwnProperty.call(n, t)) return n[t]; 127 } 128 return null; 129}, O = (e) => { 130 let t = v(e, "title"); 131 const r = v(e, "titleTemplate"); 132 if (Array.isArray(t) && (t = t.join("")), r && t) return r.replace(/%s/g, () => t); 133 const n = v(e, "defaultTitle"); 134 return t || n || void 0; 135}, w = (e) => v(e, "onChangeClientState") || (() => {}), x = (e, t) => t.filter((t) => void 0 !== t[e]).map((t) => t[e]).reduce((e, t) => ({ 136 ...e, 137 ...t 138}), {}), C = (e, t) => t.filter((e) => void 0 !== e.base).map((e) => e.base).reverse().reduce((t, r) => { 139 if (!t.length) { 140 const n = Object.keys(r); 141 for (let i = 0; i < n.length; i += 1) { 142 const s = n[i].toLowerCase(); 143 if (-1 !== e.indexOf(s) && r[s]) return t.concat(r); 144 } 145 } 146 return t; 147}, []), j = (e, t, r) => { 148 const n = {}; 149 return r.filter((t) => !!Array.isArray(t[e]) || (void 0 !== t[e] && t[e], !1)).map((t) => t[e]).reverse().reduce((e, r) => { 150 const i = {}; 151 r.filter((e) => { 152 let r; 153 const s = Object.keys(e); 154 for (let n = 0; n < s.length; n += 1) { 155 const i = s[n], o = i.toLowerCase(); 156 -1 === t.indexOf(o) || "rel" === r && "canonical" === e[r].toLowerCase() || "rel" === o && "stylesheet" === e[o].toLowerCase() || (r = o), -1 === t.indexOf(i) || "innerHTML" !== i && "cssText" !== i && "itemprop" !== i || (r = i); 157 } 158 if (!r || !e[r]) return !1; 159 const o = e[r].toLowerCase(); 160 return n[r] || (n[r] = {}), i[r] || (i[r] = {}), !n[r][o] && (i[r][o] = !0, !0); 161 }).reverse().forEach((t) => e.push(t)); 162 const s = Object.keys(i); 163 for (let e = 0; e < s.length; e += 1) { 164 const t = s[e]; 165 n[t] = { 166 ...n[t], 167 ...i[t] 168 }; 169 } 170 return e; 171 }, []).reverse(); 172}, S = (e, t) => { 173 if (Array.isArray(e) && e.length) { 174 for (let r = 0; r < e.length; r += 1) if (e[r][t]) return !0; 175 } 176 return !1; 177}, k = (e) => Array.isArray(e) ? e.join("") : e, $ = (e, t) => Array.isArray(e) ? e.reduce((e, r) => (((e, t) => { 178 const r = Object.keys(e); 179 for (let n = 0; n < r.length; n += 1) if (t[r[n]] && t[r[n]].includes(e[r[n]])) return !0; 180 return !1; 181})(r, t) ? e.priority.push(r) : e.default.push(r), e), { 182 priority: [], 183 default: [] 184}) : { 185 default: e, 186 priority: [] 187}, E = (e, t) => ({ 188 ...e, 189 [t]: void 0 190}), M = [ 191 "noscript", 192 "script", 193 "style" 194], L = (e, t = !0) => !1 === t ? String(e) : String(e).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), P = (e) => Object.keys(e).reduce((t, r) => { 195 const n = void 0 !== e[r] ? `${r}="${e[r]}"` : `${r}`; 196 return t ? `${t} ${n}` : n; 197}, ""), D = (e, t = {}) => Object.keys(e).reduce((t, r) => (t[b[r] || r] = e[r], t), t), H = (e, t) => t.map((t, r) => { 198 const n = { 199 key: r, 200 [A]: !0 201 }; 202 return Object.keys(t).forEach((e) => { 203 const r = b[e] || e; 204 "innerHTML" === r || "cssText" === r ? n.dangerouslySetInnerHTML = { __html: t.innerHTML || t.cssText } : n[r] = t[e]; 205 }), l.createElement(e, n); 206}), I = (e, t, r = !0) => { 207 switch (e) { 208 case "title": return { 209 toComponent: () => ((e, t, r) => { 210 const n = D(r, { 211 key: t, 212 [A]: !0 213 }); 214 return [l.createElement("title", n, t)]; 215 })(0, t.title, t.titleAttributes), 216 toString: () => ((e, t, r, n) => { 217 const i = P(r), s = k(t); 218 return i ? `<${e} ${A}="true" ${i}>${L(s, n)}</${e}>` : `<${e} ${A}="true">${L(s, n)}</${e}>`; 219 })(e, t.title, t.titleAttributes, r) 220 }; 221 case "bodyAttributes": 222 case "htmlAttributes": return { 223 toComponent: () => D(t), 224 toString: () => P(t) 225 }; 226 default: return { 227 toComponent: () => H(e, t), 228 toString: () => ((e, t, r = !0) => t.reduce((t, n) => { 229 const i = n, s = Object.keys(i).filter((e) => !("innerHTML" === e || "cssText" === e)).reduce((e, t) => { 230 const n = void 0 === i[t] ? t : `${t}="${L(i[t], r)}"`; 231 return e ? `${e} ${n}` : n; 232 }, ""), o = i.innerHTML || i.cssText || ""; 233 return `${t}<${e} ${A}="true" ${s}${-1 === M.indexOf(e) ? "/>" : `>${o}</${e}>`}`; 234 }, ""))(e, t, r) 235 }; 236 } 237}, U = (e) => { 238 const { baseTag: t, bodyAttributes: r, encode: n = !0, htmlAttributes: i, noscriptTags: s, styleTags: o, title: a = "", titleAttributes: c, prioritizeSeoTags: l } = e; 239 let { linkTags: u, metaTags: p, scriptTags: f } = e, d = { 240 toComponent: () => {}, 241 toString: () => "" 242 }; 243 return l && ({priorityMethods: d, linkTags: u, metaTags: p, scriptTags: f} = (({ metaTags: e, linkTags: t, scriptTags: r, encode: n }) => { 244 const i = $(e, y), s = $(t, h), o = $(r, m); 245 return { 246 priorityMethods: { 247 toComponent: () => [ 248 ...H("meta", i.priority), 249 ...H("link", s.priority), 250 ...H("script", o.priority) 251 ], 252 toString: () => `${I("meta", i.priority, n)} ${I("link", s.priority, n)} ${I("script", o.priority, n)}` 253 }, 254 metaTags: i.default, 255 linkTags: s.default, 256 scriptTags: o.default 257 }; 258 })(e)), { 259 priority: d, 260 base: I("base", t, n), 261 bodyAttributes: I("bodyAttributes", r, n), 262 htmlAttributes: I("htmlAttributes", i, n), 263 link: I("link", u, n), 264 meta: I("meta", p, n), 265 noscript: I("noscript", s, n), 266 script: I("script", f, n), 267 style: I("style", o, n), 268 title: I("title", { 269 title: a, 270 titleAttributes: c 271 }, n) 272 }; 273}, N = [], q = !("undefined" == typeof window || !window.document || !window.document.createElement), z = class { 274 constructor(e, t) { 275 n(this, "instances", []), n(this, "canUseDOM", q), n(this, "context", void 0), n(this, "value", { 276 setHelmet: (e) => { 277 this.context.helmet = e; 278 }, 279 helmetInstances: { 280 get: () => this.canUseDOM ? N : this.instances, 281 add: (e) => { 282 (this.canUseDOM ? N : this.instances).push(e); 283 }, 284 remove: (e) => { 285 const t = (this.canUseDOM ? N : this.instances).indexOf(e); 286 (this.canUseDOM ? N : this.instances).splice(t, 1); 287 } 288 } 289 }), this.context = e, this.canUseDOM = t || !1, t || (e.helmet = U({ 290 baseTag: [], 291 bodyAttributes: {}, 292 encodeSpecialCharacters: !0, 293 htmlAttributes: {}, 294 linkTags: [], 295 metaTags: [], 296 noscriptTags: [], 297 scriptTags: [], 298 styleTags: [], 299 title: "", 300 titleAttributes: {} 301 })); 302 } 303}, R = l.createContext({}), B = (i = class e extends l.Component { 304 constructor(t) { 305 super(t), n(this, "helmetData", void 0), this.helmetData = new z(this.props.context || {}, e.canUseDOM); 306 } 307 render() { 308 return l.createElement(R.Provider, { value: this.helmetData.value }, this.props.children); 309 } 310}, n(i, "canUseDOM", q), i), _ = (e, t) => { 311 const r = document.head || document.querySelector("head"), n = r.querySelectorAll(`${e}[${A}]`), i = [].slice.call(n), s = []; 312 let o; 313 return t && t.length && t.forEach((t) => { 314 const r = document.createElement(e); 315 for (const e in t) if (Object.prototype.hasOwnProperty.call(t, e)) if ("innerHTML" === e) r.innerHTML = t.innerHTML; 316 else if ("cssText" === e) r.styleSheet ? r.styleSheet.cssText = t.cssText : r.appendChild(document.createTextNode(t.cssText)); 317 else {
318 const n = e, i = void 0 === t[n] ? "" : t[n]; 319 r.setAttribute(e, i); 320 } 321 r.setAttribute(A, "true"), i.some((e, t) => (o = t, r.isEqualNode(e))) ? i.splice(o, 1) : s.push(r); 322 }), i.forEach((e) => e.parentNode?.removeChild(e)), s.forEach((e) => r.appendChild(e)), { 323 oldTags: i, 324 newTags: s 325 }; 326}, V = (e, t) => { 327 const r = document.getElementsByTagName(e)[0]; 328 if (!r) return; 329 const n = r.getAttribute(A), i = n ? n.split(",") : [], s = [...i], o = Object.keys(t); 330 for (const e of o) { 331 const n = t[e] || ""; 332 r.getAttribute(e) !== n && r.setAttribute(e, n), -1 === i.indexOf(e) && i.push(e); 333 const o = s.indexOf(e); 334 -1 !== o && s.splice(o, 1); 335 } 336 for (let e = s.length - 1; e >= 0; e -= 1) r.removeAttribute(s[e]); 337 i.length === s.length ? r.removeAttribute(A) : r.getAttribute(A) !== o.join(",") && r.setAttribute(A, o.join(",")); 338}, F = (e, t) => { 339 const { baseTag: r, bodyAttributes: n, htmlAttributes: i, linkTags: s, metaTags: o, noscriptTags: a, onChangeClientState: c, scriptTags: l, styleTags: u, title: p, titleAttributes: f } = e; 340 V("body", n), V("html", i), ((e, t) => { 341 void 0 !== e && document.title !== e && (document.title = k(e)), V("title", t); 342 })(p, f); 343 const d = { 344 baseTag: _("base", r), 345 linkTags: _("link", s), 346 metaTags: _("meta", o), 347 noscriptTags: _("noscript", a), 348 scriptTags: _("script", l),
349 styleTags: _("style", u) 350 }, h = {}, m = {}; 351 Object.keys(d).forEach((e) => { 352 const { newTags: t, oldTags: r } = d[e]; 353 t.length && (h[e] = t), r.length && (m[e] = d[e].oldTags); 354 }), t && t(), c(e, h, m); 355}, Y = null, K = class extends l.Component { 356 constructor(...e) { 357 super(...e), n(this, "rendered", !1); 358 } 359 shouldComponentUpdate(e) { 360 return !(0, f.default)(e, this.props); 361 } 362 componentDidUpdate() { 363 this.emitChange(); 364 } 365 componentWillUnmount() { 366 const { helmetInstances: e } = this.props.context; 367 e.remove(this), this.emitChange(); 368 } 369 emitChange() { 370 const { helmetInstances: e, setHelmet: t } = this.props.context; 371 let r = null; 372 const n = (i = e.get().map((e) => { 373 const t = { ...e.props }; 374 return delete t.context, t; 375 }), { 376 baseTag: C(["href"], i), 377 bodyAttributes: x("bodyAttributes", i), 378 defer: v(i, "defer"), 379 encode: v(i, "encodeSpecialCharacters"), 380 htmlAttributes: x("htmlAttributes", i), 381 linkTags: j("link", ["rel", "href"], i), 382 metaTags: j("meta", [ 383 "name", 384 "charset", 385 "http-equiv", 386 "property", 387 "itemprop" 388 ], i), 389 noscriptTags: j("noscript", ["innerHTML"], i), 390 onChangeClientState: w(i), 391 scriptTags: j("script", ["src", "innerHTML"], i), 392 styleTags: j("style", ["cssText"], i), 393 title: O(i), 394 titleAttributes: x("titleAttributes", i), 395 prioritizeSeoTags: S(i, "prioritizeSeoTags") 396 }); 397 var i, s; 398 B.canUseDOM ? (s = n, Y && cancelAnimationFrame(Y), s.defer ? Y = requestAnimationFrame(() => { 399 F(s, () => { 400 Y = null; 401 }); 402 }) : (F(s), Y = null)) : U && (r = U(n)), t(r); 403 }
404 init() { 405 if (this.rendered) return; 406 this.rendered = !0; 407 const { helmetInstances: e } = this.props.context; 408 e.add(this), this.emitChange(); 409 } 410 render() { 411 return this.init(), null; 412 } 413}, G = (s = class extends l.Component { 414 shouldComponentUpdate(e) { 415 return !(0, u.default)(E(this.props, "helmetData"), E(e, "helmetData")); 416 } 417 mapNestedChildrenToProps(e, t) { 418 if (!t) return null; 419 switch (e.type) { 420 case "script": 421 case "noscript": return { innerHTML: t }; 422 case "style": return { cssText: t }; 423 default: throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`); 424 } 425 } 426 flattenArrayTypeChildren(e, t, r, n) { 427 return { 428 ...t, 429 [e.type]: [...t[e.type] || [], { 430 ...r, 431 ...this.mapNestedChildrenToProps(e, n) 432 }] 433 }; 434 } 435 mapObjectTypeChildren(e, t, r, n) { 436 switch (e.type) { 437 case "title": return { 438 ...t, 439 [e.type]: n, 440 titleAttributes: { ...r } 441 }; 442 case "body": return { 443 ...t, 444 bodyAttributes: { ...r } 445 }; 446 case "html": return { 447 ...t, 448 htmlAttributes: { ...r } 449 }; 450 default: return { 451 ...t, 452 [e.type]: { ...r } 453 }; 454 } 455 } 456 mapArrayTypeChildrenToProps(e, t) { 457 let r = { ...t }; 458 return Object.keys(e).forEach((t) => { 459 r = { 460 ...r, 461 [t]: e[t] 462 }; 463 }), r; 464 }
465 warnOnInvalidChildren(e, t) { 466 return (0, p.default)(g.some((t) => e.type === t), "function" == typeof e.type ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${g.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`), (0, p.default)(!t || "string" == typeof t || Array.isArray(t) && !t.some((e) => "string" != typeof e), `Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`), !0; 467 } 468 mapChildrenToProps(e, t) { 469 let r = {}; 470 return l.Children.forEach(e, (e) => { 471 if (!e || !e.props) return; 472 const { children: n, ...i } = e.props, s = Object.keys(i).reduce((e, t) => (e[T[t] || t] = i[t], e), {}); 473 let { type: o } = e; 474 switch ("symbol" == typeof o ? o = o.toString() : this.warnOnInvalidChildren(e, n), o) { 475 case "Symbol(react.fragment)": 476 t = this.mapChildrenToProps(n, t); 477 break; 478 case "link": 479 case "meta": 480 case "noscript": 481 case "script": 482 case "style": 483 r = this.flattenArrayTypeChildren(e, r, s, n); 484 break; 485 default: t = this.mapObjectTypeChildren(e, t, s, n); 486 } 487 }), this.mapArrayTypeChildrenToProps(r, t); 488 } 489 render() { 490 const { children: e, ...t } = this.props; 491 let r = { ...t }, { helmetData: n } = t; 492 return e && (r = this.mapChildrenToProps(e, r)), !n || n instanceof z || (n = new z(n.context, !0), delete r.helmetData), n ? l.createElement(K, { 493 ...r, 494 context: n.value 495 }) : l.createElement(R.Consumer, null, (e) => l.createElement(K, { 496 ...r, 497 context: e 498 })); 499 } 500}, n(s, "defaultProps", { 501 defer: !0, 502 encodeSpecialCharacters: !0, 503 prioritizeSeoTags: !1 504}), s); 505export { B as n, G as t };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.