1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="65e95be7-a32e-4c19-95a9-63630ee61cc3",e._sentryDebugIdIdentifier="sentry-dbid-65e95be7-a32e-4c19-95a9-63630ee61cc3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8180],{94020:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat",function(){return n(76352)}])},95707:function(e,t,n){"use strict";n.d(t,{w_:function(){return i}});var r=n(50959),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=r.createContext&&r.createContext(s),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)0>t.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n};function i(e){return function(t){return r.createElement(c,o({attr:o({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return r.createElement(t.tag,o({key:n},t.attr),e(t.child))})}(e.child))}}function c(e){var t=function(t){var n,s=e.attr,l=e.size,i=e.title,c=a(e,["attr","size","title"]),d=l||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,s,c,{className:n,style:o(o({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),i&&r.createElement("title",null,i),e.children)};return void 0!==l?r.createElement(l.Consumer,null,function(e){return t(e)}):t(s)}},81622:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(11527),s=n(98639),l=n(59306),o=n(5529);let a=e=>{let t=(0,l.w)(e);return(0,r.jsxs)("button",{...t,loading:void 0,disabled:e.disabled||e.loading,"data-testid":e.dataTestId,onClick:e.disabled||e.loading?void 0:e.onClick,className:(0,o.m6)("bg-green-secondary enabled:hover:bg-green-secondary-hover","font-sora font-semibold text-[15px] text-white text-center leading-[145%]","rounded-[10px] py-[16px] px-[45px]","transition-colors duration-100",(e.loading||e.disabled)&&"bg-green-secondary/disabled",e.loading&&"flex flex-row gap-2 items-center justify-center",e.className),children:[e.loading&&(0,r.jsx)(s.T,{className:"w-6 h-6"}),e.children]})}},4338:function(e,t,n){"use strict";n.d(t,{k:function(){return r.k}});var r=n(81622)},76352:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return m},default:function(){return f}});var r=n(11527),s=n(20316),l=n(4338),o=n(65604),a=n(82865),i=n.n(a),c=n(50959),d=n(49235),u=n(5529),m=!0;function f(){let[e,t]=(0,c.useState)([{from:"user",text:"Jak\xe9 jsou hlavn\xed možnosti investic dostupn\xe9 pro penzijn\xed spoÅen\xed a kter\xe1 z nich je nejvhodnÄjÅ¡\xed pro m\xe9 finanÄn\xed c\xedle a toleranci k riziku?"},{from:"ai",text:"Lorem ipsum dolor sit amet, consequem ipsum dolor sit amet, consectetur adipiscing elit. Consequem ipsum dolor sit amet, consectetur adipiscing elit."}]),[n,l]=(0,c.useState)("");(0,c.useEffect)(()=>{let e=document.getElementById("bottom-anchor");e&&e.scrollIntoView({behavior:"smooth"})},[e]);let o=()=>{""!==n.trim()&&(t([...e,{from:"user",text:n}]),l(""))};return(0,r.jsxs)(s.T,{title:"Chat",className:"bg-[#ccfff6] relative min-h-0 overflow-hidden",children:[(0,r.jsx)(y,{}),(0,r.jsx)("div",{className:"z-0 absolute top-0 left-0 w-[50%] h-[60%] bg-green rounded-r-full"}),(0,r.jsx)("div",{className:"z-0 absolute bottom-0 right-0 w-[50%] h-[60%] bg-green-secondary rounded-l-full"}),(0,r.jsx)("div",{className:"h-full z-10 relative",children:(0,r.jsxs)("div",{className:(0,u.m6)("w-full max-w-[906px] h-full md:h-[600px]","rounded-[20px] bg-white p-10 shadow-lg","flex flex-col justify-between mx-auto"),children:[(0,r.jsx)("div",{children:(0,r.jsx)("h1",{className:"text-center text-header1 text-green font-unbounded",children:"Chat AI"})}),(0,r.jsxs)("div",{className:"mt-auto flex flex-col gap-3 overflow-y-auto hide-scrollbar relative",children:[e.map((e,t)=>(0,r.jsx)(h,{from:e.from,text:e.text},t)),(0,r.jsx)(g,{}),(0,r.jsx)("div",{id:"bottom-anchor"})]}),(0,r.jsx)(x,{value:n,onChange:e=>l(e.target.value),onKeyDown:e=>{"Enter"===e.key&&o()},onClick:o})]})})]})}function x(e){return(0,r.jsxs)("div",{className:(0,u.m6)("bg-gray-100 rounded-[15p
1x] p-4 flex items-center",e.className),children:[(0,r.jsx)("input",{type:"text",placeholder:"ZaÄnÄte ps\xe1t",className:"flex-grow outline-none px-2 bg-gray-100 text-body4",value:e.value,onChange:e.onChange,onKeyDown:e.onKeyDown}),(0,r.jsx)(d.yhK,{size:24,className:"ml-2 cursor-pointer text-gray-500",onClick:e.onClick})]})}let h=e=>{let t="user"===e.from?"flex flex-col items-end my-2":"flex flex-col items-start my-2",n="user"===e.from?"bg-green-secondary text-gray-100":"bg-green-secondary/50 text-black";return(0,r.jsx)("div",{className:t,children:(0,r.jsx)("div",{className:(0,u.m6)("rounded-lg p-5 w-full max-w-[80%] text-gray-100","text-body1",n,"text-[16px]"),children:e.text})})},g=()=>(0,r.jsx)("div",{className:"flex flex-col items-start mb-4",children:(0,r.jsx)("div",{className:"rounded-lg rounded-tl-none bg-[#2A9D8F]/20 py-3 px-4 w-full max-w-max text-body1 text-gray-100",children:(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)("div",{className:"dot w-4 h-4 rounded-full bg-green-secondary mr-1",style:{animationDelay:"0s"}}),(0,r.jsx)("div",{className:"dot w-4 h-4 rounded-full bg-green-secondary/60 mr-1",style:{animationDelay:"0.2s"}}),(0,r.jsx)("div",{className:"dot w-4 h-4 rounded-full bg-green-secondary/40 mr-1",style:{animationDelay:"0.4s"}})]})})});function p(e){return(0,r.jsxs)("div",{className:(0,u.m6)("flex items-center justify-between px-10 h-24 z-10 relative",e.className),children:[(0,r.jsx)(i(),{href:"/",className:"w-[140px] md:w-[180px]",children:(0,r.jsx)(o.G,{})}),e.children]})}function y(){return(0,r.jsx)(p,{className:"px-20",children:(0,r.jsx)("div",{className:"flex items-center font-medium text-base font-inter text-[15px] text-green",children:(0,r.jsx)(l.k,{children:"Registrace"})})})}}},function(e){e.O(0,[1246,5529,5604,8080,2888,9774,179],function(){return e(e.s=94020)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.