PageSourceSearch

https://demo.telebreeze.com/static/js/4383.5bf79eae.chunk.js

js telebreeze.com collected 2026-09-29 22:05:12 UTC 19,965 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfront=self.webpackChunkfront||[]).push([[4383],{3135:(e,t,l)=>{l.d(t,{A:()=>i});var n=l(27565),s=l(96650),a=l.n(s);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},o.apply(this,arguments)}function c(e,t){if(null==e)return{};var l,n,s=function(e,t){if(null==e)return{};var l,n,s={},a=Object.keys(e);for(n=0;n<a.length;n++)l=a[n],t.indexOf(l)>=0||(s[l]=e[l]);return s}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)l=a[n],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(s[l]=e[l])}return s}var r=(0,n.forwardRef)((function(e,t){var l=e.color,s=void 0===l?"currentColor":l,a=e.size,r=void 0===a?24:a,i=c(e,["color","size"]);return n.createElement("svg",o({ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},i),n.createElement("circle",{cx:"12",cy:"12",r:"1"}),n.createElement("circle",{cx:"12",cy:"5",r:"1"}),n.createElement("circle",{cx:"12",cy:"19",r:"1"}))}));r.propTypes={color:a().string,size:a().oneOfType([a().string,a().number])},r.displayName="MoreVertical";const i=r},11691:(e,t,l)=>{l.d(t,{A:()=>j});var n=l(1702),s=l(36675),a=l(34861),o=l(99e3),c=l(63158),r=l(65845),i=l(19793),d=l(27565),u=l(45230),m=l(85113),h=l(37953),x=l(14412),p=l(95178),g=l.n(p),f=l(27929);const j=e=>{let{onChange:t,value:l,placeholder:p,hidden:j,block:v,noAutoFocus:A}=e;const[C,N]=(0,d.useState)(l),{t:b}=(0,u.B)(),y=e=>{N(e),t(e)};return(0,d.useEffect)((()=>{y(l)}),[l]),j&&null===C?(0,f.jsx)(x.A,{id:"search-btn",className:"btn-icon ml-1",tooltip:b("searchEtc"),color:"flat-secondary",onClick:()=>{y("")},children:(0,f.jsx)(m.g,{icon:h.MjD})}):(0,f.jsxs)("div",{className:g()(["d-flex align-content-center justify-content-between ml-1",{"w-200":!v}]),children:[(0,f.jsx)(n.A,{className:"full-width",onSubmit:e=>{e.preventDefault()},children:(0,f.jsxs)(s.A,{className:"input-group-merge",children:[(0,f.jsx)(a.A,{addonType:"prepend",children:(0,f.jsx)(o.A,{children:(0,f.jsx)(r.A,{className:"text-muted",size:14})})}),(0,f.jsx)(c.A,{placeholder:p||b("searchEtc"),value:C,autoFocus:!A,onChange:e=>{N(e.target.value)},onKeyDown:e=>{"Enter"===e.code&&(e.preventDefault(),y(C))}}),(0,f.jsx)(a.A,{addonType:"append",children:(0,f.jsx)(o.A,{children:(C||j)&&(0,f.jsx)(i.A,{className:"text-muted cursor-pointer",size:14,onClick:()=>{y(j?null:"")}})})})]})}),(0,f.jsx)(x.A,{id:"search-submit-btn",className:"btn-icon ml-1",color:"primary",onClick:()=>{y(C)},children:(0,f.jsx)(m.g,{icon:h.MjD})})]})}},31975:(e,t,l)=>{l.r(t),l.d(t,{default:()=>w});var n=l(49216),s=l(74702),a=l(75356),o=l(21842),c=l(15490),r=l(27565),i=l(45230),d=l(83143),u=l(11691),m=l(85113),h=l(37953),x=l(91149),p=l(39061),g=(l(58244),l(78459)),f=l(68397),j=l(27929);const v=(0,s.Ng)((e=>({localesStatus:e[n.FW.LOCALES].status,locales:e[n.FW.LOCALES].instance})))((e=>{let{locales:t,selectedItems:l,onOpen:n,onSelect:a,placeholder:o,searchValue:c}=e;const{t:r}=(0,i.B)(),d=(0,s.wA)(),u=[{name:(0,j.jsx)("div",{className:"ml-1",children:r("locales.language")}),sortable:!1,minWidth:"120px",cell:e=>(0,j.jsx)("div",{className:"ml-1",children:(0,j.jsx)("b",{children:e.getLanguageStr()})})},{name:r("locales.actions"),minWidth:"120px",width:"120px",cell:e=>(e=>{const t=[];return t.push({title:r("locales.edit"),icon:h.cNj,disabled:!e.canEdit(),onClick:()=>n(e)}),t.push({title:r("locales.deleteLocale"),icon:h.yLS,onClick:()=>d(e.delete()),disabled:!e.canDelete(),confirm:{title:r("areYouSure"),text:r("youWontBeAbleToRevertIt"),confirmButtonText:r("yesDelete"),cancelButtonText:r("Cancel")}}),(0,j.jsxs)("div",{className:"d-flex align-items-center justify-content-end full-width",children:[(0,j.jsx)(g.A,{menu:t}),(0,j.jsx)(p.A,{type:"checkbox",id:`checkbox-${e.id}`,checked:l.includes(e.id),onChange:t=>{a(e.id,t.target.checked)}},`checkbox-${e.id}`)]})})(e)}];return(0,j.jsx)(f.A,{placeholder:o,searchValue:c,isLoading:!t.isInitialized(),items:t.getItems(),length:t.count,onParamsChanged:e=>{let{limit:l,offset:n,search:s}=e;d(t.refresh({limit:l,offset:n,search:s}
1))},columns:u})}));var A=l(35410),C=l(42823),N=l(74980),b=l(78206),y=l(75534),E=l(3679);const S=(0,s.Ng)((e=>({locales:e[n.FW.LOCALES].instance,localesStatus:e[n.FW.LOCALES].status,localesError:e[n.FW.LOCALES].error})))((e=>{let{localesError:t,isOpen:l,onClose:o,locales:c,locale:d,localesStatus:m}=e;const{t:h}=(0,i.B)(),x=(0,s.wA)(),[p,g]=(0,r.useState)((null===d||void 0===d?void 0:d.language)||null),[v,S]=(0,r.useState)(null),[L,k]=(0,r.useState)(""),[w,T]=(0,r.useState)(null),[O,D]=(0,r.useState)(d?d.locales:{});(0,r.useEffect)((()=>{l&&(g(d?d.language:null),D(d?d.locales:{}))}),[l]),(0,r.useEffect)((()=>{p&&b.Ay.get(`${n.FW.LOCALES.toLowerCase()}/default/${p}`).then((e=>{S(e)}))}),[p]),(0,r.useEffect)((()=>{m!==N.H.UPDATED&&m!==N.H.CREATED||(m=null,o())}),[m]);const F=e=>{T(e)},B=[{name:(0,j.jsx)("div",{className:"pl-1",children:h("locales.key")}),sortable:!1,minWidth:"172px",width:"33%",cell:e=>(0,j.jsx)("span",{className:"pl-1",children:e})},{name:h("locales.defaultValue"),sortable:!1,minWidth:"138px",width:"33%",cell:e=>v[e]||""},{name:h("locales.translation"),minWidth:"120px",width:"33%",cell:e=>(0,j.jsx)(y.A,{text:O[e],onChanged:t=>{const l={...O};t?l[e]=t:delete l[e],D(l)},placeholder:v[e]})}],R=()=>{if(!p)return null;const e=[],t=[];if(v&&(Object.keys(v).forEach((t=>{(!L||t.toLowerCase().includes(L.toLowerCase())||v[t].toLowerCase().includes(L.toLowerCase()))&&e.push(t)})),w.limit))for(let l=w.offset;l<w.offset+w.limit;l++)l<e.length&&t.push(e[l]);return(0,j.jsxs)("div",{className:"mt-2 mb-2",children:[(0,j.jsx)(u.A,{onChange:e=>k(e),value:L}),(0,j.jsx)("div",{className:"mt-2",children:(0,j.jsx)(f.A,{isLoading:null===v,items:t,length:e.length,onParamsChanged:F,columns:B})})]})},I=()=>{const e=document.createElement("a");e.href=URL.createObjectURL(new Blob([JSON.stringify({...v,...O},null,2)],{type:"text/plain"})),e.setAttribute("download","locales.json"),document.body.appendChild(e),e.click(),document.body.removeChild(e)};return(0,j.jsxs)(A.A,{isOpen:l,onClose:o,size:"xl",children:[(0,j.jsx)("h4",{className:"text-center",children:d?d.getLanguageStr():h("locales.createLocale")}),(0,j.jsx)(C.A,{isOpen:l,controls:[{type:C.C.SELECT,title:h("locales.language"),name:"language",data:E.hT.languagesForDropDown(),defaultValue:(null===d||void 0===d?void 0:d.language)||null,required:!0,onChange:e=>g(e)},p?{type:C.C.FILE,title:h("locales.importFile"),name:"file",onChange:e=>{var t,l;if((null===(t=e.target)||void 0===t||null===(l=t.files)||void 0===l?void 0:l.length)>0){const t=e.target.files[0],l=new FileReader;l.addEventListener("load",(()=>{try{const e=JSON.parse(l.result.toString());D(e)}catch(e){}})),l.readAsText(t)}}}:{},{type:C.C.COMPONENT,value:R()},{type:C.C.SUBMIT,value:h(d?"Submit":"locales.createLocale"),additional:d?(0,j.jsx)(a.A,{color:"flat-primary",onClick:I,className:"mt-1 mr-1",children:h("locales.export")}):void 0}],onSubmit:e=>{e.locales=O,x(d?d.update(e):c.create(e))},error:t})]})}));var L=l(92300),k=l(69087);const w=(0,s.Ng)((e=>({locales:e[n.FW.LOCALES].instance,localesStatus:e[n.FW.LOCALES].status})))((e=>{let{locales:t}=e;const{t:l}=(0,i.B)(),n=(0,s.wA)(),[p,g]=(0,r.useState)(null),[f,A]=(0,r.useState)([]),[C,N]=(0,r.useState)(null),b=()=>(0,j.jsxs)(a.A,{color:"warning",disabled:!t.canCreate(),onClick:()=>N(!1),children:[(0,j.jsx)(m.g,{icon:h.mh,className:"mr-1"}),l("locales.createLocale")]}),y=()=>f.filter((e=>!!t.findById(e)));return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(d.A,{title:(0,j.jsxs)("span",{children:[l("locales.localization")," "]}),actions:(0,j.jsx)(k.A,{onDeleteSelected:()=>{n(t.delete(y()))},disabled:!t.canDelete(),hasDelete:f.length>0,checked:t.getLength()&&f.length>=t.getLength(),onSelectAll:e=>A(e?t.getItems().map((e=>e.id)):[])}),children:[b(),(0,j.jsx)(u.A,{onChange:e=>g(e),value:p})]}),(0,j.jsx)(o.A,{children:(0,j.jsx)(c.A,{children:(0,j.jsx)(v,{searchValue:p,placeholder:p||t.getItems().length>0?null:(0,j.jsx)(x.A,{title:l("locales.noLocalesYet"),subTitle:t.canCreate()?l("locales.createLocalesToMakeApplicationTranslatedAsYouWant"):l("locales.youHaveNoLocales"),icon:h.mh,children:(0,j.jsx)("div",{className:"pb-4",children:b()})}),selectedItems:y(),onSelect:(e,t)=>
1{A((0,L.dp)(f,e,t))},onOpen:e=>N(e)})})}),(0,j.jsx)(S,{isOpen:null!==C,locale:C instanceof E.hT?C:null,onClose:()=>N(null)})]})}))},58244:()=>{},68397:(e,t,l)=>{l.d(t,{R:()=>L,A:()=>k});var n=l(74702);var s=l(73630),a=l(20978),o=l(25266),c=l(22110),r=l(21842),i=l(15490),d=l(28251),u=l(68500),m=l(27565),h=l(59015),x=l.n(h),p=(l(58244),l(45230)),g=l(11691),f=l(85602),j=l(62887),v=(l(95477),l(99150)),A=l(61740),C=l(14412),N=l(85113),b=l(37953),y=l(89152),E=l(90488),S=l(27929);let L=function(e){return e.TEXT="text",e.DATE_RANGE="date-range",e.SELECT="select",e.CONST="const",e}({});const k=(0,n.Ng)((e=>({selectedFilters:e[y.HI.FILTERS].entities,selectedSort:e[y.HI.SORT].entities,selectedPage:e[y.HI.PAGE].entities})))((e=>{let{filters:t,columns:l,items:h,length:y,isLoading:k,isReceiving:w,onParamsChanged:T,searchValue:O,placeholder:D,contentType:F,selectedFilters:B,selectedSort:R,selectedPage:I,additionalComponent:W,onRowClicked:z}=e;const M=Boolean(B&&B[F]),P=Boolean(R&&R[F]),_=Boolean(I&&I[F]),[H,V]=(0,m.useState)(P?R[F].direction:"desc"),[$,Y]=(0,m.useState)({}),[G,U]=(0,m.useState)(_?I[F]:0),[X,J]=(0,m.useState)(10),[K,q]=(0,m.useState)(P?R[F].column:null),{t:Z,i18n:Q}=(0,p.B)(),ee=(0,n.wA)();(0,m.useEffect)((()=>{const e={};t&&(t.forEach((t=>{e[t.name]=t.value})),Y(e)),void 0!==T&&T({limit:X,offset:G*X,filters:e,sort:H,sortColumn:K})}),[]),(0,m.useEffect)((()=>{void 0!==T&&T({limit:X,offset:G*X,search:O||void 0,filters:$,sort:H,sortColumn:K})}),[O,y]),(0,m.useEffect)((()=>{F&&(M?Y(B[F]):ne(),_&&U(I[F]),P&&(V(R[F].direction),q(R[F].column)))}),[F]);const te=e=>{var t;U(e),ee((t={contentType:F,page:e},e=>e({type:"HANDLE_CONTENT_PAGE_SELECTED",payload:t}))),void 0!==T&&T({limit:X,offset:e*X,filters:$,sort:H,sortColumn:K})},le=e=>{let t=G;e*t>=y&&(t=0,U(0)),J(e),void 0!==T&&T({limit:e,offset:t*e,filters:$,sort:H,sortColumn:K})},ne=()=>{const e={};return t.forEach((t=>{e[t.name]=void 0})),Y(e),e},se=(e,t)=>{const l={...$};var n;l[e]=t,void 0!==T&&T({limit:X,offset:G*X,filters:l,sort:H,sortColumn:K}),ee((n={contentType:F,filters:l},e=>e({type:"HANDLE_CONTENT_FILTER_SELECTED",payload:n}))),Y(l)},ae=()=>{let e=!0;return t&&t.every((t=>(void 0!==$[t.name]&&(e=$[t.name]===t.defaultValue),e))),!e};if(k)return(0,S.jsx)(v.A,{});if(y>0&&0!==G&&X*G>=y)return te(0),(0,S.jsx)(v.A,{});if(0===h.length&&!w){if(O)return(0,S.jsx)(f.A,{});if(D&&!ae())return D}return(0,S.jsxs)(m.Fragment,{children:[t&&(0,S.jsxs)("div",{className:"d-flex col-12 justify-content-end pt-1 pb-1 pull-right",children:[W,t.map(((e,t)=>{switch(e.type){case L.TEXT:return(0,S.jsx)("div",{className:e.className?e.className:"col-2",children:(0,S.jsx)(g.A,{placeholder:e.placeholder,onChange:t=>se(e.name,t),value:$[e.name]?$[e.name]:e.value})});case L.DATE_RANGE:return(0,S.jsx)("div",{className:e.className?e.className:"col-2",children:(0,S.jsx)(j.A,{value:$[e.name]?$[e.name]:e.value,id:"range-picker",className:"form-control",onChange:t=>{se(e.name,t)},options:{mode:"range",defaultDate:e.value,maxDate:"today",locale:(0,E.V)(Q.language)}})});case L.SELECT:const t=M?(e=>{var t;return null===(t=e.options)||void 0===t?void 0:t.filter((t=>{if(void 0!==$[e.name])return e.isMulti?$[e.name].includes(t.value):$[e.name]===t.value}))})(e):e.value;return(0,S.jsx)("div",{className:`${e.className?e.className:"col-2"}${e.wrapSelectedValue?" subscriber-filter":""}`,children:(0,S.jsx)(A.Ay,{id:`${e.name}-${e.value}`,options:e.options,placeholder:e.placeholder,value:t,onChange:t=>{const l=(n=t,Array.isArray(n)?n.length>0&&null!==n[n.length-1].value?n.map((e=>e.value)):void 0:n.value);var n;se(e.name,l)},isMulti:e.isMulti},`${e.name}-${e.value}`)});default:return null}})),(0,S.jsx)(C.A,{id:"clear-selected-filters",className:"ml-1 btn btn-icon btn-big",disabled:!ae(),color:"danger",tooltip:Z("tooltip.clearFilters"),onClick:()=>{const e=ne();var t;void 0!==T&&T({limit:X,offset:G*X,filters:e,sort:H,sortColumn:K}),ee((t={contentType:F},e=>e({type:"HANDLE_CONTENT_FILTERS_CLEARED",payload:t})))},children:(0,S.jsx)(N.g,{size:"lg",icon:b.yYc})})]}),l?(0,S.jsx)(u.Ay,{noHeader:!0,pagination:!0,responsive:!0,striped:!0,noDataComponent:ae()?(0,S.jsx)(r.A,{style:{borderRadius:0},className:"full-width m-0",children:(0,S.jsx)(i.A,{children:(0,S.jsx)(f.A,{})})}):(0,S.jsx)(r.A,{style:{borderRadius:0},className:"full-width m-0",children:(0,S.jsx)(i.A,{className:"text-center text-muted",children:Z("table.thereAreNoRecordsToDisplay")})}),paginationServer:!0,columns:(()=>
1{if(P){const e=[];return l.forEach((t=>{t.sortField===R[F].column&&(t.id=t.sortField),e.push(t)})),e}return l})(),onSort:(e,t)=>{var l;void 0!==T&&T({limit:X,offset:G*X,filters:$,sort:t,sortColumn:e.sortField}),V(t),q(e.sortField),ee((l={contentType:F,sort:{column:e.sortField,direction:t}},e=>e({type:"HANDLE_CONTENT_SORT_SELECTED",payload:l})))},data:h,sortIcon:(0,S.jsx)(d.A,{}),className:"react-dataTable",onRowClicked:z,pointerOnHover:Boolean(z),highlightOnHover:Boolean(z),paginationComponent:()=>{const e=Number(Math.ceil(y/X));return(0,S.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,S.jsxs)("div",{className:"d-flex p-0 align-items-center ml-1",children:[(0,S.jsx)("span",{className:"mr-1",children:Z("table.show")}),(0,S.jsxs)(s.A,{children:[(0,S.jsx)(a.A,{color:"primary",size:"sm",caret:!0,children:X}),(0,S.jsxs)(o.A,{children:[(0,S.jsx)(c.A,{tag:"a",onClick:()=>le(10),children:"10"}),(0,S.jsx)(c.A,{tag:"a",onClick:()=>le(25),children:"25"}),(0,S.jsx)(c.A,{tag:"a",onClick:()=>le(50),children:"50"}),(0,S.jsx)(c.A,{tag:"a",onClick:()=>le(100),children:"100"}),(0,S.jsx)(c.A,{tag:"a",onClick:()=>le(500),children:"500"})]})]}),(0,S.jsx)("span",{className:"ml-1",children:Z("table.entries")})]}),(0,S.jsx)("div",{className:"d-flex align-items-center p-0",children:(0,S.jsx)(x(),{previousLabel:"",nextLabel:"",pageCount:e||1,activeClassName:"active",forcePage:G,onPageChange:e=>{te(e.selected)},pageClassName:"page-item",nextLinkClassName:"page-link",nextClassName:"page-item next",previousClassName:"page-item prev",previousLinkClassName:"page-link",pageLinkClassName:"page-link",containerClassName:"pagination react-paginate justify-content-end pe-1 mr-2 mt-1"})})]})},style:{overflow:"scroll"},defaultSortFieldId:K,defaultSortAsc:"asc"===H}):(0,S.jsx)(v.A,{className:"mt-2 mb-2"})]})}))},69087:(e,t,l)=>{l.d(t,{A:()=>i});l(27565);var n=l(14412),s=l(85113),a=l(37953),o=l(39061),c=l(45230),r=l(27929);const i=e=>{let{onDeleteSelected:t,disabled:l,checked:i,onSelectAll:d,hasDelete:u,hasEdit:m,disabledEdit:h,onEdit:x}=e;const{t:p}=(0,c.B)();return(0,r.jsxs)("div",{className:"d-flex align-items-center",children:[(0,r.jsxs)(r.Fragment,{children:[m&&(0,r.jsx)(n.A,{id:"edit-selected",disabled:!!h,className:"btn-icon",tooltip:p("contents.editSelected"),color:"flat-secondary",onClick:x,children:(0,r.jsx)(s.g,{icon:a.dB})}),u&&(0,r.jsx)(n.A,{id:"delete-selected",className:"mr-1 btn-icon",disabled:l,tooltip:p("contents.deleteSelected"),color:"flat-danger",onClick:t,confirm:{title:p("areYouSure"),text:p("youWontBeAbleToRevertIt"),confirmButtonText:p("yesDelete"),cancelButtonText:p("Cancel")},children:(0,r.jsx)(s.g,{icon:a.yLS})})]}),(0,r.jsx)(o.A,{type:"checkbox",className:"mr-1",id:"select-all",checked:i,onChange:e=>{d(e.target.checked)}},"select-all")]})}},75534:(e,t,l)=>{l.d(t,{A:()=>r});var n=l(27565),s=l(63158),a=l(37953),o=l(85113),c=l(27929);const r=e=>{let{text:t,placeholder:l,onChanged:r,disabled:i,inputStyle:d,style:u,onEdit:m,type:h}=e;const[x,p]=(0,n.useState)(!1),[g,f]=(0,n.useState)(t),[j,v]=(0,n.use
1State)(!1),A=e=>{m&&m(e),p(e)},C=()=>{A(!1),v(!1),r&&t!==g&&r(g)};(0,n.useEffect)((()=>{m&&m(x)}),[x]);return!1===x?(0,c.jsxs)("span",{onClick:()=>!0!==i&&A(!0),onMouseEnter:()=>!0!==i&&v(!0),onMouseLeave:()=>!0!==i&&v(!1),className:"cursor-pointer",children:[(0,c.jsx)("span",{className:t?"":"text-muted",style:u,children:t?t.trim()?t:(0,c.jsx)("span",{className:"text-muted",children:"\xa0"}):l}),(j||!(null!==t&&void 0!==t&&t.trim()))&&(0,c.jsx)(o.g,{icon:a.cNj,className:"ml-1 text-muted"})]}):(0,c.jsx)("div",{className:"text-center",children:(0,c.jsx)(s.A,{type:h,style:d,onChange:e=>f(e.target.value),value:g,onKeyDown:e=>{"Enter"===e.key?C():"Escape"===e.key&&(f(t),C())},onBlur:C,placeholder:l||"",autoFocus:!0})})}},78459:(e,t,l)=>{l.d(t,{A:()=>f});var n=l(27565),s=l(86396),a=l(56337),o=l(20978),c=l(25266),r=l(22110),i=l(3135),d=l(85113),u=l(31774),m=l.n(u),h=l(97859),x=l.n(h),p=l(27929);const g=x()(m()),f=e=>{let{menu:t}=e;const[l,u]=(0,n.useState)(!1),m=(0,n.useRef)(null),[h,x]=(0,n.useState)({top:0,left:0});if(!t||0===t.length)return null;const f=(0,p.jsxs)(a.A,{isOpen:l,toggle:()=>u(!l),style:{position:"absolute",top:h.top,left:h.left,zIndex:2e3},children:[(0,p.jsx)(o.A,{color:"",style:{display:"block",width:0,height:0,padding:0,border:"none",background:"transparent",color:"transparent"}}),(0,p.jsx)(c.A,{children:t.map((e=>(0,p.jsxs)(r.A,{disabled:e.disabled,className:"w-100",onClick:()=>(e=>{if(e.confirm){const t={icon:"warning",showCancelButton:!!e.confirm.cancelButtonText,customClass:{confirmButton:"btn btn-primary",cancelButton:"btn btn-outline-danger ml-1"},buttonsStyling:!1},l=Object.assign({},t,e.confirm);g.fire(l).then((function(t){t.value&&e.onClick()}))}else e.onClick()})(e),children:[(0,p.jsx)(d.g,{icon:e.icon,className:"mr-1"}),e.title]},e.title)))})]});return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("button",{type:"button",ref:m,onClick:()=>{if(m.current){const e=m.current.getBoundingClientRect();let t=e.left+window.scrollX;const l=window.innerWidth,n=200;t+n>l&&(t=Math.max(0,l-n-30)),x({top:e.bottom+window.scrollY,left:t})}u(!l)},className:"bg-transparent btn-sm border-0 w-50 dropdown-item",children:(0,p.jsx)(i.A,{size:18,className:"cursor-pointer"})}),l&&s.createPortal(f,document.body)]})}},83143:(e,t,l)=>{l.d(t,{A:()=>r});var n=l(11030),s=l(75356),a=l(37953),o=l(85113),c=l(27929);const r=e=>{let{title:t,children:l,actions:r,backTo:i}=e;const d=(0,n.Zp)();return(0,c.jsxs)("div",{className:"content-header d-flex justify-content-between mb-2",children:[(0,c.jsxs)("div",{className:"content-header-left d-flex",children:[i&&(0,c.jsx)(s.A,{className:"mr-1 pt-0 pb-0 pl-1 pr-1",color:"flat-secondary",onClick:()=>{d(i)},children:(0,c.jsx)(o.g,{icon:a.CeG,size:"lg"})}),(0,c.jsx)("div",{className:"breadcrumbs-top",children:t?(0,c.jsx)("h2",{className:"d-none d-lg-block d-sm-block line-height-condensed content-header-title float-left mb-0 mr-2",children:t}):""}),(0,c.jsx)("div",{className:"d-flex align-items-center",children:l})]}),(0,c.jsx)("div",{className:"content-header-right d-flex pull-right d-flex flex-row-reverse align-items-center",children:r})]})}},85602:(e,t,l)=>{l.d(t,{A:()=>o});var n=l(45230),s=l(65845),a=l(27929);const o=()=>{const{t:e}=(0,n.B)();return(0,a.jsxs)("span",{children:[(0,a.jsx)("div",{className:"mt-5",style:{textAlign:"center"},children:(0,a.jsx)(s.A,{size:128})}),(0,a.jsx)("h3",{className:"mt-5",style:{textAlign:"center"},children:e("nothingFindMsg")}),(0,a.jsx)("h5",{className:"text-muted mt-2 mb-5 pb-5",style:{textAlign:"center"},children:e("tryAdjustSearchMsg")})]})}},91149:(e,t,l)=>{l.d(t,{A:()=>a});var n=l(85113),s=l(27929);const a=e=>{let{icon:t,title:l,subTitle:a,children:o}=e;return(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"mt-5",children:(0,s.jsx)(n.g,{icon:t,size:"10x"})}),(0,s.jsx)("h2",{className:"mt-5",children:l}),(0,s.jsx)("h5",{className:"text-muted mt-2 mb-3",children:a}),o||null]})}}}]);
2//# sourceMappingURL=4383.5bf79eae.chunk.js.map

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.