PageSourceSearch

https://flixier.com/_next/static/chunks/pages/_app-f16233abc80df8e2.js

js flixier.com collected 2026-09-24 18:33:41 UTC 381,459 bytes, 11 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{95957:function(e,t,r){"use strict";function n(e,t){var r=t&&t.cache?t.cache:l,n=t&&t.serializer?t.serializer:a;return(t&&t.strategy?t.strategy:function(e,t){var r,n,a=1===e.length?i:s;return r=t.cache.create(),n=t.serializer,a.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function i(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),s=t.get(i);return void 0===s&&(s=e.call(this,n),t.set(i,s)),s}function s(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return void 0===s&&(s=e.apply(this,n),t.set(i,s)),s}r.r(t),r.d(t,{memoize:function(){return n},strategies:function(){return c}});var a=function(){return JSON.stringify(arguments)},o=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),l={create:function(){return new o}},c={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,s.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)}}},99603:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r.d(t,{G:function(){return t0}});let s=()=>{},a={},o={},l=null,c={mark:s,measure:s};try{"undefined"!=typeof window&&(a=window),"undefined"!=typeof document&&(o=document),"undefined"!=typeof MutationObserver&&(l=MutationObserver),"undefined"!=typeof performance&&(c=performance)}catch(e){}let{userAgent:u=""}=a.navigator||{},h=a,f=o,d=l,p=c;h.document;let g=!!f.documentElement&&!!f.head&&"function"==typeof f.addEventListener&&"function"==typeof f.createElement,v=~u.indexOf("MSIE")||~u.indexOf("Trident/");var m,_,y={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},b=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],E="classic",w="duotone",x=[E,w,"sharp","sharp-duotone"],S=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),P=["fak","fa-kit","fakd","fa-kit-duotone"],T=["fak","fakd"],k=["fak","fa-kit","fakd","fa-kit-duotone"],M={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},O=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],A=[1,2,3,4,5,6,7,8,9,10],C=A.concat([11,12,13,14,15,16,17,18,19,20]),I=["classic","duotone","sharp","sharp-duotone","solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vert
1ical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","duotone-group","swap-opacity","primary","secondary"].concat(A.map(e=>"".concat(e,"x"))).concat(C.map(e=>"w-".concat(e)));let L="___FONT_AWESOME___",N="svg-inline--fa",H="data-fa-i2svg",R="data-fa-pseudo-element",F="data-prefix",j="data-icon",D="fontawesome-i2svg",z=["HTML","HEAD","STYLE","SCRIPT"],B=(()=>{try{return!0}catch(e){return!1}})();function V(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[E]})}let $=i({},y);$[E]=i(i(i(i({},{"fa-duotone":"duotone"}),y[E]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});let U=V($),G=i({},{classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}});G[E]=i(i(i(i({},{duotone:"fad"}),G[E]),{kit:"fak"}),{"kit-duotone":"fakd"});let q=V(G),W=i({},M);W[E]=i(i({},W[E]),{fak:"fa-kit"});let Y=V(W),X=i({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}});X[E]=i(i({},X[E]),{"fa-kit":"fak"}),V(X);let K=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Z="fa-layers-text",J=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i;V(i({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}}));let Q=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ee={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},et=["kit",...I],er=h.FontAwesomeConfig||{};f&&"function"==typeof f.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(e=>{var t;let[r,n]=e,i=""===(t=function(e){var t=f.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(r))||"false"!==t&&("true"===t||t);null!=i&&(er[n]=i)});let en={styleDefault:"solid",familyDefault:E,cssPrefix:"fa",replacementClass:N,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};er.familyPrefix&&(er.cssPrefix=er.familyPrefix);let ei=i(i({},en),er);ei.autoReplaceSvg||(ei.observeMutations=!1);let es={};Object.keys(en).forEach(e=>{Object.defineProperty(es,e,{enumerable:!0,set:function(t){ei[e]=t,ea.forEach(e=>e(es))},get:function(){return ei[e]}})}),Object.defineProperty(es,"familyPrefix",{enumerable:!0,set:function(e){ei.cssPrefix=e,ea.forEach(e=>e(es))},get:function(){return ei.cssPrefix}}),h.FontAwesomeConfig=es;let ea=[],eo={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function el(){let e=12,t="";for(;e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ec(e){let t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function eu(e){return e.classList?ec(e.classList):(e.getAttribute("class")||"").split(" ").filter(e=>e)}function eh(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ef(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function ed(e){return e.size!==eo.size||e.x!==eo.x||e.y!==eo.y||e.rotate!==eo.rotate||e.flipX||e.flipY}function ep(){let e=es.cssPrefix,t=es.replacementClass,r=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n  --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n  --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n  --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;
1\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-counter-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(-1 * var(--fa-li-width, 2em));\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  animation-name: fa-beat;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  animation-name: fa-bounce;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  animation-name: fa-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  animation-name: fa-beat-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  animation-name: fa-flip;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  animation-name: fa-shake;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  animation-name: fa-spin;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 2s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  animation-name: fa-spin;\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    animation-delay: -1ms;\n    animation-duration: 1ms;\n    animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    transform: scale(1);\n  }\n  45% {\n    transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-shake {\n  0% {\n    transform: rotate(-15deg);\n  }\n  4% {\n    transform: rotate(15deg);\n  }\n  8%, 24% {\n    transform: rotate(-18deg);\n  }\n  12%, 28% {\n    transform: rotate(18deg);\n  }\n  16% {\n    transform: rotate(-22deg);\n  }\n  20% {\n    transform: rotate(22deg);\n  }\n  32% {\n    transform: rotate(-12deg);\n  }\n  36% {\n    transform: rotate(12deg);\n  }\n  40%, 100% {\n    transform: rotate(0deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  transform: scale(-1, 1);\n}
1\n\n.fa-flip-vertical {\n  transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}';if("fa"!==e||t!==N){let n=RegExp("\\.".concat("fa","\\-"),"g"),i=RegExp("\\--".concat("fa","\\-"),"g"),s=RegExp("\\.".concat(N),"g");r=r.replace(n,".".concat(e,"-")).replace(i,"--".concat(e,"-")).replace(s,".".concat(t))}return r}let eg=!1;function ev(){es.autoAddCss&&!eg&&(!function(e){if(!e||!g)return;let t=f.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;let r=f.head.childNodes,n=null;for(let e=r.length-1;e>-1;e--){let t=r[e];["STYLE","LINK"].indexOf((t.tagName||"").toUpperCase())>-1&&(n=t)}f.head.insertBefore(t,n)}(ep()),eg=!0)}let em=h||{};em[L]||(em[L]={}),em[L].styles||(em[L].styles={}),em[L].hooks||(em[L].hooks={}),em[L].shims||(em[L].shims=[]);var e_=em[L];let ey=[],eb=function(){f.removeEventListener("DOMContentLoaded",eb),eE=1,ey.map(e=>e())},eE=!1;function ew(e){let{tag:t,attributes:r={},children:n=[]}=e;return"string"==typeof e?eh(e):"<".concat(t," ").concat(Object.keys(r||{}).reduce((e,t)=>e+"".concat(t,'="').concat(eh(r[t]),'" '),"").trim(),">").concat(n.map(ew).join(""),"</").concat(t,">")}function ex(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}!g||(eE=(f.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(f.readyState))||f.addEventListener("DOMContentLoaded",eb);var eS=function(e,t,r,n){var i,s,a,o=Object.keys(e),l=o.length,c=void 0!==n?function(e,r,i,s){return t.call(n,e,r,i,s)}:t;for(void 0===r?(i=1,a=e[o[0]]):(i=0,a=r);i<l;i++)a=c(a,e[s=o[i]],s,e);return a};function eP(e){let t=function(e){let t=[],r=0,n=e.length;for(;r<n;){let i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let n=e.charCodeAt(r++);(64512&n)==56320?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function eT(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n.icon?t[n.iconName]=n.icon:t[r]=n,t},{})}function ek(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{skipHooks:n=!1}=r,s=eT(t);"function"!=typeof e_.hooks.addPack||n?e_.styles[e]=i(i({},e_.styles[e]||{}),s):e_.hooks.addPack(e,eT(t)),"fas"===e&&ek("fa",t)}let{styles:eM,shims:eO}=e_,eA=Object.keys(Y),eC=eA.reduce((e,t)=>(e[t]=Object.keys(Y[t]),e),{}),eI=null,eL={},eN={},eH={},eR={},eF={},ej=()=>{let e=e=>eS(eM,(t,r,n)=>(t[n]=eS(r,e,{}),t),{});eL=e((e,t,r)=>(t[3]&&(e[t[3]]=r),t[2]&&t[2].filter(e=>"number"==typeof e).forEach(t=>{e[t.toString(16)]=r}),e)),eN=e((e,t,r)=>(e[r]=r,t[2]&&t[2].filter(e=>"string"==typeof e).forEach(t=>{e[t]=r}),e)),eF=e((e,t,r)=>{let n=t[2];
1return e[r]=r,n.forEach(t=>{e[t]=r}),e});let t="far"in eM||es.autoFetchSvg,r=eS(eO,(e,r)=>{let n=r[0],i=r[1],s=r[2];return"far"!==i||t||(i="fas"),"string"==typeof n&&(e.names[n]={prefix:i,iconName:s}),"number"==typeof n&&(e.unicodes[n.toString(16)]={prefix:i,iconName:s}),e},{names:{},unicodes:{}});eH=r.names,eR=r.unicodes,eI=e$(es.styleDefault,{family:es.familyDefault})};function eD(e,t){return(eL[e]||{})[t]}function ez(e,t){return(eF[e]||{})[t]}function eB(e){return eH[e]||{prefix:null,iconName:null}}_=e=>{eI=e$(e.styleDefault,{family:es.familyDefault})},ea.push(_),ej();let eV=()=>({prefix:null,iconName:null,rest:[]});function e$(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{family:r=E}=t,n=U[r][e];if(r===w&&!e)return"fad";let i=q[r][e]||q[r][n],s=e in e_.styles?e:null;return i||s||null}function eU(e){return e.sort().filter((e,t,r)=>r.indexOf(e)===t)}function eG(e){let t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{skipLookups:s=!1}=n,a=null,o=O.concat(k),l=eU(e.filter(e=>o.includes(e))),c=eU(e.filter(e=>!O.includes(e))),[u=null]=l.filter(e=>(a=e,!b.includes(e))),h=function(e){let t=E,r=eA.reduce((e,t)=>(e[t]="".concat(es.cssPrefix,"-").concat(t),e),{});return x.forEach(n=>{(e.includes(r[n])||e.some(e=>eC[n].includes(e)))&&(t=n)}),t}(l),f=i(i({},(t=[],r=null,c.forEach(e=>{let n=function(e,t){let r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n!==e||""===i||~et.indexOf(i)?null:i}(es.cssPrefix,e);n?r=n:e&&t.push(e)}),{iconName:r,rest:t})),{},{prefix:e$(u,{family:h})});return i(i(i({},f),function(e){let{values:t,family:r,canonical:n,givenPrefix:i="",styles:s={},config:a={}}=e,o=r===w,l=t.includes("fa-duotone")||t.includes("fad"),c="duotone"===a.familyDefault,u="fad"===n.prefix||"fa-duotone"===n.prefix;if(!o&&(l||c||u)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&eq.includes(r)&&(Object.keys(s).find(e=>eW.includes(e))||a.autoFetchSvg)){let e=S.get(r).defaultShortPrefixId;n.prefix=e,n.iconName=ez(n.prefix,n.iconName)||n.iconName}return("fa"===n.prefix||"fa"===i)&&(n.prefix=eI||"fas"),n}({values:e,family:h,styles:eM,config:es,canonical:f,givenPrefix:a})),function(e,t,r){let{prefix:n,iconName:i}=r;if(e||!n||!i)return{prefix:n,iconName:i};let s="fa"===t?eB(i):{},a=ez(n,i);return i=s.iconName||a||i,"far"!==(n=s.prefix||n)||eM.far||!eM.fas||es.autoFetchSvg||(n="fas"),{prefix:n,iconName:i}}(s,a,f))}let eq=x.filter(e=>e!==E||e!==w),eW=Object.keys(M).filter(e=>e!==E).map(e=>Object.keys(M[e])).flat();class eY{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=t.reduce(this._pullDefinitions,{});Object.keys(n).forEach(e=>{this.definitions[e]=i(i({},this.definitions[e]||{}),n[e]),ek(e,n[e]);let t=Y[E][e];t&&ek(t,n[e]),ej()})}reset(){this.definitions={}}_pullDefinitions(e,t){let r=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(r).map(t=>{let{prefix:n,iconName:i,icon:s}=r[t],a=s[2];e[n]||(e[n]={}),a.length>0&&a.forEach(t=>{"string"==typeof t&&(e[n][t]=s)}),e[n][i]=s}),e}}let eX=[],eK={},eZ={},eJ=Object.keys(eZ);function eQ(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return(eK[e]||[]).forEach(e=>{t=e.apply(null,[t,...n])}),t}function e1(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(eK[e]||[]).forEach(e=>{e.apply(null,r)})}function e2(){let e=arguments[0],t=Array.prototype.slice.call(arguments,1);return eZ[e]?eZ[e].apply(null,t):void 0}function e0(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e,r=e.prefix||eI;if(t)return t=ez(r,t)||t,ex(e3.definitions,r,t)||ex(e_.styles,r,t)}let e3=new eY,e4={noAuto:()=>{es.autoReplaceSvg=!1,es.observeMutations=!1,e1("noAuto")},config:es,dom:{i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g?(e1("beforeI2svg",e),e2("pseudoElements2svg",e),e2("i2svg",e)):Promise.reject(Error("Operation requires a DOM of some kind."))},watch:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{autoReplaceSvgRoot:r}=t;
1!1===es.autoReplaceSvg&&(es.autoReplaceSvg=!0),es.observeMutations=!0,e=()=>{e6({autoReplaceSvgRoot:r}),e1("watch",t)},g&&(eE?setTimeout(e,0):ey.push(e))}},parse:{icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:ez(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){let t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],r=e$(e[0]);return{prefix:r,iconName:ez(r,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(es.cssPrefix,"-"))>-1||e.match(K))){let t=eG(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||eI,iconName:ez(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){let t=eI;return{prefix:t,iconName:ez(t,e)||e}}}},library:e3,findIconDefinition:e0,toHtml:ew},e6=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{autoReplaceSvgRoot:t=f}=e;(Object.keys(e_.styles).length>0||es.autoFetchSvg)&&g&&es.autoReplaceSvg&&e4.dom.i2svg({node:t})};function e5(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(e=>ew(e))}}),Object.defineProperty(e,"node",{get:function(){if(!g)return;let t=f.createElement("div");return t.innerHTML=e.html,t.children}}),e}function e8(e){let{icons:{main:t,mask:r},prefix:n,iconName:s,transform:a,symbol:o,title:l,maskId:c,titleId:u,extra:h,watchable:f=!1}=e,{width:d,height:p}=r.found?r:t,g=T.includes(n),v=[es.replacementClass,s?"".concat(es.cssPrefix,"-").concat(s):""].filter(e=>-1===h.classes.indexOf(e)).filter(e=>""!==e||!!e).concat(h.classes).join(" "),m={children:[],attributes:i(i({},h.attributes),{},{"data-prefix":n,"data-icon":s,class:v,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(p)})},_=g&&!~h.classes.indexOf("fa-fw")?{width:"".concat(d/p*1,"em")}:{};f&&(m.attributes[H]=""),l&&(m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(u||el())},children:[l]}),delete m.attributes.title);let y=i(i({},m),{},{prefix:n,iconName:s,main:t,mask:r,maskId:c,transform:a,symbol:o,styles:i(i({},_),h.styles)}),{children:b,attributes:E}
1=r.found&&t.found?e2("generateAbstractMask",y)||{children:[],attributes:{}}:e2("generateAbstractIcon",y)||{children:[],attributes:{}};return(y.children=b,y.attributes=E,o)?function(e){let{prefix:t,iconName:r,children:n,attributes:s,symbol:a}=e,o=!0===a?"".concat(t,"-").concat(es.cssPrefix,"-").concat(r):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i(i({},s),{},{id:o}),children:n}]}]}(y):function(e){let{children:t,main:r,mask:n,attributes:s,styles:a,transform:o}=e;if(ed(o)&&r.found&&!n.found){let{width:e,height:t}=r,n={x:e/t/2,y:.5};s.style=ef(i(i({},a),{},{"transform-origin":"".concat(n.x+o.x/16,"em ").concat(n.y+o.y/16,"em")}))}return[{tag:"svg",attributes:s,children:t}]}(y)}function e7(e){let{content:t,width:r,height:n,transform:s,title:a,extra:o,watchable:l=!1}=e,c=i(i(i({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});l&&(c[H]="");let u=i({},o.styles);ed(s)&&(u.transform=function(e){let{transform:t,width:r=16,height:n=16,startCentered:i=!1}=e,s="";return i&&v?s+="translate(".concat(t.x/16-r/2,"em, ").concat(t.y/16-n/2,"em) "):i?s+="translate(calc(-50% + ".concat(t.x/16,"em), calc(-50% + ").concat(t.y/16,"em)) "):s+="translate(".concat(t.x/16,"em, ").concat(t.y/16,"em) "),s+="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") ")+"rotate(".concat(t.rotate,"deg) ")}({transform:s,startCentered:!0,width:r,height:n}),u["-webkit-transform"]=u.transform);let h=ef(u);h.length>0&&(c.style=h);let f=[];return f.push({tag:"span",attributes:c,children:[t]}),a&&f.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),f}let{styles:e9}=e_;function te(e){let t=e[0],r=e[1],[n]=e.slice(4);return{found:!0,width:t,height:r,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(es.cssPrefix,"-").concat(ee.GROUP)},children:[{tag:"path",attributes:{class:"".concat(es.cssPrefix,"-").concat(ee.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(es.cssPrefix,"-").concat(ee.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}let tt={found:!1,width:512,height:512};function tr(e,t){let r=t;return"fa"===t&&null!==es.styleDefault&&(t=eI),new Promise((n,s)=>{var a,o;if("fa"===r){let r=eB(e)||{};e=r.iconName||e,t=r.prefix||t}if(e&&t&&e9[t]&&e9[t][e])return n(te(e9[t][e]));a=e,o=t,B||es.showMissingIcons||!a||console.error('Icon with name "'.concat(a,'" and prefix "').concat(o,'" is missing.')),n(i(i({},tt),{},{icon:es.showMissingIcons&&e&&e2("missingIconAbstract")||{}}))})}let tn=()=>{},ti=es.measurePerformance&&p&&p.mark&&p.measure?p:{mark:tn,measure:tn},ts='FA "6.7.2"',ta=e=>{ti.mark("".concat(ts," ").concat(e," ends")),ti.measure("".concat(ts," ").concat(e),"".concat(ts," ").concat(e," begins"),"".concat(ts," ").concat(e," ends"))};var to={begin:e=>(ti.mark("".concat(ts," ").concat(e," begins")),()=>ta(e))};let tl=()=>{};function tc(e){return"string"==typeof(e.getAttribute?e.getAttribute(H):null)}function tu(e){return f.createElementNS("http://www.w3.org/2000/svg",e)}function th(e){return f.createElement(e)}let tf={replace:function(e){let t=e[0];if(t.parentNode){if(e[1].forEach(e=>{t.parentNode.insertBefore(function e(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{ceFn:n="svg"===t.tag?tu:th}=r;if("string"==typeof t)return f.createTextNode(t);let i=n(t.tag);return Object.keys(t.attributes||[]).forEach(function(e){i.setAttribute(e,t.attributes[e])}),(t.children||[]).forEach(function(t){i.appendChild(e(t,{ceFn:n}))}),i}(e),t)}),null===t.getAttribute(H)&&es.keepOriginalSource){let e;let r=f.createComment((e=" ".concat(t.outerHTML," "),e="".concat(e,"Font Awesome fontawesome.com ")));t.parentNode.replaceChild(r,t)}else t.remove()}},nest:function(e){let t=e[0],r=e[1];if(~eu(t).indexOf(es.replacementClass))return tf.replace(e);let n=new RegExp("".concat(es.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){let e=r[0].attributes.class.split(" ").reduce((e,t)=>(t===es.replacementClass||t.match(n)?e.toSvg.push(t):e.toNode.push(t),e),{toNode:[],toSvg:[]});r[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}let i=r.map(e=>ew(e)).join("\n");t.setAttribute(H,""),t.innerHTML=i}};function td(e){e()}function tp(e,t){let r="function"==typeof t?t:tl;if(0===e.length)r();else{let t=td;
1"async"===es.mutateApproach&&(t=h.requestAnimationFrame||td),t(()=>{let t=!0===es.autoReplaceSvg?tf.replace:tf[es.autoReplaceSvg]||tf.replace,n=to.begin("mutate");e.map(t),n(),r()})}}let tg=!1,tv=null;function tm(e){if(!d||!es.observeMutations)return;let{treeCallback:t=tl,nodeCallback:r=tl,pseudoElementsCallback:n=tl,observeMutationsRoot:i=f}=e;tv=new d(e=>{if(tg)return;let i=eI;ec(e).forEach(e=>{if("childList"===e.type&&e.addedNodes.length>0&&!tc(e.addedNodes[0])&&(es.searchPseudoElements&&n(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&es.searchPseudoElements&&n(e.target.parentNode),"attributes"===e.type&&tc(e.target)&&~Q.indexOf(e.attributeName)){if("class"===e.attributeName&&function(e){let t=e.getAttribute?e.getAttribute(F):null,r=e.getAttribute?e.getAttribute(j):null;return t&&r}(e.target)){let{prefix:t,iconName:r}=eG(eu(e.target));e.target.setAttribute(F,t||i),r&&e.target.setAttribute(j,r)}else{var s;(s=e.target)&&s.classList&&s.classList.contains&&s.classList.contains(es.replacementClass)&&r(e.target)}}})}),g&&tv.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function t_(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},{iconName:r,prefix:n,rest:s}=function(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=void 0!==e.innerText?e.innerText.trim():"",i=eG(eu(e));if(i.prefix||(i.prefix=eI),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix)return i;if(i.prefix&&n.length>0){var s,a;i.iconName=(s=i.prefix,a=e.innerText,(eN[s]||{})[a]||eD(i.prefix,eP(e.innerText)))}return!i.iconName&&es.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data),i}(e),a=function(e){let t=ec(e.attributes).reduce((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return es.autoA11y&&(r?t["aria-labelledby"]="".concat(es.replacementClass,"-title-").concat(n||el()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),o=eQ("parseNodeAttributes",{},e),l=t.styleParser?function(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((e,t)=>{let r=t.split(":"),n=r[0],i=r.slice(1);return n&&i.length>0&&(e[n]=i.join(":").trim()),e},{})),r}(e):[];return i({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:eo,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:l,attributes:a}},o)}let{styles:ty}=e_;function tb(e){let t="nest"===es.autoReplaceSvg?t_(e,{styleParser:!1}):t_(e);return~t.extra.classes.indexOf(Z)?e2("generateLayersText",e,t):e2("generateSvgReplacementMutation",e,t)}function tE(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!g)return Promise.resolve();let r=f.documentElement.classList,n=e=>r.add("".concat(D,"-").concat(e)),i=e=>r.remove("".concat(D,"-").concat(e)),s=es.autoFetchSvg?[...P,...O]:b.concat(Object.keys(ty));s.includes("fa")||s.push("fa");let a=[".".concat(Z,":not([").concat(H,"])")].concat(s.map(e=>".".concat(e,":not([").concat(H,"])"))).join(", ");if(0===a.length)return Promise.resolve();let o=[];try{o=ec(e.querySelectorAll(a))}catch(e){}if(!(o.length>0))return Promise.resolve();n("pending"),i("complete");let l=to.begin("onTree"),c=o.reduce((e,t)=>{try{let r=tb(t);r&&e.push(r)}catch(e){B||"MissingIcon"!==e.name||console.error(e)}return e},[]);return new Promise((e,r)=>{Promise.all(c).then(r=>{tp(r,()=>{n("active"),n("complete"),i("pending"),"function"==typeof t&&t(),l(),e()})}).catch(e=>{l(),r(e)})})}function tw(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;tb(e).then(e=>{e&&tp([e],t)})}let tx=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{transform:r=eo,symbol:n=!1,mask:s=null,maskId:a=null,title:o=null,titleId:l=null,classes:c=[],attributes:u={},styles:h={}}=t;if(!e)return;let{prefix:f,iconName:d,icon:p}=e;return e5(i({type:"icon"},e),()=>(e1("beforeDOMElementCreation",{iconDefinition:e,params:t}),es.autoA11y&&(o?u["aria-labelledby"]="".concat(es.replacementClass,"-title-").concat(l||el()):(u["aria-hidden"]="true",u.focusable="false")),e8({icons:{main:te(p),mask:s?te(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:d,transform:i(i({},eo),r),symbol:n,title:o,maskId:a,titleId:l,extra:{attributes:u,styles:h,classes:c}})))},tS=RegExp('"',"ug"),tP=i(i(i(i({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"}
1,"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),tT=Object.keys(tP).reduce((e,t)=>(e[t.toLowerCase()]=tP[t],e),{}),tk=Object.keys(tT).reduce((e,t)=>{let r=tT[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function tM(e,t){let r="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((n,s)=>{if(null!==e.getAttribute(r))return n();let a=ec(e.children).filter(e=>e.getAttribute(R)===t)[0],o=h.getComputedStyle(e,t),l=o.getPropertyValue("font-family"),c=l.match(J),u=o.getPropertyValue("font-weight"),d=o.getPropertyValue("content");if(a&&!c)return e.removeChild(a),n();if(c&&"none"!==d&&""!==d){let h=o.getPropertyValue("content"),d=function(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),i=isNaN(n)?"normal":n;return(tT[r]||{})[i]||tk[r]}(l,u),{value:p,isSecondary:g}=function(e){let t=e.replace(tS,""),r=function(e,t){let r;let n=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&n>1&&(r=e.charCodeAt(1))>=56320&&r<=57343?(i-55296)*1024+r-56320+65536:i}(t,0),n=2===t.length&&t[0]===t[1];return{value:n?eP(t[0]):eP(t),isSecondary:r>=1105920&&r<=1112319||n}}(h),v=c[0].startsWith("FontAwesome"),m=eD(d,p),_=m;if(v){let e=function(e){let t=eR[e],r=eD("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}(p);e.iconName&&e.prefix&&(m=e.iconName,d=e.prefix)}if(!m||g||a&&a.getAttribute(F)===d&&a.getAttribute(j)===_)n();else{e.setAttribute(r,_),a&&e.removeChild(a);let o={iconName:null,title:null,titleId:null,prefix:null,transform:eo,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:l}=o;l.attributes[R]=t,tr(m,d).then(s=>{let a=e8(i(i({},o),{},{icons:{main:s,mask:eV()},prefix:d,iconName:_,extra:l,watchable:!0})),c=f.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(c,e.firstChild):e.appendChild(c),c.outerHTML=a.map(e=>ew(e)).join("\n"),e.removeAttribute(r),n()}).catch(s)}}else n()})}function tO(e){return Promise.all([tM(e,"::before"),tM(e,"::after")])}function tA(e){return e.parentNode!==document.head&&!~z.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(R)&&(!e.parentNode||"svg"!==e.parentNode.tagName)}function tC(e){if(g)return new Promise((t,r)=>{let n=ec(e.querySelectorAll("*")).filter(tA).map(tO),i=to.begin("searchPseudoElements");tg=!0,Promise.all(n).then(()=>{i(),tg=!1,t()}).catch(()=>{i(),tg=!1,r()})})}let tI=!1,tL=e=>e.toLowerCase().split(" ").reduce((e,t)=>{let r=t.toLowerCase().split("-"),n=r[0],i=r.slice(1).join("-");if(n&&"h"===i)return e.flipX=!0,e;if(n&&"v"===i)return e.flipY=!0,e;if(isNaN(i=parseFloat(i)))return e;switch(n){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0}),tN={x:0,y:0,width:"100%",height:"100%"};function tH(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}!function(e,t){let{mixoutsTo:r}=t;eX=e,eK={},Object.keys(eZ).forEach(e=>{-1===eJ.indexOf(e)&&delete eZ[e]}),eX.forEach(e=>{let t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(e=>{"function"==typeof t[e]&&(r[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach(n=>{r[e]||(r[e]={}),r[e][n]=t[e][n]})}),e.hooks){let t=e.hooks();
1Object.keys(t).forEach(e=>{eK[e]||(eK[e]=[]),eK[e].push(t[e])})}e.provides&&e.provides(eZ)})}([{mixout:()=>({dom:{css:ep,insertCss:ev}}),hooks:()=>({beforeDOMElementCreation(){ev()},beforeI2svg(){ev()}})},{mixout:()=>({icon:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(e||{}).icon?e:e0(e||{}),{mask:n}=t;return n&&(n=(n||{}).icon?n:e0(n||{})),tx(r,i(i({},t),{},{mask:n}))}}),hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=tE,e.nodeCallback=tw,e)}),provides(e){e.i2svg=function(e){let{node:t=f,callback:r=()=>{}}=e;return tE(t,r)},e.generateSvgReplacementMutation=function(e,t){let{iconName:r,title:n,titleId:i,prefix:s,transform:a,symbol:o,mask:l,maskId:c,extra:u}=t;return new Promise((t,h)=>{Promise.all([tr(r,s),l.iconName?tr(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(l=>{let[h,f]=l;t([e,e8({icons:{main:h,mask:f},prefix:s,iconName:r,transform:a,symbol:o,maskId:c,title:n,titleId:i,extra:u,watchable:!0})])}).catch(h)})},e.generateAbstractIcon=function(e){let t,{children:r,attributes:n,main:i,transform:s,styles:a}=e,o=ef(a);return o.length>0&&(n.style=o),ed(s)&&(t=e2("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),r.push(t||i.icon),{children:r,attributes:n}}}},{mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{classes:r=[]}=t;return e5({type:"layer"},()=>{e1("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(e=>{Array.isArray(e)?e.map(e=>{n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(es.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}})},{mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{title:r=null,classes:n=[],attributes:s={},styles:a={}}=t;return e5({type:"counter",content:e},()=>(e1("beforeDOMElementCreation",{content:e,params:t}),function(e){let{content:t,title:r,extra:n}=e,s=i(i(i({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),a=ef(n.styles);a.length>0&&(s.style=a);let o=[];return o.push({tag:"span",attributes:s,children:[t]}),r&&o.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),o}({content:e.toString(),title:r,extra:{attributes:s,styles:a,classes:["".concat(es.cssPrefix,"-layers-counter"),...n]}})))}})},{mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{transform:r=eo,title:n=null,classes:s=[],attributes:a={},styles:o={}}=t;return e5({type:"text",content:e},()=>(e1("beforeDOMElementCreation",{content:e,params:t}),e7({content:e,transform:i(i({},eo),r),title:n,extra:{attributes:a,styles:o,classes:["".concat(es.cssPrefix,"-layers-text"),...s]}})))}}),provides(e){e.generateLayersText=function(e,t){let{title:r,transform:n,extra:i}=t,s=null,a=null;if(v){let t=parseInt(getComputedStyle(e).fontSize,10),r=e.getBoundingClientRect();s=r.width/t,a=r.height/t}return es.autoA11y&&!r&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,e7({content:e.innerHTML,width:s,height:a,transform:n,title:r,extra:i,watchable:!0})])}}},{hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=tC,e)}),provides(e){e.pseudoElements2svg=function(e){let{node:t=f}=e;es.searchPseudoElements&&tC(t)}}},{mixout:()=>({dom:{unwatch(){tg=!0,tI=!0}}}),hooks:()=>({bootstrap(){tm(eQ("mutationObserverCallbacks",{}))},noAuto(){tv&&tv.disconnect()},watch(e){let{observeMutationsRoot:t}=e;tI?tg=!1:tm(eQ("mutationObserverCallbacks",{observeMutationsRoot:t}))}})},{mixout:()=>({parse:{transform:e=>tL(e)}}),hooks:()=>({parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-transform");return r&&(e.transform=tL(r)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:r,containerWidth:n,iconWidth:s}=e,a="translate(".concat(32*r.x,", ").concat(32*r.y,") "),o="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),l="rotate(".concat(r.rotate," 0 0)"),c={transform:"".concat(a," ").concat(o," ").concat(l)},u={outer:{transform:"translate(".concat(n/2," 256)")},inner:c,path:{transform:"translate(".concat(-(s/2*1)," -256)")}};return{tag:"g",attributes:i({},u.outer),children:[{tag:"g",attributes:i({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:i(i({},t.icon.attributes),u.path)}]}]}}}},{hooks:()=>({parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-mask"),n=r?eG(r.split(" ").map(e=>e.trim())):eV();return n.prefix||(n.prefix=eI),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:r,main:n,mask:s,maskId:a,transform:o}=e,{width:l,icon:c}=n,{width:u,icon:h}=s,f=function(e){let{transform:t,containerWidth:r,iconWidth:n}=e,i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),o={transform:"".concat(i," ").concat(s," ").concat(a)};return{outer:{transform:"translate(".concat(r/2," 256)")},inner:o,path:{transform:"translate(".concat(-(n/2*1)," -256)")}}}({transform:o,containerWidth:u,iconWidth:l}),d={tag:"rect",attributes:i(i({},tN),{},{fill:"white"})},p=c.children?{children:c.children.map(tH)}:{},g={tag:"g",attributes:i({},f.inner),children:[tH(i({tag:c.tag,attributes:i(i({},c.attributes),f.path)},p))]},v={tag:"g",attributes:i({},f.outer),children:[g]},m="mask-".concat(a||el()),_="clip-".concat(a||el()),y={tag:"mask",attributes:i(i({},tN),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,v]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:_},children:"g"===h.tag?h.children:[h]},y]};
1return t.push(b,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(_,")"),mask:"url(#".concat(m,")")},tN)}),{children:t,attributes:r}}}},{provides(e){let t=!1;h.matchMedia&&(t=h.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){let e=[],r={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:i(i({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});let s=i(i({},n),{},{attributeName:"opacity"}),a={tag:"circle",attributes:i(i({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:i(i({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:i(i({},s),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:i(i({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:i(i({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:i(i({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:i(i({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:()=>({parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-symbol");return e.symbol=null!==r&&(""===r||r),e}})}],{mixoutsTo:e4}),e4.noAuto,e4.config,e4.library,e4.dom;let tR=e4.parse;e4.findIconDefinition,e4.toHtml;let tF=e4.icon;e4.layer,e4.text,e4.counter;var tj=r(45697),tD=r.n(tj),tz=r(67294),tB=r(83454);function tV(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function t$(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tG(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?tU(Object(r),!0).forEach(function(t){t$(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tU(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function tq(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s,a,o=[],l=!0,c=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=s.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return o}}(e,t)||tX(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tW(e){return function(e){if(Array.isArray(e))return tV(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||tX(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tY(e){return(tY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tX(e,t){if(e){if("string"==typeof e)return tV(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tV(e,t):void 0}}try{m=r(74533).version}catch(e){m=void 0!==tB&&tB.env.FA_VERSION||"7.0.0"}function tK(e){var t;return(t=e-0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)}var tZ=["style"],tJ=!1;try{tJ=!0}catch(e){}function tQ(e){return e&&"object"===tY(e)&&e.prefix&&e.iconName&&e.icon?e:tR.icon?tR.icon(e):null===e?null:e&&"object"===tY(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function t1(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?t$({},e,t):{}}var t2={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,rotateBy:!1,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1,widthAuto:!1},t0=tz.forwardRef(function(e,t){var r,n,i,s,a,o,l,c,u,h,f,d,p,g,v,_,y,b,E,w,x,S,P,T=tG(tG({},t2),e),k=T.icon,M=T.mask,O=T.symbol,A=T.className,C=T.title,I=T.titleId,L=T.maskId,N=tQ(k),H=t1("classes",[].concat(tW((r=T.beat,n=T.fade,i=T.beatFade,s=T.bounce,a=T.shake,o=T.flash,l=T.spin,c=T.spinPulse,u=T.spinReverse,h=T.pulse,f=T.fixedWidth,d=T.inverse,p=T.border,g=T.listItem,v=T.flip,_=T.size,y=T.rotation,b=T.pull,E=T.swapOpacity,w=T.rotateBy,x=T.widthAuto,S=function(e,t){for(var r=tq(e.split("-"),2),n=r[0],i=r[1],s=tq(t.split("-"),2),a=s[0],o=s[1],l=n.split("."),c=a.split("."),u=0;u<Math.max(l.length,c.length);u++){var h=l[u]||"0",f=c[u]||"0",d=parseInt(h,10),p=parseInt(f,10);if(d!==p)return d>p}for(var g=0;g<Math.max(l.length,c.length);g++){var v=l[g]||"0",m=c[g]||"0";if(v!==m&&v.length!==m.length)return v.length<m.length}return!i||!!o}(m,"7.0.0"),Object.keys(P=t$(t$(t$(t$(t$(t$({"fa-beat":r,"fa-fade":n,"fa-beat-fade":i,"fa-bounce":s,"fa-shake":a,"fa-flash":o,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":h,"fa-fw":f,"fa-inverse":d,"fa-border":p,"fa-li":g,"fa-flip":!0===v,"fa-flip-horizontal":"horizontal"===v||"both"===v,"fa-flip-vertical":"vertical"===v||"both"===v},"fa-".concat(_),null!=_),"fa-rotate-".concat(y),null!=y&&0!==y),"fa-pull-".concat(b),null!=b),"fa-swap-opacity",E),"fa-rotate-by",S&&w),"fa-width-auto",S&&x)).map(function(e){return P[e]?e:null}).filter(function(e){return e}))),tW((A||"").split(" ")))),R=t1("transform","string"==typeof T.transform?tR.transform(T.transform):T.transform),F=t1("mask",tQ(M)),j=tF(N,tG(tG(tG(tG({},H),R),F),{},{symbol:O,title:C,titleId:I,maskId:L}));if(!j)return!function(){if(!tJ&&console&&"function"==typeof console.error){var e;(e=console).error.apply(e,arguments)}}("Could not find icon",N),null;var D=j.abstract,z={ref:t};return Object.keys(T).forEach(function(e){t2.hasOwnProperty(e)||(z[e]=T[e])}),t3(D[0],z)});t0.displayName="FontAwesomeIcon",t0.propTypes={beat:tD().bool,border:tD().bool,beatFade:tD().bool,bounce:tD().bool,className:tD().string,fade:tD().bool,flash:tD().bool,mask:tD().oneOfType([tD().object,tD().array,tD().string]),maskId:tD().string,fixedWidth:tD().bool,inverse:tD().bool,flip:tD().oneOf([!0,!1,"horizontal","vertical","both"]),icon:tD().oneOfType([tD().object,tD().array,tD().string]),listItem:tD().bool,pull:tD().oneOf(["right","left"]),pulse:tD().bool,rotation:tD().oneOf([0,90,180,270]),rotateBy:tD().bool,shake:tD().bool,size:tD().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:tD().bool,spinPulse:tD().bool,spinReverse:tD().bool,symbol
1:tD().oneOfType([tD().bool,tD().string]),title:tD().string,titleId:tD().string,transform:tD().oneOfType([tD().string,tD().object]),swapOpacity:tD().bool,widthAuto:tD().bool};var t3=(function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof r)return r;var i=(r.children||[]).map(function(r){return e(t,r)}),s=Object.keys(r.attributes||{}).reduce(function(e,t){var n=r.attributes[t];switch(t){case"class":e.attrs.className=n,delete r.attributes.class;break;case"style":e.attrs.style=n.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var r=t.indexOf(":"),n=tK(t.slice(0,r)),i=t.slice(r+1).trim();return n.startsWith("webkit")?e[n.charAt(0).toUpperCase()+n.slice(1)]=i:e[n]=i,e},{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=n:e.attrs[tK(t)]=n}return e},{attrs:{}}),a=n.style,o=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(n,tZ);return s.attrs.style=tG(tG({},s.attrs.style),void 0===a?{}:a),t.apply(void 0,[r.tag,tG(tG({},s.attrs),o)].concat(tW(i)))}).bind(null,tz.createElement)},19477:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(85893),i=r(67294);t.default=function({html:e,height:t=null,width:r=null,children:s,dataNtpc:a=""}){return(0,i.useEffect)(()=>{a&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${a}`}})},[a]),(0,n.jsxs)(n.Fragment,{children:[s,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":a,dangerouslySetInnerHTML:{__html:e}}):null]})}},7834:function(e,t,r){"use strict";let n;var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=void 0;let s=r(85893),a=r(67294),o=i(r(4298));t.GoogleAnalytics=function(e){let{gaId:t,dataLayerName:r="dataLayer"}=e;return void 0===n&&(n=r),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
2          window['${r}'] = window['${r}'] || [];
3          function gtag(){window['${r}'].push(arguments);}
4          gtag('js', new Date());
5
6          gtag('config', '${t}');`}}),(0,s.jsx)(o.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`})]})},t.sendGAEvent=function(...e){if(void 0===n){console.warn("@next/third-parties: GA has not been initialized");return}window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)}},83632:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=r(85893),s=r(86257),a=n(r(19477));t.default=function(e){let{apiKey:t,...r}=e,n={...r,key:t},{html:o}=(0,s.GoogleMapsEmbed)(n);return(0,i.jsx)(a.default,{height:n.height||null,width:n.width||null,html:o,dataNtpc:"GoogleMapsEmbed"})}},30674:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=t.GoogleTagManager=void 0;let i=r(85893),s=r(67294),a=n(r(4298)),o="dataLayer";t.GoogleTagManager=function(e){let{gtmId:t,dataLayerName:r="dataLayer",auth:n,preview:l,dataLayer:c}=e;o=r;let u="dataLayer"!==r?`&l=${r}`:"",h=n?`&gtm_auth=${n}`:"",f=l?`&gtm_preview=${l}&gtm_cookies_win=x`:"";return(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
7      (function(w,l){
8        w[l]=w[l]||[];
9        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
10        ${c?`w[l].push(${JSON.stringify(c)})`:""}
11      })(window,'${r}');`}}),(0,i.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:`https://www.googletagmanager.com/gtm.js?id=${t}${u}${h}${f}`})]})},t.sendGTMEvent=(e,t)=>
11{let r=t||o;window[r]=window[r]||[],window[r].push(e)}},19692:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=r(83632);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(i).default}});var s=r(11494);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return n(s).default}});var a=r(30674);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return a.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return a.sendGTMEvent}});var o=r(7834);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return o.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return o.sendGAEvent}})},11494:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=r(85893),s=n(r(4298)),a=r(86257),o=n(r(19477)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"};t.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,a.YouTubeEmbed)(e);return(0,i.jsx)(o.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,i.jsx)(s.default,{src:e.url,strategy:l[e.strategy],stylesheets:n},e.url))})}},35487:function(e){e.exports=function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(1);e.exports=function(t,r){var s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a="object"===("undefined"==typeof document?"undefined":n(document))&&"string"==typeof document.cookie,o="object"===(void 0===t?"undefined":n(t))&&"object"===(void 0===r?"undefined":n(r))&&void 0!==e,l=!a&&!o||a&&o,c=function(e){if(o){var n=t.headers.cookie||"";return e&&(n=(n=r.getHeaders())["set-cookie"]?n["set-cookie"].map(function(e){return e.split(";")[0]}).join(";"):""),n}if(a)return document.cookie||""},u=function(){var e=r.getHeader("Set-Cookie");return(e="string"==typeof e?[e]:e)||[]},h=function(e,t){if(!t)return e;try{return JSON.parse(e)}catch(t){return e}},f={parseJSON:s,set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"};if(!l){if(t="object"===(void 0===t?"undefined":n(t))?JSON.stringify(t):t,o){var a=u();a.push(i.serialize(e,t,s)),r.setHeader("Set-Cookie",a)}else document.cookie=i.serialize(e,t,s)}},setAll:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];l||Array.isArray(e)&&e.forEach(function(e){var t=e.name,r=e.value,n=e.opts;f.set(void 0===t?"":t,void 0===r?"":r,void 0===n?{path:"/"}:n)})},get:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fromRes:!1,parseJSON:f.parseJSON};return l?"":h(i.parse(c(t.fromRes))[e],t.parseJSON)},getAll:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fromRes:!1,parseJSON:f.parseJSON};if(l)return{};var t=i.parse(c(e.fromRes));for(var r in t)t[r]=h(t[r],e.parseJSON);return t},remove:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"};l||(t.expires=new Date(0),f.set(e,"",t))},removeAll:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:"/"};if(!l){var t=i.parse(c());for(var r in t)f.remove(r,e)}},nodeCookie:i};return f}},function(e,t,r){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},i=e.split(s),a=(t||{}).decode||n,o=0;o<i.length;o++){var l=i[o],c=l.indexOf("=");if(!(c<0)){var u=l.substr(0,c).trim(),h=l.substr(++c,l.length).trim();'"'==h[0]&&(h=h.slice(1,-1)),void 0==r[u]&&(r[u]=function(e,t){try{return t(e)}catch(t){return e}}(h,a))}}return r},t.serialize=function(e,t,r){var n=r||{},s=n.encode||i;if("function"!=typeof s)throw TypeError("option encode is invali
11d");if(!a.test(e))throw TypeError("argument name is invalid");var o=s(t);if(o&&!a.test(o))throw TypeError("argument val is invalid");var l=e+"="+o;if(null!=n.maxAge){var c=n.maxAge-0;if(isNaN(c))throw Error("maxAge should be a Number");l+="; Max-Age="+Math.floor(c)}if(n.domain){if(!a.test(n.domain))throw TypeError("option domain is invalid");l+="; Domain="+n.domain}if(n.path){if(!a.test(n.path))throw TypeError("option path is invalid");l+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(l+="; HttpOnly"),n.secure&&(l+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var n=decodeURIComponent,i=encodeURIComponent,s=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/}])},71933:function(e,t,r){"use strict";r.r(t),r.d(t,{ErrorCode:function(){return d},FormatError:function(){return eu},IntlMessageFormat:function(){return em},InvalidValueError:function(){return eh},InvalidValueTypeError:function(){return ef},MissingValueError:function(){return ed},PART_TYPE:function(){return p},default:function(){return e_},formatToParts:function(){return eg},isFormatXMLElementFn:function(){return ep}});var n,i,s,a,o,l,c,u,h,f,d,p,g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function v(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m=function(){return(m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function _(e,t,r){if(r||2==arguments.length)for(var n,i=0,s=t.length;i<s;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var y=r(95957);function b(e){return e.type===c.literal}function E(e){return e.type===c.number}function w(e){return e.type===c.date}function x(e){return e.type===c.time}function S(e){return e.type===c.select}function P(e){return e.type===c.plural}function T(e){return e.type===c.tag}function k(e){return!!(e&&"object"==typeof e&&e.type===u.number)}function M(e){return!!(e&&"object"==typeof e&&e.type===u.dateTime)}(n=l||(l={}))[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=c||(c={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(s=u||(u={}))[s.number=0]="number",s[s.dateTime=1]="dateTime";var O=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,A=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,C=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,I=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,L=/^(@+)?(\+|#+)?[rs]?$/g,N=/(\*)(0+)|(#+)(0+)|(0+)/g,H=/^(0+)$/;function R(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(L,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function F(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function j(e){return F(e)||{}}var D={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
11:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},z=new RegExp("^".concat(O.source,"*")),B=new RegExp("".concat(O.source,"*$"));function V(e,t){return{start:e,end:t}}var $=!!String.prototype.startsWith&&"_a".startsWith("a",1),U=!!String.fromCodePoint,G=!!Object.fromEntries,q=!!String.prototype.codePointAt,W=!!String.prototype.trimStart,Y=!!String.prototype.trimEnd,X=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},K=!0;try{var Z=ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");K=(null===(h=Z.exec("a"))||void 0===h?void 0:h[0])==="a"}catch(e){K=!1}var J=$?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Q=U?String.fromCodePoint:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0;i>s;){if((e=t[s++])>1114111)throw RangeError(e+" is not a valid code point");n+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return n},ee=G?Object.fromEntries:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r],i=n[0],s=n[1];t[i]=s}return t},et=q?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0)&&!(t>=n)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},er=W?function(e){return e.trimStart()}:function(e){return e.replace(z,"")},en=Y?function(e){return e.trimEnd()}:function(e){return e.replace(B,"")};function ei(e,t){return new RegExp(e,t)}if(K){var es=ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");f=function(e,t){var r;return es.lastIndex=t,null!==(r=es.exec(e)[1])&&void 0!==r?r:""}}else f=function(e,t){for(var r=[];;){var n,i=et(e,t);if(void 0===i||el(i)||(n=i)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>
11=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(i),t+=i>=65536?2:1}return Q.apply(void 0,r)};var ea=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){var s=this.parseArgument(e,r);if(s.err)return s;n.push(s.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var a=this.clonePosition();this.bump(),n.push({type:c.pound,location:V(a,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&eo(this.peek()||0)){var s=this.parseTag(e,t);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(e,t);if(s.err)return s;n.push(s.val)}}else{if(!r)return this.error(l.UNMATCHED_CLOSING_TAG,V(this.clonePosition(),this.clonePosition()));break}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:c.literal,value:"<".concat(n,"/>"),location:V(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(l.INVALID_TAG,V(r,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var s=i.val,a=this.clonePosition();if(!this.bumpIf("</"))return this.error(l.UNCLOSED_TAG,V(r,this.clonePosition()));if(this.isEOF()||!eo(this.char()))return this.error(l.INVALID_TAG,V(a,this.clonePosition()));var o=this.clonePosition();return n!==this.parseTagName()?this.error(l.UNMATCHED_CLOSING_TAG,V(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:c.tag,value:n,children:s,location:V(r,this.clonePosition())},err:null}:this.error(l.INVALID_TAG,V(a,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i){n+=i;continue}var s=this.tryParseUnquoted(e,t);if(s){n+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var o=V(r,this.clonePosition());return{val:{type:c.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(eo(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
11case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(r);this.bump()}return Q.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Q(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,V(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(l.EMPTY_ARGUMENT,V(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(l.MALFORMED_ARGUMENT,V(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,V(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:c.argument,value:n,location:V(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,V(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(l.MALFORMED_ARGUMENT,V(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=f(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:V(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case"":return this.error(l.EXPECT_ARGUMENT_TYPE,V(s,o));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var p=en(d.val);if(0===p.length)return this.error(l.EXPECT_ARGUMENT_STYLE,V(this.clonePosition(),this.clonePosition()));h={style:p,styleLocation:V(f,this.clonePosition())}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var v=V(n,this.clonePosition());if(h&&J(null==h?void 0:h.style,"::",0)){var _,y=er(h.style.slice(2));if("number"===a){var d=this.parseNumberSkeletonFromString(y,h.styleLocation);if(d.err)return d;return{val:{type:c.number,value:r,location:v,style:d.val},err:null}}if(0===y.length)return this.error(l.EXPECT_DATE_TIME_SKELETON,v);var b=y;this.locale&&(b=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(1&s),o=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(D[t||""]||D[n||""]||D["".concat(n,"-001")]||D["001"])[0]}(t);for(("H"==l||"k"==l)&&(o=0);o-- >0;)r+="a";for(;a-- >0;)r=l+r}else"J"===i?r+="H":r+=i}return r}(y,this.locale));var p={type:u.dateTime,pattern:b,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(_={},b.replace(A,function(e){var t=e.length;switch(e[0]){case"G":_.era=4===t?"long":5===t?"narrow":"short";break;case"y":_.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":_.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":_.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":_.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");_.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");_.weekday=["short","long","narrow","short"][t-4];break;case"a":_.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":_.hourCycle="h12",_.hour=["numeric","2-digit"][t-1];break;case"H":_.hourCycle="h23",_.hour=["numeric","2-digit"][t-1];break;case"K":_.hourCycle="h11",_.hour=["numeric","2-digit"][t-1];break;case"k":_.hourCycle="h24",_.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":_.minute=["numeric","2-digit"][t-1];break;case"s":_.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":_.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),_):{}};return{val:{type:"date"===a?c.date:c.time,value:r,location:v,style:p},err:null}}return{val:{type:"number"===a?c.number:"date"===a?c.date:c.time,value:r,location:v,style:null!==(i=null==h?void 0:h.style)&&void 0!==i?i:null},err:null};
11case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(l.EXPECT_SELECT_ARGUMENT_OPTIONS,V(E,m({},E)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),x=0;if("select"!==a&&"offset"===w.value){if(!this.bumpIf(":"))return this.error(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,V(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,l.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),w=this.parseIdentifierIfPossible(),x=d.val}var S=this.tryParsePluralOrSelectOptions(e,a,t,w);if(S.err)return S;var g=this.tryParseArgumentClose(n);if(g.err)return g;var P=V(n,this.clonePosition());if("select"===a)return{val:{type:c.select,value:r,options:ee(S.val),location:P},err:null};return{val:{type:c.plural,value:r,options:ee(S.val),offset:x,pluralType:"plural"===a?"cardinal":"ordinal",location:P},err:null};default:return this.error(l.INVALID_ARGUMENT_TYPE,V(s,o))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,V(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(l.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,V(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(C).filter(function(e){return e.length>0}),r=[],n=0;n<t.length;n++){var i=t[n].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var s=i[0],a=i.slice(1),o=0;o<a.length;o++)if(0===a[o].length)throw Error("Invalid number skeleton");r.push({stem:s,options:a})}return r}(e)}catch(e){return this.error(l.INVALID_NUMBER_SKELETON,t)}return{val:{type:u.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=m(m(m({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return m(m({},e),F(t)||{})},{}));continue;case"engineering":t=m(m(m({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return m(m({},e),F(t)||{})},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(N,function(e,r,n,i,s,a){if(r)t.minimumIntegerDigits=n.length;else if(i&&s)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(H.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(I.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(I,function(e,r,n,i,s,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:s&&a?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var i=n.options[0];"w"===i?t=m(m({}
11,t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=m(m({},t),R(i)));continue}if(L.test(n.stem)){t=m(m({},t),R(n.stem));continue}var s=F(n.stem);s&&(t=m(m({},t),s));var a=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!H.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);a&&(t=m(m({},t),a))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,s=!1,a=[],o=new Set,c=n.value,u=n.location;;){if(0===c.length){var h=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_SELECTOR,l.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=V(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}else break}if(o.has(c))return this.error("select"===t?l.DUPLICATE_SELECT_ARGUMENT_SELECTOR:l.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===c&&(s=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:l.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,V(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,r);if(p.err)return p;var g=this.tryParseArgumentClose(d);if(g.err)return g;a.push([c,{value:p.val,location:V(d,this.clonePosition())}]),o.add(c),this.bumpSpace(),c=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===a.length?this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR:l.EXPECT_PLURAL_ARGUMENT_SELECTOR,V(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(l.MISSING_OTHER_CLAUSE,V(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,s=10*s+(a-48),this.bump();else break}var o=V(n,this.clonePosition());return i?X(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=et(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(J(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&el(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function eo(e){return e>=97&&e<=122||e>=65&&e<=90}function el(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ec(e,t){void 0===t&&(t={});var r=new ea(e,t=m({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var n=SyntaxError(l[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,S(t)||P(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else E(t)&&k(t.style)?delete t.style.location:(w(t)||x(t))&&M(t.style)?delete t.style.location:T(t)&&e(t.children)})}(r.val),r.val}(a=d||(d={})).MISSING_VALUE="MISSING_VALUE",a.INVALID_VALUE="INVALID_VALUE",a.MISSING_INTL_API="MISSING_INTL_API";var eu=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return v(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),eh=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),d.INVALID_VALUE,i)||this}return v(t,e),t}(eu),ef=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),d.INVALID_VALUE,n)||this}return v(t,e),t}(eu),ed=function(e){function t(t,r){return e.call(this,'The intl str
11ing context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),d.MISSING_VALUE,r)||this}return v(t,e),t}(eu);function ep(e){return"function"==typeof e}function eg(e,t,r,n,i,s,a){if(1===e.length&&b(e[0]))return[{type:p.literal,value:e[0].value}];for(var o=[],l=0;l<e.length;l++){var u=e[l];if(b(u)){o.push({type:p.literal,value:u.value});continue}if(u.type===c.pound){"number"==typeof s&&o.push({type:p.literal,value:r.getNumberFormat(t).format(s)});continue}var h=u.value;if(!(i&&h in i))throw new ed(h,a);var f=i[h];if(u.type===c.argument){f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),o.push({type:"string"==typeof f?p.literal:p.object,value:f});continue}if(w(u)){var g="string"==typeof u.style?n.date[u.style]:M(u.style)?u.style.parsedOptions:void 0;o.push({type:p.literal,value:r.getDateTimeFormat(t,g).format(f)});continue}if(x(u)){var g="string"==typeof u.style?n.time[u.style]:M(u.style)?u.style.parsedOptions:n.time.medium;o.push({type:p.literal,value:r.getDateTimeFormat(t,g).format(f)});continue}if(E(u)){var g="string"==typeof u.style?n.number[u.style]:k(u.style)?u.style.parsedOptions:void 0;g&&g.scale&&(f*=g.scale||1),o.push({type:p.literal,value:r.getNumberFormat(t,g).format(f)});continue}if(T(u)){var v=u.children,m=u.value,_=i[m];if(!ep(_))throw new ef(m,"function",a);var y=_(eg(v,t,r,n,i,s).map(function(e){return e.value}));Array.isArray(y)||(y=[y]),o.push.apply(o,y.map(function(e){return{type:"string"==typeof e?p.literal:p.object,value:e}}))}if(S(u)){var O=u.options[f]||u.options.other;if(!O)throw new eh(u.value,f,Object.keys(u.options),a);o.push.apply(o,eg(O.value,t,r,n,i));continue}if(P(u)){var O=u.options["=".concat(f)];if(!O){if(!Intl.PluralRules)throw new eu('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',d.MISSING_INTL_API,a);var A=r.getPluralRules(t,{type:u.pluralType}).select(f-(u.offset||0));O=u.options[A]||u.options.other}if(!O)throw new eh(u.value,f,Object.keys(u.options),a);o.push.apply(o,eg(O.value,t,r,n,i,f-(u.offset||0)));continue}}return o.length<2?o:o.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===p.literal&&t.type===p.literal?r.value+=t.value:e.push(t),e},[])}function ev(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}(o=p||(p={}))[o.literal=0]="literal",o[o.object=1]="object";var em=function(){function e(t,r,n,i){void 0===r&&(r=e.defaultLocale);var s,a,o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===p.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return eg(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=o.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=i||{},c=(l.formatters,function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}(l,["formatters"]));this.ast=e.__parse(t,m(m({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(s=e.formats,n?Object.keys(s).reduce(function(e,t){var r,i;return e[t]=(r=s[t],(i=n[t])?m(m(m({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=m(m({},r[t]),i[t]||{}),e},{})):r),e},m({},s)):s),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,y.memoize)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,_([void 0],t,!1)))},{cache:ev(a.number),strategy:y.strategies.variadic}),getDateTimeFormat:(0,y.memoize)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,_([void 0],t,!1)))},{cache:ev(a.dateTime),strategy:y.strategies.variadic}),getPluralRules:(0,y.memoize)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,_([void 0],t,!1)))},{cache:ev(a.pluralRules),strategy:y.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
11,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=ec,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),e_=em},5259:function(e,t){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.extends=r},14640:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(58248),i=r(19959),s=r(53646),a=r(81913);t.useFormatter=n.useFormatter,t.useTranslations=n.useTranslations,t.useLocale=i.default,t.NextIntlClientProvider=s.default,Object.keys(a).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})})},58248:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(81913);function i(e,t){return function(){try{return t(...arguments)}catch(e){throw Error(void 0)}}}let s=i(0,n.useTranslations),a=i(0,n.useFormatter);t.useFormatter=a,t.useTranslations=s,Object.keys(n).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})})},19959:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(39332),i=r(63949),s=r(78553);t.default=function(){let e;let t=n.useParams();try{e=i.useLocale()}catch(r){if("string"!=typeof(null==t?void 0:t[s.LOCALE_SEGMENT_NAME]))throw r;e=t[s.LOCALE_SEGMENT_NAME]}return e}},53646:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5259),i=r(67294),s=r(22566),a=i&&i.__esModule?i:{default:i};t.default=function(e){let{locale:t,...r}=e;if(!t)throw Error(void 0);return a.default.createElement(s.IntlProvider,n.extends({locale:t},r))}},78553:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},83454:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(77663)},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(96282)}])},70031:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},useParams:function(){return d},usePathname:function(){return h},useRouter:function(){return f},useSearchParams:function(){return u},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return p},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(67294),i=r(3068),s=r(10213),a=r(66162),o=r(73737),l=r(46209),c=r(70861);function u(){let e=(0,n.useContext)(s.SearchParamsContext);return(0,n.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function h(){return(0,n.useContext)(s.PathnameContext)}function f(){let e=(0,n.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mou
11nted");return e}function d(){return(0,n.useContext)(s.PathParamsContext)}function p(e){void 0===e&&(e="children");let t=(0,n.useContext)(i.LayoutRouterContext);return t?function e(t,r,n,i){let s;if(void 0===n&&(n=!0),void 0===i&&(i=[]),n)s=t[1][r];else{var l;let e=t[1];s=null!=(l=e.children)?l:Object.values(e)[0]}if(!s)return i;let c=s[0],u=(0,a.getSegmentValue)(c);return!u||u.startsWith(o.PAGE_SEGMENT_KEY)?i:(i.push(u),e(s,r,!1,i))}(t.tree,e):null}function g(e){void 0===e&&(e="children");let t=p(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===o.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46209:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return n.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect}});let n=r(67878),i=r(95610);class s extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new s}delete(){throw new s}set(){throw new s}sort(){throw new s}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95610:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return i},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19598:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67878:function(e,t,r){"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return g},getRedirectTypeFromError:function(){return p},getURLFromRedirectError:function(){return d},isRedirectError:function(){return f},permanentRedirect:function(){return h},redirect:function(){return u}});let s=r(40837),a=r(34134),o=r(19598),l="NEXT_REDIRECT";function c(e,t,r){void 0===r&&(r=o.RedirectStatusCode.TemporaryRedirect);let n=Error(l);n.digest=l+";"+t+";"+e+";"+r+";";let i=s.requestAsyncStorage.getStore();return i&&(n.mutableCookies=i.mutableCookies),n}function u(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?o.RedirectStatusCode.SeeOther:o.RedirectStatusCode.TemporaryRedirect)}function h(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?o.RedirectStatusCode.SeeOther:o.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,i]=e.digest.split(";",4),s=Number(i);return t===l&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(s)&&s in o.RedirectStatusCode}function d(e){return f(e)?e.digest.split(";",3)[2]:null}function p(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function g(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(i=n||(n={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
11dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66162:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92168:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},noSSR:function(){return a}});let n=r(38754);r(85893),r(67294);let i=n._(r(58440));function s(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function o(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let o=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=o?o().then(s):Promise.resolve(s(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34130:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(38754)._(r(67294)).default.createContext(null)},58440:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(38754)._(r(67294)),i=r(34130),s=[],a=[],o=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function l(){if(!s){let t=new c(e,r);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!o){let e=r.webpack?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return l()})}function u(e,t){!function(){l();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let a=n.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),n.default.useMemo(()=>{var t;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:s.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return u.preload=()=>l(),u.displayName="LoadableComponent",n.default.forwardRef(u)}(l,e)}function h(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>
11{if(e.length)return h(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{h(s).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(o=!0,t());h(a,e).then(r,r)})),window.__NEXT_PRELOADREADY=u.preloadReady;let f=u},70861:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return s}});let n=r(61757)._(r(67294)),i=n.default.createContext(null);function s(e){let t=(0,n.useContext)(i);t&&t(e)}},70956:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(83454),i={appUrl:n.env.NEXT_PUBLIC_APP_URL||"https://flixier.com",apiUrl:"https://api.flixier.com/api",cacheApiUrl:"https://flixier.com/cache-api",cookiePrefix:n.env.NEXT_PUBLIC_COOKIE_PREFIX||"flixier_",cookieDomain:n.env.NEXT_PUBLIC_COOKIE_DOMAIN||".flixier.com",mediaUrl:"https://ddrzdtr17xo9o.cloudfront.net",assetsUrl:"https://df02ig60gv6ag.cloudfront.net",recaptchaKey:n.env.NEXT_PUBLIC_RECAPTCHA_KEY||"6LcKGMYfAAAAANt6R-gVKwMwc493tatmhATQkiOK",editorUrl:n.env.NEXT_PUBLIC_EDITOR_URL||"https://editor.flixier.com",editorUrlNewPath:n.env.NEXT_PUBLIC_EDITOR_URL_NEW_PATH||"https://flixier.com/editor",dashboardUrl:"https://editor.flixier.com/home/projects",googleSiteVerification:"0a_csmvo5t3Ha5C9Tlsntt5wUEaSjPQ884yFhMz9CD4",gtmId:"GTM-5MWK6FC",staticAssetsCDN:n.env.NEXT_STATIC_ASSETS_CDN||"https://df02ig60gv6ag.cloudfront.net",socketHost:"https://editor.flixier.com",appVersion:"0.1.0",facebookAppId:"298552944088705",i18n:{defaultLocale:"en",locales:["en","es","pt","de","it","fr","ro","id"]},csrf:["/login","/register","/password/email","/password/reset","/ai","/ai-effects","/join-team","/content-creator-program","/b2b-training-videos-2026-webinar","/b2b-training-videos-2026-ebook","/view/generate"]}},32028:function(e,t,r){"use strict";r.d(t,{BT:function(){return o}}),r(39332),r(67294);var n=r(91651),i=r(34539),s=r(91981);r(85893);var a=r(95008);async function o(){let{req:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.qe)({req:e});if((0,i.jp)(t))try{let{data:e}=await (0,n.U2)("/user",{headers:{cookie:t.toString()}});return e}catch(r){(0,a.k0)(r)&&401===r.status&&e&&(t.delete("auth"),t.delete("XSRF-TOKEN"))}}},91981:function(e,t,r){"use strict";r.d(t,{Qk:function(){return u},qe:function(){return l}});var n=r(35487),i=r.n(n),s=r(70956);function a(e){let t=s.Z.cookiePrefix;return e.startsWith(t)?e:"".concat(t).concat(e)}function o(e){let t=i()(e,e);return{get:e=>t.get(a(e)),getAll:()=>t.getAll(),set(e,r,n){t.set(a(e),r,{path:"/",domain:s.Z.cookieDomain,...n})},delete:e=>t.remove(a(e),{path:"/",domain:s.Z.cookieDomain}),csrfToken:()=>t.get(c()),toString:()=>e?e.headers.cookie:t.toString()}}function l(e){let{req:t,cookies:r}=e;return r?function(e){let t=e();return{get:e=>{var r;return null===(r=t.get(a(e)))||void 0===r?void 0:r.value},getAll:()=>t.getAll(),set(e,r,n){t.set({name:a(e),value:r.toString(),path:"/",domain:s.Z.cookieDomain,...n})},delete:e=>t.delete(a(e)),csrfToken:()=>{var e;return null===(e=t.get(c()))||void 0===e?void 0:e.value},toString:()=>t.toString()}}(r):o(t)}function c(){return"flixier_"===a("")?"XSRF-TOKEN":a("XSRF-TOKEN")}let u=o()},91651:function(e,t,r){"use strict";r.d(t,{EN:function(){return c},U2:function(){return o},WY:function(){return a},oo:function(){return u},v_:function(){return l}});var n=r(70956),i=r(91981);let s={url:"",method:"get",responseType:"json",headers:{"Flixier-Landing-Next":"true",accept:"application/json, text/plain, */*"}};async function a(e){var t;let r={...s,...e},a=await fetch(function(e,t){let r=new URLSearchParams(t||{}).toString();return r?"".concat(e,"?").concat(r):e}((t=r.url).startsWith("http")||t.startsWith("https")?t:(t=t.replace(/^\//,"")).startsWith("cache-api/")&&(t=t.replace("cache-api/",""),n.Z.cacheApiUrl)?"".concat(n.Z.cacheApiUrl,"/").concat(t):"".concat(n.Z.apiUrl,"/").concat(t),r.params),{method:r.method,cache:"no-store",headers:function(e){let t={};e.data instanceof FormData||(t["content-type"]="application/json");let r=i.Qk.csrfToken();return r&&(t["X-Xsrf-Token"]=r),{...s.headers,...t,...e.headers}}(r),body:r.data instanceof FormData?r.data:JSON.stringify(r.data),credentials:"include",signal:r.signal}),o=await f(a,r.responseType);if(!a.ok){if(404===a.status)throw new h(a,o);throw 419===a.status&&window.location.reload(),new u(a,o)}return{data:o,status:a.status,statusText:a.statusText,headers:{...Object.fromEntries(a.headers.entries()),"set-cookie":a.headers.getSetCookie()}}}function o(e,t){return a({...t,method:"get",url:e})}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t instanceof FormData?t:{...(null==r?void 0:r.data)||{},...t};return a({...r,data:n,method:"post",url:e})}function c(e){return o("/csrf-cookie",{responseType:"text",...e})}
11class u extends Error{constructor(e,t){var r;super("".concat(e.status," ").concat(e.statusText,": ").concat(null!==(r=null==t?void 0:t.message)&&void 0!==r?r:"Unknown error")),this.res=e,this.data=t,this.status=e.status,this.statusText=e.statusText}}class h extends u{}async function f(e,t){try{if("json"===t)return await e.json();if("blob"===t)return await e.blob();return await e.text()}catch(e){}}},44696:function(e,t,r){"use strict";r.d(t,{W2:function(){return a}});var n=r(70956);let i=/^[a-z][a-z0-9+.-]*:/i,s=/^https?:/i,a=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.Z.appUrl,a=e.trim(),o=i.test(a),l=s.test(a);if(o&&!l)return a;try{let e=o||a.startsWith("//"),n=new URL(a,r);return n.pathname.length>1&&n.pathname.endsWith("/")&&(n.pathname=n.pathname.slice(0,-1)),Object.entries(t).forEach(e=>{let[t,r]=e;r&&!n.searchParams.has(t)&&n.searchParams.set(t,r)}),e?n.toString():"".concat(n.pathname).concat(n.search).concat(n.hash)}catch(e){return a}}},96282:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{default:function(){return Q}});var i=r(85893),s=r(21648),a=r.n(s),o=r(11163),l=r(14640),c=r(19692),u=r(67294),h=r(34651),f=r(58192),d=r(5152),p=r.n(d),g=r(32028);let v=()=>{let e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},m=e=>{if("loading"===document.readyState)return"loading";let t=v();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},_=e=>{let t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},y=e=>{let t="";try{for(;9!==e?.nodeType;){let r=e,n=r.id?"#"+r.id:[_(r),...Array.from(r.classList).sort()].join(".");if(t.length+n.length>99)return t||n;if(t=t?n+">"+t:n,r.id)break;e=r.parentNode}}catch{}return t},b=new WeakMap;function E(e,t){let r=b.get(t);return r||(r=new WeakMap,b.set(t,r)),r.get(e)||r.set(e,new t),r.get(e)}let w=-1,x=()=>w,S=e=>{addEventListener("pageshow",t=>{t.persisted&&(w=t.timeStamp,e(t))},!0)},P=(e,t,r,n)=>{let i,s;return a=>{let o;t.value>=0&&(a||n)&&((s=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=s,t.rating=(o=t.value)>r[1]?"poor":o>r[0]?"needs-improvement":"good",e(t))}},T=()=>v()?.activationStart??0,k=(e,t=-1)=>{let r=v(),n="navigate";return x()>=0?n="back-forward-cache":r&&(document.prerendering||T()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:n}},M=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{queueMicrotask(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}},O=e=>{let t=!1;return()=>{t||(e(),t=!0)}},A=-1,C=new Set,I=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,L=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(let e of C)e();isFinite(A)||(A="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",L,!0))}},N=()=>{if(A<0){let e=T();A=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(t=>"hidden"===t.name&&t.startTime>=e)?.startTime)??I(),addEventListener("visibilitychange",L,!0),addEventListener("prerenderingchange",L,!0),S(()=>{setTimeout(()=>{A=I()})})}return{get firstHiddenTime(){return A},onHidden(e){C.add(e)}}},H=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},R=0,F=1/0,j=0,D=e=>{for(let t of e)t.interactionId&&(F=Math.min(F,t.interactionId),R=(j=Math.max(j,t.interactionId))?(j-F)/7+1:0)},z=()=>n?R:performance.interactionCount??0,B=()=>{"interactionCount"in performance||n||(n=M("event",D,{durationThreshold:0}))},V=0;class ${l=[];h=new Map;m;p;v(){V=z(),this.l.length=0,this.h.clear()}M(){let e=Math.min(this.l.length-1,Math.floor((z()-V)/50));return this.l[e]}u(e){if(this.m?.(e),!e.interactionId&&"first-input"!==e.entryType)return;let t=this.l.at(-1),r=this.h.get(e.interactionId);if(r||this.l.length<10||e.duration>t.T){if(r?e.duration>r.T?(r.entries=[e],r.T=e.duration):e.duration===r.T&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],T:e.duration},this.h.set(r.id,r),this.l.push(r)),this.l.sort((e,t)=>
11t.T-e.T),this.l.length>10)for(let e of this.l.splice(10))this.h.delete(e.id);this.p?.(r)}}}let U=e=>{let t=globalThis.requestIdleCallback||setTimeout,r=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{let n=O(e),i=-1,s=()=>{r(i),n()};addEventListener("visibilitychange",s,{once:!0,capture:!0}),i=t(()=>{removeEventListener("visibilitychange",s,{capture:!0}),n()})}},G=[200,500],q=(e,t={})=>{let r=E(t=Object.assign({},t),$),n=[],i=[],s=0,a=new WeakMap,o=new WeakMap,l=!1,c=()=>{l||(U(u),l=!0)},u=()=>{let e=new Set(r.l.map(e=>a.get(e.entries[0]))),t=i.length-10;i=i.filter((r,n)=>n>=t||e.has(r));let o=new Set;for(let e of i)for(let t of h(e.startTime,e.processingEnd))o.add(t);n=n.filter(e=>e.startTime>s||o.has(e)),l=!1};r.m=e=>{let r;let n=e.startTime+e.duration;s=Math.max(s,e.processingEnd);for(let s=i.length-1;s>=0;s--){let a=i[s];if(8>=Math.abs(n-a.renderTime)){(r=a).startTime=Math.min(e.startTime,r.startTime),r.processingStart=Math.min(e.processingStart,r.processingStart),r.processingEnd=Math.max(e.processingEnd,r.processingEnd),!1!==t.includeProcessedEventEntries&&r.entries.push(e);break}}r||(r={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:n,entries:!1!==t.includeProcessedEventEntries?[e]:[]},i.push(r)),(e.interactionId||"first-input"===e.entryType)&&a.set(e,r),c()},r.p=e=>{if(!o.get(e)){let r=e.entries.find(e=>e.target)?.target;if(r){let n=t.generateTarget?.(r)??y(r);o.set(e,n)}else{let t=e.entries.find(e=>e.targetSelector)?.targetSelector;t&&o.set(e,t)}}};let h=(e,t)=>{let r=[];for(let i of n)if(!(i.startTime+i.duration<e)){if(i.startTime>t)break;r.push(i)}return r},f=e=>{let t=e.entries[0],n=a.get(t),i=t.processingStart,s=Math.max(t.startTime+t.duration,i),l=Math.min(n.processingEnd,s),c=n.entries.sort((e,t)=>e.processingStart-t.processingStart),u=h(t.startTime,l),f=r.h.get(t.interactionId),d={interactionTarget:o.get(f),interactionType:t.name.startsWith("key")?"keyboard":"pointer",interactionTime:t.startTime,nextPaintTime:s,processedEventEntries:c,longAnimationFrameEntries:u,inputDelay:i-t.startTime,processingDuration:l-i,presentationDelay:s-l,loadState:m(t.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(e=>{if(!e.longAnimationFrameEntries?.length)return;let t=e.interactionTime,r=e.inputDelay,n=e.processingDuration,i,s,a=0,o=0,l=0,c=0;for(let l of e.longAnimationFrameEntries)for(let e of(o=o+l.startTime+l.duration-l.styleAndLayoutStart,l.scripts)){let l=e.startTime+e.duration;if(l<t)continue;let u=l-Math.max(t,e.startTime),h=e.duration?u/e.duration*e.forcedStyleAndLayoutDuration:0;a+=u-h,o+=h,u>c&&(s=e.startTime<t+r?"input-delay":e.startTime>=t+r+n?"presentation-delay":"processing-duration",i=e,c=u)}let u=e.longAnimationFrameEntries.at(-1),h=u?u.startTime+u.duration:0;h>=t+r+n&&(l=e.nextPaintTime-h),i&&s&&(e.longestScript={entry:i,subpart:s,intersectingDuration:c}),e.totalScriptDuration=a,e.totalStyleAndLayoutDuration=o,e.totalPaintDuration=l,e.totalUnattributedDuration=e.nextPaintTime-t-a-o-l})(d),Object.assign(e,{attribution:d})};M("long-animation-frame",e=>
11{n=n.concat(e),c()}),((e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;let r=N();H(()=>{B();let n,i=k("INP"),s=E(t,$),a=e=>{U(()=>{for(let t of e)s.u(t);let t=s.M();t&&t.T!==i.value&&(i.value=t.T,i.entries=t.entries,n())})},o=M("event",a,{durationThreshold:t.durationThreshold??40});n=P(e,i,G,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{a(o.takeRecords()),n(!0)}),S(()=>{s.v(),n=P(e,i=k("INP"),G,t.reportAllChanges)}))})})(t=>{e(f(t))},t)},W=p()(()=>r.e(4321).then(r.bind(r,44321)),{loadableGenerated:{webpack:()=>[44321]},ssr:!1});function Y(e){let{children:t}=e,[r,n]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{h.LJ.init("phc_BNFBzseEEx8oDXbspvpRtXqihAenSqQz44ChCBGGyN3y",{api_host:"https://ph.flixier.xyz",capture_pageview:!1}),q(e=>{var t;let{value:r,rating:n,attribution:i}=e,s=null===(t=i.longAnimationFrameEntries)||void 0===t?void 0:t.flatMap(e=>{var t;return null!==(t=e.scripts)&&void 0!==t?t:[]}).sort((e,t)=>t.duration-e.duration)[0];h.LJ.capture("web_vitals_inp_debug",{inp_value:r,inp_rating:n,inp_interaction_target:i.interactionTarget,inp_interaction_type:i.interactionType,inp_input_delay:i.inputDelay,inp_processing_duration:i.processingDuration,inp_presentation_delay:i.presentationDelay,inp_load_state:i.loadState,inp_longest_script_url:null==s?void 0:s.sourceURL,inp_longest_script_function:null==s?void 0:s.sourceFunctionName,inp_longest_script_invoker:null==s?void 0:s.invoker,inp_longest_script_duration:null==s?void 0:s.duration,page:window.location.pathname})},{reportAllChanges:!1}),n(!0),async function(){let e=await (0,g.BT)();e&&h.LJ.identify(e.id,{email:e.email,name:e.name})}()},[]),(0,i.jsxs)(f.zf,{client:h.LJ,children:[r&&(0,i.jsx)(W,{}),t]})}r(51853);var X=r(66393),K=r(99603);function Z(e){let{error:t}=e;(0,u.useEffect)(()=>{console.error(t)},[t]);let r=(null==t?void 0:t.statusText)||"Internal Server Error";return(0,i.jsx)("div",{className:"flex min-h-screen items-center justify-center font-outfit",children:(0,i.jsxs)("div",{className:"max-w-md rounded bg-white p-8 text-center sm:max-w-lg",children:[(0,i.jsx)("h1",{className:"text-[8rem] font-bold text-primary sm:text-[12rem]",children:(0,i.jsx)(K.G,{icon:X.xHz})}),(0,i.jsx)("h2",{className:"text-3xl sm:text-5xl",children:r}),(0,i.jsxs)("p",{className:"my-10 text-xl font-light sm:text-2xl",children:["Please try again later or feel free to"," ",(0,i.jsx)("a",{href:"mailto:[email protected]?subject=500%20Page",className:"text-blue-500 underline",children:"contact us"})," ","if the problem persists."]}),(0,i.jsx)("a",{href:"/",className:"text-de flex w-full justify-center rounded-2xl bg-primary py-4 !text-white !no-underline transition",children:"Back to Homepage"})]})})}var J=r(70956);r(21540);var Q=(0,o.withRouter)(function(e){var t,r;let{Component:n,pageProps:s,router:o}=e;return((0,u.useEffect)(()=>{"serviceWorker"in navigator&&navigator.serviceWorker.getRegistrations().then(e=>{console.log(e),e.forEach(e=>{e.unregister().then(e=>{console.log("Service worker unregistered:",e),window.location.reload()})})})},[]),s.error)?(0,i.jsx)(Z,{error:s.error}):(0,i.jsx)("main",{className:a().className,children:(0,i.jsxs)(l.NextIntlClientProvider,{locale:null!==(r=null===(t=o.query)||void 0===t?void 0:t.locale)&&void 0!==r?r:"en",messages:s.messages,timeZone:"Europe/Vienna",children:[(0,i.jsx)(Y,{children:(0,i.jsx)(n,{...s})}),(0,i.jsx)(c.GoogleTagManager,{gtmId:J.Z.gtmId})]})})})},34539:function(e,t,r){"use strict";r.d(t,{MY:function(){return a},S3:function(){return o},jp:function(){return s}});var n=r(95008),i=r(91981);function s(e){return!!(e||i.Qk).get("auth")}function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];i.Qk.set("auth",!0,{expires:e?(0,n.an)(365):void 0})}function o(){i.Qk.delete("auth")}r(70956),r(44696)},95008:function(e,t,r){"use strict";r.d(t,{an:function(){return u},k0:function(){return h},ys:function(){return i},ve:function(){return l},xw:function(){return c},go:function(){return s}});var n=r(70956);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(e="en"===e?"":"/".concat(e),t.startsWith("https:"))?t:(t=(t=t.startsWith("/")?t:"/".concat(t)).endsWith("/")?t.slice(0,-1):t,["/b2b","/templates","/help","/blog","content-creator-program","/affiliate-program","/announcements","/sales-enablement","/saas","/content-creator-program"].some(e=>
11t.startsWith(e)))?"".concat(n.Z.appUrl).concat(t):"".concat(n.Z.appUrl).concat(e).concat(t)}function s(e){let t=e.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=|shorts\/)([^#&?]*).*/);return t&&11===t[2].length?t[2]:""}let a={},o={};function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Array.from(document.querySelectorAll("script")).find(t=>t.src===e);return r?"true"===r.dataset.loaded?Promise.resolve():new Promise((t,r)=>{a[e].push(t),o[e].push(r)}):(a[e]=[],o[e]=[],new Promise((r,n)=>{let i=document.createElement("script");i.src=e,i.async=!0,Object.keys(t).forEach(e=>{i.setAttribute(e,t[e])}),i.onload=()=>{i.dataset.loaded="true",r(),a[e].forEach(e=>e())},i.onerror=()=>{let t=Error("Failed to load script ".concat(e));n(t),o[e].forEach(e=>e(t))},document.head.appendChild(i)}))}function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Object.entries({width:600,height:720,left:window.screenX+window.innerWidth/2-300,top:window.screenY+window.innerHeight/2-360,...r}).map(e=>{let[t,r]=e;return"".concat(t,"=").concat(r)}).join(",");return window.open(e,t,n)}let u=e=>{let t=new Date;return t.setDate(t.getDate()+e),t},h=e=>{if("object"!=typeof e||null===e||!("status"in e)||"number"!=typeof e.status||!("data"in e)||"object"!=typeof e.data||null===e.data)return!1;let t=e.data;if(!("message"in t)||"string"!=typeof t.message)return!1;if("errors"in t){if("object"!=typeof t.errors||null===t.errors)return!1;for(let e in t.errors)if(Object.prototype.hasOwnProperty.call(t.errors,e)){let r=t.errors[e];if(!Array.isArray(r)||!r.every(e=>"string"==typeof e))return!1}}return!0}},21540:function(){},51853:function(){},21648:function(e){e.exports={style:{fontFamily:"'__Outfit_ed3508', '__Outfit_Fallback_ed3508'",fontStyle:"normal"},className:"__className_ed3508",variable:"__variable_ed3508"}},77663:function(e){!function(){var t={229:function(e){var t,r,n,i=e.exports={};function s(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:s}catch(e){t=s}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l=[],c=!1,u=-1;function h(){c&&n&&(c=!1,n.length?l=n.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=o(h);c=!0;for(var t=l.length;t;){for(n=l,l=[];++u<t;)n&&n[u].run();u=-1,t=l.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new d(e,t)),1!==l.length||c||o(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var s=r[e]={exports:{}},a=!0;try{t[e](s,s.exports,n),a=!1}finally{a&&delete r[e]}return s.exports}n.ab="//";var i=n(229);e.exports=i}()},5152:function(e,t,r){e.exports=r(92168)},39332:function(e,t,r){e.exports=r(70031)},11163:function(e,t,r){e.exports=r(37253)},4298:function(e,t,r){e.exports=r(95026)},34651:function(e,t,r){"use strict";r.d(t,{LJ:function(){return sF},ZP:function(){return sF}});var n="undefined"!=typeof window?window:void 0,i="undefined"!=typeof globalThis?globalThis:n;"undefined"==typeof self&&(i.self=i),"undefined"==typeof File&&(i.File=function(){});var s=Array.prototype,a=s.forEach,o=s.indexOf,l=null==i?void 0:i.navigator,c=null==i?void 0:i.document,u=null==i?void 0:i.location,h=null==i?void 0:i.fetch,f=null!=i&&i.XMLHttpRequest&&"withCredentials"in new i.XMLHttpRequest?i.XMLHttpRequest:void 0,d=null==i?void 0:i.AbortController,p=null==l?void 0:l.userAgent,g=null!=n?n:{},v={DEBUG:!1,LIB_VERSION:"1.309.1"};function m(e,t,r,n,i,s,a){try{var o=e[s](a),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(n,i)}function _(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function a(e){m(s,n,i,a,o,"next",e)}function o(e){m(s,n,i,a,o,"throw",e)}a(void 0)})}}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
11).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function b(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}var E=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],w=function(e,t){if(void 0===t&&(t=[]),!e)return!1;var r=e.toLowerCase();return E.concat(t).some(e=>{var t=e.toLowerCase();return -1!==r.indexOf(t)})},x=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function S(e,t){return -1!==e.indexOf(t)}var P=function(e){return e.trim()},T=function(e){return e.replace(/^\$/,"")},k=Array.isArray,M=Object.prototype,O=M.hasOwnProperty,A=M.toString,C=k||function(e){return"[object Array]"===A.call(e)},I=e=>"function"==typeof e,L=e=>e===Object(e)&&!C(e),N=e=>{if(L(e)){for(var t in e)if(O.call(e,t))return!1;return!0}return!1},H=e=>void 0===e,R=e=>"[object String]"==A.call(e),F=e=>R(e)&&0===e.trim().length,j=e=>null===e,D=e=>H(e)||j(e),z=e=>"[object Number]"==A.call(e),B=e=>"[object Boolean]"===A.call(e),V=e=>e instanceof FormData,$=e=>S(x,e);function U(e){return null===e||"object"!=typeof e}function G(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function q(e){return!H(Event)&&function(e,t){try{return e instanceof t}catch(e){return!1}}(e,Event)}var W=[!0,"true",1,"1","yes"],Y=e=>S(W,e),X=[!1,"false",0,"0","no"];function K(e,t,r,n,i){return t>r&&(n.warn("min cannot be greater than max."),t=r),z(e)?e>r?(n.warn(" cannot be  greater than max: "+r+". Using max value instead."),r):e<t?(n.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(n.warn(" must be a number. using max or fallback. max: "+r+", fallback: "+i),K(i||r,t,r,n))}class Z{constructor(e){this.t={},this.i=e.i,this.o=K(e.bucketSize,0,100,e.h),this.m=K(e.refillRate,0,this.o,e.h),this.$=K(e.refillInterval,0,864e5,e.h)}S(e,t){var r=Math.floor((t-e.lastAccess)/this.$);if(r>0){var n=r*this.m;e.tokens=Math.min(e.tokens+n,this.o),e.lastAccess=e.lastAccess+r*this.$}}consumeRateLimit(e){var t,r=Date.now(),n=String(e),i=this.t[n];return i?this.S(i,r):(i={tokens:this.o,lastAccess:r},this.t[n]=i),0===i.tokens||(i.tokens--,0===i.tokens&&(null==(t=this.i)||t.call(this,e)),0===i.tokens)}stop(){this.t={}}}var J,Q,ee,et="Mobile",er="Android",en="Tablet",ei=er+" "+en,es="iPad",ea="Apple",eo=ea+" Watch",el="Safari",ec="BlackBerry",eu="Samsung",eh=eu+"Browser",ef=eu+" Internet",ed="Chrome",ep=ed+" OS",eg=ed+" iOS",ev="Internet Explorer",em=ev+" "+et,e_="Opera",ey=e_+" Mini",eb="Edge",eE="Microsoft "+eb,ew="Firefox",ex=ew+" iOS",eS="Nintendo",eP="PlayStation",eT="Xbox",ek=er+" "+et,eM=et+" "+el,eO="Windows",eA=eO+" Phone",eC="Nokia",eI="Ouya",eL="Generic",eN=eL+" "+et.toLowerCase(),eH=eL+" "+en.toLowerCase(),eR="Konqueror",eF="(\\d+(\\.\\d+)?)",ej=RegExp("Version/"+eF),eD=RegExp(eT,"i"),ez=RegExp(eP+" \\w+","i"),eB=RegExp(eS+" \\w+","i"),eV=RegExp(ec+"|PlayBook|BB10","i"),e$={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},eU=(e,t)=>t&&S(t,ea)||S(e,el)&&!S(e,ed)&&!S(e,er),eG=function(e,t){return t=t||"",S(e," OPR/")&&S(e,"Mini")?ey:S(e," OPR/")?e_:eV.test(e)?ec:S(e,"IE"+et)||S(e,"WPDesktop")?em:S(e,eh)?ef:S(e,eb)||S(e,"Edg/")?eE:S(e,"FBIOS")?"Facebook "+et:S(e,"UCWEB")||S(e,"UCBrowser")?"UC Browser":S(e,"CriOS")?eg:S(e,"CrMo")||S(e,ed)?ed:S(e,er)&&S(e,el)?ek:S(e,"FxiOS")?ex:S(e.toLowerCase(),eR.toLowerCase())?eR:eU(e,t)?S(e,et)?eM:el:S(e,ew)?ew:S(e,"MSIE")||S(e,"Trident/")?ev:S(e,"Gecko")?ew:""},eq={[em]:[RegExp("rv:"+eF)],[eE]:[RegExp(eb+"?\\/"+eF)],[ed]:[RegExp("("+ed+"|
11CrMo)\\/"+eF)],[eg]:[RegExp("CriOS\\/"+eF)],"UC Browser":[RegExp("(UCBrowser|UCWEB)\\/"+eF)],[el]:[ej],[eM]:[ej],[e_]:[RegExp("(Opera|OPR)\\/"+eF)],[ew]:[RegExp(ew+"\\/"+eF)],[ex]:[RegExp("FxiOS\\/"+eF)],[eR]:[RegExp("Konqueror[:/]?"+eF,"i")],[ec]:[RegExp(ec+" "+eF),ej],[ek]:[RegExp("android\\s"+eF,"i")],[ef]:[RegExp(eh+"\\/"+eF)],[ev]:[RegExp("(rv:|MSIE )"+eF)],Mozilla:[RegExp("rv:"+eF)]},eW=function(e,t){var r=eq[eG(e,t)];if(H(r))return null;for(var n=0;n<r.length;n++){var i=r[n],s=e.match(i);if(s)return parseFloat(s[s.length-2])}return null},eY=[[RegExp(eT+"; "+eT+" (.*?)[);]","i"),e=>[eT,e&&e[1]||""]],[RegExp(eS,"i"),[eS,""]],[RegExp(eP,"i"),[eP,""]],[eV,[ec,""]],[RegExp(eO,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[eA,""];if(new RegExp(et).test(t)&&!/IEMobile\b/.test(t))return[eO+" "+et,""];var r=/Windows NT ([0-9.]+)/i.exec(t);if(r&&r[1]){var n=e$[r[1]]||"";return/arm/i.test(t)&&(n="RT"),[eO,n]}return[eO,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?["iOS",[e[3],e[4],e[5]||"0"].join(".")]:["iOS",""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=H(e[2])?e[3]:e[2]),["watchOS",t]}],[RegExp("("+er+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+er+")","i"),e=>e&&e[2]?[er,[e[2],e[3],e[4]||"0"].join(".")]:[er,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];if(e&&e[1]){var r=[e[1],e[2],e[3]||"0"];t[1]=r.join(".")}return t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[ep,""]],[/Linux|debian/i,["Linux",""]]],eX=function(e){return eB.test(e)?eS:ez.test(e)?eP:eD.test(e)?eT:RegExp(eI,"i").test(e)?eI:RegExp("("+eA+"|WPDesktop)","i").test(e)?eA:/iPad/.test(e)?es:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?eo:eV.test(e)?ec:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":RegExp(eC,"i").test(e)?eC:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(et).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?er:ei:RegExp("(pda|"+et+")","i").test(e)?eN:RegExp(en,"i").test(e)&&!RegExp(en+" pc","i").test(e)?eH:""},eK=e=>e instanceof Error;class eZ{constructor(e,t,r){void 0===r&&(r=[]),this.coercers=e,this.stackParser=t,this.modifiers=r}buildFromUnknown(e,t){void 0===t&&(t={});var r=t&&t.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(r,t,0).apply(e),i=this.buildParsingContext(),s=this.parseStacktrace(n,i);return{$exception_list:this.convertToExceptionList(s,r),$exception_level:"error"}}modifyFrames(e){var t=this;return _(function*(){for(var r of e)r.stacktrace&&r.stacktrace.frames&&C(r.stacktrace.frames)&&(r.stacktrace.frames=yield t.applyModifiers(r.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:null==(t=e.syntheticException)?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var r,n;return null!=e.cause&&(r=this.parseStacktrace(e.cause,t)),""!=e.stack&&null!=e.stack&&(n=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?1:0),t.chunkIdMap)),y({},e,{cause:r,stack:n})}applyChunkIds(e,t){return e.map(e=>(e.filename&&t&&(e.chunk_id=t[e.filename]),e))}applyCoercers(e,t){for(var r of this.coercers)if(r.match(e))return r.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return _(function*(){var r=e;for(var n of t.modifiers)r=yield n(r);return r})()}convertToExceptionList(e,t){var r,n,i,s={type:e.type,value:e.value,mechanism:{type:null!==(r=t.type)&&void 0!==r?r:"generic",handled:null===(n=t.handled)||void 0===n||n,synthetic:null!==(i=e.synthetic)&&void 0!==i&&i}};e.stack&&(s.stacktrace={type:"raw",frames:e.stack});var a=[s];return null!=e.cause&&a.push(...this.convertToExceptionList(e.cause,y({},t,{handled:!0}))),a}buildParsingContext(){return{chunkIdMap:function(e){var t=globalThis._posthogChunkIds;if(t){var r=Object.keys(t);
11return ee&&r.length===Q||(Q=r.length,ee=r.reduce((r,n)=>{J||(J={});var i=J[n];if(i)r[i[0]]=i[1];else for(var s=e(n),a=s.length-1;a>=0;a--){var o=s[a],l=null==o?void 0:o.filename,c=t[n];if(l&&c){r[l]=c,J[n]=[l,c];break}}return r},{})),ee}}(this.stackParser)}}buildCoercingContext(e,t,r){void 0===r&&(r=0);var n=(r,n)=>{if(n<=4){var i=this.buildCoercingContext(e,t,n);return this.applyCoercers(r,i)}};return y({},t,{syntheticException:0==r?t.syntheticException:void 0,mechanism:e,apply:e=>n(e,r),next:e=>n(e,r+1)})}}function eJ(e,t,r,n,i){var s={platform:e,filename:t,function:"<anonymous>"===r?"?":r,in_app:!0};return H(n)||(s.lineno=n),H(i)||(s.colno=i),s}var eQ=(e,t)=>{var r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:"?",r?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},e1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,e2=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,e0=/\((\S*)(?::(\d+))(?::(\d+))\)/,e3=(e,t)=>{var r=e1.exec(e);if(r){var[,n,i,s]=r;return eJ(t,n,"?",+i,+s)}var a=e2.exec(e);if(a){if(a[2]&&0===a[2].indexOf("eval")){var o=e0.exec(a[2]);o&&(a[2]=o[1],a[3]=o[2],a[4]=o[3])}var[l,c]=eQ(a[1]||"?",a[2]);return eJ(t,c,l,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}},e4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,e6=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,e5=(e,t)=>{var r=e4.exec(e);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){var n=e6.exec(r[3]);n&&(r[1]=r[1]||"eval",r[3]=n[1],r[4]=n[2],r[5]="")}var i=r[3],s=r[1]||"?";return[s,i]=eQ(s,i),eJ(t,i,s,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},e8=/\(error: (.*)\)/;class e7{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){var r=R(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:r?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){var t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?t+": "+e.message:t}isDOMException(e){return G(e,"DOMException")}isDOMError(e){return G(e,"DOMError")}}class e9{match(e){return e instanceof Error}coerce(e,t){return{type:this.getType(e),value:this.getMessage(e,t),stack:this.getStack(e),cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return e.name||e.constructor.name}getMessage(e,t){var r=e.message;return r.error&&"string"==typeof r.error.message?String(r.error.message):String(r)}getStack(e){return e.stacktrace||e.stack||void 0}}class te{constructor(){}match(e){return G(e,"ErrorEvent")&&null!=e.error}coerce(e,t){var r;return t.apply(e.error)||{type:"ErrorEvent",value:e.message,stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}}var tt=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class tr{match(e){return"string"==typeof e}coerce(e,t){var r,[n,i]=this.getInfos(e);return{type:null!=n?n:"Error",value:null!=i?i:e,stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}getInfos(e){var t="Error",r=e,n=e.match(tt);return n&&(t=n[1],r=n[2]),[t,r]}}var tn=["fatal","error","warning","log","info","debug"];function ti(e,t){void 0===t&&(t=40);var r=Object.keys(e);if(r.sort(),!r.length)return"[object has no keys]";for(var n=r.length;n>0;n--){var i=r.slice(0,n).join(", ");if(!(i.length>t))return n===r.length||i.length<=t?i:i.slice(0,t)+"..."}return""}class ts{match(e){return"object"==typeof e&&null!==e}coerce(e,t){var r,n=this.getErrorPropertyFromObject(e);return n?t.apply(n):{type:this.getType(e),value:this.getValue(e),stack:null==(r=t.syntheticException)?void 0:r.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){return q(e)?e.constructor.name:"Error"}getValue(e){if("name"in e&&"string"==typeof e.name){var t="'"+e.name+"' captured as exception";return"message"in e&&"string"==typeof e.message&&(t+=" with message: '"+e.message+"'"),t}if("message"in e&&"string"==typeof e.message)return e.message;var r=this.getObjectClassName(e);return(r&&"Object"!==r?"'"+r+"'":"Object")+" captured as exception with keys: "+ti(e)}isSeverityLevel(e){return R(e)&&!F(e)&&tn.indexOf(e)>=0}getErrorPropertyFromObject(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var r=e[t];if(eK(r))return r}}getObjectClassName(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){return}}}class ta{match(e){return q(e)}coerce(e,t){var r,n=e.constructor.name;return{type:n,value:n+" captured as exception with keys: "+ti(e),stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}}class to{match(e){return U(e)}coerce(e,t){var r;return{type:"Error",value:"Primitive value captured as exception: "+String(e),stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}}class tl{match(e){return G(e,"PromiseRejectionEvent")}coerce(e,t){var r,n=this.getUnhandledRejectionReason(e);return U(n)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(n),stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}:t.apply(n)}getUnhandledRejectionReason(e){if(U(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}}var tc=function(e,t){var{debugEnabled:r}=void 0===t?{}:t,i={k:function(t){if(n&&(v.DEBUG||g.POSTHOG_DEBUG||r)&&!H(n.console)&&n.c
11onsole){for(var i=("__rrweb_original__"in n.console[t])?n.console[t].__rrweb_original__:n.console[t],s=arguments.length,a=Array(s>1?s-1:0),o=1;o<s;o++)a[o-1]=arguments[o];i(e,...a)}},info:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.k("log",...t)},warn:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.k("warn",...t)},error:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.k("error",...t)},critical:function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];console.error(e,...r)},uninitializedWarning:e=>{i.error("You must initialize PostHog before calling "+e)},createLogger:(t,r)=>tc(e+" "+t,r)};return i},tu=tc("[PostHog.js]"),th=tu.createLogger,tf=th("[ExternalScriptsLoader]"),td=(e,t,r)=>{if(e.config.disable_external_dependency_loading)return tf.warn(t+" was requested but loading of external scripts is disabled."),r("Loading of external scripts is disabled");var n=null==c?void 0:c.querySelectorAll("script");if(n){for(var i,s=0;s<n.length;s++)if(i=function(){if(n[s].src===t){var e=n[s];return e.__posthog_loading_callback_fired?{v:r()}:(e.addEventListener("load",t=>{e.__posthog_loading_callback_fired=!0,r(void 0,t)}),e.onerror=e=>r(e),{v:void 0})}}())return i.v}var a=()=>{if(!c)return r("document not found");var n=c.createElement("script");if(n.type="text/javascript",n.crossOrigin="anonymous",n.src=t,n.onload=e=>{n.__posthog_loading_callback_fired=!0,r(void 0,e)},n.onerror=e=>r(e),e.config.prepare_external_dependency_script&&(n=e.config.prepare_external_dependency_script(n)),!n)return r("prepare_external_dependency_script returned null");var i,s=c.querySelectorAll("body > script");s.length>0?null==(i=s[0].parentNode)||i.insertBefore(n,s[0]):c.body.appendChild(n)};null!=c&&c.body?a():null==c||c.addEventListener("DOMContentLoaded",a)};g.__PosthogExtensions__=g.__PosthogExtensions__||{},g.__PosthogExtensions__.loadExternalDependency=(e,t,r)=>{var n="/static/"+t+".js?v="+e.version;"remote-config"===t&&(n="/array/"+e.config.token+"/config.js"),"toolbar"===t&&(n=n+"&t="+3e5*Math.floor(Date.now()/3e5));var i=e.requestRouter.endpointFor("assets",n);td(e,i,r)},g.__PosthogExtensions__.loadSiteApp=(e,t,r)=>{var n=e.requestRouter.endpointFor("api",t);td(e,n,r)};var tp={};function tg(e,t,r){if(C(e)){if(a&&e.forEach===a)e.forEach(t,r);else if("length"in e&&e.length===+e.length){for(var n=0,i=e.length;n<i;n++)if(n in e&&t.call(r,e[n],n)===tp)return}}}function tv(e,t,r){if(!D(e)){if(C(e))return tg(e,t,r);if(V(e)){for(var n of e.entries())if(t.call(r,n[1],n[0])===tp)return}else for(var i in e)if(O.call(e,i)&&t.call(r,e[i],i)===tp)return}}var tm=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return tg(r,function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},t_=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return tg(r,function(t){tg(t,function(t){e.push(t)})}),e};function ty(e){for(var t=Object.keys(e),r=t.length,n=Array(r);r--;)n[r]=[t[r],e[t[r]]];return n}var tb=function(e){try{return e()}catch(e){return}},tE=function(e){return function(){try{for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(this,r)}catch(e){tu.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),tu.critical(e)}}},tw=function(e){var t={};return tv(e,function(e,r){(R(e)&&e.length>0||z(e))&&(t[r]=e)}),t},tx=["herokuapp.com","vercel.app","netlify.app"];function tS(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}function tP(e,t,r,n){var{capture:i=!1,passive:s=!0}=null!=n?n:{};null==e||e.addEventListener(t,r,{capture:i,passive:s})}var tT="$people_distinct_id",tk="__alias",tM="__timers",tO="$autocapture_disabled_server_side",tA="$heatmaps_enabled_server_side",tC="$exception_capture_enabled_server_side",tI="$error_tracking_suppression_rules",tL="$error_tracking_capture_extension_exceptions",tN="$web_vitals_enabled_server_side",tH="$dead_clicks_enabled_server_side",tR="$product_tours_enabled_server_side",tF="$web_vitals_allowed_metrics",tj="$session_recording_remote_config",tD="$sesid",tz="$session_is_sampled",tB="$enabled_feature_flags",tV="$early_access_features",t$="$feature_flag_details",tU="$stored_person_properties",tG="$stored_group_properties",tq="$surveys",tW="$surveys_activated",tY="$flag_call_reported",tX="$user_state",tK="$client_session_props",tZ="$capture_rate_limit",tJ="$initial_campaign_params",tQ="$initial_referrer_info",t1="$initial_person_info",t2="$epp",t0="__POSTHOG_TOOLBAR__",t3="$posthog_cookieless",t4=[tT,tk,"__cmpns",tM,"$session_recording_enabled_server_side",tA,tD,tB,tI,tX,tV,t$,tG,tU,tq,tY,tK,tZ,tJ,tQ,t2,t1,"$conversations_widget_session_id","$conversations_ticket_id","$conversations_widget_state","$conversations_user_traits"];function t6(e){return e instanceof Element&&(e.id===t0||!(null==e.closest||!e.closest(".toolbar-global-fade-container")))}function t5(e){return!!e&&1===e.nodeType}function t8(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}
11function t7(e){return!!e&&3===e.nodeType}function t9(e){return!!e&&11===e.nodeType}function re(e){return e?P(e).split(/\s+/):[]}function rt(e){var t=null==n?void 0:n.location.href;return!!(t&&e&&e.some(e=>t.match(e)))}function rr(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return re(t)}function rn(e){return D(e)?null:P(e).split(/(\s+)/).filter(e=>rE(e)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function ri(e){var t="";return rd(e)&&!rp(e)&&e.childNodes&&e.childNodes.length&&tv(e.childNodes,function(e){var r;t7(e)&&e.textContent&&(t+=null!==(r=rn(e.textContent))&&void 0!==r?r:"")}),P(t)}function rs(e){var t;return H(e.target)?e.srcElement||null:null!=(t=e.target)&&t.shadowRoot?e.composedPath()[0]||null:e.target||null}var ra=["a","button","form","input","select","textarea","label"];function ro(e,t){if(H(t))return!0;var r,n=function(e){if(t.some(t=>e.matches(t)))return{v:!0}};for(var i of e)if(r=n(i))return r.v;return!1}function rl(e){var t=e.parentNode;return!(!t||!t5(t))&&t}var rc=["next","previous","prev",">","<"],ru=[".ph-no-rageclick",".ph-no-capture"],rh=e=>!e||t8(e,"html")||!t5(e),rf=(e,t)=>{if(!n||rh(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var r=!1,i=[e],s=e;s.parentNode&&!t8(s,"body");)if(t9(s.parentNode))i.push(s.parentNode.host),s=s.parentNode.host;else{var a=rl(s);if(!a)break;if(t||ra.indexOf(a.tagName.toLowerCase())>-1)r=!0;else{var o=n.getComputedStyle(a);o&&"pointer"===o.getPropertyValue("cursor")&&(r=!0)}i.push(a),s=a}return{parentIsUsefulElement:r,targetElementList:i}};function rd(e){for(var t=e;t.parentNode&&!t8(t,"body");t=t.parentNode){var r=rr(t);if(S(r,"ph-sensitive")||S(r,"ph-no-capture"))return!1}if(S(rr(e),"ph-include"))return!0;var n=e.type||"";if(R(n))switch(n.toLowerCase()){case"hidden":case"password":return!1}var i=e.name||e.id||"";return!(R(i)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,"")))}function rp(e){return!!(t8(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||t8(e,"select")||t8(e,"textarea")||"true"===e.getAttribute("contenteditable"))}var rg="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",rv=RegExp("^(?:"+rg+")$"),rm=new RegExp(rg),r_="\\d{3}-?\\d{2}-?\\d{4}",ry=RegExp("^("+r_+")$"),rb=RegExp("("+r_+")");function rE(e,t){return void 0===t&&(t=!0),!(D(e)||R(e)&&(e=P(e),(t?rv:rm).test((e||"").replace(/[- ]/g,""))||(t?ry:rb).test(e)))}function rw(e){var t=ri(e);return rE(t=(t+" "+function e(t){var r="";return t&&t.childNodes&&t.childNodes.length&&tv(t.childNodes,function(t){var n;if(t&&"span"===(null==(n=t.tagName)?void 0:n.toLowerCase()))try{var i=ri(t);r=(r+" "+i).trim(),t.childNodes&&t.childNodes.length&&(r=(r+" "+e(t)).trim())}catch(e){tu.error("[AutoCapture]",e)}}),r}(e)).trim())?t:""}function rx(e){return e.replace(/"|\\"/g,'\\"')}class rS{constructor(e){this.disabled=!1===e;var t=L(e)?e:{};this.thresholdPx=t.threshold_px||30,this.timeoutMs=t.timeout_ms||1e3,this.clickCount=t.click_count||3,this.clicks=[]}isRageClick(e,t,r){if(this.disabled)return!1;var n=this.clicks[this.clicks.length-1];if(n&&Math.abs(e-n.x)+Math.abs(t-n.y)<this.thresholdPx&&r-n.timestamp<this.timeoutMs){if(this.clicks.push({x:e,y:t,timestamp:r}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:e,y:t,timestamp:r}];return!1}}var rP="$copy_autocapture",rT=((rj={}).GZipJS="gzip-js",rj.Base64="base64",rj),rk=e=>{var t=null==c?void 0:c.createElement("a");return H(t)?null:(t.href=e,t)},rM=function(e,t){void 0===t&&(t="&");var r,n,i=[];return tv(e,function(e,t){H(e)||H(t)||"undefined"===t||(r=encodeURIComponent(e instanceof File?e.name:e.toString()),n=encodeURIComponent(t),i[i.length]=n+"="+r)}),i.join(t)},rO=function(e,t){for(var r,n=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),i=0;i<n.length;i++){var s=n[i].split("=");if(s[0]===t){r=s;break}}if(!C(r)||r.length<2)return"";var a=r[1];try{a=decodeURIComponent(a)}catch(e){tu.error("Skipping decoding for malformed query param: "+a)}return a.replace(/\+/g," ")},rA=function(e,t,r){if(!e||!t||!t.length)return e;for(var n=e.split("#"),i=n[0]||"",s=n[1],a=i.split("?"),o=a[1],l=a[0],c=(o||"").split("&"),u=[],h=0;h<c.length;h++){var f=c[h].split("=");C(f)&&(t.includes(f[0])?u.push(f[0]+"="+r):u.push(c[h]))}var d=l;return null!=o&&(d+="?"+u.join("&")),null!=s&&(d+="#"+s),d},rC=function(e,t){var r=e.match(RegExp(t+"=([^&]*)"));return r?r[1]:null},rI=th("[AutoCapture]");function rL(e,t){return t.length>e?t.slice(0,e)+"...":t}class rN{constructor(e){this.P=!1,this.T=null,this.C=!1,this.instance=e,this.rageclicks=new rS(e.config.rageclick),this.R=null}get I(){var e,t,r=L(this.instance.config.autocapture)?this.instance.config.autocapture:{};return r.url_allowlist=null==(e=r.url_allowlist)?void 0:e.map(e=>new RegExp(e)),r.url_ignorelist=null==(t=r.url_ignorelist)?void 0:t.map(e=>new RegExp(e)),r}
11F(){if(this.isBrowserSupported()){if(n&&c){var e=e=>{e=e||(null==n?void 0:n.event);try{this.M(e)}catch(e){rI.error("Failed to capture event",e)}};if(tP(c,"submit",e,{capture:!0}),tP(c,"change",e,{capture:!0}),tP(c,"click",e,{capture:!0}),this.I.capture_copied_text){var t=e=>{e=e||(null==n?void 0:n.event),this.M(e,rP)};tP(c,"copy",t,{capture:!0}),tP(c,"cut",t,{capture:!0})}}}else rI.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.P&&(this.F(),this.P=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.C=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[tO]:!!e.autocapture_opt_out}),this.T=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.R=e}getElementSelectors(e){var t,r=[];return null==(t=this.R)||t.forEach(t=>{var n=null==c?void 0:c.querySelectorAll(t);null==n||n.forEach(n=>{e===n&&r.push(t)})}),r}get isEnabled(){var e,t,r=null==(e=this.instance.persistence)?void 0:e.props[tO];if(j(this.T)&&!B(r)&&!this.instance.O())return!1;var n=null!==(t=this.T)&&void 0!==t?t:!!r;return!!this.instance.config.autocapture&&!n}M(e,t){if(void 0===t&&(t="$autocapture"),this.isEnabled){var r,i=rs(e);t7(i)&&(i=i.parentNode||null),"$autocapture"===t&&"click"===e.type&&e instanceof MouseEvent&&this.instance.config.rageclick&&null!=(r=this.rageclicks)&&r.isRageClick(e.clientX,e.clientY,e.timeStamp||(new Date).getTime())&&function(e,t){if(!n||rh(e)||(B(t)?(r=!!t&&ru,i=void 0):(r=null!==(s=null==t?void 0:t.css_selector_ignorelist)&&void 0!==s?s:ru,i=null==t?void 0:t.content_ignorelist),!1===r))return!1;var r,i,s,{targetElementList:a}=rf(e,!1);return!function(e,t){var r;if(!1===e||H(e))return!1;if(!0===e)r=rc;else{if(!C(e))return!1;if(e.length>10)return tu.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;r=e.map(e=>e.toLowerCase())}return t.some(e=>{var{safeText:t,ariaLabel:n}=e;return r.some(e=>t.includes(e)||n.includes(e))})}(i,a.map(e=>{var t;return{safeText:ri(e).toLowerCase(),ariaLabel:(null==(t=e.getAttribute("aria-label"))?void 0:t.toLowerCase().trim())||""}}))&&!ro(a,r)}(i,this.instance.config.rageclick)&&this.M(e,"$rageclick");var s=t===rP;if(i&&function(e,t,r,i,s){if(void 0===r&&(r=void 0),!n||rh(e)||null!=(a=r)&&a.url_allowlist&&!rt(r.url_allowlist)||null!=(o=r)&&o.url_ignorelist&&rt(r.url_ignorelist))return!1;if(null!=(l=r)&&l.dom_event_allowlist){var a,o,l,c,u=r.dom_event_allowlist;if(u&&!u.some(e=>t.type===e))return!1}var{parentIsUsefulElement:h,targetElementList:f}=rf(e,i);if(!function(e,t){var r=null==t?void 0:t.element_allowlist;if(H(r))return!0;var n,i=function(e){if(r.some(t=>e.tagName.toLowerCase()===t))return{v:!0}};for(var s of e)if(n=i(s))return n.v;return!1}(f,r)||!ro(f,null==(c=r)?void 0:c.css_selector_allowlist))return!1;var d=n.getComputedStyle(e);if(d&&"pointer"===d.getPropertyValue("cursor")&&"click"===t.type)return!0;var p=e.tagName.toLowerCase();switch(p){case"html":return!1;case"form":return(s||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(s||["change","click"]).indexOf(t.type)>=0;default:return h?(s||["click"]).indexOf(t.type)>=0:(s||["click"]).indexOf(t.type)>=0&&(ra.indexOf(p)>-1||"true"===e.getAttribute("contenteditable"))}}(i,e,this.I,s,s?["copy","cut"]:void 0)){var{props:a,explicitNoCapture:o}=function(e,t){for(var r,i,{e:s,maskAllElementAttributes:a,maskAllText:o,elementAttributeIgnoreList:l,elementsChainAsString:c}=t,u=[e],h=e;h.parentNode&&!t8(h,"body");)t9(h.parentNode)?(u.push(h.parentNode.host),h=h.parentNode.host):(u.push(h.parentNode),h=h.parentNode);var f,d=[],p={},g=!1,v=!1;if(tv(u,e=>{var t=rd(e);"a"===e.tagName.toLowerCase()&&(g=e.getAttribute("href"),g=t&&g&&rE(g)&&g),S(rr(e),"ph-no-capture")&&(v=!0),d.push(function(e,t,r,n){var i=e.tagName.toLowerCase(),s={tag_name:i};ra.indexOf(i)>-1&&!r&&("a"===i.toLowerCase()||"button"===i.toLowerCase()?s.$el_text=rL(1024,rw(e)):s.$el_text=rL(1024,ri(e)));var a=rr(e);a.length>0&&(s.classes=a.filter(function(e){return""!==e})),tv(e.attributes,function(r){var i;if((!rp(e)||-1!==["name","id","class","aria-label"].indexOf(r.name))&&(null==n||!n.includes(r.name))&&
11!t&&rE(r.value)&&(!R(i=r.name)||"_ngcontent"!==i.substring(0,10)&&"_nghost"!==i.substring(0,7))){var a=r.value;"class"===r.name&&(a=re(a).join(" ")),s["attr__"+r.name]=rL(1024,a)}});for(var o=1,l=1,c=e;c=function(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!t5(t));return t}(c);)o++,c.tagName===e.tagName&&l++;return s.nth_child=o,s.nth_of_type=l,s}(e,a,o,l)),tm(p,function(e){if(!rd(e))return{};var t={};return tv(e.attributes,function(e){if(e.name&&0===e.name.indexOf("data-ph-capture-attribute")){var r=e.name.replace("data-ph-capture-attribute-",""),n=e.value;r&&n&&rE(n)&&(t[r]=n)}}),t}(e))}),v)return{props:{},explicitNoCapture:v};if(o||("a"===e.tagName.toLowerCase()||"button"===e.tagName.toLowerCase()?d[0].$el_text=rw(e):d[0].$el_text=ri(e)),g){d[0].attr__href=g;var m,_,b=null==(m=rk(g))?void 0:m.host,E=null==n||null==(_=n.location)?void 0:_.host;b&&E&&b!==E&&(f=g)}return{props:tm({$event_type:s.type,$ce_version:1},c?{}:{$elements:d},{$elements_chain:d.map(e=>{var t,r,n,i={text:null==(r=e.$el_text)?void 0:r.slice(0,400),tag_name:e.tag_name,href:null==(n=e.attr__href)?void 0:n.slice(0,2048),attr_class:(t=e.attr__class)?C(t)?t:re(t):void 0,attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return ty(e).filter(e=>{var[t]=e;return 0===t.indexOf("attr__")}).forEach(e=>{var[t,r]=e;return i.attributes[t]=r}),i}).map(e=>{var t,r,n="";if(e.tag_name&&(n+=e.tag_name),e.attr_class)for(var i of(e.attr_class.sort(),e.attr_class))n+="."+i.replace(/"/g,"");var s=y({},e.text?{text:e.text}:{},{"nth-child":null!==(t=e.nth_child)&&void 0!==t?t:0,"nth-of-type":null!==(r=e.nth_of_type)&&void 0!==r?r:0},e.href?{href:e.href}:{},e.attr_id?{attr_id:e.attr_id}:{},e.attributes),a={};return ty(s).sort((e,t)=>{var[r]=e,[n]=t;return r.localeCompare(n)}).forEach(e=>{var[t,r]=e;return a[rx(t.toString())]=rx(r.toString())}),n+=":"+ty(a).map(e=>{var[t,r]=e;return t+'="'+r+'"'}).join("")}).join(";")},null!=(r=d[0])&&r.$el_text?{$el_text:null==(i=d[0])?void 0:i.$el_text}:{},f&&"click"===s.type?{$external_click_url:f}:{},p)}}(i,{e:e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.I.element_attribute_ignorelist,elementsChainAsString:this.C});if(o)return!1;var l=this.getElementSelectors(i);if(l&&l.length>0&&(a.$element_selectors=l),t===rP){var c,u=rn(null==n||null==(c=n.getSelection())?void 0:c.toString()),h=e.type||"clipboard";if(!u)return!1;a.$selected_content=u,a.$copy_type=h}return this.instance.capture(t,a),!0}}}isBrowserSupported(){return I(null==c?void 0:c.querySelectorAll)}}Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return z(e)&&isFinite(e)&&Math.floor(e)===e});var rH="0123456789abcdef";class rR{constructor(e){if(this.bytes=e,16!==e.length)throw TypeError("not 128-bit length")}static fromFieldsV7(e,t,r,n){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(r)||!Number.isInteger(n)||e<0||t<0||r<0||n<0||e>0xffffffffffff||t>4095||r>1073741823||n>4294967295)throw RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=e/1099511627776,i[1]=e/4294967296,i[2]=e/16777216,i[3]=e/65536,i[4]=e/256,i[5]=e,i[6]=112|t>>>8,i[7]=t,i[8]=128|r>>>24,i[9]=r>>>16,i[10]=r>>>8,i[11]=r,i[12]=n>>>24,i[13]=n>>>16,i[14]=n>>>8,i[15]=n,new rR(i)}toString(){for(var e="",t=0;t<this.bytes.length;t++)e=e+rH.charAt(this.bytes[t]>>>4)+rH.charAt(15&this.bytes[t]),3!==t&&5!==t&&7!==t&&9!==t||(e+="-");if(36!==e.length)throw Error("Invalid UUIDv7 was generated");return e}clone(){return new rR(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(var t=0;t<16;t++){var r=this.bytes[t]-e.bytes[t];if(0!==r)return Math.sign(r)}return 0}}class rF{constructor(){this.A=0,this.D=0,this.j=new rB}generate(){var e=this.generateOrAbort();if(H(e)){this.A=0;var t=this.generateOrAbort();if(H(t))throw Error("Could not generate UUID after timestamp reset");return t}return e}generateOrAbort(){var e=Date.now();if(e>this.A)this.A=e,this.L();else{if(!(e+1e4>this.A))return;this.D++,this.D>
114398046511103&&(this.A++,this.L())}return rR.fromFieldsV7(this.A,Math.trunc(this.D/1073741824),1073741823&this.D,this.j.nextUint32())}L(){this.D=1024*this.j.nextUint32()+(1023&this.j.nextUint32())}}var rj,rD,rz=e=>{if("undefined"!=typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};n&&!H(n.crypto)&&crypto.getRandomValues&&(rz=e=>crypto.getRandomValues(e));class rB{constructor(){this.N=new Uint32Array(8),this.U=1/0}nextUint32(){return this.U>=this.N.length&&(rz(this.N),this.U=0),this.N[this.U++]}}var rV=()=>r$().toString(),r$=()=>(rD||(rD=new rF)).generate(),rU="",rG=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,rq={H:()=>!!c,B:function(e){tu.error("cookieStore error: "+e)},q:function(e){if(c){try{for(var t=e+"=",r=c.cookie.split(";").filter(e=>e.length),n=0;n<r.length;n++){for(var i=r[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}}catch(e){}return null}},W:function(e){var t;try{t=JSON.parse(rq.q(e))||{}}catch(e){}return t},G:function(e,t,r,n,i){if(c)try{var s="",a="",o=function(e,t){if(t){var r=function(e,t){if(void 0===t&&(t=c),rU)return rU;if(!t||["localhost","127.0.0.1"].includes(e))return"";for(var r=e.split("."),n=Math.min(r.length,8),i="dmn_chk_"+rV();!rU&&n--;){var s=r.slice(n).join("."),a=i+"=1;domain=."+s+";path=/";t.cookie=a+";max-age=3",t.cookie.includes(i)&&(t.cookie=a+";max-age=0",rU=s)}return rU}(e);if(!r){var n,i=(n=e.match(rG))?n[0]:"";i!==r&&tu.info("Warning: cookie subdomain discovery mismatch",i,r),r=i}return r?"; domain=."+r:""}return""}(c.location.hostname,n);if(r){var l=new Date;l.setTime(l.getTime()+24*r*36e5),s="; expires="+l.toUTCString()}i&&(a="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+s+"; SameSite=Lax; path=/"+o+a;return u.length>3686.4&&tu.warn("cookieStore warning: large cookie, len="+u.length),c.cookie=u,u}catch(e){return}},V:function(e,t){if(null!=c&&c.cookie)try{rq.G(e,"",-1,t)}catch(e){return}}},rW=null,rY={H:function(){if(!j(rW))return rW;var e=!0;if(H(n))e=!1;else try{var t="__mplssupport__";rY.G(t,"xyz"),'"xyz"'!==rY.q(t)&&(e=!1),rY.V(t)}catch(t){e=!1}return e||tu.error("localStorage unsupported; falling back to cookie store"),rW=e,e},B:function(e){tu.error("localStorage error: "+e)},q:function(e){try{return null==n?void 0:n.localStorage.getItem(e)}catch(e){rY.B(e)}return null},W:function(e){try{return JSON.parse(rY.q(e))||{}}catch(e){}return null},G:function(e,t){try{null==n||n.localStorage.setItem(e,JSON.stringify(t))}catch(e){rY.B(e)}},V:function(e){try{null==n||n.localStorage.removeItem(e)}catch(e){rY.B(e)}}},rX=["distinct_id",tD,tz,t2,t1],rK=y({},rY,{W:function(e){try{var t={};try{t=rq.W(e)||{}}catch(e){}var r=tm(t,JSON.parse(rY.q(e)||"{}"));return rY.G(e,r),r}catch(e){}return null},G:function(e,t,r,n,i,s){try{rY.G(e,t,void 0,void 0,s);var a={};rX.forEach(e=>{t[e]&&(a[e]=t[e])}),Object.keys(a).length&&rq.G(e,a,r,n,i,s)}catch(e){rY.B(e)}},V:function(e,t){try{null==n||n.localStorage.removeItem(e),rq.V(e,t)}catch(e){rY.B(e)}}}),rZ={},rJ={H:function(){return!0},B:function(e){tu.error("memoryStorage error: "+e)},q:function(e){return rZ[e]||null},W:function(e){return rZ[e]||null},G:function(e,t){rZ[e]=t},V:function(e){delete rZ[e]}},rQ=null,r1={H:function(){if(!j(rQ))return rQ;if(rQ=!0,H(n))rQ=!1;else try{var e="__support__";r1.G(e,"xyz"),'"xyz"'!==r1.q(e)&&(rQ=!1),r1.V(e)}catch(e){rQ=!1}return rQ},B:function(e){tu.error("sessionStorage error: ",e)},q:function(e){try{return null==n?void 0:n.sessionStorage.getItem(e)}catch(e){r1.B(e)}return null},W:function(e){try{return JSON.parse(r1.q(e))||null}catch(e){}return null},G:function(e,t){try{null==n||n.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){r1.B(e)}},V:function(e){try{null==n||n.sessionStorage.removeItem(e)}catch(e){r1.B(e)}}},r2=((sE={})[sE.PENDING=-1]="PENDING",sE[sE.DENIED=0]="DENIED",sE[sE.GRANTED=1]="GRANTED",sE);class r0{constructor(e){this._instance=e}get I(){return this._instance.config}get consent(){return this.J()?r2.DENIED:this.K}isOptedOut(){return"always"===this.I.cookieless_mode||this.consent===r2.DENIED||this.consent===r2.PENDING&&(this.I.opt_out_capturing_by_default||"on_reject"===this.I.cookieless_mode)}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===r2.DENIED}optInOut(e){this.Y.G(this.X,e?1:0,this.I.cookie_expiration,this.I.cross_subdomain_cookie,this.I.secure_cookie)}reset(){this.Y.V(this.X,this.I.cross_subdomain_cookie)}get X(){var{token:e,opt_out_capturing_cookie_prefix:t,consent_persistence_name:r}=this._instance.config;return r||(t?t+e:"__ph_opt_in_out_"+e)}get K(){var e=this.Y.q(this.X);return Y(e)?r2.GRANTED:S(X,e)?r2.DENIED:r2.PENDING}get Y(){if(!this.Z){var e=this.I.opt_out_capturing_persistence_type;this.Z="localStorage"===e?rY:rq;var t="localStorage"===e?rq:rY;
11t.q(this.X)&&(this.Z.q(this.X)||this.optInOut(Y(t.q(this.X))),t.V(this.X,this.I.cross_subdomain_cookie))}return this.Z}J(){return!!this.I.respect_dnt&&!!tS([null==l?void 0:l.doNotTrack,null==l?void 0:l.msDoNotTrack,g.doNotTrack],e=>Y(e))}}var r3=th("[Dead Clicks]"),r4=()=>!0,r6=e=>{var t,r=!(null==(t=e.instance.persistence)||!t.get_property(tH)),n=e.instance.config.capture_dead_clicks;return B(n)?n:!!L(n)||r};class r5{get lazyLoadedDeadClicksAutocapture(){return this.tt}constructor(e,t,r){this.instance=e,this.isEnabled=t,this.onCapture=r,this.startIfEnabled()}onRemoteConfig(e){this.instance.persistence&&this.instance.persistence.register({[tH]:null==e?void 0:e.captureDeadClicks}),this.startIfEnabled()}startIfEnabled(){this.isEnabled(this)&&this.it(()=>{this.et()})}it(e){var t,r;null!=(t=g.__PosthogExtensions__)&&t.initDeadClicksAutocapture&&e(),null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this.instance,"dead-clicks-autocapture",t=>{t?r3.error("failed to load script",t):e()})}et(){var e;if(c){if(!this.tt&&null!=(e=g.__PosthogExtensions__)&&e.initDeadClicksAutocapture){var t=L(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};t.__onCapture=this.onCapture,this.tt=g.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,t),this.tt.start(c),r3.info("starting...")}}else r3.error("`document` not found. Cannot start.")}stop(){this.tt&&(this.tt.stop(),this.tt=void 0,r3.info("stopping..."))}}var r8=th("[ExceptionAutocapture]");class r7{constructor(e){var t,r,i;this.rt=()=>{var e;if(n&&this.isEnabled&&null!=(e=g.__PosthogExtensions__)&&e.errorWrappingFunctions){var t=g.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,r=g.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,i=g.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.st&&this.I.capture_unhandled_errors&&(this.st=t(this.captureException.bind(this))),!this.nt&&this.I.capture_unhandled_rejections&&(this.nt=r(this.captureException.bind(this))),!this.ot&&this.I.capture_console_errors&&(this.ot=i(this.captureException.bind(this)))}catch(e){r8.error("failed to start",e),this.ut()}}},this._instance=e,this.ht=!(null==(t=this._instance.persistence)||!t.props[tC]),this.I=this.dt(),this.vt=new Z({refillRate:null!==(r=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)&&void 0!==r?r:1,bucketSize:null!==(i=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)&&void 0!==i?i:10,refillInterval:1e4,h:r8}),this.startIfEnabled()}dt(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return L(e)?t=y({},t,e):(H(e)?this.ht:e)&&(t=y({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.I.capture_console_errors||this.I.capture_unhandled_errors||this.I.capture_unhandled_rejections}startIfEnabled(){this.isEnabled&&(r8.info("enabled"),this.it(this.rt))}it(e){var t,r;null!=(t=g.__PosthogExtensions__)&&t.errorWrappingFunctions&&e(),null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"exception-autocapture",t=>{if(t)return r8.error("failed to load script",t);e()})}ut(){var e,t,r;null==(e=this.st)||e.call(this),this.st=void 0,null==(t=this.nt)||t.call(this),this.nt=void 0,null==(r=this.ot)||r.call(this),this.ot=void 0}onRemoteConfig(e){var t=e.autocaptureExceptions;this.ht=!!t,this.I=this.dt(),this._instance.persistence&&this._instance.persistence.register({[tC]:this.ht}),this.startIfEnabled()}captureException(e){var t,r,n=null!==(t=null==e||null==(r=e.$exception_list)||null==(r=r[0])?void 0:r.type)&&void 0!==t?t:"Exception";this.vt.consumeRateLimit(n)?r8.info("Skipping exception capture because of client rate limiting.",{exception:n}):this._instance.exceptions.sendExceptionEvent(e)}}function r9(e,t,r){try{if(!(t in e))return()=>{};var n=e[t],i=r(n);return I(i)&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=i,()=>{e[t]=n}}catch(e){return()=>{}}}class ne{constructor(e){var t;this._instance=e,this.ct=(null==n||null==(t=n.location)?void 0:t.pathname)||""}get isEnabled(){return"history_change"===this._instance.config.capture_pageview}startIfEnabled(){this.isEnabled&&(tu.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.ft&&this.ft(),this.ft=void 0,tu.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(n&&n.history){var r=this;null!=(e=n.history.pushState)&&e.__posthog_wrapped__||r9(n.history,"pushState",e=>function(t,n,i){e.call(this,t,n,i),r._t("pushState")}),null!=(t=n.history.replaceState)&&t.__posthog_wrapped__||r9(n.history,"replaceState",e=>function(t,n,i){e.call(this,t,n,i),r._t("replaceState")}),this.yt()}}_t(e){try{var t,r=null==n||null==(t=n.location)?void 0:t.pathname;if(!r)return;r!==this.ct&&this.isEnabled&&this._instance.capture("$pageview",{navigation_type:e}),this.ct=r}catch(t){tu.error("Error capturing "+e+" pageview",t)}}yt(){if(!this.ft){var e=()=>{this._t("popstate")};tP(n,"popstate",e),this.ft=()=>{n&&n.removeEventListener("popstate",e)}}}}var nt=th("[SegmentIntegration]"),nr="posthog-js";function nn(e,t){var{organization:r,projectId:n,prefix:i,severityAllowList:s=["error"],sendExceptionsToPostHog:a=!0}=void 0===t?{}:t;return t=>{if(!("*"===s||s.includes(t.level))||!e.__loaded)return t;t.tags||(t.tags={});var o,l,c,u,h,f=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/pers
11on/"+e.get_distinct_id());t.tags["PostHog Person URL"]=f,e.sessionRecordingStarted()&&(t.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var d=(null==(o=t.exception)?void 0:o.values)||[],p=d.map(e=>y({},e,{stacktrace:e.stacktrace?y({},e.stacktrace,{type:"raw",frames:(e.stacktrace.frames||[]).map(e=>y({},e,{platform:"web:javascript"}))}):void 0})),g={$exception_message:(null==(l=d[0])?void 0:l.value)||t.message,$exception_type:null==(c=d[0])?void 0:c.type,$exception_level:t.level,$exception_list:p,$sentry_event_id:t.event_id,$sentry_exception:t.exception,$sentry_exception_message:(null==(u=d[0])?void 0:u.value)||t.message,$sentry_exception_type:null==(h=d[0])?void 0:h.type,$sentry_tags:t.tags};return r&&n&&(g.$sentry_url=(i||"https://sentry.io/organizations/")+r+"/issues/?project="+n+"&query="+t.event_id),a&&e.exceptions.sendExceptionEvent(g),t}}class ni{constructor(e,t,r,n,i,s){this.name=nr,this.setupOnce=function(a){a(nn(e,{organization:t,projectId:r,prefix:n,severityAllowList:i,sendExceptionsToPostHog:null==s||s}))}}}var ns=null!=n&&n.location?rC(n.location.hash,"__posthog")||rC(location.hash,"state"):null,na="_postHogToolbarParams",no=th("[Toolbar]"),nl=((sw=nl||{})[sw.UNINITIALIZED=0]="UNINITIALIZED",sw[sw.LOADING=1]="LOADING",sw[sw.LOADED=2]="LOADED",sw);class nc{constructor(e){this.instance=e}bt(e){g.ph_toolbar_state=e}wt(){var e;return null!==(e=g.ph_toolbar_state)&&void 0!==e?e:nl.UNINITIALIZED}maybeLoadToolbar(e,t,r){if(void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===r&&(r=void 0),!n||!c)return!1;e=null!=e?e:n.location,r=null!=r?r:n.history;try{if(!t){try{n.localStorage.setItem("test","test"),n.localStorage.removeItem("test")}catch(e){return!1}t=null==n?void 0:n.localStorage}var i,s=ns||rC(e.hash,"__posthog")||rC(e.hash,"state"),a=s?tb(()=>JSON.parse(atob(decodeURIComponent(s))))||tb(()=>JSON.parse(decodeURIComponent(s))):null;return a&&"ph_authorize"===a.action?((i=a).source="url",i&&Object.keys(i).length>0&&(a.desiredHash?e.hash=a.desiredHash:r?r.replaceState(r.state,"",e.pathname+e.search):e.hash="")):((i=JSON.parse(t.getItem(na)||"{}")).source="localstorage",delete i.userIntent),!(!i.token||this.instance.config.token!==i.token)&&(this.loadToolbar(i),!0)}catch(e){return!1}}xt(e){var t=g.ph_load_toolbar||g.ph_load_editor;!D(t)&&I(t)?t(e,this.instance):no.warn("No toolbar load function found")}loadToolbar(e){var t,r=!(null==c||!c.getElementById(t0));if(!n||r)return!1;var i="custom"===this.instance.requestRouter.region&&this.instance.config.advanced_disable_toolbar_metrics,s=y({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},i?{instrument:!1}:{});return(n.localStorage.setItem(na,JSON.stringify(y({},s,{source:void 0}))),this.wt()===nl.LOADED)?this.xt(s):this.wt()===nl.UNINITIALIZED&&(this.bt(nl.LOADING),null==(t=g.__PosthogExtensions__)||null==t.loadExternalDependency||t.loadExternalDependency(this.instance,"toolbar",e=>{if(e)return no.error("[Toolbar] Failed to load",e),void this.bt(nl.UNINITIALIZED);this.bt(nl.LOADED),this.xt(s)}),tP(n,"turbolinks:load",()=>{this.bt(nl.UNINITIALIZED),this.loadToolbar(s)})),!0}Et(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,r){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===r&&(r=void 0),this.maybeLoadToolbar(e,t,r)}}var nu=th("[TracingHeaders]");class nh{constructor(e){this.$t=void 0,this.St=void 0,this.rt=()=>{var e,t;H(this.$t)&&(null==(e=g.__PosthogExtensions__)||null==(e=e.tracingHeadersPatchFns)||e._patchXHR(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager)),H(this.St)&&(null==(t=g.__PosthogExtensions__)||null==(t=t.tracingHeadersPatchFns)||t._patchFetch(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}it(e){var t,r;null!=(t=g.__PosthogExtensions__)&&t.tracingHeadersPatchFns&&e(),null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"tracing-headers",t=>{if(t)return nu.error("failed to load script",t);e()})}startIfEnabledOrStop(){var e,t;this._instance.config.__add_tracing_headers?this.it(this.rt):(null==(e=this.$t)||e.call(this),null==(t=this.St)||t.call(this),this.$t=void 0,this.St=void 0)}}var nf="https?://(.*)",nd=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],np=t_(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid"],nd
11),ng="<masked>",nv=["li_fat_id"];function nm(e,t,r){if(!c)return{};var n,i=t?t_([],nd,r||[]):[],s=n_(rA(c.URL,i,ng),e);return tm((n={},tv(nv,function(e){var t=rq.q(e);n[e]=t||null}),n),s)}function n_(e,t){var r=np.concat(t||[]),n={};return tv(r,function(t){var r=rO(e,t);n[t]=r||null}),n}function ny(e){var t=e?0===e.search(nf+"google.([^/?]*)")?"google":0===e.search(nf+"bing.com")?"bing":0===e.search(nf+"yahoo.com")?"yahoo":0===e.search(nf+"duckduckgo.com")?"duckduckgo":null:null,r={};if(!j(t)){r.$search_engine=t;var n=c?rO(c.referrer,"yahoo"!=t?"q":"p"):"";n.length&&(r.ph_keyword=n)}return r}function nb(){return navigator.language||navigator.userLanguage}function nE(){return(null==c?void 0:c.referrer)||"$direct"}function nw(e,t){var r=e?t_([],nd,t||[]):[],n=null==u?void 0:u.href.substring(0,1e3);return{r:nE().substring(0,1e3),u:n?rA(n,r,ng):void 0}}function nx(e){var t,{r:r,u:n}=e,i={$referrer:r,$referring_domain:null==r?void 0:"$direct"==r?"$direct":null==(t=rk(r))?void 0:t.host};if(n){i.$current_url=n;var s=rk(n);i.$host=null==s?void 0:s.host,i.$pathname=null==s?void 0:s.pathname,tm(i,n_(n))}return r&&tm(i,ny(r)),i}function nS(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}}var nP=th("[Web Vitals]");class nT{constructor(e){var t;this.kt=!1,this.P=!1,this.N={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.Pt=()=>{clearTimeout(this.Tt),0!==this.N.metrics.length&&(this._instance.capture("$web_vitals",this.N.metrics.reduce((e,t)=>y({},e,{["$web_vitals_"+t.name+"_event"]:y({},t),["$web_vitals_"+t.name+"_value"]:t.value}),{})),this.N={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.Ct=e=>{var t,r=null==(t=this._instance.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0);if(H(r))nP.error("Could not read session ID. Dropping metrics!");else{this.N=this.N||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var n=this.Rt();H(n)||(D(null==e?void 0:e.name)||D(null==e?void 0:e.value)?nP.error("Invalid metric received",e):this.It&&e.value>=this.It?nP.error("Ignoring metric with value >= "+this.It,e):(this.N.url!==n&&(this.Pt(),this.Tt=setTimeout(this.Pt,this.flushToCaptureTimeoutMs)),H(this.N.url)&&(this.N.url=n),this.N.firstMetricTimestamp=H(this.N.firstMetricTimestamp)?Date.now():this.N.firstMetricTimestamp,e.attribution&&e.attribution.interactionTargetElement&&(e.attribution.interactionTargetElement=void 0),this.N.metrics.push(y({},e,{$current_url:n,$session_id:r.sessionId,$window_id:r.windowId,timestamp:Date.now()})),this.N.metrics.length===this.allowedMetrics.length&&this.Pt()))}},this.rt=()=>{var e,t,r,n,i=g.__PosthogExtensions__;H(i)||H(i.postHogWebVitalsCallbacks)||({onLCP:e,onCLS:t,onFCP:r,onINP:n}=i.postHogWebVitalsCallbacks),e&&t&&r&&n?(this.allowedMetrics.indexOf("LCP")>-1&&e(this.Ct.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&t(this.Ct.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&r(this.Ct.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&n(this.Ct.bind(this)),this.P=!0):nP.error("web vitals callbacks not loaded - not starting")},this._instance=e,this.kt=!(null==(t=this._instance.persistence)||!t.props[tN]),this.startIfEnabled()}get allowedMetrics(){var e,t,r=L(this._instance.config.capture_performance)?null==(e=this._instance.config.capture_performance)?void 0:e.web_vitals_allowed_metrics:void 0;return H(r)?(null==(t=this._instance.persistence)?void 0:t.props[tF])||["CLS","FCP","INP","LCP"]:r}get flushToCaptureTimeoutMs(){return(L(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_delayed_flush_ms:void 0)||5e3}get It(){var e=L(this._instance.config.capture_performance)&&z(this._instance.config.capture_performance.__web_vitals_max_value)?this._instance.config.capture_performance.__web_vitals_max_value:9e5;return 0<e&&e<=6e4?9e5:e}get isEnabled(){var e=null==u?void 0:u.protocol;if("http:"!==e&&"https:"!==e)return nP.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=L(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals:B(this._instance.config.capture_performance)?this._instance.config.capture_performance:void 0;return B(t)?t:this.kt}startIfEnabled(){this.isEnabled&&!this.P&&(nP.info("enabled, starting..."),this.it(this.rt))}onRemoteConfig(e){var t=L(e.capturePerformance)&&!!e.capturePerformance.web_vitals,r=L(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[tN]:t}),this._instance.persistence.register({[tF]:r})),this.kt=t,this.startIfEnabled()}it(e){var t,r;null!=(t=g.__PosthogExtensions__)&&t.postHogWebVitalsCallbacks&&e(),null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"web-vitals",t=>{t?nP.error("failed to load script",t):e()})}Rt(){var e=n?n.location.href:void 0;if(e){var t=this._instance.config.mask_personal_data_properties,r=this._instance.config.custom_personal_data_properties;return rA(e,t?t_([],nd,r||[]):[],ng)}nP.error("Could not determine current URL")}}var nk=th("[Heatmaps]");function nM(e){return L(e)&&"clientX"in e&&"clientY"in e&&z(e.clientX)&&z(e.clientY)}class nO{constructor(e){var t;this.kt=!1,this.P=!1,this.Ft=null,this.instance=e,this.kt=!(null==(t=this.instance.persistence)||!t.props[tA]),this.rageclicks=new rS(e.config.rageclick)}get flushIntervalMilliseconds(){var e=5e3;return L(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(e=this.instance.config.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return H(this.instance.config.capture_heatmaps)?H(this.instance.config.enable_heatmaps)?this.kt:this.instance.config.enable_heatmaps:!1!==this.instance.config.capture_heatmaps}startIfEnabled(){if(this.isEnabled)this.P||(nk.info("starting..."),this.Mt(),this.Ot());else{var e;clearInterval(null!==(e=this.Ft)&&void 0!==e?e:void 0),this.At(),this.getAndClearBuffer()}}onRemoteConfig(e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[tA]:t}),this.kt=t,this.startIfEnabled()}getAndClearBuffer(){var e=this.N;return this.N=void 0,e}Dt(e){this.jt(e.originalEvent,"deadclick")}Ot(){this.Ft&&clearInterval(this.Ft),this.Ft="visible"===(null==c?void 0:c.visibilityState)?setInterval(this.Lt.bind(this),this.flushIntervalMilliseconds):null}
11Mt(){n&&c&&(this.Nt=this.Lt.bind(this),tP(n,"beforeunload",this.Nt),this.Ut=e=>this.jt(e||(null==n?void 0:n.event)),tP(c,"click",this.Ut,{capture:!0}),this.zt=e=>this.Ht(e||(null==n?void 0:n.event)),tP(c,"mousemove",this.zt,{capture:!0}),this.Bt=new r5(this.instance,r4,this.Dt.bind(this)),this.Bt.startIfEnabled(),this.qt=this.Ot.bind(this),tP(c,"visibilitychange",this.qt),this.P=!0)}At(){var e;n&&c&&(this.Nt&&n.removeEventListener("beforeunload",this.Nt),this.Ut&&c.removeEventListener("click",this.Ut,{capture:!0}),this.zt&&c.removeEventListener("mousemove",this.zt,{capture:!0}),this.qt&&c.removeEventListener("visibilitychange",this.qt),clearTimeout(this.Wt),null==(e=this.Bt)||e.stop(),this.P=!1)}Gt(e,t){var r=this.instance.scrollManager.scrollY(),i=this.instance.scrollManager.scrollX(),s=this.instance.scrollManager.scrollElement(),a=function(e,t,r){for(var i=e;i&&t5(i)&&!t8(i,"body")&&i!==r;){if(S(t,null==n?void 0:n.getComputedStyle(i).position))return!0;i=rl(i)}return!1}(rs(e),["fixed","sticky"],s);return{x:e.clientX+(a?0:i),y:e.clientY+(a?0:r),target_fixed:a,type:t}}jt(e,t){var r;if(void 0===t&&(t="click"),!t6(e.target)&&nM(e)){var n=this.Gt(e,t);null!=(r=this.rageclicks)&&r.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&this.Vt(y({},n,{type:"rageclick"})),this.Vt(n)}}Ht(e){!t6(e.target)&&nM(e)&&(clearTimeout(this.Wt),this.Wt=setTimeout(()=>{this.Vt(this.Gt(e,"mousemove"))},500))}Vt(e){if(n){var t=n.location.href,r=this.instance.config.mask_personal_data_properties,i=this.instance.config.custom_personal_data_properties,s=rA(t,r?t_([],nd,i||[]):[],ng);this.N=this.N||{},this.N[s]||(this.N[s]=[]),this.N[s].push(e)}}Lt(){this.N&&!N(this.N)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}}class nA{constructor(e){this._instance=e}doPageView(e,t){var r,i=this.Jt(e,t);return this.Kt={pathname:null!==(r=null==n?void 0:n.location.pathname)&&void 0!==r?r:"",pageViewId:t,timestamp:e},this._instance.scrollManager.resetContext(),i}doPageLeave(e){var t;return this.Jt(e,null==(t=this.Kt)?void 0:t.pageViewId)}doEvent(){var e;return{$pageview_id:null==(e=this.Kt)?void 0:e.pageViewId}}Jt(e,t){var r=this.Kt;if(!r)return{$pageview_id:t};var n={$pageview_id:t,$prev_pageview_id:r.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:s,lastScrollY:a,maxScrollY:o,maxContentHeight:l,lastContentY:c,maxContentY:u}=i;if(!(H(s)||H(a)||H(o)||H(l)||H(c)||H(u))){s=Math.ceil(s),a=Math.ceil(a),o=Math.ceil(o),l=Math.ceil(l),c=Math.ceil(c),u=Math.ceil(u);var h=s<=1?1:K(a/s,0,1,tu),f=s<=1?1:K(o/s,0,1,tu),d=l<=1?1:K(c/l,0,1,tu),p=l<=1?1:K(u/l,0,1,tu);n=tm(n,{$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:h,$prev_pageview_max_scroll:o,$prev_pageview_max_scroll_percentage:f,$prev_pageview_last_content:c,$prev_pageview_last_content_percentage:d,$prev_pageview_max_content:u,$prev_pageview_max_content_percentage:p})}}return r.pathname&&(n.$prev_pageview_pathname=r.pathname),r.timestamp&&(n.$prev_pageview_duration=(e.getTime()-r.timestamp.getTime())/1e3),n}}var nC=Uint8Array,nI=Uint16Array,nL=Uint32Array,nN=new nC([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),nH=new nC([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),nR=new nC([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),nF=function(e,t){for(var r=new nI(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var i=new nL(r[30]);for(n=1;n<30;++n)for(var s=r[n];s<r[n+1];++s)i[s]=s-r[n]<<5|n;return[r,i]},nj=nF(nN,2),nD=nj[0],nz=nj[1];nD[28]=258,nz[258]=28;for(var nB=nF(nH,0)[1],nV=new nI(32768),n$=0;n$<32768;++n$){var nU=(43690&n$)>>>1|(21845&n$)<<1;nU=(61680&(nU=(52428&nU)>>>2|(13107&nU)<<2))>>>4|(3855&nU)<<4,nV[n$]=((65280&nU)>>>8|(255&nU)<<8)>>>1}var nG=function(e,t,r){for(var n=e.length,i=0,s=new nI(t);i<n;++i)++s[e[i]-1];var a,o=new nI(t);for(i=0;i<t;++i)o[i]=o[i-1]+s[i-1]<<1;if(r){a=new nI(1<<t);var l=15-t;for(i=0;i<n;++i)if(e[i])for(var c=i<<4|e[i],u=t-e[i],h=o[e[i]-1]++<<u,f=h|(1<<u)-1;h<=f;++h)a[nV[h]>>>l]=c}else for(a=new nI(n),i=0;i<n;++i)a[i]=nV[o[e[i]-1]++]>>>15-e[i];return a},nq=new nC(288);for(n$=0;n$<144;++n$)nq[n$]=8;for(n$=144;n$<256;++n$)nq[n$]=9;for(n$=256;n$<280;++n$)nq[n$]=7;for(n$=280;n$<288;++n$)nq[n$]=8;var nW=new nC(32);for(n$=0;n$<32;++n$)nW[n$]=5;var nY=nG(nq,9,0),nX=nG(nW,5,0),nK=function(e){return(e/8>>0)+(7&e&&1)},nZ=function(e,t,r){(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof nI?nI:e instanceof nL?nL:nC)(r-t);return n.set(e.subarray(t,r)),n},nJ=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},nQ=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},n1=function(e,t){for(var r=[],n=0;n<e.length;
11++n)e[n]&&r.push({s:n,f:e[n]});var i=r.length,s=r.slice();if(!i)return[new nC(0),0];if(1==i){var a=new nC(r[0].s+1);return a[r[0].s]=1,[a,1]}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var o=r[0],l=r[1],c=0,u=1,h=2;for(r[0]={s:-1,f:o.f+l.f,l:o,r:l};u!=i-1;)o=r[r[c].f<r[h].f?c++:h++],l=r[c!=u&&r[c].f<r[h].f?c++:h++],r[u++]={s:-1,f:o.f+l.f,l:o,r:l};var f=s[0].s;for(n=1;n<i;++n)s[n].s>f&&(f=s[n].s);var d=new nI(f+1),p=n2(r[u-1],d,0);if(p>t){n=0;var g=0,v=p-t,m=1<<v;for(s.sort(function(e,t){return d[t.s]-d[e.s]||e.f-t.f});n<i;++n){var _=s[n].s;if(!(d[_]>t))break;g+=m-(1<<p-d[_]),d[_]=t}for(g>>>=v;g>0;){var y=s[n].s;d[y]<t?g-=1<<t-d[y]++-1:++n}for(;n>=0&&g;--n){var b=s[n].s;d[b]==t&&(--d[b],++g)}p=t}return[new nC(d),p]},n2=function(e,t,r){return -1==e.s?Math.max(n2(e.l,t,r+1),n2(e.r,t,r+1)):t[e.s]=r},n0=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new nI(++t),n=0,i=e[0],s=1,a=function(e){r[n++]=e},o=1;o<=t;++o)if(e[o]==i&&o!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(i),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(i);s=1,i=e[o]}return[r.subarray(0,n),t]},n3=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},n4=function(e,t,r){var n=r.length,i=nK(t+2);e[i]=255&n,e[i+1]=n>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var s=0;s<n;++s)e[i+s+4]=r[s];return 8*(i+4+n)},n6=function(e,t,r,n,i,s,a,o,l,c,u){nJ(t,u++,r),++i[256];for(var h=n1(i,15),f=h[0],d=h[1],p=n1(s,15),g=p[0],v=p[1],m=n0(f),_=m[0],y=m[1],b=n0(g),E=b[0],w=b[1],x=new nI(19),S=0;S<_.length;++S)x[31&_[S]]++;for(S=0;S<E.length;++S)x[31&E[S]]++;for(var P=n1(x,7),T=P[0],k=P[1],M=19;M>4&&!T[nR[M-1]];--M);var O,A,C,I,L=c+5<<3,N=n3(i,nq)+n3(s,nW)+a,H=n3(i,f)+n3(s,g)+a+14+3*M+n3(x,T)+(2*x[16]+3*x[17]+7*x[18]);if(L<=N&&L<=H)return n4(t,u,e.subarray(l,l+c));if(nJ(t,u,1+(H<N)),u+=2,H<N){O=nG(f,d,0),A=f,C=nG(g,v,0),I=g;var R=nG(T,k,0);for(nJ(t,u,y-257),nJ(t,u+5,w-1),nJ(t,u+10,M-4),u+=14,S=0;S<M;++S)nJ(t,u+3*S,T[nR[S]]);u+=3*M;for(var F=[_,E],j=0;j<2;++j){var D=F[j];for(S=0;S<D.length;++S){var z=31&D[S];nJ(t,u,R[z]),u+=T[z],z>15&&(nJ(t,u,D[S]>>>5&127),u+=D[S]>>>12)}}}else O=nY,A=nq,C=nX,I=nW;for(S=0;S<o;++S)if(n[S]>255){nQ(t,u,O[(z=n[S]>>>18&31)+257]),u+=A[z+257],z>7&&(nJ(t,u,n[S]>>>23&31),u+=nN[z]);var B=31&n[S];nQ(t,u,C[B]),u+=I[B],B>3&&(nQ(t,u,n[S]>>>5&8191),u+=nH[B])}else nQ(t,u,O[n[S]]),u+=A[n[S]];return nQ(t,u,O[256]),u+A[256]},n5=new nL([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),n8=function(){for(var e=new nL(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&3988292384)^r>>>1;e[t]=r}return e}(),n7=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},n9=function(e){var t,r,n,i,s="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,i=0;i<n;i++){var a=e.charCodeAt(i),o=null;a<128?r++:o=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),j(o)||(r>t&&(s+=e.substring(t,r)),s+=o,t=r=i+1)}return r>t&&(s+=e.substring(t,e.length)),s},ie=!!f||!!h,it="text/plain",ir=function(e,t,r){void 0===r&&(r=!0);var n,[i,s]=e.split("?"),a=y({},t),o=null!==(n=null==s?void 0:s.split("&").map(e=>{var t,[n,i]=e.split("="),s=r&&null!==(t=a[n])&&void 0!==t?t:i;return delete a[n],n+"="+s}))&&void 0!==n?n:[],l=rM(a);return l&&o.push(l),i+"?"+o.join("&")},ii=(e,t)=>JSON.stringify(e,(e,t)=>"bigint"==typeof t?t.toString():t,t),is=e=>{var{data:t,compression:r}=e;if(t){if(r===rT.GZipJS){var n,i,s,a,o,l,c,u,h=new Blob([(n=function(e,t){var r=e.length;if("undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var n=new nC(e.length+(e.length>>>1)),i=0,s=function(e){n[i++]=e},a=0;a<r;++a){if(i+5>n.length){var o=new nC(i+8+(r-a<<1));o.set(n),n=o}var l=e.charCodeAt(a);l<128?s(l):(l<2048?s(192|l>>>6):(l>55295&&l<57344?(s(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++a))>>>18),s(128|l>>>12&63)):s(224|l>>>12),s(128|l>>>6&63)),s(128|63&l))}return nZ(n,0,i)}(ii(t)),i={mtime:0},s=4294967295,a={p:function(e){for(var t=s,r=0;r<e.length;++r)t=n8[255&t^e[r]]^t>>>8;s=t},d:function(){return 4294967295^s}},o=n.length,a.p(n),u=(l=10+(i.filename&&i.filename.length+1||0),c=function(e,t,r,n,i,s){var a=e.length,o=new nC(n+a+5*(1+Math.floor(a/7e3))+8),l=o.subarray(n,o.length-8),c=0;if(!t||a<8)for(var u=0;u<=a;u+=65535){var h=u+65535;h<a?c=n4(l,c,e.subarray(u,h)):(l[u]=s,c=n4(l,c,e.subarray(u,a)))}else{for(var f=n5[t-1],d=f>>>13,p=8191&f,g=(1<<r)-1,v=new nI(32768),m=new nI(g+1),_=Math.ceil(r/3),y=2*_,b=function(t){return(e[t]^e[t+1]<<_^e[t+2]<<y)&g},E=new nL(25e3),w=new nI(288),x=new nI(32),S=0,P=0,T=(u=0,0),k=0,M=0;u<a;++u){var O=b(u),A=32767&u,C=m[O];if(v[A]=C,m[O]=A,k<=u){var I=a-u;if((S>7e3||T>24576)&&I>423){c=n6(e,l,0,E,w,x,P,T,M,u-M,c),T=S=P=0,M=u;for(var L=0;L<286;++L)w[L]=0;for(L=0;L<30;++L)x[L]=0}var N=2,H=0,R=p,F=A-C&32767;if(I>2&&O==b(u-F))for(var j=Math.min(d,I)-1,D=Math.min(32767,u),z=Math.min(258,I);F<=D&&--R&&A!=C;){if(e[u+N]==e[u+N-F]){for(var B=0;B<z&&e[u+B]==e[u+B-F];++B);if(B>N){if(N=B,H=F,B>j)break;var V=Math.min(F,B-2),$=0;for(L=0;L<V;++L){var U=u-F+L+32768&32767,G=U-v[U]+32768&32767;G>$&&($=G,C=U)}}}F+=(A=C)-(C=v[A])+32768&32767}if(H){E[T++]=268435456|nz[N]<<18|nB[H];var q=31&nz[N],W=31&nB[H];
11P+=nN[q]+nH[W],++w[257+q],++x[W],k=u+N,++S}else E[T++]=e[u],++w[e[u]]}}c=n6(e,l,s,E,w,x,P,T,M,u-M,c)}return nZ(o,0,n+nK(c)+i)}(n,null==i.level?6:i.level,null==i.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(n.length)))):12+i.mem,l,8,!0)).length,function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&n7(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}}(c,i),n7(c,u-8,a.d()),n7(c,u-4,o),c)],{type:it});return{contentType:it,body:h,estimatedSize:h.size}}if(r===rT.Base64){let e;var f="data="+encodeURIComponent("string"==typeof(e=function(e){var t,r,n,i,s,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=0,l=0,c="",u=[];if(!e)return e;e=n9(e);do t=(s=e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<8|e.charCodeAt(o++))>>18&63,r=s>>12&63,n=s>>6&63,i=63&s,u[l++]=a.charAt(t)+a.charAt(r)+a.charAt(n)+a.charAt(i);while(o<e.length);switch(c=u.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c}(ii(t)))?e:ii(e));return{contentType:"application/x-www-form-urlencoded",body:f,estimatedSize:new Blob([f]).size}}var d=ii(t);return{contentType:"application/json",body:d,estimatedSize:new Blob([d]).size}}},ia=[];h&&ia.push({transport:"fetch",method:e=>{var t,r,{contentType:n,body:i,estimatedSize:s}=null!==(t=is(e))&&void 0!==t?t:{},a=new Headers;tv(e.headers,function(e,t){a.append(t,e)}),n&&a.append("Content-Type",n);var o=e.url,l=null;if(d){var c=new d;l={signal:c.signal,timeout:setTimeout(()=>c.abort(),e.timeout)}}h(o,y({method:(null==e?void 0:e.method)||"GET",headers:a,keepalive:"POST"===e.method&&52428.8>(s||0),body:i,signal:null==(r=l)?void 0:r.signal},e.fetchOptions)).then(t=>t.text().then(r=>{var n={statusCode:t.status,text:r};if(200===t.status)try{n.json=JSON.parse(r)}catch(e){tu.error(e)}null==e.callback||e.callback(n)})).catch(t=>{tu.error(t),null==e.callback||e.callback({statusCode:0,text:t})}).finally(()=>l?clearTimeout(l.timeout):null)}}),f&&ia.push({transport:"XHR",method:e=>{var t,r=new f;r.open(e.method||"GET",e.url,!0);var{contentType:n,body:i}=null!==(t=is(e))&&void 0!==t?t:{};tv(e.headers,function(e,t){r.setRequestHeader(t,e)}),n&&r.setRequestHeader("Content-Type",n),e.timeout&&(r.timeout=e.timeout),e.disableXHRCredentials||(r.withCredentials=!0),r.onreadystatechange=()=>{if(4===r.readyState){var t={statusCode:r.status,text:r.responseText};if(200===r.status)try{t.json=JSON.parse(r.responseText)}catch(e){}null==e.callback||e.callback(t)}},r.send(i)}}),null!=l&&l.sendBeacon&&ia.push({transport:"sendBeacon",method:e=>{var t=ir(e.url,{beacon:"1"});try{var r,{contentType:n,body:i}=null!==(r=is(e))&&void 0!==r?r:{},s="string"==typeof i?new Blob([i],{type:n}):i;l.sendBeacon(t,s)}catch(e){}}});var io=function(e,t){if(!function(e){try{new RegExp(e)}catch(e){return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch(e){return!1}};function il(e,t,r){return ii({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:r})}var ic={exact:(e,t)=>t.some(t=>e.some(e=>t===e)),is_not:(e,t)=>t.every(t=>e.every(e=>t!==e)),regex:(e,t)=>t.some(t=>e.some(e=>io(t,e))),not_regex:(e,t)=>t.every(t=>e.every(e=>!io(t,e))),icontains:(e,t)=>t.map(iu).some(t=>e.map(iu).some(e=>t.includes(e))),not_icontains:(e,t)=>t.map(iu).every(t=>e.map(iu).every(e=>!t.includes(e))),gt:(e,t)=>t.some(t=>{var r=parseFloat(t);return!isNaN(r)&&e.some(e=>r>parseFloat(e))}),lt:(e,t)=>t.some(t=>{var r=parseFloat(t);return!isNaN(r)&&e.some(e=>r<parseFloat(e))})},iu=e=>e.toLowerCase();function ih(e,t){return!e||Object.entries(e).every(e=>{var[r,n]=e,i=null==t?void 0:t[r];if(H(i)||j(i))return!1;var s=[String(i)],a=ic[n.operator];return!!a&&a(n.values,s)})}var id=th("[Error tracking]");class ip{constructor(e){var t,r;this.Yt=[],this.Xt=new eZ([new e7,new tl,new te,new e9,new ta,new ts,new tr,new to],function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(t,n){void 0===n&&(n=0);for(var i=[],s=t.split("\n"),a=n;a<s.length;a++){var o=s[a];if(!(o.length>1024)){var l=e8.test(o)?o.replace(e8,"$1"):o;if(!l.match(/\S*Error: /)){for(var c of r){var u=c(l,e);if(u){i.push(u);break}}if(i.length>=50)break}}}return function(e){if(!e.length)return[];var t=Array.from(e);return t.reverse(),t.slice(0,50).map(e=>y({},e,{filename:e.filename||(t[t.length-1]||{}).filename,function:e.function||"?"}))}(i)}}("web:javascript",e3,e5)),this._instance=e,this.Yt=null!==(t=null==(r=this._instance.persistence)?void 0:r.get_property(tI))&&void 0!==t?t:[]}onRemoteConfig(e){var t,r,n,i=null!==(t=null==(r=e.errorTracking)?void 0:r.suppressionRules)&&void 0!==t?t:[],s=null==(n=e.errorTracking)?void 0:n.captureExtensionExceptions;this.Yt=i,this._instance.persistence&&this._instance.persistence.register({[tI]:this.Yt,[tL]:s})}get Qt(){var e,t=!!this._instance.get_property(tL),r=this._instance.config.error_tracking.captureExtensionExceptions;return null!==(e=null!=r?r:t)&&void 0!==e&&e}buildProperties(e,t){return this.Xt.buildFromUnknown(e,{syntheticException:null==t?void 0:t.syntheticException,mechanism:{handled:null==t?void 0:t.handled}})}sendExceptionEvent(e){var t=e.$exception_list;if(this.Zt(t)){if(this.ti(t))return void id.info("Skipping exception capture because a suppression rule matched");if(!this.Qt&&this.ii(t))return void id.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ei(t))return void id.info("Skipping exception capture because it was thrown by the PostHog SDK")}return this._instance.capture("$exception",e,{_noTruncate:!0,_batchKey:"exceptionEvent"})}ti(e){if(0===e.length)return!1;var t=e.reduce((e,t)=>
11{var{type:r,value:n}=t;return R(r)&&r.length>0&&e.$exception_types.push(r),R(n)&&n.length>0&&e.$exception_values.push(n),e},{$exception_types:[],$exception_values:[]});return this.Yt.some(e=>{var r=e.values.map(e=>{var r,n=ic[e.operator],i=C(e.value)?e.value:[e.value],s=null!==(r=t[e.key])&&void 0!==r?r:[];return i.length>0&&n(i,s)});return"OR"===e.type?r.some(Boolean):r.every(Boolean)})}ii(e){return e.flatMap(e=>{var t,r;return null!==(t=null==(r=e.stacktrace)?void 0:r.frames)&&void 0!==t?t:[]}).some(e=>e.filename&&e.filename.startsWith("chrome-extension://"))}ei(e){if(e.length>0){var t,r,n,i,s=null!==(t=null==(r=e[0].stacktrace)?void 0:r.frames)&&void 0!==t?t:[],a=s[s.length-1];return null!==(n=null==a||null==(i=a.filename)?void 0:i.includes("posthog.com/static"))&&void 0!==n&&n}return!1}Zt(e){return!D(e)&&C(e)}}var ig=th("[FeatureFlags]"),iv=th("[FeatureFlags]",{debugEnabled:!0}),im="$active_feature_flags",i_="$override_feature_flags",iy="$feature_flag_payloads",ib="$override_feature_flag_payloads",iE="$feature_flag_request_id",iw="$feature_flag_evaluated_at",ix=e=>{var t={};for(var[r,n]of ty(e||{}))n&&(t[r]=n);return t},iS=e=>{var t=e.flags;return t?(e.featureFlags=Object.fromEntries(Object.keys(t).map(e=>{var r;return[e,null!==(r=t[e].variant)&&void 0!==r?r:t[e].enabled]})),e.featureFlagPayloads=Object.fromEntries(Object.keys(t).filter(e=>t[e].enabled).filter(e=>{var r;return null==(r=t[e].metadata)?void 0:r.payload}).map(e=>{var r;return[e,null==(r=t[e].metadata)?void 0:r.payload]}))):ig.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e},iP=((sx={}).FeatureFlags="feature_flags",sx.Recordings="recordings",sx);class iT{constructor(e){this.ri=!1,this.si=!1,this.ni=!1,this.oi=!1,this.ai=!1,this.li=!1,this.ui=!1,this._instance=e,this.featureFlagEventHandlers=[]}hi(){var e=this._instance.config.evaluation_environments;return null!=e&&e.length?e.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||ig.error("Invalid evaluation environment found:",e,"Expected non-empty string"),t}):[]}di(){return this.hi().length>0}flags(){if(this._instance.config.__preview_remote_config)this.li=!0;else{var e=!this.vi&&(this._instance.config.advanced_disable_feature_flags||this._instance.config.advanced_disable_feature_flags_on_first_load);this.ci({disableFlags:e})}}get hasLoadedFlags(){return this.si}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this._instance.get_property(t$),t=this._instance.get_property(i_),r=this._instance.get_property(ib);if(!r&&!t)return e||{};var n=tm({},e||{});for(var i of[...new Set([...Object.keys(r||{}),...Object.keys(t||{})])]){var s,a,o=n[i],l=null==t?void 0:t[i],c=H(l)?null!==(s=null==o?void 0:o.enabled)&&void 0!==s&&s:!!l,u=H(l)?o.variant:"string"==typeof l?l:void 0,h=null==r?void 0:r[i],f=y({},o,{enabled:c,variant:c?null!=u?u:null==o?void 0:o.variant:void 0});c!==(null==o?void 0:o.enabled)&&(f.original_enabled=null==o?void 0:o.enabled),u!==(null==o?void 0:o.variant)&&(f.original_variant=null==o?void 0:o.variant),h&&(f.metadata=y({},null==o?void 0:o.metadata,{payload:h,original_payload:null==o||null==(a=o.metadata)?void 0:a.payload})),n[i]=f}return this.ri||(ig.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:r,finalDetails:n}),this.ri=!0),n}getFlagVariants(){var e=this._instance.get_property(tB),t=this._instance.get_property(i_);if(!t)return e||{};for(var r=tm({},e),n=Object.keys(t),i=0;i<n.length;i++)r[n[i]]=t[n[i]];return this.ri||(ig.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:r}),this.ri=!0),r}getFlagPayloads(){var e=this._instance.get_property(iy),t=this._instance.get_property(ib);if(!t)return e||{};for(var r=tm({},e||{}),n=Object.keys(t),i=0;i<n.length;i++)r[n[i]]=t[n[i]];return this.ri||(ig.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:r}),this.ri=!0),r}reloadFeatureFlags(){this.oi||this._instance.config.advanced_disable_feature_flags||this.vi||(this.vi=setTimeout(()=>{this.ci()},5))}fi(){clearTimeout(this.vi),this.vi=void 0}ensureFlagsLoaded(){this.si||this.ni||this.vi||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.oi=e}ci(e){var t;if(this.fi(),!this._instance.O()){if(this.ni)this.ai=!0;else{var r=this._instance.config.token,n=this._instance.get_property("$device_id"),i={token:r,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:y({},(null==(t=this._instance.persistence)?void 0:t.get_initial_props())||{},this._instance.get_property(tU)||{}),group_properties:this._instance.get_property(tG)};j(n)||H(n)||(i.$device_id=n),(null!=e&&e.disableFlags||this._instance.config.advanced_disable_feature_flags)&&(i.disable_flags=!0),this.di()&&(i.evaluation_environments=this.hi());var s=this._instance.config.__preview_remote_config,a=this._instance.config.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":"",o=this._instance.requestRouter.endpointFor("flags",(s?"/flags/?v=2":"/flags/?v=2&config=true")+a);s&&(i.timezone=nS()),this.ni=!0,this._instance._send_request({method:"POST",url:o,data:i,compression:this._instance.config.disable_compression?void 0:rT.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:e=>{var t,r,n,s=!0;200===e.statusCode&&(this.ai||(this.$anon_distinct_id=void 0),s=!1),this.ni=!1,this.li||(this.li=!0,this._instance.pi(null!==(n=e.json)&&void 0!==n?n:{})),(!i.disable_flags||this.ai)&&((this.ui=!s,e.json&&null!=(r=e.json.quotaLimited)&&r.includes(iP.FeatureFlags))?ig.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset.  Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(i.disable_flags||this.receivedFeatureFlags(null!==(t=e.json)&&void 0!==t?t:{},s),this.ai&&(this.ai=!1,this.ci())))}})}}}getFeatureFlag(e,t){if(void 0===t&&(t={}),this.si||this.getFlags()&&this.getFlags().length>0){var r=this.getFlagVariants()[e],n=""+r,i=this._instance.get_property(iE)||void 0,s=this._instance.get_property(iw)||void 0,a=this._instance.get_property(tY)||{};if((t.send_event||!("send_event"in t))&&(!(e in a)||!a[e].includes(n))){C(a[e])?a[e].push(n):a[e]=[n],null==(c=this._instance.persistence)||c.register({[tY]:a});var o=this.getFeatureFlagDetails(e),l={$feature_flag:e,$feature_flag_response:r,$feature_flag_payload:this.getFeatureFlagPayload(e)||null,$feature_flag_request_id:i,$feature_flag_evaluated_at:s,$feature_flag_bootstrapped_response:(null==(u=this._instance.config.bootstrap)||null==(u=u.featureFlags)?void 0:u[e])||null,$feature_flag_bootstrapped_payload:(null==(h=this._instance.config.bootstrap)||null==(h=h.featureFlagPayloads)?void 0:h[e])||null,$used_bootstrap_value:!this.ui};H(null==o||null==(f=o.metadata)?void 0:f.version)||(l.$feature_flag_version=o.metadata.version);var c,u,h,f,d,p,g,v,m,_,y=null!==(d=null==o||null==(p=o.reason)?void 0:p.description)&&void 0!==d?d:null==o||null==(g=o.reason)?void 0:g.code;y&&(l.$feature_flag_reason=y),null!=o&&null!=(v=o.metadata)&&v.id&&(l.$feature_flag_id=o.metadata.id),H(null==o?void 0:o.original_variant)&&H(null==o?void 0:o.original_enabled)||(l.$feature_flag_original_response=H(o.original_variant)?o.original_enabled:o.original_variant),null!=o&&null!=(m=o.metadata)&&m.original_payload&&(l.$feature_flag_original_payload=null==o||null==(_=o.metadata)?void 0:_.original_payload),this._instance.capture("$feature_flag_called",l)}return r}ig.warn('getFeatureFlag for key "'+e+"\" failed. Feature flags didn't load in time.")}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){return this.getFlagPayloads()[e]}getRemoteConfigPayload(e,t){var r=this._instance.config.token,n={distinct_id:this._instance.get_distinct_id(),token:r};this.di()&&(n.evaluation_environments=this.hi()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2&config=true"),data:n,compression:this._instance.config.disable_compression?void 0:rT.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:r=>{var n,i=null==(n=r.json)?void 0:n.featureFlagPayloads;t((null==i?void 0:i[e])||void 0)}})}isFeatureEnabled(e,t){if(void 0===t&&(t={}),this.si||this.getFlags()&&this.getFlags().length>0){var r=this.getFeatureFlag(e,t);return H(r)?void 0:!!r}ig.warn('isFeatureEnabled for key "'+e+"\" failed. Feature flags didn't load in time.")}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}receivedFeatureFlags(e,t){if(this._instance.persistence){this.si=!0;var r=this.getFlagVariants(),n=this.getFlagPayloads(),i=this.getFlagsWithDetails();!function(e,t,r,n,i){void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i={});var s=iS(e),a=s.flags,o=s.featureFlags,l=s.featureFlagPayloads;if(o){var c=e.requestId,u=e.evaluatedAt;if(C(o)){ig.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var h={};if(o)for(var f=0;f<o.length;f++)h[o[f]]=!0;t&&t.register({[im]:o,[tB]:h})}else{var d=o,p=l,g=a;e.errorsWhileComputingFlags&&(d=y({},r,d),p=y({},n,p),g=y({},i,g)),t&&t.register(y({[im]:Object.keys(ix(d)),[tB]:d||{},[iy]:p||{},[t$]:g||{}},c?{[iE]:c}:{},u?{[iw]:u}:{}))}}}(e,this._instance.persistence,r,n,i),this.gi(t)}}override(e,t){void 0===t&&(t=!1),ig.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this._instance.persistence)return ig.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(!1===e)return this._instance.persistence.unregister(i_),this._instance.persistence.unregister(ib),this.gi(),iv.info("All overrides cleared");if(e&&"object"==typeof e&&("flags"in e||"payloads"in e)){var t;if(this.ri=!!(null!==(t=e.suppressWarning)&&void 0!==t&&t),"flags"in e){if(!1===e.flags)this._instance.persistence.unregister(i_),iv.info("Flag overrides cleared");else if(e.flags){if(C(e.flags)){for(var r={},n=0;n<e.flags.length;n++)r[e.flags[n]]=!0;this._instance.persistence.register({[i_]:r})}else this._instance.persistence.register({[i_]:e.flags});iv.info("Flag overrides set",{flags:e.flags})}}return"payloads"in e&&(!1===e.payloads?(this._instance.persistence.unregister(ib),iv.info("Payload overrides cleared")):e.payloads&&(this._instance.persistence.register({[ib]:e.payloads}),iv.info("Payload overrides set",{payloads:e.payloads}))),void this.gi()}this.gi()}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.si){var{flags:t,flagVariants:r}=this.mi();e(t,r)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,r){var n,i=(this._instance.get_property(tV)||[]).find(t=>t.flagKey===e),s={["$feature_enrollment/"+e]:t},a={$feature_flag:e,$feature_enrollment:t,$set:s};i&&(a.$early_access_feature_name=i.name),r&&(a.$feature_enrollment_stage=r),this._instance.capture("$feature_enrollment_update",a),this.setPersonPropertiesForFlags(s,!1);var o=y({},this.getFlagVariants(),{[e]:t});null==(n=this._instance.persistence)||n.register({[im]:Object.keys(ix(o)),[tB]:o}),this.gi()}getEarlyAccessFeatures(e,t,r){void 0===t&&(t=!1);var n=this._instance.get_property(tV),i=r?"&"+r.map(e=>"stage="+e).join("&"):"";if(n&&!t)return e(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this._instance.config.token+i),method:"GET",callback:t=>{var r,n;if(t.json){var i=t.json.earlyAccessFeatures;return null==(r=this._instance.persistence)||r.unregister(tV),null==(n=this._instance.persistence)||n.register({[tV]:i}),e(i)}}})}mi(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(e=>t[e]),flagVariants:Object.keys(t).filter(e=>t[e]).reduce((e,r)=>(e[r]=t[r],e),{})}}gi(e){var{flags:t,flagVariants:r}=this.mi();
11this.featureFlagEventHandlers.forEach(n=>n(t,r,{errorsLoading:e}))}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var r=this._instance.get_property(tU)||{};this._instance.register({[tU]:y({},r,e)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(tU)}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0);var r=this._instance.get_property(tG)||{};0!==Object.keys(r).length&&Object.keys(r).forEach(t=>{r[t]=y({},r[t],e[t]),delete e[t]}),this._instance.register({[tG]:y({},r,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this._instance.get_property(tG)||{};this._instance.register({[tG]:y({},t,{[e]:{}})})}else this._instance.unregister(tG)}reset(){this.si=!1,this.ni=!1,this.oi=!1,this.ai=!1,this.li=!1,this.ui=!1,this.$anon_distinct_id=void 0,this.fi(),this.ri=!1}}var ik=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class iM{constructor(e,t){var r;this.I=e,this.props={},this.yi=!1,this.bi=(r="",e.token&&(r=e.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),e.persistence_name?"ph_"+e.persistence_name:"ph_"+r+"_posthog"),this.Y=this.wi(e),this.load(),e.debug&&tu.info("Persistence loaded",e.persistence,y({},this.props)),this.update_config(e,e,t),this.save()}isDisabled(){return!!this.xi}wi(e){-1===ik.indexOf(e.persistence.toLowerCase())&&(tu.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var t=e.persistence.toLowerCase();return"localstorage"===t&&rY.H()?rY:"localstorage+cookie"===t&&rK.H()?rK:"sessionstorage"===t&&r1.H()?r1:"memory"===t?rJ:"cookie"===t?rq:rK.H()?rK:rq}properties(){var e={};return tv(this.props,function(t,r){if(r===tB&&L(t))for(var n,i=Object.keys(t),s=0;s<i.length;s++)e["$feature/"+i[s]]=t[i[s]];else n=!1,(j(t4)?n:o&&t4.indexOf===o?-1!=t4.indexOf(r):(tv(t4,function(e){if(n||(n=e===r))return tp}),n))||(e[r]=t)}),e}load(){if(!this.xi){var e=this.Y.W(this.bi);e&&(this.props=tm({},e))}}save(){this.xi||this.Y.G(this.bi,this.props,this.Ei,this.$i,this.Si,this.I.debug)}remove(){this.Y.V(this.bi,!1),this.Y.V(this.bi,!0)}clear(){this.remove(),this.props={}}register_once(e,t,r){if(L(e)){H(t)&&(t="None"),this.Ei=H(r)?this.ki:r;var n=!1;if(tv(e,(e,r)=>{this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e,n=!0)}),n)return this.save(),!0}return!1}register(e,t){if(L(e)){this.Ei=H(t)?this.ki:t;var r=!1;if(tv(e,(t,n)=>{e.hasOwnProperty(n)&&this.props[n]!==t&&(this.props[n]=t,r=!0)}),r)return this.save(),!0}return!1}unregister(e){e in this.props&&(delete this.props[e],this.save())}update_campaign_params(){if(!this.yi){var e=nm(this.I.custom_campaign_params,this.I.mask_personal_data_properties,this.I.custom_personal_data_properties);N(tw(e))||this.register(e),this.yi=!0}}update_search_keyword(){var e;this.register((e=null==c?void 0:c.referrer)?ny(e):{})}update_referrer_info(){var e;this.register_once({$referrer:nE(),$referring_domain:null!=c&&c.referrer&&(null==(e=rk(c.referrer))?void 0:e.host)||"$direct"},void 0)}set_initial_person_info(){this.props[tJ]||this.props[tQ]||this.register_once({[t1]:nw(this.I.mask_personal_data_properties,this.I.custom_personal_data_properties)},void 0)}get_initial_props(){var e={};tv([tQ,tJ],t=>{var r=this.props[t];r&&tv(r,function(t,r){e["$initial_"+T(r)]=t})});var t,r,n=this.props[t1];return n&&tm(e,(t=nx(n),r={},tv(t,function(e,t){r["$initial_"+T(t)]=e}),r)),e}safe_merge(e){return tv(this.props,function(t,r){r in e||(e[r]=t)}),e}update_config(e,t,r){if(this.ki=this.Ei=e.cookie_expiration,this.set_disabled(e.disable_persistence||!!r),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie),e.persistence!==t.persistence){var n=this.wi(e),i=this.props;this.clear(),this.Y=n,this.props=i,this.save()}}set_disabled(e){this.xi=e,this.xi?this.remove():this.save()}set_cross_subdomain(e){e!==this.$i&&(this.$i=e,this.remove(),this.save())}set_secure(e){e!==this.Si&&(this.Si=e,this.remove(),this.save())}set_event_timer(e,t){var r=this.props[tM]||{};r[e]=t,this.props[tM]=r,this.save()}remove_event_timer(e){var t=(this.props[tM]||{})[e];return H(t)||(delete this.props[tM][e],this.save()),t}get_property(e){return this.props[e]}set_property(e,t){this.props[e]=t,this.save()}}var iO=th("[Product Tours]"),iA="ph_product_tours";class iC{constructor(e){this.Pi=null,this.Ti=null,this._instance=e}onRemoteConfig(e){this._instance.persistence&&this._instance.persistence.register({[tR]:!(null==e||!e.productTours)}),this.loadIfEnabled()}loadIfEnabled(){var e,t;this.Pi||(e=this._instance).config.disable_product_tours||null==(t=e.persistence)||!t.get_property(tR)||this.it(()=>this.Ci())}it(e){var t,r;null!=(t=g.__PosthogExtensions__)&&t.generateProductTours?e():null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"product-tours",t=>{t?iO.error("Could not load product tours script",t):e()})}Ci(){var e;!this.Pi&&null!=(e=g.__PosthogExtensions__)&&e.generateProductTours&&(this.Pi=g.__PosthogExtensions__.generateProductTours(this._instance,!0)||null)}getProductTours(e,t){if(void 0===t&&(t=!1),!C(this.Ti)||t){var r=this._instance.persistence;if(r){var n=r.props[iA];if(C(n)&&!t)return this.Ti=n,void e(n,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:t=>{var n=t.statusCode;if(200!==n||!t.json){var i="Product Tours API could not be loaded, status: "+n;return iO.error(i),void e([],{isLoaded:!1,error:i})}var s=C(t.json.product_tours)?t.json.product_tours:[];this.Ti=s,r&&r.register({[iA]:s}),e(s,{isLoaded:!0})}})}else e(this.Ti,{isLoaded:!0})}getActiveProductTours(e){D(this.Pi)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Pi.getActiveProductTours(e)}showProductTour(e){var t;null==(t=this.Pi)||t.showTourById(e)}dismissProductTour(){var e;null==(e=this.Pi)||e.dismissTour("user_clicked_skip")}nextStep(){var e;null==(e=this.Pi)||e.nextStep()}previousStep(){var e;null==(e=this.Pi)||e.previousStep()}clearCache(){var e;this.Ti=null,null==(e=this._instance.persistence)||e.unregister(iA)}resetTour(e){var t;null==(t=this.Pi)||t.resetTour(e)}resetAllTours(){var e;null==(e=this.Pi)||e.resetAllTours()}}var iI=((sS={}).Activation="events",sS.Cancellation="cancelEvents",sS),iL=((sP={}).Button="button",sP.Tab="tab",sP.Selector="selector",(sT={}).TopLeft="top_left",sT.TopRight="top_right",sT.TopCenter="top_center",sT.MiddleLeft="middle_left",sT.MiddleRight="middle_right",sT.MiddleCenter="middle_center",sT.Left="left",sT.Center="center",sT.Right="right",sT.NextToTrigger="next_to_trigger",(sk={}).Top="top",sk.Left="left",sk.Right="right",sk.Bottom="bottom",(sM={}).Popover="popover",sM.API="api",sM.Widget="widget",sM.ExternalSurvey="external_survey",sM),iN=((sO={}).Open="open",sO.MultipleChoice="multiple_choice",sO.SingleChoice="single_choice",sO.Rating="rating",sO.Link="link",(sA={}).NextQuestion="next_question",sA.End="end",sA.ResponseBased="response_based",sA.SpecificQuestion="specific_question",(sC={}).Once="once",sC.Recurring="recurring",sC.Always="always",(sI={}).SHOWN="survey shown",sI.DISMISSED="survey dismissed",sI.SENT="survey sent",sI),iH=((sL={}).SURVEY_ID="$survey_id",sL.SURVEY_NAME="$survey_name",sL.SURVEY_RESPONSE="$survey_response",sL.SURVEY_ITERATION="$survey_iteration",sL.SURVEY_ITERATION_
11START_DATE="$survey_iteration_start_date",sL.SURVEY_PARTIALLY_COMPLETED="$survey_partially_completed",sL.SURVEY_SUBMISSION_ID="$survey_submission_id",sL.SURVEY_QUESTIONS="$survey_questions",sL.SURVEY_COMPLETED="$survey_completed",sL.PRODUCT_TOUR_ID="$product_tour_id",sL),iR=((sN={}).Popover="popover",sN.Inline="inline",sN);class iF{constructor(){this.Ri={},this.Ri={}}on(e,t){return this.Ri[e]||(this.Ri[e]=[]),this.Ri[e].push(t),()=>{this.Ri[e]=this.Ri[e].filter(e=>e!==t)}}emit(e,t){for(var r of this.Ri[e]||[])r(t);for(var n of this.Ri["*"]||[])n(e,t)}}function ij(e,t,r){if(D(e))return!1;switch(r){case"exact":return e===t;case"contains":return RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*"),"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch(e){return!1}default:return!1}}class iD{constructor(e){this.Ii=new iF,this.Fi=(e,t)=>this.Mi(e,t)&&this.Oi(e,t)&&this.Ai(e,t)&&this.Di(e,t),this.Mi=(e,t)=>null==t||!t.event||(null==e?void 0:e.event)===(null==t?void 0:t.event),this._instance=e,this.ji=new Set,this.Li=new Set}init(){var e,t;H(null==(e=this._instance)?void 0:e.Ni)||null==(t=this._instance)||t.Ni((e,t)=>{this.on(e,t)})}register(e){var t,r;if(!H(null==(t=this._instance)?void 0:t.Ni)&&(e.forEach(e=>{var t,r;null==(t=this.Li)||t.add(e),null==(r=e.steps)||r.forEach(e=>{var t;null==(t=this.ji)||t.add((null==e?void 0:e.event)||"")})}),null!=(r=this._instance)&&r.autocapture)){var n,i=new Set;e.forEach(e=>{var t;null==(t=e.steps)||t.forEach(e=>{null!=e&&e.selector&&i.add(null==e?void 0:e.selector)})}),null==(n=this._instance)||n.autocapture.setElementSelectors(i)}}on(e,t){var r;null!=t&&0!=e.length&&(this.ji.has(e)||this.ji.has(null==t?void 0:t.event))&&this.Li&&(null==(r=this.Li)?void 0:r.size)>0&&this.Li.forEach(e=>{this.Ui(t,e)&&this.Ii.emit("actionCaptured",e.name)})}zi(e){this.onAction("actionCaptured",t=>e(t))}Ui(e,t){if(null==(null==t?void 0:t.steps))return!1;for(var r of t.steps)if(this.Fi(e,r))return!0;return!1}onAction(e,t){return this.Ii.on(e,t)}Oi(e,t){if(null!=t&&t.url){var r,n=null==e||null==(r=e.properties)?void 0:r.$current_url;if(!n||"string"!=typeof n||!ij(n,t.url,t.url_matching||"contains"))return!1}return!0}Ai(e,t){return!!this.Hi(e,t)&&!!this.Bi(e,t)&&!!this.qi(e,t)}Hi(e,t){if(null==t||!t.href)return!0;var r=this.Wi(e);if(r.length>0)return r.some(e=>ij(e.href,t.href,t.href_matching||"exact"));var n,i,s=(null==e||null==(n=e.properties)?void 0:n.$elements_chain)||"";return!!s&&ij((i=s.match(/(?::|")href="(.*?)"/))?i[1]:"",t.href,t.href_matching||"exact")}Bi(e,t){if(null==t||!t.text)return!0;var r=this.Wi(e);if(r.length>0)return r.some(e=>ij(e.text,t.text,t.text_matching||"exact")||ij(e.$el_text,t.text,t.text_matching||"exact"));var n,i,s,a,o=(null==e||null==(n=e.properties)?void 0:n.$elements_chain)||"";return!!o&&(i=function(e){for(var t,r=[],n=/(?::|")text="(.*?)"/g;!D(t=n.exec(e));)r.includes(t[1])||r.push(t[1]);return r}(o),s=t.text,a=t.text_matching||"exact",i.some(e=>ij(e,s,a)))}qi(e,t){if(null==t||!t.selector)return!0;var r,n,i=null==e||null==(r=e.properties)?void 0:r.$element_selectors;if(null!=i&&i.includes(t.selector))return!0;var s=(null==e||null==(n=e.properties)?void 0:n.$elements_chain)||"";if(t.selector_regex&&s)try{return new RegExp(t.selector_regex).test(s)}catch(e){}return!1}Wi(e){var t;return null==(null==e||null==(t=e.properties)?void 0:t.$elements)?[]:null==e?void 0:e.properties.$elements}Di(e,t){return null==t||!t.properties||0===t.properties.length||ih(t.properties.reduce((e,t)=>{var r=C(t.value)?t.value.map(String):null!=t.value?[String(t.value)]:[];return e[t.key]={values:r,operator:t.operator||"exact"},e},{}),null==e?void 0:e.properties)}}var iz=th("[Surveys]"),iB="seenSurvey_",iV=(e,t)=>{var r="$survey_"+t+"/"+e.id;return e.current_iteration&&e.current_iteration>0&&(r="$survey_"+t+"/"+e.id+"/"+e.current_iteration),r},i$=e=>{var t=""+iB+e.id;return e.current_iteration&&e.current_iteration>0&&(t=""+iB+e.id+"_"+e.current_iteration),t},iU=[iL.Popover,iL.Widget,iL.API],iG={ignoreConditions:!1,ignoreDelay:!1,displayType:iR.Popover};class iq{constructor(e){this._instance=e,this.Gi=new Map,this.Vi=new Map,this.Ji=new Map}Ki(e,t){return!!e&&ih(e.propertyFilters,null==t?void 0:t.properties)}Yi(e,t){var r=new Map;
11return e.forEach(e=>{var n;null==(n=e.conditions)||null==(n=n[t])||null==(n=n.values)||n.forEach(t=>{if(null!=t&&t.name){var n=r.get(t.name)||[];n.push(e.id),r.set(t.name,n)}})}),r}Xi(e,t,r){var n,i=(r===iI.Activation?this.Gi:this.Vi).get(e),s=[];return null==(n=this._instance)||n.getSurveys(e=>{s=e.filter(e=>null==i?void 0:i.includes(e.id))}),s.filter(n=>{var i,s=null==(i=n.conditions)||null==(i=i[r])||null==(i=i.values)?void 0:i.find(t=>t.name===e);return this.Ki(s,t)})}register(e){var t;H(null==(t=this._instance)?void 0:t.Ni)||(this.Qi(e),this.Zi(e))}Zi(e){var t=e.filter(e=>{var t,r;return(null==(t=e.conditions)?void 0:t.actions)&&(null==(r=e.conditions)||null==(r=r.actions)||null==(r=r.values)?void 0:r.length)>0});0!==t.length&&(null==this.te&&(this.te=new iD(this._instance),this.te.init(),this.te.zi(e=>{this.onAction(e)})),t.forEach(e=>{var t,r,n,i,s;e.conditions&&null!=(t=e.conditions)&&t.actions&&null!=(r=e.conditions)&&null!=(r=r.actions)&&r.values&&(null==(n=e.conditions)||null==(n=n.actions)||null==(n=n.values)?void 0:n.length)>0&&(null==(i=this.te)||i.register(e.conditions.actions.values),null==(s=e.conditions)||null==(s=s.actions)||null==(s=s.values)||s.forEach(t=>{if(t&&t.name){var r=this.Ji.get(t.name);r&&r.push(e.id),this.Ji.set(t.name,r||[e.id])}}))}))}Qi(e){var t,r=e.filter(e=>{var t,r;return(null==(t=e.conditions)?void 0:t.events)&&(null==(r=e.conditions)||null==(r=r.events)||null==(r=r.values)?void 0:r.length)>0}),n=e.filter(e=>{var t,r;return(null==(t=e.conditions)?void 0:t.cancelEvents)&&(null==(r=e.conditions)||null==(r=r.cancelEvents)||null==(r=r.values)?void 0:r.length)>0});(0!==r.length||0!==n.length)&&(null==(t=this._instance)||t.Ni((e,t)=>{this.onEvent(e,t)}),this.Gi=this.Yi(e,iI.Activation),this.Vi=this.Yi(e,iI.Cancellation))}onEvent(e,t){var r,n=(null==(r=this._instance)||null==(r=r.persistence)?void 0:r.props[tW])||[];if(iN.SHOWN===e&&t&&n.length>0){iz.info("survey event matched, removing survey from activated surveys",{event:e,eventPayload:t,existingActivatedSurveys:n});var i,s=null==t||null==(i=t.properties)?void 0:i.$survey_id;if(s){var a=n.indexOf(s);a>=0&&(n.splice(a,1),this.ie(n))}}else{if(this.Vi.has(e)){var o=this.Xi(e,t,iI.Cancellation);o.length>0&&(iz.info("cancel event matched, cancelling surveys",{event:e,surveysToCancel:o.map(e=>e.id)}),o.forEach(e=>{var t,r=n.indexOf(e.id);r>=0&&n.splice(r,1),null==(t=this._instance)||t.cancelPendingSurvey(e.id)}),this.ie(n))}if(this.Gi.has(e)){iz.info("survey event name matched",{event:e,eventPayload:t,surveys:this.Gi.get(e)});var l=this.Xi(e,t,iI.Activation);this.ie(n.concat(l.map(e=>e.id)||[]))}}}onAction(e){var t,r=(null==(t=this._instance)||null==(t=t.persistence)?void 0:t.props[tW])||[];this.Ji.has(e)&&this.ie(r.concat(this.Ji.get(e)||[]))}ie(e){var t;iz.info("updating activated surveys",{activatedSurveys:e}),null==(t=this._instance)||null==(t=t.persistence)||t.register({[tW]:[...new Set(e)]})}getSurveys(){var e;return(null==(e=this._instance)||null==(e=e.persistence)?void 0:e.props[tW])||[]}getEventToSurveys(){return this.Gi}ee(){return this.te}}class iW{constructor(e){this.re=void 0,this._surveyManager=null,this.se=!1,this.ne=!1,this.oe=[],this._instance=e,this._surveyEventReceiver=null}onRemoteConfig(e){if(!this._instance.config.disable_surveys){var t=e.surveys;if(D(t))return iz.warn("Flags not loaded yet. Not loading surveys.");var r=C(t);this.re=r?t.length>0:t,iz.info("flags response received, isSurveysEnabled: "+this.re),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var r=localStorage.key(t);(null!=r&&r.startsWith(iB)||null!=r&&r.startsWith("inProgressSurvey_"))&&e.push(r)}e.forEach(e=>localStorage.removeItem(e))}loadIfEnabled(){if(!this._surveyManager){if(this.ne)iz.info("Already initializing surveys, skipping...");else if(this._instance.config.disable_surveys)iz.info("Disabled. Not loading surveys.");else if(this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())iz.info("Not loading surveys in cookieless mode without consent.");else{var e=null==g?void 0:g.__PosthogExtensions__;if(e){if(!H(this.re)||this._instance.config.advanced_enable_surveys){var t=this.re||this._instance.config.advanced_enable_surveys;this.ne=!0;try{var r=e.generateSurveys;if(r)return void this.ae(r,t);var n=e.loadExternalDependency;if(!n)return void this.le("PostHog loadExternalDependency extension not found.");n(this._instance,"surveys",r=>{r||!e.generateSurveys?this.le("Could not load surveys script",r):this.ae(e.generateSurveys,t)})}catch(e){throw this.le("Error initializing surveys",e),e}finally{this.ne=!1}}}else iz.error("PostHog Extensions not found.")}}}ae(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new iq(this._instance),iz.info("Surveys loaded successfully"),this.ue({isLoaded:!0})}le(e,t){iz.error(e,t),this.ue({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.oe.push(e),this._surveyManager&&this.ue({isLoaded:!0}),()=>{this.oe=this.oe.filter(t=>t!==e)}}getSurveys(e,t){if(void 0===t&&(t=!1),this._instance.config.disable_surveys)return iz.info("Disabled. Not loading surveys."),e([]);var r=this._instance.get_property(tq);if(r&&!t)return e(r,{isLoaded:!0});if(this.se)return e([],{isLoaded:!1,error:"Surveys are already being loaded"});try{this.se=!0,this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this._instance.config.token),method:"GET",timeout:this._instance.config.surveys_request_timeout_ms,callback:t=>{this.se=!1;var r=t.statusCode;if(200!==r||!t.json){var n="Surveys API could not be loaded, status: "+r;return iz.error(n),e([],{isLoaded:!1,error:n})}var i,s,a=t.json.surveys||[],o=a.filter(e=>{var t,r;return!(!e.start_date||e.end_date)&&(!(null==(t=e.conditions)||null==(t=t.events)||null==(t=t.values)||!t.length)||!(null==(r=e.conditions)||null==(r=r.actions)||null==(r=r.values)||!r.length))});return o.length>0&&(null==(s=this._surveyEventReceiver)||s.register(o)),null==(i=this._instance.persistence)||i.register({[tq]:a}),e(a,{isLoaded:!0})}})}catch(e){throw this.se=!1,e}}ue(e){for(var t of this.oe)try{if(!e.isLoaded)return t([],e);
11this.getSurveys(t)}catch(e){iz.error("Error in survey callback",e)}}getActiveMatchingSurveys(e,t){if(void 0===t&&(t=!1),!D(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);iz.warn("init was not called")}he(e){var t=null;return this.getSurveys(r=>{var n;t=null!==(n=r.find(t=>t.id===e))&&void 0!==n?n:null}),t}de(e){if(D(this._surveyManager))return{eligible:!1,reason:"SDK is not enabled or survey functionality is not yet loaded"};var t="string"==typeof e?this.he(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(D(this._surveyManager))return iz.warn("init was not called"),{visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"};var t=this.de(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return D(this._surveyManager)?(iz.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"})):new Promise(r=>{this.getSurveys(t=>{var n,i=null!==(n=t.find(t=>t.id===e))&&void 0!==n?n:null;if(i){var s=this.de(i);r({visible:s.eligible,disabledReason:s.reason})}else r({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t){var r;if(D(this._surveyManager))iz.warn("init was not called");else{var n="string"==typeof e?this.he(e):e;if(null!=n&&n.id){if(iU.includes(n.type)){var i=null==c?void 0:c.querySelector(t);if(i)return null!=(r=n.appearance)&&r.surveyPopupDelaySeconds?(iz.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var e,t;iz.info("Rendering survey "+n.id+" with delay of "+(null==(e=n.appearance)?void 0:e.surveyPopupDelaySeconds)+" seconds"),null==(t=this._surveyManager)||t.renderSurvey(n,i),iz.info("Survey "+n.id+" rendered")},1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,i);iz.warn("Survey element not found")}else iz.warn("Surveys of type "+n.type+" cannot be rendered in the app")}else iz.warn("Survey not found")}}displaySurvey(e,t){var r;if(D(this._surveyManager))iz.warn("init was not called");else{var n=this.he(e);if(n){var i=n;if(null!=(r=n.appearance)&&r.surveyPopupDelaySeconds&&t.ignoreDelay&&(i=y({},n,{appearance:y({},n.appearance,{surveyPopupDelaySeconds:0})})),!1===t.ignoreConditions){var s=this.canRenderSurvey(n);if(!s.visible)return void iz.warn("Survey is not eligible to be displayed: ",s.disabledReason)}t.displayType!==iR.Inline?this._surveyManager.handlePopoverSurvey(i):this.renderSurvey(i,t.selector)}else iz.warn("Survey not found")}}cancelPendingSurvey(e){D(this._surveyManager)?iz.warn("init was not called"):this._surveyManager.cancelSurvey(e)}}var iY=th("[Conversations]");class iX{constructor(e){this.ve=void 0,this._conversationsManager=null,this.ce=!1,this.fe=null,this._instance=e}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;D(t)||(B(t)?this.ve=t:(this.ve=t.enabled,this.fe=t),this.loadIfEnabled())}}reset(){var e;null==(e=this._conversationsManager)||e.reset(),this._conversationsManager=null,this.ve=void 0,this.fe=null}loadIfEnabled(){if(!this._conversationsManager&&!this.ce&&!(this._instance.config.disable_conversations||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=null==g?void 0:g.__PosthogExtensions__;if(e&&!H(this.ve)&&this.ve){if(this.fe&&this.fe.token){if(function(e){if(!e||0===e.length)return!0;var t,r=null==n||null==(t=n.location)?void 0:t.hostname;return!r||e.some(e=>{var t=e.replace(/^https?:\/\//,"").split("/")[0].split("?")[0].split(":")[0]||null;if(!t)return!1;if(t.startsWith("*.")){var n=t.slice(2);return r.endsWith("."+n)||r===n}return r===t})}(this.fe.domains)){this.ce=!0;try{var t=e.initConversations;if(t)return this.pe(t),void(this.ce=!1);var r=e.loadExternalDependency;if(!r)return void this.ge("PostHog loadExternalDependency extension not found.");r(this._instance,"conversations",t=>{t||!e.initConversations?this.ge("Could not load conversations script",t):this.pe(e.initConversations),this.ce=!1})}catch(e){this.ge("Error initializing conversations",e),this.ce=!1}}}else iY.error("Conversations enabled but missing token in remote config.")}}}pe(e){if(this.fe)try{this._conversationsManager=e(this.fe,this._instance),iY.info("Conversations loaded successfully")}catch(e){this.ge("Error completing conversations initialization",e)}else iY.error("Cannot complete initialization: remote config is null")}ge(e,t){iY.error(e,t),this._conversationsManager=null,this.ce=!1}enable(){this._conversationsManager?this._conversationsManager.enable():iY.warn("Conversations not loaded yet.")}disable(){this._conversationsManager&&this._conversationsManager.disable()}isLoaded(){return!j(this._conversationsManager)}isEnabled(){return!0===this.ve}}var iK=th("[RateLimiter]");class iZ{constructor(e){var t,r;this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=e=>{var t=e.text;
11if(t&&t.length)try{(JSON.parse(t).quota_limited||[]).forEach(e=>{iK.info((e||"events")+" is quota limited."),this.serverLimits[e]=(new Date).getTime()+6e4})}catch(e){return void iK.warn('could not rate limit - continuing. Error: "'+(null==e?void 0:e.message)+'"',{text:t})}},this.instance=e,this.captureEventsPerSecond=(null==(t=e.config.rate_limiting)?void 0:t.events_per_second)||10,this.captureEventsBurstLimit=Math.max((null==(r=e.config.rate_limiting)?void 0:r.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}clientRateLimitContext(e){void 0===e&&(e=!1);var t,r,n,i=(new Date).getTime(),s=null!==(t=null==(r=this.instance.persistence)?void 0:r.get_property(tZ))&&void 0!==t?t:{tokens:this.captureEventsBurstLimit,last:i};s.tokens+=(i-s.last)/1e3*this.captureEventsPerSecond,s.last=i,s.tokens>this.captureEventsBurstLimit&&(s.tokens=this.captureEventsBurstLimit);var a=s.tokens<1;return a||e||(s.tokens=Math.max(0,s.tokens-1)),!a||this.lastEventRateLimited||e||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+this.captureEventsPerSecond+" events per second and "+this.captureEventsBurstLimit+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=a,null==(n=this.instance.persistence)||n.set_property(tZ,s),{isRateLimited:a,remainingTokens:s.tokens}}isServerRateLimited(e){var t=this.serverLimits[e||"events"]||!1;return!1!==t&&(new Date).getTime()<t}}var iJ=th("[RemoteConfig]");class iQ{constructor(e){this._instance=e}get remoteConfig(){var e;return null==(e=g._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.config}_e(e){var t,r;null!=(t=g.__PosthogExtensions__)&&t.loadExternalDependency?null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"remote-config",()=>e(this.remoteConfig)):(iJ.error("PostHog Extensions not found. Cannot load remote config."),e())}me(e){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback:t=>{e(t.json)}})}load(){try{if(this.remoteConfig)return iJ.info("Using preloaded remote config",this.remoteConfig),void this.pi(this.remoteConfig);if(this._instance.O())return void iJ.warn("Remote config is disabled. Falling back to local config.");this._e(e=>{if(!e)return iJ.info("No config found after loading remote JS config. Falling back to JSON."),void this.me(e=>{this.pi(e)});this.pi(e)})}catch(e){iJ.error("Error loading remote config",e)}}pi(e){e?this._instance.config.__preview_remote_config?(this._instance.pi(e),!1!==e.hasFeatureFlags&&this._instance.featureFlags.ensureFlagsLoaded()):iJ.info("__preview_remote_config is disabled. Logging config instead",e):iJ.error("Failed to fetch remote config from PostHog.")}}class i1{constructor(e,t){this.ye=!0,this.be=[],this.we=K((null==t?void 0:t.flush_interval_ms)||3e3,250,5e3,tu.createLogger("flush interval"),3e3),this.xe=e}enqueue(e){this.be.push(e),this.Ee||this.$e()}unload(){this.Se();var e=Object.values(this.be.length>0?this.ke():{});[...e.filter(e=>0===e.url.indexOf("/e")),...e.filter(e=>0!==e.url.indexOf("/e"))].map(e=>{this.xe(y({},e,{transport:"sendBeacon"}))})}enable(){this.ye=!1,this.$e()}$e(){var e=this;this.ye||(this.Ee=setTimeout(()=>{if(this.Se(),this.be.length>0){var t=this.ke();for(var r in t)!function(){var n=t[r],i=(new Date).getTime();n.data&&C(n.data)&&tv(n.data,e=>{e.offset=Math.abs(e.timestamp-i),delete e.timestamp}),e.xe(n)}()}},this.we))}Se(){clearTimeout(this.Ee),this.Ee=void 0}ke(){var e={};return tv(this.be,t=>{var r,n=(t?t.batchKey:null)||t.url;H(e[n])&&(e[n]=y({},t,{data:[]})),null==(r=e[n].data)||r.push(t.data)}),this.be=[],e}}var i2=["retriesPerformedSoFar"];class i0{constructor(e){this.Pe=!1,this.Te=3e3,this.be=[],this._instance=e,this.be=[],this.Ce=!0,!H(n)&&"onLine"in n.navigator&&(this.Ce=n.navigator.onLine,this.Re=()=>{this.Ce=!0,this.Lt()},this.Ie=()=>{this.Ce=!1},tP(n,"online",this.Re),tP(n,"offline",this.Ie))}get length(){return this.be.length}retriableRequest(e){var{retriesPerformedSoFar:t}=e,r=b(e,i2);z(t)&&t>0&&(r.url=ir(r.url,{retry_count:t})),this._instance._send_request(y({},r,{callback:e=>{200!==e.statusCode&&(e.statusCode<400||e.statusCode>=500)&&(null!=t?t:0)<10?this.Fe(y({retriesPerformedSoFar:t},r)):null==r.callback||r.callback(e)}}))}Fe(e){var t,r,n,i=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=i+1;var s=(n=(Math.random()-.5)*((r=Math.min(18e5,t=3e3*Math.pow(2,i)))-t/2),Math.ceil(r+n)),a=Date.now()+s;this.be.push({retryAt:a,requestOptions:e});var o="Enqueued failed request for retry in "+s;
11navigator.onLine||(o+=" (Browser is offline)"),tu.warn(o),this.Pe||(this.Pe=!0,this.Me())}Me(){if(this.Oe&&clearTimeout(this.Oe),0===this.be.length)return this.Pe=!1,void(this.Oe=void 0);this.Oe=setTimeout(()=>{this.Ce&&this.be.length>0&&this.Lt(),this.Me()},this.Te)}Lt(){var e=Date.now(),t=[],r=this.be.filter(r=>r.retryAt<e||(t.push(r),!1));if(this.be=t,r.length>0)for(var{requestOptions:n}of r)this.retriableRequest(n)}unload(){for(var{requestOptions:e}of(this.Oe&&(clearTimeout(this.Oe),this.Oe=void 0),this.Pe=!1,H(n)||(this.Re&&(n.removeEventListener("online",this.Re),this.Re=void 0),this.Ie&&(n.removeEventListener("offline",this.Ie),this.Ie=void 0)),this.be))try{this._instance._send_request(y({},e,{transport:"sendBeacon"}))}catch(e){tu.error(e)}this.be=[]}}class i3{constructor(e){this.Ae=()=>{this.De||(this.De={});var e,t,r,n,i=this.scrollElement(),s=this.scrollY(),a=i?Math.max(0,i.scrollHeight-i.clientHeight):0,o=s+((null==i?void 0:i.clientHeight)||0),l=(null==i?void 0:i.scrollHeight)||0;this.De.lastScrollY=Math.ceil(s),this.De.maxScrollY=Math.max(s,null!==(e=this.De.maxScrollY)&&void 0!==e?e:0),this.De.maxScrollHeight=Math.max(a,null!==(t=this.De.maxScrollHeight)&&void 0!==t?t:0),this.De.lastContentY=o,this.De.maxContentY=Math.max(o,null!==(r=this.De.maxContentY)&&void 0!==r?r:0),this.De.maxContentHeight=Math.max(l,null!==(n=this.De.maxContentHeight)&&void 0!==n?n:0)},this._instance=e}getContext(){return this.De}resetContext(){var e=this.De;return setTimeout(this.Ae,0),e}startMeasuringScrollPosition(){tP(n,"scroll",this.Ae,{capture:!0}),tP(n,"scrollend",this.Ae,{capture:!0}),tP(n,"resize",this.Ae)}scrollElement(){if(!this._instance.config.scroll_root_selector)return null==n?void 0:n.document.documentElement;for(var e of C(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector]){var t=null==n?void 0:n.document.querySelector(e);if(t)return t}}scrollY(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollTop||0}return n&&(n.scrollY||n.pageYOffset||n.document.documentElement.scrollTop)||0}scrollX(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollLeft||0}return n&&(n.scrollX||n.pageXOffset||n.document.documentElement.scrollLeft)||0}}var i4=e=>nw(null==e?void 0:e.config.mask_personal_data_properties,null==e?void 0:e.config.custom_personal_data_properties);class i6{constructor(e,t,r,n){this.je=e=>{var t=this.Le();if(!t||t.sessionId!==e){var r={sessionId:e,props:this.Ne(this._instance)};this.Ue.register({[tK]:r})}},this._instance=e,this.ze=t,this.Ue=r,this.Ne=n||i4,this.ze.onSessionId(this.je)}Le(){return this.Ue.props[tK]}getSetOnceProps(){var e,t=null==(e=this.Le())?void 0:e.props;return t?"r"in t?nx(t):{$referring_domain:t.referringDomain,$pathname:t.initialPathName,utm_source:t.utm_source,utm_campaign:t.utm_campaign,utm_medium:t.utm_medium,utm_content:t.utm_content,utm_term:t.utm_term}:{}}getSessionProps(){var e={};return tv(tw(this.getSetOnceProps()),(t,r)=>{"$current_url"===r&&(r="url"),e["$session_entry_"+T(r)]=t}),e}}var i5=th("[SessionId]");class i8{on(e,t){return this.He.on(e,t)}constructor(e,t,r){if(this.Be=[],this.qe=void 0,this.He=new iF,this.We=(e,t)=>Math.abs(e-t)>this.sessionTimeoutMs,!e.persistence)throw Error("SessionIdManager requires a PostHogPersistence instance");if("always"===e.config.cookieless_mode)throw Error('SessionIdManager cannot be used with cookieless_mode="always"');this.I=e.config,this.Ue=e.persistence,this.Ge=void 0,this.Ve=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.Je=t||rV,this.Ke=r||rV;var n,i=this.I.persistence_name||this.I.token,s=this.I.session_idle_timeout_seconds||1800;if(this._sessionTimeoutMs=1e3*K(s,60,36e3,i5.createLogger("session_idle_timeout_seconds"),1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.Ye(),this.Xe="ph_"+i+"_window_id",this.Qe="ph_"+i+"_primary_window_exists",this.Ze()){var a=r1.W(this.Xe),o=r1.W(this.Qe);a&&!o?this.Ge=a:r1.V(this.Xe),r1.G(this.Qe,!0)}if(null!=(n=this.I.bootstrap)&&n.sessionID)try{var l=(e=>{var t=e.replace(/-/g,"");if(32!==t.length)throw Error("Not a valid UUID");if("7"!==t[12])throw Error("Not a UUIDv7");return parseInt(t.substring(0,12),16)})(this.I.bootstrap.sessionID);this.tr(this.I.bootstrap.sessionID,(new Date).getTime(),l)}catch(e){i5.error("Invalid sessionID in bootstrap",e)}this.ir()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return H(this.Be)&&(this.Be=[]),this.Be.push(e),this.Ve&&e(this.Ve,this.Ge),()=>{this.Be=this.Be.filter(t=>t!==e)}}Ze(){return"memory"!==this.I.persistence&&!this.Ue.xi&&r1.H()}
11er(e){e!==this.Ge&&(this.Ge=e,this.Ze()&&r1.G(this.Xe,e))}rr(){return this.Ge?this.Ge:this.Ze()?r1.W(this.Xe):null}tr(e,t,r){e===this.Ve&&t===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=t,this.Ve=e,this.Ue.register({[tD]:[t,e,r]}))}sr(){var e=this.Ue.props[tD];return C(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.tr(null,null,null)}destroy(){clearTimeout(this.nr),this.nr=void 0,this.qe&&n&&(n.removeEventListener("beforeunload",this.qe,{capture:!1}),this.qe=void 0),this.Be=[]}ir(){this.qe=()=>{this.Ze()&&r1.V(this.Qe)},tP(n,"beforeunload",this.qe,{capture:!1})}checkAndGetSessionAndWindowId(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=null),"always"===this.I.cookieless_mode)throw Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var r=t||(new Date).getTime(),[n,i,s]=this.sr(),a=this.rr(),o=z(s)&&s>0&&Math.abs(r-s)>864e5,l=!1,c=!i,u=!c&&!e&&this.We(r,n);c||u||o?(i=this.Je(),a=this.Ke(),i5.info("new session ID generated",{sessionId:i,windowId:a,changeReason:{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:o}}),s=r,l=!0):a||(a=this.Ke(),l=!0);var h=0===n||!e||o?r:n,f=0===s?(new Date).getTime():s;return this.er(a),this.tr(i,h,f),e||this.Ye(),l&&this.Be.forEach(e=>e(i,a,l?{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:o}:void 0)),{sessionId:i,windowId:a,sessionStartTimestamp:f,changeReason:l?{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:o}:void 0,lastActivityTimestamp:n}}Ye(){clearTimeout(this.nr),this.nr=setTimeout(()=>{var[e]=this.sr();if(this.We((new Date).getTime(),e)){var t=this.Ve;this.resetSessionId(),this.He.emit("forcedIdleReset",{idleSessionId:t})}},1.1*this.sessionTimeoutMs)}}var i7=["$set_once","$set"],i9=th("[SiteApps]");class se{constructor(e){this._instance=e,this.ar=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}lr(e,t){if(t){var r=this.globalsForEvent(t);this.ar.push(r),this.ar.length>1e3&&(this.ar=this.ar.slice(10))}}get siteAppLoaders(){var e;return null==(e=g._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.siteApps}init(){if(this.isEnabled){var e=this._instance.Ni(this.lr.bind(this));this.ur=()=>{e(),this.ar=[],this.ur=void 0}}}globalsForEvent(e){if(!e)throw Error("Event payload is required");var t,r,n,i,s,a,o,l={},c=this._instance.get_property("$groups")||[];for(var[u,h]of Object.entries(this._instance.get_property("$stored_group_properties")||{}))l[u]={id:c[u],type:u,properties:h};var{$set_once:f,$set:d}=e;return{event:y({},b(e,i7),{properties:y({},e.properties,d?{$set:y({},null!==(t=null==(r=e.properties)?void 0:r.$set)&&void 0!==t?t:{},d)}:{},f?{$set_once:y({},null!==(n=null==(i=e.properties)?void 0:i.$set_once)&&void 0!==n?n:{},f)}:{}),elements_chain:null!==(s=null==(a=e.properties)?void 0:a.$elements_chain)&&void 0!==s?s:"",distinct_id:null==(o=e.properties)?void 0:o.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}setupSiteApp(e){var t=this.apps[e.id],r=()=>{var r;!t.errored&&this.ar.length&&(i9.info("Processing "+this.ar.length+" events for site app with id "+e.id),this.ar.forEach(e=>null==t.processEvent?void 0:t.processEvent(e)),t.processedBuffer=!0),Object.values(this.apps).every(e=>e.processedBuffer||e.errored)&&(null==(r=this.ur)||r.call(this))},n=!1,i=i=>{t.errored=!i,t.loaded=!0,i9.info("Site app with id "+e.id+" "+(i?"loaded":"errored")),n&&r()};try{var{processEvent:s}=e.init({posthog:this._instance,callback:e=>{i(e)}});s&&(t.processEvent=s),n=!0}catch(t){i9.error("Error while initializing PostHog app with config id "+e.id,t),i(!1)}if(n&&t.loaded)try{r()}catch(r){i9.error("Error while processing buffered events PostHog app with config id "+e.id,r),t.errored=!0}}hr(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var r of e)this.setupSiteApp(r)}dr(e){if(0!==Object.keys(this.apps).length){var t=this.globalsForEvent(e);for(var r of Object.values(this.apps))try{null==r.processEvent||r.processEvent(t)}catch(t){i9.error("Error while processing event "+e.event+" for site app "+r.id,t)}}}onRemoteConfig(e){var t,r,n,i=this;if(null!=(t=this.siteAppLoaders)&&t.length)return this.isEnabled?(this.hr(),void this._instance.on("eventCaptured",e=>this.dr(e))):void i9.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if(null==(r=this.ur)||r.call(this),null!=(n=e.siteApps)&&n.length){if(this.isEnabled){var s=function(e){var t;g["__$$ph_site_app_"+e]=i._instance,null==(t=g.__PosthogExtensions__)||null==t.loadSiteApp||t.loadSiteApp(i._instance,o,t=>{if(t)return i9.error("Error while initializing PostHog app with config id "+e,t)})};for(var{id:a,url:o}of e.siteApps)s(a)}else i9.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}}var st=function(e,t){if(!e)return!1;var r=e.userAgent;if(r&&w(r,t))return!0;try{var n=null==e?void 0:e.userAgentData;if(null!=n&&n.brands&&n.brands.some(e=>w(null==e?void 0:e.brand,t)))return!0}catch(e){}return!!e.webdriver},sr=((sH={}).US="us",sH.EU="eu",sH.CUSTOM="custom",sH),sn="i.posthog.com";class si{constructor(e){this.vr={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,"");return"https://app.posthog.com"===e?"https://us.i.posthog.com":e}get flagsApiHost(){var e=this.instance.config.flags_api_host;return e?e.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var e,t=null==(e=this.instance.config.ui_host)?void 0:e.replace(/\/$/,"");return t||(t=this.apiHost.replace("."+sn,".posthog.com")),"https://app.posthog.com"===t?"https://us.posthog.com":t}get region(){return this.vr[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.vr[this.apiHost]=sr.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.vr[this.apiHost]=sr.EU:this.vr[this.apiHost]=sr.CUSTOM),this.vr[this.apiHost]}endpointFor(e,t){if(void 0===t&&(t=""),t&&(t="/"===t[0]?t:"/"+t),"ui"===e)return this.uiHost+t;if("flags"===e)return this.flagsApiHost+t;if(this.region===sr.CUSTOM)return this.apiHost+t;var r=sn+t;switch(e){case"assets":return"https://"+this.region+"-assets."+r;case"api":return"https://"+this.region+"."+r}}}var ss={icontains:(e,t)=>!!n&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!n&&-1===t.href.toLowerCase().indexOf(e.toLowerCase()),regex:(e,t)=>!!n&&io(t.href,e),not_regex:(e,t)=>!!n&&!io(t.href,e),exact:(e,t)=>
11t.href===e,is_not:(e,t)=>t.href!==e};class sa{constructor(e){var t=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(e){void 0===e&&(e=!1),t.getWebExperiments(e=>{sa.cr("retrieved web experiments from the server"),t.pr=new Map,e.forEach(e=>{if(e.feature_flag_key){t.pr&&(sa.cr("setting flag key ",e.feature_flag_key," to web experiment ",e),null==(r=t.pr)||r.set(e.feature_flag_key,e));var r,n=t._instance.getFeatureFlag(e.feature_flag_key);R(n)&&e.variants[n]&&t.gr(e.name,n,e.variants[n].transforms)}else if(e.variants)for(var i in e.variants){var s=e.variants[i];sa._r(s)&&t.gr(e.name,i,s.transforms)}})},e)},this._instance=e,this._instance.onFeatureFlags(e=>{this.onFeatureFlags(e)})}onFeatureFlags(e){if(this._is_bot())sa.cr("Refusing to render web experiment since the viewer is a likely bot");else if(!this._instance.config.disable_web_experiments){if(D(this.pr))return this.pr=new Map,this.loadIfEnabled(),void this.previewWebExperiment();sa.cr("applying feature flags",e),e.forEach(e=>{var t;if(this.pr&&null!=(t=this.pr)&&t.has(e)){var r,n=this._instance.getFeatureFlag(e),i=null==(r=this.pr)?void 0:r.get(e);n&&null!=i&&i.variants[n]&&this.gr(i.name,n,i.variants[n].transforms)}})}}previewWebExperiment(){var e=sa.getWindowLocation();if(null!=e&&e.search){var t=rO(null==e?void 0:e.search,"__experiment_id"),r=rO(null==e?void 0:e.search,"__experiment_variant");t&&r&&(sa.cr("previewing web experiments "+t+" && "+r),this.getWebExperiments(e=>{this.mr(parseInt(t),r,e)},!1,!0))}}loadIfEnabled(){this._instance.config.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(e,t,r){if(this._instance.config.disable_web_experiments&&!r)return e([]);var n=this._instance.get_property("$web_experiments");if(n&&!t)return e(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this._instance.config.token),method:"GET",callback:t=>200===t.statusCode&&t.json?e(t.json.experiments||[]):e([])})}mr(e,t,r){var n=r.filter(t=>t.id===e);n&&n.length>0&&(sa.cr("Previewing web experiment ["+n[0].name+"] with variant ["+t+"]"),this.gr(n[0].name,t,n[0].variants[t].transforms))}static _r(e){return!D(e.conditions)&&sa.yr(e)&&sa.br(e)}static yr(e){if(D(e.conditions)||D(null==(t=e.conditions)?void 0:t.url))return!0;var t,r,n,i,s=sa.getWindowLocation();return!!s&&(null==(r=e.conditions)||!r.url||ss[null!==(n=null==(i=e.conditions)?void 0:i.urlMatchType)&&void 0!==n?n:"icontains"](e.conditions.url,s))}
11static getWindowLocation(){return null==n?void 0:n.location}static br(e){if(D(e.conditions)||D(null==(r=e.conditions)?void 0:r.utm))return!0;var t=nm();if(t.utm_source){var r,n,i,s,a,o,l,c,u,h=null==(n=e.conditions)||null==(n=n.utm)||!n.utm_campaign||(null==(i=e.conditions)||null==(i=i.utm)?void 0:i.utm_campaign)==t.utm_campaign,f=null==(s=e.conditions)||null==(s=s.utm)||!s.utm_source||(null==(a=e.conditions)||null==(a=a.utm)?void 0:a.utm_source)==t.utm_source,d=null==(o=e.conditions)||null==(o=o.utm)||!o.utm_medium||(null==(l=e.conditions)||null==(l=l.utm)?void 0:l.utm_medium)==t.utm_medium,p=null==(c=e.conditions)||null==(c=c.utm)||!c.utm_term||(null==(u=e.conditions)||null==(u=u.utm)?void 0:u.utm_term)==t.utm_term;return h&&d&&p&&f}return!1}static cr(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];tu.info("[WebExperiments] "+e,r)}gr(e,t,r){this._is_bot()?sa.cr("Refusing to render web experiment since the viewer is a likely bot"):"control"!==t?r.forEach(r=>{if(r.selector){sa.cr("applying transform of variant "+t+" for experiment "+e+" ",r);var n,i=null==(n=document)?void 0:n.querySelectorAll(r.selector);null==i||i.forEach(e=>{r.html&&(e.innerHTML=r.html),r.css&&e.setAttribute("style",r.css)})}}):sa.cr("Control variants leave the page unmodified.")}_is_bot(){return l&&this._instance?st(l,this._instance.config.custom_blocked_useragents):void 0}}var so=th("[PostHog ExternalIntegrations]"),sl={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class sc{constructor(e){this._instance=e}it(e,t){var r;null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,e,e=>{if(e)return so.error("failed to load script",e);t()})}startIfEnabledOrStop(){var e,t=this,r=function(e){var r,n,s;!i||null!=(r=g.__PosthogExtensions__)&&null!=(r=r.integrations)&&r[e]||t.it(sl[e],()=>{var r;null==(r=g.__PosthogExtensions__)||null==(r=r.integrations)||null==(r=r[e])||r.start(t._instance)}),!i&&null!=(n=g.__PosthogExtensions__)&&null!=(n=n.integrations)&&n[e]&&(null==(s=g.__PosthogExtensions__)||null==(s=s.integrations)||null==(s=s[e])||s.stop())};for(var[n,i]of Object.entries(null!==(e=this._instance.config.integrations)&&void 0!==e?e:{}))r(n)}}var su="[SessionRecording]",sh=th(su);class sf{get started(){var e;return!(null==(e=this.wr)||!e.isStarted)}get status(){return this.wr?this.wr.status:this.Er&&!this.$r?"disabled":"lazy_loading"}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.Er=!1,this.Sr=void 0,this._instance=e,!this._instance.sessionManager)throw sh.error("started without valid sessionManager"),Error(su+" started without valid sessionManager. This is a bug.");if("always"===this._instance.config.cookieless_mode)throw Error(su+' cannot be used with cookieless_mode="always"')}get $r(){var e,t=!(null==(e=this._instance.get_property(tj))||!e.enabled),r=!this._instance.config.disable_session_recording,i=this._instance.config.disable_session_recording||this._instance.consent.isOptedOut();return n&&t&&r&&!i}startIfEnabledOrStop(e){var t;if(!this.$r||null==(t=this.wr)||!t.isStarted){var r=!H(Object.assign)&&!H(Array.from);this.$r&&r?(this.kr(e),sh.info("starting")):this.stopRecording()}}kr(e){var t,r,n;this.$r&&(null!=g&&null!=(t=g.__PosthogExtensions__)&&null!=(t=t.rrweb)&&t.record&&null!=(r=g.__PosthogExtensions__)&&r.initSessionRecording?this.Pr(e):null==(n=g.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,this.Tr,t=>{if(t)return sh.error("could not load recorder",t);this.Pr(e)}))}stopRecording(){var e,t;null==(e=this.Sr)||e.call(this),this.Sr=void 0,null==(t=this.wr)||t.stop()}Cr(){var e;null==(e=this._instance.persistence)||e.unregister(tz)}Rr(e){if(this._instance.persistence){var t,r,n=this._instance.persistence,i=()=>{var t=!1===e.sessionRecording?void 0:e.sessionRecording,r=null==t?void 0:t.sampleRate,i=D(r)?null:parseFloat(r);D(i)&&this.Cr();var s=null==t?void 0:t.minimumDurationMilliseconds;n.register({[tj]:y({enabled:!!t},t,{networkPayloadCapture:y({capturePerformance:e.capturePerformance},null==t?void 0:t.networkPayloadCapture),canvasRecording:{enabled:null==t?void 0:t.recordCanvas,fps:null==t?void 0:t.canvasFps,quality:null==t?void 0:t.canvasQuality},sampleRate:i,minimumDurationMilliseconds:H(s)?null:s,endpoint:null==t?void 0:t.endpoint,triggerMatchType:null==t?void 0:t.triggerMatchType,masking:null==t?void 0:t.masking,urlTriggers:null==t?void 0:t.urlTriggers})})};i(),null==(t=this.Sr)||t.call(this),this.Sr=null==(r=this._instance.sessionManager)?void 0:r.onSessionId(i)}}onRemoteConfig(e){"sessionRecording"in e?!1!==e.sessionRecording?(this.Rr(e),this.Er=!0,this.startIfEnabledOrStop()):this.Er=!0:sh.info("skipping remote config with no sessionRecording",e)}log(e,t){var r;void 0===t&&(t="log"),null!=(r=this.wr)&&r.log?this.wr.log(e,t):sh.warn("log called before recorder was ready")}get Tr(){var e,t,r=null==(e=this._instance)||null==(e=e.persistence)?void 0:e.get_property(tj);return(null==r||null==(t=r.scriptConfig)?void 0:t.script)||"lazy-recorder"}Pr(e){var t,r;if(null==(t=g.__PosthogExtensions__)||!t.initSessionRecording)throw Error("Called on script loaded before session recording is available");this.wr||(this.wr=null==(r=g.__PosthogExtensions__)?void 0:r.initSessionRecording(this._instance),this.wr._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),this.wr.start(e)}onRRwebEmit(e){var t;null==(t=this.wr)||null==t.onRRwebEmit||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.wr||null==(t=this._instance.persistence)||t.register({$replay_override_linked_flag:!0}),null==(e=this.wr)||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.wr||null==(t=this._instance.persistence)||t.register({$replay_override_sampling:!0}),null==(e=this.wr)||e.overrideSampling()}overrideTrigger(e){var t,r;this.wr||null==(r=this._instance.persistence)||r.register({["url"===e?"$replay_override_url_trigger":"$replay_override_event_trigger"]:!0}
11),null==(t=this.wr)||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return(null==(e=this.wr)?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var r;return!(null==(r=this.wr)||!r.tryAddCustomEvent(e,t))}}var sd={},sp=()=>{},sg="posthog",sv=!ie&&-1===(null==p?void 0:p.indexOf("MSIE"))&&-1===(null==p?void 0:p.indexOf("Mozilla")),sm=e=>{var t;return y({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:function(e){var t=null==e?void 0:e.hostname;if(!R(t))return!1;var r=t.split(".").slice(-2).join(".");for(var n of tx)if(r===n)return!1;return!0}(null==c?void 0:c.location),persistence:"localStorage+cookie",persistence_name:"",loaded:sp,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:null!=e?e:"unset",__preview_deferred_init_extensions:!1,debug:u&&R(null==u?void 0:u.search)&&-1!==u.search.indexOf("__posthog_debug=true")||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!0,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==n||null==(t=n.location)?void 0:t.protocol),ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error:e=>{var t="Bad HTTP status: "+e.statusCode+" "+e.text;tu.error(t)},get_device_id:e=>e,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"identified_only",before_send:void 0,request_queue_config:{flush_interval_ms:3e3},error_tracking:{},_onCapture:sp,__preview_eager_load_replay:!1},{rageclick:!(e&&e>="2025-11-30")||{content_ignorelist:!0},capture_pageview:!(e&&e>="2025-05-24")||"history_change",session_recording:e&&e>="2025-11-30"?{strictMinimumDuration:!0}:{}})},s_=e=>{var t={};H(e.process_person)||(t.person_profiles=e.process_person),H(e.xhr_headers)||(t.request_headers=e.xhr_headers),H(e.cookie_name)||(t.persistence_name=e.cookie_name),H(e.disable_cookie)||(t.disable_persistence=e.disable_cookie),H(e.store_google)||(t.save_campaign_params=e.store_google),H(e.verbose)||(t.debug=e.verbose);var r=tm({},t,e);return C(e.property_blacklist)&&(H(e.property_denylist)?r.property_denylist=e.property_blacklist:C(e.property_denylist)?r.property_denylist=[...e.property_blacklist,...e.property_denylist]:tu.error("Invalid value for property_denylist config: "+e.property_denylist)),r};class sy{constructor(){this.__forceAllowLocalhost=!1}get Ir(){return this.__forceAllowLocalhost}set Ir(e){tu.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}class sb{get decideEndpointWasHit(){var e,t;return null!==(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&void 0!==e&&e}get flagsEndpointWasHit(){var e,t;return null!==(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&void 0!==e&&e}constructor(){this.webPerformance=new sy,this.Fr=!1,this.version=v.LIB_VERSION,this.Mr=new iF,this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=sm(),this.SentryIntegration=ni,this.sentryIntegration=e=>{var t;return t=nn(this,e),{name:nr,processEvent:e=>t(e)}},this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Or=!1,this.Ar=null,this.Dr=null,this.jr=null,this.featureFlags=new iT(this),this.toolbar=ne
11w nc(this),this.scrollManager=new i3(this),this.pageViewManager=new nA(this),this.surveys=new iW(this),this.conversations=new iX(this),this.experiments=new sa(this),this.exceptions=new ip(this),this.rateLimiter=new iZ(this),this.requestRouter=new si(this),this.consent=new r0(this),this.externalIntegrations=new sc(this),this.people={set:(e,t,r)=>{var n=R(e)?{[e]:t}:e;this.setPersonProperties(n),null==r||r({})},set_once:(e,t,r)=>{var n=R(e)?{[e]:t}:e;this.setPersonProperties(void 0,n),null==r||r({})}},this.on("eventCaptured",e=>tu.info('send "'+(null==e?void 0:e.event)+'"',e))}init(e,t,r){if(r&&r!==sg){var n,i=null!==(n=sd[r])&&void 0!==n?n:new sb;return i._init(e,t,r),sd[r]=i,sd[sg][r]=i,i}return this._init(e,t,r)}_init(e,t,r){if(void 0===t&&(t={}),H(e)||F(e))return tu.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},t.debug=this.Lr(t.debug),this.Nr=t,this.Ur=[],t.person_profiles&&(this.Dr=t.person_profiles),this.set_config(tm({},sm(t.defaults),s_(t),{name:r,token:e})),this.config.on_xhr_error&&tu.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=t.disable_compression?void 0:rT.GZipJS;var i=this.zr();this.persistence=new iM(this.config,i),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new iM(y({},this.config,{persistence:"sessionStorage"}),i);var s=y({},this.persistence.props),a=y({},this.sessionPersistence.props);this.register({$initialization_time:(new Date).toISOString()}),this.Hr=new i1(e=>this.Br(e),this.config.request_queue_config),this.qr=new i0(this),this.__request_queue=[];var o="always"===this.config.cookieless_mode||"on_reject"===this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut();if(o||(this.sessionManager=new i8(this),this.sessionPropsManager=new i6(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(tu.info("Deferring extension initialization to improve startup performance"),setTimeout(()=>{this.Wr(o)},0)):(tu.info("Initializing extensions synchronously"),this.Wr(o)),v.DEBUG=v.DEBUG||this.config.debug,v.DEBUG&&tu.info("Starting in debug mode",{this:this,config:t,thisC:y({},this.config),p:s,s:a}),void 0!==(null==(l=t.bootstrap)?void 0:l.distinctID)){var l,c,u,h=this.config.get_device_id(rV()),f=null!=(c=t.bootstrap)&&c.isIdentifiedID?h:t.bootstrap.distinctID;this.persistence.set_property(tX,null!=(u=t.bootstrap)&&u.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:t.bootstrap.distinctID,$device_id:f})}if(this.Gr()){var d,p,g=Object.keys((null==(d=t.bootstrap)?void 0:d.featureFlags)||{}).filter(e=>{var r;return!(null==(r=t.bootstrap)||null==(r=r.featureFlags)||!r[e])}).reduce((e,r)=>{var n;return e[r]=(null==(n=t.bootstrap)||null==(n=n.featureFlags)?void 0:n[r])||!1,e},{}),m=Object.keys((null==(p=t.bootstrap)?void 0:p.featureFlagPayloads)||{}).filter(e=>g[e]).reduce((e,r)=>{var n,i;return null!=(n=t.bootstrap)&&null!=(n=n.featureFlagPayloads)&&n[r]&&(e[r]=null==(i=t.bootstrap)||null==(i=i.featureFlagPayloads)?void 0:i[r]),e},{});this.featureFlags.receivedFeatureFlags({featureFlags:g,featureFlagPayloads:m})}if(o)this.register_once({distinct_id:t3,$device_id:null},"");else if(!this.get_distinct_id()){var _=this.config.get_device_id(rV());this.register_once({distinct_id:_,$device_id:_},""),this.persistence.set_property(tX,"anonymous")}return tP(n,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),this.toolbar.maybeLoadToolbar(),t.segment?function(e,t){var r=e.config.segment;if(!r)return t();!function(e,t){var r=e.config.segment;if(!r)return t();var n=r=>{var n=()=>r.anonymousId()||rV();e.config.get_device_id=n,r.id()&&(e.register({distinct_id:r.id(),$device_id:n()}),e.persistence.set_property(tX,"identified")),t()},i=r.user();"then"in i&&I(i.then)?i.then(e=>n(e)):n(i)}(e,()=>{var n;r.register((Promise&&Promise.resolve||nt.warn("This browser does not have Promise support, and can not use the segment integration"),n=(t,r)=>{if(!r)return t;t.event.userId||t.event.anonymousId===e.get_distinct_id()||(nt.info("No userId set, resetting PostHog"),e.reset()),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(nt.info("UserId set, identifying with PostHog"),e.identify(t.event.userId)
11);var n=e.calculateEventProperties(r,t.event.properties);return t.event.properties=Object.assign({},n,t.event.properties),t},{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:e=>n(e,e.event.event),page:e=>n(e,"$pageview"),identify:e=>n(e,"$identify"),screen:e=>n(e,"$screen")})).then(()=>{t()})})}(this,()=>this.Vr()):this.Vr(),I(this.config._onCapture)&&this.config._onCapture!==sp&&(tu.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",e=>this.config._onCapture(e.event,e))),this.config.ip&&tu.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Wr(e){var t=performance.now();this.historyAutocapture=new ne(this),this.historyAutocapture.startIfEnabled();var r=[];r.push(()=>{new nh(this).startIfEnabledOrStop()}),r.push(()=>{var e;this.siteApps=new se(this),null==(e=this.siteApps)||e.init()}),e||r.push(()=>{this.sessionRecording=new sf(this),this.sessionRecording.startIfEnabledOrStop()}),this.config.disable_scroll_properties||r.push(()=>{this.scrollManager.startMeasuringScrollPosition()}),r.push(()=>{this.autocapture=new rN(this),this.autocapture.startIfEnabled()}),r.push(()=>{this.surveys.loadIfEnabled()}),r.push(()=>{this.conversations.loadIfEnabled()}),r.push(()=>{this.productTours=new iC(this),this.productTours.loadIfEnabled()}),r.push(()=>{this.heatmaps=new nO(this),this.heatmaps.startIfEnabled()}),r.push(()=>{this.webVitalsAutocapture=new nT(this)}),r.push(()=>{this.exceptionObserver=new r7(this),this.exceptionObserver.startIfEnabled()}),r.push(()=>{this.deadClicksAutocapture=new r5(this,r6),this.deadClicksAutocapture.startIfEnabled()}),r.push(()=>{if(this.Jr){var e=this.Jr;this.Jr=void 0,this.pi(e)}}),this.Kr(r,t)}Kr(e,t){for(;e.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-t>=30&&e.length>0)return void setTimeout(()=>{this.Kr(e,t)},0);var r=e.shift();if(r)try{r()}catch(e){tu.error("Error initializing extension:",e)}}var n=Math.round(performance.now()-t);this.register_for_session({$sdk_debug_extensions_init_method:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",$sdk_debug_extensions_init_time_ms:n}),this.config.__preview_deferred_init_extensions&&tu.info("PostHog extensions initialized ("+n+"ms)")}pi(e){var t,r,n,i,s,a,o,l,u;if(!c||!c.body)return tu.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this.pi(e)},500);this.config.__preview_deferred_init_extensions&&(this.Jr=e),this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=S(e.supportedCompression,rT.GZipJS)?rT.GZipJS:S(e.supportedCompression,rT.Base64)?rT.Base64:void 0),null!=(t=e.analytics)&&t.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),this.set_config({person_profiles:this.Dr?this.Dr:"identified_only"}),null==(r=this.siteApps)||r.onRemoteConfig(e),null==(n=this.sessionRecording)||n.onRemoteConfig(e),null==(i=this.autocapture)||i.onRemoteConfig(e),null==(s=this.heatmaps)||s.onRemoteConfig(e),this.surveys.onRemoteConfig(e),this.conversations.onRemoteConfig(e),null==(a=this.productTours)||a.onRemoteConfig(e),null==(o=this.webVitalsAutocapture)||o.onRemoteConfig(e),null==(l=this.exceptionObserver)||l.onRemoteConfig(e),this.exceptions.onRemoteConfig(e),null==(u=this.deadClicksAutocapture)||u.onRemoteConfig(e)}Vr(){try{this.config.loaded(this)}catch(e){tu.critical("`loaded` function failed",e)}this.Yr(),this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||"always"===this.config.cookieless_mode)&&this.Xr()},1),new iQ(this).load(),this.featureFlags.flags()}Yr(){var e;this.is_capturing()&&this.config.request_batching&&(null==(e=this.Hr)||e.enable())}_dom_loaded(){this.is_capturing()&&tg(this.__request_queue,e=>this.Br(e)),this.__request_queue=[],this.Yr()}_handle_unload(){var e,t;this.config.request_batching?(this.Qr()&&this.capture("$pageleave"),null==(e=this.Hr)||e.unload(),null==(t=this.qr)||t.unload()):this.Qr()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}_send_request(e){this.__loaded&&(sv?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)||(e.transport=e.transport||this.config.api_transport,e.url=ir(e.url,{ip:this.config.ip?1:0}),e.headers=y({},this.config.request_headers,e.headers),e.compression="best-available"===e.compression?this.compression:e.compression,e.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(e.disableTransport=["sendBeacon"]),e.fetchOptions=e.fetchOptions||this.config.fetch_options,
11(e=>{var t,r,n,i=y({},e);i.timeout=i.timeout||6e4,i.url=ir(i.url,{_:(new Date).getTime().toString(),ver:v.LIB_VERSION,compression:i.compression});var s=null!==(t=i.transport)&&void 0!==t?t:"fetch",a=ia.filter(e=>!i.disableTransport||!e.transport||!i.disableTransport.includes(e.transport)),o=null!==(r=null==(n=tS(a,e=>e.transport===s))?void 0:n.method)&&void 0!==r?r:a[0].method;if(!o)throw Error("No available transport method");o(i)})(y({},e,{callback:t=>{var r,n;this.rateLimiter.checkForLimiting(t),t.statusCode>=400&&(null==(r=(n=this.config).on_request_error)||r.call(n,t)),null==e.callback||e.callback(t)}}))))}Br(e){this.qr?this.qr.retriableRequest(e):this._send_request(e)}_execute_array(e){var t,r=[],n=[],i=[];tg(e,e=>{e&&(C(t=e[0])?i.push(e):I(e)?e.call(this):C(e)&&"alias"===t?r.push(e):C(e)&&-1!==t.indexOf("capture")&&I(this[t])?i.push(e):n.push(e))});var s=function(e,t){tg(e,function(e){if(C(e[0])){var r=t;tv(e,function(e){r=r[e[0]].apply(r,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};s(r,this),s(n,this),s(i,this)}Gr(){var e,t;return(null==(e=this.config.bootstrap)?void 0:e.featureFlags)&&Object.keys(null==(t=this.config.bootstrap)?void 0:t.featureFlags).length>0||!1}push(e){this._execute_array([e])}capture(e,t,r){var n;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Hr){if(this.is_capturing()){if(!H(e)&&R(e)){var i=!this.config.opt_out_useragent_filter&&this._is_bot();if(!(i&&!this.config.__preview_capture_bot_pageviews)){var s=null!=r&&r.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(null==s||!s.isRateLimited){null!=t&&t.$current_url&&!R(null==t?void 0:t.$current_url)&&(tu.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),null==t||delete t.$current_url),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var a,o,l,c,u=new Date,h=(null==r?void 0:r.timestamp)||u,f=rV(),d={uuid:f,event:e,properties:this.calculateEventProperties(e,t||{},h,f)};"$pageview"===e&&this.config.__preview_capture_bot_pageviews&&i&&(d.event="$bot_pageview",d.properties.$browser_type="bot"),s&&(d.properties.$lib_rate_limit_remaining_tokens=s.remainingTokens),(null==r?void 0:r.$set)&&(d.$set=null==r?void 0:r.$set);var p,g="$groupidentify"!==e,v=this.Zr(null==r?void 0:r.$set_once,g);if(v&&(d.$set_once=v),(a=d,o=null!=r&&r._noTruncate?null:this.config.properties_string_max_length,l=e=>R(e)&&!j(o)?e.slice(0,o):e,c=new Set,d=function e(t,r){var n;return t!==Object(t)?l?l(t,r):t:c.has(t)?void 0:(c.add(t),C(t)?(n=[],tg(t,t=>{n.push(e(t))})):(n={},tv(t,(t,r)=>{c.has(t)||(n[r]=e(t,r))})),n)}(a)).timestamp=h,H(null==r?void 0:r.timestamp)||(d.properties.$event_time_override_provided=!0,d.properties.$event_time_override_system_time=u),e===iN.DISMISSED||e===iN.SENT){var m=null==t?void 0:t[iH.SURVEY_ID],_=null==t?void 0:t[iH.SURVEY_ITERATION];p={id:m,current_iteration:_},localStorage.getItem(i$(p))||localStorage.setItem(i$(p),"true"),d.$set=y({},d.$set,{[iV({id:m,current_iteration:_},e===iN.SENT?"responded":"dismissed")]:!0})}var b=y({},d.properties.$set,d.$set);if(N(b)||this.setPersonPropertiesForFlags(b),!D(this.config.before_send)){var E=this.ts(d);if(!E)return;d=E}this.Mr.emit("eventCaptured",d);var w={method:"POST",url:null!==(n=null==r?void 0:r._url)&&void 0!==n?n:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:d,compression:"best-available",batchKey:null==r?void 0:r._batchKey};return!this.config.request_batching||r&&(null==r||!r._batchKey)||null!=r&&r.send_instantly?this.Br(w):this.Hr.enqueue(w),d}tu.critical("This capture call is ignored due to client rate limiting.")}}else tu.error("No event name provided to posthog.capture")}}else tu.uninitializedWarning("posthog.capture")}Ni(e){return this.on("eventCaptured",t=>e(t.event,t))}calculateEventProperties(e,t,r,i,s){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return t;var a,o=s?void 0:this.persistence.remove_event_timer(e),l=y({},t);if(l.token=this.config.token,l.$config_defaults=this.config.defaults,("always"==this.config.cookieless_mode||"on_reject"==this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut())&&(l.$cookieless_mode=!0),"$snapshot"===e){var h=y({},this.persistence.properties(),this.sessionPersistence.properties());return l.distinct_id=h.distinct_id,(!R(l.distinct_id)&&!z(l.distinct_id)||F(l.distinct_id))&&tu.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),l}var f,d=function(e,t){if(!p)return{};var r,i,s=e?t_([],nd,t||[]):[],[a,o]=function(e){for(var t=0;t<eY.length;t++){var[r,n]=eY[t],i=r.exec(e),s=i&&(I(n)?n(i,e):n);if(s)return s}return["",""]}(p);return tm(tw({$os:a,$os_version:o,$browser:eG(p,navigator.vendor),$device:eX(p),$device_type:(i=eX(p))===es||i===ei||"Kobo"===i||"Kindle Fire"===i||i===eH?en:i===eS||i===eT||i===eP||i===eI?"Console":i===eo?"Wearable":i?et:"Desktop",$timezone:nS(),$timezone_offset:function(){try{return(new Date).getTimezoneOffset()}catch(e){return}}()}),{$current_url:rA(null==u?void 0:u.href,s,ng),$host:null==u?void 0:u.host,$pathname:null==u?void 0:u.pathname,$raw_user_agent:p.length>1e3?p.substring(0,997)+"...":p,$browser_version:eW(p,navigator.vendor),$browser_language:nb(),$browser_language_prefix:"string"==typeof(r=nb())?r.split("-")[0]:void 0,$screen_height:null==n?void 0:n.screen.height,$screen_width:null==n?void 0:n.screen.width,$viewport_height:null==n?void 0:n.innerHeight,$viewport_width:null==n?void 0:n.innerWidth,$lib:"web",$lib_version:v.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:g,windowId:m}=this.sessionManager.checkAndGetSessionAndWindowId(s,r.getTime());l.$session_id=g,l.$window_id=m}this.sessionPropsManager&&tm(l,this.sessionPropsManager.getSessionProps());try{this.sessionRecording&&tm(l,this.sessionRecording.sdkDebugProperties),l.$sdk_debug_retry_queue_size=null==(a=this.qr)?void 0:a.length}catch(e){l.$sdk_debug_error_capturing_properties=String(e)}if(this.requestRouter.region===sr.CUSTOM&&(l.$lib_custom_api_host=this.config.api_host),f="$pageview"!==e||s?"$pageleave"!==e||s?this.pageViewM
11anager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,i),l=tm(l,f),"$pageview"===e&&c&&(l.title=c.title),!H(o)){var _=r.getTime()-o;l.$duration=parseFloat((_/1e3).toFixed(3))}p&&this.config.opt_out_useragent_filter&&(l.$browser_type=this._is_bot()?"bot":"browser"),(l=tm({},d,this.persistence.properties(),this.sessionPersistence.properties(),l)).$is_identified=this._isIdentified(),C(this.config.property_denylist)?tv(this.config.property_denylist,function(e){delete l[e]}):tu.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var b=this.config.sanitize_properties;b&&(tu.error("sanitize_properties is deprecated. Use before_send instead"),l=b(l,e));var E=this.es();return l.$process_person_profile=E,E&&!s&&this.rs("_calculate_event_properties"),l}Zr(e,t){if(void 0===t&&(t=!0),!this.persistence||!this.es()||this.Fr)return e;var r,n=tm({},this.persistence.get_initial_props(),(null==(r=this.sessionPropsManager)?void 0:r.getSetOnceProps())||{},e||{}),i=this.config.sanitize_properties;return i&&(tu.error("sanitize_properties is deprecated. Use before_send instead"),n=i(n,"$set_once")),t&&(this.Fr=!0),N(n)?void 0:n}register(e,t){var r;null==(r=this.persistence)||r.register(e,t)}register_once(e,t,r){var n;null==(n=this.persistence)||n.register_once(e,t,r)}register_for_session(e){var t;null==(t=this.sessionPersistence)||t.register(e)}unregister(e){var t;null==(t=this.persistence)||t.unregister(e)}unregister_for_session(e){var t;null==(t=this.sessionPersistence)||t.unregister(e)}ss(e,t){this.register({[e]:t})}getFeatureFlag(e,t){return this.featureFlags.getFeatureFlag(e,t)}getFeatureFlagPayload(e){var t=this.featureFlags.getFeatureFlagPayload(e);try{return JSON.parse(t)}catch(e){return t}}isFeatureEnabled(e,t){return this.featureFlags.isFeatureEnabled(e,t)}reloadFeatureFlags(){this.featureFlags.reloadFeatureFlags()}updateEarlyAccessFeatureEnrollment(e,t,r){this.featureFlags.updateEarlyAccessFeatureEnrollment(e,t,r)}getEarlyAccessFeatures(e,t,r){return void 0===t&&(t=!1),this.featureFlags.getEarlyAccessFeatures(e,t,r)}on(e,t){return this.Mr.on(e,t)}onFeatureFlags(e){return this.featureFlags.onFeatureFlags(e)}onSurveysLoaded(e){return this.surveys.onSurveysLoaded(e)}onSessionId(e){var t,r;return null!==(t=null==(r=this.sessionManager)?void 0:r.onSessionId(e))&&void 0!==t?t:()=>{}}getSurveys(e,t){void 0===t&&(t=!1),this.surveys.getSurveys(e,t)}getActiveMatchingSurveys(e,t){void 0===t&&(t=!1),this.surveys.getActiveMatchingSurveys(e,t)}renderSurvey(e,t){this.surveys.renderSurvey(e,t)}displaySurvey(e,t){void 0===t&&(t=iG),this.surveys.displaySurvey(e,t)}cancelPendingSurvey(e){this.surveys.cancelPendingSurvey(e)}canRenderSurvey(e){return this.surveys.canRenderSurvey(e)}canRenderSurveyAsync(e,t){return void 0===t&&(t=!1),this.surveys.canRenderSurveyAsync(e,t)}identify(e,t,r){if(!this.__loaded||!this.persistence)return tu.uninitializedWarning("posthog.identify");if(z(e)&&(e=e.toString(),tu.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),e){if(["distinct_id","distinctid"].includes(e.toLowerCase()))tu.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.');else if(e!==t3){if(this.rs("posthog.identify")){var n=this.get_distinct_id();this.register({$user_id:e}),this.get_property("$device_id")||this.register_once({$had_persisted_distinct_id:!0,$device_id:n},""),e!==n&&e!==this.get_property(tk)&&(this.unregister(tk),this.register({distinct_id:e}));var i="anonymous"===(this.persistence.get_property(tX)||"anonymous");e!==n&&i?(this.persistence.set_property(tX,"identified"),this.setPersonPropertiesForFlags(y({},r||{},t||{}),!1),this.capture("$identify",{distinct_id:e,$anon_distinct_id:n},{$set:t||{},$set_once:r||{}}),this.jr=il(e,t,r),this.featureFlags.setAnonymousDistinctId(n)):(t||r)&&this.setPersonProperties(t,r),e!==n&&(this.reloadFeatureFlags(),this.unregister(tY))}}else tu.critical('The string "'+t3+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.')}else tu.error("Unique user id has not been set in posthog.identify")}setPersonProperties(e,t){if((e||t)&&this.rs("posthog.setPersonProperties")){var r=il(this.get_distinct_id(),e,t);this.jr!==r?(this.setPersonPropertiesForFlags(y({},t||{},e||{})),this.capture("$set",{$set:e||{},$set_once:t||{}}),this.jr=r):tu.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(e,t,r){if(e&&t){var n=this.getGroups();n[e]!==t&&this.resetGroupPropertiesForFlags(e),this.register({$groups:y({},n,{[e]:t})}),r&&(this.capture("$groupidentify",{$group_type:e,$group_key:t,$group_set:r}),this.setGroupPropertiesForFlags({[e]:r})),n[e]===t||r||this.reloadFeatureFlags()}else tu.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0),this.featureFlags.setPersonPropertiesForFlags(e,t)}resetPersonPropertiesForFlags(){this.featureFlags.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0),this.rs("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(e,t)}resetGroupPropertiesForFlags(e){this.featureFlags.resetGroupPropertiesForFlags(e)}reset(e){if(tu.info("reset"),!this.__loaded)return tu.uninitializedWarning("posthog.reset");var t,r,n,i,s=this.get_property("$device_id");if(this.consent.reset(),null==(t=this.persistence)||t.clear(),null==(r=this.sessionPersistence)||r.clear(),this.surveys.reset(),this.featureFlags.reset(),null==(n=this.persistence)||n.set_property(tX,"anonymous"),null==(i=this.sessionManager)||i.resetSessionId(),this.jr=null,"always"===this.config.cookieless_mode)this.register_once({distinct_id:t3,$device_id:null},"");else{var a=this.config.get_device_id(rV());this.register_once({distinct_id:a,$device_id:e?a:s},"")}this.register({$last_posthog_reset:(new Date).toISOString()},1)}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var e,t;return null!==(e=null==(t=this.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0).sessionId)&&void 0!==e?e:""}get_session_replay_url(e){if(!this.sessionManager)return"";var{sessionId:t,sessionStartTimestamp:r}=this.sessionManager.checkAndGetSessionAndWindowId(!0),n=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+t);if(null!=e&&e.withTimestamp&&r){var i,s=null!==(i=e.timestampLookBack)&&void 0!==i?i:10;if(!r)return n;n+="?t="+Math.max(Math.floor(((new Date).getTime()-r)/1e3)-s,0)}return n}alias(e,t){return e===this.get_property(tT)?(tu.critical("Attempting to create alias for existing People user - aborting."),-2):this.rs("posthog.alias")?(H(t)&&(t=this.get_distinct_id()),e!==t?(this.ss(tk,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(tu.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}set_config(e){var t=y({},this.config);if(L(e)){tm(this.config,s_(e));var r,n,i,s,a,o=this.zr();null==(r=this.persistence)||r.update_config(this.config,t,o),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new iM(y({},this.config,{persistence:"sessionStorage"}),o);var l=this.Lr(this.config.debug);B(l)&&(this.config.debug=l),B(this.config.debug)&&(this.config.debug?(v.DEBUG=!0,rY.H()&&rY.G("ph_debug","true"),tu.info("set_config",{config:e,oldConfig:t,newConfig:y({},this.config)})):(v.DEBUG=!1,rY.H()&&rY.V("ph_debug"))),null==(n=this.sessionRecording)||n.startIfEnabledOrStop(),null==(i=this.autocapture)||i.startIfEnabled(),null==(s=this.heatmaps)||s.startIfEnabled(),this.surveys.loadIfEnabled(),this.ns(),null==(a=this.externalIntegrations)||a.startIfEnabledOrStop()}}startSessionRecording(e){var t,r,n,i,s,a=!0===e,o={sampling:a||!(null==e||!e.sampling),linked_flag:a||!(null==e||!e.linked_flag),url_trigger:a||!(null==e||!e.url_trigger),event_trigger:a||!(null==e||!e.event_trigger)};Object.values(o).some(Boolean)&&(null==(t=this.sessionManager)||t.checkAndGetSessionAndWindowId(),o.sampling&&(null==(r=this.sessionRecording)||r.overrideSampling()),o.linked_flag&&(null==(n=this.sessionRecording)||n.overrideLinkedFlag()),o.url_trigger&&(null==(i=this.sessionRecording)||i.overrideTrigger("url")),o.event_trigger&&(null==(s=this.sessionRecording)||s.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!(null==(e=this.sessionRecording)||!e.started)}captureException(e,t){var r=Error("PostHog syntheticException"),n=this.exceptions.buildProperties(e,{handled:!0,syntheticException:r});return this.exceptions.sendExceptionEvent(y({},n,t))}loadToolbar(e){return this.toolbar.loadToolbar(e)}get_property(e){var t;return null==(t=this.persistence)?void 0:t.props[e]}getSessionProperty(e){var t;return null==(t=this.sessionPersistence)?void 0:t.props[e]}toString(){var e,t=null!==(e=this.config.name)&&void 0!==e?e:sg;return t!==sg&&(t=sg+"."+t),t}_isIdentified(){var e,t;return"identified"===(null==(e=this.persistence)?void 0:e.get_property(tX))||"identified"===(null==(t=this.sessionPersistence)?void 0:t.get_property(tX))}es(){var e,t;return!("never"===this.config.person_profiles||"identified_only"===this.config.person_profiles&&
11!this._isIdentified()&&N(this.getGroups())&&(null==(e=this.persistence)||null==(e=e.props)||!e[tk])&&(null==(t=this.persistence)||null==(t=t.props)||!t[t2]))}Qr(){return!0===this.config.capture_pageleave||"if_capture_pageview"===this.config.capture_pageleave&&(!0===this.config.capture_pageview||"history_change"===this.config.capture_pageview)}createPersonProfile(){this.es()||this.rs("posthog.createPersonProfile")&&this.setPersonProperties({},{})}rs(e){return"never"===this.config.person_profiles?(tu.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.ss(t2,!0),!0)}zr(){if("always"===this.config.cookieless_mode)return!0;var e=this.consent.isOptedOut(),t=this.config.opt_out_persistence_by_default||"on_reject"===this.config.cookieless_mode;return this.config.disable_persistence||e&&!!t}ns(){var e,t,r,n,i=this.zr();return(null==(e=this.persistence)?void 0:e.xi)!==i&&(null==(r=this.persistence)||r.set_disabled(i)),(null==(t=this.sessionPersistence)?void 0:t.xi)!==i&&(null==(n=this.sessionPersistence)||n.set_disabled(i)),i}opt_in_capturing(e){var t,r,n;"always"!==this.config.cookieless_mode?("on_reject"===this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut()&&(this.reset(!0),null==(r=this.sessionManager)||r.destroy(),this.sessionManager=new i8(this),this.persistence&&(this.sessionPropsManager=new i6(this,this.sessionManager,this.persistence)),this.sessionRecording=new sf(this),this.sessionRecording.startIfEnabledOrStop()),this.consent.optInOut(!0),this.ns(),this.Yr(),null==(t=this.sessionRecording)||t.startIfEnabledOrStop(),"on_reject"==this.config.cookieless_mode&&this.surveys.loadIfEnabled(),(H(null==e?void 0:e.captureEventName)||null!=e&&e.captureEventName)&&this.capture(null!==(n=null==e?void 0:e.captureEventName)&&void 0!==n?n:"$opt_in",null==e?void 0:e.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Xr()):tu.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}opt_out_capturing(){var e,t;"always"!==this.config.cookieless_mode?("on_reject"===this.config.cookieless_mode&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.ns(),"on_reject"===this.config.cookieless_mode&&(this.register({distinct_id:t3,$device_id:null}),null==(e=this.sessionManager)||e.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,null==(t=this.sessionRecording)||t.stopRecording(),this.sessionRecording=void 0,this.Xr())):tu.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var e=this.consent.consent;return e===r2.GRANTED?"granted":e===r2.DENIED?"denied":"pending"}is_capturing(){return"always"===this.config.cookieless_mode||("on_reject"===this.config.cookieless_mode?this.consent.isExplicitlyOptedOut()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.ns()}_is_bot(){return l?st(l,this.config.custom_blocked_useragents):void 0}Xr(){c&&("visible"===c.visibilityState?this.Or||(this.Or=!0,this.capture("$pageview",{title:c.title},{send_instantly:!0}),this.Ar&&(c.removeEventListener("visibilitychange",this.Ar),this.Ar=null)):this.Ar||(this.Ar=this.Xr.bind(this),tP(c,"visibilitychange",this.Ar)))}debug(e){!1===e?(null==n||n.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(null==n||n.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}O(){var e,t,r,n,i=this.Nr||{};return"advanced_disable_flags"in i?!!i.advanced_disable_flags:!1!==this.config.advanced_disable_flags?!!this.config.advanced_disable_flags:!0===this.config.advanced_disable_decide?(tu.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(t="advanced_disable_decide",r=(e="advanced_disable_flags")in i&&!H(i[e]),n=t in i&&!H(i[t]),r?i[e]:!!n&&(tu&&tu.warn("Config field '"+t+"' is deprecated. Please use '"+e+"' instead. The old field will be removed in a future major version."),i[t]))}ts(e){if(D(this.config.before_send))return e;var t=C(this.config.before_send)?this.config.before_send:[this.config.before_send],r=e;for(var n of t){if(D(r=n(r))){var i="Event '"+e.event+"' was rejected in beforeSend function";return $(e.event)?tu.warn(i+". This can cause unexpected behavior."):tu.info(i),null}r.properties&&!N(r.properties)||tu.warn("Event '"+e.event+"' has no properties after beforeSend function, this is likely an error.")}return r}getPageViewId(){var e;
11return null==(e=this.pageViewManager.Kt)?void 0:e.pageViewId}captureTraceFeedback(e,t){this.capture("$ai_feedback",{$ai_trace_id:String(e),$ai_feedback_text:t})}captureTraceMetric(e,t,r){this.capture("$ai_metric",{$ai_trace_id:String(e),$ai_metric_name:t,$ai_metric_value:String(r)})}Lr(e){var t=B(e)&&!e,r=rY.H()&&"true"===rY.q("ph_debug");return!t&&(!!r||e)}}!function(e,t){for(var r=0;r<t.length;r++)e.prototype[t[r]]=tE(e.prototype[t[r]])}(sb,["identify"]);var sE,sw,sx,sS,sP,sT,sk,sM,sO,sA,sC,sI,sL,sN,sH,sR,sF=(sR=sd[sg]=new sb,function(){function e(){e.done||(e.done=!0,sv=!1,tv(sd,function(e){e._dom_loaded()}))}null!=c&&c.addEventListener?"complete"===c.readyState?e():tP(c,"DOMContentLoaded",e,{capture:!1}):n&&tu.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),sR)},58192:function(e,t,r){"use strict";r.d(t,{U0:function(){return l},zf:function(){return a}});var n=r(34651),i=r(67294),s=(0,i.createContext)({client:n.ZP,bootstrap:void 0});function a(e){var t,r,a=e.children,o=e.client,l=e.apiKey,c=e.options,u=(0,i.useRef)(null),h=(0,i.useMemo)(function(){return o?(l&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),c&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),o):(l||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),n.ZP)},[o,l,JSON.stringify(c)]);return(0,i.useEffect)(function(){if(!o){var e=u.current;e?(l!==e.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),c&&!function e(t,r,n){if(void 0===n&&(n=new WeakMap),t===r)return!0;if("object"!=typeof t||null===t||"object"!=typeof r||null===r)return!1;if(n.has(t)&&n.get(t)===r)return!0;n.set(t,r);var i=Object.keys(t),s=Object.keys(r);if(i.length!==s.length)return!1;for(var a=0;a<i.length;a++){var o=i[a];if(!s.includes(o)||!e(t[o],r[o],n))return!1}return!0}(c,e.options)&&n.ZP.set_config(c)):(n.ZP.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),n.ZP.init(l,c)),u.current={apiKey:l,options:null!=c?c:{}}}},[o,l,JSON.stringify(c)]),i.createElement(s.Provider,{value:{client:h,bootstrap:null!==(t=null==c?void 0:c.bootstrap)&&void 0!==t?t:null===(r=null==o?void 0:o.config)||void 0===r?void 0:r.bootstrap}},a)}var o=function(e){return"function"==typeof e},l=function(){return(0,i.useContext)(s).client},c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};"function"==typeof SuppressedError&&SuppressedError;var u={componentStack:null,exceptionEvent:null,error:null};!function(e){function t(t){var r=e.call(this,t)||this;return r.state=u,r}!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.componentDidCatch=function(e,t){var r,n=this.props.additionalProperties;o(n)?r=n(e):"object"==typeof n&&(r=n);var i=this.context.client.captureException(e,r),s=t.componentStack;this.setState({error:e,componentStack:null!=s?s:null,exceptionEvent:i})},t.prototype.render=function(){var e=this.props,t=e.children,r=e.fallback,n=this.state;if(null==n.componentStack)return o(t)?t():t;var s=o(r)?i.createElement(r,{error:n.error,componentStack:n.componentStack,exceptionEvent:n.exceptionEvent}):r;return i.isValidElement(s)?s:(console.warn("[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."),i.createElement(i.Fragment,null))},t.contextType=s}(i.Component)},92703:function(e,t,r){"use strict";var n=r(50414);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,s,a){if(a!==n){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
11:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var n=r(53494);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var i=r(34248);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var s=r(92239);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return s.YouTubeEmbed}})},53494:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let s=i(r(89426)),a=r(17058);t.GoogleAnalytics=e=>{var t=n(e,[]);return(0,a.formatData)(s.default,t)}},34248:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let s=i(r(27395)),a=r(17058);t.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(s.default,t)}},92239:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let s=i(r(88420)),a=r(17058);t.YouTubeEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(s.default,t)}},17058:function(e,t){"use strict";function r(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function n(e,t,r,n){let i=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&i.searchParams.set(e,r[e])}),i.toString()}function i(e,t,r,i,s){var a;if(!t)return`<${e}></${e}>`;let o=(null===(a=t.src)||void 0===a?void 0:a.url)?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,i,s)}):t,l=Object.keys(Object.assign(Object.assign({},o),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],i=o[t],s=null!=n?n:i,a=!0===s?t:`${t}="${s}"`;return s?e+` ${a}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=n,t.createHtml=i,t.formatData=function(e,t){var s,a,o,l,c;let u=r(t,null===(s=e.scripts)||void 0===s?void 0:s.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),h=r(t,null===(o=null===(a=e.html)||void 0===a?void 0:a.attributes.src)||void 0===o?void 0:o.params),f=r(t,[null===(c=null===(l=e.html)||void 0===l?void 0:l.attributes.src)||void 0===c?void 0:c.slugParam]),d=r(t,[...Object.keys(u),...Object.keys(h),...Object.keys(f)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,d,h,f):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,u)})):null})}},22566:function(e,t,r){"use strict";e.exports=r(13928)},63949:function(e,t,r){"use strict";e.exports=r(21214)},81913:function(e,t,r){"use strict";e.exports=r(1617)},70837:function(e,t,r){"use strict";let n=r(67294).createContext(void 0);t.IntlContext=n},13928:function(e,t,r){"use strict";
11Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),i=r(16414),s=r(70837);r(95957);var a=n&&n.__esModule?n:{default:n};t.IntlProvider=function(e){let{children:t,defaultTranslationValues:r,formats:o,getMessageFallback:l,locale:c,messages:u,now:h,onError:f,timeZone:d}=e,p=n.useMemo(()=>i.createCache(),[c]),g=n.useMemo(()=>i.createIntlFormatters(p),[p]),v=n.useMemo(()=>({...i.initializeConfig({locale:c,defaultTranslationValues:r,formats:o,getMessageFallback:l,messages:u,now:h,onError:f,timeZone:d}),formatters:g,cache:p}),[p,r,o,g,l,c,u,h,f,d]);return a.default.createElement(s.IntlContext.Provider,{value:v},t)}},54633:function(e,t,r){"use strict";var n=r(67294),i=r(70837);function s(){let e=n.useContext(i.IntlContext);if(!e)throw Error(void 0);return e}t.useIntlContext=s,t.useLocale=function(){return s().locale}},21214:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(54633);r(67294),r(70837),t.useLocale=n.useLocale},17097:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(28973),i=r(16414);r(71933),r(67294),r(95957),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t._createCache=i.createCache,t._createIntlFormatters=i.createIntlFormatters,t.initializeConfig=i.initializeConfig,t.createTranslator=function(e){let{_cache:t=i.createCache(),_formatters:r=i.createIntlFormatters(t),getMessageFallback:s=i.defaultGetMessageFallback,messages:a,namespace:o,onError:l=i.defaultOnError,...c}=e;return function(e,t){let{messages:r,namespace:i,...s}=e;return r=r["!"],i=n.resolveNamespace(i,"!"),n.createBaseTranslator({...s,messages:r,namespace:i})}({...c,onError:l,cache:t,formatters:r,getMessageFallback:s,messages:{"!":a},namespace:o?"!.".concat(o):"!"},0)}},28973:function(e,t,r){"use strict";var n,i=r(71933),s=r(67294),a=r(16414),o=i&&i.__esModule?i:{default:i};function l(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let c=((n={}).MISSING_MESSAGE="MISSING_MESSAGE",n.MISSING_FORMAT="MISSING_FORMAT",n.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",n.INSUFFICIENT_PATH="INSUFFICIENT_PATH",n.INVALID_MESSAGE="INVALID_MESSAGE",n.INVALID_KEY="INVALID_KEY",n.FORMATTING_ERROR="FORMATTING_ERROR",n);class u extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),l(this,"code",void 0),l(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function h(e,t){return e?Object.keys(e).reduce((r,n)=>(r[n]={timeZone:t,...e[n]},r),{}):e}function f(e,t,r,n){let i=a.joinPath(n,r);if(!t)throw Error(i);let s=t;return r.split(".").forEach(t=>{let r=s[t];if(null==t||null==r)throw Error(i+" (".concat(e,")"));s=r}),s}let d=365/12*86400,p={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:365/12*86400,months:365/12*86400,quarter:365/12*259200,quarters:365/12*259200,year:31536e3,years:31536e3};t.IntlError=u,t.IntlErrorCode=c,t.createBaseTranslator=function(e){let t=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.defaultOnError;try{if(!t)throw Error(void 0);let n=r?f(e,t,r):t;if(!n)throw Error(r);return n}catch(t){let e=new u(c.MISSING_MESSAGE,t.message);return n(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{cache:t,defaultTranslationValues:r,formats:n,formatters:i,getMessageFallback:l=a.defaultGetMessageFallback,locale:d,messagesOrError:p,namespace:g,onError:v,timeZone:m}=e,_=p instanceof u;function y(e,t,r){let n=new u(t,r);return v(n),l({error:n,key:e,namespace:g})}function b(e,u,v){let b,E;if(_)return l({error:p,key:e,namespace:g});try{b=f(d,p,e,g)}catch(t){return y(e,c.MISSING_MESSAGE,t.message)}if("object"==typeof b){let t;return y(e,Array.isArray(b)?c.INVALID_MESSAGE:c.INSUFFICIENT_PATH,t)}let w=function(e,t){if(t)return;let r=e.replace(/'([{}])/gi,"$1");return/<|{/.test(r)?void 0:r}(b,u);if(w)return w;i.getMessageFormat||(i.getMessageFormat=a.memoFn(function(){return new o.default(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],{formatters:i,...arguments.length<=3?void 0:arguments[3]})},t.message));try{E=i.getMessageFormat(b,d,function(e,t){let r=t?{...e,dateTime:h(e.dateTime,t)}:e,n=o.default.formats.date,i=t?h(n,t):n,s=o.default.formats.time,a=t?h(s,t):s;return{...r,date:{...i,...r.dateTime},time:{...a,...r.dateTime}}}({...n,...v},m),{formatters:{...i,getDateTimeFormat:(e,t)=>
11i.getDateTimeFormat(e,{timeZone:m,...t})}})}catch(t){return y(e,c.INVALID_MESSAGE,t.message)}try{let e=E.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(r=>{let n,i=0,a=e[r];n="function"==typeof a?e=>{let t=a(e);return s.isValidElement(t)?s.cloneElement(t,{key:r+i++}):t}:a,t[r]=n}),t}({...r,...u}));if(null==e)throw Error(void 0);return s.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return y(e,c.FORMATTING_ERROR,t.message)}}function E(e,t,r){let n=b(e,t,r);return"string"!=typeof n?y(e,c.INVALID_MESSAGE,void 0):n}return E.rich=b,E.markup=(e,t,r)=>{let n=b(e,t,r);if("string"!=typeof n){let t=new u(c.FORMATTING_ERROR,void 0);return v(t),l({error:t,key:e,namespace:g})}return n},E.raw=e=>{if(_)return l({error:p,key:e,namespace:g});try{return f(d,p,e,g)}catch(t){return y(e,c.MISSING_MESSAGE,t.message)}},E.has=e=>{if(_)return!1;try{return f(d,p,e,g),!0}catch(e){return!1}},E}({...e,messagesOrError:t})},t.createFormatter=function(e){let{_cache:t=a.createCache(),_formatters:r=a.createIntlFormatters(t),formats:n,locale:i,now:s,onError:o=a.defaultOnError,timeZone:l}=e;function h(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(l?e={...e,timeZone:l}:o(new u(c.ENVIRONMENT_FALLBACK,void 0))),e}function f(e,t,r,n){let i;try{i=function(e,t){let r;if("string"==typeof t){if(!(r=null==e?void 0:e[t])){let e=new u(c.MISSING_FORMAT,void 0);throw o(e),e}}else r=t;return r}(t,e)}catch(e){return n()}try{return r(i)}catch(e){return o(new u(c.FORMATTING_ERROR,e.message)),n()}}function g(e,t){return f(t,null==n?void 0:n.dateTime,t=>(t=h(t),r.getDateTimeFormat(i,t).format(e)),()=>String(e))}function v(){return s||(o(new u(c.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:g,number:function(e,t){return f(t,null==n?void 0:n.number,t=>r.getNumberFormat(i,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var n;let s,a;let o={};t instanceof Date||"number"==typeof t?s=new Date(t):t&&(s=null!=t.now?new Date(t.now):v(),a=t.unit,o.style=t.style,o.numberingSystem=t.numberingSystem),s||(s=v());let l=(new Date(e).getTime()-s.getTime())/1e3;a||(a=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<d?"week":t<31536e3?"month":"year"}(l)),o.numeric="second"===a?"auto":"always";let c=(n=a,Math.round(l/p[n]));return r.getRelativeTimeFormat(i,o).format(c,a)}catch(t){return o(new u(c.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t){let s=[],a=new Map,o=0;for(let t of e){let e;"object"==typeof t?(e=String(o),a.set(e,t)):e=String(t),s.push(e),o++}return f(t,null==n?void 0:n.list,e=>{let t=r.getListFormat(i,e).formatToParts(s).map(e=>"literal"===e.type?e.value:a.get(e.value)||e.value);return a.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,s){return f(s,null==n?void 0:n.dateTime,n=>(n=h(n),r.getDateTimeFormat(i,n).formatRange(e,t)),()=>[g(e),g(t)].join(" – "))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},1617:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(28973),i=r(17097),s=r(16414),a=r(13928),o=r(85982),l=r(54633);r(71933),r(67294),r(95957),r(70837),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t.createTranslator=i.createTranslator,t._createCache=s.createCache,t._createIntlFormatters=s.createIntlFormatters,t.initializeConfig=s.initializeConfig,t.IntlProvider=a.IntlProvider,t.useFormatter=o.useFormatter,t.useMessages=o.useMessages,t.useNow=o.useNow,t.useTimeZone=o.useTimeZone,t.useTranslations=o.useTranslations,t.useLocale=l.useLocale},16414:function(e,t,r){"use strict";var n=r(95957);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(".")}function s(e){return i(e.namespace,e.key)}function a(e){console.error(e)}function o(e,t){return n.memoize(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:n.strategies.variadic})}function l(e,t){return o(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new e(...r)},t)}t.createCache=function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},t.createIntlFormatters=function(e){return{getDateTimeFormat:l(Intl.DateTimeFormat,e.dateTime),getNumberFormat:l(Intl.NumberFormat,e.number),getPluralRules:l(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:l(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:l(Intl.ListFormat,e.list),getDisplayNames:l(Intl.DisplayNames,e.displayNames)}},t.defaultGetMessageFallback=s,t.defaultOnError=a,t.initializeConfig=function(e){let{getMessageFallback:t,messages:r,onError:n,...i}=e;return{...i,messages:r,onError:n||a,getMessageFallback:t||s}},t.joinPath=i,t.memoFn=o},85982:function(e,t,r){"use strict";
11Object.defineProperty(t,"__esModule",{value:!0});var n=r(13928),i=r(54633),s=r(67294),a=r(28973);r(16414),r(95957),r(70837),r(71933);let o=!1,l="undefined"==typeof window;t.IntlProvider=n.IntlProvider,t.useLocale=i.useLocale,t.useFormatter=function(){let{formats:e,formatters:t,locale:r,now:n,onError:o,timeZone:l}=i.useIntlContext();return s.useMemo(()=>a.createFormatter({formats:e,locale:r,now:n,onError:o,timeZone:l,_formatters:t}),[e,t,n,r,o,l])},t.useMessages=function(){let e=i.useIntlContext();if(!e.messages)throw Error(void 0);return e.messages},t.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:r}=i.useIntlContext(),[n,a]=s.useState(r||new Date);return s.useEffect(()=>{if(!t)return;let e=setInterval(()=>{a(new Date)},t);return()=>{clearInterval(e)}},[r,t]),null==t&&r?r:n},t.useTimeZone=function(){return i.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,r){let{cache:n,defaultTranslationValues:c,formats:u,formatters:h,getMessageFallback:f,locale:d,onError:p,timeZone:g}=i.useIntlContext(),v=e["!"],m=a.resolveNamespace(t,"!");return g||o||!l||(o=!0,p(new a.IntlError(a.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),s.useMemo(()=>a.createBaseTranslator({cache:n,formatters:h,getMessageFallback:f,messages:v,defaultTranslationValues:c,namespace:m,onError:p,formats:u,locale:d,timeZone:g}),[n,h,f,v,c,m,p,u,d,g])}({"!":i.useIntlContext().messages},e?"!.".concat(e):"!",0)}},47149:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(54832).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34134:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(47149);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54832:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return s}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let i=globalThis.AsyncLocalStorage;function s(){return i?new i:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25575:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(54832).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40837:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return n.requestAsyncStorage}});let n=r(25575);function i(e){let t=n.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66393:function(e,t,r){"use strict";r.d(t,{$SY:function(){return ei},A35:function(){return ek},AX7:function(){return K},Acd:function(){return y},BEY:function(){return S},CjD:function(){return l},DBf:function(){return et},DYF:function(){return i}
11,E0H:function(){return M},EQ8:function(){return eH},EQg:function(){return a},FPD:function(){return em},FU$:function(){return ee},FVb:function(){return p},HcN:function(){return eO},ILF:function(){return _},IyC:function(){return eV},JrO:function(){return eB},JyM:function(){return v},KWv:function(){return w},LEN:function(){return Q},LEp:function(){return eR},LM3:function(){return eC},M6U:function(){return d},Mdf:function(){return Y},N7g:function(){return ez},NdV:function(){return P},NxF:function(){return V},Qj4:function(){return h},R$N:function(){return eu},T80:function(){return D},TL5:function(){return ew},Tab:function(){return E},Ui3:function(){return O},VmB:function(){return A},WA2:function(){return eD},WRo:function(){return n},XKl:function(){return T},XQY:function(){return H},XVU:function(){return ej},Xcf:function(){return f},Xgz:function(){return z},Xig:function(){return eL},XnX:function(){return C},Y$l:function(){return Z},YIN:function(){return eS},YLJ:function(){return eE},_jT:function(){return er},_tD:function(){return eM},acZ:function(){return J},c0k:function(){return eb},ck2:function(){return el},dH7:function(){return j},dT$:function(){return $},dZ1:function(){return x},ddb:function(){return B},eFW:function(){return G},eJY:function(){return ed},fGT:function(){return L},fV7:function(){return N},g4A:function(){return b},g82:function(){return ex},gc2:function(){return ec},go9:function(){return eA},ihg:function(){return q},ik8:function(){return eF},isG:function(){return eI},kZ_:function(){return ey},lUd:function(){return X},lXL:function(){return s},l_Z:function(){return e_},m1t:function(){return k},nNP:function(){return ep},nTQ:function(){return eP},nUK:function(){return W},olY:function(){return eN},onQ:function(){return eT},opg:function(){return eh},paY:function(){return en},ptq:function(){return ev},q2v:function(){return F},q7m:function(){return eo},r5q:function(){return ef},rWw:function(){return I},uKJ:function(){return ea},vn8:function(){return es},wEO:function(){return R},wlW:function(){return U},xHz:function(){return c},xiG:function(){return o},yOZ:function(){return m},ygb:function(){return u},zc:function(){return eg},zpt:function(){return g}});var n={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z"]},i={prefix:"fas",iconName:"backward",icon:[512,512,[9194],"f04a","M459.5 440.6c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29V96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4L288 214.3V256v41.7L459.5 440.6zM256 352V256 128 96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4l-192 160C4.2 237.5 0 246.5 0 256s4.2 18.5 11.5 24.6l192 160c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29V352z"]},s={prefix:"fas",iconName:"comments",icon:[640,512,[128490,61670],"f086","M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2 0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.3-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9l0 0 0 0-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"]},a={prefix:"fas",iconName:"scissors",icon:[512,512,[9984,9986,9988,"cut"],"f0c4","M256 192l-39.5-39.5c4.9-12.6 7.5-26.2 7.5-4
110.5C224 50.1 173.9 0 112 0S0 50.1 0 112s50.1 112 112 112c14.3 0 27.9-2.7 40.5-7.5L192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5C50.1 288 0 338.1 0 400s50.1 112 112 112s112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6c-28.3-28.3-74.1-28.3-102.4 0L256 192zm22.6 150.6L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0c7.1-7.1 7.1-18.5 0-25.6L342.6 278.6l-64 64zM64 112a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},o={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},l={prefix:"fas",iconName:"film",icon:[512,512,[127902],"f008","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM48 368v32c0 8.8 7.2 16 16 16H96c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16zm368-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H416zM48 240v32c0 8.8 7.2 16 16 16H96c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16zm368-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H416zM48 112v32c0 8.8 7.2 16 16 16H96c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16zM416 96c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H416zM160 128v64c0 17.7 14.3 32 32 32H320c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H192c-17.7 0-32 14.3-32 32zm32 160c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H320c17.7 0 32-14.3 32-32V320c0-17.7-14.3-32-32-32H192z"]},c={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},u={prefix:"fas",iconName:"volume-low",icon:[448,512,[128264,"volume-down"],"f027","M301.1 34.8C312.6 40 320 51.4 320 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3zM412.6 181.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5z"]},h={prefix:"fas",iconName:"compress",icon:[448,512,[],"f066","M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V64zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32H96v64c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32H32zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V64zM320 320c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320z"]},f={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},d={prefix:"fas",iconName:"share-nodes",icon:[448,512,["share-alt"],"f1e0","M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z"]},p={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]}
11,g={prefix:"fas",iconName:"camera-web",icon:[448,512,["webcam"],"f832","M344.2 413.1C406.6 373.3 448 303.5 448 224C448 100.3 347.7 0 224 0S0 100.3 0 224c0 79.5 41.4 149.3 103.8 189.1L45.6 453.8c-11.4 8-16.4 22.5-12.2 35.8S50 512 64 512H384c14 0 26.3-9.1 30.5-22.4s-.7-27.8-12.2-35.8l-58.2-40.7zM224 352a128 128 0 1 0 0-256 128 128 0 1 0 0 256zm0-288a160 160 0 1 1 0 320 160 160 0 1 1 0-320zM176 224c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16s-7.2 16-16 16c-26.5 0-48 21.5-48 48z"]},v={prefix:"fas",iconName:"sparkles",icon:[512,512,[10024],"f890","M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"]},m={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},_={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]},y={prefix:"fas",iconName:"bullhorn",icon:[512,512,[128226,128363],"f0a1","M480 32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9L381.7 53c-48 48-113.1 75-181 75H192 160 64c-35.3 0-64 28.7-64 64v96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V352l8.7 0c67.9 0 133 27 181 75l43.6 43.6c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V300.4c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4V32zm-64 76.7V240 371.3C357.2 317.8 280.5 288 200.7 288H192V192h8.7c79.8 0 156.5-29.8 215.3-83.3z"]},b={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},E={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"]},w={prefix:"fas",iconName:"file-lock",icon:[576,512,[],"e3a6","M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v33.6c-19.8 20.2-32 47.9-32 78.4v24.6c-19.1 11.1-32 31.7-32 55.4V480c0 11.4 3 22.2 8.3 31.5c-2.7 .3-5.5 .5-8.3 .5H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zm80 112c-17.7 0-32 14.3-32 32v48h64V272c0-17.7-14.3-32-32-32zm-80 32c0-44.2 35.8-80 80-80s80 35.8 80 80v48c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H384c-17.7 0-32-14.3-32-32V352c0-17.7 14.3-32 32-32V272z"]}
11,x={prefix:"fas",iconName:"calendar-star",icon:[448,512,[],"f736","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm233.3 58.9c-3.8-7.7-14.8-7.7-18.7 0l-23.6 47.8-52.7 7.7c-8.5 1.2-11.9 11.7-5.8 17.7l38.2 37.2-9 52.5c-1.5 8.5 7.5 15 15.1 11L224 400l47.2 24.8c7.6 4 16.5-2.5 15.1-11l-9-52.5 38.2-37.2c6.2-6 2.8-16.5-5.8-17.7l-52.7-7.7-23.6-47.8z"]},S={prefix:"fas",iconName:"right-to-bracket",icon:[512,512,["sign-in-alt"],"f2f6","M217.9 105.9L340.7 228.7c7.2 7.2 11.3 17.1 11.3 27.3s-4.1 20.1-11.3 27.3L217.9 406.1c-6.4 6.4-15 9.9-24 9.9c-18.7 0-33.9-15.2-33.9-33.9l0-62.1L32 320c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l128 0 0-62.1c0-18.7 15.2-33.9 33.9-33.9c9 0 17.6 3.6 24 9.9zM352 416l64 0c17.7 0 32-14.3 32-32l0-256c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0c53 0 96 43 96 96l0 256c0 53-43 96-96 96l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},P={prefix:"fas",iconName:"user-group",icon:[640,512,[128101,"user-friends"],"f500","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2h61.4C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z"]},T={prefix:"fas",iconName:"headset",icon:[512,512,[],"f590","M256 48C141.1 48 48 141.1 48 256v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V256C0 114.6 114.6 0 256 0S512 114.6 512 256V400.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24H240c-26.5 0-48-21.5-48-48s21.5-48 48-48h32c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40V256c0-114.9-93.1-208-208-208zM144 208h16c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H144c-35.3 0-64-28.7-64-64V272c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64v48c0 35.3-28.7 64-64 64H352c-17.7 0-32-14.3-32-32V240c0-17.7 14.3-32 32-32h16z"]},k={prefix:"fas",iconName:"volume",icon:[576,512,[128265,"volume-medium"],"f6a8","M333.1 34.8C344.6 40 352 51.4 352 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L163.8 352H96c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L298.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3zm172 72.2c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C507.3 341.3 528 301.1 528 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C466.1 199.1 480 225.9 480 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C425.1 284.4 432 271 432 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5z"]},M={prefix:"fas",iconName:"arrow-down-to-line",icon:[384,512,["arrow-to-bottom"],"f33d","M32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H32zM214.6 342.6c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 242.7V64c0-17.7 14.3-32 32-32s32 14.3 32 32V242.7l73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128z"]},O={prefix:"fas",iconName:"subtitles",icon:[576,512,[],"e60f","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm56 208H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24zm256 0h80c13.3 0 24 10.7 24 24s-10.7 24-24 24H376c-13.3 0-24-10.7-24-24s10.7-24 24-24zM120 336h80c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24zm160 0H456c13.3 0 24 10.7 24 24s-10.7 24-24 24H280c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},A={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},C={prefix:"fas",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M48.5 224H40c-13.3 0-24-10.7-24-24V72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8H48.5z"]},I={prefix:"fas",iconName:"table-columns",icon:[512,512,["columns"],"f0db","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm64 64V416H224V160H64zm384 0H288V416H448V160z"]},L={prefix:"fas",iconName:"gem",icon:[512,512,[128142],"f3a5","M116.7 33.8c4.5-6.1 11.7-9.8 19.3-9.8H376c7.6 0 14.8 3.6 19.3 9.8l112 152c6.8 9.2 
116.1 21.9-1.5 30.4l-232 256c-4.5 5-11 7.9-17.8 7.9s-13.2-2.9-17.8-7.9l-232-256c-7.7-8.5-8.3-21.2-1.5-30.4l112-152zm38.5 39.8c-3.3 2.5-4.2 7-2.1 10.5l57.4 95.6L63.3 192c-4.1 .3-7.3 3.8-7.3 8s3.2 7.6 7.3 8l192 16c.4 0 .9 0 1.3 0l192-16c4.1-.3 7.3-3.8 7.3-8s-3.2-7.6-7.3-8L301.5 179.8l57.4-95.6c2.1-3.5 1.2-8.1-2.1-10.5s-7.9-2-10.7 1L256 172.2 165.9 74.6c-2.8-3-7.4-3.4-10.7-1z"]},N={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},H={prefix:"fas",iconName:"pause",icon:[320,512,[9208],"f04c","M48 64C21.5 64 0 85.5 0 112V400c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48V400c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H240z"]},R={prefix:"fas",iconName:"cloud-arrow-up",icon:[640,512,[62338,"cloud-upload","cloud-upload-alt"],"f0ee","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z"]},F={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},j={prefix:"fas",iconName:"arrows-left-right",icon:[512,512,["arrows-h"],"f07e","M406.6 374.6l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224l-293.5 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288l293.5 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]},D={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H352c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V80c0-17.7-14.3-32-32-32s-32 14.3-32 32v35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V432c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H160c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},z={prefix:"fas",iconName:"newspaper",icon:[512,512,[128240],"f1ea","M96 96c0-35.3 28.7-64 64-64H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H80c-44.2 0-80-35.8-80-80V128c0-17.7 14.3-32 32-32s32 14.3 32 32V400c0 8.8 7.2 16 16 16s16-7.2 16-16V96zm64 24v80c0 13.3 10.7 24 24 24H296c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24H184c-13.3 0-24 10.7-24 24zm208-8c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H384c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H384c-8.8 0-16 7.2-16 16zM160 304c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},B={prefix:"fas",iconName:"sparkle",icon:[448,512,[],"e5d6","M245.8 45.9C241.9 37.4 233.4 32 224 32s-17.9 5.4-21.8 13.9L142.7 174.7 13.9 234.2C5.4 238.1 0 246.6 0 256s5.4 17.9 13.9 21.8l128.8 59.5 59.5 128.8
11c3.9 8.5 12.4 13.9 21.8 13.9s17.9-5.4 21.8-13.9l59.5-128.8 128.8-59.5c8.5-3.9 13.9-12.4 13.9-21.8s-5.4-17.9-13.9-21.8L305.3 174.7 245.8 45.9z"]},V={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M192 104.8c0-9.2-5.8-17.3-13.2-22.8C167.2 73.3 160 61.3 160 48c0-26.5 28.7-48 64-48s64 21.5 64 48c0 13.3-7.2 25.3-18.8 34c-7.4 5.5-13.2 13.6-13.2 22.8c0 12.8 10.4 23.2 23.2 23.2H336c26.5 0 48 21.5 48 48v56.8c0 12.8 10.4 23.2 23.2 23.2c9.2 0 17.3-5.8 22.8-13.2c8.7-11.6 20.7-18.8 34-18.8c26.5 0 48 28.7 48 64s-21.5 64-48 64c-13.3 0-25.3-7.2-34-18.8c-5.5-7.4-13.6-13.2-22.8-13.2c-12.8 0-23.2 10.4-23.2 23.2V464c0 26.5-21.5 48-48 48H279.2c-12.8 0-23.2-10.4-23.2-23.2c0-9.2 5.8-17.3 13.2-22.8c11.6-8.7 18.8-20.7 18.8-34c0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34c7.4 5.5 13.2 13.6 13.2 22.8c0 12.8-10.4 23.2-23.2 23.2H48c-26.5 0-48-21.5-48-48V343.2C0 330.4 10.4 320 23.2 320c9.2 0 17.3 5.8 22.8 13.2C54.7 344.8 66.7 352 80 352c26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8C40.5 250.2 32.4 256 23.2 256C10.4 256 0 245.6 0 232.8V176c0-26.5 21.5-48 48-48H168.8c12.8 0 23.2-10.4 23.2-23.2z"]},$={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},U={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},G={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},q={prefix:"fas",iconName:"volume-high",icon:[640,512,[128266,"volume-up"],"f028","M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z"]},W={prefix:"fas",iconName:"arrow-up-right",icon:[384,512,[],"e09f","M352 128c0-17.7-14.3-32-32-32L96 96c-17.7 0-32 14.3-32 32s14.3 32 32 32l146.7 0L41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L288 205.3 288 352c0 17.7 14.3 32 32 32s32-14.3 32-32l0-224z"]},Y={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},X={prefix:"fas",iconName:"arrow-rotate-right",icon:[512,512,[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],"f01e","M386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H464c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z"]},K={prefix:"fas",iconName:"spinner-third",icon:[512,512,[],"f3f4","M224 32c0-17.7 14.3-32 32-32C397.4 0 512 114.6 512 256c0 46.6-12.5 90.4-34.3 128c-8.8 15.3-28.4 20.5-43.7 11.7s-20.5-28.4-11.7-43.7c16.3-28.2 25.7-61 25.7-96c0-106-86-192-192-192c-17.7 0-32-14.3-32-32z"]},Z={prefix:"fas",iconName:"table-layout",icon:[512,512,[],"e290","M64 32C28.7 32 0 60.7 0 96V4
1116c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM448 96v64H64V96H448zM64 224h64V416H64V224zm384 0V416H192V224H448z"]},J={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},Q={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},ee={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]},et={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},er={prefix:"fas",iconName:"camera",icon:[512,512,[62258,"camera-alt"],"f030","M149.1 64.8L138.7 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H373.3L362.9 64.8C356.4 45.2 338.1 32 317.4 32H194.6c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},en={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},ei={prefix:"fas",iconName:"mobile-screen",icon:[384,512,["mobile-android-alt"],"f3cf","M16 64C16 28.7 44.7 0 80 0H304c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H80c-35.3 0-64-28.7-64-64V64zM144 448c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H160c-8.8 0-16 7.2-16 16zM304 64H80V384H304V64z"]},es={prefix:"fas",iconName:"industry-windows",icon:[576,512,[127981,"industry-alt"],"f3b3","M32 64c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32V215.4L316.6 131c16-8.6 35.4 3 35.4 21.1v63.2L508.6 131c16-8.6 35.4 3 35.4 21.1V304 432c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V352 304 64zM264 312c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V328c0-8.8-7.2-16-16-16H264zM120 328v48c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V328c0-8.8-7.2-16-16-16H136c-8.8 0-16 7.2-16 16zm272-16c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V328c0-8.8-7.2-16-16-16H392z"]},ea={prefix:"fas",iconName:"closed-captioning",icon:[576,512,[],"f20a","M0 96C0 60.7 28.7 32 64 32H512c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM200 208c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48s21.5-48 48-48zm144 48c0-26.5 21.5-48 48-48c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48z"]},eo={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-6
115.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},el={prefix:"fas",iconName:"circle-video",icon:[512,512,["video-circle"],"e12b","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM128 192c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32V320c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V192zM396.9 317.9L352 288V224l44.9-29.9c2-1.3 4.4-2.1 6.8-2.1c6.8 0 12.3 5.5 12.3 12.3V307.7c0 6.8-5.5 12.3-12.3 12.3c-2.4 0-4.8-.7-6.8-2.1z"]},ec={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},eu={prefix:"fas",iconName:"handshake-angle",icon:[640,512,["hands-helping"],"f4c4","M544 248v3.3l69.7-69.7c21.9-21.9 21.9-57.3 0-79.2L535.6 24.4c-21.9-21.9-57.3-21.9-79.2 0L416.3 64.5c-2.7-.3-5.5-.5-8.3-.5H296c-37.1 0-67.6 28-71.6 64H224V248c0 22.1 17.9 40 40 40s40-17.9 40-40V176c0 0 0-.1 0-.1V160l16 0 136 0c0 0 0 0 .1 0H464c44.2 0 80 35.8 80 80v8zM336 192v56c0 39.8-32.2 72-72 72s-72-32.2-72-72V129.4c-35.9 6.2-65.8 32.3-76 68.2L99.5 255.2 26.3 328.4c-21.9 21.9-21.9 57.3 0 79.2l78.1 78.1c21.9 21.9 57.3 21.9 79.2 0l37.7-37.7c.9 0 1.8 .1 2.7 .1H384c26.5 0 48-21.5 48-48c0-5.6-1-11-2.7-16H432c26.5 0 48-21.5 48-48c0-12.8-5-24.4-13.2-33c25.7-5 45.1-27.6 45.2-54.8v-.4c-.1-30.8-25.1-55.8-56-55.8c0 0 0 0 0 0l-120 0z"]},eh={prefix:"fas",iconName:"location-dot",icon:[384,512,["map-marker-alt"],"f3c5","M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"]},ef={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},ed={prefix:"fas",iconName:"star-half",icon:[576,512,[61731],"f089","M288 0c-12.2 .1-23.3 7-28.6 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3L288 439.8V0zM429.9 512c1.1 .1 2.1 .1 3.2 0h-3.2z"]},ep={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},eg={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},ev={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},em={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},e_={prefix:"fas",iconName:"clapperboard",icon:[512,512,[],"e131","M448 32H361.9l-1 1-127 127h92.1l1-1L453.8 32.3c-1.9-.2-3.8-.3-5.8-.3zm64 128V96c0-15.1-5.3-29.1-14-40l-104 104H512zM294.1 32H201.9l-1 1L73.9 160h92.1l1-1 127-127zM64 32C28.7 32 0 60.7 0 96v64H6.1l1-1 127-127H64zM512 192H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192z"]}
vendor: 4,615 bytes, line 11
11,ey={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},eb={prefix:"fas",iconName:"volume-xmark",icon:[576,512,["volume-mute","volume-times"],"f6a9","M301.1 34.8C312.6 40 320 51.4 320 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3zM425 167l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z"]},eE=eb,ew={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64v96c0 17.7 14.3 32 32 32s32-14.3 32-32V96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V352zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H320zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V352z"]},ex={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},eS=ex,eP={prefix:"fas",iconName:"photo-film",icon:[640,512,["photo-video"],"f87c","M256 0H576c35.3 0 64 28.7 64 64V288c0 35.3-28.7 64-64 64H256c-35.3 0-64-28.7-64-64V64c0-35.3 28.7-64 64-64zM476 106.7C471.5 100 464 96 456 96s-15.5 4-20 10.7l-56 84L362.7 169c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h80 48H552c8.9 0 17-4.9 21.2-12.7s3.7-17.3-1.2-24.6l-96-144zM336 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM64 128h96V384v32c0 17.7 14.3 32 32 32H320c17.7 0 32-14.3 32-32V384H512v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192c0-35.3 28.7-64 64-64zm8 64c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16H88c8.8 0 16-7.2 16-16V208c0-8.8-7.2-16-16-16H72zm0 104c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16H88c8.8 0 16-7.2 16-16V312c0-8.8-7.2-16-16-16H72zm0 104c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16H88c8.8 0 16-7.2 16-16V416c0-8.8-7.2-16-16-16H72zm336 16v16c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16V416c0-8.8-7.2-16-16-16H424c-8.8 0-16 7.2-16 16z"]},eT={prefix:"fas",iconName:"angle-up",icon:[448,512,[8963],"f106","M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},ek={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},eM={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},eO={prefix:"fas",iconName:"dial",icon:[576,512,["dial-med-high"],"e15b","M288 0a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM175.1 174.2c56.7-56.7 145.4-62 208-15.7L271.3 270.4c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L417.1 192.4c46.2 62.6 41 151.3-15.7 208c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3zM512 288a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM32 256a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM64 96a32 32 0 1 1 64 0A32 32 0 1 1 64 96zM480 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM64 480a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm416-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},eA={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-
117.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},eC={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},eI={prefix:"fas",iconName:"shield",icon:[512,512,[128737,"shield-blank"],"f132","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0z"]},eL={prefix:"fas",iconName:"music",icon:[512,512,[127925],"f001","M499.1 6.3c8.1 6 12.9 15.6 12.9 25.7v72V368c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6V147L192 223.8V432c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6V200 128c0-14.1 9.3-26.6 22.8-30.7l320-96c9.7-2.9 20.2-1.1 28.3 5z"]},eN={prefix:"fas",iconName:"hashtag",icon:[448,512,[62098],"23","M181.3 32.4c17.4 2.9 29.2 19.4 26.3 36.8L197.8 128h95.1l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3s29.2 19.4 26.3 36.8L357.8 128H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H347.1L325.8 320H384c17.7 0 32 14.3 32 32s-14.3 32-32 32H315.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8l9.8-58.7H155.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8L90.2 384H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l21.3-128H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3zM187.1 192L165.8 320h95.1l21.3-128H187.1z"]},eH={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},eR={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},eF={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},ej={prefix:"fas",iconName:"arrows-up-down",icon:[320,512,["arrows-v"],"f07d","M182.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 109.3V402.7L86.6 361.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 402.7V109.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z"]},eD={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},ez={prefix:"fas",iconName:"magnifying-glass-plus",icon:[512,512,["search-plus"],"f00e","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM184 296c0 13.3 10.7 24 24 24s24-10.7 24-24V232h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H232V120c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"]},eB={prefix:"fas",iconName:"shield-keyhole",icon:[512,512,[],"e248","M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM312 208c0 22.3-13.1 41.6-32 50.6V328
11c0 13.3-10.7 24-24 24s-24-10.7-24-24V258.6c-18.9-9-32-28.3-32-50.6c0-30.9 25.1-56 56-56s56 25.1 56 56z"]},eV={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2V384c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1V320 192 174.9l14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z"]}},74533:function(e){"use strict";e.exports=JSON.parse('{"description":"The iconic font, CSS, and SVG framework","keywords":["font","awesome","fontawesome","icon","svg","bootstrap"],"homepage":"https://fontawesome.com","bugs":{"url":"https://github.com/FortAwesome/Font-Awesome/issues"},"author":"The Font Awesome Team (https://github.com/orgs/FortAwesome/people)","repository":{"type":"git","url":"https://github.com/FortAwesome/Font-Awesome"},"engines":{"node":">=6"},"dependencies":{"@fortawesome/fontawesome-common-types":"6.7.2"},"version":"6.7.2","name":"@fortawesome/fontawesome-svg-core","main":"index.js","module":"index.mjs","jsnext:main":"index.mjs","style":"styles.css","license":"MIT","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","module":"./index.mjs","import":"./index.mjs","require":"./index.js","style":"./styles.css","default":"./index.js"},"./index":{"types":"./index.d.ts","module":"./index.mjs","import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js":{"types":"./index.d.ts","module":"./index.mjs","import":"./index.mjs","require":"./index.js","default":"./index.js"},"./plugins":{"types":"./index.d.ts","module":"./plugins.mjs","import":"./plugins.mjs","default":"./plugins.mjs"},"./import.macro":"./import.macro.js","./import.macro.js":"./import.macro.js","./styles":"./styles.css","./styles.css":"./styles.css","./package.json":"./package.json"},"sideEffects":["./index.js","./index.mjs","./styles.css"]}')},89426:function(e){"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},27395:function(e){"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},88420:function(e){"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(37253)}),_N_E=e.O()}]);

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.