PageSourceSearch

https://www.trainwithkickoff.com/_next/static/chunks/pages/dashboa…/[habitTemplateId]-3e5830fc712e2b30.js

js trainwithkickoff.com collected 2026-10-04 00:06:01 UTC 64,916 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3605,2118],{20320:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getClientHabitTemplates"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"publicOnly"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"visibleOnly"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientHabitTemplates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"publicOnly"},value:{kind:"Variable",name:{kind:"Name",value:"publicOnly"}}},{kind:"Argument",name:{kind:"Name",value:"visibleOnly"},value:{kind:"Variable",name:{kind:"Name",value:"visibleOnly"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:183}};n.loc.source={body:"query getClientHabitTemplates($publicOnly: Boolean, $visibleOnly: Boolean) {\n  clientHabitTemplates(publicOnly: $publicOnly, visibleOnly: $visibleOnly) {\n    id\n    description\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function i(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,t){if("FragmentSpread"===n.kind)t.add(n.name.value);else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&t.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,t)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,t)}),n.definitions&&n.definitions.forEach(function(n){e(n,t)})})(e,n),t[e.name.value]=n}}),e.exports=n,e.exports.getClientHabitTemplates=function(e,n){var a={kind:e.kind,definitions:[i(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=t[n]||new Set,l=new Set,o=new Set;for(s.forEach(function(e){o.add(e)});o.size>0;){var r=o;o=new Set,r.forEach(function(e){l.has(e)||(l.add(e),(t[e]||new Set).forEach(function(e){o.add(e)}))})}return l.forEach(function(n){var t=i(e,n);t&&a.definitions.push(t)}),a}(n,"getClientHabitTemplates")},20107:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateClientHabitTemplate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientHabitTemplate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateClientHabitTemplateInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateClientHabitTemplate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientHabitTemplate"},value:{kind:"Variable",name:{kind:"Name",value:"clientHabitTemplate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPublic"},arguments:[],directives:[]}]}}]}},{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createClientHabitTemplate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientHabitTemplate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateClientHabitTemplateInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createClientHabitTemplate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientHabitTemplate"},value:{kind:"Variable",name:{kind:"Name",value:"clientHabitTemplate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPublic"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:423}};n.loc.source={body:"mutation updateClientHabitTemplate(\n  $clientHabitTemplate: UpdateClientHabitTemplateInput!\n) {\n  updateClientHabitTemplate(clientHabitTemplate: $clientHabitTemplate) {\n    id\n    description\n    isPublic\n  }\n}\n\nmutation createClientHabitTemplate(\n  $clientHabitTemplate: CreateClientHabitTemplateInput!\n) {\n  createClientHabitTemplate(clientHabitTemplate: $clientHabitTemplate) {\n    id\n    description\n    isPublic\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function i(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function a(e,n){var a={kind:e.kind,definitions:[i(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=t[n]||new Set,l=new Set,o=new Set;for(s.forEach(function(e){o.add(e)});o.size>0;){var r=o;o=new Set,r.forEach(function(e){l.has(e)||(l.add(e),(t[e]||new Set).forEach(function(e){o.add(e)}))})}return l.forEach(function(n){var t=i(e,n);t&&a.definitions.push(t)}),a}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,t){if("FragmentSpread"===n.kind)t.add(n.name.value);
1else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&t.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,t)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,t)}),n.definitions&&n.definitions.forEach(function(n){e(n,t)})})(e,n),t[e.name.value]=n}}),e.exports=n,e.exports.updateClientHabitTemplate=a(n,"updateClientHabitTemplate"),e.exports.createClientHabitTemplate=a(n,"createClientHabitTemplate")},80374:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getHabitTemplate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientHabitTemplate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPublic"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:110}};n.loc.source={body:"query getHabitTemplate($id: ID!) {\n  clientHabitTemplate(id: $id) {\n    id\n    description\n    isPublic\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function i(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,t){if("FragmentSpread"===n.kind)t.add(n.name.value);else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&t.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,t)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,t)}),n.definitions&&n.definitions.forEach(function(n){e(n,t)})})(e,n),t[e.name.value]=n}}),e.exports=n,e.exports.getHabitTemplate=function(e,n){var a={kind:e.kind,definitions:[i(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=t[n]||new Set,l=new Set,o=new Set;for(s.forEach(function(e){o.add(e)});o.size>0;){var r=o;o=new Set,r.forEach(function(e){l.has(e)||(l.add(e),(t[e]||new Set).forEach(function(e){o.add(e)}))})}return l.forEach(function(n){var t=i(e,n);t&&a.definitions.push(t)}),a}(n,"getHabitTemplate")},55760:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"fileInputFileFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"File"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mimetype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"filename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"muxPlaybackId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMuxVideo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"muxVideoIsReady"},arguments:[],directives:[]}]}}],loc:{start:0,end:121}};n.loc.source={body:"fragment fileInputFileFields on File {\n  id\n  url\n  mimetype\n  filename\n  muxPlaybackId\n  isMuxVideo\n  muxVideoIsReady\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function i(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,t){if("FragmentSpread"===n.kind)t.add(n.name.value);else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&t.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,t)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,t)}),n.definitions&&n.definitions.forEach(function(n){e(n,t)})})(e,n),t[e.name.value]=n}}),e.exports=n,e.exports.fileInputFileFields=function(e,n){var a={kind:e.kind,definitions:[i(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=t[n]||new Set,l=new Set,o=new Set;for(s.forEach(function(e){o.add(e)});o.size>0;){var r=o;o=new Set,r.forEach(function(e){l.has(e)||(l.add(e),(t[e]||new Set).forEach(function(e){o.add(e)}))})}return l.forEach(function(n){var t=i(e,n);t&&a.definitions.push(t)}),a}(n,"fileInputFileFields")},28740:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createFile"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"attachmentData"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FileInput"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"eagerLoadTransformations"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"attachmentData"},value:{kind:"Variable",name:{kind:"Name",value:"attachmentData"}}},{kind:"Argument",name:{kind:"Name",value:"eagerLoadTransformations"},value:{kind:"Variable",name:{kind:"Name",value:"eagerLoadTransformations"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"fileInputFileFields"},directives:[]}]}}]}}],loc:{start:0,end:270}};i.loc.source={body:"#import './fragments.graphql'\n\nmutation createFile(\n  $attachmentData: FileInput!\n  $eagerLoadTransformations: [String!]\n) {\n  createFile(\n    attachmentData: $attachmentData\n    eagerLoadTransformations: $eagerLoadTransformations\n  ) {\n    ...fileInputFileFields\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};i.definitions=i.definitions.concat(t(55760).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}));var s={};function l(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,t){if("FragmentSpread"===n.kind)t.add(n.name.value);else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&t.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,t)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,t)}),n.definitions&&n.definitions.forEach(function(n){e(n,t)})})(e,n),s[e.name.value]=n}}),e.exports=i,e.exports.createFile=function(e,n){var t={kind:e.kind,definitions:[l(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;for(i.forEach(function(e){o.add(e)});o.size>0;){var r=o;o=new Set,r.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){o.add(e)}))})}return a.forEach(function(n){var i=l(e,n);i&&t.definitions.push(i)}),t}(i,"createFile")},17995:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/habit-templates/[habitTemplateId]",function(){return t(23454)}])},32173:function(e,n,t){"use strict";t.d(n,{L:function(){return b}});var i=t(73292),a=t(93128),s=t(85893),l=t(67294),o=t(93967),r=t.n(o),c=t(8323),d=t(37479),u=t(37914),m=t.n(u),_=t(9213),f=t(39737),h=t(3653),v=t(72085),p=t(9736),x=t(11805),b=function(e){var n,t,o,u,b,A=e.className,y=e.coach,N=e.hideName,T=e.onClick,g=e.placement,E=(0,v.Z)(),j=null==E?void 0:null===(o=E.data)||void 0===o?void 0:null===(t=o.me)||void 0===t?void 0:null===(n=t.user)||void 0===n?void 0:n.coach,k=(0,p.y)(j),C=(0,x.g)(j),S=(0,h.k)().handleButtonClick,I=(0,a._)((0,l.useState)(!1),2),L=I[0],R=I[1],D=(null==y?void 0:y.isInsuranceDietitian)&&!(null==y?void 0:y.isAcceptingNonInsuranceClients);return(0,s.jsxs)("div",{className:r()(m().coachAccountDropdownRoot,A),onClick:T,onKeyDown:T,onMouseOver:function(){return R(!0)},onMouseLeave:function(){return R(!1)},tabIndex:T?0:void 0,children:[(0,s.jsx)(c.qE,{alt:"avatar",onClick:function(){},fallbackValue:null==y?void 0:null===(u=y.fullName)||void 0===u?void 0:u.charAt(0),src:null==y?void 0:y.avatarPhoto,size:24}),(0,s.jsxs)(c.v2,{enableHover:!0,className:r()(m().menuRoot,(0,i._)({},m().menuRootHidden,void 0!==N&&N)),floatingProps:{open:L,onOpenChange:R,placement:void 0===g?"bottom-end":g},children:[(0,s.jsx)(c.j2,{className:m().menuButton,children:null==y?void 0:y.fullName}),(0,s.jsxs)(c.qy,{className:m().menuList,horizontalPosition:"right",children:[!D&&(0,s.jsx)(c.sN,{iconLeft:(0,s.jsx)(d.bk,{}),to:f.ZP.payrollDashboard(),children:"Payment History"}),(0,s.jsx)(c.sN,{iconLeft:(0,s.jsx)(d.cJ,{}),onClick:function(){S()},children:"Coach Profile"}),C&&(0,s.jsx)(c.sN,{iconLeft:(0,s.jsx)(d._8,{}),to:f.ZP.transcriptExports(),children:"Transcript Exports"}),!D&&(0,s.jsx)(c.sN,{iconLeft:(0,s.jsx)(d.KQ,{}),to:null===(b=f.ZP.coachMetrics({id:null==y?void 0:y.id}))||void 0===b?void 0:b.href,children:(0,s.jsxs)(c.kC,{alignItems:"center",gap:.5,children:[(0,s.jsx)("span",{children:"Level"}),(0,s.jsx)(_.S,{level:null==y?void 0:y.level})]})}),(0,s.jsx)(c.sN,{iconLeft:(0,s.jsx)(d.IE,{}),to:f.ZP.coachAccount(k&&{coachId:null==y?void 0:y.id}),children:"Settings"}),(0,s.jsx)(c.iz,{}),(0,s.jsx)(c.sN,{iconLeft:(0,s.jsx)(d.Hl,{}),to:null===f.ZP||void 0===f.ZP?void 0:f.ZP.signOut(),children:"Sign Out"})]})]})]})}},9213:function(e,n,t){"use strict";t.d(n,{S:function(){return d}});var i=t(85893),a=t(93967),s=t.n(a),l=t(8323),o=t(96107),r=t.n(o),c=["awaiting review","awaiting acquired client","acquired client trial","marketplace client trial"],d=function(e){var n=e.className,t=e.level,a=null==t?void 0:t.toLowerCase(),o=c.includes(a);return(0,i.jsx)(l.Ct,{className:s()(r().coachLevelBadgeRoot,o?r().trial:r()[a],n),size:12,textClassName:s()(r().coachLevelBadgeText,o?r().trialText:r()["".concat(t,"Text")]),uppercase:!0,children:o?"onboarding":t})}},26133:function(e,n,t){"use strict";t.d(n,{C:function(){return i}});var i=t(75615).TR},73865:function(e,n,t){"use strict";var i=t(73292),a=t(85893),s=t(93967),l=t.n(s),o=t(11163),r=t(57019),c=t(8323),d=t(75615),u=t(39737),m=t(66894),_=t.n(m);
1n.Z=function(e){var n=e.emptyContent,t=e.sidebarContent,s=e.mainContent,m=e.mainClassName,f=e.sidebarClassName,h=e.title,v=e.onBack,p=(0,d.$A)(function(e){return e.width<=1132}),x=(0,o.useRouter)(),b=!!s,A=!!n;return(0,a.jsxs)("section",{className:_().dashboardRoot,children:[(0,a.jsx)(r.T,{navigationLevel:"level2",title:h,onNavigationLevelChange:function(){var e;if(v)return v({isMobileLayout:p});(null==x?void 0:null===(e=x.query)||void 0===e?void 0:e.trainingStageId)?x.back():x.push(u.ZP.clientDashboard())}}),(0,a.jsxs)("div",{className:_().container,children:[(0,a.jsx)("div",{className:l()(_().sidebar,f,(0,i._)({},_().hiddenMobile,b)),children:t}),(0,a.jsx)(c._G,{visible:!A,children:(0,a.jsx)("div",{className:l()(_().main,m,(0,i._)({},_().hiddenMobile,!b)),children:s})}),(0,a.jsx)(c._G,{visible:A&&!p,children:(0,a.jsx)("div",{className:l()(_().main),children:n})})]})]})}},60160:function(e,n,t){"use strict";t.d(n,{p:function(){return i}});var i={SCHEDULE:"schedule",AUTO_SCHEDULER:"auto-scheduler",WORKOUT_EDITOR:"workout-editor",EXERCISE_EDITOR:"exercise-editor"}},90716:function(e,n,t){"use strict";var i=t(73292),a=t(85893),s=t(93967),l=t.n(s),o=t(44662),r=t(57236),c=t.n(r);n.Z=function(e){var n,t=e.padded,s=e.className,r=e.transparent,d=void 0!==r&&r;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:d?c().transparentBackground:""}),(0,a.jsx)("div",{className:l()(c().screen,(n={},(0,i._)(n,c().padded,void 0!==t&&t),(0,i._)(n,c().transparent,d),n),s),children:(0,a.jsx)(o.Z,{})})]})}},12378:function(e,n,t){"use strict";t.d(n,{_:function(){return k}});var i=t(73292),a=t(85893),s=t(67294),l=t(93967),o=t.n(l),r=t(89755),c=t.n(r),d=t(41664),u=t.n(d),m=t(41837),_=t(37479),f=t(8323),h=t(44662),v=t(76341),p=t(93128),x=t(57174),b=t.n(x),A="more-actions-item",y=function(e){var n=e.className,t=e.iconLeft,i=e.iconRight,s=e.label,l=e.onClick,r=e.to,c=function(e){e.stopPropagation(),l&&l(e)};return r?(0,a.jsxs)(u(),{href:r,className:o()(b().moreActionsMenuItem,n),"data-role":A,onClick:c,children:[(0,a.jsx)(f._G,{visible:!!t,children:(0,a.jsx)("span",{className:b().iconLeft,children:t})}),(0,a.jsx)("span",{children:s}),(0,a.jsx)(f._G,{visible:!!i,children:i})]}):(0,a.jsxs)("li",{className:o()(b().moreActionsMenuItem,n),"data-role":A,onClick:c,children:[(0,a.jsx)(f._G,{visible:!!t,children:(0,a.jsx)("span",{className:b().iconLeft,children:t})}),(0,a.jsx)("span",{children:s}),(0,a.jsx)(f._G,{visible:!!i,children:(0,a.jsx)("span",{className:b().iconRight,children:i})})]})},N=function(e){var n=e.className,t=e.actions,i=(0,p._)((0,s.useState)(!1),2),l=i[0],r=i[1];return(0,a.jsx)(f._G,{visible:(null==t?void 0:t.length)>0,children:(0,a.jsxs)("div",{tabIndex:0,onBlur:function(e){var n;(null==e?void 0:null===(n=e.relatedTarget)||void 0===n?void 0:n.getAttribute("data-role"))!==A&&r(!1)},className:o()(b().moreActionsContainer,n),children:[(0,a.jsx)(_.xh,{className:b().moreActionsIcon,onClick:function(e){e.stopPropagation(),r(function(e){return!e})},title:"More Actions"}),(0,a.jsx)(f._G,{visible:l,children:(0,a.jsx)(f.Xk,{className:b().moreActionsMenu,children:(0,a.jsx)("ul",{className:b().moreActionsMenuItems,children:t.map(function(e){return(0,a.jsx)(y,(0,v._)({},e),e.id)})})})})]})})},T=t(36112),g=t.n(T),E=function(e){var n=e.data,t=e.showMetricsSeparator;return(null==n?void 0:n.length)>0?(0,a.jsx)("div",{className:g().metricsRow,children:n.map(function(e,i){return(0,a.jsxs)("div",{className:g().metricRow,children:[(0,a.jsxs)("div",{className:g().innerMetricRow,children:[(0,a.jsx)(f._G,{visible:!!(null==e?void 0:e.iconLeft),children:null==e?void 0:e.iconLeft}),(0,a.jsx)(m.uT,{className:o()(g().metricLabel,null==e?void 0:e.className),style:null==e?void 0:e.style,size:"xsmall",children:e.label}),(0,a.jsx)(f._G,{visible:!!(null==e?void 0:e.iconRight),children:null==e?void 0:e.iconRight})]}),(0,a.jsx)(f._G,{visible:i!==n.length-1&&t,children:(0,a.jsx)("span",{className:g().dotSeparator})})]},e.id)})}):null},j=function(e){var n=e.children,t=e.className,i=e.onClick,s=e.to;return s?(0,a.jsx)(u(),{href:s,className:g().searchResultsAnchor,onClick:i,children:(0,a.jsx)("article",{className:t,children:n})}):(0,a.jsx)("article",{className:t,onClick:i,children:n})},k=function(e){var n,t=e.actions,s=void 0===t?[]:t,l=e.associatedRecord,r=e.description,d=e.loading,u=e.metrics,v=e.overline,p=e.overlineAside,x=e.onClick,b=e.previewImage,A=e.selected,y=e.showPreviewImage,T=e.showMetricsSeparator,k=e.title,C=e.to,S=e.className,I=e.selectedClassName,L=e.showEdit,R=e.titleSize,D=o()(S||g().searchResultsCardRoot,(n={},(0,i._)(n,I||g().searchResultsCardSelected,void 0!==A&&A),(0,i._)(n,g().searchResultsCardLoading,d),n)
1);return(0,a.jsxs)(j,{className:D,to:C,onClick:function(){x&&x(l)},children:[(0,a.jsx)(f._G,{visible:d,children:(0,a.jsx)("div",{className:g().loadingContainer,children:(0,a.jsx)(h.Z,{className:g().loadingSpinner})})}),(0,a.jsx)("div",{className:g().searchResultsInnerRoot,children:(0,a.jsxs)("div",{className:g().searchResultInnerMain,children:[(0,a.jsxs)(f._G,{visible:void 0===y||y,children:[!!b&&(0,a.jsx)("div",{className:g().previewImageContainer,children:(0,a.jsx)(c(),{alt:k,className:g().previewImage,src:b,width:75,height:75,objectFit:"cover"})}),!b&&(0,a.jsx)("span",{className:g().previewImagePlaceholder,children:"K"})]}),(0,a.jsxs)("div",{className:g().searchResultTextContainer,children:[(0,a.jsx)(f._G,{visible:!!(v||p),children:(0,a.jsxs)("div",{className:g().overlineHeader,children:[(0,a.jsx)(f._G,{visible:!!v,children:(0,a.jsx)(m.Lh,{className:g().overline,color:"textSecondary",size:"small",children:v})}),p]})}),(0,a.jsx)(m.uT,{size:void 0===R?"small":R,weight:"semibold",className:g().searchResultTextTitle,title:k,children:k}),r&&(0,a.jsx)(m.uT,{size:"xsmall",color:"textSecondary",truncate:!0,title:r,children:r}),(0,a.jsx)(E,{data:void 0===u?[]:u,showMetricsSeparator:void 0!==T&&T})]}),(null==s?void 0:s.length)>0&&(0,a.jsx)(N,{actions:s}),(void 0===L||L)&&(null==s?void 0:s.length)===0&&(0,a.jsx)(f.hU,{className:g().moreDetailsIcon,variant:"textDark",children:(0,a.jsx)(_.XC,{title:"Edit Template"})})]})})]})}},59107:function(e,n,t){"use strict";t.d(n,{H:function(){return c}});var i=t(85893),a=t(20508),s=t(41837),l=t(44662),o=t(97129),r=t.n(o),c=function(e){var n=e.illustration,t=e.loading,o=e.message,c=e.visible;return void 0!==t&&t?(0,i.jsx)("div",{className:r().loadingContainer,children:(0,i.jsx)(l.Z,{})}):(0,i.jsxs)(a._,{visible:c,children:[(0,i.jsx)(s.uT,{align:"center",className:r().message,color:"textSecondary",size:"medium",children:o}),(0,i.jsx)("div",{className:r().illustrationContainer,children:(0,i.jsx)("img",{src:n,alt:"No data illustration"})})]})}},44662:function(e,n,t){"use strict";var i=t(85893),a=t(67814),s=t(93967),l=t.n(s),o=t(51436),r=t(78947),c=t(51892),d=t.n(c);r.vI.add(o.LM3),n.Z=function(e){var n=e.className;return(0,i.jsx)(a.G,{className:l()(d().spinner,n),icon:"spinner",spin:!0,pulse:!0})}},9076:function(e,n,t){"use strict";var i=t(85893),a=t(93967),s=t.n(a),l=t(95766),o=t.n(l),r={h1:function(e,n){return(0,i.jsx)("h1",{className:s()(o().h1,e),children:n})},h2:function(e,n){return(0,i.jsx)("h2",{className:s()(o().h2,e),children:n})},h3:function(e,n){return(0,i.jsx)("h3",{className:s()(o().h3,e),children:n})},p:function(e,n){return(0,i.jsx)("p",{className:s()(o().p,e),children:n})},span:function(e,n){return(0,i.jsx)("span",{className:s()(o().span,e),children:n})},label:function(e,n){return(0,i.jsx)("label",{className:s()(o().label,e),children:n})}};n.Z=function(e){var n=e.is,t=e.className,i=e.children;return(r[void 0===n?"span":n]||r.span)(t,i)}},57019:function(e,n,t){"use strict";t.d(n,{l:function(){return A},T:function(){return T}});var i=t(76341),a=t(67462),s=t(85893),l=t(11163),o=t(32173),r=t(8323),c=t(37479),d=t(41837),u=t(59658),m=t.n(u),_=t(97461),f=t(26252),h=t(45967),v=t.n(h),p=t(32207);t(67294);var x=t(94975),b=function(e){var n=e.className,t=e.color,l=e.size,o=e.title,r=(0,p._)(e,["className","color","size","title"]);return(0,s.jsxs)(x.I,(0,a._)((0,i._)({className:n,fill:"none",size:l,viewBox:"0 0 512 512"},r),{children:[o&&(0,s.jsx)("title",{children:o}),(0,s.jsx)("path",{d:"M128 416v48c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16V416h96zm-16 96c12.3 0 23.5-4.6 32-12.2c8.5 7.6 19.7 12.2 32 12.2h64c26.5 0 48-21.5 48-48V416 400 384 193.8l51.4 198.1 4 15.5 18 69.2c6.6 25.5 32 40.6 56.7 33.8l59.6-16.5c24.7-6.8 39.3-33 32.7-58.5l-13.9-53.7-4-15.5-63.9-246-4-15.5-18-69.2C400 9.9 374.6-5.2 349.9 1.6L290.3 18.1c-3.5 1-6.8 2.3-9.9 4C271.9 8.8 257 0 240 0H176c-12.3 0-23.5 4.6-32 12.2C135.5 4.6 124.3 0 112 0H48C21.5 0 0 21.5 0 48V96v16 16V384v16 16 48c0 26.5 21.5 48 48 48h64zM288 64.8V63.5c.3-7.2 5.1-13 10.8-14.6l59.6-16.5c6.6-1.8 14.8 2 17.2 11l14.1 54.2-87.3 24.2L288.6 68.6c-.3-1.3-.5-2.6-.6-3.8zm-32-.6c0 0 0 0 0 0V96H160V48c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16V64.2zM176 480c-8.8 0-16-7.2-16-16V416h96v48c0 8.8-7.2 16-16 16H176zM128 128V384H32V128h96zm0-80V96H32V48c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16zM256 384H160V128h96V384zM397.7 128.7l59.8 230.5-87.3 24.2L310.4 152.8l87.3-24.2zm67.9 261.5l13.8 53.2c2.4 9.4-3.2 17.7-10.3 19.6l-59.6 16.5c-6.6 1.8-14.8-2-17.2-11l-14.1-54.2 87.3-24.2z",stroke:t||"currentColor",fill:t||"currentColor"})]}))},A=function(e){var n=e.helpIconColor,t=e.helpIconSize,i=(0,_.f)().handleInfoHintClick;return(0,s.jsx)("span",{className:v().helpHeader,onClick:i,children:(0,s.jsxs)(r.kC,{alignItems:"center",justifyContent:"center",children:[(0,s.jsx)(c.BH,{color:n,size:t}),(0,s.jsx)(d.uT,{className:v().helpLabel,size:"small",weight:"medium",children:"Help"})]})})},y=function(e){var n=e.children,t=(0,f.H)();return(0,s.jsx)("div",{className:v().safeAreaContainer,style:{paddingTop:Math.max(t.top-14,0)},children:n})},N={todos:"To Dos",inbox:"Inbox","client-list":"Clients","recruiter-free-trial":"Recruiter","recruiter-advertise-training":"Recruiter","workout-library":"Workout Library"},T=function(e){var n,t=e.navigationLevel,u=e.onNavigationLevelChange,_=e.title,f=(0,l.useRouter)(),h=f.query,p=u||function(e){f.back()};if("level2"===(void 0===t?"level1":t))return(0,s.jsx)(y,{children:(0,s.jsx)("header",{className:v().utilityNavRoot,children:(0,s.jsxs)("nav",{className:v().utilityNavContent,children:[(0,s.jsx)(r.hU,{size:"small",variant:"textLight",onClick:function(){return p("level1")},children:(0,s.jsx)(c.Y4,{})}),(0,s.jsx)(d.Dx,{className:v().level2Title,size:"xxsmall",color:"white",children:_||N[null==h?void 0:h.page]||(null==h?void 0:h.page)}),(0,s.jsx)(A,{})]})})});var x=e.coach,T=e.showBackButton,g=e.onAccountClick,E=(null==x?void 0:x.isInsuranceDietitian)&&!(null==x?void 0:x.isAcceptingNonInsuranceClients);return(0,s.jsx)(y,{children:(0,s.jsx)("header",{className:v().utilityNavRoot,children:(0,s.jsxs)("nav",{className:v().utilityNavContent,children:[(0,s.jsxs)(r.kC,{alignItems:"center",children:[T&&(0,s.jsx)(r.hU,{className:v().backButton,size:"medium",variant:"textLight",onClick:function(){return p("level1")},children:(0,s.jsx)(c.wy,{})}),"workout-library"===h.page?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(d.Dx,{className:v().workoutLibraryNavTitle,color:"white",truncate:!0,children:[(0,s.jsx)(b,{style:{marginRight:12}}),N[null==h?void 0:h.page]]})}):(0,s.jsx)(d.Dx,{className:v().utilityNavTitle,color:"white",truncate:!0,children:_||N[null==h?void 0:h.page]||(null==h?void 0:h.page)})]}),(0,s.jsxs)(r.kC,{className:v().contentRight,alignItems:"center",children:[!E&&(0,s.jsx)(A,{}),(0,s.jsx)(o.L,{accountPhoto:m(),coach:(0,a._)((0,i._)({},x),{avatarPhoto:(null==x?void 0:x.avatarPhoto)||(null==x?void 0:null===(n=x.profileImage)||void 0===n?void 0:n.url)}),onClick:g})]})]})})})}},95537:function(e,n,t){"use strict";t.d(n,{BS:function(){return o},JH:function(){return l},Rc:function(){return d},_8:function(){return u},fk:function(){return m},uU:function(){return r},xh:function(){return c}});var i=t(65049),a=t.n(i),s=function(e){return parseInt(e.replace(/px/,""))};s(a().DESKTOP_LG_WIDTH),s(a().DESKTOP_MED_WIDTH);var l=s(a().DESKTOP_WIDTH),o=s(a().MOBILE_WIDTH_MAX),r=s(a().TABLET_WIDTH);s(a().MOBILE_WIDTH);var c=s(a().NEW_MOBILE_MAX);s(a().NEW_TABLET_PORTRAIT);var d=s(a().NEW_TABLET_PORTRAIT_MAX),u=s(a().NEW_TABLET_LANDSCAPE);s(a().NEW_TABLET_LANDSCAPE_MAX);var m=s(a().NEW_DESKTOP_SMALL)},67913:function(e,n,t){"use strict";t.d(n,{CF:function(){return a.C},Rh:function(){return i.R}});var i=t(16509),a=t(47195)},97062:function(e,n,t){"use strict";t.d(n,{_:function(){return l},q:function(){return s}});var i=t(30604),a=t(67294),s=(0,a.createContext)({activeTab:i.lV,section:null,showInfo:null,setActiveTab:function(e){}}),l=function(){return(0,a.useContext)(s)}},97461:function(e,n,t){"use strict";t.d(n,{f:function(){return m}});var i=t(85893),a=t(98731),s=t(62969),l=t(30604),o=t(26133),r=t(60160),c=t(97062),d=t(51322),u=t.n(d),m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.showFor,t=e.selectedTutorialPageId,d=(0,o.C)(),m=(0,c._)().activeTab,_=(0,a.v)();return{handleInfoHintClick:function(){var e=n;!n&&m===l.$L&&d&&(e=r.p.SCHEDULE),_.open(function(){return(0,i.jsx)(s.Z,{onClose:_.close,showFor:e,selectedTutorialPageId:t})},{},{className:u().hintModalWrapper,theme:"black",key:"HINT_MODAL"})}}}},3653:function(e,n,t){"use strict";t.d(n,{k:function(){return p}});var i=t(85893),a=t(98731),s=t(93128),l=t(67294),o=t(8323),r=t(9076),c=t(72085),d=t(39737),u=t(67648),m=t(67913),_=t(37479),f=t(83922),h=t.n(f),v=function(e){var n,t,a,f,v,p,x,b,A,y=e.onClose,N=(0,s._)((0,l.useState)("Copy URL"),2),T=N[0],g=N[1],E=(0,c.Z)(),j=(null==E?void 0:null===(f=E.data)||void 0===f?void 0:null===(a=f.me)||void 0===a?void 0:null===(t=a.user)||void 0===t?void 0:null===(n=t.username)||void 0===n?void 0:n.toLowerCase())||"",k=null==E?void 0:null===(b=E.data)||void 0===b?void 0:null===(x=b.me)||void 0===x?void 0:null===(p=x.user)||void 0===p?void 0:null===(v=p.coach)||void 0===v?void 0:v.freeTrialEnabled,C=d.ZP.coachReferral({username:j,freeTrial:k,utm_source:"coach_app",utm_medium:"copy_link",utm_campaign:"modal"});return(0,i.jsx)(m.Rh,{name:"Promote Landing Page Modal",children:(0,i.jsxs)("div",{className:h().promoteModal,children:[(0,i.jsx)("div",{className:h().close,onClick:y,children:(0,i.jsx)(_.b0,{title:"Close"})}),(0,i.jsx)(r.Z,{is:"h2",className:h().title,children:"Share your Coach Landing Page"}),(0,i.jsx)(r.Z,{is:"p",className:h().subtitle,children:"Earn higher coach acquired client pay."}),(0,i.jsxs)(m.CF,{name:"Your Page",children:[(0,i.jsx)("span",{className:h().clpLink,children:C}),(0,i.jsxs)(o.kC,{className:h().buttonRow,children:[(0,i.jsx)(o.zx,{className:h().button,size:"small",onClick:function(e){var n=e.target;(0,u.T)(C),g("Copied!"),setTimeout(function(){g("Copy URL"),n.blur()},1500)},iconRight:(0,i.jsx)(_.TI,{}),name:"Copy URL",children:T}),(0,i.jsx)(o.zx,{className:h().button,size:"small",to:d.ZP.coachReferral({username:j,freeTrial:k}),iconRight:(0,i.jsx)(_.h0,{}),name:"Open Page",children:"Open Page"}),(0,i.jsx)(o.zx,{className:h().button,size:"small",to:null===(A=d.ZP.coachProfileReview({username:j,isProfileEdit:!0}))||void 0===A?void 0:A.href,iconRight:(0,i.jsx)(_.me,{}),name:"Edit Page",children:"Edit Page"})]})]})]})})},p=function(){var e=(0,a.v)();return{handleButtonClick:function(){e.open(function(){return(0,i.jsx)(v,{onClose:e.close})},{},{theme:"black",key:"PROMOTE_CLP_MODAL"})}}}},75615:function(e,n,t){"use strict";t.d(n,{TR:function(){return r},Ly:function(){return c},$A:function(){return l}});var i=t(93128),a=t(67294),s=function(){return{width:window.innerWidth,height:window.innerHeight}},l=function(e,n){var t=(0,i._)((0,a.useState)(void 0===n?e(s()):n),2),l=t[0],o=t[1],r=(0,a.useRef)(!1);return(0,a.useEffect)(function(){var n=function(){return o(e(s()))};return r.current||(n(),r.current=!0),window.addEventListener("resize",n),function(){return window.removeEventListener("resize",n)}},[e]),l},o=t(95537),r=function(){return l(function(e){return e.width<o._8})},c=function(){return l(function(e){return e.width<o.uU})}},23454:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return i.default}});var i=t(38604)},38604:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return ex}});var i,a,s=t(30137),l=t(97582),o=t(85893),r=t(9008),c=t.n(r),d=t(11163),u=t.n(d),m=t(47915),_=t(30470),f=t(89007),h=t(37977),v=t(93128),p=t(67294),x=t(73865),b=t(6812),A=t(57903),y=t(50194),N=t(91642),T=t(48638),g=t(81490),E=t(80179),j=t(26836),k=t(71689),C=t(37479),S=t(8323),I=t(55801),L=t(39737),R=t(79514),D=t(12378),H=t(59107),w=t(20320),B=t(91977),O=t.n(B),F=t(97165),P=t.n(F),M=function(e){var n=e.forceRefetch,t=(0,v._)((0,p.useState)(""),2),i=t[0],a=t[1],s=(0,R.N)((0,b.a)(w.getClientHabitTemplates,{variables:{publicOnly:!1,visibleOnly:!1}})),l=A.Z(y.Z([],["data","clientHabitTemplates"]),N.Z(function(e){var n=e.description;return T.Z(RegExp((0,I.W5)(i),"i"))(n)}),g.Z(E.Z(A.Z(j.Z("id"),function(e){return parseInt(e)}))))(s);return(0,p.useEffect)(function(){n&&s.refetch()},[n]),(0,o.jsxs)("div",{className:P().container,children:[(0,o.jsx)(S.oi,{className:P().filter,inputClassName:P().filterInput,onChange:function(e){return a(e.target.value)},inputProps:{placeholder:"Filter Habit Templates"},value:i}),!((null==l?void 0:l.length)>0)&&(0,o.jsx)(H.H,{illustration:O(),loading:!1,visible:!0,message:"No habit templates found!"}),(0,o.jsx)("ul",{className:P().list,children:k.Z(function(e){return(0,o.jsx)(D._,{associatedRecord:e,className:P().trainingStageListItem,to:L.ZP.habitTemplatesDashboard({habitTemplateId:null==e?void 0:e.id}),title:null==e?void 0:e.description},e.id)},l)}),(0,o.jsx)("footer",{className:P().footer,children:(0,o.jsx)(S.zx,{auto:!1,iconLeft:(0,o.jsx)(C.jx,{}),to:L.ZP.habitTemplatesDashboard({habitTemplateId:"new"}),children:"Create Habit Template"})})]})},G=t(73292),U=t(76341),K=t(67462),Y=t(50319),V=t(43973),Z=t(87536),z=t(47533),W=t(90716),q=t(41837),Q=t(72085),X=t(7423
11),J={DESCRIPTION:"description",IS_PUBLIC:"isPublic"},$="This field is required",ee=X.Ry().shape((a={},(0,G._)(a,J.DESCRIPTION,X.Z_().required($).typeError($)),(0,G._)(a,J.IS_PUBLIC,X.O7()),a)),en=t(80374),et=t(20107),ei=t(61379),ea=t.n(ei),es=function(e){var n=e.error;return(0,o.jsx)(S._G,{visible:!!n,children:(0,o.jsx)("div",{className:ea().error,children:null==n?void 0:n.message})})},el=function(e){var n;return e?(n={},(0,G._)(n,J.DESCRIPTION,e.description),(0,G._)(n,J.IS_PUBLIC,e.isPublic),n):null},eo=function(e){var n,t,i,a,r,c=e.habitTemplate,d=e.isNew,m=(e.onArchive,e.onCreate),_=(0,Q.Z)().data,f=null==_?void 0:null===(a=_.me)||void 0===a?void 0:null===(i=a.user)||void 0===i?void 0:null===(t=i.coach)||void 0===t?void 0:t.isAdmin,h=(0,v._)((0,Y.D)(et.updateClientHabitTemplate),1)[0],p=(0,v._)((0,Y.D)(et.createClientHabitTemplate),1)[0],x=(0,Z.cI)({resolver:(0,z.X)(ee),defaultValues:el(c)}),b=x.control,A=x.register,y=(x.reset,x.formState),N=y.errors,T=y.isDirty,g=y.isSubmitting,E=x.handleSubmit,j=!V.Z(N),k=(n=(0,s._)(function(e){var n,t;return(0,l.Jh)(this,function(i){switch(i.label){case 0:if(n=(0,K._)((0,U._)({},e),{isPublic:(null==e?void 0:e.isPublic)||!1}),!d)return[3,2];return[4,p({variables:{clientHabitTemplate:n}})];case 1:return t=i.sent(),m(),u().replace(L.ZP.habitTemplatesDashboard({habitTemplateId:t.data.createClientHabitTemplate.id})),[3,4];case 2:return[4,h({variables:{clientHabitTemplate:(0,U._)({id:c.id},n)}})];case 3:return[2,i.sent()];case 4:return[2]}})}),function(e){return n.apply(this,arguments)});return(0,o.jsxs)("div",{className:ea().container,children:[(0,o.jsx)(S.Xk,{className:ea().main,children:(0,o.jsxs)("div",{className:ea().content,children:[(0,o.jsx)(q.uT,{className:ea().sectionTitle,size:"medium",weight:"semibold",children:"Details"}),(0,o.jsx)("form",{className:ea().form,method:"post",children:(0,o.jsxs)(S.kC,{flexDirection:"column",gap:2,children:[(0,o.jsx)(S.oi,(0,K._)((0,U._)({},A(J.DESCRIPTION)),{inputProps:{placeholder:"Description"},inputClassName:ea().input,label:"Description",error:!!(null===(r=N[J.NAME])||void 0===r?void 0:r.message)})),(0,o.jsx)(S._G,{visible:f,children:(0,o.jsxs)("div",{children:[(0,o.jsx)(S.__,{className:ea().label,children:"Habit Visibility"}),(0,o.jsx)(Z.Qr,{name:J.IS_PUBLIC,control:b,render:function(e){var n=e.field;return(0,o.jsx)(S.Ee,{value:n.value,onChange:n.onChange,options:[{value:!0,label:"Public"},{value:!1,label:"Private"}]})}}),(0,o.jsx)(es,{error:N[J.IS_PUBLIC]})]})})]})})]})}),(0,o.jsx)("footer",{className:ea().footer,children:(0,o.jsxs)("div",{className:ea().footerContent,children:[(0,o.jsx)(S._G,{visible:j,children:(0,o.jsx)("div",{className:ea().errorNote,children:"The form has errors. Scroll up to check each field."})}),(0,o.jsx)(S.HR,{auto:!1,buttonRootClassName:ea().button,disabled:!T||g,onClick:E(k),type:"submit",children:d?"Create Habit Template":"Save Habit Template"})]})})]})},er=function(e){var n,t=e.id,i=e.onArchive,a=e.onCreate,s="new"===t,l=(0,R.N)((0,b.a)(en.getHabitTemplate,{variables:{id:t},skip:s}));return l.isInitialLoad?(0,o.jsx)("div",{className:ea().container,children:(0,o.jsx)(W.Z,{})}):(0,o.jsx)(eo,{habitTemplate:null==l?void 0:null===(n=l.data)||void 0===n?void 0:n.clientHabitTemplate,isNew:s,onArchive:i,onCreate:a})},ec=t(88446),ed=t.n(ec),eu=function(){return(0,o.jsx)("div",{className:ed().container,children:(0,o.jsx)(S.Xk,{className:ed().main,children:(0,o.jsxs)(S.kC,{p:2,flexDirection:"column",alignItems:"center",className:ed().emptyStateContent,children:[(0,o.jsx)(q.Dx,{mb:1,children:"No Habit Template Selected"}),(0,o.jsx)(q.uT,{mb:1,children:"Select an existing habit template or create a new one."}),(0,o.jsx)(q.uT,{children:"Click the help icon to learn more about Habits."})]})})})},em=function(e){var n=e.habitTemplateId,t=(0,v._)((0,p.useState)(!1),2),i=t[0],a=t[1];return(0,p.useEffect)(function(){a(!1)},[i]),(0,o.jsx)(x.Z,{emptyContent:!n&&(0,o.jsx)(eu,{}),sidebarContent:(0,o.jsx)(M,{forceRefetch:i}),mainContent:n&&(0,o.jsx)(er,{id:n,onArchive:function(){return a(!0)},onCreate:function(){return a(!0)}},n),title:"Habit Templates Manager"})},e_=t(67913),ef=t(43783),eh=t(29254),ev=t(51869),ep=function(){var e=(0,d.useRouter)().query;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ev.V,{children:(0,o.jsxs)(h.Z,{disableAutoScale:!0,children:[(0,o.jsx)(c(),{children:(0,o.jsx)("title",{children:"Habits Dashboard -- Kickoff"},"title")}),(0,o.jsx)(m.Z,{children:(0,o.jsx)(e_.Rh,{name:"Habit Templates",properties:{page:(null==e?void 0:e.habitTemplateId)?"Habit Templates Editor Page":"Habit Templates List Page"},children:(0,o.jsx)(em,{habitTemplateId:null==e?void 0:e.habitTemplateId})})})]})}),eh.fC]})};ep.getInitialProps=(0,f.Z)((i=(0,s._)(function(e){var n,t,i,a;return(0,l.Jh)(this,function(s){return e.apolloClient,n=e.ctx,(null==(t=e.currentUserPayload.data.me)?void 0:null===(a=t.user)||void 0===a?void 0:null===(i=a.coach)||void 0===i?void 0:i.isAdmin)||(0,ef.Z)(L.ZP.signIn({redirect:n.asPath}),n),[2,{}]})}),function(e){return i.apply(this,arguments)}));var ex=(0,_.C)(ep)},58961:function(e,n,t){"use strict";t.d(n,{Y:function(){return l}});var i=t(85893),a=t(20726),s=t.n(a),l=function(e){var n=e.font,t=e.children;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s(),{id:"56a506ffc98e56a8",dynamic:[n.style.fontFamily],children:"html{font-family:".concat(n.style.fontFamily,"}")}),t]})}},51869:function(e,n,t){"use strict";t.d(n,{V:function(){return o}});var i=t(85893),a=t(35053),s=t.n(a),l=t(58961),o=function(e){var n=e.children;return(0,i.jsx)(l.Y,{font:s(),children:n})}},67648:function(e,n,t){"use strict";t.d(n,{T:function(){return l}});var i=t(66485),a=t.n(i),s=t(56320),l=function(e){a()(e),(0,s.b)(JSON.stringify({name:"copyTextToClipboard",text:e}))}},9736:function(e,n,t){"use strict";t.d(n,{y:function(){return i}});var i=function(e){return(null==e?void 0:e.isAdmin)||(null==e?void 0:e.isSuperAdmin)}},73490:function(e,n,t){"use strict";t.d(n,{S9:function(){return k},nw:function(){return E},oC:function(){return C}});var i,a,s,l=t(73292),o=t(76341),r=t(85893),c=t(71689),d=t(26836),u=t(74178),m=t(1834),_=t(43973),f=t(48638),h=t(93568),v=t(86437),p=t(93967),x=t.n(p),b=t(71970),A=t.n(b),y=t(25675),N=t.n(y),T=(i={text:function(e,n,t){var i,a=new Set(c.Z(d.Z("type"),e.marks)),s=n?u.Z(e.value):"",o=n?m.Z(e.value):e.value;return _.Z(o)?(0,r.jsx)("br",{},"br-".concat(t)):(0,r.jsxs)("span",{className:x()((i={},(0,l._)(i,A().bold,a.has("bold")),(0,l._)(i,A().underline,a.has("underline")),(0,l._)(i,A().italic,a.has("italic")),i)),children:[s&&(0,r.jsx)("strong",{className:A().firstLetter,children:s}),o]},"text-".concat(t))}},(0,l._)(i,v.BLOCKS.HEADING_1,function(e,n,t){return(0,r.jsx)("h1",{className:A().h1,children:E(e.content)},"contentful-h1-".concat(t))}),(0,l._)(i,v.BLOCKS.HEADING_2,function(e,n,t){return(0,r.jsx)("h2",{className:A().h2,children:E(e.content)},"contentful-h2-".concat(t))}),(0,l._)(i,v.BLOCKS.HEADING_3,function(e,n,t){return(0,r.jsx)("h3",{className:A().h3,children:E(e.content)},"contentful-h3-".concat(t))}),(0,l._)(i,v.BLOCKS.HEADING_4,function(e,n,t){return(0,r.jsx)("h4",{className:A().h4,children:E(e.content)},"contentful-h4-".concat(t))}),(0,l._)(i,v.BLOCKS.HEADING_5,function(e,n,t){return(0,r.jsx)("h5",{className:A().h5,children:E(e.content)},"contentful-h5-".concat(t))}),(0,l._)(i,v.BLOCKS.HEADING_6,function(e,n,t){return(0,r.jsx)("h6",{className:A().h6,children:E(e.content)},"contentful-h6-".concat(t))}),(0,l._)(i,v.BLOCKS.PARAGRAPH,function(e,n,t){return(0,r.jsx)("p",{className:A().p,children:E(e.content,n)},"contentful-paragraph-".concat(t))}),(0,l._)(i,v.BLOCKS.OL_LIST,function(e,n,t){return(0,r.jsx)("ol",{className:A().ol,children:E(e.content)},"contentful-ordered-list-".concat(t))}),(0,l._)(i,v.BLOCKS.UL_LIST,function(e,n,t){return(0,r.jsx)("ul",{className:A().ul,children:E(e.content)},"contentful-unordered-list-".concat(t))}),(0,l._)(i,v.BLOCKS.LIST_ITEM,function(e,n,t){return(0,r.jsx)("li",{className:A().li,children:E(e.content)},"contentful-list-item-".concat(t))}),(0,l._)(i,v.BLOCKS.QUOTE,function(e,n,t){return(0,r.jsx)("blockquote",{className:A().blockquote,children:E(e.content)},"contentful-blockquote-".concat(t))}),(0,l._)(i,v.INLINES.HYPERLINK,function(e,n,t){var i=e.content,a=e.data.uri;return(0,r.jsx)("a",{href:a,className:A().link,target:"_blank",rel:"noopener noreferrer",children:E(i)},"hyperlink-".concat(t))}),(0,l._)(i,v.BLOCKS.EMBEDDED_ASSET,function(e,n,t,i){var a=e.data.target.fields,s=a.title,l=a.description,c=a.file,d=c.contentType,u=c.url;if(f.Z(/video\//,d))return(0,r.jsxs)("figure",{children:[(0,r.jsx)("video",{alt:s,className:A().video,src:"https:".concat(u,"?w=1000#t=0.4"),preload:"metadata",controls:!0}),(0,r.jsx)("figcaption",{children:l||s})]},"contentful-video-".concat(t));if(f.Z(/image\/gif/,d))return(0,r.jsxs)("figure",{children:[(0,r.jsx)("div",{className:A().image,style:null==i?void 0:i.image,children:(0,r.jsx)(N(),{alt:s,src:"https:".concat(u,"?fl=progressive&w=1000"),layout:"fill",objectFit:"cover"})}),(0,r.jsx)("figcaption",{style:null==i?void 0:i.figcaption,children:l||s})]},"contentful-image-".concat(t));if(!f.Z(/image\//,d))return s;var m=f.Z(/image\/png/,d);return(0,r.jsxs)("figure",{children:[(0,r.jsx)("div",{className:A().image,style:(0,o._)({},null==i?void 0:i.image,m&&{backgroundColor:"transparent"}),children:(0,r.jsx)(N(),{alt:s,src:m?"https:".concat(u,"?fm=png&w=1000"):"https:".concat(u,"?fm=jpg&fl=progressive&w=1000"),layout:"fill",objectFit:"cover"})}),(0,r.jsx)("figcaption",{style:null==i?void 0:i.figcaption,children:l||s})]},"contentful-image-".concat(t))}),(0,l._)(i,v.BLOCKS.TABLE,function(e,n,t){return(0,r.jsx)("table",{children:(0,r.jsx)("tbody",{children:E(e.content)})},"contentful-table-".concat(t))}),(0,l._)(i,v.BLOCKS.TABLE_ROW,function(e,n,t){return(0,r.jsx)("tr",{children:E(e.content)},"contentful-table-row-".concat(t))}),(0,l._)(i,v.BLOCKS.TABLE_HEADER_CELL,function(e,n,t){return(0,r.jsx)("th",{children:E(e.content)},"contentful-table-head-".concat(t))}),(0,l._)(i,v.BLOCKS.TABLE_CELL,function(e,n,t){return(0,r.jsx)("td",{children:E(e.content)},"contentful-table-data-".concat(t))}),(0,l._)(i,"_DEFAULT",function(e){return JSON.stringify(e)}),i),g=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return(T[e.nodeType]||T._DEFAULT)(e,n,t,i)},E=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2?arguments[2]:void 0;return h.Z(c.Z)(function(e,i){return g(e,n&&0===i,i,t)},e)},j=function(e){return e.map(function(n,t){return"string"==typeof n&&_.Z(n)&&2===e.length?(0,r.jsx)("br",{},"empty-paragraph-".concat(t)):Array.isArray(n)?j(n):n})},k={MARKS:(a={},(0,l._)(a,v.MARKS.BOLD,function(e){return(0,r.jsx)("span",{className:A().bold,children:e})}),(0,l._)(a,v.MARKS.ITALIC,function(e){return(0,r.jsx)("span",{className:A().italic,children:e})}),(0,l._)(a,v.MARKS.UNDERLINE,function(e){return(0,r.jsx)("span",{className:A().underline,children:e})}),a),BLOCKS:(s={},(0,l._)(s,v.BLOCKS.HEADING_1,function(e,n){return(0,r.jsx)("h1",{className:A().h1,children:n})}),(0,l._)(s,v.BLOCKS.HEADING_2,function(e,n){return(0,r.jsx)("h2",{className:A().h2,children:n})}),(0,l._)(s,v.BLOCKS.HEADING_3,function(e,n){return(0,r.jsx)("h3",{className:A().h3,children:n})}),(0,l._)(s,v.BLOCKS.HEADING_4,function(e,n){return(0,r.jsx)("h4",{className:A().h4,children:n})}),(0,l._)(s,v.BLOCKS.HEADING_5,function(e,n){return(0,r.jsx)("h5",{className:A().h5,children:n})}),(0,l._)(s,v.BLOCKS.HEADING_6,function(e,n){return(0,r.jsx)("h6",{className:A().h6,children:n})}),(0,l._)(s,v.BLOCKS.PARAGRAPH,function(e,n){return n=j(n),(0,r.jsx)("p",{className:A().p,children:n})}),(0,l._)(s,v.BLOCKS.OL_LIST,function(e,n){return(0,r.jsx)("ol",{className:A().ol,children:n})}),(0,l._)(s,v.BLOCKS.UL_LIST,function(e,n){return(0,r.jsx)("ul",{className:A().ul,children:n})}),(0,l._)(s,v.BLOCKS.LIST_ITEM,function(e,n){return(0,r.jsx)("li",{className:A().li,children:n})}),(0,l._)(s,v.BLOCKS.QUOTE,function(e,n){return(0,r.jsx)("blockquote",{className:A().blockquote,children:n})}),(0,l._)(s,v.BLOCKS.EMBEDDED_ASSET,function(e,n){var t=e.data.target.fields,i=t.title,a=t.file,s=a.contentType,l=a.url;if(f.Z(/video\//,s))return(0,r.jsx)("video",{alt:i,className:A().video,src:"https:".concat(l,"?w=1000#t=0.04"),preload:"metadata",controls:!0});
1if(!f.Z(/image\//,s))return i;var o=f.Z(/image\/png/,s);return(0,r.jsx)("div",{className:A().image,style:o?{backgroundColor:"transparent"}:void 0,children:(0,r.jsx)(N(),{alt:i,src:o?"https:".concat(l,"?fm=png&w=1000"):"https:".concat(l,"?fm=jpg&fl=progressive&w=1000"),layout:"fill",objectFit:"cover"})})}),s),INLINES:(0,l._)({},v.INLINES.HYPERLINK,function(e,n){return(0,r.jsx)("a",{href:e.data.uri,className:A().link,target:"_blank",rel:"noopener noreferrer",children:n})})},C=function(e,n){return n?e.split(" ").map(function(e){return n.includes(e)?(0,r.jsxs)("span",{className:"emphasis",children:[e," "]},e):e+" "}):e}},54384:function(e,n,t){"use strict";t.d(n,{N:function(){return f},X:function(){return _}});var i,a=t(30137),s=t(73292),l=t(76341),o=t(97582),r=t(44603),c=t(80983),d=t(28740),u=t(79930),m={cloud_name:"kickoff-personal-training",upload_preset:"xrbltc4f",show_powered_by:!1,multiple:!1,sources:["local"],styles:{palette:{windowBorder:u.NEUTRAL_GRAY_400,tabIcon:u.PURPLE,menuIcons:u.SHADES_BLACK,textDark:u.SHADES_BLACK,textLight:u.SHADES_WHITE,link:u.NEUTRAL_GRAY_300,action:u.GREEN,inactiveTabIcon:u.SHADES_BLACK,error:u.ERROR_600,inProgress:u.PURPLE,complete:u.SUCCESS_500,sourceBg:u.NEUTRAL_GRAY_50},fonts:(0,s._)({},"'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI',\n    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",{active:!0})}},_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(n,t){var i=cloudinary.openUploadWidget((0,l._)({},m,e),function(e,a){if(e&&t(e),"close"===a.event&&i.destroy(),"queues-end"===a.event){var s,l=r.Z(["info","files",0],a);l&&(!l.type&&(null===(s=l.uploadInfo)||void 0===s?void 0:s.format)&&(l.type=c.lookup(l.uploadInfo.format)),n(l))}})})},f=(i=(0,a._)(function(e){var n,t,i,a,s,l,r,c;return(0,o.Jh)(this,function(o){switch(o.label){case 0:return n=e.apolloClient,t=e.uploadWidgetOptions,a=void 0===(i=e.eagerLoadTransformations)?[]:i,[4,_(t)];case 1:return l=(s=o.sent()).name,r=s.type,c=s.uploadInfo.public_id,[4,n.mutate({mutation:d.createFile,variables:{attachmentData:{cloudinaryId:c,filename:l,mimetype:r},eagerLoadTransformations:a}})];case 2:return[2,o.sent().data.createFile]}})}),function(e){return i.apply(this,arguments)})},11805:function(e,n,t){"use strict";t.d(n,{g:function(){return i}});var i=function(e){return(null==e?void 0:e.isActive)===!0&&!0===e.isSuperAdmin}},37914:function(e){e.exports={colors:"'~styles/colors.module.css'",NEUTRAL_GRAY_800:"#1E293B",NEUTRAL_GRAY_900:"#0F172A",WHITE:"#fff",coachAccountDropdownRoot:"styles_coachAccountDropdownRoot__n0VR5",menuRoot:"styles_menuRoot__OYqI0",menuButton:"styles_menuButton__EgBo0",menuList:"styles_menuList__SFpvw",levelBadge:"styles_levelBadge__HS_LG",menuRootHidden:"styles_menuRootHidden__PrubK"}},96107:function(e){e.exports={colors:"'~styles/colors.module.css'",COACH_LEVEL_TRIAL:"#1E293B",COACH_LEVEL_MARKETPLACE:"#BB025E",COACH_LEVEL_BRONZE:"#A16330",COACH_LEVEL_SILVER:"#707082",COACH_LEVEL_GOLD:"#9A700A",COACH_LEVEL_PLATINUM:"#5D6166",coachLevelBadgeRoot:"styles_coachLevelBadgeRoot__BplGy",coachLevelBadgeText:"styles_coachLevelBadgeText__R1N_T",trial:"styles_trial__DRek9",trialText:"styles_trialText__sFgqD",marketplace:"styles_marketplace__pvi30",bronze:"styles_bronze__g1pw_",silver:"styles_silver__n_i25",gold:"styles_gold__kJmF2",platinum:"styles_platinum__seguQ"}},97165:function(e){e.exports={colors:"'styles/colors.module.css'",NEUTRAL_GRAY_100:"#F1F5F9",NEUTRAL_GRAY_300:"#CBD5E1",NEUTRAL_GRAY_600:"#475569",container:"styles_container__wmrvW",filter:"styles_filter__YGWlX",filterInput:"styles_filterInput__JIUbn",list:"styles_list__c2bRl",footer:"styles_footer__Cp_p2",trainingStageListItem:"styles_trainingStageListItem__tHNxm styles_searchResultsCardBase__HYXOn"}},61379:function(e){e.exports={colors:"'styles/colors.module.css'",NEUTRAL_GRAY_100:"#F1F5F9",NEUTRAL_GRAY_200:"#E2E8F0",NEUTRAL_GRAY_300:"#CBD5E1",SHADES_WHITE:"#FFFFFF",ERROR_600:"#DC2828",breakpoints:"'styles/breakpoints.module.css'",NEW_TABLET_LANDSCAPE:"1133px",NEW_DESKTOP_SMALL:"1377px",container:"styles_container__4QnEi",main:"styles_main__8gcI3",pageTitle:"styles_pageTitle__732tp",sectionTitle:"styles_sectionTitle__7bJTA",quickAction:"styles_quickAction__Sx6TH",form:"styles_form__UI1c9",label:"styles_label__4pvLQ",input:"styles_input__HXVFz",error:"styles_error__oHWth",workoutTemplates:"styles_workoutTemplates__iiXHl",workoutTemplate:"styles_workoutTemplate__qo_37",workoutTemplateCard:"styles_workoutTemplateCard__c6Yok",modalWrapper:"styles_modalWrapper__z7tKp modals_modalWrapper__l552B",footer
1:"styles_footer__fPara",footerContent:"styles_footerContent__2M3j_",addTemplatesButton:"styles_addTemplatesButton__YLX8Z",errorNote:"styles_errorNote__kDrHp",radioOption:"styles_radioOption__9jqBU",radioLabelWrapper:"styles_radioLabelWrapper__0ITQh",radioLabel:"styles_radioLabel__KkrpW",marginTop:"styles_marginTop__3uyqS",content:"styles_content__t6dP_"}},88446:function(e){e.exports={colors:"'styles/colors.module.css'",NEUTRAL_GRAY_100:"#F1F5F9",breakpoints:"'styles/breakpoints.module.css'",NEW_TABLET_LANDSCAPE:"1133px",NEW_DESKTOP_SMALL:"1377px",container:"styles_container___J8ZT",main:"styles_main__GkWS4"}},66894:function(e){e.exports={colors:"'styles/colors.module.css'",NEUTRAL_GRAY_300:"#CBD5E1",breakpoints:"'styles/breakpoints.module.css'",NEW_TABLET_LANDSCAPE:"1133px",MOBILE_BREAKPOINT:"600px",dashboardRoot:"styles_dashboardRoot__1U_hz flex_flexColumn__kV3Nl flex_flex__dGXxa",container:"styles_container__07NTf flex_flexColumn__kV3Nl flex_flex__dGXxa",column:"styles_column__TPe_b",sidebar:"styles_sidebar__qFvNR styles_column__TPe_b",main:"styles_main__xqy_x styles_column__TPe_b",hiddenMobile:"styles_hiddenMobile__Y3Gep"}},57236:function(e){e.exports={screen:"styles_screen__JzZT2",padded:"styles_padded__wDJYB",transparentBackground:"styles_transparentBackground__ijoPP styles_screen__JzZT2",transparent:"styles_transparent__owvmg"}},83922:function(e){e.exports={colors:"'styles/colors.module.css'",breakpoints:"'styles/breakpoints.module.css'",SOLID_BRICK_RED:"#BD5051",NEUTRAL_GRAY_100:"#F1F5F9",SHADES_WHITE:"#FFFFFF",SHADES_BLACK:"#212121",PURPLE:"#830051",NEUTRAL_GRAY_600:"#475569",NEW_MOBILE_MAX:"743px",link:"styles_link__PFR5H links_unstyled__flMQ_",close:"styles_close__25wDp",promoteModal:"styles_promoteModal__VcOqU",title:"styles_title__9zdzx",subtitle:"styles_subtitle__rtQTf",description:"styles_description__ugbFa",card:"styles_card__5yeDV",buttonRow:"styles_buttonRow__Enbsq",button:"styles_button__Yj4sD",cardTitle:"styles_cardTitle__4wJib",clpLink:"styles_clpLink__c4n9Z",qrCodeContainer:"styles_qrCodeContainer__QVI2g",clientRecruiterButton:"styles_clientRecruiterButton__gXUNB"}},57174:function(e){e.exports={colors:"'~styles/colors.module.css'",NEUTRAL_GRAY_100:"#F1F5F9",NEUTRAL_GRAY_400:"#94A3B8",moreActionsIcon:"styles_moreActionsIcon__Ytoz8",moreActionsContainer:"styles_moreActionsContainer__p5Xrd",moreActionsMenu:"styles_moreActionsMenu__LcSd2",moreActionsMenuItems:"styles_moreActionsMenuItems___bG9D",moreActionsMenuItem:"styles_moreActionsMenuItem__kcpFY",iconLeft:"styles_iconLeft__iJyQR",iconRight:"styles_iconRight__pwWoz"}},36112:function(e){e.exports={colors:"'~styles/colors.module.css'",NEUTRAL_GRAY_300:"#CBD5E1",NEUTRAL_GRAY_400:"#94A3B8",NEUTRAL_GRAY_500:"#64748B",PRIMARY_FOCUSED:"#FFAA90",PRIMARY_HOVER:"#4F0031",PRIMARY_DEFAULT:"#830051",SHADES_WHITE:"#FFFFFF",searchResultsAnchor:"styles_searchResultsAnchor___WNvy",searchResultsCardRound:"styles_searchResultsCardRound__tz3Tr",searchResultsCardBase:"styles_searchResultsCardBase__HYXOn",searchResultsCardRoot:"styles_searchResultsCardRoot__JRTMS styles_searchResultsCardBase__HYXOn styles_searchResultsCardRound__tz3Tr",searchResultsCardLoading:"styles_searchResultsCardLoading__3wl9H",searchResultsCardSelected:"styles_searchResultsCardSelected__zP26m",searchResultsInnerRoot:"styles_searchResultsInnerRoot__FPWKA",searchResultInnerMain:"styles_searchResultInnerMain__rjY81",searchResultTextContainer:"styles_searchResultTextContainer__pEjDo",searchResultTextTitle:"styles_searchResultTextTitle__p7vpl",overlineHeader:"styles_overlineHeader__UGQhX flex_flexRow__67MkI flex_flex__dGXxa flex_itemsCenter__vJTEn",overline:"styles_overline__Sb4SR",previewImageContainer:"styles_previewImageContainer__5YmEv",previewImage:"styles_previewImage__eyAyh",previewImagePlaceholder:"styles_previewImagePlaceholder__PzKYz",titleRow:"styles_titleRow__eVpCa",loadingContainer:"styles_loadingContainer__MjSCy",metricsRow:"styles_metricsRow__mTmhl",metricRow:"styles_metricRow__YGp3W",innerMetricRow:"styles_innerMetricRow__8SRTh",dotSeparator:"styles_dotSeparator__fSeRI",moreDetailsIcon:"styles_moreDetailsIcon__OnWSp"}},97129:function(e){e.exports={breakpoints:"'~styles/breakpoints.module.css'",TABLET_WIDTH:"768px",message:"styles_message__tXZ9D",illustrationContainer:"styles_illustrationContainer__GAiHy",loadingContainer:"styles_loadingContainer__YgX1N"}},51892:function(e){e.exports={colors:"'~styles/colors.module.css'",PURPLE:"#830051",spinner:"styles_spinner__wRTlm"}},95766:function(e){e.exports={h1:"styles_h1__nYvNL",h2:"styles_h2__xmZM6",h3:"styles_h3__oJeUl",p:"styles_p__mqBdV",span:"styles_span__xuVQx",label:"styles_label__LmTWN"}},45967:function(e){e.exports={elevations:"'~styles/elevations.module.css'",colors:"'~styles/colors.module.css'",ELEVATION_BORDER_BOTTOM:"0px 1px 0px #E2E8F0",NEUTRAL_GRAY_200:"#E2E8F0",SHADES_WHITE:"#FFFFFF",WHITE:"#fff",MOBILE_BREAKPOINT:"600px",safeAreaContainer:"styles_safeAreaContainer__V1niL",utilityNavRoot:"styles_utilityNavRoot__KW9Sp",utilityNavContent:"styles_utilityNavContent__OEnii",backButton:"styles_backButton__zB8B1",utilityNavTitle:"styles_utilityNavTitle__JyIyS",workoutLibraryNavTitle:"styles_workoutLibraryNavTitle__jJOZp",contentRight:"styles_contentRight__LIWoD",help
1Header:"styles_helpHeader__ZvyOq",helpLabel:"styles_helpLabel__ejW1X",promoteButton:"styles_promoteButton__vWrrS",coachLevelLabel:"styles_coachLevelLabel__9ZIYF",promoteLabel:"styles_promoteLabel__qVxGE",level2Title:"styles_level2Title__E909r"}},51322:function(e){e.exports={hintModalWrapper:"styles_hintModalWrapper__uNKc_"}},65049:function(e){e.exports={DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",MOBILE_WIDTH_MAX:"992px",TABLET_WIDTH:"768px",MOBILE_WIDTH:"576px",NEW_MOBILE_MAX:"743px",NEW_TABLET_PORTRAIT:"744px",NEW_TABLET_PORTRAIT_MAX:"1132px",NEW_TABLET_LANDSCAPE:"1133px",NEW_TABLET_LANDSCAPE_MAX:"1376px",NEW_DESKTOP_SMALL:"1377px"}},71970:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",breakpoints:"'styles/breakpoints.module.css'",TABLET_WIDTH:"768px",link:"styles_link__UylUr",h:"styles_h___eSGE",h1:"styles_h1__XMOWw styles_h___eSGE",h2:"styles_h2__F56TT styles_h___eSGE",h3:"styles_h3__f8rGD styles_h___eSGE",h4:"styles_h4__qtSRA styles_h___eSGE",h5:"styles_h5__A462U styles_h___eSGE",h6:"styles_h6__nkfcm styles_h___eSGE",bold:"styles_bold__4D1Kq",underline:"styles_underline__ky_r3",italic:"styles_italic__4AJJp",p:"styles_p__6QO02",list:"styles_list__RljQj",ul:"styles_ul__J4cFv styles_list__RljQj",ol:"styles_ol__iY0g9 styles_list__RljQj",li:"styles_li__6y3OO",blockquote:"styles_blockquote__vuRsW",image:"styles_image__xy3Qu",video:"styles_video__DZbDr",firstLetter:"styles_firstLetter__P_wQv styles_bold__4D1Kq"}},59658:function(e){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUEBAQEAwUEBAQGBQUGCA0ICAcHCBALDAkNExAUExIQEhIUFx0ZFBYcFhISGiMaHB4fISEhFBkkJyQgJh0gISABBQYGCAcIDwgIDyAVEhUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIP/AABEIAIAAgAMBEQACEQEDEQH/xACTAAABBAMBAQAAAAAAAAAAAAAFAwQGBwECCAAJEAACAQIFAgUBBQUGBwEAAAABAgMEEQAFBhIhMUEHEyJRYXEUIzKBkQgVUoKxcpKhwdHhJEJDYoPD0vABAAIDAQEBAAAAAAAAAAAAAAIDAAQFAQYHEQADAAIDAAMAAwADAAAAAAAAAQIDEQQSIRMxQQUiMhQVI//aAAwDAQACEQMRAD8A6g09uWgj5G3qBipj2gmSAHjpiz2bBTPYLUndI2xztJN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675,945,2279,4129,1003,7536,939,7597,2201,2964,9405,7977,3420,7092,2888,9774,179],function(){return e(e.s=17995)}),_N_E=e.O()}]);
2//# sourceMappingURL=[habitTemplateId]-3e5830fc712e2b30.js.map

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.