Sindbad~EG File Manager

Current Path : /var/www/moodledata/mdata-uautomaq/filedir/3d/a4/
Upload File :
Current File : /var/www/moodledata/mdata-uautomaq/filedir/3d/a4/3da4a92a55d9dd6fdcfb8e6915c1410dcbd74727

!function(){var t={773:function(t,e){var n,r,i,a=function(){var t=function(t,e){var n=t,r=u[e],i=null,a=0,o=null,s=[],l={},c=function(t,e){i=function(t){for(var e=new Array(t),n=0;n<t;n+=1){e[n]=new Array(t);for(var r=0;r<t;r+=1)e[n][r]=null}return e}(a=4*n+17),h(0,0),h(a-7,0),h(0,a-7),f(),d(),m(t,e),n>=7&&p(t),null==o&&(o=v(n,r,s)),g(o,e)},h=function(t,e){for(var n=-1;n<=7;n+=1)if(!(t+n<=-1||a<=t+n))for(var r=-1;r<=7;r+=1)e+r<=-1||a<=e+r||(i[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},d=function(){for(var t=8;t<a-8;t+=1)null==i[t][6]&&(i[t][6]=t%2==0);for(var e=8;e<a-8;e+=1)null==i[6][e]&&(i[6][e]=e%2==0)},f=function(){for(var t=b.getPatternPosition(n),e=0;e<t.length;e+=1)for(var r=0;r<t.length;r+=1){var a=t[e],o=t[r];if(null==i[a][o])for(var s=-2;s<=2;s+=1)for(var l=-2;l<=2;l+=1)i[a+s][o+l]=-2==s||2==s||-2==l||2==l||0==s&&0==l}},p=function(t){for(var e=b.getBCHTypeNumber(n),r=0;r<18;r+=1){var o=!t&&1==(e>>r&1);i[Math.floor(r/3)][r%3+a-8-3]=o}for(r=0;r<18;r+=1){o=!t&&1==(e>>r&1);i[r%3+a-8-3][Math.floor(r/3)]=o}},m=function(t,e){for(var n=r<<3|e,o=b.getBCHTypeInfo(n),s=0;s<15;s+=1){var l=!t&&1==(o>>s&1);s<6?i[s][8]=l:s<8?i[s+1][8]=l:i[a-15+s][8]=l}for(s=0;s<15;s+=1){l=!t&&1==(o>>s&1);s<8?i[8][a-s-1]=l:s<9?i[8][15-s-1+1]=l:i[8][15-s-1]=l}i[a-8][8]=!t},g=function(t,e){for(var n=-1,r=a-1,o=7,s=0,l=b.getMaskFunction(e),c=a-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var u=0;u<2;u+=1)if(null==i[r][c-u]){var h=!1;s<t.length&&(h=1==(t[s]>>>o&1)),l(r,c-u)&&(h=!h),i[r][c-u]=h,-1==(o-=1)&&(s+=1,o=7)}if((r+=n)<0||a<=r){r-=n,n=-n;break}}},v=function(t,e,n){for(var r=E.getRSBlocks(t,e),i=k(),a=0;a<n.length;a+=1){var o=n[a];i.put(o.getMode(),4),i.put(o.getLength(),b.getLengthInBits(o.getMode(),t)),o.write(i)}var s=0;for(a=0;a<r.length;a+=1)s+=r[a].dataCount;if(i.getLengthInBits()>8*s)throw"code length overflow. ("+i.getLengthInBits()+">"+8*s+")";for(i.getLengthInBits()+4<=8*s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*s||(i.put(236,8),i.getLengthInBits()>=8*s));)i.put(17,8);return function(t,e){for(var n=0,r=0,i=0,a=new Array(e.length),o=new Array(e.length),s=0;s<e.length;s+=1){var l=e[s].dataCount,c=e[s].totalCount-l;r=Math.max(r,l),i=Math.max(i,c),a[s]=new Array(l);for(var u=0;u<a[s].length;u+=1)a[s][u]=255&t.getBuffer()[u+n];n+=l;var h=b.getErrorCorrectPolynomial(c),d=C(a[s],h.getLength()-1).mod(h);for(o[s]=new Array(h.getLength()-1),u=0;u<o[s].length;u+=1){var f=u+d.getLength()-o[s].length;o[s][u]=f>=0?d.getAt(f):0}}var p=0;for(u=0;u<e.length;u+=1)p+=e[u].totalCount;var m=new Array(p),g=0;for(u=0;u<r;u+=1)for(s=0;s<e.length;s+=1)u<a[s].length&&(m[g]=a[s][u],g+=1);for(u=0;u<i;u+=1)for(s=0;s<e.length;s+=1)u<o[s].length&&(m[g]=o[s][u],g+=1);return m}(i,r)};l.addData=function(t,e){var n=null;switch(e=e||"Byte"){case"Numeric":n=x(t);break;case"Alphanumeric":n=L(t);break;case"Byte":n=A(t);break;case"Kanji":n=S(t);break;default:throw"mode:"+e}s.push(n),o=null},l.isDark=function(t,e){if(t<0||a<=t||e<0||a<=e)throw t+","+e;return i[t][e]},l.getModuleCount=function(){return a},l.make=function(){if(n<1){for(var t=1;t<40;t++){for(var e=E.getRSBlocks(t,r),i=k(),a=0;a<s.length;a++){var o=s[a];i.put(o.getMode(),4),i.put(o.getLength(),b.getLengthInBits(o.getMode(),t)),o.write(i)}var u=0;for(a=0;a<e.length;a++)u+=e[a].dataCount;if(i.getLengthInBits()<=8*u)break}n=t}c(!1,function(){for(var t=0,e=0,n=0;n<8;n+=1){c(!0,n);var r=b.getLostPoint(l);(0==n||t>r)&&(t=r,e=n)}return e}())},l.createTableTag=function(t,e){t=t||2;var n="";n+='<table style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: "+(e=void 0===e?4*t:e)+"px;",n+='">',n+="<tbody>";for(var r=0;r<l.getModuleCount();r+=1){n+="<tr>";for(var i=0;i<l.getModuleCount();i+=1)n+='<td style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: 0px;",n+=" width: "+t+"px;",n+=" height: "+t+"px;",n+=" background-color: ",n+=l.isDark(r,i)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return n+="</tbody>",n+="</table>"},l.createSvgTag=function(t,e){var n={};"object"==typeof arguments[0]&&(t=(n=arguments[0]).cellSize,e=n.margin),t=t||2,e=void 0===e?4*t:e;var r,i,a,o,s=l.getModuleCount()*t+2*e,c="";for(o="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",c+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',c+=n.scalable?"":' width="'+s+'px" height="'+s+'px"',c+=' viewBox="0 0 '+s+" "+s+'" ',c+=' preserveAspectRatio="xMinYMin meet">',c+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',c+='<path d="',i=0;i<l.getModuleCount();i+=1)for(a=i*t+e,r=0;r<l.getModuleCount();r+=1)l.isDark(i,r)&&(c+="M"+(r*t+e)+","+a+o);return c+='" stroke="transparent" fill="black"/>',c+="</svg>"},l.createDataURL=function(t,e){t=t||2,e=void 0===e?4*t:e;var n=l.getModuleCount()*t+2*e,r=e,i=n-e;return T(n,n,(function(e,n){if(r<=e&&e<i&&r<=n&&n<i){var a=Math.floor((e-r)/t),o=Math.floor((n-r)/t);return l.isDark(o,a)?0:1}return 1}))},l.createImgTag=function(t,e,n){t=t||2,e=void 0===e?4*t:e;var r=l.getModuleCount()*t+2*e,i="";return i+="<img",i+=' src="',i+=l.createDataURL(t,e),i+='"',i+=' width="',i+=r,i+='"',i+=' height="',i+=r,i+='"',n&&(i+=' alt="',i+=n,i+='"'),i+="/>"};return l.createASCII=function(t,e){if((t=t||1)<2)return function(t){t=void 0===t?2:t;var e,n,r,i,a,o=1*l.getModuleCount()+2*t,s=t,c=o-t,u={"██":"█","█ ":"▀"," █":"▄","  ":" "},h={"██":"▀","█ ":"▀"," █":" ","  ":" "},d="";for(e=0;e<o;e+=2){for(r=Math.floor((e-s)/1),i=Math.floor((e+1-s)/1),n=0;n<o;n+=1)a="█",s<=n&&n<c&&s<=e&&e<c&&l.isDark(r,Math.floor((n-s)/1))&&(a=" "),s<=n&&n<c&&s<=e+1&&e+1<c&&l.isDark(i,Math.floor((n-s)/1))?a+=" ":a+="█",d+=t<1&&e+1>=c?h[a]:u[a];d+="\n"}return o%2&&t>0?d.substring(0,d.length-o-1)+Array(o+1).join("▀"):d.substring(0,d.length-1)}(e);t-=1,e=void 0===e?2*t:e;var n,r,i,a,o=l.getModuleCount()*t+2*e,s=e,c=o-e,u=Array(t+1).join("██"),h=Array(t+1).join("  "),d="",f="";for(n=0;n<o;n+=1){for(i=Math.floor((n-s)/t),f="",r=0;r<o;r+=1)a=1,s<=r&&r<c&&s<=n&&n<c&&l.isDark(i,Math.floor((r-s)/t))&&(a=0),f+=a?u:h;for(i=0;i<t;i+=1)d+=f+"\n"}return d.substring(0,d.length-1)},l.renderTo2dContext=function(t,e){e=e||2;for(var n=l.getModuleCount(),r=0;r<n;r++)for(var i=0;i<n;i++)t.fillStyle=l.isDark(r,i)?"black":"white",t.fillRect(r*e,i*e,e,e)},l};t.stringToBytes=(t.stringToBytesFuncs={default:function(t){for(var e=[],n=0;n<t.length;n+=1){var r=t.charCodeAt(n);e.push(255&r)}return e}}).default,t.createStringToBytes=function(t,e){var n=function(){for(var n=I(t),r=function(){var t=n.read();if(-1==t)throw"eof";return t},i=0,a={};;){var o=n.read();if(-1==o)break;var s=r(),l=r()<<8|r();a[String.fromCharCode(o<<8|s)]=l,i+=1}if(i!=e)throw i+" != "+e;return a}(),r="?".charCodeAt(0);return function(t){for(var e=[],i=0;i<t.length;i+=1){var a=t.charCodeAt(i);if(a<128)e.push(a);else{var o=n[t.charAt(i)];"number"==typeof o?(255&o)==o?e.push(o):(e.push(o>>>8),e.push(255&o)):e.push(r)}}return e}};var e,n,r,i,a,o=1,s=2,l=4,c=8,u={L:1,M:0,Q:3,H:2},h=0,d=1,f=2,p=3,m=4,g=5,v=6,y=7,b=(e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],n=1335,r=7973,a=function(t){for(var e=0;0!=t;)e+=1,t>>>=1;return e},(i={}).getBCHTypeInfo=function(t){for(var e=t<<10;a(e)-a(n)>=0;)e^=n<<a(e)-a(n);return 21522^(t<<10|e)},i.getBCHTypeNumber=function(t){for(var e=t<<12;a(e)-a(r)>=0;)e^=r<<a(e)-a(r);return t<<12|e},i.getPatternPosition=function(t){return e[t-1]},i.getMaskFunction=function(t){switch(t){case h:return function(t,e){return(t+e)%2==0};case d:return function(t,e){return t%2==0};case f:return function(t,e){return e%3==0};case p:return function(t,e){return(t+e)%3==0};case m:return function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0};case g:return function(t,e){return t*e%2+t*e%3==0};case v:return function(t,e){return(t*e%2+t*e%3)%2==0};case y:return function(t,e){return(t*e%3+(t+e)%2)%2==0};default:throw"bad maskPattern:"+t}},i.getErrorCorrectPolynomial=function(t){for(var e=C([1],0),n=0;n<t;n+=1)e=e.multiply(C([1,w.gexp(n)],0));return e},i.getLengthInBits=function(t,e){if(1<=e&&e<10)switch(t){case o:return 10;case s:return 9;case l:case c:return 8;default:throw"mode:"+t}else if(e<27)switch(t){case o:return 12;case s:return 11;case l:return 16;case c:return 10;default:throw"mode:"+t}else{if(!(e<41))throw"type:"+e;switch(t){case o:return 14;case s:return 13;case l:return 16;case c:return 12;default:throw"mode:"+t}}},i.getLostPoint=function(t){for(var e=t.getModuleCount(),n=0,r=0;r<e;r+=1)for(var i=0;i<e;i+=1){for(var a=0,o=t.isDark(r,i),s=-1;s<=1;s+=1)if(!(r+s<0||e<=r+s))for(var l=-1;l<=1;l+=1)i+l<0||e<=i+l||0==s&&0==l||o==t.isDark(r+s,i+l)&&(a+=1);a>5&&(n+=3+a-5)}for(r=0;r<e-1;r+=1)for(i=0;i<e-1;i+=1){var c=0;t.isDark(r,i)&&(c+=1),t.isDark(r+1,i)&&(c+=1),t.isDark(r,i+1)&&(c+=1),t.isDark(r+1,i+1)&&(c+=1),0!=c&&4!=c||(n+=3)}for(r=0;r<e;r+=1)for(i=0;i<e-6;i+=1)t.isDark(r,i)&&!t.isDark(r,i+1)&&t.isDark(r,i+2)&&t.isDark(r,i+3)&&t.isDark(r,i+4)&&!t.isDark(r,i+5)&&t.isDark(r,i+6)&&(n+=40);for(i=0;i<e;i+=1)for(r=0;r<e-6;r+=1)t.isDark(r,i)&&!t.isDark(r+1,i)&&t.isDark(r+2,i)&&t.isDark(r+3,i)&&t.isDark(r+4,i)&&!t.isDark(r+5,i)&&t.isDark(r+6,i)&&(n+=40);var u=0;for(i=0;i<e;i+=1)for(r=0;r<e;r+=1)t.isDark(r,i)&&(u+=1);return n+=Math.abs(100*u/e/e-50)/5*10},i),w=function(){for(var t=new Array(256),e=new Array(256),n=0;n<8;n+=1)t[n]=1<<n;for(n=8;n<256;n+=1)t[n]=t[n-4]^t[n-5]^t[n-6]^t[n-8];for(n=0;n<255;n+=1)e[t[n]]=n;var r={glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t[e]}};return r}();function C(t,e){if(void 0===t.length)throw t.length+"/"+e;var n=function(){for(var n=0;n<t.length&&0==t[n];)n+=1;for(var r=new Array(t.length-n+e),i=0;i<t.length-n;i+=1)r[i]=t[i+n];return r}(),r={getAt:function(t){return n[t]},getLength:function(){return n.length},multiply:function(t){for(var e=new Array(r.getLength()+t.getLength()-1),n=0;n<r.getLength();n+=1)for(var i=0;i<t.getLength();i+=1)e[n+i]^=w.gexp(w.glog(r.getAt(n))+w.glog(t.getAt(i)));return C(e,0)},mod:function(t){if(r.getLength()-t.getLength()<0)return r;for(var e=w.glog(r.getAt(0))-w.glog(t.getAt(0)),n=new Array(r.getLength()),i=0;i<r.getLength();i+=1)n[i]=r.getAt(i);for(i=0;i<t.getLength();i+=1)n[i]^=w.gexp(w.glog(t.getAt(i))+e);return C(n,0).mod(t)}};return r}var E=function(){var t=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],e=function(t,e){var n={};return n.totalCount=t,n.dataCount=e,n},n={};return n.getRSBlocks=function(n,r){var i=function(e,n){switch(n){case u.L:return t[4*(e-1)+0];case u.M:return t[4*(e-1)+1];case u.Q:return t[4*(e-1)+2];case u.H:return t[4*(e-1)+3];default:return}}(n,r);if(void 0===i)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var a=i.length/3,o=[],s=0;s<a;s+=1)for(var l=i[3*s+0],c=i[3*s+1],h=i[3*s+2],d=0;d<l;d+=1)o.push(e(c,h));return o},n}(),k=function(){var t=[],e=0,n={getBuffer:function(){return t},getAt:function(e){var n=Math.floor(e/8);return 1==(t[n]>>>7-e%8&1)},put:function(t,e){for(var r=0;r<e;r+=1)n.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return e},putBit:function(n){var r=Math.floor(e/8);t.length<=r&&t.push(0),n&&(t[r]|=128>>>e%8),e+=1}};return n},x=function(t){var e=o,n=t,r={getMode:function(){return e},getLength:function(t){return n.length},write:function(t){for(var e=n,r=0;r+2<e.length;)t.put(i(e.substring(r,r+3)),10),r+=3;r<e.length&&(e.length-r==1?t.put(i(e.substring(r,r+1)),4):e.length-r==2&&t.put(i(e.substring(r,r+2)),7))}},i=function(t){for(var e=0,n=0;n<t.length;n+=1)e=10*e+a(t.charAt(n));return e},a=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+t};return r},L=function(t){var e=s,n=t,r={getMode:function(){return e},getLength:function(t){return n.length},write:function(t){for(var e=n,r=0;r+1<e.length;)t.put(45*i(e.charAt(r))+i(e.charAt(r+1)),11),r+=2;r<e.length&&t.put(i(e.charAt(r)),6)}},i=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);if("A"<=t&&t<="Z")return t.charCodeAt(0)-"A".charCodeAt(0)+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return r},A=function(e){var n=l,r=t.stringToBytes(e),i={getMode:function(){return n},getLength:function(t){return r.length},write:function(t){for(var e=0;e<r.length;e+=1)t.put(r[e],8)}};return i},S=function(e){var n=c,r=t.stringToBytesFuncs.SJIS;if(!r)throw"sjis not supported.";!function(t,e){var n=r("友");if(2!=n.length||38726!=(n[0]<<8|n[1]))throw"sjis not supported."}();var i=r(e),a={getMode:function(){return n},getLength:function(t){return~~(i.length/2)},write:function(t){for(var e=i,n=0;n+1<e.length;){var r=(255&e[n])<<8|255&e[n+1];if(33088<=r&&r<=40956)r-=33088;else{if(!(57408<=r&&r<=60351))throw"illegal char at "+(n+1)+"/"+r;r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13),n+=2}if(n<e.length)throw"illegal char at "+(n+1)}};return a},D=function(){var t=[],e={writeByte:function(e){t.push(255&e)},writeShort:function(t){e.writeByte(t),e.writeByte(t>>>8)},writeBytes:function(t,n,r){n=n||0,r=r||t.length;for(var i=0;i<r;i+=1)e.writeByte(t[i+n])},writeString:function(t){for(var n=0;n<t.length;n+=1)e.writeByte(t.charCodeAt(n))},toByteArray:function(){return t},toString:function(){var e="";e+="[";for(var n=0;n<t.length;n+=1)n>0&&(e+=","),e+=t[n];return e+="]"}};return e},I=function(t){var e=t,n=0,r=0,i=0,a={read:function(){for(;i<8;){if(n>=e.length){if(0==i)return-1;throw"unexpected end of file./"+i}var t=e.charAt(n);if(n+=1,"="==t)return i=0,-1;t.match(/^\s$/)||(r=r<<6|o(t.charCodeAt(0)),i+=6)}var a=r>>>i-8&255;return i-=8,a}},o=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return a},T=function(t,e,n){for(var r=function(t,e){var n=t,r=e,i=new Array(t*e),a={setPixel:function(t,e,r){i[e*n+t]=r},write:function(t){t.writeString("GIF87a"),t.writeShort(n),t.writeShort(r),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(n),t.writeShort(r),t.writeByte(0);var e=o(2);t.writeByte(2);for(var i=0;e.length-i>255;)t.writeByte(255),t.writeBytes(e,i,255),i+=255;t.writeByte(e.length-i),t.writeBytes(e,i,e.length-i),t.writeByte(0),t.writeString(";")}},o=function(t){for(var e=1<<t,n=1+(1<<t),r=t+1,a=s(),o=0;o<e;o+=1)a.add(String.fromCharCode(o));a.add(String.fromCharCode(e)),a.add(String.fromCharCode(n));var l,c,u,h=D(),d=(l=h,c=0,u=0,{write:function(t,e){if(t>>>e!=0)throw"length over";for(;c+e>=8;)l.writeByte(255&(t<<c|u)),e-=8-c,t>>>=8-c,u=0,c=0;u|=t<<c,c+=e},flush:function(){c>0&&l.writeByte(u)}});d.write(e,r);var f=0,p=String.fromCharCode(i[f]);for(f+=1;f<i.length;){var m=String.fromCharCode(i[f]);f+=1,a.contains(p+m)?p+=m:(d.write(a.indexOf(p),r),a.size()<4095&&(a.size()==1<<r&&(r+=1),a.add(p+m)),p=m)}return d.write(a.indexOf(p),r),d.write(n,r),d.flush(),h.toByteArray()},s=function(){var t={},e=0,n={add:function(r){if(n.contains(r))throw"dup key:"+r;t[r]=e,e+=1},size:function(){return e},indexOf:function(e){return t[e]},contains:function(e){return void 0!==t[e]}};return n};return a}(t,e),i=0;i<e;i+=1)for(var a=0;a<t;a+=1)r.setPixel(a,i,n(a,i));var o=D();r.write(o);for(var s=function(){var t=0,e=0,n=0,r="",i={},a=function(t){r+=String.fromCharCode(o(63&t))},o=function(t){if(t<0);else{if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47}throw"n:"+t};return i.writeByte=function(r){for(t=t<<8|255&r,e+=8,n+=1;e>=6;)a(t>>>e-6),e-=6},i.flush=function(){if(e>0&&(a(t<<6-e),t=0,e=0),n%3!=0)for(var i=3-n%3,o=0;o<i;o+=1)r+="="},i.toString=function(){return r},i}(),l=o.toByteArray(),c=0;c<l.length;c+=1)s.writeByte(l[c]);return s.flush(),"data:image/gif;base64,"+s};return t}();a.stringToBytesFuncs["UTF-8"]=function(t){return function(t){for(var e=[],n=0;n<t.length;n++){var r=t.charCodeAt(n);r<128?e.push(r):r<2048?e.push(192|r>>6,128|63&r):r<55296||r>=57344?e.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&t.charCodeAt(n)),e.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return e}(t)},r=[],void 0===(i="function"==typeof(n=function(){return a})?n.apply(e,r):n)||(t.exports=i)}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";let t=function(){function t(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.handleKeydownEvent=this.handleKeydownEvent.bind(this),this.attachTo(t)}var e=t.prototype;return e.attachTo=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.params=t,this.focusableElements=[]},e.activate=function(){this.params.trapElement&&(this.isActivated||(this.isActivated=!0,window.requestIdleCallback((()=>{this.observer=this.observer||new IntersectionObserver((t=>{t[0].isIntersecting&&(this.observer.unobserve(this.params.trapElement),this.handleVisible())}),{root:document.documentElement,threshold:0}),this.observer.observe(this.params.trapElement)}))))},e.deactivate=function(){this.isActivated&&(this.observer.unobserve(this.params.trapElement),this.params.trapElement.removeEventListener("keydown",this.handleKeydownEvent,!0),this.isActivated=!1)},e.updateFocusableElements=function(){if(!this.params.trapElement)return;const t=["a[href]:not([disabled])","button:not([disabled])","textarea:not([disabled])","input:not([disabled])","select:not([disabled])","video","audio",'[tabindex]:not([tabindex="-1"])'].join(", ");this.focusableElements=[].slice.call(this.params.trapElement.querySelectorAll(t)).filter((t=>"true"!==t.getAttribute("disabled")&&!0!==t.getAttribute("disabled")))},e.isChild=function(t){if(!this.params.trapElement)return!1;const e=t.parentNode;return!!e&&(e===this.params.trapElement||this.isChild(e))},e.handleVisible=function(){this.updateFocusableElements(),this.params.trapElement.addEventListener("keydown",this.handleKeydownEvent,!0),this.params.initialFocus&&this.isChild(this.params.initialFocus)&&(this.currentFocusElement=this.params.initialFocus),!this.currentFocusElement&&this.focusableElements.length&&(this.currentFocusElement=this.focusableElements[0]),this.currentFocusElement&&this.currentFocusElement.focus()},e.handleKeydownEvent=function(t){if(this.updateFocusableElements(),!this.focusableElements.length)return;if("Tab"!==t.key)return;t.preventDefault();const e=this.focusableElements.findIndex((t=>t===this.currentFocusElement)),n=this.focusableElements.length,r=t.shiftKey?(e+n-1)%n:(e+1)%n;this.currentFocusElement=this.focusableElements[r],this.currentFocusElement.focus()},t}(),e=function(){function t(){}return t.extend=function(){for(let t=1;t<arguments.length;t++)for(let e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&("object"==typeof arguments[0][e]&&"object"==typeof arguments[t][e]?this.extend(arguments[0][e],arguments[t][e]):arguments[0][e]=arguments[t][e]);return arguments[0]},t.htmlDecode=function(t){return(new DOMParser).parseFromString(t,"text/html").documentElement.textContent},t.htmlDecodeDeep=function(e){if("string"==typeof e)return t.htmlDecode(e);if("object"==typeof e){for(let n in e)e[n]=t.htmlDecodeDeep(e[n]);return e}return e},t.stripHTML=function(t){const e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""},t.stripHTMLDeep=function(e){if("object"==typeof e){for(let n in e)e[n]=t.stripHTMLDeep(e[n]);return e}return"string"==typeof e?t.stripHTML(e):e},t}(),r=function(){function n(n){this.params=e.extend({callbackClosed:()=>{},a11y:{closeCodeInformation:"Close information."}},n),this.closeButtonHasFocus=!1,this.handleGlobalClick=this.handleGlobalClick.bind(this),this.handleKeyup=this.handleKeyup.bind(this),this.overlay=document.createElement("div"),this.overlay.setAttribute("role","dialog"),this.overlay.setAttribute("aria-modal","true"),this.overlay.setAttribute("aria-label",this.params.a11y.codeContents),this.overlay.classList.add("h5p-kewar-code-overlay"),this.overlay.classList.add("h5p-kewar-code-no-display"),this.overlay.addEventListener("transitionend",(()=>{!0===this.isTransparent&&(this.overlay.classList.add("h5p-kewar-code-no-display"),setTimeout((()=>{this.params.callbackClosed(this.closeButtonHasFocus)}),0))})),this.boxOuter=document.createElement("div"),this.boxOuter.classList.add("h5p-kewar-code-overlay-box-outer"),this.overlay.appendChild(this.boxOuter),this.boxInner=document.createElement("div"),this.boxInner.classList.add("h5p-kewar-code-overlay-box-inner"),this.boxOuter.appendChild(this.boxInner),this.buttonClose=document.createElement("div"),this.buttonClose.classList.add("h5p-kewar-code-overlay-box-button-close"),this.buttonClose.setAttribute("role","button"),this.buttonClose.setAttribute("tabindex",0),this.buttonClose.setAttribute("aria-label",this.params.a11y.closeCodeInformation),this.buttonClose.addEventListener("click",(()=>{this.handleClosed()})),this.buttonClose.addEventListener("keydown",(t=>{const e=(t=t||window.event).which||t.keyCode;13!==e&&32!==e||this.handleClosed()})),this.boxInner.appendChild(this.buttonClose),this.content=document.createElement("div"),this.content.classList.add("h5p-kewar-code-overlay-box-content"),this.params.content&&this.content.appendChild(this.params.content),this.boxInner.appendChild(this.content),this.focusTrap=new t({trapElement:this.overlay}),this.hide()}var r=n.prototype;return r.getDOM=function(){return this.overlay},r.getBoxHeight=function(){const t=window.getComputedStyle(this.boxOuter),e=parseInt(t.getPropertyValue("padding-top"),10),n=parseInt(t.getPropertyValue("padding-bottom"),10);return this.boxInner.offsetHeight+e+n},r.setContent=function(t){t&&(this.content.innerHTML="",this.content.appendChild(t))},r.show=function(t,e){this.isTransparent=!1,void 0!==t&&this.setContent(t),this.overlay.classList.remove("h5p-kewar-code-no-display"),setTimeout((()=>{this.overlay.classList.remove("h5p-kewar-code-no-opacity"),this.setColumnWidths()}),0),e&&(this.closeButtonHasFocus=!0,this.buttonClose.focus()),window.requestAnimationFrame((()=>{this.focusTrap.activate(),this.overlay.addEventListener("click",this.handleGlobalClick),this.overlay.addEventListener("keyup",this.handleKeyup)}))},r.hide=function(){this.isTransparent=!0,this.overlay.classList.add("h5p-kewar-code-no-opacity"),this.overlay.removeEventListener("click",this.handleGlobalClick),this.overlay.removeEventListener("keyup",this.handleKeyup),this.focusTrap.deactivate()},r.handleClosed=function(){this.hide(),this.closeButtonHasFocus=!1},r.handleGlobalClick=function(t){!this.boxOuter.contains(t.target)&&t.target.isConnected&&this.handleClosed()},r.handleKeyup=function(t){"Escape"===t.key&&this.handleClosed()},r.setColumnWidths=function(){const t=[].slice.call(this.content.querySelectorAll(".h5p-kewar-code-display-row-name")).reduce(((t,e)=>Math.max(t,e.offsetWidth||0)),0);if(0===t)return;const e=t+5,n=100*e/this.content.offsetWidth;[].slice.call(this.content.querySelectorAll(".h5p-kewar-code-display-row-name")).forEach((t=>{t.style.flexGrow=1,t.style.flexShrink=1,t.style.maxWidth=`${e}px`,t.style.overflow="hidden",t.style.textOverflow="ellipsis",t.style.width=`${n}%`})),[].slice.call(this.content.querySelectorAll(".h5p-kewar-code-display-row-content")).forEach((t=>{t.style.flexGrow=1,t.style.width=100-n+"%"}))},n}();var i=n(773),a=n.n(i);function o(t,e){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},o(t,e)}let s=function(t){var n,i;function s(n,i,o){var l;(l=t.call(this)||this).params=e.extend({codeType:"url",contact:{name:"Unknown",organization:"",title:"",url:"",number:"",email:"",address:{extended:"",street:"",locality:"",region:"",zip:"",country:""},note:""},event:{title:"Unnamed event",allDay:!1,dateStart:"1970/1/1",timeStart:"00:00",dateEnd:"1970/1/1",timeEnd:"01:00",timezone:"0:00",daylightSavings:!1},email:"add_your@email.here",location:{latitude:"69.646007",longitude:"18.954036"},phone:"+123456789",sms:{number:"+123456789",message:"Please fetch milk and bread!"},text:"Please fetch\n* milk\n* bread",url:"https://h5p.org",behaviour:{codeColor:"#000000",backgroundColor:"#ffffff",alignment:"center"},l10n:{address:"Address",contact:"Contact",country:"Country",dateEnd:"End date",dateStart:"Start date",description:"Description",email:"Email",event:"Event",extended:"Extended address",latitude:"Latitude",locality:"Locality",location:"Location",longitude:"Longitude",message:"Message",name:"Name",note:"Note",organization:"Organization",phone:"Phone number",region:"Region",sms:"SMS",street:"Street",text:"Text",title:"Title",url:"URL",zip:"ZIP code"},a11y:{openCodeInformation:"QRCode. Display information.",closeCodeInformation:"Hide information.",codeContents:". Code contents"}},n),l.contentId=i,l.extras=o;for(let t in l.params)["codeType","behaviour","introduction"].includes(t)||(l.params[t]=e.htmlDecodeDeep(l.params[t]),l.params[t]=e.stripHTMLDeep(l.params[t]));return l.on("resize",(()=>{if(!l.qrcodeContainer)return;const t=l.overlay?l.overlay.getBoxHeight():0,e=l.codeImage?l.codeImage.getBoundingClientRect().width:0;t>e?(l.codeImage.style.height=`${e}px`,l.codeImage.style.maxHeight="",l.qrcodeContainer.style.height=`${t}px`):(l.codeImage.style.height="",l.codeImage.style.maxHeight=l.params.behaviour.maxSize||"",l.qrcodeContainer.style.height=""),l.isInitialized||setTimeout((()=>{l.isInitialized=!0,l.trigger("resize")}),0)})),l.attach=function(t){if(this.calledFromKewAr()){const e=H5P.newRunnable(this.params.h5p,this.contentId,t,!1,this.extras);this.bubbleUp(e,"resize",this),this.bubbleDown(this,"resize",e);return void("H5P.Image"===(this.params.h5p.library?this.params.h5p.library.split(" ")[0]:null)&&e.on("loaded",(function(){this.trigger("resize")})))}const e=a()(s.typeNumber,s.errorCorrection);let n="Something went wrong",i=document.createElement("div").innerHTML=n;if("contact"===this.params.codeType){var o=this.buildContact(this.params.contact);n=o.payload,i=o.display}else if("event"===this.params.codeType){var l=this.buildEvent(this.params.event);n=l.payload,i=l.display}else if("email"===this.params.codeType)n=`mailto:${this.params.email}`,i=this.buildDisplay(this.params.l10n.email,`<a href="mailto:${this.params.email}">${this.params.email}</a>`);else if("location"===this.params.codeType)n=`geo:${this.params.location.latitude},${this.params.location.longitude}`,i=this.buildDisplay(this.params.l10n.location,[{name:this.params.l10n.latitude,content:this.params.location.latitude},{name:this.params.l10n.longitude,content:this.params.location.longitude}]);else if("phone"===this.params.codeType)n=`tel:${this.params.phone}`,i=this.buildDisplay(this.params.l10n.phone,this.params.phone);else if("sms"===this.params.codeType){const t=this.params.sms.number.replace(/[^+0-9]/gi,"");n=`smsto:${t}:${this.params.sms.message}`,i=this.buildDisplay(this.params.l10n.sms,[{name:this.params.l10n.phone,content:t},{name:this.params.l10n.message,content:this.params.sms.message}])}else if("text"===this.params.codeType)n=this.params.text,i=this.buildDisplay(this.params.l10n.text,this.params.text.replace(/\n/g,"<br />"));else if("url"===this.params.codeType)n=this.params.url,i=this.buildDisplay(this.params.l10n.url,`<a href="${this.params.url}" target="blank">${this.params.url}</a>`);else if("h5p"===this.params.codeType){const t=window.location.href;n=-1===t.indexOf("?")?window.location.href+`?kewar=${this.contentId}`:this.calledFromKewAr()?t:t+`&kewar=${this.contentId}`,i=this.buildDisplay(this.params.l10n.url,`<a href="${n}" target="blank">${n}</a>`)}if(e.addData(n),e.make(),this.overlay=new r({content:i,callbackClosed:()=>this.handleClosedOverlay(focus),a11y:{closeCodeInformation:this.params.a11y.closeCodeInformation,codeContents:this.params.a11y.codeContents}}),this.mainContainer=document.createElement("div"),this.mainContainer.classList.add("h5p-kewar-code-container-main"),this.params.introduction){const t=document.createElement("div");t.classList.add("h5p-kewar-code-introduction"),t.innerHTML=this.params.introduction,this.mainContainer.appendChild(t)}this.qrcodeContainer=document.createElement("div"),this.qrcodeContainer.classList.add("h5p-kewar-code-container"),this.qrcodeContainer.setAttribute("role","button"),this.qrcodeContainer.setAttribute("tabindex",0),this.qrcodeContainer.setAttribute("aria-label",this.params.a11y.openCodeInformation),this.qrcodeContainer.style.textAlign=this.params.behaviour.alignment,this.qrcodeContainer.addEventListener("click",(()=>{this.overlay.show(),setTimeout((()=>{this.trigger("resize")}),0)})),this.qrcodeContainer.addEventListener("keydown",(t=>{const e=(t=t||window.event).which||t.keyCode;13!==e&&32!==e||(this.overlay.show(void 0,!0),this.qrcodeContainer.removeAttribute("tabindex"),setTimeout((()=>{this.trigger("resize")}),0))})),this.codeImage=this.buildSVGImage(e.createSvgTag()),this.params.behaviour.maxSize&&(this.codeImage.style.maxWidth=this.params.behaviour.maxSize,this.codeImage.maxHeight=this.params.behaviour.maxSize),this.qrcodeContainer.appendChild(this.codeImage),this.mainContainer.appendChild(this.qrcodeContainer),t.get(0).classList.add("h5p-kewar-code"),t.get(0).appendChild(this.mainContainer),t.get(0).appendChild(this.overlay.getDOM())},l.buildSVGImage=function(t){t=(t=t.replace(/width="[0-9]*px"/,`width="${s.svgImageSize}px"`)).replace(/height="[0-9]*px"/,`height="${s.svgImageSize}px"`);const e=document.createElement("div");e.innerHTML=t;e.querySelector("path").setAttribute("fill",this.params.behaviour.codeColor);e.querySelector("rect").setAttribute("fill",this.params.behaviour.backgroundColor);const n=`data:image/svg+xml;base64,${window.btoa(e.innerHTML)}`,r=document.createElement("img");return r.src=n,r.alt="",r},l.buildContact=function(t){const e=t.address;let n="BEGIN:VCARD\n";n+="VERSION:3.0\n",n+=`N:${t.name}\n`,n+=""!==t.organization?`ORG:${t.organization}\n`:"",n+=""!==t.title?`TITLE:${t.title}\n`:"",n+=""!==t.number?`TEL:${t.number}\n`:"",n+=""!==t.email?`EMAIL:${t.email}\n`:"",n+=""!==t.url?`URL:${t.url}\n`:"",n+=""!==e.extended||""!==e.street||""!==e.locality||e.region||""!==e.zip||""!==e.country?`ADR:;${e.extended};${e.street};${e.locality};${e.region};${e.zip};${e.country}\n`:"",n+=""!==this.params.contact.note?`NOTE:${this.params.contact.note}\n`:"",n+="END:VCARD";const r=[{name:this.params.l10n.name,content:t.name}];""!==t.organization&&r.push({name:this.params.l10n.organization,content:t.organization}),""!==t.title&&r.push({name:this.params.l10n.title,content:t.title}),""!==t.number&&r.push({name:this.params.l10n.phone,content:t.number}),""!==t.email&&r.push({name:this.params.l10n.email,content:`<a href="mailto:${t.email}">${t.email}</a>`}),""!==t.url&&r.push({name:this.params.l10n.url,content:`<a href="${t.url}" target="blank">${t.url}</a>`});const i=[e.extended,e.street,e.locality,e.region,e.zip,e.country].filter((t=>""!==t)).join(", ");return""!==i&&r.push({name:this.params.l10n.address,content:i}),""!==t.note&&r.push({name:this.params.l10n.note,content:t.note}),{payload:n,display:this.buildDisplay(this.params.l10n.contact,r)}},l.buildEvent=function(t){t.allDay&&(t.timeStart="00:00",t.timeEnd="23:59",t.timezone="0:00",t.daylightSavings=!1),t.dateStart=t.dateStart.split("/").map((t=>parseInt(t,10))),t.dateEnd=t.dateEnd.split("/").map((t=>parseInt(t,10))),t.timeStart=t.timeStart.split(":").map((t=>parseInt(t,10))),t.timeEnd=t.timeEnd.split(":").map((t=>parseInt(t,10))),t.timezone=t.timezone.split(":");let e=new Date(Date.UTC(t.dateStart[0],t.dateStart[1]-1,t.dateStart[2],t.timeStart[0]-t.timezone[0]+(t.daylightSavings?1:0),t.timeStart[1]-t.timezone[1])),n=new Date(Date.UTC(t.dateEnd[0],t.dateEnd[1]-1,t.dateEnd[2],t.timeEnd[0]-t.timezone[0]+(t.daylightSavings?1:0),t.timeEnd[1]-t.timezone[1]));n<e&&(n=e);const r=e.toISOString().split(".")[0].replace(/-|\.|:/g,"").concat(t.allDay?"":"Z"),i=n.toISOString().split(".")[0].replace(/-|\.|:/g,"").concat(t.allDay?"":"Z");let a="BEGIN:VEVENT\n";a+=`SUMMARY:${t.title}\n`,a+=`DTSTART:${r}\n`,a+=`DTEND:${i}\n`,a+=t.location?`LOCATION:${t.location}\n`:"",a+=t.description?`DESCRIPTION:${t.description}\n`:"",a+="END:VEVENT";const o=[{name:this.params.l10n.title,content:t.title},{name:this.params.l10n.dateStart,content:e.toString()},{name:this.params.l10n.dateEnd,content:n.toString()}];return t.location&&o.push({name:this.params.l10n.location,content:t.location}),t.description&&o.push({name:this.params.l10n.description,content:t.description}),{payload:a,display:this.buildDisplay(this.params.l10n.event,o)}},l.buildDisplay=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";"string"==typeof e&&(e=[{name:"",content:e}]);const n=document.createElement("div");n.classList.add("h5p-kewar-code-display");const r=document.createElement("div");return r.classList.add("h5p-kewar-code-display-title"),r.innerHTML=t,n.appendChild(r),e.forEach((t=>{const e=document.createElement("div");if(e.classList.add("h5p-kewar-code-display-row"),""!==t.name){const n=document.createElement("div");n.classList.add("h5p-kewar-code-display-row-name"),n.innerHTML=`${t.name}: `,e.appendChild(n)}const r=document.createElement("div");r.classList.add("h5p-kewar-code-display-row-content"),r.innerHTML=t.content,e.appendChild(r),n.appendChild(e)})),n},l.handleClosedOverlay=function(t){t&&(this.qrcodeContainer.setAttribute("tabindex",0),this.qrcodeContainer.focus()),this.trigger("resize")},l.calledFromKewAr=function(){return new RegExp(`[?&]kewar=${this.contentId}`).test(window.location.href)},l.bubbleUp=function(t,e,n){t.on(e,(function(t){n.bubblingUpwards=!0,n.trigger(e,t),n.bubblingUpwards=!1}))},l.bubbleDown=function(t,e,n){Array.isArray(n)||(n=[n]),t.on(e,(function(r){t.bubblingUpwards||n.forEach((t=>{t.trigger(e,r)}))}))},l}return i=t,(n=s).prototype=Object.create(i.prototype),n.prototype.constructor=n,o(n,i),s}(H5P.EventDispatcher);s.typeNumber=0,s.errorCorrection="L",s.svgImageSize=4096,H5P.KewArCode=s}()}();

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists