@redneckz/wildless-cms-uni-blocks 0.3.1 → 0.3.2

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 (72) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +4 -2
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Gallery/GalleryCardInner.js +3 -1
  5. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  6. package/dist/components/Gallery/GalleryContent.d.ts +1 -1
  7. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  8. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  9. package/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  10. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  11. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  12. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  13. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
  14. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
  15. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  16. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  17. package/lib/common.css +1 -1
  18. package/lib/components/Gallery/GalleryCardInner.js +3 -1
  19. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  20. package/lib/components/Gallery/GalleryContent.d.ts +1 -1
  21. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  22. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  23. package/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  24. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  25. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  26. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  27. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
  28. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
  29. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  30. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  31. package/mobile/bundle/bundle.umd.js +5 -3
  32. package/mobile/bundle/bundle.umd.min.js +1 -1
  33. package/mobile/dist/components/Gallery/GalleryCardInner.js +3 -1
  34. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  35. package/mobile/dist/components/Gallery/GalleryContent.d.ts +1 -1
  36. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  37. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  38. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  39. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  40. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  41. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  42. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  43. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  44. package/mobile/lib/components/Gallery/GalleryCardInner.js +3 -1
  45. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  46. package/mobile/lib/components/Gallery/GalleryContent.d.ts +1 -1
  47. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  48. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  49. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  50. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  51. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  52. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  53. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  54. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  55. package/mobile/src/components/Gallery/GalleryCardInner.tsx +3 -1
  56. package/mobile/src/components/Gallery/GalleryContent.ts +1 -1
  57. package/mobile/src/components/LinkDocs/LinkDocs.tsx +2 -2
  58. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +1 -1
  59. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  60. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  61. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +1 -1
  62. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -1
  63. package/package.json +4 -4
  64. package/src/components/Gallery/GalleryCardInner.tsx +3 -1
  65. package/src/components/Gallery/GalleryContent.ts +1 -1
  66. package/src/components/LinkDocs/LinkDocs.mobile.tsx +2 -2
  67. package/src/components/LinkDocs/LinkDocsContent.ts +1 -1
  68. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  69. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +1 -1
  70. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  71. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +1 -1
  72. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -1
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniBlocks={})}(this,(function(e){"use strict";const t=(e,r)=>{t._jsx=e,t._jsxs=r||e};t.vue=e=>{t(((t,{children:r,dangerouslySetInnerHTML:a,...n}={})=>{const i=Object.assign({},n,a?{innerHTML:a.__html}:{});return e(t,i,"string"!=typeof t?()=>r:r)}))};const r=(...e)=>t._jsx(...e),a=(...e)=>t._jsxs(...e),n=e=>(e._tmpl||(e._tmpl=function(t,r){const{children:a,...n}=t||{},i=r?.slots?.default,l=a||i&&i();return e(Object.assign(n,l&&{children:l}),r)},e._tmpl.inheritAttrs=!1),e._tmpl);const i="likesToken";const l={h1:"text-title-lg tracking-[-0.3px]",h2:"text-title",h3:"text-title-sm",h4:"text-title-xs",h5:"text-title-2xs tracking-[0.2px]",h6:"text-title-2xs tracking-[0.2px]"},s=n((e=>{const{className:t,headingType:a,title:n}=e;if(!a)return;return r(a,{className:`font-sans font-medium ${l[a]} ${t||""}`,children:n})})),c=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ENABLE_ASSIST(){return this._.ENABLE_ASSIST}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},o={none:"",primary:"text-primary-main"},m=n((({className:e="",name:t,alt:n=`Icon ${t}`,title:i=n,asSVG:l,color:s="primary",...m})=>{const d=`${c.CDN||""}icons/${t}.svg`;return l?a("svg",{className:`${o[s]} ${e}`,...m,"aria-hidden":"true",children:[i?r("title",{children:i}):null,n?r("desc",{children:n}):null,r("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]}):r("img",{className:e,src:d,alt:n,title:i,...m,"aria-hidden":"true"})})),d={left:"text-left",center:"text-center",right:"text-right"},h=n((({bgColor:e="transparent",align:t="left",className:n="",title:i,description:l})=>{const c=d[t];return a("section",{className:`p-[50px] ${e} ${n}`,children:[i&&r(s,{headingType:"h2",className:`text-primary-text ${c}`,title:i}),l&&r("p",{className:`font-normal text-base mt-4 ${c}`,children:l})]})})),x=n((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:l,icon:s})=>{const{text:c,fileSize:o,...d}=l;return a("a",{className:e,role:"link",...d,children:[s?r(m,{className:t,name:s,width:"24px",height:"24px",asSVG:!0}):null,c?a("span",{className:n,children:[c,r("span",{className:i,children:d?.href&&p(u(d.href),o)})]}):null]})})),p=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),u=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},b=n((({className:e="",doc:t,icon:a})=>r(x,{className:e,iconClassName:"mr-4 min-w-6 min-h-6 text-primary-text",textClassName:"self-center",suffixClassName:"text-secondary-text group-hover:text-primary-main",doc:t,icon:a}))),f=n((({className:e,documents:t,columnsMode:a="double",icon:n})=>t?.length?r("div",{className:e,role:"list",children:t.map(((e,t)=>r("div",{className:"double"===a?"basis-[calc(50%-20px)]":"",role:"listitem",children:r(b,{className:"group flex text-sm align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main",doc:e,icon:n})},String(t))))}):null)),g={left:"text-left",center:"text-center",right:"text-right"},N={double:"mb-8",single:"mb-[26px]"},v={double:"flex gap-x-5 gap-y-[26px] flex-wrap",single:"flex gap-3.5 flex-col"},y=n((({className:e="",title:t,subtitle:n,align:i,documents:l,icon:c="DocIcon",columnsMode:o="double"})=>a("section",{className:`font-sans p-[50px] bg-white ${e}`,children:[t?r(s,{headingType:"h2",className:`${n?"mb-2.5":N[o]} ${g[i??"center"]}`,title:t}):null,n?r("h3",{className:`text-base ${N[o]} ${g[i??"center"]}`,children:n}):null,r(f,{className:v[o],columnsMode:o,documents:l,icon:c})]}))),w=n((({className:e="",image:{size:t,...n}})=>{const i={width:t?.width?`${t?.width}px`:"100%",height:t?.height?`${t?.height}px`:"100%"};return a("picture",{className:`flex-none ${e}`,children:[n.sources?.length?n.sources.map((({src:e,format:t},a)=>r("source",{srcSet:e,type:k(t)},`${a}_${e}`))):null,r("img",{className:n.className||"",src:n.src,alt:n.alt||n.title,title:n.title,style:i,...t})]})}));function k(e){return e?`image/${String(e)}`:void 0}const $=n((({className:e="",title:t,image:n,benefits:i})=>a("section",{className:`relative font-sans text-primary-text bg-white p-14 ${e}`,children:[r(s,{headingType:"h2",className:"text-center",title:t}),a("div",{className:"flex justify-center mt-9",children:[n?.src&&r(w,{className:"mr-6",image:n}),i?.length?r("div",{className:"flex flex-col",children:i.map(C)}):null]})]})));function C(e,t){return a("div",{className:"flex flex-row mb-8",children:[e.icon&&r(m,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",name:e.icon,width:"48",height:"48",asSVG:!0}),a("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&r("div",{className:"font-medium text-primary-text text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text",children:e.description})]})]},String(t))}const S={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},T=n((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:l,className:s})=>{const c=S[n];return a("section",{className:`font-sans px-9 py-4 flex ${c.background} ${s||""}`,children:["small"===i?D(c.icon):null,"big"===i?L(l):null,a("div",{className:"py-0.5",children:[e&&r("div",{className:`font-medium text-base mb-1 ${c.title}`,children:e}),t&&r("div",{className:`text-sm ${c.description}`,children:t})]})]})}));function D(e){return r("div",{className:"pt-1.5 pl-1 pr-4",children:r("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function L(e){return e?.src?r(w,{className:"pt-0.5 pr-3",image:e}):null}const I=e=>e?.includes("//"),_=e=>(e||"").replace(/\/?\?.*/,""),j=e=>{if(!e||!I(e))return;const t=e,r=t.indexOf("//"),a=t.indexOf("/",r+"//".length);return-1!==a?t.substring(0,a):t};var R=Object.freeze({__proto__:null,isURL:I,withoutQuery:_,getOrigin:j});const A="/mobile",M=(e,t)=>{if(!e)return e;const r=j(t?.href);return r?e.replace(r,"")||"/":e},B=e=>e;function P({router:e,handlerDecorator:t=B},r){const a=((e,t)=>{if(!e)return e;const r=M(e,t)||"",a=t?.pathname.startsWith(A);return a&&!I(r)?`/mobile${r}`:r})(r.href,e);return{...r,href:a,ariaLabel:r.text,onClick:t((t=>{const n=a&&!I(a),i=!r.target||"_self"===r.target;n&&i&&(t.preventDefault(),e.push(a))}),r)}}const V=n((({text:e,aboveText:t,appendLeft:n,rounded:i,version:l})=>{const s=!e&&!t&&Boolean(n);return function({buttonInnerClasses:e,appendLeft:t,withoutText:n,aboveText:i,text:l}){return a("div",{className:e,children:[t||null,n?null:a("div",{children:[r("div",{className:"text-m-2xs text-left",children:i}),r("div",{className:"text-m-button font-medium text-left",children:l})]})]})}({buttonInnerClasses:"link"!==l?`flex items-center justify-center\n ${s?"h-12 w-12":"px-8 gap-2 "+(t?"py-2":"py-3.5")} ${i?"rounded-full":""}`:null,appendLeft:n,withoutText:s,aboveText:t,text:e})}));const O={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active",link:""},F={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},Z="text-center font-sans select-none",H=n((({className:e,text:t,aboveText:a,appendLeft:n,href:i,target:l,onClick:s,children:c,disabled:o,rounded:m,version:d="none",ariaLabel:h,...x})=>{const p=c??r(V,{text:t,aboveText:a,appendLeft:n,rounded:m});return o?function({className:e,buttonInner:t,ariaLabel:a,version:n,rounded:i}){return r("div",{role:"button","aria-disabled":"true","aria-label":a,tabIndex:"-1",className:`inline-block ${Z} ${F[n]||""} ${i?"rounded-full":"rounded-md"} ${e||""}`,children:t})}({buttonInner:p,ariaLabel:h,className:e,version:d,rounded:m}):function({className:e,buttonInner:t,ariaLabel:a,version:n,rounded:i,href:l,target:s,onClick:c,rest:o}){return r("a",{className:`${Z} inline-block cursor-pointer no-underline ${O[n]||""} ${i?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:s,onClick:c,"aria-label":a,role:l?"link":"button",...o,children:t})}({buttonInner:p,ariaLabel:h,className:e,version:d,rounded:m,href:i,target:l,onClick:s,rest:x})}));const G=n((({context:e,className:t="",buttons:a})=>{const{handlerDecorator:n}=e,i=e.useRouter();return a?.length?r("div",{className:`${t}`,children:a.map(((e,t)=>function({icon:e,...t},a){if(!t?.text)return;return r(H,e?{appendLeft:r(m,{name:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(a))}(P({router:i,handlerDecorator:n},e),t)))}):null}));const E=n((e=>{const{className:t,description:a}=e;return r("div",{className:`font-normal text-base ${t||""}`,children:a})})),W={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},z={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},U=n((({className:e="",isDotted:t=!0,children:n,version:i="primary"})=>a("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&r("div",{className:J(i)}),r("span",{className:W[i],children:n})]}))),J=e=>`rounded-full inline-block mr-3 ${z[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,X=n((e=>{const{className:t="",itemClassName:a,isDotted:n,items:i,version:l}=e;return r("section",{className:`${t}`,role:"list",children:i?.length?i.map(((e,t)=>r(U,{className:a,isDotted:n,version:l,children:e},String(t)))):null})})),Q=n((({className:e="",title:t,children:n,buttons:i,image:l})=>a("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,a("div",{className:"flex grow w-full justify-between",children:[a("div",{className:"flex flex-col justify-between",children:[r("div",{children:n}),r("div",{children:i})]}),l]})]}))),q=e=>{const t="col-span-",r=e.split(/\s+/).find((e=>e.startsWith(t)));return r?parseInt(r.substring(t.length),10):12};function K(e=""){const t=q(e);return t<=4?"h4":t<=8?"h3":"h2"}function Y(e=""){const t=q(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function ee(e=""){const t=q(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const te={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},re=n((e=>{const{context:t,title:n,description:i,items:l,children:c,buttons:o,image:m,className:d="",version:h="primary",role:x}=e;return r("section",{className:`font-sans p-9 box-border ${d} ${te[h]} ${ee(d)} ${Y(d)} `,role:x,children:a(Q,{context:t,title:n&&r(s,{headingType:K(d),title:n,className:"whitespace-pre-wrap max-w-[600px] "+("primary"===h?"text-primary-text":"")}),buttons:o?.length?r(G,{context:t,buttons:o,className:"flex mt-9 gap-3"}):null,image:m?.src&&r(w,{className:"mt-auto ml-7",image:m}),children:[i&&r(E,{className:"mt-4 max-w-[600px]",description:i}),c,l?.length?r(X,{items:l}):null]})})})),ae={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},ne=n((({context:e,className:t="",title:n,description:i,benefits:l,buttons:c,image:o,version:m="primary"})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${t} ${ae[m]} ${ee(t)} ${Y(t)} `,children:a(Q,{context:e,title:n&&r(s,{headingType:K(t),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:c?.length?r(G,{context:e,buttons:c,className:"flex mt-9 gap-3"}):null,image:o?.src&&r(w,{className:"mt-auto ml-7",image:o}),children:[i&&r(E,{className:"mt-4 max-w-[600px]",description:i}),a("div",{className:"flex mt-5 mb-1",children:[l?.length?r("div",{className:"mr-8",children:l.map(ie)}):null,l?.length?r("div",{className:"pt-1",children:l.map(((e,t)=>function(e,t,a="primary"){return r("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[a]}`,children:e.description},String(t))}(e,t,m)))}):null]})]})})));function ie(e,t){return r("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.label},String(t))}const le=n((({className:e,viewBox:t,fill:a="none",width:n,height:i,paths:l,...s})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:a,width:n,height:i,children:l.map((({d:e,fill:t,...a},n)=>r("path",{d:e,fill:t||"currentColor",...s,...a},n)))}))),se=[{d:"m9 12 4-4-4-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",fill:"none"},{d:"M2 9a1 1 0 0 1 0-2v2Zm6-2a1 1 0 0 1 0 2V7ZM2 7h6v2H2V7Z"}],ce=n((({className:e,disabled:t,...a})=>r(H,{rounded:!0,className:`shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...a,children:r(le,{paths:se,viewBox:"0 0 16 16",fill:"none",width:"16",height:"16"})}))),oe={primary:"bg-white text-secondary-text",secondary:"bg-primary-main text-white"},me={normal:3,mini:4},de={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},he={normal:380,mini:276},xe={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},pe={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},ue=n((({className:e="",isDotted:t=!0,text:n,children:i,version:l="primary"})=>a("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&r("div",{className:be(l)}),r("span",{className:xe[l],children:n||i})]}))),be=e=>`rounded-full inline-block mr-3 ${pe[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,fe=n((({title:e,description:t,image:n,items:i,button:l,version:s})=>a("div",{children:[a("div",{children:[n?.src?r("div",{className:"flex justify-center",children:r(w,{className:"mb-6",image:n})}):null,e&&ge(e,t,i),t?r("div",{className:"font-normal text-sm mt-2",children:t}):null,i?.length?r("section",{className:"max-w-[308px] mt-2",role:"list",children:i.map(((e,t)=>function(e,t,a){return r(ue,{version:a??"primary",children:r("span",{className:"text-sm",children:e})},String(t))}(e.text,t,s)))}):null]}),l?.text&&r(H,{className:"mt-6",...l})]})));function ge(e,t,a){return r("div",{className:"font-medium text-xl m-0 "+(t||a?.length?"":"text-center"),children:e})}const Ne=n((({context:e,title:t,description:n,cards:i=[],version:l="normal",activeCardIndex:c})=>a("div",{children:[r("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"}),a("div",{className:"flex flex-col items-center mb-8",children:[t?r(s,{headingType:"h2",className:"text-center",title:t}):null,n?r("div",{className:"font-normal text-base max-w-[600px] mt-2.5",children:n}):null]}),r("div",{className:`flex ${i?.length<=me[l]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${c*he[l]}px)`},role:"list",children:i?.map(((t,a)=>function({card:e,version:t},a){return r("section",{className:`box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between\n items-stretch ${de[t]} ${oe[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:r(fe,{...e})},String(a))}({card:t,version:l,context:e},a)))})]})));const ve=n((({context:e,cards:t=[],className:n="",version:i="normal",...l})=>{const[s,c]=e.useState(0),o=t?.length>me[i],m=o&&t?.length-s>me[i],d=o&&s>0;return a("section",{className:`relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${n}`,children:[r(Ne,{context:e,cards:t,version:i,activeCardIndex:s,...l}),d&&r(ce,{className:"absolute top-1/2 left-8 rotate-180",onClick:()=>c(s-1),ariaLabel:"Пролистать влево"}),m&&r(ce,{className:"absolute top-1/2 right-1 z-10",onClick:()=>c(s+1),ariaLabel:"Пролистать вправо"}),r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"})]})})),ye=n((e=>r(ve,{...e,version:"normal"}))),we=n((e=>r(ve,{...e,version:"mini"}))),ke={Headline:h,LinkDocs:y,TextBlock:T,PictureText:$,Tile:re,ProductTile:ne,Gallery:ye,MiniGallery:we},$e=n((({blocks:e,context:t})=>r("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:e?.length?e.map(Ce(t)):null}))),Ce=e=>(t,a)=>{const n=t?.accordionBlockType;if(!n||!(n in ke))return null;return r("div",{className:"mb-5 last:mb-0 pb-5",children:r(ke[n],{context:e,...t,className:"!p-0"})},`block_${a}`)},Se=n((({label:e,blocks:t,context:n})=>{const{hasContent:i,icon:l,handleToggle:s}=(({context:e,blocks:t})=>{const[r,a]=e.useState(!1),n=t?.length;return{isActive:r,hasContent:n,icon:r?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!n)return;a(!r);const t=(({target:e})=>"BUTTON"===e.tagName?e.nextSibling:e.parentNode.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:n,blocks:t});return a("li",{className:"border-0 border-b border-solid border-main-divider last:border-b-0",children:[a("button",{className:"border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans text-primary-text\n "+(i?"group cursor-pointer":""),onClick:s,children:[r("span",{className:"text-xl pr-2.5 font-medium "+(i?"group-hover:text-primary-main":""),children:e}),i?r(m,{name:l,width:"24",height:"24",asSVG:!0}):null]}),i?r($e,{blocks:t,context:n}):null]})})),Te=n((({title:e,accordionItems:t,context:n,className:i})=>a("section",{className:`p-[50px] font-sans bg-white text-primary-text ${i||""}`,children:[e?r(s,{headingType:"h4",className:"mb-2.5",title:e}):null,t?.length?r("ul",{className:"list-none m-0 p-0",children:t.map(((e,t)=>r(Se,{...e,context:n},`AccordionItem${t}`)))}):null]}))),De=n((({className:e,title:t,benefits:n})=>a("section",{className:`font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${e||""}`,children:[t?r(s,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}):null,n?.length?r("div",{className:"grid grid-cols-2 gap-5 mt-9",children:n.map(Le)}):null]}))),Le=(e,t)=>a("div",{className:"flex items-center p-10 gap-5 max-w-[580px]",children:[e.icon&&r(m,{className:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",name:e.icon,width:"70",height:"70"}),a("div",{children:[r("h3",{className:"font-medium text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm mt-2",children:e.description})]})]},String(t)),Ie=({colData:e,colsLengthForScroll:t,activeCardIndex:r,setActiveCardIndex:a})=>{const n=e?.length&&e.length>t;return{nextClick:()=>a(r+1),prevClick:()=>a(r-1),isScrollAvailable:n,showNextButton:n&&e?.length-r>t,showPrevButton:n&&r>0}},_e="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",je="border-main-stroke border-solid border",Re="border-main-divider border border-t-0 border-x-0",Ae="w-[200px] mr-6",Me=n((({icon:e,image:t,title:n,link:i})=>a("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${je} ${_e}`,role:"columnheader",scope:"col",children:[e&&!t?.src&&r(m,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",name:e,width:"63",height:"63"}),t?.src&&r(w,{className:"mb-[18px]",image:t}),n&&r(s,{headingType:"h4",className:"text-center text-white",title:n}),i?.text&&r("div",{className:"mt-auto w-full",children:r(H,{href:i.href,target:i.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:r("div",{className:"font-medium text-xs py-[11px]",children:i.text})})})]}))),Be={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},Pe=n((({children:e,activeCardIndex:t,columnWidth:a,version:n="comparison"})=>r("div",{className:"flex flex-1 overflow-hidden",children:r("div",{className:Be[n],style:{transform:`translateX(-${t*a}px)`},children:e})}))),Ve=n((({cell:e,isFirstRow:t,isLastRow:a,isFillGradient:n})=>r("div",{className:`w-80 box-border flex flex-col ${je} ${a?"border-t-0 rounded-b-md":"border-y-0"} ${n?_e:""}`,role:"cell",children:r("div",{className:`mx-7 h-full ${Re} ${n&&t?"border-t":""} ${a?"":"border-solid"}`,children:e.map(((e,t)=>Oe(e,t,n)))})}))),Oe=({label:e,description:t},n,i)=>a("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e&&r("h5",{className:"text-xl font-medium m-0 "+(i?"text-white":""),children:e}),t&&r("div",{className:"text-sm opacity-80 "+(i?"text-white":"text-secondary-text"),children:t})]},String(n)),Fe=n((({children:e})=>r("div",{className:"self-start flex flex-col",role:"row",children:r("div",{className:"flex",children:e})}))),Ze=n((({row:{header:e,data:t},activeCardIndex:n,isColoredFirstColumn:i,isFirstRow:l,isLastRow:s})=>a(Fe,{children:[e?.title?r("div",{className:`text-sm py-7 ${Re} w-[200px] mr-6 ${s?"":"border-solid"}`,children:e.title}):null,t?.length?r(Pe,{activeCardIndex:n,columnWidth:336,children:t.map(((e,t)=>r(Ve,{cell:e,isFirstRow:l,isLastRow:s,isFillGradient:i&&0===t},String(t))))}):null]}))),He=n((({className:e,context:t,title:n,rowHeaders:i,columns:l,visibleRowLength:c=0,isColoredFirstColumn:o=!1})=>{const m=t.useRouter(),{handlerDecorator:d}=t,[h,x]=t.useState(0),[p,u]=t.useState(!c),b=l?.map((({header:e})=>e||{})),f=l?.map((({data:e})=>e))||[],g=i?.map(((e,t)=>({header:e,data:f.map((e=>e?.[t]||[{}]))}))).slice(0,p?i.length:c),{nextClick:N,prevClick:v,isScrollAvailable:y,showNextButton:w,showPrevButton:k}=Ie({colData:f,colsLengthForScroll:2,activeCardIndex:h,setActiveCardIndex:x});return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),a("div",{role:"table",children:[b?.length?a(Fe,{children:[r("div",{className:Ae,role:"columnheader",scope:"col"}),r(Pe,{activeCardIndex:h,columnWidth:336,children:b.map(((e,t)=>r(Me,{...e,link:e.link&&P({router:m,handlerDecorator:d},e.link)},String(t))))})]}):null,g?.length?a("div",{className:"relative",children:[g.map(((e,t,{length:a})=>r(Ze,{row:e,isFirstRow:0===t,isLastRow:t+1===a,activeCardIndex:h,isColoredFirstColumn:o},String(t)))),y?r("div",{children:a("div",{className:"absolute top-7 right-7 z-10",children:[r(ce,{onClick:N,disabled:!w,ariaLabel:"Пролистать вправо"}),r(ce,{className:"mt-4 rotate-180",onClick:v,disabled:!k,ariaLabel:"Пролистать влево"})]})}):null]}):null]}),y?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null,c?r("div",{className:"pr-[50px]",children:a("div",{className:"flex w-full",children:[r("div",{className:Ae}),r("button",{onClick:()=>u(!p),className:"mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main",children:r("div",{className:"font-sans font-medium text-xs py-[11px]",children:p?"Скрыть":"Показать все параметры"})})]})}):null]})}));function Ge(e,t){const{data:r}=e(Ee(t),(()=>async function(e){const t=await fetch(Ee(e));return await t.json()}(t)));return r||{}}function Ee(e){return`/wcms-resources/${e||"credit-calculator-data"}.json`}const We=[{d:"M10.207.793a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L3.5 6.086 8.793.793a1 1 0 0 1 1.414 0Z",fillRule:"evenodd",clipRule:"evenodd",fill:"white"}],ze=n((({text:e,checked:t,onChange:n,className:i})=>r("div",{className:i,children:a("label",{className:"flex items-center cursor-pointer relative",children:[r("input",{className:`peer appearance-none w-5 h-5 border-solid border ${t?"border-black":"border-main-stroke"} rounded checked:bg-primary-main checked:border-primary-main m-0`,type:"checkbox",onChange:e=>{n(e.target.checked)},checked:t}),r(le,{paths:We,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),e?r("span",{className:"font-sans ml-3 text-sm leading-5 cursor-pointer",children:e}):null]})}))),Ue=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),Je=n((({className:e,title:t,items:n=[],min:i=1,max:l=100,step:s=1,value:c=i,onChange:o})=>{const m=e=>{if(!o)return;const t=Number(e.replace(/\D/g,""));o(t)},d={backgroundSize:`${(100*(c-i)/(l-i)).toFixed(2)}% 100%`};return a("div",{className:e,children:[a("label",{className:"block relative",children:[t?r("span",{className:"absolute text-xs text-secondary-text top-1 mt-0.5 pl-4 ml-0.5",children:t}):null,r("input",{className:"m-0 font-sans text-sm w-full h-12 border border-solid border-main-stroke rounded-md\n outline-none p-0 pl-4 m-0 box-border text-primary-text "+(t?"pt-4":""),value:Ue(c),onChange:e=>m(e.target.value),onBlur:()=>{o&&(c<i&&o(i),c>l&&o(l))}}),r("div",{className:"absolute inset-x-0 top-8 px-4",children:r("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:i,max:l,step:s,value:c,onChange:e=>m(e.target.value),style:d})})]}),r("div",{className:"flex justify-between my-3",children:n.map(((e,t)=>r("span",{className:"text-xs leading-[14px] text-secondary-text pl-4",children:e},String(t))))})]})})),Xe=(e,t,r)=>Math.max(t,Math.min(e,r)),Qe=3e4,qe=3e6,Ke=Math.round(41.5),Ye=n((({context:e,className:t,directoryName:n})=>{const[i,l]=e.useState(void 0),[s,c]=e.useState(void 0),[o,m]=e.useState(!0),[d,h]=e.useState(!0),x=(e=>{const{tableRows:t,isAnnuity:r=!1}=e;return t&&t.find((e=>e.isAnnuity===r))||{}})({tableRows:Ge(e.useAsyncData,n).rows,isAnnuity:o}),p=x.maxSum&&x.minSum?(x.maxSum-x.minSum)/2:1485e3,u=x.maxMonths&&x.minMonths?Math.round((x.maxMonths-x.minMonths)/2):Ke,b=x?.minSum||Qe,f=x?.maxSum||qe,g=x?.minMonths||1,N=x?.maxMonths||84,v=(e=>{const{calculatorParams:t,isInsurance:r}=e;return t?r?t?.rateWithInsurance||5:t?.rateWithoutInsurance||5:5})({calculatorParams:x,isInsurance:d}),y=(e=>{const{calculatorParams:t,paymentType:r,rate:a,sum:n,months:i}=e;if(!t)return 0;const l=Xe(n,t.minSum||Qe,t.maxSum||qe);if("annuity"===r){const e=Number(a)/1200;return l*(e+e/(Math.pow(1+e,i)-1))}return l/i+l*(Number(a)/12)})({calculatorParams:x,paymentType:"annuity",rate:v,sum:i||p,months:s||u}),w=((e,t)=>{const r=Math.ceil((t-e)/12),a=Math.floor(e/12)+1,n=new Array(Math.min(r-1,5)).fill(0).map(((e,t)=>a+t)),i=r+a-1;return n.concat(i)})(g,N);function k(e){c(Xe(12*e,g,N))}return r("section",{className:`font-sans text-primary-text p-10 bg-white ${t||""}`,children:a("div",{className:"box-border p-[49px] pr-[56px] mx-auto w-max border-solid border-[3px] border-primary-main rounded-md",children:[a("div",{className:"flex justify-between ",children:[a("div",{className:"mr-[42px]",children:[r(Je,{title:"Желаемая сумма кредита, ₽",items:[`От ${Ue(b)} рублей`,`До ${Ue(f)} рублей`],min:b,max:f,step:1e3,value:i||p,onChange:l}),r(Je,{className:"mt-[23px]",title:"Срок кредита, месяцев",items:["Или выберите из предложенных вариантов ниже"],min:g,max:N,step:1,value:s||u,onChange:c}),r("div",{className:"flex mb-7",children:w.map(((e,t)=>function(e,t,n){return r("button",{className:"bg-secondary-light rounded-3xl h-10 w-[75px] box-border mr-2 flex items-center justify-center cursor-pointer border-none",onClick:()=>n(e),children:a("span",{className:"font-semibold text-sm",children:[e," ",1===e?"год":e>4?"лет":"года"]})},String(t))}(e,t,k)))}),r(ze,{text:"Получаю пенсию на карту Россельхозбанка",checked:o,onChange:m}),r(ze,{className:"mt-3 mb-7",text:"Комплексная страховая защита",checked:d,onChange:h})]}),a("div",{className:"box-border h-fit p-9 bg-primary-main rounded-md text-white",children:[r("div",{className:"text-base mb-[18px]",children:"Наше предложение"}),r("div",{className:"text-sm opacity-60",children:"Ежемесячный платёж"}),a("div",{className:"text-lg mb-3",children:[Ue(Math.round(y))," ₽"]}),r("div",{className:"text-sm opacity-60",children:"Ставка"}),a("div",{className:"text-lg",children:[v," %"]})]})]}),a("div",{className:"flex items-center",children:[r(H,{className:"mr-3",text:"Отправить заявку",version:"primary",href:"#"}),r("div",{className:"w-80 text-2xs leading-4 text-secondary-text","aria-label":"Соглашение на обработку персональных данных",children:"Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно требованиям ФЗ «О персональных данных»"})]})]})})}));const et="https://www.cbr-xml-daily.ru/daily_json.js",tt=["USD","EUR"],rt={USD:"DollarIcon",EUR:"EuroIcon"},at=[{text:"Все показатели",href:"https://cbr.ru/currency_base/daily/",version:"secondary"}],nt=n((({className:e="",context:t,title:n="Курсы обмена валют"})=>{const{data:i}=t.useAsyncData(et,st);return r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n&&r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:at?.length?r(G,{context:t,buttons:at,className:"flex mt-9 gap-3"}):null,children:a("table",{children:[r("thead",{children:a("tr",{children:[r(it,{children:"Валюта"}),r(it,{className:"pl-11",children:"Курс"})]})}),r("tbody",{children:tt.map(mt(i))})]})})})})),it=n((({className:e="",children:t})=>r("th",{className:`text-left font-normal text-sm text-secondary-text ${e}`,children:t}))),lt=n((({className:e="",children:t})=>r("td",{className:`text-left font-normal text-base text-primary-text ${e}`,children:t})));async function st(){const e=await fetch(et);return await e.json()}const ct=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),ot=e=>e?ct.format(e):"",mt=e=>t=>{const n=(e?.Valute||{})[t]?.Value;return a("tr",{children:[r(lt,{className:"pt-4",children:a("div",{className:"flex items-center",children:[r(m,{name:rt[t],width:"24",height:"24"}),r("span",{className:"ml-2",children:t})]})}),r(lt,{className:"pt-4 pl-11",children:ot(n)})]},t)},dt=["m13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z","M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z","M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z","M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z","M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z"],ht={"bg-white":"text-primary-main",transparent:"text-white"},xt={"bg-white":"text-black",transparent:"text-white"},pt=n((({className:e,href:t,children:n,targetBlank:i,bgColor:l="bg-white",hideTitle:s})=>a("a",{className:`inline-flex items-center font-sans no-underline ${e||""}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self","aria-label":"Россельхозбанк",children:[r(le,{className:`${ht[l]} w-10`,viewBox:"0 0 40 45",paths:dt.map((e=>({d:e})))}),!s&&r("span",{className:`${xt[l]} text-base font-medium ml-2.5`,children:n||"Россельхозбанк"})]}))),ut=n((({className:e,context:t})=>{const{term:n,setTerm:i}=t.useSearch();return a("form",{className:`relative ${e||""}`,children:[a("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[r("div",{className:"w-[24px] h-[24px]",children:r(m,{name:"LoupeIcon",width:"24",height:"24"})}),!n&&r("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-base text-secondary-text",children:"Поиск по сайту"})]}),r("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:n,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input"}),r(H,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:r("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),bt=n((({className:e,items:t,hasButton:n,context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return a("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(ft):null,n?r(H,{version:"primary",className:"my-4",...P({router:l,handlerDecorator:s},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),ft=(e,t)=>{const{type:n,text:i,description:l}=e;return a("div",{className:"mb-4",children:[r("div",{children:gt(n,i)}),r("div",{className:"font-sans text-sm text-secondary-text",children:l})]},String(t))},gt=(e,t="")=>{switch(e){case"tel":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${Nt(t)}`,children:t});case"email":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return r("span",{children:t})}},Nt=e=>e.replaceAll(/\D/g,""),vt=n((({links:e,className:t="",context:a})=>{const n=a.useRouter(),{handlerDecorator:i}=a;return r("div",{className:t,children:e?.length?r("div",{className:"flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider",children:e.map(((e,t)=>r(yt,{index:t,...P({router:n,handlerDecorator:i},e)},String(t))))}):null})})),yt=n((({className:e="",index:t,text:a,href:n,target:i,onClick:l})=>r("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:n,target:i,onClick:l,children:a||`Документ ${t}`}))),wt=e=>t=>e?.href===t?.href,kt=(e,t)=>{return(a=e,n=t,(a||[]).map((e=>n?.find(wt(e))||e))).concat((r=e,(t||[]).filter((e=>!r?.find(wt(e))))));var r,a,n};function $t(e){const{data:t}=e(St(),Ct);return t||{}}async function Ct(){const e=await fetch(St());return await e.json()}function St(){return`/wcms-resources/${c.SITEMAP||"sitemap"}.json`}const Tt=n((({className:e,items:t,context:a})=>{const n=$t(a.useAsyncData),i=kt(n.topItems,t),l={router:a.useRouter(),handlerDecorator:a.handlerDecorator};return r("div",{className:`flex items-start justify-start gap-11 xl:gap-5 ${e||""}`,children:i?.map(((e,t)=>Dt(e,t,l)))})})),Dt=(e,t,{router:n,handlerDecorator:i})=>{const{text:l,href:s,items:c,target:o}=e;return a("div",{className:"flex flex-col gap-[14px]",children:[r("a",{className:"block font-sans font-medium text-base text-primary-text no-underline",href:s,target:o||"_self",children:l||`Раздел ${t}`}),c?.map(((e,t)=>r(Lt,{...P({router:n,handlerDecorator:i},e),index:t},String(t))))]},String(t))},Lt=n((({text:e,href:t,target:a,index:n})=>r("a",{className:"block font-sans font-normal text-base text-secondary-text hover:text-primary-main no-underline",href:t,target:a||"_self",children:e||`Раздел ${n}`}))),It=[{origins:["t.me","telegram.org"],icon:"TelegramIcon",label:"Телеграм",width:"20px",height:"16px"},{origins:["vk.com"],icon:"VKIcon",label:"ВКонтакте",width:"24px",height:"12px"},{origins:["ok.ru"],icon:"OkIcon",label:"Одноклассники",width:"12px",height:"20px"}],_t=n((({href:e})=>{const{icon:t,width:a,height:n,label:i}=It.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?r("a",{className:"flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main",href:e,"aria-label":i,target:"_blank",rel:"noopener noreferrer",children:m&&r(m,{name:t,width:a,height:n,asSVG:!0,className:"block"})}):null})),jt=n((({className:e,media:t,context:a})=>{const n=a.useRouter(),{handlerDecorator:i}=a;return r("div",{className:`flex items-end justify-end gap-2 pt-[30px] pb-7 ${e||""}`,children:t?.map(((e,t)=>r(_t,{...P({router:n,handlerDecorator:i},e)},String(t))))})})),Rt=n((({className:e,links:t,context:n})=>{const i=n.useRouter(),{handlerDecorator:l}=n;return a("div",{className:`${e||""}`,children:[r("div",{className:"pt-5 pb-[5px]",children:r("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?r("div",{className:"flex justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>r(At,{index:t,...P({router:i,handlerDecorator:l},e)},String(t))))}):null]})})),At=n((({className:e,index:t,text:a,href:n,target:i,onClick:l})=>r("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:n,target:i,onClick:l,children:a||`Документ ${t}`}))),Mt=n((({className:e,documents:t,relatedEnterprises:n,contacts:i,socialMedia:l,topItems:s,context:c})=>a("footer",{className:`px-9 py-10 bg-white ${e||""}`,children:[a("div",{className:"flex items-stretch gap-[54px] pb-8 xl:gap-8",children:[r(pt,{className:"w-[280px] xl:w-[220px]"}),r(ut,{context:c,className:"grow"})]}),a("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[r(bt,{className:"w-[280px] shrink-0 overflow-hidden xl:w-[220px]",items:i,context:c,hasButton:!0}),r(Tt,{className:"pt-[3px]",context:c,items:s})]}),r(jt,{media:l,context:c}),r(vt,{links:n,context:c}),r(Rt,{links:t,context:c})]}))),Bt=(e,t,r=((e,t)=>t.startsWith(e)))=>r(_(e),(e=>(e||"").replace(A,""))(_(I(e)?t.href:t.pathname))),Pt=e=>t=>Bt(t.href,e),Vt=e=>(t=[])=>{const r=t?.filter(Pt(e));var a;return r?.length?(a=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>a(e)>a(t)?e:t)))(r):null},Ot=e=>t=>t.items?.some(Pt(e))||Bt(t.href,e)||((e,t)=>j(e)===j(t.href))(t.href,e),Ft="absolute left-0 -bottom-3 w-full h-[2px]",Zt=n((({className:e,text:t,href:n,target:i,active:l,onClick:s,children:c,bgColor:o="bg-white"})=>a("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:n,target:i,onClick:s,children:[r("span",{className:Ht(o,l),children:t||c}),l?r("div",{className:Gt(o,l)}):null]}))),Ht=(e,t)=>{let r="text-white";return"bg-white"===e&&(r=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${r} font-sans font-normal text-base`},Gt=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Ft}`:Ft,Et=n((({className:e="",text:t,href:a,target:n,active:i,flat:l,onClick:s,children:c,ariaLabel:o,bgColor:m="bg-white"})=>r("a",{className:`${Wt(m,i,l)} ${e}`,href:a,target:n,onClick:s,rel:"noopener noreferrer","aria-label":o,children:r("span",{className:zt(m,i,l),children:t||c})}))),Wt=(e,t,r)=>{let a="border-transparent";return t&&(a="rounded-md "+("bg-white"===e?"border-primary-main":"border-white")),`${a} inline-block border border-solid bg-transparent text-center no-underline ${r?"":"px-4 py-2"}`},zt=(e,t,r)=>{let a="text-white";return"bg-white"===e&&(a=t?"text-primary-main":(r?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"),`${a} font-sans font-normal text-sm`},Ut=n((({className:e="",children:t,ariaLabel:a})=>r("button",{type:"button",className:`border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${e}`,disabled:!0,"aria-label":a,children:t}))),Jt={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},Xt={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},Qt={"bg-white":"GridIcon",transparent:"GridIconWhite"},qt=n((({context:e,className:t,defaultLocation:n="",bgColor:i="bg-white"})=>{const[l,s]=e.useGeolocation(n);return a("div",{className:`flex items-center ${t||""}`,children:[r(Et,{className:"mr-5",flat:!0,href:"#",text:l,ariaLabel:"Местоположение",onClick:s,bgColor:i}),r(Et,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:i}),r(Ut,{className:`mr-5 ${Jt[i]}`,ariaLabel:"Поиск по сайту",children:r(m,{name:"LoupeIcon",className:"h-full",asSVG:!0,color:"none"})}),r(Ut,{className:`mr-5 ${Jt[i]}`,ariaLabel:"Профиль",children:r(m,{name:"ProfileIcon",className:"h-full",asSVG:!0,color:"none"})}),r(Ut,{className:`${Xt[i]} min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:r(m,{name:Qt[i],className:"h-full",asSVG:!0,color:"none"})})]})})),Kt={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},Yt=n((({className:e,defaultLocation:t,bgColor:n="bg-white",context:i,topItems:l})=>{const s=i.useRouter(),c=$t(i.useAsyncData),{handlerDecorator:o}=i,m=kt(c.topItems,l),d=m.find(Ot(s)),h=d?.items,x=Vt(s)(h),p=m.map(((e,t)=>r(Et,{active:e===d,...P({router:s,handlerDecorator:o},e),ariaLabel:e.text,bgColor:n},String(t)))),u=h?.map((e=>r(Zt,{className:"mr-8",active:e===x,...P({router:s,handlerDecorator:o},e),bgColor:n},e.href)));return r("header",{className:`pt-5 pb-8 px-20 ${n} ${e||""}`,children:a("div",{className:"container",children:[a("div",{className:"flex items-center",children:[r(pt,{className:"mr-8",bgColor:n}),p,r(qt,{context:i,className:"ml-auto",defaultLocation:t,bgColor:n})]}),r("div",{className:`mt-5 h-[1px] ${Kt[n]}`}),r("nav",{className:"mt-5",children:u})]})})})),er=n((({className:e="",context:t,title:n="Мобильное приложение",qr:i,buttons:l=[]})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n&&r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:l?.length?r(G,{context:t,buttons:l,className:"flex mt-9 gap-3"}):null,children:a("div",{className:"flex items-center",children:[i?.src&&i?.href&&r("a",{href:i.href,target:"_blank",children:r("img",{src:i.src,alt:n,title:n,width:"164",height:"164",className:"w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light"})}),r("span",{className:"font-normal text-sm text-secondary-text ml-4",children:"Наведите камеру телефона на QR-код и скачайте приложение"})]})})}))),tr=n((({className:e,text:t,onClick:a,href:n,target:i,isActive:l})=>r("a",{className:`bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${e||""} ${l?"border-primary-main text-primary-main":"border-white text-secondary-text"}`,onClick:a,href:n,target:i,children:t}))),rr=n((({className:e,context:t,title:n,buttons:i})=>{const l=t.useRouter(),{handlerDecorator:s}=t,c=Vt(l)(i);return a("section",{className:`font-sans text-primary-text rounded-[40px] flex items-center justify-between ${e||""}`,children:[r("h2",{className:"font-medium text-xl m-0",children:n}),i?.length?r("div",{className:"flex rounded-md overflow-hidden bg-white",children:i.filter((({text:e})=>e)).map(((e,t)=>r(tr,{className:"first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md",isActive:e===c,...P({router:l,handlerDecorator:s},e)},String(t))))}):null]})})),ar=n((({className:e,context:t,title:a})=>r(re,{className:e,context:t,title:a,description:"Блок в разработке...",children:r("figure",{className:"m-0 min-w-[600px]",children:nr()})}))),nr=(e=3)=>lr(100,e).map((e=>Math.floor(e))).map(ir),ir=(e=100,t)=>r("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),lr=(e,t)=>[e].concat(t>0?lr(e/1.618,t-1):[]),sr=n((({text:e,href:t,target:a,onClick:n,className:i="",children:l})=>t?r("a",{className:`no-underline ${i}`,href:t,target:a,onClick:n,children:r("span",{className:i,children:e||l})}):r("span",{className:i,children:e||l})));function cr(e){return t=>t.reduce(((t,r,a)=>t.length?t.concat({...e,key:a},r):[r]),[])}const or={primary:"bg-main",secondary:"bg-white/30"},mr={primary:"text-primary-text",secondary:"text-white"},dr={primary:"text-secondary-text",secondary:"text-white"};const hr=n((({className:e="",context:t,title:n,headingType:i="h2",description:l,benefits:c,buttons:o,image:d,items:h,version:x="primary"})=>a("div",{className:`flex grow justify-between items-stretch ${e}`,children:[r("div",{className:"flex flex-col",children:a(Q,{context:t,title:n&&r(s,{headingType:i,title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:o?.length?r(G,{context:t,buttons:o,className:"flex mt-9 gap-3"}):null,children:[l&&r(E,{className:"mt-4 max-w-[600px]",description:l}),c?.length?r("div",{className:"flex gap-6 mt-6 mb-3.5",children:c.map(((e,t)=>function(e,t,n){return a("div",{className:"flex gap-4 items-center",children:[e.icon&&r(m,{className:`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${or[n]}`,name:e.icon,width:"24",height:"24",asSVG:!0}),a("div",{className:"flex gap-1 flex-col h-full max-w-[149px]",children:[r("div",{className:`font-medium text-xl m-0 ${mr[n]}`,children:e.label}),e.description&&r("div",{className:`font-normal text-sm ${dr[n]}`,children:e.description})]})]},String(t))}(e,t,x)))}):null,h?.length?r(X,{items:h}):null]})}),d?.src&&r(w,{className:"mt-auto",image:d})]}))),xr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},pr={primary:"text-secondary-text",secondary:"text-white/80"},ur=n((e=>{const{context:t,className:n,breadcrumbs:i,version:l="primary"}=e,s=t.useRouter(),{handlerDecorator:c}=t;return a("section",{className:`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${n||""} ${xr[l]}`,children:[i?.length?r("div",{className:"text-xs mb-6",children:cr(r("span",{className:`mx-2 ${pr[l]}`,children:"/"}))(i.map(((e,t)=>r(sr,{...P({router:s,handlerDecorator:c},{className:pr[l],...e})},String(t)))))}):null,r(hr,{...e})]})})),br=n((({className:e,context:t,duration:n=0,slides:i=[]})=>{const l=i.map((e=>e.nav)),s=i.map((e=>e.productBlock)),[c,o]=t.useState(0);return a("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,children:[r("div",{className:"flex duration-1000",style:{transform:`translateX(-${c}00%)`},role:"list",children:s.map(((e,a)=>function(e,t,a){return r("section",{className:"flex grow-0 shrink-0 basis-full",role:"listitem",children:r("div",{className:"p-10 flex grow",children:r(hr,{className:"pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]",context:a,...e})})},String(t))}(e,a,t)))}),r("div",{className:"flex",children:l.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:n,onClick:i,duration:l}){const s=t===n,c=s?"animate-slide":"",o=s?"text-primary-text":"text-secondary-text";return a("button",{type:"button",onClick:i,"aria-label":e?.title,className:"font-sans group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 pt-4 pb-5 grow basis-0",children:[a("div",{className:"border-0 border-r border-solid border-main-divider px-6",children:[r("div",{className:`text-sm font-medium pb-1 group-hover:text-primary-text ${o}`,children:e?.title}),r("div",{className:"text-xs text-secondary-text pb-[2px]",children:e.desc})]}),r("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${c}`,style:{animationDuration:`${l}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:c,onClick:()=>o(t),duration:n})))})]})}));const fr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},gr=n((({className:e="",context:t,title:n="Акции и спецпредложения",date:i,description:l,buttons:c=[],version:o="primary"})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${fr[o]} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n?r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:c?.length?r(G,{context:t,buttons:c,className:"flex mt-9 gap-3"}):null,children:a("div",{className:"mt-1.5",children:[i?r("div",{className:"text-sm mb-2",children:Nr(i)}):null,r("div",{className:"text-base",children:l})]})})})));function Nr(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const vr=n((({className:e,title:t,showLines:n=!0,steps:i})=>a("section",{className:`box-border font-sans text-primary-text bg-white px-20 py-[50px] flex flex-col items-center ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}),i?.length?a("div",{className:"box-border py-0.5 mb-0.5 "+(t?"mt-9":""),children:[r("div",{className:"flex items-center px-[88px]",children:cr(r("div",{className:"h-0.5 w-full bg-secondary-light "+(n?"":"opacity-0")}))(i.map(((e,t)=>yr(e,t))))}),r("div",{className:"flex justify-between gap-x-[101px]",children:i.map(wr)})]}):null]}))),yr=(e,t)=>r("div",{className:"flex flex-col items-center text-center relative",children:r("div",{className:"h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10",children:e.icon&&r(m,{name:e.icon,width:"48",height:"48"})||r("span",{className:"font-medium text-title-sm text-secondary-text",children:t+1})})},String(t)),wr=(e,t)=>a("div",{className:"flex flex-col items-center text-center relative w-[276px] whitespace-pre-line overflow-hidden",children:[e.label&&r("div",{className:"font-medium text-xl m-0 mt-4",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text "+(e.label?"mt-2":"mt-4"),children:e.description})]},String(t)),kr=n((({cell:e,isLastRow:t})=>r("div",{className:"first:pl-0 pl-10 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 "+(t?"border-t-0 rounded-b-md":""),role:"cell",children:r("div",{children:e.map(((e,t)=>$r(e,t)))})}))),$r=({label:e,description:t,list:n,image:i,buttons:l},s)=>a("div",{className:"first:pt-5 last:pb-5",children:[s>0&&r("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-4"}),e&&r("div",{className:"text-xl font-medium m-0",children:e}),t&&r("div",{className:"text-sm text-secondary-text",children:t}),n?.items?.length?r("div",{className:"flex flex-col justify-between items-start",children:r("div",{role:"list",children:n.items.map(((e,t)=>r(ue,{className:"text-sm",text:e,version:"gray",isDotted:n.isDotted??!0},String(t))))})}):null,i&&r(w,{image:i}),l?.length?l.map((({icon:e,...t},a)=>r(H,{className:(a>0?"ml-3":"")+" w-12 h-12",appendLeft:e&&r(m,{name:e,width:"24px",height:"24px",asSVG:!0}),...t},String(a)))):null]},String(s)),Cr=n((({row:{header:e,data:t},activeCardIndex:n,isLastRow:i})=>a(Fe,{children:[r("div",{className:"text-sm py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(i?"":"border-solid"),children:a("div",{className:"flex items-center text-primary-text",children:[e?.icon&&r(m,{className:"mr-[14px] max-w-6 max-h-6",name:e.icon,width:"24px",height:"24px",asSVG:!0}),e?.title]})}),t?.length?r(Pe,{activeCardIndex:n,columnWidth:360,version:"tariff",children:t.map(((e,t)=>r(kr,{cell:e,isLastRow:i},String(t))))}):null]}))),Sr=n((({className:e,context:t,title:n,rowHeaders:i,columns:l})=>{const[c,o]=t.useState(0),m=l?.map((({data:e})=>e))||[],d=i?.map(((e,t)=>({header:e,data:m.map((e=>e?.[t]||[{}]))}))),{nextClick:h,prevClick:x,isScrollAvailable:p,showNextButton:u,showPrevButton:b}=Ie({colData:m,colsLengthForScroll:2,activeCardIndex:c,setActiveCardIndex:o});return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),a("div",{role:"table",children:[d?.length?a("div",{className:"relative",children:[d.map(((e,t,{length:a})=>r(Cr,{row:e,isLastRow:t+1===a,activeCardIndex:c},String(t)))),p?r("div",{children:a("div",{className:"absolute top-7 right-7 z-10",children:[r(ce,{onClick:h,disabled:!u,ariaLabel:"Пролистать вправо"}),r(ce,{className:"mt-4 rotate-180",onClick:x,disabled:!b,ariaLabel:"Пролистать влево"})]})}):null]}):null,p?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})]})})),Tr={Accordion:Te,BenefitsBlock:De,ComparisonTable:He,CreditCalculator:Ye,ExchangeRateTile:nt,Footer:Mt,Gallery:ye,Header:Yt,Headline:h,LinkDocs:y,MiniGallery:we,MobileAppTile:er,PictureText:$,Placeholder:ar,ProductBlock:ur,ProductGallery:br,ProductTile:ne,PromoTile:gr,StepsBlock:vr,TariffsTable:Sr,TextBlock:T,Tile:re,Navigation:rr},Dr=n((({className:e,onClick:t,ariaLabel:a})=>r("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":a,children:Lr()}))),Lr=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[r("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),r("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Ir=n((({className:e,context:t})=>{const n=t.useLikeService();return a("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,children:[r(Dr,{onClick:n.like,ariaLabel:"Поставить отметку «лайк»"}),r(Dr,{onClick:n.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),r("span",{className:"select-none",children:n.likeCount})]})})),_r=({blockClassName:e,block:t,render:r})=>r({blockClassName:e,block:t}),jr=n((({className:e,context:t,blocksRegistry:n,data:{style:i,blocks:l,slots:s={},likeControl:c,colorPalette:o="pc"},blockDecorator:m=_r})=>{const{header:d}=s;return a("section",{className:`relative ${Ar(i)} ${e||""}`,"data-theme":o,children:[d?.blocks?.length?r("div",{className:`${Ar(d?.style)}`,children:d.blocks.map(((e,r)=>Rr({block:e,blockDecorator:m,blocksRegistry:n,context:t},r)))}):null,l?.length?r("div",{className:"container grid grid-cols-12 gap-1",children:l.map(((e,r)=>Rr({block:e,blockDecorator:m,blocksRegistry:n,context:t},r)))}):null,c&&r("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:r(Ir,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})}));function Rr({block:e,blockDecorator:t,blocksRegistry:a,context:n},i){const{type:l}=e;l in a||console.warn(`No block with "${l}" is registered`);const s=a[l]||ar;return t({blockClassName:Ar(e.style),block:e,render:e=>{const{version:t,content:a}=e.block;return r(s,{className:e.blockClassName,version:t,context:n,...a},`${l}-${i}`)}},`block-${i}`)}function Ar(e){return e?e.join(" "):""}const Mr=n((({HeadComponent:e,data:t,children:n})=>{const{title:i,description:l,keywords:s,robots:c,og:o}=t;return a(e,{children:[r("title",{children:i}),r("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),l&&r("meta",{name:"description",content:l}),s&&r("meta",{name:"keywords",content:s.join(",")}),c&&r("meta",{name:"robots",content:c.join(",")}),o?Object.entries(o).map((([e,t])=>r("meta",{name:`og:${e}`,content:t},e))):null,n]})}));function Br(e){const{mobile:t,...r}=e;return r}function Pr(e){return e?.filter((e=>function(e,t){return e.type in t}(e,Tr))).map(Br)}e.Blocks=Tr,e.ContentPage=jr,e.ContentPageHead=Mr,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),r=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await r.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=Yt,e.Icon=m,e.LikeAPI=function(e,t=""){async function r(){try{const e=JSON.parse(globalThis.localStorage.getItem(i)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:r,name:a}=await e.json();return globalThis.localStorage.setItem(i,JSON.stringify({token:r,name:a})),{token:r,name:a}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...a){if(!a.length)return[];const{token:n}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:a})}),{likes:i}=await r.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(a){if(!a)return 0;const{token:n,name:i}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:a,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(a){if(!a)return 0;const{token:n,name:i}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:a,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}}}},e.joinList=cr,e.normalizePage=function(e){if(!e)return;const{blocks:t,slots:r}=e;return{...e,blocks:Pr(t),slots:r&&Object.keys(r).reduce(((e,t)=>({...e,[t]:{...r[t],blocks:Pr(r[t].blocks)}})),{})}},e.projectSettings=c,e.setup=t,e.url=R,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniBlocks={})}(this,(function(e){"use strict";const t=(e,r)=>{t._jsx=e,t._jsxs=r||e};t.vue=e=>{t(((t,{children:r,dangerouslySetInnerHTML:a,...n}={})=>{const i=Object.assign({},n,a?{innerHTML:a.__html}:{});return e(t,i,"string"!=typeof t?()=>r:r)}))};const r=(...e)=>t._jsx(...e),a=(...e)=>t._jsxs(...e),n=e=>(e._tmpl||(e._tmpl=function(t,r){const{children:a,...n}=t||{},i=r?.slots?.default,l=a||i&&i();return e(Object.assign(n,l&&{children:l}),r)},e._tmpl.inheritAttrs=!1),e._tmpl);const i="likesToken";const l={h1:"text-title-lg tracking-[-0.3px]",h2:"text-title",h3:"text-title-sm",h4:"text-title-xs",h5:"text-title-2xs tracking-[0.2px]",h6:"text-title-2xs tracking-[0.2px]"},s=n((e=>{const{className:t,headingType:a,title:n}=e;if(!a)return;return r(a,{className:`font-sans font-medium ${l[a]} ${t||""}`,children:n})})),c=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ENABLE_ASSIST(){return this._.ENABLE_ASSIST}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},o={none:"",primary:"text-primary-main"},m=n((({className:e="",name:t,alt:n=`Icon ${t}`,title:i=n,asSVG:l,color:s="primary",...m})=>{const d=`${c.CDN||""}icons/${t}.svg`;return l?a("svg",{className:`${o[s]} ${e}`,...m,"aria-hidden":"true",children:[i?r("title",{children:i}):null,n?r("desc",{children:n}):null,r("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]}):r("img",{className:e,src:d,alt:n,title:i,...m,"aria-hidden":"true"})})),d={left:"text-left",center:"text-center",right:"text-right"},h=n((({bgColor:e="transparent",align:t="left",className:n="",title:i,description:l})=>{const c=d[t];return a("section",{className:`p-[50px] ${e} ${n}`,children:[i&&r(s,{headingType:"h2",className:`text-primary-text ${c}`,title:i}),l&&r("p",{className:`font-normal text-base mt-4 ${c}`,children:l})]})})),x=n((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:l,icon:s})=>{const{text:c,fileSize:o,...d}=l;return a("a",{className:e,role:"link",...d,children:[s?r(m,{className:t,name:s,width:"24px",height:"24px",asSVG:!0}):null,c?a("span",{className:n,children:[c,r("span",{className:i,children:d?.href&&p(u(d.href),o)})]}):null]})})),p=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),u=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},b=n((({className:e="",doc:t,icon:a})=>r(x,{className:e,iconClassName:"mr-2.5 min-w-6 min-h-6 text-primary-text",textClassName:"self-center",suffixClassName:"text-secondary-text group-hover:text-primary-main",doc:t,icon:a}))),f=n((({className:e,documents:t,columnsMode:a="double",icon:n})=>t?.length?r("div",{className:e,role:"list",children:t.map(((e,t)=>r("div",{className:"double"===a?"basis-[calc(50%-20px)]":"",role:"listitem",children:r(b,{className:"group flex text-sm align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main",doc:e,icon:n})},String(t))))}):null)),g={left:"text-left",center:"text-center",right:"text-right"},N={double:"mb-8",single:"mb-[26px]"},v={double:"flex gap-x-5 gap-y-[26px] flex-wrap",single:"flex gap-3.5 flex-col"},y=n((({className:e="",title:t,subtitle:n,align:i,documents:l,icon:c="DocIcon",columnsMode:o="double"})=>a("section",{className:`font-sans p-[50px] bg-white ${e}`,children:[t?r(s,{headingType:"h2",className:`${n?"mb-2.5":N[o]} ${g[i??"center"]}`,title:t}):null,n?r("h3",{className:`text-base ${N[o]} ${g[i??"center"]}`,children:n}):null,r(f,{className:v[o],columnsMode:o,documents:l,icon:c})]}))),w=n((({className:e="",image:{size:t,...n}})=>{const i={width:t?.width?`${t?.width}px`:"100%",height:t?.height?`${t?.height}px`:"100%"};return a("picture",{className:`flex-none ${e}`,children:[n.sources?.length?n.sources.map((({src:e,format:t},a)=>r("source",{srcSet:e,type:k(t)},`${a}_${e}`))):null,r("img",{className:n.className||"",src:n.src,alt:n.alt||n.title,title:n.title,style:i,...t})]})}));function k(e){return e?`image/${String(e)}`:void 0}const $=n((({className:e="",title:t,image:n,benefits:i})=>a("section",{className:`relative font-sans text-primary-text bg-white p-14 ${e}`,children:[r(s,{headingType:"h2",className:"text-center",title:t}),a("div",{className:"flex justify-center mt-9",children:[n?.src&&r(w,{className:"mr-6",image:n}),i?.length?r("div",{className:"flex flex-col",children:i.map(C)}):null]})]})));function C(e,t){return a("div",{className:"flex flex-row mb-8",children:[e.icon&&r(m,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",name:e.icon,width:"48",height:"48",asSVG:!0}),a("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&r("div",{className:"font-medium text-primary-text text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text",children:e.description})]})]},String(t))}const S={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},T=n((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:l,className:s})=>{const c=S[n];return a("section",{className:`font-sans px-9 py-4 flex ${c.background} ${s||""}`,children:["small"===i?D(c.icon):null,"big"===i?L(l):null,a("div",{className:"py-0.5",children:[e&&r("div",{className:`font-medium text-base mb-1 ${c.title}`,children:e}),t&&r("div",{className:`text-sm ${c.description}`,children:t})]})]})}));function D(e){return r("div",{className:"pt-1.5 pl-1 pr-4",children:r("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function L(e){return e?.src?r(w,{className:"pt-0.5 pr-3",image:e}):null}const I=e=>e?.includes("//"),_=e=>(e||"").replace(/\/?\?.*/,""),j=e=>{if(!e||!I(e))return;const t=e,r=t.indexOf("//"),a=t.indexOf("/",r+"//".length);return-1!==a?t.substring(0,a):t};var R=Object.freeze({__proto__:null,isURL:I,withoutQuery:_,getOrigin:j});const A="/mobile",M=(e,t)=>{if(!e)return e;const r=j(t?.href);return r?e.replace(r,"")||"/":e},B=e=>e;function P({router:e,handlerDecorator:t=B},r){const a=((e,t)=>{if(!e)return e;const r=M(e,t)||"",a=t?.pathname.startsWith(A);return a&&!I(r)?`/mobile${r}`:r})(r.href,e);return{...r,href:a,ariaLabel:r.text,onClick:t((t=>{const n=a&&!I(a),i=!r.target||"_self"===r.target;n&&i&&(t.preventDefault(),e.push(a))}),r)}}const V=n((({text:e,aboveText:t,appendLeft:n,rounded:i,version:l})=>{const s=!e&&!t&&Boolean(n);return function({buttonInnerClasses:e,appendLeft:t,withoutText:n,aboveText:i,text:l}){return a("div",{className:e,children:[t||null,n?null:a("div",{children:[r("div",{className:"text-m-2xs text-left",children:i}),r("div",{className:"text-m-button font-medium text-left",children:l})]})]})}({buttonInnerClasses:"link"!==l?`flex items-center justify-center\n ${s?"h-12 w-12":"px-8 gap-2 "+(t?"py-2":"py-3.5")} ${i?"rounded-full":""}`:null,appendLeft:n,withoutText:s,aboveText:t,text:e})}));const O={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active",link:""},F={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},Z="text-center font-sans select-none",H=n((({className:e,text:t,aboveText:a,appendLeft:n,href:i,target:l,onClick:s,children:c,disabled:o,rounded:m,version:d="none",ariaLabel:h,...x})=>{const p=c??r(V,{text:t,aboveText:a,appendLeft:n,rounded:m});return o?function({className:e,buttonInner:t,ariaLabel:a,version:n,rounded:i}){return r("div",{role:"button","aria-disabled":"true","aria-label":a,tabIndex:"-1",className:`inline-block ${Z} ${F[n]||""} ${i?"rounded-full":"rounded-md"} ${e||""}`,children:t})}({buttonInner:p,ariaLabel:h,className:e,version:d,rounded:m}):function({className:e,buttonInner:t,ariaLabel:a,version:n,rounded:i,href:l,target:s,onClick:c,rest:o}){return r("a",{className:`${Z} inline-block cursor-pointer no-underline ${O[n]||""} ${i?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:s,onClick:c,"aria-label":a,role:l?"link":"button",...o,children:t})}({buttonInner:p,ariaLabel:h,className:e,version:d,rounded:m,href:i,target:l,onClick:s,rest:x})}));const G=n((({context:e,className:t="",buttons:a})=>{const{handlerDecorator:n}=e,i=e.useRouter();return a?.length?r("div",{className:`${t}`,children:a.map(((e,t)=>function({icon:e,...t},a){if(!t?.text)return;return r(H,e?{appendLeft:r(m,{name:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(a))}(P({router:i,handlerDecorator:n},e),t)))}):null}));const E=n((e=>{const{className:t,description:a}=e;return r("div",{className:`font-normal text-base ${t||""}`,children:a})})),W={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},z={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},U=n((({className:e="",isDotted:t=!0,children:n,version:i="primary"})=>a("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&r("div",{className:J(i)}),r("span",{className:W[i],children:n})]}))),J=e=>`rounded-full inline-block mr-3 ${z[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,X=n((e=>{const{className:t="",itemClassName:a,isDotted:n,items:i,version:l}=e;return r("section",{className:`${t}`,role:"list",children:i?.length?i.map(((e,t)=>r(U,{className:a,isDotted:n,version:l,children:e},String(t)))):null})})),Q=n((({className:e="",title:t,children:n,buttons:i,image:l})=>a("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,a("div",{className:"flex grow w-full justify-between",children:[a("div",{className:"flex flex-col justify-between",children:[r("div",{children:n}),r("div",{children:i})]}),l]})]}))),q=e=>{const t="col-span-",r=e.split(/\s+/).find((e=>e.startsWith(t)));return r?parseInt(r.substring(t.length),10):12};function K(e=""){const t=q(e);return t<=4?"h4":t<=8?"h3":"h2"}function Y(e=""){const t=q(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function ee(e=""){const t=q(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const te={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},re=n((e=>{const{context:t,title:n,description:i,items:l,children:c,buttons:o,image:m,className:d="",version:h="primary",role:x}=e;return r("section",{className:`font-sans p-9 box-border ${d} ${te[h]} ${ee(d)} ${Y(d)} `,role:x,children:a(Q,{context:t,title:n&&r(s,{headingType:K(d),title:n,className:"whitespace-pre-wrap max-w-[600px] "+("primary"===h?"text-primary-text":"")}),buttons:o?.length?r(G,{context:t,buttons:o,className:"flex mt-9 gap-3"}):null,image:m?.src&&r(w,{className:"mt-auto ml-7",image:m}),children:[i&&r(E,{className:"mt-4 max-w-[600px]",description:i}),c,l?.length?r(X,{items:l}):null]})})})),ae={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},ne=n((({context:e,className:t="",title:n,description:i,benefits:l,buttons:c,image:o,version:m="primary"})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${t} ${ae[m]} ${ee(t)} ${Y(t)} `,children:a(Q,{context:e,title:n&&r(s,{headingType:K(t),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:c?.length?r(G,{context:e,buttons:c,className:"flex mt-9 gap-3"}):null,image:o?.src&&r(w,{className:"mt-auto ml-7",image:o}),children:[i&&r(E,{className:"mt-4 max-w-[600px]",description:i}),a("div",{className:"flex mt-5 mb-1",children:[l?.length?r("div",{className:"mr-8",children:l.map(ie)}):null,l?.length?r("div",{className:"pt-1",children:l.map(((e,t)=>function(e,t,a="primary"){return r("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[a]}`,children:e.description},String(t))}(e,t,m)))}):null]})]})})));function ie(e,t){return r("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.label},String(t))}const le=n((({className:e,viewBox:t,fill:a="none",width:n,height:i,paths:l,...s})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:a,width:n,height:i,children:l.map((({d:e,fill:t,...a},n)=>r("path",{d:e,fill:t||"currentColor",...s,...a},n)))}))),se=[{d:"m9 12 4-4-4-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",fill:"none"},{d:"M2 9a1 1 0 0 1 0-2v2Zm6-2a1 1 0 0 1 0 2V7ZM2 7h6v2H2V7Z"}],ce=n((({className:e,disabled:t,...a})=>r(H,{rounded:!0,className:`shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...a,children:r(le,{paths:se,viewBox:"0 0 16 16",fill:"none",width:"16",height:"16"})}))),oe={primary:"bg-white text-secondary-text",secondary:"bg-primary-main text-white"},me={normal:3,mini:4},de={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},he={normal:380,mini:276},xe={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},pe={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},ue=n((({className:e="",isDotted:t=!0,text:n,children:i,version:l="primary"})=>a("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&r("div",{className:be(l)}),r("span",{className:xe[l],children:n||i})]}))),be=e=>`rounded-full inline-block mr-3 ${pe[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,fe=n((({title:e,description:t,image:n,items:i,button:l,version:s})=>a("div",{children:[a("div",{children:[n?.src?r("div",{className:"flex justify-center",children:r(w,{className:"mb-6",image:n})}):null,e&&ge(e,t,i),t?r("div",{className:"font-normal text-sm mt-2",children:t}):null,i?.length?r("section",{className:"max-w-[308px] mt-2",role:"list",children:i.filter((e=>e.text)).map(((e,t)=>function(e,t,a){return r(ue,{version:a??"primary",children:r("span",{className:"text-sm",children:e})},String(t))}(e.text,t,s)))}):null]}),l?.text&&r(H,{className:"mt-6",...l})]})));function ge(e,t,a){return r("div",{className:"font-medium text-xl m-0 "+(t||a?.length?"":"text-center"),children:e})}const Ne=n((({context:e,title:t,description:n,cards:i=[],version:l="normal",activeCardIndex:c})=>a("div",{children:[r("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"}),a("div",{className:"flex flex-col items-center mb-8",children:[t?r(s,{headingType:"h2",className:"text-center",title:t}):null,n?r("div",{className:"font-normal text-base max-w-[600px] mt-2.5",children:n}):null]}),r("div",{className:`flex ${i?.length<=me[l]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${c*he[l]}px)`},role:"list",children:i?.map(((t,a)=>function({card:e,version:t},a){return r("section",{className:`box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between\n items-stretch ${de[t]} ${oe[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:r(fe,{...e})},String(a))}({card:t,version:l,context:e},a)))})]})));const ve=n((({context:e,cards:t=[],className:n="",version:i="normal",...l})=>{const[s,c]=e.useState(0),o=t?.length>me[i],m=o&&t?.length-s>me[i],d=o&&s>0;return a("section",{className:`relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${n}`,children:[r(Ne,{context:e,cards:t,version:i,activeCardIndex:s,...l}),d&&r(ce,{className:"absolute top-1/2 left-8 rotate-180",onClick:()=>c(s-1),ariaLabel:"Пролистать влево"}),m&&r(ce,{className:"absolute top-1/2 right-1 z-10",onClick:()=>c(s+1),ariaLabel:"Пролистать вправо"}),r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"})]})})),ye=n((e=>r(ve,{...e,version:"normal"}))),we=n((e=>r(ve,{...e,version:"mini"}))),ke={Headline:h,LinkDocs:y,TextBlock:T,PictureText:$,Tile:re,ProductTile:ne,Gallery:ye,MiniGallery:we},$e=n((({blocks:e,context:t})=>r("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:e?.length?e.map(Ce(t)):null}))),Ce=e=>(t,a)=>{const n=t?.accordionBlockType;if(!n||!(n in ke))return null;return r("div",{className:"mb-5 last:mb-0 pb-5",children:r(ke[n],{context:e,...t,className:"!p-0"})},`block_${a}`)},Se=n((({label:e,blocks:t,context:n})=>{const{hasContent:i,icon:l,handleToggle:s}=(({context:e,blocks:t})=>{const[r,a]=e.useState(!1),n=t?.length;return{isActive:r,hasContent:n,icon:r?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!n)return;a(!r);const t=(({target:e})=>"BUTTON"===e.tagName?e.nextSibling:e.parentNode.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:n,blocks:t});return a("li",{className:"border-0 border-b border-solid border-main-divider last:border-b-0",children:[a("button",{className:"border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans text-primary-text\n "+(i?"group cursor-pointer":""),onClick:s,children:[r("span",{className:"text-xl pr-2.5 font-medium "+(i?"group-hover:text-primary-main":""),children:e}),i?r(m,{name:l,width:"24",height:"24",asSVG:!0}):null]}),i?r($e,{blocks:t,context:n}):null]})})),Te=n((({title:e,accordionItems:t,context:n,className:i})=>a("section",{className:`p-[50px] font-sans bg-white text-primary-text ${i||""}`,children:[e?r(s,{headingType:"h4",className:"mb-2.5",title:e}):null,t?.length?r("ul",{className:"list-none m-0 p-0",children:t.map(((e,t)=>r(Se,{...e,context:n},`AccordionItem${t}`)))}):null]}))),De=n((({className:e,title:t,benefits:n})=>a("section",{className:`font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${e||""}`,children:[t?r(s,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}):null,n?.length?r("div",{className:"grid grid-cols-2 gap-5 mt-9",children:n.map(Le)}):null]}))),Le=(e,t)=>a("div",{className:"flex items-center p-10 gap-5 max-w-[580px]",children:[e.icon&&r(m,{className:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",name:e.icon,width:"70",height:"70"}),a("div",{children:[r("h3",{className:"font-medium text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm mt-2",children:e.description})]})]},String(t)),Ie=({colData:e,colsLengthForScroll:t,activeCardIndex:r,setActiveCardIndex:a})=>{const n=e?.length&&e.length>t;return{nextClick:()=>a(r+1),prevClick:()=>a(r-1),isScrollAvailable:n,showNextButton:n&&e?.length-r>t,showPrevButton:n&&r>0}},_e="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",je="border-main-stroke border-solid border",Re="border-main-divider border border-t-0 border-x-0",Ae="w-[200px] mr-6",Me=n((({icon:e,image:t,title:n,link:i})=>a("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${je} ${_e}`,role:"columnheader",scope:"col",children:[e&&!t?.src&&r(m,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",name:e,width:"63",height:"63"}),t?.src&&r(w,{className:"mb-[18px]",image:t}),n&&r(s,{headingType:"h4",className:"text-center text-white",title:n}),i?.text&&r("div",{className:"mt-auto w-full",children:r(H,{href:i.href,target:i.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:r("div",{className:"font-medium text-xs py-[11px]",children:i.text})})})]}))),Be={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},Pe=n((({children:e,activeCardIndex:t,columnWidth:a,version:n="comparison"})=>r("div",{className:"flex flex-1 overflow-hidden",children:r("div",{className:Be[n],style:{transform:`translateX(-${t*a}px)`},children:e})}))),Ve=n((({cell:e,isFirstRow:t,isLastRow:a,isFillGradient:n})=>r("div",{className:`w-80 box-border flex flex-col ${je} ${a?"border-t-0 rounded-b-md":"border-y-0"} ${n?_e:""}`,role:"cell",children:r("div",{className:`mx-7 h-full ${Re} ${n&&t?"border-t":""} ${a?"":"border-solid"}`,children:e.map(((e,t)=>Oe(e,t,n)))})}))),Oe=({label:e,description:t},n,i)=>a("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e&&r("h5",{className:"text-xl font-medium m-0 "+(i?"text-white":""),children:e}),t&&r("div",{className:"text-sm opacity-80 "+(i?"text-white":"text-secondary-text"),children:t})]},String(n)),Fe=n((({children:e})=>r("div",{className:"self-start flex flex-col",role:"row",children:r("div",{className:"flex",children:e})}))),Ze=n((({row:{header:e,data:t},activeCardIndex:n,isColoredFirstColumn:i,isFirstRow:l,isLastRow:s})=>a(Fe,{children:[e?.title?r("div",{className:`text-sm py-7 ${Re} w-[200px] mr-6 ${s?"":"border-solid"}`,children:e.title}):null,t?.length?r(Pe,{activeCardIndex:n,columnWidth:336,children:t.map(((e,t)=>r(Ve,{cell:e,isFirstRow:l,isLastRow:s,isFillGradient:i&&0===t},String(t))))}):null]}))),He=n((({className:e,context:t,title:n,rowHeaders:i,columns:l,visibleRowLength:c=0,isColoredFirstColumn:o=!1})=>{const m=t.useRouter(),{handlerDecorator:d}=t,[h,x]=t.useState(0),[p,u]=t.useState(!c),b=l?.map((({header:e})=>e||{})),f=l?.map((({data:e})=>e))||[],g=i?.map(((e,t)=>({header:e,data:f.map((e=>e?.[t]||[{}]))}))).slice(0,p?i.length:c),{nextClick:N,prevClick:v,isScrollAvailable:y,showNextButton:w,showPrevButton:k}=Ie({colData:f,colsLengthForScroll:2,activeCardIndex:h,setActiveCardIndex:x});return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),a("div",{role:"table",children:[b?.length?a(Fe,{children:[r("div",{className:Ae,role:"columnheader",scope:"col"}),r(Pe,{activeCardIndex:h,columnWidth:336,children:b.map(((e,t)=>r(Me,{...e,link:e.link&&P({router:m,handlerDecorator:d},e.link)},String(t))))})]}):null,g?.length?a("div",{className:"relative",children:[g.map(((e,t,{length:a})=>r(Ze,{row:e,isFirstRow:0===t,isLastRow:t+1===a,activeCardIndex:h,isColoredFirstColumn:o},String(t)))),y?r("div",{children:a("div",{className:"absolute top-7 right-7 z-10",children:[r(ce,{onClick:N,disabled:!w,ariaLabel:"Пролистать вправо"}),r(ce,{className:"mt-4 rotate-180",onClick:v,disabled:!k,ariaLabel:"Пролистать влево"})]})}):null]}):null]}),y?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null,c?r("div",{className:"pr-[50px]",children:a("div",{className:"flex w-full",children:[r("div",{className:Ae}),r("button",{onClick:()=>u(!p),className:"mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main",children:r("div",{className:"font-sans font-medium text-xs py-[11px]",children:p?"Скрыть":"Показать все параметры"})})]})}):null]})}));function Ge(e,t){const{data:r}=e(Ee(t),(()=>async function(e){const t=await fetch(Ee(e));return await t.json()}(t)));return r||{}}function Ee(e){return`/wcms-resources/${e||"credit-calculator-data"}.json`}const We=[{d:"M10.207.793a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L3.5 6.086 8.793.793a1 1 0 0 1 1.414 0Z",fillRule:"evenodd",clipRule:"evenodd",fill:"white"}],ze=n((({text:e,checked:t,onChange:n,className:i})=>r("div",{className:i,children:a("label",{className:"flex items-center cursor-pointer relative",children:[r("input",{className:`peer appearance-none w-5 h-5 border-solid border ${t?"border-black":"border-main-stroke"} rounded checked:bg-primary-main checked:border-primary-main m-0`,type:"checkbox",onChange:e=>{n(e.target.checked)},checked:t}),r(le,{paths:We,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),e?r("span",{className:"font-sans ml-3 text-sm leading-5 cursor-pointer",children:e}):null]})}))),Ue=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),Je=n((({className:e,title:t,items:n=[],min:i=1,max:l=100,step:s=1,value:c=i,onChange:o})=>{const m=e=>{if(!o)return;const t=Number(e.replace(/\D/g,""));o(t)},d={backgroundSize:`${(100*(c-i)/(l-i)).toFixed(2)}% 100%`};return a("div",{className:e,children:[a("label",{className:"block relative",children:[t?r("span",{className:"absolute text-xs text-secondary-text top-1 mt-0.5 pl-4 ml-0.5",children:t}):null,r("input",{className:"m-0 font-sans text-sm w-full h-12 border border-solid border-main-stroke rounded-md\n outline-none p-0 pl-4 m-0 box-border text-primary-text "+(t?"pt-4":""),value:Ue(c),onChange:e=>m(e.target.value),onBlur:()=>{o&&(c<i&&o(i),c>l&&o(l))}}),r("div",{className:"absolute inset-x-0 top-8 px-4",children:r("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:i,max:l,step:s,value:c,onChange:e=>m(e.target.value),style:d})})]}),r("div",{className:"flex justify-between my-3",children:n.map(((e,t)=>r("span",{className:"text-xs leading-[14px] text-secondary-text pl-4",children:e},String(t))))})]})})),Xe=(e,t,r)=>Math.max(t,Math.min(e,r)),Qe=3e4,qe=3e6,Ke=Math.round(41.5),Ye=n((({context:e,className:t,directoryName:n})=>{const[i,l]=e.useState(void 0),[s,c]=e.useState(void 0),[o,m]=e.useState(!0),[d,h]=e.useState(!0),x=(e=>{const{tableRows:t,isAnnuity:r=!1}=e;return t&&t.find((e=>e.isAnnuity===r))||{}})({tableRows:Ge(e.useAsyncData,n).rows,isAnnuity:o}),p=x.maxSum&&x.minSum?(x.maxSum-x.minSum)/2:1485e3,u=x.maxMonths&&x.minMonths?Math.round((x.maxMonths-x.minMonths)/2):Ke,b=x?.minSum||Qe,f=x?.maxSum||qe,g=x?.minMonths||1,N=x?.maxMonths||84,v=(e=>{const{calculatorParams:t,isInsurance:r}=e;return t?r?t?.rateWithInsurance||5:t?.rateWithoutInsurance||5:5})({calculatorParams:x,isInsurance:d}),y=(e=>{const{calculatorParams:t,paymentType:r,rate:a,sum:n,months:i}=e;if(!t)return 0;const l=Xe(n,t.minSum||Qe,t.maxSum||qe);if("annuity"===r){const e=Number(a)/1200;return l*(e+e/(Math.pow(1+e,i)-1))}return l/i+l*(Number(a)/12)})({calculatorParams:x,paymentType:"annuity",rate:v,sum:i||p,months:s||u}),w=((e,t)=>{const r=Math.ceil((t-e)/12),a=Math.floor(e/12)+1,n=new Array(Math.min(r-1,5)).fill(0).map(((e,t)=>a+t)),i=r+a-1;return n.concat(i)})(g,N);function k(e){c(Xe(12*e,g,N))}return r("section",{className:`font-sans text-primary-text p-10 bg-white ${t||""}`,children:a("div",{className:"box-border p-[49px] pr-[56px] mx-auto w-max border-solid border-[3px] border-primary-main rounded-md",children:[a("div",{className:"flex justify-between ",children:[a("div",{className:"mr-[42px]",children:[r(Je,{title:"Желаемая сумма кредита, ₽",items:[`От ${Ue(b)} рублей`,`До ${Ue(f)} рублей`],min:b,max:f,step:1e3,value:i||p,onChange:l}),r(Je,{className:"mt-[23px]",title:"Срок кредита, месяцев",items:["Или выберите из предложенных вариантов ниже"],min:g,max:N,step:1,value:s||u,onChange:c}),r("div",{className:"flex mb-7",children:w.map(((e,t)=>function(e,t,n){return r("button",{className:"bg-secondary-light rounded-3xl h-10 w-[75px] box-border mr-2 flex items-center justify-center cursor-pointer border-none",onClick:()=>n(e),children:a("span",{className:"font-semibold text-sm",children:[e," ",1===e?"год":e>4?"лет":"года"]})},String(t))}(e,t,k)))}),r(ze,{text:"Получаю пенсию на карту Россельхозбанка",checked:o,onChange:m}),r(ze,{className:"mt-3 mb-7",text:"Комплексная страховая защита",checked:d,onChange:h})]}),a("div",{className:"box-border h-fit p-9 bg-primary-main rounded-md text-white",children:[r("div",{className:"text-base mb-[18px]",children:"Наше предложение"}),r("div",{className:"text-sm opacity-60",children:"Ежемесячный платёж"}),a("div",{className:"text-lg mb-3",children:[Ue(Math.round(y))," ₽"]}),r("div",{className:"text-sm opacity-60",children:"Ставка"}),a("div",{className:"text-lg",children:[v," %"]})]})]}),a("div",{className:"flex items-center",children:[r(H,{className:"mr-3",text:"Отправить заявку",version:"primary",href:"#"}),r("div",{className:"w-80 text-2xs leading-4 text-secondary-text","aria-label":"Соглашение на обработку персональных данных",children:"Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно требованиям ФЗ «О персональных данных»"})]})]})})}));const et="https://www.cbr-xml-daily.ru/daily_json.js",tt=["USD","EUR"],rt={USD:"DollarIcon",EUR:"EuroIcon"},at=[{text:"Все показатели",href:"https://cbr.ru/currency_base/daily/",version:"secondary"}],nt=n((({className:e="",context:t,title:n="Курсы обмена валют"})=>{const{data:i}=t.useAsyncData(et,st);return r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n&&r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:at?.length?r(G,{context:t,buttons:at,className:"flex mt-9 gap-3"}):null,children:a("table",{children:[r("thead",{children:a("tr",{children:[r(it,{children:"Валюта"}),r(it,{className:"pl-11",children:"Курс"})]})}),r("tbody",{children:tt.map(mt(i))})]})})})})),it=n((({className:e="",children:t})=>r("th",{className:`text-left font-normal text-sm text-secondary-text ${e}`,children:t}))),lt=n((({className:e="",children:t})=>r("td",{className:`text-left font-normal text-base text-primary-text ${e}`,children:t})));async function st(){const e=await fetch(et);return await e.json()}const ct=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),ot=e=>e?ct.format(e):"",mt=e=>t=>{const n=(e?.Valute||{})[t]?.Value;return a("tr",{children:[r(lt,{className:"pt-4",children:a("div",{className:"flex items-center",children:[r(m,{name:rt[t],width:"24",height:"24"}),r("span",{className:"ml-2",children:t})]})}),r(lt,{className:"pt-4 pl-11",children:ot(n)})]},t)},dt=["m13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z","M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z","M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z","M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z","M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z"],ht={"bg-white":"text-primary-main",transparent:"text-white"},xt={"bg-white":"text-black",transparent:"text-white"},pt=n((({className:e,href:t,children:n,targetBlank:i,bgColor:l="bg-white",hideTitle:s})=>a("a",{className:`inline-flex items-center font-sans no-underline ${e||""}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self","aria-label":"Россельхозбанк",children:[r(le,{className:`${ht[l]} w-10`,viewBox:"0 0 40 45",paths:dt.map((e=>({d:e})))}),!s&&r("span",{className:`${xt[l]} text-base font-medium ml-2.5`,children:n||"Россельхозбанк"})]}))),ut=n((({className:e,context:t})=>{const{term:n,setTerm:i}=t.useSearch();return a("form",{className:`relative ${e||""}`,children:[a("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[r("div",{className:"w-[24px] h-[24px]",children:r(m,{name:"LoupeIcon",width:"24",height:"24"})}),!n&&r("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-base text-secondary-text",children:"Поиск по сайту"})]}),r("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:n,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input"}),r(H,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:r("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),bt=n((({className:e,items:t,hasButton:n,context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return a("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(ft):null,n?r(H,{version:"primary",className:"my-4",...P({router:l,handlerDecorator:s},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),ft=(e,t)=>{const{type:n,text:i,description:l}=e;return a("div",{className:"mb-4",children:[r("div",{children:gt(n,i)}),r("div",{className:"font-sans text-sm text-secondary-text",children:l})]},String(t))},gt=(e,t="")=>{switch(e){case"tel":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${Nt(t)}`,children:t});case"email":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return r("span",{children:t})}},Nt=e=>e.replaceAll(/\D/g,""),vt=n((({links:e,className:t="",context:a})=>{const n=a.useRouter(),{handlerDecorator:i}=a;return r("div",{className:t,children:e?.length?r("div",{className:"flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider",children:e.map(((e,t)=>r(yt,{index:t,...P({router:n,handlerDecorator:i},e)},String(t))))}):null})})),yt=n((({className:e="",index:t,text:a,href:n,target:i,onClick:l})=>r("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:n,target:i,onClick:l,children:a||`Документ ${t}`}))),wt=e=>t=>e?.href===t?.href,kt=(e,t)=>{return(a=e,n=t,(a||[]).map((e=>n?.find(wt(e))||e))).concat((r=e,(t||[]).filter((e=>!r?.find(wt(e))))));var r,a,n};function $t(e){const{data:t}=e(St(),Ct);return t||{}}async function Ct(){const e=await fetch(St());return await e.json()}function St(){return`/wcms-resources/${c.SITEMAP||"sitemap"}.json`}const Tt=n((({className:e,items:t,context:a})=>{const n=$t(a.useAsyncData),i=kt(n.topItems,t),l={router:a.useRouter(),handlerDecorator:a.handlerDecorator};return r("div",{className:`flex items-start justify-start gap-11 xl:gap-5 ${e||""}`,children:i?.map(((e,t)=>Dt(e,t,l)))})})),Dt=(e,t,{router:n,handlerDecorator:i})=>{const{text:l,href:s,items:c,target:o}=e;return a("div",{className:"flex flex-col gap-[14px]",children:[r("a",{className:"block font-sans font-medium text-base text-primary-text no-underline",href:s,target:o||"_self",children:l||`Раздел ${t}`}),c?.map(((e,t)=>r(Lt,{...P({router:n,handlerDecorator:i},e),index:t},String(t))))]},String(t))},Lt=n((({text:e,href:t,target:a,index:n})=>r("a",{className:"block font-sans font-normal text-base text-secondary-text hover:text-primary-main no-underline",href:t,target:a||"_self",children:e||`Раздел ${n}`}))),It=[{origins:["t.me","telegram.org"],icon:"TelegramIcon",label:"Телеграм",width:"20px",height:"16px"},{origins:["vk.com"],icon:"VKIcon",label:"ВКонтакте",width:"24px",height:"12px"},{origins:["ok.ru"],icon:"OkIcon",label:"Одноклассники",width:"12px",height:"20px"}],_t=n((({href:e})=>{const{icon:t,width:a,height:n,label:i}=It.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?r("a",{className:"flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main",href:e,"aria-label":i,target:"_blank",rel:"noopener noreferrer",children:m&&r(m,{name:t,width:a,height:n,asSVG:!0,className:"block"})}):null})),jt=n((({className:e,media:t,context:a})=>{const n=a.useRouter(),{handlerDecorator:i}=a;return r("div",{className:`flex items-end justify-end gap-2 pt-[30px] pb-7 ${e||""}`,children:t?.map(((e,t)=>r(_t,{...P({router:n,handlerDecorator:i},e)},String(t))))})})),Rt=n((({className:e,links:t,context:n})=>{const i=n.useRouter(),{handlerDecorator:l}=n;return a("div",{className:`${e||""}`,children:[r("div",{className:"pt-5 pb-[5px]",children:r("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?r("div",{className:"flex justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>r(At,{index:t,...P({router:i,handlerDecorator:l},e)},String(t))))}):null]})})),At=n((({className:e,index:t,text:a,href:n,target:i,onClick:l})=>r("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:n,target:i,onClick:l,children:a||`Документ ${t}`}))),Mt=n((({className:e,documents:t,relatedEnterprises:n,contacts:i,socialMedia:l,topItems:s,context:c})=>a("footer",{className:`px-9 py-10 bg-white ${e||""}`,children:[a("div",{className:"flex items-stretch gap-[54px] pb-8 xl:gap-8",children:[r(pt,{className:"w-[280px] xl:w-[220px]"}),r(ut,{context:c,className:"grow"})]}),a("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[r(bt,{className:"w-[280px] shrink-0 overflow-hidden xl:w-[220px]",items:i,context:c,hasButton:!0}),r(Tt,{className:"pt-[3px]",context:c,items:s})]}),r(jt,{media:l,context:c}),r(vt,{links:n,context:c}),r(Rt,{links:t,context:c})]}))),Bt=(e,t,r=((e,t)=>t.startsWith(e)))=>r(_(e),(e=>(e||"").replace(A,""))(_(I(e)?t.href:t.pathname))),Pt=e=>t=>Bt(t.href,e),Vt=e=>(t=[])=>{const r=t?.filter(Pt(e));var a;return r?.length?(a=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>a(e)>a(t)?e:t)))(r):null},Ot=e=>t=>t.items?.some(Pt(e))||Bt(t.href,e)||((e,t)=>j(e)===j(t.href))(t.href,e),Ft="absolute left-0 -bottom-3 w-full h-[2px]",Zt=n((({className:e,text:t,href:n,target:i,active:l,onClick:s,children:c,bgColor:o="bg-white"})=>a("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:n,target:i,onClick:s,children:[r("span",{className:Ht(o,l),children:t||c}),l?r("div",{className:Gt(o,l)}):null]}))),Ht=(e,t)=>{let r="text-white";return"bg-white"===e&&(r=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${r} font-sans font-normal text-base`},Gt=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Ft}`:Ft,Et=n((({className:e="",text:t,href:a,target:n,active:i,flat:l,onClick:s,children:c,ariaLabel:o,bgColor:m="bg-white"})=>r("a",{className:`${Wt(m,i,l)} ${e}`,href:a,target:n,onClick:s,rel:"noopener noreferrer","aria-label":o,children:r("span",{className:zt(m,i,l),children:t||c})}))),Wt=(e,t,r)=>{let a="border-transparent";return t&&(a="rounded-md "+("bg-white"===e?"border-primary-main":"border-white")),`${a} inline-block border border-solid bg-transparent text-center no-underline ${r?"":"px-4 py-2"}`},zt=(e,t,r)=>{let a="text-white";return"bg-white"===e&&(a=t?"text-primary-main":(r?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"),`${a} font-sans font-normal text-sm`},Ut=n((({className:e="",children:t,ariaLabel:a})=>r("button",{type:"button",className:`border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${e}`,disabled:!0,"aria-label":a,children:t}))),Jt={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},Xt={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},Qt={"bg-white":"GridIcon",transparent:"GridIconWhite"},qt=n((({context:e,className:t,defaultLocation:n="",bgColor:i="bg-white"})=>{const[l,s]=e.useGeolocation(n);return a("div",{className:`flex items-center ${t||""}`,children:[r(Et,{className:"mr-5",flat:!0,href:"#",text:l,ariaLabel:"Местоположение",onClick:s,bgColor:i}),r(Et,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:i}),r(Ut,{className:`mr-5 ${Jt[i]}`,ariaLabel:"Поиск по сайту",children:r(m,{name:"LoupeIcon",className:"h-full",asSVG:!0,color:"none"})}),r(Ut,{className:`mr-5 ${Jt[i]}`,ariaLabel:"Профиль",children:r(m,{name:"ProfileIcon",className:"h-full",asSVG:!0,color:"none"})}),r(Ut,{className:`${Xt[i]} min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:r(m,{name:Qt[i],className:"h-full",asSVG:!0,color:"none"})})]})})),Kt={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},Yt=n((({className:e,defaultLocation:t,bgColor:n="bg-white",context:i,topItems:l})=>{const s=i.useRouter(),c=$t(i.useAsyncData),{handlerDecorator:o}=i,m=kt(c.topItems,l),d=m.find(Ot(s)),h=d?.items,x=Vt(s)(h),p=m.map(((e,t)=>r(Et,{active:e===d,...P({router:s,handlerDecorator:o},e),ariaLabel:e.text,bgColor:n},String(t)))),u=h?.map((e=>r(Zt,{className:"mr-8",active:e===x,...P({router:s,handlerDecorator:o},e),bgColor:n},e.href)));return r("header",{className:`pt-5 pb-8 px-20 ${n} ${e||""}`,children:a("div",{className:"container",children:[a("div",{className:"flex items-center",children:[r(pt,{className:"mr-8",bgColor:n}),p,r(qt,{context:i,className:"ml-auto",defaultLocation:t,bgColor:n})]}),r("div",{className:`mt-5 h-[1px] ${Kt[n]}`}),r("nav",{className:"mt-5",children:u})]})})})),er=n((({className:e="",context:t,title:n="Мобильное приложение",qr:i,buttons:l=[]})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n&&r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:l?.length?r(G,{context:t,buttons:l,className:"flex mt-9 gap-3"}):null,children:a("div",{className:"flex items-center",children:[i?.src&&i?.href&&r("a",{href:i.href,target:"_blank",children:r("img",{src:i.src,alt:n,title:n,width:"164",height:"164",className:"w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light"})}),r("span",{className:"font-normal text-sm text-secondary-text ml-4",children:"Наведите камеру телефона на QR-код и скачайте приложение"})]})})}))),tr=n((({className:e,text:t,onClick:a,href:n,target:i,isActive:l})=>r("a",{className:`bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${e||""} ${l?"border-primary-main text-primary-main":"border-white text-secondary-text"}`,onClick:a,href:n,target:i,children:t}))),rr=n((({className:e,context:t,title:n,buttons:i})=>{const l=t.useRouter(),{handlerDecorator:s}=t,c=Vt(l)(i);return a("section",{className:`font-sans text-primary-text rounded-[40px] flex items-center justify-between ${e||""}`,children:[r("h2",{className:"font-medium text-xl m-0",children:n}),i?.length?r("div",{className:"flex rounded-md overflow-hidden bg-white",children:i.filter((({text:e})=>e)).map(((e,t)=>r(tr,{className:"first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md",isActive:e===c,...P({router:l,handlerDecorator:s},e)},String(t))))}):null]})})),ar=n((({className:e,context:t,title:a})=>r(re,{className:e,context:t,title:a,description:"Блок в разработке...",children:r("figure",{className:"m-0 min-w-[600px]",children:nr()})}))),nr=(e=3)=>lr(100,e).map((e=>Math.floor(e))).map(ir),ir=(e=100,t)=>r("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),lr=(e,t)=>[e].concat(t>0?lr(e/1.618,t-1):[]),sr=n((({text:e,href:t,target:a,onClick:n,className:i="",children:l})=>t?r("a",{className:`no-underline ${i}`,href:t,target:a,onClick:n,children:r("span",{className:i,children:e||l})}):r("span",{className:i,children:e||l})));function cr(e){return t=>t.reduce(((t,r,a)=>t.length?t.concat({...e,key:a},r):[r]),[])}const or={primary:"bg-main",secondary:"bg-white/30"},mr={primary:"text-primary-text",secondary:"text-white"},dr={primary:"text-secondary-text",secondary:"text-white"};const hr=n((({className:e="",context:t,title:n,headingType:i="h2",description:l,benefits:c,buttons:o,image:d,items:h,version:x="primary"})=>a("div",{className:`flex grow justify-between items-stretch ${e}`,children:[r("div",{className:"flex flex-col",children:a(Q,{context:t,title:n&&r(s,{headingType:i,title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:o?.length?r(G,{context:t,buttons:o,className:"flex mt-9 gap-3"}):null,children:[l&&r(E,{className:"mt-4 max-w-[600px]",description:l}),c?.length?r("div",{className:"flex gap-6 mt-6 mb-3.5",children:c.map(((e,t)=>function(e,t,n){return a("div",{className:"flex gap-4 items-center",children:[e.icon&&r(m,{className:`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${or[n]}`,name:e.icon,width:"24",height:"24",asSVG:!0}),a("div",{className:"flex gap-1 flex-col h-full max-w-[149px]",children:[r("div",{className:`font-medium text-xl m-0 ${mr[n]}`,children:e.label}),e.description&&r("div",{className:`font-normal text-sm ${dr[n]}`,children:e.description})]})]},String(t))}(e,t,x)))}):null,h?.length?r(X,{items:h}):null]})}),d?.src&&r(w,{className:"mt-auto",image:d})]}))),xr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},pr={primary:"text-secondary-text",secondary:"text-white/80"},ur=n((e=>{const{context:t,className:n,breadcrumbs:i,version:l="primary"}=e,s=t.useRouter(),{handlerDecorator:c}=t;return a("section",{className:`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${n||""} ${xr[l]}`,children:[i?.length?r("div",{className:"text-xs mb-6",children:cr(r("span",{className:`mx-2 ${pr[l]}`,children:"/"}))(i.map(((e,t)=>r(sr,{...P({router:s,handlerDecorator:c},{className:pr[l],...e})},String(t)))))}):null,r(hr,{...e})]})})),br=n((({className:e,context:t,duration:n=0,slides:i=[]})=>{const l=i.map((e=>e.nav)),s=i.map((e=>e.productBlock)),[c,o]=t.useState(0);return a("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,children:[r("div",{className:"flex duration-1000",style:{transform:`translateX(-${c}00%)`},role:"list",children:s.map(((e,a)=>function(e,t,a){return r("section",{className:"flex grow-0 shrink-0 basis-full",role:"listitem",children:r("div",{className:"p-10 flex grow",children:r(hr,{className:"pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]",context:a,...e})})},String(t))}(e,a,t)))}),r("div",{className:"flex",children:l.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:n,onClick:i,duration:l}){const s=t===n,c=s?"animate-slide":"",o=s?"text-primary-text":"text-secondary-text";return a("button",{type:"button",onClick:i,"aria-label":e?.title,className:"font-sans group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 pt-4 pb-5 grow basis-0",children:[a("div",{className:"border-0 border-r border-solid border-main-divider px-6",children:[r("div",{className:`text-sm font-medium pb-1 group-hover:text-primary-text ${o}`,children:e?.title}),r("div",{className:"text-xs text-secondary-text pb-[2px]",children:e.desc})]}),r("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${c}`,style:{animationDuration:`${l}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:c,onClick:()=>o(t),duration:n})))})]})}));const fr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},gr=n((({className:e="",context:t,title:n="Акции и спецпредложения",date:i,description:l,buttons:c=[],version:o="primary"})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${fr[o]} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n?r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:c?.length?r(G,{context:t,buttons:c,className:"flex mt-9 gap-3"}):null,children:a("div",{className:"mt-1.5",children:[i?r("div",{className:"text-sm mb-2",children:Nr(i)}):null,r("div",{className:"text-base",children:l})]})})})));function Nr(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const vr=n((({className:e,title:t,showLines:n=!0,steps:i})=>a("section",{className:`box-border font-sans text-primary-text bg-white px-20 py-[50px] flex flex-col items-center ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}),i?.length?a("div",{className:"box-border py-0.5 mb-0.5 "+(t?"mt-9":""),children:[r("div",{className:"flex items-center px-[88px]",children:cr(r("div",{className:"h-0.5 w-full bg-secondary-light "+(n?"":"opacity-0")}))(i.map(((e,t)=>yr(e,t))))}),r("div",{className:"flex justify-between gap-x-[101px]",children:i.map(wr)})]}):null]}))),yr=(e,t)=>r("div",{className:"flex flex-col items-center text-center relative",children:r("div",{className:"h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10",children:e.icon&&r(m,{name:e.icon,width:"48",height:"48"})||r("span",{className:"font-medium text-title-sm text-secondary-text",children:t+1})})},String(t)),wr=(e,t)=>a("div",{className:"flex flex-col items-center text-center relative w-[276px] whitespace-pre-line overflow-hidden",children:[e.label&&r("div",{className:"font-medium text-xl m-0 mt-4",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text "+(e.label?"mt-2":"mt-4"),children:e.description})]},String(t)),kr=n((({cell:e,isLastRow:t})=>r("div",{className:"first:pl-0 pl-10 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 "+(t?"border-t-0 rounded-b-md":""),role:"cell",children:r("div",{children:e.map(((e,t)=>$r(e,t)))})}))),$r=({label:e,description:t,list:n,image:i,buttons:l},s)=>a("div",{className:"first:pt-5 last:pb-5",children:[s>0&&r("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-4"}),e&&r("div",{className:"text-xl font-medium m-0",children:e}),t&&r("div",{className:"text-sm text-secondary-text",children:t}),n?.items?.length?r("div",{className:"flex flex-col justify-between items-start",children:r("div",{role:"list",children:n.items.map(((e,t)=>r(ue,{className:"text-sm",text:e,version:"gray",isDotted:n.isDotted??!0},String(t))))})}):null,i&&r(w,{image:i}),l?.length?l.map((({icon:e,...t},a)=>r(H,{className:(a>0?"ml-3":"")+" w-12 h-12",appendLeft:e&&r(m,{name:e,width:"24px",height:"24px",asSVG:!0}),...t},String(a)))):null]},String(s)),Cr=n((({row:{header:e,data:t},activeCardIndex:n,isLastRow:i})=>a(Fe,{children:[r("div",{className:"text-sm py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(i?"":"border-solid"),children:a("div",{className:"flex items-center text-primary-text",children:[e?.icon&&r(m,{className:"mr-[14px] max-w-6 max-h-6",name:e.icon,width:"24px",height:"24px",asSVG:!0}),e?.title]})}),t?.length?r(Pe,{activeCardIndex:n,columnWidth:360,version:"tariff",children:t.map(((e,t)=>r(kr,{cell:e,isLastRow:i},String(t))))}):null]}))),Sr=n((({className:e,context:t,title:n,rowHeaders:i,columns:l})=>{const[c,o]=t.useState(0),m=l?.map((({data:e})=>e))||[],d=i?.map(((e,t)=>({header:e,data:m.map((e=>e?.[t]||[{}]))}))),{nextClick:h,prevClick:x,isScrollAvailable:p,showNextButton:u,showPrevButton:b}=Ie({colData:m,colsLengthForScroll:2,activeCardIndex:c,setActiveCardIndex:o});return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),a("div",{role:"table",children:[d?.length?a("div",{className:"relative",children:[d.map(((e,t,{length:a})=>r(Cr,{row:e,isLastRow:t+1===a,activeCardIndex:c},String(t)))),p?r("div",{children:a("div",{className:"absolute top-7 right-7 z-10",children:[r(ce,{onClick:h,disabled:!u,ariaLabel:"Пролистать вправо"}),r(ce,{className:"mt-4 rotate-180",onClick:x,disabled:!b,ariaLabel:"Пролистать влево"})]})}):null]}):null,p?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})]})})),Tr={Accordion:Te,BenefitsBlock:De,ComparisonTable:He,CreditCalculator:Ye,ExchangeRateTile:nt,Footer:Mt,Gallery:ye,Header:Yt,Headline:h,LinkDocs:y,MiniGallery:we,MobileAppTile:er,PictureText:$,Placeholder:ar,ProductBlock:ur,ProductGallery:br,ProductTile:ne,PromoTile:gr,StepsBlock:vr,TariffsTable:Sr,TextBlock:T,Tile:re,Navigation:rr},Dr=n((({className:e,onClick:t,ariaLabel:a})=>r("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":a,children:Lr()}))),Lr=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[r("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),r("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Ir=n((({className:e,context:t})=>{const n=t.useLikeService();return a("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,children:[r(Dr,{onClick:n.like,ariaLabel:"Поставить отметку «лайк»"}),r(Dr,{onClick:n.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),r("span",{className:"select-none",children:n.likeCount})]})})),_r=({blockClassName:e,block:t,render:r})=>r({blockClassName:e,block:t}),jr=n((({className:e,context:t,blocksRegistry:n,data:{style:i,blocks:l,slots:s={},likeControl:c,colorPalette:o="pc"},blockDecorator:m=_r})=>{const{header:d}=s;return a("section",{className:`relative ${Ar(i)} ${e||""}`,"data-theme":o,children:[d?.blocks?.length?r("div",{className:`${Ar(d?.style)}`,children:d.blocks.map(((e,r)=>Rr({block:e,blockDecorator:m,blocksRegistry:n,context:t},r)))}):null,l?.length?r("div",{className:"container grid grid-cols-12 gap-1",children:l.map(((e,r)=>Rr({block:e,blockDecorator:m,blocksRegistry:n,context:t},r)))}):null,c&&r("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:r(Ir,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})}));function Rr({block:e,blockDecorator:t,blocksRegistry:a,context:n},i){const{type:l}=e;l in a||console.warn(`No block with "${l}" is registered`);const s=a[l]||ar;return t({blockClassName:Ar(e.style),block:e,render:e=>{const{version:t,content:a}=e.block;return r(s,{className:e.blockClassName,version:t,context:n,...a},`${l}-${i}`)}},`block-${i}`)}function Ar(e){return e?e.join(" "):""}const Mr=n((({HeadComponent:e,data:t,children:n})=>{const{title:i,description:l,keywords:s,robots:c,og:o}=t;return a(e,{children:[r("title",{children:i}),r("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),l&&r("meta",{name:"description",content:l}),s&&r("meta",{name:"keywords",content:s.join(",")}),c&&r("meta",{name:"robots",content:c.join(",")}),o?Object.entries(o).map((([e,t])=>r("meta",{name:`og:${e}`,content:t},e))):null,n]})}));function Br(e){const{mobile:t,...r}=e;return r}function Pr(e){return e?.filter((e=>function(e,t){return e.type in t}(e,Tr))).map(Br)}e.Blocks=Tr,e.ContentPage=jr,e.ContentPageHead=Mr,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),r=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await r.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=Yt,e.Icon=m,e.LikeAPI=function(e,t=""){async function r(){try{const e=JSON.parse(globalThis.localStorage.getItem(i)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:r,name:a}=await e.json();return globalThis.localStorage.setItem(i,JSON.stringify({token:r,name:a})),{token:r,name:a}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...a){if(!a.length)return[];const{token:n}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:a})}),{likes:i}=await r.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(a){if(!a)return 0;const{token:n,name:i}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:a,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(a){if(!a)return 0;const{token:n,name:i}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:a,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}}}},e.joinList=cr,e.normalizePage=function(e){if(!e)return;const{blocks:t,slots:r}=e;return{...e,blocks:Pr(t),slots:r&&Object.keys(r).reduce(((e,t)=>({...e,[t]:{...r[t],blocks:Pr(r[t].blocks)}})),{})}},e.projectSettings=c,e.setup=t,e.url=R,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -6,7 +6,9 @@ const BlockItem_1 = require("../../ui-kit/BlockItem/BlockItem");
6
6
  const Button_1 = require("../../ui-kit/Button/Button");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  exports.GalleryCardInner = (0, uni_jsx_1.JSX)(({ title, description, image, items, button, version }) => {
9
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { children: [image?.src ? ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-center", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description ? (0, jsx_runtime_1.jsx)("div", { className: `font-normal text-sm mt-2`, children: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)("section", { className: `max-w-[308px] mt-2`, role: "list", children: items.map((item, i) => renderItem(item.text, i, version)) })) : null] }), button?.text && (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-6", ...button })] }));
9
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { children: [image?.src ? ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-center", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description ? (0, jsx_runtime_1.jsx)("div", { className: `font-normal text-sm mt-2`, children: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
10
+ .filter((item) => item.text)
11
+ .map((item, i) => renderItem(item.text, i, version)) })) : null] }), button?.text && (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-6", ...button })] }));
10
12
  });
11
13
  function renderCardTitle(title, description, items) {
12
14
  return ((0, jsx_runtime_1.jsx)("div", { className: `font-medium text-xl m-0 ${!description && !items?.length ? 'text-center' : ''}`, children: title }));
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,gEAA6D;AAC7D,uDAAoD;AACpD,8CAA2C;AAG9B,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,4CACE,4CACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAC,qBAAqB,YAClC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EACnD,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,0BAA0B,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,oCAAS,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAC,MAAM,YAClD,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GAClD,CACX,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,MAAM,EAAE,IAAI,IAAI,uBAAC,eAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,KAAa,EAAE,WAAoB,EAAE,KAAqB;IACjF,OAAO,CACL,gCACE,SAAS,EAAE,2BAA2B,CAAC,WAAW,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,YAE1F,KAAK,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,IAAY,EAAE,CAAS,EAAE,OAAsB;IACjE,OAAO,CACL,uBAAC,qBAAS,IAAiB,OAAO,EAAE,OAAO,IAAI,SAAS,YACtD,iCAAM,SAAS,EAAC,SAAS,YAAE,IAAI,GAAQ,IADzB,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,gEAA6D;AAC7D,uDAAoD;AACpD,8CAA2C;AAG9B,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,4CACE,4CACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAC,qBAAqB,YAClC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EACnD,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,0BAA0B,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,oCAAS,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAC,MAAM,YAClD,KAAK;6BACH,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;6BAC3B,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAc,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GACxD,CACX,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,MAAM,EAAE,IAAI,IAAI,uBAAC,eAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,KAAa,EAAE,WAAoB,EAAE,KAAqB;IACjF,OAAO,CACL,gCACE,SAAS,EAAE,2BAA2B,CAAC,WAAW,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,YAE1F,KAAK,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,IAAY,EAAE,CAAS,EAAE,OAAsB;IACjE,OAAO,CACL,uBAAC,qBAAS,IAAiB,OAAO,EAAE,OAAO,IAAI,SAAS,YACtD,iCAAM,SAAS,EAAC,SAAS,YAAE,IAAI,GAAQ,IADzB,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC;AACJ,CAAC"}
@@ -3,7 +3,7 @@ import type { Picture } from '../../model/Picture';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
  export interface GalleryItem {
5
5
  title?: string;
6
- text: string;
6
+ text?: string;
7
7
  }
8
8
  /**
9
9
  * @title Карточка
@@ -6,6 +6,6 @@ const Heading_1 = require("../../ui-kit/Heading/Heading");
6
6
  const LinkDocsHorizontalList_1 = require("./LinkDocsHorizontalList");
7
7
  const LinkDocsVerticalList_1 = require("./LinkDocsVerticalList");
8
8
  exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className = '', context, title, subtitle, icon = 'DocIconMonoColor', documents, listMode = 'vertical', hasBorder = true, }) => {
9
- return ((0, jsx_runtime_1.jsxs)("section", { className: `py-6 px-4 bg-white ${className}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: `text-center ${subtitle ? 'mb-2' : 'mb-5'}`, title: title })) : null, subtitle ? (0, jsx_runtime_1.jsx)("h3", { className: "mb-5 text-center text-m-base", children: subtitle }) : null, listMode === 'vertical' ? ((0, jsx_runtime_1.jsx)(LinkDocsVerticalList_1.LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : ((0, jsx_runtime_1.jsx)(LinkDocsHorizontalList_1.LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
9
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans py-6 px-4 bg-white ${className}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: `text-center ${subtitle ? 'mb-2' : 'mb-5'}`, title: title })) : null, subtitle ? (0, jsx_runtime_1.jsx)("h3", { className: "mb-5 text-center text-m-md", children: subtitle }) : null, listMode === 'vertical' ? ((0, jsx_runtime_1.jsx)(LinkDocsVerticalList_1.LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : ((0, jsx_runtime_1.jsx)(LinkDocsHorizontalList_1.LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
10
10
  });
11
11
  //# sourceMappingURL=LinkDocs.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAEvD,qEAAkE;AAClE,iEAA8D;AAIjD,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,QAAQ,EACR,IAAI,GAAG,kBAAkB,EACzB,SAAS,EACT,QAAQ,GAAG,UAAU,EACrB,SAAS,GAAG,IAAI,GACjB,EAAE,EAAE;IACH,OAAO,CACL,qCAAS,SAAS,EAAE,sBAAsB,SAAS,EAAE,aAClD,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,SAAS,EAAE,eAAe,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EACtD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,+BAAI,SAAS,EAAC,8BAA8B,YAAE,QAAQ,GAAM,CAAC,CAAC,CAAC,IAAI,EAC9E,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,CACzB,uBAAC,2CAAoB,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAI,CACjF,CAAC,CAAC,CAAC,CACF,uBAAC,+CAAsB,IACrB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,GACV,CACH,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAEvD,qEAAkE;AAClE,iEAA8D;AAIjD,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,QAAQ,EACR,IAAI,GAAG,kBAAkB,EACzB,SAAS,EACT,QAAQ,GAAG,UAAU,EACrB,SAAS,GAAG,IAAI,GACjB,EAAE,EAAE;IACH,OAAO,CACL,qCAAS,SAAS,EAAE,gCAAgC,SAAS,EAAE,aAC5D,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,SAAS,EAAE,eAAe,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EACtD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,+BAAI,SAAS,EAAC,4BAA4B,YAAE,QAAQ,GAAM,CAAC,CAAC,CAAC,IAAI,EAC5E,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,CACzB,uBAAC,2CAAoB,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAI,CACjF,CAAC,CAAC,CAAC,CACF,uBAAC,+CAAsB,IACrB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,GACV,CACH,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
- import type { IconName } from '../../icons/IconName';
2
+ import type { IconName } from '../../ui-kit/Icon/IconProps';
3
3
  import type { AlignType } from '../BaseTile/BaseTileProps';
4
4
  /**
5
5
  * @title Отображение списка
@@ -1,4 +1,4 @@
1
- import type { IconName } from '../../icons/IconName';
1
+ import type { IconName } from '../../ui-kit/Icon/IconProps';
2
2
  import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
3
3
  export interface LinkDocsListProps {
4
4
  className?: string;
@@ -3,5 +3,5 @@ exports.LinkDocsListItem = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const LinkDocsListItemBase_1 = require("./LinkDocsListItemBase");
6
- exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: className, iconClassName: "mr-4 min-w-6 min-h-6 text-primary-text", textClassName: "self-center", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
6
+ exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: className, iconClassName: "mr-2.5 min-w-6 min-h-6 text-primary-text", textClassName: "self-center", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
7
7
  //# sourceMappingURL=LinkDocsListItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAC,wCAAwC,EACtD,aAAa,EAAC,aAAa,EAC3B,eAAe,EAAC,mDAAmD,EACnE,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAC,0CAA0C,EACxD,aAAa,EAAC,aAAa,EAC3B,eAAe,EAAC,mDAAmD,EACnE,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
@@ -3,5 +3,5 @@ exports.LinkDocsListItem = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const LinkDocsListItemBase_1 = require("./LinkDocsListItemBase");
6
- exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: `flex h-full ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", doc: doc, icon: icon })));
6
+ exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: `flex h-full ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
7
7
  //# sourceMappingURL=LinkDocsListItem.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkDocsListItem.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,eAAe,SAAS,EAAE,EACrC,aAAa,EAAC,wBAAwB,EACtC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"LinkDocsListItem.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,eAAe,SAAS,EAAE,EACrC,aAAa,EAAC,sBAAsB,EACpC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { IconName } from '../../icons/IconName';
1
+ import type { IconName } from '../../ui-kit/Icon/IconProps';
2
2
  import type { LinkDocsItem } from './LinkDocsContent';
3
3
  export interface LinkDocsListItemProps {
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import type { IconName } from '../../icons/IconName';
1
+ import type { IconName } from '../../ui-kit/Icon/IconProps';
2
2
  import type { LinkDocsItem } from './LinkDocsContent';
3
3
  export interface LinkDocsVerticalListProps {
4
4
  hasBorder?: boolean;
package/lib/common.css CHANGED
@@ -1 +1 @@
1
- @import "../fonts/ubuntu/ubuntu.css";[data-theme=pc]{--color-primary-main:66,171,68;--color-primary-hover:36,131,65;--color-primary-active:36,95,52;--color-secondary-hover:216,242,217;--color-secondary-active:197,226,198;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=bc]{--color-primary-main:131,184,62;--color-primary-hover:92,146,29;--color-primary-active:60,94,16;--color-secondary-hover:232,244,217;--color-secondary-active:216,227,202;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo]{--color-primary-main:221,182,61;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo2]{--color-primary-main:255,204,0;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo3]{--color-primary-main:225,186,30;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo4]{--color-primary-main:233,191,23;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}.container{margin-left:auto;margin-right:auto;width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.inset-x-0{left:0;right:0}.top-1{top:.25rem}.right-1{right:.25rem}.top-7{top:1.75rem}.right-7{right:1.75rem}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.top-4{top:1rem}.right-4{right:1rem}.left-0{left:0}.top-1\/2{top:50%}.left-8{left:2rem}.left-1{left:.25rem}.-bottom-3{bottom:-.75rem}.top-8{top:2rem}.z-10{z-index:10}.col-span-12{grid-column:span 12/span 12}.col-span-8{grid-column:span 8/span 8}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.m-0{margin:0}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-3{margin-bottom:.75rem;margin-top:.75rem}.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.mb-2\.5{margin-bottom:.625rem}.mb-4{margin-bottom:1rem}.mt-9{margin-top:2.25rem}.mt-2{margin-top:.5rem}.mb-9{margin-bottom:2.25rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mb-\[18px\]{margin-bottom:18px}.mt-auto{margin-top:auto}.mr-6{margin-right:1.5rem}.mr-\[42px\]{margin-right:42px}.mt-\[23px\]{margin-top:23px}.mb-7{margin-bottom:1.75rem}.mt-3{margin-top:.75rem}.mb-3{margin-bottom:.75rem}.mr-3{margin-right:.75rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.mb-8{margin-bottom:2rem}.mt-2\.5{margin-top:.625rem}.mr-8{margin-right:2rem}.ml-auto{margin-left:auto}.mr-5{margin-right:1.25rem}.mr-7{margin-right:1.75rem}.mb-\[26px\]{margin-bottom:26px}.mr-2\.5{margin-right:.625rem}.mr-4{margin-right:1rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.mt-\[19px\]{margin-top:19px}.mb-3\.5{margin-bottom:.875rem}.mr-1\.5{margin-right:.375rem}.mr-1{margin-right:.25rem}.ml-7{margin-left:1.75rem}.mb-1{margin-bottom:.25rem}.mt-1\.5{margin-top:.375rem}.mt-1{margin-top:.25rem}.mb-0\.5{margin-bottom:.125rem}.mb-0{margin-bottom:0}.ml-\[34px\]{margin-left:34px}.ml-\[24px\]{margin-left:24px}.ml-3{margin-left:.75rem}.mr-\[14px\]{margin-right:14px}.mr-auto{margin-right:auto}.ml-px{margin-left:1px}.mt-0\.5{margin-top:.125rem}.ml-0\.5{margin-left:.125rem}.mt-0{margin-top:0}.ml-0{margin-left:0}.ml-2\.5{margin-left:.625rem}.mt-\[22px\]{margin-top:22px}.box-border{box-sizing:border-box}.block{display:block}.\!block{display:block!important}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-full{height:100%}.h-\[20px\]{height:20px}.h-12{height:3rem}.h-\[70px\]{height:70px}.h-\[63px\]{height:63px}.h-8{height:2rem}.h-fit{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.h-10{height:2.5rem}.h-\[38px\]{height:38px}.h-\[50px\]{height:50px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[90px\]{height:90px}.h-\[48px\]{height:48px}.h-4{height:1rem}.h-\[25px\]{height:25px}.h-\[3px\]{height:3px}.h-0\.5{height:.125rem}.h-0{height:0}.h-\[100px\]{height:100px}.h-\[6px\]{height:6px}.h-2{height:.5rem}.h-5{height:1.25rem}.h-\[2px\]{height:2px}.h-1\.5{height:.375rem}.h-1{height:.25rem}.max-h-0{max-height:0}.max-h-6{max-height:1.5rem}.max-h-12{max-height:3rem}.min-h-\[300px\]{min-height:300px}.min-h-\[320px\]{min-height:320px}.min-h-\[360px\]{min-height:360px}.min-h-\[70px\]{min-height:70px}.min-h-\[63px\]{min-height:63px}.min-h-\[32px\]{min-height:32px}.min-h-6{min-height:1.5rem}.min-h-\[90px\]{min-height:90px}.min-h-0{min-height:0}.min-h-\[420px\]{min-height:420px}.min-h-\[50px\]{min-height:50px}.min-h-8{min-height:2rem}.min-h-\[100px\]{min-height:100px}.min-h-\[6px\]{min-height:6px}.min-h-2{min-height:.5rem}.min-h-12{min-height:3rem}.min-h-1\.5{min-height:.375rem}.min-h-1{min-height:.25rem}.w-\[20px\]{width:20px}.w-full{width:100%}.w-\[70px\]{width:70px}.w-\[84px\]{width:84px}.w-80{width:20rem}.w-\[63px\]{width:63px}.w-\[200px\]{width:200px}.w-8{width:2rem}.w-max{width:-webkit-max-content;width:-moz-max-content;width:max-content}.w-\[75px\]{width:75px}.w-\[280px\]{width:280px}.w-\[38px\]{width:38px}.w-\[364px\]{width:364px}.w-\[260px\]{width:260px}.w-\[24px\]{width:24px}.w-\[125px\]{width:125px}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.w-\[50px\]{width:50px}.w-\[33px\]{width:33px}.w-\[90px\]{width:90px}.w-\[48px\]{width:48px}.w-\[25px\]{width:25px}.w-\[2px\]{width:2px}.w-\[100px\]{width:100px}.w-\[276px\]{width:276px}.w-12{width:3rem}.w-\[354px\]{width:354px}.w-4{width:1rem}.w-\[6px\]{width:6px}.w-2{width:.5rem}.w-\[36px\]{width:36px}.w-5{width:1.25rem}.w-\[1280px\]{width:1280px}.w-10{width:2.5rem}.w-auto{width:auto}.w-1\.5{width:.375rem}.w-1{width:.25rem}.min-w-\[70px\]{min-width:70px}.min-w-\[63px\]{min-width:63px}.min-w-\[364px\]{min-width:364px}.min-w-\[260px\]{min-width:260px}.min-w-\[32px\]{min-width:32px}.min-w-6{min-width:1.5rem}.min-w-\[90px\]{min-width:90px}.min-w-\[600px\]{min-width:600px}.min-w-\[50px\]{min-width:50px}.min-w-\[100px\]{min-width:100px}.min-w-\[6px\]{min-width:6px}.min-w-2{min-width:.5rem}.min-w-1\.5{min-width:.375rem}.min-w-1{min-width:.25rem}.min-w-full{min-width:100%}.max-w-\[170px\]{max-width:170px}.max-w-\[47rem\]{max-width:47rem}.max-w-\[580px\]{max-width:580px}.max-w-\[600px\]{max-width:600px}.max-w-\[292px\]{max-width:292px}.max-w-\[308px\]{max-width:308px}.max-w-\[490px\]{max-width:490px}.max-w-\[149px\]{max-width:149px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-\[calc\(50\%-20px\)\]{flex-basis:calc(50% - 20px)}.basis-0{flex-basis:0px}.basis-full{flex-basis:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.animate-slide{-webkit-animation:progress linear;animation:progress linear}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.snap-center{scroll-snap-align:center}.snap-always{scroll-snap-stop:always}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-3\.5{gap:.875rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-4{gap:1rem}.gap-1{gap:.25rem}.gap-\[54px\]{gap:54px}.gap-11{gap:2.75rem}.gap-\[14px\]{gap:14px}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\[6px\]{gap:6px}.gap-8{gap:2rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-y-\[26px\]{row-gap:26px}.gap-x-\[101px\]{-moz-column-gap:101px;column-gap:101px}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[40px\]{border-radius:40px}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-b-md{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-tl-lg{border-top-left-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-\[3px\]{border-width:3px}.border-2{border-width:2px}.border-y-0{border-bottom-width:0;border-top-width:0}.border-x-0{border-left-width:0;border-right-width:0}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-t-0{border-top-width:0}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-main-divider{--tw-border-opacity:1;border-color:rgba(235,237,240,var(--tw-border-opacity))}.border-main-stroke{--tw-border-opacity:1;border-color:rgba(201,202,204,var(--tw-border-opacity))}.border-primary-main{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.border-main{--tw-border-opacity:1;border-color:rgba(240,244,240,var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-y-main-divider{--tw-border-opacity:1;border-bottom-color:rgba(235,237,240,var(--tw-border-opacity));border-top-color:rgba(235,237,240,var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-secondary-text{--tw-bg-opacity:1;background-color:rgba(125,126,127,var(--tw-bg-opacity))}.bg-main{--tw-bg-opacity:1;background-color:rgba(240,244,240,var(--tw-bg-opacity))}.bg-secondary-light{--tw-bg-opacity:1;background-color:rgba(245,247,249,var(--tw-bg-opacity))}.bg-primary-main{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.bg-main-divider{--tw-bg-opacity:1;background-color:rgba(235,237,240,var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-white\/30{background-color:hsla(0,0%,100%,.3)}.bg-primary-main\/10{background-color:rgba(var(--color-primary-main),.1)}.bg-secondary-dark{--tw-bg-opacity:1;background-color:rgba(226,228,229,var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-opacity-to-white{background-image:linear-gradient(270deg,#fff 34.89%,hsla(0,0%,100%,0) 92.52%);}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-main-gradient-start{--tw-gradient-from:rgba(var(--color-gradient-from),1);--tw-gradient-to:rgba(var(--color-gradient-from),0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white{--tw-gradient-from:#fff;--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-main-gradient-end{--tw-gradient-to:rgba(var(--color-gradient-to),1)}.to-transparent{--tw-gradient-to:transparent}.p-0{padding:0}.p-\[50px\]{padding:50px}.p-4{padding:1rem}.\!p-0{padding:0!important}.p-12{padding:3rem}.p-10{padding:2.5rem}.p-\[49px\]{padding:49px}.p-9{padding:2.25rem}.p-7{padding:1.75rem}.p-2{padding:.5rem}.p-14{padding:3.5rem}.p-\[12px\]{padding:12px}.p-\[10px\]{padding:10px}.p-\[26px\]{padding:26px}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py-\[9px\]{padding-bottom:9px;padding-top:9px}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-\[14px\]{padding-bottom:14px;padding-top:14px}.px-0{padding-left:0;padding-right:0}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-\[50px\]{padding-bottom:50px;padding-top:50px}.py-\[11px\]{padding-bottom:11px;padding-top:11px}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-7{padding-bottom:1.75rem;padding-top:1.75rem}.py-\[26px\]{padding-bottom:26px;padding-top:26px}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-0{padding-bottom:0;padding-top:0}.px-20{padding-left:5rem;padding-right:5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.px-\[88px\]{padding-left:88px;padding-right:88px}.py-\[18px\]{padding-bottom:18px;padding-top:18px}.py-4{padding-bottom:1rem;padding-top:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.pl-4{padding-left:1rem}.pl-12{padding-left:3rem}.pr-\[6\%\]{padding-right:6%}.pr-2\.5{padding-right:.625rem}.pr-2{padding-right:.5rem}.pb-5{padding-bottom:1.25rem}.pr-9{padding-right:2.25rem}.pr-\[4\.75rem\]{padding-right:4.75rem}.pr-\[9\.4rem\]{padding-right:9.4rem}.pb-2{padding-bottom:.5rem}.pl-\[50px\]{padding-left:50px}.pr-\[50px\]{padding-right:50px}.pt-7{padding-top:1.75rem}.pb-\[46px\]{padding-bottom:46px}.pt-6{padding-top:1.5rem}.pr-\[56px\]{padding-right:56px}.pl-11{padding-left:2.75rem}.pt-4{padding-top:1rem}.pt-0{padding-top:0}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pr-1{padding-right:.25rem}.pl-0\.5{padding-left:.125rem}.pl-0{padding-left:0}.pb-8{padding-bottom:2rem}.pt-\[3px\]{padding-top:3px}.pb-6{padding-bottom:1.5rem}.pt-\[30px\]{padding-top:30px}.pb-7{padding-bottom:1.75rem}.pt-5{padding-top:1.25rem}.pb-\[5px\]{padding-bottom:5px}.pt-\[5px\]{padding-top:5px}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pl-3{padding-left:.75rem}.pr-0{padding-right:0}.pt-10{padding-top:2.5rem}.pb-\[50px\]{padding-bottom:50px}.pr-\[7\.5rem\]{padding-right:7.5rem}.pl-2\.5{padding-left:.625rem}.pt-2\.5{padding-top:.625rem}.pb-1\.5{padding-bottom:.375rem}.pr-\[6\.25rem\]{padding-right:6.25rem}.pt-2{padding-top:.5rem}.pb-1{padding-bottom:.25rem}.pb-\[2px\]{padding-bottom:2px}.pt-1{padding-top:.25rem}.pl-10{padding-left:2.5rem}.pb-3{padding-bottom:.75rem}.pt-1\.5{padding-top:.375rem}.pl-1{padding-left:.25rem}.pt-0\.5{padding-top:.125rem}.pr-3{padding-right:.75rem}.pr-28{padding-right:7rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-sans{font-family:Ubuntu,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.375rem}.text-base{font-size:1rem;line-height:1.5rem}.text-m-md{font-size:.9375rem;line-height:1.5rem}.text-m-title-xs{font-size:1.0625rem;line-height:1.375rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1.125rem}.text-lg{font-size:2.188rem;line-height:3rem}.text-2xs{font-size:.625rem;line-height:.625rem}.text-m-sm{font-size:.875rem;line-height:1.375rem}.text-m-base{font-size:1rem;line-height:1.5rem}.text-m-title{font-size:1.375rem;line-height:1.8125rem}.text-title-sm{font-size:1.75rem;line-height:2.5rem}.text-m-2xs{font-size:.75rem;line-height:1.125rem}.text-m-button{font-size:.875rem;line-height:1.25rem}.text-m-title-md{font-size:1.25rem;line-height:1.625rem}.text-title-lg{font-size:2.5rem;line-height:3rem}.text-title{font-size:2rem;line-height:2.5rem}.text-title-xs{font-size:1.5rem;line-height:1.875rem}.text-title-2xs{font-size:1.25rem;line-height:1.75rem}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-\[14px\]{line-height:14px}.tracking-\[-0\.3px\]{letter-spacing:-.3px}.tracking-\[0\.2px\]{letter-spacing:.2px}.text-secondary-text{--tw-text-opacity:1;color:rgba(125,126,127,var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.text-secondary-light{--tw-text-opacity:1;color:rgba(245,247,249,var(--tw-text-opacity))}.text-white\/80{color:hsla(0,0%,100%,.8)}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.opacity-80{opacity:.8}.opacity-60{opacity:.6}.opacity-30{opacity:.3}.opacity-0{opacity:0}.shadow-\[0_8px_32px_0px_\#00000014\]{--tw-shadow:0 8px 32px 0px #00000014;--tw-shadow-colored:0 8px 32px 0px var(--tw-shadow-color)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\],.shadow-\[0_8px_32px_0px_\#00000014\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\]{--tw-shadow:0 4px 25px rgba(0,0,0,.07);--tw-shadow-colored:0 4px 25px var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-1000{transition-duration:1s}.rotate-180{transform:rotate(180deg)}.-translate-x-full{transform:translateX(-100%)}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.horizontal-list{-webkit-overflow-scrolling:touch;display:flex;overflow-x:scroll;overscroll-behavior:contain;scroll-snap-type:x mandatory;touch-action:pan-x}.horizontal-list-item{flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:always;width:100%}input[type=range].slider{-webkit-appearance:none;background:transparent;background-image:linear-gradient(#42ab44,#42ab44);background-repeat:no-repeat;border-radius:5px;height:4px}input[type=range].slider::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}input[type=range].slider::-moz-range-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:12px;width:12px}input[type=range].slider::-ms-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}.first\:rounded-tl-md:first-child{border-top-left-radius:.375rem}.first\:rounded-bl-md:first-child{border-bottom-left-radius:.375rem}.first\:pt-7:first-child{padding-top:1.75rem}.first\:pl-0:first-child{padding-left:0}.first\:pt-5:first-child{padding-top:1.25rem}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.last\:rounded-tr-md:last-child{border-top-right-radius:.375rem}.last\:rounded-br-md:last-child{border-bottom-right-radius:.375rem}.last\:border-b-0:last-child{border-bottom-width:0}.last\:pb-7:last-child{padding-bottom:1.75rem}.last\:pb-5:last-child{padding-bottom:1.25rem}.visited\:text-secondary-text:visited{color:rgba(125,126,127,var(--tw-text-opacity))}.checked\:border-primary-main:checked{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.checked\:bg-primary-main:checked{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.hover\:border-primary-main:hover{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.hover\:bg-secondary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-hover),var(--tw-bg-opacity))}.hover\:bg-primary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-hover),var(--tw-bg-opacity))}.hover\:fill-primary-main:hover{fill:rgba(var(--color-primary-main),1)}.hover\:text-primary-main:hover{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.hover\:text-primary-text:hover{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.hover\:text-secondary-hover:hover{--tw-text-opacity:1;color:rgba(var(--color-secondary-hover),var(--tw-text-opacity))}.focus\:border-primary-text:focus{--tw-border-opacity:1;border-color:rgba(28,28,28,var(--tw-border-opacity))}.active\:bg-secondary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-active),var(--tw-bg-opacity))}.active\:bg-primary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-active),var(--tw-bg-opacity))}.group:last-child .group-last\:last\:pb-0:last-child{padding-bottom:0}.group:hover .group-hover\:text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.group:hover .group-hover\:text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.peer:checked~.peer-checked\:block{display:block}.peer:focus~.peer-focus\:visible{visibility:visible}@media (min-width:1280px) and (max-width:1535px){.xl\:w-\[220px\]{width:220px}.xl\:gap-8{gap:2rem}.xl\:gap-5{gap:1.25rem}}
1
+ @import "../fonts/ubuntu/ubuntu.css";[data-theme=pc]{--color-primary-main:66,171,68;--color-primary-hover:36,131,65;--color-primary-active:36,95,52;--color-secondary-hover:216,242,217;--color-secondary-active:197,226,198;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=bc]{--color-primary-main:131,184,62;--color-primary-hover:92,146,29;--color-primary-active:60,94,16;--color-secondary-hover:232,244,217;--color-secondary-active:216,227,202;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo]{--color-primary-main:221,182,61;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo2]{--color-primary-main:255,204,0;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo3]{--color-primary-main:225,186,30;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo4]{--color-primary-main:233,191,23;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}.container{margin-left:auto;margin-right:auto;width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.inset-x-0{left:0;right:0}.top-1{top:.25rem}.right-1{right:.25rem}.top-7{top:1.75rem}.right-7{right:1.75rem}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.top-4{top:1rem}.right-4{right:1rem}.left-0{left:0}.top-1\/2{top:50%}.left-8{left:2rem}.left-1{left:.25rem}.-bottom-3{bottom:-.75rem}.top-8{top:2rem}.z-10{z-index:10}.col-span-12{grid-column:span 12/span 12}.col-span-8{grid-column:span 8/span 8}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.m-0{margin:0}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-3{margin-bottom:.75rem;margin-top:.75rem}.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.mb-2\.5{margin-bottom:.625rem}.mb-4{margin-bottom:1rem}.mt-9{margin-top:2.25rem}.mt-2{margin-top:.5rem}.mb-9{margin-bottom:2.25rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mb-\[18px\]{margin-bottom:18px}.mt-auto{margin-top:auto}.mr-6{margin-right:1.5rem}.mr-\[42px\]{margin-right:42px}.mt-\[23px\]{margin-top:23px}.mb-7{margin-bottom:1.75rem}.mt-3{margin-top:.75rem}.mb-3{margin-bottom:.75rem}.mr-3{margin-right:.75rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.mb-8{margin-bottom:2rem}.mt-2\.5{margin-top:.625rem}.mr-8{margin-right:2rem}.ml-auto{margin-left:auto}.mr-5{margin-right:1.25rem}.mr-7{margin-right:1.75rem}.mb-\[26px\]{margin-bottom:26px}.mr-2\.5{margin-right:.625rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.mt-\[19px\]{margin-top:19px}.mb-3\.5{margin-bottom:.875rem}.mr-1\.5{margin-right:.375rem}.mr-1{margin-right:.25rem}.ml-7{margin-left:1.75rem}.mb-1{margin-bottom:.25rem}.mt-1\.5{margin-top:.375rem}.mt-1{margin-top:.25rem}.mb-0\.5{margin-bottom:.125rem}.mb-0{margin-bottom:0}.ml-\[34px\]{margin-left:34px}.ml-\[24px\]{margin-left:24px}.ml-3{margin-left:.75rem}.mr-\[14px\]{margin-right:14px}.mr-auto{margin-right:auto}.ml-px{margin-left:1px}.mt-0\.5{margin-top:.125rem}.ml-0\.5{margin-left:.125rem}.mt-0{margin-top:0}.ml-0{margin-left:0}.ml-2\.5{margin-left:.625rem}.mt-\[22px\]{margin-top:22px}.box-border{box-sizing:border-box}.block{display:block}.\!block{display:block!important}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-full{height:100%}.h-\[20px\]{height:20px}.h-12{height:3rem}.h-\[70px\]{height:70px}.h-\[63px\]{height:63px}.h-8{height:2rem}.h-fit{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.h-10{height:2.5rem}.h-\[38px\]{height:38px}.h-\[50px\]{height:50px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[90px\]{height:90px}.h-\[48px\]{height:48px}.h-4{height:1rem}.h-\[25px\]{height:25px}.h-\[3px\]{height:3px}.h-0\.5{height:.125rem}.h-0{height:0}.h-\[100px\]{height:100px}.h-\[6px\]{height:6px}.h-2{height:.5rem}.h-5{height:1.25rem}.h-\[2px\]{height:2px}.h-1\.5{height:.375rem}.h-1{height:.25rem}.max-h-0{max-height:0}.max-h-6{max-height:1.5rem}.max-h-12{max-height:3rem}.min-h-\[300px\]{min-height:300px}.min-h-\[320px\]{min-height:320px}.min-h-\[360px\]{min-height:360px}.min-h-\[70px\]{min-height:70px}.min-h-\[63px\]{min-height:63px}.min-h-\[32px\]{min-height:32px}.min-h-6{min-height:1.5rem}.min-h-\[90px\]{min-height:90px}.min-h-0{min-height:0}.min-h-\[420px\]{min-height:420px}.min-h-\[50px\]{min-height:50px}.min-h-8{min-height:2rem}.min-h-\[100px\]{min-height:100px}.min-h-\[6px\]{min-height:6px}.min-h-2{min-height:.5rem}.min-h-12{min-height:3rem}.min-h-1\.5{min-height:.375rem}.min-h-1{min-height:.25rem}.w-\[20px\]{width:20px}.w-full{width:100%}.w-\[70px\]{width:70px}.w-\[84px\]{width:84px}.w-80{width:20rem}.w-\[63px\]{width:63px}.w-\[200px\]{width:200px}.w-8{width:2rem}.w-max{width:-webkit-max-content;width:-moz-max-content;width:max-content}.w-\[75px\]{width:75px}.w-\[280px\]{width:280px}.w-\[38px\]{width:38px}.w-\[364px\]{width:364px}.w-\[260px\]{width:260px}.w-\[24px\]{width:24px}.w-\[125px\]{width:125px}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.w-\[50px\]{width:50px}.w-\[33px\]{width:33px}.w-\[90px\]{width:90px}.w-\[48px\]{width:48px}.w-\[25px\]{width:25px}.w-\[2px\]{width:2px}.w-\[100px\]{width:100px}.w-\[276px\]{width:276px}.w-12{width:3rem}.w-\[354px\]{width:354px}.w-4{width:1rem}.w-\[6px\]{width:6px}.w-2{width:.5rem}.w-\[36px\]{width:36px}.w-5{width:1.25rem}.w-\[1280px\]{width:1280px}.w-10{width:2.5rem}.w-auto{width:auto}.w-1\.5{width:.375rem}.w-1{width:.25rem}.min-w-\[70px\]{min-width:70px}.min-w-\[63px\]{min-width:63px}.min-w-\[364px\]{min-width:364px}.min-w-\[260px\]{min-width:260px}.min-w-\[32px\]{min-width:32px}.min-w-6{min-width:1.5rem}.min-w-\[90px\]{min-width:90px}.min-w-\[600px\]{min-width:600px}.min-w-\[50px\]{min-width:50px}.min-w-\[100px\]{min-width:100px}.min-w-\[6px\]{min-width:6px}.min-w-2{min-width:.5rem}.min-w-1\.5{min-width:.375rem}.min-w-1{min-width:.25rem}.min-w-full{min-width:100%}.max-w-\[170px\]{max-width:170px}.max-w-\[47rem\]{max-width:47rem}.max-w-\[580px\]{max-width:580px}.max-w-\[600px\]{max-width:600px}.max-w-\[292px\]{max-width:292px}.max-w-\[308px\]{max-width:308px}.max-w-\[490px\]{max-width:490px}.max-w-\[149px\]{max-width:149px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-\[calc\(50\%-20px\)\]{flex-basis:calc(50% - 20px)}.basis-0{flex-basis:0px}.basis-full{flex-basis:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.animate-slide{-webkit-animation:progress linear;animation:progress linear}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.snap-center{scroll-snap-align:center}.snap-always{scroll-snap-stop:always}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-3\.5{gap:.875rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-4{gap:1rem}.gap-1{gap:.25rem}.gap-\[54px\]{gap:54px}.gap-11{gap:2.75rem}.gap-\[14px\]{gap:14px}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\[6px\]{gap:6px}.gap-8{gap:2rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-y-\[26px\]{row-gap:26px}.gap-x-\[101px\]{-moz-column-gap:101px;column-gap:101px}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[40px\]{border-radius:40px}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-b-md{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-tl-lg{border-top-left-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-\[3px\]{border-width:3px}.border-2{border-width:2px}.border-y-0{border-bottom-width:0;border-top-width:0}.border-x-0{border-left-width:0;border-right-width:0}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-t-0{border-top-width:0}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-main-divider{--tw-border-opacity:1;border-color:rgba(235,237,240,var(--tw-border-opacity))}.border-main-stroke{--tw-border-opacity:1;border-color:rgba(201,202,204,var(--tw-border-opacity))}.border-primary-main{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.border-main{--tw-border-opacity:1;border-color:rgba(240,244,240,var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-y-main-divider{--tw-border-opacity:1;border-bottom-color:rgba(235,237,240,var(--tw-border-opacity));border-top-color:rgba(235,237,240,var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-secondary-text{--tw-bg-opacity:1;background-color:rgba(125,126,127,var(--tw-bg-opacity))}.bg-main{--tw-bg-opacity:1;background-color:rgba(240,244,240,var(--tw-bg-opacity))}.bg-secondary-light{--tw-bg-opacity:1;background-color:rgba(245,247,249,var(--tw-bg-opacity))}.bg-primary-main{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.bg-main-divider{--tw-bg-opacity:1;background-color:rgba(235,237,240,var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-white\/30{background-color:hsla(0,0%,100%,.3)}.bg-primary-main\/10{background-color:rgba(var(--color-primary-main),.1)}.bg-secondary-dark{--tw-bg-opacity:1;background-color:rgba(226,228,229,var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-opacity-to-white{background-image:linear-gradient(270deg,#fff 34.89%,hsla(0,0%,100%,0) 92.52%);}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-main-gradient-start{--tw-gradient-from:rgba(var(--color-gradient-from),1);--tw-gradient-to:rgba(var(--color-gradient-from),0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white{--tw-gradient-from:#fff;--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-main-gradient-end{--tw-gradient-to:rgba(var(--color-gradient-to),1)}.to-transparent{--tw-gradient-to:transparent}.p-0{padding:0}.p-\[50px\]{padding:50px}.p-4{padding:1rem}.\!p-0{padding:0!important}.p-12{padding:3rem}.p-10{padding:2.5rem}.p-\[49px\]{padding:49px}.p-9{padding:2.25rem}.p-7{padding:1.75rem}.p-2{padding:.5rem}.p-14{padding:3.5rem}.p-\[12px\]{padding:12px}.p-\[10px\]{padding:10px}.p-\[26px\]{padding:26px}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py-\[9px\]{padding-bottom:9px;padding-top:9px}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-\[14px\]{padding-bottom:14px;padding-top:14px}.px-0{padding-left:0;padding-right:0}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-\[50px\]{padding-bottom:50px;padding-top:50px}.py-\[11px\]{padding-bottom:11px;padding-top:11px}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-7{padding-bottom:1.75rem;padding-top:1.75rem}.py-\[26px\]{padding-bottom:26px;padding-top:26px}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-0{padding-bottom:0;padding-top:0}.px-20{padding-left:5rem;padding-right:5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.px-\[88px\]{padding-left:88px;padding-right:88px}.py-\[18px\]{padding-bottom:18px;padding-top:18px}.py-4{padding-bottom:1rem;padding-top:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.pl-4{padding-left:1rem}.pl-12{padding-left:3rem}.pr-\[6\%\]{padding-right:6%}.pr-2\.5{padding-right:.625rem}.pr-2{padding-right:.5rem}.pb-5{padding-bottom:1.25rem}.pr-9{padding-right:2.25rem}.pr-\[4\.75rem\]{padding-right:4.75rem}.pr-\[9\.4rem\]{padding-right:9.4rem}.pb-2{padding-bottom:.5rem}.pl-\[50px\]{padding-left:50px}.pr-\[50px\]{padding-right:50px}.pt-7{padding-top:1.75rem}.pb-\[46px\]{padding-bottom:46px}.pt-6{padding-top:1.5rem}.pr-\[56px\]{padding-right:56px}.pl-11{padding-left:2.75rem}.pt-4{padding-top:1rem}.pt-0{padding-top:0}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pr-1{padding-right:.25rem}.pl-0\.5{padding-left:.125rem}.pl-0{padding-left:0}.pb-8{padding-bottom:2rem}.pt-\[3px\]{padding-top:3px}.pb-6{padding-bottom:1.5rem}.pt-\[30px\]{padding-top:30px}.pb-7{padding-bottom:1.75rem}.pt-5{padding-top:1.25rem}.pb-\[5px\]{padding-bottom:5px}.pt-\[5px\]{padding-top:5px}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pl-3{padding-left:.75rem}.pr-0{padding-right:0}.pt-10{padding-top:2.5rem}.pb-\[50px\]{padding-bottom:50px}.pr-\[7\.5rem\]{padding-right:7.5rem}.pl-2\.5{padding-left:.625rem}.pt-2\.5{padding-top:.625rem}.pb-1\.5{padding-bottom:.375rem}.pr-\[6\.25rem\]{padding-right:6.25rem}.pt-2{padding-top:.5rem}.pb-1{padding-bottom:.25rem}.pb-\[2px\]{padding-bottom:2px}.pt-1{padding-top:.25rem}.pl-10{padding-left:2.5rem}.pb-3{padding-bottom:.75rem}.pt-1\.5{padding-top:.375rem}.pl-1{padding-left:.25rem}.pt-0\.5{padding-top:.125rem}.pr-3{padding-right:.75rem}.pr-28{padding-right:7rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-sans{font-family:Ubuntu,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.375rem}.text-base{font-size:1rem;line-height:1.5rem}.text-m-md{font-size:.9375rem;line-height:1.5rem}.text-m-title-xs{font-size:1.0625rem;line-height:1.375rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1.125rem}.text-lg{font-size:2.188rem;line-height:3rem}.text-2xs{font-size:.625rem;line-height:.625rem}.text-m-sm{font-size:.875rem;line-height:1.375rem}.text-m-base{font-size:1rem;line-height:1.5rem}.text-m-title{font-size:1.375rem;line-height:1.8125rem}.text-title-sm{font-size:1.75rem;line-height:2.5rem}.text-m-2xs{font-size:.75rem;line-height:1.125rem}.text-m-button{font-size:.875rem;line-height:1.25rem}.text-m-title-md{font-size:1.25rem;line-height:1.625rem}.text-title-lg{font-size:2.5rem;line-height:3rem}.text-title{font-size:2rem;line-height:2.5rem}.text-title-xs{font-size:1.5rem;line-height:1.875rem}.text-title-2xs{font-size:1.25rem;line-height:1.75rem}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-\[14px\]{line-height:14px}.tracking-\[-0\.3px\]{letter-spacing:-.3px}.tracking-\[0\.2px\]{letter-spacing:.2px}.text-secondary-text{--tw-text-opacity:1;color:rgba(125,126,127,var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.text-secondary-light{--tw-text-opacity:1;color:rgba(245,247,249,var(--tw-text-opacity))}.text-white\/80{color:hsla(0,0%,100%,.8)}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.opacity-80{opacity:.8}.opacity-60{opacity:.6}.opacity-30{opacity:.3}.opacity-0{opacity:0}.shadow-\[0_8px_32px_0px_\#00000014\]{--tw-shadow:0 8px 32px 0px #00000014;--tw-shadow-colored:0 8px 32px 0px var(--tw-shadow-color)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\],.shadow-\[0_8px_32px_0px_\#00000014\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\]{--tw-shadow:0 4px 25px rgba(0,0,0,.07);--tw-shadow-colored:0 4px 25px var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-1000{transition-duration:1s}.rotate-180{transform:rotate(180deg)}.-translate-x-full{transform:translateX(-100%)}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.horizontal-list{-webkit-overflow-scrolling:touch;display:flex;overflow-x:scroll;overscroll-behavior:contain;scroll-snap-type:x mandatory;touch-action:pan-x}.horizontal-list-item{flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:always;width:100%}input[type=range].slider{-webkit-appearance:none;background:transparent;background-image:linear-gradient(#42ab44,#42ab44);background-repeat:no-repeat;border-radius:5px;height:4px}input[type=range].slider::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}input[type=range].slider::-moz-range-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:12px;width:12px}input[type=range].slider::-ms-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}.first\:rounded-tl-md:first-child{border-top-left-radius:.375rem}.first\:rounded-bl-md:first-child{border-bottom-left-radius:.375rem}.first\:pt-7:first-child{padding-top:1.75rem}.first\:pl-0:first-child{padding-left:0}.first\:pt-5:first-child{padding-top:1.25rem}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.last\:rounded-tr-md:last-child{border-top-right-radius:.375rem}.last\:rounded-br-md:last-child{border-bottom-right-radius:.375rem}.last\:border-b-0:last-child{border-bottom-width:0}.last\:pb-7:last-child{padding-bottom:1.75rem}.last\:pb-5:last-child{padding-bottom:1.25rem}.visited\:text-secondary-text:visited{color:rgba(125,126,127,var(--tw-text-opacity))}.checked\:border-primary-main:checked{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.checked\:bg-primary-main:checked{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.hover\:border-primary-main:hover{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.hover\:bg-secondary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-hover),var(--tw-bg-opacity))}.hover\:bg-primary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-hover),var(--tw-bg-opacity))}.hover\:fill-primary-main:hover{fill:rgba(var(--color-primary-main),1)}.hover\:text-primary-main:hover{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.hover\:text-primary-text:hover{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.hover\:text-secondary-hover:hover{--tw-text-opacity:1;color:rgba(var(--color-secondary-hover),var(--tw-text-opacity))}.focus\:border-primary-text:focus{--tw-border-opacity:1;border-color:rgba(28,28,28,var(--tw-border-opacity))}.active\:bg-secondary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-active),var(--tw-bg-opacity))}.active\:bg-primary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-active),var(--tw-bg-opacity))}.group:last-child .group-last\:last\:pb-0:last-child{padding-bottom:0}.group:hover .group-hover\:text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.group:hover .group-hover\:text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.peer:checked~.peer-checked\:block{display:block}.peer:focus~.peer-focus\:visible{visibility:visible}@media (min-width:1280px) and (max-width:1535px){.xl\:w-\[220px\]{width:220px}.xl\:gap-8{gap:2rem}.xl\:gap-5{gap:1.25rem}}
@@ -4,7 +4,9 @@ import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
4
4
  import { Button } from '../../ui-kit/Button/Button.js';
5
5
  import { Img } from '../../ui-kit/Img/Img.js';
6
6
  export const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
7
- return (_jsxs("div", { children: [_jsxs("div", { children: [image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description ? _jsx("div", { className: `font-normal text-sm mt-2`, children: description }) : null, items?.length ? (_jsx("section", { className: `max-w-[308px] mt-2`, role: "list", children: items.map((item, i) => renderItem(item.text, i, version)) })) : null] }), button?.text && _jsx(Button, { className: "mt-6", ...button })] }));
7
+ return (_jsxs("div", { children: [_jsxs("div", { children: [image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description ? _jsx("div", { className: `font-normal text-sm mt-2`, children: description }) : null, items?.length ? (_jsx("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
8
+ .filter((item) => item.text)
9
+ .map((item, i) => renderItem(item.text, i, version)) })) : null] }), button?.text && _jsx(Button, { className: "mt-6", ...button })] }));
8
10
  });
9
11
  function renderCardTitle(title, description, items) {
10
12
  return (_jsx("div", { className: `font-medium text-xl m-0 ${!description && !items?.length ? 'text-center' : ''}`, children: title }));
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,0BACE,0BACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EACnD,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,0BAA0B,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,kBAAS,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAC,MAAM,YAClD,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GAClD,CACX,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,MAAM,EAAE,IAAI,IAAI,KAAC,MAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,KAAa,EAAE,WAAoB,EAAE,KAAqB;IACjF,OAAO,CACL,cACE,SAAS,EAAE,2BAA2B,CAAC,WAAW,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,YAE1F,KAAK,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,IAAY,EAAE,CAAS,EAAE,OAAsB;IACjE,OAAO,CACL,KAAC,SAAS,IAAiB,OAAO,EAAE,OAAO,IAAI,SAAS,YACtD,eAAM,SAAS,EAAC,SAAS,YAAE,IAAI,GAAQ,IADzB,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,0BACE,0BACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EACnD,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,0BAA0B,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,kBAAS,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAC,MAAM,YAClD,KAAK;6BACH,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;6BAC3B,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAc,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GACxD,CACX,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,MAAM,EAAE,IAAI,IAAI,KAAC,MAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,KAAa,EAAE,WAAoB,EAAE,KAAqB;IACjF,OAAO,CACL,cACE,SAAS,EAAE,2BAA2B,CAAC,WAAW,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,YAE1F,KAAK,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,IAAY,EAAE,CAAS,EAAE,OAAsB;IACjE,OAAO,CACL,KAAC,SAAS,IAAiB,OAAO,EAAE,OAAO,IAAI,SAAS,YACtD,eAAM,SAAS,EAAC,SAAS,YAAE,IAAI,GAAQ,IADzB,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC;AACJ,CAAC"}