//>>built
/*
 @esri/arcgis-html-sanitizer - v2.2.0 - Tue Feb 04 2020 08:00:46 GMT-0500 (Eastern Standard Time)
 Copyright (c) 2020 - Environmental Systems Research Institute, Inc.
 Apache-2.0

 js-xss
 Copyright (c) 2012-2017 Zongmin Lei(雷宗民) <leizongmin@gmail.com>
 http://ucdok.com
 MIT License, see https://github.com/leizongmin/js-xss/blob/master/LICENSE for details

 Lodash/isPlainObject
 Copyright (c) JS Foundation and other contributors <https://js.foundation/>
 MIT License, see https://raw.githubusercontent.com/lodash/lodash/4.17.10-npm/LICENSE for details
*/
require({cache:{"libs/qrcode":function(){define(["dojo","dijit","dojox"],function(O,T,ea){var P;(function(){function Y(a){this.mode=G.MODE_8BIT_BYTE;this.data=a;this.parsedData=[];a=0;for(var d=this.data.length;a<d;a++){var c=[],e=this.data.charCodeAt(a);65536<e?(c[0]=240|(e&1835008)>>>18,c[1]=128|(e&258048)>>>12,c[2]=128|(e&4032)>>>6,c[3]=128|e&63):2048<e?(c[0]=224|(e&61440)>>>12,c[1]=128|(e&4032)>>>6,c[2]=128|e&63):128<e?(c[0]=192|(e&1984)>>>6,c[1]=128|e&63):c[0]=e;this.parsedData.push(c)}this.parsedData=
Array.prototype.concat.apply([],this.parsedData);this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function J(a,d){this.typeNumber=a;this.errorCorrectLevel=d;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function Q(a,d){if(void 0==a.length)throw Error(a.length+"/"+d);for(var c=0;c<a.length&&0==a[c];)c++;this.num=Array(a.length-c+d);for(d=0;d<a.length-c;d++)this.num[d]=a[d+c]}function K(a,d){this.totalCount=
a;this.dataCount=d}function Z(){this.buffer=[];this.length=0}function aa(){var a=!1,d=navigator.userAgent;/android/i.test(d)&&(a=!0,(aMat=d.toString().match(/android ([0-9]\.[0-9])/i))&&aMat[1]&&(a=parseFloat(aMat[1])));return a}Y.prototype={getLength:function(a){return this.parsedData.length},write:function(a){for(var d=0,c=this.parsedData.length;d<c;d++)a.put(this.parsedData[d],8)}};J.prototype={addData:function(a){a=new Y(a);this.dataList.push(a);this.dataCache=null},isDark:function(a,d){if(0>
a||this.moduleCount<=a||0>d||this.moduleCount<=d)throw Error(a+","+d);return this.modules[a][d]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,d){this.moduleCount=4*this.typeNumber+17;this.modules=Array(this.moduleCount);for(var c=0;c<this.moduleCount;c++){this.modules[c]=Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++)this.modules[c][e]=null}this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-
7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(a,d);7<=this.typeNumber&&this.setupTypeNumber(a);null==this.dataCache&&(this.dataCache=J.createData(this.typeNumber,this.errorCorrectLevel,this.dataList));this.mapData(this.dataCache,d)},setupPositionProbePattern:function(a,d){for(var c=-1;7>=c;c++)if(!(-1>=a+c||this.moduleCount<=a+c))for(var e=-1;7>=e;e++)-1>=d+e||this.moduleCount<=d+e||(this.modules[a+c][d+e]=
0<=c&&6>=c&&(0==e||6==e)||0<=e&&6>=e&&(0==c||6==c)||2<=c&&4>=c&&2<=e&&4>=e?!0:!1)},getBestMaskPattern:function(){for(var a=0,d=0,c=0;8>c;c++){this.makeImpl(!0,c);var e=z.getLostPoint(this);if(0==c||a>e)a=e,d=c}return d},createMovieClip:function(a,d,c){a=a.createEmptyMovieClip(d,c);this.make();for(d=0;d<this.modules.length;d++){c=1*d;for(var e=0;e<this.modules[d].length;e++){var h=1*e;this.modules[d][e]&&(a.beginFill(0,100),a.moveTo(h,c),a.lineTo(h+1,c),a.lineTo(h+1,c+1),a.lineTo(h,c+1),a.endFill())}}return a},
setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)null==this.modules[a][6]&&(this.modules[a][6]=0==a%2);for(a=8;a<this.moduleCount-8;a++)null==this.modules[6][a]&&(this.modules[6][a]=0==a%2)},setupPositionAdjustPattern:function(){for(var a=z.getPatternPosition(this.typeNumber),d=0;d<a.length;d++)for(var c=0;c<a.length;c++){var e=a[d],h=a[c];if(null==this.modules[e][h])for(var m=-2;2>=m;m++)for(var p=-2;2>=p;p++)this.modules[e+m][h+p]=-2==m||2==m||-2==p||2==p||0==m&&0==p?!0:!1}},setupTypeNumber:function(a){for(var d=
z.getBCHTypeNumber(this.typeNumber),c=0;18>c;c++){var e=!a&&1==(d>>c&1);this.modules[Math.floor(c/3)][c%3+this.moduleCount-8-3]=e}for(c=0;18>c;c++)e=!a&&1==(d>>c&1),this.modules[c%3+this.moduleCount-8-3][Math.floor(c/3)]=e},setupTypeInfo:function(a,d){d=z.getBCHTypeInfo(this.errorCorrectLevel<<3|d);for(var c=0;15>c;c++){var e=!a&&1==(d>>c&1);6>c?this.modules[c][8]=e:8>c?this.modules[c+1][8]=e:this.modules[this.moduleCount-15+c][8]=e}for(c=0;15>c;c++)e=!a&&1==(d>>c&1),8>c?this.modules[8][this.moduleCount-
c-1]=e:9>c?this.modules[8][15-c-1+1]=e:this.modules[8][15-c-1]=e;this.modules[this.moduleCount-8][8]=!a},mapData:function(a,d){for(var c=-1,e=this.moduleCount-1,h=7,m=0,p=this.moduleCount-1;0<p;p-=2)for(6==p&&p--;;){for(var k=0;2>k;k++)if(null==this.modules[e][p-k]){var t=!1;m<a.length&&(t=1==(a[m]>>>h&1));z.getMask(d,e,p-k)&&(t=!t);this.modules[e][p-k]=t;h--; -1==h&&(m++,h=7)}e+=c;if(0>e||this.moduleCount<=e){e-=c;c=-c;break}}}};J.PAD0=236;J.PAD1=17;J.createData=function(a,d,c){d=K.getRSBlocks(a,
d);for(var e=new Z,h=0;h<c.length;h++){var m=c[h];e.put(m.mode,4);e.put(m.getLength(),z.getLengthInBits(m.mode,a));m.write(e)}for(h=a=0;h<d.length;h++)a+=d[h].dataCount;if(e.getLengthInBits()>8*a)throw Error("code length overflow. ("+e.getLengthInBits()+"\x3e"+8*a+")");for(e.getLengthInBits()+4<=8*a&&e.put(0,4);0!=e.getLengthInBits()%8;)e.putBit(!1);for(;!(e.getLengthInBits()>=8*a);){e.put(J.PAD0,8);if(e.getLengthInBits()>=8*a)break;e.put(J.PAD1,8)}return J.createBytes(e,d)};J.createBytes=function(a,
d){for(var c=0,e=0,h=0,m=Array(d.length),p=Array(d.length),k=0;k<d.length;k++){var t=d[k].dataCount,A=d[k].totalCount-t;e=Math.max(e,t);h=Math.max(h,A);m[k]=Array(t);for(var w=0;w<m[k].length;w++)m[k][w]=255&a.buffer[w+c];c+=t;w=z.getErrorCorrectPolynomial(A);t=(new Q(m[k],w.getLength()-1)).mod(w);p[k]=Array(w.getLength()-1);for(w=0;w<p[k].length;w++)A=w+t.getLength()-p[k].length,p[k][w]=0<=A?t.get(A):0}for(w=k=0;w<d.length;w++)k+=d[w].totalCount;a=Array(k);for(w=c=0;w<e;w++)for(k=0;k<d.length;k++)w<
m[k].length&&(a[c++]=m[k][w]);for(w=0;w<h;w++)for(k=0;k<d.length;k++)w<p[k].length&&(a[c++]=p[k][w]);return a};for(var G={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},M={L:1,M:0,Q:3,H:2},z={PATTERN_POSITION_TABLE:[[],[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]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(a){for(var d=a<<10;0<=z.getBCHDigit(d)-z.getBCHDigit(z.G15);)d^=z.G15<<z.getBCHDigit(d)-z.getBCHDigit(z.G15);
return(a<<10|d)^z.G15_MASK},getBCHTypeNumber:function(a){for(var d=a<<12;0<=z.getBCHDigit(d)-z.getBCHDigit(z.G18);)d^=z.G18<<z.getBCHDigit(d)-z.getBCHDigit(z.G18);return a<<12|d},getBCHDigit:function(a){for(var d=0;0!=a;)d++,a>>>=1;return d},getPatternPosition:function(a){return z.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,d,c){switch(a){case 0:return 0==(d+c)%2;case 1:return 0==d%2;case 2:return 0==c%3;case 3:return 0==(d+c)%3;case 4:return 0==(Math.floor(d/2)+Math.floor(c/3))%2;case 5:return 0==
d*c%2+d*c%3;case 6:return 0==(d*c%2+d*c%3)%2;case 7:return 0==(d*c%3+(d+c)%2)%2;default:throw Error("bad maskPattern:"+a);}},getErrorCorrectPolynomial:function(a){for(var d=new Q([1],0),c=0;c<a;c++)d=d.multiply(new Q([1,C.gexp(c)],0));return d},getLengthInBits:function(a,d){if(1<=d&&10>d)switch(a){case G.MODE_NUMBER:return 10;case G.MODE_ALPHA_NUM:return 9;case G.MODE_8BIT_BYTE:return 8;case G.MODE_KANJI:return 8;default:throw Error("mode:"+a);}else if(27>d)switch(a){case G.MODE_NUMBER:return 12;
case G.MODE_ALPHA_NUM:return 11;case G.MODE_8BIT_BYTE:return 16;case G.MODE_KANJI:return 10;default:throw Error("mode:"+a);}else if(41>d)switch(a){case G.MODE_NUMBER:return 14;case G.MODE_ALPHA_NUM:return 13;case G.MODE_8BIT_BYTE:return 16;case G.MODE_KANJI:return 12;default:throw Error("mode:"+a);}else throw Error("type:"+d);},getLostPoint:function(a){for(var d=a.getModuleCount(),c=0,e=0;e<d;e++)for(var h=0;h<d;h++){for(var m=0,p=a.isDark(e,h),k=-1;1>=k;k++)if(!(0>e+k||d<=e+k))for(var t=-1;1>=t;t++)0>
h+t||d<=h+t||(0!=k||0!=t)&&p==a.isDark(e+k,h+t)&&m++;5<m&&(c+=3+m-5)}for(e=0;e<d-1;e++)for(h=0;h<d-1;h++)if(m=0,a.isDark(e,h)&&m++,a.isDark(e+1,h)&&m++,a.isDark(e,h+1)&&m++,a.isDark(e+1,h+1)&&m++,0==m||4==m)c+=3;for(e=0;e<d;e++)for(h=0;h<d-6;h++)a.isDark(e,h)&&!a.isDark(e,h+1)&&a.isDark(e,h+2)&&a.isDark(e,h+3)&&a.isDark(e,h+4)&&!a.isDark(e,h+5)&&a.isDark(e,h+6)&&(c+=40);for(h=0;h<d;h++)for(e=0;e<d-6;e++)a.isDark(e,h)&&!a.isDark(e+1,h)&&a.isDark(e+2,h)&&a.isDark(e+3,h)&&a.isDark(e+4,h)&&!a.isDark(e+
5,h)&&a.isDark(e+6,h)&&(c+=40);for(h=m=0;h<d;h++)for(e=0;e<d;e++)a.isDark(e,h)&&m++;return c+Math.abs(100*m/d/d-50)/5*10}},C={glog:function(a){if(1>a)throw Error("glog("+a+")");return C.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return C.EXP_TABLE[a]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},B=0;8>B;B++)C.EXP_TABLE[B]=1<<B;for(B=8;256>B;B++)C.EXP_TABLE[B]=C.EXP_TABLE[B-4]^C.EXP_TABLE[B-5]^C.EXP_TABLE[B-6]^C.EXP_TABLE[B-8];for(B=0;255>B;B++)C.LOG_TABLE[C.EXP_TABLE[B]]=B;
Q.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var d=Array(this.getLength()+a.getLength()-1),c=0;c<this.getLength();c++)for(var e=0;e<a.getLength();e++)d[c+e]^=C.gexp(C.glog(this.get(c))+C.glog(a.get(e)));return new Q(d,0)},mod:function(a){if(0>this.getLength()-a.getLength())return this;for(var d=C.glog(this.get(0))-C.glog(a.get(0)),c=Array(this.getLength()),e=0;e<this.getLength();e++)c[e]=this.get(e);for(e=0;e<a.getLength();e++)c[e]^=
C.gexp(C.glog(a.get(e))+d);return(new Q(c,0)).mod(a)}};K.RS_BLOCK_TABLE=[[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],[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]];K.getRSBlocks=function(a,d){var c=K.getRsBlockTable(a,d);if(void 0==c)throw Error("bad rs block @ typeNumber:"+
a+"/errorCorrectLevel:"+d);a=c.length/3;d=[];for(var e=0;e<a;e++)for(var h=c[3*e],m=c[3*e+1],p=c[3*e+2],k=0;k<h;k++)d.push(new K(m,p));return d};K.getRsBlockTable=function(a,d){switch(d){case M.L:return K.RS_BLOCK_TABLE[4*(a-1)];case M.M:return K.RS_BLOCK_TABLE[4*(a-1)+1];case M.Q:return K.RS_BLOCK_TABLE[4*(a-1)+2];case M.H:return K.RS_BLOCK_TABLE[4*(a-1)+3]}};Z.prototype={get:function(a){return 1==(this.buffer[Math.floor(a/8)]>>>7-a%8&1)},put:function(a,d){for(var c=0;c<d;c++)this.putBit(1==(a>>>
d-c-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var d=Math.floor(this.length/8);this.buffer.length<=d&&this.buffer.push(0);a&&(this.buffer[d]|=128>>>this.length%8);this.length++}};var R=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,
560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];B=function(){var a=function(d,c){this._el=
d;this._htOption=c};a.prototype.draw=function(d){function c(t,A){t=document.createElementNS("http://www.w3.org/2000/svg",t);for(var w in A)A.hasOwnProperty(w)&&t.setAttribute(w,A[w]);return t}var e=this._htOption,h=this._el,m=d.getModuleCount();this.clear();var p=c("svg",{viewBox:"0 0 "+String(m)+" "+String(m),width:"100%",height:"100%",fill:e.colorLight});p.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink");h.appendChild(p);p.appendChild(c("rect",{fill:e.colorDark,
width:"1",height:"1",id:"template"}));for(e=0;e<m;e++)for(h=0;h<m;h++)if(d.isDark(e,h)){var k=c("use",{x:String(e),y:String(h)});k.setAttributeNS("http://www.w3.org/1999/xlink","href","#template");p.appendChild(k)}};a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)};return a}();var fa="svg"===document.documentElement.tagName.toLowerCase()?B:"undefined"==typeof CanvasRenderingContext2D?function(){var a=function(d,c){this._el=d;this._htOption=c};a.prototype.draw=
function(d){for(var c=this._htOption,e=this._el,h=d.getModuleCount(),m=Math.floor(c.width/h),p=Math.floor(c.height/h),k=['\x3ctable style\x3d"border:0;border-collapse:collapse;"\x3e'],t=0;t<h;t++){k.push("\x3ctr\x3e");for(var A=0;A<h;A++)k.push('\x3ctd style\x3d"border:0;border-collapse:collapse;padding:0;margin:0;width:'+m+"px;height:"+p+"px;background-color:"+(d.isDark(t,A)?c.colorDark:c.colorLight)+';"\x3e\x3c/td\x3e');k.push("\x3c/tr\x3e")}k.push("\x3c/table\x3e");e.innerHTML=k.join("");d=e.childNodes[0];
e=(c.width-d.offsetWidth)/2;c=(c.height-d.offsetHeight)/2;0<e&&0<c&&(d.style.margin=c+"px "+e+"px")};a.prototype.clear=function(){this._el.innerHTML=""};return a}():function(){function a(){this._elImage.src=this._elCanvas.toDataURL("image/png");this._elImage.style.display="block";this._elCanvas.style.display="none"}function d(m,p){var k=this;k._fFail=p;k._fSuccess=m;null===k._bSupportDataURI?(m=document.createElement("img"),p=function(){k._bSupportDataURI=!1;k._fFail&&_fFail.call(k)},m.onabort=p,
m.onerror=p,m.onload=function(){k._bSupportDataURI=!0;k._fSuccess&&k._fSuccess.call(k)},m.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg\x3d\x3d"):!0===k._bSupportDataURI&&k._fSuccess?k._fSuccess.call(k):!1===k._bSupportDataURI&&k._fFail&&k._fFail.call(k)}if(this._android&&2.1>=this._android){var c=1/window.devicePixelRatio,e=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=
function(m,p,k,t,A,w,V,U,ba){if("nodeName"in m&&/img/i.test(m.nodeName))for(var D=arguments.length-1;1<=D;D--)arguments[D]*=c;else"undefined"==typeof U&&(arguments[1]*=c,arguments[2]*=c,arguments[3]*=c,arguments[4]*=c);e.apply(this,arguments)}}var h=function(m,p){this._bIsPainted=!1;this._android=aa();this._htOption=p;this._elCanvas=document.createElement("canvas");this._elCanvas.width=p.width;this._elCanvas.height=p.height;m.appendChild(this._elCanvas);this._el=m;this._oContext=this._elCanvas.getContext("2d");
this._bIsPainted=!1;this._elImage=document.createElement("img");this._elImage.alt="Scan me!";this._elImage.style.display="none";this._el.appendChild(this._elImage);this._bSupportDataURI=null};h.prototype.draw=function(m){var p=this._elImage,k=this._oContext,t=this._htOption,A=m.getModuleCount(),w=t.width/A,V=t.height/A,U=Math.round(w),ba=Math.round(V);p.style.display="none";this.clear();for(p=0;p<A;p++)for(var D=0;D<A;D++){var ca=m.isDark(p,D),da=D*w,W=p*V;k.strokeStyle=ca?t.colorDark:t.colorLight;
k.lineWidth=1;k.fillStyle=ca?t.colorDark:t.colorLight;k.fillRect(da,W,w,V);k.strokeRect(Math.floor(da)+.5,Math.floor(W)+.5,U,ba);k.strokeRect(Math.ceil(da)-.5,Math.ceil(W)-.5,U,ba)}this._bIsPainted=!0};h.prototype.makeImage=function(){this._bIsPainted&&d.call(this,a)};h.prototype.isPainted=function(){return this._bIsPainted};h.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height);this._bIsPainted=!1};h.prototype.round=function(m){return m?Math.floor(1E3*
m)/1E3:m};return h}();P=function(a,d){this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:M.H};"string"===typeof d&&(d={text:d});if(d)for(var c in d)this._htOption[c]=d[c];"string"==typeof a&&(a=document.getElementById(a));this._android=aa();this._el=a;this._oQRCode=null;this._oDrawing=new fa(this._el,this._htOption);this._htOption.text&&this.makeCode(this._htOption.text)};P.prototype.makeCode=function(a){var d=this._htOption.correctLevel,c=1;var e=
encodeURI(a).toString().replace(/%[0-9a-fA-F]{2}/g,"a");e=e.length+(e.length!=a?3:0);for(var h=0,m=R.length;h<=m;h++){var p=0;switch(d){case M.L:p=R[h][0];break;case M.M:p=R[h][1];break;case M.Q:p=R[h][2];break;case M.H:p=R[h][3]}if(e<=p)break;else c++}if(c>R.length)throw Error("Too long data");this._oQRCode=new J(c,this._htOption.correctLevel);this._oQRCode.addData(a);this._oQRCode.make();this._el.title=a;this._oDrawing.draw(this._oQRCode);this.makeImage()};P.prototype.makeImage=function(){"function"==
typeof this._oDrawing.makeImage&&(!this._android||3<=this._android)&&this._oDrawing.makeImage()};P.prototype.clear=function(){this._oDrawing.clear()};P.CorrectLevel=M;window.QRCode=P})()})},"dijit/main":function(){define(["dojo/_base/kernel"],function(O){return O.dijit})},"dojox/main":function(){define(["dojo/_base/kernel"],function(O){return O.dojox})},"libs/arcgis-html-sanitizer/arcgis-html-sanitizer":function(){!function(O,T){"object"==typeof exports&&"undefined"!=typeof module?module.exports=
T():"function"==typeof define&&define.amd?define(T):(O=O||self).Sanitizer=T()}(this,function(){function O(b,f){return b(f={exports:{}},f.exports),f.exports}function T(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,
azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,
"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,
"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,
columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,
"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,
"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,
"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,
"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,
"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,
"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,
"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,
"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}function ea(b){var f=b||{},g={},l;for(l in f)g[l]=f[l];(b=g).whiteList=b.whiteList||t.whiteList;b.onAttr=b.onAttr||t.onAttr;b.onIgnoreAttr=b.onIgnoreAttr||t.onIgnoreAttr;b.safeAttrValue=b.safeAttrValue||t.safeAttrValue;this.options=b}function P(b){return b.replace(na,"\x26lt;").replace(oa,
"\x26gt;")}function Y(b){return b.replace(pa,"\x26quot;")}function J(b){return b.replace(qa,'"')}function Q(b){return b.replace(ra,function(f,g){return"x"===g[0]||"X"===g[0]?String.fromCharCode(parseInt(g.substr(1),16)):String.fromCharCode(parseInt(g,10))})}function K(b){return b.replace(sa,":").replace(ta," ")}function Z(b){for(var f="",g=0,l=b.length;g<l;g++)f+=32>b.charCodeAt(g)?" ":b.charAt(g);return D(f)}function aa(b){return b=Z(b=K(b=Q(b=J(b))))}function G(b){return b=P(b=Y(b))}function M(b,
f){for(;f<b.length;f++){var g=b[f];if(" "!==g)return"\x3d"===g?f:-1}}function z(b,f){for(;0<f;f--){var g=b[f];if(" "!==g)return"\x3d"===g?f:-1}}function C(b){return'"'===b[0]&&'"'===b[b.length-1]||"'"===b[0]&&"'"===b[b.length-1]?b.substr(1,b.length-2):b}function B(b){var f=b||{},g={},l;for(l in f)g[l]=f[l];(b=g).stripIgnoreTag&&(b.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),b.onIgnoreTag=L.onIgnoreTagStripAll);b.whiteList=b.whiteList||
L.whiteList;b.onTag=b.onTag||L.onTag;b.onTagAttr=b.onTagAttr||L.onTagAttr;b.onIgnoreTag=b.onIgnoreTag||L.onIgnoreTag;b.onIgnoreTagAttr=b.onIgnoreTagAttr||L.onIgnoreTagAttr;b.safeAttrValue=b.safeAttrValue||L.safeAttrValue;b.escapeHtml=b.escapeHtml||L.escapeHtml;this.options=b;!1===b.css?this.cssFilter=!1:(b.css=b.css||{},this.cssFilter=new ua(b.css))}var R,fa,a=Object.prototype,d=Function.prototype.toString,c=a.hasOwnProperty,e=d.call(Object),h=a.toString,m=(R=Object.getPrototypeOf,fa=Object,function(b){return R(fa(b))}),
p=function(b){var f;if(!(f=!b||"object"!=typeof b||"[object Object]"!=h.call(b))&&(f=!1,null!=b&&"function"!=typeof b.toString))try{f=!!(b+"")}catch(g){}if(f)return!1;b=m(b);if(null===b)return!0;b=c.call(b,"constructor")&&b.constructor;return"function"==typeof b&&b instanceof b&&d.call(b)==e},k=/javascript\s*:/gim,t={whiteList:T(),getDefaultWhiteList:T,onAttr:function(b,f,g){},onIgnoreAttr:function(b,f,g){},safeAttrValue:function(b,f){return k.test(f)?"":f}},A=function(b){return String.prototype.trim?
b.trim():b.replace(/(^\s*)|(\s*$)/g,"")},w=function(b){return String.prototype.trimRight?b.trimRight():b.replace(/(\s*$)/g,"")},V=function(b,f){function g(){if(!n){var x=A(b.slice(r,v)),y=x.indexOf(":");if(-1!==y){var E=A(x.slice(0,y));y=A(x.slice(y+1));E&&(x=f(r,q.length,E,y,x))&&(q+=x+"; ")}}r=v+1}";"!==(b=w(b))[b.length-1]&&(b+=";");for(var l=b.length,n=!1,r=0,v=0,q="";v<l;v++){var u=b[v];if("/"===u&&"*"===b[v+1]){u=b.indexOf("*/",v+2);if(-1===u)break;r=(v=u+1)+1;n=!1}else"("===u?n=!0:")"===u?
n=!1:";"===u?n||g():"\n"===u&&g()}return A(q)};ea.prototype.process=function(b){if(!(b=(b=b||"").toString()))return"";var f=this.options,g=f.whiteList,l=f.onAttr,n=f.onIgnoreAttr,r=f.safeAttrValue;return V(b,function(v,q,u,x,y){var E=g[u],F=!1;if(!0===E?F=E:"function"==typeof E?F=E(x):E instanceof RegExp&&(F=E.test(x)),!0!==F&&(F=!1),x=r(u,x)){var I;v={position:q,sourcePosition:v,source:y,isWhite:F};return F?null==(I=l(u,x,v))?u+":"+x:I:null==(I=n(u,x,v))?void 0:I}})};a=O(function(b,f){for(var g in(f=
b.exports=function(l,n){return(new ea(n)).process(l)}).FilterCSS=ea,t)f[g]=t[g]});var U=(a.FilterCSS,function(b,f){var g;if(Array.prototype.indexOf)return b.indexOf(f);var l=0;for(g=b.length;l<g;l++)if(b[l]===f)return l;return-1}),ba=function(b,f,g){var l;if(Array.prototype.forEach)return b.forEach(f,g);var n=0;for(l=b.length;n<l;n++)f.call(g,b[n],n,b)},D=function(b){return String.prototype.trim?b.trim():b.replace(/(^\s*)|(\s*$)/g,"")},ca=function(b){return(b=/\s|\n|\t/.exec(b))?b.index:-1},da=a.getDefaultWhiteList,
W=new a.FilterCSS,na=/</g,oa=/>/g,pa=/"/g,qa=/&quot;/g,ra=/&#([a-zA-Z0-9]*);?/gim,sa=/&colon;?/gim,ta=/&newline;?/gim,ha=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,la=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,ma=/u\s*r\s*l\s*\(.*/gi,va=/\x3c!--[\s\S]*?--\x3e/g,L={whiteList:{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],
bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border",
"align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:"autoplay controls loop preload src height width".split(" ")},getDefaultWhiteList:function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload",
"src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],
table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:"autoplay controls loop preload src height width".split(" ")}},onTag:function(b,f,g){},onIgnoreTag:function(b,f,g){},onTagAttr:function(b,f,g){},onIgnoreTagAttr:function(b,f,g){},safeAttrValue:function(b,f,g,l){if(g=aa(g),"href"===
f||"src"===f){if("#"===(g=D(g)))return"#";if("http://"!==g.substr(0,7)&&"https://"!==g.substr(0,8)&&"mailto:"!==g.substr(0,7)&&"tel:"!==g.substr(0,4)&&"#"!==g[0]&&"/"!==g[0])return""}else if("background"===f){if(ha.lastIndex=0,ha.test(g))return""}else if("style"===f){if((la.lastIndex=0,la.test(g))||(ma.lastIndex=0,ma.test(g)&&(ha.lastIndex=0,ha.test(g))))return"";!1!==l&&(g=(l=l||W).process(g))}return g=G(g)},escapeHtml:P,escapeQuote:Y,unescapeQuote:J,escapeHtmlEntities:Q,escapeDangerHtml5Entities:K,
clearNonPrintableCharacter:Z,friendlyAttrValue:aa,escapeAttrValue:G,onIgnoreTagStripAll:function(){return""},StripTagBody:function(b,f){"function"!=typeof f&&(f=function(){});var g=!Array.isArray(b),l=[],n=!1;return{onIgnoreTag:function(r,v,q){return g||-1!==U(b,r)?q.isClosing?(l.push([!1!==n?n:q.position,q.position+10]),n=!1,"[/removed]"):(n||(n=q.position),"[removed]"):f(r,v,q)},remove:function(r){var v="",q=0;return ba(l,function(u){v+=r.slice(q,u[0]);q=u[1]}),v+=r.slice(q)}}},stripCommentTag:function(b){return b.replace(va,
"")},stripBlankChar:function(b){b=b.split("");return(b=b.filter(function(f){f=f.charCodeAt(0);return 127!==f&&(!(31>=f)||10===f||13===f)})).join("")},cssFilter:W,getDefaultCSSWhiteList:da},wa=/[^a-zA-Z0-9_:\.\-]/gim,ia={parseTag:function(b,f,g){var l="",n=0,r=!1,v=!1,q=0,u=b.length,x="",y="";for(q=0;q<u;q++)y=b.charAt(q),!1===r?"\x3c"===y&&(r=q):!1===v?"\x3c"===y?(l+=g(b.slice(n,q)),n=r=q):"\x3e"===y?(l+=g(b.slice(n,r)),n=y=b.slice(r,q+1),x=ca(n),n=-1===x?n.slice(1,-1):n.slice(1,x+1),x=("/"===(n=
D(n).toLowerCase()).slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n),l+=f(r,l.length,x,y,"\x3c/"===y.slice(0,2)),n=q+1,r=!1):'"'!==y&&"'"!==y||"\x3d"!==b.charAt(q-1)||(v=y):y===v&&(v=!1);return n<b.length&&(l+=g(b.substr(n))),l},parseAttr:function(b,f){function g(x,y){1>(x=(x=D(x)).replace(wa,"").toLowerCase()).length||(x=f(x,y||""))&&n.push(x)}for(var l=0,n=[],r=!1,v=b.length,q=0;q<v;q++){var u=b.charAt(q);if(!1!==r||"\x3d"!==u)if(!1===r||q!==l||'"'!==u&&"'"!==u||"\x3d"!==b.charAt(q-
1))/\s|\n|\t/.test(u)&&((b=b.replace(/\s|\n|\t/g," "),!1===r)?-1===(u=M(b,q))?(g(D(b.slice(l,q))),r=!1,l=q+1):q=u-1:-1===(u=z(b,q-1))&&(g(r,C(D(b.slice(l,q)))),r=!1,l=q+1));else{if(-1===(u=b.indexOf(u,q+1)))break;g(r,D(b.slice(l+1,u)));r=!1;l=(q=u)+1}else r=b.slice(l,q),l=q+1}return l<b.length&&(!1===r?g(b.slice(l)):g(r,C(D(b.slice(l))))),D(n.join(" "))}},ua=a.FilterCSS,xa=ia.parseTag,ya=ia.parseAttr;B.prototype.process=function(b){if(!(b=(b=b||"").toString()))return"";var f=this.options,g=f.whiteList,
l=f.onTag,n=f.onIgnoreTag,r=f.onTagAttr,v=f.onIgnoreTagAttr,q=f.safeAttrValue,u=f.escapeHtml,x=this.cssFilter;f.stripBlankChar&&(b=L.stripBlankChar(b));f.allowCommentTag||(b=L.stripCommentTag(b));var y=!1;f.stripIgnoreTagBody&&(y=L.StripTagBody(f.stripIgnoreTagBody,n),n=y.onIgnoreTag);b=xa(b,function(E,F,I,S,za){F={sourcePosition:E,position:F,isClosing:za,isWhite:g.hasOwnProperty(I)};if(null!=(E=l(I,S,F)))return E;if(F.isWhite){if(F.isClosing)return"\x3c/"+I+"\x3e";E=function(H){var N=ca(H);if(-1===
N)return{html:"",closing:"/"===H[H.length-2]};N="/"===(H=D(H.slice(N+1,-1)))[H.length-1];return N&&(H=D(H.slice(0,-1))),{html:H,closing:N}}(S);var Aa=g[I];F=ya(E.html,function(H,N){var ja,ka=-1!==U(Aa,H);return null==(ja=r(I,H,N,ka))?ka?(N=q(I,H,N,x))?H+'\x3d"'+N+'"':H:null==(ja=v(I,H,N,ka))?void 0:ja:ja});S="\x3c"+I;return F&&(S+=" "+F),E.closing&&(S+=" /"),S+="\x3e"}return null==(E=n(I,S,F))?u(S):E},u);return y&&(b=y.remove(b)),b};var X=O(function(b,f){function g(n,r){return(new B(r)).process(n)}
for(var l in(f=b.exports=g).filterXSS=g,f.FilterXSS=B,L)f[l]=L[l];for(l in ia)f[l]=ia[l];"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=b.exports)});X.filterXSS;X.FilterXSS;return function(){function b(f,g){var l,n=this;this.arcgisWhiteList={a:["href","target","style"],img:"src width height border alt style".split(" "),video:"autoplay controls height loop muted poster preload width".split(" "),audio:["autoplay",
"controls","loop","muted","preload"],source:["media","src","type"],span:["style"],table:"width height cellpadding cellspacing border style".split(" "),div:["style","align"],font:["size","color","style"],tr:["height","valign","align","style"],td:"height width valign align colspan rowspan nowrap style".split(" "),th:"height width valign align colspan rowspan nowrap style".split(" "),p:["style"],b:[],strong:[],i:[],em:[],u:[],br:[],li:[],ul:[],ol:[],hr:[],tbody:[]};this.allowedProtocols="http https mailto iform tel flow lfmobile arcgis-navigator arcgis-appstudio-player arcgis-survey123 arcgis-collector arcgis-workforce arcgis-explorer arcgis-trek2there mspbi comgooglemaps pdfefile pdfehttp pdfehttps boxapp boxemm awb awbs gropen radarscope".split(" ");
this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(r,v,q,u){return"a"===r&&"href"===v||("img"===r||"source"===r)&&"src"===v?n.sanitizeUrl(q):X.safeAttrValue(r,v,q,u)}};f&&!g?l=f:f&&g?(l=Object.create(this.arcgisFilterOptions),Object.keys(f).forEach(function(r){"whiteList"===r?l.whiteList=n._extendObjectOfArrays([n.arcgisWhiteList,f.whiteList||{}]):l[r]=f[r]})):(l=Object.create(this.arcgisFilterOptions)).whiteList=this.arcgisWhiteList;this.xssFilterOptions=l;this._xssFilter=new X.FilterXSS(l);
this.xss=X}return b.prototype.sanitize=function(f,g){switch(void 0===g&&(g={}),typeof f){case "number":return isNaN(f)||!isFinite(f)?null:f;case "boolean":return f;case "string":return this._xssFilter.process(f);case "object":return this._iterateOverObject(f,g);default:if(!g.allowUndefined||void 0!==f)return null}},b.prototype.sanitizeUrl=function(f){var g=this._trim(f.substring(0,f.indexOf(":")));return"/"===f||"#"===f||"#"===f[0]||-1<this.allowedProtocols.indexOf(g.toLowerCase())?X.escapeAttrValue(f):
""},b.prototype.validate=function(f,g){void 0===g&&(g={});g=this.sanitize(f,g);return{isValid:f===g,sanitized:g}},b.prototype._extendObjectOfArrays=function(f){var g={};return f.forEach(function(l){Object.keys(l).forEach(function(n){Array.isArray(l[n])&&Array.isArray(g[n])?g[n]=g[n].concat(l[n]):g[n]=l[n]})}),g},b.prototype._iterateOverObject=function(f,g){var l=this;void 0===g&&(g={});try{var n=!1,r=void 0;if(Array.isArray(f))r=f.reduce(function(v,q){var u=l.validate(q,g);return u.isValid?v.concat([q]):
(n=!0,v.concat([u.sanitized]))},[]);else{if(!p(f))return g.allowUndefined&&void 0===f?void 0:null;r=Object.keys(f).reduce(function(v,q){var u=f[q],x=l.validate(u,g);return x.isValid?v[q]=u:(n=!0,v[q]=x.sanitized),v},{})}return n?r:f}catch(v){return null}},b.prototype._trim=function(f){return String.prototype.trim?f.trim():f.replace(/(^\s*)|(\s*$)/g,"")},b}()})},"*noref":1}});define(["./qrcode","./arcgis-html-sanitizer/arcgis-html-sanitizer"],function(){});