PageSourceSearch

https://lalafo.kg/_next/static/chunks/1786-c2c618d61e07121c.js

js lalafo.kg collected 2026-09-28 11:06:55 UTC 10,535 bytes, 3 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e0d9e91c-1a9c-4ce3-9858-c2be72db1cbc",e._sentryDebugIdIdentifier="sentry-dbid-e0d9e91c-1a9c-4ce3-9858-c2be72db1cbc")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1786],{1786:(e,t,c)=>{"use strict";c.d(t,{A:()=>A});var l=c(37876),a=c(14232),n=c(31130),s=c(61407),o=c(20611),r=c(93577),d=c(79827),i=c(33552),_=c(77043),p=c(77002),u=c(46767);let h=e=>{let{valueObj:t,onClick:c}=e,{value:a,subtitle:n,selected:s}=t;return(0,l.jsxs)("span",{className:"LFSelectDropdownOptionType",onClick:()=>c(t),children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(_.A,{text:a,size:"16"}),n&&(0,l.jsx)(_.A,{text:n,size:"14",color:u.ie})]}),s&&(0,l.jsx)(p.A,{})]})};var x=c(30023),L=c(75830),F=c.n(L);let m=e=>{let{inverseView:t=!1,isMultiSelect:c,values:a,onChangeHandler:n}=e,s=c?"multiselect":"";return(0,l.jsx)("ul",{className:"LFSelectList__list",children:a.map(e=>{let a=e.selected?"selected":"";return(0,l.jsx)("li",{className:"".concat(F().option," ").concat(a," ").concat(s),children:c?(0,l.jsx)(i.A,{inverseView:t,valueObj:e,onChange:n}):t?(0,l.jsx)(x.A,{inverseView:!0,valueObj:e,onChange:n}):(0,l.jsx)(h,{valueObj:e,onClick:n})},e.id)})})};var v=c(65840),j=c.n(v);let b=e=>{let{withSearchField:t,searchPlaceholder:c,values:n,onChangeSearchField:s}=e,[o,r]=(0,a.useState)(n),i="LFSelectDropdown ".concat(j().LFSelectDropdown),_=e=>{if(s)return s(e);r(n.filter(t=>t.value.toLowerCase().includes(e.toLowerCase())))};return(0,a.useEffect)(()=>{r(n)},[n]),(0,l.jsxs)("div",{className:i,children:[t&&(0,l.jsx)("div",{className:"LFSelect__search-field-wrap",children:(0,l.jsx)(d.A,{changeOnBlur:!1,onChange:e=>_(e.value),value:"",placeholder:c,clearEnabled:!0})}),(0,l.jsx)(m,{...e,values:o})]})};var C=c(50222),k=c(86412),f=c(32131),g=c(65068),S=c.n(g);let w=e=>{let{placeholder:t="",isMultiSelect:c,values:n,translations:s,withClearHandler:o,withSearchField:r,searchPlaceholder:i,isDynamicHeight:_,selectByClick:p,onChangeHandler:u,onChangeSearchField:h,onClearHandler:x,onCloseHandler:L}=e,[F,v]=(0,a.useState)(n),j="LFSelectModalDropdown ".concat(S().LFSelectModalDropdown),b=_?S().dynamicHeight:"",g=e=>{if(h)return h(e);v(n.filter(t=>t.value.toLowerCase().includes(e.toLowerCase())))};return(0,a.useEffect)(()=>{v(n)},[n]),(0,l.jsxs)("div",{className:"".concat(j," ").concat(b),children:[(0,l.jsx)("div",{className:S().overlay,onClick:L}),(0,l.jsxs)("div",{className:S().content,children:[(0,l.jsxs)("div",{className:S().header,children:[(0,l.jsx)(C.A,{onClick:L}),(0,l.jsx)(k.A,{customClass:S().headerPlaceholder,size:"16",text:t||"",weight:"700"}),o&&(0,l.jsx)(f.A,{type:"text",size:"medium",text:null==s?void 0:s.clearButton,onClick:x})]}),r&&(0,l.jsx)("div",{className:"LFSelect__search-field-wrap",children:(0,l.jsx)(d.A,{changeOnBlur:!1,onChange:e=>g(e.value),value:"",placeholder:i,clearEnabled:!0})}),(0,l.jsx)(m,{inverseView:!0,isMultiSelect:c,values:F,onChangeHandler:e=>{let t;v(t=c?F.map(t=>({...t,selected:t.id===e.id?!t.selected:t.selected})):F.map(t=>({...t,selected:t.id===e.id&&!t.selected}))),p&&u(t.filter(e=>e.selected))}}),!p&&(0,l.jsx)("div",{className:S().submitBtn,children:(0,l.jsx)(f.A,{size:"medium",type:"primary-green",text:null==s?void 0:s.submitButton,onClick:()=>{u(F.filter(e=>e.selected))}})})]})]})};var y=c(13295),I=c.n(y);let A=e=>{let{customClassName:t="",error:c,size:d,data:i,modalDropdownView:_=!1,translations:p,withClearHandler:h=!0,withSearchField:x=!1,searchPlaceholder:L="",isChangeData:F=!1,isCloseOnClear:m,onChange:v,onChangeSearchField:j,onCloseSelectDropdown:C,modalDropdownSettings:k,onClick:f,"data-testid":g}=e,{is_multiselect:S,placeholder:y,values:A}=i,[N,D]=(0,a.useState)(A),[E,B]=(0,a.useState)(!1),[R,z]=(0,a.useState)(c||""),M=N.some(e=>e.selected),T=R?I().error:"",H=E?I().open:"",O=d?I()[d]:I().small,W=M?I().selected:"",P="LFSelect ".concat(I().LFSelect," ").concat(t," ").concat(T," ").concat(H," ").concat(O," ").concat(W),G=R?"error":E?"expanded":"collapsed",U=N.filter(e=>e.selected).map(e=>e.value).join(", "),V=e=>{let{event:t,type:c}=e;t&&t.stopPropagation(),("icon-cross-filled"===c||m)&&B(!1),D(N.map(e=>({...e,selected:!1}))),v([])},Y=e=>{let t;if(!Array.isArray(N))return v([]);if(z(""),_&&B(!1),S)t=N.map(t=>({...t,selected:t.id===e.id?!t.selected:t.selected}));else{let c=N.filter(e=>e.selected);if(!h&&c.length>0&&c[0].id===e.id)return;B(!1),t=N.map(t=>({...t,selected:t.id===e.id&&!t.selected}))}let c=t?t.filter(e=>e.selected):[];D(t),v(c)},J=e=>{B(!1),z("");let t=N.map(t=>({...t,selected:e.some(e=>e.id===t.id)})),c=t?t.filter(e=>e.selected):[];D(t),v(c)},K=()=>{E&&(C&&C(),B(!1))};return(0,a.useEffect)(()=>{(x||F)&&D(A)},[A,x,F]),(0,a.useEffect)(()=>{z(c||"")},[c]),(0,a.useEffect)(()=>{var e;
1(null==(e=document)?void 0:e.body)&&(null==k?void 0:k.isLockOverlayBackground)&&(document.body.style.overflow=E?"hidden":"unset")},[E]),(0,a.useEffect)(()=>{(null==A?void 0:A.length)&&D(A)},[A]),(0,l.jsx)(n.default,{onOutsideClick:K,children:(0,l.jsx)("div",{className:P,"data-component":"lf-select","data-state":G,"data-testid":g,children:(0,l.jsxs)("div",{className:"".concat(I().wrapper," ").concat(T),children:[(0,l.jsxs)("div",{className:I().selectInput,onClick:()=>{B(!E),f&&f()},children:[(0,l.jsx)("span",{className:I().inputText,children:U||y}),M&&h?(0,l.jsx)(s.A,{onClick:e=>V({event:e,type:"icon-cross-filled"})}):(0,l.jsx)(o.A,{color:E?u.yG:u.zw})]}),R&&(0,l.jsx)(r.A,{size:"10",text:R,color:u.uU}),E&&(()=>{let e={isMultiSelect:S,values:N,onChangeHandler:Y,onChangeSearchField:j,withClearHandler:h,withSearchField:x,searchPlaceholder:L};return _?(0,l.jsx)(w,{...e,translations:p,placeholder:(null==k?void 0:k.dropDownTitle)||y,onChangeHandler:J,onClearHandler:e=>V({event:e}),onCloseHandler:K,...k}):(0,l.jsx)(b,{...e})})()]})})})}},13295:e=>{e.exports={LFIcon:"LFIcon_LFIcon__MyeLS",input:"LFInput_input__xrGbk",LFSelect:"LFSelect_LFSelect__2O9_B",open:"LFSelect_open__pTGLH",selectInput:"LFSelect_selectInput__jXbtL",error:"LFSelect_error__DGG2E",selected:"LFSelect_selected__hQTaF",inputText:"LFSelect_inputText__aZeNo",wrapper:"LFSelect_wrapper___vP9x",small:"LFSelect_small__cfAp6"}},18241:e=>{e.exports={LFIcon:"LFIcon_LFIcon__MyeLS",LFParagraph:"LFParagraph_LFParagraph__7Blf1",LFCheckbox:"LFCheckbox_LFCheckbox__ogTU5",checkmark:"LFCheckbox_checkmark__1dTsA",input:"LFCheckbox_input___PlUC",contentContainer:"LFCheckbox_contentContainer__I7pY5",imageWrapper:"LFCheckbox_imageWrapper__RVVKg",checked:"LFCheckbox_checked__lE7eS",valueIconWrapper:"LFCheckbox_valueIconWrapper__TKOVv",inverse:"LFCheckbox_inverse__ahBA_"}},30023:(e,t,c)=>{"use strict";c.d(t,{A:()=>d});var l=c(37876),a=c(77043),n=c(69370),s=c(46767),o=c(99033),r=c.n(o);let d=e=>{let{customClass:t,disabled:c,inverseView:o,valueObj:d,children:i,isShowImage:_=!1,onChange:p}=e,{id:u,value:h,subtitle:x,selected:L=!1,image:F}=d,m=o?"".concat(r().inverse," inverse"):"",v=L?r().checked:"",j=c?r().disabled:"",b="LFRadioInput ".concat(r().LFRadioInput," ").concat(v," ").concat(j," ").concat(t||"");return(0,l.jsxs)("label",{className:"LFRadioInput-container ".concat(r().container," ").concat(m),children:[(0,l.jsx)("input",{className:"LFRadioInput__input",type:"radio",value:h,name:u?u.toString():"",disabled:c,checked:d.selected,onChange:()=>p(d)}),(0,l.jsx)("span",{className:b}),(0,l.jsxs)("div",{className:r().contentContainer,children:[o&&_&&(0,l.jsx)("div",{className:r().imageWrapper,children:F&&""!==F?(0,l.jsx)("img",{src:F,alt:""}):(0,l.jsx)(n.A,{color:s.He,size:"48"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)(a.A,{text:h,size:"16"}),x&&(0,l.jsx)(a.A,{text:x,size:"14",color:s.ie})]}),i]})]})}},33552:(e,t,c)=>{"use strict";c.d(t,{A:()=>_});var l=c(37876),a=c(14232),n=c(77043),s=c(77002),o=c(69370),r=c(46767),d=c(18241),i=c.n(d);let _=e=>{let{customClass:t,disabled:c,inverseView:d,valueObj:_,isShowImage:p=!1,name:u,"data-testid":h,onChange:x}=e,{value:L,subtitle:F,selected:m=!1,image:v,iconData:j}=_,[b,C]=(0,a.useState)(m),k=d?i().inverse:"",f=b?i().checked:"",g="LFCheckbox ".concat(i().LFCheckbox," ").concat(t||""," ").concat(k," ").concat(f);return(0,a.useEffect)(()=>{C(!!_.selected)},[_.selected]),(0,l.jsxs)("label",{className:g,"data-component":"lf-checkbox","data-state":c?"disabled":b?"checked":"unchecked","data-testid":h,children:[(0,l.jsx)("input",{className:i().input,type:"checkbox",value:L,checked:b,onChange:()=>{C(!b),x({..._,selected:!b})},disabled:c,name:u}),(0,l.jsx)("div",{className:i().checkmark,children:(0,l.jsx)(s.A,{size:"16",color:r.qT})}),(0,l.jsxs)("div",{className:i().contentContainer,children:[d&&p&&(0,l.jsx)("div",{className:i().imageWrapper,children:v&&""!==v?(0,l.jsx)("img",{src:v,alt:""}):(0,l.jsx)(o.A,{color:r.He,size:"48"})}),j&&(0,l.jsx)("div",{style:{backgroundColor:j.background},className:i().valueIconWrapper,children:j.icon}),(0,l.jsxs)("div",{children:[(0,l.jsx)(n.A,{text:L,size:"16",color:r.zu}),F&&(0,l.jsx)(n.A,{text:F,size:"14",color:r.ie})]})]})]})}},65068:e=>{e.exports={container:"LFRadioInput_container__YJjmU",LFCheckbox:"LFCheckbox_LFCheckbox__ogTU5",LFButton:"LFButton_LFButton__cJp8r",option:"LFSelectList_option__C4gEe",LFSelectModalDropdown:"LFSelectModalDropdown_LFSelectModalDropdown__ueqcr",overlay:"LFSelectModalDropdown_overlay__w9ntB",content:"LFSelectModalDropdown_content__x95tj",headerPlaceholder:"LFSelectModalDropdown_headerPlaceholder__lCepG",header:"LFSelectModalDropdown_header__WrX9h",submitBtn:"LFSelectModalDropdown_submitBtn__DAS9T",dynamicHeight:"LFSelectModalDropdown_dynamicHeight__oACYV"}},65840:e=>{e.exports={LFSelectDropdown:"LFSelectDropdown_LFSelectDropdown__gn9Rp"}},75830:e=>{e.exports={option:"LFSelectList_option__C4gEe"}},99033:e=>{e.exports={container:"LFRadioInput_container__YJjmU",LFRadioInput:"LFRadioInput_LFRadioInput__thnm8",disabled:"LFRadioInput_disabled__LwZxC",checked:"LFRadioInput_checked__E0Hs_",contentContainer:"LFRadioInput_contentContainer__fstGK",
1imageWrapper:"LFRadioInput_imageWrapper__6XUNB",inverse:"LFRadioInput_inverse__mrGiD"}}}]);
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e58839ea-6029-507b-9ac6-cea6f4c09ab5")}catch(e){}}();
3//# debugId=e58839ea-6029-507b-9ac6-cea6f4c09ab5

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.