PageSourceSearch

https://app-next.findem.ai/static/js/13029.15e2f527.chunk.js

js findem.ai collected 2026-10-02 05:24:36 UTC 15,227 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d3639ca4-3c07-4a77-8f6a-5a4a19807592",e._sentryDebugIdIdentifier="sentry-dbid-d3639ca4-3c07-4a77-8f6a-5a4a19807592")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"ae4a3599da02284ac1e1e1b754845e9ecb38e6b5"};(self.webpackChunkapp_next=self.webpackChunkapp_next||[]).push([[13029],{13029:(e,n,i)=>{i.r(n),i.d(n,{default:()=>se});var t,a,o,l,r,s,d=i(89379),c=i(53858),p=i.n(c),m=i(37207),h=i(19645),g=i(49985),u=i(62299),f=i(52621),x=i(71817),v=i(35109),y=i(6391),b=i(84219),w=i(85646),C=i(91103),_=i(7318),A=i(57528),R=i(24937),I=i(90468),T=i(40895),j=i(23331),E=i(37705);const N=(0,R.Ay)(I.A).withConfig({componentId:"app-next__sc-12naefb-0"})([".ant-modal-header{padding-bottom:",";}.ant-modal-body{max-height:calc(100vh - 150px);overflow:auto;padding-top:0;}"],e=>{let{theme:{dimensions:n}}=e;return n.spacing[3]}),k=(0,R.Ay)(T.A).withConfig({componentId:"app-next__sc-12naefb-1"})(["margin:0 0 ",";position:sticky;top:0;"],e=>{let{theme:{dimensions:n}}=e;return n.spacing[3]}),L=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-2"})(["transition:opacity .4s;",""],e=>{let{$isDisabled:n}=e;return n&&(0,R.AH)(["opacity:.5;pointer-events:none;"])}),U=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-3"})(["align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;"]),$=R.Ay.h2.withConfig({componentId:"app-next__sc-12naefb-4"})(["font-size:1.6rem;font-weight:500;margin:0;"]),S=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-5"})(["margin-top:",";"],e=>{let{theme:{dimensions:n}}=e;return n.spacing[1]}),F=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-6"})(["display:flex;flex-wrap:wrap;margin:0 -4px;",""],j.$.lg(t||(t=(0,A.A)(["\n    margin: 0 -6px;\n  "])))),O=R.Ay.button.withConfig({componentId:"app-next__sc-12naefb-7"})(["background:none;border:1px solid ",";border-radius:",";margin:4px;padding:12px;position:relative;transition:border .3s;width:calc(50% - 8px);&:hover{border-color:",";box-shadow:0px 2px 7px 0px #00000024;}",""],e=>{let{theme:{colors:n}}=e;return n["grey-300"]},e=>{let{theme:{dimensions:n}}=e;return n["border-radius"].lg},e=>{let{theme:{colors:n}}=e;return n["grey-400"]},e=>{let{theme:n}=e;return(0,R.AH)(["",""],j.$.lg(a||(a=(0,A.A)(["\n      margin: 6px;\n      width: calc(25% - 12px);\n    "]))))}),z=(0,R.Ay)(O).withConfig({componentId:"app-next__sc-12naefb-8"})(["padding:12px 48px;
1height:236px;",""],e=>{let{theme:n}=e;return(0,R.AH)(["",""],j.$.lg(o||(o=(0,A.A)(["\n      margin: 6px;\n      width: calc(50% - 12px);\n    "]))))}),D=(0,R.Ay)(u.A).withConfig({componentId:"app-next__sc-12naefb-9"})(["margin-top:",";"],e=>{let{theme:{dimensions:n}}=e;return n.spacing[1]}),G=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-10"})(["align-items:center;display:flex;flex-direction:column;font-size:1.2rem;font-weight:500;justify-content:center;min-height:100px;padding:2px 0;",""],j.$.sm(l||(l=(0,A.A)(["\n    font-size: 1.4rem;\n  "])))),H=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-11"})(["align-items:center;;background:",";border-radius:50%;display:flex;height:",";justify-content:center;margin-bottom:6px;width:",";.maui-icon{color:",";font-size:1.8rem;}",";"],e=>{let{theme:{colors:n}}=e;return n["grey-200"]},e=>{let{theme:{dimensions:n}}=e;return n.spacing[4]},e=>{let{theme:{dimensions:n}}=e;return n.spacing[4]},e=>{let{theme:{colors:n}}=e;return n["grey-500"]},e=>{let{$isBig:n,theme:i}=e;return n&&(0,R.AH)(["height:",";width:",";.maui-icon{font-size:3.4rem;}"],i.dimensions.spacing[7],i.dimensions.spacing[7])}),W=(R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-12"})(["bottom:",";color:",";font-size:1.2rem;position:absolute;text-align:center;transition:color .3s;width:calc(100% - ",");&:hover{color:",";}"],e=>{let{theme:{dimensions:n}}=e;return n.spacing[1]},e=>{let{theme:{colors:n}}=e;return n["grey-500"]},e=>{let{theme:{dimensions:n}}=e;return n.spacing[3]},e=>{let{theme:{colors:n}}=e;return n["blue-300"]}),R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-13"})(["text-align:center;color:",";font-family:Roboto;font-size:13px;font-style:normal;font-weight:400;line-height:18px"],e=>{let{theme:{colors:n}}=e;return n["grey-500"]})),P=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-14"})(["height:100%;text-align:left;"]),B=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-15"})(["border-radius:",";height:80%;left:50%;overflow:hidden;position:absolute;top:20%;transform:translateX(-50%);width:60%;",""],e=>{let{theme:{dimensions:n}}=e;return"".concat(n["border-radius"].xs," ").concat(n["border-radius"].xs," 0 0")},e=>{let{$hasImage:n}=e;return n&&(0,R.AH)(["background:",";box-shadow:2px 2px 4px 0 ",";height:75%;top:25%;"],e=>{let{theme:{colors:n}}=e;return n.white},e=>{let{theme:{colors:n}}=e;return n["grey-300"]})}),Y=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-16"})(["background:",";border-radius:",";height:0;margin-bottom:",";overflow:hidden;padding-bottom:54%;position:relative;width:100%;img{width:100%;}",""],e=>{let{theme:{colors:n}}=e;return n["grey-200"]},e=>{let{theme:{dimensions:n}}=e;return n["border-radius"].lg},e=>{let{theme:{dimensions:n}}=e;return n.spacing[1]},e=>{let{$empty:n}=e;return n&&(0,R.AH)(["background:",";"],"standard"===n?"#E8F2FE":"#E7EDFE")}),q=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-17"})(["font-weight:500;"]),M=R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-18"})(["color:",";font-size:1.2rem;"],e=>{let{theme:{colors:n}}=e;return n["grey-600"]}),J=(0,R.Ay)(E.A).withConfig({componentId:"app-next__sc-12naefb-19"})(["font-size:1.2rem;padding:0 ",";"],e=>{let{theme:{dimensions:n}}=e;return n.spacing[1]});R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-20"})(["background:",";border-radius:",";display:inline-flex;flex-direction:column;margin-bottom:",";margin-left:-12px;margin-right:-12px;padding:12px ",";width:calc(100% + 24px);",""],e=>{let{theme:{colors:n}}=e;return n["blue-100"]},e=>{let{theme:{dimensions:n}}=e;return n["border-radius"].lg},e=>{let{theme:{dimensions:n}}=e;return n.spacing[2]},e=>{let{theme:{dimensions:n}}=e;return n.spacing[2]},j.$.sm(r||(r=(0,A.A)(["\n    align-items: center;\n    flex-direction: row;\n    margin-left: 0;\n    margin-right: 0;\n    width: 100%;\n  "])))),(0,R.Ay)(u.A).withConfig({componentId:"app-next__sc-12naefb-21"})(["align-items:center;display:flex;justify-content:space-between;padding-right:4px;
1min-width:200px;width:100%;"]),R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-22"})(["margin-bottom:4px;",""],j.$.sm(s||(s=(0,A.A)(["\n    margin-bottom: 0;\n    margin-right: 6px;\n  "])))),R.Ay.div.withConfig({componentId:"app-next__sc-12naefb-23"})(["color:",";",""],e=>{let{theme:{colors:n}}=e;return n.black},e=>{let{$hasValue:n,theme:i}=e;return!n&&(0,R.AH)(["color:",";"],i.colors["grey-500"])});var Z,V=i(11972);const X=R.Ay.div.withConfig({componentId:"app-next__sc-cv35i9-0"})(["display:flex;flex-wrap:wrap;margin-top:6px;width:100%;",""],j.$.lg(Z||(Z=(0,A.A)(["\n    justify-content: flex-end;\n    margin-top: 0;\n    max-width: 100%;\n    width: 620px;\n  "]))));var K=i(30501),Q=i(44414);const ee=[{value:"rich",label:"HTML Rich Template"},{value:"standard",label:"Standard Template"}],ne=[{value:b.pR.NURTURE_ROLLING,label:"Rolling Campaign"},{value:b.pR.NURTURE_NEWSLETTER,label:"Newsletter"}],ie=e=>{const{nameFilter:n,onNameFilterChange:i,richFilter:t,onRichFilterChange:a,typeFilter:o,onTypeFilterChange:l}=e,r=(0,c.useCallback)(e=>{i(e.target.value)},[i]),s=(0,c.useCallback)(e=>{a("string"===typeof e?"rich"===e:void 0)},[a]),d=(0,c.useCallback)(e=>{l("number"===typeof e?e:void 0)},[l]);return(0,Q.jsxs)(X,{children:[(0,Q.jsx)(K.aW,{value:null!==n&&void 0!==n?n:"",onChange:r,isCollapsible:!0,placeholder:"Search by name",allowClear:!0,$isActive:!(null===n||void 0===n||!n.trim()),debounceDelay:0}),(0,Q.jsx)(K.Lo,{}),(0,Q.jsx)(K.Jt,{className:"undefined"!==typeof t?"active":"",options:ee,placeholder:"All Templates",showArrow:!0,allowClear:!0,style:{minWidth:"200px"},suffixIcon:(0,Q.jsx)(g.A,{icon:"arrow_drop_down",$size:24,$color:V.A.colors["grey-500"]}),onChange:s,showSearch:!0,optionFilterProp:"label"}),(0,Q.jsx)(K.Jt,{className:"undefined"!==typeof o?"active":"",options:ne,placeholder:"Campaign Type",showArrow:!0,allowClear:!0,style:{minWidth:"150px"},suffixIcon:(0,Q.jsx)(g.A,{icon:"arrow_drop_down",$size:24,$color:V.A.colors["grey-500"]}),onChange:d,showSearch:!0,optionFilterProp:"label"})]})};const te=i.p+"static/media/camp--plain--rolling.154aa591ea8e6e4c006bf977f81100c7.svg";const ae=i.p+"static/media/camp--rich--rolling.02052e21c773b1a48b2a09694043f38f.svg";var oe=i(11419);const le=p().lazy(()=>i.e(64277).then(i.bind(i,64277)));var re=function(e){return e.rolling="rolling",e.newsletter="newsletter",e}(re||{});const se=e=>{var n,i;const t=(0,c.useContext)(C.Ay),{t:a}=(0,x.Bd)(),{joId:o,accountId:l=t.accountId,onClose:r,onSave:s,tcId:p}=e,A=(0,f.d4)(e=>e.permissionsState.permissions.crm),[R,I]=(0,c.useState)(null),{data:T}=((0,c.useMemo)(()=>{var e,n,i,t;return null!==A&&void 0!==A&&null!==(e=A.talentPool)&&void 0!==e&&e.campaign&&null!==A&&void 0!==A&&null!==(n=A.talentCommunity)&&void 0!==n&&n.campaign?void 0:null!==A&&void 0!==A&&null!==(i=A.talentPool)&&void 0!==i&&i.campaign?oe.W.TalentPool:null!==A&&void 0!==A&&null!==(t=A.talentCommunity)&&void 0!==t&&t.campaign?oe.W.TalentCommunity:void 0},[null===A||void 0===A||null===(n=A.talentPool)||void 0===n?void 0:n.campaign,null===A||void 0===A||null===(i=A.talentCommunity)||void 0===i?void 0:i.campaign]),(0,y.uY)({accountId:l},{skip:!l||!p})),{data:j,error:E,isLoading:Z,refetch:V}=(0,v.rB)((0,d.A)((0,d.A)({},l?{accountId:l}:{joId:o}),{},{lean:!0}),{skip:!p}),{data:X,error:K,isLoading:ee,refetch:ne}=(0,y.Z5)({accountId:l,fetchDeps:!1},{skip:!l}),{data:se,error:de,isLoading:ce,refetch:pe}=(0,y.v6)({userId:o,campaignIds:[],fetchDeps:!1},{skip:!o}),[me,he]=(0,c.useState)(!0),[ge,ue]=(0,c.useState)(),[fe,xe]=(0,c.useState)(),[ve,ye]=(0,c.useState)(),[be,we]=(0,c.useState)(),Ce=(0,c.useMemo)(()=>{var e,n,i;return[...null!==(e=null===X||void 0===X?void 0:X.campaigns)&&void 0!==e?e:[],...null!==(n=null===se||void 0===se||null===(i=se.campaigns)||void 0===i?void 0:i.filter(e=>{var n,i;return(null===(n=e.campaignOptions)||void 0===n?void 0:n.campaignType)&&[b.pR.NURTURE_NEWSLETTER,b.pR.NURTURE_ROLLING].includes(null===(i=e.campaignOptions)||void 0===i?void 0:i.campaignType)}))&&void 0!==n?n:[]].filter(e=>{var n,i,t;let a=!0;return a=a&&fe?(0,w.$my)(e.name,fe):a,a=a&&"undefined"!==typeof ve?ve?!(null===(n=e.campaignOptions)||void 0===n||!n.richEditor):!(null!==(i=e.campaignOptions)&&void 0!==i&&i.richEditor):a,a=a&&be?(null===(t=e.campaignOptions)||void 0===t?void 0:t.campaignType)===be:a,a}).map(e=>{var n,i,t;return{id:e.id,name:(0,w.scZ)(e.name),isTemplate:e.isOrgTemplate||e.isTemplate||e.isUserTemplate,phases:e.phases.length,type:null===(n=e.campaignOptions)||void 0===n?void 0:n.campaignType,isRichEditor:null===(i=e.campaignOptions)||void 0===i?void 0:i.richEditor,image:null===(t=e.campaignOptions)||void 0===t?void 0:t.screenshot,createdTs:new Date(e.createdAt).getTime()}}).sort((e,n)=>n.createdTs-e.createdTs)},[X,se,fe,ve,be]),_e=(0,c.useCallback)(()=>{he(!1)},[]),Ae=(0,c.useCallback)(()=>{r()},[r]),Re=(0,c.useCallback)(e=>{e.preventDefault(),e.stopPropagation();const n=e.currentTarget.getAttribute("data-id");n&&s(n===re.rolling?b.pR.NURTURE_ROLLING:b.pR.NURTURE_NEWSLETTER,void 0,void 0,!1),he(!1)},[ge]),Ie=(0,c.useCallback)(e=>{const n=e.currentTarget.getAttribute("data-id");if(n){const e=Ce.find(e=>e.id===n);if(e){var i;if(p){const n=(0,_.m0)({icpTcId:p,nurtureCampaigns:T,allTcs:j,campId:e.id});if(n.length)return void I({otherTcNames:n,selectedCampaign:e})}s(null!==(i=e.type)&&void 0!==i?i:b.pR.NURTURE_ROLLING,void 0,n,e.isRichEditor)}else s(n===re.rolling?b.pR.NURTURE_ROLLING:b.pR.NURTURE_NEWSLETTER,void 0,void 0,!0);he(!1)}},[ge,p,Ce,T,j]),Te=(0,c.useCallback)(()=>
1{if(R){var e;const{selectedCampaign:n}=R;s(null!==(e=n.type)&&void 0!==e?e:b.pR.NURTURE_ROLLING,void 0,n.id,n.isRichEditor,!0)}he(!1),I(null),r()},[R,ge,r]),je=(0,c.useCallback)(()=>{if(R){var e;const{selectedCampaign:n}=R;s(null!==(e=n.type)&&void 0!==e?e:b.pR.NURTURE_ROLLING,void 0,n.id,n.isRichEditor,!1)}he(!1),I(null),r()},[R,ge,r]),Ee=(0,c.useCallback)(()=>{he(!1),I(null),r()},[r]);return R?(0,Q.jsx)(le,{linkedResourceNames:R.otherTcNames,resourceTypeName:"pools/communities",onClone:Te,onLink:je,onCancel:Ee}):(0,Q.jsxs)(N,{title:p?"Assign Campaign":"Create Campaign",open:me,onCancel:_e,afterClose:Ae,width:970,footer:null,hasHeaderBorder:!1,centered:!0,children:[(0,Q.jsx)(k,{}),(0,Q.jsxs)(L,{children:[(0,Q.jsxs)(U,{children:[(0,Q.jsx)($,{children:"Select Template"}),(0,Q.jsx)(ie,{nameFilter:fe,onNameFilterChange:xe,richFilter:ve,onRichFilterChange:ye,typeFilter:be,onTypeFilterChange:we})]}),(0,Q.jsx)(m.A,{loading:ee||ce,children:(0,Q.jsxs)(S,{children:[(0,Q.jsxs)(F,{children:[(0,Q.jsx)(h.A,{title:"You\u2019ll add candidates to a campaign and send emails to candidates on a rolling schedule. Recipients will always receive a first email regardless of the date they were added and subsequent emails will be based on time delays.",children:(0,Q.jsxs)(z,{onClick:Ie,"data-id":re.rolling,children:[(0,Q.jsxs)(G,{children:[(0,Q.jsx)(H,{$isBig:!0,children:(0,Q.jsx)(g.A,{icon:"route",$size:40})}),"Create New Rolling Campaign"]}),(0,Q.jsx)(W,{children:"Send each candidate a personalized sequence of emails, starting from when they join."}),(0,Q.jsx)(D,{type:"default",children:" Get Started"}),(0,Q.jsx)("div",{children:(0,Q.jsx)(u.A,{type:"link",onClick:Re,"data-id":re.rolling,children:"Use plain text editor"})})]})}),(0,Q.jsx)(h.A,{title:"You\u2019ll add candidates to a newsletter and send emails on specific dates. Recipients added later will only receive emails scheduled in the future, rather than past emails.",children:(0,Q.jsxs)(z,{onClick:Ie,"data-id":re.newsletter,children:[(0,Q.jsxs)(G,{children:[(0,Q.jsx)(H,{$isBig:!0,children:(0,Q.jsx)(g.A,{icon:"campaign",$size:40})}),"Create New Newsletter"]}),(0,Q.jsx)(W,{children:"Send the same email to everyone on scheduled dates \u2014 ideal for updates and announcements."}),(0,Q.jsx)(D,{type:"default",children:" Get Started"}),(0,Q.jsx)("div",{children:(0,Q.jsx)(u.A,{type:"link",onClick:Re,"data-id":re.newsletter,children:"Use plain text editor"})})]})})]}),(0,Q.jsx)(F,{children:Ce.map(e=>(0,Q.jsx)(O,{onClick:Ie,"data-id":e.id,children:(0,Q.jsxs)(P,{children:[(0,Q.jsx)(Y,{$empty:e.image?void 0:e.isRichEditor?"rich":"standard",children:(0,Q.jsx)(B,{$hasImage:!!e.image,children:(0,Q.jsx)("img",{src:e.image?e.image:e.isRichEditor?ae:te})})}),(0,Q.jsx)(q,{children:e.name}),(0,Q.jsxs)(M,{children:[e.phases," Email",(0,w.L_q)(e.phases)]}),(0,Q.jsx)(J,{children:e.type===b.pR.NURTURE_ROLLING?"Rolling Campaign":"Newsletter"})]})},e.id))})]})})]})]})}}}]);

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