@happyvertical/smrt-planner 0.0.0-stage → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +170 -2
- package/app/404.html +80 -0
- package/app/_app/immutable/assets/0.B5zXkXe_.css +1 -0
- package/app/_app/immutable/assets/10.hpcnxvK1.css +1 -0
- package/app/_app/immutable/assets/11.D7zoXfVV.css +1 -0
- package/app/_app/immutable/assets/12.CPobm1ED.css +1 -0
- package/app/_app/immutable/assets/2.CyaWdRdI.css +1 -0
- package/app/_app/immutable/assets/3.BlPQOes8.css +1 -0
- package/app/_app/immutable/assets/8.2gQeKBp_.css +1 -0
- package/app/_app/immutable/assets/9.HOPT4xtg.css +1 -0
- package/app/_app/immutable/assets/AiSetup.Cb22AigN.css +1 -0
- package/app/_app/immutable/assets/Button.DkP0qkG9.css +1 -0
- package/app/_app/immutable/assets/ConnectTools.BgIJOOGW.css +1 -0
- package/app/_app/immutable/assets/FieldMapForm.BCU-4pO4.css +1 -0
- package/app/_app/immutable/assets/ModelPage.Dd3LcMta.css +1 -0
- package/app/_app/immutable/assets/SectionActions.CTkVuNMF.css +1 -0
- package/app/_app/immutable/assets/SectionIcons.5Udq9vN-.css +1 -0
- package/app/_app/immutable/assets/SegmentedControl.B8SrQacd.css +1 -0
- package/app/_app/immutable/assets/dist.C5nHBk_O.css +1 -0
- package/app/_app/immutable/assets/feedback.BVKAwFck.css +1 -0
- package/app/_app/immutable/assets/forms.BChZ2RWM.css +1 -0
- package/app/_app/immutable/assets/inter-latin-ext.B_-bZUTo.woff2 +0 -0
- package/app/_app/immutable/assets/inter-latin.8kRkwJBP.woff2 +0 -0
- package/app/_app/immutable/assets/jetbrains-mono-latin-ext.Bnd2h4Br.woff2 +0 -0
- package/app/_app/immutable/assets/jetbrains-mono-latin.Db4Uuiha.woff2 +0 -0
- package/app/_app/immutable/assets/ort-wasm-simd-threaded.asyncify.CxOG5pUO.wasm +0 -0
- package/app/_app/immutable/assets/percent.LH0z-ozZ.css +1 -0
- package/app/_app/immutable/assets/space-grotesk-latin-ext.wJGaI8U0.woff2 +0 -0
- package/app/_app/immutable/assets/space-grotesk-latin.DPT1xrvW.woff2 +0 -0
- package/app/_app/immutable/assets/store.CGDwHkkF.css +1 -0
- package/app/_app/immutable/assets/ui.B1A1Zl2p.css +1 -0
- package/app/_app/immutable/assets/workspace.BIMkuZDb.css +1 -0
- package/app/_app/immutable/chunks/1okeBSoq.js +1 -0
- package/app/_app/immutable/chunks/2jFBkS1C.js +1 -0
- package/app/_app/immutable/chunks/6P9zxrzU.js +1 -0
- package/app/_app/immutable/chunks/B32EWqI8.js +9 -0
- package/app/_app/immutable/chunks/B4Kevpe0.js +1 -0
- package/app/_app/immutable/chunks/BJfAXhak.js +3 -0
- package/app/_app/immutable/chunks/BKwRT_1p.js +1 -0
- package/app/_app/immutable/chunks/BQxY8kkL.js +1 -0
- package/app/_app/immutable/chunks/BS4h9ES-.js +1 -0
- package/app/_app/immutable/chunks/BWPhGFHl.js +1 -0
- package/app/_app/immutable/chunks/BYcBM-fh.js +1 -0
- package/app/_app/immutable/chunks/BegKiy2G.js +1 -0
- package/app/_app/immutable/chunks/Bjy-W4x2.js +81 -0
- package/app/_app/immutable/chunks/BnRri03M.js +1 -0
- package/app/_app/immutable/chunks/C7zBd-pD.js +1 -0
- package/app/_app/immutable/chunks/CA-A9Ngs.js +1 -0
- package/app/_app/immutable/chunks/CMhpRMKg.js +1 -0
- package/app/_app/immutable/chunks/CPRHZZeW.js +1 -0
- package/app/_app/immutable/chunks/CRQ1Pmzr.js +1 -0
- package/app/_app/immutable/chunks/CWtfVMDz.js +1 -0
- package/app/_app/immutable/chunks/CgAkqYsL.js +1 -0
- package/app/_app/immutable/chunks/Chyo8rdT.js +3 -0
- package/app/_app/immutable/chunks/Ci0DUht6.js +34 -0
- package/app/_app/immutable/chunks/CmmuWmp6.js +2 -0
- package/app/_app/immutable/chunks/CrFNLK0f.js +1 -0
- package/app/_app/immutable/chunks/CrO3W89x.js +1 -0
- package/app/_app/immutable/chunks/CsprTb3f.js +2 -0
- package/app/_app/immutable/chunks/CyUMm_Wp.js +1 -0
- package/app/_app/immutable/chunks/CygC84VT.js +2 -0
- package/app/_app/immutable/chunks/D0VgZnk1.js +1 -0
- package/app/_app/immutable/chunks/D71UrO5c.js +1 -0
- package/app/_app/immutable/chunks/D7hhQvDO.js +1 -0
- package/app/_app/immutable/chunks/DD7gpKb2.js +1 -0
- package/app/_app/immutable/chunks/DNRgqfTx.js +1 -0
- package/app/_app/immutable/chunks/DRByVC-c.js +1 -0
- package/app/_app/immutable/chunks/DVRKjN-E.js +1 -0
- package/app/_app/immutable/chunks/D_J_XtJy.js +846 -0
- package/app/_app/immutable/chunks/Dbjm4OuC.js +1 -0
- package/app/_app/immutable/chunks/Dc4q22LH.js +42 -0
- package/app/_app/immutable/chunks/Dd_uD5pT.js +1 -0
- package/app/_app/immutable/chunks/DkR8_Ws6.js +2 -0
- package/app/_app/immutable/chunks/Dp9GVO-9.js +1 -0
- package/app/_app/immutable/chunks/DqcD-WtP.js +1 -0
- package/app/_app/immutable/chunks/Dt-HX3Vu.js +1 -0
- package/app/_app/immutable/chunks/FbOxj-PF.js +69 -0
- package/app/_app/immutable/chunks/QukgIHDX.js +1 -0
- package/app/_app/immutable/chunks/WxSPP8QW.js +4 -0
- package/app/_app/immutable/chunks/Xp1g1t4n.js +3 -0
- package/app/_app/immutable/chunks/iET62IRm.js +2 -0
- package/app/_app/immutable/chunks/leQCwW2d.js +1 -0
- package/app/_app/immutable/chunks/p6bgzXiY.js +1 -0
- package/app/_app/immutable/chunks/uBIymjUX.js +1 -0
- package/app/_app/immutable/chunks/xihTtKlq.js +1 -0
- package/app/_app/immutable/entry/app.IZIJXhgq.js +2 -0
- package/app/_app/immutable/entry/start.BuaYHD1N.js +1 -0
- package/app/_app/immutable/nodes/0.m_U8WC7E.js +10 -0
- package/app/_app/immutable/nodes/1.Crw8ULhB.js +1 -0
- package/app/_app/immutable/nodes/10.1nQxyH9H.js +4 -0
- package/app/_app/immutable/nodes/11.Cw0JnQF3.js +1 -0
- package/app/_app/immutable/nodes/12.BIocA1aI.js +1 -0
- package/app/_app/immutable/nodes/2.CR5BwGnt.js +17 -0
- package/app/_app/immutable/nodes/3.1B56hgAG.js +1 -0
- package/app/_app/immutable/nodes/4.SSIC7sUh.js +1 -0
- package/app/_app/immutable/nodes/5.DgdwleDQ.js +1 -0
- package/app/_app/immutable/nodes/6.DmD9rqLU.js +1 -0
- package/app/_app/immutable/nodes/7.DdngsBmo.js +1 -0
- package/app/_app/immutable/nodes/8.D2Mszsua.js +3 -0
- package/app/_app/immutable/nodes/9.CLYsywul.js +1 -0
- package/app/_app/immutable/workers/assets/ort-wasm-simd-threaded.asyncify-CxOG5pUO.wasm +0 -0
- package/app/_app/immutable/workers/llm.worker-wfCOG_uk.js +69 -0
- package/app/_app/immutable/workers/local-speech.worker-DWbfmFUk.js +51 -0
- package/app/_app/version.json +1 -0
- package/app/ai/index.html +89 -0
- package/app/blueprint/index.html +87 -0
- package/app/cookbook/index.html +87 -0
- package/app/index.html +103 -0
- package/app/m/ads/AdDeliveryTier/index.html +96 -0
- package/app/m/ads/AdEvent/index.html +96 -0
- package/app/m/ads/AdFormat/index.html +96 -0
- package/app/m/ads/AdGroup/index.html +96 -0
- package/app/m/ads/AdVariation/index.html +96 -0
- package/app/m/analytics/AnalyticsDataStream/index.html +96 -0
- package/app/m/analytics/AnalyticsEvent/index.html +96 -0
- package/app/m/analytics/AnalyticsProperty/index.html +96 -0
- package/app/m/analytics/AnalyticsReport/index.html +96 -0
- package/app/m/approvals/ApprovalEvent/index.html +96 -0
- package/app/m/approvals/ApprovalPolicy/index.html +96 -0
- package/app/m/approvals/ApprovalRequest/index.html +96 -0
- package/app/m/assets/Asset/index.html +96 -0
- package/app/m/assets/AssetAssociation/index.html +97 -0
- package/app/m/assets/AssetMetafield/index.html +96 -0
- package/app/m/assets/AssetStatus/index.html +96 -0
- package/app/m/assets/AssetType/index.html +96 -0
- package/app/m/assets/Folder/index.html +96 -0
- package/app/m/chat/AgentSession/index.html +96 -0
- package/app/m/chat/ChatMessage/index.html +97 -0
- package/app/m/chat/ChatParticipant/index.html +97 -0
- package/app/m/chat/ChatReaction/index.html +96 -0
- package/app/m/chat/ChatRoom/index.html +96 -0
- package/app/m/chat/ChatThread/index.html +97 -0
- package/app/m/chat/VoiceGatewayTurn/index.html +96 -0
- package/app/m/chat/VoiceSession/index.html +96 -0
- package/app/m/commerce/Agreement/index.html +96 -0
- package/app/m/commerce/Cart/index.html +96 -0
- package/app/m/commerce/Contract/index.html +96 -0
- package/app/m/commerce/ContractLineItem/index.html +97 -0
- package/app/m/commerce/Customer/index.html +96 -0
- package/app/m/commerce/Estimate/index.html +96 -0
- package/app/m/commerce/Fulfillment/index.html +96 -0
- package/app/m/commerce/FulfillmentLineItem/index.html +97 -0
- package/app/m/commerce/Invoice/index.html +96 -0
- package/app/m/commerce/InvoiceLineItem/index.html +97 -0
- package/app/m/commerce/Lease/index.html +96 -0
- package/app/m/commerce/LicenseSale/index.html +96 -0
- package/app/m/commerce/Order/index.html +96 -0
- package/app/m/commerce/Payment/index.html +96 -0
- package/app/m/commerce/PaymentAllocation/index.html +97 -0
- package/app/m/commerce/PaymentInstrument/index.html +96 -0
- package/app/m/commerce/PaymentIntent/index.html +96 -0
- package/app/m/commerce/Payout/index.html +96 -0
- package/app/m/commerce/ProductionOrder/index.html +96 -0
- package/app/m/commerce/PurchaseOrder/index.html +96 -0
- package/app/m/commerce/Vendor/index.html +96 -0
- package/app/m/commerce/WholesaleOrder/index.html +96 -0
- package/app/m/content/Content/index.html +96 -0
- package/app/m/content/ContentContribution/index.html +96 -0
- package/app/m/content/ContentContributionAttachment/index.html +96 -0
- package/app/m/content/ContentContributionRevision/index.html +96 -0
- package/app/m/content/ContentContributionType/index.html +96 -0
- package/app/m/content/ContentContributor/index.html +96 -0
- package/app/m/content/ContentCorrection/index.html +96 -0
- package/app/m/content/ContentFeedSource/index.html +96 -0
- package/app/m/content/ContentGovernanceAssignment/index.html +96 -0
- package/app/m/content/ContentGovernancePolicy/index.html +96 -0
- package/app/m/content/ContentGovernanceProfile/index.html +96 -0
- package/app/m/content/ContentReference/index.html +96 -0
- package/app/m/content/ContentReview/index.html +96 -0
- package/app/m/content/ContentVersion/index.html +96 -0
- package/app/m/content/Contents/index.html +96 -0
- package/app/m/events/Event/index.html +96 -0
- package/app/m/events/EventParticipant/index.html +97 -0
- package/app/m/events/EventSeries/index.html +96 -0
- package/app/m/events/EventType/index.html +96 -0
- package/app/m/facts/Fact/index.html +96 -0
- package/app/m/facts/FactContent/index.html +96 -0
- package/app/m/facts/FactEvidence/index.html +96 -0
- package/app/m/facts/FactSource/index.html +96 -0
- package/app/m/facts/FactSubject/index.html +96 -0
- package/app/m/facts/FactTag/index.html +96 -0
- package/app/m/fields/FieldPolicy/index.html +96 -0
- package/app/m/fields/FieldPolicySuggestion/index.html +96 -0
- package/app/m/fields/FieldUsageCounter/index.html +96 -0
- package/app/m/images/Image/index.html +96 -0
- package/app/m/inventory/InventoryLocation/index.html +96 -0
- package/app/m/inventory/StockLevel/index.html +96 -0
- package/app/m/inventory/StockMovement/index.html +96 -0
- package/app/m/ledgers/Account/index.html +96 -0
- package/app/m/ledgers/Journal/index.html +96 -0
- package/app/m/ledgers/JournalEntry/index.html +97 -0
- package/app/m/manufacturing/Assembly/index.html +96 -0
- package/app/m/manufacturing/BillOfMaterials/index.html +96 -0
- package/app/m/manufacturing/BomLine/index.html +96 -0
- package/app/m/manufacturing/Operation/index.html +96 -0
- package/app/m/manufacturing/ProductionRun/index.html +96 -0
- package/app/m/manufacturing/ProductionRunCompletion/index.html +96 -0
- package/app/m/manufacturing/RoutingStep/index.html +96 -0
- package/app/m/marketing/Campaign/index.html +96 -0
- package/app/m/marketing/CampaignChannel/index.html +96 -0
- package/app/m/marketing/CampaignMetricSnapshot/index.html +96 -0
- package/app/m/messages/Account/index.html +96 -0
- package/app/m/messages/Attachment/index.html +96 -0
- package/app/m/messages/Blacklist/index.html +96 -0
- package/app/m/messages/Email/failed-sends/index.html +96 -0
- package/app/m/messages/Email/index.html +96 -0
- package/app/m/messages/Email/mailbox/index.html +96 -0
- package/app/m/messages/EmailAccount/index.html +96 -0
- package/app/m/messages/EmailFolder/index.html +96 -0
- package/app/m/messages/Message/index.html +96 -0
- package/app/m/messages/MessagingEndpoint/index.html +96 -0
- package/app/m/messages/PersonaMessageRoute/index.html +96 -0
- package/app/m/messages/SlackAccount/index.html +96 -0
- package/app/m/messages/SlackMessage/index.html +96 -0
- package/app/m/messages/TelegramAccount/index.html +96 -0
- package/app/m/messages/Tweet/index.html +96 -0
- package/app/m/messages/TwitterAccount/index.html +96 -0
- package/app/m/messages/Whitelist/index.html +96 -0
- package/app/m/messages/ZulipAccount/index.html +96 -0
- package/app/m/places/Place/index.html +96 -0
- package/app/m/places/PlaceType/index.html +96 -0
- package/app/m/preferences/UiPreferenceRecord/index.html +96 -0
- package/app/m/products/Category/index.html +96 -0
- package/app/m/products/Material/index.html +96 -0
- package/app/m/products/Product/index.html +96 -0
- package/app/m/products/Product/ingredients/index.html +96 -0
- package/app/m/products/ProductVariant/index.html +97 -0
- package/app/m/products/Sku/index.html +97 -0
- package/app/m/profiles/ApiKey/index.html +96 -0
- package/app/m/profiles/Bot/index.html +96 -0
- package/app/m/profiles/MagicLinkToken/index.html +96 -0
- package/app/m/profiles/NostrIdentity/index.html +96 -0
- package/app/m/profiles/OidcIdentity/index.html +96 -0
- package/app/m/profiles/Organization/index.html +96 -0
- package/app/m/profiles/Person/index.html +96 -0
- package/app/m/profiles/Profile/index.html +96 -0
- package/app/m/profiles/ProfileMetadata/index.html +96 -0
- package/app/m/profiles/ProfileMetafield/index.html +96 -0
- package/app/m/profiles/ProfileRelationship/index.html +96 -0
- package/app/m/profiles/ProfileRelationshipTerm/index.html +96 -0
- package/app/m/profiles/ProfileRelationshipType/index.html +96 -0
- package/app/m/profiles/ProfileType/index.html +96 -0
- package/app/m/projects/Comment/index.html +97 -0
- package/app/m/projects/Issue/index.html +96 -0
- package/app/m/projects/Label/index.html +96 -0
- package/app/m/projects/Project/index.html +96 -0
- package/app/m/projects/ProjectIntegration/index.html +96 -0
- package/app/m/projects/PullRequest/index.html +96 -0
- package/app/m/projects/Repository/index.html +96 -0
- package/app/m/properties/Property/index.html +96 -0
- package/app/m/properties/Zone/index.html +96 -0
- package/app/m/reports/RuntimeReport/index.html +96 -0
- package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +96 -0
- package/app/m/reports/SmrtReportLock/index.html +96 -0
- package/app/m/reports/SmrtReportRefreshTask/index.html +96 -0
- package/app/m/reports/SmrtReportRun/index.html +96 -0
- package/app/m/reports/SmrtReportSchedule/index.html +96 -0
- package/app/m/reports/SmrtReportWatermark/index.html +96 -0
- package/app/m/sales/AttributionException/index.html +96 -0
- package/app/m/sales/AttributionPolicy/index.html +96 -0
- package/app/m/sales/Commission/index.html +96 -0
- package/app/m/sales/CommissionAdjustment/index.html +96 -0
- package/app/m/sales/CommissionPayout/index.html +96 -0
- package/app/m/sales/CommissionPlan/index.html +96 -0
- package/app/m/sales/Earner/index.html +96 -0
- package/app/m/sales/EarnerSourceAttribution/index.html +96 -0
- package/app/m/sales/EarningEvent/index.html +96 -0
- package/app/m/sales/ExecutedAgreement/index.html +96 -0
- package/app/m/sales/Lead/index.html +96 -0
- package/app/m/sales/Opportunity/index.html +96 -0
- package/app/m/sales/OpportunityConversion/index.html +96 -0
- package/app/m/sales/PipelineDefinition/index.html +96 -0
- package/app/m/sales/PipelineStage/index.html +97 -0
- package/app/m/sales/Referral/index.html +96 -0
- package/app/m/sales/ReferralAgreement/index.html +96 -0
- package/app/m/sales/ReferralLink/index.html +96 -0
- package/app/m/sales/ReferralProgram/index.html +96 -0
- package/app/m/sales/ReferralTermSnapshot/index.html +96 -0
- package/app/m/sales/ReferralTouch/index.html +96 -0
- package/app/m/sales/Referrer/index.html +96 -0
- package/app/m/sales/SalesActivity/index.html +96 -0
- package/app/m/sales/SalesRepresentative/index.html +96 -0
- package/app/m/sites/Site/index.html +96 -0
- package/app/m/sites/SiteAgentBinding/index.html +96 -0
- package/app/m/social/OAuthState/index.html +96 -0
- package/app/m/social/SocialAccount/index.html +96 -0
- package/app/m/social/SocialPost/index.html +96 -0
- package/app/m/social/SocialPostAnalyticsSnapshot/index.html +96 -0
- package/app/m/subscriptions/BillingAdjustment/index.html +96 -0
- package/app/m/subscriptions/ClientCharge/index.html +96 -0
- package/app/m/subscriptions/CreditGrant/index.html +96 -0
- package/app/m/subscriptions/PricingRule/index.html +96 -0
- package/app/m/subscriptions/RetailCharge/index.html +96 -0
- package/app/m/subscriptions/SpendingPolicy/index.html +96 -0
- package/app/m/subscriptions/SubscriptionPlan/index.html +96 -0
- package/app/m/subscriptions/TenantSubscription/index.html +96 -0
- package/app/m/subscriptions/TenantUsageMetric/index.html +96 -0
- package/app/m/support/ServiceTimeEntry/index.html +96 -0
- package/app/m/support/SupportAiRun/index.html +96 -0
- package/app/m/support/SupportAvailability/index.html +96 -0
- package/app/m/support/SupportCase/index.html +96 -0
- package/app/m/support/SupportCaseEvent/index.html +96 -0
- package/app/m/support/SupportChannelBinding/index.html +96 -0
- package/app/m/support/SupportCharge/index.html +96 -0
- package/app/m/support/SupportCompensation/index.html +96 -0
- package/app/m/support/SupportCompensationPlan/index.html +96 -0
- package/app/m/support/SupportEscalation/index.html +96 -0
- package/app/m/support/SupportInteraction/index.html +96 -0
- package/app/m/support/SupportPlan/index.html +96 -0
- package/app/m/support/SupportPolicy/index.html +96 -0
- package/app/m/support/SupportQualification/index.html +96 -0
- package/app/m/support/SupportServiceTarget/index.html +96 -0
- package/app/m/support/SupportSpecialist/index.html +96 -0
- package/app/m/support/SupportWorkLink/index.html +96 -0
- package/app/m/tags/Tag/index.html +96 -0
- package/app/m/tags/TagAlias/index.html +96 -0
- package/app/m/timesheets/AttendanceBreak/index.html +96 -0
- package/app/m/timesheets/AttendancePunch/index.html +96 -0
- package/app/m/timesheets/ServiceChargeSnapshot/index.html +96 -0
- package/app/m/timesheets/ServiceCompensationSnapshot/index.html +96 -0
- package/app/m/timesheets/ServiceTimeEntry/index.html +96 -0
- package/app/m/users/AccessRequest/index.html +96 -0
- package/app/m/users/Group/index.html +96 -0
- package/app/m/users/GroupMember/index.html +96 -0
- package/app/m/users/GroupRole/index.html +96 -0
- package/app/m/users/Membership/index.html +97 -0
- package/app/m/users/MembershipOverride/index.html +96 -0
- package/app/m/users/Permission/index.html +96 -0
- package/app/m/users/ResourceGrant/index.html +96 -0
- package/app/m/users/Role/index.html +96 -0
- package/app/m/users/RolePermission/index.html +96 -0
- package/app/m/users/Session/index.html +96 -0
- package/app/m/users/Tenant/index.html +96 -0
- package/app/m/users/TenantIntegration/index.html +96 -0
- package/app/m/users/TenantPermissionOverride/index.html +96 -0
- package/app/m/users/User/index.html +96 -0
- package/app/m/users/UsersCliAuthRequest/index.html +96 -0
- package/app/m/users/UsersMagicLinkToken/index.html +96 -0
- package/app/m/video/Character/index.html +96 -0
- package/app/m/video/CharacterAsset/index.html +96 -0
- package/app/m/video/CompositeJob/index.html +96 -0
- package/app/m/video/Performer/index.html +96 -0
- package/app/m/video/PerformerAsset/index.html +96 -0
- package/app/m/video/Scene/index.html +96 -0
- package/app/m/video/SceneAsset/index.html +96 -0
- package/app/m/video/VideoComposition/index.html +96 -0
- package/app/m/video/VideoCompositionAsset/index.html +96 -0
- package/app/m/video/VideoSequence/index.html +96 -0
- package/app/m/video/VideoSequenceAsset/index.html +96 -0
- package/app/m/video/VideoShot/index.html +96 -0
- package/app/m/video/VideoShotAsset/index.html +96 -0
- package/app/m/video/VideoShotCharacter/index.html +96 -0
- package/app/m/video/VideoWorkflow/index.html +96 -0
- package/app/m/voice/VoiceOutput/index.html +96 -0
- package/app/m/voice/VoiceProfile/index.html +96 -0
- package/app/m/voice/VoiceSample/index.html +96 -0
- package/app/packages/ads/index.html +92 -0
- package/app/packages/analytics/index.html +92 -0
- package/app/packages/approvals/index.html +92 -0
- package/app/packages/assets/index.html +92 -0
- package/app/packages/chat/index.html +92 -0
- package/app/packages/comments/index.html +92 -0
- package/app/packages/commerce/index.html +92 -0
- package/app/packages/content/index.html +92 -0
- package/app/packages/events/index.html +92 -0
- package/app/packages/expenses/index.html +92 -0
- package/app/packages/facts/index.html +92 -0
- package/app/packages/fields/index.html +92 -0
- package/app/packages/human-resources/index.html +92 -0
- package/app/packages/images/index.html +92 -0
- package/app/packages/index.html +90 -0
- package/app/packages/inventory/index.html +92 -0
- package/app/packages/ledgers/index.html +92 -0
- package/app/packages/manufacturing/index.html +92 -0
- package/app/packages/marketing/index.html +92 -0
- package/app/packages/messages/index.html +92 -0
- package/app/packages/places/index.html +92 -0
- package/app/packages/preferences/index.html +92 -0
- package/app/packages/products/index.html +92 -0
- package/app/packages/profiles/index.html +92 -0
- package/app/packages/projects/index.html +92 -0
- package/app/packages/properties/index.html +92 -0
- package/app/packages/reports/index.html +92 -0
- package/app/packages/sales/index.html +92 -0
- package/app/packages/sites/index.html +92 -0
- package/app/packages/social/index.html +92 -0
- package/app/packages/subscriptions/index.html +92 -0
- package/app/packages/support/index.html +92 -0
- package/app/packages/tags/index.html +92 -0
- package/app/packages/timesheets/index.html +92 -0
- package/app/packages/users/index.html +92 -0
- package/app/packages/video/index.html +92 -0
- package/app/packages/voice/index.html +92 -0
- package/app/recipes/account-access/help/index.html +93 -0
- package/app/recipes/account-access/index.html +95 -0
- package/app/recipes/activity/help/index.html +93 -0
- package/app/recipes/activity/index.html +94 -0
- package/app/recipes/agreements/help/index.html +93 -0
- package/app/recipes/agreements/index.html +96 -0
- package/app/recipes/analytics.reports/help/index.html +93 -0
- package/app/recipes/analytics.reports/index.html +94 -0
- package/app/recipes/assets/help/index.html +93 -0
- package/app/recipes/assets/index.html +95 -0
- package/app/recipes/billing/help/index.html +93 -0
- package/app/recipes/billing/index.html +95 -0
- package/app/recipes/chat.assistant/help/index.html +93 -0
- package/app/recipes/chat.assistant/index.html +94 -0
- package/app/recipes/comments/help/index.html +93 -0
- package/app/recipes/comments/index.html +94 -0
- package/app/recipes/commerce.customers/help/index.html +93 -0
- package/app/recipes/commerce.customers/index.html +94 -0
- package/app/recipes/commerce.estimates/help/index.html +93 -0
- package/app/recipes/commerce.estimates/index.html +94 -0
- package/app/recipes/commerce.purchases/help/index.html +93 -0
- package/app/recipes/commerce.purchases/index.html +94 -0
- package/app/recipes/commerce.sales/help/index.html +93 -0
- package/app/recipes/commerce.sales/index.html +94 -0
- package/app/recipes/commerce.vendors/help/index.html +93 -0
- package/app/recipes/commerce.vendors/index.html +94 -0
- package/app/recipes/commerce.wholesale/help/index.html +93 -0
- package/app/recipes/commerce.wholesale/index.html +94 -0
- package/app/recipes/events.calendar/help/index.html +93 -0
- package/app/recipes/events.calendar/index.html +94 -0
- package/app/recipes/fields.form-customization/help/index.html +93 -0
- package/app/recipes/fields.form-customization/index.html +94 -0
- package/app/recipes/inventory.stock/help/index.html +93 -0
- package/app/recipes/inventory.stock/index.html +94 -0
- package/app/recipes/ledgers.bookkeeping/help/index.html +93 -0
- package/app/recipes/ledgers.bookkeeping/index.html +94 -0
- package/app/recipes/messages/help/index.html +93 -0
- package/app/recipes/messages/index.html +95 -0
- package/app/recipes/products/help/index.html +93 -0
- package/app/recipes/products/index.html +96 -0
- package/app/recipes/projects.tracker/help/index.html +93 -0
- package/app/recipes/projects.tracker/index.html +94 -0
- package/app/recipes/reports.materialized/help/index.html +93 -0
- package/app/recipes/reports.materialized/index.html +94 -0
- package/app/recipes/sales.pipeline/help/index.html +93 -0
- package/app/recipes/sales.pipeline/index.html +94 -0
- package/app/recipes/tags.taxonomy/help/index.html +93 -0
- package/app/recipes/tags.taxonomy/index.html +94 -0
- package/app/recipes/team-collaboration/help/index.html +93 -0
- package/app/recipes/team-collaboration/index.html +94 -0
- package/app/s/custom-billing/index.html +89 -0
- package/app/s/custom-buying/index.html +89 -0
- package/app/s/custom-classes/index.html +89 -0
- package/app/s/custom-jobs/index.html +89 -0
- package/app/s/custom-kitchen/index.html +89 -0
- package/app/s/custom-material/index.html +89 -0
- package/app/s/custom-members/index.html +89 -0
- package/app/s/custom-parts/index.html +89 -0
- package/app/s/custom-schedule/index.html +89 -0
- package/app/s/custom-shop/index.html +89 -0
- package/app/s/custom-wholesale/index.html +89 -0
- package/app/s/section-access-control/index.html +89 -0
- package/app/s/section-account-security/index.html +89 -0
- package/app/s/section-accounting/index.html +89 -0
- package/app/s/section-activity/index.html +89 -0
- package/app/s/section-agreements/index.html +89 -0
- package/app/s/section-analytics/index.html +89 -0
- package/app/s/section-assets/index.html +89 -0
- package/app/s/section-billing/index.html +89 -0
- package/app/s/section-calendar/index.html +89 -0
- package/app/s/section-catalog/index.html +89 -0
- package/app/s/section-chat.assistant/index.html +89 -0
- package/app/s/section-comments/index.html +89 -0
- package/app/s/section-fields.form-customization/index.html +89 -0
- package/app/s/section-messages/index.html +89 -0
- package/app/s/section-more/index.html +89 -0
- package/app/s/section-operations/index.html +89 -0
- package/app/s/section-projects/index.html +89 -0
- package/app/s/section-purchasing/index.html +89 -0
- package/app/s/section-reports.materialized/index.html +89 -0
- package/app/s/section-sales/index.html +89 -0
- package/app/s/section-taxonomy/index.html +89 -0
- package/app/s/section-team/index.html +89 -0
- package/dist/ai/echo-gate.d.ts +13 -0
- package/dist/ai/echo-gate.js +21 -0
- package/dist/ai/icons.d.ts +9 -0
- package/dist/ai/icons.js +9 -0
- package/dist/ai/instance.d.ts +3 -0
- package/dist/ai/instance.js +25 -0
- package/dist/ai/state.svelte.d.ts +130 -0
- package/dist/ai/state.svelte.js +316 -0
- package/dist/ai/status.d.ts +67 -0
- package/dist/ai/status.js +125 -0
- package/dist/assets/smrt-mark.svg +38 -0
- package/dist/assistant/change.d.ts +101 -0
- package/dist/assistant/change.js +209 -0
- package/dist/assistant/engine.d.ts +20 -0
- package/dist/assistant/engine.js +43 -0
- package/dist/assistant/llm.worker.d.ts +1 -0
- package/dist/assistant/llm.worker.js +7 -0
- package/dist/assistant/match.d.ts +59 -0
- package/dist/assistant/match.js +271 -0
- package/dist/assistant/models.d.ts +38 -0
- package/dist/assistant/models.js +57 -0
- package/dist/assistant/offers.svelte.d.ts +36 -0
- package/dist/assistant/offers.svelte.js +59 -0
- package/dist/assistant/prefs.d.ts +14 -0
- package/dist/assistant/prefs.js +32 -0
- package/dist/assistant/prompt.d.ts +23 -0
- package/dist/assistant/prompt.js +163 -0
- package/dist/assistant/session.svelte.d.ts +74 -0
- package/dist/assistant/session.svelte.js +181 -0
- package/dist/assistant/theme-undo.svelte.d.ts +38 -0
- package/dist/assistant/theme-undo.svelte.js +50 -0
- package/dist/assistant/transport.d.ts +73 -0
- package/dist/assistant/transport.js +231 -0
- package/dist/assistant/voice-host.d.ts +10 -0
- package/dist/assistant/voice-host.js +17 -0
- package/dist/assistant/voice.svelte.d.ts +107 -0
- package/dist/assistant/voice.svelte.js +261 -0
- package/dist/catalog/catalog.json +89663 -0
- package/dist/catalog/generate/build.d.ts +33 -0
- package/dist/catalog/generate/build.js +131 -0
- package/dist/catalog/generate/exclusions.d.ts +18 -0
- package/dist/catalog/generate/exclusions.js +33 -0
- package/dist/catalog/generate/extract.d.ts +90 -0
- package/dist/catalog/generate/extract.js +326 -0
- package/dist/catalog/generate/local.d.ts +8 -0
- package/dist/catalog/generate/local.js +45 -0
- package/dist/catalog/generate/recipe-demo.d.ts +11 -0
- package/dist/catalog/generate/recipe-demo.js +29 -0
- package/dist/catalog/generate/recipe-metadata.d.ts +12 -0
- package/dist/catalog/generate/recipe-metadata.js +138 -0
- package/dist/catalog/generate/registry.d.ts +14 -0
- package/dist/catalog/generate/registry.js +83 -0
- package/dist/catalog/index.d.ts +21 -0
- package/dist/catalog/index.js +53 -0
- package/dist/catalog/types.d.ts +141 -0
- package/dist/catalog/types.js +8 -0
- package/dist/components/AiSetup.svelte +528 -0
- package/dist/components/AiSetup.svelte.d.ts +8 -0
- package/dist/components/AiStatusIcons.svelte +86 -0
- package/dist/components/AiStatusIcons.svelte.d.ts +18 -0
- package/dist/components/AppSettings.svelte +100 -0
- package/dist/components/AppSettings.svelte.d.ts +10 -0
- package/dist/components/BrowserAssistant.svelte +318 -0
- package/dist/components/BrowserAssistant.svelte.d.ts +8 -0
- package/dist/components/ChildRecords.svelte +331 -0
- package/dist/components/ChildRecords.svelte.d.ts +15 -0
- package/dist/components/ConnectTools.svelte +145 -0
- package/dist/components/ConnectTools.svelte.d.ts +8 -0
- package/dist/components/CookbooksPanel.svelte +308 -0
- package/dist/components/CookbooksPanel.svelte.d.ts +3 -0
- package/dist/components/ExportPanel.svelte +217 -0
- package/dist/components/ExportPanel.svelte.d.ts +3 -0
- package/dist/components/FeatureCard.svelte +197 -0
- package/dist/components/FeatureCard.svelte.d.ts +13 -0
- package/dist/components/FeaturesPanel.svelte +155 -0
- package/dist/components/FeaturesPanel.svelte.d.ts +3 -0
- package/dist/components/FieldInput.svelte +307 -0
- package/dist/components/FieldInput.svelte.d.ts +24 -0
- package/dist/components/FieldMapForm.svelte +173 -0
- package/dist/components/FieldMapForm.svelte.d.ts +18 -0
- package/dist/components/FormWorkspace.svelte +274 -0
- package/dist/components/FormWorkspace.svelte.d.ts +19 -0
- package/dist/components/HelpView.svelte +129 -0
- package/dist/components/HelpView.svelte.d.ts +12 -0
- package/dist/components/ModelOptions.svelte +239 -0
- package/dist/components/ModelOptions.svelte.d.ts +12 -0
- package/dist/components/ModelPage.svelte +295 -0
- package/dist/components/ModelPage.svelte.d.ts +9 -0
- package/dist/components/ModelWorkspace.svelte +488 -0
- package/dist/components/ModelWorkspace.svelte.d.ts +32 -0
- package/dist/components/PlannerEditBridge.svelte +36 -0
- package/dist/components/PlannerEditBridge.svelte.d.ts +3 -0
- package/dist/components/PlannerPalette.svelte +38 -0
- package/dist/components/PlannerPalette.svelte.d.ts +18 -0
- package/dist/components/RecipeCards.svelte +145 -0
- package/dist/components/RecipeCards.svelte.d.ts +3 -0
- package/dist/components/RecipeHelp.svelte +54 -0
- package/dist/components/RecipeHelp.svelte.d.ts +9 -0
- package/dist/components/RecipeOptions.svelte +160 -0
- package/dist/components/RecipeOptions.svelte.d.ts +9 -0
- package/dist/components/RecordFeatures.svelte +240 -0
- package/dist/components/RecordFeatures.svelte.d.ts +3 -0
- package/dist/components/RelationField.svelte +175 -0
- package/dist/components/RelationField.svelte.d.ts +16 -0
- package/dist/components/SectionActions.svelte +91 -0
- package/dist/components/SectionActions.svelte.d.ts +12 -0
- package/dist/components/SectionIcons.svelte +98 -0
- package/dist/components/SectionIcons.svelte.d.ts +15 -0
- package/dist/components/SectionOverview.svelte +65 -0
- package/dist/components/SectionOverview.svelte.d.ts +14 -0
- package/dist/components/SectionPage.svelte +230 -0
- package/dist/components/SectionPage.svelte.d.ts +7 -0
- package/dist/components/SettingsPanel.svelte +60 -0
- package/dist/components/SettingsPanel.svelte.d.ts +7 -0
- package/dist/components/ThemeBridge.svelte +56 -0
- package/dist/components/ThemeBridge.svelte.d.ts +3 -0
- package/dist/components/ThemeSection.svelte +167 -0
- package/dist/components/ThemeSection.svelte.d.ts +11 -0
- package/dist/components/VariantGridForm.svelte +309 -0
- package/dist/components/VariantGridForm.svelte.d.ts +12 -0
- package/dist/components/VoiceTyping.svelte +108 -0
- package/dist/components/VoiceTyping.svelte.d.ts +7 -0
- package/dist/cookbook/assemble.d.ts +16 -0
- package/dist/cookbook/assemble.js +29 -0
- package/dist/cookbook/file.d.ts +7 -0
- package/dist/cookbook/file.js +25 -0
- package/dist/cookbook/legacy.d.ts +9 -0
- package/dist/cookbook/legacy.js +87 -0
- package/dist/cookbook/migrate.d.ts +22 -0
- package/dist/cookbook/migrate.js +106 -0
- package/dist/cookbook/parse.d.ts +16 -0
- package/dist/cookbook/parse.js +246 -0
- package/dist/cookbook/storage.d.ts +45 -0
- package/dist/cookbook/storage.js +98 -0
- package/dist/cookbook/store.svelte.d.ts +94 -0
- package/dist/cookbook/store.svelte.js +231 -0
- package/dist/cookbook/types.d.ts +76 -0
- package/dist/cookbook/types.js +11 -0
- package/dist/cookbook/validate.d.ts +14 -0
- package/dist/cookbook/validate.js +29 -0
- package/dist/core/app.d.ts +37 -0
- package/dist/core/app.js +119 -0
- package/dist/core/catalog.d.ts +19 -0
- package/dist/core/catalog.js +9 -0
- package/dist/core/headless.d.ts +52 -0
- package/dist/core/headless.js +39 -0
- package/dist/core/index.d.ts +28 -0
- package/dist/core/index.js +28 -0
- package/dist/core/prompt.d.ts +38 -0
- package/dist/core/prompt.js +95 -0
- package/dist/core/reply.d.ts +60 -0
- package/dist/core/reply.js +89 -0
- package/dist/core/request.d.ts +15 -0
- package/dist/core/request.js +55 -0
- package/dist/data/children.d.ts +20 -0
- package/dist/data/children.js +80 -0
- package/dist/data/columns.d.ts +56 -0
- package/dist/data/columns.js +150 -0
- package/dist/data/context.d.ts +8 -0
- package/dist/data/context.js +19 -0
- package/dist/data/derived.d.ts +79 -0
- package/dist/data/derived.js +139 -0
- package/dist/data/display.d.ts +23 -0
- package/dist/data/display.js +84 -0
- package/dist/data/fakes.d.ts +52 -0
- package/dist/data/fakes.js +443 -0
- package/dist/data/format.d.ts +48 -0
- package/dist/data/format.js +121 -0
- package/dist/data/labels.d.ts +45 -0
- package/dist/data/labels.js +179 -0
- package/dist/data/packs.d.ts +95 -0
- package/dist/data/packs.js +830 -0
- package/dist/data/payments.d.ts +17 -0
- package/dist/data/payments.js +60 -0
- package/dist/data/planner-source.d.ts +7 -0
- package/dist/data/planner-source.js +32 -0
- package/dist/data/source.d.ts +119 -0
- package/dist/data/source.js +432 -0
- package/dist/features/catalogue.d.ts +96 -0
- package/dist/features/catalogue.js +225 -0
- package/dist/features/demo.d.ts +36 -0
- package/dist/features/demo.js +66 -0
- package/dist/features/palette.d.ts +39 -0
- package/dist/features/palette.js +53 -0
- package/dist/fields/address.d.ts +23 -0
- package/dist/fields/address.js +39 -0
- package/dist/fields/invalid.d.ts +2 -0
- package/dist/fields/invalid.js +8 -0
- package/dist/fields/modal.d.ts +7 -0
- package/dist/fields/modal.js +14 -0
- package/dist/fields/percent.d.ts +8 -0
- package/dist/fields/percent.js +16 -0
- package/dist/fields/renderer.d.ts +17 -0
- package/dist/fields/renderer.js +43 -0
- package/dist/forms/active.d.ts +16 -0
- package/dist/forms/active.js +24 -0
- package/dist/forms/fieldMap.d.ts +44 -0
- package/dist/forms/fieldMap.js +134 -0
- package/dist/forms/shared.d.ts +41 -0
- package/dist/forms/shared.js +138 -0
- package/dist/forms/stock.d.ts +28 -0
- package/dist/forms/stock.js +104 -0
- package/dist/forms/variantGrid.d.ts +83 -0
- package/dist/forms/variantGrid.js +283 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +16 -0
- package/dist/inference/byo.svelte.d.ts +90 -0
- package/dist/inference/byo.svelte.js +295 -0
- package/dist/inference/config.d.ts +77 -0
- package/dist/inference/config.js +205 -0
- package/dist/inference/host.d.ts +40 -0
- package/dist/inference/host.js +57 -0
- package/dist/inference/openai.d.ts +59 -0
- package/dist/inference/openai.js +207 -0
- package/dist/inference/presets.d.ts +5 -0
- package/dist/inference/presets.js +46 -0
- package/dist/kitchen/client.d.ts +39 -0
- package/dist/kitchen/client.js +115 -0
- package/dist/kitchen/fragment.d.ts +30 -0
- package/dist/kitchen/fragment.js +49 -0
- package/dist/kitchen/state.svelte.d.ts +26 -0
- package/dist/kitchen/state.svelte.js +45 -0
- package/dist/library/apply.d.ts +17 -0
- package/dist/library/apply.js +32 -0
- package/dist/library/document.d.ts +12 -0
- package/dist/library/document.js +27 -0
- package/dist/library/icons.d.ts +6 -0
- package/dist/library/icons.js +26 -0
- package/dist/library/index.d.ts +8 -0
- package/dist/library/index.js +12 -0
- package/dist/library/library.json +788 -0
- package/dist/library/menu.d.ts +18 -0
- package/dist/library/menu.js +72 -0
- package/dist/library/state.svelte.d.ts +10 -0
- package/dist/library/state.svelte.js +28 -0
- package/dist/library/types.d.ts +57 -0
- package/dist/library/types.js +1 -0
- package/dist/overviews/definitions.d.ts +24 -0
- package/dist/overviews/definitions.js +97 -0
- package/dist/overviews/page.d.ts +21 -0
- package/dist/overviews/page.js +36 -0
- package/dist/overviews/registry.d.ts +44 -0
- package/dist/overviews/registry.js +191 -0
- package/dist/overviews/validate.d.ts +32 -0
- package/dist/overviews/validate.js +91 -0
- package/dist/planner/Planner.svelte +204 -0
- package/dist/planner/Planner.svelte.d.ts +4 -0
- package/dist/planner/app.svelte.d.ts +6 -0
- package/dist/planner/app.svelte.js +23 -0
- package/dist/planner/assistant.d.ts +46 -0
- package/dist/planner/assistant.js +122 -0
- package/dist/planner/commands/adapter.d.ts +121 -0
- package/dist/planner/commands/adapter.js +597 -0
- package/dist/planner/commands/catalog.d.ts +19 -0
- package/dist/planner/commands/catalog.js +54 -0
- package/dist/planner/commands/controller.svelte.d.ts +13 -0
- package/dist/planner/commands/controller.svelte.js +77 -0
- package/dist/planner/commands/index.d.ts +15 -0
- package/dist/planner/commands/index.js +15 -0
- package/dist/planner/commands/schemas.d.ts +25 -0
- package/dist/planner/commands/schemas.js +67 -0
- package/dist/planner/commands/slices.d.ts +18 -0
- package/dist/planner/commands/slices.js +49 -0
- package/dist/planner/commands/types.d.ts +80 -0
- package/dist/planner/commands/types.js +18 -0
- package/dist/planner/create.d.ts +4 -0
- package/dist/planner/create.js +22 -0
- package/dist/planner/instance.d.ts +15 -0
- package/dist/planner/instance.js +22 -0
- package/dist/planner/query.d.ts +16 -0
- package/dist/planner/query.js +28 -0
- package/dist/planner/selection.d.ts +15 -0
- package/dist/planner/selection.js +38 -0
- package/dist/planner/selection.svelte.d.ts +29 -0
- package/dist/planner/selection.svelte.js +54 -0
- package/dist/planner/tab.svelte.d.ts +11 -0
- package/dist/planner/tab.svelte.js +22 -0
- package/dist/planner/types.d.ts +41 -0
- package/dist/planner/types.js +1 -0
- package/dist/recipes/cards.d.ts +55 -0
- package/dist/recipes/cards.js +80 -0
- package/dist/recipes/features.d.ts +53 -0
- package/dist/recipes/features.js +97 -0
- package/dist/recipes/help/descriptions.json +373 -0
- package/dist/recipes/help.d.ts +121 -0
- package/dist/recipes/help.js +262 -0
- package/dist/recipes/index.d.ts +65 -0
- package/dist/recipes/index.js +95 -0
- package/dist/recipes/merge.d.ts +26 -0
- package/dist/recipes/merge.js +21 -0
- package/dist/recipes/overlay.json +409 -0
- package/dist/recipes/plan-data.d.ts +41 -0
- package/dist/recipes/plan-data.js +97 -0
- package/dist/recipes/plumbing.d.ts +70 -0
- package/dist/recipes/plumbing.js +185 -0
- package/dist/recipes/policy.d.ts +118 -0
- package/dist/recipes/policy.js +268 -0
- package/dist/recipes/resolve.d.ts +19 -0
- package/dist/recipes/resolve.js +65 -0
- package/dist/recipes/scope.d.ts +25 -0
- package/dist/recipes/scope.js +31 -0
- package/dist/recipes/sections.d.ts +49 -0
- package/dist/recipes/sections.js +84 -0
- package/dist/recipes/state.svelte.d.ts +67 -0
- package/dist/recipes/state.svelte.js +112 -0
- package/dist/recipes/types.d.ts +322 -0
- package/dist/recipes/types.js +8 -0
- package/dist/sections/entries.d.ts +30 -0
- package/dist/sections/entries.js +57 -0
- package/dist/sections/info.d.ts +16 -0
- package/dist/sections/info.js +39 -0
- package/dist/sections/path.d.ts +12 -0
- package/dist/sections/path.js +18 -0
- package/dist/settings/app-settings.d.ts +44 -0
- package/dist/settings/app-settings.js +138 -0
- package/dist/settings/currencies.d.ts +2 -0
- package/dist/settings/currencies.js +8 -0
- package/dist/theme/runtime.d.ts +14 -0
- package/dist/theme/runtime.js +27 -0
- package/dist/theme/theme.d.ts +47 -0
- package/dist/theme/theme.js +122 -0
- package/dist/upstream/CustomerSelect.svelte +60 -0
- package/dist/upstream/CustomerSelect.svelte.d.ts +17 -0
- package/dist/upstream/VendorSelect.svelte +60 -0
- package/dist/upstream/VendorSelect.svelte.d.ts +17 -0
- package/dist/upstream/overlay.d.ts +10 -0
- package/dist/upstream/overlay.js +49 -0
- package/dist/upstream/partySelect.d.ts +8 -0
- package/dist/upstream/partySelect.js +21 -0
- package/dist/upstream/partyTypes.d.ts +64 -0
- package/dist/upstream/partyTypes.js +8 -0
- package/dist/upstream/relations.d.ts +2 -0
- package/dist/upstream/relations.js +24 -0
- package/dist/upstream/selects.d.ts +26 -0
- package/dist/upstream/selects.js +20 -0
- package/dist/upstream/widgets.d.ts +20 -0
- package/dist/upstream/widgets.js +30 -0
- package/package.json +81 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e,C as t,Dt as n,E as r,Et as i,F as a,Ft as o,G as s,H as c,I as l,J as u,K as d,Mt as f,N as p,Nt as m,R as h,S as g,T as _,Tt as v,U as y,V as b,W as x,Z as S,a as C,at as w,d as T,dt as E,et as D,ft as O,gt as k,k as ee,mt as A,ot as j,pt as M,q as N,r as P,ut as F,v as I,vt as L,wt as R,xt as z}from"./Chyo8rdT.js";import"./xihTtKlq.js";import{i as te}from"./D0VgZnk1.js";import"./BWPhGFHl.js";import"./CWtfVMDz.js";import"./DVRKjN-E.js";import{K as B,Y as V,f as H,l as U,q as ne}from"./D_J_XtJy.js";var W=Symbol(`smrt-theme-context`);function re(e){n(W,e)}function G(){let e=R(W);if(!e)throw Error(`Theme context not found. Make sure to wrap your app with <ThemeProvider> from @happyvertical/smrt-ui/themes`);return e}var K=y(`<span class="smrt-color-scheme-toggle__icon svelte-1urnosz"> </span>`),ie=y(`<span class="smrt-color-scheme-toggle__label svelte-1urnosz"> </span>`),ae=y(`<button class="smrt-color-scheme-toggle__switch svelte-1urnosz" type="button"><!> <!></button>`),oe=y(`<button type="button"><span class="smrt-color-scheme-toggle__icon svelte-1urnosz"> </span> <!></button>`),se=y(`<div class="smrt-color-scheme-toggle__buttons svelte-1urnosz"></div>`),ce=y(`<button type="button" role="radio"><span class="smrt-color-scheme-toggle__icon svelte-1urnosz"> </span> <!></button>`),le=y(`<div class="smrt-color-scheme-toggle__segmented svelte-1urnosz" role="radiogroup"></div>`),ue=y(`<div><!></div>`);function de(t,n){i(n,!0);let o=C(n,`showLabels`,3,!0),s=C(n,`variant`,3,`switch`),c=C(n,`class`,3,``),d=C(n,`ariaLabel`,3,`Toggle color scheme`),f=G();function p(e){f.setColorScheme(e)}function g(){f.toggleColorScheme()}let _={light:`☀️`,dark:`🌙`,system:`💻`},y={light:`Light`,dark:`Dark`,system:`System`};var x=ue(),S=F(x),T=t=>{var n=ae(),r=F(n),i=t=>{var n=K(),r=O(n,!0);w(()=>e(r,_.dark)),b(t,n)},a=t=>{var n=K(),r=O(n,!0);w(()=>e(r,_.light)),b(t,n)};h(r,e=>{f.state.isDark?e(i):e(a,-1)});var s=M(r,2),c=t=>{var n=ie(),r=O(n,!0);w(()=>e(r,y[f.state.resolvedScheme])),b(t,n)};h(s,e=>{o()&&e(c)}),m(n),w(()=>{I(n,`aria-label`,d()),I(n,`title`,y[f.state.resolvedScheme])}),u(`click`,n,g),b(t,n)},E=t=>{var n=se();a(n,20,()=>[`light`,`dark`,`system`],l,(t,n)=>{var i=oe();let a;var s=F(i),c=O(s,!0),l=M(s,2),d=t=>{var r=ie(),i=O(r,!0);w(()=>e(i,y[n])),b(t,r)};h(l,e=>{o()&&e(d)}),m(i),w(()=>{a=r(i,1,`smrt-color-scheme-toggle__button svelte-1urnosz`,null,a,{active:f.state.colorScheme===n}),e(c,_[n])}),u(`click`,i,()=>p(n)),b(t,i)}),m(n),b(t,n)},D=t=>{var n=le();a(n,20,()=>[`light`,`dark`,`system`],l,(t,n)=>{var i=ce();let a;var s=F(i),c=O(s,!0),l=M(s,2),d=t=>{var r=ie(),i=O(r,!0);w(()=>e(i,y[n])),b(t,r)};h(l,e=>{o()&&e(d)}),m(i),w(()=>{a=r(i,1,`smrt-color-scheme-toggle__segment svelte-1urnosz`,null,a,{active:f.state.colorScheme===n}),I(i,`aria-checked`,f.state.colorScheme===n),e(c,_[n])}),u(`click`,i,()=>p(n)),b(t,i)}),m(n),w(()=>I(n,`aria-label`,d())),b(t,n)};h(S,e=>{s()===`switch`?e(T):s()===`buttons`?e(E,1):s()===`segmented`&&e(D,2)}),m(x),w(()=>r(x,1,`smrt-color-scheme-toggle ${s()??``} ${c()??``}`,`svelte-1urnosz`)),b(t,x),v()}N([`click`]);var q={0:`0`,.5:`0.125rem`,1:`0.25rem`,1.5:`0.375rem`,2:`0.5rem`,2.5:`0.625rem`,3:`0.75rem`,3.5:`0.875rem`,4:`1rem`,5:`1.25rem`,6:`1.5rem`,7:`1.75rem`,8:`2rem`,9:`2.25rem`,10:`2.5rem`,11:`2.75rem`,12:`3rem`,14:`3.5rem`,16:`4rem`,20:`5rem`,24:`6rem`},fe={xs:1,sm:2,md:4,lg:6,xl:8,"2xl":12,"3xl":16},J={none:`0`,sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`,xl:`1rem`,"2xl":`1.5rem`,"3xl":`2rem`,full:`9999px`},pe={"extra-small":`sm`,small:`sm`,medium:`md`,large:`lg`,"extra-large":`xl`},me={instant:`0ms`,fast:`100ms`,normal:`200ms`,slow:`300ms`,slower:`500ms`},he={short1:`50ms`,short2:`100ms`,short3:`150ms`,short4:`200ms`,medium1:`250ms`,medium2:`300ms`,medium3:`350ms`,medium4:`400ms`,long1:`450ms`,long2:`500ms`,long3:`550ms`,long4:`600ms`},ge={mono:`ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Consolas", monospace`},_e={normal:`400`,medium:`500`,semibold:`600`,bold:`700`},ve={dropdown:`1000`,sticky:`1100`,overlay:`1200`,modal:`1300`,dialog:`1300`,popover:`1400`,toast:`1500`,tooltip:`1600`,loading:`1700`},ye={standard:`cubic-bezier(0.2, 0, 0, 1)`,standardDecelerate:`cubic-bezier(0, 0, 0.2, 1)`,standardAccelerate:`cubic-bezier(0.3, 0, 1, 1)`,emphasized:`cubic-bezier(0.2, 0, 0, 1)`,emphasizedDecelerate:`cubic-bezier(0.05, 0.7, 0.1, 1)`,emphasizedAccelerate:`cubic-bezier(0.3, 0, 0.8, 0.15)`},be={standard:`cubic-bezier(0.4, 0, 0.2, 1)`,standardDecelerate:`cubic-bezier(0, 0, 0.2, 1)`,standardAccelerate:`cubic-bezier(0.4, 0, 1, 1)`,emphasized:`cubic-bezier(0.2, 0.8, 0.2, 1)`,emphasizedDecelerate:`cubic-bezier(0.16, 1, 0.3, 1)`,emphasizedAccelerate:`cubic-bezier(0.4, 0, 0.2, 1)`},xe={standard:`cubic-bezier(0.4, 0, 0.2, 1)`,standardDecelerate:`cubic-bezier(0, 0, 0.2, 1)`,standardAccelerate:`cubic-bezier(0.4, 0, 1, 1)`,emphasized:`cubic-bezier(0.25, 0.1, 0.25, 1)`,emphasizedDecelerate:`cubic-bezier(0.0, 0, 0.2, 1)`,emphasizedAccelerate:`cubic-bezier(0.4, 0, 1, 1)`},Se={id:`glass`,name:`Glass`,light:{primary:`#007aff`,onPrimary:`#ffffff`,primaryContainer:`rgba(0, 122, 255, 0.15)`,onPrimaryContainer:`#003d80`,secondary:`#6c757d`,onSecondary:`#ffffff`,secondaryContainer:`rgba(108, 117, 125, 0.12)`,onSecondaryContainer:`#2c3237`,tertiary:`#5856d6`,onTertiary:`#ffffff`,tertiaryContainer:`rgba(88, 86, 214, 0.15)`,onTertiaryContainer:`#2a2866`,error:`#ff3b30`,onError:`#ffffff`,errorContainer:`rgba(255, 59, 48, 0.15)`,onErrorContainer:`#801810`,warning:`#ff9500`,onWarning:`#000000`,warningContainer:`rgba(255, 149, 0, 0.15)`,onWarningContainer:`#804a00`,success:`#34c759`,onSuccess:`#000000`,successContainer:`rgba(52, 199, 89, 0.15)`,onSuccessContainer:`#1a642d`,surface:`rgba(255, 255, 255, 0.72)`,onSurface:`#000000`,surfaceVariant:`rgba(255, 255, 255, 0.52)`,onSurfaceVariant:`#3c3c43`,surfaceContainer:`rgba(255, 255, 255, 0.82)`,surfaceContainerLow:`rgba(255, 255, 255, 0.62)`,surfaceContainerHigh:`rgba(255, 255, 255, 0.88)`,surfaceContainerHighest:`rgba(255, 255, 255, 0.92)`,surfaceContainerLowest:`rgba(255, 255, 255, 0.42)`,surfaceDim:`rgba(120, 120, 128, 0.16)`,surfaceBright:`rgba(255, 255, 255, 0.95)`,background:`#f2f2f7`,onBackground:`#000000`,outline:`rgba(80, 80, 88, 0.75)`,outlineVariant:`rgba(120, 120, 128, 0.16)`,inverseSurface:`#1c1c1e`,inverseOnSurface:`#ffffff`,inversePrimary:`#66b0ff`,shadow:`rgba(0, 0, 0, 0.12)`,scrim:`rgba(0, 0, 0, 0.4)`,glassBackdrop:`rgba(255, 255, 255, 0.72)`,glassBorder:`rgba(255, 255, 255, 0.3)`},dark:{primary:`#0a84ff`,onPrimary:`#000000`,primaryContainer:`rgba(10, 132, 255, 0.25)`,onPrimaryContainer:`#b3d9ff`,secondary:`#8e8e93`,onSecondary:`#000000`,secondaryContainer:`rgba(142, 142, 147, 0.2)`,onSecondaryContainer:`#e5e5ea`,tertiary:`#5e5ce6`,onTertiary:`#ffffff`,tertiaryContainer:`rgba(94, 92, 230, 0.25)`,onTertiaryContainer:`#d4d3ff`,error:`#ff453a`,onError:`#000000`,errorContainer:`rgba(255, 69, 58, 0.25)`,onErrorContainer:`#ffcac7`,warning:`#ff9f0a`,onWarning:`#000000`,warningContainer:`rgba(255, 159, 10, 0.25)`,onWarningContainer:`#ffe3b3`,success:`#30d158`,onSuccess:`#000000`,successContainer:`rgba(48, 209, 88, 0.25)`,onSuccessContainer:`#b8f5c9`,surface:`rgba(30, 30, 30, 0.72)`,onSurface:`#ffffff`,surfaceVariant:`rgba(44, 44, 46, 0.65)`,onSurfaceVariant:`#8e8e93`,surfaceContainer:`rgba(44, 44, 46, 0.82)`,surfaceContainerLow:`rgba(30, 30, 30, 0.62)`,surfaceContainerHigh:`rgba(58, 58, 60, 0.85)`,surfaceContainerHighest:`rgba(72, 72, 74, 0.88)`,surfaceContainerLowest:`rgba(28, 28, 30, 0.55)`,surfaceDim:`rgba(0, 0, 0, 0.3)`,surfaceBright:`rgba(58, 58, 60, 0.9)`,background:`#000000`,onBackground:`#ffffff`,outline:`rgba(160, 160, 166, 0.8)`,outlineVariant:`rgba(84, 84, 88, 0.35)`,inverseSurface:`#f2f2f7`,inverseOnSurface:`#000000`,inversePrimary:`#007aff`,shadow:`rgba(0, 0, 0, 0.4)`,scrim:`rgba(0, 0, 0, 0.6)`,glassBackdrop:`rgba(30, 30, 30, 0.72)`,glassBorder:`rgba(255, 255, 255, 0.1)`},typography:{displayLarge:{size:`3rem`,lineHeight:`1.1`,weight:`600`,tracking:`-0.022em`,fontFamily:`var(--smrt-font-family)`},displayMedium:{size:`2.5rem`,lineHeight:`1.15`,weight:`600`,tracking:`-0.021em`,fontFamily:`var(--smrt-font-family)`},displaySmall:{size:`2rem`,lineHeight:`1.2`,weight:`600`,tracking:`-0.019em`,fontFamily:`var(--smrt-font-family)`},headlineLarge:{size:`1.75rem`,lineHeight:`1.25`,weight:`600`,tracking:`-0.017em`,fontFamily:`var(--smrt-font-family)`},headlineMedium:{size:`1.5rem`,lineHeight:`1.3`,weight:`600`,tracking:`-0.015em`,fontFamily:`var(--smrt-font-family)`},headlineSmall:{size:`1.25rem`,lineHeight:`1.35`,weight:`600`,tracking:`-0.012em`,fontFamily:`var(--smrt-font-family)`},titleLarge:{size:`1.25rem`,lineHeight:`1.4`,weight:`600`,tracking:`-0.012em`,fontFamily:`var(--smrt-font-family)`},titleMedium:{size:`1.0625rem`,lineHeight:`1.4`,weight:`600`,tracking:`-0.011em`,fontFamily:`var(--smrt-font-family)`},titleSmall:{size:`0.9375rem`,lineHeight:`1.4`,weight:`600`,tracking:`-0.009em`,fontFamily:`var(--smrt-font-family)`},bodyLarge:{size:`1.0625rem`,lineHeight:`1.5`,weight:`400`,tracking:`-0.011em`,fontFamily:`var(--smrt-font-family)`},bodyMedium:{size:`0.9375rem`,lineHeight:`1.5`,weight:`400`,tracking:`-0.009em`,fontFamily:`var(--smrt-font-family)`},bodySmall:{size:`0.8125rem`,lineHeight:`1.4`,weight:`400`,tracking:`-0.006em`,fontFamily:`var(--smrt-font-family)`},labelLarge:{size:`0.9375rem`,lineHeight:`1.4`,weight:`500`,tracking:`-0.009em`,fontFamily:`var(--smrt-font-family)`},labelMedium:{size:`0.8125rem`,lineHeight:`1.4`,weight:`500`,tracking:`-0.006em`,fontFamily:`var(--smrt-font-family)`},labelSmall:{size:`0.6875rem`,lineHeight:`1.3`,weight:`600`,tracking:`-0.004em`,fontFamily:`var(--smrt-font-family)`}},elevation:{0:`none`,1:`0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02)`,2:`0 3px 6px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03)`,3:`0 6px 12px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04)`,4:`0 12px 24px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05)`,5:`0 24px 48px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.06)`},spacing:q,borderRadius:J,duration:me,easing:be,glass:{blur:`20px`,saturation:`180%`,borderOpacity:`0.3`,backgroundOpacity:`0.72`},fontFamily:`-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif`},Y=`"Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif`,Ce={id:`happyvertical`,name:`Day Shift`,light:{primary:`#9c5300`,onPrimary:`#ffffff`,primaryContainer:`#f7e3cc`,onPrimaryContainer:`#5e3200`,secondary:`#4f5b55`,onSecondary:`#ffffff`,secondaryContainer:`#dce3df`,onSecondaryContainer:`#2a342f`,tertiary:`#3c5a68`,onTertiary:`#ffffff`,tertiaryContainer:`#d7e4ea`,onTertiaryContainer:`#1b333e`,error:`#9b3b32`,onError:`#ffffff`,errorContainer:`#f6dfdc`,onErrorContainer:`#5e1c16`,warning:`#8a4e08`,onWarning:`#ffffff`,warningContainer:`#f7e4c8`,onWarningContainer:`#533000`,success:`#1e7a4b`,onSuccess:`#ffffff`,successContainer:`#d5e9df`,onSuccessContainer:`#0c3b24`,surface:`#f4f6f5`,onSurface:`#20272b`,surfaceVariant:`#e5eae7`,onSurfaceVariant:`#5a6660`,surfaceContainer:`#f1f4f2`,surfaceContainerLow:`#f7f9f8`,surfaceContainerHigh:`#eaeeec`,surfaceContainerHighest:`#e3e8e5`,surfaceContainerLowest:`#fbfcfb`,surfaceDim:`#e1e6e3`,surfaceBright:`#fbfcfb`,background:`#e8ebe9`,onBackground:`#20272b`,outline:`#717d77`,outlineVariant:`#c9cfcc`,inverseSurface:`#20272b`,inverseOnSurface:`#edf0ee`,inversePrimary:`#ffb454`,shadow:`rgba(32, 39, 43, 0.2)`,scrim:`rgba(20, 24, 27, 0.45)`},dark:{primary:`#ffb454`,onPrimary:`#14181b`,primaryContainer:`#3b2a12`,onPrimaryContainer:`#ffd7a1`,secondary:`#a6b2ac`,onSecondary:`#14181b`,secondaryContainer:`#262e33`,onSecondaryContainer:`#dce3e0`,tertiary:`#9cbecc`,onTertiary:`#10262e`,tertiaryContainer:`#1e313a`,onTertiaryContainer:`#c6dee8`,error:`#e89b92`,onError:`#3b120d`,errorContainer:`#402019`,onErrorContainer:`#f7c9c3`,warning:`#ffc46b`,onWarning:`#14181b`,warningContainer:`#3b2c12`,onWarningContainer:`#ffdca8`,success:`#53c989`,onSuccess:`#06331e`,successContainer:`#14382a`,onSuccessContainer:`#a8e5c4`,surface:`#1c2226`,onSurface:`#e4e9e7`,surfaceVariant:`#232b30`,onSurfaceVariant:`#97a29c`,surfaceContainer:`#1c2226`,surfaceContainerLow:`#171c20`,surfaceContainerHigh:`#212930`,surfaceContainerHighest:`#252d33`,surfaceContainerLowest:`#0f1315`,surfaceDim:`#101416`,surfaceBright:`#283036`,background:`#14181b`,onBackground:`#e4e9e7`,outline:`#76827d`,outlineVariant:`#2a3238`,inverseSurface:`#e4e9e7`,inverseOnSurface:`#1c2226`,inversePrimary:`#9c5300`,shadow:`rgba(0, 0, 0, 0.6)`,scrim:`rgba(0, 0, 0, 0.6)`},typography:{displayLarge:{size:`2.9rem`,lineHeight:`1.15`,weight:`600`,tracking:`-0.015em`,fontFamily:Y},displayMedium:{size:`2.4rem`,lineHeight:`1.15`,weight:`600`,tracking:`-0.015em`,fontFamily:Y},displaySmall:{size:`2rem`,lineHeight:`1.2`,weight:`600`,tracking:`-0.01em`,fontFamily:Y},headlineLarge:{size:`1.75rem`,lineHeight:`1.2`,weight:`600`,tracking:`-0.01em`,fontFamily:Y},headlineMedium:{size:`1.5rem`,lineHeight:`1.25`,weight:`600`,tracking:`-0.01em`,fontFamily:Y},headlineSmall:{size:`1.35rem`,lineHeight:`1.3`,weight:`600`,tracking:`-0.01em`,fontFamily:Y},titleLarge:{size:`1.15rem`,lineHeight:`1.35`,weight:`600`,tracking:`-0.01em`,fontFamily:Y},titleMedium:{size:`1rem`,lineHeight:`1.4`,weight:`500`,tracking:`-0.01em`,fontFamily:Y},titleSmall:{size:`0.9rem`,lineHeight:`1.4`,weight:`500`,tracking:`-0.01em`,fontFamily:Y},bodyLarge:{size:`1rem`,lineHeight:`1.6`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},bodyMedium:{size:`0.9375rem`,lineHeight:`1.6`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},bodySmall:{size:`0.875rem`,lineHeight:`1.55`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},labelLarge:{size:`0.9rem`,lineHeight:`1.4`,weight:`700`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},labelMedium:{size:`0.8125rem`,lineHeight:`1.4`,weight:`700`,tracking:`0.02em`,fontFamily:`var(--smrt-font-family)`},labelSmall:{size:`0.75rem`,lineHeight:`1.4`,weight:`700`,tracking:`0.08em`,fontFamily:`var(--smrt-font-family)`}},elevation:{0:`none`,1:`inset 0 0 0 1px rgba(32, 39, 43, 0.1)`,2:`0 1px 2px 0 rgba(32, 39, 43, 0.06)`,3:`0 2px 6px -2px rgba(32, 39, 43, 0.1)`,4:`0 6px 16px -6px rgba(32, 39, 43, 0.14)`,5:`0 12px 28px -12px rgba(32, 39, 43, 0.18)`},darkElevation:{0:`none`,1:`inset 0 0 0 1px rgba(228, 233, 231, 0.08)`,2:`0 1px 2px 0 rgba(0, 0, 0, 0.4)`,3:`0 2px 6px -2px rgba(0, 0, 0, 0.5)`,4:`0 6px 16px -6px rgba(0, 0, 0, 0.6)`,5:`0 12px 28px -12px rgba(0, 0, 0, 0.7)`},spacing:q,borderRadius:{none:`0`,sm:`0.25rem`,md:`0.375rem`,lg:`0.5rem`,xl:`0.75rem`,"2xl":`1rem`,"3xl":`1.25rem`,full:`9999px`},duration:{instant:`0ms`,fast:`90ms`,normal:`120ms`,slow:`180ms`,slower:`260ms`},easing:{standard:`cubic-bezier(0.4, 0, 0.2, 1)`,standardDecelerate:`cubic-bezier(0.4, 0, 0.2, 1)`,standardAccelerate:`cubic-bezier(0.4, 0, 0.2, 1)`,emphasized:`cubic-bezier(0.4, 0, 0.2, 1)`,emphasizedDecelerate:`cubic-bezier(0.4, 0, 0.2, 1)`,emphasizedAccelerate:`cubic-bezier(0.4, 0, 0.2, 1)`},fontFamily:`"B612", Verdana, "Segoe UI", system-ui, sans-serif`,fontFamilyMono:`"B612 Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace`},we={id:`material`,name:`Material`,light:{primary:`#0b57d0`,onPrimary:`#ffffff`,primaryContainer:`#d3e3fd`,onPrimaryContainer:`#041e49`,secondary:`#5e5e5e`,onSecondary:`#ffffff`,secondaryContainer:`#f0f0f0`,onSecondaryContainer:`#1f1f1f`,tertiary:`#7c4dff`,onTertiary:`#ffffff`,tertiaryContainer:`#e8ddff`,onTertiaryContainer:`#1e005f`,error:`#b3261e`,onError:`#ffffff`,errorContainer:`#f9dedc`,onErrorContainer:`#410e0b`,warning:`#f9ab00`,onWarning:`#000000`,warningContainer:`#fff4d9`,onWarningContainer:`#3d2a00`,success:`#1e8e3e`,onSuccess:`#ffffff`,successContainer:`#e6f4ea`,onSuccessContainer:`#1e4620`,surface:`#ffffff`,onSurface:`#1f1f1f`,surfaceVariant:`#f2f2f2`,onSurfaceVariant:`#444746`,surfaceContainer:`#f0f4f8`,surfaceContainerLow:`#f8f9fa`,surfaceContainerHigh:`#e8eaed`,surfaceContainerHighest:`#e1e3e6`,surfaceContainerLowest:`#ffffff`,surfaceDim:`#dadce0`,surfaceBright:`#f8f9fa`,background:`#ffffff`,onBackground:`#1f1f1f`,outline:`#747775`,outlineVariant:`#c4c7c5`,inverseSurface:`#303133`,inverseOnSurface:`#f2f2f2`,inversePrimary:`#a8c7fa`,shadow:`#000000`,scrim:`rgba(0, 0, 0, 0.5)`},dark:{primary:`#a8c7fa`,onPrimary:`#062e6f`,primaryContainer:`#0842a0`,onPrimaryContainer:`#d3e3fd`,secondary:`#c7c7c7`,onSecondary:`#303133`,secondaryContainer:`#444746`,onSecondaryContainer:`#e3e3e3`,tertiary:`#cbb7ff`,onTertiary:`#3e1e96`,tertiaryContainer:`#5e3fc0`,onTertiaryContainer:`#e8ddff`,error:`#f2b8b5`,onError:`#601410`,errorContainer:`#8c1d18`,onErrorContainer:`#f9dedc`,warning:`#ffcd66`,onWarning:`#5c3d00`,warningContainer:`#8a5d00`,onWarningContainer:`#fff4d9`,success:`#81c995`,onSuccess:`#0d522d`,successContainer:`#1e4620`,onSuccessContainer:`#e6f4ea`,surface:`#0e0e0e`,onSurface:`#e3e3e3`,surfaceVariant:`#1f1f1f`,onSurfaceVariant:`#c4c7c5`,surfaceContainer:`#1f1f1f`,surfaceContainerLow:`#141414`,surfaceContainerHigh:`#2d2d2d`,surfaceContainerHighest:`#363636`,surfaceContainerLowest:`#0a0a0a`,surfaceDim:`#141414`,surfaceBright:`#2d2d2d`,background:`#0e0e0e`,onBackground:`#e3e3e3`,outline:`#8e918f`,outlineVariant:`#444746`,inverseSurface:`#e3e3e3`,inverseOnSurface:`#1f1f1f`,inversePrimary:`#0b57d0`,shadow:`#000000`,scrim:`rgba(0, 0, 0, 0.7)`},typography:{displayLarge:{size:`3.5rem`,lineHeight:`1.1`,weight:`400`,tracking:`-0.02em`,fontFamily:`var(--smrt-font-family)`},displayMedium:{size:`2.75rem`,lineHeight:`1.15`,weight:`400`,tracking:`-0.01em`,fontFamily:`var(--smrt-font-family)`},displaySmall:{size:`2.25rem`,lineHeight:`1.2`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},headlineLarge:{size:`2rem`,lineHeight:`1.25`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},headlineMedium:{size:`1.75rem`,lineHeight:`1.3`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},headlineSmall:{size:`1.5rem`,lineHeight:`1.35`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},titleLarge:{size:`1.375rem`,lineHeight:`1.4`,weight:`500`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},titleMedium:{size:`1rem`,lineHeight:`1.5`,weight:`500`,tracking:`0.01em`,fontFamily:`var(--smrt-font-family)`},titleSmall:{size:`0.875rem`,lineHeight:`1.5`,weight:`500`,tracking:`0.01em`,fontFamily:`var(--smrt-font-family)`},bodyLarge:{size:`1rem`,lineHeight:`1.5`,weight:`400`,tracking:`0.03em`,fontFamily:`var(--smrt-font-family)`},bodyMedium:{size:`0.875rem`,lineHeight:`1.5`,weight:`400`,tracking:`0.02em`,fontFamily:`var(--smrt-font-family)`},bodySmall:{size:`0.75rem`,lineHeight:`1.4`,weight:`400`,tracking:`0.03em`,fontFamily:`var(--smrt-font-family)`},labelLarge:{size:`0.875rem`,lineHeight:`1.4`,weight:`500`,tracking:`0.01em`,fontFamily:`var(--smrt-font-family)`},labelMedium:{size:`0.75rem`,lineHeight:`1.4`,weight:`500`,tracking:`0.05em`,fontFamily:`var(--smrt-font-family)`},labelSmall:{size:`0.6875rem`,lineHeight:`1.4`,weight:`500`,tracking:`0.05em`,fontFamily:`var(--smrt-font-family)`}},elevation:{0:`none`,1:`0 1px 2px 0 rgb(0 0 0 / 0.05), 0 1px 3px 0 rgb(0 0 0 / 0.02)`,2:`0 1px 2px 0 rgb(0 0 0 / 0.06), 0 2px 4px 0 rgb(0 0 0 / 0.04)`,3:`0 2px 4px 0 rgb(0 0 0 / 0.06), 0 4px 8px 0 rgb(0 0 0 / 0.04)`,4:`0 4px 8px 0 rgb(0 0 0 / 0.08), 0 8px 16px 0 rgb(0 0 0 / 0.04)`,5:`0 8px 16px 0 rgb(0 0 0 / 0.1), 0 16px 32px 0 rgb(0 0 0 / 0.04)`},spacing:q,borderRadius:J,duration:me,easing:ye,fontFamily:`"Google Sans", "Roboto", system-ui, -apple-system, sans-serif`},X=`"Space Grotesk", system-ui, -apple-system, sans-serif`,Te={material:we,glass:Se,studio:{id:`studio`,name:`Studio`,light:{primary:`#1a73e8`,onPrimary:`#ffffff`,primaryContainer:`#e8f0fe`,onPrimaryContainer:`#174ea6`,secondary:`#5f6368`,onSecondary:`#ffffff`,secondaryContainer:`#f1f3f4`,onSecondaryContainer:`#3c4043`,tertiary:`#9334e6`,onTertiary:`#ffffff`,tertiaryContainer:`#f3e8fd`,onTertiaryContainer:`#6b12b8`,error:`#d93025`,onError:`#ffffff`,errorContainer:`#fce8e6`,onErrorContainer:`#a50e0e`,warning:`#f9ab00`,onWarning:`#000000`,warningContainer:`#fef3c7`,onWarningContainer:`#92400e`,success:`#188038`,onSuccess:`#ffffff`,successContainer:`#e6f4ea`,onSuccessContainer:`#137333`,surface:`#ffffff`,onSurface:`#202124`,surfaceVariant:`#f8f9fa`,onSurfaceVariant:`#5f6368`,surfaceContainer:`#f1f3f4`,surfaceContainerLow:`#f8f9fa`,surfaceContainerHigh:`#e8eaed`,surfaceContainerHighest:`#dadce0`,surfaceContainerLowest:`#ffffff`,surfaceDim:`#e8eaed`,surfaceBright:`#ffffff`,background:`#ffffff`,onBackground:`#202124`,outline:`#78797b`,outlineVariant:`#e8eaed`,inverseSurface:`#3c4043`,inverseOnSurface:`#f1f3f4`,inversePrimary:`#8ab4f8`,shadow:`rgba(60, 64, 67, 0.1)`,scrim:`rgba(0, 0, 0, 0.5)`},dark:{primary:`#8ab4f8`,onPrimary:`#062e6f`,primaryContainer:`#174ea6`,onPrimaryContainer:`#d2e3fc`,secondary:`#9aa0a6`,onSecondary:`#202124`,secondaryContainer:`#3c4043`,onSecondaryContainer:`#e8eaed`,tertiary:`#c58af9`,onTertiary:`#3e1385`,tertiaryContainer:`#6b12b8`,onTertiaryContainer:`#f3e8fd`,error:`#f28b82`,onError:`#5c150c`,errorContainer:`#a50e0e`,onErrorContainer:`#fce8e6`,warning:`#fdd663`,onWarning:`#5c3d00`,warningContainer:`#92400e`,onWarningContainer:`#fef3c7`,success:`#81c995`,onSuccess:`#0d3b1f`,successContainer:`#137333`,onSuccessContainer:`#e6f4ea`,surface:`#0e0e0e`,onSurface:`#e8eaed`,surfaceVariant:`#1f1f1f`,onSurfaceVariant:`#9aa0a6`,surfaceContainer:`#1f1f1f`,surfaceContainerLow:`#141414`,surfaceContainerHigh:`#2d2d2d`,surfaceContainerHighest:`#3c4043`,surfaceContainerLowest:`#0a0a0a`,surfaceDim:`#141414`,surfaceBright:`#2d2d2d`,background:`#0e0e0e`,onBackground:`#e8eaed`,outline:`#8c8e92`,outlineVariant:`#3c4043`,inverseSurface:`#e8eaed`,inverseOnSurface:`#202124`,inversePrimary:`#1a73e8`,shadow:`rgba(0, 0, 0, 0.3)`,scrim:`rgba(0, 0, 0, 0.7)`},typography:{displayLarge:{size:`3rem`,lineHeight:`1.1`,weight:`400`,tracking:`-0.01em`,fontFamily:`var(--smrt-font-family)`},displayMedium:{size:`2.5rem`,lineHeight:`1.15`,weight:`400`,tracking:`-0.008em`,fontFamily:`var(--smrt-font-family)`},displaySmall:{size:`2rem`,lineHeight:`1.2`,weight:`400`,tracking:`-0.005em`,fontFamily:`var(--smrt-font-family)`},headlineLarge:{size:`1.75rem`,lineHeight:`1.25`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},headlineMedium:{size:`1.5rem`,lineHeight:`1.3`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},headlineSmall:{size:`1.25rem`,lineHeight:`1.35`,weight:`500`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},titleLarge:{size:`1.125rem`,lineHeight:`1.4`,weight:`500`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},titleMedium:{size:`1rem`,lineHeight:`1.5`,weight:`500`,tracking:`0.01em`,fontFamily:`var(--smrt-font-family)`},titleSmall:{size:`0.875rem`,lineHeight:`1.5`,weight:`500`,tracking:`0.01em`,fontFamily:`var(--smrt-font-family)`},bodyLarge:{size:`1rem`,lineHeight:`1.6`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},bodyMedium:{size:`0.875rem`,lineHeight:`1.6`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},bodySmall:{size:`0.75rem`,lineHeight:`1.5`,weight:`400`,tracking:`0.01em`,fontFamily:`var(--smrt-font-family)`},labelLarge:{size:`0.875rem`,lineHeight:`1.5`,weight:`500`,tracking:`0.02em`,fontFamily:`var(--smrt-font-family)`},labelMedium:{size:`0.75rem`,lineHeight:`1.5`,weight:`500`,tracking:`0.025em`,fontFamily:`var(--smrt-font-family)`},labelSmall:{size:`0.6875rem`,lineHeight:`1.4`,weight:`500`,tracking:`0.03em`,fontFamily:`var(--smrt-font-family)`}},elevation:{0:`none`,1:`inset 0 0 0 1px rgba(60, 64, 67, 0.08)`,2:`0 1px 2px 0 rgba(60, 64, 67, 0.08), 0 1px 3px 0 rgba(60, 64, 67, 0.04)`,3:`0 2px 4px 0 rgba(60, 64, 67, 0.1), 0 1px 2px 0 rgba(60, 64, 67, 0.06)`,4:`0 4px 8px 0 rgba(60, 64, 67, 0.1), 0 2px 4px 0 rgba(60, 64, 67, 0.06)`,5:`0 8px 16px 0 rgba(60, 64, 67, 0.12), 0 4px 8px 0 rgba(60, 64, 67, 0.06)`},darkElevation:{0:`none`,1:`inset 0 0 0 1px rgba(255, 255, 255, 0.08)`,2:`0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 3px 0 rgba(0, 0, 0, 0.1)`,3:`0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.1)`,4:`0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1)`,5:`0 8px 16px 0 rgba(0, 0, 0, 0.25), 0 4px 8px 0 rgba(0, 0, 0, 0.1)`},spacing:q,borderRadius:J,duration:me,easing:xe,fontFamily:`"Google Sans Text", "Roboto", "Segoe UI", system-ui, sans-serif`},smrt:{id:`smrt`,name:`s-m-r-t`,light:{primary:`#e35d12`,onPrimary:`#ffffff`,primaryContainer:`#ffe6d4`,onPrimaryContainer:`#7a2e00`,secondary:`#5b6470`,onSecondary:`#ffffff`,secondaryContainer:`#e7eaee`,onSecondaryContainer:`#2a2f37`,tertiary:`#6b4eff`,onTertiary:`#ffffff`,tertiaryContainer:`#e7e0ff`,onTertiaryContainer:`#3a2b8c`,error:`#c0362c`,onError:`#ffffff`,errorContainer:`#fbe0dd`,onErrorContainer:`#6b1109`,warning:`#b06a00`,onWarning:`#ffffff`,warningContainer:`#ffedd0`,onWarningContainer:`#6b4200`,success:`#0f7a5f`,onSuccess:`#ffffff`,successContainer:`#d7f2e8`,onSuccessContainer:`#043a2c`,surface:`#ffffff`,onSurface:`#14171c`,surfaceVariant:`#f5f6f8`,onSurfaceVariant:`#5b6470`,surfaceContainer:`#f5f6f8`,surfaceContainerLow:`#fafbfc`,surfaceContainerHigh:`#eef1f4`,surfaceContainerHighest:`#e7eaee`,surfaceContainerLowest:`#ffffff`,surfaceDim:`#e3e6ea`,surfaceBright:`#ffffff`,background:`#edeff2`,onBackground:`#14171c`,outline:`#7c7f85`,outlineVariant:`#dfe3e8`,inverseSurface:`#14171c`,inverseOnSurface:`#f4f6f8`,inversePrimary:`#ff7a1a`,shadow:`rgba(20, 26, 36, 0.28)`,scrim:`rgba(0, 0, 0, 0.5)`},dark:{primary:`#ff7a1a`,onPrimary:`#1a0e02`,primaryContainer:`#2a1a0c`,onPrimaryContainer:`#ffb784`,secondary:`#9aa3af`,onSecondary:`#14171c`,secondaryContainer:`#23272e`,onSecondaryContainer:`#e6e9ee`,tertiary:`#b9a8ff`,onTertiary:`#241a4d`,tertiaryContainer:`#2a2350`,onTertiaryContainer:`#ddd4ff`,error:`#ff6b6b`,onError:`#2a0a0a`,errorContainer:`#3a1414`,onErrorContainer:`#ffc4c4`,warning:`#ffb020`,onWarning:`#1a0e02`,warningContainer:`#3a2a0c`,onWarningContainer:`#ffd9a3`,success:`#3fb98f`,onSuccess:`#00261c`,successContainer:`#103a30`,onSuccessContainer:`#7fd9be`,surface:`#121417`,onSurface:`#c9cdd3`,surfaceVariant:`#181b1f`,onSurfaceVariant:`#9aa3af`,surfaceContainer:`#121417`,surfaceContainerLow:`#0e1013`,surfaceContainerHigh:`#181b1f`,surfaceContainerHighest:`#1f242b`,surfaceContainerLowest:`#0a0c10`,surfaceDim:`#0b0c0e`,surfaceBright:`#23272e`,background:`#0b0c0e`,onBackground:`#c9cdd3`,outline:`#70747b`,outlineVariant:`#23272e`,inverseSurface:`#edeff2`,inverseOnSurface:`#14171c`,inversePrimary:`#b34d00`,shadow:`rgba(0, 0, 0, 0.8)`,scrim:`rgba(0, 0, 0, 0.7)`},typography:{displayLarge:{size:`3.5rem`,lineHeight:`0.98`,weight:`600`,tracking:`-0.03em`,fontFamily:X},displayMedium:{size:`2.75rem`,lineHeight:`1`,weight:`600`,tracking:`-0.03em`,fontFamily:X},displaySmall:{size:`2.25rem`,lineHeight:`1.05`,weight:`600`,tracking:`-0.02em`,fontFamily:X},headlineLarge:{size:`2rem`,lineHeight:`1.1`,weight:`600`,tracking:`-0.02em`,fontFamily:X},headlineMedium:{size:`1.6rem`,lineHeight:`1.15`,weight:`600`,tracking:`-0.02em`,fontFamily:X},headlineSmall:{size:`1.3rem`,lineHeight:`1.2`,weight:`600`,tracking:`-0.01em`,fontFamily:X},titleLarge:{size:`1.125rem`,lineHeight:`1.3`,weight:`600`,tracking:`-0.01em`,fontFamily:`var(--smrt-font-family)`},titleMedium:{size:`1rem`,lineHeight:`1.4`,weight:`600`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},titleSmall:{size:`0.875rem`,lineHeight:`1.4`,weight:`600`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},bodyLarge:{size:`1.0625rem`,lineHeight:`1.6`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},bodyMedium:{size:`0.9375rem`,lineHeight:`1.6`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},bodySmall:{size:`0.8125rem`,lineHeight:`1.55`,weight:`400`,tracking:`0`,fontFamily:`var(--smrt-font-family)`},labelLarge:{size:`0.8125rem`,lineHeight:`1.4`,weight:`600`,tracking:`0.04em`,fontFamily:`var(--smrt-font-family)`},labelMedium:{size:`0.6875rem`,lineHeight:`1.4`,weight:`600`,tracking:`0.08em`,fontFamily:`var(--smrt-font-family)`},labelSmall:{size:`0.625rem`,lineHeight:`1.4`,weight:`600`,tracking:`0.1em`,fontFamily:`var(--smrt-font-family)`}},elevation:{0:`none`,1:`inset 0 0 0 1px rgba(20, 26, 36, 0.08)`,2:`0 18px 44px -28px rgba(20, 26, 36, 0.18)`,3:`0 24px 56px -34px rgba(20, 26, 36, 0.22)`,4:`0 30px 70px -40px rgba(20, 26, 36, 0.28)`,5:`0 40px 90px -50px rgba(20, 26, 36, 0.3)`},darkElevation:{0:`none`,1:`inset 0 0 0 1px rgba(255, 255, 255, 0.06)`,2:`0 18px 44px -28px rgba(0, 0, 0, 0.6)`,3:`0 24px 56px -34px rgba(0, 0, 0, 0.72)`,4:`0 30px 66px -40px rgba(0, 0, 0, 0.82)`,5:`0 40px 90px -50px rgba(0, 0, 0, 0.88)`},spacing:q,borderRadius:J,duration:me,easing:{standard:`cubic-bezier(0.4, 0, 0.2, 1)`,standardDecelerate:`cubic-bezier(0, 0, 0.2, 1)`,standardAccelerate:`cubic-bezier(0.4, 0, 1, 1)`,emphasized:`cubic-bezier(0.22, 1, 0.36, 1)`,emphasizedDecelerate:`cubic-bezier(0.16, 1, 0.3, 1)`,emphasizedAccelerate:`cubic-bezier(0.4, 0, 1, 1)`},fontFamily:`"Inter", system-ui, -apple-system, "Segoe UI", sans-serif`},happyvertical:Ce},Z=[`material`,`glass`,`studio`,`smrt`,`happyvertical`];function Ee(e){let t=Te[e];if(t)return t;let n=je(e);if(n)return n;throw Error(`Unknown theme preset: ${e}. Available: ${Pe().join(`, `)}`)}function De(e){return Z.includes(e)||Me(e)}function Oe(){let e=Z.map(e=>({value:e,label:Te[e].name})),t=Ne();return[...e,...t]}var ke=new Map;function Ae(e){ke.set(e.id,e)}function je(e){return ke.get(e)}function Me(e){return ke.has(e)}function Ne(){return Array.from(ke.entries()).map(([e,t])=>({value:e,label:t.name}))}function Pe(){return[...Z,...ke.keys()]}var Fe=y(`<span class="smrt-theme-switcher__label svelte-12svdjp"> </span>`),Ie=y(`<option><!> </option>`),Le=y(`<select class="smrt-theme-switcher__select svelte-12svdjp"></select>`),Re=y(`<span class="smrt-theme-switcher__icon svelte-12svdjp"> </span>`),ze=y(`<button type="button"><!> <span class="smrt-theme-switcher__text"> </span></button>`),Be=y(`<div class="smrt-theme-switcher__buttons svelte-12svdjp"></div>`),Ve=y(`<button type="button" role="radio"><!> <span class="smrt-theme-switcher__text"> </span></button>`),He=y(`<div class="smrt-theme-switcher__segmented svelte-12svdjp" role="radiogroup"></div>`),Ue=y(`<div><!> <!></div>`);function We(n,o){i(o,!0);let s=C(o,`label`,3,`Theme`),c=C(o,`showIcons`,3,!0),f=C(o,`variant`,3,`select`),p=C(o,`class`,3,``),_=G(),y=Oe();function x(e){let t=e.target;_.setPreset(t.value)}function T(e){_.setPreset(e)}let E={material:`🔷`,glass:`💎`,studio:`◻️`,smrt:`🟠`,happyvertical:`🔶`};var D=Ue(),k=F(D),ee=t=>{var n=Fe(),r=O(n,!0);w(()=>e(r,s())),b(t,n)};h(k,e=>{s()&&e(ee)});var A=M(k,2),j=n=>{var r=Le();a(r,21,()=>y,l,(t,n)=>{var r=Ie(),i=F(r),a=t=>{var r=d();w(()=>e(r,E[S(n).value])),b(t,r)};h(i,e=>{c()&&e(a)});var o=M(i);m(r);var s={};w(()=>{e(o,` ${S(n).label??``}`),s!==(s=S(n).value)&&(r.value=(r.__value=s)??``)}),b(t,r)}),m(r);var i;g(r),w(()=>{i!==(i=_.state.preset)&&(r.value=(r.__value=i)??``,t(r,i))}),u(`change`,r,x),b(n,r)},N=t=>{var n=Be();a(n,21,()=>y,l,(t,n)=>{var i=ze();let a;var o=F(i),s=t=>{var r=Re(),i=O(r,!0);w(()=>e(i,E[S(n).value])),b(t,r)};h(o,e=>{c()&&e(s)});var l=M(o,2),d=O(l,!0);m(i),w(()=>{a=r(i,1,`smrt-theme-switcher__button svelte-12svdjp`,null,a,{active:_.state.preset===S(n).value}),e(d,S(n).label)}),u(`click`,i,()=>T(S(n).value)),b(t,i)}),m(n),b(t,n)},P=t=>{var n=He();a(n,21,()=>y,l,(t,n)=>{var i=Ve();let a;var o=F(i),s=t=>{var r=Re(),i=O(r,!0);w(()=>e(i,E[S(n).value])),b(t,r)};h(o,e=>{c()&&e(s)});var l=M(o,2),d=O(l,!0);m(i),w(()=>{a=r(i,1,`smrt-theme-switcher__segment svelte-12svdjp`,null,a,{active:_.state.preset===S(n).value}),I(i,`aria-checked`,_.state.preset===S(n).value),e(d,S(n).label)}),u(`click`,i,()=>T(S(n).value)),b(t,i)}),m(n),b(t,n)};h(A,e=>{f()===`select`?e(j):f()===`buttons`?e(N,1):f()===`segmented`&&e(P,2)}),m(D),w(()=>r(D,1,`smrt-theme-switcher ${f()??``} ${p()??``}`,`svelte-12svdjp`)),b(n,D),v()}N([`change`,`click`]);function Ge(e,t){let n={};for(let[r,i]of Object.entries(e)){let e=r.replace(/([A-Z])/g,`-$1`).toLowerCase();n[`${t}-color-${e}`]=i}return n}function Ke(e,t){let n={};for(let[r,i]of Object.entries(e)){let e=r.replace(/([A-Z])/g,`-$1`).toLowerCase();n[`${t}-typography-${e}-size`]=i.size,n[`${t}-typography-${e}-line-height`]=i.lineHeight,n[`${t}-typography-${e}-weight`]=String(i.weight),n[`${t}-typography-${e}-tracking`]=i.tracking,i.fontFamily&&(n[`${t}-typography-${e}-font-family`]=i.fontFamily);let a=i.fontFamily??`var(${t}-font-family)`;n[`${t}-typography-${e}-font`]=`${i.weight} ${i.size}/${i.lineHeight} ${a}`}return n}function qe(e,t){let n={};for(let[r,i]of Object.entries(e)){let e=r.replace(/\./g,`_`);n[`${t}-spacing-${e}`]=i}for(let[r,i]of Object.entries(fe)){let a=e[i];a!==void 0&&(n[`${t}-spacing-${r}`]=a)}return n}function Je(e,t){let n={};for(let[r,i]of Object.entries(e)){let e=r.replace(/([A-Z])/g,`-$1`).toLowerCase();n[`${t}-radius-${e}`]=i}for(let[r,i]of Object.entries(pe)){let a=e[i];a!==void 0&&(n[`${t}-radius-${r}`]=a)}return n}function Ye(e,t){let n={};for(let[r,i]of Object.entries(e))n[`${t}-elevation-${r}`]=i;return n}function Xe(e,t){let n={};for(let[r,i]of Object.entries(e)){let e=r.replace(/([A-Z])/g,`-$1`).toLowerCase();n[`${t}-duration-${e}`]=i}for(let[e,r]of Object.entries(he))n[`${t}-duration-${e}`]=r;return n}function Ze(e,t){let n={};for(let[r,i]of Object.entries(e)){let e=r.replace(/([A-Z])/g,`-$1`).toLowerCase();n[`${t}-easing-${e}`]=i}return n}function Qe(e,t){return e?{[`${t}-glass-blur`]:e.blur,[`${t}-glass-saturation`]:e.saturation,[`${t}-glass-border-opacity`]:e.borderOpacity,[`${t}-glass-background-opacity`]:e.backgroundOpacity}:{}}function $e(e,t){let n={};for(let[t,r]of Object.entries(ge))n[`${e}-font-family-${t}`]=r;t&&(n[`${e}-font-family-mono`]=t);for(let[t,r]of Object.entries(_e))n[`${e}-typography-weight-${t}`]=r;for(let[t,r]of Object.entries(ve))n[`${e}-z-index-${t}`]=r;return n}function et(e,t,n={}){let{prefix:r=`--smrt`}=n,i=t?e.dark:e.light,a=t&&e.darkElevation?e.darkElevation:e.elevation;return{[`${r}-touch-target-min`]:`48px`,[`${r}-control-target-min`]:`0px`,[`${r}-theme-id`]:e.id,[`${r}-theme-name`]:e.name,[`${r}-color-scheme`]:t?`dark`:`light`,[`${r}-font-family`]:e.fontFamily,...Ge(i,r),...Ke(e.typography,r),...qe(e.spacing,r),...Je(e.borderRadius,r),...Ye(a,r),...Xe(e.duration,r),...Ze(e.easing,r),...$e(r,e.fontFamilyMono),...Qe(e.glass,r)}}Z.map(e=>({id:e,label:Te[e].name,light:Te[e].light,dark:Te[e].dark}));var tt={preset:`material`,colorScheme:`system`,borderRadius:`md`,persist:!0,storageKey:`smrt-theme`},nt=y(`<div><!></div>`);function rt(e,t){i(t,!0);let n=C(t,`preset`,19,()=>tt.preset),a=C(t,`colorScheme`,19,()=>tt.colorScheme),o=C(t,`borderRadius`,19,()=>tt.borderRadius),s=C(t,`overrides`,19,()=>({})),c=C(t,`paintSurface`,3,!0),l=C(t,`persist`,19,()=>tt.persist),u=C(t,`storageKey`,19,()=>tt.storageKey),d=L(A(D(()=>({preset:n(),colorScheme:a(),primaryColor:t.primaryColor,borderRadius:o(),overrides:s(),persist:l(),storageKey:u()})))),f=L(!1),h=L(!1),g=z(()=>Ee(S(d).preset)),y=z(()=>S(d).colorScheme===`system`?S(f)?`dark`:`light`:S(d).colorScheme),x=z(()=>S(y)===`dark`),T=z(()=>Z.includes(S(d).preset)),E=z(()=>t.inlineVariables??!S(T)),O=z(()=>{let e=[];if(S(E))for(let[t,n]of Object.entries(et(S(g),S(x))))e.push(`${t}: ${n}`);S(d).primaryColor&&e.push(`--smrt-color-primary: ${S(d).primaryColor}`),t.density!==void 0&&e.push(`--smrt-control-target-min: ${t.density===`touch`?`var(--smrt-touch-target-min, 48px)`:`0px`}`);for(let[t,n]of Object.entries(S(d).overrides??{}))e.push(`${t}: ${n}`);return e.join(`; `)}),ee=z(()=>({preset:S(d).preset,colorScheme:S(d).colorScheme,resolvedScheme:S(y),isDark:S(x),config:S(d),theme:S(g)}));function M(e){S(d).preset=e,B()}function N(e){S(d).colorScheme=e,B()}function R(){N(S(x)?`light`:`dark`)}function te(e){k(d,{...S(d),...e},!0),B()}function B(){if(S(d).persist&&typeof localStorage<`u`)try{let e=JSON.stringify({preset:S(d).preset,colorScheme:S(d).colorScheme,borderRadius:S(d).borderRadius});localStorage.setItem(S(d).storageKey,e)}catch{}}function V(){if(S(d).persist&&typeof localStorage<`u`)try{let e=localStorage.getItem(S(d).storageKey);if(e){let t=JSON.parse(e);if(!t||typeof t!=`object`)return;let n=t;typeof n.preset==`string`&&De(n.preset)&&(S(d).preset=n.preset),(n.colorScheme===`light`||n.colorScheme===`dark`||n.colorScheme===`system`)&&(S(d).colorScheme=n.colorScheme),(n.borderRadius===`none`||n.borderRadius===`sm`||n.borderRadius===`md`||n.borderRadius===`lg`||n.borderRadius===`xl`||n.borderRadius===`full`)&&(S(d).borderRadius=n.borderRadius)}}catch{}}re({get state(){return S(ee)},setPreset:M,setColorScheme:N,toggleColorScheme:R,updateConfig:te}),P(()=>{if(typeof window<`u`){let e=window.matchMedia(`(prefers-color-scheme: dark)`);k(f,e.matches,!0);let t=e=>{k(f,e.matches,!0)};return e.addEventListener(`change`,t),V(),k(h,!0),()=>{e.removeEventListener(`change`,t)}}}),j(()=>{if(typeof document<`u`&&S(h)){let e=document.documentElement;e.classList.toggle(`dark`,S(x)),e.setAttribute(`data-theme`,S(d).preset),e.setAttribute(`data-color-scheme`,S(y)),e.style.colorScheme=S(y)}});let H=D(()=>n()),U=D(()=>a()),ne=D(()=>t.primaryColor),W=D(()=>o());j(()=>{n()!==H&&(H=n(),D(()=>{S(d).preset=n()}))}),j(()=>{a()!==U&&(U=a(),D(()=>{S(d).colorScheme=a()}))}),j(()=>{t.primaryColor!==ne&&(ne=t.primaryColor,D(()=>{t.primaryColor!==void 0&&(S(d).primaryColor=t.primaryColor)}))}),j(()=>{o()!==W&&(W=o(),D(()=>{S(d).borderRadius=o()}))}),j(()=>{S(d).overrides=s()}),j(()=>{S(d).persist=l()}),j(()=>{S(d).storageKey=u()});var G=nt();let K;var ie=F(G);p(ie,()=>t.children),m(G),w(()=>{K=r(G,1,`smrt-theme-root svelte-1kx38vk`,null,K,{dark:S(x),"no-paint":!c(),"smrt-theme-glass":S(d).preset===`glass`}),_(G,S(O)||void 0),I(G,`data-theme`,S(d).preset),I(G,`data-color-scheme`,S(y))}),b(e,G),v()}N([`change`,`click`]),N([`keydown`,`change`,`click`,`pointerdown`,`focusin`]),N([`change`]),N([`click`]);var it=[`SmrtJunction`,`SmrtJunctionBase`,`SmrtPolymorphicAssociation`],at=[`Metafield`,`Metadata`,`Association`,`LineItem`,`Allocation`,`Revision`,`Attachment`,`Snapshot`,`Completion`,`Override`,`Alias`],ot=[`Status`,`Type`],st=new Set([`foreignKey`,`crossPackageRef`]);function ct(e){let t=e.extends?.split(`:`).pop();if(t&&it.includes(t))return`junction`;let n=e.fields.filter(e=>!e.system),r=n.filter(e=>st.has(e.type)).length;return r>=2&&n.length-r<=1?`link`:at.some(t=>e.name.endsWith(t))?`child`:n.length<=3&&ot.some(t=>e.name.endsWith(t))?`lookup`:null}function lt(e){return ct(e)!==null}var ut=new Set([`junction`,`link`,`child`]);function dt(e,t){return e.includes(`:`)?e:`${t.slice(0,t.lastIndexOf(`:`))}:${e}`}function ft(e,t){let n=[],r=e.get(t);for(;r&&!n.includes(r.id);)n.push(r.id),r=r.extends?e.get(dt(r.extends,r.id)):void 0;return n}function pt(e,t){let n=e.packages.flatMap(e=>e.models),r=new Map(n.map(e=>[e.id,e])),i=new Set(ft(r,t));return i.size?n.filter(e=>{if(i.has(e.id))return!1;let t=ct(e);return!t||!ut.has(t)?!1:e.fields.some(t=>st.has(t.type)&&t.related&&i.has(dt(t.related,e.id)))}):[]}function mt(e,t){let n=e.fields.find(n=>st.has(n.type)&&n.related&&t.has(dt(n.related,e.id)));return n?{model:e,fk:n.name}:void 0}function ht(e,t,n){let r=e.packages.flatMap(e=>e.models),i=new Map(r.map(e=>[e.id,e])),a=new Set(ft(i,n));if(!a.size)return[];let o=t.filter(e=>e.models.includes(n));if(!o.length)return pt(e,n).flatMap(e=>{let t=mt(e,a);return t?[t]:[]});let s=new Map;for(let e of o){let t=new Set(e.nav.map(e=>e.model));for(let n of e.models){let e=i.get(n);if(!e||t.has(n)||a.has(n)||s.has(n))continue;let r=mt(e,a);r&&s.set(n,r)}}return[...s.values()]}function gt(e,t){return e.some(e=>e.nav.some(e=>e.model===t))}function _t(e,t){let n=e;for(let e of t)if(n.length>e.length&&n.startsWith(e)){n=n.slice(e.length);break}let r=n.replace(/([a-z0-9])([A-Z])/g,`$1 $2`).toLowerCase(),i=/[^aeiou]y$/.test(r)?`${r.slice(0,-1)}ies`:/(s|x|ch|sh)$/.test(r)?`${r}es`:`${r}s`;return i.charAt(0).toUpperCase()+i.slice(1)}function vt(e,t){let n=e.packages.flatMap(e=>e.models),r=new Map(n.map(e=>[e.id,e]));return ft(r,t).flatMap(e=>{let t=r.get(e);return t?[t.name]:[]})}function yt(e){return e.group?.id??e.id}function bt(e){let t=new Map;for(let n of e){let e=yt(n),r=t.get(e);r?r.recipes.push(n):t.set(e,{id:e,label:n.group?.label??n.label,recipes:[n]})}return[...t.values()]}function xt(e){return e.section??{id:yt(e),label:e.group?.label??e.label}}function St(e){let t=new Map;for(let n of e){let e=xt(n),r=t.get(e.id);r?r.recipes.push(n):t.set(e.id,{...e,recipes:[n]})}return[...t.values()]}function Ct(e){let t=new Set(e.map(e=>xt(e).id)),n={};for(let r of e){let e=yt(r),i=xt(r).id;e!==i&&!t.has(e)&&(n[e]=i)}return n}function wt(e,t,n){return`item:${e}:${t}${n?`:${n}`:``}`}function Tt(e,t){return e?.trim()||t.description?.trim()||`Your ${Et(t.name)} records, all in one place.`}function Et(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1 $2`).toLowerCase()}var Dt={id:`more`,label:`More`,icon:`layers`,description:`Extra records you added one at a time.`},Ot=`fileText`;function kt(e){let t=e.description?.trim();if(t)return t.split(/(?<=[.!?])\s/)[0]??t;let n=e.fields.filter(e=>!e.system).length;return`${n} ${n===1?`field`:`fields`}`}function At(e,t){let n=new Set(t.flatMap(e=>e.models));return e.packages.flatMap(t=>ne(t).filter(e=>!n.has(e.id)).map(n=>({id:n.id,name:n.name,label:H(n.name),packageId:t.id,description:kt(n),described:!!n.description?.trim(),plumbing:lt(n),fieldNames:n.fields.map(e=>e.name),includes:pt(e,n.id).map(e=>H(e.name))})))}function jt(e){return e.described?e.description:`${H(e.packageId)} · ${e.description}`}function Mt(e,t){return t?[...e]:e.filter(e=>!e.plumbing)}function Nt(e){return[...new Set(e.map(e=>e.packageId))]}function Pt(e,t,n){let r=t.toLowerCase().split(/\s+/).filter(Boolean);return e.filter(e=>{if(n&&e.packageId!==n)return!1;if(!r.length)return!0;let t=[e.name,e.label,e.description,e.packageId,...e.fieldNames].join(` `).toLowerCase();return r.every(e=>t.includes(e))})}function Ft(e){return e.flatMap(e=>{let t=V(e);return t?.model.exposed?[{id:wt(t.pkg.id,t.model.name),packageId:t.pkg.id,modelName:t.model.name,label:H(t.model.name),icon:Ot,description:Tt(void 0,t.model)}]:[]})}var It={"@happyvertical/smrt-commerce:Customer":{profileId:`Links this customer to their profile record, where their name and contact details are kept.`,creditLimit:`The most this customer may owe you at one time. Leave it empty or at zero if you do not set limits.`,paymentTerms:`How long the customer has to pay, written the way you would say it, for example "Net 30".`,taxExempt:`Turn this on if you do not charge this customer sales tax.`,taxId:`The customer's tax or VAT number, kept on file for tax-exempt sales.`,defaultShippingAddress:`Where you usually send this customer's goods, so you do not retype it on every order.`,defaultBillingAddress:`Where you send this customer's invoices.`,status:`Whether this is a current customer, for example active or inactive.`,customerType:`The kind of customer, for example an individual or a business.`,notes:`Anything worth remembering about this customer.`},"@happyvertical/smrt-commerce:Vendor":{profileId:`Links this vendor to their profile record, where their name and contact details are kept.`,leadTimeDays:`How many days the vendor usually takes between your order and delivery.`,minimumOrderAmount:`The smallest order the vendor will accept.`,paymentTerms:`How long you have to pay this vendor, written the way you would say it, for example "Net 30".`,currency:`The currency this vendor bills you in.`,defaultContactEmail:`The email address you normally use to reach this vendor.`,defaultContactPhone:`The phone number you normally use to reach this vendor.`,status:`Whether you still buy from this vendor, for example active or inactive.`,notes:`Anything worth remembering about this vendor.`,payoutAddresses:`Where payments to this vendor should be sent.`},"@happyvertical/smrt-commerce:Order":{status:`Where the order stands, for example draft, accepted or completed.`,customerId:`The customer this order is for.`,subtotal:`The order amount before tax.`,taxAmount:`The tax charged on the order.`,totalAmount:`What the customer pays in all, tax included.`,currency:`The currency of the order's amounts.`,issueDate:`The date the order was placed.`,dueDate:`The date payment is expected. An order still open after this date counts as overdue.`,expiryDate:`The last day the order's price or offer is good for.`,reference:`Your own number or note for finding this order later, such as the customer's purchase order number.`,notes:`Anything worth remembering about this order.`,terms:`The conditions agreed with the customer, such as deposits, delivery or payment conditions.`,channelId:`Where the order came from, for example your shop or a marketplace.`},"@happyvertical/smrt-commerce:PurchaseOrder":{status:`Where the purchase stands, for example draft, accepted or completed.`,vendorId:`The vendor you are buying from.`,subtotal:`The order amount before tax.`,taxAmount:`The tax charged on the order.`,totalAmount:`What you pay in all, tax included.`,currency:`The currency of the order's amounts.`,issueDate:`The date you placed the order.`,dueDate:`The date the goods or the payment are due.`,expiryDate:`The last day the vendor's offer is good for.`,reference:`Your own number or note for finding this order later, such as the vendor's quote number.`,notes:`Anything worth remembering about this purchase.`,terms:`The conditions agreed with the vendor, such as payment or delivery conditions.`,channelId:`Where the order was placed, for example a vendor's website or a phone call.`},"@happyvertical/smrt-products:Product":{name:`What you call the product, as customers will see it.`,price:`What one costs, in dollars and cents.`,description:`A few words on what the product is and who it is for.`},"@happyvertical/smrt-products:ProductVariant":{productId:`The product this choice belongs to. Set for you when you save the product.`,axisName:`What the product varies by, for example size or color.`,allowedValues:`The values on offer for it, for example S, M and L.`},"@happyvertical/smrt-products:Sku":{productId:`The product this item is a version of. Set for you when you save the product.`,code:`The short code that identifies this exact size and color. Made for you from the product name.`,attributes:`Which size and color this item is. Set for you from the grid.`},"@happyvertical/smrt-inventory:StockLevel":{skuId:`The item being counted. Set for you when you save the product.`,locationId:`Where it is kept. New stock goes to the main warehouse.`,state:`Whether the count is available to sell. New stock starts as available.`,qty:`How many you have on hand.`},"@happyvertical/smrt-inventory:InventoryLocation":{code:`A short code for the place stock is kept, for example MAIN.`,name:`What you call the place, for example Main warehouse.`,kind:`What sort of place it is, for example a warehouse or a shop floor.`},"@happyvertical/smrt-commerce:Estimate":{status:`Where the estimate stands, for example draft, sent, accepted or completed.`,customerId:`The customer this estimate is for.`,subtotal:`The estimate amount before tax.`,taxAmount:`The tax charged on the estimate.`,totalAmount:`What the customer pays in all, tax included.`,currency:`The currency of the estimate's amounts.`,issueDate:`The date the estimate was issued or starts.`,dueDate:`The date payment is expected.`,expiryDate:`The last day the estimate is good for, or the day it ends.`,reference:`Your own number or note for finding this estimate later.`,notes:`Anything worth remembering about this estimate.`,terms:`The conditions agreed with the customer, such as deposits, delivery or payment conditions.`,channelId:`Where the estimate came from, for example your shop or a marketplace.`},"@happyvertical/smrt-commerce:WholesaleOrder":{status:`Where the wholesale order stands, for example draft, sent, accepted or completed.`,customerId:`The customer this wholesale order is for.`,subtotal:`The wholesale order amount before tax.`,taxAmount:`The tax charged on the wholesale order.`,totalAmount:`What the customer pays in all, tax included.`,currency:`The currency of the wholesale order's amounts.`,issueDate:`The date the wholesale order was issued or starts.`,dueDate:`The date payment is expected.`,expiryDate:`The last day the wholesale order is good for, or the day it ends.`,reference:`Your own number or note for finding this wholesale order later.`,notes:`Anything worth remembering about this wholesale order.`,terms:`The conditions agreed with the customer, such as deposits, delivery or payment conditions.`,channelId:`Where the wholesale order came from, for example your shop or a marketplace.`},"@happyvertical/smrt-commerce:Agreement":{status:`Where the agreement stands, for example draft, sent, accepted or completed.`,customerId:`The customer this agreement is for.`,subtotal:`The agreement amount before tax.`,taxAmount:`The tax charged on the agreement.`,totalAmount:`What the customer pays in all, tax included.`,currency:`The currency of the agreement's amounts.`,issueDate:`The date the agreement was issued or starts.`,dueDate:`The date payment is expected.`,expiryDate:`The last day the agreement is good for, or the day it ends.`,reference:`Your own number or note for finding this agreement later.`,notes:`Anything worth remembering about this agreement.`,terms:`The conditions agreed with the customer, such as deposits, delivery or payment conditions.`,channelId:`Where the agreement came from, for example your shop or a marketplace.`},"@happyvertical/smrt-commerce:Lease":{status:`Where the lease stands, for example draft, sent, accepted or completed.`,customerId:`The customer this lease is for.`,subtotal:`The lease amount before tax.`,taxAmount:`The tax charged on the lease.`,totalAmount:`What the customer pays in all, tax included.`,currency:`The currency of the lease's amounts.`,issueDate:`The date the lease was issued or starts.`,dueDate:`The date payment is expected.`,expiryDate:`The last day the lease is good for, or the day it ends.`,reference:`Your own number or note for finding this lease later.`,notes:`Anything worth remembering about this lease.`,terms:`The conditions agreed with the customer, such as deposits, delivery or payment conditions.`,channelId:`Where the lease came from, for example your shop or a marketplace.`},"@happyvertical/smrt-commerce:LicenseSale":{status:`Where the licence sale stands, for example draft, sent, accepted or completed.`,customerId:`The customer this licence sale is for.`,subtotal:`The licence sale amount before tax.`,taxAmount:`The tax charged on the licence sale.`,totalAmount:`What the customer pays in all, tax included.`,currency:`The currency of the licence sale's amounts.`,issueDate:`The date the licence sale was issued or starts.`,dueDate:`The date payment is expected.`,expiryDate:`The last day the licence sale is good for, or the day it ends.`,reference:`Your own number or note for finding this licence sale later.`,notes:`Anything worth remembering about this licence sale.`,terms:`The conditions agreed with the customer, such as deposits, delivery or payment conditions.`,channelId:`Where the licence sale came from, for example your shop or a marketplace.`},"@happyvertical/smrt-commerce:Contract":{status:`Where the contract stands, for example draft, sent, accepted or completed.`,customerId:`The customer this contract is for.`,subtotal:`The contract amount before tax.`,taxAmount:`The tax charged on the contract.`,totalAmount:`What the customer pays in all, tax included.`,currency:`The currency of the contract's amounts.`,issueDate:`The date the contract was issued or starts.`,dueDate:`The date payment is expected.`,expiryDate:`The last day the contract is good for, or the day it ends.`,reference:`Your own number or note for finding this contract later.`,notes:`Anything worth remembering about this contract.`,terms:`The conditions agreed with the customer, such as deposits, delivery or payment conditions.`,channelId:`Where the contract came from, for example your shop or a marketplace.`,contractType:`The kind of contract: order, estimate, lease, agreement and so on.`,vendorId:`The vendor on the other side, for contracts you buy.`},"@happyvertical/smrt-commerce:ContractLineItem":{contractId:`The order, quote or agreement this line belongs to.`,description:`What is being sold or bought on this line.`,quantity:`How many.`,unitPrice:`The price of one, before tax.`,taxRate:`The tax rate for this line, as a percentage (5 means 5%).`,amount:`The line total.`,productId:`The product this line is for, if it is one you list.`},"@happyvertical/smrt-inventory:StockMovement":{skuId:`The item that moved.`,locationId:`The place it moved at.`,fromState:`What it was before, for example available or damaged.`,toState:`What it became.`,qty:`How many moved.`,reasonCode:`Why it moved, for example adjustment, sale or return.`,note:`Anything worth remembering about this movement.`,occurredAt:`When it happened.`},"@happyvertical/smrt-commerce:Invoice":{customerId:`The customer being billed.`,contractId:`The order or agreement this invoice bills for, if any.`,invoiceNumber:`The number printed on the invoice.`,issueDate:`The date the invoice was issued.`,dueDate:`The date payment is expected.`,paidDate:`The date it was paid in full.`,subtotal:`The amount before tax.`,taxAmount:`The tax charged.`,totalAmount:`What the customer owes in all, tax included.`,amountPaid:`How much of the total has been paid so far.`,currency:`The currency of the invoice.`,status:`Where the invoice stands: draft, sent, viewed, paid, overdue or cancelled.`,notes:`Private notes, not shown to the customer.`,customerNotes:`A message shown to the customer on the invoice.`,terms:`The payment conditions, such as Net 30.`},"@happyvertical/smrt-commerce:InvoiceLineItem":{invoiceId:`The invoice this line belongs to.`,description:`What is being billed on this line.`,quantity:`How many.`,unitPrice:`The price of one, before tax.`,taxRate:`The tax rate for this line, as a percentage (5 means 5%).`,amount:`The line total.`},"@happyvertical/smrt-commerce:Payment":{contractId:`The order or agreement this payment is for, if any.`,customerId:`The customer who paid.`,amount:`How much was paid.`,currency:`The currency of the payment.`,method:`How it was paid: cash, check, card, bank transfer or other.`,status:`Whether the payment is pending, completed, failed or refunded.`,reference:`Your own note, such as a check number.`,paidAt:`When the money was received.`,notes:`Anything worth remembering about this payment.`},"@happyvertical/smrt-commerce:PaymentAllocation":{paymentId:`The payment being applied.`,invoiceId:`The invoice it settles.`,amount:`How much of the payment goes to this invoice.`,allocatedAt:`When it was applied.`,notes:`Anything worth remembering about this allocation.`},"@happyvertical/smrt-commerce:Fulfillment":{contractId:`The order being fulfilled.`,fulfillmentType:`How it gets to the customer: shipment, delivery, pickup, digital or service.`,status:`Where it stands: pending, processing, shipped, delivered or cancelled.`,trackingNumber:`The carrier's tracking number.`,carrier:`The company carrying it.`,shippedAt:`When it left you.`,deliveredAt:`When it arrived.`,notes:`Anything worth remembering about this shipment.`},"@happyvertical/smrt-commerce:FulfillmentLineItem":{fulfillmentId:`The shipment this line belongs to.`,contractLineItemId:`The order line being sent.`,quantityFulfilled:`How many of that line are in this shipment.`},"@happyvertical/smrt-ledgers:Account":{number:`The account number in your chart of accounts.`,name:`What the account is called.`,description:`What the account is used for.`,type:`asset, liability, equity, revenue or expense.`,active:`Turn this off to stop using the account without deleting it.`},"@happyvertical/smrt-ledgers:Journal":{number:`The journal's reference number.`,date:`The date of the transaction.`,description:`What the transaction was.`,status:`draft while you work on it, posted once final, or voided.`,postedAt:`When it was posted.`},"@happyvertical/smrt-ledgers:JournalEntry":{journalId:`The journal this entry belongs to.`,accountId:`The account this entry changes.`,debit:`The amount debited. Leave zero on a credit.`,credit:`The amount credited. Leave zero on a debit.`,currency:`The currency of the amounts.`,memo:`A note on this entry.`},"@happyvertical/smrt-projects:Project":{title:`The project's name.`,description:`What the project is about.`,owner:`Who owns or runs the project.`,url:`A link to the project elsewhere.`},"@happyvertical/smrt-projects:Issue":{projectId:`The project this issue belongs to.`,title:`A short summary of the issue.`,body:`The full description.`,state:`open or closed.`,author:`Who raised the issue.`,labels:`The labels attached to the issue.`,assignees:`The people working on it.`},"@happyvertical/smrt-projects:Label":{projectId:`The project this label belongs to.`,name:`The label's name, for example bug.`,color:`The label's colour.`,description:`What the label means.`},"@happyvertical/smrt-projects:Comment":{issueId:`The issue this comment is on.`,body:`The comment text.`,author:`Who wrote it.`},"@happyvertical/smrt-events:Event":{name:`What the event is called.`,seriesId:`The series this event is part of, if any.`,typeId:`The kind of event.`,placeId:`Where it takes place.`,description:`What the event is about.`,startDate:`When it starts.`,endDate:`When it ends.`,allDay:`Turn this on for an event that lasts all day.`,status:`scheduled, in progress, completed, cancelled or postponed.`},"@happyvertical/smrt-events:EventType":{name:`What this kind of event is called, for example workshop.`,description:`What this kind of event is for.`},"@happyvertical/smrt-events:EventSeries":{name:`What the series is called.`,typeId:`The kind of event in this series.`,organizerId:`Who runs the series.`,description:`What the series is about.`,startDate:`When the series begins.`,endDate:`When the series ends.`,recurrence:`How often it repeats.`},"@happyvertical/smrt-events:EventParticipant":{eventId:`The event the person takes part in.`,profileId:`The person taking part.`,role:`What they do there, for example speaker or attendee.`},"@happyvertical/smrt-sales:Lead":{name:`What you call this lead.`,contactName:`The person to talk to.`,email:`Their email address.`,phone:`Their phone number.`,organizationName:`The company they are with.`,ownerRepId:`The sales representative who owns this lead.`,status:`Where the lead stands, for example new or qualified.`},"@happyvertical/smrt-sales:Opportunity":{name:`What you call this deal.`,leadId:`The lead it came from.`,ownerRepId:`The sales representative who owns this deal.`,pipelineId:`The pipeline it moves through.`,stageId:`The stage it is at now.`,expectedValueCents:`What you expect the deal to be worth, in cents.`,currency:`The currency of that value.`,probability:`How likely it is to close, as a decimal (0.5 is 50%).`,expectedCloseAt:`When you expect it to close.`,status:`open, won or lost.`},"@happyvertical/smrt-sales:PipelineDefinition":{key:`A short code for the pipeline.`,name:`What the pipeline is called.`,isDefault:`Turn this on to use it for new deals.`,status:`Whether the pipeline is in use.`,metadata:`Extra details kept with the pipeline.`},"@happyvertical/smrt-sales:PipelineStage":{pipelineId:`The pipeline this stage belongs to.`,key:`A short code for the stage.`,name:`What the stage is called.`,sortOrder:`Where it comes in the pipeline.`,probability:`How likely a deal at this stage is to close, as a decimal.`,isWon:`Turn this on for the stage that means the deal is won.`,isLost:`Turn this on for the stage that means the deal is lost.`},"@happyvertical/smrt-sales:SalesActivity":{subjectKind:`What the activity is about: a lead or an opportunity.`,subjectId:`The lead or opportunity it is about.`,activityKind:`The kind of activity, for example call, note or email.`,summary:`What happened or what needs doing.`,dueAt:`When it is due.`,completedAt:`When it was done.`}};function Lt(e,t){let n=new Map(e.map(e=>[e.id,e])),r=[...Object.keys(t.recipes),...t.order].filter(e=>!n.has(e));if(r.length>0)throw Error(`Recipes only declared locally, not in a smrt package: ${[...new Set(r)].join(`, `)}`);let i=[...t.order,...e.map(e=>e.id).filter(e=>!t.order.includes(e))];return[...new Set(i)].map(e=>{let r=n.get(e),i=t.recipes[e];return i?{...r,...i}:r})}var Rt={order:[`commerce.customers`,`commerce.purchases`,`commerce.sales`,`commerce.vendors`,`inventory.stock`,`products.simple`,`products.clothing`,`products.ingredients`,`commerce.estimates`,`commerce.wholesale`,`commerce.invoicing`,`commerce.fulfillment`,`commerce.agreements`,`commerce.leases`,`commerce.licenses`,`ledgers.bookkeeping`,`projects.tracker`,`events.calendar`,`sales.pipeline`],recipes:{"commerce.customers":{forms:[{id:`customer.default`,kind:`field-map`,label:`Customer`,kindLabel:`Customer`,model:`@happyvertical/smrt-commerce:Customer`,records:[{as:`profileType`,model:`@happyvertical/smrt-profiles:ProfileType`,match:{name:`Customer`}},{as:`profile`,model:`@happyvertical/smrt-profiles:Profile`,match:{id:{ref:`customer`,field:`profileId`}},values:{typeId:{ref:`profileType`}}},{as:`customer`,model:`@happyvertical/smrt-commerce:Customer`,values:{profileId:{ref:`profile`}}}],fields:[{id:`name`,label:`Name`,to:`profile.name`,required:!0},{id:`email`,label:`Email`,to:`profile.email`},{id:`status`,label:`Status`,to:`customer.status`,default:`active`},{id:`customerType`,label:`Customer type`,to:`customer.customerType`,default:`dtc`},{id:`paymentTerms`,label:`Payment terms`,to:`customer.paymentTerms`},{id:`creditLimit`,label:`Credit limit`,to:`customer.creditLimit`},{id:`taxExempt`,label:`Tax exempt`,to:`customer.taxExempt`},{id:`taxId`,label:`Tax ID`,to:`customer.taxId`},{id:`shippingAddress`,label:`Shipping address`,to:`customer.defaultShippingAddress`},{id:`billingAddress`,label:`Billing address`,to:`customer.defaultBillingAddress`},{id:`notes`,label:`Notes`,to:`customer.notes`}]}]},"commerce.vendors":{forms:[{id:`vendor.default`,kind:`field-map`,label:`Vendor`,kindLabel:`Vendor`,model:`@happyvertical/smrt-commerce:Vendor`,records:[{as:`profileType`,model:`@happyvertical/smrt-profiles:ProfileType`,match:{name:`Vendor`}},{as:`profile`,model:`@happyvertical/smrt-profiles:Profile`,match:{id:{ref:`vendor`,field:`profileId`}},values:{typeId:{ref:`profileType`}}},{as:`vendor`,model:`@happyvertical/smrt-commerce:Vendor`,values:{profileId:{ref:`profile`}}}],fields:[{id:`name`,label:`Name`,to:`profile.name`,required:!0},{id:`email`,label:`Email`,to:`profile.email`},{id:`status`,label:`Status`,to:`vendor.status`,default:`active`},{id:`currency`,label:`Currency`,to:`vendor.currency`,default:`USD`},{id:`paymentTerms`,label:`Payment terms`,to:`vendor.paymentTerms`},{id:`leadTimeDays`,label:`Lead time (days)`,to:`vendor.leadTimeDays`},{id:`minimumOrderAmount`,label:`Minimum order`,to:`vendor.minimumOrderAmount`},{id:`contactEmail`,label:`Contact email`,to:`vendor.defaultContactEmail`},{id:`contactPhone`,label:`Contact phone`,to:`vendor.defaultContactPhone`},{id:`notes`,label:`Notes`,to:`vendor.notes`},{id:`payoutAddresses`,label:`Payout addresses`,to:`vendor.payoutAddresses`}]}]},"inventory.stock":{extends:[{form:`product.simple`,records:[{as:`sku`,model:`@happyvertical/smrt-products:Sku`,match:{productId:{ref:`product`}},values:{code:`{product.name|slug}`,name:`{product.name}`,attributes:`{}`,active:!0}},{as:`location`,model:`@happyvertical/smrt-inventory:InventoryLocation`,match:{code:`MAIN`},values:{name:`Main warehouse`,kind:`warehouse`}},{as:`stock`,model:`@happyvertical/smrt-inventory:StockLevel`,match:{skuId:{ref:`sku`},locationId:{ref:`location`},state:`available`}}],fields:[{id:`quantity`,label:`Quantity`,to:`stock.qty`,default:0}]},{form:`product.clothing`,records:[{as:`location`,model:`@happyvertical/smrt-inventory:InventoryLocation`,match:{code:`MAIN`},values:{name:`Main warehouse`,kind:`warehouse`}},{as:`stock`,model:`@happyvertical/smrt-inventory:StockLevel`,match:{skuId:{ref:`sku`},locationId:{ref:`location`},state:`available`}}],fields:[{id:`quantity`,label:`Quantity`,to:`stock.qty`,default:0}]}]},"products.simple":{forms:[{id:`product.simple`,kind:`field-map`,label:`Simple product`,kindLabel:`Simple`,model:`@happyvertical/smrt-products:Product`,records:[{as:`product`,model:`@happyvertical/smrt-products:Product`}],fields:[{id:`name`,label:`Name`,to:`product.name`,required:!0},{id:`price`,label:`Price`,to:`product.price`},{id:`description`,label:`Description`,to:`product.description`}]}]},"products.clothing":{forms:[{id:`product.clothing`,kind:`variant-grid`,label:`Clothing item`,kindLabel:`Clothing`,model:`@happyvertical/smrt-products:Product`,product:{as:`product`,model:`@happyvertical/smrt-products:Product`},fields:[{id:`name`,label:`Name`,to:`product.name`,required:!0},{id:`price`,label:`Price`,to:`product.price`}],axes:[{name:`size`,label:`Sizes`,values:[`XS`,`S`,`M`,`L`,`XL`]},{name:`color`,label:`Colors`,values:[]}],variants:`@happyvertical/smrt-products:ProductVariant`,skus:`@happyvertical/smrt-products:Sku`}]}}};function zt(e){return e.fields.filter(e=>!e.system)}var Bt=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1_$2`).toLowerCase();function Vt(e,t){return/Type$/.test(t.name)&&Array.isArray(t.enum)&&t.enum.length>0&&!!e.extends&&t.enum.includes(Bt(e.name))}function Ht(e){return e.some(e=>e.ui?.basic===!0)}function Ut(e){return e!=null&&e!==``}function Wt(e){if(e==null)return null;try{return{value:JSON.parse(e)}}catch{return null}}function Gt(e,t,n=[]){let r=zt(e),i=Ht(r),a=new Map(n.filter(t=>t.objectRef===e.id).map(e=>[e.fieldName,e]));return r.map((n,r)=>{let o=t?.fields?.[n.name]??{},s=Vt(e,n),c=o.visibility??(s?`hidden`:!i||n.ui?.basic===!0?`basic`:`advanced`),l=o.label??U(n),u=o.help??null,d=o.order??n.ui?.order??r,f=o.locked??n.ui?.locked??s,p=Bt(e.name),m=n.default===void 0?s&&n.enum?.includes(p)?p:void 0:n.default,h=`default`in o||m!==void 0,g=`default`in o?o.default:m,_=a.get(n.name);if(_&&(!f||_.locked===!1)){_.visibility&&(c=_.visibility),_.label&&(l=_.label),_.help!==void 0&&(u=_.help||null),typeof _.displayOrder==`number`&&(d=_.displayOrder);let e=Wt(_.defaultValue);e&&(h=!0,g=e.value),typeof _.locked==`boolean`&&(f=_.locked)}let v,y=o.required??n.required;return y&&c!==`basic`&&!(h&&Ut(g))&&(c=`basic`,v=!0),{field:n,visibility:c,label:l,help:u,order:d,group:n.ui?.group??null,locked:f,required:y,hasDefault:h,default:g,...v?{visibilityForced:v}:{}}}).map((e,t)=>({entry:e,index:t})).sort((e,t)=>e.entry.order-t.entry.order||e.index-t.index).map(({entry:e})=>e)}function Kt(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e===null?e:void 0}function qt(e){return e.filter(e=>e.visibility===`basic`).map(e=>{let{default:t,...n}=e.field,r=e.hasDefault?Kt(e.default):void 0;return{...n,required:e.required,...r===void 0?{}:{default:r},label:e.label,...e.help?{help:e.help}:{}}})}function Jt(e){let t={};for(let n of e)n.visibility!==`basic`&&n.hasDefault&&n.default!==void 0&&(t[n.field.name]=n.default);return t}var Yt=[`api`,`mcp`,`cli`],Xt={api:`REST`,mcp:`MCP`,cli:`CLI`};function Zt(e,t){return(t===`api`?e.rest.length:t===`mcp`?e.mcp.length:e.cli.length)>0}function Qt(e,t,n=[]){let r={};for(let i of Yt){let a=Zt(e,i),o=t?.exposure?.[i]===!1;r[i]={available:a,on:a&&!o&&!n.includes(i),locked:!a||o}}return r}function $t(e,t){let n=t.mcp.on;return{...e,rest:t.api.on?e.rest:[],mcp:n?e.mcp:[],cli:t.cli.on?e.cli:[],methods:e.methods.map(e=>({...e,aiCallable:e.aiCallable&&n}))}}function en(e,t,n=[]){return Gt(e,t,n).filter(e=>t?.fields?.[e.field.name]?.visibility!==`hidden`)}function tn(e){return e.required||e.locked}function nn(e,t,n,r){let i={};for(let r of en(e,t,n))i[r.field.name]={use:r.visibility===`basic`,label:r.label,help:r.help??``,default:r.hasDefault?r.default:null,order:r.order};let a=Qt(e,t,r);return{fields:i,exposure:{api:a.api.on,mcp:a.mcp.on,cli:a.cli.on}}}var rn=(e,t)=>JSON.stringify(e??null)===JSON.stringify(t??null);function an(e,t,n){let r=en(e,t),i=[];for(let t of r){let r=n.fields[t.field.name];if(!r||t.locked)continue;let a={objectRef:e.id,fieldName:t.field.name,scopeType:`app`},o=tn(t)?!0:r.use;o!==(t.visibility===`basic`)&&(a.visibility=o?`basic`:`hidden`),r.label.trim()&&r.label!==t.label&&(a.label=r.label.trim()),r.help!==(t.help??``)&&(a.help=r.help||null),rn(r.default,t.hasDefault?t.default:null)||(a.defaultValue=JSON.stringify(r.default??null)),r.order!==t.order&&(a.displayOrder=r.order),Object.keys(a).length>3&&i.push(a)}return i}function on(e,t,n){let r=Qt(e,t);return Yt.filter(e=>r[e].on&&!n.exposure[e])}var sn=It,cn=Lt(B.packages.flatMap(e=>e.recipes??[]),Rt),ln=new Map(cn.map(e=>[e.id,e]));function un(e){return ln.get(e)}var Q=ln,dn=bt(cn);function fn(e){return dn.find(t=>t.id===e)}function pn(e){let t=e.models[0];return t?V(t)?.pkg:void 0}function mn(e){return e.nav.flatMap(e=>{let t=V(e.model);return t?[{label:e.label,icon:e.icon??`fileText`,description:Tt(e.description,t.model),...e.key?{key:e.key}:{},...e.noun?{noun:e.noun}:{},...e.filter?{filter:e.filter}:{},model:t.model,packageId:t.pkg.id}]:[]})}function hn(e){return`/m/${e.packageId}/${e.model.name}/${e.key?`${e.key}/`:``}`}function gn(e){return e.models.flatMap(e=>{let t=V(e);return t?[{model:t.model,packageId:t.pkg.id}]:[]})}function _n(e,t=[]){let n=e.nav.length>0;return gn(e).map(({model:r})=>({id:r.id,name:r.name,...n?{}:{glossary:!1},descriptions:{...Object.fromEntries(r.fields.flatMap(e=>e.description?[[e.name,e.description]]:[])),...sn[r.id]},fields:Gt(r,e.options?.[r.id],t).map(e=>({name:e.field.name,label:e.label,help:e.help,visibility:e.visibility}))}))}function vn(e){return[...new Set(e)].sort()}function yn(e,t){let n=new Set,r=e=>{let i=t.get(e);if(i&&!n.has(e)){n.add(e);for(let e of i.requires)r(e)}};for(let t of e)r(t);let i=!0;for(;i;){i=!1;for(let e of[...n])for(let a of t.get(e)?.requiresAny??[]){if(a.some(e=>n.has(e)))continue;let e=a.find(e=>t.has(e));e&&(r(e),i=!0)}}return vn(n)}function bn(e,t,n){let r=new Set(e),i=t.filter(e=>!r.has(e)),a=new Set(i);return i.filter(e=>{let t=n.get(e);return t?t.requires.some(e=>r.has(e))?!0:(t.requiresAny??[]).some(e=>e.some(e=>r.has(e))&&!e.some(e=>a.has(e))):!1})}function xn(e,t,n){return bn([e],t,n)}function Sn(e,t){return vn([...e].filter(e=>t.has(e)))}var Cn={currency:`USD`,taxRate:0,paymentTerms:``},wn=`@happyvertical/smrt-commerce:`,$={currency:[`Order`,`PurchaseOrder`,`WholesaleOrder`,`Estimate`,`Invoice`,`Agreement`].map(e=>({model:`${wn}${e}`,field:`currency`})),taxRate:[`InvoiceLineItem`,`ContractLineItem`].map(e=>({model:`${wn}${e}`,field:`taxRate`})),paymentTerms:[...[`Order`,`WholesaleOrder`,`Estimate`,`Invoice`,`Agreement`].map(e=>({model:`${wn}${e}`,field:`terms`})),{model:`${wn}Customer`,field:`paymentTerms`}]};function Tn(e){return Object.values($).some(t=>t.some(t=>t.model===e.objectRef&&t.field===e.fieldName))}var En=Object.keys($);function Dn(e){if(e?.defaultValue!==void 0&&e.defaultValue!==null)try{return JSON.parse(e.defaultValue)}catch{return}}function On(e,t,n){return e.find(e=>e.scopeType===`app`&&e.objectRef===t&&e.fieldName===n)}function kn(e){let t={...Cn},n=(t,n)=>{for(let{model:r,field:i}of $[t]){let t=Dn(On(e.policies,r,i));if(typeof t===n)return t}},r=n(`currency`,`string`),i=n(`taxRate`,`number`),a=n(`paymentTerms`,`string`);return typeof r==`string`&&(t.currency=r),typeof i==`number`&&(t.taxRate=i),typeof a==`string`&&(t.paymentTerms=a),t}function An(e){return $.taxRate.some(({model:t,field:n})=>typeof Dn(On(e.policies,t,n))==`number`)}function jn(e,t,n){let r=V(t)?.model;if(!r)return;let i=Gt(r,e.recipes.map(e=>Q.get(e)?.options?.[t]).find(Boolean),[]).find(e=>e.field.name===n);return i?.hasDefault?i.default:void 0}var Mn=e=>e==null||e===``;function Nn(e,t){let n=e.policies.map(e=>({...e}));for(let r of En){let i=t[r],a=r===`paymentTerms`?String(i).trim():r===`currency`?String(i).trim().toUpperCase():i;for(let{model:t,field:i}of $[r]){let o=jn(e,t,i),s=!Mn(a)&&!(!Mn(o)&&o===a)&&!(Mn(o)&&r===`taxRate`&&a===0),c=On(n,t,i);if(s){let e=JSON.stringify(a);c?c.defaultValue=e:n.push({objectRef:t,fieldName:i,scopeType:`app`,defaultValue:e})}else c&&(delete c.defaultValue,Object.keys(c).length<=3&&(n=n.filter(e=>e!==c)))}}return{...e,policies:n}}function Pn(e){return{...Cn,...e}}var Fn=()=>({ids:[],rows:[],narrowed:{},features:[],unavailableRecipes:[],unavailableFeatures:[]});function In(e){let t=new Set([...e.ids.flatMap(e=>Q.get(e)?.models??[]),...e.features]);return{...e,rows:e.rows.filter(e=>t.has(e.objectRef)||Tn(e)),narrowed:Object.fromEntries(Object.entries(e.narrowed).filter(([e])=>t.has(e)))}}var Ln=(e,t)=>({...e,ids:yn([...e.ids,...t],Q)});function Rn(e,t){let n=new Set(t),r=e.ids.filter(e=>!n.has(e));return In({...e,ids:yn(r,Q)})}var zn=(e,t)=>e.features.includes(t)?e:{...e,features:[...e.features,t].sort()},Bn=(e,t)=>In({...e,features:e.features.filter(e=>e!==t)}),Vn=(e,t)=>xn(t,e.ids,Q);function Hn(e,t){for(let n of e.ids){let e=Q.get(n)?.options?.[t];if(e)return e}}function Un(e,t,n,r){let i={...e.narrowed};return r.length?i[t]=[...r]:delete i[t],{...e,rows:[...e.rows.filter(e=>e.objectRef!==t),...n],narrowed:i}}function Wn(e){let t=[...e.rows].sort((e,t)=>e.objectRef.localeCompare(t.objectRef)||e.fieldName.localeCompare(t.fieldName)),n=Object.fromEntries(Object.keys(e.narrowed).sort().filter(t=>e.narrowed[t].length).map(t=>[t,[...e.narrowed[t]].sort()])),r={recipes:[...e.ids,...e.unavailableRecipes].sort(),features:[...e.features,...e.unavailableFeatures].sort(),policies:t.map(e=>({...e}))};return Object.keys(n).length&&(r.exposure=n),r}function Gn(e){let t=[...new Set(e.features)],n=e=>!!V(e)?.model.exposed;return In({ids:yn(e.recipes,Q),rows:e.policies.map(e=>({...e})),narrowed:Object.fromEntries(Object.entries(e.exposure??{}).map(([e,t])=>[e,[...t]])),features:t.filter(n).sort(),unavailableRecipes:[...new Set(e.recipes.filter(e=>!Q.has(e)))].sort(),unavailableFeatures:t.filter(e=>!n(e)).sort()})}var Kn=new class{#e=L(A([]));get ids(){return S(this.#e)}set ids(e){k(this.#e,e,!0)}#t=L(A([]));get rows(){return S(this.#t)}set rows(e){k(this.#t,e,!0)}#n=L(A({}));get narrowed(){return S(this.#n)}set narrowed(e){k(this.#n,e,!0)}#r=L(A([]));get features(){return S(this.#r)}set features(e){k(this.#r,e,!0)}#i=L(A([]));get unavailableRecipes(){return S(this.#i)}set unavailableRecipes(e){k(this.#i,e,!0)}#a=L(A([]));get unavailableFeatures(){return S(this.#a)}set unavailableFeatures(e){k(this.#a,e,!0)}get data(){return{ids:this.ids,rows:this.rows,narrowed:this.narrowed,features:this.features,unavailableRecipes:this.unavailableRecipes,unavailableFeatures:this.unavailableFeatures}}set(e){this.ids=e.ids,this.rows=e.rows,this.narrowed=e.narrowed,this.features=e.features,this.unavailableRecipes=e.unavailableRecipes,this.unavailableFeatures=e.unavailableFeatures}removeUnavailable(){this.unavailableRecipes=[],this.unavailableFeatures=[]}hasFeature(e){return this.features.includes(e)}addFeature(e){this.set(zn(this.data,e))}removeFeature(e){this.set(Bn(this.data,e))}has(e){return this.ids.includes(e)}requiredBy(e){return Vn(this.data,e)}add(...e){this.set(Ln(this.data,e))}remove(...e){this.set(Rn(this.data,e))}toggle(e){this.has(e)?this.remove(e):this.add(e)}clear(){this.set(Fn())}hintsFor(e){return Hn(this,e)}apply(e){let t=this.hintsFor(e.id),n=Gt(e,t,this.rows);return{model:$t(e,Qt(e,t,this.narrowed[e.id]??[])),resolved:n,fields:qt(n),background:Jt(n)}}save(e,t,n){this.set(Un(this.data,e,t,n))}reset(e){this.save(e,[],[])}snapshot(){return Wn(this.data)}load(e){this.set(Gn(e))}};N([`click`]),N([`click`,`keydown`]),N([`click`]);var qn=new Map(Object.entries({menu:`M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z`,search:`M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z`,close:`M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z`,"chevron-right":`M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z`,"chevron-left":`M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z`,"chevron-down":`M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z`,check:`M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z`,add:`M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z`,mic:`M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.04 6.43 5 7.07V21h4v-2.93c2.96-.64 5-3.54 5-7.07h-2z`,alert:`M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1 5h2v6h-2zm0 8h2v2h-2z`,warning:`M1 21h22L12 2 1 21zm12-3h-2v-2h2zm0-4h-2v-4h2z`,info:`M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2zm0-8h-2V7h2z`,home:`M3 10 12 2 21 10v11h-6v-7H9v7H3z`,user:`M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM4 21v-2c0-4 16-4 16 0v2H4z`,settings:`M10 2h4l1 3 3-1 3 3-1 3 3 1v4l-3 1 1 3-3 3-3-1-1 3h-4l-1-3-3 1-3-3 1-3-3-1v-4l3-1-1-3 3-3 3 1 1-3zm2 6a4 4 0 1 0 0 8 4 4 0 0 0 0-8z`,trash:`M7 3h10v2h4v2H3V5h4V3zm-2 6h14v12H5V9zm4 2v8h2v-8H9zm4 0v8h2v-8h-2z`,edit:`M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z`,calendar:`M7 2h2v2h6V2h2v2h4v18H3V4h4V2zm-2 8v10h14V10H5zm2 2h4v4H7v-4z`,clock:`M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zm-1 2h2v5.5l4 2.5-1 1.5-5-3V6z`,camera:`M9 3h6l2 3h4v15H3V6h4l2-3zm3 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6z`,upload:`M11 16V7l-4 4-1.5-1.5L12 3l6.5 6.5L17 11l-4-4v9h-2zM3 18h18v3H3v-3z`,download:`M11 3h2v9l4-4 1.5 1.5L12 16l-6.5-6.5L7 8l4 4V3zM3 18h18v3H3v-3z`})),Jn=L([]);function Yn(e){for(let t=S(Jn).length-1;t>=0;t--){let n=S(Jn)[t].paths.get(e);if(n!==void 0)return n}return qn.get(e)}var Xn=x(`<svg xmlns="http://www.w3.org/2000/svg" class="svelte-tlrjgw"><path></path></svg>`);function Zn(e,t){i(t,!0);let n=C(t,`size`,3,24),r=C(t,`color`,3,`currentColor`),a=C(t,`viewBox`,3,`0 0 24 24`),o=z(()=>!!t[`aria-label`]),s=z(()=>t.path??(t.name?Yn(t.name):``)),c=z(()=>typeof n()==`number`?`${n()}px`:n());var l=Xn(),u=O(l);w(()=>{I(l,`width`,S(c)),I(l,`height`,S(c)),I(l,`viewBox`,a()),I(l,`fill`,r()),I(l,`aria-hidden`,!S(o)),I(l,`aria-label`,t[`aria-label`]),I(l,`role`,S(o)?`img`:void 0),I(u,`d`,S(s))}),b(e,l),v()}N([`click`]),N([`click`]),N([`click`]);function Qn(e,t,n){if(!n||n<1||e.length<=n)return{visible:[...e],overflow:[]};let r=e.slice(0,n-1),i=e.slice(n-1),a=i.find(e=>e.id===t)??i[0];return{visible:a?[...r,a]:r,overflow:i.filter(e=>e!==a)}}var $n=y(`<span class="tab-count svelte-1stnz8g"> </span>`),er=y(`<span class="tab-badge svelte-1stnz8g"> </span>`),tr=y(`<a><span class="tab-label"> </span> <!> <!></a>`),nr=y(`<span class="tab-dot svelte-1stnz8g" aria-hidden="true"></span> <span class="visually-hidden svelte-1stnz8g"> </span>`,1),rr=y(`<details class="tabs-more svelte-1stnz8g"><summary class="tab-link svelte-1stnz8g"><span class="tab-label"> </span> <!></summary> <div class="tabs-more-menu svelte-1stnz8g"></div></details>`),ir=y(`<div class="tab-panel svelte-1stnz8g"><!></div>`),ar=y(`<div class="tabs-container svelte-1stnz8g"><nav data-shell-tabs=""><div class="tabs-links-row svelte-1stnz8g"></div> <!></nav> <!></div>`),or=y(`<button type="button" role="tab"><span class="tab-content-wrapper svelte-1stnz8g"><span class="tab-label"> </span> <!> <!></span> <div class="active-indicator svelte-1stnz8g"></div></button>`),sr=y(`<div class="tab-panel svelte-1stnz8g" role="tabpanel"><!></div>`),cr=y(`<div class="tabs-container svelte-1stnz8g"><div role="tablist"></div> <!></div>`);function lr(t,n){let l=s();i(n,!0);let d=(t,i=o)=>{var a=tr();let s;var c=F(a),l=O(c,!0),d=M(c,2),f=t=>{var n=$n(),r=O(n,!0);w(()=>e(r,i().count)),b(t,n)};h(d,e=>{i().count!==void 0&&e(f)});var p=M(d,2),g=t=>{var n=er(),r=O(n,!0);w(()=>e(r,i().badge)),b(t,n)},_=z(()=>B(i()));h(p,e=>{S(_)&&e(g)}),m(a),w(()=>{s=r(a,1,`tab-link svelte-1stnz8g`,null,s,{active:i().id===n.active}),I(a,`href`,i().disabled?void 0:i().href),I(a,`aria-current`,i().id===n.active?`page`:void 0),I(a,`aria-disabled`,i().disabled?`true`:void 0),I(a,`data-tab-id`,i().id),e(l,i().label)}),u(`click`,a,e=>{if(i().disabled){e.preventDefault();return}U(i().id)}),b(t,a)},g=C(n,`size`,3,`md`),_=C(n,`variant`,3,`primary`),y=C(n,`moreLabel`,3,`More`),x=C(n,`moreBadgeLabel`,3,`has updates`),D=z(()=>n.tabs.length>0&&n.tabs.every(e=>!!e.href)),A=z(()=>S(D)?Qn(n.tabs,n.active,n.maxVisible):{visible:n.tabs,overflow:[]}),N=z(()=>S(A).overflow.some(e=>B(e))),P=L(null),R=L(null);j(()=>{let e=n.active;S(D)&&S(R)&&(S(P)&&(S(P).open=!1),S(R).querySelector(`[data-tab-id="${CSS.escape(e)}"]`)?.scrollIntoView?.({block:`nearest`,inline:`nearest`}))});function B(e){return e.badge!==void 0&&e.badge!==null&&e.badge!==``}let V=z(()=>n.tabs.filter(e=>!e.disabled)),H=L(null);function U(e){n.tabs.find(t=>t.id===e)?.disabled||e!==n.active&&n.onchange?.(e)}function ne(e,t){let r=S(V).findIndex(e=>e.id===t),i=null;switch(e.key){case`ArrowRight`:e.preventDefault(),i=(r+1)%S(V).length;break;case`ArrowLeft`:e.preventDefault(),i=(r-1+S(V).length)%S(V).length;break;case`Home`:e.preventDefault(),i=0;break;case`End`:e.preventDefault(),i=S(V).length-1}if(i!==null&&i!==r){let e=S(V)[i];e&&(n.onchange?.(e.id),requestAnimationFrame(()=>{(S(H)?.querySelector(`[data-tab-id="${CSS.escape(e.id)}"]`))?.focus()}))}}var W=c(),re=E(W),G=t=>{var i=ar(),o=F(i);let s;var c=F(o);a(c,21,()=>S(A).visible,e=>e.id,(e,t)=>{d(e,()=>S(t))}),m(c),T(c,e=>k(R,e),()=>S(R));var l=M(c,2),u=t=>{var n=rr(),r=F(n),i=F(r),o=O(i,!0),s=M(i,2),c=t=>{var n=nr(),r=M(E(n),2),i=O(r);w(()=>e(i,`(${x()??``})`)),b(t,n)};h(s,e=>{S(N)&&e(c)}),m(r);var l=M(r,2);a(l,21,()=>S(A).overflow,e=>e.id,(e,t)=>{d(e,()=>S(t))}),m(l),m(n),T(n,e=>k(P,e),()=>S(P)),w(()=>e(o,y())),b(t,n)};h(l,e=>{S(A).overflow.length>0&&e(u)}),m(o);var f=M(o,2),_=e=>{var t=ir(),r=F(t);p(r,()=>n.children),m(t),b(e,t)};h(f,e=>{n.children&&e(_)}),m(i),w(()=>{s=r(o,1,`tabs-links svelte-1stnz8g`,null,s,{sm:g()===`sm`,lg:g()===`lg`}),I(o,`aria-label`,n[`aria-label`])}),b(t,i)},K=t=>{var i=cr(),o=F(i);let s;a(o,21,()=>n.tabs,e=>e.id,(t,i)=>{var a=or();let o;var s=F(a),c=F(s),d=O(c,!0),p=M(c,2),g=t=>{var n=$n(),r=O(n,!0);w(()=>e(r,S(i).count)),b(t,n)};h(p,e=>{S(i).count!==void 0&&e(g)});var _=M(p,2),v=t=>{var n=er(),r=O(n,!0);w(()=>e(r,S(i).badge)),b(t,n)},y=z(()=>B(S(i)));h(_,e=>{S(y)&&e(v)}),m(s),f(2),m(a),ee(a,e=>te?.(e)),w(()=>{o=r(a,1,`tab-button svelte-1stnz8g`,null,o,{active:S(i).id===n.active}),a.disabled=S(i).disabled,I(a,`id`,`tab-${l}-${S(i).id??``}`),I(a,`aria-selected`,S(i).id===n.active),I(a,`aria-controls`,`tab-panel-${l}`),I(a,`tabindex`,S(i).id===n.active?0:-1),I(a,`data-tab-id`,S(i).id),e(d,S(i).label)}),u(`click`,a,()=>U(S(i).id)),u(`keydown`,a,e=>ne(e,S(i).id)),b(t,a)}),m(o),T(o,e=>k(H,e),()=>S(H));var c=M(o,2),d=e=>{var t=sr(),r=F(t);p(r,()=>n.children),m(t),w(()=>{I(t,`id`,`tab-panel-${l}`),I(t,`aria-labelledby`,`tab-${l}-${n.active??``}`)}),b(e,t)};h(c,e=>{n.children&&e(d)}),m(i),w(()=>{s=r(o,1,`tabs-nav svelte-1stnz8g`,null,s,{sm:g()===`sm`,lg:g()===`lg`,secondary:_()===`secondary`}),I(o,`aria-label`,n[`aria-label`])}),b(t,i)};h(re,e=>{S(D)?e(G):e(K,-1)}),b(t,W),v()}N([`click`,`keydown`]),N([`click`,`keydown`]);function ur(){let e=new Map,t=new Map,n=(e,t)=>`${e}:${t}`;return{register(t,r,i){e.set(n(t,r),i)},get(t,r){return e.get(n(t,r))},has(t,r){return e.has(n(t,r))},getSlots(t){let n=`${t}:`;return Array.from(e.keys()).filter(e=>e.startsWith(n)).map(e=>e.slice(n.length))},getModules(){return Array.from(t.keys())},getModuleMeta(e){return t.get(e)},registerModule(e){t.set(e.name,e)},unregister(t,r){return e.delete(n(t,r))},clear(){e.clear(),t.clear()}}}var dr=ur();export{J as $,on as A,St as B,Q as C,nn as D,Xt as E,Ft as F,ht as G,wt as H,Nt as I,vt as J,_t as K,jt as L,an as M,Dt as N,en as O,At as P,Ae as Q,Pt as R,cn as S,Yt as T,xt as U,Ct as V,yt as W,We as X,rt as Y,Z,_n as _,Wn as a,mn as b,Tn as c,Nn as d,me as et,Sn as f,fn as g,un as h,Kn as i,G as it,Qt as j,tn as k,kn as l,yn as m,lr as n,q as nt,$ as o,bn as p,gt as q,Zn as r,de as rt,An as s,dr as t,ye as tt,Pn as u,hn as v,dn as w,pn as x,gn as y,Mt as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=function(e,t){return new URL(e,t).href},t={},n=function(n,r,i){let a=Promise.resolve();if(r&&r.length>0){let n=document.getElementsByTagName(`link`),o=document.querySelector(`meta[property=csp-nonce]`),s=o?.nonce||o?.getAttribute(`nonce`);function c(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function l(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}a=c(r.map(r=>{if(r=e(r,i),r=l(r),r in t)return;t[r]=!0;let a=r.endsWith(`.css`);for(let e=n.length-1;e>=0;e--){let t=n[e];if(t.href===r&&(!a||t.rel===`stylesheet`))return}let o=document.createElement(`link`);if(o.rel=a?`stylesheet`:`modulepreload`,a||(o.as=`script`),o.crossOrigin=``,o.href=r,s&&o.setAttribute(`nonce`,s),document.head.appendChild(o),a)return new Promise((e,t)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${r}`)))})}).filter(e=>e!==void 0))}function o(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return a.then(e=>{for(let t of e||[])t.status===`rejected`&&o(t.reason);return n().catch(o)})};export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.m_U8WC7E.js","../chunks/Dd_uD5pT.js","../chunks/Chyo8rdT.js","../chunks/2jFBkS1C.js","../chunks/Dt-HX3Vu.js","../chunks/xihTtKlq.js","../chunks/1okeBSoq.js","../chunks/D0VgZnk1.js","../chunks/BWPhGFHl.js","../assets/feedback.BVKAwFck.css","../chunks/CWtfVMDz.js","../chunks/CPRHZZeW.js","../assets/Button.DkP0qkG9.css","../assets/ui.B1A1Zl2p.css","../chunks/DVRKjN-E.js","../assets/SegmentedControl.B8SrQacd.css","../chunks/WxSPP8QW.js","../chunks/CygC84VT.js","../assets/forms.BChZ2RWM.css","../chunks/p6bgzXiY.js","../chunks/D_J_XtJy.js","../assets/dist.C5nHBk_O.css","../chunks/BKwRT_1p.js","../assets/store.CGDwHkkF.css","../assets/workspace.BIMkuZDb.css","../chunks/CsprTb3f.js","../chunks/uBIymjUX.js","../chunks/CRQ1Pmzr.js","../chunks/B4Kevpe0.js","../chunks/BYcBM-fh.js","../chunks/Ci0DUht6.js","../chunks/DkR8_Ws6.js","../chunks/C7zBd-pD.js","../chunks/D7hhQvDO.js","../chunks/CA-A9Ngs.js","../chunks/CyUMm_Wp.js","../chunks/BQxY8kkL.js","../chunks/leQCwW2d.js","../assets/AiSetup.Cb22AigN.css","../chunks/CMhpRMKg.js","../chunks/Dp9GVO-9.js","../chunks/6P9zxrzU.js","../chunks/BnRri03M.js","../chunks/DqcD-WtP.js","../chunks/DNRgqfTx.js","../chunks/DD7gpKb2.js","../assets/SectionIcons.5Udq9vN-.css","../assets/SectionActions.CTkVuNMF.css","../chunks/CgAkqYsL.js","../assets/0.B5zXkXe_.css","../nodes/1.Crw8ULhB.js","../nodes/2.CR5BwGnt.js","../chunks/QukgIHDX.js","../assets/percent.LH0z-ozZ.css","../assets/2.CyaWdRdI.css","../nodes/3.1B56hgAG.js","../assets/3.BlPQOes8.css","../nodes/4.SSIC7sUh.js","../nodes/5.DgdwleDQ.js","../nodes/6.DmD9rqLU.js","../chunks/DRByVC-c.js","../chunks/Xp1g1t4n.js","../chunks/BS4h9ES-.js","../assets/FieldMapForm.BCU-4pO4.css","../chunks/BJfAXhak.js","../chunks/D71UrO5c.js","../assets/ModelPage.Dd3LcMta.css","../nodes/7.DdngsBmo.js","../nodes/8.D2Mszsua.js","../assets/8.2gQeKBp_.css","../nodes/9.CLYsywul.js","../chunks/CmmuWmp6.js","../assets/ConnectTools.BgIJOOGW.css","../assets/9.HOPT4xtg.css","../nodes/10.1nQxyH9H.js","../assets/10.hpcnxvK1.css","../nodes/11.Cw0JnQF3.js","../assets/11.D7zoXfVV.css","../nodes/12.BIocA1aI.js","../assets/12.CPobm1ED.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,B as t,Et as n,H as r,K as i,M as a,Nt as o,R as s,Tt as c,U as l,V as u,Z as d,a as f,at as p,d as m,dt as h,gt as g,i as _,ot as v,pt as y,r as b,st as x,ut as S,vt as C,xt as w}from"../chunks/Chyo8rdT.js";import{t as T}from"../chunks/uBIymjUX.js";import"../chunks/xihTtKlq.js";var E={},D=l(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),O=l(`<!> <!>`,1);function k(l,_){n(_,!0);let T=f(_,`components`,23,()=>[]),E=f(_,`data_0`,3,null),k=f(_,`data_1`,3,null);x(()=>_.stores.page.set(_.page)),v(()=>{_.stores,_.page,_.constructors,T(),_.form,E(),k(),_.stores.page.notify()});let A=C(!1),j=C(!1),M=C(null);b(()=>{let t=_.stores.page.subscribe(()=>{d(A)&&(g(j,!0),e().then(()=>{g(M,document.title||`untitled page`,!0)}))});return g(A,!0),t});let N=w(()=>_.constructors[1]);var P=O(),F=h(P),I=e=>{let t=w(()=>_.constructors[0]);var n=r(),i=h(n);a(i,()=>d(t),(e,t)=>{m(t(e,{get data(){return E()},get form(){return _.form},get params(){return _.page.params},children:(e,t)=>{var n=r(),i=h(n);a(i,()=>d(N),(e,t)=>{m(t(e,{get data(){return k()},get form(){return _.form},get params(){return _.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),u(e,n)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),u(e,n)},L=e=>{let t=w(()=>_.constructors[0]);var n=r(),i=h(n);a(i,()=>d(t),(e,t)=>{m(t(e,{get data(){return E()},get form(){return _.form},get params(){return _.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),u(e,n)};s(F,e=>{_.constructors[1]?e(I):e(L,-1)});var R=y(F,2),z=e=>{var n=D(),r=S(n),a=e=>{var n=i();p(()=>t(n,d(M))),u(e,n)};s(r,e=>{d(j)&&e(a)}),o(n),u(e,n)};s(R,e=>{d(A)&&e(z)}),u(l,P),c()}var A=_(k),j=[()=>T(()=>import(`../nodes/0.m_U8WC7E.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49]),import.meta.url),()=>T(()=>import(`../nodes/1.Crw8ULhB.js`),__vite__mapDeps([50,2,1,5,42,3,4]),import.meta.url),()=>T(()=>import(`../nodes/2.CR5BwGnt.js`),__vite__mapDeps([51,2,1,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,43,52,53,54]),import.meta.url),()=>T(()=>import(`../nodes/3.1B56hgAG.js`),__vite__mapDeps([55,2,1,5,40,30,26,11,12,14,8,15,16,7,9,10,13,17,18,19,20,21,22,23,31,25,27,28,29,39,32,33,34,35,36,37,38,56]),import.meta.url),()=>T(()=>import(`../nodes/4.SSIC7sUh.js`),__vite__mapDeps([57,2,1,3,4,5,40,41]),import.meta.url),()=>T(()=>import(`../nodes/5.DgdwleDQ.js`),__vite__mapDeps([58,2,1,3,4,5,40,41]),import.meta.url),()=>T(()=>import(`../nodes/6.DmD9rqLU.js`),__vite__mapDeps([59,1,2,5,20,60,4,61,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,27,42,3,43,45,46,39,48,62,52,28,34,26,53,63,64,65,66]),import.meta.url),()=>T(()=>import(`../nodes/7.DdngsBmo.js`),__vite__mapDeps([67,1,2,5,19,7,8,9,10,11,12,13,14,15,20,21,60,4,61,6,16,17,18,22,23,24,27,42,3,43,45,46,39,48,62,52,28,34,26,53,63,64,65,66]),import.meta.url),()=>T(()=>import(`../nodes/8.D2Mszsua.js`),__vite__mapDeps([68,2,1,5,17,8,11,12,14,15,18,20,69]),import.meta.url),()=>T(()=>import(`../nodes/9.CLYsywul.js`),__vite__mapDeps([70,1,2,5,20,60,4,71,10,8,11,12,13,72,73]),import.meta.url),()=>T(()=>import(`../nodes/10.1nQxyH9H.js`),__vite__mapDeps([74,1,2,5,14,8,15,17,11,12,18,19,7,9,10,13,20,21,45,46,60,4,62,27,22,43,52,28,34,26,53,63,75]),import.meta.url),()=>T(()=>import(`../nodes/11.Cw0JnQF3.js`),__vite__mapDeps([76,1,2,5,19,7,8,9,10,11,12,13,14,15,20,21,45,46,60,4,64,71,72,77]),import.meta.url),()=>T(()=>import(`../nodes/12.BIocA1aI.js`),__vite__mapDeps([78,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,42,3,4,37,43,45,46,44,47,48,65,79]),import.meta.url)],M=[],N={"/":[2],"/ai":[3],"/blueprint":[4],"/cookbook":[5],"/m/[package]/[model]":[6],"/m/[package]/[model]/[view]":[7],"/packages":[8],"/packages/[id]":[9],"/recipes/[id]":[10],"/recipes/[id]/help":[11],"/s/[section]":[12]},P={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},F=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.decode])),I=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.encode])),L=!1,R=(e,t)=>F[e](t),z=()=>T(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{R as decode,F as decoders,N as dictionary,I as encoders,z as get_error_template,L as hash,P as hooks,E as matchers,j as nodes,A as root,M as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,s as t}from"../chunks/2jFBkS1C.js";export{t as load_css,e as start};
|