text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="d3fa6f2d-7eb0-4334-a679-066e079b76b6" name="Default" comment="">
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AbstractBundle/Controller/InterfaceController.php" afterPath="$PROJECT_DIR$/src/AbstractBundle/Controller/InterfaceController.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AbstractBundle/Service/InterfaceService.php" afterPath="$PROJECT_DIR$/src/AbstractBundle/Service/InterfaceService.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Controller/UserController.php" afterPath="$PROJECT_DIR$/src/AppBundle/Controller/UserController.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Service/UserService.php" afterPath="$PROJECT_DIR$/src/AppBundle/Service/UserService.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/tests/AppBundle/Controller/UserControllerTest.php" afterPath="$PROJECT_DIR$/tests/AppBundle/Controller/UserControllerTest.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/appTestDebugProjectContainer.php" afterPath="$PROJECT_DIR$/var/cache/test/appTestDebugProjectContainer.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/appTestDebugProjectContainer.xml" afterPath="$PROJECT_DIR$/var/cache/test/appTestDebugProjectContainer.xml" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/appTestDebugProjectContainerUrlMatcher.php" afterPath="$PROJECT_DIR$/var/cache/test/appTestDebugProjectContainerUrlMatcher.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/jms_diextra/metadata/AbstractBundle-Service-AbstractService.cache.php" afterPath="$PROJECT_DIR$/var/cache/test/jms_diextra/metadata/AbstractBundle-Service-AbstractService.cache.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/jms_diextra/metadata/AppBundle-Service-UserService.cache.php" afterPath="$PROJECT_DIR$/var/cache/test/jms_diextra/metadata/AppBundle-Service-UserService.cache.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/-/M/YYL50SJLFy4IQGx-lT9g" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/-/M/YYL50SJLFy4IQGx-lT9g" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/C/S/y5cePM-INrYEsICtZEcC" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/C/S/y5cePM-INrYEsICtZEcC" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/F/N/82e57gbYC0COCzpUGhbO" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/F/N/82e57gbYC0COCzpUGhbO" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/K/M/tYV6Ctegu16GnQIHxPMw" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/K/M/tYV6Ctegu16GnQIHxPMw" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/K/S/q1-hZvjUyTc7VAsm4nhR" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/K/S/q1-hZvjUyTc7VAsm4nhR" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/M/W/PQPJIRWH8D2hfQilAPs0" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/M/W/PQPJIRWH8D2hfQilAPs0" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/O/J/uSXz9OrSzWt1nYVOoo8f" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/O/J/uSXz9OrSzWt1nYVOoo8f" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/X/G/OEct7AGVVA94w9DBILZl" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/X/G/OEct7AGVVA94w9DBILZl" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/X/G/mkjkuBt79Ow7iAbGqhkU" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/X/G/mkjkuBt79Ow7iAbGqhkU" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/Y/B/MICRPhdkfWiF7DWX-IYP" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/Y/B/MICRPhdkfWiF7DWX-IYP" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/Z/-/92YDbwE0DsL9zksuV6Gy" afterPath="$PROJECT_DIR$/var/cache/test/pools/rvDTXwTpfY/Z/-/92YDbwE0DsL9zksuV6Gy" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/var/logs/test.log" afterPath="$PROJECT_DIR$/var/logs/test.log" />
    </list>
    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="ComposerSettings" doNotAsk="true" />
  <component name="DatabaseView">
    <option name="SHOW_INTERMEDIATE" value="true" />
    <option name="GROUP_SCHEMA" value="true" />
    <option name="GROUP_CONTENTS" value="false" />
    <option name="SORT_POSITIONED" value="false" />
    <option name="SHOW_TABLE_DETAILS" value="true" />
    <option name="SHOW_EMPTY_GROUPS" value="false" />
    <option name="AUTO_SCROLL_FROM_SOURCE" value="false" />
  </component>
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  <component name="FileEditorManager">
    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
      <file leaf-file-name="UserService.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Service/UserService.php">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="456">
              <caret line="144" column="29" lean-forward="true" selection-start-line="144" selection-start-column="29" selection-end-line="144" selection-end-column="29" />
              <folding>
                <element signature="e#120#169#0#PHP" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="AbstractService.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Service/AbstractService.php">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="240">
              <caret line="65" column="33" lean-forward="false" selection-start-line="65" selection-start-column="20" selection-end-line="65" selection-end-column="33" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="UserController.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/UserController.php">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="450">
              <caret line="123" column="31" lean-forward="false" selection-start-line="123" selection-start-column="31" selection-end-line="123" selection-end-column="31" />
              <folding>
                <element signature="e#41#90#0#PHP" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="UserControllerTest.php" pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/tests/AppBundle/Controller/UserControllerTest.php">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="470">
              <caret line="261" column="32" lean-forward="false" selection-start-line="261" selection-start-column="32" selection-end-line="261" selection-end-column="32" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FindInProjectRecents">
    <findStrings>
      <find>order</find>
      <find>valid</find>
      <find>val</find>
      <find>getMetadataFor(</find>
      <find>validator</find>
      <find>getConstrainedProperties</find>
      <find>getMetadataFor</find>
      <find>a</find>
      <find>ar</find>
      <find>array</find>
      <find>array_re</find>
      <find>array_red</find>
      <find>array_reduce</find>
      <find>entityService</find>
      <find>setRepository</find>
      <find>$_classMethods</find>
      <find>conta</find>
      <find>this->get</find>
      <find>service_container</find>
      <find>$this->key</find>
      <find>private</find>
      <find>singup</find>
      <find>authCheck</find>
      <find>bear</find>
      <find>getBearerToken</find>
      <find>checkToken</find>
      <find>$reponse</find>
      <find>$service = null</find>
    </findStrings>
    <replaceStrings>
      <replace>Request</replace>
      <replace>service</replace>
      <replace>$classMethods</replace>
      <replace>protected</replace>
      <replace>credentialsAreValid</replace>
      <replace>$response</replace>
    </replaceStrings>
  </component>
  <component name="Git.Settings">
    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
  </component>
  <component name="IdeDocumentHistory">
    <option name="CHANGED_PATHS">
      <list>
        <option value="$PROJECT_DIR$/src/AppBundle/Test/ApiTestCase.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/helpers/data/DateInterface.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/helpers/data/DateFormat.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/helpers/DateFormat.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/traits/DateFormat.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Usuario.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/config/default.sql" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Product.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/MigrationVersions.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Order.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Orders.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Request.php" />
        <option value="$PROJECT_DIR$/tests/AppBundle/Controller/DefaultControllerTest.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/DefaultController.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/traits/GenerateForm.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/traits/GenerateEntity.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/traits/GenerateProperties.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Repository/UserRepository.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Repository/AbstractRepository.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/User.php" />
        <option value="$PROJECT_DIR$/app/config/parameters.yml" />
        <option value="$PROJECT_DIR$/tests/AppBundle/Controller/TokkenControllerTest.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/TokkenController.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/security/ApiAuth.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/LoginController.php" />
        <option value="$PROJECT_DIR$/tests/AppBundle/Controller/LoginControllerTest.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Resources/traits/Security.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Controller/AbstractController.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Test/ApiTestCase.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Controller/InterfaceController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/UserController.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Service/InterfaceService.php" />
        <option value="$PROJECT_DIR$/src/AbstractBundle/Service/AbstractService.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Service/UserService.php" />
        <option value="$PROJECT_DIR$/tests/AppBundle/Controller/UserControllerTest.php" />
      </list>
    </option>
  </component>
  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
  <component name="JsGulpfileManager">
    <detection-done>true</detection-done>
    <sorting>DEFINITION_ORDER</sorting>
  </component>
  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
  <component name="ProjectFrameBounds">
    <option name="x" value="65" />
    <option name="y" value="-4" />
    <option name="width" value="1301" />
    <option name="height" value="772" />
  </component>
  <component name="ProjectView">
    <navigator currentView="ProjectPane" proportions="" version="1">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource />
      <sortByType />
      <manualOrder />
      <foldersAlwaysOnTop value="true" />
    </navigator>
    <panes>
      <pane id="ProjectPane">
        <subPane>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="api_project" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="api_project" />
              <option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="api_project" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="api_project" />
              <option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="tests" />
              <option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Controller" />
              <option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
            </PATH_ELEMENT>
          </PATH>
        </subPane>
      </pane>
      <pane id="Scratches" />
      <pane id="Scope" />
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="WebServerToolWindowFactoryState" value="false" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
    <property name="settings.editor.selected.configurable" value="SensioLabs.Insight" />
  </component>
  <component name="RecentsManager">
    <key name="CopyFile.RECENT_KEYS">
      <recent name="$PROJECT_DIR$/tests/AppBundle/Controller" />
      <recent name="$PROJECT_DIR$/src/AppBundle/Controller" />
      <recent name="$PROJECT_DIR$/src/AbstractBundle/Resources/traits" />
    </key>
    <key name="MoveFile.RECENT_KEYS">
      <recent name="$PROJECT_DIR$/src/AbstractBundle/Resources/traits" />
      <recent name="$PROJECT_DIR$/tests/AppBundle/Controller" />
      <recent name="$PROJECT_DIR$/src/AbstractBundle/Resources/helpers" />
      <recent name="$PROJECT_DIR$/src/AbstractBundle" />
    </key>
  </component>
  <component name="RunDashboard">
    <option name="ruleStates">
      <list>
        <RuleState>
          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
        </RuleState>
        <RuleState>
          <option name="name" value="StatusDashboardGroupingRule" />
        </RuleState>
      </list>
    </option>
  </component>
  <component name="RunManager">
    <configuration default="true" type="CodeceptionConfigurationType" factoryName="Codeception">
      <PhpTestRunnerSettings />
      <method />
    </configuration>
    <configuration default="true" type="JavaScriptTestRunnerJest" factoryName="Jest">
      <node-interpreter value="project" />
      <working-dir value="" />
      <envs />
      <scope-kind value="ALL" />
      <method />
    </configuration>
    <configuration default="true" type="JavaScriptTestRunnerProtractor" factoryName="Protractor">
      <config-file value="" />
      <node-interpreter value="project" />
      <envs />
      <method />
    </configuration>
    <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
      <method />
    </configuration>
    <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="project" working-dir="">
      <method />
    </configuration>
    <configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
      <TestRunner />
      <method />
    </configuration>
    <configuration default="true" type="PhpBehatConfigurationType" factoryName="Behat">
      <BehatRunner />
      <method />
    </configuration>
    <configuration default="true" type="PhpLocalRunConfigurationType" factoryName="PHP Console">
      <method />
    </configuration>
    <configuration default="true" type="PhpSpecConfigurationType" factoryName="PHPSpec">
      <PhpTestRunnerSettings />
      <method />
    </configuration>
    <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
      <node-interpreter>project</node-interpreter>
      <node-options />
      <gulpfile />
      <tasks />
      <arguments />
      <envs />
      <method />
    </configuration>
    <configuration default="true" type="js.build_tools.npm" factoryName="npm">
      <command value="run" />
      <scripts />
      <node-interpreter value="project" />
      <envs />
      <method />
    </configuration>
    <configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha">
      <node-interpreter>project</node-interpreter>
      <node-options />
      <working-directory />
      <pass-parent-env>true</pass-parent-env>
      <envs />
      <ui />
      <extra-mocha-options />
      <test-kind>DIRECTORY</test-kind>
      <test-directory />
      <recursive>false</recursive>
      <method />
    </configuration>
  </component>
  <component name="ShelveChangesManager" show_recycled="false">
    <option name="remove_strategy" value="false" />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="d3fa6f2d-7eb0-4334-a679-066e079b76b6" name="Default" comment="" />
      <created>1514404943380</created>
      <option name="number" value="Default" />
      <option name="presentableId" value="Default" />
      <updated>1514404943380</updated>
      <workItem from="1514404944889" duration="37000" />
      <workItem from="1514405009209" duration="108000" />
      <workItem from="1514405134912" duration="16000" />
      <workItem from="1514405160956" duration="5000" />
      <workItem from="1514405197361" duration="117000" />
      <workItem from="1514405363008" duration="58000" />
      <workItem from="1514405432778" duration="42111000" />
      <workItem from="1514907590591" duration="70000" />
      <workItem from="1514992208057" duration="13710000" />
      <workItem from="1515062065882" duration="16429000" />
    </task>
    <servers />
  </component>
  <component name="TimeTrackingManager">
    <option name="totallyTimeSpent" value="72661000" />
  </component>
  <component name="ToolWindowManager">
    <frame x="65" y="-4" width="1301" height="772" extended-state="6" />
    <editor active="true" />
    <layout>
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23665339" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24940239" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32972136" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
    </layout>
    <layout-to-restore>
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32972136" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23266932" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24940239" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
    </layout-to-restore>
  </component>
  <component name="TypeScriptGeneratedFilesManager">
    <option name="processedProjectFiles" value="true" />
  </component>
  <component name="VcsContentAnnotationSettings">
    <option name="myLimit" value="2678400000" />
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager />
    <watches-manager />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Command/generateParametersCommand.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="-180">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Command/BuildParameters.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/composer.json">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="316">
          <caret line="32" column="29" lean-forward="false" selection-start-line="32" selection-start-column="29" selection-end-line="32" selection-end-column="29" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/UsuarioController.php" />
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/traits/DateFormat.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/helpers/data/DateInterface.php" />
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/traits/DateFormat.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="140">
          <caret line="12" column="1" lean-forward="true" selection-start-line="12" selection-start-column="1" selection-end-line="12" selection-end-column="1" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Usuario.php" />
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/config/services.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/config/default.sql">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="20">
          <caret line="1" column="0" lean-forward="true" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/MigrationVersions.php" />
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Product.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="220">
          <caret line="11" column="3" lean-forward="false" selection-start-line="11" selection-start-column="3" selection-end-line="11" selection-end-column="3" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/tests/AppBundle/Controller/UsuarioControllerTest.php" />
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Request.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="220">
          <caret line="11" column="3" lean-forward="true" selection-start-line="11" selection-start-column="3" selection-end-line="11" selection-end-column="3" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/phpunit/phpunit/src/Framework/TestCase.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="135">
          <caret line="1936" column="20" lean-forward="false" selection-start-line="1936" selection-start-column="20" selection-end-line="1936" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/DefaultController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="240">
          <caret line="15" column="20" lean-forward="true" selection-start-line="15" selection-start-column="20" selection-end-line="15" selection-end-column="20" />
          <folding>
            <element signature="e#41#90#0#PHP" expanded="false" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/tests/AppBundle/Controller/DefaultControllerTest.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="157">
          <caret line="26" column="0" lean-forward="false" selection-start-line="26" selection-start-column="0" selection-end-line="26" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/config_test.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/services.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/config.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="217">
          <caret line="20" column="9" lean-forward="false" selection-start-line="20" selection-start-column="4" selection-end-line="20" selection-end-column="9" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="206">
          <caret line="37" column="20" lean-forward="false" selection-start-line="37" selection-start-column="20" selection-end-line="37" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="326">
          <caret line="59" column="77" lean-forward="false" selection-start-line="59" selection-start-column="77" selection-end-line="59" selection-end-column="77" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/Validator/Validator/RecursiveValidator.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="120">
          <caret line="13" column="4" lean-forward="true" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/GenericMetadata.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="30">
          <caret line="173" column="20" lean-forward="false" selection-start-line="173" selection-start-column="20" selection-end-line="173" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/ClassMetadata.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="120">
          <caret line="13" column="4" lean-forward="true" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="5156">
          <caret line="298" column="7" lean-forward="true" selection-start-line="298" selection-start-column="7" selection-end-line="298" selection-end-column="7" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/traits/GenerateProperties.php" />
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/User.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="379">
          <caret line="57" column="27" lean-forward="false" selection-start-line="57" selection-start-column="27" selection-end-line="57" selection-end-column="27" />
          <folding>
            <element signature="e#36#68#0#PHP" expanded="false" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerInterface.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="-994">
          <caret line="24" column="10" lean-forward="false" selection-start-line="24" selection-start-column="10" selection-end-line="24" selection-end-column="10" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/parameters.yml.dist">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="300">
          <caret line="23" column="55" lean-forward="true" selection-start-line="23" selection-start-column="55" selection-end-line="23" selection-end-column="55" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerAwareInterface.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="220">
          <caret line="18" column="10" lean-forward="false" selection-start-line="18" selection-start-column="10" selection-end-line="18" selection-end-column="10" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/friendsofsymfony/rest-bundle/Controller/FOSRestController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="110">
          <caret line="21" column="45" lean-forward="true" selection-start-line="21" selection-start-column="45" selection-end-line="21" selection-end-column="45" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/friendsofsymfony/rest-bundle/Controller/ControllerTrait.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="206">
          <caret line="65" column="23" lean-forward="false" selection-start-line="65" selection-start-column="23" selection-end-line="65" selection-end-column="23" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/traits/GenerateForm.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="60">
          <caret line="15" column="0" lean-forward="false" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="42" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/LoginController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="136">
          <caret line="29" column="0" lean-forward="true" selection-start-line="29" selection-start-column="0" selection-end-line="29" selection-end-column="0" />
          <folding>
            <element signature="e#41#90#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/tests/AppBundle/Controller/LoginControllerTest.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="419">
          <caret line="49" column="86" lean-forward="false" selection-start-line="49" selection-start-column="86" selection-end-line="49" selection-end-column="86" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Resources/traits/Security.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="206">
          <caret line="87" column="20" lean-forward="false" selection-start-line="87" selection-start-column="20" selection-end-line="87" selection-end-column="20" />
          <folding>
            <element signature="e#139#160#0#PHP" expanded="false" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Controller/AbstractController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="1820">
          <caret line="91" column="30" lean-forward="false" selection-start-line="91" selection-start-column="30" selection-end-line="91" selection-end-column="30" />
          <folding>
            <element signature="e#46#91#0#PHP" expanded="false" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Repository/AbstractRepository.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="219">
          <caret line="21" column="20" lean-forward="false" selection-start-line="21" selection-start-column="20" selection-end-line="21" selection-end-column="20" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Repository/UserRepository.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="379">
          <caret line="29" column="46" lean-forward="false" selection-start-line="29" selection-start-column="46" selection-end-line="29" selection-end-column="46" />
          <folding>
            <element signature="e#41#96#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Test/ApiTestCase.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="40">
          <caret line="71" column="23" lean-forward="true" selection-start-line="71" selection-start-column="23" selection-end-line="71" selection-end-column="23" />
          <folding>
            <element signature="e#127#177#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/phpunit.xml.dist">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="-170">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/LICENSE">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/parameters.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="240">
          <caret line="12" column="52" lean-forward="false" selection-start-line="12" selection-start-column="52" selection-end-line="12" selection-end-column="52" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Controller/InterfaceController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="330">
          <caret line="49" column="51" lean-forward="false" selection-start-line="49" selection-start-column="51" selection-end-line="49" selection-end-column="51" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Service/InterfaceService.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="250">
          <caret line="48" column="18" lean-forward="false" selection-start-line="48" selection-start-column="18" selection-end-line="48" selection-end-column="18" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/UserController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="450">
          <caret line="123" column="31" lean-forward="false" selection-start-line="123" selection-start-column="31" selection-end-line="123" selection-end-column="31" />
          <folding>
            <element signature="e#41#90#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AbstractBundle/Service/AbstractService.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="240">
          <caret line="65" column="33" lean-forward="false" selection-start-line="65" selection-start-column="20" selection-end-line="65" selection-end-column="33" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Service/UserService.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="456">
          <caret line="144" column="29" lean-forward="true" selection-start-line="144" selection-start-column="29" selection-end-line="144" selection-end-column="29" />
          <folding>
            <element signature="e#120#169#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/tests/AppBundle/Controller/UserControllerTest.php">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="470">
          <caret line="261" column="32" lean-forward="false" selection-start-line="261" selection-start-column="32" selection-end-line="261" selection-end-column="32" />
          <folding />
        </state>
      </provider>
    </entry>
  </component>
</project>


text:
import { createFetchFn, FetchFn } from '@stacks/network';
import { makeProfileZoneFile, signProfileToken, wrapProfileToken } from '@stacks/profile';
import { connectToGaiaHub, GaiaHubConfig } from '@stacks/storage';
import { Identity, Profile } from './common';
import { IdentityKeyPair } from './utils';
import { uploadToGaiaHub } from './utils/gaia';

export const DEFAULT_PROFILE: Profile = {
  '@type': 'Person',
  '@context': 'http://schema.org',
};

const DEFAULT_PROFILE_FILE_NAME = 'profile.json';

export enum Subdomains {
  TEST = 'test-personal.id',
  BLOCKSTACK = 'id.blockstack',
}

export const registrars = {
  [Subdomains.TEST]: {
    registerUrl: 'https://test-registrar.blockstack.org/register',
    apiUrl: 'https://test-registrar.blockstack.org/v1/names',
  },
  [Subdomains.BLOCKSTACK]: {
    registerUrl: 'https://registrar.blockstack.org/register',
    apiUrl: 'https://registrar.blockstack.org/v1/names',
  },
};

export function signProfileForUpload(profile: Profile, keypair: IdentityKeyPair) {
  const privateKey = keypair.key;
  const publicKey = keypair.keyID;

  const token = signProfileToken(profile, privateKey, { publicKey });
  const tokenRecord = wrapProfileToken(token);
  const tokenRecords = [tokenRecord];
  return JSON.stringify(tokenRecords, null, 2);
}

export async function uploadProfile(
  gaiaHubUrl: string,
  identity: Identity,
  signedProfileTokenData: string,
  gaiaHubConfig?: GaiaHubConfig
) {
  const identityHubConfig =
    gaiaHubConfig || (await connectToGaiaHub(gaiaHubUrl, identity.keyPair.key));

  const uploadResponse = await uploadToGaiaHub(
    DEFAULT_PROFILE_FILE_NAME,
    signedProfileTokenData,
    identityHubConfig
  );
  return uploadResponse;
}

interface SendToRegistrarParams {
  username: string;
  subdomain: Subdomains;
  zoneFile: string;
  identity: Identity;
  fetchFn?: FetchFn;
}

const sendUsernameToRegistrar = async ({
  username,
  subdomain,
  zoneFile,
  identity,
  fetchFn = createFetchFn(),
}: SendToRegistrarParams) => {
  const { registerUrl } = registrars[subdomain];

  const registrationRequestBody = JSON.stringify({
    name: username,
    owner_address: identity.address,
    zonefile: zoneFile,
  });

  const requestHeaders = {
    Accept: 'application/json',
    'Content-Type': 'application/json',
  };

  const response = await fetchFn(registerUrl, {
    method: 'POST',
    headers: requestHeaders,
    body: registrationRequestBody,
  });

  if (!response.ok) {
    return Promise.reject({
      error: 'Failed to register username',
      status: response.status,
    });
  }

  return response.json();
};

interface RegisterParams {
  identity: Identity;
  /** The gaia hub URL to use for profile.json upload */
  gaiaHubUrl: string;
  /** The username portion of this subdomain, i.e. only the portion of the name before any periods */
  username: string;
  /** The "domain" used for this subdomain. Can be any of the `Subdomains` enum. */
  subdomain: Subdomains;
}

/**
 * Register a subdomain for a given identity
 */
export const registerSubdomain = async ({
  identity,
  gaiaHubUrl,
  username,
  subdomain,
}: RegisterParams) => {
  const profile = identity.profile || DEFAULT_PROFILE;
  const signedProfileTokenData = signProfileForUpload(profile, identity.keyPair);
  const profileUrl = await uploadProfile(gaiaHubUrl, identity, signedProfileTokenData);
  const fullUsername = `${username}.${subdomain}`;
  const zoneFile = makeProfileZoneFile(fullUsername, profileUrl);
  await sendUsernameToRegistrar({
    username,
    subdomain,
    zoneFile,
    identity,
  });
  identity.defaultUsername = fullUsername;
  identity.usernames.push(fullUsername);
  return identity;
};

export const signAndUploadProfile = async ({
  profile,
  gaiaHubUrl,
  identity,
  gaiaHubConfig,
}: {
  profile: Profile;
  gaiaHubUrl: string;
  identity: Identity;
  gaiaHubConfig?: GaiaHubConfig;
}) => {
  const signedProfileTokenData = signProfileForUpload(profile, identity.keyPair);
  await uploadProfile(gaiaHubUrl, identity, signedProfileTokenData, gaiaHubConfig);
};

export const fetchProfile = async ({
  identity,
  gaiaUrl,
  fetchFn = createFetchFn(),
}: {
  identity: Identity;
  gaiaUrl: string;
  fetchFn?: FetchFn;
}) => {
  try {
    const url = await identity.profileUrl(gaiaUrl);
    const res = await fetchFn(url);
    if (res.ok) {
      const json = await res.json();
      const { decodedToken } = json[0];
      return decodedToken.payload?.claim as Profile;
    }
    if (res.status === 404) {
      return null;
    }
    throw new Error('Network error when fetching profile');
  } catch (error) {
    return null;
  }
};

redpajama_set_name: RedPajamaGithub


text:
package msdb

import (
	"fmt"
)

func DemoSimpleTable(table SimpleTable) {
	fmt.Println("====Begin Print SimpleTable====")
	fmt.Println("Cols:", table.GetCols())
	fmt.Println("Rows:", table.GetRows())

	//print head
	fmt.Print("Row\t")
	colNames := table.GetColNames()
	//cols:=len(colNames)

	for _, colName := range colNames {
		fmt.Printf("%v\t", colName)
	}
	fmt.Println()

	// print data
	for table.Next() {
		fmt.Printf("%d\t", table.GetRowIndex())
		for _, colName := range colNames {
			fmt.Printf("%v\t", table.GetString(colName))
		}
		fmt.Println()
	}

	fmt.Println("====End.. Print SimpleTable====")
}


text:
#ifndef MATRIX_H
#define	MATRIX_H

#include<iostream>
#include<sstream>
#include<string>
#include<ostream>

class Matrix {
public:
    Matrix(std::string strIn);
    Matrix(int rows, int cols);
    Matrix(const Matrix& orig);

    double get(int row, int col) const {
        return values[(row - 1) * nCols + (col - 1)];
    }

    void set(int row, int col, double val) {
        values[(row - 1) * nCols + (col - 1)] = val;
    }

    int getNRows() const {
        return nRows;
    };

    int getNCols() const {
        return nCols;
    };
    virtual ~Matrix();
    void rowSwap(int r1, int r2);
    void rowMul(int r, double scalerVal);
    void rowAddMul(int dstRow, int srcRow, double scalerValue);
    void rref();
    static Matrix *identity(int n);
    static void copyMatrix(Matrix *dst, const Matrix *src);
    static Matrix *incremental(int m, int n);
    std::string to_string();
    static void mulMatMat(Matrix* r, Matrix* a, Matrix* b);
    friend std::ostream & operator<<(std::ostream &os, const Matrix &m);
private:
    int nRows;
    int nCols;
    double *values;
    bool dequ(double v1, double v2, double tol);
    int maxColForRow(int c);

};

#endif	/* MATRIX_H */


text:
from django.db import models
from caspy import closure

class Thing(models.Model):
    "Dummy model used for testing closure table"
    name = models.CharField(max_length=10)
    tgroup = models.IntegerField()

    objects = models.Manager()
    tree = closure.TreeManager()

    def __str__(self):
        return self.name

ThingPath = closure.path_model(Thing)


text:
FROM qnib/terminal:cos7
MAINTAINER "Christian Kniep <christian@qnib.org>"

RUN yum clean all
RUN yum install -y java-1.8.0-openjdk
RUN cd /usr/share/ && wget -q http://mirrors.jenkins-ci.org/war/1.608/jenkins.war

##### Provide tools to do stuff
# grok testing
RUN yum install -y python-docopt python-simplejson python-envoy rubygems
### WORKAROUND
RUN yum install -y ruby-devel make gcc
#RUN gem install jls-grok
#RUN yum install rubygem-jls-grok
#### \WORKAROUND
# fpm and git
RUN yum install -y git-core rpm-build createrepo bc
### WORKAROUND
RUN gem install --source http://rubygems.org fpm
# RUN yum install -y rubygem-fpm
### \WORKAROUND

### Jenkins HOME
RUN mkdir -p /opt/jenkins
#ADD ./jenkins /opt/jenkins
ADD etc/supervisord.d/jenkins.ini /etc/supervisord.d/
ADD etc/consul.d/check_jenkins.json /etc/consul.d/check_jenkins.json

## To pip install pyslurm
RUN pip install --upgrade pip && \
    pip install cython


text:
package com.raphydaphy.rocksolid.util;

import com.raphydaphy.rocksolid.RockSolid;
import com.raphydaphy.rocksolid.init.ModItems;
import com.raphydaphy.rocksolid.init.ModMisc;
import com.raphydaphy.rocksolid.init.ModTiles;
import com.raphydaphy.rocksolid.tileentity.base.TileEntityFueledBase;
import de.ellpeck.rockbottom.api.GameContent;
import de.ellpeck.rockbottom.api.Registries;
import de.ellpeck.rockbottom.api.construction.resource.ResUseInfo;
import de.ellpeck.rockbottom.api.construction.smelting.SmeltingRecipe;
import de.ellpeck.rockbottom.api.entity.player.AbstractEntityPlayer;
import de.ellpeck.rockbottom.api.item.ItemInstance;
import de.ellpeck.rockbottom.api.particle.IParticleManager;
import de.ellpeck.rockbottom.api.tile.MultiTile;
import de.ellpeck.rockbottom.api.tile.Tile;
import de.ellpeck.rockbottom.api.tile.state.TileState;
import de.ellpeck.rockbottom.api.util.Pos2;
import de.ellpeck.rockbottom.api.util.reg.ResourceName;
import de.ellpeck.rockbottom.api.world.IWorld;
import de.ellpeck.rockbottom.api.world.layer.TileLayer;

import java.awt.*;
import java.util.List;
import java.util.Random;

public class ModUtils {
    public static final int COAL = new Color(0.5F, 0.1F, 0.1F).getRGB();
    public static final int PROGRESS = new Color(0.1F, 0.5F, 0.1F).getRGB();
    public static final int ENERGY = new Color(148, 0, 211).getRGB();

    public static final ResourceName ASSEMBLY_CAPACITY_KEY = RockSolid.createRes("assembly_capacity");
    public static final ResourceName ASSEMBLY_EFFICIENCY_KEY = RockSolid.createRes("assembly_efficiency");
    public static final ResourceName ASSEMBLY_SPEED_KEY = RockSolid.createRes("assembly_speed");
    public static final ResourceName ASSEMBLY_BONUS_KEY = RockSolid.createRes("assembly_bonus");
    public static final ResourceName ASSEMBLY_THROUGHPUT_KEY = RockSolid.createRes("assembly_throughput");
    private static ResUseInfo stone = new ResUseInfo(GameContent.RES_STONE);
    private static ResUseInfo sandstone = new ResUseInfo(ModMisc.RES_SANDSTONE);
    private static ResUseInfo soil = new ResUseInfo(GameContent.RES_SOIL);
    private static ResUseInfo log = new ResUseInfo(GameContent.RES_WOOD_RAW);
    private static ResUseInfo moon_stone = new ResUseInfo(ModTiles.RES_MOON_STONE);
    private static ResUseInfo moon_turf = new ResUseInfo(ModTiles.RES_MOON_TURF);
    private static ResUseInfo copper = new ResUseInfo(GameContent.RES_COPPER_PROCESSED);
    private static ResUseInfo tin = new ResUseInfo(ModItems.RES_TIN_PROCESSED);
    private static ResUseInfo bronze = new ResUseInfo(ModItems.RES_BRONZE_PROCESSED);
    private static ResUseInfo iron = new ResUseInfo(ModItems.RES_IRON_PROCESSED);
    private static ResUseInfo nickel = new ResUseInfo(ModItems.RES_NICKEL_PROCESSED);
    private static ResUseInfo steel = new ResUseInfo(ModItems.RES_STEEL_PROCESSED);
    private static ResUseInfo magnesium = new ResUseInfo(ModItems.RES_MAGNESIUM_PROCESSED);
    private static ResUseInfo impure_titanium = new ResUseInfo(ModItems.RES_TITANIUM_IMPURE);
    private static ResUseInfo titanium = new ResUseInfo(ModItems.RES_TITANIUM_PROCESSED);
    private static ResUseInfo tungsten = new ResUseInfo(ModItems.RES_TUNGSTEN_PROCESSED);
    private static ResUseInfo nickel_tungsten = new ResUseInfo(ModItems.RES_NICKEL_TUNGSTEN_PROCESSED);
    private static ResUseInfo nickel_tungsten_carbide = new ResUseInfo(ModItems.RES_NICKEL_TUNGSTEN_CARBIDE_PROCESSED);
    private static ResUseInfo coal = new ResUseInfo(GameContent.RES_COAL);
    private static ResUseInfo coke = new ResUseInfo(ModItems.RES_COAL_PROCESSED);

    public static void smokeParticle(IWorld world, int x, int y, IParticleManager manager, TileEntityFueledBase te) {
        Random rand = new Random();

        if (te.isActive()) {
            boolean left = rand.nextBoolean();
            double particleX = x + (left ? .05 : .74) + (rand.nextFloat() / 40);
            double particleY = y + (left ? .9 : .7);
            manager.addSmokeParticle(world, particleX, particleY, 0, 0.02, 0.2f + (rand.nextFloat() / 20));
        }
    }

    public static SmeltingRecipe getSmeltingRecipeSafe(ItemInstance input) {
        if (input != null) {
            for (SmeltingRecipe recipe : Registries.SMELTING_REGISTRY.values()) {
                if (recipe.getInput().containsItem(input)) {
                    return recipe;
                }
            }
        }
        return null;
    }

    public static Pos2 innerCoord(IWorld world, Pos2 pos) {
        if (world != null && pos != null) {
            TileState state = world.getState(pos.getX(), pos.getY());

            if (state.getTile() instanceof MultiTile) {
                return ((MultiTile) state.getTile()).getInnerCoord(state);
            }
        }
        return null;
    }

    public static float getAssemblyCapacity(List<ItemInstance> items) {
        float capacity = 0.5f;

        for (ItemInstance item : items) {
            if (item != null) {
                if (sandstone.containsItem(item)) {
                    capacity *= 1.2f;
                } else if (stone.containsItem(item)) {
                    capacity *= 1.1f;
                } else if (soil.containsItem(item)) {
                    capacity *= 0.8f;
                } else if (moon_stone.containsItem(item)) {
                    capacity *= 1.3f;
                } else if (copper.containsItem(item)) {
                    capacity *= 1.5f;
                } else if (iron.containsItem(item)) {
                    capacity *= 0.95f;
                } else if (bronze.containsItem(item)) {
                    capacity *= 1.25f;
                } else if (impure_titanium.containsItem(item)) {
                    capacity *= 0.65f;
                } else if (nickel_tungsten_carbide.containsItem(item)) {
                    capacity *= 1.3f;
                } else if (coke.containsItem(item)) {
                    capacity *= 1.1f;
                }
            }
        }

        return Math.min(Math.max(0, capacity), 1);
    }

    public static float getAssemblyEfficiency(List<ItemInstance> items) {
        float efficiency = 0.5f;

        for (ItemInstance item : items) {
            if (item != null) {
                if (stone.containsItem(item)) {
                    efficiency *= 1.1f;
                } else if (log.containsItem(item)) {
                    efficiency *= 1.15f;
                } else if (soil.containsItem(item)) {
                    efficiency *= 0.6f;
                } else if (sandstone.containsItem(item)) {
                    efficiency *= 0.9f;
                } else if (moon_turf.containsItem(item)) {
                    efficiency *= 1.2f;
                } else if (steel.containsItem(item)) {
                    efficiency *= 1.45f;
                } else if (iron.containsItem(item)) {
                    efficiency *= 0.9f;
                } else if (bronze.containsItem(item)) {
                    efficiency *= 1.25f;
                } else if (tin.containsItem(item)) {
                    efficiency *= 0.8f;
                } else if (copper.containsItem(item)) {
                    efficiency *= 0.85f;
                } else if (impure_titanium.containsItem(item)) {
                    efficiency *= 0.8f;
                } else if (titanium.containsItem(item)) {
                    efficiency *= 1.6f;
                } else if (magnesium.containsItem(item)) {
                    efficiency *= 0.9f;
                } else if (nickel.containsItem(item)) {
                    efficiency *= 1.15f;
                } else if (tungsten.containsItem(item)) {
                    efficiency *= 1.25f;
                } else if (coal.containsItem(item)) {
                    efficiency *= 0.9f;
                } else if (coke.containsItem(item)) {
                    efficiency *= 1.1f;
                }
            }
        }

        return Math.min(Math.max(0, efficiency), 1);
    }

    public static float getAssemblySpeed(List<ItemInstance> items) {
        float speed = 0.5f;

        for (ItemInstance item : items) {
            if (item != null) {
                if (stone.containsItem(item)) {
                    speed *= 0.9f;
                } else if (log.containsItem(item)) {
                    speed *= 0.8f;
                } else if (soil.containsItem(item)) {
                    speed *= 1.35f;
                } else if (moon_turf.containsItem(item)) {
                    speed *= 1.3f;
                } else if (steel.containsItem(item)) {
                    speed *= 1.4f;
                } else if (iron.containsItem(item)) {
                    speed *= 1.1f;
                } else if (bronze.containsItem(item)) {
                    speed *= 1.25f;
                } else if (copper.containsItem(item)) {
                    speed *= 0.9f;
                } else if (impure_titanium.containsItem(item)) {
                    speed *= 1.3f;
                } else if (titanium.containsItem(item)) {
                    speed *= 0.9f;
                } else if (magnesium.containsItem(item)) {
                    speed *= 1.1f;
                } else if (nickel.containsItem(item)) {
                    speed *= 0.7f;
                } else if (nickel_tungsten_carbide.containsItem(item)) {
                    speed *= 1.5f;
                } else if (coal.containsItem(item)) {
                    speed *= 0.8f;
                } else if (coke.containsItem(item)) {
                    speed *= 1.2f;
                }
            }
        }

        return Math.min(Math.max(0, speed), 1);
    }

    public static float getAssemblyBonusYield(List<ItemInstance> items) {
        float bonus = 0.5f;

        for (ItemInstance item : items) {
            if (item != null) {
                if (log.containsItem(item)) {
                    bonus *= 1.15f;
                } else if (soil.containsItem(item)) {
                    bonus *= 0.8f;
                } else if (sandstone.containsItem(item)) {
                    bonus *= 1.05f;
                } else if (moon_stone.containsItem(item)) {
                    bonus *= 1.5f;
                } else if (steel.containsItem(item)) {
                    bonus *= 0.95f;
                } else if (iron.containsItem(item)) {
                    bonus *= 1.2f;
                } else if (bronze.containsItem(item)) {
                    bonus *= 0.9f;
                } else if (tin.containsItem(item)) {
                    bonus *= 1.05f;
                } else if (copper.containsItem(item)) {
                    bonus *= 1.1f;
                } else if (magnesium.containsItem(item)) {
                    bonus *= 1.3f;
                } else if (titanium.containsItem(item)) {
                    bonus *= 1.2f;
                } else if (nickel.containsItem(item)) {
                    bonus *= 1.8f;
                } else if (coal.containsItem(item)) {
                    bonus *= 1.2f;
                } else if (coke.containsItem(item)) {
                    bonus *= 0.85f;
                }
            }
        }

        return Math.min(Math.max(0, bonus), 1);
    }

    public static float getAssemblyThroughput(List<ItemInstance> items) {
        float throughput = 0.5f;

        for (ItemInstance item : items) {
            if (item != null) {
                if (stone.containsItem(item)) {
                    throughput *= 1.1f;
                } else if (log.containsItem(item)) {
                    throughput *= 1.05f;
                } else if (soil.containsItem(item)) {
                    throughput *= 1.3f;
                } else if (moon_turf.containsItem(item)) {
                    throughput *= 1.4f;
                } else if (steel.containsItem(item)) {
                    throughput *= 0.95f;
                } else if (iron.containsItem(item)) {
                    throughput *= 1.1f;
                } else if (bronze.containsItem(item)) {
                    throughput *= 1.25f;
                } else if (tin.containsItem(item)) {
                    throughput *= 1.3f;
                } else if (copper.containsItem(item)) {
                    throughput *= 1.35f;
                } else if (titanium.containsItem(item)) {
                    throughput *= 1.2f;
                } else if (nickel_tungsten.containsItem(item)) {
                    throughput *= 1.4f;
                } else if (coal.containsItem(item)) {
                    throughput *= 0.9f;
                } else if (coke.containsItem(item)) {
                    throughput *= 1.2f;
                }
            }
        }

        return Math.min(Math.max(0, throughput), 1);
    }

    public static boolean placeInCustomLayer(IWorld world, int x, int y, AbstractEntityPlayer player, ItemInstance instance, Tile tile, TileLayer layer) {
        Tile currentTile;
        TileState currentState;
        ResourceName soundName;

        if ((currentTile = world.getState(layer, x, y).getTile()) != tile && currentTile.canReplace(world, x, y, layer) && tile.canPlace(world, x, y, layer, player)) {
            if (!world.isClient()) {
                tile.doPlace(world, x, y, layer, instance, player);
                player.getInv().remove(player.getSelectedSlot(), 1);

                if ((currentState = world.getState(layer, x, y)).getTile() == tile && (soundName = tile.getPlaceSound(player.world, x, y, layer, player, currentState)) != null) {
                    world.playSound(soundName, (double) x + 0.5D, (double) y + 0.5D, (double) layer.index(), 1.0F, 1.0F);
                }
            }
            return true;
        } else {
            return false;
        }
    }
}


text:
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { MdCardModule } from '@angular/material';
import { HighchartsPage } from '../pages/ui/charts/highcharts/highcharts.page';

@NgModule({
    imports     : [
        CommonModule,
        MdCardModule,
        RouterModule.forChild([ { path: '', component: HighchartsPage } ]),
    ],
    declarations: [
        HighchartsPage,
    ],
})
export class HighchartsModule {
}


text:
var express = require('express');
var app = express();

// Global app configuration section
app.set('views', 'cloud/views');  // Specify the folder to find templates
app.set('view engine', 'ejs');    // Set the template engine
app.use(express.bodyParser());    // Middleware for reading request body

function sleep(ms) {
  var start = new Date().getTime(), expire = start + ms;
  while (new Date().getTime() < expire) { }
  return;
}

// This is an example of hooking up a request handler with a specific request
// path and HTTP verb using the Express routing API.
app.get('/hello', function(req, res) {
  sleep(3000);
  res.render('hello', { message: 'Congrats, you just set up your app!' });
});

app.get('/mellow', function(req, res) {
    res.render('hello', { message: 'Congrats, you just set up your app!' });
});

// Attach the Express app to Cloud Code.
app.listen();


text:
<?xml version="1.0" encoding="utf-8"?>
    <resources>
        <string name="ga_trackingId">UA-85524745-1</string>
        <bool name="ga_autoActivityTracking">true</bool>
        <screenName name="com.enrandomlabs.jasensanders.v1.folio.MainActivity">
            Main screen
        </screenName>
        <screenName name="com.enrandomlabs.jasensanders.v1.folio.AddNewActivity">
            Add New Screen
        </screenName>
        <screenName name="com.enrandomlabs.jasensanders.v1.folio.DetailActivity">
            Details Screen
        </screenName>
        <screenName name="com.enrandomlabs.jasensanders.v1.folio.DetailMovieFragment">
            Details Screen Fragment
        </screenName>
        <screenName name="com.enrandomlabs.jasensanders.v1.folio.RetailerSearchActivity">
            Search Screen
        </screenName>
        <screenName name="com.enrandomlabs.jasensanders.v1.folio.barcode.BarcodeActivity">
            Barcode Scanner
        </screenName>
    </resources>


text:
/*                     __                                               *\
**     ________ ___   / /  ___      __ ____  Scala.js Test Suite        **
**    / __/ __// _ | / /  / _ | __ / // __/  (c) 2013, LAMP/EPFL        **
**  __\ \/ /__/ __ |/ /__/ __ |/_// /_\ \    http://scala-js.org/       **
** /____/\___/_/ |_/____/_/ | |__/ /____/                               **
**                          |/____/                                     **
\*                                                                      */
package org.scalajs.testsuite.javalib.lang.reflect

import scala.scalajs.js

import org.junit.Test
import org.junit.Assert._

class ReflectArrayJSTest {

  @inline
  private def testBase(clazz: Class[_], length: Int, expectedClazz: Class[_],
      sampleElem: Any): Unit = {
    val array =
      java.lang.reflect.Array.newInstance(clazz, length).asInstanceOf[Array[_]]
    assertEquals(expectedClazz, array.getClass)
    assertTrue(array.getClass.isArray)
    assertEquals(length, array.length)
    for (i <- 0 until array.length)
      assertEquals(sampleElem, array(i))
  }

  @noinline
  private def testNewInstanceNoInline(clazz: Class[_], length: Int,
      expectedClazz: Class[_], sampleElem: Any): Unit = {
    testBase(clazz, length, expectedClazz, sampleElem)
  }

  @inline
  def testNewInstance(clazz: Class[_], expectedClazz: Class[_],
      sampleElem: Any): Unit = {
    testNewInstanceNoInline(clazz, length = 2, expectedClazz, sampleElem)
    testBase(clazz, length = 2, expectedClazz, sampleElem)

    testNewInstanceNoInline(clazz, length = 0, expectedClazz, sampleElem)
    testBase(clazz, length = 0, expectedClazz, sampleElem)
  }

  @Test def newInstance(): Unit = {
    testNewInstance(classOf[js.Date], classOf[Array[js.Date]], null)
    testNewInstance(classOf[js.Dictionary[_]], classOf[Array[js.Dictionary[_]]], null)
  }
}


text:
#include "HorizonOperationParser.hpp"

#include <utils/DateUtils.hpp>

using namespace ledger::core;

static const JsonParserPathMatcher ACCOUNT_MATCHER("/account");
static const JsonParserPathMatcher SUCCESSFUL_MATCHER("/transaction_successful");
static const JsonParserPathMatcher FUNDER_MATCHER("/funder");
static const JsonParserPathMatcher STARTING_BALANCE_MATCHER("/starting_balance");
static const JsonParserPathMatcher DATE_MATCHER("/created_at");
static const JsonParserPathMatcher TYPE_MATCHER("/type_i");
static const JsonParserPathMatcher TRANSACTION_HASH_MATCHER("/transaction_hash");
static const JsonParserPathMatcher FROM_MATCHER("/from");
static const JsonParserPathMatcher TO_MATCHER("/to");
static const JsonParserPathMatcher AMOUNT_MATCHER("/amount");
static const JsonParserPathMatcher PAGING_TOKEN_MATCHER("/paging_token");
static const JsonParserPathMatcher ID_MATCHER("/id");
static const JsonParserPathMatcher SOURCE_AMOUNT_MATCHER("/source_amount");

// Source asset for path payment
static const JsonParserPathMatcher SOURCE_ASSET_TYPE_MATCHER("/source_asset_type");
static const JsonParserPathMatcher SOURCE_ASSET_CODE_MATCHER("/source_asset_code");
static const JsonParserPathMatcher SOURCE_ASSET_ISSUER_MATCHER("/source_asset_issuer");

#define SOURCE_ASSET (_operation->sourceAsset.isEmpty() ? _operation->sourceAsset = stellar::Asset() : _operation->sourceAsset).getValue()

namespace ledger {
    namespace core {

        bool HorizonOperationParser::Null() {
            return true;
        }

        bool HorizonOperationParser::Bool(bool b) {
            if (_path.match(SUCCESSFUL_MATCHER)) {
                _operation->transactionSuccessful = b;
            }
            return true;
        }

        bool HorizonOperationParser::Int(int i) {
            return true;
        }

        bool HorizonOperationParser::Uint(unsigned i) {
            return true;
        }

        bool HorizonOperationParser::Int64(int64_t i) {
            return true;
        }

        bool HorizonOperationParser::Uint64(uint64_t i) {
            return true;
        }

        bool HorizonOperationParser::Double(double d) {
            return true;
        }

        bool HorizonOperationParser::RawNumber(const rapidjson::Reader::Ch *str, rapidjson::SizeType length, bool copy) {
            if (_path.match(TYPE_MATCHER)) {
                _operation->type = (stellar::OperationType)BigInt::fromString(std::string(str, length)).toInt();
            }
            return true;
        }

        bool HorizonOperationParser::String(const rapidjson::Reader::Ch *str, rapidjson::SizeType length, bool copy) {
            if (_path.match(ID_MATCHER)) {
                _operation->id = std::string(str, length);
            } else if (_path.match(AMOUNT_MATCHER)) {
                _operation->amount = BigInt::fromFloatString(std::string(str, length), 7);
            } else if (_path.match(STARTING_BALANCE_MATCHER)) {
                _operation->amount = BigInt::fromFloatString(std::string(str, length), 7);
            } else if (_path.match(FROM_MATCHER)) {
                _operation->from = std::string(str, length);
            } else if (_path.match(TO_MATCHER)) {
                _operation->to = std::string(str, length);
            } else if (_path.match(ACCOUNT_MATCHER)) {
                _operation->to = std::string(str, length);
            } else if (_path.match(FUNDER_MATCHER)) {
                _operation->from = std::string(str, length);
            } else if (_path.match(DATE_MATCHER)) {
                _operation->createdAt = DateUtils::fromJSON(std::string(str, length));
            } else if (_path.match(PAGING_TOKEN_MATCHER)) {
                _operation->pagingToken = std::string(str, length);
            } else if (_path.match(TRANSACTION_HASH_MATCHER)) {
                _operation->transactionHash = std::string(str, length);
            } else if (_path.match(SOURCE_AMOUNT_MATCHER)) {
                _operation->sourceAmount = BigInt::fromFloatString(std::string(str, length), 7);
            } else if (_path.match(SOURCE_ASSET_CODE_MATCHER)) {
                SOURCE_ASSET.code = std::string(str, length);
            } else if (_path.match(SOURCE_ASSET_TYPE_MATCHER)) {
                SOURCE_ASSET.type = std::string(str, length);
            } else if (_path.match(SOURCE_ASSET_ISSUER_MATCHER)) {
                SOURCE_ASSET.issuer = std::string(str, length);
            } else {
                _assetParser.String(str, length, copy);
            }
            return true;
        }

        bool HorizonOperationParser::StartObject() {
            return true;
        }

        bool HorizonOperationParser::Key(const rapidjson::Reader::Ch *str, rapidjson::SizeType length, bool copy) {
            return true;
        }

        bool HorizonOperationParser::EndObject(rapidjson::SizeType memberCount) {
            return true;
        }

        bool HorizonOperationParser::StartArray() {
            return true;
        }

        bool HorizonOperationParser::EndArray(rapidjson::SizeType elementCount) {
            return true;
        }

        void HorizonOperationParser::init(stellar::Operation *operation) {
            _operation = operation;
            _assetParser.init(&_operation->asset);
        }

        void HorizonOperationParser::setPathView(const JsonParserPathView &path) {
            _path = path;
            _assetParser.setPathView(path);
        }
    } // namespace core
} // namespace ledger


text:
  LLVM_ATTRIBUTE_DEPRECATED(method LLVM_ATTRIBUTE_USED, \
                            "only for use in the debugger")

/// Declares a const void instance method with the name and parameters provided.
/// Methods declared with this macro should never be called except in the
/// debugger.
#define SWIFT_DEBUG_DUMPER(nameAndParams) \
  SWIFT_DEBUG_HELPER(void nameAndParams const)

/// Declares an instance `void dump() const` method. Methods declared with this
/// macro should never be called except in the debugger.
#define SWIFT_DEBUG_DUMP \
  SWIFT_DEBUG_DUMPER(dump())

#endif


text:
"""
Enjoy printing
github: https://github.com/Aploium/ColorfulPyPrint
Author: aploium@aploium.com
License: GPLv3
"""
from __future__ import print_function

from ._Beep import beep
from ._ColorfulPrint import Fore
from ._logtime import logtime
from .extra_output_destination import clean_extra_output_destination, add_extra_output_destination, \
    ExternalPrintBuffer as _ExternalPrintBuffer, extra_print_dests

__author__ = 'Aploium'
__version__ = '0.3.2'
__all__ = ['infoprint', 'dbgprint', 'warnprint', 'errprint', 'importantprint', 'ColorfulPyPrint_set_verbose_level',
           'ColorfulPyPrint_current_verbose_level', 'clean_extra_output_destination', 'add_extra_output_destination']

PRINT_TYPE_INFO = 0
PRINT_TYPE_DEBUG = 1
PRINT_TYPE_WARN = 2
PRINT_TYPE_ERROR = 3
PRINT_TYPE_IMPORTANT_NOTICE = 4

TIME_LEVEL_NONE = 0
TIME_LEVEL_TIME = 1
TIME_LEVEL_FULL = 2

O_TIME_LEVEL = TIME_LEVEL_TIME
O_VERBOSE_LEVEL = 1

def _printr(output, other_inputs, print_type=PRINT_TYPE_INFO, timelevel=O_TIME_LEVEL, is_beep=False, important_level=0):
    """
    an private function to do print function

    :param output: any
    :param other_inputs: list
    :param print_type: int
    :param timelevel: int
    :param is_beep: bool
    """
    # filter extra output destinations meet the limit
    suitable_extra_dest = [x['dest'] for x in extra_print_dests if x['important_level'] <= important_level]

    # assembly timelevel string
    if timelevel == TIME_LEVEL_NONE:
        section_time = ''
    elif timelevel == TIME_LEVEL_FULL:
        section_time = '[' + logtime(is_print_date=True) + '] '
    else:
        section_time = '[' + logtime(is_print_date=False) + '] '

    # Type&Color Section
    if print_type == PRINT_TYPE_INFO:
        section_color = Fore.GREEN
        section_type = '[INFO] '
    elif print_type == PRINT_TYPE_DEBUG:
        section_color = Fore.LIGHTBLUE_EX
        section_type = '[DEBUG] '
    elif print_type == PRINT_TYPE_WARN:
        section_color = Fore.YELLOW
        section_type = '[WARNING] '
    elif print_type == PRINT_TYPE_ERROR:
        section_color = Fore.RED
        section_type = '[ERROR] '
    elif print_type == PRINT_TYPE_IMPORTANT_NOTICE:
        section_color = Fore.LIGHTMAGENTA_EX
        section_type = '[IMPORTANT] '
    else:
        section_color = ''
        section_type = ''

    # Finally Print
    print_str = section_color + section_time + section_type
    if suitable_extra_dest:
        buffer = _ExternalPrintBuffer()
        buffer.replace_stdout()
    print_str += str(output)
    if other_inputs:
        for item in other_inputs:
            print_str += ' ' + str(item)
    print_str += Fore.RESET
    try:
        print(print_str)
    except Exception as e:
        if suitable_extra_dest:
            buffer.reset()
        print(Fore.RED + 'PRINT ERROR: ', e, Fore.RESET)
    finally:
        if suitable_extra_dest:
            buffer.reset()
    if is_beep:
        try:
            beep()
        except:
            pass

    # Print to extra destination(s)
    for item in suitable_extra_dest:
        item.write(section_time + section_type + buffer.buff)

def ColorfulPyPrint_set_verbose_level(verbose_level=1):
    """
    set output verbose level
    :type verbose_level: int
    """
    global O_VERBOSE_LEVEL
    O_VERBOSE_LEVEL = verbose_level
    return O_VERBOSE_LEVEL

def ColorfulPyPrint_current_verbose_level():
    """
    show current verbose level
    :rtype: int
    """
    global O_VERBOSE_LEVEL
    return O_VERBOSE_LEVEL

def infoprint(output, *other_inputs, **kwargs):
    para = {'v': 1,  # verbose
            'timelevel': O_TIME_LEVEL,
            'is_beep': False,
            'i': 1,  # important level (effect extra prints)
            }
    para.update(kwargs)
    if para['v'] <= O_VERBOSE_LEVEL:
        _printr(output, other_inputs, print_type=PRINT_TYPE_INFO,
                timelevel=para['timelevel'], is_beep=para['is_beep'], important_level=para['i'])

def dbgprint(output, *other_inputs, **kwargs):
    para = {'v': 3,  # verbose
            'timelevel': O_TIME_LEVEL,
            'is_beep': False,
            'i': 0,  # important level (effect extra prints)
            }
    para.update(kwargs)
    if para['v'] <= O_VERBOSE_LEVEL:
        _printr(output, other_inputs, print_type=PRINT_TYPE_DEBUG,
                timelevel=para['timelevel'], is_beep=para['is_beep'], important_level=para['i'])

def warnprint(output, *other_inputs, **kwargs):
    para = {'v': 2,  # verbose
            'timelevel': O_TIME_LEVEL,
            'is_beep': False,
            'i': 1,  # important level (effect extra prints)
            }
    para.update(kwargs)
    if para['v'] <= O_VERBOSE_LEVEL:
        _printr(output, other_inputs, print_type=PRINT_TYPE_WARN,
                timelevel=para['timelevel'], is_beep=para['is_beep'], important_level=para['i'])

def errprint(output, *other_inputs, **kwargs):
    para = {'v': 0,  # verbose
            'timelevel': O_TIME_LEVEL,
            'is_beep': False,
            'i': 2,  # important level (effect extra prints)
            }
    para.update(kwargs)
    if para['v'] <= O_VERBOSE_LEVEL:
        _printr(output, other_inputs, print_type=PRINT_TYPE_ERROR,
                timelevel=para['timelevel'], is_beep=para['is_beep'], important_level=para['i'])

def importantprint(output, *other_inputs, **kwargs):
    para = {'v': 0,  # verbose
            'timelevel': O_TIME_LEVEL,
            'is_beep': False,
            'i': 3,  # important level (effect extra prints)
            }
    para.update(kwargs)
    if para['v'] <= O_VERBOSE_LEVEL:
        _printr(output, other_inputs, print_type=PRINT_TYPE_IMPORTANT_NOTICE,
                timelevel=para['timelevel'], is_beep=para['is_beep'], important_level=para['i'])


text:
// // Copyright (c) Microsoft. All rights reserved.
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;

namespace myMultiBinding //needs to match the .xaml page
{
    public partial class Page1 : Page
    {
        private ToolTip _ttp;
        // This function checks the language filter settings to see which code to filter and also grays out tabs with no content
        public void CheckLang(object sender, EventArgs e)
        {
            if (xcsharpCheck.Content == null) // grays out xaml + c# tab
            {
                xamlcsharp.Background = Brushes.Gainsboro;
                xamlcsharp.Foreground = Brushes.White;
                _ttp = new ToolTip();
                ToolTipService.SetShowOnDisabled(xamlcsharp, true);
                _ttp.Content = "This sample is not available in XAML + C#.";
                xamlcsharp.ToolTip = (_ttp);
                xamlcsharp.IsEnabled = false;
            }
            else if (xcsharpCheck.Content != null)
            {
                xamlcsharp.IsEnabled = true;
            }

            if (xvbCheck.Content == null) // grays out xaml + vb tab
            {
                xamlvb.Background = Brushes.Gainsboro;
                xamlvb.Foreground = Brushes.White;
                _ttp = new ToolTip();
                ToolTipService.SetShowOnDisabled(xamlvb, true);
                _ttp.Content = "This sample is not available in XAML + Visual Basic.NET";
                xamlvb.ToolTip = (_ttp);
                xamlvb.IsEnabled = false;
            }
            else if (xvbCheck.Content != null)
            {
                xamlvb.IsEnabled = true;
            }

            if (xaml.Content == null) // grays out xaml
            {
                xaml.IsEnabled = false;
                xaml.Background = Brushes.Gainsboro;
                xaml.Foreground = Brushes.White;
                _ttp = new ToolTip();
                ToolTipService.SetShowOnDisabled(xaml, true);
                _ttp.Content = "This sample is not available in XAML.";
                xaml.ToolTip = (_ttp);
            }
            else if (xaml.Content != null)
            {
                xaml.IsEnabled = true;
            }

            if (csharp.Content == null) // grays out c#
            {
                csharp.IsEnabled = false;
                csharp.Background = Brushes.Gainsboro;
                csharp.Foreground = Brushes.White;
                _ttp = new ToolTip();
                ToolTipService.SetShowOnDisabled(csharp, true);
                _ttp.Content = "This sample is not available in C#.";
                csharp.ToolTip = (_ttp);
            }
            else if (csharp.Content != null)
            {
                csharp.IsEnabled = true;
            }

            if (vb.Content == null) // grays out vb
            {
                vb.IsEnabled = false;
                vb.Background = Brushes.Gainsboro;
                vb.Foreground = Brushes.White;
                _ttp = new ToolTip();
                ToolTipService.SetShowOnDisabled(vb, true);
                _ttp.Content = "This sample is not available in Visual Basic.NET.";
                vb.ToolTip = (_ttp);
            }
            else if (vb.Content != null)
            {
                vb.IsEnabled = true;
            }

            if (managedcpp.Content == null) // grays out cpp
            {
                managedcpp.IsEnabled = false;
                managedcpp.Background = Brushes.Gainsboro;
                managedcpp.Foreground = Brushes.White;
                _ttp = new ToolTip();
                ToolTipService.SetShowOnDisabled(managedcpp, true);
                _ttp.Content = "This sample is not available in Managed C++.";
                managedcpp.ToolTip = (_ttp);
            }
            else if (managedcpp.Content != null)
            {
                managedcpp.IsEnabled = true;
            }
            if (Welcome.Page1.MyDouble == 1) // XAML only
            {
                xaml.Visibility = Visibility.Visible;
                csharp.Visibility = Visibility.Collapsed;
                vb.Visibility = Visibility.Collapsed;
                managedcpp.Visibility = Visibility.Collapsed;
                xamlcsharp.Visibility = Visibility.Collapsed;
                xamlvb.Visibility = Visibility.Collapsed;
            }
            else if (Welcome.Page1.MyDouble == 2) // CSharp
            {
                csharp.Visibility = Visibility.Visible;
                xaml.Visibility = Visibility.Collapsed;
                vb.Visibility = Visibility.Collapsed;
                managedcpp.Visibility = Visibility.Collapsed;
                xamlcsharp.Visibility = Visibility.Collapsed;
                xamlvb.Visibility = Visibility.Collapsed;
            }
            else if (Welcome.Page1.MyDouble == 3) // Visual Basic
            {
                vb.Visibility = Visibility.Visible;
                xaml.Visibility = Visibility.Collapsed;
                csharp.Visibility = Visibility.Collapsed;
                managedcpp.Visibility = Visibility.Collapsed;
                xamlcsharp.Visibility = Visibility.Collapsed;
                xamlvb.Visibility = Visibility.Collapsed;
            }
            else if (Welcome.Page1.MyDouble == 4) // Managed CPP
            {
                managedcpp.Visibility = Visibility.Visible;
                xaml.Visibility = Visibility.Collapsed;
                csharp.Visibility = Visibility.Collapsed;
                vb.Visibility = Visibility.Collapsed;
                xamlcsharp.Visibility = Visibility.Collapsed;
                xamlvb.Visibility = Visibility.Collapsed;
            }
            else if (Welcome.Page1.MyDouble == 5) // No Filter
            {
                xaml.Visibility = Visibility.Visible;
                csharp.Visibility = Visibility.Visible;
                vb.Visibility = Visibility.Visible;
                managedcpp.Visibility = Visibility.Visible;
                xamlcsharp.Visibility = Visibility.Visible;
                xamlvb.Visibility = Visibility.Visible;
            }
            else if (Welcome.Page1.MyDouble == 6) // XAML + CSharp
            {
                xaml.Visibility = Visibility.Collapsed;
                csharp.Visibility = Visibility.Collapsed;
                vb.Visibility = Visibility.Collapsed;
                managedcpp.Visibility = Visibility.Collapsed;
                xamlcsharp.Visibility = Visibility.Visible;
                xamlvb.Visibility = Visibility.Collapsed;
            }
            else if (Welcome.Page1.MyDouble == 7) // XAML + VB
            {
                xaml.Visibility = Visibility.Collapsed;
                csharp.Visibility = Visibility.Collapsed;
                vb.Visibility = Visibility.Collapsed;
                managedcpp.Visibility = Visibility.Collapsed;
                xamlcsharp.Visibility = Visibility.Collapsed;
                xamlvb.Visibility = Visibility.Visible;
            }
        }
    }

    public class NameConverter : IMultiValueConverter
    {
        public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {
            string name;

            switch ((string) parameter)
            {
                case "FormatLastFirst":
                    name = values[1] + ", " + values[0];
                    break;
                default:
                    name = values[0] + " " + values[1];
                    break;
            }

            return name;
        }

        public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
        {
            var splitValues = ((string) value).Split(' ');
            return splitValues;
        }
    }

    public class PersonName
    {
        public PersonName(string first, string last)
        {
            FirstName = first;
            LastName = last;
        }

        public string FirstName { get; set; }
        public string LastName { get; set; }
    }

    public class NameList : ObservableCollection<PersonName>
    {
        public NameList()
        {
            Add(new PersonName("Willa", "Cather"));
            Add(new PersonName("Isak", "Dinesen"));
            Add(new PersonName("Victor", "Hugo"));
            Add(new PersonName("Jules", "Verne"));
        }
    }
}