<commit_before><search:platform var="clients" conf="platforms.fusion.finance.clients"></search:platform>
<search:platform var="platformHierarchical" conf="services.hierarchical"></search:platform>

<lifecycle:required object="user.name">
    <search:query var="clientQuery" sorts="-weight_d" results-per-page="9">
        <query:filter field="_lw_data_source_s" value="clients"></query:filter>
        <query:filter field="advisor_t" value="{{user.name}}"></query:filter>
    </search:query>
    <search:response var="clientResponse" query="clientQuery" platform="clients">
        <widget:spinner></widget:spinner>
    </search:response>
</lifecycle:required>
<!-- -------------------------------------------- -->
<!-- Define the view                              -->
<!-- -------------------------------------------- -->
<helper:title title="Finance 360"></helper:title>

<!-- HEADER -->
<layout:include file="views/partials/header.tpl.html" placeholder="Search clients..." action="clients"></layout:include>


<!-- CONTENT -->
<layout:grid styling="row-offcanvas" class="clients-page">
    <layout:animate animation="animate-fadeInUp" on="clientResponse" layout-grid>
        <!-- CONTENT > SIDEBAR -->
        <layout:block md="6-24" drawer="left" id="sidebar" styling="blocksidebar-dark">
            <layout:sidebar>
                <search:facet-list response="clientResponse"
                                   styling="facet-list"
                                   facet-names="-_lw_data_source_s,total_aum_f=AUM,account_type_ss=Account Type,city_state_s_hier_ss=Location">>
                    <search:facet collapsible="true" show="8" show-more="20"></search:facet>
                    <search:facet facet-name="total_aum_f" title="AUM">
                        <chart:histogram facet="$parent.facet" show-content="false" show-count="true" show="99" height="50px"></chart:histogram>
                        <widget:slider response="clientResponse" facet-name="total_aum_f"></widget:slider>
                    </search:facet>
                    <search:facet facet-name="city_state_s_hier_ss" show="6" show-more="6">
                        <facet:hierarchical facet-name="city_state_s_hier_ss" platform="platformHierarchical" query="clientQuery"></facet:hierarchical>
                    </search:facet>
                </search:facet-list>
            </layout:sidebar>
        </layout:block>

        <!-- CONTENT > RESULTS -->
        <layout:block md="18-24" class="tk-stl-bg-searchresults">
            <layout:block>
                <layout:box padding-bottom="0">
                    <search:breadcrumbs query="clientQuery" group-by-field="true" exclude="_lw_data_source_s,advisor_s"></search:breadcrumbs>
                </layout:box>
            </layout:block>

            <!-- SELECTED FACETS / SORT OPTIONS -->
            <layout:grid styling="sortoptions-wrapper">
                <layout:block>
                    <layout:box>
                        <search:response-statistics response="clientResponse"></search:response-statistics>
                        <layout:controls class="right">
                            <search:sort response="clientResponse" fields="last_name_s=Last Name"></search:sort>
                        </layout:controls>
                    </layout:box>
                </layout:block>
            </layout:grid><commit_msg>don't show advisor in breadcrumb in client view<commit_after><search:platform var="clients" conf="platforms.fusion.finance.clients"></search:platform>
<search:platform var="platformHierarchical" conf="services.hierarchical"></search:platform>

<lifecycle:required object="user.name">
    <search:query var="clientQuery" sorts="-weight_d" results-per-page="9">
        <query:filter field="_lw_data_source_s" value="clients"></query:filter>
        <query:filter field="advisor_t" value="{{user.name}}"></query:filter>
    </search:query>
    <search:response var="clientResponse" query="clientQuery" platform="clients">
        <widget:spinner></widget:spinner>
    </search:response>
</lifecycle:required>
<!-- -------------------------------------------- -->
<!-- Define the view                              -->
<!-- -------------------------------------------- -->
<helper:title title="Finance 360"></helper:title>

<!-- HEADER -->
<layout:include file="views/partials/header.tpl.html" placeholder="Search clients..." action="clients"></layout:include>


<!-- CONTENT -->
<layout:grid styling="row-offcanvas" class="clients-page">
    <layout:animate animation="animate-fadeInUp" on="clientResponse" layout-grid>
        <!-- CONTENT > SIDEBAR -->
        <layout:block md="6-24" drawer="left" id="sidebar" styling="blocksidebar-dark">
            <layout:sidebar>
                <search:facet-list response="clientResponse"
                                   styling="facet-list"
                                   facet-names="-_lw_data_source_s,total_aum_f=AUM,account_type_ss=Account Type,city_state_s_hier_ss=Location">>
                    <search:facet collapsible="true" show="8" show-more="20"></search:facet>
                    <search:facet facet-name="total_aum_f" title="AUM">
                        <chart:histogram facet="$parent.facet" show-content="false" show-count="true" show="99" height="50px"></chart:histogram>
                        <widget:slider response="clientResponse" facet-name="total_aum_f"></widget:slider>
                    </search:facet>
                    <search:facet facet-name="city_state_s_hier_ss" show="6" show-more="6">
                        <facet:hierarchical facet-name="city_state_s_hier_ss" platform="platformHierarchical" query="clientQuery"></facet:hierarchical>
                    </search:facet>
                </search:facet-list>
            </layout:sidebar>
        </layout:block>

        <!-- CONTENT > RESULTS -->
        <layout:block md="18-24" class="tk-stl-bg-searchresults">
            <layout:block>
                <layout:box padding-bottom="0">
                    <search:breadcrumbs query="clientQuery" group-by-field="true" exclude="_lw_data_source_s,advisor_t"></search:breadcrumbs>
                </layout:box>
            </layout:block>

            <!-- SELECTED FACETS / SORT OPTIONS -->
            <layout:grid styling="sortoptions-wrapper">
                <layout:block>
                    <layout:box>
                        <search:response-statistics response="clientResponse"></search:response-statistics>
                        <layout:controls class="right">
                            <search:sort response="clientResponse" fields="last_name_s=<NAME>"></search:sort>
                        </layout:controls>
                    </layout:box>
                </layout:block>
            </layout:grid>
{'fraction_non_alphanumeric': 0.1746358687656319, 'fraction_numerical': 0.006179196704428424, 'mean_word_length': 2.2635621699471917, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 0, '>': 144, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3383938', 'n_tokens_mistral': 1939, 'n_tokens_neox': 1840, 'n_words': 249}