CINXE.COM

Loading...

<!DOCTYPE html> <!-- Build: 1.1.298.0 --> <!-- StateVersion: 2.1.1 --> <!-- DeploymentMode: Development --> <!-- CorrelationId: 79d533a2-4ee5-4f56-a26a-7efbe0136550 --> <!-- DataCenter: BL2 --> <!-- Slice: 001-000 --> <html lang="en"><head><link rel="icon" href="data:;base64,iVBORw0KGgo="><script data-container="true" nonce="+ePUV3CW+9TyVMU7ykmv8g==">var SA_FIELDS = { "AttributeFields": [ { "UX_INPUT_TYPE": "TextBox", "USER_INPUT_TYPE": "TextBox", "IS_TEXT": true, "IS_EMAIL": false, "IS_PASSWORD": false, "IS_DATE": false, "IS_RADIO": false, "IS_DROP": false, "IS_TEXT_IN_PARAGRAPH": false, "IS_CHECK_MULTI": false, "IS_LINK": false, "VERIFY": false, "DN": "Email Address", "ID": "email", "U_HELP": "Email address that can be used to contact you.", "DAY_PRE": "0", "MONTH_PRE": "0", "YEAR_PRE": "0", "PAT": "^(?!.{51})(\\w+([-.&#39;]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)$", "PAT_DESC": "The email address you entered does not adhere to CFA Institute standards. Please use a different email address.", "IS_REQ": true, "IS_RDO": false, "OPTIONS": [] }, { "UX_INPUT_TYPE": "CheckboxMultiSelect", "USER_INPUT_TYPE": "CheckboxMultiSelect", "IS_TEXT": false, "IS_EMAIL": false, "IS_PASSWORD": false, "IS_DATE": false, "IS_RADIO": false, "IS_DROP": false, "IS_TEXT_IN_PARAGRAPH": false, "IS_CHECK_MULTI": true, "IS_LINK": false, "VERIFY": false, "DN": "", "ID": "extension_isConsentingDataCollection", "U_HELP": "Do you consent to collection and usage of data?", "DAY_PRE": "0", "MONTH_PRE": "0", "YEAR_PRE": "0", "IS_REQ": true, "IS_RDO": false, "OPTIONS": [ { "DISP": "By creating an account, I agree and consent to receive communications and updates about CFA Institute products and services. I have reviewed and acknowledged the Privacy Policy along with the Terms and Conditions therein.", "VAL": "true", "PRESEL": false, "AUTOFOCUS": true } ] } ] }; var CONTENT = { "heading": "Create Account", "month": "Month", "disclaimer_link_2_text": "", "ver_but_default": "Default", "ver_fail_server": "We are having trouble verifying your email address. Please enter a valid email address and try again.", "ver_intro_msg": "&lt;strong&gt;Email verification needed.&lt;/strong&gt; We will send a verification code to the Email address below.", "ver_fail_throttled": "There have been too many requests to verify this email address. Please wait a while, then try again.", "months": "January, February, March, April, May, June, July, August, September, October, November, December", "ver_input": "Verification code", "ver_fail_retry": "That code is incorrect. Please try again.", "error_requiredFieldMissing": "A required field is missing. Please fill out all required fields and try again.", "error_passwordEntryMismatch": "The Password and Confirm Password fields do not match. Please try again.", "helplink_text": "What is this?", "alert_yes": "Yes", "verifying_blurb": "Please wait while we process your information.", "ver_sent": "Verification code has been sent to:", "ver_but_edit": "Change e-mail", "ver_but_send": "Send verification code", "ver_success_msg": "&lt;strong&gt;Email verified.&lt;/strong&gt; Continue with creating your account.", "cancel_message": "The user has cancelled entering self-asserted information", "error_fieldIncorrect": "One or more fields are filled out incorrectly. Please check your entries and try again.", "ver_incorrect_format": "Incorrect format.", "disclaimer_msg_intro": "", "alert_message": "Are you sure that you want to cancel entering your details?", "button_continue": "Continue", "alert_title": "Cancel Entering Your Details", "ver_fail_no_retry": "You&#39;ve made too many incorrect attempts. Please try again later.", "alert_no": "No", "preloader_alt": "Please wait", "ver_fail_code_expired": "That code is expired. Please request a new code.", "button_cancel": "Cancel", "ver_info_msg": "• Verification code has been sent to the Email Address below\n• Verification code is active for 10 minutes\n• Enter code below to continue password reset\n• Check your spam folder if you do not see the Email", "disclaimer_link_1_url": "", "disclaimer_link_1_text": "", "ver_but_verify": "Verify Email", "required_field": "This information is required.", "ver_but_resend": "Send new code", "initial_intro": "New here? Let&#39;s get started.", "disclaimer_link_2_url": "", "year": "Year", "day": "Day" }; var SETTINGS = { "remoteResource": "https://uxpatterns.stage.cfainstitute.org/Static/CIAM/selfAsserted.html?v=2", "retryLimit": 3, "trimSpacesInPassword": true, "api": "SelfAsserted", "csrf": "N3BiUXdpL2hmRldXKzBLWTM0WWF6NTJJSk9oK1lFMy9iY1p1aE91WStRaVVJSXZNdGVUNGlOdkJMQnF1TGZBT0hDZGpKWnFBQVdzRStXNGp1SGVMa0E9PTsyMDI0LTExLTI3VDIwOjQ5OjU3LjI5MTk4NzNaO3orVkhBdFplZWF4M1dlakUySTJneWc9PTt7IlRhcmdldEVudGl0eSI6IkdldFF1ZXJ5U3RyaW5nUGFyYW1ldGVyc0V4Y2hhbmdlIiwiT3JjaGVzdHJhdGlvblN0ZXAiOjN9", "transId": "StateProperties=eyJUSUQiOiI3OWQ1MzNhMi00ZWU1LTRmNTYtYTI2YS03ZWZiZTAxMzY1NTAifQ", "pageViewId": "63649f5f-b580-4f00-b5fc-64df161f313e", "suppressElementCss": false, "isPageViewIdSentWithHeader": false, "allowAutoFocusOnPasswordField": true, "pageMode": 1, "config": { "timeout": "180000", "retryLimit": "7", "showCancelAlert": "False", "showContinueButton": "True", "showCancelButton": "false", "enableFocusOnFirstEditableField": "True", "inputVerificationDelayTimeInMilliseconds": "2000", "showHeading": "true", "announceVerCompleteMsg": "True" }, "hosts": { "tenant": "/azstgb2c.onmicrosoft.com/B2C_1A_Customer_CFA_signup_signin_B2CLogin", "policy": "B2C_1A_Customer_CFA_signup_signin_B2CLogin", "static": "https://azstgb2c.b2clogin.com/static/" }, "locale": { "lang": "en" }, "tenantBranding": { "Locale": "0", "bannerLogoUrl": "https://aadcdn.msftauthimages.net/dbd5a2dd-b18tengzqqfbs1wqy-wmt6j3wmeijt-jg66yfqwpu0/logintenantbranding/0/bannerlogo?ts=637618649361520635", "backgroundColor": "#002f6c" }, "xhrSettings": { "retryEnabled": true, "retryMaxAttempts": 3, "retryDelay": 200, "retryExponent": 2, "retryOn": [ "error", "timeout" ] } }; </script><script nonce="+ePUV3CW+9TyVMU7ykmv8g==">window.staticHost="https://azstgb2c.b2clogin.com/static";window.targetSlice="001-000";window.targetDc="BL2";window.initializationTimeout=30000;window.diagsAlways=true;window.maxTrace=1000</script><script id="element" data-script="element" nonce="+ePUV3CW+9TyVMU7ykmv8g==">function PageLoadTime(){}function _isFunction(n){return"function"==typeof n}function _mapObject(n,t){for(var r=[],n=n||[],i=0,u=n.length;i<u;i++)r.push(t(n[i],i));return r}function _getPerformanceObjectData(n){var i={},t;if(n.toJSON)return n.toJSON();for(t in n)_isFunction(n[t])||(i[t]=n[t]);return i}var QRCode,$trace,$diags,$santizer,preloadCssLink,$i2e,$modal,$predicateValidation,$element;(function(){function c(n){var u,f,i,t;for(this.mode=r.MODE_8BIT_BYTE,this.data=n,this.parsedData=[],u=0,f=this.data.length;u<f;u++)i=[],t=this.data.charCodeAt(u),t>65536?(i[0]=240|(t&1835008)>>>18,i[1]=128|(t&258048)>>>12,i[2]=128|(t&4032)>>>6,i[3]=128|t&63):t>2048?(i[0]=224|(t&61440)>>>12,i[1]=128|(t&4032)>>>6,i[2]=128|t&63):t>128?(i[0]=192|(t&1984)>>>6,i[1]=128|t&63):i[0]=t,this.parsedData.push(i);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 u(n,t){this.typeNumber=n;this.errorCorrectLevel=t;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function h(n,t){var i,r;if(n.length==undefined)throw new Error(n.length+"/"+t);for(i=0;i<n.length&&n[i]==0;)i++;for(this.num=new Array(n.length-i+t),r=0;r<n.length-i;r++)this.num[r]=n[r+i]}function e(n,t){this.totalCount=n;this.dataCount=t}function l(){this.buffer=[];this.length=0}function p(){return typeof CanvasRenderingContext2D!="undefined"}function a(){var t=!1,i=navigator.userAgent,n;return/android/i.test(i)&&(t=!0,n=i.toString().match(/android ([0-9]\.[0-9])/i),n&&n[1]&&(t=parseFloat(n[1]))),t}function b(n,t){for(var r,u=1,e=k(n),i=0,o=s.length;i<=o;i++){r=0;switch(t){case f.L:r=s[i][0];break;case f.M:r=s[i][1];break;case f.Q:r=s[i][2];break;case f.H:r=s[i][3]}if(e<=r)break;else u++}if(u>s.length)throw new Error("Too long data");return u}function k(n){var t=encodeURI(n).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=n?3:0)}var i,s;c.prototype={getLength:function(){return this.parsedData.length},write:function(n){for(var t=0,i=this.parsedData.length;t<i;t++)n.put(this.parsedData[t],8)}};u.prototype={addData:function(n){var t=new c(n);this.dataList.push(t);this.dataCache=null},isDark:function(n,t){if(n<0||this.moduleCount<=n||t<0||this.moduleCount<=t)throw new Error(n+","+t);return this.modules[n][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(n,t){var i,r;for(this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount),i=0;i<this.moduleCount;i++)for(this.modules[i]=new Array(this.moduleCount),r=0;r<this.moduleCount;r++)this.modules[i][r]=null;this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(n,t);this.typeNumber>=7&&this.setupTypeNumber(n);this.dataCache==null&&(this.dataCache=u.createData(this.typeNumber,this.errorCorrectLevel,this.dataList));this.mapData(this.dataCache,t)},setupPositionProbePattern:function(n,t){for(var r,i=-1;i<=7;i++)if(!(n+i<=-1)&&!(this.moduleCount<=n+i))for(r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[n+i][t+r]=0<=i&&i<=6&&(r==0||r==6)||0<=r&&r<=6&&(i==0||i==6)||2<=i&&i<=4&&2<=r&&r<=4?!0:!1)},getBestMaskPattern:function(){for(var i,r=0,u=0,t=0;t<8;t++)this.makeImpl(!0,t),i=n.getLostPoint(this),(t==0||r>i)&&(r=i,u=t);return u},createMovieClip:function(n,t,i){var r=n.createEmptyMovieClip(t,i),u=1,f,e,o,s,h;for(this.make(),f=0;f<this.modules.length;f++)for(e=f*u,o=0;o<this.modules[f].length;o++)s=o*u,h=this.modules[f][o],h&&(r.beginFill(0,100),r.moveTo(s,e),r.lineTo(s+u,e),r.lineTo(s+u,e+u),r.lineTo(s,e+u),r.endFill());return r},setupTimingPattern:function(){for(var t,n=8;n<this.moduleCount-8;n++)this.modules[n][6]==null&&(this.modules[n][6]=n%2==0);for(t=8;t<this.moduleCount-8;t++)this.modules[6][t]==null&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var u,e,o,t,i,r=n.getPatternPosition(this.typeNumber),f=0;f<r.length;f++)for(u=0;u<r.length;u++)if(e=r[f],o=r[u],this.modules[e][o]==null)for(t=-2;t<=2;t++)for(i=-2;i<=2;i++)this.modules[e+t][o+i]=t==-2||t==2||i==-2||i==2||t==0&&i==0?!0:!1},setupTypeNumber:function(t){for(var r,u=n.getBCHTypeNumber(this.typeNumber),i=0;i<18;i++)r=!t&&(u>>i&1)==1,this.modules[Math.floor(i/3)][i%3+this.moduleCount-11]=r;for(i=0;i<18;i++)r=!t&&(u>>i&1)==1,this.modules[i%3+this.moduleCount-11][Math.floor(i/3)]=r},setupTypeInfo:function(t,i){for(var u,e=this.errorCorrectLevel<<3|i,f=n.getBCHTypeInfo(e),r=0;r<15;r++)u=!t&&(f>>r&1)==1,r<6?this.modules[r][8]=u:r<8?this.modules[r+1][8]=u:this.modules[this.moduleCount-15+r][8]=u;for(r=0;r<15;r++)u=!t&&(f>>r&1)==1,r<8?this.modules[8][this.moduleCount-r-1]=u:r<9?this.modules[8][15-r]=u:this.modules[8][14-r]=u;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,i){for(var f,e,c,o=-1,r=this.moduleCount-1,s=7,h=0,u=this.moduleCount-1;u>0;u-=2)for(u==6&&u--;;){for(f=0;f<2;f++)this.modules[r][u-f]==null&&(e=!1,h<t.length&&(e=(t[h]>>>s&1)==1),c=n.getMask(i,r,u-f),c&&(e=!e),this.modules[r][u-f]=e,s--,s==-1&&(h++,s=7));if(r+=o,r<0||this.moduleCount<=r){r-=o;o=-o;break}}}};u.PAD0=236;u.PAD1=17;u.createData=function(t,i,r){for(var h,s,c=e.getRSBlocks(t,i),f=new l,o=0;o<r.length;o++)h=r[o],f.put(h.mode,4),f.put(h.getLength(),n.getLengthInBits(h.mode,t)),h.write(f);for(s=0,o=0;o<c.length;o++)s+=c[o].dataCount;if(f.getLengthInBits()>s*8)throw new Error("code length overflow. ("+f.getLengthInBits()+">"+s*8+")");for(f.getLengthInBits()+4<=s*8&&f.put(0,4);f.getLengthInBits()%8!=0;)f.putBit(!1);for(;;){if(f.getLengthInBits()>=s*8)break;if(f.put(u.PAD0,8),f.getLengthInBits()>=s*8)break;f.put(u.PAD1,8)}return u.createBytes(f,c)};u.createBytes=function(t,i){for(var o,a,y,p,s,w,r,b=0,c=0,l=0,f=new Array(i.length),e=new Array(i.length),u=0;u<i.length;u++){for(o=i[u].dataCount,a=i[u].totalCount-o,c=Math.max(c,o),l=Math.max(l,a),f[u]=new Array(o),r=0;r<f[u].length;r++)f[u][r]=255&t.buffer[r+b];b+=o;var v=n.getErrorCorrectPolynomial(a),d=new h(f[u],v.getLength()-1),k=d.mod(v);for(e[u]=new Array(v.getLength()-1),r=0;r<e[u].length;r++)y=r+k.getLength()-e[u].length,e[u][r]=y>=0?k.get(y):0}for(p=0,r=0;r<i.length;r++)p+=i[r].totalCount;for(s=new Array(p),w=0,r=0;r<c;r++)for(u=0;u<i.length;u++)r<f[u].length&&(s[w++]=f[u][r]);for(r=0;r<l;r++)for(u=0;u<i.length;u++)r<e[u].length&&(s[w++]=e[u][r]);return s};var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},f={L:1,M:0,Q:3,H:2},o={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},n={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(t){for(var i=t<<10;n.getBCHDigit(i)-n.getBCHDigit(n.G15)>=0;)i^=n.G15<<n.getBCHDigit(i)-n.getBCHDigit(n.G15);return(t<<10|i)^n.G15_MASK},getBCHTypeNumber:function(t){for(var i=t<<12;n.getBCHDigit(i)-n.getBCHDigit(n.G18)>=0;)i^=n.G18<<n.getBCHDigit(i)-n.getBCHDigit(n.G18);return t<<12|i},getBCHDigit:function(n){for(var t=0;n!=0;)t++,n>>>=1;return t},getPatternPosition:function(t){return n.PATTERN_POSITION_TABLE[t-1]},getMask:function(n,t,i){switch(n){case o.PATTERN000:return(t+i)%2==0;case o.PATTERN001:return t%2==0;case o.PATTERN010:return i%3==0;case o.PATTERN011:return(t+i)%3==0;case o.PATTERN100:return(Math.floor(t/2)+Math.floor(i/3))%2==0;case o.PATTERN101:return t*i%2+t*i%3==0;case o.PATTERN110:return(t*i%2+t*i%3)%2==0;case o.PATTERN111:return(t*i%3+(t+i)%2)%2==0;default:throw new Error("bad maskPattern:"+n);}},getErrorCorrectPolynomial:function(n){for(var i=new h([1],0),r=0;r<n;r++)i=i.multiply(new h([1,t.gexp(r)],0));return i},getLengthInBits:function(n,t){if(1<=t&&t<10)switch(n){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:return 8;case r.MODE_KANJI:return 8;default:throw new Error("mode:"+n);}else if(t<27)switch(n){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+n);}else if(t<41)switch(n){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+n);}else throw new Error("type:"+t);},getLostPoint:function(n){for(var s,c,u,f,e,h,t,l,r=n.getModuleCount(),o=0,i=0;i<r;i++)for(t=0;t<r;t++){for(s=0,c=n.isDark(i,t),u=-1;u<=1;u++)if(!(i+u<0)&&!(r<=i+u))for(f=-1;f<=1;f++)t+f<0||r<=t+f||(u!=0||f!=0)&&c==n.isDark(i+u,t+f)&&s++;s>5&&(o+=3+s-5)}for(i=0;i<r-1;i++)for(t=0;t<r-1;t++)e=0,n.isDark(i,t)&&e++,n.isDark(i+1,t)&&e++,n.isDark(i,t+1)&&e++,n.isDark(i+1,t+1)&&e++,(e==0||e==4)&&(o+=3);for(i=0;i<r;i++)for(t=0;t<r-6;t++)n.isDark(i,t)&&!n.isDark(i,t+1)&&n.isDark(i,t+2)&&n.isDark(i,t+3)&&n.isDark(i,t+4)&&!n.isDark(i,t+5)&&n.isDark(i,t+6)&&(o+=40);for(t=0;t<r;t++)for(i=0;i<r-6;i++)n.isDark(i,t)&&!n.isDark(i+1,t)&&n.isDark(i+2,t)&&n.isDark(i+3,t)&&n.isDark(i+4,t)&&!n.isDark(i+5,t)&&n.isDark(i+6,t)&&(o+=40);for(h=0,t=0;t<r;t++)for(i=0;i<r;i++)n.isDark(i,t)&&h++;return l=Math.abs(100*h/r/r-50)/5,o+l*10}},t={glog:function(n){if(n<1)throw new Error("glog("+n+")");return t.LOG_TABLE[n]},gexp:function(n){while(n<0)n+=255;while(n>=256)n-=255;return t.EXP_TABLE[n]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(i=0;i<8;i++)t.EXP_TABLE[i]=1<<i;for(i=8;i<256;i++)t.EXP_TABLE[i]=t.EXP_TABLE[i-4]^t.EXP_TABLE[i-5]^t.EXP_TABLE[i-6]^t.EXP_TABLE[i-8];for(i=0;i<255;i++)t.LOG_TABLE[t.EXP_TABLE[i]]=i;h.prototype={get:function(n){return this.num[n]},getLength:function(){return this.num.length},multiply:function(n){for(var i,u=new Array(this.getLength()+n.getLength()-1),r=0;r<this.getLength();r++)for(i=0;i<n.getLength();i++)u[r+i]^=t.gexp(t.glog(this.get(r))+t.glog(n.get(i)));return new h(u,0)},mod:function(n){var u,r,i;if(this.getLength()-n.getLength()<0)return this;for(u=t.glog(this.get(0))-t.glog(n.get(0)),r=new Array(this.getLength()),i=0;i<this.getLength();i++)r[i]=this.get(i);for(i=0;i<n.getLength();i++)r[i]^=t.gexp(t.glog(n.get(i))+u);return new h(r,0).mod(n)}};e.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]];e.getRSBlocks=function(n,t){var r=e.getRsBlockTable(n,t),o,u,i,f;if(r==undefined)throw new Error("bad rs block @ typeNumber:"+n+"/errorCorrectLevel:"+t);for(o=r.length/3,u=[],i=0;i<o;i++){var s=r[i*3+0],h=r[i*3+1],c=r[i*3+2];for(f=0;f<s;f++)u.push(new e(h,c))}return u};e.getRsBlockTable=function(n,t){switch(t){case f.L:return e.RS_BLOCK_TABLE[(n-1)*4+0];case f.M:return e.RS_BLOCK_TABLE[(n-1)*4+1];case f.Q:return e.RS_BLOCK_TABLE[(n-1)*4+2];case f.H:return e.RS_BLOCK_TABLE[(n-1)*4+3];default:return undefined}};l.prototype={get:function(n){var t=Math.floor(n/8);return(this.buffer[t]>>>7-n%8&1)==1},put:function(n,t){for(var i=0;i<t;i++)this.putBit((n>>>t-i-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(n){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0);n&&(this.buffer[t]|=128>>>this.length%8);this.length++}};s=[[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]];var v=function(){var n=function(n,t){this._el=n;this._htOption=t};return n.prototype.draw=function(n){function e(n,t){var r=document.createElementNS("http://www.w3.org/2000/svg",n);for(var i in t)t.hasOwnProperty(i)&&r.setAttribute(i,t[i]);return r}var r=this._htOption,s=this._el,t=n.getModuleCount(),h=Math.floor(r.width/t),c=Math.floor(r.height/t),i,u,f,o;for(this.clear(),i=e("svg",{viewBox:"0 0 "+String(t)+" "+String(t),width:"100%",height:"100%",fill:r.colorLight}),i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),s.appendChild(i),i.appendChild(e("rect",{fill:r.colorLight,width:"100%",height:"100%"})),i.appendChild(e("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"})),u=0;u<t;u++)for(f=0;f<t;f++)n.isDark(u,f)&&(o=e("use",{x:String(f),y:String(u)}),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(o))},n.prototype.clear=function(){while(this._el.hasChildNodes())this._el.removeChild(this._el.lastChild)},n}(),w=document.documentElement.tagName.toLowerCase()==="svg",y=w?v:p()?function(){function r(){this._elImage.src=this._elCanvas.toDataURL("image/png");this._elImage.style.display="block";this._elCanvas.style.display="none"}function u(n,t){var i=this;if(i._fFail=t,i._fSuccess=n,i._bSupportDataURI===null){var r=document.createElement("img"),u=function(){i._bSupportDataURI=!1;i._fFail&&i._fFail.call(i)},f=function(){i._bSupportDataURI=!0;i._fSuccess&&i._fSuccess.call(i)};r.onabort=u;r.onerror=u;r.onload=f;r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}i._bSupportDataURI===!0&&i._fSuccess?i._fSuccess.call(i):i._bSupportDataURI===!1&&i._fFail&&i._fFail.call(i)}var t,i,n;return this._android&&this._android<=2.1&&(t=1/window.devicePixelRatio,i=CanvasRenderingContext2D.prototype.drawImage,CanvasRenderingContext2D.prototype.drawImage=function(n,r,u,f,e,o,s,h){if("nodeName"in n&&/img/i.test(n.nodeName))for(var c=arguments.length-1;c>=1;c--)arguments[c]=arguments[c]*t;else typeof h=="undefined"&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);i.apply(this,arguments)}),n=function(n,t){this._bIsPainted=!1;this._android=a();this._htOption=t;this._elCanvas=document.createElement("canvas");this._elCanvas.width=t.width;this._elCanvas.height=t.height;n.appendChild(this._elCanvas);this._el=n;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},n.prototype.draw=function(n){var v=this._elImage,t=this._oContext,i=this._htOption,f=n.getModuleCount(),e=i.width/f,o=i.height/f,c=Math.round(e),l=Math.round(o),r,u;for(v.style.display="none",this.clear(),r=0;r<f;r++)for(u=0;u<f;u++){var a=n.isDark(r,u),s=u*e,h=r*o;t.strokeStyle=a?i.colorDark:i.colorLight;t.lineWidth=1;t.fillStyle=a?i.colorDark:i.colorLight;t.fillRect(s,h,e,o);t.strokeRect(Math.floor(s)+.5,Math.floor(h)+.5,c,l);t.strokeRect(Math.ceil(s)-.5,Math.ceil(h)-.5,c,l)}this._bIsPainted=!0},n.prototype.makeImage=function(){this._bIsPainted&&u.call(this,r)},n.prototype.isPainted=function(){return this._bIsPainted},n.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height);this._bIsPainted=!1},n.prototype.round=function(n){return n?Math.floor(n*1e3)/1e3:n},n}():function(){var n=function(n,t){this._el=n;this._htOption=t};return n.prototype.draw=function(n){for(var u,t=this._htOption,o=this._el,r=n.getModuleCount(),c=Math.floor(t.width/r),l=Math.floor(t.height/r),i=['<table style="border:0;border-collapse:collapse;">'],f=0;f<r;f++){for(i.push("<tr>"),u=0;u<r;u++)i.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+c+"px;height:"+l+"px;background-color:"+(n.isDark(f,u)?t.colorDark:t.colorLight)+';"><\/td>');i.push("<\/tr>")}i.push("<\/table>");o.innerHTML=i.join("");var e=o.childNodes[0],s=(t.width-e.offsetWidth)/2,h=(t.height-e.offsetHeight)/2;s>0&&h>0&&(e.style.margin=h+"px "+s+"px")},n.prototype.clear=function(){this._el.innerHTML=""},n}();QRCode=function(n,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:f.H},typeof t=="string"&&(t={text:t}),t)for(var i in t)this._htOption[i]=t[i];typeof n=="string"&&(n=document.getElementById(n));this._htOption.useSVG&&(y=v);this._android=a();this._el=n;this._oQRCode=null;this._oDrawing=new y(this._el,this._htOption);this._htOption.text&&this.makeCode(this._htOption.text)};QRCode.prototype.makeCode=function(n){this._oQRCode=new u(b(n,this._htOption.correctLevel),this._htOption.correctLevel);this._oQRCode.addData(n);this._oQRCode.make();this._el.title=n;this._oDrawing.draw(this._oQRCode);this.makeImage()};QRCode.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()};QRCode.prototype.clear=function(){this._oDrawing.clear()};QRCode.CorrectLevel=f})(); /*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ if(!function(n,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){"use strict";function br(n,t,i){var r,e,u=(i=i||f).createElement("script");if(u.text=n,t)for(r in ee)(e=t[r]||t.getAttribute&&t.getAttribute(r))&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function it(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ri[pr.call(n)]||"object":typeof n}function pi(n){var t=!!n&&"length"in n&&n.length,i=it(n);return!u(n)&&!tt(n)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in n)}function c(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function bi(n,t,r){return u(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):"string"!=typeof t?i.grep(n,function(n){return-1<ii.call(t,n)!==r}):i.filter(t,n,r)}function uu(n,t){while((n=n[t])&&1!==n.nodeType);return n}function ut(n){return n}function fi(n){throw n;}function fu(n,t,i,r){var f;try{n&&u(f=n.promise)?f.call(n).done(t).fail(i):n&&u(f=n.then)?f.call(n,t,i):t.apply(void 0,[n].slice(r))}catch(n){i.apply(void 0,[n])}}function oi(){f.removeEventListener("DOMContentLoaded",oi);n.removeEventListener("load",oi);i.ready()}function ce(n,t){return t.toUpperCase()}function y(n){return n.replace(se,"ms-").replace(he,ce)}function pt(){this.expando=i.expando+pt.uid++}function ou(n,t,i){var u,r;if(void 0===i&&1===n.nodeType)if(u="data-"+t.replace(ae,"-$&").toLowerCase(),"string"==typeof(i=n.getAttribute(u))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:le.test(r)?JSON.parse(r):r)}catch(n){}o.set(n,t,i)}else i=void 0;return i}function hu(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=n.nodeType&&(i.cssNumber[t]||"px"!==e&&+o)&&wt.exec(i.css(n,t));if(f&&f[3]!==e){for(o/=2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f/=h;f*=2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function et(n,t){for(var h,f,a,s,c,l,e,o=[],u=0,v=n.length;u<v;u++)(f=n[u]).style&&(h=f.style.display,t?("none"===h&&(o[u]=r.get(f,"display")||null,o[u]||(f.style.display="")),""===f.style.display&&kt(f)&&(o[u]=(e=c=s=void 0,c=(a=f).ownerDocument,l=a.nodeName,(e=di[l])||(s=c.body.appendChild(c.createElement(l)),e=i.css(s,"display"),s.parentNode.removeChild(s),"none"===e&&(e="block"),di[l]=e)))):"none"!==h&&(o[u]="none",r.set(f,"display",h)));for(u=0;u<v;u++)null!=o[u]&&(n[u].style.display=o[u]);return n}function s(n,t){var r;return r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):[],void 0===t||t&&c(n,t)?i.merge([n],r):r}function gi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function vu(n,t,r,u,f){for(var e,o,p,a,w,v,c=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if((e=n[l])||0===e)if("object"===it(e))i.merge(y,e.nodeType?[e]:e);else if(au.test(e)){for(o=o||c.appendChild(t.createElement("div")),p=(cu.exec(e)||["",""])[1].toLowerCase(),a=h[p]||h._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);(o=c.firstChild).textContent=""}else y.push(t.createTextNode(e));for(c.textContent="",l=0;e=y[l++];)if(u&&-1<i.inArray(e,u))f&&f.push(e);else if(w=ft(e),o=s(c.appendChild(e),"script"),w&&gi(o),r)for(v=0;e=o[v++];)lu.test(e.type||"")&&r.push(e);return c}function ot(){return!0}function st(){return!1}function we(n,t){return n===function(){try{return f.activeElement}catch(n){}}()==("focus"===t)}function nr(n,t,r,u,f,e){var o,s;if("object"==typeof t){for(s in"string"!=typeof r&&(u=u||r,r=void 0),t)nr(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),!1===f)f=st;else if(!f)return n;return 1===e&&(o=f,(f=function(n){return i().off(n),o.apply(this,arguments)}).guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function hi(n,t,u){u?(r.set(n,t,!1),i.event.add(n,t,{namespace:!1,handler:function(n){var o,e,f=r.get(this,t);if(1&n.isTrigger&&this[t]){if(f.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(f=b.call(arguments),r.set(this,t,f),o=u(this,t),this[t](),f!==(e=r.get(this,t))||o?r.set(this,t,!1):e={},f!==e)return n.stopImmediatePropagation(),n.preventDefault(),e.value}else f.length&&(r.set(this,t,{value:i.event.trigger(i.extend(f[0],i.Event.prototype),f.slice(1),this)}),n.stopImmediatePropagation())}})):void 0===r.get(n,t)&&i.event.add(n,t,ot)}function pu(n,t){return c(n,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")&&i(n).children("tbody")[0]||n}function no(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function to(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function wu(n,t){var u,c,f,s,h,l,a,e;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),e=s.events))for(f in delete h.handle,h.events={},e)for(u=0,c=e[f].length;u<c;u++)i.event.add(t,f,e[f][u]);o.hasData(n)&&(l=o.access(n),a=i.extend({},l),o.set(t,a))}}function ht(n,t,f,o){t=yr.apply([],t);var a,w,l,v,h,b,c=0,y=n.length,d=y-1,p=t[0],k=u(p);if(k||1<y&&"string"==typeof p&&!e.checkClone&&de.test(p))return n.each(function(i){var r=n.eq(i);k&&(t[0]=p.call(this,i,r.html()));ht(r,t,f,o)});if(y&&(w=(a=vu(t,n[0].ownerDocument,!1,n,o)).firstChild,1===a.childNodes.length&&(a=w),w||o)){for(v=(l=i.map(s(a,"script"),no)).length;c<y;c++)h=a,c!==d&&(h=i.clone(h,!0,!0),v&&i.merge(l,s(h,"script"))),f.call(n[c],h,c);if(v)for(b=l[l.length-1].ownerDocument,i.map(l,to),c=0;c<v;c++)h=l[c],lu.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(b,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?i._evalUrl&&!h.noModule&&i._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")}):br(h.textContent.replace(ge,""),h,b))}return n}function bu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(s(u)),u.parentNode&&(r&&ft(u)&&gi(s(u,"script")),u.parentNode.removeChild(u));return n}function ni(n,t,r){var o,s,h,f,u=n.style;return(r=r||ci(n))&&(""!==(f=r.getPropertyValue(t)||r[t])||ft(n)||(f=i.style(n,t)),!e.pixelBoxStyles()&&tr.test(f)&&io.test(t)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=r.width,u.width=o,u.minWidth=s,u.maxWidth=h)),void 0!==f?f+"":f}function ku(n,t){return{get:function(){if(!n())return(this.get=t).apply(this,arguments);delete this.get}}}function ir(n){var t=i.cssProps[n]||nf[n];return t||(n in gu?n:nf[n]=function(n){for(var i=n[0].toUpperCase()+n.slice(1),t=du.length;t--;)if((n=du[t]+i)in gu)return n}(n)||n)}function uf(n,t,i){var r=wt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function rr(n,t,r,u,f,e){var o="width"===t?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)"margin"===r&&(s+=i.css(n,r+w[o],!0,f)),u?("content"===r&&(s-=i.css(n,"padding"+w[o],!0,f)),"margin"!==r&&(s-=i.css(n,"border"+w[o]+"Width",!0,f))):(s+=i.css(n,"padding"+w[o],!0,f),"padding"!==r?s+=i.css(n,"border"+w[o]+"Width",!0,f):h+=i.css(n,"border"+w[o]+"Width",!0,f));return!u&&0<=e&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s}function ff(n,t,r){var f=ci(n),o=(!e.boxSizingReliable()||r)&&"border-box"===i.css(n,"boxSizing",!1,f),s=o,u=ni(n,t,f),h="offset"+t[0].toUpperCase()+t.slice(1);if(tr.test(u)){if(!r)return u;u="auto"}return(!e.boxSizingReliable()&&o||"auto"===u||!parseFloat(u)&&"inline"===i.css(n,"display",!1,f))&&n.getClientRects().length&&(o="border-box"===i.css(n,"boxSizing",!1,f),(s=h in n)&&(u=n[h])),(u=parseFloat(u)||0)+rr(n,t,r||(o?"border":"content"),s,f,u)+"px"}function a(n,t,i,r,u){return new a.prototype.init(n,t,i,r,u)}function ur(){li&&(!1===f.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ur):n.setTimeout(ur,i.fx.interval),i.fx.tick())}function hf(){return n.setTimeout(function(){ct=void 0}),ct=Date.now()}function ai(n,t){var u,r=0,i={height:n};for(t=t?1:0;r<4;r+=2-t)i["margin"+(u=w[r])]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function cf(n,t,i){for(var u,f=(v.tweeners[t]||[]).concat(v.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function v(n,t,r){var o,s,h=0,a=v.prefilters.length,e=i.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var o=ct||hf(),t=Math.max(0,f.startTime+f.duration-o),i=1-(t/f.duration||0),r=0,u=f.tweens.length;r<u;r++)f.tweens[r].run(i);return e.notifyWith(n,[f,i,t]),i<1&&u?t:(u||e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f]),!1)},f=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:ct||hf(),duration:r.duration,tweens:[],createTween:function(t,r){var u=i.Tween(n,f.opts,t,r,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(u),u},stop:function(t){var i=0,r=t?f.tweens.length:0;if(s)return this;for(s=!0;i<r;i++)f.tweens[i].run(1);return t?(e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f,t])):e.rejectWith(n,[f,t]),this}}),c=f.props;for(!function(n,t){var r,f,e,u,o;for(r in n)if(e=t[f=y(r)],u=n[r],Array.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),(o=i.cssHooks[f])&&"expand"in o)for(r in u=o.expand(u),delete n[f],u)r in n||(n[r]=u[r],t[r]=e);else t[f]=e}(c,f.opts.specialEasing);h<a;h++)if(o=v.prefilters[h].call(f,n,c,f.opts))return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,cf,f),u(f.opts.start)&&f.opts.start.call(n,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),i.fx.timer(i.extend(l,{elem:n,anim:f,queue:f.opts.queue})),f}function g(n){return(n.match(l)||[]).join(" ")}function nt(n){return n.getAttribute&&n.getAttribute("class")||""}function fr(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(l)||[]}function hr(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||fo.test(n)?u(n,i):hr(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==it(t))u(n,t);else for(f in t)hr(n+"["+f+"]",t[f],r,u)}function df(n){return function(t,i){"string"!=typeof t&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(l)||[];if(u(i))while(r=e[f++])"+"===r[0]?(r=r.slice(1)||"*",(n[r]=n[r]||[]).unshift(i)):(n[r]=n[r]||[]).push(i)}}function gf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===cr;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ar(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}var d=[],f=n.document,ue=Object.getPrototypeOf,b=d.slice,yr=d.concat,yi=d.push,ii=d.indexOf,ri={},pr=ri.toString,ui=ri.hasOwnProperty,wr=ui.toString,fe=wr.call(Object),e={},u=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType},tt=function(n){return null!=n&&n===n.window},ee={type:!0,src:!0,nonce:!0,noModule:!0},kr="3.4.1",i=function(n,t){return new i.fn.init(n,t)},oe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k,wi,nu,tu,iu,ru,l,eu,ei,yt,kt,ki,di,gt,si,au,ct,li,lt,ef,of,sf,lf,at,af,vf,yf,er,or,ne,vt,te,vr,vi,ie,re;i.fn=i.prototype={jquery:kr,constructor:i,length:0,toArray:function(){return b.call(this)},get:function(n){return null==n?b.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(b.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(0<=t&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:yi,sort:d.sort,splice:d.splice};i.extend=i.fn.extend=function(){var s,f,e,t,o,c,n=arguments[0]||{},r=1,l=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[r]||{},r++),"object"==typeof n||u(n)||(n={}),r===l&&(n=this,r--);r<l;r++)if(null!=(s=arguments[r]))for(f in s)t=s[f],"__proto__"!==f&&n!==t&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(e=n[f],c=o&&!Array.isArray(e)?[]:o||i.isPlainObject(e)?e:{},o=!1,n[f]=i.extend(h,c,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(kr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!(!n||"[object Object]"!==pr.call(n))&&(!(t=ue(n))||"function"==typeof(i=ui.call(t,"constructor")&&t.constructor)&&wr.call(i)===fe)},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n,t){br(n,{nonce:t&&t.nonce})},each:function(n,t){var r,i=0;if(pi(n)){for(r=n.length;i<r;i++)if(!1===t.call(n[i],i,n[i]))break}else for(i in n)if(!1===t.call(n[i],i,n[i]))break;return n},trim:function(n){return null==n?"":(n+"").replace(oe,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(pi(Object(n))?i.merge(r,"string"==typeof n?[n]:n):yi.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:ii.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u=[],r=0,f=n.length,e=!i;r<f;r++)!t(n[r],r)!==e&&u.push(n[r]);return u},map:function(n,t,i){var e,u,r=0,f=[];if(pi(n))for(e=n.length;r<e;r++)null!=(u=t(n[r],r,i))&&f.push(u);else for(r in n)null!=(u=t(n[r],r,i))&&f.push(u);return yr.apply([],f)},guid:1,support:e});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=d[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){ri["[object "+t+"]"]=t.toLowerCase()});k=function(n){function u(n,t,r,u){var s,p,l,v,w,d,g,y=t&&t.ownerDocument,a=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==a&&9!==a&&11!==a)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(11!==a&&(w=ar.exec(n)))if(s=w[1]){if(9===a){if(!(l=t.getElementById(s)))return r;if(l.id===s)return r.push(l),r}else if(y&&(l=y.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(w[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=w[3])&&e.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(e.qsa&&!lt[n+" "]&&(!o||!o.test(n))&&(1!==a||"object"!==t.nodeName.toLowerCase())){if(g=n,y=t,1===a&&er.test(n)){for((v=t.getAttribute("id"))?v=v.replace(yi,pi):t.setAttribute("id",v=f),p=(d=ft(n)).length;p--;)d[p]="#"+v+" "+pt(d[p]);g=d.join(",");y=ti.test(n)&&ri(t.parentNode)||t}try{return k.apply(r,y.querySelectorAll(g)),r}catch(t){lt(n,!0)}finally{v===f&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function yt(){var n=[];return function i(r,u){return n.push(r+" ")>t.cacheLength&&delete i[n.shift()],i[r+" "]=u}}function l(n){return n[f]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function bi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function yr(n){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function ki(n){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&vr(t)===n:t.disabled===n:"label"in t&&t.disabled===n}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function di(){}function pt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function wt(n,t,i){var r=t.dir,u=t.next,e=u||r,o=i&&"parentNode"===e,s=gi++;return t.first?function(t,i,u){while(t=t[r])if(1===t.nodeType||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((1===t.nodeType||o)&&n(t,i,h))return!0}else while(t=t[r])if(1===t.nodeType||o)if(l=(a=t[f]||(t[f]={}))[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[e])&&c[0]===v&&c[1]===s)return y[2]=c[2];if((l[e]=y)[2]=n(t,i,h))return!0}return!1}}function ui(n){return 1<n.length?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;f<s;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function fi(n,t,i,r,e,o){return r&&!r[f]&&(r=fi(r)),e&&!e[f]&&(e=fi(e,o)),l(function(f,o,s,h){var a,l,v,w=[],p=[],b=o.length,d=f||function(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}(t||"*",s.nodeType?[s]:s,[]),y=!n||!f&&t?d:bt(d,w,n,s,h),c=i?e||(f?n:b||r)?[]:o:y;if(i&&i(y,c,s,h),r)for(a=bt(c,p),r(a,[],s,h),l=a.length;l--;)(v=a[l])&&(c[p[l]]=!(y[p[l]]=v));if(f){if(e||n){if(e){for(a=[],l=c.length;l--;)(v=c[l])&&a.push(y[l]=v);e(null,c=[],a,h)}for(l=c.length;l--;)(v=c[l])&&-1<(a=e?nt(f,v):w[l])&&(f[a]=!(o[a]=v))}}else c=bt(c===o?c.splice(b,c.length):c),e?e(null,o,c,h):k.apply(o,c)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=wt(function(n){return n===o},c,!0),a=wt(function(n){return-1<nt(o,n)},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])e=[wt(ui(e),u)];else{if((u=t.filter[n[i].type].apply(null,n[i].matches))[f]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(1<i&&ui(e),1<i&&pt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&pt(n))}e.push(u)}return ui(e)}var rt,e,t,st,oi,ft,kt,si,ht,w,ut,b,i,s,h,o,d,ct,et,f="sizzle"+1*new Date,c=n.document,v=0,gi=0,hi=yt(),ci=yt(),li=yt(),lt=yt(),dt=function(n,t){return n===t&&(ut=!0),0},nr={}.hasOwnProperty,g=[],tr=g.pop,ir=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",ni=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",rr=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ur=new RegExp("^"+r+"*,"+r+"*"),fr=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),er=new RegExp(r+"|>"),or=new RegExp(ni),sr=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},hr=/HTML$/i,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!=r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},yi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,pi=function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},wi=function(){b()},vr=wt(function(n){return!0===n.disabled&&"fieldset"===n.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(rt){k={apply:g.length?function(n,t){ir.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}for(rt in e=u.support={},oi=u.isXML=function(n){var i=n.namespaceURI,t=(n.ownerDocument||n).documentElement;return!hr.test(i||t&&t.nodeName||"HTML")},b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l!==i&&9===l.nodeType&&l.documentElement&&(s=(i=l).documentElement,h=!oi(i),c!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",wi,!1):u.attachEvent&&u.attachEvent("onunload",wi)),e.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=ot.test(i.getElementsByClassName),e.getById=a(function(n){return s.appendChild(n).id=f,!i.getElementsByName||!i.getElementsByName(f).length}),e.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var r,u,f,i=t.getElementById(n);if(i){if((r=i.getAttributeNode("id"))&&r.value===n)return[i];for(f=t.getElementsByName(n),u=0;i=f[u++];)if((r=i.getAttributeNode("id"))&&r.value===n)return[i]}return[]}}),t.find.TAG=e.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):e.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=e.getElementsByClassName&&function(n,t){if("undefined"!=typeof t.getElementsByClassName&&h)return t.getElementsByClassName(n)},d=[],o=[],(e.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+gt+")");n.querySelectorAll("[id~="+f+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+f+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");2!==n.querySelectorAll(":enabled").length&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;2!==n.querySelectorAll(":disabled").length&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(e.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){e.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",ni)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},dt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1)||!e.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return bi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?bi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0}),i},u.matches=function(n,t){return u(n,null,null,t)},u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),e.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||e.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(n){lt(t,!0)}return 0<u(t,i,null,[n]).length},u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)},u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var f=t.attrHandle[r.toLowerCase()],u=f&&nr.call(t.attrHandle,r.toLowerCase())?f(n,r,!h):void 0;return void 0!==u?u:e.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null},u.escape=function(n){return(n+"").replace(yi,pi)},u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!e.detectDuplicates,w=!e.sortStable&&n.slice(0),n.sort(dt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n},st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else while(r=n[u++])i+=st(r);return i},(t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&or.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:!t||(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&-1<f.indexOf(i):"$="===t?i&&f.slice(-i.length)===i:"~="===t?-1<(" "+f.replace(rr," ")+" ").indexOf(i):"|="===t&&(f===i||f.slice(0,i.length+1)===i+"-"))}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),e="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,d,y,c,a,w,b=s!==o?"nextSibling":"previousSibling",k=t.parentNode,nt=e&&t.nodeName.toLowerCase(),g=!h&&!e,l=!1;if(k){if(s){while(b){for(c=t;c=c[b];)if(e?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[o?k.firstChild:k.lastChild],o&&g){for(l=(a=(p=(d=(y=(c=k)[f]||(c[f]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]||[])[0]===v&&p[1])&&p[2],c=a&&k.childNodes[a];c=++a&&c&&c[b]||(l=a=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){d[n]=[v,a,l];break}}else if(g&&(l=a=(p=(d=(y=(c=t)[f]||(c[f]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]||[])[0]===v&&p[1]),!1===l)while(c=++a&&c&&c[b]||(l=a=0)||w.pop())if((e?c.nodeName.toLowerCase()===nt:1===c.nodeType)&&++l&&(g&&((d=(y=c[f]||(c[f]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]=[v,l]),c===t))break;return(l-=u)===r||l%r==0&&0<=l/r}}},PSEUDO:function(n,i){var e,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[f]?r(i):1<r.length?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var e,u=r(n,i),f=u.length;f--;)n[e=nt(n,u[f])]=!(t[e]=u[f])}):function(n){return r(n,0,e)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=kt(n.replace(at,"$1"));return i[f]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return 0<u(n,t).length}}),contains:l(function(n){return n=n.replace(y,p),function(t){return-1<(t.textContent||st(t)).indexOf(n)}}),lang:l(function(n){return sr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:ki(!1),disabled:ki(!0),checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return lr.test(n.nodeName)},input:function(n){return cr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:t<i?t:i;0<=--r;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}}).pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=yr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=pr(rt);return di.prototype=t.filters=t.pseudos,t.setFilters=new di,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){for(o in e&&!(f=ur.exec(r))||(f&&(r=r.slice(f[0].length)||r),h.push(s=[])),e=!1,(f=fr.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length)),t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},kt=u.compile=function(n,r){var s,c,a,o,y,p,w=[],d=[],e=li[n+" "];if(!e){for(r||(r=ft(n)),s=r.length;s--;)(e=ei(r[s]))[f]?w.push(e):d.push(e);(e=li(n,(c=d,o=0<(a=w).length,y=0<c.length,p=function(n,r,f,e,s){var l,nt,d,g=0,p="0",tt=n&&[],w=[],it=ht,rt=n||y&&t.find.TAG("*",s),ut=v+=null==it?1:Math.random()||.1,ft=rt.length;for(s&&(ht=r===i||r||s);p!==ft&&null!=(l=rt[p]);p++){if(y&&l){for(nt=0,r||l.ownerDocument===i||(b(l),f=!h);d=c[nt++];)if(d(l,r||i,f)){e.push(l);break}s&&(v=ut)}o&&((l=!d&&l)&&g--,n&&tt.push(l))}if(g+=p,o&&p!==g){for(nt=0;d=a[nt++];)d(tt,w,r,f);if(n){if(0<g)while(p--)tt[p]||w[p]||(w[p]=tr.call(e));w=bt(w)}k.apply(e,w);s&&!n&&0<w.length&&1<g+a.length&&u.uniqueSort(e)}return s&&(v=ut,ht=it),tt},o?l(p):p))).selector=n}return e},si=u.select=function(n,i,r,u){var o,f,e,l,a,c="function"==typeof n&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],1===s.length){if(2<(f=s[0]=s[0].slice(0)).length&&"ID"===(e=f[0]).type&&9===i.nodeType&&h&&t.relative[f[1].type]){if(!(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0]))return r;c&&(i=i.parentNode);n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ti.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),!(n=u.length&&pt(f)))return k.apply(r,u),r;break}}}return(c||kt(n,s))(u,i,!h,r,!i||ti.test(n)&&ri(i.parentNode)||i),r},e.sortStable=f.split("").sort(dt).join("")===f,e.detectDuplicates=!!ut,b(),e.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("fieldset"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),e.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ii("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ii(gt,function(n,t,i){var r;if(!i)return!0===n[t]?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=k;i.expr=k.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=k.uniqueSort;i.text=k.getText;i.isXMLDoc=k.isXML;i.contains=k.contains;i.escapeSelector=k.escape;var rt=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},dr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},gr=i.expr.match.needsContext;wi=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return 1<u?i.uniqueSort(r):r},filter:function(n){return this.pushStack(bi(this,n||[],!1))},not:function(n){return this.pushStack(bi(this,n||[],!0))},is:function(n){return!!bi(this,"string"==typeof n&&gr.test(n)?i(n):n||[],!1).length}});tu=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||nu,"string"==typeof n){if(!(e="<"===n[0]&&">"===n[n.length-1]&&3<=n.length?[null,n,null]:tu.exec(n))||!e[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(e[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(e[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),wi.test(e[1])&&i.isPlainObject(t))for(e in t)u(this[e])?this[e](t[e]):this.attr(e,t[e]);return this}return(o=f.getElementById(e[2]))&&(this[0]=o,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):u(n)?void 0!==r.ready?r.ready(n):n(i):i.makeArray(n,this)}).prototype=i.fn;nu=i(f);iu=/^(?:parents|prev(?:Until|All))/;ru={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e="string"!=typeof n&&i(n);if(!gr.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?-1<e.index(r):1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(1<u.length?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?ii.call(i(n),this[0]):ii.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return rt(n,"parentNode")},parentsUntil:function(n,t,i){return rt(n,"parentNode",i)},next:function(n){return uu(n,"nextSibling")},prev:function(n){return uu(n,"previousSibling")},nextAll:function(n){return rt(n,"nextSibling")},prevAll:function(n){return rt(n,"previousSibling")},nextUntil:function(n,t,i){return rt(n,"nextSibling",i)},prevUntil:function(n,t,i){return rt(n,"previousSibling",i)},siblings:function(n){return dr((n.parentNode||{}).firstChild,n)},children:function(n){return dr(n.firstChild)},contents:function(n){return"undefined"!=typeof n.contentDocument?n.contentDocument:(c(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),1<this.length&&(ru[n]||i.uniqueSort(f),iu.test(n)&&f.reverse()),this.pushStack(f)}});l=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){var a,h;n="string"==typeof n?(a=n,h={},i.each(a.match(l)||[],function(n,t){h[t]=!0}),h):i.extend({},n);var o,r,v,f,t=[],s=[],e=-1,y=function(){for(f=f||n.once,v=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)!1===t[e].apply(r[0],r[1])&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},c={add:function(){return t&&(r&&!o&&(e=t.length-1,s.push(r)),function f(r){i.each(r,function(i,r){u(r)?n.unique&&c.has(r)||t.push(r):r&&r.length&&"string"!==it(r)&&f(r)})}(arguments),r&&!o&&y()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;-1<(u=i.inArray(r,t,u));)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?-1<i.inArray(n,t):0<t.length},empty:function(){return t&&(t=[]),this},disable:function(){return f=s=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=s=[],r||o||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=[n,(t=t||[]).slice?t.slice():t],s.push(t),o||y()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!v}};return c};i.extend({Deferred:function(t){var f=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],o="pending",e={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return e.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(f,function(i,f){var e=u(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&u(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,e){function s(t,r,f,e){return function(){var h=this,c=arguments,l=function(){var n,i;if(!(t<o)){if((n=f.apply(h,c))===r.promise())throw new TypeError("Thenable self-resolution");i=n&&("object"==typeof n||"function"==typeof n)&&n.then;u(i)?e?i.call(n,s(o,r,ut,e),s(o,r,fi,e)):(o++,i.call(n,s(o,r,ut,e),s(o,r,fi,e),s(o,r,ut,r.notifyWith))):(f!==ut&&(h=void 0,c=[n]),(e||r.resolveWith)(h,c))}},a=e?l:function(){try{l()}catch(l){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(l,a.stackTrace);o<=t+1&&(f!==fi&&(h=void 0,c=[l]),r.rejectWith(h,c))}};t?a():(i.Deferred.getStackHook&&(a.stackTrace=i.Deferred.getStackHook()),n.setTimeout(a))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:ut,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:ut));f[2][3].add(s(0,n,u(r)?r:fi))}).promise()},promise:function(n){return null!=n?i.extend(n,e):e}},r={};return i.each(f,function(n,t){var i=t[2],u=t[5];e[t[1]]=i.add;u&&i.add(function(){o=u},f[3-n][2].disable,f[3-n][3].disable,f[0][2].lock,f[0][3].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this};r[t[0]+"With"]=i.fireWith}),e.promise(r),t&&t.call(r,r),r},when:function(n){var e=arguments.length,t=e,o=Array(t),f=b.call(arguments),r=i.Deferred(),s=function(n){return function(t){o[n]=this;f[n]=1<arguments.length?b.call(arguments):t;--e||r.resolveWith(o,f)}};if(e<=1&&(fu(n,r.done(s(t)).resolve,r.reject,!e),"pending"===r.state()||u(f[t]&&f[t].then)))return r.then();while(t--)fu(f[t],s(t),r.reject);return r.promise()}});eu=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&eu.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};ei=i.Deferred();i.fn.ready=function(n){return ei.then(n)["catch"](function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--i.readyWait:i.isReady)||(i.isReady=!0)!==n&&0<--i.readyWait||ei.resolveWith(f,[i])}});i.ready.then=ei.then;"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?n.setTimeout(i.ready):(f.addEventListener("DOMContentLoaded",oi),n.addEventListener("load",oi));var p=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=null==r;if("object"===it(r))for(h in e=!0,r)p(n,t,h,r[h],!0,o,s);else if(void 0!==f&&(e=!0,u(f)||(s=!0),c&&(s?(t.call(n,f),t=null):(c=t,t=function(n,t,r){return c.call(i(n),r)})),t))for(;h<l;h++)t(n[h],r,s?f:f.call(n[h],h,t(n[h],r)));return e?n:c?t.call(n):l?t(n[0],r):o},se=/^-ms-/,he=/-([a-z])/g;yt=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};pt.uid=1;pt.prototype={cache:function(n){var t=n[this.expando];return t||(t={},yt(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if("string"==typeof t)u[y(t)]=i;else for(r in t)u[y(r)]=t[r];return u},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][y(t)]},access:function(n,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(n,t):(this.set(n,t,i),void 0!==i?i:t)},remove:function(n,t){var u,r=n[this.expando];if(void 0!==r){if(void 0!==t)for(u=(t=Array.isArray(t)?t.map(y):(t=y(t))in r?[t]:t.match(l)||[]).length;u--;)delete r[t[u]];(void 0===t||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new pt,o=new pt,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;i.extend({hasData:function(n){return o.hasData(n)||r.hasData(n)},data:function(n,t,i){return o.access(n,t,i)},removeData:function(n,t){o.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var f,u,e,i=this[0],s=i&&i.attributes;if(void 0===n){if(this.length&&(e=o.get(i),1===i.nodeType&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&0===(u=s[f].name).indexOf("data-")&&(u=y(u.slice(5)),ou(i,u,e[u]));r.set(i,"hasDataAttrs",!0)}return e}return"object"==typeof n?this.each(function(){o.set(this,n)}):p(this,function(t){var r;if(i&&void 0===t)return void 0!==(r=o.get(i,n))?r:void 0!==(r=ou(i,n))?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,1<arguments.length,null,!0)},removeData:function(n){return this.each(function(){o.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t);"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,function(){i.dequeue(n,t)},f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)(u=r.get(f[s],n+"queueHooks"))&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var su=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wt=new RegExp("^(?:([+-])=|)("+su+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],bt=f.documentElement,ft=function(n){return i.contains(n.ownerDocument,n)},ve={composed:!0};bt.getRootNode&&(ft=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(ve)===n.ownerDocument});kt=function(n,t){return"none"===(n=t||n).style.display||""===n.style.display&&ft(n)&&"none"===i.css(n,"display")};ki=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];for(u in f=i.apply(n,r||[]),t)n.style[u]=e[u];return f};di={};i.fn.extend({show:function(){return et(this,!0)},hide:function(){return et(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){kt(this)?i(this).show():i(this).hide()})}});var dt=/^(?:checkbox|radio)$/i,cu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,lu=/^$|^module$|\/(?:java|ecma)script/i,h={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};h.optgroup=h.option;h.tbody=h.tfoot=h.colgroup=h.caption=h.thead;h.th=h.td;au=/<|&#?\w+;/;gt=f.createDocumentFragment().appendChild(f.createElement("div"));(si=f.createElement("input")).setAttribute("type","radio");si.setAttribute("checked","checked");si.setAttribute("name","t");gt.appendChild(si);e.checkClone=gt.cloneNode(!0).cloneNode(!0).lastChild.checked;gt.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!gt.cloneNode(!0).lastChild.defaultValue;var ye=/^key/,pe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,yu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var p,v,k,y,w,h,s,c,o,b,d,a=r.get(n);if(a)for(u.handler&&(u=(p=u).handler,e=p.selector),e&&i.find.matchesSelector(bt,e),u.guid||(u.guid=i.guid++),(y=a.events)||(y=a.events={}),(v=a.handle)||(v=a.handle=function(t){if("undefined"!=typeof i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),w=(t=(t||"").match(l)||[""]).length;w--;)o=d=(k=yu.exec(t[w])||[])[1],b=(k[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:b.join(".")},p),(c=y[o])||((c=y[o]=[]).delegateCount=0,s.setup&&!1!==s.setup.call(n,f,b,v)||n.addEventListener&&n.addEventListener(o,v)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,h):c.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,h,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(p=(t=(t||"").match(l)||[""]).length;p--;)if(o=d=(c=yu.exec(t[p])||[])[1],b=(c[2]||"").split(".").sort(),o){for(h=i.event.special[o]||{},a=v[o=(f?h.delegateType:h.bindType)||o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(y,1),s.selector&&a.delegateCount--,h.remove&&h.remove.call(n,s));k&&!a.length&&(h.teardown&&!1!==h.teardown.call(n,b,w.handle)||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var u,h,c,e,f,l,t=i.event.fix(n),s=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(s[0]=t,u=1;u<arguments.length;u++)s[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||!1!==o.preDispatch.call(this,t)){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,h=0;(f=e.handlers[h++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!1!==f.namespace&&!t.rnamespace.test(f.namespace)||(t.handleObj=f,t.data=f.data,void 0!==(c=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,s))&&!1===(t.result=c)&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,h,u,e,o,c=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&!("click"===n.type&&1<=n.button))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&("click"!==n.type||!0!==r.disabled)){for(e=[],o={},f=0;f<s;f++)void 0===o[u=(h=t[f]).selector+" "]&&(o[u]=h.needsContext?-1<i(u,this).index(r):i.find(u,this,null,[r]).length),o[u]&&e.push(h);e.length&&c.push({elem:r,handlers:e})}return r=this,s<t.length&&c.push({elem:r,handlers:t.slice(s)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:u(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},click:{setup:function(n){var t=this||n;return dt.test(t.type)&&t.click&&c(t,"input")&&hi(t,"click",ot),!1},trigger:function(n){var t=this||n;return dt.test(t.type)&&t.click&&c(t,"input")&&hi(t,"click"),!0},_default:function(n){var t=n.target;return dt.test(t.type)&&t.click&&c(t,"input")&&r.get(t,"click")||c(t,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&!1===n.returnValue?ot:st,this.target=n.target&&3===n.target.nodeType?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:st,isPropagationStopped:st,isImmediatePropagationStopped:st,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ot;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ot;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ot;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return null==n.which&&ye.test(n.type)?null!=n.charCode?n.charCode:n.keyCode:!n.which&&void 0!==t&&pe.test(n.type)?1&t?1:2&t?3:4&t?2:0:n.which}},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){i.event.special[n]={setup:function(){return hi(this,n,we),!1},trigger:function(){return hi(this,n),!0},delegateType:t}});i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,r=n.relatedTarget,f=n.handleObj;return r&&(r===this||i.contains(this,r))||(n.type=f.origType,u=f.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return nr(this,n,t,i,r)},one:function(n,t,i,r){return nr(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=st),this.each(function(){i.event.remove(this,n,r,t)})}});var be=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ke=/<script|<style|<link/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(be,"<$1><\/$2>")},clone:function(n,t,r){var u,c,o,f,l,a,v,h=n.cloneNode(!0),y=ft(n);if(!(e.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(f=s(h),u=0,c=(o=s(n)).length;u<c;u++)l=o[u],a=f[u],void 0,"input"===(v=a.nodeName.toLowerCase())&&dt.test(l.type)?a.checked=l.checked:"input"!==v&&"textarea"!==v||(a.defaultValue=l.defaultValue);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)wu(o[u],f[u]);else wu(n,h);return 0<(f=s(h,"script")).length&&gi(f,!y&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;void 0!==(t=n[e]);e++)if(yt(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[o.expando]&&(t[o.expando]=void 0)}}});i.fn.extend({detach:function(n){return bu(this,n,!0)},remove:function(n){return bu(this,n)},text:function(n){return p(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return ht(this,arguments,function(n){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||pu(this,n).appendChild(n)})},prepend:function(){return ht(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return ht(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return ht(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(s(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return p(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!ke.test(n)&&!h[(cu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)1===(t=this[r]||{}).nodeType&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(n){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return ht(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(s(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),yi.apply(f,u.get());return this.pushStack(f)}});var tr=new RegExp("^("+su+")(?!px)[a-z%]+$","i"),ci=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},io=new RegExp(w.join("|"),"i");!function(){function r(){if(t){o.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";t.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";bt.appendChild(o).appendChild(t);var i=n.getComputedStyle(t);s="1%"!==i.top;a=12===u(i.marginLeft);t.style.right="60%";l=36===u(i.right);h=36===u(i.width);t.style.position="absolute";c=12===u(t.offsetWidth/3);bt.removeChild(o);t=null}}function u(n){return Math.round(parseFloat(n))}var s,h,c,l,a,o=f.createElement("div"),t=f.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===t.style.backgroundClip,i.extend(e,{boxSizingReliable:function(){return r(),h},pixelBoxStyles:function(){return r(),l},pixelPosition:function(){return r(),s},reliableMarginLeft:function(){return r(),a},scrollboxSize:function(){return r(),c}}))}();var du=["Webkit","Moz","ms"],gu=f.createElement("div").style,nf={};var ro=/^(none|table(?!-c[ea]).+)/,tf=/^--/,uo={position:"absolute",visibility:"hidden",display:"block"},rf={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=ni(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var f,h,o,c=y(t),l=tf.test(t),s=n.style;if(l||(t=ir(c)),o=i.cssHooks[t]||i.cssHooks[c],void 0===r)return o&&"get"in o&&void 0!==(f=o.get(n,!1,u))?f:s[t];"string"==(h=typeof r)&&(f=wt.exec(r))&&f[1]&&(r=hu(n,t,f),h="number");null!=r&&r==r&&("number"!==h||l||(r+=f&&f[3]||(i.cssNumber[c]?"":"px")),e.clearCloneStyle||""!==r||0!==t.indexOf("background")||(s[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(l?s.setProperty(t,r):s[t]=r))}},css:function(n,t,r,u){var f,e,o,s=y(t);return tf.test(t)||(t=ir(s)),(o=i.cssHooks[t]||i.cssHooks[s])&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=ni(n,t,u)),"normal"===f&&t in rf&&(f=rf[t]),""===r||r?(e=parseFloat(f),!0===r||isFinite(e)?e||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return!ro.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?ff(n,t,u):ki(n,uo,function(){return ff(n,t,u)})},set:function(n,r,u){var s,f=ci(n),h=!e.scrollboxSize()&&"absolute"===f.position,c=(h||u)&&"border-box"===i.css(n,"boxSizing",!1,f),o=u?rr(n,t,u,c,f):0;return c&&h&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-rr(n,t,"border",!1,f)-.5)),o&&(s=wt.exec(r))&&"px"!==(s[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),uf(0,r,o)}}});i.cssHooks.marginLeft=ku(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(ni(n,"marginLeft"))||n.getBoundingClientRect().left-ki(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];r<4;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};"margin"!==n&&(i.cssHooks[n+t].set=uf)});i.fn.extend({css:function(n,t){return p(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=ci(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,1<arguments.length)}});((i.Tween=a).prototype={constructor:a,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=a.propHooks[this.prop];return n&&n.get?n.get(this):a.propHooks._default.get(this)},run:function(n){var t,r=a.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):a.propHooks._default.set(this),this}}).init.prototype=a.prototype;(a.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""))&&"auto"!==t?t:0},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||!i.cssHooks[n.prop]&&null==n.elem.style[ir(n.prop)]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}}).scrollTop=a.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=a.prototype.init;i.fx.step={};of=/^(?:toggle|show|hide)$/;sf=/queueHooks$/;i.Animation=i.extend(v,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return hu(i.elem,n,wt.exec(t),i),i}]},tweener:function(n,t){u(n)?(t=n,n=["*"]):n=n.match(l);for(var i,r=0,f=n.length;r<f;r++)i=n[r],v.tweeners[i]=v.tweeners[i]||[],v.tweeners[i].unshift(t)},prefilters:[function(n,t,u){var f,y,w,c,b,h,o,l,k="width"in t||"height"in t,v=this,p={},s=n.style,a=n.nodeType&&kt(n),e=r.get(n,"fxshow");for(f in u.queue||(null==(c=i._queueHooks(n,"fx")).unqueued&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})})),t)if(y=t[f],of.test(y)){if(delete t[f],w=w||"toggle"===y,y===(a?"hide":"show")){if("show"!==y||!e||void 0===e[f])continue;a=!0}p[f]=e&&e[f]||i.style(n,f)}if((h=!i.isEmptyObject(t))||!i.isEmptyObject(p))for(f in k&&1===n.nodeType&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],null==(o=e&&e.display)&&(o=r.get(n,"display")),"none"===(l=i.css(n,"display"))&&(o?l=o:(et([n],!0),o=n.style.display||o,l=i.css(n,"display"),et([n]))),("inline"===l||"inline-block"===l&&null!=o)&&"none"===i.css(n,"float")&&(h||(v.done(function(){s.display=o}),null==o&&(l=s.display,o="none"===l?"":l)),s.display="inline-block")),u.overflow&&(s.overflow="hidden",v.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]})),h=!1,p)h||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&et([n],!0),v.done(function(){for(f in a||et([n]),r.remove(n,"fxshow"),p)i.style(n,f,p[f])})),h=cf(a?e[f]:0,f,v),f in e||(e[f]=h.start,a&&(h.end=h.start,h.start=0))}],prefilter:function(n,t){t?v.prefilters.unshift(n):v.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||u(n)&&n,duration:n,easing:r&&t||t&&!u(t)&&t};return i.fx.off?f.duration=0:"number"!=typeof f.duration&&(f.duration=f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default),null!=f.queue&&!0!==f.queue||(f.queue="fx"),f.old=f.complete,f.complete=function(){u(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(kt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=v(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||!1===o.queue?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&!1!==n&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&sf.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(u),s=!1,o.splice(t,1));!s&&u||i.dequeue(this,n)})},finish:function(n){return!1!==n&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(ai(t,!0),n,i,u)}});i.each({slideDown:ai("show"),slideUp:ai("hide"),slideToggle:ai("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(ct=Date.now();n<t.length;n++)(r=t[n])()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();ct=void 0};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){li||(li=!0,ur())};i.fx.stop=function(){li=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx&&i.fx.speeds[t]||t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})};lt=f.createElement("input");ef=f.createElement("select").appendChild(f.createElement("option"));lt.type="checkbox";e.checkOn=""!==lt.value;e.optSelected=ef.selected;(lt=f.createElement("input")).value="t";lt.type="radio";e.radioValue="t"===lt.value;at=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return p(this,i.attr,n,t,1<arguments.length)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return"undefined"==typeof n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(u=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?lf:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:(n.setAttribute(t,r+""),r):u&&"get"in u&&null!==(f=u.get(n,t))?f:null==(f=i.find.attr(n,t))?void 0:f)},attrHooks:{type:{set:function(n,t){if(!e.radioValue&&"radio"===t&&c(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(l);if(r&&1===n.nodeType)while(i=r[u++])n.removeAttribute(i)}});lf={set:function(n,t,r){return!1===t?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=at[t]||i.find.attr;at[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=at[u],at[u]=f,f=null!=r(n,t,i)?u:null,at[u]=e),f}});af=/^(?:input|select|textarea|button)$/i;vf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return p(this,i.prop,n,t,1<arguments.length)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):af.test(n.nodeName)||vf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});e.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var o,t,r,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,nt(this)))});if((o=fr(n)).length)while(t=this[c++])if(f=nt(t),r=1===t.nodeType&&" "+g(f)+" "){for(s=0;e=o[s++];)r.indexOf(" "+e+" ")<0&&(r+=e+" ");f!==(h=g(r))&&t.setAttribute("class",h)}return this},removeClass:function(n){var o,r,t,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,nt(this)))});if(!arguments.length)return this.attr("class","");if((o=fr(n)).length)while(r=this[c++])if(f=nt(r),t=1===r.nodeType&&" "+g(f)+" "){for(s=0;e=o[s++];)while(-1<t.indexOf(" "+e+" "))t=t.replace(" "+e+" "," ");f!==(h=g(t))&&r.setAttribute("class",h)}return this},toggleClass:function(n,t){var f=typeof n,e="string"===f||Array.isArray(n);return"boolean"==typeof t&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,nt(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=fr(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else void 0!==n&&"boolean"!==f||((t=nt(this))&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===n?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&-1<(" "+g(nt(t))+" ").indexOf(i))return!0;return!1}});yf=/\r/g;i.fn.extend({val:function(n){var t,r,e,f=this[0];return arguments.length?(e=u(n),this.each(function(r){var u;1===this.nodeType&&(null==(u=e?n.call(this,r,i(this).val()):n)?u="":"number"==typeof u?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),(t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(f,"value"))?r:"string"==typeof(r=f.value)?r.replace(yf,""):null==r?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:g(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f="select-one"===n.type,s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(((t=o[r]).selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!c(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var r,u,f=n.options,e=i.makeArray(t),o=f.length;o--;)((u=f[o]).selected=-1<i.inArray(i.valHooks.option.get(u),e))&&(r=!0);return r||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=-1<i.inArray(i(n).val(),t)}};e.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});e.focusin="onfocusin"in n;er=/^(?:focusinfocus|focusoutblur)$/;or=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,p,w=[o||f],h=ui.call(t,"type")?t.type:t,b=ui.call(t,"namespace")?t.namespace.split("."):[];if(c=p=l=o=o||f,3!==o.nodeType&&8!==o.nodeType&&!er.test(h+i.event.triggered)&&(-1<h.indexOf(".")&&(h=(b=h.split(".")).shift(),b.sort()),v=h.indexOf(":")<0&&"on"+h,(t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t)).isTrigger=s?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),e=null==e?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||!1!==a.trigger.apply(o,e))){if(!s&&!a.noBubble&&!tt(o)){for(d=a.delegateType||h,er.test(d+h)||(c=c.parentNode);c;c=c.parentNode)w.push(c),l=c;l===(o.ownerDocument||f)&&w.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=w[k++])&&!t.isPropagationStopped();)p=c,t.type=1<k?d:a.bindType||h,(y=(r.get(c,"events")||{})[t.type]&&r.get(c,"handle"))&&y.apply(c,e),(y=v&&c[v])&&y.apply&&yt(c)&&(t.result=y.apply(c,e),!1===t.result&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||a._default&&!1!==a._default.apply(w.pop(),e)||!yt(o)||v&&u(o[h])&&!tt(o)&&((l=o[v])&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&p.addEventListener(h,or),o[h](),t.isPropagationStopped()&&p.removeEventListener(h,or),i.event.triggered=void 0,l&&(o[v]=l)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});e.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ti=n.location,pf=Date.now(),sr=/\?/;i.parseXML=function(t){var r;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){r=void 0}return r&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var fo=/\[\]$/,wf=/\r?\n/g,eo=/^(?:submit|button|image|reset|file)$/i,oo=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,f=[],e=function(n,t){var i=u(t)?t():t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==i?"":i)};if(null==n)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)hr(r,n[r],t,e);return f.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&oo.test(this.nodeName)&&!eo.test(n)&&(this.checked||!dt.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(wf,"\r\n")}}):{name:t.name,value:r.replace(wf,"\r\n")}}).get()}});var so=/%20/g,ho=/#.*$/,co=/([?&])_=[^&]*/,lo=/^(.*?):[ \t]*([^\r\n]*)$/gm,ao=/^(?:GET|HEAD)$/,vo=/^\/\//,bf={},cr={},kf="*/".concat("*"),lr=f.createElement("a");return lr.href=ti.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ti.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ti.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":kf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ar(ar(n,i.ajaxSettings),t):ar(i.ajaxSettings,n)},ajaxPrefilter:df(bf),ajaxTransport:df(cr),ajax:function(t,r){function b(t,r,f,c){var v,rt,b,p,g,l=r;s||(s=!0,d&&n.clearTimeout(d),a=void 0,k=c||"",e.readyState=0<t?4:0,v=200<=t&&t<300||304===t,f&&(p=function(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}(u,e,f)),p=function(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(!(f=o[e+" "+u]||o["* "+u]))for(h in o)if((s=h.split(" "))[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){!0===f?f=o[h]:!0!==o[h]&&(u=s[0],c.unshift(s[1]));break}if(!0!==f)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(n){return{state:"parsererror",error:f?n:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}(u,p,e,v),v?(u.ifModified&&((g=e.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=g),(g=e.getResponseHeader("etag"))&&(i.etag[o]=g)),204===t||"HEAD"===u.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,v=!(b=p.error))):(b=l,!t&&l||(l="error",t<0&&(t=0))),e.status=t,e.statusText=(r||l)+"",v?tt.resolveWith(h,[rt,l,e]):tt.rejectWith(h,[e,l,b]),e.statusCode(w),w=void 0,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,u,v?rt:b]),it.fireWith(h,[e,l]),y&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var a,o,k,v,d,c,s,y,g,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!v)for(v={};t=lo.exec(k);)v[t[1].toLowerCase()+" "]=(v[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=v[n.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return null==s&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return null==s&&(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return a&&a.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||ti.href)+"").replace(vo,ti.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(l)||[""],null==u.crossDomain){c=f.createElement("a");try{c.href=u.url;c.href=c.href;u.crossDomain=lr.protocol+"//"+lr.host!=c.protocol+"//"+c.host}catch(t){u.crossDomain=!0}}if(u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),gf(bf,u,r,e),s)return e;for(g in(y=i.event&&u.global)&&0==i.active++&&i.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!ao.test(u.type),o=u.url.replace(ho,""),u.hasContent?u.data&&u.processData&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&(u.data=u.data.replace(so,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||"string"==typeof u.data)&&(o+=(sr.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(o=o.replace(co,"$1"),p=(sr.test(o)?"&":"?")+"_="+pf+++p),u.url=o+p),u.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||r.contentType)&&e.setRequestHeader("Content-Type",u.contentType),e.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+kf+"; q=0.01":""):u.accepts["*"]),u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(!1===u.beforeSend.call(h,e,u)||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),a=gf(cr,u,r,e)){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&0<u.timeout&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;a.send(rt,b)}catch(t){if(s)throw t;b(-1,t)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,f,e){return u(r)&&(e=e||f,f=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n,t){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t)}})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(u(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return u(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=u(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},ne={0:200,1223:204},vt=i.ajaxSettings.xhr(),e.cors=!!vt&&"withCredentials"in vt,e.ajax=vt=!!vt,i.ajaxTransport(function(t){var i,r;if(e.cors||vt&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];for(o in t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType),t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest"),u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.ontimeout=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(ne[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=e.ontimeout=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(u){if(i)throw u;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){var r,t;if(n.crossDomain||n.scriptAttrs)return{send:function(u,e){r=i("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}),vr=[],vi=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=vr.pop()||i.expando+"_"+pf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=!1!==t.jsonp&&(vi.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&vi.test(t.data)&&"data");if(h||"jsonp"===t.dataTypes[0])return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(vi,"$1"+e):!1!==t.jsonp&&(t.url+=(sr.test(t.url)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||i.error(e+" was not called"),s[0]},t.dataTypes[0]="json",o=n[e],n[e]=function(){s=arguments},f.always(function(){void 0===o?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,vr.push(e));s&&u(o)&&o(s[0]);s=o=void 0}),"script"}),e.createHTMLDocument=((te=f.implementation.createHTMLDocument("").body).innerHTML="<form><\/form><form><\/form>",2===te.childNodes.length),i.parseHTML=function(n,t,r){return"string"!=typeof n?[]:("boolean"==typeof t&&(r=t,t=!1),t||(e.createHTMLDocument?((s=(t=f.implementation.createHTMLDocument("")).createElement("base")).href=f.location.href,t.head.appendChild(s)):t=f),u=!r&&[],(o=wi.exec(n))?[t.createElement(o[1])]:(o=vu([n],t,u),u&&u.length&&i(u).remove(),i.merge([],o.childNodes)));var s,o,u},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return-1<o&&(f=g(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<e.length&&i.ajax({url:n,type:s||"GET",dataType:"html",data:t}).done(function(n){h=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){e.each(function(){r.apply(this,h||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var v,o,s,h,f,c,l=i.css(n,"position"),a=i(n),e={};"static"===l&&(n.style.position="relative");f=a.offset();s=i.css(n,"top");c=i.css(n,"left");("absolute"===l||"fixed"===l)&&-1<(s+c).indexOf("auto")?(h=(v=a.position()).top,o=v.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);u(t)&&(t=t.call(n,r,i.extend({},f)));null!=t.top&&(e.top=t.top-f.top+h);null!=t.left&&(e.left=t.left-f.left+o);"using"in t?t.using.call(n,e):a.css(e)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,r,u,t=this[0],f={top:0,left:0};if("fixed"===i.css(t,"position"))r=t.getBoundingClientRect();else{for(r=this.offset(),u=t.ownerDocument,n=t.offsetParent||u.documentElement;n&&(n===u.body||n===u.documentElement)&&"static"===i.css(n,"position");)n=n.parentNode;n&&n!==t&&1===n.nodeType&&((f=i(n).offset()).top+=i.css(n,"borderTopWidth",!0),f.left+=i.css(n,"borderLeftWidth",!0))}return{top:r.top-f.top-i.css(t,"marginTop",!0),left:r.left-f.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||bt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return p(this,function(n,i,u){var f;if(tt(n)?f=n:9===n.nodeType&&(f=n.defaultView),void 0===u)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=ku(e.pixelPosition,function(n,r){if(r)return r=ni(n,t),tr.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||"boolean"!=typeof f),s=r||(!0===f||!0===e?"margin":"border");return p(this,function(t,r,f){var e;return tt(t)?0===u.indexOf("outer")?t["inner"+n]:t.document.documentElement["client"+n]:9===t.nodeType?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):void 0===f?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:void 0,o)}})}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return 0<arguments.length?this.on(t,null,n,i):this.trigger(t)}}),i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}}),i.proxy=function(n,t){var r,f,e;if("string"==typeof t&&(r=n[t],t=n,n=r),u(n))return f=b.call(arguments,2),(e=function(){return n.apply(t||this,f.concat(b.call(arguments)))}).guid=n.guid=n.guid||i.guid++,e},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=c,i.isFunction=u,i.isWindow=tt,i.camelCase=y,i.type=it,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return("number"===t||"string"===t)&&!isNaN(n-parseFloat(n))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),ie=n.jQuery,re=n.$,i.noConflict=function(t){return n.$===i&&(n.$=re),t&&n.jQuery===i&&(n.jQuery=ie),i},t||(n.jQuery=n.$=i),i}),PageLoadTime.prototype.getPerformanceData=function(){var n=window.performance||{},t={};return n.navigation&&(t.navigation=_getPerformanceObjectData(n.navigation)),n.timing&&(t.timing=_getPerformanceObjectData(n.timing)),n.getEntries&&(t.entries=_mapObject(n.getEntries(),_getPerformanceObjectData)),navigator.connection&&(t.connection=_getPerformanceObjectData(navigator.connection)),t},$trace=function(n,t){var i=n,r=(new Date).getTime(),f=t,u=0;return{toJson:function(){if(f){var n=new Date-r;u=n}return{ac:i,acST:Math.floor(r/1e3),acD:u}},append:function(n){i+=n}}},$diags=function(n,t){var i=[];return setTimeout(function(){var r,f;if(!window.$diags.initializationSuccessful){var t=new n("T000",!1),u="UX001",i="";window.jQuery&&typeof $element!="undefined"||(t=new n("T025",!1),r=window.jQuery?"element":"jQuery",f=document.querySelectorAll('[data-script="'+r+'"]'),i=f[0].src||r,t.append(" - "+i),u="UX002");window.$diags.trace(t);window.$diags.sendDiagnostics(u,i)}},window.initializationTimeout||7e3),{VERSION:"2.0.0",initializationSuccessful:!1,sendDiagnostics:function(n,t,i){window.location.replace(this.toDiagnosticsPath(n,t,i))},sendQuietDiagnostics:function(n,t,i){$.ajax({url:this.toDiagnosticsPath(n,t,i)})},toDiagnosticsPath:function(n,i,r){var f=this.toJson(n,r),u=t.hosts.tenant+"/api/"+t.api+"/error?code="+n+"&diags="+encodeURIComponent(f)+"&csrf_token="+t.csrf+"&tx="+t.transId+"&p="+t.hosts.policy;return i&&(u+="&desc="+encodeURIComponent(i)),u},toJson:function(n,r){for(var e=JSON.stringify(i),f=!1,u;i.length!==0&&e.length>window.maxTrace;)i.shift(),e=JSON.stringify(i),f=!0;return u={pageViewId:t.pageViewId,pageId:t.api,trace:i},f&&(u.truncated=f),n&&(u.code=n),r&&(u.info=r),JSON.stringify(u)},trace:function(n){i.push(n.toJson());return},toConsole:function(){for(var n=0,t=i.length;n<t;n++);return},traceStack:i}}($trace,SETTINGS),function(){var n=function(){var t=window.navigator!==undefined&&window.navigator.onLine!==undefined?window.navigator.onLine?"Online":"Offline":"NotSupported",n=new $trace("T030",!0);n.append(t);$diags.trace(n)};window.addEventListener("online",n);window.addEventListener("offline",n)}(),$santizer=function(n,t){var i=function(n){return t.pageMode===1?n:function(t){try{return sanitizeHtml(n,SETTINGS.sanitizerPolicy)}catch(i){t.append(" - err:"+i.message);$diags.trace(t);$diags.sendDiagnostics("UX017",SETTINGS.remoteResource)}finally{$diags.trace(t)}}(new $trace("T029",!0))};return{santize:i}}($santizer,SETTINGS),typeof navigator.cookieEnabled=="undefined"&&(document.cookie="probe",navigator.cookieEnabled=document.cookie.indexOf("probe")!==-1?!0:!1),navigator.cookieEnabled||(document.getElementById("no_cookie").className=""),typeof $diags!="undefined"&&($diags.initializationSuccessful=!0),window.contentReady,window.pageReady=!1,function(){document.querySelectorAll||(document.querySelectorAll=function(n){var i=i=document.createStyleSheet(),r=document.all,f=r.length,t,u=[];for(i.addRule(n,"k:v"),t=0;t<f;t+=1)if(r[t].currentStyle.k==="v"&&(u.push(r[t]),u.length>Infinity))break;return i.removeRule(0),u});String.prototype.trim||function(){var n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(n,"")}}()}(),navigator.cookieEnabled){preloadCssLink=[],function(){for(var n,u=function(){},t=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],i=t.length,r=window.console=window.console||{};i--;)n=t[i],r[n]||(r[n]=u)}();String.prototype.endsWith||(String.prototype.endsWith=function(n){var t=this.length-n.length;return t>=0&&this.lastIndexOf(n)===t});var checkCssPreloaded=function(){preloadCssLink=preloadCssLink.filter(function(n){for(var t=0;t<document.styleSheets.length;t++)try{if(document.styleSheets[t].href!=null&&document.styleSheets[t].href.endsWith(n)&&document.styleSheets[t].cssRules)return!1}catch(i){if(i.code!==DOMException.INVALID_ACCESS_ERR&&i.name!=="Error")throw i;else return!0}return!0});preloadCssLink.length===0?$("body").show():setTimeout(function(){checkCssPreloaded()},0)},preloadJavaScript=function(n){var r=function(t){var i=$(n[t]),r=i.attr("src");if(r)return $.ajax({method:"GET",url:r,dataType:"text"}).done(function(n){i.text(n);i.removeAttr("src")}).fail(function(){})},i=[],t;if(n)for(t=0;t<n.length;t++)i.push(r(t));return $.when.apply($,i)},$cors=function(){var n,t=function(t){(function(i){var e,o,f;try{e=document.createElement("html");e.innerHTML=$santizer.santize(n);var u=$(e).find("head:first"),r=$(e).find("body:first"),s=u.find("script"),h=[];for(o=0;o<s.length;o++)f=s[o],f.getAttribute("src")&&f.getAttribute("data-preload")&&f.getAttribute("data-preload").toLowerCase()==="true"&&h.push(f);preloadJavaScript(h).then(function(){var e,f,n;u.find("title").length>0&&$("title").remove();var o="link[rel$='icon']",i=u.find(o);for(i&&i[0]&&(i[0].getAttribute("href")===undefined&&i[0].setAttribute("href","data:;base64,iVBORw0KGgo="),$("head").find(o).remove()),e=u.find("link"),f=0;f<e.length;f++)n=e[f],n.getAttribute("rel")==="stylesheet"&&n.getAttribute("href")&&n.getAttribute("data-preload")&&n.getAttribute("data-preload").toLowerCase()==="true"&&(n.setAttribute("crossorigin","anonymous"),$("body").hide(),preloadCssLink.push(n.getAttribute("href")));$("head").prepend(u.html());applyTenantBranding(r),function(n){var t=r.find("#api"),i=$($element.getElementContent()).html(),u=t[0].attributes;t.replaceWith($(i));t=r.find("#api");$.each(u,function(){this.name!=="id"&&t.attr(this.name,this.value)});r=$(r.html());$diags.trace(n)}(new $trace("T004",!0));setTimeout(function(){$("body").append(r);$.isFunction(t)&&t()},0);$("table[class=panel_layout]").attr({"aria-label":document.title})})}catch(c){i.append(" - err:"+c.message)}finally{$diags.trace(i)}})(new $trace("T019",!0))};return function i(){(function(t){var f=!window.XDomainRequest,r=f?new XMLHttpRequest:new XDomainRequest,u=SETTINGS.remoteResource,e;u.indexOf(window.staticHost)===0&&(e=u.indexOf("?")===-1?"?":"&",u+=e+"slice="+window.targetSlice,u+="&dc="+window.targetDc);r.open("GET",u);r.onload=function(){if(!f||f&&r.status===200){n=r.responseText;window.contentReady=!0;t.append(" - URL:"+u);$diags.trace(t);return}if(r.status===404){var i=new $trace("T028",!1);$diags.trace(i);$diags.trace(t);$diags.sendDiagnostics("UX005",SETTINGS.remoteResource)}return};r.onerror=function(){var i=0,n;f&&(i=r.status);n=new $trace("T027",!1);$diags.trace(n);$diags.trace(t);$diags.sendDiagnostics("UX004",SETTINGS.remoteResource);return};r.timeout=function(){if(this.tryCount++,this.tryCount<=this.retryLimit){i();return}var n=new $trace("T026",!1);$diags.trace(n);$diags.trace(t);$diags.sendDiagnostics("UX003",SETTINGS.remoteResource);return};r.onprogress=function(){};r.timeout=(window.initializationTimeout||7e3)-200;r.send()})(new $trace("T021",!0))}(),{process:t}}($cors,SETTINGS),applyTenantBranding=function(n){var f="tenantBranding",i,r,u;if(SETTINGS[f]){var t=SETTINGS[f],e="backgroundColor",o="backgroundImageUrl",s="bannerLogoUrl",h=n.find("div[data-tenant-branding-background-color=true]");t[e]&&h.length>0&&(i=document.createElement("style"),i.innerHTML="div[data-tenant-branding-background-color=true]#background_branding_container {background:"+t[e]+"}",$("head").append(i));r=n.find("img[data-tenant-branding-background=true]");t[o]&&r.length>0&&r.attr("src",t[o]);u=n.find("img[data-tenant-branding-logo=true]");t[s]&&u.length>0&&u.attr("src",t[s]).show()}},sendPageLoadTime=function(){var t=new PageLoadTime,i=JSON.stringify(t.getPerformanceData()),n=jQuery.extend(!0,{},window.SETTINGS);n.contentType="application/json; charset=utf-8";n.api="client";$i2e.sendDataWithRetry(i,function(){},function(){$diags.trace(new $trace("T035",!1))},function(){},"perftrace",n)};(function defer(){window.jQuery&&typeof $element!="undefined"?function n(){window.contentReady?$cors.process(function(){$element.initialize();$diags.initializationSuccessful=!0;window.pageReady=!0;setTimeout(sendPageLoadTime,0);checkCssPreloaded()}):setTimeout(n,0)}():setTimeout(function(){defer()},50)})()} /**! @license handlebars v4.0.12 Copyright (C) 2011-2017 by Yehuda Katz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ !function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Handlebars=t():n.Handlebars=t()}(this,function(){return function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={exports:{},id:r,loaded:!1};return n[r].call(u.exports,u,u.exports,t),u.loaded=!0,u.exports}var i={};return t.m=n,t.c=i,t.p="",t(0)}([function(n,t,i){"use strict";function o(){var n=new s.HandlebarsEnvironment;return e.extend(n,s),n.SafeString=a["default"],n.Exception=y["default"],n.Utils=e,n.escapeExpression=e.escapeExpression,n.VM=h,n.template=function(t){return h.template(t,n)},n}var u=i(1)["default"],f=i(2)["default"];t.__esModule=!0;var c=i(3),s=u(c),l=i(20),a=f(l),v=i(5),y=f(v),p=i(4),e=u(p),w=i(21),h=u(w),b=i(33),k=f(b),r=o();r.create=o;k["default"](r);r["default"]=r;t["default"]=r;n.exports=t["default"]},function(n,t){"use strict";t["default"]=function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t};t.__esModule=!0},function(n,t){"use strict";t["default"]=function(n){return n&&n.__esModule?n:{"default":n}};t.__esModule=!0},function(n,t,i){"use strict";function e(n,t,i){this.helpers=n||{};this.partials=t||{};this.decorators=i||{};v.registerDefaultHelpers(this);y.registerDefaultDecorators(this)}var s=i(2)["default"],h,c,f,l;t.__esModule=!0;t.HandlebarsEnvironment=e;var r=i(4),a=i(5),o=s(a),v=i(9),y=i(17),p=i(19),u=s(p);t.VERSION="4.0.12";h=7;t.COMPILER_REVISION=h;c={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};t.REVISION_CHANGES=c;f="[object Object]";e.prototype={constructor:e,logger:u["default"],log:u["default"].log,registerHelper:function(n,t){if(r.toString.call(n)===f){if(t)throw new o["default"]("Arg not supported with multiple helpers");r.extend(this.helpers,n)}else this.helpers[n]=t},unregisterHelper:function(n){delete this.helpers[n]},registerPartial:function(n,t){if(r.toString.call(n)===f)r.extend(this.partials,n);else{if("undefined"==typeof t)throw new o["default"]('Attempting to register a partial called "'+n+'" as undefined');this.partials[n]=t}},unregisterPartial:function(n){delete this.partials[n]},registerDecorator:function(n,t){if(r.toString.call(n)===f){if(t)throw new o["default"]("Arg not supported with multiple decorators");r.extend(this.decorators,n)}else this.decorators[n]=t},unregisterDecorator:function(n){delete this.decorators[n]}};l=u["default"].log;t.log=l;t.createFrame=r.createFrame;t.logger=u["default"]},function(n,t){"use strict";function e(n){return v[n]}function f(n){for(var i,t=1;t<arguments.length;t++)for(i in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],i)&&(n[i]=arguments[t][i]);return n}function o(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1}function s(n){if("string"!=typeof n){if(n&&n.toHTML)return n.toHTML();if(null==n)return"";if(!n)return n+"";n=""+n}return p.test(n)?n.replace(y,e):n}function h(n){return!n&&0!==n||!(!u(n)||0!==n.length)}function c(n){var t=f({},n);return t._parent=n,t}function l(n,t){return n.path=t,n}function a(n,t){return(n?n+".":"")+t}var i,u;t.__esModule=!0;t.extend=f;t.indexOf=o;t.escapeExpression=s;t.isEmpty=h;t.createFrame=c;t.blockParams=l;t.appendContextPath=a;var v={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},y=/[&<>"'`=]/g,p=/[&<>"'`=]/,r=Object.prototype.toString;t.toString=r;i=function(n){return"function"==typeof n};i(/x/)&&(t.isFunction=i=function(n){return"function"==typeof n&&"[object Function]"===r.call(n)});t.isFunction=i;u=Array.isArray||function(n){return!(!n||"object"!=typeof n)&&"[object Array]"===r.call(n)};t.isArray=u},function(n,t,i){"use strict";function u(n,t){var e=t&&t.loc,s=void 0,o=void 0,h,i;for(e&&(s=e.start.line,o=e.start.column,n+=" - "+s+":"+o),h=Error.prototype.constructor.call(this,n),i=0;i<r.length;i++)this[r[i]]=h[r[i]];Error.captureStackTrace&&Error.captureStackTrace(this,u);try{e&&(this.lineNumber=s,f?Object.defineProperty(this,"column",{value:o,enumerable:!0}):this.column=o)}catch(c){}}var f=i(6)["default"],r;t.__esModule=!0;r=["description","fileName","lineNumber","message","name","number","stack"];u.prototype=new Error;t["default"]=u;n.exports=t["default"]},function(n,t,i){n.exports={"default":i(7),__esModule:!0}},function(n,t,i){var r=i(8);n.exports=function(n,t,i){return r.setDesc(n,t,i)}},function(n){var t=Object;n.exports={create:t.create,getProto:t.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:t.getOwnPropertyDescriptor,setDesc:t.defineProperty,setDescs:t.defineProperties,getKeys:t.keys,getNames:t.getOwnPropertyNames,getSymbols:t.getOwnPropertySymbols,each:[].forEach}},function(n,t,i){"use strict";function u(n){e["default"](n);s["default"](n);c["default"](n);a["default"](n);y["default"](n);w["default"](n);k["default"](n)}var r=i(2)["default"];t.__esModule=!0;t.registerDefaultHelpers=u;var f=i(10),e=r(f),o=i(11),s=r(o),h=i(12),c=r(h),l=i(13),a=r(l),v=i(14),y=r(v),p=i(15),w=r(p),b=i(16),k=r(b)},function(n,t,i){"use strict";t.__esModule=!0;var r=i(4);t["default"]=function(n){n.registerHelper("blockHelperMissing",function(t,i){var f=i.inverse,e=i.fn,u;return t===!0?e(this):t===!1||null==t?f(this):r.isArray(t)?t.length>0?(i.ids&&(i.ids=[i.name]),n.helpers.each(t,i)):f(this):(i.data&&i.ids&&(u=r.createFrame(i.data),u.contextPath=r.appendContextPath(i.data.contextPath,i.name),i={data:u}),e(t,i))})};n.exports=t["default"]},function(n,t,i){"use strict";var u=i(2)["default"];t.__esModule=!0;var r=i(4),f=i(5),e=u(f);t["default"]=function(n){n.registerHelper("each",function(n,t){function s(t,i,f){u&&(u.key=t,u.index=i,u.first=0===i,u.last=!!f,o&&(u.contextPath=o+t));h+=a(n[t],{data:u,blockParams:r.blockParams([n[t],t],[o+t,null])})}var l,f,c;if(!t)throw new e["default"]("Must pass iterator to #each");var a=t.fn,v=t.inverse,i=0,h="",u=void 0,o=void 0;if(t.data&&t.ids&&(o=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(n)&&(n=n.call(this)),t.data&&(u=r.createFrame(t.data)),n&&"object"==typeof n)if(r.isArray(n))for(l=n.length;i<l;i++)i in n&&s(i,i,i===n.length-1);else{f=void 0;for(c in n)n.hasOwnProperty(c)&&(void 0!==f&&s(f,i-1),f=c,i++);void 0!==f&&s(f,i-1,!0)}return 0===i&&(h=v(this)),h})};n.exports=t["default"]},function(n,t,i){"use strict";var f=i(2)["default"],r,u;t.__esModule=!0;r=i(5);u=f(r);t["default"]=function(n){n.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new u["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"');})};n.exports=t["default"]},function(n,t,i){"use strict";t.__esModule=!0;var r=i(4);t["default"]=function(n){n.registerHelper("if",function(n,t){return r.isFunction(n)&&(n=n.call(this)),!t.hash.includeZero&&!n||r.isEmpty(n)?t.inverse(this):t.fn(this)});n.registerHelper("unless",function(t,i){return n.helpers["if"].call(this,t,{fn:i.inverse,inverse:i.fn,hash:i.hash})})};n.exports=t["default"]},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){n.registerHelper("log",function(){for(var i,r=[void 0],t=arguments[arguments.length-1],u=0;u<arguments.length-1;u++)r.push(arguments[u]);i=1;null!=t.hash.level?i=t.hash.level:t.data&&null!=t.data.level&&(i=t.data.level);r[0]=i;n.log.apply(n,r)})};n.exports=t["default"]},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){n.registerHelper("lookup",function(n,t){return n&&n[t]})};n.exports=t["default"]},function(n,t,i){"use strict";t.__esModule=!0;var r=i(4);t["default"]=function(n){n.registerHelper("with",function(n,t){var u,i;return(r.isFunction(n)&&(n=n.call(this)),u=t.fn,r.isEmpty(n))?t.inverse(this):(i=t.data,t.data&&t.ids&&(i=r.createFrame(t.data),i.contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),u(n,{data:i,blockParams:r.blockParams([n],[i&&i.contextPath])}))})};n.exports=t["default"]},function(n,t,i){"use strict";function f(n){u["default"](n)}var e=i(2)["default"],r,u;t.__esModule=!0;t.registerDefaultDecorators=f;r=i(18);u=e(r)},function(n,t,i){"use strict";t.__esModule=!0;var r=i(4);t["default"]=function(n){n.registerDecorator("inline",function(n,t,i,u){var f=n;return t.partials||(t.partials={},f=function(u,f){var e=i.partials,o;return i.partials=r.extend({},e,t.partials),o=n(u,f),i.partials=e,o}),t.partials[u.args[0]]=u.fn,f})};n.exports=t["default"]},function(n,t,i){"use strict";t.__esModule=!0;var u=i(4),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(n){if("string"==typeof n){var t=u.indexOf(r.methodMap,n.toLowerCase());n=t>=0?t:parseInt(n,10)}return n},log:function(n){var t;if(n=r.lookupLevel(n),"undefined"!=typeof console&&r.lookupLevel(r.level)<=n){t=r.methodMap[n];console[t]||(t="log");for(var u=arguments.length,f=Array(u>1?u-1:0),i=1;i<u;i++)f[i-1]=arguments[i];console[t].apply(console,f)}}};t["default"]=r;n.exports=t["default"]},function(n,t){"use strict";function i(n){this.string=n}t.__esModule=!0;i.prototype.toString=i.prototype.toHTML=function(){return""+this.string};t["default"]=i;n.exports=t["default"]},function(n,t,i){"use strict";function h(n){var t=n&&n[0]||1,i=u.COMPILER_REVISION,f,e;if(t!==i){if(t<i){f=u.REVISION_CHANGES[i];e=u.REVISION_CHANGES[t];throw new r["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+f+") or downgrade your runtime to an older version ("+e+").");}throw new r["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+n[1]+").");}}function c(n,t){function o(i,u,e){var o;if(e.hash&&(u=f.extend({},u,e.hash),e.ids&&(e.ids[0]=!0)),i=t.VM.resolvePartial.call(this,i,u,e),o=t.VM.invokePartial.call(this,i,u,e),null==o&&t.compile&&(e.partials[e.name]=t.compile(i,n.compilerOptions,t),o=e.partials[e.name](u,e)),null!=o){if(e.indent){for(var h=o.split("\n"),s=0,c=h.length;s<c&&(h[s]||s+1!==c);s++)h[s]=e.indent+h[s];o=h.join("\n")}return o}throw new r["default"]("The partial "+e.name+" could not be compiled when running in runtime-only mode");}function u(t){function h(t){return""+n.main(i,t,i.helpers,i.partials,f,o,e)}var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],f=r.data,e,o;return u._setup(r),!r.partial&&n.useData&&(f=v(t,f)),e=void 0,o=n.useBlockParams?[]:void 0,n.useDepths&&(e=r.depths?t!=r.depths[0]?[t].concat(r.depths):r.depths:[t]),(h=s(n.main,h,i,r.depths||[],f,o))(t,r)}if(!t)throw new r["default"]("No environment passed to template");if(!n||!n.main)throw new r["default"]("Unknown template object: "+typeof n);n.main.decorator=n.main_d;t.VM.checkRevision(n.compiler);var i={strict:function(n,t){if(!(t in n))throw new r["default"]('"'+t+'" not defined in '+n);return n[t]},lookup:function(n,t){for(var r=n.length,i=0;i<r;i++)if(n[i]&&null!=n[i][t])return n[i][t]},lambda:function(n,t){return"function"==typeof n?n.call(t):n},escapeExpression:f.escapeExpression,invokePartial:o,fn:function(t){var i=n[t];return i.decorator=n[t+"_d"],i},programs:[],program:function(n,t,i,r,u){var f=this.programs[n],o=this.fn(n);return t||u||r||i?f=e(this,n,o,t,i,r,u):f||(f=this.programs[n]=e(this,n,o)),f},data:function(n,t){for(;n&&t--;)n=n._parent;return n},merge:function(n,t){var i=n||t;return n&&t&&n!==t&&(i=f.extend({},t,n)),i},nullContext:y({}),noop:t.VM.noop,compilerInfo:n.compiler};return u.isTop=!0,u._setup=function(r){r.partial?(i.helpers=r.helpers,i.partials=r.partials,i.decorators=r.decorators):(i.helpers=i.merge(r.helpers,t.helpers),n.usePartial&&(i.partials=i.merge(r.partials,t.partials)),(n.usePartial||n.useDecorators)&&(i.decorators=i.merge(r.decorators,t.decorators)))},u._child=function(t,u,f,o){if(n.useBlockParams&&!f)throw new r["default"]("must pass block params");if(n.useDepths&&!o)throw new r["default"]("must pass parent depths");return e(i,t,n[t],u,0,f,o)},u}function e(n,t,i,r,u,f,e){function o(t){var u=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e;return!e||t==e[0]||t===n.nullContext&&null===e[0]||(o=[t].concat(e)),i(n,t,n.helpers,n.partials,u.data||r,f&&[u.blockParams].concat(f),o)}return o=s(i,o,n,e,r,f),o.program=t,o.depth=e?e.length:0,o.blockParams=u||0,o}function l(n,t,i){return n?n.call||i.name||(i.name=n,n=i.partials[n]):n="@partial-block"===i.name?i.data["partial-block"]:i.partials[i.name],n}function a(n,t,i){var s=i.data&&i.data["partial-block"],e;if(i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath),e=void 0,i.fn&&i.fn!==o&&!function(){i.data=u.createFrame(i.data);var n=i.fn;e=i.data["partial-block"]=function(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return i.data=u.createFrame(i.data),i.data["partial-block"]=s,n(t,i)};n.partials&&(i.partials=f.extend({},i.partials,n.partials))}(),void 0===n&&e&&(n=e),void 0===n)throw new r["default"]("The partial "+i.name+" could not be found");if(n instanceof Function)return n(t,i)}function o(){return""}function v(n,t){return t&&"root"in t||(t=t?u.createFrame(t):{},t.root=n),t}function s(n,t,i,r,u,e){if(n.decorator){var o={};t=n.decorator(t,o,i,r&&r[0],u,e,r);f.extend(t,o)}return t}var y=i(22)["default"],p=i(1)["default"],w=i(2)["default"];t.__esModule=!0;t.checkRevision=h;t.template=c;t.wrapProgram=e;t.resolvePartial=l;t.invokePartial=a;t.noop=o;var b=i(4),f=p(b),k=i(5),r=w(k),u=i(3)},function(n,t,i){n.exports={"default":i(23),__esModule:!0}},function(n,t,i){i(24);n.exports=i(29).Object.seal},function(n,t,i){var r=i(25);i(26)("seal",function(n){return function(t){return n&&r(t)?n(t):t}})},function(n){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,i){var r=i(27),u=i(29),f=i(32);n.exports=function(n,t){var i=(u.Object||{})[n]||Object[n],e={};e[n]=t(i);r(r.S+r.F*f(function(){i(1)}),"Object",e)}},function(n,t,i){var f=i(28),e=i(29),o=i(30),u="prototype",r=function(n,t,i){var s,l,h,p=n&r.F,a=n&r.G,w=n&r.S,y=n&r.P,b=n&r.B,k=n&r.W,v=a?e:e[t]||(e[t]={}),c=a?f:w?f[t]:(f[t]||{})[u];a&&(i=t);for(s in i)l=!p&&c&&s in c,l&&s in v||(h=l?c[s]:i[s],v[s]=a&&"function"!=typeof c[s]?i[s]:b&&l?o(h,f):k&&c[s]==h?function(n){var t=function(t){return this instanceof n?new n(t):n(t)};return t[u]=n[u],t}(h):y&&"function"==typeof h?o(Function.call,h):h,y&&((v[u]||(v[u]={}))[s]=h))};r.F=1;r.G=2;r.S=4;r.P=8;r.B=16;r.W=32;n.exports=r},function(n){var t=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(n){var t=n.exports={version:"1.2.6"};"number"==typeof __e&&(__e=t)},function(n,t,i){var r=i(31);n.exports=function(n,t,i){if(r(n),void 0===t)return n;switch(i){case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)}}return function(){return n.apply(t,arguments)}}},function(n){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n){n.exports=function(n){try{return!!n()}catch(t){return!0}}},function(n,t){(function(i){"use strict";t.__esModule=!0;t["default"]=function(n){var t="undefined"!=typeof i?i:window,r=t.Handlebars;n.noConflict=function(){return t.Handlebars===n&&(t.Handlebars=r),n}};n.exports=t["default"]}).call(t,function(){return this}())}])});$i2e=function(n,t){return{VERSION:"2.0.0",APPLE_IDP_PATH_REGEX:new RegExp(/\?claimsexchange=.*apple.*/i),redirectToServer:function(n,t){this.isSafari()&&this.APPLE_IDP_PATH_REGEX.test(n)||(this.redirectToServer=function(){});$diags.trace(new $trace("T002",!1));var i=this.getRedirectLink(n);$(document).ready(function(){window.diagsAlways&&(i+="&diags="+encodeURIComponent($diags.toJson()));t?window.location.assign(i):window.location.replace(i)})},getRedirectLink:function(n){return n=n+(n.indexOf("?")===-1?"?":"&")+"csrf_token="+t.csrf+"&tx="+t.transId,window.Metrics!==undefined&&(n+="&metrics="+encodeURIComponent(window.Metrics.serialize())),t.hosts.tenant+"/api/"+t.api+"/"+n+"&p="+t.hosts.policy},sendData:function(n,i,r){r=r!==undefined?r:t;var f=r.hosts.tenant+"/"+r.api+(i!==undefined?"/"+i:"")+"?tx="+r.transId+"&p="+r.hosts.policy,u={"X-CSRF-TOKEN":t.csrf};return t.isPageViewIdSentWithHeader&&(u["x-ms-cpim-pageviewid"]=t.pageViewId),$.ajax({type:"POST",dataType:"json",headers:u,timeout:r.config.timeout||9e4,url:f,cache:!1,data:n})},sendDataWithRetry:function(n,i,r,u,f,e){var h,s,o;return e=e!==undefined?e:t,h=e.hosts.tenant+"/"+e.api+(f!==undefined?"/"+f:"")+"?tx="+e.transId+"&p="+e.hosts.policy,s={"X-CSRF-TOKEN":t.csrf},t.isPageViewIdSentWithHeader&&(s["x-ms-cpim-pageviewid"]=t.pageViewId),o=e.xhrSettings,$.ajax({type:"POST",dataType:"json",headers:s,retryMaxAttempts:o&&o.hasOwnProperty("retryMaxAttempts")?o.retryMaxAttempts:3,retryDelay:o&&o.hasOwnProperty("retryDelay")?o.retryDelay:200,retryExponent:o&&o.hasOwnProperty("retryExponent")?o.retryExponent:2,retryEnabled:o&&o.hasOwnProperty("retryEnabled")?o.retryEnabled:!1,retryOn:o&&o.hasOwnProperty("retryOn")?o.retryOn:[],retryAttempt:0,timeout:e.config.timeout||9e4,url:h,cache:!1,contentType:e.contentType!==undefined?e.contentType:"application/x-www-form-urlencoded; charset=UTF-8",data:n,success:i,error:function(n,t,i){var u,f,e;(this.retryEnabled===!1||this.retryOn.indexOf(t)===-1)&&r(n,t,i);u=window.navigator!==undefined&&window.navigator.onLine!==undefined?window.navigator.onLine:!0;f=new $trace("T030",!1);f.append(u?"Online":"Offline");$diags.trace(f);u===!1&&(this.retryAttempt<this.retryMaxAttempts?(this.retryAttempt++,this.retryDelay=this.retryAttempt===1?this.retryDelay:this.retryDelay*this.retryExponent,e=new $trace("T031",!1),e.append(" '"+t+": ' - retryAttempt: "+this.retryAttempt+" - retryDelay: "+this.retryDelay+" - retryExponent:"+this.retryExponent),$diags.trace(e),setTimeout(function(n){return $.ajax(n)},this.retryDelay,this)):($diags.trace(new $trace("T032",!1)),r(n,t,i)))},complete:u})},generateServiceContent:function(n,t){var i=Handlebars.templates[n];return i(t)},insertServiceContent:function(n){var i=$(n),t=$("#api"),r=t[0].attributes;t.replaceWith(i.html());$.each(r,function(){this.name!=="id"&&$("#api").attr(this.name,this.value)})},lookupLanguage:function(t){return n[t]},bindHost:function(n){return t.hosts.static+n},isSafari:function(){var n=navigator.userAgent.toLowerCase();if(n.indexOf("safari")!==-1)return n.indexOf("chrome")>-1?!1:!0}}}(CONTENT,SETTINGS),function(n,t){Handlebars.registerHelper("getContent",function(t){return new Handlebars.SafeString(n[t])});Handlebars.registerHelper("getRawContent",function(t){return n[t]});Handlebars.registerHelper("getSettingAsBoolean",function(n){var i=t.config[n];return i&&i.toLowerCase()==="true"});Handlebars.registerHelper("getHostQualfiedUrl",function(n){return t.hosts.static+n});Handlebars.registerHelper("isSettingTrue",function(n,i){var r=t.config[n];return r&&r.toLowerCase()==="true"?i.fn(this):null});Handlebars.registerHelper("isSettingEqual",function(n,i,r,u){for(var o=t.config[n]||r,e=i.split(","),s=e.length,f=0;f<s;f++)if(e[f]&&e[f].toLowerCase()===o.toLowerCase())return u.fn(this);return null});Handlebars.registerHelper("doesSettingExist",function(n,i){var r=t.config[n];return r?i.fn(this):i.inverse(this)});Handlebars.registerHelper("doesSettingContain",function(n,i,r,u){for(var o=t.config[n]||r,e=o.split(","),s=e.length,f=0;f<s;f++)if(e[f]&&e[f].toLowerCase()===i.toLowerCase())return u.fn(this);return u.inverse(this)});Handlebars.registerHelper("isSingle",function(n,t){return n.length===1?t.fn(this):null});Handlebars.registerHelper("isMultiple",function(n,t){return n.length>1?t.fn(this):null});Handlebars.registerHelper("getCountryDialingCodeOptionList",function(){var u="",e=t.locale.country,f=document.createElement("textarea"),r,n,i;f.innerHTML=$i2e.lookupLanguage("countryList");r=JSON.parse(f.value);for(n in r)i=$isoData.countryByIso[n].dc,u+="<option value='+"+i+(e===n?"' selected>":"'>")+r[n]+(i?" (+"+i+")":"")+"<\/option>";return u})}(CONTENT,SETTINGS);$modal=function(){"use strict";return function(){var t="#simplemodal-overlay{background:#000}#simplemodal-container{background:#fff;padding:30px 20px 20px;text-align:left;-webkit-box-shadow:0 0 30px 2px rgba(0,0,0,.5);-moz-box-shadow:0 0 30px 2px rgba(0,0,0,.5);box-shadow:0 0 30px 2px rgba(0,0,0,.5);overflow:hidden}#simplemodal-container h2{font-family:Arial,Helvetica,sans-serif;color:#1C5B96;font-size:20px;line-height:26px;margin-bottom:10px}#simplemodal-container .simplemodal-data{padding:8px;overflow:hidden}#simplemodal-container h1{margin-bottom:20px}",i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");i.appendChild(n);n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}(),{VERSION:"2.0.0",showDefault:function(n){$.modal&&$(n).modal({opacity:60,minHeight:200,minWidth:500,maxWidth:500})},showCustom:function(n,t){$.modal&&$(n).modal(t)},hide:function(){$.modal&&$.modal.close()}}}();$predicateValidation=function(){var n={UNKNOWN:0,INCLUDES_CHARACTERS:1,MATCHES_REGEX:2,IS_LENGTH_RANGE:3,IS_DATE_RANGE:4},t={MINIMUM:1,MAXIMUM:2,CHARACTER_SET:3,REGULAR_EXPRESSION:4},f=function(n){var t,i;if(!Array.isArray(SA_FIELDS.AttributeFields))return null;for(t=0;t<SA_FIELDS.AttributeFields.length;t++){if(SA_FIELDS.AttributeFields[t].ID===n)return SA_FIELDS.AttributeFields[t];if(SA_FIELDS.AttributeFields[t].USER_INPUT_TYPE==="DisplayControl"){if(!Array.isArray(SA_FIELDS.AttributeFields[t].DISPLAY_FIELDS))return null;for(i=0;i<SA_FIELDS.AttributeFields[t].DISPLAY_FIELDS.length;i++)if(SA_FIELDS.AttributeFields[t].DISPLAY_FIELDS[i].ID===n)return SA_FIELDS.AttributeFields[t].DISPLAY_FIELDS[i]}}return null},e=function(n,t,i){var r,u;if(!Array.isArray(n))return null;for(r=0;r<n.length;r++)if(u=n[r],u[t]!=null&&u[t]==i)return u;return null},i=function(n){return n.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#039;/g,"'").replace(/&#39;/g,"'")},o=function(n){return n.replace(/([\/^$*+?.()|[\]{}])/g,"\\$1")},r=function(){var u=this,r=[];return r[n.UNKNOWN]=function(){return!0},r[n.INCLUDES_CHARACTERS]=function(n,t){var r=i(t[0].VALUE),u=new RegExp("["+o(r)+"]+");return u.test(n)},r[n.IS_LENGTH_RANGE]=function(n,i){var r=parseInt($predicateValidation.findBy(i,"NAME",t.MINIMUM).VALUE),u=parseInt($predicateValidation.findBy(i,"NAME",t.MAXIMUM).VALUE);return r<=n.length&&n.length<=u},r[n.IS_DATE_RANGE]=function(n,i){var r=new Date($predicateValidation.findBy(i,"NAME",t.MINIMUM).VALUE),u=new Date($predicateValidation.findBy(i,"NAME",t.MAXIMUM).VALUE),f=new Date(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),e=new Date(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate());return f<=n&&n<=e},r[n.MATCHES_REGEX]=function(n,r){var u=i($predicateValidation.findBy(r,"NAME",t.REGULAR_EXPRESSION).VALUE),f=new RegExp(u);return f.test(n)},r},u=function(n,t,i){for(var u=n!=""&&n!=null,e=u?i:"",f=u?n:"",r=0;r<t.length;r++)f+=e+t[r].HELP_TEXT;return f},s=function(n,t,i){var h=[],c={isValid:!0,errorMsgs:h},w=$predicateValidation.findAttributeFieldByClaimId(n),f,v,l,e,o,y,a,s,b,p;if(null==w||(f=w.INPUT_VALIDATION,null==f))return c;if(v=r(),l=!0,f.PREDICATES!=null)for(e=0;e<f.PREDICATES.length;e++)s=f.PREDICATES[e],v[s.METHOD](t,s.PARAMS)||(h.push(u("",[s],i)),l=!1);if(f.PREDICATE_GROUPS!=null)for(e=0;e<f.PREDICATE_GROUPS.length;e++){for(o=f.PREDICATE_GROUPS[e],y=0,a=0;a<o.PREDICATES.length;a++)s=o.PREDICATES[a],b=v[s.METHOD](t,s.PARAMS),b&&y++;p=y>=o.MATCH_AT_LEAST;(p&&o.REJECT===!0||!p&&o.REJECT!==!0)&&(h.push(u(o.HELP_TEXT,o.PREDICATES,i)),l=!1)}return c.isValid=l,c.errorMsgs=h,c};return{findAttributeFieldByClaimId:f,findBy:e,generateValidationDict:s,validationMethods:r,unescapeHtml:i,PREDICATE_METHODS:n,PREDICATE_PARAMETERS:t}}($diags,CONTENT,SETTINGS);this.Handlebars=this.Handlebars||{};this.Handlebars.templates=this.Handlebars.templates||{};this.Handlebars.templates.selfasserted=Handlebars.template({1:function(n,t,i,r,u){var f;return' <div class="heading">\r\n <h1 role="heading">'+(null!=(f=(i.getContent||t&&t.getContent||i.helperMissing).call(null!=t?t:n.nullContext||{},"heading",{name:"getContent",hash:{},data:u}))?f:"")+"<\/h1>\r\n <\/div>\r\n"},3:function(n,t,i,r,u){var f;return null!=(f=(i.isSettingEqual||t&&t.isSettingEqual||i.helperMissing).call(null!=t?t:n.nullContext||{},"pageFlavor","oceanBlue,slateGray","None",{name:"isSettingEqual",hash:{},fn:n.program(4,u,0),inverse:n.noop,data:u}))?f:""},4:function(n,t,i,r,u){var f,e=null!=t?t:n.nullContext||{},o=i.helperMissing;return' <button id="cancel" aria-label="'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"button_cancel",{name:"getContent",hash:{},data:u}))?f:"")+'" formnovalidate>'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"button_cancel",{name:"getContent",hash:{},data:u}))?f:"")+"<\/button>\r\n"},6:function(n,t,i,r,u){var f;return" "+(null!=(f=(i.buildAttributeField||t&&t.buildAttributeField||i.helperMissing).call(null!=t?t:n.nullContext||{},t,u&&u.index,{name:"buildAttributeField",hash:{},fn:n.program(7,u,0),inverse:n.noop,data:u}))?f:"")+"\r\n"},7:function(){return""},9:function(n,t,i,r,u){var f,e=null!=t?t:n.nullContext||{},o=i.helperMissing;return'<button id="continue" type="submit" form="attributeVerification" aria-disabled="true" aria-label="'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"button_continue",{name:"getContent",hash:{},data:u}))?f:"")+'">'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"button_continue",{name:"getContent",hash:{},data:u}))?f:"")+"<\/button>"},11:function(n,t,i,r,u){var f;return null!=(f=(i.isSettingEqual||t&&t.isSettingEqual||i.helperMissing).call(null!=t?t:n.nullContext||{},"pageFlavor","classic","None",{name:"isSettingEqual",hash:{},fn:n.program(12,u,0),inverse:n.noop,data:u}))?f:""},12:function(n,t,i,r,u){var f,e=null!=t?t:n.nullContext||{},o=i.helperMissing;return'<button id="cancel" aria-label="'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"button_cancel",{name:"getContent",hash:{},data:u}))?f:"")+'" formnovalidate>'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"button_cancel",{name:"getContent",hash:{},data:u}))?f:"")+"<\/button>"},compiler:[7,">= 4.0.0"],main:function(n,t,i,r,u){var f,s,e=null!=t?t:n.nullContext||{},o=i.helperMissing;return'<script type="text/x-handlebars-template">\r\n <div id="api" data-name="SelfAsserted">\r\n'+(null!=(f=(i.isSettingTrue||t&&t.isSettingTrue||o).call(e,"showHeading",{name:"isSettingTrue",hash:{},fn:n.program(1,u,0),inverse:n.noop,data:u}))?f:"")+' <div class="buttons">\r\n'+(null!=(f=(i.isSettingTrue||t&&t.isSettingTrue||o).call(e,"showCancelButton",{name:"isSettingTrue",hash:{},fn:n.program(3,u,0),inverse:n.noop,data:u}))?f:"")+' <\/div>\r\n <div class="intro">\r\n <p>'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"initial_intro",{name:"getContent",hash:{},data:u}))?f:"")+'<\/p>\r\n <\/div>\r\n <form id="attributeVerification" action="JavaScript:void(0);">\r\n <div id="passwordEntryMismatch" class="error pageLevel" style="display: none;" aria-hidden="true">'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"error_passwordEntryMismatch",{name:"getContent",hash:{},data:u}))?f:"")+'<\/div>\r\n <div id="requiredFieldMissing" class="error pageLevel" style="display: none;" aria-hidden="true">'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"error_requiredFieldMissing",{name:"getContent",hash:{},data:u}))?f:"")+'<\/div>\r\n <div id="fieldIncorrect" class="error pageLevel" style="display: none;" aria-hidden="true">'+(null!=(f=(i.getContent||t&&t.getContent||o).call(e,"error_fieldIncorrect",{name:"getContent",hash:{},data:u}))?f:"")+'<\/div>\r\n <div id="claimVerificationServerError" class="error pageLevel" style="display: none;" aria-hidden="true"><\/div>\r\n <div id="attributeList" class="attr">\r\n <ul>\r\n'+(null!=(f=i.each.call(e,null!=t?t.AttributeFields:t,{name:"each",hash:{},fn:n.program(6,u,0),inverse:n.noop,data:u}))?f:"")+' <\/ul>\r\n <\/div>\r\n <div class="buttons">\r\n '+(null!=(f=(i.isSettingTrue||t&&t.isSettingTrue||o).call(e,"showContinueButton",{name:"isSettingTrue",hash:{},fn:n.program(9,u,0),inverse:n.noop,data:u}))?f:"")+(null!=(f=(i.isSettingTrue||t&&t.isSettingTrue||o).call(e,"showCancelButton",{name:"isSettingTrue",hash:{},fn:n.program(11,u,0),inverse:n.noop,data:u}))?f:"")+'\r\n <\/div>\r\n\r\n <div class="verifying-modal">\r\n <div id="verifying_blurb"><\/div>\r\n <\/div>\r\n <\/form>\r\n '+n.escapeExpression("function"==typeof(s=null!=(s=i.buildDisclaimer||(null!=t?t.buildDisclaimer:t))?s:o)?s.call(e,{name:"buildDisclaimer",hash:{},data:u}):s)+"\r\n <\/div>\r\n<\/script>"},useData:!0});$element=function(n,t){var u="data-claim_id",e=!1,f,r,i;return function(){function e(n,t){return t.disclaimer_msg_intro&&n.append($("<div>").addClass("disclaimer-msg-intro").attr({"aria-label":t.disclaimer_msg_intro}).text(t.disclaimer_msg_intro)),t.disclaimer_link_1_text&&t.disclaimer_link_1_url&&n.append($("<a>").addClass("disclaimer-link").attr({href:t.disclaimer_link_1_url,"aria-label":t.disclaimer_link_1_text}).text(t.disclaimer_link_1_text)),t.disclaimer_link_2_text&&t.disclaimer_link_2_url&&n.append($("<a>").addClass("disclaimer-link").attr({href:t.disclaimer_link_2_url,"aria-label":t.disclaimer_link_2_text}).text(t.disclaimer_link_2_text)),n}function o(n){var t=n.prop("outerHTML").replace(/&amp;/g,"&");return new Handlebars.SafeString(t)}var t=!(SETTINGS.config.enableFocusOnFirstEditableField==="True"),i=function(n,i,r){var f=n.DN,e=n.PRE,o=n.PAT,s=n.U_HELP,h=n.IS_REQ,u=document.createElement("input");return u.setAttribute("id",n.ID),u.setAttribute("class","textInput"),u.setAttribute("type",i),f&&(u.setAttribute("placeholder",f),u.setAttribute("aria-label",f)),e&&u.setAttribute("value",e),o&&u.setAttribute("pattern",o),s&&u.setAttribute("title",s),i==="password"&&u.setAttribute("autocomplete","new-password"),h&&u.setAttribute("aria-required","true"),r&&(u.setAttribute("disabled","disabled"),u.setAttribute("readonly","readonly")),n.CONTROL_CLAIM==="VerificationCode"&&u.setAttribute("autocomplete","off"),t||(u.setAttribute("autofocus","autofocus"),t=!0),u},u=function(n,i,r,u,f){var s=n+"_"+r,e=document.createElement("input"),o;return e.setAttribute("id",s),e.setAttribute("name",n),e.setAttribute("type",i),e.setAttribute("aria-labelledby",n+"_label "+s+"_option"),r&&e.setAttribute("value",r),f&&e.setAttribute("checked","checked"),t||(e.setAttribute("autofocus","autofocus"),t=!0),o=document.createElement("label"),o.setAttribute("id",r+"_option"),o.setAttribute("for",s),o.innerText=u,[e,o]},h=function(n,t,i,u,f,e){var c=new r(n,"day",t,Handlebars.helpers.getContent("day")),l=new r(n,"month",i,Handlebars.helpers.getContent("month")),a=new r(n,"year",u,Handlebars.helpers.getContent("year")),o=document.createElement("div"),h;return o.setAttribute("class","date"),o.setAttribute("id",n),o.setAttribute("aria-label",e),f&&o.setAttribute("required","required"),h=s(c.getElement(),l.getElement(),a.getElement()),h.forEach(function(n){o.appendChild(n)}),o},c=function(n,i,r,u){var f=document.createElement("select"),e,h,o,s;for(f.setAttribute("class","dropdown_single"),f.setAttribute("id",n),f.setAttribute("aria-label",u),r&&f.setAttribute("aria-required","true"),t||f.setAttribute("autofocus","autofocus"),e=document.createElement("option"),e.setAttribute("style","display:none"),e.setAttribute("disabled","disabled"),e.setAttribute("value",""),e.setAttribute("selected","selected"),e.innerText=u,f.appendChild(e),t=!0,h=i.length,o=0;o<h;o++)s=document.createElement("option"),s.setAttribute("value",i[o].VAL),i[o].PRESEL&&s.setAttribute("selected","selected"),s.innerText=i[o].DISP,f.appendChild(s);return f},l=function(){return'<div class="error itemLevel" role="alert"><\/div>'},n=function(n,t,i){return $("<div>").attr({"class":n,id:t,style:"display:none","aria-hidden":"true",role:"alert"}).text(Handlebars.helpers.getRawContent(i))},a=function(n,t,r){var o,a,s,y,p,l,v;switch(n.UX_INPUT_TYPE){case"Paragraph":return $("<p>").attr({"class":"textInParagraph",id:n.ID,tabindex:"0","aria-label":n.PRE}).text(n.PRE);case"TextBox":return i(n,"text",!1);case"EmailBox":return i(n,"email",!1);case"Readonly":return i(n,"text",!0);case"DateTimeDropdown":return h(n.ID,n.DAY_PRE,n.MONTH_PRE,n.YEAR_PRE,n.IS_REQ,n.DN);case"DropdownSingleSelect":return c(n.ID,n.OPTIONS,n.IS_REQ,n.DN);case"CheckboxMultiSelect":return n.OPTIONS.map(function(t,i){return u(n.ID,"checkbox",t.VAL,t.DISP,t.PRESEL,i)}).reduce(function(n,t){return n.push(t[0],t[1]),n},[]);case"RadioSingleSelect":return n.OPTIONS.map(function(t,i){return u(n.ID,"radio",t.VAL,t.DISP,t.PRESEL,i)}).reduce(function(n,t){return n.push(t[0],t[1]),n},[]);case"Password":return i(n,"password",!1);case"Link":return $("<div>").css({"margin-right":"25px","text-align":"right",float:"right"}).append($("<a>").attr({href:n.PRE}).text(n.DN));case"QrCodeControl":if(r)return"";var w=n.DISPLAY_CONTROL_CONTENT.info_msg,b=n.DISPLAY_FIELDS[0].PRE,s=$("<div>").addClass("qrCodeControlContent").attr({id:n.ID}).append($("<div>").attr({id:n.ID+"-picture"})).append($("<div>").addClass("qrCodeInfo").attr({id:n.ID+"_info_message","aria-hidden":"false",role:"alert","aria-label":w}).text(w)).append($("<div>").attr({id:n.ID+"-text","aria-hidden":"true"}).css("display","none").text(b));return s;case"VerificationControl":if(r)return"";o={intro_msg:"ver_intro_msg",but_send_code:"verification_control_but_send_code",but_verify_code:"verification_control_but_verify_code",but_send_new_code:"verification_control_but_send_new_code",but_change_claims:"verification_control_but_change_claims",disclaimer_msg_intro:"",disclaimer_link_1_text:"",disclaimer_link_1_url:"",disclaimer_link_2_text:"",disclaimer_link_2_url:""};for(a in o)o[a]=n.DISPLAY_CONTROL_CONTENT[a]||Handlebars.helpers.getRawContent(o[a]);for(s=$("<div>").addClass("verificationControlContent").attr({id:n.ID}).append($("<div>").addClass("verificationInfoText").append($("<div>").attr({id:n.ID+"_info_message","aria-hidden":"true",role:"alert","aria-label":o.intro_msg}).css("display","none").text(o.intro_msg))).append($("<div>").addClass("verificationSuccessText").append($("<div>").attr({id:n.ID+"_success_message","aria-hidden":"true",role:"alert","aria-label":""}).css("display","none"))).append($("<div>").addClass("verificationErrorText error").append($("<div>").attr({id:n.ID+"_error_message","aria-hidden":"true",role:"alert","aria-label":""}).css("display","none"))),y=$("<ul>"),n.DISPLAY_FIELDS.forEach(function(t,i){y.append(f(t,i,n).addClass(t.CONTROL_CLAIM))}),p="",l=0;l<n.DISPLAY_FIELDS.length;l++)if(n.DISPLAY_FIELDS[l].UX_INPUT_TYPE==="TextBox"||n.DISPLAY_FIELDS[l].UX_INPUT_TYPE==="EmailBox"){p=n.DISPLAY_FIELDS[l].DN;break}return s.append(y),s.append($("<div>").addClass("working").css("display","none")).append($("<div>").addClass("buttons").append($("<button>").addClass("sendCode").attr({id:n.ID+"_but_send_code",type:"button","aria-label":o.but_send_code}).text(o.but_send_code)).append($("<button>").addClass("verifyCode").attr({id:n.ID+"_but_verify_code",type:"button","aria-label":o.but_verify_code}).text(o.but_verify_code)).append($("<button>").addClass("sendNewCode").attr({id:n.ID+"_but_send_new_code",type:"button","aria-label":o.but_send_new_code}).text(o.but_send_new_code)).append($("<button>").addClass("changeClaims").attr({id:n.ID+"_but_change_claims",type:"button","aria-label":o.but_change_claims+" "+p}).text(o.but_change_claims))),v=$("<div>").addClass("disclaimer-container"),e(v,o),v.children().length&&s.append(v),s}},f=function(t,i,r){var f=SETTINGS.config.pageFlavor||"classic",e=f==="classic",u=!1;return e||(t.UX_INPUT_TYPE==="TextBox"||t.UX_INPUT_TYPE==="EmailBox"||t.UX_INPUT_TYPE==="Password")&&(u=!0),$("<li>").addClass(t.UX_INPUT_TYPE).append($("<div>").addClass("attrEntry").append(t.VERIFY?$("<div>").append(n("verificationInfoText",t.ID+"_intro","ver_intro_msg")).append(n("verificationInfoText",t.ID+"_info","ver_info_msg")).append(n("verificationSuccessText",t.ID+"_success","ver_success_msg")).append(n("verificationErrorText error",t.ID+"_fail_retry","ver_fail_retry")).append(n("verificationErrorText error",t.ID+"_fail_no_retry","ver_fail_no_retry")).append(n("verificationErrorText error",t.ID+"_fail_throttled","ver_fail_throttled")).append(n("verificationErrorText error",t.ID+"_fail_code_expired","ver_fail_code_expired")).append(n("verificationErrorText error",t.ID+"_fail_server","ver_fail_server")).append(n("verificationErrorText error",t.ID+"_incorrect_format","ver_incorrect_format")):"").append(t.IS_LINK||u?"":$("<label>").attr({id:t.ID+"_label","for":t.ID}).text(t.DN)).append(l()).append(a(t,i,r)).append($("<a>").addClass("helpLink tiny").attr({href:"javascript:void(0)","data-help":t.U_HELP}).text(Handlebars.helpers.getRawContent("helplink_text"))).append(t.VERIFY?$("<div>").addClass("buttons verify").attr({"data-claim_id":t.ID}).append($("<div>").addClass("working").attr({id:t.ID+"_ver_wait","aria-label":Handlebars.helpers.getRawContent("preloader_alt")})).append(u?"":$("<label>").attr({id:t.ID+"_ver_input_label","for":t.ID+"_ver_input"}).text(Handlebars.helpers.getRawContent("ver_input"))).append($("<input>").addClass("verifyInput").attr({id:t.ID+"_ver_input",type:"text",autocomplete:"off",placeholder:Handlebars.helpers.getRawContent("ver_input")}).css("display","none")).append($("<button>").addClass("sendButton").attr({id:t.ID+"_ver_but_send",type:"button","aria-label":Handlebars.helpers.getRawContent("ver_but_send")}).css("display","none").text(Handlebars.helpers.getRawContent("ver_but_send"))).append($("<button>").addClass("verifyButton").attr({id:t.ID+"_ver_but_verify",type:"button","aria-label":Handlebars.helpers.getRawContent("ver_but_verify")}).css("display","none").text(Handlebars.helpers.getRawContent("ver_but_verify"))).append($("<button>").addClass("sendButton").attr({id:t.ID+"_ver_but_resend",type:"button","aria-label":Handlebars.helpers.getRawContent("ver_but_resend")}).css("display","none").text(Handlebars.helpers.getRawContent("ver_but_resend"))).append(t.IS_RDO?"":$("<button>").addClass("editButton").attr({id:t.ID+"_ver_but_edit",type:"button","aria-label":Handlebars.helpers.getRawContent("ver_but_edit")}).css("display","none").text(Handlebars.helpers.getRawContent("ver_but_edit"))).append($("<button>").addClass("defaultButton").attr({id:t.ID+"_ver_but_default",type:"button","aria-label":Handlebars.helpers.getRawContent("ver_but_default")}).css("display","none").text(Handlebars.helpers.getRawContent("ver_but_default"))):""))},r,s;Handlebars.registerHelper("buildAttributeField",function(n){var t=f(n);return o(t)});Handlebars.registerHelper("buildDisclaimer",function(){var n=$("<div>").addClass("disclaimer-container").addClass("disclaimer-container-page-level");return(e(n,window.CONTENT),!n.children().length)?"":o(n)});r=function(n,t,i,r,u){this.getElement=function(){var f=document.createElement("select"),e;return f.setAttribute("class",t),f.setAttribute("id",n+"_"+t),f.setAttribute("aria-label",CONTENT[t]),f.setAttribute("default_value",i),u&&f.setAttribute("autofocus","autofocus"),e=document.createElement("option"),e.setAttribute("value","0"),e.innerText=r,f.appendChild(e),f}};s=function(n,i,r,u){var o,f,h,s,e;for(u===undefined&&(u="DD-MM-YYYY"),o={DD:n,MM:i,YYYY:r},f=u.split("-"),t||(h=o[f[0]],h.setAttribute("autofocus","autofocus"),t=!0),s=[],e=0;e<f.length;e++)s.push(o[f[e]]);return s}}(),r={INPUT:0,INTRO:1,CODE_REQUEST_SENT:2,FAILED_TO_SEND:3,CODE_SENT:4,VERIFICATION_REQUEST_SENT:5,FAILED_TO_VERIFY:6,INVALID_CODE:7,RETRY_LIMIT_EXCEEDED:8,SUCCESS:9,READONLY:10,THROTTLED:11,CODE_EXPIRED:12},i={retryCount:1,serviceCallInProgress:!1,verificationInfo:{},version:"selfasserted-2.1.2",setAndShowErrorMessage:function(n,t){var i=$("#"+n);t&&i.text(t);i.attr({role:"alert","aria-live":"polite","aria-hidden":"false",tabindex:"1"}).css("display","block")},hideErrorMessages:function(){$("#passwordEntryMismatch, #fieldIncorrect, #requiredFieldMissing, #claimVerificationServerError").attr("aria-hidden","true").css("display","none")},hideErrorMessage:function(n){$("#"+n).attr("aria-hidden","true").css("display","none")},enableControl:function(n,t){$(n).prop("disabled",!t)},encodeDateComponents:function(n,t){for(var i,u=document.querySelectorAll("select."+n),r=0;r<u.length;r++)i=u[r],i.value!==undefined&&i.value!=="0"&&(t+="&"+encodeURIComponent(i.id)+"="+encodeURIComponent(i.value));return t},encodeDropdownComponents:function(n){for(var t,r=document.querySelectorAll("select.dropdown_single"),i=0;i<r.length;i++)t=r[i],t.value!==undefined&&(n+="&"+encodeURIComponent(t.id)+"="+encodeURIComponent(t.value));return n},addOptionsToSelect:function(n,t,i){if(n.find("option:eq(1)").val()!=t||n.find("option:last").val()!=i){n.find("option:last").val()<i?t=n.find("option:last").val():n.find("option:last").val()>i&&(t=i);n.find("option:eq("+t+")").nextAll().remove();for(var r=++t;r<=i;r++)$("<option>").val(r).text(r).appendTo(n)}},showHelp:function(n){return n&&alert(n),!1},getClaimValue:function(n){var i=document.getElementById(n),t=i.value;return t!==null&&t!==undefined&&(t=t.trim()),i.type!=="email"&&(document.getElementById(n).value=t),t},setClaimValue:function(n,t){document.getElementById(n).value=t},getClaimId:function(n){return $(n.parentNode).attr(u)},hideElements:function(n){var t=n.join(", ");$(t).attr("aria-hidden","true").css("display","none")},showElements:function(n){var t=n.join(", ");$(t).attr("aria-hidden","false").css("display","inline")},disableControls:function(n){var t=n.join(", ");$(t).prop("disabled",!0)},enableControls:function(n){var t=n.join(", ");$(t).prop("disabled",!1)},showElementsAndEnableControls:function(n,t,r,u){i.showElements(t);i.hideElements(n.filter(function(n){return t.indexOf(n)===-1}));i.enableControls(u);i.disableControls(r.filter(function(n){return u.indexOf(n)===-1}))},switchState:function(n,t,r,u){var e,f;n&&(e=n.join(", "),$(e).attr("aria-hidden","true").css("display","none"));t&&(f=t.join(", "),$(f).attr("aria-hidden","false").css("display","inline"),$(f).filter("div").attr({role:"alert","aria-live":"polite"}),$(f).each(function(){var n=r+"_ver_input";$(this).attr("id")==$(n).attr("id")&&$(this).attr({"aria-label":$(r+"_ver_input_label").text()})}));i.enableControl(r,u)},range:function(n,t,i){"use strict";for(var u=[],r=n;r<=t;r++)u.push(r);return i!==undefined&&i===!0?u.reverse():u},getDisplayFieldByControlClaim:function(n,t){return n.DISPLAY_FIELDS.filter(function(n){return n.CONTROL_CLAIM==t})[0]},getOtherDisplayFieldByControlClaim:function(n,t){return n.DISPLAY_FIELDS.filter(function(n){return n.CONTROL_CLAIM!=t})},changeVerificationControlState:function(n,t,u,f){var g="#"+n.ID+"_info_message",c="#"+n.ID+"_success_message",e="#"+n.ID+"_error_message",y="#"+n.ID+"_but_send_code",w="#"+n.ID+"_but_verify_code",b="#"+n.ID+"_but_send_new_code",k="#"+n.ID+"_but_change_claims",nt=i.getOtherDisplayFieldByControlClaim(n,"VerificationCode"),o="#"+n.ID+" li:not(.VerificationCode)",p="#"+n.ID+" .VerificationCode",l=nt.map(function(n){return"#"+n.ID}),a="#"+i.getDisplayFieldByControlClaim(n,"VerificationCode").ID,v="#"+n.ID+" .working",s=[g,c,e,"#claimVerificationServerError",y,w,b,k,o,p,v],h=[a].concat(l),d;i.verificationInfo[n.ID]=!1;switch(t){case r.INTRO:i.showElementsAndEnableControls(s,[g,o,y],h,l);break;case r.INPUT:i.showElementsAndEnableControls(s,[o,y],h,l);break;case r.CODE_REQUEST_SENT:i.showElementsAndEnableControls(s,[o,v],h,[]);$(v).attr("aria-hidden","false").css("display","");break;case r.FAILED_TO_SEND:u&&($(e).attr("aria-label",u),f?$(e).html(u):$(e).text(u));i.showElementsAndEnableControls(s,[o,y,e],h,l);break;case r.CODE_SENT:u&&($(c).attr("aria-label",u),$(c).html(u));i.showElementsAndEnableControls(s,[o,p,w,b,c],h,[a].concat(l));$(a).val("");$(a).focus();break;case r.VERIFICATION_REQUEST_SENT:i.showElementsAndEnableControls(s,[o,p,v],h,[]);$(v).attr("aria-hidden","false").css("display","");break;case r.FAILED_TO_VERIFY:u&&($(e).attr("aria-label",u),f?$(e).html(u):$(e).text(u));i.showElementsAndEnableControls(s,[o,p,w,b,e],h,[a].concat(l));break;case r.SUCCESS:u&&($(c).attr("aria-label",u),$(c).html(u));i.showElementsAndEnableControls(s,[o,k,c],h,[]);d=document.querySelector(k);d&&d.focus();i.verificationInfo[n.ID]=!0}},changeVerifyState:function(n,t){var f="#"+n+"_intro",e="#"+n+"_info",o="#"+n+"_success",s="#"+n+"_fail_retry",h="#"+n+"_fail_no_retry",c="#"+n+"_fail_throttled",l="#"+n+"_fail_code_expired",a="#"+n+"_fail_server",v="#"+n+"_ver_but_send",y="#"+n+"_ver_but_verify",p="#"+n+"_ver_but_resend",u="#"+n+"_ver_but_edit",tt="#"+n+"_ver_but_default",w="#"+n+"_ver_input",b="#"+n+"_ver_input_label",k="#"+n+"_ver_wait",d="#"+n,g=!0,nt;switch(t){case r.INPUT:i.switchState([f,e,s,h,c,l,a,o,v,y,p,u,w,b,k],null,d,!0);g=!1;break;case r.FAILED_TO_SEND:i.switchState([f,e,s,h,c,l,o,y,p,u,w,b,k],[a,v],d,!0);$("#"+n).val("").focus();break;case r.INTRO:i.switchState([e,o,s,h,c,l,a,y,p,u,w,b,k],[f,v],d,!0);break;case r.READONLY:i.switchState([e,o,s,h,c,l,a,y,p,u,w,b,k],[f,v],d,!1);g=!1;break;case r.CODE_REQUEST_SENT:i.switchState([f,e,s,h,c,l,a,o,v,y,p,u,w,b],[k],d,!1);g=!1;break;case r.CODE_SENT:i.switchState([f,s,h,c,l,a,o,v,u,k],[e,y,p,w,b],d,!0);break;case r.VERIFICTION_REQUEST_SENT:i.switchState([e,f,s,h,c,l,a,o,v,y,p,u,w,b],[k],d,!1);g=!1;break;case r.RETRY_LIMIT_EXCEEDED:i.switchState([e,f,s,c,a,l,o,y,p,u,w,b,k],[h,v],d,!1);break;case r.THROTTLED:i.switchState([e,f,s,h,a,l,o,y,p,u,w,b,k],[c,v],d,!0);break;case r.CODE_EXPIRED:i.switchState([f,e,s,h,c,a,o,v,u,k],[l,w,b,y,p],d,!0);break;case r.FAILED_TO_VERIFY:i.switchState([f,e,s,h,c,l,o,v,u,k],[w,b,a,y,p],d,!0);break;case r.INVALID_CODE:i.switchState([e,f,h,c,l,a,o,v,u,k],[w,b,s,y,p],d,!0);break;case r.SUCCESS:i.switchState([e,f,s,h,c,l,a,v,y,p,w,b,k],[o,u],d,!1);nt=document.querySelector(u);nt&&nt.focus()}$(tt).css("display",i.verificationInfo[n]&&i.verificationInfo[n].input&&g?"inline":"none");i.updateContinueButton()},getAttributeFieldIndex:function(n){for(var i=SA_FIELDS.AttributeFields,t=0;t<i.length;t++)if(i[t].ID===n)return t},updateContinueButton:function(){for(var e=document.querySelectorAll("div.verify"),r=!0,f,t=0;t<e.length;t++){var n=e[t].getAttribute(u),o=i.getClaimValue(n),s=$("#"+n).prop("readonly")||!1;(!i.verificationInfo[n].input||i.verificationInfo[n].input!=o||s)&&(i.verificationInfo[n]&&i.verificationInfo[n].confirmation&&i.verificationInfo[n].confirmation.success||(r=!1))}$(".verificationControlContent").each(function(){var n=$(this).attr("id");i.verificationInfo[n]||(r=!1)});f=document.getElementById("continue");f&&f.setAttribute("aria-disabled",!r)},setSelectOptions:function(n,t,i,r){"use strict";for(var f,u=0;u<t.length;u++)f=document.createElement("option"),f.value=t[u],f.innerHTML=$santizer.santize(i[u]),r==t[u]&&(f.selected=!0),n.appendChild(f)},isClaimValueValidForPredicateValidation:function(n,t,i){if(t===null)return!0;n!==null&&n.html("");var u=document.getElementById(t),r=$predicateValidation.generateValidationDict(t,i,"<br />&nbsp;&nbsp;- ");return r.isValid?!0:(n!==null&&n.html(r.errorMsgs.join("<br />")),!1)},isClaimValueValidForRegexPattern:function(n,t,i){var r,u,e,f,o;return t===null?!0:(n!==null&&n.html(""),r=document.getElementById(t),r&&r.hasAttribute("pattern")&&(u=r.getAttribute("pattern"),u&&(e=new RegExp(u),!e.test(i))))?(n!==null&&(f=$predicateValidation.findAttributeFieldByClaimId(t),o=f.hasOwnProperty("PAT_DESC")?f.PAT_DESC:"",n.html(o)),!1):!0},isClaimValueValidForRequired:function(n,t,r){return t===null?!0:(n!==null&&n.html(""),i.isRequiredField(t)&&r==="")?(n!==null&&n.html(CONTENT.required_field),!1):!0},isClaimValueValid:function(n,t){var r=i.getClaimValue(t);return i.isClaimValueValidForRequired(n,t,r)&&i.isClaimValueValidForRegexPattern(n,t,r)&&i.isClaimValueValidForPredicateValidation(n,t,r)},validateData:function(){for(var n,r,s,h,c,f,l,u,e,a,t={valid:!0,error:null,fields:[]},v=document.querySelectorAll("div.attr input, select"),o=0;o<v.length;o++){if(n=v[o],r=$(n.parentNode).find("div.error.itemLevel"),r.attr("aria-hidden","true").removeClass("show"),r.html(""),r.attr("aria-label",""),(n.type==="text"||n.type==="password"||n.type==="email")&&(i.isClaimValueValidForRequired(r,n.id,n.value)?i.isClaimValueValidForRegexPattern(r,n.id,n.value)&&i.isClaimValueValidForPredicateValidation(null,n.id,n.value)||(t.valid=!1,t.error===null&&(t.error="fieldIncorrect"),t.fields.push(n),r.attr("aria-hidden","false").addClass("show")):(t.valid=!1,t.error===null&&(t.error="requiredFieldMissing"),t.fields.push(n),r.attr("aria-hidden","false").addClass("show"))),(n.type==="radio"||n.type==="checkbox")&&i.isRequiredField(n.name)){for(s=document.getElementsByName(n.name),h=!1,u=0;u<s.length;u++)if(s[u].checked){h=!0;break}h||(t.valid=!1,t.error===null&&(t.error="requiredFieldMissing"),t.fields.push(n),r.html(CONTENT.required_field),r.attr("aria-label",CONTENT.required_field),r.attr("aria-hidden","false").addClass("show"))}n.type.indexOf("select")>-1&&!i.isClaimValueValidForRequired(r,n.id,n.value)&&(t.error===null&&(t.error="requiredFieldMissing"),t.fields.push(n),r.attr("aria-hidden","false").addClass("show"));(n.type==="password"||n.type==="text")&&n.id.toLowerCase().lastIndexOf("reenter",0)===0&&(c=n.id.substr(7),f=document.getElementById("new"+c)||document.getElementById(c.toLowerCase()),f&&f.value!==n.value&&(t.valid=!1,t.error="passwordEntryMismatch",t.fields.push(n),t.fields.push(f)))}for(l=document.querySelectorAll(".date"),u=0;u<l.length;u++)e=l[u],a=$(e).siblings(".error.itemLevel"),i.validateDateDropDown($(e),a)||(t.valid=!1,t.error===null&&(t.error="fieldIncorrect"),t.fields.push(e),a.attr("aria-hidden","false").addClass("show"));return t},isRequiredField:function(n){var t=$predicateValidation.findAttributeFieldByClaimId(n),i=!1;return t&&t.hasOwnProperty("IS_REQ")&&(i=t.IS_REQ),i},collectData:function(){for(var n,u,r="",e=document.querySelectorAll("div.attr input"),f=0;f<e.length;f++)n=e[f],u=n.value,u!==null&&u!==undefined&&n.type!=="password"&&(u=u.trim()),n.type==="password"&&t.trimSpacesInPassword&&(u=u.trim()),n.type==="text"||n.type==="password"||n.type==="email"?r+="&"+encodeURIComponent(n.id)+"="+encodeURIComponent(u):(n.type==="radio"||n.type==="checkbox")&&n.checked&&(r+="&"+encodeURIComponent(n.name)+"="+encodeURIComponent(u));return r=i.encodeDateComponents("day",r),r=i.encodeDateComponents("month",r),r=i.encodeDateComponents("year",r),r=i.encodeDropdownComponents(r),r.substr(1)},sendResponse:function(n){n+="&"+encodeURIComponent("request_type")+"="+encodeURIComponent("RESPONSE");i.serviceCallInProgress=!0,function(r){$i2e.sendDataWithRetry(n,function(n){switch(n.status){case"200":r.append("T010");$diags.trace(r);i.confirm();break;case"400":if(i.retryCount++,i.retryCount<=t.config.retryLimit)i.hideErrorMessages(),i.setAndShowErrorMessage("claimVerificationServerError",n.message),$modal.hide();else{r.append("T015");$diags.trace(r);i.onError("UX012","Max number of retries reached")}break;default:r.append("T016");$diags.trace(r);i.onError("UX015","Unknown error code")}},function(n,t,u){var f=n.responseText||n.statusText;n.responseJSON&&(f=n.responseJSON.exception||f);r.append(f);n&&n.status&&r.append(" - statusCode:"+n.status);t&&r.append(" - status:"+t);u&&r.append(" - error:"+u);$diags.trace(r);i.onError("UX016",f)},function(){$diags.trace(r);i.serviceCallInProgress=!1})}(new $trace("T017",!0))},verify:function(){var n,t;return this.hideErrorMessages(),n=this.validateData(),$("#api .attrEntry").addClass("validate"),n.valid?($("#verifying_blurb").html($i2e.lookupLanguage("verifying_blurb")),$modal.showCustom("#api .verifying-modal",{opacity:60,minHeight:300,minWidth:350,close:!1,containerCss:{background:"none","text-align":"center","-webkit-box-shadow":"0 0 0 0","-moz-box-shadow":"0 0 0 0","box-shadow":"0 0 0 0"}}),t=i.collectData(),i.sendResponse(t)):(i.setAndShowErrorMessage(n.error),n.fields[0].focus(),$modal.hide()),!1},confirm:function(){return $i2e.redirectToServer("confirmed"),!1},onError:function(n,t,i){return i?$diags.sendQuietDiagnostics(n,t):$diags.sendDiagnostics(n,t),!1},cancel:function(){return t.config.showCancelAlert.toLowerCase()==="true"?$modal.showDefault(".alert-modal"):i.cancelFinal(),!1},cancelFinal:function(){return $i2e.redirectToServer("cancelled"),!1},isLeapYear:function(n){return n%4==0&&(n%100!=0||n%400==0)},validateDateDropDown:function(n,t){var u=n.find(".year"),f=n.find(".month"),e=n.find(".day"),o=i.isRequiredField(n[0].id),r="";return(u.val()!=="0"&&f.val()!=="0"&&e.val()!=="0"&&(r=new Date(u.val(),f.val()-1,e.val())),r==="")?o?(t.html(CONTENT.required_field),i.showInlineError(t,n),!1):(t.html(""),!0):i.isClaimValueValidForPredicateValidation(t,n[0].id,r)},initialize:function(){(function(n){$("#alertYes").click(function(){i.cancelFinal()});$("#cancel").click(function(){i.cancel()});$("#continue").click(function(n){if(n.target.getAttribute("aria-disabled")==="true")return!1;i.verify()});$("#email").on("change paste input",function(){var n=$(this)[0].id;i.verificationInfo[n]&&(i.verificationInfo[n].input===i.getClaimValue(n)?i.changeVerifyState(n,r.INPUT):i.changeVerifyState(n,r.INTRO))});$(".qrCodeControlContent").each(function(){var n=$(this).attr("id"),t=document.getElementById(n+"-text").innerText,i=new QRCode(document.getElementById(n+"-picture"),{text:t,correctLevel:QRCode.CorrectLevel.H})});$("#api .verificationControlContent").each(function(){var o=$(this).attr("id"),n=$predicateValidation.findBy(SA_FIELDS.AttributeFields,"ID",o),t,u;i.changeVerificationControlState(n,r.INPUT);$(this).find(".sendCode, .sendNewCode").click(function(){i.validateDisplayControlFields(n,"SendCode")&&(i.changeVerificationControlState(n,r.CODE_REQUEST_SENT),i.sendDisplayControlRequest(n,"SendCode",function(t){t.status=="200"?i.changeVerificationControlState(n,r.CODE_SENT,n.DISPLAY_CONTROL_CONTENT.success_send_code_msg||CONTENT.verification_control_code_sent,!0):t.message?i.changeVerificationControlState(n,r.FAILED_TO_SEND,t.message,!1):i.changeVerificationControlState(n,r.FAILED_TO_SEND,n.DISPLAY_CONTROL_CONTENT.failure_send_code_msg||CONTENT.verification_control_fail_send_code,!0)},function(){i.changeVerificationControlState(n,r.FAILED_TO_SEND,n.DISPLAY_CONTROL_CONTENT.failure_send_code_msg||CONTENT.verification_control_fail_send_code,!0)}))});t=i.getOtherDisplayFieldByControlClaim(n,"VerificationCode");u=t.map(function(n){return"#"+n.ID});$(u.join(", ")).off("change paste input").on("change paste input",function(){i.changeVerificationControlState(n,r.INPUT);i.updateContinueButton()});var f=$(this).find(".VerificationCode input"),e=function(){i.validateDisplayControlFields(n,"VerifyCode")&&(i.changeVerificationControlState(n,r.VERIFICATION_REQUEST_SENT),i.sendDisplayControlRequest(n,"VerifyCode",function(t){t.status=="200"?(i.changeVerificationControlState(n,r.SUCCESS,n.DISPLAY_CONTROL_CONTENT.success_verify_code_msg),i.updateContinueButton()):(i.changeVerificationControlState(n,r.FAILED_TO_VERIFY,t.message||n.DISPLAY_CONTROL_CONTENT.failure_verify_code_msg||CONTENT.verification_control_fail_verify_code,!1),f.focus())},function(){i.changeVerificationControlState(n,r.FAILED_TO_VERIFY,n.DISPLAY_CONTROL_CONTENT.failure_verify_code_msg||CONTENT.verification_control_fail_verify_code,!0)}))},s=this;f.on("keypress",function(n){i.isEnter(n)&&$(s).find(".verifyCode")[0].style.display==="inline"&&e()});$(this).find(".verifyCode").click(e);$(this).find(".changeClaims").click(function(){var t=this.parentElement.parentElement.querySelector("input"),u=i.getClaimIdFromInput(t);$("#"+u).val("").focus();i.changeVerificationControlState(n,r.INPUT);i.updateContinueButton()})});$("#api a.helpLink").click(function(){var n=$(this).attr("data-help");i.showHelp(n)});$("#api .month").on("change select",function(){var n=$(this).siblings("select.day"),t=$(this).siblings("select.year");switch($(this).val()){case"1":case"3":case"5":case"7":case"8":case"10":case"12":i.addOptionsToSelect(n,1,31);break;case"4":case"6":case"9":case"11":i.addOptionsToSelect(n,1,30);break;case"2":t.val()!=0&&(i.isLeapYear(t.val())?i.addOptionsToSelect(n,1,29):i.addOptionsToSelect(n,1,28))}});$("#api .year").on("change select",function(){var n=$(this).siblings("select.day"),t=$(this).siblings("select.month");$(this).val()!=0&&t.val()==2&&(i.isLeapYear($(this).val())?i.addOptionsToSelect(n,1,29):i.addOptionsToSelect(n,1,28))});$("#api .sendButton").click(function(){var n=i.getClaimId($(this)[0]),f=document.getElementById(n),u=i.getClaimValue(n),t=$(f.parentNode).find("div.error.itemLevel");if(t.parent().removeClass("validate").addClass("validate"),i.hideInlineError(t,$(f)),i.isClaimValueValidForRequired(t,n,u)&&i.isClaimValueValidForRegexPattern(t,n,u)){i.verificationInfo[n].confirmation={};i.verificationInfo[n].claim_value=u;i.changeVerifyState(n,r.CODE_REQUEST_SENT);i.sendVerificationRequest(n,u);return}i.showInlineError(t,$(f))});var t=function(n){var t=i.getClaimId($(n.currentTarget)[0]),f=i.verificationInfo[t].claim_value,e=document.getElementById(t+"_ver_input"),u=e.value;if(u===""){i.changeVerifyState(t,r.INVALID_CODE);return}i.changeVerifyState(t,r.VERIFICTION_REQUEST_SENT);i.sendValidationRequest(t,f,u)};$("#api .verifyButton").click(function(n){t(n)});$("#api .verifyInput").on("keypress",function(n){i.isEnter(n)&&$(".verifyButton")[0].style.display==="inline"&&t(n)});$("#api .editButton").click(function(){var n=i.getClaimId($(this)[0]);i.verificationInfo[n].confirmation={};i.hideErrorMessage("claimVerificationServerError");i.changeVerifyState(n,r.INTRO);$("#"+n).val("").focus()});$("#api .defaultButton").click(function(){var n=i.getClaimId($(this)[0]);i.setClaimValue(n,i.verificationInfo[n].input);i.validateInputWithoutDelay(document.getElementById(n));i.changeVerifyState(n,r.INPUT)});i.initialize_DateDropdowns();i.initialize_VerifyState();i.updateContinueButton();$("#attributeList input").on("keypress",function(n){if(i.serviceCallInProgress)return n.stopImmediatePropagation(),!1;i.isEnter(n)&&$("#continue")[0].getAttribute("aria-disabled")==="false"&&(n.preventDefault(),i.verify())});$('#attributeList input[type="text"], #attributeList input[type="password"], #attributeList input[type="email"]').on("input",function(n){i.validateInputWithDelay(n.target)});$("#attributeList select").on("change select",function(n){var t=$(n.target),r=t.siblings("#api .error.itemLevel");i.isClaimValueValid(r,t.attr("id"))?i.hideInlineError(r,t):i.showInlineError(r,t)});$("#attributeList .date select").on("change select",function(n){var t=$(n.target.parentElement),r=t.siblings("#api .error.itemLevel");i.validateDateDropDown(t,r)?i.hideInlineError(r,t):i.showInlineError(r,t)});$("#attributeList input[type='checkbox'], #attributeList input[type='radio']").on("click",function(n){var r=$(n.target),t=r.siblings("#api .error.itemLevel"),f,e,u;for(t.html(""),t.attr("aria-label",""),f=document.getElementsByName(r[0].name),e=!1,u=0;u<f.length;u++)f[u].checked&&(e=!0);i.isRequiredField(r[0].name)&&!e?(t.html(CONTENT.required_field),t.attr("aria-label",CONTENT.required_field),i.showInlineError(t,r)):i.hideInlineError(t,r)});$diags.trace(n)})(new $trace("T003",!0))},validateInputWithDelay:function(n){var u=$(n),r=u.siblings("#api .error.itemLevel");r!==null&&r.html("");clearTimeout(this._timeout);this._timeout=setTimeout(function(){i.isClaimValueValid(r,u.attr("id"))?i.hideInlineError(r,u):i.showInlineError(r,u)},t.config.inputVerificationDelayTimeInMilliseconds)},validateInputWithoutDelay:function(n){var r=$(n),t=r.siblings("#api .error.itemLevel");t!==null&&t.html("");i.isClaimValueValid(t,r.attr("id"))?i.hideInlineError(t,r):i.showInlineError(t,r)},showInlineError:function(n,t){t.parent().addClass("validate");t.addClass("invalid");n.addClass("show");n.attr("aria-hidden","false")},hideInlineError:function(n,t){t.parent().removeClass("validate");t.removeClass("invalid");n.removeClass("show");n.attr("aria-hidden","true")},initialize_VerifyState:function(){for(var e=document.querySelectorAll("#api div.verify"),t=0;t<e.length;t++){var n=e[t].getAttribute(u),o=i.getClaimValue(n),s=$("#"+n).prop("readonly")||!1,f=r.INTRO;i.verificationInfo[n]={};o&&!s&&(i.verificationInfo[n].input=o,f=r.INPUT);s&&(f=r.READONLY);i.changeVerifyState(n,f)}},initialize_DateDropdowns:function(){"use strict";for(var t=document.querySelectorAll("#api select.day"),r=document.querySelectorAll("#api select.month"),u=document.querySelectorAll("#api select.year"),n=0;n<t.length;n++)i.initialize_Day(t[n]);for(n=0;n<r.length;n++)i.initialize_Month(r[n]);for(n=0;n<u.length;n++)i.initialize_Year(u[n])},initialize_Day:function(n){var r=n.getAttribute("default_value"),t=i.range(1,31);i.setSelectOptions(n,t,t,r)},initialize_Month:function(t){var r=t.getAttribute("default_value"),u=decodeURIComponent(n.months).split(/[,、]+/),f=i.range(1,12);i.setSelectOptions(t,f,u,r)},initialize_Year:function(n){var h=1900,c=2050,a=$predicateValidation.findAttributeFieldByClaimId(n.parentElement.id),r=a.INPUT_VALIDATION,t,u,e,f,o,l,s;if(r){if(t=null,r.PREDICATE_GROUPS)for(u=0;u<r.PREDICATE_GROUPS.length;u++)for(e=r.PREDICATE_GROUPS[u].PREDICATES,f=0;f<e.length;f++)if(o=e[f],o.METHOD===$predicateValidation.PREDICATE_METHODS.IS_DATE_RANGE){t=o.PARAMS;break}t&&(h=new Date($predicateValidation.findBy(t,"NAME",$predicateValidation.PREDICATE_PARAMETERS.MINIMUM).VALUE).getUTCFullYear(),c=new Date($predicateValidation.findBy(t,"NAME",$predicateValidation.PREDICATE_PARAMETERS.MAXIMUM).VALUE).getUTCFullYear())}l=n.getAttribute("default_value");s=i.range(h,c,!0);i.setSelectOptions(n,s,s,l)},verificationRequestHandler:function(n,t){var u=r.FAILED_TO_SEND;if(t.status==="200")switch(t.result){case 0:u=r.CODE_SENT;break;case 1:u=r.FAILED_TO_SEND;break;case 2:u=r.RETRY_LIMIT_EXCEEDED;break;case 3:u=r.FAILED_TO_SEND;break;case 4:u=r.THROTTLED;break;default:u=r.FAILED_TO_SEND}i.changeVerifyState(n,u)},validationRequestHandler:function(n,t){var u=r.FAILED_TO_VERIFY,f={success:!1};if(t.status==="200")switch(t.result){case 0:u=r.SUCCESS;f={success:!0};break;case 1:u=r.FAILED_TO_VERIFY;f={success:!1};break;case 2:u=r.RETRY_LIMIT_EXCEEDED;f={success:!1};break;case 3:u=r.INVALID_CODE;f={success:!1};break;case 4:u=r.THROTTLED;f={success:!1};break;case 5:u=r.CODE_EXPIRED;f={success:!1};break;default:u=r.FAILED_TO_VERIFY;f={success:!1}}i.verificationInfo[n].confirmation=f;i.changeVerifyState(n,u)},getClaimIdFromInput:function(n){return(n.type==="radio"||n.type==="checkbox")&&n.checked?n.name:n.id},validateDisplayControlFields:function(n,t){for(var r,u,l,s,h,e,f=!1,c=document.querySelector("div.attr #"+n.ID).querySelectorAll("input, select"),o=0;o<c.length;o++)if(r=c[o],u=$(r.parentNode).find("div.error.itemLevel"),u.attr("aria-hidden","true").removeClass("show"),u.html(""),u.attr("aria-label",""),l=i.getClaimIdFromInput(r),n.INPUT_FIELDS[t].indexOf(l)!==-1){if((r.type==="text"||r.type==="password"||r.type==="email")&&(i.isClaimValueValidForRequired(u,r.id,r.value)?i.isClaimValueValidForRegexPattern(u,r.id,r.value)&&i.isClaimValueValidForPredicateValidation(null,r.id,r.value)||(f=!0,u.attr("aria-hidden","false").addClass("show")):(f=!0,u.attr("aria-hidden","false").addClass("show"))),(r.type==="radio"||r.type==="checkbox")&&i.isRequiredField(r.name)){for(s=document.getElementsByName(r.name),h=!1,e=0;e<s.length;e++)if(s[e].checked){h=!0;break}h||(f=!0,u.html(CONTENT.required_field),u.attr("aria-label",CONTENT.required_field),u.attr("aria-hidden","false").addClass("show"))}r.type.indexOf("select")>-1&&!i.isClaimValueValidForRequired(u,r.id,r.value)&&(f=!0,u.attr("aria-hidden","false").addClass("show"))}return!f},sendDisplayControlRequest:function(n,r,u,f,e){for(var s,o,c,l="",a=document.querySelector("div.attr #"+n.ID).querySelectorAll("input, select"),h=0;h<a.length;h++)(s=a[h],o=s.value,o!==null&&o!==undefined&&s.type!=="password"&&(o=o.trim()),s.type==="password"&&t.trimSpacesInPassword&&(o=o.trim()),c=i.getClaimIdFromInput(s),n.INPUT_FIELDS[r].indexOf(c)!==-1)&&(l+="&"+encodeURIComponent(c)+"="+encodeURIComponent(o));(function(t){$i2e.sendDataWithRetry(l,function(n){t.append("T010");u&&u(n)},function(n,r,u){if(t.append("T034"),n){t.append(" - statusCode:"+n.status);var e=n.responseText||n.statusText;n.responseJSON&&(e=n.responseJSON.exception||n.resposneJSON.message||e);t.append(" - text:"+e)}r&&t.append(" - status:"+r);u&&t.append(" - error:"+u);$diags.trace(t);i.onError("UX014","Failed to send control action request");f&&f(n,r,u)},function(n,i){$diags.trace(t);e&&e(n,i)},"DisplayControlAction/vbeta/"+encodeURIComponent(n.ID)+"/"+encodeURIComponent(r))})(new $trace("T033 id: "+n.ID+", type: "+n.UX_INPUT_TYPE+", action: "+r,!0))},sendVerificationRequest:function(n,t){var f=$("#"+n+"_ver_input"),u;f.val("");u="";u+="&"+encodeURIComponent("request_type")+"="+encodeURIComponent("VERIFICATION_REQUEST");u+="&"+encodeURIComponent("claim_id")+"="+encodeURIComponent(n);u+="&"+encodeURIComponent("claim_value")+"="+encodeURIComponent(t),function(t){$i2e.sendDataWithRetry(u,function(r){t.append("T010");i.verificationRequestHandler(n,r);f.focus()},function(n,u,f){var e,o;t.append("T013");n&&(t.append(" - statusCode:"+n.status),e=n.responseText||n.statusText,n.responseJSON&&(e=n.responseJSON.exception||e),t.append(" - text:"+e));u&&t.append(" - status:"+u);o=!1;f&&(t.append(" - error:"+f),f==="timeout"&&(o=!0,$element.changeVerifyState("email",r.FAILED_TO_SEND)));$diags.trace(t);i.onError("UX014","Failed to send verification request",o)},function(){$diags.trace(t)})}(new $trace("T011",!0))},sendValidationRequest:function(n,t,r){r!==null&&r!==undefined&&(r=r.trim());var u="";u+="&"+encodeURIComponent("request_type")+"="+encodeURIComponent("VALIDATION_REQUEST");u+="&"+encodeURIComponent("claim_id")+"="+encodeURIComponent(n);u+="&"+encodeURIComponent("claim_value")+"="+encodeURIComponent(t);u+="&"+encodeURIComponent("user_input")+"="+encodeURIComponent(r),function(t){$i2e.sendDataWithRetry(u,function(r){t.append("T010");i.validationRequestHandler(n,r)},function(n,r,u){if(t.append("T014"),n){t.append(" - statusCode:"+n.status);var f=n.responseText||n.statusText;n.responseJSON&&(f=n.responseJSON.exception||f);t.append(" - text:"+f)}r&&t.append(" - status:"+r);u&&t.append(" - error:"+u);$diags.trace(t);i.onError("UX013","Failed to send validation request")},function(){$diags.trace(t)})}(new $trace("T012",!0))},setContent:function(n){(function(t){$i2e.insertServiceContent(n);e=!0;$diags.trace(t)})(new $trace("T004",!0))},generateServiceContent:function(){(function(n){var t=SETTINGS.config.pageFlavor,i;t||(i=SETTINGS.remoteResource.toLowerCase(),t=i.match(/pageFlavor=(\w+)/i),t&&(SETTINGS.config.pageFlavor=t[1]));t||(SETTINGS.config.pageFlavor="classic",SETTINGS.remoteResource.toLowerCase().lastIndexOf("tenant/templates/azureblue/selfasserted.cshtml")>0?SETTINGS.config.pageFlavor="oceanBlue":SETTINGS.remoteResource.toLowerCase().lastIndexOf("tenant/templates/msa/selfasserted.cshtml")>0&&(SETTINGS.config.pageFlavor="slateGray"));f=$i2e.generateServiceContent("selfasserted",SA_FIELDS);$diags.trace(n)})(new $trace("T005",!0))},getElementContent:function(){return f},isEnter:function(n){var t=n.keyCode||n.which;return t===0||t===1||t===13||$(n.target).is("button")&&t===32}},i}(CONTENT,SETTINGS);$element.generateServiceContent(),function defer(){window.jQuery?!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){var r=[],e=n(document),u=navigator.userAgent.toLowerCase(),f=n(window),i=[],t={ieQuirks:null,msie:/msie/.test(u)&&!/opera/.test(u),opera:/opera/.test(u)};t.ie6=t.msie&&/msie 6./.test(u)&&"object"!=typeof XMLHttpRequest;t.ie7=t.msie&&/msie 7.0/.test(u);t.boxModel="CSS1Compat"===document.compatMode;n.modal=function(t,i){return n.modal.impl.init(t,i)};n.modal.close=function(){n.modal.impl.close()};n.modal.focus=function(t){n.modal.impl.focus(t)};n.modal.setContainerDimensions=function(){n.modal.impl.setContainerDimensions()};n.modal.setPosition=function(){n.modal.impl.setPosition()};n.modal.update=function(t,i){n.modal.impl.update(t,i)};n.fn.modal=function(t){return n.modal.impl.init(this,t)};n.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1e3,close:!0,closeHTML:'<a class="modalCloseImg" title="Close"><\/a>',closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null};n.modal.impl={d:{},init:function(i,r){var u=this;if(u.d.data)return!1;if(t.ieQuirks=t.msie&&!t.boxModel,u.o=n.extend({},n.modal.defaults,r),u.zIndex=u.o.zIndex,u.occb=!1,"object"==typeof i)i=i instanceof n?i:n(i),u.d.placeholder=!1,i.parent().parent().length>0&&(i.before(n("<span><\/span>").attr("id","simplemodal-placeholder").css({display:"none"})),u.d.placeholder=!0,u.display=i.css("display"),u.o.persist||(u.d.orig=i.clone(!0)));else{if("string"!=typeof i&&"number"!=typeof i)return alert("SimpleModal Error: Unsupported data type: "+typeof i),u;i=n("<div><\/div>").html(i)}return u.create(i),i=null,u.open(),n.isFunction(u.o.onShow)&&u.o.onShow.apply(u,[u.d]),u},create:function(u){var f=this;f.getDimensions();f.o.modal&&t.ie6&&(f.d.iframe=n('<iframe src="javascript:false;"><\/iframe>').css(n.extend(f.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:i[0],width:i[1],zIndex:f.o.zIndex,top:0,left:0})).appendTo(f.o.appendTo));f.d.overlay=n("<div><\/div>").attr("id",f.o.overlayId).addClass("simplemodal-overlay").css(n.extend(f.o.overlayCss,{display:"none",opacity:f.o.opacity/100,height:f.o.modal?r[0]:0,width:f.o.modal?r[1]:0,position:"fixed",left:0,top:0,zIndex:f.o.zIndex+1})).appendTo(f.o.appendTo);f.d.container=n("<div><\/div>").attr("id",f.o.containerId).addClass("simplemodal-container").css(n.extend({position:f.o.fixed?"fixed":"absolute"},f.o.containerCss,{display:"none",zIndex:f.o.zIndex+2})).append(f.o.close&&f.o.closeHTML?n(f.o.closeHTML).addClass(f.o.closeClass):"").appendTo(f.o.appendTo);f.d.wrap=n("<div><\/div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(f.d.container);f.d.data=u.attr("id",u.attr("id")||f.o.dataId).addClass("simplemodal-data").css(n.extend(f.o.dataCss,{display:"none"})).appendTo("body");u=null;f.setContainerDimensions();f.d.data.appendTo(f.d.wrap);(t.ie6||t.ieQuirks)&&f.fixIE()},bindEvents:function(){var u=this;n("."+u.o.closeClass).bind("click.simplemodal",function(n){n.preventDefault();u.close()});u.o.modal&&u.o.close&&u.o.overlayClose&&u.d.overlay.bind("click.simplemodal",function(n){n.preventDefault();u.close()});e.bind("keydown.simplemodal",function(n){u.o.modal&&9===n.keyCode?u.watchTab(n):u.o.close&&u.o.escClose&&27===n.keyCode&&(n.preventDefault(),u.close())});f.bind("resize.simplemodal orientationchange.simplemodal",function(){u.getDimensions();u.o.autoResize?u.setContainerDimensions():u.o.autoPosition&&u.setPosition();t.ie6||t.ieQuirks?u.fixIE():u.o.modal&&(u.d.iframe&&u.d.iframe.css({height:i[0],width:i[1]}),u.d.overlay.css({height:r[0],width:r[1]}))})},unbindEvents:function(){n("."+this.o.closeClass).unbind("click.simplemodal");e.unbind("keydown.simplemodal");f.unbind(".simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var i=this,t=i.o.position;n.each([i.d.iframe||null,i.o.modal?i.d.overlay:null,"fixed"===i.d.container.css("position")?i.d.container:null],function(n,i){var a,v,s,h;if(i){var e="document.body.clientHeight",o="document.body.clientWidth",y="document.body.scrollHeight",c="document.body.scrollLeft",l="document.body.scrollTop",p="document.body.scrollWidth",w="document.documentElement.clientHeight",b="document.documentElement.clientWidth",u="document.documentElement.scrollLeft",f="document.documentElement.scrollTop",r=i[0].style;(r.position="absolute",2>n)?(r.removeExpression("height"),r.removeExpression("width"),r.setExpression("height",""+y+" > "+e+" ? "+y+" : "+e+' + "px"'),r.setExpression("width",""+p+" > "+o+" ? "+p+" : "+o+' + "px"')):(t&&t.constructor===Array?(s=t[0]?"number"==typeof t[0]?t[0].toString():t[0].replace(/px/,""):i.css("top").replace(/px/,""),(a=-1===s.indexOf("%")?s+" + (t = "+f+" ? "+f+" : "+l+') + "px"':parseInt(s.replace(/%/,""))+" * (("+w+" || "+e+") / 100) + (t = "+f+" ? "+f+" : "+l+') + "px"',t[1])&&(h="number"==typeof t[1]?t[1].toString():t[1].replace(/px/,""),v=-1===h.indexOf("%")?h+" + (t = "+u+" ? "+u+" : "+c+') + "px"':parseInt(h.replace(/%/,""))+" * (("+b+" || "+o+") / 100) + (t = "+u+" ? "+u+" : "+c+') + "px"')):(a="("+w+" || "+e+") / 2 - (this.offsetHeight / 2) + (t = "+f+" ? "+f+" : "+l+') + "px"',v="("+b+" || "+o+") / 2 - (this.offsetWidth / 2) + (t = "+u+" ? "+u+" : "+c+') + "px"'),r.removeExpression("top"),r.removeExpression("left"),r.setExpression("top",a),r.setExpression("left",v))}})},focus:function(t){var i=this,u=t&&-1!==n.inArray(t,["first","last"])?t:"first",r=n(":input:enabled:visible:"+u,i.d.wrap);setTimeout(function(){r.length>0?r.focus():i.d.wrap.focus()},10)},getDimensions:function(){var n="undefined"==typeof innerHeight?f.height():window.innerHeight;r=[e.height(),e.width()];i=[n,f.width()]},getVal:function(n,t){return n?"number"==typeof n?n:"auto"===n?0:n.indexOf("%")>0?parseInt(n.replace(/%/,""))/100*("h"===t?i[0]:i[1]):parseInt(n.replace(/px/,"")):null},update:function(n,t){var i=this;return i.d.data?(i.d.origHeight=i.getVal(n,"h"),i.d.origWidth=i.getVal(t,"w"),i.d.data.hide(),n&&i.d.container.css("height",n),t&&i.d.container.css("width",t),i.setContainerDimensions(),i.d.data.show(),i.o.focus&&i.focus(),i.unbindEvents(),void i.bindEvents()):!1},setContainerDimensions:function(){var n=this,v=t.ie6||t.ie7,r=n.d.origHeight?n.d.origHeight:t.opera?n.d.container.height():n.getVal(v?n.d.container[0].currentStyle.height:n.d.container.css("height"),"h"),u=n.d.origWidth?n.d.origWidth:t.opera?n.d.container.width():n.getVal(v?n.d.container[0].currentStyle.width:n.d.container.css("width"),"w"),o=n.d.data.outerHeight(!0),s=n.d.data.outerWidth(!0),f;n.d.origHeight=n.d.origHeight||r;n.d.origWidth=n.d.origWidth||u;var l=n.o.maxHeight?n.getVal(n.o.maxHeight,"h"):null,a=n.o.maxWidth?n.getVal(n.o.maxWidth,"w"):null,h=l&&l<i[0]?l:i[0],c=a&&a<i[1]?a:i[1],e=n.o.minHeight?n.getVal(n.o.minHeight,"h"):"auto";r=r?n.o.autoResize&&r>h?h:e>r?e:r:o?o>h?h:n.o.minHeight&&"auto"!==e&&e>o?e:o:e;f=n.o.minWidth?n.getVal(n.o.minWidth,"w"):"auto";u=u?n.o.autoResize&&u>c?c:f>u?f:u:s?s>c?c:n.o.minWidth&&"auto"!==f&&f>s?f:s:f;n.d.container.css({height:r,width:u});n.d.wrap.css({overflow:o>r||s>u?"auto":"visible"});n.o.autoPosition&&n.setPosition()},setPosition:function(){var t,r,n=this,u=i[0]/2-n.d.container.outerHeight(!0)/2,e=i[1]/2-n.d.container.outerWidth(!0)/2,o="fixed"!==n.d.container.css("position")?f.scrollTop():0;n.o.position&&"[object Array]"===Object.prototype.toString.call(n.o.position)?(t=o+(n.o.position[0]||u),r=n.o.position[1]||e):(t=o+u,r=e);n.d.container.css({left:r,top:t})},watchTab:function(t){var i=this,r;n(t.target).parents(".simplemodal-container").length>0?(i.inputs=n(":input:enabled:visible:first, :input:enabled:visible:last",i.d.data[0]),!t.shiftKey&&t.target===i.inputs[i.inputs.length-1]||t.shiftKey&&t.target===i.inputs[0]||0===i.inputs.length)&&(t.preventDefault(),r=t.shiftKey?"last":"first",i.focus(r)):(t.preventDefault(),i.focus())},open:function(){var t=this;t.d.iframe&&t.d.iframe.show();n.isFunction(t.o.onOpen)?t.o.onOpen.apply(t,[t.d]):(t.d.overlay.show(),t.d.container.show(),t.d.data.show());t.o.focus&&t.focus();t.bindEvents()},close:function(){var t=this,i;if(!t.d.data)return!1;(t.unbindEvents(),n.isFunction(t.o.onClose)&&!t.occb)?(t.occb=!0,t.o.onClose.apply(t,[t.d])):(t.d.placeholder?(i=n("#simplemodal-placeholder"),t.o.persist?i.replaceWith(t.d.data.removeClass("simplemodal-data").css("display",t.display)):(t.d.data.hide().remove(),i.replaceWith(t.d.orig))):t.d.data.hide().remove(),t.d.container.hide().remove(),t.d.overlay.hide(),t.d.iframe&&t.d.iframe.hide().remove(),t.d.overlay.remove(),t.d={})}}}):setTimeout(function(){defer()},50)}()</script><title>Loading...</title><style>.no_display{display:none}.error_container h1{color:#333;font-size:1.2em;font-family:'Segoe UI Light',Segoe,'Segoe UI',SegoeUI-Light-final,Tahoma,Helvetica,Arial,sans-serif;font-weight:lighter}.error_container p{color:#333;font-size:.8em;font-family:'Segoe UI',Segoe,SegoeUI-Regular-final,Tahoma,Helvetica,Arial,sans-serif;margin:14px 0}</style></head><body><noscript><div id="no_js" ><div class="error_container"><div><h1>We can't sign you in</h1><p>Your browser is currently set to block JavaScript. You need to allow JavaScript to use this service.</p><p>To learn how to allow JavaScript or to find out whether your browser supports JavaScript, check the online help in your web browser.</p></div></div></div></noscript><div id="no_cookie" class="no_display"><div class="error_container"><div><h1>We can't sign you in</h1><p>Your browser is currently set to block cookies. You need to allow cookies to use this service.</p><p>Cookies are small text files stored on your computer that tell us when you're signed in. To learn how to allow cookies, check the online help in your web browser.</p><script nonce="+ePUV3CW+9TyVMU7ykmv8g==">if (!navigator.cookieEnabled) document.getElementById('no_cookie').className = ''; if (typeof $diags !== 'undefined') $diags.initializationSuccessful = true;</script></div></div></div></body></html>