PageSourceSearch

https://xtiles.app/_next/static/chunks/8817-6997f8a92e2e9189.js

js xtiles.app collected 2026-10-01 13:08:50 UTC 66,973 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8817],{317174:function(t,e,i){"use strict";var r,o=i(667294);function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(null,arguments)}e.Z=function(t){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},t),r||(r=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m12.5 3.5-9 9M12.5 12.5l-9-9"})))}},407372:function(t,e,i){"use strict";var r,o,s=i(667294);function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(null,arguments)}e.Z=function(t){return s.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},t),r||(r=s.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M6 9.5h4M6 7h4M11.5 2.5h1a.5.5 0 0 1 .5.5v10.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V3a.5.5 0 0 1 .5-.5h.75"})),o||(o=s.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M6.6 4H4.85a.9.9 0 0 1-.247-.032c-.066-.02-.103-.048-.103-.077V1.61c0-.03.037-.057.103-.077A.9.9 0 0 1 4.85 1.5h6.3c.093 0 .182.011.248.032.065.02.102.048.102.077V3.89c0 .03-.037.057-.102.077A.9.9 0 0 1 11.15 4H4.675"})))}},718291:function(t,e,i){"use strict";var r,o=i(667294);function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(null,arguments)}e.Z=function(t){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 16 16"},t),r||(r=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M2 5h8M6 8h8M4 11h7"})))}},708446:function(t,e,i){"use strict";i.d(e,{Z:function(){return d}});var r=i(785893);i(667294);var o=i(682210),s=i.n(o),n=i(693967),l=i.n(n),a=i(417102);function d(t){let{classes:e,style:i,icon:o,label:n,size:d="default",round:c="default",color:u="default",variant:_="filled",onClick:h,dataQa:p}=t,{containerClassName:v="",iconClassName:f="",labelClassName:m=""}=e||{};return(0,r.jsxs)("div",{style:i,className:l()(s().container,s()["".concat(d,"Size")],s()["".concat(c,"Round")],s()["".concat(u,"Color")],s()["".concat(_,"Variant")],v),onClick:h,...!a.BB&&p&&{"data-qa":p},children:[o&&(0,r.jsx)("div",{className:l()(s().icon,f),children:o}),(0,r.jsx)("span",{className:l()(s().label,m),children:n})]})}},231154:function(t,e,i){"use strict";i.d(e,{p:function(){return _}});var r=i(785893),o=i(667294),s=i(708446),n=i(111705),l=i(140593),a=i(693967),d=i.n(a),c=i(528542),u=i.n(c);let _=t=>{let{style:e,labelKey:i,onClickUpgradeChip:a,variant:c="default"}=t,{t:_}=(0,l.C)(),h=(0,o.useMemo)(()=>({containerClassName:d()(u().container,"default"===c?u().default:u().invert),iconClassName:u().icon,labelClassName:u().label}),[]);return(0,r.jsx)(s.Z,{style:e,onClick:t=>{a&&(null==a||a(t))},label:_(i),icon:(0,r.jsx)(n.Z,{width:"10",height:"12"}),classes:h,dataQa:"plus-btn"})}},961361:function(t,e,i){"use strict";var r,o;i.d(e,{D:function(){return r}}),(o=r||(r={})).AUDIO="audio/*",o.ALL="*/*",o.PDF="application/pdf",o.IMAGE="image/*",o.DOC=".md",o.HTML="text/html"},545287:function(t,e,i){"use strict";var r,o,s,n,l,a;i.d(e,{F4:function(){return d},Ic:function(){return p},U_:function(){return _},iI:function(){return s},jd:function(){return c},lU:function(){return v},mr:function(){return u},pI:function(){return f},qf:function(){return h},ws:function(){return m}});let d=110,c=64,u=40,_=39,h=350;(n=r||(r={})).YELLOW="#FFF6B2",n.ORANGE="#FFE5BD",n.RED="#FFC6CD",n.PINK="#FFD3FA",n.GREEN="#C4F9C9",n.BLUE="#C3DFFF",n.CYAN="#BBEBFE",n.PURPLE="#D2D2FF",n.LIGHT_GRAY="#F2F4F9",n.GRAY="#E2E6F0",n.BEIGE="#EBE1DD",n.EMERALD="#B9F1E5",(l=o||(o={})).YELLOW="YELLOW",l.ORANGE="ORANGE",l.RED="RED",l.GREEN="GREEN",l.DARK_GREEN="DARK_GREEN",l.LIGHT_BLUE="LIGHT_BLUE",l.BLUE="BLUE",l.PURPLE="PURPLE",l.PINK="PINK",l.GRAY="GRAY",l.LIGHT_GRAY="LIGHT_GRAY",l.BEIGE="BEIGE",l.EMERALD="EMERALD",l.CYAN="CYAN";let p={YELLOW:"#FFF6B2",ORANGE:"#FFE5BD",RED:"#FFC6CD",PINK:"#FFD3FA",GREEN:"#C4F9C9",BLUE:"#C3DFFF",CYAN:"#BBEBFE",PURPLE:"#D2D2FF",LIGHT_GRAY:"#F2F4F9",GRAY:"#E2E6F0",BEIGE:"#EBE1DD",EMERALD:"#B9F1E5"},v={"#FFF6B2":"YELLOW","#FFE5BD":"ORANGE","#FFC6CD":"RED","#FFD3FA":"PINK","#C4F9C9":"GREEN","#C3DFFF":"BLUE","#D2D2FF":"PURPLE","#F2F4F9":"LIGHT_GRAY","#E2E6F0":"GRAY","#EBE1DD":"BEIGE","#B9F1E5":"EMERALD","#BBEBFE":"CYAN"};(a=s||(s={})).YELLOW="#FFF185",a.ORANGE="#FFCF88",a.RED="#FF90A0",a.PINK="#EB99E3",a.GREEN="#99EDA1",a.DARK_GREEN="#7CDEC9",a.BLUE="#91C3FE",a.LIGHT_BLUE="#8CE0FF",a.PURPLE="#A8A8FF",a.GRAY="#C7CDD9",a.BEIGE="#D3C5BF";let f=[{name:"YELLOW",label:"attributes.select.valueModal.option.colors.yellow",hash:"#FFF6B2"},{name:"ORANGE",label:"attributes.select.valueModal.option.colors.orange",hash:"#FFE5BD"},{name:"RED",label:"attributes.select.valueModal.option.colors.red",hash:"#FFC6CD"},{name:"PINK",label:"attributes.select.valueModal.option.colors.pink",hash:"#FFD3FA"},{name:"GREEN",label:"attributes.select.valueModal.option.colors.green",hash:"#C4F9C9"},{name:"EMERALD",label:"attributes.select.valueModal.option.colors.emerald",hash:"#B9F1E5"},{name:"BLUE",label:"attributes.select.valueModal.option.colors.blue",hash:"#C3DFFF"},{name:"CYAN",label:"attributes.select.valueModal.option.colors.cyan",hash:"#BBEBFE"}
1,{name:"PURPLE",label:"attributes.select.valueModal.option.colors.purple",hash:"#D2D2FF"},{name:"BEIGE",label:"attributes.select.valueModal.option.colors.beige",hash:"#EBE1DD"},{name:"LIGHT_GRAY",label:"",hash:"#F2F4F9"},{name:"GRAY",label:"attributes.select.valueModal.option.colors.gray",hash:"#E2E6F0"}],m="FAKE_COLUMN_TO_ADD_COLUMN"},425580:function(t,e,i){"use strict";i.d(e,{Z:function(){return _}});var r=i(785893);i(667294);var o=i(364826),s=i(980883),n=i(793886),l=i(978431),a=i.n(l),d=i(520846),c=i(693967),u=i.n(c);function _(t){let{icon:e=(0,r.jsx)(n.Z,{className:a().icon,width:"40px",height:"40px"}),title:i=(0,r.jsx)("div",{className:a().title,children:"Something went wrong"}),description:l=(0,r.jsx)("div",{className:a().description,children:"Sorry, Something went wrong there. Try again."}),button:c=(0,r.jsx)(o.Z,{className:a().button,type:"primary",onClick:s.sl,size:"medium",roundBorder:"roundLow",children:"Reload page"})}=t,{containerRef:_,containerSize:h}=(0,d.Z)(!1,!1);return(0,r.jsxs)("div",{ref:_,className:u()("flex-center flex-column gap-none flex-nowrap flex-1",a().container,{[a().widthLarge]:h.width>=375,[a().widthMedium]:h.width<375&&h.width>=290,[a().widthSmall]:h.width<290,[a().heightLarge]:h.height>=268,[a().heightMedium]:h.height<268&&h.height>=210,[a().heightSmall]:h.height<210,[a().noIcon]:h.height<=170,[a().noDescription]:h.height<=120,[a().noButton]:h.height<=80}),children:[(0,r.jsx)("div",{className:a().iconContainer,children:e}),(0,r.jsx)("div",{className:a().titleContainer,children:i}),(0,r.jsx)("div",{className:a().descriptionContainer,children:l}),(0,r.jsx)("div",{className:a().buttonContainer,children:c})]})}},451111:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.Switch}});var r=i(258041)},665312:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.Input}});var r=i(258041)},803873:function(t,e,i){"use strict";var r=i(785893);i(667294);var o=i(676498),s=i.n(o),n=i(693967),l=i.n(n),a=i(417102);e.Z=t=>{let{children:e,className:i,dataQa:o}=t;return(0,r.jsx)("div",{"data-clarity-mask":"True",className:l()(s().modalWrapper,i),...!a.BB&&{"data-qa":o},children:e})}},238886:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.RequestPreloader}});var r=i(258041)},612701:function(t,e,i){"use strict";i.d(e,{Z:function(){return u}});var r=i(785893);i(667294);var o=i(378745),s=i.n(o),n=i(693967),l=i.n(n),a=i(417102),d=i(258041),c=i(715079);function u(t){var e,i,o;let{title:n,show:u,titleClassName:_,tooltipClassName:h,forcedTooltip:p,dataQa:v}=t,f=n||"Untitled";return(0,r.jsx)("div",{className:h,children:(0,r.jsx)("div",{className:l()(s().text,_),"data-tooltip-id":d.XTileTooltipId,"data-tooltip-place":null!==(e=null==p?void 0:p.place)&&void 0!==e?e:"bottom","data-tooltip-delay-show":c.Uh,"data-tooltip-content":null!==(i=null==p?void 0:p.content)&&void 0!==i?i:f,"data-tooltip-class-name":l()(null!==(o=null==p?void 0:p.className)&&void 0!==o?o:s().textTooltip,"amp-mask"),"data-tooltip-hidden":!1===u,...!p&&{[d.XTileTooltipTruncatedDataAttribute]:!0},...!a.BB&&v&&{"data-qa":v},children:f})})}},236027:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.MenuIcon}});var r=i(258041)},841361:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.MenuItem}});var r=i(258041)},573320:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.MenuLayout}});var r=i(258041)},818680:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.MenuText}});var r=i(258041)},31149:function(t,e,i){"use strict";i.d(e,{K:function(){return c}});var r=i(785893);i(667294);var o=i(15540),s=i.n(o),n=i(231154),l=i(417102),a=i(140593),d=i(258041);let c=t=>{let{onUpgradeClick:e}=t,{t:i}=(0,a.C)();return(0,r.jsxs)("div",{className:s().limit,...!l.BB&&{"data-qa":"upload-image-limit-banner"},children:[(0,r.jsx)("div",{className:s().limitTitle,children:i("image.uploadModal.limitBanner.maxSize.title")}),(0,r.jsx)("div",{className:s().limitUpgrade,"data-tooltip-id":d.XTileTooltipId,"data-tooltip-content":i("limitChip.upgrade.tooltip"),"data-tooltip-place":"bottom",children:!!e&&(0,r.jsx)(n.p,{labelKey:"subscription.upgrade",onClickUpgradeChip:e,feature:"image",source:"upload_image_modal"})})]})}}
1,884720:function(t,e,i){"use strict";var r,o,s;i.d(e,{C7:function(){return b},J3:function(){return d},Jj:function(){return h},Ls:function(){return c},MD:function(){return u},PZ:function(){return m},TV:function(){return v},Tv:function(){return r},Ul:function(){return l},ZI:function(){return p},Zz:function(){return I},b9:function(){return y},cV:function(){return n},e_:function(){return E},q3:function(){return C},qi:function(){return _},t5:function(){return f},vi:function(){return a},y0:function(){return g}});let n="tabs-menus-container",l="quick-note";(s=r||(r={}))[s.width=12]="width",s[s.height=9]="height",(o||(o={})).TAB="TAB";let a="Untitled",d="\xa0",c=7,u=5,_="FULL_LIMIT_REACHED",h="LIMIT_REACHED",p="QUICK_REGISTER_IS_NOT_COMPLETE",v="SHOW_PAYMENT_PREPARING_CONTENT_BANNER",f=[h,_],m="GENERAL",y="MCP_PROMO_MODAL",b="MCP_PROMO_MODAL_GPT",E="SHOW_MARKETING_BANNER",g=104,C="Inbox",I="tile-full-screen-container"},497353:function(t,e,i){"use strict";i.d(e,{m:function(){return o}});var r=i(667294);let o=t=>{(0,r.useEffect)(()=>{requestAnimationFrame(()=>{t.current&&t.current.focus()})},[])}},520846:function(t,e,i){"use strict";i.d(e,{Z:function(){return r.useResizeObserver}});var r=i(258041)},987970:function(t,e,i){"use strict";var r=i(785893),o=i(667294),s=i(417102);e.Z=(0,o.memo)(t=>(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,...!s.BB&&{"data-qa":"check-icon"},children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4138 3.69635C12.8761 3.99859 13.0058 4.61832 12.7035 5.08057L8.17021 12.0139C8.00996 12.259 7.75033 12.4215 7.45986 12.4586C7.16938 12.4957 6.87725 12.4036 6.66057 12.2066L3.72724 9.53992C3.31858 9.16842 3.28846 8.53597 3.65997 8.12731C4.03148 7.71865 4.66392 7.68854 5.07258 8.06004L7.1381 9.93779L11.0296 3.98607C11.3318 3.52382 11.9516 3.39411 12.4138 3.69635Z",fill:"currentColor"})}))},823913:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,r.jsx)("path",{d:"M8 5C8.55228 5 9 4.55228 9 4C9 3.44772 8.55228 3 8 3C7.44772 3 7 3.44772 7 4C7 4.55228 7.44772 5 8 5Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M8 13C8.55228 13 9 12.5523 9 12C9 11.4477 8.55228 11 8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13Z",fill:"currentColor"})]}))},111705:function(t,e,i){"use strict";var r=i(785893),o=i(667294),s=i(282010);e.Z=(0,o.memo)(t=>{let{variant:e="default",...i}=t,{resolvedTheme:o}=(0,s.F)();return(0,r.jsxs)("svg",{viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,r.jsx)("path",{vectorEffect:"non-scaling-stroke",strokeWidth:"1",d:"M8.42969 5.6172C8.41809 5.56683 8.39417 5.52012 8.36009 5.48127C8.326 5.44241 8.28281 5.41261 8.23438 5.39455L5.98438 4.5508L6.55469 1.68752C6.5678 1.62119 6.55933 1.55241 6.53051 1.49125C6.50169 1.43009 6.45403 1.37977 6.39453 1.34767C6.33444 1.31571 6.26547 1.30451 6.19836 1.31581C6.13124 1.32711 6.06974 1.36029 6.02344 1.41017L1.64844 6.09767C1.61259 6.13487 1.58665 6.18046 1.573 6.23028C1.55935 6.28011 1.55843 6.33256 1.57031 6.38283C1.58254 6.43292 1.60669 6.47932 1.64069 6.51809C1.67469 6.55685 1.71755 6.58683 1.76563 6.60548L4.01563 7.44923L3.44531 10.3125C3.4322 10.3788 3.44067 10.4476 3.46949 10.5088C3.49832 10.5699 3.54597 10.6203 3.60547 10.6524C3.65032 10.675 3.69977 10.687 3.75 10.6875C3.79245 10.6877 3.83448 10.6791 3.87347 10.6623C3.91245 10.6455 3.94755 10.6208 3.97656 10.5899L8.35156 5.90236C8.38741 5.86517 8.41335 5.81957 8.427 5.76975C8.44065 5.71993 8.44157 5.66747 8.42969 5.6172V5.6172Z",fill:"default"===e?"none":"light"===o?"#FFF0D9":"#FFE5BD6B",stroke:"default"===e?"currentColor":"url(#paint0_linear_4806_104057)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_4806_104057",x1:"15.429",y1:"-4.50058",x2:"2.57186",y2:"20.5709",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#FB9333"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F1D500"})]})})]})})}
1,804473:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,r.jsx)("path",{d:"M2 4H3.33333H14",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M5.33301 3.99967V2.66634C5.33301 2.31272 5.47348 1.97358 5.72353 1.72353C5.97358 1.47348 6.31272 1.33301 6.66634 1.33301H9.33301C9.68663 1.33301 10.0258 1.47348 10.2758 1.72353C10.5259 1.97358 10.6663 2.31272 10.6663 2.66634V3.99967M12.6663 3.99967V13.333C12.6663 13.6866 12.5259 14.0258 12.2758 14.2758C12.0258 14.5259 11.6866 14.6663 11.333 14.6663H4.66634C4.31272 14.6663 3.97358 14.5259 3.72353 14.2758C3.47348 14.0258 3.33301 13.6866 3.33301 13.333V3.99967H12.6663Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M9.33301 7.33301V11.333",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M6.66699 7.33301V11.333",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})]}))},793886:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg",...t,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.72441 2C4.11519 2 2 4.11519 2 6.72441V17.2756C2 19.8848 4.11519 22 6.72441 22H17.2756C19.8848 22 22 19.8848 22 17.2756V6.72441C22 4.11519 19.8848 2 17.2756 2H6.72441ZM13.6937 10.2973C14.3699 10.9932 15.3719 11.4402 16.6776 11.4402V13.2773C14.9319 13.2773 13.4355 12.6679 12.3761 11.5773C11.3201 10.4904 10.7622 8.99172 10.7622 7.32511H12.5993C12.5993 8.57948 13.0141 9.59763 13.6937 10.2973ZM7.16154 12.7262C8.46724 12.7262 9.46932 13.1731 10.1454 13.8691C10.8251 14.5687 11.2399 15.5869 11.2399 16.8412H13.077C13.077 15.1746 12.519 13.676 11.4631 12.589C10.4037 11.4984 8.90731 10.8891 7.16154 10.8891L7.16154 12.7262Z",fill:"currentColor"})}))},130965:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:(0,r.jsxs)("g",{id:"Icons",children:[(0,r.jsx)("path",{id:"Vector",d:"M9.375 2.625L2.625 9.375",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{id:"Vector_2",d:"M9.375 9.375L2.625 2.625",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})}))},449148:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:(0,r.jsx)("g",{id:"Icons",children:(0,r.jsx)("path",{id:"Vector",d:"M7 3V13C7 13.1326 6.94732 13.2598 6.85355 13.3536C6.75978 13.4473 6.63261 13.5 6.5 13.5H4C3.86739 13.5 3.74021 13.4473 3.64645 13.3536C3.55268 13.2598 3.5 13.1326 3.5 13V3C3.5 2.86739 3.55268 2.74021 3.64645 2.64645C3.74021 2.55268 3.86739 2.5 4 2.5H6.5C6.63261 2.5 6.75979 2.55268 6.85355 2.64645C6.94732 2.74021 7 2.86739 7 3ZM9.5 2.5H12C12.1326 2.5 12.2598 2.55268 12.3536 2.64645C12.4473 2.74021 12.5 2.86739 12.5 3V9C12.5 9.13261 12.4473 9.25978 12.3536 9.35355C12.2598 9.44732 12.1326 9.5 12 9.5H9.5C9.36739 9.5 9.24022 9.44732 9.14645 9.35355C9.05268 9.25978 9 9.13261 9 9V3C9 2.86739 9.05268 2.74021 9.14645 2.64645C9.24021 2.55268 9.36739 2.5 9.5 2.5Z",stroke:"currentColor"})})}))},678117:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsxs)("svg",{width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,r.jsx)("path",{d:"M17.9167 3.4375H5.08333C4.07081 3.4375 3.25 4.18991 3.25 5.11806V16.8819C3.25 17.8101 4.07081 18.5625 5.08333 18.5625H17.9167C18.9292 18.5625 19.75 17.8101 19.75 16.8819V5.11806C19.75 4.18991 18.9292 3.4375 17.9167 3.4375Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.25 7.5625H19.75",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M8.47498 11H10.8812L9.50623 12.7188C9.73251 12.7184 9.9554 12.7738 10.1551 12.8802C10.3548 12.9866 10.5252 13.1407 10.6511 13.3287C10.777 13.5167 10.8546 13.7329 10.8769 13.9581C10.8992 14.1833 10.8656 14.4105 10.779 14.6196C10.6925 14.8287 10.5557 15.0132 10.3807 15.1567C10.2058 15.3003 9.99814 15.3984 9.77618 15.4425C9.55422 15.4865 9.32482 15.4751 9.10833 15.4092C8.89184 15.3433 8.69495 15.225 8.53513 15.0648",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12.9437 12.0312L14.3187 11V15.4688",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M16.3125 1.375V4.8125",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M6.6875 1.375V4.8125",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}))}
1,768849:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,r.jsx)("path",{d:"M2.6 2.5H7.4C7.45523 2.5 7.5 2.54477 7.5 2.6V7.4C7.5 7.45523 7.45523 7.5 7.4 7.5H2.6C2.54477 7.5 2.5 7.45523 2.5 7.4V2.6C2.5 2.54477 2.54477 2.5 2.6 2.5Z",stroke:"currentColor"}),(0,r.jsx)("path",{d:"M9.6 2.5H14.4C14.4552 2.5 14.5 2.54477 14.5 2.6V7.4C14.5 7.45523 14.4552 7.5 14.4 7.5H9.6C9.54477 7.5 9.5 7.45523 9.5 7.4V2.6C9.5 2.54477 9.54477 2.5 9.6 2.5Z",stroke:"currentColor"}),(0,r.jsx)("path",{d:"M2.6 9.5H7.4C7.45523 9.5 7.5 9.54477 7.5 9.6V14.4C7.5 14.4552 7.45523 14.5 7.4 14.5H2.6C2.54477 14.5 2.5 14.4552 2.5 14.4V9.6C2.5 9.54477 2.54477 9.5 2.6 9.5Z",stroke:"currentColor"}),(0,r.jsx)("path",{d:"M9.6 9.5H14.4C14.4552 9.5 14.5 9.54477 14.5 9.6V14.4C14.5 14.4552 14.4552 14.5 14.4 14.5H9.6C9.54477 14.5 9.5 14.4552 9.5 14.4V9.6C9.5 9.54477 9.54477 9.5 9.6 9.5Z",stroke:"currentColor"})]}))},349487:function(t,e,i){"use strict";var r=i(785893),o=i(667294),s=i(417102);e.Z=(0,o.memo)(t=>{let{dataQa:e,...i}=t;return(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,...!s.BB&&e&&{"data-qa":e},children:[(0,r.jsx)("path",{d:"M8.25 2.75V13.25",stroke:"currentColor",strokeWidth:i.strokeWidth||"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3 8H13.5",stroke:"currentColor",strokeWidth:i.strokeWidth||"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})},487939:function(t,e,i){"use strict";var r=i(785893),o=i(667294);e.Z=(0,o.memo)(t=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,r.jsx)("path",{d:"M2.5 4.375H17.5V15C17.5 15.1658 17.4342 15.3247 17.3169 15.4419C17.1997 15.5592 17.0408 15.625 16.875 15.625H3.125C2.95924 15.625 2.80027 15.5592 2.68306 15.4419C2.56585 15.3247 2.5 15.1658 2.5 15V4.375Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M2.5 8.125H17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M2.5 11.875H17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M6.875 8.125V15.625",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}))},435882:function(t,e,i){"use strict";i.d(e,{D:function(){return r.useDialogContext}});var r=i(258041)},501421:function(t,e,i){"use strict";i.d(e,{z:function(){return T}});var r,o,s=i(573292),n=i(907091),l=i(197582),a=i(168949),d=i(123701),c=i(342685);class u extends d.Z{getElementKey(t){return t.id}constructor(t){super(),(0,s._)(this,"setOptionsList",t=>{this.setElements(t)}),(0,s._)(this,"updateOptionsList",t=>{let e=[],i=t.reduce((t,i)=>(e.push(i.id),t[i.id]=i,t),{}),{update:r,remove:o,add:s}=function(t,e){let i=[],r=[],o=e.reduce((t,e)=>(t[e]=e,t),{});return t.forEach(t=>{o.hasOwnProperty(t)?(i.push(t),delete o[t]):r.push(t)}),{update:i,remove:r,add:Object.keys(o)}}(this._order,e);r.forEach(t=>{let{color:e,title:r}=i[t];this._map.get(t).update({color:e,title:r})}),o.forEach(t=>{this._map.delete(t)}),s.forEach(t=>{this._map.set(t,i[t])}),this._order=e,super.emit({type:d.c.UPDATED,removedKeys:o.length?o:void 0,orders:(0,a.toJS)(this._order)})}),(0,s._)(this,"changeOrderBy",t=>{c.B.sortExistedByOtherMutable(this._order,t,"END"),super.emit({type:d.c.ORDER_CHANGED,orders:(0,a.toJS)(this._order)})}),this.setOptionsList(t)}}(0,l.__decorate)([a.action],u.prototype,"setOptionsList",void 0),(0,l.__decorate)([a.action],u.prototype,"updateOptionsList",void 0),(0,l.__decorate)([a.action],u.prototype,"changeOrderBy",void 0);var _=i(816360),h=i(369030),p=i(291186);let v=new Set(["MULTISELECT","SELECT"]),f=new Set(["PERSON","ASSIGNEE"]),m=new Set(["RELATION","ASSIGNEE","FILE","IMAGE","MULTISELECT","PERSON"]),y=new Set(["ASSIGNEE","DUE_DATE","STATUS","MEDIA_TYPE"]),b=new Set(["CREATED_BY","LOCATION","ASSIGNEE","DUE_DATE","STATUS"]);(r=o||(o={})).UPDATED="UPDATED",r.OPTIONS_EVENT="OPTIONS_EVENT",r.ROLLUP_UPDATED="ROLLUP_UPDATED";class E extends _.m{get title(){return this._title}get type(){return this._type}get options(){return this._optionsStore.list}get relToCollectionId(){var t;return null===(t=this._relationMeta)||void 0===t?void 0:t.relToCollectionId}get relToCollectionViewId(){var t;return null===(t=this._relationMeta)||void 0===t?void 0:t.relToCollectionViewId}get isHidden(){return this._isAlwaysHidden}
1get isSystem(){return y.has(this._type)}isExtendedTargets(){return b.has(this._type)}get backRelAttributeId(){var t;return null===(t=this._relationMeta)||void 0===t?void 0:t.backRelAttributeId}get relToViewId(){var t;return null===(t=this._relationMeta)||void 0===t?void 0:t.relToViewId}get relationMeta(){return this._relationMeta}get rollupMeta(){return this._rollupMeta}get selectMeta(){return this._selectMeta}get targetsSelectionType(){return m.has(this._type)?"MULTI":"SINGLE"}get isFixedSelectBased(){return v.has(this._type)}get isUserBased(){return f.has(this._type)}events(){return this._eventsSubject||(this._eventsSubject=new p.x,this._eventsObservable=this._eventsSubject.asObservable()),this._eventsObservable}emit(t){this._eventsSubject&&this._eventsSubject.next(t)}constructor({id:t,type:e,title:i,options:r,relationMeta:o,rollupMeta:l,transport:d,isAlwaysHidden:c,selectMeta:_}){super(),(0,s._)(this,"_optionsStore",void 0),(0,s._)(this,"_relationMeta",null),(0,s._)(this,"_rollupMeta",null),(0,s._)(this,"_selectMeta",null),(0,s._)(this,"_transport",null),(0,s._)(this,"_isAlwaysHidden",!1),(0,s._)(this,"_title",void 0),(0,s._)(this,"_type",void 0),(0,s._)(this,"_eventsSubject",void 0),(0,s._)(this,"_eventsObservable",void 0),(0,s._)(this,"_observers",[]),(0,s._)(this,"getOptionById",t=>this._optionsStore.getElementByKey(t)),(0,s._)(this,"setTitle",t=>{this._title=t,this.emit({type:"UPDATED"})}),(0,s._)(this,"setType",t=>{this._type=t,this.emit({type:"UPDATED"})}),(0,s._)(this,"updateOptionsList",t=>{this._optionsStore.updateOptionsList(t)}),(0,s._)(this,"addOption",t=>{this._optionsStore.insertElement(t,{direction:"AFTER"})}),(0,s._)(this,"removeOption",t=>{this._optionsStore.removeElements([t])}),(0,s._)(this,"removeOptions",t=>{this._optionsStore.removeElements(t)}),(0,s._)(this,"moveOption",(t,e)=>{this._optionsStore.moveElement(t,e)}),(0,s._)(this,"getRelationAttributeTitleById",t=>this._transport.getElementTitleById(t)),(0,s._)(this,"getRelatedToTitle",()=>{if(this.relToCollectionViewId&&this.relToCollectionId){let t=this._transport.getElementTitleDtoById(this.relToCollectionId),e=this._transport.getElementTitleDtoById(this.relToCollectionViewId);return"Relation to ".concat(t?(0,h.F_)(t.title):"Not available"," / ").concat(e?(0,h.F_)(e.title):"Not available")}return"Relation"}),(0,s._)(this,"updateOptions",t=>{(null==t?void 0:t.length)&&(t.forEach(t=>{let e=this._optionsStore.getElementByKey(t.id);e&&(e.setTitle(t.content.title),e.setColor(t.props.color))}),this.emit({type:"UPDATED"}))}),(0,s._)(this,"updateSelectInfo",t=>{var e;null===(e=this._selectMeta)||void 0===e||e.update(t),this.emit({type:"UPDATED"})}),(0,s._)(this,"updateRelationInfo",t=>{var e;null===(e=this._relationMeta)||void 0===e||e.update(t),this.emit({type:"UPDATED"})}),(0,s._)(this,"updateRollupInfo",t=>{var e,i,r,o;((null==t?void 0:t.foreignAttributeId)!==(null===(e=this._rollupMeta)||void 0===e?void 0:e.foreignAttributeId)||(null==t?void 0:t.referenceAttributeId)!==(null===(i=this._rollupMeta)||void 0===i?void 0:i.referenceAttributeId))&&this.emit({type:"ROLLUP_UPDATED",payload:{id:this._clientId,rollupMeta:{foreignAttributeId:t.foreignAttributeId,referenceAttributeId:t.referenceAttributeId}}}),null===(o=this._rollupMeta)||void 0===o||null===(r=o.update)||void 0===r||r.call(o,t)}),(0,s._)(this,"update",t=>{let{type:e,title:i,options:r,relationMeta:o,rollupMeta:s,selectMeta:n}=t;this.setTitle(i),this.setType(e),this.updateOptionsList(r),this.updateRelationInfo(o),this.updateRollupInfo(s),this.updateSelectInfo(n)}),(0,s._)(this,"updateFromDto",t=>{let{type:e,title:i,metaInfo:r,selectItems:o}=t;this.setType(e),this.setTitle(i),(null==r?void 0:r.relationMeta)&&this.updateRelationInfo(null==r?void 0:r.relationMeta),(null==r?void 0:r.rollupMeta)&&this.updateRollupInfo(null==r?void 0:r.rollupMeta),(null==r?void 0:r.selectsMeta)&&this.updateSelectInfo(null==r?void 0:r.selectsMeta),this.updateOptionsList(o.reduce((t,e)=>{var i;return t.push(new n.v({id:e.id,title:e.content.title,color:null===(i=e.props)||void 0===i?void 0:i.color})),t},[]))}),(0,s._)(this,"sortOptionsByArray",t=>{this._optionsStore.changeOrderBy(t)}),(0,s._)(this,"destroy",()=>{var t;
1this._observers.forEach(t=>t.unsubscribe()),null===(t=this._eventsSubject)||void 0===t||t.complete(),this._eventsSubject=void 0,this._eventsObservable=void 0,this._optionsStore.destroy()}),this._isAlwaysHidden=c,this._clientId=t,this._type=e,this._title=i,this._optionsStore=new u(r||[]),this._relationMeta=o,this._rollupMeta=l,this._selectMeta=_,this._transport=d,this._observers.push(this._optionsStore.events().subscribe(t=>{this.emit({type:"OPTIONS_EVENT",optionEvent:t})})),(0,a.makeObservable)(this)}}(0,l.__decorate)([a.observable],E.prototype,"_title",void 0),(0,l.__decorate)([a.observable],E.prototype,"_type",void 0),(0,l.__decorate)([a.computed],E.prototype,"title",null),(0,l.__decorate)([a.action],E.prototype,"setTitle",void 0),(0,l.__decorate)([a.action],E.prototype,"setType",void 0),(0,l.__decorate)([a.action],E.prototype,"updateOptionsList",void 0),(0,l.__decorate)([a.action],E.prototype,"addOption",void 0),(0,l.__decorate)([a.action],E.prototype,"removeOption",void 0),(0,l.__decorate)([a.action],E.prototype,"removeOptions",void 0),(0,l.__decorate)([a.action],E.prototype,"moveOption",void 0),(0,l.__decorate)([a.action],E.prototype,"updateOptions",void 0),(0,l.__decorate)([a.action],E.prototype,"updateRelationInfo",void 0),(0,l.__decorate)([a.action],E.prototype,"updateRollupInfo",void 0),(0,l.__decorate)([a.action],E.prototype,"update",void 0),(0,l.__decorate)([a.action],E.prototype,"updateFromDto",void 0),(0,l.__decorate)([a.computed],E.prototype,"targetsSelectionType",null),(0,l.__decorate)([a.computed],E.prototype,"isFixedSelectBased",null),(0,l.__decorate)([a.computed],E.prototype,"isUserBased",null);class g{get backRelAttributeId(){return this._backRelAttributeId}get relToCollectionId(){return this._relToCollectionId}get relToCollectionViewId(){return this._relToCollectionViewId}get relToViewId(){return this._relToViewId}constructor({relToCollectionId:t,relToCollectionViewId:e,backRelAttributeId:i,relToViewId:r}){(0,s._)(this,"_relToViewId",void 0),(0,s._)(this,"_relToAttributeTitle",void 0),(0,s._)(this,"_backRelAttributeId",void 0),(0,s._)(this,"_relToCollectionId",void 0),(0,s._)(this,"_relToCollectionViewId",void 0),(0,s._)(this,"update",t=>{t.backRelAttributeId!==this._backRelAttributeId&&(this._backRelAttributeId=t.backRelAttributeId),t.relToViewId&&t.relToViewId!==this._relToViewId&&(this._relToViewId=t.relToViewId),t.relToCollectionId&&t.relToCollectionId!==this._relToCollectionId&&(this._relToCollectionId=t.relToCollectionId),t.relToCollectionViewId&&t.relToCollectionViewId!==this._relToCollectionViewId&&(this._relToCollectionViewId=t.relToCollectionViewId),t.relToAttributeTitle&&t.relToAttributeTitle!==this._relToAttributeTitle&&(this._relToAttributeTitle=t.relToAttributeTitle)}),this._backRelAttributeId=i,this._relToCollectionId=t,this._relToCollectionViewId=e,this._relToViewId=r}}(0,l.__decorate)([a.observable],g.prototype,"_backRelAttributeId",void 0),(0,l.__decorate)([a.observable],g.prototype,"_relToCollectionId",void 0),(0,l.__decorate)([a.observable],g.prototype,"_relToCollectionViewId",void 0),(0,l.__decorate)([a.action],g.prototype,"update",void 0);var C=i(376433);class I{get foreignAttributeId(){return this._foreignAttributeId}get referenceAttributeId(){return this._referenceAttributeId}constructor({foreignAttributeId:t,referenceAttributeId:e}){(0,s._)(this,"_foreignAttributeId",void 0),(0,s._)(this,"_referenceAttributeId",void 0),(0,s._)(this,"update",t=>{this._foreignAttributeId=null==t?void 0:t.foreignAttributeId,this._referenceAttributeId=null==t?void 0:t.referenceAttributeId}),this._foreignAttributeId=t,this._referenceAttributeId=e,(0,a.makeObservable)(this)}}(0,l.__decorate)([a.observable],I.prototype,"_foreignAttributeId",void 0),(0,l.__decorate)([a.observable],I.prototype,"_referenceAttributeId",void 0),(0,l.__decorate)([a.action],I.prototype,"update",void 0);class A{get isColorDisabled(){return this._isColorDisabled}constructor(t){(0,s._)(this,"_isColorDisabled",void 0),(0,s._)(this,"update",t=>{let{isColorDisabled:e}=t;this._isColorDisabled=!!e}),this.update(t),(0,a.makeObservable)(this)}}(0,l.__decorate)([a.observable],A.prototype,"_isColorDisabled",void 0),(0,l.__decorate)([a.action],A.prototype,"update",void 0);class T{}(0,s._)(T,"entityFromDto",t=>{let{id:e,title:i,type:r,selectItems:o,metaInfo:s}=t;return new E({id:e,title:i,type:r,options:(null==o?void 0:o.map(t=>T.optionEntityFromDto(t)))||[],isAlwaysHidden:!!(null==s?void 0:s.isAlwaysHidden
1),relationMeta:T.relationMetaEntityFromDto(null==s?void 0:s.relationMeta),rollupMeta:T.rollupMetaEntityFromDto(null==s?void 0:s.rollupMeta),selectMeta:T.selectMetaEntityFromDto(null==s?void 0:s.selectsMeta),transport:{getElementTitleById:C.Z.getTitle,getElementTitleDtoById:C.Z.getElement}})}),(0,s._)(T,"optionEntityFromDto",t=>{var e;return new n.v({id:t.id,title:t.content.title,color:null===(e=t.props)||void 0===e?void 0:e.color})}),(0,s._)(T,"selectMetaEntityFromDto",t=>new A({isColorDisabled:null==t?void 0:t.isColorDisabled})),(0,s._)(T,"relationMetaEntityFromDto",t=>new g({relToCollectionId:null==t?void 0:t.relToCollectionId,relToCollectionViewId:null==t?void 0:t.relToCollectionViewId,backRelAttributeId:null==t?void 0:t.backRelAttributeId,relToViewId:null==t?void 0:t.relToViewId})),(0,s._)(T,"rollupMetaEntityFromDto",t=>new I({referenceAttributeId:null==t?void 0:t.referenceAttributeId,foreignAttributeId:null==t?void 0:t.foreignAttributeId})),(0,s._)(T,"dtoFromEntity",t=>({id:(0,a.toJS)(t.id),title:(0,a.toJS)(t.title),type:(0,a.toJS)(t.type),selectGroups:null,selectItems:t.options.map(t=>T.attributeOptionDtoFromEntity(t)),metaInfo:{isAlwaysHidden:t.isHidden,relationMeta:T.relationMetaDtoFromEntity(t.relationMeta),rollupMeta:T.rollupMetaDtoFromEntity(t.rollupMeta),selectsMeta:T.selectMetaDtoFromEntity(t.selectMeta)},props:{}})),(0,s._)(T,"attributeOptionDtoFromEntity",t=>({id:(0,a.toJS)(t.id),content:{title:(0,a.toJS)(t.title)},props:{color:(0,a.toJS)(t.color)}})),(0,s._)(T,"relationMetaDtoFromEntity",t=>{if(t)return{relToCollectionId:(0,a.toJS)(t.relToCollectionId),relToCollectionViewId:(0,a.toJS)(t.relToCollectionViewId),relToViewId:(0,a.toJS)(t.relToViewId),backRelAttributeId:(0,a.toJS)(t.backRelAttributeId)}}),(0,s._)(T,"selectMetaDtoFromEntity",t=>{if(t)return{isColorDisabled:t.isColorDisabled}}),(0,s._)(T,"rollupMetaDtoFromEntity",t=>{if(t)return{foreignAttributeId:t.foreignAttributeId,referenceAttributeId:t.referenceAttributeId}})},907091:function(t,e,i){"use strict";i.d(e,{v:function(){return n}});var r=i(573292),o=i(197582),s=i(168949);class n{get id(){return this._id}get title(){return this._title}get color(){return this._color}constructor({id:t,color:e,title:i}){(0,r._)(this,"_id",void 0),(0,r._)(this,"_title",void 0),(0,r._)(this,"_color",void 0),(0,r._)(this,"setTitle",t=>{this._title=t}),(0,r._)(this,"setColor",t=>{this._color=t}),(0,r._)(this,"update",t=>{let{color:e,title:i}=t;this.setTitle(i),this.setColor(e)}),this._id=t,this._title=i,this._color=e,(0,s.makeObservable)(this)}}(0,o.__decorate)([s.observable],n.prototype,"_title",void 0),(0,o.__decorate)([s.observable],n.prototype,"_color",void 0),(0,o.__decorate)([s.action],n.prototype,"setTitle",void 0),(0,o.__decorate)([s.action],n.prototype,"setColor",void 0),(0,o.__decorate)([s.action],n.prototype,"update",void 0)},435017:function(t,e,i){"use strict";i.d(e,{Z:function(){return y}});var r=i(573292),o=i(197582),s=i(168949),n=i(258041),l=i(342685),a=i(501421),d=i(127661),c=i(291186),u=i(618918),_=i(987136),h=i(165548),p=i(935896),v=i(548162),f=i(640794),m=i(618393);class y extends p.D{get foreignAttributesByCollections(){return this._foreignAttributesByCollections}get attributesOrder(){return this._attributesOrder}get attributesList(){return this._attributesOrder.map(t=>this._attributes.getEntityById(t))}get deletedAttributes(){return this._deletedAttributes.getEntities()}size(){return this._attributes.size}destroy(){super.destroy(),this._attributeSubscription.closeAll(),this.clear()}events(){return this._eventsSubject||(this._eventsSubject=new c.x,this._eventsObservable=this._eventsSubject.asObservable()),this._eventsObservable}emit(t){this._eventsSubject&&this._eventsSubject.next(t)}constructor(){var t;super(),t=this,(0,r._)(this,"_attributesOrder",[]),(0,r._)(this,"_attributes",void 0),(0,r._)(this,"_deletedAttributes",void 0),(0,r._)(this,"_foreignAttributesByCollections",{}),(0,r._)(this,"_onOrderChanged",void 0),(0,r._)(this,"_eventsSubject",void 0),(0,r._)(this,"_eventsObservable",void 0),(0,r._)(this,"_attributeSubscription",void 0),(0,r._)(this,"setAttributesOrder",t=>{var e;if(t.length!==this._attributes.size||t.find(t=>!this._attributes.hasEntity(t)))throw Error("Attributes order is not val
1id!");l.B.updateMutable(t,this._attributesOrder),null===(e=this._onOrderChanged)||void 0===e||e.call(this)}),(0,r._)(this,"getAttributeById",t=>this._attributes.getEntityById(t)),(0,r._)(this,"getFirstAttributeByType",(0,d.computedFn)(t=>this.attributesList.find(e=>e.type===t))),(0,r._)(this,"getFirstImageAttributeWithValue",(0,d.computedFn)(t=>this.attributesList.filter(t=>"IMAGE"===t.type).find(e=>{var i,r;let o=null===(r=t.getAttrValuesByIdOrDefault(e.id))||void 0===r?void 0:null===(i=r.content)||void 0===i?void 0:i.values;return Array.isArray(o)&&o.length>0}))),(0,r._)(this,"setAttributes",function(e,i,r){var o;let s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t._deletedAttributes.setEntities(i,{removeOther:s}),t.setForeignAttributes(r);let n=t._attributes.setEntities(e,{removeOther:s});return s?(t._attributesOrder=[],e.forEach(e=>{t._attributesOrder.push(e.getEntityId())})):n.created.forEach(e=>{t._attributesOrder.push(e.id)}),null===(o=t._onOrderChanged)||void 0===o||o.call(t),n}),(0,r._)(this,"moveAttribute",(t,e)=>{var i;let r=l.B.removeElementsMutable(this._attributesOrder,t);l.B.placeToArrayMutable(this._attributesOrder,r,e),null===(i=this._onOrderChanged)||void 0===i||i.call(this)}),(0,r._)(this,"setAttributeEntities",t=>{let e=!1,i=l.B.mapNotNull(t,t=>{if(!this._attributes.hasEntity(t.id))return this._attributes.setPersistedEntities(t),this._attributesOrder.push(t.id),e=!0,t;{let{type:e,title:i,options:r,relationMeta:o,isHidden:s}=t;return this._attributes.getEntityById(t.id).update({type:e,title:i,options:r,relationMeta:o,isAlwaysHidden:s}),null}});if(e){var r;null===(r=this._onOrderChanged)||void 0===r||r.call(this)}return i}),(0,r._)(this,"removeAttribute",t=>{var e;let i=this._attributes.getEntityById(t);if(!i)return null;this._deletedAttributes.setPersistedEntities(i),this._attributesOrder=this._attributesOrder.filter(t=>t!==i.id&&t!==i.key);let r=this._attributes.removeEntityById(t);return null===(e=this._onOrderChanged)||void 0===e||e.call(this),r}),(0,r._)(this,"removeAttributeFromDeleted",t=>this._deletedAttributes.removeEntityById(t)),(0,r._)(this,"clearAllDeletedAttributes",()=>{this._deletedAttributes.clear()}),(0,r._)(this,"clear",()=>{this._attributesOrder=[],this._attributes.clear(),this._deletedAttributes.clear(),this._foreignAttributesByCollections={}}),(0,r._)(this,"getAttributesByType",(0,d.computedFn)(t=>this.attributesList.filter(e=>e.type===t))),(0,r._)(this,"setCallbackOnOrderChanged",t=>{this._onOrderChanged=t}),(0,r._)(this,"getRollupForeignAttributeDto",t=>{let e=this.getAttributeById(t);if(!e)return null;let i=this.getAttributeById(e.rollupMeta.referenceAttributeId);if(!i)return null;let r=this._foreignAttributesByCollections[i.relToCollectionId];return r?r[e.rollupMeta.foreignAttributeId]:null}),(0,r._)(this,"setForeignAttributes",t=>{if(!h.g.isEmpty(t))for(let e in t)if(this._foreignAttributesByCollections[e])for(let i in t[e])this._foreignAttributesByCollections[e][i]=t[e][i];else this._foreignAttributesByCollections[e]=t[e]}),(0,r._)(this,"isAttributeExists",(0,d.computedFn)(t=>this._attributes.hasEntity(t))),this._attributeSubscription=new f.E("AttrStore"),this._attributes=new n.CorrelationController({key:"ATTRIBUTES",createNewEntity:t=>a.z.entityFromDto(t),onAfterPersisted:()=>{},onAfterDeleted:t=>{let{entity:e}=t;this.emit({type:m.v.ATTRIBUTE_DELETE,payload:{id:e.id}}),e.destroy()}}),this._deletedAttributes=new n.CorrelationController({key:"DELETED_ATTRIBUTES",createNewEntity:t=>a.z.entityFromDto(t),onAfterDeleted:t=>{let{entity:e}=t;return e.destroy()}}),(0,s.makeObservable)(this),(0,_.j)()&&this.addDisposable(v.Uo.from({destroy:(0,s.reaction)(()=>(0,s.toJS)(this._attributesOrder),t=>{this._attributeSubscription.setSubscriptions(t,t=>({dispose:this._attributes.getEntityById(t).events().pipe((0,u.h)(t=>"ROLLUP_UPDATED"===t.type)).subscribe(t=>{var e;this.emit({type:m.v.ROLLUP_UPDATED,payload:{id:null===(e=t.payload)||void 0===e?void 0:e.id,rollupMeta:t.payload.rollupMeta}})}).unsubscribe}))},{fireImmediately:!0})}))}}(0,o.__decorate)([s.observable],y.prototype,"_attributesOrder",void 0),(0,o.__decorate)([s.action],y.prototype,"setAttributesOrder",void 0),(0,o.__decorate)([s.action],y.prototype,"setAttributes",void 0),(0,o.__decorate)([s.action],y.prototype,"moveAttribute",void 0),(0,o.__decorate)([s.action],y.prototype,"setAttributeEntities",void 0),(0,o.__decorate)([s.action],y.prototype,"removeAttribute",void 0),(0,o.__decorate)([s.action],y.prototype,"removeAttributeFromDeleted",void 0),(0,o.__decorate)([s.action],y.prototype,"clearAllDeletedAttributes",void 0),(0,o.__decorate)([s.action],y.prototype,"clear",void 0)}
1,830403:function(t,e,i){"use strict";i.d(e,{V:function(){return c}});var r=i(573292),o=i(197582),s=i(168949),n=i(258041),l=i(165548),a=i(342685),d=i(892269);class c{get formId(){return this._formId}get fields(){return this._fields}get title(){return this._title}get headerIconUrl(){var t,e,i,r;return(null===(t=this._iconMedia)||void 0===t?void 0:t.reaction)?(0,d.q$)(null===(e=this._iconMedia)||void 0===e?void 0:e.reaction):null===(r=this._iconMedia)||void 0===r?void 0:null===(i=r.media)||void 0===i?void 0:i.url}get coverMedia(){return this._coverMedia}get isHeaderIconShowed(){return!this._settings.isIconHidden}get isSuccessIconShowed(){return!this._successScreen.settings.isIconHidden}get reposition(){return this._reposition}get description(){var t;return(null===(t=this._description.content)||void 0===t?void 0:t.title)||""}get successTitle(){var t,e;return(null===(e=this._successScreen.title)||void 0===e?void 0:null===(t=e.content)||void 0===t?void 0:t.title)||""}get isPublic(){return this._isFormPublic}get successDescription(){var t,e;return(null===(e=this._successScreen.description)||void 0===e?void 0:null===(t=e.content)||void 0===t?void 0:t.title)||""}get successIconUrl(){var t,e,i,r;return(null===(t=this._successScreen.icon)||void 0===t?void 0:t.reaction)?(0,d.q$)(null===(e=this._successScreen.icon)||void 0===e?void 0:e.reaction):null===(r=this._successScreen.icon)||void 0===r?void 0:null===(i=r.media)||void 0===i?void 0:i.url}setDescription(t){this._description={content:{title:t}}}changePublic(t){this._isFormPublic=t}changeHeaderIcon(t){this._iconMedia=t}changeSuccessIcon(t){this._successScreen.icon=t}setSuccessTitle(t){this._successScreen.title={content:{title:t}}}setSuccessDescription(t){this._successScreen.description={content:{title:t}}}setTitle(t){this._title={content:{title:t}}}constructor(t){var e,i,o;(0,r._)(this,"_coverMedia",null),(0,r._)(this,"_description",void 0),(0,r._)(this,"_fields",void 0),(0,r._)(this,"_formId",void 0),(0,r._)(this,"_reposition",void 0),(0,r._)(this,"_iconMedia",void 0),(0,r._)(this,"_settings",void 0),(0,r._)(this,"_successScreen",void 0),(0,r._)(this,"_title",void 0),(0,r._)(this,"_isFormPublic",!1),(0,r._)(this,"setCover",(t,e)=>{this._coverMedia={...t},e&&(this._reposition=e)}),(0,r._)(this,"removeCover",()=>{this._coverMedia=null}),(0,r._)(this,"setCoverPosition",t=>{this._reposition=t}),(0,r._)(this,"changeHeaderIconVisibilitySettings",t=>{this._settings.isIconHidden=!t}),(0,r._)(this,"changeSuccessIconVisibilitySettings",t=>{this._successScreen.settings.isIconHidden=!t}),(0,r._)(this,"updateFromDto",t=>{if(!t)return null;let e=n.JSONUtil.toJS(t);return this.update(e),this}),(0,r._)(this,"update",t=>{var e,i,r,o;this._title!==t.title&&(this._title=t.title),l.g.isEquals(null===(e=t.cover)||void 0===e?void 0:e.media,this._coverMedia)&&this._reposition===(null===(i=t.cover)||void 0===i?void 0:i.reposition)||(this._reposition=null===(r=t.cover)||void 0===r?void 0:r.reposition,this._coverMedia=null===(o=t.cover)||void 0===o?void 0:o.media),l.g.isEquals(t.description,this._description)||(this._description=t.description),a.B.areEqual(t.fields,this._fields)||(this._fields=t.fields),t.formId!==this._formId&&(this._formId=t.formId),l.g.isEquals(t.icon,this._iconMedia)||(this._iconMedia=t.icon),l.g.isEquals(t.successScreen,this._successScreen)||(this._successScreen=t.successScreen)}),this._coverMedia=null===(e=t.cover)||void 0===e?void 0:e.media,this._reposition=null===(i=t.cover)||void 0===i?void 0:i.reposition,this._description=t.description,this._fields=t.fields,this._formId=t.formId,this._isFormPublic=!!(null===(o=t.accessSettings)||void 0===o?void 0:o.isPublic),this._iconMedia=t.icon,this._successScreen=t.successScreen?t.successScreen:null,this._title=t.title,this._settings=t.settings,(0,s.makeObservable)(this)}}(0,o.__decorate)([s.observable],c.prototype,"_coverMedia",void 0),(0,o.__decorate)([s.observable],c.prototype,"_description",void 0),(0,o.__decorate)([s.observable],c.prototype,"_fields",void 0),(0,o.__decorate)([s.observable],c.prototype,"_formId",void 0),(0,o.__decorate)([s.observable],c.prototype,"_reposition",void 0),(0,o.__decorate)([s.observable],c.prototype,"_iconMedia",void 0),(0,o.__decorate)([s.observable],c.prototype,"_settings",void 0),(0,o.__decorate)([s.observable],c.prototype,"_successScreen",void 0),(0,o.__decorate)([s.observable],c.prototype,"_title",void 0),(0,o.__decorate)([s.observable],c.prototype,"_isFormPublic",void 0),(0,o.__decorate)([s.action],c.prototype,"setDescription",null),(0,o.__decorate)([s.action],c.prototype,"setCover",void 0),(0,o.__decorate)([s.action],c.prototype,"removeCover",void 0),(0,o.__decorate)([s.action],c.prototype,"setCoverPosition",void 0),(0,o.__decorate)([s.action],c.prototype,"changePublic",null),(0,o.__decorate)([s.action],c.prototype,"changeHeaderIcon",null),(0,o.__decorate)([s.action],c.prototype,"changeHeaderIconVisibilitySettings",void 0),(0,o.__decorate)([s.action],c.prototype,"changeSuccessIconVisibilitySettings",void 0),(0,o.__decorate)([s.action],c.prototype,"changeSuccessIcon",null),(0,o.__decorate)([s.action],c.prototype,"setSuccessTitle",null),(0,o.__decorate)([s.action],c.prototype,"setSuccessDescription",null),(0,o.__decorate)([s.action],c.prototype,"setTitle",null),(0,o.__decorate)([s.action],c.prototype,"update",void 0)}
1,618393:function(t,e,i){"use strict";var r,o;i.d(e,{v:function(){return r}}),(o=r||(r={})).ROLLUP_UPDATED="ROLLUP_UPDATED",o.ATTRIBUTE_DELETE="ATTRIBUTE_DELETE"},940237:function(t,e,i){"use strict";i.d(e,{Cy:function(){return l},T_:function(){return d},kF:function(){return r},lw:function(){return a},uq:function(){return o}});let r="logos",o="#58667E",s=/^([a-z0-9]+(?:-[a-z0-9]+)*):([a-z0-9]+(?:-[a-z0-9]+)*)$/,n=/^#[0-9a-fA-F]{6}$/,l=t=>"string"==typeof t&&n.test(t),a=t=>{if(!t)return null;let e=t.indexOf("|"),i=-1===e?t:t.slice(0,e),r=-1===e?null:t.slice(e+1),o=s.exec(i);return o&&(null===r||n.test(r))?{prefix:o[1],name:o[2],color:r}:null},d=t=>{let e="".concat(t.prefix,":").concat(t.name);return t.color?"".concat(e).concat("|").concat(t.color.toUpperCase()):e}},892269:function(t,e,i){"use strict";i.d(e,{H:function(){return o},q$:function(){return n},r_:function(){return l}});var r=i(940237);let o="api.iconify.design",s=t=>{let e=new URL("https://".concat(o,"/").concat(t.prefix,"/").concat(t.name,".svg"));if(t.prefix!==r.kF){var i;e.searchParams.set("color",null!==(i=t.color)&&void 0!==i?i:r.uq)}return e.searchParams.set("height","64"),e.toString()},n=t=>{if(!t)return null;let e=(0,r.lw)(t);return e?s(e):t.startsWith("data:image/svg+xml")?t:t.startsWith("https://")||t.startsWith("http://")?a(t):"".concat("https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64","/").concat(t,".png")},l=t=>!!t&&(!!((0,r.lw)(t)||t.startsWith("data:image/svg+xml"))||null!==a(t)),a=t=>{try{let e=new URL(t);if(e.hostname!==o)return null;return e.searchParams.has("height")||e.searchParams.has("width")||e.searchParams.set("height","64"),e.toString()}catch(t){return null}}},935896:function(t,e,i){"use strict";i.d(e,{D:function(){return r.AbstractDestroyableObject}});var r=i(258041)},548162:function(t,e,i){"use strict";i.d(e,{I5:function(){return r.DestroyMobx},Uo:function(){return r.DisposableObjectWrapper},uZ:function(){return r.DestroyRx}});var r=i(258041)},816360:function(t,e,i){"use strict";i.d(e,{m:function(){return r.PersistableEntity}});var r=i(258041)},646622:function(t,e,i){"use strict";i.d(e,{I:function(){return c}});var r=i(573292),o=i(197582),s=i(168949),n=i(824415),l=i(397679),a=i(293493),d=i(258041);class c extends d.AbstractDestroyableObject{get fileStatus(){return this._fileStatus}get fileUrl(){return this._fileUrl}get fileMediaId(){return this._mediaId}get loadingPercent(){return this._loadingPercent}get canRetry(){return"ERROR"===this._fileStatus&&!!this._file&&!!this._uploadUrl}closeFile(){(this._fileUrl||this._file)&&a.F.wrap(()=>{URL.revokeObjectURL(this._fileUrl),this._fileUrl=void 0,this._file=void 0})}constructor(t){var e;super(),(0,r._)(this,"_mediaId",null),(0,r._)(this,"_fileStatus",void 0),(0,r._)(this,"_loadingPercent",null),(0,r._)(this,"_fileUrl",null),(0,r._)(this,"_file",void 0),(0,r._)(this,"_uploadUrl",null),(0,r._)(this,"_onUploaded",void 0),(0,r._)(this,"setFileStatus",t=>{this._fileStatus=t}),(0,r._)(this,"prepareFile",t=>{this._file=t.file,this._fileUrl=URL.createObjectURL(t.file),super.addDisposable(d.DisposableObjectWrapper.from({destroy:()=>{this.closeFile()}}))}),(0,r._)(this,"startUpload",t=>{this._file&&("IN_PROGRESS"===this._fileStatus&&this._uploadUrl||(this._uploadUrl=t.uploadUrl,this._onUploaded=t.handler,this.runUpload()))}),(0,r._)(this,"retryUpload",()=>{this.canRetry&&this.runUpload()}),(0,r._)(this,"runUpload",()=>{this._fileStatus="IN_PROGRESS",this._loadingPercent=0,(0,n.AG)(this._uploadUrl,this._file,async t=>{(0,s.runInAction)(()=>{this._loadingPercent=(0,n.qK)(t)})}).then(()=>{var t;(0,s.runInAction)(()=>{this._fileStatus="UPLOADED"}),null===(t=this._onUploaded)||void 0===t||t.call(this)}).catch(t=>{(0,l.OO)("registerFileUploading error, fileName -> ".concat(this._file.name,", err -> ").concat(t)),(0,s.runInAction)(()=>{this._fileStatus="ERROR"})})}),(0,r._)(this,"registerFileUploading",t=>{this.prepareFile({file:t.file}),this.startUpload({uploadUrl:t.uploadUrl,handler:t.uploadingHandler})}),this._mediaId=null==t?void 0:t.mediaId,this._fileStatus=null!==(e=null==t?void 0:t.fileStatus)&&void 0!==e?e:"IN_PROGRESS",(0,s.makeObservable)(this)}}(0,o.__decorate)([s.observable],c.prototype,"_mediaId",void 0),(0,o.__decorate)([s.observable],c.prototype,"_fileStatus",void 0),(0,o.__decorate)([s.observable],c.prototype,"_loadingPercent",void 0),(0,o.__decorate)([s.observable],c.prototype,"_fileUrl",void 0),(0,o.__decorate)([s.action],c.prototype,"setFileStatus",void 0),(0,o.__decorate)([s.action],c.prototype,"prepareFile",void 0),(0,o.__decorate)([s.action],c.prototype,"startUpload",void 0),(0,o.__decorate)([s.action],c.prototype,"retryUpload",void 0),(0,o.__decorate)([s.action],c.prototype,"runUpload",void 0),(0,o.__decorate)([s.action],c.prototype,"registerFileUploading",void 0),(0,o.__decorate)([s.action],c.prototype,"closeFile",null)}
1,376433:function(t,e,i){"use strict";i.d(e,{o:function(){return l}});var r=i(573292),o=i(197582),s=i(127661),n=i(168949);class l{constructor(){(0,r._)(this,"_dictionaryElementsFormatting",new Map),(0,r._)(this,"setElements",t=>{for(let e in t)this.setElement(e,t[e])}),(0,r._)(this,"setElement",(t,e)=>{this._dictionaryElementsFormatting.set(t,e)}),(0,r._)(this,"getElement",(0,s.computedFn)(t=>this._dictionaryElementsFormatting.get(t),{name:"TitleDictionaryStore.getElementDictionary"})),(0,r._)(this,"hasTitle",(0,s.computedFn)(t=>this._dictionaryElementsFormatting.has(t),{name:"TitleDictionaryStore.hasElementDictionaryTitle"})),(0,r._)(this,"getTitle",(0,s.computedFn)(t=>{var e;return null===(e=this._dictionaryElementsFormatting.get(t))||void 0===e?void 0:e.title},{name:"TitleDictionaryStore.getElementDictionaryTitle"})),(0,r._)(this,"findByTitle",t=>{let e=null==t?void 0:t.trim().toLowerCase();return Array.from(this._dictionaryElementsFormatting.keys()).find(t=>{var i,r;let o=this._dictionaryElementsFormatting.get(t);return(null==o?void 0:null===(r=o.title)||void 0===r?void 0:null===(i=r.trim())||void 0===i?void 0:i.toLowerCase())===e})}),(0,r._)(this,"getDict",()=>Array.from(this._dictionaryElementsFormatting.entries()).reduce((t,e)=>{let[i,r]=e;return t[i]=(0,n.toJS)(r),t},{})),(0,r._)(this,"clear",()=>{this._dictionaryElementsFormatting.clear()}),(0,n.makeObservable)(this)}}(0,o.__decorate)([n.observable],l.prototype,"_dictionaryElementsFormatting",void 0),(0,o.__decorate)([n.action],l.prototype,"setElements",void 0),(0,o.__decorate)([n.action],l.prototype,"setElement",void 0),(0,o.__decorate)([n.action],l.prototype,"getDict",void 0),(0,o.__decorate)([n.action],l.prototype,"clear",void 0),e.Z=new l},502184:function(t,e,i){"use strict";i.d(e,{w:function(){return d}});var r=i(573292),o=i(197582);let s=new Set(["WRITE","SIMPLE_WRITE","OWNER"]);class n{static isCanWrite(t){return s.has(t)}}var l=i(168949),a=i(615318);class d{constructor(){(0,r._)(this,"_sharedToUsers",[]),(0,r._)(this,"_usersMap",new Map),(0,r._)(this,"getUserById",t=>this._usersMap.get(t)),(0,r._)(this,"getSharedToUsersList",()=>this._sharedToUsers.map(t=>this.getUserById(t))),(0,r._)(this,"getOnlyRegisteredUsersByAccessLevels",t=>this.getSharedToUsersList().filter(e=>"REGISTERED"===e.profileStatus&&t.includes(e.additionalProps.acl))),(0,r._)(this,"hasUser",t=>this._usersMap.has(t)),(0,r._)(this,"setSharedToUsers",t=>{t.forEach(t=>{this._usersMap.set(t.value,t),this._sharedToUsers.includes(t.value)||this._sharedToUsers.push(t.value)})}),(0,r._)(this,"removeUsersFromSharedTo",t=>{if(t.some(t=>this._usersMap.has(t)))this._sharedToUsers=this._sharedToUsers.filter(e=>!t.includes(e));else{let e=t.map(t=>{var e;return null===(e=Array.from(this._usersMap.entries()).find(e=>{let[,i]=e;return i.email===t}))||void 0===e?void 0:e[0]}).filter(t=>!!t);this._sharedToUsers=this._sharedToUsers.filter(t=>!e.includes(t))}}),(0,r._)(this,"setUsersToDictionary",t=>{t.forEach(t=>{this.hasUser(t.value)||this._usersMap.set(t.value,t)})}),(0,r._)(this,"removeUsersFromDictionary",t=>{t.forEach(t=>{this._usersMap.delete(t)})}),(0,r._)(this,"hasExternalEditors",()=>!!this._sharedToUsers.find(t=>{var e;let i=this._usersMap.get(t);return"OWNER"!==i.additionalProps.acl&&n.isCanWrite(null===(e=i.additionalProps)||void 0===e?void 0:e.acl)})),(0,r._)(this,"toDict",()=>a.p.toRecord(this._usersMap)),(0,r._)(this,"clear",()=>{this._sharedToUsers=[],this._usersMap.clear()}),(0,l.makeObservable)(this)}}(0,o.__decorate)([l.observable],d.prototype,"_sharedToUsers",void 0),(0,o.__decorate)([l.observable],d.prototype,"_usersMap",void 0),(0,o.__decorate)([l.action],d.prototype,"setSharedToUsers",void 0),(0,o.__decorate)([l.action],d.prototype,"removeUsersFromSharedTo",void 0),(0,o.__decorate)([l.action],d.prototype,"setUsersToDictionary",void 0),(0,o.__decorate)([l.action],d.prototype,"removeUsersFromDictionary",void 0)},63987:function(t,e,i){"use strict";i.d(e,{J:function(){return r}});let r=(t,e)=>"data:image/svg+xml;utf8,".concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'.concat(e,'" height="').concat(t,'" data-qa="image-svg-loader" viewBox="-76 -76 190 190">\n        <defs>\n            <linearGradient x1="8.042%" y1="0%" x2="65.682%" y2="23.865%" id="a">\n                <stop stop-color="#5d6f74" stop-opacity="0" offset="0%"/>\n                <stop stop-color="#5d6f74" stop-opacity=".631" offset="63.146%"/>\n                <stop stop-color="#5d6f74" offset="100%"/>\n            </linearGradient>\n        </defs>\n        <g fill="none" fill-rule="evenodd">\n            <g transform="translate(1 1)">\n                <path d="M36 18c0-9.94-8.06-18-18-18" id="Oval-2" stroke="url
1(#a)" stroke-width="2">\n                    <animateTransform\n                        attributeName="transform"\n                        type="rotate"\n                        from="0 18 18"\n                        to="360 18 18"\n                        dur="0.9s"\n                        repeatCount="indefinite" />\n                </path>\n                <circle fill="#5d6f74" cx="36" cy="18" r="1">\n                    <animateTransform\n                        attributeName="transform"\n                        type="rotate"\n                        from="0 18 18"\n                        to="360 18 18"\n                        dur="0.9s"\n                        repeatCount="indefinite" />\n                </circle>\n            </g>\n        </g>\n    </svg>')))},123701:function(t,e,i){"use strict";i.d(e,{c:function(){return o}});var r,o,s=i(573292),n=i(197582),l=i(168949),a=i(342685),d=i(397679),c=i(127661),u=i(291186),_=i(935896);(r=o||(o={})).ADDED="ADDED",r.REMOVED="REMOVED",r.SET_OPTIONS="SET_OPTIONS",r.UPDATED="UPDATED",r.ORDER_CHANGED="ORDER_CHANGED";class h extends _.D{get list(){return this._order.map(t=>this._map.get(t))}get order(){return this._order}get size(){return this._order.length}get isHaveAnyElement(){return!!this._map.size}events(){return this._eventsSubject||(this._eventsSubject=new u.x,this._eventsObservable=this._eventsSubject.asObservable()),this._eventsObservable}destroy(){var t;null===(t=this._eventsSubject)||void 0===t||t.complete(),this._eventsSubject=void 0,this._eventsObservable=void 0,super.destroy()}emit(t){this._eventsSubject&&this._eventsSubject.next(t)}constructor(){super(),(0,s._)(this,"_order",[]),(0,s._)(this,"_map",new Map),(0,s._)(this,"_eventsSubject",void 0),(0,s._)(this,"_eventsObservable",void 0),(0,s._)(this,"setElements",t=>{this._map.clear(),this._order=[],t.forEach(t=>{let e=this.getElementKey(t);this._order.push(e),this._map.set(e,t)}),this.emit({type:"SET_OPTIONS",orders:(0,l.toJS)(this._order)})}),(0,s._)(this,"getElementByKey",(0,c.computedFn)(t=>this._map.get(t))),(0,s._)(this,"removeElements",t=>{let e=new Set(t),i=[];this._order=this._order.filter(t=>!e.has(t)),t.forEach(t=>{this._map.delete(t)&&i.push(t)}),i.length&&this.emit({type:"REMOVED",removedKeys:i,orders:(0,l.toJS)(this._order)})}),(0,s._)(this,"addElements",t=>{t.forEach(t=>this.insertElement(t,{direction:"AFTER"}))}),(0,s._)(this,"insertElement",(t,e)=>{let i=this.getElementKey(t);try{let r=a.B.placeToArrayMutable(this._order,[i],e);return this._map.set(i,t),this.emit({type:"ADDED",orders:(0,l.toJS)(this._order)}),r}catch(t){return(0,d.OO)(t),null}}),(0,s._)(this,"moveElement",(t,e)=>{try{a.B.moveElementMutable(this._order,t,e),this.emit({type:"ORDER_CHANGED",orders:(0,l.toJS)(this._order)})}catch(t){(0,d.OO)(t)}}),(0,s._)(this,"clear",()=>{this._map.clear(),this._order=[]}),(0,l.makeObservable)(this)}}(0,n.__decorate)([l.observable],h.prototype,"_order",void 0),(0,n.__decorate)([l.action],h.prototype,"setElements",void 0),(0,n.__decorate)([l.computed],h.prototype,"list",null),(0,n.__decorate)([l.computed],h.prototype,"order",null),(0,n.__decorate)([l.computed],h.prototype,"size",null),(0,n.__decorate)([l.action],h.prototype,"removeElements",void 0),(0,n.__decorate)([l.action],h.prototype,"addElements",void 0),(0,n.__decorate)([l.action],h.prototype,"insertElement",void 0),(0,n.__decorate)([l.action],h.prototype,"moveElement",void 0),(0,n.__decorate)([l.action],h.prototype,"clear",void 0),e.Z=h},740400:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});var r=i(392729),o=i(605910);let s=r.default.CancelToken;function n(t){let e=null,i={};return{request:(r,n,l,a)=>{e=s.source(),i.cancelToken=e.token,t(r,i).then(t=>{n(t)}).catch(t=>{(null==t?void 0:t.message)!==o.L7&&l(t)}).finally(()=>null==a?void 0:a())},cancel:()=>{e&&e.cancel(o.L7)}}}},824415:function(t,e,i){"use strict";i.d(e,{AG:function(){return n},Ij:function(){return u},OP:function(){return d},bj:function(){return o},hl:function(){return c},l6:function(){return l},qK:function(){return a},ur:function(){return s},zS:function(){return _}});var r=i(605910);let o=t=>new Promise((e,i)=>{let r=new FileReader;r.onloadend=function(){let t=r.result;t?e(t):i()},r.onerror=function(){i()}
1,r.readAsDataURL(t)}),s=function(t){let{multiple:e,acceptProps:i}=t;return new Promise((t,r)=>{let o=document.createElement("input");e&&o.setAttribute("multiple",""),i.accept&&o.setAttribute("accept",i.accept),o.setAttribute("type","file"),o.style.display="none",o.addEventListener("change",e=>{o.files.length?t(i.excludeContentTypes?Array.from(o.files).filter(t=>!i.excludeContentTypes.includes(t.type)):Array.from(o.files)):r(e),o.remove()}),document.body.appendChild(o);let s=document.createEvent("MouseEvent");s.initMouseEvent("click",!1,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),o.dispatchEvent(s)})},n=(t,e,i)=>r.ZP.put(t,e,{skipBatchBlocking:!0,headers:{"Content-Type":e.type},...i?{onUploadProgress:i}:{}}),l=t=>new Promise(e=>{var i;let r=Array.from((null===(i=t.clipboardData)||void 0===i?void 0:i.items)||[]),o=r.some(t=>"string"===t.kind),s=[];r.forEach((t,e)=>{if((!o||!(e>2))&&"file"===t.kind){let e=t.getAsFile();!e||t.type.toLowerCase().includes("image")&&!e||s.push(e)}}),s.length&&(t.stopPropagation(),t.preventDefault()),e(s)}),a=t=>{let e=Math.round(t.loaded/t.total*100);return 100===e?99:e},d=t=>{let e=atob(t.split(",")[1]),i=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),o=new Uint8Array(r);for(let t=0;t<e.length;t++)o[t]=e.charCodeAt(t);return new Blob([r],{type:i})},c=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return new File([t],e,{type:t.type||i})},u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=null==t?void 0:t.split(".");return!e||e.length<2?"":e[e.length-1]},_=t=>t.replace(/[./\\]/gi,"_").toLowerCase()},245223:function(t,e,i){"use strict";i.d(e,{SM:function(){return a},Su:function(){return d},dz:function(){return l},et:function(){return n}});var r=i(573292),o=i(961361);let s={image:{accept:o.D.IMAGE,excludeContentTypes:["image/vnd.adobe.photoshop"]},html:{accept:o.D.HTML,excludeContentTypes:[]}},n=t=>{var e;return null!==(e=s[t])&&void 0!==e?e:{accept:t}},l=t=>{let e=t.file.hasOwnProperty("type")?t.file.type:null,i=t.file.hasOwnProperty("mediaType")?t.file.mediaType:null;return i||(e?"AUDIO"===e?o.D.AUDIO:"FILE"===e?o.D.ALL:"PDF"===e?o.D.PDF:o.D.ALL:o.D.ALL)};class a{}(0,r._)(a,"isContentType",(t,e)=>{let i=s[e];return i?t.match(i.accept)&&!i.excludeContentTypes.some(e=>t.includes(e)):!!t.match(e)});let d=t=>1===t.filter(t=>a.isContentType(t.type,o.D.IMAGE)||t.type.match(o.D.HTML)).length},457390:function(t,e,i){"use strict";i.d(e,{I:function(){return s},g:function(){return o}});var r=i(747955);let o=t=>(null==t?void 0:t.keyCode)===r.Z.ENTER||(null==t?void 0:t.key)==="Enter"||(null==t?void 0:t.code)==="Enter",s=t=>(null==t?void 0:t.keyCode)===r.Z.ESC||(null==t?void 0:t.key)==="Escape"||(null==t?void 0:t.code)==="Escape"},640794:function(t,e,i){"use strict";i.d(e,{E:function(){return n}});var r=i(573292),o=i(342685),s=i(851182);class n{constructor(t){(0,r._)(this,"_key",void 0),(0,r._)(this,"_debug",s.qI),(0,r._)(this,"_holder",new Map),(0,r._)(this,"setSubscriptions",(t,e)=>{let i=this.existedKeys(),r=o.B.analyzeArrays(i,t);r.missingInSecond.length&&this.closeSubscriptions(r.missingInSecond);let s=o.B.mapNotNull(r.newInFirst,t=>{let i=e(t);return i?{...i,key:t}:null});s.length&&this.addSubscriptions(s)}),(0,r._)(this,"addSubscriptions",t=>{t.forEach(t=>{this._holder.set(t.key,t)}),this._debug&&console.log("[SH](".concat(this._key,") addSubscriptions => "),t,Array.from(this._holder.keys()))}),(0,r._)(this,"closeSubscriptions",t=>{let e=o.B.mapNotNull(t,t=>{var e;let i=this._holder.get(t);return this._holder.delete(t),null==i||null===(e=i.dispose)||void 0===e||e.call(i),i});return this._debug&&console.log("[SH](".concat(this._key,") closeSubscriptions => "),t,Array.from(this._holder.keys())),e}),(0,r._)(this,"closeAll",()=>{let t=this.closeSubscriptions(this.existedKeys());return this._debug&&console.log("[SH](".concat(this._key,") closedAll => "),Array.from(this._holder.keys())),t}),(0,r._)(this,"existedKeys",()=>Array.from(this._holder.keys())),this._key=t}}},369030:function(t,e,i){"use strict";i.d(e,{F_:function(){return n},Hr:function(){return a},Jr:function(){return d},y2:function(){return l}});var r=i(884720),o=i(342685),s=i(258041);let n=t=>s.TitleUtils.titleOrUntitled(t),l=t=>t||"Default",a=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.vi;return t||e},d=(t,e)=>{let i;if(!e.find(e=>e===t))return t;let r=Array.from(new Set(o.B.mapNotNull(e,e=>{let i=null==e?void 0:e.match(new RegExp("".concat(t," (\\d+)")));return i?parseInt(i[1],10):null}))),s=Math.max(...r);for(let t=1;t<=s+1;t++)if(!r.includes(t)){i=t;break}return"".concat(t," ").concat(i||1)}},682210:function(t){t.exports={primaryColor:"styles_primaryColor__vlpek",secondaryColor:"styles_secondaryColor__sJy6D",container:"styles_container__Mteqr",icon:"styles_icon__UykIC",label:"styles_label__J6nf1",smallSize:"styles_smallSize__b4e2Q",defaultSize:"styles_defaultSize___RjKh",mediumSize:"styles_mediumSize__TjiNP",largeSize:"styles_largeSize__rsPz_",smallRound:"styles_smallRound___OsZE",defaultColor:"styles_defaultColor__Nqb7t",defaultPrimaryColor:"styles_defaultPrimaryColor__LMTMe",inversePrimaryColor:"styles_inversePrimaryColor__ej9DL",warningColor:"styles_warningColor__JuRUt",errorColor:"styles_errorColor__jtYry"}},528542:function(t){t.exports={container:"styles_container__4Rd8n",default:"styles_default__iTGFj",invert:"styles_invert__3hZZP",icon:"styles_icon__b_kAP",label:"styles_label__AEt6O"}},978431:function(t){t.exports={container:"styles_container__wQ8T7",iconContainer:"styles_iconContainer__FVMN8",icon:"styles_icon__xmb6z",titleContainer:"styles_titleContainer__CxBMt",title:"styles_title__MrRwb",descriptionContainer:"styles_descriptionContainer__d0TYl",description:"styles_description__hEbhK",button:"styles_button__IIqlt",widthLarge:"styles_widthLarge__NSBBq",widthMedium:"styles_widthMedium__cloU3",heightMedium:"styles_heightMedium__kovmt",widthSmall:"styles_widthSmall__zkSa0",heightSmall:"styles_heightSmall__w8po5",noIcon:"styles_noIcon__2DkPW",noDescription:"styles_noDescription__F3RW9",n
1oButton:"styles_noButton___OYJY",buttonContainer:"styles_buttonContainer__OCsP_"}},676498:function(t){t.exports={modalWrapper:"styles_modalWrapper__0Mlh6"}},378745:function(t){t.exports={text:"styles_text__8OKfL",textTooltip:"styles_textTooltip__L8bw3"}},15540:function(t){t.exports={limit:"styles_limit__ovl0L",limitTitle:"styles_limitTitle__Ei_P_",limitUpgrade:"styles_limitUpgrade__Yujtm"}}}]);
2//# sourceMappingURL=8817-6997f8a92e2e9189.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.