qlu-20-ui-library 1.3.101 → 1.3.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1222,7 +1222,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1222
1222
  `),e.removeAttribute(n),r()}).catch(a)}else r()}else r()})}function B_(e){return Promise.all([wh(e,"::before"),wh(e,"::after")])}function N_(e){return e.parentNode!==document.head&&!~CQ.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(S9)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function xh(e){if(pa)return new Promise(function(t,n){var r=g3(e.querySelectorAll("*")).filter(N_).map(B_),a=xc.begin("searchPseudoElements");Xw(),Promise.all(r).then(function(){a(),D9(),t()}).catch(function(){a(),D9(),n()})})}var O_={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=xh,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,a=r===void 0?_1:r;Tt.searchPseudoElements&&xh(a)}}},bh=!1,P_={mixout:function(){return{dom:{unwatch:function(){Xw(),bh=!0}}}},hooks:function(){return{bootstrap:function(){mh(k9("mutationObserverCallbacks",{}))},noAuto:function(){x_()},watch:function(n){var r=n.observeMutationsRoot;bh?D9():mh(k9("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Eh=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,a){var i=a.toLowerCase().split("-"),o=i[0],l=i.slice(1).join("-");if(o&&l==="h")return r.flipX=!0,r;if(o&&l==="v")return r.flipY=!0,r;if(l=parseFloat(l),isNaN(l))return r;switch(o){case"grow":r.size=r.size+l;break;case"shrink":r.size=r.size-l;break;case"left":r.x=r.x-l;break;case"right":r.x=r.x+l;break;case"up":r.y=r.y-l;break;case"down":r.y=r.y+l;break;case"rotate":r.rotate=r.rotate+l;break}return r},n)},I_={mixout:function(){return{parse:{transform:function(n){return Eh(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-transform");return a&&(n.transform=Eh(a)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,a=n.transform,i=n.containerWidth,o=n.iconWidth,l={transform:"translate(".concat(i/2," 256)")},c="translate(".concat(a.x*32,", ").concat(a.y*32,") "),d="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),f="rotate(".concat(a.rotate," 0 0)"),h={transform:"".concat(c," ").concat(d," ").concat(f)},m={transform:"translate(".concat(o/2*-1," -256)")},v={outer:l,inner:h,path:m};return{tag:"g",attributes:gt({},v.outer),children:[{tag:"g",attributes:gt({},v.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:gt(gt({},r.icon.attributes),v.path)}]}]}}}},Xl={x:0,y:0,width:"100%",height:"100%"};function Ah(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function V_(e){return e.tag==="g"?e.children:[e]}var H_={hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-mask"),i=a?V5(a.split(" ").map(function(o){return o.trim()})):yc();return i.prefix||(i.prefix=ei()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,a=n.attributes,i=n.main,o=n.mask,l=n.maskId,c=n.transform,d=i.width,f=i.icon,h=o.width,m=o.icon,v=IQ({transform:c,containerWidth:h,iconWidth:d}),g={tag:"rect",attributes:gt(gt({},Xl),{},{fill:"white"})},w=f.children?{children:f.children.map(Ah)}:{},x={tag:"g",attributes:gt({},v.inner),children:[Ah(gt({tag:f.tag,attributes:gt(gt({},f.attributes),v.path)},w))]},C={tag:"g",attributes:gt({},v.outer),children:[x]},M="mask-".concat(l||z8()),A="clip-".concat(l||z8()),F={tag:"mask",attributes:gt(gt({},Xl),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,C]},S={tag:"defs",children:[{tag:"clipPath",attributes:{id:A},children:V_(m)},F]};return r.push(S,{tag:"rect",attributes:gt({fill:"currentColor","clip-path":"url(#".concat(A,")"),mask:"url(#".concat(M,")")},Xl)}),{children:r,attributes:a}}}},W_={provides:function(t){var n=!1;$a.matchMedia&&(n=$a.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],a={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:gt(gt({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=gt(gt({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:gt(gt({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:gt(gt({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:gt(gt({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(l),r.push({tag:"path",attributes:gt(gt({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:gt(gt({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:gt(gt({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:gt(gt({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},K_={hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-symbol"),i=a===null?!1:a===""?!0:a;return n.symbol=i,n}}}},U_=[WQ,z_,L_,j_,R_,O_,P_,I_,H_,W_,K_];r_(U_,{mixoutsTo:Sr});Sr.noAuto;Sr.config;Sr.library;Sr.dom;var T9=Sr.parse;Sr.findIconDefinition;Sr.toHtml;var G_=Sr.icon;Sr.layer;var Y_=Sr.text;Sr.counter;function Ch(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ia(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ch(Object(n),!0).forEach(function(r){H0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ch(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function n5(e){"@babel/helpers - typeof";return n5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n5(e)}function H0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q_(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function Z_(e,t){if(e==null)return{};var n=q_(e,t),r,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)r=i[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function B9(e){return J_(e)||X_(e)||Q_(e)||__()}function J_(e){if(Array.isArray(e))return N9(e)}function X_(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Q_(e,t){if(e){if(typeof e=="string")return N9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N9(e,t)}}function N9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function __(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1223
1223
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $_(e){var t,n=e.beat,r=e.fade,a=e.beatFade,i=e.bounce,o=e.shake,l=e.flash,c=e.spin,d=e.spinPulse,f=e.spinReverse,h=e.pulse,m=e.fixedWidth,v=e.inverse,g=e.border,w=e.listItem,x=e.flip,C=e.size,M=e.rotation,A=e.pull,F=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":a,"fa-bounce":i,"fa-shake":o,"fa-flash":l,"fa-spin":c,"fa-spin-reverse":f,"fa-spin-pulse":d,"fa-pulse":h,"fa-fw":m,"fa-inverse":v,"fa-border":g,"fa-li":w,"fa-flip":x===!0,"fa-flip-horizontal":x==="horizontal"||x==="both","fa-flip-vertical":x==="vertical"||x==="both"},H0(t,"fa-".concat(C),typeof C<"u"&&C!==null),H0(t,"fa-rotate-".concat(M),typeof M<"u"&&M!==null&&M!==0),H0(t,"fa-pull-".concat(A),typeof A<"u"&&A!==null),H0(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(F).map(function(S){return F[S]?S:null}).filter(function(S){return S})}function e$(e){return e=e-0,e===e}function _w(e){return e$(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var t$=["style"];function n$(e){return e.charAt(0).toUpperCase()+e.slice(1)}function r$(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),a=_w(n.slice(0,r)),i=n.slice(r+1).trim();return a.startsWith("webkit")?t[n$(a)]=i:t[a]=i,t},{})}function $w(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(c){return $w(e,c)}),a=Object.keys(t.attributes||{}).reduce(function(c,d){var f=t.attributes[d];switch(d){case"class":c.attrs.className=f,delete t.attributes.class;break;case"style":c.attrs.style=r$(f);break;default:d.indexOf("aria-")===0||d.indexOf("data-")===0?c.attrs[d.toLowerCase()]=f:c.attrs[_w(d)]=f}return c},{attrs:{}}),i=n.style,o=i===void 0?{}:i,l=Z_(n,t$);return a.attrs.style=Ia(Ia({},a.attrs.style),o),e.apply(void 0,[t.tag,Ia(Ia({},a.attrs),l)].concat(B9(r)))}var ex=!1;try{ex=process.env.NODE_ENV==="production"}catch{}function a$(){if(!ex&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Sh(e){if(e&&n5(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(T9.icon)return T9.icon(e);if(e===null)return null;if(e&&n5(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Ql(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?H0({},e,t):{}}var Yn=s.forwardRef(function(e,t){var n=e.icon,r=e.mask,a=e.symbol,i=e.className,o=e.title,l=e.titleId,c=e.maskId,d=Sh(n),f=Ql("classes",[].concat(B9($_(e)),B9(i.split(" ")))),h=Ql("transform",typeof e.transform=="string"?T9.transform(e.transform):e.transform),m=Ql("mask",Sh(r)),v=G_(d,Ia(Ia(Ia(Ia({},f),h),m),{},{symbol:a,title:o,titleId:l,maskId:c}));if(!v)return a$("Could not find icon",d),null;var g=v.abstract,w={ref:t};return Object.keys(e).forEach(function(x){Yn.defaultProps.hasOwnProperty(x)||(w[x]=e[x])}),i$(g[0],w)});Yn.displayName="FontAwesomeIcon";Yn.propTypes={beat:o1.bool,border:o1.bool,beatFade:o1.bool,bounce:o1.bool,className:o1.string,fade:o1.bool,flash:o1.bool,mask:o1.oneOfType([o1.object,o1.array,o1.string]),maskId:o1.string,fixedWidth:o1.bool,inverse:o1.bool,flip:o1.oneOf([!0,!1,"horizontal","vertical","both"]),icon:o1.oneOfType([o1.object,o1.array,o1.string]),listItem:o1.bool,pull:o1.oneOf(["right","left"]),pulse:o1.bool,rotation:o1.oneOf([0,90,180,270]),shake:o1.bool,size:o1.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:o1.bool,spinPulse:o1.bool,spinReverse:o1.bool,symbol:o1.oneOfType([o1.bool,o1.string]),title:o1.string,titleId:o1.string,transform:o1.oneOfType([o1.string,o1.object]),swapOpacity:o1.bool};Yn.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var i$=$w.bind(null,s.createElement),tx={prefix:"fas",iconName:"underline",icon:[448,512,[],"f0cd","M16 64c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H128V224c0 53 43 96 96 96s96-43 96-96V96H304c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H384V224c0 88.4-71.6 160-160 160s-160-71.6-160-160V96H48C30.3 96 16 81.7 16 64zM0 448c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},o$={prefix:"fas",iconName:"bold",icon:[384,512,[],"f032","M0 64C0 46.3 14.3 32 32 32H80 96 224c70.7 0 128 57.3 128 128c0 31.3-11.3 60.1-30 82.3c37.1 22.4 62 63.1 62 109.7c0 70.7-57.3 128-128 128H96 80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V256 96H32C14.3 96 0 81.7 0 64zM224 224c35.3 0 64-28.7 64-64s-28.7-64-64-64H112V224H224zM112 288V416H256c35.3 0 64-28.7 64-64s-28.7-64-64-64H224 112z"]},nx={prefix:"fas",iconName:"italic",icon:[384,512,[],"f033","M128 64c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H293.3L160 416h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H90.7L224 96H160c-17.7 0-32-14.3-32-32z"]},s$={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M288 64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32H256c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},l$={prefix:"fas",iconName:"align-center",icon:[448,512,[],"f037","M352 64c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32z"]},c$={prefix:"fas",iconName:"b",icon:[320,512,[98],"42","M64 32C28.7 32 0 60.7 0 96V256 416c0 35.3 28.7 64 64 64H192c70.7 0 128-57.3 128-128c0-46.5-24.8-87.3-62-109.7c18.7-22.3 30-51 30-82.3c0-70.7-57.3-128-128-128H64zm96 192H64V96h96c35.3 0 64 28.7 64 64s-28.7 64-64 64zM64 288h96 32c35.3 0 64 28.7 64 64s-28.7 64-64 64H64V288z"]},rx={prefix:"fas",iconName:"list-ul",icon:[512,512,["list-dots"],"f0ca","M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"]},u$={prefix:"fas",iconName:"t",icon:[384,512,[116],"54","M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96H160V448c0 17.7 14.3 32 32 32s32-14.3 32-32V96H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H192 32z"]};const Mh=({editorState:e,updateEditorState:t,updateAlignment:n})=>{const r=[{label:"BOLD",style:"BOLD",icon:u.jsx(Yn,{icon:o$,size:"sm"})},{label:"ITALIC",style:"ITALIC",icon:u.jsx(Yn,{icon:nx,size:"sm"})},{label:"Underline",style:"UNDERLINE",icon:u.jsx(Yn,{icon:tx,size:"sm"})},{label:"ALIGNLEFT",style:"ALIGNLEFT",icon:u.jsx(Yn,{icon:s$,size:"sm"})},{label:"ALIGNCENTER",style:"ALIGNCENTER",icon:u.jsx(Yn,{icon:l$,size:"sm"})}],a=[{label:"list",style:"unordered-list-item",icon:u.jsx(Yn,{icon:rx,size:"sm"})}],i=(d,f)=>{d.preventDefault(),console.log("Style: ",f),f==="ALIGNLEFT"?n("left"):f==="ALIGNCENTER"&&n("center"),t(kt.RichUtils.toggleInlineStyle(e,f))},o=(d,f)=>{d.preventDefault(),t(kt.RichUtils.toggleBlockType(e,f))},l=d=>e.getCurrentInlineStyle().has(d),c=d=>{const f=kt.RichUtils.getCurrentBlockType(e);return d===f};return u.jsxs("div",{className:"renderInlineEditorContainer",children:[r.map((d,f)=>u.jsx("div",{className:`renderInlineEditortoolBarItem${l(d.style)?" renderInlineEditortoolBarItemIsActive":""}`,onMouseDown:h=>{h.preventDefault(),i(h,d.style)},children:d.icon||d.label},`${d.label}-${f}`)),a.map((d,f)=>u.jsx("div",{className:`renderInlineEditortoolBarItem ${c(d.style)?"renderInlineEditortoolBarItemIsActive":""}`,onMouseDown:h=>{h.preventDefault(),o(h,d.style)},children:d.icon||d.label},`${d.label}-${f}`))]})},ax=s.memo(({placeholder:e="",onChange:t,maxLength:n,editorState:r,isNextDisabled:a,className:i,updateEditorState:o,value:l,showHeader:c=!0,headerPosition:d="top",showError:f=!0})=>{const[h,m]=s.useState(!1),[v,g]=s.useState("left"),w=A=>{const F=["left","center"];A===F[0]&&v===F[0]?g(F[1]):A===F[1]&&v===F[1]?g(F[0]):g(A)};s.useEffect(()=>{l==""?m(!1):m(!0)},[l]);const x=A=>{const F=A.getType();return F==="BOLD"?(console.log("bold"),"custom-bold"):F==="ITALIC"?"custom-italic":F==="ALIGNLEFT"?"custom-leftAlign":F==="ALIGNRIGHT"?"custom-rightAlign":F==="UNDERLINE"?"custom-underline":""},C=(A,F)=>n&&F.getCurrentContent().getPlainText().length===n?"handled":"not-handled",M=(A,F,S)=>{if(n){const N=n-S.getCurrentContent().getPlainText().length;if(N<A.length){const I=A.slice(0,N-1),K=kt.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),I),$=kt.EditorState.push(r,K,"insert-characters");return o($),t($),"handled"}return"not-handled"}else{const N=kt.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),A),I=kt.EditorState.push(r,N,"insert-characters");return o(I),t(I),"handled"}};return u.jsx("div",{className:`${i||""}`,children:a?u.jsx("span",{className:"loader--draft",children:u.jsx(hn,{width:"32",height:"32"})}):u.jsxs("div",{children:[u.jsxs("div",{className:`main-draft ${!h&&f&&"msg-error-draft"}`,children:[c&&d==="top"&&u.jsx("div",{className:"draft-head",children:u.jsx(Mh,{editorState:r,updateEditorState:o,updateAlignment:w,inlineStyles:"ALIGNLEFT"})}),u.jsx("div",{className:"editor-textarea",children:u.jsx(kt.Editor,{editorState:r,onChange:t,placeholder:e,blockStyleFn:x,textAlignment:v==="center"?"center":"left",handlePastedText:(A,F,S)=>M(A,F,S),handleBeforeInput:C})}),c&&d==="bottom"&&u.jsx("div",{className:"draft-foot",children:u.jsx(Mh,{editorState:r,updateEditorState:o,updateAlignment:w})})]}),!h&&f&&u.jsxs("div",{className:"error-svg-draft",children:[u.jsx("span",{className:"error-svg-span",children:u.jsx(qe,{iconType:"excalamationCircle",iconSize:"24"})}),u.jsx("span",{children:" Message is empty "})]})]})})});ax.displayName="StyleableTextArea";const Fh=[{name:"First Name",value:"{{.First_Name}}"},{name:"Last Name",value:"{{.Last_Name}}"},{name:"Full Name",value:"{{.Full_Name}}"},{name:"Current Company",value:"{{.Current_Company}}"},{name:"Current Title",value:"{{.Current_Title}}"},{name:"Job Title",value:"{{.Job_Title}}"},{name:"My Name",value:"{{.My_Name}}"},{name:"My First Name",value:"{{.My_First_Name}}"},{name:"My Full Name",value:"{{.My_Full_Name}}"},{name:"User Name",value:"{{.User_Name}}"},{name:"School Name",value:"{{.School_Name}}"},{name:"Hiring Company",value:"{{.Hiring_Company}}"}];const ix=({tabs:e,onSelect:t,selectedTab:n,children:r})=>{const a=(i,o)=>ot({[`${i}--Generic`]:!0,[`${i}--Active`]:n===o});return u.jsxs("div",{className:"tabs",children:[u.jsx("div",{className:"tabsNav",children:e.map(i=>u.jsxs("button",{className:a("tabsNavItem",i.title),onClick:()=>t(i.title),children:[i.title,!!i.count&&u.jsx("p",{className:a("tabsNavItem-Number",i.title),children:i.count})]},i.id))}),r]})},ox=({tabs:e,handleChange:t,styleableTags:n,tagClasses:r})=>{if(e.length===0)return null;const[a,i]=s.useState(e[0].tabName),o=({cursorPos:h,name:m,skillFlag:v=!1})=>{const g="",w=v?m:m.split(" ").join("_"),x=C=>{if(C.preventDefault(),n&&!v)t(`{{.${w}}}`);else if(v)t(w);else{const M=g.slice(0,h)+`${v?w:`{{.${w}}}`}`+g.slice(h);t(M)}};return u.jsxs("button",{className:"tags",onMouseDown:x,children:[u.jsx("p",{className:"tagButtonComponent-TagText",children:m}),u.jsx(qe,{iconType:"plus",iconSize:"16"})]})},l=e.map((h,m)=>({id:m.toString(),title:h.tabName,content:u.jsx("div",{className:`tagContainer ${r||""}`,children:h.tabList.map(v=>u.jsx(o,{cursorPos:void 0,name:v.tagName}))})})),c=h=>{var m;return(m=l.find(v=>v.title===h))==null?void 0:m.content},d=l.map(h=>({id:h.id,title:h.title})),f=h=>i(h);return u.jsx("div",{className:"tabContainer",children:u.jsx(ix,{tabs:d,onSelect:f,selectedTab:a,children:c(a)})})},d$=({message:e,charLimits:t,maxLength:n=360,onChange:r=()=>!1,isNextDisabled:a,showTagButtons:i,tabs:o,className:l,tagClasses:c,showHeader:d=!0,headerPosition:f="top",placeholder:h="",showError:m=!0,showSchoolBtn:v=!0})=>{const g=(te,J,re)=>{const U=J.getText();let le,he;for(;(le=te.exec(U))!==null;)he=le.index,re(he,he+le[0].length)},w=`(${Fh.map(({name:te})=>`${te} ✕`).join("|")})`,x=new RegExp(w,"g"),C=(te,J)=>{g(x,te,J)},M=({blockKey:te,start:J,end:re,contentState:U})=>{const le=kt.convertToRaw(U),he={...le,blocks:le.blocks.map(be=>be.key===te?{...be,text:be.text.slice(0,J)+be.text.slice(re+1,be.text.length)}:be)},pe=kt.EditorState.push(N,kt.convertFromRaw(he),"remove-range"),ue=kt.convertFromRaw(he).getSelectionAfter().merge({focusOffset:J,anchorOffset:J,focusKey:te,anchorKey:te});I(kt.EditorState.forceSelection(pe,ue))},A=te=>u.jsx("span",{"data-offset-key":te.offsetKey,"data-block-key":te.blockKey,"data-decorated-text":te.decoratedText,contentEditable:!1,onClick:()=>M(te),className:"tagStyle",children:te.children}),F=new kt.CompositeDecorator([{strategy:C,component:A}]),S=kt.ContentState.createFromText(e),[N,I]=s.useState(kt.EditorState.createWithContent(S,F));s.useEffect(()=>{const te=Fh.map(U=>U.value);let J=N.getCurrentContent();te.forEach(U=>{const le=new RegExp(`${U}`,"g"),pe=J.getPlainText().replace(le,nl(U));J=kt.ContentState.createFromText(pe)});const re=kt.EditorState.push(N,J,"insert-characters");I(re)},[]);const K=te=>{const J=a7(te.getCurrentContent().getPlainText());I(te),r(J)},$=te=>{const J=kt.convertToRaw(N.getCurrentContent()),re=N.getSelection().getFocusKey(),U=N.getSelection().getFocusOffset(),le=nl(te)+" ",he=J.blocks.map(ne=>ne.key===re?{...ne,text:ne.text.slice(0,U)+nl(te)+" "+ne.text.slice(U,ne.text.length+1)}:ne),pe={...J,blocks:he},Q=a7(he.map(ne=>!ne.text.trim()&&`
1224
1224
  `||ne.text).join(`
1225
- `));if(n&&Q.length>=n)return;const ue=kt.convertFromRaw(pe),be=kt.EditorState.push(N,ue,"insert-fragment"),fe=ue.getSelectionAfter().merge({focusOffset:U,anchorOffset:U+le.length,focusKey:re,anchorKey:re});I(kt.EditorState.forceSelection(be,fe))};return u.jsxs("div",{children:[u.jsx(ax,{value:e,onChange:K,editorState:N,maxLength:n,updateEditorState:I,isNextDisabled:a,className:l,showHeader:d,headerPosition:f,placeholder:h,showError:m}),t&&u.jsx("span",{style:{color:"#727272",fontFamily:"Inter",fontStyle:"normal",fontWeight:400,fontSize:"12px"},children:t&&n&&u.jsxs("p",{className:"textAreaWithTooltip-charactersLeft",children:[n-N.getCurrentContent().getPlainText().length," ","characters left"]})}),i&&o&&u.jsx(ox,{tabs:o,handleChange:$,styleableTags:!0,tagClasses:c,showSchoolBtn:v})]})};const f$=({switches:e})=>u.jsx("div",{className:"switchLarge",children:e.map((t,n)=>u.jsx(Jn,{content:t.name,children:u.jsxs("button",{className:`${t.isActive?"active":""}`,onClick:t.onClick,children:[t.text&&!t.iconType&&u.jsx("span",{className:"switchButtonText",children:t.text}),t.iconType&&u.jsx(qe,{iconType:t.iconType,iconSize:"16"})]},n)}))});const h$=({columns:e,data:t})=>{const{getTableProps:n,getTableBodyProps:r,headerGroups:a,rows:i,prepareRow:o}=Cr.useTable({columns:e,data:t});return u.jsxs("table",{...n(),className:"table",children:[u.jsx("thead",{children:a.map(l=>u.jsxs(s.Fragment,{children:[l.headers.map(c=>u.jsx("th",{...c.getHeaderProps(),style:{width:c.width},children:c.render("Header")})),l.headers.length<e.length&&u.jsx("th",{})]},l.getHeaderGroupProps().key))}),u.jsx("tbody",{...r(),children:i.map(l=>(o(l),u.jsxs("tr",{...l.getRowProps(),className:"row",children:[l.cells.map(c=>u.jsx("td",{...c.getCellProps(),children:c.render("Cell")})),l.cells.length<e.length&&u.jsx("td",{})]})))})]})};const Ec=({text:e="",TextWithSvgButtonClassName:t="",sizeVariant:n="xs",colorVariant:r="gray",isDisabled:a=!1,iconType:i,onClick:o,...l})=>{const c=ot({textWithSvgButtonGeneric:!0,[`${n}Size--TextWithSvgButton`]:!0,[`${r}--TextWithSvgButton`]:!0});return u.jsxs("button",{...l,className:`${c} ${t}`,disabled:a,onClick:o,children:[i&&u.jsx(qe,{iconType:i,iconSize:"16"}),e.length>0&&e]})};const sx=({initialState:e,onClick:t,sizeVariant:n="base"})=>{const[r,a]=s.useState(e);s.useEffect(()=>{a(e)},[e]);const i=()=>{a(!r),t()};return u.jsx("div",{className:`${n==="sm"?"smSizeToggle":"toggle"} ${r?"on":"off"}`,onClick:i,children:u.jsx("div",{className:n==="sm"?"smSizeToggle-switch":"toggle-switch"})})};const lx=({text:e="Placeholder text to be truncated is as follows",length:t=20,toolTipClassName:n="",toolTipPosition:r="top"})=>{const a=e.length>t?`${e.slice(0,t)}...`:e,i=h3();return e.length>t?u.jsx(u.Fragment,{children:u.jsxs("span",{"data-tooltip-id":i,className:n,children:[a,u.jsx(rv,{id:i,className:"toolTipStyling",content:e,place:r})]})}):u.jsx("span",{children:a})};const Ac=({remainingTime:e=0,className:t=""})=>{const n=a=>{const i=Math.floor(a/60),o=a%60;return`${i>9?"":0}${i}:${o<10?"0":""}${o}`},r=ot({searchTimer:!0,[t]:!!t});return e?u.jsx(Jn,{content:"Your search is in process",children:u.jsx("div",{className:r,children:n(e)})}):null};const p$=({titles:e,isLoading:t=!1,onTitleClick:n=()=>{},onDeleteClick:r=()=>{},remainingTime:a=0,showMore:i=!1,handleMoreClick:o=()=>{},isDisabled:l=!1})=>{const c=h=>(h.searchType==="nameGen"||h.searchType==="external")&&!h.isCompleted,d=h=>m=>{n(h)},f=h=>m=>{r(h)};return u.jsxs("div",{className:"savedSearches",children:[u.jsx("div",{children:u.jsx("h3",{children:"Saved Searches"})}),u.jsx("div",{children:e.map((h,m)=>u.jsxs("div",{children:[u.jsxs("div",{children:[u.jsxs("button",{type:"button",className:"btn-Title",onClick:d(h),children:[h.searchType==="external"&&u.jsx(Jn,{toolTipPosition:"bottom",content:"Search More",children:u.jsx(qe,{iconType:"globeSearch",iconSize:"24"})}),h.searchType==="nameGen"&&u.jsx(Jn,{toolTipPosition:"bottom",content:"Search Builder",children:u.jsx(qe,{iconType:"sparkles",iconSize:"24"})}),h.searchType!=="nameGen"&&h.searchType!=="external"&&u.jsx(Jn,{toolTipPosition:"bottom",content:"Basic Search",children:u.jsx(qe,{iconType:"search",iconSize:"24"})}),u.jsx(Fn,{toolTipPosition:"bottom",maxWidth:`${c(h)||h.isLoading?208:264}px`,children:h.name}),c(h)&&u.jsx(Ac,{remainingTime:a??0})]}),h.isLoading&&u.jsx(hn,{width:"18",height:"18"})]}),u.jsx("button",{type:"button",className:"btn-Delete",onClick:f(h),children:u.jsx(qe,{iconType:"delete",iconSize:"18"})})]},m))}),t&&u.jsx("span",{className:"loader",children:u.jsx(hn,{width:"20",height:"20"})}),i&&u.jsx(On,{text:"Load More",colorVariant:"gray",onClick:o,disabled:l,sizeVariant:"sm"})]})};const m$=({emailList:e,onConnectClick:t,connectedEmail:n,selectedEmail:r})=>{const[a,i]=s.useState(!1),[o,l]=s.useState(n);return u.jsxs("div",{className:"connectDropdown",children:[u.jsxs("button",{className:"input-dropdown",onClick:()=>{i(c=>!c)},children:[u.jsx("span",{children:o}),u.jsx(qe,{iconType:"cheveronDown",iconSize:"24"})]}),u.jsx("div",{children:u.jsxs("ul",{className:a?"connectDropdown-options-list":"connectDropdown-options-list hide",children:[e.map(c=>c.statusLabel?u.jsx(u.Fragment,{}):u.jsx("div",{onClick:()=>{l(c.email),r(c.email),i(d=>!d)},children:c.email})),u.jsx("li",{className:"horizental-line-connectdropdown"}),e.map(c=>c.statusLabel?u.jsxs("div",{children:[u.jsxs("span",{children:[u.jsx("span",{children:c.email}),u.jsx("span",{className:"status-label-connect-button",children:c.statusLabel})]}),u.jsx(On,{text:"Connect",sizeVariant:"xs",onClick:()=>{t(c.email),i(d=>!d)}})]}):u.jsx(u.Fragment,{}))]})})]})};const v$=({iconUrl:e="",iconAltText:t="",position:n="",company:r="",from:a="",to:i="",universalName:o="",urn:l="",onExperienceCompanyClick:c,industries:d=[],expIndustries:f=[],expSkills:h=[],expNumber:m=0,totalExpInCompany:v=0,location:g=""})=>{const[w,x]=s.useState(!1),C="undefined-undefined",M=!!a&&i!==C&&a!==C,A=m===0,F=m===v-1,S=A&&F,N=!A&&!S,I=!F&&!S,K=ot({experienceCard:!0,"experienceCard-Before":N,"experienceCard-After":I&&!A,"experienceCard-FirstExpAfter":I&&A}),$=bE({industries:d,expIndustries:f});return u.jsxs("div",{className:K,children:[u.jsx("span",{children:A&&u.jsx(u.Fragment,{children:w||!e?u.jsx("div",{className:"companyPlaceholder",children:u.jsx(qe,{iconSize:"40",iconType:"company"})}):u.jsx("img",{width:40,height:40,src:e,alt:t,onError:()=>{x(!0)}})})}),u.jsxs("span",{className:"experienceCardDetails",children:[u.jsx("span",{className:"header",children:u.jsxs("p",{children:[u.jsx("span",{children:n}),A&&u.jsxs(u.Fragment,{children:[u.jsx("span",{children:" at "}),u.jsx("span",{onClick:()=>{c(o,l)},className:"company",children:r})]})]})}),M&&u.jsxs("p",{className:"date",children:[lr(a)," - ",lr(i)]}),u.jsx("span",{className:"location",children:g}),($==null?void 0:$.length)!==0&&A&&u.jsxs("span",{className:"expSkillsAndIndustries",children:[u.jsx("h2",{children:"INDUSTRIES"}),u.jsx("span",{children:$.map((te,J)=>u.jsx(Jn,{content:te.source,toolTipPosition:"bottom",children:u.jsx(aa,{highlightPill:!0,text:te.industry},J)}))})]}),(h==null?void 0:h.length)!==0&&u.jsxs("span",{className:"expSkillsAndIndustries",children:[u.jsx("h2",{children:"Keywords/Skills"}),u.jsx("span",{children:h==null?void 0:h.map((te,J)=>u.jsx(aa,{highlightPill:!0,text:te},J))})]})]})]})},g$=({experiences:e,initialItemsToShow:t,onCompanyClick:n,expIndustries:r=[],expSkills:a=[]})=>{const[i,o]=s.useState(t),[l,c]=s.useState(`${e.length>t?e.length-t:e.length} More`);return u.jsx(u.Fragment,{children:u.jsxs("ul",{className:"experience--ul--container",children:[e==null?void 0:e.slice(0,i).map((d,f)=>u.jsx("li",{className:"experience-li",children:d.map((h,m)=>u.jsx(v$,{expNumber:m,totalExpInCompany:d.length,iconUrl:h.iconUrl,iconAltText:h.iconAltText,position:h.position,company:h.company,from:h.from,to:h.to,separator:h.separator,universalName:h.universalName,urn:h.urn,onExperienceCompanyClick:n,industries:h.industries,expIndustries:r[f],expSkills:a[f],location:h.location}))},f)),u.jsx("li",{className:"experience-more-button-li",children:e.length>t&&e.length-t>=0&&u.jsx(On,{colorVariant:"gray",sizeVariant:"sm",text:l,onClick:()=>{e.length===i?c(`${e.length-t} More`):c("View less"),o(e.length===i?t:e.length)}})})]})})};const y$=({count:e,profile:t,checked:n,onCheckClick:r,onExperienceCompanyClick:a,onDetailsClick:i,expIndustries:o=[],expSkills:l=[],filteredEducation:c=[]})=>{var h,m,v,g,w,x;const d=t.experience?(h=t.experience)==null?void 0:h.map(C=>{var M;return(M=C==null?void 0:C.experienceDetails)==null?void 0:M.map((A,F)=>{var N;const S=(N=C.experienceDetails.at(F&&F-1))==null?void 0:N.location;return{showCompany:F===0,iconUrl:C.companyLogo??"",iconAltText:A.companyName,position:A.title||"Full stack engineer",company:A.companyName,from:A.start,to:A.end?A.end:"Now",separator:"-",universalName:(A==null?void 0:A.universalName)||"",urn:(A==null?void 0:A.urn)||"",industries:A==null?void 0:A.industries,location:F===0||A.location!==S?A==null?void 0:A.location:""}})}):[],f=C=>(C==null?void 0:C.filter(A=>!!A.degreeName||!!A.schoolName)).map(A=>({iconAltText:"",institue:A!=null&&A.schoolName?A.schoolName:"",degree:A!=null&&A.degreeName?A.degreeName:"",from:A.start,to:A.end}));return u.jsxs("div",{className:"peopleCardContainer",children:[u.jsx("div",{className:"header",children:u.jsxs("div",{children:[u.jsx("span",{children:e}),u.jsx(n2,{checked:n,onClick:()=>r(t._id)})]})}),u.jsxs("div",{className:"peopleCard",children:[u.jsx("div",{className:"peopleCardLeft",children:u.jsxs("div",{children:[u.jsx(Gn,{iconPath:t.imageUrl,iconSize:"120",altImageType:"profile"},`${t==null?void 0:t.publicIdentifier}-${t==null?void 0:t.updatedAtEs}`),u.jsxs("div",{className:"peopleCardNameSection",children:[u.jsx("p",{className:"titleSection",children:t.fullName}),u.jsx(O5,{count:t==null?void 0:t.assignmentCount,toolTipContent:`Added to ${t.assignmentCount} assignments`,iconType:"briefcase",iconSize:"16"})]}),u.jsx("div",{className:"title",children:u.jsxs("p",{children:[u.jsx("span",{className:"titleText",children:t.title}),!!((v=(m=t==null?void 0:t.experience)==null?void 0:m[0])!=null&&v.experienceDetails[0].companyName)&&u.jsx("span",{children:" at "}),u.jsx("span",{onClick:()=>{var C,M,A,F,S,N;a(((A=(M=(C=t==null?void 0:t.experience)==null?void 0:C[0])==null?void 0:M.experienceDetails[0])==null?void 0:A.universalName)||"",((N=(S=(F=t==null?void 0:t.experience)==null?void 0:F[0])==null?void 0:S.experienceDetails[0])==null?void 0:N.urn)||"")},className:"company",children:(w=(g=t==null?void 0:t.experience)==null?void 0:g[0])==null?void 0:w.experienceDetails[0].companyName})]})}),u.jsx("p",{className:"location",children:t.locality}),u.jsx(ao,{onClick:()=>i(t._id),sizeVariant:"sm",colorVariant:"orange",children:"View full profile"})]})}),u.jsxs("div",{className:"peopleCardRight",children:[((x=t.experience)==null?void 0:x.length)!==0&&u.jsxs("div",{className:"experienceWrapper",children:[u.jsx("p",{children:"Experience"}),u.jsx(g$,{experiences:d,initialItemsToShow:3,onCompanyClick:a,expIndustries:o,expSkills:l})]}),(c==null?void 0:c.length)!==0&&u.jsxs("div",{className:"educationContainer",children:[u.jsx("p",{children:"Education"}),u.jsx(lv,{educations:f(c),initialItemsToShow:3})]})]})]})]})};const w$=({text:e,onCrossClick:t=()=>!1,onReplaceClick:n=()=>!1,picturePath:r="",props:a={}})=>u.jsx("button",{className:"companyPill",type:"button",...a,children:u.jsxs("div",{children:[r?u.jsx(Gn,{iconSize:"20",iconPath:r}):u.jsx(qe,{iconType:"excalamationCircle",iconSize:"20"}),u.jsx("p",{children:e}),u.jsx(On,{text:"Replace",onClick:n}),u.jsx("span",{onClick:t,children:u.jsx(qe,{iconSize:"20",iconType:"cross"})})]})});function z2(){return z2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z2.apply(this,arguments)}function x$(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,O9(e,t)}function O9(e,t){return O9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},O9(e,t)}function P9(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function b$(e){return kt.getDefaultKeyBinding(e)}function E$(e,t,n,r){var a=r.setEditorState,i;switch(e){case"backspace":case"backspace-word":case"backspace-to-start-of-line":i=kt.RichUtils.onBackspace(t);break;case"delete":case"delete-word":case"delete-to-end-of-block":i=kt.RichUtils.onDelete(t);break;default:return"not-handled"}return i!=null?(a(i),"handled"):"not-handled"}var A$=["props"],C$=["props"];function S$(e){return e.startsWith("handle")}function M$(e){return e.startsWith("on")}function F$(e){return e.endsWith("Fn")}function k$(e,t){return function(n){var r={props:{}};return e.forEach(function(a){if(typeof a.blockRendererFn=="function"){var i=a.blockRendererFn(n,t);if(i!=null){var o=i.props,l=P9(i,A$),c=r,d=c.props,f=P9(c,C$);r=z2({},f,l,{props:z2({},d,o)})}}}),r.component?r:!1}}function z$(e,t){return function(n){var r=[];return e.forEach(function(a){if(typeof a.blockStyleFn=="function"){var i=a.blockStyleFn(n,t);i!=null&&r.push(i)}}),r.join(" ")}}function L$(e,t){return function(n,r){var a,i=e.some(function(o){return typeof o.customStyleFn!="function"?!1:(a=o.customStyleFn(n,r,t),a!==void 0)});return i&&a?a:{}}}function j$(e,t){return function(n){var r=null,a=e.some(function(i){return typeof i.keyBindingFn!="function"?!1:(r=i.keyBindingFn(n,t),r!==void 0)});return a?r:null}}function R$(e,t,n){return function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return t.some(function(o){var l=o[e];return typeof l=="function"&&l.apply(void 0,a.concat([n]))==="handled"})?"handled":"not-handled"}}function D$(e,t,n){return function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return t.some(function(o){var l=o[e];return typeof l=="function"&&l.apply(void 0,a.concat([n]))===!0})}}function T$(e,t){var n={},r=new Set(["onChange"]);return e.forEach(function(a){Object.keys(a).forEach(function(i){r.has(i)||(r.add(i),M$(i)?n[i]=D$(i,e,t):S$(i)?n[i]=R$(i,e,t):F$(i)&&(i==="blockRendererFn"?n.blockRendererFn=k$(e,t):i==="blockStyleFn"?n.blockStyleFn=z$(e,t):i==="customStyleFn"?n.customStyleFn=L$(e,t):i==="keyBindingFn"&&(n.keyBindingFn=j$(e,t))))})}),n}function B$(e,t,n){var r=x1.List(e).map(function(a){var i=a.component,o=function(c){return s.createElement(i,z2({},c,{getEditorState:t,setEditorState:n}))};return z2({},a,{component:o})}).toJS();return new kt.CompositeDecorator(r)}var Zo="-",N$=function(){function e(n){this.decorators=v7.List(n)}var t=e.prototype;return t.getDecorations=function(r,a){var i=new Array(r.getText().length).fill(null);return this.decorators.forEach(function(o,l){var c=o.getDecorations(r,a);c.forEach(function(d,f){d&&(i[f]=l+Zo+d)})}),v7.List(i)},t.getComponentForKey=function(r){var a=this.getDecoratorForKey(r);return a.getComponentForKey(e.getInnerKey(r))},t.getPropsForKey=function(r){var a=this.getDecoratorForKey(r);return a.getPropsForKey(e.getInnerKey(r))},t.getDecoratorForKey=function(r){var a=r.split(Zo),i=Number(a[0]);return this.decorators.get(i)},e.getInnerKey=function(r){var a=r.split(Zo);return a.slice(1).join(Zo)},e}(),kh=function(t){return typeof t.getDecorations=="function"&&typeof t.getComponentForKey=="function"&&typeof t.getPropsForKey=="function"},O$=function(t){var n=t.decorators,r=t.plugins,a=r===void 0?[]:r;return x1.List([{decorators:n}].concat(a)).filter(function(i){return(i==null?void 0:i.decorators)!==void 0}).flatMap(function(i){return i==null?void 0:i.decorators})};function P$(e,t,n){var r=O$(e),a=B$(r.filter(function(o){return!kh(o)}),t,n),i=r.filter(function(o){return kh(o)});return new N$(i.push(a))}var I$=["keyBindingFn"],zh=function(t){if((t==null?void 0:t.decorators)!=null){var n;return(n=t.decorators)==null?void 0:n.size}else if((t==null?void 0:t._decorators)!=null){var r;return(r=t._decorators)==null?void 0:r.length}},Cc=function(e){x$(t,e);function t(r){var a;a=e.call(this,r)||this,a.editor=null,a.state={readOnly:!1},a.onChange=function(o){var l=o;a.resolvePlugins().forEach(function(c){c.onChange&&(l=c.onChange(l,a.getPluginMethods()))}),a.props.onChange&&a.props.onChange(l)},a.getPlugins=function(){return[].concat(a.props.plugins)},a.getProps=function(){return z2({},a.props)},a.getReadOnly=function(){return a.props.readOnly||a.state.readOnly},a.setReadOnly=function(o){o!==a.state.readOnly&&a.setState({readOnly:o})},a.getEditorRef=function(){return a.editor},a.getEditorState=function(){return a.props.editorState},a.getPluginMethods=function(){return{getPlugins:a.getPlugins,getProps:a.getProps,setEditorState:a.onChange,getEditorState:a.getEditorState,getReadOnly:a.getReadOnly,setReadOnly:a.setReadOnly,getEditorRef:a.getEditorRef}},a.createPluginHooks=function(){var o=[a.props].concat(a.resolvePlugins());return T$(o,a.getPluginMethods())},a.resolvePlugins=function(){var o=a.getPlugins();return a.props.defaultKeyBindings===!0&&o.push({keyBindingFn:b$}),a.props.defaultKeyCommands===!0&&o.push({handleKeyCommand:E$}),o},a.resolveCustomStyleMap=function(){var o=a.props.plugins.filter(function(l){return l.customStyleMap!==void 0}).map(function(l){return l.customStyleMap});return o.concat([a.props.customStyleMap]).reduce(function(l,c){return z2({},l,c)},{})},a.resolveblockRenderMap=function(){var o=a.props.plugins.filter(function(l){return l.blockRenderMap!==void 0}).reduce(function(l,c){return l.merge(c.blockRenderMap)},x1.Map({}));return a.props.defaultBlockRenderMap&&(o=kt.DefaultDraftBlockRenderMap.merge(o)),a.props.blockRenderMap&&(o=o.merge(a.props.blockRenderMap)),o},a.resolveAccessibilityProps=function(){var o={};return a.resolvePlugins().forEach(function(l){if(typeof l.getAccessibilityProps=="function"){var c=l.getAccessibilityProps(),d={};o.ariaHasPopup===void 0?d.ariaHasPopup=c.ariaHasPopup:c.ariaHasPopup==="true"&&(d.ariaHasPopup="true"),o.ariaExpanded===void 0?d.ariaExpanded=c.ariaExpanded:c.ariaExpanded===!0&&(d.ariaExpanded=!0),o=z2({},o,c,d)}}),o};var i=[a.props].concat(a.resolvePlugins());return i.forEach(function(o){o&&typeof o.initialize=="function"&&o.initialize(a.getPluginMethods())}),a}var n=t.prototype;return n.focus=function(){this.editor&&this.editor.focus()},n.blur=function(){this.editor&&this.editor.blur()},n.componentDidMount=function(){var a=P$(this.props,this.getEditorState,this.onChange),i=kt.EditorState.set(this.props.editorState,{decorator:a});this.onChange(kt.EditorState.moveSelectionToEnd(i))},n.componentDidUpdate=function(a){var i=this.props,o=a.editorState.getDecorator(),l=i.editorState.getDecorator();if(o&&o!==l&&!(o&&l&&zh(o)===zh(l))){var c=kt.EditorState.set(i.editorState,{decorator:o});this.onChange(kt.EditorState.moveSelectionToEnd(c))}},n.componentWillUnmount=function(){var a=this;this.resolvePlugins().forEach(function(i){i.willUnmount&&i.willUnmount({getEditorState:a.getEditorState,setEditorState:a.onChange})})},n.render=function(){var a=this,i=this.createPluginHooks(),o=this.resolveCustomStyleMap(),l=this.resolveAccessibilityProps(),c=this.resolveblockRenderMap(),d=this.props;d.keyBindingFn;var f=P9(d,I$);return s.createElement(kt.Editor,z2({},f,l,i,{readOnly:this.props.readOnly||this.state.readOnly,customStyleMap:o,blockRenderMap:c,onChange:this.onChange,editorState:this.props.editorState,ref:function(m){a.editor=m}}))},t}(s.Component);Cc.propTypes={editorState:o1.object.isRequired,onChange:o1.func.isRequired,plugins:o1.array,defaultKeyBindings:o1.bool,defaultKeyCommands:o1.bool,defaultBlockRenderMap:o1.bool,customStyleMap:o1.object,decorators:o1.array};Cc.defaultProps={defaultBlockRenderMap:!0,defaultKeyBindings:!0,defaultKeyCommands:!0,customStyleMap:{},plugins:[],decorators:[]};var V$=Cc;const H$=({editorState:e,updateEditorState:t})=>{const n=["12","14","16","18","20","24","32"],[r,a]=s.useState(0),[i,o]=s.useState(n[r]),l=f=>{const h=e.getSelection();let v=e.getCurrentContent();n.forEach(g=>{v=kt.Modifier.removeInlineStyle(v,h,`FONTSIZE_${g}`)}),v=kt.Modifier.applyInlineStyle(v,h,`FONTSIZE_${f}`),t(kt.EditorState.push(e,v,"change-inline-style"))},c=()=>{a(f=>f>0?f-1:f)},d=()=>{a(f=>f<6?f+1:f)};return s.useEffect(()=>{o(n[r]),l(n[r])},[r]),u.jsx("div",{className:"font-size-control",children:u.jsxs("span",{className:"fontSizeSpan",children:[u.jsx("span",{className:"divider",children:"|"}),u.jsx("span",{className:"btnSpan",onClick:c,children:"-"}),u.jsx("input",{className:"fontSizeInput",type:"text",value:i,disabled:!0}),u.jsx("span",{className:"btnSpan",onClick:d,children:"+"}),u.jsx("span",{className:"divider",children:"|"})]})})};const W$=({editorState:e,updateEditorState:t})=>{const n=[{label:"TITLE",style:"TITLE",icon:u.jsx(Yn,{icon:u$,size:"sm"})},{label:"BOLD",style:"BOLD",icon:u.jsx(Yn,{icon:c$,size:"sm"})},{label:"ITALIC",style:"ITALIC",icon:u.jsx(Yn,{icon:nx,size:"sm"})},{label:"Underline",style:"UNDERLINE",icon:u.jsx(Yn,{icon:tx,size:"sm"})}],r=[{label:"list",style:"unordered-list-item",icon:u.jsx(Yn,{icon:rx,size:"sm"})}],a=(c,d)=>{c.preventDefault(),t(kt.RichUtils.toggleInlineStyle(e,d))},i=(c,d)=>{c.preventDefault(),t(kt.RichUtils.toggleBlockType(e,d))},o=c=>e.getCurrentInlineStyle().has(c),l=c=>{const d=kt.RichUtils.getCurrentBlockType(e);return c===d};return u.jsxs("div",{className:"renderInlineEditorContainer",children:[n.map((c,d)=>u.jsx("div",{className:`renderInlineEditortoolBarItem${o(c.style)?" renderInlineEditortoolBarItemIsActive":""}`,onMouseDown:f=>{f.preventDefault(),a(f,c.style)},children:c.icon||c.label},`${c.label}-${d}`)),r.map((c,d)=>u.jsx("div",{className:`renderInlineEditortoolBarItem ${l(c.style)?"renderInlineEditortoolBarItemIsActive":""}`,onMouseDown:f=>{f.preventDefault(),i(f,c.style)},children:c.icon||c.label},`${c.label}-${d}`))]})};const K$=({editorState:e,updateEditorState:t,pasteHandler:n,value:r,contributors:a,isLoading:i=!1})=>u.jsxs("div",{className:"textEditortToolBarContainer",children:[u.jsx(W$,{editorState:e,updateEditorState:t,pasteHandler:n,value:r}),u.jsx("span",{children:u.jsx(H$,{updateEditorState:t,editorState:e})}),u.jsxs("div",{children:[i&&u.jsx(hn,{width:"16",height:"16"}),a&&!i&&u.jsxs(u.Fragment,{children:[u.jsx("p",{children:"Contributors: "}),(()=>(a==null?void 0:a.length)>3?u.jsxs("span",{className:"initialsContainer",children:[u.jsx("div",{children:u.jsx(u.Fragment,{children:o=>u.jsx("p",{className:"initials",children:v8(o)})})}),u.jsxs("p",{children:["+ ",(a==null?void 0:a.length)-1," More"]})]}):(a==null?void 0:a.length)===0||!a?u.jsx("p",{children:"No contributors yet"}):a==null?void 0:a.map(o=>u.jsx("p",{className:"initials",children:v8(o)})))()]})]})]});const U$=({value:e="",handleChange:t=()=>!1,contributors:n,isDisabled:r=!1,isLoading:a=!1,notesLoading:i=!1})=>{const[o,l]=s.useState(()=>kt.EditorState.createEmpty()),c=(m,v)=>{const g=kt.RichUtils.handleKeyCommand(v,m);return g?(h(g),"handled"):"not-handled"},d=m=>{const v=m.getType();return v==="BOLD"?"custom-bold":v==="ITALIC"?"custom-italic":v==="UNDERLINE"?"custom-underline":""},f={TITLE:{fontSize:"18px",fontWeight:"bold"},FONTSIZE_16:{fontSize:"16px"},FONTSIZE_18:{fontSize:"18px"}};s.useEffect(()=>{const m=kt.ContentState.createFromText(e),v=kt.EditorState.createWithContent(m);l(v)},[e]);const h=m=>{i||(l(m),t(m.getCurrentContent().getPlainText()))};return u.jsxs("div",{className:"noteEditorContainer",children:[u.jsx(K$,{editorState:o,updateEditorState:l,value:e,contributors:n,isLoading:a}),u.jsx("div",{children:u.jsx(V$,{readOnly:r,customStyleMap:f,blockStyleFn:d,editorState:o,onChange:h,handleKeyCommand:c})})]})};const G$=({onNameClick:e=r=>{console.log("Showing the publicIdentifier :: ",r)},onCompanyClick:t=r=>{console.log("Showing the publicIdentifier :: ",r)},profiles:n})=>{const r=n,a=s.useMemo(()=>[{Header:"NAME",accessor:"fullName"},{Header:"TITLE",accessor:"title"},{Header:"COMPANY",accessor:"companyName"},{Header:"LOCATION",accessor:"locationName"}],[]),{getTableProps:i,getTableBodyProps:o,headerGroups:l,rows:c,prepareRow:d}=Cr.useTable({columns:a,data:r});return u.jsx("div",{className:"lookAlikeProfilesWrapper",children:u.jsxs("table",{className:"lookAlikeProfiles",...i(),children:[u.jsx("thead",{children:l.map(f=>u.jsx("tr",{...f.getHeaderGroupProps(),children:f.headers.map(h=>u.jsx("th",{...h.getHeaderProps(),children:h.render("Header")}))}))}),u.jsx("tbody",{...o(),children:c.map(f=>(d(f),s.createElement("tr",{...f.getRowProps(),key:`${f.original.publicIdentifier}${f.original.isSelected}`},f.cells.map(h=>{var m,v,g,w;return h.column.Header==="NAME"?u.jsx("td",{...h.getCellProps(),children:u.jsxs("span",{className:"lookAlikeProfiles--NameCell",children:[u.jsx(I2,{iconPath:(v=(m=h==null?void 0:h.row)==null?void 0:m.original)==null?void 0:v.imageUrl,iconSize:"40",borderRadius:"6"}),u.jsx(j2,{text:h.row.original.fullName||`${h.row.original.firstName} ${h.row.original.lastName}`.trim(),onClick:()=>e(h.row.original._id)})]})}):h.column.Header==="TITLE"?u.jsx("td",{...h.getCellProps(),children:((g=h.row.original.experience)==null?void 0:g[0].title)||""}):h.column.Header==="COMPANY"?u.jsx("td",{...h.getCellProps(),className:"lookAlikeProfiles--CompanyCell ",children:u.jsx(j2,{text:((w=h.row.original.experience)==null?void 0:w[0].company_name)||"",onClick:()=>{var x;return t(((x=h.row.original.experience)==null?void 0:x[0].universalName)||"")}})}):u.jsx("td",{...h.getCellProps(),children:h.render("Cell")})}))))})]})})};const Y$=({onNameClick:e,competitors:t})=>{const n=r=>{var a;return`${r.companyLocation&&Bs(r.companyLocation)}${r.companyLocation&&r.employeeCount?" • ":""}${r.employeeCount?((a=r.employeeCount)==null?void 0:a.toLocaleString("en-US"))+" Employees":""}`};return u.jsx("div",{className:"competitorsTabWrapper",children:t.map(r=>u.jsxs("button",{onClick:()=>e(r==null?void 0:r.universalName),className:"competitorsTab",children:[u.jsx("div",{className:"companyIcon",children:u.jsx(Gn,{altImageType:"company",iconPath:r.imageUrl,iconSize:"48"})}),u.jsxs("div",{className:"companyDetails",children:[u.jsx("h3",{children:Bs(r.companyTitle)}),n(r)?u.jsx("p",{className:"companyLocation",children:n(r)}):null]})]}))})};const q$=({onNameClick:e,products:t})=>u.jsx("div",{className:"productsTabWrapper",children:t.map(n=>u.jsxs("div",{className:"productsTab",children:[u.jsx("div",{className:"productsIcon",children:u.jsx(I2,{altImageType:"products",iconPath:n.imageUrl,iconSize:"48",placeholderPadding:8})}),u.jsxs("div",{className:"productsDetails",children:[u.jsx("button",{onClick:()=>e(n.productUrl),children:n.productType}),u.jsx("span",{className:"productsLocation",children:n.productDetails})]})]}))});const Z$=({files:e})=>u.jsx("div",{className:"reportsWrapper",children:e.map(t=>u.jsxs("div",{className:"reportsContent",children:[u.jsx("div",{className:"reportsIcon",children:u.jsx(iv,{width:"48",height:"48"})}),u.jsxs("div",{className:"reportsName",children:[u.jsx("span",{children:(t==null?void 0:t.fileName)||"Report"}),u.jsx("a",{href:t==null?void 0:t.downloadUrl,target:"_blank",children:u.jsx(qe,{iconType:"download",iconSize:"20"})})]})]}))}),_l=({title:e,company:t,isPreviousTitle:n=!1,showTitleReference:r=!0})=>{const a=e+(t&&` at ${t}`);return u.jsxs("div",{className:"companyPeopleTab-CurrentPreviousTitle",children:[r&&u.jsxs("b",{children:[n?"Then":"Now",": "]}),u.jsx(Fn,{children:a})]})};const J$=({onNameClick:e,type:t,profiles:n})=>u.jsx("div",{className:"companyPeopleTab-Container",children:n.map(r=>u.jsxs("button",{onClick:()=>e(r),type:"button",className:"companyPeopleTab--Generic",children:[u.jsx(Gn,{altImageType:"profile",iconPath:r.profileImg,iconSize:"48"}),u.jsxs("div",{className:"companyPeopleTab-DetailsContainer",children:[u.jsxs("div",{className:"companyPeopleTab-NameAndTitle",children:[u.jsx("span",{className:"companyPeopleTab-Name",children:u.jsx(Fn,{children:r.personName})}),u.jsx("span",{className:"companyPeopleTab-Title",children:t==="previous"?u.jsxs(u.Fragment,{children:[r.pastTitle&&u.jsx(_l,{company:r.pastCompany,title:r.pastTitle,isPreviousTitle:!0}),r.currentTitle&&u.jsx(_l,{company:r.currentCompany,title:r.currentTitle})]}):r.currentTitle&&u.jsx(_l,{company:r.currentCompany,title:r.currentTitle,showTitleReference:!1})})]}),t==="previous"&&r.startOfTenure&&r.endOfTenure&&u.jsx("div",{className:"companyPeopleTab-DateContainer",children:`${lr(r.startOfTenure)} - ${lr(r.endOfTenure)}`})]})]},r.esId))});/*!
1225
+ `));if(n&&Q.length>=n)return;const ue=kt.convertFromRaw(pe),be=kt.EditorState.push(N,ue,"insert-fragment"),fe=ue.getSelectionAfter().merge({focusOffset:U,anchorOffset:U+le.length,focusKey:re,anchorKey:re});I(kt.EditorState.forceSelection(be,fe))};return u.jsxs("div",{children:[u.jsx(ax,{value:e,onChange:K,editorState:N,maxLength:n,updateEditorState:I,isNextDisabled:a,className:l,showHeader:d,headerPosition:f,placeholder:h,showError:m}),t&&u.jsx("span",{style:{color:"#727272",fontFamily:"Inter",fontStyle:"normal",fontWeight:400,fontSize:"12px"},children:t&&n&&u.jsxs("p",{className:"textAreaWithTooltip-charactersLeft",children:[n-N.getCurrentContent().getPlainText().length," ","characters left"]})}),i&&o&&u.jsx(ox,{tabs:o,handleChange:$,styleableTags:!0,tagClasses:c,showSchoolBtn:v})]})};const f$=({switches:e})=>u.jsx("div",{className:"switchLarge",children:e.map((t,n)=>u.jsx(Jn,{content:t.name,children:u.jsxs("button",{className:`${t.isActive?"active":""}`,onClick:t.onClick,children:[t.text&&!t.iconType&&u.jsx("span",{className:"switchButtonText",children:t.text}),t.iconType&&u.jsx(qe,{iconType:t.iconType,iconSize:"16"})]},n)}))});const h$=({columns:e,data:t})=>{const{getTableProps:n,getTableBodyProps:r,headerGroups:a,rows:i,prepareRow:o}=Cr.useTable({columns:e,data:t});return u.jsxs("table",{...n(),className:"table",children:[u.jsx("thead",{children:a.map(l=>u.jsxs(s.Fragment,{children:[l.headers.map(c=>u.jsx("th",{...c.getHeaderProps(),style:{width:c.width},children:c.render("Header")})),l.headers.length<e.length&&u.jsx("th",{})]},l.getHeaderGroupProps().key))}),u.jsx("tbody",{...r(),children:i.map(l=>(o(l),u.jsxs("tr",{...l.getRowProps(),className:"row",children:[l.cells.map(c=>u.jsx("td",{...c.getCellProps(),children:c.render("Cell")})),l.cells.length<e.length&&u.jsx("td",{})]})))})]})};const Ec=({text:e="",TextWithSvgButtonClassName:t="",sizeVariant:n="xs",colorVariant:r="gray",isDisabled:a=!1,iconType:i,onClick:o,...l})=>{const c=ot({textWithSvgButtonGeneric:!0,[`${n}Size--TextWithSvgButton`]:!0,[`${r}--TextWithSvgButton`]:!0});return u.jsxs("button",{...l,className:`${c} ${t}`,disabled:a,onClick:o,children:[i&&u.jsx(qe,{iconType:i,iconSize:"16"}),e.length>0&&e]})};const sx=({initialState:e,onClick:t,sizeVariant:n="base"})=>{const[r,a]=s.useState(e);s.useEffect(()=>{a(e)},[e]);const i=()=>{a(!r),t()};return u.jsx("div",{className:`${n==="sm"?"smSizeToggle":"toggle"} ${r?"on":"off"}`,onClick:i,children:u.jsx("div",{className:n==="sm"?"smSizeToggle-switch":"toggle-switch"})})};const lx=({text:e="Placeholder text to be truncated is as follows",length:t=20,toolTipClassName:n="",toolTipPosition:r="top"})=>{const a=e.length>t?`${e.slice(0,t)}...`:e,i=h3();return e.length>t?u.jsx(u.Fragment,{children:u.jsxs("span",{"data-tooltip-id":i,className:n,children:[a,u.jsx(rv,{id:i,className:"toolTipStyling",content:e,place:r})]})}):u.jsx("span",{children:a})};const Ac=({remainingTime:e=0,className:t=""})=>{const n=a=>{const i=Math.floor(a/60),o=a%60;return`${i>9?"":0}${i}:${o<10?"0":""}${o}`},r=ot({searchTimer:!0,[t]:!!t});return e?u.jsx(Jn,{content:"Your search is in process",children:u.jsx("div",{className:r,children:n(e)})}):null};const p$=({titles:e,isLoading:t=!1,onTitleClick:n=()=>{},onDeleteClick:r=()=>{},remainingTime:a=0,showMore:i=!1,handleMoreClick:o=()=>{},isDisabled:l=!1})=>{const c=h=>(h.searchType==="nameGen"||h.searchType==="external")&&!h.isCompleted,d=h=>m=>{n(h)},f=h=>m=>{r(h)};return u.jsxs("div",{className:"savedSearches",children:[u.jsx("div",{children:u.jsx("h3",{children:"Saved Searches"})}),u.jsx("div",{children:e.map((h,m)=>u.jsxs("div",{children:[u.jsxs("div",{children:[u.jsxs("button",{type:"button",className:"btn-Title",onClick:d(h),children:[h.searchType==="external"&&u.jsx(Jn,{toolTipPosition:"bottom",content:"Search More",children:u.jsx(qe,{iconType:"globeSearch",iconSize:"24"})}),h.searchType==="nameGen"&&u.jsx(Jn,{toolTipPosition:"bottom",content:"Search Builder",children:u.jsx(qe,{iconType:"sparkles",iconSize:"24"})}),h.searchType!=="nameGen"&&h.searchType!=="external"&&u.jsx(Jn,{toolTipPosition:"bottom",content:"Basic Search",children:u.jsx(qe,{iconType:"search",iconSize:"24"})}),u.jsx(Fn,{toolTipPosition:"bottom",maxWidth:`${c(h)||h.isLoading?208:264}px`,children:h.name}),c(h)&&u.jsx(Ac,{remainingTime:a??0})]}),h.isLoading&&u.jsx(hn,{width:"18",height:"18"})]}),u.jsx("button",{type:"button",className:"btn-Delete",onClick:f(h),children:u.jsx(qe,{iconType:"delete",iconSize:"18"})})]},m))}),t&&u.jsx("span",{className:"loader",children:u.jsx(hn,{width:"20",height:"20"})}),i&&u.jsx(On,{text:"Load More",colorVariant:"gray",onClick:o,disabled:l,sizeVariant:"sm"})]})};const m$=({emailList:e,onConnectClick:t,connectedEmail:n,selectedEmail:r})=>{const[a,i]=s.useState(!1),[o,l]=s.useState(n);return u.jsxs("div",{className:"connectDropdown",children:[u.jsxs("button",{className:"input-dropdown",onClick:()=>{i(c=>!c)},children:[u.jsx("span",{children:o}),u.jsx(qe,{iconType:"cheveronDown",iconSize:"24"})]}),u.jsx("div",{children:u.jsxs("ul",{className:a?"connectDropdown-options-list":"connectDropdown-options-list hide",children:[e.map(c=>c.statusLabel?u.jsx(u.Fragment,{}):u.jsx("div",{onClick:()=>{l(c.email),r(c.email),i(d=>!d)},children:c.email})),u.jsx("li",{className:"horizental-line-connectdropdown"}),e.map(c=>c.statusLabel?u.jsxs("div",{children:[u.jsxs("span",{children:[u.jsx("span",{children:c.email}),u.jsx("span",{className:"status-label-connect-button",children:c.statusLabel})]}),u.jsx(On,{text:"Connect",sizeVariant:"xs",onClick:()=>{t(c.email),i(d=>!d)}})]}):u.jsx(u.Fragment,{}))]})})]})};const v$=({iconUrl:e="",iconAltText:t="",position:n="",company:r="",from:a="",to:i="",universalName:o="",urn:l="",onExperienceCompanyClick:c,industries:d=[],expIndustries:f=[],expSkills:h=[],expNumber:m=0,totalExpInCompany:v=0,location:g=""})=>{const[w,x]=s.useState(!1),C="undefined-undefined",M=!!a&&i!==C&&a!==C,A=m===0,F=m===v-1,S=A&&F,N=!A&&!S,I=!F&&!S,K=ot({experienceCard:!0,"experienceCard-Before":N,"experienceCard-After":I&&!A,"experienceCard-FirstExpAfter":I&&A}),$=bE({industries:d,expIndustries:f});return u.jsxs("div",{className:K,children:[u.jsx("span",{children:A&&u.jsx(u.Fragment,{children:w||!e?u.jsx("div",{className:"companyPlaceholder",children:u.jsx(qe,{iconSize:"40",iconType:"company"})}):u.jsx("img",{width:40,height:40,src:e,alt:t,onError:()=>{x(!0)}})})}),u.jsxs("span",{className:"experienceCardDetails",children:[u.jsx("span",{className:"header",children:u.jsxs("p",{children:[u.jsx("span",{children:n}),A&&u.jsxs(u.Fragment,{children:[u.jsx("span",{children:" at "}),u.jsx("span",{onClick:()=>{c(o,l)},className:"company",children:r})]})]})}),M&&u.jsxs("p",{className:"date",children:[lr(a)," - ",lr(i)]}),u.jsx("span",{className:"location",children:g}),($==null?void 0:$.length)!==0&&A&&u.jsxs("span",{className:"expSkillsAndIndustries",children:[u.jsx("h2",{children:"INDUSTRIES"}),u.jsx("span",{children:$.map((te,J)=>u.jsx(Jn,{content:te.source,toolTipPosition:"bottom",children:u.jsx(aa,{highlightPill:!0,text:te.industry},J)}))})]}),(h==null?void 0:h.length)!==0&&u.jsxs("span",{className:"expSkillsAndIndustries",children:[u.jsx("h2",{children:"Keywords/Skills"}),u.jsx("span",{children:h==null?void 0:h.map((te,J)=>u.jsx(aa,{highlightPill:!0,text:te},J))})]})]})]})},g$=({experiences:e,initialItemsToShow:t,onCompanyClick:n,expIndustries:r=[],expSkills:a=[]})=>{const[i,o]=s.useState(t),[l,c]=s.useState(`${e.length>t?e.length-t:e.length} More`);return u.jsx(u.Fragment,{children:u.jsxs("ul",{className:"experience--ul--container",children:[e==null?void 0:e.slice(0,i).map((d,f)=>u.jsx("li",{className:"experience-li",children:d.map((h,m)=>u.jsx(v$,{expNumber:m,totalExpInCompany:d.length,iconUrl:h.iconUrl,iconAltText:h.iconAltText,position:h.position,company:h.company,from:h.from,to:h.to,separator:h.separator,universalName:h.universalName,urn:h.urn,onExperienceCompanyClick:n,industries:h.industries,expIndustries:r[f],expSkills:a[f],location:h.location}))},f)),u.jsx("li",{className:"experience-more-button-li",children:e.length>t&&e.length-t>=0&&u.jsx(On,{colorVariant:"gray",sizeVariant:"sm",text:l,onClick:()=>{e.length===i?c(`${e.length-t} More`):c("View less"),o(e.length===i?t:e.length)}})})]})})};const y$=({count:e,profile:t,checked:n,onCheckClick:r,onExperienceCompanyClick:a,onDetailsClick:i,expIndustries:o=[],expSkills:l=[],filteredEducation:c=[]})=>{var h,m,v,g,w,x;const d=t.experience?(h=t.experience)==null?void 0:h.map(C=>{var M;return(M=C==null?void 0:C.experienceDetails)==null?void 0:M.map((A,F)=>{var N;const S=(N=C.experienceDetails.at(F&&F-1))==null?void 0:N.location;return{showCompany:F===0,iconUrl:C.companyLogo??"",iconAltText:A.companyName,position:A.title||"Full stack engineer",company:A.companyName,from:A.start,to:A.end?A.end:"Now",separator:"-",universalName:(A==null?void 0:A.universalName)||"",urn:(A==null?void 0:A.urn)||"",industries:A==null?void 0:A.industries,location:F===0||A.location!==S?A==null?void 0:A.location:""}})}):[],f=C=>(C==null?void 0:C.filter(A=>!!A.degreeName||!!A.schoolName)).map(A=>({iconAltText:"",institue:A!=null&&A.schoolName?A.schoolName:"",degree:A!=null&&A.degreeName?A.degreeName:"",from:A.start,to:A.end}));return u.jsxs("div",{className:"peopleCardContainer",children:[u.jsx("div",{className:"header",children:u.jsxs("div",{children:[u.jsx("span",{children:e}),u.jsx(n2,{checked:n,onClick:()=>r(t._id)})]})}),u.jsxs("div",{className:"peopleCard",children:[u.jsx("div",{className:"peopleCardLeft",children:u.jsxs("div",{children:[u.jsx(Gn,{iconPath:t.imageUrl,iconSize:"120",altImageType:"profile"},`${t==null?void 0:t.publicIdentifier}-${t==null?void 0:t.updatedAtEs}`),u.jsxs("div",{className:"peopleCardNameSection",children:[u.jsx("p",{className:"titleSection",children:t.fullName}),u.jsx(O5,{count:t==null?void 0:t.assignmentCount,toolTipContent:`Added to ${t.assignmentCount} assignments`,iconType:"briefcase",iconSize:"16"})]}),u.jsx("div",{className:"title",children:u.jsxs("p",{children:[u.jsx("span",{className:"titleText",children:t.title}),!!((v=(m=t==null?void 0:t.experience)==null?void 0:m[0])!=null&&v.experienceDetails[0].companyName)&&u.jsx("span",{children:" at "}),u.jsx("span",{onClick:()=>{var C,M,A,F,S,N;a(((A=(M=(C=t==null?void 0:t.experience)==null?void 0:C[0])==null?void 0:M.experienceDetails[0])==null?void 0:A.universalName)||"",((N=(S=(F=t==null?void 0:t.experience)==null?void 0:F[0])==null?void 0:S.experienceDetails[0])==null?void 0:N.urn)||"")},className:"company",children:(w=(g=t==null?void 0:t.experience)==null?void 0:g[0])==null?void 0:w.experienceDetails[0].companyName})]})}),u.jsx("p",{className:"location",children:t.locality}),u.jsx(ao,{onClick:()=>i(t._id),sizeVariant:"sm",colorVariant:"orange",children:"View full profile"})]})}),u.jsxs("div",{className:"peopleCardRight",children:[((x=t.experience)==null?void 0:x.length)!==0&&u.jsxs("div",{className:"experienceWrapper",children:[u.jsx("p",{children:"Experience"}),u.jsx(g$,{experiences:d,initialItemsToShow:3,onCompanyClick:a,expIndustries:o,expSkills:l})]}),(c==null?void 0:c.length)!==0&&u.jsxs("div",{className:"educationContainer",children:[u.jsx("p",{children:"Education"}),u.jsx(lv,{educations:f(c),initialItemsToShow:3})]})]})]})]})};const w$=({text:e,onCrossClick:t=()=>!1,onReplaceClick:n=()=>!1,picturePath:r="",props:a={}})=>u.jsx("button",{className:"companyPill",type:"button",...a,children:u.jsxs("div",{children:[r?u.jsx(Gn,{iconSize:"20",iconPath:r}):u.jsx(qe,{iconType:"excalamationCircle",iconSize:"20"}),u.jsx("p",{children:e}),u.jsx(On,{text:"Replace",onClick:n}),u.jsx("span",{onClick:t,children:u.jsx(qe,{iconSize:"20",iconType:"cross"})})]})});function z2(){return z2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z2.apply(this,arguments)}function x$(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,O9(e,t)}function O9(e,t){return O9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},O9(e,t)}function P9(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function b$(e){return kt.getDefaultKeyBinding(e)}function E$(e,t,n,r){var a=r.setEditorState,i;switch(e){case"backspace":case"backspace-word":case"backspace-to-start-of-line":i=kt.RichUtils.onBackspace(t);break;case"delete":case"delete-word":case"delete-to-end-of-block":i=kt.RichUtils.onDelete(t);break;default:return"not-handled"}return i!=null?(a(i),"handled"):"not-handled"}var A$=["props"],C$=["props"];function S$(e){return e.startsWith("handle")}function M$(e){return e.startsWith("on")}function F$(e){return e.endsWith("Fn")}function k$(e,t){return function(n){var r={props:{}};return e.forEach(function(a){if(typeof a.blockRendererFn=="function"){var i=a.blockRendererFn(n,t);if(i!=null){var o=i.props,l=P9(i,A$),c=r,d=c.props,f=P9(c,C$);r=z2({},f,l,{props:z2({},d,o)})}}}),r.component?r:!1}}function z$(e,t){return function(n){var r=[];return e.forEach(function(a){if(typeof a.blockStyleFn=="function"){var i=a.blockStyleFn(n,t);i!=null&&r.push(i)}}),r.join(" ")}}function L$(e,t){return function(n,r){var a,i=e.some(function(o){return typeof o.customStyleFn!="function"?!1:(a=o.customStyleFn(n,r,t),a!==void 0)});return i&&a?a:{}}}function j$(e,t){return function(n){var r=null,a=e.some(function(i){return typeof i.keyBindingFn!="function"?!1:(r=i.keyBindingFn(n,t),r!==void 0)});return a?r:null}}function R$(e,t,n){return function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return t.some(function(o){var l=o[e];return typeof l=="function"&&l.apply(void 0,a.concat([n]))==="handled"})?"handled":"not-handled"}}function D$(e,t,n){return function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return t.some(function(o){var l=o[e];return typeof l=="function"&&l.apply(void 0,a.concat([n]))===!0})}}function T$(e,t){var n={},r=new Set(["onChange"]);return e.forEach(function(a){Object.keys(a).forEach(function(i){r.has(i)||(r.add(i),M$(i)?n[i]=D$(i,e,t):S$(i)?n[i]=R$(i,e,t):F$(i)&&(i==="blockRendererFn"?n.blockRendererFn=k$(e,t):i==="blockStyleFn"?n.blockStyleFn=z$(e,t):i==="customStyleFn"?n.customStyleFn=L$(e,t):i==="keyBindingFn"&&(n.keyBindingFn=j$(e,t))))})}),n}function B$(e,t,n){var r=x1.List(e).map(function(a){var i=a.component,o=function(c){return s.createElement(i,z2({},c,{getEditorState:t,setEditorState:n}))};return z2({},a,{component:o})}).toJS();return new kt.CompositeDecorator(r)}var Zo="-",N$=function(){function e(n){this.decorators=v7.List(n)}var t=e.prototype;return t.getDecorations=function(r,a){var i=new Array(r.getText().length).fill(null);return this.decorators.forEach(function(o,l){var c=o.getDecorations(r,a);c.forEach(function(d,f){d&&(i[f]=l+Zo+d)})}),v7.List(i)},t.getComponentForKey=function(r){var a=this.getDecoratorForKey(r);return a.getComponentForKey(e.getInnerKey(r))},t.getPropsForKey=function(r){var a=this.getDecoratorForKey(r);return a.getPropsForKey(e.getInnerKey(r))},t.getDecoratorForKey=function(r){var a=r.split(Zo),i=Number(a[0]);return this.decorators.get(i)},e.getInnerKey=function(r){var a=r.split(Zo);return a.slice(1).join(Zo)},e}(),kh=function(t){return typeof t.getDecorations=="function"&&typeof t.getComponentForKey=="function"&&typeof t.getPropsForKey=="function"},O$=function(t){var n=t.decorators,r=t.plugins,a=r===void 0?[]:r;return x1.List([{decorators:n}].concat(a)).filter(function(i){return(i==null?void 0:i.decorators)!==void 0}).flatMap(function(i){return i==null?void 0:i.decorators})};function P$(e,t,n){var r=O$(e),a=B$(r.filter(function(o){return!kh(o)}),t,n),i=r.filter(function(o){return kh(o)});return new N$(i.push(a))}var I$=["keyBindingFn"],zh=function(t){if((t==null?void 0:t.decorators)!=null){var n;return(n=t.decorators)==null?void 0:n.size}else if((t==null?void 0:t._decorators)!=null){var r;return(r=t._decorators)==null?void 0:r.length}},Cc=function(e){x$(t,e);function t(r){var a;a=e.call(this,r)||this,a.editor=null,a.state={readOnly:!1},a.onChange=function(o){var l=o;a.resolvePlugins().forEach(function(c){c.onChange&&(l=c.onChange(l,a.getPluginMethods()))}),a.props.onChange&&a.props.onChange(l)},a.getPlugins=function(){return[].concat(a.props.plugins)},a.getProps=function(){return z2({},a.props)},a.getReadOnly=function(){return a.props.readOnly||a.state.readOnly},a.setReadOnly=function(o){o!==a.state.readOnly&&a.setState({readOnly:o})},a.getEditorRef=function(){return a.editor},a.getEditorState=function(){return a.props.editorState},a.getPluginMethods=function(){return{getPlugins:a.getPlugins,getProps:a.getProps,setEditorState:a.onChange,getEditorState:a.getEditorState,getReadOnly:a.getReadOnly,setReadOnly:a.setReadOnly,getEditorRef:a.getEditorRef}},a.createPluginHooks=function(){var o=[a.props].concat(a.resolvePlugins());return T$(o,a.getPluginMethods())},a.resolvePlugins=function(){var o=a.getPlugins();return a.props.defaultKeyBindings===!0&&o.push({keyBindingFn:b$}),a.props.defaultKeyCommands===!0&&o.push({handleKeyCommand:E$}),o},a.resolveCustomStyleMap=function(){var o=a.props.plugins.filter(function(l){return l.customStyleMap!==void 0}).map(function(l){return l.customStyleMap});return o.concat([a.props.customStyleMap]).reduce(function(l,c){return z2({},l,c)},{})},a.resolveblockRenderMap=function(){var o=a.props.plugins.filter(function(l){return l.blockRenderMap!==void 0}).reduce(function(l,c){return l.merge(c.blockRenderMap)},x1.Map({}));return a.props.defaultBlockRenderMap&&(o=kt.DefaultDraftBlockRenderMap.merge(o)),a.props.blockRenderMap&&(o=o.merge(a.props.blockRenderMap)),o},a.resolveAccessibilityProps=function(){var o={};return a.resolvePlugins().forEach(function(l){if(typeof l.getAccessibilityProps=="function"){var c=l.getAccessibilityProps(),d={};o.ariaHasPopup===void 0?d.ariaHasPopup=c.ariaHasPopup:c.ariaHasPopup==="true"&&(d.ariaHasPopup="true"),o.ariaExpanded===void 0?d.ariaExpanded=c.ariaExpanded:c.ariaExpanded===!0&&(d.ariaExpanded=!0),o=z2({},o,c,d)}}),o};var i=[a.props].concat(a.resolvePlugins());return i.forEach(function(o){o&&typeof o.initialize=="function"&&o.initialize(a.getPluginMethods())}),a}var n=t.prototype;return n.focus=function(){this.editor&&this.editor.focus()},n.blur=function(){this.editor&&this.editor.blur()},n.componentDidMount=function(){var a=P$(this.props,this.getEditorState,this.onChange),i=kt.EditorState.set(this.props.editorState,{decorator:a});this.onChange(kt.EditorState.moveSelectionToEnd(i))},n.componentDidUpdate=function(a){var i=this.props,o=a.editorState.getDecorator(),l=i.editorState.getDecorator();if(o&&o!==l&&!(o&&l&&zh(o)===zh(l))){var c=kt.EditorState.set(i.editorState,{decorator:o});this.onChange(kt.EditorState.moveSelectionToEnd(c))}},n.componentWillUnmount=function(){var a=this;this.resolvePlugins().forEach(function(i){i.willUnmount&&i.willUnmount({getEditorState:a.getEditorState,setEditorState:a.onChange})})},n.render=function(){var a=this,i=this.createPluginHooks(),o=this.resolveCustomStyleMap(),l=this.resolveAccessibilityProps(),c=this.resolveblockRenderMap(),d=this.props;d.keyBindingFn;var f=P9(d,I$);return s.createElement(kt.Editor,z2({},f,l,i,{readOnly:this.props.readOnly||this.state.readOnly,customStyleMap:o,blockRenderMap:c,onChange:this.onChange,editorState:this.props.editorState,ref:function(m){a.editor=m}}))},t}(s.Component);Cc.propTypes={editorState:o1.object.isRequired,onChange:o1.func.isRequired,plugins:o1.array,defaultKeyBindings:o1.bool,defaultKeyCommands:o1.bool,defaultBlockRenderMap:o1.bool,customStyleMap:o1.object,decorators:o1.array};Cc.defaultProps={defaultBlockRenderMap:!0,defaultKeyBindings:!0,defaultKeyCommands:!0,customStyleMap:{},plugins:[],decorators:[]};var V$=Cc;const H$=({editorState:e,updateEditorState:t})=>{const n=["12","14","16","18","20","24","32"],[r,a]=s.useState(0),[i,o]=s.useState(n[r]),l=f=>{const h=e.getSelection();let v=e.getCurrentContent();n.forEach(g=>{v=kt.Modifier.removeInlineStyle(v,h,`FONTSIZE_${g}`)}),v=kt.Modifier.applyInlineStyle(v,h,`FONTSIZE_${f}`),t(kt.EditorState.push(e,v,"change-inline-style"))},c=()=>{a(f=>f>0?f-1:f)},d=()=>{a(f=>f<6?f+1:f)};return s.useEffect(()=>{o(n[r]),l(n[r])},[r]),u.jsx("div",{className:"font-size-control",children:u.jsxs("span",{className:"fontSizeSpan",children:[u.jsx("span",{className:"divider",children:"|"}),u.jsx("span",{className:"btnSpan",onClick:c,children:"-"}),u.jsx("input",{className:"fontSizeInput",type:"text",value:i,disabled:!0}),u.jsx("span",{className:"btnSpan",onClick:d,children:"+"}),u.jsx("span",{className:"divider",children:"|"})]})})};const W$=({editorState:e,updateEditorState:t})=>{const n=[{label:"TITLE",style:"TITLE",icon:u.jsx(Yn,{icon:u$,size:"sm"})},{label:"BOLD",style:"BOLD",icon:u.jsx(Yn,{icon:c$,size:"sm"})},{label:"ITALIC",style:"ITALIC",icon:u.jsx(Yn,{icon:nx,size:"sm"})},{label:"Underline",style:"UNDERLINE",icon:u.jsx(Yn,{icon:tx,size:"sm"})}],r=[{label:"list",style:"unordered-list-item",icon:u.jsx(Yn,{icon:rx,size:"sm"})}],a=(c,d)=>{c.preventDefault(),t(kt.RichUtils.toggleInlineStyle(e,d))},i=(c,d)=>{c.preventDefault(),t(kt.RichUtils.toggleBlockType(e,d))},o=c=>e.getCurrentInlineStyle().has(c),l=c=>{const d=kt.RichUtils.getCurrentBlockType(e);return c===d};return u.jsxs("div",{className:"renderInlineEditorContainer",children:[n.map((c,d)=>u.jsx("div",{className:`renderInlineEditortoolBarItem${o(c.style)?" renderInlineEditortoolBarItemIsActive":""}`,onMouseDown:f=>{f.preventDefault(),a(f,c.style)},children:c.icon||c.label},`${c.label}-${d}`)),r.map((c,d)=>u.jsx("div",{className:`renderInlineEditortoolBarItem ${l(c.style)?"renderInlineEditortoolBarItemIsActive":""}`,onMouseDown:f=>{f.preventDefault(),i(f,c.style)},children:c.icon||c.label},`${c.label}-${d}`))]})};const K$=({editorState:e,updateEditorState:t,pasteHandler:n,value:r,contributors:a,isLoading:i=!1})=>u.jsxs("div",{className:"textEditortToolBarContainer",children:[u.jsx(W$,{editorState:e,updateEditorState:t,pasteHandler:n,value:r}),u.jsx("span",{children:u.jsx(H$,{updateEditorState:t,editorState:e})}),u.jsxs("div",{children:[i&&u.jsx(hn,{width:"16",height:"16"}),a&&!i&&u.jsxs(u.Fragment,{children:[u.jsx("p",{children:"Contributors: "}),(()=>(a==null?void 0:a.length)>3?u.jsxs("span",{className:"initialsContainer",children:[u.jsx("div",{children:u.jsx(u.Fragment,{children:o=>u.jsx("p",{className:"initials",children:v8(o)})})}),u.jsxs("p",{children:["+ ",(a==null?void 0:a.length)-1," More"]})]}):(a==null?void 0:a.length)===0||!a?u.jsx("p",{children:"No contributors yet"}):a==null?void 0:a.map(o=>u.jsx("p",{className:"initials",children:v8(o)})))()]})]})]});const U$=({value:e="",handleChange:t=()=>!1,contributors:n,isDisabled:r=!1,isLoading:a=!1,notesLoading:i=!1})=>{const[o,l]=s.useState(()=>kt.EditorState.createEmpty()),c=(m,v)=>{const g=kt.RichUtils.handleKeyCommand(v,m);return g?(h(g),"handled"):"not-handled"},d=m=>{const v=m.getType();return v==="BOLD"?"custom-bold":v==="ITALIC"?"custom-italic":v==="UNDERLINE"?"custom-underline":""},f={TITLE:{fontSize:"18px",fontWeight:"bold"},FONTSIZE_16:{fontSize:"16px"},FONTSIZE_18:{fontSize:"18px"}};s.useEffect(()=>{const m=kt.ContentState.createFromText(e),v=kt.EditorState.createWithContent(m);l(v)},[e]);const h=m=>{i||(l(m),t(m.getCurrentContent().getPlainText()))};return u.jsxs("div",{className:"noteEditorContainer",children:[u.jsx(K$,{editorState:o,updateEditorState:l,value:e,contributors:n,isLoading:a}),u.jsx("div",{children:u.jsx(V$,{readOnly:r,customStyleMap:f,blockStyleFn:d,editorState:o,onChange:h,handleKeyCommand:c})})]})};const G$=({onNameClick:e=r=>{console.log("Showing the publicIdentifier :: ",r)},onCompanyClick:t=r=>{console.log("Showing the publicIdentifier :: ",r)},profiles:n})=>{const r=n,a=s.useMemo(()=>[{Header:"NAME",accessor:"fullName"},{Header:"TITLE",accessor:"title"},{Header:"COMPANY",accessor:"companyName"},{Header:"LOCATION",accessor:"locationName"}],[]),{getTableProps:i,getTableBodyProps:o,headerGroups:l,rows:c,prepareRow:d}=Cr.useTable({columns:a,data:r});return u.jsx("div",{className:"lookAlikeProfilesWrapper",children:u.jsxs("table",{className:"lookAlikeProfiles",...i(),children:[u.jsx("thead",{children:l.map(f=>u.jsx("tr",{...f.getHeaderGroupProps(),children:f.headers.map(h=>u.jsx("th",{...h.getHeaderProps(),children:h.render("Header")}))}))}),u.jsx("tbody",{...o(),children:c.map(f=>(d(f),s.createElement("tr",{...f.getRowProps(),key:`${f.original.publicIdentifier}${f.original.isSelected}`},f.cells.map(h=>{var m,v,g,w,x;return h.column.Header==="NAME"?u.jsx("td",{...h.getCellProps(),children:u.jsxs("span",{className:"lookAlikeProfiles--NameCell",children:[u.jsx(I2,{iconPath:(v=(m=h==null?void 0:h.row)==null?void 0:m.original)==null?void 0:v.imageUrl,iconSize:"40",borderRadius:"6"}),u.jsx(j2,{text:h.row.original.fullName||`${h.row.original.firstName} ${h.row.original.lastName}`.trim(),onClick:()=>e(h.row.original.esId)})]})}):h.column.Header==="TITLE"?u.jsx("td",{...h.getCellProps(),children:((g=h.row.original.experiences.at(0))==null?void 0:g.title)||""}):h.column.Header==="COMPANY"?u.jsx("td",{...h.getCellProps(),className:"lookAlikeProfiles--CompanyCell ",children:u.jsx(j2,{text:((w=h.row.original.experiences.at(0))==null?void 0:w.company.name)||"",onClick:()=>{var C;return t(((C=h.row.original.experiences.at(0))==null?void 0:C.company.universalName)||"")}})}):h.column.Header==="LOCATION"?u.jsx("td",{...h.getCellProps(),children:((x=h.row.original.locations)==null?void 0:x.locality)||""}):u.jsx("td",{...h.getCellProps(),children:h.render("Cell")})}))))})]})})};const Y$=({onNameClick:e,competitors:t})=>{const n=r=>{var a;return`${r.companyLocation&&Bs(r.companyLocation)}${r.companyLocation&&r.employeeCount?" • ":""}${r.employeeCount?((a=r.employeeCount)==null?void 0:a.toLocaleString("en-US"))+" Employees":""}`};return u.jsx("div",{className:"competitorsTabWrapper",children:t.map(r=>u.jsxs("button",{onClick:()=>e(r==null?void 0:r.universalName),className:"competitorsTab",children:[u.jsx("div",{className:"companyIcon",children:u.jsx(Gn,{altImageType:"company",iconPath:r.imageUrl,iconSize:"48"})}),u.jsxs("div",{className:"companyDetails",children:[u.jsx("h3",{children:Bs(r.companyTitle)}),n(r)?u.jsx("p",{className:"companyLocation",children:n(r)}):null]})]}))})};const q$=({onNameClick:e,products:t})=>u.jsx("div",{className:"productsTabWrapper",children:t.map(n=>u.jsxs("div",{className:"productsTab",children:[u.jsx("div",{className:"productsIcon",children:u.jsx(I2,{altImageType:"products",iconPath:n.imageUrl,iconSize:"48",placeholderPadding:8})}),u.jsxs("div",{className:"productsDetails",children:[u.jsx("button",{onClick:()=>e(n.productUrl),children:n.productType}),u.jsx("span",{className:"productsLocation",children:n.productDetails})]})]}))});const Z$=({files:e})=>u.jsx("div",{className:"reportsWrapper",children:e.map(t=>u.jsxs("div",{className:"reportsContent",children:[u.jsx("div",{className:"reportsIcon",children:u.jsx(iv,{width:"48",height:"48"})}),u.jsxs("div",{className:"reportsName",children:[u.jsx("span",{children:(t==null?void 0:t.fileName)||"Report"}),u.jsx("a",{href:t==null?void 0:t.downloadUrl,target:"_blank",children:u.jsx(qe,{iconType:"download",iconSize:"20"})})]})]}))}),_l=({title:e,company:t,isPreviousTitle:n=!1,showTitleReference:r=!0})=>{const a=e+(t&&` at ${t}`);return u.jsxs("div",{className:"companyPeopleTab-CurrentPreviousTitle",children:[r&&u.jsxs("b",{children:[n?"Then":"Now",": "]}),u.jsx(Fn,{children:a})]})};const J$=({onNameClick:e,type:t,profiles:n})=>u.jsx("div",{className:"companyPeopleTab-Container",children:n.map(r=>u.jsxs("button",{onClick:()=>e(r),type:"button",className:"companyPeopleTab--Generic",children:[u.jsx(Gn,{altImageType:"profile",iconPath:r.profileImg,iconSize:"48"}),u.jsxs("div",{className:"companyPeopleTab-DetailsContainer",children:[u.jsxs("div",{className:"companyPeopleTab-NameAndTitle",children:[u.jsx("span",{className:"companyPeopleTab-Name",children:u.jsx(Fn,{children:r.personName})}),u.jsx("span",{className:"companyPeopleTab-Title",children:t==="previous"?u.jsxs(u.Fragment,{children:[r.pastTitle&&u.jsx(_l,{company:r.pastCompany,title:r.pastTitle,isPreviousTitle:!0}),r.currentTitle&&u.jsx(_l,{company:r.currentCompany,title:r.currentTitle})]}):r.currentTitle&&u.jsx(_l,{company:r.currentCompany,title:r.currentTitle,showTitleReference:!1})})]}),t==="previous"&&r.startOfTenure&&r.endOfTenure&&u.jsx("div",{className:"companyPeopleTab-DateContainer",children:`${lr(r.startOfTenure)} - ${lr(r.endOfTenure)}`})]})]},r.esId))});/*!
1226
1226
  * @kurkle/color v0.3.2
1227
1227
  * https://github.com/kurkle/color#readme
1228
1228
  * (c) 2023 Jukka Kurkela
@@ -43306,7 +43306,7 @@ const X0e = ({
43306
43306
  key: `${f.original.publicIdentifier}${f.original.isSelected}`
43307
43307
  },
43308
43308
  f.cells.map((h) => {
43309
- var m, v, g, w;
43309
+ var m, v, g, w, x;
43310
43310
  return h.column.Header === "NAME" ? /* @__PURE__ */ u.jsx("td", { ...h.getCellProps(), children: /* @__PURE__ */ u.jsxs("span", { className: "lookAlikeProfiles--NameCell", children: [
43311
43311
  /* @__PURE__ */ u.jsx(
43312
43312
  ya,
@@ -43320,10 +43320,10 @@ const X0e = ({
43320
43320
  oa,
43321
43321
  {
43322
43322
  text: h.row.original.fullName || `${h.row.original.firstName} ${h.row.original.lastName}`.trim(),
43323
- onClick: () => e(h.row.original._id)
43323
+ onClick: () => e(h.row.original.esId)
43324
43324
  }
43325
43325
  )
43326
- ] }) }) : h.column.Header === "TITLE" ? /* @__PURE__ */ u.jsx("td", { ...h.getCellProps(), children: ((g = h.row.original.experience) == null ? void 0 : g[0].title) || "" }) : h.column.Header === "COMPANY" ? /* @__PURE__ */ u.jsx(
43326
+ ] }) }) : h.column.Header === "TITLE" ? /* @__PURE__ */ u.jsx("td", { ...h.getCellProps(), children: ((g = h.row.original.experiences.at(0)) == null ? void 0 : g.title) || "" }) : h.column.Header === "COMPANY" ? /* @__PURE__ */ u.jsx(
43327
43327
  "td",
43328
43328
  {
43329
43329
  ...h.getCellProps(),
@@ -43331,17 +43331,17 @@ const X0e = ({
43331
43331
  children: /* @__PURE__ */ u.jsx(
43332
43332
  oa,
43333
43333
  {
43334
- text: ((w = h.row.original.experience) == null ? void 0 : w[0].company_name) || "",
43334
+ text: ((w = h.row.original.experiences.at(0)) == null ? void 0 : w.company.name) || "",
43335
43335
  onClick: () => {
43336
- var x;
43336
+ var S;
43337
43337
  return t(
43338
- ((x = h.row.original.experience) == null ? void 0 : x[0].universalName) || ""
43338
+ ((S = h.row.original.experiences.at(0)) == null ? void 0 : S.company.universalName) || ""
43339
43339
  );
43340
43340
  }
43341
43341
  }
43342
43342
  )
43343
43343
  }
43344
- ) : /* @__PURE__ */ u.jsx("td", { ...h.getCellProps(), children: h.render("Cell") });
43344
+ ) : h.column.Header === "LOCATION" ? /* @__PURE__ */ u.jsx("td", { ...h.getCellProps(), children: ((x = h.row.original.locations) == null ? void 0 : x.locality) || "" }) : /* @__PURE__ */ u.jsx("td", { ...h.getCellProps(), children: h.render("Cell") });
43345
43345
  })
43346
43346
  ))) })
43347
43347
  ] }) });
@@ -1,63 +1,111 @@
1
1
  import { PersonExperiencePayloadTypes } from "../../types";
2
- export interface Profile {
3
- _id: string;
4
- experience?: Experience[];
5
- education?: Education[];
6
- publications: any[];
7
- skills: string[];
8
- alsoViewed?: any[];
9
- languages: string[];
2
+ export interface Contributor {
3
+ id: number;
4
+ tribe_member_id: number;
5
+ profile_id: number;
6
+ collaborator_name: string;
7
+ tribe_id: number;
8
+ user_id: number;
9
+ }
10
+ type ProfileExperienceCompany = {
11
+ id: number;
12
+ imageUrl?: string;
13
+ description: string | null;
14
+ pageUrl: string | null;
15
+ size: number | null;
16
+ specialities: string[] | null;
17
+ website: string | null;
18
+ name: string | null;
19
+ urn: string | null;
20
+ urnId: string | null;
21
+ headquarter: string | null;
22
+ industry: string | null;
23
+ universalName: string | null;
24
+ };
25
+ export type ProfileExperience = {
26
+ id: number;
27
+ company: ProfileExperienceCompany;
28
+ description: string | null;
29
+ duration: string | null;
30
+ start: string | null;
31
+ end: string | null;
32
+ expDays: number | null;
33
+ index: number | null;
34
+ rank: number | null;
35
+ title: string | null;
36
+ location: string | null;
37
+ profileId: number;
38
+ };
39
+ export type ProfileEducation = {
40
+ id: number;
41
+ degreeName: string | null;
42
+ fieldOfStudy: string | null;
43
+ index: number | null;
44
+ schoolName: string | null;
45
+ start: string | null;
46
+ end: string | null;
47
+ profileId: number;
48
+ };
49
+ export type ProfileDemographic = {
50
+ id: number;
51
+ age: number | null;
52
+ gender: string | null;
53
+ race: string | null;
54
+ };
55
+ export type ProfileLocation = {
56
+ id: number;
57
+ continent: string | null;
58
+ countryName: string | null;
59
+ locality: string | null;
60
+ metroArea: string | null;
61
+ region: string | null;
62
+ };
63
+ export type ProfileContact = {
64
+ esId: string;
10
65
  publicIdentifier: string | null;
11
- industryCode: number;
12
- imageUrl: string;
13
- scrapeType: string;
14
- trackingId: string;
15
- locationName: string;
16
- postalCode: string;
17
- versionTag: number;
18
- schoolName: string;
19
- fieldOfStudy: string;
20
- title: string;
21
- companyName: string;
22
- firstName: string;
23
- lastName: string;
66
+ workEmail: string | null;
67
+ twitterUrl: string | null;
68
+ facebookUrl: string | null;
69
+ githubUrl: string | null;
70
+ emailVerified: boolean | null;
71
+ orgId: string | null;
72
+ id: number;
73
+ personalEmails: string[];
74
+ phoneNumbers: string[];
75
+ };
76
+ export type Profile = {
77
+ id: number;
78
+ esId: string;
79
+ imageUrl?: string;
80
+ firstName: string | null;
81
+ lastName: string | null;
24
82
  fullName: string;
25
- entityUrn: string;
26
- headline: string;
27
- summary: string;
28
- industry: string;
29
- locality: string;
30
- countryCode: string;
31
- currentCompanyWebsite: string;
32
- companyLinkedinUrl: string;
33
- currentCompanySpecialties: string;
34
- currentCompanySize: number;
35
- currentCompanyName: string;
36
- currentCompanyIndustry: string;
37
- profileUrl: string;
38
- prospectType?: string;
39
- recruiterLink?: string;
40
- collectedBy?: string;
41
- primaryEmail: string;
42
- age?: string;
43
- gender?: string;
44
- race?: string;
45
- createdAt?: Date;
46
- updatedAt?: Date | string;
47
- updatedAtEs?: string;
48
- isAssigned?: boolean;
49
- business: string[];
50
- companySize: string;
51
- locationId: string;
52
- phone_number: string;
53
- rank?: number;
54
- work_email?: string;
55
- feedbackState?: string;
56
- bucket?: string;
57
- score?: number;
58
- isSelected?: boolean;
59
- location_full_path?: string;
60
- }
83
+ entityUrn: string | null;
84
+ urnId: string | null;
85
+ publicIdentifier: string | null;
86
+ headline: string | null;
87
+ summary: string | null;
88
+ age: number | null;
89
+ skills: string[] | null;
90
+ totalExperience: number | null;
91
+ followerCount: number | null;
92
+ connectionCount: number | null;
93
+ assignmentCount: number | null;
94
+ locationId: number;
95
+ contactId: number | null;
96
+ demographicsId: number;
97
+ createdAt: Date;
98
+ updatedAt: Date;
99
+ experiences: ProfileExperience[];
100
+ educations: ProfileEducation[];
101
+ demographics: ProfileDemographic | null;
102
+ locations: ProfileLocation | null;
103
+ contacts: ProfileContact | null;
104
+ notes?: {
105
+ content: string;
106
+ contributors: Contributor[];
107
+ };
108
+ };
61
109
  export interface CardProfile {
62
110
  _id: string;
63
111
  experience?: PersonExperiencePayloadTypes[];
@@ -148,3 +196,4 @@ export interface Experience {
148
196
  export declare enum CompanyType {
149
197
  PrivatelyHeld = "Privately Held"
150
198
  }
199
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { IconSize } from "../../types";
2
2
  interface RectangularIconProps {
3
- iconPath: string;
3
+ iconPath: string | undefined;
4
4
  iconSize?: IconSize;
5
5
  borderRadius?: IconSize;
6
6
  padding?: number;
@@ -30,14 +30,18 @@ profiles, }) => {
30
30
  return (_createElement("tr", { ...row.getRowProps(), key: `${row.original.publicIdentifier}${row.original.isSelected}` }, row.cells.map((cell) => {
31
31
  if (cell.column.Header === "NAME") {
32
32
  return (_jsx("td", { ...cell.getCellProps(), children: _jsxs("span", { className: "lookAlikeProfiles--NameCell", children: [_jsx(RectangularIcon, { iconPath: cell?.row?.original?.imageUrl, iconSize: "40", borderRadius: "6" }), _jsx(PersonCompanyNameClickable, { text: cell.row.original.fullName ||
33
- `${cell.row.original.firstName} ${cell.row.original.lastName}`.trim(), onClick: () => onNameClick(cell.row.original._id) })] }) }));
33
+ `${cell.row.original.firstName} ${cell.row.original.lastName}`.trim(), onClick: () => onNameClick(cell.row.original.esId) })] }) }));
34
34
  }
35
35
  else if (cell.column.Header === "TITLE") {
36
- return (_jsx("td", { ...cell.getCellProps(), children: cell.row.original.experience?.[0].title || "" }));
36
+ return (_jsx("td", { ...cell.getCellProps(), children: cell.row.original.experiences.at(0)?.title || "" }));
37
37
  }
38
38
  else if (cell.column.Header === "COMPANY") {
39
- return (_jsx("td", { ...cell.getCellProps(), className: "lookAlikeProfiles--CompanyCell ", children: _jsx(PersonCompanyNameClickable, { text: cell.row.original.experience?.[0].company_name || "", onClick: () => onCompanyClick(cell.row.original.experience?.[0].universalName ||
40
- "") }) }));
39
+ return (_jsx("td", { ...cell.getCellProps(), className: "lookAlikeProfiles--CompanyCell ", children: _jsx(PersonCompanyNameClickable, { text: cell.row.original.experiences.at(0)?.company.name ||
40
+ "", onClick: () => onCompanyClick(cell.row.original.experiences.at(0)?.company
41
+ .universalName || "") }) }));
42
+ }
43
+ else if (cell.column.Header === "LOCATION") {
44
+ return (_jsx("td", { ...cell.getCellProps(), children: cell.row.original.locations?.locality || "" }));
41
45
  }
42
46
  else {
43
47
  return (_jsx("td", { ...cell.getCellProps(), children: cell.render("Cell") }));
@@ -1,63 +1,111 @@
1
1
  import { PersonExperiencePayloadTypes } from "../../types";
2
- export interface Profile {
3
- _id: string;
4
- experience?: Experience[];
5
- education?: Education[];
6
- publications: any[];
7
- skills: string[];
8
- alsoViewed?: any[];
9
- languages: string[];
2
+ export interface Contributor {
3
+ id: number;
4
+ tribe_member_id: number;
5
+ profile_id: number;
6
+ collaborator_name: string;
7
+ tribe_id: number;
8
+ user_id: number;
9
+ }
10
+ type ProfileExperienceCompany = {
11
+ id: number;
12
+ imageUrl?: string;
13
+ description: string | null;
14
+ pageUrl: string | null;
15
+ size: number | null;
16
+ specialities: string[] | null;
17
+ website: string | null;
18
+ name: string | null;
19
+ urn: string | null;
20
+ urnId: string | null;
21
+ headquarter: string | null;
22
+ industry: string | null;
23
+ universalName: string | null;
24
+ };
25
+ export type ProfileExperience = {
26
+ id: number;
27
+ company: ProfileExperienceCompany;
28
+ description: string | null;
29
+ duration: string | null;
30
+ start: string | null;
31
+ end: string | null;
32
+ expDays: number | null;
33
+ index: number | null;
34
+ rank: number | null;
35
+ title: string | null;
36
+ location: string | null;
37
+ profileId: number;
38
+ };
39
+ export type ProfileEducation = {
40
+ id: number;
41
+ degreeName: string | null;
42
+ fieldOfStudy: string | null;
43
+ index: number | null;
44
+ schoolName: string | null;
45
+ start: string | null;
46
+ end: string | null;
47
+ profileId: number;
48
+ };
49
+ export type ProfileDemographic = {
50
+ id: number;
51
+ age: number | null;
52
+ gender: string | null;
53
+ race: string | null;
54
+ };
55
+ export type ProfileLocation = {
56
+ id: number;
57
+ continent: string | null;
58
+ countryName: string | null;
59
+ locality: string | null;
60
+ metroArea: string | null;
61
+ region: string | null;
62
+ };
63
+ export type ProfileContact = {
64
+ esId: string;
10
65
  publicIdentifier: string | null;
11
- industryCode: number;
12
- imageUrl: string;
13
- scrapeType: string;
14
- trackingId: string;
15
- locationName: string;
16
- postalCode: string;
17
- versionTag: number;
18
- schoolName: string;
19
- fieldOfStudy: string;
20
- title: string;
21
- companyName: string;
22
- firstName: string;
23
- lastName: string;
66
+ workEmail: string | null;
67
+ twitterUrl: string | null;
68
+ facebookUrl: string | null;
69
+ githubUrl: string | null;
70
+ emailVerified: boolean | null;
71
+ orgId: string | null;
72
+ id: number;
73
+ personalEmails: string[];
74
+ phoneNumbers: string[];
75
+ };
76
+ export type Profile = {
77
+ id: number;
78
+ esId: string;
79
+ imageUrl?: string;
80
+ firstName: string | null;
81
+ lastName: string | null;
24
82
  fullName: string;
25
- entityUrn: string;
26
- headline: string;
27
- summary: string;
28
- industry: string;
29
- locality: string;
30
- countryCode: string;
31
- currentCompanyWebsite: string;
32
- companyLinkedinUrl: string;
33
- currentCompanySpecialties: string;
34
- currentCompanySize: number;
35
- currentCompanyName: string;
36
- currentCompanyIndustry: string;
37
- profileUrl: string;
38
- prospectType?: string;
39
- recruiterLink?: string;
40
- collectedBy?: string;
41
- primaryEmail: string;
42
- age?: string;
43
- gender?: string;
44
- race?: string;
45
- createdAt?: Date;
46
- updatedAt?: Date | string;
47
- updatedAtEs?: string;
48
- isAssigned?: boolean;
49
- business: string[];
50
- companySize: string;
51
- locationId: string;
52
- phone_number: string;
53
- rank?: number;
54
- work_email?: string;
55
- feedbackState?: string;
56
- bucket?: string;
57
- score?: number;
58
- isSelected?: boolean;
59
- location_full_path?: string;
60
- }
83
+ entityUrn: string | null;
84
+ urnId: string | null;
85
+ publicIdentifier: string | null;
86
+ headline: string | null;
87
+ summary: string | null;
88
+ age: number | null;
89
+ skills: string[] | null;
90
+ totalExperience: number | null;
91
+ followerCount: number | null;
92
+ connectionCount: number | null;
93
+ assignmentCount: number | null;
94
+ locationId: number;
95
+ contactId: number | null;
96
+ demographicsId: number;
97
+ createdAt: Date;
98
+ updatedAt: Date;
99
+ experiences: ProfileExperience[];
100
+ educations: ProfileEducation[];
101
+ demographics: ProfileDemographic | null;
102
+ locations: ProfileLocation | null;
103
+ contacts: ProfileContact | null;
104
+ notes?: {
105
+ content: string;
106
+ contributors: Contributor[];
107
+ };
108
+ };
61
109
  export interface CardProfile {
62
110
  _id: string;
63
111
  experience?: PersonExperiencePayloadTypes[];
@@ -148,3 +196,4 @@ export interface Experience {
148
196
  export declare enum CompanyType {
149
197
  PrivatelyHeld = "Privately Held"
150
198
  }
199
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { IconSize } from "../../types";
2
2
  import "./style.scss";
3
3
  interface RectangularIconProps {
4
- iconPath: string;
4
+ iconPath: string | undefined;
5
5
  iconSize?: IconSize;
6
6
  borderRadius?: IconSize;
7
7
  padding?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qlu-20-ui-library",
3
- "version": "1.3.101",
3
+ "version": "1.3.102",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",