PageSourceSearch

https://www.quill.org/vite/assets/preNavigationBannerApp-cAGbMq5q.js

js quill.org collected 2026-09-24 08:43:34 UTC 12,038 bytes, 2 lines download raw bytes

1import{r as F,E as kt,S as Wt,b as Ot}from"./constants-6l3j42Ul.js";var ct={exports:{}},mt;function At(){return mt||(mt=1,function($){(function(m,v){var l=v(m,m.document,Date);m.lazySizes=l,$.exports&&($.exports=l)})(typeof window<"u"?window:{},function(v,l,x){var E,a;if(function(){var r,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};a=v.lazySizesConfig||v.lazysizesConfig||{};for(r in e)r in a||(a[r]=e[r])}(),!l||!l.getElementsByClassName)return{init:function(){},cfg:a,noSupport:!0};var T=l.documentElement,O=v.HTMLPictureElement,B="addEventListener",g="getAttribute",i=v[B].bind(v),s=v.setTimeout,p=v.requestAnimationFrame||s,u=v.requestIdleCallback,C=/^picture$/i,h=["load","error","lazyincluded","_lazyloaded"],S={},M=Array.prototype.forEach,L=function(r,e){return S[e]||(S[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),S[e].test(r[g]("class")||"")&&S[e]},q=function(r,e){L(r,e)||r.setAttribute("class",(r[g]("class")||"").trim()+" "+e)},Y=function(r,e){var o;(o=L(r,e))&&r.setAttribute("class",(r[g]("class")||"").replace(o," "))},X=function(r,e,o){var y=o?B:"removeEventListener";o&&X(r,e),h.forEach(function(z){r[y](z,e)})},Z=function(r,e,o,y,z){var c=l.createEvent("Event");return o||(o={}),o.instance=E,c.initEvent(e,!y,!z),c.detail=o,r.dispatchEvent(c),c},ot=function(r,e){var o;!O&&(o=v.picturefill||a.pf)?(e&&e.src&&!r[g]("srcset")&&r.setAttribute("srcset",e.src),o({reevaluate:!0,elements:[r]})):e&&e.src&&(r.src=e.src)},w=function(r,e){return(getComputedStyle(r,null)||{})[e]},ft=function(r,e,o){for(o=o||r.offsetWidth;o<a.minSize&&e&&!r._lazysizesWidth;)o=e.offsetWidth,e=e.parentNode;return o},tt=function(){var r,e,o=[],y=[],z=o,c=function(){var f=z;for(z=o.length?y:o,r=!0,e=!1;f.length;)f.shift()();r=!1},A=function(f,b){r&&!b?f.apply(this,arguments):(z.push(f),e||(e=!0,(l.hidden?s:p)(c)))};return A._lsFlush=c,A}(),it=function(r,e){return e?function(){tt(r)}:function(){var o=this,y=arguments;tt(function(){r.apply(o,y)})}},Lt=function(r){var e,o=0,y=a.throttleDelay,z=a.ricTimeout,c=function(){e=!1,o=x.now(),r()},A=u&&z>49?function(){u(c,{timeout:z}),z!==a.ricTimeout&&(z=a.ricTimeout)}:it(function(){s(c)},!0);return function(f){var b;(f=f===!0)&&(z=33),!e&&(e=!0,b=y-(x.now()-o),b<0&&(b=0),f||b<9?A():s(A,b))}},dt=function(r){var e,o,y=99,z=function(){e=null,r()},c=function(){var A=x.now()-o;A<y?s(c,y-A):(u||z)(z)};return function(){o=x.now(),e||(e=s(c,y))}},vt=function(){var r,e,o,y,z,c,A,f,b,I,D,Q,Nt=/^img$/i,xt=/^iframe$/i,Mt="onscroll"in v&&!/(gle|ing)bot/.test(navigator.userAgent),Rt=0,et=0,W=0,J=-1,gt=function(t){W--,(!t||W<0||!t.target)&&(W=0)},pt=function(t){return Q==null&&(Q=w(l.body,"visibility")=="hidden"),Q||!(w(t.parentNode,"visibility")=="hidden"&&w(t,"visibility")=="hidden")},Ft=function(t,n){var d,_=t,N=pt(t);for(f-=n,D+=n,b-=n,I+=n;N&&(_=_.offsetParent)&&_!=l.body&&_!=T;)N=(w(_,"opacity")||1)>0,N&&w(_,"overflow")!="visible"&&(d=_.getBoundingClientRect(),N=I>d.left&&b<d.right&&D>d.top-1&&f<d.bottom+1);return N},ht=function(){var t,n,d,_,N,R,H,U,V,j,G,K,k=E.elements;if((y=a.loadMode)&&W<8&&(t=k.length)){for(n=0,J++;n<t;n++)if(!(!k[n]||k[n]._lazyRace)){if(!Mt||E.prematureUnveil&&E.prematureUnveil(k[n])){at(k[n]);continue}if((!(U=k[n][g]("data-expand"))||!(R=U*1))&&(R=et),j||(j=!a.expand||a.expand<1?T.clientHeight>500&&T.clientWidth>500?500:370:a.expand,E._defEx=j,G=j*a.expFactor,K=a.hFac,Q=null,et<G&&W<1&&J>2&&y>2&&!l.hidden?(et=G,J=0):y>1&&J>1&&W<6?et=j:et=Rt),V!==R&&(c=innerWidth+R*K,A=innerHeight+R,H=R*-1,V=R),d=k[n].getBoundingClientRect(),(D=d.bottom)>=H&&(f=d.top)<=A&&(I=d.right)>=H*K&&(b=d.left)<=c&&(D||I||b||f)&&(a.loadHidden||pt(k[n]))&&(e&&W<3&&!U&&(y<3||J<4)||Ft(k[n],R))){if(at(k[n]),N=!0,W>9)break}else!N&&e&&!_&&W<4&&J<4&&y>2&&(r[0]||a.preloadAfterLoad)&&(r[0]||!U&&(D||I||b||f||k[n][g](a.sizesAttr)!="auto"))&&(_=r[0]||k[n])}_&&!N&&at(_)}},P=Lt(ht),bt=function(t){var n=t.target;if(n._lazyCache){delete n._lazyCache;return}gt(t),q(n,a.loadedClass),Y(n,a.loadingClass),X(n,zt),Z(n,"lazyloaded")},Tt=it(bt),zt=function(t){Tt({target:t.target})},It=function(t,n){var d=t.getAttribute("data-load-mode")||a.iframeLoadMode;d==0?t.contentWindow.location.replace(n):d==1&&(t.src=n)},Pt=function(t){var n,d=t[g](a.srcsetAttr);(n=a.customMedia[t[g]("data-media")||t[g]("media")])&&t.setAttribute("media",n),d&&t.setAttribute("srcset",d)},$t=it(function(t,n,d,_,N){var R,H,U,V,j,G;(j=Z(t,"lazybeforeunveil",n)).defaultPrevented||(_&&(d?q(t,a.autosizesClass):t.setAttribute("sizes",_)),H=t[g](a.srcsetAttr),R=t[g](a.srcAttr),N&&(U=t.parentNode,V=U&&C.test(U.nodeName||"")),G=n.firesLoad||"src"in t&&(H||R||V),j={target:t},q(t,a.loadingClass),G&&(clearTimeout(o),o=s(gt,2500),X(t,zt,!0)),V&&M.call(U.getElementsByTagName("source"),Pt),H?t.setAttribute("srcset",H):R&&
1!V&&(xt.test(t.nodeName)?It(t,R):t.src=R),N&&(H||V)&&ot(t,{src:R})),t._lazyRace&&delete t._lazyRace,Y(t,a.lazyClass),tt(function(){var K=t.complete&&t.naturalWidth>1;(!G||K)&&(K&&q(t,a.fastLoadedClass),bt(j),t._lazyCache=!0,s(function(){"_lazyCache"in t&&delete t._lazyCache},9)),t.loading=="lazy"&&W--},!0)}),at=function(t){if(!t._lazyRace){var n,d=Nt.test(t.nodeName),_=d&&(t[g](a.sizesAttr)||t[g]("sizes")),N=_=="auto";(N||!e)&&d&&(t[g]("src")||t.srcset)&&!t.complete&&!L(t,a.errorClass)&&L(t,a.lazyClass)||(n=Z(t,"lazyunveilread").detail,N&&lt.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,W++,$t(t,n,N,_,d))}},Bt=dt(function(){a.loadMode=3,P()}),yt=function(){a.loadMode==3&&(a.loadMode=2),Bt()},st=function(){if(!e){if(x.now()-z<999){s(st,999);return}e=!0,a.loadMode=3,P(),i("scroll",yt,!0)}};return{_:function(){z=x.now(),E.elements=l.getElementsByClassName(a.lazyClass),r=l.getElementsByClassName(a.lazyClass+" "+a.preloadClass),i("scroll",P,!0),i("resize",P,!0),i("pageshow",function(t){if(t.persisted){var n=l.querySelectorAll("."+a.loadingClass);n.length&&n.forEach&&p(function(){n.forEach(function(d){d.complete&&at(d)})})}}),v.MutationObserver?new MutationObserver(P).observe(T,{childList:!0,subtree:!0,attributes:!0}):(T[B]("DOMNodeInserted",P,!0),T[B]("DOMAttrModified",P,!0),setInterval(P,999)),i("hashchange",P,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){l[B](t,P,!0)}),/d$|^c/.test(l.readyState)?st():(i("load",st),l[B]("DOMContentLoaded",P),s(st,2e4)),E.elements.length?(ht(),tt._lsFlush()):P()},checkElems:P,unveil:at,_aLSL:yt}}(),lt=function(){var r,e=it(function(c,A,f,b){var I,D,Q;if(c._lazysizesWidth=b,b+="px",c.setAttribute("sizes",b),C.test(A.nodeName||""))for(I=A.getElementsByTagName("source"),D=0,Q=I.length;D<Q;D++)I[D].setAttribute("sizes",b);f.detail.dataAttr||ot(c,f.detail)}),o=function(c,A,f){var b,I=c.parentNode;I&&(f=ft(c,I,f),b=Z(c,"lazybeforesizes",{width:f,dataAttr:!!A}),b.defaultPrevented||(f=b.detail.width,f&&f!==c._lazysizesWidth&&e(c,I,b,f)))},y=function(){var c,A=r.length;if(A)for(c=0;c<A;c++)o(r[c])},z=dt(y);return{_:function(){r=l.getElementsByClassName(a.autosizesClass),i("resize",z)},checkElems:z,updateElem:o}}(),nt=function(){!nt.i&&l.getElementsByClassName&&(nt.i=!0,lt._(),vt._())};return s(function(){a.init&&nt()}),E={cfg:a,autoSizer:lt,loader:vt,init:nt,uP:ot,aC:q,rC:Y,hC:L,fire:Z,gW:ft,rAF:tt},E})}(ct)),ct.exports}At();var qt={exports:{}};(function($){(function(m,v){if(m){var l=function(){v(m.lazySizes),m.removeEventListener("lazyunveilread",l,!0)};v=v.bind(null,m,m.document),$.exports?v(At()):m.lazySizes?l():m.addEventListener("lazyunveilread",l,!0)}})(typeof window<"u"?window:0,function(m,v,l){if(m.addEventListener){var x=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,E=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,a=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,T=/^picture$/i,O=l.cfg,B=function(i){return getComputedStyle(i,null)||{}},g={getParent:function(i,s){var p=i,u=i.parentNode;return(!s||s=="prev")&&u&&T.test(u.nodeName||"")&&(u=u.parentNode),s!="self"&&(s=="prev"?p=i.previousElementSibling:s&&(u.closest||m.jQuery)?p=(u.closest?u.closest(s):jQuery(u).closest(s)[0])||u:p=u),p},getFit:function(i){var s,p,u=B(i),C=u.content||u.fontFamily,h={fit:i._lazysizesParentFit||i.getAttribute("data-parent-fit")};return!h.fit&&C&&(s=C.match(E))&&(h.fit=s[1]),h.fit?(p=i._lazysizesParentContainer||i.getAttribute("data-parent-container"),!p&&C&&(s=C.match(a))&&(p=s[1]),h.parent=g.getParent(i,p)):h.fit=u.objectFit,h},getImageRatio:function(i){var s,p,u,C,h,S,M,L=i.parentNode,q=L&&T.test(L.nodeName||"")?L.querySelectorAll("source, img"):[i];for(s=0;s<q.length;s++)if(i=q[s],p=i.getAttribute(O.srcsetAttr)||i.getAttribute("srcset")||i.getAttribute("data-pfsrcset")||i.getAttribute("data-risrcset")||"",u=i._lsMedia||i.getAttribute("media"),u=O.customMedia[i.getAttribute("data-media")||u]||u,p&&(!u||(m.matchMedia&&matchMedia(u)||{}).matches)){C=parseFloat(i.getAttribute("data-aspectratio")),C||(h=p.match(x),h?h[2]=="w"?(S=h[1],M=h[3]):(S=h[3],M=h[1]):(S=i.getAttribute("width"),M=i.getAttribute("height")),C=S/M);break}return C},calculateSize:function(i,s){var p,u,C,h,S=this.getFit(i),M=S.fit,L=S.parent;return M!="width"&&(M!="contain"&&M!="cover"||!(C=this.getImageRatio(i)))?s:(L?s=L.clientWidth:L=i,h=s,M=="width"?h=s:(u=L.clientHeight,(p=s/u)&&(M=="cover"&&p<C||M=="contain"&&p>C)&&(h=s*(C/p))),h)}};l.parentFit=g,v.addEventListener("lazybeforesizes",function(i){if(!(i.defaultPrevented||i.detail.instance!=l)){var s=i.target;i.detail.width=g.calculateSize(s,i.detail.width)}})}})})(qt);const Dt=`${Wt}/close.svg`,Ht=`${kt}/chevron-right.svg`,rt="standard",_t="teacherPremium",St="schoolDistrictPremium",ut="urgent",Et={[rt]:"standard",[_t]:"teacher-premium",[St]:"school-district-premium",[ut]:"urgent"},Ct={[rt]:"quill-button outlined small grey focus-on-light",[_t]:"quill-button outlined small gold focus-on-light",[St]:"quill-button outlined small maroon focus-on-light",[ut]:"quill-button outlined small grey focus-on-dark"},Ut=({variant:$=rt,text:m,onDismiss:v,dismissAriaLabel:l="Dismiss banner",button:x,expandedContent:E,defaultExpanded:a=!1,expandAriaLabel:T="Toggle banner details"})=>{const[O,B]=F.useState(a),g=!!E,i=!g&&!x&&!!v,s=$===ut?"focus-on-dark":"focus-on-light",p=g?"expandable":x?"has-button":"dismissable",u=Et[$]||Et[rt];function C(){B(S=>!S)}function h(){if(!x)return null;const{text:S,onClick:M,href:L,target:q,className:Y}=x,X=Y||Ct[$]||Ct[rt];return L?F.createElement("a",{className:X,href:L,rel:"noopener noreferrer",target:q},S):F.createElement("button",{className:X,onClick:M,type:"button"},S)}return F.createElement("section",{className:`pre-navigation-banner ${u} ${p}`},F.createElement("div",{className:"pre-navigation-banner__main"},g&&F.createElement("button",{"aria-expanded":O,"aria-label":T,className:`pre-navigation-banner__expand-toggle ${s}`,onClick:C,type:"button"},F.createElement("img",{alt:"",className:`pre-navigation-banner__chevron ${O?"is-expanded":""}`,src:Ht})),F.createElement("div",{className:"pre-navigation-banner__text"},m),h(),i&&F.createElement("button",{"aria-label":l,className:`pre-navigation-banner__close ${s}`,onClick:v,type:"button"},F.createElement("img",{alt:"",className:"pre-navigation-banner__close-icon",src:Dt}))),g&&O&&F.createElement("div",{className:"pre-navigation-banner__expanded"},E))};function jt($){return typeof document>"u"?!1:document.cookie.includes(`${$}=1`)}const Qt=({variant:$,bodyHTML:m,button:v,dismissable:l,dismissAriaLabel:x,cookieName:E,cookieMaxAgeSeconds:a})=>{const[T,O]=F.useState(()=>!(E&&jt(E)));function B(){if(E){const i=a?`; max-age=${a}`:"";document.cookie=`${E}=1; path=/${i}`}O(!1)}if(!T)return null;const g=F.createElement("span",null,Ot(m));return F.createElement(Ut,{button:v,dismissAriaLabel:x,onDismiss:l?B:void 0,text:g,variant:$})};export{Ut as P,Qt as a};
2//# sourceMappingURL=preNavigationBannerApp-cAGbMq5q.js.map

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.