<commit_before><header>
	{{!-- Skip to main content accessibility link --}}
    <a class="skiplink" href="#main" tabindex="0">
        Skip to main content
    </a>
	{{!-- produced for download analytics function --}}
	<div id="pagePath" class="hide">{{uri}}</div>
	{{!-- Prototype banner --}}
	<div class="beta-banner">
		<div class="wrapper">
			{{#resolve "/"}}{{md serviceMessage}}{{/resolve}}
		</div>
	</div>
	{{!-- LANGUAGE TOGGLE AND SECONDARY NAV - DESKTOP --}}
		<div class="wrapper">
			<div class="header col-wrap">
				<div class="col col--lg-one-third col--md-one-third">
					<a href="/">
						<img class="main-logo" src="/img/ons-logo.png" alt="Office for National Statistics">
					</a>
				</div>
                <div class="col col--lg-two-thirds col--md-two-thirds hide--mobile print--hide">
                    {{!-- Need space to keep secondary links at bottom when language toggle not displaying --}}
                    &nbsp;
                    {{!-- Show different block depending on whether JS or not - saves enhancing <dl> to look and behave like a <select> --}}
                    <noscript>
                        <dl class="language js-enhance--hide">
                            <dt class="language__title">Language:</dt>
                            <dd class="language__item">
                                <a href="http://{{replace location.host "cy." ""}}{{uri}}"
                                   class="language__link icon--hide">English (EN)</a>
                            </dd>
                            <dd class="language__item">
                                <a href="http://cy.{{replace location.host "cy." ""}}{{uri}}"
                                   class="language__link icon--hide">Cymraeg (CY)</a>
                            </dd>
                        </dl>
                    </noscript>
                    <form class="language language--js js-enhance--show">
                        <label class="language--js__label" for="lang">Language:</label>
                        <select class="language--js__select" id="lang" name="lang">
                            <option value="english" data-url="http://{{replace location.host "cy." ""}}{{uri}}">English (EN)</option>
                            <option value="welsh" data-url="http://cy.{{replace location.host "cy." ""}}{{uri}}">Cymraeg (CY)</option>
                        </select>
                    </form>
                </div>
				<div class="secondary-nav col col--lg-two-thirds col--md-two-thirds print--hide">
					<ul class="secondary-nav__list js-nav-clone__list">
                        <li class="secondary-nav__item">
                            <a class="secondary-nav__link {{#if_eq uri '/releasecalendar'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/releasecalendar">{{labels.release-calendar}}</a>
                        </li>
                        <li class="secondary-nav__item">
                            <a class="secondary-nav__link {{#if_eq uri '/methodology'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/methodology">{{labels.methodology}}</a>
                        </li>
                        <li class="secondary-nav__item">
                            <a class="secondary-nav__link {{#if_eq uri '/news'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/news">Media</a>
                        </li>
						<li class="secondary-nav__item">
							<a class="secondary-nav__link {{#if_eq uri '/aboutus'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/aboutus">{{labels.about}}</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	{{!-- /wrapper --}}
	{{!-- MAIN NAV --}}
	<div class="primary-nav print--hide">
		<nav>
			{{!-- MENU AND SEARCH TOGGLES ON MOBILE --}}
			<ul class="nav--controls">
				<li class="nav--controls__item">
					<a href="#nav-primary" id="menu-toggle" aria-controls="nav-primary" class="nav--controls__menu">
						<span class="nav--controls__text">{{labels.menu}}</span>
					</a>
				</li>
				<li class="nav--controls__item {{#if_any (eq listType "search") (eq listType "searchpublication") (eq listType "searchdata")}}search-is-expanded{{/if_any}}">
					<a href="#nav-search" id="search-toggle" aria-controls="nav-search" class="nav--controls__search">
						<span class="nav--controls__text">{{labels.search}}</span>
					</a>
				</li>
			</ul>
			{{!-- PRIMARY NAVIGATION --}}
			<div class="wrapper">
				<ul class="primary-nav__list nav-main--hidden" id="nav-primary">
					<li class="primary-nav__item {{#if_eq uri '/'}}primary-nav__item--active{{/if_eq}} js-nav hide--mobile old-ie--display-block"><a class="primary-nav__link col col--md-7 col--lg-9" href="/">{{labels.home}}</a></li>
					{{!-- loop each top node --}}
					{{#each navigation}}
					{{#if_eq this.type "taxonomy_landing_page"}}
					<li class="primary-nav__item js-nav js-expandable {{#if_any (eq uri breadcrumb.1/uri)  (eq uri ../uri) }}primary-nav__item--active{{/if_any}}">
						<a class="primary-nav__link col col--md-8 col--lg-10" href="{{uri}}" aria-haspopup="true">{{description.title}}</a>
						<ul class="primary-nav__child-list col col--md-16 col--lg-20 js-expandable__content js-nav-hidden jsEnhance" aria-expanded="false" aria-label="submenu">
							{{!-- loop each child node --}}
							{{#each children}}
							<li class="primary-nav__child-item {{#if_any (eq uri breadcrumb.2/uri) (eq uri ../../uri)}}primary-nav__child-item--active{{/if_any}} js-expandable__child">
								<a class="primary-nav__child-link" tabindex="-1" href="{{uri}}" >{{description.title}}</a>
							</li>
							{{/each}}
						</ul>
					</li>
					{{/if_eq}}
					{{/each}}
					{{!-- SECONDARY NAV - PRIMARY --}}
					<li class="primary-nav__item {{#if_eq uri '/surveys'}}primary-nav__item--active{{/if_eq}} js-nav">
						<a class="primary-nav__link  col col--md-8 col--lg-10" href="/surveys">
							{{labels.taking-part-in-a-survey}}
						</a>
					</li>
				</ul>
			</div>
		</nav>
	</div>
	{{!-- SEARCH BAR --}}
	{{#block "block-search-bar"}}
		<div class="search nav-search--hidden print--hide" id="searchBar">
			<div class="wrapper" role="search">
				<form class="col-wrap search__form" {{#if_any (eq listType "searchdata") (eq listType "searchpublication")}}action="{{location.pathname}}"{{else}}action="/search"{{/if_any}}>
					<label class="search__label col col--md-23 col--lg-24" for="nav-search">{{labels.search-for-a-keyword-or-time-series-id}}</label>
					<input type="search" autocomplete="off" class="search__input col col--md-21 col--lg-32" id="nav-search" name="q" value="{{parameters.q.0}}">
					<button type="submit" class="search__button col--md-3 col--lg-3" id="nav-search-submit">
					<span class="visuallyhidden">{{labels.search}}</span>
					<span class="icon icon-search--light"></span>
					</button>
				</form>
			</div>
		</div>
	{{/block}}
</header><commit_msg>Add extra classes for mobile lanugage toggle<commit_after><header>
	{{!-- Skip to main content accessibility link --}}
    <a class="skiplink" href="#main" tabindex="0">
        Skip to main content
    </a>
	{{!-- produced for download analytics function --}}
	<div id="pagePath" class="hide">{{uri}}</div>
	{{!-- Prototype banner --}}
	<div class="beta-banner">
		<div class="wrapper">
			{{#resolve "/"}}{{md serviceMessage}}{{/resolve}}
		</div>
	</div>
	{{!-- LANGUAGE TOGGLE AND SECONDARY NAV - DESKTOP --}}
		<div class="wrapper">
			<div class="header col-wrap">
				<div class="col col--lg-one-third col--md-one-third">
					<a href="/">
						<img class="main-logo" src="/img/ons-logo.png" alt="Office for National Statistics">
					</a>
				</div>
                <div class="col col--lg-two-thirds col--md-two-thirds hide--mobile print--hide language--js__container">
                    {{!-- Need space to keep secondary links at bottom when language toggle not displaying --}}
                    &nbsp;
                    {{!-- Show different block depending on whether JS or not - saves enhancing <dl> to look and behave like a <select> --}}
                    <noscript>
                        <dl class="language js-enhance--hide">
                            <dt class="language__title">Language:</dt>
                            <dd class="language__item">
                                <a href="http://{{replace location.host "cy." ""}}{{uri}}"
                                   class="language__link icon--hide">English (EN)</a>
                            </dd>
                            <dd class="language__item">
                                <a href="http://cy.{{replace location.host "cy." ""}}{{uri}}"
                                   class="language__link icon--hide">Cymraeg (CY)</a>
                            </dd>
                        </dl>
                    </noscript>
                    <form class="language language--js js-enhance--show">
                        <label class="language--js__label" for="lang">Language:</label>
                        <select class="language--js__select" id="lang" name="lang">
                            <option value="english" data-url="http://{{replace location.host "cy." ""}}{{uri}}">English (EN)</option>
                            <option value="welsh" data-url="http://cy.{{replace location.host "cy." ""}}{{uri}}">Cymraeg (CY)</option>
                        </select>
                    </form>
                </div>
				<div class="secondary-nav col col--lg-two-thirds col--md-two-thirds print--hide">
					<ul class="secondary-nav__list js-nav-clone__list">
                        <li class="secondary-nav__item">
                            <a class="secondary-nav__link {{#if_eq uri '/releasecalendar'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/releasecalendar">{{labels.release-calendar}}</a>
                        </li>
                        <li class="secondary-nav__item">
                            <a class="secondary-nav__link {{#if_eq uri '/methodology'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/methodology">{{labels.methodology}}</a>
                        </li>
                        <li class="secondary-nav__item">
                            <a class="secondary-nav__link {{#if_eq uri '/news'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/news">Media</a>
                        </li>
						<li class="secondary-nav__item">
							<a class="secondary-nav__link {{#if_eq uri '/aboutus'}}secondary-nav__link--active{{/if_eq}} js-nav-clone__link" href="/aboutus">{{labels.about}}</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	{{!-- /wrapper --}}
	{{!-- MAIN NAV --}}
	<div class="primary-nav print--hide">
		<nav>
			{{!-- MENU AND SEARCH TOGGLES ON MOBILE --}}
			<ul class="nav--controls">
				<li class="nav--controls__item">
					<a href="#nav-primary" id="menu-toggle" aria-controls="nav-primary" class="nav--controls__menu">
						<span class="nav--controls__text">{{labels.menu}}</span>
					</a>
				</li>
				<li class="nav--controls__item {{#if_any (eq listType "search") (eq listType "searchpublication") (eq listType "searchdata")}}search-is-expanded{{/if_any}}">
					<a href="#nav-search" id="search-toggle" aria-controls="nav-search" class="nav--controls__search">
						<span class="nav--controls__text">{{labels.search}}</span>
					</a>
				</li>
			</ul>
			{{!-- PRIMARY NAVIGATION --}}
			<div class="wrapper nav-main--hidden" id="nav-primary">
				<ul class="primary-nav__list">
					<li class="primary-nav__item {{#if_eq uri '/'}}primary-nav__item--active{{/if_eq}} js-nav hide--mobile old-ie--display-block"><a class="primary-nav__link col col--md-7 col--lg-9" href="/">{{labels.home}}</a></li>
					{{!-- loop each top node --}}
					{{#each navigation}}
					{{#if_eq this.type "taxonomy_landing_page"}}
					<li class="primary-nav__item js-nav js-expandable {{#if_any (eq uri breadcrumb.1/uri)  (eq uri ../uri) }}primary-nav__item--active{{/if_any}}">
						<a class="primary-nav__link col col--md-8 col--lg-10" href="{{uri}}" aria-haspopup="true">{{description.title}}</a>
						<ul class="primary-nav__child-list col col--md-16 col--lg-20 js-expandable__content js-nav-hidden jsEnhance" aria-expanded="false" aria-label="submenu">
							{{!-- loop each child node --}}
							{{#each children}}
							<li class="primary-nav__child-item {{#if_any (eq uri breadcrumb.2/uri) (eq uri ../../uri)}}primary-nav__child-item--active{{/if_any}} js-expandable__child">
								<a class="primary-nav__child-link" tabindex="-1" href="{{uri}}" >{{description.title}}</a>
							</li>
							{{/each}}
						</ul>
					</li>
					{{/if_eq}}
					{{/each}}
					{{!-- SECONDARY NAV - PRIMARY --}}
					<li class="primary-nav__item {{#if_eq uri '/surveys'}}primary-nav__item--active{{/if_eq}} js-nav">
						<a class="primary-nav__link  col col--md-8 col--lg-10" href="/surveys">
							{{labels.taking-part-in-a-survey}}
						</a>
					</li>
				</ul>
			</div>
		</nav>
	</div>
	{{!-- SEARCH BAR --}}
	{{#block "block-search-bar"}}
		<div class="search nav-search--hidden print--hide" id="searchBar">
			<div class="wrapper" role="search">
				<form class="col-wrap search__form" {{#if_any (eq listType "searchdata") (eq listType "searchpublication")}}action="{{location.pathname}}"{{else}}action="/search"{{/if_any}}>
					<label class="search__label col col--md-23 col--lg-24" for="nav-search">{{labels.search-for-a-keyword-or-time-series-id}}</label>
					<input type="search" autocomplete="off" class="search__input col col--md-21 col--lg-32" id="nav-search" name="q" value="{{parameters.q.0}}">
					<button type="submit" class="search__button col--md-3 col--lg-3" id="nav-search-submit">
					<span class="visuallyhidden">{{labels.search}}</span>
					<span class="icon icon-search--light"></span>
					</button>
				</form>
			</div>
		</div>
	{{/block}}
</header>
{'fraction_non_alphanumeric': 0.19611218707409797, 'fraction_numerical': 0.003873466752743706, 'mean_word_length': 2.313212927756654, 'pattern_counts': {'":': 0, '<': 247, '<?xml version=': 0, '>': 247, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '935565', 'n_tokens_mistral': 4947, 'n_tokens_neox': 4296, 'n_words': 850}