!function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t){e.exports=jQuery},function(e,t,r){"use strict";r.r(t);var n,a=r(0);(n=r.n(a).a)((function(){n(".rank-math-mark-solved a").on("click",(function(e){e.preventDefault();var t=n(this),r=t.data("is-solved");return n.ajax({url:rankMath.ajaxurl,type:"POST",dataType:"json",data:{action:"rank_math_mark_answer_solved",security:rankMath.security,topic:t.data("topic-id"),reply:t.data("id"),isSolved:r}}).done((function(){if(r)return t.text(t.data("unsolved-text")),void n(".rank-math-mark-solved.rank-math-hidden").removeClass("rank-math-hidden");n(".rank-math-mark-solved").addClass("rank-math-hidden"),t.parent().removeClass("rank-math-hidden"),t.text(t.data("solved-text"))})),!1}))}))}]);