1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[2924,5431],{39844:(e,t,o)=>{o.r(t),o.d(t,{default:()=>a});var i=o(36665),r=o(5840),n=o(35337),d=o(60397);class a extends i.Component{isPressedIn=!1;onPressIn(){this.isPressedIn=!0,this.forceUpdate()}onPressOut(){this.isPressedIn=!1,this.forceUpdate()}render(){const{variant:e,title:t,description:o,label:i,iconHeightCW:a,onPress:s,disabled:l,styleParams:C}=this.props,g=C.variants[e],h=C.heightCW,c=h+(C.borderBottomWidthCW-C.borderWidthCW),W=c/2,p=c-W,u=this.isPressedIn?-h:-c,m=l?{filter:"grayscale(100%)",opacity:.55}:void 0;return(0,d.jsxs)(r.default,{makeButtonWidth:!0,heightCW:c,extraStyleParams:m,divId:"d7219",children:[(0,d.jsx)(r.default,{makeButtonWidth:!0,heightCW:W,marginTopCW:p,borderRadiusCW:C.borderRadiusCW,backgroundColor:g.borderColor,divId:"d7219-base"}),(0,d.jsxs)(r.default,{onPress:s,haptic:"Medium",onPressIn:this.onPressIn.bind(this),onPressOut:this.onPressOut.bind(this),activeOpacity:1,label:i||`Rep mode ${e}`,makeButtonWidth:!0,heightCW:h,marginTopCW:u,borderRadiusCW:C.borderRadiusCW,borderColor:g.borderColor,borderWidthCW:C.borderWidthCW,backgroundColor:g.backgroundColor,flexDirection:"row",alignItems:"center",paddingTopCW:8,paddingBottomCW:8,paddingLeftCW:C.paddingLeftCW,paddingRightCW:C.paddingRightCW,divId:"d7219-top",children:[(0,d.jsx)(r.default,{widthCW:g.iconContainerWidthCW??C.iconContainerWidthCW,heightCW:g.iconContainerHeightCW??C.iconContainerHeightCW,putContentCenter:!0,marginRightCW:C.iconTextGapCW,extraStyleParams:{transform:[{rotate:g.iconRotation}]},divId:"d7218",children:(0,d.jsx)(r.default,{sourceId:g.iconSourceId,heightCW:a??g.iconHeightCW??C.iconHeightCW,divId:"d91022"})}),(0,d.jsxs)(r.default,{flexGrow:!0,extraStyleParams:{gap:(0,n.default)(4),flex:1},divId:"d91014",children:[(0,d.jsx)(r.default,{text:t,fontSizeFS:C.fontSizeTitleFS,color:C.titleColor,boldLevel:C.boldLevelTitle,divId:"d91013"}),(0,d.jsx)(r.default,{text:o,fontSizeFS:C.fontSizeDescriptionFS,color:C.descriptionColor,boldLevel:C.boldLevelDescription,extraStyleParams:{lineHeight:(0,n.default)(C.descriptionLineHeightCW)},divId:"d7214"})]}),this.renderChevron(C.chevronColor)]})]})}renderChevron(e){const t=this.getChevronSvgXml(e);return(0,d.jsx)(r.default,{source:t,widthCW:10,heightCW:14,marginLeftCW:8,divId:"d91016"})}getChevronSvgXml(e){return`\n<svg viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M1 1L7 7L1 13" stroke="${e}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n</svg>\n`.trim()}}},72924:(e,t,o)=>{o.r(t),o.d(t,{default:()=>C});var i=o(36665),r=o(5840),n=o(56113),d=o(39844),a=o(47996),s=o(93200),l=o(60397);class C extends i.Component{render(){const{cards:e,cardCategoryChooser:t}=s.default,o=this.getModeCards(),i=this.props.useCardChooserStyle?t.gapCW:e.gapCW;return(0,l.jsx)(r.default,{alignItems:"center",gapCW:i,divId:"d7220",children:this.renderCards(o)})}getModeCards(){if(this.props.modeCards)return this.props.modeCards;const e=(0,a.default)(this.props.collection,this.props.category),t=[];for(const o of e)t.push({mode:o,category:this.props.category});return t}renderCards(e){const t=[];for(const o of e)t.push(this.renderCard(o));return t}getStyleParams(){const{cards:e}=s.default,t=this.props.useCardChooserStyle?s.default.cardCategoryChooser.card:e;return Object.assign({},t,{variants:e.variants})}renderCard(e){const t=e.mode,o=this.getStyleParams();return(0,l.jsx)(d.default,{variant:t.key,title:(0,n.default)(t.titleTextId),description:(0,n.default)(e.descriptionTextId||t.descriptionTextId),label:e.label,iconHeightCW:this.getIconHeightCW(t),onPress:()=>this.props.onModePress(t,e.category),disabled:!t.isAvailable,styleParams:o},`${e.category||"default"}-${t.key}`)}getIconHeightCW(e){if(!this.props.useCardChooserStyle)return;const t=s.default.cardCategoryChooser.modeIcons;return"quiz"===e.key?t.quiz.heightCW:"flashcards"===e.key?t.flashcards.heightCW:"fingerspellingChallenge"===e.key?t.fingerspellingChallenge.heightCW:void 0}}},78326:(e,t,o)=>{o.r(t),o.d(t,{default:()=>i});const i={layout:{heightSeparatorCW:1,heightAppRecommendContainerNum:0},headerSection:{title:{fontSizeFS:20,boldLevel:3,color:"#011E2B"}},appRecommendThingie:{heightCW:80,iconSizeCW:24,marginTopExtraCW:16,borderRadiusCW:8,marginHorizontalCW:22,borderWidthCW:1,colorBorder:"rgb(220, 220, 220)",marginTopCloseIconCW:4,buttonWidthCW:132,marginLeftSecondButtonCW:8,buttonScaleFactor:.86},dragUpThingie:{heightCW:28,borderRadiusTopCW:20,marginBottomDownCW:6,iconSizeCW:22},signListRows:{container:{marginHorizontalCW:24,marginTopCW:16,marginTopComputedCW:16,minComputedHeightNum:80}
1,row:{heightCW:42,heightSeparatorNum:1,paddingLeftCW:2,fontSizeTextFS:14,colorText:"#23292C",icon:{sizeCW:24,marginRightCW:8},separatorColor:"#EDEFF2"},addSignButton:{widthCW:170,horizontalPaddingCW:10,marginTopEmptyCW:150,marginBottomNum:100},fade:{heightCW:14,gradientColors:["rgba(255, 255, 255, 0)","rgba(255, 255, 255, 0.2)","rgba(255, 255, 255, 0.4)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.7)","rgba(255, 255, 255, 1)"],gradientLocations:[0,.03,.2,.35,.44,1]},maxHeight:{baseEnteredCW:460,baseNotEnteredCW:406,extraIfTitleLongCW:36,titleLengthThreshold:24},header:{textId:"Signs in collection",fontSizeFS:18,boldLevel:2}},nextSignSection:{arrowButton:{sizeCW:44,marginVerticalCW:16,borderRadiusCW:22,iconSizeCW:24},truncatedText:{boldLevel:2,fontSizeFS:14,maxRows:2,maxLengthButtonWidthFraction:.6},currentSignLabel:{textId:"Current sign",fontSizeFS:11,color:"#686D73",boldLevel:2},currentSignText:{fontSizeFS:14,color:"#011E2B",boldLevel:3}},repetitionButtons:{marginBottomCW:30,gapCW:2,card:{marginTopCW:10,heightCW:97,backgroundColor:"#FFCC66",borderColor:"#FF7853",borderBottomWidthCW:6,borderRadiusCW:16,paddingHorizontalCW:20,paddingVerticalCW:16},text1:{textId:"Let's put it into practice",boldLevel:3,fontSizeFS:15,color:"#494949"},text2:{textId:"Ready, set, go",boldLevel:4,fontSizeFS:15,color:"#494949"},icon:{widthCW:101,heightCW:65,heightWeightsCW:48,rotation:"11deg",scaleY:-1}},signBottomBar:{paddingHorizontalCW:8,paddingHorizontalElementCW:12,marginHorizontalElementCW:2,iconContainerSizeCW:56,iconHeightCW:34,text:{fontSizeFS:12,marginTopCW:1,color:"#23292C",boldLevel:3}},signButtons:{marginHorizontalCW:24,marginTopListCW:16,heightBottomPaddingCW:54,maxHeight:{standardWidthMultiplierSubtract:1.45,minHeightFraction:.3,standardWidthMultiplierSubtractWhenOpen:.15},fade:{heightCW:14,gradientColors:["rgba(255, 255, 255, 0)","rgba(255, 255, 255, 0.2)","rgba(255, 255, 255, 0.4)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.7)","rgba(255, 255, 255, 1)"],gradientLocations:[0,.03,.2,.35,.44,1]},emptyState:{fontSizeTextFS:14,marginTopTextCW:40},addSignsButton:{widthCW:170,horizontalPaddingCW:10,marginTopEmptyCW:24,marginTopNonEmptyCW:36,marginBottomNum:100},signButton:{heightCW:30,marginCW:4,paddingHorizontalCW:8,minWidthCW:50,borderRadiusCW:100,borderWidthCW:1,colorBorder:"#D5D7DA"},header:{fontSizeHeaderFS:16,boldLevelHeader:3,lineHeightHeaderFS:16,marginTopSubHeaderCW:6,fontSizeSubHeaderFS:14,boldLevelSubHeader:2,colorSubHeader:"#011E2B"},signButtonText:{boldLevel:2,fontSizeFS:14,maxRows:1,maxLengthButtonWidthFraction:.82}},signSection:{video:{maxHeightToWidth:1.1,maxWidthToHeight:1.3,horizontalMarginCW:24,verticalPaddingCW:24,bottomOffsetCW:14,minHeightCW:120,borderRadiusViewportCW:12,heightConservativeExtraCW:18}},repetitionSheet:{container:{paddingTopCW:20,paddingBottomCW:24,paddingHorizontalCW:24,borderRadiusTopCW:20},hintText:{fontSizeFS:13,color:"#494949",boldLevel:2,marginTopCW:10},modes:{marginTopCW:18},header:{backIcon:{sizeCW:24},title:{textId:"Practice",fontSizeFS:18,boldLevel:3,marginLeftCW:12}}},shareScreen:{topBar:{paddingTopCW:16,paddingHorizontalCW:24,backIcon:{sizeCW:24},backText:{fontSizeFS:18,color:"#011E2B",marginLeftCW:8,paddingTopCW:2}},mainContent:{paddingVerticalBaseCW:24,paddingVerticalExtraSectionMissingHeightFraction:.15},toggleSection:{label:{marginRightCW:20,fontSizeFS:16},subText:{fontSizeFS:14,marginTopCW:10,color:"rgba(0, 0, 0, 0.86)"},toggle:{heightCW:25,widthToHeight:2}},copySection:{buttonWidthCW:160,subText:{fontSizeFS:14,marginTopCW:10,color:"rgba(0, 0, 0, 0.86)"}},openShareButton:{widthCW:220}}}},95431:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});o(36665);var i=o(5840),r=o(80152),n=o(35337),d=o(93759),a=o(96107),s=o(60520),l=o(40818),C=o(11765),g=o(72924),h=o(47996),c=o(18011),W=o(78326),p=o(60397);class u extends r.default{render(){const e=W.default.repetitionSheet,t=(0,d.default)()-(0,n.default)(2*e.container.paddingHorizontalCW),o=l.default.activeCollection;return o&&(0,h.default)(o).length?(0,p.jsxs)(i.default,{divId:"dCollectionRepetitionSheet",paddingTopCW:e.container.paddingTopCW,paddingBottomCW:e.container.paddingBottomCW,paddingLeftCW:e.container.paddingHorizontalCW,paddingRightCW:e.container.paddingHorizontalCW,borderRadiusTopLeftCW:e.container.borderRadiusTopCW,borderRadiusTopRightCW:e.container.borderRadiusTopCW,backgroundColor:"white",shadowType:"DROP-UP",children:[this.headerRow(),(0,p.jsx)(i.default,{divId:"dCollectionRepetitionSheetModes",marginTopCW:e.modes.marginTopCW,widthNum:t,children:(0,p.jsx)(g.default,{collection:o||void 0,onModePress:e=>this.onModePress(e)})})]}):null}headerRow(){const e=W.default.repetitionSheet.header;return(0,p.jsxs)(i.default,{divId:"dCollectionRepetitionSheetHeader",flexDirection:!0,alignItems:"center",onPress:this.onPressBack.bind(this),label:"Close repetition sheet",children:[(0,p.jsx)(i.default,{divId:"dCollectionRepetitionSheetBackIcon",sourceId:"TopBar_BackIcon",sizeCW:e.backIcon.sizeCW}),(0,p.jsx)(i.default,{divId:"dCollectionRepetitionSheetTitle",textId:e.title.textId,boldLevel:e.title.boldLevel,fontSizeFS:e.title.fontSizeFS,marginLeftCW:e.title.marginLeftCW})]})}onPressBack(){l.default.dropupContent=null,(0,C.default)("dropupBox")}onModePress(e){if(!e.isAvailable)return void(0,c.default)({bodyTextId:e.disabledReasonTextId||"Not available"});l.default.dropupContent=null,(0,C.default)("dropupBox");const{repetitionType:t,taskType:o,subType:i}=e;"filmSigns"!==e.key?"Single-task"===t&&o&&i?(0,a.default)({isSingleTaskRepetition:!0,singleTaskParams:{taskType:o,subType:i,length:e.length,seconds:e.seconds,showPercentage:e.showPercentage,decideProgressBar:e.decideProgressBar,noProgressBar:e.noProgressBar,showCounter:e.showCounter,msWaitFinishedScreen:e.msWaitFinishedScreen,maxLinesForTextOption:e.maxLinesForTextOption,minPoolAfterLineFilter:e.minPoolAfterLineFilter},collection:l.default.activeCollection||void 0}
1):(0,a.default)({isTaskRepetition:"Quiz"===t,isFlashcardRepetition:"Flash-cards"===t,collection:l.default.activeCollection||void 0}):(0,s.default)(l.default.activeCollection||void 0)}}}}]); 2//#
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.