PageSourceSearch

https://www.ausmed.com/chunk-FJAPFCHJ.js

js ausmed.com collected 2026-10-02 02:59:41 UTC 4,792 bytes, 1 lines download raw bytes

1import{a as h}from"./chunk-J5RTUER6.js";import{c as R}from"./chunk-TQPKTQAL.js";import{a as _}from"./chunk-PCGUCIEY.js";import{i as x}from"./chunk-FAGCLODN.js";import{e as P}from"./chunk-MHLI7EB3.js";import{A as b,m as y}from"./chunk-OD4FXCMW.js";import{Fc as I,Ib as u,Ob as D,Wa as f,Wc as o,Xc as d,Yc as m,oc as c,pc as a,qc as i,rc as k,ud as v,wd as T,zb as t}from"./chunk-T2TVCV7P.js";import{g as S}from"./chunk-BBHHUGUF.js";var M=(e=>(e.assigned="Assigned",e.completed="Completed",e.discarded="Discarded",e))(M||{});var O=(n=>(n.meeting="Meeting",n.assessment="Assessment",n))(O||{}),w=(r=>(r.overdue="overdue",r.dueSoon="due-soon",r.due="due",r.completed="completed",r.pending="pending",r))(w||{}),B={completed:"success",due:"weak-light","due-soon":"info",overdue:"danger",pending:"info"},j={Assessment:"Self Assessment",Meeting:"Meeting"};var l=S(_());var C=class g{constructor(s){this.localisedDate=s;this.taskIconDict={due:{name:"controls-stop",theme:"regular",color:"text-neutral-800"},"due-soon":{name:"flag-1",theme:"bold",color:"text-blue-800"},completed:{name:"check-2",theme:"regular",color:"text-green-800"},overdue:{name:"alert-triangle",theme:"bold",color:"text-red-800"},pending:{name:"notes-paper-text",theme:"bold",color:"text-blue-800"}}}ngOnChanges(s){s.data&&this.data&&(this.dueStatus=this.data.dueStatus,this.badgeText=this._generateBadgeText(this.data.dueStatus,this.data.dueDate,this.data.completeDate))}handleButtonClick(){this.data.action&&this.data.action()}_generateBadgeText(s,n,e){let p=Math.ceil((0,l.default)(n).diff((0,l.default)(),"days",!0));switch(s){case"overdue":return`${-p} days overdue`;case"due":return`Due in ${p} days`;case"due-soon":return p===0?"Due today":`${p} days left to complete`;case"completed":return`Completed ${this.localisedDate.transform(e,"dd MMM yyyy")}`;case"pending":return"Awaiting manager feedback"}}static{this.\u0275fac=function(n){return new(n||g)(u(R))}}static{this.\u0275cmp=D({type:g,selectors:[["performance-task-card"]],inputs:{data:"data"},features:[f],decls:21,vars:15,consts:[[1,"task-container","d-block","d-lg-flex","align-items-center","justify-content-between","gap-3","text-decoration-none",3,"routerLink"],[1,"task-info","d-flex","align-items-center","mb-3","mb-lg-0","gap-4","w-100"],[1,"pr-card-icon","d-none","d-sm-flex","align-items-center","justify-content-center",3,"ngClass"],["size","f-small","bottomOffset","1",3,"name","theme","color"],[1,"task-description","d-flex","d-flex","flex-column","flex-xl-row","justify-content-between","align-items-xl-center","w-100"],[1,"f-small","fw-medium","text-neutral-900","mb-0"],[1,"task-meta","f-paragraph","text-neutral-700","f-caption","mb-0"],[1,"text-neutral-400","mx-2"],[1,"d-flex","justify-content-between","align-items-center","justify-content-lg-end"],[1,"mr-4",3,"status"],[1,"nowrap","btn","btn-sm",3,"click","ngClass"]],template:function(n,e){n&1&&(a(0,"a",0)(1,"div",1)(2,"div",2),k(3,"ui-streamline-icon",3),i(),a(4,"div",4)(5,"p",5),o(6),i(),a(7,"p",6)(8,"span"),o(9),i(),a(10,"span")(11,"span",7),o(12,"\u2022"),i(),a(13,"span"),o(14),v(15,"date"),i()()()()(),a(16,"div",8)(17,"ui-status-badge",9),o(18),i(),a(19,"button",10),I("click",function(r){return e.handleButtonClick(),r.preventDefault(),r.stopPropagation()}),o(20),i()()()),n&2&&(c("routerLink",e.data.routerLink),t(2),c("ngClass","pr-card-icon__"+e.dueStatus),t(),c("name",e.taskIconDict[e.dueStatus].name)("theme",e.taskIconDict[e.dueStatus].theme)("color",e.taskIconDict[e.dueStatus].color),t(3),d(e.data.title),t(3),d(e.data.taskType),t(5),m("Due by ",T(15,12,e.data.dueDate,"dd MMM yyyy")),t(3),c("status",e.data.dueBadgeStyle),t(),m(" ",e.badgeText," "),t(),c("ngClass",e.data.btnStyle),t(),d(e.data.btnText))},dependencies:[x,y,P,h,b],styles:[".task-container[_ngcontent-%COMP%]{border-radius:10px;border:1px solid #DEE1E7;outline:0 solid #CED2DA;padding:12px;margin-bottom:-1px;background:#fff}.task-container[_ngcontent-%COMP%]:hover{background:#f8f9fb;outline:1px solid #CED2DA;position:relative}.pr-card-icon[_ngcontent-%COMP%]{min-width:36px;width:36px;height:36px;border-radius:4px}.pr-card-icon.pr-card-icon__due-soon[_ngcontent-%COMP%]{background-color:#dee9fc;color:#2353b4}.pr-card-icon.pr-card-icon__due[_ngcontent-%COMP%]{background-color:#f8f9fb;color:#6f7786}.pr-card-icon.pr-card-icon__overdue[_ngcontent-%COMP%]{background-color:#fdeae3;color:#d7440e}.pr-card-icon.pr-card-icon__completed[_ngcontent-%COMP%]{background-color:#dcf5e6;color:#338052}.pr-card-icon.pr-card-icon__pending[_ngcontent-%COMP%]{background-color:#dee9fc;color:#2353b4}
1.text-separator[_ngcontent-%COMP%]{font-size:10px;margin-right:8px;margin-left:8px;line-height:1}.task-description[_ngcontent-%COMP%]{gap:4px}"],changeDetection:0})}};export{M as a,O as b,w as c,B as d,j as e,C as f};

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.