PageSourceSearch

https://assets.niche.com/production/bundle.SurveyHub.925f70dac967bfe31b95.js

js niche.com collected 2026-10-01 08:43:22 UTC 20,454 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkWebsite=self.webpackChunkWebsite||[]).push([[1242],{68596:function(e,t,r){var n=r(16522),o=r(36863),s=r(63514),i=r(44951),a=r(74848);t.A=e=>{const t=(0,n.c)(18),{hideReviewString:r,numberOfReviews:l,rating:c,showReviewCountOnly:u,starColor:m}=e,p=void 0!==u&&u,d=m?`--${m}`:"";let h;t[0]!==r||t[1]!==l||t[2]!==p?(h=((e,t,r)=>!t&&r?e&&r?(0,i.JT)(r,"comma"):`${(0,i.JT)(r,"comma")} ${(0,i.G9)(r,"review")}`:"")(p,r,l),t[0]=r,t[1]=l,t[2]=p,t[3]=h):h=t[3];const v=h,y=c?Math.round(100*(c+Number.EPSILON))/100:0;if(c&&c>0){let e;t[4]!==d?(e=(e=>{const t=["review__stars"];return e&&t.push(`review__stars${e}`),t.join(" ")})(d),t[4]=d,t[5]=e):e=t[5];const r=`review__stars__icon review__stars__icon${d}--${(0,s.$U)(c)}`;let n,i,l,u,m;return t[6]!==r?(n=(0,a.jsx)("span",{className:r,"data-testid":"review-stars"}),t[6]=r,t[7]=n):n=t[7],t[8]!==y?(i=(0,a.jsxs)("p",{className:"visually-hidden",children:["Rating ",y," out of 5 "]}),t[8]=y,t[9]=i):i=t[9],t[10]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)("span",{className:"visually-hidden",children:"reviews"}),t[10]=l):l=t[10],t[11]!==v?(u=(0,a.jsxs)("span",{children:[v,l]}),t[11]=v,t[12]=u):u=t[12],t[13]!==e||t[14]!==n||t[15]!==i||t[16]!==u?(m=(0,a.jsxs)(o.T,{className:e,component:"div",size:"xSmall",variant:"body",children:[n,i,u]}),t[13]=e,t[14]=n,t[15]=i,t[16]=u,t[17]=m):m=t[17],m}return null}},91352:function(e,t,r){r.d(t,{default:function(){return se}});var n=r(96540),o=r(76467),s=r(97776),i=r(50658),a=r(72142),l=r(53011),c=r(16522),u=r(36863),m=r(89980),p=r(24773),d=r(27312),h=r(77876),v=r(71446),y=r(74848);var b=e=>{const t=(0,c.c)(19),{title:r,vertical:n,urlFragment:o,imageSrc:s}=e;let a;t[0]!==o||t[1]!==n?(a=()=>{let e="";"/survey/major-survey"===o&&(e="-Major"),(0,i.PJ)(i.DP.CTA_click,{label:`hub-list_${(0,h.Wi)(n)}${e}_Survey-CTA`}),(0,i.Ld)({event:"navigate",feature:"survey",section:"hub-list",action:`write-a-review_${(0,h.Wi)(n)}${e}`,target:(0,v.kZ)(n,o)})},t[0]=o,t[1]=n,t[2]=a):a=t[2];const l=a;let b;t[3]!==o||t[4]!==n?(b=(0,v.kZ)(n,o),t[3]=o,t[4]=n,t[5]=b):b=t[5];const f=`static/survey/survey-hub/${s}.webp`;let g,_,x,j,w;return t[6]!==f?(g=(0,v.Tu)(f),t[6]=f,t[7]=g):g=t[7],t[8]!==g?(_=(0,y.jsx)("img",{alt:"",className:"survey-hub-card__illustrations",loading:"lazy",src:g}),t[8]=g,t[9]=_):_=t[9],t[10]!==r?(x=(0,y.jsx)(u.T,{className:"survey-hub-card__label-text",component:"h1",size:"responsive",variant:"subtitle",children:r}),t[10]=r,t[11]=x):x=t[11],t[12]!==_||t[13]!==x?(j=(0,y.jsxs)(m.A,{className:"survey-hub-card__label",children:[_,x]}),t[12]=_,t[13]=x,t[14]=j):j=t[14],t[15]!==l||t[16]!==b||t[17]!==j?(w=(0,y.jsx)(p.C,{className:"survey-hub-card",children:(0,y.jsx)(d.A,{className:"survey-hub-card__action-area",href:b,onClick:l,children:j})}),t[15]=l,t[16]=b,t[17]=j,t[18]=w):w=t[18],w};var f=()=>{const e=(0,c.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,y.jsxs)("header",{className:"survey-hub-header",children:[(0,y.jsx)(u.T,{className:"survey-hub-header__title",component:"h1",size:"responsive",variant:"headline",children:"Share your experience"}),(0,y.jsx)(u.T,{className:"survey-hub-header__body",component:"p",size:"responsive",variant:"body",children:"Make a difference in someone else's education journey."}),(0,y.jsx)(u.T,{className:"survey-hub-header__preheader",component:"h3",size:"responsive",variant:"preheader",children:"Write a review for a"})]}),e[0]=t):t=e[0],t},g=r(15548),_=r(64353),x=r(61298),j=r(75123),w=r(38572),S=r(27252),k=r(52171),A=r(98144),C=r(65567),N=r(69791),O=r(32344),L=r(66135),$=r(72850);var U=e=>{const t=(0,c.c)(26),{entity:r,photos:n}=e;let o,s;t[0]!==n?(s=(0,L.D5)(n,!0),t[0]=n,t[1]=s):s=t[1],o=s;const i=o;let a,l,p,d,h,b,f,g;return t[2]!==r.name||t[3]!==r.type||t[4]!==r.url||t[5]!==i?(a=i&&(0,y.jsx)(N.L,{href:(0,v.JA)(r.type,r.url),children:(0,y.jsx)(O.A,{alt:`thumbnail of ${r.name}`,className:"progress-card-header__image",component:"img",src:i})}),t[2]=r.name,t[3]=r.type,t[4]=r.url,t[5]=i,t[6]=a):a=t[6],t[7]!==r.type||t[8]!==r.url?(l=(0,v.JA)(r.type,r.url),t[7]=r.type,t[8]=r.url,t[9]=l):l=t[9],t[10]===Symbol.for("react.memo_cache_sentinel")?(p={color:_.colors.gray900,"&:hover":{color:_.colors.gray900}},t[10]=p):p=t[10],t[11]!==r.name?(d=(0,y.jsx)(u.T,{component:"span",size:"responsive",variant:"label",children:r.name}),t[11]=r.name,t[12]=d):d=t[12],t[13]!==l||t[14]!==d?(h=(0,y.jsx)(N.L,{className:"progress-card-header__name",href:l,sx:p,underline:"hover",variant:"button",children:d}),t[13]=l,t[14]=d,t[15]=h):h=t[15],t[16]!==r.location||t[17]!==r.tagline||t[18]!==r.type?(b=r.tagline&&(0,y.jsxs)("ul",{className:"progress-card-header__content-tags",children:[r.location&&(0,y.jsx)(C.A,{"aria-hidden":!0,
1className:"progress-card-header__location-icon",color:_.colors.gray700,fontSize:"xsmall"}),(0,$.rQ)(r.tagline,r.type,r.location).map(T)]}),t[16]=r.location,t[17]=r.tagline,t[18]=r.type,t[19]=b):b=t[19],t[20]!==h||t[21]!==b?(f=(0,y.jsxs)("div",{className:"progress-card-header__content-container",children:[h,b]}),t[20]=h,t[21]=b,t[22]=f):f=t[22],t[23]!==a||t[24]!==f?(g=(0,y.jsxs)(m.A,{className:"progress-card-header__content",children:[a,f]}),t[23]=a,t[24]=f,t[25]=g):g=t[25],g};function T(e){return(0,y.jsx)(u.T,{className:"progress-card-header__content-tag",color:_.colors.gray700,component:"li",size:"responsive",variant:"body",children:e},e)}var D=e=>{const{entity:t,photos:r}=e,o=(0,n.useMemo)(()=>(0,a.Hk)(t.type),[t]),s=(0,n.useMemo)(()=>{const e=(0,A.R0)(t.type);return(0,v.qX)(o.Subdomain,e,t.url)},[o,t]);return(0,y.jsx)(w.A,{in:!0,timeout:500,unmountOnExit:!0,children:(0,y.jsxs)(p.C,{className:"survey-incomplete",children:[(0,y.jsx)(U,{entity:t,photos:r}),(0,y.jsx)(S.A,{className:"survey-incomplete__button",children:(0,y.jsx)(k.B,{color:"primary",href:s,onClick:()=>{(0,i.PJ)(i.DP.CTA_click,{label:`hub-more-questions_${(0,h.Wi)(o.Subdomain)}_Survey-CTA`}),(0,i.Ld)({event:"navigate",feature:"survey",section:"hub-more-questions",action:`finish-review_${(0,h.Wi)(o.Subdomain)}`,target:s})},sx:{textWrap:"nowrap",width:{breakpoint_base:"100%",breakpoint_500:"auto"},fontSize:{breakpoint_base:"0.875rem",breakpoint_500:"1rem",breakpoint_1200:"1.125rem"}},children:"Answer questions"})})]})})},R=r(14250),P=r(39843),z=r(35404),B=r(85916),I=r(4459),M=r(73846),E=r(13685),H=r(18356),J=r(77600),W=r(15924),G=r(81208);var F=e=>{const t=(0,c.c)(24),r=(0,G.A)(),{entityName:n,onClose:o,onConfirm:s,open:a,subjectGuid:l}=e;let u;t[0]!==o?(u=()=>{(0,i.PJ)(i.DP.Click,{label:"review-deletion-modal_cancel"}),(0,i.Ld)({event:"close",feature:"survey",section:"review-deletion-modal",action:"cancel"}),o()},t[0]=o,t[1]=u):u=t[1];const m=u;let p;t[2]!==r||t[3]!==o||t[4]!==s||t[5]!==l?(p=async()=>{(0,i.PJ)(i.DP.Click,{label:"review-deletion-modal_delete"}),(0,i.Ld)({event:"remove",feature:"survey",section:"review-deletion-modal",action:"delete"}),r((e=>async t=>{try{await(0,J.O4)(e),t((0,E.A)())}catch{t((0,W.Ds)(H.$e.deleteSurveyError))}})(l)),s(),o()},t[2]=r,t[3]=o,t[4]=s,t[5]=l,t[6]=p):p=t[6];const d=p;let h,v,b,f,g,x,j,w;return t[7]===Symbol.for("react.memo_cache_sentinel")?(h=(0,y.jsx)(B.A,{color:_.colors.gray900,children:"Delete this review?"}),t[7]=h):h=t[7],t[8]!==n?(v=(0,y.jsxs)(I.b,{children:["This will delete your rating for ",(0,y.jsx)("strong",{children:n})," along with any other information you have provided us about your experience."]}),t[8]=n,t[9]=v):v=t[9],t[10]===Symbol.for("react.memo_cache_sentinel")?(b={display:"flex",flexDirection:"row",justifyContent:"flex-end",paddingBottom:3,paddingTop:2},t[10]=b):b=t[10],t[11]===Symbol.for("react.memo_cache_sentinel")?(f={mr:(0,M.p)(8)},t[11]=f):f=t[11],t[12]!==m?(g=(0,y.jsx)(k.B,{color:"gray",onClick:m,sx:f,variant:"text",children:"Cancel"}),t[12]=m,t[13]=g):g=t[13],t[14]!==d?(x=(0,y.jsx)(k.B,{color:"error",onClick:d,children:"Delete"}),t[14]=d,t[15]=x):x=t[15],t[16]!==g||t[17]!==x?(j=(0,y.jsxs)(I.a,{sx:b,children:[g,x]}),t[16]=g,t[17]=x,t[18]=j):j=t[18],t[19]!==o||t[20]!==a||t[21]!==v||t[22]!==j?(w=(0,y.jsxs)(I.D,{keepMounted:!0,onClose:o,open:a,showClose:!0,children:[h,v,j]}),t[19]=o,t[20]=a,t[21]=v,t[22]=j,t[23]=w):w=t[23],w},q=r(56161),K=r(34429);var X=e=>
1{const t=(0,c.c)(14),{anchorElement:r,setAnchorElement:n,setDeleteDialogOpen:o}=e;let s;t[0]!==n?(s=()=>{n(null)},t[0]=n,t[1]=s):s=t[1];const a=s;let l;t[2]!==n||t[3]!==o?(l=()=>{n(null),o(!0),(0,i.PJ)(i.DP.Click,{label:"delete-review_meatball"}),(0,i.Ld)({event:"open",feature:"survey",section:"review-card-meatball",action:"delete"})},t[2]=n,t[3]=o,t[4]=l):l=t[4];const u=l;let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m={vertical:"top",horizontal:"right"},t[5]=m):m=t[5];const p=Boolean(r);let d,h,v;return t[6]===Symbol.for("react.memo_cache_sentinel")?(d={vertical:"bottom",horizontal:"right"},t[6]=d):d=t[6],t[7]!==u?(h=(0,y.jsx)(q.M,{className:"survey-review__menu-item--delete",onClick:u,children:"Delete review"}),t[7]=u,t[8]=h):h=t[8],t[9]!==r||t[10]!==a||t[11]!==p||t[12]!==h?(v=(0,y.jsx)(K.A,{anchorEl:r,anchorOrigin:m,onClose:a,open:p,transformOrigin:d,children:h}),t[9]=r,t[10]=a,t[11]=p,t[12]=h,t[13]=v):v=t[13],v},Q=r(76749),Z=r(77872);var V=()=>{const e=(0,c.c)(4);let t,r,n,o;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={justifyContent:"center"},e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,y.jsx)(Z.xA,{size:{breakpoint_base:2,breakpoint_500:1},sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,y.jsx)(Q.A,{color:_.colors.yellow400,fontSize:"small"})}),e[1]=r):r=e[1],e[2]===Symbol.for("react.memo_cache_sentinel")?(n={breakpoint_base:10,breakpoint_500:11},e[2]=n):n=e[2],e[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,y.jsxs)(Z.xA,{container:!0,direction:"row",spacing:1,sx:t,children:[r,(0,y.jsx)(Z.xA,{size:n,children:(0,y.jsxs)(u.T,{component:"p",size:"responsive",variant:"body",children:["Review has been removed because it doesn't meet review guidelines."," ",(0,y.jsx)(N.L,{href:(0,v.Ei)("/niche-guidelines-for-reporting-and-removing-content/"),size:"responsive",target:"_blank",variant:"body",children:"Read review guidelines"})," ","for more information."]})})]}),e[3]=o):o=e[3],o};var Y=e=>{const t=(0,c.c)(46),{entity:r,photos:o,relationship:s,response:a,timestamp:l}=e,[d,h]=(0,n.useState)(null),[v,b]=(0,n.useState)(!1),[f,_]=(0,n.useState)(!1);let x;t[0]===Symbol.for("react.memo_cache_sentinel")?(x=e=>{h(e.currentTarget),(0,i.PJ)(i.DP.Click,{label:"review-card-meatball_open"}),(0,i.Ld)({event:"open",feature:"survey",section:"review-card",action:"meatball"})},t[0]=x):x=t[0];const j=x;let k;if(a){var A,C,N;const e=s||"",r=a.body||"";let n;t[1]!==a.questionCategories?(n=a.questionCategories||[],t[1]=a.questionCategories,t[2]=n):n=t[2];const o=a.submissionUUID||"",i=a.helpfulness,c=null!==(A=null===(C=a.options)||void 0===C||null===(N=C[0])||void 0===N?void 0:N.score)&&void 0!==A?A:0;let u,m;t[3]!==c?(u=c.toString(),t[3]=c,t[4]=u):u=t[4],t[5]!==a.helpfulness||t[6]!==e||t[7]!==r||t[8]!==n||t[9]!==o||t[10]!==u||t[11]!==l?(m={author:e,body:r,categories:n,created:l,guid:o,helpfulness:i,rating:u},t[5]=a.helpfulness,t[6]=e,t[7]=r,t[8]=n,t[9]=o,t[10]=u,t[11]=l,t[12]=m):m=t[12],k=m}else k=null;const O=!v;let L,$,T,D,B,I,M,E,H,J,W,G,q,K;return t[13]!==r||t[14]!==o?(L=(0,y.jsx)(U,{entity:r,photos:o}),t[13]=r,t[14]=o,t[15]=L):L=t[15],t[16]!==k?($=!k&&(0,y.jsx)(m.A,{children:(0,y.jsx)(V,{})}),t[16]=k,t[17]=$):$=t[17],t[18]!==k?(T=k&&(0,y.jsx)(m.A,{children:(0,y.jsx)(z.A,{isLastReview:!1,readonly:!0,reviewData:k})}),t[18]=k,t[19]=T):T=t[19],t[20]===Symbol.for("react.memo_cache_sentinel")?(D=(0,y.jsx)(g.A,{}),t[20]=D):D=t[20],t[21]===Symbol.for("react.memo_cache_sentinel")?(B={justifyContent:"space-between"},t[21]=B):B=t[21],t[22]!==(null==a?void 0:a.helpfulness)||t[23]!==k?(I=k&&(null==a?void 0:a.helpfulness)>0&&(0,y.jsxs)(u.T,{component:"p",size:"xSmall",variant:"button",children:[null==a?void 0:a.helpfulness," people found this helpful"]}),t[22]=null==a?void 0:a.helpfulness,t[23]=k,t[24]=I):I=t[24],t[25]===Symbol.for("react.memo_cache_sentinel")?(M=(0,y.jsx)(P.I,{"aria-label":"open action menu",className:"survey-review__meatball",color:"inverted",onClick:j,children:(0,y.jsx)(R.A,{})}),t[25]=M):M=t[25],t[26]!==d?(E=(0,y.jsx)(X,{anchorElement:d,setAnchorElement:h,setDeleteDialogOpen:_}),t[26]=d,t[27]=E):E=t[27],t[28]!==E||t[29]!==I?(H=(0,y.jsxs)(S.A,{s
1x:B,children:[I,M,E]}),t[28]=E,t[29]=I,t[30]=H):H=t[30],t[31]===Symbol.for("react.memo_cache_sentinel")?(J=()=>_(!1),W=()=>b(!0),t[31]=J,t[32]=W):(J=t[31],W=t[32]),t[33]!==f||t[34]!==r.guid||t[35]!==r.name?(G=(0,y.jsx)(F,{entityName:r.name,onClose:J,onConfirm:W,open:f,subjectGuid:r.guid}),t[33]=f,t[34]=r.guid,t[35]=r.name,t[36]=G):G=t[36],t[37]!==H||t[38]!==G||t[39]!==L||t[40]!==$||t[41]!==T?(q=(0,y.jsxs)(p.C,{className:"survey-review",children:[L,$,T,D,H,G]}),t[37]=H,t[38]=G,t[39]=L,t[40]=$,t[41]=T,t[42]=q):q=t[42],t[43]!==q||t[44]!==O?(K=(0,y.jsx)(w.A,{in:O,timeout:500,unmountOnExit:!0,children:q}),t[43]=q,t[44]=O,t[45]=K):K=t[45],K};var ee=()=>{const e=(0,c.c)(7),t=(0,x.G)(te),r=(0,x.G)(re);let n,o,s;return e[0]!==t?(n=t&&t.length>0&&(0,y.jsxs)("section",{className:"survey-hub__progress-wrapper",children:[(0,y.jsx)(u.T,{color:_.colors.gray900,component:"h3",size:"responsive",variant:"subtitle",children:"Pick up where you left off"}),(0,y.jsx)(g.A,{}),t.map(ne)]}),e[0]=t,e[1]=n):n=e[1],e[2]!==r?(o=r&&r.length>0&&(0,y.jsxs)("section",{className:"survey-hub__progress-wrapper",children:[(0,y.jsx)(u.T,{color:_.colors.gray900,component:"h3",size:"responsive",variant:"subtitle",children:"Reviews"}),(0,y.jsx)(g.A,{}),r.map(oe)]}),e[2]=r,e[3]=o):o=e[3],e[4]!==n||e[5]!==o?(s=(0,y.jsxs)("div",{children:[n,o]}),e[4]=n,e[5]=o,e[6]=s):s=e[6],s};function te(e){return(0,j.Co)(e.survey)}function re(e){return(0,j.KQ)(e.survey)}function ne(e){return(0,y.jsx)(D,{entity:e.entity,photos:e.photos},e.subjectUUID)}function oe(e){return(0,y.jsx)(Y,{entity:e.entity,photos:e.photos,relationship:e.relationship,response:e.response,timestamp:e.timestamp},e.subjectUUID)}var se=(0,o.iO)(e=>{let{cookies:t}=e;return(0,n.useEffect)(()=>{const e=(0,s.Ri)({cookies:t,name:l.A.surveySubmissionSuccess});if(e){const{surveyGuid:r,entityGuid:n}=e;(0,i.Ld)({event:"complete",survey_uuid:r,entity_uuid:n,feature:"survey",object:"survey_submit_successful"}),(0,s.o7)({cookies:t,name:l.A.surveySubmissionSuccess})}},[]),(0,y.jsxs)("main",{className:"survey-hub",children:[(0,y.jsx)("div",{className:"survey-hub__header-wrapper",children:(0,y.jsx)(f,{})}),(0,y.jsxs)("section",{className:"survey-hub__body-wrapper",children:[(0,y.jsx)(b,{imageSrc:"k12",title:"K-12 school",urlFragment:"/survey/",vertical:a.BX.K12.Subdomain}),(0,y.jsx)(b,{imageSrc:"colleges",title:"College",urlFragment:"/survey/",vertical:a.BX.Colleges.Subdomain}),(0,y.jsx)(b,{imageSrc:"graduate-schools",title:"Grad school",urlFragment:"/survey/",vertical:a.BX.GraduateSchools.Subdomain}),(0,y.jsx)(b,{imageSrc:"places-to-live",title:"Area",urlFragment:"/survey/",vertical:a.BX.Local.Subdomain}),(0,y.jsx)(b,{imageSrc:"college-majors",title:"College major",urlFragment:"/survey/major-survey",vertical:a.BX.Colleges.Subdomain})]}),(0,y.jsx)(ee,{})]})})},66135:function(e,t,r){r.d(t,{D5:function(){return h},VG:function(){return d},_I:function(){return a},du:function(){return m},gD:function(){return u},vS:function(){return p}});var n=r(97857),o=r(52208);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e){const{entity:t}=e;return{aliases:t.aliases||[],genus:t.genus}}const l=e=>e?Array.isArray(e)?e.map(e=>null==e?void 0:e.url).filter(e=>"string"==typeof e):"object"==typeof e?Object.values(e).filter(e=>"string"==typeof e):[]:[],c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").startsWith("https://api.mapbox.com/styles/v1/")};function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Ay.staticImageBaseURL;if(!e||!t||!e.startsWith("https://api.mapbox.com/styles/v1/"))return e;
1try{const r=new URL(e),n=r.pathname.split("/").filter(Boolean),o=n.indexOf("static");if("api.mapbox.com"!==r.hostname||-1===o||n.length!==o+3)return e;const s=n[n.length-2],i=n[n.length-1].replace(/\.(png|jpe?g|webp)$/i,"");if(!s||!/^\d+x\d+(?:@\d+x)?$/.test(i))return e;return`${t}/${(()=>{const e=s.split(",");if(e.length<3)return s;const t=parseFloat(e[2]);return Number.isFinite(t)?(e[2]=String(t+1),e.join(",")):s})()}/${i}.png`}catch{return e}}function m(e){if(!e)return e;const t=l(e.crops),r="mapbox_header"===e.photoType||t.some(e=>c(e)||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Ay.staticImageBaseURL;const r=null==t?void 0:t.replace(/\/+$/,"");return Boolean(e&&r&&e.startsWith(`${r}/`))}(e));if(!r)return e;const n=t.some(c);return i(i({},e),n?o.rL:o.HI)}function p(e){return Boolean(e&&(e.author===o.HI.author||e.author===o.rL.author||e.sourceURL===o.HI.sourceURL||e.licenseURL===o.HI.licenseURL))}function d(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return"";const r=e&&e.default&&e.default.crops&&Object.keys(e.default.crops).length>0,n=e&&e.mapbox_header&&e.mapbox_header.crops&&Object.keys(e.mapbox_header.crops).length>0;if(r){const{crops:r}=e.default;return t?r.MobileHeader:r.DesktopHeader}if(n){const{crops:r}=e.mapbox_header;return u(t?r.MobileHeader:r.DesktopHeader)}return""}function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=e.find(e=>"default"===e.photoType&&e.crops&&e.crops.length>0)||e.find(e=>"mapbox_header"===e.photoType&&e.crops&&e.crops.length>0);if(r){const e=r.crops.find(e=>"MobileHeader"===e.name),n=r.crops.find(e=>"DesktopHeader"===e.name),o=t?(null==e?void 0:e.url)||"":(null==n?void 0:n.url)||"";return"mapbox_header"===r.photoType?u(o):o}return""}},63514:function(e,t,r){r.d(t,{$U:function(){return n},tf:function(){return o}});const n=e=>{const t=Number((Math.round(2*e)/2).toFixed(1));return!t||t<0?"":t>5?"50":(10*t).toString()},o=(e,t)=>Object.entries(e).reduce((e,t)=>{let[r,n]=t;return e+Number(r)*n},0)/t},52208:function(e,t,r){r.d(t,{HI:function(){return y},in:function(){return f},rL:function(){return b}});var n,o=r(23256);
1const s="4.7.1",i=e=>null==e?void 0:e.replace(/\/+$/,""),a=o.Kn,l=null==a?void 0:a.mapTilesStyleURL,c=i(null==a?void 0:a.mapTilesPublicURL)||i(null==(u=l)||null===(m=u.match(/^(.*)\/styles\/[^/]+\/style\.json$/))||void 0===m?void 0:m[1]);var u,m;const p=l||(c?`${c}/styles/niche-light/style.json`:void 0),d=c?`${c}/manifest.json`:void 0,h=(null==a?void 0:a.mapTilesOverlayTileJSONURL)||(c?`pmtiles://${c}/tiles/niche-overlays.pmtiles`:void 0),v=i(null==a?void 0:a.mapTilesStaticImageBaseURL),y={author:"© OpenMapTiles",sourceURL:"https://www.openmaptiles.org/",sourceUrl:"https://www.openmaptiles.org/",licenseName:"© OpenStreetMap contributors",licenseURL:"https://www.openstreetmap.org/copyright",licenseUrl:"https://www.openstreetmap.org/copyright"},b={author:"© Mapbox",sourceURL:"https://www.mapbox.com/about/maps/",sourceUrl:"https://www.mapbox.com/about/maps/",licenseName:"© OpenStreetMap contributors",licenseURL:"https://www.openstreetmap.org/copyright",licenseUrl:"https://www.openstreetmap.org/copyright"},f=[`<a href="${y.sourceURL}" target="_blank" rel="noopener nofollow">${y.author}</a>`,`<a href="${y.licenseURL}" target="_blank" rel="noopener nofollow">${y.licenseName}</a>`].join(" ");t.Ay={apiKey:null!==(n=null==a?void 0:a.apiKey)&&void 0!==n?n:"",jsSource:`https://unpkg.com/maplibre-gl@${s}/dist/maplibre-gl.js`,styleSource:`https://unpkg.com/maplibre-gl@${s}/dist/maplibre-gl.css`,geocoderSource:"https://unpkg.com/@mapbox/[email protected]/dist/mapbox-gl-geocoder.min.js",geocoderStyleSource:"https://unpkg.com/@mapbox/[email protected]/dist/mapbox-gl-geocoder.css",manifestURL:d,mapStyleSource:p,overlaySourceUrl:h,staticImageBaseURL:v}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.