vendor: 4,383 bytes, lines 1-2
1/*! For license information please see 2644.23a2b244294c904e8e97.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkLittleLit=self.webpackChunkLittleLit||[]).push([[2644],{32644(t,e,r){r.r(e),r.d(e,{default:()=>L});var n=r(73946),i=r(96540),o=r.n(i),u=r(361),a=r(4767),l=r(17813),c=r(74373),s=r(75827),f=r(32469),d=r(22591),h=r(97521),p=r(66824),v=r(36446),y=r(23892),g=r(50834),b=r(17560),w=r(37451),j=r(85046),m=r(74848);function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach(function(e){O(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=x(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(r,n,i,o){var l=n&&n.prototype instanceof a?n:a,c=Object.create(l.prototype);return k(c,"_invoke",function(r,n,i){var o,a,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,r){return o=e,a=0,l=t,d.n=r,u}};function h(r,n){for(a=r,l=n,e=0;!f&&c&&!i&&e<s.length;e++){var i,o=s[e],h=d.p,p=o[2];r>3?(i=p===n)&&(l=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=h&&((i=r<2&&h<o[1])?(a=0,d.v=n,d.n=o[1]):h<p&&(i=r<3||o[0]>n||n>p)&&(o[4]=r,o[5]=n,d.n=p,a=0))}if(i||r>1)return u;throw f=!0,n}return function(i,s,p){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&h(s,p),a=s,l=p;(e=a<2?t:l)||!f;){o||(a?a<3?(a>1&&(d.n=-1),h(a,l)):d.n=l:d.v=l);try{if(c=2,o){if(a||(i="next"),e=o[i]){if(!(e=e.call(o,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,a<2&&(a=0)}else 1===a&&(e=o.return)&&e.call(o),a<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=t}else if((e=(f=d.n<0)?l:r.call(n,d))!==u)break}catch(e){o=t,a=1,l=e}finally{c=1}}return{value:e,done:f}}}(r,i,o),!0),c}var u={};function a(){}function l(){}function c(){}e=Object.getPrototypeOf;var s=[][n]?e(e([][n]())):(k(e={},n,function(){return this}),e),f=c.prototype=a.prototype=Object.create(s);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,k(t,i,"GeneratorFunction")),t.prototype=Object.create(f),t}return l.prototype=c,k(f,"constructor",c),k(c,"constructor",l),l.displayName="GeneratorFunction",k(c,i,"GeneratorFunction"),k(f),k(f,i,"Generator"),k(f,n,function(){return this}),k(f,"toString",function(){return"[object Generator]"}),(T=function(){return{w:o,m:d}})()}function k(t,e,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}k=function(t,e,r,n){function o(e,r){k(t,e,function(t){return this._invoke(e,r,t)})}e?i?i(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(o("next",0),o("throw",1),o("return",2))},k(t,e,r,n)}function _(t,e,r,n,i,o,u){try{var a=t[o](u),l=a.value}catch(t){return void r(t)}a.done?e(l):Promise.resolve(l).then(n,i)}function P(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function u(t){_(o,n,i,u,a,"next",t)}function a(t){_(o,n,i,u,a,"throw",t)}u(void 0)})}}function A(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,u,a=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,i=t}
2finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return V(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function L(t){var e=f.h2,r=f.NJ,x=(0,d.Bh)(),S=x.selectedChild,O=x.setSelectedChild,k=t.navigation,_=t.route,V=null==_?void 0:_.params,L=V.currentChallenge,I=V.activityChallengeBack,B=(0,i.useRef)(null),R=A((0,i.useState)("This helps LittleLit personalize your child's learning, making it fun, engaging, and easy!"),1)[0],E=A((0,i.useState)(!1),2),Z=E[0],$=E[1],G=A((0,i.useState)("0"),2),z=G[0],F=G[1],W=A((0,i.useState)(""),2),N=W[0],M=W[1],U=A((0,i.useState)(""),2),q=U[0],J=U[1],K=A((0,i.useState)(""),2),Q=K[0],X=K[1],Y=A((0,i.useState)(""),2),H=Y[0],tt=Y[1],et=A((0,i.useState)({}),2),rt=et[0],nt=et[1],it=A((0,i.useState)([]),2),ot=it[0],ut=it[1];(0,i.useEffect)(function(){return lt(),function(){}},[]),(0,n.xK)(o().useCallback(function(){return function(){(0,w.Sp)(),(0,g.jX)()}},[]));var at=function(){var t=P(T().m(function t(){return T().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,(0,w.To)("https://storage.googleapis.com/little-lit/All_TTS/screens/learn_profile_queston_title.wav");case 1:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),lt=function(){var t=P(T().m(function t(){var r,n,i,o;return T().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,$(!0),t.n=1,e();case 1:n=t.v,(0,j.$Z)("res",n),(null==n||null===(r=n.data)||void 0===r?void 0:r.length)>0&&(i=null==n?void 0:n.data.sort(function(t,e){return(null==t?void 0:t.order)-(null==e?void 0:e.order)}),ut(i),nt(i[0])),at(),t.n=3;break;case 2:t.p=2,o=t.v,(0,j.$Z)("error",o);case 3:return t.p=3,$(!1),t.f(3);case 4:return t.a(2)}},t,null,[[0,2,3,4]])}));return function(){return t.apply(this,arguments)}}(),ct=function(){var t=P(T().m(function t(e,n){var i,o,u,a,l;return T().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,$(!0),t.n=1,(0,b.ep)();case 1:return i=t.v,o={childId:i,combinationAnwser:e,neurodivergent:n},(0,j.$Z)("sending...",o),t.n=2,r(o);case 2:200==(null==(u=t.v)?void 0:u.statusCode)&&(st(e),(a=S).combinationAnwser=e,a.neurodivergent=n,O(a),(0,j.$Z)("updateUser",a)),(0,j.$Z)("res",u),t.n=4;break;case 3:t.p=3,l=t.v,(0,j.$Z)("error",l);case 4:return t.p=4,$(!1),t.f(4);case 5:return t.a(2)}},t,null,[[0,3,4,5]])}));return function(e,r){return t.apply(this,arguments)}}(),st=function(){var t=P(T().m(function t(e){return T().w(function(t){for(;;)switch(t.n){case 0:k.push(s.hb.DisplayLearnProfile,{combinationAnwser:e});case 1:return t.a(2)}},t)}));return function(e){return t.apply(this,arguments)}}(),ft={centerView:{flexDirection:"row",width:"60vw",paddingTop:"5vh",paddingLeft:"2vh",justifyContent:"center"},bottomView:{width:"100%",height:"10vh",margin:15,flexDirection:"row",justifyContent:"center"},moreButtonView:{alignItems:"center",justifyContent:"center",marginLeft:20,height:"6vh",borderRadius:"5vh",borderColor:"black",paddingLeft:"2vw",paddingRight:"2vw",borderWidth:2},singleView:{borderRadius:10,justifyContent:"center",alignItems:"center",backgroundColor:s.Tj.bookEditBack,height:"50vh",width:"60vw",marginLeft:20,padding:20},answerBox:{backgroundColor:s.Tj.whiteColor,height:"12vw",width:"12vw",borderRadius:10,padding:10,alignItems:"center",justifyContent:"center"}},dt=function(t,e){return(0,m.jsx)("button",{type:"button",style:(0,h.i9)(),onClick:function(){F(t)},children:(0,m.jsx)("div",{style:(0,h.t_)(C(C({},ft.answerBox),{},{borderColor:s.Tj.greenDark,borderWidth:z==t?6:0,height:5==(null==rt?void 0:rt.order)?"5vw":"12vw",marginLeft:"B"===t&&5==(null==rt?void 0:rt.order)?20:0})),children:(0,m.jsx)(c.rT,{text:e,fontSize:5==(null==rt?void 0:rt.order)?20:16,fontWeight:"500"})})})};return(0,m.jsxs)("div",{style:(0,h.t_)(p.A.screenFullSize,(0,h.RZ)(y.rV.helpBubbleBack,"stretch")),children:[(0,m.jsxs)("div",{style:(0,h.t_)(D.container),children:[(0,m.jsxs)("div",{style:(0,h.t_)(C(C({},D.topView),{},{height:"12vh",width:"90vw"})),children:[(0,m.jsx)("div",{style:{width:90}}),(0,m.jsxs)("div",{style:(0,h.t_)([D.headerView,{width:"50vw"}]),children:[(0,m.jsx)(a.A,{height:5}),(0,m.jsx)(c.Mg,{fontSize:8,text:s.U4.createLearnProfileTitle}),(0,m.jsx)(a.A,{height:2}),(0,m.jsx)("div",{style:{paddingVertical:10,paddingLeft:10,paddingRight:10,backgroundColor:s.Tj.greenDark,borderRadius:10},children:(0,m.jsx)(c.rT,{color:s.Tj.whiteColor,text:R})}),(0,m.jsx)(a.A,{height:2})]}),(0,m.jsxs)("div",{style:(0,h.t_)({flexDirection:"row"}),children:[(0,m.jsx)("div",{style:{width:10}}),(0,m.jsx)(u.A,{navigation:k,color:s.Tj.homeColor,onPress:function(){null!=L&&L.isCurriculumChallenge&&I&&I(L),k.pop(2)},screens:2})]})]}),(0,m.jsx)("div",{ref:B,style:(0,h.t_)(ft.centerView),children:(0,m.jsx)("div",{style:(0,h.t_)(ft.singleView),children:(0,m.jsxs)("div",{style:(0,h.t_)({overflowY:"auto",flex:1,paddingVertical:20,justifyContent:"center",alignItems:"center"}),children:[(0,m.jsx)(c.rT,{text:rt.subTitle,fontSize:20,fontWeight:"600"}),(0,m.jsxs)("div",{style:(0,h.t_)({flexDirection:"row",width:"40vw",justifyContent:5==(null==rt?void 0:rt.order)?"center":"space-around",marginTop:"3vh"}),children:[dt("A",rt.optionA),dt("B",rt.optionB),""!=rt.optionC&&dt("C",rt.optionC)]}),(0,m.jsx)("div",{style:(0,h.t_)({flexDirection:"row",alignSelf:"center",width:"10vw",justifyContent:"space-between",marginTop:"5vh"}),children:[1,2,3,4,5].map(function(t){return(0,m.jsx)("div",{style:{borderRadius:5,width:rt.order==t?25:10,height:10,backgroundColor:rt.order==t?s.Tj.greenDark:s.Tj.lightGrey}},t)})})]})})}),(0,m.jsx)("div",{style:(0,h.t_)(ft.bottomView),children:(0,m.jsx)("button",{type:"button",style:(0,h.i9)(),onClick:function(){!function(){if("0"!=z){(0,j.$Z)("selectAnswerOption",z);var t=rt.order+z;1==rt.order?(M(t),nt(ot[1])):2==rt.order?(J(t),nt(ot[2])):3==rt.order?(nt(ot[3]),X(t)):4==rt.order?(tt(t),nt(ot[4])):5==rt.order&&ct(N+"-"+q+"-"+Q+"-"+H,"A"==z),F("0")}else(0,v.Qg)("Please select any option first")}()},children:(0,m.jsx)("div",{style:(0,h.t_)(ft.moreButtonView),children:(0,m.jsx)(c.Mg,{text:"Next",fontSize:16})})})})]}),(0,m.jsx)("div",{style:(0,h.t_)(D.myImageView),children:(0,m.jsx)("img",{src:(0,h.AW)({uri:null==S?void 0:S.profileFullImage}),alt:"",style:{width:"20vw",height:"40vh",objectFit:"contain"}})}),Z&&(0,m.jsx)(l.default,{})]})}var D={container:{alignSelf:"center",width:"80%",marginTop:"2%",height:"85%",alignItems:"center",borderRadius:16,backgroundColor:"rgba(255,255,255,0.9)"},topView:{paddingLeft:10,paddingRight:10,marginTop:"1%",alignItems:"center",justifyContent:"space-between",flexDirection:"row"},headerView:{width:"80%",alignItems:"center",justifyContent:"flex-start"},myImageView:{position:"absolute",bottom:0,right:40}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.