Summer 2012 (#231) | Creative Bloq Skip to main content Creative Bloq Creative Bloq ART AND DESIGN INSPIRATION Search Sign in View Profile Sign out Subscribe (opens in new tab) (opens in new tab) (opens in new tab) (opens in new tab) (opens in new tab) Design Magazine Subscriptions (opens in new tab) (opens in new tab) Why subscribe? Exclusive insight from the world's leading creatives Save up to 55% Issues delivered straight to your door or device From£5.08 (opens in new tab) View (opens in new tab) 3 mags for $3 News How to Features Buying guides Reviews Magazines ImagineFX 3D World Events Vertex Brand Impact Awards About Us Trending Money Saving Hacks Graphic Design Back to School Adobe deals UX course Creative Bloq is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Here’s why you can trust us. Home News Web Design Summer 2012 (#231) By Creative Bloq Staff ( netmag ) published 16 July 2012 Creating flexible layouts that will work on any device and any screen size is the next big challenge for CSS. In this month's issue Peter Gasston takes us on a tour of some well-implemented properties you can use now as well as the exciting proposed properties we could be using in the future (opens in new tab) (opens in new tab) (opens in new tab) (opens in new tab) There's also a guide to creating or updating your online portfolio from Gary Marshall, an interview with Elliot Jay Stocks and tutorials on HTML5's Drag and Drop API and building a basic responsive site with CSS. Here are some more highlights: Build smoother JavaScript apps Make your website printable Make your sites load faster The pro's guide to Adobe Edge Build an ecommerce store Using PHP Data Objects Thank you for reading 5 articles this month* Join now for unlimited access Enjoy your first month for just £1 / $1 / €1 Join now Already have an account ? Sign in here *Read 5 free articles per month without a subscription Join now for unlimited access Try first month for just £1 / $1 / €1 Join now Already have an account ? Sign in here ",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ge={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ge.hasOwnProperty(e)&&ge[e]?(""+t).trim():t+"px"}function ke(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=we(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(ge).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ge[t]=ge[e]}))}));var xe=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Se(e,t){if(t){if(xe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Ee(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Oe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Ce=null,Pe=null;function Re(e){if(e=Jr(e)){if("function"!=typeof _e)throw Error(a(280));var t=e.stateNode;t&&(t=ei(t),_e(e.stateNode,e.type,t))}}function je(e){Ce?Pe?Pe.push(e):Pe=[e]:Ce=e}function Te(){if(Ce){var e=Ce,t=Pe;if(Pe=Ce=null,Re(e),t)for(e=0;e(r=31-$t(r))?0:1<<<1)-1,0!==t&&t!==r&&0==(t&a)){if(At(t),i<=zt)return t;zt=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function qt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-$t(t)]=n}var $t=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Vt(e)/Wt|0)|0},Vt=Math.log,Wt=Math.LN2;var Ht=o.unstable_UserBlockingPriority,Qt=o.unstable_runWithPriority,Gt=!0;function Kt(e,t,n,r){Ae||Me();var i=Xt,o=Ae;Ae=!0;try{Le(i,e,t,n,r)}finally{(Ae=o)||Fe()}}function Yt(e,t,n,r){Qt(Ht,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var i;if(Gt)if((i=0==(4&t))&&0=Mn),In=String.fromCharCode(32),Fn=!1;function Dn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Vn(e,t,n,r){je(r),0<(t=Nr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Hn=null;function Qn(e){Er(e,0)}function Gn(e){if(X(Zr(e)))return e}function Kn(e,t){if("change"===e)return t}var Yn=!1;if(f){var Xn;if(f){var Jn="oninput"in document;if(!Jn){var Zn=document.createElement("div");Zn.setAttribute("oninput","return;"),Jn="function"==typeof Zn.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var pr=f&&"documentMode"in document&&11>=document.documentMode,hr=null,mr=null,yr=null,vr=!1;function gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==hr||hr!==J(r)||("selectionStart"in(r=hr)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Nr(mr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}Mt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mt(Lt,2);for(var br="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),wr=0;wr<(r=Nr(r,"onBeforeInput")).length&&(i=new kn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=g))}Er(a,t)}))}function Tr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Nr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=De(e,n))&&r.unshift(Tr(e,o,i)),null!=(o=De(e,t))&&r.push(Tr(e,o,i))),e=e.return}return r}function Lr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Mr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,i?null!=(u=De(n,o))&&a.unshift(Tr(n,u,l)):i||null!=(u=De(n,o))&&a.push(Tr(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function zr(){}var Ar=null,Ir=null;function Fr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Dr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Ur="function"==typeof setTimeout?setTimeout:void 0,Br="function"==typeof clearTimeout?clearTimeout:void 0;function qr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function $r(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Wr=0;var Hr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Hr,Gr="__reactProps$"+Hr,Kr="__reactContainer$"+Hr,Yr="__reactEvents$"+Hr;function Xr(e){var t=e[Qr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kr]||n[Qr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vr(e);null!==e;){if(n=e[Qr])return n;e=Vr(e)}return t}n=(e=n).parentNode}return null}function Jr(e){return!(e=e[Qr]||e[Kr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Zr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ei(e){return e[Gr]||null}function ti(e){var t=e[Yr];return void 0===t&&(t=e[Yr]=new Set),t}var ni=[],ri=-1;function ii(e){return{current:e}}function oi(e){0>ri||(e.current=ni[ri],ni[ri]=null,ri--)}function ai(e,t){ri++,ni[ri]=e.current,e.current=t}var li={},ui=ii(li),si=ii(!1),ci=li;function fi(e,t){var n=e.type.contextTypes;if(!n)return li;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function di(e){return null!=(e=e.childContextTypes)}function pi(){oi(si),oi(ui)}function hi(e,t,n){if(ui.current!==li)throw Error(a(168));ai(ui,t),ai(si,n)}function mi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,Q(t)||"Unknown",o));return i({},n,r)}function yi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||li,ci=ui.current,ai(ui,e),ai(si,si.current),!0}function vi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=mi(e,t,ci),r.__reactInternalMemoizedMergedChildContext=e,oi(si),oi(ui),ai(ui,e)):oi(si),ai(si,n)}var gi=null,bi=null,wi=o.unstable_runWithPriority,ki=o.unstable_scheduleCallback,xi=o.unstable_cancelCallback,Si=o.unstable_shouldYield,Ei=o.unstable_requestPaint,Oi=o.unstable_now,_i=o.unstable_getCurrentPriorityLevel,Ci=o.unstable_ImmediatePriority,Pi=o.unstable_UserBlockingPriority,Ri=o.unstable_NormalPriority,ji=o.unstable_LowPriority,Ti=o.unstable_IdlePriority,Ni={},Li=void 0!==Ei?Ei:function(){},Mi=null,zi=null,Ai=!1,Ii=Oi(),Fi=1e4>Ii?Oi:function(){return Oi()-Ii};function Di(){switch(_i()){case Ci:return 99;case Pi:return 98;case Ri:return 97;case ji:return 96;case Ti:return 95;default:throw Error(a(332))}}function Ui(e){switch(e){case 99:return Ci;case 98:return Pi;case 97:return Ri;case 96:return ji;case 95:return Ti;default:throw Error(a(332))}}function Bi(e,t){return e=Ui(e),wi(e,t)}function qi(e,t,n){return e=Ui(e),ki(e,t,n)}function $i(){if(null!==zi){var e=zi;zi=null,xi(e)}Vi()}function Vi(){if(!Ai&&null!==Mi){Ai=!0;var e=0;try{var t=Mi;Bi(99,(function(){for(;em?(y=f,f=null):y=f.sibling;var v=p(i,f,l[m],u);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,m),null===c?s=v:c.sibling=v,c=v,f=y}if(m===l.length)return n(i,f),s;if(null===f){for(;my?(v=m,m=null):v=m.sibling;var b=p(i,m,g.value,s);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),l=o(b,l,y),null===f?c=b:f.sibling=b,f=b,m=v}if(g.done)return n(i,m),c;if(null===m){for(;!g.done;y++,g=u.next())null!==(g=d(i,g.value,s))&&(l=o(g,l,y),null===f?c=g:f.sibling=g,f=g);return c}for(m=r(i,m);!g.done;y++,g=u.next())null!==(g=h(m,i,y,g.value,s))&&(e&&null!==g.alternate&&m.delete(null===g.key?y:g.key),l=o(g,l,y),null===f?c=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,u){var s="object"==typeof o&&null!==o&&o.type===E&&null===o.key;s&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case x:e:{for(c=o.key,s=r;null!==s;){if(s.key===c){switch(s.tag){case 7:if(o.type===E){n(e,s.sibling),(r=i(s,o.props.children)).return=e,e=r;break e}break;default:if(s.elementType===o.type){n(e,s.sibling),(r=i(s,o.props)).ref=bo(e,s,o),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}o.type===E?((r=Bu(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Uu(o.type,o.key,o.props,null,e.mode,u)).ref=bo(e,r,o),u.return=e,e=u)}return l(e);case S:e:{for(s=o.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Vu(o,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=$u(o,e.mode,u)).return=e,e=r),l(e);if(go(o))return m(e,r,o,u);if(q(o))return y(e,r,o,u);if(c&&wo(e,o),void 0===o&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Q(e.type)||"Component"))}return n(e,r)}}var xo=ko(!0),So=ko(!1),Eo={},Oo=ii(Eo),_o=ii(Eo),Co=ii(Eo);function Po(e){if(e===Eo)throw Error(a(174));return e}function Ro(e,t){switch(ai(Co,t),ai(_o,e),ai(Oo,Eo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}oi(Oo),ai(Oo,t)}function jo(){oi(Oo),oi(_o),oi(Co)}function To(e){Po(Co.current);var t=Po(Oo.current),n=he(t,e.type);t!==n&&(ai(_o,e),ai(Oo,n))}function No(e){_o.current===e&&(oi(Oo),oi(_o))}var Lo=ii(0);function Mo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zo=null,Ao=null,Io=!1;function Fo(e,t){var n=Iu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Do(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Uo(e){if(Io){var t=Ao;if(t){var n=t;if(!Do(e,t)){if(!(t=$r(n.nextSibling))||!Do(e,t))return e.flags=-1025&e.flags|2,Io=!1,void(zo=e);Fo(zo,n)}zo=e,Ao=$r(t.firstChild)}else e.flags=-1025&e.flags|2,Io=!1,zo=e}}function Bo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zo=e}function qo(e){if(e!==zo)return!1;if(!Io)return Bo(e),Io=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Dr(t,e.memoizedProps))for(t=Ao;t;)Fo(e,t),t=$r(t.nextSibling);if(Bo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ao=$r(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ao=null}}else Ao=zo?$r(e.stateNode.nextSibling):null;return!0}function $o(){Ao=zo=null,Io=!1}var Vo=[];function Wo(){for(var e=0;eo))throw Error(a(301));o+=1,Xo=Yo=null,t.updateQueue=null,Ho.current=ja,e=n(r,i)}while(Zo)}if(Ho.current=Ca,t=null!==Yo&&null!==Yo.next,Go=0,Xo=Yo=Ko=null,Jo=!1,t)throw Error(a(300));return e}function ra(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Xo?Ko.memoizedState=Xo=e:Xo=Xo.next=e,Xo}function ia(){if(null===Yo){var e=Ko.alternate;e=null!==e?e.memoizedState:null}else e=Yo.next;var t=null===Xo?Ko.memoizedState:Xo.next;if(null!==t)Xo=t,Yo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Yo=e).memoizedState,baseState:Yo.baseState,baseQueue:Yo.baseQueue,queue:Yo.queue,next:null},null===Xo?Ko.memoizedState=Xo=e:Xo=Xo.next=e}return Xo}function oa(e,t){return"function"==typeof t?t(e):t}function aa(e){var t=ia(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Yo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var u=l=o=null,s=i;do{var c=s.lane;if((Go&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,o=r):u=u.next=f,Ko.lanes|=c,Ml|=c}s=s.next}while(null!==s&&s!==i);null===u?o=r:u.next=l,ar(r,t.memoizedState)||(Na=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function la(e){var t=ia(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var l=i=i.next;do{o=e(o,l.action),l=l.next}while(l!==i);ar(o,t.memoizedState)||(Na=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ua(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(Go&e)===e)&&(t._workInProgressVersionPrimary=r,Vo.push(t))),e)return n(t._source);throw Vo.push(t),Error(a(350))}function sa(e,t,n,r){var i=_l;if(null===i)throw Error(a(349));var o=t._getVersion,l=o(t._source),u=Ho.current,s=u.useState((function(){return ua(i,t,n)})),c=s[1],f=s[0];s=Xo;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var y=Ko;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=o(t._source);if(!ar(l,e)){e=n(t._source),ar(f,e)||(c(e),e=au(y),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,a=e;0n?98:n,(function(){e(!0)})),Bi(97<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qr]=t,e[Gr]=r,$a(e,t),t.stateNode=e,s=Ee(n,r),n){case"dialog":Or("cancel",e),Or("close",e),o=r;break;case"iframe":case"object":case"embed":Or("load",e),o=r;break;case"video":case"audio":for(o=0;oDl&&(t.flags|=64,l=!0,tl(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Mo(s))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),tl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Io)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Fi()-r.renderingStartTime>Dl&&1073741824!==n&&(t.flags|=64,l=!0,tl(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Fi(),n.sibling=null,t=Lo.current,ai(Lo,l?1&t|2:1&t),n):null;case 23:case 24:return yu(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function rl(e){switch(e.tag){case 1:di(e.type)&&pi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(jo(),oi(si),oi(ui),Wo(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return No(e),null;case 13:return oi(Lo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return oi(Lo),null;case 4:return jo(),null;case 10:return Ji(e),null;case 23:case 24:return yu(),null;default:return null}}function il(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function ol(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}$a=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Va=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Po(Oo.current);var a,l=null;switch(n){case"input":o=Z(e,o),r=Z(e,r),l=[];break;case"option":o=oe(e,o),r=oe(e,r),l=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),l=[];break;case"textarea":o=le(e,o),r=le(e,r),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=zr)}for(f in Se(n,r),n=null,o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var s=o[f];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?l||(l=[]):(l=l||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=o?o[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(l||(l=[]),l.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(l=l||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Or("scroll",e),l||s===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===z?c.toString():(l=l||[]).push(f,c))}n&&(l=l||[]).push("style",n);var f=l;(t.updateQueue=f)&&(t.flags|=4)}},Wa=function(e,t,n,r){n!==r&&(t.flags|=4)};var al="function"==typeof WeakMap?WeakMap:Map;function ll(e,t,n){(n=oo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$l||($l=!0,Vl=r),ol(0,t)},n}function ul(e,t,n){(n=oo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return ol(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Wl?Wl=new Set([this]):Wl.add(this),ol(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var sl="function"==typeof WeakSet?WeakSet:Set;function cl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Lu(e,t)}else t.current=null}function fl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Hi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&qr(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(a(163))}function dl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(ju(n,e),Ru(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Hi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&so(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}so(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Fr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&kt(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(a(163))}function pl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=we("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function hl(e,t){if(bi&&"function"==typeof bi.onCommitFiberUnmount)try{bi.onCommitFiberUnmount(gi,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))ju(t,n);else{r=t;try{i()}catch(e){Lu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(cl(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Lu(t,e)}break;case 5:cl(t);break;case 4:gl(e,t)}}function ml(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function yl(e){return 5===e.tag||3===e.tag||4===e.tag}function vl(e){e:{for(var t=e.return;null!==t;){if(yl(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||yl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=zr));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function gl(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var l=e,u=i,s=u;;)if(hl(l,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===u)break e;for(;null===s.sibling;){if(null===s.return||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(l=n,u=i.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(hl(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function bl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Gr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ee(e,i),t=Ee(e,r),i=0;i<=t&&(e.expiredLanes|=s);l&=~s}if(r=It(e,e===_l?Pl:0),t=zt,0===r)null!==n&&(n!==Ni&&xi(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ni&&xi(n)}15===t?(n=du.bind(null,e),null===Mi?(Mi=[n],zi=ki(Ci,Vi)):Mi.push(n),n=Ni):14===t?n=qi(99,du.bind(null,e)):n=qi(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),cu.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function cu(e){if(eu=-1,nu=tu=0,0!=(48&Ol))throw Error(a(327));var t=e.callbackNode;if(Pu()&&e.callbackNode!==t)return null;var n=It(e,e===_l?Pl:0);if(0===n)return null;var r=n,i=Ol;Ol|=16;var o=bu();for(_l===e&&Pl===r||(Ul(),vu(e,r));;)try{xu();break}catch(t){gu(e,t)}if(Xi(),Sl.current=o,Ol=i,null!==Cl?r=0:(_l=null,Pl=0,r=Tl),0!=(Ll&zl))vu(e,0);else if(0!==r){if(2===r&&(Ol|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(n=Ft(e))&&(r=wu(e,n))),1===r)throw t=Nl,vu(e,0),fu(e,n),su(e,Fi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:Ou(e);break;case 3:if(fu(e,n),(62914560&n)===n&&10<(r=Fl+500-Fi())){if(0!==It(e,0))break;if(((i=e.suspendedLanes)&n)!==n){ou(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ur(Ou.bind(null,e),r);break}Ou(e);break;case 4:if(fu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0i&&(i=l),n&=~o}if(n=i,10<(n=(120>(n=Fi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*xl(n/1960))-n)){e.timeoutHandle=Ur(Ou.bind(null,e),n);break}Ou(e);break;case 5:Ou(e);break;default:throw Error(a(329))}}return su(e,Fi()),e.callbackNode===t?cu.bind(null,e):null}function fu(e,t){for(t&=~Al,t&=~zl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Tl&&(Tl=2),u=il(u,l),d=a;do{switch(d.tag){case 3:o=u,d.flags|=4096,t&=-t,d.lanes|=t,lo(d,ll(0,o,t));break e;case 1:o=u;var k=d.type,x=d.stateNode;if(0==(64&d.flags)&&("function"==typeof k.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===Wl||!Wl.has(x)))){d.flags|=4096,t&=-t,d.lanes|=t,lo(d,ul(d,o,t));break e}}d=d.return}while(null!==d)}Eu(n)}catch(e){t=e,Cl===n&&null!==n&&(Cl=n=n.return);continue}break}}function bu(){var e=Sl.current;return Sl.current=Ca,null===e?Ca:e}function wu(e,t){var n=Ol;Ol|=16;var r=bu();for(_l===e&&Pl===t||vu(e,t);;)try{ku();break}catch(t){gu(e,t)}if(Xi(),Ol=n,Sl.current=r,null!==Cl)throw Error(a(261));return _l=null,Pl=0,Tl}function ku(){for(;null!==Cl;)Su(Cl)}function xu(){for(;null!==Cl&&!Si();)Su(Cl)}function Su(e){var t=Bl(e.alternate,e,Rl);e.memoizedProps=e.pendingProps,null===t?Eu(e):Cl=t,El.current=null}function Eu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=nl(n,t,Rl)))return void(Cl=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Rl)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1l&&(u=l,l=x,x=u),u=cr(b,x),o=cr(b,l),u&&o&&(1!==k.rangeCount||k.anchorNode!==u.node||k.anchorOffset!==u.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((w=w.createRange()).setStart(u.node,u.offset),k.removeAllRanges(),x>l?(k.addRange(w),k.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;bFi()-Fl?vu(e,0):Al|=n),su(e,t)}function zu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Di()?1:2:(0===tu&&(tu=Ll),0===(t=Ut(62914560&~tu))&&(t=4194304))),n=ou(),null!==(e=uu(e,t))&&(qt(e,t,n),su(e,n))}function Au(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Iu(e,t,n,r){return new Au(e,t,n,r)}function Fu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Du(e,t){var n=e.alternate;return null===n?((n=Iu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Uu(e,t,n,r,i,o){var l=2;if(r=e,"function"==typeof e)Fu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case E:return Bu(n.children,i,o,t);case A:l=8,i|=16;break;case O:l=8,i|=1;break;case _:return(e=Iu(12,n,t,8|i)).elementType=_,e.type=_,e.lanes=o,e;case j:return(e=Iu(13,n,t,i)).type=j,e.elementType=j,e.lanes=o,e;case T:return(e=Iu(19,n,t,i)).elementType=T,e.lanes=o,e;case I:return qu(n,i,o,t);case F:return(e=Iu(24,n,t,i)).elementType=F,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case P:l=9;break e;case R:l=11;break e;case N:l=14;break e;case L:l=16,r=null;break e;case M:l=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Iu(l,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Bu(e,t,n,r){return(e=Iu(7,e,r,t)).lanes=n,e}function qu(e,t,n,r){return(e=Iu(23,e,r,t)).elementType=I,e.lanes=n,e}function $u(e,t,n){return(e=Iu(6,e,null,t)).lanes=n,e}function Vu(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wu(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.mutableSourceEagerHydrationData=null}function Hu(e,t,n){var r=3=w},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,i=e[r];if(!(void 0!==i&&0<_(i,t)))break e;e[r]=t,e[n]=i,n=r}}function E(e){return void 0===(e=e[0])?null:e}function O(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r_(a,n))void 0!==u&&0>_(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>_(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],P=[],R=1,j=null,T=3,N=!1,L=!1,M=!1;function z(e){for(var t=E(P);null!==t;){if(null===t.callback)O(P);else{if(!(t.startTime<=e))break;O(P),t.sortIndex=t.expirationTime,S(C,t)}t=E(P)}}function A(e){if(M=!1,z(e),!L)if(null!==E(C))L=!0,r(I);else{var t=E(P);null!==t&&i(A,t.startTime-e)}}function I(e,n){L=!1,M&&(M=!1,o()),N=!0;var r=T;try{for(z(n),j=E(C);null!==j&&(!(j.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=j.callback;if("function"==typeof a){j.callback=null,T=j.priorityLevel;var l=a(j.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?j.callback=l:j===E(C)&&O(C),z(n)}else O(C);j=E(C)}if(null!==j)var u=!0;else{var s=E(P);null!==s&&i(A,s.startTime-n),u=!1}return u}finally{j=null,T=r,N=!1}}var F=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||N||(L=!0,r(I))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return E(C)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,n,a){var l=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0l?(e.sortIndex=a,S(P,e),null===E(C)&&e===E(P)&&(M?o():M=!0,i(A,a-l))):(e.sortIndex=u,S(C,e),L||N||(L=!0,r(I))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},268:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},269:function(e,t,n){"use strict";var r=n(2),i=n(326),o=n(55);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(e,Object(r.a)({defaultTheme:o.a},t))}},27:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(3),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}t.a={easing:i,duration:o,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,l=void 0===n?o.standard:n,u=t.easing,s=void 0===u?i.easeInOut:u,c=t.delay,f=void 0===c?0:c;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof l?l:a(l)," ").concat(s," ").concat("string"==typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},270:function(e,t,n){"use strict";var r=n(271);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},271:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},272:function(e,t,n){"use strict";e.exports=n(273)},273:function(e,t,n){"use strict"; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case d:case a:case u:case l:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case v:case y:case s:return e;default:return t}}case o:return t}}}function S(e){return x(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=i,t.ForwardRef=p,t.Fragment=a,t.Lazy=v,t.Memo=y,t.Portal=o,t.Profiler=u,t.StrictMode=l,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===y},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===l},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===u||e===l||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===w||e.$$typeof===k||e.$$typeof===g)},t.typeOf=x},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(20);function i(e,t){if(null==e)return{};var n,i,o=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},31:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(118);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r.a)(e,t)}},314:function(e,t,n){e.exports=n(524)},315:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(121),i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,o=e.productionPrefix,a=void 0===o?"jss":o,l=e.seed,u=void 0===l?"":l,s=""===u?"":"".concat(u,"-"),c=0,f=function(){return c+=1};return function(e,t){var o=t.options.name;if(o&&0===o.indexOf("Mui")&&!t.options.link&&!n){if(-1!==i.indexOf(e.key))return"Mui-".concat(e.key);var l="".concat(s).concat(o,"-").concat(e.key);return t.options.theme[r.a]&&""===u?"".concat(l,"-").concat(f()):l}return"".concat(s).concat(a).concat(f())}}},316:function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(t,"a",(function(){return r}))},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(122);var i=n(85),o=n(123);function a(e,t){return Object(r.a)(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(e,t)||Object(i.a)(e,t)||Object(o.a)()}},326:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(3),i=n(2),o=n(0),a=n.n(o),l=n(22),u=n(525),s={set:function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},c=n(175),f=n(526),d=-1e9;function p(){return d+=1}n(54);var h=n(145);function m(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var a=n.overrides[r],l=Object(i.a)({},o);return Object.keys(a).forEach((function(e){l[e]=Object(h.a)(l[e],a[e])})),l},options:{}}}var y={};function v(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Object(u.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function g(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,c=e.name;if(!o.disableGeneration){var f=s.get(o.sheetsManager,a,r);f||(f={refs:0,staticSheet:null,dynamicStyles:null},s.set(o.sheetsManager,a,r,f));var d=Object(i.a)({},a.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var p=o.sheetsRegistry;if(0===f.refs){var h;o.sheetsCache&&(h=s.get(o.sheetsCache,a,r));var m=a.create(r,c);h||((h=o.jss.createStyleSheet(m,Object(i.a)({link:!1},d))).attach(),o.sheetsCache&&s.set(o.sheetsCache,a,r,h)),p&&p.add(h),f.staticSheet=h,f.dynamicStyles=Object(l.e)(m)}if(f.dynamicStyles){var y=o.jss.createStyleSheet(f.dynamicStyles,Object(i.a)({link:!0},d));y.update(t),y.attach(),n.dynamicSheet=y,n.classes=Object(u.a)({baseClasses:f.staticSheet.classes,newClasses:y.classes}),p&&p.add(y)}else n.classes=f.staticSheet.classes;f.refs+=1}}function b(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function w(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=s.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(s.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function k(e,t){var n,r=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),a.a.useEffect((function(){return function(){n&&n()}}),[i])}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,l=t.Component,u=t.defaultTheme,s=void 0===u?y:u,d=Object(r.a)(t,["name","classNamePrefix","Component","defaultTheme"]),h=m(e),x=n||o||"makeStyles";h.options={index:p(),name:n,meta:x,classNamePrefix:x};var S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(c.a)()||s,r=Object(i.a)({},a.a.useContext(f.a),d),o=a.a.useRef(),u=a.a.useRef();k((function(){var i={name:n,state:{},stylesCreator:h,stylesOptions:r,theme:t};return g(i,e),u.current=!1,o.current=i,function(){w(i)}}),[t,h]),a.a.useEffect((function(){u.current&&b(o.current,e),u.current=!0}));var p=v(o.current,e.classes,l);return p};return S}},33:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(86);var i=n(120),o=n(85);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(i.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},4:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,l=t.withTheme,d=void 0!==l&&l,p=t.name,h=Object(i.a)(t,["defaultTheme","withTheme","name"]);var m=p,y=Object(s.a)(e,Object(r.a)({defaultTheme:o,Component:n,name:p||n.displayName,classNamePrefix:m},h)),v=a.a.forwardRef((function(e,t){e.classes;var l,u=e.innerRef,s=Object(i.a)(e,["classes","innerRef"]),h=y(Object(r.a)({},n.defaultProps,e)),m=s;return("string"==typeof p||d)&&(l=Object(f.a)()||o,p&&(m=Object(c.a)({theme:l,name:p,props:s})),d&&!m.theme&&(m.theme=l)),a.a.createElement(n,Object(r.a)({ref:u||t,classes:h},m))}));return u()(v,n),v}},p=n(55);t.a=function(e,t){return d(e,Object(r.a)({defaultTheme:p.a},t))}},50:function(e,t,n){"use strict";var r=n(272),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?a:l[e.$$typeof]||i}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var l=u(t),m=u(n),y=0;y=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},525:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=Object(r.a)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},526:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return h}));var r,i=n(2),o=n(3),a=n(0),l=n.n(a),u=(n(1),n(315)),s=n(22),c=n(177),f=Object(s.c)(Object(c.a)()),d={disableGeneration:!1,generateClassName:Object(u.a)(),jss:f,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},p=l.a.createContext(d);function h(e){var t=e.children,n=e.injectFirst,a=void 0!==n&&n,u=e.disableGeneration,f=void 0!==u&&u,d=Object(o.a)(e,["children","injectFirst","disableGeneration"]),h=l.a.useContext(p),m=Object(i.a)({},h,{disableGeneration:f},d);if(!m.jss.options.insertionPoint&&a&&"undefined"!=typeof window){if(!r){var y=document.head;r=document.createComment("mui-inject-first"),y.insertBefore(r,y.firstChild)}m.jss=Object(s.c)({plugins:Object(c.a)().plugins,insertionPoint:r})}return l.a.createElement(p.Provider,{value:m},t)}},527:function(e,t,n){"use strict";var r=n(2),i=n(3),o=n(0),a=(n(1),n(4)),l=n(5),u=n(7),s=o.forwardRef((function(e,t){var n=e.classes,l=e.className,s=e.color,c=void 0===s?"primary":s,f=e.disableShrink,d=void 0!==f&&f,p=e.size,h=void 0===p?40:p,m=e.style,y=e.thickness,v=void 0===y?3.6:y,g=e.value,b=void 0===g?0:g,w=e.variant,k=void 0===w?"indeterminate":w,x=Object(i.a)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),S={},E={},O={};if("determinate"===k||"static"===k){var _=2*Math.PI*((44-v)/2);S.strokeDasharray=_.toFixed(3),O["aria-valuenow"]=Math.round(b),S.strokeDashoffset="".concat(((100-b)/100*_).toFixed(3),"px"),E.transform="rotate(-90deg)"}return o.createElement("div",Object(r.a)({className:Object(a.a)(n.root,l,"inherit"!==c&&n["color".concat(Object(u.a)(c))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[k]),style:Object(r.a)({width:h,height:h},E,m),ref:t,role:"progressbar"},O,x),o.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44)},o.createElement("circle",{className:Object(a.a)(n.circle,d&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[k]),style:S,cx:44,cy:44,r:(44-v)/2,fill:"none",strokeWidth:v})))}));t.a=Object(l.a)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(s)},54:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},55:function(e,t,n){"use strict";var r=n(100),i=Object(r.a)();t.a=i},59:function(e,t,n){"use strict";function r(e,t){for(var n=0;n0?r:e)-s/100).concat(l,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(108);function i(e){if("string"!=typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},70:function(e,t,n){var r=n(144).default,i=n(51);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},71:function(e,t,n){"use strict";var r=n(145);t.a=function(e,t){return t?Object(r.a)(e,t,{clone:!1}):e}},72:function(e,t,n){"use strict";t.a={black:"#000",white:"#fff"}},730:function(e,t,n){"use strict";n.r(t);var r=n(16),i=n.n(r),o=n(0),a=n.n(o),l=n(314),u=n.n(l),s=n(455),c=n.n(s),f=n(62),d=n.n(f),p=n(63),h=n.n(p),m=n(64),y=n.n(m),v=n(70),g=n.n(v),b=n(43),w=n.n(b),k=n(269),x=n(527),S=Object(k.a)((function(e){return{spinnerBorder:{top:"50%",position:"fixed",marginTop:"-1rem",textAlign:"center",width:"100%"}}}));function E(){var e=S();return a.a.createElement("div",{className:e.spinnerBorder,role:"status"},a.a.createElement(x.a,null))}var O={on:function(e,t){document.addEventListener(e,(function(e){return t(e.detail)}))},dispatch:function(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t}))},remove:function(e,t){document.removeEventListener(e,t)}},_=n(456),C=n.n(_),P={isGranted:function(e,t,n,r){var i=n+"/api/check-user/"+btoa(e),o={data:{site:t}};return null!==r&&(o.data.productIds=r),C()(i,o)}};function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w()(e);if(t){var i=w()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g()(this,n)}}var j=function(e){y()(r,e);var t,n=R(r);function r(e){var t;return d()(this,r),(t=n.call(this,e)).state={message:""},window.FUTR=window.FUTR||{},window.FUTR.Kiosq=window.FUTR.Kiosq||{},t.endpoint=window.FUTR.Kiosq.kiosqEndpoint||"https://kiosq.vanilla.tools",t.site=window.FUTR.Kiosq.site||"",t.productIds=window.FUTR.Kiosq.productIds||null,t.limitOfFreeArticles=window.FUTR.Kiosq.limitOfFreeArticles||0,t.wallSystem=window.FUTR.Kiosq.wallSystem||"classic",t.triggerMessageFrom=window.FUTR.Kiosq.triggerMessageFrom||0,t.articleBody=t.props.articleBody,t.active=window.FUTR.Kiosq.active,t.granted=!1,window.FUTR.Kiosq.servicesCallback=window.FUTR.Kiosq.servicesCallback||[],t.isPremium=window.FUTR.Kiosq.isPremium||!1,"metered"===t.wallSystem&&t.active&&t.setArticleSeenUrls(),t}return h()(r,[{key:"componentDidMount",value:function(){var e=this;O.on("AuthEvent",(function(){return e.setState({})})),O.on("kiosqRegwall",(function(){e.doGrant(),window.ga("set",{dimension66:"unlocked",dimension13:"false"})}))}},{key:"componentWillUnmount",value:function(){O.remove("AuthEvent"),O.remove("kiosqRegwall")}},{key:"doGrant",value:function(){console.log("doGrant"),this.articleBody.classList.remove("paywall-locker");var e=document.querySelectorAll(".kiosq-main-layer");if(e&&e.length>0&&e.forEach((function(e){e.classList.contains("kiosq-header-menu-layer")||e.remove()})),this.granted){var t=document.querySelector(".kiosq-dropdown");t&&void 0!==window.FUTR.Kiosq&&void 0!==window.FUTR.Kiosq.hubPage&&(t.onclick=function(){window.location.href=window.FUTR.Kiosq.hubPage})}window.FUTR.Kiosq.hasBarrier=!1,window.FUTR.Kiosq.servicesCallback.forEach((function(e){e()}))}},{key:"doNotGrant",value:function(){console.log("doNotGrant"),this.articleBody.classList.add("paywall-locker"),window.FUTR.Kiosq.hasBarrier=!0}},{key:"IsFreeArticlePeriodPassed",value:function(){if(null!==localStorage.getItem("kiosq_first_article_seen_date")){var e=new Date(localStorage.getItem("kiosq_first_article_seen_date"));return(new Date).getTime()>e.getTime()}return!1}},{key:"setArticleSeenUrls",value:function(){this.IsFreeArticlePeriodPassed()&&(localStorage.removeItem("kiosq_article_seen_urls"),localStorage.removeItem("kiosq_first_article_seen_date"));var e=[],t=window.location.pathname;if(null===localStorage.getItem("kiosq_first_article_seen_date")){var n=new Date;n.setDate(n.getDate()+30),localStorage.setItem("kiosq_first_article_seen_date",n)}if(null!==localStorage.getItem("kiosq_article_seen_urls")){var r=localStorage.getItem("kiosq_article_seen_urls");e=JSON.parse(window.atob(r))}!e.includes(t)&&e.length=0&&(s=this.numberOfFreeArticleRemaining(),c=this.numberOfArticlesConsumed(),null!==document.getElementById("kiosq-metered-message")&&c>=this.triggerMessageFrom&&!this.granted&&(document.getElementById("kiosq-metered-message").innerHTML="You have "+s+" free article(s) remaining"))):t&&this.granted?(this.doGrant(),n="unlocked"):this.doNotGrant(),window.ga("set",{dimension66:n,dimension13:t.toString()});case 9:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){if(window.FUTR.Connect=window.FUTR.Connect||{},window.FUTR.Connect.paywall=!0,window.FUTR.Kiosq.nbFreeArticleRemaining=this.numberOfFreeArticleRemaining(),void 0===window.FUTR.Connect.Auth)return console.log("FUTR auth is not defined yet"),null;var e=window.FUTR.Connect.Auth.getContext(),t=e.isAuthenticated;if(e.isLoading)return console.log("FUTR auth is loading..."),a.a.createElement(E,null);if(this.active)this.isGranted(t);else{window.ga("set",{dimension66:"control",dimension13:t.toString()});var n=document.getElementById("article-body")||document.querySelector(".article__body");null!==n&&n.classList.length>0&&n.classList.contains("paywall-locker")&&n.classList.remove("paywall-locker")}return null}}]),r}(o.Component),T=document.getElementById("article-body"),N=document.getElementById("kiosq");N||((N=document.createElement("div")).id="kiosq",T&&T.parentNode.insertBefore(N,T.nextSibling)),i.a.render(a.a.createElement(j,{articleBody:T}),document.getElementById(N.id))},731:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(32),i=n(124),o=n(71);var a,l,u={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},f=(a=function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=Object(r.a)(t,2),i=n[0],o=n[1],a=u[i],l=s[o]||"";return Array.isArray(l)?l.map((function(e){return a+e})):[a+l]},l={},function(e){return void 0===l[e]&&(l[e]=a(e)),l[e]}),d=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function p(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function h(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function m(e){var t=p(e.theme);return Object.keys(e).map((function(n){if(-1===d.indexOf(n))return null;var r=h(f(n),t),o=e[n];return Object(i.a)(e,o,r)})).reduce(o.a,{})}m.propTypes={},m.filterProps=d;t.b=m},85:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(86);function i(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},86:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n Creative Bloq Staff The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of six full-time members of staff: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, Digital Arts and Design Editor Ian Dean, and Staff Writer Amelia Bamsey, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq. Topics Design netmag Web design Related articles The Best Nintendo Switch travel case to protect your console The best iPad Pro 12.9 prices and deals in September 2022 Get the best iPad pro deals in September 2022 The ultimate UI design guide Get Weekly Tips and Inspiration Sign up below to get the latest from Creative Bloq, plus exclusive special offers, direct to your inbox! Contact me with news and offers from other Future brands Receive email from us on behalf of our trusted partners or sponsors Thank you for signing up to Creative Bloq. You will receive a verification email shortly. There was a problem. Please refresh the page and try again. By submitting your information you agree to the Terms & Conditions (opens in new tab) and Privacy Policy (opens in new tab) and are aged 16 or over. Recommended The best drawing tablets in 2022: our pick of the best graphics tablets How to make and sell an NFT MOST READ MOST SHARED 1 How to edit videos: best tips for beginners 2 The YouTube logo: a history 3 Goldeneye 007 still features my favourite ever video game design fail 4 The best iPhone 14 cases in 2022 5 Apple event live blog: iPhone 14, Apple Watch Ultra and everything else Apple announced 1 ABC has a new logo (and it feels like déjà vu) 2 Vertex Week day 3: VFX live blog 3 HBO Max's censored movie posters look kind of ridiculous 4 An earth-shattering optical illusion was just spotted in space 5 Sony’s rumoured PS5 disk drive redesign could be a game-changer Design Magazine Subscriptions (opens in new tab) ● (opens in new tab) Exclusive insight from the world's leading creatives From£5.08 (opens in new tab) View (opens in new tab) Creative Bloq is part of Future plc, an international media group and leading digital publisher. Visit our corporate site (opens in new tab). About us (opens in new tab) Terms and conditions (opens in new tab) Privacy policy (opens in new tab) Cookies policy (opens in new tab) Advertise with us (opens in new tab) Accessibility Statement Careers (opens in new tab) © Future Publishing Limited Quay House, The Ambury, Bath BA1 1UA. All rights reserved. England and Wales company registration number 2008885.