"": "const accountId = props.accountId ?? context.accountId;\\n\\nconst testnetWidgets = {\\n challengePlaqTemplate: \\\"nft12.testnet/widget/plaq_template\\\",\\n};\\n\\nconst widgets = testnetWidgets;\\n\\n// TODO: change to a different contract\\nconst challengeState = Near.view(\\n \\\"language.betteryou.testnet\\\",\\n \\\"get_state_for_user\\\",\\n {\\n account_id: accountId,\\n }\\n);\\n\\nif (!challengeState) {\\n // TODO: if props.accountId == context.accountId -> then suggest the box to create a new challenge.\\n return \\\"No challenges\\\";\\n}\\n\\nconst customBox = (\\n <div>\\n <h1 style={{ color: \\\"black\\\" }}> Language (mock version) </h1>\\n <b>{accountId}</b> is participating in this challenge. They have committed\\n to learn <b>German</b> every day for{\\\" \\\"}\\n <b>{challengeState[\\\"total_days\\\"]} days</b>\\n Do you want to support them ?\\n </div>\\n);\\nconst challengeLogo =\\n \\\"https://user-images.githubusercontent.com/91919554/207844104-38c943cf-4790-4e71-b6bc-09a09a61cf6e.png\\\";\\n\\nreturn (\\n <div>\\n <Widget\\n src={widgets[\\\"challengePlaqTemplate\\\"]}\\n props={{ challengeState, customBox, challengeLogo, accountId }}\\n />\\n </div>\\n);\\n",