PageSourceSearch

https://www.jared.com/scripts/signet-video.module-5X3P32LV.js

js jared.com collected 2026-09-25 20:43:30 UTC 4,051 bytes, 1 lines download raw bytes

1import{fa as M,v as z}from"./chunk-WFKL35DD.js";import"./chunk-2CBKXUP7.js";import{Pa as B,Qa as A,fa as w,s as T}from"./chunk-DM3NC7AB.js";import{$b as h,Bb as y,Bc as o,Cc as l,Ce as O,Dc as c,Ec as d,Ee as E,Fa as b,Hd as U,Ic as I,Id as D,Jb as r,Jc as x,Oe as V,Rc as s,Wb as a,a as C,ac as _,sd as u,ta as g,uc as m,wa as f,wc as p}from"./chunk-WVBH4ZDA.js";import"./chunk-YDOXD4O3.js";function P(i,t){if(i&1&&(I(0,1),l(1,"video",3),d(2,"source",4),c(),x()),i&2){let e=s(2);o("ngStyle",e.setStyles()),r(),o("ngStyle",e.setStyles())("title",e.videoTitle)("controls",e.showControls)("autoplay",e.autoPlay)("muted",!0)("poster",e.posterUrl),r(),o("src",u(e.videoUrl))}}function G(i,t){if(i&1&&(l(0,"video",5),d(1,"source",4),c()),i&2){let e=s(2),n=s();o("ngStyle",n.setStyles())("title",n.videoTitle)("muted",!0)("poster",n.coverImage==null?null:n.coverImage.url)("controls",n.showControls)("autoplay",(e.coverImage===null||e.coverImage===void 0)&&n.autoPlay),r(),o("src",u(n.videoUrl))}}function N(i,t){if(i&1&&(l(0,"video",5),d(1,"source",4),c()),i&2){let e=s(3);o("ngStyle",e.setStyles())("title",e.videoTitle)("muted",!0)("poster",e.mediaUrl)("controls",e.showControls)("autoplay",e.mediaUrl===null&&e.autoPlay),r(),o("src",u(e.videoUrl))}}function $(i,t){if(i&1&&m(0,G,2,8,"video",5)(1,N,2,8,"video",5),i&2){let e=s(2);p(e.mediaUrl?1:0)}}function L(i,t){if(i&1&&(l(0,"div",0),m(1,P,3,9,"ng-container",1)(2,$,2,1),d(3,"div",2),c()),i&2){let e=s();r(),p(e.isvideoAfterLoadEnabled?1:2),r(2),o("innerHtml",e.sanitizedContentOverlay,y)}}var v=class i{constructor(t,e,n,S){this.component=t;this.occEndpointsService=e;this.sanitized=n;this.siteService=S;this.baseUrl="";this.siteName="";this.subscriptions$=new C;this.data$=this.component.data$.pipe(f(t=>{this.setControls(t),this.setImageData(t),t.contentOverlay&&(this.sanitizedContentOverlay=this.sanitized.bypassSecurityTrustHtml(t.contentOverlay))}))}ngOnInit(){this.getSignetBaseSiteData()}getSignetBaseSiteData(){this.baseUrl=this.occEndpointsService.getBaseUrl(),this.baseSiteServiceGetActiveSubscription=this.siteService.getActive().subscribe(e=>this.siteName=e);let t=this.siteService.getActive().pipe(g(e=>this.siteService.get(e))).subscribe(e=>this.baseStoreSiteData=e);this.isvideoAfterLoadEnabledScript(),this.subscriptions$.add(this.baseSiteServiceGetActiveSubscription),this.subscriptions$.add(t)}isvideoAfterLoadEnabledScript(){this.isvideoAfterLoadEnabled=this.baseStoreSiteData?.baseStore?.isvideoAfterLoadEnabled}setControls(t){this.calculatedWidth=t?.width??"100",this.calculatedHeight=t?.height??"100",this.showControls=t.showControls==="true",this.autoPlay=t.autoPlay==="true",this.posterUrl=t.mediaUrl?t.mediaUrl:t.coverImage!=null?t.coverImage.url:"",this.videoUrl=t.videoUrl,this.mediaUrl=t.mediaUrl,this.contentOverlay=t.contentOverlay,this.videoTitle=t.videoTitle?t.videoTitle:""}setStyles(){return{width:this.calculatedWidth+"%",height:this.calculatedHeight+"%"}}setImageData(t){t.coverImage&&("url"in t.coverImage?this.coverImage=t.coverImage:this.coverImage=t.coverImage)}ngOnDestroy(){this.subscriptions$.unsubscribe()}static{this.\u0275fac=function(e){return new(e||i)(a(z),a(A),a(T),a(B))}}static{this.\u0275cmp=h({type:i,selectors:[["app-signet-video"]],standalone:!1,decls:2,vars:3,consts:[[1,"se-component","video__wrap","image-text-tile","smartedit-component"],[1,"js-video-container",3,"ngStyle"],[1,"image-text",3,"innerHtml"],["loop","","playsinline","",1,"js-lazy-video",3,"ngStyle","title","controls","autoplay","muted","poster"],["type","video/mp4",3,"src"],["loop","","playsinline","",1,"video-component",3,"ngStyle","title","muted","poster","controls","autoplay"]],template:function(e,n){if(e&1&&(m(0,L,4,2,"div",0),U(1,"async")),e&2){let S;p((S=D(1,1,n.data$))?0:-1,S)}},dependencies:[O,E],encapsulation:2})}};var H=class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=_({type:i})}static{this.\u0275inj=b({providers:[w({cmsComponents:{SignetVideoComponent:{component:v}}})],imports:[V,M]})}};export{H as SignetVideoModule};

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.