@happyvertical/smrt-planner 0.62.13 → 0.62.14

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 (535) hide show
  1. package/app/404.html +18 -18
  2. package/app/_app/immutable/chunks/{aqVAmmxh.js → 8DtHSjVa.js} +1 -1
  3. package/app/_app/immutable/chunks/{aEe0XKwE.js → BJG-sFZE.js} +1 -1
  4. package/app/_app/immutable/chunks/{B0_kWkge.js → BM8S85oW.js} +1 -1
  5. package/app/_app/immutable/chunks/BXo4Y7Jh.js +1 -0
  6. package/app/_app/immutable/chunks/{C26n7Mo6.js → BZH-P7Et.js} +1 -1
  7. package/app/_app/immutable/chunks/{joVVglBe.js → Bq1S_gkp.js} +1 -1
  8. package/app/_app/immutable/chunks/{BV3yhWqG.js → BvdvhuXo.js} +1 -1
  9. package/app/_app/immutable/chunks/{BomQNlxh.js → C9wAw1TT.js} +1 -1
  10. package/app/_app/immutable/chunks/{BwZ47D4Q.js → CJP2HsmO.js} +1 -1
  11. package/app/_app/immutable/chunks/{H5aNzeA4.js → CPG6sCj5.js} +33 -33
  12. package/app/_app/immutable/chunks/{vsGDnABU.js → CiF6Wh0T.js} +1 -1
  13. package/app/_app/immutable/chunks/{CtMbubmz.js → Co3rRTb5.js} +1 -1
  14. package/app/_app/immutable/chunks/{aebSTDj5.js → D0hS1Fn_.js} +1 -1
  15. package/app/_app/immutable/chunks/{DZwpfDAp.js → DAc56dZR.js} +3 -3
  16. package/app/_app/immutable/chunks/{Aivp3TGX.js → DHHfA5sS.js} +1 -1
  17. package/app/_app/immutable/chunks/{CNCyp1yH.js → DQ-_GS3X.js} +1 -1
  18. package/app/_app/immutable/chunks/{D2aP8kCX.js → DsM6OVA6.js} +2 -2
  19. package/app/_app/immutable/chunks/{QkmzvTRx.js → HCPQ-okF.js} +1 -1
  20. package/app/_app/immutable/chunks/{BxNhLbSS.js → HvwRY5m2.js} +1 -1
  21. package/app/_app/immutable/chunks/{BkOw0grU.js → LOGJuAWr.js} +1 -1
  22. package/app/_app/immutable/chunks/{DgaTuYgQ.js → PCgjOeiY.js} +1 -1
  23. package/app/_app/immutable/chunks/{BG5bYVH1.js → RLnfnUON.js} +1 -1
  24. package/app/_app/immutable/chunks/{Ch-yPCW2.js → Ty36XDmZ.js} +1 -1
  25. package/app/_app/immutable/chunks/WTBGXB_Z.js +1 -0
  26. package/app/_app/immutable/chunks/{Dquw2ZH5.js → a-esN0Zg.js} +1 -1
  27. package/app/_app/immutable/chunks/{jbHt6n0r.js → fIkvMknq.js} +1 -1
  28. package/app/_app/immutable/chunks/fKC0-IWD.js +1 -0
  29. package/app/_app/immutable/chunks/{DwcZUUNG.js → wQ3X4_61.js} +1 -1
  30. package/app/_app/immutable/chunks/{DTUhyw4U.js → ygmEgjFy.js} +1 -1
  31. package/app/_app/immutable/entry/{app.ByqlsHAP.js → app.v-YObDn8.js} +2 -2
  32. package/app/_app/immutable/entry/start.BzEG-sj6.js +1 -0
  33. package/app/_app/immutable/nodes/{0.BeWFjRFg.js → 0.idbQlhGY.js} +1 -1
  34. package/app/_app/immutable/nodes/{1.xZ2J0Hck.js → 1.xVpu00rx.js} +1 -1
  35. package/app/_app/immutable/nodes/{10.CGe19MZm.js → 10.DyH9kjm7.js} +1 -1
  36. package/app/_app/immutable/nodes/{11.B7esCQ2u.js → 11.ByhJU88i.js} +1 -1
  37. package/app/_app/immutable/nodes/{12.Dh1gutvc.js → 12.GN2JvbRi.js} +1 -1
  38. package/app/_app/immutable/nodes/{13.Dx3aS6D5.js → 13.C-bgKOPp.js} +1 -1
  39. package/app/_app/immutable/nodes/{14.GHlZPiqn.js → 14.CrnE4_9P.js} +1 -1
  40. package/app/_app/immutable/nodes/{2.pW6JyzaB.js → 2.BelKVi9g.js} +3 -3
  41. package/app/_app/immutable/nodes/{3.D4Bms2nw.js → 3.B_tlbOcA.js} +1 -1
  42. package/app/_app/immutable/nodes/{4.C054Om55.js → 4.CsYOp-qb.js} +1 -1
  43. package/app/_app/immutable/nodes/{5.BYR4hKFN.js → 5.F9rtx0Og.js} +1 -1
  44. package/app/_app/immutable/nodes/{6.0XcWuT1s.js → 6.Bq8R9LGW.js} +1 -1
  45. package/app/_app/immutable/nodes/{7.CGxEwz39.js → 7.CMA87ZLm.js} +1 -1
  46. package/app/_app/immutable/nodes/{8.C3zAa4gs.js → 8.BSR888vc.js} +1 -1
  47. package/app/_app/immutable/nodes/{9.DlIVamXq.js → 9.DxZNi2z_.js} +1 -1
  48. package/app/_app/version.json +1 -1
  49. package/app/advanced-styles/index.html +20 -20
  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 +28 -28
  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/AccountingConnection/index.html +23 -23
  82. package/app/m/commerce/AccountingInvoiceReadback/index.html +23 -23
  83. package/app/m/commerce/AccountingMapping/index.html +23 -23
  84. package/app/m/commerce/AccountingPaymentSync/index.html +23 -23
  85. package/app/m/commerce/Agreement/index.html +23 -23
  86. package/app/m/commerce/Cart/index.html +23 -23
  87. package/app/m/commerce/Contract/index.html +23 -23
  88. package/app/m/commerce/ContractLineItem/index.html +23 -23
  89. package/app/m/commerce/Customer/index.html +23 -23
  90. package/app/m/commerce/DocumentTax/index.html +23 -23
  91. package/app/m/commerce/Estimate/index.html +23 -23
  92. package/app/m/commerce/Fulfillment/index.html +23 -23
  93. package/app/m/commerce/FulfillmentLineItem/index.html +23 -23
  94. package/app/m/commerce/HistoricalCustomerFunds/index.html +23 -23
  95. package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +23 -23
  96. package/app/m/commerce/HistoricalSalesLine/index.html +23 -23
  97. package/app/m/commerce/Invoice/index.html +23 -23
  98. package/app/m/commerce/InvoiceLineItem/index.html +23 -23
  99. package/app/m/commerce/Lease/index.html +23 -23
  100. package/app/m/commerce/LicenseSale/index.html +23 -23
  101. package/app/m/commerce/Order/index.html +23 -23
  102. package/app/m/commerce/Payment/index.html +23 -23
  103. package/app/m/commerce/PaymentAllocation/index.html +23 -23
  104. package/app/m/commerce/PaymentInstrument/index.html +23 -23
  105. package/app/m/commerce/PaymentIntent/index.html +23 -23
  106. package/app/m/commerce/Payout/index.html +23 -23
  107. package/app/m/commerce/ProductionOrder/index.html +23 -23
  108. package/app/m/commerce/PurchaseContract/index.html +23 -23
  109. package/app/m/commerce/PurchaseOrder/index.html +23 -23
  110. package/app/m/commerce/SalesContract/index.html +23 -23
  111. package/app/m/commerce/SupplierQuote/index.html +23 -23
  112. package/app/m/commerce/TaxCode/index.html +23 -23
  113. package/app/m/commerce/TaxComponent/index.html +23 -23
  114. package/app/m/commerce/TaxSettings/index.html +23 -23
  115. package/app/m/commerce/TaxSummaryReport/index.html +23 -23
  116. package/app/m/commerce/TenantPaymentAccount/index.html +23 -23
  117. package/app/m/commerce/Vendor/index.html +23 -23
  118. package/app/m/commerce/WholesaleOrder/index.html +23 -23
  119. package/app/m/content/Content/articles/index.html +24 -24
  120. package/app/m/content/Content/index.html +23 -23
  121. package/app/m/content/ContentContribution/index.html +23 -23
  122. package/app/m/content/ContentContributionAttachment/index.html +23 -23
  123. package/app/m/content/ContentContributionRevision/index.html +23 -23
  124. package/app/m/content/ContentContributionType/index.html +23 -23
  125. package/app/m/content/ContentContributor/index.html +23 -23
  126. package/app/m/content/ContentCorrection/index.html +23 -23
  127. package/app/m/content/ContentFeedSource/index.html +23 -23
  128. package/app/m/content/ContentGovernanceAssignment/index.html +23 -23
  129. package/app/m/content/ContentGovernancePolicy/index.html +23 -23
  130. package/app/m/content/ContentGovernanceProfile/index.html +23 -23
  131. package/app/m/content/ContentReference/index.html +23 -23
  132. package/app/m/content/ContentReview/index.html +23 -23
  133. package/app/m/content/ContentVersion/index.html +23 -23
  134. package/app/m/events/Event/index.html +23 -23
  135. package/app/m/events/EventParticipant/index.html +23 -23
  136. package/app/m/events/EventSeries/index.html +23 -23
  137. package/app/m/events/EventType/index.html +23 -23
  138. package/app/m/expenses/Expense/index.html +23 -23
  139. package/app/m/facts/Fact/index.html +23 -23
  140. package/app/m/facts/FactContent/index.html +23 -23
  141. package/app/m/facts/FactEvidence/index.html +23 -23
  142. package/app/m/facts/FactSource/index.html +23 -23
  143. package/app/m/facts/FactSubject/index.html +23 -23
  144. package/app/m/facts/FactTag/index.html +23 -23
  145. package/app/m/fields/FieldPolicy/index.html +23 -23
  146. package/app/m/fields/FieldPolicySuggestion/index.html +23 -23
  147. package/app/m/fields/FieldUsageCounter/index.html +23 -23
  148. package/app/m/human-resources/Employment/index.html +23 -23
  149. package/app/m/human-resources/EmploymentTerm/index.html +23 -23
  150. package/app/m/human-resources/HeldQualification/index.html +23 -23
  151. package/app/m/human-resources/Qualification/index.html +23 -23
  152. package/app/m/images/Image/index.html +23 -23
  153. package/app/m/inventory/InventoryLocation/index.html +23 -23
  154. package/app/m/inventory/Lot/index.html +23 -23
  155. package/app/m/inventory/LotCorrection/index.html +23 -23
  156. package/app/m/inventory/LotDocument/index.html +23 -23
  157. package/app/m/inventory/LotStockLevel/index.html +23 -23
  158. package/app/m/inventory/LotUsage/index.html +23 -23
  159. package/app/m/inventory/StockLevel/index.html +23 -23
  160. package/app/m/inventory/StockMovement/index.html +23 -23
  161. package/app/m/ledgers/Account/index.html +23 -23
  162. package/app/m/ledgers/Journal/index.html +23 -23
  163. package/app/m/ledgers/JournalEntry/index.html +23 -23
  164. package/app/m/ledgers/Ledger/index.html +23 -23
  165. package/app/m/manufacturing/Assembly/index.html +23 -23
  166. package/app/m/manufacturing/BillOfMaterials/index.html +23 -23
  167. package/app/m/manufacturing/BomLine/index.html +23 -23
  168. package/app/m/manufacturing/Operation/index.html +23 -23
  169. package/app/m/manufacturing/ProductionRun/index.html +23 -23
  170. package/app/m/manufacturing/ProductionRunCompletion/index.html +23 -23
  171. package/app/m/manufacturing/RoutingStep/index.html +23 -23
  172. package/app/m/marketing/Campaign/index.html +23 -23
  173. package/app/m/marketing/CampaignChannel/index.html +23 -23
  174. package/app/m/marketing/CampaignMetricSnapshot/index.html +23 -23
  175. package/app/m/messages/Account/index.html +23 -23
  176. package/app/m/messages/Attachment/index.html +23 -23
  177. package/app/m/messages/Blacklist/index.html +23 -23
  178. package/app/m/messages/Email/failed-sends/index.html +24 -24
  179. package/app/m/messages/Email/index.html +23 -23
  180. package/app/m/messages/Email/mailbox/index.html +24 -24
  181. package/app/m/messages/EmailAccount/index.html +23 -23
  182. package/app/m/messages/EmailAttachment/index.html +23 -23
  183. package/app/m/messages/EmailFolder/index.html +23 -23
  184. package/app/m/messages/Message/index.html +23 -23
  185. package/app/m/messages/MessagingEndpoint/index.html +23 -23
  186. package/app/m/messages/PersonaMessageRoute/index.html +23 -23
  187. package/app/m/messages/SlackAccount/index.html +23 -23
  188. package/app/m/messages/SlackMessage/index.html +23 -23
  189. package/app/m/messages/SlackMessage/slack-messages/index.html +24 -24
  190. package/app/m/messages/TelegramAccount/index.html +23 -23
  191. package/app/m/messages/Tweet/index.html +23 -23
  192. package/app/m/messages/TwitterAccount/index.html +23 -23
  193. package/app/m/messages/Whitelist/index.html +23 -23
  194. package/app/m/messages/ZulipAccount/index.html +23 -23
  195. package/app/m/places/Place/index.html +23 -23
  196. package/app/m/places/PlaceType/index.html +23 -23
  197. package/app/m/products/Category/index.html +23 -23
  198. package/app/m/products/Material/index.html +23 -23
  199. package/app/m/products/Product/index.html +23 -23
  200. package/app/m/products/Product/ingredients/index.html +24 -24
  201. package/app/m/products/ProductVariant/index.html +23 -23
  202. package/app/m/products/Sku/index.html +23 -23
  203. package/app/m/profiles/ApiKey/index.html +23 -23
  204. package/app/m/profiles/Bot/index.html +23 -23
  205. package/app/m/profiles/MagicLinkToken/index.html +23 -23
  206. package/app/m/profiles/NostrIdentity/index.html +23 -23
  207. package/app/m/profiles/OidcIdentity/index.html +23 -23
  208. package/app/m/profiles/Organization/index.html +23 -23
  209. package/app/m/profiles/Person/index.html +23 -23
  210. package/app/m/profiles/Profile/index.html +23 -23
  211. package/app/m/profiles/ProfileMetadata/index.html +23 -23
  212. package/app/m/profiles/ProfileMetafield/index.html +23 -23
  213. package/app/m/profiles/ProfileRelationship/index.html +23 -23
  214. package/app/m/profiles/ProfileRelationshipTerm/index.html +23 -23
  215. package/app/m/profiles/ProfileRelationshipType/index.html +23 -23
  216. package/app/m/profiles/ProfileType/index.html +23 -23
  217. package/app/m/projects/Comment/index.html +23 -23
  218. package/app/m/projects/Issue/index.html +23 -23
  219. package/app/m/projects/Label/index.html +23 -23
  220. package/app/m/projects/Project/index.html +23 -23
  221. package/app/m/projects/ProjectIntegration/index.html +23 -23
  222. package/app/m/projects/PullRequest/index.html +23 -23
  223. package/app/m/projects/Repository/index.html +23 -23
  224. package/app/m/properties/Property/index.html +23 -23
  225. package/app/m/properties/Zone/index.html +23 -23
  226. package/app/m/reports/RuntimeReport/index.html +23 -23
  227. package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +23 -23
  228. package/app/m/reports/SmrtReportLock/index.html +23 -23
  229. package/app/m/reports/SmrtReportRefreshTask/index.html +23 -23
  230. package/app/m/reports/SmrtReportRun/index.html +23 -23
  231. package/app/m/reports/SmrtReportSchedule/index.html +23 -23
  232. package/app/m/reports/SmrtReportWatermark/index.html +23 -23
  233. package/app/m/sales/Agreement/index.html +23 -23
  234. package/app/m/sales/AttributionException/index.html +23 -23
  235. package/app/m/sales/AttributionPolicy/index.html +23 -23
  236. package/app/m/sales/Commission/index.html +23 -23
  237. package/app/m/sales/CommissionAdjustment/index.html +23 -23
  238. package/app/m/sales/CommissionPayout/index.html +23 -23
  239. package/app/m/sales/CommissionPlan/index.html +23 -23
  240. package/app/m/sales/Earner/index.html +23 -23
  241. package/app/m/sales/EarnerSourceAttribution/index.html +23 -23
  242. package/app/m/sales/EarningEvent/index.html +23 -23
  243. package/app/m/sales/ExecutedAgreement/index.html +23 -23
  244. package/app/m/sales/Lead/index.html +23 -23
  245. package/app/m/sales/Opportunity/index.html +23 -23
  246. package/app/m/sales/OpportunityConversion/index.html +23 -23
  247. package/app/m/sales/PipelineDefinition/index.html +23 -23
  248. package/app/m/sales/PipelineStage/index.html +23 -23
  249. package/app/m/sales/Referral/index.html +23 -23
  250. package/app/m/sales/ReferralAgreement/index.html +23 -23
  251. package/app/m/sales/ReferralLink/index.html +23 -23
  252. package/app/m/sales/ReferralProgram/index.html +23 -23
  253. package/app/m/sales/ReferralTermSnapshot/index.html +23 -23
  254. package/app/m/sales/ReferralTouch/index.html +23 -23
  255. package/app/m/sales/Referrer/index.html +23 -23
  256. package/app/m/sales/ReferrerIdentifier/index.html +23 -23
  257. package/app/m/sales/SalesActivity/index.html +23 -23
  258. package/app/m/sales/SalesRepresentative/index.html +23 -23
  259. package/app/m/sites/DnsZone/index.html +23 -23
  260. package/app/m/sites/Domain/index.html +23 -23
  261. package/app/m/sites/ProjectDomain/index.html +23 -23
  262. package/app/m/sites/Site/index.html +23 -23
  263. package/app/m/sites/SiteAgentBinding/index.html +23 -23
  264. package/app/m/social/OAuthState/index.html +23 -23
  265. package/app/m/social/SocialAccount/index.html +23 -23
  266. package/app/m/social/SocialPost/index.html +23 -23
  267. package/app/m/social/SocialPostAnalyticsSnapshot/index.html +23 -23
  268. package/app/m/subscriptions/BillingAdjustment/index.html +23 -23
  269. package/app/m/subscriptions/ClientCharge/index.html +23 -23
  270. package/app/m/subscriptions/CreditGrant/index.html +23 -23
  271. package/app/m/subscriptions/PricingRule/index.html +23 -23
  272. package/app/m/subscriptions/RetailCharge/index.html +23 -23
  273. package/app/m/subscriptions/SpendingPolicy/index.html +23 -23
  274. package/app/m/subscriptions/SubscriptionPlan/index.html +23 -23
  275. package/app/m/subscriptions/SubscriptionPlanVersion/index.html +23 -23
  276. package/app/m/subscriptions/TenantSubscription/index.html +23 -23
  277. package/app/m/subscriptions/TenantUsageMetric/index.html +23 -23
  278. package/app/m/support/ServiceTimeEntry/index.html +23 -23
  279. package/app/m/support/SupportAiRun/index.html +23 -23
  280. package/app/m/support/SupportAvailability/index.html +23 -23
  281. package/app/m/support/SupportCase/index.html +23 -23
  282. package/app/m/support/SupportCaseEvent/index.html +23 -23
  283. package/app/m/support/SupportChannelBinding/index.html +23 -23
  284. package/app/m/support/SupportCharge/index.html +23 -23
  285. package/app/m/support/SupportCompensation/index.html +23 -23
  286. package/app/m/support/SupportCompensationPlan/index.html +23 -23
  287. package/app/m/support/SupportEscalation/index.html +23 -23
  288. package/app/m/support/SupportInteraction/index.html +23 -23
  289. package/app/m/support/SupportPlan/index.html +23 -23
  290. package/app/m/support/SupportPolicy/index.html +23 -23
  291. package/app/m/support/SupportQualification/index.html +23 -23
  292. package/app/m/support/SupportServiceTarget/index.html +23 -23
  293. package/app/m/support/SupportSpecialist/index.html +23 -23
  294. package/app/m/support/SupportWorkLink/index.html +23 -23
  295. package/app/m/tags/Tag/index.html +23 -23
  296. package/app/m/tags/TagAlias/index.html +23 -23
  297. package/app/m/timesheets/AttendanceBreak/index.html +23 -23
  298. package/app/m/timesheets/AttendancePunch/index.html +23 -23
  299. package/app/m/timesheets/AttendanceSegment/index.html +23 -23
  300. package/app/m/timesheets/ServiceChargeSnapshot/index.html +23 -23
  301. package/app/m/timesheets/ServiceCompensationSnapshot/index.html +23 -23
  302. package/app/m/timesheets/ServiceTimeEntry/index.html +23 -23
  303. package/app/m/users/Group/index.html +23 -23
  304. package/app/m/users/GroupMember/index.html +23 -23
  305. package/app/m/users/GroupRole/index.html +23 -23
  306. package/app/m/users/Membership/index.html +23 -23
  307. package/app/m/users/MembershipOverride/index.html +23 -23
  308. package/app/m/users/Permission/index.html +23 -23
  309. package/app/m/users/Role/index.html +23 -23
  310. package/app/m/users/RolePermission/index.html +23 -23
  311. package/app/m/users/Session/index.html +23 -23
  312. package/app/m/users/Tenant/index.html +23 -23
  313. package/app/m/users/TenantIntegration/index.html +23 -23
  314. package/app/m/users/TenantPermissionOverride/index.html +23 -23
  315. package/app/m/users/User/index.html +23 -23
  316. package/app/m/video/Character/index.html +23 -23
  317. package/app/m/video/CharacterAsset/index.html +23 -23
  318. package/app/m/video/CompositeJob/index.html +23 -23
  319. package/app/m/video/Performer/index.html +23 -23
  320. package/app/m/video/PerformerAsset/index.html +23 -23
  321. package/app/m/video/Scene/index.html +23 -23
  322. package/app/m/video/SceneAsset/index.html +23 -23
  323. package/app/m/video/VideoComposition/index.html +23 -23
  324. package/app/m/video/VideoCompositionAsset/index.html +23 -23
  325. package/app/m/video/VideoSequence/index.html +23 -23
  326. package/app/m/video/VideoSequenceAsset/index.html +23 -23
  327. package/app/m/video/VideoShot/index.html +23 -23
  328. package/app/m/video/VideoShotAsset/index.html +23 -23
  329. package/app/m/video/VideoShotCharacter/index.html +23 -23
  330. package/app/m/video/VideoWorkflow/index.html +23 -23
  331. package/app/m/voice/VoiceOutput/index.html +23 -23
  332. package/app/m/voice/VoiceProfile/index.html +23 -23
  333. package/app/m/voice/VoiceSample/index.html +23 -23
  334. package/app/mcp.html +2 -2
  335. package/app/packages/ads/index.html +21 -21
  336. package/app/packages/analytics/index.html +21 -21
  337. package/app/packages/app-mcp/index.html +21 -21
  338. package/app/packages/approvals/index.html +21 -21
  339. package/app/packages/assets/index.html +21 -21
  340. package/app/packages/chat/index.html +21 -21
  341. package/app/packages/comments/index.html +21 -21
  342. package/app/packages/commerce/index.html +21 -21
  343. package/app/packages/content/index.html +21 -21
  344. package/app/packages/events/index.html +21 -21
  345. package/app/packages/expenses/index.html +21 -21
  346. package/app/packages/facts/index.html +21 -21
  347. package/app/packages/fields/index.html +21 -21
  348. package/app/packages/human-resources/index.html +21 -21
  349. package/app/packages/images/index.html +21 -21
  350. package/app/packages/index.html +21 -21
  351. package/app/packages/inference/index.html +21 -21
  352. package/app/packages/ingestion/index.html +21 -21
  353. package/app/packages/inventory/index.html +21 -21
  354. package/app/packages/ledgers/index.html +21 -21
  355. package/app/packages/manufacturing/index.html +21 -21
  356. package/app/packages/marketing/index.html +21 -21
  357. package/app/packages/messages/index.html +22 -22
  358. package/app/packages/places/index.html +21 -21
  359. package/app/packages/preferences/index.html +21 -21
  360. package/app/packages/products/index.html +21 -21
  361. package/app/packages/profiles/index.html +21 -21
  362. package/app/packages/projects/index.html +21 -21
  363. package/app/packages/properties/index.html +21 -21
  364. package/app/packages/reactions/index.html +21 -21
  365. package/app/packages/reports/index.html +21 -21
  366. package/app/packages/sales/index.html +21 -21
  367. package/app/packages/sites/index.html +21 -21
  368. package/app/packages/social/index.html +21 -21
  369. package/app/packages/subscriptions/index.html +21 -21
  370. package/app/packages/support/index.html +21 -21
  371. package/app/packages/tags/index.html +21 -21
  372. package/app/packages/timesheets/index.html +21 -21
  373. package/app/packages/users/index.html +22 -22
  374. package/app/packages/video/index.html +21 -21
  375. package/app/packages/voice/index.html +21 -21
  376. package/app/packages/webhooks/index.html +21 -21
  377. package/app/recipes/account-access/help/index.html +23 -23
  378. package/app/recipes/account-access/index.html +23 -23
  379. package/app/recipes/activity/help/index.html +21 -21
  380. package/app/recipes/activity/index.html +23 -23
  381. package/app/recipes/ads.campaigns/help/index.html +21 -21
  382. package/app/recipes/ads.campaigns/index.html +23 -23
  383. package/app/recipes/affiliates.referrals/help/index.html +21 -21
  384. package/app/recipes/affiliates.referrals/index.html +23 -23
  385. package/app/recipes/agreements/help/index.html +21 -21
  386. package/app/recipes/agreements/index.html +23 -23
  387. package/app/recipes/analytics.reports/help/index.html +21 -21
  388. package/app/recipes/analytics.reports/index.html +23 -23
  389. package/app/recipes/approvals.requests/help/index.html +21 -21
  390. package/app/recipes/approvals.requests/index.html +23 -23
  391. package/app/recipes/assets/help/index.html +21 -21
  392. package/app/recipes/assets/index.html +23 -23
  393. package/app/recipes/billing/help/index.html +21 -21
  394. package/app/recipes/billing/index.html +23 -23
  395. package/app/recipes/chat.assistant/help/index.html +21 -21
  396. package/app/recipes/chat.assistant/index.html +23 -23
  397. package/app/recipes/comments/help/index.html +21 -21
  398. package/app/recipes/comments/index.html +23 -23
  399. package/app/recipes/commerce.customers/help/index.html +21 -21
  400. package/app/recipes/commerce.customers/index.html +23 -23
  401. package/app/recipes/commerce.estimates/help/index.html +21 -21
  402. package/app/recipes/commerce.estimates/index.html +23 -23
  403. package/app/recipes/commerce.purchases/help/index.html +21 -21
  404. package/app/recipes/commerce.purchases/index.html +23 -23
  405. package/app/recipes/commerce.sales/help/index.html +21 -21
  406. package/app/recipes/commerce.sales/index.html +23 -23
  407. package/app/recipes/commerce.vendors/help/index.html +21 -21
  408. package/app/recipes/commerce.vendors/index.html +23 -23
  409. package/app/recipes/commerce.wholesale/help/index.html +21 -21
  410. package/app/recipes/commerce.wholesale/index.html +23 -23
  411. package/app/recipes/content.articles/help/index.html +21 -21
  412. package/app/recipes/content.articles/index.html +23 -23
  413. package/app/recipes/events.calendar/help/index.html +21 -21
  414. package/app/recipes/events.calendar/index.html +23 -23
  415. package/app/recipes/expenses.tracking/help/index.html +21 -21
  416. package/app/recipes/expenses.tracking/index.html +23 -23
  417. package/app/recipes/fields.form-customization/help/index.html +21 -21
  418. package/app/recipes/fields.form-customization/index.html +23 -23
  419. package/app/recipes/human-resources.people/help/index.html +21 -21
  420. package/app/recipes/human-resources.people/index.html +23 -23
  421. package/app/recipes/human-resources.qualifications/help/index.html +21 -21
  422. package/app/recipes/human-resources.qualifications/index.html +23 -23
  423. package/app/recipes/ingestion/help/index.html +21 -21
  424. package/app/recipes/ingestion/index.html +23 -23
  425. package/app/recipes/integrations/help/index.html +21 -21
  426. package/app/recipes/integrations/index.html +23 -23
  427. package/app/recipes/inventory.stock/help/index.html +21 -21
  428. package/app/recipes/inventory.stock/index.html +23 -23
  429. package/app/recipes/ledgers.bookkeeping/help/index.html +21 -21
  430. package/app/recipes/ledgers.bookkeeping/index.html +23 -23
  431. package/app/recipes/manufacturing.assemblies/help/index.html +21 -21
  432. package/app/recipes/manufacturing.assemblies/index.html +23 -23
  433. package/app/recipes/manufacturing.production/help/index.html +21 -21
  434. package/app/recipes/manufacturing.production/index.html +23 -23
  435. package/app/recipes/marketing.campaigns/help/index.html +21 -21
  436. package/app/recipes/marketing.campaigns/index.html +23 -23
  437. package/app/recipes/messages/help/index.html +23 -23
  438. package/app/recipes/messages/index.html +23 -23
  439. package/app/recipes/places.locations/help/index.html +21 -21
  440. package/app/recipes/places.locations/index.html +23 -23
  441. package/app/recipes/products/help/index.html +21 -21
  442. package/app/recipes/products/index.html +23 -23
  443. package/app/recipes/profiles.identity/help/index.html +21 -21
  444. package/app/recipes/profiles.identity/index.html +23 -23
  445. package/app/recipes/projects.tracker/help/index.html +21 -21
  446. package/app/recipes/projects.tracker/index.html +23 -23
  447. package/app/recipes/reports.materialized/help/index.html +21 -21
  448. package/app/recipes/reports.materialized/index.html +23 -23
  449. package/app/recipes/reports.runtime/help/index.html +21 -21
  450. package/app/recipes/reports.runtime/index.html +23 -23
  451. package/app/recipes/sales.pipeline/help/index.html +21 -21
  452. package/app/recipes/sales.pipeline/index.html +23 -23
  453. package/app/recipes/social.posts/help/index.html +21 -21
  454. package/app/recipes/social.posts/index.html +23 -23
  455. package/app/recipes/subscriptions.plans/help/index.html +21 -21
  456. package/app/recipes/subscriptions.plans/index.html +23 -23
  457. package/app/recipes/support.tickets/help/index.html +21 -21
  458. package/app/recipes/support.tickets/index.html +23 -23
  459. package/app/recipes/tags.taxonomy/help/index.html +21 -21
  460. package/app/recipes/tags.taxonomy/index.html +23 -23
  461. package/app/recipes/team-collaboration/help/index.html +21 -21
  462. package/app/recipes/team-collaboration/index.html +23 -23
  463. package/app/recipes/timesheets.time-entries/help/index.html +21 -21
  464. package/app/recipes/timesheets.time-entries/index.html +23 -23
  465. package/app/recipes/video.library/help/index.html +21 -21
  466. package/app/recipes/video.library/index.html +23 -23
  467. package/app/recipes/voice.profiles/help/index.html +21 -21
  468. package/app/recipes/voice.profiles/index.html +23 -23
  469. package/app/s/custom-accounts/index.html +19 -19
  470. package/app/s/custom-appointments/index.html +19 -19
  471. package/app/s/custom-billing/index.html +19 -19
  472. package/app/s/custom-bookings/index.html +19 -19
  473. package/app/s/custom-buying/index.html +19 -19
  474. package/app/s/custom-checkout/index.html +19 -19
  475. package/app/s/custom-classes/index.html +19 -19
  476. package/app/s/custom-clients/index.html +19 -19
  477. package/app/s/custom-events/index.html +19 -19
  478. package/app/s/custom-fleet/index.html +19 -19
  479. package/app/s/custom-gigs/index.html +19 -19
  480. package/app/s/custom-giving/index.html +19 -19
  481. package/app/s/custom-instruments/index.html +19 -19
  482. package/app/s/custom-jobs/index.html +19 -19
  483. package/app/s/custom-kitchen/index.html +19 -19
  484. package/app/s/custom-lessons/index.html +19 -19
  485. package/app/s/custom-material/index.html +19 -19
  486. package/app/s/custom-meetings/index.html +19 -19
  487. package/app/s/custom-members/index.html +19 -19
  488. package/app/s/custom-merch/index.html +19 -19
  489. package/app/s/custom-money/index.html +19 -19
  490. package/app/s/custom-paint/index.html +19 -19
  491. package/app/s/custom-parts/index.html +19 -19
  492. package/app/s/custom-rentals/index.html +19 -19
  493. package/app/s/custom-roastery/index.html +19 -19
  494. package/app/s/custom-schedule/index.html +19 -19
  495. package/app/s/custom-shelf/index.html +19 -19
  496. package/app/s/custom-shop/index.html +19 -19
  497. package/app/s/custom-students/index.html +19 -19
  498. package/app/s/custom-wholesale/index.html +19 -19
  499. package/app/s/custom-work/index.html +19 -19
  500. package/app/s/custom-yard/index.html +19 -19
  501. package/app/s/section-access-control/index.html +19 -19
  502. package/app/s/section-account-security/index.html +19 -19
  503. package/app/s/section-accounting/index.html +19 -19
  504. package/app/s/section-agreements/index.html +19 -19
  505. package/app/s/section-analytics/index.html +19 -19
  506. package/app/s/section-approvals/index.html +19 -19
  507. package/app/s/section-assets/index.html +19 -19
  508. package/app/s/section-billing/index.html +19 -19
  509. package/app/s/section-calendar/index.html +19 -19
  510. package/app/s/section-catalog/index.html +19 -19
  511. package/app/s/section-grow/index.html +19 -19
  512. package/app/s/section-make/index.html +19 -19
  513. package/app/s/section-messages/index.html +19 -19
  514. package/app/s/section-more/index.html +19 -19
  515. package/app/s/section-operations/index.html +19 -19
  516. package/app/s/section-places/index.html +19 -19
  517. package/app/s/section-projects/index.html +19 -19
  518. package/app/s/section-publish/index.html +19 -19
  519. package/app/s/section-purchasing/index.html +19 -19
  520. package/app/s/section-reports.runtime/index.html +19 -19
  521. package/app/s/section-sales/index.html +19 -19
  522. package/app/s/section-staff/index.html +19 -19
  523. package/app/s/section-support/index.html +19 -19
  524. package/app/s/section-taxonomy/index.html +19 -19
  525. package/app/s/section-team/index.html +19 -19
  526. package/app/s/section-work/index.html +19 -19
  527. package/dist/catalog/catalog.json +234 -41
  528. package/dist/core/index.js +227 -43
  529. package/dist/smrt-version.d.ts +1 -1
  530. package/dist/smrt-version.js +1 -1
  531. package/package.json +57 -57
  532. package/app/_app/immutable/chunks/B1ZwnZsa.js +0 -1
  533. package/app/_app/immutable/chunks/BEk63oUJ.js +0 -1
  534. package/app/_app/immutable/chunks/BfgZmtrj.js +0 -1
  535. package/app/_app/immutable/entry/start.B_ZXoaOl.js +0 -1
package/app/404.html CHANGED
@@ -3,35 +3,35 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <link href="/_app/immutable/entry/start.B_ZXoaOl.js" rel="modulepreload">
7
- <link href="/_app/immutable/chunks/BfgZmtrj.js" rel="modulepreload">
6
+ <link href="/_app/immutable/entry/start.BzEG-sj6.js" rel="modulepreload">
7
+ <link href="/_app/immutable/chunks/WTBGXB_Z.js" rel="modulepreload">
8
8
  <link href="/_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
9
9
  <link href="/_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
10
10
  <link href="/_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
11
- <link href="/_app/immutable/entry/app.ByqlsHAP.js" rel="modulepreload">
11
+ <link href="/_app/immutable/entry/app.v-YObDn8.js" rel="modulepreload">
12
12
  <link href="/_app/immutable/chunks/BaNbYf_w.js" rel="modulepreload">
13
13
  <link href="/_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
14
- <link href="/_app/immutable/nodes/0.BeWFjRFg.js" rel="modulepreload">
15
- <link href="/_app/immutable/chunks/H5aNzeA4.js" rel="modulepreload">
14
+ <link href="/_app/immutable/nodes/0.idbQlhGY.js" rel="modulepreload">
15
+ <link href="/_app/immutable/chunks/CPG6sCj5.js" rel="modulepreload">
16
16
  <link href="/_app/immutable/chunks/Bq8E3AWP.js" rel="modulepreload">
17
17
  <link href="/_app/immutable/chunks/denq4QT7.js" rel="modulepreload">
18
- <link href="/_app/immutable/chunks/DZwpfDAp.js" rel="modulepreload">
18
+ <link href="/_app/immutable/chunks/DAc56dZR.js" rel="modulepreload">
19
19
  <link href="/_app/immutable/chunks/Cekjnrta.js" rel="modulepreload">
20
20
  <link href="/_app/immutable/chunks/D3syEjNq.js" rel="modulepreload">
21
21
  <link href="/_app/immutable/chunks/DmfvgI_r.js" rel="modulepreload">
22
- <link href="/_app/immutable/chunks/Ch-yPCW2.js" rel="modulepreload">
22
+ <link href="/_app/immutable/chunks/Ty36XDmZ.js" rel="modulepreload">
23
23
  <link href="/_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
24
24
  <link href="/_app/immutable/chunks/B18A9OMt.js" rel="modulepreload">
25
25
  <link href="/_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
26
- <link href="/_app/immutable/chunks/B1ZwnZsa.js" rel="modulepreload">
27
- <link href="/_app/immutable/chunks/BEk63oUJ.js" rel="modulepreload">
28
- <link href="/_app/immutable/chunks/aEe0XKwE.js" rel="modulepreload">
26
+ <link href="/_app/immutable/chunks/BXo4Y7Jh.js" rel="modulepreload">
27
+ <link href="/_app/immutable/chunks/fKC0-IWD.js" rel="modulepreload">
28
+ <link href="/_app/immutable/chunks/BJG-sFZE.js" rel="modulepreload">
29
29
  <link href="/_app/immutable/chunks/d934w91N.js" rel="modulepreload">
30
- <link href="/_app/immutable/chunks/QkmzvTRx.js" rel="modulepreload">
31
- <link href="/_app/immutable/chunks/CNCyp1yH.js" rel="modulepreload">
32
- <link href="/_app/immutable/chunks/DgaTuYgQ.js" rel="modulepreload">
33
- <link href="/_app/immutable/chunks/Aivp3TGX.js" rel="modulepreload">
34
- <link href="/_app/immutable/chunks/DwcZUUNG.js" rel="modulepreload">
30
+ <link href="/_app/immutable/chunks/HCPQ-okF.js" rel="modulepreload">
31
+ <link href="/_app/immutable/chunks/DQ-_GS3X.js" rel="modulepreload">
32
+ <link href="/_app/immutable/chunks/PCgjOeiY.js" rel="modulepreload">
33
+ <link href="/_app/immutable/chunks/DHHfA5sS.js" rel="modulepreload">
34
+ <link href="/_app/immutable/chunks/wQ3X4_61.js" rel="modulepreload">
35
35
  <link href="/_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
36
36
  <link href="/_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
37
37
 
@@ -51,15 +51,15 @@
51
51
  <div style="display: contents">
52
52
  <script>
53
53
  {
54
- __sveltekit_6jbmjh = {
54
+ __sveltekit_1n3zp33 = {
55
55
  base: ""
56
56
  };
57
57
 
58
58
  const element = document.currentScript.parentElement;
59
59
 
60
60
  Promise.all([
61
- import("/_app/immutable/entry/start.B_ZXoaOl.js"),
62
- import("/_app/immutable/entry/app.ByqlsHAP.js")
61
+ import("/_app/immutable/entry/start.BzEG-sj6.js"),
62
+ import("/_app/immutable/entry/app.v-YObDn8.js")
63
63
  ]).then(([kit, app]) => {
64
64
  kit.start(app, element);
65
65
  });
@@ -1 +1 @@
1
- import{O as e,u as t}from"./H5aNzeA4.js";import{v as n}from"./Dquw2ZH5.js";import{c as r}from"./BV3yhWqG.js";var i=`@happyvertical/smrt-reports:RuntimeReport`;function a(e){switch(e.type){case`text`:return`string`;case`integer`:return`integer`;case`decimal`:return`decimal`;case`boolean`:return`boolean`;case`datetime`:return`datetime`;case`foreignKey`:case`crossPackageRef`:return`id`;default:return null}}function o(e){let t=e.replace(/([a-z\d])([A-Z])/g,`$1_$2`).toLowerCase();return/(series|species)$/.test(t)?t:/[^aeiou]y$/.test(t)?`${t.slice(0,-1)}ies`:/(s|x|z|ch|sh)$/.test(t)?`${t}es`:`${t}s`}var s=[`totalAmount`,`total`,`amount`];function c(n,i,c=o(n.name)){let l=[{name:`id`,type:`string`}];for(let r of n.fields){let n=a(r);if(!n||r.system||l.some(e=>e.name===r.name))continue;let i=e(r)?`money`:n===`datetime`&&r.ui?.format===`date`?`date`:void 0;l.push({name:r.name,type:n,label:t(r),...i?{format:i}:{},...n===`string`&&r.enum?.length?{enum:r.enum}:{}})}let u=l.filter(e=>e.format===`money`),d=s.map(e=>u.find(t=>t.name===e)).find(Boolean),f={id:c,label:i,...n.description?{description:n.description}:{},schema:l,model:n,...d?{amountField:d.name}:{}},p=r([f],c).defaultTimeField;return p?{...f,dateField:p}:f}function l(e,t){let r=new Set(e),i=new Map;for(let e of t)if(r.has(e.id))for(let t of n(e))t.model.id!==`@happyvertical/smrt-reports:RuntimeReport`&&i.set(t.model.id,[...i.get(t.model.id)??[],t]);let a=new Map,s=new Set;for(let[e,t]of i){let n=t.find(e=>!e.filter)??t[0],r=o(n.model.name);s.has(r)&&(r=`${n.packageId}.${r}`),s.add(r),a.set(e,c(n.model,n.label,r))}return[...a.values()]}export{l as n,i as t};
1
+ import{O as e,u as t}from"./CPG6sCj5.js";import{v as n}from"./a-esN0Zg.js";import{c as r}from"./BvdvhuXo.js";var i=`@happyvertical/smrt-reports:RuntimeReport`;function a(e){switch(e.type){case`text`:return`string`;case`integer`:return`integer`;case`decimal`:return`decimal`;case`boolean`:return`boolean`;case`datetime`:return`datetime`;case`foreignKey`:case`crossPackageRef`:return`id`;default:return null}}function o(e){let t=e.replace(/([a-z\d])([A-Z])/g,`$1_$2`).toLowerCase();return/(series|species)$/.test(t)?t:/[^aeiou]y$/.test(t)?`${t.slice(0,-1)}ies`:/(s|x|z|ch|sh)$/.test(t)?`${t}es`:`${t}s`}var s=[`totalAmount`,`total`,`amount`];function c(n,i,c=o(n.name)){let l=[{name:`id`,type:`string`}];for(let r of n.fields){let n=a(r);if(!n||r.system||l.some(e=>e.name===r.name))continue;let i=e(r)?`money`:n===`datetime`&&r.ui?.format===`date`?`date`:void 0;l.push({name:r.name,type:n,label:t(r),...i?{format:i}:{},...n===`string`&&r.enum?.length?{enum:r.enum}:{}})}let u=l.filter(e=>e.format===`money`),d=s.map(e=>u.find(t=>t.name===e)).find(Boolean),f={id:c,label:i,...n.description?{description:n.description}:{},schema:l,model:n,...d?{amountField:d.name}:{}},p=r([f],c).defaultTimeField;return p?{...f,dateField:p}:f}function l(e,t){let r=new Set(e),i=new Map;for(let e of t)if(r.has(e.id))for(let t of n(e))t.model.id!==`@happyvertical/smrt-reports:RuntimeReport`&&i.set(t.model.id,[...i.get(t.model.id)??[],t]);let a=new Map,s=new Set;for(let[e,t]of i){let n=t.find(e=>!e.filter)??t[0],r=o(n.model.name);s.has(r)&&(r=`${n.packageId}.${r}`),s.add(r),a.set(e,c(n.model,n.label,r))}return[...a.values()]}export{l as n,i as t};
@@ -1 +1 @@
1
- import"./DG3qFFTE.js";import{c as e}from"./BfgZmtrj.js";var t={get data(){return e.data},get error(){return e.error},get form(){return e.form},get params(){return e.params},get route(){return e.route},get state(){return e.state},get status(){return e.status},get url(){return e.url}};export{t};
1
+ import"./DG3qFFTE.js";import{c as e}from"./WTBGXB_Z.js";var t={get data(){return e.data},get error(){return e.error},get form(){return e.form},get params(){return e.params},get route(){return e.route},get state(){return e.state},get status(){return e.status},get url(){return e.url}};export{t};
@@ -1,4 +1,4 @@
1
- import{$ as e,B as t,Ct as n,D as r,Dt as i,E as a,Ft as o,G as s,H as c,J as l,L as u,Ot as d,Pt as f,U as p,W as m,X as h,Y as g,a as _,b as v,bt as y,ct as b,ft as x,ht as S,mt as C,pt as w,st as T,v as E,vt as D}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{n as O}from"./denq4QT7.js";import{n as k}from"./D3syEjNq.js";import{b as A,i as j,x as M}from"./B18A9OMt.js";import{A as N,D as P,E as F,O as I,T as L,_ as R,i as z,k as B,n as V,r as ee,t as H,v as U,w as te}from"./C26n7Mo6.js";import{nt as W}from"./Dquw2ZH5.js";var ne=s(`<p class="smrt-ai-setup__notice svelte-19u3zp7" role="status" data-smrt-component="AiSetup"> </p>`),G=s(`<option> </option>`),re=s(`<label class="svelte-19u3zp7">Assistant mode <!></label> <p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta">Changing modes happens only when you choose it here.</p>`,1),ie=s(`<p class="smrt-ai-setup__status svelte-19u3zp7" data-smrt-part="status">Inference off</p> <p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta">Build, edit, validate and export your cookbook without a model. No
1
+ import{$ as e,B as t,Ct as n,D as r,Dt as i,E as a,Ft as o,G as s,H as c,J as l,L as u,Ot as d,Pt as f,U as p,W as m,X as h,Y as g,a as _,b as v,bt as y,ct as b,ft as x,ht as S,mt as C,pt as w,st as T,v as E,vt as D}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{n as O}from"./denq4QT7.js";import{n as k}from"./D3syEjNq.js";import{b as A,i as j,x as M}from"./B18A9OMt.js";import{A as N,D as P,E as F,O as I,T as L,_ as R,i as z,k as B,n as V,r as ee,t as H,v as U,w as te}from"./BZH-P7Et.js";import{nt as W}from"./a-esN0Zg.js";var ne=s(`<p class="smrt-ai-setup__notice svelte-19u3zp7" role="status" data-smrt-component="AiSetup"> </p>`),G=s(`<option> </option>`),re=s(`<label class="svelte-19u3zp7">Assistant mode <!></label> <p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta">Changing modes happens only when you choose it here.</p>`,1),ie=s(`<p class="smrt-ai-setup__status svelte-19u3zp7" data-smrt-part="status">Inference off</p> <p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta">Build, edit, validate and export your cookbook without a model. No
2
2
  provider is contacted and no browser model is downloaded.</p>`,1),ae=s(`<p class="smrt-ai-setup__status svelte-19u3zp7" data-smrt-part="status">Server</p> <p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta">This site's server answers the assistant. What you type, and a short
3
3
  summary of your plan, is sent to it. Nothing is downloaded.</p>`,1),oe=s(`<p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta">A key is saved for another address, so it is not used here. Paste it again for this address.</p>`),se=s(`<div class="smrt-ai-setup__field svelte-19u3zp7" data-smrt-part="field"><!> <!></div> <!> <p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta"> <button class="smrt-ai-setup__link svelte-19u3zp7" data-smrt-part="action" type="button">Forget the key</button></p>`,1),ce=s(`<p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta"><strong>Browser access.</strong> </p>`),le=s(`<p data-smrt-part="status"> </p>`),ue=s(`<p class="smrt-ai-setup__status svelte-19u3zp7" data-smrt-part="status" role="status"> </p>`),de=s(`<label class="svelte-19u3zp7">Model provider <!></label> <div class="smrt-ai-setup__field svelte-19u3zp7" data-smrt-part="field"><!> <!></div> <div class="smrt-ai-setup__field svelte-19u3zp7" data-smrt-part="field"><!> <!></div> <!> <!> <p class="smrt-ai-setup__meta svelte-19u3zp7" data-smrt-part="meta">What you type, and a short summary of your plan, is sent to this
4
4
  endpoint.</p> <!> <!> <div class="smrt-ai-setup__actions svelte-19u3zp7" data-smrt-part="actions"><!> <!></div>`,1),fe=s(`<p role="status" class="svelte-19u3zp7">This browser has no WebGPU, which the model needs. Try a recent
@@ -0,0 +1 @@
1
+ import"./DG3qFFTE.js";import"./xihTtKlq.js";import"./CPG6sCj5.js";import"./DAc56dZR.js";import"./D3syEjNq.js";import"./Bq1S_gkp.js";import"./B18A9OMt.js";function e(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}export{e 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 M,dt as N,f as P,ft as F,gt as I,ht as L,k as ee,kt as R,lt as te,mt as z,n as ne,nt as re,ot as ie,pt as B,q as ae,r as V,rt as oe,st as H,tt as se,v as U,vt as W,xt as ce,yt as le,z as G}from"./DG3qFFTE.js";import{t as ue}from"./BaNbYf_w.js";import"./xihTtKlq.js";import{r as de}from"./Cekjnrta.js";import{a as K,t as q}from"./Bq8E3AWP.js";import{B as fe,Mt as pe,Pt as J,R as me,W as he}from"./H5aNzeA4.js";import{n as Y}from"./denq4QT7.js";import{C as X,S as ge,b as _e,x as ve}from"./DZwpfDAp.js";import{n as ye,r as be}from"./D3syEjNq.js";import{i as xe}from"./Ch-yPCW2.js";import{_ as Se,b as Ce,c as we,d as Te,g as Ee,h as De,i as Oe,m as ke,n as Ae,p as je,s as Me}from"./B18A9OMt.js";import{n as Ne}from"./vsGDnABU.js";import{n as Pe,r as Fe}from"./DnUMJJeH.js";import{c as Ie,t as Le}from"./eBF8D7GD.js";import{_ as Re,a as ze,g as Be,h as Ve,l as He,n as Ue,p as We,u as Ge}from"./D2aP8kCX.js";import{Q as Z,b as Ke,t as qe}from"./Dquw2ZH5.js";import{C as Je,_ as Ye,h as Xe,i as Ze,m as Qe,o as $e,r as et,t as tt,u as nt}from"./BV3yhWqG.js";import{n as rt,t as it}from"./BxNhLbSS.js";function at(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 ot(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 st(e,t){let n=ot(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 ct=new WeakMap;async function lt(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=ct.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 ut(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 dt(e){return new Worker(new URL(`../workers/local-speech.worker-BzGX7Qdn.js`,import.meta.url).href,{name:e?.name})}var ft=2**28,pt=16,mt=.95;function ht(e){if(e===0)return 1;let t=Math.PI*e;return Math.sin(t)/t}function gt(e,t,n){for(let[e,r]of[[`fromRate`,t],[`toRate`,n]])if(!Number.isFinite(r)||r<=0)throw new Ie(`invalid_argument`,`${e} must be a positive finite number (got ${String(r)})`);let r=Math.floor(e.length*n/t);if(r>ft)throw new Ie(`invalid_argument`,`resampled output would be ${r} samples; the limit is ${ft}`);if(t===n)return e.slice();let i=new Float32Array(r),a=t/n,o=a>1?mt/a:1,s=pt/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*ht(o*r)*i;u+=a*e[t],d+=a}i[t]=d===0?0:u/d}return i}var _t={silenceMs:800,minSpeechMs:150,preRollMs:300,maxUtteranceMs:3e4,sensitivity:.5,calibrateMs:300},vt=.0015,yt=.003,bt=.006,xt=.2,St=.02,Ct=2e3,wt=250;function Tt(e,t,n){return Math.min(n,Math.max(t,e))}function Et(e={}){let t=(e,t,n)=>typeof e==`number`&&Number.isFinite(e)?Math.max(n,e):t;return{silenceMs:t(e.silenceMs,_t.silenceMs,20),minSpeechMs:t(e.minSpeechMs,_t.minSpeechMs,0),preRollMs:t(e.preRollMs,_t.preRollMs,0),maxUtteranceMs:t(e.maxUtteranceMs,_t.maxUtteranceMs,1e3),sensitivity:Tt(typeof e.sensitivity==`number`&&Number.isFinite(e.sensitivity)?e.sensitivity:_t.sensitivity,0,1),calibrateMs:t(e.calibrateMs,_t.calibrateMs,0)}}function Dt(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 Ot(e={}){let t=Et(e),n=6-4*t.sensitivity,r=.02-.015*t.sensitivity,i=yt,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=Tt(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=Tt(e[Math.min(e.length-1,Math.floor(e.length*xt))]??yt,vt,bt)}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/Ct*(m<i?4:1);i=Tt(i+(m-i)*Math.min(1,e),vt,St)}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 kt(e){let t=Et(e),n=Ot(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-wt)/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(Dt(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 At=44,jt=4294967295,Mt=1;function Nt(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 Pt(e,t){if(!Number.isInteger(e)||e<1||e*2>jt)throw new Ie(`invalid_argument`,`${t} must be a positive integer sample rate (got ${String(e)})`)}function Ft(e,t,n){for(let r=0;r<n.length;r+=1)e.setUint8(t+r,n.charCodeAt(r))}function It(e,t){Pt(t,`sampleRate`);let n=e.length*2;if(n+At-8>jt)throw new Ie(`invalid_argument`,`too many samples for a single WAV (4 GiB limit)`);let r=e instanceof Int16Array?e:Nt(e),i=new Uint8Array(At+n),a=new DataView(i.buffer);Ft(a,0,`RIFF`),a.setUint32(4,36+n,!0),Ft(a,8,`WAVE`),Ft(a,12,`fmt `),a.setUint32(16,16,!0),a.setUint16(20,Mt,!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),Ft(a,36,`data`),a.setUint32(40,n,!0);for(let e=0;e<r.length;e+=1)a.setInt16(At+e*2,r[e],!0);return i}var Lt=`hv-pcm-tap`,Rt=`
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 M,dt as N,f as P,ft as F,gt as I,ht as L,k as ee,kt as R,lt as te,mt as z,n as ne,nt as re,ot as ie,pt as B,q as ae,r as V,rt as oe,st as H,tt as se,v as U,vt as W,xt as ce,yt as le,z as G}from"./DG3qFFTE.js";import{t as ue}from"./BaNbYf_w.js";import"./xihTtKlq.js";import{r as de}from"./Cekjnrta.js";import{a as K,t as q}from"./Bq8E3AWP.js";import{B as fe,Mt as pe,Pt as J,R as me,W as he}from"./CPG6sCj5.js";import{n as Y}from"./denq4QT7.js";import{C as X,S as ge,b as _e,x as ve}from"./DAc56dZR.js";import{n as ye,r as be}from"./D3syEjNq.js";import{i as xe}from"./Ty36XDmZ.js";import{_ as Se,b as Ce,c as we,d as Te,g as Ee,h as De,i as Oe,m as ke,n as Ae,p as je,s as Me}from"./B18A9OMt.js";import{n as Ne}from"./CiF6Wh0T.js";import{n as Pe,r as Fe}from"./DnUMJJeH.js";import{c as Ie,t as Le}from"./eBF8D7GD.js";import{_ as Re,a as ze,g as Be,h as Ve,l as He,n as Ue,p as We,u as Ge}from"./DsM6OVA6.js";import{Q as Z,b as Ke,t as qe}from"./a-esN0Zg.js";import{C as Je,_ as Ye,h as Xe,i as Ze,m as Qe,o as $e,r as et,t as tt,u as nt}from"./BvdvhuXo.js";import{n as rt,t as it}from"./HvwRY5m2.js";function at(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 ot(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 st(e,t){let n=ot(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 ct=new WeakMap;async function lt(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=ct.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 ut(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 dt(e){return new Worker(new URL(`../workers/local-speech.worker-BzGX7Qdn.js`,import.meta.url).href,{name:e?.name})}var ft=2**28,pt=16,mt=.95;function ht(e){if(e===0)return 1;let t=Math.PI*e;return Math.sin(t)/t}function gt(e,t,n){for(let[e,r]of[[`fromRate`,t],[`toRate`,n]])if(!Number.isFinite(r)||r<=0)throw new Ie(`invalid_argument`,`${e} must be a positive finite number (got ${String(r)})`);let r=Math.floor(e.length*n/t);if(r>ft)throw new Ie(`invalid_argument`,`resampled output would be ${r} samples; the limit is ${ft}`);if(t===n)return e.slice();let i=new Float32Array(r),a=t/n,o=a>1?mt/a:1,s=pt/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*ht(o*r)*i;u+=a*e[t],d+=a}i[t]=d===0?0:u/d}return i}var _t={silenceMs:800,minSpeechMs:150,preRollMs:300,maxUtteranceMs:3e4,sensitivity:.5,calibrateMs:300},vt=.0015,yt=.003,bt=.006,xt=.2,St=.02,Ct=2e3,wt=250;function Tt(e,t,n){return Math.min(n,Math.max(t,e))}function Et(e={}){let t=(e,t,n)=>typeof e==`number`&&Number.isFinite(e)?Math.max(n,e):t;return{silenceMs:t(e.silenceMs,_t.silenceMs,20),minSpeechMs:t(e.minSpeechMs,_t.minSpeechMs,0),preRollMs:t(e.preRollMs,_t.preRollMs,0),maxUtteranceMs:t(e.maxUtteranceMs,_t.maxUtteranceMs,1e3),sensitivity:Tt(typeof e.sensitivity==`number`&&Number.isFinite(e.sensitivity)?e.sensitivity:_t.sensitivity,0,1),calibrateMs:t(e.calibrateMs,_t.calibrateMs,0)}}function Dt(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 Ot(e={}){let t=Et(e),n=6-4*t.sensitivity,r=.02-.015*t.sensitivity,i=yt,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=Tt(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=Tt(e[Math.min(e.length-1,Math.floor(e.length*xt))]??yt,vt,bt)}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/Ct*(m<i?4:1);i=Tt(i+(m-i)*Math.min(1,e),vt,St)}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 kt(e){let t=Et(e),n=Ot(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-wt)/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(Dt(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 At=44,jt=4294967295,Mt=1;function Nt(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 Pt(e,t){if(!Number.isInteger(e)||e<1||e*2>jt)throw new Ie(`invalid_argument`,`${t} must be a positive integer sample rate (got ${String(e)})`)}function Ft(e,t,n){for(let r=0;r<n.length;r+=1)e.setUint8(t+r,n.charCodeAt(r))}function It(e,t){Pt(t,`sampleRate`);let n=e.length*2;if(n+At-8>jt)throw new Ie(`invalid_argument`,`too many samples for a single WAV (4 GiB limit)`);let r=e instanceof Int16Array?e:Nt(e),i=new Uint8Array(At+n),a=new DataView(i.buffer);Ft(a,0,`RIFF`),a.setUint32(4,36+n,!0),Ft(a,8,`WAVE`),Ft(a,12,`fmt `),a.setUint32(16,16,!0),a.setUint16(20,Mt,!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),Ft(a,36,`data`),a.setUint32(40,n,!0);for(let e=0;e<r.length;e+=1)a.setInt16(At+e*2,r[e],!0);return i}var Lt=`hv-pcm-tap`,Rt=`
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"./Cekjnrta.js";import{t as ie}from"./Bq8E3AWP.js";import"./H5aNzeA4.js";import{n as D}from"./denq4QT7.js";import{D as O,T as k,f as ae,h as oe}from"./DZwpfDAp.js";import{n as se}from"./D3syEjNq.js";import{o as A,u as j}from"./DmfvgI_r.js";import{i as M}from"./B18A9OMt.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" data-smrt-part="description"> </span>`),ue=o(`<div class="smrt-shell-layout-editor__row svelte-xzk327" data-smrt-part="row"><!></div>`),de=o(`<strong> </strong>`),fe=o(`<!> <!> <!> <!>`,1),F=o(`<span data-smrt-part="label"> </span> <!>`,1),I=o(`<div class="smrt-shell-layout-editor__preview" data-smrt-part="preview"><h3 class="svelte-xzk327"> </h3> <div class="smrt-shell-layout-editor__preview-frame svelte-xzk327" role="group" inert="" data-smrt-part="panel"><!></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" data-smrt-part="list"><legend class="svelte-xzk327"> </legend> <!></fieldset> <div class="smrt-shell-layout-editor__body svelte-xzk327" data-smrt-part="body"><div class="smrt-shell-layout-editor__nav" data-smrt-part="list"><div class="smrt-shell-layout-editor__nav-head svelte-xzk327" data-smrt-part="header"><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"./Cekjnrta.js";import{t as ie}from"./Bq8E3AWP.js";import"./CPG6sCj5.js";import{n as D}from"./denq4QT7.js";import{D as O,T as k,f as ae,h as oe}from"./DAc56dZR.js";import{n as se}from"./D3syEjNq.js";import{o as A,u as j}from"./DmfvgI_r.js";import{i as M}from"./B18A9OMt.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" data-smrt-part="description"> </span>`),ue=o(`<div class="smrt-shell-layout-editor__row svelte-xzk327" data-smrt-part="row"><!></div>`),de=o(`<strong> </strong>`),fe=o(`<!> <!> <!> <!>`,1),F=o(`<span data-smrt-part="label"> </span> <!>`,1),I=o(`<div class="smrt-shell-layout-editor__preview" data-smrt-part="preview"><h3 class="svelte-xzk327"> </h3> <div class="smrt-shell-layout-editor__preview-frame svelte-xzk327" role="group" inert="" data-smrt-part="panel"><!></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" data-smrt-part="list"><legend class="svelte-xzk327"> </legend> <!></fieldset> <div class="smrt-shell-layout-editor__body svelte-xzk327" data-smrt-part="body"><div class="smrt-shell-layout-editor__nav" data-smrt-part="list"><div class="smrt-shell-layout-editor__nav-head svelte-xzk327" data-smrt-part="header"><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};