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EAAU,CAACtC,YAAac,KAAKwF,iBAAkBpG,IAAKY,KAAKR,MAAMJ,IAAKG,UAAWS,KAAKR,MAAMiG,iBAC3FxF,EAAAA,cAACwB,EAAAA,EAAY,CAACvC,YAAac,KAAKP,mBAAoBL,IAAKY,KAAKR,MAAMJ,IACtDG,UAAWS,KAAKR,MAAME,mBAI1C,EAACuF,CAAA,CA1Pe,CAASvD,EAAAA,WA6P3B,EAzSc,WAAH,OACTzB,EAAAA,cAACmE,EAAAA,YAAW,CACVvE,OAAQ,SAAAwD,GAAI,OACVpD,EAAAA,cAACgF,EAAY,CAAC5B,KAAMA,GAAO,EAE7BkB,MAAK,aAoCL,C,sBKhQJ,wzC","sources":["webpack://gatsby-starter-default/./node_modules/reactstrap/es/Col.js","webpack://gatsby-starter-default/./node_modules/reactstrap/es/Row.js","webpack://gatsby-starter-default/./src/components/Cards/CardItemNew.js","webpack://gatsby-starter-default/./src/components/shared/VideoModal.js","webpack://gatsby-starter-default/./src/components/Cards/CardsNew.js","webpack://gatsby-starter-default/./src/pages/video-hub.js","webpack://gatsby-starter-default/./src/images/icons/icon-eye.svg","webpack://gatsby-starter-default/./src/images/icons/icon-eye-red.svg","webpack://gatsby-starter-default/./src/images/icons/arrow-left.svg","webpack://gatsby-starter-default/./src/images/icons/arrow-right.svg","webpack://gatsby-starter-default/./src/images/icons/btn-play.svg"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"widths\", \"tag\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType, isObject } from './utils';\nvar colWidths = ['xs', 'sm', 'md', 'lg', 'xl'];\nvar defaultProps = {\n tag: 'div',\n widths: colWidths\n};\nvar getColumnSizeClass = function getColumnSizeClass(isXs, colWidth, colSize) {\n if (colSize === true || colSize === '') {\n return isXs ? 'col' : \"col-\" + colWidth;\n } else if (colSize === 'auto') {\n return isXs ? 'col-auto' : \"col-\" + colWidth + \"-auto\";\n }\n return isXs ? \"col-\" + colSize : \"col-\" + colWidth + \"-\" + colSize;\n};\nvar Col = function Col(props) {\n var className = props.className,\n cssModule = props.cssModule,\n widths = props.widths,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n var colClasses = [];\n widths.forEach(function (colWidth, i) {\n var columnProp = props[colWidth];\n delete attributes[colWidth];\n if (!columnProp && columnProp !== '') {\n return;\n }\n var isXs = !i;\n if (isObject(columnProp)) {\n var _classNames;\n var colSizeInterfix = isXs ? '-' : \"-\" + colWidth + \"-\";\n var colClass = getColumnSizeClass(isXs, colWidth, columnProp.size);\n colClasses.push(mapToCssModules(classNames((_classNames = {}, _classNames[colClass] = columnProp.size || columnProp.size === '', _classNames[\"order\" + colSizeInterfix + columnProp.order] = columnProp.order || columnProp.order === 0, _classNames[\"offset\" + colSizeInterfix + columnProp.offset] = columnProp.offset || columnProp.offset === 0, _classNames)), cssModule));\n } else {\n var _colClass = getColumnSizeClass(isXs, colWidth, columnProp);\n colClasses.push(_colClass);\n }\n });\n if (!colClasses.length) {\n colClasses.push('col');\n }\n var classes = mapToCssModules(classNames(className, colClasses), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCol.defaultProps = defaultProps;\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"noGutters\", \"tag\", \"form\", \"widths\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar rowColWidths = ['xs', 'sm', 'md', 'lg', 'xl'];\nvar defaultProps = {\n tag: 'div',\n widths: rowColWidths\n};\nvar Row = function Row(props) {\n var className = props.className,\n cssModule = props.cssModule,\n noGutters = props.noGutters,\n Tag = props.tag,\n form = props.form,\n widths = props.widths,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n var colClasses = [];\n widths.forEach(function (colWidth, i) {\n var colSize = props[colWidth];\n delete attributes[colWidth];\n if (!colSize) {\n return;\n }\n var isXs = !i;\n colClasses.push(isXs ? \"row-cols-\" + colSize : \"row-cols-\" + colWidth + \"-\" + colSize);\n });\n var classes = mapToCssModules(classNames(className, noGutters ? 'no-gutters' : null, form ? 'form-row' : 'row', colClasses), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nRow.defaultProps = defaultProps;\nexport default Row;","import React, {Component} from 'react';\nimport styled from \"styled-components\";\nimport VideoModal from \"components/shared/VideoModal\"\nimport KalturaModal from \"components/shared/KalturaModal\"\nimport IconDownload from 'images/icons/icon-download.svg'\nimport IconDownloadWhite from 'images/icons/icon-download-white.svg'\nimport IconPlay from 'images/icons/icon-play.svg'\nimport IconPlayWhite from 'images/icons/icon-play-white.svg'\nimport IconArrow from 'images/icons/icon-arrow.svg'\nimport IconArrowWhite from 'images/icons/icon-arrow-white.svg'\nimport {media} from \"utils/Media\"\nimport cardTopBlue from \"images/Resources/card-top-blue.jpg\"\nimport cardTopGreen from \"images/Resources/card-top-green.jpg\"\nimport cardTopOrange from \"images/Resources/card-top-orange.jpg\"\nimport cardTopPurple from \"images/Resources/card-top-purple.jpg\"\nimport cardTopYellow from \"images/Resources/card-top-yellow.jpg\"\n\nconst Card = styled.div`\n width: 200px;\n height: 275px;\n position: relative;\n margin: 1rem 0.5rem 1rem;\n padding: calc(25px + 1rem) 1rem 1rem;\n box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.15);\n transition: transform 200ms ease-in-out;\n display: inline-block;\n \n &:hover {\n transform: scale(1.05);\n }\n \n .card-header {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 25px;\n background: url(${cardTopOrange}) no-repeat center center;\n background-size: 100%;\n }\n \n &.orange {\n .card-header {\n background: url(${cardTopOrange}) no-repeat center center;\n background-size: 100%;\n }\n }\n \n &.blue {\n .card-header {\n background: url(${cardTopBlue}) no-repeat center center;\n background-size: 100%;\n }\n }\n \n &.green {\n .card-header {\n background: url(${cardTopGreen}) no-repeat center center;\n background-size: 100%;\n }\n }\n \n &.purple {\n .card-header {\n background: url(${cardTopPurple}) no-repeat center center;\n background-size: 100%;\n }\n }\n \n &.yellow {\n .card-header {\n background: url(${cardTopYellow}) no-repeat center center;\n background-size: 100%;\n }\n }\n \n .card-body {\n padding: 0 !important;\n }\n \n .card-footer {\n background: none !important;\n border-top: 0;\n }\n \n h4 {\n font-size: 1.125rem;\n padding-left: 0 !important;\n }\n \n p {\n font-size: 0.875rem;\n }\n \n a {\n text-decoration: underline;\n \n &:hover {\n color: ${props => props.theme.colors.red};\n }\n }\n`\n\nconst DownloadButton = styled.a`\n position: absolute;\n bottom: 0;\n left: 0;\n width: 200px;\n height: 50px;\n font-style: normal;\n font-weight: normal;\n font-size: 1rem;\n line-height: 200%;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n border: none;\n color: ${props => props.theme.colors.white} !important;\n transition: all 150ms ease-in-out;\n cursor: pointer;\n text-decoration: none !important;\n \n &.orange {\n background-color: ${props => props.theme.colors.orange};\n }\n \n &.blue {\n background-color: ${props => props.theme.colors.blue};\n }\n \n &.green {\n background-color: ${props => props.theme.colors.green};\n }\n \n &.purple {\n background-color: ${props => props.theme.colors.purple};\n }\n \n &.yellow {\n background-color: ${props => props.theme.colors.yellow};\n color: ${props => props.theme.colors.black} !important;\n }\n \n img {\n padding-left: 1rem;\n }\n \n .hover {\n display: none;\n }\n \n &:hover {\n color: ${props => props.theme.colors.white} !important;\n background-color: ${props => props.theme.colors.black};\n \n .non-hover {\n display: none;\n }\n \n .hover {\n display: inline-block;\n }\n }\n \n @media ${media.lg} {\n width: 200px;\n }\n \n img {\n margin-left: 10px;\n }\n`\n\nclass CardItemNew extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n modalOpen: false,\n }\n }\n\n toggleModal = (e, src) => {\n e.preventDefault();\n\n this.setState({\n src: src,\n modalOpen: !this.state.modalOpen\n });\n }\n\n toggleKalturaModal = (e, src) => {\n e.preventDefault();\n\n this.setState({\n src: src,\n kalturaModalOpen: !this.state.kalturaModalOpen,\n });\n }\n\n render() {\n let card = this.props.card\n\n return (\n \n \n \n \n \n {card.body}\n \n \n {card.selector === 'pdf' &&\n Download PDF\n {this.props.color === 'yellow' ?\n <>\n \n \n >\n :\n \n }\n \n }\n {card.selector === 'video' &&\n this.toggleKalturaModal(e, card.link)} aria-label=\"Open video\" className={this.props.color}>Watch videos\n {this.props.color === 'yellow' ?\n <>\n \n \n >\n :\n \n }\n \n }\n {card.selector === 'url' &&\n Find out more\n {this.props.color === 'yellow' ?\n <>\n \n \n >\n :\n \n }\n \n }\n \n \n \n \n );\n }\n}\n\nexport default CardItemNew;","import React, {Component} from 'react';\nimport {Modal, ModalBody} from \"reactstrap\"\nimport styled from \"styled-components\"\nimport ButtonClose from 'components/shared/ButtonClose'\n\nconst VModal = styled(Modal)`\n max-width: 1400px;\n padding: 0;\n border: 0;\n\n .modal-content {\n border: 0;\n position: relative;\n }\n\n .modal-body {\n padding: 0;\n border: 0;\n }\n \n .video-wrapper {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 aspect ratio */\n padding-top: 0; // height of controls\n height: 0;\n \n iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n }\n`\n\nclass VideoModal extends Component {\n render() {\n return (\n \n \n Close\n \n \n \n \n \n \n \n );\n }\n}\n\nexport default VideoModal;","import React, {Component} from 'react';\nimport CardItemNew from 'components/Cards/CardItemNew'\nimport styled from \"styled-components\";\nimport {graphql, StaticQuery} from \"gatsby\";\n\nconst Resources = styled.div`\n margin-bottom: 1rem;\n display: inline-block;\n\n .card-deck {\n display: flex;\n flex-flow: row wrap;\n justify-content: left;\n }\n\n h4 {\n font-size: 1.125rem;\n padding-left: 0.5rem;\n margin-bottom: 0;\n }\n`\n\nclass CardsNew extends Component {\n listResources = (tag, color) => {\n let existingTag = []\n let totalTags = 0;\n\n\n const getResources = this.props.data.allTeacherLibraryJson.edges.map((resource, i) => {\n return this.props.cards.map((cat) => {\n if (cat === parseFloat(resource.node.id)) {\n let currentTag = resource.node.tag\n\n existingTag.push(currentTag)\n\n if (currentTag === tag) {\n totalTags++;\n return (\n \n )\n }\n }\n\n })\n })\n\n const uniqueTags = [...new Set(existingTag)];\n if (totalTags > 0) {\n return (\n \n {tag === 'primary' && uniqueTags.includes('primary') &&\n Primary resources\n }\n {tag === 'secondary' && uniqueTags.includes('secondary') &&\n Secondary resources\n }\n {tag === 'behind' && uniqueTags.includes('behind') &&\n Behind-The-Scenes\n }\n {tag === 'backstage' && uniqueTags.includes('backstage') &&\n Backstage\n }\n {tag === 'citizenship' && uniqueTags.includes('citizenship') &&\n Citizenship\n }\n {tag === 'background' && uniqueTags.includes('background') &&\n Background Reading\n }\n {tag === 'video-questionnaires' && uniqueTags.includes('video-questionnaires') &&\n Video Hub Questionnaires\n }\n \n \n {getResources}\n \n \n \n )\n }\n }\n\n render() {\n return (\n \n {this.listResources('primary', 'orange')}\n {this.listResources('secondary', 'blue')}\n {this.listResources('behind', 'yellow')}\n {this.listResources('backstage', 'yellow')}\n {this.listResources('citizenship', 'purple')}\n {this.listResources('background', 'green')}\n {this.listResources('video-questionnaires', 'yellow')}\n \n );\n }\n}\n\nconst Query = (props) => (\n (\n \n )}\n query={graphql`\n query {\n allTeacherLibraryJson {\n edges {\n node {\n id\n tag\n slug\n title\n body\n selector\n link\n categories\n }\n }\n }\n }\n\t\t`}\n />\n)\n\nexport default Query","import React, {Component} from \"react\"\nimport styled from 'styled-components'\nimport {media} from \"utils/Media\"\nimport {Row, Col, Container} from 'reactstrap'\nimport CardItemNew from 'components/Cards/CardItemNew'\nimport {graphql, StaticQuery} from 'gatsby'\nimport Layout from \"components/Layout/Layout\"\nimport VideoModal from \"components/shared/VideoModal\"\nimport KalturaModal from \"components/shared/KalturaModal\"\nimport HeaderCopy from \"components/shared/HeaderCopy\"\nimport CardsNew from \"components/Cards/CardsNew\"\nimport {GatsbyImage} from \"gatsby-plugin-image\"\nimport BtnPlay from 'images/icons/btn-play.svg'\nimport IconEye from 'images/icons/icon-eye.svg'\nimport IconEyeRed from 'images/icons/icon-eye-red.svg'\nimport IconClose from \"images/icons/icon-close.svg\"\nimport ArrowLeft from \"images/icons/arrow-left.svg\"\nimport ArrowRight from \"images/icons/arrow-right.svg\"\n\nconst Relative = styled.div`\n position: relative;\n width: 100%;\n`\nconst CardWrapper = styled.div`\n display: flex;\n flex-flow: row wrap;\n justify-content: left;\n\n @media ${media.lg} {\n margin-top: -1rem;\n }\n`\nconst VideoWrapper = styled.button`\n width: 100%;\n margin: 0 auto;\n cursor: pointer;\n position: relative;\n padding: 0;\n\n img {\n padding-left: 0 !important;\n }\n\n .video-overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: black;\n opacity: 0.2;\n transition: opacity 200ms ease-in-out;\n z-index: 2;\n }\n\n .play-btn {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n opacity: 0.5;\n transition: opacity 200ms ease-in-out;\n z-index: 3;\n width: 80px;\n height: 80px;\n }\n\n &:hover {\n .video-overlay {\n opacity: 0.5;\n }\n\n .play-btn {\n opacity: 1;\n }\n }\n`\n\nconst BlockSection = styled.div`\n position: relative;\n margin-bottom: 2rem;\n\n @media ${media.md} {\n display: flex;\n flex-flow: row wrap;\n justify-content: left;\n }\n`\n\nconst Block = styled.div`\n width: 100%;\n margin: 0 auto;\n\n @media ${media.md} {\n width: 310px;\n }\n\n @media ${media.md} {\n margin: 0 1rem 1rem;\n }\n\n @media ${media.lg} {\n width: 33%;\n margin: 0 0 1rem;\n }\n\n .collapse-content {\n height: 0;\n visibility: hidden;\n overflow: hidden;\n position: absolute;\n left: 0;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n transition: height 200ms ease;\n z-index: 1;\n\n &.active {\n visibility: visible;\n }\n\n &--inner {\n position: absolute;\n left: 0;\n }\n\n &--scroller {\n position: absolute;\n left: 0;\n width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n z-index: 2;\n margin-top: 45px;\n }\n }\n`\n\nconst BlockContent = styled.div`\n border-bottom: none;\n margin-top: 2rem;\n\n @media ${media.lg} {\n margin-bottom: 0;\n padding-bottom: 0;\n padding: 0 1rem 1rem;\n border-bottom: 1px solid ${props => props.theme.colors.lightGrey};\n border-right: 1px solid ${props => props.theme.colors.lightGrey};\n\n &:hover {\n background: linear-gradient(230.34deg, #FFFFFF 71.34%, #F9F9F9 100%);\n }\n }\n\n button {\n text-decoration: underline;\n -webkit-appearance: none;\n border: none;\n padding: 0;\n background: none;\n\n img {\n padding-left: 1rem;\n }\n\n .hover {\n display: none;\n }\n\n &:hover {\n color: ${props => props.theme.colors.red};\n\n .non-hover {\n display: none;\n }\n\n .hover {\n display: inline-block;\n }\n }\n }\n`\n\nconst CloseBar = styled.div`\n width: 100%;\n height: 65px;\n position: relative;\n display: flex;\n align-items: center;\n padding-left: 0.5rem;\n\n .close-icon {\n cursor: pointer;\n }\n\n p {\n margin-bottom: 0;\n padding-left: 1rem;\n }\n`\n\nconst Arrows = styled.div`\n position: absolute;\n z-index: 3;\n right: 0;\n cursor: pointer;\n\n img {\n padding-left: 1rem;\n }\n\n`\n\nconst Query = () => (\n (\n \n )}\n query={graphql`\n query {\n WorkshopVideoPoster: file(relativePath: { eq: \"WorkshopPage/getting-ready-to-roar.jpg\" }) {\n childImageSharp {\n gatsbyImageData(width: 600, quality: 100)\n }\n }\n allVideoHubJson {\n edges {\n node {\n id\n title\n video\n sourceUrl\n copy\n cards\n }\n }\n }\n allTeacherLibraryJson {\n edges {\n node {\n id\n tag\n color\n slug\n title\n body\n selector\n link\n categories\n }\n }\n }\n }\n\t\t`}\n />\n)\n\nclass VideoHubPage extends Component {\n constructor(props) {\n super(props);\n \n this.state = {\n vimeoModalOpen: false,\n kalturaModalOpen: false,\n selectedCategories: [],\n activeId: \"\",\n contentHeight: 0\n }\n }\n \n componentDidMount() {\n \n let width = document.getElementsByClassName('collapse-content--scroller')[0].offsetWidth\n \n this.setState({\n containerWidth: width\n })\n \n }\n \n selectCategory = (category) => {\n let selectedCategories = this.state.selectedCategories\n \n if (selectedCategories.includes(category)) {\n const index = selectedCategories.indexOf(category);\n selectedCategories.splice(index, 1);\n } else {\n selectedCategories.push(category)\n }\n \n this.setState({selectedCategories})\n }\n \n toggleVimeoModal = (e, src) => {\n e.preventDefault();\n \n this.setState({\n src: src,\n vimeoModalOpen: !this.state.vimeoModalOpen,\n });\n }\n \n toggleKalturaModal = (e, src) => {\n e.preventDefault();\n \n this.setState({\n src: src,\n kalturaModalOpen: !this.state.kalturaModalOpen,\n });\n }\n \n toggleCollapse = (e, id) => {\n e.preventDefault();\n const collapse = id\n let activeId = \"\"\n \n if (this.state.activeId !== collapse) {\n activeId = collapse;\n }\n \n this.setState({\n [collapse]: !this.state[collapse],\n activeId: activeId,\n contentHeight: 375\n })\n \n }\n \n scrollContentToLeft = (e, id) => {\n const content = document.getElementById(id);\n const content_scroll_width = content.scrollWidth;\n let scrollLeft = content.scrollLeft;\n \n scrollLeft += 220;\n \n if (scrollLeft >= content_scroll_width) {\n scrollLeft = content_scroll_width;\n }\n \n content.scrollLeft = scrollLeft;\n \n }\n \n scrollContentToRight = (e, id) => {\n const content = document.getElementById(id);\n let scrollLeft = content.scrollLeft;\n \n scrollLeft -= 220;\n \n if (scrollLeft <= 0) {\n scrollLeft = 0;\n }\n \n content.scrollLeft = scrollLeft;\n }\n \n render() {\n \n const card1 = {\n \"tag\": \"secondary\",\n \"color\": \"yellow\",\n \"slug\": \"card1\",\n \"title\": \"Key Stage 3\",\n \"body\": \"This resource aims to help your students develop an understanding of the employability skills the team uses.\",\n \"selector\": \"pdf\",\n \"link\": \"/pdfs/Getting-Ready-to-Roar-KS3-Resource.pdf\"\n }\n \n const card2 = {\n \"tag\": \"secondary\",\n \"color\": \"yellow\",\n \"slug\": \"card2\",\n \"title\": \"Key Stage 4\",\n \"body\": \"This resource aims to help your students develop an understanding of the employability skills the team uses.\",\n \"selector\": \"pdf\",\n \"link\": \"/pdfs/Getting-Ready-to-Roar-KS4-Resource.pdf\"\n }\n \n \n const videos = this.props.data.allVideoHubJson.edges.map(({node}, i) => {\n \n let showArrows;\n \n let containerWidth = this.state.containerWidth;\n let scrollWidth = node.cards.length * 216;\n \n showArrows = scrollWidth > containerWidth;\n \n return (\n \n \n this.toggleKalturaModal(e, node.video)} aria-label=\"Open video\" role=\"button\"\n tabindex=\"0\">\n \n \n \n \n \n \n \n {node.title}\n \n {node.copy}\n \n this.toggleCollapse(e, `collapse-${i}`)}>\n View associated resources\n \n \n \n \n \n \n this.toggleCollapse(e, `collapse-${i}`)} src={IconClose}\n alt=\"\"/>\n Close associated resources for {node.title}\n {showArrows &&\n \n this.scrollContentToRight(e, `collapse-scroller-${i}`)} className=\"arrow-left\"\n src={ArrowLeft} alt=\"\"/>\n this.scrollContentToLeft(e, `collapse-scroller-${i}`)} className=\"arrow-left\"\n src={ArrowRight} alt=\"\"/>\n \n }\n \n \n \n \n \n \n \n \n \n \n )\n })\n \n \n return (\n \n \n \n \n \n \n \n Backstage Careers Documentary\n \n \n \n \n this.toggleKalturaModal(e, \"https://secure.disney.com/embed/58f9b6fe5a6ed0f4fad9b0b0?domain=www.disney.co.uk\")}\n aria-label=\"Open video\" role=\"button\" tabindex=\"0\">\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Getting Ready to Roar\n A unique insight into the intense backstage preparation of a performance. Scroll down\n for more video content.\n \n \n \n \n \n Behind-The-Scenes Videos\n \n \n \n {videos}\n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default Query","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyM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gNDEuMDE1NCAwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zNi41MTU0IDM0LjQxNDRWNDcuNjE2NEMzNi41MTU0IDQ3Ljk5NzYgMzYuOTI0OSA0OC4yMzg2IDM3LjI1ODIgNDguMDUzNUw0OS4xNCA0MS40NTI1QzQ5LjQ4MjkgNDEuMjYyIDQ5LjQ4MjkgNDAuNzY4OCA0OS4xMzk5IDQwLjU3ODNMMzcuMjU4MiAzMy45Nzc0QzM2LjkyNDkgMzMuNzkyMiAzNi41MTU0IDM0LjAzMzIgMzYuNTE1NCAzNC40MTQ0Wk0zNy45ODY3IDMyLjY2NjFDMzYuNjUzNiAzMS45MjU1IDM1LjAxNTQgMzIuODg5NSAzNS4wMTU0IDM0LjQxNDRWNDcuNjE2NEMzNS4wMTU0IDQ5LjE0MTMgMzYuNjUzNiA1MC4xMDUzIDM3Ljk4NjcgNDkuMzY0N0w0OS44Njg0IDQyLjc2MzdDNTEuMjQgNDIuMDAxNyA1MS4yNCA0MC4wMjkxIDQ5Ljg2ODQgMzkuMjY3MUwzNy45ODY3IDMyLjY2NjFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K\""],"names":["_excluded","getColumnSizeClass","isXs","colWidth","colSize","Col","props","className","cssModule","widths","Tag","tag","attributes","colClasses","forEach","i","columnProp","_classNames","colSizeInterfix","colClass","size","push","order","offset","_colClass","length","classes","defaultProps","Row","noGutters","form","Card","styled","displayName","componentId","cardTopOrange","cardTopBlue","cardTopGreen","cardTopPurple","cardTopYellow","theme","colors","red","DownloadButton","white","orange","blue","green","purple","yellow","black","media","CardItemNew","_Component","_this","call","toggleModal","e","src","preventDefault","setState","modalOpen","state","toggleKalturaModal","kalturaModalOpen","_inheritsLoose","prototype","render","_this2","card","this","React","key","id","slug","color","dangerouslySetInnerHTML","__html","title","body","selector","download","target","href","link","IconDownload","alt","IconDownloadWhite","onClick","IconPlay","IconPlayWhite","includes","IconArrow","IconArrowWhite","VideoModal","KalturaModal","Component","VModal","Modal","withConfig","apply","arguments","isOpen","toggle","centered","ButtonClose","ModalBody","width","height","frameBorder","allow","allowFullScreen","Resources","CardsNew","_len","args","Array","_key","concat","listResources","existingTag","totalTags","getResources","data","allTeacherLibraryJson","edges","map","resource","cards","cat","parseFloat","node","currentTag","uniqueTags","_toConsumableArray","Set","style","display","StaticQuery","Object","assign","query","Relative","CardWrapper","VideoWrapper","BlockSection","Block","BlockContent","lightGrey","CloseBar","Arrows","VideoHubPage","selectCategory","category","selectedCategories","index","indexOf","splice","toggleVimeoModal","vimeoModalOpen","toggleCollapse","_this$setState","collapse","activeId","contentHeight","scrollContentToLeft","content","document","getElementById","content_scroll_width","scrollWidth","scrollLeft","scrollContentToRight","_proto","componentDidMount","getElementsByClassName","offsetWidth","containerWidth","videos","allVideoHubJson","_ref","showArrows","marginBottom","video","role","tabindex","sourceUrl","BtnPlay","copy","IconClose","Layout","HeaderCopy","Container","fluid","xs","lg","xl","GatsbyImage","image","WorkshopVideoPoster","childImageSharp","gatsbyImageData"],"sourceRoot":""}
{card.body}
{node.copy}
Close associated resources for {node.title}
A unique insight into the intense backstage preparation of a performance. Scroll down\n for more video content.