1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="4b848a71-fc11-9da7-c934-f310d5ff4a3b")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89767,e=>{"use strict";var t=e.i(81821),r=e.i(44967),n=e.i(88481),i=e.i(51325),o=e.i(84128);e.s(["default",0,e=>{let{as:s=n.default,href:a,children:u,className:l,active:c=!1,...d}=e,[h,f]=(0,i.useState)(!1);return(0,t.jsx)(s,{...d,className:(0,r.default)("text-blue",l),href:a,onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:(0,t.jsx)(o.RoughNotation,{show:!!c||h,animate:!1,iterations:1,strokeWidth:1,multiline:!0,padding:3,color:"var(--color-blue)",children:u})})}])},30701,e=>{e.v({root:"KeyboardShortcut-module__ee6h-q__root"})},34949,e=>{"use strict";var t=e.i(81821),r=e.i(30701);e.s(["default",0,e=>{let{shortcut:n,icon:i}=e;return(0,t.jsx)("kbd",{className:r.default.root,children:i||n})}])},30406,e=>{e.v({root:"SketchplanationsGrid-module__AiwIVW__root"})},89013,e=>{"use strict";var t=e.i(81821),r=e.i(15578),n=e.i(30406);e.s(["default",0,e=>{let{prismicDocs:i=[]}=e;return(0,t.jsx)("div",{className:n.default.root,children:i?.map(e=>(0,t.jsx)(r.default,{sketchplanation:e,imageProps:{sizes:"(min-width: 14rem) 14rem, 100vw"}},e.uid))})}])},49532,e=>{"use strict";e.s(["default",0,function(e){if(e.repeat||e.ctrlKey||e.metaKey||e.altKey)return!0;let t=e.target?.tagName;return!!("INPUT"===t||"TEXTAREA"===t||"SELECT"===t||e.target?.isContentEditable)}])},77698,e=>{"use strict";function t(){return"u">typeof window}function r(){return(t()?window.vam:"production")||"production"}function n(){return"production"===r()}e.s(["track",0,function(e,i,o){var s,a;if(!t()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(n())console.warn(e);else throw Error(e);return}if(!i){null==(s=window.va)||s.call(window,"event",{name:e,options:o});return}try{let t=function(e,t){if(!e)return;let r=e,n=[];for(let[i,o]of Object.entries(e))"object"==typeof o&&null!==o&&(t.strip?r=function(e,t){let{[e]:r,...n}=t;return n}(i,r):n.push(i));if(n.length>0&&!t.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return r}(i,{strip:n()});null==(a=window.va)||a.call(window,"event",{name:e,data:t,options:o})}catch(e){e instanceof Error&&"development"===r()&&console.error(e)}}])},44967,(e,t,r)=>{!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)r.call(e,o)&&e[o]&&(t=i(t,o));return t}(o)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)n.default=n,t.exports=n;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==n&&e.v(n);else window.classNames=n}()},63936,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3v04qj7kthk97.js"].map(t=>e.l(t))).then(()=>t(88609)))},90801,e=>{"use strict";var t=e.i(87297);let r={name:"lightbulb",size:24,node:[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]};r.node;let n=(0,t.default)(r);e.s(["Lightbulb",0,n],90801)},74795,e=>{"use strict";var t=e.i(87297);let r={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};r.node;let n=(0,t.default)(r);e.s(["Search",0,n],74795)},24820,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTTPAccessErrorStatus:function(){return o}
2,HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return a},getAccessFallbackErrorTypeByStatus:function(){return c},getAccessFallbackHTTPStatus:function(){return l},isHTTPAccessFallbackError:function(){return u}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},s=new Set(Object.values(o)),a="NEXT_HTTP_ERROR_FALLBACK";function u(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===a&&s.has(Number(r))}function l(e){return Number(e.digest.split(";")[1])}function c(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56038,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return o}});let n=e.r(24820),i=e.r(31476);function o(e){return(0,i.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},76968,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return i}});class n extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams"),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1174",enumerable:!1,configurable:!0})}}class i extends URLSearchParams{append(){throw new n}delete(){throw new n}set(){throw new n}sort(){throw new n}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},31476,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={REDIRECT_ERROR_CODE:function(){return s},isRedirectError:function(){return a}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(78135),s="NEXT_REDIRECT";function a(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,i=t.slice(2,-2).join(";"),a=Number(t.at(-2));return r===s&&("replace"===n||"push"===n)&&"string"==typeof i&&!isNaN(a)&&a in o.RedirectStatusCode}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},78135,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RedirectStatusCode",{enumerable:!0,get:function(){return i}});var n,i=((n={})[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},26118,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3zs--erp7rq1j.js"].map(t=>e.l(t))).then(()=>t(63400)))},29375,e=>{e.v(t=>Promise.all(["static/immutable/chunks/103ourgny1vui.js"].map(t=>e.l(t))).then(()=>t(27698)))},53737,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={AppRouterContext:function(){return s},GlobalLayoutRouterContext:function(){return u},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return c},TemplateContext:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(84392)._(e.r(51325)),s=o.default.createContext(null),a=o.default.createContext(null),u=o.default.createContext(null),l=o.default.createContext(null),c=o.default.createContext(new Set)},36234,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return c},PathParamsContext:function(){return l},PathnameContext:function(){return u},ReadonlyURLSearchParams:function(){return s.ReadonlyURLSearchParams},SearchParamsContext:function(){return a},createDevToolsInstrumentedPromise:function(){return d}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(51325),s=e.r(76968),a=(0,o.createContext)(null),u=(0,o.createContext)(null),l=(0,o.createContext)(null),c=(0,o.createContext)(null);function d(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},82319,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={BailoutToCSRError:function(){return s},isBailoutToCSRError:function(){return a}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o="BAILOUT_TO_CLIENT_SIDE_RENDERING";class s extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=o}}function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===o}},59996,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return n}});let n=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},65147,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTML_LIMITED_BOT_UA_RE:function(){return o.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return a},getBotType:function(){return c},isBot:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(59996),s=/Googlebot(?!-)|Googlebot$/i,a=o.HTML_LIMITED_BOT_UA_RE.source;function u(e){return o.HTML_LIMITED_BOT_UA_RE.test(e)}function l(e){return s.test(e)||u(e)}function c(e){return s.test(e)?"dom":u(e)?"html":void 0}},15483,(e,t,r)=>{t.exports=e.r(19404)},48488,e=>{"use strict";var t=e.i(51325);e.i(81821);var r=["shift","alt","meta","mod","ctrl","control"],n={esc:"escape",return:"enter",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function i(e){return(n[e.trim()]||e.trim()).toLowerCase().replace(/key|digit|numpad/,"")}function o(e){return r.includes(e)}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return e.toLowerCase().split(t)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:">",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,u=[],l=!1;(e=e.trim()).includes(n)?(l=!0,u=e.toLocaleLowerCase().split(n).map(e=>i(e))):u=e.toLocaleLowerCase().split(t).map(e=>i(e));let c={alt:u.includes("alt"),ctrl:u.includes("ctrl")||u.includes("control"),shift:u.includes("shift"),meta:u.includes("meta"),mod:u.includes("mod"),useKey:o},d=u.filter(e=>!r.includes(e));return{...c,keys:d,description:s,isSequence:l,hotkey:e,metadata:a}}"u">typeof document&&(document.addEventListener("keydown",e=>{void 0!==e.code&&c([i(e.code)])}),document.addEventListener("keyup",e=>{void 0!==e.code&&d([i(e.code)])})),"u">typeof window&&(window.addEventListener("blur",()=>{u.clear()}),window.addEventListener("focus",()=>{u.clear()}),window.addEventListener("contextmenu",()=>{setTimeout(()=>{u.clear()},0)})),"u">typeof document&&document.addEventListener("visibilitychange",()=>{u.clear()});var u=new Set;function l(e){return Array.isArray(e)}function c(e){let t=Array.isArray(e)?e:[e];u.has("meta")&&u.forEach(e=>{o(e)||u.delete(e.toLowerCase())}
2),t.forEach(e=>{u.add(e.toLowerCase())})}function d(e){"meta"===e?u.clear():(Array.isArray(e)?e:[e]).forEach(e=>{u.delete(e.toLowerCase())})}var h=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"];function f(e){var t;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{target:n,composed:i}=e,o,s;return(t=n).tagName&&!t.tagName.startsWith("-")&&t.tagName.includes("-")&&i?(o=e.composedPath()[0]&&e.composedPath()[0].tagName,s=e.composedPath()[0]&&e.composedPath()[0].role):(o=n&&n.tagName,s=n&&n.role),l(r)?!!(o&&r?.some(e=>e.toLowerCase()===o.toLowerCase()||e===s)):!!(o&&r&&r)}var p=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{alt:n,meta:o,mod:s,shift:a,ctrl:c,keys:d,useKey:h}=t,{code:f,key:p,ctrlKey:g,metaKey:m,shiftKey:v,altKey:y}=e,b=i(f),_="function"==typeof e.getModifierState&&e.getModifierState("AltGraph");if(!h&&!d?.includes(b)&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(b))return!1;if(!r){if(n!==y&&"alt"!==b||a!==v&&"shift"!==b)return!1;if(s){if(!(typeof navigator>"u")&&/mac/i.test(navigator.userAgent)&&!/iphone|ipad|ipod/i.test(navigator.userAgent)?!m:!g)return!1}else if(o!==m&&"meta"!==b&&"os"!==b||c!==g&&"ctrl"!==b&&"control"!==b)return!1;if(_&&!n&&!c&&!s&&!["alt","ctrl","control"].includes(b))return!1}return!!(h&&d?.length===1&&d.includes(p.toLowerCase())||d&&1===d.length&&d.includes(b))||(d&&d.length>0?!!d.includes(b)&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return(l(e)?e:e.split(t)).every(e=>u.has(e.trim().toLowerCase()))}(d):!d||0===d.length)},g=(0,t.createContext)(void 0),m=(0,t.createContext)({hotkeys:[],activeScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),v="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useHotkeys",0,function(e,r,n,u){var y;let b,[_,w]=(0,t.useState)(null),k=(0,t.useCallback)(e=>(w(e),()=>w(null)),[]),x=(0,t.useRef)(!1),O=Array.isArray(n)?Array.isArray(u)?void 0:u
2:n,R=l(e)?e.join(O?.delimiter):e,E=Array.isArray(n)?n:Array.isArray(u)?u:void 0,S=(0,t.useCallback)(r,E??[]),M=(0,t.useRef)(S);E?M.current=S:M.current=r;let C=(y=function(e){if(!e)return;let{enabled:t,preventDefault:r,ignoreEventWhen:n,...i}=e;return"function"==typeof t?i:{...i,enabled:t}}(O),function e(t,r){return t&&r&&"object"==typeof t&&"object"==typeof r?Object.keys(t).length===Object.keys(r).length&&Object.keys(t).reduce((n,i)=>n&&e(t[i],r[i]),!0):t===r}((b=(0,t.useRef)(void 0)).current,y)||(b.current=y),b.current),j=(0,t.useRef)(O?.enabled);j.current=O?.enabled;let T=(0,t.useRef)(O?.preventDefault);T.current=O?.preventDefault;let L=(0,t.useRef)(O?.ignoreEventWhen);L.current=O?.ignoreEventWhen;let{activeScopes:P}=(0,t.useContext)(m),A=(0,t.useContext)(g);return v(()=>{var e;if(!1===j.current||(e=C?.scopes,!((0!==P.length||!e)&&(!e||P.some(t=>e.includes(t))||P.includes("*")))))return;let t=[],r,n=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(f(e,h)&&!f(e,C?.enableOnFormTags))){if(null!==_){let t=_.getRootNode();if((t instanceof Document||t instanceof ShadowRoot)&&t.activeElement!==_&&!_.contains(t.activeElement))return void(e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation())}e.target?.isContentEditable&&!C?.enableOnContentEditable||s(R,C?.delimiter).forEach(s=>{if(s.includes(C?.splitKey??"+")&&s.includes(C?.sequenceSplitKey??">"))return void console.warn(`Hotkey ${s} contains both ${C?.splitKey??"+"} and ${C?.sequenceSplitKey??">"} which is not supported.`);let u=a(s,C?.splitKey,C?.sequenceSplitKey,C?.useKey,C?.description,C?.metadata);if(u.isSequence){r=setTimeout(()=>{t=[]},C?.sequenceTimeoutMs??1e3);let n=u.useKey?e.key:i(e.code);if(o(n.toLowerCase()))return;if(t.push(n),n!==u.keys?.[t.length-1]){t=[],r&&clearTimeout(r);return}t.length===u.keys?.length&&(M.current(e,u),r&&clearTimeout(r),t=[])}else if(p(e,u,C?.ignoreModifiers)||u.keys?.includes("*")){var l,c;if(L.current?.(e)||n&&x.current||(("function"==typeof(l=T.current)&&l(e,u)||!0===l)&&e.preventDefault(),"function"==typeof(c=j.current)?!c(e,u):!0!==c&&void 0!==c))return;M.current(e,u),n||(x.current=!0)}})}},u=e=>{void 0!==e.code&&(c(i(e.code)),(C?.keydown===void 0&&C?.keyup!==!0||C?.keydown)&&n(e))},l=e=>{void 0!==e.code&&(d(i(e.code)),x.current=!1,C?.keyup&&n(e,!0))},g=_||O?.document||document;return g.addEventListener("keyup",l,O?.eventListenerOptions),g.addEventListener("keydown",u,O?.eventListenerOptions),A&&s(R,C?.delimiter).forEach(e=>{A.addHotkey(a(e,C?.splitKey,C?.sequenceSplitKey,C?.useKey,C?.description,C?.metadata))}),()=>{g.removeEventListener("keyup",l,O?.eventListenerOptions),g.removeEventListener("keydown",u,O?.eventListenerOptions),A&&s(R,C?.delimiter).forEach(e=>{A.removeHotkey(a(e,C?.splitKey,C?.sequenceSplitKey,C?.useKey,C?.description,C?.metadata))}),t=[],r&&clearTimeout(r)}},[_,C,P,R]),k}])},84128,e=>{"use strict";var t=e.i(51325);let r="http://www.w3.org/2000/svg";class n{constructor(e){this.seed=e}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}function i(e,t,r,n,i){return{type:"path",ops:c(e,t,r,n,i)}}function o(e,t,r){let n=(e||[]).length;if(n>2){let i=[];for(let t=0;t<n-1;t++)i.push(...c(e[t][0],e[t][1],e[t+1][0],e[t+1][1],r));return t&&i.push(...c(e[n-1][0],e[n-1][1],e[0][0],e[0][1],r)),{type:"path",ops:i}}return 2===n?i(e[0][0],e[0][1],e[1][0],e[1][1],r):{type:"path",ops:[]}}function s(e,t,r,n,i){let o,s,a,c,d;return function(e,t,r,n){let[i,o]=f(n.increment,e,t,n.rx,n.ry,1,n.increment*u(.1,u(.4,1,r),r),r),s=h(i,null,r);if(!r.disableMultiStroke){let[i]=f(n.increment,e,t,n.rx,n.ry,1.5,0,r),o=h(i,null,r);s=s.concat(o)}return{estimatedPoints:o,opset:{type:"path",ops:s}}}(e,t,i,(o=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(r/2,2)+Math.pow(n/2,2))/2)),s=2*Math.PI/Math.max(i.curveStepCount,i.curveStepCount/Math.sqrt(200)*o),a=Math.abs(r/2),c=Math.abs(n/2),d=1-i.curveFitting,a+=l(a*d,i),c+=l(c*d,i),{increment:s,rx:a,ry:c})).opset}function a(e){return e.randomizer||(e.randomizer=new n(e.seed||0)),e.randomizer.next()}function u(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return r.roughness*n*(a(r)*(t-e)+e)}function l(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return u(-e,e,t,r)}function c(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=o?i.disableMultiStrokeFill:i.disableMultiStroke,a=d(e,t,r,n,i,!0,!1);if(s)return a;let u=d(e,t,r,n,i,!0,!0);return a.concat(u)}function d(e,t,r,n,i,o,s){let u=Math.pow(e-r,2)+Math.pow(t-n,2),c=Math.sqrt(u),d=1;d=c<200?1:c>500?.4:-.0016668*c+1.233334;let h=i.maxRandomnessOffset||0;h*h*100>u&&(h=c/10);let f=h/2,p=.2+.2*a(i),g=i.bowing*i.maxRandomnessOffset*(n-t)/200,m=i.bowing*i.maxRandomnessOffset*(e-r)/200;g=l(g,i,d),m=l(m,i,d);let v=[];return o&&(s?v.push({op:"move",data:[e+l(f,i,d),t+l(f,i,d)]}):v.push({op:"move",data:[e+l(h,i,d),t+l(h,i,d)]})),s?v.push({op:"bcurveTo",data:[g+e+(r-e)*p+l(f,i,d),m+t+(n-t)*p+l(f,i,d),g+e+2*(r-e)*p+l(f,i,d),m+t+2*(n-t)*p+l(f,i,d),r+l(f,i,d),n+l(f,i,d)]}):v.push({op:"bcurveTo",data:[g+e+(r-e)*p+l(h,i,d),m+t+(n-t)*p+l(h,i,d),g+e+2*(r-e)*p+l(h,i,d),m+t+2*(n-t)*p+l(h,i,d),r+l(h,i,d),n+l(h,i,d)]}),v}function h(e,t,r){let n=e.length,i=[];if(n>3){let o=[],s=1-r.curveTightness;i.push({op:"move",data:[e[1][0],e[1][1]]});for(let t=1;t+2<n;t++){let r=e[t];o[0]=[r[0],r[1]],o[1]=[r[0]+(s*e[t+1][0]-s*e[t-1][0])/6,r[1]+(s*e[t+1][1]-s*e[t-1][1])/6],o[2]=[e[t+1][0]+(s*e[t][0]-s*e[t+2][0])/6,e[t+1
2][1]+(s*e[t][1]-s*e[t+2][1])/6],o[3]=[e[t+1][0],e[t+1][1]],i.push({op:"bcurveTo",data:[o[1][0],o[1][1],o[2][0],o[2][1],o[3][0],o[3][1]]})}if(t&&2===t.length){let e=r.maxRandomnessOffset;i.push({op:"lineTo",data:[t[0]+l(e,r),t[1]+l(e,r)]})}}else 3===n?(i.push({op:"move",data:[e[1][0],e[1][1]]}),i.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):2===n&&i.push(...c(e[0][0],e[0][1],e[1][0],e[1][1],r));return i}function f(e,t,r,n,i,o,s,a){let u=[],c=[],d=l(.5,a)-Math.PI/2;c.push([l(o,a)+t+.9*n*Math.cos(d-e),l(o,a)+r+.9*i*Math.sin(d-e)]);for(let s=d;s<2*Math.PI+d-.01;s+=e){let e=[l(o,a)+t+n*Math.cos(s),l(o,a)+r+i*Math.sin(s)];u.push(e),c.push(e)}return c.push([l(o,a)+t+n*Math.cos(d+2*Math.PI+.5*s),l(o,a)+r+i*Math.sin(d+2*Math.PI+.5*s)]),c.push([l(o,a)+t+.98*n*Math.cos(d+s),l(o,a)+r+.98*i*Math.sin(d+s)]),c.push([l(o,a)+t+.9*n*Math.cos(d+.5*s),l(o,a)+r+.9*i*Math.sin(d+.5*s)]),[c,u]}function p(e,t){return{maxRandomnessOffset:2,roughness:"highlight"===e?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,combineNestedSvgPaths:!1,disableMultiStroke:"double"!==e,disableMultiStrokeFill:!1,seed:t}}class g{constructor(e,t){this._state="unattached",this._resizing=!1,this._seed=Math.floor(0x80000000*Math.random()),this._lastSizes=[],this._animationDelay=0,this._resizeListener=()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if("unattached"===this._state&&this._e.parentElement){if(!window.__rno_kf_s){let e=window.__rno_kf_s=document.createElement("style");e.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(e)}let e=this._svg=document.createElementNS(r,"svg");e.setAttribute("class","rough-annotation");let t=e.style;t.position="absolute",t.top="0",t.left="0",t.overflow="visible",t.pointerEvents="none",t.width="100px",t.height="100px";let n="highlight"===this._config.type;if(this._e.insertAdjacentElement(n?"beforebegin":"afterend",e),this._state="not-showing",n){let e=window.getComputedStyle(this._e).position;e&&"static"!==e||(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(e=>{for(let t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let e=this.rects();if(e.length!==this._lastSizes.length)return!0;for(let t=0;t<e.length;t++)if(!this.isSameRect(e[t],this._lastSizes[t]))return!0}return!1}isSameRect(e,t){let r=(e,t)=>Math.round(e)===Math.round(t);return r(e.x,t.x)&&r(e.y,t.y)&&r(e.w,t.w)&&r(e.h,t.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}}
2hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(e,t){let n=this._config;t&&((n=JSON.parse(JSON.stringify(this._config))).animate=!1);let a=this.rects(),u=0;a.forEach(e=>u+=e.w);let l=n.animationDuration||800,c=0;for(let t=0;t<a.length;t++){let d=l*(a[t].w/u);(function(e,t,n,a,u,l){let c=[],d=n.strokeWidth||2,h=function(e){let t=e.padding;if(t||0===t){if("number"==typeof t)return[t,t,t,t];if(Array.isArray(t)&&t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}return[5,5,5,5]}(n),f=void 0===n.animate||!!n.animate,g=n.iterations||2,m=+!!n.rtl,v=p("single",l);switch(n.type){case"underline":{let e=t.y+t.h+h[2];for(let r=m;r<g+m;r++)r%2?c.push(i(t.x+t.w,e,t.x,e,v)):c.push(i(t.x,e,t.x+t.w,e,v));break}case"strike-through":{let e=t.y+t.h/2;for(let r=m;r<g+m;r++)r%2?c.push(i(t.x+t.w,e,t.x,e,v)):c.push(i(t.x,e,t.x+t.w,e,v));break}case"box":{let e=t.x-h[3],r=t.y-h[0],n=t.w+(h[1]+h[3]),i=t.h+(h[0]+h[2]);for(let t=0;t<g;t++){var y,b,_,w;c.push(o([[y=e,b=r],[y+(_=n),b],[y+_,b+(w=i)],[y,b+w]],!0,v))}break}case"bracket":{let e=Array.isArray(n.brackets)?n.brackets:n.brackets?[n.brackets]:["right"],r=t.x-2*h[3],i=t.x+t.w+2*h[1],s=t.y-2*h[0],a=t.y+t.h+2*h[2];for(let n of e){let e;switch(n){case"bottom":e=[[r,t.y+t.h],[r,a],[i,a],[i,t.y+t.h]];break;case"top":e=[[r,t.y],[r,s],[i,s],[i,t.y]];break;case"left":e=[[t.x,s],[r,s],[r,a],[t.x,a]];break;case"right":e=[[t.x+t.w,s],[i,s],[i,a],[t.x+t.w,a]]}e&&c.push(o(e,!1,v))}break}case"crossed-off":{let e=t.x,r=t.y,n=e+t.w,o=r+t.h;for(let t=m;t<g+m;t++)t%2?c.push(i(n,o,e,r,v)):c.push(i(e,r,n,o,v));for(let t=m;t<g+m;t++)t%2?c.push(i(e,o,n,r,v)):c.push(i(n,r,e,o,v));break}case"circle":{let e=p("double",l),r=t.w+(h[1]+h[3]),n=t.h+(h[0]+h[2]),i=t.x-h[3]+r/2,o=t.y-h[0]+n/2,a=Math.floor(g/2),u=g-2*a;for(let t=0;t<a;t++)c.push(s(i,o,r,n,e));for(let e=0;e<u;e++)c.push(s(i,o,r,n,v));break}case"highlight":{let e=p("highlight",l);d=.95*t.h;let r=t.y+t.h/2;for(let n=m;n<g+m;n++)n%2?c.push(i(t.x+t.w,r,t.x,r,e)):c.push(i(t.x,r,t.x+t.w,r,e))}}if(c.length){let t=function(e){let t=[];for(let r of e){let e="";for(let n of r.ops){let r=n.data;switch(n.op){case"move":e.trim()&&t.push(e.trim()),e=`M${r[0]} ${r[1]} `;break;case"bcurveTo":e+=`C${r[0]} ${r[1]}, ${r[2]} ${r[3]}, ${r[4]} ${r[5]} `;break;case"lineTo":e+=`L${r[0]} ${r[1]} `}}e.trim()&&t.push(e.trim())}return t}(c),i=[],o=[],s=0,l=(e,t,r)=>e.setAttribute(t,r);for(let a of t){let t=document.createElementNS(r,"path");if(l(t,"d",a),l(t,"fill","none"),l(t,"stroke",n.color||"currentColor"),l(t,"stroke-width",""+d),f){let e=t.getTotalLength();i.push(e),s+=e}e.appendChild(t),o.push(t)}if(f){let e=0;for(let t=0;t<o.length;t++){let r=o[t],n=i[t],l=s?n/s*u:0,c=a+e,d=r.style;d.strokeDashoffset=""+n,d.strokeDasharray=""+n,d.animation=`rough-notation-dash ${l}ms ease-out ${c}ms forwards`,e+=l}}}})(e,a[t],n,c+this._animationDelay,d,this._seed),c+=d}this._lastSizes=a,this._state="showing"}rects(){let e=[];
2if(this._svg)if(this._config.multiline){let t=this._e.getClientRects();for(let r=0;r<t.length;r++)e.push(this.svgRect(this._svg,t[r]))}else e.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return e}svgRect(e,t){let r=e.getBoundingClientRect();return{x:(t.x||t.left)-(r.x||r.left),y:(t.y||t.top)-(r.y||r.top),w:t.width,h:t.height}}}var m=function(){return(m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},v=(0,t.createContext)(null),y=(0,t.createContext)(null),b=function(e,r){var n=(0,t.useContext)(v),i=(0,t.useContext)(y),o=(0,t.useRef)({annotation:e,context:n,dispatch:i,order:r});(0,t.useEffect)(function(){var e=o.current,t=e.annotation,r=e.context,n=e.dispatch,i=e.order;if(r&&n)return n({type:"ADD",payload:{annotation:t,order:i}})},[])};e.s(["RoughNotation",0,function(e){var r=e.animate,n=void 0===r||r,i=e.animationDelay,o=void 0===i?0:i,s=e.animationDuration,a=void 0===s?800:s,u=e.brackets,l=e.children,c=e.color,d=e.customElement,h=e.getAnnotationObject,f=e.iterations,p=e.multiline,v=e.order,y=e.padding,_=void 0===y?5:y,w=e.show,k=void 0!==w&&w,x=e.strokeWidth,O=void 0===x?1:x,R=e.type,E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}(e,["animate","animationDelay","animationDuration","brackets","children","color","customElement","getAnnotationObject","iterations","multiline","order","padding","show","strokeWidth","type"]),S=(0,t.useRef)(null),M=(0,t.useRef)(),C=(0,t.useRef)({playing:!1,timeout:null}),j=(0,t.useRef)({animate:n,animationDuration:a,brackets:u,color:c,getAnnotationObject:h,iterations:void 0===f?2:f,multiline:void 0!==p&&p,padding:_,strokeWidth:O,type:void 0===R?"underline":R}),T=(0,t.useCallback)(function(){C.current.timeout||(C.current.timeout=window.setTimeout(function(){var e,t;C.current.playing=!0,null==(t=null==(e=M.current)?void 0:e.show)||t.call(e),window.setTimeout(function(){C.current.playing=!1,C.current.timeout=null},a)},o))},[o,a]),L=(0,t.useCallback)(function(){var e,t;null==(t=null==(e=M.current)?void 0:e.hide)||t.call(e),C.current.playing=!1,C.current.timeout&&(clearTimeout(C.current.timeout),C.current.timeout=null)},[]);return b({getAnnotation:(0,t.useCallback)(function(){return M.current},[M]),show:T,hide:L},"string"==typeof v?parseInt(v):v),(0,t.useEffect)(function(){var e=j.current,t=e.getAnnotationObject;return M.current=new g(S.current,e),t&&t(M.current),function(){var e,t;null==(t=null==(e=M.current)?void 0:e.remove)||t.call(e)}},[]),(0,t.useEffect)(function(){k?T():L()},[M,k,o,C,a,T,L]),(0,t.useEffect)(function(){M.current&&(M.current.animate=n,M.current.animationDuration=a,M.current.color=c,M.current.strokeWidth=O,M.current.padding=_)},[M,n,a,c,O,_]),t.default.createElement(void 0===d?"span":d,m({ref:S},E),l)}],84128)}]); 3 4//# debugId=4b848a71-fc11-9da7-c934-f310d5ff4a3b
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.