@capagents/forgeqe 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +11 -2
- package/dist/forgeqe.js +1727 -1726
- package/dist/template.html +43 -43
- package/dist/web/assets/{3d-force-graph-B-g_aIro.js → 3d-force-graph-ChNz5Yhx.js} +1 -1
- package/dist/web/assets/{Agent-C5oBtGk7.js → Agent-CTRFDu9M.js} +10 -10
- package/dist/web/assets/{AgentWork-DJ8Vs06n.js → AgentWork-D1c_w9rM.js} +1 -1
- package/dist/web/assets/ApiTests-CHKwMgxN.js +17 -0
- package/dist/web/assets/{Browse-DLECqaFU.js → Browse-CcKh43L5.js} +1 -1
- package/dist/web/assets/Chat-CooI13qi.js +3 -0
- package/dist/web/assets/CommandPalette-D8AtIocY.js +1 -0
- package/dist/web/assets/{Compare-DaIqZceW.js → Compare-DPX2G5oF.js} +1 -1
- package/dist/web/assets/Cost-CBGk_xKN.js +1 -0
- package/dist/web/assets/{Data-DSoaKTFT.js → Data-CW95KX9u.js} +4 -4
- package/dist/web/assets/Desktop-C6-h0ExO.js +1 -0
- package/dist/web/assets/DesktopReview-C02n70Wx.js +2 -0
- package/dist/web/assets/DeviceScreen-DDERg3YQ.js +1 -0
- package/dist/web/assets/Evidence-DqTx1TS1.js +1 -0
- package/dist/web/assets/{Explore-CnsxID-z.js → Explore-DgaugrDO.js} +2 -2
- package/dist/web/assets/Features-DYr-izEt.js +1 -0
- package/dist/web/assets/{Flags-KtTYNU6g.js → Flags-DL-G7YWK.js} +2 -2
- package/dist/web/assets/Flaky-DOxneo4i.js +1 -0
- package/dist/web/assets/Impact-BuHHY2_3.js +3 -0
- package/dist/web/assets/{Jobs-Fj0wBOAO.js → Jobs-DEc49gwq.js} +3 -3
- package/dist/web/assets/{KindPage--MHC32ho.js → KindPage-DuLav-l5.js} +3 -3
- package/dist/web/assets/LiveDevice-PsN5gnXw.js +1 -0
- package/dist/web/assets/Migration-BcxL5Okw.js +8 -0
- package/dist/web/assets/Mobile-CBDmyoL5.js +1 -0
- package/dist/web/assets/Observability-Cqjko62E.js +1 -0
- package/dist/web/assets/{OwnItems-BWX70VhE.js → OwnItems-DXS-CMiC.js} +3 -3
- package/dist/web/assets/PageAgent-BzDuRR-t.js +1 -0
- package/dist/web/assets/Product-BKIKhNp3.js +6 -0
- package/dist/web/assets/Production-DKKynWrp.js +1 -0
- package/dist/web/assets/Quality-Dsh07yXp.js +1 -0
- package/dist/web/assets/Readiness-BbjzvgVB.js +1 -0
- package/dist/web/assets/Record-BIa-SPuU.js +1 -0
- package/dist/web/assets/Regression-DeQnXoZ4.js +5 -0
- package/dist/web/assets/RelationGraph-C7M_Zcx-.js +1 -0
- package/dist/web/assets/Reports-DsWA9Q7H.js +2 -0
- package/dist/web/assets/{Requirements-BRXFZQuu.js → Requirements-B-8D5JFY.js} +2 -2
- package/dist/web/assets/Responsive-Dl4CLUoF.js +3 -0
- package/dist/web/assets/RunDiff-C2knd045.js +1 -0
- package/dist/web/assets/Settings-Cmac0LZa.js +21 -0
- package/dist/web/assets/SiteScan-D2WMUVcw.js +5 -0
- package/dist/web/assets/Steps-DeZhIdc1.js +2 -0
- package/dist/web/assets/{TestData-4P28hX0Q.js → TestData-CDOvUmVT.js} +2 -2
- package/dist/web/assets/TestManagement-9CTQonHe.js +4 -0
- package/dist/web/assets/WhatsNew-BotUU9UF.js +1 -0
- package/dist/web/assets/{agentSettingsSheet-ElGgFEeo.js → agentSettingsSheet-BEVtvrGk.js} +1 -1
- package/dist/web/assets/answer-BCM85AEe.js +99 -0
- package/dist/web/assets/api-DS8XP38R.js +1 -0
- package/dist/web/assets/{dataParts-_MZY-U_N.js → dataParts-C5w2uvJZ.js} +3 -3
- package/dist/web/assets/desktopAppPath-BN4vYVi4.js +1 -0
- package/dist/web/assets/{flowTheme-BcMJKyow.js → flowTheme-dXvSLQHO.js} +1 -1
- package/dist/web/assets/frame-BANehQdX.js +139 -0
- package/dist/web/assets/index-Db_tsLSf.js +47 -0
- package/dist/web/assets/index-iQkL5bWO.css +2 -0
- package/dist/web/assets/{nav-DRpijFeN.js → nav-f8SqayfG.js} +1 -1
- package/dist/web/assets/{pageBack-CINGjBHZ.js → pageBack-DU3mApVL.js} +7 -7
- package/dist/web/assets/palette-D8aKJo_q.js +1 -0
- package/dist/web/assets/{paletteCommands-Bx61jZay.js → paletteCommands-DdFd3e0-.js} +1 -1
- package/dist/web/assets/parts-B0PK7ewd.js +1 -0
- package/dist/web/assets/{productParts-Pp0gh7QX.js → productParts-bcAIT4Ca.js} +1 -1
- package/dist/web/assets/qualityParts-C2Y38oFp.js +3 -0
- package/dist/web/assets/{recordTest-S5MOLSrL.js → recordTest-Cn4qoyRB.js} +1 -1
- package/dist/web/assets/sectionList-B6NF3ZMb.js +1 -0
- package/dist/web/assets/{stepper-B7sbuU1Q.js → stepper-CEFz82T4.js} +1 -1
- package/dist/web/assets/{preload-helper-BupTYkQW.js → surface-c1kG1KPS.js} +1 -1
- package/dist/web/assets/wizardParts-CGHmp8or.js +1 -0
- package/dist/web/index.html +9 -9
- package/docs/WEB_APP.md +12 -2
- package/forgeqe.example.yaml +4 -2
- package/package.json +1 -1
- package/dist/web/assets/ApiTests-BLCfYh51.js +0 -17
- package/dist/web/assets/Chat-Cv8DeS-_.js +0 -3
- package/dist/web/assets/CommandPalette-x_RA-vYW.js +0 -1
- package/dist/web/assets/Cost-CITIwCiU.js +0 -1
- package/dist/web/assets/Desktop-CSaj8gd9.js +0 -1
- package/dist/web/assets/DesktopReview-Dz5XOBgo.js +0 -2
- package/dist/web/assets/DeviceScreen-BHmTd9Q-.js +0 -1
- package/dist/web/assets/Evidence-WRJ5Ocx1.js +0 -1
- package/dist/web/assets/Features-Do6F_oaP.js +0 -1
- package/dist/web/assets/Flaky-BBPNCZOq.js +0 -1
- package/dist/web/assets/Impact-DXpXmLyE.js +0 -3
- package/dist/web/assets/LiveDevice-CuJzvCUi.js +0 -1
- package/dist/web/assets/Migration-6aYe_2EG.js +0 -8
- package/dist/web/assets/Mobile-Dv6f7u3D.js +0 -1
- package/dist/web/assets/Observability-Dqb01Eyo.js +0 -1
- package/dist/web/assets/PageAgent-CPVv-rb3.js +0 -1
- package/dist/web/assets/Product-Bg8GLZO1.js +0 -6
- package/dist/web/assets/Production-D_-UKwAW.js +0 -1
- package/dist/web/assets/Quality-AK4ooDrk.js +0 -1
- package/dist/web/assets/Readiness-oW5ApJNH.js +0 -1
- package/dist/web/assets/Record-DB3vbV-C.js +0 -1
- package/dist/web/assets/Regression-DuYa0h-o.js +0 -5
- package/dist/web/assets/RelationGraph-CrEnF6ZB.js +0 -1
- package/dist/web/assets/Reports-1mP0MxVQ.js +0 -2
- package/dist/web/assets/Responsive-CnoYMfsl.js +0 -3
- package/dist/web/assets/RunDiff-Wro2Olyz.js +0 -1
- package/dist/web/assets/Settings-DBCDjRxF.js +0 -21
- package/dist/web/assets/SiteScan-BkdOUe_S.js +0 -5
- package/dist/web/assets/Steps-ndafqk8T.js +0 -2
- package/dist/web/assets/TestManagement-Dohg2yyF.js +0 -4
- package/dist/web/assets/WhatsNew-Bcv9S0Tj.js +0 -1
- package/dist/web/assets/api-B8AQ8-Gb.js +0 -1
- package/dist/web/assets/desktopAppPath-Mg0cuo3X.js +0 -1
- package/dist/web/assets/frame-wloj3-xC.js +0 -139
- package/dist/web/assets/index-BCu9qAny.js +0 -47
- package/dist/web/assets/index-BEY6ZWQm.css +0 -2
- package/dist/web/assets/palette-DOQemIAv.js +0 -1
- package/dist/web/assets/parts-BNAiSyF0.js +0 -1
- package/dist/web/assets/qualityParts-diTrGtUR.js +0 -3
- package/dist/web/assets/sectionList-BPBmSZXk.js +0 -1
- package/dist/web/assets/wizardParts-OhFd_xL2.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{A as n,C as r,D as i,E as a,H as o,M as s,N as c,O as l,S as u,T as d,V as f,_ as p,b as m,d as h,f as g,g as _,j as v,k as y,m as b,t as x,v as S,w as C,x as w,y as T,z as E}from"./preload-helper-BupTYkQW.js";import{t as D}from"./utils-DJRAScIl.js";import{t as O}from"./jsx-runtime-LKYXHABd.js";import{A as k,C as A,D as j,E as M,P as N,S as P,T as F,_ as ee,i as te,m as ne,s as re,w as ie}from"./sectionList-BPBmSZXk.js";import{dt as ae}from"./api-B8AQ8-Gb.js";import{qr as oe}from"./line-icons-Cwj9OmCz.js";var I=e(t(),1),L=O(),se=()=>typeof CSS<`u`&&typeof CSS.supports==`function`&&CSS.supports(`position-area: block-end`),ce=8;function le(e,t,n,r){let i=n-e.bottom-16,a=e.top-16;return(r===`up`?a>=t||a>=i:!(i>=t||i>=a))?{bottom:n-e.top+ce,maxHeight:Math.max(a,0)}:{top:e.bottom+ce,maxHeight:Math.max(i,0)}}var ue=`rounded-md border border-overlay-line bg-overlay p-2 text-ink shadow-menu backdrop-blur-[16px]`;function de({open:e,onClose:t,children:n,className:r,label:i,role:a=`menu`,side:o=`auto`,align:s=`start`,anchor:c}){let l=(0,I.useRef)(null),u=`--menu-${(0,I.useId)().replace(/[^\w-]/g,``)}`,d=f(e,150),p=()=>c??l.current?.parentElement??null;return(0,I.useLayoutEffect)(()=>{let e=l.current,t=c??e?.parentElement;if(!d||!e||!t)return;if(t.style.setProperty(`anchor-name`,u),e.style.setProperty(`position-anchor`,u),e.matches(`:popover-open`)||e.showPopover(),se())return()=>t.style.removeProperty(`anchor-name`);let n=()=>{let n=t.getBoundingClientRect(),r=Number.parseFloat(getComputedStyle(document.documentElement).getPropertyValue(`--ui-zoom`))||1;e.style.maxHeight=``;let i=le(n,e.scrollHeight,window.innerHeight,o);e.style.top=i.top===void 0?`auto`:`${i.top/r}px`,e.style.bottom=i.bottom===void 0?`auto`:`${i.bottom/r}px`,e.style.maxHeight=`${i.maxHeight/r}px`,s===`stretch`&&(e.style.width=`${n.width/r}px`),s===`end`?(e.style.left=`auto`,e.style.right=`${(window.innerWidth-n.right)/r}px`):(e.style.right=`auto`,e.style.left=`${Math.max(ce,Math.min(n.left,window.innerWidth-ce-e.offsetWidth*r))/r}px`)};return n(),window.addEventListener(`scroll`,n,!0),window.addEventListener(`resize`,n),()=>{window.removeEventListener(`scroll`,n,!0),window.removeEventListener(`resize`,n),t.style.removeProperty(`anchor-name`)}},[d,c,u,o,s]),(0,I.useEffect)(()=>{if(!e)return;let n=e=>{let n=e.target;l.current&&!l.current.contains(n)&&!p()?.contains(n)&&t()},r=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),t())};return document.addEventListener(`mousedown`,n),document.addEventListener(`keydown`,r,{capture:!0}),()=>{document.removeEventListener(`mousedown`,n),document.removeEventListener(`keydown`,r,{capture:!0})}},[e,t]),d?(0,L.jsx)(`div`,{ref:l,popover:`manual`,role:a,"aria-label":i,inert:!e||void 0,"data-side":o,"data-align":s,className:D(e?`fade-in`:`menu-out`,`menu-pop min-w-[260px] overflow-y-auto`,ue,r),children:n}):null}function fe({checked:e,onSelect:t,role:n,children:r}){return(0,L.jsxs)(`button`,{type:`button`,role:n,"aria-checked":e,onClick:t,className:D(o,`gap-2 aria-checked:bg-transparent`),children:[r,(0,L.jsx)(`span`,{"aria-hidden":`true`,className:`w-[18px] text-accent-fg`,children:e?`✓`:``})]})}function pe({onClick:e,children:t}){return(0,L.jsx)(`button`,{type:`button`,role:`menuitem`,onClick:e,className:o,children:t})}var me=`ph:acorn.ph:activity.ph:address-book.ph:address-book-tabs.ph:air-traffic-control.ph:airplane.ph:airplane-in-flight.ph:airplane-landing.ph:airplane-takeoff.ph:airplane-taxiing.ph:airplane-tilt.ph:airplay.ph:alarm.ph:alien.ph:align-bottom.ph:align-bottom-simple.ph:align-center-horizontal.ph:align-center-horizontal-simple.ph:align-center-vertical.ph:align-center-vertical-simple.ph:align-left.ph:align-left-simple.ph:align-right.ph:align-right-simple.ph:align-top.ph:align-top-simple.ph:amazon-logo.ph:ambulance.ph:anchor.ph:anchor-simple.ph:android-logo.ph:angle.ph:angular-logo.ph:aperture.ph:app-store-logo.ph:app-window.ph:apple-logo.ph:apple-podcasts-logo.ph:approximate-equals.ph:archive.ph:armchair.ph:arrow-arc-left.ph:arrow-arc-right.ph:arrow-bend-double-up-left.ph:arrow-bend-double-up-right.ph:arrow-bend-down-left.ph:arrow-bend-down-right.ph:arrow-bend-left-down.ph:arrow-bend-left-up.ph:arrow-bend-right-down.ph:arrow-bend-right-up.ph:arrow-bend-up-left.ph:arrow-bend-up-right.ph:arrow-circle-down.ph:arrow-circle-down-left.ph:arrow-circle-down-right.ph:arrow-circle-left.ph:arrow-circle-right.ph:arrow-circle-up.ph:arrow-circle-up-left.ph:arrow-circle-up-right.ph:arrow-clockwise.ph:arrow-counter-clockwise.ph:arrow-down.ph:arrow-down-left.ph:arrow-down-right.ph:arrow-elbow-down-left.ph:arrow-elbow-down-right.ph:arrow-elbow-left.ph:arrow-elbow-left-down.ph:arrow-elbow-left-up.ph:arrow-elbow-right.ph:arrow-elbow-right-down.ph:arrow-elbow-right-up.ph:arrow-elbow-up-left.ph:arrow-elbow-up-right.ph:arrow-fat-down.ph:arrow-fat-left.ph:arrow-fat-line-down.ph:arrow-fat-line-left.ph:arrow-fat-line-right.ph:arrow-fat-line-up.ph:arrow-fat-lines-down.ph:arrow-fat-lines-left.ph:arrow-fat-lines-right.ph:arrow-fat-lines-up.ph:arrow-fat-right.ph:arrow-fat-up.ph:arrow-left.ph:arrow-line-down.ph:arrow-line-down-left.ph:arrow-line-down-right.ph:arrow-line-left.ph:arrow-line-right.ph:arrow-line-up.ph:arrow-line-up-left.ph:arrow-line-up-right.ph:arrow-right.ph:arrow-square-down.ph:arrow-square-down-left.ph:arrow-square-down-right.ph:arrow-square-in.ph:arrow-square-left.ph:arrow-square-out.ph:arrow-square-right.ph:arrow-square-up.ph:arrow-square-up-left.ph:arrow-square-up-right.ph:arrow-u-down-left.ph:arrow-u-down-right.ph:arrow-u-left-down.ph:arrow-u-left-up.ph:arrow-u-right-down.ph:arrow-u-right-up.ph:arrow-u-up-left.ph:arrow-u-up-right.ph:arrow-up.ph:arrow-up-left.ph:arrow-up-right.ph:arrows-clockwise.ph:arrows-counter-clockwise.ph:arrows-down-up.ph:arrows-horizontal.ph:arrows-in.ph:arrows-in-cardinal.ph:arrows-in-line-horizontal.ph:arrows-in-line-vertical.ph:arrows-in-simple.ph:arrows-left-right.ph:arrows-merge.ph:arrows-out.ph:arrows-out-cardinal.ph:arrows-out-line-horizontal.ph:arrows-out-line-vertical.ph:arrows-out-simple.ph:arrows-split.ph:arrows-vertical.ph:article.ph:article-medium.ph:article-ny-times.ph:asclepius.ph:asterisk.ph:asterisk-simple.ph:at.ph:atom.ph:avocado.ph:axe.ph:baby.ph:baby-carriage.ph:backpack.ph:backspace.ph:bag.ph:bag-simple.ph:balloon.ph:bandaids.ph:bank.ph:barbell.ph:barcode.ph:barn.ph:barricade.ph:baseball.ph:baseball-cap.ph:baseball-helmet.ph:basket.ph:basketball.ph:bathtub.ph:battery-charging.ph:battery-charging-vertical.ph:battery-empty.ph:battery-full.ph:battery-high.ph:battery-low.ph:battery-medium.ph:battery-plus.ph:battery-plus-vertical.ph:battery-vertical-empty.ph:battery-vertical-full.ph:battery-vertical-high.ph:battery-vertical-low.ph:battery-vertical-medium.ph:battery-warning.ph:battery-warning-vertical.ph:beach-ball.ph:beanie.ph:bed.ph:beer-bottle.ph:beer-stein.ph:behance-logo.ph:bell.ph:bell-ringing.ph:bell-simple.ph:bell-simple-ringing.ph:bell-simple-slash.ph:bell-simple-z.ph:bell-slash.ph:bell-z.ph:belt.ph:bezier-curve.ph:bicycle.ph:binary.ph:binoculars.ph:biohazard.ph:bird.ph:blueprint.ph:bluetooth.ph:bluetooth-connected.ph:bluetooth-slash.ph:bluetooth-x.ph:boat.ph:bomb.ph:bone.ph:book.ph:book-bookmark.ph:book-open.ph:book-open-text.ph:book-open-user.ph:bookmark.ph:bookmark-simple.ph:bookmarks.ph:bookmarks-simple.ph:books.ph:boot.ph:boules.ph:bounding-box.ph:bowl-food.ph:bowl-steam.ph:bowling-ball.ph:box-arrow-down.ph:box-arrow-up.ph:boxing-glove.ph:brackets-angle.ph:brackets-curly.ph:brackets-round.ph:brackets-square.ph:brain.ph:brandy.ph:bread.ph:bridge.ph:briefcase.ph:briefcase-metal.ph:briefcase-simple.ph:broadcast.ph:broom.ph:browser.ph:browsers.ph:bug.ph:bug-beetle.ph:bug-droid.ph:building.ph:building-apartment.ph:building-office.ph:buildings.ph:bulldozer.ph:bus.ph:butterfly.ph:cable-car.ph:cactus.ph:cake.ph:calculator.ph:calendar.ph:calendar-blank.ph:calendar-check.ph:calendar-dot.ph:calendar-dots.ph:calendar-heart.ph:calendar-minus.ph:calendar-plus.ph:calendar-slash.ph:calendar-star.ph:calendar-x.ph:call-bell.ph:camera.ph:camera-plus.ph:camera-rotate.ph:camera-slash.ph:campfire.ph:car.ph:car-battery.ph:car-profile.ph:car-simple.ph:cardholder.ph:cards.ph:cards-three.ph:caret-circle-double-down.ph:caret-circle-double-left.ph:caret-circle-double-right.ph:caret-circle-double-up.ph:caret-circle-down.ph:caret-circle-left.ph:caret-circle-right.ph:caret-circle-up.ph:caret-circle-up-down.ph:caret-double-down.ph:caret-double-left.ph:caret-double-right.ph:caret-double-up.ph:caret-down.ph:caret-left.ph:caret-line-down.ph:caret-line-left.ph:caret-line-right.ph:caret-line-up.ph:caret-right.ph:caret-up.ph:caret-up-down.ph:carrot.ph:cash-register.ph:cassette-tape.ph:castle-turret.ph:cat.ph:cell-signal-full.ph:cell-signal-high.ph:cell-signal-low.ph:cell-signal-medium.ph:cell-signal-none.ph:cell-signal-slash.ph:cell-signal-x.ph:cell-tower.ph:certificate.ph:chair.ph:chalkboard.ph:chalkboard-simple.ph:chalkboard-teacher.ph:champagne.ph:charging-station.ph:chart-bar.ph:chart-bar-horizontal.ph:chart-donut.ph:chart-line.ph:chart-line-down.ph:chart-line-up.ph:chart-pie.ph:chart-pie-slice.ph:chart-polar.ph:chart-scatter.ph:chat.ph:chat-centered.ph:chat-centered-dots.ph:chat-centered-slash.ph:chat-centered-text.ph:chat-circle.ph:chat-circle-dots.ph:chat-circle-slash.ph:chat-circle-text.ph:chat-dots.ph:chat-slash.ph:chat-teardrop.ph:chat-teardrop-dots.ph:chat-teardrop-slash.ph:chat-teardrop-text.ph:chat-text.ph:chats.ph:chats-circle.ph:chats-teardrop.ph:check.ph:check-circle.ph:check-fat.ph:check-square.ph:check-square-offset.ph:checkerboard.ph:checks.ph:cheers.ph:cheese.ph:chef-hat.ph:cherries.ph:church.ph:cigarette.ph:cigarette-slash.ph:circle.ph:circle-dashed.ph:circle-half.ph:circle-half-tilt.ph:circle-notch.ph:circle-wavy.ph:circle-wavy-check.ph:circle-wavy-question.ph:circle-wavy-warning.ph:circles-four.ph:circles-three.ph:circles-three-plus.ph:circuitry.ph:city.ph:clipboard.ph:clipboard-text.ph:clock.ph:clock-afternoon.ph:clock-clockwise.ph:clock-countdown.ph:clock-counter-clockwise.ph:clock-user.ph:closed-captioning.ph:cloud.ph:cloud-arrow-down.ph:cloud-arrow-up.ph:cloud-check.ph:cloud-fog.ph:cloud-lightning.ph:cloud-moon.ph:cloud-rain.ph:cloud-slash.ph:cloud-snow.ph:cloud-sun.ph:cloud-warning.ph:cloud-x.ph:clover.ph:club.ph:coat-hanger.ph:coda-logo.ph:code.ph:code-block.ph:code-simple.ph:codepen-logo.ph:codesandbox-logo.ph:coffee.ph:coffee-bean.ph:coin.ph:coin-vertical.ph:coins.ph:columns.ph:columns-plus-left.ph:columns-plus-right.ph:command.ph:compass.ph:compass-rose.ph:compass-tool.ph:computer-tower.ph:confetti.ph:contactless-payment.ph:control.ph:cookie.ph:cooking-pot.ph:copy.ph:copy-simple.ph:copyleft.ph:copyright.ph:corners-in.ph:corners-out.ph:couch.ph:court-basketball.ph:cow.ph:cowboy-hat.ph:cpu.ph:crane.ph:crane-tower.ph:credit-card.ph:cricket.ph:crop.ph:cross.ph:crosshair.ph:crosshair-simple.ph:crown.ph:crown-cross.ph:crown-simple.ph:cube.ph:cube-focus.ph:cube-transparent.ph:currency-btc.ph:currency-circle-dollar.ph:currency-cny.ph:currency-dollar.ph:currency-dollar-simple.ph:currency-eth.ph:currency-eur.ph:currency-gbp.ph:currency-inr.ph:currency-jpy.ph:currency-krw.ph:currency-kzt.ph:currency-ngn.ph:currency-rub.ph:cursor.ph:cursor-click.ph:cursor-text.ph:cylinder.ph:database.ph:desk.ph:desktop.ph:desktop-tower.ph:detective.ph:dev-to-logo.ph:device-mobile.ph:device-mobile-camera.ph:device-mobile-slash.ph:device-mobile-speaker.ph:device-rotate.ph:device-tablet.ph:device-tablet-camera.ph:device-tablet-speaker.ph:devices.ph:diamond.ph:diamonds-four.ph:dice-five.ph:dice-four.ph:dice-one.ph:dice-six.ph:dice-three.ph:dice-two.ph:disc.ph:disco-ball.ph:discord-logo.ph:divide.ph:dna.ph:dog.ph:door.ph:door-open.ph:dot.ph:dot-outline.ph:dots-nine.ph:dots-six.ph:dots-six-vertical.ph:dots-three.ph:dots-three-circle.ph:dots-three-circle-vertical.ph:dots-three-outline.ph:dots-three-outline-vertical.ph:dots-three-vertical.ph:download.ph:download-simple.ph:dress.ph:dresser.ph:dribbble-logo.ph:drone.ph:drop.ph:drop-half.ph:drop-half-bottom.ph:drop-simple.ph:drop-slash.ph:dropbox-logo.ph:ear.ph:ear-slash.ph:egg.ph:egg-crack.ph:eject.ph:eject-simple.ph:elevator.ph:empty.ph:engine.ph:envelope.ph:envelope-open.ph:envelope-simple.ph:envelope-simple-open.ph:equalizer.ph:equals.ph:eraser.ph:escalator-down.ph:escalator-up.ph:exam.ph:exclamation-mark.ph:exclude.ph:exclude-square.ph:export.ph:eye.ph:eye-closed.ph:eye-slash.ph:eyedropper.ph:eyedropper-sample.ph:eyeglasses.ph:eyes.ph:face-mask.ph:facebook-logo.ph:factory.ph:faders.ph:faders-horizontal.ph:fallout-shelter.ph:fan.ph:farm.ph:fast-forward.ph:fast-forward-circle.ph:feather.ph:fediverse-logo.ph:figma-logo.ph:file.ph:file-archive.ph:file-arrow-down.ph:file-arrow-up.ph:file-audio.ph:file-c.ph:file-c-sharp.ph:file-cloud.ph:file-code.ph:file-cpp.ph:file-css.ph:file-csv.ph:file-dashed.ph:file-doc.ph:file-dotted.ph:file-html.ph:file-image.ph:file-ini.ph:file-jpg.ph:file-js.ph:file-jsx.ph:file-lock.ph:file-magnifying-glass.ph:file-md.ph:file-minus.ph:file-pdf.ph:file-plus.ph:file-png.ph:file-ppt.ph:file-py.ph:file-rs.ph:file-search.ph:file-sql.ph:file-svg.ph:file-text.ph:file-ts.ph:file-tsx.ph:file-txt.ph:file-video.ph:file-vue.ph:file-x.ph:file-xls.ph:file-zip.ph:files.ph:film-reel.ph:film-script.ph:film-slate.ph:film-strip.ph:fingerprint.ph:fingerprint-simple.ph:finn-the-human.ph:fire.ph:fire-extinguisher.ph:fire-simple.ph:fire-truck.ph:first-aid.ph:first-aid-kit.ph:fish.ph:fish-simple.ph:flag.ph:flag-banner.ph:flag-banner-fold.ph:flag-checkered.ph:flag-pennant.ph:flame.ph:flashlight.ph:flask.ph:flip-horizontal.ph:flip-vertical.ph:floppy-disk.ph:floppy-disk-back.ph:flow-arrow.ph:flower.ph:flower-lotus.ph:flower-tulip.ph:flying-saucer.ph:folder.ph:folder-dashed.ph:folder-dotted.ph:folder-lock.ph:folder-minus.ph:folder-notch.ph:folder-notch-minus.ph:folder-notch-open.ph:folder-notch-plus.ph:folder-open.ph:folder-plus.ph:folder-simple.ph:folder-simple-dashed.ph:folder-simple-dotted.ph:folder-simple-lock.ph:folder-simple-minus.ph:folder-simple-plus.ph:folder-simple-star.ph:folder-simple-user.ph:folder-star.ph:folder-user.ph:folders.ph:football.ph:football-helmet.ph:footprints.ph:fork-knife.ph:four-k.ph:frame-corners.ph:framer-logo.ph:function.ph:funnel.ph:funnel-simple.ph:funnel-simple-x.ph:funnel-x.ph:game-controller.ph:garage.ph:gas-can.ph:gas-pump.ph:gauge.ph:gavel.ph:gear.ph:gear-fine.ph:gear-six.ph:gender-female.ph:gender-intersex.ph:gender-male.ph:gender-neuter.ph:gender-nonbinary.ph:gender-transgender.ph:ghost.ph:gif.ph:gift.ph:git-branch.ph:git-commit.ph:git-diff.ph:git-fork.ph:git-merge.ph:git-pull-request.ph:github-logo.ph:gitlab-logo.ph:gitlab-logo-simple.ph:globe.ph:globe-hemisphere-east.ph:globe-hemisphere-west.ph:globe-simple.ph:globe-simple-x.ph:globe-stand.ph:globe-x.ph:goggles.ph:golf.ph:goodreads-logo.ph:google-cardboard-logo.ph:google-chrome-logo.ph:google-drive-logo.ph:google-logo.ph:google-photos-logo.ph:google-play-logo.ph:google-podcasts-logo.ph:gps.ph:gps-fix.ph:gps-slash.ph:gradient.ph:graduation-cap.ph:grains.ph:grains-slash.ph:graph.ph:graphics-card.ph:greater-than.ph:greater-than-or-equal.ph:grid-four.ph:grid-nine.ph:guitar.ph:hair-dryer.ph:hamburger.ph:hammer.ph:hand.ph:hand-arrow-down.ph:hand-arrow-up.ph:hand-coins.ph:hand-deposit.ph:hand-eye.ph:hand-fist.ph:hand-grabbing.ph:hand-heart.ph:hand-palm.ph:hand-peace.ph:hand-pointing.ph:hand-soap.ph:hand-swipe-left.ph:hand-swipe-right.ph:hand-tap.ph:hand-waving.ph:hand-withdraw.ph:handbag.ph:handbag-simple.ph:hands-clapping.ph:hands-praying.ph:handshake.ph:hard-drive.ph:hard-drives.ph:hard-hat.ph:hash.ph:hash-straight.ph:head-circuit.ph:headlights.ph:headphones.ph:headset.ph:heart.ph:heart-break.ph:heart-half.ph:heart-straight.ph:heart-straight-break.ph:heartbeat.ph:hexagon.ph:high-definition.ph:high-heel.ph:highlighter.ph:highlighter-circle.ph:hockey.ph:hoodie.ph:horse.ph:hospital.ph:hourglass.ph:hourglass-high.ph:hourglass-low.ph:hourglass-medium.ph:hourglass-simple.ph:hourglass-simple-high.ph:hourglass-simple-low.ph:hourglass-simple-medium.ph:house.ph:house-line.ph:house-simple.ph:hurricane.ph:ice-cream.ph:identification-badge.ph:identification-card.ph:image.ph:image-broken.ph:image-square.ph:images.ph:images-square.ph:infinity.ph:info.ph:instagram-logo.ph:intersect.ph:intersect-square.ph:intersect-three.ph:intersection.ph:invoice.ph:island.ph:jar.ph:jar-label.ph:jeep.ph:joystick.ph:kanban.ph:key.ph:key-return.ph:keyboard.ph:keyhole.ph:knife.ph:ladder.ph:ladder-simple.ph:lamp.ph:lamp-pendant.ph:laptop.ph:lasso.ph:lastfm-logo.ph:layout.ph:leaf.ph:lectern.ph:lego.ph:lego-smiley.ph:less-than.ph:less-than-or-equal.ph:letter-circle-h.ph:letter-circle-p.ph:letter-circle-v.ph:lifebuoy.ph:lightbulb.ph:lightbulb-filament.ph:lighthouse.ph:lightning.ph:lightning-a.ph:lightning-slash.ph:line-segment.ph:line-segments.ph:line-vertical.ph:link.ph:link-break.ph:link-simple.ph:link-simple-break.ph:link-simple-horizontal.ph:link-simple-horizontal-break.ph:linkedin-logo.ph:linktree-logo.ph:linux-logo.ph:list.ph:list-bullets.ph:list-checks.ph:list-dashes.ph:list-heart.ph:list-magnifying-glass.ph:list-numbers.ph:list-plus.ph:list-star.ph:lock.ph:lock-key.ph:lock-key-open.ph:lock-laminated.ph:lock-laminated-open.ph:lock-open.ph:lock-simple.ph:lock-simple-open.ph:lockers.ph:log.ph:magic-wand.ph:magnet.ph:magnet-straight.ph:magnifying-glass.ph:magnifying-glass-minus.ph:magnifying-glass-plus.ph:mailbox.ph:map-pin.ph:map-pin-area.ph:map-pin-line.ph:map-pin-plus.ph:map-pin-simple.ph:map-pin-simple-area.ph:map-pin-simple-line.ph:map-trifold.ph:markdown-logo.ph:marker-circle.ph:martini.ph:mask-happy.ph:mask-sad.ph:mastodon-logo.ph:math-operations.ph:matrix-logo.ph:medal.ph:medal-military.ph:medium-logo.ph:megaphone.ph:megaphone-simple.ph:member-of.ph:memory.ph:messenger-logo.ph:meta-logo.ph:meteor.ph:metronome.ph:microphone.ph:microphone-slash.ph:microphone-stage.ph:microscope.ph:microsoft-excel-logo.ph:microsoft-outlook-logo.ph:microsoft-powerpoint-logo.ph:microsoft-teams-logo.ph:microsoft-word-logo.ph:minus.ph:minus-circle.ph:minus-square.ph:money.ph:money-wavy.ph:monitor.ph:monitor-arrow-up.ph:monitor-play.ph:moon.ph:moon-stars.ph:moped.ph:moped-front.ph:mosque.ph:motorcycle.ph:mountains.ph:mouse.ph:mouse-left-click.ph:mouse-middle-click.ph:mouse-right-click.ph:mouse-scroll.ph:mouse-simple.ph:music-note.ph:music-note-simple.ph:music-notes.ph:music-notes-minus.ph:music-notes-plus.ph:music-notes-simple.ph:navigation-arrow.ph:needle.ph:network.ph:network-slash.ph:network-x.ph:newspaper.ph:newspaper-clipping.ph:not-equals.ph:not-member-of.ph:not-subset-of.ph:not-superset-of.ph:notches.ph:note.ph:note-blank.ph:note-pencil.ph:notebook.ph:notepad.ph:notification.ph:notion-logo.ph:nuclear-plant.ph:number-circle-eight.ph:number-circle-five.ph:number-circle-four.ph:number-circle-nine.ph:number-circle-one.ph:number-circle-seven.ph:number-circle-six.ph:number-circle-three.ph:number-circle-two.ph:number-circle-zero.ph:number-eight.ph:number-five.ph:number-four.ph:number-nine.ph:number-one.ph:number-seven.ph:number-six.ph:number-square-eight.ph:number-square-five.ph:number-square-four.ph:number-square-nine.ph:number-square-one.ph:number-square-seven.ph:number-square-six.ph:number-square-three.ph:number-square-two.ph:number-square-zero.ph:number-three.ph:number-two.ph:number-zero.ph:numpad.ph:nut.ph:ny-times-logo.ph:octagon.ph:office-chair.ph:onigiri.ph:open-ai-logo.ph:option.ph:orange.ph:orange-slice.ph:oven.ph:package.ph:paint-brush.ph:paint-brush-broad.ph:paint-brush-household.ph:paint-bucket.ph:paint-roller.ph:palette.ph:panorama.ph:pants.ph:paper-plane.ph:paper-plane-right.ph:paper-plane-tilt.ph:paperclip.ph:paperclip-horizontal.ph:parachute.ph:paragraph.ph:parallelogram.ph:park.ph:password.ph:path.ph:patreon-logo.ph:pause.ph:pause-circle.ph:paw-print.ph:paypal-logo.ph:peace.ph:pen.ph:pen-nib.ph:pen-nib-straight.ph:pencil.ph:pencil-circle.ph:pencil-line.ph:pencil-ruler.ph:pencil-simple.ph:pencil-simple-line.ph:pencil-simple-slash.ph:pencil-slash.ph:pentagon.ph:pentagram.ph:pepper.ph:percent.ph:person.ph:person-arms-spread.ph:person-simple.ph:person-simple-bike.ph:person-simple-circle.ph:person-simple-hike.ph:person-simple-run.ph:person-simple-ski.ph:person-simple-snowboard.ph:person-simple-swim.ph:person-simple-tai-chi.ph:person-simple-throw.ph:person-simple-walk.ph:perspective.ph:phone.ph:phone-call.ph:phone-disconnect.ph:phone-incoming.ph:phone-list.ph:phone-outgoing.ph:phone-pause.ph:phone-plus.ph:phone-slash.ph:phone-transfer.ph:phone-x.ph:phosphor-logo.ph:pi.ph:piano-keys.ph:picnic-table.ph:picture-in-picture.ph:piggy-bank.ph:pill.ph:ping-pong.ph:pint-glass.ph:pinterest-logo.ph:pinwheel.ph:pipe.ph:pipe-wrench.ph:pix-logo.ph:pizza.ph:placeholder.ph:planet.ph:plant.ph:play.ph:play-circle.ph:play-pause.ph:playlist.ph:plug.ph:plug-charging.ph:plugs.ph:plugs-connected.ph:plus.ph:plus-circle.ph:plus-minus.ph:plus-square.ph:poker-chip.ph:police-car.ph:polygon.ph:popcorn.ph:popsicle.ph:potted-plant.ph:power.ph:prescription.ph:presentation.ph:presentation-chart.ph:printer.ph:prohibit.ph:prohibit-inset.ph:projector-screen.ph:projector-screen-chart.ph:pulse.ph:push-pin.ph:push-pin-simple.ph:push-pin-simple-slash.ph:push-pin-slash.ph:puzzle-piece.ph:qr-code.ph:question.ph:question-mark.ph:queue.ph:quotes.ph:rabbit.ph:racquet.ph:radical.ph:radio.ph:radio-button.ph:radioactive.ph:rainbow.ph:rainbow-cloud.ph:ranking.ph:read-cv-logo.ph:receipt.ph:receipt-x.ph:record.ph:rectangle.ph:rectangle-dashed.ph:recycle.ph:reddit-logo.ph:repeat.ph:repeat-once.ph:replit-logo.ph:resize.ph:rewind.ph:rewind-circle.ph:road-horizon.ph:robot.ph:rocket.ph:rocket-launch.ph:rows.ph:rows-plus-bottom.ph:rows-plus-top.ph:rss.ph:rss-simple.ph:rug.ph:ruler.ph:sailboat.ph:scales.ph:scan.ph:scan-smiley.ph:scissors.ph:scooter.ph:screencast.ph:screwdriver.ph:scribble.ph:scribble-loop.ph:scroll.ph:seal.ph:seal-check.ph:seal-percent.ph:seal-question.ph:seal-warning.ph:seat.ph:seatbelt.ph:security-camera.ph:selection.ph:selection-all.ph:selection-background.ph:selection-foreground.ph:selection-inverse.ph:selection-plus.ph:selection-slash.ph:shapes.ph:share.ph:share-fat.ph:share-network.ph:shield.ph:shield-check.ph:shield-checkered.ph:shield-chevron.ph:shield-plus.ph:shield-slash.ph:shield-star.ph:shield-warning.ph:shipping-container.ph:shirt-folded.ph:shooting-star.ph:shopping-bag.ph:shopping-bag-open.ph:shopping-cart.ph:shopping-cart-simple.ph:shovel.ph:shower.ph:shrimp.ph:shuffle.ph:shuffle-angular.ph:shuffle-simple.ph:sidebar.ph:sidebar-simple.ph:sigma.ph:sign-in.ph:sign-out.ph:signature.ph:signpost.ph:sim-card.ph:siren.ph:sketch-logo.ph:skip-back.ph:skip-back-circle.ph:skip-forward.ph:skip-forward-circle.ph:skull.ph:skype-logo.ph:slack-logo.ph:sliders.ph:sliders-horizontal.ph:slideshow.ph:smiley.ph:smiley-angry.ph:smiley-blank.ph:smiley-meh.ph:smiley-melting.ph:smiley-nervous.ph:smiley-sad.ph:smiley-sticker.ph:smiley-wink.ph:smiley-x-eyes.ph:snapchat-logo.ph:sneaker.ph:sneaker-move.ph:snowflake.ph:soccer-ball.ph:sock.ph:solar-panel.ph:solar-roof.ph:sort-ascending.ph:sort-descending.ph:soundcloud-logo.ph:spade.ph:sparkle.ph:speaker-hifi.ph:speaker-high.ph:speaker-low.ph:speaker-none.ph:speaker-simple-high.ph:speaker-simple-low.ph:speaker-simple-none.ph:speaker-simple-slash.ph:speaker-simple-x.ph:speaker-slash.ph:speaker-x.ph:speedometer.ph:sphere.ph:spinner.ph:spinner-ball.ph:spinner-gap.ph:spiral.ph:split-horizontal.ph:split-vertical.ph:spotify-logo.ph:spray-bottle.ph:square.ph:square-half.ph:square-half-bottom.ph:square-logo.ph:square-split-horizontal.ph:square-split-vertical.ph:squares-four.ph:stack.ph:stack-minus.ph:stack-overflow-logo.ph:stack-plus.ph:stack-simple.ph:stairs.ph:stamp.ph:standard-definition.ph:star.ph:star-and-crescent.ph:star-four.ph:star-half.ph:star-of-david.ph:steam-logo.ph:steering-wheel.ph:steps.ph:stethoscope.ph:sticker.ph:stool.ph:stop.ph:stop-circle.ph:storefront.ph:strategy.ph:stripe-logo.ph:student.ph:subset-of.ph:subset-proper-of.ph:subtitles.ph:subtitles-slash.ph:subtract.ph:subtract-square.ph:subway.ph:suitcase.ph:suitcase-rolling.ph:suitcase-simple.ph:sun.ph:sun-dim.ph:sun-horizon.ph:sunglasses.ph:superset-of.ph:superset-proper-of.ph:swap.ph:swatches.ph:swimming-pool.ph:sword.ph:synagogue.ph:syringe.ph:t-shirt.ph:table.ph:tabs.ph:tag.ph:tag-chevron.ph:tag-simple.ph:target.ph:taxi.ph:tea-bag.ph:telegram-logo.ph:television.ph:television-simple.ph:tennis-ball.ph:tent.ph:terminal.ph:terminal-window.ph:test-tube.ph:text-a-underline.ph:text-aa.ph:text-align-center.ph:text-align-justify.ph:text-align-left.ph:text-align-right.ph:text-b.ph:text-bolder.ph:text-columns.ph:text-h.ph:text-h-five.ph:text-h-four.ph:text-h-one.ph:text-h-six.ph:text-h-three.ph:text-h-two.ph:text-indent.ph:text-italic.ph:text-outdent.ph:text-strikethrough.ph:text-subscript.ph:text-superscript.ph:text-t.ph:text-t-slash.ph:text-underline.ph:textbox.ph:thermometer.ph:thermometer-cold.ph:thermometer-hot.ph:thermometer-simple.ph:threads-logo.ph:three-d.ph:thumbs-down.ph:thumbs-up.ph:ticket.ph:tidal-logo.ph:tiktok-logo.ph:tilde.ph:timer.ph:tip-jar.ph:tipi.ph:tire.ph:toggle-left.ph:toggle-right.ph:toilet.ph:toilet-paper.ph:toolbox.ph:tooth.ph:tornado.ph:tote.ph:tote-simple.ph:towel.ph:tractor.ph:trademark.ph:trademark-registered.ph:traffic-cone.ph:traffic-sign.ph:traffic-signal.ph:train.ph:train-regional.ph:train-simple.ph:tram.ph:translate.ph:trash.ph:trash-simple.ph:tray.ph:tray-arrow-down.ph:tray-arrow-up.ph:treasure-chest.ph:tree.ph:tree-evergreen.ph:tree-palm.ph:tree-structure.ph:tree-view.ph:trend-down.ph:trend-up.ph:triangle.ph:triangle-dashed.ph:trolley.ph:trolley-suitcase.ph:trophy.ph:truck.ph:truck-trailer.ph:tumblr-logo.ph:twitch-logo.ph:twitter-logo.ph:umbrella.ph:umbrella-simple.ph:union.ph:unite.ph:unite-square.ph:upload.ph:upload-simple.ph:usb.ph:user.ph:user-check.ph:user-circle.ph:user-circle-check.ph:user-circle-dashed.ph:user-circle-gear.ph:user-circle-minus.ph:user-circle-plus.ph:user-focus.ph:user-gear.ph:user-list.ph:user-minus.ph:user-plus.ph:user-rectangle.ph:user-sound.ph:user-square.ph:user-switch.ph:users.ph:users-four.ph:users-three.ph:van.ph:vault.ph:vector-three.ph:vector-two.ph:vibrate.ph:video.ph:video-camera.ph:video-camera-slash.ph:video-conference.ph:vignette.ph:vinyl-record.ph:virtual-reality.ph:virus.ph:visor.ph:voicemail.ph:volleyball.ph:wall.ph:wallet.ph:warehouse.ph:warning.ph:warning-circle.ph:warning-diamond.ph:warning-octagon.ph:washing-machine.ph:watch.ph:wave-sawtooth.ph:wave-sine.ph:wave-square.ph:wave-triangle.ph:waveform.ph:waveform-slash.ph:waves.ph:webcam.ph:webcam-slash.ph:webhooks-logo.ph:wechat-logo.ph:whatsapp-logo.ph:wheelchair.ph:wheelchair-motion.ph:wifi-high.ph:wifi-low.ph:wifi-medium.ph:wifi-none.ph:wifi-slash.ph:wifi-x.ph:wind.ph:windmill.ph:windows-logo.ph:wine.ph:wrench.ph:x.ph:x-circle.ph:x-logo.ph:x-square.ph:yarn.ph:yin-yang.ph:youtube-logo.lucide:a-arrow-down.lucide:a-arrow-up.lucide:a-large-small.lucide:accessibility.lucide:activity.lucide:ad.lucide:air-vent.lucide:airplay.lucide:alarm-clock.lucide:alarm-clock-check.lucide:alarm-clock-minus.lucide:alarm-clock-off.lucide:alarm-clock-plus.lucide:alarm-smoke.lucide:album.lucide:align-center.lucide:align-center-horizontal.lucide:align-center-vertical.lucide:align-end-horizontal.lucide:align-end-vertical.lucide:align-horizontal-distribute-center.lucide:align-horizontal-distribute-end.lucide:align-horizontal-distribute-start.lucide:align-horizontal-justify-center.lucide:align-horizontal-justify-end.lucide:align-horizontal-justify-start.lucide:align-horizontal-space-around.lucide:align-horizontal-space-between.lucide:align-justify.lucide:align-left.lucide:align-right.lucide:align-start-horizontal.lucide:align-start-vertical.lucide:align-vertical-distribute-center.lucide:align-vertical-distribute-end.lucide:align-vertical-distribute-start.lucide:align-vertical-justify-center.lucide:align-vertical-justify-end.lucide:align-vertical-justify-start.lucide:align-vertical-space-around.lucide:align-vertical-space-between.lucide:ambulance.lucide:ampersand.lucide:ampersands.lucide:amphora.lucide:anchor.lucide:angle.lucide:angry.lucide:annoyed.lucide:antenna.lucide:anvil.lucide:aperture.lucide:app-window.lucide:app-window-mac.lucide:apple.lucide:archive.lucide:archive-restore.lucide:archive-x.lucide:area-chart.lucide:armchair.lucide:armenian-dram.lucide:arrow-big-down.lucide:arrow-big-down-dash.lucide:arrow-big-left.lucide:arrow-big-left-dash.lucide:arrow-big-right.lucide:arrow-big-right-dash.lucide:arrow-big-up.lucide:arrow-big-up-dash.lucide:arrow-down.lucide:arrow-down-0-1.lucide:arrow-down-1-0.lucide:arrow-down-a-z.lucide:arrow-down-from-line.lucide:arrow-down-left.lucide:arrow-down-narrow-wide.lucide:arrow-down-right.lucide:arrow-down-to-dot.lucide:arrow-down-to-line.lucide:arrow-down-up.lucide:arrow-down-wide-narrow.lucide:arrow-down-z-a.lucide:arrow-left.lucide:arrow-left-from-line.lucide:arrow-left-right.lucide:arrow-left-to-line.lucide:arrow-right.lucide:arrow-right-from-line.lucide:arrow-right-left.lucide:arrow-right-to-line.lucide:arrow-up.lucide:arrow-up-0-1.lucide:arrow-up-1-0.lucide:arrow-up-a-z.lucide:arrow-up-down.lucide:arrow-up-from-dot.lucide:arrow-up-from-line.lucide:arrow-up-left.lucide:arrow-up-narrow-wide.lucide:arrow-up-right.lucide:arrow-up-to-line.lucide:arrow-up-wide-narrow.lucide:arrow-up-z-a.lucide:arrows-up-from-line.lucide:asterisk.lucide:astroid.lucide:at-sign.lucide:atom.lucide:audio-lines.lucide:audio-lines-off.lucide:audio-lines-x.lucide:audio-waveform.lucide:avocado.lucide:award.lucide:axe.lucide:axis-3d.lucide:baby.lucide:backpack.lucide:bacon.lucide:badge.lucide:badge-alert.lucide:badge-cent.lucide:badge-check.lucide:badge-dollar-sign.lucide:badge-euro.lucide:badge-indian-rupee.lucide:badge-info.lucide:badge-japanese-yen.lucide:badge-minus.lucide:badge-percent.lucide:badge-plus.lucide:badge-pound-sterling.lucide:badge-question-mark.lucide:badge-russian-ruble.lucide:badge-swiss-franc.lucide:badge-turkish-lira.lucide:badge-x.lucide:baggage-claim.lucide:balloon.lucide:ban.lucide:banana.lucide:bandage.lucide:bangladeshi-taka.lucide:banknote.lucide:banknote-arrow-down.lucide:banknote-arrow-up.lucide:banknote-check.lucide:banknote-x.lucide:bar-chart-3.lucide:bar-chart-4.lucide:bar-chart-big.lucide:bar-chart-horizontal.lucide:bar-chart-horizontal-big.lucide:barcode.lucide:barrel.lucide:baseline.lucide:bath.lucide:battery.lucide:battery-charging.lucide:battery-full.lucide:battery-low.lucide:battery-medium.lucide:battery-plus.lucide:battery-warning.lucide:beaker.lucide:bean.lucide:bean-off.lucide:bed.lucide:bed-double.lucide:bed-single.lucide:beef.lucide:beef-off.lucide:beer.lucide:beer-off.lucide:belarusian-ruble.lucide:bell.lucide:bell-check.lucide:bell-dot.lucide:bell-electric.lucide:bell-minus.lucide:bell-off.lucide:bell-plus.lucide:bell-ring.lucide:between-horizontal-end.lucide:between-horizontal-start.lucide:between-vertical-end.lucide:between-vertical-start.lucide:biceps-flexed.lucide:bike.lucide:binary.lucide:binoculars.lucide:biohazard.lucide:bird.lucide:birdhouse.lucide:bitcoin.lucide:blend.lucide:blender.lucide:blinds.lucide:blocks.lucide:bluetooth.lucide:bluetooth-connected.lucide:bluetooth-off.lucide:bluetooth-searching.lucide:bold.lucide:bolt.lucide:bomb.lucide:bone.lucide:bone-fracture.lucide:book.lucide:book-a.lucide:book-alert.lucide:book-audio.lucide:book-bookmark.lucide:book-check.lucide:book-copy.lucide:book-dashed.lucide:book-down.lucide:book-headphones.lucide:book-heart.lucide:book-image.lucide:book-key.lucide:book-lock.lucide:book-marked.lucide:book-minus.lucide:book-open.lucide:book-open-check.lucide:book-open-text.lucide:book-plus.lucide:book-search.lucide:book-text.lucide:book-type.lucide:book-up.lucide:book-up-2.lucide:book-user.lucide:book-x.lucide:bookmark.lucide:bookmark-check.lucide:bookmark-minus.lucide:bookmark-off.lucide:bookmark-plus.lucide:bookmark-x.lucide:boom-box.lucide:bot.lucide:bot-message-square.lucide:bot-off.lucide:bottle-wine.lucide:bow-arrow.lucide:box.lucide:boxes.lucide:braces.lucide:brackets.lucide:brain.lucide:brain-circuit.lucide:brain-cog.lucide:brain-off.lucide:brick-wall.lucide:brick-wall-fire.lucide:brick-wall-shield.lucide:bridge.lucide:briefcase.lucide:briefcase-business.lucide:briefcase-conveyor-belt.lucide:briefcase-medical.lucide:briefcase-plus.lucide:bring-to-front.lucide:broccoli.lucide:broom.lucide:broom-sparkles.lucide:brush.lucide:brush-cleaning.lucide:bubbles.lucide:bug.lucide:bug-off.lucide:bug-play.lucide:building.lucide:building-complex.lucide:building-complex-plus.lucide:bus.lucide:bus-front.lucide:cable.lucide:cable-car.lucide:cake.lucide:cake-slice.lucide:calculator.lucide:calendar.lucide:calendar-1.lucide:calendar-arrow-down.lucide:calendar-arrow-up.lucide:calendar-check.lucide:calendar-check-2.lucide:calendar-chevrons-left.lucide:calendar-chevrons-right.lucide:calendar-clock.lucide:calendar-cog.lucide:calendar-days.lucide:calendar-fold.lucide:calendar-heart.lucide:calendar-minus.lucide:calendar-minus-2.lucide:calendar-off.lucide:calendar-plus.lucide:calendar-plus-2.lucide:calendar-range.lucide:calendar-search.lucide:calendar-sync.lucide:calendar-x.lucide:calendar-x-2.lucide:calendars.lucide:camera.lucide:camera-off.lucide:can.lucide:can-soda.lucide:candlestick-chart.lucide:candy.lucide:candy-cane.lucide:candy-off.lucide:cannabis.lucide:cannabis-off.lucide:captions.lucide:captions-off.lucide:car.lucide:car-battery.lucide:car-front.lucide:car-taxi-front.lucide:caravan.lucide:card-sim.lucide:carrot.lucide:carton.lucide:carton-off.lucide:case-lower.lucide:case-sensitive.lucide:case-upper.lucide:cassette-tape.lucide:cast.lucide:castle.lucide:cat.lucide:cctv.lucide:cctv-off.lucide:certificate.lucide:chart-area.lucide:chart-bar.lucide:chart-bar-big.lucide:chart-bar-decreasing.lucide:chart-bar-increasing.lucide:chart-bar-stacked.lucide:chart-candlestick.lucide:chart-column.lucide:chart-column-big.lucide:chart-column-decreasing.lucide:chart-column-increasing.lucide:chart-column-stacked.lucide:chart-gantt.lucide:chart-line.lucide:chart-network.lucide:chart-no-axes-column.lucide:chart-no-axes-column-decreasing.lucide:chart-no-axes-column-increasing.lucide:chart-no-axes-combined.lucide:chart-no-axes-gantt.lucide:chart-pie.lucide:chart-scatter.lucide:chart-spline.lucide:check.lucide:check-check.lucide:check-line.lucide:chef-hat.lucide:cherry.lucide:chess-bishop.lucide:chess-king.lucide:chess-knight.lucide:chess-pawn.lucide:chess-queen.lucide:chess-rook.lucide:chevron-down.lucide:chevron-first.lucide:chevron-last.lucide:chevron-left.lucide:chevron-right.lucide:chevron-up.lucide:chevrons-down.lucide:chevrons-down-up.lucide:chevrons-left.lucide:chevrons-left-right.lucide:chevrons-left-right-ellipsis.lucide:chevrons-right.lucide:chevrons-right-left.lucide:chevrons-up.lucide:chevrons-up-down.lucide:chrome.lucide:chromium.lucide:church.lucide:cigarette.lucide:cigarette-off.lucide:circle.lucide:circle-alert.lucide:circle-arrow-down.lucide:circle-arrow-left.lucide:circle-arrow-out-down-left.lucide:circle-arrow-out-down-right.lucide:circle-arrow-out-up-left.lucide:circle-arrow-out-up-right.lucide:circle-arrow-right.lucide:circle-arrow-up.lucide:circle-check.lucide:circle-check-big.lucide:circle-chevron-down.lucide:circle-chevron-left.lucide:circle-chevron-right.lucide:circle-chevron-up.lucide:circle-chevrons-down.lucide:circle-chevrons-left.lucide:circle-chevrons-right.lucide:circle-chevrons-up.lucide:circle-dashed.lucide:circle-dashed-check.lucide:circle-divide.lucide:circle-dollar-sign.lucide:circle-dot.lucide:circle-dot-dashed.lucide:circle-ellipsis.lucide:circle-equal.lucide:circle-euro.lucide:circle-fading-arrow-up.lucide:circle-fading-play.lucide:circle-fading-plus.lucide:circle-gauge.lucide:circle-minus.lucide:circle-off.lucide:circle-parking.lucide:circle-parking-off.lucide:circle-pause.lucide:circle-percent.lucide:circle-pile.lucide:circle-play.lucide:circle-plus.lucide:circle-pound-sterling.lucide:circle-power.lucide:circle-question-mark.lucide:circle-slash.lucide:circle-slash-2.lucide:circle-small.lucide:circle-star.lucide:circle-stop.lucide:circle-user.lucide:circle-user-round.lucide:circle-x.lucide:circuit-board.lucide:citrus.lucide:clapperboard.lucide:clef-alto.lucide:clef-bass.lucide:clef-treble.lucide:clipboard.lucide:clipboard-check.lucide:clipboard-clock.lucide:clipboard-copy.lucide:clipboard-list.lucide:clipboard-minus.lucide:clipboard-paste.lucide:clipboard-pen.lucide:clipboard-pen-line.lucide:clipboard-plus.lucide:clipboard-type.lucide:clipboard-x.lucide:clock.lucide:clock-1.lucide:clock-10.lucide:clock-11.lucide:clock-12.lucide:clock-2.lucide:clock-3.lucide:clock-4.lucide:clock-5.lucide:clock-6.lucide:clock-7.lucide:clock-8.lucide:clock-9.lucide:clock-alert.lucide:clock-arrow-down.lucide:clock-arrow-left.lucide:clock-arrow-right.lucide:clock-arrow-up.lucide:clock-check.lucide:clock-fading.lucide:clock-plus.lucide:closed-caption.lucide:cloud.lucide:cloud-alert.lucide:cloud-backup.lucide:cloud-check.lucide:cloud-cog.lucide:cloud-download.lucide:cloud-drizzle.lucide:cloud-fog.lucide:cloud-hail.lucide:cloud-lightning.lucide:cloud-moon.lucide:cloud-moon-rain.lucide:cloud-off.lucide:cloud-rain.lucide:cloud-rain-wind.lucide:cloud-snow.lucide:cloud-sun.lucide:cloud-sun-rain.lucide:cloud-sync.lucide:cloud-upload.lucide:cloudy.lucide:clover.lucide:club.lucide:code.lucide:code-xml.lucide:codepen.lucide:codesandbox.lucide:coffee.lucide:cog.lucide:coins.lucide:columns-2.lucide:columns-3.lucide:columns-3-cog.lucide:columns-4.lucide:combine.lucide:command.lucide:compass.lucide:component.lucide:computer.lucide:concierge-bell.lucide:cone.lucide:construction.lucide:contact.lucide:contact-round.lucide:container.lucide:contrast.lucide:cookie.lucide:cooking-pot.lucide:copy.lucide:copy-check.lucide:copy-minus.lucide:copy-plus.lucide:copy-slash.lucide:copy-x.lucide:copyleft.lucide:copyright.lucide:corner-down-left.lucide:corner-down-right.lucide:corner-left-down.lucide:corner-left-up.lucide:corner-right-down.lucide:corner-right-up.lucide:corner-up-left.lucide:corner-up-right.lucide:cpu.lucide:cpu-ai.lucide:creative-commons.lucide:credit-card.lucide:credit-card-check.lucide:credit-card-minus.lucide:credit-card-plus.lucide:credit-card-reader.lucide:credit-card-x.lucide:croissant.lucide:crop.lucide:cross.lucide:crosshair.lucide:crown.lucide:cuboid.lucide:cup-soda.lucide:cupcake.lucide:currency.lucide:cylinder.lucide:dam.lucide:database.lucide:database-arrow-down.lucide:database-arrow-up.lucide:database-backup.lucide:database-check.lucide:database-minus.lucide:database-plus.lucide:database-search.lucide:database-x.lucide:database-zap.lucide:decimals-arrow-left.lucide:decimals-arrow-right.lucide:delete.lucide:dessert.lucide:diameter.lucide:diamond.lucide:diamond-minus.lucide:diamond-percent.lucide:diamond-plus.lucide:dice-1.lucide:dice-2.lucide:dice-3.lucide:dice-4.lucide:dice-5.lucide:dice-6.lucide:dices.lucide:diff.lucide:disc.lucide:disc-2.lucide:disc-3.lucide:disc-album.lucide:divide.lucide:dna.lucide:dna-off.lucide:dock.lucide:dog.lucide:dollar-sign.lucide:dome.lucide:donut.lucide:door-closed.lucide:door-closed-cog.lucide:door-closed-locked.lucide:door-closed-package.lucide:door-open.lucide:door-stairwell.lucide:dot.lucide:download.lucide:drafting-compass.lucide:drama.lucide:dribbble.lucide:drill.lucide:drone.lucide:droplet.lucide:droplet-off.lucide:droplets.lucide:drum.lucide:drumstick.lucide:dumbbell.lucide:ear.lucide:ear-off.lucide:earth.lucide:earth-lock.lucide:eclipse.lucide:egg.lucide:egg-fried.lucide:egg-off.lucide:eighth-note.lucide:eighth-notes.lucide:eject.lucide:ellipse.lucide:ellipsis.lucide:ellipsis-vertical.lucide:engine.lucide:equal.lucide:equal-approximately.lucide:equal-approximately-not.lucide:equal-not.lucide:eraser.lucide:ethernet-port.lucide:euro.lucide:ev-charger.lucide:expand.lucide:external-link.lucide:eye.lucide:eye-closed.lucide:eye-dashed.lucide:eye-off.lucide:face-angry.lucide:face-expressionless.lucide:face-grinning.lucide:face-neutral.lucide:face-slightly-frowning.lucide:face-slightly-smiling.lucide:face-slightly-smiling-plus.lucide:facebook.lucide:factory.lucide:fan.lucide:fast-forward.lucide:faucet.lucide:feather.lucide:fence.lucide:ferris-wheel.lucide:figma.lucide:file.lucide:file-archive.lucide:file-audio.lucide:file-audio-2.lucide:file-axis-3d.lucide:file-badge.lucide:file-badge-2.lucide:file-box.lucide:file-braces.lucide:file-braces-corner.lucide:file-chart-column.lucide:file-chart-column-increasing.lucide:file-chart-line.lucide:file-chart-pie.lucide:file-check.lucide:file-check-2.lucide:file-check-corner.lucide:file-clock.lucide:file-code.lucide:file-code-2.lucide:file-code-corner.lucide:file-cog.lucide:file-diff.lucide:file-digit.lucide:file-down.lucide:file-exclamation-point.lucide:file-headphone.lucide:file-heart.lucide:file-image.lucide:file-input.lucide:file-json.lucide:file-json-2.lucide:file-key.lucide:file-key-2.lucide:file-lock.lucide:file-lock-2.lucide:file-minus.lucide:file-minus-2.lucide:file-minus-corner.lucide:file-music.lucide:file-output.lucide:file-pen.lucide:file-pen-line.lucide:file-pie-chart.lucide:file-play.lucide:file-plus.lucide:file-plus-2.lucide:file-plus-corner.lucide:file-question-mark.lucide:file-scan.lucide:file-search.lucide:file-search-2.lucide:file-search-corner.lucide:file-signal.lucide:file-sliders.lucide:file-spreadsheet.lucide:file-stack.lucide:file-symlink.lucide:file-terminal.lucide:file-text.lucide:file-type.lucide:file-type-2.lucide:file-type-corner.lucide:file-up.lucide:file-user.lucide:file-video-camera.lucide:file-volume.lucide:file-volume-2.lucide:file-warning.lucide:file-x.lucide:file-x-2.lucide:file-x-corner.lucide:files.lucide:film.lucide:filter.lucide:filter-x.lucide:fingerprint-pattern.lucide:fire-extinguisher.lucide:fish.lucide:fish-off.lucide:fish-symbol.lucide:fishing-hook.lucide:fishing-rod.lucide:flag.lucide:flag-off.lucide:flag-triangle-left.lucide:flag-triangle-right.lucide:flame.lucide:flame-kindling.lucide:flashlight.lucide:flashlight-off.lucide:flask-conical.lucide:flask-conical-off.lucide:flask-round.lucide:flip-horizontal-2.lucide:flip-vertical-2.lucide:flower.lucide:flower-2.lucide:focus.lucide:fold-horizontal.lucide:fold-vertical.lucide:folder.lucide:folder-archive.lucide:folder-bookmark.lucide:folder-check.lucide:folder-clock.lucide:folder-closed.lucide:folder-code.lucide:folder-cog.lucide:folder-dot.lucide:folder-down.lucide:folder-git.lucide:folder-git-2.lucide:folder-heart.lucide:folder-input.lucide:folder-kanban.lucide:folder-key.lucide:folder-lock.lucide:folder-minus.lucide:folder-open.lucide:folder-open-dot.lucide:folder-output.lucide:folder-pen.lucide:folder-plus.lucide:folder-root.lucide:folder-search.lucide:folder-search-2.lucide:folder-symlink.lucide:folder-sync.lucide:folder-tree.lucide:folder-up.lucide:folder-user.lucide:folder-users.lucide:folder-x.lucide:folders.lucide:footprints.lucide:forklift.lucide:form.lucide:forward.lucide:frame.lucide:framer.lucide:frown.lucide:fuel.lucide:fullscreen.lucide:funnel.lucide:funnel-plus.lucide:funnel-x.lucide:galaxy.lucide:gallery-horizontal.lucide:gallery-horizontal-end.lucide:gallery-thumbnails.lucide:gallery-vertical.lucide:gallery-vertical-end.lucide:gamepad.lucide:gamepad-2.lucide:gamepad-directional.lucide:gap-horizontal.lucide:gap-vertical.lucide:gauge.lucide:gavel.lucide:gem.lucide:georgian-lari.lucide:germ.lucide:germ-off.lucide:ghost.lucide:gift.lucide:git-branch.lucide:git-branch-minus.lucide:git-branch-plus.lucide:git-commit-horizontal.lucide:git-commit-vertical.lucide:git-compare.lucide:git-compare-arrows.lucide:git-fork.lucide:git-graph.lucide:git-merge.lucide:git-merge-conflict.lucide:git-pull-request.lucide:git-pull-request-arrow.lucide:git-pull-request-closed.lucide:git-pull-request-create.lucide:git-pull-request-create-arrow.lucide:git-pull-request-draft.lucide:github.lucide:gitlab.lucide:glass-water.lucide:glasses.lucide:globe.lucide:globe-check.lucide:globe-code.lucide:globe-lock.lucide:globe-off.lucide:globe-x.lucide:goal.lucide:gpu.lucide:graduation-cap.lucide:grape.lucide:graph-hub.lucide:graph-star.lucide:grid-2x2.lucide:grid-2x2-check.lucide:grid-2x2-plus.lucide:grid-2x2-x.lucide:grid-3x2.lucide:grid-3x3.lucide:grip.lucide:grip-horizontal.lucide:grip-vertical.lucide:groceries.lucide:group.lucide:guitar.lucide:guitar-electric.lucide:half-note.lucide:ham.lucide:hamburger.lucide:hammer.lucide:hand.lucide:hand-coins.lucide:hand-fist.lucide:hand-grab.lucide:hand-heart.lucide:hand-helping.lucide:hand-metal.lucide:hand-platter.lucide:handbag.lucide:handle-bottom-right.lucide:handshake.lucide:hard-drive.lucide:hard-drive-download.lucide:hard-drive-upload.lucide:hard-hat.lucide:hash.lucide:hat-glasses.lucide:haze.lucide:hd.lucide:hdmi-port.lucide:heading.lucide:heading-1.lucide:heading-2.lucide:heading-3.lucide:heading-4.lucide:heading-5.lucide:heading-6.lucide:headphone-off.lucide:headphones.lucide:headset.lucide:heart.lucide:heart-crack.lucide:heart-handshake.lucide:heart-minus.lucide:heart-off.lucide:heart-plus.lucide:heart-pulse.lucide:heart-x.lucide:heater.lucide:helicopter.lucide:hexagon.lucide:highlighter.lucide:hiking-stick.lucide:hop.lucide:hop-off.lucide:hospital.lucide:hotel.lucide:hourglass.lucide:hourglass-cog.lucide:house.lucide:house-cog.lucide:house-heart.lucide:house-plug.lucide:house-plus.lucide:house-wifi.lucide:houses.lucide:ice-cream-bowl.lucide:ice-cream-cone.lucide:id-card.lucide:id-card-lanyard.lucide:image.lucide:image-down.lucide:image-minus.lucide:image-off.lucide:image-play.lucide:image-plus.lucide:image-up.lucide:image-upscale.lucide:images.lucide:import.lucide:inbox.lucide:indent-decrease.lucide:indent-increase.lucide:indian-rupee.lucide:infinity.lucide:info.lucide:inspection-panel.lucide:instagram.lucide:italic.lucide:iteration-ccw.lucide:iteration-cw.lucide:iv-bag.lucide:japanese-yen.lucide:joystick.lucide:kanban.lucide:kayak.lucide:kazakh-tenge.lucide:key.lucide:key-round.lucide:key-square.lucide:keyboard.lucide:keyboard-music.lucide:keyboard-off.lucide:lambda.lucide:lamp.lucide:lamp-ceiling.lucide:lamp-desk.lucide:lamp-floor.lucide:lamp-wall-down.lucide:lamp-wall-up.lucide:land-plot.lucide:landmark.lucide:languages.lucide:laptop.lucide:laptop-minimal.lucide:laptop-minimal-check.lucide:lasso.lucide:lasso-select.lucide:laugh.lucide:layer-arrow-down.lucide:layer-arrow-up.lucide:layers.lucide:layers-2.lucide:layers-3.lucide:layers-arrow-down.lucide:layers-arrow-up.lucide:layers-minus.lucide:layers-plus.lucide:layout-arrow-down.lucide:layout-arrow-right.lucide:layout-dashboard.lucide:layout-freeform.lucide:layout-grid.lucide:layout-grid-circles.lucide:layout-list.lucide:layout-panel-left.lucide:layout-panel-top.lucide:layout-template.lucide:leaf.lucide:leafy-green.lucide:lectern.lucide:lens.lucide:lens-concave.lucide:lens-convex.lucide:letter-spacing.lucide:letter-text.lucide:letters.lucide:library.lucide:library-big.lucide:life-buoy.lucide:ligature.lucide:lightbulb.lucide:lightbulb-off.lucide:lighthouse.lucide:line-chart.lucide:line-dot-bottom-vertical.lucide:line-dot-left-horizontal.lucide:line-dot-right-horizontal.lucide:line-dot-top-vertical.lucide:line-height.lucide:line-squiggle.lucide:line-style.lucide:link.lucide:link-2.lucide:link-2-off.lucide:linkedin.lucide:list.lucide:list-check.lucide:list-checks.lucide:list-chevrons-down-up.lucide:list-chevrons-up-down.lucide:list-clock.lucide:list-collapse.lucide:list-end.lucide:list-filter.lucide:list-filter-plus.lucide:list-indent-decrease.lucide:list-indent-increase.lucide:list-minus.lucide:list-music.lucide:list-ordered.lucide:list-plus.lucide:list-restart.lucide:list-sort-ascending.lucide:list-sort-descending.lucide:list-start.lucide:list-todo.lucide:list-tree.lucide:list-video.lucide:list-x.lucide:loader.lucide:loader-circle.lucide:loader-pinwheel.lucide:locate.lucide:locate-fixed.lucide:locate-off.lucide:lock.lucide:lock-keyhole.lucide:lock-keyhole-open.lucide:lock-open.lucide:log-in.lucide:log-out.lucide:logs.lucide:lollipop.lucide:luggage.lucide:magnet.lucide:mail.lucide:mail-badge.lucide:mail-check.lucide:mail-clock.lucide:mail-dot.lucide:mail-minus.lucide:mail-open.lucide:mail-pen.lucide:mail-plus.lucide:mail-question-mark.lucide:mail-search.lucide:mail-warning.lucide:mail-x.lucide:mailbox.lucide:mails.lucide:map.lucide:map-minus.lucide:map-pin.lucide:map-pin-check.lucide:map-pin-check-inside.lucide:map-pin-house.lucide:map-pin-minus.lucide:map-pin-minus-inside.lucide:map-pin-off.lucide:map-pin-pen.lucide:map-pin-plus.lucide:map-pin-plus-inside.lucide:map-pin-search.lucide:map-pin-x.lucide:map-pin-x-inside.lucide:map-pinned.lucide:map-plus.lucide:mars.lucide:mars-stroke.lucide:martini.lucide:maximize.lucide:maximize-2.lucide:medal.lucide:megaphone.lucide:megaphone-off.lucide:meh.lucide:memory-stick.lucide:menu.lucide:merge.lucide:message-circle.lucide:message-circle-check.lucide:message-circle-code.lucide:message-circle-dashed.lucide:message-circle-dashed-check.lucide:message-circle-heart.lucide:message-circle-more.lucide:message-circle-off.lucide:message-circle-plus.lucide:message-circle-question-mark.lucide:message-circle-reply.lucide:message-circle-text.lucide:message-circle-warning.lucide:message-circle-x.lucide:message-square.lucide:message-square-check.lucide:message-square-code.lucide:message-square-dashed.lucide:message-square-diff.lucide:message-square-dot.lucide:message-square-heart.lucide:message-square-lock.lucide:message-square-more.lucide:message-square-off.lucide:message-square-plus.lucide:message-square-quote.lucide:message-square-reply.lucide:message-square-share.lucide:message-square-text.lucide:message-square-warning.lucide:message-square-x.lucide:messages-circle.lucide:messages-square.lucide:metronome.lucide:mic.lucide:mic-audio-lines.lucide:mic-off.lucide:mic-signal.lucide:mic-vocal.lucide:microchip.lucide:microscope.lucide:microwave.lucide:midi-port.lucide:milestone.lucide:milk.lucide:milk-off.lucide:minimize.lucide:minimize-2.lucide:minus.lucide:mirror-rectangular.lucide:mirror-round.lucide:monitor.lucide:monitor-check.lucide:monitor-cloud.lucide:monitor-cog.lucide:monitor-dot.lucide:monitor-down.lucide:monitor-off.lucide:monitor-pause.lucide:monitor-pc.lucide:monitor-play.lucide:monitor-smartphone.lucide:monitor-speaker.lucide:monitor-stop.lucide:monitor-up.lucide:monitor-x.lucide:moon.lucide:moon-star.lucide:mop.lucide:mop-sparkles.lucide:mosque.lucide:motorbike.lucide:mountain.lucide:mountain-snow.lucide:mouse.lucide:mouse-left.lucide:mouse-off.lucide:mouse-pointer.lucide:mouse-pointer-2.lucide:mouse-pointer-2-off.lucide:mouse-pointer-ban.lucide:mouse-pointer-click.lucide:mouse-right.lucide:mouth.lucide:mouth-off.lucide:move.lucide:move-3d.lucide:move-diagonal.lucide:move-diagonal-2.lucide:move-down.lucide:move-down-left.lucide:move-down-right.lucide:move-horizontal.lucide:move-left.lucide:move-right.lucide:move-up.lucide:move-up-left.lucide:move-up-right.lucide:move-vertical.lucide:music.lucide:music-2.lucide:music-4.lucide:navigation.lucide:navigation-2.lucide:navigation-2-off.lucide:navigation-off.lucide:nepali-rupee.lucide:network.lucide:newspaper.lucide:nfc.lucide:non-binary.lucide:notebook.lucide:notebook-dot.lucide:notebook-pen.lucide:notebook-tabs.lucide:notebook-text.lucide:notepad-text.lucide:notepad-text-dashed.lucide:nut.lucide:nut-off.lucide:octagon.lucide:octagon-alert.lucide:octagon-minus.lucide:octagon-pause.lucide:octagon-x.lucide:omega.lucide:option.lucide:orbit.lucide:origami.lucide:package.lucide:package-2.lucide:package-check.lucide:package-minus.lucide:package-open.lucide:package-plus.lucide:package-search.lucide:package-x.lucide:paint-bucket.lucide:paint-roller.lucide:paintbrush.lucide:paintbrush-vertical.lucide:palette.lucide:panda.lucide:panel-bottom.lucide:panel-bottom-close.lucide:panel-bottom-dashed.lucide:panel-bottom-open.lucide:panel-left.lucide:panel-left-close.lucide:panel-left-dashed.lucide:panel-left-open.lucide:panel-left-right-dashed.lucide:panel-right.lucide:panel-right-close.lucide:panel-right-dashed.lucide:panel-right-open.lucide:panel-top.lucide:panel-top-bottom-dashed.lucide:panel-top-close.lucide:panel-top-dashed.lucide:panel-top-open.lucide:panels-left-bottom.lucide:panels-right-bottom.lucide:panels-top-left.lucide:paper-bag.lucide:paperclip.lucide:parasol.lucide:parentheses.lucide:park.lucide:parking-meter.lucide:party-popper.lucide:pause.lucide:paw-print.lucide:pc-case.lucide:pen.lucide:pen-line.lucide:pen-off.lucide:pen-tool.lucide:pencil.lucide:pencil-line.lucide:pencil-off.lucide:pencil-ruler.lucide:pencil-sparkles.lucide:pentagon.lucide:percent.lucide:perfume-bottle.lucide:person-standing.lucide:phi.lucide:philippine-peso.lucide:phone.lucide:phone-call.lucide:phone-forwarded.lucide:phone-incoming.lucide:phone-log.lucide:phone-missed.lucide:phone-off.lucide:phone-outgoing.lucide:pi.lucide:piano.lucide:pickaxe.lucide:picture-in-picture.lucide:picture-in-picture-2.lucide:pie-chart.lucide:piggy-bank.lucide:pilcrow.lucide:pilcrow-left.lucide:pilcrow-right.lucide:pill.lucide:pill-bottle.lucide:pin.lucide:pin-off.lucide:pipette.lucide:pizza.lucide:plane.lucide:plane-landing.lucide:plane-takeoff.lucide:plant-pot.lucide:play.lucide:play-off.lucide:playing-card.lucide:playing-cards.lucide:playing-cards-fan.lucide:plug.lucide:plug-2.lucide:plug-zap.lucide:plus.lucide:pocket.lucide:pocket-knife.lucide:podcast.lucide:podium.lucide:pointer.lucide:pointer-off.lucide:popcorn.lucide:popsicle.lucide:pound-sterling.lucide:power.lucide:power-off.lucide:presentation.lucide:printer.lucide:printer-3d.lucide:printer-check.lucide:printer-x.lucide:projector.lucide:proportions.lucide:puzzle.lucide:pyramid.lucide:qr-code.lucide:quote.lucide:rabbit.lucide:radar.lucide:radiation.lucide:radical.lucide:radio.lucide:radio-off.lucide:radio-receiver.lucide:radio-tower.lucide:radius.lucide:rail-symbol.lucide:rainbow.lucide:rat.lucide:ratio.lucide:receipt.lucide:receipt-cent.lucide:receipt-euro.lucide:receipt-indian-rupee.lucide:receipt-japanese-yen.lucide:receipt-pound-sterling.lucide:receipt-russian-ruble.lucide:receipt-swiss-franc.lucide:receipt-text.lucide:receipt-turkish-lira.lucide:rectangle-circle.lucide:rectangle-ellipsis.lucide:rectangle-goggles.lucide:rectangle-horizontal.lucide:rectangle-vertical.lucide:recycle.lucide:redo.lucide:redo-2.lucide:redo-dot.lucide:refresh-ccw.lucide:refresh-ccw-dot.lucide:refresh-cw.lucide:refresh-cw-off.lucide:refrigerator.lucide:regex.lucide:remove-formatting.lucide:repeat.lucide:repeat-1.lucide:repeat-2.lucide:repeat-off.lucide:replace.lucide:replace-all.lucide:reply.lucide:reply-all.lucide:rewind.lucide:ribbon.lucide:road.lucide:robot-arm.lucide:robot-vacuum.lucide:rocket.lucide:rocking-chair.lucide:roller-coaster.lucide:rose.lucide:rotate-3d.lucide:rotate-ccw.lucide:rotate-ccw-clock.lucide:rotate-ccw-key.lucide:rotate-ccw-square.lucide:rotate-cw.lucide:rotate-cw-clock.lucide:rotate-cw-fading-clock.lucide:rotate-cw-square.lucide:route.lucide:route-off.lucide:router.lucide:rows-2.lucide:rows-3.lucide:rows-4.lucide:rss.lucide:rugby-ball.lucide:ruler.lucide:ruler-dimension-line.lucide:russian-ruble.lucide:sailboat.lucide:salad.lucide:sandwich.lucide:satellite.lucide:satellite-dish.lucide:saudi-riyal.lucide:save.lucide:save-all.lucide:save-check.lucide:save-off.lucide:save-pen.lucide:save-plus.lucide:scale.lucide:scale-3d.lucide:scaling.lucide:scan.lucide:scan-barcode.lucide:scan-box.lucide:scan-eye.lucide:scan-face.lucide:scan-heart.lucide:scan-line.lucide:scan-qr-code.lucide:scan-search.lucide:scan-square.lucide:scan-text.lucide:scatter-chart.lucide:school.lucide:scissors.lucide:scissors-line-dashed.lucide:scooter.lucide:scratch-blocks.lucide:screen-share.lucide:screen-share-off.lucide:screw.lucide:scroll.lucide:scroll-text.lucide:search.lucide:search-alert.lucide:search-check.lucide:search-code.lucide:search-large.lucide:search-slash.lucide:search-x.lucide:section.lucide:send.lucide:send-horizontal.lucide:send-to-back.lucide:separator-horizontal.lucide:separator-vertical.lucide:server.lucide:server-cog.lucide:server-crash.lucide:server-nas.lucide:server-off.lucide:server-plus.lucide:settings.lucide:settings-2.lucide:shapes.lucide:share.lucide:share-2.lucide:sheet.lucide:shell.lucide:shelving-unit.lucide:shield.lucide:shield-alert.lucide:shield-ban.lucide:shield-check.lucide:shield-cog.lucide:shield-cog-corner.lucide:shield-ellipsis.lucide:shield-half.lucide:shield-house.lucide:shield-keyhole.lucide:shield-lock.lucide:shield-minus.lucide:shield-off.lucide:shield-plus.lucide:shield-question-mark.lucide:shield-user.lucide:shield-x.lucide:ship.lucide:ship-cargo.lucide:ship-wheel.lucide:shirt.lucide:shopping-bag.lucide:shopping-basket.lucide:shopping-cart.lucide:shopping-cart-minus.lucide:shopping-cart-plus.lucide:shovel.lucide:shower-head.lucide:shredder.lucide:shrimp.lucide:shrimp-off.lucide:shrink.lucide:shrub.lucide:shuffle.lucide:sigma.lucide:signal.lucide:signal-high.lucide:signal-low.lucide:signal-medium.lucide:signal-zero.lucide:signature.lucide:signpost.lucide:signpost-big.lucide:siren.lucide:sixteenth-notes.lucide:skip-back.lucide:skip-forward.lucide:skull.lucide:slack.lucide:slash.lucide:slice.lucide:sliders-horizontal.lucide:sliders-vertical.lucide:smartphone.lucide:smartphone-charging.lucide:smartphone-nfc.lucide:smartphone-user-round.lucide:smile.lucide:smile-plus.lucide:snail.lucide:snowflake.lucide:soap-dispenser-droplet.lucide:sofa.lucide:solar-panel.lucide:soup.lucide:space.lucide:spade.lucide:sparkle.lucide:sparkles.lucide:speaker.lucide:speech.lucide:spell-check.lucide:spell-check-2.lucide:spline.lucide:spline-pointer.lucide:split.lucide:spool.lucide:sport-shoe.lucide:spotlight.lucide:spray-can.lucide:sprout.lucide:square.lucide:square-activity.lucide:square-arrow-down.lucide:square-arrow-down-left.lucide:square-arrow-down-right.lucide:square-arrow-left.lucide:square-arrow-out-down-left.lucide:square-arrow-out-down-right.lucide:square-arrow-out-up-left.lucide:square-arrow-out-up-right.lucide:square-arrow-right.lucide:square-arrow-right-enter.lucide:square-arrow-right-exit.lucide:square-arrow-up.lucide:square-arrow-up-left.lucide:square-arrow-up-right.lucide:square-asterisk.lucide:square-bookmark.lucide:square-bottom-dashed-scissors.lucide:square-centerline-dashed-horizontal.lucide:square-centerline-dashed-vertical.lucide:square-chart-gantt.lucide:square-check.lucide:square-check-big.lucide:square-chevron-down.lucide:square-chevron-left.lucide:square-chevron-right.lucide:square-chevron-up.lucide:square-code.lucide:square-dashed.lucide:square-dashed-bottom.lucide:square-dashed-bottom-code.lucide:square-dashed-kanban.lucide:square-dashed-mouse-pointer.lucide:square-dashed-plus.lucide:square-dashed-text.lucide:square-dashed-top-solid.lucide:square-dashed-x.lucide:square-dashed-x-corner.lucide:square-dimensions.lucide:square-divide.lucide:square-dot.lucide:square-equal.lucide:square-exclamation-point.lucide:square-function.lucide:square-kanban.lucide:square-library.lucide:square-m.lucide:square-menu.lucide:square-minus.lucide:square-mouse-pointer.lucide:square-off.lucide:square-parking.lucide:square-parking-off.lucide:square-pause.lucide:square-pen.lucide:square-percent.lucide:square-pi.lucide:square-pilcrow.lucide:square-play.lucide:square-plus.lucide:square-power.lucide:square-radical.lucide:square-round-corner.lucide:square-scissors.lucide:square-sigma.lucide:square-slash.lucide:square-sparkles.lucide:square-split-horizontal.lucide:square-split-vertical.lucide:square-square.lucide:square-stack.lucide:square-star.lucide:square-stop.lucide:square-terminal.lucide:square-text.lucide:square-user.lucide:square-user-round.lucide:square-x.lucide:squares-exclude.lucide:squares-intersect.lucide:squares-subtract.lucide:squares-unite.lucide:squircle.lucide:squircle-dashed.lucide:squirrel.lucide:stamp.lucide:star.lucide:star-check.lucide:star-half.lucide:star-minus.lucide:star-off.lucide:star-plus.lucide:star-x.lucide:step-back.lucide:step-forward.lucide:stethoscope.lucide:sticker.lucide:sticky-note.lucide:sticky-note-check.lucide:sticky-note-minus.lucide:sticky-note-off.lucide:sticky-note-plus.lucide:sticky-note-x.lucide:sticky-notes.lucide:stone.lucide:store.lucide:stretch-horizontal.lucide:stretch-vertical.lucide:strikethrough.lucide:subscript.lucide:summary.lucide:sun.lucide:sun-dim.lucide:sun-medium.lucide:sun-moon.lucide:sun-snow.lucide:sunrise.lucide:sunset.lucide:superscript.lucide:swatch-book.lucide:swiss-franc.lucide:switch-camera.lucide:sword.lucide:swords.lucide:syringe.lucide:table.lucide:table-2.lucide:table-cells-merge.lucide:table-cells-split.lucide:table-columns-split.lucide:table-of-contents.lucide:table-properties.lucide:table-rows-split.lucide:tablet.lucide:tablet-smartphone.lucide:tablets.lucide:tag.lucide:tag-plus.lucide:tag-x.lucide:tags.lucide:tally-1.lucide:tally-2.lucide:tally-3.lucide:tally-4.lucide:tally-5.lucide:tangent.lucide:target.lucide:telescope.lucide:tent.lucide:tent-tree.lucide:terminal.lucide:test-tube.lucide:test-tube-diagonal.lucide:test-tubes.lucide:text.lucide:text-align-center.lucide:text-align-end.lucide:text-align-justify.lucide:text-align-justify-center.lucide:text-align-justify-end.lucide:text-align-justify-start.lucide:text-align-start.lucide:text-cursor.lucide:text-cursor-input.lucide:text-initial.lucide:text-quote.lucide:text-search.lucide:text-wrap.lucide:theater.lucide:thermometer.lucide:thermometer-snowflake.lucide:thermometer-sun.lucide:thumbs-down.lucide:thumbs-up.lucide:tic-tac-toe.lucide:ticket.lucide:ticket-check.lucide:ticket-minus.lucide:ticket-percent.lucide:ticket-plus.lucide:ticket-slash.lucide:ticket-x.lucide:tickets.lucide:tickets-plane.lucide:timeline.lucide:timer.lucide:timer-off.lucide:timer-reset.lucide:toggle-left.lucide:toggle-right.lucide:toilet.lucide:tombstone.lucide:tool-case.lucide:toolbox.lucide:toothbrush.lucide:toothbrush-sparkles.lucide:tornado.lucide:torus.lucide:touchpad.lucide:touchpad-off.lucide:towel-rack.lucide:tower-control.lucide:toy-brick.lucide:tractor.lucide:traffic-cone.lucide:trailer.lucide:train-front.lucide:train-front-tunnel.lucide:train-track.lucide:tram-front.lucide:transgender.lucide:trash.lucide:trash-off.lucide:tree-deciduous.lucide:tree-palm.lucide:tree-pine.lucide:trees.lucide:trello.lucide:trending-down.lucide:trending-up.lucide:trending-up-down.lucide:triangle.lucide:triangle-alert.lucide:triangle-dashed.lucide:triangle-right.lucide:triangles-centerline-dashed-horizontal.lucide:triangles-centerline-dashed-vertical.lucide:trophy.lucide:truck.lucide:truck-electric.lucide:tube-lotion.lucide:turkish-lira.lucide:turntable.lucide:turtle.lucide:tv.lucide:tv-minimal.lucide:tv-minimal-play.lucide:twitch.lucide:twitter.lucide:type.lucide:type-outline.lucide:umbrella.lucide:umbrella-off.lucide:underline.lucide:undo.lucide:undo-2.lucide:undo-dot.lucide:unfold-horizontal.lucide:unfold-vertical.lucide:ungroup.lucide:university.lucide:unlink.lucide:unlink-2.lucide:unplug.lucide:upload.lucide:usb.lucide:usb-c-port.lucide:user.lucide:user-check.lucide:user-cog.lucide:user-group.lucide:user-key.lucide:user-lock.lucide:user-minus.lucide:user-pen.lucide:user-plus.lucide:user-round.lucide:user-round-arrow-left.lucide:user-round-check.lucide:user-round-cog.lucide:user-round-group.lucide:user-round-key.lucide:user-round-minus.lucide:user-round-pen.lucide:user-round-plus.lucide:user-round-search.lucide:user-round-star.lucide:user-round-x.lucide:user-search.lucide:user-shield.lucide:user-star.lucide:user-x.lucide:users.lucide:users-collaboration.lucide:users-round.lucide:users-round-collaboration.lucide:utensils.lucide:utensils-crossed.lucide:utility-pole.lucide:van.lucide:variable.lucide:vault.lucide:vector-polygon.lucide:vector-square.lucide:vegan.lucide:venetian-mask.lucide:venus.lucide:venus-and-mars.lucide:vibrate.lucide:vibrate-off.lucide:video.lucide:video-off.lucide:videotape.lucide:view.lucide:virus.lucide:virus-off.lucide:voicemail.lucide:volleyball.lucide:volume.lucide:volume-1.lucide:volume-2.lucide:volume-off.lucide:volume-x.lucide:vote.lucide:wallet.lucide:wallet-cards.lucide:wallet-minimal.lucide:wallpaper.lucide:wand.lucide:wand-sparkles.lucide:warehouse.lucide:washing-machine.lucide:watch.lucide:waves.lucide:waves-arrow-down.lucide:waves-arrow-up.lucide:waves-horizontal.lucide:waves-ladder.lucide:waves-vertical.lucide:waypoints.lucide:webcam.lucide:webcam-off.lucide:webhook.lucide:webhook-off.lucide:weight.lucide:weight-tilde.lucide:wheat.lucide:wheat-off.lucide:whistle.lucide:whole-word.lucide:wifi.lucide:wifi-cog.lucide:wifi-high.lucide:wifi-lock.lucide:wifi-low.lucide:wifi-off.lucide:wifi-pen.lucide:wifi-sync.lucide:wifi-zero.lucide:wind.lucide:wind-arrow-down.lucide:wind-arrow-up.lucide:wine.lucide:wine-off.lucide:workflow.lucide:worm.lucide:wrap-text.lucide:wrench.lucide:wrench-off.lucide:x.lucide:x-line-top.lucide:youtube.lucide:zap.lucide:zap-off.lucide:zodiac-aquarius.lucide:zodiac-aries.lucide:zodiac-cancer.lucide:zodiac-capricorn.lucide:zodiac-gemini.lucide:zodiac-leo.lucide:zodiac-libra.lucide:zodiac-ophiuchus.lucide:zodiac-pisces.lucide:zodiac-sagittarius.lucide:zodiac-scorpio.lucide:zodiac-taurus.lucide:zodiac-virgo.lucide:zoom-in.lucide:zoom-out`.split(`.`);new Set(me);var he=new Map,ge;async function _e(){if(he.size)return he;ge||=x(()=>import(`./agentIconBodies-Cpn22UTR.js`).then(e=>e.AGENT_LIBRARY_BODIES),[]);let e=await ge;for(let[t,n]of Object.entries(e))he.set(t,n);return he}function ve(e){return he.get(e)}function ye(e,t,n){if(!n)return 0;let r=e.toLowerCase();if(t===n||r===n)return 0;if(t.startsWith(n)||r.startsWith(n))return 1;if(t.includes(n)||r.includes(n))return 2;let i=n.split(/\s+/).filter(Boolean);return i.length>1&&i.every(e=>t.includes(e)||r.includes(e))?3:9}function be(e,t=10,n=0){let r=e.trim().toLowerCase().replace(/^(ph|lucide):/,``).replace(/\s+/g,` `);if(!r){let e=P.map(e=>({id:e,label:A[e],kind:`face`})),r=me.length,i=e.length+r;if(n+t<=e.length)return{hits:e.slice(n,n+t),total:i};let a=Math.max(0,n-e.length),o=t-Math.max(0,e.length-n),s=n<e.length?e.slice(n):[],c=me.slice(a,a+o).map(e=>({id:e,label:ie(e),kind:`library`}));return{hits:[...s,...c],total:i}}let i=[];for(let e of P){let t=A[e],n=ye(t,e,r);n<9&&i.push({id:e,label:t,kind:`face`,s:n})}for(let e of me){let t=j(e);if(!t)continue;let n=ie(e),a=ye(n,t.name,r);a<9&&i.push({id:e,label:n,kind:`library`,s:a})}return i.sort((e,t)=>e.s-t.s||(e.kind===t.kind?e.label.localeCompare(t.label):e.kind===`face`?-1:1)),{hits:i.slice(n,n+t).map(({id:e,label:t,kind:n})=>({id:e,label:t,kind:n})),total:i.length}}var xe={forgeqe:{title:`the Conductor`,body:`bowtie`,hand:`baton`},engine:{title:`the Pilot`,head:`goggles`},desktop:{title:`the Operator`,head:`headset`},mobile:{title:`the Tapper`,face:`round`,hand:`flashlight`},"forgeqe-test":{title:`the Coder`,head:`headphones`},"forgeqe-read":{title:`the Reader`,face:`round`,hand:`book`},"forgeqe-heal":{title:`the Medic`,head:`nurse`},"forgeqe-pr-review":{title:`the Inspector`,face:`square`,hand:`magnifier`},"forgeqe-find":{title:`the Seeker`,hand:`flashlight`},"forgeqe-defect-rca":{title:`the Detective`,head:`detective`},"forgeqe-judge":{title:`the Judge`,face:`monocle`,body:`bowtie`},"forgeqe-knowledge-agent":{title:`the Scholar`,head:`grad`},"forgeqe-tosca":{title:`the Builder`,head:`hardhat`},"forgeqe-responsive":{title:`the Fitter`,face:`square`,hand:`magnifier`},"forgeqe-data":{title:`the Miner`,head:`miner`},"forgeqe-migrate":{title:`the Traveller`,body:`scarf`},"forgeqe-review":{title:`the Engineer`,face:`square`,body:`tie`},"forgeqe-basal":{title:`the Strategist`,body:`tie`,hand:`clipboard`},"forgeqe-model-profile":{title:`the Critic`,head:`crown`},"forgeqe-persona":{title:`the Actor`,body:`badge`},"req-agent":{title:`the Editor`,head:`pencil`,face:`round`},"forgeqe-refine":{title:`the Polisher`,hand:`wand`},"forgeqe-api-plan":{title:`the Sketcher`,head:`pencil`},"forgeqe-test-plan":{title:`the Navigator`,hand:`clipboard`},"forgeqe-explore-plan":{title:`the Explorer`,head:`safari`},explore:{title:`the Scout`,body:`binoculars`},general:{title:`the Helper`,head:`beanie`},"forgeqe-api":{title:`the Messenger`,crest:`antenna`,hand:`envelope`},"forgeqe-perf":{title:`the Timekeeper`,face:`round`,hand:`clipboard`}},Se={forgeqe:{h:259,s:100,l:72},"forgeqe-find":{h:68,s:57,l:57},"forgeqe-test-plan":{h:2,s:78,l:68},"forgeqe-knowledge-agent":{h:186,s:97,l:39},"forgeqe-test":{h:271,s:69,l:83},engine:{h:170,s:78,l:50},"forgeqe-review":{h:243,s:99,l:79},"forgeqe-api":{h:20,s:83,l:77},"forgeqe-perf":{h:30,s:45,l:64},desktop:{h:141,s:45,l:50},mobile:{h:60,s:100,l:55},"forgeqe-pr-review":{h:308,s:51,l:65},"forgeqe-data":{h:217,s:94,l:69},"forgeqe-explore-plan":{h:198,s:81,l:73},"forgeqe-refine":{h:120,s:57,l:69},"forgeqe-persona":{h:308,s:94,l:80},"req-agent":{h:273,s:96,l:79},"forgeqe-heal":{h:44,s:83,l:58},"forgeqe-judge":{h:27,s:76,l:54},"forgeqe-api-plan":{h:171,s:58,l:69},"forgeqe-migrate":{h:342,s:55,l:74},"forgeqe-model-profile":{h:197,s:100,l:56},"forgeqe-defect-rca":{h:256,s:40,l:70},"forgeqe-tosca":{h:175,s:44,l:58},"forgeqe-responsive":{h:50,s:70,l:66},"forgeqe-basal":{h:172,s:56,l:34},explore:{h:36,s:83,l:55},general:{h:101,s:31,l:63},"forgeqe-read":{h:220,s:69,l:75}},Ce=[[240,88,62],[60,88,82],[300,88,62],[333,88,62],[228,68,62],[120,88,62],[87,88,72],[180,88,82],[261,88,62],[282,88,62],[48,58,77],[147,88,77],[300,88,72],[336,88,72],[12,88,72],[282,58,62],[0,88,62],[339,58,62],[315,78,62],[258,58,62],[339,68,82],[198,58,82],[231,58,67],[180,88,62],[129,88,72],[291,78,67],[84,58,72]].map(([e,t,n])=>({h:e,s:t,l:n})),we=re.length,Te=Ce.length-we,Ee={version:-1,of:new Map};function De(e){let t=re.indexOf(e);if(t>=0)return t;let n=ee();if(Ee.version!==n.version){let e=new Map,t=new Set;for(let r of n.ids){let n=Oe(r)%Te;for(let e=0;e<Te&&t.has(n);e++)n=(n+1)%Te;t.add(n),e.set(r,we+n)}Ee={version:n.version,of:e}}return Ee.of.get(e)??we+Oe(e)%Te}function Oe(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619)>>>0;return t}function ke(e){let t=e>>>0;return()=>{t=t+1831565813>>>0;let e=t;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}var Ae=[[`lively`,1.5],[`calm`,.65],[`curious`,1.1],[`shy`,.85],[`bouncy`,1.35],[`sleepy`,.7]],je=[`antenna`,`ears`,`sprout`,`horns`,`halo`,`tuft`],Me=new Map;function Ne(e){let t=Me.get(e);if(t)return t;let n=Oe(e),r=ke(n),[i,a]=Ae[Math.floor(r()*Ae.length)],o=Object.hasOwn(xe,e),s=o?xe[e]:{title:``},c={id:e,role:s,crest:s.crest??(o?null:je[n%je.length]),temper:i,energy:a,curiosity:i===`shy`?.5:i===`curious`?1:.75+r()*.2,sleepAfter:(i===`sleepy`?20:30)+r()*20,blinkEvery:2.2+r()*2.8,w:.94+r()*.14,hgt:.92+r()*.14,eyeGap:.3+r()*.07,eyeSize:.2+r()*.05,seed:n%1e3};return Me.set(e,c),c}var Pe=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;function Fe(e){let t=Pe.exec(e);if(!t)return[220,60];let[n,r,i]=[t[1],t[2],t[3]].map(e=>parseInt(e,16)/255),a=Math.max(n,r,i),o=Math.min(n,r,i),s=(a+o)*50;if(a===o)return[0,s];let c=a-o;return[(a===n?(r-i)/c+(r<i?6:0):a===r?(i-n)/c+2:(n-r)/c+4)*60,s]}function Ie(e,t){if(!Object.hasOwn(Se,e)){let n=Ce[De(e)];return t===`soft`?{h:n.h,l:n.l,s:n.s,soft:!0}:{h:n.h,l:Math.min(70,Math.max(55,n.l)),s:62,soft:!1}}if(t===`original`){let[t,n]=Fe(ne(e).hue);return{h:Math.round(t),l:Math.round(Math.min(70,Math.max(55,n))),s:62,soft:!1}}let n=Se[e];return{h:n.h,l:n.l,s:n.s,soft:!0}}var R=(e,t,n,r=1)=>`hsla(${(e%360+360)%360},${Math.max(0,Math.min(100,t))}%,${Math.max(0,Math.min(100,n))}%,${r})`,Le={accessibility:[`#5aa9e6`],"agents-hub":[`#4b5563`],"ai-assurance":[`#4b5563`],api:[`#4f86e0`,`#375e9d`],architecture:[`#a98bf3`],bell:[`#f6c48f`,`#c9742a`],board:[`#c3b5f5`,`#6a3fd6`],branch:[`#a6e39a`,`#749f6c`],"browser-agent":[`#c8dcf5`,`#6fa6e8`],bug:[`#f08a8a`],case:[`#6fd6aa`,`#4e9677`],chat:[`#8fb6f5`,`#3a76d0`],cloud:[`#b9d1f6`],code:[`#f3a6d8`,`#c2398f`],coins:[`#f3cf6e`,`#b8870f`],columns:[`#8fd1d8`,`#1f97a8`],container:[`#8fc9f2`,`#2a7fbf`],"context-engine":[`#d5c8fb`,`#6a3fd6`],database:[`#6fc9be`,`#1f8a7e`],desktop:[`#8fd1d8`,`#1f97a8`],download:[`#4f86e0`,`#2a5bbf`],explorer:[`#c8399a`,`#f6a7d8`],feature:[`#d9776a`],file:[`#b9d1f6`,`#3a76d0`],flask:[`#9ad9c0`,`#2f8a6b`],folder:[`#f2c46b`,`#b8860f`],healer:[`#cde67a`,`#86b02b`],history:[`#b7a4f5`,`#d0c4f8`,`#8073ac`],inbox:[`#8fc9f2`],info:[`#8fc9f2`,`#648da9`],key:[`#f2c46b`],"knowledge-base":[`#84c6d4`,`#1f8fa6`],layers:[`#8fb6f5`,`#b6d0f8`],mail:[`#f3a6a6`,`#f7c5c5`],mic:[`#8fb8f6`],mobile:[`#cbbdf7`,`#6a3fd6`],model:[`#9db8ff`,`#4a63d6`],network:[`#8fd6e3`,`#64969f`],orchestrator:[`#a98bf3`,`#6a3fd6`],palette:[`#e99ad2`,`#f1bde2`],plug:[`#f6c48f`,`#c9742a`],"pr-reviewer":[`#d77c88`],pulse:[`#f08a8a`],"quality-engineering":[`#4b5563`],replay:[`#3fb985`],report:[`#9ad9ec`,`#1c8fb2`],result:[`#5bb894`,`#94d1b9`],rocket:[`#b9d1f6`],route:[`#9ad9a0`,`#bde6c1`],rule:[`#f4e2b0`,`#c98b2a`],screenshot:[`#9ad9ec`,`#1c8fb2`],scribe:[`#5bb894`,`#2f8a6b`,`#94d1b9`,`#408168`],scroll:[`#e8cf9c`,`#a8701a`],server:[`#9ab3c9`],shield:[`#3a76d0`,`#8fb6f5`],sparkle:[`#c9b6f7`,`#8a5be6`],specs:[`#5bb894`,`#408168`],speed:[`#e0a23a`],stories:[`#b9d1f6`,`#3a76d0`],table:[`#9ad9a0`,`#2f8a3e`],terminal:[`#6f9ff0`],"test-finder":[`#8fdcef`,`#1f9fc0`],theme:[`#5b6bd6`,`#f5b83d`],ticket:[`#f6c48f`,`#c9742a`],trace:[`#6fb4c4`,`#a1ced9`],visual:[`#e99ad2`,`#a8287d`],wand:[`#c9b6f7`,`#dcd0fa`,`#8d7fad`],warning:[`#f6c84f`],web:[`#8edcf2`,`#22a0c4`],wikis:[`#e8cf9c`,`#c48a2a`],wrench:[`#a8b6c4`]},Re={record:`screenshot`,desktop:`desktop`,mobile:`mobile`,regression:`replay`,impact:`board`,"api-tests":`plug`,migration:`table`,tosca:`network`,quality:`columns`,flaky:`bug`,business:`info`,basal:`info`,"run-diff":`code`,"test-management":`ticket`,flags:`feature`,production:`web`,cost:`coins`,observability:`pulse`,explore:`sparkle`,readiness:`shield`,accessibility:`accessibility`,performance:`pulse`,visual:`visual`,responsive:`mobile`,requirements:`stories`,data:`container`,"test-data":`flask`,runs:`terminal`,reports:`report`,jobs:`speed`,knowledge:`knowledge-base`,product:`columns`,memory:`architecture`,guardrails:`shield`,skills:`feature`,prompts:`stories`,features:`branch`,"whats-new":`scroll`,help:`wikis`,theme:`theme`,settings:`desktop`,chats:`orchestrator`,agents:`board`,evidence:`flask`,"evidence-runs":`scroll`,"evidence-contracts":`file`,"evidence-review":`ticket`,"evidence-releases":`history`,"evidence-learn":`replay`,"evidence-monitor":`pulse`},ze={env:`web`,chat:`chat`,usage:`network`,commands:`terminal`,changes:`code`,outputs:`download`},Be=[`auto`,`plain`,`tiles`,`outline`,`mono`],Ve=[`phosphor`,`solar`,`lucide`,`3d`],He=`phosphor`,Ue=[`visor`,`classic`,`icons`],We=`visor`,Ge=[`soft`,`original`],Ke=`soft`,qe=e=>e.mascot&&Ue.includes(e.mascot)?e.mascot:We,Je=e=>e.mascotColours&&Ge.includes(e.mascotColours)?e.mascotColours:Ke,Ye=e=>e.iconSet&&Ve.includes(e.iconSet)?e.iconSet:He,Xe=e=>e.iconColour===`accent`?`accent`:V(e.iconColour)?`custom`:`text`,z=`#0f172a`,B=`#ffffff`,Ze={"--side-bg":`#f8fafc`,"--side-ink":`#0f172a`,"--side-ink-2":`#334155`,"--side-muted":`#5b6779`,"--side-active":`#f1f5f9`,"--side-line":`#e2e8f0`,"--side-line-soft":`#eef1f5`,"--side-icon":`#334155`},Qe={light:`#334155`,dark:`#c3c8d2`},$e={bg:`#e9eef4`,ink:`#0f172a`},et={"--color-accent":`#0284c7`,"--color-accent-hover":`#0369a1`,"--color-accent-soft":`#ebf5fb`,"--color-accent-line":`#b5dcf2`,"--color-accent-ink":B,"--color-accent-fg":`#006398`,"--color-accent-fg-hover":`#004b73`,"--color-accent-grad":`#7cc4ee`},tt=Ze[`--side-bg`],nt=`#111318`,rt={"--side-bg":`#16181e`,"--side-ink":`#e9ebf0`,"--side-ink-2":`#c3c8d2`,"--side-muted":`#8d95a5`,"--side-active":`#22252e`,"--side-line":`#2b303b`,"--side-line-soft":`#20232b`,"--side-icon":`#c3c8d2`},it={"--color-accent":`#0284c7`,"--color-accent-hover":`#0ea5e9`,"--color-accent-soft":`#0b2433`,"--color-accent-line":`#164e6e`,"--color-accent-ink":B,"--color-accent-fg":`#7cc4fa`,"--color-accent-fg-hover":`#b4dcfd`,"--color-accent-grad":`#93ccff`};function at(e,t=`light`){if(t===`dark`)return[rt[`--side-bg`]];let n=V(e.primary),r=V(e.gradient);return n||r?[n||tt,...r?[r]:[]]:[Ze[`--side-bg`]]}var ot=et[`--color-accent`];function V(e){let t=typeof e==`string`?e.trim().toLowerCase():``;if(/^#[0-9a-f]{6}$/.test(t))return t;if(/^#[0-9a-f]{3}$/.test(t))return`#${[...t.slice(1)].map(e=>e+e).join(``)}`}var st=e=>[1,3,5].map(t=>Number.parseInt(e.slice(t,t+2),16)),ct=e=>`#${e.map(e=>Math.round(Math.min(255,Math.max(0,e))).toString(16).padStart(2,`0`)).join(``)}`;function H(e,t,n){let r=st(e),i=st(t);return ct(r.map((e,t)=>e+(i[t]-e)*n))}function U(e){let[t,n,r]=st(e).map(e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4});return .2126*t+.7152*n+.0722*r}function W(e,t){let[n,r]=[U(e),U(t)].sort((e,t)=>t-e);return(n+.05)/(r+.05)}function G(...e){let t=t=>Math.min(...e.map(e=>W(t,e))),n=t(B)>t(z)?B:z;return t(n)>=4.5||t(n)>=t(`#000000`)?n:`#000000`}function K(e,t,n){let r=e;for(let i=0;i<=1&&Math.min(...n.map(e=>W(r,e)))<4.5;i+=.1)r=H(e,t,i);return r}var lt=.75;function ut(e,t=`light`){let n=V(e.background);return t===`light`&&n&&U(n)>=.75?n:void 0}var dt=[`--color-bg`,`--color-surface-muted`,`--color-surface-strong`,`--color-field`,`--color-line`,`--color-line-soft`,`--color-line-strong`,`--color-muted`];function ft(e,t=`light`){let n=ut(e,t);return n?{"--color-bg":n,"--color-surface-muted":H(n,z,.025),"--color-surface-strong":H(n,z,.05),"--color-field":H(n,z,.04),"--color-line":H(n,z,.1),"--color-line-soft":H(n,z,.065),"--color-line-strong":H(n,z,.18),"--color-muted":K(`#5b6779`,z,[n])}:{}}var pt=`#f3f4f6`,mt=`#1a1d24`;function ht(e,t=`light`){let n=V(e.primary);if(t===`dark`){let e=n?H(n,nt,.84):mt,t=G(e);return{"--card-bg":e,"--card-ink":t,"--card-ink-2":K(`#c3c8d2`,t,[e]),"--card-muted":K(`#8d95a5`,t,[e]),"--card-line":H(e,B,.14),"--card-line-soft":H(e,B,.09),"--card-hover":H(e,B,.05),"--card-strong":H(e,B,.09)}}let r=ut(e)||B,i=n?H(n,B,U(n)>=.6?.6:.94):pt,a=W(i,r)<1.06?H(n||i,z,.05):i,o=G(a),s=o===B?z:o;return{"--card-bg":a,"--card-ink":o,"--card-ink-2":o===B?K(H(a,B,.85),B,[a]):K(`#374151`,s,[a]),"--card-muted":o===B?K(H(a,B,.68),B,[a]):K(`#5b6779`,s,[a]),"--card-line":H(a,z,.1),"--card-line-soft":H(a,z,.06),"--card-hover":H(a,z,.04),"--card-strong":H(a,z,.07)}}var gt=e=>V(e.secondary)||(Xe(e)===`custom`&&Ye(e)!==`3d`?V(e.iconColour):void 0);function _t(e,t){let n=e===`dark`?nt:B;if(t.every(e=>W(e,n)>=1.03))return n;let r=t[0];return e===`dark`?H(r,B,.08):H(r,z,.06)}function vt(e,t=`light`){let n=V(e.primary),r=V(e.gradient),i=gt(e),a=t===`dark`?rt:Ze;if(t!==`dark`&&(n||r)){let e=n||tt,t=r?[e,r]:[e],i=G(...t),o=i===B,s=i===B?z:i,c=r?H(e,r,.5):e;a={"--side-bg":r?`linear-gradient(180deg, ${e}, ${r})`:e,"--side-ink":i,"--side-ink-2":o?K(H(c,B,.85),B,t):K(`#374151`,s,t),"--side-muted":o?K(H(c,B,.68),B,t):K(`#5b6779`,s,t),"--side-active":o?H(c,B,.16):H(c,z,.06),"--side-line":o?H(c,B,.22):H(c,z,.1),"--side-line-soft":o?H(c,B,.12):H(c,z,.06),"--side-icon":i}}let o=at(e,t),s=G(...o)===B,c=o.length>1?H(o[0],o[o.length-1],.5):o[0],l=i||ot,u=t!==`dark`&&!i&&!n&&!r,d=u?$e.bg:H(l,c,s?.7:.88);if(a={...a,"--side-current-bg":d,"--side-current-ink":u?$e.ink:s?K(H(l,B,.75),B,[d]):K(l,z,[d]),...i&&!n&&!r?{"--side-icon":s?K(H(i,B,.5),B,o):K(i,z,o)}:{}},a={...a,"--side-nest":_t(t,o)},t===`dark`){let s=i?bt(i,`dark`,nt):it;return yt({...a,...s,"--color-icon":Qe.dark,...ht(e,t)},o,!n&&!r)}let f=ut(e)||B,p=!i&&f!==B?K(et[`--color-accent`],z,[f]):void 0,m=i?bt(i,`light`,f):p?{...et,"--color-accent-fg":p,"--color-accent-fg-hover":H(p,z,.25)}:et;return yt({...a,...m,"--color-icon":K(Qe.light,z,[f]),...ht(e,t)},o,!n&&!r)}function yt(e,t,n){let r=e[`--color-icon`];return n&&t.every(e=>W(r,e)>=3)?{...e,"--side-icon":r}:e}function bt(e,t,n){let r=Ht(e),i=Pt.map(e=>r[e]),a=i.indexOf(e),o=i.length-1,s=e=>{let[t,n,r]=zt(e);return Vt(Math.min(t+.045,.97),n,r)},c=e=>{for(let t=a;t>=0&&t<=o;t+=e)if(W(i[t],n)>=4.5)return t;return e===1?o:0},l=xt(e);if(t===`dark`){let[,t,n]=zt(e),r=c(-1);return{"--color-accent":l.fill,"--color-accent-hover":l.ink===B?H(l.fill,z,.12):s(e),"--color-accent-soft":Vt(.26,t*.35,n),"--color-accent-line":Vt(.38,t*.6,n),"--color-accent-ink":l.ink,"--color-accent-fg":i[r],"--color-accent-fg-hover":i[Math.max(r-2,0)],"--color-accent-grad":i[3]}}let u=c(1);return{"--color-accent":l.fill,"--color-accent-hover":l.ink===B?H(l.fill,z,.12):s(e),"--color-accent-soft":W(i[0],n)<1.06?i[1]:i[0],"--color-accent-line":i[2],"--color-accent-ink":l.ink,"--color-accent-fg":i[u],"--color-accent-fg-hover":i[Math.min(u+2,o)],"--color-accent-grad":i[3]}}function xt(e){if(W(B,e)<3)return{fill:e,ink:G(e)};let t=e;for(let n=.02;W(B,t)<4.5&&n<=.6;n+=.02)t=H(e,z,n);return{fill:t,ink:B}}function St(e,t,n,r){let i=e;for(let a=.1;a<=1.001&&Math.min(...n.map(e=>W(i,e)))<r;a+=.1)i=H(e,t,a);return i}function Ct(e,t=`light`){let n=Xe(e);if(n===`text`||Ye(e)===`3d`)return{vars:{},moved:[]};let r=n===`accent`?V(e.secondary)||ot:V(e.iconColour),i=t===`dark`?nt:ut(e)||B,a=at(e,t),o=n===`accent`?vt(e,t)[`--color-accent-fg`]:St(r,t===`dark`?B:z,[i],3),s=St(r,G(...a),a,3),c=a.length>1?H(a[0],a[a.length-1],.5):a[0],l=[];return n!==`accent`&&o!==r&&l.push(`page`),s!==r&&l.push(`sidebar`),{vars:{"--icon-colour":o,"--side-icon-colour":s,"--icon-tint":H(o,i,Tt),"--side-icon-tint":H(s,c,Tt)},moved:l}}var wt=[`--icon-colour`,`--side-icon-colour`,`--icon-tint`,`--side-icon-tint`],Tt=.8;function Et(e){let t=vt(e),n=[V(e.primary)||tt,...V(e.gradient)?[V(e.gradient)]:[]],r=Math.min(...n.map(e=>W(t[`--side-ink`],e))),i=W(t[`--color-accent-ink`],t[`--color-accent`]),a=W(t[`--color-accent-fg`],ut(e)||B),o=e=>Math.round(e*10)/10;return[{label:`Sidebar text`,ratio:o(r),ok:r>=4.5},{label:`Button text`,ratio:o(i),ok:i>=4.5},{label:`Links on the page`,ratio:o(a),ok:a>=4.5}]}function Dt(e){let t={};for(let n of e.split(/\r?\n/)){let e=[...n.matchAll(/#(?:[0-9a-f]{6}|[0-9a-f]{3})\b/gi)].map(e=>V(e[0])).filter(Boolean);if(!e.length)continue;let r=n.toLowerCase();/gradient/.test(r)?(!t.gradient&&e.length>1&&(t.gradient=e.at(-1)),!t.primary&&/primary|brand|sidebar/.test(r)&&(t.primary=e[0])):/\b(page )?background\b|\bbg\b/.test(r)&&!/button|sidebar|accent|primary|secondary/.test(r)?!t.background&&U(e[0])>=.75&&(t.background=e[0]):!t.secondary&&/secondary|accent|button|\bcta\b/.test(r)?t.secondary=e[0]:!t.primary&&/primary|brand|sidebar/.test(r)&&(t.primary=e[0])}return t}function Ot(e,t=document.documentElement,n=`light`){t.dataset.mode=n;for(let[r,i]of Object.entries(vt(e,n)))t.style.setProperty(r,i);let r=ft(e,n);for(let e of dt)r[e]?t.style.setProperty(e,r[e]):t.style.removeProperty(e);let i=Ye(e);t.dataset.iconSet=i;let a=Nt(e,jt,n);t.dataset.icons=i===`3d`?a.style:`plain`,t.style.setProperty(`--icon-tile`,a.tile),t.style.setProperty(`--icon-outline`,a.outline),t.style.setProperty(`--icon-mono`,a.mono);let o=Ct(e,n).vars;t.dataset.iconFill=o[`--icon-colour`]?`colour`:`duotone`;for(let e of wt)o[e]?t.style.setProperty(e,o[e]):t.style.removeProperty(e)}function kt(e,t){if(!e)return null;let n=e.kind===`background`?1.6:2;if(!t.some(t=>W(e.colour,t)<n))return null;let r=t.length>1?H(t[0],t[t.length-1],.5):t[0];return G(...t)===B?H(r,B,.9):H(r,z,.85)}var At=e=>/^(ph|lucide):/.test(e),jt=[...new Set([...Object.values(Re),...te.map(e=>ne(e.agent).icon)])].filter(e=>!At(e)),Mt=(e,t)=>Math.max(1,...(Le[e]||[]).map(e=>W(e,t)));function Nt(e,t=jt,n=`light`){let r=at(e,n),i=r.length>1?H(r[0],r[1],.5):r[0],a=G(...r),o=(e,t)=>Math.min(...t.map(t=>Mt(e,t))),s=t.map(e=>({icon:e,ratio:Math.round(o(e,r)*100)/100})).filter(e=>e.ratio<2).sort((e,t)=>e.ratio-t.ratio),c=[H(i,B,.9),H(i,z,.82)],l=e=>Math.min(...t.map(t=>Mt(t,e))),u=c.find(e=>l(e)>=2)||c.reduce((e,t)=>l(t)>l(e)?t:e,c[0]),d=(e.iconStyle&&e.iconStyle!==`auto`&&Be.includes(e.iconStyle)?e.iconStyle:void 0)||(s.length?`tiles`:`plain`),f=d===`tiles`?l(u):Math.min(...d===`plain`?t.map(e=>o(e,r)):r.map(e=>W(a,e)));return{style:d,tile:u,outline:a,mono:a,faint:s,lowest:Math.round(f*100)/100}}var Pt=[50,100,200,300,400,500,600,700,800,900,950],Ft=[.975,.94,.88,.8,.71,.62,.53,.45,.37,.29,.21],It=[.12,.25,.45,.7,.9,1,1,.92,.8,.66,.5],Lt=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,Rt=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;function zt(e){let[t,n,r]=st(e).map(e=>Lt(e/255)),i=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*r),a=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*r),o=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*r),s=.2104542553*i+.793617785*a-.0040720468*o,c=1.9779984951*i-2.428592205*a+.4505937099*o,l=.0259040371*i+.7827717662*a-.808675766*o;return[s,Math.hypot(c,l),Math.atan2(l,c)]}function Bt(e,t,n){let r=t*Math.cos(n),i=t*Math.sin(n),a=(e+.3963377774*r+.2158037573*i)**3,o=(e-.1055613458*r-.0638541728*i)**3,s=(e-.0894841775*r-1.291485548*i)**3;return[4.0767416621*a-3.3077115913*o+.2309699292*s,-1.2684380046*a+2.6097574011*o-.3413193965*s,-.0041960863*a-.7034186147*o+1.707614701*s]}function Vt(e,t,n){let r=t,i=Bt(e,r,n);for(let t=0;t<24&&i.some(e=>e<-5e-4||e>1.0005);t++)i=Bt(e,r*=.85,n);return ct(i.map(e=>Rt(Math.min(1,Math.max(0,e)))*255))}function Ht(e){let t=V(e);if(!t)return;let[n,r,i]=zt(t),a=r<.01?0:r,o=Ft.reduce((e,t,r)=>Math.abs(t-n)<Math.abs(Ft[e]-n)?r:e,0),s={};return Pt.forEach((e,n)=>s[e]=n===o?t:Vt(Ft[n],a*It[n]/It[o],i)),s}var Ut=[`deep`,`light`];function Wt(e,t=`deep`){let n=Ht(e);if(!n)return;let r=V(e),i=[r,...Pt.filter(e=>zt(n[e])[0]<=zt(r)[0]+1e-9).map(e=>n[e])].find(e=>W(B,e)>=4.5)||n[700],a=U(n[50])>=.75?n[50]:B;return t===`light`?{primary:n[100],gradient:n[200],secondary:i,background:a}:{primary:n[800],gradient:n[950],secondary:i,background:a}}var Gt=`forgeqe-mode`,Kt=()=>{try{let e=localStorage.getItem(Gt);return e===`light`||e===`dark`?e:`system`}catch{return`system`}},qt=()=>typeof matchMedia==`function`&&matchMedia(`(prefers-color-scheme: dark)`).matches,Jt=(0,I.createContext)({theme:{},saved:{},reload:()=>{},preview:()=>{},mode:`light`,choice:`system`,setChoice:()=>{}});function Yt({children:e}){let[t,n]=(0,I.useState)({}),[r,i]=(0,I.useState)(null),[a,o]=(0,I.useState)(Kt),[s,c]=(0,I.useState)(qt),l=(0,I.useCallback)(()=>{ae.get().then(n,()=>{})},[]);(0,I.useEffect)(l,[l]),(0,I.useEffect)(()=>{if(typeof matchMedia!=`function`)return;let e=matchMedia(`(prefers-color-scheme: dark)`),t=()=>c(e.matches);return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[]);let u=(0,I.useCallback)(e=>{o(e);try{e===`system`?localStorage.removeItem(Gt):localStorage.setItem(Gt,e)}catch{}},[]),d=a===`system`?s?`dark`:`light`:a,f=r??t;k(f.agentNames),(0,I.useEffect)(()=>Ot(f,document.documentElement,d),[f,d]),(0,I.useEffect)(()=>N(f.appName),[f.appName]);let p=f.logoMark||f.logo;return(0,I.useEffect)(()=>{let e=document.querySelector(`link[rel="icon"][data-brand]`);if(!p)return void e?.remove();e||(e=document.createElement(`link`),e.rel=`icon`,e.dataset.brand=``,document.head.appendChild(e)),e.href=p},[p]),(0,L.jsx)(Jt.Provider,{value:{theme:f,saved:t,reload:l,preview:i,mode:d,choice:a,setChoice:u},children:(0,L.jsx)(oe.Provider,{value:Ye(f)===`lucide`?`lucide`:`phosphor`,children:e})})}var Xt=()=>(0,I.useContext)(Jt),Zt={forgeqe:[`......####...`,`......#..#...`,`......#......`,`......#......`,`...####......`,`..#####......`,`...###.......`],engine:[`..#########..`,`..#.#.#####..`,`..#########..`,`..#.......#..`,`..#.......#..`,`..#.......#..`,`..#########..`],desktop:[`..#########..`,`..#.......#..`,`..#.......#..`,`..#.......#..`,`..#########..`,`......#......`,`....#####....`],mobile:[`....#####....`,`....#...#....`,`....#...#....`,`....#...#....`,`....#...#....`,`....##.##....`,`....#####....`],"forgeqe-test":[`...#.....#...`,`..#....#..#..`,`.#....#....#.`,`#....#......#`,`.#..#......#.`,`..##......#..`,`...#.....#...`],"forgeqe-read":[`.###.....###.`,`#...#...#...#`,`#.#.#...#.#.#`,`#.#..#.#..#.#`,`#.#..#.#..#.#`,`#....#.#....#`,`.#####.#####.`],"forgeqe-heal":[`.....###.....`,`.....###.....`,`..#########..`,`..#########..`,`..#########..`,`.....###.....`,`.....###.....`],"forgeqe-pr-review":[`...........#.`,`..........##.`,`.........##..`,`#.......##...`,`.##....##....`,`..##..##.....`,`...####......`],"forgeqe-find":[`...####......`,`..#....#.....`,`..#....#.....`,`..#....#.....`,`...####......`,`......##.....`,`.......##....`],"forgeqe-defect-rca":[`..#.....#....`,`...#...#.....`,`..#######....`,`.#.#####.#...`,`..#######....`,`.#.#####.#...`,`...#...#.....`],"forgeqe-judge":[`......#......`,`.....###.....`,`#############`,`.###########.`,`...#######...`,`..####.####..`,`.##.......##.`],"forgeqe-knowledge-agent":[`....#####....`,`...#.....#...`,`...#.....#...`,`....#...#....`,`.....###.....`,`.....###.....`,`......#......`],"forgeqe-responsive":[`#######..###.`,`#.....#..#.#.`,`#.....#..#.#.`,`#######..#.#.`,`...#.....###.`,`..###........`,`.............`],"forgeqe-tosca":[`#############`,`.#.........#.`,`.#..#####..#.`,`.#.#.....#.#.`,`.##.......##.`,`.#.........#.`,`#############`],"forgeqe-data":[`...#######...`,`..#.......#..`,`..#########..`,`..#.......#..`,`..#########..`,`..#.......#..`,`...#######...`],"forgeqe-migrate":[`.......#.....`,`.......##....`,`#############`,`#############`,`.......##....`,`.......#.....`,`.............`],"forgeqe-review":[`....#.#.#....`,`...#######...`,`.###.....###.`,`..##..#..##..`,`.###.....###.`,`...#######...`,`....#.#.#....`],"forgeqe-basal":[`....###......`,`....###..###.`,`.##.###..###.`,`.##.###..###.`,`.##.###..###.`,`.##.###..###.`,`.............`],"forgeqe-model-profile":[`.........##..`,`.........##..`,`......#####..`,`......#####..`,`...########..`,`...########..`,`#############`],"req-agent":[`..#######....`,`..#.....#....`,`..#.###.#....`,`..#.....#.#..`,`..#.###.##.#.`,`..#......#.#.`,`..########.#.`],"forgeqe-persona":[`.....###.....`,`....#####....`,`....#####....`,`.....###.....`,`...#######...`,`..#########..`,`..#########..`],"forgeqe-refine":[`......#......`,`......#......`,`.....###.....`,`..#########..`,`.....###.....`,`......#......`,`......#......`],"forgeqe-api-plan":[`..#########..`,`..#.......#..`,`..#.##.##.#..`,`..#.......#..`,`..#.##.##.#..`,`..#.......#..`,`..#########..`],"forgeqe-test-plan":[`#.#####......`,`..........#..`,`.........#...`,`#.#####.##...`,`........#....`,`...........#.`,`#.#####......`],"forgeqe-explore-plan":[`..#..........`,`..#######....`,`..#########..`,`..#######....`,`..#..........`,`..#..........`,`.###.........`],explore:[`..###...###..`,`.#####.#####.`,`#..####...###`,`#..####...###`,`.#####.#####.`,`..###...###..`,`.............`],general:[`....#####....`,`...#.....#...`,`........#....`,`.......#.....`,`......#......`,`.............`,`......#......`],"forgeqe-perf":[`....#####....`,`..##.....##..`,`.#.......#.#.`,`#.......#...#`,`#......#....#`,`#.....#.....#`,`#############`],"forgeqe-api":[`..##.....##..`,`.#.........#.`,`.#.........#.`,`#...#.#.#...#`,`.#.........#.`,`.#.........#.`,`..##.....##..`]},Qt=new Map;function $t(e){if(!Object.hasOwn(Zt,e))return;let t=Qt.get(e);return t||(t=Zt[e].flatMap((e,t)=>[...e].flatMap((e,n)=>e===`#`?[[n,t]]:[])),Qt.set(e,t)),t}var en=[`searching`,`browsing`,`reading`,`writing`,`working`,`handing`];function tn(e){if(e)return en.includes(e)?e:Object.hasOwn(nn,e)?nn[e]:void 0}var nn={recording:`browsing`,retrying:`working`,compacting:`reading`},q=Math.PI*2,J=e=>e-Math.floor(e);function rn(e){return[.55+Math.cos(e*2.2)*.38,.08+Math.sin(e*4.4)*.2]}function an(e){let t=J(e/1.7);return t<.75?{p:t/.75,flying:!0}:{p:0,flying:!1}}function on(e){let t=e/.75;return{line:Math.floor(t)%3,along:J(t)}}function sn(e,t){if(e===`searching`){let[e,n]=rn(t);return[Math.max(-1,Math.min(1,e*1.1)),Math.max(-1,Math.min(1,n*1.6))]}if(e===`browsing`)return[.75+.15*Math.sin(t*1.4),.35];if(e===`reading`){let{line:e,along:n}=on(t);return[-.7+1.4*n,.55+e*.15]}if(e===`writing`)return[.55+.1*Math.sin(t*7),.75];if(e===`working`)return[.7,.45];let{p:n,flying:r}=an(t);return r?[Math.min(1,.3+n*1.2),.35-n*.15]:[.2,.3]}function cn(e,t,n,r,i,a,o,s){e.save(),e.lineCap=`round`,e.lineJoin=`round`;let c=R(o,35,s?82:28);t===`searching`?ln(e,n,r,i,a,c):t===`browsing`?un(e,n,r+a*1,i+a*.45,a*.42,s):t===`reading`?fn(e,n,r,i+a*1.02,a,o,s,c):t===`writing`?pn(e,n,r+a*.92,i+a*.62,a,s,c):t===`working`?hn(e,n,r+a*.92,i+a*.6,a,o,s):gn(e,n,r,i,a,s),e.restore()}function ln(e,t,n,r,i,a){let[o,s]=rn(t),c=n+o*i,l=r+s*i,u=i*.28;e.strokeStyle=R(28,45,38),e.lineWidth=i*.1,e.beginPath(),e.moveTo(c+u*.75,l+u*.75),e.lineTo(c+u*1.9,l+u*1.9),e.stroke(),e.fillStyle=`rgba(190,225,255,.38)`,e.beginPath(),e.arc(c,l,u,0,q),e.fill(),e.strokeStyle=a,e.lineWidth=i*.07,e.stroke(),e.strokeStyle=`rgba(255,255,255,.85)`,e.lineWidth=i*.035,e.beginPath(),e.arc(c,l,u*.62,1.1*Math.PI,1.45*Math.PI),e.stroke()}function un(e,t,n,r,i,a){let o=e.createRadialGradient(n-i*.35,r-i*.35,i*.1,n,r,i);o.addColorStop(0,R(200,75,a?70:78)),o.addColorStop(1,R(212,65,a?42:52)),e.fillStyle=o,e.beginPath(),e.arc(n,r,i,0,q),e.fill(),e.save(),e.beginPath(),e.arc(n,r,i,0,q),e.clip(),e.fillStyle=R(140,45,a?52:58,.85);for(let[a,o,s]of[[0,-.25,.42],[2.1,.3,.32],[4.2,-.05,.38]]){let c=a+t*1.6,l=Math.cos(c);l<-.1||(e.beginPath(),e.ellipse(n+Math.sin(c)*i*.8,r+o*i,i*s*Math.max(.15,l),i*s*.7,0,0,q),e.fill())}e.strokeStyle=`rgba(255,255,255,.55)`,e.lineWidth=Math.max(1,i*.07);for(let a=0;a<4;a++){let o=t*1.6+a*Math.PI/4;e.beginPath(),e.ellipse(n,r,Math.abs(Math.sin(o))*i,i,0,0,q),e.stroke()}for(let t of[-.5,0,.5])e.beginPath(),e.ellipse(n,r+t*i,i*Math.sqrt(1-t*t),i*.12,0,0,q),e.stroke();e.restore(),e.strokeStyle=R(212,50,a?80:35,.7),e.lineWidth=Math.max(1,i*.08),e.beginPath(),e.arc(n,r,i,0,q),e.stroke()}function dn(e,t,n){e.save(),e.beginPath(),e.arc(0,0,n*.98,0,q),e.clip(),e.strokeStyle=`rgba(255,255,255,.4)`,e.lineWidth=n*.035;for(let r=0;r<6;r++){let i=t*1.6+r*Math.PI/6,a=Math.cos(i);a<0||(e.globalAlpha=.35+.65*a,e.beginPath(),e.ellipse(0,0,Math.abs(Math.sin(i))*n,n,0,0,q),e.stroke())}e.globalAlpha=1,e.restore()}function fn(e,t,n,r,i,a,o,s){let c=i*.6,l=i*.42,u=i*.08;e.fillStyle=R(a,50,o?45:52),e.beginPath(),e.moveTo(n-c-i*.04,r-l*.5+u),e.lineTo(n,r-l*.5+i*.04),e.lineTo(n+c+i*.04,r-l*.5+u),e.lineTo(n+c+i*.04,r+l*.5+u+i*.05),e.lineTo(n,r+l*.5+i*.09),e.lineTo(n-c-i*.04,r+l*.5+u+i*.05),e.closePath(),e.fill();let d=t=>{e.beginPath(),e.moveTo(n,r-l*.5),e.lineTo(n+t*c,r-l*.5+u),e.lineTo(n+t*c,r+l*.5+u),e.lineTo(n,r+l*.5),e.closePath()};e.fillStyle=o?`#e9e6f2`:`#fffdf8`;for(let t of[-1,1])d(t),e.fill();let{line:f,along:p}=on(t);e.lineWidth=i*.035;for(let t of[-1,1])for(let i=0;i<3;i++){let a=r-l*.22+i*l*.24,o=n+t*c*.15,s=n+t*c*.85;e.strokeStyle=`rgba(90,95,120,.35)`,e.beginPath(),e.moveTo(o,a+u*.4),e.lineTo(s,a+u*.9),e.stroke()}let m=-1+2*p,h=m<0?-1:1,g=r-l*.22+f*l*.24;e.strokeStyle=s,e.beginPath(),e.moveTo(n+h*c*.15,g+u*.4),e.lineTo(n+h*c*(.15+.7*Math.min(1,Math.abs(m))),g+u*(.4+.5*Math.min(1,Math.abs(m)))),e.stroke();let _=J(t/2.25);if(_>.78){let t=(_-.78)/.22,a=Math.cos(t*Math.PI);e.fillStyle=o?`#f4f2fa`:`#ffffff`,e.strokeStyle=`rgba(90,95,120,.3)`,e.lineWidth=i*.02,e.beginPath(),e.moveTo(n,r-l*.5),e.lineTo(n+a*c,r-l*.5+u-Math.sin(t*Math.PI)*i*.2),e.lineTo(n+a*c,r+l*.5+u-Math.sin(t*Math.PI)*i*.2),e.lineTo(n,r+l*.5),e.closePath(),e.fill(),e.stroke()}e.strokeStyle=`rgba(90,95,120,.45)`,e.lineWidth=i*.025,e.beginPath(),e.moveTo(n,r-l*.5),e.lineTo(n,r+l*.5),e.stroke()}function pn(e,t,n,r,i,a,o){let s=i*.66,c=i*.78;e.save(),e.translate(n,r),e.rotate(-.12),e.fillStyle=a?`#ece9f4`:`#fffdf6`,e.strokeStyle=`rgba(90,95,120,.35)`,e.lineWidth=i*.025,e.beginPath(),e.roundRect(-s/2,-c/2,s,c,i*.05),e.fill(),e.stroke(),e.fillStyle=R(350,55,62),e.fillRect(-s/2,-c/2,s,c*.13);let l=J(t/4)*4,u=Math.floor(l);e.strokeStyle=o,e.lineWidth=i*.035;let d=-s*.32,f=-c*.18;for(let t=0;t<=Math.min(u,3);t++){let n=-c*.18+t*c*.18,r=t<u?1:l-u,a=-s*.32+s*.64*r;e.beginPath();for(let r=0;r<=8;r++){let o=-s*.32+(a+s*.32)*(r/8),c=n+Math.sin(r*2.3+t)*i*.018;r?e.lineTo(o,c):e.moveTo(o,c)}e.stroke(),[d,f]=[a,n]}let p=Math.sin(t*22)*i*.02;e.translate(d+p,f),e.rotate(-.7),e.fillStyle=R(45,90,60),e.fillRect(0,-i*.045,i*.42,i*.09),e.fillStyle=R(25,50,75),e.beginPath(),e.moveTo(0,-i*.045),e.lineTo(-i*.1,0),e.lineTo(0,i*.045),e.fill(),e.fillStyle=R(350,60,70),e.fillRect(i*.42,-i*.045,i*.07,i*.09),e.restore()}function mn(e,t,n,r,i,a){e.beginPath();for(let o=0;o<i*2;o++){let s=a+o*Math.PI/i,c=a+(o+1)*Math.PI/i,l=o%2?r*.78:r;e.lineTo(t+Math.cos(s)*l,n+Math.sin(s)*l),e.lineTo(t+Math.cos(c)*l,n+Math.sin(c)*l)}e.closePath(),e.fill(),e.fillStyle=`rgba(255,255,255,.75)`,e.beginPath(),e.arc(t,n,r*.3,0,q),e.fill()}function hn(e,t,n,r,i,a,o){let s=i*.38,c=i*.25;e.fillStyle=R(a,25,o?72:50),mn(e,n,r,s,8,t*1.4),e.fillStyle=R(a+30,30,62),mn(e,n+s*.82,r-s*.95,c,6,-t*1.4*(8/6)+.2)}function gn(e,t,n,r,i,a){let{p:o,flying:s}=an(t);if(!s)return;let c=1-(1-o)**2,l=n+i*(.45+c*1.05),u=r+i*(.45-Math.sin(o*Math.PI)*.35),d=i*.4;e.globalAlpha=o>.8?(1-o)/.2:1,e.strokeStyle=a?`rgba(220,225,240,.5)`:`rgba(90,95,120,.35)`,e.lineWidth=i*.03;for(let t of[-.25,0,.25])e.beginPath(),e.moveTo(l-d*.7-i*.12,u+t*d),e.lineTo(l-d*.7-i*(.12+.25*c),u+t*d),e.stroke();e.translate(l,u),e.rotate(Math.sin(o*Math.PI)*.25),e.fillStyle=R(32,55,a?55:64),e.beginPath(),e.roundRect(-d/2,-d/2,d,d*.85,d*.08),e.fill(),e.fillStyle=R(32,40,a?75:82),e.fillRect(-d*.08,-d/2,d*.16,d*.85),e.globalAlpha=1}function _n(e,t,n,r,i,a,o){let s=o?`rgba(235,236,248,.92)`:`rgba(255,255,255,.95)`,c=R(a,30,o?70:72,.8),l=n+i*.98,u=r-i*1.05,d=Math.sin(t*1.8)*i*.04;e.save(),e.fillStyle=s,e.strokeStyle=c,e.lineWidth=i*.03;for(let[t,a,o]of[[.42,.62,.05],[.25,.38,.08]])e.beginPath(),e.arc(n+i*t,r-i*a+d*.5,i*o,0,q),e.fill(),e.stroke();e.beginPath();for(let[t,n,r]of[[-.2,.04,.17],[0,-.1,.2],[.2,.02,.17],[.02,.1,.18]])e.moveTo(l+i*t+i*r,u+i*n+d),e.arc(l+i*t,u+i*n+d,i*r,0,q);e.fill(),e.stroke(),e.fillStyle=s;for(let[t,n,r]of[[-.2,.04,.15],[0,-.1,.18],[.2,.02,.15],[.02,.1,.16]])e.beginPath(),e.arc(l+i*t,u+i*n+d,i*r,0,q),e.fill();let f=Math.floor(t*2.5)%4;e.fillStyle=R(a,45,45);for(let t=0;t<3;t++)e.globalAlpha=t<f?1:.2,e.beginPath(),e.arc(l+i*(t-1)*.15,u+d,i*.045,0,q),e.fill();e.restore()}function vn(e,t,n,r,i,a){let o=r*.24,s=r-o-r*.01,c=r-o-r*.01,l=Math.max(1,o*.16);if(e.save(),e.lineCap=`round`,e.lineJoin=`round`,t===`browsing`){un(e,n,s,c,o,a),e.restore();return}e.fillStyle=a?`#23242d`:`#ffffff`,e.strokeStyle=R(i,45,a?60:72),e.lineWidth=Math.max(1,o*.12),e.beginPath(),e.arc(s,c,o,0,q),e.fill(),e.stroke(),e.beginPath(),e.arc(s,c,o*.92,0,q),e.clip();let u=R(i,40,a?82:32);if(t===`searching`){let t=s-o*.12+Math.cos(n*3.2)*o*.18,r=c-o*.12+Math.sin(n*3.2)*o*.18;e.strokeStyle=R(28,45,42),e.lineWidth=l*1.3,e.beginPath(),e.moveTo(t+o*.28,r+o*.28),e.lineTo(t+o*.62,r+o*.62),e.stroke(),e.fillStyle=`rgba(170,215,255,.55)`,e.strokeStyle=u,e.lineWidth=l,e.beginPath(),e.arc(t,r,o*.38,0,q),e.fill(),e.stroke()}else if(t===`reading`){let t=o*.62,r=o*.62,i=o*.12,d=c-r/2;e.fillStyle=a?`#f1eff8`:`#ffffff`,e.strokeStyle=u,e.lineWidth=Math.max(1,l*.8);for(let n of[-1,1])e.beginPath(),e.moveTo(s,d),e.lineTo(s+n*t,d+i),e.lineTo(s+n*t,d+r+i),e.lineTo(s,d+r),e.closePath(),e.fill(),e.stroke();let f=J(n/1.4);if(f<.6){let n=Math.cos(f/.6*Math.PI),a=Math.sin(f/.6*Math.PI)*o*.25;e.beginPath(),e.moveTo(s,d),e.lineTo(s+n*t,d+i-a),e.lineTo(s+n*t,d+r+i-a),e.lineTo(s,d+r),e.closePath(),e.fill(),e.stroke()}}else if(t===`writing`){let t=J(n/1.6),r=s-o*.55,i=r+o*1.1*t,a=c+o*.42;e.strokeStyle=u,e.lineWidth=Math.max(1,l*.8),e.beginPath();for(let t=0;t<=10;t++){let n=r+(i-r)*(t/10),s=a+Math.sin(t*2.4)*o*.06;t?e.lineTo(n,s):e.moveTo(n,s)}e.stroke(),e.translate(i,a-o*.05+Math.sin(n*24)*o*.05),e.rotate(-.85),e.fillStyle=R(45,90,58),e.fillRect(o*.08,-o*.13,o*.85,o*.26),e.fillStyle=R(25,50,70),e.beginPath(),e.moveTo(o*.08,-o*.13),e.lineTo(-o*.12,0),e.lineTo(o*.08,o*.13),e.fill()}else if(t===`working`)e.fillStyle=R(i,30,a?70:45),mn(e,s,c,o*.72,7,n*2);else{let t=J(n/1.1),r=s-o*.75+t*o*1.5,i=o*.6;e.globalAlpha=t>.75?(1-t)/.25:t<.15?t/.15:1,e.fillStyle=R(32,55,a?58:60),e.fillRect(r-i/2,c-i/2,i,i),e.fillStyle=R(32,40,a?80:84),e.fillRect(r-i*.09,c-i/2,i*.18,i),e.globalAlpha=1}e.restore()}var yn=(e,t,n)=>Math.max(t,Math.min(n,e));function bn(e){if(e.symbol)return{lit:e.symbol.cells.filter(([,t])=>t<e.symbol.rows),pink:[]};let t=[],n=(e,n)=>{e>=0&&e<13&&n>=0&&n<7&&t.push([e,n])},r=yn(Math.round(e.gx*1.5),-1,1),i=yn(Math.round(e.gy*1.5),-1,1),a=`open`;e.expr===`sleep`?a=`sleep`:e.expr===`joy`?a=e.heart?`heart`:`happy`:e.expr===`surprised`?a=`wide`:e.expr===`concern`?a=`worried`:e.expr===`angry`?[a,i]=[`cross`,0]:e.expr===`frustrated`?[a,r,i]=[`flat`,-1,0]:e.expr===`think`&&([r,i]=[1,-1]),a===`open`&&(a=e.open<.15?`closed`:e.open<.72||e.expr===`drowsy`?`half`:`open`);let o=1+i;for(let e of[3,8]){let t=e+r;if(a===`open`)for(let e of[0,1])for(let r of[0,1,2])n(t+e,o+r);if(a===`half`||a===`worried`||a===`cross`)for(let e of[0,1])for(let r of[1,2])n(t+e,o+r);if(a===`worried`&&(e===3?(n(t,o),n(t+1,o-1)):(n(t,o-1),n(t+1,o))),a===`cross`&&(e===3?(n(t,o-1),n(t+1,o)):(n(t,o),n(t+1,o-1))),a===`flat`){for(let e=-1;e<=2;e++)n(t+e,o+1);n(t,o+2),n(t+1,o+2)}if(a===`closed`&&(n(t,o+2),n(t+1,o+2)),a===`happy`&&(n(t-1,o+2),n(t,o+1),n(t+1,o+1),n(t+2,o+2)),a===`sleep`&&(n(t-1,o+1),n(t,o+2),n(t+1,o+2),n(t+2,o+1)),a===`wide`){for(let e of[0,1])for(let r of[0,1,2])n(t+e,o+r);n(t-1,o+1),n(t+2,o+1)}if(a===`heart`){n(t-1,o),n(t+2,o);for(let e=-1;e<=2;e++)n(t+e,o+1);n(t,o+2),n(t+1,o+2)}}let s=e=>e.forEach(([e,t])=>n(e,t));if(e.yawn>.3)s([[5,4],[6,4],[7,4],[5,5],[7,5],[5,6],[6,6],[7,6]]);else if(e.expr===`talk`){let t=e.mouth;s(t<.12?[[5,6],[6,6],[7,6]]:t<.4?[[4,6],[5,6],[6,6],[7,6],[8,6]]:t<.7?[[5,5],[6,5],[7,5],[5,6],[6,6],[7,6]]:[[4,5],[5,5],[6,5],[7,5],[8,5],[4,6],[5,6],[6,6],[7,6],[8,6]])}else if(e.expr===`joy`)s([[4,5],[5,6],[6,6],[7,6],[8,5]]);else if(e.expr===`concern`)s([[5,6],[6,5],[7,6]]);else if(e.expr===`angry`)s([[4,6],[5,5],[6,5],[7,5],[8,6]]);else if(e.expr===`frustrated`)s([[4,6],[5,5],[6,6],[7,5],[8,6]]);else if(e.expr===`surprised`)s([[5,5],[6,5],[7,5],[5,6],[7,6]]);else if(e.expr===`think`){let t=Math.floor(e.t*3)%4;[[5,6],[6,6],[7,6]].forEach(([e,r],i)=>i<t&&n(e,r))}else e.expr===`sleep`?n(6,6):e.expr===`drowsy`?s([[5,6],[6,6],[7,6]]):s([[5,5],[6,6],[7,5]]);return{lit:t,pink:e.blush>.45&&e.expr!==`sleep`?[[1,4],[2,4],[10,4],[11,4]]:[]}}var Y=Math.PI*2,xn=new Map,Sn=new Map;function Cn(e){let t=Math.round(e*100),n=Sn.get(t);if(!n){let r=e*1.42,i=e*.98;n=new Path2D,n.moveTo(-r*.5,0),n.bezierCurveTo(-r*.5,i*.42,-r*.3,i*.52,0,i*.52),n.bezierCurveTo(r*.3,i*.52,r*.5,i*.42,r*.5,0),n.bezierCurveTo(r*.5,-i*.32,r*.44,-i*.5,r*.28,-i*.5),n.bezierCurveTo(r*.14,-i*.5,r*.1,-i*.36,0,-i*.36),n.bezierCurveTo(-r*.1,-i*.36,-r*.14,-i*.5,-r*.28,-i*.5),n.bezierCurveTo(-r*.44,-i*.5,-r*.5,-i*.32,-r*.5,0),Sn.set(t,n)}return n}function X(e,t,n,r,i,a,o){let s=`${e}|${t}|${n}|${r}|${i.toFixed(1)}|${a}|${o}`,c=xn.get(s);if(c)return c;let l=document.createElement(`canvas`),u=l.getContext(`2d`),d=(e,t)=>{l.width=Math.ceil(e*o),l.height=Math.ceil(t*o),l.w=e,l.h=t,u.scale(o,o)},f=a?R(t,60,97):R(t,n,90),p=R(t,n,a?88:82),m=R(t,n,r);if(e===`shadow`){let e=i;d(e*1.8,e*.5);let t=u.createRadialGradient(e*.9,e*.9,0,e*.9,e*.9,e*.9);t.addColorStop(0,a?`rgba(0,0,0,.45)`:`rgba(60,55,90,.18)`),t.addColorStop(1,`rgba(60,55,90,0)`),u.fillStyle=t,u.scale(1,.28),u.beginPath(),u.arc(e*.9,e*.9,e*.9,0,Y),u.fill()}if(e===`sphere`){let e=i,o=e*2.7;d(o,o),u.translate(o/2,o/2);let s=new Path2D;s.arc(0,0,e,0,Y);let c=u.createLinearGradient(0,-e,0,e*.95);c.addColorStop(0,f),c.addColorStop(.45,p),c.addColorStop(1,m),u.save(),u.shadowColor=a?`rgba(0,0,0,.4)`:`rgba(60,50,110,.22)`,u.shadowBlur=e*.22,u.shadowOffsetY=e*.08,u.fillStyle=c,u.fill(s),u.restore(),u.save(),u.clip(s);let l=u.createRadialGradient(e*.35,e*.55,0,e*.35,e*.55,e*1.1);l.addColorStop(0,R(t,n*.8,r-10,.35)),l.addColorStop(1,R(t,n,r,0)),u.fillStyle=l,u.fillRect(-e*2,-e*2,e*4,e*4);let h=u.createRadialGradient(-e*.34,-e*.62,0,-e*.34,-e*.62,e*.6);h.addColorStop(0,`rgba(255,255,255,.75)`),h.addColorStop(1,`rgba(255,255,255,0)`),u.fillStyle=h,u.fillRect(-e*2,-e*2,e*4,e*4),u.strokeStyle=`rgba(255,255,255,.45)`,u.lineWidth=e*.04,u.stroke(s),u.restore()}if(e===`visor`||e===`gloss`){let n=i,r=n*1.42,a=n*.98,o=n*.45;d(r+o*2,a+o*2),u.translate(l.w/2,l.h/2);let s=Cn(n);if(e===`visor`){u.save(),u.shadowColor=`rgba(40,35,60,.22)`,u.shadowBlur=n*.18,u.shadowOffsetY=n*.06,u.fillStyle=R(t,18,15),u.fill(s),u.restore();let e=u.createRadialGradient(0,a*.05,0,0,a*.05,r*.62);e.addColorStop(0,R(t,20,24)),e.addColorStop(1,R(t,18,15)),u.fillStyle=e,u.fill(s),u.save(),u.clip(s);let i=r/14.2;u.fillStyle=`rgba(255,255,255,.06)`;for(let e=0;e<13;e++)for(let t=0;t<7;t++){let n=i*.72;u.beginPath(),u.roundRect((e-6)*i-n/2,(t-3)*i+a*.02-n/2,n,n,n*.26),u.fill()}u.restore(),u.strokeStyle=`rgba(255,255,255,.14)`,u.lineWidth=n*.02,u.stroke(s)}else{u.save(),u.clip(s);let e=u.createLinearGradient(0,-a*.5,0,a*.1);e.addColorStop(0,`rgba(255,255,255,.14)`),e.addColorStop(1,`rgba(255,255,255,0)`),u.fillStyle=e,u.fillRect(-r,-a,r*2,a*1.1),u.restore()}}if(e===`glow`){let e=i*2.6;d(e,e);let n=u.createRadialGradient(e/2,e/2,0,e/2,e/2,e/2);n.addColorStop(0,R(t,80,86,.75)),n.addColorStop(.35,R(t,75,80,.32)),n.addColorStop(1,R(t,70,75,0)),u.fillStyle=n,u.fillRect(0,0,e,e)}return xn.set(s,l),xn.size>600&&xn.delete(xn.keys().next().value),l}function wn(e,t,n,r,i){for(let a of t.parts)if(e.globalAlpha=1-a.life/a.max,a.kind===`heart`){let t=n*.13*a.s;e.fillStyle=`#f7a8c4`,e.beginPath(),e.moveTo(a.x,a.y+t*.9),e.bezierCurveTo(a.x-t*1.6,a.y-t*.2,a.x-t*.6,a.y-t*1.4,a.x,a.y-t*.4),e.bezierCurveTo(a.x+t*.6,a.y-t*1.4,a.x+t*1.6,a.y-t*.2,a.x,a.y+t*.9),e.fill()}else if(a.kind===`puff`)e.fillStyle=`rgba(200,205,215,.85)`,e.beginPath(),e.arc(a.x,a.y,n*.07*a.s*(1+a.life*1.2),0,Y),e.fill();else if(a.kind===`drop`){let t=n*.09*a.s;e.fillStyle=`#8fc8f2`,e.beginPath(),e.moveTo(a.x,a.y-t*1.6),e.quadraticCurveTo(a.x+t,a.y-t*.2,a.x,a.y+t*.8),e.quadraticCurveTo(a.x-t,a.y-t*.2,a.x,a.y-t*1.6),e.fill()}else if(a.kind===`z`)e.fillStyle=r,e.font=`700 ${n*.32*a.s*(1+a.life*.3)}px "Geist", sans-serif`,e.fillText(`z`,a.x,a.y);else{let t=n*.1*a.s;e.fillStyle=i,e.beginPath();for(let n=0;n<8;n++){let r=n%2?t*.3:t,i=n*Math.PI/4+a.life*2;e.lineTo(a.x+Math.cos(i)*r,a.y+Math.sin(i)*r)}e.fill()}e.globalAlpha=1}function Tn(e){let t=e.ctx,n=e.px,{colour:r,full:i,dark:a,persona:o}=e.props,s=e.time(),c=e.dpr,l=r.h,u=r.s,d=r.l;t.clearRect(0,0,n,n);let f=i?n*.3:n*.44,p=n/2,m=i?e.sleeping?f*.08+Math.sin(s*1.3)*f*.02:Math.sin(s*Y/(2.8/Math.sqrt(o.energy))+o.seed)*f*.06:0,h=i?n*.45:n*.5,g=i?e.hop*f*.32-m:e.hop*f*.08;if(i){let e=Math.max(.35,Math.min(1,1-(g+f*.1)/(f*1.2))),n=X(`shadow`,l,u,d,f,a,c);t.drawImage(n,p-n.w*e/2,h+f*1.38-n.h*e/2,n.w*e,n.h*e)}t.save(),t.translate(p+e.lean*f*(i?.18:.05),h-g),t.rotate(e.lean*(i?.12:.07));let _=i?e.sq:1+(e.sq-1)*.6;t.scale(1/Math.sqrt(Math.max(.6,_)),_);let v=X(`sphere`,l,u,d,f,a,c);t.drawImage(v,-v.w/2,-v.h/2,v.w,v.h);let y=i?e.activity():null;y===`browsing`&&dn(t,s,f);let b=!i&&n<22,x=b?f*.86:f,S=x*1.42,C=x*.98,w=e.gx*f*.08,T=-f*.02+e.gy*f*.06,E=X(`visor`,l,u,d,x,a,c);t.drawImage(E,w-E.w/2,T-E.h/2,E.w,E.h),t.save(),t.translate(w,T),t.clip(Cn(x));let D=S/14.2*(b?1.3:1),O=(e,t)=>[(e-6)*D,(t-3)*D+C*.02],k=(e,n,r)=>{let[i,a]=O(e,n);t.beginPath(),t.roundRect(i-r/2,a-r/2,r,r,r*.26),t.fill()},A=$t(o.id),j=bn({expr:e.expr,gx:e.gx,gy:e.gy,open:e.open,mouth:e.mouth,yawn:e.yawn,blush:e.blush,heart:s<e.heartUntil,t:s,...e.symbolAt!==null&&A?{symbol:{cells:A,rows:Math.min(7,(s-e.symbolAt)*16)}}:{}});if(j.pink.length){t.fillStyle=`rgba(255,182,206,${Math.min(1,e.blush)*.7})`;for(let[e,t]of j.pink)k(e,t,D*.72)}let M=X(`glow`,l,u,d,D,a,c),N=D*2.6;for(let[e,n]of b?[]:j.lit){let[r,i]=O(e,n);t.drawImage(M,r-N/2,i-N/2,N,N)}let P=Math.max(0,Math.min(1,e.heat));t.fillStyle=P>.02?`rgb(255,${Math.round(255-140*P)},${Math.round(255-150*P)})`:`#fff`;for(let[e,t]of j.lit)k(e,t,D*(b?.92:.74));t.restore();let F=X(`gloss`,l,u,d,x,a,c);t.drawImage(F,w-F.w/2,T-F.h/2,F.w,F.h),t.restore(),y&&cn(t,y,s,p+e.lean*f*.18,h-g,f,l,a);let ee=!i&&n>=20?e.activity():null;ee&&vn(t,ee,s,n,l,a),i&&e.mode===`thinking`&&!e.sleeping&&!e.feelingNow()&&_n(t,s,p,h-g,f,l,a),wn(t,e,f,R(l,60,a?80:55),R(l,55,80))}function En(e){let t=e.ctx,n=e.px,{colour:r,dark:i,persona:a}=e.props,o=e.time(),s=r.soft,c=r.h;t.clearRect(0,0,n,n);let l=n*(n<40?.31:.27),u=n/2,d=n*(n<40?.56:.6),f=e.hop*l*.32,p=1-Math.min(.55,f/l*1.4);t.fillStyle=i?`rgba(0,0,0,.35)`:`rgba(20,25,40,.10)`,t.beginPath(),t.ellipse(u,d+l*.98,l*.72*p,l*.12*p,0,0,Y),t.fill(),t.save(),t.translate(u+e.lean*l*.18,d-f),t.rotate(e.lean*.15);let m=e.sq;t.scale(1/Math.sqrt(Math.max(.6,m))*a.w,m*a.hgt);let h=R(c,45,i?12:16),g=e.expr===`joy`?Math.abs(Math.sin(o*10))*l*.07:0;t.fillStyle=s?R(c,r.s*.65,Math.min(64,r.l)):R(c,62,i?44:48);for(let e of[-1,1])t.beginPath(),t.ellipse(e*l*.42,l*.88-(e>0?g:0),l*.23,l*.12,0,0,Y),t.fill();if(a.crest===`ears`)for(let n of[-1,1])t.save(),t.translate(n*l*.56,-l*.72),t.rotate(n*(.45+e.ant*.5)),t.fillStyle=s?R(c,45,74):R(c,70,52),t.beginPath(),t.ellipse(0,-l*.2,l*.2,l*.34,0,0,Y),t.fill(),t.fillStyle=R(c+330,70,84,.85),t.beginPath(),t.ellipse(0,-l*.17,l*.1,l*.22,0,0,Y),t.fill(),t.restore();a.crest===`halo`&&(t.strokeStyle=R(48,80,72,.9),t.lineWidth=l*.07,t.beginPath(),t.ellipse(e.ant*l*.2,-l*1.3+Math.sin(o*1.6)*l*.04,l*.44,l*.11,e.ant*.3,0,Y),t.stroke());let _=new Path2D;_.moveTo(0,-l),_.bezierCurveTo(l*.64,-l,l,-l*.55,l,l*.06),_.bezierCurveTo(l,l*.62,l*.62,l*.92,0,l*.92),_.bezierCurveTo(-l*.62,l*.92,-l,l*.62,-l,l*.06),_.bezierCurveTo(-l,-l*.55,-l*.64,-l,0,-l);let v=t.createRadialGradient(-l*.38,-l*.52,l*.08,0,0,l*1.25);s?(v.addColorStop(0,R(c,r.s*.9,93)),v.addColorStop(.5,R(c,r.s*.8,80)),v.addColorStop(1,R(c,r.s*.75,Math.min(66,r.l)))):(v.addColorStop(0,R(c,85,i?82:84)),v.addColorStop(.5,R(c,72,i?62:64)),v.addColorStop(1,R(c,68,i?40:48))),t.fillStyle=v,t.fill(_),t.save(),t.clip(_),t.fillStyle=R(c,60,90,.28),t.beginPath(),t.ellipse(0,l*.6,l*.5,l*.3,0,0,Y),t.fill();let y=t.createRadialGradient(-l*.42,-l*.55,0,-l*.42,-l*.55,l*.45);if(y.addColorStop(0,`rgba(255,255,255,.55)`),y.addColorStop(1,`rgba(255,255,255,0)`),t.fillStyle=y,t.fillRect(-l*2,-l*2,l*4,l*4),t.restore(),a.crest===`antenna`){let n=e.ant,r=l*.48,i=-l*.96,a=Math.sin(n)*r,o=i-Math.cos(n)*r;t.strokeStyle=R(c,s?35:55,s?55:38),t.lineWidth=l*.05,t.lineCap=`round`,t.beginPath(),t.moveTo(0,i),t.quadraticCurveTo(Math.sin(n)*r*.2,i-r*.6,a,o),t.stroke(),t.fillStyle=R(c+40,s?60:90,s?80:74),t.beginPath(),t.arc(a,o,l*.11,0,Y),t.fill()}if(a.crest===`sprout`){t.save(),t.translate(0,-l*.95),t.rotate(e.ant*.8),t.strokeStyle=R(120,40,40),t.lineWidth=l*.05,t.beginPath(),t.moveTo(0,0),t.lineTo(0,-l*.22),t.stroke();for(let e of[-1,1])t.save(),t.translate(0,-l*.22),t.rotate(e*(.9+Math.sin(o*2+e)*.08)),t.fillStyle=R(118,s?40:55,e<0?58:64),t.beginPath(),t.ellipse(0,-l*.15,l*.08,l*.17,0,0,Y),t.fill(),t.restore();t.restore()}if(a.crest===`horns`)for(let n of[-1,1])t.save(),t.translate(n*l*.42,-l*.84),t.rotate(n*.35+e.ant*.15),t.fillStyle=R(c,35,i?88:92),t.beginPath(),t.moveTo(-l*.09,0),t.quadraticCurveTo(-l*.02,-l*.3,l*.02*n,-l*.32),t.quadraticCurveTo(l*.06,-l*.12,l*.09,0),t.closePath(),t.fill(),t.restore();if(a.crest===`tuft`){t.save(),t.translate(0,-l*.96),t.strokeStyle=R(c,s?40:70,s?62:i?50:46),t.lineWidth=l*.06,t.lineCap=`round`;for(let n of[-1,0,1])t.beginPath(),t.moveTo(n*l*.08,0),t.quadraticCurveTo(n*l*.12+e.ant*l*.3,-l*.2,n*l*.2+e.ant*l*.5,-l*.22+Math.abs(n)*l*.06),t.stroke();t.restore()}let b=e.gx*l*.2,x=-l*.06+e.gy*l*.13,S=l*a.eyeGap,C=l*a.eyeSize,w=e.expr;if(e.heat>.02){let n=t.createRadialGradient(0,-l*.25,0,0,-l*.25,l*.72);n.addColorStop(0,`rgba(255,70,70,${Math.min(1,e.heat)*.42})`),n.addColorStop(1,`rgba(255,70,70,0)`),t.fillStyle=n,t.beginPath(),t.arc(0,-l*.25,l*.72,0,Y),t.fill()}if(e.blush>.02){t.fillStyle=`rgba(255,140,170,${e.blush*.45})`;for(let e of[-1,1])t.beginPath(),t.ellipse(b+e*(S+l*.1),x+C*1.15,l*.11,l*.06,0,0,Y),t.fill()}for(let n of[-1,1]){let a=b+n*S,o=x;if(t.lineCap=`round`,w===`joy`){t.strokeStyle=h,t.lineWidth=l*.075,t.beginPath(),t.arc(a,o+C*.4,C*.68,Math.PI*1.15,Math.PI*1.85),t.stroke();continue}if(w===`sleep`||e.open<.1){t.strokeStyle=h,t.lineWidth=l*.06,t.beginPath(),w===`sleep`?t.arc(a,o-C*.3,C*.62,.18*Math.PI,.82*Math.PI):(t.moveTo(a-C*.62,o),t.lineTo(a+C*.62,o)),t.stroke();continue}t.save(),t.beginPath(),t.ellipse(a,o,C*.86,C*1.02*Math.min(e.open,1.2),0,0,Y),t.fillStyle=`#fbfbff`,t.fill(),t.clip();let u=a+e.gx*C*.34,d=o+e.gy*C*.32;if(t.fillStyle=R(c,55,i?26:30),t.beginPath(),t.arc(u,d,C*.64,0,Y),t.fill(),t.fillStyle=`#0b0c12`,t.beginPath(),t.arc(u,d,C*.36*(w===`surprised`?.75:1),0,Y),t.fill(),t.fillStyle=`#fff`,t.beginPath(),t.arc(u-C*.24,d-C*.28,C*.21,0,Y),t.fill(),t.beginPath(),t.arc(u+C*.22,d+C*.18,C*.09,0,Y),t.fill(),w===`angry`){let e=a-n*C;t.fillStyle=s?R(c,r.s*.8,82):R(c,72,i?60:62),t.beginPath(),t.moveTo(a+n*C,o-C*1.2),t.lineTo(e,o-C*1.2),t.lineTo(e,o-C*.05),t.lineTo(a+n*C,o-C*.8),t.closePath(),t.fill()}else e.open<.95&&(t.fillStyle=s?R(c,r.s*.8,82):R(c,72,i?60:62),t.fillRect(a-C,o-C*1.1,C*2,C*1.1*(1-e.open)*1.4));t.restore()}let T=(e,n,r)=>{t.strokeStyle=R(c,45,i?14:18,r),t.lineWidth=l*.05,t.lineCap=`round`;for(let r of[-1,1]){let i=b+r*S,a=x-C*1.32-e;t.beginPath(),t.moveTo(i-r*C*.55,a+n*C*.3),t.lineTo(i+r*C*.5,a-n*C*.3),t.stroke()}};w===`concern`?T(0,-1,.9):w===`angry`?T(-C*.12,1.6,1):w===`frustrated`?T(-C*.3,.3,.85):w===`think`?T(-C*.1,.8,.8):w===`surprised`?T(C*.35,0,.85):w!==`sleep`&&w!==`joy`&&T(0,0,.28);let E=b,D=x+l*.36,O=(e,n)=>{t.fillStyle=R(c,50,12),t.beginPath(),t.ellipse(E,D,e,n,0,0,Y),t.fill(),t.save(),t.clip(),t.fillStyle=`rgba(255,130,150,.9)`,t.beginPath(),t.ellipse(E,D+n*.75,e*.75,n*.6,0,0,Y),t.fill(),t.restore()},k=(e,n)=>{t.strokeStyle=h,t.lineWidth=l*n,t.beginPath(),e(),t.stroke()};e.yawn>.05?O(l*.1,l*.16*e.yawn):w===`talk`&&e.mouth>.04?O(l*(.08+.04*e.mouth),l*(.02+.12*e.mouth)):w===`joy`?(t.fillStyle=R(c,50,12),t.beginPath(),t.moveTo(E-l*.13,D-l*.03),t.quadraticCurveTo(E,D+l*.22,E+l*.13,D-l*.03),t.closePath(),t.fill()):w===`angry`?k(()=>t.arc(E,D+l*.08,l*.11,1.15*Math.PI,1.85*Math.PI),.065):w===`frustrated`?k(()=>{t.moveTo(E-l*.11,D),t.lineTo(E-l*.055,D-l*.035),t.lineTo(E,D),t.lineTo(E+l*.055,D-l*.035),t.lineTo(E+l*.11,D)},.05):w===`concern`?k(()=>t.arc(E,D+l*.1,l*.09,1.2*Math.PI,1.8*Math.PI),.055):w===`surprised`?O(l*.05,l*.065):w===`think`?k(()=>(t.moveTo(E-l*.02,D+l*.01),t.lineTo(E+l*.09,D-l*.015)),.05):w===`sleep`?O(l*.035,l*.035*(1+.3*Math.sin(o*1.4))):k(()=>t.arc(E,D-l*.05,l*.08,.22*Math.PI,.78*Math.PI),.055);let A=a.role;A.body&&kn(t,A.body,l,o),A.face&&w!==`sleep`&&On(t,A.face,l,c,b,x,S,C),A.head&&Dn(t,A.head,l,c,i,o);let j=(e,n)=>{let a=e*l*.84,o=l*.16,u=l*.4,d=a+e*Math.sin(n)*u,f=o+Math.cos(n)*u;return t.strokeStyle=s?R(c,r.s*.7,74):R(c,66,i?52:54),t.lineWidth=l*.19,t.lineCap=`round`,t.beginPath(),t.moveTo(a,o),t.lineTo(d,f),t.stroke(),[d,f]},M=([e,n])=>{t.fillStyle=s?R(c,r.s*.8,86):R(c,74,i?66:68),t.beginPath(),t.arc(e,n,l*.105,0,Y),t.fill()};M(j(-1,e.armL));let N=j(1,e.armR);A.hand&&(t.save(),t.translate(N[0],N[1]),An(t,A.hand,l,c,o,e.armR),t.restore()),M(N),t.restore();let P=n>=56?e.activity():null;P&&cn(t,P,o,u+e.lean*l*.18,d-f,l,c,i);let F=n<56&&n>=20?e.activity():null;if(F&&vn(t,F,o,n,c,i),n>=56&&e.mode===`thinking`&&!e.sleeping&&!e.feelingNow())_n(t,o,u,d-f,l,c,i);else if(e.mode===`thinking`)for(let e=0;e<3;e++){let n=Math.max(0,Math.sin(o*4-e*.7));t.fillStyle=R(c,50,i?75:55,.4+.6*n),t.beginPath(),t.arc(u+l*(.55+e*.22),d-f-l*(1.2+e*.18)-n*l*.06,l*(.045+e*.02),0,Y),t.fill()}wn(t,e,l,i?`#c9d0e0`:`#5b6779`,R(48,90,74))}function Dn(e,t,n,r,i,a){e.save(),e.shadowColor=`rgba(40,30,80,.22)`,e.shadowBlur=n*.12,e.shadowOffsetY=n*.03;let o=(t,n,r,i)=>{e.fillStyle=i,e.beginPath(),e.ellipse(0,t,n,r,0,Math.PI,0),e.closePath(),e.fill()},s=(t,n,r,i)=>{e.fillStyle=i,e.beginPath(),e.ellipse(0,t,n,r,0,0,Y),e.fill()};if(t===`goggles`){e.strokeStyle=`#4a3424`,e.lineWidth=n*.1,e.beginPath(),e.moveTo(-n*.95,-n*.5),e.quadraticCurveTo(0,-n*.68,n*.95,-n*.5),e.stroke();for(let t of[-1,1])e.fillStyle=`rgba(160,215,235,.9)`,e.strokeStyle=`#c9a24a`,e.lineWidth=n*.06,e.beginPath(),e.arc(t*n*.25,-n*.6,n*.17,0,Y),e.fill(),e.stroke()}if(t===`headset`||t===`headphones`){let a=t===`headphones`;e.strokeStyle=`#2f3340`,e.lineWidth=n*.09,e.beginPath(),e.arc(0,-n*.12,n,Math.PI*1.12,Math.PI*1.88),e.stroke();for(let t of[-1,1])e.fillStyle=a?R(r+170,50,i?66:62):`#2f3340`,e.beginPath(),e.ellipse(t*n*.98,-n*.16,n*(a?.17:.12),n*(a?.26:.19),0,0,Y),e.fill();a||(e.strokeStyle=`#2f3340`,e.lineWidth=n*.05,e.beginPath(),e.moveTo(-n*.98,-n*.05),e.quadraticCurveTo(-n*.85,n*.38,-n*.28,n*.34),e.stroke(),s(n*.34,n*.07,n*.07,`#454b5c`))}t===`nurse`&&(e.fillStyle=`#fff`,e.beginPath(),e.moveTo(-n*.45,-n*.84),e.lineTo(-n*.33,-n*1.22),e.lineTo(n*.33,-n*1.22),e.lineTo(n*.45,-n*.84),e.quadraticCurveTo(0,-n*.92,-n*.45,-n*.84),e.fill(),e.shadowColor=`transparent`,e.fillStyle=`#e5706f`,e.fillRect(-n*.1,-n*1.1,n*.2,n*.06),e.fillRect(-n*.03,-n*1.17,n*.06,n*.2)),t===`detective`&&(o(-n*.8,n*.66,n*.4,`#a88a62`),s(-n*.8,n*.78,n*.1,`#8a6e4a`)),t===`grad`&&(s(-n*.88,n*.44,n*.16,`#262d3d`),e.fillStyle=`#2e3648`,e.beginPath(),e.moveTo(0,-n*1.36),e.lineTo(n*.72,-n*1.12),e.lineTo(0,-n*.9),e.lineTo(-n*.72,-n*1.12),e.closePath(),e.fill(),e.strokeStyle=`#e9c46a`,e.lineWidth=n*.04,e.beginPath(),e.moveTo(0,-n*1.13),e.lineTo(n*.55,-n*1.1),e.lineTo(n*.58+Math.sin(a*2)*n*.03,-n*.82),e.stroke()),(t===`hardhat`||t===`miner`)&&(o(-n*.76,n*.72,n*.46,`hsl(44,80%,62%)`),s(-n*.76,n*.9,n*.11,`hsl(42,70%,54%)`),t===`miner`&&s(-n*.98,n*.12,n*.12,`#fff4c8`)),t===`safari`&&(s(-n*.78,n*1.05,n*.15,`#c7ad7c`),o(-n*.78,n*.62,n*.42,`#d9c193`),e.fillStyle=`#7a5b36`,e.fillRect(-n*.6,-n*.9,n*1.2,n*.1)),t===`beanie`&&(o(-n*.64,n*.8,n*.56,R(r+150,45,i?62:60)),e.fillStyle=R(r+150,40,i?52:50),e.beginPath(),e.roundRect(-n*.84,-n*.74,n*1.68,n*.2,n*.08),e.fill(),s(-n*1.22,n*.14,n*.14,R(r+150,30,94))),t===`crown`&&(e.fillStyle=`hsl(44,80%,62%)`,e.beginPath(),[[-.38,-.86],[-.4,-1.16],[-.19,-1],[0,-1.25],[.19,-1],[.4,-1.16],[.38,-.86]].forEach(([t,r],i)=>i?e.lineTo(t*n,r*n):e.moveTo(t*n,r*n)),e.closePath(),e.fill()),t===`pencil`&&(e.translate(n*.66,-n*.7),e.rotate(-.7),e.fillStyle=`#f2c94c`,e.fillRect(-n*.05,-n*.3,n*.1,n*.5),e.fillStyle=`#f29fb5`,e.fillRect(-n*.05,-n*.38,n*.1,n*.09),e.fillStyle=`#e8c9a0`,e.beginPath(),e.moveTo(-n*.05,n*.2),e.lineTo(n*.05,n*.2),e.lineTo(0,n*.33),e.closePath(),e.fill()),e.restore()}function On(e,t,n,r,i,a,o,s){if(e.strokeStyle=R(r,30,16),e.lineWidth=n*.045,t===`round`)for(let t of[-1,1])e.beginPath(),e.arc(i+t*o,a,s*1.28,0,Y),e.stroke();if(t===`square`)for(let t of[-1,1])e.beginPath(),e.roundRect(i+t*o-s*1.35,a-s*1.15,s*2.7,s*2.3,s*.5),e.stroke();t===`monocle`&&(e.strokeStyle=`hsl(44,70%,55%)`,e.lineWidth=n*.04,e.beginPath(),e.arc(i+o,a,s*1.32,0,Y),e.stroke())}function kn(e,t,n,r){if(t===`bowtie`&&(e.fillStyle=`#e5706f`,e.beginPath(),e.moveTo(0,n*.6),e.lineTo(-n*.22,n*.48),e.lineTo(-n*.22,n*.72),e.closePath(),e.moveTo(0,n*.6),e.lineTo(n*.22,n*.48),e.lineTo(n*.22,n*.72),e.closePath(),e.fill()),t===`tie`&&(e.fillStyle=`#5b7fc4`,e.beginPath(),e.moveTo(-n*.07,n*.5),e.lineTo(n*.07,n*.5),e.lineTo(n*.04,n*.58),e.lineTo(n*.11,n*.86),e.lineTo(0,n*.95),e.lineTo(-n*.11,n*.86),e.lineTo(-n*.04,n*.58),e.closePath(),e.fill()),t===`badge`&&(e.save(),e.translate(n*.36,n*.58),e.rotate(-.08),e.fillStyle=`#fff`,e.beginPath(),e.roundRect(-n*.2,-n*.13,n*.4,n*.26,n*.04),e.fill(),e.fillStyle=`#e5706f`,e.fillRect(-n*.2,-n*.13,n*.4,n*.08),e.restore()),t===`scarf`&&(e.strokeStyle=`#e88a72`,e.lineWidth=n*.17,e.lineCap=`round`,e.beginPath(),e.moveTo(-n*.8,n*.4),e.quadraticCurveTo(0,n*.62,n*.8,n*.4),e.stroke(),e.save(),e.translate(n*.38,n*.55),e.rotate(.12+Math.sin(r*1.5)*.06),e.fillStyle=`#e88a72`,e.fillRect(-n*.08,0,n*.16,n*.36),e.restore()),t===`binoculars`)for(let t of[-1,1])e.fillStyle=`#3a3f4c`,e.beginPath(),e.roundRect(t*n*.16-n*.12,n*.5,n*.24,n*.3,n*.08),e.fill()}function An(e,t,n,r,i,a){if(e.save(),e.rotate(-a*.35),e.lineCap=`round`,t===`baton`&&(e.strokeStyle=`#f5f5f5`,e.lineWidth=n*.04,e.beginPath(),e.moveTo(0,0),e.lineTo(n*.32,-n*.42),e.stroke()),t===`magnifier`&&(e.strokeStyle=`#6b5444`,e.lineWidth=n*.07,e.beginPath(),e.moveTo(0,0),e.lineTo(n*.14,-n*.2),e.stroke(),e.fillStyle=`rgba(200,228,250,.5)`,e.strokeStyle=`#3a3f4c`,e.lineWidth=n*.05,e.beginPath(),e.arc(n*.24,-n*.36,n*.19,0,Y),e.fill(),e.stroke()),t===`flashlight`){e.rotate(-.6);let t=e.createLinearGradient(0,-n*.25,0,-n*.95);t.addColorStop(0,`rgba(255,240,170,.45)`),t.addColorStop(1,`rgba(255,240,170,0)`),e.fillStyle=t,e.beginPath(),e.moveTo(-n*.06,-n*.26),e.lineTo(-n*.26,-n*.95),e.lineTo(n*.26,-n*.95),e.lineTo(n*.06,-n*.26),e.closePath(),e.fill(),e.fillStyle=`#555c6e`,e.beginPath(),e.roundRect(-n*.05,-n*.24,n*.1,n*.28,n*.03),e.fill()}if(t===`clipboard`){e.rotate(.15),e.fillStyle=`#b48a5e`,e.beginPath(),e.roundRect(-n*.05,-n*.5,n*.38,n*.48,n*.04),e.fill(),e.fillStyle=`#fff`,e.fillRect(-n*.01,-n*.44,n*.3,n*.38),e.fillStyle=`#a3abbd`;for(let t=0;t<4;t++)e.fillRect(n*.03,-n*.36+t*n*.08,n*.2-t%2*n*.06,n*.025)}if(t===`wand`){e.strokeStyle=`#3a3f4c`,e.lineWidth=n*.05,e.beginPath(),e.moveTo(0,0),e.lineTo(n*.26,-n*.36),e.stroke();let t=n*.13*(1+.25*Math.sin(i*6));e.translate(n*.3,-n*.42),e.rotate(i),e.fillStyle=`#f6dc7a`,e.beginPath();for(let n=0;n<10;n++){let r=n%2?t*.42:t,i=n*Math.PI/5;e.lineTo(Math.cos(i)*r,Math.sin(i)*r)}e.fill()}t===`book`&&(e.rotate(.1),e.fillStyle=R(r+160,40,55),e.beginPath(),e.roundRect(-n*.02,-n*.42,n*.36,n*.44,n*.03),e.fill(),e.fillStyle=`#f4efe2`,e.fillRect(n*.02,-n*.4,n*.3,n*.04)),t===`envelope`&&(e.rotate(.2),e.fillStyle=`#fff`,e.beginPath(),e.roundRect(-n*.04,-n*.32,n*.42,n*.3,n*.03),e.fill(),e.strokeStyle=`#c4cad6`,e.lineWidth=n*.025,e.beginPath(),e.moveTo(-n*.04,-n*.32),e.lineTo(n*.17,-n*.15),e.lineTo(n*.38,-n*.32),e.stroke()),e.restore()}var Z={mouse:{x:-1e4,y:-1e4,t:-99},lastKey:-99,typing:null,lastActivity:0},Q=()=>performance.now()/1e3,jn=[`joy`,`concern`,`surprised`,`content`,`angry`,`frustrated`],Mn=class{cv;ctx;px;dpr;props;rect=null;visible=!0;slot=Math.floor(Math.random()*2);gx=0;gy=0;lean=0;sq=1;hop=0;hopV=0;ant=0;blush=0;heat=0;lid=1;open=1;mouth=0;yawn=0;armL=.28;armR=.28;v={};mode=`idle`;expr=`calm`;sleeping=!1;hovered=!1;parts=[];symbolAt=null;feeling=null;look=null;nextBlink=Q()+Math.random()*2;blinkAt=-9;double=!1;nextIdle=Q()+1+Math.random()*3;deck=[];later=[];waveUntil=0;wiggleUntil=0;yawnAt=-9;yawned=!1;lastZ=0;lastLook=[0,0];symbolUntil=0;ponderUntil=0;lastPuff=0;lastSelf=0;constructor(e,t,n){this.cv=e,this.px=t,this.props=n,this.dpr=Math.min(2,window.devicePixelRatio||1),e.width=Math.round(t*this.dpr),e.height=Math.round(t*this.dpr),this.ctx=e.getContext(`2d`),this.ctx.scale(this.dpr,this.dpr),this.mode=Fn(n.state),this.lastSelf=Q();let r=n.mood;r&&jn.includes(r.kind)&&Number.isFinite(r.secs)&&this.feel(r.kind,Math.max(.3,Math.min(6,r.secs)))}set(e){let t=this.props.state,n=this.props.mood,r=this.props.activity;this.props=e,this.mode=Fn(e.state),e.state!==t&&(e.state===`done`&&this.feel(`joy`,2.2),e.state===`failed`&&this.feel(`concern`,2.8),e.state!==`idle`&&this.sleeping&&this.wake()),(e.state!==`idle`||e.activity)&&(this.lastSelf=Q()),e.activity&&e.activity!==r&&this.sleeping&&(this.sleeping=!1,this.yawned=!1);let i=e.mood;i&&i.at!==n?.at&&jn.includes(i.kind)&&Number.isFinite(i.secs)&&(this.lastSelf=Q(),this.sleeping=!1,this.yawned=!1,this.feel(i.kind,Math.max(.3,Math.min(6,i.secs)))),Hn&&this.draw()}busy(){return this.mode!==`idle`||this.feeling!==null||!!this.activity()||this.px>=56}activity(){let e=this.props.activity;return e&&!this.sleeping&&en.includes(e)?e:null}feel(e,t){let n=Q();if(this.feeling={kind:e,until:n+t,at:n},e===`joy`&&(this.hopV=Math.max(this.hopV,2.4),this.burst(4)),e===`concern`&&(this.v.sq=(this.v.sq??0)+2),e===`surprised`&&(this.hopV=2.8),e===`angry`&&(this.v.sq=(this.v.sq??0)-5,this.hopV=Math.max(this.hopV,1.2)),e===`frustrated`){this.v.sq=(this.v.sq??0)+3;let e=this.px,t=e*.27;this.parts.push({kind:`drop`,x:e/2+t*.85,y:e*.5-t*.75,vx:4,vy:6,life:0,max:1.4,s:.9})}}heartUntil=0;poke(){if(Z.lastActivity=Q(),this.sleeping)return this.wake();this.v.sq=(this.v.sq??0)-7,this.hopV=Math.max(this.hopV,1.8),this.feel(`joy`,1.4),this.heartUntil=Q()+1.3;let e=this.px,t=e*.27;for(let n=0;n<3;n++)this.parts.push({kind:`heart`,x:e/2+(Math.random()-.5)*t*1.4,y:e*.5-t*.6,vx:(Math.random()-.5)*30,vy:-30-Math.random()*40,life:0,max:1.1+Math.random()*.5,s:.8+Math.random()*.5});Hn&&(this.update(0),this.draw())}wake(){this.sleeping=!1,this.yawned=!1,this.feel(`surprised`,.55),setTimeout(()=>{let e=this.feelingNow();e&&e!==`surprised`||this.feel(`joy`,.9)},550)}burst(e){let t=this.px,n=t*.27;for(let r=0;r<e;r++)this.parts.push({kind:`spark`,x:t/2+(Math.random()-.5)*n*1.4,y:t*.6-n*.9+(Math.random()-.5)*n*.4,vx:(Math.random()-.5)*30,vy:-30-Math.random()*40,life:0,max:1+Math.random()*.6,s:.7+Math.random()*.6})}spring(e,t,n,r,i){let a=this,o=((this.v[e]??0)+(t-a[e])*n*i)*Math.exp(-r*i);this.v[e]=o,a[e]=a[e]+o*i}feelingNow(){return this.feeling&&Q()<this.feeling.until?this.feeling.kind:null}update(e){let t=Q(),n=this.props.persona,r=this.rect,i=r?r.left+r.width/2:0,a=r?r.top+r.height*.52:0,o=Z.mouse;this.hovered=!!r&&o.x>r.left&&o.x<r.right&&o.y>r.top&&o.y<r.bottom;let s=this.activity();s&&(this.lastSelf=t);let c=t-Math.max(Z.lastActivity,this.lastSelf);this.sleeping&&c<.6&&this.wake();let l=this.mode===`idle`&&!this.hovered;l&&!this.sleeping&&c>n.sleepAfter&&(this.sleeping=!0);let u=l&&!this.sleeping&&c>n.sleepAfter-4;u&&!this.yawned&&c>n.sleepAfter-3&&(this.yawned=!0,this.yawnAt=t);let d=0,f=0,p=(e,t,n=1)=>{let r=e-i,o=t-a,s=Math.hypot(r,o)+140;d=r/s*1.5*n,f=o/s*1.5*n},m=t-Z.lastKey<1.6&&Z.typing,h=this.feelingNow();this.sleeping?f=.4:h===`frustrated`?[d,f]=[-.7,.45]:h===`angry`&&r&&t-o.t<7?p(o.x,o.y,1.4):h===`angry`?[d,f]=[0,.1]:s&&!h?[d,f]=sn(s,t):t<this.ponderUntil?[d,f]=[.6,-.8]:this.look&&t<this.look.until?[d,f]=[this.look.x,this.look.y]:this.mode===`thinking`?[d,f]=[.6*Math.sin(t*.9+n.seed),-.8]:this.mode===`speaking`?[d,f]=[.06*Math.sin(t*1.3),.02]:m?p(Z.typing.x,Z.typing.y):r&&t-o.t<7?p(o.x,o.y,n.curiosity):[d,f]=[.35*Math.sin(t*.31+n.seed),.12*Math.sin(t*.23+n.seed*2)];let g=Math.hypot(d,f);if(g>1&&([d,f]=[d/g,f/g]),Math.hypot(d-this.lastLook[0],f-this.lastLook[1])>.9&&t-this.blinkAt>.5&&(this.blinkAt=t),this.lastLook=[d,f],this.spring(`gx`,d,55,11,e),this.spring(`gy`,f,55,11,e),this.mode===`idle`&&!s&&!this.sleeping&&!this.hovered&&!this.feelingNow()&&t>this.nextIdle){this.deck.length||(this.deck=Pn(Nn.filter(e=>e===`wave`?this.props.look===`classic`:e!==`symbol`||this.props.look===`visor`&&!!$t(n.id))));let e=this.deck.pop();if(e===`glance`)this.look={x:Math.random()*2-1,y:Math.random()-.6,until:t+.7+Math.random()*.8};else if(e===`lookAround`){let e=Math.random()<.5?-1:1;this.look={x:e*.9,y:-.1,until:t+.8},this.later.push([t+.8,()=>this.look={x:-e*.9,y:-.1,until:Q()+.8}])}else e===`hop`?this.hopV=1.6+n.energy*.7:e===`lean`?this.v.lean=(this.v.lean??0)+(Math.random()<.5?-1:1)*4*n.energy:e===`blink`?[this.blinkAt,this.double]=[t,!0]:e===`wiggle`?this.wiggleUntil=t+.6:e===`stretch`?this.v.sq=(this.v.sq??0)+6:e===`happy`?this.feel(`content`,1.2):e===`surprise`?this.feel(`surprised`,.7):e===`sigh`?this.feel(`frustrated`,1):e===`ponder`?this.ponderUntil=t+1.6:e===`wave`?this.waveUntil=t+1.6:e===`symbol`&&(this.symbolUntil=t+1.9);this.nextIdle=t+(1.6+Math.random()*2.6)/n.energy}for(let[e,n]of this.later)t>=e&&n();this.later=this.later.filter(([e])=>t<e),t>this.nextBlink&&(this.blinkAt=t,this.double=Math.random()<.2,this.nextBlink=t+n.blinkEvery*(.5+Math.random()));let _=t-this.blinkAt,v=_<.15?Math.sin(_/.15*Math.PI):this.double&&_>.22&&_<.37?Math.sin((_-.22)/.15*Math.PI):0,y=this.feelingNow();y||(this.feeling=null);let b=Math.sin(t*6.283/(this.sleeping?4.5:3.4/Math.sqrt(n.energy))),x=t<this.wiggleUntil?Math.sin(t*16)*.22:0,S=this.mode===`listening`||!!m,C=y===`angry`?Math.sin(t*38)*.1:0;this.spring(`lean`,this.gx*.35+x+C+(this.mode===`thinking`?-.08:0),60,5,e),this.spring(`sq`,1+(this.sleeping?.035:.022)*b-(y===`concern`||y===`frustrated`?.05:0)-(y===`angry`?.03:0)+(S?.02:0),200,9,e),this.hopV-=15*e,this.hop+=this.hopV*e,this.hop<0&&(this.hopV<-1&&(this.v.sq=(this.v.sq??0)+this.hopV*2.2),this.hop=0,this.hopV=0),y===`joy`&&this.feeling&&t-this.feeling.at<1.6&&this.hop===0&&Math.random()<e*2&&(this.hopV=1.7),this.spring(`ant`,-this.lean*.9-this.hopV*.07-this.gx*.25+.06*Math.sin(t*1.7+n.seed),28,2.6,e),this.spring(`heat`,+(y===`angry`),12,7,e),this.spring(`blush`,y===`joy`||y===`content`||this.hovered?1:this.mode===`speaking`?.35:0,9,7,e);let w=this.sleeping?0:u?.42:y===`surprised`?1.2:y===`frustrated`?.55:y===`angry`?.8:s===`searching`?1.1:s===`reading`||s===`writing`||s===`working`?.82:S?1.06:y===`concern`?.85:1;this.spring(`lid`,w,40,12,e),this.open=Math.max(0,Math.min(1.25,this.lid*(1-v)));let T=Math.max(0,Math.sin(t*9.3))*Math.max(0,Math.sin(t*2.1+1));this.spring(`mouth`,this.mode===`speaking`?Math.min(1,T*1.1+.15*Math.abs(Math.sin(t*23))):0,140,16,e),this.yawn=t-this.yawnAt<2.2?Math.sin((t-this.yawnAt)/2.2*Math.PI):0;let E=!!n.role.hand,D=.28+.05*b,O=(E?.95:.28)+.05*b;if(this.sleeping)[D,O]=[.1,E?.55:.1];else if(y===`joy`)[D,O]=[2.3+.25*Math.sin(t*9),(E?1.7:2.3)+.25*Math.sin(t*9+1.3)];else if(y===`concern`)[D,O]=[.06,E?.5:.06];else if(y===`surprised`)[D,O]=[1.6,1.6];else if(y===`angry`)[D,O]=[.62+.1*Math.sin(t*30),(E?1.1:.62)+.1*Math.sin(t*30+1)];else if(y===`frustrated`)[D,O]=[.04,E?.45:.04];else if(s===`searching`||s===`writing`)O=(s===`writing`?1.2:1.7)+.12*Math.sin(t*(s===`writing`?20:4));else if(s===`reading`)[D,O]=[1.05,1.05];else if(s===`browsing`)O=1.5+.08*Math.sin(t*3);else if(s===`working`)[D,O]=[.9+.25*Math.sin(t*9),.9+.25*Math.sin(t*9+Math.PI)];else if(s===`handing`){let{p:e,flying:n}=an(t);O=n?1.9-1.1*e:.6}else this.mode===`thinking`?O=2.3+.12*Math.sin(t*8):this.mode===`speaking`?[D,O]=[.35+.18*Math.sin(t*2.2),(E?1.05:.55)+.5*this.mouth]:(this.hovered||t<this.waveUntil)&&(D=2.45+.4*Math.sin(t*13));this.spring(`armL`,D,70,9,e),this.spring(`armR`,O,70,9,e);let k=this.mode===`idle`&&!this.sleeping&&!y&&!!$t(n.id)&&(this.hovered||t<this.symbolUntil);if(this.symbolAt=k?this.symbolAt??t:null,y===`angry`&&t-this.lastPuff>.32){this.lastPuff=t;let e=this.px,n=e*.27,r=Math.random()<.5?-1:1;this.parts.push({kind:`puff`,x:e/2+r*n*.75,y:e*.5-n*.95,vx:r*14,vy:-26,life:0,max:.9,s:.7+Math.random()*.5})}this.sleeping&&t-this.lastZ>1.3&&(this.lastZ=t,this.parts.push({kind:`z`,x:this.px*.66,y:this.px*.3,vx:10,vy:-18,life:0,max:2.4,s:.6+Math.random()*.5})),this.parts=this.parts.filter(t=>(t.life+=e)<t.max);for(let t of this.parts)t.x+=t.vx*e,t.y+=t.vy*e,t.vy+=(t.kind===`z`||t.kind===`puff`?-2:t.kind===`drop`?40:25)*e;this.expr=this.sleeping?`sleep`:y===`content`?`joy`:y||(this.hovered&&this.props.look===`classic`?`joy`:this.mode===`thinking`||t<this.ponderUntil?`think`:this.mode===`speaking`?`talk`:u?`drowsy`:`calm`)}draw(){this.props.look===`visor`?Tn(this):En(this)}time(){return Q()}},Nn=[`glance`,`lookAround`,`hop`,`lean`,`blink`,`wiggle`,`stretch`,`happy`,`wave`,`symbol`,`surprise`,`sigh`,`ponder`];function Pn(e){for(let t=e.length-1;t>0;t--){let n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}var Fn=e=>e===`thinking`?`thinking`:e===`speaking`?`speaking`:e===`waiting`?`listening`:`idle`,$=new Set,In=0,Ln=0,Rn=0,zn=!0,Bn=0,Vn=!1,Hn=!1,Un=null,Wn=new WeakMap;function Gn(){if(Vn)return;Vn=!0,Z.lastActivity=Q();let e=()=>Z.lastActivity=Q();addEventListener(`mousemove`,t=>{Z.mouse={x:t.clientX,y:t.clientY,t:Q()},e()},{passive:!0}),addEventListener(`keydown`,t=>{e();let n=t.target instanceof HTMLElement?t.target:null;if(!n||!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n.isContentEditable)||n instanceof HTMLInputElement&&n.type===`password`)return;let r=n.getBoundingClientRect(),i=n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement?n.value.length:(n.textContent??``).length;Z.typing={x:r.left+Math.min(r.width-16,16+i*7.5),y:r.top+Math.min(r.height/2,24)},Z.lastKey=Q()}),addEventListener(`scroll`,()=>(zn=!0,e()),{passive:!0,capture:!0}),addEventListener(`resize`,()=>zn=!0),Un=new IntersectionObserver(e=>e.forEach(e=>{let t=Wn.get(e.target);t&&(t.visible=e.isIntersecting)}),{rootMargin:`80px`})}function Kn(e){let t=e/1e3,n=Math.min(.05,Ln?t-Ln:.016);if(Ln=t,Rn++,zn||t-Bn>.5){for(let e of $)e.rect=e.cv.getBoundingClientRect();zn=!1,Bn=t}for(let e of $)e.update(n),e.visible&&(e.busy()||(Rn+e.slot)%2==0)&&e.draw();In=$.size?requestAnimationFrame(Kn):0}function qn(e){Gn(),Hn=E(),Wn.set(e.cv,e),Un?.observe(e.cv),$.add(e),e.rect=e.cv.getBoundingClientRect(),Hn?(e.update(0),e.draw()):In||=requestAnimationFrame(Kn)}function Jn(e){$.delete(e),Un?.unobserve(e.cv),!$.size&&In&&(cancelAnimationFrame(In),In=0,Ln=0)}function Yn({agent:e,look:t,colours:n,px:r,dark:i,state:a=`idle`,mood:o,activity:s,label:c,className:l}){let u=(0,I.useRef)(null),d=(0,I.useRef)(null),f=()=>({persona:Ne(e),colour:Ie(e,n),look:t,full:r>=56,dark:i,state:a,mood:o,activity:s});return(0,I.useEffect)(()=>{let e=new Mn(u.current,r,f());return d.current=e,qn(e),()=>{Jn(e),d.current=null}},[r]),(0,I.useEffect)(()=>d.current?.set(f()),[e,t,n,i,a,o?.at,s]),(0,L.jsx)(`canvas`,{ref:u,onPointerDown:()=>d.current?.poke(),role:c?`img`:void 0,"aria-label":c||void 0,"aria-hidden":!c||void 0,className:D(`block flex-none`,l),style:{width:r,height:r}})}var Xn={};try{Xn=Object.assign({"./agents/api.svg":c,"./agents/browser-agent.svg":s,"./agents/case.svg":v,"./agents/context-engine.svg":n,"./agents/database.svg":y,"./agents/explorer.svg":l,"./agents/healer.svg":i,"./agents/knowledge-base.svg":a,"./agents/model.svg":d,"./agents/orchestrator.svg":C,"./agents/pr-reviewer.svg":r,"./agents/report.svg":u,"./agents/result.svg":w,"./agents/rule.svg":m,"./agents/scribe.svg":T,"./agents/specs.svg":S,"./agents/test-finder.svg":p,"./agents/trace.svg":_})}catch{}function Zn({id:e,px:t,alt:n,className:r}){let[i,a]=(0,I.useState)(()=>ve(e));if((0,I.useEffect)(()=>{if(i)return;let t=!0;return _e().then(n=>{t&&a(n.get(e))}),()=>{t=!1}},[e,i]),!i)return(0,L.jsx)(`span`,{"aria-hidden":!n||void 0,className:D(`inline-block flex-none rounded-sm bg-line-soft/60`,r),style:{width:t,height:t}});let o=`url("data:image/svg+xml,${encodeURIComponent(i)}")`;return(0,L.jsx)(`span`,{role:n?`img`:void 0,"aria-label":n||void 0,"aria-hidden":!n||void 0,className:D(`inline-block flex-none bg-current`,r),style:{width:t,height:t,WebkitMask:`${o} center / contain no-repeat`,mask:`${o} center / contain no-repeat`}})}function Qn({agent:e,icon:t,px:n,iconPx:r,frame:i,head:a}){let{theme:o}=Xt();return a?(0,L.jsx)(er,{agent:e,icon:t,px:n,face:`icon`,decorative:!0,className:`flex-none`}):qe(o)!==`icons`&&!M(t)?(0,L.jsx)(er,{agent:e,px:n,decorative:!0,className:`flex-none`}):(0,L.jsx)(`span`,{"data-icon-tile":``,className:D(h,`flex flex-none items-center justify-center rounded-base`,i),children:(0,L.jsx)(er,{agent:e,icon:t,px:r,decorative:!0})})}function $n(e){let{theme:t,mode:n}=Xt();if(qe(t)===`icons`||Je(t)!==`soft`)return ne(e).hue;let r=Ie(e,`soft`);return n===`dark`?R(r.h,Math.min(90,r.s),74):R(r.h,Math.min(80,r.s*.85),38)}function er({agent:e,icon:t,px:n=20,decorative:r=!1,working:i=!1,state:a,mood:o,activity:s,face:c=`theme`,className:l}){let{theme:u,mode:d}=Xt(),f=ne(e),p=qe(u);if(c!==`icon`&&p!==`icons`&&n>=14&&!M(t))return(0,L.jsx)(Yn,{agent:e,look:p,colours:Je(u),px:n,dark:d===`dark`,state:a??(i?`thinking`:`idle`),mood:o,activity:s,label:r?void 0:f.name,className:l});let m=M(t)?t:f.icon,h=r?``:f.name;if(j(m))return(0,L.jsx)(Zn,{id:m,px:n,alt:h,className:l});let _=F(m)?m:f.icon,v=Xn[`./agents/${_}.svg`];if(!i)return(0,L.jsx)(g,{src:v,name:_,px:n,alt:h,className:l});let y=(0,L.jsx)(`img`,{src:v,alt:h,width:n,height:n,draggable:!1,className:`block flex-none object-contain`,style:{width:n,height:n}}),x=b(_);return(0,L.jsx)(`span`,{"data-flat":x?``:void 0,className:D(`agent-shine`,l),style:{width:n,height:n,"--agent-icon":`url("${v}")`,...x},children:y})}var tr=e=>e.nativeEvent.isComposing||e.keyCode===229,nr=e=>e.key===`Enter`&&!tr(e);function rr(e,t){let n=t.toLowerCase().split(/\s+/).filter(Boolean);if(!n.length)return e.filter(e=>e.kind!==`field`).slice(0,40);let r=e=>{let t=`${e.label} ${e.meta} ${e.words||``}`.toLowerCase();return n.every(e=>t.includes(e))},i=e=>(e.label.toLowerCase().startsWith(n[0])?0:4)+[`page`,`agent`,`setting`,`field`].indexOf(e.kind);return e.filter(r).map((e,t)=>({c:e,i:t,r:i(e)})).sort((e,t)=>e.r-t.r||e.i-t.i).slice(0,40).map(e=>e.c)}function ir(e,t){let n=t.toLowerCase().split(/\s+/).filter(Boolean),r=e=>e.replace(/[^a-z0-9 ]/g,``).replace(/(?<=\w)s\b/g,``).trim(),i=r(n.filter(e=>![`the`,`a`,`my`,`page`,`section`,`screen`,`tab`].includes(e)).join(` `)),a=i?e.filter(e=>e.kind!==`field`&&r(e.label.toLowerCase())===i):[];if(a.length===1)return a[0];let o=t=>{let n=rr(e,t);return n.find(e=>e.kind!==`field`)??n[0]},s=o(n.join(` `));if(s)return s;let c=n[0]??``;if(c.length<4)return;let l=RegExp(`\\b${c.replace(/[^a-z0-9]/g,``)}`);for(let e=n.length-1;e>=1;e--){let t=o(n.slice(0,e).join(` `));if(t&&l.test(t.label.toLowerCase()))return t}}export{Ye as A,_e as B,gt as C,Xe as D,V as E,at as F,fe as G,me as H,Et as I,ue as K,Re as L,U as M,qe as N,Ct as O,Ht as P,ze as R,Pt as S,Wt as T,de as U,be as V,pe as W,Ve as _,er as a,Ge as b,tn as c,He as d,We as f,Ut as g,ot as h,nr as i,kt as j,Nt as k,Yt as l,tt as m,ir as n,Qn as o,Ke as p,tr as r,$n as s,rr as t,Xt as u,Be as v,Dt as w,lt as x,Ue as y,ve as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{H as e,o as t}from"./preload-helper-BupTYkQW.js";import{t as n}from"./utils-DJRAScIl.js";import{t as r}from"./jsx-runtime-LKYXHABd.js";import{S as i}from"./pageBack-CINGjBHZ.js";import{o as a,tn as o}from"./line-icons-Cwj9OmCz.js";import{t as s}from"./step-mark-Bu6fNKW8.js";import{n as c,t as l}from"./logos-Cf-Wf5ex.js";var u=r(),d={ok:{label:`Ready to start`,tone:`pass`},limits:{label:`Ready, with limits`,tone:`warn`},blocked:{label:`Not possible`,tone:`fail`}},f={migrated:{label:`Migrated`,tone:`pass`},partial:{label:`Needs review`,tone:`warn`},failed:{label:`Failed`,tone:`fail`},stopped:{label:`Stopped`,tone:`neutral`},running:{label:`Running`,tone:`running`}},p={migrated:{label:`Migrated`,tone:`pass`},written:{label:`Written`,tone:`neutral`},failed:{label:`Failed`,tone:`fail`},blocked:{label:`Not possible`,tone:`warn`},skipped:{label:`Skipped`,tone:`neutral`}},m={setup:`Set-up`,support:`Support`,feature:`Feature`,test:`Test`};function h(e){let t=e.replace(/\.git$/,``).replace(/(?<!\/)\/+$/,``),n=t.split(/[/\\:]/).filter(Boolean);return n.length>=2&&/github|gitlab|bitbucket|dev\.azure|visualstudio/.test(t)?n.slice(-2).join(`/`):n.at(-1)||e}function g(e){let t=Math.max(0,Math.round(e/1e3));if(t<60)return`${t}s`;let n=Math.floor(t/60);return n<60?`${n}m ${t%60}s`:`${Math.floor(n/60)}h ${n%60}m`}var _=e=>e?new Date(e).toLocaleString([],{month:`short`,day:`numeric`,hour:`numeric`,minute:`2-digit`}):`Not yet`;function v({label:t,value:r,sub:i,tone:a,onClick:o,on:s}){let c=(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`span`,{className:`block w-full truncate text-body-sm text-muted`,children:t}),(0,u.jsx)(`span`,{className:n(`text-headline-sm tabular-nums`,a),children:r}),i&&(0,u.jsx)(`span`,{className:`block w-full truncate text-body-sm text-muted`,children:i})]});return o?(0,u.jsx)(`button`,{type:`button`,"aria-pressed":s,onClick:o,className:n(e,`min-w-0 flex-col items-start gap-1 rounded-none py-4 aria-pressed:bg-transparent aria-pressed:shadow-[inset_0_-2px_0_var(--color-accent)] aria-pressed:hover:bg-tint [&[aria-pressed=true]>span:first-child]:text-ink`),children:c}):(0,u.jsx)(`div`,{className:`flex min-w-0 flex-col items-start gap-1 px-4 py-4 text-left`,children:c})}function y({framework:e,language:r}){let i=e?l[e]:void 0,a=r?c[r]:void 0,s=n(t,`inline-flex size-12 flex-none items-center justify-center`);return(0,u.jsxs)(`span`,{"aria-hidden":`true`,className:`flex flex-none items-center`,children:[(0,u.jsx)(`span`,{className:s,children:i?(0,u.jsx)(i,{width:26,height:26}):(0,u.jsx)(o,{size:22,strokeWidth:1.8,className:`text-icon`})}),a&&(0,u.jsx)(`span`,{className:n(s,`-ml-2 shadow-[-4px_0_0_var(--color-bg)]`),children:(0,u.jsx)(a,{width:24,height:24})})]})}function b({from:e,to:t,label:r=`The migration`}){let i=e=>(0,u.jsxs)(`span`,{className:`flex min-w-0 items-center gap-4`,children:[(0,u.jsx)(y,{framework:e.framework,language:e.language}),(0,u.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,u.jsx)(`span`,{className:`truncate text-body-lg font-medium tracking-[-0.01em] text-ink`,children:e.title}),e.sub&&(0,u.jsx)(`span`,{className:`truncate text-body-sm text-muted`,children:e.sub})]})]});return(0,u.jsxs)(`figure`,{"aria-label":r,className:`m-0 flex flex-wrap items-center gap-x-6 gap-y-4`,children:[(0,u.jsx)(`span`,{className:`min-w-0 flex-none`,children:i(e)}),(0,u.jsxs)(`span`,{"aria-hidden":`true`,className:`relative hidden h-6 min-w-16 flex-1 @2xl:block`,children:[(0,u.jsx)(`span`,{className:n(`absolute top-1/2 right-2 left-0 border-t-2`,t?`border-accent`:`border-dashed border-line-strong`)}),(0,u.jsx)(a,{size:20,className:n(`absolute top-0.5 -right-1`,t?`text-accent-fg`:`text-muted`)})]}),(0,u.jsx)(`span`,{className:`min-w-0 flex-[0_1_auto]`,children:t?i(t):(0,u.jsx)(`span`,{className:`inline-flex size-12 items-center justify-center rounded-base border-[1.5px] border-dashed border-line-strong text-body-sm text-muted`,children:`?`})}),(0,u.jsxs)(`figcaption`,{className:`sr-only`,children:[e.title,` to `,t?t.title:`a target not picked yet`]})]})}function x({value:e,tone:t=`bg-accent`,label:r,marks:a}){let o=Math.max(0,Math.min(100,Math.round(e)));return a?(0,u.jsx)(`div`,{role:`progressbar`,"aria-label":r,"aria-valuenow":o,"aria-valuemin":0,"aria-valuemax":100,className:`w-full`,children:(0,u.jsx)(i,{share:o/100,marks:a,fill:t})}):(0,u.jsx)(`div`,{role:`progressbar`,"aria-label":r,"aria-valuenow":o,"aria-valuemin":0,"aria-valuemax":100,className:`h-1.5 w-full overflow-hidden rounded-full bg-surface-strong`,children:(0,u.jsx)(`div`,{className:n(`h-full rounded-full transition-[width] duration-(--motion-slow) ease-out`,t),style:{width:`${o}%`}})})}function S(e,t){if(!t)return 0;if(t.stages?.review.status===`done`)return 100;let n=e.units.length||1,r=t.stages,i=r?[`validate`,`fix`].filter(e=>r[e].status===`done`||r[e].status===`skipped`).length:0;return Math.min(99,t.units.length/n*85+i*7)}var C={prepare:`Prepare`,setup:`Set up`,migrate:`Migrate`,validate:`Validate`,fix:`Fix`,review:`Review`};function w(e){let t=e?.status||`pending`,n=e?.startedAt&&e?.endedAt?g(Date.parse(e.endedAt)-Date.parse(e.startedAt)):``;return t===`running`?e?.startedAt?`Running for ${g(Date.now()-Date.parse(e.startedAt))}`:`Running`:t===`done`?e?.note||(n?`Done in ${n}`:`Done`):t===`failed`?e?.note||`Did not finish`:t===`skipped`?e?.note||`Skipped`:`Waiting`}var T={prepare:`Read the plan and copy the source.`,setup:`Set up the new project and its packages.`,migrate:`Rewrite each file in the new framework.`,validate:`Run every migrated test.`,fix:`Fix the tests that failed, and run them again.`,review:`Compare the result with the source.`};function E(e,t){return e.map(e=>({id:e,name:C[e],about:T[e],status:t?.[e]?.status||`pending`,line:w(t?.[e])}))}function D({items:e,progress:t,label:r=`Stages`}){return(0,u.jsxs)(`nav`,{"aria-label":r,className:`flex min-w-0 flex-col gap-6`,children:[t!==void 0&&(0,u.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,u.jsxs)(`span`,{className:`flex items-baseline justify-between text-body-sm`,children:[(0,u.jsx)(`span`,{className:`font-medium text-ink`,children:`Progress`}),(0,u.jsxs)(`span`,{className:`font-medium tabular-nums text-ink`,children:[Math.round(t),`%`]})]}),(0,u.jsx)(`progress`,{max:100,value:Math.round(t),"aria-label":`Progress`,className:`h-1.5 w-full accent-ink`})]}),(0,u.jsx)(`ol`,{className:`m-0 flex list-none flex-wrap gap-4 p-0 @3xl:flex-col @3xl:flex-nowrap @3xl:gap-0`,children:e.map((t,r)=>{let i=r===e.length-1,a=t.status===`done`||t.status===`skipped`,o=t.status===`running`,c=t.status===`failed`;return(0,u.jsxs)(`li`,{"aria-current":o?`step`:void 0,className:n(`relative flex min-w-0 gap-2 @3xl:gap-4 @3xl:pb-8`,i&&`@3xl:pb-0`),children:[!i&&(0,u.jsx)(`span`,{"aria-hidden":`true`,className:n(`absolute top-10 bottom-2 left-4 hidden w-px @3xl:block`,a?`bg-ink/30`:`bg-line`)}),(0,u.jsx)(s,{size:`lg`,state:a?`done`:c?`failed`:o?`running`:`pending`,n:r+1}),(0,u.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,u.jsx)(`span`,{className:n(`text-body-sm leading-8 font-medium @3xl:text-body-lg`,a||o?`text-ink`:c?`text-fail`:`text-muted`),children:t.name}),(0,u.jsx)(`span`,{className:n(`hidden text-body-sm leading-relaxed @3xl:block`,o?`text-ink-2`:`text-muted`),children:t.about}),(0,u.jsx)(`span`,{className:n(`hidden text-body-sm @3xl:block`,o?`font-medium text-ink`:c?`text-fail`:`text-muted`),children:t.status===`pending`?``:t.line}),(0,u.jsxs)(`span`,{className:`sr-only`,children:[t.name,`: `,t.line]})]})]},t.id)})})]})}export{f as a,d as c,g as d,h as f,v as i,E as l,b as n,D as o,_ as p,m as r,p as s,x as t,S as u};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{r as n}from"./route-9BkoTWUE.js";import{F as r,H as i,l as a,o,u as s}from"./preload-helper-BupTYkQW.js";import{t as c}from"./utils-DJRAScIl.js";import{t as l}from"./jsx-runtime-LKYXHABd.js";import{Y as u}from"./api-B8AQ8-Gb.js";import{C as d,F as f,I as p,L as m,N as h,P as g,T as _,g as v,h as y,i as b,j as x,k as S}from"./pageBack-CINGjBHZ.js";import{$t as C,E as w,Er as T,Gr as E,I as D,Kr as ee,N as O,Nr as k,Nt as te,Qn as ne,Rt as re,Tr as A,Wn as ie,Wr as ae,Yt as j,Zt as oe,_t as se,at as M,cn as ce,ct as le,lt as N,o as ue,or as P,t as de,v as fe,wr as pe,xt as me,yt as he,z as ge}from"./line-icons-Cwj9OmCz.js";import{Ct as F,Dt as I,Et as L,Tt as R,bt as z,dn as B,dt as _e,en as ve,kt as ye,mt as be,xt as xe}from"./frame-wloj3-xC.js";import{J as V,Y as H,q as Se}from"./index-BCu9qAny.js";var U=e(t(),1),W=l(),G={failed:{label:`Fails`,cell:`bg-fail text-bg`,key:`bg-fail`},review:{label:`Needs a person`,cell:`bg-warn text-bg`,key:`bg-warn`},passed:{label:`Rules pass`,cell:`bg-pass-soft`,key:`bg-pass-soft`},exercised:{label:`A persona got through`,cell:`bg-accent-line`,key:`bg-accent-line`},not_tested:{label:`Not tested`,cell:`bg-bg ring-1 ring-line ring-inset`,key:`bg-bg ring-1 ring-line-strong ring-inset`}};function Ce({cells:e,label:t,className:n,words:r,count:i,keyed:a=!0}){let o=[...new Set(e.map(e=>e.group))],s=e=>r?.[e]??G[e].label;return(0,W.jsxs)(`div`,{className:c(`@container flex min-w-0 flex-col gap-4`,n),children:[(0,W.jsx)(`div`,{className:`flex flex-col gap-4 @3xl:flex-row @3xl:gap-4`,children:o.map(n=>{let r=e.filter(e=>e.group===n);return(0,W.jsxs)(`div`,{className:`flex min-w-32 flex-col gap-2`,style:{flexGrow:r.length,flexBasis:0},children:[(0,W.jsx)(`ol`,{"aria-label":`${t}: ${n}`,className:`m-0 flex list-none gap-1 p-0`,children:r.map(e=>{let t=G[e.result],n=e.result===`failed`||e.result===`review`;return(0,W.jsxs)(`li`,{"data-tip":`${e.id} ${e.title} (${e.level}): ${s(e.result)}`,className:c(`flex h-11 min-w-0 flex-1 items-end justify-center overflow-hidden rounded-sm pb-1`,t.cell),children:[n&&(0,W.jsx)(`span`,{"aria-hidden":`true`,className:`text-label-sm [writing-mode:vertical-rl] rotate-180`,children:e.id}),(0,W.jsx)(`span`,{className:`sr-only`,children:`${e.id} ${e.title}: ${s(e.result)}`})]},e.id)})}),(0,W.jsxs)(`span`,{className:`flex justify-between gap-2 text-label-md text-ink-2`,children:[(0,W.jsx)(`span`,{className:`truncate`,children:n}),(0,W.jsx)(`span`,{className:`flex-none text-muted tabular-nums`,children:i?i(r):r.length})]})]},n)})}),a&&(0,W.jsx)(we,{cells:e,words:r})]})}function we({cells:e,words:t}){let n=Object.keys(G).filter(t=>e.some(e=>e.result===t));return(0,W.jsx)(`ul`,{"aria-label":`Key`,className:`m-0 flex list-none flex-wrap gap-x-4 gap-y-1 p-0 text-label-md text-muted`,children:n.map(e=>(0,W.jsxs)(`li`,{className:`inline-flex items-center gap-2`,children:[(0,W.jsx)(`span`,{"aria-hidden":`true`,className:c(`size-3 rounded-sm`,G[e].key)}),t?.[e]??G[e].label]},e))})}var K={region:{title:`Some content sits outside the page's regions`,why:`Screen reader users jump between regions (header, main, navigation, footer) to find things. Content outside every region is easy to miss.`,fix:["Put the content inside a region: `<main>`, `<header>`, `<nav>`, `<aside>` or `<footer>`.","For a banner or strip of its own, a `<section>` or `<aside>` with an `aria-label` is enough."]},"landmark-unique":{title:`Two regions of the same kind have the same name`,why:`A screen reader lists both under one name, so people can't tell which one they are moving to.`,fix:["Give each region its own `aria-label`, such as “Flight filters” and “Sort options”.",`Or, if they are one thing, merge them into a single region.`]},"landmark-one-main":{title:`The page has no main region`,why:`Screen reader users skip straight to the main content with one key. Without a main region they have to read through everything before it.`,fix:["Wrap the page's main content in one `<main>` element."]},"landmark-complementary-is-top-level":{title:`A side region is nested inside another region`,why:`Screen readers list regions as an outline; a side region buried inside another is hard to find and confusing to reach.`,fix:["Move the `<aside>` out so it is not inside `<main>`, `<nav>` or another region, or make it a plain `<div>`."]},"color-contrast":{title:`Text is too faint against its background`,why:`People with low vision, colour blindness or a screen in sunlight can't read text without enough contrast.`,fix:[`Darken the text or lighten the background until the contrast is at least 4.5:1 (3:1 for large text).`,`Check the colours with a contrast checker, including hover and disabled states.`]},"link-in-text-block":{title:`A link in a sentence can only be told apart by its colour`,why:`People who can't see the colour difference don't know the words are a link.`,fix:[`Underline links inside text, or give them a contrast of 3:1 with the text around them plus a visible change on hover and focus.`]},"image-alt":{title:`An image has no text alternative`,why:`Screen readers can't describe the image, so its meaning is lost; some read out the file name instead.`,fix:["Add an `alt` that says what the image shows or does.",'If it is only decoration, use `alt=""` so screen readers skip it.']},"role-img-alt":{title:`An element shown as an image has no text alternative`,why:`Screen readers announce an image with nothing to say about it.`,fix:["Give it an `aria-label` or `aria-labelledby` that says what it shows."]},"svg-img-alt":{title:`An SVG image has no text alternative`,why:`Screen readers announce an image with nothing to say about it.`,fix:["Add a `<title>` inside the SVG, or an `aria-label` on it.",'If it is only decoration, add `aria-hidden="true"`.']},"input-image-alt":{title:`An image button has no text alternative`,why:`Screen reader users hear “button” but not what it does.`,fix:['Add an `alt` to the `<input type="image">` that says what the button does.']},"image-redundant-alt":{title:`An image's text repeats the words next to it`,why:`Screen reader users hear the same thing twice.`,fix:["Make the image's `alt` empty, or say something the nearby text doesn't."]},label:{title:`A form field has no label`,why:`Screen reader users don't know what to type, and clicking the words next to the field doesn't focus it.`,fix:['Add a `<label for="…">` tied to the field\'s `id`.',"If a visible label really can't be shown, add an `aria-label`."]},"select-name":{title:`A drop-down has no label`,why:`Screen reader users don't know what they are choosing.`,fix:['Add a `<label for="…">` tied to the `<select>`\'s `id`, or an `aria-label`.']},"autocomplete-valid":{title:`A field's autocomplete value is not one browsers know`,why:`Browsers and password managers can't fill it in, which matters most to people who find typing hard.`,fix:["Use a standard `autocomplete` value, such as `email`, `given-name` or `postal-code`."]},"button-name":{title:`A button has no name`,why:`Screen reader users hear “button” but not what it does; voice control users can't say its name to press it.`,fix:["Put text inside the button, or add an `aria-label` for an icon-only button."]},"link-name":{title:`A link has no name`,why:`Screen reader users hear “link” but not where it goes.`,fix:["Put text inside the link, or give an icon link an `aria-label`.","For an image link, give the image an `alt` that says where it goes."]},"html-has-lang":{title:`The page doesn't say which language it is in`,why:`Screen readers read the page with the wrong voice and pronunciation.`,fix:['Add the language to the page, such as `<html lang="en">`.']},"html-lang-valid":{title:`The page's language code is not a real one`,why:`Screen readers can't pick the right voice and pronunciation.`,fix:["Use a valid code in `<html lang>`, such as `en`, `en-GB` or `fr`."]},"document-title":{title:`The page has no title`,why:`The title is the first thing a screen reader says and what shows in tabs and history; without it people can't tell pages apart.`,fix:["Add a `<title>` that says what the page is, such as “Search results – Flights”."]},"frame-title":{title:`A frame has no title`,why:`Screen reader users don't know what the embedded content is before going into it.`,fix:["Add a `title` to the `<iframe>` that says what it holds."]},"heading-order":{title:`Heading levels skip a step`,why:`Screen reader users move through a page by its headings; a skipped level makes them think something is missing.`,fix:["Go down one level at a time: an `<h2>` is followed by an `<h3>`, not an `<h4>`.",`Choose the level by the outline, then style it to the size you want.`]},"page-has-heading-one":{title:`The page has no main heading`,why:`Screen reader users jump to the main heading to learn what the page is about.`,fix:["Add one `<h1>` that names the page."]},"empty-heading":{title:`A heading is empty`,why:`Screen readers announce a heading with nothing in it, which is confusing when moving by headings.`,fix:[`Put text in the heading, or remove it if it is only used for spacing.`]},list:{title:`A list holds things that aren't list items`,why:`Screen readers miscount the items or don't announce it as a list.`,fix:["Put only `<li>` elements (or `<script>` and `<template>`) directly inside `<ul>` and `<ol>`."]},listitem:{title:`A list item is outside a list`,why:`Screen readers don't announce it as part of a list.`,fix:["Put every `<li>` inside a `<ul>` or `<ol>`."]},"duplicate-id-aria":{title:`Two elements share an id that labels something`,why:`A field or control can end up announced with another element's label.`,fix:["Give every element that `aria-labelledby`, `aria-describedby` or `<label for>` points at its own `id`."]},"aria-allowed-attr":{title:`An element uses an ARIA attribute its role doesn't allow`,why:`Screen readers ignore it or announce the element wrongly.`,fix:["Remove the attribute, or change the element's `role` to one that supports it."]},"aria-required-attr":{title:`An element is missing an ARIA attribute its role needs`,why:`Screen readers can't tell its state, such as whether a box is ticked or a section is open.`,fix:['Add the attribute the role needs, such as `aria-checked` on a `role="checkbox"`.']},"aria-valid-attr-value":{title:`An ARIA attribute has a value that isn't allowed`,why:`Screen readers ignore it, so the element's state or relations are lost.`,fix:[`Use one of the attribute's allowed values, and make every id it points at exist on the page.`]},"aria-hidden-focus":{title:`Hidden content can still be reached with the keyboard`,why:`Keyboard users land on something a screen reader says nothing about.`,fix:['Make the controls inside unfocusable with `tabindex="-1"` or `inert`, or don\'t hide the content.']},"nested-interactive":{title:`A control is inside another control`,why:`Screen readers announce only the outer one, and the inner one may be impossible to reach.`,fix:[`Move the inner link or button out, so no control holds another.`]},"scrollable-region-focusable":{title:`A scrolling area can't be scrolled with the keyboard`,why:`Keyboard users can't reach the content hidden in it.`,fix:['Add `tabindex="0"` and an `aria-label` to the scrolling element, or put a focusable control in it.']},tabindex:{title:`An element jumps the keyboard order`,why:"A `tabindex` above 0 makes keyboard focus jump around the page in an order people don't expect.",fix:['Use `tabindex="0"` or none, and order the HTML the way people should move through it.']},"meta-viewport":{title:`The page stops people from zooming`,why:`People with low vision need to zoom in to read.`,fix:["Remove `user-scalable=no` and any `maximum-scale` below 5 from the viewport `<meta>`."]},"target-size":{title:`A control is too small to tap reliably`,why:`People with tremors or large fingers hit the wrong thing.`,fix:[`Make the control at least 24 by 24 pixels, or leave that much space around it.`]}},Te=e=>e.split("`").map((e,t)=>({code:t%2==1,text:e})).filter(e=>e.text),q=[`critical`,`serious`,`moderate`,`minor`],Ee={critical:`fail`,serious:`fail`,moderate:`warn`,minor:`neutral`},J=[{key:`lcp`,label:`LCP`,good:2500,poor:4e3,unit:`ms`},{key:`cls`,label:`CLS`,good:.1,poor:.25,unit:``},{key:`inp`,label:`INP`,good:200,poor:500,unit:`ms`},{key:`fcp`,label:`FCP`,good:1800,poor:3e3,unit:`ms`},{key:`ttfb`,label:`TTFB`,good:800,poor:1800,unit:`ms`},{key:`load`,label:`Load`,good:1/0,poor:1/0,unit:`ms`}],Y=(e,t)=>t?e>=1e3?`${(e/1e3).toFixed(1)}s`:`${Math.round(e)}ms`:e.toFixed(3).replace(/(?<!0)0+$/,``).replace(/\.$/,``),X=(e,t)=>`${e} ${t}${e===1?``:`s`}`,Z=e=>`${e} ${e===1?`criterion`:`criteria`}`,De=e=>e.replace(/(data:[\w/+.-]+;base64,)[A-Za-z0-9+/=]{24,}/g,`$1…`),Q=e=>{try{let t=new URL(e),n=t.pathname===`/`?``:t.pathname.length>44?`${t.pathname.slice(0,20)}…${t.pathname.slice(-20)}`:t.pathname;return`${t.host}${n}${t.search?`?…`:``}`}catch{return e.length>70?`${e.slice(0,68)}…`:e}},Oe=e=>{try{let t=new URL(String(e??``));return t.protocol===`http:`||t.protocol===`https:`?t.href:null}catch{return null}},ke=e=>e>=90?`text-pass`:e>=60?`text-warn`:`text-fail`,Ae=[{label:`Use only a keyboard`,icon:C,how:`Tab through every control: can you reach it, see where focus is, and get out again?`,people:[`Keyboard only`],who:`a keyboard-only persona`,personas:[`keyboard-only`]},{label:`Zoom to 200% and enlarge text`,icon:ee,how:`Nothing is cut off, overlaps or needs scrolling sideways.`,people:[`200% zoom`,`Large text`],who:`a persona with the page zoomed or its text enlarged`,personas:[`low-vision`,`large-text`]},{label:`Listen with a screen reader`,icon:M,how:`Headings, names and changes on the page are announced in a sensible order.`,people:[`Screen reader`],who:`a screen reader persona`,personas:[`blind`]},{label:`Look past colour and motion`,icon:N,how:`Nothing relies on colour alone, motion can be stopped, and contrast holds in high contrast mode.`,people:[`Colour vision`,`Reduced motion`,`High contrast`,`Blur or low contrast`],who:`a persona with colour blindness, blur, high contrast or reduced motion`,personas:[`colour-blind`,`reduced-motion`,`high-contrast`]},{label:`Read, understand and correct`,icon:fe,how:`Instructions, errors and help are clear, consistent and let you recover.`,people:[`Cognitive`],who:`a persona with a cognitive disability`,personas:[`cognitive`]},{label:`Touch, gestures and media`,icon:P,how:`Targets are big enough, gestures have a simple way round, media has captions.`,people:[`Touch`,`Hand tremor`,`Deaf or hard of hearing`],who:`a touch, hand tremor or deaf persona`,personas:[`touch-tremor`,`deaf`]}],je={label:`Read and judge the content`,icon:he,how:`A person reads the page and judges it against the criterion.`,who:``,personas:[]},Me=(e,t)=>({personas:[...new Set(t.flatMap(e=>e.personas))],pages:e.map(e=>e.url),criteria:[...new Map(t.flatMap(e=>e.items).map(e=>[e.id,{id:e.id,title:e.title}])).values()],groups:t.map(e=>e.label)});function Ne(e){let t=e.ledger;if(!t||(t.summary.exercised??0)>0)return null;let n=t.criteria.filter(e=>e.result===`not_tested`),r=Ae.map(e=>({...e,items:n.filter(t=>t.people.some(t=>e.people.includes(t)))})).filter(e=>e.items.length);return r.length?Me(t.pages,r):null}var Pe={critical:`bg-fail`,serious:`bg-warn`,moderate:`bg-placeholder`,minor:`bg-line-strong`};function Fe({items:e}){return(0,W.jsx)(`span`,{className:`flex flex-wrap gap-x-2 gap-y-1 text-body-sm text-ink-2 tabular-nums`,children:e.map(e=>(0,W.jsx)(`span`,{"data-tip":e.title,children:e.id},e.id))})}function Ie({text:e}){return(0,W.jsx)(W.Fragment,{children:Te(e).map((e,t)=>e.code?(0,W.jsx)(`code`,{className:`rounded-sm bg-surface-muted px-1 font-mono text-body-sm`,children:e.text},t):(0,W.jsx)(`span`,{children:e.text},t))})}var Le=/^data:image\/jpeg;base64,[A-Za-z0-9+/]+={0,2}$/,Re=/^a11y\/\d{2,3}-\d{2}\.jpg$/;function ze({e,load:t,what:n}){let r=e.shot&&Le.test(e.shot)?e.shot:``,i=!r&&e.shot&&Re.test(e.shot)?e.shot:``,[a,s]=(0,U.useState)(r),[l,u]=(0,U.useState)(!1);if((0,U.useEffect)(()=>{if(r||!i||!t)return;let e=!1;return s(``),u(!1),t(i).then(t=>!e&&s(t),()=>!e&&u(!0)),()=>{e=!0}},[i,r,t]),!r&&!(i&&t))return null;if(l)return(0,W.jsxs)(`span`,{className:c(o,`flex h-20 max-w-sm items-center justify-center gap-2 text-body-sm text-muted`),children:[(0,W.jsx)(h,{icon:j,size:14}),` Not available`]});if(!a)return(0,W.jsxs)(`span`,{role:`status`,className:`block max-w-sm`,children:[(0,W.jsx)(`span`,{className:`sr-only`,children:`Loading…`}),(0,W.jsx)(y,{className:`h-20 w-full rounded-md`})]});let[d,f,p,m]=e.mark??[];return(0,W.jsxs)(`span`,{className:`relative inline-block max-w-full self-start`,children:[(0,W.jsx)(`img`,{src:a,alt:`${n}: ${e.target?`${e.target} `:`the element `}on the page${e.mark?`, outlined`:``}`,className:c(o,`block h-auto max-h-80 w-auto max-w-full object-contain`)}),e.mark&&(0,W.jsx)(`span`,{"aria-hidden":`true`,className:`pointer-events-none absolute rounded-sm outline-2 outline-offset-2 outline-fail outline-solid`,style:{left:`${d/10}%`,top:`${f/10}%`,width:`${p/10}%`,height:`${m/10}%`}})]})}function Be({f:e,examples:t,onePage:n=!1,shot:r}){let[a,o]=(0,U.useState)(!1),s=Object.hasOwn(K,e.rule)?K[e.rule]:void 0,l=[...new Set(t.map(e=>e.page))],u=Oe(e.helpUrl);return(0,W.jsxs)(`li`,{className:`flex flex-col`,children:[(0,W.jsxs)(`button`,{type:`button`,"aria-expanded":a,onClick:()=>o(!a),className:c(i,`grid grid-cols-[minmax(0,1fr)_auto_16px] gap-4 text-left`,n?`@xl:grid-cols-[96px_minmax(0,1fr)_72px_16px]`:`@xl:grid-cols-[96px_minmax(0,1fr)_72px_56px_16px]`),children:[(0,W.jsx)(`span`,{className:`col-span-3 @xl:col-span-1`,children:(0,W.jsx)(S,{tone:Ee[e.impact],className:`capitalize`,children:e.impact})}),(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,W.jsx)(`span`,{className:`text-body-md text-ink [overflow-wrap:anywhere]`,children:s?.title??e.help}),s?(0,W.jsx)(`span`,{className:`text-body-sm text-ink-2`,children:s.why}):null,(0,W.jsx)(`span`,{className:`font-mono text-body-sm text-muted`,children:e.rule})]}),(0,W.jsxs)(`span`,{className:`flex flex-col items-end`,children:[(0,W.jsx)(`span`,{className:`font-medium text-ink tabular-nums`,children:e.count}),(0,W.jsx)(`span`,{className:`text-body-sm text-muted`,children:e.count===1?`element`:`elements`})]}),!n&&(0,W.jsxs)(`span`,{className:`hidden flex-col items-end @xl:flex`,children:[(0,W.jsx)(`span`,{className:`font-medium text-ink tabular-nums`,children:e.pages}),(0,W.jsx)(`span`,{className:`text-body-sm text-muted`,children:e.pages===1?`page`:`pages`})]}),(0,W.jsx)(w,{size:16,"aria-hidden":`true`,className:c(`text-icon transition-transform`,a&&`rotate-180`)})]}),(0,W.jsx)(B,{open:a,children:(0,W.jsxs)(`div`,{className:`flex flex-col gap-4 px-4 pb-4 @xl:pl-32`,children:[s?(0,W.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,W.jsx)(`span`,{className:`text-body-sm font-medium text-ink`,children:`How to fix it`}),(0,W.jsx)(`ol`,{className:`m-0 flex list-decimal flex-col gap-1 pl-6 text-body-sm text-ink-2`,children:s.fix.map((e,t)=>(0,W.jsx)(`li`,{children:(0,W.jsx)(Ie,{text:e})},t))})]}):null,t.length?(0,W.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,W.jsx)(`span`,{className:`text-body-sm font-medium text-ink`,children:t.length<e.count?`The first ${t.length} of ${e.count}`:X(e.count,`element`)}),t.slice(0,3).map((t,i)=>(0,W.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-wrap gap-x-2 text-body-sm text-muted`,children:[!n&&(0,W.jsx)(`span`,{"data-tip":t.page,children:Q(t.page)}),t.target&&(0,W.jsx)(`span`,{className:`min-w-0 truncate font-mono`,"data-tip":t.target,children:t.target})]}),(0,W.jsx)(ze,{e:t,load:r,what:s?.title??e.help}),t.html&&(0,W.jsx)(`code`,{className:c(`overflow-auto rounded-base bg-surface-muted p-4 font-mono text-body-sm leading-relaxed whitespace-pre-wrap text-ink-2 [overflow-wrap:anywhere]`,`line-clamp-3 break-all`),children:De(t.html)}),t.fix?.length?(0,W.jsx)(`span`,{className:`flex flex-col text-body-sm text-ink-2`,children:t.fix.map((e,t)=>(0,W.jsx)(`span`,{className:t===0&&/:$/.test(e)?`text-muted`:void 0,children:e},t))}):null]},i))]}):(0,W.jsx)(`span`,{className:`text-body-sm text-muted`,children:`No elements were kept for this rule.`}),(0,W.jsxs)(`span`,{className:`flex flex-wrap items-center justify-between gap-2 text-body-sm`,children:[(0,W.jsx)(`span`,{className:`text-muted`,children:!n&&l.length?`On ${l.map(Q).join(`, `)}`:``}),u&&(0,W.jsxs)(`a`,{href:u,target:`_blank`,rel:`noreferrer noopener`,className:`inline-flex items-center gap-1`,children:[s?`More from the checker`:`How to fix it`,` `,(0,W.jsx)(le,{size:12,"aria-hidden":`true`})]})]})]})})]})}var Ve=(e,t)=>Object.hasOwn(e.examples,t)&&Array.isArray(e.examples[t])?e.examples[t]:[];function He({run:e,standard:t,disclaimer:n,links:r={},shot:i,onTest:a}){let o=e.report,l=e.ledger,[u,p]=(0,U.useState)(!1),[h,_]=(0,U.useState)(!1),[v,y]=(0,U.useState)(null),[b,x]=(0,U.useState)(`page`);if(!o?.accessibility.pages)return(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`This run has no accessibility results: report.accessibility was off, or the run visited no page.`});let C=o.accessibility,T=o.breaches.filter(e=>e.kind===`accessibility`),E=l?.criteria??[],ee=e=>E.find(t=>t.id===e),O=l?.summary??{},te=C.failed.reduce((e,t)=>e+t.count,0),ne=E.map(e=>({id:e.id,title:e.title,level:e.level,group:e.principle,result:e.result})),A=new Map;for(let e of[...C.failed].sort((e,t)=>q.indexOf(e.impact)-q.indexOf(t.impact)||t.count-e.count))A.set(e.wcag||``,[...A.get(e.wcag||``)||[],e]);let ie=new Map(C.failed.map(e=>[e.rule,e])),j=(l?.pages??[]).map(e=>({page:e,rules:(e.rules??[]).flatMap(e=>ie.has(e.rule)?[{...ie.get(e.rule),count:e.count,pages:1}]:[]).sort((e,t)=>q.indexOf(e.impact)-q.indexOf(t.impact)||t.count-e.count)})).filter(e=>e.rules.length).map(e=>({...e,total:e.rules.reduce((e,t)=>e+t.count,0)})),se=j.length>0,M=se?b:`criterion`,le=E.filter(e=>e.result===`not_tested`),N=[...Ae.map(e=>({...e,items:le.filter(t=>t.people.some(t=>e.people.includes(t)))})),{...je,items:le.filter(e=>!e.people.length)}].filter(e=>e.items.length),ue=(0,W.jsx)(V,{icon:ae,title:`Fix these`,n:C.failed.length?M===`page`?`${X(C.failed.length,`rule`)} on ${X(j.length,`page`)}, ${te} elements in all`:`${X(C.failed.length,`rule`)} break ${Z([...A.keys()].filter(Boolean).length)}, ${te} elements in all`:void 0,actions:C.failed.length&&se?(0,W.jsx)(_e,{label:`Group by`,value:M,onChange:x,options:[{id:`page`,label:`By page`},{id:`criterion`,label:`By criterion`}]}):void 0,divider:!1,children:C.failed.length&&M===`page`?(0,W.jsx)(`div`,{className:`flex flex-col gap-6`,children:j.map(({page:t,rules:n,total:r})=>(0,W.jsxs)(`section`,{"aria-label":`Page ${t.title||Q(t.url)}`,className:`flex flex-col gap-2`,children:[(0,W.jsxs)(`div`,{className:`flex items-start gap-4`,children:[(0,W.jsx)(`span`,{"aria-hidden":`true`,className:`flex h-9 w-14 flex-none items-center justify-center rounded-base bg-fail-soft text-label-md text-fail tabular-nums`,"data-tip":X(r,`element`),children:r}),(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,W.jsx)(`span`,{className:`truncate text-body-lg font-medium`,"data-tip":t.url,children:t.title||Q(t.url)}),(0,W.jsxs)(`span`,{className:`truncate text-body-sm text-muted`,children:[Q(t.url),` · `,X(n.length,`rule`),`, `,X(r,`element`)]})]})]}),(0,W.jsx)(s,{className:`p-0 @xl:ml-18`,children:(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-col divide-y divide-line-soft p-0`,children:n.map(n=>(0,W.jsx)(Be,{f:n,examples:Ve(e,n.rule).filter(e=>e.page===t.url),onePage:!0,shot:i},n.rule))})})]},t.url))}):C.failed.length?(0,W.jsx)(`div`,{className:`flex flex-col gap-6`,children:[...A.entries()].map(([t,n])=>{let r=ee(t),a=new Set(n.flatMap(t=>Ve(e,t.rule).map(e=>e.page)));return(0,W.jsxs)(`section`,{"aria-label":t?`${t} ${r?.title??``}`:`Not tied to a criterion`,className:`flex flex-col gap-2`,children:[(0,W.jsxs)(`div`,{className:`flex items-start gap-4`,children:[(0,W.jsx)(`span`,{className:`flex h-9 w-14 flex-none items-center justify-center rounded-base bg-fail-soft text-label-md text-fail tabular-nums`,children:t||`–`}),(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,W.jsx)(`span`,{className:`text-body-lg font-medium`,children:t?r?.title??`WCAG ${t}`:`Not tied to a WCAG criterion`}),(0,W.jsxs)(`span`,{className:`text-body-sm text-muted`,children:[r?`Level ${r.level}, `:``,X(n.length,`rule`),`, `,n.reduce((e,t)=>e+t.count,0),` elements`,a.size?` on ${X(a.size,`page`)}`:``]})]})]}),(0,W.jsx)(s,{className:`p-0 @xl:ml-18`,children:(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-col divide-y divide-line-soft p-0`,children:n.map(t=>(0,W.jsx)(Be,{f:t,examples:Ve(e,t.rule),shot:i},t.rule))})})]},t||`none`)})}):(0,W.jsx)(m,{tone:`pass`,children:`No rule failed on the pages this run checked.`})}),P=(O.exercised??0)>0,de=l?P?`This session's rules and personas`:`This ${l.scan?`scan`:`run`} only ran automated rules (${l.engine||`axe-core`}) over each page's code`:``,fe=P?[]:N.filter(e=>e.personas.length),pe=e=>a?.(Me(l?.pages??[],e)),me=l?(0,W.jsxs)(V,{icon:ce,title:P?`Not tested by this session`:`Not tested by this ${l.scan?`scan`:`run`}`,description:P?`${de} did not reach these. A person checks them.`:`${de}: nothing was tabbed through, zoomed, read aloud or judged. To test what is below, run a persona session, a separate run where agents use the page as people with these needs do, or check it yourself.`,actions:a&&fe.length?(0,W.jsxs)(g,{size:`sm`,variant:`ghost`,onClick:()=>pe(fe),"data-tip":`Opens the Accessibility agent with a request for all of these, for you to read and send`,children:[(0,W.jsx)(k,{"aria-hidden":`true`}),`Test with personas`]}):r.personas&&!P?(0,W.jsxs)(`a`,{href:r.personas,className:f({size:`sm`,variant:`ghost`}),"data-tip":`Have the personas use the site: they test what no rule can`,children:[(0,W.jsx)(k,{"aria-hidden":`true`}),`Test with personas`]}):void 0,divider:!1,children:[l.review.length>0&&(0,W.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,W.jsx)(H,{icon:D,level:3,title:`Flagged for a person to confirm`,n:l.review.length,description:`A rule found elements it could not judge on its own: a person looks at them and decides.`}),(0,W.jsx)(m,{tone:`warn`,as:`div`,children:(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-col divide-y divide-warn/10 p-0`,children:l.review.map(e=>(0,W.jsxs)(`li`,{className:`flex flex-wrap items-center gap-x-4 gap-y-1 py-2`,children:[(0,W.jsx)(`span`,{className:`text-ink`,children:Object.hasOwn(K,e.rule)?K[e.rule].title:(0,W.jsx)(`span`,{className:`font-mono`,children:e.rule})}),(0,W.jsx)(`span`,{className:`min-w-0 flex-1 text-ink-2`,children:e.criteria.map(e=>`${e.id} ${e.title}`).join(`, `)}),(0,W.jsx)(`span`,{className:`text-muted tabular-nums`,children:X(e.pages,`page`)})]},e.rule))})})]}),N.length>0&&(0,W.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,W.jsx)(H,{icon:k,level:3,title:`Need someone to use the page`,n:le.length,description:`No automated rule can test these criteria. Grouped by how they are tested: open one for what to try, who can test it, and the criteria it covers.`}),(0,W.jsx)(s,{className:`p-0`,children:(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-col divide-y divide-line-soft p-0`,children:N.map(e=>{let t=v===e.label,n=`hand-${e.label.replace(/\W+/g,`-`).toLowerCase()}`;return(0,W.jsxs)(`li`,{children:[(0,W.jsxs)(`button`,{type:`button`,"aria-expanded":t,"aria-controls":n,onClick:()=>y(t?null:e.label),className:c(`flex w-full min-h-11 cursor-pointer items-center gap-4 rounded-base border-0 bg-transparent px-4 py-2 text-left text-body-sm text-ink no-underline transition-colors duration-150 hover:bg-tint hover:text-ink aria-[current]:bg-tint-hover aria-selected:bg-tint-hover aria-pressed:bg-tint-hover aria-checked:bg-tint-hover has-[:checked]:bg-tint-hover disabled:cursor-not-allowed disabled:opacity-50`,`w-full gap-4`),children:[(0,W.jsx)(ve,{icon:e.icon}),(0,W.jsx)(`span`,{className:`min-w-0 flex-1 text-left text-body-md`,children:e.label}),(0,W.jsx)(`span`,{className:`hidden text-body-sm text-muted @xl:inline`,children:e.who&&!P?`Persona or person`:`A person`}),(0,W.jsx)(`span`,{className:`text-body-sm text-muted tabular-nums`,children:e.items.length}),(0,W.jsx)(w,{size:14,"aria-hidden":`true`,className:c(`text-icon transition-transform`,!t&&`-rotate-90`)})]}),(0,W.jsxs)(B,{open:t,id:n,className:`flex flex-col gap-2 px-4 pb-4 @xl:pl-18`,children:[(0,W.jsx)(`span`,{className:`text-body-sm text-ink-2`,children:e.how}),(0,W.jsx)(`span`,{className:`text-body-sm text-muted`,children:e.who&&!P?`Who can test it: ${e.who} in a persona session, or a person.`:`Who can test it: a person. No persona covers these criteria.`}),(0,W.jsx)(Fe,{items:e.items}),a&&!P&&e.personas.length>0&&(0,W.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:(0,W.jsxs)(g,{size:`sm`,variant:`ghost`,onClick:()=>pe([e]),"data-tip":`Opens the Accessibility agent with a request for these criteria, for you to read and send`,children:[(0,W.jsx)(k,{"aria-hidden":`true`}),`Test with personas`]})})]})]},e.label)})})})]})]}):null;return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-6`,children:[l&&(0,W.jsxs)(s,{className:`flex flex-col gap-4`,children:[(0,W.jsxs)(`p`,{className:`m-0 flex flex-wrap items-baseline gap-x-4 gap-y-1`,children:[(0,W.jsx)(`span`,{className:c(`text-headline-sm`,O.failed?`text-fail`:`text-pass`),children:O.failed?`${Z(O.failed)} ${O.failed===1?`fails`:`fail`}`:`No rule failed`}),O.review?(0,W.jsx)(`span`,{className:`text-body-md text-warn`,children:O.review===1?`1 check needs you`:`${O.review} checks need you`}):null,O.not_tested?(0,W.jsx)(`span`,{className:`text-body-md text-ink-2`,children:`${Z(O.not_tested)} not tested by ${l.scan?`this scan`:`this run's rules`}`}):null]}),(0,W.jsx)(Ce,{keyed:!1,label:`${l.label} criteria`,cells:ne}),(0,W.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,W.jsxs)(g,{variant:`ghost`,size:`sm`,"aria-expanded":h,"aria-controls":`ruler-help-${e.id}`,onClick:()=>_(!h),className:`gap-1 self-start`,children:[(0,W.jsx)(w,{size:13,"aria-hidden":`true`,className:c(`text-muted transition-transform`,!h&&`-rotate-90`)}),`How to read this`]}),(0,W.jsxs)(B,{open:h,id:`ruler-help-${e.id}`,className:`flex flex-col gap-2`,children:[(0,W.jsx)(we,{cells:ne}),(0,W.jsxs)(`p`,{className:`m-0 text-body-md text-ink-2`,children:[`Each square is one `,l.label,` criterion. `,O.failed?`${Z(O.failed)} ${O.failed===1?`fails`:`fail`}`:`No criterion fails`,` on `,C.pages===1?`this page`:`these ${C.pages} pages`,O.review?`, and ${O.review} ${O.review===1?`needs`:`need`} a person to decide`:``,`. `,O.passed??0,` `,O.passed===1?`passes`:`pass`,` every rule that checks `,O.passed===1?`it`:`them`,`; the other `,O.not_tested??0,` `,l.scan?`this scan`:`this run`,` did not test: no rule can check `,O.not_tested===1?`it`:`them`,`, so `,O.not_tested===1?`it needs`:`they need`,` someone to use the page, a persona or a person.`]})]})]})]}),T.map((e,t)=>(0,W.jsxs)(m,{tone:`fail`,children:[`Over budget on `,Q(e.page),`: `,e.text]},t)),(0,W.jsxs)(`div`,{className:`grid items-start gap-10 @5xl:grid-cols-[minmax(0,1fr)_300px]`,children:[(0,W.jsx)(`div`,{className:`flex min-w-0 flex-col gap-10`,children:C.failed.length?(0,W.jsxs)(W.Fragment,{children:[ue,me]}):(0,W.jsxs)(W.Fragment,{children:[!l&&(0,W.jsx)(m,{tone:`pass`,children:`Nothing failed on the pages this run checked.`}),me]})}),(0,W.jsxs)(`aside`,{"aria-label":`About this run`,className:`flex min-w-0 flex-col gap-6 @5xl:sticky @5xl:top-6`,children:[l&&(0,W.jsxs)(s,{className:`flex flex-col gap-2`,children:[(0,W.jsx)(H,{icon:re,level:3,title:`Pages checked`,n:l.pages.length}),(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-col divide-y divide-line-soft p-0`,children:l.pages.map(e=>(0,W.jsxs)(`li`,{className:`flex flex-col gap-1 py-2`,children:[(0,W.jsxs)(`span`,{className:`flex items-baseline justify-between gap-2`,children:[(0,W.jsx)(`span`,{className:`min-w-0 truncate text-body-sm font-medium text-ink`,"data-tip":e.url,children:e.title||Q(e.url)}),(0,W.jsx)(`span`,{className:c(`text-body-sm font-medium tabular-nums`,e.total?`text-fail`:`text-pass`),children:e.total})]}),(0,W.jsx)(`span`,{className:`truncate text-body-sm text-muted`,children:Q(e.url)}),e.total>0&&(0,W.jsx)(d,{label:q.filter(t=>e.byImpact[t]).map(t=>`${e.byImpact[t]} ${t}`).join(`, `),parts:q.map(t=>({key:t,value:e.byImpact[t],className:Pe[t],text:``})),className:`h-2`})]},e.url))})]}),(0,W.jsxs)(s,{className:`flex flex-col gap-2`,children:[(0,W.jsx)(H,{icon:oe,level:3,title:`This run`}),(0,W.jsxs)(`dl`,{className:`m-0 grid grid-cols-[auto_1fr] gap-x-4 gap-y-2 text-body-sm`,children:[(0,W.jsx)(`dt`,{className:`text-muted`,children:`Standard`}),(0,W.jsx)(`dd`,{className:`m-0 text-ink-2`,children:l?.label??t}),(0,W.jsx)(`dt`,{className:`text-muted`,children:`Engine`}),(0,W.jsx)(`dd`,{className:`m-0 text-ink-2`,children:l?.engine||o.engine||`axe-core`}),(0,W.jsx)(`dt`,{className:`text-muted`,children:`Budget`}),(0,W.jsx)(`dd`,{className:`m-0 text-ink-2`,children:o.budgets.accessibility?T.length?`${X(T.length,`budget`)} exceeded`:`Within the budget`:`None set, so nothing fails the run`})]}),r.measured?(0,W.jsx)(Se,{href:r.measured,children:`Everything it measured`}):null]}),C.passed.length>0&&(0,W.jsxs)(s,{className:`flex flex-col p-0`,children:[(0,W.jsxs)(`button`,{type:`button`,"aria-expanded":u,onClick:()=>p(!u),className:c(`flex w-full min-h-11 cursor-pointer items-center gap-4 rounded-base border-0 bg-transparent px-4 py-2 text-left text-body-sm text-ink no-underline transition-colors duration-150 hover:bg-tint hover:text-ink aria-[current]:bg-tint-hover aria-selected:bg-tint-hover aria-pressed:bg-tint-hover aria-checked:bg-tint-hover has-[:checked]:bg-tint-hover disabled:cursor-not-allowed disabled:opacity-50`,`justify-between`),children:[(0,W.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,W.jsx)(w,{size:14,"aria-hidden":`true`,className:c(`text-icon transition-transform`,!u&&`-rotate-90`)}),`Rules that passed`]}),(0,W.jsx)(`span`,{className:`text-muted tabular-nums`,children:C.passed.length})]}),(0,W.jsx)(B,{open:u,children:(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-wrap gap-1 p-2`,children:C.passed.map(e=>(0,W.jsx)(`li`,{children:(0,W.jsx)(S,{tone:`pass`,icon:!1,className:`font-mono`,children:e})},e))})})]})]})]}),(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:n})]})}function Ue({run:e}){let t=e.report;if(!t?.performance.pages.length)return(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`This run has no timings: the run visited no page.`});let n=(e,t)=>e>t.poor?`poor`:e>t.good?`needs improvement`:`good`,r={poor:`text-fail`,"needs improvement":`text-warn`,good:`text-pass`},i=t.breaches.filter(e=>e.kind===`performance`);return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-4`,children:[(0,W.jsxs)(`p`,{className:`m-0 text-body-sm text-muted`,children:[`Core Web Vitals of each page, from one visit in ForgeQE's browser, against Google's thresholds: `,(0,W.jsx)(`span`,{className:`text-pass`,children:`good`}),`, `,(0,W.jsx)(`span`,{className:`text-warn`,children:`needs improvement`}),`, `,(0,W.jsx)(`span`,{className:`text-fail`,children:`poor`}),`.`,` `,t.budgets.performance?`Pages over quality.budgets.performance are marked.`:`No performance budget set: nothing fails on timings.`]}),i.map((e,t)=>(0,W.jsxs)(`p`,{className:c(p.fail,`m-0`),children:[`Over budget · `,Q(e.page),`: `,e.text]},t)),(0,W.jsx)(z,{label:`Timings`,minWidth:720,head:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:L,children:`Page`}),J.map(e=>(0,W.jsx)(`th`,{scope:`col`,className:I,"data-tip":e.label,children:e.label},e.key)),(0,W.jsx)(`th`,{scope:`col`,className:I,children:`Requests`}),(0,W.jsx)(`th`,{scope:`col`,className:I,children:`Size`})]}),children:t.performance.pages.map((e,t)=>(0,W.jsxs)(`tr`,{className:`border-t border-line-soft align-top`,children:[(0,W.jsxs)(`td`,{className:F,children:[(0,W.jsx)(`span`,{className:`block max-w-[340px] truncate font-mono text-body-sm`,"data-tip":e.url,children:Q(e.url)}),e.over.length>0&&(0,W.jsxs)(`span`,{className:`text-body-sm text-fail`,children:[`over: `,e.over.join(`, `)]})]}),J.map(t=>{let i=e[t.key];return(0,W.jsxs)(`td`,{"data-sort":typeof i==`number`?i:-1,className:c(R,typeof i==`number`&&t.good!==1/0?r[n(i,t)]:typeof i==`number`?`text-ink-2`:`text-muted`),children:[typeof i==`number`?Y(i,t.unit):`–`,typeof i==`number`&&t.good!==1/0&&(0,W.jsxs)(`span`,{className:`sr-only`,children:[` (`,n(i,t),`)`]})]},t.key)}),(0,W.jsx)(`td`,{className:c(R,`text-muted`),children:e.requests??`–`}),(0,W.jsx)(`td`,{className:c(R,`text-muted`),"data-sort":e.kb??-1,children:e.kb===void 0?`–`:`${e.kb} KB`})]},t))}),(0,W.jsxs)(`p`,{className:`m-0 text-body-sm text-muted`,children:[J.filter(e=>e.good!==1/0).map(e=>`${e.label}: good up to ${Y(e.good,e.unit)}, poor over ${Y(e.poor,e.unit)}`).join(`; `),`. Lab values from one visit, not data from real users.`]})]})}var We={pass:{label:`Passed`,tone:`pass`,cell:`bg-pass-dot`},warn:{label:`Warning`,tone:`warn`,cell:`bg-warn-dot`},fail:{label:`Failed`,tone:`fail`,cell:`bg-fail-dot`}},Ge={fail:0,warn:1,pass:2};function Ke({checks:e}){return(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-col p-0`,children:e.map(e=>(0,W.jsxs)(`li`,{className:`flex flex-col gap-1 border-t border-line-soft py-2 first:border-t-0 @xl:flex-row @xl:gap-4`,children:[(0,W.jsx)(`span`,{className:`flex-none font-medium text-ink @xl:w-56`,children:e.label}),(0,W.jsx)(`span`,{className:`min-w-0 text-body-sm text-ink-2 [overflow-wrap:anywhere]`,children:e.text})]},e.id))})}function qe({checks:e}){let[t,n]=(0,U.useState)(!1),r=t=>e.filter(e=>e.status===t),i=[{status:`fail`,title:`To fix`,items:r(`fail`)},{status:`warn`,title:`To improve`,items:r(`warn`)}].filter(e=>e.items.length),a=r(`pass`);return(0,W.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[i.map(e=>(0,W.jsxs)(`section`,{className:`flex flex-col gap-1`,children:[(0,W.jsxs)(`h4`,{className:`m-0 flex items-center gap-2 text-body-md font-medium text-ink`,children:[(0,W.jsx)(S,{tone:We[e.status].tone,className:`min-h-5 px-2 text-body-sm`,children:e.items.length}),e.title]}),(0,W.jsx)(Ke,{checks:e.items})]},e.status)),!i.length&&(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-pass`,children:`Every check passed.`}),a.length>0&&(0,W.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,W.jsxs)(`button`,{type:`button`,"aria-expanded":t,onClick:()=>n(!t),className:`flex cursor-pointer items-center gap-1 self-start border-0 bg-transparent p-0 text-body-sm text-ink-2`,children:[(0,W.jsx)(w,{size:14,"aria-hidden":`true`,className:c(`text-muted transition-transform`,!t&&`-rotate-90`)}),`Passed `,(0,W.jsx)(`span`,{className:`text-muted tabular-nums`,children:a.length})]}),t&&(0,W.jsx)(Ke,{checks:a})]})]})}var Je=e=>{try{return new URL(e).host}catch{return e}};function Ye({seo:e}){let[t,n]=(0,U.useState)(e.pages[0]?.url??``),[r,i]=(0,U.useState)(!1),a=(e,t)=>e.checks.filter(e=>e.status===t).length,o=e.pages.reduce((e,t)=>e+a(t,`fail`),0),s=e.pages.reduce((e,t)=>e+a(t,`warn`),0),l=e.pages.find(e=>e.url===t)??e.pages[0];return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-6`,children:[(0,W.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,W.jsxs)(`p`,{className:`m-0 flex flex-wrap items-baseline gap-x-4 gap-y-1`,children:[(0,W.jsxs)(`span`,{className:c(`text-headline-sm font-medium`,ke(e.score)),children:[`Score `,e.score,e.pages.length>1?(0,W.jsx)(`span`,{className:`text-body-md font-normal text-muted`,children:` on average`}):null]}),(0,W.jsx)(`span`,{className:c(`text-body-md`,o?`text-fail`:`text-muted`),children:o?`${X(o,`check`)} to fix`:`Nothing to fix`}),(0,W.jsx)(`span`,{className:c(`text-body-md`,s?`text-warn`:`text-muted`),children:s?`${s} to improve`:`Nothing to improve`})]}),(0,W.jsxs)(`button`,{type:`button`,"aria-expanded":r,onClick:()=>i(!r),className:`flex cursor-pointer items-center gap-1 self-start border-0 bg-transparent p-0 text-body-sm text-accent-fg`,children:[(0,W.jsx)(w,{size:14,"aria-hidden":`true`,className:c(`transition-transform`,!r&&`-rotate-90`)}),`How the score works`]}),r&&(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-ink-2`,children:`Each page gets the share of its checks that passed, weighted by how much each matters; a check to improve counts half. The checks read what the page tells search engines: its title, description, headings, canonical address, whether it may be indexed, language, mobile viewport, links, images and structured data.`})]}),e.pages.length>1&&(0,W.jsx)(`ul`,{"aria-label":`Pages`,className:`m-0 flex list-none flex-col p-0`,children:e.pages.map(e=>{let t=l?.url===e.url;return(0,W.jsx)(`li`,{children:(0,W.jsxs)(`button`,{type:`button`,"aria-pressed":t,onClick:()=>n(e.url),className:c(`flex w-full cursor-pointer items-center gap-4 rounded-base border-0 px-4 py-2 text-left`,t?`bg-surface-strong`:`bg-transparent hover:bg-tint`),children:[(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,W.jsx)(`span`,{className:`truncate font-medium text-ink`,children:e.title||Q(e.url)}),(0,W.jsx)(`span`,{className:`truncate text-body-sm text-muted`,"data-tip":e.url,children:Q(e.url)})]}),(0,W.jsxs)(`span`,{className:c(`w-24 flex-none text-right text-body-sm`,a(e,`fail`)?`text-fail`:`text-muted`),children:[a(e,`fail`),` to fix`]}),(0,W.jsxs)(`span`,{className:c(`hidden w-24 flex-none text-right text-body-sm @xl:inline`,a(e,`warn`)?`text-warn`:`text-muted`),children:[a(e,`warn`),` to improve`]}),(0,W.jsx)(`span`,{className:c(`w-10 flex-none text-right font-medium tabular-nums`,ke(e.score)),children:e.score})]})},e.url)})}),l&&(0,W.jsx)(V,{level:3,icon:ne,title:l.title||Q(l.url),description:Q(l.url),children:(0,W.jsx)(qe,{checks:l.checks})}),e.sites.map(e=>(0,W.jsx)(V,{level:3,icon:re,title:`${Je(e.origin)}: robots.txt and sitemap`,description:`What the site tells every crawler.`,children:(0,W.jsx)(qe,{checks:e.checks})},e.origin))]})}function Xe({seo:e}){let t=e.analytics,n=e.pages.map(e=>e.url);return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-4`,children:[(0,W.jsxs)(`p`,{className:`m-0 text-body-sm text-muted`,children:[t.tools.length?`${X(t.tools.length,`tool`)} found`:`No analytics tag found`,t.consentManagers.length?`; consent banner: ${t.consentManagers.join(`, `)}`:`; no consent banner found`,`. Each page was opened fresh, with no consent given, so a hit sent here was sent before anyone answered a banner.`]}),t.tools.length>0&&(0,W.jsxs)(`div`,{className:`overflow-x-auto`,children:[(0,W.jsx)(z,{label:`Analytics tools on each page`,head:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:`px-4 py-2 text-left text-label-md font-medium whitespace-nowrap text-muted`,children:`Tool`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-left text-label-md font-medium whitespace-nowrap text-muted`,`hidden @xl:table-cell`),children:`Ids`}),(0,W.jsx)(`th`,{scope:`col`,className:`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,children:`Hits`}),n.map((e,t)=>(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-left text-label-md font-medium whitespace-nowrap text-muted`,`w-8 text-center`),"data-tip":e,children:(0,W.jsx)(`span`,{"aria-label":`Page ${t+1}: ${e}`,children:t+1})},e))]}),children:t.tools.map(e=>(0,W.jsxs)(`tr`,{className:`border-t border-line-soft`,children:[(0,W.jsx)(`td`,{className:c(`px-4 py-2`,`font-medium`),children:e.tool}),(0,W.jsx)(`td`,{className:c(`px-4 py-2`,`hidden font-mono text-body-sm text-ink-2 @xl:table-cell`),children:e.ids.join(`, `)||`–`}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-right whitespace-nowrap tabular-nums`,children:e.hits}),n.map(t=>{let n=e.pages.includes(t);return(0,W.jsx)(`td`,{className:c(`px-4 py-2`,`text-center`),"data-sort":+!!n,children:(0,W.jsx)(`span`,{role:`img`,"aria-label":n?`On ${t}`:`Not on ${t}`,className:c(`inline-block size-3 rounded-full`,n?`bg-accent`:`shadow-[inset_0_0_0_1.5px_var(--color-line-strong)]`)})},t)})]},e.tool))}),(0,W.jsx)(`ol`,{className:`m-0 mt-2 flex list-none flex-wrap gap-x-4 gap-y-1 p-0 text-body-sm text-muted`,children:n.map((e,t)=>(0,W.jsxs)(`li`,{className:`font-mono`,"data-tip":e,children:[t+1,`: `,Q(e)]},e))})]}),t.findings.length>0&&(0,W.jsx)(z,{label:`Analytics findings`,empty:`Nothing matches.`,head:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-left text-label-md font-medium whitespace-nowrap text-muted`,`w-[110px]`),children:`Status`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-left text-label-md font-medium whitespace-nowrap text-muted`,`w-[22%]`),children:`Tool`}),(0,W.jsx)(`th`,{scope:`col`,className:`px-4 py-2 text-left text-label-md font-medium whitespace-nowrap text-muted`,children:`Finding`}),(0,W.jsx)(`th`,{scope:`col`,className:`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,children:`Pages`})]}),children:t.findings.map((e,t)=>(0,W.jsxs)(`tr`,{className:`border-t border-line-soft align-top`,children:[(0,W.jsx)(`td`,{className:`px-4 py-2`,"data-sort":Ge[e.status],children:(0,W.jsx)(S,{tone:We[e.status].tone,className:`min-h-5 px-2 text-body-sm`,children:We[e.status].label})}),(0,W.jsx)(`td`,{className:`px-4 py-2`,children:e.tool}),(0,W.jsx)(`td`,{className:c(`px-4 py-2`,`text-ink-2 [overflow-wrap:anywhere]`),"data-tip":e.pages.join(`
|
|
2
|
-
`),children:e.text}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-right whitespace-nowrap tabular-nums`,children:e.pages.length})]},t))})]})}var Ze=`forgeqe.accessibility.personas`,Qe=40,$e=/^[a-z0-9][a-z0-9-]{0,39}$/,et=/^\d\.\d{1,2}\.\d{1,2}$/,tt=RegExp(`[\\u0000-\\u001f\\u007f\\u2028\\u2029]+`,`g`),nt=(e,t)=>e.replace(tt,` `).replace(/\s+/g,` `).trim().slice(0,t);function rt(e){try{let t=new URL(e);if(t.protocol!==`http:`&&t.protocol!==`https:`||t.username||t.password)return``;let n=t.toString();return n.length<=300&&!/\s/.test(n)?n:``}catch{return``}}function it(e){let t=[...new Set(e.pages.map(rt).filter(Boolean))].slice(0,10),n=e.criteria.filter(e=>et.test(e.id)).slice(0,Qe),r=e.groups.map(e=>nt(e,60).toLowerCase()).filter(Boolean);return[`Test what the accessibility scan could not${r.length&&r.length<=2?` (${r.join(`; `)})`:``}: use ${t.length===1?`this page`:`these pages`} as each picked persona would, and record the barriers they meet.`,...t.length?[`Pages:`,...t.map(e=>`- ${e}`)]:[],...n.length?[`Criteria the scan did not test: ${n.map(e=>`${e.id} ${nt(e.title,80)}`.trim()).join(`; `)}.`]:[],`Goal: on each page, do its main task the way that person would: move through every control, open its menus and dialogs, and fill in its forms. Change this to a task of your own if you have one.`].join(`
|
|
3
|
-
`)}var at=``;function ot(e){let t=[...new Set(e.personas.filter(e=>$e.test(e)))];try{localStorage.setItem(Ze,JSON.stringify(t))}catch{}at=it(e),location.hash=n(`accessibility`,`agent`)}function st(){let e=at;return at=``,e}var ct={same:{label:`Same`,tone:`pass`},changed:{label:`Changed`,tone:`warn`},new:{label:`New baseline`,tone:`neutral`},no_baseline:{label:`No baseline`,tone:`neutral`}},$=e=>new Date(e).toLocaleString([],{month:`short`,day:`numeric`,hour:`numeric`,minute:`2-digit`}),lt=e=>!!(e.breaches||e.a11y?.failed||e.perf.over||e.visual?.changed);function ut({run:e,standard:t,disclaimer:r}){let i=(0,U.useCallback)(t=>u.shot(e.id,t),[e.id]);return(0,W.jsx)(He,{run:e,standard:t,disclaimer:r,links:{personas:n(`accessibility`),measured:n(`quality`,encodeURIComponent(e.id))},shot:i,onTest:ot})}function dt({run:e}){return(0,W.jsx)(Ue,{run:e})}function ft({run:e,index:t,which:n,label:r}){let[i,a]=(0,U.useState)(``),[s,l]=(0,U.useState)(!1);return(0,U.useEffect)(()=>{let r=!1;return a(``),l(!1),u.image(e,t,n).then(e=>!r&&a(e),()=>!r&&l(!0)),()=>{r=!0}},[e,t,n]),(0,W.jsxs)(`figure`,{className:`m-0 flex min-w-0 flex-col gap-2`,children:[(0,W.jsx)(`figcaption`,{className:`text-body-sm font-medium text-muted`,children:r}),i?(0,W.jsx)(`img`,{src:i,alt:`${r} of the page`,className:c(o,`block h-auto w-full`)}):s?(0,W.jsxs)(`span`,{className:c(o,`flex h-[120px] items-center justify-center gap-2 text-body-sm text-muted`),children:[(0,W.jsx)(h,{icon:j,size:14}),` Not available`]}):(0,W.jsxs)(`span`,{role:`status`,className:`block`,children:[(0,W.jsx)(`span`,{className:`sr-only`,children:`Loading…`}),(0,W.jsx)(y,{className:`h-[120px] w-full rounded-md`})]})]})}function pt({run:e,budget:t,onChange:n}){let[i,a]=(0,U.useState)(null),[o,s]=(0,U.useState)(``),[l,d]=(0,U.useState)(!1),[m,h]=(0,U.useState)(``),[_,v]=(0,U.useState)(new Set),[y,b]=(0,U.useState)(`all`),x=e.visual?.pages??[],C=x.find(e=>e.status===`changed`)?.index;(0,U.useEffect)(()=>v(C===void 0?new Set:new Set([C])),[e.id,C]);let T=async e=>{d(!0),h(``);try{n(await e()),a(null),s(``)}catch(e){h(e.message)}finally{d(!1)}};if(!e.visual)return e.captured?(0,W.jsxs)(`div`,{className:`flex flex-col items-start gap-2`,children:[(0,W.jsxs)(`p`,{className:`m-0 text-body-sm text-ink-2`,children:[`This run captured `,X(e.captured,`page`),` but they were not compared with the baselines yet.`]}),(0,W.jsxs)(g,{size:`sm`,variant:`primary`,disabled:l,"data-tip":`Compare with the baselines`,onClick:()=>T(()=>u.compare(e.id)),children:[(0,W.jsx)(se,{"aria-hidden":`true`}),`Compare`]}),m&&(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-fail`,children:m})]}):(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`This run has no visual captures: quality.visual.enabled was off, or the run visited no page.`});let D=x.filter(e=>e.status===`changed`),ee=(y===`changed`?D:x).toSorted((e,t)=>Number(t.status===`changed`)-Number(e.status===`changed`)||(t.diffPercent??0)-(e.diffPercent??0)),k=e=>{let t=new Set(_);t.has(e)?t.delete(e):t.add(e),v(t)};return(0,W.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,W.jsxs)(`p`,{className:`m-0 text-body-sm text-muted`,children:[`Each page captured with animations frozen and masked regions hidden, against its approved baseline. `,t?`A page over quality.budgets.visual fails the run.`:`No visual budget set: a change does not fail the run.`]}),(0,W.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,W.jsx)(`div`,{role:`group`,"aria-label":`Show`,className:`flex gap-1`,children:[[`all`,`All pages`,x.length],[`changed`,`Changed`,D.length]].map(([e,t,n])=>(0,W.jsxs)(`button`,{type:`button`,"aria-pressed":y===e,onClick:()=>b(e),className:c(f({size:`sm`}),`gap-1 font-normal`),children:[t,` `,(0,W.jsx)(`span`,{className:`tabular-nums opacity-75`,children:n})]},e))}),(0,W.jsx)(`span`,{className:`flex-1`}),D.length>1&&(0,W.jsxs)(g,{size:`sm`,disabled:l,"data-tip":`Approve all ${D.length} changes`,onClick:()=>a(D.map(e=>e.url)),children:[(0,W.jsx)(O,{"aria-hidden":`true`}),`Approve (`,D.length,`)`]})]}),i&&(0,W.jsxs)(`div`,{role:`alertdialog`,"aria-label":`Approve as baseline`,className:c(p.info,`flex flex-col gap-2`),children:[(0,W.jsxs)(`span`,{className:`font-medium`,children:[`Make this run's capture the baseline of `,i.length===1?Q(i[0]):X(i.length,`page`),`?`]}),(0,W.jsx)(`span`,{className:`text-ink-2`,children:`Later runs are compared with it. Approve only a change that was intended; one that was not is a visual defect.`}),(0,W.jsxs)(`label`,{className:`flex flex-col gap-1`,children:[`Why it changed (kept with the baseline)`,(0,W.jsx)(r,{size:`sm`,value:o,maxLength:300,placeholder:`New checkout banner`,onChange:e=>s(e.target.value),className:`max-w-[480px]`})]}),(0,W.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,W.jsxs)(g,{size:`sm`,variant:`primary`,disabled:l,onClick:()=>T(()=>u.approve(e.id,i,o.trim()||void 0)),children:[(0,W.jsx)(O,{"aria-hidden":`true`}),`Approve`]}),(0,W.jsxs)(g,{size:`sm`,onClick:()=>a(null),children:[(0,W.jsx)(E,{"aria-hidden":`true`}),`Cancel`]})]})]}),m&&(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-fail`,children:m}),(0,W.jsx)(z,{label:`Pages against their baselines`,fixed:!0,resetKey:y,empty:`No page changed.`,head:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:L,children:`Page`}),(0,W.jsx)(`th`,{scope:`col`,className:c(L,`hidden w-[110px] @2xl:table-cell`),children:`Size`}),(0,W.jsx)(`th`,{scope:`col`,className:c(I,`w-[90px]`),children:`Changed`}),(0,W.jsx)(`th`,{scope:`col`,className:c(L,`w-[120px]`),children:`Result`}),(0,W.jsx)(`th`,{scope:`col`,className:c(L,`w-[96px]`),children:(0,W.jsx)(`span`,{className:`sr-only`,children:`Approve`})})]}),children:ee.map(t=>{let n=_.has(t.index);return(0,W.jsxs)(U.Fragment,{children:[(0,W.jsxs)(`tr`,{onClick:()=>k(t.index),"aria-expanded":n,className:c(ye,n&&`bg-surface-muted`),children:[(0,W.jsx)(`td`,{className:F,children:(0,W.jsxs)(`span`,{className:`flex items-start gap-1`,children:[(0,W.jsx)(w,{size:13,"aria-hidden":`true`,className:c(`mt-1 flex-none text-muted transition-transform`,!n&&`-rotate-90`)}),(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,W.jsx)(`span`,{className:`truncate`,"data-tip":t.title||t.url,children:t.title||Q(t.url)}),(0,W.jsx)(`span`,{className:`truncate font-mono text-body-sm text-muted`,"data-tip":t.url,children:Q(t.url)})]})]})}),(0,W.jsxs)(`td`,{className:c(F,`hidden whitespace-nowrap text-muted @2xl:table-cell`),children:[t.size||`–`,t.resized?` · resized ${t.resized}`:``]}),(0,W.jsx)(`td`,{"data-sort":t.status===`changed`?t.diffPercent:-1,className:c(R,t.over?`text-fail`:t.status===`changed`?`text-warn`:`text-muted`),children:t.status===`changed`?`${t.diffPercent}%${t.limit===void 0?``:` / ${t.limit}%`}`:`–`}),(0,W.jsx)(`td`,{className:F,children:(0,W.jsx)(S,{tone:t.over?`fail`:ct[t.status].tone,className:`min-h-5 px-2 text-body-sm`,children:t.over?`Over budget`:ct[t.status].label})}),(0,W.jsx)(`td`,{className:R,onClick:e=>e.stopPropagation(),children:t.status===`changed`&&(0,W.jsx)(g,{variant:`icon`,size:`icon-sm`,disabled:l,"aria-label":`Approve ${Q(t.url)}`,"data-tip":`Approve ${Q(t.url)}`,onClick:()=>a([t.url]),children:(0,W.jsx)(O,{"aria-hidden":`true`})})})]}),n&&(0,W.jsx)(`tr`,{className:`bg-surface-muted`,children:(0,W.jsx)(`td`,{colSpan:5,className:`px-4 py-2`,children:(0,W.jsxs)(`div`,{className:`grid grid-cols-[repeat(auto-fit,minmax(180px,1fr))] gap-4`,children:[t.images.baseline&&(0,W.jsx)(ft,{run:e.id,index:t.index,which:`baseline`,label:`Baseline`}),t.images.current&&(0,W.jsx)(ft,{run:e.id,index:t.index,which:`current`,label:`This run`}),t.images.diff&&(0,W.jsx)(ft,{run:e.id,index:t.index,which:`diff`,label:`Difference (in red)`})]})})})]},t.index)})})]})}function mt({values:e}){if(e.length<2)return null;let t=Math.max(1,...e);return(0,W.jsx)(`span`,{role:`img`,"aria-label":`Violations over the last ${e.length} runs: ${e.join(`, `)}`,className:`flex flex-none items-end gap-1`,children:e.map((n,r)=>{let i=n?Math.max(1,Math.round(n/t*5)):0;return(0,W.jsx)(`span`,{className:`flex flex-col-reverse gap-1`,"aria-hidden":`true`,children:Array.from({length:Math.max(1,i)},(t,n)=>(0,W.jsx)(`i`,{className:c(`size-1.5 rounded-full`,i?r===e.length-1?`bg-accent`:`bg-accent-line`:`bg-line`)},n))},r)})})}function ht({icon:e,className:t,lines:n}){return n.length?(0,W.jsxs)(`span`,{className:c(`flex items-start gap-2 text-body-sm`,t),children:[(0,W.jsx)(h,{icon:e,size:14,className:`mt-1 flex-none`}),(0,W.jsx)(`span`,{className:`[overflow-wrap:anywhere]`,children:n.join(` · `)})]}):null}function gt({trends:e}){return e.length?(0,W.jsx)(`ul`,{className:`m-0 flex list-none flex-col p-0`,children:e.map(e=>{let t=e.a11y.latest?q.reduce((t,n)=>t+(e.a11y.latest[n]||0),0):void 0;return(0,W.jsxs)(`li`,{className:`flex flex-col gap-2 border-t border-line-soft py-4 first:border-t-0`,children:[(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-wrap items-center gap-4`,children:[(0,W.jsx)(`span`,{className:`min-w-0 flex-[1_1_240px] truncate font-mono text-body-sm`,"data-tip":e.page,children:/^https?:/.test(e.page)?Q(e.page):e.page}),(0,W.jsx)(mt,{values:e.a11y.trail}),(0,W.jsxs)(`span`,{className:`text-body-sm text-muted`,children:[X(e.runs,`run`),t===void 0?``:` · ${X(t,`violation`)} now`]})]}),(0,W.jsx)(ht,{icon:A,className:`text-fail`,lines:[...e.perf.worse.map(e=>`slower: ${e}`),...e.a11y.newRules.map(e=>`newly failing: ${e}`)]}),(0,W.jsx)(ht,{icon:pe,className:`text-pass`,lines:[...e.perf.better.map(e=>`faster: ${e}`),...e.a11y.fixedRules.map(e=>`fixed: ${e}`)]})]},e.page)})}):(0,W.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`No history yet: every browser run adds each page's accessibility and timings to quality-history.json in the reports folder.`})}var _t={accessibility:e=>!!e.a11y?.pages,performance:e=>e.perf.pages>0,visual:e=>!!e.visual||e.captured>0},vt={accessibility:e=>!!e.a11y?.failed,performance:e=>e.perf.over>0,visual:e=>!!(e.visual?.changed||e.visual?.over)},yt=(e,t)=>t.filter(_t[e]);function bt({kind:e,runs:t}){let[r,i]=(0,U.useState)(`all`),a=yt(e,t),o=r===`attention`?a.filter(vt[e]):a,s=t=>location.hash=n(e,encodeURIComponent(t));return(0,W.jsx)(z,{label:`Runs`,placeholder:`Find a run by what it did`,resetKey:r,empty:`Nothing matches.`,height:xe,tools:(0,W.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:(0,W.jsx)(_,{items:[{id:`all`,label:`All`,n:a.length},{id:`attention`,label:`Needs a look`,n:a.filter(vt[e]).length,alert:!0}],value:r,onChange:i})}),head:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:c(L,`w-[46%]`),children:`Run`}),e===`accessibility`&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,children:`Rules failed`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,`hidden @2xl:table-cell`),children:`Critical · serious`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,`hidden @3xl:table-cell`),children:`Moderate · minor`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,`hidden @xl:table-cell`),children:`Pages`})]}),e===`performance`&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,children:`Over budget`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,`hidden @xl:table-cell`),children:`Pages timed`})]}),e===`visual`&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`th`,{scope:`col`,className:`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,children:`Changed`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,`hidden @2xl:table-cell`),children:`New`}),(0,W.jsx)(`th`,{scope:`col`,className:c(`px-4 py-2 text-right text-label-md font-medium whitespace-nowrap text-muted`,`hidden @xl:table-cell`),children:`Same`})]}),(0,W.jsx)(`th`,{scope:`col`,className:c(L,`hidden @xl:table-cell`),children:`When`})]}),children:o.map(t=>{let r=vt[e](t),i=(t.over?.[e]??0)>0,a=i?ge:r?T:O,o=i?`text-fail`:r?`text-warn`:`text-pass`,l=i?`Over a budget`:r?`Needs a look`:`Within budgets`;return(0,W.jsxs)(`tr`,{onClick:()=>s(t.id),className:ye,children:[(0,W.jsx)(`td`,{className:c(F,`max-w-0`),children:(0,W.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,W.jsx)(a,{size:15,"aria-label":l,className:c(`flex-none`,o)}),(0,W.jsx)(`a`,{href:n(e,encodeURIComponent(t.id)),onClick:e=>e.stopPropagation(),"data-tip":t.goal,className:`truncate text-ink no-underline hover:underline`,children:t.goal})]})}),e===`accessibility`&&t.a11y&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,t.a11y.failed?`text-fail`:`text-muted`),children:t.a11y.failed}),(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,`hidden @2xl:table-cell`,t.a11y.critical+t.a11y.serious?`text-fail`:`text-muted`),"data-sort":t.a11y.critical*1e3+t.a11y.serious,children:`${t.a11y.critical} · ${t.a11y.serious}`}),(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,`hidden text-muted @3xl:table-cell`),"data-sort":t.a11y.moderate*1e3+t.a11y.minor,children:`${t.a11y.moderate} · ${t.a11y.minor}`}),(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,`hidden text-muted @xl:table-cell`),children:t.a11y.pages})]}),e===`performance`&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,t.perf.over?`text-fail`:`text-muted`),children:t.perf.over}),(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,`hidden text-muted @xl:table-cell`),children:t.perf.pages})]}),e===`visual`&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,t.visual?.changed?`text-warn`:`text-muted`),"data-sort":t.visual?t.visual.changed:-1,children:t.visual?t.visual.changed:`not compared`}),(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,`hidden text-muted @2xl:table-cell`),"data-sort":t.visual?t.visual.new+t.visual.no_baseline:-1,children:t.visual?t.visual.new+t.visual.no_baseline:`–`}),(0,W.jsx)(`td`,{className:c(`px-4 py-2 text-right whitespace-nowrap tabular-nums`,`hidden text-muted @xl:table-cell`),"data-sort":t.visual?t.visual.same:-1,children:t.visual?t.visual.same:`–`})]}),(0,W.jsx)(`td`,{className:c(F,`hidden whitespace-nowrap text-body-sm text-muted @xl:table-cell`),"data-tip":$(t.at),"data-sort":new Date(t.at).getTime()||0,children:be(t.at)})]},t.id)})})}function xt({kind:e,id:t,view:r,onChanged:i}){let[a,o]=(0,U.useState)(null),[s,l]=(0,U.useState)(``);(0,U.useEffect)(()=>{let e=!1;return o(null),u.run(t).then(t=>{e||(o(t),l(``))},t=>!e&&l(t.message)),()=>{e=!0}},[t]);let[d,f]=(0,U.useState)(``),h=(0,W.jsxs)(`a`,{href:n(e),className:`inline-flex items-center gap-1 self-start text-body-sm no-underline`,children:[(0,W.jsx)(w,{size:14,"aria-hidden":`true`,className:`rotate-90`}),`All runs`]});return s||!a?(0,W.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[h,s?(0,W.jsx)(`p`,{className:c(p.fail,`m-0`),children:s}):(0,W.jsx)(v,{shape:`detail`})]}):(0,W.jsxs)(`section`,{"aria-labelledby":`run-h`,className:`flex min-w-0 flex-col gap-4`,children:[h,e===`accessibility`?(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,W.jsx)(H,{id:`run-h`,icon:de,title:(0,W.jsx)(`span`,{"data-tip":a.goal,className:`block truncate`,children:a.goal}),actions:(0,W.jsx)(St,{run:a,note:f})}),(0,W.jsxs)(`span`,{className:`flex flex-wrap items-center gap-x-4 gap-y-1 text-body-sm text-muted`,children:[(0,W.jsx)(`span`,{children:$(a.at)}),(a.ledger||a.report)&&(0,W.jsx)(`span`,{children:a.ledger?`${a.ledger.engine||`axe-core`} with ${a.ledger.label}`:`${a.report.engine||`axe-core`} with ${r.standard}`}),(0,W.jsx)(b,{path:a.dir})]}),d&&(0,W.jsx)(m,{tone:`fail`,children:d})]}):(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,W.jsx)(H,{id:`run-h`,icon:e===`performance`?te:j,title:(0,W.jsx)(`span`,{"data-tip":a.goal,className:`block truncate`,children:a.goal})}),(0,W.jsxs)(`span`,{className:`flex flex-wrap items-center gap-x-2 text-body-sm text-muted`,children:[$(a.at),` · `,(0,W.jsx)(b,{path:a.dir}),` · `,(0,W.jsx)(`a`,{href:n(`quality`,encodeURIComponent(a.id)),children:`Everything it measured`})]})]}),e===`accessibility`&&(0,W.jsx)(ut,{run:a,standard:r.standard,disclaimer:r.disclaimer}),e===`performance`&&(0,W.jsx)(dt,{run:a}),e===`visual`&&(0,W.jsx)(pt,{run:a,budget:r.budgets.visual,onChange:e=>{o(e),i()}})]})}function St({run:e,note:t}){let[r,i]=(0,U.useState)(!1),a=e.ledger?.report,o=Ne(e),s=async()=>{i(!0),t(``);let n=await x(`${e.dir}/${a}`);i(!1),n&&t(n)};return(0,W.jsxs)(W.Fragment,{children:[a&&(0,W.jsxs)(g,{size:`sm`,variant:`ghost`,busy:r,"data-tip":`Open this run's own report`,onClick:()=>void s(),children:[(0,W.jsx)(me,{"aria-hidden":`true`}),`Full report`]}),e.ledger?.scan&&(0,W.jsxs)(`a`,{href:n(`accessibility`,`suites`,`new`,`scan:${encodeURIComponent(e.id)}`),className:f({size:`sm`,variant:`ghost`}),"data-tip":`Check these pages again later with no model, against a baseline`,children:[(0,W.jsx)(ie,{"aria-hidden":`true`}),`Save as regression suite`]}),o?(0,W.jsxs)(g,{size:`sm`,variant:`primary`,onClick:()=>ot(o),"data-tip":`Opens the Accessibility agent with a request for what this run did not test, for you to read and send`,children:[(0,W.jsx)(k,{"aria-hidden":`true`}),`Test with personas`]}):(0,W.jsxs)(`a`,{href:n(`accessibility`),className:f({size:`sm`,variant:`primary`}),"data-tip":`Have the personas use the site: they test what no rule can`,children:[(0,W.jsx)(k,{"aria-hidden":`true`}),`Test with personas`]})]})}function Ct({r:e,to:t,line:n}){return(0,W.jsxs)(`div`,{className:c(a,`ml-12 flex flex-wrap items-center gap-x-4 gap-y-2`),children:[(0,W.jsxs)(`span`,{className:`flex min-w-0 flex-[1_1_240px] flex-col`,children:[(0,W.jsx)(`span`,{className:`text-body-lg font-medium [overflow-wrap:anywhere]`,children:e.goal}),(0,W.jsx)(`span`,{className:`text-body-sm text-muted`,children:n})]}),(0,W.jsxs)(g,{size:`sm`,variant:`primary`,"data-tip":`Open the run`,onClick:()=>location.hash=t,children:[(0,W.jsx)(ue,{"aria-hidden":`true`}),`Open`]})]})}export{J as _,dt as a,ke as b,pt as c,$ as d,st as f,Ee as g,q as h,bt as i,lt as l,Ye as m,ht as n,Ct as o,Xe as p,xt as r,gt as s,ut as t,yt as u,Y as v,Q as x,X as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Cn as e,Dn as t,Gn as n,Jn as r,K as i,Nt as a,Ot as o,Qt as ee,Rr as s,Tt as c,Ut as l,W as u,Wn as d,Wt as te,Xn as ne,Y as re,Zn as ie,Zt as ae,cr as oe,ft as se,gt as ce,ir as le,kn as ue,l as de,or as fe,pn as pe,q as me,r as he,tn as ge,tr as _e,tt as ve,u as f,xn as ye,y as be,yn as xe,zn as Se,zt as Ce}from"./line-icons-Cwj9OmCz.js";var we=`ForgeQE`,Te=/\bForgeQE\b/g,p=[`placeholder`,`title`,`aria-label`,`data-tip`,`alt`],Ee=`input, textarea, pre, code, [contenteditable], [data-keep-name]`,m=(e,t)=>t===`ForgeQE`?e:e.replace(Te,()=>t),h=new WeakMap,g=new WeakMap;function _(e,t){return e&&e.shown===t?e.from:t}function v(e){return!!e?.closest(Ee)}function y(e,t){if(v(e.parentElement))return;let n=e.nodeValue??``,r=_(h.get(e),n);if(r===n&&!r.includes(`ForgeQE`))return;let i=m(r,t);h.set(e,{from:r,shown:i}),i!==n&&(e.nodeValue=i)}function b(e,t){if(!e.closest(`pre, code, [contenteditable], [data-keep-name]`))for(let n of p){let r=e.getAttribute(n);if(r===null)continue;let i=g.get(e),a=_(i?.get(n),r);if(a===r&&!a.includes(`ForgeQE`))continue;let o=m(a,t);i||g.set(e,i=new Map),i.set(n,{from:a,shown:o}),o!==r&&e.setAttribute(n,o)}}function x(e,t){if(e.nodeType===Node.TEXT_NODE)return y(e,t);if(e.nodeType!==Node.ELEMENT_NODE&&e.nodeType!==Node.DOCUMENT_NODE)return;e.nodeType===Node.ELEMENT_NODE&&b(e,t);let n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT);for(let e=n.nextNode();e;e=n.nextNode())e.nodeType===Node.TEXT_NODE?y(e,t):b(e,t)}var S,C=we,w,T=()=>C,E=e=>m(e,C);function D(e){let t=e?.trim()||`ForgeQE`;typeof document>`u`?C=t:(w===void 0&&(w=document.title),!(t===C&&S)&&(C=t,S?.disconnect(),x(document.body,C),document.title=m(w,C),S=new MutationObserver(e=>{S?.disconnect();for(let t of e)if(t.type===`characterData`)y(t.target,C);else if(t.type===`attributes`)b(t.target,C);else for(let e of t.addedNodes)x(e,C);S?.observe(document.body,O)}),S.observe(document.body,O)))}var O={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:[...p]},k=`forgeqe.engine.forgeqe-test.forgeqe-read.forgeqe-review.forgeqe-test-plan.forgeqe-heal.forgeqe-migrate.forgeqe-perf.forgeqe-tosca.forgeqe-tosca-assistant.forgeqe-find.forgeqe-pr-review.forgeqe-api.forgeqe-api-plan.forgeqe-explore-plan.forgeqe-defect-rca.forgeqe-refine.forgeqe-agent-builder.forgeqe-suite-builder.forgeqe-team-builder.forgeqe-responsive.forgeqe-test-linker.forgeqe-bug-report.forgeqe-data.forgeqe-persona.forgeqe-basal.forgeqe-doc-reader.forgeqe-knowledge-agent.forgeqe-judge.forgeqe-model-profile.forgeqe-knowledge.forgeqe-investigate.forgeqe-evidence-acceptance.forgeqe-impact-reader.forgeqe-evidence-content.forgeqe-evidence-scenarios.explore.general`.split(`.`);function De(e){try{let t=A(e);return t&&t!==`ForgeQE`?t:void 0}catch{return}}function A(e,t=`the name`){if(e==null)return``;if(typeof e!=`string`)throw Error(`${t} must be text.`);if(/[\u0000-\u001f\u007f-\u009f\u2028\u2029]/.test(e))throw Error(`${t} must be one line of plain text.`);let n=e.replace(/\s+/g,` `).trim();if(n.length>40)throw Error(`${t} is ${n.length} characters; at most 40.`);return n}var j={};function M(e){let t={};if(!e||typeof e!=`object`||Array.isArray(e))return t;for(let[n,r]of Object.entries(e))if(k.includes(n))try{let e=A(r);e&&(t[n]=e)}catch{}return t}function Oe(e){j=M(e)}var ke=e=>Object.hasOwn(j,e)?j[e]:void 0,N=[`orchestrator`,`specs`,`api`,`explorer`,`case`,`browser-agent`,`test-finder`,`report`,`scribe`,`knowledge-base`,`healer`,`result`,`pr-reviewer`,`rule`,`trace`,`model`,`context-engine`,`database`],P={orchestrator:`Atlas`,specs:`Specs`,api:`API`,explorer:`Explorer`,case:`Test case`,"browser-agent":`Browser`,"test-finder":`Search`,report:`Report`,scribe:`Coding`,"knowledge-base":`Knowledge`,healer:`Healing`,result:`Result`,"pr-reviewer":`PR review`,rule:`Rule`,trace:`Trace`,model:`Model`,"context-engine":`Helper`,database:`Database`},F=new Set(N),Ae=/^[a-z0-9]+(-[a-z0-9]+)*$/,je=/^(ph|lucide):([a-z0-9]+(?:-[a-z0-9]+)*)$/;function I(e){return typeof e==`string`&&F.has(e)}function L(e){if(typeof e!=`string`||e.length>80)return;let t=je.exec(e);if(!t)return;let n=t[1],r=t[2];if(!(!Ae.test(r)||r.length>64)&&!/-(bold|fill|light|thin|duotone|bold-duotone)$/.test(r))return{set:n,name:r,id:`${n}:${r}`}}function R(e){return typeof e!=`string`||!e||e.length>80||e.includes(`\0`)||e.includes(`/`)||e.includes(`\\`)||e.includes(`..`)?!1:F.has(e)?!0:L(e)!==void 0}function Me(e){if(I(e))return P[e];let t=L(e);return t?t.name.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(` `):e}var z=new Map,B=new Set,V=0;function Ne(){return{ids:[...B].sort((e,t)=>e<t?-1:+(e>t)),version:V}}var Pe=`forgeqe`,H={forgeqe:{name:`Atlas`,icon:`orchestrator`,hue:`#a78bfa`},"forgeqe-refine":{name:`Polish`,icon:`specs`,hue:`#8fa2ff`},"forgeqe-api-plan":{name:`Planner`,icon:`ph:list-checks`,hue:`#e0a3f5`},"forgeqe-explore-plan":{name:`Rover`,icon:`explorer`,hue:`#f59fe0`},"forgeqe-test-plan":{name:`Pathfinder`,icon:`case`,hue:`#c9b3ff`},engine:{name:`WebPilot`,icon:`browser-agent`,hue:`#5ea6f0`},desktop:{name:`DeskPilot`,icon:`ph:desktop`,hue:`#4f7fd9`},mobile:{name:`MobilePilot`,icon:`ph:device-mobile`,hue:`#3a8fb7`},"forgeqe-find":{name:`Hound`,icon:`test-finder`,hue:`#1fa3c4`},"forgeqe-test":{name:`Quill`,icon:`scribe`,hue:`#3a9a7e`},"forgeqe-read":{name:`Vera`,icon:`knowledge-base`,hue:`#3fa34d`},"forgeqe-heal":{name:`Mender`,icon:`healer`,hue:`#86a92c`},"forgeqe-migrate":{name:`Mover`,icon:`ph:arrows-left-right`,hue:`#2f8f63`},"forgeqe-tosca":{name:`Bridge`,icon:`ph:bridge`,hue:`#2c7a4b`},"forgeqe-responsive":{name:`Prism`,icon:`ph:devices`,hue:`#b03a7a`},"forgeqe-api":{name:`Link`,icon:`api`,hue:`#1f9c90`},"forgeqe-perf":{name:`Surge`,icon:`ph:gauge`,hue:`#1f6b3a`},"forgeqe-review":{name:`Checker`,icon:`result`,hue:`#e0457b`},"forgeqe-pr-review":{name:`Patch`,icon:`pr-reviewer`,hue:`#d93a52`},"forgeqe-judge":{name:`Gavel`,icon:`rule`,hue:`#e0603a`},"forgeqe-defect-rca":{name:`Sleuth`,icon:`trace`,hue:`#d6701f`},"forgeqe-model-profile":{name:`Scales`,icon:`model`,hue:`#b88a14`},"forgeqe-data":{name:`Miner`,icon:`database`,hue:`#2b7fc2`},"req-agent":{name:`Spec`,icon:`ph:file-magnifying-glass`,hue:`#5b6fd6`},"forgeqe-persona":{name:`Mask`,icon:`ph:identification-badge`,hue:`#7d3f8a`},"forgeqe-basal":{name:`BASAL`,icon:`ph:columns`,hue:`#1f6f66`},"forgeqe-knowledge-agent":{name:`Librarian`,icon:`ph:lightbulb`,hue:`#4f6672`},explore:{name:`Scout`,icon:`ph:binoculars`,hue:`#62789e`},general:{name:`Jack`,icon:`context-engine`,hue:`#a07c43`}},U={"forgeqe-agent-builder":`Smith`,"forgeqe-suite-builder":`Sorter`,"forgeqe-team-builder":`Captain`,"forgeqe-test-linker":`Matchmaker`,"forgeqe-talk":`Aria`,"forgeqe-bug-report":`Herald`,"forgeqe-bi":`Beacon`,"forgeqe-knowledge":`Mapper`,"forgeqe-investigate":`Digger`,"forgeqe-evidence-acceptance":`Clerk`,"forgeqe-impact-reader":`Ripple`,"forgeqe-evidence-content":`Grader`,"forgeqe-evidence-scenarios":`Drafter`,"forgeqe-doc-reader":`Skimmer`,"forgeqe-tosca-assistant":`Guide`},W={"forgeqe-agent-builder":`ph:puzzle-piece`,"forgeqe-suite-builder":`ph:stack`,"forgeqe-team-builder":`ph:users-three`,"forgeqe-test-linker":`ph:link-simple`,"forgeqe-talk":`ph:microphone-stage`,"forgeqe-bug-report":`ph:bug`,"forgeqe-bi":`report`,"forgeqe-knowledge":`ph:share-network`,"forgeqe-investigate":`ph:magnifying-glass-plus`,"forgeqe-evidence-acceptance":`ph:clipboard-text`,"forgeqe-impact-reader":`ph:waves`,"forgeqe-evidence-content":`ph:quotes`,"forgeqe-evidence-scenarios":`ph:cards`,"forgeqe-doc-reader":`ph:book-open-text`},Fe=Object.freeze(Object.keys(W));function G(e){let t=ke(e),n=K(e);return t?{...n,name:t}:n}function Ie(e,t=!1){return/\bagent$/i.test(e.trim())?`${t?`The`:`the`} ${e}`:e}function K(e){let t=Object.hasOwn(H,e)?H[e]:void 0;if(t)return t;let n=z.get(e)||(Object.hasOwn(W,e)?W[e]:void 0)||`context-engine`;if(Object.hasOwn(U,e))return{name:U[e],icon:n,hue:`#62789e`};let r=e.replace(/^forgeqe-/,``).replace(/[-_]+/g,` `).trim().slice(0,40),i=r?r.charAt(0).toUpperCase()+r.slice(1):``;return{name:i?/ agent$/i.test(i)?i:`${i} agent`:`Jack`,icon:n,hue:`#62789e`}}var q=[{id:`assisted`,label:`Advisers`,about:`AI assisted: they help with your work, saying what ForgeQE knows and reviewing pull requests, and you decide.`,short:`Help you decide`},{id:`native`,label:`Builders`,about:`AI native: they make the work itself, tests, test data, personas and diagnoses, from your recordings, runs and descriptions.`,short:`Do the work for you`},{id:`agentic`,label:`Operators`,about:`Agentic: they act on their own across many steps, using the browser, your tools and the other agents to finish a task.`,short:`Work on their own`},{id:`custom`,label:`Custom agents`,about:`Agents your team makes for its own work.`,short:`Made by your team`}],J=[{id:`orchestrator`,short:`Leads every chat`,category:`agentic`,agent:`forgeqe`,runs:[`forgeqe`,`forgeqe-refine`,`forgeqe-find`,`explore`,`general`],about:`Leads every chat: works out what you asked, uses ForgeQE's tools and your connected systems, and hands parts to the other agents.`,crew:[{agent:`forgeqe-refine`,does:`turns a rough request into a clear task, from Refine in the message box`},{agent:`forgeqe-find`,does:`finds the tests in your repository a request means, to run them`},{agent:`explore`,does:`searches and reads the repository and web pages; it changes nothing`},{agent:`general`,does:`takes on a part of a bigger task, with the same tools`}],starters:[{label:`Run test cases`,text:`Run SHOP-12 and SHOP-14 on Chrome and Edge`},{label:`Review requirements`,text:`Review the payments refund brief and list its gaps`},{label:`Find and run tests`,text:`Find the tests for the basket and run them`}]},{id:`browser`,short:`Runs tests in a browser`,category:`agentic`,agent:`engine`,runs:[`engine`,`browser agent`],about:`Runs your test cases in a real browser, step by step, and keeps a screenshot of every step as evidence.`,starters:[{label:`Run test cases`,text:`Run SHOP-12 and SHOP-14 on Chrome and Edge`},{label:`Check a page`,text:`Sign in to QA and check the dashboard loads with this week's orders`},{label:`Try it as a blind user`,text:`Act as a blind screen reader user and try to check out on QA: list the accessibility barriers`}]},{id:`desktop`,opens:[`desktop`],short:`Automates desktop apps`,category:`agentic`,agent:`desktop`,runs:[`desktop`,`desktop agent`],about:`Carries out a goal in a Windows desktop app and saves it as a workflow with checks, records the steps you do by hand, and replays saved workflows with no model. It asks before it takes the mouse and keyboard.`,prompt:!1,starters:[{label:`Automate a task`,text:`Create an invoice for Contoso in the Billing app and save it as a test`},{label:`Record my steps`,text:`I'll show you the steps in Billing: record them`},{label:`Replay a workflow`,text:`Replay the billing workflow with customer Fabrikam`}]},{id:`mobile`,opens:[`mobile`],short:`Automates mobile apps`,category:`agentic`,agent:`mobile`,runs:[`mobile`,`mobile agent`],about:`Carries out a goal in an Android or iOS app through Appium and saves it as a workflow with checks, replays saved workflows on Appium or Maestro with no model, and runs your team's Maestro flows. You watch the device while it works, and it asks before it acts on one.`,prompt:!1,starters:[{label:`Automate a task`,text:`Sign in to the courier app and accept the first delivery, and save it as a test`},{label:`Replay on Maestro`,text:`Replay the courier login on Maestro`},{label:`Run our Maestro flows`,text:`Run our Maestro flows in .maestro/`},{label:`Upload a build`,text:`Upload builds/courier.apk to TestMu for the courier app`}]},{id:`exploration`,opens:[`explore`],short:`Explores user journeys`,category:`agentic`,agent:`forgeqe-explore-plan`,runs:[`forgeqe-explore-plan`],about:`Explores a journey the way a curious user would, and plans charters for what is worth a closer look.`,starters:[{label:`Explore a journey`,text:`Explore the checkout on QA and report anything that looks wrong`},{label:`Plan charters`,text:`Plan exploratory charters for the new refunds page`}]},{id:`coding`,opens:[`record`,`agent`],short:`Records and writes tests`,category:`native`,agent:`forgeqe-test`,runs:[`forgeqe-test`,`forgeqe-read`,`forgeqe-test-plan`,`forgeqe-review`],about:`Writes automated tests in your repository, in your team's style, from a journey you record, a verified run or a test case, and shows its plan first; ForgeQE runs every test it writes.`,crew:[{agent:`forgeqe-test-plan`,does:`places a recorded test in your repository and finds what it reuses there`},{agent:`forgeqe-read`,does:`reads the repository ahead, for the code a test can reuse`},{agent:`forgeqe-review`,does:`reviews each written test against your team's rules before you take it`}],starters:[{label:`Write a test`,text:`Write a Playwright test for the login flow on QA`},{label:`Automate a case`,text:`Turn SHOP-12 into an automated test`},{label:`From my recording`,text:`Write the test for my last recording`},{label:`Review written tests`,text:`Review the tests written in my last chat`}]},{id:`knowledge-agent`,opens:[`knowledge`],short:`Says what ForgeQE knows`,category:`assisted`,agent:`forgeqe-knowledge-agent`,runs:[`forgeqe-knowledge-agent`,`Librarian`],about:`Tells you what ForgeQE has understood about your product, from its knowledge notes, documents, skills and product graph, and takes your corrections. Each change to a note, a skill, a team prompt or the graph is shown first and written only when you approve it.`,starters:[{label:`Ask what it knows`,text:`What do you know about refunds?`},{label:`Correct it`,text:`Refunds over 1000 EUR need a supervisor, not 500: correct it`}]},{id:`healing`,opens:[`regression`],short:`Runs and heals packs`,category:`agentic`,agent:`forgeqe-heal`,runs:[`forgeqe-heal`],about:`Builds a regression pack from a release's changes, runs it, and fixes the tests the application outgrew, such as a moved button or a renamed field, saying what it changed.`,starters:[{label:`Heal failing tests`,text:`Heal the tests that failed in last night's run`}]},{id:`migration`,short:`Migrates test suites`,category:`agentic`,agent:`forgeqe-migrate`,runs:[`forgeqe-migrate`,`forgeqe-tosca`,`forgeqe-tosca-assistant`],about:`Moves a test suite to another framework or language, such as Selenium Java to Playwright, or Tricentis Tosca test cases from a .tsu export to code, after a plan you confirm; every Tosca step and check is kept, and ForgeQE runs every migrated test.`,opens:[`migration`],crew:[{agent:`forgeqe-tosca`,does:`converts Tricentis Tosca test cases from a .tsu export, one file at a time, keeping every step and check`},{agent:`forgeqe-tosca-assistant`,does:`reads what you ask to convert from Tosca and fills in New migration for you`}],starters:[{label:`Plan a migration`,text:`Plan migrating our Selenium tests in tests/ to Playwright TypeScript`},{label:`Convert a Tosca export`,text:`Plan converting tosca/checkout.tsu to Playwright TypeScript`}]},{id:`requirements`,short:`Reviews requirements`,category:`assisted`,agent:`req-agent`,runs:[`req-agent`],prompt:!1,about:`Reviews a requirement before it is built and tested: eight specialist roles and the business personas you pick read it with what ForgeQE knows about your product: its knowledge, documents, requirements search, product graph and what earlier reviews decided. They score it on six dimensions, and list its gaps and questions, each with a change you keep or leave.`,opens:[`requirements`],starters:[{label:`What makes a good requirement?`,text:`What should a requirement say so that the Requirements Agent scores it well on testability?`},{label:`Write test cases from a review`,text:`Write test cases from the requirements.json of my latest requirement review`}]},{id:`responsive`,short:`Tests pages on devices`,category:`agentic`,agent:`forgeqe-responsive`,runs:[`forgeqe-responsive`],about:`Opens one page on many phones, tablets and desktops at once, does your steps on every device, planned for each layout, and finds what breaks: sideways scrolling, text and tap targets too small, broken images, and your own checks.`,opens:[`responsive`],starters:[{label:`Check a page on phones`,text:`Check the home page on phones, tablets and desktops and tell me what breaks`},{label:`What scrolls sideways?`,text:`Which devices make the checkout page scroll sideways?`}]},{id:`api`,opens:[`api-tests`,`agent`],short:`Writes API tests`,category:`native`,agent:`forgeqe-api`,runs:[`forgeqe-api`,`forgeqe-api-plan`],about:`Writes API and contract tests in your repository from your API's description, with test data from your databases, and plans end-to-end scenarios for them.`,crew:[{agent:`forgeqe-api-plan`,does:`plans end-to-end scenarios: the calls, their order and what each checks`}],starters:[{label:`Contract tests`,text:`Write contract tests for the orders API`},{label:`Plan scenarios`,text:`Plan end-to-end scenarios for the payments API`}]},{id:`perf`,opens:[`performance`,`agent`],short:`Writes load tests`,category:`native`,agent:`forgeqe-perf`,runs:[`forgeqe-perf`],about:`Writes JMeter load test plans from your words; ForgeQE checks each plan and runs it with the users you choose on a test environment, never production, with response times, throughput and errors per request.`,starters:[{label:`Write a load test`,text:`Write a load test for checkout with 100 users over 5 minutes`},{label:`Run a load test`,text:`Which load tests do we have, and which can run?`}]},{id:`db`,opens:[`data`],short:`Finds test data`,category:`native`,agent:`forgeqe-data`,runs:[`forgeqe-data`,`Miner`],about:`Reads your connected databases and answers in your words: the test data a test needs, as existing rows or new ones with their INSERT script, and queries, data checks and database test scripts. The other agents ask it before they run.`,starters:[{label:`Find test data`,text:`Find two customers with paid orders for the checkout test`},{label:`Check the data`,text:`Check the orders table: no order without a customer, no negative totals`}]},{id:`persona`,short:`Business personas`,category:`native`,agent:`forgeqe-persona`,runs:[`forgeqe-persona`,`Mask`],about:`Describes the people who validate your software the way the business does: a subject matter expert such as a payments SME, an end user, a specialist or a business user, with what each one checks before they accept it. Every agent can act as one or test for one.`,starters:[{label:`A payments SME`,text:`Create a persona of an SME in card payments who reconciles settlements and handles refunds`},{label:`Test as a customer`,text:`Test the checkout as the retail-customer persona`}]},{id:`basal`,short:`BASAL: business testing`,category:`agentic`,agent:`forgeqe-basal`,runs:[`forgeqe-basal`,`BASAL`],about:`Tests a business decision the way real people meet it. Ask a business question with its brief: BASAL reads your product's knowledge graph and documents, writes a test strategy, casts the stakeholders as personas, and has ForgeQE's browser, API, mobile and desktop agents play each step as them on a test environment. Code judges the business outcome from the evidence.`,starters:[{label:`Launch decision`,text:`Should we launch saved cards with a fee? Test how merchants, shoppers and support would really be affected`},{label:`Weekend sale`,text:`Before our weekend sale, test that prices stay the same from list to cart and that no customer gets a lower price than shown`}]},{id:`pr-review`,short:`Reviews pull requests`,category:`assisted`,agent:`forgeqe-pr-review`,runs:[`forgeqe-pr-review`],about:`Reviews a pull request's tests and changes, and says what is missing or risky.`,starters:[{label:`Review a pull request`,text:`Review the tests in pull request 42`}]},{id:`root-cause`,short:`Explains failures`,category:`native`,agent:`forgeqe-defect-rca`,runs:[`forgeqe-defect-rca`],about:`Finds why a test failed: the defect, the step where it showed, and the evidence for it.`,starters:[{label:`Find a root cause`,text:`Find the root cause of last night's checkout failure`}]}],Y=e=>J.find(t=>t.id===e),X=Object.freeze({planning:`coding`,review:`coding`,"api-planning":`api`,refine:`orchestrator`,search:`orchestrator`,research:`orchestrator`,helper:`orchestrator`,tosca:`migration`});Object.freeze({"forgeqe-judge":{label:`Settings › Product knowledge`,path:[`settings`,`evidence`]},"forgeqe-model-profile":{label:`Settings › Routing`,path:[`settings`,`routing`]}});var Z=e=>Y(e)??(e&&Object.hasOwn(X,e)?Y(X[e]):void 0);function Le(e,t=`all`){let n=e.toLowerCase().split(/\s+/).filter(Boolean),r=e=>q.find(t=>t.id===e)?.label||``,i=e=>(e.crew||[]).map(e=>`${G(e.agent).name} ${e.does}`).join(` `);return J.filter(e=>(t===`all`||e.category===t)&&n.every(t=>`${G(e.agent).name} ${e.id} ${e.short} ${e.about} ${i(e)} ${r(e.category)}`.toLowerCase().includes(t)))}var Re=`category`,ze=e=>q.find(t=>t.id===e);function Q(e){try{let t=JSON.parse(e||`[]`);if(!Array.isArray(t))return[];let n=t.filter(e=>typeof e==`string`).map(e=>Z(e)?.id??e);return[...new Set(n.filter(e=>Y(e)!==void 0||He(e)!==void 0))]}catch{return[]}}var $=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function Be(e,t=`merge`){let n=[...B].join(`,`);t===`replace`&&(z.clear(),B.clear());for(let t of e)typeof t.id!=`string`||!$.test(t.id)||t.id.length>40||(B.add(t.id),R(t.icon)?z.set(t.id,t.icon):z.delete(t.id));[...B].join(`,`)!==n&&V++}var Ve=e=>`custom:${e}`;function He(e){let t=e.startsWith(`custom:`)?e.slice(7):``;return $.test(t)&&t.length<=40?t:void 0}function Ue(e,t){let n=t.toLowerCase().split(/\s+/).filter(Boolean);return e.filter(e=>n.every(t=>`${e.name} ${e.id} ${e.description} custom`.toLowerCase().includes(t)))}var We=[{id:`setup`,group:`Start`,icon:o,label:`Set up`,file:``,intro:`The project folder ForgeQE works on, ForgeQE in it, and what this computer needs to run it.`},{id:`environments`,group:`General`,icon:ge,label:`Environments`,file:``,intro:`Where the agents work, and the apps in each place. The active one is used unless a request names another.`},{id:`signins`,group:`General`,icon:ee,label:`Sign-ins`,file:`forgeqe.yaml`,intro:`Logins for the apps the agents sign in to. Passwords go to your credential store; the model sees only a placeholder.`},{id:`secrets`,group:`General`,icon:pe,label:`Secrets`,file:``,intro:`Every password, key and token ForgeQE keeps, by name, and the vaults it pulls them from: Azure Key Vault, Google Secret Manager and AWS Secrets Manager. Values go to your credential store; the agents see only the names.`},{id:`integrations`,group:`General`,icon:Se,label:`Integrations`,file:`forgeqe.yaml`,intro:`Test case systems and bugs (sources:), and remote browser grids (browser.providers).`},{id:`notifications`,group:`General`,icon:f,label:`Notifications`,file:`forgeqe.yaml`,intro:`Teams channels and email lists, and the events each one gets (notify:). Monitor alerts are set under Monitor.`},{id:`appearance`,group:`General`,icon:ue,label:`Appearance`,file:`forgeqe.yaml`,intro:`The project's logo, name and colours in this web app, for everyone who opens it (theme:).`},{id:`voice`,group:`General`,icon:ye,label:`Voice`,file:``,intro:`Talk to ForgeQE's agents: speech set up on this computer, in English for now, and how long Talk waits when you pause. Speech never leaves this computer.`},{id:`models`,group:`AI`,icon:oe,label:`Models`,file:`llms.json and forgeqe.yaml`,intro:`The models the agents use (llm:). Keys you type go to your credential store, never to a file.`},{id:`routing`,group:`AI`,icon:r,label:`Routing`,file:`forgeqe.yaml`,intro:`Which model each area of work and each agent gets (llm.routing, llm.routes, llm.agents).`},{id:`skills`,group:`AI`,icon:Ce,label:`Skills`,file:`forgeqe.yaml`,intro:`What the agents know how to do: your test conventions, frameworks and apps, as folders with a SKILL.md, grouped by the agents that use them. Add your own for this project.`},{id:`prompts`,group:`AI`,icon:xe,label:`Prompts`,file:``,intro:`The instructions each agent starts from, with the agents that use each. Edit one to change how that agent works in this project, or add your own prompt for the agents you choose.`},{id:`guardrails`,group:`AI`,icon:le,label:`Guardrails`,file:`.forgeqe/guardrails`,intro:`Rules your agents follow in every chat and schedule: for every agent, or only the ones you choose.`},{id:`agents`,group:`AI`,icon:t,label:`Agents`,file:`forgeqe.yaml`,intro:`What you call the agents, their instructions, where their knowledge and guardrails are, custom agents, and the tools they get.`},{id:`evidence`,group:`AI`,icon:c,label:`Product knowledge`,file:`forgeqe.yaml`,intro:`What the agents know about your product, in five steps: its repositories, where its requirements are searched, its documents, the product and its knowledge, and how the graph is built.`},{id:`mcp`,group:`AI`,icon:_e,label:`MCP servers`,file:`forgeqe.yaml`,intro:`More MCP servers whose tools ForgeQE's agent gets (mcp:). Each test case system's own server is set with it under Integrations.`},{id:`tests`,group:`Testing`,icon:u,label:`Code`,file:`forgeqe.yaml`,intro:`Writing tests (code:): where passed runs become tests, how hard the coding agent tries, its time limits, and the help it gets.`},{id:`runs`,group:`Testing`,icon:se,label:`Reports and memory`,file:`forgeqe.yaml`,intro:`Where reports are exported (export:, report:), page memory and replays (memory:, registry:), suites, flaky tests, release readiness, defect analysis, and the project report (bi:).`},{id:`registry`,group:`Testing`,icon:d,label:`Replays`,file:`forgeqe.yaml`,intro:`Run a passed test again for free: ForgeQE repeats its saved steps without the AI.`},{id:`parallel`,group:`Testing`,icon:me,label:`Parallel execution`,file:`forgeqe.yaml`,intro:`How many browsers, scheduled runs and monitor checks go at once. Mobile devices at once are set under Mobile.`},{id:`browser`,group:`Testing`,icon:he,label:`Browser`,file:`forgeqe.yaml`,intro:`How the browser agent runs: where, how it looks, and how long it may take.`},{id:`monitor`,group:`Testing`,icon:l,label:`Monitor`,file:`forgeqe.yaml`,intro:`Checks that run on a schedule, and the alerts when one starts failing, keeps failing, or recovers.`},{id:`mobile`,group:`Testing`,icon:fe,label:`Mobile`,file:`forgeqe.yaml and the clouds' files`,intro:`How Android and iOS apps run (mobile:): Appium or Maestro, on several devices at once, on this machine or a device cloud such as TestMu AI. The apps themselves are in Environments.`},{id:`desktop`,group:`Testing`,icon:e,label:`Desktop`,file:`forgeqe.yaml`,intro:`How Windows desktop apps replay (desktop:). The apps themselves are in Environments.`},{id:`containers`,group:`Testing`,icon:re,label:`Containers`,file:`forgeqe.yaml`,intro:`Services for test runs in Docker or Podman (containers:): databases, queues, the API under test, mocks, and the images tests and agents run in.`},{id:`databases`,group:`Testing`,icon:ve,label:`Databases`,file:`forgeqe.yaml`,intro:`Databases the agent may read, and write to after you confirm (databases:), for questions, test data and data flows. An environment can add its own.`},{id:`quality`,group:`Testing`,icon:a,label:`Quality`,file:`forgeqe.yaml`,intro:`Accessibility, performance, visual and API checks on every page a run visits.`},{id:`logs`,group:`Activity`,icon:ie,label:`Logs`,file:``,intro:`A log of each chat, run and suite on this machine, for finding out what happened.`},{id:`audit`,group:`Activity`,icon:te,label:`Audit`,file:``,intro:`What ForgeQE did and what went wrong: sessions, tool and model calls, runs and errors, and who changed which setting.`},{id:`observability`,group:`Activity`,icon:ne,label:`Observability`,file:``,intro:`Send ForgeQE's own spans and metrics to your OpenTelemetry collector: off unless you turn it on, and never what the agents read or wrote.`},{id:`tokenomics`,group:`Activity`,icon:i,label:`Tokenomics`,file:`forgeqe.yaml`,intro:`Where the tokens and money went, from this project's reports, and the budgets that warn before they run out.`},{id:`generated`,group:`Activity`,icon:s,label:`Generated code`,file:``,intro:`How much of the code ForgeQE wrote in the repository is still there, by run (forgeqe generated).`},{id:`files`,group:`Advanced`,icon:ce,label:`Settings as text`,file:``,intro:`forgeqe.yaml, llms.json and env.yaml as they are on disk, for anything the form does not have.`},{id:`report`,group:`Advanced`,icon:be,label:`Report a problem`,file:``,intro:`Tell the ForgeQE team about a problem in ForgeQE. It drafts the bug with you, shows everything it will send, and files it in their Azure DevOps.`},{id:`features`,group:`Advanced`,icon:de,label:`What's ready`,file:``,intro:`What ForgeQE can do here. Pick one to see what it needs.`},{id:`whats-new`,group:`Advanced`,icon:n,label:`What's new`,file:``,intro:`What each release of ForgeQE added, improved and fixed. Pick a change to read more.`},{id:`about`,group:`Advanced`,icon:ae,label:`About ForgeQE`,file:``,intro:`The version of ForgeQE on this computer, updating it, and its guides.`}],Ge=[`guardrails`,`skills`,`prompts`];export{Oe as A,P as C,L as D,R as E,T as M,E as N,k as O,D as P,N as S,I as T,Ne as _,Pe as a,Be as b,$ as c,Y as d,Z as f,Ue as g,Le as h,J as i,M as j,De as k,X as l,G as m,Ge as n,Re as o,Ve as p,q as r,Fe as s,We as t,ze as u,K as v,Me as w,Ie as x,Q as y};
|