diff --git a/.firebaserc b/.firebaserc index e428469277..aa1f130912 100644 --- a/.firebaserc +++ b/.firebaserc @@ -13,6 +13,7 @@ "ft": "flutter-web-staging", "filip": "flutter-website-filiph-staging", "brianegan": "brianegan-flutter-staging", - "xster-staging": "flutter-website-staging-6f2ad" + "xster-staging": "flutter-website-staging-6f2ad", + "jr": "flutter-website-jr-staging" } -} \ No newline at end of file +} diff --git a/README.md b/README.md index 54de0eeed6..ef43bc3748 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ A typical DartPad example takes the form of an `iframe`, e.g. within a codelab's ```markdown diff --git a/_config.yml b/_config.yml index 3ef6db0324..cd4cfd16fd 100644 --- a/_config.yml +++ b/_config.yml @@ -122,14 +122,9 @@ alert: custom: dartpad: embed-dart-prefix: https://dartpad.dev/embed-dart.html + embed-flutter-prefix: https://dartpad.dev/embed-flutter.html embed-html-prefix: https://dartpad.dev/embed-html.html embed-inline-prefix: https://dartpad.dev/embed-inline.html - dartpadx: - embed-dart-prefix: https://dartpad.dev/experimental/embed-new-dart.html - embed-flutter-prefix: https://unforked-dot-dart-pad.appspot.com/embed-flutter.html - embed-flutter-prefix-old: https://dartpad.dev/embed-flutter.html - embed-html-prefix: https://dartpad.dev/experimental/embed-new-html.html - embed-inline-prefix: https://dartpad.dev/experimental/embed-new-inline.html # callout_danger: '
' # callout_default: '
' diff --git a/src/_packages/dartpad_picker/lib/dartpad_picker.dart b/src/_packages/dartpad_picker/lib/dartpad_picker.dart index f5f82727d6..dd4bda9e70 100644 --- a/src/_packages/dartpad_picker/lib/dartpad_picker.dart +++ b/src/_packages/dartpad_picker/lib/dartpad_picker.dart @@ -20,7 +20,7 @@ class DartPadPicker { int _selected = 0; DartPadPicker(this.iFrameHost, this.selectElement, this.snippets, - {this.dartPadUrl = 'https://unforked-dot-dart-pad.appspot.com/'}) { + {this.dartPadUrl = 'https://dartpad.dev/'}) { _initSelectElement(); _initDartPad(); } diff --git a/src/assets/js/dartpad_picker_main.dart.js b/src/assets/js/dartpad_picker_main.dart.js index dc373da696..5359a59d3b 100644 --- a/src/assets/js/dartpad_picker_main.dart.js +++ b/src/assets/js/dartpad_picker_main.dart.js @@ -20,7 +20,7 @@ copyProperties(a.prototype,u) a.prototype=u}}function inheritMany(a,b){for(var u=0;u1&&C.c.J(t,0)===36?C.c.ad(t,1):t)}, a5:function(a){if(a.date===void 0)a.date=new Date(a.a) return a.date}, -eQ:function(a){var u=H.a5(a).getUTCFullYear()+0 +eS:function(a){var u=H.a5(a).getUTCFullYear()+0 return u}, -eO:function(a){var u=H.a5(a).getUTCMonth()+1 +eQ:function(a){var u=H.a5(a).getUTCMonth()+1 return u}, -eK:function(a){var u=H.a5(a).getUTCDate()+0 +eM:function(a){var u=H.a5(a).getUTCDate()+0 return u}, -eL:function(a){var u=H.a5(a).getUTCHours()+0 +eN:function(a){var u=H.a5(a).getUTCHours()+0 return u}, -eN:function(a){var u=H.a5(a).getUTCMinutes()+0 +eP:function(a){var u=H.a5(a).getUTCMinutes()+0 return u}, -eP:function(a){var u=H.a5(a).getUTCSeconds()+0 +eR:function(a){var u=H.a5(a).getUTCSeconds()+0 return u}, -eM:function(a){var u=H.a5(a).getUTCMilliseconds()+0 +eO:function(a){var u=H.a5(a).getUTCMilliseconds()+0 return u}, -fi:function(a){throw H.d(H.b6(a))}, -B:function(a,b){if(a==null)J.d6(a) +fj:function(a){throw H.d(H.b7(a))}, +x:function(a,b){if(a==null)J.d7(a) throw H.d(H.N(a,b))}, N:function(a,b){var u,t,s="index" if(typeof b!=="number"||Math.floor(b)!==b)return new P.G(!0,b,s,null) -u=H.j(J.d6(a)) -if(!(b<0)){if(typeof u!=="number")return H.fi(u) +u=H.j(J.d7(a)) +if(!(b<0)){if(typeof u!=="number")return H.fj(u) t=b>=u}else t=!0 if(t)return P.bx(b,a,s,null,u) return P.bY(b,s)}, -b6:function(a){return new P.G(!0,a,null,null)}, +b7:function(a){return new P.G(!0,a,null,null)}, d:function(a){var u if(a==null)a=new P.as() u=new Error() u.dartException=a -if("defineProperty" in Object){Object.defineProperty(u,"message",{get:H.e5}) -u.name=""}else u.toString=H.e5 +if("defineProperty" in Object){Object.defineProperty(u,"message",{get:H.e6}) +u.name=""}else u.toString=H.e6 return u}, -e5:function(){return J.bb(this.dartException)}, +e6:function(){return J.bb(this.dartException)}, P:function(a){throw H.d(a)}, -e4:function(a){throw H.d(P.d8(a))}, +e5:function(a){throw H.d(P.d9(a))}, J:function(a){var u,t,s,r,q,p -a=H.fu(a.replace(String({}),'$receiver$')) +a=H.fw(a.replace(String({}),'$receiver$')) u=a.match(/\\\$[a-zA-Z]+\\\$/g) if(u==null)u=H.ac([],[P.C]) t=u.indexOf("\\$arguments\\$") @@ -154,11 +154,11 @@ p=u.indexOf("\\$receiver\\$") return new H.c7(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),t,s,r,q,p)}, c8:function(a){return function($expr$){var $argumentsExpr$='$arguments$' try{$expr$.$method$($argumentsExpr$)}catch(u){return u.message}}(a)}, -dJ:function(a){return function($expr$){try{$expr$.$method$}catch(u){return u.message}}(a)}, -dF:function(a,b){return new H.bU(a,b==null?null:b.method)}, -dd:function(a,b){var u=b==null,t=u?null:b.method +dK:function(a){return function($expr$){try{$expr$.$method$}catch(u){return u.message}}(a)}, +dG:function(a,b){return new H.bU(a,b==null?null:b.method)}, +de:function(a,b){var u=b==null,t=u?null:b.method return new H.bD(a,t,u?null:b.receiver)}, -af:function(a){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g=null,f=new H.d4(a) +af:function(a){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g=null,f=new H.d5(a) if(a==null)return if(typeof a!=="object")return a if("dartException" in a)return f.$1(a.dartException) @@ -166,22 +166,22 @@ else if(!("message" in a))return a u=a.message if("number" in a&&typeof a.number=="number"){t=a.number s=t&65535 -if((C.i.a1(t,16)&8191)===10)switch(s){case 438:return f.$1(H.dd(H.e(u)+" (Error "+s+")",g)) -case 445:case 5007:return f.$1(H.dF(H.e(u)+" (Error "+s+")",g))}}if(a instanceof TypeError){r=$.e7() -q=$.e8() -p=$.e9() -o=$.ea() -n=$.ed() -m=$.ee() -l=$.ec() -$.eb() -k=$.eg() -j=$.ef() +if((C.i.a1(t,16)&8191)===10)switch(s){case 438:return f.$1(H.de(H.e(u)+" (Error "+s+")",g)) +case 445:case 5007:return f.$1(H.dG(H.e(u)+" (Error "+s+")",g))}}if(a instanceof TypeError){r=$.e8() +q=$.e9() +p=$.ea() +o=$.eb() +n=$.ee() +m=$.ef() +l=$.ed() +$.ec() +k=$.eh() +j=$.eg() i=r.u(u) -if(i!=null)return f.$1(H.dd(H.S(u),i)) +if(i!=null)return f.$1(H.de(H.S(u),i)) else{i=q.u(u) if(i!=null){i.method="call" -return f.$1(H.dd(H.S(u),i))}else{i=p.u(u) +return f.$1(H.de(H.S(u),i))}else{i=p.u(u) if(i==null){i=o.u(u) if(i==null){i=n.u(u) if(i==null){i=m.u(u) @@ -190,20 +190,20 @@ if(i==null){i=o.u(u) if(i==null){i=k.u(u) if(i==null){i=j.u(u) h=i!=null}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0 -if(h)return f.$1(H.dF(H.S(u),i))}}return f.$1(new H.cb(typeof u==="string"?u:""))}if(a instanceof RangeError){if(typeof u==="string"&&u.indexOf("call stack")!==-1)return new P.aV() +if(h)return f.$1(H.dG(H.S(u),i))}}return f.$1(new H.cb(typeof u==="string"?u:""))}if(a instanceof RangeError){if(typeof u==="string"&&u.indexOf("call stack")!==-1)return new P.aW() u=function(b){try{return String(b)}catch(e){}return null}(a) -return f.$1(new P.G(!1,g,g,typeof u==="string"?u.replace(/^RangeError:\s*/,""):u))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof u==="string"&&u==="too much recursion")return new P.aV() +return f.$1(new P.G(!1,g,g,typeof u==="string"?u.replace(/^RangeError:\s*/,""):u))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof u==="string"&&u==="too much recursion")return new P.aW() return a}, -aF:function(a){var u -if(a==null)return new H.b4(a) +aH:function(a){var u +if(a==null)return new H.b5(a) u=a.$cachedTrace if(u!=null)return u -return a.$cachedTrace=new H.b4(a)}, -ff:function(a,b){var u,t,s,r=a.length +return a.$cachedTrace=new H.b5(a)}, +fg:function(a,b){var u,t,s,r=a.length for(u=0;u=27 -if(q)return H.eu(t,!r,u,b) +if(q)return H.ev(t,!r,u,b) if(t===0){r=$.H if(typeof r!=="number")return r.A() $.H=r+1 @@ -273,8 +273,8 @@ o+=r r="return function("+o+"){return this." q=$.ai return new Function(r+H.e(q==null?$.ai=H.bg("self"):q)+"."+H.e(u)+"("+o+");}")()}, -ev:function(a,b,c,d){var u=H.d7,t=H.dx -switch(b?-1:a){case 0:throw H.d(H.eU("Intercepted function with no arguments.")) +ew:function(a,b,c,d){var u=H.d8,t=H.dy +switch(b?-1:a){case 0:throw H.d(H.eW("Intercepted function with no arguments.")) case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,u,t) case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,u,t) case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,u,t) @@ -284,16 +284,16 @@ case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(thi default:return function(e,f,g,h){return function(){h=[g(this)] Array.prototype.push.apply(h,arguments) return e.apply(f(this),h)}}(d,u,t)}}, -ew:function(a,b){var u,t,s,r,q,p,o,n=$.ai +ex:function(a,b){var u,t,s,r,q,p,o,n=$.ai if(n==null)n=$.ai=H.bg("self") -u=$.dw -if(u==null)u=$.dw=H.bg("receiver") +u=$.dx +if(u==null)u=$.dx=H.bg("receiver") t=b.$stubName s=b.length r=a[t] q=b==null?r==null:b===r p=!q||s>=28 -if(p)return H.ev(s,!q,t,b) +if(p)return H.ew(s,!q,t,b) if(s===1){n="return function(){return this."+H.e(n)+"."+H.e(t)+"(this."+H.e(u)+");" u=$.H if(typeof u!=="number")return u.A() @@ -304,113 +304,113 @@ u=$.H if(typeof u!=="number")return u.A() $.H=u+1 return new Function(n+u+"}")()}, -dl:function(a,b,c,d,e,f,g){return H.ex(a,b,c,d,!!e,!!f,g)}, -d7:function(a){return a.a}, -dx:function(a){return a.c}, -bg:function(a){var u,t,s,r=new H.ah("self","target","receiver","name"),q=J.da(Object.getOwnPropertyNames(r)) +dm:function(a,b,c,d,e,f,g){return H.ey(a,b,c,d,!!e,!!f,g)}, +d8:function(a){return a.a}, +dy:function(a){return a.c}, +bg:function(a){var u,t,s,r=new H.ah("self","target","receiver","name"),q=J.db(Object.getOwnPropertyNames(r)) for(u=q.length,t=0;t"))}, -fp:function(a,b){var u +fq:function(a,b){var u if(a==null)return a u=J.t(a) if(!!u.$io)return a if(u[b])return a -H.e2(a,b)}, -dX:function(a){var u +H.e3(a,b)}, +dY:function(a){var u if("$S" in a){u=a.$S if(typeof u=="number")return v.types[H.j(u)] else return a.$S()}return}, -b8:function(a,b){var u +b9:function(a,b){var u if(typeof a=="function")return!0 -u=H.dX(J.t(a)) +u=H.dY(J.t(a)) if(u==null)return!1 -return H.dO(u,null,b,null)}, +return H.dP(u,null,b,null)}, f:function(a,b){var u,t if(a==null)return a -if($.df)return a -$.df=!0 -try{if(H.b8(a,b))return a -u=H.d3(b) +if($.dg)return a +$.dg=!0 +try{if(H.b9(a,b))return a +u=H.d4(b) t=H.F(a,u) -throw H.d(t)}finally{$.df=!1}}, -b9:function(a,b){if(a!=null&&!H.dk(a,b))H.P(H.F(a,H.d3(b))) +throw H.d(t)}finally{$.dg=!1}}, +aF:function(a,b){if(a!=null&&!H.dl(a,b))H.P(H.F(a,H.d4(b))) return a}, -F:function(a,b){return new H.c9("TypeError: "+P.aJ(a)+": type '"+H.e(H.dS(a))+"' is not a subtype of type '"+b+"'")}, -es:function(a,b){return new H.bh("CastError: "+P.aJ(a)+": type '"+H.e(H.dS(a))+"' is not a subtype of type '"+b+"'")}, -dS:function(a){var u,t=J.t(a) -if(!!t.$iaj){u=H.dX(t) -if(u!=null)return H.d3(u) -return"Closure"}return H.aS(a)}, -f8:function(a){throw H.d(new H.ci(a))}, -fw:function(a){throw H.d(new P.bl(a))}, -eU:function(a){return new H.bZ(a)}, -dY:function(a){return v.getIsolateTag(a)}, +F:function(a,b){return new H.c9("TypeError: "+P.aL(a)+": type '"+H.e(H.dT(a))+"' is not a subtype of type '"+b+"'")}, +et:function(a,b){return new H.bh("CastError: "+P.aL(a)+": type '"+H.e(H.dT(a))+"' is not a subtype of type '"+b+"'")}, +dT:function(a){var u,t=J.t(a) +if(!!t.$iaj){u=H.dY(t) +if(u!=null)return H.d4(u) +return"Closure"}return H.au(a)}, +fa:function(a){throw H.d(new H.ci(a))}, +fy:function(a){throw H.d(new P.bl(a))}, +eW:function(a){return new H.bZ(a)}, +dZ:function(a){return v.getIsolateTag(a)}, ac:function(a,b){a.$ti=b return a}, Z:function(a){if(a==null)return return a.$ti}, -fT:function(a,b,c){return H.ad(a["$a"+H.e(c)],H.Z(b))}, -cY:function(a,b,c,d){var u=H.ad(a["$a"+H.e(c)],H.Z(b)) +fV:function(a,b,c){return H.ad(a["$a"+H.e(c)],H.Z(b))}, +cX:function(a,b,c,d){var u=H.ad(a["$a"+H.e(c)],H.Z(b)) return u==null?null:u[d]}, -fg:function(a,b,c){var u=H.ad(a["$a"+H.e(b)],H.Z(a)) +fh:function(a,b,c){var u=H.ad(a["$a"+H.e(b)],H.Z(a)) return u==null?null:u[c]}, k:function(a,b){var u=H.Z(a) return u==null?null:u[b]}, -d3:function(a){return H.Y(a,null)}, +d4:function(a){return H.Y(a,null)}, Y:function(a,b){var u,t if(a==null)return"dynamic" if(a===-1)return"void" -if(typeof a==="object"&&a!==null&&a.constructor===Array)return H.ae(a[0].name)+H.di(a,1,b) +if(typeof a==="object"&&a!==null&&a.constructor===Array)return H.ae(a[0].name)+H.dj(a,1,b) if(typeof a=="function")return H.ae(a.name) if(a===-2)return"dynamic" if(typeof a==="number"){H.j(a) if(b==null||a<0||a>=b.length)return"unexpected-generic-index:"+a u=b.length t=u-a-1 -if(t<0||t>=u)return H.B(b,t) -return H.e(b[t])}if('func' in a)return H.f0(a,b) +if(t<0||t>=u)return H.x(b,t) +return H.e(b[t])}if('func' in a)return H.f2(a,b) if('futureOr' in a)return"FutureOr<"+H.Y("type" in a?a.type:null,b)+">" return"unknown-reified-type"}, -f0:function(a,a0){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b=", " +f2:function(a,a0){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b=", " if("bounds" in a){u=a.bounds if(a0==null){a0=H.ac([],[P.C]) t=null}else t=a0.length s=a0.length -for(r=u.length,q=r;q>0;--q)C.a.k(a0,"T"+(s+q)) +for(r=u.length,q=r;q>0;--q)C.a.l(a0,"T"+(s+q)) for(p="<",o="",q=0;q "+k}, -di:function(a,b,c){var u,t,s,r,q,p +dj:function(a,b,c){var u,t,s,r,q,p if(a==null)return"" -u=new P.av("") +u=new P.aw("") for(t=b,s="",r=!0,q="";t ]+/g,function(g){return f[g]||g})}(H.ae(b.substring(2))+H.di(c,0,null),v.mangledGlobalNames)))}, -dU:function(a,b,c,d){var u,t +return H.dV(H.ad(t[d],u),null,c,null)}, +dk:function(a,b,c,d){if(a==null)return a +if(H.b8(a,b,c,d))return a +throw H.d(H.F(a,function(e,f){return e.replace(/[^<,> ]+/g,function(g){return f[g]||g})}(H.ae(b.substring(2))+H.dj(c,0,null),v.mangledGlobalNames)))}, +dV:function(a,b,c,d){var u,t if(c==null)return!0 if(a==null){u=c.length -for(t=0;tn)return!1 if(o+m>>0!==a||a>=c)throw H.d(H.N(b,a))}, ap:function ap(){}, X:function X(){}, -aP:function aP(){}, +aR:function aR(){}, aq:function aq(){}, -aQ:function aQ(){}, +aS:function aS(){}, bO:function bO(){}, bP:function bP(){}, bQ:function bQ(){}, bR:function bR(){}, bS:function bS(){}, -aR:function aR(){}, +aT:function aT(){}, bT:function bT(){}, -ay:function ay(){}, az:function az(){}, aA:function aA(){}, aB:function aB(){}, -fe:function(a){return J.eC(a?Object.keys(a):[],null)}, -fx:function(a){return v.mangledGlobalNames[a]}},J={ -dp:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, -cX:function(a){var u,t,s,r,q=a[v.dispatchPropertyName] -if(q==null)if($.dn==null){H.fk() +aC:function aC(){}, +ff:function(a){return J.eD(a?Object.keys(a):[],null)}, +fz:function(a){return v.mangledGlobalNames[a]}},J={ +dq:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, +cW:function(a){var u,t,s,r,q=a[v.dispatchPropertyName] +if(q==null)if($.dp==null){H.fl() q=a[v.dispatchPropertyName]}if(q!=null){u=q.p if(!1===u)return q.i if(!0===u)return a t=Object.getPrototypeOf(a) if(u===t)return q.i -if(q.e===t)throw H.d(P.aW("Return interceptor for "+H.e(u(a,q))))}s=a.constructor -r=s==null?null:s[$.dq()] +if(q.e===t)throw H.d(P.aX("Return interceptor for "+H.e(u(a,q))))}s=a.constructor +r=s==null?null:s[$.dr()] if(r!=null)return r -r=H.fq(a) +r=H.fr(a) if(r!=null)return r if(typeof a=="function")return C.r u=Object.getPrototypeOf(a) if(u==null)return C.j if(u===Object.prototype)return C.j -if(typeof s=="function"){Object.defineProperty(s,$.dq(),{value:C.e,enumerable:false,writable:true,configurable:true}) +if(typeof s=="function"){Object.defineProperty(s,$.dr(),{value:C.e,enumerable:false,writable:true,configurable:true}) return C.e}return C.e}, -eC:function(a,b){return J.da(H.ac(a,[b]))}, -da:function(a){a.fixed$length=Array +eD:function(a,b){return J.db(H.ac(a,[b]))}, +db:function(a){a.fixed$length=Array return a}, -dA:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +dB:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 default:return!1}}, -eD:function(a,b){var u,t +eF:function(a,b){var u,t for(u=a.length;b0;b=u){u=b-1 t=C.c.a6(a,u) -if(t!==32&&t!==13&&!J.dA(t))break}return b}, -t:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.aM.prototype +if(t!==32&&t!==13&&!J.dB(t))break}return b}, +t:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.aO.prototype return J.bz.prototype}if(typeof a=="string")return J.an.prototype if(a==null)return J.bA.prototype if(typeof a=="boolean")return J.by.prototype if(a.constructor==Array)return J.V.prototype if(typeof a!="object"){if(typeof a=="function")return J.W.prototype return a}if(a instanceof P.l)return a -return J.cX(a)}, +return J.cW(a)}, ba:function(a){if(typeof a=="string")return J.an.prototype if(a==null)return a if(a.constructor==Array)return J.V.prototype if(typeof a!="object"){if(typeof a=="function")return J.W.prototype return a}if(a instanceof P.l)return a -return J.cX(a)}, -dm:function(a){if(a==null)return a +return J.cW(a)}, +dn:function(a){if(a==null)return a if(a.constructor==Array)return J.V.prototype if(typeof a!="object"){if(typeof a=="function")return J.W.prototype return a}if(a instanceof P.l)return a -return J.cX(a)}, -aE:function(a){if(a==null)return a +return J.cW(a)}, +aG:function(a){if(a==null)return a if(typeof a!="object"){if(typeof a=="function")return J.W.prototype return a}if(a instanceof P.l)return a -return J.cX(a)}, -ds:function(a,b){if(a==null)return b==null +return J.cW(a)}, +dt:function(a,b){if(a==null)return b==null if(typeof a!="object")return b!=null&&a===b -return J.t(a).B(a,b)}, -aH:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.fo(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b>>0===b&&b=4){t=b.G() b.a=a.a b.c=a.c @@ -782,7 +784,7 @@ a7:function(a,b){var u,t,s,r,q,p,o,n,m,l,k,j,i=null,h={},g=h.a=a for(;!0;){u={} t=g.a===8 if(b==null){if(t){s=H.i(g.c,"$iw") -P.cS(i,i,g.b,s.a,s.b)}return}for(;r=b.a,r!=null;b=r){b.a=null +P.cT(i,i,g.b,s.a,s.b)}return}for(;r=b.a,r!=null;b=r){b.a=null P.a7(h.a,b)}g=h.a q=g.c u.a=t @@ -795,7 +797,7 @@ n=o.b if(t){m=g.b===n m=!(m||m)}else m=!1 if(m){H.i(q,"$iw") -P.cS(i,i,g.b,q.a,q.b) +P.cT(i,i,g.b,q.a,q.b) return}l=$.m if(l!==n)$.m=n else l=i @@ -823,50 +825,50 @@ j.c=p}else{H.i(p,"$iw") j.a=8 j.c=p}h.a=j g=j}}, -f3:function(a,b){if(H.b8(a,{func:1,args:[P.l,P.y]}))return H.f(a,{func:1,ret:null,args:[P.l,P.y]}) -if(H.b8(a,{func:1,args:[P.l]}))return H.f(a,{func:1,ret:null,args:[P.l]}) -throw H.d(P.dv(a,"onError","Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result"))}, -f2:function(){var u,t -for(;u=$.a8,u!=null;){$.aD=null +f5:function(a,b){if(H.b9(a,{func:1,args:[P.l,P.z]}))return H.f(a,{func:1,ret:null,args:[P.l,P.z]}) +if(H.b9(a,{func:1,args:[P.l]}))return H.f(a,{func:1,ret:null,args:[P.l]}) +throw H.d(P.dw(a,"onError","Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result"))}, +f4:function(){var u,t +for(;u=$.a8,u!=null;){$.aE=null t=u.b $.a8=t -if(t==null)$.aC=null +if(t==null)$.aD=null u.a.$0()}}, -f6:function(){$.dg=!0 -try{P.f2()}finally{$.aD=null -$.dg=!1 -if($.a8!=null)$.dr().$1(P.dV())}}, -dR:function(a){var u=new P.aY(a) -if($.a8==null){$.a8=$.aC=u -if(!$.dg)$.dr().$1(P.dV())}else $.aC=$.aC.b=u}, -f5:function(a){var u,t,s=$.a8 -if(s==null){P.dR(a) -$.aD=$.aC -return}u=new P.aY(a) -t=$.aD +f8:function(){$.dh=!0 +try{P.f4()}finally{$.aE=null +$.dh=!1 +if($.a8!=null)$.ds().$1(P.dW())}}, +dS:function(a){var u=new P.aZ(a) +if($.a8==null){$.a8=$.aD=u +if(!$.dh)$.ds().$1(P.dW())}else $.aD=$.aD.b=u}, +f7:function(a){var u,t,s=$.a8 +if(s==null){P.dS(a) +$.aE=$.aD +return}u=new P.aZ(a) +t=$.aE if(t==null){u.b=s -$.a8=$.aD=u}else{u.b=t.b -$.aD=t.b=u -if(u.b==null)$.aC=u}}, -fv:function(a){var u=null,t=$.m +$.a8=$.aE=u}else{u.b=t.b +$.aE=t.b=u +if(u.b==null)$.aD=u}}, +fx:function(a){var u=null,t=$.m if(C.b===t){P.a9(u,u,C.b,a) return}P.a9(u,u,t,H.f(t.a4(a),{func:1,ret:-1}))}, -cS:function(a,b,c,d,e){var u={} +cT:function(a,b,c,d,e){var u={} u.a=d -P.f5(new P.cT(u,e))}, -dP:function(a,b,c,d,e){var u,t=$.m +P.f7(new P.cU(u,e))}, +dQ:function(a,b,c,d,e){var u,t=$.m if(t===c)return d.$0() $.m=c u=t try{t=d.$0() return t}finally{$.m=u}}, -dQ:function(a,b,c,d,e,f,g){var u,t=$.m +dR:function(a,b,c,d,e,f,g){var u,t=$.m if(t===c)return d.$1(e) $.m=c u=t try{t=d.$1(e) return t}finally{$.m=u}}, -f4:function(a,b,c,d,e,f,g,h,i){var u,t=$.m +f6:function(a,b,c,d,e,f,g,h,i){var u,t=$.m if(t===c)return d.$2(e,f) $.m=c u=t @@ -876,15 +878,15 @@ a9:function(a,b,c,d){var u H.f(d,{func:1,ret:-1}) u=C.b!==c if(u)d=!(!u||!1)?c.a4(d):c.as(d,-1) -P.dR(d)}, +P.dS(d)}, cl:function cl(a){this.a=a}, ck:function ck(a,b,c){this.a=a this.b=b this.c=c}, cm:function cm(a){this.a=a}, cn:function cn(a){this.a=a}, -cP:function cP(){}, -cQ:function cQ(a,b){this.a=a +cQ:function cQ(){}, +cR:function cR(a,b){this.a=a this.b=b}, cq:function cq(){}, cj:function cj(a,b){this.a=a @@ -896,7 +898,7 @@ _.c=b _.d=c _.e=d _.$ti=e}, -z:function z(a,b){var _=this +A:function A(a,b){var _=this _.a=0 _.b=a _.c=null @@ -929,7 +931,7 @@ this.c=c}, cF:function cF(a,b,c){this.a=a this.b=b this.c=c}, -aY:function aY(a){this.a=a +aZ:function aZ(a){this.a=a this.b=null}, c1:function c1(){}, c3:function c3(a,b){this.a=a @@ -939,8 +941,8 @@ this.b=b}, c2:function c2(){}, w:function w(a,b){this.a=a this.b=b}, -cR:function cR(){}, -cT:function cT(a,b){this.a=a +cS:function cS(){}, +cU:function cU(a,b){this.a=a this.b=b}, cJ:function cJ(){}, cL:function cL(a,b,c){this.a=a @@ -951,66 +953,66 @@ this.b=b}, cM:function cM(a,b,c){this.a=a this.b=b this.c=c}, -dC:function(a,b,c){return H.dj(H.ff(a,new H.aO([b,c])),"$idB",[b,c],"$adB")}, -eG:function(){return new H.aO([null,null])}, -eB:function(a,b,c){var u,t -if(P.dh(a)){if(b==="("&&c===")")return"(...)" +dD:function(a,b,c){return H.dk(H.fg(a,new H.aQ([b,c])),"$idC",[b,c],"$adC")}, +eI:function(){return new H.aQ([null,null])}, +eC:function(a,b,c){var u,t +if(P.di(a)){if(b==="("&&c===")")return"(...)" return b+"..."+c}u=H.ac([],[P.C]) -C.a.k($.A,a) -try{P.f1(a,u)}finally{if(0>=$.A.length)return H.B($.A,-1) -$.A.pop()}t=P.dI(b,H.fp(u,"$iq"),", ")+c +C.a.l($.B,a) +try{P.f3(a,u)}finally{if(0>=$.B.length)return H.x($.B,-1) +$.B.pop()}t=P.dJ(b,H.fq(u,"$ir"),", ")+c return t.charCodeAt(0)==0?t:t}, -dz:function(a,b,c){var u,t -if(P.dh(a))return b+"..."+c -u=new P.av(b) -C.a.k($.A,a) +dA:function(a,b,c){var u,t +if(P.di(a))return b+"..."+c +u=new P.aw(b) +C.a.l($.B,a) try{t=u -t.a=P.dI(t.a,a,", ")}finally{if(0>=$.A.length)return H.B($.A,-1) -$.A.pop()}u.a+=c +t.a=P.dJ(t.a,a,", ")}finally{if(0>=$.B.length)return H.x($.B,-1) +$.B.pop()}u.a+=c t=u.a return t.charCodeAt(0)==0?t:t}, -dh:function(a){var u,t -for(u=$.A.length,t=0;t=b.length)return H.B(b,-1) +if(0>=b.length)return H.x(b,-1) t=b.pop() -if(0>=b.length)return H.B(b,-1) +if(0>=b.length)return H.x(b,-1) s=b.pop()}else{r=n.gm();++l -if(!n.n()){if(l<=4){C.a.k(b,H.e(r)) +if(!n.n()){if(l<=4){C.a.l(b,H.e(r)) return}t=H.e(r) -if(0>=b.length)return H.B(b,-1) +if(0>=b.length)return H.x(b,-1) s=b.pop() m+=t.length+2}else{q=n.gm();++l for(;n.n();r=q,q=p){p=n.gm();++l if(l>100){while(!0){if(!(m>75&&l>3))break -if(0>=b.length)return H.B(b,-1) -m-=b.pop().length+2;--l}C.a.k(b,"...") +if(0>=b.length)return H.x(b,-1) +m-=b.pop().length+2;--l}C.a.l(b,"...") return}}s=H.e(r) t=H.e(q) m+=t.length+s.length+4}}if(l>b.length+2){m+=5 o="..."}else o=null while(!0){if(!(m>80&&b.length>3))break -if(0>=b.length)return H.B(b,-1) +if(0>=b.length)return H.x(b,-1) m-=b.pop().length+2 if(o==null){m+=5 -o="..."}}if(o!=null)C.a.k(b,o) -C.a.k(b,s) -C.a.k(b,t)}, -dE:function(a){var u,t={} -if(P.dh(a))return"{...}" -u=new P.av("") -try{C.a.k($.A,a) +o="..."}}if(o!=null)C.a.l(b,o) +C.a.l(b,s) +C.a.l(b,t)}, +dF:function(a){var u,t={} +if(P.di(a))return"{...}" +u=new P.aw("") +try{C.a.l($.B,a) u.a+="{" t.a=!0 a.a7(0,new P.bI(t,u)) -u.a+="}"}finally{if(0>=$.A.length)return H.B($.A,-1) -$.A.pop()}t=u.a +u.a+="}"}finally{if(0>=$.B.length)return H.x($.B,-1) +$.B.pop()}t=u.a return t.charCodeAt(0)==0?t:t}, bF:function bF(){}, u:function u(){}, @@ -1018,45 +1020,45 @@ bH:function bH(){}, bI:function bI(a,b){this.a=a this.b=b}, bJ:function bJ(){}, -b1:function b1(){}, -eA:function(a){if(a instanceof H.aj)return a.h(0) -return"Instance of '"+H.e(H.aS(a))+"'"}, -eH:function(a,b,c){var u,t=[c],s=H.ac([],t) -for(u=a.gq(a);u.n();)C.a.k(s,H.n(u.gm(),c)) +b2:function b2(){}, +eB:function(a){if(a instanceof H.aj)return a.h(0) +return"Instance of '"+H.e(H.au(a))+"'"}, +eJ:function(a,b,c){var u,t=[c],s=H.ac([],t) +for(u=a.gq(a);u.n();)C.a.l(s,H.n(u.gm(),c)) if(b)return s -return H.dj(J.da(s),"$io",t,"$ao")}, -eT:function(a){return new H.bC(a,H.eF(a,!1,!0,!1,!1,!1))}, -dI:function(a,b,c){var u=J.dt(b) +return H.dk(J.db(s),"$io",t,"$ao")}, +eV:function(a){return new H.bC(a,H.eH(a,!1,!0,!1,!1,!1))}, +dJ:function(a,b,c){var u=J.du(b) if(!u.n())return a if(c.length===0){do a+=H.e(u.gm()) while(u.n())}else{a+=H.e(u.gm()) for(;u.n();)a=a+c+H.e(u.gm())}return a}, -ey:function(a){var u=Math.abs(a),t=a<0?"-":"" +ez:function(a){var u=Math.abs(a),t=a<0?"-":"" if(u>=1000)return""+a if(u>=100)return t+"0"+u if(u>=10)return t+"00"+u return t+"000"+u}, -ez:function(a){if(a>=100)return""+a +eA:function(a){if(a>=100)return""+a if(a>=10)return"0"+a return"00"+a}, -aI:function(a){if(a>=10)return""+a +aK:function(a){if(a>=10)return""+a return"0"+a}, -aJ:function(a){if(typeof a==="number"||typeof a==="boolean"||null==a)return J.bb(a) +aL:function(a){if(typeof a==="number"||typeof a==="boolean"||null==a)return J.bb(a) if(typeof a==="string")return JSON.stringify(a) -return P.eA(a)}, -eq:function(a){return new P.G(!1,null,null,a)}, -dv:function(a,b,c){return new P.G(!0,a,b,c)}, -er:function(a){return new P.G(!1,null,a,"Must not be null")}, -bY:function(a,b){return new P.aU(null,null,!0,a,b,"Value not in range")}, -dG:function(a,b,c,d,e){return new P.aU(b,c,!0,a,d,"Invalid value")}, -eR:function(a,b){if(typeof a!=="number")return a.I() -if(a<0)throw H.d(P.dG(a,0,null,b,null))}, -bx:function(a,b,c,d,e){var u=H.j(e==null?J.d6(b):e) +return P.eB(a)}, +er:function(a){return new P.G(!1,null,null,a)}, +dw:function(a,b,c){return new P.G(!0,a,b,c)}, +es:function(a){return new P.G(!1,null,a,"Must not be null")}, +bY:function(a,b){return new P.aV(null,null,!0,a,b,"Value not in range")}, +dH:function(a,b,c,d,e){return new P.aV(b,c,!0,a,d,"Invalid value")}, +eT:function(a,b){if(typeof a!=="number")return a.I() +if(a<0)throw H.d(P.dH(a,0,null,b,null))}, +bx:function(a,b,c,d,e){var u=H.j(e==null?J.d7(b):e) return new P.bw(u,!0,a,c,"Index out of range")}, -aw:function(a){return new P.cc(a)}, -aW:function(a){return new P.ca(a)}, -dH:function(a){return new P.c_(a)}, -d8:function(a){return new P.bj(a)}, +ax:function(a){return new P.cc(a)}, +aX:function(a){return new P.ca(a)}, +dI:function(a){return new P.c_(a)}, +d9:function(a){return new P.bj(a)}, M:function M(){}, al:function al(a,b){this.a=a this.b=b}, @@ -1069,7 +1071,7 @@ _.a=a _.b=b _.c=c _.d=d}, -aU:function aU(a,b,c,d,e,f){var _=this +aV:function aV(a,b,c,d,e,f){var _=this _.e=a _.f=b _.a=c @@ -1086,51 +1088,54 @@ cc:function cc(a){this.a=a}, ca:function ca(a){this.a=a}, c_:function c_(a){this.a=a}, bj:function bj(a){this.a=a}, -aV:function aV(){}, +aW:function aW(){}, bl:function bl(a){this.a=a}, cv:function cv(a){this.a=a}, bv:function bv(a,b){this.a=a this.b=b}, O:function O(){}, -q:function q(){}, +r:function r(){}, U:function U(){}, o:function o(){}, -r:function r(){}, -aG:function aG(){}, +p:function p(){}, +aI:function aI(){}, l:function l(){}, -y:function y(){}, +z:function z(){}, C:function C(){}, -av:function av(a){this.a=a}, -fc:function(a){var u=new P.z($.m,[null]),t=new P.cj(u,[null]) -a.then(H.ab(new P.cU(t),1))["catch"](H.ab(new P.cV(t),1)) +aw:function aw(a){this.a=a}, +fu:function(a,b){var u=new P.A($.m,[b]),t=new P.cj(u,[b]) +a.then(H.ab(new P.d2(t,b),1),H.ab(new P.d3(t),1)) return u}, cN:function cN(){}, cO:function cO(a,b){this.a=a this.b=b}, +cP:function cP(a,b){this.a=a +this.b=b}, cf:function cf(){}, ch:function ch(a,b){this.a=a this.b=b}, -b5:function b5(a,b){this.a=a +b6:function b6(a,b){this.a=a this.b=b}, cg:function cg(a,b){this.a=a this.b=b this.c=!1}, -cU:function cU(a){this.a=a}, -cV:function cV(a){this.a=a}, +d2:function d2(a,b){this.a=a +this.b=b}, +d3:function d3(a){this.a=a}, br:function br(a,b){this.a=a this.b=b}, bs:function bs(){}, bt:function bt(){}, a:function a(){}},W={ -eI:function(a,b,c,d){var u=new Option(a,b,c,!1) +eK:function(a,b,c,d){var u=new Option(a,b,c,!1) return u}, -dL:function(a,b,c,d,e){var u=W.f7(new W.cu(c),W.c) -if(u!=null&&!0)J.en(a,b,u,!1) +dM:function(a,b,c,d,e){var u=W.f9(new W.cu(c),W.c) +if(u!=null&&!0)J.eo(a,b,u,!1) return new W.ct(a,b,u,!1,[e])}, -dN:function(a){return W.eZ(a)}, -eZ:function(a){if(a===window)return H.i(a,"$idK") +dO:function(a){return W.f0(a)}, +f0:function(a){if(a===window)return H.i(a,"$idL") else return new W.cr(a)}, -f7:function(a,b){var u=$.m +f9:function(a,b){var u=$.m if(u===C.b)return a return u.at(a,b)}, b:function b(){}, @@ -1145,7 +1150,7 @@ bk:function bk(){}, bp:function bp(){}, cp:function cp(a,b){this.a=a this.b=b}, -p:function p(){}, +q:function q(){}, c:function c(){}, a1:function a1(){}, v:function v(){}, @@ -1153,7 +1158,7 @@ bq:function bq(){}, am:function am(){}, bu:function bu(){}, a3:function a3(){}, -aL:function aL(){}, +aN:function aN(){}, bM:function bM(){}, ao:function ao(){}, bN:function bN(){}, @@ -1162,13 +1167,13 @@ h:function h(){}, ar:function ar(){}, bV:function bV(){}, bX:function bX(){}, -aT:function aT(){}, -au:function au(){}, +aU:function aU(){}, +av:function av(){}, c6:function c6(){}, -D:function D(){}, -ax:function ax(){}, +E:function E(){}, +ay:function ay(){}, cs:function cs(){}, -de:function de(a,b,c,d){var _=this +df:function df(a,b,c,d){var _=this _.a=a _.b=b _.c=c @@ -1181,91 +1186,93 @@ _.e=d _.$ti=e}, cu:function cu(a){this.a=a}, Q:function Q(){}, -aK:function aK(a,b,c){var _=this +aM:function aM(a,b,c){var _=this _.a=a _.b=b _.c=-1 _.d=null _.$ti=c}, cr:function cr(a){this.a=a}, -aZ:function aZ(){}, b_:function b_(){}, b0:function b0(){}, -b2:function b2(){}, -b3:function b3(){}},Y={a6:function a6(a,b){this.a=a +b1:function b1(){}, +b3:function b3(){}, +b4:function b4(){}},Y={a6:function a6(a,b){this.a=a this.b=b},bm:function bm(a,b,c){var _=this _.b=a _.c=b _.d=c _.e=null _.f=0},bo:function bo(a){this.a=a},bn:function bn(a){this.a=a}},F={ -e0:function(){var u,t,s,r=$.eh(),q=window.navigator.userAgent +e1:function(){var u,t,s,r=$.ei(),q=window.navigator.userAgent r=r.b -if(typeof q!=="string")H.P(H.b6(q)) +if(typeof q!=="string")H.P(H.b7(q)) if(r.test(q)){r=document.querySelector("#dartpad-landing-page").style r.display="none" return}r=document u=r.querySelector("#dartpad-host") t=r.querySelector("#dartpad-select") -s=H.ac([new Y.a6("Spinning Flutter",$.ek()),new Y.a6("Fibonacci",$.ej()),new Y.a6("Counter",$.ei())],[Y.a6]) -r=new Y.bm(u,H.i(t,"$iau"),s) +s=H.ac([new Y.a6("Spinning Flutter",$.el()),new Y.a6("Fibonacci",$.ek()),new Y.a6("Counter",$.ej())],[Y.a6]) +r=new Y.bm(u,H.i(t,"$iav"),s) r.ao() r.an()}} var w=[C,H,J,P,W,Y,F] hunkHelpers.setFunctionNamesIfNecessary(w) var $={} -H.dc.prototype={} -J.x.prototype={ -B:function(a,b){return a===b}, +H.dd.prototype={} +J.y.prototype={ +C:function(a,b){return a===b}, gt:function(a){return H.at(a)}, -h:function(a){return"Instance of '"+H.e(H.aS(a))+"'"}} +h:function(a){return"Instance of '"+H.e(H.au(a))+"'"}} J.by.prototype={ h:function(a){return String(a)}, gt:function(a){return a?519018:218159}, $iM:1} J.bA.prototype={ -B:function(a,b){return null==b}, +C:function(a,b){return null==b}, h:function(a){return"null"}, -gt:function(a){return 0}} -J.aN.prototype={ gt:function(a){return 0}, -h:function(a){return String(a)}} +$ip:1} +J.aP.prototype={ +gt:function(a){return 0}, +h:function(a){return String(a)}, +$ieE:1} J.bW.prototype={} -J.aX.prototype={} +J.aY.prototype={} J.W.prototype={ -h:function(a){var u=a[$.e6()] +h:function(a){var u=a[$.e7()] if(u==null)return this.af(a) return"JavaScript function for "+H.e(J.bb(u))}, $S:function(){return{func:1,opt:[,,,,,,,,,,,,,,,,]}}, -$id9:1} +$ida:1} J.V.prototype={ -k:function(a,b){H.n(b,H.k(a,0)) -if(!!a.fixed$length)H.P(P.aw("add")) +l:function(a,b){H.n(b,H.k(a,0)) +if(!!a.fixed$length)H.P(P.ax("add")) a.push(b)}, -h:function(a){return P.dz(a,"[","]")}, +h:function(a){return P.dA(a,"[","]")}, gq:function(a){return new J.ag(a,a.length,[H.k(a,0)])}, gt:function(a){return H.at(a)}, gi:function(a){return a.length}, -si:function(a,b){if(!!a.fixed$length)H.P(P.aw("set length")) -if(b<0)throw H.d(P.dG(b,0,null,"newLength",null)) +si:function(a,b){if(!!a.fixed$length)H.P(P.ax("set length")) +if(b<0)throw H.d(P.dH(b,0,null,"newLength",null)) a.length=b}, j:function(a,b){H.j(b) if(typeof b!=="number"||Math.floor(b)!==b)throw H.d(H.N(a,b)) if(b>=a.length||b<0)throw H.d(H.N(a,b)) return a[b]}, -l:function(a,b,c){H.j(b) +k:function(a,b,c){H.j(b) H.n(c,H.k(a,0)) -if(!!a.immutable$list)H.P(P.aw("indexed set")) +if(!!a.immutable$list)H.P(P.ax("indexed set")) if(typeof b!=="number"||Math.floor(b)!==b)throw H.d(H.N(a,b)) if(b>=a.length||b<0)throw H.d(H.N(a,b)) a[b]=c}, -$iq:1, +$ir:1, $io:1} -J.db.prototype={} +J.dc.prototype={} J.ag.prototype={ gm:function(){return this.d}, n:function(){var u,t=this,s=t.a,r=s.length -if(t.b!==r)throw H.d(H.e4(s)) +if(t.b!==r)throw H.d(H.e5(s)) u=t.c if(u>=r){t.sV(null) return!1}t.sV(s[u]);++t.c @@ -1287,13 +1294,13 @@ if(a>0)u=this.aq(a,b) else{u=b>31?31:b u=a>>u>>>0}return u}, aq:function(a,b){return b>31?0:a>>>b}, -I:function(a,b){if(typeof b!=="number")throw H.d(H.b6(b)) +I:function(a,b){if(typeof b!=="number")throw H.d(H.b7(b)) return a=b}, $iR:1, -$iaG:1} -J.aM.prototype={$iO:1} +$iaI:1} +J.aO.prototype={$iO:1} J.bz.prototype={} J.an.prototype={ a6:function(a,b){if(b<0)throw H.d(H.N(a,b)) @@ -1301,7 +1308,7 @@ if(b>=a.length)H.P(H.N(a,b)) return a.charCodeAt(b)}, J:function(a,b){if(b>=a.length)throw H.d(H.N(a,b)) return a.charCodeAt(b)}, -A:function(a,b){if(typeof b!=="string")throw H.d(P.dv(b,null,null)) +A:function(a,b){if(typeof b!=="string")throw H.d(P.dw(b,null,null)) return a+b}, U:function(a,b,c){if(c==null)c=a.length if(b<0)throw H.d(P.bY(b,null)) @@ -1311,10 +1318,10 @@ return a.substring(b,c)}, ad:function(a,b){return this.U(a,b,null)}, T:function(a){var u,t,s,r=a.trim(),q=r.length if(q===0)return r -if(this.J(r,0)===133){u=J.eD(r,1) +if(this.J(r,0)===133){u=J.eF(r,1) if(u===q)return""}else u=0 t=q-1 -s=this.a6(r,t)===133?J.eE(r,t):q +s=this.a6(r,t)===133?J.eG(r,t):q if(u===0&&s===q)return r return r.substring(u,s)}, h:function(a){return a}, @@ -1332,33 +1339,33 @@ $iC:1} H.bG.prototype={ gm:function(){return this.d}, n:function(){var u,t=this,s=t.a,r=J.ba(s),q=r.gi(s) -if(t.b!==q)throw H.d(P.d8(s)) +if(t.b!==q)throw H.d(P.d9(s)) u=t.c -if(u>=q){t.sC(null) -return!1}t.sC(r.v(s,u));++t.c +if(u>=q){t.sD(null) +return!1}t.sD(r.w(s,u));++t.c return!0}, -sC:function(a){this.d=H.n(a,H.k(this,0))}, +sD:function(a){this.d=H.n(a,H.k(this,0))}, $iU:1} H.bK.prototype={ gq:function(a){var u=this.a return new H.bL(u.gq(u),this.b,this.$ti)}, gi:function(a){var u=this.a return u.gi(u)}, -v:function(a,b){return this.b.$1(this.a.v(0,b))}, -$aq:function(a,b){return[b]}} +w:function(a,b){return this.b.$1(this.a.w(0,b))}, +$ar:function(a,b){return[b]}} H.bL.prototype={ n:function(){var u=this,t=u.b -if(t.n()){u.sC(u.c.$1(t.gm())) -return!0}u.sC(null) +if(t.n()){u.sD(u.c.$1(t.gm())) +return!0}u.sD(null) return!1}, gm:function(){return this.a}, -sC:function(a){this.a=H.n(a,H.k(this,1))}, +sD:function(a){this.a=H.n(a,H.k(this,1))}, $aU:function(a,b){return[b]}} H.cd.prototype={ -gq:function(a){return new H.ce(J.dt(this.a),this.b,this.$ti)}} +gq:function(a){return new H.ce(J.du(this.a),this.b,this.$ti)}} H.ce.prototype={ n:function(){var u,t -for(u=this.a,t=this.b;u.n();)if(H.dW(t.$1(u.gm())))return!0 +for(u=this.a,t=this.b;u.n();)if(H.dX(t.$1(u.gm())))return!0 return!1}, gm:function(){return this.a.gm()}} H.a2.prototype={} @@ -1390,22 +1397,22 @@ return s+r+"' on '"+u+"' ("+H.e(t.a)+")"}} H.cb.prototype={ h:function(a){var u=this.a return u.length===0?"Error":"Error: "+u}} -H.d4.prototype={ +H.d5.prototype={ $1:function(a){if(!!J.t(a).$ia0)if(a.$thrownJsError==null)a.$thrownJsError=this.a return a}, -$S:4} -H.b4.prototype={ +$S:5} +H.b5.prototype={ h:function(a){var u,t=this.b if(t!=null)return t t=this.a u=t!==null&&typeof t==="object"?t.stack:null return this.b=u==null?"":u}, -$iy:1} +$iz:1} H.aj.prototype={ -h:function(a){var u=this.constructor,t=u==null?null:u.name -return"Closure '"+(t==null?"unknown":t)+"'"}, -$id9:1, -gaG:function(){return this}, +h:function(a){var u=H.au(this).trim() +return"Closure '"+u+"'"}, +$ida:1, +gaH:function(){return this}, $C:"$1", $R:1, $D:null} @@ -1415,18 +1422,18 @@ h:function(a){var u=this.$static_name if(u==null)return"Closure of unknown static method" return"Closure '"+H.ae(u)+"'"}} H.ah.prototype={ -B:function(a,b){var u=this +C:function(a,b){var u=this if(b==null)return!1 if(u===b)return!0 if(!(b instanceof H.ah))return!1 return u.a===b.a&&u.b===b.b&&u.c===b.c}, gt:function(a){var u,t=this.c if(t==null)u=H.at(this.a) -else u=typeof t!=="object"?J.d5(t):H.at(t) +else u=typeof t!=="object"?J.d6(t):H.at(t) return(u^H.at(this.b))>>>0}, h:function(a){var u=this.c if(u==null)u=this.a -return"Closure '"+H.e(this.d)+"' of "+("Instance of '"+H.e(H.aS(u))+"'")}} +return"Closure '"+H.e(this.d)+"' of "+("Instance of '"+H.e(H.au(u))+"'")}} H.c9.prototype={ h:function(a){return this.a}} H.bh.prototype={ @@ -1434,8 +1441,8 @@ h:function(a){return this.a}} H.bZ.prototype={ h:function(a){return"RuntimeError: "+H.e(this.a)}} H.ci.prototype={ -h:function(a){return"Assertion failed: "+P.aJ(this.a)}} -H.aO.prototype={ +h:function(a){return"Assertion failed: "+P.aL(this.a)}} +H.aQ.prototype={ gi:function(a){return this.a}, R:function(a){var u=this.b if(u==null)return!1 @@ -1449,21 +1456,21 @@ return s}else if(typeof b==="number"&&(b&0x3ffffff)===b){r=q.c if(r==null)return t=q.E(r,b) s=t==null?null:t.b -return s}else return q.ax(b)}, -ax:function(a){var u,t,s=this.d +return s}else return q.ay(b)}, +ay:function(a){var u,t,s=this.d if(s==null)return -u=this.a_(s,J.d5(a)&0x3ffffff) +u=this.a_(s,J.d6(a)&0x3ffffff) t=this.a8(u,a) if(t<0)return return u[t].b}, -l:function(a,b,c){var u,t,s,r,q,p,o=this +k:function(a,b,c){var u,t,s,r,q,p,o=this H.n(b,H.k(o,0)) H.n(c,H.k(o,1)) if(typeof b==="string"){u=o.b o.W(u==null?o.b=o.N():u,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){t=o.c o.W(t==null?o.c=o.N():t,b,c)}else{s=o.d if(s==null)s=o.d=o.N() -r=J.d5(b)&0x3ffffff +r=J.d6(b)&0x3ffffff q=o.a_(s,r) if(q==null)o.P(s,r,[o.O(b,c)]) else{p=o.a8(q,b) @@ -1474,7 +1481,7 @@ H.f(b,{func:1,ret:-1,args:[H.k(s,0),H.k(s,1)]}) u=s.e t=s.r for(;u!=null;){b.$2(u.a,u.b) -if(t!==s.r)throw H.d(P.d8(s)) +if(t!==s.r)throw H.d(P.d9(s)) u=u.c}}, W:function(a,b,c){var u,t=this H.n(b,H.k(t,0)) @@ -1490,9 +1497,9 @@ return t}, a8:function(a,b){var u,t if(a==null)return-1 u=a.length -for(t=0;t=4){if(n.a===8){s=o.b +return}if(!!J.t(n).$iI){if(n instanceof P.A&&n.a>=4){if(n.a===8){s=o.b s.b=H.i(n.c,"$iw") s.a=!0}return}p=o.a.a s=o.b -s.b=n.aD(new P.cI(p),null) +s.b=n.aE(new P.cI(p),null) s.a=!1}}, $S:1} P.cI.prototype={ @@ -1739,7 +1746,7 @@ r=H.k(s,0) q=H.n(n.c,r) p=H.k(s,1) n.a.b=s.b.b.S(H.f(s.d,{func:1,ret:{futureOr:1,type:p},args:[r]}),q,{futureOr:1,type:p},r)}catch(o){u=H.af(o) -t=H.aF(o) +t=H.aH(o) s=n.a s.b=new P.w(u,t) s.a=!0}}, @@ -1748,10 +1755,10 @@ P.cF.prototype={ $0:function(){var u,t,s,r,q,p,o,n,m=this try{u=H.i(m.a.a.c,"$iw") r=m.c -if(H.dW(r.ay(u))&&r.e!=null){q=m.b -q.b=r.aw(u) +if(H.dX(r.az(u))&&r.e!=null){q=m.b +q.b=r.ax(u) q.a=!1}}catch(p){t=H.af(p) -s=H.aF(p) +s=H.aH(p) r=H.i(m.a.a.c,"$iw") q=r.a o=t @@ -1760,18 +1767,18 @@ if(q==null?o==null:q===o)n.b=r else n.b=new P.w(t,s) n.a=!0}}, $S:1} -P.aY.prototype={} +P.aZ.prototype={} P.c1.prototype={ -gi:function(a){var u,t,s=this,r={},q=new P.z($.m,[P.O]) +gi:function(a){var u,t,s=this,r={},q=new P.A($.m,[P.O]) r.a=0 u=H.k(s,0) t=H.f(new P.c3(r,s),{func:1,ret:-1,args:[u]}) H.f(new P.c4(r,q),{func:1,ret:-1}) -W.dL(s.a,s.b,t,!1,u) +W.dM(s.a,s.b,t,!1,u) return q}} P.c3.prototype={ $1:function(a){H.n(a,H.k(this.b,0));++this.a.a}, -$S:function(){return{func:1,ret:P.r,args:[H.k(this.b,0)]}}} +$S:function(){return{func:1,ret:P.p,args:[H.k(this.b,0)]}}} P.c4.prototype={ $0:function(){this.b.Y(this.a.a)}, $S:0} @@ -1779,8 +1786,8 @@ P.c2.prototype={} P.w.prototype={ h:function(a){return H.e(this.a)}, $ia0:1} -P.cR.prototype={$ifL:1} -P.cT.prototype={ +P.cS.prototype={$ifN:1} +P.cU.prototype={ $0:function(){var u,t=this.a,s=t.a t=s==null?t.a=new P.as():s s=this.b @@ -1790,55 +1797,55 @@ u.stack=s.h(0) throw u}, $S:0} P.cJ.prototype={ -aB:function(a){var u,t,s,r=null +aC:function(a){var u,t,s,r=null H.f(a,{func:1,ret:-1}) try{if(C.b===$.m){a.$0() -return}P.dP(r,r,this,a,-1)}catch(s){u=H.af(s) -t=H.aF(s) -P.cS(r,r,this,u,H.i(t,"$iy"))}}, -aC:function(a,b,c){var u,t,s,r=null +return}P.dQ(r,r,this,a,-1)}catch(s){u=H.af(s) +t=H.aH(s) +P.cT(r,r,this,u,H.i(t,"$iz"))}}, +aD:function(a,b,c){var u,t,s,r=null H.f(a,{func:1,ret:-1,args:[c]}) H.n(b,c) try{if(C.b===$.m){a.$1(b) -return}P.dQ(r,r,this,a,b,-1,c)}catch(s){u=H.af(s) -t=H.aF(s) -P.cS(r,r,this,u,H.i(t,"$iy"))}}, +return}P.dR(r,r,this,a,b,-1,c)}catch(s){u=H.af(s) +t=H.aH(s) +P.cT(r,r,this,u,H.i(t,"$iz"))}}, as:function(a,b){return new P.cL(this,H.f(a,{func:1,ret:b}),b)}, a4:function(a){return new P.cK(this,H.f(a,{func:1,ret:-1}))}, at:function(a,b){return new P.cM(this,H.f(a,{func:1,ret:-1,args:[b]}),b)}, j:function(a,b){return}, aa:function(a,b){H.f(a,{func:1,ret:b}) if($.m===C.b)return a.$0() -return P.dP(null,null,this,a,b)}, +return P.dQ(null,null,this,a,b)}, S:function(a,b,c,d){H.f(a,{func:1,ret:c,args:[d]}) H.n(b,d) if($.m===C.b)return a.$1(b) -return P.dQ(null,null,this,a,b,c,d)}, -aA:function(a,b,c,d,e,f){H.f(a,{func:1,ret:d,args:[e,f]}) +return P.dR(null,null,this,a,b,c,d)}, +aB:function(a,b,c,d,e,f){H.f(a,{func:1,ret:d,args:[e,f]}) H.n(b,e) H.n(c,f) if($.m===C.b)return a.$2(b,c) -return P.f4(null,null,this,a,b,c,d,e,f)}} +return P.f6(null,null,this,a,b,c,d,e,f)}} P.cL.prototype={ $0:function(){return this.a.aa(this.b,this.c)}, $S:function(){return{func:1,ret:this.c}}} P.cK.prototype={ -$0:function(){return this.a.aB(this.b)}, +$0:function(){return this.a.aC(this.b)}, $S:1} P.cM.prototype={ $1:function(a){var u=this.c -return this.a.aC(this.b,H.n(a,u),u)}, +return this.a.aD(this.b,H.n(a,u),u)}, $S:function(){return{func:1,ret:-1,args:[this.c]}}} -P.bF.prototype={$iq:1,$io:1} +P.bF.prototype={$ir:1,$io:1} P.u.prototype={ -gq:function(a){return new H.bG(a,this.gi(a),[H.cY(this,a,"u",0)])}, -v:function(a,b){return this.j(a,b)}, -aF:function(a,b){var u,t=this,s=H.ac([],[H.cY(t,a,"u",0)]) +gq:function(a){return new H.bG(a,this.gi(a),[H.cX(this,a,"u",0)])}, +w:function(a,b){return this.j(a,b)}, +aG:function(a,b){var u,t=this,s=H.ac([],[H.cX(t,a,"u",0)]) C.a.si(s,t.gi(a)) -for(u=0;u78?C.c.U(s,0,75)+"...":s return t+"\n"+r}} P.O.prototype={} -P.q.prototype={ +P.r.prototype={ gi:function(a){var u,t=this.gq(this) for(u=0;t.n();)++u return u}, -v:function(a,b){var u,t,s,r="index" -if(b==null)H.P(P.er(r)) -P.eR(b,r) +w:function(a,b){var u,t,s,r="index" +if(b==null)H.P(P.es(r)) +P.eT(b,r) for(u=this.gq(this),t=0;u.n();){s=u.gm() if(b===t)return s;++t}throw H.d(P.bx(b,this,r,null,t))}, -h:function(a){return P.eB(this,"(",")")}} +h:function(a){return P.eC(this,"(",")")}} P.U.prototype={} -P.o.prototype={$iq:1} -P.r.prototype={ +P.o.prototype={$ir:1} +P.p.prototype={ gt:function(a){return P.l.prototype.gt.call(this,this)}, h:function(a){return"null"}} -P.aG.prototype={} +P.aI.prototype={} P.l.prototype={constructor:P.l,$il:1, -B:function(a,b){return this===b}, +C:function(a,b){return this===b}, gt:function(a){return H.at(this)}, -h:function(a){return"Instance of '"+H.e(H.aS(this))+"'"}, +h:function(a){return"Instance of '"+H.e(H.au(this))+"'"}, toString:function(){return this.h(this)}} -P.y.prototype={} +P.z.prototype={} P.C.prototype={} -P.av.prototype={ +P.aw.prototype={ gi:function(a){return this.a.length}, h:function(a){var u=this.a return u.charCodeAt(0)==0?u:u}} @@ -1967,20 +1974,20 @@ W.bp.prototype={ h:function(a){return String(a)}} W.cp.prototype={ gi:function(a){return this.b.length}, -j:function(a,b){return H.i(J.aH(this.b,H.j(b)),"$ip")}, -l:function(a,b,c){H.j(b) -this.a.replaceChild(H.i(c,"$ip"),J.aH(this.b,b))}, -k:function(a,b){this.a.appendChild(b) +j:function(a,b){return H.i(J.aJ(this.b,H.j(b)),"$iq")}, +k:function(a,b,c){H.j(b) +this.a.replaceChild(H.i(c,"$iq"),J.aJ(this.b,b))}, +l:function(a,b){this.a.appendChild(b) return b}, -gq:function(a){var u=this.aE(this) +gq:function(a){var u=this.aF(this) return new J.ag(u,u.length,[H.k(u,0)])}, -$au:function(){return[W.p]}, -$aq:function(){return[W.p]}, -$ao:function(){return[W.p]}} -W.p.prototype={ +$au:function(){return[W.q]}, +$ar:function(){return[W.q]}, +$ao:function(){return[W.q]}} +W.q.prototype={ ga5:function(a){return new W.cp(a,a.children)}, h:function(a){return a.localName}, -$ip:1} +$iq:1} W.c.prototype={$ic:1} W.a1.prototype={ a3:function(a,b,c,d){H.f(c,{func:1,args:[W.c]}) @@ -1999,44 +2006,44 @@ gi:function(a){return a.length}, j:function(a,b){H.j(b) if(b>>>0!==b||b>=a.length)throw H.d(P.bx(b,a,null,null,null)) return a[b]}, -l:function(a,b,c){H.j(b) +k:function(a,b,c){H.j(b) H.i(c,"$ih") -throw H.d(P.aw("Cannot assign element of immutable List."))}, -v:function(a,b){return this.j(a,b)}, +throw H.d(P.ax("Cannot assign element of immutable List."))}, +w:function(a,b){return this.j(a,b)}, $ia4:1, $aa4:function(){return[W.h]}, $au:function(){return[W.h]}, -$iq:1, -$aq:function(){return[W.h]}, +$ir:1, +$ar:function(){return[W.h]}, $io:1, $ao:function(){return[W.h]}, $ia3:1, $aQ:function(){return[W.h]}} -W.aL.prototype={$iaL:1} +W.aN.prototype={$iaN:1} W.bM.prototype={ gp:function(a){var u=a.data,t=new P.cg([],[]) t.c=!0 -return t.w(u)}} +return t.v(u)}} W.ao.prototype={$iao:1} W.bN.prototype={ gp:function(a){return a.data}} W.co.prototype={ -l:function(a,b,c){var u +k:function(a,b,c){var u H.j(b) u=this.a u.replaceChild(H.i(c,"$ih"),C.d.j(u.childNodes,b))}, gq:function(a){var u=this.a.childNodes -return new W.aK(u,u.length,[H.cY(C.d,u,"Q",0)])}, +return new W.aM(u,u.length,[H.cX(C.d,u,"Q",0)])}, gi:function(a){return this.a.childNodes.length}, j:function(a,b){H.j(b) return C.d.j(this.a.childNodes,b)}, $au:function(){return[W.h]}, -$aq:function(){return[W.h]}, +$ar:function(){return[W.h]}, $ao:function(){return[W.h]}} W.h.prototype={ -az:function(a,b){var u,t +aA:function(a,b){var u,t try{u=a.parentNode -J.em(u,b,a)}catch(t){H.af(t)}return a}, +J.en(u,b,a)}catch(t){H.af(t)}return a}, h:function(a){var u=a.nodeValue return u==null?this.ae(a):u}, ap:function(a,b,c){return a.replaceChild(b,c)}, @@ -2046,15 +2053,15 @@ gi:function(a){return a.length}, j:function(a,b){H.j(b) if(b>>>0!==b||b>=a.length)throw H.d(P.bx(b,a,null,null,null)) return a[b]}, -l:function(a,b,c){H.j(b) +k:function(a,b,c){H.j(b) H.i(c,"$ih") -throw H.d(P.aw("Cannot assign element of immutable List."))}, -v:function(a,b){return this.j(a,b)}, +throw H.d(P.ax("Cannot assign element of immutable List."))}, +w:function(a,b){return this.j(a,b)}, $ia4:1, $aa4:function(){return[W.h]}, $au:function(){return[W.h]}, -$iq:1, -$aq:function(){return[W.h]}, +$ir:1, +$ar:function(){return[W.h]}, $io:1, $ao:function(){return[W.h]}, $aQ:function(){return[W.h]}} @@ -2062,27 +2069,27 @@ W.bV.prototype={ gp:function(a){return a.data}} W.bX.prototype={ gp:function(a){return a.data}} -W.aT.prototype={$iaT:1} -W.au.prototype={$iau:1, +W.aU.prototype={$iaU:1} +W.av.prototype={$iav:1, gi:function(a){return a.length}} W.c6.prototype={ gp:function(a){return a.data}} -W.D.prototype={} -W.ax.prototype={ -a9:function(a,b,c){a.postMessage(new P.b5([],[]).w(b),c) +W.E.prototype={} +W.ay.prototype={ +a9:function(a,b,c){a.postMessage(new P.b6([],[]).v(b),c) return}, -$idK:1} +$idL:1} W.cs.prototype={} -W.de.prototype={} +W.df.prototype={} W.ct.prototype={} W.cu.prototype={ $1:function(a){return this.a.$1(H.i(a,"$ic"))}, $S:12} W.Q.prototype={ -gq:function(a){return new W.aK(a,this.gi(a),[H.cY(this,a,"Q",0)])}} -W.aK.prototype={ +gq:function(a){return new W.aM(a,this.gi(a),[H.cX(this,a,"Q",0)])}} +W.aM.prototype={ n:function(){var u=this,t=u.c+1,s=u.b -if(t=u.length)return H.B(u,t) +if(t>=u.length)return H.x(u,t) s=q.a=u[t] if(s!=null)return s s={} q.a=s -C.a.l(u,t,s) +C.a.k(u,t,s) a.a7(0,new P.cO(q,r)) -return q.a}if(!!u.$io){t=r.D(a) +return q.a}if(!!u.$io){t=r.B(a) q=r.b -if(t>=q.length)return H.B(q,t) +if(t>=q.length)return H.x(q,t) s=q[t] if(s!=null)return s -return r.au(a,t)}throw H.d(P.aW("structured clone of other type"))}, +return r.au(a,t)}if(!!u.$ieE){t=r.B(a) +u=r.b +if(t>=u.length)return H.x(u,t) +s=q.b=u[t] +if(s!=null)return s +s={} +q.b=s +C.a.k(u,t,s) +r.aw(a,new P.cP(q,r)) +return q.b}throw H.d(P.aX("structured clone of other type"))}, au:function(a,b){var u,t=J.ba(a),s=t.gi(a),r=new Array(s) -C.a.l(this.b,b,r) -for(u=0;u=t.length)return H.B(t,r) +if(r>=t.length)return H.x(t,r) q=k.a=t[r] if(q!=null)return q -q=P.eG() +q=P.eI() k.a=q -C.a.l(t,r,q) +C.a.k(t,r,q) l.av(a,new P.ch(k,l)) return k.a}if(a instanceof Array){p=a -r=l.D(p) +r=l.B(p) t=l.b -if(r>=t.length)return H.B(t,r) +if(r>=t.length)return H.x(t,r) q=t[r] if(q!=null)return q o=J.ba(p) n=o.gi(p) q=l.c?new Array(n):p -C.a.l(t,r,q) -for(t=J.dm(q),m=0;m _CounterState();\n}\n\nclass _CounterState extends State {\n double val;\n\n void initState() {\n super.initState();\n val = 0;\n }\n\n void change() {\n setState(() {\n val += 1;\n });\n }\n\n Widget build(BuildContext context) {\n return Scaffold(\n appBar: AppBar(),\n body: Center(\n child: Column(\n children: [\n Padding(\n padding: const EdgeInsets.all(8.0),\n child: Center(child: Text('$val'))),\n MaterialButton(\n color: Theme.of(context).primaryColor,\n child: Text(\n 'Add',\n style: TextStyle(color: Colors.white),\n ),\n onPressed: () => change(),\n ),\n ],\n ),\n ),\n );\n }\n}\n\nclass MyApp extends StatelessWidget {\n @override\n Widget build(BuildContext context) {\n return MaterialApp(\n debugShowCheckedModeBanner: false,\n home: Center(\n child: Container(\n child: Counter(),\n ),\n ),\n );\n }\n}\n\nFuture main() async {\n runApp(MyApp());\n}\n\n")}) -u($,"fW","ek",function(){return C.c.T("import 'package:flutter/material.dart';\n\nvoid main() async {\n runApp(\n MaterialApp(\n debugShowCheckedModeBanner: false,\n home: Scaffold(\n body: MyApp(),\n ),\n ),\n );\n}\n\nclass MyApp extends StatefulWidget {\n @override\n _MyAppState createState() => _MyAppState();\n}\n\nclass _MyAppState extends State\n with SingleTickerProviderStateMixin {\n AnimationController controller;\n Animation animation;\n\n @override\n void initState() {\n super.initState();\n\n controller = AnimationController(\n duration: Duration(seconds: 1),\n vsync: this,\n );\n\n animation = CurvedAnimation(\n parent: controller,\n curve: Curves.easeInOutCubic,\n ).drive(Tween(begin: 0, end: 2));\n }\n\n @override\n void dispose() {\n controller.dispose();\n super.dispose();\n }\n\n @override\n Widget build(BuildContext context) {\n return GestureDetector(\n onTap: () {\n controller\n ..reset()\n ..forward();\n },\n child: RotationTransition(\n turns: animation,\n child: Stack(\n children: [\n Positioned.fill(\n child: FlutterLogo(),\n ),\n Center(\n child: Text(\n 'Click me!',\n style: TextStyle(\n fontSize: 60.0,\n fontWeight: FontWeight.bold,\n ),\n ),\n ),\n ],\n ),\n ),\n );\n }\n}\n")}) -u($,"fS","ej",function(){return C.c.T("import 'package:flutter/material.dart';\n\nvoid main() async {\n final numbers = FibonacciNumbers();\n\n runApp(\n MaterialApp(\n debugShowCheckedModeBanner: false,\n home: Scaffold(\n appBar: AppBar(\n title: Text('Fibonacci List'),\n ),\n body: FibonacciListView(numbers),\n ),\n ),\n );\n}\n\nclass FibonacciNumbers {\n final cache = {0: BigInt.from(1), 1: BigInt.from(1)};\n\n BigInt get(int i) {\n if (!cache.containsKey(i)) {\n cache[i] = get(i - 1) + get(i - 2);\n }\n return cache[i];\n }\n}\n\nclass FibonacciListView extends StatelessWidget {\n final FibonacciNumbers numbers;\n\n FibonacciListView(this.numbers);\n\n @override\n Widget build(BuildContext context) {\n return ListView.builder(\n itemBuilder: (context, i) {\n return ListTile(\n title: Text('${numbers.get(i)}'),\n onTap: () {\n final snack = SnackBar(\n content: Text('${numbers.get(i)} is '\n '#$i in the Fibonacci sequence!'),\n );\n Scaffold.of(context).showSnackBar(snack);\n },\n );\n },\n );\n }\n}\n\n")})})();(function nativeSupport(){!function(){var u=function(a){var o={} +u($,"fH","ed",function(){return H.J(H.dK(null))}) +u($,"fG","ec",function(){return H.J(function(){try{null.$method$}catch(t){return t.message}}())}) +u($,"fL","eh",function(){return H.J(H.dK(void 0))}) +u($,"fK","eg",function(){return H.J(function(){try{(void 0).$method$}catch(t){return t.message}}())}) +u($,"fO","ds",function(){return P.eX()}) +u($,"fP","ei",function(){return P.eV("Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini")}) +u($,"fS","ej",function(){return C.c.T("import 'package:flutter/material.dart';\n\nclass Counter extends StatefulWidget {\n _CounterState createState() => _CounterState();\n}\n\nclass _CounterState extends State {\n double val;\n\n void initState() {\n super.initState();\n val = 0;\n }\n\n void change() {\n setState(() {\n val += 1;\n });\n }\n\n Widget build(BuildContext context) {\n return Scaffold(\n appBar: AppBar(),\n body: Center(\n child: Column(\n children: [\n Padding(\n padding: const EdgeInsets.all(8.0),\n child: Center(child: Text('$val'))),\n MaterialButton(\n color: Theme.of(context).primaryColor,\n child: Text(\n 'Add',\n style: TextStyle(color: Colors.white),\n ),\n onPressed: () => change(),\n ),\n ],\n ),\n ),\n );\n }\n}\n\nclass MyApp extends StatelessWidget {\n @override\n Widget build(BuildContext context) {\n return MaterialApp(\n debugShowCheckedModeBanner: false,\n home: Center(\n child: Container(\n child: Counter(),\n ),\n ),\n );\n }\n}\n\nFuture main() async {\n runApp(MyApp());\n}\n\n")}) +u($,"fY","el",function(){return C.c.T("import 'package:flutter/material.dart';\n\nvoid main() async {\n runApp(\n MaterialApp(\n debugShowCheckedModeBanner: false,\n home: Scaffold(\n body: MyApp(),\n ),\n ),\n );\n}\n\nclass MyApp extends StatefulWidget {\n @override\n _MyAppState createState() => _MyAppState();\n}\n\nclass _MyAppState extends State\n with SingleTickerProviderStateMixin {\n AnimationController controller;\n Animation animation;\n\n @override\n void initState() {\n super.initState();\n\n controller = AnimationController(\n duration: Duration(seconds: 1),\n vsync: this,\n );\n\n animation = CurvedAnimation(\n parent: controller,\n curve: Curves.easeInOutCubic,\n ).drive(Tween(begin: 0, end: 2));\n }\n\n @override\n void dispose() {\n controller.dispose();\n super.dispose();\n }\n\n @override\n Widget build(BuildContext context) {\n return GestureDetector(\n onTap: () {\n controller\n ..reset()\n ..forward();\n },\n child: RotationTransition(\n turns: animation,\n child: Stack(\n children: [\n Positioned.fill(\n child: FlutterLogo(),\n ),\n Center(\n child: Text(\n 'Click me!',\n style: TextStyle(\n fontSize: 60.0,\n fontWeight: FontWeight.bold,\n ),\n ),\n ),\n ],\n ),\n ),\n );\n }\n}\n")}) +u($,"fU","ek",function(){return C.c.T("import 'package:flutter/material.dart';\n\nvoid main() async {\n final numbers = FibonacciNumbers();\n\n runApp(\n MaterialApp(\n debugShowCheckedModeBanner: false,\n home: Scaffold(\n appBar: AppBar(\n title: Text('Fibonacci List'),\n ),\n body: FibonacciListView(numbers),\n ),\n ),\n );\n}\n\nclass FibonacciNumbers {\n final cache = {0: BigInt.from(1), 1: BigInt.from(1)};\n\n BigInt get(int i) {\n if (!cache.containsKey(i)) {\n cache[i] = get(i - 1) + get(i - 2);\n }\n return cache[i];\n }\n}\n\nclass FibonacciListView extends StatelessWidget {\n final FibonacciNumbers numbers;\n\n FibonacciListView(this.numbers);\n\n @override\n Widget build(BuildContext context) {\n return ListView.builder(\n itemBuilder: (context, i) {\n return ListTile(\n title: Text('${numbers.get(i)}'),\n onTap: () {\n final snack = SnackBar(\n content: Text('${numbers.get(i)} is '\n '#$i in the Fibonacci sequence!'),\n );\n Scaffold.of(context).showSnackBar(snack);\n },\n );\n },\n );\n }\n}\n\n")})})();(function nativeSupport(){!function(){var u=function(a){var o={} o[a]=1 return Object.keys(hunkHelpers.convertToFastObject(o))[0]} v.getIsolateTag=function(a){return u("___dart_"+a+v.isolateTag)} @@ -2498,21 +2521,21 @@ for(var q=0;;q++){var p=u(r+"_"+q+"_") if(!(p in s)){s[p]=1 v.isolateTag=p break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() -hunkHelpers.setOrUpdateInterceptorsByTag({DOMError:J.x,MediaError:J.x,Navigator:J.x,NavigatorConcurrentHardware:J.x,NavigatorUserMediaError:J.x,OverconstrainedError:J.x,PositionError:J.x,SQLError:J.x,ArrayBuffer:H.ap,DataView:H.X,ArrayBufferView:H.X,Float32Array:H.aq,Float64Array:H.aq,Int16Array:H.bO,Int32Array:H.bP,Int8Array:H.bQ,Uint16Array:H.bR,Uint32Array:H.bS,Uint8ClampedArray:H.aR,CanvasPixelArray:H.aR,Uint8Array:H.bT,HTMLAudioElement:W.b,HTMLBRElement:W.b,HTMLBaseElement:W.b,HTMLBodyElement:W.b,HTMLButtonElement:W.b,HTMLCanvasElement:W.b,HTMLContentElement:W.b,HTMLDListElement:W.b,HTMLDataElement:W.b,HTMLDataListElement:W.b,HTMLDetailsElement:W.b,HTMLDialogElement:W.b,HTMLDivElement:W.b,HTMLEmbedElement:W.b,HTMLFieldSetElement:W.b,HTMLHRElement:W.b,HTMLHeadElement:W.b,HTMLHeadingElement:W.b,HTMLHtmlElement:W.b,HTMLImageElement:W.b,HTMLInputElement:W.b,HTMLLIElement:W.b,HTMLLabelElement:W.b,HTMLLegendElement:W.b,HTMLLinkElement:W.b,HTMLMapElement:W.b,HTMLMediaElement:W.b,HTMLMenuElement:W.b,HTMLMetaElement:W.b,HTMLMeterElement:W.b,HTMLModElement:W.b,HTMLOListElement:W.b,HTMLOptGroupElement:W.b,HTMLOptionElement:W.b,HTMLOutputElement:W.b,HTMLParagraphElement:W.b,HTMLParamElement:W.b,HTMLPictureElement:W.b,HTMLPreElement:W.b,HTMLProgressElement:W.b,HTMLQuoteElement:W.b,HTMLScriptElement:W.b,HTMLShadowElement:W.b,HTMLSlotElement:W.b,HTMLSourceElement:W.b,HTMLSpanElement:W.b,HTMLStyleElement:W.b,HTMLTableCaptionElement:W.b,HTMLTableCellElement:W.b,HTMLTableDataCellElement:W.b,HTMLTableHeaderCellElement:W.b,HTMLTableColElement:W.b,HTMLTableElement:W.b,HTMLTableRowElement:W.b,HTMLTableSectionElement:W.b,HTMLTemplateElement:W.b,HTMLTextAreaElement:W.b,HTMLTimeElement:W.b,HTMLTitleElement:W.b,HTMLTrackElement:W.b,HTMLUListElement:W.b,HTMLUnknownElement:W.b,HTMLVideoElement:W.b,HTMLDirectoryElement:W.b,HTMLFontElement:W.b,HTMLFrameElement:W.b,HTMLFrameSetElement:W.b,HTMLMarqueeElement:W.b,HTMLElement:W.b,HTMLAnchorElement:W.bc,HTMLAreaElement:W.bd,Blob:W.a_,BlobEvent:W.bf,CDATASection:W.T,CharacterData:W.T,Comment:W.T,ProcessingInstruction:W.T,Text:W.T,CompositionEvent:W.bi,CSSStyleDeclaration:W.ak,MSStyleCSSProperties:W.ak,CSS2Properties:W.ak,DOMException:W.bp,Element:W.p,AnimationEvent:W.c,AnimationPlaybackEvent:W.c,ApplicationCacheErrorEvent:W.c,BeforeInstallPromptEvent:W.c,BeforeUnloadEvent:W.c,ClipboardEvent:W.c,CloseEvent:W.c,CustomEvent:W.c,DeviceMotionEvent:W.c,DeviceOrientationEvent:W.c,ErrorEvent:W.c,FontFaceSetLoadEvent:W.c,GamepadEvent:W.c,HashChangeEvent:W.c,MediaEncryptedEvent:W.c,MediaKeyMessageEvent:W.c,MediaQueryListEvent:W.c,MediaStreamEvent:W.c,MediaStreamTrackEvent:W.c,MIDIConnectionEvent:W.c,MutationEvent:W.c,PageTransitionEvent:W.c,PaymentRequestUpdateEvent:W.c,PopStateEvent:W.c,PresentationConnectionAvailableEvent:W.c,PresentationConnectionCloseEvent:W.c,ProgressEvent:W.c,PromiseRejectionEvent:W.c,RTCDataChannelEvent:W.c,RTCDTMFToneChangeEvent:W.c,RTCPeerConnectionIceEvent:W.c,RTCTrackEvent:W.c,SecurityPolicyViolationEvent:W.c,SensorErrorEvent:W.c,SpeechRecognitionError:W.c,SpeechRecognitionEvent:W.c,SpeechSynthesisEvent:W.c,StorageEvent:W.c,TrackEvent:W.c,TransitionEvent:W.c,WebKitTransitionEvent:W.c,VRDeviceEvent:W.c,VRDisplayEvent:W.c,VRSessionEvent:W.c,MojoInterfaceRequestEvent:W.c,ResourceProgressEvent:W.c,USBConnectionEvent:W.c,IDBVersionChangeEvent:W.c,AudioProcessingEvent:W.c,OfflineAudioCompletionEvent:W.c,WebGLContextEvent:W.c,Event:W.c,InputEvent:W.c,EventTarget:W.a1,AbortPaymentEvent:W.v,BackgroundFetchClickEvent:W.v,BackgroundFetchEvent:W.v,BackgroundFetchFailEvent:W.v,BackgroundFetchedEvent:W.v,CanMakePaymentEvent:W.v,FetchEvent:W.v,ForeignFetchEvent:W.v,InstallEvent:W.v,NotificationEvent:W.v,PaymentRequestEvent:W.v,SyncEvent:W.v,ExtendableEvent:W.v,ExtendableMessageEvent:W.bq,File:W.am,HTMLFormElement:W.bu,HTMLCollection:W.a3,HTMLFormControlsCollection:W.a3,HTMLOptionsCollection:W.a3,HTMLIFrameElement:W.aL,MessageEvent:W.bM,MessagePort:W.ao,MIDIMessageEvent:W.bN,Document:W.h,DocumentFragment:W.h,HTMLDocument:W.h,ShadowRoot:W.h,XMLDocument:W.h,Attr:W.h,DocumentType:W.h,Node:W.h,NodeList:W.ar,RadioNodeList:W.ar,HTMLObjectElement:W.bV,PushEvent:W.bX,PushMessageData:W.aT,HTMLSelectElement:W.au,TextEvent:W.c6,FocusEvent:W.D,KeyboardEvent:W.D,MouseEvent:W.D,DragEvent:W.D,PointerEvent:W.D,TouchEvent:W.D,WheelEvent:W.D,UIEvent:W.D,Window:W.ax,DOMWindow:W.ax,SVGAElement:P.a,SVGAnimateElement:P.a,SVGAnimateMotionElement:P.a,SVGAnimateTransformElement:P.a,SVGAnimationElement:P.a,SVGCircleElement:P.a,SVGClipPathElement:P.a,SVGDefsElement:P.a,SVGDescElement:P.a,SVGDiscardElement:P.a,SVGEllipseElement:P.a,SVGFEBlendElement:P.a,SVGFEColorMatrixElement:P.a,SVGFEComponentTransferElement:P.a,SVGFECompositeElement:P.a,SVGFEConvolveMatrixElement:P.a,SVGFEDiffuseLightingElement:P.a,SVGFEDisplacementMapElement:P.a,SVGFEDistantLightElement:P.a,SVGFEFloodElement:P.a,SVGFEFuncAElement:P.a,SVGFEFuncBElement:P.a,SVGFEFuncGElement:P.a,SVGFEFuncRElement:P.a,SVGFEGaussianBlurElement:P.a,SVGFEImageElement:P.a,SVGFEMergeElement:P.a,SVGFEMergeNodeElement:P.a,SVGFEMorphologyElement:P.a,SVGFEOffsetElement:P.a,SVGFEPointLightElement:P.a,SVGFESpecularLightingElement:P.a,SVGFESpotLightElement:P.a,SVGFETileElement:P.a,SVGFETurbulenceElement:P.a,SVGFilterElement:P.a,SVGForeignObjectElement:P.a,SVGGElement:P.a,SVGGeometryElement:P.a,SVGGraphicsElement:P.a,SVGImageElement:P.a,SVGLineElement:P.a,SVGLinearGradientElement:P.a,SVGMarkerElement:P.a,SVGMaskElement:P.a,SVGMetadataElement:P.a,SVGPathElement:P.a,SVGPatternElement:P.a,SVGPolygonElement:P.a,SVGPolylineElement:P.a,SVGRadialGradientElement:P.a,SVGRectElement:P.a,SVGScriptElement:P.a,SVGSetElement:P.a,SVGStopElement:P.a,SVGStyleElement:P.a,SVGElement:P.a,SVGSVGElement:P.a,SVGSwitchElement:P.a,SVGSymbolElement:P.a,SVGTSpanElement:P.a,SVGTextContentElement:P.a,SVGTextElement:P.a,SVGTextPathElement:P.a,SVGTextPositioningElement:P.a,SVGTitleElement:P.a,SVGUseElement:P.a,SVGViewElement:P.a,SVGGradientElement:P.a,SVGComponentTransferFunctionElement:P.a,SVGFEDropShadowElement:P.a,SVGMPathElement:P.a}) +hunkHelpers.setOrUpdateInterceptorsByTag({DOMError:J.y,MediaError:J.y,Navigator:J.y,NavigatorConcurrentHardware:J.y,NavigatorUserMediaError:J.y,OverconstrainedError:J.y,PositionError:J.y,SQLError:J.y,ArrayBuffer:H.ap,DataView:H.X,ArrayBufferView:H.X,Float32Array:H.aq,Float64Array:H.aq,Int16Array:H.bO,Int32Array:H.bP,Int8Array:H.bQ,Uint16Array:H.bR,Uint32Array:H.bS,Uint8ClampedArray:H.aT,CanvasPixelArray:H.aT,Uint8Array:H.bT,HTMLAudioElement:W.b,HTMLBRElement:W.b,HTMLBaseElement:W.b,HTMLBodyElement:W.b,HTMLButtonElement:W.b,HTMLCanvasElement:W.b,HTMLContentElement:W.b,HTMLDListElement:W.b,HTMLDataElement:W.b,HTMLDataListElement:W.b,HTMLDetailsElement:W.b,HTMLDialogElement:W.b,HTMLDivElement:W.b,HTMLEmbedElement:W.b,HTMLFieldSetElement:W.b,HTMLHRElement:W.b,HTMLHeadElement:W.b,HTMLHeadingElement:W.b,HTMLHtmlElement:W.b,HTMLImageElement:W.b,HTMLInputElement:W.b,HTMLLIElement:W.b,HTMLLabelElement:W.b,HTMLLegendElement:W.b,HTMLLinkElement:W.b,HTMLMapElement:W.b,HTMLMediaElement:W.b,HTMLMenuElement:W.b,HTMLMetaElement:W.b,HTMLMeterElement:W.b,HTMLModElement:W.b,HTMLOListElement:W.b,HTMLOptGroupElement:W.b,HTMLOptionElement:W.b,HTMLOutputElement:W.b,HTMLParagraphElement:W.b,HTMLParamElement:W.b,HTMLPictureElement:W.b,HTMLPreElement:W.b,HTMLProgressElement:W.b,HTMLQuoteElement:W.b,HTMLScriptElement:W.b,HTMLShadowElement:W.b,HTMLSlotElement:W.b,HTMLSourceElement:W.b,HTMLSpanElement:W.b,HTMLStyleElement:W.b,HTMLTableCaptionElement:W.b,HTMLTableCellElement:W.b,HTMLTableDataCellElement:W.b,HTMLTableHeaderCellElement:W.b,HTMLTableColElement:W.b,HTMLTableElement:W.b,HTMLTableRowElement:W.b,HTMLTableSectionElement:W.b,HTMLTemplateElement:W.b,HTMLTextAreaElement:W.b,HTMLTimeElement:W.b,HTMLTitleElement:W.b,HTMLTrackElement:W.b,HTMLUListElement:W.b,HTMLUnknownElement:W.b,HTMLVideoElement:W.b,HTMLDirectoryElement:W.b,HTMLFontElement:W.b,HTMLFrameElement:W.b,HTMLFrameSetElement:W.b,HTMLMarqueeElement:W.b,HTMLElement:W.b,HTMLAnchorElement:W.bc,HTMLAreaElement:W.bd,Blob:W.a_,BlobEvent:W.bf,CDATASection:W.T,CharacterData:W.T,Comment:W.T,ProcessingInstruction:W.T,Text:W.T,CompositionEvent:W.bi,CSSStyleDeclaration:W.ak,MSStyleCSSProperties:W.ak,CSS2Properties:W.ak,DOMException:W.bp,Element:W.q,AnimationEvent:W.c,AnimationPlaybackEvent:W.c,ApplicationCacheErrorEvent:W.c,BeforeInstallPromptEvent:W.c,BeforeUnloadEvent:W.c,ClipboardEvent:W.c,CloseEvent:W.c,CustomEvent:W.c,DeviceMotionEvent:W.c,DeviceOrientationEvent:W.c,ErrorEvent:W.c,FontFaceSetLoadEvent:W.c,GamepadEvent:W.c,HashChangeEvent:W.c,MediaEncryptedEvent:W.c,MediaKeyMessageEvent:W.c,MediaQueryListEvent:W.c,MediaStreamEvent:W.c,MediaStreamTrackEvent:W.c,MIDIConnectionEvent:W.c,MutationEvent:W.c,PageTransitionEvent:W.c,PaymentRequestUpdateEvent:W.c,PopStateEvent:W.c,PresentationConnectionAvailableEvent:W.c,PresentationConnectionCloseEvent:W.c,ProgressEvent:W.c,PromiseRejectionEvent:W.c,RTCDataChannelEvent:W.c,RTCDTMFToneChangeEvent:W.c,RTCPeerConnectionIceEvent:W.c,RTCTrackEvent:W.c,SecurityPolicyViolationEvent:W.c,SensorErrorEvent:W.c,SpeechRecognitionError:W.c,SpeechRecognitionEvent:W.c,SpeechSynthesisEvent:W.c,StorageEvent:W.c,TrackEvent:W.c,TransitionEvent:W.c,WebKitTransitionEvent:W.c,VRDeviceEvent:W.c,VRDisplayEvent:W.c,VRSessionEvent:W.c,MojoInterfaceRequestEvent:W.c,ResourceProgressEvent:W.c,USBConnectionEvent:W.c,IDBVersionChangeEvent:W.c,AudioProcessingEvent:W.c,OfflineAudioCompletionEvent:W.c,WebGLContextEvent:W.c,Event:W.c,InputEvent:W.c,EventTarget:W.a1,AbortPaymentEvent:W.v,BackgroundFetchClickEvent:W.v,BackgroundFetchEvent:W.v,BackgroundFetchFailEvent:W.v,BackgroundFetchedEvent:W.v,CanMakePaymentEvent:W.v,FetchEvent:W.v,ForeignFetchEvent:W.v,InstallEvent:W.v,NotificationEvent:W.v,PaymentRequestEvent:W.v,SyncEvent:W.v,ExtendableEvent:W.v,ExtendableMessageEvent:W.bq,File:W.am,HTMLFormElement:W.bu,HTMLCollection:W.a3,HTMLFormControlsCollection:W.a3,HTMLOptionsCollection:W.a3,HTMLIFrameElement:W.aN,MessageEvent:W.bM,MessagePort:W.ao,MIDIMessageEvent:W.bN,Document:W.h,DocumentFragment:W.h,HTMLDocument:W.h,ShadowRoot:W.h,XMLDocument:W.h,Attr:W.h,DocumentType:W.h,Node:W.h,NodeList:W.ar,RadioNodeList:W.ar,HTMLObjectElement:W.bV,PushEvent:W.bX,PushMessageData:W.aU,HTMLSelectElement:W.av,TextEvent:W.c6,FocusEvent:W.E,KeyboardEvent:W.E,MouseEvent:W.E,DragEvent:W.E,PointerEvent:W.E,TouchEvent:W.E,WheelEvent:W.E,UIEvent:W.E,Window:W.ay,DOMWindow:W.ay,SVGAElement:P.a,SVGAnimateElement:P.a,SVGAnimateMotionElement:P.a,SVGAnimateTransformElement:P.a,SVGAnimationElement:P.a,SVGCircleElement:P.a,SVGClipPathElement:P.a,SVGDefsElement:P.a,SVGDescElement:P.a,SVGDiscardElement:P.a,SVGEllipseElement:P.a,SVGFEBlendElement:P.a,SVGFEColorMatrixElement:P.a,SVGFEComponentTransferElement:P.a,SVGFECompositeElement:P.a,SVGFEConvolveMatrixElement:P.a,SVGFEDiffuseLightingElement:P.a,SVGFEDisplacementMapElement:P.a,SVGFEDistantLightElement:P.a,SVGFEFloodElement:P.a,SVGFEFuncAElement:P.a,SVGFEFuncBElement:P.a,SVGFEFuncGElement:P.a,SVGFEFuncRElement:P.a,SVGFEGaussianBlurElement:P.a,SVGFEImageElement:P.a,SVGFEMergeElement:P.a,SVGFEMergeNodeElement:P.a,SVGFEMorphologyElement:P.a,SVGFEOffsetElement:P.a,SVGFEPointLightElement:P.a,SVGFESpecularLightingElement:P.a,SVGFESpotLightElement:P.a,SVGFETileElement:P.a,SVGFETurbulenceElement:P.a,SVGFilterElement:P.a,SVGForeignObjectElement:P.a,SVGGElement:P.a,SVGGeometryElement:P.a,SVGGraphicsElement:P.a,SVGImageElement:P.a,SVGLineElement:P.a,SVGLinearGradientElement:P.a,SVGMarkerElement:P.a,SVGMaskElement:P.a,SVGMetadataElement:P.a,SVGPathElement:P.a,SVGPatternElement:P.a,SVGPolygonElement:P.a,SVGPolylineElement:P.a,SVGRadialGradientElement:P.a,SVGRectElement:P.a,SVGScriptElement:P.a,SVGSetElement:P.a,SVGStopElement:P.a,SVGStyleElement:P.a,SVGElement:P.a,SVGSVGElement:P.a,SVGSwitchElement:P.a,SVGSymbolElement:P.a,SVGTSpanElement:P.a,SVGTextContentElement:P.a,SVGTextElement:P.a,SVGTextPathElement:P.a,SVGTextPositioningElement:P.a,SVGTitleElement:P.a,SVGUseElement:P.a,SVGViewElement:P.a,SVGGradientElement:P.a,SVGComponentTransferFunctionElement:P.a,SVGFEDropShadowElement:P.a,SVGMPathElement:P.a}) hunkHelpers.setOrUpdateLeafTags({DOMError:true,MediaError:true,Navigator:true,NavigatorConcurrentHardware:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SQLError:true,ArrayBuffer:true,DataView:true,ArrayBufferView:false,Float32Array:true,Float64Array:true,Int16Array:true,Int32Array:true,Int8Array:true,Uint16Array:true,Uint32Array:true,Uint8ClampedArray:true,CanvasPixelArray:true,Uint8Array:false,HTMLAudioElement:true,HTMLBRElement:true,HTMLBaseElement:true,HTMLBodyElement:true,HTMLButtonElement:true,HTMLCanvasElement:true,HTMLContentElement:true,HTMLDListElement:true,HTMLDataElement:true,HTMLDataListElement:true,HTMLDetailsElement:true,HTMLDialogElement:true,HTMLDivElement:true,HTMLEmbedElement:true,HTMLFieldSetElement:true,HTMLHRElement:true,HTMLHeadElement:true,HTMLHeadingElement:true,HTMLHtmlElement:true,HTMLImageElement:true,HTMLInputElement:true,HTMLLIElement:true,HTMLLabelElement:true,HTMLLegendElement:true,HTMLLinkElement:true,HTMLMapElement:true,HTMLMediaElement:true,HTMLMenuElement:true,HTMLMetaElement:true,HTMLMeterElement:true,HTMLModElement:true,HTMLOListElement:true,HTMLOptGroupElement:true,HTMLOptionElement:true,HTMLOutputElement:true,HTMLParagraphElement:true,HTMLParamElement:true,HTMLPictureElement:true,HTMLPreElement:true,HTMLProgressElement:true,HTMLQuoteElement:true,HTMLScriptElement:true,HTMLShadowElement:true,HTMLSlotElement:true,HTMLSourceElement:true,HTMLSpanElement:true,HTMLStyleElement:true,HTMLTableCaptionElement:true,HTMLTableCellElement:true,HTMLTableDataCellElement:true,HTMLTableHeaderCellElement:true,HTMLTableColElement:true,HTMLTableElement:true,HTMLTableRowElement:true,HTMLTableSectionElement:true,HTMLTemplateElement:true,HTMLTextAreaElement:true,HTMLTimeElement:true,HTMLTitleElement:true,HTMLTrackElement:true,HTMLUListElement:true,HTMLUnknownElement:true,HTMLVideoElement:true,HTMLDirectoryElement:true,HTMLFontElement:true,HTMLFrameElement:true,HTMLFrameSetElement:true,HTMLMarqueeElement:true,HTMLElement:false,HTMLAnchorElement:true,HTMLAreaElement:true,Blob:false,BlobEvent:true,CDATASection:true,CharacterData:true,Comment:true,ProcessingInstruction:true,Text:true,CompositionEvent:true,CSSStyleDeclaration:true,MSStyleCSSProperties:true,CSS2Properties:true,DOMException:true,Element:false,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,ClipboardEvent:true,CloseEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,FontFaceSetLoadEvent:true,GamepadEvent:true,HashChangeEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MIDIConnectionEvent:true,MutationEvent:true,PageTransitionEvent:true,PaymentRequestUpdateEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,ProgressEvent:true,PromiseRejectionEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,MojoInterfaceRequestEvent:true,ResourceProgressEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,EventTarget:false,AbortPaymentEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,CanMakePaymentEvent:true,FetchEvent:true,ForeignFetchEvent:true,InstallEvent:true,NotificationEvent:true,PaymentRequestEvent:true,SyncEvent:true,ExtendableEvent:false,ExtendableMessageEvent:true,File:true,HTMLFormElement:true,HTMLCollection:true,HTMLFormControlsCollection:true,HTMLOptionsCollection:true,HTMLIFrameElement:true,MessageEvent:true,MessagePort:true,MIDIMessageEvent:true,Document:true,DocumentFragment:true,HTMLDocument:true,ShadowRoot:true,XMLDocument:true,Attr:true,DocumentType:true,Node:false,NodeList:true,RadioNodeList:true,HTMLObjectElement:true,PushEvent:true,PushMessageData:true,HTMLSelectElement:true,TextEvent:true,FocusEvent:true,KeyboardEvent:true,MouseEvent:true,DragEvent:true,PointerEvent:true,TouchEvent:true,WheelEvent:true,UIEvent:false,Window:true,DOMWindow:true,SVGAElement:true,SVGAnimateElement:true,SVGAnimateMotionElement:true,SVGAnimateTransformElement:true,SVGAnimationElement:true,SVGCircleElement:true,SVGClipPathElement:true,SVGDefsElement:true,SVGDescElement:true,SVGDiscardElement:true,SVGEllipseElement:true,SVGFEBlendElement:true,SVGFEColorMatrixElement:true,SVGFEComponentTransferElement:true,SVGFECompositeElement:true,SVGFEConvolveMatrixElement:true,SVGFEDiffuseLightingElement:true,SVGFEDisplacementMapElement:true,SVGFEDistantLightElement:true,SVGFEFloodElement:true,SVGFEFuncAElement:true,SVGFEFuncBElement:true,SVGFEFuncGElement:true,SVGFEFuncRElement:true,SVGFEGaussianBlurElement:true,SVGFEImageElement:true,SVGFEMergeElement:true,SVGFEMergeNodeElement:true,SVGFEMorphologyElement:true,SVGFEOffsetElement:true,SVGFEPointLightElement:true,SVGFESpecularLightingElement:true,SVGFESpotLightElement:true,SVGFETileElement:true,SVGFETurbulenceElement:true,SVGFilterElement:true,SVGForeignObjectElement:true,SVGGElement:true,SVGGeometryElement:true,SVGGraphicsElement:true,SVGImageElement:true,SVGLineElement:true,SVGLinearGradientElement:true,SVGMarkerElement:true,SVGMaskElement:true,SVGMetadataElement:true,SVGPathElement:true,SVGPatternElement:true,SVGPolygonElement:true,SVGPolylineElement:true,SVGRadialGradientElement:true,SVGRectElement:true,SVGScriptElement:true,SVGSetElement:true,SVGStopElement:true,SVGStyleElement:true,SVGElement:true,SVGSVGElement:true,SVGSwitchElement:true,SVGSymbolElement:true,SVGTSpanElement:true,SVGTextContentElement:true,SVGTextElement:true,SVGTextPathElement:true,SVGTextPositioningElement:true,SVGTitleElement:true,SVGUseElement:true,SVGViewElement:true,SVGGradientElement:true,SVGComponentTransferFunctionElement:true,SVGFEDropShadowElement:true,SVGMPathElement:true}) -H.aP.$nativeSuperclassTag="ArrayBufferView" -H.ay.$nativeSuperclassTag="ArrayBufferView" +H.aR.$nativeSuperclassTag="ArrayBufferView" H.az.$nativeSuperclassTag="ArrayBufferView" -H.aq.$nativeSuperclassTag="ArrayBufferView" H.aA.$nativeSuperclassTag="ArrayBufferView" +H.aq.$nativeSuperclassTag="ArrayBufferView" H.aB.$nativeSuperclassTag="ArrayBufferView" -H.aQ.$nativeSuperclassTag="ArrayBufferView"})() +H.aC.$nativeSuperclassTag="ArrayBufferView" +H.aS.$nativeSuperclassTag="ArrayBufferView"})() convertAllToFastObject(w) convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) return}if(typeof document.currentScript!='undefined'){a(document.currentScript) return}var u=document.scripts function onLoad(b){for(var s=0;s @@ -190,7 +190,7 @@ example and click the **Show details** button to trigger the animation. @@ -232,7 +232,7 @@ Click the **Run** button to run the example: @@ -355,7 +355,7 @@ for `margin`, `borderRadius`, and `color`. diff --git a/src/docs/codelabs/layout-basics.md b/src/docs/codelabs/layout-basics.md index ee0212041d..f9061a8d6f 100644 --- a/src/docs/codelabs/layout-basics.md +++ b/src/docs/codelabs/layout-basics.md @@ -51,7 +51,7 @@ and `Column` lays out its widgets vertically. {% comment %} Gist: https://gist.github.com/009a77697460e7ec6a3c142f0dfb1b5e {% endcomment %} - + ## Axis size and alignment @@ -103,7 +103,7 @@ The `mainAxisSize` property has two possible values: {% comment %} Gist: https://gist.github.com/928d699ea0869e75d072e6e9c4e63397 {% endcomment %} - + ### mainAxisAlignment property @@ -152,7 +152,7 @@ can position their children in that extra space. {% comment %} Gist: https://gist.github.com/6b00f558718e9f23de5c61503aa1bfe4 {% endcomment %} - + {{site.alert.tip}} Before moving to the next section, change `MainAxisAlignment.end` to another value. @@ -207,7 +207,7 @@ The `crossAxisAlignment` property has five possible values: {% comment %} Gist: https://gist.github.com/d160e264a865479586ec7940f45cf8b2 {% endcomment %} - + {{site.alert.tip}} Before moving to the next section, change `CrossAxisAlignment.start` to another value. @@ -263,7 +263,7 @@ the widgets are resized according to their {% comment %} Gist: https://gist.github.com/817baa1ba2123f15abda92598c4343cc {% endcomment %} - + #### Example: Testing flex values {:.no_toc} @@ -293,7 +293,7 @@ the widgets are resized according to their {% comment %} Gist: https://gist.github.com/ae6a86bbb9a34c9ff76c88f64df23987 {% endcomment %} - + {{site.alert.tip}} Before moving to the next example, try changing the `flex` properties to other values, @@ -336,7 +336,7 @@ wrap a widget and force the widget to fill extra space. {% comment %} Gist: https://gist.github.com/c4dfa9058f803dea1cff4fca2532977a {% endcomment %} - + ## SizedBox widget @@ -362,7 +362,7 @@ create empty space. {% comment %} Gist: https://gist.github.com/716612f4ae2d979cc5a2868e06c14e58 {% endcomment %} - + #### Example: Creating space {:.no_toc} @@ -382,7 +382,7 @@ create empty space. {% comment %} Gist: https://gist.github.com/1c690c529316fbe7af0b4c9edb8da512 {% endcomment %} - + ## Spacer widget @@ -411,7 +411,7 @@ can create space between widgets. {% comment %} Gist: https://gist.github.com/5a2f539d258eaab33f6f0b19a0ab21c8 {% endcomment %} - + ## Text widget @@ -434,7 +434,7 @@ for different fonts, sizes, and colors. {% comment %} Gist: https://gist.github.com/05d920fd86eb3c253c2a6a8be0fabb01 {% endcomment %} - + ## Icon widget @@ -461,7 +461,7 @@ Flutter is preloaded with icon packages for {% comment %} Gist: https://gist.github.com/54fa77a90f160c74382f1517d6167fda {% endcomment %} - + ## Image widget @@ -493,7 +493,7 @@ the following example uses an image from the network. {% comment %} Gist: https://gist.github.com/b42464ac4e9bff23ab567721581183aa {% endcomment %} - + ## Putting it all together @@ -561,7 +561,7 @@ which are positioned below the contact information. {% comment %} Gist: https://gist.github.com/c46f9a9f6c99c2c00497df5dbc0b4593 {% endcomment %} - + #### Exercise: Wrap the Column in a Row {:.no_toc} @@ -602,7 +602,7 @@ which are positioned below the contact information. {% comment %} Gist: https://gist.github.com/ecf35ee39daf06266363be8fe5aa1d6f {% endcomment %} - + ### Part 2 {:.no_toc} @@ -647,7 +647,7 @@ which are positioned below the contact information. {% comment %} Gist: https://gist.github.com/9863fbf7fe192e95b93cfdfb517ac6f5 {% endcomment %} - + #### Exercise: Enter contact information {:.no_toc} @@ -670,7 +670,7 @@ which are positioned below the contact information. {% comment %} Gist: https://gist.github.com/73baebd1bc2e5414921b63d9b0823db0 {% endcomment %} - + ### Part 3 {:.no_toc} @@ -691,7 +691,7 @@ which are positioned below the contact information. {% comment %} Gist: https://gist.github.com/a24370419412b11e261fea95e8a18774 {% endcomment %} - + ## What's next?