(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[22],{"1nBi":function(t,e){t.exports="https://bingedu.azureedge.net/mathuxjs/_next/static/images/EdgeBrowser-7f17caae07cfab72259a08312450f509.png"},"5LnK":function(t,e){t.exports="https://bingedu.azureedge.net/mathuxjs/_next/static/images/BingAppLogos-e4b5926bb576ac0ee47b0ae10f06bf26.png"},"5fbm":function(t,e,o){t.exports={l:"PWAPageHeader_l__vZ4SJ"}},"6W1r":function(t,e,o){"use strict";var r=o("q1tI"),n=o.n(r),a=o("PyTw"),i=o("gFTN"),s=o("hoIW"),c=o("MGIN"),l=o("5fbm"),u=o.n(l),d=n.a.createElement;e.a=function(t){var e=Object(r.useContext)(s.a).language;return d("header",null,d("div",{className:"page-header"},d("div",{className:"phc"},d(i.a,{className:"brand",href:"/pwa/[language]",as:"/pwa/".concat(e)},d(a.a,{className:"app-logo",webp:o("f6jn"),png:o("tZrS"),alt:"Microsoft Math Solver"}),d("span",{className:"name"},"Microsoft Math Solver")),d("div",{style:{flexGrow:1,height:2}}),!0!==t.hideLanguageSelector&&d(c.a,{className:u.a.l,language:e}))))}},Ata1:function(t,e,o){"use strict";o.d(e,"a",(function(){return i}));var r=o("mrSG"),n=o("tqYG"),a=o("xL1/"),i=Object(a.c)((function(t,e){var o,a,i,s,c,l,u,d,g,b,p,h,m,C=t.effects,y=t.palette,f=t.semanticColors,k={left:-2,top:-2,bottom:-2,right:-2,border:"none"},B={position:"absolute",width:1,right:31,top:8,bottom:8},v={splitButtonContainer:[Object(n.getFocusStyle)(t,{highContrastStyle:k,inset:2}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",selectors:(o={},o[n.HighContrastSelector]=Object(r.__assign)({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},Object(n.getHighContrastNoAdjustStyle)()),o)},".ms-Button--primary + .ms-Button":{border:"none",selectors:(a={},a[n.HighContrastSelector]={border:"1px solid WindowText",borderLeftWidth:"0"},a)}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(i={},i[n.HighContrastSelector]={color:"Window",backgroundColor:"Highlight"},i)},".ms-Button.is-disabled":{color:f.buttonTextDisabled,selectors:(s={},s[n.HighContrastSelector]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(c={},c[n.HighContrastSelector]=Object(r.__assign)({color:"Window",backgroundColor:"WindowText"},Object(n.getHighContrastNoAdjustStyle)()),c)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(l={},l[n.HighContrastSelector]=Object(r.__assign)({color:"Window",backgroundColor:"WindowText"},Object(n.getHighContrastNoAdjustStyle)()),l)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(u={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:C.roundedCorner2,borderBottomRightRadius:C.roundedCorner2,border:"1px solid "+y.neutralSecondaryAlt,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},u[n.HighContrastSelector]={".ms-Button-menuIcon":{color:"WindowText"}},u),splitButtonDivider:Object(r.__assign)(Object(r.__assign)({},B),{selectors:(d={},d[n.HighContrastSelector]={backgroundColor:"WindowText"},d)}),splitButtonDividerDisabled:Object(r.__assign)(Object(r.__assign)({},B),{selectors:(g={},g[n.HighContrastSelector]={backgroundColor:"GrayText"},g)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(b={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(p={},p[n.HighContrastSelector]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},p)},".ms-Button-menuIcon":{selectors:(h={},h[n.HighContrastSelector]={color:"GrayText"},h)}},b[n.HighContrastSelector]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},b)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(m={},m[n.HighContrastSelector]=Object(r.__assign)({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},Object(n.getHighContrastNoAdjustStyle)()),m)},splitButtonMenuFocused:Object(r.__assign)({},Object(n.getFocusStyle)(t,{highContrastStyle:k,inset:2}))};return Object(n.concatStyleSets)(v,e)}))},Cqso:function(t,e,o){"use strict";o.d(e,"a",(function(){return X}));var r=o("1OyB"),n=o("vuIU"),a=o("Ji7U"),i=o("md7G"),s=o("foSv"),c=o("q1tI"),l=o.n(c),u=o("yj3m"),d=o("y3WU"),g=o("UXvR"),b=o("ZCun"),p=o("r2Y+"),h=o("anoN"),m=o("XJS1"),C=o.n(m),y=o("x7/H"),f=o("hoIW"),k=o("5LnK"),B=o.n(k),v=o("uqg9"),x=o("sByA"),_=o("n0Ds"),S=o("eF4C"),j=l.a.createElement,w="bing-banner-dismissed",T=function(){var t;if(null===(t=Object(c.useContext)(f.a).featureFlags)||void 0===t||!t.bingUpsell)return null;var e=Object(c.useState)(S.e.Unknown),o=e[0],r=e[1],n=Object(c.useState)(!1),a=n[0],i=n[1],s=0;try{s=parseInt(y.a.GetString(w)||"",10)}catch(l){}return Object(c.useEffect)((function(){r(Object(S.c)()),(!s||(new Date).getTime()-s>6048e5)&&i(!0)}),[]),o!==S.e.Android&&o!==S.e.IPhone?null:j("div",{className:C.a.c},j(_.a,{isExpanded:a},j("div",{className:C.a.c0,onClick:function(){}},j("img",{src:B.a}),j("div",{className:C.a.t},"Try Math Solver in Bing"),j("div",{className:C.a.s},"Scan or handwrite your math problems in the Bing app and get step-by-step help instantly!"),j("div",{className:C.a.b},j(x.a,{className:C.a.n,text:"Not now",onClick:function(){y.a.SetString(w,(new Date).getTime().toString()),i(!1)}}),j(v.a,{href:"https://bing.app.link/mJ0HzxiCSO",target:"_blank",text:"Download app"})))))},O=o("6W1r"),H=o("mrSG"),N=o("odSE"),D=o("7Uas"),P=o("Z4jB"),E=o("tqYG"),W=o("xL1/"),M=o("k5Q5"),A=o("Ata1"),I=Object(W.c)((function(t,e){var o,r=Object(M.a)(t),n=Object(A.a)(t),a=t.palette,i={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:t.semanticColors.link},rootHovered:{color:a.themeDarkAlt,backgroundColor:a.neutralLighter,selectors:(o={},o[E.HighContrastSelector]={borderColor:"Highlight",color:"Highlight"},o)},rootHasMenu:{width:"auto"},rootPressed:{color:a.themeDark,backgroundColor:a.neutralLight},rootExpanded:{color:a.themeDark,backgroundColor:a.neutralLight},rootChecked:{color:a.themeDark,backgroundColor:a.neutralLight},rootCheckedHovered:{color:a.themeDark,backgroundColor:a.neutralQuaternaryAlt},rootDisabled:{color:a.neutralTertiaryAlt}};return Object(E.concatStyleSets)(r,i,n,e)})),G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(H.__extends)(e,t),e.prototype.render=function(){var t=this.props,e=t.styles,o=t.theme;return c.createElement(N.a,Object(H.__assign)({},this.props,{variantClassName:"ms-Button--icon",styles:I(o,e),onRenderText:D.b,onRenderDescription:D.b}))},e=Object(H.__decorate)([Object(P.a)("IconButton",["theme","styles"],!0)],e)}(c.Component),R=o("GP9I"),U=o("1nBi"),L=o.n(U),F=o("y327"),q=o.n(F),Q=o("I8v3"),J=l.a.createElement,Z="edge-banner-dismissed",z=function(){var t;if(null===(t=Object(c.useContext)(f.a).featureFlags)||void 0===t||!t.edgeUpsell)return null;var e=Object(c.useState)(void 0),o=e[0],r=e[1],n=Object(c.useState)(S.e.Unknown),a=n[0],i=n[1],s=Object(c.useState)(!1),l=s[0],u=s[1],d=0;try{d=parseInt(y.a.GetString(Z)||"",10)}catch(g){}return Object(c.useEffect)((function(){r(Object(Q.a)()),i(Object(S.c)()),(!d||(new Date).getTime()-d>6048e5)&&u(!0)}),[]),a!==S.e.Windows&&a!==S.e.Mac?null:J(_.a,{isExpanded:l},J(R.a,{contentClassName:q.a.c},J("img",{src:L.a}),J("div",{className:q.a.cc},J("div",{className:q.a.t},"Tired of switching between tabs?"),J("div",{className:q.a.s},"Get math help right along side your problems with Math Solver built inside Microsoft Edge"),J("div",{className:q.a.b},J(v.a,{className:q.a.p,href:(null===o||void 0===o?void 0:o.PrimaryLink)||"",target:null===o||void 0===o?void 0:o.PrimaryTarget,text:(null===o||void 0===o?void 0:o.PrimaryText)||""}),!(null===o||void 0===o||!o.SecondaryLink)&&J(x.a,{className:q.a.d,href:(null===o||void 0===o?void 0:o.SecondaryLink)||"",target:"_blank",text:(null===o||void 0===o?void 0:o.SecondaryText)||""}))),J(G,{className:q.a.close,iconProps:{iconName:"Cancel"},onClick:function(){u(!1),y.a.SetString(Z,(new Date).getTime().toString())}})))},K=l.a.createElement;function Y(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var o,r=Object(s.a)(t);if(e){var n=Object(s.a)(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return Object(i.a)(this,o)}}var X=function(t){Object(a.a)(o,t);var e=Y(o);function o(){return Object(r.a)(this,o),e.apply(this,arguments)}return Object(n.a)(o,[{key:"render",value:function(){var t=this,e=this.props,o=e.hideInput,r=e.initialExpression,n=e.initialKeyboardPageIndex,a=e.keyboardInitialState,i=e.subtopic,s=e.topic,c=e.isSketchEnabled,m=e.sketchHeight,C=e.isImagePickerEnabled,y=e.style,k=e.disableInstantAnswer;return K(f.a.Consumer,null,(function(e){var f=e.clientType;return K(l.a.Fragment,null,"pwa"===f?K(O.a,null):"teams"===f?null:K(l.a.Fragment,null,K(z,null),K(b.a,null),K(g.c,null)),K("div",{style:y,className:"page-layout"},"teams"!==f&&"pwa"!==f&&K("div",{className:"l"},K(d.a,{topic:s,subtopic:i})),K("div",{className:"m"},K("main",null,!o&&K(p.a,{initialExpression:r,initialPageIndex:n,keyboardInitialState:a,isSketchEnabled:c,sketchHeight:m,isImagePickerEnabled:C,isInstantAnswerEnabled:!0!==k})),K("div",{className:"c"},Array.isArray(t.props.children)&&t.props.children[1]?K(l.a.Fragment,null,K("div",{className:"c0"},t.props.children[0]),K("div",{className:"c1"},t.props.children[1])):K("div",{className:"c0"},t.props.children)))),K(u.a,null),"teams"!==f&&K(h.a,{hideLanguage:"pwa"===f}),K(T,null))}))}}]),o}(l.a.PureComponent)},GP9I:function(t,e,o){"use strict";o.d(e,"a",(function(){return p}));var r=o("1OyB"),n=o("vuIU"),a=o("Ji7U"),i=o("md7G"),s=o("foSv"),c=o("q1tI"),l=o.n(c),u=o("S/oA"),d=o.n(u),g=l.a.createElement;function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var o,r=Object(s.a)(t);if(e){var n=Object(s.a)(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return Object(i.a)(this,o)}}var p=function(t){Object(a.a)(o,t);var e=b(o);function o(){return Object(r.a)(this,o),e.apply(this,arguments)}return Object(n.a)(o,[{key:"render",value:function(){var t=this.props.className||"",e=this.props.contentClassName||"";return g("div",{className:"".concat(d.a.centeredContainer," ").concat(t)},g("div",{className:d.a.gutter}),g("div",{className:"".concat(d.a.centeredContainerContent," ").concat(e)},this.props.children),g("div",{className:d.a.gutter}))}}]),o}(l.a.PureComponent)},I8v3:function(t,e,o){"use strict";o.d(e,"a",(function(){return n}));var r=o("eF4C"),n=function(){var t=Object(r.c)();return Object(r.b)()===r.a.EDGE?{PrimaryLink:"microsoft-edge:https://www.google.com",PrimaryTarget:"",PrimaryText:"Launch Math Solver now"}:t===r.e.Windows?{PrimaryLink:"microsoft-edge:https://techcommunity.microsoft.com/t5/articles/learn-how-to-solve-math-problems-with-math-solver-in-microsoft/m-p/2195689",PrimaryTarget:"",PrimaryText:"Try Math Solver in Edge"}:{PrimaryLink:"https://www.microsoft.com/en-us/edge",PrimaryTarget:"_blank",PrimaryText:"Try Edge",SecondaryLink:"https://techcommunity.microsoft.com/t5/articles/learn-how-to-solve-math-problems-with-math-solver-in-microsoft/m-p/2195689",SecondaryText:"How it works"}}},"S/oA":function(t,e,o){t.exports={centeredContainer:"CenteredContainer_centeredContainer__xsmGZ",centeredContainerContent:"CenteredContainer_centeredContainerContent__1LMoc",gutter:"CenteredContainer_gutter__3ystW"}},XJS1:function(t,e,o){t.exports={c:"MobileUpsellBanner_c__34E9Z",c0:"MobileUpsellBanner_c0__2eVSd",t:"MobileUpsellBanner_t__6max6",s:"MobileUpsellBanner_s__1Ft-M",b:"MobileUpsellBanner_b__3aSNJ",n:"MobileUpsellBanner_n__138Tb"}},sByA:function(t,e,o){"use strict";o.d(e,"a",(function(){return p}));var r=o("mrSG"),n=o("q1tI"),a=o("odSE"),i=o("7Uas"),s=o("Z4jB"),c=o("tqYG"),l=o("xL1/"),u=o("k5Q5"),d=o("Ata1"),g=o("LQdl");var b=Object(l.c)((function(t,e,o){var n=Object(u.a)(t),a=Object(d.a)(t),i={root:{minWidth:"80px",height:"32px"},label:{fontWeight:c.FontWeights.semibold}};return Object(c.concatStyleSets)(n,i,o?function(t){var e,o,n,a,i,s,l,u,d,b=t.palette,p=t.semanticColors;return{root:{backgroundColor:p.primaryButtonBackground,border:"1px solid "+p.primaryButtonBackground,color:p.primaryButtonText,selectors:(e={},e[c.HighContrastSelector]=Object(r.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(c.getHighContrastNoAdjustStyle)()),e["."+g.a+" &:focus"]={selectors:{":after":{border:"none",outlineColor:b.white}}},e)},rootHovered:{backgroundColor:p.primaryButtonBackgroundHovered,border:"1px solid "+p.primaryButtonBackgroundHovered,color:p.primaryButtonTextHovered,selectors:(o={},o[c.HighContrastSelector]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},o)},rootPressed:{backgroundColor:p.primaryButtonBackgroundPressed,border:"1px solid "+p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed,selectors:(n={},n[c.HighContrastSelector]=Object(r.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(c.getHighContrastNoAdjustStyle)()),n)},rootExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootChecked:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootDisabled:{color:p.primaryButtonTextDisabled,backgroundColor:p.primaryButtonBackgroundDisabled,selectors:(a={},a[c.HighContrastSelector]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},a)},splitButtonContainer:{selectors:(i={},i[c.HighContrastSelector]={border:"none"},i)},splitButtonDivider:Object(r.__assign)(Object(r.__assign)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:b.white,selectors:(s={},s[c.HighContrastSelector]={backgroundColor:"Window"},s)}),splitButtonMenuButton:{backgroundColor:p.primaryButtonBackground,color:p.primaryButtonText,selectors:(l={},l[c.HighContrastSelector]={backgroundColor:"WindowText"},l[":hover"]={backgroundColor:p.primaryButtonBackgroundHovered,selectors:(u={},u[c.HighContrastSelector]={color:"Highlight"},u)},l)},splitButtonMenuButtonDisabled:{backgroundColor:p.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:p.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:p.primaryButtonText},splitButtonMenuIconDisabled:{color:b.neutralTertiary,selectors:(d={},d[c.HighContrastSelector]={color:"GrayText"},d)}}}(t):function(t){var e,o,n,a,i,s=t.semanticColors,l=t.palette,u=s.buttonBackground,d=s.buttonBackgroundPressed,g=s.buttonBackgroundHovered,b=s.buttonBackgroundDisabled,p=s.buttonText,h=s.buttonTextHovered,m=s.buttonTextDisabled,C=s.buttonTextChecked,y=s.buttonTextCheckedHovered;return{root:{backgroundColor:u,color:p},rootHovered:{backgroundColor:g,color:h,selectors:(e={},e[c.HighContrastSelector]={borderColor:"Highlight",color:"Highlight"},e)},rootPressed:{backgroundColor:d,color:C},rootExpanded:{backgroundColor:d,color:C},rootChecked:{backgroundColor:d,color:C},rootCheckedHovered:{backgroundColor:d,color:y},rootDisabled:{color:m,backgroundColor:b,selectors:(o={},o[c.HighContrastSelector]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o)},splitButtonContainer:{selectors:(n={},n[c.HighContrastSelector]={border:"none"},n)},splitButtonMenuButton:{color:l.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:l.neutralLight,selectors:(a={},a[c.HighContrastSelector]={color:"Highlight"},a)}}},splitButtonMenuButtonDisabled:{backgroundColor:s.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:s.buttonBackgroundDisabled}}},splitButtonDivider:Object(r.__assign)(Object(r.__assign)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:l.neutralTertiaryAlt,selectors:(i={},i[c.HighContrastSelector]={backgroundColor:"WindowText"},i)}),splitButtonDividerDisabled:{backgroundColor:t.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:l.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:l.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:l.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:l.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:s.buttonText},splitButtonMenuIconDisabled:{color:s.buttonTextDisabled}}}(t),a,e)})),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.render=function(){var t=this.props,e=t.primary,o=void 0!==e&&e,s=t.styles,c=t.theme;return n.createElement(a.a,Object(r.__assign)({},this.props,{variantClassName:o?"ms-Button--primary":"ms-Button--default",styles:b(c,s,o),onRenderDescription:i.b}))},e=Object(r.__decorate)([Object(s.a)("DefaultButton",["theme","styles"],!0)],e)}(n.Component)},uqg9:function(t,e,o){"use strict";o.d(e,"a",(function(){return c}));var r=o("mrSG"),n=o("q1tI"),a=o("7Uas"),i=o("Z4jB"),s=o("sByA"),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.render=function(){return n.createElement(s.a,Object(r.__assign)({},this.props,{primary:!0,onRenderDescription:a.b}))},e=Object(r.__decorate)([Object(i.a)("PrimaryButton",["theme","styles"],!0)],e)}(n.Component)},y327:function(t,e,o){t.exports={c:"EdgeUpsell_c__21Qpm",cc:"EdgeUpsell_cc__1bbdn",t:"EdgeUpsell_t__1Avqj",s:"EdgeUpsell_s__2KNuy",b:"EdgeUpsell_b__3QoT_",p:"EdgeUpsell_p__ud399",d:"EdgeUpsell_d__lkek5",close:"EdgeUpsell_close__3pScm"}}}]);