1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7623],{2091:(e,t,i)=>{i.d(t,{b:()=>l});var o=i(14232),n=i(64072),a=i(21845);let l=(e,t,i)=>{let l=(0,o.useMemo)(()=>(0,n.oU)(e,t,i),[e,t,i]);return l===a.y.Transparent?"":l}},38283:(e,t,i)=>{i.d(t,{D:()=>n});var o=i(14232);let n=(e=0)=>{let{0:t,1:i}=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let t=setTimeout(()=>{i(!0)},e);return()=>clearTimeout(t)},[e]),t}},41984:(e,t,i)=>{i.d(t,{I:()=>a});var o=i(46942),n=i(14232);let a=(e=[])=>(0,n.useMemo)(()=>null==e?void 0:e.map(e=>{let t={name:e.name,href:""};return e.name===o.$.SOCIAL_APPLY?(t.locale=e.locale,t.jobPostingId=e.job):e.name===o.$.PITCHYOU&&(t.href=e.code),t}),[e])},46168:(e,t,i)=>{i.d(t,{O:()=>n,r:()=>o});let o=(e,t,i)=>i?`//${e}/application/${i}/${t}/?version=1`:`//${e}/application/?jobId=${t}`,n=(e,t)=>{let i="";switch(e){case 0:i=t("widget.job-description.total.application_0");break;case 1:i=t("widget.job-description.total.application");break;default:i=t("widget.job-description.total.application_plural")}return i.replace("%qty%",`${e}`)}},46942:(e,t,i)=>{var o,n;i.d(t,{$:()=>o,g:()=>n}),function(e){e.SOCIAL_APPLY="SOCIAL_APPLY",e.PITCHYOU="PITCHYOU"}(o||(o={})),function(e){e.FB="FB",e.TG="TG",e.WB="WB"}(n||(n={}))},53502:(e,t,i)=>{i.d(t,{o:()=>g});var o=i(37876),n=i(14232),a=i(5646),l=i(63853),r=i(42044),d=i(38924),c=i(79685),s=i(85812);let p=a.Ay.div.withConfig({displayName:"BackgroundImage__Overlay",componentId:"sc-ckuva5-0"})([""," z-index:",";"," ",";background-image:url(",");background-attachment:",";background-size:cover;background-position:center;transition:transform 0.5s ease-in-out;@supports (-webkit-touch-callout:none){background-attachment:initial;}@media print{background-attachment:initial;}"],d.Pu,({$zIndex:e})=>e||0,({$gradient:e})=>e&&(0,d.yh)(e,45),({$overlay:e})=>e&&(0,d.WK)(e),({$src:e})=>e,({$fixed:e})=>e?"fixed":"scroll"),h=a.Ay.div.withConfig({displayName:"BackgroundImage__Container",componentId:"sc-ckuva5-1"})(["position:relative;height:100%;width:100%;",""],({$hoverScale:e})=>e&&(0,a.AH)(["&:hover ","{transform:scale(",");}"],p,e)),g=({src:e,gradient:t,overlay:i,hoverScale:a,fixed:d=!1,children:g,className:u,zIndex:m,resizingType:f=r.Ch.Fill,gravity:b=r.rn.Center,useImageRatio:y=!0})=>{let x=(0,n.useRef)(!0),[v,{width:w,height:A}]=(0,c.W)(),{0:C,1:j}=(0,n.useState)(""),{getRespImgUrl:_}=(0,s.o)({resizingType:f,gravity:b,useImageRatio:y}),I=(0,l.YQ)((e,t,i)=>{let o=_(e,t,i);o&&j(o)},300);return(0,n.useEffect)(()=>{if((0!==w||0!==A)&&e)if(x.current){x.current=!1;let t=_(w,A,e);t&&j(t)}else I(w,A,e)},[w,A,e,_,I]),(0,o.jsxs)(h,{className:u,$hoverScale:a,children:[e&&(0,o.jsx)(p,{ref:v,$gradient:t,$overlay:i,$src:C,$fixed:d,$zIndex:m}),g]})}},67669:(e,t,i)=>{i.d(t,{c:()=>U});var o=i(37876),n=i(5646),a=i(46942),l=i(38924),r=i(17370),d=i(21845),c=i(20104),s=i(97144),p=i(85046),h=i(34846),g=i(8924),u=i(60015);let m={[a.g.FB]:u.kj.MessengerApply,[a.g.TG]:u.kj.TelegramApply,[a.g.WB]:u.kj.WhatsAppApply},f={[a.g.FB]:"Messenger",[a.g.TG]:"Telegram",[a.g.WB]:"Whatsapp"},b={[a.g.FB]:{color:d.a.SAMessenger},[a.g.TG]:{color:d.a.SATelegram},[a.g.WB]:{color:d.a.SAWhatsapp}},y=(0,n.Ay)(c.$n).withConfig({displayName:"PitchYouButton__StyledButton",componentId:"sc-bee7ec-0"})(["padding:0;border:none;width:100%;div{height:100%;gap:0;}@media ","{width:",";}svg{fill:",";}"],r.bp.p,({$fullWidth:e})=>e?"100%":"auto",d.a.White),x=(0,n.Ay)(g.In).withConfig({displayName:"PitchYouButton__StyledIcon",componentId:"sc-bee7ec-1"})(["height:","rem;width:","rem;"],({$size:e})=>e===c.Mp.Large?2.5:1.7,({$size:e})=>e===c.Mp.Large?2.5:1.7),v=n.Ay.span.withConfig({displayName:"PitchYouButton__ButtonLabel",componentId:"sc-bee7ec-2"})([""," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 1rem;flex-grow:1;text-align:center;color:",";"],(0,l.Jl)(),d.a.White),w=n.Ay.span.withConfig({displayName:"PitchYouButton__SocialIconsContainer",componentId:"sc-bee7ec-3"})(["display:flex;align-items:center;justify-content:center;gap:8px;padding:0 ","rem;border-left:2px solid rgba(255,255,255,0.25);
1height:100%;"],({$size:e})=>e===c.Mp.Large?1:.625),A=({href:e,buttonSize:t,fullWidth:i})=>{let{t:n}=(0,h.Bd)();return(0,o.jsxs)(y,{variant:c.Ak.Solid,size:t,color:d.a.PitchYou,textColor:d.a.White,$fullWidth:i,fullWidthContent:!0,defaultFill:!0,href:e,target:"_blank",rel:"noopener noreferrer",children:[(0,o.jsx)(v,{children:n("widget.job-description.button.PITCHYOU")}),(0,o.jsx)(w,{$size:t,children:(0,o.jsx)(x,{$size:t,name:m[a.g.WB]})})]})};var C=i(36877),j=i(14232),_=i(35854),I=i(19598),k=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i},S=i(59698),P=i(25907),$=i(31562),B=i(1170),T=i(25894),O=i(32251),N=i(94680);let z=(0,n.Ay)(c.$n).withConfig({displayName:"SocialApplyButton__StyledButton",componentId:"sc-zztige-0"})(["width:100%;@media ","{width:",";}",""],r.bp.p,({$fullWidth:e})=>e?"100%":"auto",({$provider:e})=>e&&(0,n.AH)(["background-color:",";color:",";&:hover{background-color:",";}&::before,&::after{content:none;}svg{fill:",";}"],b[e].color,d.a.White,(0,C.e$)(.1,b[e].color),d.a.White)),W=(0,n.Ay)(g.In).withConfig({displayName:"SocialApplyButton__StyledIcon",componentId:"sc-zztige-1"})(["&&{height:2rem;width:2rem;}"]),L=n.Ay.span.withConfig({displayName:"SocialApplyButton__SocialIconsContainer",componentId:"sc-zztige-2"})(["display:flex;gap:8px;margin-right:-12px;"]),Y=n.Ay.span.withConfig({displayName:"SocialApplyButton__ButtonLabel",componentId:"sc-zztige-3"})([""," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],(0,l.Jl)()),E=({provider:e,buttonSize:t,fullWidth:i})=>{let{pageUiEnvironment:{window:n,document:a}}=(0,T.p)(),{t:l}=(0,h.Bd)(),{getSiteId:r}=(0,P.v)(),{location:d,isBuilderEnv:s,apiData:p,frontendOAuthClientId:g,projectType:u}=(0,O.N)(),{triggerRestrictedEventOfOpeningSocialApply:b}=(0,$.K)(),{socialApplyProviders:y}=(e=>{var{skip:t=!1}=e,i=k(e,["skip"]);let[{data:o,loading:n,error:a},l]=(0,I.bP)({method:"get",url:`${_.Q}/widgets/social-apply/providers`,params:i},{manual:t});return{socialApplyProviders:null==o?void 0:o.data,refetch:l,error:a,isLoading:n}})({userId:g}),{0:x,1:v}=(0,j.useState)("https://www.example.com"),{0:w,1:A}=(0,j.useState)();(0,j.useEffect)(()=>{var e;S.k||null!=y&&y.length&&(null==y?void 0:y.length)>=2||A(null==(e=null==y?void 0:y[0])?void 0:e.name)},[y]),(0,j.useEffect)(()=>{if(!S.k&&d&&!s){let t=u===B.L.custom,{hostname:i,pathname:o}=new URL(t?null==n?void 0:n.location.href:d.href),l=new URLSearchParams(t?null==n?void 0:n.location.search:d.search).get("locale"),c=n!==(null==n?void 0:n.parent)&&l&&e.locale!==l;v(((e,t,i,o,n,a)=>{let l="",r=RegExp("/^/(jobs)/d*/$/");if(t&&"/"!==t&&!r.test(t)){let e=RegExp("//(jobs|(application/[a-z0-9-]*)?)/d*/$/");l=t.replace(e,"/")}let d=btoa(JSON.stringify({msid:a,referrer:e+l,locale:i,job:o,domain:n}));return`${N.Q}/start?payload=${encodeURIComponent(d)}`})(a&&a.location.hostname!==i?a.location.hostname:i,o,c?l:e.locale,e.jobPostingId,p.domainData.rootProjectDomain,r(!0)))}},[s,a,n,d,e,p.domainData.rootProjectDomain,r]);let C=(y||[]).map(({name:e})=>f[e]).join(", "),E=l("widget.job-description.button.SOCIAL_APPLY");return(0,o.jsxs)(z,{variant:c.Ak.Fancy,size:t,defaultFill:!0,href:x,target:"_blank",rel:"noopener noreferrer",$provider:w,$fullWidth:i,"aria-label":`${E} ${C}`,onClick:e=>{s&&(e.preventDefault(),b())},children:[(0,o.jsx)(Y,{children:E}),(0,o.jsx)(L,{children:null==y?void 0:y.map(({name:e})=>(0,o.jsx)(W,{name:m[e]},e))})]},e.name)},M=n.Ay.div.withConfig({displayName:"CTAContent__Container",componentId:"sc-1ll7yln-0"})(["display:flex;flex-direction:column;align-items:center;text-align:center;gap:",";@media ","{flex-direction:",";text-align:",";gap:",";}"],(0,l.ls)(2),r.bp.p,({$isVertical:e,$withSocial:t})=>e||t?"column":"row",({$isVertical:e})=>e?"left":"center",({$isVertical:e})=>e?(0,l.ls)(3):(0,l.ls)(2)),D=n.Ay.div.withConfig({displayName:"CTAContent__ButtonsContainer",componentId:"sc-1ll7yln-1"})(["display:flex;gap:",";flex-direction:row;flex-wrap:wrap;align-items:center;width:",";z-index:1;flex-shrink:0;@media ","{flex-direction:",";justify-content:center;}"],(0,l.ls)(1.5),({$fullWidth:e})=>e?"100%":"auto",r.bp.p,({$fullWidth:e})=>e?"column":"row"),F=n.Ay.div.withConfig({displayName:"CTAContent__Text",componentId:"sc-1ll7yln-2"})(["font-size:0.875rem;line-height:1.5;color:",";text-align:center;@media ","{text-align:",";}"],({$color:e})=>e||d.a.Text,r.bp.p,({$fullWidth:e,$isVertical:t})=>e||!t?"left":"center"),H=(0,n.Ay)(p.B).withConfig({displayName:"CTAContent__StyledButtonFactory",componentId:"sc-1ll7yln-3"})(["width:100%;@media ","{width:",";}"],r.bp.p,({$fullWidth:e})=>e?"100%":"auto"),G=(0,n.Ay)(c.$n).withConfig({displayName:"CTAContent__StyledButton",componentId:"sc-1ll7yln-4"})(["width:100%;@media ","{width:",";}"],r.bp.p,({$fullWidth:e})=>e?"100%":"auto"),U=({button:e,buttonSize:t,customButton:i,text:n,textColor:l,fullWidth:r,applicationProviders:d})=>{let c=r||d.length>0;return(0,o.jsxs)(M,{$isVertical:c,$withSocial:!!d.length,children:[(0,o.jsxs)(D,{$fullWidth:r,children:[e&&(0,o.jsx)(H,Object.assign({},e,{size:t,$fullWidth:r})),i&&(0,o.jsx)(G,Object.assign({},i,{size:t,$fullWidth:r})),d.map(e=>e.name===a.$.SOCIAL_APPLY?(0,o.jsx)(E,{provider:e,fullWidth:r,buttonSize:t},e.name):e.name===a.$.PITCHYOU?(0,o.jsx)(A,{href:e.href,fullWidth:r,buttonSize:t},e.name):void 0)]}),n&&(0,o.jsx)(F,{$isVertical:c,$fullWidth:r,$color:l,children:(0,o.jsx)(s.E,{children:n})})]})}},73055:(e,t,i)=>{i.d(t,{X:()=>
1l,t:()=>r});var o=i(37876),n=i(14232);let a=(0,n.createContext)(void 0);function l({children:e,data:t,widgetId:i}){let n=Object.assign(Object.assign({},t),{widgetId:i});return(0,o.jsx)(a.Provider,{value:n,children:e})}function r(){let e=(0,n.useContext)(a);if(!e)throw Error("[WidgetDataProvider]: useBaseWidgetData must be used within a BaseWidgetDataProvider");return e}},84840:(e,t,i)=>{i.d(t,{G:()=>n});var o=i(8943);let n=e=>(0,o.lB)(()=>[e.highlight,...e.colors],[e.highlight,e.colors])},85812:(e,t,i)=>{i.d(t,{o:()=>r});var o=i(14232),n=i(14453),a=i(59698),l=i(42044);let r=({resizingType:e=l.Ch.Fill,gravity:t=l.rn.Center,useImageRatio:i=!0})=>{let r=a.k?1:window.devicePixelRatio;return{getRespImgUrl:(0,o.useCallback)((o,a,l)=>{let d=Math.ceil(o*r),c=Math.ceil(a*r),s=(0,n._Z)({height:c,width:d,useImageRatio:i});return(0,n.DE)(l,{width:s.width,height:s.height,resizingType:e,gravity:t})},[e,r,r])}}},87623:(e,t,i)=>{i.r(t),i.d(t,{WidgetJobAdCTA:()=>N,default:()=>z});var o=i(37876),n=i(34846),a=i(97614),l=i(11234),r=i(32251),d=i(73055),c=i(74766),s=i(84840),p=i(2091),h=i(41984),g=i(94680),u=i(46168),m=i(21845);let f=({children:e,widgetId:t,formData:i})=>{var f;let{t:b}=(0,n.Bd)(),{isBuilderEnv:y,design:x,job:v,featureMatrix:w}=(0,r.N)(),A=(0,c.b)(),C=(0,s.G)(x.colorSchema),j=(0,p.b)(i.buttonColor,C),_=(0,p.b)(i.backgroundColor,C,m.a.Transparent),I=!w.disabledJobApplicants&&i.activateTotalApplication.checked,k=I?y?b("widget.job-description.total.application_builder"):(null==v?void 0:v.totalApplications)!==void 0?(0,u.O)(null==v?void 0:v.totalApplications,b):"":"",S=y?b("widget.job-mock.applyOnlineLink"):null==v?void 0:v.linkOfModernForApplyApplication,P=y?b("widget.job-mock.applyOnlineLink"):null==v?void 0:v.applyOnlineLink,$=i.activateTopPositionForButton.checked?a.G.Top:a.G.Bottom,B=(0,h.I)(null==v?void 0:v.applicationProviders),T={type:l.V.ApplyNow,label:b("widget.job-description.button.application"),color:j,href:(null==(f=A.metadata)?void 0:f.isUseModernApplication)?S:P,jobPostingId:Number(null==v?void 0:v.jobPostingId)},O={isLarge:i.activateLargeButtonSize.checked,stickyPosition:i.activateSticky.checked?$:void 0,isTotalApp:I,horizontalAlign:i.position.value,totalAppText:k,totalApp:y||null==v?void 0:v.totalApplications,socialApplyHref:`${g.Q}/start?payload={{payload}}`,applicationProviders:B,button:T,backgroundColor:_};return(0,o.jsx)(d.X,{data:O,widgetId:t,children:e})},b=d.t;var y=i(5646),x=i(36877),v=i(96208),w=i(67669),A=i(78116),C=i(20104),j=i(17370),_=i(38924),I=i(45031),k=i(79685);let S=y.Ay.div.withConfig({displayName:"JobAdCTA__Background",componentId:"sc-10lo2z3-0"})(['position:relative;height:0;&:before{content:"";position:absolute;top:0;left:0;right:0;height:',"px;background-color:",";}"],({$height:e})=>e,({$color:e})=>e),P=y.Ay.section.withConfig({displayName:"JobAdCTA__StickyContainer",componentId:"sc-10lo2z3-1"})([""," z-index:100;@media print{display:none;}"],({$position:e})=>e&&(0,y.AH)(["position:sticky;",";"],`${[e]}: 0`)),$=(0,y.Ay)(v.w).withConfig({displayName:"JobAdCTA__Container",componentId:"sc-10lo2z3-2"})(["display:flex;justify-content:center;@media ","{justify-content:",";}"],j.bp.p,({$align:e})=>e),B=y.Ay.div.withConfig({displayName:"JobAdCTA__ButtonContainer",componentId:"sc-10lo2z3-3"})(["padding:",";max-width:600px;"],(0,_.ls)(3)),T=y.Ay.div.withConfig({displayName:"JobAdCTA__ButtonOverlay",componentId:"sc-10lo2z3-4"})(["",";background-color:",";backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);padding:",";display:flex;align-items:center;box-shadow:0 0 64px rgba(0,0,0,0.15);"],({$isLarge:e})=>e?(0,_.hD)(I.Zi,I.fS):(0,_.hD)(I.hu,I.bG),(0,x.B3)(m.a.White,.85),(0,_.ls)(3)),O=({className:e})=>{let{horizontalAlign:t,stickyPosition:i,isLarge:n,applicationProviders:a,totalAppText:l,widgetId:r,button:d,backgroundColor:c}=b(),[s,{height:p}]=(0,k.W)(),h=_.tK[t];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(S,{$color:c,$he
1ight:p}),(0,o.jsx)(P,{ref:s,$position:i,children:(0,o.jsx)($,{$align:h,widgetName:A.x.JobAdCTA,widgetId:r,className:e,children:(0,o.jsx)(B,{children:(0,o.jsx)(T,{$isLarge:n,children:(0,o.jsx)(w.c,{button:d,buttonSize:n?C.Mp.Large:C.Mp.Medium,text:l,applicationProviders:a})})})})})]})};function N({formData:e,widgetId:t}){return(0,o.jsx)(f,{formData:e,widgetId:t,children:(0,o.jsx)(O,{})})}let z=N},94680:(e,t,i)=>{i.d(t,{Q:()=>n});var o=i(99742);let n=o.env.REACT_APP_SOCIAL_APPLY_HOST||o.env.STORYBOOK_SOCIAL_APPLY_HOST||"https://social-apply.softgarden.io"},96208:(e,t,i)=>{i.d(t,{w:()=>x});var o=i(37876),n=i(14232),a=i(5646),l=i(64072),r=i(44789),d=i(78116),c=i(85882),s=i(32251),p=i(17370),h=i(53502),g=i(38283),u=i(72655);let m=[d.x.TargetGroups,d.x.Iconbox,d.x.Imagebox,d.x.Iframe,d.x.Quotes,d.x.Contacts,d.x.Events,d.x.Certificates,d.x.Social,d.x.Gallery,d.x.Video],f=a.Ay.section.withConfig({displayName:"Section__Container",componentId:"sc-xkeag-0"})(["background-color:",";@media ","{opacity:0;opacity:",';}&:not([data-widget="job-ad-header"]) + [data-widget="job-ad-headline"]{padding-top:24px;@media ',",print{padding-top:40px;}}"],({$backgroundColor:e})=>e,p.bp.p,({$isVisible:e})=>+!!e,p.bp.d),b=a.Ay.div.withConfig({displayName:"Section__Content",componentId:"sc-xkeag-1"})(["position:relative;z-index:1;",""],({$withoutTopOffset:e})=>e&&(0,a.AH)(["&&{padding-top:0;margin-top:0;}"])),y=a.Ay.div.withConfig({displayName:"Section__ContentStartElement",componentId:"sc-xkeag-2"})(["height:0;width:0;opacity:0;"]),x=(0,n.forwardRef)(({widgetName:e,backgroundColor:t,backgroundImage:i,gradient:p,overlay:x,children:v,widgetId:w,isBgFixed:A=!0,className:C,bgZIndex:j,exportPdf:_=!1},I)=>{let{mode:k,device:S}=(0,s.N)(),P=(0,g.D)(100),$=!t||(0,l.MW)(t),{0:B,1:T}=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!w)return;let i=u.N.setMeta(w,{type:e,backgroundColor:t||void 0}),o=u.N.getMetaByIndex(i-1);o&&k!==c.q5.Build&&T(m.includes(e)&&o.type===d.x.Headline&&o.backgroundColor===(t||void 0))},[t,e,w]),(0,o.jsx)(a.NP,{theme:{isBgIsLight:$},children:(0,o.jsx)(f,{ref:I,"data-widget":e,"data-widget-id":w,$backgroundColor:t,$isVisible:P||"mobile"===S,"data-export-pdf":_,children:(0,o.jsx)(h.o,{src:null==i?void 0:i.src,gradient:p,overlay:x,fixed:A,zIndex:j,children:(0,o.jsxs)(b,{className:C,$withoutTopOffset:B,children:[(0,o.jsx)(y,{tabIndex:-1,className:r.T}),v]})})})})});x.displayName="Section"},97144:(e,t,i)=>{i.d(t,{E:()=>n});var o=i(18847);let n=i.n(o)()(()=>i.e(6838).then(i.bind(i,36838)),{loadableGenerated:{webpack:()=>[36838]}})}}]);
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.