1"use strict";(globalThis.webpackChunkomc_ui_2_0||=[]).push([[5455],{64051(e,r,t){var i,a,l=t(9950);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},n.apply(null,arguments)}function o(e,r){let{title:t,titleId:o,...d}=e;return l.createElement("svg",n({width:22,height:20,viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":o},d),t?l.createElement("title",{id:o},t):null,i||(i=l.createElement("path",{d:"M16 12.7156C16 15.477 13.7614 17.7156 11 17.7156C8.23858 17.7156 6 15.477 6 12.7156C6 9.95415 8.23858 7.71558 11 7.71558C13.7614 7.71558 16 9.95415 16 12.7156Z",fill:"#34404B"})),a||(a=l.createElement("path",{d:"M0 19.7156H22L11 0.715576L0 19.7156ZM12 16.7156H10V14.7156H12V16.7156ZM12 12.7156H10V8.71558H12V12.7156Z",fill:"#F8CA00"})))}const d=l.forwardRef(o);t.p;t.d(r,["h",0,d])},87950(e,r,t){var i,a=t(9950);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},l.apply(null,arguments)}function n(e,r){let{title:t,titleId:n,...o}=e;return a.createElement("svg",l({width:21,height:17,viewBox:"0 0 21 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,i||(i=a.createElement("path",{d:"M9.99 12.1895C10.87 12.1895 11.69 11.9295 12.38 11.4895L14.82 13.9295L16.24 12.5095L13.8 10.0795C14.24 9.37945 14.5 8.56945 14.5 7.68945C14.5 5.19945 12.49 3.18945 10 3.18945C7.51 3.18945 5.5 5.19945 5.5 7.68945C5.5 10.1795 7.51 12.1895 9.99 12.1895ZM10 5.18945C11.38 5.18945 12.5 6.30945 12.5 7.68945C12.5 9.06945 11.38 10.1895 10 10.1895C8.62 10.1895 7.5 9.06945 7.5 7.68945C7.5 6.30945 8.62 5.18945 10 5.18945ZM18.5 0.189453H2.5C1.4 0.189453 0.5 1.08945 0.5 2.18945V14.1895C0.5 15.2895 1.4 16.1895 2.5 16.1895H18.5C19.6 16.1895 20.5 15.2895 20.5 14.1895V2.18945C20.5 1.08945 19.6 0.189453 18.5 0.189453ZM18.5 14.1895H2.5V2.18945H18.5V14.1895Z"})))}const o=a.forwardRef(n);t.p;t.d(r,["h",0,o])},60145(e,r,t){t.d(r,{u:()=>x});var i=t(32673),a=t(87946),l=t.n(a),n=t(48661);const o=t(60552).J1` 2 query ($accountNumber: String!, $documentId: Int!) { 3 filePreview(accountNumber: $accountNumber, documentId: $documentId) { 4 accountNumber 5 documentId 6 file 7 fileName 8 } 9 } 10`;var d=t(42087),c=t(56943),s=t(97939),m=t(73178),p=t(5418),h=t(71316),u=t(66691),g=t(9950);const x=()=>{const[e]=(0,n.B)(),r=(0,d.jL)(),{addNotification:t}=(0,p.y)(m.V),[a]=(0,i._)(o),x=(r,i)=>{t({type:"error",title:e("general:errorTitle","Oops! An error occured."),subtitle:(0,c.oL)(e("createRelease:filePreviewNotAvailable",{fileName:i}),{xCorrelationId:l()(r,"data.meta.x-correlation-id")}),dismissTime:h.wN})};return{fetchFilePreview:(0,g.useCallback)((t,i,n)=>{r((0,u.ro)()),a({variables:{accountNumber:t,documentId:i}}).then(t=>{const i=(0,c.cx)(t);if(i)x(i,n),r((0,s.NV)((null===i||void 0===i?void 0:i.errorMessage)||"An error occured"));else{const a=l()(t,"data.filePreview.file","");!!a.replace(/^data.+base64,/gi,"").trim()?(r((0,s.KH)({file:a,fileName:null!==n&&void 0!==n?n:l()(t,"data.filePreview.fileName","Untitled")})),r((0,s.Q7)())):(x(i,n),r((0,s.NV)(e("general:errorTitle","Oops! An error occured."))))}}).catch(e=>{const t=(0,c.cx)(e);x(t,n),r((0,s.NV)((null===t||void 0===t?void 0:t.errorMessage)||"An error occured"))}).finally(()=>{r((0,u.yr)())})},[r,a,e,t])}}},35455(e,r,t){t.d(r,{A:()=>xe});var i=t(48661),a=t(14491),l=t(86781),n=t(68459),o=t(1093),d=t(95252),c=t(35657);(0,a.Ay)(l.A)``,(0,a.Ay)(n.A)``;const s=(0,a.Ay)(c.In)` 11 color: var(--gray-80-color); 12 width: ${e=>{let{theme:r}=e;return 17/r.defaultRem+"rem"}}; 13 height: ${e=>{let{theme:r}=e;return 17/r.defaultRem+"rem"}}; 14`,m=(0,a.Ay)(o.A)` 15 margin-top: ${e=>{let{theme:r}=e;return 6/r.defaultRem+"rem"}}; 16 17 thead tr th { 18 border: none; 19 background-color: transparent; 20 font-size: ${e=>{let{theme:r}=e;return 16/r.defaultRem+"rem"}}; 21 font-weight: 400; 22 line-height: ${e=>{let{theme:r}=e;return 24/r.defaultRem+"rem"}}; 23 color: var(--gray-90-color); 24 padding: 0; 25 &:first-child { 26 width: ${e=>{let{theme:r}=e;return 10/r.defaultRem+"rem"}}; 27 padding-right: ${e=>{let{theme:r}=e;return 8/r.defaultRem+"rem"}}; 28 } 29 } 30 tbody tr td { 31 border: none; 32 background-color: transparent; 33 font-size: ${e=>{let{theme:r}=e;return 14/r.defaultRem+"rem"}}; 34 font-weight: 400; 35 line-height: ${e=>{let{theme:r}=e;return 24/r.defaultRem+"rem"}}; 36 color: var(--gray-80-color); 37 padding: 0; 38 } 39`,p=a.Ay.div` 40 background-color: var(--gray-10-color); 41 padding: 16px; 42 border-radius: 12px; 43`,h=a.Ay.div` 44 background-color: var(--white-color); 45 padding: 16px; 46 border-radius: 8px; 47`,u=a.Ay.h2.attrs({className:"body-16 bold"})` 48 margin: 0; 49`,g=a.Ay.h3.attrs({className:"body-14 bold"})` 50 margin: 0; 51 display: flex; 52 align-items: center; 53 & > button { 54 margin-left: 12px; 55 } 56`,x=a.Ay.span` 57 position: relative; 58 text-transform: uppercase; 59 &::before { 60 display: ${e=>{let{canedit:r}=e;return r?"block":"none"}}; 61 content: ''; 62 width: ${e=>{let{theme:r}=e;return 6/r.defaultRem+"rem"}}; 63 height: ${e=>{let{theme:r}=e;return 6/r.defaultRem+"rem"}}; 64 border-radius: 50%; 65 background-color: var(--gray-90-color); 66 position: absolute; 67 top: 34%; 68 right: -15.6px; 69 } 70`,v=a.Ay.div` 71 background-color: var(--gray-10-color); 72 padding: 16px; 73 margin-bottom: 16px; 74 height: 100%; 75`,b=a.Ay.h4.attrs({className:"body-14 text-uppercase"})` 76 margin: 0; 77 color: var(--gray-80-color) !important; 78`,f=a.Ay.h5.attrs({className:"body-14 text-uppercase"})` 79 color: var(--gray-80-color) !important; 80 font-size: 12px; 81 line-height: 16px; 82 letter-spacing: 0.8px; 83 margin: 0; 84 margin-top: ${e=>{let{mt:r,theme:t}=e;return r?r/t.defaultRem+"rem":"auto"}}; 85`,j=a.Ay.div.attrs({className:"body-16"})` 86 color: var(--gray-80-color) !important; 87`,y=a.Ay.p.attrs({className:"body-14"})` 88 margin: 0; 89 color: var(--gray-80-color) !important; 90 word-break: break-all; 91`,_=(0,a.Ay)(o.A)` 92 tr { 93 td { 94 vertical-align: middle; 95 padding: ${e=>{let{theme:r}=e;return 16/r.defaultRem+"rem"}}; 96 background-color: var(--gray-20-color); 97 margin-bottom: ${e=>{let{theme:r}=e;return 8/r.defaultRem+"rem"}}; 98 border-radius: ${e=>{let{theme:r}=e;return 4/r.defaultRem+"rem"}}; 99 svg { 100 margin-right: ${e=>{let{theme:r}=e;return 8/r.defaultRem+"rem"}}; 101 } 102 &:first-child { 103 } 104 &:last-child { 105 width: ${e=>{let{theme:r}=e;return 24/r.defaultRem+"rem"}}; 106 button:not(:disabled) { 107 svg { 108 fill: var(--gray-80-color); 109 } 110 } 111 button:disabled { 112 svg { 113 fill: var(--gray-40-color); 114 } 115 } 116 } 117 } 118 } 119`,k=a.Ay.div.attrs({className:"body-16"})` 120 display: flex; 121 align-items: center; 122 margin-top: ${e=>{let{theme:r}=e;return 8/r.defaultRem+"rem"}}; 123`,N=a.Ay.div.attrs({className:"body-16"})` 124 position: relative; 125 margin-right: ${e=>{let{theme:r}=e;return 32/r.defaultRem+"rem"}}; 126 127 color: var(--gray-80-color) !important; 128 &::before { 129 content: ''; 130 width: ${e=>{let{theme:r}=e;return 4/r.defaultRem+"rem"}}; 131 height: ${e=>{let{theme:r}=e;return 4/r.defaultRem+"rem"}}; 132 border-radius: 50%; 133 background-color: var(--gray-90-color); 134 position: absolute; 135 top: 36%; 136 right: -16.8px; 137 } 138`,w=a.Ay.div.attrs({className:"body-16"})` 139 color: var(--gray-80-color) !important; 140`,A=a.Ay.div` 141 display: flex; 142 align-items: center; 143 background-color: var(--warning-light-color); 144 border-radius: 4px 4px 0px 0px; 145 border-bottom: 1px solid var(--warning-color); 146 padding: 10px; 147 148 svg { 149 margin-right: 6px; 150 } 151 152 & > div { 153 display: flex; 154 align-items: center; 155 font-size: 14px; 156 letter-spacing: 0.07em; 157 text-transform: uppercase; 158 line-height: 16px; 159 font-weight: 400; 160 color: var(--gray-90-color); 161 position: relative; 162 top: 2px; 163 } 164 165 button { 166 position: relative; 167 margin-left: 30px; 168 169 &::before { 170 content: ''; 171 position: absolute; 172 top: 40%; 173 left: -18px; 174 width: 4px; 175 height: 4px; 176 border-radius: 50%; 177 background-color: var(--gray-90-color); 178 } 179 } 180`,F=(0,a.Ay)(c.$n)` 181 padding: 0; 182 text-decoration: underline; 183 width: ${e=>
183"lg"===e.$size?"auto":"27px"}; 184 line-height: 24px; 185`,R=(0,a.Ay)(c.$n).attrs({className:"p-0 m-0"})``,$=(0,a.Ay)(d.A)` 186 font-size: 8px; 187 color: var(--gray-80-color); 188 width: ${e=>{let{theme:r}=e;return 20/r.defaultRem+"rem"}}; 189 height: ${e=>{let{theme:r}=e;return 20/r.defaultRem+"rem"}}; 190`;var V=t(9950),C=t(90890),E=t(711),T=t(44414);const D=e=>{let{sectionName:r}=e;const[t]=(0,i.B)(),{changeActiveTab:a,changeReviewMode:l,setScrollToSection:n}=(0,V.useContext)(C.G);return(0,T.jsx)(c.$n,{level:"link",className:"!omc-p-0 !omc-pl-3 !omc-pr-1.5",onClick:()=>{n(r||""),a(E.U.CREATE.id),l(!0)},children:t("regFiling:edit","Edit")})};var B=t(42087),M=t(71213);const G=()=>{const[e]=(0,i.B)(),{reg_sedar:r}=(0,B.GV)(M.RU);return r?(0,T.jsxs)(v,{children:[(0,T.jsx)(b,{className:"bold",children:e("regFiling:sedar","SEDAR+")}),null!==r&&void 0!==r&&r.profileNumber?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(f,{children:e("regFiling:sedarProfileNumber","8 digit SEDAR+ profile number")}),(0,T.jsx)(j,{children:(null===r||void 0===r?void 0:r.profileNumber)||""})]}):null]}):null},I=()=>{const[e]=(0,i.B)(),{reg_cansec:r}=(0,B.GV)(M.RU);return r?(0,T.jsx)(v,{children:(0,T.jsx)(b,{className:"bold",children:e("regFiling:canadianSecuritiesExchange","Canadian Securities Exchange")})}):null},P=()=>{const[e]=(0,i.B)(),{reg_sec:r}=(0,B.GV)(M.RU);return r?(0,T.jsxs)(v,{children:[(0,T.jsx)(b,{className:"bold",children:e("regFiling:form8kOr6k","Form 8-K or 6-K with SEC")}),null!==r&&void 0!==r&&r.profileNumber?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(f,{children:e("regFiling:cikNumber","10 digit cik number")}),(0,T.jsx)(j,{children:(null===r||void 0===r?void 0:r.profileNumber)||""})]}):null,null!==r&&void 0!==r&&r.formType?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(f,{mt:16,children:e("regFiling:formType8k6k","Form type")}),(0,T.jsx)(j,{children:(null===r||void 0===r?void 0:r.formType)||""})]}):null]}):null};var z=t(71316);const O=()=>{const[e]=(0,i.B)(),{reg_nordic:r}=(0,B.GV)(M.RU);return r?(0,T.jsx)(v,{children:(0,T.jsx)(b,{className:"bold",children:e("regFiling:nordicDisclosure","NORDIC Disclosure")})}):null};var H=t(92526),S=t(56943);const L=()=>{const[e]=(0,i.B)(),r=(0,B.GV)(H.cn),t=(0,B.GV)(H.Mv),{headLineofRelease:a,scheduledRelease:l}=(0,B.GV)(M.A5);return a&&l?(0,T.jsxs)(v,{children:[(0,T.jsx)(b,{className:"bold",children:e("regFiling:fileAccompanies","Yes, accompanies a submitted press release").replace("Yes,","")}),(0,T.jsx)(f,{children:e("regFiling:headlineOfRelease","Headline of release*")}),(0,T.jsx)(j,{children:a||""}),(0,T.jsx)(f,{mt:16,children:e("regFiling:scheduleDateOfRelease","Scheduled date of release")}),(0,T.jsx)(k,{className:"m-0",children:l?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(N,{children:e("dateTime:date",{date:null!==l&&void 0!==l?l:"",formatParams:{...(0,S.VD)(t,"medium",null===r||void 0===r?void 0:r.bureau_name)}})}),(0,T.jsx)(w,{children:e("dateTime:time",{date:null!==l&&void 0!==l?l:"",formatParams:{...(0,S.VD)(t,"medium",null===r||void 0===r?void 0:r.bureau_name)}})})]}):(0,T.jsx)(w,{children:e("regFiling:asSoonAsPossible","As soon as possible")})})]}):null},U=e=>{let{canEdit:r}=e;const[t]=(0,i.B)();return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(g,{children:[(0,T.jsx)(x,{canedit:r,children:t("regFiling:filings","Filings")}),r?(0,T.jsx)(D,{sectionName:z.os.filingType}):null]}),(0,T.jsx)(G,{}),(0,T.jsx)(I,{}),(0,T.jsx)(P,{}),(0,T.jsx)(O,{}),(0,T.jsx)(L,{})]})};var Z=t(87950),Y=t(64847),q=t(60145);const J=()=>{const e=(0,B.GV)(M.oY),r=(0,B.GV)(H.tE),{fetchFilePreview:t}=(0,q.u)();return(0,T.jsx)(v,{children:(0,T.jsx)(_,{children:(0,T.jsx)("tbody",{children:null===e||void 0===e?void 0:e.map(e=>(0,T.jsxs)("tr",{children:[(0,T.jsxs)("td",{className:"body-14 omc-flex omc-items-center",children:[(0,T.jsx)(s,{name:"paper"}),e.documentName]}),(0,T.jsx)("td",{children:(0,T.jsx)(R,{level:"link",className:"d-none",onClick:()=>{return i=e.documentId,a=e.documentName,void(i&&r?t(r,i,a):console.warn("Preview cannot be loaded as docID/accountId is invali
190d"));var i,a},disabled:!e.documentName||Y.wN.test(e.documentName),"aria-label":"preview",children:(0,T.jsx)(Z.h,{})})})]},e.documentId))})})})};var X=t(32673),K=t(40662),W=t(72004),Q=t(5418),ee=t(73178);const re=e=>{let{canEdit:r}=e;const[t]=(0,i.B)(),a=(0,B.GV)(H.tE),l=(0,B.GV)(M.oY),{addNotification:n}=(0,Q.y)(ee.V),[o,d]=(0,V.useState)(!1),c=(0,V.useMemo)(()=>null!==l&&void 0!==l&&l.length?l.map(e=>e.documentId):[],[l]),[m]=(0,X._)(K.i2),p=e=>{n({type:"error",title:"",subtitle:(0,S.oL)((null===e||void 0===e?void 0:e.errorMessage)||"",e),dismissTime:z.wN})};return(0,T.jsx)(R,{level:"link","aria-label":t("regFiling:downloadAllDocuments","Download all documents"),...c.length?{onClick:()=>{o||0===c.length||(d(!0),m({variables:{accountNumber:a,documentIds:c}}).then(e=>{const r=(0,S.cx)(e);if(r)p(r);else{const{fileName:r,mimeType:t,stream:i}=e.data.downloadDocument;(0,S.PE)(r,t,i)}}).catch(e=>{const r=(0,S.cx)(e);r&&p(r)}).finally(()=>d(!1)))}}:{},className:(0,W.A)(r?null:"ms-2",c.length?null:"d-none"),children:o?(0,T.jsx)($,{}):(0,T.jsx)(s,{name:"download"})})},te=e=>{let{canEdit:r}=e;const[t]=(0,i.B)();return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(g,{children:[(0,T.jsx)(x,{canedit:r,children:t("regFiling:documents","Documents")}),r?(0,T.jsx)(D,{sectionName:z.os.filingUpload}):null,(0,T.jsx)(re,{})]}),(0,T.jsx)(J,{})]})},ie=()=>{const[e]=(0,i.B)(),r=(0,B.GV)(H.cn),t=(0,B.GV)(H.Mv),a=(0,B.GV)(M.A1);return(0,T.jsxs)(v,{children:[(0,T.jsx)(b,{children:e("regFiling:scheduled","scheduled")}),(0,T.jsx)(k,{children:a?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(N,{children:e("dateTime:date",{date:null!==a&&void 0!==a?a:"",formatParams:{...(0,S.VD)(t,"medium",null===r||void 0===r?void 0:r.bureau_name)}})}),(0,T.jsx)(w,{children:e("dateTime:time",{date:null!==a&&void 0!==a?a:"",formatParams:{...(0,S.VD)(t,"medium",null===r||void 0===r?void 0:r.bureau_name)}})})]}):(0,T.jsx)(w,{children:e("regFiling:asSoonAsPossible","As soon as possible")})})]})};var ae=t(64051);const le=a.Ay.div` 191 .modal-header { 192 background: var(--primary-color-highlight); 193 align-items: center !important; 194 border-bottom: 1px solid var(--primary-color-blue) !important; 195 padding: 16px; 196 .ml-8 { 197 margin-left: 8px; 198 } 199 } 200 .schedule-modal-close-btn { 201 border: none; 202 outline: none; 203 background-color: transparent; 204 &:hover svg { 205 fill: var(--gray-90-color); 206 } 207 } 208 209 .schedule-modal-items { 210 .title { 211 color: var(--gray-80-color); 212 } 213 .original-scheduled { 214 color: var(--gray-90-color); 215 } 216 .schedule-modal-datetime-container { 217 .clock-icon { 218 transform: translate(-188px, 8px) !important; 219 } 220 221 .schedule-modal-date-picker { 222 .react-datepicker { 223 border: none; 224 box-shadow: 225 0px 1px 2px rgba(0, 0, 0, 0.2), 226 0px 5px 10px rgba(0, 0, 0, 0.1); 227 border-radius: 5px; 228 padding: 20px 15px; 229 } 230 .react-datepicker__header { 231 background: transparent; 232 border: none; 233 padding: 0px; 234 } 235 .react-datepicker__triangle { 236 display: none; 237 } 238 button.react-datepicker__navigation.react-datepicker__navigation--previous { 239 left: 70px; 240 top: 14px; 241 } 242 button.react-datepicker__navigation.react-datepicker__navigation--next { 243 top: 14px; 244 right: 70px; 245 } 246 .react-datepicker__navigation-icon--next::before { 247 left: 0px; 248 border-color: var(--gray-80-color); 249 height: 7px; 250 width: 7px; 251 } 252 .react-datepicker__navigation-icon--previous::before { 253 right: 0px; 254 border-color: var(--gray-80-color); 255 height: 7px; 256 width: 7px; 257 } 258 .react-datepicker__current-month { 259 font-weight: 700; 260 font-size: 14px; 261 line-height: 16px; 262 color: var(--gray-90-color); 263 text-transform: uppercase; 264 margin-bottom: 24px; 265 } 266 .react-datepicker__day-name { 267 font-weight: 700; 268 font-size: 14px; 269 line-height: 16px; 270 color: var(--gray-80-color); 271 text-transform: uppercase; 272 width: 40px; 273 margin-bottom: 12px; 274 } 275 .react-datepicker__day { 276 font-weight: 400; 277 font-size: 14px; 278 line-height: 24px; 279 color: var(--gray-90-color); 280 width: 40px; 281 padding: 8px 0; 282 &:hover { 283 border-radius: 0px; 284 background: var(--primary-color-hover); 285 color: var(--white-color) !important; 286 } 287 } 288 .react-datepicker__day--selected { 289 border-radius: 0px; 290 background-color: var(--brand-medium-blue-color); 291 color: var(--white-color) !important; 292 } 293 .react-datepicker__day--disabled { 294 color: var(--gray-shade1-color); 295 &:hover { 296 background: none; 297 } 298 } 299 } 300 .react-datepicker-popper { 301 z-index: 1000; 302 } 303 .schedule-time-picker { 304 input { 305 width: 160px; 306 height: 40px; 307 border: 1px solid var(--gray-60-color); 308 border-radius: 4px; 309 font-weight: 400; 310 font-size: 14px; 311 line-height: 24px; 312 color: var(--gray-90-color); 313 padding-left: 35px; 314 } 315 316 svg.schedule_time_clock { 317 height: 24px; 318 width: 24px; 319 fill: var(--gray-80-color); 320 margin-bottom: 0px !important; 321 } 322 .react-datepicker__input-container { 323 display: flex; 324 align-items: center; 325 } 326 327 .react-datepicker__time-list-item { 328 margin: 0 !important; 329 padding: 10px 20px !important; 330 height: 40px !important; 331 line-height: 20px !important; 332 333 &:hover { 334 color: var(--white-color) !important; 335 } 336 } 337 338 .time-zone-text { 339 position: absolute; 340 right: 15px; 341 top: 0; 342 height: 40px; 343 } 344 345 .react-datepicker__time-container { 346 width: 160px; 347 } 348 .react-datepicker { 349 border: none; 350 box-shadow: 351 0px 1px 2px rgba(0, 0, 0, 0.2), 352 0px 5px 10px rgba(0, 0, 0, 0.1); 353 border-radius: 5px; 354 } 355 .react-datepicker__triangle { 356 display: none; 357 } 358 .react-datepicker__header:not(.react-datepicker__header--has-time-select) { 359 display: none; 360 } 361 .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box { 362 width: 160px; 363 } 364 365 .react-datepicker__time-container 366 .react-datepicker__time 367 .react-datepicker__time-box 368 ul.react-datepicker__time-list 369 li.react-datepicker__time-list-item { 370 font-weight: 400; 371 font-size: 14px; 372 line-height: 24px; 373 color: var(--gray-90-color); 374 text-align: left; 375 margin-left: 6px; 376 &:hover { 377 border-radius: 0px; 378 background: var(--primary-color-hover); 379 } 380 } 381 .react-datepicker__time-container 382 .react-datepicker__time 383 .react-datepicker__time-box 384 ul.react-datepicker__time-list 385 li.react-datepicker__time-list-item--selected { 386 background-color: var(--brand-medium-blue-color); 387 color: var(--white-color); 388 } 389 .react-datepicker__time-container 390 .react-datepicker__time 391 .react-datepicker__time-box 392 ul.react-datepicker__time-list 393 li.react-datepicker__time-list-item--disabled { 394 color: var(--gray-shade1-color); 395 } 396 } 397 .custom-btn { 398 min-width: 160px; 399 width: auto; 400 height: 40px; 401 background: transparent; 402 border: 1px solid var(--gray-60-color); 403 border-radius: 4px; 404 padding: 8px; 405 display: flex; 406 align-items: center; 407 p { 408 color: var(--gray-90-color); 409 font-size: 14px; 410 font-weight: 400; 411 margin-bottom: -4px; 412 padding: 0 8px; 413 } 414 input { 415 color: var(--gray-60-color); 416 font-size: 14px; 417 font-weight: 400; 418 border: none; 419 height: 100%; 420 width: 100%; 421 top: 0px; 422 } 423 svg { 424 fill: var(--gray-80-color); 425 } 426 } 427 } 428 } 429`,ne=(0,a.Ay)(d.A)`
430 width: 20px; 431 height: 20px; 432`;var oe=t(45869),de=t(95500),ce=t(41397),se=t(95912);const me=e=>{let{isOpen:r,closeModal:t}=e;const[a]=(0,i.B)(),l=(0,B.jL)(),n=(0,B.GV)(H.cn),o=(0,B.GV)(H.Mv),d=(0,B.GV)(M.A1),s=(0,B.GV)(M.j$),m=(0,B.GV)(H.tE),{headLineofRelease:p,scheduledRelease:h,filingType:u}=(0,B.GV)(M.A5),g=(0,B.GV)(M.CX),{addNotification:x}=(0,Q.y)(ee.V),[v,b]=(0,V.useState)(""),[f,{loading:j}]=(0,B.XO)(K.Ee),y=e=>{x({type:"error",title:a("general:errorTitle"),subtitle:(0,S.oL)(a("general:errorFallbackHeading"),e),dismissTime:z.wN})},_=()=>t();return(0,T.jsx)(se.Jlq,{open:r,onOpenChange:t,children:(0,T.jsx)(se._cd,{className:"!omc-p-0 !omc-gap-0 !omc-max-w-[613px]",children:(0,T.jsx)(se.Xhe,{children:(0,T.jsxs)(le,{children:[(0,T.jsxs)(se.wMf,{className:"omc-flex !omc-flex-row !omc-items-center omc-justify-between",children:[(0,T.jsx)(se.fCQ,{children:a("createRelease:scheduleModalHeaderTitle","Schedule Update")}),(0,T.jsx)(se.t2X,{children:(0,T.jsx)(se.ben,{onClick:_,variant:"tertiary",size:"sm",className:"schedule-modal-close-btn p-0",children:(0,T.jsx)(c.In,{name:"close",fill:"grey"})})})]}),(0,T.jsxs)("div",{className:"omc-px-4 omc-py-5",children:[(0,T.jsx)("p",{className:"omc-text-xl omc-font-bold",children:a("createRelease:scheduleModalBodyTitle","Please accept or edit the updated release schedule")}),(0,T.jsx)("p",{className:"omc-text-lg",children:a("createRelease:scheduleModalBodyDesc","Your scheduled distribution time has been updated to meet our minimum of 30 approximately minutes from order submission. Would you like to keep this updated time?")}),(0,T.jsxs)("div",{className:"schedule-modal-items",children:[(0,T.jsx)("p",{className:"omc-text-lg omc-uppercase omc-tracking-[0.07em] omc-mb-2 omc-mt-5",children:a("createRelease:scheduledModalBodyTitle","original schedule")}),(0,T.jsxs)("div",{children:[(0,T.jsx)("span",{className:"omc-text-xl",children:a("dateTime:date",{date:null!==d&&void 0!==d?d:"",formatParams:{...(0,S.VD)(o,"medium",null===n||void 0===n?void 0:n.bureau_name)}})}),(0,T.jsx)("span",{className:"omc-text-xl omc-ps-4",children:a("dateTime:time",{date:null!==d&&void 0!==d?d:"",formatParams:{...(0,S.VD)(o,"medium",null===n||void 0===n?void 0:n.bureau_name)}})})]}),(0,T.jsxs)("div",{className:"schedule-modal-datetime-container omc-mt-5",children:[(0,T.jsx)("p",{className:"omc-text-lg omc-uppercase omc-tracking-[0.07em] omc-mb-2",children:a("createRelease:updatedScheduleModalBodyTitle","updated schedule")}),(0,T.jsx)(oe.A,{disablePreDate:!0,updateOutDatedTime:!0,selectedDate:d,onChange:b},"filingUpdateModal")]})]})]}),(0,T.jsxs)(se.s$1,{children:[(0,T.jsx)(se.ben,{"data-testid":"close-modal",size:"md",variant:"tertiary",onClick:_,children:a("createRelease:scheduleModalFooterClsBtn","Cancel")}),(0,T.jsxs)(se.ben,{"data-testid":"accept-new-schedule",className:"ms-2",size:"md",variant:"primary",...j?{}:{onClick:()=>{Object.values(g).every(e=>e)?s&&s>0&&(l((0,de.Nb)(z.mH.reg_filing_details_filingdate)),f({variables:{accountNumber:m,draftOrderId:s,headLineofRelease:p,scheduledRelease:h,filingType:u,filingDate:v}}).then(e=>{const r=(0,S.cx)(e);r?y(r):l((0,de.m$)({path:"",value:(0,ce.get)(e,"data.saveRegFilingDetails",{})}))}).catch(e=>{const r=(0,S.cx)(e);r&&y(r)}).finally(()=>{l((0,de.YE)(z.mH.reg_filing_details_filingdate)),_()})):l((0,de.di)())}},children:[j?(0,T.jsx)(ne,{className:"me-3"}):null,a("createRelease:scheduleModalFooterAcptBtn","Accept New Schedule")]})]})]})})})})},pe=e=>{let{canEdit:r}=e;const[t]=(0,i.B)(),a=(0,B.GV)(M._s),[l,n]=(0,V.useState)(!1);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(g,{children:[(0,T.jsx)(x,{canedit:r,children:t("regFiling:filingDate","Filing date")}),r?(0,T.jsx)(D,{sectionName:z.os.filingDate}):null]}),(0,T.jsxs)(A,{"data-testid":"warning-wrapper",className:(0,W.A)(a?"":"d-none"),children:[(0,T.jsx)(ae.h,{}),(0,T.jsx)("div",{children:t("regFiling:filingDateWarningTitle","Filing date update required")}),(0,T.jsx)(F,{"data-testid":"distribution-warnings",level:"link",$size:"lg",onClick:()=>n(!0),children:t("regFiling:filingDateWarningBtn","Update")})]}),(0,T.jsx)(ie,{}),(0,T.jsx)(me,{isOpen:l,closeModal:()=>n(!1)})]})},he=()=>{const[e]=(0,i.B)(),{firstName:r,lastName:t,phoneNumber:a,afterHoursPhoneNumber:l}=(0,B.GV)(M.kp),{clientEmailId:n}=(0,B.GV)(M.ic);return(0,T.jsxs)(v,{children:[(0,T.jsx)(b,{children:e("regFiling:contacts","Contacts")}
432),(0,T.jsxs)(m,{children:[(0,T.jsx)("thead",{children:(0,T.jsxs)("tr",{children:[(0,T.jsx)("th",{scope:"col","aria-label":e("regFiling:contactIcon","Icon"),children:(0,T.jsx)(s,{name:"contact-list"})}),(0,T.jsx)("th",{scope:"col",children:e("regFiling:contactInformation","Contact Information")}),(0,T.jsx)("th",{scope:"col",children:e("regFiling:contactValue","Value")})]})}),(0,T.jsxs)("tbody",{children:[(0,T.jsxs)("tr",{children:[(0,T.jsx)("td",{}),(0,T.jsx)("td",{children:e("regFiling:firstName","First Name")}),(0,T.jsx)("td",{children:r})]}),(0,T.jsxs)("tr",{children:[(0,T.jsx)("td",{}),(0,T.jsx)("td",{children:e("regFiling:lastName","Last Name")}),(0,T.jsx)("td",{children:t})]}),(0,T.jsxs)("tr",{children:[(0,T.jsx)("td",{}),(0,T.jsx)("td",{children:e("regFiling:phoneNumber","Phone Number")}),(0,T.jsx)("td",{children:(0,S.xJ)(a)})]}),(0,T.jsxs)("tr",{children:[(0,T.jsx)("td",{}),(0,T.jsx)("td",{children:e("regFiling:aftrHoursNumber","After Hours Number")}),(0,T.jsx)("td",{children:(0,S.xJ)(l)})]}),(0,T.jsxs)("tr",{children:[(0,T.jsx)("td",{}),(0,T.jsx)("td",{children:e("createRelease:SummaryEmail","Email")}),(0,T.jsx)("td",{children:n})]})]})]})]})},ue=()=>{const[e]=(0,i.B)(),r=(0,B.GV)(M.hq);return r?(0,T.jsxs)(v,{children:[(0,T.jsx)(b,{children:e("regFiling:specialInstructions","special instructions")}),(0,T.jsx)(y,{children:r})]}):null},ge=e=>{let{canEdit:r}=e;const[t]=(0,i.B)();return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(g,{children:[(0,T.jsx)(x,{canedit:r,children:t("regFiling:additionalInformation","additional information")}),r?(0,T.jsx)(D,{sectionName:z.os.filingContact}):null]}),(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{children:(0,T.jsx)(he,{})}),(0,T.jsx)("div",{children:(0,T.jsx)(ue,{})})]})]})},xe=e=>{let{canEdit:r}=e;const[t]=(0,i.B)();return(0,T.jsx)(p,{children:(0,T.jsxs)(h,{children:[(0,T.jsx)(u,{className:"!omc-mb-3",children:t("regFiling:reviewFinancialCompTitle","Review Financial Compliance Documents")}),(0,T.jsx)(U,{canEdit:r}),(0,T.jsx)(te,{canEdit:r}),(0,T.jsx)(pe,{canEdit:r}),(0,T.jsx)(ge,{canEdit:r})]})})}},1093(e,r,t){var i=t(48738),a=t.n(i),l=t(9950),n=t(44089),o=t(44414);const d=l.forwardRef((e,r)=>{let{bsPrefix:t,className:i,striped:l,bordered:d,borderless:c,hover:s,size:m,variant:p,responsive:h,...u}=e;const g=(0,n.oU)(t,"table"),x=a()(i,g,p&&`${g}-${p}`,m&&`${g}-${m}`,l&&`${g}-${"string"===typeof l?`striped-${l}`:"striped"}`,d&&`${g}-bordered`,c&&`${g}-borderless`,s&&`${g}-hover`),v=(0,o.jsx)("table",{...u,className:x,ref:r});if(h){let e=`${g}-responsive`;return"string"===typeof h&&(e=`${e}-${h}`),(0,o.jsx)("div",{className:e,children:v})}return v});t.d(r,["A",0,d])}}]);
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.