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AACC,EAAKnK,KACtE,GAAI,CAACoF,EAAK/F,EAAM,CAAGW,SACLoK,KAAAA,IAAV/K,GAGJ8K,CAAAA,CAAG,CAAC/E,EAAI,CAAG/F,CAAAA,EAFA8K,CAIf,EAAG,CAAC,GAkBJ,OAAOd,EAAGG,EAAMG,EAjBqBF,MAAAA,EAAuC,KAAK,EAAI,OAAC/G,CAAAA,EAAM+G,EAAOY,gBAAgB,GAAc3H,KAAa,IAAbA,EAAiB,KAAK,EAAIA,EAAIwH,MAAM,CAAC,CAACC,EAAKG,KACxK,GAAI,CAAEZ,MAAOa,CAAO,CAAG3K,UAAW4K,CAAW,CAAG,GAAGC,EAAwB,CAAGH,EAC9E,OAAOlL,OAAO6K,OAAO,CAACQ,GAAwBC,KAAK,CAAC,IAChD,GAAI,CAACtF,EAAK/F,EAAM,CAAGW,EACnB,OAAOqF,MAAMC,OAAO,CAACjG,GAASA,EAAMsL,QAAQ,CAAC,CACzC,GAAGnG,CAAe,CAClB,GAAGwF,CAAqB,CAC3B,CAAC5E,EAAI,EAAI,CAAC,CACP,GAAGZ,CAAe,CAClB,GAAGwF,CAAqB,CAC5B,CAAE,CAAC5E,EAAI,GAAK/F,CAChB,GAAK,IACE8K,EACHI,EACAC,EACH,CAAGL,CACR,EAAG,EAAE,EAC+DxF,MAAAA,EAAqC,KAAK,EAAIA,EAAM+E,KAAK,CAAE/E,MAAAA,EAAqC,KAAK,EAAIA,EAAM/E,SAAS,CAChM","sources":["webpack://_N_E/?86d8","webpack://_N_E/./node_modules/next/dist/api/link.js","webpack://_N_E/./node_modules/use-intl/dist/production/IntlContext-DcFt0tgW.js","webpack://_N_E/./node_modules/use-intl/dist/production/_useLocale-CpTrqBDt.js","webpack://_N_E/./node_modules/use-intl/dist/production/_useLocale.js","webpack://_N_E/./src/components/containers/small-section.tsx","webpack://_N_E/./src/app/[locale]/(unauth)/(main)/layers/page.tsx","webpack://_N_E/./src/components/animation/fade-in.tsx","webpack://_N_E/./src/components/ui/button.tsx","webpack://_N_E/./src/hooks/use-routes.ts","webpack://_N_E/./src/lib/utils.ts","webpack://_N_E/./src/utils/AppConfig.ts","webpack://_N_E/./src/libs/i18nNavigation.ts","webpack://_N_E/./node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs","webpack://_N_E/./node_modules/class-variance-authority/dist/index.mjs","webpack://_N_E/"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src835818838/src/ludus-website-next/src/app/[locale]/(unauth)/(main)/layers/page.tsx\")","export { default } from \"../client/link\";\nexport * from \"../client/link\";\n\n//# sourceMappingURL=link.js.map","\"use strict\";const t=require(\"react\").createContext(void 0);exports.IntlContext=t;\n","\"use strict\";var t=require(\"react\"),e=require(\"./IntlContext-DcFt0tgW.js\");function r(){const r=t.useContext(e.IntlContext);if(!r)throw new Error(void 0);return r}exports.useIntlContext=r,exports.useLocale=function(){return r().locale};\n","\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});var e=require(\"./_useLocale-CpTrqBDt.js\");require(\"react\"),require(\"./IntlContext-DcFt0tgW.js\"),exports.useLocale=e.useLocale;\n","import type { PropsWithChildren } from 'react';\n\nimport { cn } from '@/lib/utils';\n\ntype ISmallSectionProps = PropsWithChildren & {\n id: string;\n title: string;\n description?: string;\n className?: string;\n headerContainerClassName?: string;\n headerClassName?: string;\n descriptionClassName?: string;\n};\n\nexport const SmallSection = ({\n id,\n title,\n description,\n children,\n className,\n headerContainerClassName,\n headerClassName,\n descriptionClassName,\n}: ISmallSectionProps) => {\n return (\n
\n
\n \n {title}\n \n {description && (\n \n {description}\n

\n )}\n
\n
{children}
\n
\n );\n};\n","'use client';\n\nimport { DotLottieReact } from '@lottiefiles/dotlottie-react';\nimport { useCallback } from 'react';\n\nimport FadeIn from '@/components/animation/fade-in';\nimport { SmallSection } from '@/components/containers/small-section';\nimport { Button } from '@/components/ui/button';\nimport { useRoutes } from '@/hooks/use-routes';\n\nconst SUBSCRIBE_KNOWLEDGE_LAYER_POINTS: string[] = [\n 'Tailored Expertise: Select from a wide range of layers, each focused on a specific topic or domain.',\n 'Instant Activation: Subscribe to the layers you want, and watch your AI become an subject-matter expert in seconds.',\n 'Seamless Integration: Enhance your workflow without disruptions, just add the layers and access the knowledge you need instantly.',\n \"Discover More: Explore and uncover new layers in the Knowledge Hub to continuously expand your AI's capabilities.\",\n];\n\nconst PUBLISH_KNOWLEDGE_LAYER_POINTS: string[] = [\n 'Total Privacy: Your source files are never revealed to anyone, even to subscribers. Only the insights derived from your data are made accessible.',\n 'Exclusive Insights: Users can leverage the knowledge within your layers, but they cannot view, access, or download your source files.',\n 'Flexible Sharing Options: Choose to share your layers with the public, offer them to a select group, or keep them private for personal use.',\n];\n\nexport default function LayersPage() {\n const routes = useRoutes();\n\n const handleExploreClick = useCallback(() => {\n routes.goToKnowledgeHub();\n }, [routes]);\n\n return (\n
\n
\n
\n
\n

\n Introducing Knowledge Layers\n

\n

\n Each Knowledge Layer is a focused repository of curated files,\n notes, and data points tailored to your needs. Combine data from\n layers to train and customize your own AI, enabling intelligent,\n context-aware solutions.\n

\n
\n \n
\n
\n \n
\n \n
\n
\n
\n \n

\n Subscribe, Customize, and Elevate Your AI Instantly\n

\n
\n
    \n {SUBSCRIBE_KNOWLEDGE_LAYER_POINTS.map((point, index) => (\n
  • {point}
  • \n ))}\n
\n
\n \n \n

Organize, Publish, and Share

\n
\n
    \n {PUBLISH_KNOWLEDGE_LAYER_POINTS.map((point, index) => (\n
  • {point}
  • \n ))}\n
\n
\n \n
\n
\n );\n}\n","'use client';\n\nimport { once } from 'events';\nimport type { Variants } from 'framer-motion';\nimport { motion, useAnimation } from 'framer-motion';\nimport React, { useEffect } from 'react';\nimport { useInView } from 'react-intersection-observer';\n\ninterface FadeInProps {\n children: React.ReactNode;\n delay?: number;\n duration?: number;\n threshold?: number;\n className?: string;\n inViewOptions?: {\n onlyStartInView?: boolean;\n once: boolean;\n };\n}\n\nconst FadeIn: React.FC = ({\n children,\n delay = 0,\n duration = 0.5,\n threshold = 0.3,\n className = '',\n inViewOptions = {\n onlyStartInView: true,\n once: true,\n },\n}) => {\n const controls = useAnimation();\n\n const [ref, inView] = useInView({\n triggerOnce: inViewOptions?.once,\n threshold,\n });\n\n useEffect(() => {\n if (inViewOptions.onlyStartInView) {\n if (inView) {\n controls.start('visible');\n } else if (!once) {\n controls.start('hidden');\n }\n } else {\n controls.start('visible');\n }\n }, [controls, inView, inViewOptions]);\n\n const variants: Variants = {\n hidden: { opacity: 0, y: 50 },\n visible: {\n opacity: 1,\n y: 0,\n transition: {\n duration,\n delay,\n ease: 'easeInOut',\n },\n },\n };\n\n return (\n \n {children}\n \n );\n};\n\nexport default FadeIn;\n","import { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { cn } from '@/lib/utils';\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline:\n 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'size-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n);\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes,\n VariantProps {\n asChild?: boolean;\n}\n\nconst Button = React.forwardRef(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button';\n return (\n \n );\n },\n);\nButton.displayName = 'Button';\n\nexport { Button, buttonVariants };\n","import type { NavigateOptions } from 'next/dist/shared/lib/app-router-context.shared-runtime';\nimport { useMemo } from 'react';\n\nimport type {\n ChatSessionId,\n KnowledgeBaseFileId,\n KnowledgeBaseFolderId,\n KnowledgeBaseId,\n KnowledgeBaseLayerId,\n} from '@/data/commons';\nimport type { SubscriptionTier } from '@/generated/clients/ludus-service-client/requests';\nimport { useRouter } from '@/libs/i18nNavigation';\n\ninterface IQueryString {\n key: string;\n value?: string | string[];\n}\n\nexport type INavigateOptions = NavigateOptions & {\n newTab?: boolean;\n};\n\nconst createQueryString = (queryStrings: IQueryString[]): string => {\n const params = new URLSearchParams();\n\n for (const queryString of queryStrings) {\n const { key, value } = queryString;\n\n if (value) {\n if (Array.isArray(value)) {\n for (const queryElement of value) {\n params.append(key, queryElement);\n }\n } else {\n params.append(key, value);\n }\n }\n }\n\n return params.toString();\n};\n\nexport const ROUTES = {\n ROOT: '/',\n TERMS: '/legal/terms',\n LAYER_HELP: '/layers',\n CONTACT: '/contact',\n PRIVACY: '/legal/privacy',\n AUTH_HOME: '/home', // don't change this unless you also change the clerk protected auth directory and nextjs folder paths\n KNOWLEDGE_HUB: `/home/hub`,\n MANAGE_LAYERS: `/home/layers/manage`,\n LAYER: ({ layerId }: { layerId: KnowledgeBaseLayerId }) => {\n return `${ROUTES.AUTH_HOME}/layers/${layerId}`;\n },\n EXPLORER: ({\n kbId,\n folderId,\n }: {\n kbId: KnowledgeBaseId;\n folderId?: KnowledgeBaseFolderId | null;\n }) => {\n let route = `${ROUTES.AUTH_HOME}/explorer/knowledge-bases/${kbId}`;\n\n if (folderId) {\n route = `${route}/folder/${folderId}`;\n }\n\n return route;\n },\n FILE_VIEWER: ({\n kbId,\n fileId,\n page,\n highlight,\n }: {\n kbId: KnowledgeBaseId;\n fileId: KnowledgeBaseFileId;\n page?: number;\n highlight?: string;\n }) => {\n const searchParams = new URLSearchParams();\n\n if (page) {\n searchParams.append('page', String(page));\n }\n\n if (highlight) {\n searchParams.append('highlight', highlight);\n }\n\n return `${ROUTES.AUTH_HOME}/explorer/knowledge-bases/${kbId}/file/${fileId}${searchParams.size > 0 ? `?${searchParams.toString()}` : ''}`;\n },\n SEARCH: (params?: {\n query?: string;\n kbIds?: string[];\n sessionId?: ChatSessionId;\n }) => {\n if (params) {\n const { kbIds, query, sessionId } = params;\n\n return `${ROUTES.AUTH_HOME}?${createQueryString([\n { key: 'kbId', value: kbIds },\n { key: 'query', value: query },\n {\n key: 'sessionId',\n value: sessionId,\n },\n ])}`;\n }\n\n return `${ROUTES.AUTH_HOME}`;\n },\n CHECKOUT: ({ tier }: { tier: SubscriptionTier }) => {\n return `${ROUTES.AUTH_HOME}/checkout/${tier}`;\n },\n};\n\nexport function useRoutes() {\n const router = useRouter();\n\n return useMemo(() => {\n return {\n goToLayerHelp: (options?: INavigateOptions) => {\n if (options?.newTab) {\n window.open(ROUTES.LAYER_HELP, '_blank', 'noopener,noreferrer');\n } else {\n router.push(ROUTES.LAYER_HELP, options);\n }\n },\n goToKnowledgeHub: () => {\n router.push(ROUTES.KNOWLEDGE_HUB);\n },\n goToLayer: (params: { layerId: KnowledgeBaseLayerId }) => {\n router.push(ROUTES.LAYER(params));\n },\n goToExplorer: (\n params: {\n kbId: KnowledgeBaseId;\n folderId?: KnowledgeBaseFolderId | null;\n },\n options?: INavigateOptions,\n ) => {\n router.push(ROUTES.EXPLORER(params), options);\n },\n goToFileViewer: (\n params: {\n kbId: KnowledgeBaseId;\n fileId: KnowledgeBaseFileId;\n page?: number;\n },\n options?: INavigateOptions,\n ) => {\n router.push(ROUTES.FILE_VIEWER(params), options);\n },\n goToSearch: (\n params?: { sessionId?: ChatSessionId },\n options?: INavigateOptions,\n ) => {\n router.push(ROUTES.SEARCH(params), options);\n },\n goToCheckout: (\n { tier }: { tier: SubscriptionTier },\n options?: INavigateOptions,\n ) => {\n if (options?.newTab) {\n window.open(\n ROUTES.CHECKOUT({ tier }),\n '_blank',\n 'noopener,noreferrer',\n );\n } else {\n router.push(ROUTES.CHECKOUT({ tier }), options);\n }\n },\n goToCustomerPortal: ({ email }: { email?: string }) => {\n let customerPortalLink =\n process.env.NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_URL;\n\n if (email) {\n customerPortalLink = `${customerPortalLink}?prefilled_email=${email}`;\n }\n window.open(customerPortalLink, '_blank', 'noopener,noreferrer');\n },\n };\n }, [router]);\n}\n","import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n","import type { LocalePrefix } from 'node_modules/next-intl/dist/types/src/routing/types';\n\nconst localePrefix: LocalePrefix = 'as-needed';\n\n// FIXME: Update this configuration file based on your project information\nexport const AppConfig = {\n name: 'Truffler',\n locales: ['en'],\n defaultLocale: 'en',\n localePrefix,\n};\n","import { createSharedPathnamesNavigation } from 'next-intl/navigation';\n\nimport { AppConfig } from '@/utils/AppConfig';\n\nexport const { usePathname, useRouter } = createSharedPathnamesNavigation({\n locales: AppConfig.locales,\n localePrefix: AppConfig.localePrefix,\n});\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;ttypeof value === \"boolean\" ? \"\".concat(value) : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>{\n return (props)=>{\n var ref;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants , defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (ref = config.compoundVariants) === null || ref === void 0 ? void 0 : ref.reduce((acc, param1)=>{\n let { class: cvClass , className: cvClassName , ...compoundVariantOptions } = param1;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n};\n\n\n//# sourceMappingURL=index.mjs.map"],"names":["Promise","resolve","then","__webpack_require__","bind","t","require","exports","e","r","useContext","IntlContext","locale","Object","value","useLocale","SmallSection","id","title","description","children","className","headerContainerClassName","headerClassName","descriptionClassName","param","jsx_runtime","jsxs","section","cn","div","jsx","h2","p","SUBSCRIBE_KNOWLEDGE_LAYER_POINTS","PUBLISH_KNOWLEDGE_LAYER_POINTS","LayersPage","routes","useRoutes","handleExploreClick","useCallback","goToKnowledgeHub","h1","Button","onClick","FadeIn","duration","DotLottieReact","src","loop","autoplay","speed","h3","ul","map","point","index","li","__webpack_exports__","Z","delay","threshold","inViewOptions","onlyStartInView","once","controls","useAnimation","ref","inView","useInView","triggerOnce","useEffect","start","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","motion","initial","animate","variants","hidden","opacity","y","visible","transition","ease","buttonVariants","cva","variant","default","destructive","outline","secondary","ghost","link","size","sm","lg","icon","defaultVariants","React","asChild","props","Comp","Slot","displayName","createQueryString","params","URLSearchParams","queryString","queryStrings","key","Array","isArray","queryElement","append","toString","ROUTES","ROOT","TERMS","LAYER_HELP","CONTACT","PRIVACY","AUTH_HOME","KNOWLEDGE_HUB","MANAGE_LAYERS","LAYER","layerId","concat","EXPLORER","kbId","folderId","route","FILE_VIEWER","fileId","page","highlight","searchParams","String","SEARCH","kbIds","query","sessionId","CHECKOUT","tier","router","useRouter","useMemo","goToLayerHelp","options","newTab","window","open","push","goToLayer","goToExplorer","goToFileViewer","goToSearch","goToCheckout","goToCustomerPortal","email","customerPortalLink","process","_len","arguments","length","inputs","_key","twMerge","clsx","AppConfig","locales","localePrefix","usePathname","createSharedPathnamesNavigation","falsyToString","cx","f","n","base","config","class","getVariantClassNames","keys","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","entries","reduce","acc","undefined","compoundVariants","param1","cvClass","cvClassName","compoundVariantOptions","every","includes"],"sourceRoot":""}