PageSourceSearch

https://my.ine.com/js/8981.116198f193b1cfae.js

js ine.com collected 2026-10-01 10:45:24 UTC 35,765 bytes, 1 lines download raw bytes

1(self["webpackChunkmy_ine_com"]=self["webpackChunkmy_ine_com"]||[]).push([[8981],{1523:function(e){!function(t,o){e.exports=o()}(self,function(){return(()=>{"use strict";var e={d:(t,o)=>{for(var a in o)e.o(o,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:o[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{Confetti:()=>W,default:()=>$});const o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e+1,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=parseFloat(e),s=parseFloat(t),r=Math.random()*(s-a)+a;return o?Math.round(r):r};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var r=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.color,s=void 0===o?"blue":o,r=t.size,n=void 0===r?10:r,i=t.dropRate,c=void 0===i?10:i;a(this,e),this.color=s,this.size=n,this.dropRate=c}var t,r;return t=e,(r=[{key:"setup",value:function(e){var t=e.canvas,a=e.wind,s=e.windPosCoef,r=e.windSpeedMax,n=e.count;return this.canvas=t,this.wind=a,this.windPosCoef=s,this.windSpeedMax=r,this.x=o(-35,this.canvas.width+35),this.y=o(-30,-35),this.d=o(150)+10,this.particleSize=o(this.size,2*this.size),this.tilt=o(10),this.tiltAngleIncremental=(o(0,.08)+.04)*(o()<.5?-1:1),this.tiltAngle=0,this.angle=o(2*Math.PI),this.count=n+1,this.remove=!1,this}},{key:"update",value:function(){this.tiltAngle+=this.tiltAngleIncremental*(.2*Math.cos(this.wind+(this.d+this.x+this.y)*this.windPosCoef)+1),this.y+=(Math.cos(this.angle+this.d)+parseInt(this.dropRate,10))/2,this.x+=(Math.sin(this.angle)+Math.cos(this.wind+(this.d+this.x+this.y)*this.windPosCoef))*this.windSpeedMax,this.y+=Math.sin(this.wind+(this.d+this.x+this.y)*this.windPosCoef)*this.windSpeedMax,this.tilt=15*Math.sin(this.tiltAngle-this.count/3)}},{key:"pastBottom",value:function(){return this.y>this.canvas.height}},{key:"draw",value:function(){this.canvas.ctx.fillStyle=this.color,this.canvas.ctx.beginPath(),this.canvas.ctx.setTransform(Math.cos(this.tiltAngle),Math.sin(this.tiltAngle),0,1,this.x,this.y)}},{key:"kill",value:function(){this.remove=!0}}])&&s(t.prototype,r),e}();function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t,o){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(a){var s=Object.getOwnPropertyDescriptor(a,t);return s.get?s.get.call(o):s.value}},l(e,t,o||e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(n,e);var t,o,a,s,r=(a=n,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=p(a);if(s){var o=p(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return d(this,e)});function n(){return i(this,n),r.apply(this,arguments)}return t=n,(o=[{key:"draw",value:function(){l(p(n.prototype),"draw",this).call(this),this.canvas.ctx.arc(0,0,this.particleSize/2,0,2*Math.PI,!1),this.canvas.ctx.fill()}}])&&c(t.prototype,o),n}(r);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function b(e,t,o){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(a){var s=Object.getOwnPropertyDescriptor(a,t);return s.get?s.get.call(o):s.value}},b(e,t,o||e)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function y(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(n,e);var t,o,a,s,r=(a=n,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=g(a);if(s){var o=g(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return y(this,e)});function n(){return m(this,n),r.apply(this,arguments)}return t=n,(o=[{key:"draw",value:function(){b(g(n.prototype),"draw",this).call(this),this.canvas.ctx.fillRect(0,0,this.particleSize,this.particleSize/2)}}])&&v(t.prototype,o),n}(r);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function O(e,t,o){return O="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=E(e)););return e}(e,t);if(a){var s=Object.getOwnPropertyDescriptor(a,t);return s.get?s.get.call(o):s.value}},O(e,t,o||e)}
1function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function C(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(n,e);var t,o,a,s,r=(a=n,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=E(a);if(s){var o=E(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return C(this,e)});function n(){return j(this,n),r.apply(this,arguments)}return t=n,(o=[{key:"draw",value:function(){var e=this;O(E(n.prototype),"draw",this).call(this);var t=function(t,o,a,s,r,n){e.canvas.ctx.bezierCurveTo(t*(e.particleSize/200),o*(e.particleSize/200),a*(e.particleSize/200),s*(e.particleSize/200),r*(e.particleSize/200),n*(e.particleSize/200))};this.canvas.ctx.moveTo(37.5/this.particleSize,20/this.particleSize),t(75,37,70,25,50,25),t(20,25,20,62.5,20,62.5),t(20,80,40,102,75,120),t(110,102,130,80,130,62.5),t(130,62.5,130,25,100,25),t(85,25,75,37,75,40),this.canvas.ctx.fill()}}])&&L(t.prototype,o),n}(r);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function R(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function M(e,t,o){return M="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=A(e)););return e}(e,t);if(a){var s=Object.getOwnPropertyDescriptor(a,t);return s.get?s.get.call(o):s.value}},M(e,t,o||e)}function I(e,t){return I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},I(e,t)}function T(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(n,e);var t,o,a,s,r=(a=n,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=A(a);if(s){var o=A(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return T(this,e)});function n(e,t){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=r.call(this,e)).imgEl=t,o}return t=n,(o=[{key:"draw",value:function(){M(A(n.prototype),"draw",this).call(this),this.canvas.ctx.drawImage(this.imgEl,0,0,this.particleSize,this.particleSize)}}])&&R(t.prototype,o),n}(r);function B(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var q=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cachedImages={}}var t,a;return t=e,a=[{key:"createImageElement",value:function(e){var t=document.createElement("img");return t.setAttribute("src",e),t}},{key:"getImageElement",value:function(e){return this.cachedImages[e]||(this.cachedImages[e]=this.createImageElement(e)),this.cachedImages[e]}},{key:"getRandomParticle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.particles||[];return t.length<1?{}:t[Math.floor(Math.random()*t.length)]}},{key:"getDefaults",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:e.defaultType||"circle",size:e.defaultSize||10,dropRate:e.defaultDropRate||10,colors:e.defaultColors||["DodgerBlue","OliveDrab","Gold","pink","SlateBlue","lightblue","Violet","PaleGreen","SteelBlue","SandyBrown","Chocolate","Crimson"],url:null}}},{key:"create",value:function(e){var t=this.getDefaults(e),a=this.getRandomParticle(e),s=Object.assign(t,a),r=o(0,s.colors.length-1,!0);if(s.color=s.colors[r],"circle"===s.type)return new f(s);if("rect"===s.type)return new w(s);if("heart"===s.type)return new P(s);if("image"===s.type)return new D(s,this.getImageElement(s.url));throw Error('Unknown particle type: "'.concat(s.type,'"'))}}],a&&B(t.prototype,a),e}();function F(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var X=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.items=[],this.pool=[],this.particleOptions=t,this.particleFactory=new q}var t,o;return t=e,(o=[{key:"update",value:function(){var e,t=this,o=[],a=[];
1this.items.forEach(function(e){e.update(),e.pastBottom()?e.remove||(e.setup(t.particleOptions),o.push(e)):a.push(e)}),(e=this.pool).push.apply(e,o),this.items=a}},{key:"draw",value:function(){this.items.forEach(function(e){return e.draw()})}},{key:"add",value:function(){this.pool.length>0?this.items.push(this.pool.pop().setup(this.particleOptions)):this.items.push(this.particleFactory.create(this.particleOptions).setup(this.particleOptions))}},{key:"refresh",value:function(){this.items.forEach(function(e){e.kill()}),this.pool=[]}}])&&F(t.prototype,o),e}();function z(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var H=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var o="confetti-canvas";if(t&&!(t instanceof HTMLCanvasElement))throw new Error("Element is not a valid HTMLCanvasElement");this.isDefault=!t,this.canvas=t||document.getElementById(o)||e.createDefaultCanvas(o),this.ctx=this.canvas.getContext("2d")}var t,o,a;return t=e,a=[{key:"createDefaultCanvas",value:function(e){var t=document.createElement("canvas");return t.style.display="block",t.style.position="fixed",t.style.pointerEvents="none",t.style.top=0,t.style.width="100vw",t.style.height="100vh",t.id=e,document.querySelector("body").appendChild(t),t}}],(o=[{key:"width",get:function(){return this.canvas.width}},{key:"height",get:function(){return this.canvas.height}},{key:"clear",value:function(){this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.width,this.height)}},{key:"updateDimensions",value:function(){this.isDefault&&(this.width===window.innerWidth&&this.height===window.innerHeight||(this.canvas.width=window.innerWidth,this.canvas.height=window.innerHeight))}}])&&z(t.prototype,o),a&&z(t,a),e}();function U(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var W=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setDefaults()}var t,o;return t=e,o=[{key:"setDefaults",value:function(){this.killed=!1,this.framesSinceDrop=0,this.canvas=null,this.canvasEl=null,this.W=0,this.H=0,this.particleManager=null,this.particlesPerFrame=0,this.wind=0,this.windSpeed=1,this.windSpeedMax=1,this.windChange=.01,this.windPosCoef=.002,this.animationId=null}},{key:"getParticleOptions",value:function(e){var t={canvas:this.canvas,W:this.W,H:this.H,wind:this.wind,windPosCoef:this.windPosCoef,windSpeedMax:this.windSpeedMax,count:0};return Object.assign(t,e),t}},{key:"createParticles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getParticleOptions(e);this.particleManager=new X(t)}},{key:"getCanvasElementFromOptions",value:function(e){var t=e.canvasId,o=e.canvasElement,a=o;if(o&&!(o instanceof HTMLCanvasElement))throw new Error("Invalid options: canvasElement is not a valid HTMLCanvasElement");if(t&&o)throw new Error("Invalid options: canvasId and canvasElement are mutually exclusive");if(t&&!a&&(a=document.getElementById(t)),t&&!(a instanceof HTMLCanvasElement))throw new Error('Invalid options: element with id "'.concat(t,'" is not a valid HTMLCanvasElement'));return a}},{key:"start",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.remove();var t=this.getCanvasElementFromOptions(e);this.canvas=new H(t),this.canvasEl=t,this.createParticles(e),this.setGlobalOptions(e),this.animationId=requestAnimationFrame(this.mainLoop.bind(this))}},{key:"setGlobalOptions",value:function(e){this.particlesPerFrame=e.particlesPerFrame||2,this.windSpeedMax=e.windSpeedMax||1}},{key:"stop",value:function(){this.killed=!0,this.particlesPerFrame=0}},{key:"update",value:function(e){var t=this.getCanvasElementFromOptions(e);this.canvas&&t!==this.canvasEl?this.start(e):(this.setGlobalOptions(e),this.particleManager&&(this.particleManager.particleOptions=this.getParticleOptions(e),this.particleManager.refresh())
1)}},{key:"remove",value:function(){this.stop(),this.animationId&&cancelAnimationFrame(this.animationId),this.canvas&&this.canvas.clear(),this.setDefaults()}},{key:"mainLoop",value:function(e){this.canvas.updateDimensions(),this.canvas.clear(),this.windSpeed=Math.sin(e/8e3)*this.windSpeedMax,this.wind=this.particleManager.particleOptions.wind+=this.windChange;for(var t=this.framesSinceDrop*this.particlesPerFrame;t>=1;)this.particleManager.add(),t-=1,this.framesSinceDrop=0;this.particleManager.update(),this.particleManager.draw(),this.killed&&!this.particleManager.items.length||(this.animationId=requestAnimationFrame(this.mainLoop.bind(this))),this.framesSinceDrop+=1}}],o&&U(t.prototype,o),e}();const $={install:function(e,t){if(!this.installed){this.installed=!0;try{e.config.globalProperties.$confetti=new W(t)}catch(o){e.prototype.$confetti=new W(t)}}}};return t})()})},90191:function(e,t,o){"use strict";o.d(t,{Q:function(){return i},j:function(){return n}});var a=o(98863);const s=["http:","https:","mailto:","tel:"],r=e=>{if(!e||"string"!==typeof e)return"";const t=e.trim();if(!t)return"";if(t.startsWith("#")||t.startsWith("?"))return t;try{const e=new URL(t);return s.includes(e.protocol)?t:""}catch{return t.startsWith("//")?"":t}},n=e=>{const t="string"===typeof e?e:"";if(!t)return"";const o=a.A.sanitize(t,{USE_PROFILES:{html:!0},ADD_ATTR:["target","rel"]}),s=document.createElement("div");return s.innerHTML=o,s.querySelectorAll("a").forEach(e=>{const t=r(e.getAttribute("href"));t?e.setAttribute("href",t):e.removeAttribute("href"),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener noreferrer")}),s.innerHTML},i=e=>e?e.replace(/<[^>]*>/g," ").replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#39;/g,"'").replace(/&amp;/g,"&").replace(/\s+/g," ").trim():""},96363:function(e,t,o){"use strict";o.d(t,{A:function(){return Ae}});var a=o(95976),s=o(29746),r=o(10160);const n={class:"score-modal",role:"alert"},i={class:"score-modal__wrapper-scroller"},c={class:"score-modal__wrapper"},l=["src"],u={key:0,class:"score-modal__details score-modal__passed"},d={class:"score-modal__cta"},p=["href"],f={key:1,class:"score-modal__details score-modal__details--fail"},h={class:"score-modal__message-info"},m={class:"score-modal__grading"},v={class:"score-modal__grading-wrapper flat-scroll-current"},b={class:"score-modal__grading-header-wrapper"},_={class:"score-modal__details-wrapper"},y={class:"'score-modal-domains'"},g={class:"score-modal-domains__header"},w={class:"score-modal__grading-header-score-wrapper"},k={key:0,id:"score-modal-lab",class:"score-modal-lab"},j={class:"score-modal-domains__header"},L={key:0,class:"score-modal__footer"},O=["href"];function S(e,t,o,S,C,E){const P=(0,a.g2)("ExamScoreModalScoreBlock"),x=(0,a.g2)("ExamScoreModalObjectives"),R=(0,a.g2)("LabScoreModalObjectives");return(0,a.uX)(),(0,a.CE)("div",n,[(0,a.Lk)("div",{class:"score-modal__background",onClick:t[0]||(t[0]=(0,s.D$)(t=>e.$emit("close-score-modal"),["stop"]))},t[5]||(t[5]=[(0,a.Lk)("canvas",{id:"confetti",class:"score-modal__confetti"},null,-1)])),(0,a.Lk)("div",i,[(0,a.Lk)("div",c,[(0,a.Lk)("button",{class:"score-modal__close",onClick:t[1]||(t[1]=t=>e.$emit("close-score-modal"))},t[6]||(t[6]=[(0,a.Lk)("span",{class:"score-modal__close--icon material-icons"},"clear",-1)])),(0,a.Lk)("div",{class:(0,r.C4)(["score-modal__body",E.globalHasPassed&&"score-modal__body--attempt-success"])},[(0,a.Lk)("div",{class:(0,r.C4)(["score-modal__scoring",E.globalHasPassed?"score-modal__scoring--success":"score-modal__scoring--fail"])},[(0,a.Lk)("img",{class:"score-modal__img",src:E.statusImage},null,8,l),E.globalHasPassed?((0,a.uX)(),(0,a.CE)("div",u,[t[7]||(t[7]=(0,a.Lk)("div",{class:"score-modal__message"},"Congratulations!",-1)),t[8]||(t[8]=(0,a.Lk)("div",{class:"score-modal__result-label"},"You passed",-1)),(0,a.Lk)("div",d,[E.certAccredibleUrl?((0,a.uX)(),(0,a.CE)("a",{key:1,href:E.certAccredibleUrl,target:"_blank",rel:"noopener noreferrer",class:"btn btn--primary score-modal__btn"}," Go to certificate ",8,p)):((0,a.uX)(),(0,a.CE)("a",{key:0,class:"btn btn--primary score-modal__btn",onClick:t[2]||(t[2]=(...e)=>E.handleRouterLinkClick&&E.handleRouterLinkClick(...e))}," Go to your certifications "))])])):((0,a.uX)(),(0,a.CE)("div",f,[t[9]||(t[9]=(0,a.Lk)("div",{class:"score-modal__message"},"We're sorry.",-1)),t[10]||(t[10]=(0,a.Lk)("div",{class:"score-modal__result-label"},"You didn't pass",-1)),(0,a.Lk)("div",h,(0,r.v_)(E.sorryMessage),1)])),o.isPreview&&E.canDownloadResultsCsv?((0,a.uX)(),(0,a.CE)("button",{key:2,class:"btn btn--secondary score-modal__download-csv",onClick:t[3]||(t[3]=(...e)=>E.downloadResultsCsv&&E.downloadResultsCsv(...e))}," Download Results (CSV) ")):(0,a.Q3)("",!0)],2),(0,a.Lk)("div",m,[(0,a.Lk)("div",v,[(0,a.Lk)("div",b,[t[11]||(t[11]=(0,a.Lk)("h3",{class:"score-modal__grading-title"},"Exam Results",-1)),E.hasLab?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(P,{key:0,minScore:o.attempt.min_global_score_to_pass,score:o.attempt.score,hasPassed:o.attempt.has_passed_questions,hasLab:E.hasLab},null,8,["minScore","score","hasPassed","hasLab"]))]),(0,a.Lk)("div",_,[(0,a.Lk)("div",y,[(0,a.Lk)("div",g,[(0,a.Lk)("div",w,[t[12]||(t[12]=(0,a.Lk)("div",{class:"score-modal-domains__subtitle-type"}," Domains ",-1)),(0,a.bF)(P,{class:(0,r.C4)(["score-modal-domains__score",{"score-modal-domains__score--v0":E.hasLab}]),hasLab:E.hasLab,minScore:o.attempt.min_global_score_to_pass,score:o.attempt.score,hasPassed:o.attempt.has_passed_questions},null,8,["class","hasLab","minScore","score","hasPassed"])])]),(0,a.bF)(x,{hasLab:E.hasLab,domains:o.attempt.score_per_domain},null,8,["hasLab","domains"])]),E.hasLabattempt?((0,a.uX)(),(0,a.CE)("div",k,[(0,a.Lk)("div",j,[t[13]||(t[13]=(0,a.Lk)("div",{class:"score-modal__grading-header-score-wrapper"},[(0,a.Lk)("div",{class:"score-modal-domains__subtitle-type"}
1,"Lab"),(0,a.Lk)("div",{class:"score-modal__grading-score-wrapper"})],-1)),(0,a.Lk)("span",{class:(0,r.C4)(["score-modal-objectives__domain-status pill",o.attempt.user_lab_attempt.has_passed?"pill--completed":"pill--failed"])},(0,r.v_)(E.labStatusLabel),3)]),(0,a.bF)(R,{labAttempt:o.attempt.user_lab_attempt},null,8,["labAttempt"])])):(0,a.Q3)("",!0)])])])],2),E.globalHasPassed?((0,a.uX)(),(0,a.CE)("div",L,[E.certAccredibleUrl?((0,a.uX)(),(0,a.CE)("a",{key:1,href:E.certAccredibleUrl,target:"_blank",rel:"noopener noreferrer",class:"btn btn--primary score-modal__btn"}," Go to certificate ",8,O)):((0,a.uX)(),(0,a.CE)("a",{key:0,class:"btn btn--primary score-modal__btn",onClick:t[4]||(t[4]=(...e)=>E.handleRouterLinkClick&&E.handleRouterLinkClick(...e))}," Go to your certifications "))])):(0,a.Q3)("",!0)])])])}var C=o(1523);const E={class:"score-modal-objectives__list flat-scrol score-modal-objectives__responsive-from-tablet"},P={class:"score-modal-objectives__list-header"},x={class:"score-modal-objectives__header-wrapper"},R={class:"score-modal-objectives__domain-name"},M={class:"score-modal-objectives--mobile"},I={class:"score-modal-objectives__domain-score-wrapper"},T={key:0,class:"score-modal-objectives__domain-score"},A={class:"score-modal-objectives__domain-score-result"},D={class:"score-modal-objectives__domain-score"},B={class:"score-modal-objectives__domain-score-label"},q={class:"score-modal-objectives__domain-score-result"},F={class:"score-modal-objectives__objectives-wrapper"};function X(e,t,o,s,n,i){const c=(0,a.g2)("CheckIcon"),l=(0,a.g2)("XIcon");return(0,a.uX)(),(0,a.CE)("div",E,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(o.domains,(e,s)=>((0,a.uX)(),(0,a.CE)("div",{key:s,class:"score-modal-objectives__wrapper"},[(0,a.Lk)("div",P,[(0,a.Lk)("div",x,[(0,a.Lk)("h5",R,(0,r.v_)(i.cleanKeyName(s)),1),(0,a.Lk)("div",M,[e.domain_passed?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"score-modal-objectives score-modal-objectives--passed"})):((0,a.uX)(),(0,a.Wv)(l,{key:1,class:"score-modal-objectives score-modal-objectives--failed"}))])]),(0,a.Lk)("div",I,[i.roundTo2(e.min_score_to_pass)>0?((0,a.uX)(),(0,a.CE)("div",T,[t[0]||(t[0]=(0,a.Lk)("span",{class:"score-modal-objectives__domain-score-label"},"Required score:",-1)),(0,a.Lk)("span",A,(0,r.v_)(i.roundTo2(e.min_score_to_pass))+"%",1)])):(0,a.Q3)("",!0),(0,a.Lk)("div",D,[(0,a.Lk)("span",B,(0,r.v_)(i.scoreLabel),1),(0,a.Lk)("span",q,(0,r.v_)(i.roundTo2(e.score))+"%",1)])])]),(0,a.Lk)("div",F,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.objectives,(e,t)=>((0,a.uX)(),(0,a.CE)("div",{key:t,class:(0,r.C4)(["score-modal-objectives__objective",{"score-modal-objectives__objective--v0":o.hasLab}])},[(0,a.Lk)("span",{class:(0,r.C4)(["score-modal-objectives__objective-name",{"score-modal-objectives__objective-name--v0":o.hasLab}])},(0,r.v_)(i.cleanKeyName(t)),3),o.hasLab?((0,a.uX)(),(0,a.CE)("span",{key:0,class:(0,r.C4)(["score-modal-objectives__objective-score",!e.objective_passed&&"score-modal-objectives__objective-score-failed"])},(0,r.v_)(e.passed_questions)+"/"+(0,r.v_)(e.total_questions),3)):(0,a.Q3)("",!0)],2))),128))])]))),128))])}var z=o(33965),H=o(15254),U={name:"ExamScoreModalObjectives",components:{CheckIcon:z.A,XIcon:H.A},props:{domains:{type:Object,required:!0},hasLab:{type:Boolean,default:!1}},methods:{roundTo2(e){return Math.floor(100*e)},domainStatusLabel(e){return e.domain_passed?"Passed":"Failed"},cleanKeyName(e){return e.replace(/^([0-9]+. )/,"")}},computed:{scoreLabel(){return this.hasLab?"Required score:":"Domain score:"}}},W=o(1169);const $=(0,W.A)(U,[["render",X]]);var N=$;const G={class:"score-modal-objectives__list flat-scrol score-modal-objectives__responsive-from-tablet"},Q={class:"score-modal-objectives__list-header"},K={class:"score-modal-objectives__header-wrapper"},Y={class:"score-modal-objectives__domain-name"},V={class:"score-modal-objectives__domain-score-wrapper"},J={class:"score-modal-objectives__domain-score"},Z={class:"score-modal-objectives__domain-score-result"},ee={class:"score-modal-objectives__domain-score"},te={class:"score-modal-objectives__domain-score-result"},oe={class:"score-modal-objectives__objectives-wrapper"},ae=["innerHTML"],se={class:"score-modal-objectives__objective-score"};function re(e,t,o,s,n,i){const c=(0,a.g2)("CheckIcon"),l=(0,a.g2)("XIcon");return(0,a.uX)(),(0,a.CE)("div",G,[(0,a.Lk)("div",Q,[(0,a.Lk)("div",K,[(0,a.Lk)("h5",Y,(0,r.v_)(i.labName),1)]),(0,a.Lk)("div",V,[(0,a.Lk)("div",J,[t[0]||(t[0]=(0,a.Lk)("span",{class:"score-modal-objectives__domain-score-label"},"Required score:",-1)),(0,a.Lk)("span",Z,(0,r.v_)(o.labAttempt.min_points_to_pass),1)]),(0,a.Lk)("div",ee,[t[1]||(t[1]=(0,a.Lk)("span",{class:"score-modal-objectives__domain-score-label"},"Your score:",-1)),(0,a.Lk)("span",te,(0,r.v_)(i.attemptUserScore),1)]),o.labAttempt.has_passed?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"score-modal-objectives score-modal-objectives--passed"})):((0,a.uX)(),(0,a.Wv)(l,{key:1,class:"score-modal-objectives score-modal-objectives--failed"}))])]),(0,a.Lk)("div",oe,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(i.labObjectives,(e,t)=>((0,a.uX)(),(0,a.CE)("div",{key:t,class:"score-modal-objectives__objective score-modal-objectives__objective--v0"},[(0,a.Lk)("div",{class:"score-modal-objectives__objective-name score-modal-objectives__objective-name--v0",innerHTML:e.description_html},null,8,ae),(0,a.Lk)("span",se,(0,r.v_)(e.points),1)]))),128))])])}var ne={name:"LabScoreModalObjectives",components:{CheckIcon:z.A,XIcon:H.A},props:{labAttempt:{type:Object,required:!0}},computed:{labName(){var e,t;return null===(e=this.labAttempt.lab_session)||void 0===e||null===(t=e.lab)||void 0===t?void 0:t.name},labResultStatus(){return this.labAttempt.has_passed?"Passed":"Failed"},labObjectives(){return this.labAttempt.lab_objectives},attemptUserScore(){return this.labObjectives.reduce((e,t)=>
1e+(t.has_passed?parseInt(t.points):0),0)}}};const ie=(0,W.A)(ne,[["render",re],["__scopeId","data-v-b1946fe2"]]);var ce=ie;const le={class:"exam-score-modal-score-block__score"},ue={class:"exam-score-modal-score-block__label"},de={class:"exam-score-modal-score-block__result"},pe={class:"exam-score-modal-score-block__score"};function fe(e,t,o,s,n,i){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["exam-score-modal-score-block",{"exam-score-modal-score-block--v0":o.hasLab}])},[(0,a.Lk)("div",le,[(0,a.Lk)("span",ue,(0,r.v_)(i.scoreTitle),1),(0,a.Lk)("span",de,(0,r.v_)(i.roundTo2(o.minScore))+"% ",1)]),(0,a.Lk)("div",pe,[(0,a.Lk)("span",{class:(0,r.C4)(["exam-score-modal-score-block__label",o.hasPassed?"passed":"failed"])}," Your score: ",2),(0,a.Lk)("span",{class:(0,r.C4)(["exam-score-modal-score-block__result",o.hasPassed?"passed":"failed"])},(0,r.v_)(i.roundTo2(o.score))+"% ",3),(0,a.Lk)("span",{class:(0,r.C4)(["exam-score-modal-score-block__domain-status pill","exam-score-modal-score-block__domain-status-pill",{"exam-score-modal-score-block__domain-status-pill--float":o.hasLab},o.hasPassed?"pill--completed":"pill--failed"])},(0,r.v_)(i.examStatusLabel),3)])],2)}var he={name:"ExamScoreModalScoreBlock",props:{minScore:{type:Number,required:!0},score:{type:[String,Number],required:!0},hasPassed:{type:Boolean,required:!0},hasLab:{type:Boolean,default:!1}},methods:{roundTo2(e){return Math.floor(100*e)},domainStatusLabel(e){return e.domain_passed?"Passed":"Failed"}},computed:{examStatusLabel(){return this.hasPassed?"Passed":"Failed"},scoreTitle(){return this.hasLab?"Overall required score:":"Required score:"}}};const me=(0,W.A)(he,[["render",fe],["__scopeId","data-v-4cb6ee30"]]);var ve=me,be=o(72498),_e=o(90191),ye=o(99340);const{MULTIPLE_CHOICE:ge,RADIO:we,CHECKBOX:ke}=ye.A.CERTIFICATIONS.QUESTION_TYPES,je=new Set([ge,we,ke]),Le=e=>{if(null===e||void 0===e)return"";let t=String(e);return/^[=+\-@\t\r]/.test(t)&&(t=`'${t}`),t.includes(",")||t.includes('"')||t.includes("\n")||t.includes("\r")?'"'+t.replace(/"/g,'""')+'"':t},Oe=e=>{var t;return je.has(e.type)&&null!==(t=e.answers)&&void 0!==t&&t.length?e.answers.map(e=>e.answer_md).filter(Boolean).join(","):""},Se=e=>"text"===e.type?e.correct_answer||"":(e.answers||[]).filter(e=>e.is_correct).map(e=>e.answer_md).filter(Boolean).join(","),Ce=e=>"text"===e.type?e.user_answer||"":(e.answers||[]).filter(e=>e.is_selected).map(e=>e.answer_md).filter(Boolean).join(","),Ee=e=>{const t=e.questions||[],o=["question_uuid","type","answered","user_answer","question_text","answers","correct_answer"],a=t.map(e=>[Le(e.uuid),Le(e.type),Le(e.answered),Le(Ce(e)),Le((0,_e.Q)(e.question_html)),Le(Oe(e)),Le(Se(e))].join(","));return[o.join(","),...a].join("\n")},Pe=(e,t)=>{const o=new Blob([e],{type:"text/csv;charset=utf-8;"}),a=URL.createObjectURL(o),s=document.createElement("a");s.setAttribute("href",a),s.setAttribute("download",t),document.body.appendChild(s),s.click(),document.body.removeChild(s),setTimeout(()=>URL.revokeObjectURL(a),0)},xe=e=>{var t,o;const a=e.exam_id||"unknown",s=((null===(t=e.certification)||void 0===t?void 0:t.name)||"").replace(/[^a-z0-9]/gi,"-").replace(/-+/g,"-").replace(/^-|-$/g,"").toLowerCase(),r=((null===(o=e.certification)||void 0===o?void 0:o.latest_version)||"").replace(/[^a-z0-9.]/gi,"-").replace(/-+/g,"-").replace(/^-|-$/g,"").toLowerCase(),n=(new Date).toISOString().slice(0,10),i=["exam-preview-results",s,r,a,n].filter(Boolean);return`${i.join("-")}.csv`};var Re=o.p+"img/success.03fbf3c4.png",Me=o.p+"img/fail.c2e11039.png",Ie={name:"ExamScoreModal",components:{ExamScoreModalObjectives:N,LabScoreModalObjectives:ce,ExamScoreModalScoreBlock:ve},props:{attempt:{type:Object,required:!0},cert:{type:Object,required:!1,default:()=>({})},isPreview:{type:Boolean,required:!1,default:!1}},data:()=>({confetti:null,options:{particles:[{type:"circle"},{type:"rect"}],customCanvas:!1,particlesPerFrame:2,windSpeedMax:1,canvasId:"confetti",defaultColors:["#A793F6","#5B4B9B","#ffffff","#EE3B00","#EF7D22"]}}),computed:{attemptDomains(){return this.attempt.score_per_domain},statusImage(){return this.globalHasPassed?Re:Me},globalHasPassed(){return this.attempt.has_passed},hasLab(){return!!this.attempt.practice_lab},hasLabattempt(){return!!this.attempt.user_lab_attempt},sorryMessage(){return"You must meet the minimum score requirements to pass this exam."},questionsPassedText(){return this.attempt.has_passed_questions?"Minimum per objective reached":"Minimum per objective not reached"},labPassed(){var e;return!(null===(e=this.attempt.user_lab_attempt)||void 0===e||!e.has_passed)},labPassedText(){return this.labPassed?"Minimum score reached":"Minimum score not reached"},labObjectives(){var e;return null===(e=this.attempt.user_lab_attempt)||void 0===e?void 0:e.lab_objectives},labObjectivesResult(){var e;let t=0;return null===(e=this.attempt.user_lab_attempt)||void 0===e||e.lab_objectives.map(e=>{e.has_passed&&(t+=parseInt(e.points))}),t},labObjectivesTotal(){var e;let t=0;return null===(e=this.attempt.user_lab_attempt)||void 0===e||e.lab_objectives.map(e=>{t+=parseInt(e.points)}),t},labStatusLabel(){return this.attempt.user_lab_attempt.has_passed?"Passed":"Failed"}
1,certAccredibleUrl(){var e;return null===(e=this.cert)||void 0===e?void 0:e.accredible_credential_url},canDownloadResultsCsv(){return(0,be.EY)()}},mounted(){this.globalHasPassed&&this.$nextTick(()=>{const e=document.getElementById("confetti");e&&(e.width=document.body.clientWidth,e.height=document.body.clientHeight,this.confetti=new C.Confetti,this.confetti.start(this.options),setTimeout(()=>{var e;null===(e=this.confetti)||void 0===e||e.stop()},7e3))})},created(){const e=document.querySelector("body");e.classList.add("score-modal-open")},unmounted(){const e=document.querySelector("body");e.classList.remove("score-modal-open"),this.confetti&&(this.confetti.stop(),this.confetti=null),window.removeEventListener("resize",()=>null)},methods:{closeModal(){this.$emit("close-score-modal")},cleanKeyName(e){return e.replace(/^([0-9]+. )/,"")},handleRouterLinkClick(){var e;const t=this.$route;"user-dashboard"===t.name&&"certifications"===(null===t||void 0===t||null===(e=t.params)||void 0===e?void 0:e.mode)?this.closeModal():this.$router.push({name:"user-dashboard",params:{mode:"certifications"}})},downloadResultsCsv(){this.canDownloadResultsCsv&&Pe(Ee(this.attempt),xe(this.attempt))}}};const Te=(0,W.A)(Ie,[["render",S],["__scopeId","data-v-650f5950"]]);var Ae=Te}}]);

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.