<commit_before><div id="item-page-container">
    <nav class="menu gsearch">
        <ul class="nav">
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'allResults'}" ng-click="generalSearchCtrl.collection ='allResults'">
                <div>
                    <en>All results</en>
                    <he>כל התוצאות</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'places'}" ng-click="generalSearchCtrl.collection = 'places'">
                <div>
                    <en>Places</en>   
                    <he>מקומות</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'media'}" ng-click="generalSearchCtrl.collection = 'media'">
                <div>
                    <en>Images<br>& Videos</en>
                    <he>תמונות + וידאו</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'personalities'}" ng-click="generalSearchCtrl.collection = 'personalities'">
                <div>
                    <en>Personalities</en>   
                    <he>אישים</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'familyNames'}" ng-click="generalSearchCtrl.collection = 'familyNames'">
                <div>
                    <en>Family names</en>   
                    <he>שמות משפחה</he>
                </div>
            </li>
        </ul>
    </nav>
    <div  id="general-search-page">
        <ng-switch on="generalSearchCtrl.collection">
            <div ng-switch-when='allResults' class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Beit Hatfutsot databases:</br>The vision of Nahum Goldmann</a><br></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגרי המידע של בית:<br>התפוצות בחזונו של נחום גולדמן</a><br></he>
                    </span>
                </div>
            </div> 
            <div ng-switch-when='places' class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Beit Hatfutsot Jewish<br>Communities Database</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגר הקהילות<br>היהודיות של בית התפוצות</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when='media' class="about-bh">
                <div class="title">
                    <span>
                        <en>About <a class="linked" ng-click="generalSearchCtrl.read_about_center()"><NAME>. and <NAME><br>Visual Documentation Center</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">המרכז לתיעוד חזותי<br>ע"ש ברנרד ה. ומרים אוסטר</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when='personalities' class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Beit Hatfutsot Jewish<br>Personalities Database</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגר האישים<br>של בית התפוצות</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when="familyNames" class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Memi De-Shalit Database<br>of Jewish Family Names</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגר השמות<br>ע"ש ממי דה-שליט</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when="family-tree" class="about-bh">
                <div class="title">
                    <span>
                        <en>About <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Douglas E. Goldman Jewish<br>Genealogy Center databases</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">המרכז לגנאלוגיה יהודית<br>ע"ש דגלס א. גולדמן</a></he>
                    </span>
                </div>
            </div>
        </ng-switch>
        <div class="search-results-page">
            <div class="db-results-title"  ng-if="generalSearchCtrl.results.total > 0">
                <en><span class="bold">{{generalSearchCtrl.results.total}}</span> results found for <span class="cap-query bold">{{generalSearchCtrl.query}}</span> ({{generalSearchCtrl.collection_map[generalSearchCtrl.collection].En}})</en>
                <he>נמצאו {{generalSearchCtrl.results.total}} תוצאות עבור <span class="cap-query bold">{{generalSearchCtrl.query}}</span>: ({{generalSearchCtrl.collection_map[generalSearchCtrl.collection].He}})</he>
            </div>
            <div class="item-preview-wrapper">
                <div class="spinner" ng-if="generalSearchCtrl.loading && generalSearchCtrl.query">
                    <img src="images/BH-Loading.gif">
                </div>
                <item-preview
                    item-source="bh"
                    ng-repeat="r_data in generalSearchCtrl.results.hits"
                    preview-data="r_data._source">
                </item-preview>
                <ng-include src="'templates/main/google-it.html'" ng-if="generalSearchCtrl.results.total == 0"></ng-include>
                <div class="loader" ng-click="generalSearchCtrl.fetch_more()" ng-if="generalSearchCtrl.results.total>generalSearchCtrl.results.hits.length">
                    <icon class="eye-icon" alt-text="{en: 'See more', he: 'לראות עוד'}" position="[-447, -628]" hover-offset="[3, 61]"></icon>
                    <div class="loader-desc">
                        <en><span class="bold-part">More</span><br></en>
                        <he>לראות עוד<br></he>
                        <span class="results-number">
                            <en>(+{{generalSearchCtrl.results.total-generalSearchCtrl.results.hits.length}} results)</en>
                            <he>(+{{generalSearchCtrl.results.total-generalSearchCtrl.results.hits.length}} תוצאות)</he>
                        </span>
                    </div>
                </div>
            </div>
            <div class="db-results-title" ng-if="generalSearchCtrl.eurp_total > 0">
                <en><span class="bold">{{generalSearchCtrl.eurp_total + generalSearchCtrl.cjh_total}}</span> External sources results found for <span class="cap-query bold">{{generalSearchCtrl.query}}</span></en>
                <he>נמצאו {{generalSearchCtrl.eurp_total + generalSearchCtrl.cjh_total}} תוצאות עבור <span class="cap-query bold">{{generalSearchCtrl.query}}</span></he>
            </div>
            <div class="db-results-exttitle" ng-if="generalSearchCtrl.cjh_total > 0">
                <en><span class="bold">{{generalSearchCtrl.cjh_total}}</span> Results from <a class="link" href="http://www.cjh.org/" target="_self">the Center for Jewish History</a></en>
                <he>נמצאו <span class="bold">{{generalSearchCtrl.cjh_total}}</span> תוצאות <a class="link" href="http://www.cjh.org/" target="_self">מהמרכז להיסטוריה יהודית</a></he>
            </div>
            <div class="item-preview-wrapper" ng-if="generalSearchCtrl.cjh_total > 0">
                <div class="spinner" ng-if="generalSearchCtrl.loading_cjh && generalSearchCtrl.query">
                    <img src="images/BH-Loading.gif">
                </div>
                <item-preview
                    item-source="cjh"
                    ng-repeat="r_data in generalSearchCtrl.cjh_results"
                    preview-data="r_data">
                </item-preview>
                <div class="loader" ng-click="generalSearchCtrl.fetch_more_cjh()" ng-if="generalSearchCtrl.cjh_total>generalSearchCtrl.cjh_results.length">
                    <icon class="eye-icon" alt-text="{en: 'See more', he: 'לראות עוד'}" position="[-447, -628]" hover-offset="[3, 61]"></icon>
                    <div class="loader-desc ext">
                        <en><span class="bold-part">More</span> from<br> Center for Jewish History</en>
                        <he>לראות עוד<br></he>
                        <span class="results-number">
                            <en>(+{{generalSearchCtrl.cjh_total-generalSearchCtrl.cjh_results.length}} results)</en>
                            <he>(+{{generalSearchCtrl.cjh_total-generalSearchCtrl.cjh_results.length}} תוצאות)</he>
                        </span>
                    </div>
                </div>
            </div>
            <div class="db-results-exttitle" ng-if="generalSearchCtrl.eurp_total > 0">
                <en><span class="bold">{{generalSearchCtrl.eurp_total}}</span> Results from <a class="link" href="http://www.europeana.eu/portal/" target="_self">Europeana</a></span></en>
                <he>נמצאו <span class="bold">{{generalSearchCtrl.eurp_total}}</span> תוצאות <a class="link" href="http://www.europeana.eu/portal/" target="_self">מירופיאנה</a></span>
            </div>
            <div class="item-preview-wrapper" ng-if="generalSearchCtrl.eurp_total > 0">
                <div class="spinner" ng-if="generalSearchCtrl.loading_eurp">
                    <img src="images/BH-Loading.gif">
                </div>
                <item-preview<commit_msg>Open cjh and europeana links in a new tab<commit_after><div id="item-page-container">
    <nav class="menu gsearch">
        <ul class="nav">
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'allResults'}" ng-click="generalSearchCtrl.collection ='allResults'">
                <div>
                    <en>All results</en>
                    <he>כל התוצאות</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'places'}" ng-click="generalSearchCtrl.collection = 'places'">
                <div>
                    <en>Places</en>   
                    <he>מקומות</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'media'}" ng-click="generalSearchCtrl.collection = 'media'">
                <div>
                    <en>Images<br>& Videos</en>
                    <he>תמונות + וידאו</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'personalities'}" ng-click="generalSearchCtrl.collection = 'personalities'">
                <div>
                    <en>Personalities</en>   
                    <he>אישים</he>
                </div>
            </li>
            <li class="menu-item" ng-class="{'menu-item--active': generalSearchCtrl.collection == 'familyNames'}" ng-click="generalSearchCtrl.collection = 'familyNames'">
                <div>
                    <en>Family names</en>   
                    <he>שמות משפחה</he>
                </div>
            </li>
        </ul>
    </nav>
    <div  id="general-search-page">
        <ng-switch on="generalSearchCtrl.collection">
            <div ng-switch-when='allResults' class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Beit Hatfutsot databases:</br>The vision of Nahum Goldmann</a><br></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגרי המידע של בית:<br>התפוצות בחזונו של נחום גולדמן</a><br></he>
                    </span>
                </div>
            </div> 
            <div ng-switch-when='places' class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Beit Hatfutsot Jewish<br>Communities Database</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגר הקהילות<br>היהודיות של בית התפוצות</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when='media' class="about-bh">
                <div class="title">
                    <span>
                        <en>About <a class="linked" ng-click="generalSearchCtrl.read_about_center()"><NAME>. and <NAME><br>Visual Documentation Center</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">המרכז לתיעוד חזותי<br>ע"ש ברנרד ה. ומרים אוסטר</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when='personalities' class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Beit Hatfutsot Jewish<br>Personalities Database</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגר האישים<br>של בית התפוצות</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when="familyNames" class="about-bh">
                <div class="title">
                    <span>
                        <en>About the <a class="linked" ng-click="generalSearchCtrl.read_about_center()">Memi De-Shalit Database<br>of Jewish Family Names</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">מאגר השמות<br>ע"ש ממי דה-שליט</a></he>
                    </span>
                </div>
            </div>
            <div ng-switch-when="family-tree" class="about-bh">
                <div class="title">
                    <span>
                        <en>About <a class="linked" ng-click="generalSearchCtrl.read_about_center()"><NAME><br>Genealogy Center databases</a></en>
                        <he>אודות <a class="linked" ng-click="generalSearchCtrl.read_about_center()">המרכז לגנאלוגיה יהודית<br>ע"ש דגלס א. גולדמן</a></he>
                    </span>
                </div>
            </div>
        </ng-switch>
        <div class="search-results-page">
            <div class="db-results-title"  ng-if="generalSearchCtrl.results.total > 0">
                <en><span class="bold">{{generalSearchCtrl.results.total}}</span> results found for <span class="cap-query bold">{{generalSearchCtrl.query}}</span> ({{generalSearchCtrl.collection_map[generalSearchCtrl.collection].En}})</en>
                <he>נמצאו {{generalSearchCtrl.results.total}} תוצאות עבור <span class="cap-query bold">{{generalSearchCtrl.query}}</span>: ({{generalSearchCtrl.collection_map[generalSearchCtrl.collection].He}})</he>
            </div>
            <div class="item-preview-wrapper">
                <div class="spinner" ng-if="generalSearchCtrl.loading && generalSearchCtrl.query">
                    <img src="images/BH-Loading.gif">
                </div>
                <item-preview
                    item-source="bh"
                    ng-repeat="r_data in generalSearchCtrl.results.hits"
                    preview-data="r_data._source">
                </item-preview>
                <ng-include src="'templates/main/google-it.html'" ng-if="generalSearchCtrl.results.total == 0"></ng-include>
                <div class="loader" ng-click="generalSearchCtrl.fetch_more()" ng-if="generalSearchCtrl.results.total>generalSearchCtrl.results.hits.length">
                    <icon class="eye-icon" alt-text="{en: 'See more', he: 'לראות עוד'}" position="[-447, -628]" hover-offset="[3, 61]"></icon>
                    <div class="loader-desc">
                        <en><span class="bold-part">More</span><br></en>
                        <he>לראות עוד<br></he>
                        <span class="results-number">
                            <en>(+{{generalSearchCtrl.results.total-generalSearchCtrl.results.hits.length}} results)</en>
                            <he>(+{{generalSearchCtrl.results.total-generalSearchCtrl.results.hits.length}} תוצאות)</he>
                        </span>
                    </div>
                </div>
            </div>
            <div class="db-results-title" ng-if="generalSearchCtrl.eurp_total > 0">
                <en><span class="bold">{{generalSearchCtrl.eurp_total + generalSearchCtrl.cjh_total}}</span> External sources results found for <span class="cap-query bold">{{generalSearchCtrl.query}}</span></en>
                <he>נמצאו {{generalSearchCtrl.eurp_total + generalSearchCtrl.cjh_total}} תוצאות עבור <span class="cap-query bold">{{generalSearchCtrl.query}}</span></he>
            </div>
            <div class="db-results-exttitle" ng-if="generalSearchCtrl.cjh_total > 0">
                <en><span class="bold">{{generalSearchCtrl.cjh_total}}</span> Results from <a class="link" href="http://www.cjh.org/" target="_blank">the Center for Jewish History</a></en>
                <he>נמצאו <span class="bold">{{generalSearchCtrl.cjh_total}}</span> תוצאות <a class="link" href="http://www.cjh.org/" target="_blank">מהמרכז להיסטוריה יהודית</a></he>
            </div>
            <div class="item-preview-wrapper" ng-if="generalSearchCtrl.cjh_total > 0">
                <div class="spinner" ng-if="generalSearchCtrl.loading_cjh && generalSearchCtrl.query">
                    <img src="images/BH-Loading.gif">
                </div>
                <item-preview
                    item-source="cjh"
                    ng-repeat="r_data in generalSearchCtrl.cjh_results"
                    preview-data="r_data">
                </item-preview>
                <div class="loader" ng-click="generalSearchCtrl.fetch_more_cjh()" ng-if="generalSearchCtrl.cjh_total>generalSearchCtrl.cjh_results.length">
                    <icon class="eye-icon" alt-text="{en: 'See more', he: 'לראות עוד'}" position="[-447, -628]" hover-offset="[3, 61]"></icon>
                    <div class="loader-desc ext">
                        <en><span class="bold-part">More</span> from<br> Center for Jewish History</en>
                        <he>לראות עוד<br></he>
                        <span class="results-number">
                            <en>(+{{generalSearchCtrl.cjh_total-generalSearchCtrl.cjh_results.length}} results)</en>
                            <he>(+{{generalSearchCtrl.cjh_total-generalSearchCtrl.cjh_results.length}} תוצאות)</he>
                        </span>
                    </div>
                </div>
            </div>
            <div class="db-results-exttitle" ng-if="generalSearchCtrl.eurp_total > 0">
                <en><span class="bold">{{generalSearchCtrl.eurp_total}}</span> Results from <a class="link" href="http://www.europeana.eu/portal/" target="_blank">Europeana</a></span></en>
                <he>נמצאו <span class="bold">{{generalSearchCtrl.eurp_total}}</span> תוצאות <a class="link" href="http://www.europeana.eu/portal/" target="_blank">מירופיאנה</a></span>
            </div>
            <div class="item-preview-wrapper" ng-if="generalSearchCtrl.eurp_total > 0">
                <div class="spinner" ng-if="generalSearchCtrl.loading_eurp">
                    <img src="images/BH-Loading.gif">
                </div>
                <item-preview
{'fraction_non_alphanumeric': 0.15568652914439837, 'fraction_numerical': 0.002497377753358973, 'mean_word_length': 1.9336263736263737, 'pattern_counts': {'":': 0, '<': 532, '<?xml version=': 0, '>': 546, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4380234', 'n_tokens_mistral': 6449, 'n_tokens_neox': 5998, 'n_words': 914}