"use strict";(self.webpackChunkWebComponents=self.webpackChunkWebComponents||[]).push([[529],{58529:(e,t,i)=>{i.r(t),i.d(t,{default:()=>s});var r=i(78673);class c extends r.A{constructor(e){super(e);var t=e.orig;this.origElem=t,this.divid=t.id,this.useRunestoneServices=e.useRunestoneServices,this.clickableArray=[],this.correctArray=[],this.incorrectArray=[],this.isTable=!1,null!==this.origElem.getAttribute("data-cc")&&(this.origElem.hasAttribute("data-table")?(this.isTable=!0,this.ccArray=this.origElem.getAttribute("data-cc").split(";"),this.ciArray=this.origElem.getAttribute("data-ci").split(";")):(this.ccArray=this.origElem.getAttribute("data-cc").split(","),this.ciArray=this.origElem.getAttribute("data-ci").split(","))),this.clickIndex=0,this.clickableCounter=0,this.getQuestion(),this.getFeedback(),this.renderNewElements(),this.caption="Clickable",this.addCaption("runestone"),this.checkServer("clickableArea",!0),"undefined"!=typeof Prism&&Prism.highlightAllUnder(this.containerDiv)}getQuestion(){for(var e=0;e0){var t=localStorage.getItem(this.localStorageKey());if(null!==t){this.hasStoredAnswers=!0;let r=!1;try{e=JSON.parse(t)}catch(e){console.log(`Error parsing stored ClickableArea data for ${this.divid}: ${e.message}`),r=!0}if(r||e.timestamp