1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6167,7977,3420,2118],{66485:function(e){e.exports=function(e){if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(function(e){throw void 0!==e?e:new DOMException("The request is not allowed","NotAllowedError")});var n=document.createElement("span");n.textContent=e,n.style.whiteSpace="pre",n.style.webkitUserSelect="auto",n.style.userSelect="all",document.body.appendChild(n);var i=window.getSelection(),t=window.document.createRange();i.removeAllRanges(),t.selectNode(n),i.addRange(t);var a=!1;try{a=window.document.execCommand("copy")}catch(e){console.log("error",e)}return i.removeAllRanges(),window.document.body.removeChild(n),a?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))}},80817:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createOverviewSurveyQuestionResponses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"coachId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"surveyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"surveyQuestionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"surveyQuestionResponseIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"responseValue"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"modelPath"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createCmsSurveyQuestionResponses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}},{kind:"Argument",name:{kind:"Name",value:"coachId"},value:{kind:"Variable",name:{kind:"Name",value:"coachId"}}},{kind:"Argument",name:{kind:"Name",value:"surveyId"},value:{kind:"Variable",name:{kind:"Name",value:"surveyId"}}},{kind:"Argument",name:{kind:"Name",value:"surveyQuestionId"},value:{kind:"Variable",name:{kind:"Name",value:"surveyQuestionId"}}},{kind:"Argument",name:{kind:"Name",value:"surveyQuestionResponseIds"},value:{kind:"Variable",name:{kind:"Name",value:"surveyQuestionResponseIds"}}},{kind:"Argument",name:{kind:"Name",value:"responseValue"},value:{kind:"Variable",name:{kind:"Name",value:"responseValue"}}},{kind:"Argument",name:{kind:"Name",value:"modelPath"},value:{kind:"Variable",name:{kind:"Name",value:"modelPath"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"surveyQuestionId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cmsSurveyQuestionResponses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"cmsSurveyQuestionResponseFields"},directives:[]}]}}]}}]}}],loc:{start:0,end:655}};t.loc.source={body:"#import 'fragments/cms-survey.graphql'\n#import 'fragments/me.graphql'\n\nmutation createOverviewSurveyQuestionResponses(\n $clientId: ID\n $coachId: ID\n $surveyId: ID!\n $surveyQuestionId: ID!\n $surveyQuestionResponseIds: [ID!]\n $responseValue: String\n $modelPath: String\n) {\n createCmsSurveyQuestionResponses(\n clientId: $clientId\n coachId: $coachId\n surveyId: $surveyId\n surveyQuestionId: $surveyQuestionId\n surveyQuestionResponseIds: $surveyQuestionResponseIds\n responseValue: $responseValue\n modelPath: $modelPath\n ) {\n surveyQuestionId\n cmsSurveyQuestionResponses {\n ...cmsSurveyQuestionResponseFields\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e){return e.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})}t.definitions=t.definitions.concat(s(i(64375).definitions)),t.definitions=t.definitions.concat(s(i(67973).definitions));var o={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),o[e.name.value]=n}}),e.exports=t,e.exports.createOverviewSurveyQuestionResponses=function(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=o[n]||new Set,a=new Set,s=new Set;for(t.forEach(function(e){s.add(e)});s.size>0;){var l=s;s=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(o[e]||new Set).forEach(function(e){s.add(e)}))})}return a.forEach(function(n){var t=r(e,n);t&&i.definitions.push(t)}),i}(t,"createOverviewSurveyQuestionResponses")},88134:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getOverviewCoachResponses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"coachId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"surveyId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"coach"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"coachId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cmsSurveyQuestionResponses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"surveyId"},value:{kind:"Variable",name:{kind:"Name",value:"surveyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"cmsSurveyQuestionResponseFields"},directives:[]}]}}]}}]}}],loc:{start:0,end:283}};t.loc.source={body:"#import 'fragments/cms-survey.graphql'\n\nquery getOverviewCoachResponses($coachId: ID!, $surveyId: ID) {\n coach(id: $coachId) {\n id\n user {\n id\n username\n }\n cmsSurveyQuestionResponses(surveyId: $surveyId) {\n ...cmsSurveyQuestionResponseFields\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(64375).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.getOverviewCoachResponses=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}(t,"getOverviewCoachResponses")},42266:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"clientRecipeCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Client"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recipeCategories"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:87}};n.loc.source={body:"fragment clientRecipeCategoryFields on Client {\n id\n recipeCategories {\n id\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.clientRecipeCategoryFields=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach(function(e){r.add(e)}))})}return o.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"clientRecipeCategoryFields")},46722:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateClientRecipeCategories"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"recipeCategoryIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateClientRecipeCategories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}},{kind:"Argument",name:{kind:"Name",value:"recipeCategoryIds"},value:{kind:"Variable",name:{kind:"Name",value:"recipeCategoryIds"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientRecipeCategoryFields"},directives:[]}]}}]}}],loc:{start:0,end:264}};t.loc.source={body:'#import "./fragments.graphql"\n\nmutation updateClientRecipeCategories(\n $clientId: ID!\n $recipeCategoryIds: [ID!]!\n) {\n updateClientRecipeCategories(\n clientId: $clientId\n recipeCategoryIds: $recipeCategoryIds\n ) {\n ...clientRecipeCategoryFields\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(42266).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.updateClientRecipeCategories=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}(t,"updateClientRecipeCategories")},56635:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCuisines"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recipeCategories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"groupName"},value:{kind:"StringValue",value:"cuisine",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getClientRecipeCategories"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientRecipeCategoryFields"},directives:[]}]}}]}}],loc:{start:0,end:233}};t.loc.source={body:'#import "./fragments.graphql"\n\nquery getCuisines {\n recipeCategories(groupName: "cuisine") {\n id\n name\n }\n}\n\nquery getClientRecipeCategories($clientId: ID!) {\n client(id: $clientId) {\n ...clientRecipeCategoryFields\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(42266).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}function r(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.getCuisines=r(t,"getCuisines"),e.exports.getClientRecipeCategories=r(t,"getClientRecipeCategories")},82270:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"clientExcludedIngredientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Client"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"excludedIngredients"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:103}};n.loc.source={body:"fragment clientExcludedIngredientFields on Client {\n id\n excludedIngredients {\n id\n name\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.clientExcludedIngredientFields=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach(function(e){r.add(e)}))})}return o.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"clientExcludedIngredientFields")},5946:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateClientIngredientExclusions"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ingredientIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateClientIngredientExclusions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}},{kind:"Argument",name:{kind:"Name",value:"ingredientIds"},value:{kind:"Variable",name:{kind:"Name",value:"ingredientIds"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientExcludedIngredientFields"},directives:[]}]}}]}}],loc:{start:0,end:264}};t.loc.source={body:'#import "./fragments.graphql"\n\nmutation updateClientIngredientExclusions(\n $clientId: ID!\n $ingredientIds: [ID!]!\n) {\n updateClientIngredientExclusions(\n clientId: $clientId\n ingredientIds: $ingredientIds\n ) {\n ...clientExcludedIngredientFields\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(82270).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.updateClientIngredientExclusions=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}(t,"updateClientIngredientExclusions")},6369:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getExcludedIngredients"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientExcludedIngredientFields"},directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getIngredients"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchText"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeIngredientIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ingredientCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"pageSize"},value:{kind:"IntValue",value:"6"}},{kind:"Argument",name:{kind:"Name",value:"searchText"},value:{kind:"Variable",name:{kind:"Name",value:"searchText"}}},{kind:"Argument",name:{kind:"Name",value:"excludeIngredientIds"},value:{kind:"Variable",name:{kind:"Name",value:"excludeIngredientIds"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ingredients"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:411}};t.loc.source={body:'#import "./fragments.graphql"\n\nquery getExcludedIngredients($clientId: ID!) {\n client(id: $clientId) {\n ...clientExcludedIngredientFields\n }\n}\n\nquery getIngredients($searchText: String, $excludeIngredientIds: [ID!]) {\n ingredientCollection(\n pageSize: 6\n searchText: $searchText\n excludeIngredientIds: $excludeIngredientIds\n ) {\n hasNextPage\n ingredients {\n id\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(82270).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}function r(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.getExcludedIngredients=r(t,"getExcludedIngredients"),e.exports.getIngredients=r(t,"getIngredients")},2836:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"checkEligibility"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"EligibilityInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"checkEligibility"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bridgePolicyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bridgeServiceEligibilityId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currentStep"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"policyStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"serviceEligibilityStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"eligibilityParams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clinicalInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diagnoses"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"retryCount"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:308}};n.loc.source={body:"mutation checkEligibility($input: EligibilityInput!) {\n checkEligibility(input: $input) {\n id\n bridgePolicyId\n bridgeServiceEligibilityId\n currentStep\n policyStatus\n serviceEligibilityStatus\n eligibilityParams {\n clinicalInfo {\n diagnoses\n }\n }\n retryCount\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.checkEligibility=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach(function(e){r.add(e)}))})}return o.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"checkEligibility")},49426:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"clientMealFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Client"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:66}};n.loc.source={body:"fragment clientMealFields on Client {\n id\n meals {\n id\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.clientMealFields=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach(function(e){r.add(e)}))})}return o.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"clientMealFields")},84480:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateClientMeals"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mealIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateClientMeals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}},{kind:"Argument",name:{kind:"Name",value:"mealIds"},value:{kind:"Variable",name:{kind:"Name",value:"mealIds"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientMealFields"},directives:[]}]}}]}}],loc:{start:0,end:186}};t.loc.source={body:'#import "./fragments.graphql"\n\nmutation updateClientMeals($clientId: ID!, $mealIds: [ID!]!) {\n updateClientMeals(clientId: $clientId, mealIds: $mealIds) {\n ...clientMealFields\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(49426).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.updateClientMeals=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}(t,"updateClientMeals")},42588:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getClientMeals"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientMealFields"},directives:[]}]}}]}}],loc:{start:0,end:126}};t.loc.source={body:'#import "./fragments.graphql"\n\nquery getClientMeals($clientId: ID!) {\n client(id: $clientId) {\n ...clientMealFields\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(49426).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.getClientMeals=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}(t,"getClientMeals")},18503:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"searchPayers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"searchBridgePayers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"memberId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hint"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:139}};n.loc.source={body:"query searchPayers($searchTerm: String!) {\n searchBridgePayers(query: $searchTerm) {\n id\n code\n name\n memberId\n hint\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.searchPayers=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach(function(e){r.add(e)}))})}return o.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"searchPayers")},64375:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"cmsSurveyQuestionResponseFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CmsSurveyQuestionResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"surveyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"surveyQuestionId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"surveyQuestionResponseId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"responseValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metadata"},arguments:[],directives:[]}]}}],loc:{start:0,end:163}};n.loc.source={body:"fragment cmsSurveyQuestionResponseFields on CmsSurveyQuestionResponse {\n id\n surveyId\n surveyQuestionId\n surveyQuestionResponseId\n responseValue\n metadata\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.cmsSurveyQuestionResponseFields=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach(function(e){r.add(e)}))})}return o.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"cmsSurveyQuestionResponseFields")},7433:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCurrentUser"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"me"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"meFields"},directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCurrentUserWithSurvey"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"me"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"meFieldsWithSurvey"},directives:[]}]}}]}}],loc:{start:0,end:157}};t.loc.source={body:"#import 'fragments/me.graphql'\n\nquery getCurrentUser {\n me {\n ...meFields\n }\n}\n\nquery getCurrentUserWithSurvey {\n me {\n ...meFieldsWithSurvey,\n }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(67973).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 o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}function r(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,r=new Set;for(t.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){r.add(e)}))})}return a.forEach(function(n){var t=o(e,n);t&&i.definitions.push(t)}),i}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.getCurrentUser=r(t,"getCurrentUser"),e.exports.getCurrentUserWithSurvey=r(t,"getCurrentUserWithSurvey")},17545:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/coach-network/overview",function(){return i(3683)}])},19660:function(e,n,i){"use strict";i.d(n,{g:function(){return a}});var t=new(i(81182)).r({cloud:{cloudName:"kickoff-personal-training"},url:{secure:!0}});function a(e){return t.image(e)}n.Z=t},32173:function(e,n,i){"use strict";i.d(n,{L:function(){return y}});var t=i(73292),a=i(93128),s=i(85893),o=i(67294),r=i(93967),l=i.n(r),u=i(8323),c=i(37479),d=i(37914),v=i.n(d),f=i(9213),p=i(39737),m=i(3653),h=i(72085),g=i(9736),_=i(11805),y=function(e){var n,i,r,d,y,I=e.className,k=e.coach,C=e.hideName,x=e.onClick,N=e.placement,b=(0,h.Z)(),S=null==b?void 0:null===(r=b.data)||void 0===r?void 0:null===(i=r.me)||void 0===i?void 0:null===(n=i.user)||void 0===n?void 0:n.coach,E=(0,g.y)(S),T=(0,_.g)(S),w=(0,m.k)().handleButtonClick,D=(0,a._)((0,o.useState)(!1),2),j=D[0],A=D[1],L=(null==k?void 0:k.isInsuranceDietitian)&&!(null==k?void 0:k.isAcceptingNonInsuranceClients);return(0,s.jsxs)("div",{className:l()(v().coachAccountDropdownRoot,I),onClick:x,onKeyDown:x,onMouseOver:function(){return A(!0)},onMouseLeave:function(){return A(!1)},tabIndex:x?0:void 0,children:[(0,s.jsx)(u.qE,{alt:"avatar",onClick:function(){},fallbackValue:null==k?void 0:null===(d=k.fullName)||void 0===d?void 0:d.charAt(0),src:null==k?void 0:k.avatarPhoto,size:24}),(0,s.jsxs)(u.v2,{enableHover:!0,className:l()(v().menuRoot,(0,t._)({},v().menuRootHidden,void 0!==C&&C)),floatingProps:{open:j,onOpenChange:A,placement:void 0===N?"bottom-end":N},children:[(0,s.jsx)(u.j2,{className:v().menuButton,children:null==k?void 0:k.fullName}),(0,s.jsxs)(u.qy,{className:v().menuList,horizontalPosition:"right",children:[!L&&(0,s.jsx)(u.sN,{iconLeft:(0,s.jsx)(c.bk,{}),to:p.ZP.payrollDashboard(),children:"Payment History"}),(0,s.jsx)(u.sN,{iconLeft:(0,s.jsx)(c.cJ,{}),onClick:function(){w()},children:"Coach Profile"}),T&&(0,s.jsx)(u.sN,{iconLeft:(0,s.jsx)(c._8,{}),to:p.ZP.transcriptExports(),children:"Transcript Exports"}),!L&&(0,s.jsx)(u.sN,{iconLeft:(0,s.jsx)(c.KQ,{}
1),to:null===(y=p.ZP.coachMetrics({id:null==k?void 0:k.id}))||void 0===y?void 0:y.href,children:(0,s.jsxs)(u.kC,{alignItems:"center",gap:.5,children:[(0,s.jsx)("span",{children:"Level"}),(0,s.jsx)(f.S,{level:null==k?void 0:k.level})]})}),(0,s.jsx)(u.sN,{iconLeft:(0,s.jsx)(c.IE,{}),to:p.ZP.coachAccount(E&&{coachId:null==k?void 0:k.id}),children:"Settings"}),(0,s.jsx)(u.iz,{}),(0,s.jsx)(u.sN,{iconLeft:(0,s.jsx)(c.Hl,{}),to:null===p.ZP||void 0===p.ZP?void 0:p.ZP.signOut(),children:"Sign Out"})]})]})]})}},9213:function(e,n,i){"use strict";i.d(n,{S:function(){return c}});var t=i(85893),a=i(93967),s=i.n(a),o=i(8323),r=i(96107),l=i.n(r),u=["awaiting review","awaiting acquired client","acquired client trial","marketplace client trial"],c=function(e){var n=e.className,i=e.level,a=null==i?void 0:i.toLowerCase(),r=u.includes(a);return(0,t.jsx)(o.Ct,{className:s()(l().coachLevelBadgeRoot,r?l().trial:l()[a],n),size:12,textClassName:s()(l().coachLevelBadgeText,r?l().trialText:l()["".concat(i,"Text")]),uppercase:!0,children:r?"onboarding":i})}},37977:function(e,n,i){"use strict";var t=i(73292),a=i(76341),s=i(93128),o=i(85893),r=i(83217),l=i(43973),u=i(93568),c=i(71689),d=i(57903),v=i(44603),f=i(91642),p=i(77006),m=i(31885),h=i(67294),g=i(9008),_=i.n(g),y=i(93967),I=i.n(y),k=i(11163),C=i(29254),x=i(39737),N=i(98731),b=i(37078),S=i(47915),E=i(78768),T=i.n(E),w=i(4298),D=i.n(w),j=i(6351),A=i(42823),L=i(94263),Z=i(26252),R="GTM-TLW9XW3";n.Z=(0,k.withRouter)(function(e){var n,i=e.children,g=e.router,y=e.canonicalUrl,k=void 0===y?void 0:y,E=e.title,w=e.metaTags,V=e.noIndex,F=e.includeChat,B=e.includeCloudinary,O=e.clientFirstName,M=void 0===O?void 0:O,P=e.disableAutoScale,Q=e.fontFamily,q=e.appClass,G=e.referrer,H=e.userAgent,Y=e.isFreeTrial,U=void 0!==Y&&Y,W=e.applySafeAreaInsets,z=void 0===W||W,K=e.appStyles,J=k||null,X=(0,L.Z)()===L.C.ThankYouPageGuestPass,$=(0,s._)((0,h.useState)(null),2),ee=$[0],en=$[1],ei=(0,s._)((0,h.useState)(null),2),et=ei[0],ea=ei[1],es=(0,s._)((0,h.useState)({}),2),eo=es[0],er=es[1],el=(0,s._)((0,h.useState)(null),2),eu=el[0],ec=el[1],ed=(0,Z.H)();(0,h.useEffect)(function(){if(null==g?void 0:g.query){(null==g?void 0:null===(e=g.query)||void 0===e?void 0:e.deviceId)&&A.o.setDeviceId(null==g?void 0:null===(n=g.query)||void 0===n?void 0:n.deviceId);var e,n,i=r.Z(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","ref"],g.query);l.Z(i)||A.o.setUserProperties(i)}},[null==g?void 0:g.query]);var ev=function(){var e;null===(e=eo.onClose)||void 0===e||e.call(eo),en(null),ea(null),er({})},ef={isOpen:!!ee,open:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=i.className,a=i.overlayClassName,s=i.theme,o=i.disableClose,r=i.blur,l=i.key,u=i.onClose;en(function(){return e}),ea(n),er({className:t,overlayClassName:a,theme:void 0===s?"white":s,disableClose:void 0!==o&&o,blur:void 0!==r&&r,onClose:u}),ec(void 0===l?null:l)},setProps:ea,setConfig:function(e){return er((0,a._)({},eo,e))},close:ev,isBlur:eo.blur,key:eu},ep=["width=device-width","initial-scale=1.0"];(void 0===P?void 0:P)&&ep.push("maximum-scale=1.0, user-scalable=no");var em=(0,s._)((0,h.useState)({}),2),eh=em[0],eg=em[1];(0,h.useEffect)(function(){var e=(0,b._T)();eg({"--has-touch":e,"--has-hover":!e})},[]);var e_=(0,h.useMemo)(function(){return z&&(ed.top||ed.bottom)?{paddingTop:ed.top,paddingBottom:ed.bottom}:null},[z,ed.bottom,ed.top]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{id:"app",style:(0,a._)({},void 0===K?{}:K,e_),className:I()(T().app,T()["fontFamily".concat(void 0===Q?"Heebo":Q)],void 0===q?void 0:q,eh),children:[(0,o.jsxs)(_(),{children:[(0,o.jsx)("meta",{content:ep.join(", "),name:"viewport"}),(0,o.jsx)("meta",{name:"google",value:"notranslate"}),(void 0!==V&&V||!1)&&(0,o.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),J&&(0,o.jsx)("link",{rel:"canonical",href:J},"canonical"),u.Z(c.Z)(function(e,n){var i=e.fields,t=d.Z(function(e){var n=e.name,i=e.property,t=e.content,a=e.contentMedia;return{name:n,property:i,content:a?"https:".concat(v.Z(["fields","file","url"],a)):t}},f.Z(p.Z))(i);return(0,o.jsx)("meta",(0,a._)({},t),"meta-".concat(n))},m.Z(function(e){return M&&("og:image"===e.fields.property||"og:title"===e.fields.property||"og:description"===e.fields.property||"description"===e.fields.name)||U&&("og:description"===e.fields.property||"description"===e.fields.name)},void 0===w?[]:w)),M&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{property:"og:title",content:"1 ".concat(X?"Week":"Month"," Free Guest Pass | From: ").concat(M)}),(0,o.jsx)("meta",{property:"og:description",content:"Find your coach & get daily online personal training for free."}),(0,o.jsx)("meta",{name:"description",content:"Find your coach & get daily online personal training for free."}),X?(0,o.jsx)("meta",{property:"og:image",content:"".concat(x.S$,"/giftcard-7-day.png")}):(0,o.jsx)("meta",{property:"og:image",content:"".concat(x.S$,"/giftcard-with-expire-date-v3.png")})]}),U&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{property:"og:description",content:"Daily custom workout & nutrition plan curated by your own human fitness coach. On-demand support. 7 day free trial."}),(0,o.jsx)("meta",{name:"description",content:"Daily custom workout & nutrition plan curated by your own human fitness coach. On-demand support. 7 day free trial."})]}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"".concat(x.S$,"/apple-touch-icon-v3.png")}),(0,o.jsx)("link",{rel:"icon",type:"image/png",href:"".concat(x.S$,"/favicon-v3-32x32.png"),sizes:"32x32"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",href:"".concat(x.S$,"/favicon-v3-16x16.png"),sizes:"16x16"}),(0,o.jsx)("title",{children:void 0===E?"Kickoff":E},"title")]}),void 0!==F&&F&&(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:'window.$crisp=[];window.CRISP_WEBSITE_ID="'.concat("2cf5e1a1-e8b1-487b-9430-ac738d7bf904",'";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();')}}),void 0!==B&&B&&(0,o.jsx)(D(),{src:"https://widget.cloudinary.com/v2.0/global/all.js",type:"text/javascript"}),(0,o.jsx)(N.Z.Provider,{value:ef,children:(0,o.jsxs)(j.f,{referrer:void 0===G?void 0:G,userAgent:void 0===H?void 0:H,children:[i,!!ee&&(0,o.jsx)(S.Z,{children:(0,o.jsxs)("div",{className:T().modalWrapper,children:[(0,o.jsx)("div",{className:I()(T().modal,eo.className),children:ee(et)}),(0,o.jsx)("div",{className:I()(T().modalOverlay,(n={},(0,t._)(n,T().modalOverlayWhite,"white"===eo.theme),(0,t._)(n,T().modalOverlayBlack,"black"===eo.theme),n),eo.overlayClassName),onClick:function(){eo.disableClose||ev()}})]})})]})})]}),C.bX,(0,o.jsx)(D(),{strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({ APP_ENV: '".concat("production","' })\n ")}}),(0,o.jsx)(D(),{strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer', '".concat(R,"');\n ")}}),(0,o.jsx)("noscript",{children:(0,o.jsx)("iframe",{title:"GTM",src:"https://www.googletagmanager.com/ns.html?id=".concat(R),height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})})},9050:function(e,n,i){"use strict";var t=i(85893),a=i(93967),s=i.n(a),o=i(90998),r=i.n(o),l=i(32097),u=i.n(l);n.Z=function(e){var n=e.checked,i=e.className;return(0,t.jsxs)("div",{className:s()(u().container,i),tabIndex:"-1",children:[(0,t.jsx)("input",{type:"checkbox",checked:n,className:u().checkboxInput,readOnly:!0,onClick:function(e){return e.stopPropagation()},tabIndex:"-1"}),(0,t.jsx)("div",{className:u().checkbox,tabIndex:"-1",children:n&&(0,t.jsx)("img",{src:r(),alt:"Check",className:u().checkIcon})})]})}},43542:function(e,n,i){"use strict";var t=i(73292),a=i(76341),s=i(85893),o=i(93967),r=i.n(o),l=i(67294),u=i(89755),c=i.n(u),d=i(78772),v=i(75615),f=i(91249),p=i.n(f),m="png8";n.Z=function(e){var n=e.className,i=e.imageClassName,o=e.videoClassName,u=e.thumbnailMobileClassName,f=e.videoProps,h=e.fields,g=e.videoFields,_=e.mobileFields,y=e.isProgressive,I=void 0!==y&&y,k=e.fm,C=void 0===k?"png":k,x=e.fl,N=void 0===x?m:x,b=e.w,S=void 0===b?"":b,E=e.h,T=void 0===E?"":E,w=e.useNextImage,D=e.priority,j=e.layout,A=void 0===j?"fill":j,L=e.objectFit,Z=e.loading,R=(0,l.useContext)(d.Z).isSafari,V=(0,v.$A)(function(e){return e.width>992},!1);if(!h&&!g)return null;var F=h||g,B=F.title,O=F.file;if(R||"png"!=C||N!=m||(C="webp",N="",""!==S||(S=350)),!O)return null;var M=O.url,P=!!(_&&_.file);if(void 0!==w&&w){var Q=_||h;return g&&V?(0,s.jsx)("div",{className:r()(p().container,n),children:(0,s.jsx)("video",(0,a._)({className:r()(p().video,o),src:"https:".concat(g.file.url,"?w=").concat(S,"&h=").concat(T),loop:!0,autoPlay:!0,playsInline:!0,muted:!0},f))}):(0,s.jsx)("div",{className:r()(p().container,n),children:(0,s.jsx)(c(),{alt:Q.title,src:"https:".concat(Q.file.url,"?fm=").concat(C),layout:A,objectFit:"responsive"===A?"initial":void 0===L?"contain":L,width:Q.file.details.image.width,height:Q.file.details.image.height,priority:void 0!==D&&D,loading:Z})})}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:r()(p().container,(0,t._)({},p().containerDesktop,P),n),children:[!!h&&(0,s.jsxs)(s.Fragment,{children:[I&&(0,s.jsx)("img",{alt:B,className:p().thumbnail,src:"https:".concat(M,"?fm=").concat(C,"&fl=").concat(N,"&w=200&h=100"),loading:"lazy"}),(0,s.jsx)("img",{alt:B,className:r()(p().image,i,(0,t._)({},p().imageProgressive,I)),src:"https:".concat(M,"?fm=").concat(C,"&fl=").concat(N,"&w=").concat(S,"&h=").concat(T),loading:"lazy"})]}),g&&(0,s.jsx)("video",(0,a._)({className:r()(p().video,o),src:"https:".concat(g.file.url,"?w=").concat(S,"&h=").concat(T),loop:!0,autoPlay:!0,playsInline:!0,muted:!0},f))]}),P&&(0,s.jsxs)("div",{className:r()(p().container,p().containerMobile,n),children:[I&&(0,s.jsx)("img",{alt:_.title,className:r()(p().thumbnail,u),src:"https:".concat(_.file.url,"?fm=").concat(C,"&fl=").concat(N,"&w=200&h=100"),loading:"lazy"}),(0,s.jsx)("img",{alt:_.title,className:r()(p().image,i,(0,t._)({},p().imageProgressive,I)),src:"https:".concat(_.file.url,"?fm=").concat(C,"&fl=").concat(N,"&w=1200&h=1200"),loading:"lazy"})]})]})}},60160:function(e,n,i){"use strict";i.d(n,{p:function(){return t}});var t={SCHEDULE:"schedule",AUTO_SCHEDULER:"auto-scheduler",WORKOUT_EDITOR:"workout-editor",EXERCISE_EDITOR:"exercise-editor"}},4011:function(e,n,i){"use strict";var t=i(85893),a=i(71689),s=i(26203),o=i(67814),r=i(63420),l=i(34595),u=i.n(l);n.Z=function(e){var n=e.options,i=e.optionsLoading,l=e.placeholder,c=e.onChange,d=e.setClosestMatch,v=e.onFocus,f=e.onSelect,p=e.onRemove,m=e.values,h=e.forceClear,g=e.allowCustom,_=void 0===g||g;return(0,t.jsxs)("div",{children:[(0,t.jsx)("ul",{className:u().values,children:a.Z(function(e){var n=e.label,i=e.value;return(0,t.jsxs)("li",{className:u().value,children:[n,(0,t.jsx)("button",{className:u().deleteButton,onClick:function(){return p(i)},children:(0,t.jsx)(o.G,{icon:s.NBC,className:u().deleteIcon})})]},i)},m)}),(0,t.jsx)(r.ZP,{options:void 0===n?[]:n,allowCustom:_,showAddNew:_,loading:i,onFocus:v,onOptionSelect:f,onCustomSelect:function(){return f()},onChange:function(e){var n=e.value,i=e.closestMatch;c(n),d&&d(i)},placeholder:l,forceClear:h})]})}},42398:function(e,n,i){"use strict";i.d(n,{Z:function(){return E}});var t=i(85893),a=i(67294),s=i(93568),o=i(71689),r=i(30137),l=i(97582),u=i(17113),c=i(95086),d=i(31885);i(44603);var v=i(73490),f=i(26874),p=i(95379),m=i(41837),h=i(15889),g=i(71259),_=i.n(g),y=function(e){var n,i,s=e.question,o=e.isFirstQuestion,g=e.isSubQuestion,y=e.isNestedQuestion,I=e.showErrors,k=(0,h.f)().clientFirstName,C=(0,a.useContext)(p.Z),x=C.responseBySurveyQuestionId,N=C.responsesBySurveyQuestionId,b=C.createResponses,S=C.setOnChangeResponse,E=C.goToNextQuestion,T=C.headCoach,w=C.isCoach,D=C.isMale,j=C.responseSaveError,A=(n=(0,r._)(function(e){var n,i,t,a,o,r,u,c,d;return(0,l.Jh)(this,function(l){switch(l.label){case 0:return n=e.questionId,t=void 0===(i=e.responseValue)?null:i,o=void 0===(a=e.surveyQuestionResponseId)?null:a,u=void 0===(r=e.surveyQuestionResponseIds)?null:r,d=void 0===(c=e.metadata)?null:c,[4,b({modelPath:s.modelPath,surveyQuestionId:n||s.id,surveyQuestionResponseIds:o?[o]:u,responseValue:t,metadata:d})];case 1:return l.sent(),[2]}})}),function(e){return n.apply(this,arguments)}),L=!!T&&!w&&(void 0===o||o),Z=u.Z("id",206)&&D?c.Z({responses:d.Z(u.Z("id",18))},s):s,R=function(){if(!s.text||s.hideText)return null;var e=s.text;return 229===s.id&&(e=e.replace("{clientFirstName}",k||"your friend")),(0,t.jsx)("h4",{className:_().headerB,children:(0,t.jsx)("b",{className:_().headerBoldB,children:(0,v.oC)(e,{215:"currently",139:"like to"}[s.id]||void 0)})})};return(0,t.jsxs)(t.Fragment,{children:[L&&(0,t.jsxs)(t.Fragment,{children:[R(),(0,t.jsx)(m.i0,{tag:"span",className:_().supportingText,children:(null==s?void 0:s.richTextNote)&&(0,v.nw)(s.richTextNote.content,!1,null==s?void 0:null===(i=s.uploadWidgetOptions)||void 0===i?void 0:i.customStyles)})]}),(0,t.jsx)(f.Z,{respond:A,question:Z,responseBySurveyQuestionId:x,responsesBySurveyQuestionId:N,setOnChangeResponse:S,isSubQuestion:void 0!==g&&g,isNestedQuestion:void 0!==y&&y,goToNextQuestion:E,renderHeader:L?R:null,hideNote:L,showErrors:void 0!==I&&I,responseSaveError:j})]})},I=i(23385),k=i.n(I),C=i(37479),x=i(43542),N=function(e){var n,i,a=e.feedback;return(0,t.jsxs)("div",{className:k().surveyQuestionResponseFeedbackRoot,children:[(0,t.jsxs)("span",{className:k().feedbackGarnish,children:[(0,t.jsx)(C.pO,{size:"large"}),(0,t.jsx)("span",{className:k().feedbackDivider})]}),(0,v.nw)(a.feedbackText.content),(null==a?void 0:null===(n=a.media)||void 0===n?void 0:n.length)>0&&(0,t.jsx)("div",{className:k().mediaContainer,children:null==a?void 0:null===(i=a.media)||void 0===i?void 0:i.map(function(e){var n,i,a,s,o,r,l,u,c;return(0,t.jsx)(x.Z,{className:k().imageContainer,imageClassName:k().image,fields:null==e?void 0:e.fields,fm:"png",layout:"fill",objectFit:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(a=s.file)||void 0===a?void 0:null===(i=a.details)||void 0===i?void 0:null===(n=i.image)||void 0===n?void 0:n.height)>(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(l=u.file)||void 0===l?void 0:null===(r=l.details)||void 0===r?void 0:null===(o=r.image)||void 0===o?void 0:o.width)?"contain":"cover",useNextImage:!0},null==e?void 0:null===(c=e.sys)||void 0===c?void 0:c.id)})})]})},b=i(36643),S=i.n(b),E=function(e){var n=e.group,i=e.showErrors,r=void 0!==i&&i,l=n.heading,u=n.questions,c=(0,a.useContext)(p.Z).activeResponseFeedback;return(0,t.jsxs)("div",{className:S().groupB,children:[l&&(0,t.jsx)("h2",{className:S().header,children:l}),s.Z(o.Z)(function(e,n){return(0,t.jsx)("div",{className:S().question,children:c?(0,t.jsx)(N,{feedback:c}):(0,t.jsx)(y,{question:e,isSubQuestion:u.length>1,isFirstQuestion:0===n,showErrors:r})},e.id)},u)]})}},26874:function(e,n,i){"use strict";i.d(n,{Z:function(){return nE}});var t=i(73292),a=i(76341),s=i(67462),o=i(93128),r=i(85893),l=i(44603),u=i(57903),c=i(57831),d=i(71689),v=i(26836),f=i(17113),p=i(64379),m=i(74178),h=i(31885),g=i(1748),_=i(91642),y=i(92442),I=i(32791),k=i(7778),C=i(64827),x=i(43973),N=i(48638),b=i(46876),S=i(46765),E=i(67294),T=i(93967),w=i.n(T),D=i(73490),j=i(35999),A=i(55801),L=i(82964),Z=i(89498),R=i.n(Z),V=function(e){var n=e.value,i=e.onBlur,t=e.placeholder,a=(0,o._)((0,E.useState)(n||""),2),s=a[0],l=a[1],u=(0,o._)((0,E.useState)(null),2),c=u[0],d=u[1];return(0,E.useEffect)(function(){l(n||"")},[n]),(0,r.jsxs)("div",{className:R().container,children:[(0,r.jsxs)("div",{className:R().inputWrapper,children:[(0,r.jsx)("input",{type:"text",value:s,className:R().input,placeholder:void 0===t?"Weight":t,onBlur:function(e){var n=parseInt(e.target.value);if(isNaN(n)||!n)return d("Provide a positive number");i&&i(n)},onChange:function(e){d(null),l(e.target.value)}}),(0,r.jsx)("label",{className:R().label,children:"lbs"})]}),c&&(0,r.jsx)("div",{className:R().error,children:c})]})},F=i(10300),B=i(12026),O=i(97986),M=i.n(O),P=d.Z(function(e){return{value:e,label:e}}
1),Q=P(F.Z(0,8)),q=P(F.Z(0,12)),G=function(e){var n=e.onChange,i=e.inches,t=e.label,a=(0,o._)((0,E.useState)(i?Math.floor(i/12):""),2),s=a[0],l=a[1],u=(0,o._)((0,E.useState)(i?i%12:""),2),c=u[0],d=u[1];return(0,r.jsxs)("div",{className:M().container,children:[(0,r.jsx)("label",{className:M().label,children:void 0===t?"Height":t}),(0,r.jsxs)("div",{className:M().inputs,children:[(0,r.jsx)(B.Z,{options:Q,value:s,isV2:!0,className:M().select,placeholder:"ft",onChange:function(e){var i=parseInt(e.target.value)||0;l(i),n&&n(12*i+(c||0))},includeBlank:!0}),(0,r.jsx)(B.Z,{options:q,value:c,isV2:!0,className:M().select,placeholder:"in",onChange:function(e){var i=parseInt(e.target.value)||0;d(i),n&&n(12*s+i)},includeBlank:!0})]})]})},H=i(22352),Y=i(14595),U=i(74495),W=i(40546),z=i(15791),K=i.n(z),J=/(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.](19|20)\d\d/,X=/(\d{0,2})\/?(\d{0,2})\/?(\d{0,4})/,$=function(e){return new Date(e)},ee=function(e){var n=(0,o._)(H.Z(X,e),4),i=(n[0],n[1]),t=n[2],a=n[3],s=i?Math.min(i,12):void 0,r=t?Math.min(t,31):void 0;return{month:!k.Z(s)&&"".concat(2===Y.Z(i)&&s<10?"0":"").concat(s),day:!k.Z(r)&&"".concat(2===Y.Z(t)&&r<10?"0":"").concat(r),year:a}},en=function(e){var n=ee(e),i=n.month,t=n.day,a=n.year;return"".concat(i||"").concat(2===Y.Z(i)?"/":"")+"".concat(t||"").concat(2===Y.Z(t)?"/":"").concat(a||"")},ei=function(e){return N.Z(J,e)?null:"Use the format MM/DD/YYYY. ex: 06/01/1986"},et=function(e){var n=e.value,i=e.onBlur,t=e.onChangeDetailed,a=void 0===t?function(){}:t,s=e.placeholder,l=(0,o._)((0,E.useState)(n||null),2),u=l[0],c=l[1],d=(0,o._)((0,E.useState)(u?W.format(u,"MM/DD/YYYY"):""),2),v=d[0],f=d[1],p=(0,o._)((0,E.useState)(null),2),m=p[0],h=p[1];return(0,E.useEffect)(function(){c(u)},[u]),(0,r.jsxs)("div",{className:K().container,children:[(0,r.jsx)("input",{className:K().input,type:"text",value:v,onChange:function(e){var n=e.target.value;Y.Z(n)<Y.Z(v)&&("/"===U.Z(n)||"/"===U.Z(v))?f(n.substring(0,Y.Z(n)-1)):f(en(n));var i=ei(n);h(i),a({value:$(n),stringValue:n,isValid:!i,error:i})},onBlur:function(){var e=ei(v);if(e)return h(e);var n=$(v);c(n),i&&i(n)},onKeyDown:function(e){("ArrowLeft"===e.key||"ArrowRight"===e.key)&&e.stopPropagation()},placeholder:"".concat(void 0===s?"":s," MM/DD/YYYY"),maxLength:10}),m&&(0,r.jsx)("div",{className:K().error,children:m})]})},ea=i(90453),es=i(32207),eo=i(77006),er=i(86563),el=i.n(er),eu=i(67814),ec=function(e){var n,i=e.id,l=void 0===i?"textInput":i,u=e.value,c=e.error,d=e.label,v=e.inputClassName,f=e.wrapperClassName,p=e.errorClassName,m=e.icon,h=e.placeholder,g=void 0===h?"":h,_=e.onChange,y=void 0===_?function(){}:_,I=e.onChangeDetailed,k=void 0===I?function(){}:I,C=e.onBlur,x=void 0===C?function(){}:C,N=e.getError,b=void 0===N?function(){return null}:N,S=e.parseValue,T=void 0===S?eo.Z:S,D=e.formatValue,j=void 0===D?eo.Z:D,A=e.isInvalid,L=void 0!==A&&A,Z=e.isV2,R=void 0!==Z&&Z,V=e.isRequired,F=void 0!==V&&V,B=e.type,O=void 0===B?"text":B,M=e.coachProfileVariant,P=(0,es._)(e,["id","value","error","label","inputClassName","wrapperClassName","errorClassName","icon","placeholder","onChange","onChangeDetailed","onBlur","getError","parseValue","formatValue","isInvalid","isV2","isRequired","type","coachProfileVariant"]),Q=(0,o._)((0,E.useState)(u),2),q=Q[0],G=Q[1],H=(0,o._)((0,E.useState)(u?b(u):null),2),Y=H[0],U=H[1];(0,E.useEffect)(function(){z()},[]);var W=function(e){var n=T(e.target.value);U(null),G(n),y(n);var i=b(n);U(i),k({value:n,error:i,isValid:!i&&!L&&(!F||!!n)})},z=function(){var e=b(q);if(e)return U(e);x(q)};return"C"===M?(0,r.jsx)(ea.oi,(0,s._)((0,a._)({},P),{type:O,label:g,value:j(q),onChange:W,onBlur:z,className:v,id:l})):(0,r.jsxs)("div",{className:w()(el().wrapper,f),children:[d&&(0,r.jsx)("div",{className:el().label,children:d}),(0,r.jsxs)("div",{className:el().inputWrapper,children:[m&&(0,r.jsx)(eu.G,{icon:m,className:el().icon}),(0,r.jsx)("input",(0,s._)((0,a._)({},P),{type:O,placeholder:g,value:j(q),onChange:W,onBlur:z,onKeyDown:function(n){e.onKeyDown&&e.onKeyDown(n),("ArrowLeft"===n.key||"ArrowRight"===n.key)&&n.stopPropagation()},className:w()((n={},(0,t._)(n,el().inputInvalid,L||!!Y),(0,t._)(n,el().input,!R),(0,t._)(n,el().inputV2,R),(0,t._)(n,el().iconInput,!!m),n),v),id:l,onClick:function(e){e.stopPropagation()}}))]}),(Y||c)&&(0,r.jsx)("div",{className:p||el().error,children:Y||c})]})},ed=i(22120),ev=i.n(ed),ef=function(e){var n=e.value,i=e.error,l=e.label,u=e.inputClassName,c=e.wrapperClassName,d=e.errorClassName,v=(e.icon,e.placeholder),f=e.onChange,p=void 0===f?function(){}:f,m=e.onChangeDetailed,h=void 0===m?function(){}:m,g=e.onBlur,_=void 0===g?function(){}:g,y=e.getError,I=void 0===y?function(){return null}:y,k=e.isInvalid,C=void 0!==k&&k,x=e.isRequired,N=void 0!==x&&x,b=e.showCharacterCount,S=(0,es._)(e,["value","error","label","inputClassName","wrapperClassName","errorClassName","icon","placeholder","onChange","onChangeDetailed","onBlur","getError","isInvalid","isRequired","showCharacterCount"]),T=(0,o._)((0,E.useState)(n),2),D=T[0],j=T[1],A=(0,o._)((0,E.useState)(n?I(n):null),2),L=A[0],Z=A[1];
1return(0,r.jsxs)("div",{className:w()(ev().wrapper,c),children:[l&&(0,r.jsx)("div",{className:ev().label,children:l}),(0,r.jsx)("div",{className:ev().inputWrapper,children:(0,r.jsx)("textarea",(0,s._)((0,a._)({},S),{placeholder:void 0===v?"":v,value:D,onChange:function(e){var n=e.target.value;Z(null),j(n),p(n);var i=I(n);Z(i),h({value:n,error:i,isValid:!i&&!C&&(!N||!!n)})},onBlur:function(){var e=I(D);if(e)return Z(e);_(D)},className:w()(ev().input,(0,t._)({},ev().inputInvalid,C),u),onClick:function(e){e.stopPropagation()}}))}),void 0!==b&&b&&S.maxLength&&(0,r.jsxs)("div",{className:ev().characterCount,children:[(D||"").length," / ",S.maxLength]}),(L||i)&&(0,r.jsx)("div",{className:d||ev().error,children:L||i})]})},ep=i(35798),em=i(87881),eh=i(81490),eg=i(96844),e_=i(62994),ey=i(92929),eI=i(57420),ek=i(52667),eC=i(24976),ex=i(52432),eN=i.n(ex),eb=function(e){var n=e.checked;return(0,r.jsxs)("div",{className:eN().container,children:[(0,r.jsx)("input",{type:"checkbox",className:eN().input,checked:n,readOnly:!0,onClick:function(e){return e.stopPropagation()}}),n?(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3H6C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3ZM19 18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5H18C18.5523 5 19 5.44772 19 6V18ZM10.9212 13.39L14.7012 8.38998H14.6912C15.0281 7.94815 15.6594 7.86309 16.1012 8.19998C16.543 8.53687 16.6281 9.16815 16.2912 9.60998L11.7212 15.61C11.5324 15.8552 11.2407 15.9992 10.9312 16C10.6234 16.0016 10.332 15.8615 10.1412 15.62L7.71121 12.51C7.37155 12.0737 7.4499 11.4446 7.88621 11.105C8.32251 10.7653 8.95155 10.8437 9.29121 11.28L10.9212 13.39Z"})}):(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 21H6H6C4.34315 21 3 19.6569 3 18V6V6C3 4.34315 4.34315 3 6 3H18C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21ZM6 5C5.44772 5 5 5.44771 5 6V18C5 18.5523 5.44772 19 6 19H18C18.5523 19 19 18.5523 19 18V6C19 5.44771 18.5523 5 18 5L6 5Z"})})]})},eS=i(9050),eE=i(44214),eT=i.n(eE),ew=i(35576),eD=u.Z(I.Z,eh.Z(eg.Z(e_.Z)),ey.Z(",")),ej=function(e,n){return eD(e||[])===eD(n||[])},eA=function(e){var n=e.id,i=e.value,o=e.onClick,l=e.label,u=e.checked,c=e.response,v=e.subText,f=e.className,p=e.nestedSurveyQuestionProps,m=e.forceOldStyle,h=e.coachProfileVariant,g=e.isOnlyCheckboxClickable,_=m?eS.Z:eb;return"C"===h?(0,r.jsx)(ea.XZ,{id:n,label:l,value:i,checked:u,onChange:o}):(0,r.jsxs)("li",{id:n,className:w()(m?eT().optionWrapper:g?eT().onlyCheckboxClickable:eT().optionWrapperB,f,(0,t._)({},eT().selected,u)),onClick:g?void 0:o,children:[(0,r.jsxs)("div",{className:eT().option,children:[(0,r.jsx)("div",{onClick:g?o:void 0,children:(0,r.jsx)(_,{checked:u})}),(0,r.jsxs)("div",{className:m?eT().labelWrapper:eT().labelWrapperB,children:[(0,r.jsx)("span",{className:m?eT().label:eT().labelB,children:(0,r.jsx)(ew.ZP,{options:{overrides:{a:{component:function(e){var n=e.href,i=e.children;return(0,r.jsx)("a",{href:n,target:"_blank",rel:"noreferrer",children:i})}}}},children:l})}),v&&(0,r.jsx)("div",{className:eT().subText,children:v})]})]}),d.Z(function(e){var n;return e.shouldDisplayTextIfNested||u?(0,r.jsx)("div",{className:w()((n={},(0,t._)(n,m?eT().nestedText:eT().nestedTextB,"text"===e.type||"longText"===e.type),(0,t._)(n,eT().nestedSelect,"select"===e.type||"multiSelect"===e.type),n)),onClick:function(e){e.stopPropagation()},children:(0,r.jsx)(nE,(0,s._)((0,a._)({},p),{question:e,isNestedQuestion:!0,forceOldStyle:m}))},e.id):null},(null==c?void 0:c.nestedQuestions)||[])]},i)}
1,eL=function(e){var n=e.options,i=e.onChange,t=e.initialSelectedOptions,a=e.className,s=e.optionClassName,l=e.nestedSurveyQuestionProps,u=e.maxSelections,c=void 0===u?1/0:u,v=e.isNestedQuestion,f=e.forceOldStyle,p=e.coachProfileVariant,m=e.isOnlyCheckboxClickable,g=void 0!==m&&m,_=e.description,y=(0,o._)((0,E.useState)(t||[]),2),I=y[0],k=y[1],C=(0,eC.Z)(t),x=(0,eC.Z)(I),N=new Set(I),b=function(e){N.has(e)?k(h.Z(eI.Z(e))):I.length<c&&k(ek.Z(e))};return(0,E.useEffect)(function(){x&&!ej(x,I)&&i&&i(I)},[i,I,x]),(0,E.useEffect)(function(){!C||v||ej(C,t)||k(t)},[t,C,v]),(0,r.jsxs)("ol",{className:a,children:[!f&&!v&&(0,r.jsx)("span",{className:eT().helperText,children:(void 0===_?null:_)||"Select all that apply"}),d.Z(function(e){var n=e.value,i=e.label,t=e.response,a=e.subText;return(0,r.jsx)(eA,{id:n,value:n,label:i,onClick:function(){return b(n)},checked:N.has(n),response:t,subText:a,className:s,nestedSurveyQuestionProps:l,forceOldStyle:f,coachProfileVariant:p,isOnlyCheckboxClickable:g},n)},n)]})},eZ=i(30137),eR=i(97582),eV=i(6812),eF=i(50319),eB=i(95379),eO=i(90716),eM=i(72533),eP=i(42588),eQ=i(84480),eq=d.Z(function(e){var n=e.id,i=e.name;return{value:n.toString(),label:i}},eM.OJ),eG=i(56635),eH=i(46722),eY=i(91097),eU=i(50194),eW=i(4011),ez=i(6369),eK=i(5946),eJ=i(48830),eX=i.n(eJ),e$=function(e){var n=e.options,i=e.value,t=e.onChange;return(0,r.jsx)(ea.Ee,{options:n,value:i,onChange:t,optionClassName:eX().option,optionLabelClassName:eX().label,optionSubTextClassName:eX().subText,optionCheckedClassName:eX().optionChecked,optionIconClassName:eX().icon})},e0=i(35970),e1=i.n(e0),e2=i(41664),e3=i.n(e2),e6=i(39737),e5=i(39025),e4=i.n(e5),e8=i(19660),e7=i(25675),e9=i.n(e7),ne=i(95565),nn=i.n(ne);function ni(e){var n=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,i=e.split(" "),t=[],a="";return i.forEach(function(e){var i=a?"".concat(a," ").concat(e):e;i.length>n&&a?(t.push(a),a=e):a=i}),a&&t.push(a),t}(e.text),i=85-(n.length-1)*20/2;return(0,r.jsxs)("svg",{width:"321",height:"154",viewBox:"0 0 321 154",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{filter:"url(#filter0_d_2041_1699)",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_2041_1699",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M161.522 20.6065C157.917 21.0767 154.993 24.2553 149.145 30.6125C147.02 32.923 145.957 34.0783 144.945 34.9229C141.927 37.4412 138.652 38.8787 134.755 39.3946C133.448 39.5676 131.96 39.5676 128.982 39.5676H67.3579C51.401 39.5676 43.4225 39.5676 37.976 43.8612C36.741 44.8348 35.6252 45.9507 34.6516 47.1857C30.3579 52.6322 30.3579 60.6106 30.3579 76.5676C30.3579 92.5245 30.3579 100.503 34.6516 105.949C35.6252 107.184 36.741 108.3 37.976 109.274C43.4225 113.568 51.401 113.568 67.3579 113.568H253.358C269.315 113.568 277.293 113.568 282.74 109.274C283.975 108.3 285.091 107.184 286.064 105.949C290.358 100.503 290.358 92.5245 290.358 76.5676C290.358 60.6106 290.358 52.6322 286.064 47.1857C285.091 45.9507 283.975 44.8348 282.74 43.8612C277.293 39.5676 269.315 39.5676 253.358 39.5676H194.378C192.963 39.5676 192.256 39.5676 191.667 39.5328C186.448 39.2245 181.975 37.1499 178.368 33.3656C177.961 32.9383 177.464 32.3515 176.471 31.1778C170.891 24.5842 168.101 21.2874 164.518 20.6685C163.528 20.4974 162.518 20.4765 161.522 20.6065Z"})}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M161.522 20.6065C157.917 21.0767 154.993 24.2553 149.145 30.6125C147.02 32.923 145.957 34.0783 144.945 34.9229C141.927 37.4412 138.652 38.8787 134.755 39.3946C133.448 39.5676 131.96 39.5676 128.982 39.5676H67.3579C51.401 39.5676 43.4225 39.5676 37.976 43.8612C36.741 44.8348 35.6252 45.9507 34.6516 47.1857C30.3579 52.6322 30.3579 60.6106 30.3579 76.5676C30.3579 92.5245 30.3579 100.503 34.6516 105.949C35.6252 107.184 36.741 108.3 37.976 109.274C43.4225 113.568 51.401 113.568 67.3579 113.568H253.358C269.315 113.568 277.293 113.568 282.74 109.274C283.975 108.3 285.091 107.184 286.064 105.949C290.358 100.503 290.358 92.5245 290.358 76.5676C290.358 60.6106 290.358 52.6322 286.064 47.1857C285.091 45.9507 283.975 44.8348 282.74 43.8612C277.293 39.5676 269.315 39.5676 253.358 39.5676H194.378C192.963 39.5676 192.256 39.5676 191.667 39.5328C186.448 39.2245 181.975 37.1499 178.368 33.3656C177.961 32.9383 177.464 32.3515 176.471 31.1778C170.891 24.5842 168.101 21.2874 164.518 20.6685C163.528 20.4974 162.518 20.4765 161.522 20.6065Z",fill:"white"}),(0,r.jsx)("path",{d:"M161.522 20.6065L161.91 23.5813V23.5813L161.522 20.6065ZM37.976 43.8612L36.1187 41.50
153L37.976 43.8612ZM34.6516 47.1857L32.2956 45.3284H32.2956L34.6516 47.1857ZM34.6516 105.949L32.2956 107.807L32.2956 107.807L34.6516 105.949ZM37.976 109.274L39.8333 106.918L39.8333 106.918L37.976 109.274ZM282.74 109.274L280.883 106.918L282.74 109.274ZM286.064 105.949L288.42 107.807V107.807L286.064 105.949ZM286.064 47.1857L288.42 45.3284V45.3284L286.064 47.1857ZM282.74 43.8612L284.597 41.5053L282.74 43.8612ZM164.518 20.6685L165.029 17.7123L164.518 20.6685ZM191.667 39.5328L191.49 42.5275L191.667 39.5328ZM178.368 33.3656L180.54 31.2959L178.368 33.3656ZM144.945 34.9229L143.023 32.6196L144.945 34.9229ZM134.755 39.3946L135.149 42.3686L134.755 39.3946ZM151.353 32.6436C154.327 29.4112 156.384 27.1821 158.133 25.6746C159.841 24.2031 160.937 23.7082 161.91 23.5813L161.134 17.6317C158.502 17.975 156.334 19.3045 154.217 21.1292C152.141 22.9178 149.812 25.4566 146.937 28.5814L151.353 32.6436ZM67.3579 42.5676H128.982V36.5676H67.3579V42.5676ZM39.8333 46.2172C41.9415 44.5552 44.6718 43.5899 49.0681 43.0847C53.5271 42.5722 59.3082 42.5676 67.3579 42.5676V36.5676C59.4507 36.5676 53.2641 36.5629 48.383 37.1239C43.4392 37.6921 39.4571 38.8736 36.1187 41.5053L39.8333 46.2172ZM37.0075 49.043C37.8351 47.9932 38.7836 47.0447 39.8333 46.2172L36.1187 41.5053C34.6985 42.6249 33.4153 43.9082 32.2956 45.3284L37.0075 49.043ZM33.3579 76.5676C33.3579 68.5178 33.3625 62.7367 33.875 58.2777C34.3802 53.8815 35.3456 51.1511 37.0075 49.043L32.2956 45.3284C29.6639 48.6667 28.4824 52.6489 27.9142 57.5927C27.3533 62.4738 27.3579 68.6604 27.3579 76.5676H33.3579ZM37.0075 104.092C35.3456 101.984 34.3802 99.2537 33.875 94.8574C33.3625 90.3984 33.3579 84.6173 33.3579 76.5676H27.3579C27.3579 84.4748 27.3533 90.6613 27.9142 95.5424C28.4824 100.486 29.6639 104.468 32.2956 107.807L37.0075 104.092ZM39.8333 106.918C38.7836 106.09 37.8351 105.142 37.0075 104.092L32.2956 107.807C33.4153 109.227 34.6985 110.51 36.1188 111.63L39.8333 106.918ZM67.3579 110.568C59.3082 110.568 53.5271 110.563 49.0681 110.05C44.6718 109.545 41.9415 108.58 39.8333 106.918L36.1187 111.63C39.4571 114.262 43.4392 115.443 48.383 116.011C53.2641 116.572 59.4507 116.568 67.3579 116.568V110.568ZM253.358 110.568H67.3579V116.568H253.358V110.568ZM280.883 106.918C278.774 108.58 276.044 109.545 271.648 110.05C267.189 110.563 261.408 110.568 253.358 110.568V116.568C261.265 116.568 267.452 116.572 272.333 116.011C277.277 115.443 281.259 114.262 284.597 111.63L280.883 106.918ZM283.708 104.092C282.881 105.142 281.932 106.09 280.883 106.918L284.597 111.63C286.017 110.51 287.301 109.227 288.42 107.807L283.708 104.092ZM287.358 76.5676C287.358 84.6173 287.353 90.3984 286.841 94.8574C286.336 99.2537 285.37 101.984 283.708 104.092L288.42 107.807C291.052 104.468 292.233 100.486 292.802 95.5424C293.363 90.6613 293.358 84.4748 293.358 76.5676H287.358ZM283.708 49.043C285.37 51.1511 286.336 53.8815 286.841 58.2777C287.353 62.7367 287.358 68.5178 287.358 76.5676H293.358C293.358 68.6604 293.363 62.4738 292.802 57.5927C292.233 52.6489 291.052 48.6667 288.42 45.3284L283.708 49.043ZM280.883 46.2172C281.932 47.0447 282.881 47.9932 283.708 49.043L288.42 45.3284C287.301 43.9082 286.017 42.6249 284.597 41.5053L280.883 46.2172ZM253.358 42.5676C261.408 42.5676 267.189 42.5722 271.648 43.0847C276.044 43.5899 278.774 44.5552 280.883 46.2172L284.597 41.5053C281.259 38.8736 277.277 37.6921 272.333 37.1239C267.452 36.5629 261.265 36.5676 253.358 36.5676V42.5676ZM194.378 42.5676H253.358V36.5676H194.378V42.5676ZM164.008 23.6247C164.974 23.7917 166.049 24.3315 167.695 25.8724C169.38 27.451 171.344 29.7633 174.181 33.1158L178.761 29.2398C176.018 25.9987 173.796 23.3658 171.796 21.4929C169.756 19.5822 167.645 18.1642 165.029 17.7123L164.008 23.6247ZM161.91 23.5813C162.608 23.4903 163.315 23.5049 164.008 23.6247L165.029 17.7123C163.742 17.4899 162.429 17.4627 161.134 17.6317L161.91 23.5813ZM194.378 36.5676C192.92 36.5676 192.322 36.5662 191.844 36.538L191.49 42.5275C192.19 42.5689 193.007 42.5676 194.378 42.5676V36.5676ZM174.181 33.1158C175.143 34.2527 175.712 34.927 176.196 35.4353L180.54 31.2959C180.21 30.9496 179.785 30.4502 178.761 29.2398L174.181 33.1158ZM191.844 36.538C187.383 36.2745 183.622 34.5305 180.54 31.2959L176.196 35.4353C180.327 39.7693 185.513 42.1745 191.49 42.5275L191.844 36.538ZM146.937 28.5814C144.746 30.9633 143.845 31.9337 143.023 32.6196L146.867 37.2262C148.069 36.2228 149.293 34.8827 151.353 32.6436L146.937 28.5814ZM128.982 42.5676C131.869 42.5676 133.598 42.5739 135.149 42.3686L134.362 36.4205C133.299 36.5612 132.05 36.5676 128.982 36.5676V42.5676ZM143.023 32.6196C140.441 34.7743 137.695 35.9791 134.362 36.4205L135.149 42.3686C139.608 41.7782 143.414 40.1082 146.867 37.2262L143.023 32.6196Z",fill:"url(#paint0_linear_2041_1699)",mask:"url(#path-1-inside-1_2041_1699)"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_d_2041_1699",x:"0.35791",y:"0.522461",width:"320",height:"153.045",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"Backgroun
1dImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{dy:"10"}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"15"}),(0,r.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,r.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),(0,r.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_2041_1699"}),(0,r.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_2041_1699",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear_2041_1699",x1:"290.358",y1:"67.045",x2:"30.3579",y2:"67.045",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#4DD182"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#009946"})]})]}),(0,r.jsx)("text",{x:"160",textAnchor:"middle",fill:"#333333",fontSize:"16",fontWeight:"800",children:n.map(function(e,n){return(0,r.jsx)("tspan",{x:"160",y:i+20*n,children:e},n)})})]})}var nt=i(56449),na=i(76818),ns=i(21931),no={13:"male",12:"female",56:"other"},nr=function(e){return(0,e8.g)("static/".concat(e,".jpeg")).resize((0,nt.hl)().width(500).height(500).gravity((0,na.v0)(ns.Yj.face()))).toURL()},nl=function(e,n){if(!e||!n)return nr("User_Photo_1_zt6itq");if("male"===e&&n<40)return nr("Young_Male_Coach_zqt4i6");if("male"===e&&n>=40)return nr("Old_Male_Coach_zex91g");if("male"!==e&&n<40);else if("male"!==e&&n>=40)return nr("Female_Old_Coach_1_i5pe9z");return nr("User_Photo_1_zt6itq")},nu=i(79622),nc=i(23157),nd=i(73359),nv=i(18503),nf=i(41869),np=i(2320),nm=i.n(np),nh=i(26133),ng=function(e){var n=e.onChange,i=(0,E.useContext)(eB.Z).setNeedMemberId,t=(0,o._)((0,E.useState)(""),2),l=t[0],u=t[1],c=(0,o._)((0,E.useState)(!1),2),d=c[0],v=c[1],f=(0,E.useContext)(eB.Z),p=f.selectedPayer,m=f.setSelectedPayer,h=(0,nh.C)(),g=(0,o._)((0,nd.t)(nv.searchPayers),2),_=g[0],y=g[1],I=y.loading,k=y.data,C=(0,E.useMemo)(function(){var e;return(null==k?void 0:null===(e=k.searchBridgePayers)||void 0===e?void 0:e.map(function(e){return{value:e.id,label:e.name,memberId:e.memberId}}))||[]},[k]),x=(0,nf.Z)(function(e){e.length>=2&&_({variables:{searchTerm:e||""}}),v(!1)},300),N=(0,E.useRef)(null);return(0,r.jsx)("div",{className:nm().selectContainer,children:(0,r.jsx)(nc.ZP,{ref:N,value:p,options:C,className:w()(nm().select),classNamePrefix:"select",placeholder:"Search...",isClearable:!0,filterOption:function(){return!0},onFocus:function(){var e,n;null==N||null===(n=N.current)||void 0===n||null===(e=n.controlRef)||void 0===e||e.scrollIntoView()},styles:{menu:function(e){return(0,s._)((0,a._)({},e),{maxHeight:h?220:void 0})},menuList:function(e){return(0,s._)((0,a._)({},e),{maxHeight:h?220:void 0})}},components:{DropdownIndicator:null},onInputChange:function(e){v(!0),x(e),u(e)},onChange:function(e){m(e),e?(n(e),i("true"===e.memberId)):(n(null),i(!1))},noOptionsMessage:function(){return l&&l.length>=2&&!d?I?"Searching...":"No insurance companies found":null}})})},n_=i(43980),ny=[],nI=(0,r.jsxs)("span",{children:["Your email is currently connected to a coach profile. No worries! Please"," ",(0,r.jsx)(e3(),{href:e6.ZP.signIn({redirect:e6.ZP.coachSignUpSurvey({questionId:102}).href}),children:"click here"})," ","to continue your application."]}),nk=function(e,n){var i=l.Z(["includeSelectionsFrom","fields","id"],e),t=i?u.Z(c.Z([],i),d.Z(v.Z("surveyQuestionResponseId")),function(e){return new Set(e)})(n):null,o=f.Z("id",6,e)&&p.Z(13,n)&&f.Z("responseValue","M",m.Z(n[13]))?h.Z(f.Z("id",18),v.Z("responses",e)):v.Z("responses",e);return u.Z(v.Z("responses"),d.Z(function(e){return{value:g.Z(e.id),label:e.text,subText:e.subText,response:e}}),_.Z(function(e){var n=e.value;return!t||t.has(n)}))((0,s._)((0,a._)({},e),{responses:o}))},nC=function(e){var n=e.response,i=e.options;return n?n.surveyQuestionResponseId?n.surveyQuestionResponseId:u.Z(y.Z(function(e){var i=e.response,t=i.value,a=i.text;return n.responseValue===(t||a)}),c.Z(null,"value"))(i):null},nx=u.Z(d.Z(v.Z("surveyQuestionResponseId")),I.Z),nN={multiSelect:function(e){var n=e.question,i=e.options,t=e.responses,a=e.respond,s=e.selectClassName,o=e.selectOptionClassName,l=e.isNestedQuestion,u=e.nestedSurveyQuestionProps,c=e.forceOldStyle,d=e.coachProfileVariant,v=nx(t);return(0,r.jsx)(eL,{options:i,initialSelectedOptions:v||ny,onChange:function(e){a({surveyQuestionResponseIds:h.Z(k.Z,e)})},maxSelections:n.maxSelections,className:s,optionClassName:o,isNestedQuestion:l,nestedSurveyQuestionProps:u,forceOldStyle:c,coachProfileVariant:d})},agreement:function(e){var n=e.question,i=e.options,t=e.responses,a=e.respond,s=e.selectClassName,o=e.selectOptionClassName,l=e.isNestedQuestion,u=e.nestedSurveyQuestionProps,c=e.forceOldStyle,d=e.coachProfileVariant,v=nx(t);return(0,r.jsx)(eL,{options:i,initialSelectedOptions:v||ny,onChange:function(e){e.length===i.length?a({surveyQuestionResponseIds:h.Z(k.Z,e)}):a({surveyQuestionResponseIds:[]})},maxSelections:n.maxSelections,className:s,optionClassName:o,isNestedQuestion:l,nestedSurveyQuestionProps:u,forceOldStyle:c,coachProfileVariant:d,isOnlyCheckboxClickable:!0,description:n.placeholder})},select:function(e){var n=e.options,i=e.response,t=e.respond;return(0,r.jsx)(e$,{options:n,value:nC({response:i,options:n}),onChange:function(e){t({surveyQuestionResponseId:e})}})},dropdown:function(e){var n,i,o=e.question,l=e.options,u=e.response,c=e.respond,d=e.nestedSurveyQuestionProps,v=o.placeholder,f=nC({response:u,options:l}),p=l.find(function(e){return e.value===f});return(0,r.jsxs)("div",{children:[(0,r.jsx)(B.Z,{options:l,value:f,isV2:!0,placeholder:v,onChange:function(e){c({surveyQuestionResponseId:parseInt(e.target.value)})},includeBlank:!0}),null==p?void 0:null===(i=p.response)||void 0===i?void 0:null===(n=i.nestedQuestions)||void 0===n?void 0:n.map(function(e){var n;return(0,r.jsxs)("div",{className:w()((n={},(0,t._)(n,e1().nestedText,"text"===e.type||"longText"===e.type),(0,t._)(n,e1().nestedSelect,"select"===e.type||"multiSelect"===e.type),n)),children:[(0,r.jsx)("div",{className:e1().nestedQuestionHeader,children:e.text}),(0,r.jsx)(nS,(0,s._)((0,a._)({},d),{question:e,isNestedQuestion:!0,inputClassName:e1().nestedQuestionInput}))]},e.id)})]})},weightPicker:function(e){var n=e.question,i=e.response,t=e.respond,a=n.placeholder,s=i&&i.responseValue&&parseInt(i.responseValue);return(0,r.jsx)(V,{value:s,onBlur:function(e){t({responseValue:g.Z(e)})},placeholder:a})},heightPicker:function(e){var n=e.question,i=e.response,t=e.respond,a=n.text,s=i&&i.responseValue&&parseInt(i.responseValue);return(0,r.jsx)(G,{inches:s,onChange:function(e){t({responseValue:e?g.Z(e):null})},label:a})},date:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=n.placeholder,l=i&&i.responseValue&&(0,L.sG)(i.responseValue);return(0,r.jsx)(et,{value:l,onBlur:function(e){t({responseValue:(0,L.tz)(e)})},placeholder:o,onChangeDetailed:function(e){a(e)},inputClassName:s})},age:function(e){var n=e.question,i=e.response,a=e.respond,s=e.setOnChangeResponse,o=e.inputClassName,l=e.showErrors,u=e.showInvalid,d=e.setShowInvalid,v=c.Z("","responseValue",i);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{className:e1().ageWrapperB,children:[(0,r.jsx)("div",{className:e1().ageLabel,children:"Enter your age"}),(0,r.jsx)(ec,{type:"number",pattern:"[0-9]*",value:v,onBlur:function(e){e<0?d(!0):d(!1),a({responseValue:e})},isV2:!0,onChangeDetailed:s,inputClassName:w()(o,e1().ageInput,(0,t._)({},e1().errorInput,u)),isRequired:n.isRequired,min:0,id:"ageInput"})]}),u&&(0,r.jsx)(ea.p6,{className:e1().ageHelperText,error:u,errorText:"Enter age as a positive number only."}),l&&!v&&(0,r.jsx)("div",{className:e1().error,children:"Age is required"})]})},integer:function(e){var n=e.question,i=e.response,t=e.respond,o=e.setOnChangeResponse,l=e.inputClassName,u=n.placeholder,c=i&&i.responseValue;return(0,r.jsx)(ec,{value:c||"",onBlur:function(e){t({responseValue:e.toString()})},placeholder:u,isV2:!0,onChangeDetailed:function(e){o((0,s._)((0,a._)({},e),{questionId:n.id}))},inputClassName:l,isRequired:n.isRequired,parseValue:function(e){var n=parseInt(C.Z(/\D/g,"",e));return isNaN(n)?"":n}})},text:function(e){var n=e.question,i=e.response,t=e.respond,o=e.setOnChangeResponse,l=e.inputClassName,u=e.coachProfileVariant,c=n.placeholder,d=i&&i.responseValue;return(0,r.jsx)(ec,{value:d||"",onBlur:function(e){t({responseValue:e})},placeholder:c,isV2:!0,onChangeDetailed:function(e){o((0,s._)((0,a._)({},e),{questionId:n.id}))},inputClassName:l,isRequired:n.isRequired,coachProfileVariant:u})},longText:function(e){var n=e.question,i=e.response,t=e.respond,o=e.setOnChangeResponse,l=n.placeholder,u=n.maxLength,c=i&&i.responseValue;return(0,r.jsx)(ef,{value:c,onBlur:function(e){t({responseValue:e})},placeholder:l,inputClassName:e1().textArea,onChangeDetailed:function(e){o((0,s._)((0,a._)({},e),{questionId:n.id}))},maxLength:u||void 0,showCharacterCount:!0})},timezone:function(e){var n=e.response,i=e.respond,t=n&&n.responseValue&&parseInt(n.responseValue);return(0,r.jsx)(ep.ZP,{value:t,onChange:function(e){i({responseValue:e.toString()})}})},payerSearch:function(e){var n=e.respond;return(0,r.jsx)(ng,{onChange:function(e){return n({responseValue:null==e?void 0:e.value,metadata:{name:null==e?void 0:e.label,memberIdRequired:(null==e?void 0:e.memberId)==="true"}})}})},diagnosisSelect:function(e){var n=e.response,i=e.respond,t=n&&n.responseValue.split(",");return(0,r.jsx)(n_.ZP,{onChange:function(e){i({responseValue:e.map(function(e){return e.value}).join(","),metadata:e.map(function(e){return{name:e.label,code:e.value}})})},value:null==t?void 0:t.filter(function(e){return"OTHER"!==e.value}),shouldLimitMultiValue:!1})},gmail:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=e.responseSaveError,l=n.placeholder,u=i&&i.responseValue;return(0,r.jsx)(ec,{value:u,onBlur:function(e){t({responseValue:e})},placeholder:l,getError:function(e){return k.Z(e)||x.Z(e)||N.Z(j.kn,b.Z(e||""))?null:"Not a valid gmail address"},isV2:!0,onChangeDetailed:function(e){a(e)},inputClassName:s,error:!!o&&nI})},email:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=e.coachProfileVariant,l=n.placeholder,u=i&&i.responseValue;return(0,r.jsx)(ec,{value:u,onBlur:function(e){t({responseValue:e})},placeholder:l,getError:function(e){return k.Z(e)||x.Z(e)||N.Z(j.CU,b.Z(e||""))?null:"Not a valid email address"},isV2:!0,onChangeDetailed:function(e){a(e)},inputClassName:s,coachProfileVariant:o})},calendlyLink:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=n.placeholder,l=i&&i.responseValue;return(0,r.jsx)(ec,{value:l,onBlur:function(e){t({responseValue:e})},placeholder:o,getError:function(e){return k.Z(e)||x.Z(e)||N.Z(j.PM,b.Z(e||""))?null:"Not a valid Calendly link"},isV2:!0,onChangeDetailed:function(e){a(e)},inputClassName:s})},phoneNumber:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=e.coachProfileVariant,l=e.responseSaveError,u=n.placeholder,c=i&&i.responseValue;return(0,r.jsx)(ec,{value:c||"",onBlur:function(e){t({responseValue:e})},placeholder:u,getError:function(e){return k.Z(e)||x.Z(e)||N.Z(j._D,e)?null:"Not a valid phone number"},isV2:!0,parseValue:A.SR,formatValue:A.un,onChangeDetailed:function(e){a(e)},inputClassName:s,coachProfileVariant:o,error:!!l&&"Your phone number is currently connected to a coach profile. No worries! Please email [email protected] to check on the status of your application."})},slackId:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=n.placeholder,l=i&&i.responseValue;return(0,r.jsx)(ec,{value:l||"",onBlur:function(e){t({responseValue:e})},placeholder:o,getError:function(e){return k.Z(e)||x.Z(e)||e&&e.length>6?null:"Not a valid Slack ID"},isV2:!0,onChangeDetailed:function(e){a(e)},inputClassName:s})},year:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=n.placeholder,l=i&&i.responseValue;return(0,r.jsx)(ec,{value:l||"",onBlur:function(e){t({responseValue:e})},placeholder:o,getError:function(e){return k.Z(e)||x.Z(e)||e&&4===e.length?null:"Specify a four digit year. ex: 2004"},isV2:!0,onChangeDetailed:function(e){a(e)},inputClassName:s})},instagramHandle:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=n.placeholder,l=i&&i.responseValue;return(0,r.jsx)(ec,{value:l||"",onBlur:function(e){t({responseValue:e})},placeholder:o,getError:function(e){return k.Z(e)||x.Z(e)||e&&e.length>0?null:"Not a valid Instagram handle"},isV2:!0,onChangeDetailed:function(e){a(e)},inputClassName:s})},imageAttachment:function(e){var n=e.question,i=e.response,t=e.respond,a=i&&i.responseValue;return(0,r.jsx)(em.Z,{fileId:a,onChange:function(e){t({responseValue:e})},uploadWidgetOptions:n.uploadWidgetOptions,transformation:n.assetTransformation,eagerLoadTransformations:n.assetTransformation?[n.assetTransformation]:void 0})},zipCode:function(e){var n=e.question,i=e.response,t=e.respond,a=e.setOnChangeResponse,s=e.inputClassName,o=n.placeholder,l=i&&i.responseValue;return(0,r.jsx)(ec,{value:l,onBlur:function(e){t({responseValue:e})},placeholder:o,getError:function(e){return k.Z(e)||x.Z(e)||N.Z(j.wM,e)?null:"Not a valid US / Canada postal code"},isV2:!0,onChangeDetailed:function(e){a(e)},inputClassName:s,maxLength:"10"})},insuranceMembershipId:function(e){var n=e.question,i=e.options,t=e.response,o=e.respond,l=e.setOnChangeResponse,u=e.inputClassName,c=e.coachProfileVariant,d=(0,E.useRef)(!0),v=n.placeholder,f=t&&t.responseValue,p=t&&t.metadata&&t.metadata.skipMembershipId,m=function(e,n){o({responseValue:n?null:f,metadata:{ski
1pMembershipId:n}})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ec,{value:f,onBlur:function(e){if(d.current){d.current=!1;return}o({responseValue:e,metadata:{skipMembershipId:!1}})},placeholder:v,isV2:!0,onChangeDetailed:function(e){l((0,s._)((0,a._)({},e),{questionId:n.id}))},inputClassName:u,isRequired:n.isRequired,coachProfileVariant:c}),i&&i.length>0&&i.map(function(e){return(0,r.jsx)("div",{className:e1().checkboxContainer,children:(0,r.jsxs)("label",{className:e1().checkboxLabel,children:[(0,r.jsx)("input",{type:"checkbox",className:e1().checkbox,checked:p,onChange:function(n){return m(e.value,n.target.checked)}}),(0,r.jsx)("span",{className:e1().checkboxText,children:e.label})]})},e.value)})]})},InsuranceCoveredLoading:nu.Z,freeFormSkip:function(){return null},MealSelect:function(){var e,n=(0,o._)((0,E.useState)(d.Z(v.Z("value"),eq)),2),i=n[0],t=n[1],a=(0,E.useContext)(eB.Z).clientId;(0,eV.a)(eP.getClientMeals,{variables:{clientId:a},onCompleted:function(e){e.client.meals.length?t(d.Z(v.Z("id"),e.client.meals)):t(d.Z(v.Z("value"),eq))}});var s=(0,o._)((0,eF.D)(eQ.updateClientMeals),1)[0],l=(e=(0,eZ._)(function(e){return(0,eR.Jh)(this,function(n){switch(n.label){case 0:return t(e),[4,s({variables:{clientId:a,mealIds:e}})];case 1:return n.sent(),[2]}})}),function(n){return e.apply(this,arguments)});return k.Z(i)?(0,r.jsx)(eO.Z,{}):(0,r.jsx)(eL,{options:eq,initialSelectedOptions:i,onChange:l})},CuisineSelect:function(){var e,n=(0,o._)((0,E.useState)(null),2),i=n[0],t=n[1],a=(0,o._)((0,E.useState)(null),2),s=a[0],l=a[1],u=(0,E.useContext)(eB.Z).clientId;(0,eV.a)(eG.getClientRecipeCategories,{variables:{clientId:u},onCompleted:function(e){var n;l(d.Z(v.Z("id"),null==e?void 0:null===(n=e.client)||void 0===n?void 0:n.recipeCategories))}}),(0,eV.a)(eG.getCuisines,{onCompleted:function(e){t(d.Z(function(e){return{value:e.id,label:e.name}},null==e?void 0:e.recipeCategories))}});var c=(0,o._)((0,eF.D)(eH.updateClientRecipeCategories),1)[0],f=(e=(0,eZ._)(function(e){return(0,eR.Jh)(this,function(n){switch(n.label){case 0:return l(e),[4,c({variables:{clientId:u,recipeCategoryIds:e}})];case 1:return n.sent(),[2]}})}),function(n){return e.apply(this,arguments)});return k.Z(s)||k.Z(i)?(0,r.jsx)(eO.Z,{}):(0,r.jsx)(eL,{options:i,initialSelectedOptions:s,onChange:f})},ExcludedIngredientSelect:function(){var e,n=(0,o._)((0,E.useState)(""),2),i=n[0],t=n[1],a=(0,o._)((0,E.useState)(null),2),s=a[0],l=a[1],c=(0,o._)((0,E.useState)(!1),2),p=c[0],m=c[1],g=(0,E.useMemo)(function(){return d.Z(v.Z("value"),s||[])},[s]),_=(0,E.useContext)(eB.Z).clientId;(0,eV.a)(ez.getExcludedIngredients,{variables:{clientId:_},onCompleted:function(e){l(u.Z(d.Z(function(e){return{value:e.id,label:e.name}}),eY.Z(v.Z("label")))(e.client.excludedIngredients))}});var y=(0,eV.a)(ez.getIngredients,{variables:{searchText:i,excludeIngredientIds:g},skip:!p||!i}),I=(0,E.useMemo)(function(){var e=new Set(d.Z(v.Z("value"),s||[]));return u.Z(eU.Z([],["ingredientCollection","ingredients"]),h.Z(function(n){var i=n.id;return e.has(i)}),d.Z(function(e){return{value:e.id,label:e.name}}))(y.data)},[y.data,s]),C=(0,o._)((0,eF.D)(eK.updateClientIngredientExclusions),1)[0],x=(e=(0,eZ._)(function(e){return(0,eR.Jh)(this,function(n){switch(n.label){case 0:return l(e),[4,C({variables:{clientId:_,ingredientIds:d.Z(v.Z("value"),e)}})];case 1:return n.sent(),[2]}})}),function(n){return e.apply(this,arguments)});return k.Z(s)?(0,r.jsx)(eO.Z,{}):(0,r.jsx)(eW.Z,{options:I,values:s,optionsLoading:y.loading,onChange:t,onFocus:function(){return m(!0)},onSelect:function(e,n){x(ek.Z({value:e,label:n},s))},onRemove:function(e){x(h.Z(f.Z("value",e),s))},placeholder:"Search for ingredients to exclude",allowCustom:!1})},PrimaryGoalInterstitial:function(e){var n,i,t,a=e.question,s=e.responseBySurveyQuestionId,l=(a||{}).uploadWidgetOptions,u=null==s?void 0:s[400],c=null==u?void 0:u.surveyQuestionResponseId,d=null==l?void 0:null===(t=l[400])||void 0===t?void 0:t[c?parseInt(c,10):268],v=(0,o._)((0,E.useState)("Visual_from_Figma_lp65jq"),2),f=v[0],p=v[1];return(0,E.useEffect)(function(){var e=function(){p(window.innerWidth>=768?"Holding_Frame_2_sxcvim":"Visual_from_Figma_lp65jq")};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),(0,r.jsxs)("div",{className:e4().container,children:[(0,r.jsx)("h2",{className:e4().header,children:(n=null==a?void 0:a.text,i=null==d?void 0:d.primaryGoalText,n?n.replace(/{{primaryGoalText}}/g,i||"").split(/({{g}}.*?{{\/g}})/).map(function(e,n){var i=e.match(/{{g}}(.*?){{\/g}}/);
1return i?(0,r.jsx)("span",{className:e4().greenBackground,children:(0,r.jsx)("span",{className:e4().greenText,children:i[1]},n)},n):e}):"")}),(0,r.jsxs)("div",{className:e4().imageContainer,children:[(0,r.jsx)("div",{className:e4().imageTitle,children:(0,r.jsx)("span",{className:e4().imageTitleText,children:(null==d?void 0:d.imageTitle)||"Health and Fitness"})}),(0,r.jsx)(e9(),{alt:(null==d?void 0:d.imageTitle)||"Health and Fitness",src:(0,e8.g)("static/".concat(f,".jpeg")).toURL(),className:e4().weightLoss,width:500,height:300}),(0,r.jsx)("span",{className:e4().imageCaption,children:"Based on a study of 26,000 Kickoff users and a Harris Interactive Study of average goal achievement."})]})]})},FitnessChallengeInterstitial:function(e){var n,i,t,a,s,o=e.question,l=e.responseBySurveyQuestionId,u=(o||{}).uploadWidgetOptions,c=null==l?void 0:l[214],d=null==c?void 0:c.surveyQuestionResponseId,v=null==u?void 0:null===(t=u[214])||void 0===t?void 0:t[d?parseInt(d,10):1],f=null==l?void 0:null===(a=l[11])||void 0===a?void 0:a.responseValue,p=null==l?void 0:null===(s=l[13])||void 0===s?void 0:s.surveyQuestionResponseId,m=nl(no[p?parseInt(p,10):56],f?new Date().getFullYear()-new Date(parseInt(f,10)).getFullYear():null);return(0,r.jsxs)("div",{className:nn().fitnessChallengeInterstitial,children:[(0,r.jsxs)("div",{className:nn().headerContainer,children:[(0,r.jsx)("span",{className:nn().overline,children:"THE HUMAN DIFFERENCE"}),(0,r.jsx)("h2",{className:nn().header,children:(n=null==o?void 0:o.text,i=(null==v?void 0:v.fitnessChallengeText)||"overcoming challenges",n?n.replace(/{{fitnessChallengeText}}/g,"###".concat(i||"","###")).split(/({{g}}.*?{{\/g}})|(###.*?###)/).map(function(e,n){if(!e)return null;var i=e.match(/{{g}}(.*?){{\/g}}/),t=e.match(/###(.*?)###/);return i?(0,r.jsx)("span",{className:nn().greenBackground,children:(0,r.jsx)("span",{className:nn().greenText,children:i[1]},n)},n):t?(0,r.jsx)("span",{className:nn().fitnessChallengeText,children:t[1]},n):e}):"")}),(0,r.jsx)("div",{className:nn().noteContainer,children:(0,r.jsx)("span",{children:null==o?void 0:o.note})})]}),(0,r.jsxs)("div",{className:nn().coachContainer,children:[(0,r.jsx)(e9(),{alt:"coach",src:m,className:nn().coach,width:100,height:100}),(0,r.jsx)("div",{className:nn().bubbleContainer,children:(0,r.jsx)(ni,{text:(null==v?void 0:v.callout)||"We’ll build a fitness plan that’s personal to you"})})]})]})},__default:function(e){return e.question.type}},nb=function(e){var n=e.type,i=e.component;return"custom"===n&&i?nN[i]||S.Z(i):nN[n]||nN.__default},nS=function(e){var n=e.respond,i=e.question,t=e.responseBySurveyQuestionId,l=e.responsesBySurveyQuestionId,u=e.setOnChangeResponse,d=e.inputClassName,v=e.selectClassName,f=e.selectOptionClassName,p=e.goToNextQuestion,m=e.renderHeader,h=e.isSubQuestion,g=e.isNestedQuestion,_=void 0!==g&&g,y=e.hideHeader,I=e.hideNote,k=void 0!==I&&I,C=e.showErrors,x=e.forceOldStyle,N=e.coachProfileVariant,b=e.responseSaveError,S=i.text,T=i.note,w=i.richTextNote,j=i.hideText,A=nb(i),L=(0,o._)((0,E.useState)(!1),2),Z=L[0],R=L[1],V=(0,E.useMemo)(function(){return nk(i,l)},[i,l]),F=l[i.id]||[],B=t[i.id],O="freeFormSkip"===i.type&&j;return(0,r.jsxs)("div",{className:e1().question,children:[!(void 0!==h&&h)&&!_&&!(void 0!==y&&y)&&!m&&!O&&(0,r.jsx)("h2",{className:e1().header,children:S}),(0,r.jsx)(A,{question:i,options:V,respond:function(e){n((0,s._)((0,a._)({},e),{questionId:c.Z(i.id,"questionId",e)}))},response:B,responses:F,responseBySurveyQuestionId:t,responsesBySurveyQuestionId:l,setOnChangeResponse:u,inputClassName:d,selectClassName:v,selectOptionClassName:f,showErrors:void 0!==C&&C,isNestedQuestion:_,nestedSurveyQuestionProps:{respond:n,responseBySurveyQuestionId:t,responsesBySurveyQuestionId:l,setOnChangeResponse:u,inputClassName:d,selectClassName:v,selectOptionClassName:f},forceOldStyle:x,coachProfileVariant:N,showInvalid:Z,setShowInvalid:R,responseSaveError:b,goToNextQuestion:p}),T&&!k&&(0,r.jsx)("div",{className:e1().note,children:T}),w&&!k&&(0,r.jsx)("div",{className:e1().note,children:(0,D.nw)(w.content)})]})},nE=nS},79622:function(e,n,i){"use strict";i.d(n,{y:function(){return B}});
1var t=i(30137),a=i(93128),s=i(53353),o=i(97582),r=i(85893),l=i(50194),u=i(67294),c=i(25675),d=i.n(c),v=i(98763),f=i.n(v),p=i(93967),m=i.n(p),h=i(25856),g=i.n(h),_=i(48221),y=i.n(_),I=i(62970),k=i.n(I),C=i(24280),x=i.n(C),N=i(50319),b=i(2836),S=i(95379),E=i(95061),T=i(82964),w=i(94105),D=i(11163),j=i(12390),A=i(72085),L=i(72110),Z=i(31948),R=i(78324),V=i(52063),F=Number(i(34155).env.NEXT_PUBLIC_INSURANCE_ELIGIBILITY_COUNTDOWN_SECONDS)||30,B={1137:"AL",1138:"AK",1139:"AZ",1140:"AR",1188:"CA",1141:"CO",1142:"CT",1143:"DE",1216:"DC",1145:"FL",1146:"GA",1147:"HI",1148:"ID",1149:"IN",1150:"IA",1151:"IL",1152:"KS",1153:"KY",1154:"LA",1155:"ME",1156:"MD",1157:"MA",1158:"MI",1159:"MN",1160:"MS",1161:"MT",1162:"NE",1163:"MO",1164:"NV",1165:"NH",1166:"NJ",1167:"NM",1168:"NY",1169:"NC",1170:"ND",1171:"OH",1172:"OK",1173:"OR",1174:"PA",1175:"RI",1176:"SC",1177:"SD",1178:"TN",1179:"TX",1180:"UT",1181:"VT",1182:"VA",1183:"WA",1184:"WI",1185:"WY",1186:"WV"};n.Z=function(e){var n,i=e.question;e.goToNextQuestion,e.responses;var c=(0,A.Z)(),v=null==c?void 0:null===(n=c.data)||void 0===n?void 0:n.me,p=(0,u.useContext)(S.Z),h=p.client,_=p.responseBySurveyQuestionId,I=p.setCopay,C=p.setEligibilityStatus,O=p.setEligibilityData,M=p.setPolicyMetadata,P=p.setPolicyRetryCount,Q=(0,D.useRouter)(),q=(0,a._)((0,u.useState)(!1),2),G=q[0],H=q[1],Y=(null==i?void 0:i.text)||"Checking Insurance Eligibility",U=(0,a._)((0,N.D)(b.checkEligibility),1)[0],W=(0,u.useMemo)(function(){var e,n,i,t,a,o,r,u,c,d,f,p,m=null===(e=_[10])||void 0===e?void 0:e.responseValue,h=null===(n=_[9])||void 0===n?void 0:n.responseValue,g=(0,R.F)({height:m,weight:h}),y=(0,R.$)({bmi:g}),I=(null===(t=_[5425])||void 0===t?void 0:null===(i=t.responseValue)||void 0===i?void 0:i.split(","))||[],k=(0,s._)(y).concat((0,s._)(I)).filter(Boolean);return{firstName:null===(a=_[100])||void 0===a?void 0:a.responseValue,lastName:null===(o=_[101])||void 0===o?void 0:o.responseValue,payerId:null===(r=_[1586])||void 0===r?void 0:r.responseValue,memberId:null===(u=_[20250315])||void 0===u?void 0:u.responseValue,skipMembershipId:null===(d=_[20250315])||void 0===d?void 0:null===(c=d.metadata)||void 0===c?void 0:c.skipMembershipId,dateOfBirth:(0,T.sG)(null===(f=_[11])||void 0===f?void 0:f.responseValue),diagnoses:k,state:B[parseInt(null===(p=_[202503192])||void 0===p?void 0:p.surveyQuestionResponseId)],latestEligibilityStatus:l.Z(null,["user","client","latestClientEligibilityStatus"],v)}},[_,v]),z=W.firstName,K=W.lastName,J=W.payerId,X=W.memberId,$=W.skipMembershipId,ee=W.dateOfBirth,en=W.diagnoses,ei=W.state,et=W.latestEligibilityStatus,ea=(null==et?void 0:et.currentStep)==="POLICY_PENDING"||(null==et?void 0:et.currentStep)==="SERVICE_ELIGIBILITY_PENDING";return(0,u.useEffect)(function(){var e,n=(e=(0,t._)(function(){return(0,o.Jh)(this,function(e){switch(e.label){case 0:return H(!0),[4,U({variables:{input:{clientId:h.id,payerId:J,location:{state:ei},person:{firstName:z,lastName:K,dateOfBirth:(0,T.tz)(ee)},serviceTypeId:E.r,memberId:X,skipMembershipId:$,clinicalInfo:{diagnoses:en}}},onCompleted:function(e){var n=e.checkEligibility.currentStep===L.S.POLICY_INVALID&&e.checkEligibility.retryCount>=1?L.S.PROVIDER_ELIGIBILITY_ELIGIBLE:e.checkEligibility.currentStep;switch(C(n),O(e.serviceEligibilityMetadata),M(e.policyMetadata),P(e.retryCount),n){case L.S.PROVIDER_ELIGIBILITY_ELIGIBLE:if($){var i,t,a,s,o,r,l,u=(null===(a=e.checkEligibility.serviceEligibilityMetadata)||void 0===a?void 0:null===(t=a.conditionalPatientResponsibilities)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.patientResponsibility)||(null===(s=e.checkEligibility.serviceEligibilityMetadata)||void 0===s?void 0:s.patientResponsibility);I((0,Z.O)(u,null===(l=e.checkEligibility)||void 0===l?void 0:null===(r=l.eligibilityParams)||void 0===r?void 0:null===(o=r.clinicalInfo)||void 0===o?void 0:o.diagnoses)),Q.push("/client-sign-up?insuranceCovered=true&questionId=".concat(j.xb,"&recheck=true"))}break;case L.S.POLICY_PENDING:case L.S.SERVICE_ELIGIBILITY_PENDING:break;case L.S.UNDER_18_INELIGIBLE:case L.S.PROVIDER_ELIGIBILITY_INELIGIBLE:case L.S.SERVICE_ELIGIBILITY_ELIGIBLE:case L.S.SERVICE_ELIGIBILITY_INELIGIBLE:case L.S.SERVICE_ELIGIBILITY_INEFFECTIVE:case L.S.SERVICE_ELIGIBILITY_UNINSURED:case L.S.POLICY_INVALID:Q.push("/client-sign-up?insuranceCovered=true&questionId=".concat(j.xb,"&recheck=true"))}}})];case 1:return e.sent(),[2]}})}),function(){return e.apply(this,arguments)});ea||G||n()},[ea,G,U,h.id,J,ei,z,K,ee,X,$,en,C,O,M,P,Q,I]),(0,V.a)(0,F,function(){C(L.S.PROVIDER_ELIGIBILITY_ELIGIBLE),I((0,Z.O)(null,en)),Q.push("/client-sign-up?insuranceCovered=true&questionId=".concat(j.xb,"&recheck=true"))}),(0,w.Z)("eligibility","eligibility-updated-".concat(h.id),function(e){C(e.currentStep===L.S.POLICY_INVALID&&e.retryCount>=1?L.S.PROVIDER_ELIGIBILITY_ELIGIBLE:e.currentStep),O(e.serviceEligibilityMetadata),M(e.policyMetadata),P(e.retryCount);var n,i,t,a,s,o,r=(null===(t=e.serviceEligibilityMetadata)||void 0===t?void 0:null===(i=t.conditionalPatientResponsibilities)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.patientResponsibility)||(null===(a=e.serviceEligibilityMetadata)||void 0===a?void 0:a.patientResponsibility);I((0,Z.O)(r,null===(o=e.eligibilityParams)||void 0===o?void 0:null===(s=o.clinicalInfo)||void 0===s?void 0:s.diagnoses)),e.currentStep!==L.S.POLICY_PENDING&&e.currentStep!==L.S.SERVICE_ELIGIBILITY_PENDING&&Q.push("/client-sign-up?insuranceCovered=true&questionId=".concat(j.xb,"&recheck=true"))}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:f().header,children:Y}),(0,r.jsxs)("div",{className:f().animationContainer,children:[(0,r.jsxs)("div",{className:f().row,children:[(0,r.jsx)("div",{className:m()(f().image,f().image1),children:(0,r.jsx)(d(),{src:g(),alt:"Insurance Covered Loading",width:85,height:85})}),(0,r.jsx)("div",{className:m()(f().image,f().image2),children:(0,r.jsx)(d(),{src:y(),alt:"Insurance Covered Loading",width:85,height:85})})]}),(0,r.jsxs)("div",{className:f().row,children:[(0,r.jsx)("div",{className:m()(f().image,f().image4),children:(0,r.jsx)(d(),{src:k(),alt:"Insurance Covered Loading",width:85,height:85})}),(0,r.jsx)("div",{className:m()(f().image,f().image3),children:(0,r.jsx)(d(),{src:x(),alt:"Insurance Covered Loading",width:85,height:85})})]})]})]})}},63420:function(e,n,i){"use strict";i.d(n,{qN:function(){return H},ZP:function(){return W}});var t=i(73292),a=i(76341),s=i(67462),o=i(93128),r=i(53353),l=i(85893),u=i(67294),c=i(57211),d=i(22352),v=i(7778),f=i(3810),p=i(41435),m=i(31885),h=i(59346),g=i(57903),_=i(92442),y=i(17113),I=i(26836),k=i(74495),C=i(91642),x=i(17445),N=i(7228),b=i(58343),S=i(71689),E=i(48638),T=i(77006),w=i(11464),D=i(32791),j=i(46876),A=i(93967),L=i.n(A),Z=i(67814),R=i(74221),V=i(26133),F=i(9379),B=i(
155801),O=i(92929),M=i(70492),P=i.n(M),Q=function(e){var n=e.className,i=e.value,t=e.label,a=e.labelDisplay,s=e.tags,r=e.imageUrl,c=e.disableHoverActions,d=e.setIsFocused,v=e.setValue,f=e.handleCustomSelect,p=e.onOptionSelect,m=e.onBlur,h=e.setFocusedOption,g=e.renderLabel,_=e.valueRegex,y=e.renderActionButtonsOnHover,I=e.sectionName,k=e.isMobile,C=(0,o._)((0,u.useState)(!1),2),x=C[0],N=C[1],b=(0,F.Z)(x,500);return(0,l.jsxs)("div",{className:L()(P().sectionOption,n),onClick:function(){d&&d(!1),y||v(""),i===H?f():p(i,t),k&&N(!0),m&&m()},onMouseEnter:function(){h(i)},onMouseLeave:function(){N(!1),h(null)},onMouseOver:function(){c||N(!0)},children:[b&&(0,l.jsx)("div",{className:P().sectionOptionBlock}),(0,l.jsxs)("div",{className:P().sectionOptionText,children:[(0,l.jsxs)("div",{className:P().textWrapper,children:[a||g({label:t,valueRegex:_}),s&&s.length>0&&(0,l.jsxs)(l.Fragment,{children:[" [",g({label:O.Z(", ",s),valueRegex:_}),"]"]})]}),r&&(0,l.jsx)("div",{children:(0,l.jsx)("img",{src:r,className:P().image})}),b&&y({id:i.id,sectionName:I,value:i})]})]},w.Z(Function,"getKey",i)?i.getKey():i)},q=i(25675),G=i.n(q),H="CUSTOM",Y={label:"Add custom",value:H},U=function(e){var n=e.label,i=e.valueRegex;if(e._data,!i||!n||!c.Z(String,n))return n;var t=d.Z(i,n);if(!v.Z(null==t?void 0:t.index)){var a=t[0].length,s=t.index,o=f.Z(s,n),r=p.Z(s+a,n);return m.Z(v.Z,[o?(0,l.jsx)("span",{children:o},"PREFIX"):null,(0,l.jsx)("strong",{className:P().match,children:h.Z(s,s+a,n)},"MAIN"),r?(0,l.jsx)("span",{children:r},"SUFFIX"):null])}return n},W=function(e){var n,i,c=e.neverHideResults,d=e.disabled,f=e.options,p=e.onOptionSelect,m=e.onCustomSelect,h=e.onFocus,A=e.onBlur,O=e.onChange,M=e.placeholder,q=e.placeholderIcon,W=e.inputClassName,z=e.optionsClassName,K=e.optionClassName,J=e.sectionNameClassName,X=e.sectionOptionClassName,$=e.wrapperClassName,ee=e.selectedValue,en=void 0===ee?"":ee,ei=e.selectedLabel,et=e.maxLength,ea=e.disableSubmitOnEnter,es=void 0!==ea&&ea,eo=e.eraseCustomAfterSubmit,er=void 0===eo||eo,el=e.allowCustom,eu=void 0===el||el,ec=e.showCustomOption,ed=void 0===ec||ec,ev=e.autoFocus,ef=e.optionsTop,ep=e.forceClear,em=void 0!==ep&&ep,eh=e.isV2,eg=void 0!==eh&&eh,e_=e.showAddNew,ey=e.disableFilter,eI=void 0!==ey&&ey,ek=e.enableFuzzySearch,eC=void 0===ek||ek,ex=e.sectionSchema,eN=void 0===ex?[]:ex,eb=e.renderActionButtonsOnHover,eS=(0,V.C)(),eE=function(){return ei||g.Z(_.Z(y.Z("value",en)),I.Z("label"))(f)},eT=(0,o._)((0,u.useState)(!1),2),ew=eT[0],eD=eT[1],ej=(0,o._)((0,u.useState)(null),2),eA=ej[0],eL=ej[1],eZ=(0,o._)((0,u.useState)(eE()),2),eR=eZ[0],eV=eZ[1],eF=(0,F.Z)(eR,300),eB=null;if(eR&&eR.length>1)try{eB=RegExp(eR,"i")}catch(e){console.error("regex error: ",e)}var eO=(0,o._)((0,u.useState)(f),2),eM=eO[0],eP=eO[1];(0,u.useEffect)(function(){em&&eR&&(eV(""),O({value:"",closestMatch:null}))},[em,eR,O]),(0,u.useEffect)(function(){eR||eV(eE())},[f,en,ei]);var eQ=(0,u.useMemo)(function(){if(!eC)return null;var e=k.Z(f),n=!v.Z(null==e?void 0:e.searchIndex),i=!v.Z(null==e?void 0:e.tags),t=n?"searchIndex":"label";return new R.Z(f,{ignoreLocation:!0,keys:i?[{name:t,weight:.7},{name:"tags",weight:.3}]:[t]})},[f,eC]),eq=(0,u.useMemo)(function(){return C.Z(I.Z("disableFilter"),f)},[f]),eG=function(e){return eI?eu&&ed?x.Z(Y,f):f:g.Z(N.Z(function(){return eC&&eQ&&e},function(){var n=eQ.search(e);return b.Z(I.Z("value"),(0,r._)(eq).concat((0,r._)(S.Z(I.Z("item"),n))))},C.Z(function(n){var i=n.label,t=n.searchIndex;return!!n.disableFilter||E.Z(RegExp((0,B.W5)(e),"i"),t||i)})),N.Z(function(){return eu&&ed},x.Z(Y),T.Z))(f)};(0,u.useEffect)(function(){var e=eG(eF);eP(1===e.length&&e[0].value===en?f:e)},[f,eF]);var eH=(0,u.useCallback)(function(){eA||setTimeout(function(){A&&A(),eD(!1)})},[eA]),eY=(0,u.useCallback)(function(){m(eR)},[eR,m]),eU=(0,u.useMemo)(function(){return eN.map(function(e){var n=e.sectionName,i=e.predicate;return{sectionName:n,sectionOptions:eM.filter(i)}})},[eM,eN]);return(0,l.jsxs)("div",{className:L()(P().wrapper,$),children:[(0,l.jsxs)("div",{className:P().inputWrapper,children:[(0,l.jsx)("input",{disabled:void 0!==d&&d,autoFocus:void 0!==ev&&ev,className:L()((n={},(0,t._)(n,P().input,!eg),(0,t._)(n,P().inputV2,eg),n),W),type:"text",value:eR||"",onChange:function(e){var n=e.target.value;eV(n);var i=eG(n)[0];O&&O({value:n,closestMatch:null==i?void 0:i.value})},onFocus:function(){h&&h(),eD(!0)},onBlur:eH,placeholder:M,onKeyDown:function(e){if("Enter"===e.key&&!es){var n=eG(eR)[0];
1n&&n.value!==H?(e.stopPropagation(),p(n.value,n.label)):eu&&(e.stopPropagation(),m(eR),eD(!1),er&&eV(""),A&&A())}return!0},maxLength:et}),q&&(0,l.jsx)("div",{className:P().placeholderIcon,children:(0,l.jsx)(Z.G,{icon:q})}),!!eR&&eu&&void 0!==e_&&e_&&(0,l.jsx)("button",{className:P().addNewButton,onClick:function(){m(eR),eD(!1)},children:"Add new"})]}),eU.length>0&&(0,l.jsx)("div",{className:P().sections,children:eU.map(function(e){var n=e.sectionName,i=e.sectionOptions;return(0,l.jsxs)("div",{className:P().section,children:[(0,l.jsx)("div",{className:L()(P().sectionName,J),children:n}),(0,l.jsx)("div",{className:P().sectionOptions,children:i.map(function(e){return(0,u.createElement)(Q,(0,s._)((0,a._)({},e),{key:w.Z(Function,"getKey",null==e?void 0:e.value)?null==e?void 0:e.value.getKey():null==e?void 0:e.value,className:X,setIsFocued:eD,setValue:eV,handleCustomSelect:eY,onOptionSelect:p,onBlur:A,setFocusedOption:eL,renderLabel:U,valueRegex:eB,renderActionButtonsOnHover:eb,sectionName:n,isMobile:eS}))})})]},n)})}),0===eU.length&&(0,l.jsx)("ol",{className:L()(P().options,z,(i={},(0,t._)(i,P().optionsHidden,!(void 0!==c&&c)&&!ew||!eM.length),(0,t._)(i,P().optionsTop,void 0!==ef&&ef),i)),children:S.Z(function(e){var n=e.value,i=e.label,a=e.labelDisplay,s=e.tags,o=e.imageUrl;return(0,l.jsxs)("li",{className:L()(P().option,(0,t._)({},P().span3,!o),K),onClick:function(){eD(!1),eV(""),n===H?eY():p(n,i),A&&A()},onMouseEnter:function(){return eL(n)},onMouseLeave:function(){return eL(null)},children:[(0,l.jsx)("div",{className:P().optionContent,children:(0,l.jsxs)("div",{className:P().textWrapper,children:[(0,l.jsx)("h2",{children:a||U({label:i,valueRegex:eB})}),s&&s.length>0&&(0,l.jsx)("div",{className:P().tagWrapper,children:S.Z(function(e,n){return(0,l.jsx)("label",{className:P().tag,children:e},"".concat(e,"-").concat(n))},D.Z(S.Z(j.Z,s)))})]})}),o&&(0,l.jsx)("div",{className:P().imageWrapper,children:(0,l.jsx)(G(),{alt:i,src:o,layout:"fill",objectFit:"cover"})})]},w.Z(Function,"getKey",n)?n.getKey():n)},eM)})]})}},9076:function(e,n,i){"use strict";var t=i(85893),a=i(93967),s=i.n(a),o=i(95766),r=i.n(o),l={h1:function(e,n){return(0,t.jsx)("h1",{className:s()(r().h1,e),children:n})},h2:function(e,n){return(0,t.jsx)("h2",{className:s()(r().h2,e),children:n})},h3:function(e,n){return(0,t.jsx)("h3",{className:s()(r().h3,e),children:n})},p:function(e,n){return(0,t.jsx)("p",{className:s()(r().p,e),children:n})},span:function(e,n){return(0,t.jsx)("span",{className:s()(r().span,e),children:n})},label:function(e,n){return(0,t.jsx)("label",{className:s()(r().label,e),children:n})}};n.Z=function(e){var n=e.is,i=e.className,t=e.children;return(l[void 0===n?"span":n]||l.span)(i,t)}},35798:function(e,n,i){"use strict";i.d(n,{DF:function(){return f},R1:function(){return u},SL:function(){return c},fF:function(){return v},l:function(){return m}});var t=i(85893),a=i(41904),s=i(57831),o=i(92442),r=i(17113),l=[{value:-10,label:"Hawaii time"},{value:-9,label:"Alaska time"},{value:-8,label:"Pacific time"},{value:-7,label:"Mountain time"},{value:-6,label:"Central time"},{value:-5,label:"Eastern time"},{value:-4,label:"Atlantic time"},{value:-3,label:"Newfoundland time"}],u=function(e){return s.Z(null,"label",o.Z(r.Z("value",parseInt(e)),l))},c=function(e){return s.Z(null,"value",o.Z(r.Z("label",e),l))},d=function(e,n){var i,t=null===(i=new Intl.DateTimeFormat("en-US",{timeZone:n,timeZoneName:"shortOffset"}).formatToParts(e).find(function(e){return"timeZoneName"===e.type}))||void 0===i?void 0:i.value;if(!t)return null;if("GMT"===t||"UTC"===t)return 0;var a=t.match(/GMT([+-])(\d+)(?::(\d+))?/);return a?("-"===a[1]?-1:1)*parseInt(a[2],10):null},v=function(e){if(!e)return null;try{return d(new Date,e)}catch(e){return null}},f=function(e){if(!e)return null;try{var n=new Date().getFullYear(),i=d(new Date(n,0,1),e),t=d(new Date(n,6,1),e);if(null==i&&null==t)return null;if(null==i)return u(t);if(null==t)return u(i);return u(Math.min(i,t))}catch(e){return null}},p={"Hawaii time":"Pacific/Honolulu","Alaska time":"America/Anchorage","Pacific time":"America/Los_Angeles","Mountain time":"America/Denver","Central time":"America/Chicago","Eastern time":"America/Ne
1w_York","Atlantic time":"America/Halifax","Newfoundland time":"America/St_Johns"},m=function(e){return p[e]||null};n.ZP=function(e){var n=e.value,i=e.onChange;return(0,t.jsx)(a.Z,{options:l,value:n,onChange:i})}},12390:function(e,n,i){"use strict";i.d(n,{B$:function(){return r},MC:function(){return f},PT:function(){return m},YB:function(){return a},an:function(){return t},d8:function(){return u},dJ:function(){return v},i$:function(){return d},oN:function(){return o},s0:function(){return s},tr:function(){return c},uI:function(){return l},xb:function(){return p}});var t="matches",a="schedule",s="payment",o="checkout",r="cr",l="1570",u=[],c=[143],d=[102,106,5028],v=3,f=[101010],p="insurance-coverage",m=[60,11]},54345:function(e,n,i){"use strict";i.d(n,{$:function(){return I},Gz:function(){return _},cp:function(){return m},jy:function(){return h},sp:function(){return y},xC:function(){return g}});var t=i(7778),a=i(43973),s=i(18528),o=i(57903),r=i(26836),l=i(56576),u=i(71689),c=i(5782),d=i(91642),v=i(92442),f=i(17113),p=i(12390),m=function(e){var n,i,o=e.question,r=o.id,l=o.isRequired,u=o.allRequired,c=o.component,d=o.responses,v=o.type,f=e.responseBySurveyQuestionId,p=e.allowSkipNotRequired,m=e.questionSkips,h=e.responsesBySurveyQuestionId,g=f[r],_=g&&!!g.surveyQuestionResponseId,y=g&&!t.Z(g.responseValue)&&!a.Z(g.responseValue);return"agreement"===c&&u?(null===(n=(void 0===h?[]:h)[r])||void 0===n?void 0:n.length)===d.length:"insuranceMembershipId"===v?(null==g?void 0:g.responseValue)||(null==g?void 0:null===(i=g.metadata)||void 0===i?void 0:i.skipMembershipId):!l&&void 0!==p&&p||_||y||s.Z(r,void 0===m?[]:m)},h=function(e){var n=e.section,i=e.responseBySurveyQuestionId,t=e.allowSkipNotRequired,a=void 0!==t&&t,s=e.questionSkips;return o.Z(r.Z("groups"),l.Z(o.Z(r.Z("questions"),l.Z(function(e){return m({question:e,responseBySurveyQuestionId:i,allowSkipNotRequired:a,questionSkips:s})}))))(n)},g=function(e){var n=e.sections,i=e.responseBySurveyQuestionId,t=e.currentCoach,a=e.isCoach,s=o.Z(u.Z(o.Z(r.Z("groups"),u.Z(r.Z("questions")))),c.Z)(n),l=d.Z(function(e){return m({question:e,responseBySurveyQuestionId:i})},s),v=d.Z(r.Z("isRequired"),s),f=d.Z(function(e){return m({question:e,responseBySurveyQuestionId:i})},v),p=s.length,h=l.length,g=h/p,_=a?g:(h+Number(!!t))/p;return{surveyProgress:g,progress:_,requiredSurveyProgress:f.length/v.length}},_=function(e){var n=e.sections,i=e.responseBySurveyQuestionId,t=!0,a=!1,s=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){var l=o.value,u=!0,c=!1,d=void 0;try{for(var f,p=l.groups[Symbol.iterator]();!(u=(f=p.next()).done);u=!0){var h=f.value,g=v.Z(function(e){return!m({question:e,responseBySurveyQuestionId:i})},h.questions);if(g)return g}}catch(e){c=!0,d=e}finally{try{u||null==p.return||p.return()}finally{if(c)throw d}}}}catch(e){a=!0,s=e}finally{try{t||null==r.return||r.return()}finally{if(a)throw s}}return n[0].groups[0].questions[0]},y=function(e){var n=e.reduce(function(e,n){return"219"!==n.surveyQuestionId||e[n.surveyQuestionResponseId]||(e[n.surveyQuestionResponseId]=!0),e},{}),i="";return n[1]&&!(n[3]||n[4])&&(i="Our weight loss members lose 10% off their body weight within 2 months on average."),n[3]&&!(n[1]||n[4])&&(i="Our strength training members double their bench press within 2 months on average."),n[4]&&!(n[1]||n[3])&&(i="Our endurance training members take 1:30 off their mile times within 2 months on average."),n[1]&&n[3]&&!n[4]&&(i="Members with goals like yours lose 10% off their body weight and double their bench press within 2 months on average."),n[1]&&n[4]&&!n[3]&&(i="Members with goals like yours lose 10% off their body weight and take 1:30 off their mile times within 2 months on average."),n[3]&&n[4]&&!n[1]&&(i="Members with goals like yours take 1:30 off their mile times and double their bench press within 2 months on average."),n[1]&&n[3]&&n[4]&&(i="Members with goals like yours lose 10% off their body weight and take 1:30 off their mile times within 2 months on average."),(n[2]||n[135]||n[136]||n[5])&&!(n[1]||n[3]||n[4])&&(i="90% of Kickoff members are on track with their fitness goals every single month."),i},I=function(e){var n=e.sections,i=e.questionId,t=e.responseFeedbackId,a=n[i===p.xb?1:0],s=a.groups[0],o=s.questions[0];if(!i||i===p.xb)return[a,s,o];var r=!0,l=!1,u=void 0;try{for(var c,d=n[Symbol.iterator]();!(r=(c=d.next()).done);r=!0){var m=c.value,h=!0,g=!1,_=void 0;try{for(var y,I=(m.groups||[])[Symbol.iterator]();!(h=(y=I.next()).done);
1h=!0){var k,C=y.value,x=v.Z(f.Z("id",parseInt(i)),C.questions),N=null==x?void 0:null===(k=x.responses)||void 0===k?void 0:k.flatMap(function(e){var n;return null==e?void 0:null===(n=e.surveyQuestionResponseFeedback)||void 0===n?void 0:n.map(function(e){return null==e?void 0:e.fields})}),b=null==N?void 0:N.find(function(e){return(null==e?void 0:e.id)===parseInt(t)});if(x)return[m,C,x,b]}}catch(e){g=!0,_=e}finally{try{h||null==I.return||I.return()}finally{if(g)throw _}}}}catch(e){l=!0,u=e}finally{try{r||null==d.return||d.return()}finally{if(l)throw u}}return[a,s,o]}},72110:function(e,n,i){"use strict";i.d(n,{S:function(){return t}});var t={UNDER_18_INELIGIBLE:"UNDER_18_INELIGIBLE",PROVIDER_ELIGIBILITY_ELIGIBLE:"PROVIDER_ELIGIBILITY_ELIGIBLE",PROVIDER_ELIGIBILITY_INELIGIBLE:"PROVIDER_ELIGIBILITY_INELIGIBLE",POLICY_PENDING:"POLICY_PENDING",POLICY_CONFIRMED:"POLICY_CONFIRMED",POLICY_INVALID:"POLICY_INVALID",SERVICE_ELIGIBILITY_PENDING:"SERVICE_ELIGIBILITY_PENDING",SERVICE_ELIGIBILITY_ELIGIBLE:"SERVICE_ELIGIBILITY_ELIGIBLE",SERVICE_ELIGIBILITY_INELIGIBLE:"SERVICE_ELIGIBILITY_INELIGIBLE",SERVICE_ELIGIBILITY_INEFFECTIVE:"SERVICE_ELIGIBILITY_INEFFECTIVE",SERVICE_ELIGIBILITY_UNINSURED:"SERVICE_ELIGIBILITY_UNINSURED",NO_COACH_MATCHES:"NO_COACH_MATCHES",ERROR:"ERROR"}},57019:function(e,n,i){"use strict";i.d(n,{l:function(){return I},T:function(){return x}});var t=i(76341),a=i(67462),s=i(85893),o=i(11163),r=i(32173),l=i(8323),u=i(37479),c=i(41837),d=i(59658),v=i.n(d),f=i(97461),p=i(26252),m=i(45967),h=i.n(m),g=i(32207);i(67294);var _=i(94975),y=function(e){var n=e.className,i=e.color,o=e.size,r=e.title,l=(0,g._)(e,["className","color","size","title"]);return(0,s.jsxs)(_.I,(0,a._)((0,t._)({className:n,fill:"none",size:o,viewBox:"0 0 512 512"},l),{children:[r&&(0,s.jsx)("title",{children:r}),(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:i||"currentColor",fill:i||"currentColor"})]}))},I=function(e){var n=e.helpIconColor,i=e.helpIconSize,t=(0,f.f)().handleInfoHintClick;return(0,s.jsx)("span",{className:h().helpHeader,onClick:t,children:(0,s.jsxs)(l.kC,{alignItems:"center",justifyContent:"center",children:[(0,s.jsx)(u.BH,{color:n,size:i}),(0,s.jsx)(c.uT,{className:h().helpLabel,size:"small",weight:"medium",children:"Help"})]})})},k=function(e){var n=e.children,i=(0,p.H)();return(0,s.jsx)("div",{className:h().safeAreaContainer,style:{paddingTop:Math.max(i.top-14,0)},children:n})},C={todos:"To Dos",inbox:"Inbox","client-list":"Clients","recruiter-free-trial":"Recruiter","recruiter-advertise-training":"Recruiter","workout-library":"Workout Library"},x=function(e){var n,i=e.navigationLevel,d=e.onNavigationLevelChange,f=e.title,p=(0,o.useRouter)(),m=p.query,g=d||function(e){p.back()};if("level2"===(void 0===i?"level1":i))return(0,s.jsx)(k,{children:(0,s.jsx)("header",{className:h().utilityNavRoot,children:(0,s.jsxs)("nav",{className:h().utilityNavContent,children:[(0,s.jsx)(l.hU,{size:"small",variant:"textLight",onClick:function(){return g("level1")},children:(0,s.jsx)(u.Y4,{})}),(0,s.jsx)(c.Dx,{className:h().level2Title,size:"xxsmall",color:"white",children:f||C[null==m?void 0:m.page]||(null==m?void 0:m.page)}),(0,s.jsx)(I,{})]})})});var _=e.coach,x=e.showBackButton,N=e.onAccountClick,b=(null==_?void 0:_.isInsuranceDietitian)&&!(null==_?void 0:_.isAcceptingNonInsuranceClients);return(0,s.jsx)(k,{children:(0,s.jsx)("header",{className:h().utilityNavRoot,children:(0,s.jsxs)("nav",{className:h().utilityNavContent,children:[(0,s.jsxs)(l.kC,{alignItems:"center",children:[x&&(0,s.jsx)(l.hU,{className:h().backButton,size:"medium",variant:"textLight",onClick:function(){return g("level1")},children:(0,s.jsx)(u.wy,{})}),"workout-library"===m.page?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(c.Dx,{className:h().workoutLibraryNavTitle,color:"white",truncate:!0,children:[(0,s.jsx)(y,{style:{marginRight:12}}),C[null==m?void 0:m.page]]})}):(0,s.jsx)(c.Dx,{className:h().utilityNavTitle,color:"white",truncate:!0,children:f||C[null==m?void 0:m.page]||(null==m?void 0:m.page)})]}),(0,s.jsxs)(l.kC,{className:h().contentRight,alignItems:"center",children:[!b&&(0,s.jsx)(I,{}
1),(0,s.jsx)(r.L,{accountPhoto:v(),coach:(0,a._)((0,t._)({},_),{avatarPhoto:(null==_?void 0:_.avatarPhoto)||(null==_?void 0:null===(n=_.profileImage)||void 0===n?void 0:n.url)}),onClick:N})]})]})})})}},77501:function(e,n,i){"use strict";i.d(n,{Bf:function(){return a},WI:function(){return t},e0:function(){return s},ux:function(){return o}});var t="coach-intro",a="rd-coach-opener",s="rd-kickoff-calendar-connected",o="p5bbakP01t9KXyOW7hfhK"},63953:function(e,n,i){"use strict";i.d(n,{I:function(){return t},R:function(){return a}});var t="session-token",a="payment-token"},72533:function(e,n,i){"use strict";i.d(n,{Kt:function(){return s},Lb:function(){return o},OJ:function(){return r},lT:function(){return a},yT:function(){return t}});var t={id:1,name:"Breakfast"},a={id:2,name:"Lunch"},s={id:3,name:"Dinner"},o={id:4,name:"Snack"},r=[t,a,o,s]},35999:function(e,n,i){"use strict";i.d(n,{CU:function(){return t},PM:function(){return r},Wh:function(){return o},_D:function(){return a},kn:function(){return l},wM:function(){return s}});var t=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,a=/^\s*(?:\+?(\d{1,3}))?[-. (]*(\d{3})[-. )]*(\d{3})[-. ]*(\d{4})(?: *x(\d+))?\s*$/,s=/(^\d{5}(-\d{4})?$)|(^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1} *\d{1}[A-Z]{1}\d{1}$)/,o=/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,r=/(https?:\/\/)?(www\.)?calendly.com\/.*/,l=/([a-zA-Z0-9]+)([\.{1}])?([a-zA-Z0-9]+)\@g(oogle)?mail([\.])com/},67913:function(e,n,i){"use strict";i.d(n,{CF:function(){return a.C},Rh:function(){return t.R}});var t=i(16509),a=i(47195)},97062:function(e,n,i){"use strict";i.d(n,{_:function(){return o},q:function(){return s}});var t=i(30604),a=i(67294),s=(0,a.createContext)({activeTab:t.lV,section:null,showInfo:null,setActiveTab:function(e){}}),o=function(){return(0,a.useContext)(s)}},78772:function(e,n,i){"use strict";var t=i(67294);n.Z=(0,t.createContext)({signUpSurveyQuestions:null,surveyId:null,query:{},onAnchorLinkClick:function(){},coach:null,isCoachPage:null,locationDetails:null,localPageType:null,isBlog:null,signUp:function(){},coupon:null,isSafari:!1,selectedPriceId:null,selectPriceId:function(){},hasBanner:null})},95379:function(e,n,i){"use strict";var t=i(67294);n.Z=(0,t.createContext)({responseBySurveyQuestionId:{},createResponse:function(){},updateResponse:function(){},setOnChangeResponse:function(){},goToNextQuestion:function(){},scrollToTop:function(){},clientId:null,coachId:null,isCoach:null,progress:null,surveyProgress:null,requiredSurveyProgress:null,client:null,currentCoach:null,clientPayload:null,sections:null,destination:null,headCoach:null,activeGroupIsComplete:null,isMale:!1,activeResponseFeedback:null,responseSaveError:!1,notInterestedInLive:!1,showDelaySurvey:!1,openDelaySurvey:function(){},closeDelaySurvey:function(){},startShowDelaySurveyTimer:function(){},surveyViewedCount:0,notInterestedInNutrition:!1,isInsuranceClient:!1,kickoffCallScheduledAt:null,setKickoffCallScheduledAt:function(e){},setNeedMemberId:function(e){},setCopay:function(e){},selectedPayer:null,setSelectedPayer:function(e){},setEligibilityStatus:function(e){},setEligibilityData:function(e){},policyMetadata:null,setPolicyMetadata:function(e){},policyRetryCount:0,setPolicyRetryCount:function(e){},eligibilityStatus:null,eligibilityData:null,copay:null})},6351:function(e,n,i){"use strict";i.d(n,{T:function(){return h},f:function(){return g}});var t=i(76341),a=i(67462),s=i(93128),o=i(85893),r=i(53103),l=i(11163),u=i(62286),c=i(67294),d=i(85518),v=i(39737),f=i(55801),p=v.LB,m=(0,c.createContext)(null);function h(){var e=(0,c.useContext)(m);if(null===e)throw Error("useLeadsContext must be used within a LeadsProvider");return e}function g(e){var n=(0,l.useRouter)(),i=(0,c.useMemo)(function(){return Object.keys(n.query).filter(function(e){return e.includes("utm")}).reduce(function(e,i){var t=i.toLowerCase().replace(/([-_][a-z])/g,function(e){return e.toUpperCase().replace("-","").replace("_","")}),a=n.query[i];return e[t]=Array.isArray(a)?a[0]:a,e},{})},[n.query]),v=(0,c.useRef)(e.referrer||""),h=(0,c.useRef)(e.userAgent||""),g=(0,s._)((0,c.useState)(),2),_=(g[0],g[1]);return(0,c.useEffect)(function(){var e=(0,u.parseCookies)().lead;if(e){var s=JSON.parse(e);Object.keys(i).filter(function(e){return!s[e]}).length&&(0,u.setCookie)(null,"lead",JSON.stringify((0,t._)((0,a._)((0,t._)({},i),{ref:n.query.ref}),s)),{path:"/",maxAge:r.x4})}else(0,u.setCookie)(null,"lead",JSON.stringify((0,a._)((0,t._)({},i),{ref:(0,f.Iu)(n.query.ref),landingPageUrl:"".concat(p).concat(n.asPath),deviceType:d.vO,referrer:v.current,userAgent:h.current,setLeadId:_})),{path:"/",maxAge:r.x4})},[n.asPath,n.query.ref,i]),(0,c.useEffect)(function(){document&&(v.current=document.referrer,h.current=navigator.userAgent)},[]),(0,o.jsx)(m.Provider,{value:{getLeadInfo:function(){var e=(0,u.parseCookies)().lead;if(e){var n=JSON.parse(e),i={},t=!0,a=!1,s=void 0;try{for(var o,r=Object.keys(n)[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){var l=o.value,c=n[l];l.includes("utm")&&Array.isArray(c)?i[l]=c[0]:i[l]=c}}catch(e){a=!0,s=e}finally{try{t||null==r.return||r.return()}finally{if(a)throw s}}return i}},setLeadId:_},children:e.children})}},98731:function(e,n,i){"use strict";i.d(n,{v:function(){return s}});var t=i(67294),a=(0,t.createContext)({isOpen:!1,open:function(){},close:function(){},setProps:function(){},setConfig:function(){},isBlur:!1});n.Z=a;var s=function(){return(0,t.useContext)(a)}},60248:function(e,n,i){"use strict";var t=(0,i(67294).createContext)({});n.Z=t},30470:function(e,n,i){"use strict";i.d(n,{C:function(){return w}});var t=i(30137),a=i(76341),s=i(67462),o=i(32207),r=i(97582),l=i(85893),u=i(67294),c=i(56429),d=i(53768),v=i(48702),f=i(48216),p=i(23795),m=i(99066),h=i(63144),g=i.n(h),_=i(62286),y=i(65275),I=i(63953),k=i(82964),C=i(33168),x=i(65032),N=new Set(["127.0.0.1","localhost"]),b=i(2147),S=null,E=y.Z.getPlugin("react").createErrorBoundary(u),T=new c.u({uri:function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!n||"string"!=typeof e)return e;try{var i=new URL(e);if("http:"===i.protocol&&N.has(i.hostname)&&"/api/qa-dashboard-graphql"===i.pathname)return"".concat(i.pathname).concat(i.search).concat(i.hash)}catch(e){}return e}(x.gJ.production),fetch:g()});function w(e){var n,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=u.ssr,v=function(n){var i=n.apolloClient,t=n.apolloState,s=(0,o._)(n,["apolloClient","apolloState"]),r=i||D(t);return(0,l.jsx)(E,{FallbackComponent:C.default,children:(0,l.jsx)(d.e,{client:r,children:(0,l.jsx)(e,(0,a._)({},s))})})};return(void 0===c||c||e.getInitialProps)&&(v.getInitialProps=(n=(0,t._)(function(n){var t,o,u,c;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(t=n.AppTree,o=n.apolloClient=D(void 0,n),u={},!e.getInitialProps)return[3,2];return[4,e.getInitialProps({apolloClient:o,ctx:n})];case 1:u=r.sent(),r.label=2;case 2:return[3,7];case 3:return r.trys.push([3,6,,7]),[4,Promise.all([i.e(9774),i.e(2244)]).then(i.bind(i,52244))];case 4:return[4,(0,r.sent().getDataFromTree)((0,l.jsx)(t,{pageProps:(0,s._)((0,a._)({},u),{apolloClient:o})}))];case 5:return r.sent(),[3,7];case 6:return console.error("Error while running `getDataFromTree`",r.sent()),[3,7];case 7:return c=o.cache.extract(),[2,(0,s._)((0,a._)({},u),{apolloState:c})]}})}),function(e){return n.apply(this,arguments)})),v}var D=function(e,n){return S||(S=j(e,n)),S},j=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,a=(e=(0,t._)(function(e){var n;return(0,r.Jh)(this,function(t){return n=i&&i.overrideCookies&&i.overrideCookies[I.I]||(0,_.parseCookies)(i)[I.I],e.setContext({headers:{"Cache-Control":"no-cache",authorization:n?"Bearer ".concat(n):"",local_utc_offset:(0,k.k_)()}}),[2,e]})}),function(n){return e.apply(this,arguments)}),s=new v.i(function(e,n){return n(e).map(function(n){var i=e.getContext().response.headers;if(i&&i.get("X-Version")){var t=i.get("X-Version"),a=localStorage.getItem("app_version");a&&"null"!==a?t!==a&&(console.log("New app release detected! Setting refresh..."),localStorage.setItem("app_version",null),localStorage.setItem("pending_refresh","true")):localStorage.setItem("app_version",t)}return n})}),o=new v.i(function(e,n){return new f.y(function(i){var t;return Promise.resolve(e).then(a).then(function(e){t=n(e).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)})}).catch(i.error.bind(i)),function(){t&&t.unsubscribe()}})});return new p.f({name:"Web",version:"1.2.7",ssrMode:!1,link:v.i.from([s,o,T]),cache:new m.h({typePolicies:{Query:{fields:{workout:{keyArgs:["id"],read:function(e,n){var i=n.args;return(0,n.toReference)({__typename:"Workout",id:i.id})}},client:{keyArgs:["id"],read:function(e,n){var i=n.args;return(0,n.toReference)({__typename:"Client",id:i.id})}}}},BridgePayer:{keyFields:["name"]}},possibleTypes:b}).restore(n||{})})}},97461:function(e,n,i){"use strict";i.d(n,{f:function(){return v}});var t=i(85893),a=i(98731),s=i(62969),o=i(30604),r=i(26133),l=i(60160),u=i(97062),c=i(51322),d=i.n(c),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.showFor,i=e.selectedTutorialPageId,c=(0,r.C)(),v=(0,u._)().activeTab,f=(0,a.v)();return{handleInfoHintClick:function(){var e=n;!n&&v===o.$L&&c&&(e=l.p.SCHEDULE),f.open(function(){return(0,t.jsx)(s.Z,{onClose:f.close,showFor:e,selectedTutorialPageId:i})},{},{className:d().hintModalWrapper,theme:"black",key:"HINT_MODAL"})}}}},93458:function(e,n,i){"use strict";var t=i(93128),a=i(67294),s=i(56320);n.Z=function(){var e=(0,t._)((0,a.useState)(!1),2),n=e[0],i=e[1];return((0,a.useEffect)(function(){i(!0)},[]),n)?(0,s.U)():null}},9379:function(e,n,i){"use strict";var t=i(93128),a=i(67294);n.Z=function(e,n){var i=(0,t._)((0,a.useState)(e),2),s=i[0],o=i[1],r=(0,a.useRef)();return(0,a.useEffect)(function(){var i=function(){r.current&&clearTimeout(r.current)};return i(),r.current=setTimeout(function(){return o(e)},n),function(){return i()}},[e,n]),s}},3653:function(e,n,i){"use strict";i.d(n,{k:function(){return g}});var t=i(85893),a=i(98731),s=i(93128),o=i(67294),r=i(8323),l=i(9076),u=i(72085),c=i(39737),d=i(67648),v=i(67913),f=i(37479),p=i(83922),m=i.n(p),h=function(e){var n,i,a,p,h,g,_,y,I,k=e.onClose,C=(0,s._)((0,o.useState)("Copy URL"),2),x=C[0],N=C[1],b=(0,u.Z)(),S=(null==b?void 0:null===(p=b.data)||void 0===p?void 0:null===(a=p.me)||void 0===a?void 0:null===(i=a.user)||void 0===i?void 0:null===(n=i.username)||void 0===n?void 0:n.toLowerCase())||"",E=null==b?void 0:null===(y=b.data)||void 0===y?void 0:null===(_=y.me)||void 0===_?void 0:null===(g=_.user)||void 0===g?void 0:null===(h=g.coach)||void 0===h?void 0:h.freeTrialEnabled,T=c.ZP.coachReferral({username:S,freeTrial:E,utm_source:"coach_app",utm_medium:"copy_link",utm_campaign:"modal"});return(0,t.jsx)(v.Rh,{name:"Promote Landing Page Modal",children:(0,t.jsxs)("div",{className:m().promoteModal,children:[(0,t.jsx)("div",{className:m().close,onClick:k,children:(0,t.jsx)(f.b0,{title:"Close"})}),(0,t.jsx)(l.Z,{is:"h2",className:m().title,children:"Share your Coach Landing Page"}),(0,t.jsx)(l.Z,{is:"p",className:m().subtitle,children:"Earn higher coach acquired client pay."}),(0,t.jsxs)(v.CF,{name:"Your Page",children:[(0,t.jsx)("span",{className:m().clpLink,children:T}),(0,t.jsxs)(r.kC,{className:m().buttonRow,children:[(0,t.jsx)(r.zx,{className:m().button,size:"small",onClick:function(e){var n=e.target;(0,d.T)(T),N("Copied!"),setTimeout(function(){N("Copy URL"),n.blur()},1500)},iconRight:(0,t.jsx)(f.TI,{}),name:"Copy URL",children:x}),(0,t.jsx)(r.zx,{className:m().button,size:"small",to:c.ZP.coachReferral({username:S,freeTrial:E}),iconRight:(0,t.jsx)(f.h0,{}),name:"Open Page",children:"Open Page"}),(0,t.jsx)(r.zx,{className:m().button,size:"small",to:null===(I=c.ZP.coachProfileReview({username:S,isProfileEdit:!0}))||void 0===I?void 0:I.href,iconRight:(0,t.jsx)(f.me,{}),name:"Edit Page",children:"Edit Page"})]})]})]})})},g=function(){var e=(0,a.v)();return{handleButtonClick:function(){e.open(function(){return(0,t.jsx)(h,{onClose:e.close})},{},{theme:"black",key:"PROMOTE_CLP_MODAL"})}}}},55191:function(e,n,i){"use strict";i.d(n,{t:function(){return l}});var t=i(76341),a=i(93128),s=i(67294),o=i(11163),r=i(31885);
1function l(){var e=(0,o.useRouter)(),n=(0,a._)((0,s.useState)((0,t._)({},e.query)),2),i=n[0],l=n[1];(0,s.useEffect)(function(){l((0,t._)({},e.query))},[e.query]);var u=(0,s.useCallback)(function(e,n){l(function(i){var a=r.Z(function(e){return void 0===e},(0,t._)({},i,e));return n({query:a}),a})},[]),c=(0,s.useCallback)(function(n){u(n,e.push)},[e.push,u]),d=(0,s.useCallback)(function(n){u(n,e.replace)},[e.replace,u]);return(0,s.useMemo)(function(){return[i,{pushQueryParamState:c,replaceQueryParamState:d}]},[c,d,i])}},94263:function(e,n,i){"use strict";i.d(n,{C:function(){return s.C}});var t=i(67294),a=i(11163),s=i(49138),o=i(55801),r=["coachwithkickoff"];n.Z=function(){var e=(0,a.useRouter)(),n=e.query,i=e.pathname,l=(n||{}).slug;return(0,t.useMemo)(function(){return r.includes((0,o.Iu)(l)||"")?s.C.Coach:(0,s.Q)({ref:(0,o.Iu)(null==n?void 0:n.ref),isCoachFreeTrial:"/coaches/[id]/free"===i||(null==n?void 0:n.ref)==="gp_freetrial_coach"})},[l,i,null==n?void 0:n.ref])}},33168:function(e,n,i){"use strict";i.r(n);var t,a=i(30137),s=i(76341),o=i(67462),r=i(97582),l=i(85893),u=i(67294),c=i(12918),d=i.n(c),v=i(11163),f=i.n(v),p=i(40546),m=i(65275),h=i(62947),g=function(e){var n=e.title,i=e.statusCode;return(0,u.useEffect)(function(){var e;(e=(0,a._)(function(){var e,n;return(0,r.Jh)(this,function(i){switch(i.label){case 0:if(e=new Date(localStorage.getItem("last_error_date")||null),p.differenceInDays(new Date,e)>0&&(localStorage.removeItem("refresh_error_count"),localStorage.removeItem("last_error_date")),!((n=Number(localStorage.getItem("refresh_error_count"))||0)<3))return[3,2];return[4,(0,h._)(1e4*n)];case 1:i.sent(),n++,localStorage.setItem("refresh_error_count",String(n)),localStorage.setItem("last_error_date",String(new Date)),f().reload(),i.label=2;case 2:return[2]}})}),function(){return e.apply(this,arguments)})().catch(console.error)},[]),(0,l.jsx)(d(),{title:n,statusCode:i||500})};g.getInitialProps=(t=(0,a._)(function(e){return(0,r.Jh)(this,function(n){switch(n.label){case 0:if(!e.err)return[3,2];return[4,(0,m.C)(e.err)];case 1:n.sent(),n.label=2;case 2:return[2,(0,o._)((0,s._)({},d().getInitialProps(e)),{error:e.err})]}})}),function(e){return t.apply(this,arguments)}),n.default=g},3683:function(e,n,i){"use strict";i.r(n),i.d(n,{SURVEY_ID:function(){return eu},default:function(){return ed}});var t,a=i(30137),s=i(97582),o=i(85893),r=i(20726),l=i.n(r),u=i(44603),c=i(50194),d=i(30470),v=i(37977),f=i(67913),p=i(60248),m=i(43783),h=i(39737),g=i(89007),_=i(89613),y=i(47915),I=i(60317),k=i(29254),C=i(77501),x=i(79930),N=i.n(x),b=i(76341),S=i(67462),E=i(93128),T=i(6812),w=i(50319),D=i(16027),j=i(26836),A=i(71689),L=i(74178),Z=i(57903),R=i(57831),V=i(5782),F=i(52190),B=i(17113),O=i(56576),M=i(95086),P=i(31885),Q=i(73075),q=i(67294),G=i(23570),H=i.n(G),Y=i(55191),U=i(90716),W=i(72085),z=i(79514),K=i(92912),J=i(95379),X=i(54345),$=i(88134),ee=i(80817),en=i(66860),ei=i.n(en),et=i(93458),ea=i(57019),es=i(8323),eo=i(42398),er=function(e){var n,i,t,r,l,u,c,d,v,f,p,m=e.survey,g=e.coachId,_=e.isCoach,y=void 0===_||_,I=(0,q.useRef)(null),k=(0,q.useRef)(null),C=(0,E._)((0,Y.t)(),2),x=C[0],N=x.questionId,G=x.responseFeedbackId,en=C[1],er=en.pushQueryParamState;en.replaceQueryParamState,(0,et.Z)();var el={coachId:g,surveyId:m.fields.id},eu=(0,W.Z)(),ec=null==eu?void 0:null===(l=eu.data)||void 0===l?void 0:null===(r=l.me)||void 0===r?void 0:null===(t=r.user)||void 0===t?void 0:null===(i=t.coach)||void 0===i?void 0:i.isAdmin,ed=(0,q.useMemo)(function(){return(0,K.I)({survey:m,isAdmin:ec})},[m,ec]),ev=(0,z.N)((0,T.a)($.getOverviewCoachResponses,{variables:el,skip:!y,fetchPolicy:"cache-and-network"})),ef=(null===(c=ev.data)||void 0===c?void 0:null===(u=c.coach)||void 0===u?void 0:u.cmsSurveyQuestionResponses)||[],ep=null===(f=ev.data)||void 0===f?void 0:null===(v=f.coach)||void 0===v?void 0:null===(d=v.user)||void 0===d?void 0:d.username,em=D.Z(j.Z("surveyQuestionId"),ef),eh=A.Z(L.Z,em),eg=(0,X.xC)({sections:ed,responseBySurveyQuestionId:eh,isCoach:y}),e_=eg.surveyProgress,ey=eg.requiredSurveyProgress,eI=eg.progress,ek=(0,E._)((0,q.useState)(null),2),eC=ek[0],ex=ek[1],eN=(0,E._)((0,q.useState)(!1),2),eb=eN[0],eS=eN[1],eE=Z.Z(A.Z(R.Z([],"groups")),V.Z,A.Z(R.Z([],"questions")),A.Z(L.Z))(ed),eT=(0,E._)((0,X.$)({sections:ed,questionId:N,responseFeedbackId:G}),4),ew=eT[0],eD=eT[1],ej=eT[2],eA=eT[3],eL=F.Z(B.Z("id",ej.id),eE)+1,eZ=eE[eL],eR=(0,K.w)({question:ej,responseId:null===(p=eh[ej.id])||void 0===p?void 0:p.surveyQuestionResponseId}),eV=eE[eL-2],eF=R.Z(!1,"isValid",eC)||O.Z(function(e){return(0,X.cp)({question:e,responseBySurveyQuestionId:eh,allowSkipNotRequired:!0})},eD.questions);j.Z("name",ew),A.Z(function(e){return parseInt(e.id)},eD.questions),A.Z(function(e){return e.text},eD.questions);var eB=eR?!eZ&&eA:!eZ;(0,q.useEffect)(function(){ex(null)},[ej]);var eO=eZ?eZ.id:"",eM=(0,q.useCallback)(function(){I.current&&I.current.scroll({top:0}),k.current&&k.current.scroll({top:0})},[]),eP=(0,q.useMemo)(function(){var e=eA?N:null==eV?void 0:eV.id;return e?{questionId:"".concat(e),responseFeedbackId:void 0}:{}},[eV,eA,N]),eQ=(0,q.useCallback)(function(){eP&&(ex(null),eS(!1),er(eP))},[eP,er]),eq=(0,q.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.analyticProps,!eF)return eS(!0);ex(null),eS(!1);var n=!!eA;er({questionId:eR&&!n?"".concat(null==ej?void 0:ej.id):"".concat(eO),responseFeedbackId:n?void 0:null==eR?void 0:eR.id}),eM()},[eF,null==ej?void 0:ej.id,eA,eO,eR,er,eM]),eG=(0,E._)((0,w.D)(ee.createOverviewSurveyQuestionResponses,{update:function(e,n){var i=n.data.createCmsSurveyQuestionResponses,t=i.cmsSurveyQuestionResponses,a=i.surveyQuestionId,s=e.readQuery({query:$.getOverviewCoachResponses,variables:el});((null==s?void 0:s.client)||(null==s?void 0:s.coach))&&e.writeQuery({query:$.getOverviewCoachResponses,variables:el,data:M.Z({coach:{cmsSurveyQuestionResponses:Z.Z(function(e){return e||[]},P.Z(function(e){return parseInt(e.surveyQuestionId)===parseInt(a)}),Q.Z(t))}},s)})}}),1)[0],eH={responsesBySurveyQuestionId:em,responseBySurveyQuestionId:eh,createResponses:(n=(0,a._)(function(e){var n,i,t,a,o;return(0,s.Jh)(this,function(s){switch(s.label){case 0:return n=e.modelPath,i=e.surveyQuestionId,t=e.surveyQuestionResponseIds,a=e.responseValue,o=(0,S._)((0,b._)({},el),{surveyQuestionId:i}),[4,eG({variables:(0,S._)((0,b._)({},o),{modelPath:n,surveyQuestionResponseIds:t,responseValue:a}),optimisticResponse:{__typename:"Mutation",createCmsSurveyQuestionResponses:{__typename:"CreateCmsSurveyQuestionResponsesPayload",surveyQuestionId:i,cmsSurveyQuestionResponses:t?A.Z(function(e){return(0,S._)((0,b._)({__typename:"CmsSurveyQuestionResponse",id:H()()},o),{surveyQuestionResponseId:e,responseValue:null})},t):[(0,S._)((0,b._)({__typename:"CmsSurveyQuestionResponse",id:H()()},o),{responseValue:a,surveyQuestionResponseId:null})]}}})];case 1:return s.sent(),[2]}})}),function(e){return n.apply(this,arguments)}),coachId:g,isCoach:y,progress:eI,surveyProgress:e_,requiredSurveyProgress:ey,setOnChangeResponse:ex,goToNextQuestion:eq,sections:ed,scrollToTop:eM,activeGroupIsComplete:eF,scrollDiv:I.current,activeResponseFeedback:eA},eY=ev.isInitialLoad;return(0,o.jsx)(J.Z.Provider,{value:eH,children:(0,o.jsx)("div",{className:ei().containerB,children:(0,o.jsxs)("div",{ref:I,className:ei().main,children:[(0,o.jsxs)("div",{ref:k,className:ei().mainContent,children:[(0,o.jsx)(ea.T,{navigationLevel:"level2",title:"Invite Your Network"}),!eY&&(0,o.jsx)("div",{className:ei().questionGroupContainer,children:(0,o.jsx)(eo.Z,{group:eD,showErrors:eb})}),eY&&(0,o.jsx)("div",{className:ei().loadingContainer,children:(0,o.jsx)(U.Z,{})})]}),(0,o.jsx)(es.oW,{onBackClick:eQ,onNextClick:eB?void 0:eq,nextDisabled:!eF,nextLabel:"Continue",nextLink:eB?h.ZP.coachProfileReview({username:ep}).href:void 0})]})})})},el=i(51869),eu=24,ec=function(e){var n=e.survey,i=e.coachId,t=e.query;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.Z.Provider,{value:t,children:(0,o.jsx)(el.V,{children:(0,o.jsx)(v.Z,{includeChat:!1,includeCloudinary:!0,applySafeAreaInsets:!1,children:(0,o.jsx)(y.Z,{children:(0,o.jsx)(f.Rh,{name:"Coach Network",children:(0,o.jsx)(er,{survey:n,coachId:i,isCoach:!!i})})})})})}),k.fC,(0,o.jsx)(l(),{id:"36eb46aa3261f965",dynamic:[N().SILVER],children:"body{overflow:hidden;background-color:".concat(N().SILVER,"}")})]})};ec.getInitialProps=(0,g.Z)((t=(0,a._)(function(e){var n,i,t,a,o,r,l,d,v,f;return(0,s.Jh)(this,function(s){switch(s.label){case 0:if(n=e.ctx,i=e.currentUserPayload.data.me,t=n.query.coachId,a=u.Z(["user","coach","id"],i),o=c.Z(!1,["user","coach","isAdmin"],i)&&!!t,r=!!a,l=c.Z(!1,["user","coach","isProfileComplete"],i),!(!o&&r))return[3,2];return[4,(0,I.y)({me:i})];case 1:(d=s.sent())&&(d===C.WI||l)&&(v=h.ZP.coachOnboarding({slug:d}).as,(0,m.Z)(v,n)),s.label=2;case 2:return!o&&r&&t&&a!==t&&(0,m.Z)(h.ZP.coachSignUpSurvey().as,n),o||r||(0,m.Z)(h.ZP.signIn({redirect:n.asPath}),n),[4,_.Z.getEntries({content_type:"survey","fields.id[in]":eu,include:10})];case 3:return f=s.sent(),[2,{coachId:t||a,survey:f.items[0],query:n.query}]}})}),function(e){return t.apply(this,arguments)}));var ed=(0,d.C)(ec)},15889:function(e,n,i){"use strict";i.d(n,{f:function(){return o}});var t=i(85893),a=i(67294),s=(0,a.createContext)({clientFirstName:""}),o=function(){return(0,a.useContext)(s)};n.Z=function(e){var n=e.referrer.clientFirstName,i=void 0===n?"":n,o=e.children,r=(0,a.useMemo)(function(){return{clientFirstName:i}},[i]);return(0,t.jsx)(s.Provider,{value:r,children:o})}},51869:function(e,n,i){"use strict";i.d(n,{V:function(){return r}});var t=i(85893),a=i(35053),s=i.n(a),o=i(58961),r=function(e){var n=e.children;return(0,t.jsx)(o.Y,{font:s(),children:n})}},67648:function(e,n,i){"use strict";i.d(n,{T:function(){return o}});var t=i(66485),a=i.n(t),s=i(56320),o=function(e){a()(e),(0,s.b)(JSON.stringify({name:"copyTextToClipboard",text:e}))}},92912:function(e,n,i){"use strict";i.d(n,{I:function(){return v},w:function(){return f}});var t=i(76341),a=i(67462),s=i(53353),o=i(71689),r=i(91642),l=i(57903),u=i(44603),c=function(e){var n=e.fields;return(0,a._)((0,t._)({},n),{nestedQuestions:o.Z(d,n.nestedQuestions||[])})},d=function(e){var n=e.fields;return(0,a._)((0,t._)({},n),{responses:o.Z(c,(null==n?void 0:n.responses)||[])})},v=function(e){var n=e.survey,i=e.isAdmin,c=e.includeQuestionIds,v=r.Z(function(e){var n=e.id;return(!e.isAdminOnly||!!i)&&(!c||!!c.has(n))});return l.Z(u.Z(["fields","sections"]),o.Z(function(e){return{id:e.sys.id,name:e.fields.name,heading:e.fields.heading,de
1scription:e.fields.description,groups:r.Z(function(e){return e.questions.length>0},(0,s._)(o.Z(function(e){return{id:e.sys.id,questions:v([d(e)])}},e.fields.questions)).concat((0,s._)(o.Z(function(e){return(0,a._)((0,t._)({},e.fields),{id:e.sys.id,questions:v(o.Z(d,e.fields.questions))})},e.fields.nestedSections||[]))))}}))(n)},f=function(e){var n,i,t,a=e.responseId,s=e.question,o=null==s?void 0:null===(n=s.responses)||void 0===n?void 0:n.find(function(e){return parseInt(e.id)===parseInt(a)});return null==o?void 0:null===(t=o.surveyQuestionResponseFeedback)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.fields}},60317:function(e,n,i){"use strict";i.d(n,{y:function(){return w}});var t,a,s,o=i(30137),r=i(97582),l=i(89613),u=i(65032),c=i(44603),d=i(57831),v=i(92442),f=i(17113),p=i(1748),m=function(e){var n=e.coachTutorials,i=e.tutorialId;return!!d.Z(!1,"completedAt",v.Z(f.Z("tutorialId",p.Z(i)))(n))},h=i(40546),g=i.n(h),_=i(26836),y=function(e){var n=e.tutorialToCompleteBefore,i=e.coachTutorials,t=e.minutesSinceTutorialToCompleteBefore;if(n){var a=c.Z(["fields","id"],n);if(!m({coachTutorials:i,tutorialId:a}))return!1;if(t){var s=_.Z("completedAt",v.Z(f.Z("tutorialId",p.Z(a)))(i));if(g().differenceInMinutes(new Date,s)<t)return!1}}return!0},I=i(18528),k=i(71689),C=i(7778),x=i(43973),N=function(e){var n=e.coach,i=e.coachLevelsToDisplayDuring;if(i){var t=n.levelId;if(!I.Z(parseInt(t),k.Z(c.Z(["fields","id"]),i)))return!1}else if(C.Z(i)||x.Z(i))return!1;return!0},b=i(77631),S=i(57903),E=function(e){var n=e.coachPrompts,i=e.coachPromptsToDisplayDuring;if(i){var t=b.Z(k.Z(S.Z(c.Z(["fields","id"]),p.Z),i),k.Z(_.Z("coachPromptId"),n||[]));if(!x.Z(t))return!1}return!0},T=(t=(0,o._)(function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(s)return[3,2];if(!l.Z&&(0,u.XY)())return[2,s=[]];return[4,l.Z.getEntries({content_type:"tutorial","fields.isEnabled[ne]":!1,order:"fields.priority,fields.id",include:10})];case 1:s=e.sent().items,e.label=2;case 2:return[2,s]}})}),function(){return t.apply(this,arguments)}),w=(a=(0,o._)(function(e){var n,i,t,a,s,o,l,u,d,v,f,p,h,g,_,I,k,C,x,b,S;return(0,r.Jh)(this,function(r){switch(r.label){case 0:return n=e.me,t=void 0===(i=e.isViewingClient)?void 0:i,s=void 0===(a=e.coachPrompts)?void 0:a,l=(o=c.Z(["user","coach"],n)).coachTutorials,[4,T()];case 1:u=r.sent(),d=!0,v=!1,f=void 0;try{for(p=u[Symbol.iterator]();!(d=(h=p.next()).done);d=!0)if(_=(g=h.value.fields).id,I=g.slug,k=g.tutorialToCompleteBefore,C=g.minutesSinceTutorialToCompleteBefore,x=g.coachLevelsToDisplayDuring,b=g.shouldDisplayWhenViewingClient,S=g.coachPromptsToDisplayDuring,!m({coachTutorials:l,tutorialId:_})&&(!b||t)&&N({coach:o,coachLevelsToDisplayDuring:x})&&y({coachTutorials:l,tutorialToCompleteBefore:k,minutesSinceTutorialToCompleteBefore:C})&&E({coachPrompts:s,coachPromptsToDisplayDuring:S}))return[2,I]}catch(e){v=!0,f=e}finally{try{d||null==p.return||p.return()}finally{if(v)throw f}}return[2,null]}})}),function(e){return a.apply(this,arguments)})},9736:function(e,n,i){"use strict";i.d(n,{y:function(){return t}});var t=function(e){return(null==e?void 0:e.isAdmin)||(null==e?void 0:e.isSuperAdmin)}},37078:function(e,n,i){"use strict";i.d(n,{TQ:function(){return u},XK:function(){return r},_T:function(){return o},ar:function(){return l},sk:function(){return a},tq:function(){return s}});var t=i(18637),a=function(){return!1};function s(){return(0,t.x7)().isMobile}var o=function(){return document.documentElement&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)},r=!0,l=!1,u=!1},31948:function(e,n,i){"use strict";function t(e,n){return e?e.total/100:(null==n?void 0:n.length)?0:25}i.d(n,{O:function(){return t}})},43783:function(e,n,i){"use strict";var t=i(11163),a=i.n(t);
1n.Z=function(e,n){n.res?n.res.writableEnded||(n.res.writeHead(303,{Location:e}),n.res.end()):a().replace(e)}},49138:function(e,n,i){"use strict";i.d(n,{C:function(){return a},Q:function(){return o}});var t,a,s=i(93128);function o(e){var n=e.ref;if(e.isCoachFreeTrial)return"coachfreetrial";var i=(0,s._)((null==n?void 0:n.split("_"))||[],5),t=i[0],a=i[1],o=i[2],r=i[3],l=i[4];return"coachfreetrial"===a?"coachfreetrial":"typ"===r&&"7"===l?"typ_guestpass":"gp"===t&&o?"guestpass":"freetrial"===a?"freetrial":"client"}(t=a||(a={})).GuestPass="guestpass",t.ThankYouPageGuestPass="typ_guestpass",t.FreeTrial="freetrial",t.CoachFreeTrial="coachfreetrial",t.Client="client",t.Coach="coach"},11805:function(e,n,i){"use strict";i.d(n,{g:function(){return t}});var t=function(e){return(null==e?void 0:e.isActive)===!0&&!0===e.isSuperAdmin}},18637:function(e,n,i){"use strict";i.d(n,{Q0:function(){return t},pl:function(){return o},x7:function(){return s}});var t=function(e){if(!e)return!1;var n=e.toLowerCase();return["bot","spider","crawler","googlebot","bingbot","slurp","duckduckbot","baiduspider","yandexbot","facebookexternalhit","twitterbot","rogerbot","linkedinbot","embedly","quora link preview","showyoubot","outbrain","pinterest","slackbot","vkShare","W3C_Validator"].some(function(e){return n.includes(e.toLowerCase())})},a={browser:"other",os:"other",isMobile:!1,isIpad:!1};function s(){return"undefined"==typeof navigator?a:function(e,n){if("string"!=typeof e||0===e.length)return a;var i=/macintosh/i.test(e)&&"number"==typeof n&&n>1,t=/ipad/i.test(e)||i,s="other";/iphone|ipod/i.test(e)?s="ios":t?s="ios":/android/i.test(e)?s="android":/mac os x|macintosh/i.test(e)?s="macos":/windows nt/i.test(e)?s="windows":/cros|linux|x11/i.test(e)&&(s="linux");var o="other";/edg(a|ios)?\//i.test(e)?o="edge":/firefox|fxios/i.test(e)?o="firefox":/crios|chrome|chromium/i.test(e)?o="chrome":/safari/i.test(e)&&(o="safari");var r="ios"===s||"android"===s;return{browser:o,os:s,isMobile:r,isIpad:t}}(navigator.userAgent,navigator.maxTouchPoints)}function o(e){return"ios"!==e.os&&"safari"!==e.browser&&("chrome"===e.browser||"edge"===e.browser)}},35053:function(e){e.exports={style:{fontFamily:"'__lato_e55e5b', '__lato_Fallback_e55e5b'"},className:"__className_e55e5b"}},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"}},66860:function(e){e.exports={colors:"'styles/colors.module.css'",SHADES_WHITE:"#FFFFFF",containerB:"styles_containerB__Q2_KE",main:"styles_main__35T7W",questionGroupContainer:"styles_questionGroupContainer__iTqlP",loadingContainer:"styles_loadingContainer__W4rRC"}},78768:function(e){e.exports={colors:"'styles/colors.module.css'",CHARCOAL:"#282828",SEA_BLUE:"#1e6990",GREY_BLUE:"#6b9cb5",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",MOBILE_WIDTH_MAX:"992px",TABLET_WIDTH:"768px",app:"styles_app__u09y5",modal:"styles_modal__8ifXR",modalOverlay:"styles_modalOverlay__gK58i",modalOverlayWhite:"styles_modalOverlayWhite__W_LQw",modalOverlayBlack:"styles_modalOverlayBlack__Tf_hq"}},32097:function(e){e.exports={colors:"'styles/colors.module.css'",CHARCOAL:"#282828",SIZE:"1.5625rem",container:"styles_container__LqNP_",checkboxInput:"styles_checkboxInput__Rh9bS",checkbox:"styles_checkbox__Kkgna",checkIcon:"styles_checkIcon__p1Jt_"}},91249:function(e){e.exports={breakpoints:"'styles/breakpoints.module.css'",MOBILE_WIDTH_MAX:"992px",container:"styles_container__6dEh3",containerMobile:"styles_containerMobile__HV1o4",cover:"styles_cover__NQq4O",image:"styles_image__o_xmo",imageProgressive:"styles_imageProgressive__CEZ4s styles_cover__NQq4O",thumbnail:"styles_thumbnail__PpmrX styles_cover__NQq4O",video:"styles_video__0YsVj styles_cover__NQq4O",containerDesktop:"styles_containerDesktop__8xALr"}},15791:function(e){e.exports={colors:"'styles/colors.module.css'",ORANGE:"#FF6D42",container:"styles_container__H2EE6",input:"styles_input__v8R0T inputs_baseV2__roe1t inputs_sharedBase__V5Zjf",error:"styles_error__ovqGS"}},97986:function(e){e.exports={colors:"'styles/colors.module.css'",PLACEHOLDER_GREY:"#B3B3B3",MARGIN:"1.1875rem",container:"styles_container__lka8X",label:"styles_label__U50QY",input
1s:"styles_inputs__ZzG2Z",select:"styles_select__E14bN"}},34595:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",BACKGROUND_PURPLE:"rgba(131, 0, 81, 0.6)",CHARCOAL:"#282828",values:"styles_values__m91yS",value:"styles_value__2sExq",deleteButton:"styles_deleteButton__9qb13 buttons_unstyled__fZBqL",deleteIcon:"styles_deleteIcon__rGXdB"}},52432:function(e){e.exports={container:"styles_container__YYirZ",input:"styles_input__vGt26"}},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"}},36643:function(e){e.exports={breakpoints:"'styles/breakpoints.module.css'",TABLET_WIDTH:"768px",DESKTOP_WIDTH:"993px",group:"styles_group__BOozA",groupB:"styles_groupB__lJTwG",header:"styles_header__OoqL_",question:"styles_question__NvBq3"}},71259:function(e){e.exports={colors:"'styles/colors.module.css'",WHITE:"#fff",BORDER_GREY:"#C5C8C7",BLACK:"#000",NEUTRAL_GRAY_600:"#475569",NEUTRAL_GRAY_900:"#0F172A",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",MOBILE_WIDTH_MAX:"992px",TABLET_WIDTH:"768px",IMAGE_SIZE:"7rem",MOBILE_IMAGE_SIZE:"5.5rem",headCoach:"styles_headCoach__gB4l8",headCoachImageWrapper:"styles_headCoachImageWrapper__kdRCu",headCoachImage:"styles_headCoachImage__NGECd",headCoachImageLabel:"styles_headCoachImageLabel__NhIyf",headCoachText:"styles_headCoachText__p3IQP",header:"styles_header__4VFPJ",headerBold:"styles_headerBold__h46rH",headerBoldB:"styles_headerBoldB__uqMh4",headerB:"styles_headerB__FUz8s",supportingText:"styles_supportingText__HSopS",headCoachTextBold:"styles_headCoachTextBold__t1xvg styles_headerBold__h46rH"}},23385:function(e){e.exports={colors:"'~styles/colors.module.css'",breakpoints:"'styles/breakpoints.module.css'",SUCCESS_600:"#288F87",NEUTRAL_GRAY_600:"#475569",NEW_TABLET_PORTRAIT:"744px",surveyQuestionResponseFeedbackRoot:"styles_surveyQuestionResponseFeedbackRoot__0UP3J",feedbackGarnish:"styles_feedbackGarnish__reS7U",feedbackDivider:"styles_feedbackDivider__tInHE",mediaContainer:"styles_mediaContainer___w7X_",imageContainer:"styles_imageContainer__YWuM6",image:"styles_image__y_O05"}},95565:function(e){e.exports={breakpoints:"'styles/breakpoints.module.css'",TABLET_WIDTH:"768px",fitnessChallengeInterstitial:"styles_fitnessChallengeInterstitial__AiNf1",headerContainer:"styles_headerContainer__U1eP6",overline:"styles_overline__fkVet",header:"styles_header__2Kmew",noteContainer:"styles_noteContainer__WnCk4",coachContainer:"styles_coachContainer__sW1GJ",coach:"styles_coach___6WDA",bubbleContainer:"styles_bubbleContainer__nTV9u",fitnessChallengeText:"styles_fitnessChallengeText__TPE2N"}},98763:function(e){e.exports={animationContainer:"styles_animationContainer__M_lHR",header:"styles_header__LUB7Y",row:"styles_row__FjYkx",image:"styles_image__IVGUz",image1:"styles_image1__Cv32j",fadeInOut:"styles_fadeInOut__ad0vW",image2:"styles_image2__eJoGn",image3:"styles_image3__Yp29_",image4:"styles_image4__7F5Qx"}},44214:function(e){e.exports={colors:"'styles/colors.module.css'",SUB_TEXT_GREY:"#7C7C7C",NEUTRAL_GRAY_50:"#F8FAFC",NEUTRAL_GRAY_200:"#E2E8F0",NEUTRAL_GRAY_300:"#CBD5E1",NEUTRAL_GRAY_600:"#475569",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",TABLET_WIDTH:"768px",optionWrapper:"styles_optionWrapper__9Ta2I",option:"styles_option__Hbdte",labelWrapper:"styles_labelWrapper__YWBIS",label:"styles_label__PeRBO",nestedText:"styles_nestedText__m2h4z",nestedSelect:"styles_nestedSelect__zOJTN",subText:"styles_subText__Te5om",optionWrapperB:"styles_optionWrapperB__EGPGm",selected:"styles_selected__Si7JW",labelWrapperB:"styles_labelWrapperB__pZD8e",labelB:"styles_labelB__EBr_C",nestedTextB:"styles_nestedTextB__j9Wog",helperText:"styles_helperText__NrgOq",onlyCheckboxClickable:"styles_onlyCheckboxClickable__JH7rR"}},2320:function(e){e.exports={BLUE_GRAYS_SEMI_BLACK:"#030017",BLUE_GRAYS_07:"#687189",BLUE_GRAYS_03:"#B5C1D5",BLUE_GRAYS_02:"#CCD6E6",BLUE_GRAYS_01:"#E9EEF6",BLUE_GRAYS_00:"#F5F8FB",WHITE:"#fff",select:"styles_select__3Jhev",selectContainer:"styles_selectContainer__BCAOj"}},39025:function(e){e.exports={breakpoints:"'styles/breakpoints.module.css'",TABLET_WIDTH:"768px",container:"styles_container__dZU2D",header:"styles_header__oO1NK",weightLoss:"styles_weightLoss__bcwL9",greenText:"styles_greenText__Iej_A",greenBackgroun
1d:"styles_greenBackground__V0Us_",imageContainer:"styles_imageContainer__QASQC",imageTitle:"styles_imageTitle__5nJMh",imageTitleText:"styles_imageTitleText__Jqhw6",imageCaption:"styles_imageCaption__jOuRU"}},48830:function(e){e.exports={colors:"'styles/colors.module.css'",NEUTRAL_GRAY_50:"#F8FAFC",NEUTRAL_GRAY_200:"#E2E8F0",NEUTRAL_GRAY_300:"#CBD5E1",NEUTRAL_GRAY_600:"#475569",SUB_TEXT_GREY:"#7C7C7C",option:"styles_option__unBPz",optionChecked:"styles_optionChecked__dTvAS",label:"styles_label__cQ3zN",subText:"styles_subText__AhLa7",icon:"styles_icon___jQ0P"}},35970:function(e){e.exports={colors:"'styles/colors.module.css'",WHITE:"#fff",ORANGE:"#FF6D42",NEUTRAL_GRAY_50:"#F8FAFC",NEUTRAL_GRAY_200:"#E2E8F0",NEUTRAL_GRAY_300:"#CBD5E1",NEUTRAL_GRAY_600:"#475569",ERROR_50:"#FEF1F1",ERROR_600:"#DC2828",question:"styles_question__4OPhX",header:"styles_header__7tGmg",headerB:"styles_headerB__XCayB",note:"styles_note__OmspM",supportingText:"styles_supportingText__XDQ3N",textArea:"styles_textArea__E5mEy",nextButton:"styles_nextButton__Iy3nL buttons_mediumV2__opnId buttons_solidPurple__L_1CH",input:"styles_input__TzGXh",ageWrapper:"styles_ageWrapper__5r9_C",ageWrapperB:"styles_ageWrapperB__DkdLM",ageLabel:"styles_ageLabel__uD2Dj",ageInput:"styles_ageInput__EPYPH",error:"styles_error__yOs6N",ageHelperText:"styles_ageHelperText__S2WGJ",errorInput:"styles_errorInput__TI30G",nestedQuestionHeader:"styles_nestedQuestionHeader__rsGTh",nestedQuestionInput:"styles_nestedQuestionInput____3Om",plusIcon:"styles_plusIcon__QVy_Y",checkboxContainer:"styles_checkboxContainer__FwNtM",checkboxLabel:"styles_checkboxLabel__xksuO",checkbox:"styles_checkbox__p1pdH",checkboxText:"styles_checkboxText__8qinl"}},22120:function(e){e.exports={colors:"'styles/colors.module.css'",GREY_2:"#a6a6a6",RED:"#F41E51",ACCENT_GREY:"#8F8F8F",wrapper:"styles_wrapper__VTd4F",inputWrapper:"styles_inputWrapper__jSmvq",input:"styles_input__T0i9G inputs_baseTextArea__sKUYC inputs_base__BifMx inputs_sharedBase__V5Zjf",inputInvalid:"styles_inputInvalid__h_Bjl undefined",label:"styles_label__hDD1h",characterCount:"styles_characterCount__SvQo1",error:"styles_error__xDPuw"}},86563:function(e){e.exports={colors:"'styles/colors.module.css'",GREY_2:"#a6a6a6",ORANGE:"#FF6D42",wrapper:"styles_wrapper__TLh_i",inputWrapper:"styles_inputWrapper__txYZg",icon:"styles_icon__ropLs",input:"styles_input__5YYfv inputs_base__BifMx inputs_sharedBase__V5Zjf",iconInput:"styles_iconInput__VKDFZ",inputV2:"styles_inputV2__HoH5M inputs_baseV2__roe1t inputs_sharedBase__V5Zjf",inputInvalid:"styles_inputInvalid__6SsF7 inputs_error__2FRFj",label:"styles_label__9hlpL",error:"styles_error__gsy3k"}},70492:function(e){e.exports={colors:"'styles/colors.module.css'",WHITE:"#fff",GREY_3:"#d8d8db",ORANGE:"#FF6D42",PLACEHOLDER_GREY:"#B3B3B3",GREY_1:"#f5f7f9",PURPLE:"#830051",NEUTRAL_GRAY_50:"#F8FAFC",NEUTRAL_GRAY_200:"#E2E8F0",NEUTRAL_GRAY_900:"#0F172A",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_WIDTH:"993px",wrapper:"styles_wrapper__sZEpj",inputWrapper:"styles_inputWrapper__yU_x9",addNewButton:"styles_addNewButton__A7xg2 buttons_base__eNz1x buttons_sharedBase__ruhV4 buttons_small__fCfC5 buttons_solidOrange__f9zVZ",input:"styles_input__s_ZWE inputs_base__BifMx inputs_sharedBase__V5Zjf inputs_block__AWLFQ",inputV2:"styles_inputV2__Iofu7 inputs_baseV2__roe1t inputs_sharedBase__V5Zjf inputs_block__AWLFQ",placeholderIcon:"styles_placeholderIcon__ndRzk",options:"styles_options__YM7tG",optionsTop:"styles_optionsTop__vUspG",optionsHidden:"styles_optionsHidden__4L_xR",option:"styles_option__x6ATJ",span3:"styles_span3__qxox_",textWrapper:"styles_textWrapper__sQQxw",imageWrapper:"styles_imageWrapper__WTGAl",tagWrapper:"styles_tagWrapper__h_RGv",tag:"styles_tag__68et9",match:"styles_match__0am6B",sections:"styles_sections__xs7uk",section:"styles_section__TNgb0",sectionName:"styles_sectionName__6cLt8",sectionOptions:"styles_sectionOptions__FvMK3",sectionOption:"styles_sectionOption__iTQan",sectionOptionText:"styles_sectionOptionText__ve_pu",sectionOptionBlock:"styles_sectionOptionBlock__sPST3"}},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"}},89498:function(e){e.exports={colors:"'styles/colors.module.css'",ORANGE:"#FF6D42",container:"styles_container__6IS8k",inputWrapper:"styles_inputWrapper__9SNFB",input:"styles_input__Qqx_h inputs_baseV2__roe1t inputs_sharedBase__V5Zjf",label:"styles_label__RisMV",error:"styles_error__6_pxF"}},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_"}},59658:function(e){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUEBAQEAwUEBAQGBQUGCA0ICAcHCBALDAkNExAUExIQEhIUFx0ZFBYcFhISGiMaHB4fISEhFBkkJyQgJh0gISABBQYGCAcIDwgIDyAVEhUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIP/AABEIAIAAgAMBEQACEQEDEQH/xACTAAABBAMBAQAAAAAAAAAAAAAFAwQGBwECCAAJEAACAQIFAgUBBQUGBwEAAAABAgMEEQAFBhIhMUEHEyJRYXEUIzKBkQgVUoKxcpKhwdHhJEJDYoPD0vABAAIDAQEBAAAAAAAAAAAAAAIDAAQFAQYHEQADAAIDAAMAAwADAAAAAAAAAQIDEQQSIRMxQQUiMhQVI//aAAwDAQACEQMRAD8A6g09uWgj5G3qBipj2gmSAHjpiz2bBTPYLUndI2xztJNIwQGx3SOJsbtCiKzMQosbscLbR3TZyR+0jpafP9RUNXlDwTmCNxKBMg2MMVayJM78Lo5azHTee5PWGHNMorKI7iPvoGUEgXNjax/K+HfIrR34nJZmRhF0yluB3X8sYOZJ2aWBagrbUAkGaSkoQCTz1xt8droZmVaoFBQoF7j35th7fgonOXR0pypAiqTt5J7fGMq6/sQjWahUlbb6ubDFzGChCjuKcgsBfpgrRGJnb5o28juTgkiDadxvsvJ97YYkEfTrT2pstajpwZ0iL9EZrE4zeNzJst1IezbUmX5Tl7VlRMFjXrfFzJyplCuoMyrXWUZpQCshqAIjwdxtY4Xi5+KkD0YQGqcrNL5y1kbC9vSbm/sLdT8Ydi5GO2Toyk9beOGaQulDpi8Ejkgy/ZvPdAQCDwdqkgPwTdSPVjjbHpIq/MtX6zJo6/NaxzK0MkE6ZoTHFMSOLEEruIPKcN7bhhbTHJoDUXijmT5sKLN9NJnUFNw81KHLKdu0OoNjYXJIIt2AGEvE6Q6bSJxXaroayGHK1eOrhVE2ZZPTipuzABUuVURng3HNhbpc3qrcvQ9JWA62m09WUDwRfunJa1VMjQUrsEZye5cbvjaotfCKh/Z1rqVDndBGJ5PtMXlshIIItzixgprwyeQiC1isk/C+kHjGtHqKwdyzNadKIwS/j2gA/OK14vSAmuYOxs1+ePph+NAo0pj9wQ3A63wVojFpoAtKZBbnthaZAaigcshxYTCOv5a9Xo4IjM4kjHCgG9x3vj5QuTeM3ZxG+a6hr8wgWCocyKi3t2Jta5ODXNyUBWEjWXVCU9akeZTPFRb1U88MT0W/Qd+TjS4eF52Lc6DFXnmYS+RTpkiFJ6hIaNKVyjQzEsGVjuXzEPlm5Q7uh4sL+0wcf45Euis821pBNn7wCGVZquV90yFopqGcEbX9XpchRsYkKCOvVr3FJWqiInPmySqqoC0hoqoAiimiRoyA17W5C2uSCt/bjm4uQooLU2s8wzDMYUy6SVPNZyYZq0LFHxZSHYFz3v07Wwh4ywspKqHXn7onphPmMGoQjER0qyVBju3DKjvuDE3K36c9CeiXhY+MyQlmGr/3rStAdDZf5+8s700DRsGAKhC0gAU9ACDz7HHVi8BeTbGOcyrqDKoaesoZKfMjH/w00qSEhT+GORjcbj0BHI4vgFGmDlSpFYz077jBMmyRTYqeCDizNaMxyYo6FEqlSQA3v1HXHXQApW5WykmLlR2xyLICkWRH8phbnD9hC8zSeT5d7f0wEkG24LFsY3vhhDpc1sCMNzADvz0x8j+K6PRzRipzanZY44fUzXttPbB4+LYVURvVmof3THNHfZULGypYqfWbjcwI5UWIsOp57ce5/i+N0WzOy2QCv13n9a0y1tesnmRhGVI7AbSCLA9LEAj2x6KV2ZQdESard+XkZmDbt3/Mb9TfBvwASUCa6GVSoJI3E3vjiOmXZYUaNiCb8Ih4+vzjhEzWGpkjlEtiAh4D88fT/TBaRG2GV1VODTqftNqYBoY46kpHE/8AEqgWX6C31xxStBxXg/fxM1i8Bp2ziYUwUIsK2VAFvY7QPck4UsaCjK29EjOYw6k0PUVVdFBDWQOhSSkgjhM0nQCSw597379MVa8GXJFJGGwMSFYdSR/TAoo0N6mpk2XR+B04wyZIaeWGhSSQi9+f/wB7YPYI0qbm2z1HBSMB7JI0p4Iw8hY9RqCWd/uTuKdbHHko4Sg1lk2j1FnTyV8IaQ2Dcl2At+vGDfGSJFgfWdes+opVYBAm4hNoBDNyLnv1vfG/w41jKeeiKyziQcqtyb3F8XF5JXErEj8Vzfj2GIdn6HtHRvVTeWnqPWw6/lgbvSGY42xzPk9XCiSRxkiRiqekbj24GETnQ7/jMZjK6tib00jEA8qpOD+aH+gfBaN6bKKyaUAU04BNr7Dx9cA+TMr7DXGplw6J8Go8xoqbMs2dxHIN4ixmZecaOHhokfiZoel0npyjlya8WXVj7J4gSVEq83/MY5GTsVeXGkUjVygHaFxdhGMhnOpFOLAg8C98Px/R0V/HRqVNyAbjA/oRiKm+582/a/OObODSdoeQvW/J9sOlEJRSUklJQNPLFujPQ98YV5d1pGrMeA7ekcoIIuT2GHtNyB9MZ6hV3rUma581Absb8jj/ACxo8Sv/ADE5pAnYc/U4tr/Ig84J23Fvi2IdCWRPMmaxtHIEO4D1dMIzrwsYH6X/AJJ4f/bqGDMHqg5KbREAQqAixI+e2PN5M7PRYsSJ7lOi8ooKUJ9ihdu7lOT/ALYovNbLXSEEhprLt91pI1F+Ba3644stnOshmngSJVCKFtxYcYYnsDWgH4mZYcx8LMzAQl6TZVJ8bSN1v5ScXuOzN5s+HItYRHMQB6sbMPw81+jGpZzGvQjtzixj+iCcO6JbbhtPPJ6HA/oQ8jbeDGxIW18Bo4MViSQsoG4g4dL0QtjNpaby/saxFQgIJtxcY8Xx1/Y38jK/NJJVZhI0TAICRexx6KWupRpAuqFRIZFkDFYumL2NShFukxFIA8F7gi9msOcNdBJdkLLDCyK8XPQG1rcDnHKbb2EoSJBpzS+aZ/nYOWUbyorjdKTZEA63PufbFTPnmVplrj4G3tHUGnKCoyrLI4aiTfKBYgfhHwMeVy3NfRvRNIkETXNybc8jCYTHD6PyehZeRixCpr0X6jKlI/UWAUHqcMU+nNUyvdbeKlNktSMgyKEZlmc4KGHhkCkc778Wt1GNXjcfqZvJtOTmrOJaOfOKiooqf7PTM5KQ7y4Xjpc8kXvb4tjThHnKS7AdyHYjaDhyBGLFwPxHg9MNQSFlqCE2i17demB0TqO8nCy5h94eD8cYTmXgJcEtNFOXBQksLbiOl8eLi9M3WgHPk9TFXRpTIkaycFwOLfX3xprN4CoD9JpHLMxqIqCdhH9oUpJKq8oACWIHQmwJGBXKqS1GCcrD0ng1o+agtlE9fBv2gmdw7G3yAAL9xgv+zZef8ZpFVa70LX6PmS26agnYKk9rWb+E+x73xr8TlLLJi8jivHRbng46HSUg2AXmY/7k4xuem6NXhpKSS6uzDUtJQhdMUUM9Q343mawT4A7n/DFbBOJv+w7J8n4U5m2ZeJlLM9VW57BD1uizghQOtwBYY2sc4DOqcw20xrLW9TmIWDP4pEQG6SISCO9iRzjvInHjnwPj1lyMvV6/OJNAVlQyedVpT3+555t1F/rfGJD7UaLi0iBaW8PqCv1bQSwT5g1JVRumYPIfKd3YEEhlO4jnpcY18fI80Z2bA9MqHUVNNR6hr6OoiSKanneF0jXaoKEqbDte18aGF9jzmSGqAUieSbk3v7f1w9ADSaKybl6nDUEjSCBtwL8X6XxymTsE6KNEqA1xcf1wnIwS9oaanjkJYXsblb3AGPD+m8FBLRGMX2cdAR0+Tgd0dVDqjpqdalK1GvIrB1IPH0w7ttD8eTrRIpvtcen1bL94hL3k8o3dV4uAevH62thUxtm/jzK5ItrgjN/CjNXmcTSUrrMR0ZNjC9x2JUk41OBWr0ZnMnUbFPCRIjoqIIOsjYDne2c4r3BNswoGqYGQOy+5Btih/kurSIUNOHK66srabYZapGicVEYmTYRZgoP4bj2xdxcpyJvD3BWQeHEFNUiQCRKZL23cs9+3wO2O8jkO0FhwqS3sjp46KIQEA3FrHpb2OK2JsZY+hyygy/MA0UKxB/WoU8df9cXfJRU12Zyx43Uoy/xgzYxD7qsEVWn86Y3uMlWM8ty41lK1lklkNihAPI4xaSRWGsrMnXt0F8NSQRtDIZioY9D3wNABemRFZOSeoxXohNBnVWZ1ILBWNxz1+MYPwya/YVGa1jV6xlwp6i5wPwo6iQ0mbVdPUxxP
1c3sDYcc4qfFodK2ixchzebLvviiywyD1x3sT7EfP9cKnxljDmcsWzSgp9T0ua01JOFmr4SsxMexyDwNxtza/zizh3OUuZLWTEQzwngzXIaqqybNolRVlKhw4ZS3Tg4s8uU3tFfjPqi6AYydpA6du+MpIvKWzzwUxXlAT1vhicoctyBa+rYMFpz92jWYjtzhe9hSPaesoaKZVkrUl32CkHdY+2CVdSVjbN85zZKakgKtvkEoAVeoDcWPweMWVLtFO30ZyZ4k5z+/fEXNcxQmRI5fIj/sxjaMel4sOcR5bk32ysCSToctE3l2K/GDSZUAvNUxJsBizKZ0eU9MCptckDn4wLODunszAcgq2EshPKTLEqJ28gAqD9RbGBVv8NdLYYynQupNT56EyDJqitKEBzGnoT+059K/rh2KbsF5Ohe+mvALPLwz5/XUdCO8SXmf/ACAP5nD54Fv/AER8ksOn8KdIUpD1ctbWEdt+xD+S8n9cW4/jMX6JfIY1z7JNO5PSQ0+RZLBT1M+55JeWdY0tf1Em92ZRhfKwTijSLnEbsp2cJR6mkhcgPvDoOl1Pfn8/0xlU+0aND/AWTPLuqSqYwTbc3fFG46osxkBOd6nak8pEu3mXHmX9IwvHHZju2xvlFa+dUIbLcwhn3EAtCS1ybgcW4PpP6HF341IM7Hx0/nEwUUEsxkdhdgjAeokDqOntgWH2YRyDIYK7PIdPmUzXqVjrKqJgzRFRvdbm43KAt+tiRjQwYdsocp6lgzUX7IyT759H6v8AkU2aw/8AsT/5xv8AXU6PLud0Upqrwn1toqGSLUuRTQQdErIj5tOf/IvA+jWOEtA6K4mi+zXjQdTwcMgDY6y1QAfM79jhVnGbVkkcJBiUEnEhER2poDwKoMlQVms64V03X7BTH7v+d+rYr4uEn9l75Wi8aOfLqCiWjy6kjpaeMWSKNAqD8hjSnHONCm+wg+ZTSOwsBgt0dGokaSpDMb8cYmjmiM6hMiZhBceg0zrz7l+R+gGMTn9u2jW4K0VXqrLTVQmSnAFTGrFCTYG4/Cfg2H6XxjTfWtGpU9isazPWimlhqgY5Iksodz04PW3b3Bt0xZ+Duit8mjEWq6Cokg867tFYoDf1kjuT0OFTx3DGxnRLaPL8oqNuZZfMaCsYhzJTMV3EdCQvfnCvUX5pD05xm0DrFHq2RE/hMnPA/s3wyLQzwl3hfFTU2qzQwAnbSy1DsUIu7MoJ55ubkm/JxucDVGH/ACF6Lmil2PtJa1+LHpjXZhofCo3wtBUotRC42ssighgex7H88c6AMorxG/Zs0rqgz5ro4x5Bm5u5pelJP+XWMn4wDkDoci6q0rqLRufvk2ocrly+rU9H6SL/ABIw4dfkYTUgsG1dMseX+Y7bjhaehZ9K3PrB7HF4tGimx+hxAjLA33DHCGyHdIvHIxDhGtcOabL6TMDfyo5fKkP8IewVv7wA/mxkfyU/qNPgX+ECqlWVCx2tfm5PTHmWzdSITqHSUGZU7HbdwSVYD1LxzY4tYc/Qq1jKxqtH5zQzMaNGlMd9oQ7WItbgHg9B7dMaC5Koq1hYc09nK0VaKWVDGYmBdJro6Er0N+fb69ORhWTFI3HbRNv3jk1VeaRkuoJXfzc/TCJxP8LDz6LK8LaGpnlqtQz0xgp541gpS3WRL3Zx/wBpNgD3x6Dh4upicrL2ZZzC/fGiymvoVifcgBOICKJIymxH64gIM1PpbTmuMifJNS5aldTnlC3Dwt/FG45RvkYByco4x8XfBXOPDsGvpZnzTTbuESp6PAT0SUDgX6BxhLgTo7QPIZe46YsFg0Ru/uP8cQIXQbo7HHCGqXV74hDFdQ0ua5ZU5bXJ5lNUxtG472PcexHBHyMKyYllkOL+KijK77fpjM5slza7+XzFUbeJo+zD3+fY3x5LkYelHpcGTvIotZTsl94ZT7m2KfTY4TdKJnEjNbvbjBJuSdRjmcGm6ik8zNqSmkjQHYZFG5R3sRz+mDm7pgOEkTHQvh3kEAGf1uQoDIiikhqwZGRByHIe9j0sOwx6bhYk16YvJy6ZaCctcW/LGqkpRm36xxu9GAXrO/SNIrqt/nHTg4IBt7nEBMqQOhvgpOoA6805FrXw+zjTE3WspiIm9pl9UZ/vKMcoFofMQQrjtw2ODBPpIQOl7jEIOIj2xCGSATiENoz2PfHUcYJ1Fp3LdS5WaLMFKleYp4wN8Le4v1HuO+KmXF2LGPJ1KbzXw71flsjw0VKcyg6JLTEeofKE3BxjXwmbMcrGMqDQGt6mQA5TLAe7VDqij564XPBY18vEWFpfwuocrqY81z+YZpXxndHF/wBGE9iAep+TxjU4/CUGXn5nbxFgEM7c3xq9VKM3boVVdowJw92HziEM29A+uBCFAfTgiGVNjf8ATHQTdCQw+uIQGH0sB2fj88cCNVJYK3xY4hBdO2IQ26HEIeHFiBjhz7N1IJIHfBE0eKg2wHjJpI9a3GJpE8PFb9eMHs7oyBbA6bO7SPe5x0Awfwj64hDJ6DAhG/cLgiGRYsbdBwMdBFAbtiEP/9k="},25856:function(e){e.exports="/_next/static/images/tile1-66b6685432728bc15f0d05adbf0c9a04.png"},48221:function(e){e.exports="/_next/static/images/tile2-9e009ceb15b8b92a54607f229291637b.png"},62970:function(e){e.exports="/_next/static/images/tile3-4308a545d266079633b0085e53c13259.png"},24280:function(e){e.exports="/_next/static/images/tile4-5088bc1ad24183e14e3665f9f87dc66f.png"},90998:function(e){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxOCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1LjQ1MDEgMC40NTk5NjFDMTUuNDI4OSAwLjQ4MDk2MSAxNC42OTkyIDEuMTgwOCAxMy43NzAxIDIuMDY0OTZDMTIuODQwOSAyLjk0OTEyIDExLjY0MDEgNC4wODk5NiAxMC40NDAxIDUuMjI5OTZDOS4yNDAwNSA2LjM2OTk2IDguMDQwOTQgNy41MDkxMiA3LjExMDA1IDguMzk0OTZDNi43ODE5NyA4LjcwNzE4IDYuNzM3MTIgOC43NDk0OSA2LjQ5NTA1IDguOTc5OTZMMi4zNzAwNSA1LjQxNzQ2TDAuMTgwMDU0IDcuOTU5OTZMNS40NjAwNSAxMi41Mkw2LjYzNzU3IDEzLjU0TDcuNzQwMDUgMTIuNDM3NUM3Ljc2MTE3IDEyLjQxNjQgOC40OTA5NCAxMS43MTY2IDkuNDIwMDUgMTAuODMyNUMxMC4zNDkyIDkuOTQ4MyAxMS41NTAxIDguODA3NDYgMTIuNzUwMSA3LjY2NzQ2QzEzLjk1MDEgNi41Mjc0NiAxNS4xNDkyIDUuMzg4MyAxNi4wODAxIDQuNTAyNDZDMTcuMDEwOSAzLjYxNjYyIDE3LjYwMTEgMy4wNTY0NiAxNy44MjAxIDIuODM3NDZMMTUuNDUwMSAwLjQ1OTk2MVoiIGZpbGw9IiM4MzAwNTEiLz4KPC9zdmc+Cg=="},2147:function(e){"use strict";e.exports=JSON.parse('{"IFile":["File","FileWithWorkoutPreviews"],"BaseClientActivityItem":["GenericClientActivityItem","ProgressPictureClientActivityItem","SurveyResponseClientActivityItem","WorkoutClientActivityItem"],"ClientFeedItem":["ClientTaskPreferencesChangedCl
1ientFeedItem","HabitCompletedClientFeedItem","DailyTasksCompletedClientFeedItem","ClientLeadClaimedClientFeedItem"],"ClientToDo":["ClientEventToDo","MissedWorkoutToDo","UnreviewedWorkoutToDo","UnsentWorkoutToDo","WeeklyReviewToDo","NutritionReviewToDo"],"BaseClientTask":["WorkoutClientTask","LoggedMealClientTask","HabitClientTask"],"ProcessingBioImage":["File","BioImage"],"PagedResponse":[],"AggregateValueChange":["AggregateIntegerValueChange","AggregateBooleanValueChange","AggregateTextValueChange","AggregateWeeklyScheduleValueChange"]}')}},function(e){e.O(0,[9468,8523,2315,6664,4853,8407,6025,984,546,7362,7844,8909,5675,945,2279,4129,5121,5026,1003,882,1182,8310,6449,5351,2201,2964,9405,1137,7092,3520,2888,9774,179],function(){return e(e.s=17545)}),_N_E=e.O()}]); 2//# sourceMappingURL=overview-6de6b3dd3a3a8368.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.