@dub/utils 0.1.24 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-22GK34ZV.mjs +1 -0
- package/dist/chunk-2H44AXR6.mjs +1 -0
- package/dist/chunk-2XIIZ5VV.mjs +1 -0
- package/dist/chunk-3IAE6KA6.mjs +1 -0
- package/dist/chunk-3KUHZD7Q.mjs +1 -0
- package/dist/chunk-3Q25XO3O.mjs +1 -0
- package/dist/chunk-4H7OP6TY.mjs +1 -0
- package/dist/chunk-4KPCHJPJ.mjs +1 -0
- package/dist/chunk-4N5MA2RU.mjs +1 -0
- package/dist/chunk-4UTXL4I5.mjs +1 -0
- package/dist/chunk-6U2XQRAL.mjs +1 -0
- package/dist/chunk-A7BV2QEJ.mjs +1 -0
- package/dist/chunk-AIE6OQ3Y.mjs +1 -0
- package/dist/chunk-B5RDJTTU.mjs +1 -0
- package/dist/chunk-BHLGVAFP.mjs +1 -0
- package/dist/chunk-BJNY77CS.mjs +1 -0
- package/dist/chunk-BNNTDKJK.mjs +1 -0
- package/dist/chunk-C4IEMCX4.mjs +1 -0
- package/dist/chunk-CB4VDVGB.mjs +1 -0
- package/dist/chunk-CDGJUAIT.mjs +1 -0
- package/dist/chunk-CMZ4WIQE.mjs +1 -0
- package/dist/chunk-DMNOUQYM.mjs +1 -0
- package/dist/chunk-EE7LCCIQ.mjs +1 -0
- package/dist/chunk-EULFAGTW.mjs +1 -0
- package/dist/chunk-F2JEBY66.mjs +1 -0
- package/dist/chunk-FK33Q5UL.mjs +1 -0
- package/dist/chunk-GKLDFUEN.mjs +1 -0
- package/dist/chunk-GSENUCFY.mjs +1 -0
- package/dist/chunk-H4ELSETA.mjs +1 -0
- package/dist/chunk-HHGB6SK3.mjs +1 -0
- package/dist/chunk-HTBJJ35Z.mjs +1 -0
- package/dist/chunk-IKNUIGGF.mjs +1 -0
- package/dist/chunk-IWZOM2TM.mjs +1 -0
- package/dist/chunk-JDHSRE42.mjs +1 -0
- package/dist/chunk-JP3D33TB.mjs +1 -0
- package/dist/chunk-JUGYB7Q5.mjs +1 -0
- package/dist/chunk-KF2PHMDW.mjs +1 -0
- package/dist/chunk-LL43XM75.mjs +1 -0
- package/dist/chunk-LVPFXNQZ.mjs +1 -0
- package/dist/chunk-MFEXQ2CL.mjs +1 -0
- package/dist/chunk-MXVSW5LA.mjs +1 -0
- package/dist/chunk-NBHXSY6E.mjs +1 -0
- package/dist/chunk-NHWLFUV6.mjs +1 -0
- package/dist/chunk-NPXKHHLD.mjs +1 -0
- package/dist/chunk-NW4N7ECX.mjs +1 -0
- package/dist/chunk-O55JYOKO.mjs +1 -0
- package/dist/chunk-ONJFQW7Q.mjs +1 -0
- package/dist/chunk-OTQRCUL4.mjs +1 -0
- package/dist/chunk-OUYHR7XG.mjs +1 -0
- package/dist/chunk-P3GENSWQ.mjs +1 -0
- package/dist/chunk-PPYJZ63G.mjs +1 -0
- package/dist/chunk-PV3O3QU7.mjs +1 -0
- package/dist/chunk-PYD75RYX.mjs +1 -0
- package/dist/chunk-QQHB6G47.mjs +1 -0
- package/dist/chunk-R4T3HHG5.mjs +1 -0
- package/dist/chunk-R6PF76CP.mjs +1 -0
- package/dist/chunk-REYZJSJQ.mjs +1 -0
- package/dist/chunk-UNPS277H.mjs +1 -0
- package/dist/chunk-US66VONG.mjs +1 -0
- package/dist/chunk-W3YT7DLV.mjs +1 -0
- package/dist/chunk-WCTGNBOD.mjs +1 -0
- package/dist/chunk-XHNDO6XI.mjs +1 -0
- package/dist/chunk-Y3TXLT4H.mjs +1 -0
- package/dist/chunk-YF3L7MQ5.mjs +1 -0
- package/dist/chunk-YS4BZWBM.mjs +1 -0
- package/dist/chunk-ZVDM6NMA.mjs +1 -0
- package/dist/constants/dub-domains.mjs +1 -1
- package/dist/constants/index.d.ts +4 -3
- package/dist/constants/index.mjs +1 -1
- package/dist/constants/layout.mjs +1 -1
- package/dist/constants/links.d.ts +8 -0
- package/dist/constants/links.mjs +1 -0
- package/dist/constants/main.d.ts +3 -3
- package/dist/constants/main.mjs +1 -1
- package/dist/constants/misc.d.ts +3 -3
- package/dist/constants/misc.mjs +1 -1
- package/dist/constants/reserved-keys.d.ts +8 -0
- package/dist/constants/reserved-keys.mjs +1 -0
- package/dist/constants/reserved-slugs.d.ts +8 -0
- package/dist/constants/reserved-slugs.mjs +1 -0
- package/dist/format-datetime-smart-cc6b9bfd.d.ts +3 -0
- package/dist/functions/construct-metadata.mjs +1 -1
- package/dist/functions/datetime/format-datetime-smart.d.ts +3 -0
- package/dist/functions/datetime/format-datetime-smart.mjs +1 -0
- package/dist/functions/datetime/format-period.mjs +1 -1
- package/dist/functions/datetime/index.d.ts +1 -0
- package/dist/functions/datetime/index.mjs +1 -1
- package/dist/functions/domains.mjs +1 -1
- package/dist/functions/index.d.ts +3 -1
- package/dist/functions/index.mjs +1 -1
- package/dist/functions/link-constructor.mjs +1 -1
- package/dist/functions/regex-escape.d.ts +7 -0
- package/dist/functions/regex-escape.mjs +1 -0
- package/dist/functions/urls.d.ts +2 -1
- package/dist/functions/urls.mjs +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.mjs +1 -1
- package/dist/plan-compare-8d7e31ce.d.ts +932 -0
- package/dist/plan-compare-a546903b.d.ts +925 -0
- package/dist/plan-features-1fd22ab5.d.ts +1151 -0
- package/dist/plan-features-a7b84275.d.ts +1103 -0
- package/dist/plan-features-c4b13b90.d.ts +1103 -0
- package/dist/plan-features-e3107344.d.ts +925 -0
- package/dist/regex-escape-9a3a3026.d.ts +7 -0
- package/dist/reserved-keys-728aa446.d.ts +932 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-XHNDO6XI.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],p=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,E=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,A=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||p,J=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,w=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{k as a,o as b,p as c,u as d,b as e,y as f,f as g,P as h,E as i,A as j,L as k,J as l,w as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-Q4LGL37L.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var b=[{category:"Links",href:"https://dub.co/home",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/help/article/dub-partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"7%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/help/article/dub-partners#white-labeled-in-app-dashboard"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Branded email domains"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api)+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/help",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",tagline:"For hobbyists and individuals looking to manage their links",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",tagline:"For content creators or small teams needing advanced features",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R7f9IAlJJEpqkPV4G9fNwRM","price_1R7f9RAlJJEpqkPV1HgB84WS"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders"},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",tagline:"For fast-growing startups and businesses looking to scale",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:3e3,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"payouts",text:"1-click global payouts",tooltip:{title:"Send payouts to 180+ countries in 1-click.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}},{id:"tests",text:"A/B testing"}]},{name:"Advanced",tagline:"For hyperscalers needing higher usage quotas",link:"https://dub.co/help/article/advanced-plan",price:{monthly:300,yearly:250,ids:["price_1R3j0QAlJJEpqkPVrTW1Ss2i","price_1R3j0qAlJJEpqkPVkfGNXRwb"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"roles",text:"Folders RBAC"},{id:"whitelabel",text:"White-labeling support"},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"email",text:"Branded email domains"},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",tagline:"For large organizations and governments with custom needs",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"},featureTitle:"Everything in Advanced, plus:",features:[{id:"sso",text:"SSO/SAML"},{id:"roles",text:"Role-based controls"},{id:"volume",text:"Volume discounts"},{id:"sla",text:"Custom SLA"},{id:"logs",text:"Audit logs"},{id:"success",text:"Dedicated success manager"}]}],d=o.find(e=>e.name==="Free"),p=o.find(e=>e.name==="Pro"),f=o.find(e=>e.name==="Business"),h=o.find(e=>e.name==="Advanced"),m=o.find(e=>e.name==="Enterprise"),E=[d,p,f,h,m],k=o.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),L=2,A=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,v=e=>k.find(s=>s.name.toLowerCase()===e.toLowerCase()),w=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,_=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:p,J=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),u=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>u};export{b as a,o as b,d as c,p as d,f as e,h as f,m as g,E as h,k as i,L as j,A as k,v as l,w as m,_ as n,J as o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-TOPVR7JX.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import{a as o,b as l}from"./chunk-SYT2IXG6.mjs";import{a as c}from"./chunk-NW4N7ECX.mjs";import u from"@sindresorhus/slugify";var f=t=>{let e=u(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,s)=>i.length<s.length?i:s)}.link`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),A=new RegExp(/^[a-zA-Z0-9\-]+$/),D=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),x=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";let n=e.split(".");return n.length>2?o.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},d=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>c.some(e=>e.slug===t);export{f as a,w as b,A as c,D as d,x as e,d as f,S as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-HHGB6SK3.mjs";import"../chunk-BJNY77CS.mjs";export{c as DUB_DEMO_LINKS,a as DUB_DOMAINS,b as DUB_DOMAINS_ARRAY};
|
|
@@ -9,10 +9,11 @@ export { FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, TAB_ITEM_ANIM
|
|
|
9
9
|
export { SEGMENT_INTEGRATION_ID, SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID, ZAPIER_INTEGRATION_ID } from './integrations.js';
|
|
10
10
|
export { ALL_TOOLS } from './layout.js';
|
|
11
11
|
export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './localhost.js';
|
|
12
|
-
export { ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID,
|
|
12
|
+
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './main.js';
|
|
13
13
|
export { DEFAULT_REDIRECTS, DUB_HEADERS, REDIRECTION_QUERY_PARAM } from './middleware.js';
|
|
14
|
-
export { DEFAULT_LINK_PROPS,
|
|
15
|
-
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN,
|
|
14
|
+
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT, THE_BEGINNING_OF_TIME, TWO_WEEKS_IN_SECONDS } from './misc.js';
|
|
15
|
+
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan } from '../plan-compare-a546903b.js';
|
|
16
16
|
export { REGIONS, REGION_CODES } from './regions.js';
|
|
17
|
+
export { RESERVED_SLUGS } from './reserved-slugs.js';
|
|
17
18
|
export { SAML_PROVIDERS } from './saml.js';
|
|
18
19
|
import 'react';
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as ba,b as ca,c as da,d as ea,e as fa,f as ga,g as ha,h as ia,i as ja,j as ka,k as la,l as ma,m as na
|
|
1
|
+
import{a as ba,b as ca,c as da,d as ea,e as fa,f as ga,g as ha,h as ia,i as ja,j as ka,k as la,l as ma,m as na}from"../chunk-C4IEMCX4.mjs";import"../chunk-NWFCCRLG.mjs";import{a as oa,b as pa}from"../chunk-KQ4NF54J.mjs";import{a as qa}from"../chunk-B5RDJTTU.mjs";import{a as ra}from"../chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"../chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"../chunk-YICE6QF7.mjs";import{a as Q}from"../chunk-PYD75RYX.mjs";import{a as R,b as S}from"../chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"../chunk-NZI3GX7M.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"../chunk-QQHB6G47.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-JO76EBDG.mjs";import{a as c,b as d}from"../chunk-MH5LZNIE.mjs";import{a as e,b as f,c as g}from"../chunk-6YGW3G46.mjs";import{a as h}from"../chunk-CELI6EJU.mjs";import{a as i,b as j}from"../chunk-SYT2IXG6.mjs";import{a as F,b as G,c as H}from"../chunk-HHGB6SK3.mjs";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as r,i as s,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as B,s as C,t as D,u as E}from"../chunk-BJNY77CS.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ga as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,fa as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,e as COUNTRIES,f as COUNTRY_CODES,h as COUNTRY_PHONE_CODES,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U as DUB_HEADERS,v as DUB_LOGO,w as DUB_QR_LOGO,y as DUB_THUMBNAIL,x as DUB_WORDMARK,z as DUB_WORKSPACE_ID,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,da as FREE_PLAN,ia as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,ca as PLANS,ba as PLAN_COMPARE_FEATURES,ea as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,oa as REGIONS,pa as REGION_CODES,qa as RESERVED_SLUGS,ra as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ha as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,O as ZAPIER_INTEGRATION_ID,a as ccTLDs,la as getCurrentPlan,ma as getNextPlan,ka as getPlanDetails,ja as getPlanFromPriceId,na as isDowngradePlan};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-PYD75RYX.mjs";export{a as ALL_TOOLS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-3IAE6KA6.mjs";export{a as RESERVED_KEYS};
|
package/dist/constants/main.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare const APP_NAME: string;
|
|
2
2
|
declare const SHORT_DOMAIN: string;
|
|
3
|
-
declare const HOME_DOMAIN: string;
|
|
4
3
|
declare const APP_HOSTNAMES: Set<string>;
|
|
5
4
|
declare const APP_DOMAIN: string;
|
|
6
5
|
declare const APP_DOMAIN_WITH_NGROK: string;
|
|
@@ -16,8 +15,9 @@ declare const DUB_WORDMARK = "https://assets.dub.co/wordmark.png";
|
|
|
16
15
|
declare const DUB_THUMBNAIL = "https://assets.dub.co/thumbnail.jpg";
|
|
17
16
|
declare const DUB_WORKSPACE_ID = "cl7pj5kq4006835rbjlt2ofka";
|
|
18
17
|
declare const ACME_WORKSPACE_ID = "clrei1gld0002vs9mzn93p8ik";
|
|
18
|
+
declare const ACME_PROGRAM_ID = "prog_CYCu7IMAapjkRpTnr8F1azjN";
|
|
19
19
|
declare const LEGAL_WORKSPACE_ID = "clrflia0j0000vs7sqfhz9c7q";
|
|
20
20
|
declare const LEGAL_USER_ID = "clqei1lgc0000vsnzi01pbf47";
|
|
21
|
-
declare const R2_URL
|
|
21
|
+
declare const R2_URL = "https://dubassets.com";
|
|
22
22
|
|
|
23
|
-
export { ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID,
|
|
23
|
+
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN };
|
package/dist/constants/main.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../chunk-BJNY77CS.mjs";export{r as ACME_PROGRAM_ID,q as ACME_WORKSPACE_ID,h as ADMIN_HOSTNAMES,g as API_DOMAIN,f as API_HOSTNAMES,d as APP_DOMAIN,e as APP_DOMAIN_WITH_NGROK,c as APP_HOSTNAMES,a as APP_NAME,l as DUB_LOGO,m as DUB_QR_LOGO,o as DUB_THUMBNAIL,n as DUB_WORDMARK,p as DUB_WORKSPACE_ID,t as LEGAL_USER_ID,s as LEGAL_WORKSPACE_ID,j as PARTNERS_DOMAIN,k as PARTNERS_DOMAIN_WITH_NGROK,i as PARTNERS_HOSTNAMES,u as R2_URL,b as SHORT_DOMAIN};
|
package/dist/constants/misc.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const DEFAULT_LINK_PROPS: any;
|
|
2
2
|
declare const GOOGLE_FAVICON_URL = "https://www.google.com/s2/favicons?sz=64&domain_url=";
|
|
3
|
-
declare const
|
|
3
|
+
declare const OG_AVATAR_URL = "https://api.dub.co/og/avatar?seed=";
|
|
4
4
|
declare const PAGINATION_LIMIT = 100;
|
|
5
5
|
declare const TWO_WEEKS_IN_SECONDS: number;
|
|
6
|
-
declare const
|
|
6
|
+
declare const THE_BEGINNING_OF_TIME: Date;
|
|
7
7
|
declare const INFINITY_NUMBER = 1000000000;
|
|
8
8
|
|
|
9
|
-
export { DEFAULT_LINK_PROPS,
|
|
9
|
+
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT, THE_BEGINNING_OF_TIME, TWO_WEEKS_IN_SECONDS };
|
package/dist/constants/misc.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../chunk-QQHB6G47.mjs";export{a as DEFAULT_LINK_PROPS,b as GOOGLE_FAVICON_URL,g as INFINITY_NUMBER,c as OG_AVATAR_URL,d as PAGINATION_LIMIT,f as THE_BEGINNING_OF_TIME,e as TWO_WEEKS_IN_SECONDS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-US66VONG.mjs";export{a as RESERVED_KEYS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-B5RDJTTU.mjs";export{a as RESERVED_SLUGS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-HTBJJ35Z.mjs";export{a as constructMetadata};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunk-NBHXSY6E.mjs";export{a as formatDateTimeSmart};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-6U2XQRAL.mjs";import"../../chunk-53SZZ2QK.mjs";import"../../chunk-UWXN5NEH.mjs";import"../../chunk-MP5IS4V2.mjs";import"../../chunk-HR4YFT2T.mjs";import"../../chunk-AQPTJK67.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import"../../chunk-KIDNKMJ2.mjs";import"../../chunk-CP4WO7MM.mjs";import"../../chunk-NBHXSY6E.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-FKLXONKR.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-GGIZK3EO.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-HTBJJ35Z.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-OTQRCUL4.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-QR4M7ZRI.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-C4IEMCX4.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B5RDJTTU.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-NZI3GX7M.mjs";import"../../chunk-QQHB6G47.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-MH5LZNIE.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-HHGB6SK3.mjs";import"../../chunk-BJNY77CS.mjs";export{a as formatPeriod};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { getAdjustedBillingCycleStart, getBillingStartDate, getLastDayOfMonth } from './billing-utils.js';
|
|
2
2
|
export { formatDate } from './format-date.js';
|
|
3
3
|
export { formatDateTime } from './format-datetime.js';
|
|
4
|
+
export { formatDateTimeSmart } from './format-datetime-smart.js';
|
|
4
5
|
export { formatPeriod } from './format-period.js';
|
|
5
6
|
export { getDateTimeLocal } from './get-datetime-local.js';
|
|
6
7
|
export { getDaysDifference } from './get-days-difference.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as g}from"../../chunk-6U2XQRAL.mjs";import{a as e}from"../../chunk-53SZZ2QK.mjs";import{a as h}from"../../chunk-UWXN5NEH.mjs";import{a as i}from"../../chunk-MP5IS4V2.mjs";import{a as j}from"../../chunk-HR4YFT2T.mjs";import{a as k}from"../../chunk-AQPTJK67.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import{a,b,c}from"../../chunk-KIDNKMJ2.mjs";import{a as d}from"../../chunk-CP4WO7MM.mjs";import{a as f}from"../../chunk-NBHXSY6E.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-FKLXONKR.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-GGIZK3EO.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-HTBJJ35Z.mjs";import"../../chunk-J7REM3DA.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-OTQRCUL4.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-QR4M7ZRI.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-C4IEMCX4.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B5RDJTTU.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-NZI3GX7M.mjs";import"../../chunk-QQHB6G47.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-MH5LZNIE.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-HHGB6SK3.mjs";import"../../chunk-BJNY77CS.mjs";export{d as formatDate,e as formatDateTime,f as formatDateTimeSmart,g as formatPeriod,b as getAdjustedBillingCycleStart,c as getBillingStartDate,h as getDateTimeLocal,i as getDaysDifference,j as getFirstAndLastDay,a as getLastDayOfMonth,k as parseDateTime};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../chunk-OTQRCUL4.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-C4IEMCX4.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-HHGB6SK3.mjs";import"../chunk-BJNY77CS.mjs";export{a as generateDomainFromName,e as getApexDomain,f as getDomainWithoutWWW,d as getSubdomain,g as isDubDomain,b as validDomainRegex,c as validSlugRegex};
|
|
@@ -8,6 +8,7 @@ export { currencyFormatter } from './currency-formatter.js';
|
|
|
8
8
|
export { getAdjustedBillingCycleStart, getBillingStartDate, getLastDayOfMonth } from './datetime/billing-utils.js';
|
|
9
9
|
export { formatDate } from './datetime/format-date.js';
|
|
10
10
|
export { formatDateTime } from './datetime/format-datetime.js';
|
|
11
|
+
export { formatDateTimeSmart } from './datetime/format-datetime-smart.js';
|
|
11
12
|
export { formatPeriod } from './datetime/format-period.js';
|
|
12
13
|
export { getDateTimeLocal } from './datetime/get-datetime-local.js';
|
|
13
14
|
export { getDaysDifference } from './datetime/get-days-difference.js';
|
|
@@ -31,13 +32,14 @@ export { normalizeString } from './normalize-string.js';
|
|
|
31
32
|
export { pluralize } from './pluralize.js';
|
|
32
33
|
export { punyEncode, punycode } from './punycode.js';
|
|
33
34
|
export { randomValue } from './random-value.js';
|
|
35
|
+
export { regexEscape } from './regex-escape.js';
|
|
34
36
|
export { resizeImage } from './resize-image.js';
|
|
35
37
|
export { smartTruncate } from './smart-truncate.js';
|
|
36
38
|
export { stableSort } from './stable-sort.js';
|
|
37
39
|
export { timeAgo } from './time-ago.js';
|
|
38
40
|
export { trim } from './trim.js';
|
|
39
41
|
export { truncate } from './truncate.js';
|
|
40
|
-
export { UTMTags, constructURLFromUTMParams, createHref, getParamsFromURL, getPrettyUrl, getSearchParams, getSearchParamsWithArray, getUrlFromString, getUrlFromStringIfValid, getUrlWithoutUTMParams, isValidUrl, paramsMetadata } from './urls.js';
|
|
42
|
+
export { UTMTags, constructURLFromUTMParams, createHref, getParamsFromURL, getPrettyUrl, getSearchParams, getSearchParamsWithArray, getUrlFromString, getUrlFromStringIfValid, getUrlObjFromString, getUrlWithoutUTMParams, isValidUrl, paramsMetadata } from './urls.js';
|
|
41
43
|
import 'clsx';
|
|
42
44
|
import 'next';
|
|
43
45
|
import 'react';
|
package/dist/functions/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as o,b as Y,c as Z}from"../chunk-6U2XQRAL.mjs";import{a as m}from"../chunk-53SZZ2QK.mjs";import{a as p}from"../chunk-UWXN5NEH.mjs";import{a as q}from"../chunk-MP5IS4V2.mjs";import{a as r}from"../chunk-HR4YFT2T.mjs";import{a as s}from"../chunk-AQPTJK67.mjs";import{a as ja}from"../chunk-NQP6WK7A.mjs";import{a as ka}from"../chunk-MPU6JRPV.mjs";import{a as la}from"../chunk-E3EM6ARH.mjs";import{a as i,b as j,c as k}from"../chunk-KIDNKMJ2.mjs";import{a as l}from"../chunk-CP4WO7MM.mjs";import{a as n}from"../chunk-NBHXSY6E.mjs";import{a as aa}from"../chunk-GRNEXX4Q.mjs";import{a as ba}from"../chunk-EHUYHMHD.mjs";import{a as ca,b as da}from"../chunk-IHX4EDUF.mjs";import{a as ea}from"../chunk-RONJDARA.mjs";import{a as fa}from"../chunk-3Q25XO3O.mjs";import{a as ga}from"../chunk-Y37NQHZ4.mjs";import{a as ia}from"../chunk-PPEZOXLP.mjs";import{a as ha}from"../chunk-FKLXONKR.mjs";import{a as S}from"../chunk-F4P6WJV7.mjs";import{a as T}from"../chunk-JKFE3UP3.mjs";import{a as U}from"../chunk-NZ4UYKAT.mjs";import{a as V,b as W,c as X}from"../chunk-WKSJXYEU.mjs";import{a as _}from"../chunk-GGIZK3EO.mjs";import{a as $}from"../chunk-OWYWG4M6.mjs";import{a as g}from"../chunk-HTBJJ35Z.mjs";import{a as h}from"../chunk-J7REM3DA.mjs";import{a as t}from"../chunk-ZECUYKGD.mjs";import{a as H,b as I,c as J,d as K,e as L,f as M,g as N}from"../chunk-OTQRCUL4.mjs";import{a as u,b as v,c as w,d as x,e as y,f as z,g as A,h as B,i as C,j as D,k as E,l as F,m as G}from"../chunk-H4ELSETA.mjs";import{a as O}from"../chunk-EMO4MGOU.mjs";import{a as P}from"../chunk-QR4M7ZRI.mjs";import{a as Q}from"../chunk-ZTPDEOIY.mjs";import{a as R}from"../chunk-E5KCWRHJ.mjs";import{a as b}from"../chunk-ORB6LTBV.mjs";import{a as c}from"../chunk-PMOQSSOL.mjs";import{a as d}from"../chunk-2OJAP233.mjs";import{a as e}from"../chunk-NEIHTFSW.mjs";import{a as f}from"../chunk-HJD7AJT4.mjs";import"../chunk-C4IEMCX4.mjs";import{a}from"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-HHGB6SK3.mjs";import"../chunk-BJNY77CS.mjs";export{B as UTMTags,c as capitalize,d as chunk,e as cn,f as combineWords,g as constructMetadata,C as constructURLFromUTMParams,G as createHref,h as currencyFormatter,t as deepEqual,O as fetchWithTimeout,P as fetcher,l as formatDate,m as formatDateTime,n as formatDateTimeSmart,Q as formatFileSize,o as formatPeriod,H as generateDomainFromName,R as generateRandomString,j as getAdjustedBillingCycleStart,L as getApexDomain,k as getBillingStartDate,p as getDateTimeLocal,q as getDaysDifference,M as getDomainWithoutWWW,r as getFirstAndLastDay,i as getLastDayOfMonth,A as getParamsFromURL,F as getPrettyUrl,y as getSearchParams,z as getSearchParamsWithArray,K as getSubdomain,v as getUrlFromString,x as getUrlFromStringIfValid,w as getUrlObjFromString,E as getUrlWithoutUTMParams,S as hashStringSHA256,T as isClickOnInteractiveChild,N as isDubDomain,U as isIframeable,X as isReservedKeyGlobal,W as isUnsupportedKey,u as isValidUrl,Y as linkConstructor,Z as linkConstructorSimple,_ as log,a as nFormatter,$ as nanoid,aa as normalizeString,D as paramsMetadata,s as parseDateTime,ba as pluralize,da as punyEncode,ca as punycode,ea as randomValue,fa as regexEscape,ga as resizeImage,ia as smartTruncate,ja as stableSort,ka as timeAgo,b as toCamelCase,la as trim,ha as truncate,I as validDomainRegex,V as validKeyRegex,J as validSlugRegex};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,c as b}from"../chunk-
|
|
1
|
+
import{b as a,c as b}from"../chunk-6U2XQRAL.mjs";import"../chunk-53SZZ2QK.mjs";import"../chunk-UWXN5NEH.mjs";import"../chunk-MP5IS4V2.mjs";import"../chunk-HR4YFT2T.mjs";import"../chunk-AQPTJK67.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-KIDNKMJ2.mjs";import"../chunk-CP4WO7MM.mjs";import"../chunk-NBHXSY6E.mjs";import"../chunk-GRNEXX4Q.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-3Q25XO3O.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-JKFE3UP3.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-WKSJXYEU.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-HTBJJ35Z.mjs";import"../chunk-J7REM3DA.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-OTQRCUL4.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-QR4M7ZRI.mjs";import"../chunk-ZTPDEOIY.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-C4IEMCX4.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B5RDJTTU.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-NZI3GX7M.mjs";import"../chunk-QQHB6G47.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-MH5LZNIE.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-HHGB6SK3.mjs";import"../chunk-BJNY77CS.mjs";export{a as linkConstructor,b as linkConstructorSimple};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-3Q25XO3O.mjs";export{a as regexEscape};
|
package/dist/functions/urls.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const isValidUrl: (url: string) => boolean;
|
|
2
2
|
declare const getUrlFromString: (str: string) => string;
|
|
3
|
+
declare const getUrlObjFromString: (str: string) => URL | null;
|
|
3
4
|
declare const getUrlFromStringIfValid: (str: string) => string | null;
|
|
4
5
|
declare const getSearchParams: (url: string) => Record<string, string>;
|
|
5
6
|
declare const getSearchParamsWithArray: (url: string) => Record<string, string | string[]>;
|
|
@@ -15,4 +16,4 @@ declare const getUrlWithoutUTMParams: (url: string) => string;
|
|
|
15
16
|
declare const getPrettyUrl: (url?: string | null) => string;
|
|
16
17
|
declare const createHref: (href: string, domain: string, utmParams?: Partial<Record<(typeof UTMTags)[number], string>>) => string;
|
|
17
18
|
|
|
18
|
-
export { UTMTags, constructURLFromUTMParams, createHref, getParamsFromURL, getPrettyUrl, getSearchParams, getSearchParamsWithArray, getUrlFromString, getUrlFromStringIfValid, getUrlWithoutUTMParams, isValidUrl, paramsMetadata };
|
|
19
|
+
export { UTMTags, constructURLFromUTMParams, createHref, getParamsFromURL, getPrettyUrl, getSearchParams, getSearchParamsWithArray, getUrlFromString, getUrlFromStringIfValid, getUrlObjFromString, getUrlWithoutUTMParams, isValidUrl, paramsMetadata };
|
package/dist/functions/urls.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m}from"../chunk-H4ELSETA.mjs";export{h as UTMTags,i as constructURLFromUTMParams,m as createHref,g as getParamsFromURL,l as getPrettyUrl,e as getSearchParams,f as getSearchParamsWithArray,b as getUrlFromString,d as getUrlFromStringIfValid,c as getUrlObjFromString,k as getUrlWithoutUTMParams,a as isValidUrl,j as paramsMetadata};
|
package/dist/index.d.ts
CHANGED
|
@@ -9,11 +9,12 @@ export { FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, TAB_ITEM_ANIM
|
|
|
9
9
|
export { SEGMENT_INTEGRATION_ID, SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID, ZAPIER_INTEGRATION_ID } from './constants/integrations.js';
|
|
10
10
|
export { ALL_TOOLS } from './constants/layout.js';
|
|
11
11
|
export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './constants/localhost.js';
|
|
12
|
-
export { ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID,
|
|
12
|
+
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './constants/main.js';
|
|
13
13
|
export { DEFAULT_REDIRECTS, DUB_HEADERS, REDIRECTION_QUERY_PARAM } from './constants/middleware.js';
|
|
14
|
-
export { DEFAULT_LINK_PROPS,
|
|
15
|
-
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN,
|
|
14
|
+
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT, THE_BEGINNING_OF_TIME, TWO_WEEKS_IN_SECONDS } from './constants/misc.js';
|
|
15
|
+
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan } from './plan-compare-a546903b.js';
|
|
16
16
|
export { REGIONS, REGION_CODES } from './constants/regions.js';
|
|
17
|
+
export { RESERVED_SLUGS } from './constants/reserved-slugs.js';
|
|
17
18
|
export { SAML_PROVIDERS } from './constants/saml.js';
|
|
18
19
|
export { toCamelCase } from './functions/camel-case.js';
|
|
19
20
|
export { capitalize } from './functions/capitalize.js';
|
|
@@ -25,6 +26,7 @@ export { currencyFormatter } from './functions/currency-formatter.js';
|
|
|
25
26
|
export { getAdjustedBillingCycleStart, getBillingStartDate, getLastDayOfMonth } from './functions/datetime/billing-utils.js';
|
|
26
27
|
export { formatDate } from './functions/datetime/format-date.js';
|
|
27
28
|
export { formatDateTime } from './functions/datetime/format-datetime.js';
|
|
29
|
+
export { formatDateTimeSmart } from './functions/datetime/format-datetime-smart.js';
|
|
28
30
|
export { formatPeriod } from './functions/datetime/format-period.js';
|
|
29
31
|
export { getDateTimeLocal } from './functions/datetime/get-datetime-local.js';
|
|
30
32
|
export { getDaysDifference } from './functions/datetime/get-days-difference.js';
|
|
@@ -48,13 +50,14 @@ export { normalizeString } from './functions/normalize-string.js';
|
|
|
48
50
|
export { pluralize } from './functions/pluralize.js';
|
|
49
51
|
export { punyEncode, punycode } from './functions/punycode.js';
|
|
50
52
|
export { randomValue } from './functions/random-value.js';
|
|
53
|
+
export { regexEscape } from './functions/regex-escape.js';
|
|
51
54
|
export { resizeImage } from './functions/resize-image.js';
|
|
52
55
|
export { smartTruncate } from './functions/smart-truncate.js';
|
|
53
56
|
export { stableSort } from './functions/stable-sort.js';
|
|
54
57
|
export { timeAgo } from './functions/time-ago.js';
|
|
55
58
|
export { trim } from './functions/trim.js';
|
|
56
59
|
export { truncate } from './functions/truncate.js';
|
|
57
|
-
export { UTMTags, constructURLFromUTMParams, createHref, getParamsFromURL, getPrettyUrl, getSearchParams, getSearchParamsWithArray, getUrlFromString, getUrlFromStringIfValid, getUrlWithoutUTMParams, isValidUrl, paramsMetadata } from './functions/urls.js';
|
|
60
|
+
export { UTMTags, constructURLFromUTMParams, createHref, getParamsFromURL, getPrettyUrl, getSearchParams, getSearchParamsWithArray, getUrlFromString, getUrlFromStringIfValid, getUrlObjFromString, getUrlWithoutUTMParams, isValidUrl, paramsMetadata } from './functions/urls.js';
|
|
58
61
|
import 'react';
|
|
59
62
|
import 'clsx';
|
|
60
63
|
import 'next';
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Ga,b as
|
|
1
|
+
import{a as Ga,b as ob,c as pb}from"./chunk-6U2XQRAL.mjs";import{a as Ea}from"./chunk-53SZZ2QK.mjs";import{a as Ha}from"./chunk-UWXN5NEH.mjs";import{a as Ia}from"./chunk-MP5IS4V2.mjs";import{a as Ja}from"./chunk-HR4YFT2T.mjs";import{a as Ka}from"./chunk-AQPTJK67.mjs";import{a as Bb}from"./chunk-NQP6WK7A.mjs";import{a as Cb}from"./chunk-MPU6JRPV.mjs";import{a as Db}from"./chunk-E3EM6ARH.mjs";import{a as Aa,b as Ba,c as Ca}from"./chunk-KIDNKMJ2.mjs";import{a as Da}from"./chunk-CP4WO7MM.mjs";import{a as Fa}from"./chunk-NBHXSY6E.mjs";import{a as sb}from"./chunk-GRNEXX4Q.mjs";import{a as tb}from"./chunk-EHUYHMHD.mjs";import{a as ub,b as vb}from"./chunk-IHX4EDUF.mjs";import{a as wb}from"./chunk-RONJDARA.mjs";import{a as xb}from"./chunk-3Q25XO3O.mjs";import{a as yb}from"./chunk-Y37NQHZ4.mjs";import{a as Ab}from"./chunk-PPEZOXLP.mjs";import{a as zb}from"./chunk-FKLXONKR.mjs";import{a as ib}from"./chunk-F4P6WJV7.mjs";import{a as jb}from"./chunk-JKFE3UP3.mjs";import{a as kb}from"./chunk-NZ4UYKAT.mjs";import{a as lb,b as mb,c as nb}from"./chunk-WKSJXYEU.mjs";import{a as qb}from"./chunk-GGIZK3EO.mjs";import{a as rb}from"./chunk-OWYWG4M6.mjs";import{a as ya}from"./chunk-HTBJJ35Z.mjs";import{a as za}from"./chunk-J7REM3DA.mjs";import{a as La}from"./chunk-ZECUYKGD.mjs";import{a as Za,b as _a,c as $a,d as ab,e as bb,f as cb,g as db}from"./chunk-OTQRCUL4.mjs";import{a as Ma,b as Na,c as Oa,d as Pa,e as Qa,f as Ra,g as Sa,h as Ta,i as Ua,j as Va,k as Wa,l as Xa,m as Ya}from"./chunk-H4ELSETA.mjs";import{a as eb}from"./chunk-EMO4MGOU.mjs";import{a as fb}from"./chunk-QR4M7ZRI.mjs";import{a as gb}from"./chunk-ZTPDEOIY.mjs";import{a as hb}from"./chunk-E5KCWRHJ.mjs";import{a as ta}from"./chunk-ORB6LTBV.mjs";import{a as ua}from"./chunk-PMOQSSOL.mjs";import{a as va}from"./chunk-2OJAP233.mjs";import{a as wa}from"./chunk-NEIHTFSW.mjs";import{a as xa}from"./chunk-HJD7AJT4.mjs";import{a as ca,b as da,c as ea,d as fa,e as ga,f as ha,g as ia,h as ja,i as ka,j as la,k as ma,l as na,m as oa}from"./chunk-C4IEMCX4.mjs";import{a as ba}from"./chunk-NWFCCRLG.mjs";import{a as pa,b as qa}from"./chunk-KQ4NF54J.mjs";import{a as ra}from"./chunk-B5RDJTTU.mjs";import{a as sa}from"./chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"./chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"./chunk-YICE6QF7.mjs";import{a as Q}from"./chunk-PYD75RYX.mjs";import{a as R,b as S}from"./chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"./chunk-NZI3GX7M.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"./chunk-QQHB6G47.mjs";import{a}from"./chunk-YUMUNL66.mjs";import{a as b}from"./chunk-JO76EBDG.mjs";import{a as c,b as d}from"./chunk-MH5LZNIE.mjs";import{a as e,b as f,c as g}from"./chunk-6YGW3G46.mjs";import{a as h}from"./chunk-CELI6EJU.mjs";import{a as i,b as j}from"./chunk-SYT2IXG6.mjs";import{a as F,b as G,c as H}from"./chunk-HHGB6SK3.mjs";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as r,i as s,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as B,s as C,t as D,u as E}from"./chunk-BJNY77CS.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ha as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,ga as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,e as COUNTRIES,f as COUNTRY_CODES,h as COUNTRY_PHONE_CODES,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U as DUB_HEADERS,v as DUB_LOGO,w as DUB_QR_LOGO,y as DUB_THUMBNAIL,x as DUB_WORDMARK,z as DUB_WORKSPACE_ID,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,ea as FREE_PLAN,ja as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,da as PLANS,ca as PLAN_COMPARE_FEATURES,fa as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,pa as REGIONS,qa as REGION_CODES,ra as RESERVED_SLUGS,sa as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ia as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,Ta as UTMTags,O as ZAPIER_INTEGRATION_ID,ua as capitalize,a as ccTLDs,va as chunk,wa as cn,xa as combineWords,ya as constructMetadata,Ua as constructURLFromUTMParams,Ya as createHref,za as currencyFormatter,La as deepEqual,eb as fetchWithTimeout,fb as fetcher,Da as formatDate,Ea as formatDateTime,Fa as formatDateTimeSmart,gb as formatFileSize,Ga as formatPeriod,Za as generateDomainFromName,hb as generateRandomString,Ba as getAdjustedBillingCycleStart,bb as getApexDomain,Ca as getBillingStartDate,ma as getCurrentPlan,Ha as getDateTimeLocal,Ia as getDaysDifference,cb as getDomainWithoutWWW,Ja as getFirstAndLastDay,Aa as getLastDayOfMonth,na as getNextPlan,Sa as getParamsFromURL,la as getPlanDetails,ka as getPlanFromPriceId,Xa as getPrettyUrl,Qa as getSearchParams,Ra as getSearchParamsWithArray,ab as getSubdomain,Na as getUrlFromString,Pa as getUrlFromStringIfValid,Oa as getUrlObjFromString,Wa as getUrlWithoutUTMParams,ib as hashStringSHA256,jb as isClickOnInteractiveChild,oa as isDowngradePlan,db as isDubDomain,kb as isIframeable,nb as isReservedKeyGlobal,mb as isUnsupportedKey,Ma as isValidUrl,ob as linkConstructor,pb as linkConstructorSimple,qb as log,ba as nFormatter,rb as nanoid,sb as normalizeString,Va as paramsMetadata,Ka as parseDateTime,tb as pluralize,vb as punyEncode,ub as punycode,wb as randomValue,xb as regexEscape,yb as resizeImage,Ab as smartTruncate,Bb as stableSort,Cb as timeAgo,ta as toCamelCase,Db as trim,zb as truncate,_a as validDomainRegex,lb as validKeyRegex,$a as validSlugRegex};
|