@happyvertical/smrt-planner 0.60.12 → 0.60.13

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 (531) hide show
  1. package/app/404.html +18 -18
  2. package/app/_app/immutable/chunks/{CEAekex5.js → B4RZaVLJ.js} +1 -1
  3. package/app/_app/immutable/chunks/{BLxEt6rB.js → B51N8lPp.js} +1 -1
  4. package/app/_app/immutable/chunks/{xfMF02Bd.js → B5Hi1VWI.js} +1 -1
  5. package/app/_app/immutable/chunks/{B9_h_mHe.js → B7faC4d1.js} +1 -1
  6. package/app/_app/immutable/chunks/{CL9bwSUa.js → BBW1vRik.js} +1 -1
  7. package/app/_app/immutable/chunks/{D_YvuBGK.js → BGQ-W9bn.js} +1 -1
  8. package/app/_app/immutable/chunks/BiIR6hYE.js +1 -0
  9. package/app/_app/immutable/chunks/{Bnevj03f.js → Br6uY3Yq.js} +1 -1
  10. package/app/_app/immutable/chunks/{C719Tukc.js → But0ITT-.js} +1 -1
  11. package/app/_app/immutable/chunks/{D26vob6f.js → Bv5X8BNy.js} +1 -1
  12. package/app/_app/immutable/chunks/{DWyzkubm.js → By9bP9S3.js} +1 -1
  13. package/app/_app/immutable/chunks/{DWvXCQ0u.js → C2fMJvwo.js} +1 -1
  14. package/app/_app/immutable/chunks/{CHw7lFPr.js → C3KQXl2l.js} +1 -1
  15. package/app/_app/immutable/chunks/{DTxtQS7E.js → C4h_pFjw.js} +1 -1
  16. package/app/_app/immutable/chunks/{DRMpwqfm.js → CJ2Zllj9.js} +3 -3
  17. package/app/_app/immutable/chunks/{V9_dolQc.js → CKeqIK18.js} +2 -2
  18. package/app/_app/immutable/chunks/{Cz2asSzI.js → CNDSLfdy.js} +1 -1
  19. package/app/_app/immutable/chunks/{D4QZjNwd.js → D7pmElUN.js} +1 -1
  20. package/app/_app/immutable/chunks/{Bm8-8G4Y.js → DEMOujRJ.js} +1 -1
  21. package/app/_app/immutable/chunks/{CSVCiMHn.js → DFcwqo0O.js} +1 -1
  22. package/app/_app/immutable/chunks/{BGT4FOaU.js → DHzXY4VB.js} +1 -1
  23. package/app/_app/immutable/chunks/{DkzHae6H.js → DWT84qRc.js} +1 -1
  24. package/app/_app/immutable/chunks/DYaOo5kp.js +1 -0
  25. package/app/_app/immutable/chunks/DmK2c-4s.js +1 -0
  26. package/app/_app/immutable/chunks/{D5J0PCfu.js → Dvi40siQ.js} +1 -1
  27. package/app/_app/immutable/chunks/{DaAfmwdu.js → DwjSIdzz.js} +1 -1
  28. package/app/_app/immutable/chunks/{eg3CcFX4.js → KYQTW01W.js} +1 -1
  29. package/app/_app/immutable/chunks/{BP0RtFz5.js → nHXWSv3N.js} +1 -1
  30. package/app/_app/immutable/chunks/{WqCtkIDw.js → q4NZ65-X.js} +34 -34
  31. package/app/_app/immutable/entry/{app.CRID6qGe.js → app.BjndgPSr.js} +2 -2
  32. package/app/_app/immutable/entry/start.B9yIQ_AO.js +1 -0
  33. package/app/_app/immutable/nodes/{0.CTb-IJnp.js → 0.rI80aPf8.js} +1 -1
  34. package/app/_app/immutable/nodes/{1.IGsdFaQ3.js → 1.Lw8Leydt.js} +1 -1
  35. package/app/_app/immutable/nodes/{10.BSYIRsjI.js → 10.CqJKKK_s.js} +1 -1
  36. package/app/_app/immutable/nodes/{11.ICIeF_XJ.js → 11.OK70ZQv0.js} +1 -1
  37. package/app/_app/immutable/nodes/{12.Cpz1ILGz.js → 12.XlRr7THQ.js} +1 -1
  38. package/app/_app/immutable/nodes/{13.CmF1xD2w.js → 13.B1dzCWGd.js} +1 -1
  39. package/app/_app/immutable/nodes/{14.B_5uO3Th.js → 14.CWOnaYcf.js} +1 -1
  40. package/app/_app/immutable/nodes/{2.DiuRJCFB.js → 2.DFAv8si-.js} +3 -3
  41. package/app/_app/immutable/nodes/{3.dmVDRXL7.js → 3.Cd3k1iaV.js} +1 -1
  42. package/app/_app/immutable/nodes/{4.BJwXJq-1.js → 4.CYkRXq0B.js} +1 -1
  43. package/app/_app/immutable/nodes/{5.BqnCDngZ.js → 5.Ca82uRca.js} +1 -1
  44. package/app/_app/immutable/nodes/{6.CGHLnxOz.js → 6.DSg_M0vQ.js} +1 -1
  45. package/app/_app/immutable/nodes/{7.DOVOYfzy.js → 7.DpmQrBzO.js} +1 -1
  46. package/app/_app/immutable/nodes/{8.CLqFK1ER.js → 8.Bgfw55ai.js} +1 -1
  47. package/app/_app/immutable/nodes/{9.DyNA9S0N.js → 9.CBVAQ1rV.js} +1 -1
  48. package/app/_app/version.json +1 -1
  49. package/app/advanced-styles/index.html +21 -21
  50. package/app/ai/index.html +24 -24
  51. package/app/blueprint/index.html +19 -19
  52. package/app/cookbook/index.html +19 -19
  53. package/app/index.html +31 -31
  54. package/app/m/ads/AdDeliveryTier/index.html +23 -23
  55. package/app/m/ads/AdEvent/index.html +23 -23
  56. package/app/m/ads/AdFormat/index.html +23 -23
  57. package/app/m/ads/AdGroup/index.html +23 -23
  58. package/app/m/ads/AdVariation/index.html +23 -23
  59. package/app/m/analytics/AnalyticsDataStream/index.html +23 -23
  60. package/app/m/analytics/AnalyticsEvent/index.html +23 -23
  61. package/app/m/analytics/AnalyticsProperty/index.html +23 -23
  62. package/app/m/analytics/AnalyticsReport/index.html +23 -23
  63. package/app/m/approvals/ApprovalEvent/index.html +23 -23
  64. package/app/m/approvals/ApprovalPolicy/index.html +23 -23
  65. package/app/m/approvals/ApprovalRequest/index.html +23 -23
  66. package/app/m/assets/Asset/attachments/index.html +24 -24
  67. package/app/m/assets/Asset/index.html +23 -23
  68. package/app/m/assets/AssetAssociation/index.html +23 -23
  69. package/app/m/assets/AssetMetafield/index.html +23 -23
  70. package/app/m/assets/AssetStatus/index.html +23 -23
  71. package/app/m/assets/AssetType/index.html +23 -23
  72. package/app/m/assets/Folder/index.html +23 -23
  73. package/app/m/chat/AgentSession/index.html +23 -23
  74. package/app/m/chat/ChatMessage/index.html +23 -23
  75. package/app/m/chat/ChatParticipant/index.html +23 -23
  76. package/app/m/chat/ChatReaction/index.html +23 -23
  77. package/app/m/chat/ChatRoom/index.html +23 -23
  78. package/app/m/chat/ChatThread/index.html +23 -23
  79. package/app/m/chat/VoiceGatewayTurn/index.html +23 -23
  80. package/app/m/chat/VoiceSession/index.html +23 -23
  81. package/app/m/commerce/Agreement/index.html +23 -23
  82. package/app/m/commerce/Cart/index.html +23 -23
  83. package/app/m/commerce/Contract/index.html +23 -23
  84. package/app/m/commerce/ContractLineItem/index.html +23 -23
  85. package/app/m/commerce/Customer/index.html +23 -23
  86. package/app/m/commerce/DocumentTax/index.html +23 -23
  87. package/app/m/commerce/Estimate/index.html +23 -23
  88. package/app/m/commerce/Fulfillment/index.html +23 -23
  89. package/app/m/commerce/FulfillmentLineItem/index.html +23 -23
  90. package/app/m/commerce/HistoricalCustomerFunds/index.html +23 -23
  91. package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +23 -23
  92. package/app/m/commerce/HistoricalSalesLine/index.html +23 -23
  93. package/app/m/commerce/Invoice/index.html +23 -23
  94. package/app/m/commerce/InvoiceLineItem/index.html +23 -23
  95. package/app/m/commerce/Lease/index.html +23 -23
  96. package/app/m/commerce/LicenseSale/index.html +23 -23
  97. package/app/m/commerce/Order/index.html +23 -23
  98. package/app/m/commerce/Payment/index.html +23 -23
  99. package/app/m/commerce/PaymentAllocation/index.html +23 -23
  100. package/app/m/commerce/PaymentInstrument/index.html +23 -23
  101. package/app/m/commerce/PaymentIntent/index.html +23 -23
  102. package/app/m/commerce/Payout/index.html +23 -23
  103. package/app/m/commerce/ProductionOrder/index.html +23 -23
  104. package/app/m/commerce/PurchaseContract/index.html +23 -23
  105. package/app/m/commerce/PurchaseOrder/index.html +23 -23
  106. package/app/m/commerce/SalesContract/index.html +23 -23
  107. package/app/m/commerce/SupplierQuote/index.html +23 -23
  108. package/app/m/commerce/TaxCode/index.html +23 -23
  109. package/app/m/commerce/TaxComponent/index.html +23 -23
  110. package/app/m/commerce/TaxSettings/index.html +23 -23
  111. package/app/m/commerce/TaxSummaryReport/index.html +23 -23
  112. package/app/m/commerce/TenantPaymentAccount/index.html +23 -23
  113. package/app/m/commerce/Vendor/index.html +23 -23
  114. package/app/m/commerce/WholesaleOrder/index.html +23 -23
  115. package/app/m/content/Content/articles/index.html +24 -24
  116. package/app/m/content/Content/index.html +23 -23
  117. package/app/m/content/ContentContribution/index.html +23 -23
  118. package/app/m/content/ContentContributionAttachment/index.html +23 -23
  119. package/app/m/content/ContentContributionRevision/index.html +23 -23
  120. package/app/m/content/ContentContributionType/index.html +23 -23
  121. package/app/m/content/ContentContributor/index.html +23 -23
  122. package/app/m/content/ContentCorrection/index.html +23 -23
  123. package/app/m/content/ContentFeedSource/index.html +23 -23
  124. package/app/m/content/ContentGovernanceAssignment/index.html +23 -23
  125. package/app/m/content/ContentGovernancePolicy/index.html +23 -23
  126. package/app/m/content/ContentGovernanceProfile/index.html +23 -23
  127. package/app/m/content/ContentReference/index.html +23 -23
  128. package/app/m/content/ContentReview/index.html +23 -23
  129. package/app/m/content/ContentVersion/index.html +23 -23
  130. package/app/m/events/Event/index.html +23 -23
  131. package/app/m/events/EventParticipant/index.html +23 -23
  132. package/app/m/events/EventSeries/index.html +23 -23
  133. package/app/m/events/EventType/index.html +23 -23
  134. package/app/m/expenses/Expense/index.html +23 -23
  135. package/app/m/facts/Fact/index.html +23 -23
  136. package/app/m/facts/FactContent/index.html +23 -23
  137. package/app/m/facts/FactEvidence/index.html +23 -23
  138. package/app/m/facts/FactSource/index.html +23 -23
  139. package/app/m/facts/FactSubject/index.html +23 -23
  140. package/app/m/facts/FactTag/index.html +23 -23
  141. package/app/m/fields/FieldPolicy/index.html +23 -23
  142. package/app/m/fields/FieldPolicySuggestion/index.html +23 -23
  143. package/app/m/fields/FieldUsageCounter/index.html +23 -23
  144. package/app/m/human-resources/Employment/index.html +23 -23
  145. package/app/m/human-resources/EmploymentTerm/index.html +23 -23
  146. package/app/m/human-resources/HeldQualification/index.html +23 -23
  147. package/app/m/human-resources/Qualification/index.html +23 -23
  148. package/app/m/images/Image/index.html +23 -23
  149. package/app/m/inventory/InventoryLocation/index.html +23 -23
  150. package/app/m/inventory/Lot/index.html +23 -23
  151. package/app/m/inventory/LotCorrection/index.html +23 -23
  152. package/app/m/inventory/LotDocument/index.html +23 -23
  153. package/app/m/inventory/LotStockLevel/index.html +23 -23
  154. package/app/m/inventory/LotUsage/index.html +23 -23
  155. package/app/m/inventory/StockLevel/index.html +23 -23
  156. package/app/m/inventory/StockMovement/index.html +23 -23
  157. package/app/m/ledgers/Account/index.html +23 -23
  158. package/app/m/ledgers/Journal/index.html +23 -23
  159. package/app/m/ledgers/JournalEntry/index.html +23 -23
  160. package/app/m/ledgers/Ledger/index.html +23 -23
  161. package/app/m/manufacturing/Assembly/index.html +23 -23
  162. package/app/m/manufacturing/BillOfMaterials/index.html +23 -23
  163. package/app/m/manufacturing/BomLine/index.html +23 -23
  164. package/app/m/manufacturing/Operation/index.html +23 -23
  165. package/app/m/manufacturing/ProductionRun/index.html +23 -23
  166. package/app/m/manufacturing/ProductionRunCompletion/index.html +23 -23
  167. package/app/m/manufacturing/RoutingStep/index.html +23 -23
  168. package/app/m/marketing/Campaign/index.html +23 -23
  169. package/app/m/marketing/CampaignChannel/index.html +23 -23
  170. package/app/m/marketing/CampaignMetricSnapshot/index.html +23 -23
  171. package/app/m/messages/Account/index.html +23 -23
  172. package/app/m/messages/Attachment/index.html +23 -23
  173. package/app/m/messages/Blacklist/index.html +23 -23
  174. package/app/m/messages/Email/failed-sends/index.html +24 -24
  175. package/app/m/messages/Email/index.html +23 -23
  176. package/app/m/messages/Email/mailbox/index.html +24 -24
  177. package/app/m/messages/EmailAccount/index.html +23 -23
  178. package/app/m/messages/EmailAttachment/index.html +23 -23
  179. package/app/m/messages/EmailFolder/index.html +23 -23
  180. package/app/m/messages/Message/index.html +23 -23
  181. package/app/m/messages/MessagingEndpoint/index.html +23 -23
  182. package/app/m/messages/PersonaMessageRoute/index.html +23 -23
  183. package/app/m/messages/SlackAccount/index.html +23 -23
  184. package/app/m/messages/SlackMessage/index.html +23 -23
  185. package/app/m/messages/SlackMessage/slack-messages/index.html +24 -24
  186. package/app/m/messages/TelegramAccount/index.html +23 -23
  187. package/app/m/messages/Tweet/index.html +23 -23
  188. package/app/m/messages/TwitterAccount/index.html +23 -23
  189. package/app/m/messages/Whitelist/index.html +23 -23
  190. package/app/m/messages/ZulipAccount/index.html +23 -23
  191. package/app/m/places/Place/index.html +23 -23
  192. package/app/m/places/PlaceType/index.html +23 -23
  193. package/app/m/products/Category/index.html +23 -23
  194. package/app/m/products/Material/index.html +23 -23
  195. package/app/m/products/Product/index.html +23 -23
  196. package/app/m/products/Product/ingredients/index.html +24 -24
  197. package/app/m/products/ProductVariant/index.html +23 -23
  198. package/app/m/products/Sku/index.html +23 -23
  199. package/app/m/profiles/ApiKey/index.html +23 -23
  200. package/app/m/profiles/Bot/index.html +23 -23
  201. package/app/m/profiles/MagicLinkToken/index.html +23 -23
  202. package/app/m/profiles/NostrIdentity/index.html +23 -23
  203. package/app/m/profiles/OidcIdentity/index.html +23 -23
  204. package/app/m/profiles/Organization/index.html +23 -23
  205. package/app/m/profiles/Person/index.html +23 -23
  206. package/app/m/profiles/Profile/index.html +23 -23
  207. package/app/m/profiles/ProfileMetadata/index.html +23 -23
  208. package/app/m/profiles/ProfileMetafield/index.html +23 -23
  209. package/app/m/profiles/ProfileRelationship/index.html +23 -23
  210. package/app/m/profiles/ProfileRelationshipTerm/index.html +23 -23
  211. package/app/m/profiles/ProfileRelationshipType/index.html +23 -23
  212. package/app/m/profiles/ProfileType/index.html +23 -23
  213. package/app/m/projects/Comment/index.html +23 -23
  214. package/app/m/projects/Issue/index.html +23 -23
  215. package/app/m/projects/Label/index.html +23 -23
  216. package/app/m/projects/Project/index.html +23 -23
  217. package/app/m/projects/ProjectIntegration/index.html +23 -23
  218. package/app/m/projects/PullRequest/index.html +23 -23
  219. package/app/m/projects/Repository/index.html +23 -23
  220. package/app/m/properties/Property/index.html +23 -23
  221. package/app/m/properties/Zone/index.html +23 -23
  222. package/app/m/reports/RuntimeReport/index.html +23 -23
  223. package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +23 -23
  224. package/app/m/reports/SmrtReportLock/index.html +23 -23
  225. package/app/m/reports/SmrtReportRefreshTask/index.html +23 -23
  226. package/app/m/reports/SmrtReportRun/index.html +23 -23
  227. package/app/m/reports/SmrtReportSchedule/index.html +23 -23
  228. package/app/m/reports/SmrtReportWatermark/index.html +23 -23
  229. package/app/m/sales/Agreement/index.html +23 -23
  230. package/app/m/sales/AttributionException/index.html +23 -23
  231. package/app/m/sales/AttributionPolicy/index.html +23 -23
  232. package/app/m/sales/Commission/index.html +23 -23
  233. package/app/m/sales/CommissionAdjustment/index.html +23 -23
  234. package/app/m/sales/CommissionPayout/index.html +23 -23
  235. package/app/m/sales/CommissionPlan/index.html +23 -23
  236. package/app/m/sales/Earner/index.html +23 -23
  237. package/app/m/sales/EarnerSourceAttribution/index.html +23 -23
  238. package/app/m/sales/EarningEvent/index.html +23 -23
  239. package/app/m/sales/ExecutedAgreement/index.html +23 -23
  240. package/app/m/sales/Lead/index.html +23 -23
  241. package/app/m/sales/Opportunity/index.html +23 -23
  242. package/app/m/sales/OpportunityConversion/index.html +23 -23
  243. package/app/m/sales/PipelineDefinition/index.html +23 -23
  244. package/app/m/sales/PipelineStage/index.html +23 -23
  245. package/app/m/sales/Referral/index.html +23 -23
  246. package/app/m/sales/ReferralAgreement/index.html +23 -23
  247. package/app/m/sales/ReferralLink/index.html +23 -23
  248. package/app/m/sales/ReferralProgram/index.html +23 -23
  249. package/app/m/sales/ReferralTermSnapshot/index.html +23 -23
  250. package/app/m/sales/ReferralTouch/index.html +23 -23
  251. package/app/m/sales/Referrer/index.html +23 -23
  252. package/app/m/sales/ReferrerIdentifier/index.html +88 -0
  253. package/app/m/sales/SalesActivity/index.html +23 -23
  254. package/app/m/sales/SalesRepresentative/index.html +23 -23
  255. package/app/m/sites/Site/index.html +23 -23
  256. package/app/m/sites/SiteAgentBinding/index.html +23 -23
  257. package/app/m/social/OAuthState/index.html +23 -23
  258. package/app/m/social/SocialAccount/index.html +23 -23
  259. package/app/m/social/SocialPost/index.html +23 -23
  260. package/app/m/social/SocialPostAnalyticsSnapshot/index.html +23 -23
  261. package/app/m/subscriptions/BillingAdjustment/index.html +23 -23
  262. package/app/m/subscriptions/ClientCharge/index.html +23 -23
  263. package/app/m/subscriptions/CreditGrant/index.html +23 -23
  264. package/app/m/subscriptions/PricingRule/index.html +23 -23
  265. package/app/m/subscriptions/RetailCharge/index.html +23 -23
  266. package/app/m/subscriptions/SpendingPolicy/index.html +23 -23
  267. package/app/m/subscriptions/SubscriptionPlan/index.html +23 -23
  268. package/app/m/subscriptions/SubscriptionPlanVersion/index.html +23 -23
  269. package/app/m/subscriptions/TenantSubscription/index.html +23 -23
  270. package/app/m/subscriptions/TenantUsageMetric/index.html +23 -23
  271. package/app/m/support/ServiceTimeEntry/index.html +23 -23
  272. package/app/m/support/SupportAiRun/index.html +23 -23
  273. package/app/m/support/SupportAvailability/index.html +23 -23
  274. package/app/m/support/SupportCase/index.html +23 -23
  275. package/app/m/support/SupportCaseEvent/index.html +23 -23
  276. package/app/m/support/SupportChannelBinding/index.html +23 -23
  277. package/app/m/support/SupportCharge/index.html +23 -23
  278. package/app/m/support/SupportCompensation/index.html +23 -23
  279. package/app/m/support/SupportCompensationPlan/index.html +23 -23
  280. package/app/m/support/SupportEscalation/index.html +23 -23
  281. package/app/m/support/SupportInteraction/index.html +23 -23
  282. package/app/m/support/SupportPlan/index.html +23 -23
  283. package/app/m/support/SupportPolicy/index.html +23 -23
  284. package/app/m/support/SupportQualification/index.html +23 -23
  285. package/app/m/support/SupportServiceTarget/index.html +23 -23
  286. package/app/m/support/SupportSpecialist/index.html +23 -23
  287. package/app/m/support/SupportWorkLink/index.html +23 -23
  288. package/app/m/tags/Tag/index.html +23 -23
  289. package/app/m/tags/TagAlias/index.html +23 -23
  290. package/app/m/timesheets/AttendanceBreak/index.html +23 -23
  291. package/app/m/timesheets/AttendancePunch/index.html +23 -23
  292. package/app/m/timesheets/AttendanceSegment/index.html +23 -23
  293. package/app/m/timesheets/ServiceChargeSnapshot/index.html +23 -23
  294. package/app/m/timesheets/ServiceCompensationSnapshot/index.html +23 -23
  295. package/app/m/timesheets/ServiceTimeEntry/index.html +23 -23
  296. package/app/m/users/Group/index.html +23 -23
  297. package/app/m/users/GroupMember/index.html +23 -23
  298. package/app/m/users/GroupRole/index.html +23 -23
  299. package/app/m/users/Membership/index.html +23 -23
  300. package/app/m/users/MembershipOverride/index.html +23 -23
  301. package/app/m/users/Permission/index.html +23 -23
  302. package/app/m/users/Role/index.html +23 -23
  303. package/app/m/users/RolePermission/index.html +23 -23
  304. package/app/m/users/Session/index.html +23 -23
  305. package/app/m/users/Tenant/index.html +23 -23
  306. package/app/m/users/TenantIntegration/index.html +23 -23
  307. package/app/m/users/TenantPermissionOverride/index.html +23 -23
  308. package/app/m/users/User/index.html +23 -23
  309. package/app/m/video/Character/index.html +23 -23
  310. package/app/m/video/CharacterAsset/index.html +23 -23
  311. package/app/m/video/CompositeJob/index.html +23 -23
  312. package/app/m/video/Performer/index.html +23 -23
  313. package/app/m/video/PerformerAsset/index.html +23 -23
  314. package/app/m/video/Scene/index.html +23 -23
  315. package/app/m/video/SceneAsset/index.html +23 -23
  316. package/app/m/video/VideoComposition/index.html +23 -23
  317. package/app/m/video/VideoCompositionAsset/index.html +23 -23
  318. package/app/m/video/VideoSequence/index.html +23 -23
  319. package/app/m/video/VideoSequenceAsset/index.html +23 -23
  320. package/app/m/video/VideoShot/index.html +23 -23
  321. package/app/m/video/VideoShotAsset/index.html +23 -23
  322. package/app/m/video/VideoShotCharacter/index.html +23 -23
  323. package/app/m/video/VideoWorkflow/index.html +23 -23
  324. package/app/m/voice/VoiceOutput/index.html +23 -23
  325. package/app/m/voice/VoiceProfile/index.html +23 -23
  326. package/app/m/voice/VoiceSample/index.html +23 -23
  327. package/app/mcp.html +2 -2
  328. package/app/packages/ads/index.html +21 -21
  329. package/app/packages/analytics/index.html +21 -21
  330. package/app/packages/approvals/index.html +21 -21
  331. package/app/packages/assets/index.html +21 -21
  332. package/app/packages/chat/index.html +21 -21
  333. package/app/packages/comments/index.html +21 -21
  334. package/app/packages/commerce/index.html +21 -21
  335. package/app/packages/content/index.html +21 -21
  336. package/app/packages/events/index.html +21 -21
  337. package/app/packages/expenses/index.html +21 -21
  338. package/app/packages/facts/index.html +21 -21
  339. package/app/packages/fields/index.html +21 -21
  340. package/app/packages/human-resources/index.html +21 -21
  341. package/app/packages/images/index.html +21 -21
  342. package/app/packages/index.html +21 -21
  343. package/app/packages/ingestion/index.html +21 -21
  344. package/app/packages/inventory/index.html +21 -21
  345. package/app/packages/ledgers/index.html +21 -21
  346. package/app/packages/manufacturing/index.html +21 -21
  347. package/app/packages/marketing/index.html +21 -21
  348. package/app/packages/messages/index.html +21 -21
  349. package/app/packages/places/index.html +21 -21
  350. package/app/packages/preferences/index.html +21 -21
  351. package/app/packages/products/index.html +21 -21
  352. package/app/packages/profiles/index.html +21 -21
  353. package/app/packages/projects/index.html +21 -21
  354. package/app/packages/properties/index.html +21 -21
  355. package/app/packages/reactions/index.html +21 -21
  356. package/app/packages/reports/index.html +21 -21
  357. package/app/packages/sales/index.html +22 -22
  358. package/app/packages/sites/index.html +21 -21
  359. package/app/packages/social/index.html +21 -21
  360. package/app/packages/subscriptions/index.html +21 -21
  361. package/app/packages/support/index.html +21 -21
  362. package/app/packages/tags/index.html +21 -21
  363. package/app/packages/timesheets/index.html +21 -21
  364. package/app/packages/users/index.html +21 -21
  365. package/app/packages/video/index.html +21 -21
  366. package/app/packages/voice/index.html +21 -21
  367. package/app/packages/webhooks/index.html +21 -21
  368. package/app/recipes/account-access/help/index.html +21 -21
  369. package/app/recipes/account-access/index.html +23 -23
  370. package/app/recipes/activity/help/index.html +21 -21
  371. package/app/recipes/activity/index.html +23 -23
  372. package/app/recipes/ads.campaigns/help/index.html +21 -21
  373. package/app/recipes/ads.campaigns/index.html +23 -23
  374. package/app/recipes/affiliates.referrals/help/index.html +22 -22
  375. package/app/recipes/affiliates.referrals/index.html +23 -23
  376. package/app/recipes/agreements/help/index.html +21 -21
  377. package/app/recipes/agreements/index.html +23 -23
  378. package/app/recipes/analytics.reports/help/index.html +21 -21
  379. package/app/recipes/analytics.reports/index.html +23 -23
  380. package/app/recipes/approvals.requests/help/index.html +21 -21
  381. package/app/recipes/approvals.requests/index.html +23 -23
  382. package/app/recipes/assets/help/index.html +21 -21
  383. package/app/recipes/assets/index.html +23 -23
  384. package/app/recipes/billing/help/index.html +21 -21
  385. package/app/recipes/billing/index.html +23 -23
  386. package/app/recipes/chat.assistant/help/index.html +21 -21
  387. package/app/recipes/chat.assistant/index.html +23 -23
  388. package/app/recipes/comments/help/index.html +21 -21
  389. package/app/recipes/comments/index.html +23 -23
  390. package/app/recipes/commerce.customers/help/index.html +21 -21
  391. package/app/recipes/commerce.customers/index.html +23 -23
  392. package/app/recipes/commerce.estimates/help/index.html +21 -21
  393. package/app/recipes/commerce.estimates/index.html +23 -23
  394. package/app/recipes/commerce.purchases/help/index.html +21 -21
  395. package/app/recipes/commerce.purchases/index.html +23 -23
  396. package/app/recipes/commerce.sales/help/index.html +21 -21
  397. package/app/recipes/commerce.sales/index.html +23 -23
  398. package/app/recipes/commerce.vendors/help/index.html +21 -21
  399. package/app/recipes/commerce.vendors/index.html +23 -23
  400. package/app/recipes/commerce.wholesale/help/index.html +21 -21
  401. package/app/recipes/commerce.wholesale/index.html +23 -23
  402. package/app/recipes/content.articles/help/index.html +21 -21
  403. package/app/recipes/content.articles/index.html +23 -23
  404. package/app/recipes/events.calendar/help/index.html +21 -21
  405. package/app/recipes/events.calendar/index.html +23 -23
  406. package/app/recipes/expenses.tracking/help/index.html +21 -21
  407. package/app/recipes/expenses.tracking/index.html +23 -23
  408. package/app/recipes/fields.form-customization/help/index.html +21 -21
  409. package/app/recipes/fields.form-customization/index.html +23 -23
  410. package/app/recipes/human-resources.people/help/index.html +21 -21
  411. package/app/recipes/human-resources.people/index.html +23 -23
  412. package/app/recipes/human-resources.qualifications/help/index.html +21 -21
  413. package/app/recipes/human-resources.qualifications/index.html +23 -23
  414. package/app/recipes/ingestion/help/index.html +21 -21
  415. package/app/recipes/ingestion/index.html +23 -23
  416. package/app/recipes/integrations/help/index.html +21 -21
  417. package/app/recipes/integrations/index.html +23 -23
  418. package/app/recipes/inventory.stock/help/index.html +21 -21
  419. package/app/recipes/inventory.stock/index.html +23 -23
  420. package/app/recipes/ledgers.bookkeeping/help/index.html +21 -21
  421. package/app/recipes/ledgers.bookkeeping/index.html +23 -23
  422. package/app/recipes/manufacturing.assemblies/help/index.html +21 -21
  423. package/app/recipes/manufacturing.assemblies/index.html +23 -23
  424. package/app/recipes/manufacturing.production/help/index.html +21 -21
  425. package/app/recipes/manufacturing.production/index.html +23 -23
  426. package/app/recipes/marketing.campaigns/help/index.html +21 -21
  427. package/app/recipes/marketing.campaigns/index.html +23 -23
  428. package/app/recipes/messages/help/index.html +21 -21
  429. package/app/recipes/messages/index.html +23 -23
  430. package/app/recipes/places.locations/help/index.html +21 -21
  431. package/app/recipes/places.locations/index.html +23 -23
  432. package/app/recipes/products/help/index.html +21 -21
  433. package/app/recipes/products/index.html +23 -23
  434. package/app/recipes/projects.tracker/help/index.html +21 -21
  435. package/app/recipes/projects.tracker/index.html +23 -23
  436. package/app/recipes/reports.materialized/help/index.html +21 -21
  437. package/app/recipes/reports.materialized/index.html +23 -23
  438. package/app/recipes/reports.runtime/help/index.html +21 -21
  439. package/app/recipes/reports.runtime/index.html +23 -23
  440. package/app/recipes/sales.pipeline/help/index.html +21 -21
  441. package/app/recipes/sales.pipeline/index.html +23 -23
  442. package/app/recipes/social.posts/help/index.html +21 -21
  443. package/app/recipes/social.posts/index.html +23 -23
  444. package/app/recipes/subscriptions.plans/help/index.html +21 -21
  445. package/app/recipes/subscriptions.plans/index.html +23 -23
  446. package/app/recipes/support.tickets/help/index.html +21 -21
  447. package/app/recipes/support.tickets/index.html +23 -23
  448. package/app/recipes/tags.taxonomy/help/index.html +21 -21
  449. package/app/recipes/tags.taxonomy/index.html +23 -23
  450. package/app/recipes/team-collaboration/help/index.html +21 -21
  451. package/app/recipes/team-collaboration/index.html +23 -23
  452. package/app/recipes/timesheets.time-entries/help/index.html +21 -21
  453. package/app/recipes/timesheets.time-entries/index.html +23 -23
  454. package/app/recipes/video.library/help/index.html +21 -21
  455. package/app/recipes/video.library/index.html +23 -23
  456. package/app/recipes/voice.profiles/help/index.html +21 -21
  457. package/app/recipes/voice.profiles/index.html +23 -23
  458. package/app/s/custom-accounts/index.html +19 -19
  459. package/app/s/custom-appointments/index.html +19 -19
  460. package/app/s/custom-billing/index.html +19 -19
  461. package/app/s/custom-bookings/index.html +19 -19
  462. package/app/s/custom-buying/index.html +19 -19
  463. package/app/s/custom-checkout/index.html +19 -19
  464. package/app/s/custom-classes/index.html +19 -19
  465. package/app/s/custom-clients/index.html +19 -19
  466. package/app/s/custom-events/index.html +19 -19
  467. package/app/s/custom-fleet/index.html +19 -19
  468. package/app/s/custom-gigs/index.html +19 -19
  469. package/app/s/custom-giving/index.html +19 -19
  470. package/app/s/custom-instruments/index.html +19 -19
  471. package/app/s/custom-jobs/index.html +19 -19
  472. package/app/s/custom-kitchen/index.html +19 -19
  473. package/app/s/custom-lessons/index.html +19 -19
  474. package/app/s/custom-material/index.html +19 -19
  475. package/app/s/custom-meetings/index.html +19 -19
  476. package/app/s/custom-members/index.html +19 -19
  477. package/app/s/custom-merch/index.html +19 -19
  478. package/app/s/custom-money/index.html +19 -19
  479. package/app/s/custom-paint/index.html +19 -19
  480. package/app/s/custom-parts/index.html +19 -19
  481. package/app/s/custom-rentals/index.html +19 -19
  482. package/app/s/custom-roastery/index.html +19 -19
  483. package/app/s/custom-schedule/index.html +19 -19
  484. package/app/s/custom-shelf/index.html +19 -19
  485. package/app/s/custom-shop/index.html +19 -19
  486. package/app/s/custom-students/index.html +19 -19
  487. package/app/s/custom-wholesale/index.html +19 -19
  488. package/app/s/custom-work/index.html +19 -19
  489. package/app/s/custom-yard/index.html +19 -19
  490. package/app/s/section-access-control/index.html +19 -19
  491. package/app/s/section-account-security/index.html +19 -19
  492. package/app/s/section-accounting/index.html +19 -19
  493. package/app/s/section-activity/index.html +19 -19
  494. package/app/s/section-agreements/index.html +19 -19
  495. package/app/s/section-analytics/index.html +19 -19
  496. package/app/s/section-approvals/index.html +19 -19
  497. package/app/s/section-assets/index.html +19 -19
  498. package/app/s/section-billing/index.html +19 -19
  499. package/app/s/section-calendar/index.html +19 -19
  500. package/app/s/section-catalog/index.html +19 -19
  501. package/app/s/section-chat.assistant/index.html +19 -19
  502. package/app/s/section-comments/index.html +19 -19
  503. package/app/s/section-fields.form-customization/index.html +19 -19
  504. package/app/s/section-grow/index.html +19 -19
  505. package/app/s/section-ingestion/index.html +19 -19
  506. package/app/s/section-integrations/index.html +19 -19
  507. package/app/s/section-make/index.html +19 -19
  508. package/app/s/section-messages/index.html +19 -19
  509. package/app/s/section-more/index.html +19 -19
  510. package/app/s/section-operations/index.html +19 -19
  511. package/app/s/section-places/index.html +19 -19
  512. package/app/s/section-projects/index.html +19 -19
  513. package/app/s/section-publish/index.html +19 -19
  514. package/app/s/section-purchasing/index.html +19 -19
  515. package/app/s/section-reports.materialized/index.html +19 -19
  516. package/app/s/section-reports.runtime/index.html +19 -19
  517. package/app/s/section-sales/index.html +19 -19
  518. package/app/s/section-staff/index.html +19 -19
  519. package/app/s/section-support/index.html +19 -19
  520. package/app/s/section-taxonomy/index.html +19 -19
  521. package/app/s/section-team/index.html +19 -19
  522. package/app/s/section-work/index.html +19 -19
  523. package/dist/catalog/catalog.json +185 -41
  524. package/dist/core/index.js +169 -43
  525. package/dist/smrt-version.d.ts +1 -1
  526. package/dist/smrt-version.js +1 -1
  527. package/package.json +57 -57
  528. package/app/_app/immutable/chunks/B4xtw2J5.js +0 -1
  529. package/app/_app/immutable/chunks/C_qFOhGK.js +0 -1
  530. package/app/_app/immutable/chunks/DuPnchEK.js +0 -1
  531. package/app/_app/immutable/entry/start.D3xDbVwh.js +0 -1
@@ -1 +1 @@
1
- import{$ as e,Ct as t,Dt as n,E as r,Ft as i,G as a,Ot as o,U as s,a as c,ft as l,ht as u,st as d,v as f}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{t as p}from"./WqCtkIDw.js";import{nt as m}from"./D4QZjNwd.js";var h=a(`<div><a class="svelte-1fbsd8p"><!></a> <a class="svelte-1fbsd8p"><!></a></div>`);function g(a,g){o(g,!0);let _=c(g,`compact`,3,!1),v=t(()=>`${p(`/recipes/${g.section}/help/`)}${g.helpAnchor?`#${g.helpAnchor}`:``}`);var y=h();let b;var x=l(y),S=l(x);{let n=t(()=>_()?16:22);m(S,{path:`M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z`,get size(){return e(n)}})}i(x);var C=u(x,2),w=l(C);{let n=t(()=>_()?16:22);m(w,{path:`M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z`,get size(){return e(n)}})}i(C),i(y),d(t=>{b=r(y,1,`icons svelte-1fbsd8p`,null,b,{compact:_()}),f(x,`href`,e(v)),f(x,`title`,`${g.label} help`),f(x,`aria-label`,`${g.label} help`),f(x,`aria-current`,g.current===`help`?`page`:void 0),f(C,`href`,t),f(C,`title`,`${g.label} options`),f(C,`aria-label`,`${g.label} options`),f(C,`aria-current`,g.current===`options`?`page`:void 0)},[()=>p(`/recipes/${g.section}/`)]),s(a,y),n()}export{g as t};
1
+ import{$ as e,Ct as t,Dt as n,E as r,Ft as i,G as a,Ot as o,U as s,a as c,ft as l,ht as u,st as d,v as f}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{t as p}from"./q4NZ65-X.js";import{nt as m}from"./D7pmElUN.js";var h=a(`<div><a class="svelte-1fbsd8p"><!></a> <a class="svelte-1fbsd8p"><!></a></div>`);function g(a,g){o(g,!0);let _=c(g,`compact`,3,!1),v=t(()=>`${p(`/recipes/${g.section}/help/`)}${g.helpAnchor?`#${g.helpAnchor}`:``}`);var y=h();let b;var x=l(y),S=l(x);{let n=t(()=>_()?16:22);m(S,{path:`M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z`,get size(){return e(n)}})}i(x);var C=u(x,2),w=l(C);{let n=t(()=>_()?16:22);m(w,{path:`M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z`,get size(){return e(n)}})}i(C),i(y),d(t=>{b=r(y,1,`icons svelte-1fbsd8p`,null,b,{compact:_()}),f(x,`href`,e(v)),f(x,`title`,`${g.label} help`),f(x,`aria-label`,`${g.label} help`),f(x,`aria-current`,g.current===`help`?`page`:void 0),f(C,`href`,t),f(C,`title`,`${g.label} options`),f(C,`aria-label`,`${g.label} options`),f(C,`aria-current`,g.current===`options`?`page`:void 0)},[()=>p(`/recipes/${g.section}/`)]),s(a,y),n()}export{g as t};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BGpjZKOE.js","./BaNbYf_w.js","./eBF8D7GD.js"])))=>i.map(i=>d[i]);
2
- import{$ as e,B as t,Ct as n,Dt as r,E as i,Et as a,F as o,Ft as s,G as c,H as l,I as u,J as d,K as f,L as p,Lt as m,Mt as h,Ot as g,P as _,Pt as v,R as y,Rt as b,T as x,U as S,W as C,X as w,Y as T,Z as E,_ as D,_t as O,a as k,bt as A,ct as j,d as ee,dt as M,f as N,ft as P,gt as F,ht as I,k as te,kt as L,lt as R,mt as z,n as ne,nt as re,ot as ie,pt as B,q as ae,rt as oe,st as V,tt as se,v as H,vt as U,xt as ce,yt as le,z as W}from"./DG3qFFTE.js";import{t as G}from"./BaNbYf_w.js";import"./xihTtKlq.js";import{r as ue}from"./BLUInGBV.js";import{a as K,t as q}from"./Bq8E3AWP.js";import{B as de,Pt as fe,R as J,W as pe}from"./WqCtkIDw.js";import{n as Y}from"./DK8Blf1Y.js";import{C as me,S as X,b as he,x as ge}from"./DRMpwqfm.js";import{n as _e,r as ve}from"./v8gneLl4.js";import{i as ye}from"./D5J0PCfu.js";import{_ as be,b as xe,c as Se,d as Ce,g as we,h as Te,i as Ee,m as De,n as Oe,p as ke,s as Ae}from"./CGVkRTMI.js";import{n as je}from"./CHw7lFPr.js";import{n as Me,r as Ne}from"./CsPuvW_W.js";import{c as Pe,t as Fe}from"./eBF8D7GD.js";import{_ as Ie,a as Le,g as Re,h as ze,l as Be,n as Ve,p as He,u as Ue}from"./V9_dolQc.js";import{Q as Z,b as We,t as Ge}from"./D4QZjNwd.js";import{C as Ke,_ as qe,h as Je,i as Ye,m as Xe,o as Ze,r as Qe,t as $e,u as et}from"./DWyzkubm.js";import{n as tt,t as nt}from"./Bnevj03f.js";function rt(e,t){let n=t.trim();if(!n)return;let r=e.value,i=typeof document<`u`&&document.activeElement===e,a=e.selectionStart??r.length,o=e.selectionEnd??r.length;!i&&a===0&&o===0&&r.length>0&&(a=r.length,o=r.length);let s=r.slice(0,a),c=r.slice(o),l=`${s.length>0&&!/\s$/.test(s)?` `:``}${n}${/^[\p{L}\p{N}]/u.test(c)?` `:``}`;e.value=`${s}${l}${c}`;let u=s.length+l.length;try{e.setSelectionRange(u,u)}catch{}e.dispatchEvent(new Event(`input`,{bubbles:!0}))}function it(e){let t=e,n=null,r=null,i=0,a=0,o=null,s=!1,c=!1,l=null;function u(){n&&clearTimeout(n),n=null}function d(){u(),r=null,o=null,s=!1}function f(){n&&(d(),t.onCancel?.())}function p(e){let n=!t.filter||t.filter(e);return n?n===!0?e.target instanceof Element?e.target:null:n:null}function m(){c=!0,l&&clearTimeout(l),l=setTimeout(()=>{c=!1,l=null},400)}return{handlePointerDown(e){if(t.disabled||!e.isPrimary||e.pointerType===`mouse`&&e.button!==0)return;let c=p(e);if(!c)return;d(),r=e.pointerId,i=e.clientX,a=e.clientY,o={target:c,pointerType:e.pointerType||`mouse`,clientX:e.clientX,clientY:e.clientY},t.onPressStart?.(o);let l=o;n=setTimeout(()=>{n=null,s=!0,t.onLongPress(l)},t.delay??500)},handlePointerMove(e){if(!n||e.pointerId!==r)return;let o=t.moveTolerance??10;Math.hypot(e.clientX-i,e.clientY-a)>o&&f()},handlePointerUp(e){if(e.pointerId===r){if(n)f();else if(s&&o){let e=o;m(),d(),t.onRelease?.(e)}else d()}},handlePointerCancel(e){if(e.pointerId===r){if(n)f();else if(s&&o){let e=o;d(),t.onRelease?.(e)}else d()}},handleDragStart(){f()},handleContextMenu(e){t.preventContextMenu&&(n||s)&&e.preventDefault()},handleClick(e){c&&(c=!1,l&&clearTimeout(l),l=null,e.preventDefault(),e.stopPropagation())},cancel(){d()},update(e){t=e,e.disabled&&d()},get pending(){return n!==null},get fired(){return s}}}function at(e,t){let n=it(t),r=e=>n.handlePointerDown(e),i=e=>n.handlePointerMove(e),a=e=>n.handlePointerUp(e),o=e=>n.handlePointerCancel(e),s=()=>n.handleDragStart(),c=e=>n.handleContextMenu(e),l=e=>n.handleClick(e);return e.addEventListener(`pointerdown`,r),e.addEventListener(`dragstart`,s),e.addEventListener(`contextmenu`,c),e.addEventListener(`click`,l,!0),window.addEventListener(`pointermove`,i),window.addEventListener(`pointerup`,a),window.addEventListener(`pointercancel`,o),{update(e){n.update(e)},destroy(){n.cancel(),e.removeEventListener(`pointerdown`,r),e.removeEventListener(`dragstart`,s),e.removeEventListener(`contextmenu`,c),e.removeEventListener(`click`,l,!0),window.removeEventListener(`pointermove`,i),window.removeEventListener(`pointerup`,a),window.removeEventListener(`pointercancel`,o)}}}var ot=new WeakMap;async function st(e,t={}){let n=Math.max(0,t.quietMs??120),r=Math.max(0,t.timeoutMs??5e3),i=Date.now(),a=()=>Math.max(0,r-(Date.now()-i)),o=e=>new Promise(t=>setTimeout(t,e));for(;;){let n=ot.get(e);if(!n||n.size===0||t.signal?.aborted)break;let r=a();if(r===0)return;await Promise.race([Promise.all([...n]),o(r)])}t.signal?.aborted||a()===0||await new Promise(r=>{let i=null,o=[],s=()=>{i&&clearTimeout(i),clearTimeout(l);for(let e of o)e();t.signal?.removeEventListener(`abort`,s),r()},c=()=>{i&&clearTimeout(i),i=setTimeout(s,n)},l=setTimeout(s,a());t.signal?.addEventListener(`abort`,s,{once:!0}),o.push(e.subscribe(e=>{(e.type===`registered`||e.type===`unregistered`)&&c()}));for(let e of t.alsoWatch??[]){let t=e?.subscribe?.(()=>c());t&&o.push(t)}c()})}async function ct(e={}){let t=e.window??(typeof window<`u`?window:void 0),n=e.navigator??(typeof navigator<`u`?navigator:void 0);return!t||!(`SpeechRecognition`in t)&&!(`webkitSpeechRecognition`in t)?`missing`:n&&`brave`in n&&n.brave||/\bElectron\//.test(n?.userAgent??``)?`unreliable`:`works`}function lt(e){return new Worker(new URL(`../workers/local-speech.worker-BzGX7Qdn.js`,import.meta.url).href,{name:e?.name})}var ut=2**28,dt=16,ft=.95;function pt(e){if(e===0)return 1;let t=Math.PI*e;return Math.sin(t)/t}function mt(e,t,n){for(let[e,r]of[[`fromRate`,t],[`toRate`,n]])if(!Number.isFinite(r)||r<=0)throw new Pe(`invalid_argument`,`${e} must be a positive finite number (got ${String(r)})`);let r=Math.floor(e.length*n/t);if(r>ut)throw new Pe(`invalid_argument`,`resampled output would be ${r} samples; the limit is ${ut}`);if(t===n)return e.slice();let i=new Float32Array(r),a=t/n,o=a>1?ft/a:1,s=dt/o,c=e.length-1;for(let t=0;t<r;t+=1){let n=t*a,r=Math.max(0,Math.ceil(n-s)),l=Math.min(c,Math.floor(n+s)),u=0,d=0;for(let t=r;t<=l;t+=1){let r=t-n,i=.5+.5*Math.cos(Math.PI*r/s),a=o*pt(o*r)*i;u+=a*e[t],d+=a}i[t]=d===0?0:u/d}return i}var ht={silenceMs:800,minSpeechMs:150,preRollMs:300,maxUtteranceMs:3e4,sensitivity:.5,calibrateMs:300},gt=.0015,_t=.003,vt=.006,yt=.2,bt=.02,xt=2e3,St=250;function Ct(e,t,n){return Math.min(n,Math.max(t,e))}function wt(e={}){let t=(e,t,n)=>typeof e==`number`&&Number.isFinite(e)?Math.max(n,e):t;return{silenceMs:t(e.silenceMs,ht.silenceMs,20),minSpeechMs:t(e.minSpeechMs,ht.minSpeechMs,0),preRollMs:t(e.preRollMs,ht.preRollMs,0),maxUtteranceMs:t(e.maxUtteranceMs,ht.maxUtteranceMs,1e3),sensitivity:Ct(typeof e.sensitivity==`number`&&Number.isFinite(e.sensitivity)?e.sensitivity:ht.sensitivity,0,1),calibrateMs:t(e.calibrateMs,ht.calibrateMs,0)}}function Tt(e){let t=e.length;if(t===0)return 0;let n=0;for(let r=0;r<t;r++){let t=e[r];n+=t*t}return Math.sqrt(n/t)}function Et(e={}){let t=wt(e),n=6-4*t.sensitivity,r=.02-.015*t.sensitivity,i=_t,a=0,o=[],s=!1,c=0,l=0,u=0,d=()=>Math.max(i*n,r),f=()=>Math.max(d()*.6,i*1.5),p=()=>{s=!1,c=0,l=0,u=0};return{get speaking(){return s},get noiseFloor(){return i},get threshold(){return d()},push(e,n=20){let r=[],m=Number.isFinite(e)?Math.max(0,e):0,h=Ct(m/(d()*3),0,1),g=a<t.calibrateMs;if(g&&(a+=n,!s)){o.push(m);let e=[...o].sort((e,t)=>e-t);i=Ct(e[Math.min(e.length-1,Math.floor(e.length*yt))]??_t,gt,vt)}if(!s){if(m>d())c+=n,c>=t.minSpeechMs&&(s=!0,l=0,u=c,r.push({type:`start`,leadMs:t.preRollMs+c}),c=0);else if(g)c=0;else{c=0;let e=n/xt*(m<i?4:1);i=Ct(i+(m-i)*Math.min(1,e),gt,bt)}return{events:r,level:h,speaking:s}}return u+=n,m>f()?l=0:l+=n,l>=t.silenceMs?(r.push({type:`end`,reason:`silence`,trailingSilenceMs:l}),p()):u>=t.maxUtteranceMs&&(r.push({type:`split`}),u=0,l=0),{events:r,level:h,speaking:s}},flush(){let e=[];return s&&e.push({type:`end`,reason:`flush`,trailingSilenceMs:l}),p(),e}}}function Dt(e){let t=wt(e),n=Et(t),r=Math.max(1,Math.round(e.sampleRate*20/1e3)),i=r/e.sampleRate*1e3,a=Math.ceil((t.preRollMs+t.minSpeechMs)/i)+1,o=[],s=new Float32Array,c=null,l=!1,u=(t,n,r)=>{let a=Math.max(0,Math.floor((r-St)/i)),o=t.slice(0,Math.max(1,t.length-a)),s=0;for(let e of o)s+=e.length;let c=new Float32Array(s),l=0;for(let e of o)c.set(e,l),l+=e.length;e.onUtterance({pcm:c,sampleRate:e.sampleRate,durationMs:s/e.sampleRate*1e3,reason:n})},d=t=>{t!==l&&(l=t,e.onSpeaking?.(t))},f=s=>{let l=n.push(Tt(s),i);e.onLevel?.(l.level),o.push(s),o.length>a&&o.shift(),c&&c.push(s);for(let e of l.events)if(e.type===`start`){c=[...o];let e=Math.ceil(t.preRollMs/i),n=Math.max(0,o.length-Math.ceil(t.minSpeechMs/i));for(let t=n;t<e;t++)c.unshift(new Float32Array(r))}else if(e.type===`end`){let t=c??[];c=null,o.length=0,t.length>0&&u(t,e.reason,e.trailingSilenceMs)}else if(e.type===`split`){let e=c??[];c=[],e.length>0&&u(e,`max`,0)}d(n.speaking)};return{get speaking(){return n.speaking},segmenter:n,push(e){let t=e;s.length>0&&(t=new Float32Array(s.length+e.length),t.set(s,0),t.set(e,s.length));let n=0;for(;n+r<=t.length;)f(t.slice(n,n+r)),n+=r;s=t.slice(n)},flush(){let t=n.flush();for(let e of t)e.type===`end`&&c&&c.length>0&&u(c,`flush`,e.trailingSilenceMs);c=null,o.length=0,s=new Float32Array,d(!1),e.onLevel?.(0)},discard(){n.flush(),c=null,o.length=0,s=new Float32Array,d(!1),e.onLevel?.(0)}}}var Ot=44,kt=4294967295,At=1;function jt(e){let t=new Int16Array(e.length);for(let n=0;n<e.length;n+=1){let r=e[n];Number.isNaN(r)||(t[n]=Math.min(32767,Math.round((r>1?1:r<-1?-1:r)*32768)))}return t}function Mt(e,t){if(!Number.isInteger(e)||e<1||e*2>kt)throw new Pe(`invalid_argument`,`${t} must be a positive integer sample rate (got ${String(e)})`)}function Nt(e,t,n){for(let r=0;r<n.length;r+=1)e.setUint8(t+r,n.charCodeAt(r))}function Pt(e,t){Mt(t,`sampleRate`);let n=e.length*2;if(n+Ot-8>kt)throw new Pe(`invalid_argument`,`too many samples for a single WAV (4 GiB limit)`);let r=e instanceof Int16Array?e:jt(e),i=new Uint8Array(Ot+n),a=new DataView(i.buffer);Nt(a,0,`RIFF`),a.setUint32(4,36+n,!0),Nt(a,8,`WAVE`),Nt(a,12,`fmt `),a.setUint32(16,16,!0),a.setUint16(20,At,!0),a.setUint16(22,1,!0),a.setUint32(24,t,!0),a.setUint32(28,t*2,!0),a.setUint16(32,2,!0),a.setUint16(34,16,!0),Nt(a,36,`data`),a.setUint32(40,n,!0);for(let e=0;e<r.length;e+=1)a.setInt16(Ot+e*2,r[e],!0);return i}var Ft=`hv-pcm-tap`,It=`
2
+ import{$ as e,B as t,Ct as n,Dt as r,E as i,Et as a,F as o,Ft as s,G as c,H as l,I as u,J as d,K as f,L as p,Lt as m,Mt as h,Ot as g,P as _,Pt as v,R as y,Rt as b,T as x,U as S,W as C,X as w,Y as T,Z as E,_ as D,_t as O,a as k,bt as A,ct as j,d as ee,dt as M,f as N,ft as P,gt as F,ht as I,k as te,kt as L,lt as R,mt as z,n as ne,nt as re,ot as ie,pt as B,q as ae,rt as oe,st as V,tt as se,v as H,vt as U,xt as ce,yt as le,z as W}from"./DG3qFFTE.js";import{t as G}from"./BaNbYf_w.js";import"./xihTtKlq.js";import{r as ue}from"./BLUInGBV.js";import{a as K,t as q}from"./Bq8E3AWP.js";import{B as de,Pt as fe,R as J,W as pe}from"./q4NZ65-X.js";import{n as Y}from"./DK8Blf1Y.js";import{C as me,S as X,b as he,x as ge}from"./CJ2Zllj9.js";import{n as _e,r as ve}from"./v8gneLl4.js";import{i as ye}from"./Dvi40siQ.js";import{_ as be,b as xe,c as Se,d as Ce,g as we,h as Te,i as Ee,m as De,n as Oe,p as ke,s as Ae}from"./CGVkRTMI.js";import{n as je}from"./C3KQXl2l.js";import{n as Me,r as Ne}from"./CsPuvW_W.js";import{c as Pe,t as Fe}from"./eBF8D7GD.js";import{_ as Ie,a as Le,g as Re,h as ze,l as Be,n as Ve,p as He,u as Ue}from"./CKeqIK18.js";import{Q as Z,b as We,t as Ge}from"./D7pmElUN.js";import{C as Ke,_ as qe,h as Je,i as Ye,m as Xe,o as Ze,r as Qe,t as $e,u as et}from"./By9bP9S3.js";import{n as tt,t as nt}from"./Br6uY3Yq.js";function rt(e,t){let n=t.trim();if(!n)return;let r=e.value,i=typeof document<`u`&&document.activeElement===e,a=e.selectionStart??r.length,o=e.selectionEnd??r.length;!i&&a===0&&o===0&&r.length>0&&(a=r.length,o=r.length);let s=r.slice(0,a),c=r.slice(o),l=`${s.length>0&&!/\s$/.test(s)?` `:``}${n}${/^[\p{L}\p{N}]/u.test(c)?` `:``}`;e.value=`${s}${l}${c}`;let u=s.length+l.length;try{e.setSelectionRange(u,u)}catch{}e.dispatchEvent(new Event(`input`,{bubbles:!0}))}function it(e){let t=e,n=null,r=null,i=0,a=0,o=null,s=!1,c=!1,l=null;function u(){n&&clearTimeout(n),n=null}function d(){u(),r=null,o=null,s=!1}function f(){n&&(d(),t.onCancel?.())}function p(e){let n=!t.filter||t.filter(e);return n?n===!0?e.target instanceof Element?e.target:null:n:null}function m(){c=!0,l&&clearTimeout(l),l=setTimeout(()=>{c=!1,l=null},400)}return{handlePointerDown(e){if(t.disabled||!e.isPrimary||e.pointerType===`mouse`&&e.button!==0)return;let c=p(e);if(!c)return;d(),r=e.pointerId,i=e.clientX,a=e.clientY,o={target:c,pointerType:e.pointerType||`mouse`,clientX:e.clientX,clientY:e.clientY},t.onPressStart?.(o);let l=o;n=setTimeout(()=>{n=null,s=!0,t.onLongPress(l)},t.delay??500)},handlePointerMove(e){if(!n||e.pointerId!==r)return;let o=t.moveTolerance??10;Math.hypot(e.clientX-i,e.clientY-a)>o&&f()},handlePointerUp(e){if(e.pointerId===r){if(n)f();else if(s&&o){let e=o;m(),d(),t.onRelease?.(e)}else d()}},handlePointerCancel(e){if(e.pointerId===r){if(n)f();else if(s&&o){let e=o;d(),t.onRelease?.(e)}else d()}},handleDragStart(){f()},handleContextMenu(e){t.preventContextMenu&&(n||s)&&e.preventDefault()},handleClick(e){c&&(c=!1,l&&clearTimeout(l),l=null,e.preventDefault(),e.stopPropagation())},cancel(){d()},update(e){t=e,e.disabled&&d()},get pending(){return n!==null},get fired(){return s}}}function at(e,t){let n=it(t),r=e=>n.handlePointerDown(e),i=e=>n.handlePointerMove(e),a=e=>n.handlePointerUp(e),o=e=>n.handlePointerCancel(e),s=()=>n.handleDragStart(),c=e=>n.handleContextMenu(e),l=e=>n.handleClick(e);return e.addEventListener(`pointerdown`,r),e.addEventListener(`dragstart`,s),e.addEventListener(`contextmenu`,c),e.addEventListener(`click`,l,!0),window.addEventListener(`pointermove`,i),window.addEventListener(`pointerup`,a),window.addEventListener(`pointercancel`,o),{update(e){n.update(e)},destroy(){n.cancel(),e.removeEventListener(`pointerdown`,r),e.removeEventListener(`dragstart`,s),e.removeEventListener(`contextmenu`,c),e.removeEventListener(`click`,l,!0),window.removeEventListener(`pointermove`,i),window.removeEventListener(`pointerup`,a),window.removeEventListener(`pointercancel`,o)}}}var ot=new WeakMap;async function st(e,t={}){let n=Math.max(0,t.quietMs??120),r=Math.max(0,t.timeoutMs??5e3),i=Date.now(),a=()=>Math.max(0,r-(Date.now()-i)),o=e=>new Promise(t=>setTimeout(t,e));for(;;){let n=ot.get(e);if(!n||n.size===0||t.signal?.aborted)break;let r=a();if(r===0)return;await Promise.race([Promise.all([...n]),o(r)])}t.signal?.aborted||a()===0||await new Promise(r=>{let i=null,o=[],s=()=>{i&&clearTimeout(i),clearTimeout(l);for(let e of o)e();t.signal?.removeEventListener(`abort`,s),r()},c=()=>{i&&clearTimeout(i),i=setTimeout(s,n)},l=setTimeout(s,a());t.signal?.addEventListener(`abort`,s,{once:!0}),o.push(e.subscribe(e=>{(e.type===`registered`||e.type===`unregistered`)&&c()}));for(let e of t.alsoWatch??[]){let t=e?.subscribe?.(()=>c());t&&o.push(t)}c()})}async function ct(e={}){let t=e.window??(typeof window<`u`?window:void 0),n=e.navigator??(typeof navigator<`u`?navigator:void 0);return!t||!(`SpeechRecognition`in t)&&!(`webkitSpeechRecognition`in t)?`missing`:n&&`brave`in n&&n.brave||/\bElectron\//.test(n?.userAgent??``)?`unreliable`:`works`}function lt(e){return new Worker(new URL(`../workers/local-speech.worker-BzGX7Qdn.js`,import.meta.url).href,{name:e?.name})}var ut=2**28,dt=16,ft=.95;function pt(e){if(e===0)return 1;let t=Math.PI*e;return Math.sin(t)/t}function mt(e,t,n){for(let[e,r]of[[`fromRate`,t],[`toRate`,n]])if(!Number.isFinite(r)||r<=0)throw new Pe(`invalid_argument`,`${e} must be a positive finite number (got ${String(r)})`);let r=Math.floor(e.length*n/t);if(r>ut)throw new Pe(`invalid_argument`,`resampled output would be ${r} samples; the limit is ${ut}`);if(t===n)return e.slice();let i=new Float32Array(r),a=t/n,o=a>1?ft/a:1,s=dt/o,c=e.length-1;for(let t=0;t<r;t+=1){let n=t*a,r=Math.max(0,Math.ceil(n-s)),l=Math.min(c,Math.floor(n+s)),u=0,d=0;for(let t=r;t<=l;t+=1){let r=t-n,i=.5+.5*Math.cos(Math.PI*r/s),a=o*pt(o*r)*i;u+=a*e[t],d+=a}i[t]=d===0?0:u/d}return i}var ht={silenceMs:800,minSpeechMs:150,preRollMs:300,maxUtteranceMs:3e4,sensitivity:.5,calibrateMs:300},gt=.0015,_t=.003,vt=.006,yt=.2,bt=.02,xt=2e3,St=250;function Ct(e,t,n){return Math.min(n,Math.max(t,e))}function wt(e={}){let t=(e,t,n)=>typeof e==`number`&&Number.isFinite(e)?Math.max(n,e):t;return{silenceMs:t(e.silenceMs,ht.silenceMs,20),minSpeechMs:t(e.minSpeechMs,ht.minSpeechMs,0),preRollMs:t(e.preRollMs,ht.preRollMs,0),maxUtteranceMs:t(e.maxUtteranceMs,ht.maxUtteranceMs,1e3),sensitivity:Ct(typeof e.sensitivity==`number`&&Number.isFinite(e.sensitivity)?e.sensitivity:ht.sensitivity,0,1),calibrateMs:t(e.calibrateMs,ht.calibrateMs,0)}}function Tt(e){let t=e.length;if(t===0)return 0;let n=0;for(let r=0;r<t;r++){let t=e[r];n+=t*t}return Math.sqrt(n/t)}function Et(e={}){let t=wt(e),n=6-4*t.sensitivity,r=.02-.015*t.sensitivity,i=_t,a=0,o=[],s=!1,c=0,l=0,u=0,d=()=>Math.max(i*n,r),f=()=>Math.max(d()*.6,i*1.5),p=()=>{s=!1,c=0,l=0,u=0};return{get speaking(){return s},get noiseFloor(){return i},get threshold(){return d()},push(e,n=20){let r=[],m=Number.isFinite(e)?Math.max(0,e):0,h=Ct(m/(d()*3),0,1),g=a<t.calibrateMs;if(g&&(a+=n,!s)){o.push(m);let e=[...o].sort((e,t)=>e-t);i=Ct(e[Math.min(e.length-1,Math.floor(e.length*yt))]??_t,gt,vt)}if(!s){if(m>d())c+=n,c>=t.minSpeechMs&&(s=!0,l=0,u=c,r.push({type:`start`,leadMs:t.preRollMs+c}),c=0);else if(g)c=0;else{c=0;let e=n/xt*(m<i?4:1);i=Ct(i+(m-i)*Math.min(1,e),gt,bt)}return{events:r,level:h,speaking:s}}return u+=n,m>f()?l=0:l+=n,l>=t.silenceMs?(r.push({type:`end`,reason:`silence`,trailingSilenceMs:l}),p()):u>=t.maxUtteranceMs&&(r.push({type:`split`}),u=0,l=0),{events:r,level:h,speaking:s}},flush(){let e=[];return s&&e.push({type:`end`,reason:`flush`,trailingSilenceMs:l}),p(),e}}}function Dt(e){let t=wt(e),n=Et(t),r=Math.max(1,Math.round(e.sampleRate*20/1e3)),i=r/e.sampleRate*1e3,a=Math.ceil((t.preRollMs+t.minSpeechMs)/i)+1,o=[],s=new Float32Array,c=null,l=!1,u=(t,n,r)=>{let a=Math.max(0,Math.floor((r-St)/i)),o=t.slice(0,Math.max(1,t.length-a)),s=0;for(let e of o)s+=e.length;let c=new Float32Array(s),l=0;for(let e of o)c.set(e,l),l+=e.length;e.onUtterance({pcm:c,sampleRate:e.sampleRate,durationMs:s/e.sampleRate*1e3,reason:n})},d=t=>{t!==l&&(l=t,e.onSpeaking?.(t))},f=s=>{let l=n.push(Tt(s),i);e.onLevel?.(l.level),o.push(s),o.length>a&&o.shift(),c&&c.push(s);for(let e of l.events)if(e.type===`start`){c=[...o];let e=Math.ceil(t.preRollMs/i),n=Math.max(0,o.length-Math.ceil(t.minSpeechMs/i));for(let t=n;t<e;t++)c.unshift(new Float32Array(r))}else if(e.type===`end`){let t=c??[];c=null,o.length=0,t.length>0&&u(t,e.reason,e.trailingSilenceMs)}else if(e.type===`split`){let e=c??[];c=[],e.length>0&&u(e,`max`,0)}d(n.speaking)};return{get speaking(){return n.speaking},segmenter:n,push(e){let t=e;s.length>0&&(t=new Float32Array(s.length+e.length),t.set(s,0),t.set(e,s.length));let n=0;for(;n+r<=t.length;)f(t.slice(n,n+r)),n+=r;s=t.slice(n)},flush(){let t=n.flush();for(let e of t)e.type===`end`&&c&&c.length>0&&u(c,`flush`,e.trailingSilenceMs);c=null,o.length=0,s=new Float32Array,d(!1),e.onLevel?.(0)},discard(){n.flush(),c=null,o.length=0,s=new Float32Array,d(!1),e.onLevel?.(0)}}}var Ot=44,kt=4294967295,At=1;function jt(e){let t=new Int16Array(e.length);for(let n=0;n<e.length;n+=1){let r=e[n];Number.isNaN(r)||(t[n]=Math.min(32767,Math.round((r>1?1:r<-1?-1:r)*32768)))}return t}function Mt(e,t){if(!Number.isInteger(e)||e<1||e*2>kt)throw new Pe(`invalid_argument`,`${t} must be a positive integer sample rate (got ${String(e)})`)}function Nt(e,t,n){for(let r=0;r<n.length;r+=1)e.setUint8(t+r,n.charCodeAt(r))}function Pt(e,t){Mt(t,`sampleRate`);let n=e.length*2;if(n+Ot-8>kt)throw new Pe(`invalid_argument`,`too many samples for a single WAV (4 GiB limit)`);let r=e instanceof Int16Array?e:jt(e),i=new Uint8Array(Ot+n),a=new DataView(i.buffer);Nt(a,0,`RIFF`),a.setUint32(4,36+n,!0),Nt(a,8,`WAVE`),Nt(a,12,`fmt `),a.setUint32(16,16,!0),a.setUint16(20,At,!0),a.setUint16(22,1,!0),a.setUint32(24,t,!0),a.setUint32(28,t*2,!0),a.setUint16(32,2,!0),a.setUint16(34,16,!0),Nt(a,36,`data`),a.setUint32(40,n,!0);for(let e=0;e<r.length;e+=1)a.setInt16(Ot+e*2,r[e],!0);return i}var Ft=`hv-pcm-tap`,It=`
3
3
  class HvPcmTap extends AudioWorkletProcessor {
4
4
  process(inputs) {
5
5
  const channels = inputs[0];
@@ -1 +1 @@
1
- import{$ as e,B as t,Ct as n,Dt as r,E as i,Ft as a,G as o,H as s,J as c,L as l,Ot as u,Pt as d,U as f,W as p,Y as m,a as h,bt as ee,d as g,ft as _,ht as v,mt as y,n as b,nt as te,o as x,pt as S,q as C,r as w,st as T,tt as ne,v as E,vt as re}from"./DG3qFFTE.js";import"./xihTtKlq.js";import"./BLUInGBV.js";import{t as ie}from"./Bq8E3AWP.js";import"./WqCtkIDw.js";import{n as D}from"./DK8Blf1Y.js";import{D as O,T as k,f as ae,h as oe}from"./DRMpwqfm.js";import{n as se}from"./v8gneLl4.js";import{o as A,u as j}from"./DIE02RSm.js";import{i as M}from"./CGVkRTMI.js";var N=new Set([`$$slots`,`$$events`,`$$legacy`]);function P(e,t){u(t,!0);let n=O(),i=x(t,N),a=null;w(()=>{a=n.registerFocusTool(i)}),b(()=>{a?.()}),r()}var ce=o(`<!> <!>`,1),le=o(`<span class="smrt-shell-layout-editor__muted svelte-xzk327"> </span>`),ue=o(`<div class="smrt-shell-layout-editor__row svelte-xzk327"><!></div>`),de=o(`<strong> </strong>`),fe=o(`<!> <!> <!> <!>`,1),F=o(`<span> </span> <!>`,1),I=o(`<div class="smrt-shell-layout-editor__preview"><h3 class="svelte-xzk327"> </h3> <div class="smrt-shell-layout-editor__preview-frame svelte-xzk327" role="group" inert=""><!></div></div>`),L=o(`<section class="smrt-shell-layout-editor svelte-xzk327" data-smrt-component="ShellLayoutEditor"><header class="svelte-xzk327"><div><h2 class="svelte-xzk327"> </h2> <p class="svelte-xzk327"> </p></div> <!></header> <fieldset class="smrt-shell-layout-editor__panels svelte-xzk327"><legend class="svelte-xzk327"> </legend> <!></fieldset> <div class="smrt-shell-layout-editor__body svelte-xzk327"><div class="smrt-shell-layout-editor__nav"><div class="smrt-shell-layout-editor__nav-head svelte-xzk327"><h3 class="svelte-xzk327"> </h3> <!></div> <!></div> <!></div></section>`);function R(o,m){let b=C();u(m,!0);let x=h(m,`preview`,3,!0),{t:w}=ie(),O=te(()=>m.controller??j()),N=`${b}-heading`,P=n(()=>O.sections),R=n(()=>O.panels),z=n(()=>O.applied),B=n(()=>e(P).map(e=>({id:e.id,label:e.heading??w(k[`ui.shell_layout_editor.top_level`]),fixed:e.group===null,root:e.group===null,hidden:e.hidden,custom:e.custom,titleVisible:e.titleVisible,count:e.items.length}))),V=n(()=>e(P).flatMap(e=>e.items.map(t=>({id:t.id,containerId:e.id,label:t.label}))));function H(e,t){t?O.show(e):O.hide(e)}let U=ee(void 0);function pe(t,n){let r=n.currentTarget;O.renameSection(t,r.value),r.value=e(B).find(e=>e.id===t)?.label??``}async function me(){let t=O.createSection(w(k[`ui.shell_layout_editor.new_section_label`]));if(!t)return;await ne();let n=e(U)?.querySelector(`input[data-section-name="${CSS.escape(t)}"]`);n?.focus(),n?.select()}function he(e,t,n){n>0&&!globalThis.confirm?.(w(k[`ui.shell_layout_editor.delete_confirm`],{label:t}))||O.deleteSection(e)}function ge(e){O.moveItem(e.item.id,e.target.containerId,e.target.index)}function _e(e){O.moveSection(e.container.id,e.target)}var W=L(),G=_(W),K=_(G),q=_(K),ve=y(q,!0),ye=v(q,2),be=y(ye,!0);a(K);var xe=v(K,2);{let t=n(()=>!O.customized);D(xe,{variant:`secondary`,size:`sm`,get disabled(){return e(t)},onclick:()=>O.reset(),children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.reset`])]),f(e,n)},$$slots:{default:!0}})}a(G);var J=v(G,2),Y=_(J),Se=y(Y,!0),Ce=v(Y,2);l(Ce,17,()=>e(R),e=>e.edge,(r,i)=>{var o=ue(),c=_(o),l=t=>{var r=ce(),a=S(r);{let t=n(()=>w(k[`ui.shell_layout_editor.show_panel`],{panel:e(i).label}));M(a,{interaction:!1,get checked(){return e(i).visible},get label(){return e(t)},onchange:t=>O.setPanel(e(i).edge,{visible:t.currentTarget.checked})})}var o=v(a,2);{let t=n(()=>e(i).initial===`expanded`),r=n(()=>!e(i).visible),a=n(()=>w(k[`ui.shell_layout_editor.start_expanded`],{panel:e(i).label}));M(o,{interaction:!1,get checked(){return e(t)},get disabled(){return e(r)},get label(){return e(a)},onchange:t=>O.setPanel(e(i).edge,{initial:t.currentTarget.checked?`expanded`:`collapsed`})})}f(t,r)},u=t=>{var n=le(),r=y(n,!0);T(e=>s(r,e),[()=>w(k[`ui.shell_layout_editor.panel_unavailable`],{panel:e(i).label})]),f(t,n)};t(c,t=>{e(i).available?t(l):t(u,-1)}),a(o),T(()=>E(o,`data-edge`,e(i).edge)),f(r,o)}),a(J);var X=v(J,2),Z=_(X),Q=_(Z),$=_(Q),we=y($,!0),Te=v($,2);D(Te,{variant:`secondary`,size:`sm`,onclick:me,children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.new_section`])]),f(e,n)},$$slots:{default:!0}}),a(Q);var Ee=v(Q,2);{let r=(r,i)=>{let a=()=>(i?.()).container,o=n(()=>e(B).find(e=>e.id===a().id));var c=p(),l=S(c),u=e=>{var t=de(),n=y(t,!0);T(()=>s(n,a().label)),f(e,t)},d=r=>{var i=fe(),s=S(i);{let t=n(()=>w(k[`ui.shell_layout_editor.section_name`],{label:a().label}));se(s,{class:`smrt-shell-layout-editor__name`,interaction:!1,get"data-section-name"(){return a().id},get"aria-label"(){return e(t)},get value(){return a().label},onchange:e=>pe(a().id,e)})}var c=v(s,2);{let t=n(()=>e(o)?.hidden?`eyeOff`:`eye`),r=n(()=>!e(o)?.hidden),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(c,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,!!e(o)?.hidden)})}var l=v(c,2);{let t=n(()=>e(o)?.titleVisible===!1?`headingOff`:`heading`),r=n(()=>e(o)?.titleVisible??!0),i=n(()=>w(k[`ui.shell_layout_editor.show_title_for`],{label:a().label}));A(l,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>O.setSectionTitleVisible(a().id,!(e(o)?.titleVisible??!0))})}var u=v(l,2),d=t=>{{let r=n(()=>w(k[`ui.shell_layout_editor.delete_section`],{label:a().label}));A(t,{icon:`trash`,get label(){return e(r)},onclick:()=>he(a().id,a().label,e(o).count)})}};t(u,t=>{e(o)?.custom&&t(d)}),f(r,i)};t(l,t=>{e(o)?.root?t(u):t(d,-1)}),f(r,c)},a=(t,r)=>{let a=()=>(r?.()).item,o=()=>(r?.()).container,c=n(()=>O.isHidden(a().id));var l=F(),u=S(l);let d;var p=y(u,!0),m=v(u,2);{let t=n(()=>e(c)?`eyeOff`:`eye`),r=n(()=>!e(c)),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(m,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,e(c))})}T(e=>{d=i(u,1,`smrt-shell-layout-editor__label svelte-xzk327`,null,d,{"smrt-shell-layout-editor__muted":e}),s(p,a().label)},[()=>e(c)||O.isHidden(o().id)]),f(t,l)},o=n(()=>w(k[`ui.shell_layout_editor.sortable_label`]));oe(Ee,{get containers(){return e(B)},get items(){return e(V)},get label(){return e(o)},reorderContainers:!0,onmove:ge,oncontainermove:_e,containerHeader:r,item:a,$$slots:{containerHeader:!0,item:!0}})}a(Z);var De=v(Z,2),Oe=t=>{var r=I(),i=_(r),o=y(i,!0),c=v(i,2),l=_(c);{let t=n(()=>w(k[`ui.shell_layout_editor.preview_label`]));ae(l,{get items(){return e(z).nav},get groups(){return e(z).groups},get iconComponent(){return m.iconComponent},get"aria-label"(){return e(t)}})}a(c),a(r),T((e,t)=>{s(o,e),E(c,`aria-label`,t)},[()=>w(k[`ui.shell_layout_editor.preview`]),()=>w(k[`ui.shell_layout_editor.preview_label`])]),f(t,r)};t(De,e=>{x()&&e(Oe)}),a(X),a(W),g(W,e=>re(U,e),()=>e(U)),T((e,t,n,r)=>{E(W,`aria-labelledby`,N),E(q,`id`,N),s(ve,e),s(be,t),s(Se,n),s(we,r)},[()=>w(k[`ui.shell_layout_editor.heading`]),()=>w(k[`ui.shell_layout_editor.description`]),()=>w(k[`ui.shell_layout_editor.panels`]),()=>w(k[`ui.shell_layout_editor.navigation`])]),f(o,W),r()}m([`click`]);export{P as n,R as t};
1
+ import{$ as e,B as t,Ct as n,Dt as r,E as i,Ft as a,G as o,H as s,J as c,L as l,Ot as u,Pt as d,U as f,W as p,Y as m,a as h,bt as ee,d as g,ft as _,ht as v,mt as y,n as b,nt as te,o as x,pt as S,q as C,r as w,st as T,tt as ne,v as E,vt as re}from"./DG3qFFTE.js";import"./xihTtKlq.js";import"./BLUInGBV.js";import{t as ie}from"./Bq8E3AWP.js";import"./q4NZ65-X.js";import{n as D}from"./DK8Blf1Y.js";import{D as O,T as k,f as ae,h as oe}from"./CJ2Zllj9.js";import{n as se}from"./v8gneLl4.js";import{o as A,u as j}from"./DIE02RSm.js";import{i as M}from"./CGVkRTMI.js";var N=new Set([`$$slots`,`$$events`,`$$legacy`]);function P(e,t){u(t,!0);let n=O(),i=x(t,N),a=null;w(()=>{a=n.registerFocusTool(i)}),b(()=>{a?.()}),r()}var ce=o(`<!> <!>`,1),le=o(`<span class="smrt-shell-layout-editor__muted svelte-xzk327"> </span>`),ue=o(`<div class="smrt-shell-layout-editor__row svelte-xzk327"><!></div>`),de=o(`<strong> </strong>`),fe=o(`<!> <!> <!> <!>`,1),F=o(`<span> </span> <!>`,1),I=o(`<div class="smrt-shell-layout-editor__preview"><h3 class="svelte-xzk327"> </h3> <div class="smrt-shell-layout-editor__preview-frame svelte-xzk327" role="group" inert=""><!></div></div>`),L=o(`<section class="smrt-shell-layout-editor svelte-xzk327" data-smrt-component="ShellLayoutEditor"><header class="svelte-xzk327"><div><h2 class="svelte-xzk327"> </h2> <p class="svelte-xzk327"> </p></div> <!></header> <fieldset class="smrt-shell-layout-editor__panels svelte-xzk327"><legend class="svelte-xzk327"> </legend> <!></fieldset> <div class="smrt-shell-layout-editor__body svelte-xzk327"><div class="smrt-shell-layout-editor__nav"><div class="smrt-shell-layout-editor__nav-head svelte-xzk327"><h3 class="svelte-xzk327"> </h3> <!></div> <!></div> <!></div></section>`);function R(o,m){let b=C();u(m,!0);let x=h(m,`preview`,3,!0),{t:w}=ie(),O=te(()=>m.controller??j()),N=`${b}-heading`,P=n(()=>O.sections),R=n(()=>O.panels),z=n(()=>O.applied),B=n(()=>e(P).map(e=>({id:e.id,label:e.heading??w(k[`ui.shell_layout_editor.top_level`]),fixed:e.group===null,root:e.group===null,hidden:e.hidden,custom:e.custom,titleVisible:e.titleVisible,count:e.items.length}))),V=n(()=>e(P).flatMap(e=>e.items.map(t=>({id:t.id,containerId:e.id,label:t.label}))));function H(e,t){t?O.show(e):O.hide(e)}let U=ee(void 0);function pe(t,n){let r=n.currentTarget;O.renameSection(t,r.value),r.value=e(B).find(e=>e.id===t)?.label??``}async function me(){let t=O.createSection(w(k[`ui.shell_layout_editor.new_section_label`]));if(!t)return;await ne();let n=e(U)?.querySelector(`input[data-section-name="${CSS.escape(t)}"]`);n?.focus(),n?.select()}function he(e,t,n){n>0&&!globalThis.confirm?.(w(k[`ui.shell_layout_editor.delete_confirm`],{label:t}))||O.deleteSection(e)}function ge(e){O.moveItem(e.item.id,e.target.containerId,e.target.index)}function _e(e){O.moveSection(e.container.id,e.target)}var W=L(),G=_(W),K=_(G),q=_(K),ve=y(q,!0),ye=v(q,2),be=y(ye,!0);a(K);var xe=v(K,2);{let t=n(()=>!O.customized);D(xe,{variant:`secondary`,size:`sm`,get disabled(){return e(t)},onclick:()=>O.reset(),children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.reset`])]),f(e,n)},$$slots:{default:!0}})}a(G);var J=v(G,2),Y=_(J),Se=y(Y,!0),Ce=v(Y,2);l(Ce,17,()=>e(R),e=>e.edge,(r,i)=>{var o=ue(),c=_(o),l=t=>{var r=ce(),a=S(r);{let t=n(()=>w(k[`ui.shell_layout_editor.show_panel`],{panel:e(i).label}));M(a,{interaction:!1,get checked(){return e(i).visible},get label(){return e(t)},onchange:t=>O.setPanel(e(i).edge,{visible:t.currentTarget.checked})})}var o=v(a,2);{let t=n(()=>e(i).initial===`expanded`),r=n(()=>!e(i).visible),a=n(()=>w(k[`ui.shell_layout_editor.start_expanded`],{panel:e(i).label}));M(o,{interaction:!1,get checked(){return e(t)},get disabled(){return e(r)},get label(){return e(a)},onchange:t=>O.setPanel(e(i).edge,{initial:t.currentTarget.checked?`expanded`:`collapsed`})})}f(t,r)},u=t=>{var n=le(),r=y(n,!0);T(e=>s(r,e),[()=>w(k[`ui.shell_layout_editor.panel_unavailable`],{panel:e(i).label})]),f(t,n)};t(c,t=>{e(i).available?t(l):t(u,-1)}),a(o),T(()=>E(o,`data-edge`,e(i).edge)),f(r,o)}),a(J);var X=v(J,2),Z=_(X),Q=_(Z),$=_(Q),we=y($,!0),Te=v($,2);D(Te,{variant:`secondary`,size:`sm`,onclick:me,children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.new_section`])]),f(e,n)},$$slots:{default:!0}}),a(Q);var Ee=v(Q,2);{let r=(r,i)=>{let a=()=>(i?.()).container,o=n(()=>e(B).find(e=>e.id===a().id));var c=p(),l=S(c),u=e=>{var t=de(),n=y(t,!0);T(()=>s(n,a().label)),f(e,t)},d=r=>{var i=fe(),s=S(i);{let t=n(()=>w(k[`ui.shell_layout_editor.section_name`],{label:a().label}));se(s,{class:`smrt-shell-layout-editor__name`,interaction:!1,get"data-section-name"(){return a().id},get"aria-label"(){return e(t)},get value(){return a().label},onchange:e=>pe(a().id,e)})}var c=v(s,2);{let t=n(()=>e(o)?.hidden?`eyeOff`:`eye`),r=n(()=>!e(o)?.hidden),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(c,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,!!e(o)?.hidden)})}var l=v(c,2);{let t=n(()=>e(o)?.titleVisible===!1?`headingOff`:`heading`),r=n(()=>e(o)?.titleVisible??!0),i=n(()=>w(k[`ui.shell_layout_editor.show_title_for`],{label:a().label}));A(l,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>O.setSectionTitleVisible(a().id,!(e(o)?.titleVisible??!0))})}var u=v(l,2),d=t=>{{let r=n(()=>w(k[`ui.shell_layout_editor.delete_section`],{label:a().label}));A(t,{icon:`trash`,get label(){return e(r)},onclick:()=>he(a().id,a().label,e(o).count)})}};t(u,t=>{e(o)?.custom&&t(d)}),f(r,i)};t(l,t=>{e(o)?.root?t(u):t(d,-1)}),f(r,c)},a=(t,r)=>{let a=()=>(r?.()).item,o=()=>(r?.()).container,c=n(()=>O.isHidden(a().id));var l=F(),u=S(l);let d;var p=y(u,!0),m=v(u,2);{let t=n(()=>e(c)?`eyeOff`:`eye`),r=n(()=>!e(c)),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(m,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,e(c))})}T(e=>{d=i(u,1,`smrt-shell-layout-editor__label svelte-xzk327`,null,d,{"smrt-shell-layout-editor__muted":e}),s(p,a().label)},[()=>e(c)||O.isHidden(o().id)]),f(t,l)},o=n(()=>w(k[`ui.shell_layout_editor.sortable_label`]));oe(Ee,{get containers(){return e(B)},get items(){return e(V)},get label(){return e(o)},reorderContainers:!0,onmove:ge,oncontainermove:_e,containerHeader:r,item:a,$$slots:{containerHeader:!0,item:!0}})}a(Z);var De=v(Z,2),Oe=t=>{var r=I(),i=_(r),o=y(i,!0),c=v(i,2),l=_(c);{let t=n(()=>w(k[`ui.shell_layout_editor.preview_label`]));ae(l,{get items(){return e(z).nav},get groups(){return e(z).groups},get iconComponent(){return m.iconComponent},get"aria-label"(){return e(t)}})}a(c),a(r),T((e,t)=>{s(o,e),E(c,`aria-label`,t)},[()=>w(k[`ui.shell_layout_editor.preview`]),()=>w(k[`ui.shell_layout_editor.preview_label`])]),f(t,r)};t(De,e=>{x()&&e(Oe)}),a(X),a(W),g(W,e=>re(U,e),()=>e(U)),T((e,t,n,r)=>{E(W,`aria-labelledby`,N),E(q,`id`,N),s(ve,e),s(be,t),s(Se,n),s(we,r)},[()=>w(k[`ui.shell_layout_editor.heading`]),()=>w(k[`ui.shell_layout_editor.description`]),()=>w(k[`ui.shell_layout_editor.panels`]),()=>w(k[`ui.shell_layout_editor.navigation`])]),f(o,W),r()}m([`click`]);export{P as n,R as t};