PageSourceSearch

https://www.libertytax.ca/_next/static/chunks/2396.a342290f82861223.js

js libertytax.ca collected 2026-10-08 16:10:33 UTC 4,614 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2396],{82396:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var c=e(85893),a=e(25675),s=e.n(a),o=e(93967),l=e.n(o),i=e(25935),r=e(73149),u=e(66737),_=e.n(u);function d(t){let{fields:n}=t;return(0,c.jsx)("div",{className:l()("col-12 col-lg-3",_().main_col),children:(0,c.jsxs)("div",{className:l()("d-flex flex-column align-items-center",_().main_div),children:[(0,c.jsxs)("div",{children:[n.icon&&(0,c.jsx)("div",{className:_().icon_container,children:(0,c.jsx)(s(),{src:n.icon,alt:n.icon_alt_tag,width:60,height:60,className:l()(_().icon),style:{maxWidth:"100%"}})}),n.headline&&(0,c.jsx)("h4",{className:l()(_().headline),children:(0,i.ZP)(n.headline)}),n.copy&&(0,c.jsx)("p",{className:l()("copy",_().copy),children:(0,i.ZP)(n.copy)})]}),n.cta_button_text&&(0,c.jsx)(r.Z,{fields:n})]})})}},73149:function(t,n,e){"use strict";e.d(n,{Z:function(){return m}});var c=e(85893),a=e(67294),s=e(1581),o=e(11163),l=e(41664),i=e.n(l),r=e(25675),u=e.n(r),_=e(93967),d=e.n(_),x=e(25935),h=e(64491),p=e.n(h),b=e(31540);let f=/^https?:\/\//i;function m(t){let{fields:n,offset:e=!1,position:l,dynamicParam:r,v2Styling:_=!1}=t,{asPath:h}=(0,o.useRouter)(),{settings:{cakeParam:m,affiliates:g,user:j}={}}
1=(0,a.useContext)(s.k),{paramKey:y,paramValue:N,anchorValue:k}=r||{},v=r?"?".concat(null!=y?y:"","=").concat(null!=N?N:"").concat(k?"#".concat(k):""):"",w="left"===l,D="right"===l,{cta_button_link:B="",cta_button_text:E="",cta_button_subtext:C="",cta_button_background:Z="",cta_icon:I="",cta2_button_link:F="",cta2_button_text:S="",cta2_button_subtext:R="",cta2_button_background:q="",cta2_icon:K=""}=n||{},P=f.test(B),X=f.test(F),G=((null==B?void 0:B.includes("efile"))||(null==F?void 0:F.includes("efile")))&&(null==h?void 0:h.includes("online"))&&!!(null==m?void 0:m.length),T="",V="";if(g.forEach(t=>{let{expiration:n,passExternal:{active:e,external_url_includes:c,internal_url_includes:a,include_customer_id:s}={},parameter_key:o,parameter_value:l}=t;if(Date.now()<=Date.parse(n)&&e){let t=RegExp(a||".*","g"),n=RegExp(c||".*","g"),e=t.test(h),i=n.test(B),r=n.test(F);e&&i&&(T+="".concat(T.length>0?"&":"?").concat(o,"=").concat(l),j&&s&&!T.includes("&customer")&&(T+="&customer=".concat(j))),e&&r&&(V+="".concat(V.length>0?"&":"?").concat(o,"=").concat(l),j&&s&&!V.includes("&customer")&&(V+="&customer=".concat(j)))}}),G){let t=/[&?]r=/gi;t.test(T)||(T+="".concat(T.length>0?"&":"?","r=").concat(m)),t.test(V)||(V+="".concat(V.length>0?"&":"?","r=").concat(m))}let W=I?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u(),{src:I,alt:"",width:35,height:35,className:d()(p().icon)}),E,(0,c.jsx)("span",{className:d()(p().spacer)})]}):E,z=K?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u(),{src:K,alt:"",width:35,height:35,className:p().icon}),S,(0,c.jsx)("span",{className:p().spacer})]}):S,H=t=>{let{isExternal:n,link:a,affiliates:s,query:o,text:l,background:r,content:u,subtext:h}=t;return(0,c.jsxs)("div",{className:d()("col",p().button_wrapper),children:[n?(0,c.jsx)("a",{target:"_blank",href:"".concat(a).concat(s),rel:"noopener noreferrer","aria-label":"".concat(l," in new tab"),className:d()("btn btn-primary ".concat(r||"red","-button"),p().button,{[p().offset]:e,[p().left]:w,[p().right]:D,[p().tall]:_}),tabIndex:0,children:u}):(0,c.jsx)(i(),{href:"".concat(a).concat(o),className:d()("btn btn-primary ".concat(r||"red","-button"),p().button,{[p().offset]:e,[p().left]:w,[p().right]:D,[p().tall]:_}),tabIndex:0,children:u}),h&&(0,c.jsx)("div",{className:d()("copy",p().subtext),children:(0,x.ZP)(h)})]})},L=()=>(0,c.jsx)(H,{isExternal:P,link:B,affiliates:T,query:v,text:E,background:Z,content:W,subtext:C}),M=()=>(0,c.jsx)(H,{isExternal:X,link:F,affiliates:V,query:v,text:S,background:q,content:z,subtext:R});return E&&S?(0,c.jsxs)(b.X2,{className:d()(p().row),children:[(0,c.jsx)(L,{}),(0,c.jsx)(M,{})]}):E||S?(0,c.jsx)(b.X2,{className:d()(p().row,{"px-0":e||w||D}),children:E?(0,c.jsx)(L,{}):(0,c.jsx)(M,{})}):null}},66737:function(t){t.exports={main_col:"FourthIconCopyStack_main_col__ZsTBq",main_div:"FourthIconCopyStack_main_div__DGW26",headline:"FourthIconCopyStack_headline__N0ZjE",copy:"FourthIconCopyStack_copy__c9NLh"}},64491:function(t){t.exports={row:"ButtonDisplay_row___N_63",button:"ButtonDisplay_button__OtoY9",icon:"ButtonDisplay_icon__Cg_oi",tall:"ButtonDisplay_tall__R_7oK",spacer:"ButtonDisplay_spacer__SIzMX",offset:"ButtonDisplay_offset__9HVdK",left:"ButtonDisplay_left__6l_TU",right:"ButtonDisplay_right__rSx36",subtext:"ButtonDisplay_subtext__hGVKE",button_wrapper:"ButtonDisplay_button_wrapper__BdxZ9"}}}]);

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.