denchclaw 2.0.12 → 2.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/apps/web/.next/standalone/apps/web/.next/BUILD_ID +1 -1
  2. package/apps/web/.next/standalone/apps/web/.next/app-build-manifest.json +161 -161
  3. package/apps/web/.next/standalone/apps/web/.next/app-path-routes-manifest.json +27 -27
  4. package/apps/web/.next/standalone/apps/web/.next/build-manifest.json +5 -5
  5. package/apps/web/.next/standalone/apps/web/.next/react-loadable-manifest.json +3 -3
  6. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  7. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
  8. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.rsc +3 -3
  9. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route_client-reference-manifest.js +1 -1
  10. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route.js +1 -1
  11. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
  12. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -1
  13. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +1 -1
  14. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route_client-reference-manifest.js +1 -1
  15. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/[jobId]/runs/route_client-reference-manifest.js +1 -1
  16. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/route_client-reference-manifest.js +1 -1
  17. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route.js +1 -1
  18. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route_client-reference-manifest.js +1 -1
  19. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/search-transcript/route_client-reference-manifest.js +1 -1
  20. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route.js +1 -1
  21. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route_client-reference-manifest.js +1 -1
  22. package/apps/web/.next/standalone/apps/web/.next/server/app/api/memories/route_client-reference-manifest.js +1 -1
  23. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/route_client-reference-manifest.js +1 -1
  24. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/switch/route_client-reference-manifest.js +1 -1
  25. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/[sessionId]/route_client-reference-manifest.js +1 -1
  26. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  27. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  28. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/messages/route_client-reference-manifest.js +1 -1
  29. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route.js +1 -1
  30. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route_client-reference-manifest.js +1 -1
  31. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route.js +1 -1
  32. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route_client-reference-manifest.js +1 -1
  33. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/assets/[...path]/route_client-reference-manifest.js +1 -1
  34. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse/route_client-reference-manifest.js +1 -1
  35. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse-file/route_client-reference-manifest.js +1 -1
  36. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/context/route_client-reference-manifest.js +1 -1
  37. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/copy/route_client-reference-manifest.js +1 -1
  38. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/introspect/route_client-reference-manifest.js +1 -1
  39. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/query/route_client-reference-manifest.js +1 -1
  40. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route_client-reference-manifest.js +1 -1
  41. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
  42. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route_client-reference-manifest.js +1 -1
  43. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/list/route_client-reference-manifest.js +1 -1
  44. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/mkdir/route_client-reference-manifest.js +1 -1
  45. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/move/route_client-reference-manifest.js +1 -1
  46. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/display-field/route_client-reference-manifest.js +1 -1
  47. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/route_client-reference-manifest.js +1 -1
  48. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/bulk-delete/route_client-reference-manifest.js +1 -1
  49. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/options/route_client-reference-manifest.js +1 -1
  50. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route_client-reference-manifest.js +1 -1
  51. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route_client-reference-manifest.js +1 -1
  52. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/route_client-reference-manifest.js +1 -1
  53. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/reorder/route_client-reference-manifest.js +1 -1
  54. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/route_client-reference-manifest.js +1 -1
  55. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/views/route_client-reference-manifest.js +1 -1
  56. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/open-file/route_client-reference-manifest.js +1 -1
  57. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/path-info/route_client-reference-manifest.js +1 -1
  58. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/query/route_client-reference-manifest.js +1 -1
  59. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/raw-file/route_client-reference-manifest.js +1 -1
  60. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/rename/route_client-reference-manifest.js +1 -1
  61. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route_client-reference-manifest.js +1 -1
  62. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/search-index/route_client-reference-manifest.js +1 -1
  63. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/suggest-files/route_client-reference-manifest.js +1 -1
  64. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route_client-reference-manifest.js +1 -1
  65. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/thumbnail/route_client-reference-manifest.js +1 -1
  66. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route_client-reference-manifest.js +1 -1
  67. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
  68. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/virtual-file/route_client-reference-manifest.js +1 -1
  69. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/watch/route_client-reference-manifest.js +1 -1
  70. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/write-binary/route_client-reference-manifest.js +1 -1
  71. package/apps/web/.next/standalone/apps/web/.next/server/app/index.html +1 -1
  72. package/apps/web/.next/standalone/apps/web/.next/server/app/index.rsc +4 -4
  73. package/apps/web/.next/standalone/apps/web/.next/server/app/page.js +16 -16
  74. package/apps/web/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  75. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page_client-reference-manifest.js +1 -1
  76. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.html +1 -1
  77. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.rsc +3 -3
  78. package/apps/web/.next/standalone/apps/web/.next/server/app-paths-manifest.json +27 -27
  79. package/apps/web/.next/standalone/apps/web/.next/server/functions-config-manifest.json +17 -17
  80. package/apps/web/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +1 -1
  81. package/apps/web/.next/standalone/apps/web/.next/server/middleware-react-loadable-manifest.js +1 -1
  82. package/apps/web/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
  83. package/apps/web/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
  84. package/apps/web/.next/standalone/apps/web/.next/static/chunks/5477.bdf89454d5f1081d.js +1 -0
  85. package/apps/web/.next/standalone/apps/web/.next/static/chunks/9363-abd98859f1624ed6.js +76 -0
  86. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/{layout-3421a7e89d2df0cf.js → layout-2559763bcfca8c5c.js} +1 -1
  87. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-e4d472d88226a36e.js +1 -0
  88. package/apps/web/.next/standalone/apps/web/.next/static/chunks/{webpack-38d8ef58f812737b.js → webpack-f4003099d25f0299.js} +1 -1
  89. package/apps/web/.next/standalone/apps/web/.next/static/css/5288243cecb17f30.css +1 -0
  90. package/apps/web/.next/standalone/package.json +1 -1
  91. package/apps/web/.next/static/chunks/5477.bdf89454d5f1081d.js +1 -0
  92. package/apps/web/.next/static/chunks/9363-abd98859f1624ed6.js +76 -0
  93. package/apps/web/.next/static/chunks/app/{layout-3421a7e89d2df0cf.js → layout-2559763bcfca8c5c.js} +1 -1
  94. package/apps/web/.next/static/chunks/app/page-e4d472d88226a36e.js +1 -0
  95. package/apps/web/.next/static/chunks/{webpack-38d8ef58f812737b.js → webpack-f4003099d25f0299.js} +1 -1
  96. package/apps/web/.next/static/css/5288243cecb17f30.css +1 -0
  97. package/dist/entry.js +1 -1
  98. package/dist/{program-DRoUqrZT.js → program-ldWRjf0S.js} +3 -111
  99. package/dist/{run-main-Boc4sBBw.js → run-main-wKlTXPyr.js} +1 -1
  100. package/extensions/posthog-analytics/index.ts +0 -6
  101. package/extensions/posthog-analytics/lib/event-mappers.ts +10 -9
  102. package/extensions/posthog-analytics/lib/posthog-client.ts +1 -20
  103. package/package.json +1 -1
  104. package/skills/crm/SKILL.md +2 -0
  105. package/apps/web/.next/standalone/apps/web/.next/static/chunks/4988-a31fb680255d2e53.js +0 -76
  106. package/apps/web/.next/standalone/apps/web/.next/static/chunks/5477.0aadfaf40dfed918.js +0 -1
  107. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-3338c9b22df8168f.js +0 -1
  108. package/apps/web/.next/standalone/apps/web/.next/static/css/1699045bdf479528.css +0 -1
  109. package/apps/web/.next/static/chunks/4988-a31fb680255d2e53.js +0 -76
  110. package/apps/web/.next/static/chunks/5477.0aadfaf40dfed918.js +0 -1
  111. package/apps/web/.next/static/chunks/app/page-3338c9b22df8168f.js +0 -1
  112. package/apps/web/.next/static/css/1699045bdf479528.css +0 -1
  113. /package/apps/web/.next/standalone/apps/web/.next/static/{HGcB62wfKlzGqlMKNm3_H → E9a0wSAFVWDl-iFsF9BhU}/_buildManifest.js +0 -0
  114. /package/apps/web/.next/standalone/apps/web/.next/static/{HGcB62wfKlzGqlMKNm3_H → E9a0wSAFVWDl-iFsF9BhU}/_ssgManifest.js +0 -0
  115. /package/apps/web/.next/static/{HGcB62wfKlzGqlMKNm3_H → E9a0wSAFVWDl-iFsF9BhU}/_buildManifest.js +0 -0
  116. /package/apps/web/.next/static/{HGcB62wfKlzGqlMKNm3_H → E9a0wSAFVWDl-iFsF9BhU}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{7975:(e,t,o)=>{"use strict";o.d(t,{PostHogProvider:()=>y});var n=o(80534),r=o(29341),i=o(74166),a=(0,i.createContext)({client:r.Ay,bootstrap:void 0});function s(e){var t,o,n=e.children,s=e.client,u=e.apiKey,c=e.options,l=(0,i.useRef)(null),p=(0,i.useMemo)(function(){return s?(u&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),c&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),s):(u||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),r.Ay)},[s,u,JSON.stringify(c)]);return(0,i.useEffect)(function(){if(!s){var e=l.current;e?(u!==e.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),c&&!function e(t,o,n){if(void 0===n&&(n=new WeakMap),t===o)return!0;if("object"!=typeof t||null===t||"object"!=typeof o||null===o)return!1;if(n.has(t)&&n.get(t)===o)return!0;n.set(t,o);var r=Object.keys(t),i=Object.keys(o);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++){var s=r[a];if(!i.includes(s)||!e(t[s],o[s],n))return!1}return!0}(c,e.options)&&r.Ay.set_config(c)):(r.Ay.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),r.Ay.init(u,c)),l.current={apiKey:u,options:null!=c?c:{}}}},[s,u,JSON.stringify(c)]),i.createElement(a.Provider,{value:{client:p,bootstrap:null!=(t=null==c?void 0:c.bootstrap)?t:null==(o=null==s?void 0:s.config)?void 0:o.bootstrap}},n)}var u=function(e){return"function"==typeof e},c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};"function"==typeof SuppressedError&&SuppressedError;var l={componentStack:null,exceptionEvent:null,error:null},p={INVALID_FALLBACK:"[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."};!function(e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=o}function o(t){var o=e.call(this,t)||this;return o.state=l,o}c(o,e),o.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),o.prototype.componentDidCatch=function(e,t){var o,n=this.props.additionalProperties;u(n)?o=n(e):"object"==typeof n&&(o=n);var r=this.context.client.captureException(e,o),i=t.componentStack;this.setState({error:e,componentStack:null!=i?i:null,exceptionEvent:r})},o.prototype.render=function(){var e=this.props,t=e.children,o=e.fallback,n=this.state;if(null==n.componentStack)return u(t)?t():t;var r=u(o)?i.createElement(o,{error:n.error,componentStack:n.componentStack,exceptionEvent:n.exceptionEvent}):o;return i.isValidElement(r)?r:(console.warn(p.INVALID_FALLBACK),i.createElement(i.Fragment,null))},o.contextType=a}(i.Component);var d=o(99197);let f="phc_Nt8s1Ny8062TY9aKT8LWiB4nBuoHNYQXRU9MypWfQCW",h=!1;function v(){let e=(0,d.usePathname)(),t=(0,d.useSearchParams)();return(0,i.useEffect)(()=>{if(!h)return;let o=e+((null==t?void 0:t.toString())?"?".concat(t.toString()):"");r.Ay.capture("$pageview",{$current_url:o})},[e,t]),null}function y(e){let{children:t,anonymousId:o}=e,a=(0,i.useRef)(!1);return((0,i.useEffect)(()=>{!a.current&&(a.current=!0,!h&&f&&(r.Ay.init(f,{api_host:"https://us.i.posthog.com",capture_pageview:!1,capture_pageleave:!0,persistence:"memory",autocapture:!1,disable_session_recording:!0,person_profiles:"identified_only",bootstrap:o?{distinctID:o,isIdentifiedID:!1}:void 0}),h=!0))},[o]),f)?(0,n.jsxs)(s,{client:r.Ay,children:[(0,n.jsx)(v,{}),t]}):(0,n.jsx)(n.Fragment,{children:t})}},54362:(e,t,o)=>{Promise.resolve().then(o.bind(o,7975)),Promise.resolve().then(o.t.bind(o,89480,23))},89480:()=>{},99197:(e,t,o)=>{"use strict";var n=o(84841);o.o(n,"usePathname")&&o.d(t,{usePathname:function(){return n.usePathname}}),o.o(n,"useRouter")&&o.d(t,{useRouter:function(){return n.useRouter}}),o.o(n,"useSearchParams")&&o.d(t,{useSearchParams:function(){return n.useSearchParams}})}},e=>{e.O(0,[6827,5700,1705,8522,7358],()=>e(e.s=54362)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{7975:(e,t,o)=>{"use strict";o.d(t,{PostHogProvider:()=>y});var n=o(80534),r=o(29341),i=o(74166),a=(0,i.createContext)({client:r.Ay,bootstrap:void 0});function s(e){var t,o,n=e.children,s=e.client,u=e.apiKey,l=e.options,c=(0,i.useRef)(null),p=(0,i.useMemo)(function(){return s?(u&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),l&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),s):(u||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),r.Ay)},[s,u,JSON.stringify(l)]);return(0,i.useEffect)(function(){if(!s){var e=c.current;e?(u!==e.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),l&&!function e(t,o,n){if(void 0===n&&(n=new WeakMap),t===o)return!0;if("object"!=typeof t||null===t||"object"!=typeof o||null===o)return!1;if(n.has(t)&&n.get(t)===o)return!0;n.set(t,o);var r=Object.keys(t),i=Object.keys(o);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++){var s=r[a];if(!i.includes(s)||!e(t[s],o[s],n))return!1}return!0}(l,e.options)&&r.Ay.set_config(l)):(r.Ay.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),r.Ay.init(u,l)),c.current={apiKey:u,options:null!=l?l:{}}}},[s,u,JSON.stringify(l)]),i.createElement(a.Provider,{value:{client:p,bootstrap:null!=(t=null==l?void 0:l.bootstrap)?t:null==(o=null==s?void 0:s.config)?void 0:o.bootstrap}},n)}var u=function(e){return"function"==typeof e},l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};"function"==typeof SuppressedError&&SuppressedError;var c={componentStack:null,exceptionEvent:null,error:null},p={INVALID_FALLBACK:"[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."};!function(e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=o}function o(t){var o=e.call(this,t)||this;return o.state=c,o}l(o,e),o.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),o.prototype.componentDidCatch=function(e,t){var o,n=this.props.additionalProperties;u(n)?o=n(e):"object"==typeof n&&(o=n);var r=this.context.client.captureException(e,o),i=t.componentStack;this.setState({error:e,componentStack:null!=i?i:null,exceptionEvent:r})},o.prototype.render=function(){var e=this.props,t=e.children,o=e.fallback,n=this.state;if(null==n.componentStack)return u(t)?t():t;var r=u(o)?i.createElement(o,{error:n.error,componentStack:n.componentStack,exceptionEvent:n.exceptionEvent}):o;return i.isValidElement(r)?r:(console.warn(p.INVALID_FALLBACK),i.createElement(i.Fragment,null))},o.contextType=a}(i.Component);var d=o(99197);let f="phc_Nt8s1Ny8062TY9aKT8LWiB4nBuoHNYQXRU9MypWfQCW",h=!1;function v(){let e=(0,d.usePathname)(),t=(0,d.useSearchParams)();return(0,i.useEffect)(()=>{var o;if(!h||(null!=(o=null==t?void 0:t.get("path"))?o:"").startsWith("~cron"))return;let n=e+((null==t?void 0:t.toString())?"?".concat(t.toString()):"");r.Ay.capture("$pageview",{$current_url:n})},[e,t]),null}function y(e){let{children:t,anonymousId:o}=e,a=(0,i.useRef)(!1);return((0,i.useEffect)(()=>{!a.current&&(a.current=!0,!h&&f&&(r.Ay.init(f,{api_host:"https://us.i.posthog.com",capture_pageview:!1,capture_pageleave:!0,persistence:"memory",autocapture:!1,disable_session_recording:!0,person_profiles:"identified_only",bootstrap:o?{distinctID:o,isIdentifiedID:!1}:void 0}),h=!0))},[o]),f)?(0,n.jsxs)(s,{client:r.Ay,children:[(0,n.jsx)(v,{}),t]}):(0,n.jsx)(n.Fragment,{children:t})}},54362:(e,t,o)=>{Promise.resolve().then(o.bind(o,7975)),Promise.resolve().then(o.t.bind(o,89480,23))},89480:()=>{},99197:(e,t,o)=>{"use strict";var n=o(84841);o.o(n,"usePathname")&&o.d(t,{usePathname:function(){return n.usePathname}}),o.o(n,"useRouter")&&o.d(t,{useRouter:function(){return n.useRouter}}),o.o(n,"useSearchParams")&&o.d(t,{useSearchParams:function(){return n.useSearchParams}})}},e=>{e.O(0,[6827,5700,1705,8522,7358],()=>e(e.s=54362)),_N_E=e.O()}]);