/g,">").replace(/n.indexOf(t)})},e.parseCustomProperties=function(t){if(void 0!==t)try{return JSON.parse(t)}catch(e){return t}return{}}},273:function(t,e){var i=this&&this.__spreadArray||function(t,e,i){if(i||2==arguments.length)for(var n,o=0,r=e.length;o-1)return t.map(function(t){return t.id===parseInt("".concat(a.choiceId),10)&&(t.selected=!0),t});return t;case"REMOVE_ITEM":var s=n;if(s.choiceId&&s.choiceId>-1)return t.map(function(t){return t.id===parseInt("".concat(s.choiceId),10)&&(t.selected=!1),t});return t;case"FILTER_CHOICES":var l=n;return t.map(function(t){return t.active=l.results.some(function(e){var i=e.item,n=e.score;return i.id===t.id&&(t.score=n,!0)}),t});case"ACTIVATE_CHOICES":var c=n;return t.map(function(t){return t.active=c.active,t});case"CLEAR_CHOICES":return e.defaultState;default:return t}}},871:function(t,e){var i=this&&this.__spreadArray||function(t,e,i){if(i||2==arguments.length)for(var n,o=0,r=e.length;o0?"treeitem":"option"),Object.assign(b.dataset,{choice:"",id:d,value:p,selectText:i}),g?(b.classList.add(h),b.dataset.choiceDisabled="",b.setAttribute("aria-disabled","true")):(b.classList.add(l),b.dataset.choiceSelectable=""),b},input:function(t,e){var i=t.classNames,n=i.input,o=i.inputCloned,r=Object.assign(document.createElement("input"),{type:"search",name:"search_terms",className:"".concat(n," ").concat(o),autocomplete:"off",autocapitalize:"off",spellcheck:!1});return r.setAttribute("role","textbox"),r.setAttribute("aria-autocomplete","list"),r.setAttribute("aria-label",e),r},dropdown:function(t){var e=t.classNames,i=e.list,n=e.listDropdown,o=document.createElement("div");return o.classList.add(i,n),o.setAttribute("aria-expanded","false"),o},notice:function(t,e,i){var n,o=t.allowHTML,r=t.classNames,a=r.item,s=r.itemChoice,l=r.noResults,c=r.noChoices;void 0===i&&(i="");var h=[a,s];return"no-choices"===i?h.push(c):"no-results"===i&&h.push(l),Object.assign(document.createElement("div"),((n={})[o?"innerHTML":"innerText"]=e,n.className=h.join(" "),n))},option:function(t){var e=t.label,i=t.value,n=t.customProperties,o=t.active,r=t.disabled,a=new Option(e,i,!1,o);return n&&(a.dataset.customProperties="".concat(n)),a.disabled=!!r,a}}},996:function(t){var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==i},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(t,e){return!1!==e.clone&&e.isMergeableObject(t)?s(Array.isArray(t)?[]:{},t,e):t}function o(t,e,i){return t.concat(e).map(function(t){return n(t,i)})}function r(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[])}function a(t,e){try{return e in t}catch(t){return!1}}function s(t,i,l){(l=l||{}).arrayMerge=l.arrayMerge||o,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=n;var c,h,u=Array.isArray(i);return u!==Array.isArray(t)?n(i,l):u?l.arrayMerge(t,i,l):(h={},(c=l).isMergeableObject(t)&&r(t).forEach(function(e){h[e]=n(t[e],c)}),r(i).forEach(function(e){a(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))||(a(t,e)&&c.isMergeableObject(i[e])?h[e]=(function(t,e){if(!e.customMerge)return s;var i=e.customMerge(t);return"function"==typeof i?i:s})(e,c)(t[e],i[e],c):h[e]=n(i[e],c))}),h)}s.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,i){return s(t,i,e)},{})},t.exports=s},221:function(t,e,i){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===h(t)}i.r(e),i.d(e,{default:function(){return U}});let o=1/0;function r(t){return"string"==typeof t}function a(t){return"number"==typeof t}function s(t){return"object"==typeof t}function l(t){return null!=t}function c(t){return!t.trim().length}function h(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}let u=t=>`Invalid value for key ${t}`,d=t=>`Pattern length exceeds max of ${t}.`,p=t=>`Missing ${t} property in key`,f=t=>`Property 'weight' in key '${t}' must be a positive integer`,m=Object.prototype.hasOwnProperty;class _{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach(t=>{let i=g(t);e+=i.weight,this._keys.push(i),this._keyMap[i.id]=i,e+=i.weight}),this._keys.forEach(t=>{t.weight/=e})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function g(t){let e=null,i=null,o=null,a=1,s=null;if(r(t)||n(t))o=t,e=y(t),i=v(t);else{if(!m.call(t,"name"))throw Error(p("name"));let n=t.name;if(o=n,m.call(t,"weight")&&(a=t.weight)<=0)throw Error(f(n));e=y(n),i=v(n),s=t.getFn}return{path:e,id:i,weight:a,src:o,getFn:s}}function y(t){return n(t)?t:t.split(".")}function v(t){return n(t)?t.join("."):t}var b={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx{if(l(t)){if(e[d]){var p,f;let m=t[e[d]];if(l(m)){if(d===e.length-1&&(r(m)||a(m)||!0===(p=m)||!1===p||s(f=p)&&null!==f&&"[object Boolean]"==h(p)))i.push(null==m?"":function(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-o?"-0":e}(m));else if(n(m)){c=!0;for(let t=0,i=m.length;t{this._keysMap[t.id]=e})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,r(this.docs[0])?this.docs.forEach((t,e)=>{this._addString(t,e)}):this.docs.forEach((t,e)=>{this._addObject(t,e)}),this.norm.clear())}add(t){let e=this.size();r(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,i=this.size();e{let a=e.getFn?e.getFn(t):this.getFn(t,e.path);if(l(a)){if(n(a)){let t=[],e=[{nestedArrIndex:-1,value:a}];for(;e.length;){let{nestedArrIndex:i,value:o}=e.pop();if(l(o)){if(r(o)&&!c(o)){let e={v:o,i:i,n:this.norm.get(o)};t.push(e)}else n(o)&&o.forEach((t,i)=>{e.push({nestedArrIndex:i,value:t})})}}i.$[o]=t}else if(r(a)&&!c(a)){let t={v:a,n:this.norm.get(a)};i.$[o]=t}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function P(t,e,{getFn:i=b.getFn,fieldNormWeight:n=b.fieldNormWeight}={}){let o=new w({getFn:i,fieldNormWeight:n});return o.setKeys(t.map(g)),o.setSources(e),o.create(),o}function E(t,{errors:e=0,currentLocation:i=0,expectedLocation:n=0,distance:o=b.distance,ignoreLocation:r=b.ignoreLocation}={}){let a=e/t.length;if(r)return a;let s=Math.abs(n-i);return o?a+s/o:s?1:a}class S{constructor(t,{location:e=b.location,threshold:i=b.threshold,distance:n=b.distance,includeMatches:o=b.includeMatches,findAllMatches:r=b.findAllMatches,minMatchCharLength:a=b.minMatchCharLength,isCaseSensitive:s=b.isCaseSensitive,ignoreLocation:l=b.ignoreLocation}={}){if(this.options={location:e,threshold:i,distance:n,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l},this.pattern=s?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;let c=(t,e)=>{this.chunks.push({pattern:t,alphabet:function(t){let e={};for(let i=0,n=t.length;i32){let t=0,e=h%32,i=h-e;for(;t{let{isMatch:m,score:_,indices:g}=function(t,e,i,{location:n=b.location,distance:o=b.distance,threshold:r=b.threshold,findAllMatches:a=b.findAllMatches,minMatchCharLength:s=b.minMatchCharLength,includeMatches:l=b.includeMatches,ignoreLocation:c=b.ignoreLocation}={}){let h;if(e.length>32)throw Error(d(32));let u=e.length,p=t.length,f=Math.max(0,Math.min(n,p)),m=r,_=f,g=s>1||l,y=g?Array(p):[];for(;(h=t.indexOf(e,_))>-1;)if(m=Math.min(E(e,{currentLocation:h,expectedLocation:f,distance:o,ignoreLocation:c}),m),_=h+u,g){let t=0;for(;t=l;r-=1){let a=r-1,s=i[t.charAt(a)];if(g&&(y[a]=+!!s),d[r]=(d[r+1]<<1|1)&s,n&&(d[r]|=(v[r+1]|v[r])<<1|1|v[r+1]),d[r]&P&&(x=E(e,{errors:n,currentLocation:a,expectedLocation:f,distance:o,ignoreLocation:c}))<=m){if(m=x,(_=a)<=f)break;l=Math.max(1,2*f-_)}}if(E(e,{errors:n+1,currentLocation:f,expectedLocation:f,distance:o,ignoreLocation:c})>m)break;v=d}let S={isMatch:_>=0,score:Math.max(.001,x)};if(g){let t=function(t=[],e=b.minMatchCharLength){let i=[],n=-1,o=-1,r=0;for(let a=t.length;r=e&&i.push([n,o]),n=-1)}return t[r-1]&&r-n>=e&&i.push([n,r-1]),i}(y,s);t.length?l&&(S.indices=t):S.isMatch=!1}return S}(t,e,p,{location:n+f,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:s,includeMatches:i,ignoreLocation:l});m&&(u=!0),h+=_,m&&g&&(c=[...c,...g])});let p={isMatch:u,score:u?h/this.chunks.length:1};return u&&i&&(p.indices=c),p}}class T{constructor(t){this.pattern=t}static isMultiMatch(t){return A(t,this.multiRegex)}static isSingleMatch(t){return A(t,this.singleRegex)}search(){}}function A(t,e){let i=t.match(e);return i?i[1]:null}class k extends T{constructor(t,{location:e=b.location,threshold:i=b.threshold,distance:n=b.distance,includeMatches:o=b.includeMatches,findAllMatches:r=b.findAllMatches,minMatchCharLength:a=b.minMatchCharLength,isCaseSensitive:s=b.isCaseSensitive,ignoreLocation:l=b.ignoreLocation}={}){super(t),this._bitapSearch=new S(t,{location:e,threshold:i,distance:n,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class C extends T{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,i=0,n=[],o=this.pattern.length;for(;(e=t.indexOf(this.pattern,i))>-1;)i=e+o,n.push([e,i-1]);let r=!!n.length;return{isMatch:r,score:r?0:1,indices:n}}}let O=[class extends T{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){let e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},C,class extends T{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){let e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},class extends T{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){let e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends T{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){let e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends T{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){let e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}},class extends T{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){let e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},k],M=O.length,I=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,j=new Set([k.type,C.type]),z=[];function F(t,e){for(let i=0,n=z.length;i!!(t[N.AND]||t[N.OR]),D=t=>!!t[R.PATH],B=t=>!n(t)&&s(t)&&!H(t),Z=t=>({[N.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function W(t,e,{auto:i=!0}={}){let o=t=>{let a=Object.keys(t),s=D(t);if(!s&&a.length>1&&!H(t))return o(Z(t));if(B(t)){let n=s?t[R.PATH]:a[0],o=s?t[R.PATTERN]:t[n];if(!r(o))throw Error(u(n));let l={keyId:v(n),pattern:o};return i&&(l.searcher=F(o,e)),l}let l={children:[],operator:a[0]};return a.forEach(e=>{let i=t[e];n(i)&&i.forEach(t=>{l.children.push(o(t))})}),l};return H(t)||(t=Z(t)),o(t)}function K(t,e){let i=t.matches;e.matches=[],l(i)&&i.forEach(t=>{if(!l(t.indices)||!t.indices.length)return;let{indices:i,value:n}=t,o={indices:i,value:n};t.key&&(o.key=t.key.src),t.idx>-1&&(o.refIndex=t.idx),e.matches.push(o)})}function V(t,e){e.score=t.score}class U{constructor(t,e={},i){this.options={...b,...e},this.options.useExtendedSearch,this._keyStore=new _(this.options.keys),this.setCollection(t,i)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof w))throw Error("Incorrect 'index' type");this._myIndex=e||P(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){l(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){let e=[];for(let i=0,n=this._docs.length;i{let i=1;t.matches.forEach(({key:t,norm:n,score:o})=>{let r=t?t.weight:null;i*=Math.pow(0===o&&r?Number.EPSILON:o,(r||1)*(e?1:n))}),t.score=i})}(c,{ignoreFieldNorm:l}),o&&c.sort(s),a(e)&&e>-1&&(c=c.slice(0,e)),function(t,e,{includeMatches:i=b.includeMatches,includeScore:n=b.includeScore}={}){let o=[];return i&&o.push(K),n&&o.push(V),t.map(t=>{let{idx:i}=t,n={item:e[i],refIndex:i};return o.length&&o.forEach(e=>{e(t,n)}),n})}(c,this._docs,{includeMatches:i,includeScore:n})}_searchStringList(t){let e=F(t,this.options),{records:i}=this._myIndex,n=[];return i.forEach(({v:t,i:i,n:o})=>{if(!l(t))return;let{isMatch:r,score:a,indices:s}=e.searchIn(t);r&&n.push({item:t,idx:i,matches:[{score:a,value:t,norm:o,indices:s}]})}),n}_searchLogical(t){let e=W(t,this.options),i=(t,e,n)=>{if(!t.children){let{keyId:i,searcher:o}=t,r=this._findMatches({key:this._keyStore.get(i),value:this._myIndex.getValueForItemAtKeyId(e,i),searcher:o});return r&&r.length?[{idx:n,item:e,matches:r}]:[]}let o=[];for(let r=0,a=t.children.length;r{if(l(t)){let a=i(e,t,n);a.length&&(o[n]||(o[n]={idx:n,item:t,matches:[]},r.push(o[n])),a.forEach(({matches:t})=>{o[n].matches.push(...t)}))}}),r}_searchObjectList(t){let e=F(t,this.options),{keys:i,records:n}=this._myIndex,o=[];return n.forEach(({$:t,i:n})=>{if(!l(t))return;let r=[];i.forEach((i,n)=>{r.push(...this._findMatches({key:i,value:t[n],searcher:e}))}),r.length&&o.push({idx:n,item:t,matches:r})}),o}_findMatches({key:t,value:e,searcher:i}){if(!l(e))return[];let o=[];if(n(e))e.forEach(({v:e,i:n,n:r})=>{if(!l(e))return;let{isMatch:a,score:s,indices:c}=i.searchIn(e);a&&o.push({score:s,key:t,value:e,idx:n,norm:r,indices:c})});else{let{v:n,n:r}=e,{isMatch:a,score:s,indices:l}=i.searchIn(n);a&&o.push({score:s,key:t,value:n,norm:r,indices:l})}return o}}U.version="6.6.2",U.createIndex=P,U.parseIndex=function(t,{getFn:e=b.getFn,fieldNormWeight:i=b.fieldNormWeight}={}){let{keys:n,records:o}=t,r=new w({getFn:e,fieldNormWeight:i});return r.setKeys(n),r.setIndexRecords(o),r},U.config=b,U.parseQuery=W,function(...t){z.push(...t)}(class{constructor(t,{isCaseSensitive:e=b.isCaseSensitive,includeMatches:i=b.includeMatches,minMatchCharLength:n=b.minMatchCharLength,ignoreLocation:o=b.ignoreLocation,findAllMatches:r=b.findAllMatches,location:a=b.location,threshold:s=b.threshold,distance:l=b.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:i,minMatchCharLength:n,findAllMatches:r,ignoreLocation:o,location:a,threshold:s,distance:l},this.pattern=e?t:t.toLowerCase(),this.query=function(t,e={}){return t.split("|").map(t=>{let i=t.trim().split(I).filter(t=>t&&!!t.trim()),n=[];for(let t=0,o=i.length;t{};let f={},m={},_=null,g={mark:p,measure:p};try{"undefined"!=typeof window&&(f=window),"undefined"!=typeof document&&(m=document),"undefined"!=typeof MutationObserver&&(_=MutationObserver),"undefined"!=typeof performance&&(g=performance)}catch(t){}const{userAgent:y=""}=f.navigator||{},v=f,b=m,x=_,w=g;v.document;const P=!!b.documentElement&&!!b.head&&"function"==typeof b.addEventListener&&"function"==typeof b.createElement,E=~y.indexOf("MSIE")||~y.indexOf("Trident/");var S={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"}},T=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],A="classic",k="duotone",C=[A,k,"sharp","sharp-duotone"],O=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}]]),M=["fak","fa-kit","fakd","fa-kit-duotone"],I=["fak","fakd"],j=["fak","fa-kit","fakd","fa-kit-duotone"],z={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"}},F=["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"],N=[1,2,3,4,5,6,7,8,9,10],R=N.concat([11,12,13,14,15,16,17,18,19,20]),H=["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-vertical","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(N.map(t=>"".concat(t,"x"))).concat(R.map(t=>"w-".concat(t)));const D="___FONT_AWESOME___",B="svg-inline--fa",Z="data-fa-i2svg",W="data-fa-pseudo-element",K="data-prefix",V="data-icon",U="fontawesome-i2svg",Y=["HTML","HEAD","STYLE","SCRIPT"],G=(()=>{try{return!0}catch(t){return!1}})();function q(t){return new Proxy(t,{get:(t,e)=>e in t?t[e]:t[A]})}const X=d({},S);X[A]=d(d(d(d({},{"fa-duotone":"duotone"}),S[A]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});const J=q(X),$=d({},{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"}});$[A]=d(d(d(d({},{duotone:"fad"}),$[A]),{kit:"fak"}),{"kit-duotone":"fakd"});const Q=q($),tt=d({},z);tt[A]=d(d({},tt[A]),{fak:"fa-kit"});const te=q(tt),ti=d({},{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"}});ti[A]=d(d({},ti[A]),{"fa-kit":"fak"}),q(ti);const tn=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,to="fa-layers-text",tr=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i;q(d({},{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"}}));const ta=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ts={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},tl=["kit",...H],tc=v.FontAwesomeConfig||{};b&&"function"==typeof b.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(t=>{var e;let[i,n]=t,o=""===(e=function(t){var e=b.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(i))||"false"!==e&&("true"===e||e);null!=o&&(tc[n]=o)});const th={styleDefault:"solid",familyDefault:A,cssPrefix:"fa",replacementClass:B,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};tc.familyPrefix&&(tc.cssPrefix=tc.familyPrefix);const tu=d(d({},th),tc);tu.autoReplaceSvg||(tu.observeMutations=!1);const td={};Object.keys(th).forEach(t=>{Object.defineProperty(td,t,{enumerable:!0,set:function(e){tu[t]=e,tp.forEach(t=>t(td))},get:function(){return tu[t]}})}),Object.defineProperty(td,"familyPrefix",{enumerable:!0,set:function(t){tu.cssPrefix=t,tp.forEach(t=>t(td))},get:function(){return tu.cssPrefix}}),v.FontAwesomeConfig=td;const tp=[],tf={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function tm(){let t=12,e="";for(;t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function t_(t){let e=[];for(let i=(t||[]).length>>>0;i--;)e[i]=t[i];return e}function tg(t){return t.classList?t_(t.classList):(t.getAttribute("class")||"").split(" ").filter(t=>t)}function ty(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function tv(t){return Object.keys(t||{}).reduce((e,i)=>e+"".concat(i,": ").concat(t[i].trim(),";"),"")}function tb(t){return t.size!==tf.size||t.x!==tf.x||t.y!==tf.y||t.rotate!==tf.rotate||t.flipX||t.flipY}function tx(){let t=td.cssPrefix,e=td.replacementClass,i=':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;\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}\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"!==t||e!==B){let n=RegExp("\\.".concat("fa","\\-"),"g"),o=RegExp("\\--".concat("fa","\\-"),"g"),r=RegExp("\\.".concat(B),"g");i=i.replace(n,".".concat(t,"-")).replace(o,"--".concat(t,"-")).replace(r,".".concat(e))}return i}let tw=!1;function tP(){td.autoAddCss&&!tw&&(!function(t){if(!t||!P)return;let e=b.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;let i=b.head.childNodes,n=null;for(let t=i.length-1;t>-1;t--){let e=i[t];["STYLE","LINK"].indexOf((e.tagName||"").toUpperCase())>-1&&(n=e)}b.head.insertBefore(e,n)}(tx()),tw=!0)}const tE=v||{};tE[D]||(tE[D]={}),tE[D].styles||(tE[D].styles={}),tE[D].hooks||(tE[D].hooks={}),tE[D].shims||(tE[D].shims=[]);var tS=tE[D];const tT=[],tA=function(){b.removeEventListener("DOMContentLoaded",tA),tL=1,tT.map(t=>t())};let tL=!1;function tk(t){let{tag:e,attributes:i={},children:n=[]}=t;return"string"==typeof t?ty(t):"<".concat(e," ").concat(Object.keys(i||{}).reduce((t,e)=>t+"".concat(e,'="').concat(ty(i[e]),'" '),"").trim(),">").concat(n.map(tk).join(""),"").concat(e,">")}function tC(t,e,i){if(t&&t[e]&&t[e][i])return{prefix:e,iconName:i,icon:t[e][i]}}!P||(tL=(b.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(b.readyState))||b.addEventListener("DOMContentLoaded",tA);var tO=function(t,e,i,n){var o,r,a,s=Object.keys(t),l=s.length,c=void 0!==n?function(t,i,o,r){return e.call(n,t,i,o,r)}:e;for(void 0===i?(o=1,a=t[s[0]]):(o=0,a=i);o=55296&&o<=56319&&i{let n=t[i];return n.icon?e[n.iconName]=n.icon:e[i]=n,e},{})}function tj(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{skipHooks:n=!1}=i,o=tI(e);"function"!=typeof tS.hooks.addPack||n?tS.styles[t]=d(d({},tS.styles[t]||{}),o):tS.hooks.addPack(t,tI(e)),"fas"===t&&tj("fa",e)}const{styles:tz,shims:tF}=tS,tN=Object.keys(te),tR=tN.reduce((t,e)=>(t[e]=Object.keys(te[e]),t),{});let tH=null,tD={},tB={},tZ={},tW={},tK={};const tV=()=>{let t=t=>tO(tz,(e,i,n)=>(e[n]=tO(i,t,{}),e),{});tD=t((t,e,i)=>(e[3]&&(t[e[3]]=i),e[2]&&e[2].filter(t=>"number"==typeof t).forEach(e=>{t[e.toString(16)]=i}),t)),tB=t((t,e,i)=>(t[i]=i,e[2]&&e[2].filter(t=>"string"==typeof t).forEach(e=>{t[e]=i}),t)),tK=t((t,e,i)=>{let n=e[2];return t[i]=i,n.forEach(e=>{t[e]=i}),t});let e="far"in tz||td.autoFetchSvg,i=tO(tF,(t,i)=>{let n=i[0],o=i[1],r=i[2];return"far"!==o||e||(o="fas"),"string"==typeof n&&(t.names[n]={prefix:o,iconName:r}),"number"==typeof n&&(t.unicodes[n.toString(16)]={prefix:o,iconName:r}),t},{names:{},unicodes:{}});tZ=i.names,tW=i.unicodes,tH=tX(td.styleDefault,{family:td.familyDefault})};function tU(t,e){return(tD[t]||{})[e]}function tY(t,e){return(tK[t]||{})[e]}function tG(t){return tZ[t]||{prefix:null,iconName:null}}e=t=>{tH=tX(t.styleDefault,{family:td.familyDefault})},tp.push(e),tV();const tq=()=>({prefix:null,iconName:null,rest:[]});function tX(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{family:i=A}=e,n=J[i][t];if(i===k&&!t)return"fad";let o=Q[i][t]||Q[i][n],r=t in tS.styles?t:null;return o||r||null}function tJ(t){return t.sort().filter((t,e,i)=>i.indexOf(t)===e)}function t$(t){let e,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{skipLookups:o=!1}=n,r=null,a=F.concat(j),s=tJ(t.filter(t=>a.includes(t))),l=tJ(t.filter(t=>!F.includes(t))),[c=null]=s.filter(t=>(r=t,!T.includes(t))),h=function(t){let e=A,i=tN.reduce((t,e)=>(t[e]="".concat(td.cssPrefix,"-").concat(e),t),{});return C.forEach(n=>{(t.includes(i[n])||t.some(t=>tR[n].includes(t)))&&(e=n)}),e}(s),u=d(d({},(e=[],i=null,l.forEach(t=>{let n=function(t,e){let i=e.split("-"),n=i[0],o=i.slice(1).join("-");return n!==t||""===o||~tl.indexOf(o)?null:o}(td.cssPrefix,t);n?i=n:t&&e.push(t)}),{iconName:i,rest:e})),{},{prefix:tX(c,{family:h})});return d(d(d({},u),function(t){let{values:e,family:i,canonical:n,givenPrefix:o="",styles:r={},config:a={}}=t,s=i===k,l=e.includes("fa-duotone")||e.includes("fad"),c="duotone"===a.familyDefault,h="fad"===n.prefix||"fa-duotone"===n.prefix;if(!s&&(l||c||h)&&(n.prefix="fad"),(e.includes("fa-brands")||e.includes("fab"))&&(n.prefix="fab"),!n.prefix&&tQ.includes(i)&&(Object.keys(r).find(t=>t0.includes(t))||a.autoFetchSvg)){let t=O.get(i).defaultShortPrefixId;n.prefix=t,n.iconName=tY(n.prefix,n.iconName)||n.iconName}return("fa"===n.prefix||"fa"===o)&&(n.prefix=tH||"fas"),n}({values:t,family:h,styles:tz,config:td,canonical:u,givenPrefix:r})),function(t,e,i){let{prefix:n,iconName:o}=i;if(t||!n||!o)return{prefix:n,iconName:o};let r="fa"===e?tG(o):{},a=tY(n,o);return o=r.iconName||a||o,"far"!==(n=r.prefix||n)||tz.far||!tz.fas||td.autoFetchSvg||(n="fas"),{prefix:n,iconName:o}}(o,r,u))}const tQ=C.filter(t=>t!==A||t!==k),t0=Object.keys(z).filter(t=>t!==A).map(t=>Object.keys(z[t])).flat();let t3=[],t7={};const t1={},t8=Object.keys(t1);function t4(t,e){for(var i=arguments.length,n=Array(i>2?i-2:0),o=2;o{e=t.apply(null,[e,...n])}),e}function t9(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n{t.apply(null,i)})}function t2(){let t=arguments[0],e=Array.prototype.slice.call(arguments,1);return t1[t]?t1[t].apply(null,e):void 0}function t6(t){"fa"===t.prefix&&(t.prefix="fas");let{iconName:e}=t,i=t.prefix||tH;if(e)return e=tY(i,e)||e,tC(t5.definitions,i,e)||tC(tS.styles,i,e)}const t5=new class{constructor(){this.definitions={}}add(){for(var t=arguments.length,e=Array(t),i=0;i{this.definitions[t]=d(d({},this.definitions[t]||{}),n[t]),tj(t,n[t]);let e=te[A][t];e&&tj(e,n[t]),tV()})}reset(){this.definitions={}}_pullDefinitions(t,e){let i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map(e=>{let{prefix:n,iconName:o,icon:r}=i[e],a=r[2];t[n]||(t[n]={}),a.length>0&&a.forEach(e=>{"string"==typeof e&&(t[n][e]=r)}),t[n][o]=r}),t}},et={noAuto:()=>{td.autoReplaceSvg=!1,td.observeMutations=!1,t9("noAuto")},config:td,dom:{i2svg:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return P?(t9("beforeI2svg",t),t2("pseudoElements2svg",t),t2("i2svg",t)):Promise.reject(Error("Operation requires a DOM of some kind."))},watch:function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{autoReplaceSvgRoot:i}=e;!1===td.autoReplaceSvg&&(td.autoReplaceSvg=!0),td.observeMutations=!0,t=()=>{ee({autoReplaceSvgRoot:i}),t9("watch",e)},P&&(tL?setTimeout(t,0):tT.push(t))}},parse:{icon:t=>{if(null===t)return null;if("object"==typeof t&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:tY(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){let e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],i=tX(t[0]);return{prefix:i,iconName:tY(i,e)||e}}if("string"==typeof t&&(t.indexOf("".concat(td.cssPrefix,"-"))>-1||t.match(tn))){let e=t$(t.split(" "),{skipLookups:!0});return{prefix:e.prefix||tH,iconName:tY(e.prefix,e.iconName)||e.iconName}}if("string"==typeof t){let e=tH;return{prefix:e,iconName:tY(e,t)||t}}}},library:t5,findIconDefinition:t6,toHtml:tk},ee=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{autoReplaceSvgRoot:e=b}=t;(Object.keys(tS.styles).length>0||td.autoFetchSvg)&&P&&td.autoReplaceSvg&&et.dom.i2svg({node:e})};function ei(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(t=>tk(t))}}),Object.defineProperty(t,"node",{get:function(){if(!P)return;let e=b.createElement("div");return e.innerHTML=t.html,e.children}}),t}function en(t){let{icons:{main:e,mask:i},prefix:n,iconName:o,transform:r,symbol:a,title:s,maskId:l,titleId:c,extra:h,watchable:u=!1}=t,{width:p,height:f}=i.found?i:e,m=I.includes(n),_=[td.replacementClass,o?"".concat(td.cssPrefix,"-").concat(o):""].filter(t=>-1===h.classes.indexOf(t)).filter(t=>""!==t||!!t).concat(h.classes).join(" "),g={children:[],attributes:d(d({},h.attributes),{},{"data-prefix":n,"data-icon":o,class:_,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(f)})},y=m&&!~h.classes.indexOf("fa-fw")?{width:"".concat(p/f*1,"em")}:{};u&&(g.attributes[Z]=""),s&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(c||tm())},children:[s]}),delete g.attributes.title);let v=d(d({},g),{},{prefix:n,iconName:o,main:e,mask:i,maskId:l,transform:r,symbol:a,styles:d(d({},y),h.styles)}),{children:b,attributes:x}=i.found&&e.found?t2("generateAbstractMask",v)||{children:[],attributes:{}}:t2("generateAbstractIcon",v)||{children:[],attributes:{}};return(v.children=b,v.attributes=x,a)?function(t){let{prefix:e,iconName:i,children:n,attributes:o,symbol:r}=t,a=!0===r?"".concat(e,"-").concat(td.cssPrefix,"-").concat(i):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},o),{},{id:a}),children:n}]}]}(v):function(t){let{children:e,main:i,mask:n,attributes:o,styles:r,transform:a}=t;if(tb(a)&&i.found&&!n.found){let{width:t,height:e}=i,n={x:t/e/2,y:.5};o.style=tv(d(d({},r),{},{"transform-origin":"".concat(n.x+a.x/16,"em ").concat(n.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:e}]}(v)}function eo(t){let{content:e,width:i,height:n,transform:o,title:r,extra:a,watchable:s=!1}=t,l=d(d(d({},a.attributes),r?{title:r}:{}),{},{class:a.classes.join(" ")});s&&(l[Z]="");let c=d({},a.styles);tb(o)&&(c.transform=function(t){let{transform:e,width:i=16,height:n=16,startCentered:o=!1}=t,r="";return o&&E?r+="translate(".concat(e.x/16-i/2,"em, ").concat(e.y/16-n/2,"em) "):o?r+="translate(calc(-50% + ".concat(e.x/16,"em), calc(-50% + ").concat(e.y/16,"em)) "):r+="translate(".concat(e.x/16,"em, ").concat(e.y/16,"em) "),r+="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),r+="rotate(".concat(e.rotate,"deg) ")}({transform:o,startCentered:!0,width:i,height:n}),c["-webkit-transform"]=c.transform);let h=tv(c);h.length>0&&(l.style=h);let u=[];return u.push({tag:"span",attributes:l,children:[e]}),r&&u.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),u}const{styles:er}=tS;function ea(t){let e=t[0],i=t[1],[n]=t.slice(4);return{found:!0,width:e,height:i,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(td.cssPrefix,"-").concat(ts.GROUP)},children:[{tag:"path",attributes:{class:"".concat(td.cssPrefix,"-").concat(ts.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(td.cssPrefix,"-").concat(ts.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}const es={found:!1,width:512,height:512};function el(t,e){let i=e;return"fa"===e&&null!==td.styleDefault&&(e=tH),new Promise((n,o)=>{var r,a;if("fa"===i){let i=tG(t)||{};t=i.iconName||t,e=i.prefix||e}if(t&&e&&er[e]&&er[e][t])return n(ea(er[e][t]));r=t,a=e,G||td.showMissingIcons||!r||console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.')),n(d(d({},es),{},{icon:td.showMissingIcons&&t&&t2("missingIconAbstract")||{}}))})}const ec=()=>{},eh=td.measurePerformance&&w&&w.mark&&w.measure?w:{mark:ec,measure:ec},eu='FA "6.7.2"',ed=t=>{eh.mark("".concat(eu," ").concat(t," ends")),eh.measure("".concat(eu," ").concat(t),"".concat(eu," ").concat(t," begins"),"".concat(eu," ").concat(t," ends"))};var ep={begin:t=>(eh.mark("".concat(eu," ").concat(t," begins")),()=>ed(t))};const ef=()=>{};function em(t){return"string"==typeof(t.getAttribute?t.getAttribute(Z):null)}function e_(t){return b.createElementNS("http://www.w3.org/2000/svg",t)}function eg(t){return b.createElement(t)}const ey={replace:function(t){let e=t[0];if(e.parentNode){if(t[1].forEach(t=>{e.parentNode.insertBefore(function t(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{ceFn:n="svg"===e.tag?e_:eg}=i;if("string"==typeof e)return b.createTextNode(e);let o=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){o.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){o.appendChild(t(e,{ceFn:n}))}),o}(t),e)}),null===e.getAttribute(Z)&&td.keepOriginalSource){let t;let i=b.createComment((t=" ".concat(e.outerHTML," "),t="".concat(t,"Font Awesome fontawesome.com ")));e.parentNode.replaceChild(i,e)}else e.remove()}},nest:function(t){let e=t[0],i=t[1];if(~tg(e).indexOf(td.replacementClass))return ey.replace(t);let n=new RegExp("".concat(td.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){let t=i[0].attributes.class.split(" ").reduce((t,e)=>(e===td.replacementClass||e.match(n)?t.toSvg.push(e):t.toNode.push(e),t),{toNode:[],toSvg:[]});i[0].attributes.class=t.toSvg.join(" "),0===t.toNode.length?e.removeAttribute("class"):e.setAttribute("class",t.toNode.join(" "))}let o=i.map(t=>tk(t)).join("\n");e.setAttribute(Z,""),e.innerHTML=o}};function ev(t){t()}function eb(t,e){let i="function"==typeof e?e:ef;if(0===t.length)i();else{let e=ev;"async"===td.mutateApproach&&(e=v.requestAnimationFrame||ev),e(()=>{let e=!0===td.autoReplaceSvg?ey.replace:ey[td.autoReplaceSvg]||ey.replace,n=ep.begin("mutate");t.map(e),n(),i()})}}let ex=!1,ew=null;function eP(t){if(!x||!td.observeMutations)return;let{treeCallback:e=ef,nodeCallback:i=ef,pseudoElementsCallback:n=ef,observeMutationsRoot:o=b}=t;ew=new x(t=>{if(ex)return;let o=tH;t_(t).forEach(t=>{if("childList"===t.type&&t.addedNodes.length>0&&!em(t.addedNodes[0])&&(td.searchPseudoElements&&n(t.target),e(t.target)),"attributes"===t.type&&t.target.parentNode&&td.searchPseudoElements&&n(t.target.parentNode),"attributes"===t.type&&em(t.target)&&~ta.indexOf(t.attributeName)){if("class"===t.attributeName&&function(t){let e=t.getAttribute?t.getAttribute(K):null,i=t.getAttribute?t.getAttribute(V):null;return e&&i}(t.target)){let{prefix:e,iconName:i}=t$(tg(t.target));t.target.setAttribute(K,e||o),i&&t.target.setAttribute(V,i)}else{var r;(r=t.target)&&r.classList&&r.classList.contains&&r.classList.contains(td.replacementClass)&&i(t.target)}}})}),P&&ew.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function eE(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},{iconName:i,prefix:n,rest:o}=function(t){let e=t.getAttribute("data-prefix"),i=t.getAttribute("data-icon"),n=void 0!==t.innerText?t.innerText.trim():"",o=t$(tg(t));if(o.prefix||(o.prefix=tH),e&&i&&(o.prefix=e,o.iconName=i),o.iconName&&o.prefix)return o;if(o.prefix&&n.length>0){var r,a;o.iconName=(r=o.prefix,a=t.innerText,(tB[r]||{})[a]||tU(o.prefix,tM(t.innerText)))}return!o.iconName&&td.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=t.firstChild.data),o}(t),r=function(t){let e=t_(t.attributes).reduce((t,e)=>("class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t),{}),i=t.getAttribute("title"),n=t.getAttribute("data-fa-title-id");return td.autoA11y&&(i?e["aria-labelledby"]="".concat(td.replacementClass,"-title-").concat(n||tm()):(e["aria-hidden"]="true",e.focusable="false")),e}(t),a=t4("parseNodeAttributes",{},t),s=e.styleParser?function(t){let e=t.getAttribute("style"),i=[];return e&&(i=e.split(";").reduce((t,e)=>{let i=e.split(":"),n=i[0],o=i.slice(1);return n&&o.length>0&&(t[n]=o.join(":").trim()),t},{})),i}(t):[];return d({iconName:i,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:n,transform:tf,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:r}},a)}const{styles:eS}=tS;function eT(t){let e="nest"===td.autoReplaceSvg?eE(t,{styleParser:!1}):eE(t);return~e.extra.classes.indexOf(to)?t2("generateLayersText",t,e):t2("generateSvgReplacementMutation",t,e)}function eA(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!P)return Promise.resolve();let i=b.documentElement.classList,n=t=>i.add("".concat(U,"-").concat(t)),o=t=>i.remove("".concat(U,"-").concat(t)),r=td.autoFetchSvg?[...M,...F]:T.concat(Object.keys(eS));r.includes("fa")||r.push("fa");let a=[".".concat(to,":not([").concat(Z,"])")].concat(r.map(t=>".".concat(t,":not([").concat(Z,"])"))).join(", ");if(0===a.length)return Promise.resolve();let s=[];try{s=t_(t.querySelectorAll(a))}catch(t){}if(!(s.length>0))return Promise.resolve();n("pending"),o("complete");let l=ep.begin("onTree"),c=s.reduce((t,e)=>{try{let i=eT(e);i&&t.push(i)}catch(t){G||"MissingIcon"!==t.name||console.error(t)}return t},[]);return new Promise((t,i)=>{Promise.all(c).then(i=>{eb(i,()=>{n("active"),n("complete"),o("pending"),"function"==typeof e&&e(),l(),t()})}).catch(t=>{l(),i(t)})})}function eL(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;eT(t).then(t=>{t&&eb([t],e)})}const ek=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{transform:i=tf,symbol:n=!1,mask:o=null,maskId:r=null,title:a=null,titleId:s=null,classes:l=[],attributes:c={},styles:h={}}=e;if(!t)return;let{prefix:u,iconName:p,icon:f}=t;return ei(d({type:"icon"},t),()=>(t9("beforeDOMElementCreation",{iconDefinition:t,params:e}),td.autoA11y&&(a?c["aria-labelledby"]="".concat(td.replacementClass,"-title-").concat(s||tm()):(c["aria-hidden"]="true",c.focusable="false")),en({icons:{main:ea(f),mask:o?ea(o.icon):{found:!1,width:null,height:null,icon:{}}},prefix:u,iconName:p,transform:d(d({},tf),i),symbol:n,title:a,maskId:r,titleId:s,extra:{attributes:c,styles:h,classes:l}})))},eC=RegExp('"',"ug"),eO=d(d(d(d({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"},"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"}}),eM=Object.keys(eO).reduce((t,e)=>(t[e.toLowerCase()]=eO[e],t),{}),eI=Object.keys(eM).reduce((t,e)=>{let i=eM[e];return t[e]=i[900]||[...Object.entries(i)][0][1],t},{});function ej(t,e){let i="".concat("data-fa-pseudo-element-pending").concat(e.replace(":","-"));return new Promise((n,o)=>{if(null!==t.getAttribute(i))return n();let r=t_(t.children).filter(t=>t.getAttribute(W)===e)[0],a=v.getComputedStyle(t,e),s=a.getPropertyValue("font-family"),l=s.match(tr),c=a.getPropertyValue("font-weight"),h=a.getPropertyValue("content");if(r&&!l)return t.removeChild(r),n();if(l&&"none"!==h&&""!==h){let h=a.getPropertyValue("content"),u=function(t,e){let i=t.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(e),o=isNaN(n)?"normal":n;return(eM[i]||{})[o]||eI[i]}(s,c),{value:p,isSecondary:f}=function(t){let e=t.replace(eC,""),i=function(t,e){let i;let n=t.length,o=t.charCodeAt(0);return o>=55296&&o<=56319&&n>1&&(i=t.charCodeAt(1))>=56320&&i<=57343?(o-55296)*1024+i-56320+65536:o}(e,0),n=2===e.length&&e[0]===e[1];return{value:n?tM(e[0]):tM(e),isSecondary:i>=1105920&&i<=1112319||n}}(h),m=l[0].startsWith("FontAwesome"),_=tU(u,p),g=_;if(m){let t=function(t){let e=tW[t],i=tU("fas",t);return e||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}(p);t.iconName&&t.prefix&&(_=t.iconName,u=t.prefix)}if(!_||f||r&&r.getAttribute(K)===u&&r.getAttribute(V)===g)n();else{t.setAttribute(i,g),r&&t.removeChild(r);let a={iconName:null,title:null,titleId:null,prefix:null,transform:tf,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=a;s.attributes[W]=e,el(_,u).then(o=>{let r=en(d(d({},a),{},{icons:{main:o,mask:tq()},prefix:u,iconName:g,extra:s,watchable:!0})),l=b.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(l,t.firstChild):t.appendChild(l),l.outerHTML=r.map(t=>tk(t)).join("\n"),t.removeAttribute(i),n()}).catch(o)}}else n()})}function ez(t){return Promise.all([ej(t,"::before"),ej(t,"::after")])}function eF(t){return t.parentNode!==document.head&&!~Y.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(W)&&(!t.parentNode||"svg"!==t.parentNode.tagName)}function eN(t){if(P)return new Promise((e,i)=>{let n=t_(t.querySelectorAll("*")).filter(eF).map(ez),o=ep.begin("searchPseudoElements");ex=!0,Promise.all(n).then(()=>{o(),ex=!1,e()}).catch(()=>{o(),ex=!1,i()})})}let eR=!1;const eH=t=>t.toLowerCase().split(" ").reduce((t,e)=>{let i=e.toLowerCase().split("-"),n=i[0],o=i.slice(1).join("-");if(n&&"h"===o)return t.flipX=!0,t;if(n&&"v"===o)return t.flipY=!0,t;if(isNaN(o=parseFloat(o)))return t;switch(n){case"grow":t.size=t.size+o;break;case"shrink":t.size=t.size-o;break;case"left":t.x=t.x-o;break;case"right":t.x=t.x+o;break;case"up":t.y=t.y-o;break;case"down":t.y=t.y+o;break;case"rotate":t.rotate=t.rotate+o}return t},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0}),eD={x:0,y:0,width:"100%",height:"100%"};function eB(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}!function(t,e){let{mixoutsTo:i}=e;t3=t,t7={},Object.keys(t1).forEach(t=>{-1===t8.indexOf(t)&&delete t1[t]}),t3.forEach(t=>{let e=t.mixout?t.mixout():{};if(Object.keys(e).forEach(t=>{"function"==typeof e[t]&&(i[t]=e[t]),"object"==typeof e[t]&&Object.keys(e[t]).forEach(n=>{i[t]||(i[t]={}),i[t][n]=e[t][n]})}),t.hooks){let e=t.hooks();Object.keys(e).forEach(t=>{t7[t]||(t7[t]=[]),t7[t].push(e[t])})}t.provides&&t.provides(t1)})}([{mixout:()=>({dom:{css:tx,insertCss:tP}}),hooks:()=>({beforeDOMElementCreation(){tP()},beforeI2svg(){tP()}})},{mixout:()=>({icon:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(t||{}).icon?t:t6(t||{}),{mask:n}=e;return n&&(n=(n||{}).icon?n:t6(n||{})),ek(i,d(d({},e),{},{mask:n}))}}),hooks:()=>({mutationObserverCallbacks:t=>(t.treeCallback=eA,t.nodeCallback=eL,t)}),provides(t){t.i2svg=function(t){let{node:e=b,callback:i=()=>{}}=t;return eA(e,i)},t.generateSvgReplacementMutation=function(t,e){let{iconName:i,title:n,titleId:o,prefix:r,transform:a,symbol:s,mask:l,maskId:c,extra:h}=e;return new Promise((e,u)=>{Promise.all([el(i,r),l.iconName?el(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(l=>{let[u,d]=l;e([t,en({icons:{main:u,mask:d},prefix:r,iconName:i,transform:a,symbol:s,maskId:c,title:n,titleId:o,extra:h,watchable:!0})])}).catch(u)})},t.generateAbstractIcon=function(t){let e,{children:i,attributes:n,main:o,transform:r,styles:a}=t,s=tv(a);return s.length>0&&(n.style=s),tb(r)&&(e=t2("generateAbstractTransformGrouping",{main:o,transform:r,containerWidth:o.width,iconWidth:o.width})),i.push(e||o.icon),{children:i,attributes:n}}}},{mixout:()=>({layer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{classes:i=[]}=e;return ei({type:"layer"},()=>{t9("beforeDOMElementCreation",{assembler:t,params:e});let n=[];return t(t=>{Array.isArray(t)?t.map(t=>{n=n.concat(t.abstract)}):n=n.concat(t.abstract)}),[{tag:"span",attributes:{class:["".concat(td.cssPrefix,"-layers"),...i].join(" ")},children:n}]})}})},{mixout:()=>({counter(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{title:i=null,classes:n=[],attributes:o={},styles:r={}}=e;return ei({type:"counter",content:t},()=>(t9("beforeDOMElementCreation",{content:t,params:e}),function(t){let{content:e,title:i,extra:n}=t,o=d(d(d({},n.attributes),i?{title:i}:{}),{},{class:n.classes.join(" ")}),r=tv(n.styles);r.length>0&&(o.style=r);let a=[];return a.push({tag:"span",attributes:o,children:[e]}),i&&a.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),a}({content:t.toString(),title:i,extra:{attributes:o,styles:r,classes:["".concat(td.cssPrefix,"-layers-counter"),...n]}})))}})},{mixout:()=>({text(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{transform:i=tf,title:n=null,classes:o=[],attributes:r={},styles:a={}}=e;return ei({type:"text",content:t},()=>(t9("beforeDOMElementCreation",{content:t,params:e}),eo({content:t,transform:d(d({},tf),i),title:n,extra:{attributes:r,styles:a,classes:["".concat(td.cssPrefix,"-layers-text"),...o]}})))}}),provides(t){t.generateLayersText=function(t,e){let{title:i,transform:n,extra:o}=e,r=null,a=null;if(E){let e=parseInt(getComputedStyle(t).fontSize,10),i=t.getBoundingClientRect();r=i.width/e,a=i.height/e}return td.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([t,eo({content:t.innerHTML,width:r,height:a,transform:n,title:i,extra:o,watchable:!0})])}}},{hooks:()=>({mutationObserverCallbacks:t=>(t.pseudoElementsCallback=eN,t)}),provides(t){t.pseudoElements2svg=function(t){let{node:e=b}=t;td.searchPseudoElements&&eN(e)}}},{mixout:()=>({dom:{unwatch(){ex=!0,eR=!0}}}),hooks:()=>({bootstrap(){eP(t4("mutationObserverCallbacks",{}))},noAuto(){ew&&ew.disconnect()},watch(t){let{observeMutationsRoot:e}=t;eR?ex=!1:eP(t4("mutationObserverCallbacks",{observeMutationsRoot:e}))}})},{mixout:()=>({parse:{transform:t=>eH(t)}}),hooks:()=>({parseNodeAttributes(t,e){let i=e.getAttribute("data-fa-transform");return i&&(t.transform=eH(i)),t}}),provides(t){t.generateAbstractTransformGrouping=function(t){let{main:e,transform:i,containerWidth:n,iconWidth:o}=t,r="translate(".concat(32*i.x,", ").concat(32*i.y,") "),a="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),s="rotate(".concat(i.rotate," 0 0)"),l={transform:"".concat(r," ").concat(a," ").concat(s)},c={outer:{transform:"translate(".concat(n/2," 256)")},inner:l,path:{transform:"translate(".concat(-(o/2*1)," -256)")}};return{tag:"g",attributes:d({},c.outer),children:[{tag:"g",attributes:d({},c.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:d(d({},e.icon.attributes),c.path)}]}]}}}},{hooks:()=>({parseNodeAttributes(t,e){let i=e.getAttribute("data-fa-mask"),n=i?t$(i.split(" ").map(t=>t.trim())):tq();return n.prefix||(n.prefix=tH),t.mask=n,t.maskId=e.getAttribute("data-fa-mask-id"),t}}),provides(t){t.generateAbstractMask=function(t){let{children:e,attributes:i,main:n,mask:o,maskId:r,transform:a}=t,{width:s,icon:l}=n,{width:c,icon:h}=o,u=function(t){let{transform:e,containerWidth:i,iconWidth:n}=t,o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),r="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),a="rotate(".concat(e.rotate," 0 0)"),s={transform:"".concat(o," ").concat(r," ").concat(a)};return{outer:{transform:"translate(".concat(i/2," 256)")},inner:s,path:{transform:"translate(".concat(-(n/2*1)," -256)")}}}({transform:a,containerWidth:c,iconWidth:s}),p={tag:"rect",attributes:d(d({},eD),{},{fill:"white"})},f=l.children?{children:l.children.map(eB)}:{},m={tag:"g",attributes:d({},u.inner),children:[eB(d({tag:l.tag,attributes:d(d({},l.attributes),u.path)},f))]},_={tag:"g",attributes:d({},u.outer),children:[m]},g="mask-".concat(r||tm()),y="clip-".concat(r||tm()),v={tag:"mask",attributes:d(d({},eD),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,_]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:"g"===h.tag?h.children:[h]},v]};return e.push(b,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},eD)}),{children:e,attributes:i}}}},{provides(t){let e=!1;v.matchMedia&&(e=v.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){let t=[],i={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:d(d({},i),{},{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 o=d(d({},n),{},{attributeName:"opacity"}),r={tag:"circle",attributes:d(d({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:d(d({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},o),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:d(d({},i),{},{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:e?[]:[{tag:"animate",attributes:d(d({},o),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:d(d({},i),{},{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:d(d({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},{hooks:()=>({parseNodeAttributes(t,e){let i=e.getAttribute("data-fa-symbol");return t.symbol=null!==i&&(""===i||i),t}})}],{mixoutsTo:et}),et.noAuto,et.config;const eZ=et.library,eW=et.dom;et.parse,et.findIconDefinition,et.toHtml,et.icon,et.layer,et.text,et.counter;const eK={prefix:"far",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3l58.3 0c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24l0-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1l-58.3 0c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},eV={prefix:"far",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.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 0z"]},eU={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.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 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},eY={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"]},eG={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},eq={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"]},eX={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"]},eJ={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"]},e$={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 480L40 480c-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 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};var eQ={};!function(t){function e(t){var e,i,n,o;for(i=1,n=arguments.length;i0?Math.floor(t):Math.ceil(t)};function Z(t,e,i){return t instanceof D?t:T(t)?new D(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,i)}function W(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=K(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>=e.x&&n.x<=i.x,a=o.y>=e.y&&n.y<=i.y;return r&&a},overlaps:function(t){t=K(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>e.x&&n.xe.y&&n.y=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=U(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>=e.lat&&n.lat<=i.lat,a=o.lng>=e.lng&&n.lng<=i.lng;return r&&a},overlaps:function(t){t=U(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>e.lat&&n.late.lng&&n.lng1,tC=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",y,e),window.removeEventListener("testPassiveEventSupport",y,e)}catch(t){}return t}(),tO=!!document.createElement("canvas").getContext,tM=!!(document.createElementNS&&ti("svg").createSVGRect),tI=!!tM&&((h=document.createElement("div")).innerHTML="","http://www.w3.org/2000/svg"===(h.firstChild&&h.firstChild.namespaceURI)),tj=!tM&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function tz(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var tF={ie:tr,ielt9:ta,edge:ts,webkit:tl,android:tc,android23:th,androidStock:td,opera:tp,chrome:tf,gecko:tm,safari:t_,phantom:tg,opera12:ty,win:tv,ie3d:tb,webkit3d:tx,gecko3d:tw,any3d:tP,mobile:tE,mobileWebkit:tE&&tl,mobileWebkit3d:tE&&tx,msPointer:tS,pointer:tT,touch:tL,touchNative:tA,mobileOpera:tE&&tp,mobileGecko:tE&&tm,retina:tk,passiveEvents:tC,canvas:tO,svg:tM,vml:tj,inlineSvg:tI,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},tN=tF.msPointer?"MSPointerDown":"pointerdown",tR=tF.msPointer?"MSPointerMove":"pointermove",tH=tF.msPointer?"MSPointerUp":"pointerup",tD=tF.msPointer?"MSPointerCancel":"pointercancel",tB={touchstart:tN,touchmove:tR,touchend:tH,touchcancel:tD},tZ={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&ew(e),tG(t,e)},touchmove:tG,touchend:tG,touchcancel:tG},tW={},tK=!1;function tV(t){tW[t.pointerId]=t}function tU(t){tW[t.pointerId]&&(tW[t.pointerId]=t)}function tY(t){delete tW[t.pointerId]}function tG(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],tW)e.touches.push(tW[i]);e.changedTouches=[e],t(e)}}var tq=ee(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),tX=ee(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tJ="webkitTransition"===tX||"OTransition"===tX?tX+"End":"transitionend";function t$(t){return"string"==typeof t?document.getElementById(t):t}function tQ(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function t0(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function t3(t){var e=t.parentNode;e&&e.removeChild(t)}function t7(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function t1(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function t8(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function t4(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=t5(t);return i.length>0&&RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function t9(t,e){if(void 0!==t.classList)for(var i=x(e),n=0,o=i.length;n0?2*window.devicePixelRatio:1;function eA(t){return tF.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/eT:t.deltaY&&1===t.deltaMode?-(20*t.deltaY):t.deltaY&&2===t.deltaMode?-(60*t.deltaY):t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&32765>Math.abs(t.detail)?-(20*t.detail):t.detail?-(60*(t.detail/32765)):0}function eL(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var ek=H.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=eo(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=z(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;ethis.options.maxZoom))?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,U(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=Z((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=Z(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),r=this.project(t),a=this.getPixelBounds(),s=K([a.min.add(i),a.max.subtract(n)]),l=s.getSize();if(!s.contains(r)){this._enforcingBounds=!0;var c=r.subtract(s.getCenter()),h=s.extend(r).getSize().subtract(l);o.x+=c.x<0?-h.x:h.x,o.y+=c.y<0?-h.y:h.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),o=i.divideBy(2).round(),r=n.divideBy(2).round(),a=o.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(p(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=p(this._handleGeolocationResponse,this),n=p(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,n,t):navigator.geolocation.getCurrentPosition(i,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new Y(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var r={latlng:e,bounds:i,timestamp:t.timestamp};for(var a in t.coords)"number"==typeof t.coords[a]&&(r[a]=t.coords[a]);this.fire("locationfound",r)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){var t;if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),t3(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(F(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)t3(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=t0("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return(this._checkIfLoaded(),this._lastCenter&&!this._moved())?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new V(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=U(t),i=Z(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),a=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(i),c=K(this.project(s,n),this.project(a,n)).getSize(),h=tF.any3d?this.options.zoomSnap:1,u=l.x/c.x,d=l.y/c.y,p=e?Math.max(u,d):Math.min(u,d);return n=this.getScaleZoom(p,n),h&&(n=h/100*Math.round(n/(h/100)),n=e?Math.ceil(n/h)*h:Math.floor(n/h)*h),Math.max(o,Math.min(r,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new W(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(G(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(Z(t),e)},layerPointToLatLng:function(t){var e=Z(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(G(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(G(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(U(t))},distance:function(t,e){return this.options.crs.distance(G(t),G(e))},containerPointToLayerPoint:function(t){return Z(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return Z(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(Z(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(G(t)))},mouseEventToContainerPoint:function(t){return eS(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=t$(t);if(e){if(e._leaflet_id)throw Error("Map container is already initialized.")}else throw Error("Map container not found.");ed(e,"scroll",this._onScroll,this),this._containerId=m(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&tF.any3d,t9(t,"leaflet-container"+(tF.touch?" leaflet-touch":"")+(tF.retina?" leaflet-retina":"")+(tF.ielt9?" leaflet-oldie":"")+(tF.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=tQ(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),en(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(t9(t.markerPane,"leaflet-zoom-hide"),t9(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){en(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return F(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){en(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[m(this._container)]=this;var e=t?ef:ed;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),tF.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){F(this._resizeRequest),this._resizeRequest=z(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,a=!1;r;){if((i=this._targets[m(r)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)&&(o&&!eL(r,t)||(n.push(i),o))||r===this._container)break;r=r.parentNode}return!n.length&&!a&&!o&&this.listens(e,!0)&&(n=[this]),n},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var i=t.type;"mousedown"===i&&el(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,n){if("click"===t.type){var o=e({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var r=this._findEventTargets(t,i);if(n){for(var a=[],s=0;s=Math.abs(a.x)&&1>=Math.abs(a.y)?t:this.unproject(n.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new W(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=K(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),r=n.max.subtract(t.max);return new D(this._rebound(o.x,-r.x),this._rebound(o.y,-r.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=tF.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){t2(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!!(!0===(e&&e.animate)||this.getSize().contains(i))&&(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=t0("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=this._proxy.style[tq];ei(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[tq]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){t3(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ei(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!!(!0===i.animate||this.getSize().contains(o))&&(z(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)},this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,t9(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(p(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&t2(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}}),eO=N.extend({options:{position:"topright"},initialize:function(t){w(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return t9(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(t3(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),eM=function(t){return new eO(t)};eC.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=t0("div",e+"control-container",this._container);function n(n,o){t[n+o]=t0("div",e+n+" "+e+o,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)t3(this._controlCorners[t]);t3(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var eI=eO.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(m(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i=document.createElement("div");return i.innerHTML='",i.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+m(this),n),this._layerControlInputs.push(e),e.layerId=m(t.layer),ed(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var r=document.createElement("span");return i.appendChild(r),r.appendChild(e),r.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var r=i.length-1;r>=0;r--)t=i[r],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(r=0;r=0;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ne.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,ed(t,"click",ew),this.expand();var e=this;setTimeout(function(){ef(t,"click",ew),e._preventClick=!1})}}),ej=eO.extend({options:{position:"topleft",zoomInText:'+',zoomInTitle:"Zoom in",zoomOutText:'−',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=t0("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var r=t0("a",i,n);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),ex(r),ed(r,"click",eP),ed(r,"click",o,this),ed(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";t2(this._zoomInButton,e),t2(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(t9(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(t9(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});eC.mergeOptions({zoomControl:!0}),eC.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ej,this.addControl(this.zoomControl))});var ez=eO.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=t0("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=t0("div",e,i)),t.imperial&&(this._iScale=t0("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),eF=eO.extend({options:{position:"bottomright",prefix:''+(tF.inlineSvg?' ':"")+"Leaflet"},initialize:function(t){w(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=t0("div","leaflet-control-attribution"),ex(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' | ')}}});eC.mergeOptions({attributionControl:!0}),eC.addInitHook(function(){this.options.attributionControl&&new eF().addTo(this)}),eO.Layers=eI,eO.Zoom=ej,eO.Scale=ez,eO.Attribution=eF,eM.layers=function(t,e,i){return new eI(t,e,i)},eM.zoom=function(t){return new ej(t)},eM.scale=function(t){return new ez(t)},eM.attribution=function(t){return new eF(t)};var eN=N.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});eN.addTo=function(t,e){return t.addHandler(e,this),this};var eR=tF.touch?"touchstart mousedown":"mousedown",eH=H.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){w(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(ed(this._dragStartTarget,eR,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(eH._dragging===this&&this.finishDrag(!0),ef(this._dragStartTarget,eR,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!(!this._enabled||(this._moved=!1,t4(this._element,"leaflet-zoom-anim")))){if(t.touches&&1!==t.touches.length){eH._dragging===this&&this.finishDrag();return}if(!eH._dragging&&!t.shiftKey&&(1===t.which||1===t.button||t.touches)&&(eH._dragging=this,this._preventOutline&&el(this._element),ea(),i(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,n=eh(this._element);this._startPoint=new D(e.clientX,e.clientY),this._startPos=eo(this._element),this._parentScale=eu(n);var o="mousedown"===t.type;ed(document,o?"mousemove":"touchmove",this._onMove,this),ed(document,o?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new D(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)c&&(a=s,c=l);c>n&&(i[a]=1,t(e,i,n,o,a),t(e,i,n,a,r))}(t,n,e,0,i-1);var o,r=[];for(o=0;oe&&(i.push(t[n]),o=n);return oe.max.x&&(i|=2),t.ye.max.y&&(i|=8),i}function eG(t,e,i,n){var o,r=e.x,a=e.y,s=i.x-r,l=i.y-a,c=s*s+l*l;return c>0&&((o=((t.x-r)*s+(t.y-a)*l)/c)>1?(r=i.x,a=i.y):o>0&&(r+=s*o,a+=l*o)),s=t.x-r,l=t.y-a,n?s*s+l*l:new D(r,a)}function eq(t){return!T(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function eX(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),eq(t)}function eJ(t,e){if(!t||0===t.length)throw Error("latlngs not passed");eq(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var i,n,o,r,a,s,l,c,h=G([0,0]),u=U(t);u.getNorthWest().distanceTo(u.getSouthWest())*u.getNorthEast().distanceTo(u.getNorthWest())<1700&&(h=eZ(t));var d=t.length,p=[];for(i=0;in){l=(r-n)/o,c=[s.x-l*(s.x-a.x),s.y-l*(s.y-a.y)];break}var m=e.unproject(Z(c));return G([m.lat+h.lat,m.lng+h.lng])}var e$={project:function(t){return new D(t.lng,t.lat)},unproject:function(t){return new Y(t.y,t.x)},bounds:new W([-180,-90],[180,90])},eQ={R:6378137,R_MINOR:6356752.314245179,bounds:new W([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,r=Math.sqrt(1-o*o),a=r*Math.sin(n);return n=-i*Math.log(Math.max(Math.tan(Math.PI/4-n/2)/Math.pow((1-a)/(1+a),r/2),1e-10)),new D(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,r=Math.sqrt(1-o*o),a=Math.exp(-t.y/n),s=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)c=Math.PI/2-2*Math.atan(a*(e=Math.pow((1-(e=r*Math.sin(s)))/(1+e),r/2)))-s,s+=c;return new Y(s*i,t.x*i/n)}},e0=e({},X,{code:"EPSG:3395",projection:eQ,transformation:Q(u=.5/(Math.PI*eQ.R),.5,-u,.5)}),e3=e({},X,{code:"EPSG:4326",projection:e$,transformation:Q(1/180,1,-1/180,.5)}),e7=e({},q,{projection:e$,transformation:Q(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});q.Earth=X,q.EPSG3395=e0,q.EPSG3857=tt,q.EPSG900913=te,q.EPSG4326=e3,q.Simple=e7;var e1=H.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[m(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[m(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});eC.include({addLayer:function(t){if(!t._layerAdd)throw Error("The provided object is not a Layer.");var e=m(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=m(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return m(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){t=t?T(t)?t:[t]:[];for(var e=0,i=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof Y&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){io.prototype._setLatLngs.call(this,t),eq(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return eq(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new D(e,e);if(t=new W(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip){this._parts=this._rings;return}for(var n,o=0,r=this._rings.length;ot.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||io.prototype._containsPoint.call(this,t,!0)}}),ia=e4.extend({initialize:function(t,e){w(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=T(t)?t:t.features;if(o){for(e=0,i=o.length;e0&&o.push(o[0].slice()),o}function ip(t,i){return t.feature?e({},t.feature,{geometry:i}):im(i)}function im(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var i_={toGeoJSON:function(t){return ip(this,{type:"Point",coordinates:iu(this.getLatLng(),t)})}};function ig(t,e){return new ia(t,e)}e5.include(i_),ii.include(i_),ie.include(i_),io.include({toGeoJSON:function(t){var e=!eq(this._latlngs),i=id(this._latlngs,e?1:0,!1,t);return ip(this,{type:(e?"Multi":"")+"LineString",coordinates:i})}}),ir.include({toGeoJSON:function(t){var e=!eq(this._latlngs),i=e&&!eq(this._latlngs[0]),n=id(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),ip(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),e8.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),ip(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return(this.eachLayer(function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var r=im(o);"FeatureCollection"===r.type?n.push.apply(n,r.features):n.push(r)}}}),i)?ip(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var iy=e1.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=U(e),w(this,i)},onAdd:function(){!this._image&&(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(t9(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){t3(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&t1(this._image),this},bringToBack:function(){return this._map&&t8(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=U(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:t0("img");if(t9(e,"leaflet-image-layer"),this._zoomAnimated&&t9(e,"leaflet-zoom-animated"),this.options.className&&t9(e,this.options.className),e.onselectstart=y,e.onmousemove=y,e.onload=p(this.fire,this,"load"),e.onerror=p(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=e.src;return}e.src=this._url,e.alt=this.options.alt},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ei(this._image,i,e)},_reset:function(){var t=this._image,e=new W(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();en(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){et(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),iv=iy.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:t0("video");if(t9(e,"leaflet-image-layer"),this._zoomAnimated&&t9(e,"leaflet-zoom-animated"),this.options.className&&t9(e,this.options.className),e.onselectstart=y,e.onmousemove=y,e.onloadeddata=p(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o0?n:[e.src];return}T(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var r=0;r×',ed(n,"click",function(t){ew(t),this.close()},this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.max(i=Math.min(i,this.options.maxWidth),this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,r="leaflet-popup-scrolled";o&&n>o?(e.height=o+"px",t9(t,r)):t2(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();en(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,e=parseInt(tQ(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new D(this._containerLeft,-i-this._containerBottom);o._add(eo(this._container));var r=t.layerPointToContainerPoint(o),a=Z(this.options.autoPanPadding),s=Z(this.options.autoPanPaddingTopLeft||a),l=Z(this.options.autoPanPaddingBottomRight||a),c=t.getSize(),h=0,u=0;r.x+n+l.x>c.x&&(h=r.x+n-c.x+l.x),r.x-h-s.x<0&&(h=r.x-s.x),r.y+i+l.y>c.y&&(u=r.y+i-c.y+l.y),r.y-u-s.y<0&&(u=r.y-s.y),(h||u)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([h,u]))}},_getAnchor:function(){return Z(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});eC.mergeOptions({closePopupOnClick:!0}),eC.include({openPopup:function(t,e,i){return this._initOverlay(iw,t,e,i).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),e1.include({bindPopup:function(t,e){return this._popup=this._initOverlay(iw,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof e4||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){eP(t);var e=t.layer||t.target;if(this._popup._source===e&&!(e instanceof it)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=e,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var iP=ix.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){ix.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){ix.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=ix.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=t0("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+m(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,r=n.latLngToContainerPoint(n.getCenter()),a=n.layerPointToContainerPoint(t),s=this.options.direction,l=o.offsetWidth,c=o.offsetHeight,h=Z(this.options.offset),u=this._getAnchor();"top"===s?(e=l/2,i=c):"bottom"===s?(e=l/2,i=0):("center"===s?e=l/2:"right"===s?e=0:"left"===s?e=l:a.xthis.options.maxZoom||in&&this._retainParent(o,r,a,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var a=new D(o,r);a.z=i+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];if(l&&l.active){l.retain=!0;continue}l&&l.loaded&&(l.retain=!0),i+1this.options.maxZoom||void 0!==this.options.minZoom&&o1){this._setView(t,i);return}for(var u=o.min.y;u<=o.max.y;u++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,u);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:a.push(p)}}if(a.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)}),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;di.max.x)||!e.wrapLat&&(t.yi.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return U(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new V(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new D(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(t3(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){t9(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=y,t.onmousemove=y,tF.ielt9&&this.options.opacity<1&&et(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),p(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&z(p(this._tileReady,this,t,null,o)),en(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(et(i.el,0),F(this._fadeFrame),this._fadeFrame=z(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(t9(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tF.ielt9||!this._map._fadeAnimated?z(this._pruneTiles,this):setTimeout(p(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?g(t.x,this._wrapX):t.x,this._wrapY?g(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new W(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),iT=iS.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=w(this,e)).detectRetina&&tF.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return ed(i,"load",p(this._tileOnLoad,this,e,i)),ed(i,"error",p(this._tileOnError,this,e,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var i={r:tF.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(i.y=n),i["-y"]=n}return S(this._url,e(i,this.options))},_tileOnLoad:function(t,e){tF.ielt9?setTimeout(p(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(t=e-t),t+n},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=y,e.onerror=y,!e.complete)){e.src=k;var i=this._tiles[t].coords;t3(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",k),iS.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==k))return iS.prototype._tileReady.call(this,t,e,i)}});function iA(t,e){return new iT(t,e)}var iL=iT.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,i){this._url=t;var n=e({},this.defaultWmsParams);for(var o in i)o in this.options||(n[o]=i[o]);var r=(i=w(this,i)).detectRetina&&tF.retina?2:1,a=this.getTileSize();n.width=a.x*r,n.height=a.y*r,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,iT.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=K(i.project(e[0]),i.project(e[1])),o=n.min,r=n.max,a=(this._wmsVersion>=1.3&&this._crs===e3?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),s=iT.prototype.getTileUrl.call(this,t);return s+P(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,i){return e(this.wmsParams,t),i||this.redraw(),this}});iT.WMS=iL,iA.wms=function(t,e){return new iL(t,e)};var ik=e1.extend({options:{padding:.1},initialize:function(t){w(this,t),m(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),t9(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),r=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));tF.any3d?ei(this._container,r,i):en(this._container,r)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new W(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),iC=ik.extend({options:{tolerance:0},getEvents:function(){var t=ik.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ik.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ed(t,"mousemove",this._onMouseMove,this),ed(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ed(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){F(this._redrawRequest),delete this._ctx,t3(this._container),ef(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ik.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=tF.retina?2:1;en(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",tF.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ik.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[m(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[m(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),iI=tF.vml?iM:ti,ij=ik.extend({_initContainer:function(){this._container=iI("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=iI("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){t3(this._container),ef(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){ik.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),en(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=iI("path");t.options.className&&t9(e,t.options.className),t.options.interactive&&t9(e,"leaflet-interactive"),this._updateStyle(t),this._layers[m(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){t3(t._path),t.removeInteractiveTarget(t._path),delete this._layers[m(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,tn(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||i,o="a"+i+","+n+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+o+2*i+",0 "+o+-(2*i)+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){t1(t._path)},_bringToBack:function(t){t8(t._path)}});function iz(t){return tF.svg||tF.vml?new ij(t):null}tF.vml&&ij.include({_initContainer:function(){this._container=t0("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ik.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=iM("shape");t9(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=iM("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[m(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;t3(e),t.removeInteractiveTarget(e),delete this._layers[m(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=iM("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=T(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=iM("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){t1(t._container)},_bringToBack:function(t){t8(t._container)}}),eC.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&iO(t)||iz(t)}});var iF=ir.extend({initialize:function(t,e){ir.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=U(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ij.create=iI,ij.pointsToPath=tn,ia.geometryToLayer=is,ia.coordsToLatLng=ic,ia.coordsToLatLngs=ih,ia.latLngToCoords=iu,ia.latLngsToCoords=id,ia.getFeature=ip,ia.asFeature=im,eC.mergeOptions({boxZoom:!0});var iN=eN.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ed(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ef(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){t3(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),i(),ea(),this._startPoint=this._map.mouseEventToContainerPoint(t),ed(document,{contextmenu:eP,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=t0("div","leaflet-zoom-box",this._container),t9(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new W(this._point,this._startPoint),i=e.getSize();en(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(t3(this._box),t2(this._container,"leaflet-crosshair")),n(),es(),ef(document,{contextmenu:eP,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(p(this._resetState,this),0);var e=new V(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});eC.addInitHook("addHandler","boxZoom",iN),eC.mergeOptions({doubleClickZoom:!0});var iR=eN.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});eC.addInitHook("addHandler","doubleClickZoom",iR),eC.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var iH=eN.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new eH(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}t9(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){t2(this._map._container,"leaflet-grab"),t2(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=U(this._map.options.maxBounds);this._offsetLimit=K(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,r=(n+e+i)%t-e-i,a=Math.abs(o+i)0?o:-o))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});eC.addInitHook("addHandler","scrollWheelZoom",iB),eC.mergeOptions({tapHold:tF.touchNative&&tF.safari&&tF.mobile,tapTolerance:15});var iZ=eN.extend({addHooks:function(){ed(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ef(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new D(e.clientX,e.clientY),this._holdTimeout=setTimeout(p(function(){this._cancel(),this._isTapValid()&&(ed(document,"touchend",ew),ed(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),ed(document,"touchend touchcancel contextmenu",this._cancel,this),ed(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){ef(document,"touchend",ew),ef(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),ef(document,"touchend touchcancel contextmenu",this._cancel,this),ef(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});eC.addInitHook("addHandler","tapHold",iZ),eC.mergeOptions({touchZoom:tF.touch,bounceAtZoomLimits:!0});var iW=eN.extend({addHooks:function(){t9(this._map._container,"leaflet-touch-zoom"),ed(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){t2(this._map._container,"leaflet-touch-zoom"),ef(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),ed(document,"touchmove",this._onTouchMove,this),ed(document,"touchend touchcancel",this._onTouchEnd,this),ew(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),F(this._animRequest);var a=p(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=z(a,this,!0),ew(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,F(this._animRequest),ef(document,"touchmove",this._onTouchMove,this),ef(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});eC.addInitHook("addHandler","touchZoom",iW),eC.BoxZoom=iN,eC.DoubleClickZoom=iR,eC.Drag=iH,eC.Keyboard=iD,eC.ScrollWheelZoom=iB,eC.TapHold=iZ,eC.TouchZoom=iW,t.Bounds=W,t.Browser=tF,t.CRS=q,t.Canvas=iC,t.Circle=ii,t.CircleMarker=ie,t.Class=N,t.Control=eO,t.DivIcon=iE,t.DivOverlay=ix,t.DomEvent={__proto__:null,on:ed,off:ef,stopPropagation:ev,disableScrollPropagation:eb,disableClickPropagation:ex,preventDefault:ew,stop:eP,getPropagationPath:eE,getMousePosition:eS,getWheelDelta:eA,isExternalTarget:eL,addListener:ed,removeListener:ef},t.DomUtil={__proto__:null,TRANSFORM:tq,TRANSITION:tX,TRANSITION_END:tJ,get:t$,getStyle:tQ,create:t0,remove:t3,empty:t7,toFront:t1,toBack:t8,hasClass:t4,addClass:t9,removeClass:t2,setClass:t6,getClass:t5,setOpacity:et,testProp:ee,setTransform:ei,setPosition:en,getPosition:eo,get disableTextSelection(){return i},get enableTextSelection(){return n},disableImageDrag:ea,enableImageDrag:es,preventOutline:el,restoreOutline:ec,getSizedParentNode:eh,getScale:eu},t.Draggable=eH,t.Evented=H,t.FeatureGroup=e4,t.GeoJSON=ia,t.GridLayer=iS,t.Handler=eN,t.Icon=e9,t.ImageOverlay=iy,t.LatLng=Y,t.LatLngBounds=V,t.Layer=e1,t.LayerGroup=e8,t.LineUtil={__proto__:null,simplify:eW,pointToSegmentDistance:eK,closestPointOnSegment:function(t,e,i){return eG(t,e,i)},clipSegment:eV,_getEdgeIntersection:eU,_getBitCode:eY,_sqClosestPointOnSegment:eG,isFlat:eq,_flat:eX,polylineCenter:eJ},t.Map=eC,t.Marker=e5,t.Mixin={Events:R},t.Path=it,t.Point=D,t.PolyUtil={__proto__:null,clipPolygon:eD,polygonCenter:eB,centroid:eZ},t.Polygon=ir,t.Polyline=io,t.Popup=iw,t.PosAnimation=ek,t.Projection={__proto__:null,LonLat:e$,Mercator:eQ,SphericalMercator:J},t.Rectangle=iF,t.Renderer=ik,t.SVG=ij,t.SVGOverlay=ib,t.TileLayer=iT,t.Tooltip=iP,t.Transformation=$,t.Util={__proto__:null,extend:e,create:d,bind:p,get lastId(){return f},stamp:m,throttle:_,wrapNum:g,falseFn:y,formatNum:v,trim:b,splitWords:x,setOptions:w,getParamString:P,template:S,isArray:T,indexOf:A,emptyImageUrl:k,requestFn:I,cancelFn:j,requestAnimFrame:z,cancelAnimFrame:F},t.VideoOverlay=iv,t.bind=p,t.bounds=K,t.canvas=iO,t.circle=function(t,e,i){return new ii(t,e,i)},t.circleMarker=function(t,e){return new ie(t,e)},t.control=eM,t.divIcon=function(t){return new iE(t)},t.extend=e,t.featureGroup=function(t,e){return new e4(t,e)},t.geoJSON=ig,t.geoJson=ig,t.gridLayer=function(t){return new iS(t)},t.icon=function(t){return new e9(t)},t.imageOverlay=function(t,e,i){return new iy(t,e,i)},t.latLng=G,t.latLngBounds=U,t.layerGroup=function(t,e){return new e8(t,e)},t.map=function(t,e){return new eC(t,e)},t.marker=function(t,e){return new e5(t,e)},t.point=Z,t.polygon=function(t,e){return new ir(t,e)},t.polyline=function(t,e){return new io(t,e)},t.popup=function(t,e){return new iw(t,e)},t.rectangle=function(t,e){return new iF(t,e)},t.setOptions=w,t.stamp=m,t.svg=iz,t.svgOverlay=function(t,e,i){return new ib(t,e,i)},t.tileLayer=iA,t.tooltip=function(t,e){return new iP(t,e)},t.transformation=Q,t.version="1.9.4",t.videoOverlay=function(t,e,i){return new iv(t,e,i)};var iK=window.L;t.noConflict=function(){return window.L=iK,this},window.L=t}(eQ);const e0={"High contrast":new eQ.TileLayer("https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.png",{attribution:`© OpenStreetMap
© OpenMapTiles
© Stadia Maps
© Stamen Design`,subdomains:"abcd",minZoom:4,maxZoom:18}),"Google Maps":new eQ.TileLayer("https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}",{attribution:'© OpenStreetMap © Google Maps',minZoom:4,maxZoom:18})},e3={fillColor:"##c84041",color:"#c84041",weight:4,fillOpacity:0},e7={fillColor:"#FF0000",color:"#FF0000",weight:1,fillOpacity:.6};var e1="object"==typeof i&&i&&i.Object===Object&&i,e8="object"==typeof self&&self&&self.Object===Object&&self,e4=(e1||e8||Function("return this")()).Symbol,e9=function(t,e){for(var i=-1,n=null==t?0:t.length,o=Array(n);++ie7}).addTo(t);return function(t,e){if(-1===window.location.href.indexOf("#lots-toggle"))return;let i=document.querySelector("#lots-toggle");i&&(i.hidden=!1),document.querySelector("#lots-toggle-off")?.addEventListener("click",()=>{e.removeFrom(t)}),document.querySelector("#lots-toggle-on")?.addEventListener("click",()=>{e.addTo(t)})}(t,e),e}(t),this.lotsData=e,this.loadedCities=new Set,this.loadingPromises=new Map}load(t){if(this.loadedCities.has(t))return Promise.resolve();let e=this.loadingPromises.get(t);return e||(e=this.loadCity(t),this.loadingPromises.set(t,e),e.then(()=>this.loadedCities.add(t)).finally(()=>{this.loadingPromises.delete(t)})),e}subscribe(t){t.subscribe(({cityId:t})=>this.load(t),"load parking lots")}async loadCity(t){let e=await this.lotsData[`${t}.geojson`]();this.layer.addData(e),this.layer.bringToBack()}}async function iI(e){var i,n,o,r;eZ.add(eY,eX,eU,eV,eK,eq,eG,eJ,e$),eW.watch(),function(){if(function(){try{return window.self!==window.top}catch(t){return!1}}())return;let t=document.querySelector(".header-full-screen-icon-container");t&&(t.style.display="none")}(),function(){let t=new s("about popup",!1);t.subscribe(h,"update popup UI");let e=document.querySelector(".about-popup"),i=document.querySelector(".header-about-icon-container"),n=document.querySelector(".about-popup-close-icon-container");i?.addEventListener("click",()=>t.setValue(!t.getValue())),n?.addEventListener("click",()=>t.setValue(!1)),window.addEventListener("click",n=>{!0===t.getValue()&&n.target instanceof Element&&!i?.contains(n.target)&&!e?.contains(n.target)&&t.setValue(!1)}),t.initialize()}();let a=function(){let t=new eQ.Map("map",{layers:[e0["High contrast"]]});return t.attributionControl.setPrefix('Parking Reform Network'),new(0,eQ.Control).Layers(e0).addTo(t),t.createPane("fixed",document.getElementById("map")||void 0),t}(),[u,d]=function(t,e,i){let n={},o=(0,eQ.geoJSON)(e,{style:()=>e3,onEachFeature(t,e){let o=t.properties.id;n[o]={layer:e,stats:i[o]},e.on("add",()=>{e.getElement()?.setAttribute("id",o)})}});return o.addTo(t),[o,n]}(a,e.data.boundaries,e.data.stats),p=new iM(a,e.data.parkingLots),f=-1===(i=window.location.href).indexOf("#city=")&&-1===i.indexOf("#parking-reform-map=")?null:i.split("#")[1].split("=")[1].toLowerCase().replace(".",""),m=(n=Object.keys(e.data.stats),o=e.initialCity,new s("city state",{cityId:f&&n.includes(f)?f:o,shouldSnapMap:!0}));!function(e,i){let n=function(e){let i=new(t(c))("#city-dropdown",{position:"bottom",allowHTML:!1,itemSelectText:"",searchEnabled:!0,searchResultLimit:6,searchFields:["customProperties.city","customProperties.context"],shouldSort:!1});return i.setChoices(e.filter(({cities:t})=>t.length>0).map(({label:t,cities:e})=>({label:t,value:t,disabled:!1,choices:e.map(({id:t,name:e})=>(function(t,e){let[i,n]=e.split(/,\s|\s-\s/);return{value:t,label:e,customProperties:{city:i,context:n??""}}})(t,e))}))),i}(e);i.subscribe(({cityId:t})=>n.setChoiceByValue(t),"set dropdown to city");let o=n.passedElement.element;o.addEventListener("change",()=>{i.setValue({cityId:o.value,shouldSnapMap:!0})})}(e.dropdownGroups,m),r=e.scorecardFormatter,m.subscribe(({cityId:t})=>{let e=document.querySelector(".scorecard-container");e&&(e.innerHTML=function(t){let e=`
${t.listEntries.map(t=>`- ${t}
`).join("\n")}
`;return t.header+e}(r(d[t].stats)))},"generate scorecard"),function(){let t=new s("scorecard accordion",!1);t.subscribe(l,"toggle scorecard open/closed");let e=document.querySelector("#scorecard-container");e?.addEventListener("click",e=>{let i=e.target;i instanceof Element&&i.closest(".scorecard-accordion-toggle")&&t.setValue(!t.getValue())}),t.initialize()}(),function(t){t.subscribe(({cityId:t})=>{let e=document.querySelector(".header-share-icon-container"),i=document.querySelector(".header-full-screen-icon-container");if(!e||!i)return;let n=function(t,e){let[i]=t.split("#");return`${i}#city=${e}`}(window.location.href,t);e.addEventListener("click",async()=>{await iO(n),function(t){let e=t.querySelector("svg.share-link-icon"),i=t.querySelector("svg.share-check-icon");e&&i&&(e.style.display="none",i.style.display="inline-block",setTimeout(()=>{e.style.display="inline-block",i.style.display="none"},1e3))}(e)}),i.href=n},"update share link")}(m),function(t,e,i){t.subscribe(t=>{t.shouldSnapMap&&function(t,e){let i=e.getBounds();t.fitBounds(i);let n=t.latLngToContainerPoint(i.getCenter()).add([0,-40]),o=t.containerPointToLatLng(n);t.setView(o)}(e,i[t.cityId].layer)},"snap to city")}(m,a,d),p.subscribe(m),function(t,e,i){i.addEventListener("click",i=>{if(7>=e.getZoom())return;let n=i.sourceTarget.feature.properties.id;t.setValue({cityId:n,shouldSnapMap:!0})})}(m,a,u),function(t,e,i,n){e.on("moveend",()=>{let o,r=null;Object.entries(i).forEach(([t,i])=>{let a=i.layer.getBounds();if(!e.getBounds().intersects(a))return;n.load(t);let s=e.getBounds().getCenter().distanceTo(a.getCenter());(!r||s