‘A car manufacturer producing thousands can still be inspired by someone working by hand’
Frameweb | ‘A car manufacturer producing thousands can still be inspired by someone working by hand’
{
“@context”: “https://schema.org”,
“@type”: “NewsArticle”,
“headline”: “‘A car manufacturer producing thousands can still be inspired by someone working by hand’”,
“image”: “https://d1tm14lrsghf7q.cloudfront.net/public/media/225653/conversions/00TITLE-Mazda-Frameweb-thumb.jpg”,
“datePublished”: “2026-11-05 13:00:00”,
“dateModified”: “2026-11-05 13:45:47”,
“author”: {
“@type”: “Person”,
“name”: “Floor Kuitert”
},
“description”: “Deeply rooted in Japanese craftsmanship and ‘Hiroshima stubbornness’, Mazda’s approach to form explores how restraint and subtlety can create emotional presence in objects at rest. We speak with Jo Stenuit, design director at Mazda Motor Europe, about how a design language can evolve slowly without going stale, why protecting time and space from commercial pressure matters, and how brand heritage travels from the clay modelling studio to the cabin and the dealership floor.”,
“isAccessibleForFree”: “False”,
“hasPart”: {
“@type”: “WebPageElement”,
“isAccessibleForFree”: “False”,
“cssSelector”: “.meteredContent”
}
}
window.dataLayer = window.dataLayer || [];
window.gtag = function(){dataLayer.push(arguments);};
gtag(‘consent’, ‘default’, {
‘ad_storage’: ‘denied’,
‘ad_user_data’: ‘denied’,
‘ad_personalization’: ‘denied’,
‘analytics_storage’: ‘denied’,
‘functionality_storage’: ‘denied’,
‘personalization_storage’: ‘denied’,
‘security_storage’: ‘granted’,
‘wait_for_update’: 500
});
gtag(‘set’, ‘ads_data_redaction’, true);
gtag(‘set’, ‘url_passthrough’, true);
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-NTQGGZ62′);
! function(c, h, i, m, p) {
m = c.createElement(h), p = c.getElementsByTagName(h)[0], m.async = 1, m.src = i, p.parentNode.insertBefore(m, p)
}
(document, “script”, “https://chimpstatic.com/mcjs-connected/js/users/66992785a8c9a91a586594e05/ff898570787f8dd8f15056695.js”);
const Ziggy = {“url”:”https://frameweb.com”,”port”:null,”defaults”:{},”routes”:{“nova-settings.get”:{“uri”:”nova-vendor/nova-settings/settings”,”methods”:[“GET”,”HEAD”]},”nova-settings.save”:{“uri”:”nova-vendor/nova-settings/settings”,”methods”:[“POST”]},”imagecache”:{“uri”:”assetsv2/{template}/{filename}”,”methods”:[“GET”,”HEAD”],”wheres”:{“filename”:”[ \w\.\/\-\@\(\)\=]+”},”parameters”:[“template”,”filename”]},”cashier.payment”:{“uri”:”stripe/payment/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”cashier.webhook”:{“uri”:”stripe/webhook”,”methods”:[“POST”]},”login.store”:{“uri”:”login”,”methods”:[“POST”]},”logout”:{“uri”:”logout”,”methods”:[“POST”]},”password.email”:{“uri”:”forgot-password”,”methods”:[“POST”]},”password.update”:{“uri”:”reset-password”,”methods”:[“POST”]},”register.store”:{“uri”:”register”,”methods”:[“POST”]},”verification.verify”:{“uri”:”email/verify/{id}/{hash}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”,”hash”]},”verification.send”:{“uri”:”email/verification-notification”,”methods”:[“POST”]},”user-profile-information.update”:{“uri”:”user/profile-information”,”methods”:[“PUT”]},”user-password.update”:{“uri”:”user/password”,”methods”:[“PUT”]},”password.confirmation”:{“uri”:”user/confirmed-password-status”,”methods”:[“GET”,”HEAD”]},”password.confirm.store”:{“uri”:”user/confirm-password”,”methods”:[“POST”]},”profile.show”:{“uri”:”user/profile”,”methods”:[“GET”,”HEAD”]},”other-browser-sessions.destroy”:{“uri”:”user/other-browser-sessions”,”methods”:[“DELETE”]},”current-user-photo.destroy”:{“uri”:”user/profile-photo”,”methods”:[“DELETE”]},”current-user.destroy”:{“uri”:”user”,”methods”:[“DELETE”]},”teams.create”:{“uri”:”teams/create”,”methods”:[“GET”,”HEAD”]},”teams.store”:{“uri”:”teams”,”methods”:[“POST”]},”teams.show”:{“uri”:”teams/{team}”,”methods”:[“GET”,”HEAD”],”parameters”:[“team”]},”teams.update”:{“uri”:”teams/{team}”,”methods”:[“PUT”],”parameters”:[“team”]},”teams.destroy”:{“uri”:”teams/{team}”,”methods”:[“DELETE”],”parameters”:[“team”]},”current-team.update”:{“uri”:”current-team”,”methods”:[“PUT”]},”team-members.store”:{“uri”:”teams/{team}/members”,”methods”:[“POST”],”parameters”:[“team”]},”team-members.update”:{“uri”:”teams/{team}/members/{user}”,”methods”:[“PUT”],”parameters”:[“team”,”user”]},”team-members.destroy”:{“uri”:”teams/{team}/members/{user}”,”methods”:[“DELETE”],”parameters”:[“team”,”user”]},”team-invitations.accept”:{“uri”:”team-invitations/{invitation}”,”methods”:[“GET”,”HEAD”],”parameters”:[“invitation”]},”team-invitations.destroy”:{“uri”:”team-invitations/{invitation}”,”methods”:[“DELETE”],”parameters”:[“invitation”]},”nova.api.”:{“uri”:”nova-api/scripts/{script}”,”methods”:[“GET”,”HEAD”],”parameters”:[“script”]},”nova.api.generated::ORVUP0ZnSuHrJxr2″:{“uri”:”nova-api/styles/{style}”,”methods”:[“GET”,”HEAD”],”parameters”:[“style”]},”nova.api.generated::8MyHuzdeTAdRDk69″:{“uri”:”nova-api/search”,”methods”:[“GET”,”HEAD”]},”nova.api.generated::8d6VKYFyHY0mTHMi”:{“uri”:”nova-api/impersonate”,”methods”:[“POST”]},”nova.api.generated::jZTVImU3OotjwIPa”:{“uri”:”nova-api/impersonate”,”methods”:[“DELETE”]},”nova.api.generated::oapetz3bH8MkaPq5″:{“uri”:”nova-api/{resource}/field/{field}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”field”]},”nova.api.generated::wLcJoBkqotEnMqLx”:{“uri”:”nova-api/{resource}/field/{field}/preview”,”methods”:[“POST”],”parameters”:[“resource”,”field”]},”nova.api.generated::n85eNkGLhK8OeqfJ”:{“uri”:”nova-api/{resource}/field-attachment/{field}”,”methods”:[“POST”],”parameters”:[“resource”,”field”]},”nova.api.generated::uGM98JzMvmLbocRI”:{“uri”:”nova-api/{resource}/field-attachment/{field}”,”methods”:[“DELETE”],”parameters”:[“resource”,”field”]},”nova.api.generated::VW99HbefeeHPbGfb”:{“uri”:”nova-api/{resource}/field-attachment/{field}/draftId”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”field”]},”nova.api.generated::jDQ3W8kYdSEFkjIp”:{“uri”:”nova-api/{resource}/field-attachment/{field}/{draftId}”,”methods”:[“DELETE”],”parameters”:[“resource”,”field”,”draftId”]},”nova.api.generated::BijaBszZsNKz1SI6″:{“uri”:”nova-api/{resource}/creation-fields”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::IfdMlhsUDLvkwa9W”:{“uri”:”nova-api/{resource}/{resourceId}/update-fields”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”]},”nova.api.generated::nnHoUgEwj8kBxQhn”:{“uri”:”nova-api/{resource}/{resourceId}/creation-pivot-fields/{relatedResource}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”,”relatedResource”]},”nova.api.generated::pKPODHMMvj1nVtIm”:{“uri”:”nova-api/{resource}/{resourceId}/update-pivot-fields/{relatedResource}/{relatedResourceId}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”,”relatedResource”,”relatedResourceId”]},”nova.api.generated::CXsaE99deRqxI91j”:{“uri”:”nova-api/{resource}/creation-fields”,”methods”:[“PATCH”],”parameters”:[“resource”]},”nova.api.generated::1X27Fx19wTcFpPUx”:{“uri”:”nova-api/{resource}/{resourceId}/update-fields”,”methods”:[“PATCH”],”parameters”:[“resource”,”resourceId”]},”nova.api.generated::CfxjLzMVxT6q8dfp”:{“uri”:”nova-api/{resource}/{resourceId}/creation-pivot-fields/{relatedResource}”,”methods”:[“PATCH”],”parameters”:[“resource”,”resourceId”,”relatedResource”]},”nova.api.generated::1pYU8MsOhalUAKl7″:{“uri”:”nova-api/{resource}/{resourceId}/update-pivot-fields/{relatedResource}/{relatedResourceId}”,”methods”:[“PATCH”],”parameters”:[“resource”,”resourceId”,”relatedResource”,”relatedResourceId”]},”nova.api.generated::WhiDMyMDRykQULtd”:{“uri”:”nova-api/{resource}/{resourceId}/download/{field}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”,”field”]},”nova.api.generated::d4zWvz2fwgsCzXXZ”:{“uri”:”nova-api/{resource}/{resourceId}/field/{field}”,”methods”:[“DELETE”],”parameters”:[“resource”,”resourceId”,”field”]},”nova.api.generated::hIzDit9ikzk43WPY”:{“uri”:”nova-api/{resource}/{resourceId}/{relatedResource}/{relatedResourceId}/field/{field}”,”methods”:[“DELETE”],”parameters”:[“resource”,”resourceId”,”relatedResource”,”relatedResourceId”,”field”]},”nova.api.generated::ZPVkzxGOybFa4OrA”:{“uri”:”nova-api/dashboards/{dashboard}”,”methods”:[“GET”,”HEAD”],”parameters”:[“dashboard”]},”nova.api.generated::1ZOdu6iYyKKHJY3n”:{“uri”:”nova-api/dashboards/cards/{dashboard}”,”methods”:[“GET”,”HEAD”],”parameters”:[“dashboard”]},”nova.api.generated::xjFSdJSTBqvfevlH”:{“uri”:”nova-api/nova-notifications”,”methods”:[“GET”,”HEAD”]},”nova.api.generated::DbDV6HM0G4ssSxDA”:{“uri”:”nova-api/nova-notifications/read-all”,”methods”:[“POST”]},”nova.api.generated::TMPc3Ve0eiCgkmW2″:{“uri”:”nova-api/nova-notifications/{notification}/read”,”methods”:[“POST”],”parameters”:[“notification”]},”nova.api.generated::jiWuGu0TsoSSdRuH”:{“uri”:”nova-api/nova-notifications/{notification}/delete”,”methods”:[“DELETE”],”parameters”:[“notification”]},”nova.api.generated::AorfTpMuNwV5naPZ”:{“uri”:”nova-api/{resource}/actions”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::RhjyOuCvtVAs1eEH”:{“uri”:”nova-api/{resource}/action”,”methods”:[“POST”],”parameters”:[“resource”]},”nova.api.generated::DcD0NYNkXjaVhBBx”:{“uri”:”nova-api/{resource}/action”,”methods”:[“PATCH”],”parameters”:[“resource”]},”nova.api.generated::HShCBenZMhyxYga8″:{“uri”:”nova-api/{resource}/filters”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::CqLIpaulcb3kRhyb”:{“uri”:”nova-api/{resource}/lenses”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::4Z30gW4OyqTdYL3U”:{“uri”:”nova-api/{resource}/lens/{lens}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”]},”nova.api.generated::R6plSuiDEhKjWR6Y”:{“uri”:”nova-api/{resource}/lens/{lens}/count”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”]},”nova.api.generated::yWfp8KwyjMCMwwV6″:{“uri”:”nova-api/{resource}/lens/{lens}”,”methods”:[“DELETE”],”parameters”:[“resource”,”lens”]},”nova.api.generated::4wcSv5FxP9ir56TQ”:{“uri”:”nova-api/{resource}/lens/{lens}/force”,”methods”:[“DELETE”],”parameters”:[“resource”,”lens”]},”nova.api.generated::98NyBAh3L6IA8AYJ”:{“uri”:”nova-api/{resource}/lens/{lens}/restore”,”methods”:[“PUT”],”parameters”:[“resource”,”lens”]},”nova.api.generated::1z0MVptbCVBZZqdv”:{“uri”:”nova-api/{resource}/lens/{lens}/actions”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”]},”nova.api.generated::GhjJEDu8zzf3ZiTR”:{“uri”:”nova-api/{resource}/lens/{lens}/action”,”methods”:[“POST”],”parameters”:[“resource”,”lens”]},”nova.api.generated::FVeDJ9m5F5En7Vm1″:{“uri”:”nova-api/{resource}/lens/{lens}/action”,”methods”:[“PATCH”],”parameters”:[“resource”,”lens”]},”nova.api.generated::RerXFjBaEEtTOJKd”:{“uri”:”nova-api/{resource}/lens/{lens}/filters”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”]},”nova.api.generated::gXq1cstZ4fhpbAU3″:{“uri”:”nova-api/metrics/{metric}”,”methods”:[“GET”,”HEAD”],”parameters”:[“metric”]},”nova.api.generated::8cMToHZXCHd8xI0j”:{“uri”:”nova-api/{resource}/metrics”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::War4zhy7wANhHEHj”:{“uri”:”nova-api/{resource}/metrics/{metric}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”metric”]},”nova.api.generated::KMphTY8aRx3adQQP”:{“uri”:”nova-api/{resource}/{resourceId}/metrics/{metric}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”,”metric”]},”nova.api.generated::khm9q34jZBgYltk3″:{“uri”:”nova-api/{resource}/lens/{lens}/metrics”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”]},”nova.api.generated::xCRnHTsn9niSlteU”:{“uri”:”nova-api/{resource}/lens/{lens}/metrics/{metric}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”,”metric”]},”nova.api.generated::iEGMXXcOkP1JpmWc”:{“uri”:”nova-api/{resource}/cards”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::woAWj7TMOKTRqycE”:{“uri”:”nova-api/{resource}/lens/{lens}/cards”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”]},”nova.api.generated::PrdogXmG5MzbCWN7″:{“uri”:”nova-api/{resource}/relate-authorization”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::XviSTWzjsIBKqMLQ”:{“uri”:”nova-api/{resource}/soft-deletes”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::uFgZSKWYiYNYFcHI”:{“uri”:”nova-api/{resource}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::lR8Sa8LLcGJZNGmq”:{“uri”:”nova-api/{resource}/search”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::orATR8HlQSoUym6w”:{“uri”:”nova-api/{resource}/count”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.api.generated::ooGyW4QDnOp2hV1L”:{“uri”:”nova-api/{resource}/detach”,”methods”:[“DELETE”],”parameters”:[“resource”]},”nova.api.generated::LxqOfIfwb8MLV93E”:{“uri”:”nova-api/{resource}/restore”,”methods”:[“PUT”],”parameters”:[“resource”]},”nova.api.generated::Mh1iDF6jhBjCt5oc”:{“uri”:”nova-api/{resource}/force”,”methods”:[“DELETE”],”parameters”:[“resource”]},”nova.api.generated::n7eeMKNjeLlKLKX5″:{“uri”:”nova-api/{resource}/{resourceId}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”]},”nova.api.generated::ZZtTf9MX7yfOO02l”:{“uri”:”nova-api/{resource}/{resourceId}/preview”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”]},”nova.api.generated::n84tFawa2AuR3LJe”:{“uri”:”nova-api/{resource}/{resourceId}/peek”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”]},”nova.api.generated::uZMcgpQ1j67t0C2X”:{“uri”:”nova-api/{resource}”,”methods”:[“POST”],”parameters”:[“resource”]},”nova.api.generated::TOTwgRhssNGIcJ1q”:{“uri”:”nova-api/{resource}/{resourceId}”,”methods”:[“PUT”],”parameters”:[“resource”,”resourceId”]},”nova.api.generated::n3pairG7RNXcyTDZ”:{“uri”:”nova-api/{resource}”,”methods”:[“DELETE”],”parameters”:[“resource”]},”nova.api.generated::569sLGJtWMjR4YQP”:{“uri”:”nova-api/{resource}/associatable/{field}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”field”]},”nova.api.generated::oHNg7sMXuRWwgGLB”:{“uri”:”nova-api/{resource}/{resourceId}/attachable/{field}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”,”field”]},”nova.api.generated::kTgTdx6G08lX3Cak”:{“uri”:”nova-api/{resource}/morphable/{field}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”field”]},”nova.api.generated::WCn9rAaephjmKoI2″:{“uri”:”nova-api/{resource}/{resourceId}/attach/{relatedResource}”,”methods”:[“POST”],”parameters”:[“resource”,”resourceId”,”relatedResource”]},”nova.api.generated::KK12Miw0FSS080xg”:{“uri”:”nova-api/{resource}/{resourceId}/update-attached/{relatedResource}/{relatedResourceId}”,”methods”:[“POST”],”parameters”:[“resource”,”resourceId”,”relatedResource”,”relatedResourceId”]},”nova.api.generated::NYwhDJ15qf4aoDgt”:{“uri”:”nova-api/{resource}/{resourceId}/attach-morphed/{relatedResource}”,”methods”:[“POST”],”parameters”:[“resource”,”resourceId”,”relatedResource”]},”passport.token”:{“uri”:”oauth/token”,”methods”:[“POST”]},”passport.authorizations.authorize”:{“uri”:”oauth/authorize”,”methods”:[“GET”,”HEAD”]},”passport.token.refresh”:{“uri”:”oauth/token/refresh”,”methods”:[“POST”]},”passport.authorizations.approve”:{“uri”:”oauth/authorize”,”methods”:[“POST”]},”passport.authorizations.deny”:{“uri”:”oauth/authorize”,”methods”:[“DELETE”]},”passport.tokens.index”:{“uri”:”oauth/tokens”,”methods”:[“GET”,”HEAD”]},”passport.tokens.destroy”:{“uri”:”oauth/tokens/{token_id}”,”methods”:[“DELETE”],”parameters”:[“token_id”]},”passport.clients.index”:{“uri”:”oauth/clients”,”methods”:[“GET”,”HEAD”]},”passport.clients.store”:{“uri”:”oauth/clients”,”methods”:[“POST”]},”passport.clients.update”:{“uri”:”oauth/clients/{client_id}”,”methods”:[“PUT”],”parameters”:[“client_id”]},”passport.clients.destroy”:{“uri”:”oauth/clients/{client_id}”,”methods”:[“DELETE”],”parameters”:[“client_id”]},”passport.scopes.index”:{“uri”:”oauth/scopes”,”methods”:[“GET”,”HEAD”]},”passport.personal.tokens.index”:{“uri”:”oauth/personal-access-tokens”,”methods”:[“GET”,”HEAD”]},”passport.personal.tokens.store”:{“uri”:”oauth/personal-access-tokens”,”methods”:[“POST”]},”passport.personal.tokens.destroy”:{“uri”:”oauth/personal-access-tokens/{token_id}”,”methods”:[“DELETE”],”parameters”:[“token_id”]},”nova.pages.login”:{“uri”:”admin/login”,”methods”:[“GET”,”HEAD”]},”nova.login”:{“uri”:”admin/login”,”methods”:[“POST”]},”nova.logout”:{“uri”:”admin/logout”,”methods”:[“POST”]},”nova.pages.password.email”:{“uri”:”admin/password/reset”,”methods”:[“GET”,”HEAD”]},”nova.password.email”:{“uri”:”admin/password/email”,”methods”:[“POST”]},”nova.pages.password.reset”:{“uri”:”admin/password/reset/{token}”,”methods”:[“GET”,”HEAD”],”parameters”:[“token”]},”nova.password.reset”:{“uri”:”admin/password/reset”,”methods”:[“POST”]},”nova.pages.403″:{“uri”:”admin/403″,”methods”:[“GET”,”HEAD”]},”nova.pages.404″:{“uri”:”admin/404″,”methods”:[“GET”,”HEAD”]},”nova.pages.home”:{“uri”:”admin”,”methods”:[“GET”,”HEAD”]},”nova.pages.dashboard”:{“uri”:”admin/dashboard”,”methods”:[“GET”,”HEAD”,”POST”,”PUT”,”PATCH”,”DELETE”,”OPTIONS”]},”nova.pages.dashboard.custom”:{“uri”:”admin/dashboards/{name}”,”methods”:[“GET”,”HEAD”],”parameters”:[“name”]},”nova.pages.index”:{“uri”:”admin/resources/{resource}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.pages.create”:{“uri”:”admin/resources/{resource}/new”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”]},”nova.pages.detail”:{“uri”:”admin/resources/{resource}/{resourceId}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”]},”nova.pages.edit”:{“uri”:”admin/resources/{resource}/{resourceId}/edit”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”]},”nova.pages.replicate”:{“uri”:”admin/resources/{resource}/{resourceId}/replicate”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”]},”nova.pages.lens”:{“uri”:”admin/resources/{resource}/lens/{lens}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”lens”]},”nova.pages.attach”:{“uri”:”admin/resources/{resource}/{resourceId}/attach/{relatedResource}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”,”relatedResource”]},”nova.pages.edit-attached”:{“uri”:”admin/resources/{resource}/{resourceId}/edit-attached/{relatedResource}/{relatedResourceId}”,”methods”:[“GET”,”HEAD”],”parameters”:[“resource”,”resourceId”,”relatedResource”,”relatedResourceId”]},”webhook.shipment”:{“uri”:”api/webhook/shipment”,”methods”:[“POST”]},”webhook.shipment.completed”:{“uri”:”api/webhook/shipment-completed”,”methods”:[“POST”]},”payments.checkout”:{“uri”:”payments/checkout”,”methods”:[“GET”,”HEAD”]},”checkout.success”:{“uri”:”checkout/success”,”methods”:[“GET”,”HEAD”]},”checkout.cancel”:{“uri”:”checkout/cancel”,”methods”:[“GET”,”HEAD”]},”checkout.shipping-options”:{“uri”:”checkout/shipping/{sessionId}”,”methods”:[“POST”],”parameters”:[“sessionId”]},”checkout.return”:{“uri”:”checkout/result”,”methods”:[“GET”,”HEAD”]},”checkout.subscription”:{“uri”:”checkout/{subscriptionSlug}”,”methods”:[“GET”,”HEAD”],”parameters”:[“subscriptionSlug”]},”checkout”:{“uri”:”checkout”,”methods”:[“GET”,”HEAD”]},”teams.index”:{“uri”:”community/teams”,”methods”:[“GET”,”HEAD”]},”teams.payment”:{“uri”:”community/teams/payment”,”methods”:[“GET”,”HEAD”]},”teams.switch”:{“uri”:”community/teams/switch/{team}”,”methods”:[“GET”,”HEAD”],”parameters”:[“team”]},”teams.membership”:{“uri”:”community/teams/membership”,”methods”:[“GET”,”HEAD”]},”team-members.support”:{“uri”:”community/teams/support”,”methods”:[“GET”,”HEAD”]},”settings.index”:{“uri”:”community/settings”,”methods”:[“GET”,”HEAD”]},”updateProfile.index”:{“uri”:”community/settings”,”methods”:[“POST”]},”settings.delete”:{“uri”:”community/settings/delete”,”methods”:[“GET”,”HEAD”]},”updateVat.index”:{“uri”:”community/settings/vat”,”methods”:[“POST”]},”updateCoupon.index”:{“uri”:”community/settings/coupon”,”methods”:[“POST”]},”deleteCoupon.index”:{“uri”:”community/settings/coupon/delete”,”methods”:[“POST”]},”updateCountry.index”:{“uri”:”community/settings/country”,”methods”:[“POST”]},”updateShippingCountry.index”:{“uri”:”community/settings/country/shipping”,”methods”:[“POST”]},”settings.billing”:{“uri”:”community/settings/billing”,”methods”:[“POST”]},”settings.shipping”:{“uri”:”community/settings/shipping”,”methods”:[“POST”]},”settings.password”:{“uri”:”community/settings/password”,”methods”:[“POST”]},”settings.avatar”:{“uri”:”community/settings/profile/avatar”,”methods”:[“POST”]},”settingsSecurity.index”:{“uri”:”community/settings/security”,”methods”:[“GET”,”HEAD”]},”settings.membership”:{“uri”:”community/settings/membership”,”methods”:[“GET”,”HEAD”]},”settings.membership.change”:{“uri”:”community/settings/membership/change/{subscriptionSlug}”,”methods”:[“GET”,”HEAD”],”parameters”:[“subscriptionSlug”]},”settings.membership.upgrade”:{“uri”:”community/settings/membership/upgrade/{subscriptionSlug}”,”methods”:[“GET”,”HEAD”],”parameters”:[“subscriptionSlug”]},”settingsNewsletter.index”:{“uri”:”community/settings/newsletter”,”methods”:[“GET”,”HEAD”]},”settingsNewsletter.update”:{“uri”:”community/settings/newsletter”,”methods”:[“POST”]},”settingsNewsletter.verify”:{“uri”:”community/settings/newsletter/verify”,”methods”:[“GET”,”HEAD”]},”settings.orders”:{“uri”:”community/settings/orders”,”methods”:[“GET”,”HEAD”]},”settingsSupport.index”:{“uri”:”community/settings/support”,”methods”:[“GET”,”HEAD”]},”settingsShipping.index”:{“uri”:”community/settings/shipping”,”methods”:[“GET”,”HEAD”]},”settings.stripe.billing”:{“uri”:”community/settings/stripe”,”methods”:[“GET”,”HEAD”]},”stripeToken.index”:{“uri”:”payments/token”,”methods”:[“GET”,”HEAD”]},”stripePay.index”:{“uri”:”payments/update”,”methods”:[“GET”,”HEAD”]},”checkoutPlan.index”:{“uri”:”payments/checkout/plan”,”methods”:[“GET”,”HEAD”]},”checkoutPlanx.index”:{“uri”:”payments/checkout/plan/{plan}”,”methods”:[“GET”,”HEAD”],”parameters”:[“plan”]},”subscribePlanwithID.index”:{“uri”:”payments/subscribe/{plan}”,”methods”:[“GET”,”HEAD”],”parameters”:[“plan”]},”subscribePlanPost.index”:{“uri”:”payments/subscribe”,”methods”:[“POST”]},”payments.pay”:{“uri”:”payments/pay”,”methods”:[“POST”]},”payments.payRedirect”:{“uri”:”payments/pay”,”methods”:[“GET”,”HEAD”]},”payments.cancel”:{“uri”:”payments/cancel”,”methods”:[“POST”]},”payments.resume”:{“uri”:”payments/resume”,”methods”:[“POST”]},”payments.update”:{“uri”:”payments/update”,”methods”:[“POST”]},”payments.lineitem.delete”:{“uri”:”payments/lineitem/delete”,”methods”:[“POST”]},”payments.lineitem.add”:{“uri”:”payments/lineitem/add/{product}”,”methods”:[“GET”,”HEAD”],”parameters”:[“product”],”bindings”:{“product”:”id”}},”payments.lineitem.add.quantity”:{“uri”:”payments/lineitem/add/{product}/{quantity}”,”methods”:[“GET”,”HEAD”],”parameters”:[“product”,”quantity”],”bindings”:{“product”:”id”}},”payments.lineitem.update”:{“uri”:”payments/lineitem/update”,”methods”:[“POST”]},”stripe.account”:{“uri”:”stripe-account”,”methods”:[“GET”,”HEAD”]},”checkout.index”:{“uri”:”stripe-checkout”,”methods”:[“GET”,”HEAD”]},”v2.index”:{“uri”:”beta”,”methods”:[“GET”,”HEAD”]},”dashboard.index”:{“uri”:”community/dashboard”,”methods”:[“GET”,”HEAD”]},”dashboard.submitted”:{“uri”:”community/dashboard/submitted”,”methods”:[“GET”,”HEAD”]},”dashboard.unsubmitted”:{“uri”:”community/dashboard/unsubmitted”,”methods”:[“GET”,”HEAD”]},”dashboard.submitted.post”:{“uri”:”community/dashboard/submitted”,”methods”:[“POST”]},”dashboard.unsubmitted.post”:{“uri”:”community/dashboard/unsubmitted”,”methods”:[“POST”]},”dashboard.library”:{“uri”:”community/dashboard/library”,”methods”:[“GET”,”HEAD”]},”dashboard.library.latest”:{“uri”:”community/dashboard/library/{filter}”,”methods”:[“GET”,”HEAD”],”parameters”:[“filter”]},”dashboard.library.latest.post”:{“uri”:”community/dashboard/library/{filter}”,”methods”:[“POST”],”parameters”:[“filter”]},”dashboard.todos”:{“uri”:”community/dashboard/todos”,”methods”:[“GET”,”HEAD”]},”dashboard.done”:{“uri”:”community/dashboard/done”,”methods”:[“GET”,”HEAD”]},”dashboard.todos.post”:{“uri”:”community/dashboard/todos”,”methods”:[“POST”]},”dashboard.done.post”:{“uri”:”community/dashboard/done”,”methods”:[“POST”]},”dashboard.unsubmitted.delete”:{“uri”:”community/dashboard/unsubmitted/delete”,”methods”:[“POST”]},”dashboard.notifications”:{“uri”:”community/dashboard/notifications”,”methods”:[“GET”,”HEAD”]},”wizard.index”:{“uri”:”community/awards”,”methods”:[“GET”,”HEAD”]},”wizard.create”:{“uri”:”community/wizard/create/{content_type}”,”methods”:[“GET”,”HEAD”],”parameters”:[“content_type”]},”wizard.edit”:{“uri”:”community/wizard/{content}”,”methods”:[“GET”,”HEAD”],”parameters”:[“content”],”bindings”:{“content”:”id”}},”wizard.update”:{“uri”:”community/wizard/{content}”,”methods”:[“PUT”],”parameters”:[“content”]},”wizard.uploadimage”:{“uri”:”community/wizard/{content}/image/upload”,”methods”:[“POST”],”parameters”:[“content”],”bindings”:{“content”:”id”}},”wizard.removeimage”:{“uri”:”community/wizard/{content}/image/remove”,”methods”:[“POST”],”parameters”:[“content”],”bindings”:{“content”:”id”}},”wizard.uploadfile”:{“uri”:”community/wizard/{content}/file/upload”,”methods”:[“POST”],”parameters”:[“content”],”bindings”:{“content”:”id”}},”wizard.removefile”:{“uri”:”community/wizard/{content}/file/remove”,”methods”:[“POST”],”parameters”:[“content”],”bindings”:{“content”:”id”}},”wizard.checkout”:{“uri”:”community/wizard/{content}/checkout”,”methods”:[“POST”],”parameters”:[“content”]},”api.widget”:{“uri”:”api/widget”,”methods”:[“POST”]},”query”:{“uri”:”api/navigation”,”methods”:[“POST”]},”settings.stripe”:{“uri”:”api/settings/stripe”,”methods”:[“GET”,”HEAD”]},”index”:{“uri”:”/”,”methods”:[“GET”,”HEAD”]},”verification.notice”:{“uri”:”email/verify”,”methods”:[“GET”,”HEAD”]},”password.reset”:{“uri”:”reset-password/{token}”,”methods”:[“GET”,”HEAD”],”parameters”:[“token”]},”login”:{“uri”:”login”,”methods”:[“GET”,”HEAD”]},”register”:{“uri”:”register”,”methods”:[“GET”,”HEAD”]},”article”:{“uri”:”article/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”event”:{“uri”:”event/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”project”:{“uri”:”project/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”designer”:{“uri”:”designer/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”product”:{“uri”:”product/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”legacy-article”:{“uri”:”news/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”profile”:{“uri”:”profile/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”magazine”:{“uri”:”magazine/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”index-magazines”:{“uri”:”magazines/index”,”methods”:[“POST”]},”index-magazine”:{“uri”:”magazine/index”,”methods”:[“POST”]},”index-events”:{“uri”:”events/index”,”methods”:[“POST”]},”book”:{“uri”:”book/{id}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”]},”index-book”:{“uri”:”books/index”,”methods”:[“POST”]},”image-resizer”:{“uri”:”assets/{template}/{filename}”,”methods”:[“GET”,”HEAD”],”parameters”:[“template”,”filename”]},”image-spatie”:{“uri”:”assets/{template}/{folder}/{filename}”,”methods”:[“GET”,”HEAD”],”parameters”:[“template”,”folder”,”filename”]},”cart.list”:{“uri”:”cart/get”,”methods”:[“GET”,”HEAD”]},”cart.add”:{“uri”:”cart/add”,”methods”:[“POST”]},”cart.update”:{“uri”:”cart/update”,”methods”:[“POST”]},”cart.remove”:{“uri”:”cart/remove”,”methods”:[“POST”]},”cart.clear”:{“uri”:”cart/clear”,”methods”:[“POST”]},”cart.reset”:{“uri”:”cart/reset”,”methods”:[“GET”,”HEAD”]},”reading-list.show”:{“uri”:”reading-lists/{readingList}”,”methods”:[“GET”,”HEAD”],”parameters”:[“readingList”],”bindings”:{“readingList”:”slug”}},”reading-list.index”:{“uri”:”reading-lists”,”methods”:[“GET”,”HEAD”]},”content-primary”:{“uri”:”{type}/{primary}/{id}”,”methods”:[“GET”,”HEAD”],”wheres”:{“type”:”^(?!nova|zoho|stripe|community|admin.*$).*”},”parameters”:[“type”,”primary”,”id”]},”editor-js-upload-image-by-file”:{“uri”:”nova-vendor/editor-js-field/upload/file”,”methods”:[“POST”]},”editor-js-upload-image-by-url”:{“uri”:”nova-vendor/editor-js-field/upload/url”,”methods”:[“POST”]},”editor-js-fetch-url”:{“uri”:”nova-vendor/editor-js-field/fetch/url”,”methods”:[“GET”,”HEAD”]},”nova.impersonate.take”:{“uri”:”nova-impersonate/users/{id}/{guardName?}”,”methods”:[“GET”,”HEAD”],”parameters”:[“id”,”guardName”]},”nova.impersonate.leave”:{“uri”:”nova-impersonate/leave”,”methods”:[“GET”,”HEAD”]}}};
!function(t,r){“object”==typeof exports&&”undefined”!=typeof module?module.exports=r():”function”==typeof define&&define.amd?define(r):(t||self).route=r()}(this,function(){function t(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,"symbol"==typeof(o=function(t,r){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key))?o:String(o),n)}var o}function r(r,e,n){return e&&t(r.prototype,e),n&&t(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}function e(){return e=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},e.apply(this,arguments)}function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}function o(t,r){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},o(t,r)}function i(t,r,e){return i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct.bind():function(t,r,e){var n=[null];n.push.apply(n,r);var i=new(Function.bind.apply(t,n));return e&&o(i,e.prototype),i},i.apply(null,arguments)}function u(t){var r="function"==typeof Map?new Map:void 0;return u=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return i(t,arguments,n(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o(e,t)},u(t)}var f=String.prototype.replace,a=/%20/g,c="RFC3986",l={default:c,formatters:{RFC1738:function(t){return f.call(t,a,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:c},s=Object.prototype.hasOwnProperty,v=Array.isArray,p=function(){for(var t=[],r=0;r<256;++r)t.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return t}(),y=function(t,r){for(var e=r&&r.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(e[n]=t[n]);return e},d={arrayToObject:y,assign:function(t,r){return Object.keys(r).reduce(function(t,e){return t[e]=r[e],t},t)},combine:function(t,r){return[].concat(t,r)},compact:function(t){for(var r=[{obj:{o:t},prop:"o"}],e=[],n=0;n<r.length;++n)for(var o=r[n],i=o.obj[o.prop],u=Object.keys(i),f=0;f1;){var r=t.pop(),e=r.obj[r.prop];if(v(e)){for(var n=[],o=0;o<e.length;++o)void 0!==e[o]&&n.push(e[o]);r.obj[r.prop]=n}}}(r),t},decode:function(t,r,e){var n=t.replace(/+/g," ");if("iso-8859-1"===e)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,r,e,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===e)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var u="",f=0;f=48&&a=65&&a=97&&a<=122||o===l.RFC1738&&(40===a||41===a)?u+=i.charAt(f):a<128?u+=p[a]:a>6]+p[128|63&a]:a=57344?u+=p[224|a>>12]+p[128|a>>6&63]+p[128|63&a]:(a=65536+((1023&a)<>18]+p[128|a>>12&63]+p[128|a>>6&63]+p[128|63&a])}return u},isBuffer:function(t){return!(!t||”object”!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return”[object RegExp]”===Object.prototype.toString.call(t)},maybeMap:function(t,r){if(v(t)){for(var e=[],n=0;n<t.length;n+=1)e.push(r(t[n]));return e}return r(t)},merge:function t(r,e,n){if(!e)return r;if("object"!=typeof e){if(v(r))r.push(e);else{if(!r||"object"!=typeof r)return[r,e];(n&&(n.plainObjects||n.allowPrototypes)||!s.call(Object.prototype,e))&&(r[e]=!0)}return r}if(!r||"object"!=typeof r)return[r].concat(e);var o=r;return v(r)&&!v(e)&&(o=y(r,n)),v(r)&&v(e)?(e.forEach(function(e,o){if(s.call(r,o)){var i=r[o];i&&"object"==typeof i&&e&&"object"==typeof e?r[o]=t(i,e,n):r.push(e)}else r[o]=e}),r):Object.keys(e).reduce(function(r,o){var i=e[o];return r[o]=s.call(r,o)?t(r[o],i,n):i,r},o)}},b=Object.prototype.hasOwnProperty,h={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},g=Array.isArray,m=String.prototype.split,j=Array.prototype.push,w=function(t,r){j.apply(t,g(r)?r:[r])},O=Date.prototype.toISOString,E=l.default,R={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:d.encode,encodeValuesOnly:!1,format:E,formatter:l.formatters[E],indices:!1,serializeDate:function(t){return O.call(t)},skipNulls:!1,strictNullHandling:!1},S=function t(r,e,n,o,i,u,f,a,c,l,s,v,p,y){var b,h=r;if("function"==typeof f?h=f(e,h):h instanceof Date?h=l(h):"comma"===n&&g(h)&&(h=d.maybeMap(h,function(t){return t instanceof Date?l(t):t})),null===h){if(o)return u&&!p?u(e,R.encoder,y,"key",s):e;h=""}if("string"==typeof(b=h)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||d.isBuffer(h)){if(u){var j=p?e:u(e,R.encoder,y,"key",s);if("comma"===n&&p){for(var O=m.call(String(h),","),E="",S=0;S0?h.join(“,”)||null:void 0}];else if(g(f))T=f;else{var x=Object.keys(h);T=a?x.sort(a):x}for(var N=0;N-1?t.split(“,”):t},A=function(t,r,e,n){if(t){var o=e.allowDots?t.replace(/.([^.[]+)/g,”[$1]”):t,i=/([[^[]]*])/g,u=e.depth>0&&/([[^[]]*])/.exec(o),f=u?o.slice(0,u.index):o,a=[];if(f){if(!e.plainObjects&&T.call(Object.prototype,f)&&!e.allowPrototypes)return;a.push(f)}for(var c=0;e.depth>0&&null!==(u=i.exec(o))&&c=0;–i){var u,f=t[i];if(“[]”===f&&e.parseArrays)u=[].concat(o);else{u=e.plainObjects?Object.create(null):{};var a=”[“===f.charAt(0)&&”]”===f.charAt(f.length-1)?f.slice(1,-1):f,c=parseInt(a,10);e.parseArrays||””!==a?!isNaN(c)&&f!==a&&String(c)===a&&c>=0&&e.parseArrays&&c<=e.arrayLimit?(u=[])[c]=o:"__proto__"!==a&&(u[a]=o):u={0:o}}o=u}return o}(a,r,e,n)}},D=function(t,r){var e=function(t){if(!t)return x;if(null!=t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:void 0===t.allowDots?x.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:x.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:x.arrayLimit,charset:void 0===t.charset?x.charset:t.charset,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:x.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:x.comma,decoder:"function"==typeof t.decoder?t.decoder:x.decoder,delimiter:"string"==typeof t.delimiter||d.isRegExp(t.delimiter)?t.delimiter:x.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:x.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:x.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:x.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:x.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:x.strictNullHandling}}(r);if(""===t||null==t)return e.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,r){var e,n={},o=(r.ignoreQueryPrefix?t.replace(/^?/,""):t).split(r.delimiter,Infinity===r.parameterLimit?void 0:r.parameterLimit),i=-1,u=r.charset;if(r.charsetSentinel)for(e=0;e<o.length;++e)0===o[e].indexOf("utf8=")&&("utf8=%E2%9C%93"===o[e]?u="utf-8":"utf8=%26%2310003%3B"===o[e]&&(u="iso-8859-1"),i=e,e=o.length);for(e=0;e-1&&(a=k(a)?[a]:a),n[f]=T.call(n,f)?d.combine(n[f],a):a}return n}(t,e):t,o=e.plainObjects?Object.create(null):{},i=Object.keys(n),u=0;u<i.length;++u){var f=i[u],a=A(f,n[f],e,"string"==typeof t);o=d.merge(o,a,e)}return d.compact(o)},$=/*#__PURE__*/function(){function t(t,r,e){var n,o;this.name=t,this.definition=r,this.bindings=null!=(n=r.bindings)?n:{},this.wheres=null!=(o=r.wheres)?o:{},this.config=e}var e=t.prototype;return e.matchesUrl=function(t){var r=this;if(!this.definition.methods.includes("GET"))return!1;var e=this.template.replace(/(/?){([^}?]*)(??)}/g,function(t,e,n,o){var i,u="(?”+((null==(i=r.wheres[n])?void 0:i.replace(/(^^)|($$)/g,””))||”[^/?]+”)+”)”;return o?”(“+e+u+”)?”:””+e+u}).replace(/^w+:///,””),n=t.replace(/^w+:///,””).split(“?”),o=n[0],i=n[1],u=new RegExp(“^”+e+”/?$”).exec(decodeURI(o));if(u){for(var f in u.groups)u.groups[f]=”string”==typeof u.groups[f]?decodeURIComponent(u.groups[f]):u.groups[f];return{params:u.groups,query:D(i)}}return!1},e.compile=function(t){var r=this;return this.parameterSegments.length?this.template.replace(/{([^}?]+)(??)}/g,function(e,n,o){var i,u;if(!o&&[null,void 0].includes(t[n]))throw new Error(“Ziggy error: ‘”+n+”‘ parameter is required for route ‘”+r.name+”‘.”);if(r.wheres[n]&&!new RegExp(“^”+(o?”(“+r.wheres[n]+”)?”:r.wheres[n])+”$”).test(null!=(u=t[n])?u:””))throw new Error(“Ziggy error: ‘”+n+”‘ parameter does not match required format ‘”+r.wheres[n]+”‘ for route ‘”+r.name+”‘.”);return encodeURI(null!=(i=t[n])?i:””).replace(/%7C/g,”|”).replace(/%25/g,”%”).replace(/$/g,”%24″)}).replace(this.origin+”//”,this.origin+”/”).replace(//+$/,””):this.template},r(t,[{key:”template”,get:function(){var t=(this.origin+”/”+this.definition.uri).replace(//+$/,””);return””===t?”/”:t}},{key:”origin”,get:function(){return this.config.absolute?this.definition.domain?””+this.config.url.match(/^w+:///)[0]+this.definition.domain+(this.config.port?”:”+this.config.port:””):this.config.url:””}},{key:”parameterSegments”,get:function(){var t,r;return null!=(t=null==(r=this.template.match(/{[^}?]+??}/g))?void 0:r.map(function(t){return{name:t.replace(/{|??}/g,””),required:!/?}$/.test(t)}}))?t:[]}}]),t}(),F=/*#__PURE__*/function(t){var n,i;function u(r,n,o,i){var u;if(void 0===o&&(o=!0),(u=t.call(this)||this).t=null!=i?i:”undefined”!=typeof Ziggy?Ziggy:null==globalThis?void 0:globalThis.Ziggy,u.t=e({},u.t,{absolute:o}),r){if(!u.t.routes[r])throw new Error(“Ziggy error: route ‘”+r+”‘ is not in the route list.”);u.i=new $(r,u.t.routes[r],u.t),u.u=u.l(n)}return u}i=t,(n=u).prototype=Object.create(i.prototype),n.prototype.constructor=n,o(n,i);var f=u.prototype;return f.toString=function(){var t=this,r=Object.keys(this.u).filter(function(r){return!t.i.parameterSegments.some(function(t){return t.name===r})}).filter(function(t){return”_query”!==t}).reduce(function(r,n){var o;return e({},r,((o={})[n]=t.u[n],o))},{});return this.i.compile(this.u)+function(t,r){var e,n=t,o=function(t){if(!t)return R;if(null!=t.encoder&&”function”!=typeof t.encoder)throw new TypeError(“Encoder has to be a function.”);var r=t.charset||R.charset;if(void 0!==t.charset&&”utf-8″!==t.charset&&”iso-8859-1″!==t.charset)throw new TypeError(“The charset option must be either utf-8, iso-8859-1, or undefined”);var e=l.default;if(void 0!==t.format){if(!b.call(l.formatters,t.format))throw new TypeError(“Unknown format option provided.”);e=t.format}var n=l.formatters[e],o=R.filter;return(“function”==typeof t.filter||g(t.filter))&&(o=t.filter),{addQueryPrefix:”boolean”==typeof t.addQueryPrefix?t.addQueryPrefix:R.addQueryPrefix,allowDots:void 0===t.allowDots?R.allowDots:!!t.allowDots,charset:r,charsetSentinel:”boolean”==typeof t.charsetSentinel?t.charsetSentinel:R.charsetSentinel,delimiter:void 0===t.delimiter?R.delimiter:t.delimiter,encode:”boolean”==typeof t.encode?t.encode:R.encode,encoder:”function”==typeof t.encoder?t.encoder:R.encoder,encodeValuesOnly:”boolean”==typeof t.encodeValuesOnly?t.encodeValuesOnly:R.encodeValuesOnly,filter:o,format:e,formatter:n,serializeDate:”function”==typeof t.serializeDate?t.serializeDate:R.serializeDate,skipNulls:”boolean”==typeof t.skipNulls?t.skipNulls:R.skipNulls,sort:”function”==typeof t.sort?t.sort:null,strictNullHandling:”boolean”==typeof t.strictNullHandling?t.strictNullHandling:R.strictNullHandling}}(r);”function”==typeof o.filter?n=(0,o.filter)(“”,n):g(o.filter)&&(e=o.filter);var i=[];if(“object”!=typeof n||null===n)return””;var u=h[r&&r.arrayFormat in h?r.arrayFormat:r&&”indices”in r?r.indices?”indices”:”repeat”:”indices”];e||(e=Object.keys(n)),o.sort&&e.sort(o.sort);for(var f=0;f0?s+c:””}(e({},r,this.u._query),{addQueryPrefix:!0,arrayFormat:”indices”,encodeValuesOnly:!0,skipNulls:!0,encoder:function(t,r){return”boolean”==typeof t?Number(t):r(t)}})},f.v=function(t){var r=this;t?this.t.absolute&&t.startsWith(“/”)&&(t=this.p().host+t):t=this.h();var n={},o=Object.entries(this.t.routes).find(function(e){return n=new $(e[0],e[1],r.t).matchesUrl(t)})||[void 0,void 0];return e({name:o[0]},n,{route:o[1]})},f.h=function(){var t=this.p(),r=t.pathname,e=t.search;return(this.t.absolute?t.host+r:r.replace(this.t.url.replace(/^w*://[^/]+/,””),””).replace(/^/+/,”/”))+e},f.current=function(t,r){var n=this.v(),o=n.name,i=n.params,u=n.query,f=n.route;if(!t)return o;var a=new RegExp(“^”+t.replace(/./g,”\.”).replace(/*/g,”.*”)+”$”).test(o);if([null,void 0].includes(r)||!a)return a;var c=new $(o,f,this.t);r=this.l(r,c);var l=e({},i,u);return!(!Object.values(r).every(function(t){return!t})||Object.values(l).some(function(t){return void 0!==t}))||function t(r,e){return Object.entries(r).every(function(r){var n=r[0],o=r[1];return Array.isArray(o)&&Array.isArray(e[n])?o.every(function(t){return e[n].includes(t)}):”object”==typeof o&&”object”==typeof e[n]&&null!==o&&null!==e[n]?t(o,e[n]):e[n]==o})}(r,l)},f.p=function(){var t,r,e,n,o,i,u=”undefined”!=typeof window?window.location:{},f=u.host,a=u.pathname,c=u.search;return{host:null!=(t=null==(r=this.t.location)?void 0:r.host)?t:void 0===f?””:f,pathname:null!=(e=null==(n=this.t.location)?void 0:n.pathname)?e:void 0===a?””:a,search:null!=(o=null==(i=this.t.location)?void 0:i.search)?o:void 0===c?””:c}},f.has=function(t){return Object.keys(this.t.routes).includes(t)},f.l=function(t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r=this.i),null!=t||(t={}),t=[“string”,”number”].includes(typeof t)?[t]:t;var o=r.parameterSegments.filter(function(t){return!n.t.defaults[t.name]});if(Array.isArray(t))t=t.reduce(function(t,r,n){var i,u;return e({},t,o[n]?((i={})[o[n].name]=r,i):”object”==typeof r?r:((u={})[r]=””,u))},{});else if(1===o.length&&!t[o[0].name]&&(t.hasOwnProperty(Object.values(r.bindings)[0])||t.hasOwnProperty(“id”))){var i;(i={})[o[0].name]=t,t=i}return e({},this.g(r),this.m(t,r))},f.g=function(t){var r=this;return t.parameterSegments.filter(function(t){return r.t.defaults[t.name]}).reduce(function(t,n,o){var i,u=n.name;return e({},t,((i={})[u]=r.t.defaults[u],i))},{})},f.m=function(t,r){var n=r.bindings,o=r.parameterSegments;return Object.entries(t).reduce(function(t,r){var i,u,f=r[0],a=r[1];if(!a||”object”!=typeof a||Array.isArray(a)||!o.some(function(t){return t.name===f}))return e({},t,((u={})[f]=a,u));if(!a.hasOwnProperty(n[f])){if(!a.hasOwnProperty(“id”))throw new Error(“Ziggy error: object passed as ‘”+f+”‘ parameter is missing route model binding key ‘”+n[f]+”‘.”);n[f]=”id”}return e({},t,((i={})[f]=a[n[f]],i))},{})},f.valueOf=function(){return this.toString()},f.check=function(t){return this.has(t)},r(u,[{key:”params”,get:function(){var t=this.v();return e({},t.params,t.query)}}]),u}(/*#__PURE__*/u(String));return function(t,r,e,n){var o=new F(t,r,e,n);return t?o.toString():o}});


