PageSourceSearch

https://webapp.locumsnest.co.uk/chunk-PFUZO6S3.js

js locumsnest.co.uk collected 2026-10-01 23:45:17 UTC 29,220 bytes, 8 lines download raw bytes

1
2!function(){try{var 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]="6202abe4-d02d-5f8d-91f6-9e806243cb9c")}catch(e){}}();
3import{a as rt,b as lt}from"./chunk-BWKP7P64.js";import{b as at}from"./chunk-QXJIGX7G.js";import{g as G,h as F,i as U,j,k as Ye,l as Xe,m as Ze,p as Je,q as qe,r as Ke,s as Qe,t as et,u as tt,v as it}from"./chunk-Z5KHKQLC.js";import{F as je,R as ot,S as nt,s as D,u as T}from"./chunk-BRK7VYCS.js";import"./chunk-XKPCIYWY.js";import{aa as Ue}from"./chunk-2H53Z6NE.js";import"./chunk-OCW7F5D3.js";import"./chunk-UOVXR6OV.js";import"./chunk-G5WB7WQP.js";import"./chunk-EWX7YJ6P.js";import"./chunk-YHFOGKYZ.js";import"./chunk-PMSFT4PD.js";import{d as Pe}from"./chunk-6OJ6BL7R.js";import{hb as ye}from"./chunk-474MFBAV.js";import"./chunk-ZBWROVTC.js";import"./chunk-PE6NPJPN.js";import"./chunk-6ZWQLXCH.js";import"./chunk-LZ7QRMQ4.js";import"./chunk-K6HMTK43.js";import"./chunk-FJCS44YN.js";import"./chunk-J46DQUBB.js";import"./chunk-ZI7P4E2C.js";import"./chunk-3K26KEKE.js";import"./chunk-R7M3555C.js";import"./chunk-CNGPPP56.js";import"./chunk-F2L7BGUA.js";import"./chunk-B5KTCV4T.js";import"./chunk-U64OU2Y6.js";import"./chunk-HH3QPTMU.js";import"./chunk-RHMGXUOP.js";import"./chunk-4SUKPKER.js";import"./chunk-YQTKSIW5.js";import"./chunk-ZYLANOZS.js";import{b as $e}from"./chunk-JATHGV3W.js";import"./chunk-YUIGTBGP.js";import"./chunk-7VTOPTLC.js";import"./chunk-D5IWLNTT.js";import"./chunk-7TI3MNDC.js";import"./chunk-KTDYQK3J.js";import"./chunk-F2SOGB3T.js";import"./chunk-B5QCWWEE.js";import"./chunk-QV3J6OQK.js";import"./chunk-EXS3U7ZB.js";import"./chunk-3R5L2F7J.js";import"./chunk-TQEV4IU4.js";import{c as be}from"./chunk-RBZP2E7S.js";import"./chunk-QO7LESMZ.js";import"./chunk-PE74X7HK.js";import{E as We,G as Ge,Ha as Le,Ia as He,f as ze,i as Ie,t as Re,u as Be}from"./chunk-GBATAN5L.js";import"./chunk-IDSCCWVZ.js";import"./chunk-4UFZKMRK.js";import{p as we}from"./chunk-WK2BZYKB.js";import{f as ke}from"./chunk-WBJT5RQM.js";import{A as Te}from"./chunk-VP5VIORV.js";import{n as Ve}from"./chunk-APVGWFFC.js";import"./chunk-HWF6DVM3.js";import"./chunk-GDFFEKO3.js";import"./chunk-2CPW4QGQ.js";import{f as De}from"./chunk-IOHD4RVX.js";import"./chunk-KCBAUEX5.js";import"./chunk-DEOISLJX.js";import{a as Me}from"./chunk-RUGSHMPB.js";import"./chunk-LCL4EAYL.js";import"./chunk-AQ565TRU.js";import"./chunk-ZEQBFS6U.js";import{i as Oe,j as Ne,k as Ae}from"./chunk-YUPG7NDC.js";import"./chunk-7AFHDJKX.js";import{ba as ge,ca as Se,g as ue,i as k}from"./chunk-PND4LJON.js";import{B as M,K as ae,L as de,Lb as he,O as se,X as ce,bb as ve,cb as fe,db as Ce,eb as _e,fb as xe,ja as R,ka as me,na as pe,qa as B,vc as W,y as re}from"./chunk-IIAIH3UC.js";import{a as Ee}from"./chunk-WNXKPIU3.js";import"./chunk-RBJY2NUG.js";import"./chunk-YT5X2SZX.js";import{c as Fe}from"./chunk-MDWIGIH7.js";import"./chunk-RY7FY3PY.js";import"./chunk-YPUGFOOX.js";import{b as le}from"./chunk-P3V7UETH.js";import{ha as oe,wa as ne}from"./chunk-HOBNNBVB.js";import{$b as A,Bc as p,Ea as N,Ec as Q,Fa as g,Fc as ee,Gc as s,Hc as l,Ic as r,Ja as C,Jc as u,Kb as o,Kd as te,Nc as x,Oc as h,Qa as S,Ra as y,Sc as I,Ud as v,Vd as _,Wd as V,ac as P,cd as w,ce as ie,ec as J,ed as a,fc as q,p as z,q as Z,td as n,vd as f,yc as K,zc as m}from"./chunk-AYOULU4V.js";import"./chunk-5E27SKBB.js";var dt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=P({type:t})}static{this.\u0275inj=g({imports:[k.forFeature([tt]),B.forFeature("videos.form",Ze)]})}}return t})();var vt=ge.forFeature("Video Wizard"),ft=Se.forFeature("Video Wizard"),O=Ge(ft,vt),st=O.createReducer(),ct=pe("videos.wizard"),ni=O.getSelectors(ct),H=class L{constructor(){this.store=C(R)}static{this.\u0275fac=function(e){return new(e||L)}}static{this.\u0275prov=N({token:L,factory:L.\u0275fac,providedIn:"root"})}};H=z([O.wizardService(ct)],H);var Y=class ${constructor(){this.actions$=C(ue),this.initializeWizard()}static{this.\u0275fac=function(e){return new(e||$)}}static{this.\u0275prov=N({token:$,factory:$.\u0275fac})}};Y=z([O.wizardEffects,Z("design:paramtypes",[])],Y);var mt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=P({type:t})}
3static{this.\u0275inj=g({imports:[k.forFeature([Y]),B.forFeature("videos.wizard",st)]})}}return t})();function Ct(t,d){t&1&&(l(0,"span"),n(1," Make your title short and punchy to attract your readers "),r())}function _t(t,d){if(t&1&&n(0),t&2){let e=a();f(" ",e.videoForm.value.videoCreation.title," ")}}function xt(t,d){if(t&1&&(l(0,"span"),n(1),v(2,"date"),r()),t&2){let e=a(3);o(),f(" ",V(2,1,e.videoForm.value.videoScheduler.effectiveDate,"DD/MM/YYYY")," ")}}function ht(t,d){t&1&&n(0," 00/00/00 ")}function gt(t,d){if(t&1&&(l(0,"span"),n(1),v(2,"date"),r()),t&2){let e=a(3);o(),f(" ",V(2,1,e.videoForm.value.videoScheduler.effectiveDate,"HH:mm")," ")}}function St(t,d){t&1&&n(0," 00:00 ")}function yt(t,d){if(t&1&&(l(0,"span"),n(1),v(2,"date"),r()),t&2){let e=a(3);o(),f(" ",V(2,1,e.videoForm.value.videoScheduler.expirationDate,"DD/MM/YYYY")," ")}}function Pt(t,d){t&1&&n(0," 00/00/00 ")}function wt(t,d){if(t&1&&(l(0,"span"),n(1),v(2,"date"),r()),t&2){let e=a(3);o(),f(" ",V(2,1,e.videoForm.value.videoScheduler.expirationDate,"HH:mm")," ")}}function bt(t,d){t&1&&n(0," 00:00 ")}function Ft(t,d){if(t&1&&(l(0,"div")(1,"div",1),n(2,"Reserve colour:"),r(),n(3),r()),t&2){let e=a(3);o(3),f(" ",e.videoForm.value.videoScheduler.reserveColor?"On":"Off"," ")}}function Et(t,d){if(t&1&&(l(0,"div")(1,"div",1),n(2,"Admin only"),r(),l(3,"div",1),n(4,"Remove from shortcuts when it expires:"),r(),n(5),r()),t&2){let e=a(3);o(5),f(" ",e.videoForm.value.videoScheduler.removeFromShortcutsAfterExpiry?"On":"Off"," ")}}function Vt(t,d){if(t&1&&(l(0,"div")(1,"div",1),n(2,"Flagged Reason:"),r(),n(3),r()),t&2){let e=a(3);o(3),f(" ",e.videoForm.value.videoScheduler.flaggedReason," ")}}function Mt(t,d){t&1&&(l(0,"div",2),u(1,"locumsnest-help-text",3),r()),t&2&&(o(),s("helpText","Will return to under review when submitted"))}function Dt(t,d){if(t&1&&(l(0,"div")(1,"div",1),n(2,"Schedule video:"),r(),n(3," Effective date: "),m(4,xt,3,4,"span")(5,ht,1,0),u(6,"br"),n(7,"Effective time: "),m(8,gt,3,4,"span")(9,St,1,0),u(10,"br")(11,"br"),n(12," Expiration date: "),m(13,yt,3,4,"span")(14,Pt,1,0),u(15,"br"),n(16,"Expiration time: "),m(17,wt,3,4,"span")(18,bt,1,0),u(19,"br")(20,"br"),m(21,Ft,4,1,"div"),m(22,Et,6,1,"div"),u(23,"br"),l(24,"div",1),n(25,"Current status:"),r(),n(26),l(27,"div",1),n(28,"Review mode:"),r(),n(29),m(30,Vt,4,1,"div"),m(31,Mt,2,1,"div",2),r()),t&2){let e=a(2);o(4),p(e.videoForm.value.videoScheduler.effectiveDate?4:5),o(4),p(e.videoForm.value.videoScheduler.effectiveDate?8:9),o(5),p(e.videoForm.value.videoScheduler.expirationDate?13:14),o(4),p(e.videoForm.value.videoScheduler.expirationDate?17:18),o(4),p(e.hasReserveColourPermission?21:-1),o(),p(e.hasCommunityAdminPermission?22:-1),o(4),f(" ",e.getCurrentStatus(e.videoForm.value)," "),o(3),f(" ",e.getReviewModeTitle(e.videoForm.value.videoScheduler.approvalStatus)," "),o(),p((e.videoForm==null?null:e.videoForm.value.videoScheduler.approvalStatus)===e.approvalStatusList.FLAGGED.id&&e.videoForm.value.videoScheduler.flaggedReason!==null?30:-1),o(),p(e.hasCommunityAdminPermission===!1&&((e.videoForm==null?null:e.videoForm.value.videoScheduler.approvalStatus)===e.approvalStatusList.APPROVED.id||(e.videoForm==null?null:e.videoForm.value.videoScheduler.approvalStatus)===e.approvalStatusList.FLAGGED.id)?31:-1)}}function Tt(t,d){if(t&1&&(l(0,"div")(1,"div",1),n(2,"Chosen category for your video:"),r(),n(3),l(4,"div",1),n(5,"Importance:"),r(),n(6),m(7,Dt,32,10,"div"),r()),t&2){let e=a();o(3),f(" ",e.selectedPromoCategory," "),o(3),f(" ",e.getImportanceTitle(e.videoForm.value.videoScheduler.importance)," "),o(),p(e.videoForm.value.videoScheduler.published?7:-1)}}var pt=(()=>{class t{constructor(){this.videoScheduler=!1,this.approvalStatusList=G}getReviewModeTitle(e){return j(e,F.ApprovalStatus)}getImportanceTitle(e){return j(e,F.Importance)}getCurrentStatus(e){let i=W.getDate(),c=W.getDate(e.videoScheduler.effectiveDate),b=W.getDate(e.videoScheduler.expirationDate);return!e.videoScheduler.published||he(e.videoCreation.id)?T("unpublished",D.PromoStatus).display:c>i?T("not-started",D.PromoStatus).display:i>=c&&i<=b?T("in-progress",D.PromoStatus).display:T("expired",D.PromoStatus).display}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["locumsnest-video-preview"]],inputs:{videoForm:"videoForm",videoScheduler:"videoScheduler",selectedPromoCategory:"selectedPromoCategory",hasCommunityAdminPermission:"hasCommunityAdminPermission",hasReserveColourPermission:"hasReserveColourPermission"},standalone:!1,decls:7,vars:2,consts:[[1,"preview"],[1,"preview--title"],[1,"help-text"],[3,"helpText"]],template:function(i,c){i&1&&(l(0,"div",0),n(1," For best results, shoot a short video in portrait mode. Adding subtitles also helps but it\u2019s not essential "),l(2,"div",1),n(3,"Video title:"),r(),m(4,Ct,2,0,"span")(5,_t,1,1),r(),m(6,Tt,8,3,"div")),i&2&&(o(4),p((c.videoForm.value.videoCreation.title==null?null:c.videoForm.value.videoCreation.title.length)===0?4:5),o(2),p(c.videoScheduler?6:-1))},dependencies:[Me,Ee],styles:[`.preview[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:12px;font-stretch:normal;font-style:normal;line-height:1.4;letter-spacing:normal;color:#192b4c}.preview--title[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin-top:8px;margin-bottom:5px}.help-text[_ngcontent-%COMP%]{margin-top:10px}.video[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:10;-webkit-box-orient:vertical}
4/*# sourceMappingURL=video-preview.component-NYNY62E6.css.map */`]})}}return t})();var zt=()=>[500,0];function Nt(t,d){t&1&&(l(0,"div",1),n(1,"New campaign"),r())}function At(t,d){if(t&1){let e=I();l(0,"div",6)(1,"div",7)(2,"div",8)(3,"div",9),n(4,"*Video title"),r(),u(5,"locumsnest-input-field",10),l(6,"div",9),n(7," *Video "),u(8,"div",11),r(),l(9,"locumsnest-file-uploader",12),w("removeFile",function(){S(e);let c=a(2);return y(c.onRemoveVideo())}),r()(),l(10,"div",13)(11,"button",14),w("click",function(){S(e);let c=a(2);return y(c.onCancelButtonClick())}),n(12,"CANCEL"),r(),l(13,"button",15),w("click",function(){S(e);let c=a(2);return y(c.onNextPress(2))}),n(14," FINISH VIDEO "),r()()(),l(15,"div",16)(16,"div",17),n(17,"Video details"),r(),l(18,"div",18),u(19,"locumsnest-video-preview",19),r()()()}if(t&2){let e=a(),i=a();o(5),s("name","title")("placeholder","Video title")("disabled",!1)("hasBorder",!0)("errorMsg",i.getErrorMsg(e==null?null:e.controls.videoCreation.controls.title))("ngrxFormControlState",e==null?null:e.controls.videoCreation.controls.title),o(3),s("tp","The maximum size for the video is 30MB.")("tpPlacement","right")("tpVariation","hideArrow")("tpDelay",te(17,zt)),o(),s("compact",!0)("acceptFormats",i.acceptFormats)("isDisabled",!1)("file",e==null?null:e.controls.videoCreation.controls.video)("tempFileUpload",!0),o(4),s("disabled",!(e!=null&&e.controls.videoCreation.isValid)),o(6),s("videoForm",e)}}function It(t,d){if(t&1&&(l(0,"div",34)(1,"div",37),u(2,"locumsnest-date-time-picker",38),r(),u(3,"locumsnest-date-time-picker",38),r()),t&2){let e=a(2);o(2),s("timePlaceholder","00:00")("datePlaceholder","00/00/00")("dateTitle","*Effective date")("timeTitle","*Effective time")("hasBorder",!0)("horizontalAlignment",!0)("isDisabled",!1)("showCalendarAsPrefix",!0)("ngrxFormControlState",e==null||e.controls.videoScheduler==null?null:e.controls.videoScheduler.controls.effectiveDate),o(),s("timePlaceholder","00:00")("datePlaceholder","00/00/00")("dateTitle","*Expiration date")("timeTitle","*Expiration time")("hasBorder",!0)("horizontalAlignment",!0)("isDisabled",!1)("showCalendarAsPrefix",!0)("ngrxFormControlState",e==null||e.controls.videoScheduler==null?null:e.controls.videoScheduler.controls.expirationDate)}}function Rt(t,d){if(t&1&&(l(0,"div",35)(1,"small",39),n(2),r()()),t&2){let e=a(2),i=a();o(2),f(" ",i.getErrorMsg(e==null||e.controls.videoScheduler==null?null:e.controls.videoScheduler.controls.effectiveDate)," ")}}function Bt(t,d){if(t&1&&(l(0,"div",35)(1,"small",39),n(2),r()()),t&2){let e=a(2),i=a();o(2),f(" ",i.getErrorMsg(e==null||e.controls.videoScheduler==null?null:e.controls.videoScheduler.controls.expirationDate)," ")}}function kt(t,d){}function Wt(t,d){if(t&1&&(l(0,"div")(1,"div",25)(2,"locumsnest-choice-section"),x(3,30),n(4,"Reserve colour"),h(),x(5,31),u(6,"locumsnest-toggle",32),h(),x(7,33),n(8," When enabled the video will be"),u(9,"br"),n(10," colour-coded with the reserve colour-scheme. "),h(),r()()()),t&2){let e=a(2);o(6),s("isFormControl",!0)("isDisabled",!1)("ngrxFormControlState",e==null||e.controls.videoScheduler==null?null:e.controls.videoScheduler.controls.reserveColor)("darkTheme",!0)}}function Gt(t,d){if(t&1&&u(0,"locumsnest-button-group-radio-button",43),t&2){let e=d.$implicit;s("id",e.id)("name",e.name)}}function Lt(t,d){if(t&1&&(l(0,"div")(1,"div",45),n(2,"*Reason(s) for flagging"),r(),u(3,"locumsnest-input-field",46),r()),t&2){let e=a(3);o(3),s("placeholder","Type your reason here")("disabled",!1)("hasBorder",!0)("ngrxFormControlState",e==null?null:e.controls.videoScheduler.controls.flaggedReason)}}function Ht(t,d){if(t&1&&(l(0,"div")(1,"div",40),n(2,"Admin only"),r(),l(3,"div",25)(4,"locumsnest-choice-section"),x(5,30),n(6,"Remove from shortcuts when it expires"),h(),x(7,31),u(8,"locumsnest-toggle",32),h(),x(9,33),n(10," Once it expires it won\u2019t be accessible again from the shortcuts library. "),h(),r()(),l(11,"div",25)(12,"locumsnest-choice-section"),x(13,30),n(14,"Review mode"),h(),x(15,33),n(16," Select this video's Approval status. "),h(),r()(),l(17,"div",41)(18,"locumsnest-radio-button-group",42),Q(19,Gt,1,2,"locumsnest-button-group-radio-button",43,K().trackById,!0),r()(),l(21,"div",44),m(22,Lt,4,4,"div"),r()()),t&2){let e=a(2),i=a();o(8),s("isFormControl",!0)("isDisabled",!1)("ngrxFormControlState",e==null||e.controls.videoScheduler
4==null?null:e.controls.videoScheduler.controls.removeFromShortcutsAfterExpiry)("darkTheme",!0),o(10),s("smaller",!0)("darkTheme",!0)("isDisabled",!1)("ngrxFormControlState",e==null?null:e.controls.videoScheduler.controls.approvalStatus),o(),ee(i.approvalStatusesOptions),o(3),p((e==null?null:e.controls.videoScheduler.value.approvalStatus)===i.approvalStatusList.FLAGGED.id?22:-1)}}function $t(t,d){if(t&1){let e=I();l(0,"div",6)(1,"div",7)(2,"div",20)(3,"div",9),n(4,"*Choose a category for your video"),r(),u(5,"locumsnest-promo-category",21),v(6,"async"),l(7,"div",22)(8,"div",23)(9,"locumsnest-dropdown-grouping-select",24),v(10,"async"),w("clear",function(){S(e);let c=a(2);return y(c.onClear())}),r()(),l(11,"div",23)(12,"locumsnest-dropdown-grouping-select",24),v(13,"async"),w("clear",function(){S(e);let c=a(2);return y(c.onClear())}),r()()(),l(14,"div",25)(15,"div",9),n(16,"Importance"),r(),l(17,"div",26),n(18,"Select this video's importance level."),r(),l(19,"div",27)(20,"div",28),u(21,"locumsnest-dropdown-grouping-select",29),r()()(),l(22,"div",25)(23,"locumsnest-choice-section"),x(24,30),n(25,"Schedule video"),h(),x(26,31),u(27,"locumsnest-toggle",32),h(),x(28,33),n(29," Toggle off to schedule later. "),h(),r()(),m(30,It,4,18,"div",34),m(31,Rt,3,1,"div",35),v(32,"async"),m(33,Bt,3,1,"div",35),v(34,"async"),m(35,kt,0,0),m(36,Wt,11,4,"div"),v(37,"async"),m(38,Ht,23,9,"div"),v(39,"async"),r(),l(40,"div",13)(41,"button",15),w("click",function(){S(e);let c=a(2);return y(c.onSaveButtonClicked())}),n(42),v(43,"async"),r()()(),l(44,"div",16)(45,"div",17),n(46,"Your video\u2019s details"),r(),l(47,"div",18),u(48,"locumsnest-video-preview",36),v(49,"async"),v(50,"async"),v(51,"async"),r()()()}if(t&2){let e=a(),i=a();o(5),s("isDisabled",!1)("category",e==null||e.controls.videoScheduler==null?null:e.controls.videoScheduler.controls.category)("promoCategories",_(6,47,i.promoCategories$)),o(4),s("ngrxUpdateOn",i.NGRX_UPDATE_ON_TYPE.BLUR)("placeholder","Narrow down by department")("options",_(10,49,i.departments$))("multiple",!0)("selectableGroup",!0)("selectableGroupAsModel",!1)("clearable",!0)("groupingProperty","department")("isDisabled",!1)("extraClass","blue-theme")("ngrxFormControlState",e==null?null:e.controls.videoScheduler.controls.specialties),o(3),s("ngrxUpdateOn",i.NGRX_UPDATE_ON_TYPE.BLUR)("placeholder","Narrow down by seniority")("options",_(13,51,i.grades$))("multiple",!0)("selectableGroup",!0)("selectableGroupAsModel",!1)("clearable",!0)("groupingProperty","grade")("isDisabled",!1)("extraClass","blue-theme")("ngrxFormControlState",e==null?null:e.controls.videoScheduler.controls.grades),o(9),s("options",i.importanceOptions)("extraClass","blue-theme")("isDisabled",!1)("ngrxFormControlState",e==null?null:e.controls.videoScheduler.controls.importance)("placeholder","Select the importance of the video"),o(6),s("isFormControl",!0)("isDisabled",!1)("ngrxFormControlState",e==null||e.controls.videoScheduler==null?null:e.controls.videoScheduler.controls.published)("darkTheme",!0),o(3),p(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.value.published?30:-1),o(),p(_(32,53,i.editMode$)!==i.editModes.EXPIRED&&(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.controls.effectiveDate.isInvalid)&&(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.controls.effectiveDate.isDirty)?31:-1),o(2),p(_(34,55,i.editMode$)!==i.editModes.EXPIRED&&(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.controls.effectiveDate.isDirty)&&(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.controls.effectiveDate.isValid)&&(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.controls.expirationDate.isInvalid)&&(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.controls.expirationDate.isDirty)?33:-1),o(2),p(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.isInvalid&&(!(e==null||e.controls.videoScheduler==null)&&e.controls.videoScheduler.isDirty)?35:-1),o(),p(_(37,57,i.hasReserveColourPermission$)?36:-1),o(2),p(_(39,59,i.hasCommunityAdminPermission$)?38:-1),o(3),s("disabled",(e==null?null:e.isInvalid)||!(e!=null&&e.isDirty)),o(),f(" ",i.getSaveButtonText(e,_(43,61,i.hasCommunityAdminPermission$))," "),o(6),s("videoForm",e)("videoScheduler",!0)("selectedPromoCategory",_(49,63,i.selectedVideoCategory$))("hasCommunityAdminPermission",_(50,65,i.hasCommunityAdminPermission$))("hasReserveColourPermission",_(51,67,i.hasReserveColourPermission$))}}function Ut(t,d){if(t&1){let e=I();l(0,"form",2)(1,"ln-stepper",3),w("stepClick",function(c){S(e);let b=a();return y(b.onStepClicked(c))}),q(2,At,20,18,"ng-template",4)(3,$t,52,69,"ng-template",5),r()()}if(t&2){let e=d,i=a();s("ngrxFormState",e),o(),s("activeIndex",i.activeWizardStepIndex())("allStepsReached",(e==null?null:e.value.videoCreation.id)!==null),o(),s("valid",e==null?null:e.controls.videoCreation.isValid),o(),s("valid",e==null?null:e.controls.videoScheduler.isValid)}}var X=(()=>{class t extends Oe{static{this.existingVideoNamespace="existingVideoNamespace"}constructor(){super(),this.router=C(re),this.store=C(R),this.layoutService=C(Ue),this.professionService=C(we),this.gradeService=C(be),this.videoService=C(Je),this.videoWizardService=C(H),this.promoCategoryService=C(it),this.surveyService=C(je),this.authGroupService=C(Pe),this.permissionService=C($e),this.editModes=Ye,this.approvalStatusList=G,this.NGRX_UPDATE_ON_TYPE=ve,this.acceptFormats="video/*",this.activeWizardStep$=this.videoWizardService.getActiveStep(),this.activeWizardStepSignal=le(this.activeWizardStep$,{initialValue:1}),this.activeWizardStepIndex=ie(()=>this.activeWizardStepSignal()-1),this.videoForm$=this.store.pipe(me(Xe)),this.departments$=this.professionService.getProfessionSpecialtyOptions([],this.videoService.getFormProfessionSpecialties()),this.grades$=this.gradeService.getGradeWithProfessionOptions(),this.editMode$=this.videoService.getEditMode(),this.formDisabled$=this.videoService.getFormDisabled(),this.promoCategories$=this.promoCategoryService.getAll(),this.activeSurveyOptions$=this.surveyService.getActiveSurveyOptions(),this.selectedVideoCategory$=this.promoCategoryService.getSelectedVideoCategoryName(),this.approvalStatusesOptions=U(F.ApprovalStatus),this.importanceOptions=U(F.Importance),this.hasCommunityAdminPermission$=this.authGroupService.getOfficerBelongsToAuthGroup(ye.COMMUNITY_ADMIN),this.hasReserveColourPermission$=this.permissionService.hasCurrentPermission("set_communityvideo_reserve_color")}ngOnInit(){this.layoutService.scrollToTop(),this.store.dispatch(new qe({})),this.videoWizardService.initialize()}onClear(){this.store.dispatch(new et({}))}onSaveButtonClicked(){this.store.dispatch(new Qe({namespace:t.existingVideoNamespace}))}getSaveButtonText(e,i){return i?"SUBMIT":e.value.videoScheduler.published?e.userDefinedProperties.videoSaving?"SAVING & SCHEDULING":"SUBMIT FOR REVIEW":"SAVE FOR LATER"}onCancelButtonClick(){this.router.navigateByUrl("/community/dashboard")}onNextPress(e){this.videoWizardService.updateActiveStep(e),this.videoWizardService.completeStep(e-1)}onCardClick(e){this.videoWizardService.updateActiveStep(e)}onStepClicked(e){e<this.activeWizardStepIndex()&&this.onCardClick(e+1)}onRemoveVideo(){this.store.dispatch(new Ke({}))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["locumsnest-video-container"]],standalone:!1,features:[J],decls:5,vars:6,consts:[[1,"video-page"],[1,"video-page--title"],["autocomplete","off",3,"ngrxFormState"],[3,"stepClick","activeIndex","allStepsReached"],["lnStep","","label","Upload your video",3,"valid"],["lnStep","","label","Configure and schedule",3,"valid"],[1,"wizard-step__columns"],[1,"wizard-step__left"],[1,"left-part"],[1,"section-title"],[3,"name","placeholder","disabled","hasBorder","errorMsg","ngrxFormControlState"],[1,"info",3,"tp","tpPlacement","tpVariation","tpDelay"],[3,"removeFile","compact","acceptFormats","isDisabled","file","tempFileUpload"],[1,"wizard-step-actions"],["lnBtn","","variant","secondary",3,"click"],["lnBtn","","variant","primary",3,"click","disabled"],[1,"wizard-step__right"],[1,"wizard-step__right-title"],[1,"preview"],[3,"videoForm"],[1,"left-schedule-part"],[3,"isDisabled","category","promoCategories"],[1,"row","filters"],[1,"col-sm-6"],[3,"clear","ngrxUp
4dateOn","placeholder","options","multiple","selectableGroup","selectableGroupAsModel","clearable","groupingProperty","isDisabled","extraClass","ngrxFormControlState"],[1,"choice-section"],[1,"help-text"],[1,"row"],[1,"col-sm-6","importance"],[3,"options","extraClass","isDisabled","ngrxFormControlState","placeholder"],["title",""],["choice",""],[3,"isFormControl","isDisabled","ngrxFormControlState","darkTheme"],["helpText",""],[1,"date-picker"],[1,"error-message"],[3,"videoForm","videoScheduler","selectedPromoCategory","hasCommunityAdminPermission","hasReserveColourPermission"],[1,"effective-date-time"],[3,"timePlaceholder","datePlaceholder","dateTitle","timeTitle","hasBorder","horizontalAlignment","isDisabled","showCalendarAsPrefix","ngrxFormControlState"],[1,"text-danger"],[1,"admin-section"],[1,"radio-button-group"],[3,"smaller","darkTheme","isDisabled","ngrxFormControlState"],[3,"id","name"],[1,"review-mode"],[1,"flagging-reason"],[3,"placeholder","disabled","hasBorder","ngrxFormControlState"]],template:function(i,c){if(i&1&&(l(0,"div",0),m(1,Nt,2,0,"div",1),v(2,"async"),m(3,Ut,4,5,"form",2),v(4,"async"),r()),i&2){let b;o(),p(_(2,2,c.videoForm$).value.videoCreation.id===null?1:-1),o(2),p((b=_(4,4,c.videoForm$))?3:-1,b)}},dependencies:[De,Te,Ae,Be,Ie,Re,ze,Fe,ke,se,ae,de,fe,Ce,_e,rt,He,Le,Ne,pt,oe],styles:[`.video-page[_ngcontent-%COMP%]{width:1140px;margin:auto auto 30px;position:relative;z-index:1}.video-page--title[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:25px;font-stretch:normal;font-style:normal;line-height:.88;letter-spacing:normal;color:#01a9b8;margin-bottom:20px}.info[_ngcontent-%COMP%]{background-image:url(/assets/icons/i.svg);background-repeat:no-repeat;background-size:cover;height:15px;width:15px;margin-left:5px;cursor:pointer}.importance[_ngcontent-%COMP%]{margin-top:5px}.flagging-reason[_ngcontent-%COMP%]{margin-bottom:10px}.row-style[_ngcontent-%COMP%]{padding-top:15px}.left-part[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;height:297px;width:100%;object-fit:contain;border-radius:5px;position:relative;font-size:12px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#192b4c;margin:0 20px 0 15px;padding-right:50px}.left-part[_ngcontent-%COMP%]     .input.input--border{margin-left:0!important}.left-schedule-part[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;height:100%;width:100%;object-fit:contain;border-radius:5px;position:relative;font-size:12px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#192b4c;margin:0 20px 0 15px;padding-right:50px;padding-bottom:70px}.left-schedule-part[_ngcontent-%COMP%]     .input.input--border{margin-left:0!important}.date-picker[_ngcontent-%COMP%]{display:flex;margin-top:20px}.effective-date-time[_ngcontent-%COMP%]{margin-right:10px}.file-uploader[_ngcontent-%COMP%]{width:50%}.section-title[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:13px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#192b4c;margin-top:10px;margin-bottom:10px;display:flex}.admin-section[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:13px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#192b4c;margin-top:30px;margin-bottom:-15px}.toggle-title[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;width:240px;font-size:12px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#192b4c}.choice-section[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:10px}.filters[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}.radio-button-group[_ngcontent-%COMP%]     .radio-button-group{justify-content:left}.header-media-details[_ngcontent-%COMP%]{height:90px}.attachments-details[_ngcontent-%COMP%]{width:50%}.review-mode[_ngcontent-%COMP%]{width:70%}
4.editor[_ngcontent-%COMP%]{height:300px;display:flex;flex-direction:column;z-index:1;position:relative;margin-bottom:40px}.editor-title[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:13px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#192b4c;margin-top:10px;margin-bottom:10px;display:flex;z-index:10;position:absolute}.preview[_ngcontent-%COMP%]{margin-left:3px;margin-right:20px}.error-message[_ngcontent-%COMP%]{margin-top:5px}.help-text[_ngcontent-%COMP%]{font-style:italic;font-size:10px;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#192b4c;margin-top:5px;width:358px}[_nghost-%COMP%]     .ck-editor__editable_inline{height:280px}.date-range[_ngcontent-%COMP%]{padding-left:15px}.cancel-button[_ngcontent-%COMP%]{margin-left:50px}.wizard-step-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.wizard-step__columns[_ngcontent-%COMP%]{display:flex;gap:24px}@media only screen and (max-width:740px){.wizard-step__columns[_ngcontent-%COMP%]{flex-direction:column}}.wizard-step__left[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:3;min-width:0}.wizard-step__left[_ngcontent-%COMP%]   .wizard-step-actions[_ngcontent-%COMP%]{margin-top:auto}.wizard-step__right[_ngcontent-%COMP%]{flex:1;min-width:0;padding:2px 11px 24px;border-radius:6px;background-color:#5dcbd5}.wizard-step__right-title[_ngcontent-%COMP%]{font-family:Proxima Nova,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:18px 4px 20px;font-size:15px;text-align:center;color:#2c426a}ln-stepper[_ngcontent-%COMP%]{--accordion-item-collapsed-max-width: 50%}
5/*# sourceMappingURL=video-container.component-ZJRZL6WF.css.map */`],changeDetection:0})}}return t})();var jt=[{path:"new",component:X},{path:":id",component:X}];var ut=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=P({type:t})}static{this.\u0275inj=g({imports:[M.forChild(jt),M]})}}return t})();var Mo=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=P({type:t})}static{this.\u0275inj=g({imports:[ne,We,M,ce,xe,Ve,dt,at,ut,mt,ot,lt,nt]})}}return t})();export{Mo as VideoContainerModule};
6//# sourceMappingURL=chunk-PFUZO6S3.js.map
7
8//# debugId=6202abe4-d02d-5f8d-91f6-9e806243cb9c

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.