https://www.realcheckstubs.com/_next/static/chunks/pages/ordered-paystubs/[hash]-eb408995256bbec7.js
1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4194eb02-1021-49d1-91c5-c3b5e54cd7e7",t._sentryDebugIdIdentifier="sentry-dbid-4194eb02-1021-49d1-91c5-c3b5e54cd7e7")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[124,1941,8608],{7373:(t,e,a)=>{"use strict";a.d(e,{$8:()=>_,$g:()=>p,Bz:()=>E,CS:()=>v,Cj:()=>d,GZ:()=>k,Ld:()=>P,Lk:()=>w,Mh:()=>j,Sb:()=>N,VD:()=>s,_b:()=>r,_h:()=>C,a0:()=>A,aQ:()=>h,ae:()=>l,b6:()=>c,ei:()=>m,ey:()=>g,f3:()=>f,gL:()=>u,hM:()=>S,lw:()=>y,mw:()=>x,oH:()=>T,q6:()=>i,qn:()=>b,zX:()=>B});var n=a(79398),o=a(82056);function r(){return(0,n.Em)({path:"/personal/company"})}function s(t){return(0,n.Em)({path:"/personal/company",method:"POST",body:t})}function l(t){let{base64File:e,type:a,captchaToken:o,checkOnly:r}=t;return(0,n.Em)({path:"/api/company/image",method:"POST",host:"",body:{base64File:e,type:a,captchaToken:o,checkOnly:r}})}function i(){return(0,n.Em)({path:"/personal/company/image/list"})}function d(t){return(0,n.Em)({path:"/personal/company/image/delete",method:"POST",body:{file:t}})}function u(t){return(0,n.Em)({path:"/personal/profile",token:t})}function c(t){return(0,n.Em)({path:"/personal/profile",method:"POST",body:t})}function _(){return(0,n.Em)({path:"/personal/employee"})}async function h(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,l={page:t,start_at:e,end_at:a,orderBy:r};s&&"All"!==s&&(l.email=s);let i=await (0,n.Em)({path:"/personal/stubs",query:l});return(0,o.t)(i)}async function b(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,l={page:t,start_at:e,end_at:a,orderBy:r};s&&"All"!==s&&(l.email=s);let i=await (0,n.Em)({path:"/personal/forms",query:l});return(0,o.R)(i)}function p(){return(0,n.Em)({path:"personal/stubs/additional-email"})}function m(t){return(0,n.Em)({path:"/personal/employee",method:"POST",body:t})}function f(t,e,a){return(0,n.Em)({path:"/personal/profile-update-password",method:"POST",body:{old_password:t,password:e,password_confirmation:a}})}function y(){return(0,n.Em)({path:"/personal/delete",method:"DELETE"})}function x(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;return(0,n.Em)({path:"/personal/payment/logs",query:{page:t,start_at:e,end_at:a,limit:r??20,orderBy:o??"desc"}})}function v(t,e,a){return(0,n.Em)({path:`/personal/stubs/${e}/feedback`,method:"POST",body:{comment:a??"Satisfied.",satisfied:t}})}function g(t){return(0,n.Em)({path:"/user",token:t})}function T(t,e,a,o){return(0,n.Em)({path:`/personal/edit-request/${t}/create`,method:"POST",body:{order_product_hash:a,config_access:JSON.stringify(e),type:o}})}function w(){return(0,n.Em)({path:"/personal/subscription"})}function C(t,e){return(0,n.Em)({path:"/personal/subscription/select",method:"POST",body:{product_price:t,product_name:e}})}function E(t,e){return(0,n.Em)({path:"/personal/subscription/update",method:"POST",body:{product_price:t,product_name:e}})}function j(t){return(0,n.Em)({path:"/personal/subscription/cancel",method:"POST",body:{product_name:t}})}function B(t){return(0,n.Em)({path:"/personal/subscription/resume",method:"POST",body:{product_name:t}})}function P(){return(0,n.Em)({path:"/user"})}function S(t,e){return(0,n.Em)({path:"/api/news/unsubscribe",method:"POST",host:"",body:{email:t,subscribe:0,captchaToken:e}})}function N(t){return(0,n.Em)({path:"/api/news/subscribeNews",method:"POST",host:"",body:{...t}})}function k(t){return(0,n.Em)({path:"/api/news/subscribeNewsAsGuest",host:"",method:"POST",body:{...t}})}function A(t){return(0,n.Em)({path:"/check-subscribe",method:"POST",body:{email:t}})}},8792:(t,e,a)=>{"use strict";a.d(e,{O:()=>r,q:()=>o});let n="oldCustomer";function o(){"u">typeof document&&(document.cookie=`${n}=true; path=/; max-age=7776000; SameSite=Lax`)}function r(){return!("u"<typeof document)&&RegExp(`(?:^|;\\s*)${n}=`).test(document.cookie)}},36574:(t,e,a)=>{"use strict";a.d(e,{B1:()=>b,D4:()=>v,Fe:()=>p,MU:()=>c,N4:()=>y,OT:()=>m,SC:()=>h,T9:()=>d,TV:()=>i,YU:()=>g,bV:()=>l,d$:()=>s,iS:()=>u,uP:()=>_,uZ:()=>f,w$:()=>T,zY:()=>x});var n=a(79398),o=a(8792),r=a(82056);function s(t){let e=t?`/products?type=${t}`:"/products";return(0,n.Em)({path:e,method:"GET"})}function l(t){return(0,n.Em)({path:"/api/order",method:"POST",host:"",body:{cart:t.cart,captchaToken:t.captchaToken}})}function i(t){return(0,n.Em)({path:`/api/order/session-status?id=${encodeURIComponent(t)}`,method:"GET",host:""})}function d(t){return(0,n.Em)({path:"/api/order/upsell",host:"",method:"POST",body:t})}function u(t,e){return(0,n.Em)({path:"/api/order/draft",host:"",method:e,body:t})}function c(t){return(0,n.Em)({path:`/api/order/draft/${t}`,host:"",method:"GET"})}function _(t,e,a,o,r){return(0,n.Em)({path:"/api/order/crossSale",host:"",method:"POST",body:{additionalHash:t,product_id:e,product_price_id:a,quantity:o,data:r}})}function h(t){return(0,n.Em)({path:`/order/data/${t.id}`,method:"POST",body:{data:t.data}})}function b(t){return(0,n.Em)({path:"/api/user/anonymous",method:"POST",host:"",body:{email:t}})}function p(t){return(0,n.Em)({host:"",method:"POST",path:"/api/crossSell",body:{products:t,new_user:!(0,o.O)()}})}function m(){return(0,n.Em)({path:"/check-free-stubs",method:"GET"})}function f(t){return(0,n.Em)({path:`order/${t}`,method:"GET"})}function y(t){return(0,n.Em)({path:`order/${t}/cancel`,method:"GET"})}function x(t){return(0,n.Em)({path:`order/${t}/ecommerce`,method:"GET"})}function v(t){return(0,n.Em)({path:"forgot-orders",method:"POST",query:{email:t}})}async function g(t){let e=await (0,n.Em)({path:`personal/orders/${t.hash}`,method:"GET",query:{access_hash:t.hash,page:t.page??1,start_at:t.start_at??"",end_at:t.end_at??"",orderBy:t.orderBy??"desc",limit:t.limit??20,tab:"stub",status:"success"}});return(0,r.t)(e)}async function T(t){let e=await (0,n.Em)({path:`personal/orders/${t.hash}`,method:"GET",query:{access_hash:t.hash,page:t.page??1,start_at:t.start_at??"",end_at:t.end_at??"",orderBy:t.orderBy??"desc",limit:t.limit??20,onlyForms:"true",tab:"form"}});return(0,r.R)(e)}},39268:t=>{t.exports={button:"Button_button__RtdNd","button--full-width":"Button_button--full-width__p1Ohm","button--disable-ripple":"Button_button--disable-ripple__jJhOb","button--small":"Button_button--small__kfhCQ","button--medium":"Button_button--medium__46PpP","button--large":"Button_button--large__PGCoe","button--main":"Button_button--main__vs_XY","button--secondary":"Button_button--secondary__SjT5p","button--tertiary":"Button_button--tertiary__QRqYG","button--bundle":"Button_button--bundle__ptSI5","button--premium":"Button_button--premium__Anhqj","button--primary":"Button_button--primary__PKvY6","button--success":"Button_button--success__30q2I","button--info":"Button_button--info__AiTND","button--error":"Button_button--error__RV4Lz","button--inherit":"Button_button--inherit__q7_Xg","button--gray":"Button_button--gray__zPmDi","button--light-gray":"Button_button--light-gray__id8Qw","button--outlined":"Button_button--outlined__WvRIe","button--w
1hite":"Button_button--white__fM3dB","button--text":"Button_button--text__9dkOj","button--disable-hover":"Button_button--disable-hover__RfNUj","button--checkbox":"Button_button--checkbox__eVeWC","button--checkbox--active":"Button_button--checkbox--active__u344F","loading-spinner":"Button_loading-spinner__bmtIk",spin:"Button_spin__NPVYj","icon-wrapper":"Button_icon-wrapper__nVmF4"}},41695:(t,e,a)=>{"use strict";a.d(e,{B:()=>n.A});var n=a(70124)},43068:t=>{t.exports={wrapper:"PersonalForgotPaystubs_wrapper__4Hog7",tabs:"PersonalForgotPaystubs_tabs__Y7iJJ","no-stubs-container":"PersonalForgotPaystubs_no-stubs-container__Cj5Mf",reviews:"PersonalForgotPaystubs_reviews__5_rxW","auth-button-wrapper":"PersonalForgotPaystubs_auth-button-wrapper__a_3Ce","auth-button":"PersonalForgotPaystubs_auth-button__FijFD","auth-text":"PersonalForgotPaystubs_auth-text__HoRGU"}},43788:(t,e,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ordered-paystubs/[hash]",function(){return a(81531)}])},46030:(t,e,a)=>{"use strict";a.d(e,{A:()=>i});var n=a(37876),o=a(14232),r=a(98477),s=a(55298),l=a.n(s);let i=t=>{let{content:e,children:a,placement:s="top",open:i,onOpenChange:d,delay:u=200,offset:c=8,showArrow:_=!0,className:h,disabled:b=!1,touchDelay:p=1500}=t,[m,f]=(0,o.useState)(!1),[y,x]=(0,o.useState)({top:0,left:0}),[v,g]=(0,o.useState)(s),[T,w]=(0,o.useState)(!1),C=(0,o.useRef)(null),E=(0,o.useRef)(null),j=(0,o.useRef)(null),B=(0,o.useRef)(null),P=(0,o.useId)(),S=void 0!==i,N=S?i:m,k=(0,o.useCallback)(t=>{S||f(t),null==d||d(t)},[S,d]),A=(0,o.useCallback)((t,e)=>{let a=t.getBoundingClientRect(),n=e.getBoundingClientRect(),o=window.innerWidth,r=window.innerHeight,l={top:{top:a.top-n.height-c,left:a.left+a.width/2-n.width/2},"top-start":{top:a.top-n.height-c,left:a.left},"top-end":{top:a.top-n.height-c,left:a.right-n.width},bottom:{top:a.bottom+c,left:a.left+a.width/2-n.width/2},"bottom-start":{top:a.bottom+c,left:a.left},"bottom-end":{top:a.bottom+c,left:a.right-n.width},left:{top:a.top+a.height/2-n.height/2,left:a.left-n.width-c},"left-start":{top:a.top,left:a.left-n.width-c},"left-end":{top:a.bottom-n.height,left:a.left-n.width-c},right:{top:a.top+a.height/2-n.height/2,left:a.right+c},"right-start":{top:a.top,left:a.right+c},"right-end":{top:a.bottom-n.height,left:a.right+c}},i=l[s],d=i.top>=0,u=i.top+n.height<=r,_=i.left>=0,h=i.left+n.width<=o;if(d&&u&&_&&h)return{position:i,placement:s};for(let t of["top","bottom","right","left"]){let e=l[t],a=e.top>=0,s=e.top+n.height<=r,i=e.left>=0,d=e.left+n.width<=o;if(a&&s&&i&&d)return{position:e,placement:t}}let b={...i};return b.left<0?b.left=8:b.left+n.width>o&&(b.left=o-n.width-8),b.top<0?b.top=8:b.top+n.height>r&&(b.top=r-n.height-8),{position:b,placement:s}},[s,c]),L=(0,o.useCallback)(()=>{if(C.current&&E.current){let{position:t,placement:e}=A(C.current,E.current);x(t),g(e)}},[A]),$=(0,o.useCallback)(()=>{b||(j.current&&clearTimeout(j.current),j.current=setTimeout(()=>{k(!0),w(!0)},u))},[b,u,k]),O=(0,o.useCallback)(()=>{j.current&&clearTimeout(j.current),B.current&&clearTimeout(B.current),w(!1),setTimeout(()=>{k(!1)},150)},[k]),q=(0,o.useCallback)(()=>{b||($(),B.current=setTimeout(()=>{O()},p))},[b,p,$,O]),F=(0,o.useCallback)(t=>{"Escape"===t.key&&N&&O()},[N,O]);(0,o.useEffect)(()=>{if(N)return L(),window.addEventListener("scroll",L,!0),window.addEventListener("resize",L),()=>{window.removeEventListener("scroll",L,!0),window.removeEventListener("resize",L)}},[N,L]),(0,o.useEffect)(()=>{if(N)return document.addEventListener("keydown",F),()=>{document.removeEventListener("keydown",F)}},[N,F]),(0,o.useEffect)(()=>()=>{j.current&&clearTimeout(j.current),B.current&&clearTimeout(B.current)},[]);let H=(0,o.cloneElement)(a,{ref:t=>{C.current=t;let e=a.ref;e&&("function"==typeof e?e(t):"object"==typeof e&&null!==e&&"current"in e&&(e.current=t))},onMouseEnter:t=>{$();let e=a.props.onMouseEnter;null==e||e(t)},onMouseLeave:t=>{O();let e=a.props.onMouseLeave;null==e||e(t)},onFocus:t=>{$();let e=a.props.onFocus;null==e||e(t)},onBlur:t=>{O();let e=a.props.onBlur;null==e||e(t)},onTouchStart:t=>{q();let e=a.props.onTouchStart;null==e||e(t)},"aria-describedby":N?P:void 0}),I=N&&(0,n.jsxs)("div",{ref:E,id:P,role:"tooltip",className:`${l().container} ${T?l()["container--visible"]:l()["container--hidden"]}${h?` ${h}`:""}
1`,style:{top:`${y.top}px`,left:`${y.left}px`},children:[e,_&&(0,n.jsx)("div",{className:l().arrow,"data-placement":v})]});return(0,n.jsxs)(n.Fragment,{children:[H,"u">typeof document&&(0,r.createPortal)(I,document.body)]})}},46468:(t,e,a)=>{"use strict";a.d(e,{A:()=>h});var n=a(37876),o=a(38459),r=a.n(o),s=a(48230),l=a.n(s),i=a(57152),d=a(20026),u=a(55430),c=a(25742);function _(t){let{id:e,created_at:a,status:o,success_hash:s,email:_,forms:h}=t;return(0,n.jsxs)("li",{className:r().item,"data-sentry-component":"PersonalListFormItem","data-sentry-source-file":"PersonalListFormItem.tsx",children:[(0,n.jsx)(c.A,{title:`Order # ${e}`,status:o,created_at:a,email:_,"data-sentry-element":"PersonalListItemHeader","data-sentry-source-file":"PersonalListFormItem.tsx"}),(0,n.jsx)("div",{className:r()["item-body"],children:null==h?void 0:h.map(t=>{let e=(0,u.TH)(t.created_at,72,"DD-MM-YYYY HH:mm a")||t.created_at===t.updated_at,a=t.template,o=t.data[a],c=t.created_at===t.updated_at&&!o;return(0,n.jsxs)("div",{className:r()["stub-item"],children:[(0,n.jsx)("div",{children:t.name}),(0,n.jsxs)("div",{className:r()["stub-item-period"],children:[e||c?(0,n.jsx)(i.A,{content:c?"Please fill in the product details and complete the product creation. After that, you'll be able to edit the details once within 72 hours.":"The order can be edited during the first 72 hours after purchase.",placement:"top",touchDelay:8e3,showArrow:!1,children:(0,n.jsx)(l(),{color:"inherit",target:"_blank",href:`/generateForm/${(null==t?void 0:t.template)?t.template:"employmentAcceptance"}?hash=${s}&id=${t.id}`,style:{marginRight:"8px"},"aria-label":"edit-form",children:(0,n.jsx)(d.my,{color:"#698AF4"})})}):(0,n.jsx)(i.A,{content:"The order is older than 72 hours and cannot be edited directly. Please contact Support if you have any questions.",placement:"top",touchDelay:8e3,showArrow:!1,children:(0,n.jsx)("span",{"aria-label":"edit-form",className:r()["edit-btn-disabled"],children:(0,n.jsx)(d.my,{})})}),(0,n.jsx)(l(),{color:"inherit",target:"_blank",href:`/pdf/form/${s}_${t.id}.pdf`,"aria-label":"pdf-download",children:(0,n.jsx)(d.BU,{style:{fontSize:"1.5rem"},color:"#698AF4"})})]})]},t.id)})})]})}function h(t){let{list:e}=t;return(0,n.jsx)("ul",{className:r().list,"data-sentry-component":"PersonalListForm","data-sentry-source-file":"PersonalListForm.tsx",children:e&&e.map((t,e)=>t.forms&&0!==t.forms.length?(0,n.jsx)(_,{id:t.id,created_at:t.created_at,status:t.status,success_hash:t.success_hash,email:t.email,forms:t.forms},e):null)})}},55298:t=>{t.exports={container:"Tooltip_container__gn47w","container--visible":"Tooltip_container--visible__17oa4","fade-in":"Tooltip_fade-in__FZN90","container--hidden":"Tooltip_container--hidden__jdkBF","fade-out":"Tooltip_fade-out__knQ4M",arrow:"Tooltip_arrow__d0yPC"}},55799:t=>{t.exports={"tab-list":"Tabs_tab-list__kuGGp","tab-list--horizontal":"Tabs_tab-list--horizontal__lRrGB","tab-list--vertical":"Tabs_tab-list--vertical__rEB20","tab-list--scrollable-horizontal":"Tabs_tab-list--scrollable-horizontal__KJa0c","tab-list--scrollable-vertical":"Tabs_tab-list--scrollable-vertical__YzIyC","tab-list--centered":"Tabs_tab-list--centered__VZADM","flex-container":"Tabs_flex-container__Pe7oX","flex-container--horizontal":"Tabs_flex-container--horizontal__87iZm","flex-container--vertical":"Tabs_flex-container--vertical__iCwb4","flex-container--full-width":"Tabs_flex-container--full-width__P_i0P",indicator:"Tabs_indicator__RMlEN","indicator--horizontal":"Tabs_indicator--horizontal__JzjDm","indicator--vertical":"Tabs_indicator--vertical__sbf_E","indicator--primary":"Tabs_indicator--primary__WtyA5","indicator--secondary":"Tabs_indicator--secondary__C08RL","indicator--green":"Tabs_indicator--green__TylPT",tab:"Tabs_tab__Lz_df","tab--selected":"Tabs_tab--selected__hMEZJ","tab--not-selected":"Tabs_tab--not-selected__vaWvO","tab--disabled":"Tabs_tab--disabled__fda4Q","tab--full-width":"Tabs_tab--full-width__36Upk","tab--wrapped":"Tabs_tab--wrapped__3AfV8","tab--vertical":"Tabs_tab--vertical__SdGnh","tab--icon-start":"Tabs_tab--icon-start__D8DfP","tab--icon-e
1nd":"Tabs_tab--icon-end__GWzIA","tab--icon-top":"Tabs_tab--icon-top__VUT8p","tab--icon-bottom":"Tabs_tab--icon-bottom__dNLVU","ripple-container":"Tabs_ripple-container__1BuhW",ripple:"Tabs_ripple__2EM1z","tab-panel":"Tabs_tab-panel__nICJf","tab-panel--hidden":"Tabs_tab-panel--hidden__PIiKO","scroll-btn":"Tabs_scroll-btn__fN5fm","scroll-btn--active":"Tabs_scroll-btn--active___bI8M","scroll-btn--inactive":"Tabs_scroll-btn--inactive__s4GXn"}},56520:(t,e,a)=>{"use strict";a.d(e,{A:()=>i});var n=a(37876);a(14232);var o=a(48230),r=a.n(o),s=a(39268),l=a.n(s);function i(t){let{children:e,loading:a=!1,className:o,fullWidth:s=!1,href:i,isCheckbox:d=!1,isCheckboxActive:u=!1,color:c="main",variant:_="contained",size:h="large",startIcon:b,endIcon:p,disabled:m,disableRipple:f=!1,disableHover:y=!1,borderWidth:x,type:v="button",component:g,...T}=t,w={...x&&{"--button-border-width":x}},C=[l().button,l()[`button--${c}`],l()[`button--${_}`],"large"!==h?l()[`button--${h}`]:"",s?l()["button--full-width"]:"",f?l()["button--disable-ripple"]:"",y?l()["button--disable-hover"]:"",d?l()["button--checkbox"]:"",d&&u?l()["button--checkbox--active"]:"",o??""].filter(Boolean).join(" "),E=(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)("span",{className:l()["loading-spinner"]}),!a&&b&&(0,n.jsx)("span",{className:l()["icon-wrapper"],children:b}),e,!a&&p&&(0,n.jsx)("span",{className:l()["icon-wrapper"],children:p})]});return"label"===g?(0,n.jsx)("label",{className:C,style:w,...T,children:E}):i&&!m?(0,n.jsx)(r(),{href:i,children:(0,n.jsx)("button",{type:v,disabled:m||a,className:C,style:w,...T,children:E})}):(0,n.jsx)("button",{type:v,disabled:m||a,className:C,style:w,...T,"data-sentry-component":"Button","data-sentry-source-file":"Button.tsx",children:E})}},62254:(t,e,a)=>{"use strict";a.d(e,{A:()=>s});var n=a(37876),o=a(99034),r=a.n(o);function s(t){let{size:e=40}=t;return(0,n.jsx)("span",{className:r().spinner,style:{width:e,height:e},"data-sentry-component":"Spinner","data-sentry-source-file":"Spinner.tsx"})}},70124:(t,e,a)=>{"use strict";a.d(e,{A:()=>d});var n=a(37876);a(14232);var o=a(92624),r=a.n(o);let s={body1:"p",body2:"p",button:"span",caption:"span",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",inherit:"p",overline:"span",subtitle1:"p",subtitle2:"p",ndLarge:"p",ndH1:"h1",ndH2:"h2",ndH3:"h3",ndH4:"h4",ndH5:"h5",ndH6:"h6",ndBodyL:"p",ndBodyLBold:"p",ndBodyS:"p",ndBodySBold:"p",ndBodyXS:"p",ndBodyXSBold:"p",ndBodyXXS:"p"},l={primary:r().colorPrimary,secondary:r().colorSecondary,error:r().colorError,info:r().colorInfo,success:r().colorSuccess,warning:r().colorWarning,"text.primary":r().colorTextPrimary,"text.secondary":r().colorTextSecondary,"text.disabled":r().colorTextDisabled,textPrimary:r().colorTextPrimary,textSecondary:r().colorTextSecondary,textDisabled:r().colorTextDisabled}
1,i={left:r().alignLeft,center:r().alignCenter,right:r().alignRight,justify:r().alignJustify};function d(t){let{align:e,children:a,className:o,color:d,component:u,display:c,fontSize:_,gutterBottom:h,lineHeight:b,margin:p,marginBottom:m,marginLeft:f,marginRight:y,marginTop:x,style:v,textAlign:g,textTransform:T,variant:w="body1",...C}=t,E=u||s[w],j=g||e,B=d&&"inherit"!==d?l[d]:void 0,P=j&&"inherit"!==j?i[j]:void 0,S={...v,...void 0!==c&&{display:c},...void 0!==_&&{fontSize:_},...void 0!==b&&{lineHeight:b},...void 0!==T&&{textTransform:T},...void 0!==p&&{margin:p},...void 0!==x&&{marginTop:x},...void 0!==m&&{marginBottom:m},...void 0!==f&&{marginLeft:f},...void 0!==y&&{marginRight:y},...d&&"inherit"!==d&&!l[d]&&{color:d}},N=[r()[w],B,P,h&&r().gutterBottom,o].filter(Boolean).join(" ");return(0,n.jsx)(E,{className:N,style:S,...C,"data-sentry-element":"Component","data-sentry-component":"TextCustom","data-sentry-source-file":"TextCustom.tsx",children:a})}},70392:(t,e,a)=>{"use strict";a.d(e,{oz:()=>_,Hc:()=>l,wb:()=>c,Kp:()=>u});var n=a(37876),o=a(14232);let r=(0,o.createContext)(null);function s(){return(0,o.useContext)(r)}function l(t){let{value:e,children:a}=t,s=(0,o.useMemo)(()=>({value:e}),[e]);return(0,n.jsx)(r.Provider,{value:s,"data-sentry-element":"TabContextInternal.Provider","data-sentry-component":"TabContext","data-sentry-source-file":"TabContext.tsx",children:a})}var i=a(55799),d=a.n(i);function u(t){let{value:e,children:a,className:o,keepMounted:r=!1,...l}=t,i=s(),u=(null==i?void 0:i.value)===e;if(!u&&!r)return null;let c=[d()["tab-panel"],r&&!u?d()["tab-panel--hidden"]:void 0,o].filter(Boolean).join(" ");return(0,n.jsx)("div",{role:"tabpanel",id:`tabpanel-${e}`,"aria-labelledby":`tab-${e}`,hidden:!u,className:c,...l,"data-sentry-component":"TabPanel","data-sentry-source-file":"TabPanel.tsx",children:(u||r)&&a})}function c(t){let{children:e,onChange:a,variant:r="standard",orientation:l="horizontal",scrollButtons:i="auto",centered:u=!1,indicatorColor:c="primary","aria-label":_,"aria-labelledby":h,className:b,flexContainerClassName:p,indicator:m=!0,...f}=t,y=s(),x=(0,o.useRef)(null),[v,g]=(0,o.useState)({}),[T,w]=(0,o.useState)({start:!1,end:!1}),C="vertical"===l,E="scrollable"===r,j="fullWidth"===r,B=(0,o.useCallback)(()=>{if(!x.current||!(null==y?void 0:y.value))return;let t=x.current.querySelector(`[data-value="${y.value}"][role="tab"]`);if(t){let e=x.current.getBoundingClientRect(),a=t.getBoundingClientRect();C?g({top:a.top-e.top+x.current.scrollTop,height:a.height}):g({left:a.left-e.left+x.current.scrollLeft,width:a.width})}},[y,C]),P=(0,o.useCallback)(()=>{if(!x.current||!E)return;let{scrollLeft:t,scrollTop:e,scrollWidth:a,scrollHeight:n,clientWidth:o,clientHeight:r}=x.current;C?w({start:e>0,end:e+r<n}):w({start:t>0,end:t+o<a})},[E,C]),S=(0,o.useCallback)(t=>{let e=t.target.closest('[role="tab"]');if(e&&!e.hasAttribute("disabled")){let n=e.getAttribute("data-value");n&&a&&a(t,n)}},[a]),N=(0,o.useCallback)(t=>{var e,n;let o=Array.from((null==(e=x.current)?void 0:e.querySelectorAll('[role="tab"]:not([disabled])'))||[]);if(0===o.length)return;let r=o.findIndex(t=>"true"===t.getAttribute("data-selected")),s=r,l=C?"ArrowDown":"ArrowRight",i=C?"ArrowUp":"ArrowLeft";switch(t.key){case l:t.preventDefault(),s=r<o.length-1?r+1:0;break;case i:t.preventDefault(),s=r>0?r-1:o.length-1;break;case"Enter":case" ":{t.preventDefault();let e=null==(n=o[r])?void 0:n.getAttribute("data-value");e&&a&&a(t,e);return}case"Home":t.preventDefault(),s=0;break;case"End":t.preventDefault(),s=o.length-1;break;default:return}if(s!==r){let e=o[s];e.focus();let n=e.getAttribute("data-value");n&&a&&a(t,n)}},[a,C]),k=(0,o.useCallback)(()=>{x.current&&(C?x.current.scrollBy({top:-100,behavior:"smooth"}):x.current.scrollBy({left:-100,behavior:"smooth"}))},[C]),A=(0,o.useCallback)(()=>{x.current&&(C?x.current.scrollBy({top:100,behavior:"smooth"}):x.current.scrollBy({left:100,behavior:"smooth"}))},[C]);(0,o.useEffect)(()=>{B(),P()},[B,P,null==y?void 0:y.value]),(0,o.useEffect)(()=>{let t=()=>{B(),P()};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[B,P]),(0,o.useEffect)(()=>{let t=x.current;if(!t||!E)return;let e=()=>{P()};return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[E,P]);let L=o.Children.map(e,t=>{if(!(0,o.isValidElement)(t)||!j)return t;let e=t.props.className??"",a=`${d()["tab--full-width"]} ${e}`.trim();return(0,o.cloneElement)(t,{className:a})}),$=[d()["tab-list"],C?d()["tab-list--vertical"]:d()["tab-list--horizontal"],E&&C?d()["tab-list--scrollable-vertical"]:void 0,E&&!C?d()["tab-list--scrollable-horizontal"]:void 0,u&&!j?d()["tab-list--centered"]:void 0,b].filter(
1Boolean).join(" "),O=[d()["flex-container"],C?d()["flex-container--vertical"]:d()["flex-container--horizontal"],j?d()["flex-container--full-width"]:void 0,p].filter(Boolean).join(" "),q=[d().indicator,C?d()["indicator--vertical"]:d()["indicator--horizontal"],"secondary"===c?d()["indicator--secondary"]:"green"===c?d()["indicator--green"]:d()["indicator--primary"]].filter(Boolean).join(" "),F=E&&!1!==i;return(0,n.jsxs)("div",{className:$,...f,"data-sentry-component":"TabList","data-sentry-source-file":"TabList.tsx",children:[F&&(!0===i||T.start)&&(0,n.jsx)("button",{type:"button","aria-label":C?"Scroll up":"Scroll left",onClick:k,disabled:!T.start,className:`${d()["scroll-btn"]} ${T.start?d()["scroll-btn--active"]:d()["scroll-btn--inactive"]}`,children:C?"â²":"â"}),(0,n.jsxs)("div",{ref:x,role:"tablist","aria-label":_,"aria-labelledby":h,"aria-orientation":l,className:O,onClick:S,onKeyDown:N,children:[L,m&&(0,n.jsx)("span",{className:q,style:v})]}),F&&(!0===i||T.end)&&(0,n.jsx)("button",{type:"button","aria-label":C?"Scroll down":"Scroll right",onClick:A,disabled:!T.end,className:`${d()["scroll-btn"]} ${T.end?d()["scroll-btn--active"]:d()["scroll-btn--inactive"]}`,children:C?"â¼":"â¶"})]})}function _(t){let{value:e,label:a,icon:r,iconPosition:l="top",disabled:i=!1,disableRipple:u=!1,wrapped:c=!1,className:_,onClick:h,...b}=t,p=s(),m=(null==p?void 0:p.value)===e,f=(0,o.useRef)(null),[y,x]=(0,o.useState)([]),v=(0,o.useRef)(0),g=(0,o.useCallback)(t=>{if(u||i)return;let e=f.current;if(!e)return;let a=e.getBoundingClientRect(),n=Math.max(a.width,a.height),o=t.clientX-a.left-n/2,r=t.clientY-a.top-n/2,s={id:v.current++,x:o,y:r,size:n};x(t=>[...t,s]),setTimeout(()=>{x(t=>t.filter(t=>t.id!==s.id))},550)},[u,i]),T=(0,o.useCallback)(t=>{g(t),null==h||h(t)},[g,h]),w=r?d()[`tab--icon-${l}`]:void 0,C=[d().tab,m?d()["tab--selected"]:d()["tab--not-selected"],i?d()["tab--disabled"]:void 0,c?d()["tab--wrapped"]:void 0,w,_].filter(Boolean).join(" ");return(0,n.jsxs)("button",{ref:f,role:"tab",type:"button","aria-selected":m,"aria-disabled":i,tabIndex:m?0:-1,disabled:i,"data-value":e,"data-selected":m,className:C,onClick:T,...b,"data-sentry-component":"Tab","data-sentry-source-file":"Tab.tsx",children:[r&&o.cloneElement(r,{"aria-hidden":!0}),a&&(0,n.jsx)("span",{children:a}),!u&&(0,n.jsx)("span",{className:d()["ripple-container"],children:y.map(t=>(0,n.jsx)("span",{className:d().ripple,style:{left:t.x,top:t.y,width:t.size,height:t.size}},t.id))})]})}},81531:(t,e,a)=>{"use strict";a.r(e),a.d(e,{__N_SSP:()=>C,default:()=>E});var n=a(37876),o=a(14232),r=a(14e3),s=a(89099),l=a(18847),i=a.n(l),d=a(10553),u=a(36574),c=a(24715),_=a(62254),h=a(70124),b=a(93080),p=a(56520),m=a(6320),f=a(46468),y=a(70392);function x(t){let{itemList:e}=t,[a,r]=(0,o.useState)("0");return(0,n.jsx)(y.Hc,{value:a,"data-sentry-element":"TabContext","data-sentry-component":"Tabs","data-sentry-source-file":"Tabs.tsx",children:(0,n.jsxs)("div",{className:"Tabs-inner-wrapper",children:[(0,n.jsx)(y.wb,{variant:"standard",onChange:(t,e)=>{r(e)},"data-sentry-element":"TabList","data-sentry-source-file":"Tabs.tsx",children:e&&e.map((t,e)=>(0,n.jsx)(y.oz,{disableRipple:!0,value:`${e}`,label:t.header},e))}),e&&e.map((t,e)=>(0,n.jsx)(y.Kp,{value:`${e}`,children:t.body},e))]})})}var v=a(43068),g=a.n(v);let T=i()(()=>Promise.all([a.e(9097),a.e(7783),a.e(2896),a.e(5425),a.e(7312)]).then(a.bind(a,87312)),{loadableGenerated:{webpack:()=>[87312]},ssr:!1});function w(t){let{hash:e,reviews:a}=t,{open:l}=(0,c.YE)(),{status:i}=(0,d.useSession)(),y=(0,r.useSearchParams)(),v=y.get("page"),w=y.get("formsPage"),C=(0,s.useRouter)(),[E,j]=(0,o.useState)(!0),[B,P]=(0,o.useState)(null),[S,N]=(0,o.useState)(null),k=async()=>{P(null),N(null);let t=0===Number(v)?1:Number(v);await (0,u.YU)({hash:e,page:t,limit:10}).then(t=>{P(t)}).catch(t=>{P(null)});let a=0===Number(w)?1:Number(w);await (0,u.w$)({hash:e,page:a,limit:10}).then(t=>{N(t)}).catch(t=>{N(null)}),j(!1)},A=(t,a)=>{(async()=>{j(!0),await C.push(`/ordered-paystubs/${e}?page=${t}&formsPage=${a}`,void 0,{shallow:!1})})()};(0,o.useEffect)(()=>{k()},[v,w]);let L=(t,e)=>(0,n.jsx)(h.A,{variant:"subtitle2",component:"p","data-sentry-element":"TextCustom","data-sentry-component":"renderHeader","data-sentry-source-file":"PersonalForgotPaystubs.tsx",children:e}),$=(0,o.useMemo)(()=>{let t={header:L(1,"Paystubs"),body:(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{variant:"h1",component:"h1",align:"center",marginTop:"24px",children:"Paystub List"}),!(null==B?void 0:B.data)&&E&&(0,n.jsx)("div",{className:g()["no-stubs-container"],children:(0,n.jsx)(_.A,{})}),(0,n.jsx)(m.A,{list:(null==B?void 0:B.data)??[],accessHash:e}),(null==B?void 0:B.meta.last_page)>1&&(0,n.jsx)("div",{className:g()["no-stubs-container"],children:(0,n.jsx)(b.A,{count:null==B?void 0:B.meta.last_page,page:0===Number(v)?1:Number(v),onChange:(t,e)=>{A(e,Number(w))}})})]})},a={header:L(2,"Forms"),body:(0,n.jsxs)("div",{children:[(0,n.jsx)(h.A,{variant:"h1",component:"h1",align:"center",marginTop:"24px",children:"Forms List"}),!(null==S?void 0:S.data)&&E&&(0,n.jsx)("div",{className:g()["no-stubs-container"],children:(0,n.jsx)(_.A,{})}),(0,n.jsx)(f.A,{list:(null==S?void 0:S.data)??[]}),(null==S?void 0:S.meta.last_page)>1&&(0,n.jsx)("div",{className:g()["no-stubs-container"],children:(0,n.jsx)(b.A,{count:null==S?void 0:S.meta.last_page,page:0===Number(w)?1:Number(w),onChange:(t,e)=>{A(Number(v),e)}})})]})},o=[];return B&&B.data&&B.data.length>0&&o.push(t),S&&S.data&&S.data.length>0&&o.push(a),o},[B,S,E]);return(0,n.jsx)("div",{className:g().wrapper,"data-sentry-component":"PersonalForgotPaystubs","data-sentry-source-file":"PersonalForgotPaystubs.tsx",children:E?(0,n.jsx)("div",{className:g()["no-stubs-container"],children:(0,n.jsx)(_.A,{})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:g().tabs,children:[((null==B?void 0:B.meta.total)>0||(null==S?void 0:S.meta.total)>0)&&"unauthenticated"===i&&(0,n.jsxs)("div",{className:g()["auth-button-wrapper"],children:[(0,n.jsx)("div",{className:g()["auth-text"],children:"To use full functionality:"}),(0,n.jsx)(p.A,{color:"success",variant:"contained",type:"submit",loading:E,onClick:()=>{l({isOpened:!0})},className:g()["auth-button"],children:"Create Account or Login"})]}),(0,n.jsx)(x,{itemList:$})]}),(0,n.jsx)("div",{className:g().reviews,children:(0,n.jsx)(T,{reviews:a})})]})})}var C=!0;let E=function(t){let{hash:e,reviews:a}=t;return(0,n.jsx)(w,{hash:e,reviews:a,"data-sentry-element":"PersonalForgotPaystubs","data-sentry-component":"orderedPaystubs","data-sentry-source-file":"[hash].tsx"})}},82056:(t,e,a)=>{"use strict";function n(t){return{...t,data:t.data.flatMap(t=>{var e,a;let n=[],o=Array.isArray(t.stubs.additional)?t.stubs.additional:Object.values(t.stubs.additional),r=o.filter(t=>!t.upsell),s=o.filter(t=>t.upsell),l=(Array.isArray(t.stubs.generated)?t.stubs.generated:Object.values(t.stubs.generated)).map((t,e)=>({...t,originalIndex:e?e-1:0})),i=l.filter(t=>!t.upsell),d=l.filter(t=>t.upsell),u=t.email;if("bundle"===t.type){let e=r.filter(t=>t.quantity>0),a=i.filter(t=>{var e;return null==(e=t.data)?void 0:e.details});(e.length||a.length)&&n.push({id:t.id,type:"bundle",isUpsell:!1,email:u,status:t.status,success_hash:t.success_hash,draft_hash:t.draft_hash??void 0,created_at:t.created_at,template:null,data:null,order_product_hash:void 0,edit_request:[],additional_stubs:{information:e,generate:a.map(t=>({data:t.data,hash:t.hash,originalIndex:t.originalIndex,edit_request:t.edit_request,order_success_hash:t.order_success_hash}))}})}else if("stub"===t.type){let a=i.find(t=>{var e;return null==(e=t.data)?void 0:e.details}),o=a?i.filter(t=>{var e;return t!==a&&(null==(e=t.data)?void 0:e.details)}):[];(a||r.some(t=>t.quantity>0))&&n.push({id:t.id,type:"stub",isUpsell:!1,email:u,status:t.status,success_hash:t.success_hash,draft_hash:t.draft_hash??void 0,created_at:t.created_at,template:(null==a||null==(e=a.data)?void 0:e.details.template)??null,data:(null==a?void 0:a.data)??null,order_product_hash:null==a?void 0:a.hash,order_success_hash:null==a?void 0:a.order_success_hash,edit_request:(null==a?void 0:a.edit_request)?[a.edit_request]:[],additional_stubs:{information:r,generate:o.map(t=>({data:t.data,hash:t.hash,originalIndex:t.originalIndex,edit_request:t.edit_request,order_success_hash:t.order_success_hash}))}})}for(let e of s)n.push({id:t.id,type:t.type,isUpsell:!0,email:u,status:t.status,success_hash:t.success_hash,draft_hash:void 0,created_at:t.created_at,template:null,data:null,order_product_hash:void 0,edit_request:[],additional_stubs:{information:[e],generate:[]}});for(let e of d)(null==(a=e.data)?void 0:a.details)&&n.push({id:t.id,type:t.type,isUpsell:!0,email:u,status:t.status,success_hash:t.success_hash,draft_hash:void 0,created_at:t.created_at,template:null,data:null,order_product_hash:e.hash,order_success_hash:e.order_success_hash,edit_request:e.edit_request?[e.edit_request]:[],additional_stubs:{information:[],generate:[{data:e.data,hash:e.hash,originalIndex:e.originalIndex,edit_request:e.edit_request,order_success_hash:e.order_success_hash}]}});return n})}}function o(t){return{...t,data:t.data.map(t=>({id:t.id,email:t.email,status:t.status,success_hash:t.success_hash,created_at:t.created_at,forms:t.forms}))}}a.d(e,{R:()=>o,t:()=>n})},87919:(t,e,a)=>{"use strict";a.d(e,{$:()=>n.A});var n=a(56520)},92624:t=>{t.exports={body1:"TextCustom_body1__0ywaq",body2:"TextCustom_body2__gXfgw",button:"TextCustom_button__bhoMK",caption:"TextCustom_caption__1GO_n",h1:"TextCustom_h1__ld4Uo",h2:"TextCustom_h2__mRfxO",h3:"TextCustom_h3__3NHjM",h4:"TextCustom_h4__qDp5C",h5:"TextCustom_h5__fFPg4",h6:"TextCustom_h6__SHiil",subtitle1:"TextCustom_subtitle1__JAKRE",subtitle2:"TextCustom_subtitle2__9sTTM",overline:"TextCustom_overline__34laf",ndLarge:"TextCustom_ndLarge__8t32s TextCustom_body1__0ywaq",ndH1:"TextCustom_ndH1__SB_42 TextCustom_h1__ld4Uo",ndH2:"TextCustom_ndH2__g_Hye TextCustom_h2__mRfxO",ndH3:"TextCustom_ndH3__1UEte TextCustom_h3__3NHjM",ndH4:"TextCustom_ndH4__VIuho TextCustom_h4__qDp5C",ndH5:"TextCustom_ndH5__GKlIC TextCustom_h5__fFPg4",ndH6:"TextCustom_ndH6__XRDqP TextCustom_h6__SHiil",ndBodyL:"TextCustom_ndBodyL__IZQQn TextCustom_body1__0ywaq",ndBodyLBold:"TextCustom_ndBodyLBold__H_Zxc TextCustom_body2__gXfgw",ndBodyS:"TextCustom_ndBodyS__Dyhw5 TextCustom_body1__0ywaq",ndBodySBold:"TextCustom_ndBodySBold__HWUfP TextCustom_body2__gXfgw",ndBodyXS:"TextCustom_ndBodyXS__I03O3 TextCustom_caption__1GO_n",ndBodyXSBold:"TextCustom_ndBodyXSBold__PN4mW TextCustom_caption__1GO_n",ndBodyXXS:"TextCustom_ndBodyXXS__E9bq1 TextCustom_caption__1GO_n",colorPrimary:"TextCustom_colorPrimary__8bdMt",colorSecondary:"TextCustom_colorSecondary__4pibL",colorError:"TextCustom_colorError__aFagD",colorInfo:"TextCustom_colorInfo__rsy5T",colorSuccess:"TextCustom_colorSuccess__iQYIw",colorWarning:"TextCustom_colorWarning__Qxrqc",colorTextPrimary:"TextCustom_colorTextPrimary__Xy_Xt",colorTextSecondary:"TextCustom_colorTextSecondary__V2a6z",colorTextDisabled:"TextCustom_colorTextDisabled__u82Dv",alignLeft:"TextCustom_alignLeft__767E1",alignCenter:"TextCustom_alignCenter__B9GPX",alignRight:"TextCustom_alignRight__p9_t6",alignJustify:"TextCustom_alignJustify__aJlTt",gutterBottom:"TextCustom_gutterBottom__TFXM9"}},99034:t=>{t.exports={spinner:"Spinner_spinner__cce2e",spin:"Spinner_spin__jF_Zs"}}},t=>{t.O(0,[8230,8992,4587,4e3,26,1946,3681,4626,636,6593,8792],()=>t(t.s=43788)),_N_E=t.O()}]);
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.