{
const routes = JSON.parse('[\u0022content-list.tools.index\u0022]');
open = open && ($event.detail.md5 === '6845215967268131619319d7c5bb004c' || routes?.includes($event.detail?.route));
}"
x-on:click="() => {
open = !open;
$dispatch('clicked-item', { md5: '6845215967268131619319d7c5bb004c' });
}"
class="text-body-14 text-neutral-900 relative flex flex-col items-center w-full space-x-0.5 border-2 border-transparent px-4 py-2.5 rounded-md" :class="{ 'bg-primary-30' : open }">
Problems
{
active = !active;
$dispatch('clicked-item', { md5: 'e99ddf0b94f8dd90652fa598b1a88bde', route: 'https://www.therapistaid.com/index.php/tools/anger' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === 'e99ddf0b94f8dd90652fa598b1a88bde';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/anger', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Anger
{
active = !active;
$dispatch('clicked-item', { md5: 'b3cc29ce35b86183761fc96ee56ebdd5', route: 'https://www.therapistaid.com/index.php/tools/anxiety' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === 'b3cc29ce35b86183761fc96ee56ebdd5';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/anxiety', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Anxiety
{
active = !active;
$dispatch('clicked-item', { md5: '448c4e77c34a044a5ea3d1931776ec41', route: 'https://www.therapistaid.com/index.php/tools/communication' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '448c4e77c34a044a5ea3d1931776ec41';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/communication', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Communication
{
active = !active;
$dispatch('clicked-item', { md5: '724238ceabd7a862283783e869c4e5f1', route: 'https://www.therapistaid.com/index.php/tools/depression' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '724238ceabd7a862283783e869c4e5f1';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/depression', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Depression
More +
{
active = !active;
$dispatch('clicked-item', { md5: '18a896cafccb8ef01dc02b731c94527a', route: 'https://www.therapistaid.com/index.php/tools/emotions' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '18a896cafccb8ef01dc02b731c94527a';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/emotions', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Emotions
{
active = !active;
$dispatch('clicked-item', { md5: '33342683b294a7b3744bc101490ee9bb', route: 'https://www.therapistaid.com/index.php/tools/grief' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '33342683b294a7b3744bc101490ee9bb';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/grief', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Grief
{
active = !active;
$dispatch('clicked-item', { md5: '4550938581a0c12a9d7078a9fbfa8911', route: 'https://www.therapistaid.com/index.php/tools/relationships' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '4550938581a0c12a9d7078a9fbfa8911';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/relationships', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Relationships
{
active = !active;
$dispatch('clicked-item', { md5: '8df896db2ad7be0271abf509200d8b12', route: 'https://www.therapistaid.com/index.php/tools/self-esteem' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '8df896db2ad7be0271abf509200d8b12';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/self-esteem', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Self-Esteem
{
active = !active;
$dispatch('clicked-item', { md5: '20d139e54674cefbc6996e89af8938cc', route: 'https://www.therapistaid.com/index.php/tools/stress' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '20d139e54674cefbc6996e89af8938cc';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/stress', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Stress
{
active = !active;
$dispatch('clicked-item', { md5: '7b7e1c8aee54f6e6f33802a26f6b2c73', route: 'https://www.therapistaid.com/index.php/tools/substance-use' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '7b7e1c8aee54f6e6f33802a26f6b2c73';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/substance-use', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Substance Use
Treatments
{
active = !active;
$dispatch('clicked-item', { md5: '83493b4840926f5717ec2e7338354449', route: 'https://www.therapistaid.com/index.php/tools/art' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '83493b4840926f5717ec2e7338354449';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/art', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Art
{
active = !active;
$dispatch('clicked-item', { md5: '793e7bcc9d0e5797310f5300af4b1a3d', route: 'https://www.therapistaid.com/index.php/tools/cbt' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '793e7bcc9d0e5797310f5300af4b1a3d';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/cbt', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
CBT
{
active = !active;
$dispatch('clicked-item', { md5: '1a4fc8f907e8694f26592033206bb140', route: 'https://www.therapistaid.com/index.php/tools/dbt' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '1a4fc8f907e8694f26592033206bb140';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/dbt', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
DBT
{
active = !active;
$dispatch('clicked-item', { md5: 'b8b82cc1e351a20c96d3036f58c00988', route: 'https://www.therapistaid.com/index.php/tools/education' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === 'b8b82cc1e351a20c96d3036f58c00988';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/education', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Education
More +
{
active = !active;
$dispatch('clicked-item', { md5: '74744ec04962b8e52128e221d6e30def', route: 'https://www.therapistaid.com/index.php/tools/goals' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '74744ec04962b8e52128e221d6e30def';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/goals', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Goals
{
active = !active;
$dispatch('clicked-item', { md5: 'fe800d1bd9221ef3e46e1c111b60785d', route: 'https://www.therapistaid.com/index.php/tools/behavior' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === 'fe800d1bd9221ef3e46e1c111b60785d';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/behavior', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Parenting and Behavior
{
active = !active;
$dispatch('clicked-item', { md5: '2c0e5a6c62c3b9796ae5db807f03f1d1', route: 'https://www.therapistaid.com/index.php/tools/positive-psychology' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '2c0e5a6c62c3b9796ae5db807f03f1d1';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/positive-psychology', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Positive Psychology
{
active = !active;
$dispatch('clicked-item', { md5: '8c2f423e912bd42f3482dad0d185876e', route: 'https://www.therapistaid.com/index.php/tools/relaxation' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === '8c2f423e912bd42f3482dad0d185876e';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/relaxation', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Relaxation
{
active = !active;
$dispatch('clicked-item', { md5: 'cc7213ad5136c58c047d1561e5f65757', route: 'https://www.therapistaid.com/index.php/tools/values' });
}"
@clicked-item.window="() => {
active = active && $event.detail.md5 === 'cc7213ad5136c58c047d1561e5f65757';
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/index.php/tools/values', 300);
}
}"
class="font-medium text-body-14 text-left w-full space-x-0.5 border-2 border-transparent px-4 py-2 cursor-pointer" x-show="openTopics"
:class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Values