{"packageName":"@cedros/directory","packageRoot":"workspace/react","entryPath":"workspace/react/dist/web/register.js","surfaceEntryPaths":{"web":"workspace/react/dist/web/register.js"},"surfaceFilePaths":{"web":["workspace/react/dist/web/document.css","workspace/react/dist/web/register.js"]},"files":[{"path":"workspace/react/dist/web/document.css","kind":"style","text":".cedros-directory-document {\n  color: var(--cuqjpvh-runtime-text, var(--cuqjpvhr-fg, inherit));\n  font: inherit;\n  line-height: 1.6;\n  display: grid;\n  gap: 24px;\n  max-width: 1120px;\n  margin-inline: auto;\n  padding: 20px 16px;\n  overflow-wrap: anywhere;\n}\n.cedros-directory-document h1,\n.cedros-directory-document h2 { line-height: 1.2; margin: 0 0 12px; font-weight: 600; }\n.cedros-directory-document h1 { font-size: 24px; }\n.cedros-directory-document h2 { font-size: 18px; }\n.cedros-directory-document p { margin: 0 0 12px; white-space: normal; }\n.cedros-directory-document a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }\n.cedros-directory-document-facts { display: grid; gap: 16px; margin: 0; }\n.cedros-directory-document-facts dt { color: var(--cuqjpvh-runtime-muted, var(--cuqjpvhr-muted, #666)); font-size: 14px; }\n.cedros-directory-document-facts dd { margin: 4px 0 0; }\n.cedros-directory-document-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }\n.cedros-directory-document-card { border: 1px solid var(--cuqjpvh-runtime-border, var(--cuqjpvhr-border, #ddd)); border-radius: 12px; padding: 20px; }\n.cedros-directory-document-badge { display: inline-block; border: 1px solid var(--cuqjpvh-runtime-border, var(--cuqjpvhr-border, #ddd)); border-radius: 999px; padding: 3px 9px; font-size: 12px; }\n.cedros-directory-document-categories,\n.cedros-directory-document-pagination { display: flex; flex-wrap: wrap; gap: 16px; padding: 0; list-style: none; }\n.cedros-directory-document-pagination a { min-height: 44px; display: inline-flex; align-items: center; }\n"},{"path":"workspace/react/dist/web/register.js","kind":"module","text":"import{jsx as mu}from\"react/jsx-runtime\";var pa={schemaVersion:1,extensionId:\"cedros-directory\",displayName:\"Cedros Directory\",version:\"8.13.2\",description:\"A trustworthy, searchable site directory where visitors can find and contact relevant listings, contributors can track reviewed proposals and claims, and verified owners can keep listings accurate.\",platformApiVersion:\"1\",compatibility:{platformApiVersion:\"1\",minCedrosDataVersion:\"0.1.218\",witChecksum:\"7d68f118765dc269195ec18eab62cf7bd25b414ec3e97baa616e988896a80b08\"},packageFamily:{server:{packageName:\"cedros-directory-server\",version:\"8.13.2\",required:!0},react:{packageName:\"@cedros/directory\",version:\"8.13.2\",required:!0},reactNative:{packageName:\"@cedros/directory-native\",version:\"8.13.2\",required:!0}},dependencies:{extensions:[{extensionId:\"cedros-login\",minVersion:\"2.0.26\",required:!0,reason:\"Core verifies current sessions and preserves existing Login-owned Directory record keys through its request-bound identity service.\"},{extensionId:\"cedros-pay\",minVersion:\"5.6.0\",required:!1,reason:\"Optional fee-owner v2 and original refund/reconciliation services; exact installed capability/grant tuple required.\"}],capabilities:[{capabilityId:\"cedros-data:extension-storage-cas-v1\",required:!0,reason:\"Prevents lost updates when admins, jobs, retries, claims, and owner-review workflows mutate shared Directory records.\"},{capabilityId:\"cedros-login:user-context\",required:!0,reason:\"Required admission for the request-bound Core Login subject service; credentials remain private to the host.\"},{capabilityId:\"cedros-notifications:route-write\",required:!0,reason:\"Durably queues and reconciles Directory team alerts through the site-owned Notifications runtime.\"},{capabilityId:\"cedros-data:notification-event-publish-v1\",required:!0,reason:\"Durably queues and reconciles Directory team alerts through the site-owned Notifications runtime.\"},{capabilityId:\"cedros-data:notification-event-status-read-v1\",required:!0,reason:\"Durably queues and reconciles Directory team alerts through the site-owned Notifications runtime.\"},{capabilityId:\"cedros-data:notification-event-telemetry-isolation-v1\",required:!0,reason:\"Retains analytics for durable Directory team alerts without also invoking legacy telemetry notification routing. Hosts without this exact marker must reject admission.\"},{capabilityId:\"cedros-data:extension-visitor-v1\",required:!0,reason:\"Verifies the current end user through Core while preserving existing Login-subject ownership and host CSRF enforcement.\"},{capabilityId:\"cedros-data:login-subject-read-v1\",required:!0,reason:\"Verifies the current end user through Core while preserving existing Login-subject ownership and host CSRF enforcement.\"},{capabilityId:\"cedros-data:site-identity-v1\",required:!0,reason:\"Real site identity and atomic multi-record fee fulfillment.\"},{capabilityId:\"cedros-data:checkout-owner-invocation-v2\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:checkout-owner-binding-v2\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:extension-fee-descriptor-v1\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:extension-fee-product-upsert-v1\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:extension-fee-read-v1\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:extension-fee-recover-v1\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:extension-fee-activate-v1\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:extension-fee-revoke-v1\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-pay:extension-refund-v1\",required:!1,reason:\"Complete optional fee-owner v2 group; missing, old or denied Pay disables fees while free/editorial workflows remain available.\"},{capabilityId:\"cedros-data:extension-public-document-v1\",required:!0,reason:\"Core serves the complete sanitized public listing and category body on canonical SEO routes.\"}]},surfaces:{server:{packageRef:\"server\",required:!0,settingsSchemas:[\"cedros-directory:directory-settings\",\"cedros-directory:integration-settings\",\"cedros-directory:retention-settings\",\"cedros-directory:ai-settings\"],contentModels:[\"cedros-directory:directories\",\"cedros-directory:schemas\",\"cedros-directory:categories\",\"cedros-directory:tags\",\"cedros-directory:listings\",\"cedros-directory:listing-bookkeeping\",\"cedros-directory:listing-revisions\",\"cedros-directory:submissions\",\"cedros-directory:claims\",\"cedros-directory:owners\",\"cedros-directory:plans\",\"cedros-directory:placements\",\"cedros-directory:inquiries\",\"cedros-directory:reviews\",\"cedros-directory:saved-listings\",\"cedros-directory:search-logs\",\"cedros-directory:analytics-rollups\",\"cedros-directory:audit-events\",\"cedros-directory:imports\",\"cedros-directory:route-aliases\",\"cedros-directory:notification-outbox\",\"cedros-directory:saved-searches\",\"cedros-directory:agent-commands\",\"cedros-directory:intake-invitations\",\"cedros-directory:intake-agreements\",\"cedros-directory:intake-acceptances\",\"cedros-directory:intake-attempts\",\"cedros-directory:fee-reservations\"],migrations:[],routes:[\"cedros-directory:fee-owner-authority-v2\",\"cedros-directory:buyer-fee-offers\",\"cedros-directory:buyer-fee-reserve\",\"cedros-directory:buyer-fee-quote\",\"cedros-directory:buyer-fee-checkout\",\"cedros-directory:buyer-fee-status\",\"cedros-directory:buyer-fee-resolve\",\"cedros-directory:buyer-fee-return-verify\",\"cedros-directory:fee-product-setup\",\"cedros-directory:fee-read\",\"cedros-directory:fee-recover\",\"cedros-directory:fee-activate\",\"cedros-directory:fee-revoke\",\"cedros-directory:fee-refund\",\"cedros-directory:fee-reservations\",\"cedros-directory:fee-reservations-list\",\"cedros-directory:fee-refund-duplicate\",\"cedros-directory:fee-price-approve\",\"cedros-directory:fee-offer-flags\",\"cedros-directory:fee-approve\",\"cedros-directory:public-disclosure\",\"cedros-directory:agent-intake\",\"cedros-directory:agent-snapshot\",\"cedros-directory:agent-moderate\",\"cedros-directory:agent-listing\",\"cedros-directory:agent-placement\",\"cedros-directory:agent-priority\",\"cedros-directory:agent-setup\",\"cedros-directory:agent-settings\",\"cedros-directory:agent-plans\",\"cedros-directory:agent-import\",\"cedros-directory:agent-test-submission\",\"cedros-directory:admin-listings-import\",\"cedros-directory:admin-tags-list\",\"cedros-directory:admin-tags-create\",\"cedros-directory:admin-tag-update\",\"cedros-directory:public-tags-list\",\"cedros-directory:public-reviews-list\",\"cedros-directory:public-review-submit\",\"cedros-directory:owner-review-withdraw\",\"cedros-directory:owner-reviews-list\",\"cedros-directory:admin-reviews-list\",\"cedros-directory:admin-review-approve\",\"cedros-directory:admin-review-reject\",\"cedros-directory:owner-saved-searches-list\",\"cedros-directory:owner-saved-search-create\",\"cedros-directory:owner-saved-search-read\",\"cedros-directory:owner-saved-search-delete\",\"cedros-directory:owner-saved-listings-list\",\"cedros-directory:owner-listing-save\",\"cedros-directory:owner-listing-unsave\",\"cedros-directory:owner-listing-analytics\",\"cedros-directory:admin-directories-list\",\"cedros-directory:admin-directories-create\",\"cedros-directory:admin-directory-read\",\"cedros-directory:admin-directory-update\",\"cedros-directory:admin-directory-delete\",\"cedros-directory:admin-directory-schema-read\",\"cedros-directory:admin-directory-schema-upsert\",\"cedros-directory:admin-categories-list\",\"cedros-directory:admin-categories-create\",\"cedros-directory:admin-category-read\",\"cedros-directory:admin-category-update\",\"cedros-directory:admin-category-archive\",\"cedros-directory:admin-listings-list\",\"cedros-directory:admin-listings-create\",\"cedros-directory:admin-listing-read\",\"cedros-directory:admin-listing-update\",\"cedros-directory:admin-listing-publish\",\"cedros-directory:admin-listing-unpublish\",\"cedros-directory:admin-listing-suspend\",\"cedros-directory:admin-listing-archive\",\"cedros-directory:admin-listing-feature\",\"cedros-directory:admin-listing-sponsor\",\"cedros-directory:admin-submissions-list\",\"cedros-directory:admin-submission-approve\",\"cedros-directory:admin-submission-reject\",\"cedros-directory:admin-claims-list\",\"cedros-directory:admin-claim-approve\",\"cedros-directory:admin-claim-reject\",\"cedros-directory:admin-revisions-list\",\"cedros-directory:admin-revision-approve\",\"cedros-directory:admin-revision-reject\",\"cedros-directory:admin-plans-list\",\"cedros-directory:admin-plans-create\",\"cedros-directory:admin-plan-update\",\"cedros-directory:admin-plan-availability\",\"cedros-directory:admin-inquiries-list\",\"cedros-directory:admin-inquiry-resolve\",\"cedros-directory:admin-analytics-summary\",\"cedros-directory:admin-export\",\"cedros-directory:admin-settings-read\",\"cedros-directory:admin-settings-update\",\"cedros-directory:admin-settings-autosave\",\"cedros-directory:public-directory-read\",\"cedros-directory:public-listings-list\",\"cedros-directory:public-categories-list\",\"cedros-directory:public-listing-read\",\"cedros-directory:public-inquiry-create\",\"cedros-directory:public-search-event-create\",\"cedros-directory:public-claim-create\",\"cedros-directory:public-submission-create\",\"cedros-directory:agent-submission-create\",\"cedros-directory:owner-listings-list\",\"cedros-directory:owner-listing-read\",\"cedros-directory:owner-listing-draft-update\",\"cedros-directory:owner-listing-submit-changes\",\"cedros-directory:owner-listing-renew\",\"cedros-directory:forms-submission-ingest\",\"cedros-directory:ai-suggest-category\",\"cedros-directory:ai-detect-duplicates\",\"cedros-directory:ai-rewrite-description\"],jobs:[\"cedros-directory:expire-listings\",\"cedros-directory:renewal-reminders\",\"cedros-directory:analytics-rollup\",\"cedros-directory:cleanup-retained-data\",\"cedros-directory:beacon-export\",\"cedros-directory:publish-notifications\",\"cedros-directory:review-placement-maintenance\",\"cedros-directory:reconcile-fees\"],events:[\"cedros-directory:listing-viewed\",\"cedros-directory:search-performed\",\"cedros-directory:inquiry-created\",\"cedros-directory:claim-submitted\",\"cedros-directory:claim-approved\",\"cedros-directory:claim-rejected\",\"cedros-directory:listing-submitted\",\"cedros-directory:owner-update-submitted\",\"cedros-directory:listing-published\",\"cedros-directory:payment-required\",\"cedros-directory:payment-succeeded\",\"cedros-directory:renewal-due\",\"cedros-directory:renewal-requested\",\"cedros-directory:payment-pending\",\"cedros-directory:payment-failed\",\"cedros-directory:payment-refunded\",\"cedros-directory:payment-disputed\",\"cedros-directory:sponsored-expired\",\"cedros-directory:verification-due\",\"cedros-directory:priority-refund-due\"]},admin:{packageRef:\"react\",required:!0,moduleIds:[\"cedros-directory:admin\"]},web:{packageRef:\"react\",required:!0,routeIds:[\"cedros-directory:directory-page\",\"cedros-directory:listing-page\",\"cedros-directory:submit-page\",\"cedros-directory:claim-page\",\"cedros-directory:pricing-page\",\"cedros-directory:owner-page\",\"cedros-directory:listing-seo-route\",\"cedros-directory:category-seo-route\",\"cedros-directory:disclosure-page\"],blockTypes:[\"cedros-directory:directory-search\",\"cedros-directory:listing-grid\",\"cedros-directory:listing-list\",\"cedros-directory:featured-listings\",\"cedros-directory:sponsored-listings\",\"cedros-directory:category-grid\",\"cedros-directory:location-grid\",\"cedros-directory:map\",\"cedros-directory:single-listing\",\"cedros-directory:submit-listing\",\"cedros-directory:claim-listing\",\"cedros-directory:owner-dashboard\",\"cedros-directory:directory-stats\",\"cedros-directory:related-listings\",\"cedros-directory:listing-disclosure\"],templateIds:[\"cedros-directory:directory-template\",\"cedros-directory:listing-template\",\"cedros-directory:submission-template\",\"cedros-directory:claim-template\",\"cedros-directory:pricing-template\",\"cedros-directory:owner-template\",\"cedros-directory:disclosure-template\"],authoredSurfaceIds:[\"cedros-directory:directory-pages\"],templateUtilityIds:[\"cedros-directory:directory-starter-set\"]},native:{packageRef:\"reactNative\",required:!0},ai:{packageRef:\"server\",skills:[{id:\"cedros-directory:listing-assistant\",name:\"Directory Listing Assistant\",description:\"Operate directories, typed imports, review queues, publication and honest paid benefits through confirmed admin capabilities.\",category:\"content\",tags:[\"directory\",\"listings\",\"moderation\"],visibility:\"admin\",docs:{markdown:`# Operate Directory with confirmed agent tools\n\nRead \\`cedros-directory:agent-snapshot\\` first. Select directories/categories/schema/listings, submission/claim/revision queues, settings, plans or analytics. Pages are bounded, include editable recordVersion and return pagination.nextOffset; refine by directory/status/id above the scan bound. includeDetails:true returns the proposal/schema/typed custom values needed for review. Use staleOnly:true for settings.staleListingDays and refundDue:true for paid-review obligations. These mutable operational lists are not a payment ledger.\n\nUse the published exact \\`cedros-directory:agent-*\\` actions with the host's verified admin bearer identity, the existing Directory permission and verified CSRF. Snapshot reads use POST and therefore the confirmed executor too. Confirm each material action before execution. Send a stable commandId, a new caller-assigned id and expectedVersion:\"\" for creates; otherwise send the exact recordVersion as expectedVersion. Listing/directory data are partial patches; arrays replace. Never overwrite unsaved human changes. A stale record returns 409.\n\nFinish installation by publishing the seeded pages. Core seeds /directory, /directory/listing, /directory/submit, /directory/claim, /directory/owner and /directory/how-listings-work as drafts (publishOnEnable:false), and drafts return 404. Core publishes no extension service that reads or publishes pages, so Directory cannot do this step itself. Call Core cedros.pages.extension_pages.list with extensionId cedros-directory, then agent-snapshot resource:pages with its pages array as coreExtensionPages (or coreReadError). A row with contentId:null is a seed Core has not created, not a draft. For each reported draft, get the owner's approval, confirm with cedros.page_builder.revisions.list that it was never published, read cedros.page_builder.release.readiness for the current revision id, then call cedros.page_builder.publish {contentId, reviewedRevisionId}. Never republish an unpublished page without the owner; it may have been taken down deliberately. Re-run the snapshot to confirm and open each route on the public site.\n\nAn empty site starts with agent-setup (directory create, category create, schema upsert). Schema upsert id is the directory id and an empty version means no existing schema. Define typed fields including text/select/multi-select/url-list/number/checkbox. Agent listing/import customValues are typed entries {key,type,text|number|boolean|values}; schema validation preserves JSON types. Keep the canonical file artifact's object-valued customValues unchanged. Run agent-import dryRun:true before commit (max 25 artifacts); it reports per-row errors and writes nothing. Create taxonomy before importing its slugs. Commit imports as drafts with a distinct commandId, then review and deliberately publish through agent-listing.\n\nReview submissions, claims and owner revisions with agent-moderate approve/reject/request-changes; rejection/changes require reviewNote. The contributor sees guidance and can resubmit through existing activity surfaces. Approval never buys public inclusion, ownership or verification, and approved submissions remain unpublished. Use agent-listing verify for lastVerifiedAt only; payment never sets it or ownership-reviewed status. Organic ordering and search ignore all payment/priority/placement state.\n\nUse agent-test-submission create with data.directoryId to test moderation without browser Login. It makes a marked Test record with a one-hour TTL, never a public listing or synthetic Login subject. Approve/reject separate records through agent-moderate, snapshot their new versions, then cleanup. The existing hourly cleanup job purges expired tests; they are excluded from public reads, analytics, exports and real contributor notifications. This admin-only test mode does not change normal contributor Login requirements.\n\nUse agent-settings to patch exactly one setting after its settings snapshot. paidListingsEnabled, payIntegration, plans, staleListingDays and disclosureCopy are agent-operable. The settings version is a snapshot hash: the host get/set API has no atomic settings CAS, so simultaneous unrelated host/UI writes cannot be serialized. Record-backed commands use actual database CAS.\n\nConfigure one_off priority_decision/priority_update plans with amountMinor, uppercase currency and slaHours; sponsored/featured plans use week/thirty_days. The v2 fee-product-setup action creates only the explicitly approved site/owner-namespaced product. Pay product references require [<Site>] names and siteLabel; the command records host-derived metadata.cedros_site_id. Preserve that site tag on actual shared-account Pay products, prices and checkouts. No product id, redirect or local receipt proves payment.\n\nNew verified fees use the source-pinned fee-owner v2 workflows below. Fee availability remains callable:false until installed acceptance. Price approval, product setup, original read/recover, explicit editorial approval/activation, revocation and #711 refunds are separate operations. An MCP operator key cannot buy as a customer. Existing manual grants retain their operator-confirmed evidence and external refund obligations; never backfill a native original from them.\n\nPlacements always show a public label. Editorial placements show Featured/Sponsored; a placement plan's optional publicLabel (sponsored, advertisement or paid_featured_placement) labels its paid placements Sponsored, Advertisement or Paid featured placement, frozen at checkout, and a current paid placement's label wins over an editorial one. Optional from/until schedule editorial placements; paid plans derive a 7- or 30-day end. Both flags share the legacy time window. Before start and at/after end they are inactive. Maintenance expires sponsored terms and queues operator notices through the existing Notifications route; configure its recipients with the host's agent tools. The public How Listings Work block/template reads disclosureCopy and states what is free/paid and that fees never buy inclusion, organic ranking or verification.\n\nRetain the exact commandId and original request after a lost reply. Snapshot resource:commands with commandId reads only the current operator's receipt, rechecking the original permission. Identical completed replay returns its durable response; changed input conflicts. A pending/indeterminate receipt may hide a completed target effect because reservation, target mutation and completion are separate transactions. Inspect current records; never automatically use a fresh commandId to repeat an uncertain effect. Command receipts and Site Brain summaries are not financial truth. No site secret, payment instrument or provider credential belongs in tool input or logs.\n\nAssistive category/duplicate/copy tools remain review-only and use the configured host intelligence provider. They never publish automatically. Private contacts, street addresses, custom answers and moderation evidence must not be sent to the AI provider. See docs/api.md and docs/integrations.md for exact inputs and unresolved owner contracts.\n\nExisting tag administration also uses agent-setup resource:tag; snapshot supports tags, reviews and inquiries. Agent-moderate resource:review supports approve/reject with reviewNote, and resource:inquiry action:resolve records resolutionOutcome (replied/forwarded/handled_elsewhere) plus optional resolutionNote; handled_elsewhere needs an explanation. These confirm outcomes already performed, without sending messages. Listing updates can clear optional expiry/plan/contact/location values through data.clearFields and optional custom answers through data.clearCustomKeys, with required-field checks preserved.\n\n## Worked minimal workflows (8.10.0)\n\nThese examples are executed by the local handler tests in examples/agent/minimal-workflows.json. Receipts show relevant fields only; opaque versions shown here are fixture values. Read current versions immediately before edits. Each mutating admin success also returns commandId; after a lost response, snapshot resource:commands with that same commandId to read its durable receipt. Snapshot, dry-run import and assistive AI tools do not create a command receipt.\n\n### cedros-directory:agent-snapshot\n\nDirectory main has no schema yet. Snapshot is read-only and has no command receipt.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"directories\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"schema\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"records\": [\n      {\n        \"directoryId\": \"main\",\n        \"fields\": [],\n        \"recordVersion\": \"\"\n      }\n    ]\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-setup\n\nAn active public directory main already exists.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"schema\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-setup\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-setup\",\n  \"resource\": \"schema\",\n  \"action\": \"upsert\",\n  \"id\": \"main\",\n  \"expectedVersion\": \"\",\n  \"data\": {\n    \"fields\": [\n      {\n        \"key\": \"pricingModel\",\n        \"label\": \"Pricing model\",\n        \"type\": \"select\",\n        \"public\": true,\n        \"filterable\": true,\n        \"options\": [\n          {\n            \"label\": \"Free\",\n            \"value\": \"free\"\n          },\n          {\n            \"label\": \"Paid\",\n            \"value\": \"paid\"\n          }\n        ]\n      },\n      {\n        \"key\": \"officialLinks\",\n        \"label\": \"Official links\",\n        \"type\": \"url-list\",\n        \"public\": true\n      }\n    ]\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"id\": \"schema_main\",\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-listing\n\nAn active public directory main already exists.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"listings\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-listing\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-listing\",\n  \"action\": \"create\",\n  \"id\": \"listing\",\n  \"expectedVersion\": \"\",\n  \"data\": {\n    \"directoryId\": \"main\",\n    \"title\": \"Profile\",\n    \"slug\": \"profile\",\n    \"summary\": \"Useful profile\"\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"id\": \"listing\",\n    \"status\": \"draft\",\n    \"visibility\": \"public\",\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-test-submission\n\nAn active public directory main already exists.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"submissions\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-test-submission\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-test-submission\",\n  \"action\": \"create\",\n  \"id\": \"test-request\",\n  \"expectedVersion\": \"\",\n  \"data\": {\n    \"directoryId\": \"main\"\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"id\": \"test-request\",\n    \"isTest\": true,\n    \"status\": \"pending\",\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-moderate\n\nThe preceding Test submission is pending; use its latest snapshot recordVersion (read-v1 in this example).\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"submissions\",\n  \"id\": \"test-request\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-moderate\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-moderate\",\n  \"resource\": \"submission\",\n  \"action\": \"request-changes\",\n  \"id\": \"test-request\",\n  \"expectedVersion\": \"read-v1\",\n  \"data\": {\n    \"reviewNote\": \"Please correct the supporting details\"\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"status\": \"changes_requested\",\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-placement\n\nListing listing exists. This is an editorial placement with no payment claim; an empty data object means enabled now with no expiry.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"listings\",\n  \"id\": \"listing\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-placement\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-placement\",\n  \"id\": \"listing\",\n  \"expectedVersion\": \"read-v1\",\n  \"placement\": \"sponsored\",\n  \"data\": {}\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"placement\": {\n      \"sponsored\": true,\n      \"label\": \"Sponsored\"\n    },\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-priority\n\nA real pending submission request and active priority-plan exist, paidListingsEnabled=true and payIntegration=manual_products. The operator has checked this site's Pay reference and explicitly confirmed payment; this example does not verify settlement.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"submissions\",\n  \"id\": \"request\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-priority\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-priority\",\n  \"resource\": \"submission\",\n  \"id\": \"request\",\n  \"expectedVersion\": \"read-v1\",\n  \"data\": {\n    \"planId\": \"priority-plan\",\n    \"paymentReference\": \"pay-order-fixture\",\n    \"paymentConfirmed\": true\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"priorityReview\": {\n      \"status\": \"active\",\n      \"planId\": \"priority-plan\"\n    },\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-plans\n\nCreating plan metadata does not create a Pay product or charge a customer.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"plans\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-plans\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-plans\",\n  \"action\": \"create\",\n  \"id\": \"priority-plan\",\n  \"expectedVersion\": \"\",\n  \"data\": {\n    \"name\": \"Priority review\",\n    \"status\": \"active\",\n    \"kind\": \"priority_decision\",\n    \"billingPeriod\": \"one_off\",\n    \"amountMinor\": 1000,\n    \"currency\": \"USD\",\n    \"slaHours\": 24\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"id\": \"priority-plan\",\n    \"kind\": \"priority_decision\",\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-settings\n\nReplace $snapshot.recordVersion with the exact hash from the settings snapshot. Patch exactly one setting; settings have comparison but no atomic host CAS.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"settings\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-settings\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-settings\",\n  \"expectedVersion\": \"$snapshot.recordVersion\",\n  \"data\": {\n    \"staleListingDays\": 90\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"staleListingDays\": 90\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:agent-import\n\nDirectory main exists and has no required custom fields. Dry run returns row receipts without writing; use a new commandId and dryRun:false only after review.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"directories\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:agent-import\\`):\n\\`\\`\\`json\n{\n  \"commandId\": \"example-import\",\n  \"data\": {\n    \"dryRun\": true,\n    \"artifacts\": [\n      {\n        \"kind\": \"cedros-directory-entry\",\n        \"schemaVersion\": 1,\n        \"directorySlug\": \"main\",\n        \"entry\": {\n          \"slug\": \"profile\",\n          \"title\": \"Profile\",\n          \"summary\": \"Useful profile\"\n        }\n      }\n    ]\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"rows\": [\n      {\n        \"valid\": true\n      }\n    ]\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:submit-directory-entry\n\nA real Cedros Login account and explicit submission approval are required. An admin may check directory availability with snapshot; contributors use public directory metadata. Admission never publishes.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"directories\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:submit-directory-entry\\`):\n\\`\\`\\`json\n{\n  \"idempotencyKey\": \"example-submission\",\n  \"artifact\": {\n    \"kind\": \"cedros-directory-entry\",\n    \"schemaVersion\": 1,\n    \"directorySlug\": \"main\",\n    \"entry\": {\n      \"slug\": \"profile\",\n      \"title\": \"Profile\",\n      \"summary\": \"Useful profile\"\n    }\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"status\": \"pending\",\n    \"replayed\": false,\n    \"reviewRequired\": true\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:ai-suggest-category\n\nAI is enabled with a configured host intelligence provider. Suggestions are read-only, with no durable command receipt.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"categories\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:ai-suggest-category\\`):\n\\`\\`\\`json\n{\n  \"directoryId\": \"main\",\n  \"title\": \"Profile\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"reviewRequired\": true\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:ai-detect-duplicates\n\nAI is enabled with a configured host intelligence provider. Suggestions are read-only, with no durable command receipt.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"listings\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:ai-detect-duplicates\\`):\n\\`\\`\\`json\n{\n  \"listing\": {\n    \"directoryId\": \"main\",\n    \"title\": \"Profile\"\n  }\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"reviewRequired\": true\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:ai-rewrite-description\n\nAI is enabled with a configured host intelligence provider. Send public copy only; suggestions are read-only, with no durable command receipt.\n\nSnapshot (\\`agent-snapshot\\`):\n\\`\\`\\`json\n{\n  \"resource\": \"listings\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\nCommand (\\`cedros-directory:ai-rewrite-description\\`):\n\\`\\`\\`json\n{\n  \"title\": \"Profile\",\n  \"description\": \"Useful public profile\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"data\": {\n    \"reviewRequired\": true\n  }\n}\n\\`\\`\\`\n\n\n## Contributor intake (8.10.0)\n\nUse agent-snapshot resource:intake with directoryId to read ENFORCED policy, directory recordVersion, verification readiness and redacted invitation counts/status. agent-intake set-policy, publish-agreement and issue-invitation use that directory version; revoke-invitation uses its invitation recordVersion. Publish a new immutable agreement version with text or HTTPS URL and effectiveAt; old acceptances never satisfy a new version. set-policy invite_only defaults requireAdult and requireVerifiedEmail true. Include requiredDeclarations adult, no_minors and rights_ai with plain labels for the stock pilot. Keep invite_only until legal review. paused blocks all new submissions, claims and owner revisions/drafts. Gated requests always enter private admin review; approval never publishes.\n\nInvitations bind ONE exact Login subjectId, expire, default to one use and can be revoked. Deliver the response inviteToken privately yourself; Directory sends no notices and stores only its SHA-256 hash. Tokens appear once in the issue response and never in receipts; a lost response needs inspection/revoke, then deliberate reissue. Invitation list/snapshot provides redacted references and recordVersion. Do not put tokens or contributor email in public pages, analytics, logs or examples.\n\nIMPORTANT: kit 0.1.205 has no published admitted verified-email claim. extension-visitor-v1 visitor.email explicitly is not verification. login-member-context-read-v1 is implemented-unreleased-unverified, callable:false, has no qualified Core/Login floor, and exposes no email-verification field; neither login-subject-read-v1 nor login-session-read-v1 supplies it. requireVerifiedEmail therefore returns verified_email_unavailable and creates no pending record. Do not disable it for Picdrome to bypass this dependency. Owner/admin test-submission is the only private marked testing bypass. Forms ingestion remains disabled (forms_contract_required), with no trusted identity/acceptance source.\n\nContributor request intake is {inviteToken,agreementVersion,acceptAgreement:true,declarations:[{key,accepted:true}]}. Only the Core-verified Login subject identifies them; email, eligible, emailVerified or caller userId never establish eligibility. adult means at least 18; declarations and agreement cover no minors depicted and rights/AI provenance. Directory does not classify images. All admitted/refused gate decisions retain only subject hashes, invitation id, current version, acceptance time, declarations and decision/code. Consent and invitation use commit atomically with private review work; stored consent may be reused only for the same subject/current version and all current required declarations.\n\nMinimal enforced pause workflow:\n\n\\`\\`\\`json\n{\n  \"resource\": \"intake\",\n  \"directoryId\": \"main\"\n}\n\\`\\`\\`\n\n\\`\\`\\`json\n{\n  \"commandId\": \"example-intake-pause\",\n  \"action\": \"set-policy\",\n  \"directoryId\": \"main\",\n  \"expectedVersion\": \"read-v1\",\n  \"data\": {\n    \"mode\": \"paused\"\n  }\n}\n\\`\\`\\`\n\n\\`\\`\\`json\n{\n  \"data\": {\n    \"directoryId\": \"main\",\n    \"policy\": {\n      \"mode\": \"paused\"\n    },\n    \"recordVersion\": \"committed-v2\"\n  }\n}\n\\`\\`\\`\n\nAfter a fresh intake snapshot, publish-agreement data example: {\"version\":\"2026-11-17-v1\",\"text\":\"Reviewed contributor agreement text\",\"effectiveAt\":\"2026-11-17T00:00:00Z\"}. Issue-invitation data example: {\"subjectId\":\"<exact-host-verified-Login-subject>\",\"expiresAt\":\"2027-01-01T00:00:00Z\",\"useLimit\":1}. Use new commandIds and current expectedVersion for each operation. These are shapes, never instructions to create a fake account or send email.\n\nOwner drafts require the same eligibility and retain consent, but consume no invitation use until changes are sent for review. Submitted listings, claims and owner changes consume one use; retries of the same existing record consume none.\n\n\n## Fee-owner v2 workflows\n\nThe following test values never authorize live prices or charges. Source-only availability is callable:false until the exact installed Core/Pay/Directory tuple is accepted. Read fee-reservations for opaque versions; use listing-management permission and host CSRF for all owner actions. These MCP capabilities call the exact same HTTP handler and DTO. Buyer quote/checkout require actual local Login through Core; an operator key never substitutes. After a lost response keep the original reservation, binding, product-upsert key and refund key. Reconcile pending originals after logout or withdrawal of new payments.\n\n### cedros-directory:fee-price-approve\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"planId\": \"plan\",\n  \"expectedVersion\": \"read-v1\",\n  \"amountCents\": 123,\n  \"currency\": \"USD\",\n  \"durationSeconds\": 3600,\n  \"newPaymentsOpen\": true,\n  \"reconciliationAllowed\": true\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"id\": \"plan\",\n    \"feeOffer\": {\n      \"amountCents\": 123\n    }\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-offer-flags\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"planId\": \"plan\",\n  \"expectedVersion\": \"read-v1\",\n  \"newPaymentsOpen\": false,\n  \"reconciliationAllowed\": true\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"id\": \"plan\",\n    \"feeOffer\": {\n      \"newPaymentsOpen\": false,\n      \"reconciliationAllowed\": true\n    }\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-product-setup\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"planId\": \"plan\",\n  \"expectedVersion\": \"read-v1\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"id\": \"plan\",\n    \"feeOffer\": {\n      \"product\": {\n        \"id\": \"product\",\n        \"revision\": \"product-v2\"\n      }\n    }\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-approve\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"reservationId\": \"fee_5e543f7cc762ef6faf45ab6d9eea97b1ad935c53b8b57accc00e4e7335fb883c\",\n  \"expectedVersion\": \"read-v1\",\n  \"approved\": true\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"editorialApproval\": {\n      \"actor\": \"operator\"\n    }\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-read\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"reservationId\": \"fee_5e543f7cc762ef6faf45ab6d9eea97b1ad935c53b8b57accc00e4e7335fb883c\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"paymentReference\": \"cs_original\",\n    \"benefitEligible\": true\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-recover\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"reservationId\": \"fee_5e543f7cc762ef6faf45ab6d9eea97b1ad935c53b8b57accc00e4e7335fb883c\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"paymentReference\": \"cs_original\",\n    \"benefitEligible\": true\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-activate\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"reservationId\": \"fee_5e543f7cc762ef6faf45ab6d9eea97b1ad935c53b8b57accc00e4e7335fb883c\",\n  \"expectedVersion\": \"read-v1\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"status\": \"active\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-revoke\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"reservationId\": \"fee_5e543f7cc762ef6faf45ab6d9eea97b1ad935c53b8b57accc00e4e7335fb883c\",\n  \"expectedVersion\": \"read-v1\",\n  \"reason\": \"withdrawn\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"status\": \"revoked\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-refund\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"reservationId\": \"fee_5e543f7cc762ef6faf45ab6d9eea97b1ad935c53b8b57accc00e4e7335fb883c\",\n  \"expectedVersion\": \"read-v1\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"status\": \"succeeded\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-refund-duplicate\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{\n  \"reservationId\": \"fee_5e543f7cc762ef6faf45ab6d9eea97b1ad935c53b8b57accc00e4e7335fb883c\",\n  \"expectedVersion\": \"read-v1\",\n  \"paymentReference\": \"cs_duplicate\"\n}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"status\": \"succeeded\"\n  }\n}\n\\`\\`\\`\n\n### cedros-directory:fee-reservations\n\nSnapshot:\n\\`\\`\\`json\n{\n  \"capabilityId\": \"cedros-directory:fee-reservations\",\n  \"input\": {}\n}\n\\`\\`\\`\n\nCommand:\n\\`\\`\\`json\n{}\n\\`\\`\\`\n\nReceipt (relevant fields):\n\\`\\`\\`json\n{\n  \"ok\": true,\n  \"data\": {\n    \"records\": [],\n    \"nextOffset\": null\n  }\n}\n\\`\\`\\`\n`}},{id:\"cedros-directory:directory-submission\",name:\"Directory Submission\",description:\"Submits a portable directory-entry artifact to the authenticated account's admin review queue.\",category:\"content\",tags:[\"directory\",\"submission\",\"review\"],visibility:\"authenticated\",docs:{markdown:`Ask for the user's explicit approval before submitting. Send a cedros-directory-entry schemaVersion 1 artifact with a unique idempotency key. A Cedros Login bearer token is required, and successful admission only creates a pending review record; it never publishes a listing. Host HTTP security policy remains authoritative.\n\n## Operator workflow and isolated testing (8.8.0)\n\nFor site administration, use the admin-only cedros-directory:agent-snapshot first, then confirmed agent-setup/listing/moderate/placement/priority/settings/plans/import actions with stable commandId and exact recordVersion as expectedVersion. New records use a caller-assigned id and empty expectedVersion. Dry-run imports report all per-row errors and write nothing; agent transport customValues use typed {key,type,text|number|boolean|values} entries, converted before canonical artifact validation. Canonical entry files retain object-valued customValues. Never treat a transport adapter as a new portable schema version.\n\nAdministrators can create a clearly marked, private Test submission through agent-test-submission, approve/reject it through agent-moderate, then explicitly cleanup with its new version. It has a one-hour TTL and hourly cleanup, creates no public listing/owner identity and never enters analytics, exports or contributor notices. This replaces browser sign-in for operator tests; ordinary contributor submissions still require a real current Login account.\n\nChanges-requested is visible in contributor activity with review guidance; resubmit corrected proposals/claims/updates with a new submission idempotency key. Priority decisions and owner updates show status/deadline. Rejection or a missed SLA becomes refund due; Pay/Core do not publish Directory verified checkout or general refunds, so only explicitly operator-confirmed references can grant benefits and a full refund must be arranged in Pay. Fees never buy inclusion, organic ranking, ownership or verification.\n\nInspect own command receipts after response loss. Identical completed replay never repeats effects; changed input conflicts. Pending/indeterminate is not proof of no effect and must not trigger a new automatic command. Read docs/api.md for exact routes, permissions, typed schemas and the narrower host settings snapshot/CAS limitation.\n\nOperator tools also cover tags, reader review moderation and inquiry-resolution records; they never send contributor email. Public policy copy is available through the disclosure block, and paid-related links retain Sponsored labels.\n\nFor worked minimal snapshot \\u2192 command \\u2192 receipt examples, see the Directory Listing Assistant skill (8.10.0). Its submission example uses the canonical object-valued customValues contract and a real Login account.\n`}}],capabilities:[{id:\"cedros-directory:submit-directory-entry\",name:\"Submit directory entry\",description:\"Submits a portable directory entry to the authenticated account's human moderation queue. Gated directories require intake invitation/current agreement acceptance/declarations; verified email is fail-closed until an admitted Login/Core claim exists.\",kind:\"action\",visibility:\"authenticated\",endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/v1/submissions\"},inputSchema:{type:\"object\",properties:{idempotencyKey:{type:\"string\",minLength:1,maxLength:200},artifact:{type:\"object\",additionalProperties:!1,properties:{kind:{type:\"string\",enum:[\"cedros-directory-entry\"]},schemaVersion:{type:\"integer\",minimum:1,maximum:1},directorySlug:{type:\"string\",minLength:1,maxLength:120},entry:{type:\"object\",additionalProperties:!1,properties:{title:{type:\"string\",minLength:1,maxLength:160},slug:{type:\"string\",minLength:1,maxLength:160},summary:{type:\"string\",minLength:1,maxLength:500},description:{type:\"string\",minLength:1,maxLength:2e4},locale:{type:\"string\",minLength:1,maxLength:40},translationGroupId:{type:\"string\",minLength:1,maxLength:160},contact:{type:\"object\",additionalProperties:!1,properties:{email:{type:\"string\",minLength:1,maxLength:320},phone:{type:\"string\",minLength:1,maxLength:80},website:{type:\"string\",minLength:1,maxLength:2048}},required:[]},location:{type:\"object\",additionalProperties:!1,properties:{label:{type:\"string\",minLength:1,maxLength:240},addressLine1:{type:\"string\",minLength:1,maxLength:240},addressLine2:{type:\"string\",minLength:1,maxLength:240},city:{type:\"string\",minLength:1,maxLength:240},region:{type:\"string\",minLength:1,maxLength:240},postalCode:{type:\"string\",minLength:1,maxLength:240},country:{type:\"string\",minLength:1,maxLength:240},latitude:{type:\"number\",minimum:-90,maximum:90},longitude:{type:\"number\",minimum:-180,maximum:180},showExactAddress:{type:\"boolean\"}},required:[]},media:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{type:{type:\"string\",enum:[\"image\",\"video\"]},url:{type:\"string\",minLength:1,maxLength:2048},alt:{type:\"string\",maxLength:500,minLength:1},poster:{type:\"string\",minLength:1,maxLength:2048}},required:[\"url\"]}},customValues:{type:\"object\",description:\"Canonical object of schema keys to typed JSON values; not the admin transport array.\"},seo:{type:\"object\",additionalProperties:!1,properties:{title:{type:\"string\",minLength:1,maxLength:200},description:{type:\"string\",minLength:1,maxLength:500},ogImage:{type:\"string\",minLength:1,maxLength:2048},schemaType:{type:\"string\",minLength:1,maxLength:2048,enum:[\"Thing\",\"LocalBusiness\",\"Organization\",\"Person\",\"Service\"]},noindex:{type:\"boolean\"}},required:[]},categorySlugs:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:160},maxItems:100},tagSlugs:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:160},maxItems:100}},required:[\"slug\",\"title\",\"summary\"]}},required:[\"kind\",\"schemaVersion\",\"directorySlug\",\"entry\"]},intake:{type:\"object\",additionalProperties:!1,properties:{inviteToken:{type:\"string\",minLength:1,maxLength:200},agreementVersion:{type:\"string\",minLength:1,maxLength:120},acceptAgreement:{type:\"boolean\"},declarations:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{key:{type:\"string\",minLength:1,maxLength:80},accepted:{type:\"boolean\"}},required:[\"key\",\"accepted\"]},maxItems:20}},required:[]}},required:[\"idempotencyKey\",\"artifact\"],additionalProperties:!1},outputSchema:{type:\"object\",properties:{submissionId:{type:\"string\"},status:{type:\"string\"},replayed:{type:\"boolean\"},reviewRequired:{type:\"boolean\"}},required:[\"submissionId\",\"status\",\"replayed\",\"reviewRequired\"]},auth:{schemes:[\"bearer-token\"]}},{id:\"cedros-directory:ai-suggest-category\",name:\"Suggest listing category\",description:\"Suggests categories and tags from the selected directory\\u2019s active taxonomy for human review.\",kind:\"tool\",visibility:\"admin\",endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/ai/suggest-category\"},inputSchema:{type:\"object\",properties:{directoryId:{type:\"string\",minLength:1,maxLength:160},title:{type:\"string\",minLength:1},summary:{type:\"string\"},categoryIds:{type:\"array\",items:{type:\"string\"}},tagIds:{type:\"array\",items:{type:\"string\"}},customValues:{type:\"object\"}},required:[\"title\",\"directoryId\"]},outputSchema:{type:\"object\",properties:{suggestion:{type:\"object\"},reviewRequired:{type:\"boolean\"}},required:[\"suggestion\",\"reviewRequired\"]},auth:{schemes:[\"bearer-token\"]}},{id:\"cedros-directory:ai-detect-duplicates\",name:\"Detect duplicate listings\",description:\"Reviews possible duplicates from a bounded shortlist of existing listings in the selected directory, matched by name words or website.\",kind:\"tool\",visibility:\"admin\",endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/ai/detect-duplicates\"},inputSchema:{type:\"object\",properties:{listing:{type:\"object\",properties:{id:{type:\"string\"},directoryId:{type:\"string\",minLength:1,maxLength:160},title:{type:\"string\",minLength:1},summary:{type:\"string\"},contact:{type:\"object\"},location:{type:\"object\"}},required:[\"title\",\"directoryId\"]},limit:{type:\"integer\",enum:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]}},required:[\"listing\"]},outputSchema:{type:\"object\",properties:{suggestion:{type:\"object\"},reviewRequired:{type:\"boolean\"}},required:[\"suggestion\",\"reviewRequired\"]},auth:{schemes:[\"bearer-token\"]}},{id:\"cedros-directory:ai-rewrite-description\",name:\"Rewrite listing description\",description:\"Suggests a rewritten listing description for human review.\",kind:\"tool\",visibility:\"admin\",endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/ai/rewrite-description\"},inputSchema:{type:\"object\",properties:{title:{type:\"string\",minLength:1},summary:{type:\"string\"},description:{type:\"string\",minLength:1},tone:{type:\"string\",enum:[\"clear\",\"friendly\",\"professional\",\"concise\"]}},required:[\"title\",\"description\"]},outputSchema:{type:\"object\",properties:{suggestion:{type:\"object\"},reviewRequired:{type:\"boolean\"}},required:[\"suggestion\",\"reviewRequired\"]},auth:{schemes:[\"bearer-token\"]}},{id:\"cedros-directory:agent-snapshot\",name:\"Read Directory operations\",description:\"Read bounded pages, versions, queues, schema, settings, plans, analytics, seeded page publication or own command receipts. POST reads use the confirmed executor.\",kind:\"tool\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/snapshot\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{resource:{type:\"string\",enum:[\"directories\",\"categories\",\"schema\",\"listings\",\"submissions\",\"claims\",\"revisions\",\"settings\",\"plans\",\"analytics\",\"commands\",\"tags\",\"reviews\",\"inquiries\",\"intake\",\"pages\"]},id:{type:\"string\",minLength:1,maxLength:160},commandId:{type:\"string\",minLength:1,maxLength:160},directoryId:{type:\"string\",minLength:1,maxLength:160},status:{type:\"string\",minLength:1,maxLength:40},placement:{type:\"string\",enum:[\"featured\",\"sponsored\"]},refundDue:{type:\"boolean\"},staleDays:{type:\"integer\",minimum:1,maximum:3650},includeDetails:{type:\"boolean\"},limit:{type:\"integer\",minimum:1,maximum:100},offset:{type:\"integer\",minimum:0,maximum:5e3},staleOnly:{type:\"boolean\"},coreExtensionPages:{type:\"array\",maxItems:50,items:{type:\"object\"},description:\"resource=pages only: the pages array returned by Core cedros.pages.extension_pages.list with extensionId cedros-directory, passed unchanged.\"},coreReadError:{type:\"string\",minLength:1,maxLength:500,description:\"resource=pages only: the error Core returned when cedros.pages.extension_pages.list failed.\"}},required:[\"resource\"],description:`Read resource directories/categories/schema/listings/submissions/claims/revisions/plans/tags/reviews/inquiries, settings or analytics. resource=commands REQUIRES commandId. resource=schema with directoryId returns one editable schema, including fields:[] and recordVersion:\"\" when absent. Use that directoryId as schema upsert id (not schema_<id>). Other lists may be empty; paginate using nextOffset. resource=pages reports first publication of Directory's seeded pages: Directory cannot read Cedros pages itself, so pass Core's cedros.pages.extension_pages.list pages as coreExtensionPages (or coreReadError); it returns each seed's state (published/scheduled/draft/unpublished/not-created/unknown), the draft contentIds and the exact Core publish steps.`},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-moderate\",name:\"Review a Directory request\",description:\"Approve, reject or request changes. Payment never affects approval criteria; stale versions conflict.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/moderate\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096,minLength:1},action:{type:\"string\",enum:[\"approve\",\"reject\",\"request-changes\",\"resolve\"]},resource:{type:\"string\",enum:[\"submission\",\"claim\",\"revision\",\"review\",\"inquiry\"]},data:{type:\"object\",additionalProperties:!1,properties:{reviewNote:{type:\"string\",minLength:1,maxLength:1e3},resolutionOutcome:{type:\"string\",enum:[\"replied\",\"forwarded\",\"handled_elsewhere\"]},resolutionNote:{type:\"string\",maxLength:500}},required:[],description:\"Allowed pairs: submission/claim/revision=approve/reject/request-changes; review=approve/reject; inquiry=resolve. Reject and request-changes REQUIRE data.reviewNote (1\\u20131000 nonblank characters); approve has no data fields. Inquiry resolve REQUIRES data.resolutionOutcome; handled_elsewhere also REQUIRES nonblank resolutionNote. Only send fields belonging to that action. Exact nonempty expectedVersion is required for all actions.\"}},required:[\"commandId\",\"id\",\"expectedVersion\",\"resource\",\"action\"],description:\"Allowed pairs: submission/claim/revision=approve/reject/request-changes; review=approve/reject; inquiry=resolve. Reject and request-changes REQUIRE data.reviewNote (1\\u20131000 nonblank characters); approve has no data fields. Inquiry resolve REQUIRES data.resolutionOutcome; handled_elsewhere also REQUIRES nonblank resolutionNote. Only send fields belonging to that action. Exact nonempty expectedVersion is required for all actions.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-listing\",name:\"Manage a Directory listing\",description:\"Create or partially update a listing, change publication state, or explicitly verify it. Verification and ownership cannot be bought.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/listing\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096},action:{type:\"string\",enum:[\"create\",\"update\",\"publish\",\"unpublish\",\"suspend\",\"archive\",\"verify\"]},data:{type:\"object\",additionalProperties:!1,properties:{directoryId:{type:\"string\",minLength:1,maxLength:160},title:{type:\"string\",minLength:1,maxLength:160},slug:{type:\"string\",minLength:1,maxLength:160},summary:{type:\"string\",minLength:1,maxLength:500},description:{type:\"string\",minLength:1,maxLength:2e4},status:{type:\"string\",enum:[\"draft\",\"pending\",\"approved\",\"published\",\"unpublished\",\"suspended\",\"archived\"]},visibility:{type:\"string\",enum:[\"public\",\"authenticated\",\"private\"]},locale:{type:\"string\",minLength:1,maxLength:40},translationGroupId:{type:\"string\",minLength:1,maxLength:160},categoryIds:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:160},maxItems:100},tagIds:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:160},maxItems:100},contact:{type:\"object\",additionalProperties:!1,properties:{email:{type:\"string\",minLength:1,maxLength:320},phone:{type:\"string\",minLength:1,maxLength:80},website:{type:\"string\",minLength:1,maxLength:2048}},required:[]},location:{type:\"object\",additionalProperties:!1,properties:{label:{type:\"string\",minLength:1,maxLength:240},addressLine1:{type:\"string\",minLength:1,maxLength:240},addressLine2:{type:\"string\",minLength:1,maxLength:240},city:{type:\"string\",minLength:1,maxLength:240},region:{type:\"string\",minLength:1,maxLength:240},postalCode:{type:\"string\",minLength:1,maxLength:240},country:{type:\"string\",minLength:1,maxLength:240},latitude:{type:\"number\",minimum:-90,maximum:90},longitude:{type:\"number\",minimum:-180,maximum:180},showExactAddress:{type:\"boolean\"}},required:[]},media:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{type:{type:\"string\",enum:[\"image\",\"video\"]},url:{type:\"string\",minLength:1,maxLength:2048},alt:{type:\"string\",maxLength:500,minLength:1},poster:{type:\"string\",minLength:1,maxLength:2048}},required:[\"url\"]}},customValues:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{key:{type:\"string\",minLength:1,maxLength:80},type:{type:\"string\",enum:[\"text\",\"number\",\"boolean\",\"list\"]},text:{type:\"string\",maxLength:1e4},number:{type:\"number\"},boolean:{type:\"boolean\"},values:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:2048},maxItems:100}},required:[\"key\",\"type\"],description:\"Each type requires exactly its corresponding value property: text, number, boolean, or values for list.\"},maxItems:50},seo:{type:\"object\",additionalProperties:!1,properties:{title:{type:\"string\",minLength:1,maxLength:200},description:{type:\"string\",minLength:1,maxLength:500},ogImage:{type:\"string\",minLength:1,maxLength:2048},schemaType:{type:\"string\",minLength:1,maxLength:2048,enum:[\"Thing\",\"LocalBusiness\",\"Organization\",\"Person\",\"Service\"]},noindex:{type:\"boolean\"}},required:[]},expiresAt:{type:\"string\",minLength:1,maxLength:80},planId:{type:\"string\",minLength:1,maxLength:160},clearFields:{type:\"array\",maxItems:20,items:{type:\"string\",enum:[\"expiresAt\",\"planId\",\"contact.email\",\"contact.phone\",\"contact.website\",\"location.city\",\"location.region\",\"location.country\",\"location.addressLine1\",\"location.addressLine2\",\"location.postalCode\"]}},clearCustomKeys:{type:\"array\",maxItems:50,items:{type:\"string\",minLength:1,maxLength:80}}},required:[],description:'Create REQUIRES data.directoryId, title and summary; slug defaults from title. Create uses expectedVersion:\"\", defaults status=draft and visibility=public. Update REQUIRES a nonempty data patch and exact nonempty expectedVersion. publish/unpublish/suspend/archive/verify REQUIRE exact nonempty expectedVersion and no data fields (omit data or send {}). Publish returns data.publicVisibility {visible,reasons} using anonymous-read policy. Required custom answers must exist before publication. clearFields/clearCustomKeys are update-only. Public visibility also needs an active public directory, default locale, no test flag and no expiry; taxonomy, placement and verification are not prerequisites.'}},required:[\"commandId\",\"action\",\"id\",\"expectedVersion\"],description:'Create REQUIRES data.directoryId, title and summary; slug defaults from title. Create uses expectedVersion:\"\", defaults status=draft and visibility=public. Update REQUIRES a nonempty data patch and exact nonempty expectedVersion. publish/unpublish/suspend/archive/verify REQUIRE exact nonempty expectedVersion and no data fields (omit data or send {}). Publish returns data.publicVisibility {visible,reasons} using anonymous-read policy. Required custom answers must exist before publication. clearFields/clearCustomKeys are update-only. Public visibility also needs an active public directory, default locale, no test flag and no expiry; taxonomy, placement and verification are not prerequisites.'},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-placement\",name:\"Schedule a labeled placement\",description:\"Set Featured or Sponsored placement with optional start and end. Paid grants require operator confirmation and a Pay reference, never asserted settlement.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/placement\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096,minLength:1},placement:{type:\"string\",enum:[\"featured\",\"sponsored\"]},data:{type:\"object\",additionalProperties:!1,properties:{enabled:{type:\"boolean\"},from:{type:\"string\",minLength:1,maxLength:80},until:{type:\"string\",minLength:1,maxLength:80},paymentReference:{type:\"string\",minLength:1,maxLength:200},paymentConfirmed:{type:\"boolean\",enum:[!0]},planId:{type:\"string\",minLength:1,maxLength:160}},required:[],description:\"Editorial placement accepts data:{} (enabled now indefinitely); optional enabled/from/until. from/until must be RFC3339, until future, from before until. Paid placement REQUIRES all of data.planId, paymentReference and paymentConfirmed:true, enabled paid settings, current site context and an active site/directory-matching weekly or thirty_days plan. Paid from defaults now and until derives from the plan; if supplied it must match exactly. No payment-related field alone grants a paid benefit. Requires exact nonempty expectedVersion.\"}},required:[\"commandId\",\"id\",\"expectedVersion\",\"placement\",\"data\"],description:\"Editorial placement accepts data:{} (enabled now indefinitely); optional enabled/from/until. from/until must be RFC3339, until future, from before until. Paid placement REQUIRES all of data.planId, paymentReference and paymentConfirmed:true, enabled paid settings, current site context and an active site/directory-matching weekly or thirty_days plan. Paid from defaults now and until derives from the plan; if supplied it must match exactly. No payment-related field alone grants a paid benefit. Requires exact nonempty expectedVersion.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-priority\",name:\"Grant priority human review\",description:\"Grant one paid priority decision or update with a review deadline and operator-confirmed payment reference. Rejection or missed deadline becomes refund due.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/priority\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096,minLength:1},resource:{type:\"string\",enum:[\"submission\",\"revision\"]},data:{type:\"object\",additionalProperties:!1,properties:{reviewDeadline:{type:\"string\",minLength:1,maxLength:80},paymentReference:{type:\"string\",minLength:1,maxLength:200},paymentConfirmed:{type:\"boolean\",enum:[!0]},planId:{type:\"string\",minLength:1,maxLength:160}},required:[\"planId\",\"paymentReference\",\"paymentConfirmed\"],description:\"Requires a real pending submission/revision, exact nonempty expectedVersion, active site/directory-matching priority plan, enabled paid settings and operator-confirmed paymentReference/paymentConfirmed:true. Optional RFC3339 reviewDeadline must be future and no later than the purchased SLA. Priority is granted once; it never approves or verifies.\"}},required:[\"commandId\",\"id\",\"expectedVersion\",\"resource\",\"data\"],description:\"Requires a real pending submission/revision, exact nonempty expectedVersion, active site/directory-matching priority plan, enabled paid settings and operator-confirmed paymentReference/paymentConfirmed:true. Optional RFC3339 reviewDeadline must be future and no later than the purchased SLA. Priority is granted once; it never approves or verifies.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-setup\",name:\"Configure Directory structure\",description:\"Create or partially update directories/categories, archive categories and define typed schema fields. Schema upsert id is the directory id; use empty expectedVersion for a new schema.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/setup\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096},action:{type:\"string\",enum:[\"create\",\"update\",\"archive\",\"upsert\"]},resource:{type:\"string\",enum:[\"directory\",\"category\",\"schema\",\"tag\"]},data:{type:\"object\",additionalProperties:!1,properties:{name:{type:\"string\",minLength:1,maxLength:120},slug:{type:\"string\",minLength:1,maxLength:120},description:{type:\"string\",minLength:1,maxLength:2e4},status:{type:\"string\",enum:[\"draft\",\"active\",\"archived\"]},visibility:{type:\"string\",enum:[\"public\",\"authenticated\",\"private\"]},defaultListingStatus:{type:\"string\",enum:[\"draft\",\"pending\",\"approved\"]},moderationMode:{type:\"string\",enum:[\"admin_review\",\"auto_publish\"]},defaultLocale:{type:\"string\",minLength:1,maxLength:40},ownerFeatures:{type:\"object\",additionalProperties:!1,properties:{claimsEnabled:{type:\"boolean\"},ownerEditsEnabled:{type:\"boolean\"},paidListingsEnabled:{type:\"boolean\"},reviewsEnabled:{type:\"boolean\"},savedListingsEnabled:{type:\"boolean\"}},required:[]},parentId:{type:\"string\",minLength:1,maxLength:160},locale:{type:\"string\",minLength:1,maxLength:40},translationGroupId:{type:\"string\",minLength:1,maxLength:160},image:{type:\"object\",additionalProperties:!1,properties:{url:{type:\"string\",minLength:1,maxLength:2048},alt:{type:\"string\",minLength:1,maxLength:500}},required:[\"url\"]},seo:{type:\"object\",additionalProperties:!1,properties:{title:{type:\"string\",minLength:1,maxLength:200},description:{type:\"string\",minLength:1,maxLength:500},ogImage:{type:\"string\",minLength:1,maxLength:2048},noindex:{type:\"boolean\"}},required:[],description:\"Safe common subset for directories, categories and tags. Directory-specific indexing controls use the existing directory admin API.\"},directoryId:{type:\"string\",minLength:1,maxLength:160},fields:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{key:{type:\"string\",minLength:1,maxLength:80,description:\"Stable key: existing lowercase kebab-case or ASCII identifier (camelCase accepted). Do not change keys to rename labels.\"},label:{type:\"string\",minLength:1,maxLength:120},type:{type:\"string\",enum:[\"text\",\"textarea\",\"email\",\"phone\",\"url\",\"number\",\"select\",\"multi-select\",\"url-list\",\"checkbox\",\"date\",\"location\"]},required:{type:\"boolean\"},public:{type:\"boolean\"},adminOnly:{type:\"boolean\"},submissionEditable:{type:\"boolean\"},ownerEditable:{type:\"boolean\"},searchable:{type:\"boolean\"},filterable:{type:\"boolean\"},sortable:{type:\"boolean\"},showInCard:{type:\"boolean\"},showInDetail:{type:\"boolean\"},helpText:{type:\"string\",maxLength:500,minLength:1},maxLength:{type:\"integer\",minimum:1,maximum:1e4},options:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{label:{type:\"string\",minLength:1,maxLength:120},value:{type:\"string\",minLength:1,maxLength:120}},required:[\"label\",\"value\"]},maxItems:100,minItems:1}},required:[\"key\",\"label\",\"type\"]},maxItems:50,description:\"Required for schema upsert; empty array creates an empty schema. For select/multi-select each field requires nonempty options with distinct values.\"},version:{type:\"integer\",minimum:1,maximum:1e6,description:\"Optional descriptive schema revision; not the editing/CAS version. Use expectedVersion from snapshot for concurrency.\"},fieldGroups:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{id:{type:\"string\",minLength:1,maxLength:160},label:{type:\"string\",minLength:1,maxLength:160},fieldKeys:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:160},maxItems:100}},required:[\"id\",\"label\",\"fieldKeys\"]},maxItems:100},displayConfig:{type:\"object\",additionalProperties:!1,properties:{primaryField:{type:\"string\",minLength:1,maxLength:160},summaryField:{type:\"string\",minLength:1,maxLength:160}},required:[]},searchConfig:{type:\"object\",additionalProperties:!1,properties:{enabled:{type:\"boolean\"},defaultSort:{type:\"string\",minLength:1,maxLength:160}},required:[]}},required:[],description:\"Allowed resource/action pairs: directory=create/update; category=create/update/archive; tag=create/update; schema=upsert. Create REQUIRES name (slug defaults from name), plus directoryId for category/tag. status defaults draft and visibility defaults public. Schema upsert REQUIRES fields (empty allowed), id=directoryId and expectedVersion from schema snapshot (empty only when absent); no data.version is required. Select/multi-select fields REQUIRE 1\\u2013100 distinct options. Update REQUIRES a nonempty patch and an exact nonempty expectedVersion. Only send data fields belonging to the chosen resource: directory configuration; taxonomy directoryId/name/slug/description/status/visibility/parentId/locale/translationGroupId/image/seo; or schema fields/version/fieldGroups/displayConfig/searchConfig. Shared setup SEO accepts only title/description/ogImage/noindex.\"}},required:[\"commandId\",\"resource\",\"action\",\"data\",\"id\",\"expectedVersion\"],description:\"Allowed resource/action pairs: directory=create/update; category=create/update/archive; tag=create/update; schema=upsert. Create REQUIRES name (slug defaults from name), plus directoryId for category/tag. status defaults draft and visibility defaults public. Schema upsert REQUIRES fields (empty allowed), id=directoryId and expectedVersion from schema snapshot (empty only when absent); no data.version is required. Select/multi-select fields REQUIRE 1\\u2013100 distinct options. Update REQUIRES a nonempty patch and an exact nonempty expectedVersion. Only send data fields belonging to the chosen resource: directory configuration; taxonomy directoryId/name/slug/description/status/visibility/parentId/locale/translationGroupId/image/seo; or schema fields/version/fieldGroups/displayConfig/searchConfig. Shared setup SEO accepts only title/description/ogImage/noindex.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-settings\",name:\"Change Directory settings\",description:\"Patch exactly one setting using the settings snapshot version. Host settings lack atomic CAS; snapshot comparison detects stale requests but does not serialize concurrent host edits.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/settings\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096,minLength:1},data:{type:\"object\",additionalProperties:!1,properties:{defaultDirectorySlug:{type:\"string\",minLength:1,maxLength:160},formsIntegration:{type:\"string\",enum:[\"disabled\",\"template_only\",\"webhook\"]},payIntegration:{type:\"string\",enum:[\"disabled\",\"manual_products\",\"events\"]},loginIntegration:{type:\"string\",enum:[\"disabled\",\"optional\",\"required_for_owner\"]},reportsIntegration:{type:\"string\",enum:[\"disabled\",\"host_reports\"]},defaultRetentionDays:{type:\"integer\",minimum:1,maximum:3650},aiEnabled:{type:\"boolean\"},aiProvider:{type:\"string\",maxLength:120},aiModel:{type:\"string\",maxLength:120},paidListingsEnabled:{type:\"boolean\"},staleListingDays:{type:\"integer\",minimum:1,maximum:3650},disclosureCopy:{type:\"string\",minLength:1,maxLength:6e3}},required:[],description:\"Requires the exact nonempty settings snapshot recordVersion as expectedVersion and EXACTLY ONE supported data property. Fields are not an atomic multi-setting patch. The host offers snapshot comparison, not atomic settings CAS.\"}},required:[\"commandId\",\"expectedVersion\",\"data\"],description:\"Requires the exact nonempty settings snapshot recordVersion as expectedVersion and EXACTLY ONE supported data property. Fields are not an atomic multi-setting patch. The host offers snapshot comparison, not atomic settings CAS.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-plans\",name:\"Configure site pricing\",description:\"Create or update configurable one-off priority decisions/updates and weekly/30-day placements. Pay product references require [Site] names and host-derived cedros_site_id tagging.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/plans\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096},action:{type:\"string\",enum:[\"create\",\"update\"]},data:{type:\"object\",additionalProperties:!1,properties:{directoryId:{type:\"string\",minLength:1,maxLength:160},name:{type:\"string\",minLength:1,maxLength:160},status:{type:\"string\",enum:[\"active\",\"inactive\"]},kind:{type:\"string\",enum:[\"priority_decision\",\"priority_update\",\"sponsored\",\"featured\"]},billingPeriod:{type:\"string\",enum:[\"one_off\",\"week\",\"thirty_days\"]},billingType:{type:\"string\",enum:[\"one_time\"]},amountMinor:{type:\"integer\",minimum:1,maximum:1e8},currency:{type:\"string\",minLength:1,maxLength:3},slaHours:{type:\"integer\",minimum:1,maximum:720},payProductId:{type:\"string\",minLength:1,maxLength:160},siteLabel:{type:\"string\",minLength:1,maxLength:100},description:{type:\"string\",minLength:1,maxLength:3e3},maxPerCategory:{type:[\"integer\",\"null\"],minimum:1,maximum:1e3,description:\"Optional featured/sponsored capacity per category, including editorial placements and open holds.\"},refundPolicy:{type:\"string\",enum:[\"full\",\"undelivered_time\"],description:\"Placement purchases retain this refund policy. Unused-time refunds round up; never-delivered benefits refund in full.\"},publicLabel:{type:[\"string\",\"null\"],enum:[\"sponsored\",\"advertisement\",\"paid_featured_placement\",null],description:\"Optional public disclosure on this featured/sponsored plan's paid placements: Sponsored, Advertisement or Paid featured placement. Null or absent shows the kind's Sponsored/Featured label. Purchases keep the label agreed at checkout; editorial placements keep their own labels.\"},businessDayPolicy:{type:\"object\",additionalProperties:!1,properties:{version:{type:\"integer\",enum:[1]},days:{type:\"integer\",minimum:1,maximum:30},timezone:{type:\"string\",minLength:1,maxLength:100,description:\"Explicit IANA timezone, e.g. America/New_York.\"},businessDays:{type:\"array\",minItems:1,maxItems:7,uniqueItems:!0,items:{type:\"integer\",minimum:1,maximum:7},default:[1,2,3,4,5]},cutoff:{type:\"string\",pattern:\"^([01][0-9]|2[0-3]):[0-5][0-9]$\"},holidays:{type:\"array\",maxItems:366,uniqueItems:!0,items:{type:\"string\",pattern:\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"}}},required:[\"version\",\"days\",\"timezone\",\"cutoff\",\"holidays\"],description:\"Payment date is day zero; after cutoff or on closed dates move day zero to next business day. Due at cutoff N business days later. First verified paid asOf starts the retained clock. Rejection or missed deadline requires full refund.\"}},required:[],description:\"Create REQUIRES data.name. A paid kind additionally REQUIRES billingPeriod, amountMinor and uppercase three-letter currency; priority_decision/priority_update REQUIRE one_off and exactly one of slaHours (1\\u2013720) or businessDayPolicy v1 (explicit timezone/cutoff/holidays); business-day drafts default inactive, sponsored/featured REQUIRE week or thirty_days. Set status:active to make a plan grantable. Update REQUIRES nonempty data and exact nonempty expectedVersion. payProductId additionally REQUIRES siteLabel and a name prefixed [siteLabel] plus host site context; metadata is host-derived. This records plan metadata, not a Pay product or charge.\"}},required:[\"commandId\",\"action\",\"data\",\"id\",\"expectedVersion\"],description:\"Create REQUIRES data.name. A paid kind additionally REQUIRES billingPeriod, amountMinor and uppercase three-letter currency; priority_decision/priority_update REQUIRE one_off and exactly one of slaHours (1\\u2013720) or businessDayPolicy v1 (explicit timezone/cutoff/holidays); business-day drafts default inactive, sponsored/featured REQUIRE week or thirty_days. Set status:active to make a plan grantable. Update REQUIRES nonempty data and exact nonempty expectedVersion. payProductId additionally REQUIRES siteLabel and a name prefixed [siteLabel] plus host site context; metadata is host-derived. This records plan metadata, not a Pay product or charge.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-import\",name:\"Validate or import Directory listings\",description:\"Dry run returns all per-row errors and writes nothing. Commit atomically imports at most 25 typed portable artifacts as drafts.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/import\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},data:{type:\"object\",additionalProperties:!1,properties:{dryRun:{type:\"boolean\"},artifacts:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{kind:{type:\"string\",enum:[\"cedros-directory-entry\"]},schemaVersion:{type:\"integer\",minimum:1,maximum:1},directorySlug:{type:\"string\",minLength:1,maxLength:160},entry:{type:\"object\",additionalProperties:!1,properties:{title:{type:\"string\",minLength:1,maxLength:160},slug:{type:\"string\",minLength:1,maxLength:160},summary:{type:\"string\",minLength:1,maxLength:500},description:{type:\"string\",minLength:1,maxLength:2e4},locale:{type:\"string\",minLength:1,maxLength:40},translationGroupId:{type:\"string\",minLength:1,maxLength:160},contact:{type:\"object\",additionalProperties:!1,properties:{email:{type:\"string\",minLength:1,maxLength:320},phone:{type:\"string\",minLength:1,maxLength:80},website:{type:\"string\",minLength:1,maxLength:2048}},required:[]},location:{type:\"object\",additionalProperties:!1,properties:{label:{type:\"string\",minLength:1,maxLength:240},addressLine1:{type:\"string\",minLength:1,maxLength:240},addressLine2:{type:\"string\",minLength:1,maxLength:240},city:{type:\"string\",minLength:1,maxLength:240},region:{type:\"string\",minLength:1,maxLength:240},postalCode:{type:\"string\",minLength:1,maxLength:240},country:{type:\"string\",minLength:1,maxLength:240},latitude:{type:\"number\",minimum:-90,maximum:90},longitude:{type:\"number\",minimum:-180,maximum:180},showExactAddress:{type:\"boolean\"}},required:[]},media:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{type:{type:\"string\",enum:[\"image\",\"video\"]},url:{type:\"string\",minLength:1,maxLength:2048},alt:{type:\"string\",maxLength:500,minLength:1},poster:{type:\"string\",minLength:1,maxLength:2048}},required:[\"url\"]}},customValues:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{key:{type:\"string\",minLength:1,maxLength:80},type:{type:\"string\",enum:[\"text\",\"number\",\"boolean\",\"list\"]},text:{type:\"string\",maxLength:1e4},number:{type:\"number\"},boolean:{type:\"boolean\"},values:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:2048},maxItems:100}},required:[\"key\",\"type\"]},maxItems:50},seo:{type:\"object\",additionalProperties:!1,properties:{title:{type:\"string\",minLength:1,maxLength:200},description:{type:\"string\",minLength:1,maxLength:500},ogImage:{type:\"string\",minLength:1,maxLength:2048},schemaType:{type:\"string\",minLength:1,maxLength:2048,enum:[\"Thing\",\"LocalBusiness\",\"Organization\",\"Person\",\"Service\"]},noindex:{type:\"boolean\"}},required:[]},categorySlugs:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:160},maxItems:100},tagSlugs:{type:\"array\",items:{type:\"string\",minLength:1,maxLength:160},maxItems:100}},required:[\"slug\",\"title\",\"summary\"]}},required:[\"kind\",\"schemaVersion\",\"directorySlug\",\"entry\"]},maxItems:25,minItems:1}},required:[\"dryRun\",\"artifacts\"],description:\"Requires 1\\u201325 artifacts and explicit dryRun. Transport customValues are typed entries; text/number/boolean/list REQUIRE the corresponding text/number/boolean/values property. Dry run reports per-row validation errors and writes nothing. Real import creates drafts, not published listings; resolve all row errors first.\"}},required:[\"commandId\",\"data\"],description:\"Requires 1\\u201325 artifacts and explicit dryRun. Transport customValues are typed entries; text/number/boolean/list REQUIRE the corresponding text/number/boolean/values property. Dry run reports per-row validation errors and writes nothing. Real import creates drafts, not published listings; resolve all row errors first.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-test-submission\",name:\"Exercise agent moderation safely\",description:\"Create a private Test submission without Login; approve/reject through moderation then clean it. Never creates a public listing; auto-purged after one hour.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/test-submission\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",maxLength:4096},action:{type:\"string\",enum:[\"create\",\"cleanup\"]},data:{type:\"object\",additionalProperties:!1,properties:{directoryId:{type:\"string\",minLength:1,maxLength:160}},required:[],description:'create REQUIRES data.directoryId and expectedVersion:\"\". cleanup REQUIRES exact nonempty expectedVersion for an existing Test submission; data may be omitted. Creates only private one-hour Test records with no Login identity, public listing or contributor notification.'}},required:[\"commandId\",\"action\",\"id\",\"expectedVersion\"],description:'create REQUIRES data.directoryId and expectedVersion:\"\". cleanup REQUIRES exact nonempty expectedVersion for an existing Test submission; data may be omitted. Creates only private one-hour Test records with no Login identity, public listing or contributor notification.'},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:agent-intake\",name:\"Manage contributor intake\",description:\"Manage permission required. set-policy requires data.mode; invite_only defaults requireAdult and requireVerifiedEmail true. publish-agreement requires a NEW data.version, text or HTTPS url and effectiveAt (RFC3339). issue-invitation requires ONE exact Login subjectId and future expiresAt; useLimit defaults 1. These actions use the directory snapshot recordVersion as expectedVersion. revoke-invitation requires id and the invitation recordVersion. list-invitations reads only. Issue returns an opaque token ONCE; receipts never retain it. No outbound notices. Verified email cannot currently be established in kit 0.1.205; enabling that requirement blocks admission.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/agent/intake\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{commandId:{type:\"string\",minLength:1,maxLength:160},action:{type:\"string\",enum:[\"set-policy\",\"publish-agreement\",\"issue-invitation\",\"list-invitations\",\"revoke-invitation\"]},directoryId:{type:\"string\",minLength:1,maxLength:160},id:{type:\"string\",minLength:1,maxLength:160},expectedVersion:{type:\"string\",minLength:0,maxLength:4096},data:{type:\"object\",additionalProperties:!1,properties:{mode:{type:\"string\",enum:[\"open\",\"invite_only\",\"paused\"]},requireAdult:{type:\"boolean\"},requireVerifiedEmail:{type:\"boolean\"},requiredDeclarations:{type:\"array\",items:{type:\"object\",additionalProperties:!1,properties:{key:{type:\"string\",minLength:1,maxLength:80},label:{type:\"string\",minLength:1,maxLength:500}},required:[\"key\",\"label\"]},maxItems:20},version:{type:\"string\",minLength:1,maxLength:120},text:{type:\"string\",minLength:1,maxLength:2e4},url:{type:\"string\",minLength:1,maxLength:2048},effectiveAt:{type:\"string\",minLength:1,maxLength:64},subjectId:{type:\"string\",minLength:1,maxLength:160},expiresAt:{type:\"string\",minLength:1,maxLength:64},useLimit:{type:\"integer\",minimum:1,maximum:1e3}},required:[]}},required:[\"commandId\",\"action\",\"directoryId\",\"expectedVersion\",\"data\"],description:\"Manage permission required. set-policy requires data.mode; invite_only defaults requireAdult and requireVerifiedEmail true. publish-agreement requires a NEW data.version, text or HTTPS url and effectiveAt (RFC3339). issue-invitation requires ONE exact Login subjectId and future expiresAt; useLimit defaults 1. These actions use the directory snapshot recordVersion as expectedVersion. revoke-invitation requires id and the invitation recordVersion. list-invitations reads only. Issue returns an opaque token ONCE; receipts never retain it. No outbound notices. Verified email cannot currently be established in kit 0.1.205; enabling that requirement blocks admission.\"},tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:fee-price-approve\",name:\"Directory fee price approve\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/price/approve\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{planId:{type:\"string\",minLength:1,maxLength:120},expectedVersion:{type:\"string\",minLength:1,maxLength:4096},amountCents:{type:\"integer\",minimum:1,maximum:1e8},currency:{type:\"string\",minLength:3,maxLength:3},durationSeconds:{type:\"integer\",minimum:1,maximum:31536e3},deliveryWindowSeconds:{type:\"integer\",minimum:1,maximum:2592e3},newPaymentsOpen:{type:\"boolean\"},reconciliationAllowed:{type:\"boolean\"},businessDayPolicy:{type:\"object\",additionalProperties:!1,properties:{version:{type:\"integer\",enum:[1]},days:{type:\"integer\",minimum:1,maximum:30},timezone:{type:\"string\",minLength:1,maxLength:100,description:\"Explicit IANA timezone, e.g. America/New_York.\"},businessDays:{type:\"array\",minItems:1,maxItems:7,uniqueItems:!0,items:{type:\"integer\",minimum:1,maximum:7},default:[1,2,3,4,5]},cutoff:{type:\"string\",pattern:\"^([01][0-9]|2[0-3]):[0-5][0-9]$\"},holidays:{type:\"array\",maxItems:366,uniqueItems:!0,items:{type:\"string\",pattern:\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"}}},required:[\"version\",\"days\",\"timezone\",\"cutoff\",\"holidays\"],description:\"Payment date is day zero; after cutoff or on closed dates move day zero to next business day. Due at cutoff N business days later. First verified paid asOf starts the retained clock. Rejection or missed deadline requires full refund.\"}},required:[\"planId\",\"expectedVersion\",\"amountCents\",\"currency\",\"newPaymentsOpen\",\"reconciliationAllowed\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-offer-flags\",name:\"Directory fee offer flags\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/offer/flags\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{planId:{type:\"string\",minLength:1,maxLength:120},expectedVersion:{type:\"string\",minLength:1,maxLength:4096},newPaymentsOpen:{type:\"boolean\"},reconciliationAllowed:{type:\"boolean\"}},required:[\"planId\",\"expectedVersion\",\"newPaymentsOpen\",\"reconciliationAllowed\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-product-setup\",name:\"Directory fee product setup\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/product-setup\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{planId:{type:\"string\",minLength:1,maxLength:120},expectedVersion:{type:\"string\",minLength:1,maxLength:4096}},required:[\"planId\",\"expectedVersion\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-approve\",name:\"Directory fee approve\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/approve\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{reservationId:{type:\"string\",minLength:1,maxLength:240},expectedVersion:{type:\"string\",minLength:1,maxLength:4096},approved:{type:\"boolean\"}},required:[\"reservationId\",\"expectedVersion\",\"approved\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-read\",name:\"Directory fee read\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/read\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{reservationId:{type:\"string\",minLength:1,maxLength:240}},required:[\"reservationId\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-recover\",name:\"Directory fee recover\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/recover\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{reservationId:{type:\"string\",minLength:1,maxLength:240}},required:[\"reservationId\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-activate\",name:\"Directory fee activate\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/activate\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{reservationId:{type:\"string\",minLength:1,maxLength:240},expectedVersion:{type:\"string\",minLength:1,maxLength:4096}},required:[\"reservationId\",\"expectedVersion\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-revoke\",name:\"Directory fee revoke\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/revoke\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{reservationId:{type:\"string\",minLength:1,maxLength:240},expectedVersion:{type:\"string\",minLength:1,maxLength:4096},reason:{type:\"string\",enum:[\"rejected\",\"deadline_missed\",\"non_delivery\",\"withdrawn\",\"other\"]}},required:[\"reservationId\",\"expectedVersion\",\"reason\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-refund\",name:\"Directory fee refund\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/refund\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{reservationId:{type:\"string\",minLength:1,maxLength:240},expectedVersion:{type:\"string\",minLength:1,maxLength:4096}},required:[\"reservationId\",\"expectedVersion\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-refund-duplicate\",name:\"Directory fee refund duplicate\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/refund-duplicate\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{reservationId:{type:\"string\",minLength:1,maxLength:240},expectedVersion:{type:\"string\",minLength:1,maxLength:4096},paymentReference:{type:\"string\",minLength:1,maxLength:240}},required:[\"reservationId\",\"expectedVersion\",\"paymentReference\"]},tags:[\"directory\",\"fees\"]},{id:\"cedros-directory:fee-reservations\",name:\"Directory fee reservations\",description:\"Uses the identical owner admin HTTP handler, listing-management permission, host CSRF and closed DTO. Never authenticates as a buyer. Preserve original reservation and idempotency material after response loss.\",kind:\"action\",visibility:\"admin\",auth:{schemes:[\"bearer-token\"]},endpoint:{method:\"POST\",path:\"/extensions/cedros-directory/admin/fees/reservations\"},inputSchema:{type:\"object\",additionalProperties:!1,properties:{limit:{type:\"integer\",minimum:1,maximum:100},offset:{type:\"integer\",minimum:0}},required:[]},tags:[\"directory\",\"fees\"]}]}},registration:{server:{entrypoint:\"cedros_directory_server::register_extension_family\"},admin:{entrypoint:\"@cedros/directory/admin/register\"},web:{entrypoint:\"@cedros/directory/web/register\"},native:{entrypoint:\"@cedros/directory-native/register\"}},capabilities:[{id:\"cedros-directory:directory-read\",displayName:\"Read directories\",description:\"Read directory configuration and listing summaries.\",category:\"content\",requestedScopes:[{verb:\"read\",resource:\"directory records\",summary:\"Reads extension-owned directory records.\"}]},{id:\"cedros-directory:directory-manage\",displayName:\"Manage directories\",description:\"Create, update, and remove directories.\",category:\"content\",requestedScopes:[{verb:\"write\",resource:\"directory records\",summary:\"Writes extension-owned directory records.\"}]},{id:\"cedros-directory:schema-manage\",displayName:\"Manage directory schemas\",description:\"Create and update custom listing schema fields.\",category:\"content\",requestedScopes:[{verb:\"write\",resource:\"listing schemas\",summary:\"Writes extension-owned listing schema records.\"}]},{id:\"cedros-directory:listing-manage\",displayName:\"Manage listings\",description:\"Create, edit, moderate, publish, expire, and archive listings.\",category:\"content\",requestedScopes:[{verb:\"write\",resource:\"listing records\",summary:\"Writes extension-owned listing records.\"}]},{id:\"cedros-directory:analytics-read\",displayName:\"Read directory analytics\",description:\"Read aggregate public directory analytics and reports.\",category:\"runtime\",requestedScopes:[{verb:\"read\",resource:\"directory analytics\",summary:\"Reads extension-owned analytics summaries.\"}]},{id:\"cedros-directory:settings-manage\",displayName:\"Manage directory settings\",description:\"Read and write Directory integration, retention, and AI settings.\",category:\"admin\",requestedScopes:[{verb:\"write\",resource:\"directory settings\",summary:\"Writes extension-scoped settings.\"}]},{id:\"cedros-directory:site-brain-records\",displayName:\"Write Directory Site Brain Records\",description:\"Writes redacted owner-visible operational records for Directory jobs, setup-critical outcomes, and material submission outcomes.\",category:\"runtime\",requestedScopes:[{verb:\"write\",resource:\"site-brain-record:directory\",summary:\"Writes redacted Directory operational records for jobs, submission moderation, and support history.\"}]},{id:\"cedros-directory:fee-owner-authority-v2\",displayName:\"Directory fee source authority\",description:\"Read-only Core v2 callback over actual plan, source, reservation and approval revisions.\",category:\"commerce\",requestedScopes:[{verb:\"read\",resource:\"Directory fee source and approval records\",summary:\"Returns a finite operation-specific decision under Core private invocation authority.\"}],serviceRoutes:[\"cedros-directory:fee-owner-authority-v2\"]}],adminModules:[{moduleId:\"cedros-directory:admin\",extensionId:\"cedros-directory\",displayName:\"Directory\",version:\"8.7.4\",packageName:\"@cedros/directory\",sectionIds:[\"cedros-directory:overview\",\"cedros-directory:directories\",\"cedros-directory:categories\",\"cedros-directory:schema-builder\",\"cedros-directory:listings\",\"cedros-directory:submissions\",\"cedros-directory:claims\",\"cedros-directory:plans\",\"cedros-directory:inquiries\",\"cedros-directory:analytics\",\"cedros-directory:settings\"],sectionIcons:{\"cedros-directory:overview\":\"analytics\",\"cedros-directory:directories\":\"lucide:folder-tree\",\"cedros-directory:categories\":\"lucide:tags\",\"cedros-directory:schema-builder\":\"lucide:database\",\"cedros-directory:listings\":\"lucide:list\",\"cedros-directory:submissions\":\"lucide:inbox\",\"cedros-directory:claims\":\"lucide:badge-check\",\"cedros-directory:plans\":\"storefront\",\"cedros-directory:inquiries\":\"lucide:mail\",\"cedros-directory:analytics\":\"analytics\",\"cedros-directory:settings\":\"settings\"},navigation:{sections:[{id:\"cedros-directory:overview\",label:\"Overview\",group:\"Directory\",order:0,replacesSectionIds:[\"cedros-data:content/overview\"],hideFromNavigation:!0,requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:directories\",label:\"Directory setup\",group:\"Directory\",order:50,hideFromNavigation:!0,replacesSectionIds:[\"cedros-data:content/directories\"],requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:categories\",label:\"Categories\",group:\"Directory\",order:60,hideFromNavigation:!0,replacesSectionIds:[\"cedros-data:content/categories\"],requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:schema-builder\",label:\"Schema\",group:\"Directory\",order:70,hideFromNavigation:!0,replacesSectionIds:[\"cedros-data:content/schema-builder\"],requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:listings\",label:\"Directory\",group:\"Directory\",order:10,replacesSectionIds:[\"cedros-data:content/listings\"],hideFromNavigation:!1,requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:submissions\",label:\"Review\",group:\"Directory\",order:20,replacesSectionIds:[\"cedros-data:content/submissions\"],hideFromNavigation:!0,requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:claims\",label:\"Ownership claims\",group:\"Directory\",order:30,hideFromNavigation:!0,replacesSectionIds:[\"cedros-data:content/claims\"],requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:plans\",label:\"Paid plans\",group:\"Extension Settings\",order:90,hideFromNavigation:!0,requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:inquiries\",label:\"Inquiries\",group:\"Directory\",order:40,replacesSectionIds:[\"cedros-data:content/inquiries\"],hideFromNavigation:!0,requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:analytics\",label:\"Analytics\",group:\"Directory\",order:80,hideFromNavigation:!0,replacesSectionIds:[\"cedros-data:content/analytics\"],requiredPermission:\"data:settings:read\"},{id:\"cedros-directory:settings\",label:\"Directory settings\",group:\"Extension Settings\",order:100,hideFromNavigation:!0,requiredPermission:\"data:settings:read\"}],groups:[{id:\"cedros-directory\",label:\"Directory\",order:1.5,hideLabel:!0}]},contributions:{dashboardCards:[{id:\"cedros-directory:dashboard-card\",displayName:\"Directory health\",description:\"Shows live Directory counts and moderation health on the admin dashboard.\",order:20,requiredPermission:\"cedros-directory:analytics-read\"}]}}],contentBlocks:[{type:\"cedros-directory:directory-search\",displayName:\"Directory Search\",description:\"Search and sort published directory listings.\",category:\"directory\",order:10},{type:\"cedros-directory:listing-grid\",displayName:\"Listing Grid\",description:\"Displays listings in responsive cards.\",category:\"directory\",order:20},{type:\"cedros-directory:listing-list\",displayName:\"Listing List\",description:\"Displays listings in a compact list.\",category:\"directory\",order:30},{type:\"cedros-directory:featured-listings\",displayName:\"Featured Listings\",description:\"Displays promoted listings with disclosures.\",category:\"directory\",order:40},{type:\"cedros-directory:sponsored-listings\",displayName:\"Sponsored Listings\",description:\"Displays sponsored listings with disclosures.\",category:\"directory\",order:50},{type:\"cedros-directory:category-grid\",displayName:\"Category Grid\",description:\"Displays directory categories.\",category:\"directory\",order:60},{type:\"cedros-directory:location-grid\",displayName:\"Location Grid\",description:\"Displays directory locations.\",category:\"directory\",order:70},{type:\"cedros-directory:map\",displayName:\"Regional map\",description:\"Explore listing areas with a regional map on the web and optional Maps links.\",category:\"directory\",order:80},{type:\"cedros-directory:single-listing\",displayName:\"Single Listing\",description:\"Displays one public listing detail.\",category:\"directory\",order:90},{type:\"cedros-directory:submit-listing\",displayName:\"Submit Listing\",description:\"Cedros Login-authenticated listing submission entry point.\",category:\"directory\",order:100},{type:\"cedros-directory:claim-listing\",displayName:\"Claim Listing\",description:\"Authenticated claim request and evidence entry point for an existing listing.\",category:\"directory\",order:110},{type:\"cedros-directory:owner-dashboard\",displayName:\"Listing Owner Dashboard\",description:\"Account-scoped proposal, claim, ownership, and reviewed listing-update activity.\",category:\"directory\",order:120},{type:\"cedros-directory:directory-stats\",displayName:\"Directory Stats\",description:\"Public aggregate directory counts.\",category:\"directory\",order:130},{type:\"cedros-directory:related-listings\",displayName:\"Related Listings\",description:\"Displays listings related to the current listing.\",category:\"directory\",order:140},{type:\"cedros-directory:listing-disclosure\",displayName:\"How listings work\",description:\"Operator-editable disclosure of free inclusion and optional paid review/placements.\",category:\"directory\",order:150}],contentTemplates:[{id:\"cedros-directory:directory-template\",displayName:\"Directory Page\",description:\"Searchable directory landing page.\",order:10,contentTypes:[\"page\"],surfaceId:\"cedros-directory:directory-pages\"},{id:\"cedros-directory:listing-template\",displayName:\"Directory Listing Page\",description:\"Public listing details, related choices, and inquiry handoff.\",order:15,contentTypes:[\"page\"],surfaceId:\"cedros-directory:directory-pages\"},{id:\"cedros-directory:submission-template\",displayName:\"Submit Listing Page\",description:\"Cedros Login-authenticated listing submission page.\",order:20,contentTypes:[\"page\"],surfaceId:\"cedros-directory:directory-pages\"},{id:\"cedros-directory:claim-template\",displayName:\"Claim Listing Page\",description:\"Cedros Login-authenticated listing claim page.\",order:30,contentTypes:[\"page\"],surfaceId:\"cedros-directory:directory-pages\"},{id:\"cedros-directory:pricing-template\",displayName:\"Directory Pricing Page\",description:\"Listing plan and upgrade page.\",order:40,contentTypes:[\"page\"],surfaceId:\"cedros-directory:directory-pages\"},{id:\"cedros-directory:owner-template\",displayName:\"Listing Owner Page\",description:\"Signed-in contributor activity and verified-owner listing updates.\",order:50,contentTypes:[\"page\"],surfaceId:\"cedros-directory:directory-pages\"},{id:\"cedros-directory:disclosure-template\",displayName:\"How Listings Work Page\",description:\"Explains free inclusion, optional fees, independent review and verification.\",order:60,contentTypes:[\"page\"],surfaceId:\"cedros-directory:directory-pages\"}],pageSeeds:[{id:\"cedros-directory:directory-page\",displayName:\"Directory\",title:\"Directory\",routePath:\"/directory\",description:\"Search and browse published directory listings.\",templateId:\"cedros-directory:directory-template\",seo:{title:\"Directory\",description:\"Search and browse listings.\",canonicalPath:\"/directory\",ogTitle:\"Directory\",ogDescription:\"Search and browse listings.\"},chromeMode:\"default\",autoCreateOnEnable:!0,publishOnEnable:!1,slug:\"directory\"},{id:\"cedros-directory:listing-page\",displayName:\"Directory Listing\",title:\"Directory Listing\",routePath:\"/directory/listing\",description:\"Show the public details and contact path for a selected listing.\",templateId:\"cedros-directory:listing-template\",seo:{title:\"Directory Listing\",description:\"Review a selected directory listing.\",noindex:!0,ogTitle:\"Directory Listing\",ogDescription:\"Review a selected directory listing.\"},chromeMode:\"default\",autoCreateOnEnable:!0,publishOnEnable:!1,slug:\"listing\"},{id:\"cedros-directory:submit-page\",displayName:\"Submit Listing\",title:\"Submit Listing\",routePath:\"/directory/submit\",description:\"Sign in with Cedros Login and submit a listing for review.\",templateId:\"cedros-directory:submission-template\",seo:{title:\"Submit Listing\",description:\"Sign in and submit a directory listing for review.\",noindex:!0,ogTitle:\"Submit Listing\",ogDescription:\"Sign in and submit a directory listing for review.\"},chromeMode:\"default\",autoCreateOnEnable:!0,publishOnEnable:!1,slug:\"submit\",access:\"signed-in\"},{id:\"cedros-directory:claim-page\",displayName:\"Claim Listing\",title:\"Claim Listing\",routePath:\"/directory/claim\",description:\"Sign in and request verified ownership of an existing listing.\",templateId:\"cedros-directory:claim-template\",seo:{title:\"Claim Listing\",description:\"Sign in and request ownership of an existing directory listing.\",noindex:!0,ogTitle:\"Claim Listing\",ogDescription:\"Sign in and request ownership of an existing directory listing.\"},chromeMode:\"default\",autoCreateOnEnable:!0,publishOnEnable:!1,slug:\"claim\",access:\"signed-in\"},{id:\"cedros-directory:pricing-page\",displayName:\"Directory Pricing\",title:\"Directory Pricing\",routePath:\"/directory/pricing\",description:\"Choose a listing plan.\",templateId:\"cedros-directory:pricing-template\",seo:{title:\"Directory Pricing\",description:\"Choose a listing plan.\",noindex:!0,ogTitle:\"Directory Pricing\",ogDescription:\"Choose a listing plan.\"},chromeMode:\"default\",autoCreateOnEnable:!1,publishOnEnable:!1,slug:\"pricing\"},{id:\"cedros-directory:owner-page\",displayName:\"Listing Owner Dashboard\",title:\"My Listing Activity\",routePath:\"/directory/owner\",description:\"Track proposals and claims, and suggest updates to verified listings.\",templateId:\"cedros-directory:owner-template\",seo:{title:\"My Listing Activity\",description:\"Track proposals and claims, and suggest updates to verified listings.\",noindex:!0,ogTitle:\"My Listing Activity\",ogDescription:\"Track proposals and claims, and suggest updates to verified listings.\"},chromeMode:\"default\",autoCreateOnEnable:!0,publishOnEnable:!1,slug:\"owner\",access:\"signed-in\"},{id:\"cedros-directory:disclosure-page\",displayName:\"How listings work\",title:\"How listings work\",routePath:\"/directory/how-listings-work\",description:\"Directory inclusion, review and payment policy.\",templateId:\"cedros-directory:disclosure-template\",seo:{title:\"How listings work\",description:\"Directory inclusion, review and payment policy.\",noindex:!1},chromeMode:\"default\",autoCreateOnEnable:!0,publishOnEnable:!1,slug:\"how-listings-work\"}],seoRoutes:[{routeId:\"cedros-directory:listing-seo-route\",pathPattern:\"/directory/listings/:slug\",indexable:!0,includeInSitemap:!0,canonicalStrategy:\"self\",schemaType:\"ItemPage\"},{routeId:\"cedros-directory:category-seo-route\",pathPattern:\"/directory/categories/:slug\",indexable:!0,includeInSitemap:!0,canonicalStrategy:\"self\",schemaType:\"CollectionPage\"}],formTemplates:[{id:\"cedros-directory:listing-submission-form\",displayName:\"Directory Listing Submission\",title:\"Submit a Listing\",description:\"Starter field definition for Login-authenticated listing review; activation requires a signed Forms handoff that preserves verified Login identity.\",scope:\"other\",defaultKey:\"directory-listing-submission\",status:\"draft\",submitLabel:\"Submit listing\",successTitle:\"Listing submitted\",successMessage:\"Your listing has been received for review.\",autoCreateOnEnable:!1,fields:[{key:\"business_name\",label:\"Listing name\",type:\"text\",required:!0},{key:\"summary\",label:\"Short summary\",type:\"textarea\",required:!0},{key:\"email\",label:\"Contact email\",type:\"email\",required:!0},{key:\"phone\",label:\"Contact phone\",type:\"tel\"},{key:\"website\",label:\"Website\",type:\"text\"},{key:\"category\",label:\"Category\",type:\"text\"},{key:\"public_contact_consent\",label:\"I understand approved listings may show public contact details selected by the site owner.\",type:\"checkbox\",required:!0,helpText:\"Cedros Directory redacts owner email addresses and private payment or CRM data from public listing projections.\"}]},{id:\"cedros-directory:listing-claim-form\",displayName:\"Directory Listing Claim\",title:\"Claim a Listing\",description:\"Starter claim-evidence fields for a future signed Forms handoff that preserves verified Cedros Login identity.\",scope:\"other\",defaultKey:\"directory-listing-claim\",status:\"draft\",submitLabel:\"Submit claim\",successTitle:\"Claim submitted\",successMessage:\"Your claim has been received for review.\",autoCreateOnEnable:!1,fields:[{key:\"listing_name\",label:\"Listing name\",type:\"text\",required:!0},{key:\"claimant_name\",label:\"Your name\",type:\"text\",required:!0},{key:\"claimant_email\",label:\"Your email\",type:\"email\",required:!0},{key:\"evidence\",label:\"Ownership evidence\",type:\"textarea\",required:!0},{key:\"account_linking_consent\",label:\"I understand approved claims require Cedros Login account linking before owner controls are enabled.\",type:\"checkbox\",required:!0,helpText:\"The approved claim is assigned to the verified Cedros Login account that submitted it; Directory does not create a separate owner identity.\"}]}],jobSchedules:[{id:\"cedros-directory:expire-listings-nightly\",jobId:\"cedros-directory:expire-listings\",label:\"Expire directory listings\",cron:\"17 2 * * *\",timezone:\"UTC\",catchUp:!0,enabled:!0,timeoutSeconds:30,maxRetries:0,autoCreateOnEnable:!0},{id:\"cedros-directory:renewal-reminders-daily\",jobId:\"cedros-directory:renewal-reminders\",label:\"Flag directory renewals due\",cron:\"41 9 * * *\",timezone:\"UTC\",catchUp:!1,enabled:!0,timeoutSeconds:30,maxRetries:0,autoCreateOnEnable:!0},{id:\"cedros-directory:analytics-rollup-hourly\",jobId:\"cedros-directory:analytics-rollup\",label:\"Roll up directory analytics\",cron:\"11 * * * *\",timezone:\"UTC\",catchUp:!1,enabled:!0,timeoutSeconds:30,maxRetries:0,autoCreateOnEnable:!0},{id:\"cedros-directory:cleanup-retained-data-weekly\",jobId:\"cedros-directory:cleanup-retained-data\",label:\"Clean retained directory data\",cron:\"23 * * * *\",timezone:\"UTC\",catchUp:!1,enabled:!0,timeoutSeconds:30,maxRetries:0,autoCreateOnEnable:!0},{id:\"cedros-directory:publish-notifications-every-five-minutes\",jobId:\"cedros-directory:publish-notifications\",label:\"Publish and reconcile Directory team alerts\",cron:\"*/5 * * * *\",timezone:\"UTC\",catchUp:!1,enabled:!0,timeoutSeconds:30,maxRetries:0,autoCreateOnEnable:!0},{id:\"cedros-directory:review-placement-maintenance-quarter-hourly\",jobId:\"cedros-directory:review-placement-maintenance\",label:\"Review deadlines, placements and verification reminders\",cron:\"*/15 * * * *\",timezone:\"UTC\",catchUp:!0,enabled:!0,timeoutSeconds:60,maxRetries:0,autoCreateOnEnable:!0},{id:\"cedros-directory:reconcile-fees-schedule\",jobId:\"cedros-directory:reconcile-fees\",label:\"Reconcile original Directory fees\",cron:\"*/5 * * * *\",timezone:\"UTC\",catchUp:!0,enabled:!0,timeoutSeconds:30,maxRetries:0,autoCreateOnEnable:!0}],analytics:{events:[{id:\"cedros-directory:listing-viewed\",displayName:\"Listing viewed\",description:\"A visitor viewed a public listing.\",category:\"directory\",visibility:\"public\"},{id:\"cedros-directory:search-performed\",displayName:\"Directory search performed\",description:\"A visitor searched or filtered a directory.\",category:\"directory\",visibility:\"public\"},{id:\"cedros-directory:inquiry-created\",displayName:\"Directory inquiry created\",description:\"A visitor submitted an inquiry to a listing.\",category:\"directory\",kind:\"lead_capture\",visibility:\"public\"},{id:\"cedros-directory:claim-submitted\",displayName:\"Listing claim submitted\",description:\"A visitor submitted a claim request.\",category:\"directory\",visibility:\"authenticated\"},{id:\"cedros-directory:claim-approved\",displayName:\"Listing claim approved\",description:\"An admin approved a listing claim.\",category:\"directory\",visibility:\"admin\"},{id:\"cedros-directory:claim-rejected\",displayName:\"Listing claim rejected\",description:\"An admin rejected a listing claim.\",category:\"directory\",visibility:\"admin\"},{id:\"cedros-directory:listing-submitted\",displayName:\"Listing submitted\",description:\"A listing draft was submitted for admin review.\",category:\"directory\",visibility:\"authenticated\"},{id:\"cedros-directory:owner-update-submitted\",displayName:\"Owner update submitted\",description:\"A verified listing owner submitted changes for admin review.\",category:\"directory\",visibility:\"authenticated\"},{id:\"cedros-directory:listing-published\",displayName:\"Listing published\",description:\"A listing was published.\",category:\"directory\",visibility:\"admin\"},{id:\"cedros-directory:payment-succeeded\",displayName:\"Directory payment succeeded\",description:\"Cedros Pay reported a listing payment success.\",category:\"commerce\",kind:\"purchase_completion\",visibility:\"admin\"},{id:\"cedros-directory:payment-required\",displayName:\"Directory payment required\",description:\"A listing action requires Cedros Pay checkout before access or placement changes.\",category:\"commerce\",kind:\"purchase_intent_view\",visibility:\"authenticated\"},{id:\"cedros-directory:renewal-due\",displayName:\"Listing renewal due\",description:\"A published listing entered its renewal reminder window.\",category:\"directory\",visibility:\"admin\"},{id:\"cedros-directory:renewal-requested\",displayName:\"Listing renewal requested\",description:\"A verified listing owner requested review of a due or expired listing term.\",category:\"directory\",visibility:\"authenticated\"},{id:\"cedros-directory:payment-pending\",displayName:\"Directory payment pending\",description:\"Cedros Pay reported a pending listing payment state.\",category:\"commerce\",visibility:\"admin\"},{id:\"cedros-directory:payment-failed\",displayName:\"Directory payment failed\",description:\"Cedros Pay reported a failed or cancelled listing payment state.\",category:\"commerce\",visibility:\"admin\"},{id:\"cedros-directory:payment-refunded\",displayName:\"Directory payment refunded\",description:\"Cedros Pay reported a refunded listing payment state.\",category:\"commerce\",visibility:\"admin\"},{id:\"cedros-directory:payment-disputed\",displayName:\"Directory payment disputed\",description:\"Cedros Pay reported a disputed listing payment state.\",category:\"commerce\",visibility:\"admin\"},{id:\"cedros-directory:sponsored-expired\",displayName:\"Sponsored placement ended\",description:\"A sponsored placement has ended. Open Directory > Listings to review its term.\",category:\"directory\",visibility:\"admin\"},{id:\"cedros-directory:verification-due\",displayName:\"Listing verification due\",description:\"A listing needs a fresh review. Verify its current details in Directory.\",category:\"directory\",visibility:\"admin\"},{id:\"cedros-directory:priority-refund-due\",displayName:\"Priority review refund due\",description:\"A priority review deadline was missed. Open Directory \\u2192 Settings \\u2192 Paid listings, find the request under Payments and delivery, then request or check its refund. A pending refund is still owed until Pay confirms completion.\",category:\"directory\",visibility:\"admin\"}]},setupSeeds:{notifications:[{id:\"cedros-directory:listing-submitted-notification\",displayName:\"Listing submitted notification\",title:\"Listing ready for review\",description:\"Publishes a durable team alert after the Directory action commits. Delivery channels and recipients are configured by the site owner in Settings > Notifications.\",eventId:\"cedros-directory:listing-submitted\",audience:\"team\",severity:\"info\",defaultChannels:[\"email\"],subjectTemplate:\"Directory listing ready for review\",bodyTemplate:\"A listing proposal is ready for review. Open Directory > Listing review.\",tags:[\"directory\",\"moderation\"]},{id:\"cedros-directory:claim-submitted-notification\",displayName:\"Claim submitted notification\",title:\"Ownership claim ready for review\",description:\"Publishes a durable team alert after the Directory action commits. Delivery channels and recipients are configured by the site owner in Settings > Notifications.\",eventId:\"cedros-directory:claim-submitted\",audience:\"team\",severity:\"info\",defaultChannels:[\"email\"],subjectTemplate:\"Directory ownership claim ready for review\",bodyTemplate:\"An ownership claim is ready for review. Open Directory > Ownership claims.\",tags:[\"directory\",\"moderation\",\"ownership\"]},{id:\"cedros-directory:owner-update-submitted-notification\",displayName:\"Owner update submitted notification\",title:\"Owner update ready for review\",description:\"Publishes a durable team alert after the Directory action commits. Delivery channels and recipients are configured by the site owner in Settings > Notifications.\",eventId:\"cedros-directory:owner-update-submitted\",audience:\"team\",severity:\"info\",defaultChannels:[\"email\"],subjectTemplate:\"Directory owner update ready for review\",bodyTemplate:\"An owner update is ready for review. Open Directory > Listing review > Owner updates.\",tags:[\"directory\",\"moderation\",\"owners\"]},{id:\"cedros-directory:inquiry-created-notification\",displayName:\"Inquiry created notification\",title:\"Directory inquiry needs follow-up\",description:\"Publishes a durable team alert after the Directory action commits. Delivery channels and recipients are configured by the site owner in Settings > Notifications.\",eventId:\"cedros-directory:inquiry-created\",audience:\"team\",severity:\"info\",defaultChannels:[\"email\"],subjectTemplate:\"Directory inquiry needs follow-up\",bodyTemplate:\"A visitor inquiry needs follow-up. Open Directory > Inquiries to forward or reply.\",tags:[\"directory\",\"inquiries\"]},{id:\"cedros-directory:renewal-due-notification\",displayName:\"Renewal due notification\",title:\"Listing renewal needs review\",description:\"Publishes a durable team alert after the Directory action commits. Delivery channels and recipients are configured by the site owner in Settings > Notifications.\",eventId:\"cedros-directory:renewal-due\",audience:\"team\",severity:\"warning\",defaultChannels:[\"email\"],subjectTemplate:\"Directory listing renewal needs review\",bodyTemplate:\"A listing is approaching its expiration date. Open Directory > Listings to review renewals.\",tags:[\"directory\",\"renewals\"]},{id:\"cedros-directory:renewal-requested-notification\",displayName:\"Renewal requested notification\",title:\"Listing renewal ready for review\",description:\"Publishes a durable team alert after the Directory action commits. Delivery channels and recipients are configured by the site owner in Settings > Notifications.\",eventId:\"cedros-directory:renewal-requested\",audience:\"team\",severity:\"warning\",defaultChannels:[\"email\"],subjectTemplate:\"Directory listing renewal requested\",bodyTemplate:\"An owner requested a listing renewal. Open Directory > Listings to review the new term.\",tags:[\"directory\",\"renewals\",\"owners\"]},{id:\"cedros-directory:sponsored-expired-notification\",displayName:\"Sponsored placement ended\",title:\"Sponsored placement ended\",description:\"Durable team alert through the existing site Notifications route.\",eventId:\"cedros-directory:sponsored-expired\",audience:\"team\",severity:\"info\",defaultChannels:[\"email\"],subjectTemplate:\"Sponsored placement ended\",bodyTemplate:\"A sponsored placement has ended. Open Directory > Listings to review its term.\",tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:verification-due-notification\",displayName:\"Listing verification due\",title:\"Listing verification due\",description:\"Durable team alert through the existing site Notifications route.\",eventId:\"cedros-directory:verification-due\",audience:\"team\",severity:\"warning\",defaultChannels:[\"email\"],subjectTemplate:\"Listing verification due\",bodyTemplate:\"A listing needs a fresh review. Verify its current details in Directory.\",tags:[\"directory\",\"operations\"]},{id:\"cedros-directory:priority-refund-due-notification\",displayName:\"Priority review refund due\",title:\"Priority review refund due\",description:\"Durable team alert through the existing site Notifications route.\",eventId:\"cedros-directory:priority-refund-due\",audience:\"team\",severity:\"warning\",defaultChannels:[\"email\"],subjectTemplate:\"Priority review refund due\",bodyTemplate:\"A priority review deadline was missed. Open Directory \\u2192 Settings \\u2192 Paid listings, find the request under Payments and delivery, then request or check its refund. A pending refund is still owed until Pay confirms completion.\",tags:[\"directory\",\"operations\"]}]},providerAccess:[{id:\"cedros-directory:ai-assist\",provider:\"intelligence\",displayName:\"Directory AI Assist\",description:\"Optional AI suggestions for categories, duplicate review, and description cleanup.\",scopes:[\"chat.generate\"],tags:[\"directory\",\"ai\",\"moderation\"]}],databaseAccess:[{id:\"cedros-directory:directory-db\",displayName:\"Directory Data Store\",description:\"Reads, counts, writes, and deletes Cedros Directory-owned JSONB records.\",contentModels:[\"cedros-directory:directories\",\"cedros-directory:schemas\",\"cedros-directory:categories\",\"cedros-directory:tags\",\"cedros-directory:listings\",\"cedros-directory:listing-bookkeeping\",\"cedros-directory:listing-revisions\",\"cedros-directory:submissions\",\"cedros-directory:claims\",\"cedros-directory:owners\",\"cedros-directory:plans\",\"cedros-directory:placements\",\"cedros-directory:inquiries\",\"cedros-directory:reviews\",\"cedros-directory:saved-listings\",\"cedros-directory:search-logs\",\"cedros-directory:analytics-rollups\",\"cedros-directory:audit-events\",\"cedros-directory:imports\",\"cedros-directory:route-aliases\",\"cedros-directory:notification-outbox\",\"cedros-directory:saved-searches\",\"cedros-directory:agent-commands\",\"cedros-directory:intake-invitations\",\"cedros-directory:intake-agreements\",\"cedros-directory:intake-acceptances\",\"cedros-directory:intake-attempts\",\"cedros-directory:fee-reservations\"],migrations:[],scopes:[{verb:\"read\",resource:\"directory records\",summary:\"Reads Directory-owned records for admin, owner, public, reporting, and jobs.\"},{verb:\"count\",resource:\"directory records\",summary:\"Counts Directory-owned records for analytics and admin summaries.\"},{verb:\"write\",resource:\"directory records\",summary:\"Writes Directory-owned listings, submissions, claims, plans, inquiries, settings-derived records, analytics, and audit entries.\"},{verb:\"delete\",resource:\"directory records\",summary:\"Deletes only Directory-owned records when retention cleanup or explicit admin deletion requires it.\"}],tags:[\"directory\",\"jsonb\",\"site-data\"]}],onboardingPages:[{id:\"cedros-directory:onboarding-settings\",displayName:\"Configure Directory Settings\",moduleId:\"cedros-directory:admin\",sectionId:\"cedros-directory:settings\",description:\"Review installed Login, retention, and optional AI; check integration availability before publishing.\"},{id:\"cedros-directory:onboarding-directory\",displayName:\"Create The First Directory\",moduleId:\"cedros-directory:admin\",sectionId:\"cedros-directory:directories\",description:\"Create or review the default directory container and visibility before publishing seeded pages.\"}],authoredSurfaces:[{id:\"cedros-directory:directory-pages\",displayName:\"Directory pages\",description:\"Owner-editable public pages for directory browsing, listing details, submission, claims, pricing, and listing-owner access.\",eyebrow:\"Directory\",templateIds:[\"cedros-directory:directory-template\",\"cedros-directory:listing-template\",\"cedros-directory:submission-template\",\"cedros-directory:claim-template\",\"cedros-directory:pricing-template\",\"cedros-directory:owner-template\",\"cedros-directory:disclosure-template\"]}],authoredTemplateUtilities:[{id:\"cedros-directory:directory-starter-set\",displayName:\"Directory starter set\",description:\"Suggested blocks for searchable listings, reviewed contributions, and owner maintenance.\",order:10,templateIds:[\"cedros-directory:directory-template\",\"cedros-directory:listing-template\",\"cedros-directory:submission-template\",\"cedros-directory:claim-template\",\"cedros-directory:pricing-template\",\"cedros-directory:owner-template\",\"cedros-directory:disclosure-template\"],contentTypes:[\"page\"],surfaceIds:[\"cedros-directory:directory-pages\"],suggestedBlockTypes:[\"cedros-directory:directory-search\",\"cedros-directory:featured-listings\",\"cedros-directory:submit-listing\",\"cedros-directory:claim-listing\",\"cedros-directory:owner-dashboard\",\"cedros-directory:listing-disclosure\"]}],docsArticles:[{id:\"cedros-directory:visitor-guide\",displayName:\"Directory visitor guide\",title:\"Using the directory\",slug:\"using-the-directory\",routePath:\"/docs/using-the-directory\",excerpt:\"How visitors can search, compare, submit, and claim directory listings safely.\",bodyMarkdown:`# Using the directory\n\nSearch published listings by name, service, location, category, or other public details. Open a listing to review its public summary and use its available website, phone, exact address, or directory-team inquiry path.\n\nListings may be featured or sponsored. Those placements are labeled clearly and are controlled by the site owner through Cedros Directory and Cedros Pay.\n\nSign in with Cedros Login before submitting a listing or ownership claim. Every request is reviewed and never publishes or grants owner access automatically. Use My Listing Activity to track the result.`,category:\"directory\",tags:[\"directory\",\"listings\"],productSlug:\"directory\",productLabel:\"Directory\",sectionKey:\"public\",sectionLabel:\"Public directory\",readingMinutes:2,order:10,seo:{description:\"How to use a Cedros Directory public page.\",canonicalPath:\"/docs/using-the-directory\"}},{id:\"cedros-directory:listing-owner-guide\",displayName:\"Listing owner guide\",title:\"Managing a claimed listing\",slug:\"managing-a-claimed-listing\",routePath:\"/docs/managing-a-claimed-listing\",excerpt:\"How contributors track review and verified owners keep live listings accurate.\",bodyMarkdown:`# Managing directory activity\n\nSign in through Cedros Login, then open My Listing Activity to track listing proposals and ownership claims. Approved claims assign the current verified account as the listing owner. Rejected browser proposals reopen from saved values and directory-team guidance; rejected claims return to the selected listing.\n\nVerified owners can suggest updates to listing content. Use Save draft to keep proposed edits privately for later, Resume saved draft to review them, and Send changes for review when ready. Deleting a saved draft leaves the public listing and submitted proposals unchanged. If the listing or draft changed elsewhere, reload the latest version before trying again. The existing public listing remains live while the directory team reviews the proposal; approved changes replace it atomically.\n\nWhen a listing term approaches expiration, request a free or manual renewal from My Listing Activity. The directory team chooses the next expiration date; an expired listing is republished only through a separate review decision.\n\nPaid renewals, featured placements, and sponsored upgrades require a host-coordinated Cedros Pay handoff. Directory never asks for card details, wallet secrets, or payment credentials.\n\nPaid renewals use the approved price shown by the fee-owner v2 checkout flow when its exact installed contracts are available. Sign in as the actual buyer and confirm that price. Keep the original reservation after response loss and check status rather than starting another payment. Payment and browser returns never publish a listing. The team independently approves delivery; rejected, late or withdrawn paid benefits remain refund due until Pay confirms the final refund. Featured/Sponsored terms remain labelled and never buy ranking, ownership or verification.\n`,category:\"directory\",tags:[\"directory\",\"owners\",\"payments\"],productSlug:\"directory\",productLabel:\"Directory\",sectionKey:\"owners\",sectionLabel:\"Listing owners\",readingMinutes:2,order:20,seo:{description:\"How listing owners manage claimed Cedros Directory listings.\",noindex:!0}},{id:\"cedros-directory:fee-operator-guide\",displayName:\"Directory fee operator guide\",title:\"Operate Directory fees\",slug:\"operate-directory-fees\",routePath:\"/docs/operate-directory-fees\",excerpt:\"Approve offers, recover originals and reconcile paid benefits and refunds.\",bodyMarkdown:`# Operate Directory fees\n\nGranting data:settings:read lets people and agents view every Directory admin page, including customer names, email addresses and messages in inquiries, ownership claims and their evidence, and fee payment records and buyer references. Grant it only to people or agents who may see that data. Viewers can inspect records and export; changing them requires the relevant Directory manage permission. Pay checks and recovery also require listing-management. Settings and integration reads never return API keys, webhook secrets or tokens.\n\nSource adoption is callable:false until the exact installed Core/Pay/Directory tuple is accepted. Use fee-reservations and the current opaque version before changes. Explicitly approve plan money/terms with fee-price-approve, then fee-product-setup. Use separate newPaymentsOpen and reconciliationAllowed flags; closing new sales must leave existing originals recoverable.\n\nActual local Login buyers confirm quote/checkout through Core v2. An MCP operator key is not a buyer. Approve the current real editorial source, then fee-activate reads and rechecks Pay before one atomic fulfillment. Renewal never publishes; priority only reorders moderation; placements remain labelled.\n\nRead/recover the retained original after logout or response loss. Use fee-revoke for withdrawn benefits. Rejected/late/withdrawn delivery stays refund_due until fee-refund returns the final #711 receipt; pending is not refunded. The polling job retains work and reconciles expiry, disputes and partial refunds.\n\nRead duplicatePayments from the original and use fee-refund-duplicate with that exact observed reference. It refunds only that distinct payment and preserves the original benefit. Inspect reconciliationNeeded and unavailable records. Keep all original keys; never replace an uncertain attempt or manufacture financial success.`,category:\"directory\",tags:[\"directory\",\"fees\",\"operations\"],productSlug:\"directory\",productLabel:\"Directory\",sectionKey:\"operators\",sectionLabel:\"Directory operators\",readingMinutes:3,order:30,seo:{noindex:!0}}],requiredCapabilities:[\"cedros-data:extension-storage-cas-v1\",\"cedros-login:user-context\",\"cedros-notifications:route-write\",\"cedros-data:notification-event-publish-v1\",\"cedros-data:notification-event-status-read-v1\",\"cedros-data:notification-event-telemetry-isolation-v1\",\"cedros-data:extension-visitor-v1\",\"cedros-data:login-subject-read-v1\",\"cedros-data:site-identity-v1\",\"cedros-data:extension-public-document-v1\"],routePolicies:[{routeId:\"cedros-directory:public-directory-read\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-listings-list\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-categories-list\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-listing-read\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-inquiry-create\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-search-event-create\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-claim-create\",endUserAuth:\"required\"},{routeId:\"cedros-directory:public-submission-create\",endUserAuth:\"required\"},{routeId:\"cedros-directory:agent-submission-create\",endUserAuth:\"required\",allowApiKeys:!0},{routeId:\"cedros-directory:owner-listings-list\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-listing-read\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-listing-draft-update\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-listing-submit-changes\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-listing-renew\",endUserAuth:\"required\",allowApiKeys:!1},{routeId:\"cedros-directory:public-tags-list\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-reviews-list\",endUserAuth:\"optional\"},{routeId:\"cedros-directory:public-review-submit\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-reviews-list\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-saved-listings-list\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-listing-save\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-listing-unsave\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-listing-analytics\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-review-withdraw\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-saved-searches-list\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-saved-search-create\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-saved-search-read\",endUserAuth:\"required\"},{routeId:\"cedros-directory:owner-saved-search-delete\",endUserAuth:\"required\"},{routeId:\"cedros-directory:public-disclosure\",endUserAuth:\"optional\",allowApiKeys:!1},{routeId:\"cedros-directory:buyer-fee-reserve\",endUserAuth:\"required\",allowApiKeys:!1},{routeId:\"cedros-directory:buyer-fee-quote\",endUserAuth:\"required\",allowApiKeys:!1},{routeId:\"cedros-directory:buyer-fee-checkout\",endUserAuth:\"required\",allowApiKeys:!1},{routeId:\"cedros-directory:buyer-fee-status\",endUserAuth:\"required\",allowApiKeys:!1},{routeId:\"cedros-directory:buyer-fee-resolve\",endUserAuth:\"required\",allowApiKeys:!1},{routeId:\"cedros-directory:buyer-fee-return-verify\",endUserAuth:\"required\",allowApiKeys:!1},{routeId:\"cedros-directory:buyer-fee-offers\",endUserAuth:\"required\",allowApiKeys:!1}],feeOwnerPolicy:{schemaVersion:2,capabilityId:\"cedros-directory:fee-owner-authority-v2\",authorityRouteId:\"cedros-directory:fee-owner-authority-v2\",reservationModel:\"cedros-directory:fee-reservations\",sourceModels:[\"cedros-directory:submissions\",\"cedros-directory:listings\",\"cedros-directory:plans\",\"cedros-directory:listing-revisions\"],approvalModels:[\"cedros-directory:plans\",\"cedros-directory:submissions\",\"cedros-directory:listings\",\"cedros-directory:listing-revisions\",\"cedros-directory:fee-reservations\",\"cedros-directory:placements\"],operationCapabilities:[\"cedros-pay:extension-fee-descriptor-v1\",\"cedros-pay:extension-fee-product-upsert-v1\",\"cedros-pay:extension-fee-read-v1\",\"cedros-pay:extension-fee-recover-v1\",\"cedros-pay:extension-fee-activate-v1\",\"cedros-pay:extension-fee-revoke-v1\",\"cedros-pay:extension-refund-v1\"]}};var Wi=pa;var ya={manifest:Wi};var fa=[{id:\"cedros-directory:directory-template\",label:\"Directory Page\",contentTypes:[\"page\"],zones:[{id:\"main\",label:\"Main content\",order:10}],blocks:[{type:\"cedros-directory:directory-search\",props:{directorySlug:\"main\",view:\"grid\"},zoneId:\"main\"}]},{id:\"cedros-directory:listing-template\",label:\"Directory Listing Page\",contentTypes:[\"page\"],zones:[{id:\"main\",label:\"Main content\",order:10}],blocks:[{type:\"cedros-directory:single-listing\",props:{},zoneId:\"main\"}]},{id:\"cedros-directory:submission-template\",label:\"Submit Listing Page\",contentTypes:[\"page\"],zones:[{id:\"main\",label:\"Main content\",order:10}],blocks:[{type:\"cedros-directory:submit-listing\",props:{directorySlug:\"main\"},zoneId:\"main\"}]},{id:\"cedros-directory:claim-template\",label:\"Claim Listing Page\",contentTypes:[\"page\"],zones:[{id:\"main\",label:\"Main content\",order:10}],blocks:[{type:\"cedros-directory:claim-listing\",props:{directorySlug:\"main\"},zoneId:\"main\"}]},{id:\"cedros-directory:pricing-template\",label:\"Directory Pricing Page\",contentTypes:[\"page\"],zones:[{id:\"main\",label:\"Main content\",order:10}],blocks:[{type:\"cedros-directory:submit-listing\",props:{directorySlug:\"main\",mode:\"pricing\"},zoneId:\"main\"}]},{id:\"cedros-directory:owner-template\",label:\"Listing Owner Page\",contentTypes:[\"page\"],zones:[{id:\"main\",label:\"Main content\",order:10}],blocks:[{type:\"cedros-directory:owner-dashboard\",props:{directorySlug:\"main\"},zoneId:\"main\"}]},{id:\"cedros-directory:disclosure-template\",label:\"How Listings Work Page\",contentTypes:[\"page\"],zones:[{id:\"main\",label:\"Main content\",order:10}],blocks:[{type:\"cedros-directory:listing-disclosure\",props:{},zoneId:\"main\"}]}];function Zi(e){let t=typeof e==\"number\"?e:Number(e??0);return new Intl.NumberFormat(\"en-US\").format(Number.isFinite(t)?t:0)}function T(e){return!!(e&&typeof e==\"object\"&&!Array.isArray(e))}function ga(e,t){if(typeof document>\"u\"||document.getElementById(e))return;let r=document.createElement(\"style\");r.id=e,r.textContent=t,document.head.append(r)}import{jsx as u,jsxs as I,Fragment as rt}from\"react/jsx-runtime\";var fu={sponsored:\"Sponsored\",advertisement:\"Advertisement\",paid_featured_placement:\"Paid featured placement\"},Qi=[\"Featured\",...Object.values(fu)];function mr(e){if(!e||typeof e!=\"object\"||Array.isArray(e))return null;let t=e;if(t.featured!==!0&&t.sponsored!==!0)return null;let r=t.paid===!0,i=t.sponsored===!0?\"Sponsored\":\"Featured\";return{label:typeof t.label==\"string\"&&Qi.includes(t.label)?t.label:i,paid:r,sponsoredLinks:r||t.sponsored===!0}}function ba(e,t){if(!ve(e)||typeof e.id!=\"string\"||!e.id.trim()||e.listingId!==t.listingId||e.status!==\"new\"&&e.status!==\"resolved\"||e.email!==t.email.trim()||e.message!==t.message.trim()||(e.name??null)!==(t.name?.trim()||null))throw new Error(\"Your inquiry could not be confirmed. Keep your message unchanged and retry to check whether it was saved.\")}function va(e,t,r,i){if(!ve(e)||typeof e.id!=\"string\"||!e.id.trim()||e.listingId!==t||(i?e.status!==\"draft\"||typeof e.recordVersion!=\"string\"||!e.recordVersion.trim():![\"pending\",\"approved\",\"rejected\"].includes(String(e.status)))||!_o(e.after,r))throw new Error(\"Your listing changes could not be confirmed. Keep this form unchanged and retry to check whether they were saved.\")}function xa(e,t){if(!ve(e)||e.listingId!==t||![\"requested\",\"checkout_ready\"].includes(String(e.status))||e.status===\"checkout_ready\"&&(typeof e.reservationId!=\"string\"||!e.reservationId||typeof e.bindingId!=\"string\"||!e.bindingId||!Number.isSafeInteger(e.amountCents)||Number(e.amountCents)<=0||typeof e.currency!=\"string\"||!/^[A-Z]{3}$/.test(e.currency)))throw new Error(\"Your renewal could not be confirmed. Reload your listing activity before retrying.\")}function wa(e,t){let r=ve(e)?e[t===\"claim\"?\"claimId\":\"submissionId\"]:null;if(!ve(e)||typeof r!=\"string\"||!r.trim()||![\"pending\",\"approved\",\"rejected\"].includes(String(e.status))||typeof e.replayed!=\"boolean\"||e.reviewRequired!==(e.status===\"pending\"))throw new Error(\"Your request could not be confirmed. Keep your details unchanged and retry to check whether it was received.\")}function _o(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((r,i)=>_o(r,t[i]));if(ve(e)&&ve(t)){let r=Object.keys(e);return r.length===Object.keys(t).length&&r.every(i=>Object.hasOwn(t,i)&&_o(e[i],t[i]))}return!1}function gu(e,t,r,i){e!==void 0&&(typeof e!=\"string\"||!e.trim()||Sa(e)>r)&&i.push(`${t} must be between 1 and ${r} characters`)}function ha(e,t,r,i){typeof e!=\"string\"||!e.trim()?i.push(`${t} is required`):Sa(e)>r&&i.push(`${t} must be ${r} characters or fewer`)}function _a(e,t=\"media\"){let r=[];if(e===void 0)return r;if(!Array.isArray(e))return[`${t} must be an array`];for(let i of e){if(!ve(i)){r.push(`${t}[] must be an object`);continue}hu(i,[\"url\",\"alt\",\"type\",\"poster\"],`${t}[]`,r),ha(i.url,`${t}[].url`,2048,r),typeof i.url==\"string\"&&La(i.url,`${t}[].url`,r),gu(i.alt,`${t}[].alt`,500,r),i.type!==void 0&&i.type!==\"image\"&&i.type!==\"video\"&&r.push(`${t}[].type must be image or video`),i.poster!==void 0&&(i.type!==\"video\"&&r.push(`${t}[].poster requires type video`),ha(i.poster,`${t}[].poster`,2048,r),typeof i.poster==\"string\"&&La(i.poster,`${t}[].poster`,r))}return r}function hu(e,t,r,i){for(let n of Object.keys(e))t.includes(n)||i.push(`${r}.${n} is not supported`)}function ve(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function Sa(e){return[...e].length}function La(e,t,r){Lu(e)||r.push(`${t} must be an https or same-origin URL`)}function Lu(e){if(/[\\\\\\s\\u0000-\\u001f\\u007f-\\u009f]/.test(e))return!1;if(/^\\/(?![\\\\/])\\S*$/.test(e))return!0;try{let t=new URL(e);return t.protocol===\"https:\"&&!t.username&&!t.password}catch{return!1}}function So(e,t){if(!(e===void 0||!Number.isFinite(e)))return t?e:Math.round(e*10)/10}function Ut(e){if(!e||typeof e!=\"object\"||Array.isArray(e))return null;let t=e,r=(s,a)=>{if(typeof s!=\"number\"&&(typeof s!=\"string\"||!s.trim()))return;let c=Number(s);return Number.isFinite(c)&&Math.abs(c)<=a?c:void 0},i=t.showExactAddress===!0,n=So(r(t.latitude,90),i),o=So(r(t.longitude,180),i);return n===void 0||o===void 0?null:{latitude:n,longitude:o,approximate:!i}}function ka(e){let t=Ut(e);if(!t)return null;let r=`${t.latitude},${t.longitude}`,i=new URLSearchParams({api:\"1\",[t.approximate?\"query\":\"destination\"]:r});return`https://www.google.com/maps/${t.approximate?\"search\":\"dir\"}/?${i}`}function Lt(e,t,r,i){if(!ve(e)||!Array.isArray(e[t])||!ve(e.pagination))throw new Error(\"Directory returned an invalid activity page. Retry before continuing.\");let n=e[t],{nextOffset:o,hasMore:s}=e.pagination;if(n.length>i||n.some(a=>!ve(a)||typeof a.id!=\"string\"||!a.id)||new Set(n.map(a=>a.id)).size!==n.length||typeof s!=\"boolean\"||typeof o!=\"number\"||!Number.isSafeInteger(o)||o<r||o>r+i||s&&o<=r)throw new Error(\"Directory activity pagination is incomplete or repeated. Retry before continuing.\");return{records:n,nextOffset:o,hasMore:s}}function ko(e){if(!ve(e)||[\"inquiries\",\"approvedReviews\",\"savedByReaders\"].some(t=>typeof e[t]!=\"number\"||!Number.isSafeInteger(e[t])||e[t]<0))throw new Error(\"Directory returned invalid activity counts. Retry before relying on them.\");return e}function pr(e){if(!ve(e)||typeof e.id!=\"string\"||!/^search_[a-f0-9]{64}$/.test(e.id)||typeof e.name!=\"string\"||!e.name.trim()||[...e.name].length>80||typeof e.directoryId!=\"string\"||!e.directoryId||e.directoryId.length>160||typeof e.recordVersion!=\"string\"||!e.recordVersion||!ve(e.filters)||Object.keys(e.filters).length>20)throw new Error(\"Directory returned an invalid saved search. Reload before applying it.\");if(e.directoryLabel!==void 0&&(typeof e.directoryLabel!=\"string\"||[...e.directoryLabel].length>160))throw new Error(\"Directory returned an invalid saved directory label.\");let t={};for(let[i,n]of Object.entries(e.filters)){if(!i.startsWith(\"filter.\")&&![\"q\",\"categoryId\",\"tagId\",\"sort\",\"direction\",\"latitude\",\"longitude\",\"radiusKm\"].includes(i)||typeof n!=\"string\"||!n.trim()||[...n].length>240||/[\\u0000-\\u001f\\u007f]/.test(n))throw new Error(\"Directory returned unsupported saved filters. Reload before applying them.\");t[i]=n}let r=t.sort??\"title\";if(![\"title\",\"publishedAt\",\"distance\"].includes(r)&&!r.startsWith(\"custom:\"))throw new Error(\"This saved search uses an unsupported sort.\");if(t.direction&&t.direction!==(r===\"publishedAt\"?\"desc\":\"asc\"))throw new Error(\"This saved search uses an unsupported sort direction.\");return{id:e.id,name:e.name,directoryId:e.directoryId,recordVersion:e.recordVersion,filters:t,...typeof e.directoryLabel==\"string\"?{directoryLabel:e.directoryLabel}:{}}}function Io(e){return`/directory?${new URLSearchParams({directory:e.directoryId,savedSearch:e.id})}`}function Co(e,t){let r=pr(e);if(r.name!==t.name.trim()||r.directoryId!==t.directoryId||Object.keys(r.filters).length!==Object.keys(t.filters).length||Object.entries(t.filters).some(([i,n])=>r.filters[i]!==(i.startsWith(\"filter.\")?n:n.trim())))throw new Error(\"The saved search returned different criteria. Reload before retrying.\");return r}function Kr(e,t){if(!ve(e)||typeof e.id!=\"string\"||!e.id||!Number.isInteger(e.rating)||typeof e.rating!=\"number\"||e.rating<1||e.rating>5||typeof e.displayName!=\"string\"||[...e.displayName.trim()].length<2||[...e.displayName].length>80||typeof e.body!=\"string\"||[...e.body.trim()].length<10||[...e.body].length>4e3)throw new Error(\"Directory returned an invalid review. Reload before continuing.\");let r={id:e.id,rating:e.rating,displayName:e.displayName,body:e.body};if(t!==void 0){if(e.listingId!==t||typeof e.recordVersion!=\"string\"||!e.recordVersion||typeof e.status!=\"string\"||![\"pending\",\"approved\",\"rejected\"].includes(e.status)||e.reviewNote!==void 0&&(typeof e.reviewNote!=\"string\"||[...e.reviewNote].length>1e3))throw new Error(\"Directory returned an invalid saved review. Reload before editing.\");Object.assign(r,{listingId:t,recordVersion:e.recordVersion,status:e.status,...typeof e.reviewNote==\"string\"?{reviewNote:e.reviewNote}:{}})}return r}function bt(e){let t=Object.fromEntries(Object.entries(e).filter(([r,i])=>(r.startsWith(\"filter.\")||r===\"tagId\")&&i.trim()).map(([r,i])=>[r,r.startsWith(\"filter.\")?i:i.trim()]));if([\"latitude\",\"longitude\",\"radiusKm\"].every(r=>!!e[r]?.trim()))for(let r of[\"latitude\",\"longitude\",\"radiusKm\"])t[r]=e[r].trim();return t}function Ue(e){if(typeof e!=\"string\"||!e.trim())return null;let t=new Date(/^\\d{4}-\\d{2}-\\d{2}$/.test(e)?`${e}T00:00:00Z`:e);return Number.isNaN(t.valueOf())?null:t.toLocaleDateString(\"en-GB\",{day:\"numeric\",month:\"long\",year:\"numeric\",timeZone:\"UTC\"})}function Bt(e){if(typeof e!=\"string\"||/[\\u0000-\\u001f\\u007f-\\u009f]/.test(e))return null;let t=e.trim();if(!t||t!==e||[...t].length>160)return null;try{encodeURIComponent(t)}catch{return null}return t}function se(e,t){if(!e.startsWith(\"/\")||e.startsWith(\"//\")||/[\\\\\\u0000-\\u0020\\u007f]/.test(e))return;if(t===void 0)return e;let r=Bt(t);if(!r)return;let[i,n]=e.split(/#(.*)/s),[o,s=\"\"]=i.split(/\\?(.*)/s),a=new URLSearchParams(s);return a.set(\"directory\",r),`${o}?${a}${n===void 0?\"\":`#${n}`}`}function nt(e){if(typeof e!=\"string\"||/[\\\\\\u0000-\\u001f\\u007f]/.test(e))return null;try{let t=new URL(e.trim());return!t.username&&!t.password&&(t.protocol===\"http:\"||t.protocol===\"https:\")?t.toString():null}catch{return null}}function Ia(e){return e.type!==\"url-list\"||!Array.isArray(e.value)||!e.value.every(t=>typeof t==\"string\")?null:e.value.map(t=>({text:t,href:nt(t)}))}import{jsx as xt,jsxs as vt}from\"react/jsx-runtime\";import{useEffect as bu,useRef as vu,useState as Hr}from\"react\";function yr(e,t){if(typeof e!=\"number\"||!Number.isSafeInteger(e)||e<=0||typeof t!=\"string\"||!/^[A-Z]{3}$/.test(t))return\"Price unavailable\";try{return new Intl.NumberFormat(void 0,{style:\"currency\",currency:t}).format(e/100)}catch{return\"Price unavailable\"}}function Yi(e){if(typeof e!=\"number\"||!Number.isFinite(e)||e<=0)return\"Not recorded\";let t=new Date(e*1e3);return Number.isNaN(t.getTime())?\"Not recorded\":t.toLocaleString()}function zt(e){if(typeof e!=\"number\"||!Number.isSafeInteger(e)||e<=0)return\"Not recorded\";for(let[t,r]of[[86400,\"day\"],[3600,\"hour\"],[60,\"minute\"],[1,\"second\"]])if(e%t===0){let i=e/t;return`${i} ${r}${i===1?\"\":\"s\"}`}return\"Not recorded\"}function Xi(e){return e===\"undelivered_time\"?\"If an active placement ends early, unused time is refunded, rounded up in your favour. A placement that is never delivered is refunded in full.\":\"If the purchased benefit cannot be delivered, the remaining payment is refunded.\"}var Ca={reserved:{label:\"Checkout started\",next:\"Check payment in Pay before approving delivery. An unfinished checkout is not proof of payment.\"},released:{label:\"Checkout closed \\u2014 unpaid\",next:\"No benefit was applied. The buyer may start a new purchase if the offer is still available.\"},awaiting_activation:{label:\"Waiting for delivery\",next:\"Check payment, review the listing request, then approve and apply the benefit. Payment never replaces editorial review.\"},active:{label:\"Benefit active\",next:\"The benefit has been applied. Check its end date below; applying it again does not extend it.\"},expired:{label:\"Benefit ended\",next:\"This purchased term has ended. A renewal requires a separate purchase.\"},revoked:{label:\"Benefit stopped\",next:\"Check payment and any refund owed. Stopping a benefit does not confirm a refund.\"},refund_due:{label:\"Refund due\",next:\"Refund the remaining payment below. Keep following up until Pay confirms completion; a pending refund is still owed.\"},refunded:{label:\"Refund complete\",next:\"Pay confirmed the final refund. No further refund is needed for this payment.\"}};function Ma(e){return typeof e==\"string\"&&Object.hasOwn(Ca,e)?Ca[e]:{label:\"Status unknown\",next:\"Reload this payment. If its status is still missing, ask the site administrator to investigate before changing it.\"}}function fr(e){let t=e.businessDayPolicy;if(t&&typeof t==\"object\"&&\"version\"in t&&t.version===1&&\"days\"in t&&typeof t.days==\"number\"&&Number.isInteger(t.days)&&t.days>=1&&t.days<=30)return`within ${t.days} business days after verified payment`;let r=zt(e.deliveryWindowSeconds);return r===\"Not recorded\"?\"Delivery promise not recorded\":`within ${r} after purchase`}function Mo(e){let t=e.feeTerms;return Yi(e.businessDayPolicy?e.businessDayDeadline:t&&typeof t==\"object\"&&\"deliveryDeadline\"in t?t.deliveryDeadline:e.deliveryDeadline)}var te=class extends Error{status;constructor(t,r){super(t),this.status=r,this.name=\"PublicRequestError\"}};async function $(e,t={}){let r=await fetch(`/extensions/cedros-directory${e}`,{method:t.method??\"GET\",headers:{\"content-type\":\"application/json\",...t.headers},credentials:\"same-origin\",body:t.body===void 0?void 0:JSON.stringify(t.body)}),i=await r.json().catch(()=>r.ok?null:{ok:!1,error:{message:`HTTP ${r.status}`}});if(!r.ok||T(i)&&i.ok===!1){let n=T(i)&&T(i.error)?i.error.message:void 0;throw new te(typeof n==\"string\"&&n.trim()&&n.length<=2e3?n:T(i)&&typeof i.detail==\"string\"&&i.detail.trim()&&i.detail.length<=2e3?i.detail:`Request failed with HTTP ${r.status}`,r.status)}if(!T(i)||i.ok!==!0)throw new te(\"Cedros returned an invalid Directory response. Refresh to check the result before retrying.\",r.status);if(!T(i.data))throw new te(\"Cedros returned an invalid Directory response. Refresh to check the result before retrying.\",r.status);return i.data}function Ta(e){try{return typeof sessionStorage>\"u\"?null:JSON.parse(sessionStorage.getItem(e)??\"null\")}catch{return null}}function Pa(e,t){typeof sessionStorage<\"u\"&&sessionStorage.setItem(e,JSON.stringify(t))}function Ra(e){let t=Ta(`directory-renewal:${e}`);return T(t)&&typeof t.reservationId==\"string\"&&typeof t.bindingId==\"string\"&&typeof t.amountCents==\"number\"&&Number.isSafeInteger(t.amountCents)&&t.amountCents>0&&typeof t.currency==\"string\"&&/^[A-Z]{3}$/.test(t.currency)?{reservationId:t.reservationId,bindingId:t.bindingId,amountCents:t.amountCents,currency:t.currency,listingId:e,...T(t.feeTerms)&&(t.feeTerms.durationSeconds===null||typeof t.feeTerms.durationSeconds==\"number\")&&(t.feeTerms.deliveryDeadline===null||typeof t.feeTerms.deliveryDeadline==\"number\")?{feeTerms:{durationSeconds:t.feeTerms.durationSeconds,deliveryDeadline:t.feeTerms.deliveryDeadline}}:{}}:null}function Aa(e,t){Pa(`directory-renewal:${e}`,t)}function xu(e){let t={customerContext:{fulfillment:{kind:\"digital\"},returnUrls:{success:window.location.href,cancel:window.location.href}}};try{let r=Ta(`directory-fee:${e.reservationId}`);if(T(r)&&T(r.customerContext)&&T(r.customerContext.returnUrls)&&typeof r.customerContext.returnUrls.success==\"string\"&&typeof r.customerContext.returnUrls.cancel==\"string\"){let i=new URL(r.customerContext.returnUrls.success,window.location.origin),n=new URL(r.customerContext.returnUrls.cancel,window.location.origin);if(i.origin===window.location.origin&&n.origin===window.location.origin)return{customerContext:{fulfillment:{kind:\"digital\"},returnUrls:{success:i.href,cancel:n.href}},quoteOperationId:typeof r.quoteOperationId==\"string\"?r.quoteOperationId:void 0,operationId:typeof r.operationId==\"string\"?r.operationId:void 0,returnArtifact:typeof r.returnArtifact==\"string\"?r.returnArtifact:void 0}}}catch{}return t}function Ji(e,t){if(!T(e)||e.bindingId!==t||e.fulfillmentAuthorized!==!1||!T(e.result)||typeof e.result.operationId!=\"string\"||!e.result.operationId||typeof e.result.attemptId!=\"string\"||!e.result.attemptId)throw new Error(\"The checkout response could not be confirmed. Keep this page and check this payment before retrying.\");return{...e.result,...T(e.businessDayPolicy)?{businessDayPolicy:e.businessDayPolicy,verifiedPaidAt:e.verifiedPaidAt,businessDayDeadline:e.businessDayDeadline}:{}}}function wu(e){if(typeof e!=\"string\")throw new Error(\"The payment link is unavailable. Check this payment before retrying.\");let t=new URL(e);if(t.protocol!==\"https:\"||t.hostname!==\"checkout.stripe.com\"||t.username||t.password||t.port)throw new Error(\"Checkout URL does not match Cedros Pay's verified provider.\");return t.href}function en(e,t=!1){return T(e)&&typeof e.reservationId==\"string\"&&!!e.reservationId&&typeof e.bindingId==\"string\"&&!!e.bindingId&&yr(e.amountCents,e.currency)!==\"Price unavailable\"&&T(e.feeTerms)&&(t?e.feeTerms.durationSeconds===null&&(Yi(e.feeTerms.deliveryDeadline)!==\"Not recorded\"||T(e.businessDayPolicy)&&fr(e)!==\"Delivery promise not recorded\"):zt(e.feeTerms.durationSeconds)!==\"Not recorded\")}function tn(e){let t=e&&typeof e==\"object\"&&\"status\"in e?e.status:void 0;return t===401?\"Sign in with the account that started this purchase, then check this payment.\":t===403||t===424||t===502||t===503?\"Paid checkout is unavailable right now. Ask the directory team to restore payment access. Keep this page so you can check the same payment when access returns.\":t===409?\"This purchase changed. Reload its latest details and check this payment before paying again.\":\"Your payment could not be confirmed. Keep this page and use Check payment status if available. Otherwise retry this same checkout; do not start another purchase.\"}function rn({reservation:e,benefit:t=\"renewal\",checkoutAllowed:r=!0,recoveryAllowed:i=!0,purchaseStatus:n=\"reserved\"}){return en(e,t.startsWith(\"priority_\"))?xt(_u,{reservation:e,benefit:t,checkoutAllowed:r,recoveryAllowed:i,purchaseStatus:n},`${e.reservationId}:${e.bindingId}`):vt(\"section\",{\"aria-label\":\"Paid checkout\",children:[xt(\"h3\",{children:\"Checkout details unavailable\"}),xt(\"p\",{children:\"The price, purchased term or payment reference is missing. Reload your listing activity. If it is still missing, contact the directory team before paying.\"})]})}function _u({reservation:e,benefit:t,checkoutAllowed:r,recoveryAllowed:i,purchaseStatus:n}){let[o,s]=Hr({...e});bu(()=>{s({...e})},[e]);let[a,c]=Hr(()=>xu(e)),[l,d]=Hr(!1),[p,m]=Hr(\"\"),[f,h]=Hr(!1),g=vu(!1),b={schemaVersion:2,reservationId:e.reservationId,bindingId:e.bindingId},L=y=>{Pa(`directory-fee:${e.reservationId}`,y),c(y)},x=async y=>{if(!g.current){g.current=!0,d(!0),m(\"\");try{await y()}catch(S){m(tn(S))}finally{g.current=!1,d(!1)}}},_=()=>x(async()=>{L(a);let y=Ji(await $(\"/owner/fees/quote\",{method:\"POST\",body:{...b,customerContext:a.customerContext,confirmed:!0}}),e.bindingId);if(!T(y.quote)||y.quote.totalCents!==e.amountCents||y.quote.currency!==e.currency)throw new Error(\"The price could not be confirmed. Reload this purchase before paying.\");L({...a,quoteOperationId:String(y.operationId)}),m(\"Price confirmed. Continue to secure payment.\")}),k=()=>x(async()=>{if(!a.quoteOperationId)throw new Error(\"Confirm the approved price first.\");let y=Ji(await $(\"/owner/fees/checkout\",{method:\"POST\",body:{...b,quoteOperationId:a.quoteOperationId,customerContext:a.customerContext,confirmed:!0}}),e.bindingId);T(y.businessDayPolicy)&&s({...e,...y});let S={...a,operationId:String(y.operationId),returnArtifact:typeof y.returnArtifact==\"string\"?y.returnArtifact:a.returnArtifact};if(L(S),y.status===\"action_required\"&&S.returnArtifact){let C=Ji(await $(\"/owner/fees/resolve\",{method:\"POST\",body:{...b,operationId:S.operationId,returnArtifact:S.returnArtifact,confirmed:!0}}),e.bindingId);if(C.status!==\"resolved\")throw new Error(\"This payment needs checking. Use Check payment status before retrying.\");window.location.assign(wu(C.checkoutUrl))}else m(\"Payment is being checked. Use Check payment status; the directory team approves delivery separately.\")}),v=()=>x(async()=>{if(!a.operationId)throw new Error(\"Resume this checkout before checking payment status.\");let y=a.returnArtifact?\"return-verify\":\"status\",S=Ji(await $(`/owner/fees/${y}`,{method:\"POST\",body:{...b,operationId:a.operationId,...a.returnArtifact?{returnArtifact:a.returnArtifact}:{}}}),e.bindingId);T(S.businessDayPolicy)&&s({...e,...S});let C=T(S.outcome)?S.outcome:S;h(!0),m(C.status===\"paid\"?\"Payment confirmed. The directory team will review and apply the benefit separately. You do not need to pay again.\":C.status===\"refunded\"?\"Pay reports this payment refunded. Contact the directory team if the refund has not reached you.\":C.status===\"failed\"||C.status===\"expired\"?\"Payment did not complete. Ask the directory team to check this purchase before starting another payment.\":\"Payment is not yet confirmed. Keep this page and check again. Do not start another payment.\")}),M=yr(e.amountCents,e.currency);return vt(\"div\",{\"aria-label\":\"Paid checkout\",children:[vt(\"p\",{children:[\"Approved \",t===\"renewal\"?\"renewal\":t.startsWith(\"priority_\")?\"priority review\":t,\" fee: \",xt(\"strong\",{children:M}),\". Payment never publishes, verifies or ranks a listing. The directory team approves and applies the benefit separately.\"]}),e.feeTerms?.durationSeconds?vt(\"p\",{children:[\"Purchased \",t===\"renewal\"?\"listing\":\"placement\",\" term: \",zt(e.feeTerms.durationSeconds),\".\",t===\"renewal\"?\" A renewal starts after the current term ends.\":\"\"]}):null,t===\"featured\"||t===\"sponsored\"?xt(\"p\",{children:Xi(e.refundPolicy)}):null,t.startsWith(\"priority_\")?vt(\"p\",{children:[\"Priority review decision \",Mo(o)!==\"Not recorded\"?`due ${Mo(o)}`:fr(o),\".\"]}):e.feeTerms?.deliveryDeadline?vt(\"p\",{children:[\"Benefit delivery deadline: \",Yi(e.feeTerms.deliveryDeadline),\".\"]}):null,!r||!i?vt(\"p\",{role:\"status\",children:[i?n===\"reserved\"?\"New payments are paused for this purchase. Contact the directory team before continuing.\":\"Your purchase is recorded.\":\"Payment recovery is paused. Contact the directory team.\",\" Keep this purchase; do not pay again.\"]}):null,!f&&r&&i&&(a.quoteOperationId?vt(\"button\",{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",disabled:l,onClick:()=>{k()},children:[a.operationId?\"Resume this checkout\":\"Continue to Pay\",\" \\xB7 \",M]}):xt(\"button\",{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",disabled:l,onClick:()=>{_()},children:\"Confirm price and prepare checkout\"})),a.operationId&&i?xt(\"button\",{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",disabled:l,onClick:()=>{v()},children:\"Check payment status\"}):null,p?xt(\"p\",{role:\"status\",children:p}):null]})}import{jsx as xe,jsxs as Kt,Fragment as Iu}from\"react/jsx-runtime\";import{useEffect as Cu,useRef as Ea,useState as Ht}from\"react\";var Su=/^\\/directory\\/listings\\/([a-z0-9]+(?:-[a-z0-9]+)*)\\/?$/,Na=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;function Va(e,t,r){let i=ku(r);if(!i)return t;let n=i.kind===\"directory-listing\"&&[\"cedros-directory:single-listing\",\"cedros-directory:related-listings\"].includes(e)?i.listing:i.kind===\"directory-category\"&&(e===\"cedros-directory:category-grid\"||Da(e))?i.category:null;if(T(n)){if(t.directoryId!==void 0&&t.directoryId!==n.directoryId)return t;t={...t,directoryId:n.directoryId??null},i.kind===\"directory-category\"&&(t=Gr(t,\"categoryId\",n.id))}return i.kind===\"directory-listing\"&&e===\"cedros-directory:single-listing\"?Gr(t,\"initialListing\",i.listing):i.kind===\"directory-listing\"&&e===\"cedros-directory:related-listings\"?Gr(t,\"sourceListing\",i.listing):i.kind!==\"directory-category\"?t:e===\"cedros-directory:category-grid\"&&T(i.category)?Gr(t,\"initialCategories\",[i.category]):Array.isArray(i.listings)&&Da(e)?Gr(t,\"initialListings\",i.listings.filter(T)):t}function Wr(e,t,r){if(typeof e.slug==\"string\"&&Na.test(e.slug))return e.slug;let i=t??(typeof window>\"u\"?\"\":window.location.pathname),n=Su.exec(i)?.[1];if(n)return n;let o=r??(typeof window>\"u\"?\"\":window.location.search),s=new URLSearchParams(o).get(\"listing\")?.trim()??\"\";return Na.test(s)?s:null}function Po(e,t){if(typeof e.categoryId==\"string\"&&To(e.categoryId))return e.categoryId.trim();let r=t??(typeof window>\"u\"?\"\":window.location.search),i=new URLSearchParams(r).get(\"category\")?.trim()??\"\";return To(i)?i:\"\"}function wt(e){return`/directory/listings/${encodeURIComponent(e)}`}function qa(e,t){if(e.directoryId!==void 0)return e;let r=t??(typeof window>\"u\"?\"\":window.location.search),i=new URLSearchParams(r).getAll(\"directory\");return i.length?i.length!==1||!To(i[0])?{...e,directoryId:null}:{...e,directoryId:i[0].trim()}:e}function Me(e,t,r){let i=t??(typeof window>\"u\"?\"\":window.location.pathname),n=r??(typeof window>\"u\"?\"\":window.location.search),o=i?`${i}${n}`:e??\"\";return!o.startsWith(\"/\")||o.startsWith(\"//\")||/[\\\\\\u0000-\\u0020\\u007f]/.test(o)?\"/login\":`/login?returnTo=${encodeURIComponent(o)}`}function Ro(e){return`/directory/categories/${encodeURIComponent(e)}`}function ku(e){return T(e)?T(e.renderData)?e.renderData:e:null}function Gr(e,t,r){return e[t]===void 0&&r!==void 0?{...e,[t]:r}:e}function Da(e){return[\"cedros-directory:directory-search\",\"cedros-directory:listing-grid\",\"cedros-directory:listing-list\",\"cedros-directory:featured-listings\",\"cedros-directory:sponsored-listings\",\"cedros-directory:location-grid\",\"cedros-directory:map\"].includes(e)}function To(e){return Bt(e)!==null}var ja=[\"priority_decision\",\"priority_update\",\"featured\",\"sponsored\"],Oa=e=>Array.isArray(e)&&e.length>0&&e.every(t=>typeof t==\"string\"&&t),Ao=e=>e.startsWith(\"priority_\")?\"priority review\":`${e===\"featured\"?\"Featured\":\"Sponsored\"} placement`;function Mu(e){if(!T(e)||typeof e.eligible!=\"boolean\"||!Array.isArray(e.offers)||!Array.isArray(e.purchases))throw Error(\"Invalid offers\");for(let t of e.offers)if(!T(t)||typeof t.planId!=\"string\"||!t.planId||typeof t.name!=\"string\"||!t.name||!ja.includes(String(t.kind))||![\"available\",\"sold_out\",\"pending_payment\"].includes(String(t.availability))||t.publicLabel!==void 0&&(String(t.kind).startsWith(\"priority_\")||typeof t.publicLabel!=\"string\"||!Qi.includes(t.publicLabel))||t.availability===\"pending_payment\"&&!Oa(t.pendingPaymentCategories)||yr(t.amountCents,t.currency)===\"Price unavailable\"||(String(t.kind).startsWith(\"priority_\")?fr(t)===\"Delivery promise not recorded\":zt(t.durationSeconds)===\"Not recorded\")||t.availability===\"sold_out\"&&!Oa(t.soldOutCategories))throw Error(\"Invalid offer\");for(let t of e.purchases)if(!T(t)||!ja.includes(String(t.kind))||typeof t.status!=\"string\"||!Object.hasOwn({reserved:1,released:1,awaiting_activation:1,active:1,expired:1,revoked:1,refund_due:1,refunded:1},t.status)||typeof t.recoveryAllowed!=\"boolean\"||typeof t.checkoutAllowed!=\"boolean\"||!en(t.reservation,String(t.kind).startsWith(\"priority_\")))throw Error(\"Invalid purchase\");return e}function No({sourceModel:e,sourceKey:t}){return xe(Tu,{sourceModel:e,sourceKey:t},`${e}:${t}`)}function Tu({sourceModel:e,sourceKey:t}){let[r,i]=Ht(null),[n,o]=Ht(\"\"),[s,a]=Ht(!1),[c,l]=Ht(!1),[d,p]=Ht(0),[m,f]=Ht(null),[h,g]=Ht(!1),b=Ea(!1),L=Ea(null),x={sourceModel:e,sourceKey:t};Cu(()=>{let v=!0;return i(null),o(\"\"),a(!1),g(!1),t&&$(\"/owner/fees/offers\",{method:\"POST\",body:{sourceModel:e,sourceKey:t}}).then(M=>{if(v)try{let y=Mu(M);for(let S of y.offers.filter(C=>!C.kind.startsWith(\"priority_\")&&C.availability===\"available\"&&!y.purchases.some(w=>w.kind===C.kind))){let C=`directory-purchase:${e}:${t}:${S.kind}`;try{let w=typeof sessionStorage>\"u\"?null:JSON.parse(sessionStorage.getItem(C)??\"null\");T(w)&&T(w.body)&&typeof w.body.periodStart==\"number\"&&w.body.periodStart<Date.now()/1e3&&(sessionStorage.removeItem(C),L.current?.planId===w.planId&&(L.current=null))}catch{}}i(y)}catch{o(\"Purchase details are unavailable. The price, terms or payment reference is missing. Reload before paying; keep any existing purchase and do not pay again.\")}}).catch(M=>{v&&(o(tn(M)),a(M?.status===401))}),()=>{v=!1}},[e,t,d]);let _=async v=>{if(!(b.current||v.availability!==\"available\")){b.current=!0,l(!0),o(\"\");try{let M=`directory-purchase:${e}:${t}:${v.kind}`;if(!L.current){let S=null;try{S=typeof sessionStorage>\"u\"?null:JSON.parse(sessionStorage.getItem(M)??\"null\")}catch{}L.current=T(S)&&S.planId===v.planId&&T(S.body)&&S.body.sourceModel===e&&S.body.sourceKey===t&&S.body.planId===v.planId?{planId:v.planId,body:S.body}:{planId:v.planId,body:{...x,planId:v.planId,kind:v.kind.startsWith(\"priority_\")?\"priority-review\":\"placement\",...v.kind.startsWith(\"priority_\")?{}:{placementType:v.kind,periodStart:Math.floor(Date.now()/1e3)+60}}},typeof sessionStorage<\"u\"&&sessionStorage.setItem(M,JSON.stringify(L.current))}let y=await $(\"/owner/fees/reserve\",{method:\"POST\",body:L.current.body});if(y.status!==\"checkout_ready\"||!en(y,v.kind.startsWith(\"priority_\"))||y.amountCents!==v.amountCents||y.currency!==v.currency||y.feeTerms?.durationSeconds!==v.durationSeconds||(y.refundPolicy??\"full\")!==(v.refundPolicy??\"full\"))throw Error(\"Invalid reservation\");f({kind:v.kind,status:\"reserved\",checkoutAllowed:!0,recoveryAllowed:!0,reservation:y}),typeof sessionStorage<\"u\"&&sessionStorage.removeItem(M),L.current=null,p(S=>S+1)}catch(M){o(tn(M)),T(M)&&([401,403,424,502,503].includes(Number(M.status))&&g(!0),M.status===401&&a(!0),M.status===409&&p(y=>y+1))}finally{b.current=!1,l(!1)}}},k=[...r?.purchases??[]];return m&&!k.some(v=>v.reservation.reservationId===m.reservation.reservationId)&&k.push(m),Kt(\"section\",{className:\"cd-directory__fee-purchases\",\"aria-label\":e.endsWith(\":listings\")?\"Buy placement\":\"Get priority review\",children:[xe(\"h4\",{children:e.endsWith(\":listings\")?\"Featured and Sponsored placement\":\"Get priority review\"}),xe(\"p\",{children:\"Payment never publishes, verifies or ranks a listing. Free submissions and editorial review remain available.\"}),t?!r&&!n?xe(\"p\",{role:\"status\",children:\"Checking available offers\\u2026\"}):null:xe(\"p\",{children:\"Purchase details are missing. Reload your listing activity before paying.\"}),n?xe(\"p\",{role:\"alert\",children:s?\"Sign in to see available offers and resume your purchases.\":n}):null,s?xe(\"a\",{href:Me(\"/directory/owner\"),children:\"Sign in with Cedros Login\"}):null,r&&!r.eligible?xe(\"p\",{children:\"This request is not eligible for a new purchase. Priority review requires a pending submission or owner update; placement requires your published listing.\"}):null,r&&r.eligible&&!r.offers.length&&!k.length?xe(\"p\",{children:\"Paid offers are not available right now. New sales may be paused; the directory team can help.\"}):null,k.map(v=>Kt(\"div\",{children:[Kt(\"p\",{children:[Ao(v.kind),\" \\xB7 \",Ma(v.status).label,\". Keep this purchase; do not pay again.\"]}),xe(rn,{reservation:v.reservation,benefit:v.kind,purchaseStatus:v.status,checkoutAllowed:v.checkoutAllowed&&!n,recoveryAllowed:v.recoveryAllowed&&!n})]},v.reservation.reservationId)),h?null:r?.offers.filter(v=>!k.some(M=>M.kind===v.kind)).map(v=>Kt(\"div\",{children:[Kt(\"strong\",{children:[v.name,\" \\xB7 \",yr(v.amountCents,v.currency)]}),xe(\"p\",{children:v.kind.startsWith(\"priority_\")?`Priority review decision ${fr({...v})}.`:`${Ao(v.kind)} for ${zt(v.durationSeconds)}. Placement starts after editorial approval and verified payment.`}),v.kind.startsWith(\"priority_\")?null:Kt(Iu,{children:[xe(\"p\",{children:`Shown to visitors labelled \\u201C${v.publicLabel??(v.kind===\"sponsored\"?\"Sponsored\":\"Featured\")}\\u201D.`}),xe(\"p\",{children:Xi(v.refundPolicy)})]}),v.availability===\"sold_out\"?Kt(\"p\",{children:[\"Sold out in \",v.soldOutCategories?.join(\", \"),\".\"]}):v.availability===\"pending_payment\"?xe(\"p\",{children:`The last slot in ${v.pendingPaymentCategories?.join(\", \")} is held while another buyer's payment is checked. It opens again if that payment doesn't complete; reload later.`}):xe(\"button\",{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",disabled:c||!!L.current&&L.current.planId!==v.planId,onClick:()=>{_(v)},children:L.current?.planId===v.planId?\"Resume purchase\":`${v.kind.startsWith(\"priority_\")?\"Get\":\"Buy\"} ${Ao(v.kind)}`})]},v.planId)),t?xe(\"button\",{type:\"button\",className:\"cd-directory__button cd-directory__button--ghost\",disabled:c,onClick:()=>p(v=>v+1),children:\"Reload purchase details\"}):null]})}import{jsx as fe,jsxs as pt,Fragment as ml}from\"react/jsx-runtime\";import{useEffect as hy,useState as Es}from\"react\";function Fa(e){if(typeof e!=\"string\")return null;let t=e.trim(),r=/^(\\+?[\\d().\\-\\s]{3,40}?)(?:\\s*(?:x|ext\\.?)\\s*(\\d{1,8}))?$/i.exec(t);if(!r)return null;let i=r[1].replace(/[^\\d+]/g,\"\");return(i.match(/\\d/g)??[]).length<3||(i.match(/\\+/g)??[]).length>1||i.includes(\"+\",1)?null:`tel:${i}${r[2]?`;ext=${r[2]}`:\"\"}`}function Do(e){if(typeof e!=\"string\")return null;let t=e.trim();if(/[\\\\\\s]/.test(t))return null;if(/^\\/(?!\\/)\\S*$/.test(t))return t;try{let r=new URL(t);return r.protocol===\"https:\"&&!r.username&&!r.password?r.toString():null}catch{return null}}function Q(e){return(e instanceof Error?e.message:\"Directory request failed.\").replace(/Bearer\\s+\\S+/gi,\"Bearer [redacted]\")}import{jsx as ul,jsxs as gy}from\"react/jsx-runtime\";import{jsx as Ni}from\"react/jsx-runtime\";import{jsx as Ac,Fragment as _p}from\"react/jsx-runtime\";import{useMemo as Sp,useRef as xs,useState as Nc,useContext as kp}from\"react\";import{createContext as Pu}from\"react\";var nn=Pu({});import{useRef as Ru}from\"react\";function _t(e){let t=Ru(null);return t.current===null&&(t.current=e()),t.current}import{useLayoutEffect as Au,useEffect as Nu}from\"react\";var $a=typeof window<\"u\";var gr=$a?Au:Nu;import{jsx as Ic}from\"react/jsx-runtime\";import*as Tc from\"react\";import{useId as fp,useRef as Cc,useMemo as Mc}from\"react\";import{createContext as Du}from\"react\";var St=Du(null);import{jsx as up}from\"react/jsx-runtime\";function Ua(e,t){e.indexOf(t)===-1&&e.push(t)}function Ba(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Se=(e,t,r)=>r>t?t:r<e?e:r;var ot=()=>{},qe=()=>{};var ke={};var Zr=e=>/^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$/u.test(e);var Vo=e=>typeof e==\"object\"&&e!==null;var Qr=e=>/^0[^.\\s]+$/u.test(e);function Yr(e){let t;return()=>(t===void 0&&(t=e()),t)}var Re=e=>e;var st=(...e)=>e.reduce((t,r)=>i=>r(t(i)));var Xr=(e,t,r)=>{let i=t-e;return i?(r-e)/i:1};var Gt=class{constructor(){this.subscriptions=[]}add(t){return Ua(this.subscriptions,t),()=>Ba(this.subscriptions,t)}notify(t,r,i){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,i);else for(let o=0;o<n;o++){let s=this.subscriptions[o];s&&s(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var he=e=>e*1e3,we=e=>e/1e3;var Jr=(e,t)=>t?e*(1e3/t):0;var za=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Vu=1e-7,qu=12;function Eu(e,t,r,i,n){let o,s,a=0;do s=t+(r-t)/2,o=za(s,i,n)-e,o>0?r=s:t=s;while(Math.abs(o)>Vu&&++a<qu);return s}function kt(e,t,r,i){if(e===t&&r===i)return Re;let n=o=>Eu(o,0,1,e,r);return o=>o===0||o===1?o:za(n(o),t,i)}var on=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var sn=e=>t=>1-e(1-t);var an=kt(.33,1.53,.69,.99),hr=sn(an),ei=on(hr);var ti=e=>e>=1?1:(e*=2)<1?.5*hr(e):.5*(2-Math.pow(2,-10*(e-1)));var ri=e=>1-Math.sin(Math.acos(e)),qo=sn(ri),ii=on(ri);var Eo=kt(.42,0,1,1),jo=kt(0,0,.58,1),ni=kt(.42,0,.58,1);var Oo=e=>Array.isArray(e)&&typeof e[0]!=\"number\";var oi=e=>Array.isArray(e)&&typeof e[0]==\"number\";var Ka={linear:Re,easeIn:Eo,easeInOut:ni,easeOut:jo,circIn:ri,circInOut:ii,circOut:qo,backIn:hr,backInOut:ei,backOut:an,anticipate:ti},ju=e=>typeof e==\"string\",dn=e=>{if(oi(e)){qe(e.length===4,\"Cubic bezier arrays must contain four numerical values.\",\"cubic-bezier-length\");let[t,r,i,n]=e;return kt(t,r,i,n)}else if(ju(e))return qe(Ka[e]!==void 0,`Invalid easing type '${e}'`,\"invalid-easing-type\"),Ka[e];return e};var si=[\"setup\",\"read\",\"resolveKeyframes\",\"preUpdate\",\"update\",\"preRender\",\"render\",\"postRender\"];function Ha(e){let t=new Set,r=new Set,i=!1,n=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(l){o.has(l)&&(c.schedule(l),e()),l(s)}let c={schedule:(l,d=!1,p=!1)=>{let f=p&&i?t:r;return d&&o.add(l),f.add(l),l},cancel:l=>{r.delete(l),o.delete(l)},process:l=>{if(s=l,i){n=!0;return}i=!0;let d=t;t=r,r=d,t.forEach(a),t.clear(),i=!1,n&&(n=!1,c.process(l))}};return c}var Ou=40;function cn(e,t){let r=!1,i=!0,n={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,s=si.reduce((_,k)=>(_[k]=Ha(o),_),{}),{setup:a,read:c,resolveKeyframes:l,preUpdate:d,update:p,preRender:m,render:f,postRender:h}=s,g=()=>{let _=ke.useManualTiming,k=_?n.timestamp:performance.now();r=!1,_||(n.delta=i?1e3/60:Math.max(Math.min(k-n.timestamp,Ou),1)),n.timestamp=k,n.isProcessing=!0,a.process(n),c.process(n),l.process(n),d.process(n),p.process(n),m.process(n),f.process(n),h.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(g))},b=()=>{r=!0,i=!0,n.isProcessing||e(g)};return{schedule:si.reduce((_,k)=>{let v=s[k];return _[k]=(M,y=!1,S=!1)=>(r||b(),v.schedule(M,y,S)),_},{}),cancel:_=>{for(let k=0;k<si.length;k++)s[si[k]].cancel(_)},state:n,steps:s}}var{schedule:le,cancel:Lr,state:Wt,steps:Fu}=cn(typeof requestAnimationFrame<\"u\"?requestAnimationFrame:Re,!0);var ln;function $u(){ln=void 0}var pe={now:()=>(ln===void 0&&pe.set(Wt.isProcessing||ke.useManualTiming?Wt.timestamp:performance.now()),ln),set:e=>{ln=e,queueMicrotask($u)}};var Ga=e=>t=>typeof t==\"string\"&&t.startsWith(e),un=Ga(\"--\"),Uu=Ga(\"var(--\"),br=e=>Uu(e)?Bu.test(e.split(\"/*\")[0].trim()):!1,Bu=/var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$/iu;function Fo(e){return typeof e!=\"string\"?!1:e.split(\"/*\")[0].includes(\"var(--\")}var Ze={test:e=>typeof e==\"number\",parse:parseFloat,transform:e=>e},at={...Ze,transform:e=>Se(0,1,e)},ai={...Ze,default:1};var It=e=>Math.round(e*1e5)/1e5;var vr=/-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/gu;function Wa(e){return e==null}var Za=/^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$/iu;var xr=(e,t)=>r=>!!(typeof r==\"string\"&&Za.test(r)&&r.startsWith(e)||t&&!Wa(r)&&Object.prototype.hasOwnProperty.call(r,t)),mn=(e,t,r)=>i=>{if(typeof i!=\"string\")return i;let[n,o,s,a]=i.match(vr);return{[e]:parseFloat(n),[t]:parseFloat(o),[r]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}};var zu=e=>Se(0,255,e),$o={...Ze,transform:e=>Math.round(zu(e))},Qe={test:xr(\"rgb\",\"red\"),parse:mn(\"red\",\"green\",\"blue\"),transform:({red:e,green:t,blue:r,alpha:i=1})=>\"rgba(\"+$o.transform(e)+\", \"+$o.transform(t)+\", \"+$o.transform(r)+\", \"+It(at.transform(i))+\")\"};function Ku(e){let t=\"\",r=\"\",i=\"\",n=\"\";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}}var di={test:xr(\"#\"),parse:Ku,transform:Qe.transform};var ci=e=>({test:t=>typeof t==\"string\"&&t.endsWith(e)&&t.split(\" \").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Be=ci(\"deg\"),Ct=ci(\"%\"),D=ci(\"px\"),Qa=ci(\"vh\"),Ya=ci(\"vw\"),Uo={...Ct,parse:e=>Ct.parse(e)/100,transform:e=>Ct.transform(e*100)};var Mt={test:xr(\"hsl\",\"hue\"),parse:mn(\"hue\",\"saturation\",\"lightness\"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>\"hsla(\"+Math.round(e)+\", \"+Ct.transform(It(t))+\", \"+Ct.transform(It(r))+\", \"+It(at.transform(i))+\")\"};var re={test:e=>Qe.test(e)||di.test(e)||Mt.test(e),parse:e=>Qe.test(e)?Qe.parse(e):Mt.test(e)?Mt.parse(e):di.parse(e),transform:e=>typeof e==\"string\"?e:e.hasOwnProperty(\"red\")?Qe.transform(e):Mt.transform(e),getAnimatableNone:e=>{let t=re.parse(e);return t.alpha=0,re.transform(t)}};var Xa=/(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))/giu;function Hu(e){return isNaN(e)&&typeof e==\"string\"&&(e.match(vr)?.length||0)+(e.match(Xa)?.length||0)>0}var ed=\"number\",td=\"color\",Gu=\"var\",Wu=\"var(\",Ja=\"${}\",Zu=/var\\s*\\(\\s*--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)|#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\)|-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/giu;function Tt(e){let t=e.toString(),r=[],i={color:[],number:[],var:[]},n=[],o=0,a=t.replace(Zu,c=>(re.test(c)?(i.color.push(o),n.push(td),r.push(re.parse(c))):c.startsWith(Wu)?(i.var.push(o),n.push(Gu),r.push(c)):(i.number.push(o),n.push(ed),r.push(parseFloat(c))),++o,Ja)).split(Ja);return{values:r,split:a,indexes:i,types:n}}function Qu(e){return Tt(e).values}function rd({split:e,types:t}){let r=e.length;return i=>{let n=\"\";for(let o=0;o<r;o++)if(n+=e[o],i[o]!==void 0){let s=t[o];s===ed?n+=It(i[o]):s===td?n+=re.transform(i[o]):n+=i[o]}return n}}function Yu(e){return rd(Tt(e))}var Xu=e=>typeof e==\"number\"?0:re.test(e)?re.getAnimatableNone(e):e,Ju=(e,t)=>typeof e==\"number\"?t?.trim().endsWith(\"/\")?e:0:Xu(e);function em(e){let t=Tt(e);return rd(t)(t.values.map((i,n)=>Ju(i,t.split[n])))}var ye={test:Hu,parse:Qu,createTransformer:Yu,getAnimatableNone:em};function Bo(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function id({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let n=0,o=0,s=0;if(!t)n=o=s=r;else{let a=r<.5?r*(1+t):r+t-r*t,c=2*r-a;n=Bo(c,a,e+1/3),o=Bo(c,a,e),s=Bo(c,a,e-1/3)}return{red:Math.round(n*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:i}}function wr(e,t){return r=>r>0?t:e}var Ye=(e,t,r)=>e+(t-e)*r;var zo=(e,t,r)=>{let i=e*e,n=r*(t*t-i)+i;return n<0?0:Math.sqrt(n)},tm=[di,Qe,Mt],rm=e=>tm.find(t=>t.test(e));function nd(e){let t=rm(e);if(ot(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,\"color-not-animatable\"),!t)return!1;let r=t.parse(e);return t===Mt&&(r=id(r)),r}var Ko=(e,t)=>{let r=nd(e),i=nd(t);if(!r||!i)return wr(e,t);let n={...r};return o=>(n.red=zo(r.red,i.red,o),n.green=zo(r.green,i.green,o),n.blue=zo(r.blue,i.blue,o),n.alpha=Ye(r.alpha,i.alpha,o),Qe.transform(n))};var pn=new Set([\"none\",\"hidden\"]);function od(e,t){return pn.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function im(e,t){return r=>Ye(e,t,r)}function yn(e){return typeof e==\"number\"?im:typeof e==\"string\"?br(e)?wr:re.test(e)?Ko:sm:Array.isArray(e)?sd:typeof e==\"object\"?re.test(e)?Ko:nm:wr}function sd(e,t){let r=[...e],i=r.length,n=e.map((o,s)=>yn(o)(o,t[s]));return o=>{for(let s=0;s<i;s++)r[s]=n[s](o);return r}}function nm(e,t){let r={...e,...t},i={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(i[n]=yn(e[n])(e[n],t[n]));return n=>{for(let o in i)r[o]=i[o](n);return r}}function om(e,t){let r=[],i={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let o=t.types[n],s=e.indexes[o][i[o]],a=e.values[s]??0;r[n]=a,i[o]++}return r}var sm=(e,t)=>{let r=ye.createTransformer(t),i=Tt(e),n=Tt(t);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?pn.has(e)&&!n.values.length||pn.has(t)&&!i.values.length?od(e,t):st(sd(om(i,n),n.values),r):(ot(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,\"complex-values-different\"),wr(e,t))};function fn(e,t,r){return typeof e==\"number\"&&typeof t==\"number\"&&typeof r==\"number\"?Ye(e,t,r):yn(e)(e,t)}var ad=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>le.update(t,r),stop:()=>Lr(t),now:()=>Wt.isProcessing?Wt.timestamp:pe.now()}};var gn=(e,t,r=10)=>{let i=\"\",n=Math.max(Math.round(t/r),2);for(let o=0;o<n;o++)i+=Math.round(e(o/(n-1))*1e4)/1e4+\", \";return`linear(${i.substring(0,i.length-2)})`};function _r(e){let t=0,r=50,i=e.next(t);for(;!i.done&&t<2e4;)t+=r,i=e.next(t);return t>=2e4?1/0:t}function dd(e,t=100,r){let i=r({...e,keyframes:[0,t]}),n=Math.min(_r(i),2e4);return{type:\"keyframes\",ease:o=>i.next(n*o).value/t,duration:we(n)}}var oe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Wo(e,t){return e*Math.sqrt(1-t*t)}var am=12;function dm(e,t,r){let i=r;for(let n=1;n<am;n++)i=i-e(i)/t(i);return i}var Go=.001;function cm({duration:e=oe.duration,bounce:t=oe.bounce,velocity:r=oe.velocity,mass:i=oe.mass}){let n,o;ot(e<=he(oe.maxDuration),\"Spring duration must be 10 seconds or less\",\"spring-duration-limit\");let s=1-t;s=Se(oe.minDamping,oe.maxDamping,s),e=Se(oe.minDuration,oe.maxDuration,we(e)),s<1?(n=l=>{let d=l*s,p=d*e,m=d-r,f=Wo(l,s),h=Math.exp(-p);return Go-m/f*h},o=l=>{let p=l*s*e,m=p*r+r,f=Math.pow(s,2)*Math.pow(l,2)*e,h=Math.exp(-p),g=Wo(Math.pow(l,2),s);return(-n(l)+Go>0?-1:1)*((m-f)*h)/g}):(n=l=>{let d=Math.exp(-l*e),p=(l-r)*e+1;return-Go+d*p},o=l=>{let d=Math.exp(-l*e),p=(r-l)*(e*e);return d*p});let a=5/e,c=dm(n,o,a);if(e=he(e),isNaN(c))return{stiffness:oe.stiffness,damping:oe.damping,duration:e};{let l=Math.pow(c,2)*i;return{stiffness:l,damping:s*2*Math.sqrt(i*l),duration:e}}}var lm=[\"duration\",\"bounce\"],um=[\"stiffness\",\"damping\",\"mass\"];function cd(e,t){return t.some(r=>e[r]!==void 0)}function mm(e){let t={velocity:oe.velocity,stiffness:oe.stiffness,damping:oe.damping,mass:oe.mass,isResolvedFromDuration:!1,...e};if(!cd(e,um)&&cd(e,lm))if(t.velocity=0,e.visualDuration){let r=e.visualDuration,i=2*Math.PI/(r*1.2),n=i*i,o=2*Se(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:oe.mass,stiffness:n,damping:o}}else{let r=cm({...e,velocity:0});t={...t,...r,mass:oe.mass},t.isResolvedFromDuration=!0}return t}function Sr(e=oe.visualDuration,t=oe.bounce){let r=typeof e!=\"object\"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:n}=r,o=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],a={done:!1,value:o},{stiffness:c,damping:l,mass:d,duration:p,velocity:m,isResolvedFromDuration:f}=mm({...r,velocity:-we(r.velocity||0)}),h=m||0,g=l/(2*Math.sqrt(c*d)),b=s-o,L=we(Math.sqrt(c/d)),x=Math.abs(b)<5;i||(i=x?oe.restSpeed.granular:oe.restSpeed.default),n||(n=x?oe.restDelta.granular:oe.restDelta.default);let _,k,v,M,y,S;if(g<1)v=Wo(L,g),M=(h+g*L*b)/v,_=w=>{let P=Math.exp(-g*L*w);return s-P*(M*Math.sin(v*w)+b*Math.cos(v*w))},y=g*L*M+b*v,S=g*L*b-M*v,k=w=>Math.exp(-g*L*w)*(y*Math.sin(v*w)+S*Math.cos(v*w));else if(g===1){_=P=>s-Math.exp(-L*P)*(b+(h+L*b)*P);let w=h+L*b;k=P=>Math.exp(-L*P)*(L*w*P-h)}else{let w=L*Math.sqrt(g*g-1);_=j=>{let N=Math.exp(-g*L*j),V=Math.min(w*j,300);return s-N*((h+g*L*b)*Math.sinh(V)+w*b*Math.cosh(V))/w};let P=(h+g*L*b)/w,q=g*L*P-b*w,R=g*L*b-P*w;k=j=>{let N=Math.exp(-g*L*j),V=Math.min(w*j,300);return N*(q*Math.sinh(V)+R*Math.cosh(V))}}let C={calculatedDuration:f&&p||null,velocity:w=>he(k(w)),next:w=>{if(!f&&g<1){let q=Math.exp(-g*L*w),R=Math.sin(v*w),j=Math.cos(v*w),N=s-q*(M*R+b*j),V=he(q*(y*R+S*j));return a.done=Math.abs(V)<=i&&Math.abs(s-N)<=n,a.value=a.done?s:N,a}let P=_(w);if(f)a.done=w>=p;else{let q=he(k(w));a.done=Math.abs(q)<=i&&Math.abs(s-P)<=n}return a.value=a.done?s:P,a},toString:()=>{let w=Math.min(_r(C),2e4),P=gn(q=>C.next(w*q).value,w,30);return w+\"ms \"+P},toTransition:()=>{}};return C}Sr.applyToOptions=e=>{let t=dd(e,100,Sr);return e.ease=t.ease,e.duration=he(t.duration),e.type=\"keyframes\",e};var pm=5;function hn(e,t,r){let i=Math.max(t-pm,0);return Jr(r-e(i),t-i)}function li({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:c,restDelta:l=.5,restSpeed:d}){let p=e[0],m={done:!1,value:p},f=S=>a!==void 0&&S<a||c!==void 0&&S>c,h=S=>a===void 0?c:c===void 0||Math.abs(a-S)<Math.abs(c-S)?a:c,g=r*t,b=p+g,L=s===void 0?b:s(b);L!==b&&(g=L-p);let x=S=>-g*Math.exp(-S/i),_=S=>L+x(S),k=S=>{let C=x(S),w=_(S);m.done=Math.abs(C)<=l,m.value=m.done?L:w},v,M,y=S=>{f(m.value)&&(v=S,M=Sr({keyframes:[m.value,h(m.value)],velocity:hn(_,S,m.value),damping:n,stiffness:o,restDelta:l,restSpeed:d}))};return y(0),{calculatedDuration:null,next:S=>{let C=!1;return!M&&v===void 0&&(C=!0,k(S),y(S)),v!==void 0&&S>=v?M.next(S-v):(!C&&k(S),m)}}}function ym(e,t,r){let i=[],n=r||ke.mix||fn,o=e.length-1;for(let s=0;s<o;s++){let a=n(e[s],e[s+1]);if(t){let c=Array.isArray(t)?t[s]||Re:t;a=st(c,a)}i.push(a)}return i}function ld(e,t,{clamp:r=!0,ease:i,mixer:n}={}){let o=e.length;if(qe(o===t.length,\"Both input and output ranges must be the same length\",\"range-length\"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=ym(t,i,n),c=a.length,l=d=>{if(s&&d<e[0])return t[0];let p=0;if(c>1)for(;p<e.length-2&&!(d<e[p+1]);p++);let m=Xr(e[p],e[p+1],d);return a[p](m)};return r?d=>l(Se(e[0],e[o-1],d)):l}function ud(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=Xr(0,t,i);e.push(Ye(r,1,n))}}function md(e){let t=[0];return ud(t,e.length-1),t}function pd(e,t){return e.map(r=>r*t)}function fm(e,t){return e.map(()=>t||ni).splice(0,e.length-1)}function Zt({duration:e=300,keyframes:t,times:r,ease:i=\"easeInOut\"}){let n=Oo(i)?i.map(dn):dn(i),o={done:!1,value:t[0]},s=pd(r&&r.length===t.length?r:md(t),e),a=ld(s,t,{ease:Array.isArray(n)?n:fm(t,n)});return{calculatedDuration:e,next:c=>(o.value=a(c),o.done=c>=e,o)}}var gm=e=>e!==null;function Pt(e,{repeat:t,repeatType:r=\"loop\"},i,n=1){let o=e.filter(gm),a=n<0||t&&r!==\"loop\"&&t%2===1?0:o.length-1;return!a||i===void 0?o[a]:i}var hm={decay:li,inertia:li,tween:Zt,keyframes:Zt,spring:Sr};function Ln(e){typeof e.type==\"string\"&&(e.type=hm[e.type])}var Rt=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var Lm=e=>e/100,dt=class extends Rt{constructor(t){super(),this.state=\"idle\",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:r}=this.options;r&&r.updatedAt!==pe.now()&&this.tick(pe.now()),this.isStopped=!0,this.state!==\"idle\"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;Ln(t);let{type:r=Zt,repeat:i=0,repeatDelay:n=0,repeatType:o,velocity:s=0}=t,{keyframes:a}=t,c=r||Zt;c!==Zt&&typeof a[0]!=\"number\"&&(this.mixKeyframes=st(Lm,fn(a[0],a[1])),a=[0,100]);let l=c({...t,keyframes:a});o===\"mirror\"&&(this.mirroredGenerator=c({...t,keyframes:[...a].reverse(),velocity:-s})),l.calculatedDuration===null&&(l.calculatedDuration=_r(l));let{calculatedDuration:d}=l;this.calculatedDuration=d,this.resolvedDuration=d+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:i,totalDuration:n,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:c}=this;if(this.startTime===null)return i.next(0);let{delay:l=0,keyframes:d,repeat:p,repeatType:m,repeatDelay:f,type:h,onUpdate:g,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);let L=this.currentTime-l*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?L<0:L>n;this.currentTime=Math.max(L,0),this.state===\"finished\"&&this.holdTime===null&&(this.currentTime=n);let _=this.currentTime,k=i;if(p){let S=Math.min(this.currentTime,n)/a,C=Math.floor(S),w=S%1;!w&&S>=1&&(w=1),w===1&&C--,C=Math.min(C,p+1),C%2&&(m===\"reverse\"?(w=1-w,f&&(w-=f/a)):m===\"mirror\"&&(k=s)),_=Se(0,1,w)*a}let v;x?(this.delayState.value=d[0],v=this.delayState):v=k.next(_),o&&!x&&(v.value=o(v.value));let{done:M}=v;!x&&c!==null&&(M=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let y=this.holdTime===null&&(this.state===\"finished\"||this.state===\"running\"&&M);return y&&h!==li&&(v.value=Pt(d,this.options,b,this.speed)),g&&g(v.value),y&&this.finish(),v}then(t,r){return this.finished.then(t,r)}get duration(){return we(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+we(t)}get time(){return we(this.currentTime)}set time(t){t=he(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=\"paused\",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let r=this.generator.next(t).value;return hn(i=>this.generator.next(i).value,t,r)}get speed(){return this.playbackSpeed}set speed(t){let r=this.playbackSpeed!==t;r&&this.driver&&this.updateTime(pe.now()),this.playbackSpeed=t,r&&this.driver&&(this.time=we(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=ad,startTime:r}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let i=this.driver.now();this.state===\"finished\"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=r??i),this.state===\"finished\"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=\"running\",this.driver.start()}pause(){this.state=\"paused\",this.updateTime(pe.now()),this.holdTime=this.currentTime}complete(){this.state!==\"running\"&&this.play(),this.state=\"finished\",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=\"finished\",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=\"idle\",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type=\"keyframes\",this.options.ease=\"linear\",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function yd(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Qt=e=>e*180/Math.PI,Zo=e=>{let t=Qt(Math.atan2(e[1],e[0]));return Qo(t)},bm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Zo,rotateZ:Zo,skewX:e=>Qt(Math.atan(e[1])),skewY:e=>Qt(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Qo=e=>(e=e%360,e<0&&(e+=360),e),fd=Zo,gd=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),hd=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),vm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:gd,scaleY:hd,scale:e=>(gd(e)+hd(e))/2,rotateX:e=>Qo(Qt(Math.atan2(e[6],e[5]))),rotateY:e=>Qo(Qt(Math.atan2(-e[2],e[0]))),rotateZ:fd,rotate:fd,skewX:e=>Qt(Math.atan(e[4])),skewY:e=>Qt(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function bn(e){return e.includes(\"scale\")?1:0}function vn(e,t){if(!e||e===\"none\")return bn(t);let r=e.match(/^matrix3d\\(([-\\d.e\\s,]+)\\)$/u),i,n;if(r)i=vm,n=r;else{let a=e.match(/^matrix\\(([-\\d.e\\s,]+)\\)$/u);i=bm,n=a}if(!n)return bn(t);let o=i[t],s=n[1].split(\",\").map(xm);return typeof o==\"function\"?o(s):s[o]}var Ld=(e,t)=>{let{transform:r=\"none\"}=getComputedStyle(e);return vn(r,t)};function xm(e){return parseFloat(e.trim())}var Xe=[\"transformPerspective\",\"x\",\"y\",\"z\",\"translateX\",\"translateY\",\"translateZ\",\"scale\",\"scaleX\",\"scaleY\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"skew\",\"skewX\",\"skewY\"],Ee=new Set([...Xe,\"pathRotation\"]);var Yo=e=>e===Ze||e===D,wm=new Set([\"x\",\"y\",\"z\"]),_m=Xe.filter(e=>!wm.has(e));function bd(e){let t=[];return _m.forEach(r=>{let i=e.getValue(r);i!==void 0&&(t.push([r,i.get()]),i.set(r.startsWith(\"scale\")?1:0))}),t}var ct={width:({x:e},{paddingLeft:t=\"0\",paddingRight:r=\"0\",boxSizing:i})=>{let n=e.max-e.min;return i===\"border-box\"?n:n-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t=\"0\",paddingBottom:r=\"0\",boxSizing:i})=>{let n=e.max-e.min;return i===\"border-box\"?n:n-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>vn(t,\"x\"),y:(e,{transform:t})=>vn(t,\"y\")};ct.translateX=ct.x;ct.translateY=ct.y;var Yt=new Set,Xo=!1,Jo=!1,es=!1;function vd(){if(Jo){let e=Array.from(Yt).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),r=new Map;t.forEach(i=>{let n=bd(i);n.length&&(r.set(i,n),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();let n=r.get(i);n&&n.forEach(([o,s])=>{i.getValue(o)?.set(s)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Jo=!1,Xo=!1,Yt.forEach(e=>e.complete(es)),Yt.clear()}function xd(){Yt.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jo=!0)})}function wd(){es=!0,xd(),vd(),es=!1}var At=class{constructor(t,r,i,n,o,s=!1){this.state=\"pending\",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=i,this.motionValue=n,this.element=o,this.isAsync=s}scheduleResolve(){this.state=\"scheduled\",this.isAsync?(Yt.add(this),Xo||(Xo=!0,le.read(xd),le.resolveKeyframes(vd))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:i,motionValue:n}=this;if(t[0]===null){let o=n?.get(),s=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&r){let a=i.readValue(r,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),n&&o===void 0&&n.set(t[0])}yd(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state=\"complete\",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Yt.delete(this)}cancel(){this.state===\"scheduled\"&&(Yt.delete(this),this.state=\"pending\")}resume(){this.state===\"pending\"&&this.scheduleResolve()}};var _d=e=>e.startsWith(\"--\");function xn(e,t,r){_d(t)?e.style.setProperty(t,r):e.style[t]=r}var Sd={};function wn(e,t){let r=Yr(e);return()=>Sd[t]??r()}var kd=wn(()=>window.ScrollTimeline!==void 0,\"scrollTimeline\");var _n=wn(()=>{try{document.createElement(\"div\").animate({opacity:0},{easing:\"linear(0, 1)\"})}catch{return!1}return!0},\"linearEasing\");var Xt=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`;var ts={linear:\"linear\",ease:\"ease\",easeIn:\"ease-in\",easeOut:\"ease-out\",easeInOut:\"ease-in-out\",circIn:Xt([0,.65,.55,1]),circOut:Xt([.55,0,1,.45]),backIn:Xt([.31,.01,.66,-.59]),backOut:Xt([.33,1.53,.69,.99])};function rs(e,t){if(e)return typeof e==\"function\"?_n()?gn(e,t):\"ease-out\":oi(e)?Xt(e):Array.isArray(e)?e.map(r=>rs(r,t)||ts.easeOut):ts[e]}function Id(e,t,r,{delay:i=0,duration:n=300,repeat:o=0,repeatType:s=\"loop\",ease:a=\"easeOut\",times:c}={},l=void 0){let d={[t]:r};c&&(d.offset=c);let p=rs(a,n);Array.isArray(p)&&(d.easing=p);let m={delay:i,duration:n,easing:Array.isArray(p)?\"linear\":p,fill:\"both\",iterations:o+1,direction:s===\"reverse\"?\"alternate\":\"normal\"};return l&&(m.pseudoElement=l),e.animate(d,m)}function Sn(e){return typeof e==\"function\"&&\"applyToOptions\"in e}function Cd({type:e,...t}){return Sn(e)&&_n()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease=\"easeOut\"),t)}var kr=class extends Rt{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:r,name:i,keyframes:n,pseudoElement:o,allowFlatten:s=!1,finalKeyframe:a,onComplete:c}=t;this.isPseudoElement=!!o,this.allowFlatten=s,this.options=t,qe(typeof t.type!=\"string\",`Mini animate() doesn't support \"type\" as a string.`,\"mini-spring\");let l=Cd(t);this.animation=Id(r,i,n,l,o),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let d=Pt(n,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(d),xn(r,i,d),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===\"finished\"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t===\"idle\"||t===\"finished\"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return we(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+we(t)}get time(){return we(Number(this.animation.currentTime)||0)}set time(t){let r=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=he(t),r&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?\"finished\":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:r,rangeEnd:i,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:\"linear\"}),this.animation.onfinish=null,t&&kd()?(this.animation.timeline=t,r&&(this.animation.rangeStart=r),i&&(this.animation.rangeEnd=i),Re):n(this)}};var Md={anticipate:ti,backInOut:ei,circInOut:ii};function Sm(e){return e in Md}function Td(e){typeof e.ease==\"string\"&&Sm(e.ease)&&(e.ease=Md[e.ease])}var is=10,kn=class extends kr{constructor(t){Td(t),Ln(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:i,onComplete:n,element:o,...s}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let a=new dt({...s,autoplay:!1}),c=Math.max(is,pe.now()-this.startTime),l=Se(0,is,c-is),d=a.sample(c).value,{name:p}=this.options;o&&p&&xn(o,p,d),r.setWithVelocity(a.sample(Math.max(0,c-l)).value,d,l),a.stop()}};var ns=(e,t)=>t===\"zIndex\"?!1:!!(typeof e==\"number\"||Array.isArray(e)||typeof e==\"string\"&&(ye.test(e)||e===\"0\")&&!e.startsWith(\"url(\"));function km(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function Pd(e,t,r,i){let n=e[0];if(n===null)return!1;if(t===\"display\"||t===\"visibility\")return!0;let o=e[e.length-1],s=ns(n,t),a=ns(o,t);return ot(s===a,`You are trying to animate ${t} from \"${n}\" to \"${o}\". \"${s?o:n}\" is not an animatable value.`,\"value-not-animatable\"),!s||!a?!1:km(e)||(r===\"spring\"||Sn(r))&&i}function ui(e){e.duration=0,e.type=\"keyframes\"}var In=new Set([\"opacity\",\"clipPath\",\"filter\",\"transform\",\"backgroundColor\"]);var Im=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\\(/;function Rd(e){for(let t=0;t<e.length;t++)if(typeof e[t]==\"string\"&&Im.test(e[t]))return!0;return!1}var Cm=new Set([\"color\",\"backgroundColor\",\"outlineColor\",\"fill\",\"stroke\",\"borderColor\",\"borderTopColor\",\"borderRightColor\",\"borderBottomColor\",\"borderLeftColor\"]),Mm=Yr(()=>Object.hasOwnProperty.call(Element.prototype,\"animate\"));function Ad(e){let{motionValue:t,name:r,repeatDelay:i,repeatType:n,damping:o,type:s,keyframes:a}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:d}=t.owner.getProps();return Mm()&&r&&(In.has(r)||Cm.has(r)&&Rd(a))&&(r!==\"transform\"||!d)&&!l&&!i&&n!==\"mirror\"&&o!==0&&s!==\"inertia\"}var Tm=40,Cn=class extends Rt{constructor({autoplay:t=!0,delay:r=0,type:i=\"keyframes\",repeat:n=0,repeatDelay:o=0,repeatType:s=\"loop\",keyframes:a,name:c,motionValue:l,element:d,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=pe.now();let m={autoplay:t,delay:r,type:i,repeat:n,repeatDelay:o,repeatType:s,name:c,motionValue:l,element:d,...p},f=d?.KeyframeResolver||At;this.keyframeResolver=new f(a,(h,g,b)=>this.onKeyframesResolved(h,g,m,!b),c,l,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,i,n){this.keyframeResolver=void 0;let{name:o,type:s,velocity:a,delay:c,isHandoff:l,onUpdate:d}=i;this.resolvedAt=pe.now();let p=!0;Pd(t,o,s,a)||(p=!1,(ke.instantAnimations||!c)&&d?.(Pt(t,i,r)),t[0]=t[t.length-1],ui(i),i.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>Tm?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...i,keyframes:t},h=p&&!l&&Ad(f),g=f.motionValue?.owner?.current,b;if(h)try{b=new kn({...f,element:g})}catch{b=new dt(f)}else b=new dt(f);b.finished.then(()=>{this.notifyFinished()}).catch(Re),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),wd()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Mn(e,t,r,i=0,n=1){let o=Array.from(e).sort((l,d)=>l.sortNodePosition(d)).indexOf(t),s=e.size,a=(s-1)*i;return typeof r==\"function\"?r(o,s):n===1?o*i:a-o*i}var Nd=30,Pm=e=>!isNaN(parseFloat(e)),Dd={current:void 0},os=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{let n=pe.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=pe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Pm(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on(\"change\",t)}on(t,r){this.events[t]||(this.events[t]=new Gt);let i=this.events[t].add(r);return t===\"change\"?()=>{i(),le.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,i){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Dd.current&&Dd.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=pe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Nd)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,Nd);return Jr(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Jt(e,t){return new os(e,t)}function er(e,t){if(e?.inherit&&t){let{inherit:r,...i}=e;return{...t,...i}}return e}function Tn(e,t){let r=e?.[t]??e?.default??e;return r!==e?er(r,e):r}var Rm={type:\"spring\",stiffness:500,damping:25,restSpeed:10},Am=e=>({type:\"spring\",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Nm={type:\"keyframes\",duration:.8},Dm={type:\"keyframes\",ease:[.25,.1,.35,1],duration:.3},Vd=(e,{keyframes:t})=>t.length>2?Nm:Ee.has(e)?e.startsWith(\"scale\")?Am(t[1]):Rm:Dm;var Vm=new Set([\"when\",\"delay\",\"delayChildren\",\"staggerChildren\",\"staggerDirection\",\"repeat\",\"repeatType\",\"repeatDelay\",\"from\",\"elapsed\"]);function qd(e){for(let t in e)if(!Vm.has(t))return!0;return!1}var Ed=(e,t,r,i={},n,o)=>s=>{let a=Tn(i,e)||{},c=a.delay||i.delay||0,{elapsed:l=0}=i;l=l-he(c);let d={keyframes:Array.isArray(r)?r:[null,r],ease:\"easeOut\",velocity:t.getVelocity(),...a,delay:-l,onUpdate:m=>{t.set(m),a.onUpdate&&a.onUpdate(m)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:n};qd(a)||Object.assign(d,Vd(e,d)),d.duration&&(d.duration=he(d.duration)),d.repeatDelay&&(d.repeatDelay=he(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let p=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(ui(d),d.delay===0&&(p=!0)),(ke.instantAnimations||ke.skipAnimations||n?.shouldSkipAnimations||a.skipAnimations)&&(p=!0,ui(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,p&&!o&&t.get()!==void 0){let m=Pt(d.keyframes,a);if(m!==void 0){le.update(()=>{d.onUpdate(m),d.onComplete()});return}}return a.isSync?new dt(d):new Cn(d)};var qm=/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)/u;function Em(e){let t=qm.exec(e);if(!t)return[,];let[,r,i,n]=t;return[`--${r??i}`,n]}var jm=4;function ss(e,t,r=1){qe(r<=jm,`Max CSS variable fallback depth detected in property \"${e}\". This may indicate a circular fallback dependency.`,\"max-css-var-depth\");let[i,n]=Em(e);if(!i)return;let o=window.getComputedStyle(t).getPropertyValue(i);if(o){let s=o.trim();return Zr(s)?parseFloat(s):s}return br(n)?ss(n,t,r+1):n}function jd(e){let t=[{},{}];return e?.values.forEach((r,i)=>{t[0][i]=r.get(),t[1][i]=r.getVelocity()}),t}function tr(e,t,r,i){if(typeof t==\"function\"){let[n,o]=jd(i);t=t(r!==void 0?r:e.custom,n,o)}if(typeof t==\"string\"&&(t=e.variants&&e.variants[t]),typeof t==\"function\"){let[n,o]=jd(i);t=t(r!==void 0?r:e.custom,n,o)}return t}function Ae(e,t,r){let i=e.getProps();return tr(i,t,r!==void 0?r:i.custom,e)}var Pn=new Set([\"width\",\"height\",\"top\",\"left\",\"right\",\"bottom\",...Xe]);var mi=e=>Array.isArray(e);function Om(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Jt(r))}function Fm(e){return mi(e)?e[e.length-1]||0:e}function Od(e,t){let r=Ae(e,t),{transitionEnd:i={},transition:n={},...o}=r||{};o={...o,...i};for(let s in o){let a=Fm(o[s]);Om(e,s,a)}}var X=e=>!!(e&&e.getVelocity);function Fd(e){return!!(X(e)&&e.add)}function $d(e,t){let r=e.getValue(\"willChange\");if(Fd(r))return r.add(t);if(!r&&ke.WillChange){let i=new ke.WillChange(\"auto\");e.addValue(\"willChange\",i),i.add(t)}}function Ir(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}var Ud=\"framerAppearId\",pi=\"data-\"+Ir(Ud);function Bd(e){return e.props[pi]}function $m({protectedKeys:e,needsAnimating:t},r){let i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function Rn(e,t,{delay:r=0,transitionOverride:i,type:n}={}){let{transition:o,transitionEnd:s,...a}=t,c=e.getDefaultTransition();o=o?er(o,c):c;let l=o?.reduceMotion,d=o?.skipAnimations;i&&(o=i);let p=[],m=n&&e.animationState&&e.animationState.getState()[n],f=o?.path;f&&f.animateVisualElement(e,a,o,r,p);for(let h in a){let g=e.getValue(h,e.latestValues[h]??null),b=a[h];if(b===void 0||m&&$m(m,h))continue;let L={delay:r,...Tn(o||{},h)};d&&(L.skipAnimations=!0);let x=g.get();if(x!==void 0&&!g.isAnimating()&&!Array.isArray(b)&&b===x&&!L.velocity){le.update(()=>g.set(b));continue}let _=!1;if(window.MotionHandoffAnimation){let M=Bd(e);if(M){let y=window.MotionHandoffAnimation(M,h,le);y!==null&&(L.startTime=y,_=!0)}}$d(e,h);let k=l??e.shouldReduceMotion;g.start(Ed(h,g,b,k&&Pn.has(h)?{type:!1}:L,e,_));let v=g.animation;v&&p.push(v)}if(s){let h=()=>le.update(()=>{s&&Od(e,s)});p.length?Promise.all(p).then(h):h()}return p}function An(e,t,r={}){let i=Ae(e,t,r.type===\"exit\"?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(n=r.transitionOverride);let o=i?()=>Promise.all(Rn(e,i,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:l=0,staggerChildren:d,staggerDirection:p}=n;return Um(e,t,c,l,d,p,r)}:()=>Promise.resolve(),{when:a}=n;if(a){let[c,l]=a===\"beforeChildren\"?[o,s]:[s,o];return c().then(()=>l())}else return Promise.all([o(),s(r.delay)])}function Um(e,t,r=0,i=0,n=0,o=1,s){let a=[];for(let c of e.variantChildren)c.notify(\"AnimationStart\",t),a.push(An(c,t,{...s,delay:r+(typeof i==\"function\"?0:i)+Mn(e.variantChildren,c,i,n,o)}).then(()=>c.notify(\"AnimationComplete\",t)));return Promise.all(a)}function zd(e,t,r={}){e.notify(\"AnimationStart\",t);let i;if(Array.isArray(t)){let n=t.map(o=>An(e,o,r));i=Promise.all(n)}else if(typeof t==\"string\")i=An(e,t,r);else{let n=typeof t==\"function\"?Ae(e,t,r.custom):t;i=Promise.all(Rn(e,n,r))}return i.then(()=>{e.notify(\"AnimationComplete\",t)})}var Kd={test:e=>e===\"auto\",parse:e=>e};var Nn=e=>t=>t.test(e);var as=[Ze,D,Ct,Be,Ya,Qa,Kd],ds=e=>as.find(Nn(e));function Hd(e){return typeof e==\"number\"?e===0:e!==null?e===\"none\"||e===\"0\"||Qr(e):!0}var Bm=new Set([\"brightness\",\"contrast\",\"saturate\",\"opacity\"]);function zm(e){let[t,r]=e.slice(0,-1).split(\"(\");if(t===\"drop-shadow\")return e;let[i]=r.match(vr)||[];if(!i)return e;let n=r.replace(i,\"\"),o=Bm.has(t)?1:0;return i!==r&&(o*=100),t+\"(\"+o+n+\")\"}var Km=/\\b([a-z-]*)\\(.*?\\)/gu,yi={...ye,getAnimatableNone:e=>{let t=e.match(Km);return t?t.map(zm).join(\" \"):e}};var fi={...ye,getAnimatableNone:e=>{let t=ye.parse(e);return ye.createTransformer(e)(t.map(i=>typeof i==\"number\"?0:typeof i==\"object\"?{...i,alpha:1}:i))}};var cs={...Ze,transform:Math.round};var Gd={rotate:Be,pathRotation:Be,rotateX:Be,rotateY:Be,rotateZ:Be,scale:ai,scaleX:ai,scaleY:ai,scaleZ:ai,skew:Be,skewX:Be,skewY:Be,distance:D,translateX:D,translateY:D,translateZ:D,x:D,y:D,z:D,perspective:D,transformPerspective:D,opacity:at,originX:Uo,originY:Uo,originZ:D};var rr={borderWidth:D,borderTopWidth:D,borderRightWidth:D,borderBottomWidth:D,borderLeftWidth:D,borderRadius:D,borderTopLeftRadius:D,borderTopRightRadius:D,borderBottomRightRadius:D,borderBottomLeftRadius:D,width:D,maxWidth:D,height:D,maxHeight:D,top:D,right:D,bottom:D,left:D,inset:D,insetBlock:D,insetBlockStart:D,insetBlockEnd:D,insetInline:D,insetInlineStart:D,insetInlineEnd:D,padding:D,paddingTop:D,paddingRight:D,paddingBottom:D,paddingLeft:D,paddingBlock:D,paddingBlockStart:D,paddingBlockEnd:D,paddingInline:D,paddingInlineStart:D,paddingInlineEnd:D,margin:D,marginTop:D,marginRight:D,marginBottom:D,marginLeft:D,marginBlock:D,marginBlockStart:D,marginBlockEnd:D,marginInline:D,marginInlineStart:D,marginInlineEnd:D,fontSize:D,backgroundPositionX:D,backgroundPositionY:D,...Gd,zIndex:cs,fillOpacity:at,strokeOpacity:at,numOctaves:cs};var Hm={...rr,color:re,backgroundColor:re,outlineColor:re,fill:re,stroke:re,borderColor:re,borderTopColor:re,borderRightColor:re,borderBottomColor:re,borderLeftColor:re,filter:yi,WebkitFilter:yi,mask:fi,WebkitMask:fi},Dn=e=>Hm[e];var Gm=new Set([yi,fi]);function Vn(e,t){let r=Dn(e);return Gm.has(r)||(r=ye),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var Wm=new Set([\"auto\",\"none\",\"0\"]);function Wd(e,t,r){let i=0,n;for(;i<e.length&&!n;){let o=e[i];typeof o==\"string\"&&!Wm.has(o)&&Tt(o).values.length&&(n=e[i]),i++}if(n&&r)for(let o of t)e[o]=Vn(r,n)}var qn=class extends At{constructor(t,r,i,n,o){super(t,r,i,n,o,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:i}=this;if(!r||!r.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let p=t[d];if(typeof p==\"string\"&&(p=p.trim(),br(p))){let m=ss(p,r.current);m!==void 0&&(t[d]=m),d===t.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!Pn.has(i)||t.length!==2)return;let[n,o]=t,s=ds(n),a=ds(o),c=Fo(n),l=Fo(o);if(c!==l&&ct[i]){this.needsMeasurement=!0;return}if(s!==a)if(Yo(s)&&Yo(a))for(let d=0;d<t.length;d++){let p=t[d];typeof p==\"string\"&&(t[d]=parseFloat(p))}else ct[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,i=[];for(let n=0;n<t.length;n++)(t[n]===null||Hd(t[n]))&&i.push(n);i.length&&Wd(t,i,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:i}=this;if(!t||!t.current)return;i===\"height\"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ct[i](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let n=r[r.length-1];n!==void 0&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:r,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let o=i.length-1,s=i[o];i[o]=ct[r](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,c])=>{t.getValue(a).set(c)}),this.resolveNoneKeyframes()}};var Zd=[\"borderTopLeftRadius\",\"borderTopRightRadius\",\"borderBottomRightRadius\",\"borderBottomLeftRadius\"];function Qd(e,t,r){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==\"string\"){let i=document;t&&(i=t.current);let n=r?.[e]??i.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(i=>i!=null)}var gi=(e,t)=>t&&typeof e==\"number\"?t.transform(e):e;function ir(e){return Vo(e)&&\"offsetHeight\"in e&&!(\"ownerSVGElement\"in e)}var{schedule:Yd,cancel:f4}=cn(queueMicrotask,!1);var Xd={x:!1,y:!1};function En(){return Xd.x||Xd.y}function jn(e,t){let r=Qd(e),i=new AbortController,n={passive:!0,...t,signal:i.signal};return[r,n,()=>i.abort()]}function Zm(e){return!(e.pointerType===\"touch\"||En())}function ls(e,t,r={}){let[i,n,o]=jn(e,r);return i.forEach(s=>{let a=!1,c=!1,l,d=()=>{s.removeEventListener(\"pointerleave\",h)},p=b=>{l&&(l(b),l=void 0),d()},m=b=>{a=!1,window.removeEventListener(\"pointerup\",m),window.removeEventListener(\"pointercancel\",m),c&&(c=!1,p(b))},f=()=>{a=!0,window.addEventListener(\"pointerup\",m,n),window.addEventListener(\"pointercancel\",m,n)},h=b=>{if(b.pointerType!==\"touch\"){if(a){c=!0;return}p(b)}},g=b=>{if(!Zm(b))return;c=!1;let L=t(s,b);typeof L==\"function\"&&(l=L,s.addEventListener(\"pointerleave\",h,n))};s.addEventListener(\"pointerenter\",g,n),s.addEventListener(\"pointerdown\",f,n)}),o}var us=(e,t)=>t?e===t?!0:us(e,t.parentElement):!1;var Jd=e=>e.pointerType===\"mouse\"?typeof e.button!=\"number\"||e.button<=0:e.isPrimary!==!1;var Qm=new Set([\"BUTTON\",\"INPUT\",\"SELECT\",\"TEXTAREA\",\"A\"]);function ec(e){return Qm.has(e.tagName)||e.isContentEditable===!0}var Cr=new WeakSet;function tc(e){return t=>{t.key===\"Enter\"&&e(t)}}function ms(e,t){e.dispatchEvent(new PointerEvent(\"pointer\"+t,{isPrimary:!0,bubbles:!0}))}var rc=(e,t)=>{let r=e.currentTarget;if(!r)return;let i=tc(()=>{if(Cr.has(r))return;ms(r,\"down\");let n=tc(()=>{ms(r,\"up\")}),o=()=>ms(r,\"cancel\");r.addEventListener(\"keyup\",n,t),r.addEventListener(\"blur\",o,t)});r.addEventListener(\"keydown\",i,t),r.addEventListener(\"blur\",()=>r.removeEventListener(\"keydown\",i),t)};function ic(e){return Jd(e)&&!En()}var nc=new WeakSet;function ps(e,t,r={}){let[i,n,o]=jn(e,r),s=a=>{let c=a.currentTarget;if(!ic(a)||nc.has(a))return;Cr.add(c),r.stopPropagation&&nc.add(a);let l=t(c,a),d={...n,capture:!0},p=(h,g)=>{window.removeEventListener(\"pointerup\",m,d),window.removeEventListener(\"pointercancel\",f,d),Cr.has(c)&&Cr.delete(c),ic(h)&&typeof l==\"function\"&&l(h,{success:g})},m=h=>{p(h,c===window||c===document||r.useGlobalTarget||us(c,h.target))},f=h=>{p(h,!1)};window.addEventListener(\"pointerup\",m,d),window.addEventListener(\"pointercancel\",f,d)};return i.forEach(a=>{(r.useGlobalTarget?window:a).addEventListener(\"pointerdown\",s,n),ir(a)&&(a.addEventListener(\"focus\",l=>rc(l,n)),!ec(a)&&!a.hasAttribute(\"tabindex\")&&(a.tabIndex=0))}),o}var Ym=[...as,re,ye],oc=e=>Ym.find(Nn(e));var sc=()=>({min:0,max:0}),On=()=>({x:sc(),y:sc()});var ac=new WeakMap;function lt(e){return e!==null&&typeof e==\"object\"&&typeof e.start==\"function\"}function Je(e){return typeof e==\"string\"||Array.isArray(e)}var Fn=[\"animate\",\"whileInView\",\"whileFocus\",\"whileHover\",\"whileTap\",\"whileDrag\",\"exit\"],hi=[\"initial\",...Fn];function Nt(e){return lt(e.animate)||hi.some(t=>Je(e[t]))}function Li(e){return!!(Nt(e)||e.variants)}function dc(e,t,r){for(let i in t){let n=t[i],o=r[i];if(X(n))e.addValue(i,n);else if(X(o))e.addValue(i,Jt(n,{owner:e}));else if(o!==n)if(e.hasValue(i)){let s=e.getValue(i);s.liveStyle===!0?s.jump(n):s.hasAnimated||s.set(n)}else{let s=e.getStaticValue(i);e.addValue(i,Jt(s!==void 0?s:n,{owner:e}))}}for(let i in r)t[i]===void 0&&e.removeValue(i);return t}var Dt={current:null},nr={current:!1};var Xm=typeof window<\"u\";function bi(){if(nr.current=!0,!!Xm)if(window.matchMedia){let e=window.matchMedia(\"(prefers-reduced-motion)\"),t=()=>Dt.current=e.matches;e.addEventListener(\"change\",t),t()}else Dt.current=!1}var cc=[\"AnimationStart\",\"AnimationComplete\",\"Update\",\"BeforeLayoutMeasure\",\"LayoutMeasure\",\"LayoutAnimationStart\",\"LayoutAnimationComplete\"],$n={};function xi(e){$n=e}function ys(){return $n}var vi=class{scrapeMotionValuesFromProps(t,r,i){return{}}constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:n,skipAnimations:o,blockInitialAnimation:s,visualState:a},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=At,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(\"Update\",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let f=pe.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,le.render(this.render,!1,!0))};let{latestValues:l,renderState:d}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=d,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=o,this.options=c,this.blockInitialAnimation=!!s,this.isControllingVariants=Nt(r),this.isVariantNode=Li(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...m}=this.scrapeMotionValuesFromProps(r,{},this);for(let f in m){let h=m[f];l[f]!==void 0&&X(h)&&h.set(l[f])}}mount(t){if(this.hasBeenMounted)for(let r in this.initialValues)this.values.get(r)?.jump(this.initialValues[r]),this.latestValues[r]=this.initialValues[r];this.current=t,ac.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),this.reducedMotionConfig===\"never\"?this.shouldReduceMotion=!1:this.reducedMotionConfig===\"always\"?this.shouldReduceMotion=!0:(nr.current||bi(),this.shouldReduceMotion=Dt.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Lr(this.notifyUpdate),Lr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),r.accelerate&&In.has(t)&&this.current instanceof HTMLElement){let{factory:s,keyframes:a,times:c,ease:l,duration:d}=r.accelerate,p=new kr({element:this.current,name:t,keyframes:a,times:c,ease:l,duration:he(d)}),m=s(p);this.valueSubscriptions.set(t,()=>{m(),p.cancel()});return}let i=Ee.has(t);i&&this.onBindTransform&&this.onBindTransform();let n=r.on(\"change\",s=>{this.latestValues[t]=s,this.props.onUpdate&&le.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),o;typeof window<\"u\"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{n(),o&&o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t=\"animation\";for(t in $n){let r=$n[t];if(!r)continue;let{isEnabled:i,Feature:n}=r;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):On()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<cc.length;i++){let n=cc[i];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let o=\"on\"+n,s=t[o];s&&(this.propEventSubscriptions[n]=this.on(n,s))}this.prevMotionValues=dc(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){let i=this.values.get(t);r!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&r!==void 0&&(i=Jt(r===null?void 0:r,{owner:this}),this.addValue(t,i)),i}readValue(t,r){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i==\"string\"&&(Zr(i)||Qr(i))?i=parseFloat(i):!oc(i)&&ye.test(r)&&(i=Vn(t,r)),this.setBaseTarget(t,X(i)?i.get():i)),X(i)?i.get():i}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){let{initial:r}=this.props,i;if(typeof r==\"string\"||typeof r==\"object\"){let o=tr(this.props,r,this.presenceContext?.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;let n=this.getBaseTargetFromProps(this.props,t);return n!==void 0&&!X(n)?n:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Gt),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){Yd.render(this.render)}};var Mr=class extends vi{constructor(){super(...arguments),this.KeyframeResolver=qn}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){let i=t.style;return i?i[r]:void 0}removeValueFromRenderState(t,{vars:r,style:i}){delete r[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on(\"change\",r=>{this.current&&(this.current.textContent=`${r}`)}))}};var Ie=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function lc({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function uc(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function mc(e,t){return lc(uc(e.getBoundingClientRect(),t))}var Jm={x:\"translateX\",y:\"translateY\",z:\"translateZ\",transformPerspective:\"perspective\"},ep=Xe.length;function pc(e,t,r){let i=\"\",n=!0;for(let s=0;s<ep;s++){let a=Xe[s],c=e[a];if(c===void 0)continue;let l=!0;if(typeof c==\"number\")l=c===(a.startsWith(\"scale\")?1:0);else{let d=parseFloat(c);l=a.startsWith(\"scale\")?d===1:d===0}if(!l||r){let d=gi(c,rr[a]);if(!l){n=!1;let p=Jm[a]||a;i+=`${p}(${d}) `}r&&(t[a]=d)}}let o=e.pathRotation;return o&&(n=!1,i+=`rotate(${gi(o,rr.pathRotation)}) `),i=i.trim(),r?i=r(t,n?\"\":i):n&&(i=\"none\"),i}function or(e,t,r){let{style:i,vars:n,transformOrigin:o}=e,s=!1,a=!1;for(let c in t){let l=t[c];if(Ee.has(c)){s=!0;continue}else if(un(c)){n[c]=l;continue}else{let d=gi(l,rr[c]);c.startsWith(\"origin\")?(a=!0,o[c]=d):i[c]=d}}if(t.transform||(s||r?i.transform=pc(t,e.transform,r):i.transform&&(i.transform=\"none\")),a){let{originX:c=\"50%\",originY:l=\"50%\",originZ:d=0}=o;i.transformOrigin=`${c} ${l} ${d}`}}function Un(e,{style:t,vars:r},i,n){let o=e.style,s;for(s in t)o[s]=t[s];n?.applyProjectionStyles(o,i);for(s in r)o.setProperty(s,r[s])}function yc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Tr={correct:(e,t)=>{if(!t.target)return e;if(typeof e==\"string\")if(D.test(e))e=parseFloat(e);else return e;let r=yc(e,t.target.x),i=yc(e,t.target.y);return`${r}% ${i}%`}};var fc={correct:(e,{treeScale:t,projectionDelta:r})=>{let i=e,n=ye.parse(e);if(n.length>5)return i;let o=ye.createTransformer(e),s=typeof n[0]!=\"number\"?1:0,a=r.x.scale*t.x,c=r.y.scale*t.y;n[0+s]/=a,n[1+s]/=c;let l=Ye(a,c,.5);return typeof n[2+s]==\"number\"&&(n[2+s]/=l),typeof n[3+s]==\"number\"&&(n[3+s]/=l),o(n)}};var gc={borderRadius:{...Tr,applyTo:[...Zd]},borderTopLeftRadius:Tr,borderTopRightRadius:Tr,borderBottomLeftRadius:Tr,borderBottomRightRadius:Tr,boxShadow:fc};function wi(e,{layout:t,layoutId:r}){return Ee.has(e)||e.startsWith(\"origin\")||(t||r!==void 0)&&(!!gc[e]||e===\"opacity\")}function sr(e,t,r){let i=e.style,n=t?.style,o={};if(!i)return o;for(let s in i)(X(i[s])||n&&X(n[s])||wi(s,e)||r?.getValue(s)?.liveStyle!==void 0)&&(o[s]=i[s]);return o}function tp(e){return window.getComputedStyle(e)}var _i=class extends Mr{constructor(){super(...arguments),this.type=\"html\",this.renderInstance=Un}mount(t){qe(!!t.style,\"motion.create() components must forward their ref to a HTML or SVG element\",\"custom-component-ref\"),super.mount(t)}readValueFromInstance(t,r){if(Ee.has(r))return this.projection?.isProjecting?bn(r):Ld(t,r);{let i=tp(t),n=(un(r)?i.getPropertyValue(r):i[r])||0;return typeof n==\"string\"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:r}){return mc(t,r)}build(t,r,i){or(t,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,r,i){return sr(t,r,i)}};var rp={offset:\"stroke-dashoffset\",array:\"stroke-dasharray\"},ip={offset:\"strokeDashoffset\",array:\"strokeDasharray\"};function hc(e,t,r=1,i=0,n=!0){e.pathLength=1;let o=n?rp:ip;e[o.offset]=`${-i}`,e[o.array]=`${t} ${r}`}var np=[\"offsetDistance\",\"offsetPath\",\"offsetRotate\",\"offsetAnchor\"];function Si(e,{attrX:t,attrY:r,attrScale:i,pathLength:n,pathSpacing:o=1,pathOffset:s=0,...a},c,l,d){if(or(e,a,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:m}=e;p.transform&&(m.transform=p.transform,delete p.transform),(m.transform||p.transformOrigin)&&(m.transformOrigin=p.transformOrigin??\"50% 50%\",delete p.transformOrigin),m.transform&&(m.transformBox=d?.transformBox??\"fill-box\",delete p.transformBox);for(let f of np)p[f]!==void 0&&(m[f]=p[f],delete p[f]);t!==void 0&&(p.x=t),r!==void 0&&(p.y=r),i!==void 0&&(p.scale=i),n!==void 0&&hc(p,n,o,s,!1)}var Bn=new Set([\"baseFrequency\",\"diffuseConstant\",\"kernelMatrix\",\"kernelUnitLength\",\"keySplines\",\"keyTimes\",\"limitingConeAngle\",\"markerHeight\",\"markerWidth\",\"numOctaves\",\"targetX\",\"targetY\",\"surfaceScale\",\"specularConstant\",\"specularExponent\",\"stdDeviation\",\"tableValues\",\"viewBox\",\"gradientTransform\",\"pathLength\",\"startOffset\",\"textLength\",\"lengthAdjust\"]);var ki=e=>typeof e==\"string\"&&e.toLowerCase()===\"svg\";function Lc(e,t,r,i){Un(e,t,void 0,i);for(let n in t.attrs)e.setAttribute(Bn.has(n)?n:Ir(n),t.attrs[n])}function Ii(e,t,r){let i=sr(e,t,r);for(let n in e)if(X(e[n])||X(t[n])){let o=Xe.indexOf(n)!==-1?\"attr\"+n.charAt(0).toUpperCase()+n.substring(1):n;i[o]=e[n]}return i}var Ci=class extends Mr{constructor(){super(...arguments),this.type=\"svg\",this.isSVGTag=!1,this.measureInstanceViewportBox=On}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Ee.has(r)){let i=Dn(r);return i&&i.default||0}return r=Bn.has(r)?r:Ir(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,i){return Ii(t,r,i)}build(t,r,i){Si(t,r,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,r,i,n){Lc(t,r,i,n)}mount(t){this.isSVGTag=ki(t.tagName),super.mount(t)}};var op=hi.length;function fs(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent?fs(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}let t={};for(let r=0;r<op;r++){let i=hi[r],n=e.props[i];(Je(n)||n===!1)&&(t[i]=n)}return t}function gs(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}var sp=[...Fn].reverse(),ap=Fn.length;function dp(e){return t=>Promise.all(t.map(({animation:r,options:i})=>zd(e,r,i)))}function hs(e){let t=dp(e),r=bc(),i=!0,n=!1,o=l=>(d,p)=>{let m=Ae(e,p,l===\"exit\"?e.presenceContext?.custom:void 0);if(m){let{transition:f,transitionEnd:h,...g}=m;d={...d,...g,...h}}return d};function s(l){t=l(e)}function a(l){let{props:d}=e,p=fs(e.parent)||{},m=[],f=new Set,h={},g=1/0;for(let L=0;L<ap;L++){let x=sp[L],_=r[x],k=d[x]!==void 0?d[x]:p[x],v=Je(k),M=x===l?_.isActive:null;M===!1&&(g=L);let y=k===p[x]&&k!==d[x]&&v;if(y&&(i||n)&&e.manuallyAnimateOnMount&&(y=!1),_.protectedKeys={...h},!_.isActive&&M===null||!k&&!_.prevProp||lt(k)||typeof k==\"boolean\")continue;if(x===\"exit\"&&_.isActive&&M!==!0){_.prevResolvedValues&&(h={...h,..._.prevResolvedValues});continue}let S=vc(_.prevProp,k),C=S||x===l&&_.isActive&&!y&&v||L>g&&v,w=!1,P=Array.isArray(k)?k:[k],q=P.reduce(o(x),{});M===!1&&(q={});let{prevResolvedValues:R={}}=_,j={...R,...q},N=A=>{C=!0,f.has(A)&&(w=!0,f.delete(A)),_.needsAnimating[A]=!0;let H=e.getValue(A);H&&(H.liveStyle=!1)};for(let A in j){let H=q[A],B=R[A];if(h.hasOwnProperty(A))continue;let ne=!1;mi(H)&&mi(B)?ne=!gs(H,B)||S:ne=H!==B,ne?H!=null?N(A):f.add(A):H!==void 0&&f.has(A)?N(A):_.protectedKeys[A]=!0}_.prevProp=k,_.prevResolvedValues=q,_.isActive&&(h={...h,...q}),(i||n)&&e.blockInitialAnimation&&(C=!1);let V=y&&S;C&&(!V||w)&&m.push(...P.map(A=>{let H={type:x};if(typeof A==\"string\"&&(i||n)&&!V&&e.manuallyAnimateOnMount&&e.parent){let{parent:B}=e,ne=Ae(B,A);if(B.enteringChildren&&ne){let{delayChildren:jt}=ne.transition||{};H.delay=Mn(B.enteringChildren,e,jt)}}return{animation:A,options:H}}))}if(f.size){let L={};if(typeof d.initial!=\"boolean\"){let x=Ae(e,Array.isArray(d.initial)?d.initial[0]:d.initial);x&&x.transition&&(L.transition=x.transition)}f.forEach(x=>{let _=e.getBaseTarget(x),k=e.getValue(x);k&&(k.liveStyle=!0),L[x]=_??null}),m.push({animation:L})}let b=!!m.length;return i&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),i=!1,n=!1,b?t(m):Promise.resolve()}function c(l,d){if(r[l].isActive===d)return Promise.resolve();e.variantChildren?.forEach(m=>m.animationState?.setActive(l,d)),r[l].isActive=d;let p=a(l);for(let m in r)r[m].protectedKeys={};return p}return{animateChanges:a,setActive:c,setAnimateFunction:s,getState:()=>r,reset:()=>{r=bc(),n=!0}}}function vc(e,t){return typeof t==\"string\"?t!==e:Array.isArray(t)?!gs(t,e):!1}function ar(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bc(){return{animate:ar(!0),whileInView:ar(),whileHover:ar(),whileTap:ar(),whileDrag:ar(),whileFocus:ar(),exit:ar()}}function zn(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function Ls(e){return X(e)?e.get():e}import*as Kn from\"react\";import{useId as mp,useRef as Sc,useContext as pp,useInsertionEffect as yp}from\"react\";import{createContext as cp}from\"react\";var ut=cp({transformPagePoint:e=>e,isStatic:!1,reducedMotion:\"never\"});import*as wc from\"react\";function xc(e,t){if(typeof e==\"function\")return e(t);e!=null&&(e.current=t)}function lp(...e){return t=>{let r=!1,i=e.map(n=>{let o=xc(n,t);return!r&&typeof o==\"function\"&&(r=!0),o});if(r)return()=>{for(let n=0;n<i.length;n++){let o=i[n];typeof o==\"function\"?o():xc(e[n],null)}}}}function _c(...e){return wc.useCallback(lp(...e),e)}var bs=class extends Kn.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(ir(r)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let i=r.offsetParent,n=ir(i)&&i.offsetWidth||0,o=ir(i)&&i.offsetHeight||0,s=getComputedStyle(r),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=r.offsetTop,a.left=r.offsetLeft,a.right=n-a.width-a.left,a.bottom=o-a.height-a.top,a.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function kc({children:e,isPresent:t,anchorX:r,anchorY:i,root:n,pop:o}){let s=mp(),a=Sc(null),c=Sc({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:\"ltr\"}),{nonce:l}=pp(ut),d=o!==!1?e.props?.ref??e?.ref:void 0,p=_c(a,d);return yp(()=>{let{width:m,height:f,top:h,left:g,right:b,bottom:L,direction:x}=c.current;if(t||o===!1||!a.current||!m||!f)return;let _=x===\"rtl\",k=r===\"left\"?_?`right: ${b}`:`left: ${g}`:_?`left: ${g}`:`right: ${b}`,v=i===\"bottom\"?`bottom: ${L}`:`top: ${h}`;a.current.dataset.motionPopId=s;let M=document.createElement(\"style\");l&&(M.nonce=l);let y=n??document.head;return y.appendChild(M),M.sheet&&M.sheet.insertRule(`\n          [data-motion-pop-id=\"${s}\"] {\n            position: absolute !important;\n            width: ${m}px !important;\n            height: ${f}px !important;\n            ${k}px !important;\n            ${v}px !important;\n          }\n        `),()=>{a.current?.removeAttribute(\"data-motion-pop-id\"),y.contains(M)&&y.removeChild(M)}},[t]),up(bs,{isPresent:t,childRef:a,sizeRef:c,pop:o,children:o===!1?e:Kn.cloneElement(e,{ref:p})})}var Pc=({children:e,initial:t,isPresent:r,onExitComplete:i,custom:n,presenceAffectsLayout:o,mode:s,anchorX:a,anchorY:c,root:l})=>{let d=_t(gp),p=fp(),m=Cc(r),f=Cc(i);gr(()=>{m.current=r,f.current=i});let h=!0,g=Mc(()=>(h=!1,{id:p,initial:t,isPresent:r,custom:n,onExitComplete:b=>{d.set(b,!0);for(let L of d.values())if(!L)return;i&&i()},register:b=>(d.set(b,!1),()=>{d.delete(b),!m.current&&!d.size&&f.current?.()})}),[r,d,i]);return o&&h&&(g={...g}),Mc(()=>{d.forEach((b,L)=>d.set(L,!1))},[r]),Tc.useEffect(()=>{!r&&!d.size&&i&&i()},[r]),e=Ic(kc,{pop:s===\"popLayout\",isPresent:r,anchorX:a,anchorY:c,root:l,children:e}),Ic(St.Provider,{value:g,children:e})};function gp(){return new Map}import{useContext as hp,useId as Lp,useEffect as bp,useCallback as vp}from\"react\";function Rc(e=!0){let t=hp(St);if(t===null)return[!0,null];let{isPresent:r,onExitComplete:i,register:n}=t,o=Lp();bp(()=>{if(e)return n(o)},[e]);let s=vp(()=>e&&i&&i(o),[o,i,e]);return!r&&i?[!1,s]:[!0]}import{Children as xp,isValidElement as wp}from\"react\";var Mi=e=>e.key||\"\";function vs(e){let t=[];return xp.forEach(e,r=>{wp(r)&&t.push(r)}),t}var Vt=({children:e,custom:t,initial:r=!0,onExitComplete:i,presenceAffectsLayout:n=!0,mode:o=\"sync\",propagate:s=!1,anchorX:a=\"left\",anchorY:c=\"top\",root:l})=>{let[d,p]=Rc(s),m=Sp(()=>vs(e),[e]),f=s&&!d?[]:m.map(Mi),h=xs(!0),g=xs(m),b=_t(()=>new Map),L=xs(new Set),[x,_]=Nc(m),[k,v]=Nc(m);gr(()=>{h.current=!1,g.current=m;for(let S=0;S<k.length;S++){let C=Mi(k[S]);f.includes(C)?(b.delete(C),L.current.delete(C)):b.get(C)!==!0&&b.set(C,!1)}},[k,f.length,f.join(\"-\")]);let M=[];if(m!==x){let S=[...m];for(let C=0;C<k.length;C++){let w=k[C],P=Mi(w);f.includes(P)||(S.splice(C,0,w),M.push(w))}return o===\"wait\"&&M.length&&(S=M),v(vs(S)),_(m),null}let{forceRender:y}=kp(nn);return Ac(_p,{children:k.map(S=>{let C=Mi(S),w=s&&!d?!1:m===k||f.includes(C),P=()=>{if(L.current.has(C))return;if(b.has(C))L.current.add(C),b.set(C,!0);else return;let q=!0;b.forEach(R=>{R||(q=!1)}),q&&(y?.(),v(g.current),s&&p?.(),i&&i())};return Ac(Pc,{isPresent:w,initial:!h.current||r?void 0:!1,custom:t,presenceAffectsLayout:n,mode:o,root:l,onExitComplete:w?void 0:P,anchorX:a,anchorY:c,children:S},C)})})};import{jsx as Mp}from\"react/jsx-runtime\";import{useState as Tp,useRef as Pp,useEffect as Rp}from\"react\";import{createContext as Ip}from\"react\";var Pr=Ip({strict:!1});var Dc={animation:[\"animate\",\"variants\",\"whileHover\",\"whileTap\",\"exit\",\"whileInView\",\"whileFocus\",\"whileDrag\"],exit:[\"exit\"],drag:[\"drag\",\"dragControls\"],focus:[\"whileFocus\"],hover:[\"whileHover\",\"onHoverStart\",\"onHoverEnd\"],tap:[\"whileTap\",\"onTap\",\"onTapStart\",\"onTapCancel\"],pan:[\"onPan\",\"onPanStart\",\"onPanSessionStart\",\"onPanEnd\"],inView:[\"whileInView\",\"onViewportEnter\",\"onViewportLeave\"],layout:[\"layout\",\"layoutId\"]},Vc=!1;function Cp(){if(Vc)return;let e={};for(let t in Dc)e[t]={isEnabled:r=>Dc[t].some(i=>!!r[i])};xi(e),Vc=!0}function Hn(){return Cp(),ys()}function Ti(e){let t=Hn();for(let r in e)t[r]={...t[r],...e[r]};xi(t)}function _s({children:e,features:t,strict:r=!1}){let[,i]=Tp(!ws(t)),n=Pp(void 0);if(!ws(t)){let{renderer:o,...s}=t;n.current=o,Ti(s)}return Rp(()=>{ws(t)&&t().then(({renderer:o,...s})=>{Ti(s),n.current=o,i(!0)})},[]),Mp(Pr.Provider,{value:{renderer:n.current,strict:r},children:e})}function ws(e){return typeof e==\"function\"}import{jsx as Np}from\"react/jsx-runtime\";import{useContext as Dp,useMemo as Vp}from\"react\";var Ap=new Set([\"animate\",\"exit\",\"variants\",\"initial\",\"style\",\"values\",\"variants\",\"transition\",\"transformTemplate\",\"custom\",\"inherit\",\"onBeforeLayoutMeasure\",\"onAnimationStart\",\"onAnimationComplete\",\"onUpdate\",\"onDragStart\",\"onDrag\",\"onDragEnd\",\"onMeasureDragConstraints\",\"onDirectionLock\",\"onDragTransitionEnd\",\"_dragX\",\"_dragY\",\"onHoverStart\",\"onHoverEnd\",\"onViewportEnter\",\"onViewportLeave\",\"globalTapTarget\",\"propagate\",\"ignoreStrict\",\"viewport\"]);function Pi(e){return e.startsWith(\"while\")||e.startsWith(\"drag\")&&e!==\"draggable\"||e.startsWith(\"layout\")||e.startsWith(\"onTap\")||e.startsWith(\"onPan\")||e.startsWith(\"onLayout\")||Ap.has(e)}var qc=e=>!Pi(e);function Ss(e){typeof e==\"function\"&&(qc=t=>t.startsWith(\"on\")?!Pi(t):e(t))}try{Ss((void 0)(\"@emotion/is-prop-valid\").default)}catch{}function Ec(e,t,r){let i={};for(let n in e)n===\"values\"&&typeof e.values==\"object\"||X(e[n])||(qc(n)||r===!0&&Pi(n)||!t&&!Pi(n)||e.draggable&&n.startsWith(\"onDrag\"))&&(i[n]=e[n]);return i}function ks({children:e,isValidProp:t,...r}){t&&Ss(t);let i=Dp(ut);r={...i,...r},r.transition=er(r.transition,i.transition),r.isStatic=_t(()=>r.isStatic);let n=Vp(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion,r.skipAnimations]);return Np(ut.Provider,{value:n,children:e})}import{jsxs as ey,jsx as ty}from\"react/jsx-runtime\";import{forwardRef as ry,useContext as Cs}from\"react\";import{createContext as qp}from\"react\";var qt=qp({});import{useContext as Ep,useMemo as jp}from\"react\";function jc(e,t){if(Nt(e)){let{initial:r,animate:i}=e;return{initial:r===!1||Je(r)?r:void 0,animate:Je(i)?i:void 0}}return e.inherit!==!1?t:{}}function Fc(e){let{initial:t,animate:r}=jc(e,Ep(qt));return jp(()=>({initial:t,animate:r}),[Oc(t),Oc(r)])}function Oc(e){return Array.isArray(e)?e.join(\" \"):e}import{Fragment as Bp,useMemo as zp,createElement as Kp}from\"react\";import{useMemo as Op}from\"react\";var Rr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Is(e,t,r){for(let i in t)!X(t[i])&&!wi(i,r)&&(e[i]=t[i])}function Fp({transformTemplate:e},t){return Op(()=>{let r=Rr();return or(r,t,e),Object.assign({},r.vars,r.style)},[t])}function $p(e,t){let r=e.style||{},i={};return Is(i,r,e),Object.assign(i,Fp(e,t)),i}function $c(e,t){let r={},i=$p(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout=\"none\",i.touchAction=e.drag===!0?\"none\":`pan-${e.drag===\"x\"?\"y\":\"x\"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}import{useMemo as Up}from\"react\";var Gn=()=>({...Rr(),attrs:{}});function Uc(e,t,r,i){let n=Up(()=>{let o=Gn();return Si(o,t,ki(i),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};Is(o,e.style,e),n.style={...o,...n.style}}return n}var Bc=[\"animate\",\"circle\",\"defs\",\"desc\",\"ellipse\",\"g\",\"image\",\"line\",\"filter\",\"marker\",\"mask\",\"metadata\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"rect\",\"stop\",\"switch\",\"symbol\",\"svg\",\"text\",\"tspan\",\"use\",\"view\"];function Ar(e){return typeof e!=\"string\"||e.includes(\"-\")?!1:!!(Bc.indexOf(e)>-1||/[A-Z]/u.test(e))}function zc(e,t,r,{latestValues:i},n,o=!1,s){let c=(s??Ar(e)?Uc:$c)(t,i,n,e),l=Ec(t,typeof e==\"string\",o),d=e!==Bp?{...l,...c,ref:r}:{},{children:p}=t,m=zp(()=>X(p)?p.get():p,[p]);return Kp(e,{...d,children:m})}import{useContext as Kc}from\"react\";function Hp({scrapeMotionValuesFromProps:e,createRenderState:t},r,i,n){return{latestValues:Gp(r,i,n,e),renderState:t()}}function Gp(e,t,r,i){let n={},o=i(e,{});for(let m in o)n[m]=Ls(o[m]);let{initial:s,animate:a}=e,c=Nt(e),l=Li(e);t&&l&&!c&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let d=r?r.initial===!1:!1;d=d||s===!1;let p=d?a:s;if(p&&typeof p!=\"boolean\"&&!lt(p)){let m=Array.isArray(p)?p:[p];for(let f=0;f<m.length;f++){let h=tr(e,m[f]);if(h){let{transitionEnd:g,transition:b,...L}=h;for(let x in L){let _=L[x];if(Array.isArray(_)){let k=d?_.length-1:0;_=_[k]}_!==null&&(n[x]=_)}for(let x in g)n[x]=g[x]}}}return n}var Wn=e=>(t,r)=>{let i=Kc(qt),n=Kc(St),o=()=>Hp(e,t,i,n);return r?o():_t(o)};var Hc=Wn({scrapeMotionValuesFromProps:sr,createRenderState:Rr});var Gc=Wn({scrapeMotionValuesFromProps:Ii,createRenderState:Gn});var Wc=Symbol.for(\"motionComponentSymbol\");import{useRef as Zc,useInsertionEffect as Wp,useCallback as Zp}from\"react\";function Qc(e,t,r){let i=Zc(r);Wp(()=>{i.current=r});let n=Zc(null);return Zp(o=>{o&&e.onMount?.(o),t&&(o?t.mount(o):t.unmount());let s=i.current;if(typeof s==\"function\")if(o){let a=s(o);typeof a==\"function\"&&(n.current=a)}else n.current?(n.current(),n.current=null):s(o);else s&&(s.current=o)},[t])}import{useContext as Ri,useRef as Zn,useInsertionEffect as Yp,useEffect as Xp}from\"react\";import{createContext as Qp}from\"react\";var Yc=Qp({});function Xc(e){return e&&typeof e==\"object\"&&Object.prototype.hasOwnProperty.call(e,\"current\")}function Jc(e,t,r,i,n,o){let{visualElement:s}=Ri(qt),a=Ri(Pr),c=Ri(St),l=Ri(ut),d=l.reducedMotion,p=l.skipAnimations,m=Zn(null),f=Zn(!1);i=i||a.renderer,!m.current&&i&&(m.current=i(e,{visualState:t,parent:s,props:r,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:p,isSVG:o}),f.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));let h=m.current,g=Ri(Yc);h&&!h.projection&&n&&(h.type===\"html\"||h.type===\"svg\")&&Jp(m.current,r,n,g);let b=Zn(!1);Yp(()=>{h&&b.current&&h.update(r,c)});let L=r[pi],x=Zn(!!L&&typeof window<\"u\"&&!window.MotionHandoffIsComplete?.(L)&&window.MotionHasOptimisedAnimation?.(L));return gr(()=>{f.current=!0,h&&(b.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),x.current&&h.animationState&&h.animationState.animateChanges())}),Xp(()=>{h&&(!x.current&&h.animationState&&h.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(L)}),x.current=!1),h.enteringChildren=void 0)}),h}function Jp(e,t,r,i){let{layoutId:n,layout:o,drag:s,dragConstraints:a,layoutScroll:c,layoutRoot:l,layoutAnchor:d,layoutCrossfade:p}=t;e.projection=new r(e.latestValues,t[\"data-framer-portal-id\"]?void 0:el(e.parent)),e.projection.setOptions({layoutId:n,layout:o,alwaysMeasureLayout:!!s||a&&Xc(a),visualElement:e,animationType:typeof o==\"string\"?o:\"both\",initialPromotionConfig:i,crossfade:p,layoutScroll:c,layoutRoot:l,layoutAnchor:d})}function el(e){if(e)return e.options.allowProjection!==!1?e.projection:el(e.parent)}function tl(e,{forwardMotionProps:t=!1,type:r}={},i,n){i&&Ti(i);let o=r?r===\"svg\":Ar(e),s=o?Gc:Hc;function a(l,d){let p,m={...Cs(ut),...l,layoutId:iy(l)},{isStatic:f}=m,h=Fc(l),g=s(l,f);if(!f&&typeof window<\"u\"){ny(m,i);let b=oy(m);p=b.MeasureLayout,h.visualElement=Jc(e,g,m,n,b.ProjectionNode,o)}return ey(qt.Provider,{value:h,children:[p&&h.visualElement?ty(p,{visualElement:h.visualElement,...m}):null,zc(e,l,Qc(g,h.visualElement,d),g,f,t,o)]})}a.displayName=`motion.${typeof e==\"string\"?e:`create(${e.displayName??e.name??\"\"})`}`;let c=ry(a);return c[Wc]=e,c}function iy({layoutId:e}){let t=Cs(nn).id;return t&&e!==void 0?t+\"-\"+e:e}function ny(e,t){let r=Cs(Pr).strict}function oy(e){let t=Hn(),{drag:r,layout:i}=t;if(!r&&!i)return{};let n={...r,...i};return{MeasureLayout:r?.isEnabled(e)||i?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}import{Fragment as sy}from\"react\";var rl=(e,t)=>t.isSVG??Ar(e)?new Ci(t):new _i(t,{allowProjection:e!==sy});var Qn=class extends Ie{constructor(t){super(t),t.animationState||(t.animationState=hs(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();lt(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};var ay=0,Yn=class extends Ie{constructor(){super(...arguments),this.id=ay++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&i===!1){if(this.isExitComplete){let{initial:o,custom:s}=this.node.getProps();if(typeof o==\"string\"||typeof o==\"object\"&&o!==null&&!Array.isArray(o)){let a=Ae(this.node,o,s);if(a){let{transition:c,transitionEnd:l,...d}=a;for(let p in d)this.node.getValue(p)?.jump(d[p])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(\"exit\",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive(\"exit\",!t);r&&!t&&n.then(()=>{this.isExitComplete=!0,r(this.id)})}mount(){let{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var il={animation:{Feature:Qn},exit:{Feature:Yn}};function Xn(e){return{point:{x:e.pageX,y:e.pageY}}}function nl(e,t,r){let{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive(\"whileHover\",r===\"Start\");let n=\"onHover\"+r,o=i[n];o&&le.postRender(()=>o(t,Xn(t)))}var Jn=class extends Ie{mount(){let{current:t}=this.node;t&&(this.unmount=ls(t,(r,i)=>(nl(this.node,i,\"Start\"),n=>nl(this.node,n,\"End\"))))}unmount(){}};var eo=class extends Ie{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(\":focus-visible\")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive(\"whileFocus\",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(\"whileFocus\",!1),this.isActive=!1)}mount(){this.unmount=st(zn(this.node.current,\"focus\",()=>this.onFocus()),zn(this.node.current,\"blur\",()=>this.onBlur()))}unmount(){}};function ol(e,t,r){let{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive(\"whileTap\",r===\"Start\");let n=\"onTap\"+(r===\"End\"?\"\":r),o=i[n];o&&le.postRender(()=>o(t,Xn(t)))}var to=class extends Ie{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:r,propagate:i}=this.node.props;this.unmount=ps(t,(n,o)=>(ol(this.node,o,\"Start\"),(s,{success:a})=>ol(this.node,s,a?\"End\":\"Cancel\")),{useGlobalTarget:r,stopPropagation:i?.tap===!1})}unmount(){}};var Ts=new WeakMap,Ms=new WeakMap,dy=e=>{let t=Ts.get(e.target);t&&t(e)},cy=e=>{e.forEach(dy)};function ly({root:e,...t}){let r=e||document;Ms.has(r)||Ms.set(r,{});let i=Ms.get(r),n=JSON.stringify(t);return i[n]||(i[n]=new IntersectionObserver(cy,{root:e,...t})),i[n]}function sl(e,t,r){let i=ly(t);return Ts.set(e,r),i.observe(e),()=>{Ts.delete(e),i.unobserve(e)}}var uy={some:0,all:1},ro=class extends Ie{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:r,margin:i,amount:n=\"some\",once:o}=t,s={root:r?r.current:void 0,rootMargin:i,threshold:typeof n==\"number\"?n:uy[n]},a=c=>{let{isIntersecting:l}=c;if(this.isInView===l||(this.isInView=l,o&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(\"whileInView\",l);let{onViewportEnter:d,onViewportLeave:p}=this.node.getProps(),m=l?d:p;m&&m(c)};this.stopObserver=sl(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>\"u\")return;let{props:t,prevProps:r}=this.node;[\"amount\",\"margin\",\"root\"].some(my(t,r))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function my({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var al={inView:{Feature:ro},tap:{Feature:to},focus:{Feature:eo},hover:{Feature:Jn}};var Ps={renderer:rl,...il,...al};import{useState as py}from\"react\";function Ai(){!nr.current&&bi();let[e]=py(Dt.current);return e}function mt(e,t){return tl(e,t)}var Rs=mt(\"a\");var As=mt(\"article\");var Ns=mt(\"button\");var io=mt(\"div\");var Nr=mt(\"span\");var Ds=mt(\"circle\");var Vs=mt(\"path\");var qs=mt(\"svg\");function cl({children:e,features:t=Ps}){return Ni(_s,{features:t,strict:!0,children:Ni(ks,{reducedMotion:\"user\",children:e})})}function U({disabled:e,...t}){return Ni(Ns,{...t,disabled:e,initial:!1})}function z(e){return Ni(Rs,{...e,initial:!1})}function ll(e){return Ni(As,{...e,initial:!1})}function G({id:e,label:t,tone:r=\"status\",actionLabel:i,onAction:n}){let o=r===\"alert\"?\"alert\":\"status\";return gy(\"div\",{\"aria-live\":o===\"status\"?\"polite\":void 0,className:\"cd-directory__state\",\"data-tone\":r,id:e,role:o,children:[ul(\"span\",{children:t}),i?ul(U,{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",onClick:n,children:i}):null]})}function js({directory:e}){let[t,r]=Es(null),[i,n]=Es(\"\"),[o,s]=Es(0);if(hy(()=>{let d=!0;return r(null),n(\"\"),$(`/public/directories/${encodeURIComponent(e)}`).then(p=>{d&&r(p.submissionOptions?.intake??{mode:\"open\",gated:!1})}).catch(p=>{d&&n(Q(p))}),()=>{d=!1}},[e,o]),!t||i)return pt(\"div\",{children:[fe(\"input\",{type:\"hidden\",name:\"intake__state\",value:\"unavailable\"}),fe(G,{label:i||\"Loading contributor requirements\\u2026\",tone:i?\"alert\":void 0,actionLabel:i?\"Retry\":void 0,onAction:i?()=>s(d=>d+1):void 0})]});if(!t.gated)return fe(\"input\",{type:\"hidden\",name:\"intake__state\",value:\"open\"});let a=T(t.agreement)?t.agreement:null,c=Array.isArray(t.requiredDeclarations)?t.requiredDeclarations.filter(T):[],l=t.mode===\"paused\";return pt(\"fieldset\",{className:\"cd-directory__form-fields\",children:[fe(\"legend\",{children:\"Contributor requirements\"}),fe(\"input\",{type:\"hidden\",name:\"intake__state\",value:l?\"paused\":\"gated\"}),l?fe(G,{label:\"Submissions are paused. The directory team will reopen intake when it is ready.\"}):pt(ml,{children:[t.mode===\"invite_only\"?pt(\"label\",{className:\"cd-directory__field\",children:[fe(\"span\",{children:\"Invitation required\"}),fe(\"input\",{name:\"intake__inviteToken\",type:\"password\",autoComplete:\"off\",required:!0,placeholder:\"Invitation token from the directory team\"})]}):null,t.requireVerifiedEmail&&!t.verifiedEmailEstablishable?fe(G,{label:\"Submissions cannot be accepted yet because this site cannot confirm verified email. Please contact the directory team.\",tone:\"warning\"}):null,a?pt(ml,{children:[pt(\"p\",{children:[pt(\"strong\",{children:[\"Contributor agreement \\xB7 \",String(a.version)]}),fe(\"br\",{}),\"Effective \",new Date(String(a.effectiveAt)).toLocaleDateString(void 0,{dateStyle:\"long\"})]}),typeof a.text==\"string\"?fe(\"p\",{style:{whiteSpace:\"pre-wrap\"},children:a.text}):null,typeof a.url==\"string\"&&a.url.startsWith(\"https://\")?fe(\"a\",{href:a.url,target:\"_blank\",rel:\"noopener noreferrer\",children:\"Read contributor agreement\"}):null,fe(\"input\",{type:\"hidden\",name:\"intake__agreementVersion\",value:String(a.version)}),fe(\"label\",{className:\"cd-directory__field\",children:pt(\"span\",{children:[fe(\"input\",{type:\"checkbox\",name:\"intake__acceptAgreement\",required:!0}),\" I accept this contributor agreement.\"]})})]}):fe(G,{label:\"The directory team must publish a contributor agreement before invite-only submissions can begin.\"}),c.map(d=>fe(\"label\",{className:\"cd-directory__field\",children:pt(\"span\",{children:[fe(\"input\",{type:\"checkbox\",name:`intake__declaration__${String(d.key)}`,required:!0}),\" \",String(d.label)]})},String(d.key))),fe(\"p\",{className:\"cd-directory__muted\",children:\"Eligible contributions go to private review. Approval does not publish them.\"})]})]},String(a?.version??\"none\"))}function Os(e){let t=e.intake__state,r=Object.entries(e).filter(([n])=>n.startsWith(\"intake__\"));for(let[n]of r)delete e[n];if(t===\"unavailable\")throw new Error(\"Load contributor requirements before submitting.\");if(t===\"paused\")throw new Error(\"Submissions are paused.\");if(t!==\"gated\")return;let i=Object.fromEntries(r);return{...i.intake__inviteToken?{inviteToken:String(i.intake__inviteToken)}:{},...i.intake__agreementVersion?{agreementVersion:String(i.intake__agreementVersion),acceptAgreement:i.intake__acceptAgreement===\"on\"}:{},declarations:r.filter(([n])=>n.startsWith(\"intake__declaration__\")).map(([n,o])=>({key:n.slice(21),accepted:o===\"on\"}))}}import{jsx as Fs,jsxs as pl}from\"react/jsx-runtime\";import{useEffect as Ly,useState as yl}from\"react\";function fl({mode:e,returnTo:t,refreshKey:r}){let[i,n]=yl(\"checking\"),[o,s]=yl(0);return Ly(()=>{let a=!1,c=()=>{},l=()=>{c();let d=new AbortController,p=!0,m=setTimeout(()=>d.abort(),1e4);c=()=>{p=!1,clearTimeout(m),d.abort()},n(\"checking\"),fetch(\"/extensions/cedros-login/public-auth/user\",{method:\"GET\",credentials:\"same-origin\",cache:\"no-store\",redirect:\"error\",signal:d.signal}).then(async f=>{if(f.status===401)return\"signed-out\";if(!f.ok)return\"unavailable\";let h=await f.json();return T(h)&&h.authenticated===!0&&T(h.user)&&typeof h.user.id==\"string\"&&h.user.id.trim()&&T(h.session)&&h.session.valid===!0?\"signed-in\":\"unavailable\"}).catch(()=>\"unavailable\").then(f=>{p&&!a&&n(f)}).finally(()=>clearTimeout(m))};return l(),typeof window<\"u\"&&(window.addEventListener(\"focus\",l),window.addEventListener(\"pageshow\",l)),()=>{a=!0,c(),typeof window<\"u\"&&(window.removeEventListener(\"focus\",l),window.removeEventListener(\"pageshow\",l))}},[r,o]),i===\"signed-in\"?null:i===\"checking\"?Fs(G,{label:\"Checking your sign-in status\\u2026\"}):i===\"unavailable\"?Fs(G,{label:\"Your sign-in status could not be checked. Try again before sending your request.\",tone:\"warning\",actionLabel:\"Check sign-in status\",onAction:()=>s(a=>a+1)}):pl(\"div\",{className:\"cd-directory__signin\",children:[pl(\"p\",{children:[\"A signed-in account is required to send \",e===\"claim\"?\"a claim\":\"a listing\",\" for review.\"]}),Fs(z,{className:\"cd-directory__back-link\",href:Me(t),children:\"Sign in with Cedros Login\"})]})}import{jsx as no,jsxs as hl}from\"react/jsx-runtime\";import{useCallback as vy}from\"react\";import{useEffect as by,useState as gl}from\"react\";function yt(e,t,r){let[i,n]=gl(0),o={key:e,data:t,loading:t===void 0&&r!==null,error:null,missing:!1},[s,a]=gl(o),c=s.key===e?s:o;return by(()=>{let l=!0;if(a(d=>d.key===e?{...d,loading:d.data===void 0&&r!==null,error:null,missing:!1}:o),!!r)return r().then(d=>{l&&a({key:e,data:d,loading:!1,error:null,missing:!1})}).catch(d=>{if(!l)return;let p=d instanceof te&&[401,403,404,410].includes(d.status),m=d instanceof te&&[404,410].includes(d.status);a(f=>({key:e,data:p?void 0:f.data,loading:!1,error:Q(d),missing:m}))}),()=>{l=!1}},[e,t,r,i]),{...c,retry:()=>n(l=>l+1)}}function Ll({props:e={}}){let t=typeof e.initialDisclosure==\"string\"?e.initialDisclosure:void 0,r=vy(async()=>{let n=await $(\"/public/disclosure\");if(typeof n.copy!=\"string\"||!n.copy.trim())throw Error(\"Missing listing policy\");return n.copy},[]),i=yt(\"disclosure\",t,r);return hl(\"section\",{className:\"cd-directory\",\"aria-label\":\"How listings work\",children:[no(\"h2\",{children:\"How listings work\"}),i.data!==void 0?no(\"p\",{style:{whiteSpace:\"pre-line\"},children:i.data}):null,i.error?hl(\"p\",{role:\"alert\",children:[\"The listing and payment policy is unavailable. Try again, or ask the directory team for its policy before paying. \",no(\"button\",{type:\"button\",onClick:i.retry,children:\"Try again\"})]}):null,i.loading?no(\"p\",{role:\"status\",children:\"Loading listing policy\\u2026\"}):null]})}import{jsx as ze,jsxs as Di,Fragment as bl}from\"react/jsx-runtime\";import{createContext as wy,useContext as _y,useEffect as oo,useId as Sy,useRef as so,useState as ky}from\"react\";import{createContext as xy,useContext as LS}from\"react\";var bS=xy(!0);var vl=wy(async()=>!1),Dr=()=>_y(vl);function Iy(){return ze(\"svg\",{\"aria-hidden\":\"true\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:ze(\"path\",{d:\"M18 6 6 18M6 6l12 12\"})})}function Cy(e){if(e.key!==\"Tab\")return;let t=e.currentTarget,r=[...t.querySelectorAll(\"button, input, select, textarea, a[href], summary, [tabindex]\")].filter(o=>o.tabIndex>=0&&!o.matches(\":disabled\")&&o.getClientRects().length),i=r[0],n=r.at(-1);(!i||e.shiftKey&&document.activeElement===i||!e.shiftKey&&document.activeElement===n||!t.contains(document.activeElement))&&(e.preventDefault(),(e.shiftKey?n:i)?.focus())}function My(){let[e,t]=ky(null),r=so(null),i=so(null);return oo(()=>{!e&&i.current?.isConnected&&i.current.focus()},[e]),oo(()=>()=>r.current?.(!1),[]),{pending:e,confirm:s=>r.current?Promise.resolve(!1):(i.current=document.activeElement instanceof HTMLElement?document.activeElement:null,t(s),new Promise(a=>{r.current=a})),finish:s=>{r.current?.(s),r.current=null,t(null)}}}function Ty({options:e,finish:t,publicSurface:r=!1,descriptionId:i}){let n=so(null);oo(()=>{n.current?.focus()},[]);let o=r?\"cd-directory__button\":\"cedros-data-btn\";return Di(bl,{children:[ze(\"p\",{id:i,className:\"cedros-data-dialog__description\",children:e.description}),Di(\"div\",{className:r?\"cd-directory__actions\":\"cedros-data-actions\",children:[ze(\"button\",{ref:n,\"data-confirm-cancel\":!0,className:`${o} ${o}--ghost`,type:\"button\",onClick:()=>t(!1),children:e.cancelLabel??\"Cancel\"}),ze(\"button\",{className:`${o} ${o}--${e.danger?\"danger\":e.actionVariant??\"primary\"}`,type:\"button\",onClick:()=>t(!0),children:e.action})]})]})}function ao({children:e,publicSurface:t=!1}){let{pending:r,confirm:i,finish:n}=My(),o=so(null),s=Sy();return oo(()=>{r&&o.current&&!o.current.open&&(o.current.showModal(),o.current.querySelector(\"[data-confirm-cancel]\")?.focus()),!r&&o.current?.open&&o.current.close()},[r]),Di(vl.Provider,{value:i,children:[e,ze(\"dialog\",{ref:o,className:t?\"cd-directory cd-directory__dialog\":\"cd-dir cedros-data cedros-data-dialog cd-dir__dialog\",\"data-extension-id\":\"cedros-directory\",\"aria-modal\":\"true\",\"aria-labelledby\":`${s}-title`,\"aria-describedby\":`${s}-description`,onKeyDown:Cy,onClick:a=>{let c=a.currentTarget.getBoundingClientRect();a.target===a.currentTarget&&(a.clientX<c.left||a.clientX>c.right||a.clientY<c.top||a.clientY>c.bottom)&&n(!1)},onCancel:a=>{a.preventDefault(),n(!1)},children:r?Di(bl,{children:[Di(\"div\",{className:\"cedros-data-dialog__heading\",children:[ze(\"h2\",{id:`${s}-title`,className:\"cedros-data-dialog__title\",children:r.title}),ze(\"button\",{type:\"button\",\"aria-label\":\"Close confirmation\",title:\"Close confirmation\",className:t?\"cd-directory__button cd-directory__button--ghost\":\"cedros-data-btn cedros-data-btn--ghost cedros-data-dialog__close\",onClick:()=>n(!1),children:ze(Iy,{})})]}),ze(\"div\",{className:\"cedros-data-dialog__body cd-dir__dialog-body\",children:ze(Ty,{options:r,finish:n,publicSurface:t,descriptionId:`${s}-description`})})]}):null})]})}import{useCallback as iu,useEffect as He,useMemo as ho,useRef as Bi,useState as K}from\"react\";import{jsx as ae,jsxs as wl}from\"react/jsx-runtime\";import{useCallback as jy,useEffect as Oy,useRef as Fy,useState as $y}from\"react\";import{useLayoutEffect as Py,useRef as Ry,useState as Ay}from\"react\";var Ny=45,Dy=180,Vy=[.16,1,.3,1];function qy(e,t,r=\"center\"){if(t<=1)return\"0ms\";let i=r===\"start\"?e:Ey(e,t),n=Math.min(Ny,Dy/(t-1));return`${Math.round(i*n)}ms`}function Et(e,t,r,i=\"center\"){let n=Math.max(0,Math.min(t,r));if(!(e<n))return qy(e-n,r-n,i)}function Ey(e,t){let r=Math.floor((t-1)/2),i=Math.ceil((t-1)/2);return r===i?e<r?(r-e)*2-1:(e-i)*2:e<=r?(r-e)*2:(e-i)*2+1}function xl(e,t,r=160){let i=e.trim().match(/^(\\d+(?:\\.\\d+)?)(ms|s)$/),n=i?Number(i[1])*(i[2]===\"s\"?1e3:1):r,s=t.trim().match(/^cubic-bezier\\(\\s*(-?[\\d.]+)\\s*,\\s*(-?[\\d.]+)\\s*,\\s*(-?[\\d.]+)\\s*,\\s*(-?[\\d.]+)\\s*\\)$/)?.slice(1).map(Number),c=s?.every(Number.isFinite)&&s[0]>=0&&s[0]<=1&&s[2]>=0&&s[2]<=1&&s?[s[0],s[1],s[2],s[3]]:Vy;return{duration:n/1e3,ease:c}}function Vr(e=\"--motion-duration-fast\",t=160){let r=Ry(null),i=Ai(),[n,o]=Ay(()=>xl(\"\",\"\",t));return Py(()=>{if(!r.current)return;let s=getComputedStyle(r.current),a=xl(s.getPropertyValue(e),s.getPropertyValue(\"--motion-ease-standard\"),t);o(c=>c.duration===a.duration&&c.ease.every((l,d)=>l===a.ease[d])?c:a)}),{ref:r,reduced:i,transition:{...n,duration:i?0:n.duration}}}function dr({state:e,children:t}){let{ref:r,transition:i}=Vr();return ae(\"div\",{className:\"cd-motion-swap\",ref:r,children:ae(Vt,{initial:!1,children:ae(io,{animate:{opacity:1},className:\"cd-motion-swap__layer\",exit:{opacity:0},initial:{opacity:0},transition:i,children:t},e)})})}function Uy({children:e,className:t}){let{ref:r,transition:i}=Vr(\"--motion-duration-standard\",220);return ae(io,{ref:r,animate:{gridTemplateRows:\"1fr\",opacity:1},className:\"cd-motion-collapse\",exit:{gridTemplateRows:\"0fr\",opacity:0},initial:{gridTemplateRows:\"0fr\",opacity:0},transition:i,children:ae(\"div\",{className:t?`cd-motion-collapse__inner ${t}`:\"cd-motion-collapse__inner\",children:e})})}function je({children:e,className:t}){return ae(Vt,{initial:!1,children:e?ae(Uy,{className:t,children:e},\"region\"):null})}function _l({children:e,className:t}){return ae(Vt,{initial:!1,children:e?ae(By,{className:t,children:e},\"region\"):null})}function By({children:e,className:t}){let{ref:r,transition:i}=Vr();return ae(Nr,{ref:r,animate:{opacity:1},className:t,exit:{opacity:0},initial:{opacity:0},transition:i,children:e})}function qr({children:e}){return e?ae(\"div\",{children:e}):null}function Vi(e,t){return e?\"busy\":t?\"done\":\"idle\"}function Er({state:e,idle:t,busy:r,done:i}){let{ref:n,transition:o}=Vr(),s=e===\"busy\"?r:e===\"done\"?i??t:t;return wl(\"span\",{className:\"cd-motion-label\",ref:n,children:[ae(Vt,{initial:!1,children:e===\"idle\"?null:ae(Nr,{animate:{opacity:1,width:\"1rem\"},className:\"cd-motion-label__icon\",exit:{opacity:0,width:0},initial:{opacity:0,width:0},transition:o,children:ae(zy,{state:e})},\"icon\")}),ae(\"span\",{className:\"cd-motion-label__text\",children:ae(Vt,{initial:!1,children:ae(Nr,{animate:{opacity:1},className:\"cd-motion-label__layer\",exit:{opacity:0},initial:{opacity:0},transition:o,children:s},e)})})]})}function zy({state:e}){let t=Ai();return wl(qs,{animate:e===\"busy\"&&!t?{rotate:360}:{rotate:0},\"aria-hidden\":\"true\",fill:\"none\",height:\"16\",stroke:\"currentColor\",strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:\"2\",transition:e===\"busy\"&&!t?{duration:1,ease:\"linear\",repeat:1/0}:{duration:0},viewBox:\"0 0 24 24\",width:\"16\",children:[ae(Ds,{animate:{opacity:e===\"done\"?0:1,pathLength:e===\"done\"?0:.28},cx:\"12\",cy:\"12\",initial:{opacity:1,pathLength:.28},r:\"9\",transition:{duration:0}}),ae(Vs,{animate:{pathLength:e===\"done\"?1:0},d:\"M7 12.4 10.6 16 17 9\",initial:{pathLength:0},transition:{duration:0}})]})}function co({value:e}){let{ref:t,transition:r}=Vr();return ae(\"span\",{className:\"cd-motion-count\",ref:t,children:ae(Vt,{initial:!1,children:ae(Nr,{animate:{opacity:1},className:\"cd-motion-count__layer\",exit:{opacity:0},initial:!1,transition:r,children:e},String(e))})})}function qi(e=1600){let[t,r]=$y(!1),i=Fy(null);Oy(()=>()=>{i.current&&clearTimeout(i.current)},[]);let n=jy(()=>{i.current&&clearTimeout(i.current),r(!0),i.current=setTimeout(()=>r(!1),e)},[e]);return[t,n]}import{jsx as de,jsxs as Ne}from\"react/jsx-runtime\";import{useEffect as Bs,useLayoutEffect as Ky,useId as Hy,useMemo as zs,useRef as Ks,useState as lo}from\"react\";var Sl=[\"M-59.572,80.04L-59.866,80.55L-60.16,81L-62.255,80.863L-64.488,80.922L-65.742,80.589L-65.742,80.55L-66.29,80.256L-64.038,80.295L-61.883,80.393L-61.139,79.981L-60.61,79.629L-59.572,80.04Z\",\"M-159.208,79.497L-161.128,79.634L-162.44,79.281L-163.027,78.929L-163.067,78.87L-163.713,78.596L-163.713,78.596L-163.106,78.223L-161.245,78.38L-160.246,78.694L-159.482,79.046L-159.208,79.497Z\",\"M-45.155,78.047L-43.921,78.478L-43.49,79.086L-43.372,79.517L-43.333,80.026L-44.881,80.34L-46.506,80.594L-48.386,80.829L-50.482,81.025L-52.852,80.967L-54.164,80.634L-53.988,80.222L-51.853,79.948L-50.991,79.615L-50.365,79.183L-49.914,78.811L-49.307,78.459L-48.661,78.047L-48.661,78.047L-48.151,78.047L-46.663,77.831L-45.155,78.047Z\",\"M-121.212,73.501L-119.919,73.658L-118.724,73.481L-119.292,73.834L-120.232,74.089L-121.623,74.01L-122.622,73.658L-122.622,73.658L-122.406,73.325L-121.212,73.501Z\",\"M-125.56,73.481L-124.032,73.873L-124.619,73.834L-125.912,73.736L-127.283,73.462L-127.283,73.462L-126.558,73.246L-125.56,73.481Z\",\"M-98.982,71.933L-97.885,72.071L-96.788,71.953L-96.2,72.521L-96.984,72.443L-98.198,72.482L-99.432,72.443L-100.783,72.502L-101.802,72.306L-102.331,71.894L-102.331,71.894L-101.704,71.718L-100.431,71.855L-98.982,71.933Z\",\"M-68.451,70.956L-68.334,71.406L-68.51,71.798L-68.784,72.171L-69.959,72.308L-71.076,72.504L-72.388,72.484L-71.898,72.092L-73.074,72.229L-74.19,72.367L-74.954,72.073L-75.013,71.661L-73.916,71.269L-73.916,71.269L-73.23,71.152L-72.075,71.191L-71.781,70.681L-71.722,70.309L-71.742,69.506L-71.174,69.035L-70.253,68.879L-69.724,69.251L-69.489,69.623L-69.059,70.074L-68.726,70.505L-68.451,70.956Z\",\"M-58.614,64.152L-59.045,64.368L-59.789,64.211L-60.612,64.309L-61.297,64.544L-62.022,64.799L-62.512,65.093L-62.649,65.485L-62.59,65.857L-62.12,66.19L-62.806,66.426L-63.746,66.504L-64.294,66.837L-64.882,67.15L-65.508,67.582L-65.665,67.954L-65.313,68.365L-64.784,68.679L-63.961,68.914L-63.197,69.228L-62.786,69.619L-62.571,69.992L-62.277,70.384L-61.807,70.717L-61.513,71.089L-61.376,72.01L-61.082,72.382L-61.004,72.774L-60.69,73.166L-60.827,73.695L-61.376,74.107L-61.963,74.44L-63.295,74.577L-63.746,74.93L-64.353,75.263L-65.861,75.635L-67.193,75.792L-68.446,76.007L-69.798,76.223L-70.601,76.634L-72.207,76.674L-73.97,76.634L-75.556,76.713L-77.24,76.713L-76.927,77.105L-75.399,77.281L-74.283,77.555L-73.656,77.908L-74.773,78.222L-76.496,78.124L-77.926,78.378L-77.985,78.79L-78.024,79.182L-76.849,79.515L-76.633,79.887L-75.36,80.26L-73.245,80.416L-71.443,80.691L-70.013,81.004L-68.192,81.318L-65.704,81.474L-63.256,81.749L-61.552,82.043L-59.691,82.376L-58.712,82.846L-58.222,83.218L-57.008,82.866L-55.363,82.572L-53.62,82.258L-51.544,82.004L-49.761,81.729L-47.274,81.71L-44.826,81.847L-42.808,82.082L-42.162,81.651L-40.771,81.357L-38.245,81.337L-36.267,81.122L-34.386,80.906L-32.31,80.769L-30.097,80.593L-28.55,80.338L-29.255,79.985L-29.686,79.633L-29.686,79.26L-31.625,79.299L-33.681,79.456L-35.64,79.456L-35.914,79.084L-35.777,78.339L-35.327,78.124L-33.897,77.889L-32.212,77.653L-30.998,77.36L-29.784,77.066L-28.883,76.674L-27.512,76.497L-26.16,76.36L-25.475,76.282L-23.928,76.243L-22.459,76.105L-21.225,75.909L-20.01,75.674L-18.914,75.439L-17.523,75.126L-16.642,74.793L-15.701,74.499L-15.408,74.107L-16.465,73.872L-16.113,73.46L-15.447,73.147L-14.409,72.951L-13.312,72.715L-12.294,72.402L-11.51,72.01L-11.02,71.54L-10.296,71.265L-9.101,71.324L-8.611,71.657L-7.417,71.697L-7.377,71.324L-6.868,70.932L-5.791,71.03L-5.536,71.403L-4.342,71.461L-3.049,71.285L-1.795,71.167L-0.659,71.226L-0.229,71.638L0.868,71.305L1.887,71.128L3.023,70.991L4.139,70.854L5.158,70.619L6.274,70.462L7.136,70.247L7.743,69.894L8.487,70.149L9.525,70.011L10.25,70.482L10.818,70.834L11.954,70.638L12.404,70.247L13.423,69.972L14.735,70.031L15.127,70.403L15.949,70.031L17.027,69.913L18.202,69.874L19.259,69.894L20.376,70.011L21.453,70.07L21.923,70.403L22.569,70.697L23.666,70.521L24.841,70.482L25.977,70.482L27.094,70.462L28.093,70.325L29.15,70.207L30.032,69.933L30.972,69.757L31.99,69.659L32.754,69.384L33.302,68.836L33.87,68.503L34.908,68.659L35.3,69.012L36.162,69.247L37.2,69.169L37.905,69.521L38.649,69.776L39.668,69.541L40.02,69.11L40.921,68.934L41.959,68.601L42.939,68.463L44.114,68.267L44.897,68.052L45.72,67.817L46.503,67.601L47.443,67.719L48.344,67.366L48.991,67.092L49.931,67.111L50.753,66.876L50.949,66.523L51.792,66.249L52.614,66.053L53.613,65.896L54.534,65.818L55.415,65.877L56.355,65.975L57.158,66.249L57.256,66.68L58.137,67.013L58.745,67.288L59.939,67.405L60.605,67.68L61.428,67.954L62.387,68.013L63.19,67.817L64.052,67.405L64.992,67.621L65.972,67.738L66.912,67.856L67.891,67.934L68.89,67.934L69.713,68.973L69.673,69.228L69.556,69.678L68.596,69.933L67.813,70.305L67.95,70.697L69.066,70.678L68.929,71.069L68.42,71.442L67.95,71.853L68.714,72.167L69.869,72.265L71.025,72.088L71.573,71.697L71.906,71.324L72.455,71.011L73.081,70.717L73.336,70.364L73.865,69.874L74.492,69.776L75.628,69.737L76.626,69.619L77.645,69.463L78.135,69.071L78.428,68.698L79.114,68.326L80.093,68.072L80.935,67.876L81.484,67.542L82.052,67.366L82.776,67.209L83.775,67.307L84.676,67.209L85.656,67.092L86.752,67.15L87.477,66.876L87.986,66.21L88.358,66.484L88.828,66.955L89.671,67.15L90.63,67.229L91.59,67.111L92.609,67.19L93.549,67.209L94.175,67.111L95.018,67.17L95.781,67.386L96.682,67.249L97.76,67.249L98.68,67.111L99.718,67.249L100.384,66.915L100.893,66.582L101.579,66.308L102.832,65.563L103.479,65.7L104.243,65.975L104.908,66.328L106.182,66.935L107.161,66.955L108.081,66.955L109.159,66.837L110.236,66.7L111.058,66.426L111.744,66.132L112.86,66.092L113.605,65.877L114.388,66.073L114.897,66.386L115.602,66.7L116.699,66.661L117.385,66.915L118.579,67.17L119.833,67.268L120.871,67.19L121.654,66.876L122.32,66.563L123.221,66.484L124.122,66.621L125.16,66.719L126.1,66.563L127.001,66.563L127.883,66.661L128.803,66.759L129.704,66.582L130.781,66.426L131.8,66.386L132.936,66.386L133.856,66.288L134.757,66.21L135.032,65.72L135.071,65.309L135.697,65.583L135.874,66.034L136.207,66.445L136.618,66.778L137.46,66.955L138.596,66.896L139.908,66.876L140.809,66.817L142.122,66.817L143.062,66.798L144.374,66.837L145.49,66.915L146.196,67.229L146,67.601L146.646,67.895L147.723,68.13L148.84,68.385L150.132,68.561L151.484,68.718L152.502,68.875L153.638,68.895L154.285,68.561L155.166,68.836L155.93,69.149L156.811,69.384L158.026,69.482L159.181,69.6L159.671,69.992L160.807,70.227L161.57,70.58L162.687,70.736L163.842,70.717L164.92,70.776L166.114,70.756L167.309,70.834L168.426,70.971L169.464,71.207L170.502,71.403L171.207,71.697L171.089,72.088L170.56,72.441L170.11,72.892L169.757,73.245L169.287,73.656L167.975,73.813L167.387,74.165L166.095,74.381L165.644,74.773L164.959,75.145L164.234,75.459L163.823,75.87L163.568,76.243L163.47,76.693L163.49,77.066L164.058,77.457L164.273,77.83L164.743,78.183L166.604,78.32L166.996,78.751L165.194,78.907L163.666,79.123L161.766,79.162L160.924,79.73L160.748,80.201L160.317,80.573L159.788,80.945L161.12,81.279L161.629,81.69L162.491,82.062L163.705,82.395L165.096,82.709L166.604,83.022L168.896,83.336L169.405,83.826L172.284,84.041L172.477,84.118L173.224,84.414L175.986,84.159L178.277,84.473L180,84.713L180,90L-180,90L-180,84.713L-179.942,84.721L-179.059,84.139L-177.257,84.453L-177.141,84.418L-176.862,84.334L-176.524,84.232L-176.23,84.143L-176.085,84.099L-175.934,84.102L-175.83,84.118L-174.383,84.534L-173.117,84.118L-172.889,84.061L-169.951,83.885L-169,84.118L-168.53,84.237L-167.022,84.57L-164.182,84.825L-161.93,85.139L-158.071,85.374L-155.192,85.1L-150.942,85.296L-148.533,85.609L-145.889,85.315L-143.108,85.041L-142.892,84.57L-146.829,84.531L-150.061,84.296L-150.903,83.904L-153.586,83.689L-153.41,83.238L-153.038,82.827L-152.666,82.454L-152.862,82.043L-154.526,81.768L-155.29,81.416L-156.837,81.102L-154.409,81.161L-152.098,81.004L-150.648,81.337L-148.866,81.043L-147.221,80.671L-146.418,80.338L-146.77,79.926L-148.063,79.652L-149.532,79.358L-151.588,79.299L-153.39,79.162L-155.329,79.064L-155.976,78.692L-157.268,78.378L-158.052,78.026L-158.365,76.889L-157.875,76.987L-156.975,77.301L-155.329,77.203L-153.743,77.066L-152.92,77.497L-151.334,77.399L-150.002,77.183L-148.748,76.909L-147.612,76.576L-146.104,76.478L-146.144,76.105L-146.496,75.733L-146.202,75.38L-144.91,75.204L-144.322,75.537L-142.794,75.341L-141.639,75.086L-140.209,75.067L-138.858,74.969L-137.506,74.734L-136.429,74.518L-135.215,74.303L-134.431,74.361L-133.746,74.44L-132.257,74.303L-130.925,74.479L-129.554,74.459L-128.242,74.322L-126.891,74.42L-125.402,74.518L-124.011,74.479L-122.562,74.499L-121.074,74.518L-119.703,74.479L-118.684,74.185L-117.47,74.028L-116.216,74.244L-115.022,74.068L-113.944,73.715L-113.298,74.028L-112.945,74.381L-112.299,74.714L-111.261,74.42L-110.066,74.793L-108.715,74.91L-107.559,75.184L-106.149,75.126L-104.876,74.949L-103.368,74.988L-102.017,75.126L-100.646,75.302L-100.117,74.871L-100.763,74.538L-101.253,74.185L-102.545,74.107L-103.113,73.734L-103.329,73.362L-103.681,72.618L-102.917,72.755L-101.605,72.813L-100.313,72.755L-99.137,72.911L-98.119,73.205L-97.688,73.558L-96.337,73.617L-95.044,73.48L-93.673,73.284L-92.439,73.166L-91.421,73.401L-90.089,73.323L-89.227,72.559L-88.424,73.009L-87.268,73.186L-86.015,73.088L-85.192,73.48L-83.88,73.519L-82.666,73.636L-81.471,73.852L-80.687,73.48L-80.296,73.127L-79.297,73.519L-77.926,73.421L-76.907,73.636L-76.222,73.97L-74.89,73.872L-73.852,73.656L-72.834,73.401L-71.619,73.264L-70.209,73.147L-68.936,73.009L-67.957,72.794L-67.369,72.48L-67.134,72.049L-67.252,71.638L-67.565,71.246L-67.917,70.854L-68.231,70.462L-68.485,70.109L-68.544,69.717L-68.446,69.326L-67.976,68.953L-67.585,68.542L-67.428,68.15L-67.624,67.719L-67.741,67.327L-67.252,66.876L-66.703,66.582L-66.057,66.21L-65.371,65.896L-64.568,65.603L-64.177,65.171L-63.628,64.897L-63.001,64.642L-62.042,64.584L-61.415,64.27L-60.71,64.074L-59.887,63.957L-59.163,63.702L-58.595,63.388L-57.811,63.271L-57.224,63.525L-57.596,63.859L-58.614,64.152Z\",\"M-67.75,53.85L-66.45,54.45L-65.05,54.7L-65.5,55.2L-66.45,55.25L-66.96,54.897L-67.291,55.301L-68.149,55.612L-69.232,55.499L-69.958,55.198L-71.006,55.054L-72.264,54.495L-73.285,53.958L-74.663,52.837L-73.838,53.047L-72.434,53.715L-71.108,54.074L-70.592,53.616L-70.267,52.931L-69.346,52.518L-68.634,52.636L-68.634,52.636L-68.25,53.1L-67.75,53.85Z\",\"M-58.55,51.1L-57.75,51.55L-58.05,51.9L-59.4,52.2L-59.85,51.85L-60.7,52.3L-61.2,51.85L-60,51.25L-59.15,51.5L-58.55,51.1Z\",\"M70.28,49.71L68.745,49.775L68.72,49.242L68.868,48.83L68.935,48.625L69.58,48.94L70.525,49.065L70.56,49.255L70.28,49.71Z\",\"M145.398,40.793L146.364,41.138L146.909,41.001L147.689,40.808L148.289,40.875L148.36,42.062L148.017,42.407L147.914,43.212L147.565,42.938L146.87,43.635L146.663,43.581L146.048,43.55L145.432,42.694L145.295,42.034L144.718,41.163L144.744,40.704L145.398,40.793Z\",\"M173.02,40.919L173.247,41.332L173.958,40.927L174.248,41.349L174.249,41.77L173.876,42.233L173.223,42.97L172.711,43.372L173.08,43.853L172.309,43.866L171.453,44.243L171.185,44.897L170.617,45.909L169.831,46.356L169.332,46.641L168.411,46.62L167.764,46.29L166.677,46.22L166.509,45.853L167.046,45.111L168.304,44.124L168.949,43.936L169.668,43.555L170.525,43.032L171.125,42.513L171.57,41.767L171.949,41.514L172.097,40.956L172.799,40.494L173.02,40.919Z\",\"M174.612,36.156L175.337,37.209L175.358,36.526L175.809,36.799L175.958,37.555L176.763,37.881L177.439,37.961L178.01,37.58L178.517,37.695L178.275,38.583L177.97,39.166L177.207,39.146L176.94,39.45L177.033,39.88L176.886,40.066L176.508,40.605L176.012,41.29L175.24,41.688L175.068,41.426L174.651,41.282L175.228,40.459L174.9,39.909L173.824,39.509L173.852,39.147L174.575,38.798L174.743,38.028L174.697,37.381L174.292,36.711L174.319,36.535L173.841,36.122L173.054,35.237L172.636,34.529L173.007,34.451L173.551,35.006L174.329,35.265L174.612,36.156Z\",\"M167.12,22.16L166.74,22.4L166.19,22.13L165.474,21.68L164.83,21.15L164.168,20.445L164.03,20.106L164.46,20.12L165.02,20.46L165.46,20.8L165.78,21.08L166.6,21.7L167.12,22.16Z\",\"M178.374,17.34L178.718,17.628L178.553,18.151L177.933,18.288L177.381,18.164L177.285,17.725L177.671,17.381L178.126,17.505L178.374,17.34Z\",\"M179.364,16.801L178.725,17.012L178.597,16.639L179.097,16.434L179.414,16.379L180,16.067L180,16.555L179.364,16.801Z\",\"M-179.917,16.502L-180,16.555L-180,16.067L-179.793,16.021L-179.917,16.502Z\",\"M167.845,16.466L167.515,16.598L167.18,16.16L167.217,15.892L167.845,16.466Z\",\"M167.108,14.934L167.27,15.74L167.001,15.615L166.793,15.669L166.65,15.393L166.629,14.626L167.108,14.934Z\",\"M50.057,13.556L50.217,14.759L50.477,15.227L50.377,15.706L50.2,16L49.861,15.414L49.673,15.71L49.863,16.451L49.775,16.875L49.499,17.106L49.436,17.953L49.042,19.119L48.549,20.497L47.931,22.392L47.548,23.782L47.096,24.942L46.282,25.178L45.41,25.601L44.834,25.346L44.04,24.988L43.764,24.461L43.698,23.574L43.346,22.777L43.254,22.057L43.433,21.336L43.894,21.163L43.896,20.83L44.374,20.072L44.464,19.435L44.232,18.962L44.043,18.331L43.963,17.41L44.312,16.85L44.447,16.216L44.945,16.179L45.503,15.974L45.873,15.793L46.312,15.78L46.882,15.21L47.705,14.594L48.005,14.091L47.869,13.664L48.294,13.784L48.845,13.089L48.864,12.488L49.195,12.041L49.544,12.47L49.809,12.895L50.057,13.556Z\",\"M143.562,13.764L143.922,14.548L144.564,14.171L144.895,14.594L145.375,14.985L145.272,15.428L145.485,16.286L145.637,16.785L145.889,16.907L146.16,17.762L146.064,18.28L146.387,18.958L147.471,19.481L148.178,19.956L148.848,20.391L148.717,20.633L149.289,21.261L149.678,22.343L150.077,22.123L150.483,22.556L150.727,22.402L150.9,23.462L151.609,24.076L152.074,24.458L152.855,25.268L153.136,26.071L153.162,26.641L153.093,27.26L153.569,28.11L153.512,28.995L153.339,29.458L153.069,30.35L153.09,30.924L152.892,31.64L152.45,32.55L151.709,33.041L151.344,33.816L151.011,34.31L150.714,35.173L150.328,35.672L150.075,36.42L149.946,37.109L149.997,37.425L149.424,37.773L148.305,37.809L147.382,38.219L146.922,38.607L146.318,39.036L145.49,38.594L144.877,38.417L145.032,37.896L144.486,38.085L143.61,38.809L142.745,38.538L142.178,38.38L141.607,38.309L140.639,38.019L139.992,37.403L139.807,36.644L139.574,36.138L139.083,35.733L138.121,35.612L138.449,35.127L138.208,34.385L137.719,35.077L136.829,35.261L137.352,34.707L137.504,34.13L137.89,33.64L137.81,32.9L136.997,33.753L136.372,34.095L135.989,34.89L135.208,34.479L135.239,33.948L134.613,33.223L134.086,32.848L134.274,32.617L132.991,32.011L132.288,31.983L131.326,31.496L129.536,31.59L128.241,31.948L127.103,32.282L126.149,32.216L125.089,32.729L124.222,32.959L124.029,33.484L123.66,33.89L122.811,33.914L122.183,34.003L121.299,33.821L120.58,33.93L119.894,33.976L119.299,34.509L119.007,34.464L118.506,34.747L118.025,35.065L117.296,35.025L116.625,35.025L115.564,34.386L115.027,34.197L115.049,33.623L115.545,33.487L115.715,33.26L115.679,32.9L115.802,32.205L115.69,31.612L115.161,30.602L114.997,30.031L115.04,29.461L114.642,28.81L114.616,28.516L114.174,28.118L114.049,27.335L113.477,26.543L113.339,26.117L113.778,26.549L113.441,25.621L113.937,25.911L114.233,26.298L114.216,25.786L113.721,24.999L113.625,24.684L113.394,24.385L113.502,23.806L113.707,23.56L113.843,23.06L113.737,22.475L114.15,21.756L114.225,22.517L114.648,21.83L115.46,21.495L115.947,21.069L116.712,20.702L117.166,20.624L117.442,20.747L118.23,20.374L118.836,20.263L118.988,20.044L119.252,19.953L119.805,19.977L120.856,19.684L121.4,19.24L121.655,18.705L122.242,18.198L122.287,17.799L122.313,17.255L123.013,16.405L123.434,17.269L123.859,17.069L123.503,16.597L123.817,16.111L124.258,16.328L124.38,15.567L124.926,15.075L125.167,14.68L125.67,14.51L125.686,14.231L126.125,14.347L126.143,14.096L126.583,13.953L127.066,13.818L127.805,14.277L128.36,14.869L128.986,14.876L129.621,14.97L129.41,14.421L129.889,13.619L130.339,13.357L130.184,13.108L130.618,12.536L131.223,12.184L131.735,12.302L132.575,12.114L132.557,11.603L131.825,11.274L132.357,11.129L133.02,11.376L133.551,11.787L134.393,12.042L134.679,11.941L135.298,12.249L135.883,11.962L136.258,12.049L136.492,11.857L136.952,12.352L136.685,12.887L136.305,13.291L135.962,13.325L136.078,13.724L135.784,14.224L135.429,14.715L135.5,14.998L136.295,15.55L137.065,15.871L137.58,16.215L138.303,16.808L138.585,16.807L139.109,17.063L139.261,17.372L140.215,17.711L140.875,17.369L141.071,16.832L141.274,16.389L141.398,15.841L141.702,15.045L141.563,14.561L141.636,14.27L141.52,13.698L141.651,12.945L141.843,12.742L141.687,12.408L141.929,11.877L142.118,11.328L142.144,11.043L142.515,10.668L142.797,11.157L142.867,11.785L143.116,11.906L143.159,12.326L143.522,12.834L143.597,13.4L143.562,13.764Z\",\"M162.119,10.483L162.399,10.826L161.7,10.82L161.32,10.205L161.917,10.447L162.119,10.483Z\",\"M120.716,10.24L120.295,10.259L118.968,9.558L119.9,9.361L120.426,9.666L120.776,9.97L120.716,10.24Z\",\"M160.852,9.873L160.463,9.895L159.849,9.794L159.64,9.64L159.703,9.243L160.363,9.4L160.689,9.61L160.852,9.873Z\",\"M161.68,9.6L161.529,9.784L160.788,8.918L160.58,8.32L160.92,8.32L161.28,9.12L161.68,9.6Z\",\"M124.436,10.14L123.58,10.36L123.46,10.24L123.55,9.9L123.98,9.29L124.969,8.893L125.086,8.657L125.947,8.432L126.645,8.398L126.957,8.273L127.336,8.397L126.968,8.668L125.926,9.106L125.089,9.393L124.436,10.14Z\",\"M117.9,8.096L118.261,8.362L118.878,8.281L119.127,8.706L117.97,8.907L117.278,9.041L116.74,9.033L117.084,8.457L117.632,8.449L117.9,8.096Z\",\"M122.904,8.094L122.757,8.65L121.254,8.934L119.924,8.81L119.921,8.445L120.715,8.237L121.342,8.537L122.007,8.461L122.904,8.094Z\",\"M159.875,8.337L159.917,8.538L159.134,8.114L158.586,7.755L158.211,7.422L158.36,7.32L158.82,7.56L159.64,8.02L159.875,8.337Z\",\"M157.538,7.348L157.339,7.405L156.902,7.177L156.491,6.766L156.543,6.599L157.14,7.022L157.538,7.348Z\",\"M108.623,6.778L110.539,6.877L110.76,6.465L112.615,6.946L112.979,7.594L114.479,7.777L115.706,8.371L114.565,8.752L113.465,8.349L112.56,8.376L111.522,8.302L110.586,8.123L109.428,7.741L108.694,7.642L108.278,7.767L106.454,7.355L106.281,6.925L105.365,6.851L106.052,5.896L107.265,5.955L108.072,6.346L108.487,6.422L108.623,6.778Z\",\"M134.725,6.214L134.21,6.895L134.113,6.142L134.29,5.783L134.5,5.445L134.727,5.738L134.725,6.214Z\",\"M155.88,6.82L155.6,6.92L155.167,6.536L154.729,5.901L154.514,5.139L154.653,5.042L154.76,5.34L155.063,5.567L155.548,6.201L156.02,6.54L155.88,6.82Z\",\"M151.983,5.478L151.459,5.56L151.301,5.841L150.754,6.084L150.241,6.318L149.71,6.317L148.89,6.026L148.319,5.747L148.402,5.438L149.298,5.584L149.846,5.506L149.996,5.026L150.14,5.001L150.237,5.532L150.807,5.456L151.09,5.114L151.648,4.757L151.538,4.168L152.137,4.149L152.339,4.313L152.319,4.868L151.983,5.478Z\",\"M127.249,3.459L126.875,3.791L126.184,3.607L125.989,3.177L127.001,3.129L127.249,3.459Z\",\"M130.471,3.094L130.835,3.858L129.991,3.446L129.155,3.363L128.591,3.429L127.899,3.393L128.136,2.844L129.371,2.802L130.471,3.094Z\",\"M153.14,4.5L152.827,4.766L152.639,4.176L152.406,3.79L151.953,3.462L151.384,3.035L150.662,2.741L150.94,2.5L151.48,2.78L151.82,3L152.24,3.24L152.64,3.66L153.02,3.98L153.14,4.5Z\",\"M134.143,1.152L134.423,2.769L135.458,3.368L136.293,2.307L137.441,1.704L138.33,1.703L139.185,2.051L139.927,2.409L141,2.6L142.735,3.289L144.584,3.861L145.273,4.374L145.83,4.876L145.982,5.466L147.648,6.084L147.891,6.614L146.971,6.722L147.192,7.388L148.085,8.044L148.734,9.105L149.307,9.071L149.267,9.514L150.039,9.684L149.739,9.873L150.802,10.294L150.691,10.583L150.028,10.652L149.782,10.393L148.923,10.281L147.913,10.13L147.135,9.492L146.568,8.943L146.048,8.067L144.744,7.63L143.897,7.915L143.286,8.245L143.414,8.983L142.628,9.327L142.068,9.16L141.034,9.118L140.143,8.297L139.128,8.096L138.881,8.381L137.614,8.412L138.039,7.598L138.669,7.32L138.408,6.233L137.928,5.393L135.989,4.547L135.165,4.463L133.663,3.539L133.368,4.025L132.984,4.113L132.757,3.746L132.754,3.312L131.99,2.821L133.067,2.46L133.78,2.48L133.696,2.215L132.232,2.213L131.836,1.617L130.943,1.433L130.52,0.938L131.868,0.695L132.38,0.37L133.986,0.78L134.143,1.152Z\",\"M125.241,-1.42L124.437,-0.428L123.686,-0.236L122.723,-0.431L121.057,-0.381L120.183,-0.237L120.041,0.52L120.936,1.409L121.476,0.956L123.341,0.616L123.258,1.076L122.823,0.931L122.389,1.517L121.508,1.904L122.455,3.186L122.272,3.53L123.171,4.684L123.162,5.341L122.629,5.635L122.236,5.283L122.72,4.464L121.738,4.851L121.489,4.575L121.619,4.188L120.898,3.602L120.972,2.628L120.305,2.932L120.39,4.098L120.431,5.528L119.797,5.673L119.367,5.38L119.654,4.459L119.499,3.494L119.078,3.487L118.768,2.802L119.181,2.147L119.323,1.353L119.826,-0.154L120.036,-0.566L120.886,-1.309L121.667,-1.014L122.928,-0.875L124.078,-0.917L125.066,-1.643L125.241,-1.42Z\",\"M128.688,-1.132L128.636,-0.258L128.12,-0.356L127.968,0.252L128.38,0.78L128.1,0.9L127.696,0.267L127.399,-1.012L127.601,-1.811L127.932,-2.175L128.004,-1.629L128.595,-1.541L128.688,-1.132Z\",\"M105.818,5.852L104.71,5.873L103.868,5.037L102.584,4.22L102.156,3.614L101.399,2.8L100.903,2.05L100.142,0.65L99.264,-0.183L98.97,-1.043L98.601,-1.824L97.7,-2.453L97.177,-3.309L96.424,-3.869L95.381,-4.971L95.293,-5.48L95.937,-5.44L97.485,-5.246L98.369,-4.268L99.143,-3.59L99.694,-3.174L100.641,-2.099L101.658,-2.084L102.498,-1.399L103.077,-0.561L103.838,-0.105L103.438,0.712L104.011,1.059L104.37,1.085L104.539,1.782L104.888,2.34L105.622,2.429L106.109,3.062L105.857,4.306L105.818,5.852Z\",\"M117.876,-1.828L118.997,-0.902L117.812,-0.784L117.478,-0.102L117.522,0.804L116.56,1.488L116.534,2.484L116.148,4.013L116.001,3.657L114.865,4.107L114.469,3.496L113.756,3.439L113.257,3.119L112.068,3.478L111.703,2.994L111.048,3.049L110.224,2.934L110.071,1.593L109.572,1.315L109.092,0.46L108.953,-0.415L109.069,-1.342L109.663,-2.006L110.396,-1.664L111.169,-1.851L111.37,-2.697L111.797,-2.886L112.996,-3.102L113.713,-3.894L114.204,-4.526L114.6,-4.9L115.451,-5.448L116.221,-6.143L116.725,-6.925L117.13,-6.928L117.643,-6.422L117.689,-5.987L118.348,-5.709L119.182,-5.408L119.111,-5.016L118.44,-4.967L118.618,-4.478L117.882,-4.138L117.313,-3.234L118.048,-2.288L117.876,-1.828Z\",\"M126.377,-8.415L126.479,-7.75L126.537,-7.189L126.197,-6.274L125.831,-7.294L125.364,-6.786L125.683,-6.05L125.397,-5.581L124.22,-6.161L123.939,-6.885L124.244,-7.361L123.61,-7.834L123.296,-7.419L122.826,-7.457L122.085,-6.899L121.92,-7.192L122.312,-8.035L122.942,-8.316L123.488,-8.693L123.841,-8.24L124.601,-8.514L124.765,-8.96L125.471,-8.987L125.412,-9.76L126.223,-9.286L126.307,-8.782L126.377,-8.415Z\",\"M81.218,-6.197L80.348,-5.968L79.872,-6.763L79.695,-8.201L80.148,-9.824L80.839,-9.268L81.304,-8.564L81.788,-7.523L81.637,-6.482L81.218,-6.197Z\",\"M-60.935,-10.11L-61.77,-10L-61.95,-10.09L-61.66,-10.365L-61.68,-10.76L-61.105,-10.89L-60.895,-10.855L-60.935,-10.11Z\",\"M123.982,-10.279L123.623,-9.95L123.31,-9.318L122.996,-9.022L122.38,-9.713L122.586,-9.981L122.837,-10.261L122.947,-10.882L123.499,-10.941L123.338,-10.267L124.078,-11.233L123.982,-10.279Z\",\"M118.505,-9.316L117.174,-8.367L117.664,-9.067L118.387,-9.684L118.987,-10.376L119.511,-11.37L119.69,-10.554L119.029,-10.004L118.505,-9.316Z\",\"M121.884,-11.892L122.484,-11.582L123.12,-11.584L123.101,-11.166L122.638,-10.741L122.003,-10.441L121.967,-10.906L122.038,-11.416L121.884,-11.892Z\",\"M125.503,-12.163L125.783,-11.046L125.012,-11.311L125.033,-10.976L125.277,-10.359L124.802,-10.135L124.76,-10.838L124.459,-10.89L124.303,-11.495L124.891,-11.416L124.878,-11.794L124.267,-12.558L125.227,-12.536L125.503,-12.163Z\",\"M121.527,-13.07L121.262,-12.206L120.834,-12.704L120.323,-13.466L121.18,-13.43L121.527,-13.07Z\",\"M121.321,-18.504L121.938,-18.219L122.246,-18.479L122.337,-18.225L122.174,-17.81L122.516,-17.094L122.252,-16.262L121.663,-15.931L121.505,-15.125L121.729,-14.328L122.259,-14.218L122.701,-14.337L123.95,-13.782L123.855,-13.238L124.181,-12.998L124.077,-12.537L123.298,-13.028L122.929,-13.553L122.671,-13.186L122.035,-13.784L121.126,-13.637L120.629,-13.858L120.679,-14.271L120.992,-14.525L120.693,-14.757L120.564,-14.396L120.07,-14.971L119.921,-15.406L119.884,-16.364L120.286,-16.035L120.39,-17.599L120.716,-18.505L121.321,-18.504Z\",\"M-65.591,-18.228L-65.847,-17.976L-66.6,-17.982L-67.184,-17.947L-67.242,-18.374L-67.101,-18.521L-66.282,-18.515L-65.771,-18.427L-65.591,-18.228Z\",\"M-76.903,-17.868L-77.206,-17.701L-77.766,-17.862L-78.338,-18.226L-78.218,-18.455L-77.797,-18.524L-77.57,-18.491L-76.897,-18.401L-76.365,-18.161L-76.2,-17.887L-76.903,-17.868Z\",\"M-72.58,-19.872L-71.712,-19.714L-71.587,-19.885L-70.807,-19.88L-70.214,-19.623L-69.951,-19.648L-69.769,-19.293L-69.222,-19.313L-69.254,-19.015L-68.809,-18.979L-68.318,-18.612L-68.689,-18.205L-69.165,-18.423L-69.624,-18.381L-69.953,-18.428L-70.133,-18.246L-70.517,-18.184L-70.669,-18.427L-71,-18.283L-71.4,-17.599L-71.658,-17.758L-71.708,-18.045L-72.372,-18.215L-72.844,-18.146L-73.455,-18.218L-73.922,-18.031L-74.458,-18.343L-74.37,-18.665L-73.45,-18.526L-72.695,-18.446L-72.335,-18.668L-72.792,-19.102L-72.784,-19.484L-73.415,-19.64L-73.19,-19.916L-72.58,-19.872Z\",\"M110.339,-18.678L109.475,-18.198L108.655,-18.508L108.626,-19.368L109.119,-19.821L110.212,-20.101L110.787,-20.078L111.01,-19.696L110.571,-19.256L110.339,-18.678Z\",\"M-155.542,-19.083L-155.688,-18.916L-155.937,-19.059L-155.908,-19.339L-156.073,-19.703L-156.024,-19.814L-155.85,-19.977L-155.919,-20.174L-155.861,-20.267L-155.785,-20.249L-155.402,-20.08L-155.225,-19.993L-155.062,-19.859L-154.807,-19.509L-154.831,-19.453L-155.222,-19.24L-155.542,-19.083Z\",\"M-156.079,-20.644L-156.414,-20.572L-156.587,-20.783L-156.702,-20.864L-156.711,-20.927L-156.613,-21.012L-156.257,-20.917L-155.996,-20.764L-156.079,-20.644Z\",\"M-156.758,-21.177L-156.789,-21.069L-157.325,-21.098L-157.25,-21.22L-156.758,-21.177Z\",\"M-157.653,-21.322L-157.707,-21.264L-157.779,-21.277L-158.127,-21.312L-158.254,-21.539L-158.293,-21.579L-158.025,-21.717L-157.942,-21.653L-157.653,-21.322Z\",\"M-159.345,-21.982L-159.464,-21.883L-159.801,-22.065L-159.749,-22.138L-159.596,-22.236L-159.366,-22.215L-159.345,-21.982Z\",\"M-79.68,-22.765L-79.281,-22.399L-78.347,-22.512L-77.993,-22.277L-77.146,-21.658L-76.524,-21.207L-76.195,-21.221L-75.598,-21.017L-75.671,-20.735L-74.934,-20.694L-74.178,-20.285L-74.297,-20.05L-74.962,-19.923L-75.635,-19.874L-76.324,-19.953L-77.755,-19.855L-77.085,-20.413L-77.493,-20.673L-78.137,-20.74L-78.483,-21.029L-78.72,-21.598L-79.285,-21.559L-80.217,-21.827L-80.518,-22.037L-81.821,-22.192L-82.17,-22.387L-81.795,-22.637L-82.776,-22.688L-83.494,-22.169L-83.909,-22.155L-84.052,-21.911L-84.547,-21.801L-84.975,-21.896L-84.447,-22.205L-84.23,-22.566L-83.778,-22.788L-83.268,-22.983L-82.51,-23.079L-82.268,-23.189L-81.404,-23.117L-80.619,-23.106L-79.68,-22.765Z\",\"M-77.535,-23.76L-77.78,-23.71L-78.034,-24.286L-78.408,-24.576L-78.191,-25.21L-77.89,-25.17L-77.54,-24.34L-77.535,-23.76Z\",\"M121.176,-22.791L120.747,-21.971L120.22,-22.815L120.106,-23.556L120.695,-24.538L121.495,-25.295L121.951,-24.998L121.778,-24.394L121.176,-22.791Z\",\"M-77.82,-26.58L-78.91,-26.42L-78.98,-26.79L-78.51,-26.87L-77.85,-26.84L-77.82,-26.58Z\",\"M-77,-26.59L-77.173,-25.879L-77.356,-26.007L-77.34,-26.53L-77.788,-26.925L-77.79,-27.04L-77,-26.59Z\",\"M134.638,-34.149L134.766,-33.806L134.203,-33.201L133.793,-33.522L133.28,-33.29L133.015,-32.705L132.363,-32.989L132.371,-33.464L132.924,-34.06L133.493,-33.945L133.904,-34.365L134.638,-34.149Z\",\"M34.576,-35.672L33.901,-35.246L33.974,-35.059L34.005,-34.978L32.98,-34.572L32.49,-34.702L32.257,-35.103L32.732,-35.14L32.802,-35.146L32.947,-35.387L33.667,-35.373L34.576,-35.672Z\",\"M23.7,-35.705L24.247,-35.368L25.025,-35.425L25.769,-35.354L25.745,-35.18L26.29,-35.3L26.165,-35.005L24.725,-34.92L24.735,-35.085L23.515,-35.28L23.7,-35.705Z\",\"M15.52,-38.231L15.16,-37.444L15.31,-37.134L15.1,-36.62L14.335,-36.997L13.827,-37.105L12.431,-37.613L12.571,-38.126L13.741,-38.035L14.761,-38.144L15.52,-38.231Z\",\"M9.21,-41.21L9.81,-40.5L9.67,-39.177L9.215,-39.24L8.807,-38.907L8.428,-39.172L8.388,-40.378L8.16,-40.95L8.71,-40.9L9.21,-41.21Z\",\"M140.976,-37.142L140.6,-36.344L140.774,-35.843L140.253,-35.138L138.976,-34.668L137.218,-34.606L135.793,-33.465L135.121,-33.849L135.079,-34.597L133.34,-34.376L132.157,-33.905L130.986,-33.886L132,-33.15L131.333,-31.45L130.686,-31.03L130.202,-31.418L130.448,-32.319L129.815,-32.61L129.408,-33.296L130.354,-33.604L130.878,-34.233L131.884,-34.75L132.618,-35.433L134.608,-35.732L135.678,-35.527L136.724,-37.305L137.391,-36.827L138.858,-37.827L139.426,-38.216L140.055,-39.439L139.883,-40.563L140.306,-41.195L141.369,-41.379L141.914,-39.992L141.885,-39.181L140.959,-38.174L140.976,-37.142Z\",\"M9.56,-42.152L9.23,-41.38L8.776,-41.584L8.544,-42.257L8.746,-42.628L9.39,-43.01L9.56,-42.152Z\",\"M143.91,-44.174L144.613,-43.961L145.321,-44.385L145.543,-43.262L144.06,-42.988L143.184,-41.995L141.611,-42.679L141.067,-41.585L139.955,-41.57L139.818,-42.564L140.312,-43.333L141.381,-43.389L141.672,-44.772L141.968,-45.551L143.143,-44.51L143.91,-44.174Z\",\"M-63.664,-46.55L-62.939,-46.416L-62.012,-46.443L-62.504,-46.033L-62.874,-45.968L-64.143,-46.393L-64.393,-46.727L-64.015,-47.036L-63.664,-46.55Z\",\"M-61.806,-49.105L-62.293,-49.087L-63.589,-49.401L-64.519,-49.873L-64.173,-49.957L-62.858,-49.706L-61.836,-49.289L-61.806,-49.105Z\",\"M-123.51,-48.51L-124.013,-48.371L-125.655,-48.825L-125.955,-49.18L-126.85,-49.53L-127.03,-49.815L-128.059,-49.995L-128.445,-50.539L-128.358,-50.771L-127.309,-50.553L-126.695,-50.401L-125.755,-50.295L-125.415,-49.95L-124.921,-49.475L-123.923,-49.062L-123.51,-48.51Z\",\"M-56.134,-50.687L-56.796,-49.812L-56.143,-50.15L-55.471,-49.936L-55.822,-49.587L-54.935,-49.313L-54.474,-49.557L-53.477,-49.249L-53.786,-48.517L-53.086,-48.688L-52.959,-48.157L-52.648,-47.536L-53.069,-46.655L-53.521,-46.618L-54.179,-46.807L-53.962,-47.625L-54.24,-47.752L-55.401,-46.885L-55.997,-46.92L-55.291,-47.39L-56.251,-47.633L-57.325,-47.573L-59.266,-47.603L-59.419,-47.899L-58.797,-48.252L-59.232,-48.523L-58.392,-49.126L-57.359,-50.718L-56.739,-51.287L-55.871,-51.632L-55.407,-51.588L-55.6,-51.317L-56.134,-50.687Z\",\"M-132.71,-54.04L-132.71,-54.04L-132.71,-54.04L-132.71,-54.04L-131.75,-54.12L-132.049,-52.985L-131.179,-52.18L-131.578,-52.182L-132.18,-52.64L-132.55,-53.1L-133.055,-53.411L-133.24,-53.851L-133.18,-54.17L-132.71,-54.04Z\",\"M143.648,-50.748L144.654,-48.976L143.174,-49.307L142.559,-47.862L143.533,-46.837L143.505,-46.138L142.748,-46.741L142.092,-45.967L141.907,-46.806L142.018,-47.78L141.904,-48.859L142.136,-49.615L142.18,-50.952L141.594,-51.935L141.683,-53.302L142.607,-53.762L142.21,-54.225L142.655,-54.366L142.915,-53.705L143.261,-52.741L143.235,-51.757L143.648,-50.748Z\",\"M-6.789,-52.26L-8.562,-51.669L-9.977,-51.82L-9.166,-52.865L-9.689,-53.881L-8.328,-54.665L-7.572,-55.132L-6.734,-55.173L-5.662,-54.555L-6.198,-53.868L-6.033,-53.153L-6.789,-52.26Z\",\"M12.69,-55.61L12.09,-54.8L11.044,-55.365L10.904,-55.78L12.371,-56.111L12.69,-55.61Z\",\"M-153.006,-57.116L-154.005,-56.735L-154.516,-56.993L-154.671,-57.461L-153.763,-57.817L-153.229,-57.969L-152.565,-57.901L-152.141,-57.591L-153.006,-57.116Z\",\"M-3.005,-58.635L-4.074,-57.553L-3.055,-57.69L-1.959,-57.685L-2.22,-56.87L-3.119,-55.974L-2.085,-55.91L-1.115,-54.625L-0.43,-54.464L0.185,-53.325L0.47,-52.93L1.682,-52.74L1.56,-52.1L1.051,-51.807L1.45,-51.289L0.55,-50.766L-0.788,-50.775L-2.49,-50.5L-2.956,-50.697L-3.617,-50.228L-4.543,-50.342L-5.245,-49.96L-5.777,-50.16L-4.31,-51.21L-3.415,-51.426L-4.984,-51.593L-5.267,-51.991L-4.222,-52.301L-4.77,-52.84L-4.58,-53.495L-3.092,-53.404L-2.945,-53.985L-3.63,-54.615L-4.844,-54.791L-5.083,-55.062L-4.719,-55.508L-5.048,-55.784L-5.586,-55.311L-5.645,-56.275L-6.15,-56.785L-5.787,-57.819L-5.01,-58.63L-4.211,-58.551L-3.005,-58.635Z\",\"M-165.579,-59.91L-166.193,-59.754L-166.848,-59.941L-167.455,-60.213L-166.468,-60.384L-165.674,-60.294L-165.579,-59.91Z\",\"M-79.266,-62.159L-79.658,-61.633L-80.1,-61.718L-80.362,-62.016L-80.315,-62.086L-79.929,-62.386L-79.52,-62.364L-79.266,-62.159Z\",\"M-81.898,-62.711L-83.069,-62.159L-83.775,-62.182L-83.994,-62.453L-83.25,-62.914L-81.877,-62.905L-81.898,-62.711Z\",\"M-171.732,-63.783L-171.114,-63.592L-170.491,-63.695L-169.683,-63.431L-168.689,-63.298L-168.772,-63.189L-169.529,-62.977L-170.291,-63.194L-170.671,-63.376L-171.553,-63.318L-171.791,-63.406L-171.732,-63.783Z\",\"M-85.161,-65.657L-84.976,-65.218L-84.464,-65.372L-83.883,-65.11L-82.788,-64.767L-81.642,-64.455L-81.553,-63.98L-80.817,-64.057L-80.103,-63.726L-80.991,-63.411L-82.547,-63.652L-83.109,-64.102L-84.1,-63.57L-85.523,-63.052L-85.867,-63.637L-87.222,-63.541L-86.353,-64.036L-86.225,-64.823L-85.884,-65.739L-85.161,-65.657Z\",\"M-14.509,-66.456L-14.74,-65.809L-13.61,-65.127L-14.91,-64.364L-17.794,-63.679L-18.656,-63.496L-19.973,-63.644L-22.763,-63.96L-21.778,-64.402L-23.955,-64.891L-22.184,-65.085L-22.227,-65.379L-24.326,-65.611L-23.651,-66.263L-22.135,-66.41L-20.576,-65.732L-19.057,-66.277L-17.799,-65.994L-16.168,-66.527L-14.509,-66.456Z\",\"M-75.866,-67.149L-76.987,-67.099L-77.236,-67.588L-76.812,-68.149L-75.895,-68.287L-75.115,-68.01L-75.103,-67.582L-75.216,-67.444L-75.866,-67.149Z\",\"M-175.014,-66.584L-174.34,-66.336L-174.572,-67.062L-171.857,-66.913L-169.9,-65.977L-170.891,-65.541L-172.53,-65.438L-172.555,-64.461L-172.955,-64.253L-173.892,-64.283L-174.654,-64.631L-175.984,-64.923L-176.207,-65.357L-177.223,-65.52L-178.36,-65.391L-178.903,-65.74L-178.686,-66.112L-179.884,-65.875L-179.433,-65.404L-180,-64.98L-180,-68.964L-177.55,-68.2L-174.928,-67.206L-175.014,-66.584Z\",\"M-95.648,-69.108L-96.27,-68.757L-97.617,-69.06L-98.432,-68.951L-99.797,-69.4L-98.917,-69.71L-98.218,-70.144L-97.157,-69.86L-96.557,-69.68L-96.257,-69.49L-95.648,-69.108Z\",\"M180,-70.832L178.903,-70.781L178.725,-71.099L180,-71.516L180,-70.832Z\",\"M-178.694,-70.893L-180,-70.832L-180,-71.516L-179.872,-71.558L-179.024,-71.556L-177.578,-71.269L-177.664,-71.133L-178.694,-70.893Z\",\"M-90.547,-69.498L-90.552,-68.475L-89.215,-69.259L-88.02,-68.615L-88.318,-67.873L-87.35,-67.199L-86.306,-67.922L-85.577,-68.784L-85.522,-69.882L-84.101,-69.805L-82.622,-69.658L-81.28,-69.162L-81.22,-68.666L-81.964,-68.133L-81.259,-67.597L-81.386,-67.111L-83.344,-66.412L-84.735,-66.257L-85.769,-66.558L-86.068,-66.056L-87.031,-65.213L-87.323,-64.776L-88.483,-64.099L-89.914,-64.033L-90.704,-63.61L-90.77,-62.96L-91.933,-62.835L-93.157,-62.025L-94.242,-60.899L-94.629,-60.11L-94.685,-58.949L-93.215,-58.782L-92.765,-57.846L-92.297,-57.087L-90.898,-57.285L-89.039,-56.852L-88.04,-56.472L-87.324,-55.999L-86.071,-55.724L-85.012,-55.303L-83.36,-55.245L-82.273,-55.148L-82.436,-54.282L-82.125,-53.277L-81.401,-52.158L-79.913,-51.208L-79.143,-51.534L-78.602,-52.562L-79.124,-54.141L-79.83,-54.668L-78.229,-55.136L-77.096,-55.838L-76.541,-56.534L-76.623,-57.203L-77.302,-58.052L-78.517,-58.805L-77.337,-59.853L-77.773,-60.758L-78.107,-62.32L-77.411,-62.55L-75.696,-62.279L-74.668,-62.181L-73.84,-62.444L-72.909,-62.105L-71.677,-61.525L-71.374,-61.137L-69.59,-61.062L-69.62,-60.221L-69.288,-58.957L-68.375,-58.801L-67.65,-58.212L-66.202,-58.767L-65.245,-59.871L-64.583,-60.336L-63.805,-59.443L-62.502,-58.167L-61.396,-56.968L-61.799,-56.339L-60.469,-55.776L-59.57,-55.204L-57.975,-54.945L-57.333,-54.627L-56.937,-53.78L-56.158,-53.648L-55.756,-53.271L-55.683,-52.147L-56.409,-51.771L-57.127,-51.42L-58.775,-51.064L-60.033,-50.243L-61.724,-50.081L-63.862,-50.291L-65.363,-50.298L-66.399,-50.229L-67.236,-49.511L-68.511,-49.068L-69.954,-47.745L-71.104,-46.822L-70.255,-46.986L-68.65,-48.3L-66.552,-49.133L-65.056,-49.233L-64.171,-48.742L-65.115,-48.071L-64.799,-46.993L-64.472,-46.239L-63.173,-45.739L-61.521,-45.884L-60.518,-47.008L-60.449,-46.283L-59.803,-45.92L-61.04,-45.265L-63.255,-44.67L-64.247,-44.266L-65.364,-43.545L-66.123,-43.619L-66.162,-44.465L-64.425,-45.292L-66.026,-45.259L-67.137,-45.138L-66.965,-44.81L-68.032,-44.325L-69.06,-43.98L-70.116,-43.684L-70.69,-43.03L-70.815,-42.865L-70.825,-42.335L-70.495,-41.805L-70.08,-41.78L-70.185,-42.145L-69.885,-41.923L-69.965,-41.637L-70.64,-41.475L-71.12,-41.495L-71.86,-41.32L-72.295,-41.27L-72.876,-41.221L-73.71,-40.931L-72.241,-41.12L-71.945,-40.93L-73.345,-40.63L-73.982,-40.628L-73.952,-40.751L-74.257,-40.474L-73.962,-40.428L-74.178,-39.709L-74.906,-38.94L-74.98,-39.196L-75.2,-39.248L-75.528,-39.498L-75.32,-38.96L-75.083,-38.781L-75.057,-38.404L-75.377,-38.016L-75.94,-37.217L-76.031,-37.257L-75.722,-37.937L-76.233,-38.319L-76.35,-39.15L-76.543,-38.718L-76.329,-38.083L-76.96,-38.233L-76.302,-37.918L-76.259,-36.966L-75.972,-36.897L-75.868,-36.551L-75.727,-35.551L-76.363,-34.808L-77.398,-34.512L-78.055,-33.925L-78.554,-33.861L-79.061,-33.494L-79.203,-33.159L-80.301,-32.509L-80.865,-32.033L-81.336,-31.44L-81.49,-30.73L-81.314,-30.036L-80.98,-29.18L-80.536,-28.472L-80.53,-28.04L-80.057,-26.88L-80.088,-26.206L-80.131,-25.817L-80.381,-25.206L-80.68,-25.08L-81.172,-25.201L-81.33,-25.64L-81.71,-25.87L-82.24,-26.73L-82.705,-27.495L-82.855,-27.886L-82.65,-28.55L-82.93,-29.1L-83.71,-29.937L-84.1,-30.09L-85.109,-29.636L-85.288,-29.686L-85.773,-30.153L-86.4,-30.4L-87.53,-30.274L-88.418,-30.385L-89.18,-30.316L-89.605,-30.176L-89.414,-29.894L-89.43,-29.489L-89.218,-29.291L-89.408,-29.16L-89.779,-29.307L-90.155,-29.117L-90.88,-29.149L-91.627,-29.677L-92.499,-29.552L-93.226,-29.784L-93.848,-29.714L-94.69,-29.48L-95.6,-28.739L-96.594,-28.307L-97.14,-27.83L-97.37,-27.38L-97.38,-26.69L-97.33,-26.21L-97.14,-25.87L-97.139,-25.868L-97.142,-25.866L-97.528,-24.992L-97.703,-24.272L-97.776,-22.933L-97.872,-22.444L-97.699,-21.899L-97.389,-21.411L-97.189,-20.635L-96.526,-19.891L-96.292,-19.32L-95.901,-18.828L-94.839,-18.563L-94.426,-18.144L-93.549,-18.424L-92.786,-18.525L-92.037,-18.705L-91.408,-18.876L-90.772,-19.284L-90.534,-19.867L-90.451,-20.708L-90.279,-21L-89.601,-21.262L-88.544,-21.494L-87.658,-21.459L-87.052,-21.544L-86.812,-21.331L-86.846,-20.85L-87.383,-20.255L-87.621,-19.646L-87.437,-19.472L-87.586,-19.04L-87.837,-18.26L-88.091,-18.517L-88.3,-18.5L-88.296,-18.353L-88.107,-18.349L-88.123,-18.077L-88.285,-17.644L-88.198,-17.49L-88.303,-17.132L-88.24,-17.036L-88.355,-16.531L-88.552,-16.266L-88.732,-16.234L-88.931,-15.887L-88.605,-15.706L-88.518,-15.856L-88.225,-15.728L-88.121,-15.689L-87.902,-15.865L-87.616,-15.879L-87.523,-15.797L-87.368,-15.847L-86.903,-15.757L-86.441,-15.783L-86.119,-15.893L-86.002,-16.005L-85.683,-15.954L-85.444,-15.886L-85.182,-15.909L-84.984,-15.996L-84.527,-15.857L-84.368,-15.835L-84.063,-15.648L-83.774,-15.424L-83.41,-15.271L-83.147,-14.996L-83.233,-14.9L-83.284,-14.677L-83.182,-14.311L-83.412,-13.97L-83.52,-13.568L-83.552,-13.127L-83.498,-12.869L-83.473,-12.419L-83.626,-12.321L-83.72,-11.893L-83.651,-11.629L-83.855,-11.373L-83.809,-11.103L-83.656,-10.939L-83.402,-10.396L-83.016,-9.993L-82.546,-9.566L-82.187,-9.208L-82.208,-8.996L-81.809,-8.951L-81.714,-9.032L-81.439,-8.786L-80.947,-8.859L-80.522,-9.111L-79.915,-9.313L-79.573,-9.612L-79.021,-9.553L-79.058,-9.455L-78.501,-9.42L-78.056,-9.248L-77.729,-8.947L-77.353,-8.67L-76.837,-8.639L-76.086,-9.337L-75.675,-9.443L-75.665,-9.774L-75.48,-10.619L-74.907,-11.083L-74.277,-11.102L-74.197,-11.31L-73.415,-11.227L-72.628,-11.732L-72.238,-11.956L-71.754,-12.437L-71.4,-12.376L-71.137,-12.113L-71.332,-11.776L-71.36,-11.54L-71.947,-11.423L-71.621,-10.969L-71.633,-10.446L-72.074,-9.866L-71.696,-9.072L-71.265,-9.137L-71.04,-9.86L-71.35,-10.212L-71.401,-10.969L-70.155,-11.375L-70.294,-11.847L-69.943,-12.162L-69.584,-11.46L-68.883,-11.443L-68.233,-10.886L-68.194,-10.555L-67.296,-10.546L-66.228,-10.649L-65.655,-10.201L-64.89,-10.077L-64.329,-10.39L-64.318,-10.641L-63.079,-10.702L-61.881,-10.716L-62.73,-10.42L-62.388,-9.948L-61.589,-9.873L-60.831,-9.381L-60.671,-8.58L-60.15,-8.603L-59.758,-8.367L-59.102,-7.999L-58.483,-7.348L-58.455,-6.833L-58.078,-6.809L-57.542,-6.321L-57.147,-5.973L-55.949,-5.773L-55.842,-5.953L-55.033,-6.025L-53.958,-5.757L-53.618,-5.646L-52.882,-5.41L-51.823,-4.566L-51.658,-4.156L-51.317,-4.203L-51.07,-3.651L-50.509,-1.901L-49.974,-1.737L-49.947,-1.046L-50.699,-0.223L-50.388,0.078L-48.62,0.235L-48.584,1.238L-47.825,0.582L-46.567,0.941L-44.906,1.552L-44.418,2.138L-44.582,2.691L-43.419,2.383L-41.473,2.912L-39.979,2.873L-38.5,3.701L-37.223,4.821L-36.453,5.109L-35.598,5.149L-35.235,5.465L-34.896,6.738L-34.73,7.343L-35.128,8.996L-35.637,9.649L-37.047,11.041L-37.684,12.171L-38.424,13.038L-38.674,13.058L-38.953,13.793L-38.882,15.667L-39.161,17.208L-39.267,17.868L-39.583,18.262L-39.761,19.599L-40.775,20.904L-40.945,21.937L-41.754,22.371L-41.988,22.97L-43.075,22.968L-44.648,23.352L-45.352,23.797L-46.472,24.089L-47.649,24.885L-48.495,25.877L-48.641,26.624L-48.475,27.176L-48.661,28.186L-48.888,28.674L-49.587,29.224L-50.697,30.984L-51.576,31.778L-52.256,32.245L-52.712,33.197L-53.374,33.768L-53.806,34.397L-54.936,34.953L-55.674,34.753L-56.215,34.86L-57.14,34.43L-57.818,34.463L-58.427,33.909L-58.495,34.432L-57.226,35.288L-57.362,35.977L-56.737,36.413L-56.788,36.901L-57.749,38.184L-59.232,38.72L-61.237,38.928L-62.336,38.828L-62.126,39.424L-62.331,40.173L-62.146,40.677L-62.746,41.029L-63.771,41.167L-64.732,40.803L-65.118,41.064L-64.979,42.058L-64.303,42.359L-63.756,42.044L-63.458,42.563L-64.379,42.873L-65.182,43.495L-65.329,44.501L-65.565,45.037L-66.51,45.04L-67.294,45.552L-67.581,46.302L-66.597,47.034L-65.641,47.236L-65.985,48.133L-67.166,48.697L-67.816,49.87L-68.729,50.264L-69.138,50.732L-68.815,51.771L-68.15,52.35L-68.571,52.299L-69.461,52.292L-69.943,52.538L-70.845,52.899L-71.006,53.833L-71.43,53.856L-72.558,53.531L-73.703,52.835L-74.947,52.263L-75.26,51.629L-74.977,51.043L-75.48,50.378L-75.608,48.674L-75.183,47.712L-74.127,46.939L-75.644,46.648L-74.692,45.764L-74.352,44.103L-73.24,44.455L-72.718,42.383L-73.389,42.117L-73.701,43.366L-74.332,43.225L-74.018,41.795L-73.677,39.942L-73.218,39.259L-73.505,38.283L-73.588,37.156L-73.167,37.124L-72.553,35.509L-71.862,33.909L-71.438,32.419L-71.669,30.921L-71.37,30.096L-71.49,28.861L-70.905,27.64L-70.725,25.706L-70.404,23.629L-70.091,21.393L-70.164,19.756L-70.372,18.348L-71.375,17.774L-71.462,17.363L-73.445,16.359L-75.238,15.266L-76.009,14.649L-76.423,13.823L-76.259,13.535L-77.106,12.223L-78.092,10.378L-79.037,8.387L-79.446,7.931L-79.76,7.194L-80.537,6.542L-81.25,6.137L-80.926,5.69L-81.411,4.737L-81.1,4.036L-80.302,3.405L-79.77,2.657L-79.987,2.221L-80.369,2.685L-80.968,2.247L-80.765,1.965L-80.934,1.057L-80.583,0.907L-80.399,0.284L-80.021,-0.36L-80.091,-0.768L-79.543,-0.983L-78.855,-1.381L-78.991,-1.691L-78.618,-1.766L-78.662,-2.267L-78.428,-2.63L-77.932,-2.697L-77.51,-3.325L-77.128,-3.85L-77.496,-4.088L-77.308,-4.668L-77.533,-5.583L-77.319,-5.845L-77.477,-6.691L-77.882,-7.224L-78.215,-7.512L-78.429,-8.052L-78.182,-8.319L-78.435,-8.388L-78.622,-8.718L-79.12,-8.996L-79.558,-8.932L-79.76,-8.584L-80.164,-8.333L-80.383,-8.299L-80.481,-8.09L-80.004,-7.547L-80.277,-7.42L-80.421,-7.271L-80.886,-7.221L-81.06,-7.818L-81.19,-7.648L-81.519,-7.707L-81.721,-8.109L-82.131,-8.175L-82.391,-8.292L-82.82,-8.291L-82.851,-8.074L-82.966,-8.225L-83.508,-8.447L-83.711,-8.657L-83.596,-8.831L-83.633,-9.052L-83.91,-9.291L-84.303,-9.487L-84.648,-9.615L-84.713,-9.908L-84.976,-10.087L-84.911,-9.796L-85.111,-9.557L-85.339,-9.834L-85.661,-9.933L-85.797,-10.135L-85.792,-10.439L-85.659,-10.754L-85.942,-10.895L-85.713,-11.089L-86.058,-11.404L-86.526,-11.807L-86.746,-12.144L-87.167,-12.458L-87.669,-12.91L-87.557,-13.065L-87.392,-12.914L-87.317,-12.985L-87.489,-13.297L-87.793,-13.385L-87.904,-13.149L-88.483,-13.164L-88.843,-13.26L-89.257,-13.459L-89.812,-13.521L-90.096,-13.735L-90.609,-13.91L-91.232,-13.928L-91.69,-14.126L-92.228,-14.539L-93.359,-15.615L-93.875,-15.94L-94.692,-16.201L-95.25,-16.128L-96.053,-15.752L-96.557,-15.654L-97.264,-15.917L-98.013,-16.107L-98.948,-16.566L-99.697,-16.706L-100.83,-17.171L-101.666,-17.649L-101.919,-17.916L-102.478,-17.976L-103.501,-18.292L-103.917,-18.749L-104.992,-19.316L-105.493,-19.947L-105.731,-20.434L-105.398,-20.532L-105.501,-20.817L-105.271,-21.076L-105.266,-21.422L-105.603,-21.871L-105.693,-22.269L-106.029,-22.774L-106.91,-23.768L-107.915,-24.549L-108.402,-25.172L-109.26,-25.581L-109.444,-25.825L-109.292,-26.443L-109.801,-26.676L-110.392,-27.162L-110.641,-27.86L-111.179,-27.941L-111.76,-28.468L-112.228,-28.955L-112.272,-29.267L-112.81,-30.021L-113.164,-30.787L-113.149,-31.171L-113.872,-31.568L-114.206,-31.524L-114.776,-31.8L-114.937,-31.393L-114.771,-30.914L-114.674,-30.163L-114.331,-29.75L-113.589,-29.062L-113.424,-28.826L-113.272,-28.755L-113.14,-28.411L-112.962,-28.425L-112.762,-27.78L-112.458,-27.526L-112.245,-27.172L-111.617,-26.663L-111.285,-25.733L-110.988,-25.295L-110.71,-24.826L-110.655,-24.299L-110.173,-24.266L-109.772,-23.811L-109.409,-23.365L-109.433,-23.186L-109.854,-22.818L-110.031,-22.823L-110.295,-23.431L-110.95,-24.001L-111.671,-24.484L-112.182,-24.739L-112.149,-25.47L-112.301,-26.012L-112.777,-26.322L-113.465,-26.768L-113.597,-26.64L-113.849,-26.9L-114.466,-27.142L-115.055,-27.723L-114.982,-27.798L-114.57,-27.742L-114.199,-28.115L-114.162,-28.566L-114.932,-29.279L-115.519,-29.556L-115.887,-30.181L-116.258,-30.836L-116.721,-31.636L-117.128,-32.535L-117.296,-33.046L-117.944,-33.621L-118.411,-33.741L-118.52,-34.028L-119.081,-34.078L-119.439,-34.349L-120.368,-34.447L-120.623,-34.609L-120.744,-35.157L-121.715,-36.162L-122.547,-37.552L-122.512,-37.784L-122.953,-38.114L-123.727,-38.952L-123.865,-39.767L-124.398,-40.313L-124.179,-41.142L-124.214,-42L-124.533,-42.766L-124.142,-43.708L-123.899,-45.523L-124.08,-46.865L-124.396,-47.72L-124.687,-48.185L-124.566,-48.38L-123.12,-48.04L-122.587,-47.096L-122.34,-47.36L-122.5,-48.18L-122.84,-49L-122.974,-49.003L-124.91,-49.985L-125.625,-50.417L-127.436,-50.831L-127.993,-51.716L-127.85,-52.33L-129.13,-52.755L-129.305,-53.562L-130.515,-54.288L-130.536,-54.803L-131.086,-55.179L-131.967,-55.498L-132.25,-56.37L-133.539,-57.179L-134.078,-58.123L-135.038,-58.188L-136.628,-58.212L-137.8,-58.5L-139.868,-59.538L-140.825,-59.727L-142.574,-60.084L-143.959,-59.999L-145.925,-60.459L-147.114,-60.885L-148.224,-60.673L-148.018,-59.978L-148.571,-59.914L-149.728,-59.706L-150.608,-59.368L-151.716,-59.156L-151.859,-59.745L-151.41,-60.726L-150.347,-61.034L-150.621,-61.284L-151.896,-60.727L-152.578,-60.062L-154.019,-59.35L-153.287,-58.865L-154.232,-58.146L-155.307,-57.728L-156.308,-57.423L-156.556,-56.98L-158.117,-56.464L-158.433,-55.994L-159.603,-55.567L-160.29,-55.644L-161.223,-55.365L-162.238,-55.024L-163.069,-54.69L-164.786,-54.404L-164.942,-54.572L-163.848,-55.039L-162.87,-55.348L-161.804,-55.895L-160.564,-56.008L-160.07,-56.418L-158.684,-57.017L-158.461,-57.217L-157.723,-57.57L-157.55,-58.328L-157.042,-58.919L-158.195,-58.616L-158.517,-58.788L-159.059,-58.424L-159.712,-58.932L-159.981,-58.573L-160.355,-59.071L-161.355,-58.671L-161.969,-58.672L-162.055,-59.267L-161.874,-59.634L-162.518,-59.99L-163.818,-59.798L-164.662,-60.268L-165.346,-60.508L-165.351,-61.074L-166.121,-61.5L-165.734,-62.075L-164.919,-62.633L-164.562,-63.146L-163.753,-63.219L-163.067,-63.06L-162.26,-63.542L-161.534,-63.456L-160.773,-63.766L-160.958,-64.223L-161.518,-64.403L-160.778,-64.789L-161.392,-64.777L-162.453,-64.56L-162.758,-64.339L-163.546,-64.559L-164.961,-64.447L-166.425,-64.687L-166.845,-65.089L-168.11,-65.67L-166.705,-66.088L-164.475,-66.577L-163.653,-66.577L-163.789,-66.077L-161.678,-66.116L-162.49,-66.735L-163.72,-67.117L-164.431,-67.616L-165.39,-68.043L-166.764,-68.359L-166.205,-68.883L-164.431,-68.916L-163.169,-69.371L-162.93,-69.858L-161.909,-70.333L-160.935,-70.448L-159.039,-70.892L-158.12,-70.825L-156.581,-71.358L-155.068,-71.148L-154.344,-70.696L-153.9,-70.89L-152.21,-70.83L-152.27,-70.6L-150.74,-70.43L-149.72,-70.53L-147.613,-70.214L-145.69,-70.12L-144.92,-69.99L-143.589,-70.153L-142.073,-69.852L-140.986,-69.712L-139.12,-69.471L-137.546,-68.99L-136.504,-68.898L-135.626,-69.315L-134.415,-69.628L-132.929,-69.505L-131.431,-69.945L-129.795,-70.194L-129.108,-69.779L-128.362,-70.013L-128.138,-70.484L-127.447,-70.377L-125.756,-69.481L-124.425,-70.159L-124.29,-69.4L-123.061,-69.564L-122.683,-69.856L-121.472,-69.798L-119.943,-69.378L-117.603,-69.011L-116.226,-68.841L-115.247,-68.906L-113.898,-68.399L-115.305,-67.903L-113.497,-67.688L-110.798,-67.806L-109.946,-67.981L-108.88,-67.382L-107.792,-67.888L-108.813,-68.312L-108.167,-68.654L-106.95,-68.7L-106.15,-68.8L-105.343,-68.561L-104.338,-68.018L-103.221,-68.098L-101.454,-67.647L-99.902,-67.806L-98.443,-67.782L-98.559,-68.404L-97.669,-68.579L-96.12,-68.24L-96.126,-67.294L-95.489,-68.091L-94.685,-68.064L-94.233,-69.069L-95.304,-69.686L-96.471,-70.09L-96.391,-71.195L-95.209,-71.92L-93.89,-71.76L-92.878,-71.319L-91.52,-70.191L-92.407,-69.7L-90.547,-69.498Z\",\"M-114.167,-73.121L-114.666,-72.653L-112.441,-72.955L-111.05,-72.45L-109.92,-72.961L-109.007,-72.633L-108.188,-71.651L-107.686,-72.065L-108.396,-73.09L-107.516,-73.236L-106.523,-73.076L-105.402,-72.673L-104.775,-71.698L-104.465,-70.993L-102.785,-70.498L-100.981,-70.024L-101.089,-69.584L-102.731,-69.504L-102.093,-69.12L-102.43,-68.753L-104.24,-68.91L-105.96,-69.18L-107.123,-69.119L-109,-68.78L-111.967,-68.604L-113.313,-68.536L-113.855,-69.007L-115.22,-69.28L-116.108,-69.168L-117.34,-69.96L-116.675,-70.067L-115.131,-70.237L-113.721,-70.192L-112.416,-70.366L-114.35,-70.6L-116.487,-70.52L-117.905,-70.541L-118.432,-70.909L-116.113,-71.309L-117.656,-71.295L-119.402,-71.559L-118.563,-72.308L-117.866,-72.706L-115.189,-73.315L-114.167,-73.121Z\",\"M-104.5,-73.42L-105.38,-72.76L-106.94,-73.46L-106.6,-73.6L-105.26,-73.64L-104.5,-73.42Z\",\"M-76.34,-73.103L-76.251,-72.826L-77.314,-72.856L-78.392,-72.877L-79.486,-72.742L-79.776,-72.803L-80.876,-73.333L-80.834,-73.693L-80.353,-73.76L-78.064,-73.652L-76.34,-73.103Z\",\"M-86.562,-73.157L-85.774,-72.534L-84.85,-73.34L-82.316,-73.751L-80.6,-72.717L-80.749,-72.062L-78.771,-72.352L-77.825,-72.75L-75.606,-72.244L-74.229,-71.767L-74.099,-71.331L-72.242,-71.557L-71.2,-70.92L-68.786,-70.525L-67.915,-70.122L-66.969,-69.186L-68.805,-68.72L-66.45,-68.067L-64.862,-67.848L-63.425,-66.928L-61.852,-66.862L-62.163,-66.16L-63.918,-64.999L-65.149,-65.426L-66.721,-66.388L-68.015,-66.263L-68.141,-65.69L-67.09,-65.108L-65.732,-64.648L-65.32,-64.383L-64.669,-63.393L-65.014,-62.674L-66.275,-62.945L-68.783,-63.746L-67.37,-62.884L-66.328,-62.28L-66.166,-61.931L-68.877,-62.33L-71.023,-62.911L-72.235,-63.398L-71.886,-63.68L-73.378,-64.194L-74.834,-64.679L-74.819,-64.389L-77.71,-64.23L-78.556,-64.573L-77.897,-65.309L-76.018,-65.327L-73.96,-65.455L-74.294,-65.812L-73.945,-66.311L-72.651,-67.285L-72.926,-67.727L-73.312,-68.069L-74.843,-68.555L-76.869,-68.895L-76.229,-69.148L-77.287,-69.77L-78.169,-69.826L-78.957,-70.167L-79.492,-69.872L-81.305,-69.743L-84.945,-69.967L-87.06,-70.26L-88.682,-70.411L-89.513,-70.762L-88.468,-71.218L-89.888,-71.223L-90.205,-72.235L-89.437,-73.129L-88.408,-73.538L-85.826,-73.804L-86.562,-73.157Z\",\"M-100.356,-73.844L-99.164,-73.633L-97.38,-73.76L-97.12,-73.47L-98.054,-72.991L-96.54,-72.56L-96.72,-71.66L-98.36,-71.273L-99.323,-71.356L-100.015,-71.738L-102.5,-72.51L-102.48,-72.83L-100.438,-72.706L-101.54,-73.36L-100.356,-73.844Z\",\"M143.604,-73.212L142.088,-73.205L140.038,-73.317L139.863,-73.37L140.812,-73.765L142.062,-73.858L143.483,-73.475L143.604,-73.212Z\",\"M-93.196,-72.772L-94.269,-72.025L-95.41,-72.062L-96.034,-72.94L-96.018,-73.437L-95.496,-73.862L-94.504,-74.135L-92.42,-74.1L-90.51,-73.857L-92.004,-72.966L-93.196,-72.772Z\",\"M-120.46,-71.4L-123.092,-70.902L-123.62,-71.34L-125.929,-71.869L-125.593,-72.195L-124.807,-73.023L-123.94,-73.68L-124.918,-74.293L-121.538,-74.449L-120.11,-74.241L-117.556,-74.186L-116.584,-73.896L-115.511,-73.475L-116.768,-73.223L-119.22,-72.52L-120.46,-71.82L-120.46,-71.4Z\",\"M150.732,-75.084L149.576,-74.689L147.977,-74.778L146.119,-75.173L146.358,-75.497L148.222,-75.346L150.732,-75.084Z\",\"M-93.613,-74.98L-94.157,-74.592L-95.609,-74.667L-96.821,-74.928L-96.289,-75.378L-94.851,-75.647L-93.978,-75.296L-93.613,-74.98Z\",\"M145.086,-75.563L144.3,-74.82L140.614,-74.848L138.955,-74.611L136.974,-75.262L137.512,-75.949L138.831,-76.137L141.472,-76.093L145.086,-75.563Z\",\"M-98.5,-76.72L-97.736,-76.257L-97.704,-75.743L-98.16,-75L-99.809,-74.897L-100.884,-75.057L-100.863,-75.641L-102.502,-75.564L-102.566,-76.337L-101.49,-76.305L-99.983,-76.646L-98.577,-76.589L-98.5,-76.72Z\",\"M-108.211,-76.202L-107.819,-75.846L-106.929,-76.013L-105.881,-75.969L-105.705,-75.48L-106.313,-75.005L-109.7,-74.85L-112.223,-74.417L-113.744,-74.394L-113.871,-74.72L-111.794,-75.162L-116.312,-75.043L-117.71,-75.222L-116.346,-76.199L-115.405,-76.479L-112.591,-76.141L-110.814,-75.549L-109.067,-75.473L-110.497,-76.43L-109.581,-76.794L-108.549,-76.678L-108.211,-76.202Z\",\"M57.536,-70.72L56.945,-70.633L53.677,-70.763L53.412,-71.207L51.602,-71.475L51.456,-72.015L52.478,-72.229L52.444,-72.775L54.428,-73.628L53.508,-73.75L55.902,-74.627L55.632,-75.081L57.869,-75.609L61.17,-76.252L64.498,-76.439L66.211,-76.81L68.157,-76.94L68.852,-76.545L68.181,-76.234L64.637,-75.738L61.584,-75.261L58.477,-74.309L56.987,-73.333L55.419,-72.371L55.623,-71.541L57.536,-70.72Z\",\"M-94.684,-77.098L-93.574,-76.776L-91.605,-76.779L-90.742,-76.45L-90.97,-76.074L-89.822,-75.848L-89.187,-75.61L-87.838,-75.566L-86.379,-75.482L-84.79,-75.699L-82.753,-75.784L-81.129,-75.714L-80.058,-75.337L-79.834,-74.923L-80.458,-74.657L-81.949,-74.442L-83.229,-74.564L-86.097,-74.41L-88.15,-74.392L-89.765,-74.516L-92.422,-74.838L-92.768,-75.387L-92.89,-75.883L-93.894,-76.319L-95.962,-76.441L-97.121,-76.751L-96.745,-77.161L-94.684,-77.098Z\",\"M-116.199,-77.645L-116.336,-76.877L-117.106,-76.53L-118.04,-76.481L-119.899,-76.053L-121.5,-75.9L-122.855,-76.117L-122.855,-76.117L-121.158,-76.865L-119.104,-77.512L-117.57,-77.498L-116.199,-77.645Z\",\"M106.97,-76.974L107.24,-76.48L108.154,-76.723L111.077,-76.71L113.331,-76.222L114.134,-75.848L113.885,-75.328L112.779,-75.032L110.151,-74.477L109.4,-74.18L110.64,-74.04L112.119,-73.788L113.019,-73.977L113.53,-73.335L113.969,-73.595L115.568,-73.753L118.776,-73.588L119.02,-73.12L123.201,-72.971L123.258,-73.735L125.38,-73.56L126.977,-73.565L128.591,-73.039L129.052,-72.399L128.46,-71.98L129.716,-71.193L131.289,-70.787L132.253,-71.836L133.858,-71.386L135.562,-71.655L137.498,-71.348L138.234,-71.628L139.87,-71.488L139.148,-72.416L140.468,-72.849L149.5,-72.2L150.351,-71.607L152.969,-70.842L157.007,-71.031L158.998,-70.867L159.83,-70.453L159.709,-69.722L160.941,-69.437L162.279,-69.642L164.052,-69.668L165.94,-69.472L167.836,-69.583L169.578,-68.694L170.817,-69.014L170.008,-69.653L170.453,-70.097L173.644,-69.818L175.724,-69.877L178.6,-69.4L180,-68.964L180,-64.98L179.993,-64.974L178.707,-64.535L177.411,-64.608L178.313,-64.076L178.908,-63.252L179.37,-62.983L179.487,-62.569L179.228,-62.304L177.364,-62.522L174.569,-61.769L173.68,-61.653L172.15,-60.95L170.698,-60.336L170.331,-59.882L168.901,-60.573L166.295,-59.789L165.84,-60.16L164.877,-59.732L163.539,-59.869L163.217,-59.211L162.017,-58.243L162.053,-57.839L163.192,-57.615L163.058,-56.159L162.13,-56.122L161.701,-55.286L162.117,-54.855L160.369,-54.344L160.022,-53.203L158.531,-52.959L158.231,-51.943L156.79,-51.011L156.42,-51.7L155.992,-53.159L155.434,-55.381L155.914,-56.768L156.758,-57.365L156.81,-57.832L158.364,-58.056L160.151,-59.315L161.872,-60.343L163.67,-61.141L164.474,-62.551L163.258,-62.466L162.658,-61.643L160.122,-60.544L159.302,-61.774L156.721,-61.435L154.218,-59.758L155.044,-59.145L152.812,-58.884L151.266,-58.781L151.338,-59.504L149.784,-59.656L148.545,-59.164L145.487,-59.336L142.198,-59.04L138.958,-57.088L135.126,-54.73L136.702,-54.604L137.193,-53.977L138.165,-53.755L138.805,-54.255L139.901,-54.19L141.345,-53.09L141.379,-52.239L140.597,-51.24L140.513,-50.045L140.062,-48.447L138.555,-47L138.22,-46.308L136.862,-45.143L135.515,-43.989L134.87,-43.398L133.537,-42.812L132.906,-42.799L132.278,-43.284L130.936,-42.553L130.78,-42.22L130.4,-42.28L129.966,-41.941L129.667,-41.601L129.705,-40.883L129.188,-40.662L129.01,-40.485L128.633,-40.19L127.968,-40.026L127.534,-39.757L127.502,-39.324L127.385,-39.214L127.783,-39.051L128.35,-38.612L129.213,-37.432L129.461,-36.784L129.468,-35.632L129.091,-35.083L128.186,-34.891L127.386,-34.476L126.486,-34.39L126.374,-34.935L126.559,-35.685L126.117,-36.726L126.86,-36.894L126.175,-37.75L125.689,-37.94L125.568,-37.752L125.275,-37.669L125.24,-37.857L124.981,-37.949L124.712,-38.108L124.986,-38.549L125.222,-38.666L125.133,-38.849L125.387,-39.388L125.321,-39.552L124.737,-39.66L124.266,-39.929L122.868,-39.638L122.132,-39.17L121.055,-38.898L121.586,-39.361L121.377,-39.75L122.169,-40.422L121.641,-40.946L120.769,-40.594L119.64,-39.898L119.023,-39.252L118.043,-39.204L117.533,-38.738L118.06,-38.062L118.878,-37.897L118.912,-37.448L119.703,-37.156L120.823,-37.87L121.711,-37.481L122.358,-37.455L122.52,-36.931L121.104,-36.651L120.637,-36.112L119.665,-35.61L119.151,-34.91L120.227,-34.36L120.62,-33.377L121.229,-32.46L121.908,-31.692L121.892,-30.949L121.264,-30.676L121.503,-30.143L122.092,-29.833L121.938,-29.018L121.685,-28.226L121.126,-28.136L120.396,-27.053L119.586,-25.741L118.657,-24.547L117.282,-23.625L115.891,-22.783L114.764,-22.668L114.153,-22.224L113.807,-22.548L113.241,-22.052L111.844,-21.55L110.786,-21.397L110.444,-20.341L109.89,-20.282L109.628,-21.008L109.865,-21.395L108.523,-21.715L108.05,-21.552L106.715,-20.697L105.882,-19.752L105.662,-19.058L106.427,-18.004L107.362,-16.698L108.269,-16.08L108.877,-15.277L109.335,-13.426L109.2,-11.667L108.366,-11.008L107.221,-10.365L106.405,-9.531L105.158,-8.6L104.795,-9.241L105.076,-9.919L104.334,-10.487L103.497,-10.633L103.091,-11.154L102.585,-12.187L101.687,-12.646L100.832,-12.627L100.979,-13.413L100.098,-13.407L100.019,-12.307L99.479,-10.846L99.154,-9.963L99.222,-9.239L99.874,-9.208L100.28,-8.295L100.459,-7.43L101.017,-6.857L101.623,-6.741L102.141,-6.222L102.371,-6.128L102.962,-5.524L103.381,-4.855L103.439,-4.182L103.332,-3.727L103.43,-3.383L103.503,-2.791L103.855,-2.516L104.248,-1.631L104.229,-1.293L103.52,-1.226L102.574,-1.967L101.391,-2.761L101.274,-3.27L100.695,-3.939L100.557,-4.767L100.197,-5.312L100.306,-6.041L100.086,-6.464L99.691,-6.848L99.52,-7.344L98.988,-7.908L98.504,-8.382L98.34,-7.794L98.15,-8.35L98.259,-8.974L98.554,-9.933L98.457,-10.675L98.765,-11.441L98.428,-12.033L98.51,-13.122L98.104,-13.641L97.778,-14.837L97.597,-16.101L97.165,-16.929L96.506,-16.427L95.369,-15.714L94.808,-15.804L94.189,-16.038L94.534,-17.277L94.325,-18.214L93.541,-19.367L93.663,-19.727L93.078,-19.855L92.369,-20.671L92.083,-21.192L92.025,-21.702L91.835,-22.183L91.417,-22.765L90.496,-22.805L90.587,-22.393L90.273,-21.836L89.847,-22.039L89.702,-21.857L89.419,-21.966L89.032,-22.056L88.889,-21.691L88.208,-21.703L86.976,-21.495L87.033,-20.743L86.499,-20.152L85.06,-19.479L83.941,-18.302L83.189,-17.671L82.193,-17.017L82.191,-16.557L81.693,-16.31L80.792,-15.952L80.325,-15.899L80.025,-15.136L80.233,-13.836L80.286,-13.006L79.862,-12.056L79.858,-10.357L79.341,-10.309L78.885,-9.546L79.19,-9.217L78.278,-8.933L77.941,-8.253L77.54,-7.966L76.593,-8.899L76.13,-10.3L75.747,-11.308L75.396,-11.781L74.865,-12.742L74.617,-13.993L74.444,-14.617L73.534,-15.991L73.12,-17.929L72.821,-19.208L72.825,-20.419L72.631,-21.356L71.175,-20.758L70.471,-20.877L69.164,-22.089L69.645,-22.451L69.35,-22.843L68.177,-23.692L67.444,-23.945L67.146,-24.664L66.373,-25.425L64.531,-25.237L62.906,-25.219L61.497,-25.078L59.616,-25.38L58.526,-25.61L57.397,-25.74L56.971,-26.966L56.492,-27.143L55.724,-26.965L54.715,-26.481L53.493,-26.812L52.484,-27.581L51.521,-27.866L50.853,-28.815L50.115,-30.148L49.577,-29.986L48.941,-30.317L48.568,-29.927L47.974,-29.976L48.183,-29.534L48.094,-29.306L48.416,-28.552L48.808,-27.69L49.3,-27.461L49.471,-27.11L50.153,-26.69L50.213,-26.277L50.113,-25.944L50.24,-25.608L50.528,-25.328L50.661,-25L50.81,-24.755L50.744,-25.482L51.013,-26.007L51.286,-26.115L51.589,-25.801L51.607,-25.216L51.39,-24.628L51.58,-24.245L51.758,-24.294L51.794,-24.02L52.577,-24.177L53.404,-24.151L54.008,-24.122L54.693,-24.798L55.439,-25.439L56.071,-26.055L56.362,-26.396L56.486,-26.309L56.391,-25.896L56.261,-25.715L56.397,-24.925L56.845,-24.242L57.404,-23.879L58.137,-23.748L58.729,-23.566L59.18,-22.992L59.45,-22.66L59.808,-22.534L59.806,-22.31L59.442,-21.714L59.282,-21.434L58.861,-21.114L58.488,-20.429L58.034,-20.482L57.826,-20.243L57.666,-19.736L57.789,-19.068L57.695,-18.945L57.234,-18.948L56.61,-18.574L56.512,-18.087L56.284,-17.876L55.661,-17.884L55.27,-17.632L55.275,-17.228L54.791,-16.951L54.239,-17.045L53.57,-16.708L53.109,-16.651L52.385,-16.383L52.192,-15.938L52.168,-15.597L51.172,-15.175L49.575,-14.709L48.679,-14.003L48.239,-13.948L47.939,-14.007L47.354,-13.592L46.717,-13.4L45.878,-13.348L45.625,-13.291L45.406,-13.027L45.144,-12.954L44.99,-12.7L44.495,-12.722L44.175,-12.586L43.483,-12.637L43.223,-13.221L43.252,-13.768L43.088,-14.063L42.892,-14.802L42.605,-15.213L42.805,-15.262L42.703,-15.719L42.824,-15.912L42.779,-16.348L42.65,-16.775L42.348,-17.076L42.271,-17.475L41.755,-17.833L41.221,-18.672L40.939,-19.487L40.248,-20.175L39.802,-20.339L39.14,-21.292L39.024,-21.987L39.066,-22.58L38.493,-23.688L38.024,-24.079L37.484,-24.286L37.155,-24.859L37.209,-25.084L36.932,-25.603L36.64,-25.826L36.249,-26.57L35.64,-27.377L35.13,-28.063L34.632,-28.058L34.788,-28.607L34.832,-28.958L34.956,-29.357L34.923,-29.501L34.642,-29.099L34.427,-28.344L34.154,-27.823L33.922,-27.649L33.588,-27.971L33.137,-28.418L32.423,-29.851L32.32,-29.76L32.735,-28.705L33.349,-27.7L34.105,-26.142L34.474,-25.599L34.795,-25.034L35.693,-23.927L35.494,-23.753L35.526,-23.102L36.691,-22.205L36.866,-22L37.189,-21.019L36.969,-20.838L37.115,-19.808L37.482,-18.614L37.863,-18.368L38.41,-17.998L38.991,-16.841L39.266,-15.923L39.814,-15.436L41.179,-14.491L41.735,-13.921L42.277,-13.344L42.59,-13L43.081,-12.7L43.318,-12.39L43.286,-11.975L42.716,-11.736L43.145,-11.462L43.471,-11.278L43.667,-10.864L44.118,-10.446L44.614,-10.442L45.557,-10.698L46.646,-10.817L47.526,-11.127L48.022,-11.193L48.379,-11.375L48.948,-11.411L49.268,-11.43L49.729,-11.579L50.259,-11.68L50.732,-12.022L51.111,-12.025L51.134,-11.748L51.042,-11.167L51.045,-10.641L50.834,-10.28L50.552,-9.199L50.071,-8.082L49.453,-6.805L48.594,-5.339L47.741,-4.219L46.565,-2.855L45.564,-2.046L44.068,-1.053L43.136,-0.292L42.042,0.919L41.811,1.446L41.585,1.683L40.885,2.083L40.638,2.5L40.263,2.573L40.121,3.278L39.8,3.681L39.605,4.346L39.202,4.677L38.74,5.909L38.8,6.476L39.44,6.84L39.47,7.1L39.195,7.704L39.252,8.008L39.187,8.485L39.536,9.112L39.95,10.098L40.317,10.317L40.479,10.765L40.437,11.762L40.561,12.639L40.6,14.202L40.776,14.692L40.477,15.406L40.089,16.101L39.453,16.721L38.538,17.101L37.411,17.586L36.281,18.66L35.896,18.842L35.198,19.553L34.786,19.784L34.702,20.497L35.176,21.254L35.373,21.841L35.386,22.14L35.563,22.09L35.534,23.071L35.372,23.535L35.607,23.706L35.459,24.123L35.041,24.478L34.216,24.816L33.013,25.357L32.575,25.727L32.66,26.148L32.916,26.216L32.83,26.742L32.58,27.47L32.462,28.301L32.203,28.752L31.521,29.257L31.326,29.402L30.902,29.91L30.623,30.424L30.056,31.14L28.925,32.172L28.22,32.772L27.465,33.227L26.419,33.615L25.91,33.667L25.781,33.945L25.173,33.797L24.678,33.987L23.594,33.794L22.988,33.916L22.574,33.864L21.543,34.259L20.689,34.417L20.071,34.795L19.617,34.819L19.193,34.463L18.855,34.444L18.425,33.998L18.378,34.136L18.245,33.868L18.25,33.281L17.925,32.611L18.248,32.429L18.222,31.662L17.567,30.726L17.065,29.879L17.063,29.876L16.345,28.577L15.602,27.821L15.211,27.091L14.99,26.117L14.743,25.393L14.408,23.853L14.386,22.657L14.258,22.111L13.869,21.699L13.352,20.873L12.827,19.673L12.609,19.045L11.795,18.069L11.734,17.302L11.64,16.673L11.779,15.794L12.124,14.878L12.176,14.449L12.5,13.548L12.739,13.138L13.313,12.484L13.634,12.039L13.739,11.298L13.687,10.731L13.387,10.374L13.121,9.767L12.875,9.167L12.929,8.959L13.237,8.563L12.933,7.596L12.728,6.927L12.227,6.294L12.323,6.1L12.182,5.79L11.915,5.038L11.094,3.979L10.066,2.969L9.405,2.144L8.798,1.111L8.83,0.779L9.049,0.459L9.291,-0.269L9.493,-1.01L9.306,-1.161L9.649,-2.284L9.795,-3.073L9.404,-3.734L8.948,-3.904L8.745,-4.352L8.489,-4.496L8.5,-4.772L7.462,-4.412L7.083,-4.465L6.698,-4.241L5.898,-4.263L5.363,-4.888L5.034,-5.612L4.326,-6.271L3.574,-6.258L2.692,-6.259L1.865,-6.142L1.06,-5.929L-0.508,-5.344L-1.064,-5L-1.965,-4.711L-2.856,-4.995L-3.311,-4.984L-4.009,-5.18L-4.65,-5.168L-5.834,-4.994L-6.529,-4.705L-7.519,-4.338L-7.712,-4.365L-7.974,-4.356L-9.005,-4.833L-9.913,-5.594L-10.765,-6.141L-11.439,-6.786L-11.708,-6.86L-12.428,-7.263L-12.949,-7.799L-13.124,-8.164L-13.247,-8.903L-13.685,-9.495L-14.074,-9.886L-14.33,-10.016L-14.58,-10.214L-14.693,-10.656L-14.839,-10.877L-15.13,-11.041L-15.664,-11.458L-16.085,-11.525L-16.315,-11.807L-16.309,-11.959L-16.614,-12.171L-16.677,-12.385L-16.841,-13.151L-16.714,-13.595L-17.126,-14.373L-17.625,-14.73L-17.185,-14.919L-16.701,-15.622L-16.463,-16.135L-16.55,-16.674L-16.271,-17.167L-16.146,-18.109L-16.257,-19.097L-16.378,-19.594L-16.278,-20.093L-16.536,-20.568L-17.063,-21L-17.02,-21.422L-16.973,-21.886L-16.589,-22.158L-16.262,-22.679L-16.326,-23.018L-15.983,-23.724L-15.426,-24.359L-15.089,-24.52L-14.825,-25.104L-14.801,-25.636L-14.44,-26.255L-13.774,-26.619L-13.14,-27.64L-12.619,-28.038L-11.689,-28.149L-10.901,-28.832L-10.4,-29.099L-9.565,-29.934L-9.815,-31.178L-9.435,-32.038L-9.301,-32.565L-8.657,-33.24L-7.654,-33.697L-6.912,-34.11L-6.244,-35.146L-5.93,-35.76L-5.194,-35.755L-4.591,-35.331L-3.64,-35.4L-2.604,-35.179L-2.17,-35.169L-1.209,-35.715L-0.127,-35.889L0.504,-36.301L1.467,-36.606L3.162,-36.784L4.816,-36.865L5.32,-36.716L6.262,-37.111L7.331,-37.119L7.737,-36.886L8.421,-36.946L9.51,-37.35L10.21,-37.23L10.181,-36.724L11.029,-37.092L11.1,-36.9L10.6,-36.41L10.593,-35.948L10.94,-35.699L10.808,-34.833L10.15,-34.331L10.34,-33.786L10.857,-33.769L11.109,-33.293L11.489,-33.137L12.663,-32.793L13.083,-32.879L13.919,-32.712L15.246,-32.265L15.714,-31.376L16.612,-31.182L18.021,-30.763L19.086,-30.266L19.574,-30.526L20.053,-30.986L19.82,-31.752L20.134,-32.238L20.854,-32.707L21.543,-32.843L22.896,-32.638L23.237,-32.192L23.609,-32.187L23.927,-32.017L24.921,-31.899L25.165,-31.569L26.495,-31.586L27.458,-31.321L28.451,-31.026L28.914,-30.87L29.683,-31.187L30.095,-31.474L30.977,-31.556L31.688,-31.43L31.961,-30.934L32.193,-31.26L32.994,-31.024L33.773,-30.968L34.266,-31.219L34.557,-31.549L34.488,-31.606L34.753,-32.073L34.956,-32.828L35.099,-33.081L35.126,-33.091L35.482,-33.906L35.98,-34.61L35.998,-34.645L35.905,-35.41L36.15,-35.821L35.782,-36.275L36.161,-36.651L35.551,-36.565L34.714,-36.795L34.027,-36.22L32.509,-36.107L31.7,-36.644L30.622,-36.678L30.391,-36.263L29.7,-36.144L28.733,-36.677L27.641,-36.659L27.049,-37.654L26.318,-38.208L26.805,-38.986L26.171,-39.464L27.28,-40.42L28.82,-40.46L29.24,-41.22L31.146,-41.088L32.348,-41.736L33.513,-42.019L35.168,-42.04L36.913,-41.336L38.348,-40.949L39.513,-41.103L40.373,-41.014L41.554,-41.536L41.703,-41.963L41.453,-42.645L40.875,-43.014L40.321,-43.129L39.955,-43.435L38.68,-44.28L37.539,-44.657L36.675,-45.245L37.403,-45.404L38.233,-46.241L37.674,-46.637L39.148,-47.045L39.121,-47.263L38.224,-47.102L37.425,-47.022L36.76,-46.699L35.824,-46.646L34.962,-46.273L35.021,-45.651L35.51,-45.41L36.53,-45.47L36.335,-45.113L35.24,-44.94L33.883,-44.362L33.326,-44.565L33.547,-45.035L32.454,-45.328L32.631,-45.519L33.588,-45.852L33.299,-46.081L31.744,-46.333L31.675,-46.706L30.749,-46.583L30.378,-46.032L29.603,-45.293L29.627,-45.036L29.142,-44.82L28.838,-44.914L28.558,-43.708L28.039,-43.293L27.674,-42.578L27.997,-42.008L28.115,-41.623L28.989,-41.3L28.807,-41.055L27.619,-41L27.193,-40.691L26.358,-40.152L26.043,-40.618L26.057,-40.824L25.448,-40.852L24.926,-40.947L23.715,-40.687L24.408,-40.125L23.9,-39.962L23.343,-39.961L22.814,-40.476L22.626,-40.257L22.85,-39.659L23.35,-39.19L22.973,-38.971L23.53,-38.51L24.025,-38.22L24.04,-37.655L23.115,-37.92L23.41,-37.41L22.775,-37.305L23.154,-36.422L22.49,-36.41L21.67,-36.845L21.295,-37.645L21.12,-38.31L20.73,-38.77L20.218,-39.34L20.15,-39.625L19.98,-39.695L19.96,-39.915L19.406,-40.251L19.319,-40.727L19.404,-41.409L19.54,-41.72L19.372,-41.878L19.162,-41.955L18.882,-42.281L18.45,-42.48L17.51,-42.85L16.93,-43.21L16.016,-43.507L15.175,-44.243L15.376,-44.318L14.92,-44.739L14.902,-45.076L14.259,-45.234L13.952,-44.802L13.657,-45.137L13.68,-45.484L13.715,-45.5L13.938,-45.591L13.142,-45.737L12.329,-45.382L12.384,-44.885L12.261,-44.601L12.589,-44.091L13.527,-43.588L14.03,-42.761L15.143,-41.955L15.926,-41.961L16.17,-41.74L15.889,-41.541L16.785,-41.18L17.519,-40.877L18.377,-40.356L18.48,-40.169L18.294,-39.811L17.739,-40.278L16.87,-40.442L16.449,-39.795L17.172,-39.425L17.053,-38.903L16.635,-38.844L16.101,-37.986L15.684,-37.909L15.688,-38.215L15.892,-38.751L16.109,-38.964L15.719,-39.544L15.414,-40.048L14.998,-40.173L14.703,-40.605L14.061,-40.786L13.628,-41.188L12.888,-41.253L12.107,-41.705L11.192,-42.356L10.512,-42.932L10.2,-43.92L9.703,-44.036L8.889,-44.366L8.429,-44.231L7.851,-43.767L7.435,-43.694L6.529,-43.129L4.557,-43.4L3.101,-43.075L2.986,-42.473L3.039,-41.892L2.092,-41.226L0.81,-41.015L0.721,-40.678L0.107,-40.124L-0.279,-39.31L0.111,-38.739L-0.467,-38.292L-0.683,-37.642L-1.438,-37.443L-2.146,-36.674L-3.416,-36.659L-4.369,-36.678L-4.995,-36.325L-5.377,-35.947L-5.866,-36.03L-6.237,-36.368L-6.52,-36.943L-7.454,-37.098L-7.856,-36.838L-8.383,-36.979L-8.899,-36.869L-8.746,-37.651L-8.84,-38.266L-9.287,-38.359L-9.526,-38.737L-9.447,-39.392L-9.048,-39.755L-8.977,-40.159L-8.769,-40.761L-8.791,-41.184L-8.991,-41.544L-9.035,-41.881L-8.984,-42.593L-9.393,-43.027L-7.978,-43.748L-6.755,-43.568L-5.412,-43.574L-4.348,-43.404L-3.518,-43.456L-1.901,-43.423L-1.384,-44.023L-1.194,-46.015L-2.226,-47.065L-2.963,-47.57L-4.492,-47.955L-4.592,-48.684L-3.296,-48.902L-1.617,-48.644L-1.933,-49.776L-0.989,-49.347L1.339,-50.127L1.639,-50.947L2.513,-51.148L3.315,-51.346L3.83,-51.62L4.706,-53.092L6.074,-53.51L6.905,-53.482L7.101,-53.694L7.936,-53.748L8.122,-53.528L8.801,-54.021L8.572,-54.396L8.526,-54.963L8.12,-55.518L8.09,-56.54L8.257,-56.81L8.544,-57.11L9.425,-57.172L9.776,-57.448L10.58,-57.73L10.546,-57.216L10.25,-56.89L10.37,-56.61L10.912,-56.459L10.668,-56.081L10.37,-56.19L9.65,-55.47L9.922,-54.983L9.94,-54.597L10.95,-54.364L10.94,-54.009L11.956,-54.196L12.518,-54.471L13.648,-54.075L14.12,-53.757L14.803,-54.051L16.364,-54.513L17.623,-54.852L18.621,-54.683L18.696,-54.439L19.661,-54.426L19.888,-54.866L21.268,-55.19L21.056,-56.031L21.091,-56.784L21.582,-57.412L22.524,-57.753L23.318,-57.006L24.121,-57.026L24.313,-57.794L24.429,-58.383L24.061,-58.258L23.427,-58.613L23.34,-59.187L24.604,-59.466L25.864,-59.611L26.949,-59.446L27.981,-59.476L29.118,-60.028L28.07,-60.503L26.255,-60.424L24.497,-60.057L22.87,-59.846L22.291,-60.392L21.322,-60.72L21.545,-61.705L21.059,-62.607L21.536,-63.19L22.443,-63.818L24.731,-64.902L25.398,-65.112L25.294,-65.534L23.904,-66.007L22.183,-65.724L21.214,-65.026L21.37,-64.414L19.779,-63.61L17.848,-62.75L17.12,-61.341L17.831,-60.637L18.788,-60.082L17.869,-58.954L16.829,-58.72L16.448,-57.041L15.88,-56.104L14.667,-56.201L14.101,-55.408L12.943,-55.362L12.625,-56.307L11.788,-57.442L11.027,-58.856L10.357,-59.47L8.382,-58.313L7.049,-58.079L5.666,-58.588L5.308,-59.663L4.992,-61.971L5.913,-62.615L8.554,-63.454L10.528,-64.486L12.358,-65.88L14.761,-67.811L16.436,-68.563L19.184,-69.818L21.378,-70.255L23.024,-70.202L24.547,-71.031L26.37,-70.986L28.166,-71.185L31.294,-70.454L30.005,-70.186L31.101,-69.558L32.133,-69.906L33.776,-69.302L36.514,-69.063L40.292,-67.932L41.06,-67.457L41.126,-66.792L40.016,-66.266L38.383,-66L33.919,-66.76L33.185,-66.633L34.815,-65.9L34.944,-64.414L36.231,-64.109L37.013,-63.85L37.142,-64.335L36.518,-64.78L37.176,-65.143L39.594,-64.521L40.436,-64.765L39.763,-65.497L42.093,-66.476L43.016,-66.419L43.95,-66.069L44.532,-66.756L43.698,-67.352L44.188,-67.951L43.453,-68.571L46.25,-68.25L46.821,-67.69L45.555,-67.567L45.562,-67.01L46.349,-66.668L47.894,-66.885L48.139,-67.523L50.228,-67.999L53.718,-68.857L54.472,-68.808L53.486,-68.201L54.726,-68.097L55.443,-68.439L57.317,-68.466L58.802,-68.881L59.942,-68.279L61.078,-68.941L60.03,-69.52L60.55,-69.85L63.504,-69.547L64.888,-69.235L68.512,-68.092L69.181,-68.616L68.164,-69.144L68.135,-69.357L66.93,-69.455L67.26,-69.929L66.725,-70.709L66.695,-71.029L68.54,-71.935L69.196,-72.844L69.94,-73.04L72.588,-72.776L72.796,-72.22L71.848,-71.409L72.47,-71.09L72.792,-70.391L72.565,-69.021L73.668,-68.408L73.239,-67.74L71.28,-66.32L72.423,-66.173L72.821,-66.533L73.921,-66.789L74.187,-67.284L75.052,-67.76L74.469,-68.329L74.936,-68.989L73.842,-69.071L73.602,-69.628L74.4,-70.632L73.101,-71.447L74.891,-72.121L74.659,-72.832L75.158,-72.855L75.683,-72.3L75.289,-71.336L76.359,-71.153L75.903,-71.874L77.577,-72.267L79.652,-72.32L81.5,-71.75L80.611,-72.583L80.511,-73.648L82.25,-73.85L84.655,-73.806L86.822,-73.937L86.01,-74.46L87.167,-75.117L88.316,-75.144L90.26,-75.64L92.901,-75.773L93.234,-76.047L95.86,-76.14L96.678,-75.916L98.922,-76.447L100.76,-76.43L101.035,-76.862L101.991,-77.287L104.352,-77.698L106.067,-77.374L104.705,-77.128L106.97,-76.974ZM49.11,-41.282L49.619,-40.573L50.085,-40.526L50.393,-40.257L49.569,-40.176L49.395,-39.399L49.223,-39.049L48.857,-38.815L48.883,-38.32L49.2,-37.583L50.148,-37.375L50.842,-36.873L52.264,-36.7L53.826,-36.965L53.922,-37.199L53.735,-37.906L53.881,-38.952L53.101,-39.291L53.358,-39.975L52.694,-40.034L52.915,-40.877L53.858,-40.631L54.737,-40.951L54.008,-41.551L53.722,-42.123L52.917,-41.868L52.815,-41.135L52.503,-41.783L52.446,-42.027L52.692,-42.444L52.502,-42.792L51.343,-43.133L50.891,-44.031L50.339,-44.284L50.306,-44.61L51.279,-44.515L51.317,-45.246L52.167,-45.409L53.041,-45.259L53.221,-46.235L53.043,-46.853L52.042,-46.805L51.192,-47.049L50.034,-46.609L49.101,-46.399L48.646,-45.806L47.676,-45.641L46.682,-44.609L47.591,-43.66L47.492,-42.987L48.584,-41.809L49.11,-41.282Z\",\"M-93.84,-77.52L-94.296,-77.491L-96.17,-77.555L-96.436,-77.835L-94.423,-77.82L-93.721,-77.634L-93.84,-77.52Z\",\"M-110.187,-77.697L-112.051,-77.409L-113.534,-77.732L-112.725,-78.051L-111.264,-78.153L-109.854,-77.996L-110.187,-77.697Z\",\"M24.724,-77.854L22.49,-77.445L20.726,-77.677L21.416,-77.935L20.812,-78.255L22.884,-78.455L23.281,-78.08L24.724,-77.854Z\",\"M-109.663,-78.602L-110.881,-78.407L-112.542,-78.408L-112.526,-78.551L-111.5,-78.85L-110.964,-78.804L-109.663,-78.602Z\",\"M-95.83,-78.057L-97.31,-77.851L-98.124,-78.083L-98.553,-78.458L-98.632,-78.872L-97.337,-78.832L-96.754,-78.766L-95.559,-78.418L-95.83,-78.057Z\",\"M-100.06,-78.325L-99.671,-77.908L-101.304,-78.019L-102.95,-78.343L-105.176,-78.38L-104.21,-78.677L-105.42,-78.918L-105.492,-79.302L-103.529,-79.165L-100.825,-78.8L-100.06,-78.325Z\",\"M105.075,-78.307L99.438,-77.921L101.265,-79.234L102.086,-79.346L102.838,-79.281L105.372,-78.713L105.075,-78.307Z\",\"M18.252,-79.702L21.544,-78.956L19.027,-78.563L18.472,-77.827L17.594,-77.638L17.118,-76.809L15.913,-76.77L13.763,-77.38L14.67,-77.736L13.171,-78.025L11.222,-78.869L10.445,-79.652L13.171,-80.01L13.719,-79.66L15.143,-79.674L15.523,-80.016L16.991,-80.051L18.252,-79.702Z\",\"M25.448,-80.407L27.408,-80.056L25.925,-79.518L23.024,-79.4L20.075,-79.567L19.897,-79.842L18.462,-79.86L17.368,-80.319L20.456,-80.598L21.908,-80.358L22.919,-80.657L25.448,-80.407Z\",\"M51.136,-80.547L49.794,-80.415L48.894,-80.34L48.755,-80.175L47.586,-80.01L46.503,-80.247L47.072,-80.559L44.847,-80.59L46.799,-80.772L48.318,-80.784L48.523,-80.515L49.097,-80.754L50.04,-80.919L51.523,-80.7L51.136,-80.547Z\",\"M99.94,-78.881L97.758,-78.756L94.973,-79.045L93.313,-79.427L92.545,-80.144L91.181,-80.341L93.778,-81.025L95.941,-81.25L97.884,-80.747L100.187,-79.78L99.94,-78.881Z\",\"M-87.02,-79.66L-85.814,-79.337L-87.188,-79.039L-89.035,-78.287L-90.804,-78.215L-92.877,-78.343L-93.951,-78.751L-93.936,-79.114L-93.145,-79.38L-94.974,-79.372L-96.076,-79.705L-96.71,-80.158L-96.016,-80.602L-95.323,-80.907L-94.298,-80.977L-94.735,-81.206L-92.41,-81.257L-91.133,-80.723L-89.45,-80.509L-87.81,-80.32L-87.02,-79.66Z\",\"M-68.5,-83.106L-65.827,-83.028L-63.68,-82.9L-61.85,-82.629L-61.894,-82.362L-64.334,-81.928L-66.753,-81.725L-67.658,-81.501L-65.48,-81.507L-67.84,-80.9L-69.47,-80.617L-71.18,-79.8L-73.243,-79.634L-73.88,-79.43L-76.908,-79.323L-75.529,-79.198L-76.22,-79.019L-75.393,-78.526L-76.344,-78.183L-77.889,-77.9L-78.363,-77.509L-79.76,-77.21L-79.62,-76.983L-77.911,-77.022L-77.889,-76.778L-80.561,-76.178L-83.174,-76.454L-86.112,-76.299L-87.6,-76.42L-89.491,-76.472L-89.616,-76.952L-87.767,-77.178L-88.26,-77.9L-87.65,-77.97L-84.976,-77.539L-86.34,-78.18L-87.962,-78.372L-87.152,-78.759L-85.379,-78.997L-85.095,-79.345L-86.507,-79.736L-86.932,-80.251L-84.198,-80.208L-83.409,-80.1L-81.848,-80.464L-84.1,-80.58L-87.599,-80.516L-89.367,-80.856L-90.2,-81.26L-91.368,-81.553L-91.587,-81.894L-90.1,-82.085L-88.932,-82.118L-86.97,-82.28L-85.5,-82.652L-84.26,-82.6L-83.18,-82.32L-82.42,-82.86L-81.1,-83.02L-79.307,-83.131L-76.25,-83.172L-75.719,-83.064L-72.832,-83.233L-70.666,-83.17L-68.5,-83.106Z\",\"M-27.1,-83.52L-20.845,-82.727L-22.692,-82.342L-26.518,-82.298L-31.9,-82.2L-31.396,-82.022L-27.857,-82.132L-24.844,-81.787L-22.903,-82.093L-22.072,-81.734L-23.17,-81.153L-20.624,-81.525L-15.768,-81.912L-12.77,-81.719L-12.209,-81.292L-16.285,-80.58L-16.85,-80.35L-20.046,-80.177L-17.73,-80.129L-18.9,-79.4L-19.705,-78.751L-19.674,-77.639L-18.473,-76.986L-20.035,-76.944L-21.679,-76.628L-19.834,-76.098L-19.599,-75.248L-20.668,-75.156L-19.373,-74.296L-21.594,-74.224L-20.435,-73.817L-20.762,-73.464L-22.172,-73.31L-23.566,-73.307L-22.313,-72.629L-22.3,-72.184L-24.278,-72.598L-24.793,-72.33L-23.443,-72.08L-22.133,-71.469L-21.754,-70.664L-23.536,-70.471L-24.307,-70.856L-25.543,-71.431L-25.201,-70.752L-26.363,-70.226L-23.727,-70.184L-22.349,-70.129L-25.029,-69.259L-27.747,-68.47L-30.674,-68.125L-31.777,-68.121L-32.811,-67.735L-34.202,-66.68L-36.353,-65.979L-37.044,-65.938L-38.375,-65.692L-39.812,-65.458L-40.669,-64.84L-40.683,-64.139L-41.189,-63.482L-42.819,-62.682L-42.417,-61.901L-42.866,-61.074L-43.378,-60.098L-44.788,-60.037L-46.264,-60.853L-48.263,-60.858L-49.233,-61.407L-49.9,-62.383L-51.633,-63.627L-52.14,-64.278L-52.277,-65.177L-53.662,-66.1L-53.302,-66.837L-53.969,-67.189L-52.98,-68.358L-51.475,-68.73L-51.08,-69.148L-50.871,-69.929L-52.014,-69.575L-52.558,-69.426L-53.456,-69.284L-54.683,-69.61L-54.75,-70.289L-54.359,-70.821L-53.431,-70.836L-51.39,-70.57L-53.109,-71.205L-54.004,-71.547L-55,-71.407L-55.835,-71.654L-54.718,-72.586L-55.326,-72.959L-56.12,-73.65L-57.324,-74.71L-58.597,-75.099L-58.585,-75.517L-61.269,-76.102L-63.392,-76.175L-66.064,-76.135L-68.504,-76.061L-69.665,-76.38L-71.403,-77.009L-68.777,-77.323L-66.764,-77.376L-71.043,-77.636L-73.297,-78.044L-73.159,-78.433L-69.373,-78.914L-65.711,-79.394L-65.324,-79.758L-68.023,-80.117L-67.151,-80.516L-63.689,-81.214L-62.234,-81.321L-62.651,-81.77L-60.282,-82.034L-57.207,-82.191L-54.134,-82.2L-53.043,-81.888L-50.391,-82.439L-48.004,-82.065L-46.6,-81.986L-44.523,-81.661L-46.901,-82.2L-46.764,-82.628L-43.406,-83.225L-39.898,-83.18L-38.622,-83.549L-35.088,-83.645L-27.1,-83.52Z\"];function kl(e){return e>=-180&&e<180?e:((e+180)%360+360)%360-180}function Il(e){let t=new Map;for(let r of e){let i=Ut(r.location);if(!i)continue;let n=T(r.location)?r.location:{},o=[n.city??n.label,n.region,n.country].filter(l=>typeof l==\"string\"&&!!l.trim()).join(\", \")||\"Area not specified\",s=kl(i.longitude),a=`${i.latitude}:${s}`,c=t.get(a);c?(c.listings.push(r),c.approximate||=i.approximate,c.label!==o&&(c.label=\"Shared area\")):t.set(a,{key:a,latitude:i.latitude,longitude:s,label:o,approximate:i.approximate,listings:[r]})}return[...t.values()]}function jr(e,t,r){let i=Math.max(.02,Math.min(380,Number.isFinite(r)?r:380)),n=i/2,o=kl(Number.isFinite(e)?e:0)-i/2,s=Math.max(-95+n/2,Math.min(95-n/2,Number.isFinite(t)?t:0))-n/2;return{x:o,y:s,width:i,height:n}}function Cl(e){if(!e.length)return jr(0,0,380);let t=[...new Set(e.map(c=>(c.longitude+360)%360))].sort((c,l)=>c-l),r=-1,i=t[0];for(let c=0;c<t.length;c++){let l=t[(c+1)%t.length]+(c===t.length-1?360:0);l-t[c]>r&&(r=l-t[c],i=l%360)}let n=1/0,o=-1/0,s=1/0,a=-1/0;for(let c of e){let l=(c.longitude+360)%360,d=l<i?l+360:l,p=-c.latitude;n=Math.min(n,d),o=Math.max(o,d),s=Math.min(s,p),a=Math.max(a,p)}return jr((n+o)/2,(s+a)/2,Math.max(8,(o-n)*1.25,(a-s)*2.5))}function Ei(e,t){return e+360*Math.round((t.x+t.width/2-e)/360)}function $s(e,t){return jr(e.x+e.width/2,e.y+e.height/2,e.width/(Number.isFinite(t)&&t>0?t:1))}function Us(e,t,r){return jr(e.x+e.width/2+(Number.isFinite(t)?t:0),e.y+e.height/2+(Number.isFinite(r)?r:0),e.width)}function Ml(e,t,r){if(!Number.isFinite(r)||r<=0)return e;let i=44*r,n=[],o=new Map;for(let s of e){let a=Ei(s.longitude,t),c=-s.latitude,l=Math.floor(a/i),d=Math.floor(c/i),p;for(let m=-1;m<=1&&p===void 0;m++)for(let f=-1;f<=1&&p===void 0;f++)p=o.get(`${l+m}:${d+f}`)?.find(h=>{let g=n[h];return Math.hypot(Ei(g.longitude,t)-a,-g.latitude-c)<i});if(p===void 0){let m=n.push({...s,listings:[...s.listings]})-1,f=`${l}:${d}`;o.set(f,[...o.get(f)??[],m])}else{let m=n[p];m.key+=`|${s.key}`,m.listings.push(...s.listings),m.approximate||=s.approximate,m.label!==s.label&&(m.label=\"Nearby areas\")}}return n}function Tl({listings:e}){let t=zs(()=>Il(e),[e]),r=zs(()=>Cl(t),[t]),[i,n]=lo(r),[o,s]=lo({width:800,height:360}),[a,c]=lo(!1),[l,d]=lo(null),p=Ks(!1),m=Ks(null),f=Ks(null),h=Hy(),g=Math.max(i.width/Math.max(1,o.width),i.height/Math.max(1,o.height)),b=zs(()=>Ml(t,i,g),[t,i,g]),L=b.find(y=>y.key===l);Bs(()=>{p.current||n(r)},[r]),Bs(()=>{l&&!b.some(y=>y.key===l)&&d(null)},[b,l]),Ky(()=>{let y=m.current;if(!y)return;let S=()=>{let w=y.getBoundingClientRect(),P=getComputedStyle(y);s({width:w.width-parseFloat(P.borderLeftWidth)-parseFloat(P.borderRightWidth),height:w.height-parseFloat(P.borderTopWidth)-parseFloat(P.borderBottomWidth)})};S();let C=new ResizeObserver(S);return C.observe(y),()=>C.disconnect()},[t.length>0]),Bs(()=>{let y=m.current;if(!y)return;let S=C=>{if(!a)return;C.preventDefault(),p.current=!0;let w=C.deltaY*(C.deltaMode===1?16:C.deltaMode===2?400:1);n(P=>$s(P,Math.exp(Math.max(-1,Math.min(1,-w*.002)))))};return y.addEventListener(\"wheel\",S,{passive:!1}),()=>y.removeEventListener(\"wheel\",S)},[a,t.length>0]);let x=()=>{let y=f.current;y&&m.current?.hasPointerCapture(y.id)&&m.current.releasePointerCapture(y.id),f.current=null,c(!1)},_=y=>{p.current=!0,n(S=>$s(S,y))},k=()=>{p.current=!1,n(r)},v=y=>d(y);if(!t.length)return null;let M=t.reduce((y,S)=>y+S.listings.length,0);return Ne(\"figure\",{className:\"cd-directory__map-view\",\"aria-labelledby\":`${h}-title`,children:[Ne(\"figcaption\",{id:`${h}-title`,children:[de(\"strong\",{children:\"Explore listing areas\"}),Ne(\"p\",{className:\"cd-directory__muted\",children:[\"Regional map of \",M.toLocaleString(),\" loaded \",M===1?\"listing\":\"listings\",\". Approximate locations use rounded coordinates.\"]})]}),Ne(\"div\",{className:\"cd-directory__actions\",\"aria-label\":\"Map controls\",children:[de(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",disabled:i.width<=.02001,onClick:()=>_(2),children:\"Zoom in\"}),de(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",disabled:i.width>=380,onClick:()=>_(.5),children:\"Zoom out\"}),de(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",onClick:k,children:\"Fit listing locations\"}),de(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",\"aria-pressed\":a,onClick:()=>{a?x():c(!0)},children:a?\"Stop map dragging\":\"Enable map dragging\"})]}),de(\"p\",{id:`${h}-help`,className:\"cd-directory__muted\",children:\"Tab to a location and press Enter to see its listings. Focus the map and use arrow keys to pan, + or \\u2212 to zoom, Home to fit, and Escape to stop dragging. Page scrolling stays available until you enable map dragging.\"}),Ne(\"svg\",{ref:m,className:\"cd-directory__regional-map\",role:\"region\",\"aria-label\":\"Listing areas map\",\"aria-describedby\":`${h}-help`,tabIndex:0,viewBox:`${i.x} ${i.y} ${i.width} ${i.height}`,style:{touchAction:a?\"none\":\"pan-y\",cursor:a?\"grab\":\"default\"},onKeyDown:y=>{if([\"+\",\"=\",\"-\",\"Home\",\"Escape\",\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\",\"ArrowDown\"].includes(y.key)&&y.currentTarget.focus(),[\"+\",\"=\"].includes(y.key))y.preventDefault(),_(2);else if(y.key===\"-\")y.preventDefault(),_(.5);else if(y.key===\"Home\")y.preventDefault(),k();else if(y.key===\"Escape\")y.preventDefault(),x(),d(null);else if([\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\",\"ArrowDown\"].includes(y.key)){y.preventDefault(),p.current=!0;let S=y.key===\"ArrowLeft\"?-.15:y.key===\"ArrowRight\"?.15:0,C=y.key===\"ArrowUp\"?-.15:y.key===\"ArrowDown\"?.15:0;n(w=>Us(w,w.width*S,w.height*C))}},onPointerDown:y=>{!a||y.button!==0||y.target!==y.currentTarget&&y.target instanceof Element&&y.target.closest('[role=\"button\"]')||(p.current=!0,f.current={id:y.pointerId,x:y.clientX,y:y.clientY,view:i},y.currentTarget.setPointerCapture(y.pointerId))},onPointerMove:y=>{let S=f.current;if(!S||S.id!==y.pointerId)return;let C=Math.max(S.view.width/Math.max(1,o.width),S.view.height/Math.max(1,o.height));n(Us(S.view,-(y.clientX-S.x)*C,-(y.clientY-S.y)*C))},onPointerUp:()=>{f.current=null},onPointerCancel:()=>{f.current=null},onLostPointerCapture:()=>{f.current=null},children:[de(\"g\",{\"aria-hidden\":\"true\",className:\"cd-directory__map-land\",children:[-360,0,360].map(y=>de(\"g\",{transform:`translate(${y} 0)`,children:Sl.map((S,C)=>de(\"path\",{d:S},C))},y))}),Ne(\"g\",{\"aria-hidden\":\"true\",className:\"cd-directory__map-grid\",children:[Array.from({length:13},(y,S)=>-180+S*30).map(y=>de(\"path\",{d:`M${y},-90V90`},`lon-${y}`)),[-60,-30,0,30,60].map(y=>de(\"path\",{d:`M-540,${-y}H540`},`lat-${y}`))]}),b.map((y,S)=>Ne(\"g\",{id:`${h}-marker-${S}`,className:\"cd-directory__map-pin\",role:\"button\",tabIndex:0,\"aria-pressed\":l===y.key,\"aria-label\":`Show ${y.listings.length} ${y.listings.length===1?\"listing\":\"listings\"} near ${y.label}${y.approximate?\", approximate area\":\"\"}`,transform:`translate(${Ei(y.longitude,i)} ${-y.latitude})`,onFocus:()=>{let C=Ei(y.longitude,i),w=-y.latitude,P=24*g;(C<i.x+P||C>i.x+i.width-P||w<i.y+P||w>i.y+i.height-P)&&(p.current=!0,n(q=>jr(y.longitude,-y.latitude,q.width)))},onClick:()=>v(y.key),onKeyDown:C=>{(C.key===\"Enter\"||C.key===\" \")&&(C.preventDefault(),v(y.key))},children:[de(\"circle\",{r:22*g,fill:\"transparent\"}),de(\"circle\",{className:\"cd-directory__map-dot\",r:(y.listings.length>1?Math.max(14,String(y.listings.length).length*4+5):7)*g,vectorEffect:\"non-scaling-stroke\"}),y.listings.length>1?de(\"text\",{\"aria-hidden\":\"true\",textAnchor:\"middle\",dominantBaseline:\"central\",fontSize:12*g,className:\"cd-directory__map-count\",children:y.listings.length}):null]},y.key))]}),Ne(\"p\",{className:\"cd-directory__muted\",children:[\"Land outline: \",de(z,{href:\"https://www.naturalearthdata.com/about/terms-of-use/\",target:\"_blank\",rel:\"noopener noreferrer\",children:\"Natural Earth, public domain\"}),\". The map loads entirely from this site. External Maps links share only the displayed destination when you choose to open them.\"]}),L?Ne(\"section\",{className:\"cd-directory__map-selection\",\"aria-label\":\"Selected map location\",children:[de(\"h3\",{children:L.label}),de(\"p\",{className:\"cd-directory__muted\",children:L.approximate?\"This area includes approximate locations. Open a listing for its published contact and address details.\":\"These listings allow their exact location to be shown.\"}),de(\"ul\",{className:\"cd-directory__saved-searches\",children:L.listings.map((y,S)=>{let C=mr(y.placement),w=C?.sponsoredLinks===!0,P=Ut(y.location),q=ka(y.location);return Ne(\"li\",{children:[de(\"strong\",{children:String(y.title??\"Listing\")}),Ue(y.lastVerifiedAt)?Ne(\"span\",{children:[\"Last verified \",Ue(y.lastVerifiedAt)]}):null,C?de(\"span\",{className:\"cd-directory__disclosure\",children:C.label}):null,Ne(\"div\",{className:\"cd-directory__actions\",children:[typeof y.slug==\"string\"?Ne(z,{className:\"cd-directory__button cd-directory__button--secondary\",href:wt(y.slug),rel:w?\"sponsored\":void 0,children:[\"View \",String(y.title??\"listing\")]}):null,q?de(z,{className:\"cd-directory__button cd-directory__button--secondary\",href:q,target:\"_blank\",rel:w?\"sponsored nofollow noopener noreferrer\":\"nofollow noopener noreferrer\",children:P?.approximate?\"Open approximate area in Maps\":\"Get directions in Maps\"}):null]})]},String(y.id??S))})}),de(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",onClick:()=>{let y=b.findIndex(S=>S.key===l);d(null),document.getElementById(`${h}-marker-${y}`)?.focus()},children:\"Close map location\"})]}):null]})}import{jsx as Le,jsxs as ft}from\"react/jsx-runtime\";import{useEffect as Gy,useId as Wy,useRef as Zy,useState as Oe}from\"react\";async function Pl(e){let t=Lt(await $(`/owner/reviews?listingId=${encodeURIComponent(e)}`),\"records\",0,1);if(t.hasMore||t.records.some(r=>r.listingId!==e))throw new Error(\"Directory returned another listing's review. Reload before editing.\");return t.records[0]?Kr(t.records[0],e):null}function Hs(e,t){let r=typeof e.savedSearch==\"string\"?[e.savedSearch]:new URLSearchParams(t??(typeof window>\"u\"?\"\":window.location.search)).getAll(\"savedSearch\");return r.length===1&&/^search_[a-f0-9]{64}$/.test(r[0])?r[0]:\"\"}function Gs({directory:e,currentFilters:t,onApply:r}){let[i,n]=Oe(!1),[o,s]=Oe([]),[a,c]=Oe(0),[l,d]=Oe(0),[p,m]=Oe(!1),[f,h]=Oe(0),[g,b]=Oe(!1),[L,x]=Oe(!1),[_,k]=Oe(\"\"),[v,M]=Oe(!1),[y,S]=Oe(\"\"),C=Zy(null),[w,P]=Oe(\"\"),q=Wy(),R=Dr();Gy(()=>{if(!i)return;let O=!0,A=new URLSearchParams({limit:\"25\",offset:String(a)});return e&&A.set(\"directory\",e),b(!0),k(\"\"),M(!1),$(`/owner/saved-searches?${A}`).then(H=>{let B=Lt(H,\"records\",a,25),ne=B.records.map(pr);if(O){if(a&&ne.some(jt=>o.some(Z=>Z.id===jt.id)))throw new Error(\"Saved searches repeated a page. Reload before continuing.\");s(a?[...o,...ne]:ne),d(B.nextOffset),m(B.hasMore)}}).catch(H=>{O&&(k(Q(H)),s([]),m(!1),M(H instanceof te&&H.status===401))}).finally(()=>{O&&b(!1)}),()=>{O=!1}},[i,e,a,f]);let j=()=>{c(0),h(O=>O+1)},N=async()=>{if(!e||!t||L||!y.trim())return;x(!0),k(\"\"),P(\"\");let O=JSON.stringify([e,y.trim(),t]);C.current?.fingerprint!==O&&(C.current={fingerprint:O,key:crypto.randomUUID()});let A=C.current.key;try{Co(await $(\"/owner/saved-searches\",{method:\"POST\",headers:{\"Idempotency-Key\":A},body:{name:y.trim(),directoryId:e,filters:t}}),{name:y,directoryId:e,filters:t}),C.current=null,S(\"\"),P(\"Search saved privately to your account.\"),j()}catch(H){k(Q(H)),M(H instanceof te&&H.status===401),H instanceof te&&[401,403].includes(H.status)&&(s([]),m(!1))}finally{x(!1)}},V=async O=>{if(!(L||!await R({title:\"Remove saved search?\",description:`Remove \\u201C${O.name}\\u201D from your account? Your listings and other searches stay available.`,action:\"Remove saved search\",cancelLabel:\"Keep search\",actionVariant:\"secondary\"}))){x(!0),k(\"\"),P(\"\");try{let A=await $(`/owner/saved-searches/${encodeURIComponent(O.id)}`,{method:\"DELETE\",body:{expectedVersion:O.recordVersion}});if(!T(A)||A.removed!==!0||A.id!==O.id)throw new Error(\"The removal returned an invalid receipt. Reload saved searches to check its result.\");P(\"Saved search removed.\"),j()}catch(A){k(Q(A)),M(A instanceof te&&A.status===401),A instanceof te&&[401,403].includes(A.status)&&(s([]),m(!1))}finally{x(!1)}}};return ft(\"details\",{className:\"cd-directory__contact-disclosure\",onToggle:O=>{n(O.currentTarget.open),O.currentTarget.open||c(0)},children:[Le(\"summary\",{children:\"Saved searches\"}),Le(\"p\",{className:\"cd-directory__muted\",children:\"Keep named filters privately in your Cedros Login account and return to them on another visit. No email alerts are sent.\"}),g?Le(\"p\",{role:\"status\",children:\"Loading saved searches\\u2026\"}):null,_?ft(\"div\",{role:\"alert\",children:[Le(\"p\",{children:_}),v?null:Le(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",disabled:g||L,onClick:j,children:\"Reload saved searches\"})]}):null,v?Le(z,{className:\"cd-directory__button\",href:Me(\"/directory\"),children:\"Sign in to save searches\"}):null,w?Le(\"p\",{role:\"status\",children:w}):null,!g&&!_&&!o.length?Le(\"p\",{children:\"No saved searches yet.\"}):null,!v&&e&&t&&r?Le(\"form\",{onSubmit:O=>{O.preventDefault(),N()},children:ft(\"fieldset\",{className:\"cd-directory__form-fields\",disabled:L||g,children:[Le(\"legend\",{children:\"Save these filters\"}),ft(\"label\",{className:\"cd-directory__field\",htmlFor:q,children:[Le(\"span\",{children:\"Saved search name\"}),Le(\"input\",{id:q,maxLength:80,minLength:2,required:!0,value:y,onChange:O=>{S(O.target.value),P(\"\")}})]}),Le(\"p\",{className:\"cd-directory__muted\",children:\"Saving includes your current search text, category and detail filters, including location coordinates when a distance filter is active.\"}),Le(U,{type:\"submit\",className:\"cd-directory__button\",disabled:!y.trim(),children:L?\"Saving\\u2026\":\"Save current search\"})]})}):null,o.length?Le(\"ul\",{className:\"cd-directory__saved-searches\",children:o.map(O=>ft(\"li\",{children:[Le(\"strong\",{children:O.name}),e?null:ft(\"span\",{className:\"cd-directory__muted\",children:[\"Directory when saved: \",O.directoryLabel??O.directoryId]}),ft(\"div\",{className:\"cd-directory__actions\",children:[r?ft(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",disabled:L||g,onClick:()=>{r(O),P(`Applied \\u201C${O.name}\\u201D. Results use the directory's current listings and filters.`)},children:[\"Apply \",O.name]}):null,Le(z,{className:\"cd-directory__button cd-directory__button--secondary\",href:Io(O),children:\"Open saved search\"}),ft(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",disabled:L||g,onClick:()=>{V(O)},children:[\"Remove \",O.name]})]})]},O.id))}):null,p&&!_?Le(U,{type:\"button\",className:\"cd-directory__button cd-directory__button--secondary\",disabled:g||L,onClick:()=>c(l),children:\"Load more saved searches\"}):null]})}import{jsx as be,jsxs as gt}from\"react/jsx-runtime\";import{useEffect as Qy,useId as Yy,useRef as Rl,useState as Al}from\"react\";function Nl({fields:e,tags:t,values:r,onChange:i}){let n=Yy(),o=Rl({values:r,onChange:i});o.current={values:r,onChange:i};let s=Rl(0);Qy(()=>()=>{s.current+=1},[]);let[a,c]=Al(!1),[l,d]=Al(\"\"),p=(m,f,h=\"text\")=>gt(\"label\",{className:\"cd-directory__field\",htmlFor:`${n}-${m}`,children:[be(\"span\",{children:f}),be(\"input\",{id:`${n}-${m}`,type:h,step:h===\"number\"?\"any\":void 0,maxLength:240,value:r[m]??\"\",onChange:g=>i({...r,[m]:g.target.value})})]},m);return gt(\"details\",{className:\"cd-directory__contact-disclosure cd-directory__discovery\",children:[be(\"summary\",{children:\"Filter by listing details or distance\"}),t.length?gt(\"label\",{className:\"cd-directory__field\",htmlFor:`${n}-tag`,children:[be(\"span\",{children:\"Listing tag\"}),gt(\"select\",{\"aria-label\":\"Listing tag\",id:`${n}-tag`,value:r.tagId??\"\",onChange:m=>i({...r,tagId:m.target.value}),children:[be(\"option\",{value:\"\",children:\"All tags\"}),t.map(m=>be(\"option\",{value:String(m.id),children:String(m.name)},String(m.id)))]})]}):null,be(\"div\",{className:\"cd-directory__field-pair\",children:e.filter(m=>m.filterable===!0).map(m=>{let f=`filter.${String(m.key)}`,h=String(m.label??m.key);if(m.type===\"number\")return gt(\"fieldset\",{children:[be(\"legend\",{children:h}),p(`${f}.min`,`${h} minimum`,\"number\"),p(`${f}.max`,`${h} maximum`,\"number\")]},f);if(m.type===\"select\"||m.type===\"checkbox\"){let g=m.type===\"checkbox\"?[{value:\"true\",label:\"Yes\"},{value:\"false\",label:\"No\"}]:Array.isArray(m.options)?m.options.filter(T):[];return gt(\"label\",{className:\"cd-directory__field\",htmlFor:`${n}-${f}`,children:[be(\"span\",{children:h}),gt(\"select\",{\"aria-label\":h,id:`${n}-${f}`,value:r[f]??\"\",onChange:b=>i({...r,[f]:b.target.value}),children:[be(\"option\",{value:\"\",children:\"Any answer\"}),g.map(b=>be(\"option\",{value:String(b.value),children:String(b.label)},String(b.value)))]})]},f)}return p(f,h,m.type===\"date\"?\"date\":\"text\")})}),gt(\"fieldset\",{children:[be(\"legend\",{children:\"Listings near a location\"}),be(\"p\",{className:\"cd-directory__muted\",children:\"Distances use published coordinates. Areas with a private address use rounded coordinates and approximate distances. The location stays in this search unless you explicitly save its filters to your account.\"}),be(U,{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",disabled:a,onClick:()=>{if(d(\"\"),typeof navigator>\"u\"||!navigator.geolocation){d(\"Location is unavailable in this browser. Enter coordinates below.\");return}let m=++s.current;c(!0);let f=()=>{m===s.current&&(c(!1),d(\"Your location could not be obtained. Allow location access or enter coordinates below.\"))};try{navigator.geolocation.getCurrentPosition(h=>{if(m!==s.current)return;c(!1);let g=o.current;g.onChange({...g.values,latitude:String(h.coords.latitude),longitude:String(h.coords.longitude),radiusKm:g.values.radiusKm||\"25\"})},f,{enableHighAccuracy:!1,timeout:1e4,maximumAge:6e4})}catch{f()}},children:a?\"Finding your location\\u2026\":\"Use my location\"}),l?be(\"p\",{role:\"alert\",children:l}):null,gt(\"div\",{className:\"cd-directory__field-pair\",children:[p(\"latitude\",\"Search latitude\",\"number\"),p(\"longitude\",\"Search longitude\",\"number\"),p(\"radiusKm\",\"Radius in kilometers\",\"number\")]}),Object.keys(r).some(m=>[\"latitude\",\"longitude\",\"radiusKm\"].includes(m)&&r[m])&&!bt(r).latitude?be(\"p\",{role:\"status\",children:\"Enter latitude, longitude and radius together to apply the distance filter.\"}):null]}),be(U,{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",onClick:()=>{s.current+=1,c(!1),d(\"\"),i({})},children:\"Clear detail and distance filters\"})]})}import{jsx as cr,jsxs as Fr}from\"react/jsx-runtime\";import{jsx as et,jsxs as ji}from\"react/jsx-runtime\";import{useEffect as Dl,useId as Xy,useRef as uo,useState as Or}from\"react\";function mo({label:e,value:t,options:r,onChange:i}){let n=Xy(),o=uo(null),s=uo(null),a=uo(null),c=uo(null),[l,d]=Or(!1),[p,m]=Or(\"\"),[f,h]=Or(0),[g,b]=Or(!1),[L,x]=Or(330),[_,k]=Or(null),v=r.length>=10,M=r.filter(R=>R.label.toLocaleLowerCase().includes(p.toLocaleLowerCase())),y=r.find(R=>R.value===t);function S(R=!0){d(!1),R&&s.current?.focus()}function C(){let R=o.current?.getBoundingClientRect();if(!R)return;let j=window.visualViewport,N=j?.offsetTop??0,V=N+(j?.height??window.innerHeight),O=Math.max(0,V-R.bottom-12),A=Math.max(0,R.top-N-12),H=O<330&&A>O,B=H?A:O,ne=B<(v?112:64);b(H),k(ne?N+8-R.top:null),x(ne?Math.max(0,V-N-16):B)}function w(){m(\"\"),h(Math.max(0,r.findIndex(R=>R.value===t))),C(),d(!0)}Dl(()=>{if(!l)return;(v?c.current:a.current)?.focus();function R(N){N.target instanceof Node&&!o.current?.contains(N.target)&&S(!1)}document.addEventListener(\"pointerdown\",R),window.addEventListener(\"resize\",C),window.addEventListener(\"scroll\",C,{capture:!0,passive:!0});let j=window.visualViewport;return j?.addEventListener(\"resize\",C),j?.addEventListener(\"scroll\",C),()=>{document.removeEventListener(\"pointerdown\",R),window.removeEventListener(\"resize\",C),window.removeEventListener(\"scroll\",C,!0),j?.removeEventListener(\"resize\",C),j?.removeEventListener(\"scroll\",C)}},[l,v]),Dl(()=>{let R=a.current,j=document.getElementById(`${n}-option-${f}`);if(!l||!R||!j)return;let N=R.getBoundingClientRect(),V=j.getBoundingClientRect();V.top<N.top||V.height>N.height?R.scrollTop+=V.top-N.top:V.bottom>N.bottom&&(R.scrollTop+=V.bottom-N.bottom)},[f,l,n,L,_,g]);function P(R){i(R.value),S()}function q(R){if(R.key===\"Escape\")R.preventDefault(),S();else if(R.key===\"Tab\")S(!1);else if(R.key===\"ArrowDown\"||R.key===\"ArrowUp\")R.preventDefault(),h(j=>Math.max(0,Math.min(M.length-1,j+(R.key===\"ArrowDown\"?1:-1))));else if(!v&&(R.key===\"Home\"||R.key===\"End\"))R.preventDefault(),h(R.key===\"Home\"?0:M.length-1);else if(R.key===\"Enter\"||!v&&R.key===\" \")R.preventDefault(),M[f]&&P(M[f]);else if(!v&&R.key.length===1){let j=M.findIndex(N=>N.label.toLocaleLowerCase().startsWith(R.key.toLocaleLowerCase()));j>=0&&h(j)}}return ji(\"div\",{className:\"cd-directory__field cd-directory__field--sort cd-filter\",ref:o,onBlur:R=>{R.currentTarget.contains(R.relatedTarget)||d(!1)},children:[et(\"span\",{id:`${n}-label`,children:e}),ji(\"button\",{ref:s,type:\"button\",className:\"cd-filter__trigger\",\"aria-labelledby\":`${n}-label ${n}-value`,\"aria-expanded\":l,\"aria-haspopup\":\"listbox\",\"aria-controls\":l?`${n}-list`:void 0,onClick:()=>l?S():w(),onKeyDown:R=>{[\"ArrowDown\",\"ArrowUp\"].includes(R.key)&&(R.preventDefault(),w())},children:[et(\"span\",{id:`${n}-value`,children:y?.label??\"Choose\"}),et(\"svg\",{\"aria-hidden\":\"true\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:et(\"path\",{d:\"m6 9 6 6 6-6\"})})]}),l?ji(\"div\",{className:`cd-filter__popup${g?\" cd-filter__popup--above\":\"\"}`,style:{maxHeight:L,top:_??void 0,bottom:_===null?void 0:\"auto\"},onKeyDown:q,children:[v?et(\"input\",{ref:c,role:\"combobox\",\"aria-label\":`Search ${e.toLowerCase()}`,\"aria-expanded\":\"true\",\"aria-controls\":`${n}-list`,\"aria-autocomplete\":\"list\",\"aria-activedescendant\":M[f]?`${n}-option-${f}`:void 0,placeholder:`Search ${e.toLowerCase()}\\u2026`,value:p,onChange:R=>{m(R.target.value),h(0)}}):null,ji(\"div\",{ref:a,id:`${n}-list`,role:\"listbox\",\"aria-labelledby\":`${n}-label`,tabIndex:v?void 0:-1,\"aria-activedescendant\":!v&&M[f]?`${n}-option-${f}`:void 0,children:[M.map((R,j)=>ji(\"div\",{id:`${n}-option-${j}`,role:\"option\",\"aria-selected\":t===R.value,className:`cd-filter__option${j===f?\" cd-filter__option--active\":\"\"}`,onPointerDown:N=>N.preventDefault(),onPointerMove:()=>h(j),onClick:()=>P(R),children:[et(\"span\",{\"aria-hidden\":\"true\",children:t===R.value?et(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:et(\"path\",{d:\"m5 12 4 4L19 6\"})}):null}),et(\"span\",{children:R.label})]},R.value)),M.length?null:et(\"p\",{className:\"cd-filter__empty\",role:\"status\",children:\"No matching categories\"})]})]}):null]})}function Vl({heading:e,introduction:t,submitLabel:r,directory:i}){return Fr(\"header\",{className:\"cd-directory__browse-header\",children:[Fr(\"div\",{children:[cr(\"h2\",{children:Ws(e,\"Directory\")}),cr(\"p\",{className:\"cd-directory__muted\",children:Ws(t,\"Explore projects, services, and communities.\")})]}),Fr(z,{className:\"cd-directory__button cd-directory__button--ghost\",href:se(\"/directory/submit\",i),children:[cr(\"span\",{\"aria-hidden\":\"true\",children:\"+\"}),\" \",Ws(r,\"Submit a listing\")]})]})}function ql({categories:e,selected:t,onChange:r}){let i=e.filter(n=>typeof n.id==\"string\"&&n.id.trim());return i.length?Fr(\"nav\",{className:\"cd-directory__categories\",\"data-many\":i.length>6,\"aria-label\":\"Directory categories\",children:[Fr(\"div\",{className:\"cd-directory__category-filters\",children:[cr(U,{type:\"button\",className:\"cd-directory__category-filter\",\"aria-pressed\":!t,onClick:()=>r(\"\"),children:\"All categories\"}),i.map(n=>{let o=String(n.id),s=n.listingCount;return Fr(U,{type:\"button\",className:\"cd-directory__category-filter\",\"aria-pressed\":t===o,onClick:()=>r(o),children:[String(n.name??n.slug??\"Category\"),typeof s==\"number\"&&Number.isInteger(s)&&s>=0?cr(\"span\",{className:\"cd-directory__category-count\",children:Zi(s)}):null]},o)})]}),cr(\"div\",{className:\"cd-directory__category-picker\",children:cr(mo,{label:\"Category\",value:t,onChange:r,options:[{value:\"\",label:\"All categories\"},...i.map(n=>({value:String(n.id),label:String(n.name??n.slug??\"Category\")}))]})})]}):null}function Ws(e,t){return typeof e==\"string\"&&e.trim()?e.trim():t}import{jsx as El}from\"react/jsx-runtime\";import{useEffect as Jy,useState as e1}from\"react\";var tt=new Map,Zs=0;function Qs(e,t){tt.delete(e),Zs-=t.bytes,t.url&&URL.revokeObjectURL(t.url)}function po(e){let t=tt.get(e);return t?.url?t.expiresAt<=Date.now()?(Qs(e,t),null):(tt.delete(e),tt.set(e,t),t.url):null}function yo(e){let t=po(e);if(t)return Promise.resolve(t);let r=tt.get(e);if(r)return r.promise;for(;tt.size>=128;){let n=[...tt].find(([,o])=>o.url);if(!n)return Promise.resolve(e);Qs(...n)}let i={promise:Promise.resolve(e),bytes:0,expiresAt:0};return tt.set(e,i),i.promise=(async()=>{let n=new AbortController,o=setTimeout(()=>n.abort(),2e3);try{let s=await fetch(e,{signal:n.signal,credentials:\"same-origin\"});if(!s.ok||/\\b(?:no-store|private)\\b/i.test(s.headers.get(\"cache-control\")??\"\"))return e;let a=s.headers.get(\"content-type\")??\"\",c=Number(s.headers.get(\"content-length\"));if(!a.toLowerCase().startsWith(\"image/\")||c>1048576||!s.body)return e;let l=s.body.getReader(),d=[],p=0;try{for(;;){let{done:f,value:h}=await l.read();if(f)break;if(p+=h.byteLength,p>1048576)return await l.cancel(),e;d.push(new Uint8Array(h))}}finally{l.releaseLock()}let m=new Blob(d,{type:a});for(;Zs+m.size>4194304;){let f=[...tt].find(([,h])=>h.url);if(!f)return e;Qs(...f)}return i.url=URL.createObjectURL(m),i.bytes=m.size,i.expiresAt=Date.now()+3e5,Zs+=m.size,i.url}catch{return e}finally{clearTimeout(o),n.abort(),i.url||tt.delete(e)}})(),i.promise}function fo({src:e,title:t,alt:r}){let[i,n]=e1(()=>({source:e,url:e?po(e):null,failed:!1})),o=i.source===e?i:{source:e,url:e?po(e):null,failed:!1};return Jy(()=>{let s=!1;return e&&yo(e).then(a=>{s||n({source:e,url:a,failed:!1})}),()=>{s=!0}},[e]),!o.url||o.failed?El(\"span\",{\"aria-hidden\":\"true\",className:\"cd-directory__logo-placeholder\",children:(Array.from(t.trim())[0]??\"\").toUpperCase()}):El(\"img\",{className:\"cd-directory__card-logo\",src:o.url,alt:r,width:\"56\",height:\"56\",loading:\"eager\",decoding:\"async\",onError:()=>n({...o,failed:!0})})}import{jsx as De,jsxs as $r}from\"react/jsx-runtime\";import{useState as Oi}from\"react\";function lr(e){return Array.isArray(e)?e.flatMap(t=>{if(!T(t)||t.type!==void 0&&t.type!==\"image\"&&t.type!==\"video\")return[];let r=Do(t.url);if(!r)return[];let i=t.type===\"video\"?\"video\":\"image\",n=i===\"video\"?Do(t.poster):null;return[{type:i,url:r,alt:typeof t.alt==\"string\"?t.alt:\"\",...n?{poster:n}:{}}]}):[]}function Ur(e){return lr(e).find(t=>t.type===\"image\")}function t1(e){let t=Ur(e);return lr(e).find(r=>r.type===\"image\"&&r.url!==t?.url)}function jl({media:e}){let t=t1(e),[r,i]=Oi(null);return!t||t.url===r?null:De(\"img\",{className:\"cd-directory__listing-preview\",src:t.url,alt:t.alt,loading:\"lazy\",decoding:\"async\",onError:()=>i(t.url)})}function Ol({media:e}){let t=lr(e),[r,i]=Oi(3);return t.length?$r(\"section\",{className:\"cd-directory__media\",\"aria-label\":\"Listing images and videos\",children:[De(\"h3\",{children:\"Images and videos\"}),De(\"div\",{className:\"cd-directory__media-grid\",\"data-single\":t.length===1,children:t.slice(0,r).map((n,o)=>De(r1,{item:n,index:o},`${o}-${n.url}`))}),t.length>r?$r(\"button\",{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",onClick:()=>i(n=>n+12),children:[\"Show more media (\",t.length-r,\" remaining)\"]}):null]}):null}function r1({item:e,index:t}){let[r,i]=Oi(!1),[n,o]=Oi(!1),[s,a]=Oi(!1),c=e.alt||`${e.type===\"video\"?\"Video\":\"Image\"} ${t+1}`;return $r(\"figure\",{className:\"cd-directory__media-item\",children:[n?$r(\"div\",{className:\"cd-directory__media-unavailable\",role:\"status\",children:[De(\"span\",{children:e.type===\"image\"?\"Image unavailable\":\"Video unavailable\"}),De(\"span\",{children:\"Try opening the original below.\"})]}):e.type===\"image\"?De(\"a\",{href:e.url,rel:\"nofollow noopener noreferrer\",target:\"_blank\",\"aria-label\":`Open ${c}`,children:De(\"img\",{src:e.url,alt:c,loading:\"lazy\",decoding:\"async\",onError:()=>o(!0)})}):r?De(\"video\",{src:e.url,poster:e.poster,controls:!0,playsInline:!0,preload:\"none\",\"aria-label\":c,onError:()=>o(!0),children:De(\"a\",{href:e.url,children:\"Open video\"})}):$r(\"button\",{type:\"button\",className:\"cd-directory__video-preview\",onClick:()=>i(!0),\"aria-label\":`Play ${c}`,children:[e.poster&&!s?De(\"img\",{src:e.poster,alt:\"\",loading:\"lazy\",decoding:\"async\",onError:()=>a(!0)}):null,De(\"span\",{children:\"Play video\"})]}),e.alt?De(\"figcaption\",{children:e.alt}):null,e.type===\"video\"||n?$r(\"a\",{href:e.url,rel:\"nofollow noopener noreferrer\",target:\"_blank\",children:[\"Open \",e.type,\" separately\"]}):null]})}import{jsx as Ce,jsxs as Te}from\"react/jsx-runtime\";import{useEffect as Fl,useId as i1,useLayoutEffect as n1,useRef as Fi,useState as $l}from\"react\";function Ys(e){let t;try{t=JSON.parse(String(e??\"[]\"))}catch{throw new Error(\"Images and videos must be a valid media array.\")}let r=_a(t);if(r.length)throw new Error(r.join(\" \"));return t}function Xs({initialMedia:e,admin:t=!1}){let r=Array.isArray(e)?e:[],[i,n]=$l(r),[o,s]=$l([]),a=i1(),c=Fi(null),l=Fi(null),d=Fi(!1),p=Fi(!1),m=Fi(null);n1(()=>{let L=m.current;L!==null&&(m.current=null,document.getElementById(`${a}-${L}-url`)?.focus())},[a,i]),Fl(()=>{d.current&&!p.current&&c.current?.dispatchEvent(new Event(\"input\",{bubbles:!0})),p.current=!1,d.current=!0},[i]),Fl(()=>{let L=c.current?.form,x=()=>{s([]),JSON.stringify(i)!==JSON.stringify(r)&&(p.current=!0,n(r))};return L?.addEventListener(\"reset\",x),()=>L?.removeEventListener(\"reset\",x)},[e,i]);let f=t?\"cedros-data-field\":\"cd-directory__field\",h=t?\"cedros-data-label\":void 0,g=t?\"cedros-data-btn cedros-data-btn--secondary cedros-data-btn--sm\":\"cd-directory__button cd-directory__button--secondary\",b=(L,x,_)=>n(k=>k.map((v,M)=>{if(M!==L)return v;let y={...v,[x]:_};return!_&&x!==\"url\"&&delete y[x],x===\"type\"&&_===\"image\"&&delete y.poster,y}));return Te(\"fieldset\",{className:\"cd-directory-media-editor\",children:[Ce(\"legend\",{children:\"Images and videos\"}),Ce(\"p\",{id:`${a}-help`,className:t?\"cedros-data-field__description\":\"cd-directory__field-help\",children:\"Use hosted HTTPS URLs or paths on this site. The first image is the listing logo. Videos play only when requested.\"}),Ce(\"input\",{ref:c,name:\"mediaJson\",type:\"hidden\",value:JSON.stringify(i)}),i.map((L,x)=>Te(\"fieldset\",{children:[Te(\"legend\",{children:[\"Media \",x+1]}),Te(\"details\",{open:o.includes(x),onInvalid:_=>{_.currentTarget.open=!0,s(k=>k.includes(x)?k:[...k,x])},children:[Te(\"summary\",{onClick:_=>{_.preventDefault(),s(k=>k.includes(x)?k.filter(v=>v!==x):[...k,x])},children:[Ce(\"strong\",{children:L.type===\"video\"?\"Video\":i.findIndex(_=>_.type!==\"video\")===x?\"Listing logo\":\"Image\"}),Ce(\"span\",{title:L.alt||L.url,children:L.alt||L.url||\"Add a media URL\"})]}),Te(\"div\",{className:\"cd-directory-media-editor__fields\",children:[Te(\"label\",{className:f,htmlFor:`${a}-${x}-type`,children:[Ce(\"span\",{className:h,id:`${a}-${x}-type-label`,children:\"Media type\"}),Te(\"select\",{className:t?\"cedros-data-select\":void 0,\"aria-labelledby\":`${a}-${x}-type-label`,id:`${a}-${x}-type`,value:L.type??\"image\",onChange:_=>b(x,\"type\",_.target.value),children:[Ce(\"option\",{value:\"image\",children:\"Image\"}),Ce(\"option\",{value:\"video\",children:\"Video\"})]})]}),Te(\"label\",{className:f,htmlFor:`${a}-${x}-url`,children:[Ce(\"span\",{className:h,children:\"Media URL\"}),Ce(\"input\",{className:t?\"cedros-data-input\":void 0,id:`${a}-${x}-url`,\"aria-describedby\":`${a}-help`,maxLength:2048,required:!0,value:L.url,onChange:_=>b(x,\"url\",_.target.value)})]}),Te(\"label\",{className:f,htmlFor:`${a}-${x}-alt`,children:[Ce(\"span\",{className:h,children:\"Media description (optional)\"}),Ce(\"input\",{className:t?\"cedros-data-input\":void 0,id:`${a}-${x}-alt`,maxLength:500,value:L.alt??\"\",onChange:_=>b(x,\"alt\",_.target.value)})]}),L.type===\"video\"?Te(\"label\",{className:f,htmlFor:`${a}-${x}-poster`,children:[Ce(\"span\",{className:h,children:\"Video poster URL (optional)\"}),Ce(\"input\",{className:t?\"cedros-data-input\":void 0,id:`${a}-${x}-poster`,maxLength:2048,value:L.poster??\"\",onChange:_=>b(x,\"poster\",_.target.value)})]}):null,Te(\"div\",{className:t?\"cedros-data-actions\":\"cd-directory__actions\",children:[Te(\"button\",{className:g,type:\"button\",onClick:()=>{n(_=>_.filter((k,v)=>v!==x)),s(_=>_.filter(k=>k!==x).map(k=>k>x?k-1:k)),l.current?.focus()},children:[\"Remove media \",x+1]}),x>0?Te(\"button\",{className:g,type:\"button\",onClick:()=>{m.current=x-1,n(_=>{let k=[..._];return[k[x-1],k[x]]=[k[x],k[x-1]],k}),s(_=>_.map(k=>k===x?x-1:k===x-1?x:k))},children:[\"Move media \",x+1,\" up\"]}):null]})]})]})]},x)),Ce(\"button\",{ref:l,className:g,type:\"button\",onClick:()=>{m.current=i.length,s(L=>[...L,i.length]),n(L=>[...L,{type:\"image\",url:\"\"}])},children:\"Add image or video\"})]})}import{jsx as Ke,jsxs as ur}from\"react/jsx-runtime\";function Bl(e){return e.filter(t=>{if(t.type===\"textarea\"||t.type===\"url\"||String(t.label??\"\").length>60)return!1;let r=t.value;return typeof r==\"boolean\"||typeof r==\"number\"&&Number.isFinite(r)||typeof r==\"string\"&&!!r.trim()&&r.length<=80}).slice(0,2)}function $i({fields:e,sponsored:t=!1}){return e.length?Ke(\"dl\",{className:\"cd-directory__facts\",children:e.map(r=>ur(\"div\",{className:r.type===\"textarea\"?\"cd-directory__fact-section\":void 0,children:[Ke(\"dt\",{children:String(r.label??\"Details\")}),Ke(\"dd\",{children:o1(r,t)})]},String(r.key??r.label??\"field\")))}):null}function o1(e,t=!1){let r=Ia(e);if(r)return r.length?Ke(\"ul\",{children:r.map(({text:o,href:s},a)=>Ke(\"li\",{children:s?Ke(\"a\",{href:s,title:o,rel:t?\"sponsored nofollow noopener noreferrer\":\"nofollow noopener noreferrer\",target:\"_blank\",children:Ul(s)}):o},a))}):\"Not provided\";if(e.value===void 0||e.value===null||e.value===\"\")return\"Not provided\";if(typeof e.value==\"number\"&&!Number.isFinite(e.value))return\"Unavailable\";if(typeof e.value==\"number\"&&Number.isFinite(e.value)){let o=Math.abs(e.value)>=1e4,s=1e-6.toLocaleString(void 0,{maximumFractionDigits:6}),a=e.value!==0&&Math.abs(e.value)<1e-6?e.value>0?`< ${s}`:`> \\u2212${s}`:e.value.toLocaleString(void 0,{notation:o?\"compact\":\"standard\",maximumFractionDigits:o?2:6});return o||Number(e.value.toFixed(6))!==e.value?ur(\"details\",{className:\"cd-directory__exact-value\",children:[Ke(\"summary\",{\"aria-label\":`${a}, show exact value`,children:a}),ur(\"span\",{children:[\"Exact value: \",String(e.value)]})]}):a}let i=(e.type===\"date\"?Ue(e.value):null)??s1(e.value),n=e.type===\"url\"?nt(i):null;return n?Ke(\"a\",{href:n,rel:t?\"sponsored nofollow noopener noreferrer\":\"nofollow noopener noreferrer\",target:\"_blank\",children:Ul(n)}):e.type!==\"textarea\"?i:i.split(/(https?:\\/\\/[^\\s<>]+)/g).map((o,s)=>{let a=o.replace(/[.,;!?]+$/,\"\"),c=/^https?:\\/\\//.test(a)?nt(a):null;return c&&a.length>100?ur(\"div\",{className:\"cd-directory__long-link\",children:[ur(\"a\",{href:c,rel:t?\"sponsored nofollow noopener noreferrer\":\"nofollow noopener noreferrer\",target:\"_blank\",children:[\"Open \",new URL(c).hostname]}),ur(\"details\",{children:[Ke(\"summary\",{children:\"Show full link\"}),Ke(\"span\",{children:a})]}),o.slice(a.length)]},s):c?ur(\"span\",{children:[Ke(\"a\",{href:c,rel:t?\"sponsored nofollow noopener noreferrer\":\"nofollow noopener noreferrer\",target:\"_blank\",children:a}),o.slice(a.length)]},s):o})}function Ul(e){let t=new URL(e),r=`${t.hostname.replace(/^www\\./,\"\")}${t.pathname===\"/\"?\"\":t.pathname.replace(/\\/$/,\"\")}`;return r.length>60?`${r.slice(0,59)}\\u2026`:r}function s1(e){return typeof e==\"boolean\"?e?\"Yes\":\"No\":Array.isArray(e)?e.join(\", \"):String(e??\"\")}import{jsx as W,jsxs as Pe,Fragment as a1}from\"react/jsx-runtime\";import{useEffect as Js,useId as d1,useRef as c1,useState as ce}from\"react\";function zl({listingId:e}){return W(ao,{publicSurface:!0,children:W(l1,{listingId:e})},e)}function l1({listingId:e}){let t=Dr(),[r,i]=ce(null),[n,o]=ce(\"\"),[s,a]=ce(0),[c,l]=ce(0),[d,p]=ce(!1),[m,f]=ce(!1),[h,g]=ce(\"\"),[b,L]=ce(!1),[x,_]=ce(!1),[k,v]=ce(null),M=d1(),y=c1(0),S=w=>{w instanceof te&&[401,403,404,410].includes(w.status)&&(y.current++,v(null),g(\"\"))};Js(()=>{let w=!0;return p(!0),o(\"\"),$(`/public/listings/${encodeURIComponent(e)}/reviews?offset=${s}&limit=25`).then(P=>{if(typeof P.reviewsEnabled!=\"boolean\"||typeof P.savedListingsEnabled!=\"boolean\"||!Array.isArray(P.reviews)||!T(P.pagination))throw new Error(\"Reviews returned an invalid response. Retry before continuing.\");let q=Lt(P,\"reviews\",s,25).records.map(R=>Kr(R));w&&i(R=>({...P,reviews:s&&R?[...R.reviews,...q.filter(j=>!R.reviews.some(N=>N.id===j.id))]:q}))}).catch(P=>{w&&(S(P),o(Q(P)))}).finally(()=>{w&&p(!1)}),()=>{w=!1}},[e,s,c]);let C=w=>{S(w),_(!0),g(Q(w)),L(w instanceof te&&w.status===401)};return n?W(\"section\",{className:\"cd-directory__community\",\"aria-label\":\"Reader activity\",children:W(G,{label:n,tone:\"alert\",actionLabel:\"Retry reviews\",onAction:()=>l(w=>w+1)})}):!r||!r.reviewsEnabled&&!r.savedListingsEnabled?null:Pe(\"section\",{className:\"cd-directory__community\",\"aria-label\":\"Reader activity\",children:[r.savedListingsEnabled?W(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:m,onClick:()=>{let w=y.current;f(!0),_(!1),g(\"\"),L(!1),$(`/owner/saved-listings/${encodeURIComponent(e)}`,{method:\"PUT\",body:{}}).then(P=>{if(w===y.current){if(P.saved!==!0)throw new Error(\"Saving returned an invalid receipt. Check My Listing Activity before retrying.\");g(\"Listing saved. Find it in My Listing Activity.\")}}).catch(P=>{w===y.current&&C(P)}).finally(()=>f(!1))},children:\"Save listing\"}):null,r.reviewsEnabled?Pe(a1,{children:[W(\"h3\",{children:\"Reader reviews\"}),W(\"p\",{className:\"cd-directory__muted\",children:\"Reviews reflect readers' experiences. The directory team moderates them; a signed-in account does not verify a purchase.\"}),!r.reviews.length&&!d&&!r.pagination.hasMore?W(\"p\",{className:\"cd-directory__muted\",children:\"No approved reviews yet.\"}):null,r.reviews.length?W(\"div\",{className:\"cd-directory__reviews\",children:r.reviews.map(w=>Pe(\"article\",{className:\"cd-directory__review\",children:[Pe(\"h4\",{children:[String(w.displayName),\" \\xB7 \",String(w.rating),\" out of 5\"]}),W(\"p\",{children:String(w.body)})]},String(w.id)))}):null,r.pagination.hasMore?W(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:d,onClick:()=>a(r.pagination.nextOffset),children:\"Load more reviews\"}):null,Pe(\"details\",{className:\"cd-directory__contact-disclosure\",children:[W(\"summary\",{children:\"Write or update your review\"}),W(\"form\",{onSubmit:w=>{let P=y.current;w.preventDefault();let q=new FormData(w.currentTarget);f(!0),_(!1),g(\"\"),L(!1),$(`/public/listings/${encodeURIComponent(e)}/reviews`,{method:\"POST\",body:{rating:Number(q.get(\"rating\")),displayName:q.get(\"name\"),body:q.get(\"body\"),...k?{expectedVersion:k.recordVersion}:{}}}).then(R=>{if(P!==y.current)return;let j=Kr(R,e);if(j.status!==\"pending\")throw new Error(\"The review returned an invalid receipt. Load your saved review before retrying.\");v(j),g(\"Review sent for moderation. It will appear publicly only after approval.\")}).catch(R=>{P===y.current&&C(R)}).finally(()=>f(!1))},children:Pe(\"fieldset\",{className:\"cd-directory__form-fields\",disabled:m,children:[W(\"legend\",{children:\"Your experience\"}),Pe(\"label\",{className:\"cd-directory__field\",htmlFor:`${M}-name`,children:[W(\"span\",{children:\"Public display name\"}),W(\"input\",{id:`${M}-name`,name:\"name\",required:!0,minLength:2,maxLength:80,defaultValue:String(k?.displayName??\"\")})]}),Pe(\"label\",{className:\"cd-directory__field\",htmlFor:`${M}-rating`,children:[W(\"span\",{children:\"Rating\"}),W(\"select\",{\"aria-label\":\"Rating\",id:`${M}-rating`,name:\"rating\",defaultValue:String(k?.rating??5),children:[5,4,3,2,1].map(w=>Pe(\"option\",{value:w,children:[w,\" out of 5\"]},w))})]}),Pe(\"label\",{className:\"cd-directory__field\",htmlFor:`${M}-body`,children:[W(\"span\",{children:\"Review\"}),W(\"textarea\",{id:`${M}-body`,name:\"body\",required:!0,minLength:10,maxLength:4e3,defaultValue:String(k?.body??\"\")})]}),W(U,{className:\"cd-directory__button\",type:\"submit\",children:m?\"Sending\\u2026\":\"Send review for moderation\"}),W(U,{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",onClick:()=>{let w=y.current;f(!0),_(!1),g(\"\"),Pl(e).then(P=>{w===y.current&&(v(P),g(P?`Your review is ${String(P.status)}.${typeof P.reviewNote==\"string\"?` ${P.reviewNote}`:\"\"}`:\"You have not submitted a review for this listing.\"))}).catch(P=>{w===y.current&&C(P)}).finally(()=>f(!1))},children:\"Load my saved review\"}),k?W(U,{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",onClick:async()=>{let w=y.current;await t({title:\"Withdraw your review?\",description:\"This removes your review from the directory. A replacement must be reviewed again.\",action:\"Withdraw review\",danger:!0})&&w===y.current&&(f(!0),_(!1),g(\"\"),$(`/owner/reviews/${encodeURIComponent(e)}`,{method:\"DELETE\",body:{expectedVersion:k.recordVersion}}).then(P=>{if(w===y.current){if(P.withdrawn!==!0)throw new Error(\"The review withdrawal returned an invalid receipt. Reload your saved review before retrying.\");v(null),g(\"Your review was withdrawn.\"),a(0),l(q=>q+1)}}).catch(P=>{w===y.current&&C(P)}).finally(()=>f(!1)))},children:\"Withdraw my review\"}):null]})},`${y.current}:${String(k?.recordVersion??\"new\")}`)]})]}):null,h?W(G,{label:h,tone:x?\"alert\":\"status\"}):null,b?W(z,{href:Me(\"/directory/owner\"),children:\"Sign in with Cedros Login\"}):null]})}function Kl(){let[e,t]=ce(!1),[r,i]=ce([]),[n,o]=ce(0),[s,a]=ce(0),[c,l]=ce(!1),[d,p]=ce(!1),[m,f]=ce(\"\"),[h,g]=ce(0);return Js(()=>{if(!e)return;let b=!0;return p(!0),f(\"\"),$(`/owner/saved-listings?limit=25&offset=${n}`).then(L=>{let x=Lt(L,\"listings\",n,25);b&&(i(_=>n?[..._,...L.listings.filter(k=>!_.some(v=>v.id===k.id))]:L.listings),l(x.hasMore),a(x.nextOffset))}).catch(L=>{b&&(i([]),l(!1),f(Q(L)))}).finally(()=>{b&&p(!1)}),()=>{b=!1}},[e,n,h]),Pe(\"details\",{className:\"cd-directory__contact-disclosure cd-directory__saved-listings\",onToggle:b=>{t(b.currentTarget.open),b.currentTarget.open||(i([]),o(0),a(0),l(!1))},children:[W(\"summary\",{children:\"Saved listings\"}),d?W(\"p\",{className:\"cd-directory__muted\",role:\"status\",children:\"Loading saved listings\\u2026\"}):null,!d&&!r.length&&!m&&!c?W(\"p\",{className:\"cd-directory__muted\",children:\"No available saved listings. Save a listing from its detail page.\"}):null,r.map(b=>Pe(\"article\",{className:\"cd-directory__saved-listing\",children:[W(z,{href:wt(String(b.slug)),children:String(b.title)}),W(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:d,onClick:()=>{p(!0),f(\"\"),$(`/owner/saved-listings/${encodeURIComponent(String(b.id))}`,{method:\"DELETE\",body:{}}).then(L=>{if(L.saved!==!1)throw new Error(\"Removal returned an invalid receipt. Reload saved listings before retrying.\");i([]),o(0),a(0),g(x=>x+1)}).catch(L=>{L instanceof te&&[401,403].includes(L.status)&&(i([]),l(!1)),f(Q(L))}).finally(()=>p(!1))},children:\"Remove saved listing\"})]},String(b.id))),c?W(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:d,onClick:()=>o(s),children:\"Load more saved listings\"}):null,m?W(G,{label:m,tone:\"alert\",actionLabel:\"Retry saved listings\",onAction:()=>{i([]),o(0),a(0),g(b=>b+1)}}):null]})}function Hl({listingId:e}){let[t,r]=ce(!1),[i,n]=ce(null),[o,s]=ce(\"\"),[a,c]=ce(0);return Js(()=>{if(!t)return;let l=!0;return n(null),s(\"\"),$(`/owner/listings/${encodeURIComponent(e)}/analytics`).then(d=>{let p=ko(d);l&&n(p)}).catch(d=>{l&&s(Q(d))}),()=>{l=!1}},[t,e,a]),Pe(\"details\",{className:\"cd-directory__owner-analytics\",onToggle:l=>r(l.currentTarget.open),children:[W(\"summary\",{children:\"Listing activity counts\"}),i?W(\"dl\",{className:\"cd-directory__facts\",children:[[\"Inquiries\",\"inquiries\"],[\"Approved reviews\",\"approvedReviews\"],[\"Saved by readers\",\"savedByReaders\"]].map(([l,d])=>Pe(\"div\",{children:[W(\"dt\",{children:l}),W(\"dd\",{children:String(i[d])})]},d))}):!o&&t?W(\"p\",{className:\"cd-directory__muted\",role:\"status\",children:\"Loading activity counts\\u2026\"}):null,o?W(G,{label:o,tone:\"alert\",actionLabel:\"Retry activity counts\",onAction:()=>c(l=>l+1)}):null]})}import{jsx as E,jsxs as Y}from\"react/jsx-runtime\";import{useCallback as ta,useEffect as u1,useId as m1,useMemo as ea,useState as go}from\"react\";function Gl({props:e,ui:t}){let r=T(e.initialListing)?e.initialListing:e.initialListing===null?null:void 0,i=Wr(e),n=ta(()=>$(`/public/listings/${encodeURIComponent(i??\"\")}`),[i]),o=yt(`listing:${i??String(r?.id??\"\")}`,r,i?n:null),s={...o,listing:o.data??null};return Y(dr,{state:s.listing?\"results\":s.loading?\"loading\":s.error?\"error\":\"empty\",children:[s.loading?Y(\"section\",{className:\"cd-directory cd-directory__detail\",\"aria-busy\":\"true\",\"aria-label\":\"Loading listing\",role:\"status\",children:[E(z,{className:\"cd-directory__back-link\",href:se(\"/directory\",e.directoryId??e.directorySlug),children:\"\\u2190 Back to directory\"}),E(\"h2\",{children:\"Loading listing\\u2026\"}),E(t.SkeletonRows,{})]}):null,!s.loading&&s.error&&!s.listing?Y(\"section\",{className:\"cd-directory cd-directory__unavailable\",children:[E(z,{className:\"cd-directory__back-link\",href:se(\"/directory\",e.directoryId??e.directorySlug),children:\"\\u2190 Back to directory\"}),E(\"h2\",{children:o.missing?\"Listing not found\":\"Listing could not be loaded\"}),E(t.State,{label:o.missing?\"It may have been removed, or only signed-in members can see it.\":s.error,tone:\"alert\",actionLabel:\"Retry\",onAction:o.retry}),E(z,{className:\"cd-directory__back-link\",href:Me(\"/directory\"),children:\"Sign in for member listings\"})]}):null,!s.loading&&!s.error&&!s.listing?Y(\"section\",{className:\"cd-directory cd-directory__unavailable\",children:[E(\"h2\",{children:\"Listing unavailable\"}),E(\"p\",{className:\"cd-directory__muted\",children:\"Browse the directory to find another listing.\"}),E(z,{className:\"cd-directory__back-link\",href:se(\"/directory\",e.directoryId??e.directorySlug),children:\"Back to directory\"})]}):null,s.error&&s.listing?E(t.State,{label:s.error,tone:\"warning\",actionLabel:\"Retry\",onAction:o.retry}):null,!s.loading&&s.listing?E(p1,{listing:s.listing,props:e,ui:t},String(s.listing.id??s.listing.slug??\"listing\")):null]},s.error&&!s.listing?\"unavailable\":\"available\")}function p1({listing:e,props:t,ui:r}){let i=Bt(e.directoryId)??\"\",n=ea(()=>Array.isArray(t.initialCategories)?Ui(t.initialCategories):void 0,[t.initialCategories]),o=ta(async()=>(await $(`/public/directories/${encodeURIComponent(i)}/categories`)).categories,[i]),s=yt(`detail-categories:${i}`,n,i?o:null),a=Array.isArray(e.categoryIds)?e.categoryIds:[],c=(s.data??[]).filter(V=>a.includes(V.id)),l=ea(()=>Array.isArray(t.initialRelatedListings)?t.initialRelatedListings.filter(T):void 0,[t.initialRelatedListings]),d=`cd-directory-inquiry-${m1().replace(/:/g,\"\")}`,[p,m]=go(!1),f=String(e.title??\"\").length>120||String(e.summary??\"\").length>280,h=T(e.contact)?e.contact:{},g=T(e.location)?e.location:{},b=nt(h.website),L=typeof h.phone==\"string\"?h.phone.trim():\"\",x=Fa(L),[_,k]=go(!b&&!x),v=f1(g),M=String(e.id??\"\"),y=typeof e.slug==\"string\"?e.slug:\"\",S=e.claimable===!0,C=[g.city,g.region,g.country].filter(V=>typeof V==\"string\"&&V.trim()).join(\", \"),w=Ur(e.media),P=w?.url??null,q=typeof e.description==\"string\"&&!!e.description.trim(),R=q||Ui(e.publicFields).length>0||lr(e.media).length>0,j=mr(e.placement),N=j?.sponsoredLinks===!0;return Y(\"article\",{className:\"cd-directory cd-directory__detail\",\"data-kind\":\"cedros-directory:single-listing\",\"data-sparse\":!R,children:[E(z,{className:\"cd-directory__back-link\",href:se(\"/directory\",e.directoryId??null),children:\"\\u2190 Back to directory\"}),E(\"header\",{className:\"cd-directory__detail-header\",\"data-long-introduction\":f,\"data-expanded\":p,children:Y(\"div\",{className:\"cd-directory__detail-identity\",children:[E(fo,{src:P,title:String(e.title??\"Listing\"),alt:w?.alt??\"\"}),Y(\"div\",{children:[Y(\"div\",{id:`${d}-introduction`,className:\"cd-directory__introduction\",children:[E(\"h2\",{children:String(e.title??\"Listing\")}),typeof e.summary==\"string\"&&e.summary.trim()?E(\"p\",{className:\"cd-directory__muted\",children:e.summary}):null]}),Ue(e.lastVerifiedAt)?Y(\"p\",{className:\"cd-directory__muted\",children:[\"Last verified \",Ue(e.lastVerifiedAt)]}):null,e.ownershipReviewed===!0?E(\"span\",{className:\"cd-directory__disclosure\",title:\"The directory team reviewed evidence that this account represents the listing.\",children:\"Ownership reviewed\"}):null,f?E(U,{type:\"button\",className:\"cd-directory__introduction-toggle\",\"aria-expanded\":p,\"aria-controls\":`${d}-introduction`,onClick:()=>m(V=>!V),children:p?\"Show less\":\"Read full introduction\"}):null,C||c.length||j?Y(\"div\",{className:\"cd-directory__card-context\",children:[C?E(\"span\",{children:C}):null,c.map(V=>E(z,{href:Ro(String(V.slug??V.id)),children:String(V.name??V.slug)},String(V.id))),j?E(\"span\",{className:\"cd-directory__disclosure\",children:j.label}):null]}):null]})]})}),Y(\"div\",{className:\"cd-directory__detail-body\",children:[Y(\"aside\",{className:\"cd-directory__contact-rail\",\"aria-label\":\"Contact and location\",children:[E(\"h3\",{children:v.length?\"Contact and location\":\"Contact\"}),b||x?Y(\"div\",{className:\"cd-directory__actions\",children:[b?E(z,{className:\"cd-directory__button\",href:b,rel:N?\"sponsored nofollow noopener noreferrer\":\"nofollow noopener noreferrer\",target:\"_blank\",children:\"Visit website\"}):null,x?Y(z,{className:\"cd-directory__button cd-directory__button--secondary\",href:x,children:[\"Call \",L]}):null]}):null,v.length?Y(\"div\",{className:\"cd-directory__detail-copy\",children:[E(\"h3\",{children:\"Location\"}),E(\"address\",{className:\"cd-directory__address\",children:v.map(V=>E(\"span\",{children:V},V))})]}):null,M?Y(\"details\",{className:\"cd-directory__contact-disclosure\",open:_,onToggle:V=>k(V.currentTarget.open),children:[Y(\"summary\",{children:[\"Ask about this listing \",E(\"span\",{className:\"cd-directory__muted\",children:\"Send a message through the directory team\"})]}),E(g1,{id:d,listingId:M,ui:r},M)]}):null]}),R?Y(\"div\",{className:\"cd-directory__listing-information\",children:[q?Y(\"div\",{className:\"cd-directory__detail-copy\",children:[E(\"h3\",{children:\"About\"}),y1(String(e.description)).map((V,O)=>E(\"p\",{style:{whiteSpace:\"pre-line\"},children:V},O))]}):null,Ui(e.publicFields).length?Y(\"section\",{className:\"cd-directory__detail-copy\",children:[E(\"h3\",{children:\"Listing details\"}),E($i,{fields:Ui(e.publicFields),sponsored:N})]}):null,E(Ol,{media:e.media})]}):null]}),M&&S?Y(\"p\",{className:\"cd-directory__ownership cd-directory__muted\",children:[\"Represent this listing? \",E(z,{href:se(`/directory/claim?listing=${encodeURIComponent(y||M)}`,e.directoryId??null),children:\"Claim this listing\"}),e.ownerEditsEnabled===!0?\" to suggest updates.\":\".\"]}):null,M?E(zl,{listingId:M}):null,E(r.RelatedListings,{listing:e,initialListings:l})]})}function y1(e){return e.replace(/\\r\\n/g,`\n`).split(/\\n\\s*\\n/).map(t=>t.trim()).filter(Boolean)}function f1(e){return e.showExactAddress!==!0?[]:[String(e.addressLine1??\"\").trim(),String(e.addressLine2??\"\").trim(),[e.city,e.region,e.postalCode].filter(r=>typeof r==\"string\"&&r.trim()).map(r=>String(r).trim()).join(\", \"),String(e.country??\"\").trim()].filter(Boolean)}function g1({id:e,listingId:t,ui:r}){let[i,n]=go(!1),[o,s]=go(null),[a,c]=qi();return u1(()=>{o?.tone===\"success\"&&c()},[o,c]),Y(\"form\",{\"aria-label\":\"Ask about this listing\",className:\"cd-directory__inquiry\",id:e,onInput:l=>{delete l.currentTarget.dataset.idempotencyKey},onSubmit:l=>{l.preventDefault();let d=l.currentTarget;if(d.dataset.submitting===\"true\")return;let p=Object.fromEntries(new FormData(d).entries()),m=String(p.message??\"\").trim(),f=String(p.email??\"\").trim();if(m.length<8||!/^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/.test(f)){s({message:\"Enter a valid email and a message of at least 8 characters.\",tone:\"alert\"});return}n(!0),d.dataset.submitting=\"true\",s(null);let h=d.dataset.idempotencyKey??h1();d.dataset.idempotencyKey=h,$(\"/public/inquiries\",{method:\"POST\",body:{...p,listingId:t,idempotencyKey:h}}).then(g=>{ba(g,{listingId:t,email:f,message:m,name:String(p.name??\"\")}),d.reset(),delete d.dataset.idempotencyKey,s({message:\"Inquiry sent to the directory team for forwarding or follow-up.\",tone:\"success\"})}).catch(g=>s({message:Q(g),tone:\"alert\"})).finally(()=>{delete d.dataset.submitting,n(!1)})},children:[E(\"div\",{className:\"cd-directory__detail-copy\",children:E(\"p\",{className:\"cd-directory__muted\",children:\"Your message and contact details go to the directory team, which may forward them to this listing\\u2019s contact. The recipient\\u2019s private email stays hidden.\"})}),Y(\"div\",{className:\"cd-directory__field-pair\",children:[Y(\"label\",{className:\"cd-directory__field\",children:[E(\"span\",{children:\"Your name\"}),E(\"input\",{name:\"name\",autoComplete:\"name\",disabled:i})]}),Y(\"label\",{className:\"cd-directory__field\",children:[E(\"span\",{children:\"Email\"}),E(\"input\",{name:\"email\",type:\"email\",autoComplete:\"email\",required:!0,disabled:i})]})]}),Y(\"label\",{className:\"cd-directory__field\",children:[E(\"span\",{children:\"Message\"}),E(\"textarea\",{name:\"message\",required:!0,disabled:i})]}),E(U,{className:\"cd-directory__button cd-directory__inquiry-send\",disabled:i,type:\"submit\",children:E(Er,{busy:\"Sending\\u2026\",done:\"Sent\",idle:\"Send inquiry\",state:Vi(i,a)})}),E(je,{children:o?E(qr,{signal:o.tone===\"alert\"?o:null,children:E(r.State,{label:o.message,tone:o.tone})}):null})]})}function h1(){return typeof crypto<\"u\"&&\"randomUUID\"in crypto?crypto.randomUUID():`inquiry-${Date.now()}-${Math.random().toString(36).slice(2)}`}function Wl({props:e,ui:t}){let r=String(e.directoryId??e.directorySlug??\"main\"),i=ea(()=>Array.isArray(e.initialCategories)?Ui(e.initialCategories):void 0,[e.initialCategories]),n=ta(async()=>(await $(`/public/directories/${encodeURIComponent(r)}/categories`)).categories??[],[r]),o=yt(`categories:${r}`,i,n),s={...o,categories:o.data??[]};return Y(\"section\",{className:\"cd-directory\",\"data-kind\":\"cedros-directory:category-grid\",children:[E(t.BlockHeader,{kind:\"cedros-directory:category-grid\",listings:s.categories}),Y(dr,{state:s.categories.length?\"results\":s.loading?\"loading\":s.error?\"error\":\"results\",children:[s.loading?E(t.SkeletonRows,{}):null,!s.loading&&s.error?E(t.State,{label:s.error,tone:\"alert\",actionLabel:\"Retry\",onAction:o.retry}):null,!s.loading&&(!s.error||s.categories.length>0)?E(L1,{categories:s.categories,ui:t,reveal:i===void 0}):null]},s.error&&!s.categories.length?\"unavailable\":\"available\")]})}function L1({categories:e,ui:t,reveal:r}){return e.length?E(\"div\",{className:\"cd-directory__term-grid\",children:e.map((i,n)=>{let o=typeof i.id==\"string\"?i.id:null,s=String(i.name??i.slug??\"Category\"),a=typeof i.listingCount==\"number\"&&Number.isInteger(i.listingCount)&&i.listingCount>=0?Zi(i.listingCount):null;return o?E(\"div\",{className:\"cd-directory__grid-item\",style:{animationDelay:r?Et(n,0,e.length):void 0,animationName:r?void 0:\"none\"},children:Y(z,{className:\"cd-directory__term cd-directory__term-link\",href:Ro(String(i.slug??o)),children:[s,a!==null?E(\"span\",{children:a}):null]})},t.recordKey(i)):null})}):E(t.State,{label:\"No public categories have published listings yet.\"})}function Ui(e){return Array.isArray(e)?e.filter(T):[]}var Ve={submit:\"/directory/submit\",claim:\"/directory/claim\",pricing:\"/directory/pricing\",owner:\"/directory/owner\"};function na({block:e,siteData:t}){let r=e.type,i=ho(()=>qa(Va(r,T(e.props)?e.props:{},t)),[r,e.props,t]),n=i.directoryId!==void 0?i.directoryId:i.directorySlug;if((i.directoryId!==void 0||i.directorySlug!==void 0)&&!Bt(n))return u(G,{label:\"Directory unavailable: invalid directory reference.\",tone:\"alert\"});let o;return r===\"cedros-directory:listing-disclosure\"?o=u(Ll,{props:i}):r===\"cedros-directory:submit-listing\"&&i.mode===\"pricing\"?o=u(I1,{directory:i.directoryId??i.directorySlug}):r===\"cedros-directory:submit-listing\"?o=u(ra,{props:i,mode:\"submission\"},`submission:${String(i.directoryId??i.directorySlug??\"main\")}:${String(i.correctionId??\"\")}`):r===\"cedros-directory:claim-listing\"?o=u(ra,{props:i,mode:\"claim\"},`claim:${String(i.directoryId??i.directorySlug??\"main\")}:${lu(i)}`):r===\"cedros-directory:owner-dashboard\"?o=u(C1,{props:i}):r===\"cedros-directory:directory-stats\"?o=u(V1,{props:i}):r===\"cedros-directory:related-listings\"?o=u(nu,{props:i}):r===\"cedros-directory:category-grid\"?o=u(Wl,{props:i,ui:ru}):r===\"cedros-directory:single-listing\"?o=u(Gl,{props:i,ui:ru},Wr(i)??String(T(i.initialListing)?i.initialListing.id:\"\")):o=u(b1,{kind:r,props:i},`${r}:${String(i.directoryId??i.directorySlug??\"main\")}:${Po(i)}:${Hs(i)}`),u(cl,{children:u(ao,{publicSurface:!0,children:o})})}function b1({kind:e,props:t}){let r=String(t.directoryId??t.directorySlug??\"main\"),i=H1(e),n=ho(()=>Xl(e,ht(t.initialListings)),[e,t.initialListings]),o=Array.isArray(t.initialListings),s=Lo(t.initialTotal),a=K1(t.limit),[c,l]=K(\"\"),d=Bi(null),[p,m]=K(\"title\"),[f,h]=K([]),[g,b]=K([]),[L,x]=K(null),[_,k]=K(\"\"),[v,M]=K(!1),[y,S]=K(\"\"),[C,w]=K(!1),P=Hs(t),q=Bi(0),[R,j]=K({}),N=tu(JSON.stringify(bt(R)),225),[V,O]=K(()=>Po(t)),[A,H]=K(()=>ht(t.initialCategories)),[B,ne]=K(null),[jt,Z]=K(0),ue=tu(c,225),[it,Ot]=K(0),[Hi,zr]=K(!1),$e=`${N}\\0${r}\\0${ue}\\0${V}\\0${p}\\0${a}`,[Ft,_e]=K({key:$e,offset:0}),Ge=Ft.key===$e?Ft.offset:0,[J,bo]=K({loading:!o,error:null,listings:n,total:s??n.length,nextOffset:n.length,hasMore:s!==null&&n.length<s,revealFrom:n.length,hasData:o});He(()=>{if(e!==\"cedros-directory:directory-search\")return;let F=!0;return x(null),$(`/public/directories/${encodeURIComponent(r)}`).then(ee=>{F&&(k(typeof ee.directory?.id==\"string\"?ee.directory.id:\"\"),M(ee.searchOptions?.savedSearchesEnabled===!0),b(ht(ee.searchOptions?.fields)),h(ht(ee.searchOptions?.tags)))}).catch(ee=>{F&&(k(\"\"),M(!1),b([]),x(Q(ee)))}),()=>{F=!1}},[r,e,it]);let ca=F=>{if(w(!1),F.directoryId!==_){S(\"This saved search belongs to another directory. Open its own link from your listing activity.\");return}l(F.filters.q??\"\"),O(F.filters.categoryId??\"\"),m(F.filters.sort??\"title\"),j(Object.fromEntries(Object.entries(F.filters).filter(([ee])=>![\"q\",\"categoryId\",\"sort\",\"direction\"].includes(ee)))),S(`Applied \\u201C${F.name}\\u201D. Results use current listings and available filters.`)};He(()=>{if(!P||!_||e!==\"cedros-directory:directory-search\")return;let F=!0,ee=q.current;return S(\"Loading your saved search\\u2026\"),w(!1),$(`/owner/saved-searches/${encodeURIComponent(P)}`).then(me=>{let ge=pr(me);F&&ee===0&&q.current===0?ca(ge):F&&S(\"Your filters changed while the saved search loaded. Apply it from Saved searches when you are ready.\")}).catch(me=>{F&&(S(Q(me)),w(me instanceof te&&me.status===401))}),()=>{F=!1}},[P,_,e]),He(()=>{Ft.key!==$e&&_e({key:$e,offset:0})},[$e,Ft.key]),He(()=>{if(e!==\"cedros-directory:directory-search\")return;if(Array.isArray(t.initialCategories)){H(ht(t.initialCategories)),ne(null);return}let F=!1;return ne(null),$(`/public/directories/${encodeURIComponent(r)}/categories`).then(ee=>{F||H(ee.categories??[])}).catch(ee=>{F||(H([]),ne(Q(ee)))}),()=>{F=!0}},[jt,r,e,t.initialCategories]),He(()=>{let F=!1,ee=new URLSearchParams;for(let[me,ge]of Object.entries(JSON.parse(N)))ee.set(me,ge);return ue&&ee.set(\"q\",ue),V&&ee.set(\"categoryId\",V),i&&ee.set(i,\"true\"),ee.set(\"limit\",String(a)),Ge&&ee.set(\"offset\",String(Ge)),ee.set(\"sort\",p),p===\"publishedAt\"&&ee.set(\"direction\",\"desc\"),zr(!0),bo(me=>({...me,loading:!me.hasData,error:null})),$(`/public/directories/${encodeURIComponent(r)}/listings?${ee}`).then(async me=>{let ge=me.listings??[];await Promise.all(ge.map(Gi=>{let ma=Ur(Gi.media)?.url;return ma?yo(ma):void 0}));let We=Number(me.pagination?.total),xo=Number.isInteger(We)&&We>=0?We:ge.length,wo=Number(me.pagination?.nextOffset),pu=Number.isInteger(wo)&&wo>=0?wo:Ge+ge.length,yu=typeof me.pagination?.hasMore==\"boolean\"?me.pagination.hasMore:Ge+ge.length<xo;F||(zr(!1),bo(Gi=>({loading:!1,error:null,hasData:!0,listings:Ge?Br(Gi.listings,ge):ge,total:xo,nextOffset:pu,hasMore:yu,revealFrom:Ge?Gi.listings.length:o?ge.length:0})),Ge===0&&e===\"cedros-directory:directory-search\"&&(ue||V)&&$(\"/public/search-events\",{method:\"POST\",body:{directoryId:r,query:ue||void 0,categoryId:V||void 0,resultCount:xo,idempotencyKey:aa()}}).catch(()=>{}))}).catch(me=>{F||zr(!1);let ge=!(me instanceof te&&[401,403,404,410].includes(me.status));F||bo(We=>({loading:!1,error:Q(me),hasData:ge&&We.hasData,listings:ge?We.listings:[],total:ge?We.total:0,nextOffset:ge?We.nextOffset:0,hasMore:ge?We.hasMore:!1,revealFrom:ge?We.listings.length:0}))}),()=>{F=!0}},[r,ue,V,p,N,a,Ge,it,o,n,s,e]);let vo=ho(()=>Xl(e,J.listings),[e,J.listings]),$t=du(J.loading,J.error,vo.length),la=$t===\"error\",ua=J.error?I(\"div\",{className:\"cd-directory__recovery\",children:[u(G,{label:J.error,tone:\"alert\",actionLabel:\"Retry\",onAction:()=>{Ot(F=>F+1),B&&Z(F=>F+1)}}),u(z,{className:\"cd-directory__back-link\",href:Me(\"/directory\"),children:\"Sign in for member listings\"})]}):null;return I(\"section\",{className:\"cd-directory\",\"data-kind\":e,\"aria-busy\":J.loading||void 0,children:[e===\"cedros-directory:directory-search\"?u(Vl,{heading:t.heading,introduction:t.introduction,submitLabel:t.submitLabel,directory:r}):u(oa,{kind:e,listings:vo,total:J.total}),e===\"cedros-directory:directory-search\"?I(rt,{children:[I(\"div\",{className:\"cd-directory__browse-controls\",children:[u(w1,{query:c,setQuery:F=>{q.current++,l(F)},search:d}),u(mo,{label:\"Sort\",value:p,onChange:F=>{q.current++,m(F)},options:[{value:\"title\",label:\"Name A\\u2013Z\"},{value:\"publishedAt\",label:\"Recently published\"},...g.filter(F=>F.sortable===!0).map(F=>({value:`custom:${String(F.key)}`,label:`By ${String(F.label??F.key)}`})),...bt(R).latitude?[{value:\"distance\",label:\"Nearest first\"}]:[]]}),L&&!la?u(G,{label:`Listing detail filters are unavailable. ${L}`,tone:\"warning\",actionLabel:\"Retry detail filters\",onAction:()=>Ot(F=>F+1)}):null,u(Nl,{fields:g,tags:f,values:R,onChange:F=>{q.current++,j(F),p===\"distance\"&&!bt(F).latitude&&m(\"title\")}}),I(\"div\",{className:\"cd-directory__results-heading\",children:[u(ql,{categories:A,selected:V,onChange:F=>{q.current++,O(F)}}),I(\"div\",{className:\"cd-directory__result-context\",children:[u(\"p\",{className:\"cd-directory__result-count\",role:\"status\",children:J.loading&&!J.listings.length?\"Updating results\\u2026\":J.error?J.listings.length?\"Showing previously loaded listings\":\"Results unavailable\":I(rt,{children:[u(co,{value:J.total}),\" \",J.total===1?\"listing\":\"listings\",ue?I(rt,{children:[\" matching \\u201C\",ue,\"\\u201D\"]}):null,V?I(rt,{children:[\" in \",String(A.find(F=>F.id===V)?.name??\"selected category\")]}):null]})}),c||V||N!==\"{}\"?u(U,{className:\"cd-directory__clear-filters\",type:\"button\",onClick:()=>{q.current++,l(\"\"),O(\"\"),j({}),m(\"title\"),d.current?.focus()},children:\"Clear filters\"}):null]})]})]}),y?I(\"p\",{role:\"status\",children:[y,\" \",C?u(z,{href:Me(\"/directory\"),children:\"Sign in or refresh your session\"}):null]}):null,v&&_?u(Gs,{directory:_,currentFilters:{...bt(R),...c.trim()?{q:c.trim()}:{},...V?{categoryId:V}:{},sort:p},onApply:F=>{q.current++,ca(F)}}):null]}):null,u(je,{children:B&&!la?u(G,{label:`Category filters are unavailable. ${B}`,tone:\"warning\",actionLabel:\"Try again\",onAction:()=>Z(F=>F+1)}):null}),u(je,{children:$t===\"results\"?ua:null}),I(dr,{state:$t,children:[$t===\"loading\"?u(Ki,{}):null,$t===\"empty\"?u(E1,{kind:e,directory:r,filtered:e===\"cedros-directory:directory-search\"&&!!(ue||V),onClear:()=>{q.current++,l(\"\"),O(\"\")}}):null,$t===\"error\"?ua:null,$t===\"results\"?_1(e,vo,J.revealFrom):null]},J.error&&!J.listings.length?\"unavailable\":\"browse\"),(e===\"cedros-directory:directory-search\"||e===\"cedros-directory:map\"&&J.listings.length<1e3)&&!J.error&&J.hasMore?u(\"div\",{className:\"cd-directory__actions\",children:u(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:Hi,type:\"button\",onClick:()=>_e({key:$e,offset:J.nextOffset}),children:u(Er,{busy:\"Loading more\\u2026\",idle:J.total>J.listings.length?`Show more (${J.total-J.listings.length} remaining)`:\"Show more\",state:Hi?\"busy\":\"idle\"})})}):null]})}function nu({props:e}){let t=T(e.sourceListing)?e.sourceListing:null,i=(typeof e.slug==\"string\"?e.slug:null)??Wr(e),n=ho(()=>Array.isArray(e.initialListings)?ht(e.initialListings):void 0,[e.initialListings]),o=iu(async()=>{let l=t??await $(`/public/listings/${encodeURIComponent(i??\"\")}`),d=v1(l);if(!d)return[];let p=await $(d);return x1(l,p.listings??[])},[t,i]),s=!!(t||i||n),a=yt(`related:${String(t?.id??i??\"\")}`,n,t||i?o:null),c={...a,listings:a.data??[],hasContext:s};return!c.loading&&!c.error&&c.hasContext&&!c.listings.length?null:I(\"section\",{className:\"cd-directory\",\"data-kind\":\"cedros-directory:related-listings\",\"aria-busy\":c.loading||void 0,children:[c.loading||c.error||c.listings.length?u(oa,{kind:\"cedros-directory:related-listings\",listings:c.listings}):null,I(dr,{state:du(c.loading,c.error,c.listings.length),children:[c.loading?u(Ki,{}):null,!c.loading&&c.error?u(G,{label:c.error,tone:\"alert\",actionLabel:\"Retry\",onAction:a.retry}):null,!c.loading&&!c.error&&!c.hasContext?u(G,{label:\"No related listings are available here. Explore the directory to find another listing.\",actionLabel:\"Browse directory\",onAction:()=>{let l=se(\"/directory\",e.directoryId??e.directorySlug);l&&typeof window<\"u\"&&(window.location.href=l)}}):null,c.listings.length?u(\"div\",{className:\"cd-directory__grid\",children:c.listings.map((l,d)=>u(zi,{listing:l,revealDelay:n?void 0:Et(d,0,c.listings.length,\"start\")},Fe(l,d)))}):null]},c.error&&!c.listings.length?\"unavailable\":\"available\")]})}function v1(e){let t=typeof e.directoryId==\"string\"?e.directoryId.trim():\"\",r=Array.isArray(e.categoryIds)?e.categoryIds.find(n=>typeof n==\"string\"&&!!n.trim())?.trim()??\"\":\"\";if(!t||!r)return null;let i=new URLSearchParams({categoryId:r,limit:\"5\",sort:\"title\"});return`/public/directories/${encodeURIComponent(t)}/listings?${i}`}function x1(e,t,r=4){let i=String(e.id??\"\"),n=String(e.slug??\"\"),o=String(e.directoryId??\"\"),s=new Set(Array.isArray(e.categoryIds)?e.categoryIds.filter(a=>typeof a==\"string\"):[]);return t.filter(a=>i&&a.id===i||n&&a.slug===n||o&&a.directoryId!==o?!1:Array.isArray(a.categoryIds)&&a.categoryIds.some(c=>typeof c==\"string\"&&s.has(c))).slice(0,Math.max(0,r))}function oa({kind:e,listings:t,total:r}){return I(\"header\",{className:\"cd-directory__header\",children:[I(\"div\",{children:[u(\"h2\",{children:U1(e)}),Jl(e)?u(\"p\",{className:\"cd-directory__muted\",children:Jl(e)}):null]}),e!==\"cedros-directory:map\"&&e!==\"cedros-directory:location-grid\"&&e!==\"cedros-directory:related-listings\"?I(\"span\",{className:\"cd-directory__count\",children:[u(co,{value:r??t.length}),\" \",e===\"cedros-directory:category-grid\"?t.length===1?\"category\":\"categories\":Number(r??t.length)===1?\"listing\":\"listings\"]}):null]})}function w1({query:e,setQuery:t,search:r}){return u(\"div\",{className:\"cd-directory__toolbar\",role:\"search\",children:I(\"label\",{className:\"cd-directory__field cd-directory__field--search\",children:[u(\"span\",{children:\"Search directory\"}),I(\"span\",{className:\"cd-directory__search-control\",children:[u(\"input\",{ref:r,maxLength:120,type:\"search\",value:e,onChange:i=>t(i.target.value),placeholder:\"Search by name or keyword\"}),u(_l,{className:\"cd-directory__clear-slot\",children:e?u(U,{\"aria-label\":\"Clear search\",title:\"Clear search\",className:\"cd-directory__clear\",type:\"button\",onClick:()=>{t(\"\"),r.current?.focus()},children:u(q1,{})}):null})]})]})})}function _1(e,t,r){return e===\"cedros-directory:listing-list\"?u(\"div\",{className:\"cd-directory__list\",children:t.map((i,n)=>u(zi,{listing:i,compact:!0,row:!0,revealDelay:Et(n,r,t.length,\"start\")},Fe(i)))}):e===\"cedros-directory:location-grid\"?u(S1,{reveal:r===0,values:B1(t),emptyLabel:\"No public locations have published listings yet.\"}):e===\"cedros-directory:map\"?u(k1,{listings:t}):u(\"div\",{className:\"cd-directory__grid\",children:t.map((i,n)=>u(zi,{listing:i,compact:e===\"cedros-directory:directory-search\",revealDelay:Et(n,r,t.length,\"start\")},Fe(i)))})}function zi({listing:e,compact:t=!1,row:r=!1,revealDelay:i}){let[n,o]=K(!1),s=mr(e.placement),a=s?.sponsoredLinks===!0,c=T(e.contact)?nt(e.contact.website):null,l=T(e.location)?e.location:{},d=typeof e.slug==\"string\"?e.slug:null,p=Ur(e.media),m=p?.url??null,f=ht(e.publicFields),h=typeof e.distanceKm==\"number\"&&Number.isFinite(e.distanceKm)&&e.distanceKm>=0?e.distanceKm:null,g=Bl(f),b=f.filter(x=>!g.includes(x)),L=I(ll,{className:`cd-directory__card${t?\" cd-directory__card--compact\":\"\"}`,\"data-summarized\":(!!d||String(e.title??\"\").length>120||String(e.summary??\"\").length>280)&&!n,children:[I(\"div\",{className:\"cd-directory__card-identity\",children:[u(fo,{src:m,title:String(e.title??\"Listing\"),alt:p?.alt??\"\"}),I(\"div\",{className:\"cd-directory__identity-copy\",children:[u(\"h3\",{title:String(e.title??\"Untitled listing\"),children:d?u(z,{className:\"cd-directory__title-link\",href:wt(d),rel:a?\"sponsored\":void 0,children:String(e.title??\"Untitled listing\")}):String(e.title??\"Untitled listing\")}),r&&typeof e.summary==\"string\"&&e.summary.trim()?u(\"p\",{className:\"cd-directory__muted\",children:e.summary}):null]})]}),Ue(e.lastVerifiedAt)?I(\"p\",{className:\"cd-directory__muted\",children:[\"Last verified \",Ue(e.lastVerifiedAt)]}):null,e.ownershipReviewed===!0?u(\"span\",{className:\"cd-directory__disclosure\",title:\"The directory team reviewed evidence that this account represents the listing.\",children:\"Ownership reviewed\"}):null,r?null:I(\"div\",{className:\"cd-directory__card-description\",children:[typeof e.summary==\"string\"&&e.summary.trim()?u(\"p\",{className:\"cd-directory__muted\",children:e.summary}):null,u(jl,{media:e.media})]}),l.city||l.label||h!==null||s?I(\"div\",{className:\"cd-directory__card-context\",children:[l.city||l.label?u(\"span\",{children:String(l.city??l.label)}):null,h!==null?I(\"span\",{children:[e.distanceApproximate===!0?\"About \":\"\",h.toLocaleString(void 0,{maximumFractionDigits:1}),\" km away\"]}):null,s?u(\"span\",{className:\"cd-directory__disclosure\",children:s.label}):null]}):null,!d&&(String(e.title??\"\").length>120||String(e.summary??\"\").length>280)?u(U,{className:\"cd-directory__introduction-toggle\",type:\"button\",\"aria-expanded\":n,onClick:()=>o(x=>!x),children:n?\"Show less\":\"Read full introduction\"}):null,g.length?u(\"div\",{className:\"cd-directory__comparison\",children:u($i,{fields:g,sponsored:a})}):null,!d&&b.length?I(\"details\",{className:\"cd-directory__card-facts\",children:[u(\"summary\",{children:\"Listing details\"}),u($i,{fields:b,sponsored:a})]}):null,d?I(z,{className:\"cd-directory__result-link\",href:wt(d),rel:a?\"sponsored\":void 0,\"aria-label\":`View ${String(e.title??\"listing\")}`,children:[\"View listing \",u(\"span\",{\"aria-hidden\":\"true\",children:\"\\u2192\"})]}):null,!d&&c?u(\"div\",{className:\"cd-directory__actions\",children:u(z,{className:\"cd-directory__back-link\",href:c,rel:a?\"sponsored nofollow noopener noreferrer\":\"nofollow noopener noreferrer\",target:\"_blank\",children:\"Visit website\"})}):null]});return u(\"div\",{className:\"cd-directory__grid-item\",style:{animationDelay:i,animationName:i===void 0?\"none\":void 0},children:L})}function S1({values:e,emptyLabel:t,reveal:r=!0}){return e.length===0?u(G,{label:t}):u(\"div\",{className:\"cd-directory__term-grid\",children:e.map((i,n)=>u(\"div\",{className:\"cd-directory__grid-item\",style:{animationDelay:r?Et(n,0,e.length):void 0,animationName:r?void 0:\"none\"},children:u(\"div\",{className:\"cd-directory__term\",children:da(i)})},i))})}function k1({listings:e}){let t=new Map;for(let r of e){let i=T(r.location)?r.location:{};if(!Ut(i))continue;let n=[i.city??i.label,i.region,i.country].filter(Boolean).join(\", \")||\"Area not specified\",o=t.get(n)??[];o.push(r),t.set(n,o)}return t.size?I(\"div\",{className:\"cd-directory__location-results\",children:[u(Tl,{listings:e.slice(0,1e3)}),e.length>1e3?u(\"p\",{className:\"cd-directory__muted\",children:\"The regional map shows the first 1,000 loaded listings. The listing areas below retain all loaded results.\"}):null,Array.from(t,([r,i])=>I(\"section\",{\"aria-label\":r,children:[u(\"h3\",{children:r}),u(\"div\",{className:\"cd-directory__grid\",children:i.map((n,o)=>u(zi,{listing:n,compact:!0},Fe(n,o)))})]},r))]}):u(G,{label:\"No published listings include valid location coordinates yet.\"})}function ra({props:e,mode:t}){let r=Bi(null),[i,n]=K(null),[o,s]=K(!1),[a,c]=K(0),[l,d]=qi();He(()=>{i?.tone===\"success\"&&(d(),r.current?.focus())},[i,d]);let p=t===\"claim\"?\"/public/claims\":\"/public/submissions\",m=typeof e.correctionId==\"string\"?e.correctionId.replace(/[^a-z0-9_-]+/gi,\"-\"):\"\",f=`cd-directory-${t}${m?`-${m}`:\"\"}`,h=t===\"claim\"?lu(e):\"\",g=String(e.directoryId??e.directorySlug??\"main\"),b=se(t===\"claim\"?`${Ve.claim}${h?`?listing=${encodeURIComponent(h)}`:\"\"}`:Ve.submit,g),L=T(e.initialListing)?e.initialListing:{},x=T(L.contact)?L.contact:{},_=T(L.location)?L.location:{},k=T(L.customValues)?L.customValues:{},v=Array.isArray(L.categoryIds)?L.categoryIds.find(A=>typeof A==\"string\"):void 0,M=t===\"submission\"&&e.correction===!0,[y,S]=K({categories:[],fields:[],claimListings:[],claimNextOffset:0,claimHasMore:!1,selectedListing:null}),[C,w]=K(0),[P,q]=K(null),[R,j]=K(!0),[N,V]=K({loading:!1,error:null});He(()=>{let A=!1;return q(null),j(!0),V({loading:!1,error:null}),t===\"claim\"&&h?($(`/public/listings/${encodeURIComponent(h)}`).then(B=>{A||S(ne=>({...ne,selectedListing:B}))}).catch(B=>{A||q(Q(B))}).finally(()=>{A||j(!1)}),()=>{A=!0}):((t===\"claim\"?Zl(g,0):$(`/public/directories/${encodeURIComponent(g)}`)).then(B=>{A||S({categories:\"submissionOptions\"in B?B.submissionOptions?.categories??[]:[],fields:\"submissionOptions\"in B?B.submissionOptions?.fields??[]:[],claimListings:\"listings\"in B?B.listings:[],claimNextOffset:\"listings\"in B?B.nextOffset:0,claimHasMore:\"listings\"in B?B.hasMore:!1,selectedListing:null})}).catch(B=>{A||q(Q(B))}).finally(()=>{A||j(!1)}),()=>{A=!0})},[g,t,h,C]);let O=()=>{N.loading||!y.claimHasMore||(V({loading:!0,error:null}),Zl(g,y.claimNextOffset).then(A=>{S(H=>({...H,claimListings:Br(H.claimListings,A.listings),claimNextOffset:A.nextOffset,claimHasMore:A.hasMore})),V({loading:!1,error:null})}).catch(A=>V({loading:!1,error:Q(A)})))};return i?.tone===\"success\"?I(\"section\",{ref:r,tabIndex:-1,className:\"cd-directory cd-directory__form cd-directory__completion\",\"aria-labelledby\":`${f}-completed`,children:[M?null:u(z,{className:\"cd-directory__back-link\",href:se(\"/directory\",g),children:\"\\u2190 Back to directory\"}),u(\"header\",{className:\"cd-directory__detail-copy\",children:u(\"h2\",{id:`${f}-completed`,children:t===\"claim\"?\"Claim received\":\"Listing received\"})}),u(G,{label:i.label,tone:\"success\"}),I(\"div\",{className:\"cd-directory__actions\",children:[u(z,{className:\"cd-directory__button\",href:Ve.owner,children:\"View my listing activity\"}),M?null:u(U,{className:\"cd-directory__button cd-directory__button--ghost\",type:\"button\",onClick:()=>n(null),children:t===\"claim\"?\"Send another claim\":\"Submit another listing\"})]})]}):I(\"form\",{className:\"cd-directory cd-directory__form\",onInput:A=>{delete A.currentTarget.dataset.idempotencyKey},onSubmit:A=>{if(t===\"claim\"&&(R||P||(h?y.selectedListing?.claimable!==!0:y.claimListings.length===0))){A.preventDefault();return}j1(A,{...e,onDenied:H=>{H instanceof te&&[401,403].includes(H.status)&&c(B=>B+1),typeof e.onDenied==\"function\"&&e.onDenied(H)}},p,t,y.fields,s,n)},children:[M?null:u(z,{className:\"cd-directory__back-link\",href:se(\"/directory\",g),children:\"\\u2190 Back to directory\"}),u(\"header\",{className:\"cd-directory__header\",children:I(\"div\",{children:[u(\"h2\",{children:t===\"claim\"?\"Claim a listing\":M?\"Revise and resubmit\":\"Submit a listing\"}),u(\"p\",{className:\"cd-directory__muted\",children:t===\"claim\"?\"Explain why you represent this listing. The directory team reviews ownership claims.\":M?\"Use the directory team's guidance, update the saved proposal, and send a new version for review.\":\"Submissions are reviewed before they can appear in the public directory.\"})]})}),M?null:u(fl,{mode:t,returnTo:b,refreshKey:a}),u(js,{directory:String(y.selectedListing?.directoryId??g)}),P?u(G,{label:P,tone:\"alert\",actionLabel:\"Retry\",onAction:()=>w(A=>A+1)}):null,I(\"fieldset\",{className:\"cd-directory__form-fields\",disabled:o,children:[t===\"claim\"&&!h?I(rt,{children:[I(\"label\",{className:\"cd-directory__field\",htmlFor:`${f}-listing`,children:[u(\"span\",{children:\"Listing\"}),I(\"select\",{id:`${f}-listing`,name:\"listingId\",required:!0,defaultValue:\"\",children:[u(\"option\",{disabled:!0,value:\"\",children:\"Choose the listing you represent\"}),y.claimListings.map(A=>u(\"option\",{value:String(A.id??A.slug??\"\"),children:z1(A)},Fe(A)))]})]}),y.claimHasMore?u(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:N.loading,type:\"button\",onClick:O,children:N.loading?\"Loading more listings\\u2026\":\"Show more listings\"}):null,u(je,{children:N.error?u(G,{label:N.error,tone:\"alert\",actionLabel:\"Retry\",onAction:O}):null})]}):t===\"claim\"?I(rt,{children:[u(\"input\",{name:\"listingId\",type:\"hidden\",value:String(y.selectedListing?.id??h)}),R?u(G,{label:\"Loading the selected listing\\u2026\"}):null,!R&&!P&&y.selectedListing?I(\"div\",{className:\"cd-directory__detail-copy\",children:[u(\"h3\",{children:String(y.selectedListing.title??\"Selected listing\")}),u(\"p\",{className:\"cd-directory__muted\",children:String(y.selectedListing.summary??\"\")}),y.selectedListing.claimable!==!0?u(G,{label:\"This listing is no longer available to claim. Choose another listing or view your activity.\",tone:\"warning\"}):null,u(z,{className:y.selectedListing.claimable!==!0?\"cd-directory__button\":\"cd-directory__back-link\",href:se(Ve.claim,y.selectedListing.directoryId??g),children:\"Choose a different listing\"})]}):null]}):u(ie,{defaultValue:String(L.title??\"\"),id:`${f}-listing`,label:\"Listing name\",name:\"title\",required:!0}),t!==\"claim\"||!h||y.selectedListing?.claimable===!0?I(rt,{children:[u(ie,{defaultValue:String(t===\"claim\"?e.claimantEmail??\"\":x.email??\"\"),id:`${f}-email`,label:\"Contact email\",name:t===\"claim\"?\"claimantEmail\":\"contactEmail\",help:\"Only the directory team sees this email. It is not published on the listing.\",required:!0,type:\"email\"}),u(ie,{defaultValue:String(t===\"claim\"?e.evidence??\"\":L.summary??\"\"),id:`${f}-details`,label:t===\"claim\"?\"Ownership evidence\":\"Short summary\",name:t===\"claim\"?\"evidence\":\"summary\",help:t===\"claim\"?\"Explain your role and include a public link that helps the team confirm you represent this listing. Do not include passwords or private documents.\":\"Describe what visitors can find here and who it is for.\",required:!0,multiline:!0})]}):null,t===\"submission\"?I(rt,{children:[u(ie,{defaultValue:String(x.website??\"\"),id:`${f}-website`,label:\"Website\",name:\"website\",help:\"Published as the listing\\u2019s website after approval.\",type:\"url\"}),y.categories.length?I(\"label\",{className:\"cd-directory__field\",htmlFor:`${f}-category`,children:[u(\"span\",{children:\"Category\"}),I(\"select\",{defaultValue:typeof v==\"string\"?v:\"\",id:`${f}-category`,name:\"categoryId\",children:[u(\"option\",{value:\"\",children:\"Choose a category\"}),y.categories.map(A=>u(\"option\",{value:String(A.id??\"\"),children:String(A.name??\"Category\")},Fe(A)))]})]}):null,y.fields.length?I(\"section\",{className:\"cd-directory__form-section\",\"aria-label\":\"Directory requirements\",children:[u(\"h3\",{children:\"Directory requirements\"}),y.fields.map(A=>u(ou,{defaultValue:k[String(A.key??\"\")],field:A,prefix:f},String(A.key??\"field\")))]}):null,I(\"details\",{className:\"cd-directory__optional-details\",open:M,children:[I(\"summary\",{children:[\"Add more detail \",u(\"span\",{className:\"cd-directory__muted\",children:\"Description, images, phone and location \\xB7 optional\"})]}),I(\"div\",{children:[I(\"section\",{className:\"cd-directory__form-section\",\"aria-label\":\"More about the listing\",children:[u(\"h3\",{children:\"More about the listing\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"Optional details that help visitors decide.\"}),u(ie,{defaultValue:String(L.description??\"\"),id:`${f}-description`,label:\"Full description\",name:\"description\",multiline:!0}),u(Xs,{initialMedia:L.media}),u(ie,{defaultValue:String(x.phone??\"\"),id:`${f}-phone`,label:\"Public phone\",name:\"phone\",maxLength:80,type:\"tel\"})]}),I(\"section\",{className:\"cd-directory__form-section\",\"aria-label\":\"Location\",children:[u(\"h3\",{children:\"Location\"}),u(ie,{defaultValue:String(_.city??\"\"),id:`${f}-city`,label:\"City or service area\",name:\"city\"}),I(\"div\",{className:\"cd-directory__field-pair\",children:[u(ie,{defaultValue:String(_.region??\"\"),id:`${f}-region`,label:\"Region or state\",name:\"region\"}),u(ie,{defaultValue:String(_.country??\"\"),id:`${f}-country`,label:\"Country\",name:\"country\"})]}),I(\"details\",{className:\"cd-directory__location-details\",children:[u(\"summary\",{children:\"Exact street address (optional)\"}),I(\"div\",{className:\"cd-directory__location-fields\",children:[u(\"p\",{className:\"cd-directory__muted\",children:\"Address details stay private unless you explicitly ask the directory team to publish them below.\"}),u(ie,{defaultValue:String(_.addressLine1??\"\"),id:`${f}-address-line-1`,label:\"Street address\",name:\"addressLine1\",maxLength:240}),u(ie,{defaultValue:String(_.addressLine2??\"\"),id:`${f}-address-line-2`,label:\"Suite, unit, or floor\",name:\"addressLine2\",maxLength:240}),u(ie,{defaultValue:String(_.postalCode??\"\"),id:`${f}-postal-code`,label:\"Postal code\",name:\"postalCode\",maxLength:240}),I(\"label\",{className:\"cd-directory__exact-toggle\",htmlFor:`${f}-show-exact-address`,children:[u(\"input\",{defaultChecked:_.showExactAddress===!0,id:`${f}-show-exact-address`,name:\"showExactAddress\",type:\"checkbox\",value:\"true\"}),I(\"span\",{children:[u(\"strong\",{children:\"Show the exact address if this listing is approved\"}),u(\"small\",{children:\"The directory team reviews this choice before anything is published.\"})]})]})]})]})]})]})]})]}):null,t===\"claim\"&&!h&&!R&&!P&&y.claimListings.length===0?u(G,{label:y.claimHasMore?\"No claimable listings on this page. Load more listings to continue.\":\"No listings are currently available to claim.\",tone:\"warning\"}):null]}),t!==\"claim\"||!h||y.selectedListing?.claimable===!0?u(U,{className:\"cd-directory__button\",type:\"submit\",disabled:o||R||!!P||t===\"claim\"&&(h?!y.selectedListing||y.selectedListing.claimable!==!0:y.claimListings.length===0),children:u(Er,{busy:\"Submitting...\",done:\"Submitted\",idle:R?t===\"claim\"?\"Loading claimable listings\\u2026\":\"Loading listing requirements\\u2026\":t===\"claim\"?\"Submit claim\":M?\"Submit corrected listing\":\"Submit listing\",state:Vi(o,l)})}):null,u(je,{children:i?u(qr,{signal:i.tone===\"alert\"?i:null,children:u(G,{label:i.label,tone:i.tone})}):null}),M?null:u(z,{className:\"cd-directory__back-link\",href:Ve.owner,children:\"View my listing activity\"})]})}async function Zl(e,t){let r=await $(`/public/directories/${encodeURIComponent(e)}/listings?limit=100&sort=title&offset=${t}`),i=r.listings??[],n=r.pagination?.hasMore===!0,o=Lo(r.pagination?.nextOffset)??t+i.length;if(n&&o<=t)throw new Error(\"Cedros returned an invalid listing cursor. Try again.\");return{listings:i.filter(s=>s.claimable===!0),nextOffset:o,hasMore:n}}function ie({id:e,label:t,name:r,help:i,defaultValue:n,maxLength:o,readOnly:s=!1,required:a=!1,type:c=\"text\",multiline:l=!1}){return I(\"label\",{className:\"cd-directory__field\",htmlFor:e,children:[I(\"span\",{children:[u(\"span\",{id:`${e}-label`,children:t}),a?\"\":u(\"span\",{\"aria-hidden\":\"true\",children:\" (optional)\"})]}),l?u(\"textarea\",{\"aria-labelledby\":`${e}-label`,\"aria-describedby\":i?`${e}-help`:void 0,defaultValue:n,id:e,maxLength:o,name:r,readOnly:s,required:a}):u(\"input\",{\"aria-labelledby\":`${e}-label`,\"aria-describedby\":i?`${e}-help`:void 0,defaultValue:n,id:e,maxLength:o,name:r,readOnly:s,required:a,type:c}),i?u(\"small\",{className:\"cd-directory__field-help\",id:`${e}-help`,children:i}):null]})}function ou({field:e,prefix:t,defaultValue:r}){let i=String(e.key??\"\"),n=String(e.label??i),o=String(e.type??\"text\"),s=`custom__${i}`,a=`${t}-${i}`,c=e.required===!0,l=typeof e.helpText==\"string\"?e.helpText:null,d=l?`${a}-help`:void 0,p=o===\"select\"?I(\"select\",{\"aria-describedby\":d,defaultValue:String(r??\"\"),id:a,name:s,required:c,children:[u(\"option\",{value:\"\",children:\"Choose an option\"}),ht(e.options).map(f=>u(\"option\",{value:String(f.value??\"\"),children:String(f.label??f.value??\"Option\")},String(f.value??f.label??\"\")))]}):o===\"multi-select\"||o===\"url-list\"?u(\"textarea\",{\"aria-describedby\":d,defaultValue:Array.isArray(r)?r.join(`\n`):String(r??\"\"),id:a,name:s,required:c,\"aria-label\":`${n} \\u2014 one value per line`}):o===\"textarea\"?u(\"textarea\",{\"aria-describedby\":d,defaultValue:String(r??\"\"),id:a,name:s,required:c}):o===\"checkbox\"?u(\"input\",{\"aria-describedby\":d,defaultChecked:r===!0,id:a,name:s,required:c,type:\"checkbox\",value:\"true\"}):u(\"input\",{\"aria-describedby\":d,defaultValue:String(r??\"\"),id:a,name:s,required:c,step:o===\"number\"?\"any\":void 0,type:F1(o)}),m=I(\"span\",{children:[n,c?null:u(\"span\",{\"aria-hidden\":\"true\",children:\" (optional)\"})]});return o===\"checkbox\"?I(\"div\",{className:\"cd-directory__field\",children:[I(\"label\",{className:\"cd-directory__check\",htmlFor:a,children:[p,m]}),l?u(\"small\",{className:\"cd-directory__field-help\",id:d,children:l}):null]}):I(\"label\",{className:\"cd-directory__field\",htmlFor:a,children:[m,p,l?u(\"small\",{className:\"cd-directory__field-help\",id:d,children:l}):null]})}function I1({directory:e}={}){return I(\"section\",{className:\"cd-directory\",\"data-kind\":\"cedros-directory:pricing\",children:[u(\"header\",{className:\"cd-directory__header\",children:I(\"div\",{children:[u(\"p\",{className:\"cd-directory__eyebrow\",children:\"Listing plans\"}),u(\"h2\",{children:\"Get listed in the directory\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"Submit your listing for free review. The directory team checks every submission before publishing it.\"})]})}),I(\"div\",{className:\"cd-directory__free-review\",children:[I(\"div\",{className:\"cd-directory__detail-copy\",children:[u(\"h3\",{children:\"Free review\"}),u(\"p\",{children:\"Send your listing to the directory team. No payment is required.\"})]}),u(z,{className:\"cd-directory__button\",href:se(Ve.submit,e),children:\"Start submission\"})]}),u(\"p\",{id:\"cd-directory-pay-state\",className:\"cd-directory__muted\",children:\"Paid promotion is not available yet. You can still submit a listing for free review.\"})]})}function C1({props:e}){let[t,r]=K(0),i=Bi(0),n=Bi(!1),o=()=>{i.current++,r(g=>g+1)},[s,a]=K({loading:!0,error:null,needsLogin:!1,data:null}),[c,l]=K({loading:!1,error:null}),d=g=>{g instanceof te&&[401,403,404,410].includes(g.status)&&(i.current++,n.current=!1,a({loading:!1,error:Q(g),needsLogin:g.status===401,data:null}),l({loading:!1,error:null}))};He(()=>{let g=!1;i.current++;let b=i.current;return n.current=!1,l({loading:!1,error:null}),a(L=>({...L,loading:!0,error:null})),$(\"/owner/listings\").then(Ql).then(L=>{!g&&b===i.current&&a({loading:!1,error:null,needsLogin:!1,data:L})}).catch(L=>{!g&&b===i.current&&a({loading:!1,error:Q(L),needsLogin:L instanceof te&&L.status===401,data:null})}),()=>{g=!0,i.current++}},[t]);let p=()=>{if(!s.data||s.loading||n.current)return;let g=M1(s.data);if(!g)return;let b=i.current;n.current=!0,l({loading:!0,error:null}),$(`/owner/listings?${g}`).then(Ql).then(L=>{b===i.current&&(n.current=!1,a(x=>b===i.current&&x.data?{...x,data:T1(x.data,L)}:x),l({loading:!1,error:null}))}).catch(L=>{if(b===i.current){if(n.current=!1,L instanceof te&&[401,403,404,410].includes(L.status)){d(L);return}l({loading:!1,error:Q(L)})}})},m=s.data?[...s.data.submissions.map(g=>({...g,_activityKind:\"submission\"})),...s.data.claims.map(g=>({...g,_activityKind:\"claim\"})),...s.data.revisions.map(g=>({...g,_activityKind:\"revision\"}))].sort((g,b)=>String(b.updatedAt??b.createdAt??\"\").localeCompare(String(g.updatedAt??g.createdAt??\"\"))):[],{attention:f,history:h}=P1(m);return I(\"section\",{className:\"cd-directory\",\"data-kind\":\"cedros-directory:owner-dashboard\",children:[u(z,{className:\"cd-directory__back-link\",href:se(\"/directory\",e.directoryId??e.directorySlug),children:\"\\u2190 Back to directory\"}),u(\"header\",{className:\"cd-directory__header\",children:I(\"div\",{children:[u(\"h2\",{children:\"Your listing activity\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"Keep your listings accurate and follow the directory team\\u2019s review.\"})]})}),u(je,{children:s.loading?u(Ki,{}):null}),u(je,{children:s.error?u(G,{label:s.error,tone:\"warning\",actionLabel:s.needsLogin?void 0:\"Try again\",onAction:s.needsLogin?void 0:o}):null}),!s.loading&&s.needsLogin?u(z,{className:\"cd-directory__button\",href:Me(Ve.owner),children:\"Sign in with Cedros Login\"}):null,s.data&&!s.data.listings.length&&!m.length?I(\"div\",{className:\"cd-directory__owner-start\",children:[I(\"div\",{className:\"cd-directory__detail-copy\",children:[u(\"h3\",{children:\"Make your first listing part of the directory\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"Submit a new listing or claim one you represent. Once the directory team reviews it, you can follow its progress and suggest updates here.\"})]}),I(\"div\",{className:\"cd-directory__actions\",children:[u(z,{className:\"cd-directory__button\",href:se(Ve.submit,e.directoryId??e.directorySlug),children:\"Submit a listing\"}),u(z,{className:\"cd-directory__button cd-directory__button--secondary\",href:se(Ve.claim,e.directoryId??e.directorySlug),children:\"Claim a listing\"})]})]}):null,s.data?I(rt,{children:[u(Kl,{}),u(Gs,{}),f.length?I(\"section\",{className:\"cd-directory__activity\",\"aria-labelledby\":\"cd-directory-attention-title\",children:[I(\"div\",{className:\"cd-directory__detail-copy\",children:[u(\"h3\",{id:\"cd-directory-attention-title\",children:\"Needs your attention\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"The directory team returned these requests. Review their guidance and send an update.\"})]}),f.map((g,b)=>u(Yl,{record:g,onSubmitted:o,onDenied:d},`${String(g._activityKind)}-${Fe(g,b)}`))]}):null,s.data.listings.length?I(\"section\",{className:\"cd-directory__activity\",\"aria-labelledby\":\"cd-directory-owned-title\",children:[I(\"div\",{className:\"cd-directory__detail-copy\",children:[u(\"h3\",{id:\"cd-directory-owned-title\",children:\"Verified listings\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"Suggested changes are reviewed while the current public version remains available.\"})]}),s.data.listings.map(g=>u(R1,{listing:g,onSubmitted:o,onDenied:d},Fe(g)))]}):null,h.length?I(\"section\",{className:\"cd-directory__activity\",\"aria-labelledby\":\"cd-directory-activity-title\",children:[I(\"div\",{className:\"cd-directory__detail-copy\",children:[u(\"h3\",{id:\"cd-directory-activity-title\",children:\"Review status\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"The directory team reviews every proposal, claim, and owner update.\"})]}),h.map((g,b)=>u(Yl,{record:g,onSubmitted:o,onDenied:d},`${String(g._activityKind)}-${Fe(g,b)}`))]}):null,u(je,{children:c.error?u(G,{label:c.error,tone:\"alert\",actionLabel:\"Retry\",onAction:p}):null}),su(s.data)?u(\"div\",{className:\"cd-directory__actions\",children:u(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:s.loading||c.loading,type:\"button\",onClick:p,children:c.loading?\"Loading older activity\\u2026\":\"Show older activity\"})}):null]}):null,s.data&&(s.data.listings.length>0||m.length>0)?I(\"nav\",{className:\"cd-directory__contribute\",\"aria-label\":\"Contribute to the directory\",children:[u(\"span\",{children:\"Have another listing?\"}),u(z,{href:se(Ve.submit,e.directoryId??e.directorySlug),children:\"Submit a listing\"}),u(z,{href:se(Ve.claim,e.directoryId??e.directorySlug),children:\"Claim a listing\"})]}):null]})}var sa=[\"listings\",\"submissions\",\"claims\",\"revisions\"];function Ql(e){let t=()=>new Error(\"Directory returned invalid listing activity. Try again before continuing.\");if(!T(e))throw t();let r=n=>{let o=e[n];if(!Array.isArray(o)||o.length>1e3||!o.every(s=>T(s)&&typeof s.id==\"string\"&&s.id.length>0)||new Set(o.map(s=>s.id)).size!==o.length)throw t();return o},i={listings:r(\"listings\"),submissions:r(\"submissions\"),claims:r(\"claims\"),revisions:r(\"revisions\")};if(e.pagination!==void 0){if(!T(e.pagination))throw t();let n={};for(let o of sa){let s=e.pagination[o];if(!T(s)||typeof s.hasMore!=\"boolean\"||![s.offset,s.nextOffset,s.total,s.limit].every(a=>typeof a==\"number\"&&Number.isSafeInteger(a)&&a>=0)||Number(s.limit)<1||Number(s.limit)>1e3||i[o].length>Number(s.limit)||s.nextOffset!==Number(s.offset)+i[o].length||s.hasMore!==Number(s.nextOffset)<Number(s.total))throw t();n[o]={offset:Number(s.offset),nextOffset:Number(s.nextOffset),total:Number(s.total),limit:Number(s.limit),hasMore:s.hasMore}}i.pagination=n}return i}function su(e){return sa.some(t=>e.pagination?.[t]?.hasMore===!0)}function M1(e){if(!su(e))return null;let t=new URLSearchParams,r={listings:\"listingOffset\",submissions:\"submissionOffset\",claims:\"claimOffset\",revisions:\"revisionOffset\"};for(let i of sa){let n=e.pagination?.[i],o=e[i].length,s=Lo(n?.nextOffset)??o;t.set(r[i],String(s))}return t.toString()}function T1(e,t){return{listings:Br(e.listings,t.listings),submissions:Br(e.submissions,t.submissions),claims:Br(e.claims,t.claims),revisions:Br(e.revisions,t.revisions),pagination:t.pagination}}function Yl({record:e,onSubmitted:t,onDenied:r}){let i=String(e.listingTitle??(T(e.listing)?e.listing.title:null)??\"Listing request\"),o=String(e.status??\"pending\").replace(/[_-]+/g,\" \"),s=typeof e.reviewNote==\"string\"&&e.reviewNote.trim()?e.reviewNote:null,a=String(e._activityKind??\"\"),c=T(e.listing)?e.listing:null,l=String(e.listingId??\"\"),d=au(e);return I(\"article\",{className:\"cd-directory__activity-row\",\"data-has-recovery\":d?!0:void 0,children:[I(\"div\",{children:[u(\"strong\",{children:i}),I(\"p\",{className:\"cd-directory__muted\",children:[a===\"claim\"?\"Ownership claim\":a===\"revision\"?\"Listing update\":\"Listing submission\",\" \\xB7 Updated \",ia(e.updatedAt??e.createdAt)]}),s?I(\"p\",{children:[u(\"strong\",{children:\"Directory team:\"}),\" \",s]}):null,T(e.priorityReview)?I(\"p\",{children:[u(\"strong\",{children:\"Priority review:\"}),\" \",String(e.priorityReview.status).replace(/_/g,\" \"),\" \\xB7 Decision due \",ia(e.priorityReview.deadline)]}):null]}),u(\"span\",{className:\"cd-directory__meta\",children:da(o)}),a===\"submission\"||a===\"revision\"?u(No,{sourceModel:`cedros-directory:${a===\"submission\"?\"submissions\":\"listing-revisions\"}`,sourceKey:String(e.id??\"\")}):null,d===\"submission\"&&c?I(\"details\",{className:\"cd-directory__correction\",children:[u(\"summary\",{children:\"Revise saved proposal\"}),u(ra,{mode:\"submission\",props:{correction:!0,correctionId:String(e.id??\"submission\"),directoryId:c.directoryId,initialListing:c,onSubmitted:t,onDenied:r}})]}):null,d===\"claim\"?u(z,{className:\"cd-directory__button cd-directory__button--secondary\",href:`${Ve.claim}?listing=${encodeURIComponent(l)}`,children:\"Update claim evidence\"}):null,d===\"revision\"?u(z,{className:\"cd-directory__button cd-directory__button--secondary\",href:`#directory-owner-listing-${encodeURIComponent(l)}`,children:\"Update listing again\"}):null]})}function au(e){if(e.status!==\"rejected\"&&e.status!==\"changes_requested\")return null;let t=String(e._activityKind??\"\");return t===\"submission\"&&e.source===\"web\"&&T(e.listing)?\"submission\":(t===\"claim\"||t===\"revision\")&&String(e.listingId??\"\")?t:null}function P1(e){let t=[],r=[];for(let i of e)(au(i)?t:r).push(i);return{attention:t,history:r}}function R1({listing:e,onSubmitted:t,onDenied:r}){let i=Dr(),[n,o]=K(e),[s,a]=K(!1),[c,l]=K(0),[d,p]=K(!1),[m,f]=K(!1),[h,g]=K(!1);He(()=>{s||o(e)},[e,s]);let b=T(n.ownerDraft)?n.ownerDraft:null,L=T(e.ownerDraft)?e.ownerDraft:null,x=n.recordVersion!==e.recordVersion||b?.recordVersion!==L?.recordVersion,[_,k]=K(!1),[v,M]=K(!1),[y,S]=K(()=>Ra(String(n.id??\"\"))),[C,w]=K(null),[P,q]=K(null),[R,j]=qi();He(()=>{C?.tone===\"success\"&&!d&&j()},[C,d,j]);let N=String(n.id??\"\"),V=T(n.contact)?n.contact:{},O=T(n.location)?n.location:{},A=ht(n.ownerFields),H=T(n.customValues)?n.customValues:{},B=D1(n),ne=lr(n.media).length,jt=B.status===\"requested\"||P?.tone===\"success\";return I(\"article\",{className:\"cd-directory__owner-record\",children:[I(\"details\",{className:\"cd-directory__owner-card\",id:`directory-owner-listing-${N}`,children:[I(\"summary\",{children:[I(\"span\",{children:[u(\"strong\",{children:String(e.title??\"Listing\")}),u(\"small\",{children:da(String(e.status??\"draft\"))}),u(\"small\",{className:\"cd-directory__owner-term\",\"data-attention\":B.canRequest,children:B.label}),L?u(\"span\",{className:\"cd-directory__draft-state\",children:\"Saved draft \\xB7 Ready to resume\"}):null]}),I(\"span\",{children:[\"Manage listing\",u(\"svg\",{className:\"cd-directory__owner-chevron\",\"aria-hidden\":\"true\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:u(\"path\",{d:\"m6 9 6 6 6-6\"})})]})]}),u(No,{sourceModel:\"cedros-directory:listings\",sourceKey:N}),I(\"form\",{className:\"cd-directory__owner-form\",onReset:Z=>{a(!1),g(!1),o(e),l(ue=>ue+1),delete Z.currentTarget.dataset.idempotencyKey},onInput:Z=>{a(!0),delete Z.currentTarget.dataset.idempotencyKey},onSubmit:Z=>{if(Z.preventDefault(),e.ownerEditsEnabled===!1||v||x)return;let ue=Z.currentTarget;if(ue.dataset.submitting===\"true\")return;let it=Z.nativeEvent.submitter?.getAttribute(\"data-action\")===\"draft\",Ot=Object.fromEntries(new FormData(ue).entries()),Hi=String(Ot.title??\"\").trim(),zr=String(Ot.summary??\"\").trim();if(Hi.length<2||zr.length<8){w({label:\"Enter a listing name and a public summary of at least 8 characters.\",tone:\"alert\"});return}let $e;try{let _e=Os(Ot);$e=N1(n,Ot,A),_e&&($e.intake=_e)}catch(_e){w({label:Q(_e),tone:\"alert\"});return}k(!0),p(it),ue.dataset.submitting=\"true\",w(null);let Ft=ue.dataset.idempotencyKey??aa();ue.dataset.idempotencyKey=Ft,$(`/owner/listings/${encodeURIComponent(N)}/${it?\"draft\":\"submit-changes\"}`,{method:it?\"PATCH\":\"POST\",body:{...it?{}:{idempotencyKey:Ft},expectedVersion:n.recordVersion,...it||h?{expectedDraftVersion:b?.recordVersion??\"\"}:{},...$e}}).then(_e=>{va(_e,N,Object.fromEntries(Object.entries($e).filter(([Ge])=>Ge!==\"intake\")),it),delete ue.dataset.idempotencyKey,ue.reset(),w(_e.status===\"draft\"?{label:\"Draft saved. Resume it here whenever you\\u2019re ready. It has not been sent for review.\",tone:\"success\"}:_e.status===\"approved\"?{label:\"These changes are already approved and applied to the listing.\",tone:\"success\"}:_e.status===\"rejected\"?{label:\"These changes were already reviewed and rejected. View your listing activity for guidance before trying again.\",tone:\"warning\"}:{label:\"Changes sent for review. The current public listing stays live until approval.\",tone:\"success\"}),t()}).catch(_e=>{r(_e),w({label:Q(_e),tone:\"alert\"})}).finally(()=>{delete ue.dataset.submitting,k(!1)})},children:[B.status!==\"none\"?I(\"section\",{className:\"cd-directory__renewal\",\"aria-label\":\"Listing term\",children:[I(\"div\",{children:[u(\"strong\",{children:B.label}),u(\"p\",{className:\"cd-directory__muted\",children:B.detail})]}),B.canRequest&&!jt?u(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:v||_||s,type:\"button\",onClick:()=>{M(!0),q(null),$(`/owner/listings/${encodeURIComponent(N)}/renew`,{method:\"POST\",body:{}}).then(Z=>{if(xa(Z,N),Z.status===\"checkout_ready\"){S(Z),Aa(N,Z),q({label:\"Review the approved price and confirm checkout below.\",tone:\"warning\"});return}q({label:\"Renewal requested. The directory team will choose the next expiration date.\",tone:\"success\"}),t()}).catch(Z=>{r(Z),q({label:Q(Z),tone:\"alert\"})}).finally(()=>M(!1))},children:v?\"Requesting\\u2026\":\"Request renewal\"}):null,y?u(rn,{reservation:y}):null,s&&B.canRequest?u(G,{label:\"Send or discard your unsent changes before requesting renewal.\"}):null,u(je,{children:P?u(qr,{signal:P.tone===\"alert\"?P:null,children:u(G,{label:P.label,tone:P.tone})}):null})]}):null,L?I(\"section\",{className:\"cd-directory__renewal\",\"aria-label\":\"Saved listing draft\",children:[I(\"div\",{children:[u(\"strong\",{children:\"Saved draft\"}),I(\"p\",{className:\"cd-directory__muted\",children:[\"Saved \",ia(L.updatedAt),\". \",L.listingChanged===!0?\"The listing changed since this draft was saved. Review the draft against the current details before sending.\":\"This draft stays separate from the public listing. It has not been sent for review.\"]})]}),u(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:_||v||s||e.ownerEditsEnabled===!1,type:\"button\",onClick:()=>{o(A1(e)),g(!0),a(!0),l(Z=>Z+1),w(null)},children:\"Resume saved draft\"}),u(U,{className:\"cd-directory__button cd-directory__button--ghost\",disabled:_||v||s||e.ownerEditsEnabled===!1,type:\"button\",onClick:async()=>{await i({title:\"Delete saved draft?\",description:\"The public listing and changes already sent for review will be preserved. This draft cannot be recovered.\",action:\"Delete draft\",danger:!0})&&(k(!0),f(!0),w(null),$(`/owner/listings/${encodeURIComponent(N)}/draft`,{method:\"PATCH\",body:{discardDraft:!0,expectedVersion:e.recordVersion,expectedDraftVersion:L.recordVersion}}).then(Z=>{if(!T(Z)||Z.status!==\"discarded\")throw new Error(\"Draft deletion could not be confirmed. Reload your listing activity before retrying.\");w({label:\"Saved draft deleted. The listing is unchanged.\",tone:\"status\"}),t()}).catch(Z=>{r(Z),w({label:Q(Z),tone:\"alert\"})}).finally(()=>{k(!1),f(!1)}))},children:m?\"Deleting draft\\u2026\":\"Delete saved draft\"})]}):null,x?u(G,{label:\"This listing or its saved draft changed while you were editing. Your unsent changes are preserved. Copy them or discard them to load the latest version.\",tone:\"warning\"}):null,u(js,{directory:String(n.directoryId??\"main\")}),I(\"fieldset\",{className:\"cd-directory__form-fields\",disabled:_||v,children:[I(\"section\",{className:\"cd-directory__form-section\",\"aria-label\":\"Public listing details\",children:[u(\"h3\",{children:\"Public listing details\"}),u(ie,{id:`owner-${N}-title`,label:\"Listing name\",name:\"title\",defaultValue:String(n.title??\"\"),required:!0}),u(ie,{id:`owner-${N}-summary`,label:\"Public summary\",name:\"summary\",defaultValue:String(n.summary??\"\"),required:!0,multiline:!0}),I(\"details\",{className:\"cd-directory__optional-details\",onInvalid:Z=>{Z.currentTarget.open=!0},children:[I(\"summary\",{children:[\"Description and media \",u(\"span\",{className:\"cd-directory__muted\",children:String(n.description??\"\").trim()||ne?I(rt,{children:[String(n.description??\"\").trim()?\"Description provided\":\"No description\",\" \\xB7 \",ne.toLocaleString(),\" \",ne===1?\"media item\":\"media items\"]}):\"Add a longer introduction, images or videos\"})]}),I(\"div\",{children:[u(ie,{id:`owner-${N}-description`,label:\"Description\",name:\"description\",defaultValue:String(n.description??\"\"),multiline:!0}),u(Xs,{initialMedia:n.media})]})]})]}),I(\"section\",{className:\"cd-directory__form-section\",\"aria-label\":\"Contact details\",children:[u(\"h3\",{children:\"Contact details\"}),u(ie,{id:`owner-${N}-email`,label:\"Private contact email\",name:\"contactEmail\",defaultValue:String(V.email??\"\"),maxLength:320,type:\"email\"}),u(\"p\",{className:\"cd-directory__muted\",children:\"The directory team uses this address for inquiries. It stays hidden from visitors.\"}),I(\"div\",{className:\"cd-directory__field-pair\",children:[u(ie,{id:`owner-${N}-website`,label:\"Website\",name:\"website\",defaultValue:String(V.website??\"\"),type:\"url\"}),u(ie,{id:`owner-${N}-phone`,label:\"Public phone\",name:\"phone\",defaultValue:String(V.phone??\"\"),maxLength:80,type:\"tel\"})]})]}),I(\"section\",{className:\"cd-directory__form-section\",\"aria-label\":\"Service area\",children:[u(\"h3\",{children:\"Service area\"}),u(ie,{id:`owner-${N}-city`,label:\"City or area\",name:\"city\",defaultValue:String(O.city??\"\")}),I(\"div\",{className:\"cd-directory__field-pair\",children:[u(ie,{id:`owner-${N}-region`,label:\"Region or state\",name:\"region\",defaultValue:String(O.region??\"\")}),u(ie,{id:`owner-${N}-country`,label:\"Country\",name:\"country\",defaultValue:String(O.country??\"\")})]}),I(\"details\",{className:\"cd-directory__location-details\",children:[u(\"summary\",{children:\"Exact street address (optional)\"}),I(\"div\",{className:\"cd-directory__location-fields\",children:[u(\"p\",{className:\"cd-directory__muted\",children:\"Address details stay private unless you explicitly publish them below.\"}),u(ie,{id:`owner-${N}-address-line-1`,label:\"Street address\",name:\"addressLine1\",defaultValue:String(O.addressLine1??\"\"),maxLength:240}),u(ie,{id:`owner-${N}-address-line-2`,label:\"Suite, unit, or floor\",name:\"addressLine2\",defaultValue:String(O.addressLine2??\"\"),maxLength:240}),u(ie,{id:`owner-${N}-postal-code`,label:\"Postal code\",name:\"postalCode\",defaultValue:String(O.postalCode??\"\"),maxLength:240}),I(\"label\",{className:\"cd-directory__exact-toggle\",htmlFor:`owner-${N}-show-exact-address`,children:[u(\"input\",{defaultChecked:O.showExactAddress===!0,id:`owner-${N}-show-exact-address`,name:\"showExactAddress\",type:\"checkbox\",value:\"true\"}),I(\"span\",{children:[u(\"strong\",{children:\"Show the exact address to visitors\"}),u(\"small\",{children:\"When selected, street and postal details appear on the public listing.\"})]})]})]})]})]}),A.map(Z=>u(ou,{defaultValue:H[String(Z.key??\"\")],field:Z,prefix:`owner-${N}`},String(Z.key??\"field\"))),e.ownerEditsEnabled===!1?u(G,{label:\"This directory is not accepting owner updates.\",tone:\"status\"}):null]}),I(\"div\",{className:\"cd-directory__actions cd-directory__edit-actions\",children:[s?u(U,{className:\"cd-directory__button cd-directory__button--ghost\",disabled:_||v,type:\"reset\",children:\"Discard unsent changes\"}):null,u(U,{className:\"cd-directory__button cd-directory__button--secondary\",disabled:_||v||x||e.ownerEditsEnabled===!1,\"data-action\":\"draft\",type:\"submit\",children:_&&d&&!m?\"Saving draft\\u2026\":\"Save draft\"}),u(U,{className:\"cd-directory__button\",disabled:_||v||x||e.ownerEditsEnabled===!1,type:\"submit\",children:u(Er,{busy:\"Submitting\\u2026\",done:d?\"Send changes for review\":\"Sent for review\",idle:\"Send changes for review\",state:Vi(_&&!d&&!m,R)})})]}),u(je,{children:C?I(qr,{signal:C.tone===\"alert\"?C:null,children:[u(G,{label:C.label,tone:C.tone}),C.tone===\"alert\"?u(U,{className:\"cd-directory__button cd-directory__button--secondary\",type:\"button\",disabled:_||v,onClick:()=>{a(!1),g(!1),w(null),l(Z=>Z+1),t()},children:\"Discard edits and reload\"}):null]}):null})]},`${String(n.recordVersion??N)}-${c}`)]}),u(Hl,{listingId:N}),e.status===\"published\"&&typeof e.slug==\"string\"&&e.slug?I(z,{className:\"cd-directory__owner-view\",href:wt(e.slug),children:[\"View public listing \",u(\"span\",{\"aria-hidden\":\"true\",children:\"\\u2197\"})]}):null]})}function A1(e){let t=T(e.ownerDraft)?e.ownerDraft:{},r=T(t.after)?t.after:{};return{...e,...r,customValues:{...T(e.customValues)?e.customValues:{},...T(r.customValues)?r.customValues:{}}}}function N1(e,t,r){let i=T(e.contact)?e.contact:{},n=T(e.location)?e.location:{},o=String(t.contactEmail??\"\").trim(),s=String(t.website??\"\").trim(),a=String(t.phone??\"\").trim(),c=String(t.city??\"\").trim(),l=String(t.region??\"\").trim(),d=String(t.country??\"\").trim(),p=String(t.addressLine1??\"\").trim(),m=String(t.addressLine2??\"\").trim(),f=String(t.postalCode??\"\").trim();return{title:String(t.title??\"\").trim(),summary:String(t.summary??\"\").trim(),description:String(t.description??\"\").trim(),...t.mediaJson===void 0?{}:{media:Ys(t.mediaJson)},contact:{...eu(i,[\"website\",\"phone\",...t.contactEmail===void 0?[]:[\"email\"]]),...o?{email:o}:{},...s?{website:s}:{},...a?{phone:a}:{}},location:{...eu(n,[\"city\",\"region\",\"country\",\"addressLine1\",\"addressLine2\",\"postalCode\",\"showExactAddress\"]),...c?{city:c}:{},...l?{region:l}:{},...d?{country:d}:{},...p?{addressLine1:p}:{},...m?{addressLine2:m}:{},...f?{postalCode:f}:{},showExactAddress:t.showExactAddress===\"true\"},...r.length?{customValues:cu(t,r)}:{}}}function D1(e,t=Date.now()){if(e.status===\"archived\")return{status:\"archived\",label:\"Listing archived\",detail:\"Archived listings are no longer eligible for renewal.\",canRequest:!1};let r=typeof e.expiresAt==\"string\"?Date.parse(e.expiresAt):Number.NaN,i=Number.isFinite(r)?new Date(r).toLocaleDateString(void 0,{year:\"numeric\",month:\"short\",day:\"numeric\",timeZone:\"UTC\"}):null;return e.renewalStatus===\"ready_to_publish\"?{status:\"ready_to_publish\",label:\"Renewed; awaiting publication\",detail:i?`The new term ends ${i}. The directory team must publish the listing separately.`:\"The directory team must publish the listing separately.\",canRequest:!1}:e.renewalStatus===\"requested\"?{status:\"requested\",label:\"Renewal requested\",detail:i?`The current term ends ${i}. The directory team is reviewing the next term.`:\"The directory team is reviewing the next term.\",canRequest:!1}:e.status===\"expired\"||Number.isFinite(r)&&r<t?{status:\"expired\",label:\"Listing term expired\",detail:i?`The term ended ${i}. Renewal requires team review before republication.`:\"Renewal requires team review before republication.\",canRequest:!0}:typeof e.renewalDueAt==\"string\"||Number.isFinite(r)&&r<=t+720*60*60*1e3?{status:\"due\",label:\"Renewal available\",detail:i?`The current term ends ${i}.`:\"The listing is inside its renewal window.\",canRequest:!0}:i?{status:\"current\",label:`Current through ${i}`,detail:\"Renewal becomes available within 30 days of expiration.\",canRequest:!1}:{status:\"none\",label:\"No expiration\",detail:\"This listing does not need renewal.\",canRequest:!1}}function V1({props:e}){let t=String(e.directoryId??e.directorySlug??\"main\"),r=Lo(e.total)??void 0,i=iu(async()=>{let a=(await $(`/public/directories/${encodeURIComponent(t)}/listings?limit=1`)).pagination?.total;if(typeof a!=\"number\"||!Number.isInteger(a)||a<0)throw new Error(\"Directory statistics are unavailable.\");return a},[t]),n=yt(`stats:${t}`,r,i),o={...n,total:n.data??null};return u(\"section\",{className:\"cd-directory\",\"data-kind\":\"cedros-directory:directory-stats\",children:I(dr,{state:o.total!==null?\"results\":o.loading?\"loading\":o.error?\"error\":\"empty\",children:[o.loading?u(Ki,{}):null,!o.loading&&o.error?u(G,{label:o.error,tone:\"alert\",actionLabel:\"Retry\",onAction:n.retry}):null,!o.loading&&o.total!==null?I(\"p\",{className:\"cd-directory__breadth\",children:[u(\"strong\",{children:u(co,{value:o.total})}),\" published \",o.total===1?\"listing\":\"listings\",\" to explore\"]}):null]},o.error&&o.total===null?\"unavailable\":\"available\")})}function du(e,t,r){return r>0?\"results\":t?\"error\":e?\"loading\":\"empty\"}function q1(){return u(\"svg\",{\"aria-hidden\":\"true\",fill:\"none\",height:\"14\",stroke:\"currentColor\",strokeLinecap:\"round\",strokeWidth:\"2\",viewBox:\"0 0 24 24\",width:\"14\",children:u(\"path\",{d:\"M6 6l12 12M18 6L6 18\"})})}function Ki(){return I(\"div\",{className:\"cd-directory__skeleton\",role:\"status\",\"aria-label\":\"Loading listings\",children:[u(\"span\",{\"aria-hidden\":\"true\"}),u(\"span\",{\"aria-hidden\":\"true\"}),u(\"span\",{\"aria-hidden\":\"true\"})]})}function E1({kind:e,directory:t,filtered:r=!1,onClear:i}){return r?u(G,{label:\"No listings match this search. Clear the search and category to see all published listings.\",actionLabel:\"Clear search and category\",onAction:i}):u(G,{label:e===\"cedros-directory:featured-listings\"||e===\"cedros-directory:sponsored-listings\"?\"No promoted listings are available right now.\":\"No public listings match this view yet.\",actionLabel:\"Submit listing\",onAction:()=>{let o=se(Ve.submit,t);o&&typeof window<\"u\"&&(window.location.href=o)}})}function j1(e,t,r,i,n,o,s){e.preventDefault();let a=e.currentTarget;if(a.dataset.submitting===\"true\")return;let c=Object.fromEntries(new FormData(a).entries()),l=$1(c,i);if(l.length){s({label:l.join(\" \"),tone:\"alert\"});return}let d;try{let m=Os(c);d=i===\"submission\"?O1(c,n):{...c},m&&(d.intake=m)}catch(m){s({label:Q(m),tone:\"alert\"});return}o(!0),a.dataset.submitting=\"true\",t.directoryId?d.directoryId=String(t.directoryId):d.directorySlug=String(t.directorySlug??\"main\");let p=a.dataset.idempotencyKey??aa();p&&(a.dataset.idempotencyKey=p),s(null),$(r,{method:\"POST\",body:d,headers:p?{\"idempotency-key\":p}:void 0}).then(m=>{wa(m,i),a.reset(),delete a.dataset.idempotencyKey;let f=i===\"claim\"?\"Claim\":t.correction===!0?\"Corrected listing\":\"Listing\",h=m.status===\"approved\"?\"already approved\":m.status===\"rejected\"?\"already reviewed and rejected\":\"submitted for review\";s({label:`${f} ${h}. View my listing activity for the result and next steps.`,tone:m.status===\"rejected\"?\"warning\":\"success\"}),typeof t.onSubmitted==\"function\"&&t.onSubmitted()}).catch(m=>{typeof t.onDenied==\"function\"&&t.onDenied(m),s({label:Q(m),tone:\"alert\"})}).finally(()=>{delete a.dataset.submitting,o(!1)})}function O1(e,t){let r=String(e.categoryId??\"\").trim(),i=String(e.city??\"\").trim(),n=String(e.region??\"\").trim(),o=String(e.country??\"\").trim(),s=String(e.addressLine1??\"\").trim(),a=String(e.addressLine2??\"\").trim(),c=String(e.postalCode??\"\").trim(),l=String(e.description??\"\").trim(),d=String(e.website??\"\").trim(),p=String(e.phone??\"\").trim();return{title:String(e.title??\"\").trim(),summary:String(e.summary??\"\").trim(),contactEmail:String(e.contactEmail??\"\").trim(),...e.mediaJson===void 0?{}:{media:Ys(e.mediaJson)},...l?{description:l}:{},...d?{website:d}:{},...p?{phone:p}:{},...r?{categoryIds:[r]}:{},...i||n||o||s||a||c?{location:{...i?{city:i}:{},...n?{region:n}:{},...o?{country:o}:{},...s?{addressLine1:s}:{},...a?{addressLine2:a}:{},...c?{postalCode:c}:{},showExactAddress:e.showExactAddress===\"true\"}}:{},...t.length?{customValues:cu(e,t)}:{}}}function cu(e,t){let r={};for(let i of t){let n=String(i.key??\"\"),o=e[`custom__${n}`];i.type===\"multi-select\"||i.type===\"url-list\"?r[n]=String(o??\"\").split(/\\r?\\n/).filter(s=>s.trim()):i.type===\"checkbox\"?r[n]=o===\"true\":i.type===\"number\"&&o!==void 0&&String(o).trim()?r[n]=Number(o):o!==void 0&&(r[n]=i.type===\"select\"?String(o):String(o).trim())}return r}function F1(e){return[\"email\",\"url\",\"number\",\"date\"].includes(e)?e:e===\"phone\"?\"tel\":\"text\"}function aa(){return typeof crypto<\"u\"&&\"randomUUID\"in crypto?crypto.randomUUID():`directory-${Date.now()}-${Math.random().toString(36).slice(2)}`}function $1(e,t){let r=[],i=String(e[t===\"claim\"?\"claimantEmail\":\"contactEmail\"]??\"\");return/^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/.test(i)||r.push(\"Enter a valid contact email.\"),t===\"submission\"&&String(e.title??\"\").trim().length<2&&r.push(\"Listing name is required.\"),t===\"claim\"&&String(e.listingId??\"\").trim().length<2&&r.push(\"Choose the listing you represent.\"),String(e[t===\"claim\"?\"evidence\":\"summary\"]??\"\").trim().length<8&&r.push(t===\"claim\"?\"Ownership evidence is required.\":\"Summary must be at least 8 characters.\"),r}function lu(e,t){if(typeof e.listingId==\"string\"&&e.listingId.trim())return e.listingId.trim();if(typeof e.slug==\"string\"&&e.slug.trim())return e.slug.trim();let r=t??(typeof window>\"u\"?\"\":window.location.search);return new URLSearchParams(r).get(\"listing\")?.trim()??\"\"}function Xl(e,t){return e===\"cedros-directory:featured-listings\"?t.filter(r=>T(r.placement)&&r.placement.featured):e===\"cedros-directory:sponsored-listings\"?t.filter(r=>T(r.placement)&&r.placement.sponsored):t}function U1(e){return e===\"cedros-directory:directory-search\"?\"Explore the directory\":e===\"cedros-directory:featured-listings\"?\"Featured listings\":e===\"cedros-directory:sponsored-listings\"?\"Sponsored listings\":e===\"cedros-directory:category-grid\"?\"Browse categories\":e===\"cedros-directory:location-grid\"?\"Browse locations\":e===\"cedros-directory:map\"?\"Directory locations\":e===\"cedros-directory:related-listings\"?\"Related listings\":\"Directory listings\"}function Jl(e){return e===\"cedros-directory:directory-search\"?\"Discover projects, services, and communities. Find what you need and explore the details.\":e===\"cedros-directory:featured-listings\"?\"Selected listings from across the directory.\":e===\"cedros-directory:sponsored-listings\"?\"Paid placements, clearly marked for your reference.\":e===\"cedros-directory:map\"?\"Find listings by their public area. Exact addresses appear only when a listing allows them.\":e===\"cedros-directory:related-listings\"?\"\":e===\"cedros-directory:category-grid\"?\"Choose a category to find relevant listings.\":e===\"cedros-directory:location-grid\"?\"Areas represented in this directory.\":\"Find a relevant listing and explore its details.\"}function B1(e){return[...new Set(e.map(t=>T(t.location)?String(t.location.city??t.location.label??\"\"):\"\").filter(Boolean))]}function ht(e){return Array.isArray(e)?e.filter(T):[]}function Fe(e,t=0){return String(e.id??e.slug??t)}function z1(e){let t=T(e.location)?e.location:{},r=[t.city,t.region].filter(i=>typeof i==\"string\"&&i.trim()).join(\", \");return`${String(e.title??\"Listing\")}${r?` \\u2014 ${r}`:\"\"}`}function K1(e){let t=Number(e??12);return Number.isInteger(t)&&t>=1&&t<=100?t:12}function Lo(e){let t=Number(e);return e!=null&&Number.isInteger(t)&&t>=0?t:null}function Br(e,t){let r=new Set(e.map((i,n)=>Fe(i,n)));return[...e,...t.filter((i,n)=>{let o=Fe(i,e.length+n);return r.has(o)?!1:(r.add(o),!0)})]}function H1(e){return e===\"cedros-directory:featured-listings\"?\"featured\":e===\"cedros-directory:sponsored-listings\"?\"sponsored\":null}function da(e){return e.replace(/[-_]+/g,\" \").replace(/\\b\\w/g,t=>t.toUpperCase())}function ia(e){if(typeof e!=\"string\")return\"recently\";let t=new Date(e);return Number.isNaN(t.valueOf())?\"recently\":t.toLocaleDateString()}function eu(e,t){let r=new Set(t);return Object.fromEntries(Object.entries(e).filter(([i])=>!r.has(i)))}function tu(e,t){let[r,i]=K(e);return He(()=>{let n=setTimeout(()=>i(e),t);return()=>clearTimeout(n)},[t,e]),r}var ru={ListingCard:zi,State:G,SkeletonRows:Ki,BlockHeader:oa,RelatedListings:({listing:e,initialListings:t})=>u(nu,{props:{sourceListing:e,initialListings:t}}),recordKey:Fe};var uu=`\n.cuqjpvh-runtime .cd-directory__form-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; }\n.cuqjpvh-runtime .cd-directory {\n  --cd-directory-radius-sm: 6px;\n  --cd-directory-radius-md: 8px;\n  --cd-directory-radius-lg: 12px;\n  container: cd-directory-layout / inline-size;\n  font-family: inherit;\n  font-size: 16px;\n  box-sizing: border-box;\n  color: var(--cuqjpvh-runtime-text, #111);\n  display: grid;\n  gap: 24px;\n  margin-inline: auto;\n  padding-block: 20px;\n  /* Phone gutter: themes may give the page surface none, and cards must not\n     touch the screen edge. Content stays 1120px wide on desktop. */\n  padding-inline: 16px;\n  inline-size: min(100%, 1152px);\n  min-width: 0;\n}\n.cuqjpvh-runtime .cd-directory .cd-directory {\n  padding-inline: 0;\n  inline-size: 100%;\n}\n.cuqjpvh-runtime .cd-directory *,\n.cuqjpvh-runtime .cd-directory *::before,\n.cuqjpvh-runtime .cd-directory *::after {\n  box-sizing: border-box;\n}\n.cuqjpvh-runtime .cd-directory summary {\n  min-block-size: 44px;\n  min-inline-size: 44px;\n  align-content: center;\n}\n.cuqjpvh-runtime .cd-directory__header {\n  align-items: end;\n  display: flex;\n  gap: 16px;\n  justify-content: space-between;\n}\n.cuqjpvh-runtime .cd-directory__header > *,\n.cuqjpvh-runtime .cd-directory__toolbar > *,\n.cuqjpvh-runtime .cd-directory__state > *,\n.cuqjpvh-runtime .cd-directory__card > * {\n  min-width: 0;\n}\n.cuqjpvh-runtime .cd-directory__eyebrow {\n  color: var(--cuqjpvh-runtime-muted, #666);\n  font-size: 12px;\n  font-weight: 500;\n  letter-spacing: 0;\n  margin: 0 0 4px;\n  text-transform: none;\n}\n.cuqjpvh-runtime .cd-directory h2,\n.cuqjpvh-runtime .cd-directory h3 {\n  letter-spacing: 0;\n  line-height: 1.18;\n  margin: 0;\n  overflow-wrap: anywhere;\n}\n.cuqjpvh-runtime .cd-directory h2 {\n  font-size: 24px;\n  font-weight: 600;\n}\n.cuqjpvh-runtime .cd-directory h3 {\n  font-size: 18px;\n}\n.cuqjpvh-runtime .cd-directory__muted {\n  color: var(--cuqjpvh-runtime-muted, #666);\n  line-height: 1.55;\n  margin: 6px 0 0;\n  overflow-wrap: anywhere;\n}\n.cuqjpvh-runtime .cd-directory__count,\n.cuqjpvh-runtime .cd-directory__meta,\n.cuqjpvh-runtime .cd-directory__disclosure {\n  align-items: center;\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: 999px;\n  color: var(--cuqjpvh-runtime-muted, #666);\n  display: inline-flex;\n  font-size: 12px;\n  line-height: 1.3;\n  padding: 3px 9px;\n  white-space: nowrap;\n}\n.cuqjpvh-runtime .cd-directory__meta { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }\n.cuqjpvh-runtime .cd-directory__toolbar,\n.cuqjpvh-runtime .cd-directory__actions,\n.cuqjpvh-runtime .cd-directory__card-context {\n  align-items: center;\n  display: flex;\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.cuqjpvh-runtime .cd-directory__toolbar {\n  background: var(--cuqjpvh-runtime-panel, #fff);\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: var(--cd-directory-radius-md);\n  justify-content: space-between;\n  padding: 12px;\n}\n.cuqjpvh-runtime .cd-directory__field {\n  display: grid;\n  gap: 6px;\n}\n.cuqjpvh-runtime .cd-directory__field--search {\n  flex: 1 1 280px;\n}\n.cuqjpvh-runtime .cd-directory__field > span:first-child {\n  color: var(--cuqjpvh-runtime-muted, #666);\n  font-size: 13px;\n  font-weight: 500;\n}\n.cuqjpvh-runtime .cd-directory input,\n.cuqjpvh-runtime .cd-directory select,\n.cuqjpvh-runtime .cd-directory textarea,\n.cuqjpvh-runtime .cd-directory button,\n.cuqjpvh-runtime .cd-directory__button {\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: var(--cd-directory-radius-sm);\n  font: inherit;\n  min-height: 44px;\n  padding: 8px 12px;\n  transition: background-color var(--motion-duration-fast, 160ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1)),\n    border-color var(--motion-duration-fast, 160ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1)),\n    box-shadow var(--motion-duration-fast, 160ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1)),\n    color var(--motion-duration-fast, 160ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1));\n}\n.cuqjpvh-runtime .cd-directory input,\n.cuqjpvh-runtime .cd-directory select,\n.cuqjpvh-runtime .cd-directory textarea {\n  background: var(--cuqjpvh-runtime-panel, #fff);\n  color: var(--cuqjpvh-runtime-text, #111);\n  width: 100%;\n}\n.cuqjpvh-runtime .cd-directory textarea {\n  min-height: 124px;\n  resize: vertical;\n}\n.cuqjpvh-runtime .cd-directory input::placeholder,\n.cuqjpvh-runtime .cd-directory textarea::placeholder {\n  color: var(--cuqjpvh-runtime-muted, #666);\n  opacity: 1;\n}\n.cuqjpvh-runtime .cd-directory button,\n.cuqjpvh-runtime .cd-directory__button {\n  align-items: center;\n  background: var(--cuqjpvh-runtime-action-bg, #111);\n  /* A solid action is one shape: its edge follows the site's action color. */\n  border-color: var(--cuqjpvh-runtime-action-bg, #111);\n  color: var(--cuqjpvh-runtime-action-fg, #fff);\n  cursor: pointer;\n  display: inline-flex;\n  font-weight: 600;\n  justify-content: center;\n  line-height: 1.2;\n  text-decoration: none;\n  touch-action: manipulation;\n}\n.cuqjpvh-runtime .cd-directory button:hover,\n.cuqjpvh-runtime .cd-directory__button:hover {\n  box-shadow: 0 2px 8px color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 14%, transparent);\n}\n.cuqjpvh-runtime .cd-directory button:active,\n.cuqjpvh-runtime .cd-directory__button:active {\n  box-shadow: none;\n}\n.cuqjpvh-runtime .cd-directory button[disabled] {\n  cursor: not-allowed;\n  opacity: .58;\n}\n.cuqjpvh-runtime .cd-directory .cd-directory__button--secondary {\n  border-color: var(--cuqjpvh-runtime-border, #ddd);\n  background: var(--cuqjpvh-runtime-accent-soft, color-mix(in srgb, var(--cuqjpvh-runtime-accent, #111) 12%, var(--cuqjpvh-runtime-panel, #fff)));\n  color: var(--cuqjpvh-runtime-accent, #111);\n}\n.cuqjpvh-runtime .cd-directory .cd-directory__button--ghost {\n  background: transparent;\n  border-color: var(--cuqjpvh-runtime-border, #ddd);\n  color: var(--cuqjpvh-runtime-accent, #111);\n}\n.cuqjpvh-runtime .cd-directory input:focus-visible,\n.cuqjpvh-runtime .cd-directory select:focus-visible,\n.cuqjpvh-runtime .cd-directory textarea:focus-visible,\n.cuqjpvh-runtime .cd-directory button:focus-visible,\n.cuqjpvh-runtime .cd-directory__button:focus-visible,\n.cuqjpvh-runtime .cd-directory__term-link:focus-visible {\n  outline: 2px solid var(--cuqjpvh-runtime-accent, #111);\n  outline-offset: 2px;\n}\n.cuqjpvh-runtime .cd-directory__grid {\n  display: grid;\n  gap: 14px;\n  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));\n}\n.cuqjpvh-runtime .cd-directory__field--sort { flex: 0 1 190px; }\n.cuqjpvh-runtime .cd-directory__detail { inline-size: min(100%, 1040px); }\n.cuqjpvh-runtime .cd-directory__detail-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 48px; align-items: start; padding-top: 24px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); }\n.cuqjpvh-runtime .cd-directory__listing-information { display: grid; grid-column: 1; grid-row: 1; gap: 28px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__contact-rail { display: grid; grid-column: 2; grid-row: 1; gap: 20px; min-width: 0; padding: 20px; background: var(--cuqjpvh-runtime-panel, #fff); border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-md); }\n.cuqjpvh-runtime .cd-directory__contact-rail > h3 { font-size: 16px; }\n.cuqjpvh-runtime .cd-directory__contact-rail .cd-directory__actions { display: grid; grid-template-columns: minmax(0, 1fr); }\n.cuqjpvh-runtime .cd-directory__contact-rail .cd-directory__field-pair { grid-template-columns: minmax(0, 1fr); }\n.cuqjpvh-runtime .cd-directory__contact-rail .cd-directory__contact-disclosure { border-bottom: 0; padding-bottom: 0; }\n.cuqjpvh-runtime .cd-directory__contact-rail .cd-directory__inquiry-send { justify-self: stretch; }\n.cuqjpvh-runtime .cd-directory__detail-header {\n  align-items: start;\n  display: flex;\n  gap: 16px;\n  justify-content: space-between;\n}\n.cuqjpvh-runtime .cd-directory__back-link { color: var(--cuqjpvh-runtime-accent, #111); font-weight: 600; width: max-content; }\n.cuqjpvh-runtime .cd-directory__detail-copy { display: grid; gap: 6px; }\n.cuqjpvh-runtime .cd-directory__detail-copy p { line-height: 1.65; margin: 0; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__address { display: grid; font-style: normal; gap: 2px; line-height: 1.55; }\n.cuqjpvh-runtime .cd-directory__facts { display: grid; gap: 8px; margin: 0; }\n.cuqjpvh-runtime .cd-directory__facts > div { align-items: baseline; display: grid; gap: 2px 12px; grid-template-columns: minmax(96px, .35fr) 1fr; }\n.cuqjpvh-runtime .cd-directory__facts dt { color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; font-weight: 600; }\n.cuqjpvh-runtime .cd-directory__facts dd { margin: 0; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__facts > .cd-directory__fact-section { grid-template-columns: 1fr; gap: 8px; padding-block: 12px; }\n.cuqjpvh-runtime .cd-directory__fact-section dt { color: inherit; font-size: 16px; }\n.cuqjpvh-runtime .cd-directory__fact-section dd { white-space: pre-wrap; line-height: 1.65; }\n.cuqjpvh-runtime .cd-directory__facts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }\n.cuqjpvh-runtime .cd-directory__inquiry {\n  background: var(--cuqjpvh-runtime-panel, #fff);\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: var(--cd-directory-radius-md);\n  display: grid;\n  gap: 12px;\n  margin-top: 8px;\n  padding: 16px;\n}\n.cuqjpvh-runtime .cd-directory__activity { display: grid; gap: 10px; }\n.cuqjpvh-runtime .cd-directory__activity-row,\n.cuqjpvh-runtime .cd-directory__owner-card {\n  background: var(--cuqjpvh-runtime-panel, #fff);\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: var(--cd-directory-radius-md);\n  padding: 14px 16px;\n}\n.cuqjpvh-runtime .cd-directory__activity-row { align-items: center; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; }\n.cuqjpvh-runtime .cd-directory__activity-row > .cd-directory__meta { justify-self: start; }\n.cuqjpvh-runtime .cd-directory__activity-row > div { min-width: 0; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__fee-purchases { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); padding-top: 14px; }\n.cuqjpvh-runtime .cd-directory__owner-card > .cd-directory__fee-purchases { margin-top: 16px; }\n.cuqjpvh-runtime .cd-directory__fee-purchases h4 { margin: 0 0 8px; }\n.cuqjpvh-runtime .cd-directory__fee-purchases p { margin: 8px 0; line-height: 1.55; }\n.cuqjpvh-runtime .cd-directory__fee-purchases > div { margin-block: 16px; }\n.cuqjpvh-runtime .cd-directory__fee-purchases button { margin: 4px 8px 4px 0; white-space: normal; }\n.cuqjpvh-runtime .cd-directory__activity-row[data-has-recovery] > .cd-directory__button,\n.cuqjpvh-runtime .cd-directory__correction { grid-column: 1 / -1; }\n.cuqjpvh-runtime .cd-directory__correction { border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); padding-top: 12px; }\n.cuqjpvh-runtime .cd-directory__correction > summary { color: var(--cuqjpvh-runtime-accent, #111); cursor: pointer; font-weight: 600; }\n.cuqjpvh-runtime .cd-directory__correction > .cd-directory__form { margin-top: 14px; }\n.cuqjpvh-runtime .cd-directory__owner-card > summary { align-items: center; cursor: pointer; display: flex; gap: 16px; justify-content: space-between; }\n.cuqjpvh-runtime .cd-directory__owner-card > summary > span:first-child { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__owner-card > summary > span:last-child { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 14px; }\n.cuqjpvh-runtime .cd-directory__owner-card[open] > summary .cd-directory__owner-chevron { transform: rotate(180deg); }\n.cuqjpvh-runtime .cd-directory__owner-card > summary small { color: var(--cuqjpvh-runtime-muted, #666); }\n.cuqjpvh-runtime .cd-directory__owner-form { display: grid; gap: 12px; margin-top: 16px; }\n.cuqjpvh-runtime .cd-directory__location-details {\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: var(--cd-directory-radius-sm);\n  padding: 12px;\n}\n.cuqjpvh-runtime .cd-directory__location-details > summary { color: var(--cuqjpvh-runtime-accent, #111); cursor: pointer; font-weight: 600; }\n.cuqjpvh-runtime .cd-directory__location-details[open] > summary { margin-bottom: 8px; }\n.cuqjpvh-runtime .cd-directory__location-fields { display: grid; gap: 12px; }\n.cuqjpvh-runtime .cd-directory__location-fields > .cd-directory__muted { margin: 0; }\n.cuqjpvh-runtime .cd-directory__exact-toggle { align-items: flex-start; display: flex; gap: 9px; }\n.cuqjpvh-runtime .cd-directory__exact-toggle > input { flex: 0 0 auto; margin-top: 3px; min-height: auto; width: auto; }\n.cuqjpvh-runtime .cd-directory__exact-toggle > span { display: grid; gap: 2px; }\n.cuqjpvh-runtime .cd-directory__exact-toggle small { color: var(--cuqjpvh-runtime-muted, #666); font-weight: 400; line-height: 1.4; }\n.cuqjpvh-runtime .cd-directory__renewal {\n  align-items: center;\n  background: var(--cuqjpvh-runtime-panel, #fff);\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: var(--cd-directory-radius-md);\n  display: flex;\n  flex-wrap: wrap;\n  gap: 12px;\n  justify-content: space-between;\n  padding: 14px;\n}\n.cuqjpvh-runtime .cd-directory__renewal > div:first-child { flex: 1 1 240px; }\n.cuqjpvh-runtime .cd-directory__renewal p { margin: 4px 0 0; }\n.cuqjpvh-runtime .cd-directory__list,\n.cuqjpvh-runtime .cd-directory__form {\n  display: grid;\n  gap: 12px;\n}\n.cuqjpvh-runtime .cd-directory.cd-directory__form { inline-size: min(100%, 760px); }\n.cuqjpvh-runtime .cd-directory__card,\n.cuqjpvh-runtime .cd-directory__state,\n.cuqjpvh-runtime .cd-directory__term {\n  background: var(--cuqjpvh-runtime-panel, #fff);\n  border: 1px solid var(--cuqjpvh-runtime-border, #ddd);\n  border-radius: var(--cd-directory-radius-md);\n  padding: 24px;\n}\n.cuqjpvh-runtime .cd-directory__card {\n  display: grid;\n  gap: 10px;\n  min-width: 0;\n}\n.cuqjpvh-runtime .cd-directory__card p {\n  overflow-wrap: anywhere;\n}\n.cuqjpvh-runtime .cd-directory__state {\n  align-items: center;\n  color: var(--cuqjpvh-runtime-muted, #666);\n  display: flex;\n  gap: 12px;\n  justify-content: space-between;\n  line-height: 1.5;\n}\n.cuqjpvh-runtime .cd-directory__state span {\n  overflow-wrap: anywhere;\n}\n.cuqjpvh-runtime .cd-directory__state[data-tone=\"success\"] {\n  background: var(--cuqjpvh-runtime-panel, #fff);\n}\n.cuqjpvh-runtime .cd-directory__state[data-tone=\"warning\"] {\n  background: color-mix(in srgb, var(--cuqjpvh-runtime-warning, #8a5b00) 11%, var(--cuqjpvh-runtime-panel, #fff));\n  border-color: color-mix(in srgb, var(--cuqjpvh-runtime-warning, #8a5b00) 36%, var(--cuqjpvh-runtime-border, #ddd));\n}\n.cuqjpvh-runtime .cd-directory__state[data-tone=\"alert\"] {\n  background: color-mix(in srgb, var(--cuqjpvh-runtime-error, #b42318) 10%, var(--cuqjpvh-runtime-panel, #fff));\n  border-color: color-mix(in srgb, var(--cuqjpvh-runtime-error, #b42318) 36%, var(--cuqjpvh-runtime-border, #ddd));\n}\n.cuqjpvh-runtime .cd-directory__term-grid {\n  display: grid;\n  gap: 10px;\n  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));\n}\n.cuqjpvh-runtime .cd-directory__term {\n  font-weight: 600;\n}\n.cuqjpvh-runtime .cd-directory__term-link {\n  align-items: center;\n  color: inherit;\n  display: flex;\n  height: 100%;\n  justify-content: space-between;\n  text-decoration: none;\n  transition: border-color var(--motion-duration-fast, 160ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1)),\n    box-shadow var(--motion-duration-fast, 160ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1));\n}\n.cuqjpvh-runtime .cd-directory__term-link:hover {\n  border-color: var(--cuqjpvh-runtime-accent, #111);\n  box-shadow: 0 2px 8px color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 12%, transparent);\n}\n/* Keep entry feedback separate from the content layout. */\n.cuqjpvh-runtime .cd-directory__grid-item {\n  animation: cd-directory-grid-item-reveal var(--motion-duration-standard, 220ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1)) both;\n  display: grid;\n  min-width: 0;\n  transform-origin: center bottom;\n}\n@keyframes cd-directory-grid-item-reveal {\n  from {\n    opacity: 0;\n    transform: translateY(8px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n.cuqjpvh-runtime .cd-directory__skeleton {\n  display: grid;\n  gap: 10px;\n}\n.cuqjpvh-runtime .cd-directory__skeleton span {\n  background: color-mix(in srgb, var(--cuqjpvh-runtime-muted, #666) 14%, var(--cuqjpvh-runtime-panel, #fff));\n  border-radius: var(--cd-directory-radius-md);\n  display: block;\n  height: 72px;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-swap {\n  display: grid;\n  min-width: 0;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-swap__layer {\n  grid-area: 1 / 1;\n  min-width: 0;\n}\n/* Shared-axis layers travel sideways; clip that travel without becoming a\n   scroll container, so vertical focus rings still escape. */\n.cuqjpvh-runtime .cd-directory .cd-motion-swap--axis {\n  overflow-x: hidden;\n  overflow-x: clip;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-collapse {\n  display: grid;\n  min-width: 0;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-collapse__inner {\n  min-height: 0;\n  min-width: 0;\n  overflow: hidden;\n  overflow: clip;\n  overflow-clip-margin: 4px;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-label {\n  align-items: center;\n  display: inline-flex;\n  gap: 6px;\n  justify-content: center;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-label__icon {\n  align-items: center;\n  display: inline-flex;\n  overflow: hidden;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-label__text {\n  display: inline-grid;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-label__layer {\n  grid-area: 1 / 1;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-count {\n  display: inline-grid;\n}\n.cuqjpvh-runtime .cd-directory .cd-motion-count__layer {\n  grid-area: 1 / 1;\n}\n.cuqjpvh-runtime .cd-directory__search-control {\n  align-items: center;\n  display: flex;\n  position: relative;\n}\n.cuqjpvh-runtime .cd-directory__search-control input {\n  padding-inline-end: 48px;\n}\n.cuqjpvh-runtime .cd-directory__search-control input::-webkit-search-cancel-button {\n  display: none;\n}\n.cuqjpvh-runtime .cd-directory__clear-slot {\n  align-items: center;\n  display: inline-flex;\n  inset-inline-end: 0;\n  position: absolute;\n}\n.cuqjpvh-runtime .cd-directory button.cd-directory__clear {\n  align-items: center;\n  background: transparent;\n  border: 0;\n  border-radius: 999px;\n  color: var(--cuqjpvh-runtime-muted, #666);\n  cursor: pointer;\n  display: inline-flex;\n  justify-content: center;\n  min-height: 44px;\n  padding: 0;\n  width: 44px;\n}\n.cuqjpvh-runtime .cd-directory button.cd-directory__clear:hover {\n  background: color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 7%, transparent);\n  color: var(--cuqjpvh-runtime-text, #111);\n}\n@media (hover: hover) and (pointer: fine) {\n  .cuqjpvh-runtime .cd-directory__card {\n    transition: box-shadow var(--motion-duration-standard, 220ms) var(--motion-ease-standard, cubic-bezier(0.16, 1, 0.3, 1));\n  }\n  .cuqjpvh-runtime .cd-directory__card:hover {\n    box-shadow: 0 2px 8px color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 10%, transparent);\n  }\n}\n@media (prefers-reduced-motion: reduce) {\n  .cuqjpvh-runtime .cd-directory__grid-item {\n    animation: none;\n  }\n  .cuqjpvh-runtime .cd-directory__card,\n  .cuqjpvh-runtime .cd-directory__card:hover {\n    transition: none;\n  }\n}\n@container cd-directory-layout (max-width: 720px) {\n  .cuqjpvh-runtime .cd-directory__header,\n  .cuqjpvh-runtime .cd-directory__toolbar,\n  .cuqjpvh-runtime .cd-directory__state {\n    align-items: stretch;\n    display: grid;\n  }\n  .cuqjpvh-runtime .cd-directory h2 {\n    font-size: 24px;\n  }\n  .cuqjpvh-runtime .cd-directory__actions {\n    align-items: stretch;\n    display: grid;\n  }\n  .cuqjpvh-runtime .cd-directory__detail-header,\n  .cuqjpvh-runtime .cd-directory__activity-row,\n  .cuqjpvh-runtime .cd-directory__facts > div {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n  }\n  .cuqjpvh-runtime .cd-directory__owner-card summary { align-items: flex-start; flex-wrap: wrap; }\n  .cuqjpvh-runtime .cd-directory__renewal > div:first-child { flex-basis: 100%; }\n  .cuqjpvh-runtime .cd-directory__back-link { max-width: 100%; }\n}\n\n.cuqjpvh-runtime .cd-directory__header { padding-block: 12px 8px; }\n.cuqjpvh-runtime .cd-directory__header .cd-directory__muted { max-width: 640px; margin-top: 8px; font-size: 14px; }\n.cuqjpvh-runtime .cd-directory__eyebrow { margin-bottom: 8px; }\n.cuqjpvh-runtime .cd-directory__count { gap: 5px; padding: 7px 12px; }\n.cuqjpvh-runtime .cd-directory__toolbar { gap: 12px; padding: 16px; align-items: end; }\n.cuqjpvh-runtime .cd-directory input, .cuqjpvh-runtime .cd-directory select, .cuqjpvh-runtime .cd-directory__button { min-height: 44px; font: inherit; font-size: 16px; font-weight: 400; }\n.cuqjpvh-runtime .cd-directory button, .cuqjpvh-runtime .cd-directory__button { font-size: 14px; font-weight: 500; white-space: normal; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__grid { gap: 16px; align-items: stretch; }\n.cuqjpvh-runtime .cd-directory__card-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__card-identity h3 { margin: 0; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__identity-copy { min-width: 0; }\n.cuqjpvh-runtime .cd-directory__card-logo, .cuqjpvh-runtime .cd-directory__logo-placeholder { display: block; flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; border-radius: var(--cd-directory-radius-md); background: var(--cuqjpvh-runtime-panel, #fff); }\n\n.cuqjpvh-runtime .cd-directory__grid-item { min-width: 0; height: 100%; }\n.cuqjpvh-runtime .cd-directory__logo-placeholder { display: grid; place-items: center; color: var(--cuqjpvh-runtime-muted, #666); border: 1px solid var(--cuqjpvh-runtime-border, #ddd); font-size: 18px; font-weight: 600; }\n.cuqjpvh-runtime .cd-directory__card > .cd-directory__actions { display: flex; justify-content: flex-start; flex-wrap: wrap; align-self: stretch; }\n.cuqjpvh-runtime .cd-directory__card { height: 100%; padding: 16px; gap: 12px; align-content: start; grid-template-rows: auto; }\n.cuqjpvh-runtime .cd-directory__card h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }\n.cuqjpvh-runtime .cd-directory__card > .cd-directory__muted { margin: 0; font-size: 14px; }\n.cuqjpvh-runtime .cd-directory__card > .cd-directory__actions { padding-top: 8px; align-self: stretch; }\n.cuqjpvh-runtime .cd-directory__detail { margin-inline: auto; }\n@container cd-directory-layout (max-width: 640px) {\n .cuqjpvh-runtime .cd-directory__header { flex-wrap: wrap; }\n .cuqjpvh-runtime .cd-directory__toolbar { padding: 16px; }\n .cuqjpvh-runtime .cd-directory__field { flex: 1 1 100%; width: 100%; }\n .cuqjpvh-runtime .cd-directory__card { padding: 16px; }\n}\n.cuqjpvh-runtime .cd-directory .cd-filter { position: relative; }\n.cuqjpvh-runtime .cd-directory .cd-filter__trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 400; border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-sm); background: var(--cuqjpvh-runtime-panel, #fff); color: inherit; cursor: pointer; }\n.cuqjpvh-runtime .cd-directory .cd-filter__popup { display: flex; flex-direction: column; position: absolute; z-index: var(--z-dropdown, 50); top: calc(100% + 4px); right: 0; min-width: 0; width: 100%; max-width: 100%; padding: 4px; border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-md); background: var(--cuqjpvh-runtime-panel, #fff); box-shadow: 0 4px 16px color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 12%, transparent); }\n.cuqjpvh-runtime .cd-directory .cd-filter__popup--above { top: auto; bottom: calc(100% + 4px); }\n.cuqjpvh-runtime .cd-directory .cd-filter__popup [role=listbox] { min-height: 0; max-height: 272px; overflow-y: auto; overscroll-behavior-y: contain; outline: none; }\n.cuqjpvh-runtime .cd-directory .cd-filter__popup input { flex-shrink: 0; width: 100%; margin-bottom: 4px; }\n.cuqjpvh-runtime .cd-directory .cd-filter__option { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: var(--cd-directory-radius-sm); font-size: 14px; font-weight: 400; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory .cd-filter__option > span:first-child { width: 16px; flex-shrink: 0; }\n.cuqjpvh-runtime .cd-directory .cd-filter__option > span:last-child { min-width: 0; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory .cd-filter__option--active { background: color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 8%, transparent); }\n.cuqjpvh-runtime .cd-directory .cd-filter__empty { padding: 8px; font-size: 13px; }\n.cuqjpvh-runtime .cd-directory .cd-filter__trigger:focus-visible { outline: 2px solid var(--cuqjpvh-runtime-accent, #111); outline-offset: 2px; }\n\n/* Browse is one header and filter surface; results keep the shared card styles. */\n.cuqjpvh-runtime .cd-directory[data-kind=\"cedros-directory:directory-search\"] { gap: 20px; }\n.cuqjpvh-runtime .cd-directory__browse-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 8px; }\n.cuqjpvh-runtime .cd-directory__browse-header h2 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }\n.cuqjpvh-runtime .cd-directory__browse-header .cd-directory__muted { margin-top: 10px; font-size: 15px; max-width: 640px; }\n.cuqjpvh-runtime .cd-directory__browse-header > .cd-directory__button { white-space: nowrap; gap: 8px; min-height: 44px; font-size: 13px; }\n.cuqjpvh-runtime .cd-directory__categories { min-width: 0; }\n.cuqjpvh-runtime .cd-directory__category-picker { display: none; max-width: 24rem; }\n.cuqjpvh-runtime .cd-directory__categories[data-many=\"true\"] .cd-directory__category-filters { display: none; }\n.cuqjpvh-runtime .cd-directory__categories[data-many=\"true\"] .cd-directory__category-picker { display: block; }\n.cuqjpvh-runtime .cd-directory__category-filters { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory .cd-directory__category-filter { border-color: var(--cuqjpvh-runtime-border, #ddd); min-height: 44px; padding: 6px 12px; gap: 10px; border-radius: var(--cd-directory-radius-sm); background: transparent; color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; font-weight: 500; white-space: normal; overflow-wrap: anywhere; max-width: 100%; box-shadow: none; }\n.cuqjpvh-runtime .cd-directory .cd-directory__category-filter[aria-pressed=\"true\"] { background: var(--cuqjpvh-runtime-action-bg, #111); color: var(--cuqjpvh-runtime-action-fg, #fff); border-color: var(--cuqjpvh-runtime-action-bg, #111); }\n.cuqjpvh-runtime .cd-directory .cd-directory__category-filter:hover:not([aria-pressed=\"true\"]) { color: var(--cuqjpvh-runtime-text, #111); background: color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 5%, transparent); }\n.cuqjpvh-runtime .cd-directory__category-count { font-size: 11px; font-variant-numeric: tabular-nums; }\n.cuqjpvh-runtime .cd-directory__browse-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 200px); align-items: end; gap: 16px; padding-top: 20px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); min-width: 0; }\n.cuqjpvh-runtime .cd-directory[data-kind=\"cedros-directory:directory-search\"] .cd-directory__toolbar { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; border: 0; border-radius: 0; background: transparent; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__toolbar .cd-directory__field { min-width: 0; width: auto; }\n.cuqjpvh-runtime .cd-directory__toolbar input, .cuqjpvh-runtime .cd-directory__toolbar .cd-filter__trigger { min-height: 44px; }\n.cuqjpvh-runtime .cd-directory__result-count { margin: 0; color: var(--cuqjpvh-runtime-muted, #666); font-size: 12px; }\n.cuqjpvh-runtime .cd-directory__results-heading { display: contents; }\n.cuqjpvh-runtime .cd-directory__results-heading > .cd-directory__categories { grid-column: 1; }\n.cuqjpvh-runtime .cd-directory__results-heading > .cd-directory__result-context { grid-column: 2; justify-self: end; justify-content: flex-end; }\n.cuqjpvh-runtime .cd-directory__browse-controls > .cd-filter { min-width: 0; }\n.cuqjpvh-runtime .cd-directory[data-kind=\"cedros-directory:directory-search\"] .cd-directory__card { display: flex; flex-direction: column; }\n.cuqjpvh-runtime .cd-directory[data-kind=\"cedros-directory:directory-search\"] .cd-directory__card > .cd-directory__actions { margin-top: auto; }\n@container cd-directory-layout (max-width: 640px) {\n  .cuqjpvh-runtime .cd-directory__browse-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }\n  .cuqjpvh-runtime .cd-directory__browse-controls > .cd-filter,\n  .cuqjpvh-runtime .cd-directory__browse-controls .cd-directory__category-picker > .cd-filter { grid-template-rows: auto 1fr; height: 100%; }\n  .cuqjpvh-runtime .cd-directory__browse-controls .cd-directory__category-picker { height: 100%; }\n  .cuqjpvh-runtime .cd-directory__browse-controls > .cd-directory__toolbar { grid-column: 1 / -1; }\n  .cuqjpvh-runtime .cd-directory__browse-controls:not(:has(.cd-directory__categories)) .cd-directory__result-context { grid-column: 1; grid-row: 2; align-self: center; }\n  .cuqjpvh-runtime .cd-directory__browse-controls > .cd-filter { grid-column: 2; grid-row: 2; }\n  .cuqjpvh-runtime .cd-directory__results-heading > .cd-directory__categories { grid-column: 1; grid-row: 2; }\n  .cuqjpvh-runtime .cd-directory__results-heading > .cd-directory__result-context { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; }\n  .cuqjpvh-runtime .cd-directory__browse-header { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 12px; }\n  .cuqjpvh-runtime .cd-directory__browse-header > div { flex: 1 1 100%; }\n  .cuqjpvh-runtime .cd-directory__browse-header > .cd-directory__button { border-color: transparent; padding-inline: 0; justify-content: flex-start; }\n  .cuqjpvh-runtime .cd-directory__browse-header > .cd-directory__button { flex: 0 1 auto; }\n  .cuqjpvh-runtime .cd-directory__browse-header h2 { font-size: 28px; }\n  .cuqjpvh-runtime .cd-directory__category-filters { flex-wrap: wrap; }\n  .cuqjpvh-runtime .cd-directory .cd-directory__category-filter { flex-shrink: 0; max-width: min(280px, 85vw); text-align: left; }\n  .cuqjpvh-runtime .cd-directory[data-kind=\"cedros-directory:directory-search\"] .cd-directory__toolbar { grid-template-columns: minmax(0, 1fr); }\n}\n@container cd-directory-layout (max-width: 640px) {\n  .cuqjpvh-runtime .cd-directory__category-filters { display: none; }\n  .cuqjpvh-runtime .cd-directory__category-picker { display: block; max-width: none; }\n}\n.cuqjpvh-runtime .cd-directory input[type=\"checkbox\"],\n.cuqjpvh-runtime .cd-directory input[type=\"radio\"] { accent-color: var(--cuqjpvh-runtime-action-bg, #111); min-height: auto; padding: 0; width: auto; }\n.cuqjpvh-runtime .cd-directory label:has(> input:is([type=\"checkbox\"], [type=\"radio\"])) { min-height: 44px; cursor: pointer; }\n.cuqjpvh-runtime .cd-directory__check { align-items: center; color: var(--cuqjpvh-runtime-text, #111); display: flex; font-size: 14px; gap: 8px; justify-self: start; }\n.cuqjpvh-runtime .cd-directory input[readonly] { background: color-mix(in srgb, var(--cuqjpvh-runtime-muted, #666) 6%, var(--cuqjpvh-runtime-panel, #fff)); }\n.cuqjpvh-runtime .cd-directory :where(a, summary):focus-visible,\n.cuqjpvh-runtime .cd-directory .cd-filter__popup [role=\"listbox\"]:focus-visible { outline: 2px solid var(--cuqjpvh-runtime-accent, #111); outline-offset: 2px; }\n.cuqjpvh-runtime .cd-directory .cd-filter__trigger > span:first-child { min-width: 0; overflow-wrap: anywhere; text-align: start; }\n.cuqjpvh-runtime .cd-directory .cd-filter__option { min-width: 0; }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog { background: var(--cuqjpvh-runtime-panel, #fff); border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-lg); display: grid; gap: 0; margin: auto; max-height: 85dvh; overflow: auto; padding: 0; width: min(420px, calc(100% - 2rem)); }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog:not([open]) { display: none; }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog::backdrop { background: rgb(0 0 0 / 0.45); }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog .cedros-data-dialog__heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--cuqjpvh-runtime-border, #ddd); }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog h2 { font-size: 20px; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog .cedros-data-dialog__body { display: grid; gap: 16px; padding: 16px; }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog p { margin: 0; }\n.cuqjpvh-runtime .cd-directory.cd-directory__dialog .cd-directory__actions { justify-content: flex-end; }\n\n/* Results carry comparison facts; long content belongs on the complete record. */\n.cuqjpvh-runtime .cd-directory__title-link { color: inherit; text-decoration: none; }\n.cuqjpvh-runtime .cd-directory__title-link:hover { text-decoration: underline; text-underline-offset: 3px; }\n.cuqjpvh-runtime .cd-directory__card-identity { align-items: flex-start; }\n.cuqjpvh-runtime .cd-directory__card[data-summarized=\"true\"] .cd-directory__card-identity h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }\n.cuqjpvh-runtime .cd-directory__card[data-summarized=\"true\"] > .cd-directory__muted { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }\n.cuqjpvh-runtime .cd-directory__card[data-summarized=\"true\"] .cd-directory__identity-copy > .cd-directory__muted { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }\n.cuqjpvh-runtime .cd-directory__card-facts { color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; }\n.cuqjpvh-runtime .cd-directory__card-facts > summary { cursor: pointer; width: fit-content; }\n.cuqjpvh-runtime .cd-directory__card-facts[open] > summary { margin-bottom: 12px; }\n.cuqjpvh-runtime .cd-directory__card-facts .cd-directory__facts { color: var(--cuqjpvh-runtime-text, #111); }\n.cuqjpvh-runtime .cd-directory__card > .cd-directory__actions { margin-top: auto; }\n.cuqjpvh-runtime .cd-directory__card-description { display: grid; gap: 12px; min-width: 0; align-items: start; }\n.cuqjpvh-runtime .cd-directory__card-description:has(> p):has(> img) { grid-template-columns: minmax(0, 1fr) 112px; }\n.cuqjpvh-runtime .cd-directory__card-description > .cd-directory__muted { margin: 0; font-size: 14px; }\n.cuqjpvh-runtime .cd-directory__card[data-summarized=\"true\"] .cd-directory__card-description > .cd-directory__muted { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }\n.cuqjpvh-runtime .cd-directory__listing-preview { display: block; width: 100%; max-height: 112px; aspect-ratio: 1; object-fit: contain; border-radius: var(--cd-directory-radius-sm); background: color-mix(in srgb, var(--cuqjpvh-runtime-muted, #666) 8%, var(--cuqjpvh-runtime-panel, #fff)); }\n.cuqjpvh-runtime .cd-directory__result-context { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__result-context .cd-directory__result-count { overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory button.cd-directory__clear-filters { background: transparent; color: var(--cuqjpvh-runtime-accent, #111); border-color: transparent; padding-inline: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }\n.cuqjpvh-runtime .cd-directory__card-context { color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; line-height: 1.5; margin-top: auto; }\n.cuqjpvh-runtime .cd-directory__card-context > span { min-width: 0; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__card-context .cd-directory__disclosure { flex-shrink: 1; max-width: 100%; white-space: normal; }\n.cuqjpvh-runtime .cd-directory__card .cd-directory__back-link { font-size: 13px; }\n.cuqjpvh-runtime .cd-directory__comparison { padding-top: 12px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); }\n.cuqjpvh-runtime .cd-directory__comparison .cd-directory__facts > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: baseline; }\n.cuqjpvh-runtime .cd-directory__comparison .cd-directory__facts dd { font-size: 14px; }\n.cuqjpvh-runtime .cd-directory__result-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: auto; color: var(--cuqjpvh-runtime-accent, #111); font-size: 14px; font-weight: 600; text-decoration: none; }\n.cuqjpvh-runtime .cd-directory__result-link:hover { text-decoration: underline; text-underline-offset: 3px; }\n.cuqjpvh-runtime .cd-directory__field-help { color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__long-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; white-space: normal; }\n.cuqjpvh-runtime .cd-directory__long-link > details { min-width: 0; font-size: 13px; }\n.cuqjpvh-runtime .cd-directory__long-link > details[open] { flex-basis: 100%; }\n.cuqjpvh-runtime .cd-directory__long-link summary { cursor: pointer; color: var(--cuqjpvh-runtime-muted, #666); }\n.cuqjpvh-runtime .cd-directory__long-link details > span { display: block; padding-top: 8px; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__detail-identity { display: flex; align-items: flex-start; gap: 20px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__detail-identity > div { min-width: 0; }\n.cuqjpvh-runtime .cd-directory__detail-identity :is(.cd-directory__card-logo, .cd-directory__logo-placeholder) { flex-basis: 80px; width: 80px; height: 80px; }\n.cuqjpvh-runtime .cd-directory__detail h2 { font-size: 28px; line-height: 1.25; }\n.cuqjpvh-runtime .cd-directory__detail > .cd-directory { padding-top: 24px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); }\n.cuqjpvh-runtime .cd-directory__detail > .cd-directory h2 { font-size: 20px; }\n.cuqjpvh-runtime .cd-directory__ownership a { color: var(--cuqjpvh-runtime-accent, #111); }\n.cuqjpvh-runtime .cd-directory__field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }\n.cuqjpvh-runtime .cd-directory__inquiry { scroll-margin-top: 24px; }\n.cuqjpvh-runtime .cd-directory__inquiry-send { justify-self: start; }\n.cuqjpvh-runtime .cd-directory__form-section { display: grid; gap: 14px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); min-width: 0; }\n.cuqjpvh-runtime .cd-directory__form-section > .cd-directory__muted { margin-top: -8px; }\n.cuqjpvh-runtime .cd-directory__optional-details,\n.cuqjpvh-runtime .cd-directory__contact-disclosure { min-width: 0; border-block: 1px solid var(--cuqjpvh-runtime-border, #ddd); padding-block: 16px; }\n.cuqjpvh-runtime .cd-directory__optional-details > summary,\n.cuqjpvh-runtime .cd-directory__contact-disclosure > summary { cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__optional-details > summary .cd-directory__muted,\n.cuqjpvh-runtime .cd-directory__contact-disclosure > summary .cd-directory__muted { display: block; font-size: 13px; font-weight: 400; margin-top: 4px; }\n.cuqjpvh-runtime .cd-directory__optional-details[open] > div { display: grid; gap: 16px; padding-top: 16px; }\n.cuqjpvh-runtime .cd-directory__contact-disclosure .cd-directory__inquiry { background: transparent; border: 0; margin: 0; padding: 16px 0 0; }\n.cuqjpvh-runtime .cd-directory__owner-form > .cd-directory__form-fields { gap: 24px; }\n.cuqjpvh-runtime .cd-directory__owner-form .cd-directory__form-section:first-child { border-top: 0; padding-top: 0; }\n.cuqjpvh-runtime .cd-directory__edit-actions { justify-content: flex-end; padding-top: 16px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); }\n.cuqjpvh-runtime .cd-directory__edit-actions > button[type=\"reset\"] { margin-right: auto; }\n.cuqjpvh-runtime .cd-directory__breadth { margin: 0; color: var(--cuqjpvh-runtime-muted, #666); }\n.cuqjpvh-runtime .cd-directory__breadth strong { color: var(--cuqjpvh-runtime-text, #111); font-variant-numeric: tabular-nums; }\n.cuqjpvh-runtime .cd-directory__signin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 0; border-block: 1px solid var(--cuqjpvh-runtime-border, #ddd); }\n.cuqjpvh-runtime .cd-directory__signin p { margin: 0; color: var(--cuqjpvh-runtime-muted, #666); }\n.cuqjpvh-runtime .cd-directory__free-review { display: grid; justify-items: start; gap: 20px; padding: 24px; border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-md); background: var(--cuqjpvh-runtime-panel, #fff); }\n.cuqjpvh-runtime .cd-directory[data-kind=\"cedros-directory:pricing\"],\n.cuqjpvh-runtime .cd-directory[data-kind=\"cedros-directory:owner-dashboard\"] { inline-size: min(100%, 880px); }\n.cuqjpvh-runtime .cd-directory__owner-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; min-width: 0; background: var(--cuqjpvh-runtime-panel, #fff); border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-md); }\n.cuqjpvh-runtime .cd-directory__owner-record .cd-directory__owner-card { border: 0; background: transparent; }\n.cuqjpvh-runtime .cd-directory__owner-view { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 14px 16px 14px 0; font-size: 14px; color: var(--cuqjpvh-runtime-accent, #111); }\n.cuqjpvh-runtime .cd-directory__owner-record:has(> details[open]) { grid-template-columns: minmax(0, 1fr); }\n.cuqjpvh-runtime .cd-directory__owner-record:has(> details[open]) > .cd-directory__owner-view { display: none; }\n.cuqjpvh-runtime .cd-directory__draft-state { width: fit-content; color: var(--cuqjpvh-runtime-text, #111); font-size: 13px; font-weight: 600; }\n.cuqjpvh-runtime .cd-directory__owner-start { display: grid; gap: 20px; padding-block: 24px; border-block: 1px solid var(--cuqjpvh-runtime-border, #ddd); }\n.cuqjpvh-runtime .cd-directory__owner-start .cd-directory__detail-copy { max-width: 60ch; }\n.cuqjpvh-runtime .cd-directory__contribute { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding-top: 20px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); color: var(--cuqjpvh-runtime-muted, #666); font-size: 14px; }\n.cuqjpvh-runtime .cd-directory__contribute a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cuqjpvh-runtime-accent, #111); }\n@container cd-directory-layout (max-width: 820px) {\n  .cuqjpvh-runtime .cd-directory__detail-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }\n  .cuqjpvh-runtime .cd-directory__contact-rail, .cuqjpvh-runtime .cd-directory__listing-information { grid-column: auto; grid-row: auto; }\n  .cuqjpvh-runtime .cd-directory__contact-rail { padding: 0; background: transparent; border: 0; }\n  .cuqjpvh-runtime .cd-directory__contact-rail .cd-directory__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n  .cuqjpvh-runtime .cd-directory__contact-rail .cd-directory__actions > :only-child { grid-column: 1 / -1; }\n  .cuqjpvh-runtime .cd-directory__owner-record { grid-template-columns: minmax(0, 1fr); }\n  .cuqjpvh-runtime .cd-directory__owner-view { justify-self: start; margin: 0 16px 8px; }\n}\n@container cd-directory-layout (max-width: 640px) {\n  .cuqjpvh-runtime .cd-directory__contribute > span { flex-basis: 100%; }\n  .cuqjpvh-runtime .cd-directory__field-pair { grid-template-columns: minmax(0, 1fr); }\n  .cuqjpvh-runtime .cd-directory__detail-identity { gap: 12px; }\n  .cuqjpvh-runtime .cd-directory__detail-identity :is(.cd-directory__card-logo, .cd-directory__logo-placeholder) { flex-basis: 56px; width: 56px; height: 56px; }\n  .cuqjpvh-runtime .cd-directory__detail h2 { font-size: 24px; }\n  .cuqjpvh-runtime .cd-directory__inquiry-send { justify-self: stretch; }\n  .cuqjpvh-runtime .cd-directory__edit-actions { display: grid; grid-template-columns: minmax(0, 1fr); }\n  .cuqjpvh-runtime .cd-directory__edit-actions > button:last-child { grid-row: 1; }\n  .cuqjpvh-runtime .cd-directory__edit-actions > button[type=\"reset\"] { margin-right: 0; }\n}\n.cuqjpvh-runtime .cd-directory__location-results { display: grid; gap: 24px; }\n.cuqjpvh-runtime .cd-directory__location-results > section > h3 { margin: 0 0 12px; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__exact-value > summary { cursor: pointer; width: fit-content; }\n.cuqjpvh-runtime .cd-directory__exact-value > span { display: block; padding-top: 4px; overflow-wrap: anywhere; color: var(--cuqjpvh-runtime-muted, #666); }\n.cuqjpvh-runtime .cd-directory__detail-header[data-long-introduction=\"true\"][data-expanded=\"false\"] .cd-directory__introduction h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }\n.cuqjpvh-runtime .cd-directory__detail-header[data-long-introduction=\"true\"][data-expanded=\"false\"] .cd-directory__introduction p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }\n.cuqjpvh-runtime .cd-directory .cd-directory__introduction-toggle { background: transparent; border: 0; padding: 8px 0; min-height: 44px; text-align: left; color: var(--cuqjpvh-runtime-text, #111); font: inherit; font-size: 13px; font-weight: 500; text-decoration: underline; cursor: pointer; width: fit-content; }\n.cuqjpvh-runtime .cd-directory .cd-directory__introduction-toggle:focus-visible { outline: 2px solid var(--cuqjpvh-runtime-accent, #111); outline-offset: 4px; }\n.cuqjpvh-runtime .cd-directory__unavailable { display: grid; gap: 16px; }\n\n/* A sparse listing leads directly to contact, rather than manufacturing an empty article. */\n.cuqjpvh-runtime .cd-directory__detail[data-sparse=\"true\"] { inline-size: min(100%, 760px); }\n.cuqjpvh-runtime .cd-directory__detail[data-sparse=\"true\"] .cd-directory__detail-body { grid-template-columns: minmax(0, 1fr); }\n.cuqjpvh-runtime .cd-directory__detail[data-sparse=\"true\"] .cd-directory__contact-rail { grid-column: 1; grid-row: auto; padding: 0; border: 0; background: transparent; }\n.cuqjpvh-runtime .cd-directory__detail[data-sparse=\"true\"] .cd-directory__contact-rail .cd-directory__actions { display: flex; }\n.cuqjpvh-runtime .cd-directory__detail-identity .cd-directory__card-context { margin-top: 10px; }\n.cuqjpvh-runtime .cd-directory__owner-term[data-attention=\"true\"] { color: var(--cuqjpvh-runtime-text, #111); font-weight: 600; }\n.cuqjpvh-runtime .cd-directory__owner-card[open] > summary .cd-directory__owner-term { display: none; }\n\n/* List results are comparison rows; the same identities and facts stay recognizable. */\n.cuqjpvh-runtime .cd-directory__list .cd-directory__card { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(160px, 220px) auto; gap: 8px 12px; align-items: start; }\n.cuqjpvh-runtime .cd-directory__list .cd-directory__card-identity { grid-column: 1 / 3; grid-row: 1; }\n.cuqjpvh-runtime .cd-directory__list .cd-directory__identity-copy > .cd-directory__muted { font-size: 14px; }\n.cuqjpvh-runtime .cd-directory__list .cd-directory__card-context { grid-column: 3; grid-row: 1; margin: 0; }\n.cuqjpvh-runtime .cd-directory__list .cd-directory__comparison { grid-column: 3; grid-row: 2; border: 0; padding: 0; }\n.cuqjpvh-runtime .cd-directory__list .cd-directory__comparison .cd-directory__facts { gap: 4px; }\n.cuqjpvh-runtime .cd-directory__list .cd-directory__card-facts,\n.cuqjpvh-runtime .cd-directory__list .cd-directory__introduction-toggle { grid-column: 2 / 4; }\n.cuqjpvh-runtime .cd-directory__list .cd-directory__result-link,\n.cuqjpvh-runtime .cd-directory__list .cd-directory__card > .cd-directory__actions { grid-column: 4; grid-row: 1 / 3; align-self: center; margin: 0; padding: 0; gap: 12px; }\n@container cd-directory-layout (max-width: 820px) {\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__card { grid-template-columns: minmax(0, 1fr) auto; }\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__card-identity { grid-column: 1 / -1; grid-row: auto; }\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__card > .cd-directory__muted,\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__card-context,\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__comparison,\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__card-facts,\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__introduction-toggle { grid-column: 1 / -1; grid-row: auto; }\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__result-link,\n  .cuqjpvh-runtime .cd-directory__list .cd-directory__card > .cd-directory__actions { grid-column: 1 / -1; grid-row: auto; }\n}\n.cuqjpvh-runtime .cd-directory__media { display: grid; gap: 12px; }\n.cuqjpvh-runtime .cd-directory__media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }\n.cuqjpvh-runtime .cd-directory__media-grid[data-single=\"true\"] { max-width: 420px; }\n.cuqjpvh-runtime .cd-directory__media-item { margin: 0; min-width: 0; display: grid; align-content: start; gap: 8px; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__media-item > a { display: block; border-radius: var(--cd-directory-radius-sm); }\n.cuqjpvh-runtime .cd-directory__media-item > a > img, .cuqjpvh-runtime .cd-directory__media-item > video { aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--cuqjpvh-runtime-muted, #666) 10%, var(--cuqjpvh-runtime-panel, #fff)); border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-sm); display: block; height: auto; object-fit: contain; width: 100%; }\n.cuqjpvh-runtime .cd-directory__media-unavailable { aspect-ratio: 4 / 3; min-height: 120px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 16px; text-align: center; background: color-mix(in srgb, var(--cuqjpvh-runtime-muted, #666) 8%, var(--cuqjpvh-runtime-panel, #fff)); border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-sm); color: var(--cuqjpvh-runtime-muted, #666); }\n.cuqjpvh-runtime .cd-directory__media-unavailable > :last-child { font-size: 13px; }\n.cuqjpvh-runtime .cd-directory__media-item figcaption { color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; line-height: 1.5; }\n.cuqjpvh-runtime .cd-directory button.cd-directory__video-preview { aspect-ratio: 4 / 3; align-content: center; justify-items: center; display: grid; gap: 8px; grid-template-rows: minmax(0, 1fr) auto; padding: 12px; min-height: 120px; width: 100%; cursor: pointer; color: var(--cuqjpvh-runtime-text, #111); background: color-mix(in srgb, var(--cuqjpvh-runtime-muted, #666) 10%, var(--cuqjpvh-runtime-panel, #fff)); border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-sm); font: inherit; font-weight: 600; }\n.cuqjpvh-runtime .cd-directory__video-preview > img { height: 100%; min-height: 0; object-fit: contain; width: 100%; }\n.cuqjpvh-runtime .cd-directory__media-item > :is(p, a:not(:has(> img))) { color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; margin: 0; }\n.cuqjpvh-runtime .cd-directory__video-preview:focus-visible { outline: 2px solid var(--cuqjpvh-runtime-accent, #111); outline-offset: 4px; }\n.cuqjpvh-runtime .cd-directory-media-editor { display: grid; gap: 12px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory-media-editor,\n.cuqjpvh-runtime .cd-directory-media-editor > fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }\n.cuqjpvh-runtime .cd-directory-media-editor > legend { padding: 0; font-weight: 600; }\n.cuqjpvh-runtime .cd-directory-media-editor > p { margin: 0; }\n.cuqjpvh-runtime .cd-directory-media-editor > fieldset { display: grid; gap: 12px; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); padding-top: 12px; }\n.cuqjpvh-runtime .cd-directory-media-editor > fieldset > legend { padding: 0 4px 0 0; font-size: 14px; font-weight: 500; }\n.cuqjpvh-runtime .cd-directory-media-editor > fieldset > details > summary { cursor: pointer; padding-block: 8px; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory-media-editor > fieldset > details > summary > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--cuqjpvh-runtime-muted, #666); font-size: 13px; margin-top: 4px; }\n.cuqjpvh-runtime .cd-directory-media-editor__fields { display: grid; gap: 12px; padding-top: 12px; }\n.cuqjpvh-runtime .cd-directory :is(input, select, textarea):disabled { cursor: not-allowed; opacity: .55; }\n\n.cuqjpvh-runtime .cd-directory__saved-searches { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }\n.cuqjpvh-runtime .cd-directory__saved-searches li { display: grid; min-width: 0; gap: 8px; padding-block: 12px; border-block-start: 1px solid var(--cuqjpvh-runtime-border, #ddd); overflow-wrap: anywhere; }\n\n.cuqjpvh-runtime .cd-directory__map-view { display: grid; gap: 12px; margin: 0 0 24px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__regional-map { display: block; width: 100%; height: clamp(260px, 40vw, 380px); overflow: hidden; border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-md); background: var(--cuqjpvh-runtime-panel, #fff); }\n.cuqjpvh-runtime .cd-directory__map-land { fill: color-mix(in srgb, var(--cuqjpvh-runtime-text, #111) 14%, var(--cuqjpvh-runtime-panel, #fff)); stroke: var(--cuqjpvh-runtime-border, #ddd); stroke-width: 0.15; }\n.cuqjpvh-runtime .cd-directory__map-grid { fill: none; stroke: color-mix(in srgb, var(--cuqjpvh-runtime-border, #ddd) 55%, transparent); stroke-width: 0.1; pointer-events: none; }\n.cuqjpvh-runtime .cd-directory__map-pin { cursor: pointer; outline: none; }\n.cuqjpvh-runtime .cd-directory__map-dot { fill: var(--cuqjpvh-runtime-text, #111); stroke: var(--cuqjpvh-runtime-panel, #fff); stroke-width: 2; }\n.cuqjpvh-runtime .cd-directory__map-pin:focus-visible .cd-directory__map-dot, .cuqjpvh-runtime .cd-directory__map-pin[aria-pressed=\"true\"] .cd-directory__map-dot { stroke: var(--cuqjpvh-runtime-accent, #111); stroke-width: 5; }\n.cuqjpvh-runtime .cd-directory__map-count { fill: var(--cuqjpvh-runtime-panel, #fff); font-weight: 600; pointer-events: none; }\n.cuqjpvh-runtime .cd-directory__map-selection { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--cuqjpvh-runtime-border, #ddd); border-radius: var(--cd-directory-radius-md); }\n\n.cuqjpvh-runtime .cd-directory__regional-map:focus-visible { outline: 2px solid var(--cuqjpvh-runtime-accent, #111); outline-offset: 2px; }\n\n/* Unclassed links (attribution, inline help) follow the site's link color rather than\n   the browser default. Zero specificity: every classed link keeps its own treatment. */\n.cuqjpvh-runtime :where(.cd-directory) :where(a) { color: var(--cuqjpvh-runtime-accent, #111); }\n/* Trust and placement badges hug their text inside stretching card layouts. */\n.cuqjpvh-runtime .cd-directory__card > .cd-directory__disclosure { align-self: flex-start; justify-self: start; max-width: 100%; white-space: normal; }\n\n/* Search: the detail-filter disclosure aligns with the search field; notices span the controls. */\n.cuqjpvh-runtime .cd-directory__browse-controls > .cd-directory__discovery { grid-column: 1; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__browse-controls > .cd-directory__state { grid-column: 1 / -1; }\n.cuqjpvh-runtime .cd-directory__recovery { display: grid; gap: 12px; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__recovery > .cd-directory__back-link { justify-self: start; }\n\n/* Reader activity on the listing page: one section with the same rhythm as the details above. */\n.cuqjpvh-runtime .cd-directory__community { border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); display: grid; gap: 16px; min-width: 0; padding-top: 24px; }\n.cuqjpvh-runtime .cd-directory__community > .cd-directory__button { justify-self: start; }\n.cuqjpvh-runtime .cd-directory__community > .cd-directory__muted { margin: 0; }\n.cuqjpvh-runtime .cd-directory__reviews { display: grid; min-width: 0; }\n.cuqjpvh-runtime .cd-directory__review { border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; padding-block: 12px; }\n.cuqjpvh-runtime .cd-directory__review h4 { font-size: 14px; font-weight: 600; margin: 0; }\n.cuqjpvh-runtime .cd-directory__review p { line-height: 1.6; margin: 0; white-space: pre-wrap; }\n.cuqjpvh-runtime .cd-directory__community details > form { margin-top: 16px; }\n.cuqjpvh-runtime .cd-directory__saved-listings[open] > summary { margin-bottom: 8px; }\n/* Consecutive bordered disclosures share one rule instead of drawing two across the section gap. */\n.cuqjpvh-runtime .cd-directory > .cd-directory__contact-disclosure + .cd-directory__contact-disclosure { border-top: 0; margin-top: -24px; }\n.cuqjpvh-runtime .cd-directory__saved-listing { align-items: center; border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; min-width: 0; overflow-wrap: anywhere; padding-block: 12px; }\n.cuqjpvh-runtime .cd-directory__saved-listings > :is(.cd-directory__state, .cd-directory__button) { margin-top: 12px; }\n\n/* Owner record: the activity-count disclosure is a full-width row under the listing summary. */\n.cuqjpvh-runtime .cd-directory__owner-record > .cd-directory__owner-view { grid-column: 2; grid-row: 1; }\n.cuqjpvh-runtime .cd-directory__owner-analytics { border-top: 1px solid var(--cuqjpvh-runtime-border, #ddd); font-size: 14px; grid-column: 1 / -1; grid-row: 2; min-width: 0; padding: 4px 16px 8px; }\n.cuqjpvh-runtime .cd-directory__owner-analytics > summary { color: var(--cuqjpvh-runtime-muted, #666); cursor: pointer; overflow-wrap: anywhere; }\n.cuqjpvh-runtime .cd-directory__owner-analytics > :is(.cd-directory__facts, .cd-directory__state, .cd-directory__muted) { margin: 4px 0 12px; }\n@container cd-directory-layout (max-width: 820px) {\n  .cuqjpvh-runtime .cd-directory__owner-record > .cd-directory__owner-view { grid-column: 1; grid-row: 2; }\n  .cuqjpvh-runtime .cd-directory__owner-analytics { grid-row: 3; }\n}\n@container cd-directory-layout (max-width: 640px) {\n  .cuqjpvh-runtime .cd-directory__browse-controls > .cd-directory__discovery { grid-column: 1 / -1; }\n}\n`;ga(\"cedros-directory-web-styles\",uu);var G1=[\"cedros-directory:listing-disclosure\",\"cedros-directory:directory-search\",\"cedros-directory:listing-grid\",\"cedros-directory:listing-list\",\"cedros-directory:featured-listings\",\"cedros-directory:sponsored-listings\",\"cedros-directory:category-grid\",\"cedros-directory:location-grid\",\"cedros-directory:map\",\"cedros-directory:single-listing\",\"cedros-directory:submit-listing\",\"cedros-directory:claim-listing\",\"cedros-directory:owner-dashboard\",\"cedros-directory:directory-stats\",\"cedros-directory:related-listings\"],W1=G1.map(e=>({type:e,render:t=>mu(na,{...t})})),Z1=(Wi.contentBlocks??[]).map(e=>({type:e.type,displayName:e.displayName,category:e.category,defaultProps:Y1(e.type),validateProps:X1,Component:({props:t})=>mu(na,{block:{type:e.type,props:T(t)?t:{}}})}));function Q1(){return{...ya,contentBlocks:Z1,contentBlockRenderers:W1,contentTemplates:fa}}var dC=Q1;function Y1(e){return e===\"cedros-directory:owner-dashboard\"?{state:\"login_contract_required\"}:e===\"cedros-directory:submit-listing\"||e===\"cedros-directory:claim-listing\"?{directorySlug:\"main\"}:e===\"cedros-directory:featured-listings\"||e===\"cedros-directory:sponsored-listings\"?{directorySlug:\"main\",limit:3}:{directorySlug:\"main\",limit:12}}function X1(e){let t=[],r=e.directorySlug,i=e.limit,n=e.checkoutUrl,o=e.payAvailable,s=e.slug;return r!==void 0&&typeof r!=\"string\"&&t.push(\"directorySlug must be a string\"),i!==void 0&&(!Number.isInteger(Number(i))||Number(i)<1||Number(i)>100)&&t.push(\"limit must be an integer from 1 to 100\"),n!==void 0&&typeof n!=\"string\"&&t.push(\"checkoutUrl must be a string\"),o!==void 0&&typeof o!=\"boolean\"&&t.push(\"payAvailable must be a boolean\"),s!==void 0&&(typeof s!=\"string\"||!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(s))&&t.push(\"slug must be lowercase kebab-case\"),e.initialListings!==void 0&&!Array.isArray(e.initialListings)&&t.push(\"initialListings must be an array\"),e.initialTotal!==void 0&&(!Number.isInteger(Number(e.initialTotal))||Number(e.initialTotal)<0)&&t.push(\"initialTotal must be a non-negative integer\"),e.initialCategories!==void 0&&!Array.isArray(e.initialCategories)&&t.push(\"initialCategories must be an array\"),e.initialListing!==void 0&&e.initialListing!==null&&!T(e.initialListing)&&t.push(\"initialListing must be an object or null\"),e.initialRelatedListings!==void 0&&!Array.isArray(e.initialRelatedListings)&&t.push(\"initialRelatedListings must be an array\"),e.initialDisclosure!==void 0&&typeof e.initialDisclosure!=\"string\"&&t.push(\"initialDisclosure must be a string\"),e.sourceListing!==void 0&&!T(e.sourceListing)&&t.push(\"sourceListing must be an object\"),t.length?t:!0}export{dC as default,Q1 as registerCedrosWebSurface};\n","imports":[{"dynamic":false,"end":39,"specifier":"react/jsx-runtime","start":22},{"dynamic":false,"end":136135,"specifier":"react/jsx-runtime","start":136118},{"dynamic":false,"end":145556,"specifier":"react/jsx-runtime","start":145539},{"dynamic":false,"end":145619,"specifier":"react","start":145614},{"dynamic":false,"end":158169,"specifier":"react/jsx-runtime","start":158152},{"dynamic":false,"end":158232,"specifier":"react","start":158227},{"dynamic":false,"end":167678,"specifier":"react/jsx-runtime","start":167661},{"dynamic":false,"end":167728,"specifier":"react","start":167723},{"dynamic":false,"end":168463,"specifier":"react/jsx-runtime","start":168446},{"dynamic":false,"end":168504,"specifier":"react/jsx-runtime","start":168487},{"dynamic":false,"end":168560,"specifier":"react/jsx-runtime","start":168543},{"dynamic":false,"end":168638,"specifier":"react","start":168633},{"dynamic":false,"end":168677,"specifier":"react","start":168672},{"dynamic":false,"end":168723,"specifier":"react","start":168718},{"dynamic":false,"end":168861,"specifier":"react","start":168856},{"dynamic":false,"end":168943,"specifier":"react/jsx-runtime","start":168926},{"dynamic":false,"end":168968,"specifier":"react","start":168963},{"dynamic":false,"end":169026,"specifier":"react","start":169021},{"dynamic":false,"end":169065,"specifier":"react","start":169060},{"dynamic":false,"end":169122,"specifier":"react/jsx-runtime","start":169105},{"dynamic":false,"end":232728,"specifier":"react","start":232723},{"dynamic":false,"end":232814,"specifier":"react","start":232809},{"dynamic":false,"end":232853,"specifier":"react","start":232848},{"dynamic":false,"end":232949,"specifier":"react","start":232944},{"dynamic":false,"end":235659,"specifier":"react","start":235654},{"dynamic":false,"end":235915,"specifier":"react","start":235910},{"dynamic":false,"end":237125,"specifier":"react/jsx-runtime","start":237108},{"dynamic":false,"end":237188,"specifier":"react","start":237183},{"dynamic":false,"end":237227,"specifier":"react","start":237222},{"dynamic":false,"end":238252,"specifier":"react/jsx-runtime","start":238235},{"dynamic":false,"end":238302,"specifier":"react","start":238297},{"dynamic":false,"end":239633,"specifier":"react/jsx-runtime","start":239616},{"dynamic":false,"end":239686,"specifier":"react","start":239681},{"dynamic":false,"end":239725,"specifier":"react","start":239720},{"dynamic":false,"end":239789,"specifier":"react","start":239784},{"dynamic":false,"end":240159,"specifier":"react","start":240154},{"dynamic":false,"end":240192,"specifier":"react","start":240187},{"dynamic":false,"end":240855,"specifier":"react","start":240850},{"dynamic":false,"end":241650,"specifier":"react","start":241645},{"dynamic":false,"end":242625,"specifier":"react","start":242620},{"dynamic":false,"end":243015,"specifier":"react","start":243010},{"dynamic":false,"end":243054,"specifier":"react","start":243049},{"dynamic":false,"end":245618,"specifier":"react","start":245613},{"dynamic":false,"end":250093,"specifier":"react","start":250088},{"dynamic":false,"end":254459,"specifier":"react/jsx-runtime","start":254442},{"dynamic":false,"end":254509,"specifier":"react","start":254504},{"dynamic":false,"end":256044,"specifier":"react/jsx-runtime","start":256027},{"dynamic":false,"end":256081,"specifier":"react","start":256076},{"dynamic":false,"end":256131,"specifier":"react","start":256126},{"dynamic":false,"end":257556,"specifier":"react/jsx-runtime","start":257539},{"dynamic":false,"end":257668,"specifier":"react","start":257663},{"dynamic":false,"end":257724,"specifier":"react","start":257719},{"dynamic":false,"end":260913,"specifier":"react","start":260908},{"dynamic":false,"end":260965,"specifier":"react/jsx-runtime","start":260948},{"dynamic":false,"end":261046,"specifier":"react","start":261041},{"dynamic":false,"end":261115,"specifier":"react","start":261110},{"dynamic":false,"end":265178,"specifier":"react/jsx-runtime","start":265161},{"dynamic":false,"end":265289,"specifier":"react","start":265284},{"dynamic":false,"end":352500,"specifier":"react/jsx-runtime","start":352483},{"dynamic":false,"end":352575,"specifier":"react","start":352570},{"dynamic":false,"end":357763,"specifier":"react/jsx-runtime","start":357746},{"dynamic":false,"end":357838,"specifier":"react","start":357833},{"dynamic":false,"end":361482,"specifier":"react/jsx-runtime","start":361465},{"dynamic":false,"end":361534,"specifier":"react/jsx-runtime","start":361517},{"dynamic":false,"end":361609,"specifier":"react","start":361604},{"dynamic":false,"end":367367,"specifier":"react/jsx-runtime","start":367350},{"dynamic":false,"end":367417,"specifier":"react","start":367412},{"dynamic":false,"end":369374,"specifier":"react/jsx-runtime","start":369357},{"dynamic":false,"end":369408,"specifier":"react","start":369403},{"dynamic":false,"end":371878,"specifier":"react/jsx-runtime","start":371861},{"dynamic":false,"end":371975,"specifier":"react","start":371970},{"dynamic":false,"end":376009,"specifier":"react/jsx-runtime","start":375992},{"dynamic":false,"end":378746,"specifier":"react/jsx-runtime","start":378729},{"dynamic":false,"end":378821,"specifier":"react","start":378816},{"dynamic":false,"end":387256,"specifier":"react/jsx-runtime","start":387239},{"dynamic":false,"end":387350,"specifier":"react","start":387345}],"hasUnsupportedDynamicImports":false}]}