PageSourceSearch

https://www.ausmed.co.uk/chunk-OTC5HNGP.js

js ausmed.co.uk collected 2026-10-07 03:10:39 UTC 2,105 bytes, 1 lines download raw bytes

1import{a as j}from"./chunk-L5USMW7B.js";import{l as k}from"./chunk-OVQTRCKN.js";import{e as I}from"./chunk-LGOASILU.js";import{b as R}from"./chunk-JIEW6C54.js";import{L as S}from"./chunk-HK2TCSTL.js";import{e as l}from"./chunk-PCGUCIEY.js";import{c as v}from"./chunk-3QEP6NMN.js";import{D as g,N as d}from"./chunk-7WAXKT5I.js";import{a as f}from"./chunk-KIBC2ZGT.js";import{D as u,E as m,M as p,la as h,y as i}from"./chunk-T2TVCV7P.js";import{a as n,b as a}from"./chunk-BBHHUGUF.js";function w(t,e){return t.get(S).isAuthenticated()?t.get(I).fetchProgressByID(e.resourceID,!1).pipe(u(r=>x(r))):i(null)}function x(t){return t&&(t.fn_documented&&"documented"||t.fn_finished&&"finished"||t.fn_continue&&"continue")||"pristine"}var L=class{constructor(e,s,r){this.injector=e;this.getResource=s;this.viewContext=r;this.analytics=this.injector.get(v);this.apService=this.injector.get(k);this._trackViewed=c(this.injector,e=>this.track("L-resource-viewed"));this._trackStarted=c(this.injector,e=>this.track("L-resource-started",{},!0));this._trackFinished=c(this.injector,e=>this.track("L-resource-finished",{},!0));this._fetchSegmentResource=l(e=>R(this.injector,this.getResource()));this.trackViewed=()=>this._trackViewed(this.getResource().resourceID);this.trackStarted=()=>this._trackStarted(this.getResource().resourceID);this.trackFinished=()=>this._trackFinished(this.getResource().resourceID);this.fetchSegmentResource=()=>this._fetchSegmentResource(!1,this.getResource().resourceID);this.fetchSegResLearningStatus=()=>w(this.injector,this.getResource())}track(e,s,r){m([this.fetchSegmentResource(),r?p(1e3).pipe(h(()=>this.fetchSegResLearningStatus())):i(null),r?this.apService.getBelongedPassports$(this.getResource().resourceID):i(null)]).subscribe(([o,b,P])=>{let _=n(a(n({resource:o},d(o,"title","duration","url","coverImageUrl","provider")),{context:this.viewContext,status:r?b:void 0,relevantPassports:r?g(P,"name"):void 0}),s);this.analytics.track(e,_)})}setViewContext(e){e&&(this.viewContext=e)}
1resetViewContext(e){this.viewContext=e}};function c(t,e){return f(t)?j(e):e}export{L as a,c as b};

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.