PageSourceSearch

https://www.theunionsports.com/9940.35ef07069c4a9a6a.js

js theunionsports.com collected 2026-10-04 06:37:36 UTC 4,686 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkthe_union_gk=self.webpackChunkthe_union_gk||[]).push([[9940],{29940:(K,l,o)=>{o.r(l),o.d(l,{shopifyModule:()=>P});var r=o(22864),a=o(88692),d=o(30404),f=o(59302),u=o(67030),y=o(42384),C=o(18318);const g={title:"Account Connected Successfully",desc:"Your Shopify account has been successfully connected.",buttonText:"Proceed"},p={title:"Account Not Connected",desc:"Your Shopify account could not be connected. Please proceed and try again.",buttonText:"Proceed"};var m=o(38023),v=o(13528),t=o(64537),O=o(61354),S=o(36194);const x=function(n){return{type:"button",class:"btn btn-primary",label:n}};function N(n,s){if(1&n){const c=t.EpF();t.TgZ(0,"div",1),t._UZ(1,"img",2),t.TgZ(2,"div",3)(3,"h1"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA(),t.TgZ(7,"app-button",4),t.NdJ("handleButtonClick",function(){t.CHM(c);const i=t.oxw();return t.KtG(i.secondaryBtnClicked())}),t.qZA()()()}if(2&n){const c=t.oxw();t.xp6(1),t.Q6J("originalUrl",c.isConnected?"../../../../assets/images/svg/shopify-connect.svg":"../../../../assets/images/svg/shopify-connect-error.svg")("src",c.isConnected?"../../../../assets/images/svg/shopify-connect.svg":" ../../../../assets/images/svg/shopify-connect-error.svg",t.LSH)("format","webp"),t.xp6(3),t.Oqu(c.SHOPIFY_CONNECT_CONTENT.title),t.xp6(2),t.Oqu(c.SHOPIFY_CONNECT_CONTENT.desc),t.xp6(1),t.Q6J("btnField",t.VKq(6,x,c.SHOPIFY_CONNECT_CONTENT.buttonText))}}const T=[{path:"",component:(()=>{const s=class{constructor(e,i,h,b,F,Y,E){this.headerFooterStateService=e,this.router=i,this.renderer=h,this.route=b,this.apiCallService=F,this.cs=Y,this.location=E,this.shopKeys={shop:"",code:""},this.SHOPIFY_CONNECT_CONTENT=g,this.isConnected=!0,this.redirectUrl=null,this.destroy$=new m.x}ngOnInit(){this.headerFooterStateService.updateState({isHeaderVisible:!1}),this.headerFooterStateService.updateFooterState({isFooterVisible:!1}),this.cs.isBrowser&&(this.route.queryParams.subscribe(e=>{this.shopKeys.code=e?.code,this.shopKeys.shop=e?.shop,this.autoClose=e?.autoclose,this.shopifyState=e?.state}),(!this.shopKeys?.shop||!this.shopKeys?.code)&&this.location.back(),this.router.url?.includes("shopify-connect")&&this.renderer.addClass(document.body,"shopify-bg"),this.shopifyCallBack())}shopifyCallBack(){this.shopKeys?.code&&this.shopKeys?.shop&&this.apiCallService.get(f.$_.shopifyCallBack(this.shopKeys?.code,this.shopKeys?.shop,this.shopifyState),!0).pipe((0,v.R)(this.destroy$)).subscribe({next:e=>{e?.status?this.redirectUrl=e?.data:(this.isConnected=!1,this.SHOPIFY_CONNECT_CONTENT=p,this.cs.showErrorMessage(e.message))},error:e=>{this.isConnected=!1,this.SHOPIFY_CONNECT_CONTENT=p,this.cs.showErrorMessage(e.message)}})}secondaryBtnClicked(){this.cs?.isBrowser&&this.redirectUrl?window.open(this.redirectUrl,"_self"):this.location.back()}ngOnDestroy(){this.headerFooterStateService.updateState({isHeaderVisible:!0}),this.cs?.isBrowser&&this.renderer.removeClass(document.body,"shopify-bg"),this.destroy$.next(),this.destroy$.complete()}};let n=s;return s.\u0275fac=function(i){return new(i||s)(t.Y36(C.P),t.Y36(r.F0),t.Y36(t.Qsj),t.Y36(r.gz),t.Y36(u.F),t.Y36(y.v),t.Y36(a.Ye))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-shopify-connect"]],decls:1,vars:1,consts:[["class","shopify-connect-container d-flex flex-column justify-content-center align-items-center",4,"ngIf"],[1,"shopify-connect-container","d-flex","flex-column","justify-content-center","align-items-center"],["appMobileOptimization","","alt","Shopify Banner","loading","lazy","decoding","async",1,"shopify-banner",3,"originalUrl","src","format"],[1,"shopify-connect-text"],[3,"btnField","handleButtonClick"]],template:function(i,h){1&i&&t.YNc(0,N,8,8,"div",0),2&i&&t.Q6J("ngIf",(null==h.shopKeys?null:h.shopKeys.code)&&(null==h.shopKeys?null:h.shopKeys.shop))},dependencies:[a.O5,O.r,S.J],styles:[".shopify-connect-container[_ngcontent-%COMP%]{padding:20px;background:#ffffff!important;height:calc(100vh - 100px)!important}.shopify-connect-text[_ngcontent-%COMP%]{max-width:600px;text-align:center}.shopify-connect-text[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:900;font-size:32px;line-height:150%;color:#000!important}.shopify-connect-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:18px;line-height:150%;color:#525252!important}@media screen and (max-width: 992px){.shopify-connect-text[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:24px}.shopify-connect-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}"]}),n})()}];let P=(()=>{const s=class{};let n=s;return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[a.ez,d.m,r.Bz.forChild(T)]}),n})()}}]);

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.