@everfur/sdk 0.22.0 → 1.0.1

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +35 -3
  2. package/dist/{chunk-K5NVMNI5.js → chunk-3RVFIOWI.js} +1 -1
  3. package/dist/{chunk-FFMIX6HG.js → chunk-63X2JJZY.js} +1 -1
  4. package/dist/{chunk-ZASVU7CH.js → chunk-FNF5TLN6.js} +3 -3
  5. package/dist/chunk-VKLLSI2B.js +14 -0
  6. package/dist/client/index.cjs +1 -1
  7. package/dist/client/index.d.cts +1 -1
  8. package/dist/client/index.d.ts +1 -1
  9. package/dist/client/index.js +1 -1
  10. package/dist/core/index.cjs +1 -1
  11. package/dist/core/index.js +1 -1
  12. package/dist/health-plan/index.cjs +4 -4
  13. package/dist/health-plan/index.js +4 -4
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/records/index.cjs +1 -1
  17. package/dist/records/index.js +1 -1
  18. package/dist/server/events/index.cjs +1 -1
  19. package/dist/server/events/index.js +1 -1
  20. package/dist/server/index.cjs +1 -1
  21. package/dist/server/index.js +1 -1
  22. package/dist/shop/index.cjs +8 -8
  23. package/dist/shop/index.js +8 -8
  24. package/dist/slots/index.cjs +38 -38
  25. package/dist/slots/index.js +38 -38
  26. package/dist/ui/index.cjs +26 -26
  27. package/dist/ui/index.js +26 -26
  28. package/dist/web/health-plan/index.cjs +5 -5
  29. package/dist/web/health-plan/index.js +1 -1
  30. package/dist/web/index.cjs +2 -2
  31. package/dist/web/index.js +2 -2
  32. package/dist/web/records-sheet/index.cjs +1 -1
  33. package/dist/web/records-sheet/index.js +1 -1
  34. package/dist/web/shop/index.cjs +2 -2
  35. package/dist/web/shop/index.js +1 -1
  36. package/dist/web/televet/booking/index.cjs +2 -2
  37. package/dist/web/televet/booking/index.js +2 -2
  38. package/dist/web/televet/call/index.cjs +1 -1
  39. package/dist/web/televet/call/index.js +1 -1
  40. package/dist/web/ui/index.cjs +7 -7
  41. package/dist/web/ui/index.js +4 -4
  42. package/package.json +5 -5
  43. package/dist/chunk-AT7SU763.js +0 -14
package/dist/ui/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
- import{createContext,createElement,useRef,useCallback,useEffect,useState,useMemo,useContext}from"react";import{StyleSheet,View,Pressable,Text as Text$1,Platform,Image,ActivityIndicator,Animated,Easing,AccessibilityInfo}from"react-native";import{jsx,jsxs,Fragment}from"react/jsx-runtime";var everfurTokens=/* @__PURE__ */Object.freeze({color:/* @__PURE__ */Object.freeze({efDarkGreen:"#10462E",efWhite:"#FFFFFF",efBlack:"#000000",efDustyPink:"#FFC3BC",efBrightGreen:"#07C168",efYellow:"#F2C763",efDustyBlue:"#A8B9DA",efSkyBlue:"#4E98C9",efCharcoal:"#3D3D3D",efIconHoney:"#926F06",efIconLeaf:"#16864A",efIconSky:"#1E7AB7",efIconTeal:"#05827E",efIconCocoa:"#865B3F",efIconNavy:"#223E80",efIconBerry:"#B6407F",efIconAmber:"#B25E05",efIconMoss:"#5E7E1E",efIconSlate:"#5A6087",efIconRose:"#CA4463",efRedDeep:"#6D1D14",efRedBright:"#C03410",bg:"#FFFFFF",bgBrand:"#10462E",bgAccent:"#FFC3BC",bgAccentB2b:"#A8B9DA",bgWarm:"#F2C763",text:"#000000",textBrand:"#10462E",textOnBrand:"#FFFFFF",textCta:"#07C168",textMuted:"#6B6B6B",bgMist:"#F1F5F2",border:"#E4E4E4",borderStrong:"#3D3D3D",hi:"#DAF6E8",hiStrong:"#ABEACC",hiEdge:"#0B8A4E",now:"#0C844B",alert:"#C03410",alertDeep:"#6D1D14",btnPrimaryBg:"#10462E",btnPrimaryText:"#FFFFFF",btnSecondaryBg:"rgba(0, 0, 0, 0)",btnSecondaryText:"#10462E",btnSecondaryBorder:"#10462E",mixMint:"#7FE8AE",mixLegal:"#A9C4B5",mixPromptGreen:"#BFEFD8",mixPromptYellow:"#F7DC9E",mixRx:"#E0E6F2",mixShelf:"#F3F3F3",mixEar:"#F09FA3",efBone:"#FAF9F6",efTennisBall:"#DCEF5A",efFawn:"#E8CAA4",efPine:"#12301F",efPine70:"rgba(18, 48, 31, 0.72)",efLiver:"#7A4330",efMerle:"#AEB8C1",efNose:"#E9B6A6"}),font:/* @__PURE__ */Object.freeze({family:/* @__PURE__ */Object.freeze({base:'Azeret, "Helvetica Neue", Arial, sans-serif',mono:'"Azeret Mono", ui-monospace, "SF Mono", Menlo, monospace'}),size:/* @__PURE__ */Object.freeze({xs:13,sm:15,md:17,lg:20,xl:24,"2xl":32,"3xl":40,"4xl":56}),lineHeight:/* @__PURE__ */Object.freeze({body:1.55,display:1.15}),weight:/* @__PURE__ */Object.freeze({regular:400,medium:500,bold:700})}),space:/* @__PURE__ */Object.freeze({1:4,2:8,3:12,4:16,5:24,6:32,7:48,8:64,9:96}),radius:/* @__PURE__ */Object.freeze({sm:6,md:10,lg:20,xl:28,pill:999}),shadow:/* @__PURE__ */Object.freeze({sm:/* @__PURE__ */Object.freeze({x:0,y:1,blur:2,spread:0,color:"rgba(16, 70, 46, 0.06)"}),md:/* @__PURE__ */Object.freeze({x:0,y:4,blur:16,spread:0,color:"rgba(16, 70, 46, 0.08)"})}),layout:/* @__PURE__ */Object.freeze({container:1200,containerNarrow:720}),motion:/* @__PURE__ */Object.freeze({easing:/* @__PURE__ */Object.freeze({out:/* @__PURE__ */Object.freeze([.23,1,.32,1]),inOut:/* @__PURE__ */Object.freeze([.77,0,.175,1]),drawer:/* @__PURE__ */Object.freeze([.32,.72,0,1]),expo:/* @__PURE__ */Object.freeze([.16,1,.3,1]),bark:/* @__PURE__ */Object.freeze([.34,1.56,.64,1])}),duration:/* @__PURE__ */Object.freeze({press:160,fade:200,enter:300,sheet:420,sheetOut:240,draw:900})}),web:/* @__PURE__ */Object.freeze({serif:'Azeret, "Helvetica Neue", Arial, sans-serif',sans:'Azeret, "Helvetica Neue", Arial, sans-serif',tSmall:14,max:1312}),role:/* @__PURE__ */Object.freeze({color:/* @__PURE__ */Object.freeze({ink:"#10462E",go:"#07C168",muted:"#6B6B6B",line:"#E4E4E4",pink50:"#FFE1DE",tintSage:"#E6ECE8",tintPink:"#FFEAE8",tintPinkSoft:"#FFF6F5",tintBlue:"#EAEEF6",tintYellow:"#FCF0D6",tintYellowEdge:"#F6D892",tintRed:"#FBF1EE",tintGo:"#DCF6EA",icoGrey:"#6B6B6B",icoSage:"#819E90",icoBlue:"#4E98C9",icoWarm:"#D6D0C2",icoAmber:"#B67B3F",amberText:"#A05E32",wxSun:"#F2C763",wxSunEdge:"#D5AD47",wxCloud:"#FFFFFF",wxCloudEdge:"#DEDEDE",wxCloudDark:"#EAEAEA",wxCloudDarkEdge:"#C5C5C5",wxRain:"#75AFD5",wxSnow:"#AFD1E7",wxMist:"#D4D4D4",cwShelf:"#FFFFFF",cwShelfDeep:"#F1F4F2",cwRx:"#E0E6F2",cwRxInk:"#5A6087",cwEdgeC:"#C6D3CD",nItch:"#CA4463",nJoints:"#5E7E1E",nItchC:"#FFC3BC",nJointsC:"#D8E0C9",lvlGood:"#77DDAC",lvlOk:"#F4CF7A",lvlHot:"#DC8F7C",lvlStorm:"#8DA4BB",mapLand:"#F5F5F5",mapEdge:"#EAEAEA",mapPark:"#D7F5E7",mapWater:"#D8E0EE",mapSand:"#FCF3DD"}),size:/* @__PURE__ */Object.freeze({max:1440,gutter:16,sideW:220,cardPad:16,barH:48,tabH:58,dock:64,side:16,stackGap:12})})});var BLOCK_BOX={shown:true,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},BLOCK_TEXT={shown:true,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},blockBox=p=>({...BLOCK_BOX,...p}),blockText=p=>({...BLOCK_TEXT,...p}),everfurMetrics={button:{ink:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24},go:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24},outline:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:400,lineHeight:1,iconSize:24},pink:{fill:true,minHeight:60,paddingX:16,gap:8,borderWidth:1,ring:false,fontSize:18,fontWeight:700,lineHeight:1,iconSize:24},danger:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1.55,iconSize:20},inkSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20},goSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20},outlineSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:400,lineHeight:1,iconSize:20},pinkSm:{fill:true,minHeight:46,paddingX:16,gap:8,borderWidth:1,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20},row:{fill:false,minHeight:36,paddingX:14,gap:8,borderWidth:1.5,ring:false,fontSize:14,fontWeight:400,lineHeight:1,iconSize:17},outlineInSheetWeight:700,money:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24,bg:"pink",fg:"ink",edgeColor:"ink"},moneySm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20,bg:"pink",fg:"ink",edgeColor:"ink"},warn:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24,bg:"none",fg:"alertDeep",edgeColor:"alert"},warnSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20,bg:"none",fg:"alertDeep",edgeColor:"alert"},text:{fontSize:15,fontWeight:700,lineHeight:1.4,color:"ink",pressOpacity:.6}},pill:{minHeight:24,paddingX:10,fontSize:12,fontWeight:700,lineHeight:1,letterSpacing:.72,ring:{soon:1.25,overdue:1.25,clear:1.5,later:1.25,plain:1.5,new:1.5},plainRingAlpha:.2,dot:6,dotGap:6,allergyDot:{size:6,gap:6,color:"alert"},mono:true,upper:true,tones:{rx:{bg:"#E0E6F2",fg:"ink",ring:0,ringColor:"ink"},soon:{bg:"surface",fg:"ink",ring:1.25,ringColor:"tintYellowEdge"},overdue:{bg:"surface",fg:"alert",ring:1.25,ringColor:"alert"},clear:{bg:"surface",fg:"go",ring:1.5,ringColor:"go"},stable:{bg:"tintGo",fg:"ink",ring:0,ringColor:"ink"},later:{bg:"surface",fg:"muted",ring:1.25,ringColor:"line"},plain:{bg:"surface",fg:"ink",ring:1.5,ringColor:"ink/0.2"},new:{bg:"surface",fg:"ink",ring:1.5,ringColor:"go"},pink:{bg:"tintPink",fg:"ink",ring:0,ringColor:"ink"},watch:{bg:"#F9E6B9",fg:"ink",ring:0,ringColor:"ink"},high:{bg:"surface",fg:"alert",ring:1.25,ringColor:"alert"},allergy:{bg:"surface",fg:"alertDeep",ring:1.25,ringColor:"alert"}}},chip:{minHeight:42,paddingX:16,gap:8,borderWidth:1,fontSize:15,fontWeight:500,lineHeight:1.3},card:{padding:16,radius:20,borderWidth:1,titleSize:18,titleWeight:700,titleLineHeight:1.25,titleTracking:-.36,titleGap:12,leadSize:15,leadLineHeight:1.5,leadGap:12,headGapX:16,headGapY:8,headGap:12,bodySize:17,bodyLineHeight:1.55,ghost:{borderStyle:"dashed",borderColor:"#B9C9C2"}},sectionHeader:{gapX:12,gapY:8,marginTop:8},kicker:{fontSize:12,fontWeight:700,lineHeight:1.55,letterSpacing:.96,gap:8},quantityStepper:{borderWidth:1,borderColor:"line",ring:false,button:40,icon:18,valueMinWidth:28,offColor:"line",offOpacity:1,valueSize:17,valueWeight:700,valueLineHeight:1.55},tabs:{minHeight:44,gap:6,fontSize:15,fontWeight:500,currentWeight:700,lineHeight:1.55,indicator:3,hairline:1,dot:7},sheet:{radius:28,grabHeight:20,grabBarWidth:36,grabBarHeight:5,grabBarRadius:3,headPaddingTop:4,headPaddingX:16,headPaddingBottom:12,headGap:12,titlesGap:2,titleSize:18,close:36,closeIcon:20,bodyGap:12,bodyPaddingX:16,bodyPaddingBottom:24,actsGap:12,actsMarginTop:4},empty:{gap:8,titleSize:22,titleWeight:500,titleLineHeight:1.2,titleTracking:-.33,leadSize:15,leadLineHeight:1.5,actsGap:12,actsMarginTop:12,buttonMinWidth:200,linkMinHeight:44,linkPaddingX:4,linkSize:15,linkWeight:700,linkUnderlineOffset:3},skeleton:{gap:10,lineHeight:12,widths:[100,82,64]},summary:{paddingX:24,paddingY:0,radius:20,borderWidth:1,background:"surface",shadow:{color:"",x:0,y:0,blur:0,spread:0},rowDivider:1,rowMinHeight:0,rowCenter:false,rowPaddingY:14,termColor:"muted",valueColor:"ink",tabular:false,totalRowMinHeight:0,totalTermSize:15,totalTermWeight:400,totalTermColor:"muted",totalWeight:700,rowGapX:16,rowGapY:2,termSize:15,termLineHeight:1.55,valueSize:15,valueWeight:700,valueLineHeight:1.4,totalSize:20,totalLineHeight:1.4,off:{shown:true,size:15,weight:700,lineHeight:21,color:"go",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},icon:{size:24},timeline:{row:{shown:true,w:361,h:69.281,padding:[0,0,24,0],marginTop:0,marginBottom:0,gap:[16,16],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},done:{shown:true,w:28,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"ink",edge:{width:2,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"surface",fit:"cover",x:0,y:0,dy:0},now:{shown:true,w:28,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"surface",edge:{width:2,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},next:{shown:true,w:28,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"surface",edge:{width:2,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},nowInner:{size:10,color:"go"},check:{shown:true,w:16,h:16,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"surface",fit:"cover",x:0,y:0,dy:0},lineDoneDone:{x:13,top:30,bottom:2,width:2,color:"ink"},lineDoneNow:{x:13,top:30,bottom:2,width:2,color:"ink"},lineNowNext:{x:13,top:30,bottom:2,width:2,color:"line"},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:3},head:{shown:true,w:317,h:27,padding:[3,0,0,0],marginTop:0,marginBottom:0,gap:[8,4],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},nextTitle:{shown:true,size:17,weight:700,lineHeight:22.1,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:3},when:{shown:true,size:13,weight:400,lineHeight:18.2,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0},text:{shown:true,size:15,weight:400,lineHeight:22.5,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0}},thumbnail:{xs:{frame:{shown:true,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"surface",edge:{width:1,color:"line",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},img:{shown:false,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"surface",edge:{width:1,color:"line",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[10,10],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false},sm:{frame:{shown:true,w:64,h:64,padding:[8,8,8,8],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},img:{shown:true,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:64,h:64,padding:[8,8,8,8],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false},md:{frame:{shown:true,w:156,h:156,padding:[0,0,0,0],marginTop:0,marginBottom:6,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F5F5F5",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},img:{shown:true,w:156,h:156,padding:[10,10,10,10],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:156,h:156,padding:[0,0,0,0],marginTop:0,marginBottom:6,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F5F5F5",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false},lg:{frame:{shown:true,w:174.5,h:174.5,padding:[0,0,0,0],marginTop:0,marginBottom:8,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},img:{shown:true,w:174.5,h:174.5,padding:[14,14,18,14],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:174.5,h:174.5,padding:[0,0,0,0],marginTop:0,marginBottom:8,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false}},text:{display:{shown:true,size:40,weight:500,lineHeight:39.2,color:"ink",tracking:-1.2,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},headline:{shown:true,size:30,weight:500,lineHeight:33,color:"ink",tracking:-.45,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},title:{shown:true,size:22,weight:500,lineHeight:26.4,color:"ink",tracking:-.33,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},heading:{shown:true,size:18,weight:700,lineHeight:22.5,color:"ink",tracking:-.36,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},body:{shown:true,size:17,weight:400,lineHeight:26.35,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},lead:{shown:true,size:15,weight:400,lineHeight:21.75,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},label:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},meta:{shown:true,size:13,weight:400,lineHeight:18.85,color:"muted",tracking:0,face:"mono",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},caption:{shown:true,size:13,weight:400,lineHeight:19.5,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},overline:{shown:true,size:12,weight:700,lineHeight:16.8,color:"muted",tracking:.72,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},kicker:{shown:true,size:12,weight:700,lineHeight:18.6,color:"muted",tracking:.96,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},field:{gap:6,label:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},input:{shown:true,w:361,h:52,padding:[0,16,0,16],marginTop:0,marginBottom:0,gap:[10,10],minHeight:52,radius:[10,10],bg:"surface",edge:{width:1.5,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},focusEdge:"ink",errorEdge:"alert",value:{shown:true,size:17,weight:400,lineHeight:26.35,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:1},valueInset:[2,1],icon:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"muted",fit:"cover",x:0,y:0,dy:0},area:{shown:true,w:361,h:158,padding:[12,16,12,16],marginTop:0,marginBottom:0,gap:[10,10],minHeight:52,radius:[10,10],bg:"surface",edge:{width:1.5,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},areaValue:{shown:true,size:17,weight:400,lineHeight:25.5,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:2},areaValueMinHeight:132,areaInset:[2,2],hint:{shown:true,size:13,weight:400,lineHeight:19.5,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},error:{shown:true,size:15,weight:400,lineHeight:21.75,color:"alertDeep",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},placeholder:"muted"},checkbox:{row:{shown:true,w:361,h:45,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},labelX:34,box:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:1,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"surface",edge:{width:1.5,color:"icoSage",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},on:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:1,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"ink",edge:{width:1.5,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},tick:{w:5,h:10,stroke:2,color:"surface",rotate:45,dy:-1},label:{shown:true,size:15,weight:400,lineHeight:22.5,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},boxed:{shown:true,w:361,h:50.5,padding:[14,16,14,16],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"bgMist",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0}},choice:{row:{shown:true,w:361,h:56.344,padding:[14,16,14,16],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"surface",edge:{width:1.5,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},selected:{shown:true,w:361,h:56.344,padding:[14,16,14,16],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"pink",edge:{width:1.5,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},radio:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[10,10],bg:"surface",edge:{width:1.5,color:"icoSage",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},radioOn:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[10,10],bg:"surface",edge:{width:6,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},textX:34,title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},strut:26.35,meta:{shown:true,size:13,weight:400,lineHeight:18.2,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0},end:{shown:true,size:13,weight:400,lineHeight:20.15,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},group:{gap:8,legend:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},legendPaddingX:2,legendGap:0}},switch:{track:{shown:true,w:48,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[999,999],bg:"#D0D6D3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},on:"ink",thumb:{size:22,inset:3,travel:20,color:"surface",shadow:{color:"rgba(16, 70, 46, 0.06)",x:0,y:1,blur:2,spread:0}}},iconButton:{bare:{shown:true,w:44,h:44,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[22,22],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},bareIcon:22,offColor:"line",ring:{shown:true,w:36,h:36,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[18,18],bg:"surface",edge:{width:1.5,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},ringIcon:18,ringPressed:"tintSage",ringPressScale:.94},link:{text:{shown:true,size:17,weight:400,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:3,decoThickness:0,marginTop:0,paddingTop:0},danger:{shown:true,size:15,weight:700,lineHeight:23.25,color:"alert",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:3,decoThickness:0,marginTop:0,paddingTop:0},inline:{shown:true,size:17,weight:400,lineHeight:26.35,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},lists:{rows:{row:{shown:true,w:327,h:94.781,padding:[16,0,16,0],marginTop:0,marginBottom:0,gap:[16,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:1,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},subtitle:{shown:true,size:13,weight:400,lineHeight:18.85,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0}},tiles:{list:{shown:true,w:343,h:175.813,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[4,4],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},outdent:8,row:{shown:true,w:343,h:62.281,padding:[10,8,10,8],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},leading:22,leadingFace:40,icon:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"muted",fit:"cover",x:0,y:0,dy:0},text:{shown:true,w:261,h:42.281,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[2,2],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},subtitle:{shown:true,size:13,weight:400,lineHeight:18.2,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},pressed:"#EDF2EF",alert:{bg:"tintRed",icon:"alert",title:"alertDeep",subtitle:"alert"}},end:{text:{shown:true,size:15,weight:400,lineHeight:23.25,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},gap:8,chevron:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#819D90",fit:"cover",x:0,y:0,dy:0}},section:{title:{shown:true,size:18,weight:700,lineHeight:22.5,color:"ink",tracking:-.36,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},titleGap:12,head:{shown:true,w:361,h:22.5,padding:[0,0,0,0],marginTop:8,marginBottom:0,gap:[12,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},note:{shown:true,size:13,weight:400,lineHeight:19.5,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:12,paddingTop:0}},avatar:{sizes:{xs:20,sm:36,md:48,lg:64,xl:128},face:40,bg:"surface",edge:{width:1,color:"line",ring:true},initials:{shown:true,size:15,weight:700,lineHeight:23.25,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},initialsXs:{shown:true,size:9,weight:700,lineHeight:13.95,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},tints:{default:"tintPink",pink:"#FFCFC9",blue:"#C2CEE5",yellow:"#F6D78F",sage:"#C6D3CD"},ring:{width:2,offset:2,color:"go"},ringXl:{width:3,offset:4,color:"go"},dot:{size:12,edge:2,edgeColor:"surface"}},stack:{size:28,overlap:-8,initialsSize:12,halo:{width:2,color:"surface"}},banner:{box:{shown:true,w:361,h:155.391,padding:[16,16,16,16],marginTop:0,marginBottom:0,gap:[12,4],minHeight:0,radius:[20,20],bg:"#F1F5F2",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:1,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},iconRows:3,kicker:{shown:true,size:12,weight:700,lineHeight:16.8,color:"#5B5B5B",tracking:.72,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},text:{shown:true,size:15,weight:400,lineHeight:21.75,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},acts:{shown:true,w:295,h:21,padding:[0,0,0,0],marginTop:8,marginBottom:0,gap:[16,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},link:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},tones:{info:{bg:"#F1F5F2",icon:"ink"},success:{bg:"tintGo",icon:"ink"},warn:{bg:"#FCF0D6",icon:"#926F06"},danger:{bg:"tintRed",icon:"alert"}}},toast:{box:{shown:true,w:200.281,h:40.25,padding:[10,16,10,16],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[999,999],bg:"ink",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"surface",fit:"cover",x:0,y:0,dy:0},text:{shown:true,size:15,weight:400,lineHeight:20.25,color:"onInk",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:10},inset:16,rise:8,fade:200,hold:2600},spinner:{size:16,border:2,turn:700,openSide:true,reducedOpacity:.5},offbar:{box:{shown:true,w:361,h:56,padding:[6,16,6,16],marginTop:0,marginBottom:0,gap:[10,10],minHeight:44,radius:[0,0],bg:"#FCF0D6",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:48,dy:0},text:{shown:true,size:15,weight:500,lineHeight:19.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},icon:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},action:{shown:true,w:69.859,h:44,padding:[0,2,0,2],marginTop:0,marginBottom:0,gap:[6,6],minHeight:44,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},actionText:{shown:true,size:15,weight:700,lineHeight:19.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:3,decoThickness:0,marginTop:0,paddingTop:0},online:{bg:"ink",color:"onInk"},fade:200},progress:{track:{shown:true,w:361,h:4,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[999,999],bg:"line",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},fill:"go",move:300},divider:{width:1,color:"line",label:{shown:true,size:12,weight:400,lineHeight:18.6,color:"muted",tracking:.72,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},labelGap:12,labelLine:{width:1,color:"line"}},errorInline:{text:{shown:true,size:15,weight:400,lineHeight:21,color:"alertDeep",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},acts:{shown:true,w:361,h:21,padding:[0,0,0,0],marginTop:8,marginBottom:0,gap:[16,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},link:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},linkPressedOpacity:.6},variants:{drawer:{frame:{shown:true,w:393,h:226.594,padding:[10,20,40,20],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[28,0],bg:"surface",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:293.406,dy:0},maxHeight:.8,grab:{shown:true,w:40,h:5,padding:[0,0,0,0],marginTop:0,marginBottom:10,gap:[0,0],minHeight:0,radius:[2.5,2.5],bg:"#DAD7D1",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},top:{shown:true,w:353,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},kicker:{shown:true,size:11,weight:400,lineHeight:16.5,color:"muted",tracking:.88,face:"mono",upper:true,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},close:{shown:true,w:40,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[20,20],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},closeEnd:-8,closeIcon:22,title:{shown:true,size:24,weight:800,lineHeight:27.6,color:"ink",tracking:-.24,face:"serif",upper:false,wrap:"balance",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},body:{shown:true,w:353,h:82,padding:[0,0,0,0],marginTop:12,marginBottom:0,gap:[10,10],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},text:{shown:true,size:16,weight:400,lineHeight:24,color:"text",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},scrim:"ink/0.38",motion:{enterMs:320,enterEasing:[.32,.72,0,1],exitMs:220,exitEasing:[.23,1,.32,1],scrimEnterMs:240,scrimExitMs:200,scrimEasing:[.25,.1,.25,1]}},button:{ink:{fill:false,minHeight:48,paddingX:22,gap:8,borderWidth:0,ring:false,fontSize:16,fontWeight:700,lineHeight:1.5,iconSize:20},outline:{fill:false,minHeight:48,paddingX:22,gap:8,borderWidth:1.5,ring:true,fontSize:16,fontWeight:700,lineHeight:1.5,iconSize:20},sm:{fill:false,minHeight:40,paddingX:16,gap:8,borderWidth:1.5,ring:true,fontSize:15,fontWeight:700,lineHeight:1.5,iconSize:20},lg:{fill:false,minHeight:56,paddingX:28,gap:8,borderWidth:0,ring:false,fontSize:17,fontWeight:700,lineHeight:1.5,iconSize:20},disabledOpacity:.32,press:.97,transition:"transform 160ms cubic-bezier(0.23, 1, 0.32, 1), opacity 160ms ease"},segmented:{track:{shown:true,w:361,h:44,padding:[4,4,4,4],marginTop:0,marginBottom:0,gap:[4,4],minHeight:0,radius:[22,22],bg:"surface",edge:{width:1.5,color:"#DAD7D1",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},option:{shown:true,w:115,h:36,padding:[0,6,0,6],marginTop:0,marginBottom:0,gap:[0,0],minHeight:36,radius:[18,18],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},label:{shown:true,size:14,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},chosen:{shown:true,w:115,h:36,padding:[0,6,0,6],marginTop:0,marginBottom:0,gap:[0,0],minHeight:36,radius:[18,18],bg:"ink",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"onInk",fit:"cover",x:0,y:0,dy:0},chosenLabel:{shown:true,size:14,weight:700,lineHeight:21,color:"onInk",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},press:.96,transition:"background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1)"},stepper:{track:{shown:true,w:110,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[20,20],bg:"surface",edge:{width:1.5,color:"#DAD7D1",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},button:{shown:true,w:40,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[20,20],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},icon:16,value:{shown:true,size:15.5,weight:800,lineHeight:23.25,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},valueWidth:30,disabledOpacity:.3,press:.9,transition:"transform 160ms cubic-bezier(0.23, 1, 0.32, 1)"},summary:{box:{shown:true,w:361,h:144,padding:[6,16,6,16],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[16,16],bg:"surface",edge:{width:0,color:"line",ring:false},shadow:{color:"rgba(38, 37, 35, 0.06)",x:0,y:1,blur:3,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},row:{shown:true,w:329,h:34,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[12,12],minHeight:34,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},term:{shown:true,size:15,weight:400,lineHeight:22.5,color:"#4A4845",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},value:{shown:true,size:15,weight:400,lineHeight:22.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},totalRow:{shown:true,w:329,h:42,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[12,12],minHeight:42,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},totalTerm:{shown:true,size:17,weight:800,lineHeight:25.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},total:{shown:true,size:17,weight:800,lineHeight:25.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},renewRow:{shown:true,w:329,h:28,padding:[0,0,0,0],marginTop:-6,marginBottom:0,gap:[12,12],minHeight:28,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},renewTerm:{shown:true,size:14,weight:400,lineHeight:21,color:"#4A4845",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},renew:{shown:true,size:14,weight:400,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},inset:{shown:true,w:361,h:88,padding:[6,16,6,16],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[16,16],bg:"bg",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0}},toast:{box:{shown:true,w:361,h:64.594,padding:[12,15,12,15],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[16,16],bg:"ink",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"onInk",fit:"cover",x:16,y:62,dy:0},text:{shown:true,size:14.5,weight:400,lineHeight:20.3,color:"onInk",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:12},motion:{enterMs:220,exitMs:160,easing:[.23,1,.32,1],rise:-8}},focus:{width:2,offset:2,color:"ink"}},press:{button:.97,iconButton:.94,card:.98},colors:{grab:"#C9C9C9",scrim:"rgba(0, 0, 0, 0.32)",watch:"#F9E6B9",planInk:"#262523",planOnInk:"#FFFFFF",planAccent:"#FFCE34",planLink:"#00707C",planAccentWash:"#FFF7DC",planAccentChip:"#FFE7A1",planLinkWash:"#E0FDFF",planLinkChip:"#C8F4F8"}},everfurBlocksMetrics={order:{card:blockBox({w:361,h:163.547}),top:blockBox({w:361,h:39.547,gap:[12,12]}),title:blockText({size:16,weight:700,lineHeight:20,tracking:-.16}),meta:blockText({size:13,weight:400,lineHeight:17.55,color:"muted"}),total:blockText({size:16,weight:700,lineHeight:24.8,tabular:true}),shots:blockBox({w:361,h:64,marginTop:8,gap:[8,8]}),acts:blockBox({w:361,h:40,marginTop:12,gap:[8,8]}),go:blockBox({w:176.5,h:40,padding:[0,12,0,12],gap:[6,6],minHeight:40,radius:[999,999],bg:"go",center:true}),goText:blockText({size:14,weight:700,lineHeight:21.7}),plain:blockBox({w:176.5,h:40,padding:[0,12,0,12],gap:[6,6],minHeight:40,radius:[999,999],bg:"#F3F3F3",center:true}),plainText:blockText({size:14,weight:700,lineHeight:21.7}),note:blockText({size:13,weight:500,lineHeight:17.55,marginTop:8}),icon:blockBox({w:16,h:16}),actsColumns:2,shotPressScale:.96},orderQuiet:{top:blockBox({w:361,h:43.547,gap:[12,12]}),when:blockBox({w:300.063,h:24,gap:[8,4],center:true}),title:blockText({size:16,weight:700,lineHeight:20.8}),chip:blockBox({w:86.031,h:24,padding:[0,9,0,5],gap:[4,4],minHeight:24,radius:[999,999],bg:"tintGo",center:true,color:"ink"}),chipText:blockText({size:12,weight:700,lineHeight:15.6,color:"ink"}),chipIcon:blockBox({w:14,h:14,color:"ink"}),meta:blockText({size:13,weight:400,lineHeight:17.55,color:"muted",marginTop:2}),total:blockText({size:16,weight:700,lineHeight:24.8,tabular:true}),shots:blockBox({w:361,h:64,marginTop:8,gap:[8,8]}),shot:blockBox({w:64,h:64,radius:[14,14],bg:"#F3F3F3"}),shotImg:blockBox({w:64,h:64,padding:[6.391,6.391,6.391,6.391],fit:"contain"}),shotBlend:"multiply",acts:blockBox({w:361,h:44,marginTop:12,gap:[12,12],center:true}),plain:blockBox({w:162.109,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"#F3F3F3",center:true}),plainText:blockText({size:14,weight:700,lineHeight:21.7}),icon:blockBox({w:16,h:16}),link:blockBox({w:62.578,h:44,padding:[0,6,0,6],minHeight:44}),linkText:blockText({size:14,weight:700,lineHeight:21.7,deco:"underline",decoOffset:3,decoThickness:1.5})},orderWeb:{card:blockBox({w:952,h:127.781,padding:[16,24,16,16],gap:[24,16],radius:[20,20],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.04)",x:0,y:1,blur:2,spread:0},center:true}),lift:{color:"rgba(0, 0, 0, 0.05)",x:0,y:6,blur:20,spread:0},shots:blockBox({w:172,h:72}),sq:blockBox({w:72,h:72,radius:[14,14],bg:"#F3F3F3"}),sqRing:3,sqOverlap:22,imgInset:.1,imgFit:"contain",imgBlend:"multiply",text:blockBox({w:446.547,h:95.781,gap:[2,2]}),when:blockBox({w:446.547,h:26,gap:[12,4],center:true}),title:blockText({size:19,weight:700,lineHeight:24.7,tabular:true}),total:blockText({size:19,weight:900,lineHeight:24.7,tabular:true}),chip:blockBox({w:94.547,h:26,padding:[0,10,0,6],gap:[4,4],minHeight:26,radius:[999,999],bg:"tintGo",center:true,color:"ink"}),chipText:blockText({size:13,weight:700,lineHeight:16.9,color:"ink",tabular:true}),chipIcon:blockBox({w:16,h:16,color:"ink"}),meta:blockText({size:16,weight:400,lineHeight:22.4}),note:blockText({size:15,weight:400,lineHeight:21}),acts:blockBox({w:245.453,h:46,gap:[24,8],center:true}),plain:blockBox({w:160.031,h:46,padding:[0,20,0,20],gap:[8,8],minHeight:46,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true},center:true,color:"ink"}),plainText:blockText({size:16,weight:700,lineHeight:19.2,color:"ink"}),icon:blockBox({w:18,h:18,color:"ink"}),link:blockBox({w:61.422,h:44,gap:[8,8],minHeight:44,center:true,color:"ink"}),linkText:blockText({size:17,weight:700,lineHeight:20.4,color:"ink",deco:"underline",decoOffset:4}),go:blockBox({w:228.75,h:52,padding:[0,24,0,24],gap:[8,8],minHeight:52,radius:[999,999],bg:"ink",center:true,color:"surface"}),goText:blockText({size:17,weight:700,lineHeight:20.4,color:"surface",wrap:"auto"}),pressScale:.97,hoverFill:{color:"ink",share:.06,over:"surface"},chipOff:blockBox({w:97.422,h:26,padding:[0,10,0,6],gap:[4,4],minHeight:26,radius:[999,999],center:true,color:"ink"}),metaLink:blockText({size:16,weight:400,lineHeight:22.4,deco:"underline"}),narrow:{upTo:599,card:blockBox({w:560,h:247.391,padding:[16,16,16,16],gap:[24,16],radius:[20,20],bg:"surface",center:true}),sq:blockBox({w:64,h:64,radius:[14,14],bg:"#F3F3F3",shadow:{color:"#FFFFFF",x:0,y:0,blur:0,spread:3}}),sqOverlap:16},phone:{upTo:639,card:blockBox({w:335,h:120.984,gap:[12,8],center:true}),sq:blockBox({w:48,h:48,radius:[12,12],bg:"#F3F3F3"}),sqRing:2,sqOverlap:18,when:blockBox({w:215,h:46.797,gap:[12,2],center:true}),title:blockText({size:16,weight:700,lineHeight:20.8,tabular:true}),total:blockText({size:16,weight:900,lineHeight:20.8,tabular:true}),chip:blockBox({w:90.031,h:24,padding:[0,10,0,6],gap:[4,4],minHeight:24,radius:[999,999],bg:"tintGo",center:true,color:"ink"}),chipText:blockText({size:12,weight:700,lineHeight:15.6,color:"ink",tabular:true}),whatHidden:true,note:blockText({size:13,weight:400,lineHeight:18.2}),acts:blockBox({w:335,h:46,gap:[24,8],center:true}),plain:blockBox({w:144.531,h:46,padding:[0,16,0,16],gap:[8,8],minHeight:46,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true},center:true,color:"ink"}),plainText:blockText({size:15,weight:700,lineHeight:18,color:"ink"}),linkText:blockText({size:15,weight:700,lineHeight:18,color:"ink",deco:"underline",decoOffset:4})}},product:{card:blockBox({w:156,h:310.969,gap:[4,4]}),kicker:blockText({size:12,weight:400,lineHeight:15.6,color:"muted",tracking:.12,face:"mono"}),name:blockText({size:15,weight:700,lineHeight:19.5,wrap:"balance"}),meta:blockText({size:13,weight:400,lineHeight:18.2,color:"muted"}),buy:blockBox({w:156,h:36,marginTop:6,gap:[8,8],center:true}),price:blockText({size:15,weight:700,lineHeight:23.25,tabular:true})},productCard:{card:blockBox({w:174.5,h:249.219,gap:[2,2]}),tag:blockBox({w:84.563,h:26,padding:[0,9,0,6],gap:[4,4],minHeight:26,radius:[999,999],bg:"surface",center:true,x:8,y:8}),tagIcon:blockBox({w:16,h:16,color:"#CA4463"}),tagText:blockText({size:12,weight:700,lineHeight:12}),price:blockBox({w:174.5,h:26.344,gap:[6,6]}),priceText:blockText({size:17,weight:700,lineHeight:26.35,tracking:-.17,tabular:true}),was:blockText({size:13,weight:400,lineHeight:20.15,color:"muted",tabular:true,deco:"strike"}),name:blockText({size:14,weight:500,lineHeight:18.2,wrap:"balance"}),meta:blockText({size:12,weight:400,lineHeight:16.2,color:"muted"}),metaAuto:blockText({size:12,weight:500,lineHeight:16.2,color:"#16864A"}),step:blockBox({w:112,h:38,radius:[19,19],bg:"surface",center:true,x:54.5,y:128.5}),stepIn:blockBox({w:112,h:38,radius:[19,19],bg:"ink",center:true,color:"surface",x:54.5,y:128.5}),stepAt:{right:8,bottom:8},stepButton:blockBox({w:38,h:38,radius:[19,19],center:true}),stepIcon:blockBox({w:18,h:18}),count:blockText({size:15,weight:700,lineHeight:23.25,color:"surface",tabular:true}),lift:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},per:blockText({size:12,weight:400,lineHeight:16.2,color:"muted",tabular:true}),metaAutoDark:blockText({size:12,weight:500,lineHeight:16.2,color:"ink"}),pill:blockBox({w:62.234,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"go",center:true,x:104.266,y:130.5}),pillText:blockText({size:14,weight:700,lineHeight:21.7}),pillOn:blockBox({w:90.016,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"surface",edge:{width:2,color:"text",ring:true},center:true,x:76.484,y:130.5}),pillOnText:blockText({size:14,weight:700,lineHeight:21.7}),pillIcon:blockBox({w:16,h:16}),pillSoft:blockBox({w:80.125,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},center:true,x:86.375,y:130.5}),pillSoftText:blockText({size:14,weight:700,lineHeight:21.7}),pillAt:{right:8,bottom:8},pillPressScale:.96},productBlend:{img:blockBox({w:174.5,h:174.5,padding:[32,14,16,14],fit:"contain"}),imgBlend:"multiply",lift:{color:"rgba(0, 0, 0, 0.08)",x:0,y:2,blur:8,spread:0},pill:blockBox({w:62.234,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"pink",edge:{width:1,color:"ink",ring:true},center:true,color:"ink",x:104.266,y:130.5}),pillText:blockText({size:14,weight:700,lineHeight:21.7,color:"ink"}),pillOn:blockBox({w:90.016,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"surface",edge:{width:2,color:"ink",ring:true},center:true,color:"ink",x:76.484,y:130.5}),pillOnText:blockText({size:14,weight:700,lineHeight:21.7,color:"ink"}),pillPressScale:.97},productWeb:{card:blockBox({w:306.656,h:370.641,gap:[2,2]}),square:blockBox({w:306.656,h:306.656,marginBottom:10,radius:[20,20],bg:"#F5F5F5"}),imgInsetTag:{share:[.11,.11,.1,.11],px:[26,0,0,0]},imgInset:{share:[.07,.07,.07,.07],px:[0,0,0,0]},imgFit:"contain",imgBlend:"multiply",tag:blockBox({w:112.516,h:30,padding:[0,12,0,8],gap:[5,5],minHeight:30,radius:[999,999],bg:"#F7E3E8",center:true,color:"ink",x:10,y:10}),tagText:blockText({size:13,weight:700,lineHeight:14.3,color:"ink"}),tagIcon:blockBox({w:16,h:16,color:"#CA4463"}),tagMix:.15,name:blockText({size:17,weight:500,lineHeight:22.1,wrap:"balance"}),nameLeading:1.3,coverRadius:20,price:blockBox({w:306.656,h:27.891,gap:[8,2]}),priceText:blockText({size:18,weight:700,lineHeight:27.9,tracking:-.18,tabular:true}),was:blockText({size:15,weight:400,lineHeight:23.25,tabular:true,deco:"strike"}),per:blockText({size:15,weight:400,lineHeight:23.25,tabular:true}),badge:blockBox({w:32.625,h:22,padding:[0,8,0,8],radius:[999,999],bg:"#DEE4F1",edge:{width:1.5,color:"rgba(90, 96, 135, 0.45)",ring:true},center:true}),badgeText:blockText({size:13,weight:700,lineHeight:13,tabular:true}),meta:blockText({size:15,weight:400,lineHeight:21}),add:blockBox({w:44,h:44,radius:[22,22],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},center:true}),addIcon:blockBox({w:20,h:20}),actAt:{right:10,bottom:10},step:blockBox({w:116,h:44,radius:[22,22],bg:"ink",center:true,color:"surface"}),stepButton:blockBox({w:44,h:44,radius:[22,22],center:true,color:"surface"}),stepIcon:blockBox({w:18,h:18,color:"surface"}),count:blockText({size:15,weight:700,lineHeight:23.25,color:"surface",tabular:true}),pill:blockBox({w:68.688,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"ink",center:true,color:"surface"}),pillText:blockText({size:15,weight:700,lineHeight:15,color:"surface"}),pillOn:blockBox({w:101.016,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"surface",edge:{width:2,color:"ink",ring:true},center:true,color:"ink"}),pillOnText:blockText({size:15,weight:700,lineHeight:15,color:"ink"}),pillIcon:blockBox({w:18,h:18,color:"ink"}),pillSoft:blockBox({w:87.859,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},center:true}),pillSoftText:blockText({size:15,weight:700,lineHeight:15}),nameSteps:[{upTo:599,name:blockText({size:16,weight:500,lineHeight:20.8,wrap:"balance"})},{upTo:399,name:blockText({size:14,weight:500,lineHeight:18.2,wrap:"balance"})}],addPressScale:.94,stepPressScale:.88,pillPressScale:.97,imgInsetEven:{share:[.07,.07,.07,.07],px:[0,0,0,0]},imgInsetWhite:{share:[.11,.11,.14,.11],px:[0,0,0,0]},groundWhite:"surface",focusOffset:3,hover:{ring:{width:1.5,share:.45,color:"ink"},underlineOffset:3}},productRow:{card:blockBox({shown:false,w:361,h:109.328,gap:[12,12],center:true}),name:blockText({shown:false,size:17,weight:700,lineHeight:22.1,color:"ink"}),meta:blockText({shown:false,size:13,weight:400,lineHeight:18.85,color:"muted",marginTop:2})},cart:{line:blockBox({w:361,h:109.328,gap:[12,12],center:true}),name:blockBox({w:289,h:24,gap:[8,4],center:true,color:"ink"}),nameText:blockText({size:17,weight:700,lineHeight:22.1,color:"ink"}),meta:blockText({size:13,weight:400,lineHeight:18.85,color:"muted",marginTop:2}),price:blockText({size:17,weight:700,lineHeight:26.35,color:"ink",tabular:true}),was:blockText({shown:false,size:13,weight:400,lineHeight:18.85,color:"muted",marginTop:2}),acts:blockBox({w:289,h:20.141,marginTop:6,gap:[16,16]}),remove:blockText({size:13,weight:700,lineHeight:20.15,color:"ink",deco:"underline",decoOffset:3}),removeBox:blockBox({w:53.016,h:20.141,color:"ink"}),end:blockBox({w:289,h:26.344,gap:[4,4]})},cartSquare:{line:blockBox({w:361,h:95.094,gap:[12,12]}),sm:blockBox({w:48,h:48,radius:[12,12],bg:"#F3F3F3"}),md:blockBox({w:52,h:52,radius:[12,12],bg:"#F3F3F3"}),lg:blockBox({w:56,h:56,radius:[12,12],bg:"#F3F3F3"}),imgInset:.1,imgFit:"contain",imgBlend:"multiply",name:blockBox({w:239.109,h:20,gap:[6,4],center:true}),nameText:blockText({size:15,weight:700,lineHeight:19.5}),link:blockText({size:15,weight:700,lineHeight:19.5}),linkReach:4,badge:blockBox({w:29.344,h:20,padding:[0,7,0,7],radius:[999,999],bg:"#E0E6F2",edge:{width:1.5,color:"rgba(90, 96, 135, 0.45)",ring:true},center:true}),badgeText:blockText({size:12,weight:700,lineHeight:12}),meta:blockText({size:13,weight:400,lineHeight:17.55,color:"muted",marginTop:2}),acts:blockBox({w:239.109,h:32,marginTop:6,gap:[16,16]}),act:blockText({size:13,weight:700,lineHeight:20.15,color:"ink",deco:"underline",decoOffset:3}),actBox:blockBox({w:84.531,h:32,minHeight:32,color:"ink"}),price:blockText({size:15,weight:700,lineHeight:23.25,tabular:true}),was:blockText({size:13,weight:400,lineHeight:20.15,color:"muted",tabular:true,deco:"strike"})},cartWeb:{line:blockBox({w:404,h:88,gap:[16,0],center:true}),sq:blockBox({w:88,h:88,radius:[14,14],bg:"#F3F3F3"}),imgInset:.1,imgFit:"contain",imgBlend:"multiply",name:blockBox({w:225.875,h:24.688,gap:[8,4],center:true}),nameText:blockText({size:19,weight:700,lineHeight:24.7}),link:blockText({size:19,weight:700,lineHeight:24.7}),linkReach:4,badge:blockBox({w:32.625,h:22,padding:[0,8,0,8],radius:[999,999],bg:"#DEE4F1",center:true}),badgeText:blockText({size:13,weight:700,lineHeight:13}),meta:blockText({size:15,weight:400,lineHeight:21,marginTop:2}),price:blockText({size:19,weight:700,lineHeight:29.45,tabular:true}),was:blockText({size:15,weight:400,lineHeight:23.25,tabular:true,deco:"strike"}),narrow:{upTo:599,sq:blockBox({w:64,h:64,radius:[14,14],bg:"#F3F3F3"}),cost:blockBox({w:432,h:29.438,marginTop:4,gap:[8,8]}),nameText:blockText({size:17,weight:700,lineHeight:22.1}),link:blockText({size:17,weight:700,lineHeight:22.1})},narrower:{upTo:330,sq:blockBox({w:56,h:56,radius:[14,14],bg:"#F3F3F3"}),cost:blockBox({w:216,h:29.438,marginTop:4,gap:[8,8]}),nameText:blockText({size:17,weight:700,lineHeight:22.1}),link:blockText({size:17,weight:700,lineHeight:22.1})},phone:{upTo:639,line:blockBox({w:303,h:81.25,gap:[12,0],center:true}),sq:blockBox({w:56,h:56,radius:[12,12],bg:"#F3F3F3"}),cost:blockBox({w:235,h:23.25,marginTop:2,gap:[8,8]}),nameText:blockText({size:15,weight:700,lineHeight:19.5}),link:blockText({size:15,weight:700,lineHeight:19.5}),meta:blockText({size:13,weight:400,lineHeight:17.55,marginTop:2}),price:blockText({size:15,weight:700,lineHeight:23.25,tabular:true}),was:blockText({size:13,weight:400,lineHeight:20.15,tabular:true,deco:"strike"}),smallUpTo:359,smallSq:48}},cartDrawer:{line:blockBox({w:360,h:147.094,gap:[14,0]}),img:blockBox({w:64,h:64,radius:[14,14],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true}}),imgInset:6,imgFit:"contain",name:blockBox({w:216,h:22.094,gap:[8,4],center:true}),nameText:blockText({size:17,weight:700,lineHeight:22.1,wrap:"auto"}),badge:blockBox({w:32.625,h:22,padding:[0,8,0,8],radius:[999,999],bg:"#DEE4F1",edge:{width:1.5,color:"rgba(90, 96, 135, 0.45)",ring:true},center:true}),badgeText:blockText({size:13,weight:700,lineHeight:13,wrap:"auto"}),meta:blockText({size:15,weight:400,lineHeight:21,marginTop:2}),note:blockText({size:15,weight:700,lineHeight:21,color:"ink",marginTop:2}),acts:blockBox({w:282,h:92,marginTop:10,gap:[12,8],center:true}),plan:blockBox({w:193.703,h:44,padding:[3,3,3,3],radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true}}),planBtn:blockBox({w:63.859,h:38,padding:[0,14,0,14],minHeight:38,radius:[999,999]}),planText:blockText({size:15,weight:500,lineHeight:23.25,wrap:"auto"}),planOn:blockBox({w:123.844,h:38,padding:[0,14,0,14],minHeight:38,radius:[999,999],bg:"ink",color:"surface"}),planOnText:blockText({size:15,weight:700,lineHeight:23.25,color:"surface",wrap:"auto"}),qty:blockBox({w:104,h:40,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true},center:true}),countMin:24,qtyBtn:blockBox({w:40,h:40,radius:[20,20],center:true}),qtyIcon:blockBox({w:16,h:16}),count:blockText({size:15,weight:700,lineHeight:23.25,wrap:"auto",tabular:true}),remove:blockBox({w:58.359,h:40,minHeight:40,color:"ink"}),removeText:blockText({size:15,weight:700,lineHeight:23.25,color:"ink",wrap:"auto",deco:"underline",decoOffset:3}),price:blockText({size:17,weight:700,lineHeight:22.1,wrap:"auto",tabular:true}),was:blockText({size:15,weight:400,lineHeight:19.5,wrap:"auto",tabular:true,deco:"strike"}),pressScale:.9,hover:{color:"ink",share:.06,over:"surface"},motion:{press:140,fill:150,planFill:150}},price:{note:blockText({size:13,weight:400,lineHeight:19.5,color:"muted",marginTop:12}),noteStrong:blockText({size:13,weight:700,lineHeight:19.5,color:"muted"})},priceWeb:{rows:blockBox({w:536,h:166.625,gap:[10,10]}),row:blockBox({w:536,h:26.344,gap:[16,16]}),term:blockText({size:17,weight:400,lineHeight:26.35,wrap:"balance"}),value:blockText({size:17,weight:700,lineHeight:26.35,tabular:true}),off:blockText({size:17,weight:700,lineHeight:26.35,color:"ink",wrap:"balance"}),total:blockBox({w:536,h:49.594,marginTop:8,gap:[16,16]}),totalTerm:blockText({size:20,weight:700,lineHeight:31,wrap:"balance"}),totalValue:blockText({size:32,weight:700,lineHeight:49.6,tracking:-.64,tabular:true}),note:blockText({size:15,weight:400,lineHeight:22.5,marginTop:16}),noteStrong:blockText({size:15,weight:700,lineHeight:22.5,color:"ink"}),phone:{upTo:639,rows:blockBox({w:239,h:145.141,gap:[8,8]}),term:blockText({size:15,weight:400,lineHeight:23.25,wrap:"balance"}),value:blockText({size:15,weight:700,lineHeight:23.25,tabular:true}),totalTerm:blockText({size:18,weight:700,lineHeight:27.9,wrap:"balance"}),totalValue:blockText({size:28,weight:700,lineHeight:43.4,tracking:-.56,tabular:true}),note:blockText({size:15,weight:400,lineHeight:22.5,marginTop:12})},drawer:{rows:blockBox({w:360,h:154.219,marginTop:32,gap:[10,10]}),term:blockText({size:17,weight:400,lineHeight:26.35,wrap:"balance"}),value:blockText({size:17,weight:700,lineHeight:26.35,tabular:true}),totalTerm:blockText({size:20,weight:700,lineHeight:31,wrap:"balance"}),totalValue:blockText({size:24,weight:700,lineHeight:37.2,tabular:true}),note:blockText({size:15,weight:400,lineHeight:22.5,marginTop:12})}},need:{card:blockBox({w:325,h:125.25,padding:[14,16,14,16],radius:[0,20],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.06)",x:0,y:2,blur:3,spread:-1}}),kicker:blockBox({w:293,h:24,gap:[8,8],center:true}),kickerText:blockText({size:15,weight:700,lineHeight:23.25}),source:blockBox({w:116.719,h:24,padding:[0,9,0,9],radius:[999,999],bg:"#DAF6E8",center:true,color:"ink"}),sourceText:blockText({size:12,weight:700,lineHeight:18.6,color:"ink"}),title:blockText({shown:false,size:15,weight:700,lineHeight:23.25}),signal:blockBox({w:293,h:65.25,marginTop:8,gap:[9,9],color:"#4D4D4D"}),signalText:blockText({size:15,weight:400,lineHeight:21.75,color:"#4D4D4D"}),signalLead:blockText({size:15,weight:700,lineHeight:21.75}),dot:blockBox({w:9,h:9,radius:[4.5,4.5],bg:"alert",color:"#4D4D4D",dy:-1}),score:blockBox({w:293,h:99.859,padding:[10,14,10,14],marginTop:12,gap:[12,12],radius:[10,10],bg:"#FCF0D6",center:true}),scoreLabel:blockText({size:14,weight:600,lineHeight:18.9,color:"#4D4D4D"}),scoreTag:blockBox({w:63.125,h:20.188,padding:[2,6,2,6],marginTop:3,radius:[6,6],bg:"surface"}),scoreTagText:blockText({size:12,weight:600,lineHeight:16.2,tracking:.72,face:"mono",upper:true,marginTop:3,paddingTop:2}),scoreNums:blockBox({w:106.109,h:51.141,gap:[6,0],center:true}),scoreWas:blockText({size:17,weight:700,lineHeight:26.35,color:"muted",deco:"strike",decoThickness:1.5}),scoreArrow:blockBox({w:16,h:16,color:"muted"}),scoreArrowFlip:true,scoreNow:blockText({size:28,weight:700,lineHeight:28,tracking:-.84,tabular:true}),scoreOf:blockText({size:15,weight:700,lineHeight:15,color:"#4D4D4D",tabular:true}),scoreSince:blockText({size:13,weight:700,lineHeight:20.15,color:"ink",marginTop:3})},needPlan:{card:blockBox({w:329,h:380.172,padding:[16,16,16,16],marginTop:14,radius:[22,22],bg:"surface",shadow:{color:"rgba(38, 37, 35, 0.06)",x:0,y:1,blur:3,spread:0},color:"#262523"}),kicker:blockBox({w:297,h:24,gap:[8,8],center:true,color:"#262523"}),kickerText:blockText({size:15,weight:800,lineHeight:22.5,color:"#262523"}),source:blockBox({w:83.375,h:24,padding:[0,9,0,9],radius:[999,999],bg:"#F2F1EE",center:true,color:"#4A4845"}),sourceText:blockText({size:12,weight:700,lineHeight:18,color:"#4A4845"}),title:blockText({size:19,weight:800,lineHeight:23.18,color:"#262523",marginTop:12}),signal:blockBox({w:297,h:65.25,marginTop:6,gap:[9,9],color:"#4A4845"}),signalText:blockText({size:15,weight:400,lineHeight:21.75,color:"#4A4845"}),signalLead:blockText({size:15,weight:800,lineHeight:21.75,color:"#262523"}),dot:blockBox({w:9,h:9,radius:[4.5,4.5],bg:"#E5372B",color:"#4A4845",dy:-1}),score:blockBox({w:297,h:69.75,padding:[10,14,10,14],marginTop:12,gap:[12,12],radius:[14,14],bg:"planAccentWash",center:true,color:"#262523"}),scoreLabel:blockText({size:13.5,weight:600,lineHeight:18.225,color:"#4A4845",wrap:"balance"}),scoreTag:blockBox({w:51.609,h:17.5,padding:[2,6,2,6],marginTop:3,radius:[5,5],bg:"surface",color:"#262523"}),scoreTagText:blockText({size:10,weight:600,lineHeight:13.5,color:"#262523",tracking:.6,face:"mono",upper:true,wrap:"balance",marginTop:3,paddingTop:2}),scoreNums:blockBox({w:94.75,h:49.75,gap:[6,0],center:true,color:"#262523"}),scoreWas:blockText({size:17,weight:700,lineHeight:25.5,color:"#6B6863",deco:"strike"}),scoreArrow:blockBox({w:16,h:16,color:"#6B6863"}),scoreArrowFlip:true,scoreNow:blockText({size:28,weight:800,lineHeight:28,color:"#262523"}),scoreOf:blockText({size:13,weight:800,lineHeight:13,color:"muted"}),scoreSince:blockText({size:12.5,weight:700,lineHeight:18.75,color:"planLink",marginTop:3}),sources:blockBox({w:131.375,h:24,gap:[4,4],color:"#262523"}),sourceDna:blockBox({w:44,h:24,padding:[0,9,0,9],radius:[999,999],bg:"planLinkWash",center:true,color:"planLink"}),sourceDnaText:blockText({size:12,weight:700,lineHeight:18,color:"planLink"}),dotWatch:blockBox({w:9,h:9,radius:[4.5,4.5],bg:"#E5A000",color:"#4A4845",dy:-1}),dotClear:blockBox({w:9,h:9,radius:[4.5,4.5],bg:"#5FA82B",color:"#4A4845",dy:-1}),scoreLabelMax:135,says:blockBox({w:297,h:52,padding:[10,12,10,12],marginTop:12,gap:[10,10],radius:[14,14],bg:"#F8F7F4",color:"#262523"}),saysImg:blockBox({w:32,h:32,radius:[16,16],color:"#262523"}),saysText:blockText({size:14.5,weight:400,lineHeight:20.3,color:"#4A4845"}),saysBy:blockText({size:14.5,weight:800,lineHeight:20.3,color:"#262523"}),saysByGap:2,saysTag:blockBox({w:51.609,h:15,padding:[2,6,2,6],radius:[5,5],bg:"surface",color:"#262523"}),saysTagText:blockText({size:10,weight:400,lineHeight:14,color:"#262523",tracking:.6,face:"mono",upper:true,paddingTop:2}),saysBare:blockBox({w:297,h:81,padding:[10,12,10,12],marginTop:12,gap:[10,10],radius:[14,14],bg:"#F8F7F4",color:"#262523"}),saysKicker:blockText({size:17,weight:400,lineHeight:25.5,color:"#262523"}),saysSerif:blockText({size:17,weight:800,lineHeight:25.5,color:"#262523",tracking:-.17,wrap:"balance"}),jump:blockBox({w:297,h:60,padding:[8,14,8,8],marginTop:12,gap:[12,12],radius:[14,14],bg:"planInk",center:true,color:"planOnInk"}),jumpImg:blockBox({w:44,h:44,radius:[10,10],bg:"surface",color:"surface"}),jumpKicker:blockText({size:13,weight:800,lineHeight:19.5,color:"planAccent"}),jumpTitle:blockText({size:15,weight:800,lineHeight:18.75,color:"planOnInk"}),jumpGo:blockText({size:14,weight:800,lineHeight:21,color:"planOnInk"}),jumpPressScale:.98,more:blockBox({w:87.547,h:36,marginTop:6,marginBottom:-4,gap:[4,4],minHeight:36,center:true,color:"planLink"}),moreText:blockText({size:15,weight:800,lineHeight:22.5,color:"planLink"}),moreIcon:blockBox({w:16,h:16,color:"planLink"}),moreInset:16,moreTurn:{closed:90,open:-90},rep:blockBox({w:297,h:48.5,padding:[14,14,12,14],marginTop:10,radius:[16,16],bg:"#F8F7F4",color:"#262523"})},tip:{card:blockBox({w:201.5,h:275.031,padding:[8,10,10,10],radius:[20,20],bg:"#FCF0D6"}),tones:{y:"#FCF0D6",c:"tintBlue",g:"tintGo",r:"tintPink"},img:blockBox({w:181.5,h:113.438,radius:[10,10],bg:"#F3F3F3"}),n:blockBox({w:28,h:28,radius:[14,14],bg:"surface",center:true,x:8,y:8}),nText:blockText({size:14,weight:700,lineHeight:14}),title:blockText({size:16,weight:700,lineHeight:20,marginTop:10}),text:blockText({size:15,weight:400,lineHeight:21,color:"#4D4D4D",marginTop:4}),foot:blockBox({w:181.5,h:26.594,padding:[8,0,0,0],gap:[4,4],center:true,color:"ink"}),footText:blockText({size:12,weight:400,lineHeight:18.6,color:"ink",tracking:.48,face:"mono",upper:true,paddingTop:8}),footArrow:blockBox({w:14,h:14,color:"ink"}),footArrowFlip:true,pressScale:.98,bare:blockBox({w:181.5,h:42,padding:[2,0,0,0],center:true}),thumb:blockBox({w:40,h:40,radius:[10,10],bg:"surface",center:true}),thumbIcon:blockBox({w:22,h:22})},tipPhoto:{card:blockBox({w:221,h:152,padding:[8,8,12,8],radius:[20,20],bg:"#FCF0D6"}),tones:{y:"#FCF0D6",c:"#EEDCC8",g:"tintGo",r:"tintPink"},img:blockBox({w:205,h:102.5,radius:[10,10],bg:"#F3F3F3"}),imgAspect:2,n:blockBox({w:28,h:28,radius:[14,14],bg:"surface",center:true,x:8,y:8}),nText:blockText({size:14,weight:700,lineHeight:14}),title:blockText({size:15,weight:700,lineHeight:19.5,marginTop:10}),titleInset:4,pressScale:.98,bare:blockBox({w:205,h:42,padding:[2,0,0,0],center:true}),thumb:blockBox({w:40,h:40,radius:[10,10],bg:"surface",center:true}),thumbIcon:blockBox({w:22,h:22,color:"ink"})},tipWeb:{card:blockBox({w:226,h:172.047,gap:[10,10]}),img:blockBox({w:226,h:141.25,radius:[14,14]}),imgAspect:1.6,title:blockText({size:16,weight:700,lineHeight:20.8,wrap:"balance"}),coverRadius:10,row:{from:440,card:blockBox({w:400,h:80,padding:[6,0,6,0],gap:[10,10],minHeight:80,center:true}),img:blockBox({w:64,h:64,radius:[10,10]}),arrowColumn:18,arrow:blockBox({w:18,h:18,color:"ink"}),arrowTurn:180},phone:{upTo:639,card:blockBox({w:216,h:162.5,gap:[8,8]}),img:blockBox({w:216,h:135,radius:[14,14]}),imgAspect:1.6,title:blockText({size:15,weight:700,lineHeight:19.5,wrap:"balance"}),smallUpTo:359,smallW:208},mark:{tile:blockBox({w:226,h:141.25,radius:[14,14],bg:"#F5F5F5",center:true,color:"ink"}),icon:{share:.36,min:16,max:40,color:"ink"}},ring:{width:2,offset:2,color:"text"},hoverOffset:3},tipPlan:{card:blockBox({w:225.406,h:182.844,padding:[14,14,12,14],radius:[18,18],bg:"planAccentChip",color:"#262523"}),tones:{y:"planAccentChip",c:"planLinkChip",g:"#DDEFC4",r:"#FFD8D6"},top:blockBox({w:197.406,h:30,center:true,color:"#262523"}),nText:blockText({size:30,weight:900,lineHeight:30,color:"#262523"}),icon:blockBox({w:26,h:26,color:"#262523"}),title:blockText({size:17,weight:800,lineHeight:21.25,color:"#262523",marginTop:14}),text:blockText({size:14.5,weight:400,lineHeight:20.3,color:"#4A4845",marginTop:4}),foot:blockBox({w:197.406,h:25.75,padding:[10,0,0,0],color:"planLink"}),footText:blockText({size:10.5,weight:400,lineHeight:15.75,color:"planLink",tracking:.42,face:"mono",upper:true,paddingTop:10})},cartPlan:{line:blockBox({w:297,h:95.625,gap:[12,12],color:"#262523"}),img:blockBox({w:64,h:64,radius:[14,14],bg:"planLinkWash",center:true,color:"planLink"}),icon:blockBox({w:28,h:28,color:"planLink"}),name:blockText({size:16.5,weight:800,lineHeight:20.625,color:"#262523",wrap:"balance"}),prices:blockBox({w:221,h:24,marginTop:3,gap:[8,2],center:true,color:"#262523"}),price:blockText({size:16,weight:800,lineHeight:24,color:"#262523",tabular:true}),was:blockText({size:14,weight:600,lineHeight:21,color:"#6B6863",deco:"strike"}),small:blockText({size:14,weight:400,lineHeight:21,color:"#6B6863"}),acts:blockBox({w:221,h:40,marginTop:8,gap:[16,16],center:true,color:"#262523"}),step:blockBox({w:110,h:40,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#DAD7D1",ring:true},center:true,color:"#262523"}),remove:blockBox({w:56.422,h:40,minHeight:40,color:"#4A4845"}),removeText:blockText({size:14.5,weight:700,lineHeight:21.75,color:"#4A4845",deco:"underline",decoOffset:3,decoThickness:1.5})},cartBar:{bar:blockBox({w:361,h:66,padding:[8,8,8,10],gap:[10,10],minHeight:60,radius:[22,22],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.06)",x:0,y:1,blur:3,spread:0},center:true,x:16}),lift:{color:"rgba(0, 0, 0, 0.09)",x:0,y:10,blur:28,spread:0},thumbs:blockBox({w:88,h:44,padding:[0,4,0,0],center:true}),thumb:blockBox({w:40,h:40,radius:[12,12],bg:"#F3F3F3"}),thumbRing:2,thumbOverlap:18,imgInset:4,imgFit:"contain",imgBlend:"multiply",count:blockBox({w:20,h:20,padding:[0,5,0,5],radius:[10,10],bg:"text",center:true,color:"surface",x:72,y:-4}),countText:blockText({size:12,weight:700,lineHeight:12,color:"surface",tabular:true}),countAt:{top:-4,right:-4},sum:blockBox({w:130.656,h:35.688,gap:[2,2]}),total:blockText({size:17,weight:700,lineHeight:18.7,tracking:-.17,tabular:true}),sub:blockText({size:12,weight:400,lineHeight:15,color:"muted"}),go:blockBox({w:104.344,h:50,padding:[0,18,0,18],gap:[6,6],minHeight:50,radius:[999,999],bg:"pink",edge:{width:1,color:"ink",ring:true},center:true,color:"ink"}),goText:blockText({size:15,weight:700,lineHeight:23.25,color:"ink"}),pressScale:.97,hover:{color:"pink",share:.9,over:"text"},motion:{rise:{duration:240,from:24,fade:false},bump:{duration:240,scale:1.12,peakAt:.5,curve:"ease-out"}}},cartBarWeb:{bar:blockBox({w:600,h:68,padding:[10,10,10,14],gap:[14,14],minHeight:68,radius:[26,26],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.06)",x:0,y:1,blur:3,spread:0},center:true}),lift:{color:"rgba(0, 0, 0, 0.09)",x:0,y:10,blur:28,spread:0},thumbs:blockBox({w:102,h:44,padding:[0,6,0,0],center:true}),thumb:blockBox({w:44,h:44,padding:[4,4,4,4],radius:[12,12],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.14)",x:0,y:1,blur:3,spread:0},fit:"contain"}),thumbRing:2,thumbOverlap:18,imgInset:4,imgFit:"contain",imgBlend:"normal",count:blockBox({w:22,h:22,padding:[0,6,0,6],radius:[11,11],bg:"go",center:true,x:83,y:-5}),countText:blockText({size:12,weight:700,lineHeight:12,wrap:"auto",tabular:true}),countAt:{top:-5,right:-3},sum:blockBox({w:307.484,h:43.5,gap:[2,2]}),total:blockText({size:20,weight:700,lineHeight:22,color:"ink",tracking:-.2,tabular:true}),sub:blockText({size:15,weight:400,lineHeight:19.5}),go:blockBox({w:138.516,h:48,padding:[0,22,0,22],minHeight:48,radius:[999,999],bg:"ink",color:"surface"}),goText:blockText({size:17,weight:700,lineHeight:26.35,color:"surface",wrap:"auto"}),pressScale:.97,hover:{color:"ink",share:.86,over:"text"},motion:{rise:{duration:260,from:24,fade:true},bump:{duration:240,scale:1.1,peakAt:.5,curve:"out"}},phone:{upTo:559,bar:blockBox({w:335,h:79,padding:[8,8,8,10],gap:[10,10],minHeight:64,radius:[22,22],bg:"surface",center:true}),thumb:blockBox({w:40,h:40,padding:[4,4,4,4],radius:[12,12],bg:"surface",shadow:{color:"#FFFFFF",x:0,y:0,blur:0,spread:2},fit:"contain"}),go:blockBox({w:94.594,h:48,padding:[0,18,0,18],minHeight:48,radius:[999,999],bg:"ink",color:"surface"}),lastOnly:true,wordHidden:true}},why:{card:blockBox({w:393,h:655.609}),head:blockBox({w:393,h:126.328,padding:[4,16,12,16],gap:[12,12]}),pic:blockBox({w:64,h:64,radius:[10,10],bg:"#F3F3F3"}),packInset:.08,kind:blockText({size:12,weight:700,lineHeight:18.6,color:"ink",tracking:.72,face:"mono",upper:true}),title:blockText({size:22,weight:700,lineHeight:24.64,tracking:-.55,marginTop:2}),sub:blockText({size:14,weight:400,lineHeight:18.9,color:"#4D4D4D",marginTop:3}),close:blockBox({w:36,h:36,padding:[1,6,1,6],radius:[18,18],center:true,color:"ink"}),closeIcon:blockBox({w:20,h:20,color:"ink"}),body:blockBox({w:393,h:529.281,padding:[0,16,24,16],gap:[12,12]}),box:blockBox({w:361,h:169.281,padding:[14,14,14,14],radius:[20,20],bg:"tintPink"}),heading:blockText({size:17,weight:700,lineHeight:21.25}),rows:blockBox({w:333,h:110.031,marginTop:10,gap:[10,10]}),row:blockText({size:15,weight:400,lineHeight:21.75}),rowHead:blockText({size:12,weight:400,lineHeight:17.4,color:"ink",tracking:.48,face:"mono",upper:true}),secHeading:blockText({size:17,weight:700,lineHeight:21.25}),how:blockBox({w:361,h:49.5,marginTop:8,gap:[6,6]}),bullet:blockBox({w:361,h:21.75,gap:[8,8],color:"#4D4D4D"}),bulletText:blockText({size:15,weight:400,lineHeight:21.75,color:"#4D4D4D"}),bulletColumn:14,dot:{size:6,top:9,color:"ink"},para:blockText({size:15,weight:400,lineHeight:22.5,color:"#4D4D4D",marginTop:6}),acts:blockBox({w:361,h:98,gap:[2,2]}),btn:blockBox({w:361,h:52,padding:[0,20,0,20],gap:[8,8],minHeight:52,radius:[999,999],bg:"ink",center:true,color:"surface"}),btnText:blockText({size:16,weight:700,lineHeight:24.8,color:"surface"}),more:blockBox({w:164.891,h:44,padding:[0,12,0,12],minHeight:44,center:true,color:"ink"}),moreText:blockText({size:15,weight:700,lineHeight:23.25,color:"ink",deco:"underline",decoOffset:3,decoThickness:1.5}),tones:{calm:"tintBlue",y:"#FCF0D6",c:"#EEDCC8",g:"tintGo",r:"tintPink"},photoBg:"#F3F3F3",closeHover:"tintSage",pressScale:.97,hover:{color:"ink",share:.88,over:"surface"}},whyWeb:{card:blockBox({w:558,h:571.375}),head:blockBox({w:558,h:105.375,padding:[24,24,12,24],gap:[12,12]}),pic:blockBox({w:64,h:64,radius:[10,10],bg:"#F5F5F5"}),packInset:.08,kind:blockText({size:15,weight:700,lineHeight:19.5,color:"ink"}),title:blockText({size:22,weight:500,lineHeight:24.64,color:"ink",tracking:-.44,marginTop:2}),sub:blockText({size:15,weight:400,lineHeight:20.25,marginTop:3}),close:blockBox({w:40,h:40,padding:[1,6,1,6],radius:[20,20],center:true}),closeIcon:blockBox({w:20,h:20}),body:blockBox({w:558,h:466,padding:[0,24,24,24],gap:[22,22]}),box:blockBox({w:510,h:129}),heading:blockText({size:16,weight:700,lineHeight:20}),rows:blockBox({w:510,h:99,marginTop:10,gap:[12,12]}),row:blockText({size:15,weight:400,lineHeight:21.75}),rowHead:blockText({size:15,weight:700,lineHeight:21.75,color:"ink"}),secHeading:blockText({size:16,weight:700,lineHeight:20}),how:blockBox({w:510,h:49.5,marginTop:8,gap:[6,6]}),bullet:blockBox({w:510,h:21.75,gap:[8,8]}),bulletText:blockText({size:15,weight:400,lineHeight:21.75}),bulletColumn:14,dot:{size:6,top:9.75,color:"ink"},para:blockText({size:15,weight:400,lineHeight:22.5,marginTop:6}),acts:blockBox({w:510,h:92,gap:[2,2]}),btn:blockBox({w:510,h:46,padding:[0,20,0,20],gap:[8,8],minHeight:46,radius:[999,999],bg:"ink",center:true,color:"surface"}),btnText:blockText({size:17,weight:400,lineHeight:26.35,color:"surface",wrap:"auto"}),more:blockBox({w:164.891,h:44,padding:[0,12,0,12],minHeight:44,center:true,color:"ink"}),moreText:blockText({size:15,weight:700,lineHeight:23.25,color:"ink",wrap:"auto",deco:"underline",decoOffset:3,decoThickness:1.5}),photoBg:"surface",closeHover:"none",pressScale:.97,hover:{color:"ink",share:.88,over:"surface"},phone:{upTo:419,head:blockBox({w:341,h:145.031,padding:[24,24,12,24],gap:[10,10]}),pic:blockBox({w:48,h:48,radius:[10,10],bg:"#F5F5F5"}),title:blockText({size:20,weight:500,lineHeight:22.4,color:"ink",tracking:-.4,marginTop:2})}},whyPlan:{card:blockBox({w:329,h:323.109,padding:[12,14,12,14],radius:[16,16],edge:{width:1.5,color:"#262523",ring:true},color:"#262523"}),heading:blockText({size:10.5,weight:400,lineHeight:15.75,color:"#6B6863",tracking:.63,face:"mono",upper:true}),row:blockBox({w:301,h:59.688,marginTop:10,gap:[10,10],color:"#262523"}),chipColumn:58,chips:{dna:{box:blockBox({w:58,h:22,radius:[6,6],bg:"planLinkWash",center:true,color:"planLink"}),text:blockText({size:10.5,weight:700,lineHeight:15.75,color:"planLink",tracking:.42,face:"mono",upper:true})},record:{box:blockBox({w:58,h:22,radius:[6,6],bg:"#F2F1EE",center:true,color:"#4A4845"}),text:blockText({size:10.5,weight:700,lineHeight:15.75,color:"#4A4845",tracking:.42,face:"mono",upper:true})},ask:{box:blockBox({w:58,h:22,radius:[6,6],bg:"planAccentWash",center:true,color:"#262523"}),text:blockText({size:10.5,weight:700,lineHeight:15.75,color:"#262523",tracking:.42,face:"mono",upper:true})}},rowTitle:blockText({size:15,weight:800,lineHeight:19.5,color:"#262523"}),rowBody:blockText({size:14,weight:400,lineHeight:19.6,color:"#4A4845",marginTop:1}),score:blockBox({w:301,h:42.797,padding:[11,12,11,14],marginTop:12,gap:[8,8],radius:[12,12],bg:"planInk",center:true,color:"planOnInk"}),scoreText:blockText({size:14.5,weight:800,lineHeight:18.85,color:"planOnInk"}),scoreValue:blockText({size:16,weight:700,lineHeight:20.8,color:"planAccent",face:"mono"})},lights:{card:blockBox({w:325,h:134,marginTop:14}),head:blockBox({w:325,h:24,marginBottom:10,gap:[12,12],center:true}),lead:blockText({size:14,weight:400,lineHeight:18.2,color:"#3D3D3D"}),name:blockText({size:14,weight:700,lineHeight:18.2,color:"ink"}),pills:{better:{box:blockBox({w:66.094,h:24,padding:[0,10,0,10],minHeight:24,radius:[999,999],bg:"#D7F5E7",center:true,color:"ink"}),text:blockText({size:12,weight:700,lineHeight:12,color:"ink",tracking:.48,face:"mono"})},same:{box:blockBox({w:50.734,h:24,padding:[0,10,0,10],minHeight:24,radius:[999,999],bg:"#FBEED0",center:true,color:"ink"}),text:blockText({size:12,weight:700,lineHeight:12,color:"ink",tracking:.48,face:"mono"})},worse:{box:blockBox({w:58.406,h:24,padding:[0,10,0,10],minHeight:24,radius:[999,999],bg:"#F6EBDE",center:true,color:"#834D0D"}),text:blockText({size:12,weight:700,lineHeight:12,color:"#834D0D",tracking:.48,face:"mono"})}},viz:blockBox({w:325,h:56}),grid:{rows:10,gap:1.5,radius:1.5,widthShare:.6},zones:{lot:6.5,some:3.5},colors:{go:"go",some:"#E4BA55",lot:"#BC6E13"},src:blockBox({w:325,h:44,gap:[16,0],center:true}),srcBtn:blockBox({w:181.5,h:44,gap:[6,6],minHeight:44,center:true,color:"#4D4D4D"}),srcText:blockText({size:14,weight:400,lineHeight:21.7,color:"#4D4D4D"}),srcIcon:blockBox({w:16,h:16,color:"#5A6087"}),act:blockBox({w:221.172,h:44,padding:[0,20,0,20],marginTop:6,marginBottom:14,minHeight:44,radius:[999,999],bg:"surface",edge:{width:1.5,color:"ink",ring:true},center:true,color:"ink"}),actText:blockText({size:15,weight:700,lineHeight:23.25,color:"ink",marginTop:6})},checkin:{card:blockBox({w:393,h:179.25}),body:blockBox({w:393,h:99.25,padding:[0,16,24,16],gap:[24,24]}),question:blockText({size:17,weight:700,lineHeight:21.25}),picks:blockBox({w:361,h:96,marginTop:10,gap:[8,8]}),pick:blockBox({w:115,h:44,padding:[4,4,4,4],gap:[6,6],minHeight:44,radius:[999,999],bg:"surface",edge:{width:1,color:"ink",ring:false},center:true,color:"ink"}),pickText:blockText({size:15,weight:400,lineHeight:18,color:"ink",wrap:"balance",paddingTop:4}),pickOn:blockBox({w:115,h:44,padding:[4,4,4,4],gap:[6,6],minHeight:44,radius:[999,999],bg:"pink",edge:{width:1,color:"pink",ring:false},center:true,color:"ink"}),pickOnText:blockText({size:15,weight:700,lineHeight:18,color:"ink",wrap:"balance",paddingTop:4}),pickHover:{color:"pink",share:.3,over:"surface"},stepTop:16,row:blockBox({w:361,h:44,gap:[8,8],minHeight:44,center:true}),rowLabel:blockText({size:15,weight:400,lineHeight:18.75}),rowValue:blockText({size:15,weight:700,lineHeight:18.75}),rowIcon:blockBox({w:18,h:18,color:"ink"}),rowTurn:90,rowPressScale:.98,note:blockBox({w:361,h:60.594,padding:[10,12,10,12],marginTop:12,radius:[10,10],bg:"#FFE8E6"}),noteText:blockText({size:14,weight:400,lineHeight:20.3,marginTop:12,paddingTop:10}),noteLink:blockText({size:14,weight:700,lineHeight:20.3,deco:"underline",decoOffset:3}),done:blockText({size:15,weight:400,lineHeight:21,wrap:"balance",marginTop:12}),acts:blockBox({w:361,h:52,gap:[2,2]}),btn:blockBox({w:361,h:52,padding:[0,20,0,20],gap:[8,8],minHeight:52,radius:[999,999],bg:"ink",center:true,color:"surface"}),btnText:blockText({size:16,weight:700,lineHeight:24.8,color:"surface"})},weather:{card:blockBox({w:361,h:321.734,padding:[16,16,16,16],gap:[16,16],radius:[20,20],bg:"#FCF4E0"}),skies:{sun:"#FCF4E0",blue:"tintBlue"},now:blockBox({w:329,h:113.891,gap:[12,12],center:true}),temp:blockText({size:64,weight:700,lineHeight:60.8,color:"ink",tracking:-2.56,tabular:true}),cond:blockText({size:17,weight:700,lineHeight:22.1,color:"ink",marginTop:8}),hl:blockText({size:15,weight:400,lineHeight:21,tabular:true,marginTop:2}),glyph:blockBox({w:88,h:88}),walk:blockBox({w:329,h:159.844,padding:[12,16,12,16],gap:[4,4],radius:[10,10],bg:"surface"}),walkTitle:blockBox({w:297,h:22.094,gap:[8,8],center:true,color:"ink"}),walkTitleText:blockText({size:17,weight:700,lineHeight:22.1,color:"ink"}),walkText:blockText({size:15,weight:400,lineHeight:21.75}),lvl:blockBox({w:10,h:10,radius:[5,5],bg:"#77DDAC",color:"ink"}),levels:{good:"#77DDAC",ok:"#F4CF7A",hot:"#DC8F7C",storm:"#8DA4BB"},comfort:blockBox({w:297,h:32.5,padding:[12,0,0,0],marginTop:8,gap:[8,6],center:true}),comfortRule:{width:1,color:"line"},comfortLabel:blockText({size:13,weight:400,lineHeight:16.9,color:"muted"}),comfortValue:blockText({size:15,weight:700,lineHeight:19.5,color:"ink"}),bar:blockBox({w:82,h:8,gap:[3,3]}),pipOn:blockBox({w:14,h:8,radius:[2,2],bg:"#77DDAC"}),pipOff:blockBox({w:14,h:8,radius:[2,2],bg:"#F1F5F2"})},weatherSummary:{card:blockBox({w:361,h:265.484,padding:[24,16,24,16],radius:[20,20],bg:"#FCF4E0"}),glyph:blockBox({w:88,h:88}),temp:blockText({size:72,weight:700,lineHeight:68.4,color:"ink",tracking:-2.88,tabular:true,marginTop:8}),cond:blockText({size:17,weight:700,lineHeight:22.1,color:"ink",marginTop:8}),hl:blockText({size:15,weight:400,lineHeight:21,tabular:true,marginTop:2})},weatherTile:{card:blockBox({w:272,h:187.984,padding:[16,16,16,16],gap:[8,8],radius:[20,20],bg:"#F5F5F5"}),top:blockBox({w:240,h:24,gap:[8,8],center:true}),label:blockText({size:12,weight:700,lineHeight:15.6,color:"ink",tracking:.72,face:"mono",upper:true}),glyph:blockBox({w:36,h:36,marginTop:-6,marginBottom:-6}),glyphMargin:[-6,-4,-6,0],big:blockText({size:28,weight:700,lineHeight:30.8,color:"ink",tracking:-.56,tabular:true}),small:blockText({size:15,weight:700,lineHeight:16.5,color:"muted",tabular:true}),smallGap:4,meta:blockText({size:14,weight:400,lineHeight:19.6}),btn:blockBox({w:137.375,h:38,padding:[0,12,0,12],gap:[8,8],minHeight:38,radius:[999,999],bg:"ink",edge:{width:1.5,color:"ink",ring:false},center:true,color:"surface"}),btnText:blockText({size:15,weight:700,lineHeight:15,color:"surface"}),btnIcon:blockBox({w:20,h:20,color:"surface"})},weatherWeb:{card:blockBox({w:533.078,h:242,padding:[24,24,24,24],radius:[20,20],bg:"surface",edge:{width:1,color:"line",ring:false}}),head:blockBox({w:483.078,h:34,marginBottom:16,gap:[12,12],center:true}),city:blockText({size:24,weight:700,lineHeight:28.8,color:"ink",tracking:-.48,wrap:"auto"}),units:blockBox({w:78,h:34,padding:[2,2,2,2],radius:[999,999],edge:{width:1,color:"line",ring:false}}),unit:blockBox({w:36,h:28,minHeight:28,radius:[999,999],center:true,color:"muted"}),unitText:blockText({size:13,weight:700,lineHeight:20.15,color:"muted",wrap:"auto"}),unitOn:blockBox({w:36,h:28,minHeight:28,radius:[999,999],bg:"ink",center:true,color:"surface"}),unitOnText:blockText({size:13,weight:700,lineHeight:20.15,color:"surface",wrap:"auto"}),now:blockBox({w:483.078,h:88,gap:[24,12],center:true}),glyph:blockBox({w:88,h:88}),temp:blockText({size:51.2,weight:700,lineHeight:51.2,color:"ink",tracking:-1.536,wrap:"auto",tabular:true}),tempFluid:{min:44,vw:4,max:56},sky:blockText({size:15,weight:400,lineHeight:21,color:"muted",wrap:"auto",marginTop:6}),tags:blockBox({w:483.078,h:30,marginTop:24,gap:[8,8]}),tag:blockBox({w:123.75,h:30,padding:[0,14,0,14],gap:[8,8],minHeight:30,radius:[999,999],bg:"surface",edge:{width:1,color:"#F2C763",ring:false},center:true,color:"ink"}),tagText:blockText({size:13,weight:700,lineHeight:20.15,color:"ink",wrap:"auto"}),dot:7,hues:{red:"alert",yellow:"#F2C763",green:"go",blue:"#4E98C9",plain:"line",plainDot:"muted"},phone:{upTo:559,card:blockBox({w:335,h:272,padding:[18,18,18,18],radius:[20,20],bg:"surface",edge:{width:1,color:"line",ring:false}}),glyph:blockBox({w:64,h:64})}},weatherAlert:{card:blockBox({w:361,h:48,padding:[0,16,0,16],gap:[12,12],minHeight:48,radius:[10,10],bg:"#FBF1EE",center:true,color:"#6D1D14"}),icon:blockBox({w:20,h:20,color:"alert"}),title:blockText({size:15,weight:700,lineHeight:23.25,color:"#6D1D14"}),titleGap:6,text:blockText({size:15,weight:400,lineHeight:23.25,color:"#6D1D14"}),chev:blockBox({w:16,h:16,color:"#6D1D14"}),pressScale:.98},weatherDetails:{grid:blockBox({w:361,h:591.25,gap:[12,12]}),tile:blockBox({w:174.5,h:143.359,padding:[14,14,14,14],gap:[6,6],minHeight:120,radius:[20,20],bg:"surface",edge:{width:1,color:"line",ring:false}}),label:blockText({size:12,weight:700,lineHeight:15.6,color:"muted",tracking:.72,face:"mono",upper:true}),labelGap:6,icon:blockBox({w:16,h:16,color:"ink"}),chev:blockBox({w:14,h:14,color:"muted"}),value:blockText({size:28,weight:700,lineHeight:30.8,color:"ink",tracking:-.56,tabular:true}),valueGap:6,unit:blockText({size:15,weight:700,lineHeight:16.5,color:"ink",tabular:true}),note:blockText({size:13,weight:400,lineHeight:18.2}),pressScale:.98},weatherHours:{cell:blockBox({w:54,h:100,padding:[2,0,0,0],gap:[4,4],center:true}),column:54,rows:[18,32,16,20,6],time:blockText({size:13,weight:400,lineHeight:15.6,color:"muted"}),timeNow:blockText({size:13,weight:700,lineHeight:15.6,color:"ink"}),glyph:blockBox({w:32,h:32}),icon:blockBox({w:24,h:24,color:"#926F06"}),chance:blockText({size:12,weight:700,lineHeight:12,color:"#1E7AB7",face:"mono"}),temp:blockText({size:15,weight:700,lineHeight:18,color:"ink",tabular:true}),quiet:blockText({size:13,weight:400,lineHeight:15.6,color:"muted",tabular:true}),bar:blockBox({w:52,h:6,radius:[3,3],bg:"#77DDAC"}),barInset:1,levels:{good:"#77DDAC",ok:"#F4CF7A",hot:"#DC8F7C",storm:"#8DA4BB"},windows:blockBox({w:327,h:76.594,marginBottom:12,gap:[8,8]}),window:blockBox({w:159.5,h:76.594,padding:[10,12,10,12],gap:[2,2],radius:[10,10],bg:"tintGo"}),windowTitle:blockText({size:15,weight:700,lineHeight:19.5,color:"ink",tabular:true}),windowText:blockText({size:13,weight:400,lineHeight:17.55}),legend:blockBox({w:327,h:18.188,marginTop:12,gap:[14,4],color:"muted"}),legendItem:blockBox({w:47.813,h:18.188,gap:[6,6],center:true,color:"muted"}),legendText:blockText({size:13,weight:400,lineHeight:18.2,color:"muted",marginTop:12}),legendDot:blockBox({w:10,h:10,radius:[5,5],bg:"#77DDAC",color:"muted"})},weatherForecast:{row:blockBox({w:327,h:48,gap:[8,8],minHeight:48,center:true}),rule:{width:1,color:"line"},columns:[48,32,30,155,30],walkColumns:[42,30,28,73,28,86],day:blockText({size:15,weight:700,lineHeight:18,color:"ink"}),sky:blockBox({w:32,h:30,gap:[1,1]}),glyph:blockBox({w:30,h:30}),chance:blockText({size:12,weight:700,lineHeight:12,color:"#1E7AB7",face:"mono"}),low:blockText({size:14,weight:400,lineHeight:14,color:"muted",face:"mono",tabular:true}),high:blockText({size:14,weight:400,lineHeight:14,color:"ink",face:"mono",tabular:true}),bar:blockBox({w:155,h:6,radius:[3,3],bg:"#F1F5F2"}),fill:blockBox({w:99.203,h:6,radius:[3,3],bg:"#DDB44F",x:23.25}),tag:blockBox({w:42.016,h:24,padding:[0,10,0,10],minHeight:24,radius:[999,999],bg:"#FCF0D6",edge:{width:1,color:"tintYellowEdge",ring:true},center:true,color:"ink"}),tagText:blockText({size:12,weight:700,lineHeight:14.4,color:"ink"}),tags:{good:{bg:"tintGo",ring:"#8FE3BB",ringWidth:1,color:"ink"},ok:{bg:"#FCF0D6",ring:"tintYellowEdge",ringWidth:1,color:"ink"},warn:{bg:"#FBF1EE",ring:"#E9B8AB",ringWidth:1,color:"#6D1D14"},rain:{bg:"tintBlue",ring:"#AFD1E7",ringWidth:1,color:"ink"}}},weatherLevels:{phone:{list:blockBox({w:361,h:140,marginTop:16,marginBottom:16,gap:[12,12]}),row:blockBox({w:361,h:26,gap:[8,8],center:true}),columns:[24,56,185,72],icon:blockBox({w:26,h:26}),name:blockText({size:15,weight:400,lineHeight:23.25}),bar:blockBox({w:185,h:8,radius:[999,999],bg:"#ECECEC"}),fills:{high:"#B67A3F",mid:"#F2C763",low:"ink"},level:{high:blockText({size:13,weight:700,lineHeight:20.15,color:"#A05E32",face:"mono"}),mid:blockText({size:13,weight:400,lineHeight:20.15,color:"#A05E32",face:"mono"}),low:blockText({size:13,weight:400,lineHeight:20.15,color:"muted",face:"mono"})}},web:{list:blockBox({w:344.891,h:140,marginTop:16,marginBottom:16,gap:[12,12]}),row:blockBox({w:344.891,h:26,gap:[12,12],center:true}),columns:[26,64,138.891,80],icon:blockBox({w:26,h:26}),name:blockText({size:15,weight:400,lineHeight:23.25,wrap:"auto"}),bar:blockBox({w:138.891,h:8,radius:[999,999],bg:"#ECECEC"}),fills:{high:"#B67A3F",mid:"#F2C763",low:"ink"},level:{high:blockText({size:13,weight:700,lineHeight:20.15,color:"#A05E32",face:"mono",wrap:"auto"}),mid:blockText({size:13,weight:400,lineHeight:20.15,color:"#A05E32",face:"mono",wrap:"auto"}),low:blockText({size:13,weight:400,lineHeight:20.15,color:"muted",face:"mono",wrap:"auto"})}},webPhoneUpTo:559},weatherReading:{phone:{body:blockBox({w:361,h:88.344,gap:[12,12]}),gap:12,picks:blockBox({w:361,h:36,gap:[10,10]}),on:blockBox({w:103.016,h:36,padding:[0,12,0,12],gap:[6,6],minHeight:36,radius:[999,999],bg:"pink",edge:{width:1,color:"pink",ring:false},center:true,color:"ink"}),onText:blockText({size:15,weight:700,lineHeight:19.5,color:"ink"}),off:blockBox({w:86.875,h:36,padding:[0,12,0,12],gap:[6,6],minHeight:36,radius:[999,999],bg:"surface",edge:{width:1,color:"ink",ring:false},center:true,color:"ink"}),offText:blockText({size:15,weight:400,lineHeight:19.5,color:"ink"}),check:blockBox({w:16,h:16,color:"ink"}),read:blockBox({w:361,h:40.344,gap:[12,0]}),value:blockText({size:36,weight:700,lineHeight:37.8,color:"ink",tracking:-.72,tabular:true}),word:blockText({size:17,weight:700,lineHeight:26.35,color:"alert",tracking:.34,face:"mono",upper:true})},web:{body:blockBox({w:344.891,h:140.344}),gap:16,picks:blockBox({w:344.891,h:82,marginTop:16,marginBottom:16,gap:[10,10]}),on:blockBox({w:107.016,h:36,padding:[0,14,0,14],gap:[6,6],minHeight:36,radius:[999,999],bg:"pink",edge:{width:1,color:"pink",ring:false},center:true,color:"ink"}),onText:blockText({size:15,weight:700,lineHeight:19.5,color:"ink",wrap:"auto"}),off:blockBox({w:90.875,h:36,padding:[0,14,0,14],gap:[6,6],minHeight:36,radius:[999,999],bg:"surface",edge:{width:1,color:"ink",ring:false},center:true,color:"ink"}),offText:blockText({size:15,weight:400,lineHeight:19.5,color:"ink",wrap:"auto"}),check:blockBox({w:16,h:16,color:"ink"}),read:blockBox({w:344.891,h:42.344,gap:[12,0]}),value:blockText({size:38.4,weight:700,lineHeight:40.32,color:"ink",tracking:-.768,wrap:"auto",tabular:true}),word:blockText({size:17,weight:700,lineHeight:26.35,color:"#A05E32",tracking:.34,face:"mono",upper:true,wrap:"auto"})},fluid:{min:36,vw:3,max:44},tones:{good:"#0C844B",ok:"#A05E32",low:"alert"}}};function deepFreeze(value){if(value!==null&&typeof value=="object"&&!Object.isFrozen(value))for(let v of Object.values(value))deepFreeze(v);return value}var k=everfurTokens,PRESET=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#preset@v1");function asPreset(theme){return Object.defineProperty(theme,PRESET,{value:theme,enumerable:true}),deepFreeze(theme)}var SCALE_CAPS={content:0,heading:2,control:1.8,compact:1.5,badge:1.3},everfurTheme=asPreset({name:"everfur",colors:{bg:k.color.bg,surface:k.color.efWhite,text:k.color.text,ink:k.role.color.ink,onInk:k.color.efWhite,muted:k.role.color.muted,line:k.role.color.line,go:k.role.color.go,onGo:k.role.color.ink,pink:k.color.efDustyPink,onPink:k.role.color.ink,alert:k.color.alert,alertDeep:k.color.alertDeep,icoSage:k.role.color.icoSage,bgMist:k.color.bgMist,tintSage:k.role.color.tintSage,tintBlue:k.role.color.tintBlue,tintGo:k.role.color.tintGo,tintPink:k.role.color.tintPink,tintYellowEdge:k.role.color.tintYellowEdge,tintWatch:everfurMetrics.colors.watch,tintRed:k.role.color.tintRed,scrim:everfurMetrics.colors.scrim,grab:everfurMetrics.colors.grab,focus:k.role.color.ink,planInk:everfurMetrics.colors.planInk,planOnInk:everfurMetrics.colors.planOnInk,planAccent:everfurMetrics.colors.planAccent,planLink:everfurMetrics.colors.planLink,planAccentWash:everfurMetrics.colors.planAccentWash,planAccentChip:everfurMetrics.colors.planAccentChip,planLinkWash:everfurMetrics.colors.planLinkWash,planLinkChip:everfurMetrics.colors.planLinkChip},radius:{...k.radius},space:{...k.space},type:{family:k.font.family.base,mono:k.font.family.mono,faces:{regular:"Azeret-Regular",medium:"Azeret-Medium",bold:"Azeret-Bold",mono:"AzeretMono-Regular",monoBold:"AzeretMono-Bold"},namedFaces:true,size:{xs:k.font.size.xs,sm:k.font.size.sm,md:k.font.size.md,lg:k.font.size.lg,xl:k.font.size.xl},weight:{...k.font.weight},lineHeight:{...k.font.lineHeight},scaleCaps:SCALE_CAPS},motion:{duration:{press:k.motion.duration.press,fade:k.motion.duration.fade,enter:k.motion.duration.enter,sheet:k.motion.duration.sheet,sheetOut:k.motion.duration.sheetOut},easing:{out:k.motion.easing.out,drawer:k.motion.easing.drawer},pop:{duration:k.motion.duration.enter,from:.95,peakAt:.55,amplitude:.035,switchAmplitude:.06},reduced:false},metrics:everfurMetrics});function presetOf(theme){return theme[PRESET]??everfurTheme}function isObject(v){return v!==null&&typeof v=="object"&&!Array.isArray(v)}function merge(base,over){if(!isObject(base)||!isObject(over))return over===void 0?base:over;let out={...base};for(let[key,value]of Object.entries(over))value!==void 0&&(out[key]=merge(base[key],value));return out}function resolveTheme(partial,base=everfurTheme){if(!partial)return base;let merged=merge(base,partial),given=partial.colors;if(given){let colors=merged.colors;for(let[wash,from,share]of PLAN_WASHES){let c=given[from];c!==void 0&&given[wash]===void 0&&(colors[wash]=mixHex(c,share,colors.surface)??colors[wash]??c)}}return deepFreeze(merged)}var PLAN_WASHES=[["planAccentWash","planAccent",.17],["planAccentChip","planAccent",.47],["planLinkWash","planLink",.12],["planLinkChip","planLink",.2]];function mixHex(color,share,ground){let ch=v=>{let m=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(v??"");return m?[m[1],m[2],m[3]].map(h=>parseInt(h,16)):void 0},[c,g]=[ch(color),ch(ground)];if(!(!c||!g))return`#${c.map((v,i)=>Math.round(v*share+(g[i]??0)*(1-share)).toString(16).padStart(2,"0")).join("").toUpperCase()}`}var ThemeContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#ThemeContext@v1"),host=globalThis,context=host[key]??(host[key]=createContext(null));return context.displayName??(context.displayName="EverfurThemeContext"),context})();function ThemeProvider({theme:theme,children:children}){let outer=useTheme(),key=theme===void 0||isComplete(theme)?theme:contentKey(theme),value=useMemo(()=>isComplete(theme)?filled(theme):resolveTheme(theme,outer),[key,outer]);return createElement(ThemeContext.Provider,{value:value},children)}function contentKey(value){return JSON.stringify(value,(_,v)=>isObject(v)&&!Array.isArray(v)?Object.fromEntries(Object.keys(v).sort().map(k2=>[k2,v[k2]])):v)}function isComplete(theme){return theme!==void 0&&Object.isFrozen(theme)&&GROUPS.every(g=>g in theme)}var GROUPS=["name","colors","radius","space","type","motion","metrics"];function hasEvery(shape,value){if(shape===void 0)return true;if(!isObject(shape))return value!==void 0;if(!isObject(value))return false;for(let key of Object.keys(shape))if(!hasEvery(shape[key],value[key]))return false;return true}var fills=/* @__PURE__ */new WeakMap;function filled(theme){let hit=fills.get(theme);if(hit)return hit;if(hasEvery(everfurTheme,theme))return fills.set(theme,theme),theme;let preset=presetOf(theme),merged=merge(everfurTheme,preset===everfurTheme?theme:merge(preset,theme));merged[PRESET]=preset;let out=deepFreeze(merged);return fills.set(theme,out),out}function useTheme(){let explicit=useContext(ThemeContext);return explicit?filled(explicit):everfurTheme}var px=n=>Math.round(n*1e3)/1e3;function faceOf(weight,mono=false){return mono?weight>450?"monoBold":"mono":weight>500?"bold":weight>450?"medium":"regular"}function withAlpha(color,alpha){let m=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(color);if(!m)return color;let[r,g,b]=[m[1],m[2],m[3]].map(h=>parseInt(h,16));return`rgba(${r}, ${g}, ${b}, ${alpha})`}function channelsOf(color){let hex=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(color);if(hex)return[hex[1],hex[2],hex[3]].map(h=>parseInt(h,16));let rgb=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/i.exec(color);return rgb?[rgb[1],rgb[2],rgb[3]].map(Number):void 0}function mixColor(color,share,base,fallback){let[c,b]=[channelsOf(color),channelsOf(base)];return!c||!b?fallback:`rgb(${c.map((v,i)=>Math.round(v*share+(b[i]??0)*(1-share))).join(", ")})`}function colorOf(t,value){let m=/^([a-zA-Z]+)(?:\/([\d.]+))?$/.exec(value),role=m?.[1];if(!m||role===void 0||!(role in t.colors))return value;let c=t.colors[role];return m[2]===void 0?c:withAlpha(c,Number(m[2]))}function fillOf(t,value){return value==="none"?"transparent":colorOf(t,value)}var DISABLED_OPACITY=.45;function buttonSpec(t,tone,size,inSheet=false){let b=t.metrics.button;if(tone==="text"){let m2=b.text;return{minHeight:0,paddingX:0,gap:b.ink.gap,radius:0,borderWidth:0,borderColor:"transparent",background:"transparent",iconSize:b.inkSm.iconSize,text:{size:m2.fontSize,weight:m2.fontWeight,lineHeight:px(m2.fontSize*m2.lineHeight),color:colorOf(t,m2.color)},pressScale:1,pressOpacity:m2.pressOpacity,disabledOpacity:b.blockedOpacity??DISABLED_OPACITY,fill:false,ring:false}}let v=t.metrics.variants.button,compact=isCompactSize(size),edged=tone==="outline"||tone==="danger"||tone==="warn",m=compact?{...size==="compactSm"?v.sm:size==="compactLg"?v.lg:v.ink,borderWidth:edged?v.outline.borderWidth:0,ring:v.outline.ring}:size==="row"?b.row:tone==="danger"?b.danger:size==="sm"?b[`${tone}Sm`]:b[tone],c=t.colors,own=tone==="money"||tone==="warn"?b[tone]:void 0,paint={ink:{bg:c.ink,fg:c.onInk,edge:c.ink},go:{bg:c.go,fg:c.onGo,edge:c.ink},outline:{bg:"transparent",fg:c.ink,edge:c.ink},pink:{bg:c.pink,fg:c.onPink,edge:c.ink},danger:{bg:c.surface,fg:c.alert,edge:c.alert}},p=own?{bg:fillOf(t,own.bg),fg:colorOf(t,own.fg),edge:colorOf(t,own.edgeColor)}:paint[tone],weight=tone==="outline"&&inSheet&&!compact?b.outlineInSheetWeight:m.fontWeight;return{minHeight:m.minHeight,paddingX:m.paddingX,gap:m.gap,radius:t.radius.pill,borderWidth:m.borderWidth,borderColor:p.edge,background:p.bg,iconSize:m.iconSize,text:{size:m.fontSize,weight:weight,lineHeight:px(m.fontSize*m.lineHeight),color:p.fg},pressScale:t.motion.reduced?1:compact?v.press:t.metrics.press.button,pressOpacity:1,disabledOpacity:compact?v.disabledOpacity:b.blockedOpacity??DISABLED_OPACITY,fill:m.fill,ring:m.ring}}function isCompactSize(size){return size==="compact"||size==="compactSm"||size==="compactLg"}function pillSpec(t,tone){let m=t.metrics.pill,p=m.tones[tone],fg=tone==="clear"?t.colors.ink:colorOf(t,p.fg);return{minHeight:m.minHeight,paddingX:m.paddingX,radius:t.radius.pill,background:colorOf(t,p.bg),ring:p.ring>0?{width:p.ring,color:colorOf(t,p.ringColor)}:null,dot:tone==="new"?{size:m.dot,gap:m.dotGap,color:t.colors.go}:tone==="allergy"?{size:m.allergyDot.size,gap:m.allergyDot.gap,color:colorOf(t,m.allergyDot.color)}:null,text:{size:m.fontSize,weight:m.fontWeight,lineHeight:px(m.fontSize*m.lineHeight),color:fg,mono:m.mono,tracking:m.letterSpacing,upper:m.upper}}}function sheetTitleSpec(t,narrow){let m=t.metrics.sheet,size=m.titleSize,lineHeight=m.titleLineHeight??t.metrics.card.titleLineHeight;return{size:size,weight:m.titleWeight??t.metrics.card.titleWeight,lineHeight:px(size*lineHeight),color:colorOf(t,m.titleColor??"ink"),tracking:m.titleTracking??t.metrics.card.titleTracking}}function textSpecs(t){let m=t.metrics,c=t.colors;return{cardTitle:{size:m.card.titleSize,weight:m.card.titleWeight,lineHeight:px(m.card.titleSize*m.card.titleLineHeight),color:c.ink,tracking:m.card.titleTracking},cardLead:{size:m.card.leadSize,weight:t.type.weight.regular,lineHeight:px(m.card.leadSize*m.card.leadLineHeight),color:c.text},body:{size:m.card.bodySize,weight:t.type.weight.regular,lineHeight:px(m.card.bodySize*m.card.bodyLineHeight),color:c.text},kicker:{size:m.kicker.fontSize,weight:m.kicker.fontWeight,lineHeight:px(m.kicker.fontSize*m.kicker.lineHeight),color:c.muted,mono:true,tracking:m.kicker.letterSpacing,upper:true},sheetTitle:sheetTitleSpec(t),stepperValue:{size:m.quantityStepper.valueSize,weight:m.quantityStepper.valueWeight,lineHeight:px(m.quantityStepper.valueSize*m.quantityStepper.valueLineHeight),color:colorOf(t,m.quantityStepper.valueColor??"text")},tab:{size:m.tabs.fontSize,weight:m.tabs.fontWeight,lineHeight:px(m.tabs.fontSize*m.tabs.lineHeight),color:c.muted},tabCurrent:{size:m.tabs.fontSize,weight:m.tabs.currentWeight,lineHeight:px(m.tabs.fontSize*m.tabs.lineHeight),color:c.ink},emptyTitle:{size:m.empty.titleSize,weight:m.empty.titleWeight,lineHeight:px(m.empty.titleSize*m.empty.titleLineHeight),color:c.ink,tracking:m.empty.titleTracking},emptyLead:{size:m.empty.leadSize,weight:t.type.weight.regular,lineHeight:px(m.empty.leadSize*m.empty.leadLineHeight),color:c.text},emptyLink:{size:m.empty.linkSize,weight:m.empty.linkWeight,lineHeight:px(m.empty.linkSize*m.card.bodyLineHeight),color:c.ink},sumTerm:{size:m.summary.termSize,weight:t.type.weight.regular,lineHeight:px(m.summary.termSize*m.summary.termLineHeight),color:c.muted},sumValue:{size:m.summary.valueSize,weight:m.summary.valueWeight,lineHeight:px(m.summary.valueSize*m.summary.valueLineHeight),color:c.ink},sumTotal:{size:m.summary.totalSize,weight:m.summary.valueWeight,lineHeight:px(m.summary.totalSize*m.summary.totalLineHeight),color:c.ink}}}function quantityStepperSpec(t){let m=t.metrics.quantityStepper;return{edge:{width:m.borderWidth,color:colorOf(t,m.borderColor),inset:m.ring},button:m.button,icon:m.icon,valueMinWidth:m.valueMinWidth,fill:fillOf(t,m.fill??"none"),glyph:colorOf(t,m.glyph??"ink"),off:{color:colorOf(t,m.offColor),opacity:m.offOpacity}}}function textPartSpec(t,p){return{size:p.size,weight:p.weight,lineHeight:p.lineHeight,color:colorOf(t,p.color),...p.face==="mono"?{mono:true}:{},...p.face==="serif"?{serif:true}:{},...p.tracking?{tracking:p.tracking}:{},...p.upper?{upper:true}:{},...p.deco==="none"?{}:{deco:p.deco==="strike"?"strike":"underline",decoOffset:p.decoOffset,decoThickness:p.decoThickness},...p.tabular?{tabular:true}:{},...p.wrap==="auto"?{}:{wrap:p.wrap==="balance"?"balance":"pretty"}}}function partFill(t,value){return value==="none"?void 0:colorOf(t,value)}function summarySpec(t){let m=t.metrics.summary,lh=(size,ratio)=>px(size*ratio);return{paddingX:m.paddingX,paddingY:m.paddingY,radius:m.radius,borderWidth:m.borderWidth,borderColor:t.colors.line,background:colorOf(t,m.background),shadow:m.shadow,row:{paddingY:m.rowPaddingY,minHeight:m.rowMinHeight,gapX:m.rowGapX,gapY:m.rowGapY,divider:m.rowDivider,center:m.rowCenter},totalRowMinHeight:m.totalRowMinHeight,gap:m.gap??0,totalMarginTop:m.totalMarginTop??0,tabular:m.tabular,term:{size:m.termSize,weight:t.type.weight.regular,lineHeight:lh(m.termSize,m.termLineHeight),color:colorOf(t,m.termColor)},value:{size:m.valueSize,weight:m.valueWeight,lineHeight:lh(m.valueSize,m.valueLineHeight),color:colorOf(t,m.valueColor)},totalTerm:{size:m.totalTermSize,weight:m.totalTermWeight,lineHeight:lh(m.totalTermSize,m.termLineHeight),color:colorOf(t,m.totalTermColor)},total:{size:m.totalSize,weight:m.totalWeight,lineHeight:lh(m.totalSize,m.totalLineHeight),color:colorOf(t,m.valueColor)},off:textPartSpec(t,t.metrics.summary.off)}}function skeletonWidth(t,index){let widths=t.metrics.skeleton.widths;return`${widths[index%widths.length]}%`}function clampStep(value,min,max){return Math.max(min,max===void 0?value:Math.min(max,value))}function itemTestID(parent,key,own){return own!==void 0?own:parent===void 0?void 0:`${parent}-${key}`}var nums=group=>group,isBox=v=>"edge"in v&&"shadow"in v&&"fit"in v,isText=v=>"deco"in v&&"face"in v&&"tabular"in v;function byValue(group){let out=/* @__PURE__ */new Map;for(let[k2,v]of Object.entries(group))out.has(v)||out.set(v,k2);return out}var groups,derived=/* @__PURE__ */new WeakMap;function tokenOf(map,theme,v){let k2=map.get(v),t=k2===void 0?void 0:theme[k2];return typeof t=="number"?t:v}function blocksMetrics(theme){let base=everfurBlocksMetrics,p=everfurTheme;if(theme.space===p.space&&theme.radius===p.radius&&theme.type.size===p.type.size&&theme.type.weight===p.type.weight)return base;let hit=derived.get(theme);if(hit)return hit;groups??(groups={space:byValue(nums(p.space)),radius:byValue(nums(p.radius)),size:byValue(nums(p.type.size)),weight:byValue(nums(p.type.weight))});let g=groups,space=v=>tokenOf(g.space,nums(theme.space),v),radius=v=>tokenOf(g.radius,nums(theme.radius),v),walk=v=>Array.isArray(v)?v.map(walk):v===null||typeof v!="object"?v:isBox(v)?{...v,padding:v.padding.map(space),gap:v.gap.map(space),marginTop:space(v.marginTop),marginBottom:space(v.marginBottom),radius:v.radius.map(radius)}:isText(v)?{...v,size:tokenOf(g.size,nums(theme.type.size),v.size),weight:tokenOf(g.weight,nums(theme.type.weight),v.weight),marginTop:space(v.marginTop),paddingTop:space(v.paddingTop)}:Object.fromEntries(Object.entries(v).map(([k2,x])=>[k2,walk(x)])),out=walk(base);return derived.set(theme,out),out}var UiSurfaceContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#SurfaceContext@v1"),host=globalThis;return host[key]??(host[key]=createContext(null))})();function useUiSurface(){return useContext(UiSurfaceContext)}var TEXT_VARIANT_TIERS={display:"heading",headline:"heading",title:"heading",heading:"heading",body:"content",lead:"content",label:"control",meta:"compact",caption:"content",overline:"compact",kicker:"compact"};function textToneColor(t,tone){let c=t.colors;switch(tone){case"ink":return c.ink;case"text":return c.text;case"muted":return c.muted;case"danger":return c.alertDeep;case"inverse":return c.onInk;default:return}}function textVariantSpec(t,variant,tone,weight){let base=textPartSpec(t,t.metrics.text[variant]),color=textToneColor(t,tone);return{...base,...color?{color:color}:{},...weight?{weight:t.type.weight[weight]}:{}}}var PressFeedbackContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#PressFeedbackContext@v1"),host=globalThis,context=host[key]??(host[key]=createContext(null));return context.displayName??(context.displayName="EverfurPressFeedbackContext"),context})();function usePressFeedback(){return useContext(PressFeedbackContext)}function pressHandlers(feedback,event,onPress,options={}){if(!feedback||options.disabled)return{onPress:onPress,onPressIn:void 0};let{onPressIn:reportIn,onPress:report,haptic:haptic}=feedback,tick=options.haptics!==false&&event.haptic&&haptic?haptic:void 0;return{onPress:onPress&&(report||tick)?()=>{tick?.(event),report?.(event),onPress()}:onPress,onPressIn:reportIn?()=>reportIn(event):void 0}}function pressScaleFor(feedback,component,designScale=1){return feedback?.pressScale?.[component]??designScale}var TEXT_VARIANT_BREAKS={display:"balance",headline:"balance",title:"balance",heading:"balance",body:"pretty",lead:"pretty",meta:"pretty",caption:"pretty",label:"auto",overline:"auto",kicker:"auto"};function textVariantTier(t,variant){return t.type.variantTiers?.[variant]??TEXT_VARIANT_TIERS[variant]}var ReducedMotionContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-native#ReducedMotionContext@v1"),host=globalThis,context=host[key]??(host[key]=createContext(null));return context.displayName??(context.displayName="EverfurReducedMotionContext"),context})();function useKnownReducedMotion(){return useContext(ReducedMotionContext)}function rnText(t,spec){let face2=faceOf(spec.weight,spec.mono===true);return{fontFamily:spec.serif?t.type.faces.serif??t.type.faces.bold:t.type.faces[face2],...t.type.namedFaces?{}:{fontWeight:String(spec.weight)},fontSize:spec.size,lineHeight:spec.lineHeight,color:spec.color,...spec.tracking?{letterSpacing:spec.tracking}:{},...spec.upper?{textTransform:"uppercase"}:{},...spec.deco?rnDeco(spec):{},...spec.tabular?{fontVariant:["tabular-nums"]}:{},...spec.wrap&&Platform.OS==="web"?{textWrap:spec.wrap}:{}}}function rnDeco(spec){let base={textDecorationLine:spec.deco==="strike"?"line-through":"underline"};return Platform.OS!=="web"?base:{...base,...spec.decoOffset?{textUnderlineOffset:spec.decoOffset}:{},...spec.decoThickness?{textDecorationThickness:spec.decoThickness}:{}}}function rnBox(t,b){let[pt=0,pr=0,pb=0,pl=0]=b.padding,[rt=0,rb=0]=b.radius,fill=partFill(t,b.bg);return{paddingTop:pt,paddingRight:pr,paddingBottom:pb,paddingLeft:pl,...b.marginTop?{marginTop:b.marginTop}:{},...b.gap[0]?{columnGap:b.gap[0]}:{},...b.gap[1]?{rowGap:b.gap[1]}:{},...rt===rb?rt?{borderRadius:rt}:{}:{borderTopLeftRadius:rt,borderTopRightRadius:rt,borderBottomLeftRadius:rb,borderBottomRightRadius:rb},...fill?{backgroundColor:fill}:{},...b.edge.width>0&&!b.edge.ring?{borderWidth:b.edge.width,borderColor:colorOf(t,b.edge.color)}:{},...b.minHeight?{minHeight:b.minHeight}:{},...rnShadow(b.shadow)}}function rnRing(t,b){return b.edge.width>0&&b.edge.ring?ringOverlay(b.edge.width,colorOf(t,b.edge.color),b.radius[0]??0):null}function webReducedMotion(){if(Platform.OS!=="web")return false;let g=globalThis;return typeof g.matchMedia=="function"&&g.matchMedia("(prefers-reduced-motion: reduce)").matches}function useOsReducedMotion(known){let[reduced,setReduced]=useState(()=>known===null&&webReducedMotion());return useEffect(()=>{if(known!==null)return;let mounted=true,query=AccessibilityInfo?.isReduceMotionEnabled;if(typeof query=="function"){let result=query.call(AccessibilityInfo);result!=null&&typeof result.then=="function"&&result.then(value=>{mounted&&setReduced(value===true)},()=>{})}let subscription=AccessibilityInfo?.addEventListener?.("reduceMotionChanged",value=>setReduced(value===true));return()=>{mounted=false,subscription?.remove?.()}},[known]),known??reduced}function useRnReduced(t){let os=useOsReducedMotion(useKnownReducedMotion());return t.motion.reduced||os}function ariaState(expanded,pressed,current){return{...expanded===void 0?{}:{expanded:expanded},...pressed===void 0?{}:{checked:pressed},...current===void 0?{}:{selected:current!==false}}}function slopFor(size){let pad=Math.max(0,Math.ceil((44-size)/2));return pad===0?void 0:{top:pad,bottom:pad,left:pad,right:pad}}function rnShadow(s){return s.blur===0&&s.y===0&&s.x===0?null:{shadowColor:s.color,shadowOffset:{width:s.x,height:s.y},shadowOpacity:1,shadowRadius:s.blur,elevation:1}}function ringOverlay(width,color,radius){let fill={position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:radius};return Platform.OS==="web"?{...fill,boxShadow:`inset 0 0 0 ${width}px ${color}`}:{...fill,borderWidth:width,borderColor:color}}function breakProps(mode){return mode==="auto"?null:Platform.OS==="ios"?{lineBreakStrategyIOS:"push-out"}:Platform.OS==="android"&&mode==="balance"?{textBreakStrategy:"balanced"}:null}function weightStyle(t,weight){let w=t.type.weight[weight];return t.type.namedFaces?{fontFamily:t.type.faces[faceOf(w)]}:{fontWeight:String(w)}}function Text({tier:tier,variant:variant,tone:tone,weight:weight,level:level,lineBreak:lineBreak,...props}){let t=useTheme(),cap=t.type.scaleCaps[tier??(variant?textVariantTier(t,variant):"content")],breaks=breakProps(lineBreak??(variant?TEXT_VARIANT_BREAKS[variant]:"auto"));if(variant===void 0&&tone===void 0&&weight===void 0&&level===void 0)return breaks?createElement(Text$1,{...cap>0?{maxFontSizeMultiplier:cap}:{},...breaks,...props}):createElement(Text$1,cap>0?{maxFontSizeMultiplier:cap,...props}:props);let color=textToneColor(t,tone),own=variant?rnText(t,textVariantSpec(t,variant,tone,weight)):{...color?{color:color}:{},...weight?weightStyle(t,weight):{}},heading=level===void 0?{}:{accessibilityRole:"header",...Platform.OS==="web"?{"aria-level":level}:{}};return createElement(Text$1,{...cap>0?{maxFontSizeMultiplier:cap}:{},...breaks,...heading,...props,style:[own,props.style]})}var BOX=24,FINE=16,SEAM=.8,fine=dp=>Math.round(dp*FINE);function place(cx,cy,W,H,ux,uy){let left=cx-W/2,top=cy-H/2,x=Math.round(left),y=Math.round(top);return{position:"absolute",left:x,top:y,width:W,height:H,transform:[{translateX:left-x},{translateY:top-y},{rotate:`${Math.atan2(uy,ux)*180/Math.PI}deg`},{scale:1/FINE}]}}function strokePieces(icon,k2,out){for(let s of icon.strokes){let w=s.width*k2,pts=s.points,n=pts.length/2,last=s.closed?n:n-1;for(let i=0;i<last;i+=1){let j=(i+1)%n,px2=(pts[i*2]??0)*k2,py=(pts[i*2+1]??0)*k2,dx=(pts[j*2]??0)*k2-px2,dy=(pts[j*2+1]??0)*k2-py,len=Math.hypot(dx,dy);if(len===0&&!(n===2&&s.cap))continue;let ux=len===0?1:dx/len,uy=len===0?0:dy/len,e0=s.closed||i>0||s.cap?w/2:0,e1=s.closed||j!==n-1||s.cap?w/2:0,along=(len+e1-e0)/2;out.push({paint:"backgroundColor",style:{...place(px2+ux*along,py+uy*along,fine(len+e0+e1),fine(w),ux,uy),borderTopLeftRadius:e0>0?fine(w)/2:0,borderBottomLeftRadius:e0>0?fine(w)/2:0,borderTopRightRadius:e1>0?fine(w)/2:0,borderBottomRightRadius:e1>0?fine(w)/2:0,...s.opacity===void 0?{}:{opacity:s.opacity}}})}}}function boxPieces(icon,k2,out){for(let b of icon.boxes){let w=(b.w+b.width)*k2,h=(b.h+b.width)*k2;out.push({paint:"borderColor",style:{...place((b.x-b.width/2)*k2+w/2,(b.y-b.width/2)*k2+h/2,fine(w),fine(h),1,0),borderWidth:fine(b.width*k2),borderRadius:(b.radius+b.width/2)*k2*FINE,...b.opacity===void 0?{}:{opacity:b.opacity}}})}}function trianglePieces(icon,k2,out){for(let t of icon.triangles){let p=[0,1,2].map(i=>[(t[i*2]??0)*k2,(t[i*2+1]??0)*k2]),base=0,len=-1;for(let i=0;i<3;i+=1){let a2=p[i]??[0,0],b=p[(i+1)%3]??[0,0],d=Math.hypot(b[0]-a2[0],b[1]-a2[1]);d>len&&(len=d,base=i)}if(len<=0)continue;let b0=p[base]??[0,0],b1=p[(base+1)%3]??[0,0],a=p[(base+2)%3]??[0,0],ux=(b1[0]-b0[0])/len,uy=(b1[1]-b0[1])/len,along=(a[0]-b0[0])*ux+(a[1]-b0[1])*uy,across=(a[0]-b0[0])*-uy+(a[1]-b0[1])*ux,h=Math.abs(across),up=across<0,mid=up?-h/2:h/2,bl=fine(along),br=fine(len)-bl,bh=fine(h);out.push({paint:up?"borderBottomColor":"borderTopColor",style:{...place(b0[0]+ux*(len/2)-uy*mid,b0[1]+uy*(len/2)+ux*mid,bl+br,bh,ux,uy),width:0,height:0,borderLeftWidth:bl,borderRightWidth:br,borderLeftColor:"transparent",borderRightColor:"transparent",...up?{borderBottomWidth:bh}:{borderTopWidth:bh}}})}for(let e of icon.seams){let x0=(e[0]??0)*k2,y0=(e[1]??0)*k2,dx=(e[2]??0)*k2-x0,dy=(e[3]??0)*k2-y0,d=Math.hypot(dx,dy),in0=SEAM*(e[4]??0),in1=SEAM*(e[5]??0),bar=d-in0-in1;if(d===0||bar<=0)continue;let mid=in0+bar/2;out.push({paint:"backgroundColor",style:place(x0+dx/d*mid,y0+dy/d*mid,fine(bar),fine(SEAM),dx/d,dy/d)})}}var cache=/* @__PURE__ */new WeakMap;function piecesOf(icon,size){let sizes=cache.get(icon);sizes===void 0&&(sizes=/* @__PURE__ */new Map,cache.set(icon,sizes));let hit=sizes.get(size);if(hit!==void 0)return hit;let out=[],k2=size/BOX;return boxPieces(icon,k2,out),strokePieces(icon,k2,out),trianglePieces(icon,k2,out),sizes.set(size,out),out}function Glyph({icon:icon,size:size,color:color,label:label,testID:testID,style:style}){let t=useTheme(),side=size??t.metrics.icon.size,ink=color??t.colors.ink;/* @__PURE__ */
2
+ import{createContext,createElement,useRef,useCallback,useEffect,useState,useMemo,useContext}from"react";import{StyleSheet,View,Pressable,Text as Text$1,Platform,Image,ActivityIndicator,Animated,Easing,AccessibilityInfo}from"react-native";import{jsx,jsxs,Fragment}from"react/jsx-runtime";var everfurTokens=/* @__PURE__ */Object.freeze({color:/* @__PURE__ */Object.freeze({efDarkGreen:"#10462E",efWhite:"#FFFFFF",efBlack:"#000000",efDustyPink:"#FFC3BC",efBrightGreen:"#07C168",efYellow:"#F2C763",efDustyBlue:"#A8B9DA",efSkyBlue:"#4E98C9",efCharcoal:"#3D3D3D",efIconHoney:"#926F06",efIconLeaf:"#16864A",efIconSky:"#1E7AB7",efIconTeal:"#05827E",efIconCocoa:"#865B3F",efIconNavy:"#223E80",efIconBerry:"#B6407F",efIconAmber:"#B25E05",efIconMoss:"#5E7E1E",efIconSlate:"#5A6087",efIconRose:"#CA4463",efRedDeep:"#6D1D14",efRedBright:"#C03410",bg:"#FFFFFF",bgBrand:"#10462E",bgAccent:"#FFC3BC",bgAccentB2b:"#A8B9DA",bgWarm:"#F2C763",text:"#000000",textBrand:"#10462E",textOnBrand:"#FFFFFF",textCta:"#07C168",textMuted:"#6B6B6B",bgMist:"#F1F5F2",border:"#E4E4E4",borderStrong:"#3D3D3D",hi:"#DAF6E8",hiStrong:"#ABEACC",hiEdge:"#0B8A4E",now:"#0C844B",alert:"#C03410",alertDeep:"#6D1D14",btnPrimaryBg:"#10462E",btnPrimaryText:"#FFFFFF",btnSecondaryBg:"rgba(0, 0, 0, 0)",btnSecondaryText:"#10462E",btnSecondaryBorder:"#10462E",mixMint:"#7FE8AE",mixLegal:"#A9C4B5",mixPromptGreen:"#BFEFD8",mixPromptYellow:"#F7DC9E",mixRx:"#E0E6F2",mixShelf:"#F3F3F3",mixEar:"#F09FA3",efBone:"#FAF9F6",efTennisBall:"#DCEF5A",efFawn:"#E8CAA4",efPine:"#12301F",efPine70:"rgba(18, 48, 31, 0.72)",efLiver:"#7A4330",efMerle:"#AEB8C1",efNose:"#E9B6A6"}),font:/* @__PURE__ */Object.freeze({family:/* @__PURE__ */Object.freeze({base:'Azeret, "Helvetica Neue", Arial, sans-serif',mono:'"Azeret Mono", ui-monospace, "SF Mono", Menlo, monospace'}),size:/* @__PURE__ */Object.freeze({xs:13,sm:15,md:17,lg:20,xl:24,"2xl":32,"3xl":40,"4xl":56}),lineHeight:/* @__PURE__ */Object.freeze({body:1.55,display:1.15}),weight:/* @__PURE__ */Object.freeze({regular:400,medium:500,bold:700})}),space:/* @__PURE__ */Object.freeze({1:4,2:8,3:12,4:16,5:24,6:32,7:48,8:64,9:96}),radius:/* @__PURE__ */Object.freeze({sm:6,md:10,lg:20,xl:28,pill:999}),shadow:/* @__PURE__ */Object.freeze({sm:/* @__PURE__ */Object.freeze({x:0,y:1,blur:2,spread:0,color:"rgba(16, 70, 46, 0.06)"}),md:/* @__PURE__ */Object.freeze({x:0,y:4,blur:16,spread:0,color:"rgba(16, 70, 46, 0.08)"})}),layout:/* @__PURE__ */Object.freeze({container:1200,containerNarrow:720}),motion:/* @__PURE__ */Object.freeze({easing:/* @__PURE__ */Object.freeze({out:/* @__PURE__ */Object.freeze([.23,1,.32,1]),inOut:/* @__PURE__ */Object.freeze([.77,0,.175,1]),drawer:/* @__PURE__ */Object.freeze([.32,.72,0,1]),expo:/* @__PURE__ */Object.freeze([.16,1,.3,1]),bark:/* @__PURE__ */Object.freeze([.34,1.56,.64,1])}),duration:/* @__PURE__ */Object.freeze({press:160,fade:200,enter:300,sheet:420,sheetOut:240,draw:900})}),web:/* @__PURE__ */Object.freeze({serif:'Azeret, "Helvetica Neue", Arial, sans-serif',sans:'Azeret, "Helvetica Neue", Arial, sans-serif',tSmall:14,max:1312}),role:/* @__PURE__ */Object.freeze({color:/* @__PURE__ */Object.freeze({ink:"#10462E",go:"#07C168",muted:"#6B6B6B",line:"#E4E4E4",pink50:"#FFE1DE",tintSage:"#E6ECE8",tintPink:"#FFEAE8",tintPinkSoft:"#FFF6F5",tintBlue:"#EAEEF6",tintYellow:"#FCF0D6",tintYellowEdge:"#F6D892",tintRed:"#FBF1EE",tintGo:"#DCF6EA",icoGrey:"#6B6B6B",icoSage:"#819E90",icoBlue:"#4E98C9",icoWarm:"#D6D0C2",icoAmber:"#B67B3F",amberText:"#A05E32",wxSun:"#F2C763",wxSunEdge:"#D5AD47",wxCloud:"#FFFFFF",wxCloudEdge:"#DEDEDE",wxCloudDark:"#EAEAEA",wxCloudDarkEdge:"#C5C5C5",wxRain:"#75AFD5",wxSnow:"#AFD1E7",wxMist:"#D4D4D4",cwShelf:"#FFFFFF",cwShelfDeep:"#F1F4F2",cwRx:"#E0E6F2",cwRxInk:"#5A6087",cwEdgeC:"#C6D3CD",nItch:"#CA4463",nJoints:"#5E7E1E",nItchC:"#FFC3BC",nJointsC:"#D8E0C9",lvlGood:"#77DDAC",lvlOk:"#F4CF7A",lvlHot:"#DC8F7C",lvlStorm:"#8DA4BB",mapLand:"#F5F5F5",mapEdge:"#EAEAEA",mapPark:"#D7F5E7",mapWater:"#D8E0EE",mapSand:"#FCF3DD"}),size:/* @__PURE__ */Object.freeze({max:1440,gutter:16,sideW:220,cardPad:16,barH:48,tabH:58,dock:64,side:16,stackGap:12})})});var BLOCK_BOX={shown:true,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},BLOCK_TEXT={shown:true,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},blockBox=p=>({...BLOCK_BOX,...p}),blockText=p=>({...BLOCK_TEXT,...p}),everfurMetrics={button:{ink:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24},go:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24},outline:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:400,lineHeight:1,iconSize:24},pink:{fill:true,minHeight:60,paddingX:16,gap:8,borderWidth:1,ring:false,fontSize:18,fontWeight:700,lineHeight:1,iconSize:24},danger:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1.55,iconSize:20},inkSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20},goSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20},outlineSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:400,lineHeight:1,iconSize:20},pinkSm:{fill:true,minHeight:46,paddingX:16,gap:8,borderWidth:1,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20},row:{fill:false,minHeight:36,paddingX:14,gap:8,borderWidth:1.5,ring:false,fontSize:14,fontWeight:400,lineHeight:1,iconSize:17},outlineInSheetWeight:700,money:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24,bg:"pink",fg:"ink",edgeColor:"ink"},moneySm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20,bg:"pink",fg:"ink",edgeColor:"ink"},warn:{fill:false,minHeight:52,paddingX:24,gap:8,borderWidth:1.5,ring:false,fontSize:17,fontWeight:700,lineHeight:1,iconSize:24,bg:"none",fg:"alertDeep",edgeColor:"alert"},warnSm:{fill:false,minHeight:46,paddingX:16,gap:8,borderWidth:1.5,ring:false,fontSize:15,fontWeight:700,lineHeight:1,iconSize:20,bg:"none",fg:"alertDeep",edgeColor:"alert"},text:{fontSize:15,fontWeight:700,lineHeight:1.4,color:"ink",pressOpacity:.6}},pill:{minHeight:24,paddingX:10,fontSize:12,fontWeight:700,lineHeight:1,letterSpacing:.72,ring:{soon:1.25,overdue:1.25,clear:1.5,later:1.25,plain:1.5,new:1.5},plainRingAlpha:.2,dot:6,dotGap:6,allergyDot:{size:6,gap:6,color:"alert"},mono:true,upper:true,tones:{rx:{bg:"#E0E6F2",fg:"ink",ring:0,ringColor:"ink"},soon:{bg:"surface",fg:"ink",ring:1.25,ringColor:"tintYellowEdge"},overdue:{bg:"surface",fg:"alert",ring:1.25,ringColor:"alert"},clear:{bg:"surface",fg:"go",ring:1.5,ringColor:"go"},stable:{bg:"tintGo",fg:"ink",ring:0,ringColor:"ink"},later:{bg:"surface",fg:"muted",ring:1.25,ringColor:"line"},plain:{bg:"surface",fg:"ink",ring:1.5,ringColor:"ink/0.2"},new:{bg:"surface",fg:"ink",ring:1.5,ringColor:"go"},pink:{bg:"tintPink",fg:"ink",ring:0,ringColor:"ink"},watch:{bg:"#F9E6B9",fg:"ink",ring:0,ringColor:"ink"},high:{bg:"surface",fg:"alert",ring:1.25,ringColor:"alert"},allergy:{bg:"surface",fg:"alertDeep",ring:1.25,ringColor:"alert"}}},chip:{minHeight:42,paddingX:16,gap:8,borderWidth:1,fontSize:15,fontWeight:500,lineHeight:1.3},card:{padding:16,radius:20,borderWidth:1,titleSize:18,titleWeight:700,titleLineHeight:1.25,titleTracking:-.36,titleGap:12,leadSize:15,leadLineHeight:1.5,leadGap:12,headGapX:16,headGapY:8,headGap:12,bodySize:17,bodyLineHeight:1.55,ghost:{borderStyle:"dashed",borderColor:"#B9C9C2"}},sectionHeader:{gapX:12,gapY:8,marginTop:8},kicker:{fontSize:12,fontWeight:700,lineHeight:1.55,letterSpacing:.96,gap:8},quantityStepper:{borderWidth:1,borderColor:"line",ring:false,button:40,icon:18,valueMinWidth:28,offColor:"line",offOpacity:1,valueSize:17,valueWeight:700,valueLineHeight:1.55},tabs:{minHeight:44,gap:6,fontSize:15,fontWeight:500,currentWeight:700,lineHeight:1.55,indicator:3,hairline:1,dot:7},sheet:{radius:28,grabHeight:20,grabBarWidth:36,grabBarHeight:5,grabBarRadius:3,headPaddingTop:4,headPaddingX:16,headPaddingBottom:12,headGap:12,titlesGap:2,titleSize:18,close:36,closeIcon:20,bodyGap:12,bodyPaddingX:16,bodyPaddingBottom:24,actsGap:12,actsMarginTop:4},empty:{gap:8,titleSize:22,titleWeight:500,titleLineHeight:1.2,titleTracking:-.33,leadSize:15,leadLineHeight:1.5,actsGap:12,actsMarginTop:12,buttonMinWidth:200,linkMinHeight:44,linkPaddingX:4,linkSize:15,linkWeight:700,linkUnderlineOffset:3},skeleton:{gap:10,lineHeight:12,widths:[100,82,64]},summary:{paddingX:24,paddingY:0,radius:20,borderWidth:1,background:"surface",shadow:{color:"",x:0,y:0,blur:0,spread:0},rowDivider:1,rowMinHeight:0,rowCenter:false,rowPaddingY:14,termColor:"muted",valueColor:"ink",tabular:false,totalRowMinHeight:0,totalTermSize:15,totalTermWeight:400,totalTermColor:"muted",totalWeight:700,rowGapX:16,rowGapY:2,termSize:15,termLineHeight:1.55,valueSize:15,valueWeight:700,valueLineHeight:1.4,totalSize:20,totalLineHeight:1.4,off:{shown:true,size:15,weight:700,lineHeight:21,color:"go",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},icon:{size:24},timeline:{row:{shown:true,w:361,h:69.281,padding:[0,0,24,0],marginTop:0,marginBottom:0,gap:[16,16],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},done:{shown:true,w:28,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"ink",edge:{width:2,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"surface",fit:"cover",x:0,y:0,dy:0},now:{shown:true,w:28,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"surface",edge:{width:2,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},next:{shown:true,w:28,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"surface",edge:{width:2,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},nowInner:{size:10,color:"go"},check:{shown:true,w:16,h:16,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"surface",fit:"cover",x:0,y:0,dy:0},lineDoneDone:{x:13,top:30,bottom:2,width:2,color:"ink"},lineDoneNow:{x:13,top:30,bottom:2,width:2,color:"ink"},lineNowNext:{x:13,top:30,bottom:2,width:2,color:"line"},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:3},head:{shown:true,w:317,h:27,padding:[3,0,0,0],marginTop:0,marginBottom:0,gap:[8,4],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},nextTitle:{shown:true,size:17,weight:700,lineHeight:22.1,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:3},when:{shown:true,size:13,weight:400,lineHeight:18.2,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0},text:{shown:true,size:15,weight:400,lineHeight:22.5,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0}},thumbnail:{xs:{frame:{shown:true,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"surface",edge:{width:1,color:"line",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},img:{shown:false,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"surface",edge:{width:1,color:"line",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[10,10],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false},sm:{frame:{shown:true,w:64,h:64,padding:[8,8,8,8],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},img:{shown:true,w:48,h:48,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:64,h:64,padding:[8,8,8,8],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[14,14],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false},md:{frame:{shown:true,w:156,h:156,padding:[0,0,0,0],marginTop:0,marginBottom:6,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F5F5F5",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},img:{shown:true,w:156,h:156,padding:[10,10,10,10],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:156,h:156,padding:[0,0,0,0],marginTop:0,marginBottom:6,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F5F5F5",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false},lg:{frame:{shown:true,w:174.5,h:174.5,padding:[0,0,0,0],marginTop:0,marginBottom:8,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},img:{shown:true,w:174.5,h:174.5,padding:[14,14,18,14],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"contain",x:0,y:0,dy:0},empty:{shown:true,w:174.5,h:174.5,padding:[0,0,0,0],marginTop:0,marginBottom:8,gap:[0,0],minHeight:0,radius:[20,20],bg:"#F3F3F3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#1E7AB7",fit:"cover",x:0,y:0,dy:0},top:false}},text:{display:{shown:true,size:40,weight:500,lineHeight:39.2,color:"ink",tracking:-1.2,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},headline:{shown:true,size:30,weight:500,lineHeight:33,color:"ink",tracking:-.45,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},title:{shown:true,size:22,weight:500,lineHeight:26.4,color:"ink",tracking:-.33,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},heading:{shown:true,size:18,weight:700,lineHeight:22.5,color:"ink",tracking:-.36,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},body:{shown:true,size:17,weight:400,lineHeight:26.35,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},lead:{shown:true,size:15,weight:400,lineHeight:21.75,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},label:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},meta:{shown:true,size:13,weight:400,lineHeight:18.85,color:"muted",tracking:0,face:"mono",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},caption:{shown:true,size:13,weight:400,lineHeight:19.5,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},overline:{shown:true,size:12,weight:700,lineHeight:16.8,color:"muted",tracking:.72,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},kicker:{shown:true,size:12,weight:700,lineHeight:18.6,color:"muted",tracking:.96,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},field:{gap:6,label:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},input:{shown:true,w:361,h:52,padding:[0,16,0,16],marginTop:0,marginBottom:0,gap:[10,10],minHeight:52,radius:[10,10],bg:"surface",edge:{width:1.5,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},focusEdge:"ink",errorEdge:"alert",value:{shown:true,size:17,weight:400,lineHeight:26.35,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:1},valueInset:[2,1],icon:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"muted",fit:"cover",x:0,y:0,dy:0},area:{shown:true,w:361,h:158,padding:[12,16,12,16],marginTop:0,marginBottom:0,gap:[10,10],minHeight:52,radius:[10,10],bg:"surface",edge:{width:1.5,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},areaValue:{shown:true,size:17,weight:400,lineHeight:25.5,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:2},areaValueMinHeight:132,areaInset:[2,2],hint:{shown:true,size:13,weight:400,lineHeight:19.5,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},error:{shown:true,size:15,weight:400,lineHeight:21.75,color:"alertDeep",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},placeholder:"muted"},checkbox:{row:{shown:true,w:361,h:45,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},labelX:34,box:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:1,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"surface",edge:{width:1.5,color:"icoSage",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},on:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:1,marginBottom:0,gap:[0,0],minHeight:0,radius:[6,6],bg:"ink",edge:{width:1.5,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},tick:{w:5,h:10,stroke:2,color:"surface",rotate:45,dy:-1},label:{shown:true,size:15,weight:400,lineHeight:22.5,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},boxed:{shown:true,w:361,h:50.5,padding:[14,16,14,16],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"bgMist",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0}},choice:{row:{shown:true,w:361,h:56.344,padding:[14,16,14,16],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"surface",edge:{width:1.5,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},selected:{shown:true,w:361,h:56.344,padding:[14,16,14,16],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"pink",edge:{width:1.5,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},radio:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[10,10],bg:"surface",edge:{width:1.5,color:"icoSage",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},radioOn:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[10,10],bg:"surface",edge:{width:6,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},textX:34,title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},strut:26.35,meta:{shown:true,size:13,weight:400,lineHeight:18.2,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0},end:{shown:true,size:13,weight:400,lineHeight:20.15,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},group:{gap:8,legend:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},legendPaddingX:2,legendGap:0}},switch:{track:{shown:true,w:48,h:28,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[999,999],bg:"#D0D6D3",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},on:"ink",thumb:{size:22,inset:3,travel:20,color:"surface",shadow:{color:"rgba(16, 70, 46, 0.06)",x:0,y:1,blur:2,spread:0}}},iconButton:{bare:{shown:true,w:44,h:44,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[22,22],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},bareIcon:22,offColor:"line",ring:{shown:true,w:36,h:36,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[18,18],bg:"surface",edge:{width:1.5,color:"ink",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},ringIcon:18,ringPressed:"tintSage",ringPressScale:.94},link:{text:{shown:true,size:17,weight:400,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:3,decoThickness:0,marginTop:0,paddingTop:0},danger:{shown:true,size:15,weight:700,lineHeight:23.25,color:"alert",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:3,decoThickness:0,marginTop:0,paddingTop:0},inline:{shown:true,size:17,weight:400,lineHeight:26.35,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},lists:{rows:{row:{shown:true,w:327,h:94.781,padding:[16,0,16,0],marginTop:0,marginBottom:0,gap:[16,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:1,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},subtitle:{shown:true,size:13,weight:400,lineHeight:18.85,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:2,paddingTop:0}},tiles:{list:{shown:true,w:343,h:175.813,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[4,4],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},outdent:8,row:{shown:true,w:343,h:62.281,padding:[10,8,10,8],marginTop:0,marginBottom:0,gap:[12,12],minHeight:0,radius:[10,10],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},leading:22,leadingFace:40,icon:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"muted",fit:"cover",x:0,y:0,dy:0},text:{shown:true,w:261,h:42.281,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[2,2],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},subtitle:{shown:true,size:13,weight:400,lineHeight:18.2,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},pressed:"#EDF2EF",alert:{bg:"tintRed",icon:"alert",title:"alertDeep",subtitle:"alert"}},end:{text:{shown:true,size:15,weight:400,lineHeight:23.25,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},gap:8,chevron:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"#819D90",fit:"cover",x:0,y:0,dy:0}},section:{title:{shown:true,size:18,weight:700,lineHeight:22.5,color:"ink",tracking:-.36,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},titleGap:12,head:{shown:true,w:361,h:22.5,padding:[0,0,0,0],marginTop:8,marginBottom:0,gap:[12,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},note:{shown:true,size:13,weight:400,lineHeight:19.5,color:"muted",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:12,paddingTop:0}},avatar:{sizes:{xs:20,sm:36,md:48,lg:64,xl:128},face:40,bg:"surface",edge:{width:1,color:"line",ring:true},initials:{shown:true,size:15,weight:700,lineHeight:23.25,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},initialsXs:{shown:true,size:9,weight:700,lineHeight:13.95,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},tints:{default:"tintPink",pink:"#FFCFC9",blue:"#C2CEE5",yellow:"#F6D78F",sage:"#C6D3CD"},ring:{width:2,offset:2,color:"go"},ringXl:{width:3,offset:4,color:"go"},dot:{size:12,edge:2,edgeColor:"surface"}},stack:{size:28,overlap:-8,initialsSize:12,halo:{width:2,color:"surface"}},banner:{box:{shown:true,w:361,h:155.391,padding:[16,16,16,16],marginTop:0,marginBottom:0,gap:[12,4],minHeight:0,radius:[20,20],bg:"#F1F5F2",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},icon:{shown:true,w:22,h:22,padding:[0,0,0,0],marginTop:1,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},iconRows:3,kicker:{shown:true,size:12,weight:700,lineHeight:16.8,color:"#5B5B5B",tracking:.72,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},title:{shown:true,size:17,weight:700,lineHeight:22.1,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},text:{shown:true,size:15,weight:400,lineHeight:21.75,color:"text",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},acts:{shown:true,w:295,h:21,padding:[0,0,0,0],marginTop:8,marginBottom:0,gap:[16,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},link:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},tones:{info:{bg:"#F1F5F2",icon:"ink"},success:{bg:"tintGo",icon:"ink"},warn:{bg:"#FCF0D6",icon:"#926F06"},danger:{bg:"tintRed",icon:"alert"}}},toast:{box:{shown:true,w:200.281,h:40.25,padding:[10,16,10,16],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[999,999],bg:"ink",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"surface",fit:"cover",x:0,y:0,dy:0},text:{shown:true,size:15,weight:400,lineHeight:20.25,color:"onInk",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:10},inset:16,rise:8,fade:200,hold:2600},spinner:{size:16,border:2,turn:700,openSide:true,reducedOpacity:.5},offbar:{box:{shown:true,w:361,h:56,padding:[6,16,6,16],marginTop:0,marginBottom:0,gap:[10,10],minHeight:44,radius:[0,0],bg:"#FCF0D6",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:48,dy:0},text:{shown:true,size:15,weight:500,lineHeight:19.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},icon:{shown:true,w:20,h:20,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},action:{shown:true,w:69.859,h:44,padding:[0,2,0,2],marginTop:0,marginBottom:0,gap:[6,6],minHeight:44,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},actionText:{shown:true,size:15,weight:700,lineHeight:19.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"underline",decoOffset:3,decoThickness:0,marginTop:0,paddingTop:0},online:{bg:"ink",color:"onInk"},fade:200},progress:{track:{shown:true,w:361,h:4,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[999,999],bg:"line",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},fill:"go",move:300},divider:{width:1,color:"line",label:{shown:true,size:12,weight:400,lineHeight:18.6,color:"muted",tracking:.72,face:"mono",upper:true,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},labelGap:12,labelLine:{width:1,color:"line"}},errorInline:{text:{shown:true,size:15,weight:400,lineHeight:21,color:"alertDeep",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},acts:{shown:true,w:361,h:21,padding:[0,0,0,0],marginTop:8,marginBottom:0,gap:[16,8],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"text",fit:"cover",x:0,y:0,dy:0},link:{shown:true,size:15,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"pretty",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0}},linkPressedOpacity:.6},variants:{drawer:{frame:{shown:true,w:393,h:226.594,padding:[10,20,40,20],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[28,0],bg:"surface",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:293.406,dy:0},maxHeight:.8,grab:{shown:true,w:40,h:5,padding:[0,0,0,0],marginTop:0,marginBottom:10,gap:[0,0],minHeight:0,radius:[2.5,2.5],bg:"#DAD7D1",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},top:{shown:true,w:353,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},kicker:{shown:true,size:11,weight:400,lineHeight:16.5,color:"muted",tracking:.88,face:"mono",upper:true,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},close:{shown:true,w:40,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[20,20],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},closeEnd:-8,closeIcon:22,title:{shown:true,size:24,weight:800,lineHeight:27.6,color:"ink",tracking:-.24,face:"serif",upper:false,wrap:"balance",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},body:{shown:true,w:353,h:82,padding:[0,0,0,0],marginTop:12,marginBottom:0,gap:[10,10],minHeight:0,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"text",fit:"cover",x:0,y:0,dy:0},text:{shown:true,size:16,weight:400,lineHeight:24,color:"text",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},scrim:"ink/0.38",motion:{enterMs:320,enterEasing:[.32,.72,0,1],exitMs:220,exitEasing:[.23,1,.32,1],scrimEnterMs:240,scrimExitMs:200,scrimEasing:[.25,.1,.25,1]}},button:{ink:{fill:false,minHeight:48,paddingX:22,gap:8,borderWidth:0,ring:false,fontSize:16,fontWeight:700,lineHeight:1.5,iconSize:20},outline:{fill:false,minHeight:48,paddingX:22,gap:8,borderWidth:1.5,ring:true,fontSize:16,fontWeight:700,lineHeight:1.5,iconSize:20},sm:{fill:false,minHeight:40,paddingX:16,gap:8,borderWidth:1.5,ring:true,fontSize:15,fontWeight:700,lineHeight:1.5,iconSize:20},lg:{fill:false,minHeight:56,paddingX:28,gap:8,borderWidth:0,ring:false,fontSize:17,fontWeight:700,lineHeight:1.5,iconSize:20},disabledOpacity:.32,press:.97,transition:"transform 160ms cubic-bezier(0.23, 1, 0.32, 1), opacity 160ms ease"},segmented:{track:{shown:true,w:361,h:44,padding:[4,4,4,4],marginTop:0,marginBottom:0,gap:[4,4],minHeight:0,radius:[22,22],bg:"surface",edge:{width:1.5,color:"#DAD7D1",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},option:{shown:true,w:115,h:36,padding:[0,6,0,6],marginTop:0,marginBottom:0,gap:[0,0],minHeight:36,radius:[18,18],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},label:{shown:true,size:14,weight:700,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},chosen:{shown:true,w:115,h:36,padding:[0,6,0,6],marginTop:0,marginBottom:0,gap:[0,0],minHeight:36,radius:[18,18],bg:"ink",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"onInk",fit:"cover",x:0,y:0,dy:0},chosenLabel:{shown:true,size:14,weight:700,lineHeight:21,color:"onInk",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},press:.96,transition:"background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1)"},stepper:{track:{shown:true,w:110,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[20,20],bg:"surface",edge:{width:1.5,color:"#DAD7D1",ring:true},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},button:{shown:true,w:40,h:40,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[20,20],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},icon:16,value:{shown:true,size:15.5,weight:800,lineHeight:23.25,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},valueWidth:30,disabledOpacity:.3,press:.9,transition:"transform 160ms cubic-bezier(0.23, 1, 0.32, 1)"},summary:{box:{shown:true,w:361,h:144,padding:[6,16,6,16],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[16,16],bg:"surface",edge:{width:0,color:"line",ring:false},shadow:{color:"rgba(38, 37, 35, 0.06)",x:0,y:1,blur:3,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0},row:{shown:true,w:329,h:34,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[12,12],minHeight:34,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},term:{shown:true,size:15,weight:400,lineHeight:22.5,color:"#4A4845",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},value:{shown:true,size:15,weight:400,lineHeight:22.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},totalRow:{shown:true,w:329,h:42,padding:[0,0,0,0],marginTop:0,marginBottom:0,gap:[12,12],minHeight:42,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},totalTerm:{shown:true,size:17,weight:800,lineHeight:25.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},total:{shown:true,size:17,weight:800,lineHeight:25.5,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},renewRow:{shown:true,w:329,h:28,padding:[0,0,0,0],marginTop:-6,marginBottom:0,gap:[12,12],minHeight:28,radius:[0,0],bg:"none",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:true,color:"ink",fit:"cover",x:0,y:0,dy:0},renewTerm:{shown:true,size:14,weight:400,lineHeight:21,color:"#4A4845",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},renew:{shown:true,size:14,weight:400,lineHeight:21,color:"ink",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:true,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:0},inset:{shown:true,w:361,h:88,padding:[6,16,6,16],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[16,16],bg:"bg",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"ink",fit:"cover",x:0,y:0,dy:0}},toast:{box:{shown:true,w:361,h:64.594,padding:[12,15,12,15],marginTop:0,marginBottom:0,gap:[0,0],minHeight:0,radius:[16,16],bg:"ink",edge:{width:0,color:"line",ring:false},shadow:{color:"",x:0,y:0,blur:0,spread:0},center:false,color:"onInk",fit:"cover",x:16,y:62,dy:0},text:{shown:true,size:14.5,weight:400,lineHeight:20.3,color:"onInk",tracking:0,face:"sans",upper:false,wrap:"auto",tabular:false,deco:"none",decoOffset:0,decoThickness:0,marginTop:0,paddingTop:12},motion:{enterMs:220,exitMs:160,easing:[.23,1,.32,1],rise:-8}},focus:{width:2,offset:2,color:"ink"}},press:{button:.97,iconButton:.94,card:.98},colors:{grab:"#C9C9C9",scrim:"rgba(0, 0, 0, 0.32)",watch:"#F9E6B9",planInk:"#262523",planOnInk:"#FFFFFF",planAccent:"#FFCE34",planLink:"#00707C",planAccentWash:"#FFF7DC",planAccentChip:"#FFE7A1",planLinkWash:"#E0FDFF",planLinkChip:"#C8F4F8"}},orderBlockMetrics={card:/* @__PURE__ */blockBox({w:361,h:163.547}),top:/* @__PURE__ */blockBox({w:361,h:39.547,gap:[12,12]}),title:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:20,tracking:-.16}),meta:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:17.55,color:"muted"}),total:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:24.8,tabular:true}),shots:/* @__PURE__ */blockBox({w:361,h:64,marginTop:8,gap:[8,8]}),acts:/* @__PURE__ */blockBox({w:361,h:40,marginTop:12,gap:[8,8]}),go:/* @__PURE__ */blockBox({w:176.5,h:40,padding:[0,12,0,12],gap:[6,6],minHeight:40,radius:[999,999],bg:"go",center:true}),goText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7}),plain:/* @__PURE__ */blockBox({w:176.5,h:40,padding:[0,12,0,12],gap:[6,6],minHeight:40,radius:[999,999],bg:"#F3F3F3",center:true}),plainText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7}),note:/* @__PURE__ */blockText({size:13,weight:500,lineHeight:17.55,marginTop:8}),icon:/* @__PURE__ */blockBox({w:16,h:16}),actsColumns:2,shotPressScale:.96},orderQuietBlockMetrics={top:/* @__PURE__ */blockBox({w:361,h:43.547,gap:[12,12]}),when:/* @__PURE__ */blockBox({w:300.063,h:24,gap:[8,4],center:true}),title:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:20.8}),chip:/* @__PURE__ */blockBox({w:86.031,h:24,padding:[0,9,0,5],gap:[4,4],minHeight:24,radius:[999,999],bg:"tintGo",center:true,color:"ink"}),chipText:/* @__PURE__ */blockText({size:12,weight:700,lineHeight:15.6,color:"ink"}),chipIcon:/* @__PURE__ */blockBox({w:14,h:14,color:"ink"}),meta:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:17.55,color:"muted",marginTop:2}),total:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:24.8,tabular:true}),shots:/* @__PURE__ */blockBox({w:361,h:64,marginTop:8,gap:[8,8]}),shot:/* @__PURE__ */blockBox({w:64,h:64,radius:[14,14],bg:"#F3F3F3"}),shotImg:/* @__PURE__ */blockBox({w:64,h:64,padding:[6.391,6.391,6.391,6.391],fit:"contain"}),shotBlend:"multiply",acts:/* @__PURE__ */blockBox({w:361,h:44,marginTop:12,gap:[12,12],center:true}),plain:/* @__PURE__ */blockBox({w:162.109,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"#F3F3F3",center:true}),plainText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7}),icon:/* @__PURE__ */blockBox({w:16,h:16}),link:/* @__PURE__ */blockBox({w:62.578,h:44,padding:[0,6,0,6],minHeight:44}),linkText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7,deco:"underline",decoOffset:3,decoThickness:1.5})},orderWebBlockMetrics={card:/* @__PURE__ */blockBox({w:952,h:127.781,padding:[16,24,16,16],gap:[24,16],radius:[20,20],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.04)",x:0,y:1,blur:2,spread:0},center:true}),lift:{color:"rgba(0, 0, 0, 0.05)",x:0,y:6,blur:20,spread:0},shots:/* @__PURE__ */blockBox({w:172,h:72}),sq:/* @__PURE__ */blockBox({w:72,h:72,radius:[14,14],bg:"#F3F3F3"}),sqRing:3,sqOverlap:22,imgInset:.1,imgFit:"contain",imgBlend:"multiply",text:/* @__PURE__ */blockBox({w:446.547,h:95.781,gap:[2,2]}),when:/* @__PURE__ */blockBox({w:446.547,h:26,gap:[12,4],center:true}),title:/* @__PURE__ */blockText({size:19,weight:700,lineHeight:24.7,tabular:true}),total:/* @__PURE__ */blockText({size:19,weight:900,lineHeight:24.7,tabular:true}),chip:/* @__PURE__ */blockBox({w:94.547,h:26,padding:[0,10,0,6],gap:[4,4],minHeight:26,radius:[999,999],bg:"tintGo",center:true,color:"ink"}),chipText:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:16.9,color:"ink",tabular:true}),chipIcon:/* @__PURE__ */blockBox({w:16,h:16,color:"ink"}),meta:/* @__PURE__ */blockText({size:16,weight:400,lineHeight:22.4}),note:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:21}),acts:/* @__PURE__ */blockBox({w:245.453,h:46,gap:[24,8],center:true}),plain:/* @__PURE__ */blockBox({w:160.031,h:46,padding:[0,20,0,20],gap:[8,8],minHeight:46,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true},center:true,color:"ink"}),plainText:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:19.2,color:"ink"}),icon:/* @__PURE__ */blockBox({w:18,h:18,color:"ink"}),link:/* @__PURE__ */blockBox({w:61.422,h:44,gap:[8,8],minHeight:44,center:true,color:"ink"}),linkText:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:20.4,color:"ink",deco:"underline",decoOffset:4}),go:/* @__PURE__ */blockBox({w:228.75,h:52,padding:[0,24,0,24],gap:[8,8],minHeight:52,radius:[999,999],bg:"ink",center:true,color:"surface"}),goText:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:20.4,color:"surface",wrap:"auto"}),pressScale:.97,hoverFill:{color:"ink",share:.06,over:"surface"},chipOff:/* @__PURE__ */blockBox({w:97.422,h:26,padding:[0,10,0,6],gap:[4,4],minHeight:26,radius:[999,999],center:true,color:"ink"}),metaLink:/* @__PURE__ */blockText({size:16,weight:400,lineHeight:22.4,deco:"underline"}),narrow:{upTo:599,card:/* @__PURE__ */blockBox({w:560,h:247.391,padding:[16,16,16,16],gap:[24,16],radius:[20,20],bg:"surface",center:true}),sq:/* @__PURE__ */blockBox({w:64,h:64,radius:[14,14],bg:"#F3F3F3",shadow:{color:"#FFFFFF",x:0,y:0,blur:0,spread:3}}),sqOverlap:16},phone:{upTo:639,card:/* @__PURE__ */blockBox({w:335,h:120.984,gap:[12,8],center:true}),sq:/* @__PURE__ */blockBox({w:48,h:48,radius:[12,12],bg:"#F3F3F3"}),sqRing:2,sqOverlap:18,when:/* @__PURE__ */blockBox({w:215,h:46.797,gap:[12,2],center:true}),title:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:20.8,tabular:true}),total:/* @__PURE__ */blockText({size:16,weight:900,lineHeight:20.8,tabular:true}),chip:/* @__PURE__ */blockBox({w:90.031,h:24,padding:[0,10,0,6],gap:[4,4],minHeight:24,radius:[999,999],bg:"tintGo",center:true,color:"ink"}),chipText:/* @__PURE__ */blockText({size:12,weight:700,lineHeight:15.6,color:"ink",tabular:true}),whatHidden:true,note:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:18.2}),acts:/* @__PURE__ */blockBox({w:335,h:46,gap:[24,8],center:true}),plain:/* @__PURE__ */blockBox({w:144.531,h:46,padding:[0,16,0,16],gap:[8,8],minHeight:46,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true},center:true,color:"ink"}),plainText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:18,color:"ink"}),linkText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:18,color:"ink",deco:"underline",decoOffset:4})}},productBlockMetrics={card:/* @__PURE__ */blockBox({w:156,h:310.969,gap:[4,4]}),kicker:/* @__PURE__ */blockText({size:12,weight:400,lineHeight:15.6,color:"muted",tracking:.12,face:"mono"}),name:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:19.5,wrap:"balance"}),meta:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:18.2,color:"muted"}),buy:/* @__PURE__ */blockBox({w:156,h:36,marginTop:6,gap:[8,8],center:true}),price:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,tabular:true})},productCardBlockMetrics={card:/* @__PURE__ */blockBox({w:174.5,h:249.219,gap:[2,2]}),tag:/* @__PURE__ */blockBox({w:84.563,h:26,padding:[0,9,0,6],gap:[4,4],minHeight:26,radius:[999,999],bg:"surface",center:true,x:8,y:8}),tagIcon:/* @__PURE__ */blockBox({w:16,h:16,color:"#CA4463"}),tagText:/* @__PURE__ */blockText({size:12,weight:700,lineHeight:12}),price:/* @__PURE__ */blockBox({w:174.5,h:26.344,gap:[6,6]}),priceText:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:26.35,tracking:-.17,tabular:true}),was:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:20.15,color:"muted",tabular:true,deco:"strike"}),name:/* @__PURE__ */blockText({size:14,weight:500,lineHeight:18.2,wrap:"balance"}),meta:/* @__PURE__ */blockText({size:12,weight:400,lineHeight:16.2,color:"muted"}),metaAuto:/* @__PURE__ */blockText({size:12,weight:500,lineHeight:16.2,color:"#16864A"}),step:/* @__PURE__ */blockBox({w:112,h:38,radius:[19,19],bg:"surface",center:true,x:54.5,y:128.5}),stepIn:/* @__PURE__ */blockBox({w:112,h:38,radius:[19,19],bg:"ink",center:true,color:"surface",x:54.5,y:128.5}),stepAt:{right:8,bottom:8},stepButton:/* @__PURE__ */blockBox({w:38,h:38,radius:[19,19],center:true}),stepIcon:/* @__PURE__ */blockBox({w:18,h:18}),count:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,color:"surface",tabular:true}),lift:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},per:/* @__PURE__ */blockText({size:12,weight:400,lineHeight:16.2,color:"muted",tabular:true}),metaAutoDark:/* @__PURE__ */blockText({size:12,weight:500,lineHeight:16.2,color:"ink"}),pill:/* @__PURE__ */blockBox({w:62.234,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"go",center:true,x:104.266,y:130.5}),pillText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7}),pillOn:/* @__PURE__ */blockBox({w:90.016,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"surface",edge:{width:2,color:"text",ring:true},center:true,x:76.484,y:130.5}),pillOnText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7}),pillIcon:/* @__PURE__ */blockBox({w:16,h:16}),pillSoft:/* @__PURE__ */blockBox({w:80.125,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},center:true,x:86.375,y:130.5}),pillSoftText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7}),pillAt:{right:8,bottom:8},pillPressScale:.96},productBlendBlockMetrics={img:/* @__PURE__ */blockBox({w:174.5,h:174.5,padding:[32,14,16,14],fit:"contain"}),imgBlend:"multiply",lift:{color:"rgba(0, 0, 0, 0.08)",x:0,y:2,blur:8,spread:0},pill:/* @__PURE__ */blockBox({w:62.234,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"pink",edge:{width:1,color:"ink",ring:true},center:true,color:"ink",x:104.266,y:130.5}),pillText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7,color:"ink"}),pillOn:/* @__PURE__ */blockBox({w:90.016,h:36,padding:[0,14,0,14],gap:[4,4],minHeight:36,radius:[999,999],bg:"surface",edge:{width:2,color:"ink",ring:true},center:true,color:"ink",x:76.484,y:130.5}),pillOnText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:21.7,color:"ink"}),pillPressScale:.97},productWebBlockMetrics={card:/* @__PURE__ */blockBox({w:306.656,h:370.641,gap:[2,2]}),square:/* @__PURE__ */blockBox({w:306.656,h:306.656,marginBottom:10,radius:[20,20],bg:"#F5F5F5"}),imgInsetTag:{share:[.11,.11,.1,.11],px:[26,0,0,0]},imgInset:{share:[.07,.07,.07,.07],px:[0,0,0,0]},imgFit:"contain",imgBlend:"multiply",tag:/* @__PURE__ */blockBox({w:112.516,h:30,padding:[0,12,0,8],gap:[5,5],minHeight:30,radius:[999,999],bg:"#F7E3E8",center:true,color:"ink",x:10,y:10}),tagText:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:14.3,color:"ink"}),tagIcon:/* @__PURE__ */blockBox({w:16,h:16,color:"#CA4463"}),tagMix:.15,name:/* @__PURE__ */blockText({size:17,weight:500,lineHeight:22.1,wrap:"balance"}),nameLeading:1.3,coverRadius:20,price:/* @__PURE__ */blockBox({w:306.656,h:27.891,gap:[8,2]}),priceText:/* @__PURE__ */blockText({size:18,weight:700,lineHeight:27.9,tracking:-.18,tabular:true}),was:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:23.25,tabular:true,deco:"strike"}),per:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:23.25,tabular:true}),badge:/* @__PURE__ */blockBox({w:32.625,h:22,padding:[0,8,0,8],radius:[999,999],bg:"#DEE4F1",edge:{width:1.5,color:"rgba(90, 96, 135, 0.45)",ring:true},center:true}),badgeText:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:13,tabular:true}),meta:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:21}),add:/* @__PURE__ */blockBox({w:44,h:44,radius:[22,22],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},center:true}),addIcon:/* @__PURE__ */blockBox({w:20,h:20}),actAt:{right:10,bottom:10},step:/* @__PURE__ */blockBox({w:116,h:44,radius:[22,22],bg:"ink",center:true,color:"surface"}),stepButton:/* @__PURE__ */blockBox({w:44,h:44,radius:[22,22],center:true,color:"surface"}),stepIcon:/* @__PURE__ */blockBox({w:18,h:18,color:"surface"}),count:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,color:"surface",tabular:true}),pill:/* @__PURE__ */blockBox({w:68.688,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"ink",center:true,color:"surface"}),pillText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:15,color:"surface"}),pillOn:/* @__PURE__ */blockBox({w:101.016,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"surface",edge:{width:2,color:"ink",ring:true},center:true,color:"ink"}),pillOnText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:15,color:"ink"}),pillIcon:/* @__PURE__ */blockBox({w:18,h:18,color:"ink"}),pillSoft:/* @__PURE__ */blockBox({w:87.859,h:44,padding:[0,16,0,16],gap:[6,6],minHeight:44,radius:[999,999],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.14)",x:0,y:2,blur:8,spread:0},center:true}),pillSoftText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:15}),nameSteps:[{upTo:599,name:/* @__PURE__ */blockText({size:16,weight:500,lineHeight:20.8,wrap:"balance"})},{upTo:399,name:/* @__PURE__ */blockText({size:14,weight:500,lineHeight:18.2,wrap:"balance"})}],addPressScale:.94,stepPressScale:.88,pillPressScale:.97,imgInsetEven:{share:[.07,.07,.07,.07],px:[0,0,0,0]},imgInsetWhite:{share:[.11,.11,.14,.11],px:[0,0,0,0]},groundWhite:"surface",focusOffset:3,hover:{ring:{width:1.5,share:.45,color:"ink"},underlineOffset:3}},productRowBlockMetrics={card:/* @__PURE__ */blockBox({shown:false,w:361,h:109.328,gap:[12,12],center:true}),name:/* @__PURE__ */blockText({shown:false,size:17,weight:700,lineHeight:22.1,color:"ink"}),meta:/* @__PURE__ */blockText({shown:false,size:13,weight:400,lineHeight:18.85,color:"muted",marginTop:2})},cartBlockMetrics={line:/* @__PURE__ */blockBox({w:361,h:109.328,gap:[12,12],center:true}),name:/* @__PURE__ */blockBox({w:289,h:24,gap:[8,4],center:true,color:"ink"}),nameText:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:22.1,color:"ink"}),meta:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:18.85,color:"muted",marginTop:2}),price:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:26.35,color:"ink",tabular:true}),was:/* @__PURE__ */blockText({shown:false,size:13,weight:400,lineHeight:18.85,color:"muted",marginTop:2}),acts:/* @__PURE__ */blockBox({w:289,h:20.141,marginTop:6,gap:[16,16]}),remove:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:20.15,color:"ink",deco:"underline",decoOffset:3}),removeBox:/* @__PURE__ */blockBox({w:53.016,h:20.141,color:"ink"}),end:/* @__PURE__ */blockBox({w:289,h:26.344,gap:[4,4]})},cartSquareBlockMetrics={line:/* @__PURE__ */blockBox({w:361,h:95.094,gap:[12,12]}),sm:/* @__PURE__ */blockBox({w:48,h:48,radius:[12,12],bg:"#F3F3F3"}),md:/* @__PURE__ */blockBox({w:52,h:52,radius:[12,12],bg:"#F3F3F3"}),lg:/* @__PURE__ */blockBox({w:56,h:56,radius:[12,12],bg:"#F3F3F3"}),imgInset:.1,imgFit:"contain",imgBlend:"multiply",name:/* @__PURE__ */blockBox({w:239.109,h:20,gap:[6,4],center:true}),nameText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:19.5}),link:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:19.5}),linkReach:4,badge:/* @__PURE__ */blockBox({w:29.344,h:20,padding:[0,7,0,7],radius:[999,999],bg:"#E0E6F2",edge:{width:1.5,color:"rgba(90, 96, 135, 0.45)",ring:true},center:true}),badgeText:/* @__PURE__ */blockText({size:12,weight:700,lineHeight:12}),meta:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:17.55,color:"muted",marginTop:2}),acts:/* @__PURE__ */blockBox({w:239.109,h:32,marginTop:6,gap:[16,16]}),act:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:20.15,color:"ink",deco:"underline",decoOffset:3}),actBox:/* @__PURE__ */blockBox({w:84.531,h:32,minHeight:32,color:"ink"}),price:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,tabular:true}),was:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:20.15,color:"muted",tabular:true,deco:"strike"})},cartWebBlockMetrics={line:/* @__PURE__ */blockBox({w:404,h:88,gap:[16,0],center:true}),sq:/* @__PURE__ */blockBox({w:88,h:88,radius:[14,14],bg:"#F3F3F3"}),imgInset:.1,imgFit:"contain",imgBlend:"multiply",name:/* @__PURE__ */blockBox({w:225.875,h:24.688,gap:[8,4],center:true}),nameText:/* @__PURE__ */blockText({size:19,weight:700,lineHeight:24.7}),link:/* @__PURE__ */blockText({size:19,weight:700,lineHeight:24.7}),linkReach:4,badge:/* @__PURE__ */blockBox({w:32.625,h:22,padding:[0,8,0,8],radius:[999,999],bg:"#DEE4F1",center:true}),badgeText:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:13}),meta:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:21,marginTop:2}),price:/* @__PURE__ */blockText({size:19,weight:700,lineHeight:29.45,tabular:true}),was:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:23.25,tabular:true,deco:"strike"}),narrow:{upTo:599,sq:/* @__PURE__ */blockBox({w:64,h:64,radius:[14,14],bg:"#F3F3F3"}),cost:/* @__PURE__ */blockBox({w:432,h:29.438,marginTop:4,gap:[8,8]}),nameText:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:22.1}),link:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:22.1})},narrower:{upTo:330,sq:/* @__PURE__ */blockBox({w:56,h:56,radius:[14,14],bg:"#F3F3F3"}),cost:/* @__PURE__ */blockBox({w:216,h:29.438,marginTop:4,gap:[8,8]}),nameText:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:22.1}),link:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:22.1})},phone:{upTo:639,line:/* @__PURE__ */blockBox({w:303,h:81.25,gap:[12,0],center:true}),sq:/* @__PURE__ */blockBox({w:56,h:56,radius:[12,12],bg:"#F3F3F3"}),cost:/* @__PURE__ */blockBox({w:235,h:23.25,marginTop:2,gap:[8,8]}),nameText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:19.5}),link:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:19.5}),meta:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:17.55,marginTop:2}),price:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,tabular:true}),was:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:20.15,tabular:true,deco:"strike"}),smallUpTo:359,smallSq:48}},cartDrawerBlockMetrics={line:/* @__PURE__ */blockBox({w:360,h:147.094,gap:[14,0]}),img:/* @__PURE__ */blockBox({w:64,h:64,radius:[14,14],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true}}),imgInset:6,imgFit:"contain",name:/* @__PURE__ */blockBox({w:216,h:22.094,gap:[8,4],center:true}),nameText:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:22.1,wrap:"auto"}),badge:/* @__PURE__ */blockBox({w:32.625,h:22,padding:[0,8,0,8],radius:[999,999],bg:"#DEE4F1",edge:{width:1.5,color:"rgba(90, 96, 135, 0.45)",ring:true},center:true}),badgeText:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:13,wrap:"auto"}),meta:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:21,marginTop:2}),note:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:21,color:"ink",marginTop:2}),acts:/* @__PURE__ */blockBox({w:282,h:92,marginTop:10,gap:[12,8],center:true}),plan:/* @__PURE__ */blockBox({w:193.703,h:44,padding:[3,3,3,3],radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true}}),planBtn:/* @__PURE__ */blockBox({w:63.859,h:38,padding:[0,14,0,14],minHeight:38,radius:[999,999]}),planText:/* @__PURE__ */blockText({size:15,weight:500,lineHeight:23.25,wrap:"auto"}),planOn:/* @__PURE__ */blockBox({w:123.844,h:38,padding:[0,14,0,14],minHeight:38,radius:[999,999],bg:"ink",color:"surface"}),planOnText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,color:"surface",wrap:"auto"}),qty:/* @__PURE__ */blockBox({w:104,h:40,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#C6D3CD",ring:true},center:true}),countMin:24,qtyBtn:/* @__PURE__ */blockBox({w:40,h:40,radius:[20,20],center:true}),qtyIcon:/* @__PURE__ */blockBox({w:16,h:16}),count:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,wrap:"auto",tabular:true}),remove:/* @__PURE__ */blockBox({w:58.359,h:40,minHeight:40,color:"ink"}),removeText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25,color:"ink",wrap:"auto",deco:"underline",decoOffset:3}),price:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:22.1,wrap:"auto",tabular:true}),was:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:19.5,wrap:"auto",tabular:true,deco:"strike"}),pressScale:.9,hover:{color:"ink",share:.06,over:"surface"},motion:{press:140,fill:150,planFill:150}},priceBlockMetrics={note:/* @__PURE__ */blockText({size:13,weight:400,lineHeight:19.5,color:"muted",marginTop:12}),noteStrong:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:19.5,color:"muted"})};var needBlockMetrics={card:/* @__PURE__ */blockBox({w:325,h:125.25,padding:[14,16,14,16],radius:[0,20],bg:"surface",shadow:{color:"rgba(0, 0, 0, 0.06)",x:0,y:2,blur:3,spread:-1}}),kicker:/* @__PURE__ */blockBox({w:293,h:24,gap:[8,8],center:true}),kickerText:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:23.25}),source:/* @__PURE__ */blockBox({w:116.719,h:24,padding:[0,9,0,9],radius:[999,999],bg:"#DAF6E8",center:true,color:"ink"}),sourceText:/* @__PURE__ */blockText({size:12,weight:700,lineHeight:18.6,color:"ink"}),title:/* @__PURE__ */blockText({shown:false,size:15,weight:700,lineHeight:23.25}),signal:/* @__PURE__ */blockBox({w:293,h:65.25,marginTop:8,gap:[9,9],color:"#4D4D4D"}),signalText:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:21.75,color:"#4D4D4D"}),signalLead:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:21.75}),dot:/* @__PURE__ */blockBox({w:9,h:9,radius:[4.5,4.5],bg:"alert",color:"#4D4D4D",dy:-1}),score:/* @__PURE__ */blockBox({w:293,h:99.859,padding:[10,14,10,14],marginTop:12,gap:[12,12],radius:[10,10],bg:"#FCF0D6",center:true}),scoreLabel:/* @__PURE__ */blockText({size:14,weight:600,lineHeight:18.9,color:"#4D4D4D"}),scoreTag:/* @__PURE__ */blockBox({w:63.125,h:20.188,padding:[2,6,2,6],marginTop:3,radius:[6,6],bg:"surface"}),scoreTagText:/* @__PURE__ */blockText({size:12,weight:600,lineHeight:16.2,tracking:.72,face:"mono",upper:true,marginTop:3,paddingTop:2}),scoreNums:/* @__PURE__ */blockBox({w:106.109,h:51.141,gap:[6,0],center:true}),scoreWas:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:26.35,color:"muted",deco:"strike",decoThickness:1.5}),scoreArrow:/* @__PURE__ */blockBox({w:16,h:16,color:"muted"}),scoreArrowFlip:true,scoreNow:/* @__PURE__ */blockText({size:28,weight:700,lineHeight:28,tracking:-.84,tabular:true}),scoreOf:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:15,color:"#4D4D4D",tabular:true}),scoreSince:/* @__PURE__ */blockText({size:13,weight:700,lineHeight:20.15,color:"ink",marginTop:3})},needPlanBlockMetrics={card:/* @__PURE__ */blockBox({w:329,h:380.172,padding:[16,16,16,16],marginTop:14,radius:[22,22],bg:"surface",shadow:{color:"rgba(38, 37, 35, 0.06)",x:0,y:1,blur:3,spread:0},color:"#262523"}),kicker:/* @__PURE__ */blockBox({w:297,h:24,gap:[8,8],center:true,color:"#262523"}),kickerText:/* @__PURE__ */blockText({size:15,weight:800,lineHeight:22.5,color:"#262523"}),source:/* @__PURE__ */blockBox({w:83.375,h:24,padding:[0,9,0,9],radius:[999,999],bg:"#F2F1EE",center:true,color:"#4A4845"}),sourceText:/* @__PURE__ */blockText({size:12,weight:700,lineHeight:18,color:"#4A4845"}),title:/* @__PURE__ */blockText({size:19,weight:800,lineHeight:23.18,color:"#262523",marginTop:12}),signal:/* @__PURE__ */blockBox({w:297,h:65.25,marginTop:6,gap:[9,9],color:"#4A4845"}),signalText:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:21.75,color:"#4A4845"}),signalLead:/* @__PURE__ */blockText({size:15,weight:800,lineHeight:21.75,color:"#262523"}),dot:/* @__PURE__ */blockBox({w:9,h:9,radius:[4.5,4.5],bg:"#E5372B",color:"#4A4845",dy:-1}),score:/* @__PURE__ */blockBox({w:297,h:69.75,padding:[10,14,10,14],marginTop:12,gap:[12,12],radius:[14,14],bg:"planAccentWash",center:true,color:"#262523"}),scoreLabel:/* @__PURE__ */blockText({size:13.5,weight:600,lineHeight:18.225,color:"#4A4845",wrap:"balance"}),scoreTag:/* @__PURE__ */blockBox({w:51.609,h:17.5,padding:[2,6,2,6],marginTop:3,radius:[5,5],bg:"surface",color:"#262523"}),scoreTagText:/* @__PURE__ */blockText({size:10,weight:600,lineHeight:13.5,color:"#262523",tracking:.6,face:"mono",upper:true,wrap:"balance",marginTop:3,paddingTop:2}),scoreNums:/* @__PURE__ */blockBox({w:94.75,h:49.75,gap:[6,0],center:true,color:"#262523"}),scoreWas:/* @__PURE__ */blockText({size:17,weight:700,lineHeight:25.5,color:"#6B6863",deco:"strike"}),scoreArrow:/* @__PURE__ */blockBox({w:16,h:16,color:"#6B6863"}),scoreArrowFlip:true,scoreNow:/* @__PURE__ */blockText({size:28,weight:800,lineHeight:28,color:"#262523"}),scoreOf:/* @__PURE__ */blockText({size:13,weight:800,lineHeight:13,color:"muted"}),scoreSince:/* @__PURE__ */blockText({size:12.5,weight:700,lineHeight:18.75,color:"planLink",marginTop:3}),sources:/* @__PURE__ */blockBox({w:131.375,h:24,gap:[4,4],color:"#262523"}),sourceDna:/* @__PURE__ */blockBox({w:44,h:24,padding:[0,9,0,9],radius:[999,999],bg:"planLinkWash",center:true,color:"planLink"}),sourceDnaText:/* @__PURE__ */blockText({size:12,weight:700,lineHeight:18,color:"planLink"}),dotWatch:/* @__PURE__ */blockBox({w:9,h:9,radius:[4.5,4.5],bg:"#E5A000",color:"#4A4845",dy:-1}),dotClear:/* @__PURE__ */blockBox({w:9,h:9,radius:[4.5,4.5],bg:"#5FA82B",color:"#4A4845",dy:-1}),scoreLabelMax:135,says:/* @__PURE__ */blockBox({w:297,h:52,padding:[10,12,10,12],marginTop:12,gap:[10,10],radius:[14,14],bg:"#F8F7F4",color:"#262523"}),saysImg:/* @__PURE__ */blockBox({w:32,h:32,radius:[16,16],color:"#262523"}),saysText:/* @__PURE__ */blockText({size:14.5,weight:400,lineHeight:20.3,color:"#4A4845"}),saysBy:/* @__PURE__ */blockText({size:14.5,weight:800,lineHeight:20.3,color:"#262523"}),saysByGap:2,saysTag:/* @__PURE__ */blockBox({w:51.609,h:15,padding:[2,6,2,6],radius:[5,5],bg:"surface",color:"#262523"}),saysTagText:/* @__PURE__ */blockText({size:10,weight:400,lineHeight:14,color:"#262523",tracking:.6,face:"mono",upper:true,paddingTop:2}),saysBare:/* @__PURE__ */blockBox({w:297,h:81,padding:[10,12,10,12],marginTop:12,gap:[10,10],radius:[14,14],bg:"#F8F7F4",color:"#262523"}),saysKicker:/* @__PURE__ */blockText({size:17,weight:400,lineHeight:25.5,color:"#262523"}),saysSerif:/* @__PURE__ */blockText({size:17,weight:800,lineHeight:25.5,color:"#262523",tracking:-.17,wrap:"balance"}),jump:/* @__PURE__ */blockBox({w:297,h:60,padding:[8,14,8,8],marginTop:12,gap:[12,12],radius:[14,14],bg:"planInk",center:true,color:"planOnInk"}),jumpImg:/* @__PURE__ */blockBox({w:44,h:44,radius:[10,10],bg:"surface",color:"surface"}),jumpKicker:/* @__PURE__ */blockText({size:13,weight:800,lineHeight:19.5,color:"planAccent"}),jumpTitle:/* @__PURE__ */blockText({size:15,weight:800,lineHeight:18.75,color:"planOnInk"}),jumpGo:/* @__PURE__ */blockText({size:14,weight:800,lineHeight:21,color:"planOnInk"}),jumpPressScale:.98,more:/* @__PURE__ */blockBox({w:87.547,h:36,marginTop:6,marginBottom:-4,gap:[4,4],minHeight:36,center:true,color:"planLink"}),moreText:/* @__PURE__ */blockText({size:15,weight:800,lineHeight:22.5,color:"planLink"}),moreIcon:/* @__PURE__ */blockBox({w:16,h:16,color:"planLink"}),moreInset:16,moreTurn:{closed:90,open:-90},rep:/* @__PURE__ */blockBox({w:297,h:48.5,padding:[14,14,12,14],marginTop:10,radius:[16,16],bg:"#F8F7F4",color:"#262523"})},tipBlockMetrics={card:/* @__PURE__ */blockBox({w:201.5,h:275.031,padding:[8,10,10,10],radius:[20,20],bg:"#FCF0D6"}),tones:{y:"#FCF0D6",c:"tintBlue",g:"tintGo",r:"tintPink"},img:/* @__PURE__ */blockBox({w:181.5,h:113.438,radius:[10,10],bg:"#F3F3F3"}),n:/* @__PURE__ */blockBox({w:28,h:28,radius:[14,14],bg:"surface",center:true,x:8,y:8}),nText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:14}),title:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:20,marginTop:10}),text:/* @__PURE__ */blockText({size:15,weight:400,lineHeight:21,color:"#4D4D4D",marginTop:4}),foot:/* @__PURE__ */blockBox({w:181.5,h:26.594,padding:[8,0,0,0],gap:[4,4],center:true,color:"ink"}),footText:/* @__PURE__ */blockText({size:12,weight:400,lineHeight:18.6,color:"ink",tracking:.48,face:"mono",upper:true,paddingTop:8}),footArrow:/* @__PURE__ */blockBox({w:14,h:14,color:"ink"}),footArrowFlip:true,pressScale:.98,bare:/* @__PURE__ */blockBox({w:181.5,h:42,padding:[2,0,0,0],center:true}),thumb:/* @__PURE__ */blockBox({w:40,h:40,radius:[10,10],bg:"surface",center:true}),thumbIcon:/* @__PURE__ */blockBox({w:22,h:22})},tipPhotoBlockMetrics={card:/* @__PURE__ */blockBox({w:221,h:152,padding:[8,8,12,8],radius:[20,20],bg:"#FCF0D6"}),tones:{y:"#FCF0D6",c:"#EEDCC8",g:"tintGo",r:"tintPink"},img:/* @__PURE__ */blockBox({w:205,h:102.5,radius:[10,10],bg:"#F3F3F3"}),imgAspect:2,n:/* @__PURE__ */blockBox({w:28,h:28,radius:[14,14],bg:"surface",center:true,x:8,y:8}),nText:/* @__PURE__ */blockText({size:14,weight:700,lineHeight:14}),title:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:19.5,marginTop:10}),titleInset:4,pressScale:.98,bare:/* @__PURE__ */blockBox({w:205,h:42,padding:[2,0,0,0],center:true}),thumb:/* @__PURE__ */blockBox({w:40,h:40,radius:[10,10],bg:"surface",center:true}),thumbIcon:/* @__PURE__ */blockBox({w:22,h:22,color:"ink"})},tipWebBlockMetrics={card:/* @__PURE__ */blockBox({w:226,h:172.047,gap:[10,10]}),img:/* @__PURE__ */blockBox({w:226,h:141.25,radius:[14,14]}),imgAspect:1.6,title:/* @__PURE__ */blockText({size:16,weight:700,lineHeight:20.8,wrap:"balance"}),coverRadius:10,row:{from:440,card:/* @__PURE__ */blockBox({w:400,h:80,padding:[6,0,6,0],gap:[10,10],minHeight:80,center:true}),img:/* @__PURE__ */blockBox({w:64,h:64,radius:[10,10]}),arrowColumn:18,arrow:/* @__PURE__ */blockBox({w:18,h:18,color:"ink"}),arrowTurn:180},phone:{upTo:639,card:/* @__PURE__ */blockBox({w:216,h:162.5,gap:[8,8]}),img:/* @__PURE__ */blockBox({w:216,h:135,radius:[14,14]}),imgAspect:1.6,title:/* @__PURE__ */blockText({size:15,weight:700,lineHeight:19.5,wrap:"balance"}),smallUpTo:359,smallW:208},mark:{tile:/* @__PURE__ */blockBox({w:226,h:141.25,radius:[14,14],bg:"#F5F5F5",center:true,color:"ink"}),icon:{share:.36,min:16,max:40,color:"ink"}},ring:{width:2,offset:2,color:"text"},hoverOffset:3},tipPlanBlockMetrics={card:/* @__PURE__ */blockBox({w:225.406,h:182.844,padding:[14,14,12,14],radius:[18,18],bg:"planAccentChip",color:"#262523"}),tones:{y:"planAccentChip",c:"planLinkChip",g:"#DDEFC4",r:"#FFD8D6"},top:/* @__PURE__ */blockBox({w:197.406,h:30,center:true,color:"#262523"}),nText:/* @__PURE__ */blockText({size:30,weight:900,lineHeight:30,color:"#262523"}),icon:/* @__PURE__ */blockBox({w:26,h:26,color:"#262523"}),title:/* @__PURE__ */blockText({size:17,weight:800,lineHeight:21.25,color:"#262523",marginTop:14}),text:/* @__PURE__ */blockText({size:14.5,weight:400,lineHeight:20.3,color:"#4A4845",marginTop:4}),foot:/* @__PURE__ */blockBox({w:197.406,h:25.75,padding:[10,0,0,0],color:"planLink"}),footText:/* @__PURE__ */blockText({size:10.5,weight:400,lineHeight:15.75,color:"planLink",tracking:.42,face:"mono",upper:true,paddingTop:10})},cartPlanBlockMetrics={line:/* @__PURE__ */blockBox({w:297,h:95.625,gap:[12,12],color:"#262523"}),img:/* @__PURE__ */blockBox({w:64,h:64,radius:[14,14],bg:"planLinkWash",center:true,color:"planLink"}),icon:/* @__PURE__ */blockBox({w:28,h:28,color:"planLink"}),name:/* @__PURE__ */blockText({size:16.5,weight:800,lineHeight:20.625,color:"#262523",wrap:"balance"}),prices:/* @__PURE__ */blockBox({w:221,h:24,marginTop:3,gap:[8,2],center:true,color:"#262523"}),price:/* @__PURE__ */blockText({size:16,weight:800,lineHeight:24,color:"#262523",tabular:true}),was:/* @__PURE__ */blockText({size:14,weight:600,lineHeight:21,color:"#6B6863",deco:"strike"}),small:/* @__PURE__ */blockText({size:14,weight:400,lineHeight:21,color:"#6B6863"}),acts:/* @__PURE__ */blockBox({w:221,h:40,marginTop:8,gap:[16,16],center:true,color:"#262523"}),step:/* @__PURE__ */blockBox({w:110,h:40,radius:[999,999],bg:"surface",edge:{width:1.5,color:"#DAD7D1",ring:true},center:true,color:"#262523"}),remove:/* @__PURE__ */blockBox({w:56.422,h:40,minHeight:40,color:"#4A4845"}),removeText:/* @__PURE__ */blockText({size:14.5,weight:700,lineHeight:21.75,color:"#4A4845",deco:"underline",decoOffset:3,decoThickness:1.5})};function deepFreeze(value){if(value!==null&&typeof value=="object"&&!Object.isFrozen(value))for(let v of Object.values(value))deepFreeze(v);return value}var k=everfurTokens,PRESET=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#preset@v1");function asPreset(theme){return Object.defineProperty(theme,PRESET,{value:theme,enumerable:true}),deepFreeze(theme)}var SCALE_CAPS={content:0,heading:2,control:1.8,compact:1.5,badge:1.3},everfurTheme=asPreset({name:"everfur",colors:{bg:k.color.bg,surface:k.color.efWhite,text:k.color.text,ink:k.role.color.ink,onInk:k.color.efWhite,muted:k.role.color.muted,line:k.role.color.line,go:k.role.color.go,onGo:k.role.color.ink,pink:k.color.efDustyPink,onPink:k.role.color.ink,alert:k.color.alert,alertDeep:k.color.alertDeep,icoSage:k.role.color.icoSage,bgMist:k.color.bgMist,tintSage:k.role.color.tintSage,tintBlue:k.role.color.tintBlue,tintGo:k.role.color.tintGo,tintPink:k.role.color.tintPink,tintYellowEdge:k.role.color.tintYellowEdge,tintWatch:everfurMetrics.colors.watch,tintRed:k.role.color.tintRed,scrim:everfurMetrics.colors.scrim,grab:everfurMetrics.colors.grab,focus:k.role.color.ink,planInk:everfurMetrics.colors.planInk,planOnInk:everfurMetrics.colors.planOnInk,planAccent:everfurMetrics.colors.planAccent,planLink:everfurMetrics.colors.planLink,planAccentWash:everfurMetrics.colors.planAccentWash,planAccentChip:everfurMetrics.colors.planAccentChip,planLinkWash:everfurMetrics.colors.planLinkWash,planLinkChip:everfurMetrics.colors.planLinkChip},radius:{...k.radius},space:{...k.space},type:{family:k.font.family.base,mono:k.font.family.mono,faces:{regular:"Azeret-Regular",medium:"Azeret-Medium",bold:"Azeret-Bold",mono:"AzeretMono-Regular",monoBold:"AzeretMono-Bold"},namedFaces:true,size:{xs:k.font.size.xs,sm:k.font.size.sm,md:k.font.size.md,lg:k.font.size.lg,xl:k.font.size.xl},weight:{...k.font.weight},lineHeight:{...k.font.lineHeight},scaleCaps:SCALE_CAPS},motion:{duration:{press:k.motion.duration.press,fade:k.motion.duration.fade,enter:k.motion.duration.enter,sheet:k.motion.duration.sheet,sheetOut:k.motion.duration.sheetOut},easing:{out:k.motion.easing.out,drawer:k.motion.easing.drawer},pop:{duration:k.motion.duration.enter,from:.95,peakAt:.55,amplitude:.035,switchAmplitude:.06},reduced:false},metrics:everfurMetrics});function presetOf(theme){return theme[PRESET]??everfurTheme}function isObject(v){return v!==null&&typeof v=="object"&&!Array.isArray(v)}function merge(base,over){if(!isObject(base)||!isObject(over))return over===void 0?base:over;let out={...base};for(let[key,value]of Object.entries(over))value!==void 0&&(out[key]=merge(base[key],value));return out}function resolveTheme(partial,base=everfurTheme){if(!partial)return base;let merged=merge(base,partial),given=partial.colors;if(given){let colors=merged.colors;for(let[wash,from,share]of PLAN_WASHES){let c=given[from];c!==void 0&&given[wash]===void 0&&(colors[wash]=mixHex(c,share,colors.surface)??colors[wash]??c)}}return deepFreeze(merged)}var PLAN_WASHES=[["planAccentWash","planAccent",.17],["planAccentChip","planAccent",.47],["planLinkWash","planLink",.12],["planLinkChip","planLink",.2]];function mixHex(color,share,ground){let ch=v=>{let m=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(v??"");return m?[m[1],m[2],m[3]].map(h=>parseInt(h,16)):void 0},[c,g]=[ch(color),ch(ground)];if(!(!c||!g))return`#${c.map((v,i)=>Math.round(v*share+(g[i]??0)*(1-share)).toString(16).padStart(2,"0")).join("").toUpperCase()}`}var ThemeContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#ThemeContext@v1"),host=globalThis,context=host[key]??(host[key]=createContext(null));return context.displayName??(context.displayName="EverfurThemeContext"),context})();function ThemeProvider({theme:theme,children:children}){let outer=useTheme(),key=theme===void 0||isComplete(theme)?theme:contentKey(theme),value=useMemo(()=>isComplete(theme)?filled(theme):resolveTheme(theme,outer),[key,outer]);return createElement(ThemeContext.Provider,{value:value},children)}function contentKey(value){return JSON.stringify(value,(_,v)=>isObject(v)&&!Array.isArray(v)?Object.fromEntries(Object.keys(v).sort().map(k2=>[k2,v[k2]])):v)}function isComplete(theme){return theme!==void 0&&Object.isFrozen(theme)&&GROUPS.every(g=>g in theme)}var GROUPS=["name","colors","radius","space","type","motion","metrics"];function hasEvery(shape,value){if(shape===void 0)return true;if(!isObject(shape))return value!==void 0;if(!isObject(value))return false;for(let key of Object.keys(shape))if(!hasEvery(shape[key],value[key]))return false;return true}var fills=/* @__PURE__ */new WeakMap;function filled(theme){let hit=fills.get(theme);if(hit)return hit;if(hasEvery(everfurTheme,theme))return fills.set(theme,theme),theme;let preset=presetOf(theme),merged=merge(everfurTheme,preset===everfurTheme?theme:merge(preset,theme));merged[PRESET]=preset;let out=deepFreeze(merged);return fills.set(theme,out),out}function useTheme(){let explicit=useContext(ThemeContext);return explicit?filled(explicit):everfurTheme}var px=n=>Math.round(n*1e3)/1e3;function faceOf(weight,mono=false){return mono?weight>450?"monoBold":"mono":weight>500?"bold":weight>450?"medium":"regular"}function withAlpha(color,alpha){let m=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(color);if(!m)return color;let[r,g,b]=[m[1],m[2],m[3]].map(h=>parseInt(h,16));return`rgba(${r}, ${g}, ${b}, ${alpha})`}function channelsOf(color){let hex=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(color);if(hex)return[hex[1],hex[2],hex[3]].map(h=>parseInt(h,16));let rgb=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/i.exec(color);return rgb?[rgb[1],rgb[2],rgb[3]].map(Number):void 0}function mixColor(color,share,base,fallback){let[c,b]=[channelsOf(color),channelsOf(base)];return!c||!b?fallback:`rgb(${c.map((v,i)=>Math.round(v*share+(b[i]??0)*(1-share))).join(", ")})`}function colorOf(t,value){let m=/^([a-zA-Z]+)(?:\/([\d.]+))?$/.exec(value),role=m?.[1];if(!m||role===void 0||!(role in t.colors))return value;let c=t.colors[role];return m[2]===void 0?c:withAlpha(c,Number(m[2]))}function fillOf(t,value){return value==="none"?"transparent":colorOf(t,value)}var DISABLED_OPACITY=.45;function buttonSpec(t,tone,size,inSheet=false){let b=t.metrics.button;if(tone==="text"){let m2=b.text;return{minHeight:0,paddingX:0,gap:b.ink.gap,radius:0,borderWidth:0,borderColor:"transparent",background:"transparent",iconSize:b.inkSm.iconSize,text:{size:m2.fontSize,weight:m2.fontWeight,lineHeight:px(m2.fontSize*m2.lineHeight),color:colorOf(t,m2.color)},pressScale:1,pressOpacity:m2.pressOpacity,disabledOpacity:b.blockedOpacity??DISABLED_OPACITY,fill:false,ring:false}}let v=t.metrics.variants.button,compact=isCompactSize(size),edged=tone==="outline"||tone==="danger"||tone==="warn",m=compact?{...size==="compactSm"?v.sm:size==="compactLg"?v.lg:v.ink,borderWidth:edged?v.outline.borderWidth:0,ring:v.outline.ring}:size==="row"?b.row:tone==="danger"?b.danger:size==="sm"?b[`${tone}Sm`]:b[tone],c=t.colors,own=tone==="money"||tone==="warn"?b[tone]:void 0,paint={ink:{bg:c.ink,fg:c.onInk,edge:c.ink},go:{bg:c.go,fg:c.onGo,edge:c.ink},outline:{bg:"transparent",fg:c.ink,edge:c.ink},pink:{bg:c.pink,fg:c.onPink,edge:c.ink},danger:{bg:c.surface,fg:c.alert,edge:c.alert}},p=own?{bg:fillOf(t,own.bg),fg:colorOf(t,own.fg),edge:colorOf(t,own.edgeColor)}:paint[tone],weight=tone==="outline"&&inSheet&&!compact?b.outlineInSheetWeight:m.fontWeight;return{minHeight:m.minHeight,paddingX:m.paddingX,gap:m.gap,radius:t.radius.pill,borderWidth:m.borderWidth,borderColor:p.edge,background:p.bg,iconSize:m.iconSize,text:{size:m.fontSize,weight:weight,lineHeight:px(m.fontSize*m.lineHeight),color:p.fg},pressScale:t.motion.reduced?1:compact?v.press:t.metrics.press.button,pressOpacity:1,disabledOpacity:compact?v.disabledOpacity:b.blockedOpacity??DISABLED_OPACITY,fill:m.fill,ring:m.ring}}function isCompactSize(size){return size==="compact"||size==="compactSm"||size==="compactLg"}function pillSpec(t,tone){let m=t.metrics.pill,p=m.tones[tone],fg=tone==="clear"?t.colors.ink:colorOf(t,p.fg);return{minHeight:m.minHeight,paddingX:m.paddingX,radius:t.radius.pill,background:colorOf(t,p.bg),ring:p.ring>0?{width:p.ring,color:colorOf(t,p.ringColor)}:null,dot:tone==="new"?{size:m.dot,gap:m.dotGap,color:t.colors.go}:tone==="allergy"?{size:m.allergyDot.size,gap:m.allergyDot.gap,color:colorOf(t,m.allergyDot.color)}:null,text:{size:m.fontSize,weight:m.fontWeight,lineHeight:px(m.fontSize*m.lineHeight),color:fg,mono:m.mono,tracking:m.letterSpacing,upper:m.upper}}}function sheetTitleSpec(t,narrow){let m=t.metrics.sheet,size=m.titleSize,lineHeight=m.titleLineHeight??t.metrics.card.titleLineHeight;return{size:size,weight:m.titleWeight??t.metrics.card.titleWeight,lineHeight:px(size*lineHeight),color:colorOf(t,m.titleColor??"ink"),tracking:m.titleTracking??t.metrics.card.titleTracking}}function textSpecs(t){let m=t.metrics,c=t.colors;return{cardTitle:{size:m.card.titleSize,weight:m.card.titleWeight,lineHeight:px(m.card.titleSize*m.card.titleLineHeight),color:c.ink,tracking:m.card.titleTracking},cardLead:{size:m.card.leadSize,weight:t.type.weight.regular,lineHeight:px(m.card.leadSize*m.card.leadLineHeight),color:c.text},body:{size:m.card.bodySize,weight:t.type.weight.regular,lineHeight:px(m.card.bodySize*m.card.bodyLineHeight),color:c.text},kicker:{size:m.kicker.fontSize,weight:m.kicker.fontWeight,lineHeight:px(m.kicker.fontSize*m.kicker.lineHeight),color:c.muted,mono:true,tracking:m.kicker.letterSpacing,upper:true},sheetTitle:sheetTitleSpec(t),stepperValue:{size:m.quantityStepper.valueSize,weight:m.quantityStepper.valueWeight,lineHeight:px(m.quantityStepper.valueSize*m.quantityStepper.valueLineHeight),color:colorOf(t,m.quantityStepper.valueColor??"text")},tab:{size:m.tabs.fontSize,weight:m.tabs.fontWeight,lineHeight:px(m.tabs.fontSize*m.tabs.lineHeight),color:c.muted},tabCurrent:{size:m.tabs.fontSize,weight:m.tabs.currentWeight,lineHeight:px(m.tabs.fontSize*m.tabs.lineHeight),color:c.ink},emptyTitle:{size:m.empty.titleSize,weight:m.empty.titleWeight,lineHeight:px(m.empty.titleSize*m.empty.titleLineHeight),color:c.ink,tracking:m.empty.titleTracking},emptyLead:{size:m.empty.leadSize,weight:t.type.weight.regular,lineHeight:px(m.empty.leadSize*m.empty.leadLineHeight),color:c.text},emptyLink:{size:m.empty.linkSize,weight:m.empty.linkWeight,lineHeight:px(m.empty.linkSize*m.card.bodyLineHeight),color:c.ink},sumTerm:{size:m.summary.termSize,weight:t.type.weight.regular,lineHeight:px(m.summary.termSize*m.summary.termLineHeight),color:c.muted},sumValue:{size:m.summary.valueSize,weight:m.summary.valueWeight,lineHeight:px(m.summary.valueSize*m.summary.valueLineHeight),color:c.ink},sumTotal:{size:m.summary.totalSize,weight:m.summary.valueWeight,lineHeight:px(m.summary.totalSize*m.summary.totalLineHeight),color:c.ink}}}function quantityStepperSpec(t){let m=t.metrics.quantityStepper;return{edge:{width:m.borderWidth,color:colorOf(t,m.borderColor),inset:m.ring},button:m.button,icon:m.icon,valueMinWidth:m.valueMinWidth,fill:fillOf(t,m.fill??"none"),glyph:colorOf(t,m.glyph??"ink"),off:{color:colorOf(t,m.offColor),opacity:m.offOpacity}}}function textPartSpec(t,p){return{size:p.size,weight:p.weight,lineHeight:p.lineHeight,color:colorOf(t,p.color),...p.face==="mono"?{mono:true}:{},...p.face==="serif"?{serif:true}:{},...p.tracking?{tracking:p.tracking}:{},...p.upper?{upper:true}:{},...p.deco==="none"?{}:{deco:p.deco==="strike"?"strike":"underline",decoOffset:p.decoOffset,decoThickness:p.decoThickness},...p.tabular?{tabular:true}:{},...p.wrap==="auto"?{}:{wrap:p.wrap==="balance"?"balance":"pretty"}}}function partFill(t,value){return value==="none"?void 0:colorOf(t,value)}function summarySpec(t){let m=t.metrics.summary,lh=(size,ratio)=>px(size*ratio);return{paddingX:m.paddingX,paddingY:m.paddingY,radius:m.radius,borderWidth:m.borderWidth,borderColor:t.colors.line,background:colorOf(t,m.background),shadow:m.shadow,row:{paddingY:m.rowPaddingY,minHeight:m.rowMinHeight,gapX:m.rowGapX,gapY:m.rowGapY,divider:m.rowDivider,center:m.rowCenter},totalRowMinHeight:m.totalRowMinHeight,gap:m.gap??0,totalMarginTop:m.totalMarginTop??0,tabular:m.tabular,term:{size:m.termSize,weight:t.type.weight.regular,lineHeight:lh(m.termSize,m.termLineHeight),color:colorOf(t,m.termColor)},value:{size:m.valueSize,weight:m.valueWeight,lineHeight:lh(m.valueSize,m.valueLineHeight),color:colorOf(t,m.valueColor)},totalTerm:{size:m.totalTermSize,weight:m.totalTermWeight,lineHeight:lh(m.totalTermSize,m.termLineHeight),color:colorOf(t,m.totalTermColor)},total:{size:m.totalSize,weight:m.totalWeight,lineHeight:lh(m.totalSize,m.totalLineHeight),color:colorOf(t,m.valueColor)},off:textPartSpec(t,t.metrics.summary.off)}}function skeletonWidth(t,index){let widths=t.metrics.skeleton.widths;return`${widths[index%widths.length]}%`}function clampStep(value,min,max){return Math.max(min,max===void 0?value:Math.min(max,value))}function itemTestID(parent,key,own){return own!==void 0?own:parent===void 0?void 0:`${parent}-${key}`}var nums=group=>group,isBox=v=>"edge"in v&&"shadow"in v&&"fit"in v,isText=v=>"deco"in v&&"face"in v&&"tabular"in v;function byValue(group){let out=/* @__PURE__ */new Map;for(let[k2,v]of Object.entries(group))out.has(v)||out.set(v,k2);return out}var groups,derived=/* @__PURE__ */new WeakMap;function tokenOf(map,theme,v){let k2=map.get(v),t=k2===void 0?void 0:theme[k2];return typeof t=="number"?t:v}function everfurTokens2(theme){let p=everfurTheme;return theme.space===p.space&&theme.radius===p.radius&&theme.type.size===p.type.size&&theme.type.weight===p.type.weight}function onTheme(theme,base){let p=everfurTheme;groups??(groups={space:byValue(nums(p.space)),radius:byValue(nums(p.radius)),size:byValue(nums(p.type.size)),weight:byValue(nums(p.type.weight))});let g=groups,space=v=>tokenOf(g.space,nums(theme.space),v),radius=v=>tokenOf(g.radius,nums(theme.radius),v),walk=v=>Array.isArray(v)?v.map(walk):v===null||typeof v!="object"?v:isBox(v)?{...v,padding:v.padding.map(space),gap:v.gap.map(space),marginTop:space(v.marginTop),marginBottom:space(v.marginBottom),radius:v.radius.map(radius)}:isText(v)?{...v,size:tokenOf(g.size,nums(theme.type.size),v.size),weight:tokenOf(g.weight,nums(theme.type.weight),v.weight),marginTop:space(v.marginTop),paddingTop:space(v.paddingTop)}:Object.fromEntries(Object.entries(v).map(([k2,x])=>[k2,walk(x)]));return walk(base)}function blockMetrics(theme,base){if(everfurTokens2(theme))return base;let perTheme=derived.get(base);perTheme||derived.set(base,perTheme=/* @__PURE__ */new WeakMap);let hit=perTheme.get(theme);if(hit)return hit;let out=onTheme(theme,base);return perTheme.set(theme,out),out}var UiSurfaceContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#SurfaceContext@v1"),host=globalThis;return host[key]??(host[key]=createContext(null))})();function useUiSurface(){return useContext(UiSurfaceContext)}var TEXT_VARIANT_TIERS={display:"heading",headline:"heading",title:"heading",heading:"heading",body:"content",lead:"content",label:"control",meta:"compact",caption:"content",overline:"compact",kicker:"compact"};function textToneColor(t,tone){let c=t.colors;switch(tone){case"ink":return c.ink;case"text":return c.text;case"muted":return c.muted;case"danger":return c.alertDeep;case"inverse":return c.onInk;default:return}}function textVariantSpec(t,variant,tone,weight){let base=textPartSpec(t,t.metrics.text[variant]),color=textToneColor(t,tone);return{...base,...color?{color:color}:{},...weight?{weight:t.type.weight[weight]}:{}}}var PressFeedbackContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-core#PressFeedbackContext@v1"),host=globalThis,context=host[key]??(host[key]=createContext(null));return context.displayName??(context.displayName="EverfurPressFeedbackContext"),context})();function usePressFeedback(){return useContext(PressFeedbackContext)}function pressHandlers(feedback,event,onPress,options={}){if(!feedback||options.disabled)return{onPress:onPress,onPressIn:void 0};let{onPressIn:reportIn,onPress:report,haptic:haptic}=feedback,tick=options.haptics!==false&&event.haptic&&haptic?haptic:void 0;return{onPress:onPress&&(report||tick)?()=>{tick?.(event),report?.(event),onPress()}:onPress,onPressIn:reportIn?()=>reportIn(event):void 0}}function pressScaleFor(feedback,component,designScale=1){return feedback?.pressScale?.[component]??designScale}var TEXT_VARIANT_BREAKS={display:"balance",headline:"balance",title:"balance",heading:"balance",body:"pretty",lead:"pretty",meta:"pretty",caption:"pretty",label:"auto",overline:"auto",kicker:"auto"};function textVariantTier(t,variant){return t.type.variantTiers?.[variant]??TEXT_VARIANT_TIERS[variant]}var ReducedMotionContext=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-native#ReducedMotionContext@v1"),host=globalThis,context=host[key]??(host[key]=createContext(null));return context.displayName??(context.displayName="EverfurReducedMotionContext"),context})();function useKnownReducedMotion(){return useContext(ReducedMotionContext)}function rnText(t,spec){let face2=faceOf(spec.weight,spec.mono===true);return{fontFamily:spec.serif?t.type.faces.serif??t.type.faces.bold:t.type.faces[face2],...t.type.namedFaces?{}:{fontWeight:String(spec.weight)},fontSize:spec.size,lineHeight:spec.lineHeight,color:spec.color,...spec.tracking?{letterSpacing:spec.tracking}:{},...spec.upper?{textTransform:"uppercase"}:{},...spec.deco?rnDeco(spec):{},...spec.tabular?{fontVariant:["tabular-nums"]}:{},...spec.wrap&&Platform.OS==="web"?{textWrap:spec.wrap}:{}}}function rnDeco(spec){let base={textDecorationLine:spec.deco==="strike"?"line-through":"underline"};return Platform.OS!=="web"?base:{...base,...spec.decoOffset?{textUnderlineOffset:spec.decoOffset}:{},...spec.decoThickness?{textDecorationThickness:spec.decoThickness}:{}}}function rnBox(t,b){let[pt=0,pr=0,pb=0,pl=0]=b.padding,[rt=0,rb=0]=b.radius,fill=partFill(t,b.bg);return{paddingTop:pt,paddingRight:pr,paddingBottom:pb,paddingLeft:pl,...b.marginTop?{marginTop:b.marginTop}:{},...b.gap[0]?{columnGap:b.gap[0]}:{},...b.gap[1]?{rowGap:b.gap[1]}:{},...rt===rb?rt?{borderRadius:rt}:{}:{borderTopLeftRadius:rt,borderTopRightRadius:rt,borderBottomLeftRadius:rb,borderBottomRightRadius:rb},...fill?{backgroundColor:fill}:{},...b.edge.width>0&&!b.edge.ring?{borderWidth:b.edge.width,borderColor:colorOf(t,b.edge.color)}:{},...b.minHeight?{minHeight:b.minHeight}:{},...rnShadow(b.shadow)}}function rnRing(t,b){return b.edge.width>0&&b.edge.ring?ringOverlay(b.edge.width,colorOf(t,b.edge.color),b.radius[0]??0):null}function webReducedMotion(){if(Platform.OS!=="web")return false;let g=globalThis;return typeof g.matchMedia=="function"&&g.matchMedia("(prefers-reduced-motion: reduce)").matches}function useOsReducedMotion(known){let[reduced,setReduced]=useState(()=>known===null&&webReducedMotion());return useEffect(()=>{if(known!==null)return;let mounted=true,query=AccessibilityInfo?.isReduceMotionEnabled;if(typeof query=="function"){let result=query.call(AccessibilityInfo);result!=null&&typeof result.then=="function"&&result.then(value=>{mounted&&setReduced(value===true)},()=>{})}let subscription=AccessibilityInfo?.addEventListener?.("reduceMotionChanged",value=>setReduced(value===true));return()=>{mounted=false,subscription?.remove?.()}},[known]),known??reduced}function useRnReduced(t){let os=useOsReducedMotion(useKnownReducedMotion());return t.motion.reduced||os}function ariaState(expanded,pressed,current){return{...expanded===void 0?{}:{expanded:expanded},...pressed===void 0?{}:{checked:pressed},...current===void 0?{}:{selected:current!==false}}}function slopFor(size){let pad=Math.max(0,Math.ceil((44-size)/2));return pad===0?void 0:{top:pad,bottom:pad,left:pad,right:pad}}function rnShadow(s){return s.blur===0&&s.y===0&&s.x===0?null:{shadowColor:s.color,shadowOffset:{width:s.x,height:s.y},shadowOpacity:1,shadowRadius:s.blur,elevation:1}}function ringOverlay(width,color,radius){let fill={position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:radius};return Platform.OS==="web"?{...fill,boxShadow:`inset 0 0 0 ${width}px ${color}`}:{...fill,borderWidth:width,borderColor:color}}function breakProps(mode){return mode==="auto"?null:Platform.OS==="ios"?{lineBreakStrategyIOS:"push-out"}:Platform.OS==="android"&&mode==="balance"?{textBreakStrategy:"balanced"}:null}function weightStyle(t,weight){let w=t.type.weight[weight];return t.type.namedFaces?{fontFamily:t.type.faces[faceOf(w)]}:{fontWeight:String(w)}}function Text({tier:tier,variant:variant,tone:tone,weight:weight,level:level,lineBreak:lineBreak,...props}){let t=useTheme(),cap=t.type.scaleCaps[tier??(variant?textVariantTier(t,variant):"content")],breaks=breakProps(lineBreak??(variant?TEXT_VARIANT_BREAKS[variant]:"auto"));if(variant===void 0&&tone===void 0&&weight===void 0&&level===void 0)return breaks?createElement(Text$1,{...cap>0?{maxFontSizeMultiplier:cap}:{},...breaks,...props}):createElement(Text$1,cap>0?{maxFontSizeMultiplier:cap,...props}:props);let color=textToneColor(t,tone),own=variant?rnText(t,textVariantSpec(t,variant,tone,weight)):{...color?{color:color}:{},...weight?weightStyle(t,weight):{}},heading=level===void 0?{}:{accessibilityRole:"header",...Platform.OS==="web"?{"aria-level":level}:{}};return createElement(Text$1,{...cap>0?{maxFontSizeMultiplier:cap}:{},...breaks,...heading,...props,style:[own,props.style]})}var BOX=24,FINE=16,SEAM=.8,fine=dp=>Math.round(dp*FINE);function place(cx,cy,W,H,ux,uy){let left=cx-W/2,top=cy-H/2,x=Math.round(left),y=Math.round(top);return{position:"absolute",left:x,top:y,width:W,height:H,transform:[{translateX:left-x},{translateY:top-y},{rotate:`${Math.atan2(uy,ux)*180/Math.PI}deg`},{scale:1/FINE}]}}function strokePieces(icon,k2,out){for(let s of icon.strokes){let w=s.width*k2,pts=s.points,n=pts.length/2,last=s.closed?n:n-1;for(let i=0;i<last;i+=1){let j=(i+1)%n,px2=(pts[i*2]??0)*k2,py=(pts[i*2+1]??0)*k2,dx=(pts[j*2]??0)*k2-px2,dy=(pts[j*2+1]??0)*k2-py,len=Math.hypot(dx,dy);if(len===0&&!(n===2&&s.cap))continue;let ux=len===0?1:dx/len,uy=len===0?0:dy/len,e0=s.closed||i>0||s.cap?w/2:0,e1=s.closed||j!==n-1||s.cap?w/2:0,along=(len+e1-e0)/2;out.push({paint:"backgroundColor",style:{...place(px2+ux*along,py+uy*along,fine(len+e0+e1),fine(w),ux,uy),borderTopLeftRadius:e0>0?fine(w)/2:0,borderBottomLeftRadius:e0>0?fine(w)/2:0,borderTopRightRadius:e1>0?fine(w)/2:0,borderBottomRightRadius:e1>0?fine(w)/2:0,...s.opacity===void 0?{}:{opacity:s.opacity}}})}}}function boxPieces(icon,k2,out){for(let b of icon.boxes){let w=(b.w+b.width)*k2,h=(b.h+b.width)*k2;out.push({paint:"borderColor",style:{...place((b.x-b.width/2)*k2+w/2,(b.y-b.width/2)*k2+h/2,fine(w),fine(h),1,0),borderWidth:fine(b.width*k2),borderRadius:(b.radius+b.width/2)*k2*FINE,...b.opacity===void 0?{}:{opacity:b.opacity}}})}}function trianglePieces(icon,k2,out){for(let t of icon.triangles){let p=[0,1,2].map(i=>[(t[i*2]??0)*k2,(t[i*2+1]??0)*k2]),base=0,len=-1;for(let i=0;i<3;i+=1){let a2=p[i]??[0,0],b=p[(i+1)%3]??[0,0],d=Math.hypot(b[0]-a2[0],b[1]-a2[1]);d>len&&(len=d,base=i)}if(len<=0)continue;let b0=p[base]??[0,0],b1=p[(base+1)%3]??[0,0],a=p[(base+2)%3]??[0,0],ux=(b1[0]-b0[0])/len,uy=(b1[1]-b0[1])/len,along=(a[0]-b0[0])*ux+(a[1]-b0[1])*uy,across=(a[0]-b0[0])*-uy+(a[1]-b0[1])*ux,h=Math.abs(across),up=across<0,mid=up?-h/2:h/2,bl=fine(along),br=fine(len)-bl,bh=fine(h);out.push({paint:up?"borderBottomColor":"borderTopColor",style:{...place(b0[0]+ux*(len/2)-uy*mid,b0[1]+uy*(len/2)+ux*mid,bl+br,bh,ux,uy),width:0,height:0,borderLeftWidth:bl,borderRightWidth:br,borderLeftColor:"transparent",borderRightColor:"transparent",...up?{borderBottomWidth:bh}:{borderTopWidth:bh}}})}for(let e of icon.seams){let x0=(e[0]??0)*k2,y0=(e[1]??0)*k2,dx=(e[2]??0)*k2-x0,dy=(e[3]??0)*k2-y0,d=Math.hypot(dx,dy),in0=SEAM*(e[4]??0),in1=SEAM*(e[5]??0),bar=d-in0-in1;if(d===0||bar<=0)continue;let mid=in0+bar/2;out.push({paint:"backgroundColor",style:place(x0+dx/d*mid,y0+dy/d*mid,fine(bar),fine(SEAM),dx/d,dy/d)})}}var cache=/* @__PURE__ */new WeakMap;function piecesOf(icon,size){let sizes=cache.get(icon);sizes===void 0&&(sizes=/* @__PURE__ */new Map,cache.set(icon,sizes));let hit=sizes.get(size);if(hit!==void 0)return hit;let out=[],k2=size/BOX;return boxPieces(icon,k2,out),strokePieces(icon,k2,out),trianglePieces(icon,k2,out),sizes.set(size,out),out}function Glyph({icon:icon,size:size,color:color,label:label,testID:testID,style:style}){let t=useTheme(),side=size??t.metrics.icon.size,ink=color??t.colors.ink;/* @__PURE__ */
3
3
  return jsx(View,{testID:testID,pointerEvents:"none",style:[{width:side,height:side},style],...label?{accessible:true,accessibilityRole:"image",accessibilityLabel:label}:{accessible:false,accessibilityElementsHidden:true,importantForAccessibility:"no-hide-descendants"},children:piecesOf(icon,side).map((piece,i)=>/* @__PURE__ */jsx(View,{style:[piece.style,{[piece.paint]:ink}]},i))})}var REGISTRY=/* @__PURE__ */(()=>{let key=/* @__PURE__ */Symbol.for("@everfur-health/ui-native#icons@v1"),host=globalThis;return host[key]??(host[key]={icons:{},warned:/* @__PURE__ */new Set})})();function registerIcons(icons){Object.assign(REGISTRY.icons,icons)}function iconNamed(name){let icon=REGISTRY.icons[name];return icon===void 0&&(typeof __DEV__<"u"?__DEV__:typeof process<"u"&&process.env.NODE_ENV!=="production")&&!REGISTRY.warned.has(name)&&(REGISTRY.warned.add(name),console.warn(`@everfur-health/ui-native: no icon "${name}" is registered. The lean entry draws only the icons an app registers: registerIcons({ ... }) with the UI_RN_ICON_* exports, or pass a drawing.`)),icon}function Icon({name:name,...rest}){let icon=iconNamed(name);return icon?/* @__PURE__ */jsx(Glyph,{icon:icon,...rest}):null}function usePressLayer(component,info,onPress,designScale=1){return pressLayerOf(usePressFeedback(),component,info,onPress,designScale)}function pressLayerOf(feedback,component,info,onPress,designScale=1){let h=pressHandlers(feedback,{component:component,testID:info.testID,...info.item===void 0?{}:{item:info.item},label:info.label,trackId:info.trackId,haptic:info.haptic===true},onPress,{disabled:info.disabled});return{props:h.onPressIn?{onPress:h.onPress,onPressIn:h.onPressIn}:{onPress:h.onPress},scale:pressScaleFor(feedback,component,designScale)}}var cubic=e=>`cubic-bezier(${e.join(", ")})`,styleAt=(style,pressed)=>typeof style=="function"?style({pressed:pressed}):style,animatedPressable;function animatedPressableOf(){return animatedPressable??(animatedPressable=Animated.createAnimatedComponent(Pressable))}function pressTiming(t,value,toValue){let[a,b,c,d]=t.motion.easing.out;return Animated.timing(value,{toValue:toValue,duration:t.motion.duration.press,easing:Easing.bezier(a,b,c,d),useNativeDriver:true})}function PressBox({style:style,scale:scale,still:still,pop:pop,onPressIn:onPressIn,onPressOut:onPressOut,...props}){let t=useTheme(),value=useRef(null),[held,setHeld]=useState(false),scales=!still&&scale!==1,popping=!still&&pop?.scale!=null;if(Platform.OS==="web"){let motion=scales?{transitionProperty:"transform",transitionDuration:`${t.motion.duration.press}ms`,transitionTimingFunction:cubic(t.motion.easing.out)}:null;return createElement(Pressable,{...props,...pop?{ref:pop.ref}:null,onPressIn:onPressIn,onPressOut:onPressOut,style:({pressed:pressed})=>[styleAt(style,pressed),motion,scales&&pressed?{transform:[{scale:scale}]}:null]})}if(!scales&&!popping)return createElement(Pressable,{...props,onPressIn:onPressIn,onPressOut:onPressOut,style:style});let v=value.current??(value.current=new Animated.Value(0)),pressScale=scales?v.interpolate({inputRange:[0,1],outputRange:[1,scale]}):null,both=pressScale&&popping?Animated.multiply(pressScale,pop?.scale):pressScale??pop?.scale;return createElement(animatedPressableOf(),{...props,onPressIn:e=>{props.disabled||(setHeld(true),scales&&pressTiming(t,v,1).start(),onPressIn?.(e))},onPressOut:e=>{setHeld(false),scales&&pressTiming(t,v,0).start(),onPressOut?.(e)},style:[styleAt(style,held),{transform:[{scale:both}]}]})}function Button({label:label,onPress:onPress,tone:tone="ink",size:size="md",icon:icon,disabled:disabled=false,loading:loading=false,loadingLabel:loadingLabel,loadingIndicator:loadingIndicator="spinner",fullWidth:fullWidth,accessibilityLabel:accessibilityLabel,trackId:trackId,haptic:haptic,testID:testID,style:style,children:children,nativeID:nativeID,onPressIn:onPressIn,"aria-expanded":expanded,"aria-pressed":pressed,"aria-current":current}){let t=useTheme(),inSheet=useUiSurface()==="sheet",reduced=useRnReduced(t),s=buttonSpec(t,tone,size,inSheet),blocked=disabled||loading,block=fullWidth??(inSheet||s.fill),spinner=loading&&loadingIndicator!=="none",spoken2=spinner&&loadingLabel?loadingLabel:accessibilityLabel??(spinner&&loadingLabel?loadingLabel:label),press=usePressLayer("Button",{testID:testID,label:spoken2,trackId:trackId,haptic:haptic,disabled:blocked},onPress,s.pressScale),layerIn=press.props.onPressIn,pressIn=onPressIn&&layerIn?()=>{layerIn(),onPressIn()}:onPressIn??layerIn;/* @__PURE__ */
4
4
  return jsxs(PressBox,{...press.props,onPressIn:pressIn,scale:press.scale,still:reduced,disabled:blocked,nativeID:nativeID,hitSlop:slopFor(Math.max(s.minHeight,s.text.lineHeight)),accessibilityRole:"button",accessibilityLabel:spoken2,accessibilityState:{disabled:blocked,busy:loading,...ariaState(expanded,pressed,current)},"aria-busy":loading,testID:testID,style:({pressed:pressed2})=>[styles.base,{minHeight:Math.max(s.minHeight,0),paddingHorizontal:s.paddingX,columnGap:s.gap,borderRadius:s.radius,borderWidth:s.ring?0:s.borderWidth,borderColor:s.borderColor,backgroundColor:s.background},block?styles.block:styles.auto,blocked?{opacity:s.disabledOpacity}:null,pressed2&&s.pressOpacity!==1&&!blocked?{opacity:s.pressOpacity}:null,style],children:[spinner?/* @__PURE__ */jsx(ActivityIndicator,{size:"small",color:s.text.color,animating:!reduced,hidesWhenStopped:false,accessibilityLabel:spoken2}):icon?/* @__PURE__ */jsx(Icon,{name:icon,size:s.iconSize,color:s.text.color}):null,
5
5
  /* @__PURE__ */jsx(View,{style:styles.labelBox,children:/* @__PURE__ */jsx(Text,{tier:"control",style:[rnText(t,s.text),styles.label],children:spinner&&loadingLabel?loadingLabel:children??label})}),s.ring&&s.borderWidth>0?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ringOverlay(s.borderWidth,s.borderColor,s.radius)}):null]})}var styles=StyleSheet.create({base:{flexDirection:"row",alignItems:"center",justifyContent:"center"},block:{alignSelf:"stretch"},auto:{alignSelf:"flex-start"},labelBox:{flexShrink:1},label:{textAlign:"center"}});StyleSheet.create({head:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between"},shrink:{flexShrink:1},end:{justifyContent:"flex-end"}});StyleSheet.create({chip:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start"}});StyleSheet.create({st:{alignItems:"center",alignSelf:"stretch"},center:{textAlign:"center"},acts:{alignItems:"center",alignSelf:"stretch"},link:{alignItems:"center",justifyContent:"center"},underline:{textDecorationLine:"underline"}});StyleSheet.create({acts:{flexDirection:"row",flexWrap:"wrap",alignItems:"center"},st:{alignItems:"center",alignSelf:"stretch"},center:{textAlign:"center"},stActs:{alignItems:"center",alignSelf:"stretch"},link:{alignItems:"center",justifyContent:"center"},underline:{textDecorationLine:"underline"}});function Pill({label:label,tone:tone="plain",testID:testID,style:style,maxFontSizeMultiplier:maxFontSizeMultiplier,grouped:grouped=true}){let t=useTheme(),s=pillSpec(t,tone);/* @__PURE__ */
@@ -17,16 +17,16 @@ return jsxs(View,{testID:itemTestID(testID,row.key??i,row.testID),...read(row),s
17
17
  /* @__PURE__ */jsx(Text,{...breaks,style:rnText(t,isTotal?s.totalTerm:s.term),children:row.term}),
18
18
  /* @__PURE__ */jsx(Text,{...breaks,style:[rnText(t,isTotal?s.total:row.tone==="off"?s.off:s.value),styles11.value,s.tabular?styles11.tabular:null],children:row.value})]},row.key??`${i}`)})})}var styles11=StyleSheet.create({row:{flexDirection:"row",flexWrap:"wrap",justifyContent:"space-between"},cardRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},value:{marginLeft:"auto",textAlign:"right"},tabular:{fontVariant:["tabular-nums"]}});function BlockIcon({icon:icon,size:size,color:color,style:style}){let t=useTheme();return typeof icon=="function"?icon({size:size,color:color??t.colors.ink}):typeof icon!="string"?/* @__PURE__ */jsx(Glyph,{icon:icon,size:size,color:color,style:style}):/* @__PURE__ */jsx(Icon,{name:icon,size:size,color:color,style:style})}function stepTo(q,next){next>q.value&&q.onMore?q.onMore():next<q.value&&q.onFewer?q.onFewer():q.onChange?.(next)}function useShown(key){let[loaded,setLoaded]=useState(null);return{shown:key!==null&&loaded===key,onShown:()=>setLoaded(key)}}function FadeImage({onShown:onShown,onLoad:onLoad,style:style,...props}){let t=useTheme(),reduced=useRnReduced(t),fade=useRef(new Animated.Value(0)).current;/* @__PURE__ */
19
19
  return jsx(Animated.Image,{...props,fadeDuration:0,onLoad:e=>{onLoad?.(e);let ms=t.motion.duration.fade;if(reduced||ms<=0){fade.setValue(1),onShown?.();return}Animated.timing(fade,{toValue:1,duration:ms,easing:Easing.out(Easing.cubic),useNativeDriver:Platform.OS!=="web"}).start(()=>onShown?.())},style:[style,{opacity:fade}]})}function BlockThumbnail({src:src,alt:alt,size:size="xs",icon:icon=UI_RN_ICON_BOX,iconSize:iconSize,tint:tint,iconColor:iconColor,onError:onError,testID:testID,style:style}){let t=useTheme(),p=t.metrics.thumbnail[size],[failed,setFailed]=useState(null),[aspect,setAspect]=useState(null),photo=src&&failed!==src?src:null,top=p.top;useEffect(()=>{if(!top||!photo)return;let live=true;return Image.getSize(photo,(w,h)=>{live&&w>0&&h>0&&setAspect(w/h)},()=>{}),()=>{live=false}},[top,photo]);let frame=photo?p.frame:p.empty,[pt=0,pr=0,pb=0,pl=0]=frame.padding,[ipt=0,ipr=0,ipb=0,ipl=0]=p.img.padding,ring=rnRing(t,frame),tall=p.top&&aspect!==null;/* @__PURE__ */
20
- return jsxs(View,{testID:testID,style:[rnBox(t,frame),size==="md"||size==="lg"?{width:"100%",aspectRatio:1}:{width:frame.w,height:frame.h},{alignItems:"center",justifyContent:"center",overflow:"hidden"},!photo&&tint!==void 0?{backgroundColor:tint}:null,style],...photo?{}:alt?{accessible:true,accessibilityRole:"image",accessibilityLabel:alt}:{accessibilityElementsHidden:true,importantForAccessibility:"no-hide-descendants"},children:[photo?/* @__PURE__ */jsx(FadeImage,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:tall?"stretch":p.img.fit==="contain"?"contain":"cover",style:tall?{position:"absolute",top:pt,left:pl,width:frame.w-pl-pr,height:(frame.w-pl-pr)/aspect}:{position:"absolute",top:pt+ipt,right:pr+ipr,bottom:pb+ipb,left:pl+ipl}},photo):/* @__PURE__ */jsx(BlockIcon,{icon:icon,size:iconSize??p.icon.w,color:iconColor??colorOf(t,p.icon.color)}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}StyleSheet.create({row:{flexDirection:"row",alignItems:"flex-start"},noGap:{columnGap:0},box:{alignItems:"center",justifyContent:"center"},grow:{flex:1,minWidth:0}});StyleSheet.create({row:{flexDirection:"row",alignItems:"center"},words:{flex:1,minWidth:0},center:{alignItems:"center",justifyContent:"center"}});StyleSheet.create({hintRow:{flexDirection:"row",alignItems:"flex-start"},grow:{flex:1}});StyleSheet.create({base:{alignItems:"center",justifyContent:"center",alignSelf:"flex-start"}});StyleSheet.create({base:{alignSelf:"flex-start"}});StyleSheet.create({track:{alignSelf:"flex-start"},thumb:{position:"absolute"}});StyleSheet.create({box:{flexDirection:"row"},line:{alignItems:"center"},area:{alignItems:"stretch"},input:{flex:1,minWidth:0,margin:0,borderWidth:0,backgroundColor:"transparent"},hidden:{position:"absolute",width:1,height:1,overflow:"hidden",opacity:0}});StyleSheet.create({clip:{overflow:"hidden"},center:{alignItems:"center",justifyContent:"center"},stack:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start"}});StyleSheet.create({leadAuto:{flexShrink:0},words:{flex:1,minWidth:0},below:{alignSelf:"flex-start"},end:{flexDirection:"row",alignItems:"center",flexShrink:1,maxWidth:"45%",justifyContent:"flex-end"},flush:{marginTop:0}});StyleSheet.create({offRow:{flexDirection:"row",alignItems:"center",alignSelf:"stretch"},offText:{flexShrink:1,minWidth:0},offAction:{flexDirection:"row",alignItems:"center",marginLeft:"auto",flexShrink:0},row:{flexDirection:"row",alignItems:"flex-start"},copy:{flex:1,minWidth:0},acts:{flexDirection:"row",flexWrap:"wrap",alignItems:"center"}});StyleSheet.create({fill:{flex:1},host:{position:"absolute",left:0,right:0,alignItems:"center"},cardHost:{position:"absolute"},card:{alignSelf:"stretch"},start:{textAlign:"left"},pill:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",justifyContent:"center",alignSelf:"center",maxWidth:"100%"},center:{textAlign:"center"},shrink:{flexShrink:1}});StyleSheet.create({row:{flexDirection:"row",alignItems:"center"}});function Square({size:size,web:web,src:src,alt:alt,fallback:fallback,onError:onError,testID:testID}){let t=useTheme(),q=web?blocksMetrics(t).cartWeb:blocksMetrics(t).cartSquare,box=web?blocksMetrics(t).cartWeb.sq:blocksMetrics(t).cartSquare[size],icon=t.metrics.thumbnail.xs.icon,[failed,setFailed]=useState(null),photo=src&&failed!==src?src:null,{shown:shown,onShown:onShown}=useShown(photo),inset=box.w*q.imgInset,blend=q.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
21
- return jsxs(View,{testID:testID,accessible:!photo&&!!alt,accessibilityRole:!photo&&alt?"image":void 0,accessibilityLabel:photo?void 0:alt,style:[rnBox(t,box),{width:box.w,height:box.h,overflow:"hidden",alignItems:"center",justifyContent:"center"},!shown&&fallback?.tint!==void 0?{backgroundColor:fallback.tint}:null],children:[shown?null:/* @__PURE__ */jsx(BlockIcon,{icon:fallback?.icon??UI_RN_ICON_BOX,size:fallback?.iconSize??icon.w,color:fallback?.iconColor??colorOf(t,icon.color)}),photo?/* @__PURE__ */jsx(FadeImage,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onShown:onShown,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:q.imgFit,style:[{position:"absolute",top:inset,right:inset,bottom:inset,left:inset},blend]},photo):null]})}function PlanLine({name:name,image:image,imageAlt:imageAlt,price:price,wasPrice:wasPrice,smalls:smalls,quantity:quantity,removeLabel:removeLabel,onRemove:onRemove,actions:actions,fallback:fallback,onImageError:onImageError,error:error,testID:testID,style:style}){let t=useTheme(),p=blocksMetrics(t).cartPlan,text=x=>rnText(t,textPartSpec(t,x)),[failed,setFailed]=useState(null),photo=image&&failed!==image?image:null,{shown:shown,onShown:onShown}=useShown(photo),part=n=>testID===void 0?void 0:`${testID}-${n}`,[gx=0]=p.line.gap,acts=actions!==void 0?actions.map(a=>({...a,testID:itemTestID(testID,a.key,a.testID)})):removeLabel&&onRemove?[{key:"remove",label:removeLabel,onPress:onRemove,testID:part("remove"),disabled:void 0,accessibilityLabel:void 0}]:[];/* @__PURE__ */
20
+ return jsxs(View,{testID:testID,style:[rnBox(t,frame),size==="md"||size==="lg"?{width:"100%",aspectRatio:1}:{width:frame.w,height:frame.h},{alignItems:"center",justifyContent:"center",overflow:"hidden"},!photo&&tint!==void 0?{backgroundColor:tint}:null,style],...photo?{}:alt?{accessible:true,accessibilityRole:"image",accessibilityLabel:alt}:{accessibilityElementsHidden:true,importantForAccessibility:"no-hide-descendants"},children:[photo?/* @__PURE__ */jsx(FadeImage,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:tall?"stretch":p.img.fit==="contain"?"contain":"cover",style:tall?{position:"absolute",top:pt,left:pl,width:frame.w-pl-pr,height:(frame.w-pl-pr)/aspect}:{position:"absolute",top:pt+ipt,right:pr+ipr,bottom:pb+ipb,left:pl+ipl}},photo):/* @__PURE__ */jsx(BlockIcon,{icon:icon,size:iconSize??p.icon.w,color:iconColor??colorOf(t,p.icon.color)}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}StyleSheet.create({row:{flexDirection:"row",alignItems:"flex-start"},noGap:{columnGap:0},box:{alignItems:"center",justifyContent:"center"},grow:{flex:1,minWidth:0}});StyleSheet.create({row:{flexDirection:"row",alignItems:"center"},words:{flex:1,minWidth:0},center:{alignItems:"center",justifyContent:"center"}});StyleSheet.create({hintRow:{flexDirection:"row",alignItems:"flex-start"},grow:{flex:1}});StyleSheet.create({base:{alignItems:"center",justifyContent:"center",alignSelf:"flex-start"}});StyleSheet.create({base:{alignSelf:"flex-start"}});StyleSheet.create({track:{alignSelf:"flex-start"},thumb:{position:"absolute"}});StyleSheet.create({box:{flexDirection:"row"},line:{alignItems:"center"},area:{alignItems:"stretch"},input:{flex:1,minWidth:0,margin:0,borderWidth:0,backgroundColor:"transparent"},hidden:{position:"absolute",width:1,height:1,overflow:"hidden",opacity:0}});StyleSheet.create({clip:{overflow:"hidden"},center:{alignItems:"center",justifyContent:"center"},stack:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start"}});StyleSheet.create({leadAuto:{flexShrink:0},words:{flex:1,minWidth:0},below:{alignSelf:"flex-start"},end:{flexDirection:"row",alignItems:"center",flexShrink:1,maxWidth:"45%",justifyContent:"flex-end"},flush:{marginTop:0}});StyleSheet.create({offRow:{flexDirection:"row",alignItems:"center",alignSelf:"stretch"},offText:{flexShrink:1,minWidth:0},offAction:{flexDirection:"row",alignItems:"center",marginLeft:"auto",flexShrink:0},row:{flexDirection:"row",alignItems:"flex-start"},copy:{flex:1,minWidth:0},acts:{flexDirection:"row",flexWrap:"wrap",alignItems:"center"}});StyleSheet.create({fill:{flex:1},host:{position:"absolute",left:0,right:0,alignItems:"center"},cardHost:{position:"absolute"},card:{alignSelf:"stretch"},start:{textAlign:"left"},pill:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",justifyContent:"center",alignSelf:"center",maxWidth:"100%"},center:{textAlign:"center"},shrink:{flexShrink:1}});StyleSheet.create({row:{flexDirection:"row",alignItems:"center"}});function Square({size:size,web:web,src:src,alt:alt,fallback:fallback,onError:onError,testID:testID}){let t=useTheme(),q=web?blockMetrics(t,cartWebBlockMetrics):blockMetrics(t,cartSquareBlockMetrics),box=web?blockMetrics(t,cartWebBlockMetrics).sq:blockMetrics(t,cartSquareBlockMetrics)[size],icon=t.metrics.thumbnail.xs.icon,[failed,setFailed]=useState(null),photo=src&&failed!==src?src:null,{shown:shown,onShown:onShown}=useShown(photo),inset=box.w*q.imgInset,blend=q.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
21
+ return jsxs(View,{testID:testID,accessible:!photo&&!!alt,accessibilityRole:!photo&&alt?"image":void 0,accessibilityLabel:photo?void 0:alt,style:[rnBox(t,box),{width:box.w,height:box.h,overflow:"hidden",alignItems:"center",justifyContent:"center"},!shown&&fallback?.tint!==void 0?{backgroundColor:fallback.tint}:null],children:[shown?null:/* @__PURE__ */jsx(BlockIcon,{icon:fallback?.icon??UI_RN_ICON_BOX,size:fallback?.iconSize??icon.w,color:fallback?.iconColor??colorOf(t,icon.color)}),photo?/* @__PURE__ */jsx(FadeImage,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onShown:onShown,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:q.imgFit,style:[{position:"absolute",top:inset,right:inset,bottom:inset,left:inset},blend]},photo):null]})}function PlanLine({name:name,image:image,imageAlt:imageAlt,price:price,wasPrice:wasPrice,smalls:smalls,quantity:quantity,removeLabel:removeLabel,onRemove:onRemove,actions:actions,fallback:fallback,onImageError:onImageError,error:error,testID:testID,style:style}){let t=useTheme(),p=blockMetrics(t,cartPlanBlockMetrics),text=x=>rnText(t,textPartSpec(t,x)),[failed,setFailed]=useState(null),photo=image&&failed!==image?image:null,{shown:shown,onShown:onShown}=useShown(photo),part=n=>testID===void 0?void 0:`${testID}-${n}`,[gx=0]=p.line.gap,acts=actions!==void 0?actions.map(a=>({...a,testID:itemTestID(testID,a.key,a.testID)})):removeLabel&&onRemove?[{key:"remove",label:removeLabel,onPress:onRemove,testID:part("remove"),disabled:void 0,accessibilityLabel:void 0}]:[];/* @__PURE__ */
22
22
  return jsxs(View,{testID:testID,style:[{flexDirection:"row",alignItems:"flex-start",columnGap:gx},style],children:[
23
23
  /* @__PURE__ */jsxs(View,{testID:part("image"),accessible:!photo&&!!imageAlt,accessibilityRole:!photo&&imageAlt?"image":void 0,accessibilityLabel:photo?void 0:imageAlt,style:[rnBox(t,p.img),{width:p.img.w,height:p.img.h,overflow:"hidden",alignItems:"center",justifyContent:"center"},!shown&&fallback?.tint!==void 0?{backgroundColor:fallback.tint}:null],children:[shown?null:/* @__PURE__ */jsx(BlockIcon,{icon:fallback?.icon??UI_RN_ICON_BOX,size:fallback?.iconSize??p.icon.w,color:fallback?.iconColor??colorOf(t,p.icon.color)}),photo?/* @__PURE__ */jsx(FadeImage,{source:{uri:photo},accessibilityLabel:imageAlt,accessible:!!imageAlt,onShown:onShown,onError:()=>{setFailed(photo),onImageError?.(photo)},resizeMode:"cover",style:{position:"absolute",top:0,right:0,bottom:0,left:0}},photo):null]}),
24
24
  /* @__PURE__ */jsxs(View,{style:{flex:1,minWidth:0},children:[
25
- /* @__PURE__ */jsx(Text,{testID:part("name"),style:text(p.name),children:name}),price||wasPrice||smalls&&smalls.length>0?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",columnGap:p.prices.gap[0],rowGap:p.prices.gap[1],marginTop:p.prices.marginTop},children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:text(p.price),children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:text(p.was),children:wasPrice}):null,smalls?.map((line,i)=>/* @__PURE__ */jsx(Text,{style:text(p.small),children:line},`${i}-${line}`))]}):null,quantity||acts.length>0?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"center",columnGap:p.acts.gap[0],marginTop:p.acts.marginTop},children:[quantity?/* @__PURE__ */jsx(InkedQuantityStepper,{ink:colorOf(t,p.step.color),variant:"compact",value:quantity.value,min:quantity.min,max:quantity.max,label:quantity.label,fewerLabel:quantity.fewerLabel,moreLabel:quantity.moreLabel,onChange:v=>stepTo(quantity,v)}):null,acts.map(a=>/* @__PURE__ */jsx(Pressable,{testID:a.testID,onPress:a.disabled?void 0:a.onPress,disabled:a.disabled,accessibilityRole:"button",accessibilityLabel:a.accessibilityLabel??a.label,accessibilityState:a.disabled?{disabled:true}:void 0,hitSlop:slopFor(p.remove.h),style:[{minHeight:p.remove.minHeight||void 0,justifyContent:"center"},a.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(p.removeText),children:a.label})},a.key))]}):null,error?/* @__PURE__ */jsx(Text,{accessibilityRole:"alert",accessibilityLiveRegion:"polite",style:[text(p.small),{marginTop:p.acts.marginTop,color:t.colors.alert}],children:error}):null]})]})}function DrawerPlan({plan:plan,testID:testID}){let t=useTheme(),d=blocksMetrics(t).cartDrawer,id=plan.testID??testID,ring=rnRing(t,d.plan);/* @__PURE__ */
25
+ /* @__PURE__ */jsx(Text,{testID:part("name"),style:text(p.name),children:name}),price||wasPrice||smalls&&smalls.length>0?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",columnGap:p.prices.gap[0],rowGap:p.prices.gap[1],marginTop:p.prices.marginTop},children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:text(p.price),children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:text(p.was),children:wasPrice}):null,smalls?.map((line,i)=>/* @__PURE__ */jsx(Text,{style:text(p.small),children:line},`${i}-${line}`))]}):null,quantity||acts.length>0?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"center",columnGap:p.acts.gap[0],marginTop:p.acts.marginTop},children:[quantity?/* @__PURE__ */jsx(InkedQuantityStepper,{ink:colorOf(t,p.step.color),variant:"compact",value:quantity.value,min:quantity.min,max:quantity.max,label:quantity.label,fewerLabel:quantity.fewerLabel,moreLabel:quantity.moreLabel,onChange:v=>stepTo(quantity,v)}):null,acts.map(a=>/* @__PURE__ */jsx(Pressable,{testID:a.testID,onPress:a.disabled?void 0:a.onPress,disabled:a.disabled,accessibilityRole:"button",accessibilityLabel:a.accessibilityLabel??a.label,accessibilityState:a.disabled?{disabled:true}:void 0,hitSlop:slopFor(p.remove.h),style:[{minHeight:p.remove.minHeight||void 0,justifyContent:"center"},a.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(p.removeText),children:a.label})},a.key))]}):null,error?/* @__PURE__ */jsx(Text,{accessibilityRole:"alert",accessibilityLiveRegion:"polite",style:[text(p.small),{marginTop:p.acts.marginTop,color:t.colors.alert}],children:error}):null]})]})}function DrawerPlan({plan:plan,testID:testID}){let t=useTheme(),d=blockMetrics(t,cartDrawerBlockMetrics),id=plan.testID??testID,ring=rnRing(t,d.plan);/* @__PURE__ */
26
26
  return jsxs(View,{testID:id,role:"group",accessibilityLabel:plan.label,style:[rnBox(t,d.plan),{flexDirection:"row",alignSelf:"flex-start"}],children:[plan.options.map(o=>{let on=o.value===plan.value,box=on?d.planOn:d.planBtn;/* @__PURE__ */
27
- return jsx(Pressable,{testID:id===void 0?void 0:`${id}-${o.value}`,onPress:on?void 0:()=>plan.onChange?.(o.value),accessibilityRole:"button",accessibilityLabel:o.label,accessibilityState:{checked:on},"aria-pressed":on,hitSlop:slopFor(box.minHeight||box.h),style:[rnBox(t,box),{minHeight:box.minHeight||void 0,justifyContent:"center"}],children:/* @__PURE__ */jsx(Text,{tier:"control",style:rnText(t,textPartSpec(t,on?d.planOnText:d.planText)),children:o.label})},o.value)}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function DrawerStepper({q:q,testID:testID}){let t=useTheme(),d=blocksMetrics(t).cartDrawer,reduced=useRnReduced(t),min=q.min??1,max=q.max??Number.POSITIVE_INFINITY,part=n=>testID===void 0?void 0:`${testID}-${n}`,ring=rnRing(t,d.qty),step=(label,icon,off,next,id)=>/* @__PURE__ */jsx(Pressable,{testID:part(id),onPress:off?void 0:()=>stepTo(q,next),accessibilityRole:"button",accessibilityLabel:label,disabled:off,accessibilityState:off?{disabled:true}:void 0,hitSlop:slopFor(d.qtyBtn.w),style:({pressed:pressed})=>[rnBox(t,d.qtyBtn),{width:d.qtyBtn.w,height:d.qtyBtn.h,alignItems:"center",justifyContent:"center"},pressed&&!reduced&&!off?{transform:[{scale:d.pressScale}]}:null],children:/* @__PURE__ */jsx(Glyph,{icon:icon==="minus"?UI_RN_ICON_MINUS:UI_RN_ICON_PLUS,size:d.qtyIcon.w,color:t.colors.text})});/* @__PURE__ */
27
+ return jsx(Pressable,{testID:id===void 0?void 0:`${id}-${o.value}`,onPress:on?void 0:()=>plan.onChange?.(o.value),accessibilityRole:"button",accessibilityLabel:o.label,accessibilityState:{checked:on},"aria-pressed":on,hitSlop:slopFor(box.minHeight||box.h),style:[rnBox(t,box),{minHeight:box.minHeight||void 0,justifyContent:"center"}],children:/* @__PURE__ */jsx(Text,{tier:"control",style:rnText(t,textPartSpec(t,on?d.planOnText:d.planText)),children:o.label})},o.value)}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function DrawerStepper({q:q,testID:testID}){let t=useTheme(),d=blockMetrics(t,cartDrawerBlockMetrics),reduced=useRnReduced(t),min=q.min??1,max=q.max??Number.POSITIVE_INFINITY,part=n=>testID===void 0?void 0:`${testID}-${n}`,ring=rnRing(t,d.qty),step=(label,icon,off,next,id)=>/* @__PURE__ */jsx(Pressable,{testID:part(id),onPress:off?void 0:()=>stepTo(q,next),accessibilityRole:"button",accessibilityLabel:label,disabled:off,accessibilityState:off?{disabled:true}:void 0,hitSlop:slopFor(d.qtyBtn.w),style:({pressed:pressed})=>[rnBox(t,d.qtyBtn),{width:d.qtyBtn.w,height:d.qtyBtn.h,alignItems:"center",justifyContent:"center"},pressed&&!reduced&&!off?{transform:[{scale:d.pressScale}]}:null],children:/* @__PURE__ */jsx(Glyph,{icon:icon==="minus"?UI_RN_ICON_MINUS:UI_RN_ICON_PLUS,size:d.qtyIcon.w,color:t.colors.text})});/* @__PURE__ */
28
28
  return jsxs(View,{testID:testID,role:"group",accessibilityLabel:q.label,style:[rnBox(t,d.qty),{flexDirection:"row",alignItems:"center",height:d.qty.h}],children:[step(q.fewerLabel,"minus",q.value<=min,Math.max(min,q.value-1),"fewer"),
29
- /* @__PURE__ */jsx(Text,{testID:part("count"),accessibilityLiveRegion:"polite",style:[rnText(t,textPartSpec(t,d.count)),{minWidth:d.countMin,textAlign:"center"}],children:q.value}),step(q.moreLabel,"plus",q.value>=max,Math.min(max,q.value+1),"more"),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function DrawerLine({name:name,image:image,imageAlt:imageAlt,badge:badge,meta:meta,note:note,plan:plan,price:price,wasPrice:wasPrice,quantity:quantity,removeLabel:removeLabel,onRemove:onRemove,actions:actions,fallback:fallback,onImageError:onImageError,error:error,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}){let t=useTheme(),d=blocksMetrics(t).cartDrawer,text=x=>rnText(t,textPartSpec(t,x)),[failed,setFailed]=useState(null),photo=image&&failed!==image?image:null,{shown:shown,onShown:onShown}=useShown(photo),part=n=>testID===void 0?void 0:`${testID}-${n}`,[gx=0]=d.line.gap,imgRing=rnRing(t,d.img),badgeRing=rnRing(t,d.badge),icon=t.metrics.thumbnail.xs.icon;if(loading)/* @__PURE__ */
29
+ /* @__PURE__ */jsx(Text,{testID:part("count"),accessibilityLiveRegion:"polite",style:[rnText(t,textPartSpec(t,d.count)),{minWidth:d.countMin,textAlign:"center"}],children:q.value}),step(q.moreLabel,"plus",q.value>=max,Math.min(max,q.value+1),"more"),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function DrawerLine({name:name,image:image,imageAlt:imageAlt,badge:badge,meta:meta,note:note,plan:plan,price:price,wasPrice:wasPrice,quantity:quantity,removeLabel:removeLabel,onRemove:onRemove,actions:actions,fallback:fallback,onImageError:onImageError,error:error,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}){let t=useTheme(),d=blockMetrics(t,cartDrawerBlockMetrics),text=x=>rnText(t,textPartSpec(t,x)),[failed,setFailed]=useState(null),photo=image&&failed!==image?image:null,{shown:shown,onShown:onShown}=useShown(photo),part=n=>testID===void 0?void 0:`${testID}-${n}`,[gx=0]=d.line.gap,imgRing=rnRing(t,d.img),badgeRing=rnRing(t,d.badge),icon=t.metrics.thumbnail.xs.icon;if(loading)/* @__PURE__ */
30
30
  return jsxs(View,{testID:testID,style:[{flexDirection:"row",alignItems:"flex-start",columnGap:gx},style],children:[
31
31
  /* @__PURE__ */jsx(View,{style:[rnBox(t,d.img),{width:d.img.w,height:d.img.h}],children:imgRing?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:imgRing}):null}),
32
32
  /* @__PURE__ */jsx(View,{style:{flex:1,minWidth:0},children:/* @__PURE__ */jsx(Skeleton,{lines:2,label:loadingLabel})})]});let acts=actions!==void 0?actions.map(a=>({...a,testID:itemTestID(testID,a.key,a.testID)})):removeLabel&&onRemove?[{key:"remove",label:removeLabel,onPress:onRemove,testID:part("remove"),disabled:void 0,accessibilityLabel:`${removeLabel} ${name}`}]:[];/* @__PURE__ */
@@ -36,10 +36,10 @@ return jsxs(View,{testID:testID,style:[{flexDirection:"row",alignItems:"flex-sta
36
36
  /* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"flex-start",columnGap:gx},children:[
37
37
  /* @__PURE__ */jsxs(View,{testID:part("name"),style:{flex:1,minWidth:0,flexDirection:"row",flexWrap:"wrap",alignItems:d.name.center?"center":"baseline",columnGap:d.name.gap[0],rowGap:d.name.gap[1]},children:[
38
38
  /* @__PURE__ */jsx(Text,{style:text(d.nameText),children:name}),badge?/* @__PURE__ */jsxs(View,{style:[rnBox(t,d.badge),{height:d.badge.h,justifyContent:"center"}],children:[
39
- /* @__PURE__ */jsx(Text,{style:text(d.badgeText),children:badge.label}),badgeRing?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:badgeRing}):null]}):null]}),price||wasPrice?/* @__PURE__ */jsxs(View,{children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:[text(d.price),{alignSelf:"flex-start"}],children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:[text(d.was),{alignSelf:"flex-end",textAlign:"right"}],children:wasPrice}):null]}):null]}),meta?/* @__PURE__ */jsx(Text,{style:[text(d.meta),{marginTop:d.meta.marginTop}],children:meta}):null,note?/* @__PURE__ */jsx(Text,{style:[text(d.note),{marginTop:d.note.marginTop}],children:note}):null,plan||quantity||acts.length>0?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",columnGap:d.acts.gap[0],rowGap:d.acts.gap[1],marginTop:d.acts.marginTop},children:[plan?/* @__PURE__ */jsx(DrawerPlan,{plan:plan,testID:part("plan")}):null,quantity?/* @__PURE__ */jsx(DrawerStepper,{q:quantity,testID:part("stepper")}):null,acts.map(a=>/* @__PURE__ */jsx(Pressable,{testID:a.testID,onPress:a.disabled?void 0:a.onPress,disabled:a.disabled,accessibilityRole:"button",accessibilityLabel:a.accessibilityLabel??a.label,accessibilityState:a.disabled?{disabled:true}:void 0,hitSlop:slopFor(d.remove.minHeight||d.remove.h),style:[{minHeight:d.remove.minHeight||void 0,justifyContent:"center"},a.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(d.removeText),children:a.label})},a.key))]}):null,error?/* @__PURE__ */jsx(Text,{accessibilityRole:"alert",accessibilityLiveRegion:"polite",style:[text(d.meta),{marginTop:d.acts.marginTop,color:t.colors.alert}],children:error}):null]})]})}function CartLine(props){let{name:name,image:image,imageAlt:imageAlt,badge:badge,meta:meta,metas:metas,price:price,wasPrice:wasPrice,quantity:quantity,removeLabel:removeLabel,onRemove:onRemove,actions:actions,fallback:fallback,onImageError:onImageError,variant:variant="standard",thumbSize:thumbSize="md",align:align="top",namePress:namePress,error:error,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}=props,t=useTheme(),m=blocksMetrics(t).cart,shot=t.metrics.thumbnail.xs,text=p=>rnText(t,textPartSpec(t,p)),side=image?shot.frame.w:shot.empty.w,[gx=0,gy=0]=m.line.gap,row={flexDirection:"row",alignItems:m.line.center?"center":"flex-start",columnGap:gx};if(variant==="drawer")/* @__PURE__ */return jsx(DrawerLine,{...props});if(loading)/* @__PURE__ */
39
+ /* @__PURE__ */jsx(Text,{style:text(d.badgeText),children:badge.label}),badgeRing?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:badgeRing}):null]}):null]}),price||wasPrice?/* @__PURE__ */jsxs(View,{children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:[text(d.price),{alignSelf:"flex-start"}],children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:[text(d.was),{alignSelf:"flex-end",textAlign:"right"}],children:wasPrice}):null]}):null]}),meta?/* @__PURE__ */jsx(Text,{style:[text(d.meta),{marginTop:d.meta.marginTop}],children:meta}):null,note?/* @__PURE__ */jsx(Text,{style:[text(d.note),{marginTop:d.note.marginTop}],children:note}):null,plan||quantity||acts.length>0?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",columnGap:d.acts.gap[0],rowGap:d.acts.gap[1],marginTop:d.acts.marginTop},children:[plan?/* @__PURE__ */jsx(DrawerPlan,{plan:plan,testID:part("plan")}):null,quantity?/* @__PURE__ */jsx(DrawerStepper,{q:quantity,testID:part("stepper")}):null,acts.map(a=>/* @__PURE__ */jsx(Pressable,{testID:a.testID,onPress:a.disabled?void 0:a.onPress,disabled:a.disabled,accessibilityRole:"button",accessibilityLabel:a.accessibilityLabel??a.label,accessibilityState:a.disabled?{disabled:true}:void 0,hitSlop:slopFor(d.remove.minHeight||d.remove.h),style:[{minHeight:d.remove.minHeight||void 0,justifyContent:"center"},a.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(d.removeText),children:a.label})},a.key))]}):null,error?/* @__PURE__ */jsx(Text,{accessibilityRole:"alert",accessibilityLiveRegion:"polite",style:[text(d.meta),{marginTop:d.acts.marginTop,color:t.colors.alert}],children:error}):null]})]})}function CartLine(props){let{name:name,image:image,imageAlt:imageAlt,badge:badge,meta:meta,metas:metas,price:price,wasPrice:wasPrice,quantity:quantity,removeLabel:removeLabel,onRemove:onRemove,actions:actions,fallback:fallback,onImageError:onImageError,variant:variant="standard",thumbSize:thumbSize="md",align:align="top",namePress:namePress,error:error,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}=props,t=useTheme(),m=blockMetrics(t,cartBlockMetrics),shot=t.metrics.thumbnail.xs,text=p=>rnText(t,textPartSpec(t,p)),side=image?shot.frame.w:shot.empty.w,[gx=0,gy=0]=m.line.gap,row={flexDirection:"row",alignItems:m.line.center?"center":"flex-start",columnGap:gx};if(variant==="drawer")/* @__PURE__ */return jsx(DrawerLine,{...props});if(loading)/* @__PURE__ */
40
40
  return jsxs(View,{testID:testID,style:[rnBox(t,m.line),row,style],children:[
41
41
  /* @__PURE__ */jsx(View,{style:{width:side,height:side,borderRadius:shot.frame.radius[0],backgroundColor:t.colors.tintSage}}),
42
- /* @__PURE__ */jsx(View,{style:{flex:1},children:/* @__PURE__ */jsx(Skeleton,{lines:2,label:loadingLabel})})]});let metaEl=metas&&metas.length>0?metas.map((line,i)=>/* @__PURE__ */jsx(Text,{style:[text(m.meta),{marginTop:m.meta.marginTop}],children:line},`${i}-${line}`)):meta?/* @__PURE__ */jsx(Text,{style:[text(m.meta),{marginTop:m.meta.marginTop}],children:meta}):null,part=n=>testID===void 0?void 0:`${testID}-${n}`,act=(key,label,onPress,extra)=>/* @__PURE__ */jsx(Pressable,{testID:extra?.testID,onPress:extra?.disabled?void 0:onPress,disabled:extra?.disabled,accessibilityRole:"button",accessibilityLabel:extra?.accessibilityLabel??label,accessibilityState:extra?.disabled?{disabled:true}:void 0,hitSlop:slopFor(m.removeBox.minHeight||m.remove.lineHeight),style:[{minHeight:m.removeBox.minHeight||void 0,justifyContent:"center"},extra?.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(m.remove),children:label})},key),remove=actions!==void 0?actions.length>0?actions.map(a=>act(a.key,a.label,a.onPress,{disabled:a.disabled,accessibilityLabel:a.accessibilityLabel,testID:itemTestID(testID,a.key,a.testID)})):null:removeLabel&&onRemove?act("remove",removeLabel,onRemove):null;if(variant==="square"||variant==="web"){let web=variant==="web",q=web?{...blocksMetrics(t).cartSquare,...blocksMetrics(t).cartWeb}:blocksMetrics(t).cartSquare,ring=rnRing(t,q.badge),sqAct=(key,label,onPress,extra)=>/* @__PURE__ */jsx(Pressable,{testID:extra?.testID,onPress:extra?.disabled?void 0:onPress,disabled:extra?.disabled,accessibilityRole:"button",accessibilityLabel:extra?.accessibilityLabel??label,accessibilityState:extra?.disabled?{disabled:true}:void 0,hitSlop:slopFor(q.actBox.minHeight||q.act.lineHeight),style:[{minHeight:q.actBox.minHeight||void 0,justifyContent:"center"},extra?.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(q.act),children:label})},key),acts=web?[]:actions!==void 0?actions.map(a=>sqAct(a.key,a.label,a.onPress,{disabled:a.disabled,accessibilityLabel:a.accessibilityLabel,testID:itemTestID(testID,a.key,a.testID)})):removeLabel&&onRemove?[sqAct("remove",removeLabel,onRemove)]:[],lifted=namePress!==void 0&&acts.length>0;/* @__PURE__ */
42
+ /* @__PURE__ */jsx(View,{style:{flex:1},children:/* @__PURE__ */jsx(Skeleton,{lines:2,label:loadingLabel})})]});let metaEl=metas&&metas.length>0?metas.map((line,i)=>/* @__PURE__ */jsx(Text,{style:[text(m.meta),{marginTop:m.meta.marginTop}],children:line},`${i}-${line}`)):meta?/* @__PURE__ */jsx(Text,{style:[text(m.meta),{marginTop:m.meta.marginTop}],children:meta}):null,part=n=>testID===void 0?void 0:`${testID}-${n}`,act=(key,label,onPress,extra)=>/* @__PURE__ */jsx(Pressable,{testID:extra?.testID,onPress:extra?.disabled?void 0:onPress,disabled:extra?.disabled,accessibilityRole:"button",accessibilityLabel:extra?.accessibilityLabel??label,accessibilityState:extra?.disabled?{disabled:true}:void 0,hitSlop:slopFor(m.removeBox.minHeight||m.remove.lineHeight),style:[{minHeight:m.removeBox.minHeight||void 0,justifyContent:"center"},extra?.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(m.remove),children:label})},key),remove=actions!==void 0?actions.length>0?actions.map(a=>act(a.key,a.label,a.onPress,{disabled:a.disabled,accessibilityLabel:a.accessibilityLabel,testID:itemTestID(testID,a.key,a.testID)})):null:removeLabel&&onRemove?act("remove",removeLabel,onRemove):null;if(variant==="square"||variant==="web"){let web=variant==="web",q=web?{...blockMetrics(t,cartSquareBlockMetrics),...blockMetrics(t,cartWebBlockMetrics)}:blockMetrics(t,cartSquareBlockMetrics),ring=rnRing(t,q.badge),sqAct=(key,label,onPress,extra)=>/* @__PURE__ */jsx(Pressable,{testID:extra?.testID,onPress:extra?.disabled?void 0:onPress,disabled:extra?.disabled,accessibilityRole:"button",accessibilityLabel:extra?.accessibilityLabel??label,accessibilityState:extra?.disabled?{disabled:true}:void 0,hitSlop:slopFor(q.actBox.minHeight||q.act.lineHeight),style:[{minHeight:q.actBox.minHeight||void 0,justifyContent:"center"},extra?.disabled?{opacity:DISABLED_OPACITY}:null],children:/* @__PURE__ */jsx(Text,{tier:"control",style:text(q.act),children:label})},key),acts=web?[]:actions!==void 0?actions.map(a=>sqAct(a.key,a.label,a.onPress,{disabled:a.disabled,accessibilityLabel:a.accessibilityLabel,testID:itemTestID(testID,a.key,a.testID)})):removeLabel&&onRemove?[sqAct("remove",removeLabel,onRemove)]:[],lifted=namePress!==void 0&&acts.length>0;/* @__PURE__ */
43
43
  return jsxs(View,{testID:testID,style:[{flexDirection:"row",alignItems:align==="center"||q.line.center?"center":"flex-start",columnGap:q.line.gap[0]},style],children:[
44
44
  /* @__PURE__ */jsx(Square,{size:thumbSize,web:web,src:image,alt:imageAlt,fallback:fallback,onError:onImageError,testID:part("image")}),
45
45
  /* @__PURE__ */jsxs(View,{style:[{flex:1,minWidth:0},lifted?{zIndex:1}:null],children:[
@@ -51,13 +51,13 @@ return jsxs(View,{testID:testID,style:[rnBox(t,m.line),{rowGap:gy,columnGap:0},s
51
51
  /* @__PURE__ */jsx(BlockThumbnail,{size:"xs",src:image,alt:imageAlt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,onError:onImageError,testID:part("image")}),
52
52
  /* @__PURE__ */jsxs(View,{style:{flex:1,minWidth:0},children:[
53
53
  /* @__PURE__ */jsxs(View,{style:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",columnGap:m.name.gap[0],rowGap:m.name.gap[1]},children:[
54
- /* @__PURE__ */jsx(Text,{style:text(m.nameText),children:name}),badge?/* @__PURE__ */jsx(Pill,{label:badge.label,tone:badge.tone??"rx"}):null]}),metaEl,stepper||remove?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"center",...actions&&actions.length>1?{flexWrap:"wrap",rowGap:m.acts.gap[1]}:{},columnGap:m.acts.gap[0],marginTop:m.acts.marginTop},children:[stepper,remove]}):null,error?/* @__PURE__ */jsx(Text,{accessibilityRole:"alert",accessibilityLiveRegion:"polite",style:[text(m.meta),{marginTop:m.acts.marginTop,color:t.colors.alert}],children:error}):null]})]}),price||wasPrice?/* @__PURE__ */jsxs(View,{style:{marginLeft:side+gx,flexDirection:"row",flexWrap:"wrap",alignItems:"baseline",columnGap:m.end.gap[0],rowGap:m.end.gap[1]},children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:text(m.price),children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:text(m.was),children:wasPrice}):null]}):null]})}function Action({action:action,testID:testID,quiet:quiet,web:web=false}){let t=useTheme(),m=blocksMetrics(t).order,q=blocksMetrics(t).orderQuiet,w=blocksMetrics(t).orderWeb,reduced=useRnReduced(t),off=action.disabled===true||action.busy===true,[box,words]=web?action.tone==="link"?[w.link,w.linkText]:action.tone==="go"?[w.go,w.goText]:[w.plain,w.plainText]:action.tone==="link"?[q.link,q.linkText]:action.tone==="go"?[m.go,m.goText]:quiet?[q.plain,q.plainText]:[m.plain,m.plainText],label=rnText(t,textPartSpec(t,words)),iconSize=web?w.icon.w:quiet?q.icon.w:m.icon.w,ring=web?rnRing(t,box):null;if(web){let settles=action.tone!=="link"&&!reduced;/* @__PURE__ */
54
+ /* @__PURE__ */jsx(Text,{style:text(m.nameText),children:name}),badge?/* @__PURE__ */jsx(Pill,{label:badge.label,tone:badge.tone??"rx"}):null]}),metaEl,stepper||remove?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"center",...actions&&actions.length>1?{flexWrap:"wrap",rowGap:m.acts.gap[1]}:{},columnGap:m.acts.gap[0],marginTop:m.acts.marginTop},children:[stepper,remove]}):null,error?/* @__PURE__ */jsx(Text,{accessibilityRole:"alert",accessibilityLiveRegion:"polite",style:[text(m.meta),{marginTop:m.acts.marginTop,color:t.colors.alert}],children:error}):null]})]}),price||wasPrice?/* @__PURE__ */jsxs(View,{style:{marginLeft:side+gx,flexDirection:"row",flexWrap:"wrap",alignItems:"baseline",columnGap:m.end.gap[0],rowGap:m.end.gap[1]},children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:text(m.price),children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:text(m.was),children:wasPrice}):null]}):null]})}function Action({action:action,testID:testID,quiet:quiet,web:web=false}){let t=useTheme(),m=blockMetrics(t,orderBlockMetrics),q=blockMetrics(t,orderQuietBlockMetrics),w=blockMetrics(t,orderWebBlockMetrics),reduced=useRnReduced(t),off=action.disabled===true||action.busy===true,[box,words]=web?action.tone==="link"?[w.link,w.linkText]:action.tone==="go"?[w.go,w.goText]:[w.plain,w.plainText]:action.tone==="link"?[q.link,q.linkText]:action.tone==="go"?[m.go,m.goText]:quiet?[q.plain,q.plainText]:[m.plain,m.plainText],label=rnText(t,textPartSpec(t,words)),iconSize=web?w.icon.w:quiet?q.icon.w:m.icon.w,ring=web?rnRing(t,box):null;if(web){let settles=action.tone!=="link"&&!reduced;/* @__PURE__ */
55
55
  return jsxs(Pressable,{testID:testID,onPress:off?void 0:action.onPress,disabled:off,hitSlop:slopFor(box.h),accessibilityRole:"button",accessibilityLabel:action.label,accessibilityState:{disabled:off,busy:action.busy===true},style:({pressed:pressed})=>[rnBox(t,box),{flexDirection:"row",alignItems:"center",justifyContent:"center"},off?{opacity:DISABLED_OPACITY}:null,pressed&&settles?{transform:[{scale:w.pressScale}]}:null],children:[action.icon?/* @__PURE__ */jsx(BlockIcon,{icon:action.icon,size:iconSize,color:typeof label.color=="string"?label.color:void 0}):null,
56
56
  /* @__PURE__ */jsx(Text,{tier:"control",numberOfLines:1,style:label,children:action.label}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}/* @__PURE__ */
57
57
  return jsxs(Pressable,{testID:testID,onPress:off?void 0:action.onPress,disabled:off,hitSlop:slopFor(box.h),accessibilityRole:"button",accessibilityLabel:action.label,accessibilityState:{disabled:off,busy:action.busy===true},style:[rnBox(t,box),quiet?{flexShrink:1,minWidth:0}:{flex:1,minWidth:0},{flexDirection:"row",alignItems:"center",justifyContent:"center"},off?{opacity:DISABLED_OPACITY}:null],children:[action.icon?/* @__PURE__ */jsx(BlockIcon,{icon:action.icon,size:iconSize,color:typeof label.color=="string"?label.color:void 0}):null,
58
- /* @__PURE__ */jsx(Text,{tier:"control",numberOfLines:1,style:label,children:action.label})]})}function Shot({shot:shot,pressable:pressable,testID:testID,onMeasure:onMeasure,quiet:quiet,web:web=false}){let t=useTheme(),m=blocksMetrics(t).order,q=blocksMetrics(t).orderQuiet,w=blocksMetrics(t).orderWeb,reduced=useRnReduced(t),ref=useRef(null),p=t.metrics.thumbnail.sm,sqInset=w.sq.w*w.imgInset,hasSrc=!!shot.src,sqSide=w.sq.h,frame=useMemo(()=>web?{padding:[sqInset,sqInset,sqInset,sqInset],h:sqSide}:quiet&&hasSrc?q.shotImg:hasSrc?p.frame:p.empty,[web,sqInset,sqSide,quiet,hasSrc,q,p]),measure=useCallback(()=>new Promise(resolve=>{let v=ref.current;if(!v||typeof v.measureInWindow!="function"){resolve(null);return}let[pt=0,pr=0,pb=0,pl=0]=frame.padding;v.measureInWindow((x,y,width,height)=>{resolve(width>0||height>0?{x:x+pl,y:y+pt,width:Math.max(0,width-pl-pr),height:Math.max(0,height-pt-pb)}:null)})}),[frame]),key=shot.key;useEffect(()=>{if(onMeasure)return onMeasure(key,measure),()=>onMeasure(key,null)},[onMeasure,key,measure]);let live=pressable&&shot.onPress!==void 0,art=web?/* @__PURE__ */jsx(WebSquare,{shot:shot,alt:live?void 0:shot.alt,testID:live||onMeasure?void 0:testID}):quiet?/* @__PURE__ */jsx(Square2,{shot:shot,alt:live?void 0:shot.alt,testID:live||onMeasure?void 0:testID}):/* @__PURE__ */jsx(BlockThumbnail,{size:"sm",src:shot.src,alt:live?void 0:shot.alt,icon:shot.icon,iconSize:shot.iconSize,tint:shot.tint,iconColor:shot.iconColor,onError:shot.onError,testID:live||onMeasure?void 0:testID});return live?/* @__PURE__ */jsx(Pressable,{ref:ref,collapsable:false,testID:testID,onPress:shot.onPress,hitSlop:slopFor(frame.h),accessibilityRole:"button",accessibilityLabel:shot.alt,style:({pressed:pressed})=>pressed&&!reduced?{transform:[{scale:m.shotPressScale}]}:null,children:art}):onMeasure?/* @__PURE__ */jsx(View,{ref:ref,collapsable:false,testID:testID,children:art}):art}function Square2({shot:shot,alt:alt,testID:testID}){let t=useTheme(),q=blocksMetrics(t).orderQuiet,[failed,setFailed]=useState(null),src=shot.src&&failed!==shot.src?shot.src:null;if(!src)/* @__PURE__ */return jsx(BlockThumbnail,{size:"sm",src:null,alt:alt,icon:shot.icon,iconSize:shot.iconSize,tint:shot.tint,iconColor:shot.iconColor,testID:testID});let[pt=0,pr=0,pb=0,pl=0]=q.shotImg.padding,blend=q.shotBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
59
- return jsx(View,{testID:testID,style:[rnBox(t,q.shot),{width:q.shot.w,height:q.shot.h,overflow:"hidden"}],children:/* @__PURE__ */jsx(Image,{source:{uri:src},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(src),shot.onError?.(src)},resizeMode:q.shotImg.fit==="contain"?"contain":"cover",style:[{position:"absolute",top:pt,right:pr,bottom:pb,left:pl},blend]})})}function WebSquare({shot:shot,alt:alt,testID:testID}){let t=useTheme(),w=blocksMetrics(t).orderWeb,icon=t.metrics.thumbnail.sm.icon,[failed,setFailed]=useState(null),src=shot.src&&failed!==shot.src?shot.src:null,inset=w.sq.w*w.imgInset,blend=w.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null,band=w.sqRing;/* @__PURE__ */
60
- return jsx(View,{style:{margin:-band,padding:band,borderRadius:(w.sq.radius[0]??0)+band,backgroundColor:colorOf(t,w.card.bg)||void 0},children:/* @__PURE__ */jsx(View,{testID:testID,accessible:!src&&!!alt,accessibilityRole:!src&&alt?"image":void 0,accessibilityLabel:src?void 0:alt,style:[rnBox(t,w.sq),{width:w.sq.w,height:w.sq.h,overflow:"hidden",alignItems:"center",justifyContent:"center"},!src&&shot.tint!==void 0?{backgroundColor:shot.tint}:null],children:src?/* @__PURE__ */jsx(Image,{source:{uri:src},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(src),shot.onError?.(src)},resizeMode:w.imgFit,style:[{position:"absolute",top:inset,right:inset,bottom:inset,left:inset},blend]}):/* @__PURE__ */jsx(BlockIcon,{icon:shot.icon??UI_RN_ICON_BOX,size:shot.iconSize??icon.w,color:shot.iconColor??colorOf(t,icon.color)})})})}function gridRows(items,columns){let rows=[];for(let i=0;i<items.length;i+=columns){let row=items.slice(i,i+columns);for(;row.length<columns;)row.push(null);rows.push(row)}return rows}function OrderRow(props){let{title:title,meta:meta,metaLink:metaLink,notes:notes,total:total,status:status,shots:shots=[],actions:actions=[],onPress:onPress,accessibilityLabel:accessibilityLabel,error:error,loading:loading=false,loadingLabel:loadingLabel,actionGrid:actionGrid=false,variant:variant="standard",onShotMeasure:onShotMeasure,testID:testID,style:style}=props,t=useTheme(),m=blocksMetrics(t).order,q=blocksMetrics(t).orderQuiet,w=blocksMetrics(t).orderWeb,quiet=variant==="quiet",web=variant==="web",text=p=>rnText(t,textPartSpec(t,p));if(loading)/* @__PURE__ */
58
+ /* @__PURE__ */jsx(Text,{tier:"control",numberOfLines:1,style:label,children:action.label})]})}function Shot({shot:shot,pressable:pressable,testID:testID,onMeasure:onMeasure,quiet:quiet,web:web=false}){let t=useTheme(),m=blockMetrics(t,orderBlockMetrics),q=blockMetrics(t,orderQuietBlockMetrics),w=blockMetrics(t,orderWebBlockMetrics),reduced=useRnReduced(t),ref=useRef(null),p=t.metrics.thumbnail.sm,sqInset=w.sq.w*w.imgInset,hasSrc=!!shot.src,sqSide=w.sq.h,frame=useMemo(()=>web?{padding:[sqInset,sqInset,sqInset,sqInset],h:sqSide}:quiet&&hasSrc?q.shotImg:hasSrc?p.frame:p.empty,[web,sqInset,sqSide,quiet,hasSrc,q,p]),measure=useCallback(()=>new Promise(resolve=>{let v=ref.current;if(!v||typeof v.measureInWindow!="function"){resolve(null);return}let[pt=0,pr=0,pb=0,pl=0]=frame.padding;v.measureInWindow((x,y,width,height)=>{resolve(width>0||height>0?{x:x+pl,y:y+pt,width:Math.max(0,width-pl-pr),height:Math.max(0,height-pt-pb)}:null)})}),[frame]),key=shot.key;useEffect(()=>{if(onMeasure)return onMeasure(key,measure),()=>onMeasure(key,null)},[onMeasure,key,measure]);let live=pressable&&shot.onPress!==void 0,art=web?/* @__PURE__ */jsx(WebSquare,{shot:shot,alt:live?void 0:shot.alt,testID:live||onMeasure?void 0:testID}):quiet?/* @__PURE__ */jsx(Square2,{shot:shot,alt:live?void 0:shot.alt,testID:live||onMeasure?void 0:testID}):/* @__PURE__ */jsx(BlockThumbnail,{size:"sm",src:shot.src,alt:live?void 0:shot.alt,icon:shot.icon,iconSize:shot.iconSize,tint:shot.tint,iconColor:shot.iconColor,onError:shot.onError,testID:live||onMeasure?void 0:testID});return live?/* @__PURE__ */jsx(Pressable,{ref:ref,collapsable:false,testID:testID,onPress:shot.onPress,hitSlop:slopFor(frame.h),accessibilityRole:"button",accessibilityLabel:shot.alt,style:({pressed:pressed})=>pressed&&!reduced?{transform:[{scale:m.shotPressScale}]}:null,children:art}):onMeasure?/* @__PURE__ */jsx(View,{ref:ref,collapsable:false,testID:testID,children:art}):art}function Square2({shot:shot,alt:alt,testID:testID}){let t=useTheme(),q=blockMetrics(t,orderQuietBlockMetrics),[failed,setFailed]=useState(null),src=shot.src&&failed!==shot.src?shot.src:null;if(!src)/* @__PURE__ */return jsx(BlockThumbnail,{size:"sm",src:null,alt:alt,icon:shot.icon,iconSize:shot.iconSize,tint:shot.tint,iconColor:shot.iconColor,testID:testID});let[pt=0,pr=0,pb=0,pl=0]=q.shotImg.padding,blend=q.shotBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
59
+ return jsx(View,{testID:testID,style:[rnBox(t,q.shot),{width:q.shot.w,height:q.shot.h,overflow:"hidden"}],children:/* @__PURE__ */jsx(Image,{source:{uri:src},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(src),shot.onError?.(src)},resizeMode:q.shotImg.fit==="contain"?"contain":"cover",style:[{position:"absolute",top:pt,right:pr,bottom:pb,left:pl},blend]})})}function WebSquare({shot:shot,alt:alt,testID:testID}){let t=useTheme(),w=blockMetrics(t,orderWebBlockMetrics),icon=t.metrics.thumbnail.sm.icon,[failed,setFailed]=useState(null),src=shot.src&&failed!==shot.src?shot.src:null,inset=w.sq.w*w.imgInset,blend=w.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null,band=w.sqRing;/* @__PURE__ */
60
+ return jsx(View,{style:{margin:-band,padding:band,borderRadius:(w.sq.radius[0]??0)+band,backgroundColor:colorOf(t,w.card.bg)||void 0},children:/* @__PURE__ */jsx(View,{testID:testID,accessible:!src&&!!alt,accessibilityRole:!src&&alt?"image":void 0,accessibilityLabel:src?void 0:alt,style:[rnBox(t,w.sq),{width:w.sq.w,height:w.sq.h,overflow:"hidden",alignItems:"center",justifyContent:"center"},!src&&shot.tint!==void 0?{backgroundColor:shot.tint}:null],children:src?/* @__PURE__ */jsx(Image,{source:{uri:src},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(src),shot.onError?.(src)},resizeMode:w.imgFit,style:[{position:"absolute",top:inset,right:inset,bottom:inset,left:inset},blend]}):/* @__PURE__ */jsx(BlockIcon,{icon:shot.icon??UI_RN_ICON_BOX,size:shot.iconSize??icon.w,color:shot.iconColor??colorOf(t,icon.color)})})})}function gridRows(items,columns){let rows=[];for(let i=0;i<items.length;i+=columns){let row=items.slice(i,i+columns);for(;row.length<columns;)row.push(null);rows.push(row)}return rows}function OrderRow(props){let{title:title,meta:meta,metaLink:metaLink,notes:notes,total:total,status:status,shots:shots=[],actions:actions=[],onPress:onPress,accessibilityLabel:accessibilityLabel,error:error,loading:loading=false,loadingLabel:loadingLabel,actionGrid:actionGrid=false,variant:variant="standard",onShotMeasure:onShotMeasure,testID:testID,style:style}=props,t=useTheme(),m=blockMetrics(t,orderBlockMetrics),q=blockMetrics(t,orderQuietBlockMetrics),w=blockMetrics(t,orderWebBlockMetrics),quiet=variant==="quiet",web=variant==="web",text=p=>rnText(t,textPartSpec(t,p));if(loading)/* @__PURE__ */
61
61
  return jsx(View,{testID:testID,style:[rnBox(t,web?w.card:m.card),style],children:/* @__PURE__ */jsx(Skeleton,{lines:3,label:loadingLabel})});if(web){let[rt=0]=w.card.radius,lifted=onPress?{zIndex:1}:null;/* @__PURE__ */
62
62
  return jsx(View,{testID:testID,style:[{borderRadius:rt,backgroundColor:colorOf(t,w.card.bg)||void 0},rnShadow(w.lift),style],children:/* @__PURE__ */jsxs(View,{style:[rnBox(t,w.card),{flexDirection:"row",alignItems:w.card.center?"center":"flex-start"}],children:[onPress?/* @__PURE__ */jsx(Pressable,{onPress:onPress,accessibilityRole:"button",accessibilityLabel:accessibilityLabel,style:{position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:rt}}):null,shots.length>0?/* @__PURE__ */jsx(View,{style:[{flexDirection:"row",width:w.shots.w},lifted],children:shots.map((s,i)=>/* @__PURE__ */jsx(View,{style:i>0?{marginLeft:-w.sqOverlap}:null,children:/* @__PURE__ */jsx(Shot,{web:true,quiet:false,shot:s,pressable:onPress===void 0,testID:itemTestID(testID===void 0?void 0:`${testID}-shot`,s.key,s.testID),onMeasure:onShotMeasure})},s.key))}):null,
63
63
  /* @__PURE__ */jsxs(View,{pointerEvents:"box-none",style:{flex:1,minWidth:0,rowGap:w.text.gap[1]},children:[
@@ -78,7 +78,7 @@ return jsxs(View,{testID:testID,style:[rnBox(t,m.card),{columnGap:0},style],chil
78
78
  /* @__PURE__ */jsxs(View,{style:{flex:1,minWidth:0},children:[
79
79
  /* @__PURE__ */jsx(Text,{style:text(m.jumpKicker),children:jump.kicker}),
80
80
  /* @__PURE__ */jsx(Text,{style:text(m.jumpTitle),children:jump.title})]}),
81
- /* @__PURE__ */jsx(Text,{style:text(m.jumpGo),children:jump.go})]});return jump.onPress?/* @__PURE__ */jsx(Pressable,{testID:testID,onPress:jump.onPress,accessibilityRole:"button",accessibilityLabel:jump.accessibilityLabel??`${jump.kicker}, ${jump.title}`,style:({pressed:pressed})=>[...strip,pressed&&!reduced?{transform:[{scale:m.jumpPressScale}]}:null],children:inner}):/* @__PURE__ */jsx(View,{testID:testID,style:strip,children:inner})}function PlanNeedCard({kicker:kicker,source:source,sources:givenSources,title:title,signals:signals,score:score,more:more,quote:quote,jump:jump,variant:variant="standard",children:children,beforeJump:beforeJump,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}){let t=useTheme(),plan=variant==="plan",mp=blocksMetrics(t).needPlan,m=plan?mp:blocksMetrics(t).need,part=n=>testID===void 0?void 0:`${testID}-${n}`,sources=givenSources??(source?[{label:source}]:[]),text=p=>rnText(t,textPartSpec(t,p)),card=[rnBox(t,m.card),{marginTop:0},style];if(loading)/* @__PURE__ */
81
+ /* @__PURE__ */jsx(Text,{style:text(m.jumpGo),children:jump.go})]});return jump.onPress?/* @__PURE__ */jsx(Pressable,{testID:testID,onPress:jump.onPress,accessibilityRole:"button",accessibilityLabel:jump.accessibilityLabel??`${jump.kicker}, ${jump.title}`,style:({pressed:pressed})=>[...strip,pressed&&!reduced?{transform:[{scale:m.jumpPressScale}]}:null],children:inner}):/* @__PURE__ */jsx(View,{testID:testID,style:strip,children:inner})}function PlanNeedCard({kicker:kicker,source:source,sources:givenSources,title:title,signals:signals,score:score,more:more,quote:quote,jump:jump,variant:variant="standard",children:children,beforeJump:beforeJump,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}){let t=useTheme(),plan=variant==="plan",mp=blockMetrics(t,needPlanBlockMetrics),m=plan?mp:blockMetrics(t,needBlockMetrics),part=n=>testID===void 0?void 0:`${testID}-${n}`,sources=givenSources??(source?[{label:source}]:[]),text=p=>rnText(t,textPartSpec(t,p)),card=[rnBox(t,m.card),{marginTop:0},style];if(loading)/* @__PURE__ */
82
82
  return jsx(View,{testID:testID,style:card,children:/* @__PURE__ */jsx(Skeleton,{lines:3,label:loadingLabel})});let signalText=text(m.signalText);/* @__PURE__ */
83
83
  return jsxs(View,{testID:testID,style:card,children:[
84
84
  /* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"center",columnGap:m.kicker.gap[0],minHeight:sources.length>0?m.kicker.h:void 0},children:[
@@ -91,38 +91,38 @@ return jsx(View,{testID:part(givenSources?`source-${i}`:"source"),style:[rnBox(t
91
91
  /* @__PURE__ */jsx(View,{style:{flexShrink:1,minWidth:0,maxWidth:plan&&mp.scoreLabelMax?mp.scoreLabelMax:void 0},children:/* @__PURE__ */jsxs(Text,{style:text(m.scoreLabel),children:[score.label,score.tag?" ":null,score.tag?/* @__PURE__ */jsx(View,{testID:part("tag"),style:rnBox(t,m.scoreTag),children:/* @__PURE__ */jsx(Text,{style:text(m.scoreTagText),children:score.tag})}):null]})}),
92
92
  /* @__PURE__ */jsxs(View,{accessible:score.accessibilityLabel!==void 0,accessibilityLabel:score.accessibilityLabel,style:{flexShrink:0,alignItems:"flex-end"},children:[
93
93
  /* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"center",columnGap:m.scoreNums.gap[0]},children:[score.was?/* @__PURE__ */jsx(Text,{style:text(m.scoreWas),children:score.was}):null,score.was?score.icon!==void 0?/* @__PURE__ */jsx(View,{testID:part("arrow"),children:/* @__PURE__ */jsx(BlockIcon,{icon:score.icon,size:m.scoreArrow.w,color:colorOf(t,m.scoreArrow.color)})}):/* @__PURE__ */jsx(Glyph,{testID:part("arrow"),icon:UI_RN_ICON_ARROW_LEFT,size:m.scoreArrow.w,color:colorOf(t,m.scoreArrow.color),style:m.scoreArrowFlip?{transform:[{rotate:"180deg"}]}:void 0}):null,
94
- /* @__PURE__ */jsxs(Text,{style:text(m.scoreNow),children:[score.now,score.of?/* @__PURE__ */jsx(Text,{style:text(m.scoreOf),children:score.of}):null]})]}),score.since?/* @__PURE__ */jsx(Text,{style:[text(m.scoreSince),{marginTop:m.scoreSince.marginTop}],children:score.since}):null]})]}):null,plan&&quote?/* @__PURE__ */jsx(Quote,{quote:quote,m:mp,testID:part("quote")}):null,plan?beforeJump:null,plan&&jump?/* @__PURE__ */jsx(Jump,{jump:jump,m:mp,testID:part("jump")}):null,children]})}function runsOf(note){return(typeof note=="string"?[note]:note).map(r=>typeof r=="string"?{text:r}:r)}function PriceSummary({rows:rows,total:total,note:note,...rest}){let t=useTheme();if(note===void 0||note.length===0||rest.loading)/* @__PURE__ */return jsx(SummaryList,{...rest,rows:rows,total:total??false});let{testID:testID,style:style,...list}=rest,m=blocksMetrics(t).price,own=(row,i)=>({...row,testID:itemTestID(testID,row.key??i,row.testID)}),strong=rnText(t,textPartSpec(t,m.noteStrong));/* @__PURE__ */
94
+ /* @__PURE__ */jsxs(Text,{style:text(m.scoreNow),children:[score.now,score.of?/* @__PURE__ */jsx(Text,{style:text(m.scoreOf),children:score.of}):null]})]}),score.since?/* @__PURE__ */jsx(Text,{style:[text(m.scoreSince),{marginTop:m.scoreSince.marginTop}],children:score.since}):null]})]}):null,plan&&quote?/* @__PURE__ */jsx(Quote,{quote:quote,m:mp,testID:part("quote")}):null,plan?beforeJump:null,plan&&jump?/* @__PURE__ */jsx(Jump,{jump:jump,m:mp,testID:part("jump")}):null,children]})}function runsOf(note){return(typeof note=="string"?[note]:note).map(r=>typeof r=="string"?{text:r}:r)}function PriceSummary({rows:rows,total:total,note:note,...rest}){let t=useTheme();if(note===void 0||note.length===0||rest.loading)/* @__PURE__ */return jsx(SummaryList,{...rest,rows:rows,total:total??false});let{testID:testID,style:style,...list}=rest,m=blockMetrics(t,priceBlockMetrics),own=(row,i)=>({...row,testID:itemTestID(testID,row.key??i,row.testID)}),strong=rnText(t,textPartSpec(t,m.noteStrong));/* @__PURE__ */
95
95
  return jsxs(View,{testID:testID,style:style,children:[
96
96
  /* @__PURE__ */jsx(SummaryList,{...list,rows:rows.map((r,i)=>own(r,i)),total:total?own({...total,key:total.key??"total"},"total"):false}),
97
- /* @__PURE__ */jsx(Text,{testID:testID===void 0?void 0:`${testID}-note`,style:[rnText(t,textPartSpec(t,m.note)),{marginTop:m.note.marginTop}],children:runsOf(note).map((r,i)=>r.strong?/* @__PURE__ */jsx(Text,{style:strong,children:r.text},i):r.text)})]})}var THUMBNAIL_SIZE={tile:"md",row:"xs",card:"lg"};function StepButton({icon:icon,label:label,onPress:onPress,disabled:disabled,color:color,testID:testID}){let t=useTheme(),c=blocksMetrics(t).productCard;/* @__PURE__ */
98
- return jsx(Pressable,{testID:testID,onPress:disabled?void 0:onPress,disabled:disabled,accessibilityRole:"button",accessibilityLabel:label,accessibilityState:disabled?{disabled:true}:void 0,hitSlop:slopFor(c.stepButton.w),style:{width:c.stepButton.w,height:c.stepButton.h,borderRadius:c.stepButton.radius[0],alignItems:"center",justifyContent:"center"},children:/* @__PURE__ */jsx(Glyph,{icon:icon==="minus"?UI_RN_ICON_MINUS:UI_RN_ICON_PLUS,size:c.stepIcon.w,color:color})})}function CardStepper({q:q,blend:blend,lift:lift,testID:testID}){let t=useTheme(),c=blocksMetrics(t).productCard,min=q.min??0,max=q.max??Number.POSITIVE_INFINITY,part=n=>testID===void 0?void 0:`${testID}-${n}`,at={position:"absolute",right:c.stepAt.right,bottom:c.stepAt.bottom};if(q.value<=0){let fill=partFill(t,c.step.bg);/* @__PURE__ */
99
- return jsx(View,{testID:testID,accessibilityLabel:q.label,style:[at,{borderRadius:c.stepButton.radius[0]},fill?{backgroundColor:fill}:null,lift?rnShadow({...blend?blocksMetrics(t).productBlend.lift:c.lift}):null],children:/* @__PURE__ */jsx(StepButton,{icon:"plus",label:q.moreLabel,onPress:()=>stepTo(q,Math.min(max,q.value+1)),disabled:q.value>=max,color:colorOf(t,c.step.color),testID:part("more")})})}let ink=colorOf(t,c.stepIn.color);/* @__PURE__ */
97
+ /* @__PURE__ */jsx(Text,{testID:testID===void 0?void 0:`${testID}-note`,style:[rnText(t,textPartSpec(t,m.note)),{marginTop:m.note.marginTop}],children:runsOf(note).map((r,i)=>r.strong?/* @__PURE__ */jsx(Text,{style:strong,children:r.text},i):r.text)})]})}var THUMBNAIL_SIZE={tile:"md",row:"xs",card:"lg"};function StepButton({icon:icon,label:label,onPress:onPress,disabled:disabled,color:color,testID:testID}){let t=useTheme(),c=blockMetrics(t,productCardBlockMetrics);/* @__PURE__ */
98
+ return jsx(Pressable,{testID:testID,onPress:disabled?void 0:onPress,disabled:disabled,accessibilityRole:"button",accessibilityLabel:label,accessibilityState:disabled?{disabled:true}:void 0,hitSlop:slopFor(c.stepButton.w),style:{width:c.stepButton.w,height:c.stepButton.h,borderRadius:c.stepButton.radius[0],alignItems:"center",justifyContent:"center"},children:/* @__PURE__ */jsx(Glyph,{icon:icon==="minus"?UI_RN_ICON_MINUS:UI_RN_ICON_PLUS,size:c.stepIcon.w,color:color})})}function CardStepper({q:q,blend:blend,lift:lift,testID:testID}){let t=useTheme(),c=blockMetrics(t,productCardBlockMetrics),min=q.min??0,max=q.max??Number.POSITIVE_INFINITY,part=n=>testID===void 0?void 0:`${testID}-${n}`,at={position:"absolute",right:c.stepAt.right,bottom:c.stepAt.bottom};if(q.value<=0){let fill=partFill(t,c.step.bg);/* @__PURE__ */
99
+ return jsx(View,{testID:testID,accessibilityLabel:q.label,style:[at,{borderRadius:c.stepButton.radius[0]},fill?{backgroundColor:fill}:null,lift?rnShadow({...blend?blockMetrics(t,productBlendBlockMetrics).lift:c.lift}):null],children:/* @__PURE__ */jsx(StepButton,{icon:"plus",label:q.moreLabel,onPress:()=>stepTo(q,Math.min(max,q.value+1)),disabled:q.value>=max,color:colorOf(t,c.step.color),testID:part("more")})})}let ink=colorOf(t,c.stepIn.color);/* @__PURE__ */
100
100
  return jsxs(View,{testID:testID,accessibilityLabel:q.label,style:[at,rnBox(t,c.stepIn),{flexDirection:"row",alignItems:"center",width:c.stepIn.w,height:c.stepIn.h}],children:[
101
101
  /* @__PURE__ */jsx(StepButton,{icon:"minus",label:q.fewerLabel,onPress:()=>stepTo(q,Math.max(min,q.value-1)),disabled:q.value<=min,color:ink,testID:part("fewer")}),
102
102
  /* @__PURE__ */jsx(Text,{testID:part("count"),accessibilityLiveRegion:"polite",style:[rnText(t,textPartSpec(t,c.count)),{flex:1,textAlign:"center"}],children:q.value}),
103
- /* @__PURE__ */jsx(StepButton,{icon:"plus",label:q.moreLabel,onPress:()=>stepTo(q,Math.min(max,q.value+1)),disabled:q.value>=max,color:ink,testID:part("more")})]})}function CardPill({action:action,blend:blend,testID:testID}){let t=useTheme(),c=blocksMetrics(t).productCard,bl=blocksMetrics(t).productBlend,reduced=useRnReduced(t),kind=action.kind??"refill",[box,words,settle]=kind==="manage"?[c.pillSoft,c.pillSoftText,c.pillPressScale]:kind==="inCart"?blend?[bl.pillOn,bl.pillOnText,bl.pillPressScale]:[c.pillOn,c.pillOnText,c.pillPressScale]:blend?[bl.pill,bl.pillText,bl.pillPressScale]:[c.pill,c.pillText,c.pillPressScale],label=rnText(t,textPartSpec(t,words)),ring=rnRing(t,box),off=action.disabled===true||action.busy===true;/* @__PURE__ */
103
+ /* @__PURE__ */jsx(StepButton,{icon:"plus",label:q.moreLabel,onPress:()=>stepTo(q,Math.min(max,q.value+1)),disabled:q.value>=max,color:ink,testID:part("more")})]})}function CardPill({action:action,blend:blend,testID:testID}){let t=useTheme(),c=blockMetrics(t,productCardBlockMetrics),bl=blockMetrics(t,productBlendBlockMetrics),reduced=useRnReduced(t),kind=action.kind??"refill",[box,words,settle]=kind==="manage"?[c.pillSoft,c.pillSoftText,c.pillPressScale]:kind==="inCart"?blend?[bl.pillOn,bl.pillOnText,bl.pillPressScale]:[c.pillOn,c.pillOnText,c.pillPressScale]:blend?[bl.pill,bl.pillText,bl.pillPressScale]:[c.pill,c.pillText,c.pillPressScale],label=rnText(t,textPartSpec(t,words)),ring=rnRing(t,box),off=action.disabled===true||action.busy===true;/* @__PURE__ */
104
104
  return jsxs(Pressable,{testID:testID,onPress:off?void 0:action.onPress,disabled:off,accessibilityRole:kind==="refill"?"button":"link",accessibilityLabel:action.label,accessibilityState:{disabled:off,busy:action.busy===true},hitSlop:slopFor(box.minHeight),style:({pressed:pressed})=>[{position:"absolute",right:c.pillAt.right,bottom:c.pillAt.bottom,flexDirection:"row",alignItems:"center"},rnBox(t,box),off?{opacity:DISABLED_OPACITY}:null,pressed&&!reduced&&!off?{transform:[{scale:settle}]}:null],children:[action.icon?/* @__PURE__ */jsx(BlockIcon,{icon:action.icon,size:c.pillIcon.w,color:typeof label.color=="string"?label.color:void 0}):null,
105
- /* @__PURE__ */jsx(Text,{tier:"control",numberOfLines:1,style:label,children:action.label}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function BlendPhoto({src:src,alt:alt,fallback:fallback,onError:onError,testID:testID}){let t=useTheme(),bl=blocksMetrics(t).productBlend,frame=t.metrics.thumbnail.lg.frame,[failed,setFailed]=useState(null),photo=src&&failed!==src?src:null;if(!photo)/* @__PURE__ */return jsx(BlockThumbnail,{size:"lg",src:null,alt:alt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,testID:testID});let[pt=0,pr=0,pb=0,pl=0]=bl.img.padding.map((v,i)=>v+(frame.padding[i]??0)),blendStyle=bl.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
106
- return jsx(View,{testID:testID,style:[rnBox(t,frame),{width:"100%",aspectRatio:1,overflow:"hidden"}],children:/* @__PURE__ */jsx(Image,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:t.metrics.thumbnail.lg.img.fit==="contain"?"contain":"cover",style:[{position:"absolute",top:pt,right:pr,bottom:pb,left:pl},blendStyle]})})}function webInsetOf(w,tagged,even,white){return even?w.imgInsetEven:tagged?w.imgInsetTag:white?w.imgInsetWhite:w.imgInset}function webInset(t,tagged,side,even=false,white=false){let w=blocksMetrics(t).productWeb,i=webInsetOf(w,tagged,even,white);return i.share.map((sh,k2)=>sh*side+(i.px[k2]??0))}function WebStepButton({icon:icon,size:size,label:label,onPress:onPress,disabled:disabled,color:color,settle:settle,testID:testID}){let t=useTheme(),w=blocksMetrics(t).productWeb,reduced=useRnReduced(t);/* @__PURE__ */
107
- return jsx(Pressable,{testID:testID,onPress:disabled?void 0:onPress,disabled:disabled,accessibilityRole:"button",accessibilityLabel:label,accessibilityState:disabled?{disabled:true}:void 0,hitSlop:slopFor(w.stepButton.w),style:({pressed:pressed})=>[{width:w.stepButton.w,height:w.stepButton.h,borderRadius:w.stepButton.radius[0],alignItems:"center",justifyContent:"center"},pressed&&!reduced&&!disabled?{transform:[{scale:settle}]}:null],children:/* @__PURE__ */jsx(Glyph,{icon:icon==="minus"?UI_RN_ICON_MINUS:UI_RN_ICON_PLUS,size:size,color:color})})}function WebStepper({q:q,lift:lift,testID:testID}){let t=useTheme(),w=blocksMetrics(t).productWeb,min=q.min??0,max=q.max??Number.POSITIVE_INFINITY,part=n=>testID===void 0?void 0:`${testID}-${n}`;if(q.value<=0)/* @__PURE__ */
105
+ /* @__PURE__ */jsx(Text,{tier:"control",numberOfLines:1,style:label,children:action.label}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function BlendPhoto({src:src,alt:alt,fallback:fallback,onError:onError,testID:testID}){let t=useTheme(),bl=blockMetrics(t,productBlendBlockMetrics),frame=t.metrics.thumbnail.lg.frame,[failed,setFailed]=useState(null),photo=src&&failed!==src?src:null;if(!photo)/* @__PURE__ */return jsx(BlockThumbnail,{size:"lg",src:null,alt:alt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,testID:testID});let[pt=0,pr=0,pb=0,pl=0]=bl.img.padding.map((v,i)=>v+(frame.padding[i]??0)),blendStyle=bl.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
106
+ return jsx(View,{testID:testID,style:[rnBox(t,frame),{width:"100%",aspectRatio:1,overflow:"hidden"}],children:/* @__PURE__ */jsx(Image,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:t.metrics.thumbnail.lg.img.fit==="contain"?"contain":"cover",style:[{position:"absolute",top:pt,right:pr,bottom:pb,left:pl},blendStyle]})})}function webInsetOf(w,tagged,even,white){return even?w.imgInsetEven:tagged?w.imgInsetTag:white?w.imgInsetWhite:w.imgInset}function webInset(t,tagged,side,even=false,white=false){let w=blockMetrics(t,productWebBlockMetrics),i=webInsetOf(w,tagged,even,white);return i.share.map((sh,k2)=>sh*side+(i.px[k2]??0))}function WebStepButton({icon:icon,size:size,label:label,onPress:onPress,disabled:disabled,color:color,settle:settle,testID:testID}){let t=useTheme(),w=blockMetrics(t,productWebBlockMetrics),reduced=useRnReduced(t);/* @__PURE__ */
107
+ return jsx(Pressable,{testID:testID,onPress:disabled?void 0:onPress,disabled:disabled,accessibilityRole:"button",accessibilityLabel:label,accessibilityState:disabled?{disabled:true}:void 0,hitSlop:slopFor(w.stepButton.w),style:({pressed:pressed})=>[{width:w.stepButton.w,height:w.stepButton.h,borderRadius:w.stepButton.radius[0],alignItems:"center",justifyContent:"center"},pressed&&!reduced&&!disabled?{transform:[{scale:settle}]}:null],children:/* @__PURE__ */jsx(Glyph,{icon:icon==="minus"?UI_RN_ICON_MINUS:UI_RN_ICON_PLUS,size:size,color:color})})}function WebStepper({q:q,lift:lift,testID:testID}){let t=useTheme(),w=blockMetrics(t,productWebBlockMetrics),min=q.min??0,max=q.max??Number.POSITIVE_INFINITY,part=n=>testID===void 0?void 0:`${testID}-${n}`;if(q.value<=0)/* @__PURE__ */
108
108
  return jsx(View,{testID:testID,accessibilityLabel:q.label,style:rnBox(t,lift?w.add:{...w.add,shadow:{...w.add.shadow,x:0,y:0,blur:0}}),children:/* @__PURE__ */jsx(WebStepButton,{icon:"plus",size:w.addIcon.w,label:q.moreLabel,onPress:()=>stepTo(q,Math.min(max,q.value+1)),disabled:q.value>=max,color:colorOf(t,w.add.color),settle:w.addPressScale,testID:part("more")})});let ink=colorOf(t,w.step.color);/* @__PURE__ */
109
109
  return jsxs(View,{testID:testID,accessibilityLabel:q.label,style:[rnBox(t,w.step),{flexDirection:"row",alignItems:"center",height:w.step.h}],children:[
110
110
  /* @__PURE__ */jsx(WebStepButton,{icon:"minus",size:w.stepIcon.w,label:q.fewerLabel,onPress:()=>stepTo(q,Math.max(min,q.value-1)),disabled:q.value<=min,color:ink,settle:w.stepPressScale,testID:part("fewer")}),
111
111
  /* @__PURE__ */jsx(Text,{testID:part("count"),accessibilityLiveRegion:"polite",style:[rnText(t,textPartSpec(t,w.count)),{minWidth:w.step.w-2*w.stepButton.w,textAlign:"center"}],children:q.value}),
112
- /* @__PURE__ */jsx(WebStepButton,{icon:"plus",size:w.stepIcon.w,label:q.moreLabel,onPress:()=>stepTo(q,Math.min(max,q.value+1)),disabled:q.value>=max,color:ink,settle:w.stepPressScale,testID:part("more")})]})}function WebPill({action:action,testID:testID}){let t=useTheme(),w=blocksMetrics(t).productWeb,reduced=useRnReduced(t),kind=action.kind??"refill",[box,words]=kind==="manage"?[w.pillSoft,w.pillSoftText]:kind==="inCart"?[w.pillOn,w.pillOnText]:[w.pill,w.pillText],label=rnText(t,textPartSpec(t,words)),ring=rnRing(t,box),off=action.disabled===true||action.busy===true;/* @__PURE__ */
112
+ /* @__PURE__ */jsx(WebStepButton,{icon:"plus",size:w.stepIcon.w,label:q.moreLabel,onPress:()=>stepTo(q,Math.min(max,q.value+1)),disabled:q.value>=max,color:ink,settle:w.stepPressScale,testID:part("more")})]})}function WebPill({action:action,testID:testID}){let t=useTheme(),w=blockMetrics(t,productWebBlockMetrics),reduced=useRnReduced(t),kind=action.kind??"refill",[box,words]=kind==="manage"?[w.pillSoft,w.pillSoftText]:kind==="inCart"?[w.pillOn,w.pillOnText]:[w.pill,w.pillText],label=rnText(t,textPartSpec(t,words)),ring=rnRing(t,box),off=action.disabled===true||action.busy===true;/* @__PURE__ */
113
113
  return jsxs(Pressable,{testID:testID,onPress:off?void 0:action.onPress,disabled:off,accessibilityRole:kind==="refill"?"button":"link",accessibilityLabel:action.label,accessibilityState:{disabled:off,busy:action.busy===true},hitSlop:slopFor(box.minHeight),style:({pressed:pressed})=>[{flexDirection:"row",alignItems:"center",justifyContent:"center"},rnBox(t,box),off?{opacity:DISABLED_OPACITY}:null,pressed&&!reduced&&!off?{transform:[{scale:w.pillPressScale}]}:null],children:[action.icon?/* @__PURE__ */jsx(BlockIcon,{icon:action.icon,size:w.pillIcon.w,color:typeof label.color=="string"?label.color:void 0}):null,
114
- /* @__PURE__ */jsx(Text,{tier:"control",numberOfLines:1,style:label,children:action.label}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function WebPhoto({src:src,alt:alt,tagged:tagged,even:even,white:white,fallback:fallback,onError:onError,testID:testID}){let t=useTheme(),w=blocksMetrics(t).productWeb,[failed,setFailed]=useState(null),photo=src&&failed!==src?src:null,i=webInsetOf(w,tagged,even,white),pct=k2=>`${Math.round((i.share[k2]??0)*1e5)/1e3}%`,blendStyle=w.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
115
- return jsx(View,{testID:testID,style:[rnBox(t,w.square),{width:"100%",aspectRatio:1,overflow:"hidden"},white?{backgroundColor:colorOf(t,w.groundWhite)}:null,!photo&&fallback?.tint?{backgroundColor:fallback.tint}:null],children:photo?/* @__PURE__ */jsx(Image,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:w.imgFit,style:[{position:"absolute",top:pct(0),right:pct(1),bottom:pct(2),left:pct(3),marginTop:i.px[0]??0,marginRight:i.px[1]??0,marginBottom:i.px[2]??0,marginLeft:i.px[3]??0},blendStyle]}):fallback?.icon?/* @__PURE__ */jsx(View,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:/* @__PURE__ */jsx(BlockIcon,{icon:fallback.icon,size:fallback.iconSize??w.addIcon.w,color:fallback.iconColor})}):null})}function WebCard({props:props,media:media}){let{name:name,image:image,imageAlt:imageAlt,meta:meta,price:price,wasPrice:wasPrice,per:per,badge:badge,tag:tag,stepper:stepper,addLift:addLift=true,fallback:fallback,onImageError:onImageError,action:action,onPress:onPress,loading:loading=false,loadingLabel:loadingLabel,ground:ground="shelf",imageInset:imageInset="standard",testID:testID,style:style}=props,t=useTheme(),w=blocksMetrics(t).productWeb,text=p=>rnText(t,textPartSpec(t,p)),part=n=>testID===void 0?void 0:`${testID}-${n}`,tagInk=tag?.color??colorOf(t,w.tagIcon.color),ring=rnRing(t,w.badge),content=/* @__PURE__ */jsxs(Fragment,{children:[
114
+ /* @__PURE__ */jsx(Text,{tier:"control",numberOfLines:1,style:label,children:action.label}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]})}function WebPhoto({src:src,alt:alt,tagged:tagged,even:even,white:white,fallback:fallback,onError:onError,testID:testID}){let t=useTheme(),w=blockMetrics(t,productWebBlockMetrics),[failed,setFailed]=useState(null),photo=src&&failed!==src?src:null,i=webInsetOf(w,tagged,even,white),pct=k2=>`${Math.round((i.share[k2]??0)*1e5)/1e3}%`,blendStyle=w.imgBlend==="multiply"?{mixBlendMode:"multiply"}:null;/* @__PURE__ */
115
+ return jsx(View,{testID:testID,style:[rnBox(t,w.square),{width:"100%",aspectRatio:1,overflow:"hidden"},white?{backgroundColor:colorOf(t,w.groundWhite)}:null,!photo&&fallback?.tint?{backgroundColor:fallback.tint}:null],children:photo?/* @__PURE__ */jsx(Image,{source:{uri:photo},accessibilityLabel:alt,accessible:!!alt,onError:()=>{setFailed(photo),onError?.(photo)},resizeMode:w.imgFit,style:[{position:"absolute",top:pct(0),right:pct(1),bottom:pct(2),left:pct(3),marginTop:i.px[0]??0,marginRight:i.px[1]??0,marginBottom:i.px[2]??0,marginLeft:i.px[3]??0},blendStyle]}):fallback?.icon?/* @__PURE__ */jsx(View,{style:{flex:1,alignItems:"center",justifyContent:"center"},children:/* @__PURE__ */jsx(BlockIcon,{icon:fallback.icon,size:fallback.iconSize??w.addIcon.w,color:fallback.iconColor})}):null})}function WebCard({props:props,media:media}){let{name:name,image:image,imageAlt:imageAlt,meta:meta,price:price,wasPrice:wasPrice,per:per,badge:badge,tag:tag,stepper:stepper,addLift:addLift=true,fallback:fallback,onImageError:onImageError,action:action,onPress:onPress,loading:loading=false,loadingLabel:loadingLabel,ground:ground="shelf",imageInset:imageInset="standard",testID:testID,style:style}=props,t=useTheme(),w=blockMetrics(t,productWebBlockMetrics),text=p=>rnText(t,textPartSpec(t,p)),part=n=>testID===void 0?void 0:`${testID}-${n}`,tagInk=tag?.color??colorOf(t,w.tagIcon.color),ring=rnRing(t,w.badge),content=/* @__PURE__ */jsxs(Fragment,{children:[
116
116
  /* @__PURE__ */jsxs(View,{ref:media,collapsable:false,style:{marginBottom:w.square.marginBottom},children:[loading?/* @__PURE__ */jsx(View,{style:{width:"100%",aspectRatio:1,borderRadius:w.square.radius[0],backgroundColor:t.colors.tintSage}}):/* @__PURE__ */jsx(WebPhoto,{src:image,alt:imageAlt,tagged:tag!==void 0,even:imageInset==="even",white:ground==="white",fallback:fallback,onError:onImageError,testID:part("image")}),!loading&&tag?/* @__PURE__ */jsxs(View,{testID:part("tag"),style:[rnBox(t,w.tag),{position:"absolute",left:w.tag.x,top:w.tag.y,maxWidth:"100%",flexDirection:"row",alignItems:"center",backgroundColor:mixColor(tagInk,w.tagMix,t.colors.surface,colorOf(t,w.tag.bg))}],children:[tag.icon?/* @__PURE__ */jsx(BlockIcon,{icon:tag.icon,size:w.tagIcon.w,color:tagInk}):null,
117
117
  /* @__PURE__ */jsx(Text,{numberOfLines:1,style:text(w.tagText),children:tag.label})]}):null]}),loading?/* @__PURE__ */jsx(Skeleton,{lines:3,label:loadingLabel}):/* @__PURE__ */jsxs(View,{style:{rowGap:w.card.gap[1],marginTop:w.card.gap[1]},children:[
118
118
  /* @__PURE__ */jsx(Text,{style:text(w.name),children:name}),price||wasPrice||per||badge?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",flexWrap:"wrap",alignItems:"baseline",columnGap:w.price.gap[0],rowGap:w.price.gap[1]},children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:text(w.priceText),children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:text(w.was),children:wasPrice}):null,per?/* @__PURE__ */jsx(Text,{style:text(w.per),children:per}):null,badge?/* @__PURE__ */jsxs(View,{testID:part("badge"),style:[rnBox(t,w.badge),{alignSelf:"center",height:w.badge.h,flexDirection:"row",alignItems:"center"}],children:[
119
119
  /* @__PURE__ */jsx(Text,{numberOfLines:1,style:text(w.badgeText),children:badge}),ring?/* @__PURE__ */jsx(View,{pointerEvents:"none",style:ring}):null]}):null]}):null,meta?/* @__PURE__ */jsx(Text,{style:text(w.meta),children:meta}):null]})]});/* @__PURE__ */
120
- return jsxs(View,{testID:testID,style:[{rowGap:0},style],children:[onPress&&!loading?/* @__PURE__ */jsx(Pressable,{testID:part("open"),onPress:onPress,accessibilityRole:"link",accessibilityLabel:name,children:content}):content,!loading&&(stepper||action)?/* @__PURE__ */jsx(View,{pointerEvents:"box-none",style:{position:"absolute",top:0,left:0,right:0,aspectRatio:1},children:/* @__PURE__ */jsx(View,{style:{position:"absolute",right:w.actAt.right,bottom:w.actAt.bottom,flexDirection:"row"},children:stepper?/* @__PURE__ */jsx(WebStepper,{q:stepper,lift:addLift,testID:part("stepper")}):action?/* @__PURE__ */jsx(WebPill,{action:action,testID:part("action")}):null})}):null]})}function ProductTile(props){let{name:name,image:image,imageAlt:imageAlt,kicker:kicker,meta:meta,price:price,wasPrice:wasPrice,per:per,metaTone:metaTone,tag:tag,stepper:stepper,addLift:addLift=true,fallback:fallback,onImageError:onImageError,action:action,onPress:onPress,layout:layout="tile",variant:variant="standard",onImageMeasure:onImageMeasure,imageInset:imageInset,ground:ground,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}=props,t=useTheme(),blend=variant==="blend",web=variant==="web",tagged=tag!==void 0,media=useRef(null),frameInset=t.metrics.thumbnail.lg.frame.padding,imgInset=blend?blocksMetrics(t).productBlend.img.padding:t.metrics.thumbnail.lg.img.padding,measure=useCallback(()=>new Promise(resolve=>{let v=media.current;if(!v||typeof v.measureInWindow!="function"){resolve(null);return}v.measureInWindow((x,y,width,height)=>{let[pt=0,pr=0,pb=0,pl=0]=web?webInset(t,tagged,width,imageInset==="even",ground==="white"):imgInset.map((n,i)=>n+(frameInset[i]??0));resolve(width>0||height>0?{x:x+pl,y:y+pt,width:Math.max(0,width-pl-pr),height:Math.max(0,height-pt-pb)}:null)})}),[imgInset,frameInset,web,t,tagged,imageInset,ground]),measured=layout==="card"&&!loading&&onImageMeasure!==void 0;useEffect(()=>{if(!(!measured||!onImageMeasure))return onImageMeasure(measure),()=>onImageMeasure(null)},[measured,onImageMeasure,measure]);let text=p=>rnText(t,textPartSpec(t,p)),m=blocksMetrics(t).product,r=blocksMetrics(t).productRow,shot=t.metrics.thumbnail[THUMBNAIL_SIZE[layout]],part=n=>testID===void 0?void 0:`${testID}-${n}`;if(layout==="card"&&web)/* @__PURE__ */return jsx(WebCard,{props:props,media:media});if(layout==="card"){let c=blocksMetrics(t).productCard,photo=loading?/* @__PURE__ */jsx(View,{style:{width:"100%",aspectRatio:1,borderRadius:shot.frame.radius[0],backgroundColor:t.colors.tintSage}}):blend?/* @__PURE__ */jsx(BlendPhoto,{src:image,alt:imageAlt,fallback:fallback,onError:onImageError,testID:part("image")}):/* @__PURE__ */jsx(BlockThumbnail,{size:"lg",src:image,alt:imageAlt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,onError:onImageError,testID:part("image")}),content=/* @__PURE__ */jsxs(Fragment,{children:[
120
+ return jsxs(View,{testID:testID,style:[{rowGap:0},style],children:[onPress&&!loading?/* @__PURE__ */jsx(Pressable,{testID:part("open"),onPress:onPress,accessibilityRole:"link",accessibilityLabel:name,children:content}):content,!loading&&(stepper||action)?/* @__PURE__ */jsx(View,{pointerEvents:"box-none",style:{position:"absolute",top:0,left:0,right:0,aspectRatio:1},children:/* @__PURE__ */jsx(View,{style:{position:"absolute",right:w.actAt.right,bottom:w.actAt.bottom,flexDirection:"row"},children:stepper?/* @__PURE__ */jsx(WebStepper,{q:stepper,lift:addLift,testID:part("stepper")}):action?/* @__PURE__ */jsx(WebPill,{action:action,testID:part("action")}):null})}):null]})}function ProductTile(props){let{name:name,image:image,imageAlt:imageAlt,kicker:kicker,meta:meta,price:price,wasPrice:wasPrice,per:per,metaTone:metaTone,tag:tag,stepper:stepper,addLift:addLift=true,fallback:fallback,onImageError:onImageError,action:action,onPress:onPress,layout:layout="tile",variant:variant="standard",onImageMeasure:onImageMeasure,imageInset:imageInset,ground:ground,loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}=props,t=useTheme(),blend=variant==="blend",web=variant==="web",tagged=tag!==void 0,media=useRef(null),frameInset=t.metrics.thumbnail.lg.frame.padding,imgInset=blend?blockMetrics(t,productBlendBlockMetrics).img.padding:t.metrics.thumbnail.lg.img.padding,measure=useCallback(()=>new Promise(resolve=>{let v=media.current;if(!v||typeof v.measureInWindow!="function"){resolve(null);return}v.measureInWindow((x,y,width,height)=>{let[pt=0,pr=0,pb=0,pl=0]=web?webInset(t,tagged,width,imageInset==="even",ground==="white"):imgInset.map((n,i)=>n+(frameInset[i]??0));resolve(width>0||height>0?{x:x+pl,y:y+pt,width:Math.max(0,width-pl-pr),height:Math.max(0,height-pt-pb)}:null)})}),[imgInset,frameInset,web,t,tagged,imageInset,ground]),measured=layout==="card"&&!loading&&onImageMeasure!==void 0;useEffect(()=>{if(!(!measured||!onImageMeasure))return onImageMeasure(measure),()=>onImageMeasure(null)},[measured,onImageMeasure,measure]);let text=p=>rnText(t,textPartSpec(t,p)),m=blockMetrics(t,productBlockMetrics),r=blockMetrics(t,productRowBlockMetrics),shot=t.metrics.thumbnail[THUMBNAIL_SIZE[layout]],part=n=>testID===void 0?void 0:`${testID}-${n}`;if(layout==="card"&&web)/* @__PURE__ */return jsx(WebCard,{props:props,media:media});if(layout==="card"){let c=blockMetrics(t,productCardBlockMetrics),photo=loading?/* @__PURE__ */jsx(View,{style:{width:"100%",aspectRatio:1,borderRadius:shot.frame.radius[0],backgroundColor:t.colors.tintSage}}):blend?/* @__PURE__ */jsx(BlendPhoto,{src:image,alt:imageAlt,fallback:fallback,onError:onImageError,testID:part("image")}):/* @__PURE__ */jsx(BlockThumbnail,{size:"lg",src:image,alt:imageAlt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,onError:onImageError,testID:part("image")}),content=/* @__PURE__ */jsxs(Fragment,{children:[
121
121
  /* @__PURE__ */jsxs(View,{ref:media,collapsable:false,style:{marginBottom:shot.frame.marginBottom},children:[photo,!loading&&tag?/* @__PURE__ */jsxs(View,{testID:part("tag"),style:[rnBox(t,c.tag),{position:"absolute",left:c.tag.x,top:c.tag.y,height:c.tag.h,flexDirection:"row",alignItems:"center"}],children:[tag.icon?/* @__PURE__ */jsx(BlockIcon,{icon:tag.icon,size:c.tagIcon.w,color:tag.color??colorOf(t,c.tagIcon.color)}):null,
122
122
  /* @__PURE__ */jsx(Text,{numberOfLines:1,style:text(c.tagText),children:tag.label})]}):null]}),loading?/* @__PURE__ */jsx(Skeleton,{lines:3,label:loadingLabel}):/* @__PURE__ */jsxs(View,{style:{rowGap:c.card.gap[1],marginTop:c.card.gap[1]},children:[price||wasPrice||per?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"baseline",columnGap:c.price.gap[0]},children:[price?/* @__PURE__ */jsx(Text,{testID:part("price"),style:text(c.priceText),children:price}):null,wasPrice?/* @__PURE__ */jsx(Text,{style:text(c.was),children:wasPrice}):null,per?/* @__PURE__ */jsx(Text,{style:text(c.per),children:per}):null]}):null,
123
123
  /* @__PURE__ */jsx(Text,{style:text(c.name),children:name}),meta?/* @__PURE__ */jsx(Text,{style:text(metaTone==="auto"?c.metaAuto:metaTone==="autoDark"?c.metaAutoDark:c.meta),children:meta}):null]})]});/* @__PURE__ */
124
124
  return jsxs(View,{testID:testID,style:[rnBox(t,c.card),{rowGap:0},style],children:[onPress&&!loading?/* @__PURE__ */jsx(Pressable,{testID:part("open"),onPress:onPress,accessibilityRole:"link",accessibilityLabel:name,children:content}):content,!loading&&(stepper||action)?/* @__PURE__ */jsx(View,{pointerEvents:"box-none",style:{position:"absolute",top:0,left:0,right:0,aspectRatio:1},children:stepper?/* @__PURE__ */jsx(CardStepper,{q:stepper,blend:blend,lift:addLift,testID:part("stepper")}):action?/* @__PURE__ */jsx(CardPill,{action:action,blend:blend,testID:part("action")}):null}):null]})}let nameText=/* @__PURE__ */jsx(Text,{style:text(layout==="row"?r.name:m.name),children:name}),nameEl=onPress?/* @__PURE__ */jsx(Pressable,{onPress:onPress,accessibilityRole:"link",accessibilityLabel:name,children:nameText}):nameText,buy=price||action?/* @__PURE__ */jsxs(View,{style:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:m.buy.gap[0],marginTop:layout==="row"?0:m.buy.marginTop},children:[price?/* @__PURE__ */jsx(Text,{style:text(m.price),children:price}):/* @__PURE__ */jsx(View,{}),action?/* @__PURE__ */jsx(Button,{tone:"outline",size:"row",label:action.label,onPress:action.onPress,loading:action.busy,disabled:action.disabled}):null]}):null;return layout==="row"?/* @__PURE__ */jsxs(View,{testID:testID,style:[rnBox(t,r.card),{flexDirection:"row",alignItems:r.card.center?"center":"flex-start"},style],children:[loading?/* @__PURE__ */jsx(View,{style:{width:shot.frame.w,height:shot.frame.h,borderRadius:shot.frame.radius[0],backgroundColor:t.colors.tintSage}}):/* @__PURE__ */jsx(BlockThumbnail,{size:"xs",src:image,alt:imageAlt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,onError:onImageError}),
125
- /* @__PURE__ */jsx(View,{style:{flex:1,minWidth:0},children:loading?/* @__PURE__ */jsx(Skeleton,{lines:2,label:loadingLabel}):/* @__PURE__ */jsxs(Fragment,{children:[nameEl,meta?/* @__PURE__ */jsx(Text,{style:[text(r.meta),{marginTop:r.meta.marginTop}],children:meta}):null]})}),loading?null:buy]}):/* @__PURE__ */jsxs(View,{testID:testID,style:[rnBox(t,m.card),style],children:[loading?/* @__PURE__ */jsx(View,{style:{width:"100%",aspectRatio:1,borderRadius:shot.frame.radius[0],backgroundColor:t.colors.tintSage,marginBottom:shot.frame.marginBottom}}):/* @__PURE__ */jsx(BlockThumbnail,{size:"md",src:image,alt:imageAlt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,onError:onImageError,style:{marginBottom:shot.frame.marginBottom}}),loading?/* @__PURE__ */jsx(Skeleton,{lines:3,label:loadingLabel}):/* @__PURE__ */jsxs(Fragment,{children:[kicker?/* @__PURE__ */jsx(Text,{style:text(m.kicker),children:kicker}):null,nameEl,meta?/* @__PURE__ */jsx(Text,{style:text(m.meta),children:meta}):null,buy]})]})}function rnSource3(image){return typeof image=="number"?image:typeof image=="string"?image?{uri:image}:null:image&&typeof image=="object"&&image.uri?image:null}function TipCard(props){let{number:number,title:title,text:line,foot:foot,footArrow:footArrow=false,footPress:footPress,tone:tone="y",image:image,onImageError:onImageError,icon:icon=UI_RN_ICON_LEAF,onPress:onPress,pressTarget:pressTarget="title",accessibilityLabel:accessibilityLabel,variant:variant="standard",loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}=props,t=useTheme(),reduced=useRnReduced(t),m=blocksMetrics(t).tip,ph=blocksMetrics(t).tipPhoto,w=blocksMetrics(t).tipWeb,pl=blocksMetrics(t).tipPlan,web=variant==="web",photo=variant==="photo",plan=variant==="plan",[down,setDown]=useState(false),[failed,setFailed]=useState(null),text=p=>rnText(t,textPartSpec(t,p)),kit=photo?{...m,card:ph.card,tones:ph.tones,img:ph.img,n:ph.n,nText:ph.nText,title:ph.title,pressScale:ph.pressScale,bare:ph.bare,thumb:ph.thumb,thumbIcon:ph.thumbIcon}:plan?{...m,card:pl.card,tones:pl.tones,title:pl.title,text:pl.text,footText:pl.footText,foot:pl.foot,pressScale:1}:m,card=web?[rnBox(t,w.card),style]:[rnBox(t,kit.card),{backgroundColor:colorOf(t,kit.tones[tone])},style],aspect=web?w.imgAspect:photo?ph.imgAspect:m.img.w/m.img.h,press=web?1:kit.pressScale;if(loading)/* @__PURE__ */
125
+ /* @__PURE__ */jsx(View,{style:{flex:1,minWidth:0},children:loading?/* @__PURE__ */jsx(Skeleton,{lines:2,label:loadingLabel}):/* @__PURE__ */jsxs(Fragment,{children:[nameEl,meta?/* @__PURE__ */jsx(Text,{style:[text(r.meta),{marginTop:r.meta.marginTop}],children:meta}):null]})}),loading?null:buy]}):/* @__PURE__ */jsxs(View,{testID:testID,style:[rnBox(t,m.card),style],children:[loading?/* @__PURE__ */jsx(View,{style:{width:"100%",aspectRatio:1,borderRadius:shot.frame.radius[0],backgroundColor:t.colors.tintSage,marginBottom:shot.frame.marginBottom}}):/* @__PURE__ */jsx(BlockThumbnail,{size:"md",src:image,alt:imageAlt,icon:fallback?.icon,iconSize:fallback?.iconSize,tint:fallback?.tint,iconColor:fallback?.iconColor,onError:onImageError,style:{marginBottom:shot.frame.marginBottom}}),loading?/* @__PURE__ */jsx(Skeleton,{lines:3,label:loadingLabel}):/* @__PURE__ */jsxs(Fragment,{children:[kicker?/* @__PURE__ */jsx(Text,{style:text(m.kicker),children:kicker}):null,nameEl,meta?/* @__PURE__ */jsx(Text,{style:text(m.meta),children:meta}):null,buy]})]})}function rnSource3(image){return typeof image=="number"?image:typeof image=="string"?image?{uri:image}:null:image&&typeof image=="object"&&image.uri?image:null}function TipCard(props){let{number:number,title:title,text:line,foot:foot,footArrow:footArrow=false,footPress:footPress,tone:tone="y",image:image,onImageError:onImageError,icon:icon=UI_RN_ICON_LEAF,onPress:onPress,pressTarget:pressTarget="title",accessibilityLabel:accessibilityLabel,variant:variant="standard",loading:loading=false,loadingLabel:loadingLabel,testID:testID,style:style}=props,t=useTheme(),reduced=useRnReduced(t),m=blockMetrics(t,tipBlockMetrics),ph=blockMetrics(t,tipPhotoBlockMetrics),w=blockMetrics(t,tipWebBlockMetrics),pl=blockMetrics(t,tipPlanBlockMetrics),web=variant==="web",photo=variant==="photo",plan=variant==="plan",[down,setDown]=useState(false),[failed,setFailed]=useState(null),text=p=>rnText(t,textPartSpec(t,p)),kit=photo?{...m,card:ph.card,tones:ph.tones,img:ph.img,n:ph.n,nText:ph.nText,title:ph.title,pressScale:ph.pressScale,bare:ph.bare,thumb:ph.thumb,thumbIcon:ph.thumbIcon}:plan?{...m,card:pl.card,tones:pl.tones,title:pl.title,text:pl.text,footText:pl.footText,foot:pl.foot,pressScale:1}:m,card=web?[rnBox(t,w.card),style]:[rnBox(t,kit.card),{backgroundColor:colorOf(t,kit.tones[tone])},style],aspect=web?w.imgAspect:photo?ph.imgAspect:m.img.w/m.img.h,press=web?1:kit.pressScale;if(loading)/* @__PURE__ */
126
126
  return jsx(View,{testID:testID,style:card,children:/* @__PURE__ */jsx(Skeleton,{lines:3,label:loadingLabel})});let kn=kit.n,n=web?null:/* @__PURE__ */jsx(View,{style:[rnBox(t,kn),{position:"absolute",left:kn.x,top:kn.y,width:kn.w,height:kn.h,alignItems:"center",justifyContent:"center"}],children:/* @__PURE__ */jsx(Text,{style:text(kit.nText),children:number})}),titleText=/* @__PURE__ */jsx(Text,{style:text(web?w.title:kit.title),children:title}),cover=onPress!==void 0&&(web||pressTarget==="card"),part=n2=>testID===void 0?void 0:`${testID}-${n2}`,given=plan?null:rnSource3(image),source=given&&failed!==image?given:null,footStyle=text(kit.footText),arrow=footArrow||footPress?/* @__PURE__ */jsx(Glyph,{icon:UI_RN_ICON_ARROW_LEFT,size:m.footArrow.w,color:typeof footStyle.color=="string"?footStyle.color:void 0,style:m.footArrowFlip?{transform:[{rotate:"180deg"}]}:void 0}):null,footText=/* @__PURE__ */jsx(Text,{style:footStyle,children:foot}),footRow={flexDirection:"row",alignItems:"center",columnGap:m.foot.gap[0]},footEl=foot&&!web&&!photo?footPress?/* @__PURE__ */jsxs(Pressable,{testID:footPress.testID??part("foot"),onPress:footPress.onPress,accessibilityRole:"link",accessibilityLabel:footPress.accessibilityLabel??foot,hitSlop:slopFor(footStyle.lineHeight??m.footArrow.w),style:[footRow,{marginTop:"auto",paddingTop:kit.foot.padding[0],alignSelf:"flex-start",zIndex:1}],children:[footText,arrow]}):arrow?/* @__PURE__ */jsxs(View,{style:[footRow,{marginTop:"auto",paddingTop:kit.foot.padding[0]}],children:[footText,arrow]}):/* @__PURE__ */jsx(Text,{style:[footStyle,{marginTop:"auto",paddingTop:kit.foot.padding[0]}],children:foot}):null,failOn=()=>{image!=null&&(setFailed(image),onImageError?.(image))},thumbIcon=spec=>/* @__PURE__ */jsx(BlockIcon,{icon:icon,size:spec.w,color:colorOf(t,spec.color)}),top=plan?/* @__PURE__ */jsxs(View,{accessibilityElementsHidden:true,importantForAccessibility:"no-hide-descendants",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",minHeight:pl.top.h},children:[
127
127
  /* @__PURE__ */jsx(Text,{style:text(pl.nText),children:number}),
128
128
  /* @__PURE__ */jsx(BlockIcon,{icon:icon,size:pl.icon.w,color:colorOf(t,pl.icon.color)})]}):!web&&!source?/* @__PURE__ */jsxs(View,{testID:part("thumb"),accessibilityElementsHidden:true,importantForAccessibility:"no-hide-descendants",style:[rnBox(t,kit.bare),{flexDirection:"row",justifyContent:"space-between",alignItems:"center"}],children:[