hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
83d765fdd09ca60b3e3f39e837e2365c4543a0f9 | 16,467 | js | JavaScript | frontend/core/src/main/webapp/static/app/base/drawerAisleDirective.js | jpsalo/extendedmind | 0982cba9c8c1d0ea59f165bf61a3a70f6de5ab8a | [
"Apache-2.0"
] | null | null | null | frontend/core/src/main/webapp/static/app/base/drawerAisleDirective.js | jpsalo/extendedmind | 0982cba9c8c1d0ea59f165bf61a3a70f6de5ab8a | [
"Apache-2.0"
] | null | null | null | frontend/core/src/main/webapp/static/app/base/drawerAisleDirective.js | jpsalo/extendedmind | 0982cba9c8c1d0ea59f165bf61a3a70f6de5ab8a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2013-2014 Extended Mind Technologies Oy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
/*
* Handle aisle background animation classes here.
* NOTE: Editor open animation slows down after first open, which is probably why animation is different for
* the first time vs. the rest.
*/
function drawerAisleDirective($rootScope, DrawerService) {
return {
restrict: 'A',
controller: ['$scope', '$element', function($scope, $element) {
// CALLBACK REGISTRATION
var areaAboutToShrinkCallbacks = {};
var areaAboutToGrowCallbacks = {};
var areaResizeReadyCallbacks = {};
var areaResizeCallbacks = {};
var areaMovedToNewPositionCallbacks = {};
var areaMovedToInitialPositionCallbacks = {};
var areaAboutToMoveToNewPositionCallbacks = {};
var areaAboutToMoveToInitialPositionCallbacks = {};
var areaAboutToHideCallbacks = {};
var areaAboutToShowCallbacks = {};
this.registerDrawerHandleElement = function(handleElement, drawerSide) {
DrawerService.setHandleElement(drawerSide, handleElement);
};
this.registerAreaAboutToShrink = function(callback, feature) {
areaAboutToShrinkCallbacks[feature] = callback;
};
this.registerAreaAboutToGrow = function(callback, feature) {
areaAboutToGrowCallbacks[feature] = callback;
};
this.registerAreaResizeReady = function(callback, feature) {
areaResizeReadyCallbacks[feature] = callback;
};
this.registerAreaResizeCallback = function(callback, feature) {
areaResizeCallbacks[feature] = {callback: callback};
};
this.registerAreaAboutToMoveToNewPosition = function(callback, feature) {
areaAboutToMoveToNewPositionCallbacks[feature] = callback;
};
this.registerAreaAboutToMoveToInitialPosition = function(callback, feature) {
areaAboutToMoveToInitialPositionCallbacks[feature] = callback;
};
this.registerAreaAboutToHide = function(callback, feature) {
areaAboutToHideCallbacks[feature] = callback;
};
this.registerAreaAboutToShow = function(callback, feature) {
areaAboutToShowCallbacks[feature] = callback;
};
this.registerAreaMovedToNewPosition = function(callback, feature) {
areaMovedToNewPositionCallbacks[feature] = callback;
};
this.registerAreaMovedToInitialPosition = function(callback, feature) {
areaMovedToInitialPositionCallbacks[feature] = callback;
};
// INITIALIZATION
function setupMenuDrawer() {
var settings = {
element: $element[0],
touchToDrag: $rootScope.columns === 1 ? true : false,
disable: 'right', // use left only
transitionSpeed: $rootScope.MENU_ANIMATION_SPEED / 1000,
easing: 'ease-out',
minDragDistance: 10,
addBodyClasses: false,
tapToClose: $rootScope.columns === 1 ? true : false,
maxPosition: $rootScope.MENU_WIDTH
};
DrawerService.setupDrawer('left', settings);
}
function setupEditorDrawer() {
var settings = {
element: $element[0],
overrideListeningElement: true,
touchToDrag: $rootScope.columns === 1 ? true : false,
tapToClose: false,
disable: 'left', // use right only
transitionSpeed: $rootScope.EDITOR_ANIMATION_SPEED / 1000,
easing: 'ease-out',
minDragDistance: 0,
addBodyClasses: false,
minPosition: -$rootScope.currentWidth
};
DrawerService.setupDrawer('right', settings);
}
var setAreaResizeNeeded = function() {
for (var area in areaResizeCallbacks) {
if (areaResizeCallbacks.hasOwnProperty(area)) {
var areaResize = areaResizeCallbacks[area];
areaResize.resize = true;
}
}
}.debounce(250); // Fire once every quarter of a second.
function resizeAisleAndSetupDrawers() {
var drawerWidth = 0;
if (DrawerService.isOpen('left')) {
drawerWidth = $rootScope.MENU_WIDTH;
}
var newAisleWidth = $rootScope.currentWidth - drawerWidth;
$element[0].firstElementChild.style.maxWidth = newAisleWidth + 'px';
if (DrawerService.isOpen('right')) {
// Editor drawer needs to be moved into correct position.
DrawerService.setDrawerTranslate('right', -newAisleWidth);
}
// Setup drawers again on every window resize event
// TODO: Can these be set when $rootScope.columns changes, or at least debounced?
setupMenuDrawer();
setupEditorDrawer();
setAreaResizeNeeded();
}
function isAreaResizeNeeded(feature) {
if (areaResizeCallbacks[feature] && areaResizeCallbacks[feature].resize) {
areaResizeCallbacks[feature].callback();
areaResizeCallbacks[feature].resize = false;
}
}
$scope.registerWindowResizedCallback(resizeAisleAndSetupDrawers, 'drawerAisleDirective');
$scope.registerResizeSwiperCallback(isAreaResizeNeeded);
// Initialize everyting
setupMenuDrawer();
DrawerService.registerOpenedCallback('left', menuDrawerOpened, 'drawerAisleDirective');
DrawerService.registerClosedCallback('left', menuDrawerClosed, 'drawerAisleDirective');
DrawerService.registerAboutToOpenCallback('left', menuDrawerAboutToOpen, 'drawerAisleDirective');
DrawerService.registerAboutToCloseCallback('left', menuDrawerAboutToClose, 'drawerAisleDirective');
DrawerService.registerOpenCallback('left', menuDrawerOpen, 'drawerAisleDirective');
DrawerService.registerCloseCallback('left', menuDrawerClose, 'drawerAisleDirective');
setupEditorDrawer();
DrawerService.registerOpenedCallback('right', editorDrawerOpened, 'drawerAisleDirective');
DrawerService.registerClosedCallback('right', editorDrawerClosed, 'drawerAisleDirective');
DrawerService.registerAboutToCloseCallback('right', editorDrawerAboutToClose, 'drawerAisleDirective');
DrawerService.registerOpenCallback('right', editorDrawerOpen, 'drawerAisleDirective');
DrawerService.registerCloseCallback('right', editorDrawerClose, 'drawerAisleDirective');
$element[0].firstElementChild.style.maxWidth = $rootScope.currentWidth + 'px';
// MENU DRAWER CALLBACKS
var partiallyVisibleTouchTimer;
function attachAndFailsafeRemovePartiallyVisibleTouch() {
$element[0].addEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
$rootScope.contentPartiallyVisible = true;
if (partiallyVisibleTouchTimer) {
clearTimeout(partiallyVisibleTouchTimer);
partiallyVisibleTouchTimer = undefined;
}
partiallyVisibleTouchTimer = setTimeout(function() {
$element[0].removeEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
$rootScope.contentPartiallyVisible = false;
}, 1000);
}
/*
* Prevent clicks to elements etc. when menu is open.
*/
function partiallyVisibleDrawerAisleClicked() {
event.preventDefault();
event.stopPropagation();
}
/*
* Fires when open is called programmatically, i.e. menu button pressed.
*/
function menuDrawerOpen() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
if (areaAboutToMoveToNewPositionCallbacks[activeFeature])
areaAboutToMoveToNewPositionCallbacks[activeFeature]();
// There is only one column,
// so we need to prevent any touching from getting to the partially visible aisle.
$element[0].addEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
$rootScope.contentPartiallyVisible = true;
} else {
var drawerAisleContent = $element[0].firstElementChild;
drawerAisleContent.classList.add('animate-container-master');
// There are more than one column, this means the aisle area is about to shrink the
// same time as the menu opens.
var drawerWidth = $rootScope.MENU_WIDTH;
drawerAisleContent.style.maxWidth = $rootScope.currentWidth - drawerWidth + 'px';
if (areaAboutToShrinkCallbacks[activeFeature]) {
areaAboutToShrinkCallbacks[activeFeature](drawerWidth, 'left', $rootScope.MENU_ANIMATION_SPEED);
}
}
}
/*
* Menu drawer animation is ready - menu is open.
*/
function menuDrawerOpened() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
// Re-enable dragging
DrawerService.enableDragging('left');
if (areaMovedToNewPositionCallbacks[activeFeature])
areaMovedToNewPositionCallbacks[activeFeature]();
// There is only one column,
// so we need to prevent any touching from getting to the partially visible aisle.
$element[0].addEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
$rootScope.contentPartiallyVisible = true;
}
else {
$element[0].firstElementChild.classList.remove('animate-container-master');
if (areaResizeReadyCallbacks[activeFeature]) {
// Execute callbacks to resize ready
areaResizeReadyCallbacks[activeFeature]();
}
}
}
/*
* Fires when menu is closed programmatically, i.e. menu button pressed or tapToClose called.
* This is triggered before any animation takes place.
*/
function menuDrawerClose() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
// Menu drawer is closing, disable dragging for the duration of the animation.
// This is enabled again later on.
DrawerService.disableDragging('left');
if (areaAboutToMoveToInitialPositionCallbacks[activeFeature])
areaAboutToMoveToInitialPositionCallbacks[activeFeature]();
} else {
// There are more than one column, this means the aisle area is about to grow the
// same time as the menu closes
var drawerAisleContent = $element[0].firstElementChild;
drawerAisleContent.classList.add('animate-container-master');
var drawerWidth = $rootScope.MENU_WIDTH;
drawerAisleContent.style.maxWidth = $rootScope.currentWidth + 'px';
if (areaAboutToGrowCallbacks[activeFeature]) {
areaAboutToGrowCallbacks[activeFeature](drawerWidth, 'left', $rootScope.MENU_ANIMATION_SPEED);
}
}
}
/*
* Animation of menu drawer ready, menu now hidden.
*/
function menuDrawerClosed() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
if (areaMovedToInitialPositionCallbacks[activeFeature])
areaMovedToInitialPositionCallbacks[activeFeature]();
// Re-enable dragging
DrawerService.enableDragging('left');
// Re-enable touching in fully visible aisle.
$element[0].removeEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
$rootScope.contentPartiallyVisible = false;
}
else {
$element[0].firstElementChild.classList.remove('animate-container-master');
if (areaResizeReadyCallbacks[activeFeature]) {
// Execute callbacks to resize ready
areaResizeReadyCallbacks[activeFeature]();
}
}
}
/*
* Disable swiping when drawer handle is released and about to open and animation starts.
*/
function menuDrawerAboutToOpen() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
if (areaAboutToMoveToNewPositionCallbacks[activeFeature]) {
areaAboutToMoveToNewPositionCallbacks[activeFeature]();
}
attachAndFailsafeRemovePartiallyVisibleTouch();
}
}
/*
* Enable swiping and disable sliding when drawer handle is released and about to close
* and animation starts.
*/
function menuDrawerAboutToClose() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
// Disable dragging for the short time that the menu is animating
DrawerService.disableDragging('left');
if (areaAboutToMoveToInitialPositionCallbacks[activeFeature])
areaAboutToMoveToInitialPositionCallbacks[activeFeature]();
}
}
function editorDrawerOpened() {
if ($rootScope.columns === 1) {
// Animation done. Remove .editor-animating and add .editor-open.
$element[0].firstElementChild.classList.toggle('editor-animating', false);
$element[0].firstElementChild.classList.toggle('editor-open', true);
}
}
function editorDrawerClosed() {
if ($rootScope.columns === 1) {
// Animation done. Remove .editor-animating and remove .editor-open.
$element[0].firstElementChild.classList.toggle('editor-animating', false);
$element[0].firstElementChild.classList.toggle('editor-open', false);
$element[0].removeEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
}
}
/*
* Fires when editor is closed programmatically, i.e. save button pressed.
* This is triggered before any animation takes place.
*/
function editorDrawerClose() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
// Animations starts. Add .editor-animating.
$element[0].firstElementChild.classList.toggle('editor-animating', true);
// Editor drawer is closing, enable swiping for underlying swiper.
if (areaAboutToShowCallbacks[activeFeature]) areaAboutToShowCallbacks[activeFeature]();
$element[0].removeEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
}
}
/*
* Fires when open is called programmatically, i.e. item is pressed.
*/
function editorDrawerOpen() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
// Animation starts. Add .editor-animating.
$element[0].firstElementChild.classList.toggle('editor-animating', true);
if (areaAboutToHideCallbacks[activeFeature]) areaAboutToHideCallbacks[activeFeature]();
$element[0].addEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
}
}
/*
* Enable swiping for underlying swiper when drawer handle is released and about to close
* and animation starts.
*/
function editorDrawerAboutToClose() {
var activeFeature = $scope.getActiveFeature();
if ($rootScope.columns === 1) {
// Animation starts. Add .editor-animating.
$element[0].firstElementChild.classList.toggle('editor-animating', true);
if (areaAboutToShowCallbacks[activeFeature]) areaAboutToShowCallbacks[activeFeature]();
attachAndFailsafeRemovePartiallyVisibleTouch();
}
}
$scope.$on('$destroy', function() {
$element[0].removeEventListener('touchstart', partiallyVisibleDrawerAisleClicked, false);
});
}],
link: function postLink(scope) {
scope.$on('$destroy', function() {
DrawerService.deleteDrawer('left');
DrawerService.deleteDrawer('right');
});
}
};
}
drawerAisleDirective['$inject'] = ['$rootScope', 'DrawerService'];
angular.module('em.base').directive('drawerAisle', drawerAisleDirective);
| 40.559113 | 108 | 0.663934 |
83d846a8a1432abdb889936a74918e970578fe02 | 8,292 | js | JavaScript | solidity/test/CheckpointStore.js | surzm/contracts-solidity | 6864daaad41e3878b34e2d61dc16b9b04db8facb | [
"Apache-2.0"
] | 200 | 2020-06-18T13:33:45.000Z | 2022-03-29T09:38:14.000Z | solidity/test/CheckpointStore.js | clevermacaw/contracts-solidity | a998d98bf87621b8826fa511e0d8f7828cba22d3 | [
"Apache-2.0"
] | 73 | 2020-06-18T18:26:21.000Z | 2022-01-30T17:31:19.000Z | solidity/test/CheckpointStore.js | clevermacaw/contracts-solidity | a998d98bf87621b8826fa511e0d8f7828cba22d3 | [
"Apache-2.0"
] | 100 | 2020-06-16T20:34:55.000Z | 2022-03-25T23:54:07.000Z | const { accounts, defaultSender, contract } = require('@openzeppelin/test-environment');
const { expectRevert, expectEvent, constants, BN, time } = require('@openzeppelin/test-helpers');
const { expect } = require('../../chai-local');
const { roles } = require('./helpers/Constants');
const { ZERO_ADDRESS } = constants;
const { duration } = time;
const { ROLE_OWNER, ROLE_SEEDER } = roles;
const CheckpointStore = contract.fromArtifact('TestCheckpointStore');
describe('CheckpointStore', () => {
const owner = defaultSender;
const seeder = accounts[1];
const nonOwner = accounts[5];
const user = accounts[6];
const user2 = accounts[7];
let checkpointStore;
let now = new BN(1000000000);
beforeEach(async () => {
checkpointStore = await CheckpointStore.new({ from: owner });
await checkpointStore.setTime(now);
});
describe('construction', () => {
it('should properly initialize roles', async () => {
expect(await checkpointStore.getRoleMemberCount.call(ROLE_OWNER)).to.be.bignumber.equal(new BN(1));
expect(await checkpointStore.getRoleMemberCount.call(ROLE_SEEDER)).to.be.bignumber.equal(new BN(0));
expect(await checkpointStore.getRoleAdmin.call(ROLE_OWNER)).to.eql(ROLE_OWNER);
expect(await checkpointStore.getRoleAdmin.call(ROLE_SEEDER)).to.eql(ROLE_OWNER);
expect(await checkpointStore.hasRole.call(ROLE_OWNER, owner)).to.be.true();
expect(await checkpointStore.hasRole.call(ROLE_SEEDER, owner)).to.be.false();
});
});
describe('adding checkpoints', () => {
const testCheckpoint = async (user) => {
const res = await checkpointStore.addCheckpoint(user, { from: owner });
expectEvent(res, 'CheckpointUpdated', {
_address: user,
_time: now
});
expect(await checkpointStore.checkpoint.call(user)).to.be.bignumber.equal(now);
};
const testPastCheckpoint = async (user, time) => {
const res = await checkpointStore.addPastCheckpoint(user, time, { from: seeder });
expectEvent(res, 'CheckpointUpdated', {
_address: user,
_time: time
});
expect(await checkpointStore.checkpoint.call(user)).to.be.bignumber.equal(time);
};
const testPastCheckpoints = async (users, times) => {
const res = await checkpointStore.addPastCheckpoints(users, times, { from: seeder });
for (let i = 0; i < users.length; i++) {
expectEvent(res, 'CheckpointUpdated', {
_address: users[i],
_time: times[i]
});
expect(await checkpointStore.checkpoint.call(users[i])).to.be.bignumber.equal(times[i]);
}
};
context('owner', async () => {
it('should allow an owner to add checkpoints', async () => {
await testCheckpoint(user);
now = now.add(duration.days(1));
await checkpointStore.setTime(now);
await testCheckpoint(user);
await testCheckpoint(user2);
now = now.add(duration.days(5));
await checkpointStore.setTime(now);
await testCheckpoint(user2);
});
it('should revert when a non-owner attempts to add checkpoints', async () => {
await expectRevert(checkpointStore.addCheckpoint(user, { from: nonOwner }), 'ERR_ACCESS_DENIED');
});
it('should revert when an owner attempts to add a checkpoint for the zero address user', async () => {
await expectRevert(checkpointStore.addCheckpoint(ZERO_ADDRESS, { from: owner }), 'ERR_INVALID_ADDRESS');
});
it('should revert when an owner attempts to add checkpoints in an incorrect order', async () => {
await testCheckpoint(user);
now = now.sub(duration.days(1));
await checkpointStore.setTime(now);
await expectRevert(checkpointStore.addCheckpoint(user, { from: owner }), 'ERR_WRONG_ORDER');
});
});
context('seeder', async () => {
const nonSeeder = accounts[2];
beforeEach(async () => {
await checkpointStore.grantRole(ROLE_SEEDER, seeder, { from: owner });
});
it('should allow a seeder to add past checkpoints', async () => {
let past = now.sub(new BN(20000));
await testPastCheckpoint(user, past);
past = past.add(new BN(1000));
await testPastCheckpoint(user, past);
past = past.add(new BN(5000));
await testPastCheckpoint(user2, past);
});
it('should allow a seeder to batch add past checkpoints', async () => {
const past = now.sub(new BN(20000));
await testPastCheckpoints([user, user2], [past, past.add(new BN(1000))]);
});
it('should revert when a seeder attempts to add past checkpoints in an incorrect order', async () => {
let past = now.sub(new BN(1));
await testPastCheckpoint(user, past);
past = past.sub(new BN(1000));
await expectRevert(checkpointStore.addPastCheckpoint(user, past, { from: seeder }), 'ERR_WRONG_ORDER');
await expectRevert(
checkpointStore.addPastCheckpoints([user], [past], { from: seeder }),
'ERR_WRONG_ORDER'
);
});
it('should revert when a non-seeder attempts to add past checkpoints', async () => {
const past = now.sub(new BN(1));
await expectRevert(
checkpointStore.addPastCheckpoint(user, past, { from: nonSeeder }),
'ERR_ACCESS_DENIED'
);
await expectRevert(
checkpointStore.addPastCheckpoints([user], [past], { from: nonSeeder }),
'ERR_ACCESS_DENIED'
);
});
it('should revert when a seeder attempts to add a past checkpoint for the zero address user', async () => {
const past = now.sub(new BN(1));
await expectRevert(
checkpointStore.addPastCheckpoint(ZERO_ADDRESS, past, { from: seeder }),
'ERR_INVALID_ADDRESS'
);
await expectRevert(
checkpointStore.addPastCheckpoints([ZERO_ADDRESS], [past], { from: seeder }),
'ERR_INVALID_ADDRESS'
);
});
it('should revert when a seeder attempts to add a future checkpoint', async () => {
await expectRevert(checkpointStore.addPastCheckpoint(user, now, { from: seeder }), 'ERR_INVALID_TIME');
await expectRevert(
checkpointStore.addPastCheckpoints([user, user], [now, now], { from: seeder }),
'ERR_INVALID_TIME'
);
const future = now.add(new BN(100));
await expectRevert(
checkpointStore.addPastCheckpoint(user, future, { from: seeder }),
'ERR_INVALID_TIME'
);
await expectRevert(
checkpointStore.addPastCheckpoints([user, user], [now.sub(duration.seconds(1)), future], {
from: seeder
}),
'ERR_INVALID_TIME'
);
});
it('should revert when a seeder attempts to add batch checkpoints in an invalid length', async () => {
await expectRevert(
checkpointStore.addPastCheckpoints([user], [now, now], { from: seeder }),
'ERR_INVALID_LENGTH'
);
await expectRevert(
checkpointStore.addPastCheckpoints([user, user], [now], { from: seeder }),
'ERR_INVALID_LENGTH'
);
});
});
});
});
| 40.252427 | 120 | 0.546913 |
83d8979429fbf9b4f76767a384b9dc4f8f8a27ce | 8,455 | js | JavaScript | src/pages/Blogs/blog2.js | accuknox/KubeArmor-website | 9a3ed22f93092c2190ee47461a19771e17839535 | [
"MIT"
] | 1 | 2021-09-27T10:35:08.000Z | 2021-09-27T10:35:08.000Z | src/pages/Blogs/blog2.js | accuknox/KubeArmor-website | 9a3ed22f93092c2190ee47461a19771e17839535 | [
"MIT"
] | 12 | 2021-02-21T09:20:03.000Z | 2022-03-25T11:10:55.000Z | src/pages/Blogs/blog2.js | accuknox/KubeArmor-website | 9a3ed22f93092c2190ee47461a19771e17839535 | [
"MIT"
] | 5 | 2021-02-19T12:40:48.000Z | 2021-05-12T15:32:29.000Z | import { Link } from 'gatsby';
import React from 'react';
import multiUbuntu1 from '../../images/Blog/multiUbuntu1.png';
import multiUbuntu2 from '../../images/Blog/multiUbuntu2.png';
import multiUbuntu3 from '../../images/Blog/multiUbuntu3.jpg';
import multiUbuntu4 from '../../images/Blog/multiUbuntu4.png';
import multiUbuntu5 from '../../images/Blog/multiUbuntu5.png';
import multiUbuntu6 from '../../images/Blog/multiUbuntu6.png';
import multiUbuntu7 from '../../images/Blog/multiUbuntu7.png';
import multiUbuntu8 from '../../images/Blog/multiUbuntu8.png';
import multiUbuntu9 from '../../images/Blog/multiUbuntu9.png';
import multiUbuntu10 from '../../images/Blog/multiUbuntu10.png';
import multiUbuntu11 from '../../images/Blog/multiUbuntu11.png';
import multiUbuntu12 from '../../images/Blog/multiUbuntu12.png';
import multiUbuntu13 from '../../images/Blog/multiUbuntu13.jpg';
const Blog1 = () => {
return (
<div>
<section id="blog" className="pt-10 pb-10">
<div className="container mx-auto">
<div className="text-center justify-between items-center">
<div className="row container mx-auto">
<div className="col-lg-24 col-md-24 pt-4">
<div className="card kbm-card">
<div className="card-header font-weight-bold">
<h3>Security Policy deployment in MultiUbuntu with KubeArmor</h3>
</div>
<div className="card-body font-weight-normal">
<p style={{ textAlign: 'left' }}>
KubeArmor, a container-aware runtime security enforcement system, developed by
Accuknox helps in auditing and blocking any malicious access performed on
containers. It not only restricts the behavior of the container at the system
level but also blocks access to it and generates audit logs, and automatically
sends them to the system. KubeArmor allows operators to define security
policies and apply them to Kubernetes. Then, KubeArmor will automatically
detect the changes in security policies from Kubernetes and enforce them to
the corresponding containers and nodes. If there are any violations against
security policies, KubeArmor immediately generates alerts with container
identities. If operators have any logging systems, it automatically sends the
alerts to their systems as well. To deploy Multiubuntu microservice, the steps
are to be followed. These are the sample security policies for multiubuntu
deployment.{' '}
<a
href="https://github.com/kubearmor/KubeArmor/tree/master/examples/multiubuntu"
target="_blank"
style={{ color: '#007bff' }}
>
Security policies
</a>
<img className="w-100 pt-3" src={multiUbuntu1}></img>
<h4 className="mt-3">Example 1 - Block a process execution:</h4>
In this example, the sleep command can be blocked by applying a security
policy. Let us see how it works before and after applying the security policy.
The picture below shows that the sleep command is working.
<img className="w-100 pt-3" src={multiUbuntu2}></img>
This is the yaml policy to be applied to block the sleep command.
<img className="w-100 pt-3" src={multiUbuntu3}></img>
To apply the policy the following command should be given. Here we can see
that the kubearmor ksp-group-1-proc-path-block.yaml policy is applied.
<img className="w-100 pt-3" src={multiUbuntu4}></img>
To check if the sleep command is blocked, Execute sleep command inside the
ubuntu-1 pod. Replace the appropriate pod name for ubuntu 1.
<img className="w-100 pt-3" src={multiUbuntu5}></img>
Here you can see the permission is denied. To check for audit logs, replace
KubeArmor in the node where ubuntu-1 is located.
<img className="w-100 pt-3" src={multiUbuntu6}></img>
<img className="w-100 pt-3" src={multiUbuntu7}></img>
<h4 className="mt-3">Example 2 - Block file access:</h4>
Another example is to block a specific directory and the subdirectories. In
this example, the credentials directory contains sensitive information. Here
we can access the password text file and can view the username and password.
<img className="w-100 pt-3" src={multiUbuntu8}></img>
Let us see how to apply a policy and how to block this directory. This is the
yaml policy to be applied to block access to sensitive information.
<img className="w-100 pt-3" src={multiUbuntu9}></img>
To apply the policy the following command should be given. Here we can see
that the kubearmor ksp-ubuntu-5-file-dir-recursive-block.yaml policy is
applied.
<img className="w-100 pt-3" src={multiUbuntu10}></img>
To check if the password text file is blocked, Let us try to access Access
/credentials/password inside of the ubuntu-5 pod.
<img className="w-100 pt-3" src={multiUbuntu11}></img>
Here, the permission is denied when we try to view the password text file. To
check audit logs, replace KubeArmor in the node where Ubuntu 5 is located.
<img className="w-100 pt-3" src={multiUbuntu12}></img>
<img className="w-100 pt-3" src={multiUbuntu13}></img>
<h4 className="mt-3">Setting kubeArmor up on Kubernetes</h4>
Prerequisite: We need a working Kubernetes setup for this. We can use a cloud
Kubernetes offering GCP or set yourself locally using minikube. If you are
using minikube then we also require kubectl. The daemon-set has to be
installed as part of the kube-system namespace thus giving it the rights to
watch all the system events. Commands to install: Step #1: Deploy kubearmor
for GKE: kubectl apply -f
https://raw.githubusercontent.com/kubearmor/KubeArmor/master/deployments/GKE/kubearmor.yaml
After a second kubeArmor should be running, to verify, you will see the pods
you created in a moment. Before applying the security policy to the container
or pod the annotations should be added to the deployment, under the metadata
Sample deployment with annotations Here is an example of a security policy
which is to block a process execution of the sleep command. When you apply the
policy it will block this particular command, we can get the audit logs of
that security policy. KubeArmor Security Policy to block sleep command in
containers during runtime Find more about this on “Sample deployment of
Multiubuntu with KubeArmor”
<h4 className="mt-3">Conclusion</h4>
In this blog, we looked at the basics of Kubernetes security monitoring and
how to set up the kubeArmor on Kubernetes which automatically detects the
changes in security policies and enforces them on the respective containers
without any human intervention, and sends the audit logs to their system
admins.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
);
};
export default Blog1;
| 67.103175 | 113 | 0.586872 |
83d8adc15a0db452a98ff63fb0ba435c8859ea4a | 15,063 | js | JavaScript | node_modules/jhipster-core/lib/dsl/validator.js | retkpop/tk-registry | 9eddf63f66d56194618fa5efcec7da7a1df1e81f | [
"Apache-2.0"
] | null | null | null | node_modules/jhipster-core/lib/dsl/validator.js | retkpop/tk-registry | 9eddf63f66d56194618fa5efcec7da7a1df1e81f | [
"Apache-2.0"
] | null | null | null | node_modules/jhipster-core/lib/dsl/validator.js | retkpop/tk-registry | 9eddf63f66d56194618fa5efcec7da7a1df1e81f | [
"Apache-2.0"
] | null | null | null | /** Copyright 2013-2018 the original author or authors from the JHipster project.
*
* This file is part of the JHipster project, see http://www.jhipster.tech/
* for more information.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const _ = require('lodash');
const matchesToken = require('chevrotain').tokenMatcher;
const JDLParser = require('./jdl_parser');
const LexerTokens = require('./lexer').tokens;
const checkConfigKeys = require('./self_checks/parsing_system_checker').checkConfigKeys;
const CONSTANT_PATTERN = /^[A-Z_]+$/;
const ENTITY_NAME_PATTERN = /^[A-Z][A-Za-z0-9]*$/;
const TYPE_NAME_PATTERN = /^[A-Z][A-Za-z0-9]*$/;
const ENUM_NAME_PATTERN = /^[A-Z][A-Za-z0-9]*$/;
const ENUM_PROP_NAME_PATTERN = /^[A-Z][A-Za-z0-9_]*$/;
const METHOD_NAME_PATTERN = /^[A-Za-z][A-Za-z0-9-]*$/;
const JHI_PREFIX_NAME_PATTERN = /^[A-Za-z][A-Za-z0-9-_]*$/;
const PACKAGE_NAME_PATTERN = /^[a-z_][a-z0-9_]*$/;
const ALPHABETIC = /^[A-Za-z]+$/;
const ALPHABETIC_LOWER = /^[a-z]+$/;
const ALPHANUMERIC = /^[A-Za-z][A-Za-z0-9]*$/;
const ALPHANUMERIC_DASH = /^[A-Za-z][A-Za-z0-9-]*$/;
const ALPHABETIC_DASH_LOWER = /^[a-z][a-z-]*$/;
const ALPHANUMERIC_SPACE = /^"?[A-Za-z][A-Za-z0-9- ]*"?$/;
const ALPHANUMERIC_UNDERSCORE = /^[A-Za-z][A-Za-z0-9_]*$/;
const LANGUAGE_PATTERN = /^[a-z]+(-[A-Za-z0-9]+)*$/;
const PATH_PATTERN = /^"([^/]+).*"$/;
// const PASSWORD_PATTERN = /^(.+)$/;
const REPONAME_PATTERN = /^"((?:http(s)?:\/\/)?[\w.-]+(?:\.[\w.-]+)+[\w\-._~:/?#[\]@!$&'()*+,;=.]+|[a-zA-Z0-9]+)"$/;
const configPropsValidations = {
APPLICATION_TYPE: {
type: 'NAME',
pattern: ALPHABETIC_LOWER,
msg: 'applicationType property'
},
AUTHENTICATION_TYPE: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'authenticationType property'
},
BASE_NAME: {
type: 'NAME',
pattern: ALPHANUMERIC_UNDERSCORE,
msg: 'baseName property'
},
BLUEPRINT: {
type: 'NAME',
pattern: ALPHANUMERIC_DASH,
msg: 'blueprint property'
},
BUILD_TOOL: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'buildTool property'
},
CACHE_PROVIDER: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'cacheProvider property'
},
CLIENT_FRAMEWORK: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'clientFramework property'
},
CLIENT_PACKAGE_MANAGER: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'clientPackageManager property'
},
DATABASE_TYPE: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'databaseType property'
},
DEV_DATABASE_TYPE: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'devDatabaseType property'
},
ENTITY_SUFFIX: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'entitySuffix property'
},
DTO_SUFFIX: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'dtoSuffix property'
},
ENABLE_HIBERNATE_CACHE: { type: 'BOOLEAN' },
ENABLE_SWAGGER_CODEGEN: { type: 'BOOLEAN' },
ENABLE_TRANSLATION: { type: 'BOOLEAN' },
FRONT_END_BUILDER: {
type: 'NAME',
pattern: ALPHABETIC,
msg: 'frontendBuilder property'
},
JHIPSTER_VERSION: { type: 'STRING' },
JHI_PREFIX: {
type: 'NAME',
pattern: JHI_PREFIX_NAME_PATTERN,
msg: 'jhiPrefix property'
},
LANGUAGES: {
type: 'list',
pattern: LANGUAGE_PATTERN,
msg: 'languages property'
},
MESSAGE_BROKER: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'messageBroker property'
},
NATIVE_LANGUAGE: {
type: 'NAME',
pattern: LANGUAGE_PATTERN,
msg: 'nativeLanguage property'
},
PACKAGE_NAME: {
type: 'qualifiedName',
pattern: PACKAGE_NAME_PATTERN,
msg: 'packageName property'
},
PROD_DATABASE_TYPE: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'prodDatabaseType property'
},
SEARCH_ENGINE: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'searchEngine property'
},
SERVER_PORT: { type: 'INTEGER' },
SERVICE_DISCOVERY_TYPE: {
type: 'NAME',
pattern: ALPHABETIC_LOWER,
msg: 'serviceDiscoveryType property'
},
SKIP_CLIENT: { type: 'BOOLEAN' },
SKIP_SERVER: { type: 'BOOLEAN' },
SKIP_USER_MANAGEMENT: { type: 'BOOLEAN' },
TEST_FRAMEWORKS: {
type: 'list',
pattern: ALPHANUMERIC,
msg: 'testFrameworks property'
},
UAA_BASE_NAME: { type: 'STRING' },
USE_SASS: { type: 'BOOLEAN' },
WEBSOCKET: {
type: 'NAME',
pattern: ALPHANUMERIC_DASH,
msg: 'websocket property'
}
};
const deploymentConfigPropsValidations = {
DEPLOYMENT_TYPE: {
type: 'NAME',
pattern: ALPHABETIC_DASH_LOWER,
msg: 'deploymentType property'
},
GATEWAY_TYPE: {
type: 'NAME',
pattern: ALPHABETIC_LOWER,
msg: 'gatewayType property'
},
MONITORING: {
type: 'NAME',
pattern: ALPHABETIC_LOWER,
msg: 'monitoring property'
},
DIRECTORY_PATH: {
type: 'STRING',
pattern: PATH_PATTERN,
msg: 'directoryPath property'
},
APPS_FOLDERS: {
type: 'list',
pattern: ALPHANUMERIC,
msg: 'appsFolders property'
},
CLUSTERED_DB_APPS: {
type: 'list',
pattern: ALPHANUMERIC,
msg: 'clusteredDbApps property'
},
CONSOLE_OPTIONS: {
type: 'NAME',
pattern: ALPHABETIC_LOWER,
msg: 'consoleOptions property'
},
// This is not secure, need to find a better way
/* ADMIN_PASSWORD: {
type: 'STRING',
pattern: PASSWORD_PATTERN,
msg: 'adminPassword property'
}, */
SERVICE_DISCOVERY_TYPE: {
type: 'NAME',
pattern: ALPHABETIC_LOWER,
msg: 'serviceDiscoveryType property'
},
DOCKER_REPOSITORY_NAME: {
type: 'STRING',
pattern: REPONAME_PATTERN,
msg: 'dockerRepositoryName property'
},
DOCKER_PUSH_COMMAND: {
type: 'STRING',
pattern: ALPHANUMERIC_SPACE,
msg: 'dockerPushCommand property'
},
KUBERNETES_NAMESPACE: {
type: 'NAME',
pattern: ALPHANUMERIC_DASH,
msg: 'kubernetesNamespace property'
},
KUBERNETES_SERVICE_TYPE: {
type: 'NAME',
pattern: ALPHANUMERIC,
msg: 'kubernetesServiceType property'
},
INGRESS_DOMAIN: {
type: 'STRING',
pattern: REPONAME_PATTERN,
msg: 'ingressDomain property'
},
ISTIO: {
type: 'BOOLEAN',
msg: 'istio property'
},
OPENSHIFT_NAMESPACE: {
type: 'NAME',
pattern: ALPHANUMERIC_DASH,
msg: 'openshiftNamespace property'
},
STORAGE_TYPE: {
type: 'NAME',
pattern: ALPHABETIC_LOWER,
msg: 'storageType property'
}
};
module.exports = {
performAdditionalSyntaxChecks
};
const parser = JDLParser.getParser();
parser.parse();
const BaseJDLCSTVisitorWithDefaults = parser.getBaseCstVisitorConstructorWithDefaults();
class JDLSyntaxValidatorVisitor extends BaseJDLCSTVisitorWithDefaults {
constructor() {
super();
this.validateVisitor();
this.errors = [];
}
checkNameSyntax(token, expectedPattern, errorMessagePrefix) {
if (!expectedPattern.test(token.image)) {
this.errors.push({
message: `The ${errorMessagePrefix} name must match: ${trimAnchors(expectedPattern.toString())}`,
token
});
}
}
checkIsSingleName(fqnCstNode) {
// A Boolean is allowed as a single name as it is a keyword.
// Other keywords do not need special handling as they do not explicitly appear in the rule
// of config values
if (fqnCstNode.tokenType && fqnCstNode.tokenType.CATEGORIES.includes(LexerTokens.BOOLEAN)) {
return false;
}
const dots = fqnCstNode.children.DOT;
if (dots && dots.length >= 1) {
this.errors.push({
message: 'A single name is expected, but found a fully qualified name.',
token: getFirstToken(fqnCstNode)
});
return false;
}
return true;
}
checkExpectedValueType(expected, actual) {
switch (expected) {
case 'NAME':
if (
actual.name !== 'qualifiedName' &&
// a Boolean (true/false) is also a valid name.
(actual.tokenType && !_.includes(actual.tokenType.CATEGORIES, LexerTokens.BOOLEAN))
) {
this.errors.push({
message: `A name is expected, but found: "${getFirstToken(actual).image}"`,
token: getFirstToken(actual)
});
return false;
}
return this.checkIsSingleName(actual);
case 'qualifiedName':
if (actual.name !== 'qualifiedName') {
this.errors.push({
message: `A fully qualified name is expected, but found: "${getFirstToken(actual).image}"`,
token: getFirstToken(actual)
});
return false;
}
return true;
case 'list':
if (actual.name !== 'list') {
this.errors.push({
message: `An array of names is expected, but found: "${getFirstToken(actual).image}"`,
token: getFirstToken(actual)
});
return false;
}
return true;
case 'INTEGER':
if (actual.tokenType !== LexerTokens.INTEGER) {
this.errors.push({
message: `An integer literal is expected, but found: "${getFirstToken(actual).image}"`,
token: getFirstToken(actual)
});
return false;
}
return true;
case 'STRING':
if (actual.tokenType !== LexerTokens.STRING) {
this.errors.push({
message: `A string literal is expected, but found: "${getFirstToken(actual).image}"`,
token: getFirstToken(actual)
});
return false;
}
return true;
case 'BOOLEAN':
if (!matchesToken(actual, LexerTokens.BOOLEAN)) {
this.errors.push({
message: `A boolean literal is expected, but found: "${getFirstToken(actual).image}"`,
token: getFirstToken(actual)
});
return false;
}
return true;
default:
throw Error(`Expected a boolean, a string, an integer, a list or a (qualified) name, got '${expected}'.`);
}
}
checkConfigPropSyntax(key, value) {
const propertyName = key.tokenType.tokenName;
const validation = configPropsValidations[propertyName];
if (!validation) {
throw Error(`Got an invalid application config property: '${propertyName}'.`);
}
if (
this.checkExpectedValueType(validation.type, value) &&
validation.pattern &&
value.children &&
value.children.NAME
) {
value.children.NAME.forEach(nameTok => this.checkNameSyntax(nameTok, validation.pattern, validation.msg));
}
}
checkDeploymentConfigPropSyntax(key, value) {
const propertyName = key.tokenType.tokenName;
const validation = deploymentConfigPropsValidations[propertyName];
if (!validation) {
throw Error(`Got an invalid deployment config property: '${propertyName}'.`);
}
if (
this.checkExpectedValueType(validation.type, value) &&
validation.pattern &&
value.children &&
value.children.NAME
) {
value.children.NAME.forEach(nameTok => this.checkNameSyntax(nameTok, validation.pattern, validation.msg));
} else if (value.image && validation.pattern) {
this.checkNameSyntax(value, validation.pattern, validation.msg);
}
}
constantDeclaration(context) {
super.constantDeclaration(context);
this.checkNameSyntax(context.NAME[0], CONSTANT_PATTERN, 'constant');
}
entityDeclaration(context) {
super.entityDeclaration(context);
this.checkNameSyntax(context.NAME[0], ENTITY_NAME_PATTERN, 'entity');
}
fieldDeclaration(context) {
super.fieldDeclaration(context);
this.checkNameSyntax(context.NAME[0], ALPHANUMERIC, 'fieldName');
}
type(context) {
super.type(context);
this.checkNameSyntax(context.NAME[0], TYPE_NAME_PATTERN, 'typeName');
}
minMaxValidation(context) {
super.minMaxValidation(context);
if (context.NAME) {
this.checkNameSyntax(context.NAME[0], CONSTANT_PATTERN, 'constant');
}
}
relationshipSide(context) {
super.relationshipSide(context);
this.checkNameSyntax(context.NAME[0], ENTITY_NAME_PATTERN, 'entity');
if (context.injectedField) {
this.checkNameSyntax(context.injectedField[0], ALPHANUMERIC, 'injectedField');
if (context.injectedFieldParam) {
this.checkNameSyntax(context.injectedFieldParam[0], ALPHANUMERIC, 'injectedField');
}
}
}
enumDeclaration(context) {
super.enumDeclaration(context);
this.checkNameSyntax(context.NAME[0], ENUM_NAME_PATTERN, 'enum');
}
enumPropList(context) {
super.enumPropList(context);
context.NAME.forEach(nameToken => {
this.checkNameSyntax(nameToken, ENUM_PROP_NAME_PATTERN, 'enum property');
});
}
entityList(context) {
super.entityList(context);
if (context.NAME) {
context.NAME.forEach(nameToken => {
this.checkNameSyntax(nameToken, ENTITY_NAME_PATTERN, 'entity');
});
}
if (context.method) {
this.checkNameSyntax(context.method[0], METHOD_NAME_PATTERN, 'method');
}
}
exclusion(context) {
super.exclusion(context);
context.NAME.forEach(nameToken => {
this.checkNameSyntax(nameToken, ENTITY_NAME_PATTERN, 'entity');
});
}
filterDef(context) {
if (context.NAME) {
context.NAME.forEach(nameToken => {
this.checkNameSyntax(nameToken, ENTITY_NAME_PATTERN, 'entity');
});
}
}
applicationConfigDeclaration(context) {
this.visit(context.configValue, context.CONFIG_KEY[0]);
}
configValue(context, configKey) {
const configValue = _.first(_.first(Object.values(context)));
this.checkConfigPropSyntax(configKey, configValue);
}
deploymentConfigDeclaration(context) {
this.visit(context.deploymentConfigValue, context.DEPLOYMENT_KEY[0]);
}
deploymentConfigValue(context, configKey) {
const configValue = _.first(_.first(_.values(context)));
this.checkDeploymentConfigPropSyntax(configKey, configValue);
}
}
function performAdditionalSyntaxChecks(cst) {
const syntaxValidatorVisitor = new JDLSyntaxValidatorVisitor();
syntaxValidatorVisitor.visit(cst);
return syntaxValidatorVisitor.errors;
}
checkConfigKeys(LexerTokens, Object.keys(configPropsValidations));
function trimAnchors(str) {
return str.replace(/^\^/, '').replace(/\$$/, '');
}
function getFirstToken(tokOrCstNode) {
if (tokOrCstNode.tokenType) {
return tokOrCstNode;
}
// CST Node - - assumes no nested CST Nodes, only terminals
return _.flatten(Object.values(tokOrCstNode.children)).reduce(
(firstTok, nextTok) => (firstTok.startOffset > nextTok.startOffset ? nextTok : firstTok),
{ startOffset: Infinity }
);
}
| 28.260788 | 116 | 0.650335 |
83d8fc6cfa9a9d70c7c2bf6ab9b039d90b0731c9 | 1,423 | js | JavaScript | src/utils/dist/route-validate.dev.js | rodrigomdanieli/teste_vuejs | 8879a2fc2ab23477f6636e0a01c7e2abbb1f6229 | [
"MIT"
] | null | null | null | src/utils/dist/route-validate.dev.js | rodrigomdanieli/teste_vuejs | 8879a2fc2ab23477f6636e0a01c7e2abbb1f6229 | [
"MIT"
] | null | null | null | src/utils/dist/route-validate.dev.js | rodrigomdanieli/teste_vuejs | 8879a2fc2ab23477f6636e0a01c7e2abbb1f6229 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.validateAuthTicket = validateAuthTicket;
exports.validateComponent = validateComponent;
var _main = require("@/api/tickets/main");
var _elementUi = require("element-ui");
function validateAuthTicket(params) {
return regeneratorRuntime.async(function validateAuthTicket$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", (0, _main.checkAuth)(params).then(function (success) {
if (success.status == "ok") {
if (!success.data.authorized || success.data.authorized == " ") {
(0, _elementUi.Message)({
type: "warning",
message: "Ticket not exist or is not allowed!",
duration: 6 * 1000
});
return false;
}
}
;
return true;
}));
case 1:
case "end":
return _context.stop();
}
}
});
}
function validateComponent(component) {
return regeneratorRuntime.async(function validateComponent$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
return _context2.abrupt("return", true);
case 1:
case "end":
return _context2.stop();
}
}
});
} | 25.872727 | 97 | 0.555165 |
83d91e2d524a4fa08065f36fa6364e6ade4239f9 | 10,453 | js | JavaScript | public/app/book_1.js | Trong-TMA/HCTD1 | 94117c88fbbea4245a97eedea78d789131277e01 | [
"MIT"
] | null | null | null | public/app/book_1.js | Trong-TMA/HCTD1 | 94117c88fbbea4245a97eedea78d789131277e01 | [
"MIT"
] | null | null | null | public/app/book_1.js | Trong-TMA/HCTD1 | 94117c88fbbea4245a97eedea78d789131277e01 | [
"MIT"
] | null | null | null | var app = angular.module('book1-app', []).constant('API', 'http://localhost:8080/Cinema/public/');
app.controller('Book1Controller', function($scope, $http, API, $rootScope, $location, $window) {
$scope.Anh_user = 'anhmacdinh.png';
$scope.Ten_user = 'Sign in';
// kiểm tra đăng nhập
$http.get(API + 'user').then(function(response) {
$MaUser = response.data.Id_nguoidung;
if ($MaUser != 0 || $MaUser != null) {
$scope.user = response.data;
if (response.data.Id_nguoidung != 0) {
$http.get(API + 'getkhachhangfirst/' + response.data.Id_nguoidung).then(function(response) {
$scope.Anh_user = response.data.Anh;
$scope.Ten_user = response.data.TenKH;
var splitted = $scope.Ten_user.split(" ", 5);
for (let item of splitted) {
$scope.Ten_user = item;
}
});
} else
$scope.Maus = $MaUser;
} else $scope.Maus = 0;
});
$danhdau_maphim = 0;
$danhdau_ngayxem = 0;
$danhdau_suatchieu = 0;
$http.get(API + 'user').then(function(response) {
$id = response.data.Id_nguoidung;
$scope.Id_nguoidung = $id;
if ($id == 0)
$window.location.href = '/Cinema/public';
else {
$scope.time1_1 = 'null';
$scope.time1_2 = 'null';
$scope.time1_3 = 'null';
$scope.time1_4 = 'null';
$scope.time1_5 = 'null';
$scope.time1_6 = 'null';
$scope.time2_1 = 'null';
$scope.time2_2 = 'null';
$scope.time2_3 = 'null';
$scope.time2_4 = 'null';
$scope.time2_5 = 'null';
$scope.time2_6 = 'null';
$http.get(API + 'maphim').then(function(response) {
$scope.MaPhim = response.data.MaPhim;
});
$danhdau1 = 0;
$danhdau2 = 0;
$scope.load = function() {
$http.get(API + 'getsuatchieu/' + $scope.MaPhim + '/' + 1).then(function(response) {
var t = $('#input_store_date_booking').val();
if (t == undefined)
t = '01/03/2021';
var i = 0;
var mydate = new Date(t);
var date1 = mydate.getDate();
var month1 = mydate.getMonth() + 1;
var year1 = mydate.getFullYear();
$NgayXem = year1 + "-" + month1 + "-" + date1;
$http.get(API + 'luungayxem/' + $NgayXem).then(function(response) {
$danhdau_ngayxem = 1;
});
var listsuatchieu = [];
for (let item of response.data) {
var mydate1 = new Date(item.NgayChieu);
var date = mydate1.getDate();
var month = mydate1.getMonth() + 1;
var year = mydate1.getFullYear();
if (date == date1 && month == month1 && year == year1) {
listsuatchieu[i] = item;
i++;
}
}
i--;
if (i == -1) {
$danhdau1 = 1;
}
if (i >= 0)
$scope.time1_1 = listsuatchieu[0].TGBatDau;
else $scope.time1_1 = 'null';
if (i >= 1)
$scope.time1_2 = listsuatchieu[1].TGBatDau;
else $scope.time1_2 = 'null';
if (i >= 2)
$scope.time1_3 = listsuatchieu[2].TGBatDau;
else $scope.time1_3 = 'null';
if (i >= 3)
$scope.time1_4 = listsuatchieu[3].TGBatDau;
else $scope.time1_4 = 'null';
if (i >= 4)
$scope.time1_5 = listsuatchieu[4].TGBatDau;
else $scope.time1_5 = 'null';
if (i >= 5)
$scope.time1_6 = listsuatchieu[5].TGBatDau;
else $scope.time1_6 = 'null';
});
$http.get(API + 'getsuatchieu/' + $scope.MaPhim + '/' + 2).then(function(response) {
var i = 0;
var t = $('#input_store_date_booking').val();
var mydate = new Date(t);
var date1 = mydate.getDate();
var month1 = mydate.getMonth() + 1;
var year1 = mydate.getFullYear();
var listsuatchieu = [];
for (let item of response.data) {
var mydate1 = new Date(item.NgayChieu);
var date = mydate1.getDate();
var month = mydate1.getMonth() + 1;
var year = mydate1.getFullYear();
if (date == date1 && month == month1 && year == year1) {
listsuatchieu[i] = item;
i++;
}
}
i--;
if (i == -1) {
$danhdau2 = 1;
}
if (i >= 0)
$scope.time2_1 = listsuatchieu[0].TGBatDau;
else $scope.time2_1 = 'null';
if (i >= 1)
$scope.time2_2 = listsuatchieu[1].TGBatDau;
else $scope.time2_2 = 'null';
if (i >= 2)
$scope.time2_3 = listsuatchieu[2].TGBatDau;
else $scope.time2_3 = 'null';
if (i >= 3)
$scope.time2_4 = listsuatchieu[3].TGBatDau;
else $scope.time2_4 = 'null';
if (i >= 4)
$scope.time2_5 = listsuatchieu[4].TGBatDau;
else $scope.time2_5 = 'null';
if (i >= 5)
$scope.time2_6 = listsuatchieu[5].TGBatDau;
else $scope.time2_6 = 'null';
if ($danhdau1 == 1 && $danhdau2 == 1) {
alert("Phim không có lịch chiếu trong ngày này!");
$danhdau1 = 0;
$danhdau2 = 0;
}
});
var t = $('#input_store_times_booking').val();
console.log(t);
}
//get phim đang và sắp chiếu
$http.get(API + 'getlichchieu_1').then(function(response) {
$scope.listchieuphim = response.data;
});
$scope.chonphim = function(phim) {
$http.get(API + 'getuser/' + $scope.Id_nguoidung).then(function(response) {
$nguoidung = response.data;
var mydate = new Date(response.data.NgaySinh);
var year = mydate.getFullYear();
var today = new Date().getFullYear();
var age = today - year;
if (phim.AgeDuocXem > age)
alert("Xin lỗi, bạn chưa đủ tuổi để xem phim này");
else {
$http.get(API + 'luumaphim/' + phim.MaPhim).then(function(response) {
$danhdau_maphim = 1;
});
alert("Bạn vừa chọn phim: " + phim.TenPhim + ", Đạo diễn: " + phim.DaoDien + ', mã phim: ' + phim.MaPhim);
}
});
}
// xử lý chức năng tìm kiếm
$scope.timkiem = function() {
var l = $('#input_store_select_search').val();
if (l == undefined)
l = 1;
if ($scope.search_text == "" || $scope.search_text == null)
alert("Mời bạn nhập nội dung tìm kiếm!");
else {
$http.get(API + 'listtimkiem/' + $scope.search_text + '/' + l).then(function(response) {
if (response.data.length == 0) {
alert("Không tìm thấy!");
} else {
$http.get(API + 'luutimkiem/' + $scope.search_text + '/' + l).then(function(response) {
$window.location.href = 'listphim';
});
}
});
}
};
$scope.chonrap1 = function() {
var t = $('#input_store_times_booking').val();
if (t == 'null')
alert("xin lỗi, giờ chiếu không tồn tại");
else {
$http.get(API + 'getmachieu/' + t).then(function(response) {
$http.get(API + 'luumasc_rap/' + response.data.MaSC + '/' + 1).then(function(response) {
$danhdau_suatchieu = 1;
});
});
}
};
$scope.chonrap2 = function() {
var t = $('#input_store_times_booking').val();
if (t == 'null')
alert("xin lỗi, giờ chiếu không tồn tại");
else {
$http.get(API + 'getmachieu/' + t).then(function(response) {
$http.get(API + 'luumasc_rap/' + response.data.MaSC + '/' + 2).then(function(response) {
$danhdau_suatchieu = 1;
});
});
}
};
$scope.kiemtra = function() {
var t = $('#input_store_times_booking').val();
if ($danhdau_ngayxem == 1 && $danhdau_maphim == 1 && $danhdau_suatchieu == 1)
$window.location.href = 'book_2';
else if ($danhdau_maphim == 0)
alert("Bạn chưa chọn phim");
else if ($danhdau_ngayxem == 0)
alert("Bạn chưa chọn ngày xem");
else if ($danhdau_suatchieu == 0)
alert("Bạn chưa chọn giờ xem");
};
}
});
}); | 37.067376 | 130 | 0.402086 |
83d9725b3d51cb4adb5b89887afb7150ea79aea8 | 5,302 | js | JavaScript | node_modules/antd/es/time-picker/index.js | orenmagid/GRPBALL_FRONTEND | 55bb53c513ad0097a4db3a0b16bf4a534b317796 | [
"MIT"
] | 1 | 2019-08-19T22:01:38.000Z | 2019-08-19T22:01:38.000Z | node_modules/antd/es/time-picker/index.js | orenmagid/GRPBALL_FRONTEND | 55bb53c513ad0097a4db3a0b16bf4a534b317796 | [
"MIT"
] | null | null | null | node_modules/antd/es/time-picker/index.js | orenmagid/GRPBALL_FRONTEND | 55bb53c513ad0097a4db3a0b16bf4a534b317796 | [
"MIT"
] | 1 | 2020-11-11T19:17:32.000Z | 2020-11-11T19:17:32.000Z | import _defineProperty from 'babel-runtime/helpers/defineProperty';
import _extends from 'babel-runtime/helpers/extends';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import * as React from 'react';
import * as moment from 'moment';
import { polyfill } from 'react-lifecycles-compat';
import RcTimePicker from 'rc-time-picker/es/TimePicker';
import classNames from 'classnames';
import LocaleReceiver from '../locale-provider/LocaleReceiver';
import defaultLocale from './locale/en_US';
import interopDefault from '../_util/interopDefault';
export function generateShowHourMinuteSecond(format) {
// Ref: http://momentjs.com/docs/#/parsing/string-format/
return {
showHour: format.indexOf('H') > -1 || format.indexOf('h') > -1 || format.indexOf('k') > -1,
showMinute: format.indexOf('m') > -1,
showSecond: format.indexOf('s') > -1
};
}
var TimePicker = function (_React$Component) {
_inherits(TimePicker, _React$Component);
function TimePicker(props) {
_classCallCheck(this, TimePicker);
var _this = _possibleConstructorReturn(this, (TimePicker.__proto__ || Object.getPrototypeOf(TimePicker)).call(this, props));
_this.handleChange = function (value) {
if (!('value' in _this.props)) {
_this.setState({ value: value });
}
var _this$props = _this.props,
onChange = _this$props.onChange,
_this$props$format = _this$props.format,
format = _this$props$format === undefined ? 'HH:mm:ss' : _this$props$format;
if (onChange) {
onChange(value, value && value.format(format) || '');
}
};
_this.handleOpenClose = function (_ref) {
var open = _ref.open;
var onOpenChange = _this.props.onOpenChange;
if (onOpenChange) {
onOpenChange(open);
}
};
_this.saveTimePicker = function (timePickerRef) {
_this.timePickerRef = timePickerRef;
};
_this.renderTimePicker = function (locale) {
var props = _extends({}, _this.props);
delete props.defaultValue;
var format = _this.getDefaultFormat();
var className = classNames(props.className, _defineProperty({}, props.prefixCls + '-' + props.size, !!props.size));
var addon = function addon(panel) {
return props.addon ? React.createElement(
'div',
{ className: props.prefixCls + '-panel-addon' },
props.addon(panel)
) : null;
};
return React.createElement(RcTimePicker, _extends({}, generateShowHourMinuteSecond(format), props, { ref: _this.saveTimePicker, format: format, className: className, value: _this.state.value, placeholder: props.placeholder === undefined ? locale.placeholder : props.placeholder, onChange: _this.handleChange, onOpen: _this.handleOpenClose, onClose: _this.handleOpenClose, addon: addon }));
};
var value = props.value || props.defaultValue;
if (value && !interopDefault(moment).isMoment(value)) {
throw new Error('The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, ' + 'see: https://u.ant.design/time-picker-value');
}
_this.state = {
value: value
};
return _this;
}
_createClass(TimePicker, [{
key: 'focus',
value: function focus() {
this.timePickerRef.focus();
}
}, {
key: 'blur',
value: function blur() {
this.timePickerRef.blur();
}
}, {
key: 'getDefaultFormat',
value: function getDefaultFormat() {
var _props = this.props,
format = _props.format,
use12Hours = _props.use12Hours;
if (format) {
return format;
} else if (use12Hours) {
return 'h:mm:ss a';
}
return 'HH:mm:ss';
}
}, {
key: 'render',
value: function render() {
return React.createElement(
LocaleReceiver,
{ componentName: 'TimePicker', defaultLocale: defaultLocale },
this.renderTimePicker
);
}
}], [{
key: 'getDerivedStateFromProps',
value: function getDerivedStateFromProps(nextProps) {
if ('value' in nextProps) {
return { value: nextProps.value };
}
return null;
}
}]);
return TimePicker;
}(React.Component);
TimePicker.defaultProps = {
prefixCls: 'ant-time-picker',
align: {
offset: [0, -2]
},
disabled: false,
disabledHours: undefined,
disabledMinutes: undefined,
disabledSeconds: undefined,
hideDisabledOptions: false,
placement: 'bottomLeft',
transitionName: 'slide-up',
focusOnOpen: true
};
polyfill(TimePicker);
export default TimePicker; | 37.602837 | 401 | 0.595624 |
83da8c842fc8bdfbc46acb303983ae6d9990ce5b | 1,027 | js | JavaScript | Chapter14/ex14-03-6-4/main.js | kaleidot725/first-time-javascript | f60843a1e21e8eb532c22b3b37357f051f5c8508 | [
"MIT"
] | null | null | null | Chapter14/ex14-03-6-4/main.js | kaleidot725/first-time-javascript | f60843a1e21e8eb532c22b3b37357f051f5c8508 | [
"MIT"
] | null | null | null | Chapter14/ex14-03-6-4/main.js | kaleidot725/first-time-javascript | f60843a1e21e8eb532c22b3b37357f051f5c8508 | [
"MIT"
] | null | null | null | 'use strict';
const fs = require('fs');
function writeFile(fileName, data) {
return new Promise(
(onFulfilled, onRejected) => {
fs.writeFile(fileName, data, err =>{
err ? onRejected(err) : onFulfilled('OK');
});
});
}
function readFile(fileName) {
return new Promise(
(onFulfilled, onRejected) => {
const period = Math.random() * 1000;
console.log(`${fileName}: ${period}`);
setTimeout(() => {
fs.readFile(fileName, "utf-8", (err, data) => {
err ? onRejected(err) : onFulfilled([fileName, data]);
});
}, period);
});
}
let selected;
Promise.race([readFile("a.txt"), readFile("b.txt"), readFile("c.txt")])
.then(function(results) {
selected = results[0];
return writeFile("d.txt", results[1]);
})
.then(function(mes) {
console.log(`ファイル${selected}の内容が書き込まれました。\n----`);
})
.catch(err => {
console.error("エラーが起こりました:" + err);
}); | 27.026316 | 74 | 0.528724 |
83db33ab5d90817d4af8733fb52d3b944f74dce1 | 96,453 | js | JavaScript | dist/fabric-brush.min.js | JDok/fabric-brush | 832127ad5ad05ceaccf40d2e149a56c0a339dbb9 | [
"MIT-0"
] | null | null | null | dist/fabric-brush.min.js | JDok/fabric-brush | 832127ad5ad05ceaccf40d2e149a56c0a339dbb9 | [
"MIT-0"
] | null | null | null | dist/fabric-brush.min.js | JDok/fabric-brush | 832127ad5ad05ceaccf40d2e149a56c0a339dbb9 | [
"MIT-0"
] | null | null | null | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
!function(t){t.CrayonBrush=t.util.createClass(t.BaseBrush,{color:"#000000",opacity:.6,width:30,_baseWidth:20,_inkAmount:10,_latestStrokeLength:0,_point:null,_sep:5,_size:0,initialize:function(i,s){s=s||{},this.canvas=i,this.width=s.width||i.freeDrawingBrush.width,this.color=s.color||i.freeDrawingBrush.color,this.opacity=s.opacity||i.contextTop.globalAlpha,this._point=new t.Point(0,0)},changeColor:function(t){this.color=t},changeOpacity:function(t){this.opacity=t},onMouseDown:function(t){this.canvas.contextTop.globalAlpha=this.opacity,this._size=this.width/2+this._baseWidth,this.set(t)},onMouseMove:function(t){this.update(t),this.draw(this.canvas.contextTop)},onMouseUp:function(t){},set:function(i){this._latest?this._latest.setFromPoint(this._point):this._latest=new t.Point(i.x,i.y),t.Point.prototype.setFromPoint.call(this._point,i)},update:function(t){this.set(t),this._latestStrokeLength=this._point.subtract(this._latest).distanceFrom({x:0,y:0})},draw:function(i){var s,o,e,n,a,h,l,c,r,u,p,_,d,f,g;for(u=this._point.subtract(this._latest),p=Math.ceil(this._size/2),_=Math.floor(u.distanceFrom({x:0,y:0})/p)+1,u.normalize(p),d=this._sep*t.util.clamp(this._inkAmount/this._latestStrokeLength*3,1,.5),f=Math.ceil(this._size*this._sep),g=this._size/2,i.save(),i.fillStyle=this.color,i.beginPath(),s=0;f>s;s++)for(o=0;_>o;o++)e=this._latest.add(u.multiply(o)),n=t.util.getRandom(g),a=t.util.getRandom(2*Math.PI),c=t.util.getRandom(d,d/2),r=t.util.getRandom(d,d/2),h=e.x+n*Math.sin(a)-c/2,l=e.y+n*Math.cos(a)-r/2,i.rect(h,l,c,r);i.fill(),i.restore()}})}(fabric);
},{}],2:[function(require,module,exports){
!function(t){t.Drip=t.util.createClass(t.Object,{rate:0,color:"#000000",amount:10,life:10,_point:null,_lastPoint:null,_strokeId:0,_interval:20,initialize:function(i,e,n,o,s){this.ctx=i,this._point=e,this._strokeId=s,this.amount=t.util.getRandom(n,.5*n),this.color=o,this.life=1.5*this.amount,i.lineCap=i.lineJoin="round",this._render()},_update:function(i){this._lastPoint=t.util.object.clone(this._point),this._point.addEquals({x:this.life*this.rate,y:t.util.getRandom(this.life*this.amount/30)}),this.life-=.05,t.util.getRandom()<.03?this.rate+=t.util.getRandom(.03,-.03):t.util.getRandom()<.05&&(this.rate*=.01)},_draw:function(){this.ctx.save(),this.line(this.ctx,this._lastPoint,this._point,this.color,.8*this.amount+.2*this.life),this.ctx.restore()},_render:function(){function t(){i._update(),i._draw(),i.life>0&&setTimeout(t,i._interval)}var i=this;setTimeout(t,this._interval)},line:function(t,i,e,n,o){t.strokeStyle=n,t.lineWidth=o,t.beginPath(),t.moveTo(i.x,i.y),t.lineTo(e.x,e.y),t.stroke()}})}(fabric);
},{}],3:[function(require,module,exports){
!function(t){t.InkBrush=t.util.createClass(t.BaseBrush,{color:"#000000",opacity:1,width:30,_baseWidth:20,_dripCount:0,_drips:[],_inkAmount:7,_lastPoint:null,_point:null,_range:10,_strokeCount:0,_strokeId:null,_strokeNum:40,_strokes:null,initialize:function(i,s){s=s||{},this.canvas=i,this.width=s.width||i.freeDrawingBrush.width,this.color=s.color||i.freeDrawingBrush.color,this.opacity=s.opacity||i.contextTop.globalAlpha,this._point=new t.Point},changeColor:function(t){this.color=t},changeOpacity:function(t){this.opacity=t,this.canvas.contextTop.globalAlpha=t},_render:function(i){var s,o,n,e,h,r,a;for(this._strokeCount++,this._strokeCount%120===0&&this._dripCount<10&&this._dripCount++,n=this.setPointer(i),s=n.subtract(this._lastPoint),o=n.distanceFrom(this._lastPoint),r=this._strokes,e=0,h=r.length;h>e;e++)a=r[e],a.update(n,s,o),a.draw();o>30?this.drawSplash(n,this._inkAmount):10>o&&t.util.getRandom()<.085&&this._dripCount&&(this._drips.push(new t.Drip(this.canvas.contextTop,n,t.util.getRandom(.25*this.size,.1*this.size),this.color,this._strokeId)),this._dripCount--)},onMouseDown:function(i){this._resetTip(i),this._strokeId=+new Date,this._dripCount=0|t.util.getRandom(6,3)},onMouseMove:function(t){this.canvas._isCurrentlyDrawing&&this._render(t)},onMouseUp:function(){this._strokeCount=0,this._dripCount=0,this._strokeId=null},drawSplash:function(i,s){var o,n,e,h,r=this.canvas.contextTop,a=t.util.getRandom(12),u=10*s,l=this.color;for(r.save(),e=0;a>e;e++)n=t.util.getRandom(u,1),o=t.util.getRandom(2*Math.PI),h=new t.Point(i.x+n*Math.sin(o),i.y+n*Math.cos(o)),r.fillStyle=l,r.beginPath(),r.arc(h.x,h.y,t.util.getRandom(s)/2,0,2*Math.PI,!1),r.fill();r.restore()},setPointer:function(i){var s=new t.Point(i.x,i.y);return this._lastPoint=t.util.object.clone(this._point),this._point=s,s},_resetTip:function(i){var s,o,n,e;for(o=this.setPointer(i),s=this._strokes=[],this.size=this.width/5+this._baseWidth,this._strokeNum=this.size,this._range=this.size/2,e=0,n=this._strokeNum;n>e;e++)s[e]=new t.Stroke(this.canvas.contextTop,o,this._range,this.color,this.width,this._inkAmount)}})}(fabric);
},{}],4:[function(require,module,exports){
!function(t){t.MarkerBrush=t.util.createClass(t.BaseBrush,{color:"#000000",opacity:1,width:30,_baseWidth:10,_lastPoint:null,_lineWidth:3,_point:null,_size:0,initialize:function(i,n){n=n||{},this.canvas=i,this.width=n.width||i.freeDrawingBrush.width,this.color=n.color||i.freeDrawingBrush.color,this.opacity=n.opacity||i.contextTop.globalAlpha,this._point=new t.Point,this.canvas.contextTop.lineJoin="round",this.canvas.contextTop.lineCap="round"},changeColor:function(t){this.color=t},changeOpacity:function(t){this.opacity=t},_render:function(i){var n,o,s;for(n=this.canvas.contextTop,n.beginPath(),s=0,len=this._size/this._lineWidth/2;s<len;s++)o=(this._lineWidth-1)*s,n.globalAlpha=.8*this.opacity,n.moveTo(this._lastPoint.x+o,this._lastPoint.y+o),n.lineTo(i.x+o,i.y+o),n.stroke();this._lastPoint=new t.Point(i.x,i.y)},onMouseDown:function(t){this._lastPoint=t,this.canvas.contextTop.strokeStyle=this.color,this.canvas.contextTop.lineWidth=this._lineWidth,this._size=this.width+this._baseWidth},onMouseMove:function(t){this.canvas._isCurrentlyDrawing&&this._render(t)},onMouseUp:function(){this.canvas.contextTop.globalAlpha=this.opacity}})}(fabric);
},{}],5:[function(require,module,exports){
!function(s){s.SprayBrush2=s.util.createClass(s.BaseBrush,{color:"#000000",opacity:1,width:30,_baseWidth:40,_drips:[],_dripThreshold:15,_inkAmount:0,_interval:20,_lastPoint:null,_point:null,_strokeId:0,brush:null,sprayBrushDataUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVcAAAFtCAYAAAHE1xlFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUp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MDXWXBGOibem4QjRLwo3h0tpWG+1pPqvfAuUttscLyzuvk3cyp72B6B9e/ChhHY232+NUCcy/atYcbBoyqA9aAuQ1iMsxKAVH1QU46sUSRzLlxEo8tCifDjLlVmAv2uXPrgvXRPlsj1qMkkyvMTwZ0M9YbTLDyGe/ZTurc4XYB6R1M7+D6U4KuKQ9bAOpKCVnUvKDlTBGoOHs5/Ts3LTWSKnLAeF29ajbMV5NBrsxIO5g4wVXbivtgw4kmADsG6gZQAj5hVAIpaBW/EFtm3sI6/xZjU+7gen/9iKCtXWBRMoTDXjUYYR10FHB0miu/HwaIXKgO+AmuCoacYHOevtXJSqsLXOjugC2vSCLAtvaZNv4e8BrrGnhqQgt4o3VfHRp6f93B9f56O+A6VqVMd6uY3JV2IWC6CuzKEN3kXgUxwDuL8YBGxxK1MSJi4WuABqwnEfX9E26vAngz07yD5B1c768flOG6h3RDglAP28hMJmKAkQap03qdOY0D/ox1Cz1XbxqF93vrQ18DllHbM/Z+1v15vYPr/fU3A+eNkBcroLKlT25l2p1V5NbnRWG3q1a4xfz57mV6f93B9f76WNCVBNxao8XaNN5qP3jGdsXELbWbrhPqtQX50WdX6WLLxb/cAfUOrvfX/fXeDHcL+NIKu12TGW75rq3Rzp+Wrb8/i3dwvb/ur4+UEzi778BL63ZvAekteeDdT3WHxHAH1Tu43l/316cBrdbZuimse9iqY6EK3p9pcJJe8PT+3N3B9f66vz4RaE21wl5fhp9mId+fuTu43l/3148uI0SvaDT6h89+uoPp/XUH1/vr/rq/7q8PfOX7Jbi/7q/76/66g+v9dX/dX/fXHVzvr/vr/rq//q6v/z0AIdp7A0oMk2cAAAAASUVORK5CYII=",
initialize:function(A,B){var t=this;B=B||{},this.canvas=A,this.width=B.width||A.freeDrawingBrush.width,this.opacity=B.opacity||A.contextTop.globalAlpha,this.color=B.color||A.freeDrawingBrush.color,this.canvas.contextTop.lineJoin="round",this.canvas.contextTop.lineCap="round",this._reset(),s.Image.fromURL(this.sprayBrushDataUrl,function(s){t.brush=s,t.brush.filters=[],t.changeColor(t.color||this.color)},{crossOrigin:"anonymous"})},changeColor:function(A){this.color=A,this.brush.filters[0]=new s.Image.filters.Tint({color:A}),this.brush.applyFilters(this.canvas.renderAll.bind(this.canvas))},changeOpacity:function(s){this.opacity=s,this.canvas.contextTop.globalAlpha=s},onMouseDown:function(A){this._point=new s.Point(A.x,A.y),this._lastPoint=this._point,this.size=this.width+this._baseWidth,this._strokeId=+new Date,this._inkAmount=0,this.changeColor(this.color),this._render()},onMouseMove:function(A){this._lastPoint=this._point,this._point=new s.Point(A.x,A.y)},onMouseUp:function(s){},_render:function(){function A(){var t,J,W,w,g,m;t=new s.Point(B._point.x||0,B._point.y||0),J=t.distanceFrom(B._lastPoint),W=t.angleBetween(B._lastPoint),w=100/B.size/(Math.pow(J,2)+1),B._inkAmount+=w,B._inkAmount=Math.max(B._inkAmount-J/10,0),B._inkAmount>B._dripThreshold&&(B._drips.push(new s.Drip(B.canvas.contextTop,t,B._inkAmount/2,B.color,B._strokeId)),B._inkAmount=0),g=B._lastPoint.x+Math.sin(W)-B.size/2,m=B._lastPoint.y+Math.cos(W)-B.size/2,B.canvas.contextTop.drawImage(B.brush._element,g,m,B.size,B.size),B.canvas._isCurrentlyDrawing?setTimeout(A,B._interval):B._reset()}var B=this;setTimeout(A,this._interval)},_reset:function(){this._drips.length=0,this._point=null,this._lastPoint=null}})}(fabric);
},{}],6:[function(require,module,exports){
!function(t){t.Stroke=t.util.createClass(t.Object,{color:null,inkAmount:null,lineWidth:null,_point:null,_lastPoint:null,_currentLineWidth:null,initialize:function(i,n,o,e,l,h){var s=t.util.getRandom(o),a=t.util.getRandom(2*Math.PI),u=t.util.getRandom(2*Math.PI),r=s*Math.sin(u),c=s/2*Math.cos(u),d=Math.cos(a),_=Math.sin(a);this.ctx=i,this.color=e,this._point=new t.Point(n.x+r*d-c*_,n.y+r*_+c*d),this.lineWidth=l,this.inkAmount=h,this._currentLineWidth=l,i.lineCap="round"},update:function(i,n,o){this._lastPoint=t.util.object.clone(this._point),this._point=this._point.addEquals({x:n.x,y:n.y});var e=this.inkAmount/(o+1),l=e>.3?.2:0>e?0:e;this._currentLineWidth=this.lineWidth*l},draw:function(){var t=this.ctx;t.save(),this.line(t,this._lastPoint,this._point,this.color,this._currentLineWidth),t.restore()},line:function(t,i,n,o,e){t.strokeStyle=o,t.lineWidth=e,t.beginPath(),t.moveTo(i.x,i.y),t.lineTo(n.x,n.y),t.stroke()}})}(fabric);
},{}],7:[function(require,module,exports){
!function(t){t.Point.prototype.angleBetween=function(t){return Math.atan2(this.x-t.x,this.y-t.y)},t.Point.prototype.normalize=function(t){(null===t||void 0===t)&&(t=1);var i=this.distanceFrom({x:0,y:0});return i>0&&(this.x=this.x/i*t,this.y=this.y/i*t),this}}(fabric);
},{}],8:[function(require,module,exports){
!function(n){n.util.getRandom=function(n,t){return t=t?t:0,Math.random()*((n?n:1)-t)+t},n.util.clamp=function(n,t,u){return"number"!=typeof u&&(u=0),n>t?t:u>n?u:n}}(fabric);
},{}]},{},[1,2,3,4,5,6,7,8])
| 4,822.65 | 86,700 | 0.946741 |
83db7f9378ff01e2ddaebe9b6ac3ae8132773f68 | 2,142 | js | JavaScript | packages/ui-data/src/services/account-service.js | vpworkspace/fdp-web-app | 9fd4afb9bc41bb990cf30e5e3d67395ec8be7871 | [
"Apache-2.0"
] | null | null | null | packages/ui-data/src/services/account-service.js | vpworkspace/fdp-web-app | 9fd4afb9bc41bb990cf30e5e3d67395ec8be7871 | [
"Apache-2.0"
] | 2 | 2021-09-02T14:17:47.000Z | 2022-01-22T13:20:33.000Z | packages/ui-data/src/services/account-service.js | vpworkspace/fdp-web-app | 9fd4afb9bc41bb990cf30e5e3d67395ec8be7871 | [
"Apache-2.0"
] | null | null | null | import createRequest from './request'
import { setData } from '../actions/app'
import { setAccountId } from '../actions/account'
//accounts api's
export function getAccountList(dispatch) {
createRequest(dispatch, '/fdp/accounts', 'GET', null, {}, function (
response
) {
//callback placeholder where one or multiple actions can be dispatched
dispatch(setData(response))
if(response.Data.Account.length>0){
dispatch(setAccountId(response.Data.Account[0].AccountId))
}
})
}
// get account by id
export function getAccountById(dispatch, accountId) {
createRequest(
dispatch,
`/aisp/accounts/${accountId}`,
'GET',
null,
{},
function (response) {
dispatch(setData(response))
}
)
}
export function getAccountBalances(dispatch, accountId) {
createRequest(
dispatch,
`/aisp/accounts/${accountId}/balances`,
'GET',
null,
{},
function (response) {
dispatch(setData(response))
}
)
}
export function getAccountTransactions(dispatch, accountId) {
createRequest(
dispatch,
`/aisp/accounts/${accountId}/transactions`,
'GET',
null,
{},
function (response) {
dispatch(setData(response))
}
)
}
export function getAccountDirectDebits(dispatch, accountId) {
createRequest(
dispatch,
`/aisp/accounts/${accountId}/direct-debits`,
'GET',
null,
{},
function (response) {
dispatch(setData(response))
}
)
}
export function getAccountStandingOrders(dispatch, accountId) {
createRequest(
dispatch,
`/aisp/accounts/${accountId}/standing-orders`,
'GET',
null,
{},
function (response) {
dispatch(setData(response))
}
)
}
export function getAccountProducts(dispatch, params) {
createRequest(dispatch, '/aisp/products', 'GET', params, {}, function (
response
) {
dispatch(setData(response))
})
}
| 23.538462 | 78 | 0.577498 |
83dcc0dd2bad808f31ce8d8ba217813778c33e93 | 337 | js | JavaScript | src/Page/PageNotFound/index.js | navgurukul/nightingale | a300b9eb029985f7b66d2725ba7b4c56986c17cd | [
"MIT"
] | null | null | null | src/Page/PageNotFound/index.js | navgurukul/nightingale | a300b9eb029985f7b66d2725ba7b4c56986c17cd | [
"MIT"
] | 1 | 2022-03-15T05:26:45.000Z | 2022-03-15T05:26:45.000Z | src/Page/PageNotFound/index.js | navgurukul/nightingale | a300b9eb029985f7b66d2725ba7b4c56986c17cd | [
"MIT"
] | 1 | 2022-03-15T05:16:55.000Z | 2022-03-15T05:16:55.000Z | import React from 'react';
import { NavLink } from "react-router-dom";
import './style.css'
const PageNotFound= ()=>{
return(
<div className='pageNotFoundContainer'>
<h3> 404 Page Not Found.</h3>
<p><NavLink to="/">Go to the Home page</NavLink></p>
</div>
)
}
export default PageNotFound | 24.071429 | 60 | 0.596439 |
83dd1c37c9d08f7155a30a6f7e9c9715821c848e | 495 | js | JavaScript | frontend/src/router/index.js | Dorogusya98/WebProject | 1a898befd0c23a10b6adc22f1b0f1a9f1139b434 | [
"BSD-3-Clause"
] | null | null | null | frontend/src/router/index.js | Dorogusya98/WebProject | 1a898befd0c23a10b6adc22f1b0f1a9f1139b434 | [
"BSD-3-Clause"
] | 3 | 2021-03-10T02:55:24.000Z | 2022-02-26T21:44:06.000Z | frontend/src/router/index.js | Dorogusya98/WebProject | 1a898befd0c23a10b6adc22f1b0f1a9f1139b434 | [
"BSD-3-Clause"
] | null | null | null | import Vue from 'vue'
import VueRouter from 'vue-router'
import Content from '../views/Content.vue'
Vue.use(VueRouter)
const routes = [
{
path: '/',
name: 'content',
component: Content
},
// {
// path: '/watch',
// name: 'watch',
// component: () => import('../views/Watch.vue')
// },
{
path: '/contents/:id',
name: 'contents',
component: () => import('../views/Watch.vue')
}
]
const router = new VueRouter({
routes
})
export default router
| 16.5 | 52 | 0.567677 |
83dd8e3c7654c7815e9c9e2dbc3aca30fc957cca | 764 | js | JavaScript | app/components/Dashboard/Home/latest.js | ketan18710/K-life | 05a6bd3f707324b28cac781ac87ae6bc655511e4 | [
"MIT"
] | null | null | null | app/components/Dashboard/Home/latest.js | ketan18710/K-life | 05a6bd3f707324b28cac781ac87ae6bc655511e4 | [
"MIT"
] | null | null | null | app/components/Dashboard/Home/latest.js | ketan18710/K-life | 05a6bd3f707324b28cac781ac87ae6bc655511e4 | [
"MIT"
] | null | null | null | import React,{useState,useEffect} from 'react'
function latest(props) {
return (
<div className="latestProducts">
<h3 className="title">LATEST PRODUCTS</h3>
<div className="add">
<select name="" id=""></select>
</div>
<div className="products">
{
configTemp && configTemp.latest && configTemp.latest.map(product=>(
<div className="product">
<Card
title={product.title}
image={product.image}
description={product.description}
action={()=>alert(1)}
actionText="Edit"
/>
</div>
))
}
</div>
</div>
)
}
export default latest
| 25.466667 | 80 | 0.481675 |
83ddcc280cbe250f3817abb7a943c72e2c014579 | 1,293 | js | JavaScript | 08. MODULES/Exercises/03. Turtles/app.js | pirocorp/JS-Advanced | 7bcdfd3f429df6adcb729818bd49d75062bceaba | [
"MIT"
] | null | null | null | 08. MODULES/Exercises/03. Turtles/app.js | pirocorp/JS-Advanced | 7bcdfd3f429df6adcb729818bd49d75062bceaba | [
"MIT"
] | 11 | 2020-12-31T00:57:17.000Z | 2021-07-07T15:30:16.000Z | 08. MODULES/Exercises/03. Turtles/app.js | pirocorp/JS-Advanced | 7bcdfd3f429df6adcb729818bd49d75062bceaba | [
"MIT"
] | null | null | null | /* const Turtle = require('./turtle');
const EvkodianTurtle = require('./evkodianTurtle');
const GalapagosTurtle = require('./galapagosTurtle');
const NinjaTurtle = require('./ninjaTurtle');
const WaterTurtle = require('./waterTurtle');
let testWaterTurtle = new WaterTurtle("Michelangelo", 18, "male", "Sewer");
let testGalapagosTurtle = new GalapagosTurtle("Raphael", 18, "male");
let testEvkodianTurtle = new EvkodianTurtle("Donatello", 18, "male", 100);
let testNinjaTurtle = new NinjaTurtle("Leonardo", 18, "male", "Blue", "Yamato");
console.log(testWaterTurtle.toString());
// Turtle: Michelangelo
// Aged - 18; Gender - male
// Currently inhabiting Sewer
console.log(testGalapagosTurtle.toString());
// Turtle: Raphael
// Aged - 18; Gender - male
// Things, eaten this year:
console.log(testEvkodianTurtle.toString());
// Turtle: Donatello
// Aged - 18; Gender - male
// Evkodium: 5400
console.log(testNinjaTurtle.toString());
// Turtle: Leonardo
// Aged - 18; Gender - male
// Leo wears a Blue mask, and is an apprentice with the Yamato. */
result.Turtle = require('./turtle');
result.EvkodianTurtle = require('./evkodianTurtle');
result.GalapagosTurtle = require('./galapagosTurtle');
result.NinjaTurtle = require('./ninjaTurtle');
result.WaterTurtle = require('./waterTurtle'); | 35.916667 | 80 | 0.725445 |
83de2ddf3c22bcd24573a90941abdfe98a3cc9e1 | 22,186 | js | JavaScript | src/scripts/modules/Selection.js | typecode/typester | 6e81233d4046474105c2d238643fba3f00a1606e | [
"Unlicense",
"MIT"
] | 28 | 2018-04-19T00:51:35.000Z | 2021-01-30T23:44:02.000Z | src/scripts/modules/Selection.js | typecode/typester | 6e81233d4046474105c2d238643fba3f00a1606e | [
"Unlicense",
"MIT"
] | 39 | 2018-03-06T18:48:02.000Z | 2022-02-26T11:32:11.000Z | src/scripts/modules/Selection.js | typecode/typester | 6e81233d4046474105c2d238643fba3f00a1606e | [
"Unlicense",
"MIT"
] | 2 | 2019-06-04T14:04:37.000Z | 2021-06-23T04:29:03.000Z | // jshint strict: false
/**
* Selection
*
* A module to handle everything that happens with the user's selection and the
* selection range
*
* @access protected
* @module modules/Selection
*
* @example
* // Available requests / commands:
*
* requests: {
* 'selection:current': 'getCurrentSelection',
* 'selection:range': 'getCurrentRange',
* 'selection:anchornode': 'getAnchorNode',
* 'selection:rootelement': 'getRootElement',
* 'selection:bounds': 'getSelectionBounds',
* 'selection:in:or:contains': 'inOrContains',
* 'selection:range:coordinates': 'rangeCoordinates',
* 'selection:contains:node': 'containsNode',
* 'selection:spans:multiple:blocks': 'spansMultipleBlocks'
* },
*
* commands: {
* 'selection:set:contextWindow': 'setContextWindow',
* 'selection:set:contextDocument': 'setContextDocument',
* 'selection:set:el': 'setRootElement',
* 'selection:update:range': 'updateRange',
* 'selection:wrap:element': 'wrapElement',
* 'selection:wrap:pseudo': 'wrapPseudoSelect',
* 'selection:select:pseudo': 'selectPseudo',
* 'selection:select:remove:pseudo': 'removePseudo',
* 'selection:reselect': 'reSelect',
* 'selection:select:contents': 'selectContents',
* 'selection:select:all': 'selectAll',
* 'selection:select:coordinates': 'selectByCoordinates',
* 'selection:ensure:text:only' : 'ensureTextOnlySelection',
* }
*/
import Module from '../core/Module';
import DOM from '../utils/DOM';
/**
* Creates a new Selection handler
* @constructor Selection
*/
const Selection = Module({
name: 'Selection',
props: {
contextWindow: window,
contextDocument: document,
cachedSelection: null,
cachedRange: null,
pseudoSelection: null,
silenceChanges: []
},
dom: {
el: null
},
handlers: {
requests: {
'selection:current': 'getCurrentSelection',
'selection:range': 'getCurrentRange',
'selection:anchornode': 'getAnchorNode',
'selection:rootelement': 'getRootElement',
'selection:bounds': 'getSelectionBounds',
'selection:in:or:contains': 'inOrContains',
'selection:range:coordinates': 'rangeCoordinates',
'selection:contains:node': 'containsNode',
'selection:spans:multiple:blocks': 'spansMultipleBlocks'
},
commands: {
'selection:set:contextWindow': 'setContextWindow',
'selection:set:contextDocument': 'setContextDocument',
'selection:set:el': 'setRootElement',
'selection:update:range': 'updateRange',
'selection:wrap:element': 'wrapElement',
'selection:wrap:pseudo': 'wrapPseudoSelect',
'selection:select:pseudo': 'selectPseudo',
'selection:select:remove:pseudo': 'removePseudo',
'selection:reselect': 'reSelect',
'selection:select:contents': 'selectContents',
'selection:select:all': 'selectAll',
'selection:select:coordinates': 'selectByCoordinates',
'selection:ensure:text:only' : 'ensureTextOnlySelection'
}
},
methods: {
init () {
this.bindDocumentEvents();
},
bindDocumentEvents () {
const { contextDocument } = this.props;
contextDocument.addEventListener('selectstart', this.handleSelectStart);
contextDocument.addEventListener('selectionchange', this.handleSelectionChange);
},
unbindDocumentEvents () {
const { contextDocument } = this.props;
contextDocument.removeEventListener('selectstart', this.handleSelectStart);
contextDocument.removeEventListener('selectionchange', this.handleSelectionChange);
},
setContextWindow (contextWindow) {
const { props } = this;
props.contextWindow = contextWindow;
},
setContextDocument (contextDocument) {
const { props } = this;
this.unbindDocumentEvents();
props.contextDocument = contextDocument;
this.bindDocumentEvents();
},
setRootElement (elem) {
const { dom } = this;
dom.el = [elem];
},
handleSelectStart (evnt) {
const { mediator } = this;
const { el } = this.dom;
const anchorNode = this.getAnchorNode();
if (DOM.isChildOf(anchorNode, el)) {
mediator.emit('selection:start', evnt);
}
},
handleSelectionChange (evnt) {
const { mediator, props } = this;
const { el } = this.dom;
const anchorNode = this.getAnchorNode();
if (DOM.isChildOf(anchorNode, el)) {
this.cacheRange();
if (!props.silenceChanges.length) {
mediator.emit('selection:change', evnt);
} else {
props.silenceChanges.pop();
}
}
},
cacheRange () {
const currentRange = this.getCurrentRange();
this.props.cachedRange = currentRange.cloneRange();
},
getCurrentSelection () {
const { contextWindow } = this.props;
return contextWindow.getSelection();
},
validateSelection (selection) {
const { dom } = this;
return selection.anchorNode && DOM.isChildOf(selection.anchorNode, dom.el);
},
getCurrentRange () {
const { props } = this;
const currentSelection = this.getCurrentSelection();
let currentRange;
if (this.validateSelection(currentSelection)) {
currentRange = currentSelection.getRangeAt(0);
} else if (props.cachedRange) {
currentRange = props.cachedRange;
} else {
currentRange = document.createRange();
}
return currentRange;
},
getAnchorNode () {
const currentSelection = this.getCurrentSelection();
return currentSelection && currentSelection.anchorNode;
},
getRootElement () {
const { dom } = this;
return dom.el[0];
},
rangeCoordinates () {
this.ensureTextOnlySelection();
let {
startContainer,
startOffset,
endContainer,
endOffset
} = this.getCurrentRange();
let startCoordinates = [];
let endCoordinates = [];
let startPrefixTrimLength = 0;
let endPrefixTrimLength = 0;
let endSuffixTrimLength = 0;
const startTrimmablePrefix = startContainer.textContent.match(/^(\r?\n|\r)?(\s+)?/);
const endTrimmablePrefix = endContainer.textContent.match(/^(\r?\n|\r)?(\s+)?/);
const endTrimmableSuffix = endContainer.textContent.match(/(\r?\n|\r)?(\s+)?$/);
const startTrimmableSides = DOM.trimmableSides(startContainer.firstChild ? startContainer.firstChild : startContainer);
const endTrimmableSides = DOM.trimmableSides(endContainer.lastChild ? endContainer.lastChild : endContainer);
if (startTrimmablePrefix && startTrimmablePrefix[0].length) {
startPrefixTrimLength += startTrimmablePrefix[0].length;
if (!startTrimmableSides.left) {
startPrefixTrimLength -= startTrimmablePrefix[0].match(/\s/) ? 1 : 0;
}
startOffset -= startPrefixTrimLength;
if (endContainer === startContainer) {
endOffset -= startPrefixTrimLength;
}
}
if (endTrimmablePrefix && endTrimmablePrefix[0].length && endContainer !== startContainer) {
endPrefixTrimLength += endTrimmablePrefix[0].length;
if (!endTrimmableSides.left) {
endPrefixTrimLength -= endTrimmablePrefix[0].match(/\s/) ? 1 : 0;
}
endOffset -= endPrefixTrimLength;
}
if (endTrimmableSuffix && endTrimmableSuffix[0].length) {
endSuffixTrimLength += endTrimmableSuffix[0].length;
if (!endTrimmableSides.right) {
endSuffixTrimLength -= endTrimmableSuffix[0].match(/\s/) ? 1 : 0;
}
let trimmedTextLength = endContainer.textContent.length - endPrefixTrimLength - endSuffixTrimLength;
endOffset = Math.min(trimmedTextLength, endOffset);
}
startOffset = Math.max(0, startOffset);
endOffset = Math.min(endContainer.textContent.length, endOffset);
startCoordinates.unshift(startOffset);
endCoordinates.unshift(endOffset);
while (startContainer && !this.isContentEditable(startContainer)) {
startCoordinates.unshift(DOM.childIndex(startContainer));
startContainer = startContainer.parentNode;
}
while (endContainer && !this.isContentEditable(endContainer)) {
endCoordinates.unshift(DOM.childIndex(endContainer));
endContainer = endContainer.parentNode;
}
return {
startCoordinates,
endCoordinates
};
},
inOrContains (selectors) {
const { dom } = this;
const rootEl = dom.el[0];
const anchorNode = this.getAnchorNode();
if (!rootEl.contains(anchorNode)) {
return false;
}
const isIn = DOM.isIn(anchorNode, selectors, rootEl);
if (isIn) {
return isIn;
}
const currentRange = this.getCurrentRange();
const rangeFrag = currentRange.cloneContents();
let contains = false;
if (rangeFrag.childNodes.length) {
rangeFrag.childNodes.forEach(childNode => {
contains = contains || selectors.indexOf(childNode.nodeName) > -1;
});
}
return contains;
},
containsNode (node) {
const currentSelection = this.getCurrentSelection();
let { anchorNode, focusNode } = currentSelection;
const selectionContainsNode = currentSelection.containsNode(node, true);
if (!currentSelection.rangeCount) {
return false;
}
if (selectionContainsNode) {
return true;
}
if (anchorNode.nodeType !== Node.ELEMENT_NODE) {
anchorNode = anchorNode.parentNode;
}
if (focusNode.nodeType !== Node.ELEMENT_NODE) {
focusNode = focusNode.parentNode;
}
return anchorNode === node || focusNode === node;
},
wrapElement (elem, opts={}) {
const currentRange = this.getCurrentRange();
if (elem instanceof Array) {
currentRange.setStartBefore(elem[0]);
currentRange.setEndAfter(elem[elem.length - 1]);
} else if (elem.nodeType === Node.ELEMENT_NODE) {
currentRange.setStartBefore(elem);
currentRange.setEndAfter(elem);
}
this.updateRange(currentRange, opts);
},
wrapPseudoSelect () {
const { props } = this;
const currentRange = this.getCurrentRange();
const pseudoSelection = document.createElement('span');
pseudoSelection.classList.add('typester-pseudo-selection');
pseudoSelection.appendChild(currentRange.extractContents());
currentRange.insertNode(pseudoSelection);
props.pseudoSelection = pseudoSelection;
this.wrapElement(pseudoSelection);
},
selectPseudo () {
const { dom } = this;
const unwrappedNodes = this.removePseudo();
if (unwrappedNodes.length) {
dom.el[0].focus();
this.wrapElement(unwrappedNodes, { silent: true });
}
},
removePseudo () {
const { props } = this;
let unwrappedNodes = [];
if (
props.pseudoSelection &&
props.pseudoSelection.tagName
) {
unwrappedNodes = DOM.unwrap(props.pseudoSelection);
props.pseudoSelection = null;
}
return unwrappedNodes;
},
selectContents (node) {
const newRange = document.createRange();
if (node.childNodes.length) {
newRange.selectNodeContents(node);
} else {
newRange.setStart(node, 0);
newRange.collapse(true);
}
this.updateRange(newRange);
},
updateRange (range, opts={}) {
const { mediator, props } = this;
const currentSelection = this.getCurrentSelection();
if (opts.silent) {
props.silenceChanges.push(true); // silence removeAllRanges
props.silenceChanges.push(true); // silence addRange
}
currentSelection.removeAllRanges();
currentSelection.addRange(range);
if (!opts.silent) {
mediator.emit('selection:update');
}
},
isContentEditable (node) {
return node && node.nodeType === Node.ELEMENT_NODE && node.hasAttribute('contenteditable');
},
getSelectionBounds () {
const currentRange = this.getCurrentRange();
const rangeRects = currentRange ? currentRange.getClientRects() : [];
let selectionBounds = {
top: null,
right: null,
bottom: null,
left: null,
height: null,
width: null,
initialWidth: null,
initialLeft: null
};
const setSelectionBoundary = function (rangeRect) {
['top', 'left', 'bottom', 'right', 'height', 'width'].forEach((rectKey) => {
if (!selectionBounds[rectKey]) {
selectionBounds[rectKey] = rangeRect[rectKey];
} else {
switch (rectKey) {
case 'top':
case 'left':
selectionBounds[rectKey] = Math.min(selectionBounds[rectKey], rangeRect[rectKey]);
break;
case 'bottom':
case 'right':
case 'height':
case 'width':
selectionBounds[rectKey] = Math.max(selectionBounds[rectKey], rangeRect[rectKey]);
break;
}
}
});
};
const setInitialBoundary = function (rangeRect) {
// NB: I have commented this out because it is causing inaccurate toolbar alignment.
// I am leaving it here for now in case it was actually meant for something that I
// can't recall right now.
// - Fred
// if (rangeBoundingClientRect) {
// selectionBounds.initialLeft = rangeBoundingClientRect.left;
// selectionBounds.initialWidth = rangeBoundingClientRect.width;
// } else
if (rangeRect.top === selectionBounds.top) {
if (selectionBounds.initialLeft === null) {
selectionBounds.initialLeft = rangeRect.left;
} else {
selectionBounds.initialLeft = Math.min(rangeRect.left, selectionBounds.initialLeft);
}
if (selectionBounds.initialWidth === null) {
selectionBounds.initialWidth = rangeRect.width;
} else {
selectionBounds.initialWidth = Math.max(rangeRect.right - selectionBounds.initialLeft, selectionBounds.initialWidth);
}
}
};
for (let i = 0; i < rangeRects.length; i++) {
setSelectionBoundary(rangeRects[i], i);
}
for (let i = 0; i < rangeRects.length; i++) {
setInitialBoundary(rangeRects[i], i);
}
return selectionBounds;
},
reSelect () {
const { props } = this;
if (props.cachedRange) {
this.updateRange(props.cachedRange, { silent: true });
}
},
selectAll (opts={}) {
const { dom, props } = this;
const { contextDocument } = props;
const range = contextDocument.createRange();
const rootElem = dom.el[0];
if (opts.selector) {
const elems = contextDocument.querySelectorAll(opts.selector);
range.setStartBefore(elems[0]);
range.setEndAfter(elems[elems.length - 1]);
} else {
range.setStart(rootElem, 0);
range.setEndAfter(rootElem.lastChild);
}
this.updateRange(range);
},
selectByCoordinates (rangeCoordinates) {
const { dom, props } = this;
const { contextDocument } = props;
const newRange = contextDocument.createRange();
const startCoordinates = rangeCoordinates.startCoordinates.slice(0);
const endCoordinates = rangeCoordinates.endCoordinates.slice(0);
const startOffset = startCoordinates.pop();
const endOffset = endCoordinates.pop();
let startContainer = dom.el[0];
let endContainer = dom.el[0];
while (startCoordinates.length) {
let startIndex = startCoordinates.shift();
startContainer = startContainer.childNodes[startIndex];
}
while (endCoordinates.length) {
let endIndex = endCoordinates.shift();
endContainer = endContainer.childNodes[endIndex];
}
newRange.setStart(startContainer, startOffset);
newRange.setEnd(endContainer, endOffset);
this.updateRange(newRange);
},
ensureTextOnlySelection () {
const { contextDocument } = this.props;
const currentRange = this.getCurrentRange();
const currentSelection = this.getCurrentSelection();
const {
startContainer,
endContainer,
commonAncestorContainer
} = currentRange;
if (
currentSelection.isCollapsed ||
(
startContainer.nodeType === Node.TEXT_NODE &&
endContainer.nodeType === Node.TEXT_NODE
)
) {
return;
}
const rangeString = currentRange.toString();
let newRange = contextDocument.createRange();
const walker = contextDocument.createTreeWalker(
commonAncestorContainer,
NodeFilter.SHOW_TEXT,
null,
false
);
let textNodes = [];
while (walker.nextNode()) {
textNodes.push(walker.currentNode);
}
const firstTextNode = textNodes[0];
const lastTextNode = textNodes[textNodes.length - 1];
newRange.setStart(firstTextNode, 0);
newRange.setEnd(lastTextNode, lastTextNode.textContent.length);
let currentNodeIndex = 0;
let newStartOffset = 0;
let currentTextNode = textNodes[currentNodeIndex];
while (newRange.compareBoundaryPoints(Range.START_TO_START, currentRange) < 0) {
newStartOffset += 1;
if (newStartOffset > currentTextNode.textContent.length) {
currentNodeIndex += 1;
newStartOffset = 0;
if (currentNodeIndex >= textNodes.length) {
break;
}
currentTextNode = textNodes[currentNodeIndex];
}
newRange.setStart(currentTextNode, newStartOffset);
}
let newEndOffset = newStartOffset;
newRange.setEnd(currentTextNode, newEndOffset);
while (newRange.compareBoundaryPoints(Range.END_TO_END, currentRange) < 0) {
newEndOffset += 1;
if (newEndOffset > currentTextNode.textContent.length) {
currentNodeIndex += 1;
newEndOffset = 0;
if (currentNodeIndex >= textNodes.length) {
break;
}
currentTextNode = textNodes[currentNodeIndex];
}
newRange.setEnd(currentTextNode, newEndOffset);
}
if (newRange.toString() === rangeString) {
this.updateRange(newRange, { silent: true });
}
}
},
spansMultipleBlocks () {
const { mediator } = this;
const {
anchorNode,
focusNode
} = this.getCurrentSelection();
const rootElem = this.getRootElement();
const blockTagNames = mediator.get('config:toolbar:blockTags');
const anchorBlock = DOM.getClosestInArray(anchorNode, blockTagNames, rootElem);
const focusBlock = DOM.getClosestInArray(focusNode, blockTagNames, rootElem);
return anchorBlock !== focusBlock;
}
});
export default Selection;
| 35.27186 | 141 | 0.538898 |
83de3d77551f1ec7853560bba5cf6d6f08082018 | 4,700 | js | JavaScript | addon/components/notification-message.js | IgorKvasn/ember-notifyme | 8743a1b4cc93260004217ecb070fb9b437a12f07 | [
"MIT"
] | 2 | 2016-03-30T14:53:57.000Z | 2016-12-14T23:33:05.000Z | addon/components/notification-message.js | IgorKvasn/ember-notifyme | 8743a1b4cc93260004217ecb070fb9b437a12f07 | [
"MIT"
] | 12 | 2016-04-01T15:18:00.000Z | 2021-02-22T13:16:31.000Z | addon/components/notification-message.js | IgorKvasn/ember-notifyme | 8743a1b4cc93260004217ecb070fb9b437a12f07 | [
"MIT"
] | 2 | 2018-10-09T12:45:50.000Z | 2019-06-22T18:54:26.000Z | import $ from 'cash-dom';
import { observer } from '@ember/object';
import { isEmpty } from '@ember/utils';
import { htmlSafe } from '@ember/template';
import { next, schedule } from '@ember/runloop';
import { alias } from '@ember/object/computed';
import Component from '@ember/component';
import layout from '../templates/components/notification-message';
import configuration from '../configuration';
import velocity from 'velocity-animate';
import { inject as service } from '@ember/service';
export const MESSAGE_ID_ATTRIBUTE_NAME = 'data-embernotifyme-message-id';
export default Component.extend({
classNames: ['notification-message'],
classNameBindings: ['message.type'],
attributeBindings: ['messageId:' + MESSAGE_ID_ATTRIBUTE_NAME],
layout,
notifications: service('notification-service'),
message: null,
animationDurationCss: null,
cssAnimationPlayProperty: null,
removeMe: false,
closeIconHTML: null,
messageIcon: null,
clickable: alias('message.onClick'),
_handleMouseEnterFn: null,
_handleMouseLeaveFn: null,
didInsertElement() {
this._super(...arguments);
this.set('messageId', `${this.message.id}-${this.message.timestamp}`);
this.set('_handleMouseEnterFn', this.handleMouseEnter.bind(this));
this.set('_handleMouseLeaveFn', this.handleMouseLeave.bind(this));
this.element.addEventListener(
'mouseenter',
this.get('_handleMouseEnterFn')
);
this.element.addEventListener(
'mouseleave',
this.get('_handleMouseLeaveFn')
);
next(() => {
if (this.get('isDestroyed') || this.get('isDestroying')) {
return;
}
this.startCountdown();
let message = this.get('message');
let timeout = message.get('timeout');
let sticky = message.get('sticky');
if (!sticky) {
let animationDurationCss = `animation-duration: ${timeout}ms; -webkit-animation-duration: ${timeout}ms;`;
this.set('animationDurationCss', htmlSafe(animationDurationCss));
}
let messageIconSafe = message.get('icon');
if (isEmpty(messageIconSafe)) {
messageIconSafe = configuration.getMessageIcon(
this.get('message.type')
);
}
messageIconSafe = htmlSafe(messageIconSafe);
this.set('messageIcon', messageIconSafe);
this.set('closeIconHTML', configuration.getCloseIconHTML());
if (message.get('htmlContent')) {
message.set('message', htmlSafe(message.get('message')));
}
});
},
willDestroyElement() {
this._super(...arguments);
this.element.removeEventListener(
'mouseenter',
this.get('_handleMouseEnterFn')
);
this.element.removeEventListener(
'mouseleave',
this.get('_handleMouseLeaveFn')
);
},
removeMeObserver: observer('message.removeMe', function () {
if (this.get('message.removeMe') === true) {
this.animateRemoval(() => {
this.notifications.removeMessageFromList(this.get('message'));
});
}
}),
handleMouseEnter() {
if (!this.get('message.sticky')) {
this.stopCountdown();
this.notifications.pauseMessageTimeout(this.get('message'));
}
},
handleMouseLeave() {
if (!this.get('message.sticky')) {
this.startCountdown();
this.notifications.startMessageTimer(this.get('message'));
}
},
animateRemoval(onAnimationDone) {
velocity(
this.element,
{
scale: 1.05,
},
{
duration: 200,
}
);
velocity(
this.element,
{
scale: 0,
},
{
duration: 500,
complete: onAnimationDone,
}
);
},
stopCountdown() {
let $countdown = $(this.element).find('.countdown');
if ($countdown.length !== 0) {
velocity($countdown[0], 'stop', true);
}
},
startCountdown() {
if (this.get('message.sticky') === true) {
return;
}
schedule('afterRender', this, function () {
let $element = $(this.element);
velocity(
$element.find('.countdown')[0],
{
width: $element.width(),
},
{
duration: this.get('message.timeout'),
easing: 'linear',
}
);
});
},
actions: {
messageClicked() {
let message = this.get('message');
let onClick = message.get('onClick');
onClick(message);
if (message.get('closeOnClick') === true) {
this.notifications.removeMessage(message);
}
},
messageClosed() {
let message = this.get('message');
let onClose = message.get('onClose');
onClose(message);
this.notifications.removeMessage(message);
},
},
});
| 24.867725 | 113 | 0.614681 |
83df05a1a6f7e0466033d046ea0bbc2771cf2016 | 1,876 | js | JavaScript | src/components/Post.js | taniarascia/cenobyte | 7154b667744a2979a34c7b9d39e01102109a6e5d | [
"MIT"
] | 1 | 2020-07-29T07:26:21.000Z | 2020-07-29T07:26:21.000Z | src/components/Post.js | taniarascia/cenobyte | 7154b667744a2979a34c7b9d39e01102109a6e5d | [
"MIT"
] | 1 | 2022-02-11T15:49:30.000Z | 2022-02-11T15:49:30.000Z | src/components/Post.js | taniarascia/cenobyte | 7154b667744a2979a34c7b9d39e01102109a6e5d | [
"MIT"
] | null | null | null | import React from 'react'
import { Link } from 'gatsby'
import Img from 'gatsby-image'
export const Post = ({ node, query, prefix, hideDate, yearOnly }) => {
const date = new Date(node.date)
const oneMonthAgo = new Date()
oneMonthAgo.setMonth(oneMonthAgo.getMonth() - 1)
let isNew = false
if (date > oneMonthAgo) {
isNew = true
}
let formattedDate
let formattedYear
if (node.date) {
const dateArr = node.date.split(' ')
const year = dateArr.pop()
dateArr[0] = dateArr[0].slice(0, 3)
formattedDate = dateArr.join(' ').slice(0, -1)
formattedYear = year
}
const getTitle = (title, query) => {
if (query) {
const re = new RegExp(query.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'i')
const highlightStart = title.search(re)
if (highlightStart !== -1) {
const highlightEnd = highlightStart + query.length
return (
<h3>
{title.slice(0, highlightStart)}
<strong className="highlighted">
{title.slice(highlightStart, highlightEnd)}
</strong>
{title.slice(highlightEnd)}
</h3>
)
}
return <h3>{title}</h3>
}
return <h3>{title}</h3>
}
return (
<Link
to={prefix ? `/${prefix}${node.slug}` : node.slug}
key={node.id}
className={isNew ? 'post new' : 'post'}
>
<span className="flex" style={{ alignItems: 'center' }}>
{node.thumbnail && (
<Img
fixed={node.thumbnail}
style={{ marginRight: '1rem', minWidth: '25px' }}
/>
)}
{getTitle(node.title, query)}
<span className="new-badge">{isNew && 'New!'}</span>
</span>
<div>
{formattedDate && !hideDate && (
<time>{yearOnly ? formattedYear : formattedDate}</time>
)}
</div>
</Link>
)
}
| 25.69863 | 78 | 0.537313 |
83dfb763c7cc684f06834acc72494aa7127444c2 | 327 | js | JavaScript | client/src/actionCreators/downVoteRecipe.js | Billmike/More-Recipes | 0dffcc2e884879452d5c6313996f9eb4f503bde7 | [
"MIT"
] | null | null | null | client/src/actionCreators/downVoteRecipe.js | Billmike/More-Recipes | 0dffcc2e884879452d5c6313996f9eb4f503bde7 | [
"MIT"
] | null | null | null | client/src/actionCreators/downVoteRecipe.js | Billmike/More-Recipes | 0dffcc2e884879452d5c6313996f9eb4f503bde7 | [
"MIT"
] | null | null | null | import { DOWNVOTE_RECIPE } from '../actions/types';
/**
* Represents a function
* @function
*
* @param { number } id - The recipe id
*
* @returns { object } - returns an object with an action type
*/
const downVoteRecipe = (id, userId) => ({
type: DOWNVOTE_RECIPE,
id,
userId
});
export default downVoteRecipe;
| 17.210526 | 62 | 0.651376 |
83e01cfa1222e7807ba2773bb8240b1d072a1e4c | 1,403 | js | JavaScript | docs/reference/cmsis-plus/search/classes_6.js | micro-os-plus/web-preview | f22c44746b8f346e03363632d7d9c0c34d97b7d6 | [
"MIT"
] | null | null | null | docs/reference/cmsis-plus/search/classes_6.js | micro-os-plus/web-preview | f22c44746b8f346e03363632d7d9c0c34d97b7d6 | [
"MIT"
] | 1 | 2016-03-04T10:49:16.000Z | 2016-03-04T10:49:16.000Z | docs/reference/cmsis-plus/search/classes_6.js | micro-os-plus/web-preview | f22c44746b8f346e03363632d7d9c0c34d97b7d6 | [
"MIT"
] | 2 | 2016-08-13T15:52:08.000Z | 2018-07-30T16:56:39.000Z | var searchData=
[
['file',['file',['../classos_1_1posix_1_1file.html',1,'os::posix']]],
['file_5fdescriptors_5fmanager',['file_descriptors_manager',['../classos_1_1posix_1_1file__descriptors__manager.html',1,'os::posix']]],
['file_5fimpl',['file_impl',['../classos_1_1posix_1_1file__impl.html',1,'os::posix']]],
['file_5fimplementable',['file_implementable',['../classos_1_1posix_1_1file__implementable.html',1,'os::posix']]],
['file_5flockable',['file_lockable',['../classos_1_1posix_1_1file__lockable.html',1,'os::posix']]],
['file_5fsystem',['file_system',['../classos_1_1posix_1_1file__system.html',1,'os::posix']]],
['file_5fsystem_5fimpl',['file_system_impl',['../classos_1_1posix_1_1file__system__impl.html',1,'os::posix']]],
['file_5fsystem_5fimplementable',['file_system_implementable',['../classos_1_1posix_1_1file__system__implementable.html',1,'os::posix']]],
['file_5fsystem_5flockable',['file_system_lockable',['../classos_1_1posix_1_1file__system__lockable.html',1,'os::posix']]],
['first_5ffit_5ftop',['first_fit_top',['../classos_1_1memory_1_1first__fit__top.html',1,'os::memory']]],
['first_5ffit_5ftop_5fallocated',['first_fit_top_allocated',['../classos_1_1memory_1_1first__fit__top__allocated.html',1,'os::memory']]],
['first_5ffit_5ftop_5finclusive',['first_fit_top_inclusive',['../classos_1_1memory_1_1first__fit__top__inclusive.html',1,'os::memory']]]
];
| 87.6875 | 140 | 0.755524 |
83e0a8961d73da95c7b4fa488c688ce26c4f0b99 | 650 | js | JavaScript | lib/data/resolvers/mutation/generateMutationResolvers.js | aaaryS/serverlessrest | 37a1b2d3c4fe2a72e3743badc133c63837c397e0 | [
"MIT"
] | 1 | 2020-08-07T23:37:13.000Z | 2020-08-07T23:37:13.000Z | lib/data/resolvers/mutation/generateMutationResolvers.js | iskandiar/serverlessrest | 37a1b2d3c4fe2a72e3743badc133c63837c397e0 | [
"MIT"
] | null | null | null | lib/data/resolvers/mutation/generateMutationResolvers.js | iskandiar/serverlessrest | 37a1b2d3c4fe2a72e3743badc133c63837c397e0 | [
"MIT"
] | null | null | null | import createResolver from './createResolver';
import updateResolver from './updateResolver';
import deleteResolver from './deleteResolver';
const generateMutationResolvers = config => config.mutations.reduce((acc, mutation) => {
switch (mutation.type) {
case 'create':
acc[`create${config.item}`] = createResolver(config, mutation);
break;
case 'update':
acc[`update${config.item}`] = updateResolver(config, mutation);
break;
case 'delete':
acc[`delete${config.item}`] = deleteResolver(config);
break;
default:
break;
}
return acc;
}, {});
export default generateMutationResolvers;
| 27.083333 | 88 | 0.672308 |
83e15a5a606cb4f1dcaf3d4c85cddac2a7060a6a | 20 | js | JavaScript | turms-admin/cypress/support/index.js | warmchang/turms | b1ef2d262ea4cad45b5e2e178fc4cb5868d8e8c9 | [
"Apache-2.0"
] | 1,008 | 2019-06-12T23:58:03.000Z | 2022-03-28T01:38:39.000Z | acceptance-tests/support/index.ts | uplift-klinker/react-cheatsheet | 082b1a2df91ba20af22eb943193bb60bb9d73336 | [
"MIT"
] | 940 | 2019-09-28T00:04:10.000Z | 2022-03-30T04:20:28.000Z | acceptance-tests/support/index.ts | uplift-klinker/react-cheatsheet | 082b1a2df91ba20af22eb943193bb60bb9d73336 | [
"MIT"
] | 144 | 2019-06-13T06:00:30.000Z | 2022-03-26T16:21:41.000Z | import './commands'; | 20 | 20 | 0.7 |
83e1fd0f4f891cd914ddcebe87f6af113c0b3335 | 1,405 | js | JavaScript | src/__tests__/components/task/AddTask.test.js | mourban/front-react-client | 7f329035fad333cbff435885a5de7e437444d7e0 | [
"MIT",
"Unlicense"
] | 1 | 2019-07-02T05:10:05.000Z | 2019-07-02T05:10:05.000Z | src/__tests__/components/task/AddTask.test.js | mourban/front-react-client | 7f329035fad333cbff435885a5de7e437444d7e0 | [
"MIT",
"Unlicense"
] | null | null | null | src/__tests__/components/task/AddTask.test.js | mourban/front-react-client | 7f329035fad333cbff435885a5de7e437444d7e0 | [
"MIT",
"Unlicense"
] | null | null | null | import React from 'react';
import {configure, shallow, mount} from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import AddTask from '../../../components/task/AddTask';
configure({adapter: new Adapter()});
describe('<AddTask/> Component', () => {
let wrapper;
let spy;
it('render AddTask', () => {
wrapper = shallow(<AddTask/>);
expect(wrapper.find(AddTask)).toBeDefined();
});
it('description field check', () => {
wrapper = shallow(<AddTask/>);
wrapper.find('textarea[name="description"]')
.simulate('change', {target: {name: 'description', value: 'Description'}});
expect(wrapper.state('description')).toEqual('Description');
});
it('exist button agregar', () => {
wrapper = shallow(<AddTask/>)
expect(wrapper.find('#btn-add-task')).toHaveLength(1);
});
it('button click agregar', async () => {
beforeAll(async (done) => {
spy = jest.spyOn(AddTask.prototype, 'onSubmit');
wrapper = mount(<AddTask/>);
await wrapper.find('form').simulate('submit', {
preventDefault() { },
add() { }
});
done();
});
afterAll(async (done) => {
expect(spy).toHaveBeenCalled();
spy.mockClear();
done();
});
});
}) | 28.1 | 83 | 0.524555 |
83e1fe38a4a9cd89ffea705bab20d828e8d22f45 | 6,432 | js | JavaScript | lemon-workflow-frontend/src/api/index.js | lyubo95/lemon-workflow | 18b9db6a14dac1c3e4b604abe42308d6dbaa8fea | [
"Apache-2.0"
] | 28 | 2021-08-04T09:28:09.000Z | 2022-02-06T19:38:38.000Z | lemon-workflow-frontend/src/api/index.js | lyubo95/lemon-workflow | 18b9db6a14dac1c3e4b604abe42308d6dbaa8fea | [
"Apache-2.0"
] | 1 | 2021-08-20T22:16:02.000Z | 2021-08-25T01:41:39.000Z | lemon-workflow-frontend/src/api/index.js | lyubo95/lemon-workflow | 18b9db6a14dac1c3e4b604abe42308d6dbaa8fea | [
"Apache-2.0"
] | 1 | 2021-11-04T19:05:09.000Z | 2021-11-04T19:05:09.000Z | import request from '../utils/request';
// 示例
export const fetchData = query => {
return request({
url: 'http://localhost:8080/table.json',
method: 'get',
params: query
});
};
//登录
export const requestLogin = param => {
return request({
url: '/login' + param,
method: 'post'
});
};
// /////////////////////////////////////////////
// 系统管理
// 用户管理
export const getAllUsers = (size, start) => {
return request({
url: `/process-api/identity/users?&size=${size}&start=${start}`,
method: 'get'
});
};
// Add a user
export const addUser = (params) => {
return request({
url: `/process-api/identity/users`,
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: params
});
};
// 获取单个用户信息
export const getOneUser = (userId) => {
return request({
url: `/process-api/identity/users/${userId}`,
method: 'get'
});
};
// 根据用户名去查询某个用户
export const searchOneUser = (username) => {
return request({
url: `/process-api/identity/users?firstName=${username}`,
method: 'get'
});
};
//删除单个用户
export const deleteOneUser = (userId) => {
return request({
url: `/process-api/identity/users/${userId}`,
method: 'delete'
});
};
// 用户组管理
export const addGroup = (params) => {
return request({
url: `/process-api/identity/groups`,
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: params
});
};
export const getAllGroups = (size, start) => {
return request({
url: `/process-api/identity/groups?&size=${size}&start=${start}`,
method: 'get'
});
};
export const searchOneGroup = (groupId) => {
return request({
url: `/process-api/identity/group/${groupId}`,
method: 'get'
});
};
export const deleteOneGroup = (groupId) => {
return request({
url: `/process-api/identity/groups/${groupId}`,
method: 'delete'
});
};
export const updateGroup = (groupId, params) => {
return request({
url: `/process-api/identity/groups/${groupId}`,
method: 'put',
headers: {
'Content-Type': 'application/json'
},
data: params
});
};
// Add a member to a group
export const addMemberToGroup = (groupId, params) => {
return request({
url: `/process-api/identity/groups/${groupId}/members`,
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: params
});
};
// //////////////////////////////////////////////////
// 我的办公
// 代办任务
export const getTasks = (size, start, assignee) => {
return request({
url: `/process-api/runtime/tasks?assignee=${assignee}&size=${size}&start=${start}`,
method: 'get'
});
};
export const completeTask = (taskId, taskRequestBody) => {
return request({
url: `/process-api/runtime/tasks/${taskId}`,
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: taskRequestBody
});
};
// 已完成任务,根据历史任务中的durationInMillis来判断(或者结束时间)
export const getHistoryTasks = (size, start, assignee) => {
return request({
url: `/process-api/history/historic-task-instances?assignee=${assignee}&size=${size}&start=${start}&finished=true`,
method: 'get'
});
};
// //////////////////////////////////////////////////
// 工作流管理
// 模型
export const getAllModels = (size, start, category) => {
return request({
url: `/process-api/repository/models?&size=${size}&start=${start}&category=${category}`,
method: 'get'
});
};
export const deleteModel = (modelId) => {
return request({
url: `/process-api/repository/models/${modelId}`,
method: 'delete'
});
};
export const addModel = (params) => {
return request({
url: `/process-api/repository/models`,
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: params
});
};
// 模型部署
export const createDeployment = (file) => {
const forms = new FormData();
forms.append('file', file);
return request({
url: '/process-api/repository/deployments',
method: 'post',
data: forms,
headers: { 'Content-Type': 'multipart/form-data' }
});
};
// 保存流程文件(Set the editor source for a model)
export const setTheEditorSource = (modelId, file) => {
const forms = new FormData();
forms.append('file', file);
return request({
url: `/process-api/repository/models/${modelId}/source`,
method: 'put',
data: forms,
headers: { 'Content-Type': 'multipart/form-data' }
});
};
// 获取流程文件
export const getTheEditorSource = (modelId) => {
return request({
url: `/process-api/repository/models/${modelId}/source`,
method: 'get',
});
};
// 部署相关的接口
export const getAllDeployments = (size, start) => {
return request({
url: `/process-api/repository/deployments?&size=${size}&start=${start}`,
method: 'get'
});
};
// 删除一条部署
export const deleteOneDeployment = (deploymentId) => {
return request({
url: `/process-api/repository/deployments/${deploymentId}`,
method: 'delete'
});
};
//获取流程定义
export const getAllDefs = (size, start) => {
return request({
url: `/process-api/repository/process-definitions?&size=${size}&start=${start}`,
method: 'get'
});
};
export const searchDefs = (size, start, name) => {
return request({
url: `/process-api/repository/process-definitions?&size=${size}&start=${start}&nameLike=${name}`,
method: 'get'
});
};
// Start a process instance
export const startInstance = (params) => {
return request({
url: `/process-api/runtime/process-instances`,
method: 'post',
headers: {
'Content-Type': 'application/json'
},
data: params
});
};
// 获取全部流程实例
export const getAllProIns = (size, start) => {
return request({
url: `/process-api/runtime/process-instances?&size=${size}&start=${start}`,
method: 'get'
});
};
// 删除一个流程实例
export const deleteProIns = param => {
return request({
url: `/process-api/runtime/process-instances/${param}`,
method: 'delete'
});
};
| 25.223529 | 123 | 0.55426 |
83e2b2bd07c2b7ced21549d3667715cba656257f | 1,492 | js | JavaScript | src/components/SectionTwo.js | Thoud/landing-page-clone | 5d65200d4022c60a35f19295b63af21158582c13 | [
"MIT"
] | null | null | null | src/components/SectionTwo.js | Thoud/landing-page-clone | 5d65200d4022c60a35f19295b63af21158582c13 | [
"MIT"
] | 4 | 2021-02-16T15:42:22.000Z | 2021-04-22T12:41:27.000Z | src/components/SectionTwo.js | Thoud/landing-page-clone | 5d65200d4022c60a35f19295b63af21158582c13 | [
"MIT"
] | null | null | null | /** @jsxImportSource @emotion/react */
import { css } from '@emotion/react';
import { colors } from './ColorPalette';
// Import images
import man from '../images/man.png';
// Component style
const sectionTwoStyles = css`
background: ${colors.grayWhite};
display: grid;
grid-template-columns: 1fr 1fr;
div {
margin-left: 15.2vw;
grid-column: 1;
}
h2 {
color: ${colors.darkBlue};
font-size: 2rem;
margin: 9.6vw 0 2vw 0;
}
h4 {
font-size: 1.29rem;
color: ${colors.darkBlue};
font-weight: 700;
margin: 2.6vw 0 6vw 0;
}
img {
grid-column: 2;
margin-left: 9.4vw;
transform: translateY(9.2vw);
}
@media screen and (max-width: 990px) {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
div {
margin: 0 5vw 10vw 5vw;
}
img {
margin: 0 0 10vw 0;
transform: none;
}
}
`;
export default function SectionTwo() {
return (
<section css={sectionTwoStyles}>
<div>
<h2>Subscription-based design service to help you grow, fast.</h2>
<p>
Don't let creative or design resources slow you down or act as a
bottleneck. By investing in design early, you will be able to validate
your ideas more quickly and better prioritize your time.
</p>
<h4>Get professional design work in 3 easy steps</h4>
</div>
<img src={man} alt="Cartoon Man" />
</section>
);
}
| 20.438356 | 80 | 0.600536 |
83e2dcde27759b38017815f1bc14154052f825c9 | 201 | js | JavaScript | web_platform/src/AppBody/DashBoard/DashBoard.js | Augustoandro/intermediate-security-server | 719a9df07bc4d5381131ac7f6281fe84f92602f9 | [
"MIT"
] | null | null | null | web_platform/src/AppBody/DashBoard/DashBoard.js | Augustoandro/intermediate-security-server | 719a9df07bc4d5381131ac7f6281fe84f92602f9 | [
"MIT"
] | null | null | null | web_platform/src/AppBody/DashBoard/DashBoard.js | Augustoandro/intermediate-security-server | 719a9df07bc4d5381131ac7f6281fe84f92602f9 | [
"MIT"
] | 1 | 2021-07-07T09:22:59.000Z | 2021-07-07T09:22:59.000Z | import React from "react";
import Sidebar from "../Pages/Sidebar";
const DashBoard = () => {
return (
<div className="dashboard">
<Sidebar />
</div>
);
};
export default DashBoard;
| 15.461538 | 39 | 0.606965 |
83e358f9eb740e36af33d98ffe427e800a641ae0 | 877 | js | JavaScript | src/api/v2/metadata/season/s00.js | UnusAnnusArchived/TUAA-Backend | a56e2bb91b3ddc84b310f18b685e866b4206f6b0 | [
"Unlicense"
] | 1 | 2021-08-24T03:56:57.000Z | 2021-08-24T03:56:57.000Z | src/api/v2/metadata/season/s00.js | UnusAnnusArchived/TUAA-Backend | a56e2bb91b3ddc84b310f18b685e866b4206f6b0 | [
"Unlicense"
] | null | null | null | src/api/v2/metadata/season/s00.js | UnusAnnusArchived/TUAA-Backend | a56e2bb91b3ddc84b310f18b685e866b4206f6b0 | [
"Unlicense"
] | 1 | 2021-05-03T20:09:03.000Z | 2021-05-03T20:09:03.000Z | "use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var fs_1 = __importDefault(require("fs"));
var config_json_1 = require("../../../../config.json");
function all(app) {
app.get('/v2/metadata/season/s00', function (req, res) {
var metadata = [];
var s00 = fs_1.default.readdirSync("".concat(config_json_1.metadataPath, "/00"));
for (var i = 0; i < s00.length; i++) {
metadata.push(JSON.parse(fs_1.default.readFileSync("".concat(config_json_1.metadataPath, "/00/").concat(s00[i]), 'utf-8')));
}
res.setHeader('content-type', 'application/json');
res.send(metadata);
});
}
exports.default = all;
//# sourceMappingURL=s00.js.map | 43.85 | 137 | 0.610034 |
83e3adf75c4f7a5579d437e808e93aefd6a3d02f | 446 | js | JavaScript | src/export-travel.js | yongjun21/scrapping-LTA | 5bfd2ba5fc8e2d12480d375775a87ef72d87a7e1 | [
"0BSD"
] | 1 | 2016-02-20T00:18:02.000Z | 2016-02-20T00:18:02.000Z | src/export-travel.js | yongjun21/scrapping-LTA | 5bfd2ba5fc8e2d12480d375775a87ef72d87a7e1 | [
"0BSD"
] | null | null | null | src/export-travel.js | yongjun21/scrapping-LTA | 5bfd2ba5fc8e2d12480d375775a87ef72d87a7e1 | [
"0BSD"
] | null | null | null | import PouchDB from 'pouchdb'
import fs from 'fs'
const db = new PouchDB(
'https://daburu.cloudant.com/lta-travel-time', {
auth: {
username: process.env.CLOUDANT_TRAVEL_KEY,
password: process.env.CLOUDANT_TRAVEL_PASSWORD
}
}
)
db.allDocs({include_docs: true})
.then((docs) => docs.rows.map((row) => row.doc))
.then((docs) => {
fs.writeFileSync('R/travel.json', JSON.stringify(docs))
})
.catch(console.error)
| 23.473684 | 59 | 0.659193 |
83e42c1f0e3cb3e8cd716f49e350e155a622711e | 5,352 | js | JavaScript | frontend/app/assets/javascripts/views/pages/explore/dialect/Contributor/detail.js | elysse-fpcc/fv-test | 1d52a7755b158f3cd482fb1cfe9f8f9082ac4392 | [
"Apache-2.0"
] | null | null | null | frontend/app/assets/javascripts/views/pages/explore/dialect/Contributor/detail.js | elysse-fpcc/fv-test | 1d52a7755b158f3cd482fb1cfe9f8f9082ac4392 | [
"Apache-2.0"
] | 1 | 2020-03-12T02:43:51.000Z | 2020-03-12T02:43:51.000Z | frontend/app/assets/javascripts/views/pages/explore/dialect/Contributor/detail.js | regroove-solutions/fv-web-ui | 0fb69a5e25b4ab11f23607b465b9fac65b807750 | [
"Apache-2.0"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types'
import selectn from 'selectn'
// REDUX
import { connect } from 'react-redux'
// REDUX: actions/dispatch/func
import { fetchContributor, fetchContributors } from 'providers/redux/reducers/fvContributor'
import ProviderHelpers from 'common/ProviderHelpers'
import { STATE_LOADING, STATE_DEFAULT, STATE_ERROR_BOUNDARY } from 'common/Constants'
import StateLoading from 'views/components/Loading'
import StateErrorBoundary from 'views/components/ErrorBoundary'
import StateDetail from './states/detail'
import '!style-loader!css-loader!./Contributor.css'
const { element, func, number, object, string } = PropTypes
export class Contributor extends React.Component {
static propTypes = {
className: string,
copy: object,
groupName: string,
breadcrumb: element,
DEFAULT_PAGE: number,
DEFAULT_PAGE_SIZE: number,
DEFAULT_LANGUAGE: string,
DEFAULT_SORT_COL: string,
DEFAULT_SORT_TYPE: string,
onDocumentCreated: func,
validator: object,
// REDUX: reducers/state
computeContributor: object.isRequired,
routeParams: object.isRequired,
// REDUX: actions/dispatch/func
fetchContributor: func.isRequired,
fetchContributors: func.isRequired,
}
static defaultProps = {
className: 'Contributor',
}
state = {
componentState: STATE_LOADING,
}
async componentDidMount() {
const copy = this.props.copy
? this.props.copy
: await import(/* webpackChunkName: "ContributorDetailsInternationalization" */ './internationalization').then(
(_copy) => {
return _copy.default
}
)
await this._getData({ copy })
}
render() {
let content = null
switch (this.state.componentState) {
case STATE_LOADING: {
content = this._stateGetLoading()
break
}
case STATE_DEFAULT: {
content = this._stateGetDetail()
break
}
case STATE_ERROR_BOUNDARY: {
content = this._stateGetErrorBoundary()
break
}
default:
content = <div>{/* Shouldn't get here */}</div>
}
return content
}
_getData = async(addToState = {}) => {
// Do any loading here...
const { routeParams } = this.props
const { itemId } = routeParams
await this.props.fetchContributor(itemId)
const contributor = await this._getContributor()
if (contributor.isError) {
this.setState({
componentState: STATE_ERROR_BOUNDARY,
errorMessage: contributor.message,
...addToState,
})
} else {
this.setState({
componentState: STATE_DEFAULT,
valueName: contributor.name,
valueDescription: contributor.description,
valuePhotoName: contributor.photoName,
valuePhotoData: contributor.photoData,
isTrashed: contributor.isTrashed,
contributor: contributor.data,
...addToState,
})
}
}
_stateGetLoading = () => {
const { className } = this.props
return <StateLoading className={className} copy={this.state.copy} />
}
_stateGetErrorBoundary = () => {
return <StateErrorBoundary errorMessage={this.state.errorMessage} copy={this.state.copy} />
}
_stateGetDetail = () => {
const { className, groupName } = this.props
const { isBusy, valueDescription, valueName, valuePhotoName, valuePhotoData, isTrashed } = this.state
return (
<StateDetail
copy={this.state.copy}
className={className}
groupName={groupName}
isBusy={isBusy}
valueName={valueName}
isTrashed={isTrashed}
valueDescription={valueDescription}
valuePhotoName={valuePhotoName}
valuePhotoData={valuePhotoData}
/>
)
}
_getContributor = async() => {
const { computeContributor, routeParams } = this.props
const { itemId } = routeParams
// Extract data from immutable:
const _computeContributor = await ProviderHelpers.getEntry(computeContributor, itemId)
if (_computeContributor.success) {
// Extract data from object:
const name = selectn(['response', 'properties', 'dc:title'], _computeContributor)
const description = selectn(['response', 'properties', 'dc:description'], _computeContributor)
const photoName = selectn(
['response', 'properties', 'fvcontributor:profile_picture', 'name'],
_computeContributor
)
const photoData = selectn(
['response', 'properties', 'fvcontributor:profile_picture', 'data'],
_computeContributor
)
const isTrashed = selectn(['response', 'isTrashed'], _computeContributor) || false
// Respond...
return { isTrashed, name, description, photoName, photoData, data: _computeContributor }
}
return { isError: _computeContributor.isError, message: _computeContributor.message }
}
}
// REDUX: reducers/state
const mapStateToProps = (state /*, ownProps*/) => {
const { fvContributor, navigation } = state
const { computeContributor } = fvContributor
const { route } = navigation
return {
computeContributor,
routeParams: route.routeParams,
}
}
// REDUX: actions/dispatch/func
const mapDispatchToProps = {
fetchContributor,
fetchContributors,
}
export default connect(
mapStateToProps,
mapDispatchToProps
)(Contributor)
| 29.569061 | 117 | 0.672833 |
83e466ca6c6f7404c26026ec4dfed9d0a61da610 | 148 | js | JavaScript | data/js/70/b3/d5/d9/40/00.36.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/70/b3/d5/d9/40/00.36.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/70/b3/d5/d9/40/00.36.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | deepmacDetailCallback("70b3d5d94000/36",[{"a":"Parkring 4 Grambach AT 8074","o":"Dewetron GmbH","d":"2016-02-21","t":"add","s":"ieee","c":"AT"}]);
| 74 | 147 | 0.628378 |
83e4e3769f9c52aa0b89df07fd6fcdfc1c885d5c | 978 | js | JavaScript | node_modules/grunt-caveman/tasks/caveman.js | andrewchilds/overcast-charts | 806d274ff4140a3c08668ad02ab2b58cc44e6ad9 | [
"MIT"
] | 3 | 2015-03-17T06:25:35.000Z | 2016-12-30T16:12:40.000Z | node_modules/grunt-caveman/tasks/caveman.js | andrewchilds/overcast-charts | 806d274ff4140a3c08668ad02ab2b58cc44e6ad9 | [
"MIT"
] | null | null | null | node_modules/grunt-caveman/tasks/caveman.js | andrewchilds/overcast-charts | 806d274ff4140a3c08668ad02ab2b58cc44e6ad9 | [
"MIT"
] | null | null | null | /*
* grunt-caveman
* https://github.com/andrewchilds/grunt-caveman
*/
module.exports = function (grunt) {
var Caveman = require('caveman');
grunt.registerMultiTask('caveman', 'Compile caveman templates', function () {
var path = require('path');
var templateCount = 0;
var output = '';
grunt.file.expand(this.data.src).forEach(function (template) {
templateCount++;
var name = path.basename(template, path.extname(template));
try {
var compiled = Caveman.compile(grunt.file.read(template) + '');
output += "Caveman.register('" + name + "', function(Caveman, d) { " +
compiled + " });\n";
} catch (e) {
grunt.log.error(e);
grunt.fail.warn('Error compiling Caveman template ' + name +
' in ' + template);
}
});
grunt.file.write(this.data.dest, output);
grunt.log.writeln(templateCount + ' templates saved to file "' +
this.data.dest + '".');
});
};
| 27.942857 | 79 | 0.592025 |
83e601ac50c314acfea6750e9a7c899d4cbf9392 | 1,573 | js | JavaScript | js/responsive.js | ratel-online/js-client | 26b49fd5a3fd572d1007abb5beb03dbf8ee4eef8 | [
"Apache-2.0"
] | 1 | 2022-01-28T02:23:12.000Z | 2022-01-28T02:23:12.000Z | js/responsive.js | ratel-online/js-client | 26b49fd5a3fd572d1007abb5beb03dbf8ee4eef8 | [
"Apache-2.0"
] | 1 | 2022-01-26T01:59:28.000Z | 2022-01-26T01:59:28.000Z | js/responsive.js | ratel-online/js-client | 26b49fd5a3fd572d1007abb5beb03dbf8ee4eef8 | [
"Apache-2.0"
] | 4 | 2022-01-19T02:54:23.000Z | 2022-01-26T02:47:10.000Z | ; (function (window) {
'use strict';
function throttle(func, delay) {
let timer= null;
let startTime = Date.now();
return function () {
const remaining = delay - (Date.now() - startTime);
const context = this;
const args = arguments;
if (timer) clearTimeout(timer);
if (remaining <= 0) {
func.apply(context, args);
startTime = Date.now();
} else {
timer = setTimeout(func, remaining);
}
};
}
function core() {
if (window.outerWidth >= 800) {
document.querySelector('#cust_style') && document.querySelector('#cust_style').remove()
var styleElement = document.createElement('style');
styleElement.type = 'text/css';
styleElement.id = 'cust_style';
document.getElementsByTagName('head')[0].appendChild(styleElement);
styleElement.appendChild(document.createTextNode(`
#console {width: 800px; height:${window.outerHeight}px; border: 1px #ddd solid; top: 0px; right: 0px; z-index: 999; overflow:hidden; position: fixed; background: rgba(253, 253, 253, 0.993); overflow: hidden;}
#content {
height:${window.outerHeight - 200}px;
}
`));
}else document.querySelector('#cust_style') && document.querySelector('#cust_style').remove()
}
let lazyLayout = throttle(core, 200)
window.onresize = lazyLayout
core()
}(this));
| 41.394737 | 224 | 0.55499 |
83e6562b1f79f9d58e7d98ae86a67b3255bbe08f | 4,067 | js | JavaScript | client/src/App/_services/pollService.js | CrumrineCoder/PollingReactNodeBase | 09fa41fe28cd2c14016d90d4ab72baffbdea45d3 | [
"MIT"
] | null | null | null | client/src/App/_services/pollService.js | CrumrineCoder/PollingReactNodeBase | 09fa41fe28cd2c14016d90d4ab72baffbdea45d3 | [
"MIT"
] | null | null | null | client/src/App/_services/pollService.js | CrumrineCoder/PollingReactNodeBase | 09fa41fe28cd2c14016d90d4ab72baffbdea45d3 | [
"MIT"
] | null | null | null | import mongoose from 'mongoose';
export const pollService = {
createPoll,
votePollAnswer,
votePollUserAnswer,
votePollCreateUserAnswer,
votePollMultiple,
get,
rescind,
checkExistence,
editPoll,
deletePoll
}
// make a post request with a created poll to the backend
function createPoll(poll) {
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(poll)
};
return fetch(`/api/polls/createPoll`, requestOptions).then(handleResponse);
}
function editPoll(poll) {
// let body = JSON.stringify({poll: poll, shouldReset: shouldReset });
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(poll)
};
return fetch(`/api/polls/editPoll`, requestOptions).then(handleResponse);
}
function deletePoll(id) {
// let body = JSON.stringify({poll: poll, shouldReset: shouldReset });
const requestOptions = {
method: 'POST'
};
return fetch(`/api/polls/deletePoll/` + id, requestOptions).then(handleResponse);
}
// make a post request with a single vote on a poll creator answer
function votePollAnswer(poll) {
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(poll)
};
return fetch(`/api/polls/voteAnswer`, requestOptions).then(handleResponse);
}
// make a post request with a single vote on a user answer
function votePollUserAnswer(poll) {
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(poll)
};
return fetch(`/api/polls/voteUserAnswer`, requestOptions).then(handleResponse);
}
// make a post request with a single created user answer
function votePollCreateUserAnswer(poll) {
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(poll)
};
return fetch(`/api/polls/userVote`, requestOptions).then(handleResponse);
}
// make a post request with multiple votes
function votePollMultiple(poll) {
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(poll)
};
return fetch(`/api/polls/voteMultiple`, requestOptions).then(handleResponse);
}
// make a post request rescinding the user's votes
function rescind(poll) {
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(poll)
};
return fetch(`/api/polls/rescind`, requestOptions).then(handleResponse);
}
// make a GET request to get poll(s) data
function get(poll) {
const requestOptions = {
method: 'GET'
};
// if the incoming Poll id is set to "All", that means get all polls
if (poll === "All") {
return fetch("api/polls/get/", requestOptions).then(handleResponse);
}
// Or if we have just one ID, get one poll
else {
var id = mongoose.Types.ObjectId(poll);
return fetch("api/polls/get/" + id, requestOptions).then(handleResponse);
}
}
// make a GET request to get poll(s) data
function checkExistence(question) {
const requestOptions = {
method: 'GET'
};
return fetch("api/polls/checkExistence/" + question, requestOptions).then(handleResponse);
}
// error handling if there is one and returning data to the front end after getting it from the backend
function handleResponse(response) {
// console.log(response.text());
return response.text().then(text => {
// console.log((JSON.parse(text).polls).find(x => x.creator == "5c489f668665512ec004db37"))
const data = text && JSON.parse(text);
if (!response.ok) {
const error = (data && data.message) || response.statusText;
return Promise.reject(error);
}
return data;
});
} | 31.045802 | 103 | 0.646668 |
83e69139e27ad8a063d8b3e000a8b9fc06f782c2 | 1,079 | js | JavaScript | src/loaders/match.js | ajhyndman/riot-api-graphql | 0bea301053a520ca455acd6912c1da4b1a307348 | [
"MIT"
] | 11 | 2017-01-30T22:29:55.000Z | 2021-04-02T20:41:03.000Z | src/loaders/match.js | ajhyndman/riot-graphql-api | 0bea301053a520ca455acd6912c1da4b1a307348 | [
"MIT"
] | 10 | 2016-12-18T09:56:22.000Z | 2019-06-06T22:50:26.000Z | src/loaders/match.js | ajhyndman/riot-api-graphql | 0bea301053a520ca455acd6912c1da4b1a307348 | [
"MIT"
] | 3 | 2018-08-08T20:38:05.000Z | 2019-10-29T20:39:20.000Z | // @flow
import DataLoader from 'dataloader';
import { flatten, splitEvery } from 'ramda';
import fetch from '../fetch';
import key from './key';
import { RATE_LIMIT, RETRY_TIMEOUT } from '../../config';
import type { Region } from './misc/region';
const getMatchByID = (region) => (id) =>
fetch(`https://${region}.api.pvp.net/api/lol/${region}/v2.2/match/${id}?${key}`)
.then(response => response.json());
export default (region: Region) => new DataLoader(
ids => new Promise((resolve) => {
Promise.all(
// split Ids into groups of ten.
splitEvery(RATE_LIMIT, ids).map((tenIds, i) =>
// delay each group by 10 seconds, cumulatively
new Promise((resolve) => {
setTimeout(
() => resolve(tenIds.map(getMatchByID(region))),
RETRY_TIMEOUT * i
);
})
)
)
// Once all fetch calls have resolved, flatten the result back into an
// array matching the order of the original ID list.
.then((groupedData) => {
resolve(flatten(groupedData));
});
})
);
| 29.972222 | 82 | 0.594069 |
83e757d986c275ed9fa998a94aa3ed26b7ee932f | 322 | js | JavaScript | templates/server/init/server.js | HoltMansfield/boast-node | 2c846eaf395e12a39f5ef1ba12a96ebfebe02d75 | [
"MIT"
] | null | null | null | templates/server/init/server.js | HoltMansfield/boast-node | 2c846eaf395e12a39f5ef1ba12a96ebfebe02d75 | [
"MIT"
] | null | null | null | templates/server/init/server.js | HoltMansfield/boast-node | 2c846eaf395e12a39f5ef1ba12a96ebfebe02d75 | [
"MIT"
] | null | null | null | module.exports.listen = function(app) {
"use strict";
var server = require('server');
app.express.set('port', process.env.PORT);
var server = app.express.listen(app.express.get('port'), function() {
console.log('~ Express server listening on port #: ' + server.address().port);
});
} | 32.2 | 87 | 0.611801 |
83e75ebb83acb11bc0577c9780944432f3aa3c6a | 1,455 | js | JavaScript | index.js | ruuvi/ruuvi.endpoints.js | ea5628034e08815749fda9c34a6d536a281bccc7 | [
"BSD-3-Clause"
] | 3 | 2018-09-02T08:08:30.000Z | 2020-07-21T05:08:22.000Z | index.js | ruuvi/ruuvi.endpoints.js | ea5628034e08815749fda9c34a6d536a281bccc7 | [
"BSD-3-Clause"
] | null | null | null | index.js | ruuvi/ruuvi.endpoints.js | ea5628034e08815749fda9c34a6d536a281bccc7 | [
"BSD-3-Clause"
] | null | null | null | /*jshint
node: true,
esversion: 6
*/
"use strict";
var parser = require('./parser.js');
var endpoints = require('./endpoints.js');
/**
* Takes UINT8_T array with 11 bytes as input
* Request Ruuvi Standard Message Object as output,
* usage:
* let message = parseRuuviStandardMessage(buffer);
* message.source_endpoint
* message.destination_endpoint
* message.type
* message.payload.sample_rate
* message.payload.transmission_rate
* // and so on. Payload fields are dependent on type.
*
* Supports Ruuvi Broadcast types, such as manufacturer specific data RAW formats 0x03 and 0x05 (TODO)
*
* Returns object with key-value pairs for data, for example data.source, data.destination,
* data.type, data.val1, data.val2, data.val3 and data.val4
**/
var parse = function(serialBuffer){
return parser(serialBuffer);
};
/**
* Takes Ruuvi Standard Message
* and returns 11-byte long UINT8 array represenstation.
*/
var create = function(message){
console.log("TODO: handle: " + message);
};
/**
* Returns object with key-value pairs of endpoints
*/
var getEndpoints = function(){
return endpoints.getEndpoints();
};
/**
* Returns object with key-value pairs of DSP functions
*/
var getDSPFunctions = function(){
return endpoints.getDSPFunctions();
};
module.exports = {
parse: parse,
create: create,
getEndpoints: getEndpoints,
getDSPFunctions: getDSPFunctions,
};
| 24.25 | 103 | 0.69622 |
83e8267d0064d845626f5e48807d11b0f84dd79e | 234 | js | JavaScript | translate-selected-[ru].js | devxom/bookmarklets | a379533a587139e3310dea45f0cd8ec2fc355ffb | [
"MIT"
] | null | null | null | translate-selected-[ru].js | devxom/bookmarklets | a379533a587139e3310dea45f0cd8ec2fc355ffb | [
"MIT"
] | null | null | null | translate-selected-[ru].js | devxom/bookmarklets | a379533a587139e3310dea45f0cd8ec2fc355ffb | [
"MIT"
] | null | null | null | // Bookmarklets
// window.open("https://translate.google.com/#auto/ru/"+window.getSelection().getRangeAt(0),"_blank");
// Javascript
window.open("https://translate.google.com/#auto/ru/"+window.getSelection().getRangeAt(0),"_blank");
| 39 | 102 | 0.726496 |
83e93af3f51483348e115ecc6447dcd231c04cd8 | 1,836 | js | JavaScript | src/locale/zh_CN/route.js | SaldanhaASCS/vue-vuetify-admin | b6ae195b07cc3234b63f1ddcb588b2fd944302c0 | [
"MIT"
] | null | null | null | src/locale/zh_CN/route.js | SaldanhaASCS/vue-vuetify-admin | b6ae195b07cc3234b63f1ddcb588b2fd944302c0 | [
"MIT"
] | null | null | null | src/locale/zh_CN/route.js | SaldanhaASCS/vue-vuetify-admin | b6ae195b07cc3234b63f1ddcb588b2fd944302c0 | [
"MIT"
] | null | null | null | export default {
dashboard: '仪表盘',
// introduction: 'Introduction',
documentation: '文档',
guide: '指引',
roadmap: '线路图',
i18n: '国际化',
theme: '主题',
// pagePermission: 'Page Permission',
// rolePermission: 'Role Permission',
permissions: '权限',
permission: {
admin: '管理员',
editor: '编辑者',
visitor: '访问者'
},
components: '组件',
component: {
avatarUpload: '头像上传',
backToTop: '回到顶部',
countTo: '累加器',
dragKanban: '可拖动看板',
dropzone: 'Dropzone',
jsonEditor: 'Json编辑器',
markdown: 'Markdown',
splitPane: '分隔栏',
sticky: '黏贴(Sticky)',
tinymce: '富文本编辑(Tinymce)'
},
vuetify: 'Vuetify UI',
vuetifyComponents: {
/* There might be some different names of each component in this section,
so the original English name of each component is reserved. */
components: '组件/Components',
alert: '警告/Alert',
avatar: '头像/Avatars',
badge: '标徽/Badges',
buttons: '按钮/Buttons',
calendar: '日历/Calendar',
cards: '卡片/Cards',
carousels: '轮播/Carousels',
chip: '胶囊/Chip',
colors: '颜色/Colors',
datepicker: '日期选择/Datepicker',
dialogs: '对话框/Dialogs',
grid: '网格/Grid',
icon: '图标/Icons',
pagination: '分页/Pagination',
parallax: '视差/Parallax',
progress: '进度条/Progress',
slider: '滑动/Slider',
snackbar: '消息提示/Snackbar',
tables: '表格/Tables',
timepicker: '时间选择/Timepicker',
tooltip: '提示信息/Tooltip',
typography: '版式/Typography'
},
errors: '错误',
errorPages: {
page301: '301',
page401: '401',
page403: '403',
page404: '404',
page500: '500'
},
charts: '图表',
chart: {
keyboardChart: '柱状图表',
lineChart: '曲线图',
mixChart: '混合图表'
},
nested: {
nested: '嵌套',
nested1: '一级',
nested2: '二级',
nested3: '三级'
},
clipboard: '剪切板',
externalLink: '外部链接'
}
| 22.666667 | 77 | 0.591503 |
83ea18508aea3587fdd1a494363ea46d2d1d73bb | 2,398 | js | JavaScript | spec/javascripts/notes/components/issue_note_header_spec.js | dzaporozhets/gitlabhq | a550942de1085eae4c60c498097ab191f8acfc0c | [
"MIT"
] | 1 | 2019-03-04T15:05:10.000Z | 2019-03-04T15:05:10.000Z | spec/javascripts/notes/components/issue_note_header_spec.js | dzaporozhets/gitlabhq | a550942de1085eae4c60c498097ab191f8acfc0c | [
"MIT"
] | 11 | 2020-04-30T14:31:37.000Z | 2022-03-02T07:17:53.000Z | spec/javascripts/notes/components/issue_note_header_spec.js | dzaporozhets/gitlabhq | a550942de1085eae4c60c498097ab191f8acfc0c | [
"MIT"
] | 2 | 2018-05-18T02:45:58.000Z | 2020-11-04T05:29:54.000Z | import Vue from 'vue';
import issueNoteHeader from '~/notes/components/issue_note_header.vue';
import store from '~/notes/stores';
describe('issue_note_header component', () => {
let vm;
let Component;
beforeEach(() => {
Component = Vue.extend(issueNoteHeader);
});
afterEach(() => {
vm.$destroy();
});
describe('individual note', () => {
beforeEach(() => {
vm = new Component({
store,
propsData: {
actionText: 'commented',
actionTextHtml: '',
author: {
avatar_url: null,
id: 1,
name: 'Root',
path: '/root',
state: 'active',
username: 'root',
},
createdAt: '2017-08-02T10:51:58.559Z',
includeToggle: false,
noteId: 1394,
},
}).$mount();
});
it('should render user information', () => {
expect(
vm.$el.querySelector('.note-header-author-name').textContent.trim(),
).toEqual('Root');
expect(
vm.$el.querySelector('.note-header-info a').getAttribute('href'),
).toEqual('/root');
});
it('should render timestamp link', () => {
expect(vm.$el.querySelector('a[href="#note_1394"]')).toBeDefined();
});
});
describe('discussion', () => {
beforeEach(() => {
vm = new Component({
store,
propsData: {
actionText: 'started a discussion',
actionTextHtml: '',
author: {
avatar_url: null,
id: 1,
name: 'Root',
path: '/root',
state: 'active',
username: 'root',
},
createdAt: '2017-08-02T10:51:58.559Z',
includeToggle: true,
noteId: 1395,
},
}).$mount();
});
it('should render toggle button', () => {
expect(vm.$el.querySelector('.js-vue-toggle-button')).toBeDefined();
});
it('should toggle the disucssion icon', (done) => {
expect(
vm.$el.querySelector('.js-vue-toggle-button i').classList.contains('fa-chevron-up'),
).toEqual(true);
vm.$el.querySelector('.js-vue-toggle-button').click();
Vue.nextTick(() => {
expect(
vm.$el.querySelector('.js-vue-toggle-button i').classList.contains('fa-chevron-down'),
).toEqual(true);
done();
});
});
});
});
| 25.242105 | 96 | 0.507089 |
83eae199d621ff7abe8e47065badaa46a264602a | 401 | js | JavaScript | packages/strapi-admin/admin/src/containers/Admin/actions.js | jony100/meu | 077741b03725cc981bc984399d553df8a12d89d0 | [
"MIT"
] | 3 | 2021-07-01T07:44:35.000Z | 2022-03-22T01:21:04.000Z | packages/strapi-admin/admin/src/containers/Admin/actions.js | jony100/meu | 077741b03725cc981bc984399d553df8a12d89d0 | [
"MIT"
] | 172 | 2020-07-28T07:14:12.000Z | 2022-03-31T13:35:20.000Z | packages/strapi-admin/admin/src/containers/Admin/actions.js | jony100/meu | 077741b03725cc981bc984399d553df8a12d89d0 | [
"MIT"
] | 7 | 2021-07-30T14:34:27.000Z | 2022-03-18T10:14:00.000Z | /*
*
* Admin actions
*
*/
import { GET_STRAPI_LATEST_RELEASE_SUCCEEDED, SET_APP_ERROR } from './constants';
export function getStrapiLatestReleaseSucceeded(latestStrapiReleaseTag, shouldUpdateStrapi) {
return {
type: GET_STRAPI_LATEST_RELEASE_SUCCEEDED,
latestStrapiReleaseTag,
shouldUpdateStrapi,
};
}
export function setAppError() {
return {
type: SET_APP_ERROR,
};
}
| 18.227273 | 93 | 0.740648 |
83eae4e26e48d4e361f8252d448993f9ab905cb1 | 2,022 | js | JavaScript | ci/tests/puppeteer/scenarios/saml2-idp-login-consent-with-sso/script.js | dgusoff/cas | 3b38be287bcb575666d7f2c37f148304260e4d19 | [
"Apache-2.0"
] | 8,772 | 2016-05-08T04:44:50.000Z | 2022-03-31T06:02:13.000Z | ci/tests/puppeteer/scenarios/saml2-idp-login-consent-with-sso/script.js | dgusoff/cas | 3b38be287bcb575666d7f2c37f148304260e4d19 | [
"Apache-2.0"
] | 2,911 | 2016-05-07T23:07:52.000Z | 2022-03-31T15:09:08.000Z | ci/tests/puppeteer/scenarios/saml2-idp-login-consent-with-sso/script.js | dgusoff/cas | 3b38be287bcb575666d7f2c37f148304260e4d19 | [
"Apache-2.0"
] | 3,675 | 2016-05-08T04:45:46.000Z | 2022-03-31T09:34:54.000Z | const puppeteer = require('puppeteer');
const path = require('path');
const cas = require('../../cas.js');
const assert = require("assert");
(async () => {
const browser = await puppeteer.launch(cas.browserOptions());
const page = await cas.newPage(browser);
console.log("Removing previous consent decisions for casuser");
await cas.doRequest("https://localhost:8443/cas/actuator/attributeConsent/casuser", "DELETE");
console.log("Establishing SSO session...");
await page.goto("https://localhost:8443/cas/login");
await cas.loginWith(page, "casuser", "Mellon");
let entityId = "https://httpbin.org/shibboleth";
let url = "https://localhost:8443/cas/idp/profile/SAML2/Unsolicited/SSO";
url += `?providerId=${entityId}`;
url += "&target=https%3A%2F%2Flocalhost%3A8443%2Fcas%2Flogin";
await page.goto(url);
await page.waitForTimeout(1000)
await cas.assertTextContent(page, '#content h2', "Attribute Consent");
await cas.screenshot(page);
await cas.submitForm(page, "#fm1");
await page.waitForTimeout(2000)
console.log(page.url());
assert(page.url().startsWith("https://httpbin.org/post"))
await cas.uploadSamlMetadata(page, path.join(__dirname, '/saml-md/idp-metadata.xml'));
await page.goto("https://samltest.id/start-idp-test/");
await cas.type(page, 'input[name=\'entityID\']', "https://cas.apereo.org/saml/idp");
await cas.click(page, "input[type='submit']")
await page.waitForNavigation();
await page.waitForTimeout(1000)
await cas.assertTextContent(page, '#content h2', "Attribute Consent");
await cas.screenshot(page);
await cas.submitForm(page, "#fm1");
await page.waitForTimeout(1000)
await page.waitForSelector('div.entry-content p', {visible: true});
await cas.assertInnerTextStartsWith(page, "div.entry-content p",
"Your browser has completed the full SAML 2.0 round-trip");
await cas.removeDirectory(path.join(__dirname, '/saml-md'));
await browser.close();
})();
| 42.125 | 98 | 0.687438 |
83eb6db574bdec754a3d61ea263c3a09b553049c | 3,396 | js | JavaScript | src/Native/Aptly/Upload.js | SHyx0rmZ/aptly-web | 058f1eaf20447a61d06937ecd9a68f76e93e08ec | [
"MIT"
] | null | null | null | src/Native/Aptly/Upload.js | SHyx0rmZ/aptly-web | 058f1eaf20447a61d06937ecd9a68f76e93e08ec | [
"MIT"
] | null | null | null | src/Native/Aptly/Upload.js | SHyx0rmZ/aptly-web | 058f1eaf20447a61d06937ecd9a68f76e93e08ec | [
"MIT"
] | null | null | null | var _SHyx0rmZ$aptly_web$Native_Aptly_Upload = function () {
function decodeFileList(value) {
if (!(value instanceof FileList)) {
return {tag: 'list', type: 'a FileList', value: value};
}
var files = [];
for (var i = 0; i < value.length; ++i) {
var file = value.item(i);
files.push({
ctor: 'File',
name: file.name,
size: file.size,
mime: file.type,
object: new File([ file ], file.name)
});
}
return _elm_lang$core$Native_List.fromArray(files);
}
function request(url, list) {
return A2(
_elm_lang$core$Native_Scheduler.andThen,
function (formData) {
return _elm_lang$core$Native_Scheduler.nativeBinding(function (callback) {
callback(
_elm_lang$core$Native_Scheduler.succeed(
_elm_lang$http$Http_Internal$Request(
A7(
_elm_lang$http$Http_Internal$RawRequest,
'POST',
_elm_lang$core$Native_List.fromArray([]),
url,
{
ctor: 'FormDataBody',
_0: formData
},
_elm_lang$http$Http$expectString,
_elm_lang$core$Maybe$Nothing,
false
)
)
)
)
});
},
requestHelper(list, new FormData)
);
}
function requestHelper(list, formData) {
if (list.ctor == '::') {
return A2(
_elm_lang$core$Native_Scheduler.andThen,
function (formData) {
return _elm_lang$core$Native_Scheduler.nativeBinding(function (callback) {
var file = list._0;
var fileReader = new FileReader();
fileReader.addEventListener('load', function (event) {
formData.append('file', new File([event.target.result], file.object.name, {type: file.object.type}));
callback(_elm_lang$core$Native_Scheduler.succeed(formData));
});
fileReader.addEventListener('abort', function (event) {
callback(_elm_lang$core$Native_Scheduler.fail({ ctor: 'FileReadError' }))
});
fileReader.addEventListener('error', function (event) {
callback(_elm_lang$core$Native_Scheduler.fail({ ctor: 'FileReadError' }))
});
fileReader.readAsArrayBuffer(file.object);
});
},
requestHelper(list._1, formData)
);
} else {
return _elm_lang$core$Native_Scheduler.succeed(formData);
}
}
return {
decodeFileList: decodeFileList,
request: F2(request)
};
}();
| 39.034483 | 129 | 0.43139 |
83ed0a105d39bf52b1eeb92390ceb1afd79f2a7e | 3,048 | js | JavaScript | src/commands/utility/GetMatch.js | Cornayy/daehria | 1aaaf6543fe51523b6f2777259a0fe39835f1620 | [
"MIT"
] | 4 | 2020-04-29T06:24:19.000Z | 2020-10-08T21:44:15.000Z | src/commands/utility/GetMatch.js | Cornayy/Daehria | c7847fde3590e7c7c4ee3397227880ec71f04219 | [
"MIT"
] | null | null | null | src/commands/utility/GetMatch.js | Cornayy/Daehria | c7847fde3590e7c7c4ee3397227880ec71f04219 | [
"MIT"
] | null | null | null | const { RichEmbed } = require('discord.js');
const CATEGORIES = require('../../constants/Categories');
const ERROR_MESSAGES = require('../../constants/ErrorMessages');
const Command = require('../../Command');
const Logger = require('../../utils/Logger');
class GetMatch extends Command {
/**
* @param {Daehria} client The client used in the command.
*/
constructor(client) {
super(client, {
name: 'getmatch',
description: 'Returns the solo/duo rank from the participants in a league game.',
category: CATEGORIES.UTILITY,
aliases: ['getmatch', 'match'],
args: ['<summoner>']
});
this.leagueService = this.client.services.get('LeagueService');
}
/**
* Returns the solo/duo rank from the participants in a league game..
* @param {Object} message The message object that triggered the command.
* @param {Array} args The given arguments for the command.
*/
async run(message, args) {
if (args.length === 0) return;
const summonerName = args.join('%20');
const blueTeam = new RichEmbed().setColor(1127128);
const redTeam = new RichEmbed().setColor(14177041);
try {
const participants = await this.leagueService.getGameBySummonerName(summonerName);
let currentEmbed = {};
await participants.forEach((participant, counter) => {
counter >= 5 ? (currentEmbed = redTeam) : (currentEmbed = blueTeam);
const summoner = participant.find(
summoner => summoner.queueType === 'RANKED_SOLO_5x5'
);
this.addSummoner(summoner, currentEmbed);
});
super.respond(blueTeam).respond(redTeam);
} catch (err) {
super.respond(ERROR_MESSAGES.GENERAL);
Logger.error(err);
}
}
addSummoner(summoner, embed) {
if (summoner) {
this.addRankedSummoner(summoner, embed);
} else {
this.addUnrankedSummoner(summoner, embed);
}
}
addRankedSummoner(summoner, embed) {
const rank = this.client.emojis.find(
emoji => emoji.name === `${summoner.tier.toLowerCase()}`
);
embed.addField(
summoner.summonerName,
`${rank} ${summoner.tier} - ${summoner.rank} ${
summoner.leaguePoints
}LP [**op.gg**](https://euw.op.gg/summoner/userName=${summoner.summonerName
.split(' ')
.join('+')})`
);
}
addUnrankedSummoner(summoner, embed) {
const rank = this.client.emojis.find(emoji => emoji.name === 'unranked');
const { participant } = summoner;
embed.addField(
participant.summonerName,
`${rank} UNRANKED [**op.gg**](https://euw.op.gg/summoner/userName=${participant.summonerName
.split(' ')
.join('+')})`
);
}
}
module.exports = GetMatch;
| 33.130435 | 104 | 0.562336 |
83ed60dfa2655d4a7ff8c4116e073b8ad5f26348 | 1,109 | js | JavaScript | src/components/footer/footer.styles.js | younessdev9/gatsby-portfolio | 79f0b6d25eccb36f10cb8661ae0aa6f508c53b6b | [
"0BSD"
] | 1 | 2020-11-03T14:51:23.000Z | 2020-11-03T14:51:23.000Z | src/components/footer/footer.styles.js | younessdev9/gatsby-portfolio | 79f0b6d25eccb36f10cb8661ae0aa6f508c53b6b | [
"0BSD"
] | 6 | 2020-08-26T22:23:02.000Z | 2020-12-12T18:37:00.000Z | src/components/footer/footer.styles.js | younessdev9/gatsby-portfolio | 79f0b6d25eccb36f10cb8661ae0aa6f508c53b6b | [
"0BSD"
] | null | null | null | import styled from "styled-components"
const StyledFooter = styled.footer`
border-top: 2px solid #3333;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding: 1rem;
background-color: #298880;
color: #333333;
.social-footer {
width: 33%;
}
h4 {
font-size: 1.6rem;
font-weight: 500;
color: #f5f5f5;
.gatsby-logo {
width: 1.6rem;
height: 1.6rem;
margin-top: 0.7rem;
margin-right: 0.3rem;
font-style: normal;
font-weight: normal;
font-size: 1.3rem;
transition: all 0.5s ease-out;
transform: translateY(22%);
&:hover {
transform: scale(1.6) rotate(360deg);
}
}
span {
font-weight: bold;
}
}
@media only screen and (max-width: ${({ theme }) => theme.laptop}) {
justify-content: center;
max-width: 96%;
h4 {
margin: 1.3rem;
}
}
/* MobileM 387px and less */
@media only screen and (max-width: ${({ theme }) => theme.mobileM}) {
.social-media {
display: none;
}
}
`
export default StyledFooter
| 20.537037 | 71 | 0.5789 |
83ed8995f910c504eae79f400ce5a5c7077c4d68 | 286 | js | JavaScript | app/assets/javascripts/demo/jsz/ui/box.js | hrzndhrn/jsz | d715fe4996949fdacac84b440abc0859d41faca9 | [
"Apache-2.0"
] | null | null | null | app/assets/javascripts/demo/jsz/ui/box.js | hrzndhrn/jsz | d715fe4996949fdacac84b440abc0859d41faca9 | [
"Apache-2.0"
] | 2 | 2015-09-27T12:40:45.000Z | 2015-10-07T19:40:31.000Z | app/assets/javascripts/demo/jsz/ui/box.js | hrzndhrn/jsz | d715fe4996949fdacac84b440abc0859d41faca9 | [
"Apache-2.0"
] | null | null | null | /**
* A little demo for the UI-element box.
*/
script({
name:'demo.jsz.ui.box',
require: ['lib.jsz.ui.Box'],
onReadyState: READY_STATE.COMPLETE
}, function () {
'use strict';
log.debug('demo.jsz.ui.box');
var box = new jsz.ui.Box();
$id('panel2').append(box);
});
| 16.823529 | 40 | 0.597902 |
83edf87db47d86f6cbb93de4926089039cb20969 | 894 | js | JavaScript | public/assets/js/jqtree/example_data.min.js | isaacBats/auto_crud_laravel | 8ceb721decd24cbe578fdcdf537594096df922b0 | [
"MIT"
] | null | null | null | public/assets/js/jqtree/example_data.min.js | isaacBats/auto_crud_laravel | 8ceb721decd24cbe578fdcdf537594096df922b0 | [
"MIT"
] | null | null | null | public/assets/js/jqtree/example_data.min.js | isaacBats/auto_crud_laravel | 8ceb721decd24cbe578fdcdf537594096df922b0 | [
"MIT"
] | null | null | null | $(function(){var l=[{label:"node1",id:1,children:[{label:"child1",id:2},{label:"child2",id:3},{label:"child3",id:4},{label:"child4",id:5,children:[{label:"sub child1",id:6},{label:"sub child2",id:7},{label:"sub child3",id:8},{label:"sub child4",id:9}]},{label:"child5",id:10},{label:"child6",id:11}]},{label:"node2",id:12,children:[{label:"child7",id:13},{label:"child8",id:14},{label:"child9",id:15},{label:"child10",id:16},{label:"child11",id:17,children:[{label:"sub child1",id:18},{label:"sub child2",id:19},{label:"sub child3",id:20},{label:"sub child4",id:21},{label:"sub child5",id:22},{label:"sub child6",id:23,children:[{label:"Super sub child1",id:24},{label:"Super sub child2",id:25},{label:"Super sub child3",id:26},{label:"Super sub child4",id:27},{label:"Super sub child5",id:28},{label:"Super sub child6",id:29}]}]}]}],d=$("#tree1");d.tree({data:l,autoOpen:!0,dragAndDrop:!0})}); | 894 | 894 | 0.663311 |
83ee0de7de74d4e06379e5fefd6f9d0ca21e51a2 | 4,681 | js | JavaScript | core/server/blog/app.js | supermanbirdy/supermanbirdy.github.io | 8ee39f36cf38ba19c8194966215432f1e65c53a8 | [
"MIT"
] | 2 | 2015-11-30T16:18:34.000Z | 2016-03-06T15:45:27.000Z | core/server/blog/app.js | supermanbirdy/supermanbirdy.github.io | 8ee39f36cf38ba19c8194966215432f1e65c53a8 | [
"MIT"
] | 12 | 2020-05-18T09:05:15.000Z | 2020-09-24T09:00:34.000Z | core/server/blog/app.js | supermanbirdy/supermanbirdy.github.io | 8ee39f36cf38ba19c8194966215432f1e65c53a8 | [
"MIT"
] | 1 | 2021-12-09T19:02:18.000Z | 2021-12-09T19:02:18.000Z | var debug = require('debug')('ghost:blog'),
path = require('path'),
// App requires
config = require('../config'),
storage = require('../adapters/storage'),
utils = require('../utils'),
// This should probably be an internal app
sitemapHandler = require('../data/xml/sitemap/handler'),
// routes
routes = require('./routes'),
// local middleware
cacheControl = require('../middleware/cache-control'),
urlRedirects = require('../middleware/url-redirects'),
errorHandler = require('../middleware/error-handler'),
maintenance = require('../middleware/maintenance'),
prettyURLs = require('../middleware/pretty-urls'),
servePublicFile = require('../middleware/serve-public-file'),
staticTheme = require('../middleware/static-theme'),
customRedirects = require('../middleware/custom-redirects'),
serveFavicon = require('../middleware/serve-favicon'),
// middleware for themes
themeMiddleware = require('../themes').middleware;
module.exports = function setupBlogApp() {
debug('Blog setup start');
var blogApp = require('express')();
// ## App - specific code
// set the view engine
blogApp.set('view engine', 'hbs');
// you can extend Ghost with a custom redirects file
// see https://github.com/TryGhost/Ghost/issues/7707
customRedirects(blogApp);
// Static content/assets
// @TODO make sure all of these have a local 404 error handler
// Favicon
blogApp.use(serveFavicon());
// /public/ghost-sdk.js
blogApp.use(servePublicFile('public/ghost-sdk.js', 'application/javascript', utils.ONE_HOUR_S));
blogApp.use(servePublicFile('public/ghost-sdk.min.js', 'application/javascript', utils.ONE_HOUR_S));
// Serve sitemap.xsl file
blogApp.use(servePublicFile('sitemap.xsl', 'text/xsl', utils.ONE_DAY_S));
// Serve stylesheets for default templates
blogApp.use(servePublicFile('public/ghost.css', 'text/css', utils.ONE_HOUR_S));
blogApp.use(servePublicFile('public/ghost.min.css', 'text/css', utils.ONE_HOUR_S));
// Serve images for default templates
blogApp.use(servePublicFile('public/404-ghost@2x.png', 'png', utils.ONE_HOUR_S));
blogApp.use(servePublicFile('public/404-ghost.png', 'png', utils.ONE_HOUR_S));
// Serve blog images using the storage adapter
blogApp.use('/' + utils.url.STATIC_IMAGE_URL_PREFIX, storage.getStorage().serve());
// @TODO find this a better home
// We do this here, at the top level, because helpers require so much stuff.
// Moving this to being inside themes, where it probably should be requires the proxy to be refactored
// Else we end up with circular dependencies
require('../helpers').loadCoreHelpers();
debug('Helpers done');
// Theme middleware
// This should happen AFTER any shared assets are served, as it only changes things to do with templates
// At this point the active theme object is already updated, so we have the right path, so it can probably
// go after staticTheme() as well, however I would really like to simplify this and be certain
blogApp.use(themeMiddleware);
debug('Themes done');
// Theme static assets/files
blogApp.use(staticTheme());
debug('Static content done');
// Serve robots.txt if not found in theme
blogApp.use(servePublicFile('robots.txt', 'text/plain', utils.ONE_HOUR_S));
// setup middleware for internal apps
// @TODO: refactor this to be a proper app middleware hook for internal & external apps
config.get('apps:internal').forEach(function (appName) {
var app = require(path.join(config.get('paths').internalAppPath, appName));
if (app.hasOwnProperty('setupMiddleware')) {
app.setupMiddleware(blogApp);
}
});
// site map - this should probably be refactored to be an internal app
sitemapHandler(blogApp);
debug('Internal apps done');
// send 503 error page in case of maintenance
blogApp.use(maintenance);
// Force SSL if required
// must happen AFTER asset loading and BEFORE routing
blogApp.use(urlRedirects);
// Add in all trailing slashes & remove uppercase
// must happen AFTER asset loading and BEFORE routing
blogApp.use(prettyURLs);
// ### Caching
// Blog frontend is cacheable
blogApp.use(cacheControl('public'));
debug('General middleware done');
// Set up Frontend routes (including private blogging routes)
blogApp.use(routes());
// ### Error handlers
blogApp.use(errorHandler.pageNotFound);
blogApp.use(errorHandler.handleHTMLResponse);
debug('Blog setup end');
return blogApp;
};
| 37.448 | 110 | 0.683615 |
83ef6e911e2fd40276750d3d7e8cdf854419bc5f | 9,411 | js | JavaScript | src/static/js/matic_polydyson.js | ozguruzden/vfat-tools | 45be0a306013cdb7c394bae14d91a9762d283101 | [
"MIT"
] | 759 | 2020-12-10T09:04:35.000Z | 2022-03-25T09:37:54.000Z | src/static/js/matic_polydyson.js | ozguruzden/vfat-tools | 45be0a306013cdb7c394bae14d91a9762d283101 | [
"MIT"
] | 486 | 2021-01-01T20:41:54.000Z | 2022-03-31T13:29:56.000Z | src/static/js/matic_polydyson.js | ozguruzden/vfat-tools | 45be0a306013cdb7c394bae14d91a9762d283101 | [
"MIT"
] | 1,209 | 2020-12-15T10:48:20.000Z | 2022-03-31T17:42:23.000Z | $(function () {
consoleInit(main)
});
const DYSON_ABI = [{ "inputs": [{ "internalType": "contract DysonSphere", "name": "_dysonToken", "type": "address" }, { "internalType": "uint256", "name": "_startBlock", "type": "uint256" }, { "internalType": "address", "name": "_devAddress", "type": "address" }, { "internalType": "address", "name": "_feeAddress", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "pid", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Deposit", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "pid", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "EmergencyWithdraw", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newAddress", "type": "address" }], "name": "SetDevAddress", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newAddress", "type": "address" }], "name": "SetFeeAddress", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "DysonPerBlock", "type": "uint256" }], "name": "UpdateEmissionRate", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "pid", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Withdraw", "type": "event" }, { "inputs": [], "name": "DYSON_PER_BLOCK", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAXIMUM_DEPOSIT_FEE_BP", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_allocPoint", "type": "uint256" }, { "internalType": "contract IERC20", "name": "_lpToken", "type": "address" }, { "internalType": "uint16", "name": "_depositFeeBP", "type": "uint16" }], "name": "add", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_pid", "type": "uint256" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "deposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "devAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "dysonToken", "outputs": [{ "internalType": "contract DysonSphere", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_pid", "type": "uint256" }], "name": "emergencyWithdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "feeAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "fixMaxSupplyFarmEnd", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_from", "type": "uint256" }, { "internalType": "uint256", "name": "_to", "type": "uint256" }], "name": "getMultiplier", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "massUpdatePools", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_pid", "type": "uint256" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "pendingDyson", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }], "name": "poolExistence", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "name": "poolInfo", "outputs": [{ "internalType": "contract IERC20", "name": "lpToken", "type": "address" }, { "internalType": "uint256", "name": "allocPoint", "type": "uint256" }, { "internalType": "uint256", "name": "lastRewardBlock", "type": "uint256" }, { "internalType": "uint256", "name": "accDysonPerShare", "type": "uint256" }, { "internalType": "uint16", "name": "depositFeeBP", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "poolLength", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_pid", "type": "uint256" }, { "internalType": "uint256", "name": "_allocPoint", "type": "uint256" }, { "internalType": "uint16", "name": "_depositFeeBP", "type": "uint16" }], "name": "set", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_devAddress", "type": "address" }], "name": "setDevAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_feeAddress", "type": "address" }], "name": "setFeeAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_newStartBlock", "type": "uint256" }], "name": "setStartBlock", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "startBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalAllocPoint", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_dysonPerBlock", "type": "uint256" }], "name": "updateEmissionRate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_pid", "type": "uint256" }], "name": "updatePool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "address", "name": "", "type": "address" }], "name": "userInfo", "outputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "rewardDebt", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_pid", "type": "uint256" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }]
async function main() {
const App = await init_ethers();
_print(`Initialized ${App.YOUR_ADDRESS}\n`);
_print("Reading smart contracts...\n");
const DYSON_CHEF_ADDR = "0x3c0BC5Bb0EeE7EA2dc86463bA27c73F436d8C97D";
const rewardTokenTicker = "DYSON";
const DYSON_CHEF = new ethers.Contract(DYSON_CHEF_ADDR, DYSON_ABI, App.provider);
const startBlock = await DYSON_CHEF.startBlock();
const currentBlock = await App.provider.getBlockNumber();
const dysonPerBlock = await DYSON_CHEF.DYSON_PER_BLOCK() / 1e18;
let rewardsPerWeek = 0
if (currentBlock < startBlock) {
_print(`Rewards start at block ${startBlock}\n`);
_print(`DYSON per block ${dysonPerBlock}\n`);
} else {
rewardsPerWeek = await DYSON_CHEF.DYSON_PER_BLOCK() / 1e18
* 604800 / 2.1;
}
const tokens = {};
const prices = await getMaticPrices();
await loadMaticChefContract(App, tokens, prices, DYSON_CHEF, DYSON_CHEF_ADDR, DYSON_ABI, rewardTokenTicker,
"dysonToken", null, rewardsPerWeek, "pendingDyson");
hideLoading();
} | 229.536585 | 8,324 | 0.610562 |
83ef7b4529beab0b1eae7b26561e747f24c2b567 | 11,564 | js | JavaScript | src/sap.m/src/sap/m/FormattedText.js | EricVanEldik/openui5 | ad80fc60ab8b36b5f4f8a070bcff77d0ce8557ff | [
"Apache-2.0"
] | null | null | null | src/sap.m/src/sap/m/FormattedText.js | EricVanEldik/openui5 | ad80fc60ab8b36b5f4f8a070bcff77d0ce8557ff | [
"Apache-2.0"
] | null | null | null | src/sap.m/src/sap/m/FormattedText.js | EricVanEldik/openui5 | ad80fc60ab8b36b5f4f8a070bcff77d0ce8557ff | [
"Apache-2.0"
] | null | null | null | /*!
* ${copyright}
*/
// Provides control sap.m.FormattedText.
sap.ui.define([
'./library',
'sap/ui/core/library',
'sap/ui/core/Control',
'./FormattedTextAnchorGenerator',
'./FormattedTextRenderer',
"sap/base/Log",
"sap/base/security/URLListValidator",
"sap/base/security/sanitizeHTML"
],
function(
library,
coreLibrary,
Control,
FormattedTextAnchorGenerator,
FormattedTextRenderer,
Log,
URLListValidator,
sanitizeHTML0
) {
"use strict";
// shortcut for sap.m.LinkConversion
var LinkConversion = library.LinkConversion,
TextDirection = coreLibrary.TextDirection,
TextAlign = coreLibrary.TextAlign;
/**
* Constructor for a new FormattedText.
*
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
* @param {object} [mSettings] Initial settings for the new control
*
* @class
* The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
* @extends sap.ui.core.Control
* @version ${version}
*
* @constructor
* @public
* @since 1.38.0
* @alias sap.m.FormattedText
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
*/
var FormattedText = Control.extend("sap.m.FormattedText", /** @lends sap.m.FormattedText.prototype */ {
metadata: {
library: "sap.m",
properties: {
/**
* Text in HTML format.
* The following tags are supported:
* <ul>
* <li><code>a</code></li>
* <li><code>abbr</code></li>
* <li><code>bdi</code></li>
* <li><code>blockquote</code></li>
* <li><code>br</code></li>
* <li><code>cite</code></li>
* <li><code>code</code></li>
* <li><code>em</code></li>
* <li><code>h1</code></li>
* <li><code>h2</code></li>
* <li><code>h3</code></li>
* <li><code>h4</code></li>
* <li><code>h5</code></li>
* <li><code>h6</code></li>
* <li><code>p</code></li>
* <li><code>pre</code></li>
* <li><code>strong</code></li>
* <li><code>span</code></li>
* <li><code>u</code></li>
* <li><code>dl</code></li>
* <li><code>dt</code></li>
* <li><code>dd</code></li>
* <li><code>ul</code></li>
* <li><code>ol</code></li>
* <li><code>li</code></li>
* </ul>
* <p><code>class, style, dir,</code> and <code>target</code> attributes are allowed.
* If <code>target</code> is not set, links open in a new window by default.
* <p>Only safe <code>href</code> attributes can be used. See {@link module:sap/base/security/URLListValidator URLListValidator}.
*
* <b>Note:</b> Keep in mind that not supported HTML tags and
* the content nested inside them are both not rendered by the control.
*/
htmlText: {type: "string", group: "Misc", defaultValue: ""},
/**
* Optional width of the control in CSS units.
*/
width: {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
/**
* Determines whether strings that appear to be links will be converted to HTML anchor tags,
* and what are the criteria for recognizing them.
* @since 1.45.5
*/
convertLinksToAnchorTags: {type: "sap.m.LinkConversion", group: "Behavior", defaultValue: LinkConversion.None},
/**
* Determines the <code>target</code> attribute of the generated HTML anchor tags.
*
* <b>Note:</b> Applicable only if <code>ConvertLinksToAnchorTags</code> property is used with a value other than <code>sap.m.LinkConversion.None</code>.
* Options are the standard values for the <code>target</code> attribute of the HTML anchor tag:
* <code>_self</code>, <code>_top</code>, <code>_blank</code>, <code>_parent</code>, <code>_search</code>.
* @since 1.45.5
*/
convertedLinksDefaultTarget: {type: "string", group: "Behavior", defaultValue: "_blank"},
/**
* Optional height of the control in CSS units.
*/
height: {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
/**
* Defines the directionality of the text in the <code>FormattedText</code>, e.g. right-to-left(<code>RTL</code>)
* or left-to-right (<code>LTR</code>).
*
* <b>Note:</b> This functionality if set to the root element. Use the <code>bdi</code> element and
* the <code>dir</code> attribute to set explicit direction to an element.
*
* @since 1.86.0
*/
textDirection: { type: "sap.ui.core.TextDirection", group: "Appearance", defaultValue: TextDirection.Inherit },
/**
* Determines the text alignment in the text elements in the <code>FormattedText</code>.
*
* <b>Note:</b> This functionality if set to the root element. To set explicit alignment to an element
* use the <code>style</code> attribute.
*
* @since 1.86.0
*/
textAlign : {type : "sap.ui.core.TextAlign", group : "Appearance", defaultValue : TextAlign.Begin}
},
aggregations: {
/**
* List of <code>sap.m.Link</code> controls that will be used to replace the placeholders in the text.
* Placeholders are replaced according to their indexes. The placeholder with index %%0 will be replaced
* by the first link in the aggregation, etc.
*/
controls: {type: "sap.m.Link", multiple: true, singularName: "control"}
}
}
});
/*
* These are the rules for the FormattedText
*/
var _defaultRenderingRules = {
// rules for the allowed attributes
ATTRIBS: {
'style' : 1,
'class' : 1,
'a::href' : 1,
'a::target' : 1,
'dir' : 1
},
// rules for the allowed tags
ELEMENTS: {
// Text Module Tags
'a' : {cssClass: 'sapMLnk'},
'abbr': 1,
'bdi' : 1,
'blockquote': 1,
'br': 1,
'cite': 1,
'code': 1,
'em': 1,
'h1': {cssClass: 'sapMTitle sapMTitleStyleH1'},
'h2': {cssClass: 'sapMTitle sapMTitleStyleH2'},
'h3': {cssClass: 'sapMTitle sapMTitleStyleH3'},
'h4': {cssClass: 'sapMTitle sapMTitleStyleH4'},
'h5': {cssClass: 'sapMTitle sapMTitleStyleH5'},
'h6': {cssClass: 'sapMTitle sapMTitleStyleH6'},
'p': 1,
'pre': 1,
'strong': 1,
'span': 1,
'u' : 1,
// List Module Tags
'dl': 1,
'dt': 1,
'dd': 1,
'ol': 1,
'ul': 1,
'li': 1
}
},
_limitedRenderingRules = {
ATTRIBS: {
'a::href' : 1,
'a::target' : 1
},
ELEMENTS: {
'a' : {cssClass: 'sapMLnk'},
'br': 1,
'em': 1,
'strong': 1,
'u': 1
}
};
/**
* Holds the internal list of allowed and evaluated HTML elements and attributes
* @private
*/
FormattedText.prototype._renderingRules = _defaultRenderingRules;
/**
* Initialization hook for the FormattedText, which creates a list of rules with allowed tags and attributes.
*/
FormattedText.prototype.init = function () {
};
/**
* Sanitizes attributes on an HTML tag.
*
* @param {string} tagName An HTML tag name in lower case
* @param {array} attribs An array of alternating names and values
* @return {array} The sanitized attributes as a list of alternating names and values. Value <code>null</code> removes the attribute.
* @private
*/
function fnSanitizeAttribs (tagName, attribs) {
var sWarning;
var attr,
value,
addTarget = tagName === "a";
// add UI5 specific classes when appropriate
var cssClass = this._renderingRules.ELEMENTS[tagName].cssClass || "";
for (var i = 0; i < attribs.length; i += 2) {
// attribs[i] is the name of the tag's attribute.
// attribs[i+1] is its corresponding value.
// (i.e. <span class="foo"> -> attribs[i] = "class" | attribs[i+1] = "foo")
attr = attribs[i];
value = attribs[i + 1];
if (!this._renderingRules.ATTRIBS[attr] && !this._renderingRules.ATTRIBS[tagName + "::" + attr]) {
sWarning = 'FormattedText: <' + tagName + '> with attribute [' + attr + '="' + value + '"] is not allowed';
Log.warning(sWarning, this);
// to remove the attribute by the sanitizer, set the value to null
attribs[i + 1] = null;
continue;
}
// sanitize hrefs
if (attr == "href") { // a::href
if (!URLListValidator.validate(value)) {
Log.warning("FormattedText: incorrect href attribute:" + value, this);
attribs[i + 1] = "#";
addTarget = false;
}
}
if (attr == "target") { // a::target already exists
addTarget = false;
}
// add UI5 classes to the user defined
if (cssClass && attr.toLowerCase() == "class") {
attribs[i + 1] = cssClass + " " + value;
cssClass = "";
}
}
if (addTarget) {
attribs.push("target");
attribs.push("_blank");
}
// add UI5 classes, if not done before
if (cssClass) {
attribs.push("class");
attribs.push(cssClass);
}
return attribs;
}
function fnPolicy (tagName, attribs) {
if (this._renderingRules.ELEMENTS[tagName]) {
return fnSanitizeAttribs.call(this, tagName, attribs);
} else {
var sWarning = '<' + tagName + '> is not allowed';
Log.warning(sWarning, this);
}
}
/**
* Sanitizes HTML tags and attributes according to a given policy.
*
* @param {string} sText The HTML to sanitize
* @return {string} The sanitized HTML
* @private
*/
function sanitizeHTML(sText) {
return sanitizeHTML0(sText, {
tagPolicy: fnPolicy.bind(this),
uriRewriter: function (sUrl) {
// by default, we use the URLListValidator to check the URLs
if (URLListValidator.validate(sUrl)) {
return sUrl;
}
}
});
}
// prohibit a new window from accessing window.opener.location
function openExternalLink (oEvent) {
var newWindow = window.open();
newWindow.opener = null;
newWindow.location = oEvent.currentTarget.href;
oEvent.preventDefault();
}
FormattedText.prototype.onAfterRendering = function () {
this.$().find('a[target="_blank"]').on("click", openExternalLink);
};
FormattedText.prototype.onBeforeRendering = function () {
this.$().find('a[target="_blank"]').off("click", openExternalLink);
};
FormattedText.prototype._getDisplayHtml = function (){
var sText = this.getHtmlText(),
sAutoGenerateLinkTags = this.getConvertLinksToAnchorTags();
if (sAutoGenerateLinkTags === LinkConversion.None) {
return sText;
}
sText = FormattedTextAnchorGenerator.generateAnchors(sText, sAutoGenerateLinkTags, this.getConvertedLinksDefaultTarget());
return sanitizeHTML.call(this, sText);
};
/**
* Defines the HTML text to be displayed.
* @param {string} sText HTML text as a string
* @return {this} this for chaining
* @public
*/
FormattedText.prototype.setHtmlText = function (sText) {
return this.setProperty("htmlText", sanitizeHTML.call(this, sText));
};
/**
* Sets should a limited list of rendering rules be used instead of the default one. This limited list
* will evaluate only a small subset of the default HTML elements and attributes.
* @param {boolean} bLimit Should the control use the limited list
* @private
* @ui5-restricted sap.m.MessageStrip
*/
FormattedText.prototype._setUseLimitedRenderingRules = function (bLimit) {
this._renderingRules = bLimit ? _limitedRenderingRules : _defaultRenderingRules;
};
FormattedText.prototype.getFocusDomRef = function () {
return this.getDomRef() && this.getDomRef().querySelector("a");
};
return FormattedText;
}); | 31.002681 | 158 | 0.624006 |
83efb88d92fdb04dc50c70211c107919aab1c564 | 62,377 | js | JavaScript | lib/cli/commands/vm.js | mdavid/azure-sdk-for-node | 1439395c0fa755134940fc0c9c179f538e81f4b5 | [
"Apache-2.0"
] | 3 | 2015-08-29T12:56:21.000Z | 2021-04-30T21:50:22.000Z | lib/cli/commands/vm.js | mdavid/azure-sdk-for-node | 1439395c0fa755134940fc0c9c179f538e81f4b5 | [
"Apache-2.0"
] | null | null | null | lib/cli/commands/vm.js | mdavid/azure-sdk-for-node | 1439395c0fa755134940fc0c9c179f538e81f4b5 | [
"Apache-2.0"
] | 1 | 2017-02-23T14:12:06.000Z | 2017-02-23T14:12:06.000Z | /**
* Copyright 2011 Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var assert = require('assert');
var crypto = require('crypto');
var fs = require('fs');
var path = require('path');
var url = require('url');
var util = require('util');
var utils = require('../utils');
var blobUtils = require('../blobUtils');
var image = require('../iaas/image');
var deleteImage = require('../iaas/deleteImage');
var pageBlob = require('../iaas/upload/pageBlob');
var common = require('../common');
var enumDeployments = utils.enumDeployments;
exports.init = function(cli) {
var vm = cli.category('vm')
.description('Commands to manage your Azure virtual machines');
var logger = cli.output;
vm.command('create <dns-name> <image> <user-name> [password]')
.whiteListPowershell()
.usage('<dns-name> <image> <userName> [password]')
.description('Create a new Azure VM')
.option('-c, --connect', 'connect to existing VMs')
.option('-l, --location <name>', 'location of the data center')
.option('-a, --affinity-group <name>', 'affinity group')
.option('-u, --blob-url <url>', 'blob url for OS disk')
.option('-z, --vm-size <size>', 'VM size [small]\n extrasmall, small, medium, large, extralarge')
.option('-n, --vm-name <name>', 'VM name')
.option('-e, --ssh [port]', 'enable SSH [22]')
.option('-t, --ssh-cert <pem-file|fingerprint>', 'SSH certificate')
.option('-r, --rdp [port]', 'enable RDP [3389]')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-w, --virtual-network-name <name>', 'virtual network name')
.option('-b, --subnet-names <list>', 'comma-delimited subnet names')
.execute(function(dnsName, image, userName, password, options, callback) {
var dnsPrefix = utils.getDnsPrefix(dnsName);
var vmSize;
if (options.vmSize) {
vmSize = options.vmSize.trim().toLowerCase();
if (vmSize === 'medium') {
vmSize = 'Medium';
} else {
vmSize = vmSize[0].toUpperCase() + vmSize.slice(1, 5) +
(vmSize.length > 5 ? (vmSize[5].toUpperCase() + vmSize.slice(6)) : '');
}
if (vmSize !== 'ExtraSmall' && vmSize !== 'Small' && vmSize !== 'Medium' &&
vmSize !== 'Large' && vmSize !== 'ExtraLarge') {
logger.help('--vm-size <size> must specify one of the following:');
logger.help(' extrasmall, small, medium, large, extralarge');
callback('invalid <size> specified with --vm-size');
}
} else {
// Default to small
vmSize = 'Small';
}
if (options.rdp) {
if (typeof options.rdp === "boolean") {
options.rdp = 3389;
} else if ((options.rdp != parseInt(options.rdp, 10)) || (options.rdp > 65535)) {
callback('--rdp [port] must be an integer less than or equal to 65535');
}
}
if (options.ssh) {
if (typeof options.ssh === "boolean") {
options.ssh = 22;
} else if ((options.ssh != parseInt(options.ssh, 10)) || (options.ssh > 65535)) {
callback('--ssh [port] must be an integer less than or equal to 65535');
}
}
createVM({
dnsPrefix: dnsPrefix,
imageName: image,
password: password,
userName: userName,
subscription: options.subscription,
size: vmSize,
location: options.location,
affinityGroup: options.affinityGroup,
imageTarget: options.blobUrl,
ssh: options.ssh,
sshCert: options.sshCert,
rdp: options.rdp,
connect: options.connect,
vmName: options.vmName,
virtualNetworkName: options.virtualNetworkName,
subnetNames: options.subnetNames
}, callback);
});
vm.command('create-from <dns-name> <role-file>')
.whiteListPowershell()
.usage('<dns-name> <role-file>')
.description('Create a new Azure VM from json role file')
.option('-c, --connect', 'connect to existing VMs')
.option('-l, --location <name>', 'location of the data center')
.option('-a, --affinity-group <name>', 'affinity group')
.option('-t, --ssh-cert <pem-file>', 'Upload SSH certificate')
.option('-s, --subscription <id>', 'use the subscription id')
.execute(function(dnsName, roleFile, options, callback) {
function stripBOM(content) {
// Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
// because the buffer-to-string conversion in `fs.readFileSync()`
// translates it to FEFF, the UTF-16 BOM.
if (content.charCodeAt(0) === 0xFEFF) {
content = content.slice(1);
}
return content;
}
var dnsPrefix = utils.getDnsPrefix(dnsName);
logger.verbose('Loading role file: ' + roleFile);
var jsonFile = fs.readFileSync(roleFile, 'utf8');
var role = JSON.parse(stripBOM(jsonFile));
createVM({
subscription: options.subscription,
location: options.location,
dnsPrefix: dnsPrefix,
connect: options.connect,
role: role,
sshCert: options.sshCert
}, callback);
});
vm.command('list')
.whiteListPowershell()
.description('List Azure VMs')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(options, callback) {
listVMs(options, callback);
});
vm.command('show <name>')
.whiteListPowershell()
.description('Show details about Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, options, callback) {
showVM(name.toLowerCase(), options, callback);
});
vm.command('delete <name>')
.whiteListPowershell()
.description('Delete Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.option('-b, --blob-delete', 'remove image and disk blobs')
.execute(function(name, options, callback) {
deleteVM(name.toLowerCase(), options, callback);
});
vm.command('start <name>')
.whiteListPowershell()
.description('Start Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, options, callback) {
startVM(name.toLowerCase(), options, callback);
});
vm.command('restart <name>')
.whiteListPowershell()
.description('Restart Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, options, callback) {
restartVM(name.toLowerCase(), options, callback);
});
vm.command('shutdown <name>')
.whiteListPowershell()
.description('Shutdown Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, options, callback) {
shutdownVM(name.toLowerCase(), options, callback);
});
vm.command('capture <vm-name> <target-image-name>')
.whiteListPowershell()
.usage('<vm-name> <target-image-name>')
.description('Capture Azure VM image')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.option('-e, --label <label>', 'target image friendly name')
.option('-t, --delete', 'delete VM after successful capture')
.execute(function(vmName, targetImageName, options, callback) {
if (!options['delete']) {
// Using this option will warn the user that the machine will be deleted
logger.help('Reprovisioning a captured VM is not yet supported');
callback('required --delete option is missing');
}
captureVM(vmName.toLowerCase(), targetImageName, options, callback);
});
vm.command('portal') // possible TODO: portal [name] [--dns-name <dns-name>] [--subscription <id>]
.whiteListPowershell()
.description('Opens the portal in a browser to manage your VMs')
.execute(function(options) {
var url = utils.portal() + '#Workspace/VirtualMachineExtension/vms';
common.launchBrowser(url);
});
var location = vm.category('location')
.description('Commands to manage your Azure locations');
location.command('list')
.description('List locations available for your account')
.execute(function (options, callback) {
cli.category('account').listLAG('Locations', options, callback);
});
var endpoint = vm.category('endpoint')
.description('Commands to manage your Azure virtual machine endpoints');
endpoint.command('create <vm-name> <lb-port> [vm-port]')
.whiteListPowershell()
.usage('<vm-name> <lb-port> [vm-port]')
.description('Create a new azure VM endpoint')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.option('-n, --endpoint-name <name>', 'specify endpoint name')
.execute(function(vmName, lbport, vmport, options, callback) {
var lbPortAsInt = parseInt(lbport, 10);
if ((lbport != lbPortAsInt) || (lbPortAsInt > 65535)) {
callback('lb-port must be an integer less than or equal to 65535');
}
var vmportAsInt = -1;
if (typeof vmport === 'undefined') {
vmportAsInt = lbPortAsInt;
} else {
vmportAsInt = parseInt(vmport, 10);
if ((vmport != vmportAsInt) || (vmportAsInt > 65535)) {
callback('vm-port must be an integer less than or equal to 65535');
}
}
endpointCreateDelete({
subscription: options.subscription,
name: vmName.toLowerCase(),
endpointName : options.endpointName,
dnsPrefix: utils.getDnsPrefix(options.dnsName, true),
lbport: lbPortAsInt,
vmport: vmportAsInt,
create: true
}, callback);
});
endpoint.command('delete <vm-name> <lb-port>')
.whiteListPowershell()
.usage('<vm-name> <lb-port>')
.description('Delete an azure VM endpoint')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(vmName, lbport, options, callback) {
var lbPortAsInt = parseInt(lbport, 10);
if ((lbport != lbPortAsInt) || (lbPortAsInt > 65535)) {
callback('lb-port must be an integer less than or equal to 65535');
}
endpointCreateDelete({
subscription: options.subscription,
name: vmName.toLowerCase(),
dnsPrefix: utils.getDnsPrefix(options.dnsName, true),
lbport: lbPortAsInt,
vmport: -1,
create: false
}, callback);
});
endpoint.command('list <vm-name>')
.whiteListPowershell()
.usage('<vm-name>')
.description('List endpoints of an azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, options, callback) {
listEndpoints({
subscription: options.subscription,
name: name.toLowerCase(),
dnsPrefix: utils.getDnsPrefix(options.dnsName, true),
}, callback);
});
var osImage = vm.category('image')
.description('Commands to manage your Azure VM images');
osImage.command('show <name>')
.whiteListPowershell()
.description('Show details about a VM image')
.option('-s, --subscription <id>', 'use the subscription id')
.execute(image.show(image.OSIMAGE, cli));
osImage.command('list')
.whiteListPowershell()
.description('List Azure VM images')
.option('-s, --subscription <id>', 'use the subscription id')
.execute(image.list(image.OSIMAGE, cli));
osImage.command('delete <name>')
.whiteListPowershell()
.description('Delete Azure VM image from personal repository')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-b, --blob-delete', 'delete underlying blob from storage')
.execute(image.imageDelete(image.OSIMAGE, cli));
osImage.command('create <name> [source-path]')
.whiteListPowershell()
.usage('<name> [source-path]')
.description('Upload and register Azure VM image')
.option('-u, --blob-url <url>', 'target image blob url')
.option('-l, --location <name>', 'location of the data center')
.option('-a, --affinity-group <name>', 'affinity group')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-o, --os <type>', 'operating system [linux|windows]')
.option('-p, --parallel <number>', 'maximum number of parallel uploads [96]', 96)
.option('-m, --md5-skip', 'skip MD5 hash computation')
.option('-f, --force-overwrite', 'force overwrite of prior uploads')
.option('-e, --label <about>', 'image label')
.option('-d, --description <about>', 'image description')
.option('-b, --base-vhd <blob>', 'base vhd blob url')
.execute(image.create(image.OSIMAGE, cli));
var disk = vm.category('disk')
.description('Commands to manage your Azure virtual machine data disks');
disk.command('show <name>')
.whiteListPowershell()
.description('Show details about an Azure disk')
.option('-s, --subscription <id>', 'use the subscription id')
.execute(image.show(image.DISK, cli));
disk.command('list [vm-name]')
.whiteListPowershell()
.description('List Azure disk images, or disks attached to a specified VM')
.option('-s, --subscription <id>', 'use the subscription id')
.execute(image.list(image.DISK, cli));
disk.command('delete <name>')
.whiteListPowershell()
.description('Delete Azure disk image from personal repository')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-b, --blob-delete', 'delete underlying blob from storage')
.execute(image.imageDelete(image.DISK, cli));
disk.command('create <name> [source-path]')
.whiteListPowershell()
.usage('<name> [source-path]')
.description('Upload and register Azure disk image')
.option('-u, --blob-url <url>', 'target image blob url')
.option('-l, --location <name>', 'location of the data center')
.option('-a, --affinity-group <name>', 'affinity group')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-o, --os [type]', 'operating system if any [linux|windows|none]')
.option('-p, --parallel <number>', 'maximum number of parallel uploads [96]', 96)
.option('-m, --md5-skip', 'skip MD5 hash computation')
.option('-f, --force-overwrite', 'force overwrite of prior uploads')
.option('-e, --label <about>', 'image label')
.option('-d, --description <about>', 'image description')
.option('-b, --base-vhd <blob>', 'base vhd blob url')
.execute(image.create(image.DISK, cli));
disk.command('upload <source-path> <blob-url> <storage-account-key>')
.whiteListPowershell()
.usage('<source-path> <blob-url> <storage-account-key>')
.description('Upload a VHD to an Azure storage account')
.option('-p, --parallel <number>', 'maximum number of parallel uploads [96]', 96)
.option('-m, --md5-skip', 'skip MD5 hash computation')
.option('-f, --force-overwrite', 'force overwrite of prior uploads')
.option('-b, --base-vhd <blob>', 'base vhd blob url')
.execute(function(sourcePath, blobUrl, storageAccountKey, options, callback) {
if (/^https?\:\/\//i.test(sourcePath)) {
logger.verbose('Copying blob from ' + sourcePath);
if (options.md5Skip || options.parallel !== 96 || options.baseVhd) {
logger.warn('--md5-skip, --parallel and/or --base-vhd options will be ignored');
}
if (!options.forceOverwrite) {
logger.warn('Any existing blob will be overwritten' + (blobUrl ? ' at ' + blobUrl : ''));
}
var progress = cli.progress('Copying blob');
pageBlob.copyBlob(sourcePath, blobUrl, storageAccountKey, function(error, blob, response) {
progress.end();
logger.silly(util.inspect(response, null, null, true));
if (!error) {
logger.silly('Status : ' + response.copyStatus);
}
callback(error);
});
} else {
var uploadOptions = {
verbose : cli.verbose ||
logger.format().level === 'verbose' ||
logger.format().level === 'silly',
skipMd5 : options.md5Skip,
force : options.forceOverwrite,
vhd : true,
threads : options.parallel,
parentBlob : options.baseVhd,
exitWithError : callback,
logger : logger
};
pageBlob.uploadPageBlob(blobUrl, storageAccountKey, sourcePath, uploadOptions, callback);
}
});
disk.command('attach <vm-name> <disk-image-name>')
.whiteListPowershell()
.usage('<vm-name> <disk-image-name>')
.description('Attaches data-disk to Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, diskImageName, options, callback) {
diskAttachDetach({
subscription: options.subscription,
name: name.toLowerCase(),
dnsName: options.dnsName,
size: null,
isDiskImage: true,
url: diskImageName,
attach: true
}, callback);
});
disk.command('attach-new <vm-name> <size-in-gb> [blob-url]')
.whiteListPowershell()
.usage('<vm-name> <size-in-gb> [blob-url]')
.description('Attaches data-disk to Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, size, blobUrl, options, callback) {
var sizeAsInt = utils.parseInt(size);
if (isNaN(sizeAsInt)) {
callback('size-in-gb must be an integer');
}
diskAttachDetach({
subscription: options.subscription,
name: name.toLowerCase(),
dnsName: options.dnsName,
size: sizeAsInt,
isDiskImage: false,
url: blobUrl,
attach: true
}, callback);
});
disk.command('detach <vm-name> <lun>')
.whiteListPowershell()
.usage('<vm-name> <lun>')
.description('Detaches a data-disk attached to an Azure VM')
.option('-s, --subscription <id>', 'use the subscription id')
.option('-d, --dns-name <name>', 'only show VMs for this DNS name')
.execute(function(name, lun, options, callback) {
var lunAsInt = utils.parseInt(lun);
if (isNaN(lunAsInt)) {
callback('lun must be an integer');
}
diskAttachDetach({
subscription: options.subscription,
name: name.toLowerCase(),
dnsName: options.dnsName,
lun: lunAsInt,
attach: false
}, callback);
});
// default service options.
var svcopts = {
Label: '',
Description: 'Implicitly created hosted service'
};
function createVM(options, cmdCallback) {
var deployOptions = {
DeploymentSlot: options.deploySlot,
VirtualNetworkName: options.virtualNetworkName
};
var role;
var image;
var pemSshCert;
var sshFingerprint;
var provisioningConfig;
var progress;
var dnsPrefix;
var location;
var affinityGroup;
var hostedServiceCreated = false;
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
dnsPrefix = options.dnsPrefix.toLowerCase();
// Load the roleFile if provided
if (options.role) {
role = options.role;
logger.silly('role', role);
if (options.sshCert) {
loadSshCert();
progress = cli.progress('Configuring certificate');
configureCert(dnsPrefix, function() {
progress.end();
doSvcMgmtRoleCreate();
});
} else {
doSvcMgmtRoleCreate();
}
} else {
// find the provided image
logger.verbose('looking for image ' + options.imageName);
progress = cli.progress('Looking up image');
// $TODO: Current RDFE contains a bug where getOsImage doesn't work for platform images.
// In order to work around the bug, we do listOsImages and find the specified image.
utils.doServiceManagementOperation(channel, 'listOSImage', function(error, response) {
progress.end();
if (!error) {
var images = response.body;
for (var i = 0; i < images.length; i++) {
if (images[i].Name === options.imageName) {
image = images[i];
break;
}
}
if (!image) {
cmdCallback('Image \'' + options.imageName + '\' not found');
}
logger.silly('image:');
logger.json('silly', image);
doSvcMgmtRoleCreate();
} else {
cmdCallback(error);
}
});
}
function loadSshCert() {
logger.silly('trying to open SSH cert: ' + options.sshCert);
pemSshCert = fs.readFileSync(options.sshCert);
var pemSshCertStr = pemSshCert.toString();
if (!utils.isPemCert(pemSshCertStr)) {
cmdCallback('Specified SSH certificate is not in PEM format');
}
sshFingerprint = utils.getCertFingerprint(pemSshCertStr);
}
function createDefaultRole(name, callback) {
var inputEndPoints = [];
logger.verbose('Creating default role');
var vmName = options.vmName || name || dnsPrefix;
role = {
RoleName: vmName,
RoleSize: options.size,
OSVirtualHardDisk: {
SourceImageName: image.Name
}
};
function createDefaultRoleWithPassword_() {
var configureSshCert = false;
if (image.OS.toLowerCase() === 'linux') {
logger.verbose('Using Linux ProvisioningConfiguration');
provisioningConfig = {
ConfigurationSetType: 'LinuxProvisioningConfiguration',
HostName: vmName,
UserName: options.userName,
UserPassword: options.password
};
if (options.ssh) {
logger.verbose('SSH is enabled on port ' + options.ssh);
inputEndPoints.push({
Name: 'ssh',
Protocol: 'tcp',
Port: options.ssh,
LocalPort: '22'
});
if (options.sshCert) {
if (utils.isSha1Hash(options.sshCert)) {
sshFingerprint = options.sshCert;
} else {
loadSshCert();
}
sshFingerprint = sshFingerprint.toUpperCase();
logger.verbose('using SSH fingerprint: ' + sshFingerprint);
// Configure the cert for hosted service
configureSshCert = true;
} else {
provisioningConfig.DisableSshPasswordAuthentication = false;
}
}
} else {
logger.verbose('Using Windows ProvisioningConfiguration');
provisioningConfig = {
ConfigurationSetType: 'WindowsProvisioningConfiguration',
ComputerName: vmName,
AdminPassword: options.password,
ResetPasswordOnFirstLogon: false
};
if (options.rdp) {
logger.verbose('RDP is enabled on port ' + options.rdp);
inputEndPoints.push({
Name: 'rdp',
Protocol: 'tcp',
Port: options.rdp,
LocalPort: '3389'
});
}
}
role.ConfigurationSets = [provisioningConfig];
if (inputEndPoints.length || options.subnetNames) {
role.ConfigurationSets.push({
ConfigurationSetType: 'NetworkConfiguration',
InputEndpoints: inputEndPoints,
SubnetNames: options.subnetNames ? options.subnetNames.split(',') : []
});
}
if(configureSshCert) {
progress = cli.progress('Configuring certificate');
configureCert(dnsPrefix, function() {
progress.end();
logger.verbose('role:');
logger.json('verbose', role);
callback();
});
} else {
logger.verbose('role:');
logger.json('verbose', role);
callback();
}
}
function createDefaultRoleEnsurePassword_() {
// Prompt for password if not specified
if (typeof options.password === 'undefined') {
cli.password('Enter VM \'' + options.userName + '\' password: ', '*', function(pass) {
process.stdin.pause();
options.password = pass;
createDefaultRoleWithPassword_();
});
} else {
createDefaultRoleWithPassword_();
}
}
if (options.imageTarget || image.Category !== 'User') {
blobUtils.getBlobName(cli, channel, location, affinityGroup, dnsPrefix, options.imageTarget,
'/vhd-store/', vmName + '-' + crypto.randomBytes(8).toString('hex') + '.vhd',
function(error, imageTargetUrl) {
if (error) {
logger.error('Unable to retrieve storage account.');
cleanupHostedServiceAndExit(error);
} else {
imageTargetUrl = blobUtils.normalizeBlobUri(imageTargetUrl, false);
logger.verbose('image MediaLink: ' + imageTargetUrl);
role.OSVirtualHardDisk.MediaLink = imageTargetUrl;
createDefaultRoleEnsurePassword_();
}
}
);
} else {
createDefaultRoleEnsurePassword_();
}
}
function configureCert(service, callback) {
if (provisioningConfig) {
provisioningConfig.SSH = {
PublicKeys: [ {
Fingerprint: sshFingerprint,
Path: '/home/' + options.userName + '/.ssh/authorized_keys'
}
]
};
logger.silly('provisioningConfig with SSH:');
logger.silly(JSON.stringify(provisioningConfig));
}
if (pemSshCert) {
logger.verbose('uploading cert');
utils.doServiceManagementOperation(channel, 'addCertificate', service, pemSshCert, 'pfx', null, function(error, response) {
if (!error) {
logger.verbose('uploading cert succeeded');
callback();
} else {
cleanupHostedServiceAndExit(error);
}
});
} else {
callback();
}
}
function createDeploymentInExistingHostedService() {
if (options.location) {
logger.warn('--location option will be ignored');
}
if (options.affinityGroup) {
logger.warn('--affinity-group option will be ignored');
}
// Get hosted service properties
progress = cli.progress('Getting cloud service properties');
utils.doServiceManagementOperation(channel, 'getHostedServiceProperties', dnsPrefix, function(error, response) {
progress.end();
if (error) {
cmdCallback(error);
} else {
logger.verbose('Cloud service properties:');
logger.json('verbose', response.body);
location = response.body.HostedServiceProperties.Location;
affinityGroup = response.body.HostedServiceProperties.AffinityGroup;
// Check for existing production deployment
progress = cli.progress('Looking up deployment');
utils.doServiceManagementOperation(channel, 'getDeploymentBySlot', dnsPrefix, 'Production', function(error, response) {
progress.end();
if (error) {
if (response && response.statusCode === 404) {
// There's no production deployment. Create a new deployment.
function createDeployment_() {
progress = cli.progress('Creating VM');
utils.doServiceManagementOperation(channel, 'createDeployment', dnsPrefix, dnsPrefix,
role, deployOptions, function(error, response) {
progress.end();
if (!error) {
logger.info('OK');
} else {
cmdCallback(error);
}
});
}
if (!role) {
createDefaultRole(null, createDeployment_);
} else {
createDeployment_();
}
} else {
cmdCallback(error);
}
} else {
// There's existing production deployment. Add a new role if --connect was specified.
if (!options.connect) {
logger.help('Specify --connect option to connect the new VM to an existing VM');
cmdCallback('A VM with dns prefix \'' + dnsPrefix + '\' already exists');
}
function addRole_() {
logger.verbose('Adding a VM to existing deployment');
progress = cli.progress('Creating VM');
utils.doServiceManagementOperation(channel, 'addRole', dnsPrefix, response.body.Name, role, function(error, response) {
progress.end();
cmdCallback(error);
});
}
var roleList = response.body.RoleList;
var maxNum = 1;
for (var i = 0; i < roleList.length; i++) {
var numSplit = roleList[i].RoleName.split('-');
if (numSplit.length > 1) {
// did it start with dnsPrefix? If not, ignore.
var leftSplit = numSplit.slice(0, -1).join('-');
if (leftSplit === dnsPrefix.slice(0, leftSplit.length)) {
var num = parseInt(numSplit[numSplit.length - 1], 10);
if (!isNaN(num) && num !== num + 1 && num > maxNum) { // number that is not too big
maxNum = num;
}
}
}
}
var tag = '-' + (maxNum + 1);
var vmName = image.OS.toLowerCase() === 'linux' ? dnsPrefix : dnsPrefix.slice(0, 15 - tag.length);
vmName += tag;
if (!role) {
createDefaultRole(vmName, addRole_);
} else {
addRole_();
}
}
});
}
});
}
function createDeployment() {
function createDeployment_() {
progress = cli.progress('Creating VM');
utils.doServiceManagementOperation(channel, 'createDeployment', dnsPrefix, dnsPrefix,
role, deployOptions, function(error, response) {
progress.end();
if (!error) {
cmdCallback();
} else {
cleanupHostedServiceAndExit(error);
}
});
}
if (!role) {
createDefaultRole(null, createDeployment_);
} else {
createDeployment_();
}
}
function cleanupHostedServiceAndExit(error) {
logger.verbose('Error occured. Deleting ' + options.dnsPrefix + ' cloud service');
if (hostedServiceCreated) {
progress = cli.progress('Deleting cloud service');
utils.doServiceManagementOperation(channel, 'deleteHostedService', options.dnsPrefix, function(err, response) {
progress.end();
if (err) {
logger.warn('Error deleting ' + options.dnsPrefix + ' cloud service');
logger.json('verbose', error);
} else {
logger.verbose(options.dnsPrefix + ' cloud service deleted');
}
cmdCallback(error);
});
} else {
cmdCallback(error);
}
}
function doSvcMgmtRoleCreate() {
// test if the cloud service exists for specified dns name
logger.verbose('Checking for existence of ' + options.dnsPrefix + ' cloud service');
progress = cli.progress('Looking up cloud service');
utils.doServiceManagementOperation(channel, 'listHostedServices', function(error, response) {
progress.end();
if (error) {
cmdCallback(error);
} else {
var service = null;
var services = response.body;
for (var i = 0; i < services.length; i++) {
if (services[i].ServiceName.toLowerCase() === dnsPrefix) {
service = services[i];
break;
}
}
if (service) {
logger.verbose('Found existing cloud service ' + service.ServiceName);
return createDeploymentInExistingHostedService();
} else {
if (!options.location && !options.affinityGroup) {
logger.error('location or affinity group is required for a new cloud service');
logger.error('please specify --location or --affinity-group');
logger.help('following commands show available locations and affinity groups:');
logger.help(' azure vm location list');
logger.help(' azure account affinity-group list');
cmdCallback(' ');
}
if (options.location && options.affinityGroup) {
cmdCallback('both --location and --affinitygroup options are specified');
}
location = options.location;
affinityGroup = options.affinityGroup;
if (location) {
logger.verbose('Resolving the location \'' + location + '\'');
utils.resolveLocationName(channel, location, function(error, resolvedName) {
if(!error) {
location = resolvedName;
logger.verbose('Location resolved to \'' + location + '\'');
_svcMgmtRoleCreateInternal();
} else {
cmdCallback(error);
}
});
} else {
_svcMgmtRoleCreateInternal();
}
function _svcMgmtRoleCreateInternal() {
svcopts.Location = location;
svcopts.AffinityGroup = options.affinityGroup;
svcopts.Label = dnsPrefix;
progress = cli.progress('Creating cloud service');
utils.doServiceManagementOperation(channel, 'createHostedService', dnsPrefix, svcopts, function(error, response) {
progress.end();
if (error) {
cmdCallback(error);
} else {
hostedServiceCreated = true;
createDeployment();
}
});
}
}
}
});
}
}
function listVMs(options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var progress = cli.progress('Fetching VMs');
// $TODO: make the callback return list of deployments and/or errors
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var vms = [];
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole') {
vms.push(createPrettyVMView(roles[j], options.rsps[i].deploy));
}
}
}
}
if (vms.length > 0) {
logger.table(vms, function(row, item) {
row.cell('DNS Name', item.DNSName);
row.cell('VM Name', item.VMName);
row.cell('Status', item.InstanceStatus);
});
} else {
if (logger.format().json) {
logger.json([]);
} else {
logger.info('No VMs found');
}
}
cmdCallback();
} else {
logger.info('No VMs found');
cmdCallback();
}
});
}
function deleteVM(name, options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var p = cli.progress('Finding VM');
enumDeployments(channel, options, function() {
p.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
var role = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
role = roles[j];
}
}
}
}
// got unique role, delete it
if (found) {
var progress = cli.progress('Deleting VM');
deleteRoleOrDeployment(channel, found.svc, found.deploy, name, function(error) {
progress.end();
if (!error) {
if (!options.blobDelete) {
cmdCallback();
return;
}
var dataDiskCount = role.DataVirtualHardDisks.length;
logger.verbose('Deleting blob' + (dataDiskCount ? 's' : ''));
var doneCount = 0;
var errorCount = 0;
var allCount = dataDiskCount + 1;
var k = -2;
toNext();
function toNext() {
k++;
if (k === dataDiskCount) {
done();
return;
}
var diskInfo = k < 0 ? role.OSVirtualHardDisk : role.DataVirtualHardDisks[k];
var diskName = diskInfo.DiskName;
var mediaLink = diskInfo.MediaLink;
logger.verbose('Deleting disk ' + diskName + ' @ ' + mediaLink);
deleteImage.deleteImage('Disk', 'Disk', logger, channel, diskName, mediaLink,
cli.progress, true, function(error) {
doneCount++;
logger.silly((error ? 'Error' : 'Finished') + ' deleting disk ' + doneCount + ' of ' + allCount);
if (error) {
logger.error(util.inspect(error));
errorCount++;
}
toNext();
});
}
function done() {
progress.end();
if (errorCount) {
cmdCallback('While VM was deleted successfully, deletion of ' + errorCount +
' of its ' + allCount + ' disk(s) failed');
}
logger.verbose('All ' + allCount +
' disk(s) were successfuly deleted from disk registry and blob storage');
cmdCallback();
}
} else {
cmdCallback(error);
}
});
} else {
logger.warn('No VMs found');
cmdCallback();
}
}
});
}
function showVM(name, options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var progress = cli.progress('Fetching VM');
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var vms = [];
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === name) {
vms.push(createPrettyVMView(roles[j], options.rsps[i].deploy));
}
}
}
}
// got unique role, delete it
if (vms.length > 0) {
var vmOut = vms.length === 1 ? vms[0] : vms;
if (logger.format().json) {
logger.json(vmOut);
} else {
utils.logLineFormat(vmOut, logger.data);
}
} else {
return cmdCallback('No VMs found');
}
cmdCallback();
}
});
}
function startVM(name, options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var p = cli.progress('Fetching VM');
enumDeployments(channel, options, function() {
p.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
found.roleInstance = getRoleInstance(roles[j].RoleName, options.rsps[i].deploy);
}
}
}
}
// got unique role, delete it
if (found) {
var progress = cli.progress('Starting VM');
utils.doServiceManagementOperation(channel, 'startRole', found.svc,
found.deploy.Name, found.roleInstance.InstanceName, function(error, response) {
progress.end();
cmdCallback(error);
});
} else {
logger.warn('No VMs found');
cmdCallback();
}
}
});
}
function restartVM(name, options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var progress = cli.progress('Fetching VMs');
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
found.roleInstance = getRoleInstance(roles[j].RoleName, options.rsps[i].deploy);
}
}
}
}
// got unique role, delete it
if (found) {
progress = cli.progress('Restarting VM');
utils.doServiceManagementOperation(channel, 'restartRole', found.svc,
found.deploy.Name, found.roleInstance.InstanceName, function(error, response) {
progress.end();
cmdCallback(error);
});
} else {
logger.warn('No VMs found');
cmdCallback();
}
}
});
}
function shutdownVM(name, options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var progress = cli.progress('Fetching VMs');
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
found.roleInstance = getRoleInstance(roles[j].RoleName, options.rsps[i].deploy);
}
}
}
}
// got unique role, delete it
if (found) {
progress = cli.progress('Shutting down VM');
utils.doServiceManagementOperation(channel, 'shutdownRole', found.svc,
found.deploy.Name, found.roleInstance.InstanceName, function(error, response) {
progress.end();
cmdCallback(error);
});
} else {
logger.warn('No VMs found');
cmdCallback();
}
}
});
}
function captureVM(name, targetImageName, options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var progress = cli.progress('Fetching VMs');
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
found.roleInstance = getRoleInstance(roles[j].RoleName, options.rsps[i].deploy);
}
}
}
}
// got unique role, delete it
if (found) {
progress = cli.progress('Capturing VM');
var captureOptions = {
PostCaptureAction : 'Delete',
TargetImageName : targetImageName,
TargetImageLabel : options.label || targetImageName // does not work without label
};
utils.doServiceManagementOperation(channel, 'captureRole', found.svc,
found.deploy.Name, found.roleInstance.InstanceName,
captureOptions, function(error, response) {
progress.end();
cmdCallback(error);
});
} else {
logger.warn('No VMs found');
cmdCallback();
}
}
});
}
function endpointCreateDelete(options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var progress = cli.progress('Fetching VM');
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === options.name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
found.roleInstance = getRoleInstance(roles[j].RoleName, options.rsps[i].deploy);
}
}
}
}
// got unique role under a deployment and service, update the network configuration
if (found) {
progress.end();
progress = cli.progress('Reading network configuration');
utils.doServiceManagementOperation(channel, 'getRole', found.svc, found.deploy.Name, options.name, function(error, response) {
if (!error) {
var role = response.body;
var configurationSets = role.ConfigurationSets;
var k = 0;
// Locate the NetworkConfiguration Set
for (; k < configurationSets.length; k++) {
if (configurationSets[k].ConfigurationSetType === 'NetworkConfiguration') {
break;
}
}
if (!configurationSets[k].InputEndpoints) {
configurationSets[k].InputEndpoints = [];
}
var endpointCount = configurationSets[k].InputEndpoints.length;
var m = 0;
var message = null;
// Check for the existance of endpoint
for (; m < endpointCount; m++) {
var lbPortAsInt = parseInt(configurationSets[k].InputEndpoints[m].Port, 10);
if (lbPortAsInt === options.lbport) {
message = 'The port ' + options.lbport + ' of load-balancer is already mapped to port ' +
configurationSets[k].InputEndpoints[m].LocalPort + ' of VM';
break;
}
var vmPortAsInt = parseInt(configurationSets[k].InputEndpoints[m].LocalPort, 10);
if (vmPortAsInt === options.vmport) {
message = 'The port ' + options.vmport + ' of VM is already mapped to port ' +
configurationSets[k].InputEndpoints[m].Port + ' of loade-balancer';
break;
}
}
if (m !== endpointCount) {
if (options.create) {
progress.end();
cmdCallback(message);
} else {
configurationSets[k].InputEndpoints.splice(m, 1);
}
} else {
if (options.create) {
var inputEndPoint = {
Name: options.endpointName || 'endpname-' + options.lbport + '-' + options.vmport,
Protocol: 'tcp',
Port: options.lbport,
LocalPort: options.vmport
};
configurationSets[k].InputEndpoints.push(inputEndPoint);
} else {
progress.end();
cmdCallback('Endpoint not found in the network configuration');
}
}
progress.end();
var vmRole = {
ConfigurationSets: configurationSets
};
progress = cli.progress('Updating network configuration');
utils.doServiceManagementOperation(channel, 'modifyRole', found.svc, found.deploy.Name,
options.name, vmRole, function(error, response) {
progress.end();
cmdCallback(error);
});
} else {
progress.end();
cmdCallback(error);
}
});
} else {
progress.end();
cmdCallback('No VMs found');
}
}
});
}
function listEndpoints(options, cmdCallback) {
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var progress = cli.progress('Fetching VM');
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === options.name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
found.roleInstance = getRoleInstance(roles[j].RoleName, options.rsps[i].deploy);
}
}
}
}
// got unique role under a deployment and service, list the endpoints
if (found) {
if (!found.roleInstance.InstanceEndpoints || found.roleInstance.InstanceEndpoints.length === 0) {
if (logger.format().json) {
logger.json([]);
} else {
logger.info('No endpoints found');
}
} else {
logger.table(found.roleInstance.InstanceEndpoints, function(row, item) {
row.cell('Name', item.Name);
row.cell('External Port', item.PublicPort);
row.cell('Local Port', item.LocalPort);
});
}
} else {
return cmdCallback('No VMs found');
}
cmdCallback();
}
});
}
function diskAttachDetach(options, cmdCallback) {
var progress;
var lookupOsDiskUrl = false;
var channel = utils.createServiceManagementService(cli.category('account').lookupSubscriptionId(options.subscription),
cli.category('account'), logger);
var diskInfo = {};
if (!options.isDiskImage) {
if (!options.url || !url.parse(options.url).protocol) {
// If the blob url is not provide or partially provided, we need see
// what storage account is used by VM's OS disk.
lookupOsDiskUrl = true;
} else {
diskInfo.MediaLink = options.url;
}
} else {
diskInfo.DiskName = options.url;
}
progress = cli.progress('Fetching VM');
enumDeployments(channel, options, function() {
progress.end();
if (options.rsps.length === 0 && options.errs.length > 0) {
cmdCallback(options.errs[0]);
} else if (options.rsps.length > 0) {
var found = null;
for (var i = 0; i < options.rsps.length; i++) {
var roles = options.rsps[i].deploy.RoleList;
if (roles) {
for (var j = 0; j < roles.length; j++) {
if (roles[j].RoleType === 'PersistentVMRole' &&
roles[j].RoleName.toLowerCase() === options.name) {
if (found) {
// found duplicates
cmdCallback('VM name is not unique');
}
found = options.rsps[i];
found.dataVirtualHardDisks = roles[j].DataVirtualHardDisks;
found.osDisk = roles[j].OSVirtualHardDisk;
}
}
}
}
// got unique role under a deployment and service, add-disk
if (found) {
if (options.attach) {
// Check if we need to set the disk url based on the VM OS disk
if (lookupOsDiskUrl) {
if (options.url) {
var parsed = url.parse(found.osDisk.MediaLink);
diskInfo.MediaLink = parsed.protocol + '//' + parsed.host + '/' +options.url;
} else {
diskInfo.MediaLink = found.osDisk.MediaLink.slice(0, found.osDisk.MediaLink.lastIndexOf('/')) +
'/' + options.name + '-' + crypto.randomBytes(8).toString('hex') + '.vhd';
}
logger.verbose("Disk MediaLink: " + diskInfo.MediaLink);
}
var maxLun = -1;
for (var k = 0; k < found.dataVirtualHardDisks.length; k++) {
var lun = found.dataVirtualHardDisks[k].Lun ? parseInt(found.dataVirtualHardDisks[k].Lun, 10) : 0;
maxLun = Math.max(maxLun, lun);
}
var nextLun = maxLun + 1;
diskInfo.Lun = nextLun;
if (options.size) {
diskInfo.LogicalDiskSizeInGB = options.size;
}
diskInfo.DiskLabel = found.svc + '-' + found.deploy.Name + '-' + options.name + '-' + nextLun;
logger.verbose("Disk Lun: " + nextLun);
logger.verbose("Disk Label: " + diskInfo.DiskLabel);
progress = cli.progress('Adding Data-Disk');
utils.doServiceManagementOperation(channel, 'addDataDisk', found.svc, found.deploy.Name, options.name, diskInfo, function(error, response) {
progress.end();
cmdCallback(error);
});
} else {
progress = cli.progress('Removing Data-Disk');
utils.doServiceManagementOperation(channel, 'removeDataDisk', found.svc, found.deploy.Name, options.name, options.lun, function(error, response) {
progress.end();
cmdCallback(error);
});
}
} else {
progress.end();
logger.warn('No VMs found');
cmdCallback();
}
}
});
}
function deleteRoleOrDeployment(channel, svcname, deployment, vmname, callback) {
// if more than 1 role in deployment, then delete role, else delete deployment
if (deployment.RoleList.length > 1) {
utils.doServiceManagementOperation(channel, 'deleteRole', svcname, deployment.Name, vmname, function(error, response) {
if (!error) {
callback();
} else {
callback(error);
}
});
} else {
utils.doServiceManagementOperation(channel, 'deleteDeployment', svcname, deployment.Name, function(error, response) {
if (!error) {
deleteAppIfEmptyAndImplicit(channel, svcname, callback);
} else {
callback(error);
}
});
}
}
// check if hosted service is implicit and has no deployments
function deleteAppIfEmptyAndImplicit(channel, dnsPrefix, callback) {
utils.doServiceManagementOperation(channel, 'getHostedService', dnsPrefix, function(error, response) {
if (!error) {
if (response.body.HostedServiceProperties.Description === 'Implicitly created hosted service') {
var options = {
dnsPrefix: dnsPrefix,
useprod: true,
usestage: true
};
enumDeployments(channel, options, function() {
if (options.rsps.length === 0) {
utils.doServiceManagementOperation(channel, 'deleteHostedService', options.dnsPrefix, function(error, response) {
if (!error) {
callback();
} else {
callback(error);
}
});
} else {
callback();
}
});
} else {
callback();
}
} else {
callback();
}
});
}
function createPrettyVMView(role, deployment) {
var roleInstance = getRoleInstance(role.RoleName, deployment);
var networkConfigSet = getNetworkConfigSet(role);
return {
DNSName: url.parse(deployment.Url).host,
VMName: role.RoleName,
IPAddress: roleInstance.IpAddress || '',
InstanceStatus: roleInstance.InstanceStatus,
InstanceSize: roleInstance.InstanceSize,
InstanceStateDetails: roleInstance.InstanceStateDetails,
OSVersion: role.OsVersion,
Image: role.OSVirtualHardDisk.SourceImageName,
DataDisks: role.DataVirtualHardDisks,
Network: {
Endpoints: (networkConfigSet ? networkConfigSet.InputEndpoints : {})
}
};
}
function getRoleInstance(roleName, deployment) {
for (var i = 0; i < deployment.RoleInstanceList.length; i++) {
if (deployment.RoleInstanceList[i].RoleName === roleName) {
return deployment.RoleInstanceList[i];
}
}
}
function getNetworkConfigSet(role) {
for (var i = 0; i < role.ConfigurationSets.length; i++) {
var configSet = role.ConfigurationSets[i];
if (configSet.ConfigurationSetType === 'NetworkConfiguration') {
return configSet;
}
}
}
};
| 37.085018 | 158 | 0.55817 |
83efdfc54b9a5ebe4173e7b6a5c5beab8f7cb3c6 | 1,703 | js | JavaScript | src/php/array/array_pop.js | acidburn0zzz/locutus | 9abd32367a1357918c0f48edd48438d861327b90 | [
"MIT"
] | 1 | 2017-12-27T21:17:55.000Z | 2017-12-27T21:17:55.000Z | src/php/array/array_pop.js | acidburn0zzz/locutus | 9abd32367a1357918c0f48edd48438d861327b90 | [
"MIT"
] | null | null | null | src/php/array/array_pop.js | acidburn0zzz/locutus | 9abd32367a1357918c0f48edd48438d861327b90 | [
"MIT"
] | null | null | null | module.exports = function array_pop (inputArr) { // eslint-disable-line camelcase
// discuss at: http://locutus.io/php/array_pop/
// original by: Kevin van Zonneveld (http://kvz.io)
// improved by: Kevin van Zonneveld (http://kvz.io)
// input by: Brett Zamir (http://brett-zamir.me)
// input by: Theriault (https://github.com/Theriault)
// bugfixed by: Kevin van Zonneveld (http://kvz.io)
// bugfixed by: Brett Zamir (http://brett-zamir.me)
// note 1: While IE (and other browsers) support iterating an object's
// note 1: own properties in order, if one attempts to add back properties
// note 1: in IE, they may end up in their former position due to their position
// note 1: being retained. So use of this function with "associative arrays"
// note 1: (objects) may lead to unexpected behavior in an IE environment if
// note 1: you add back properties with the same keys that you removed
// example 1: array_pop([0,1,2])
// returns 1: 2
// example 2: var $data = {firstName: 'Kevin', surName: 'van Zonneveld'}
// example 2: var $lastElem = array_pop($data)
// example 2: var $result = $data
// returns 2: {firstName: 'Kevin'}
var key = ''
var lastKey = ''
if (inputArr.hasOwnProperty('length')) {
// Indexed
if (!inputArr.length) {
// Done popping, are we?
return null
}
return inputArr.pop()
} else {
// Associative
for (key in inputArr) {
if (inputArr.hasOwnProperty(key)) {
lastKey = key
}
}
if (lastKey) {
var tmp = inputArr[lastKey]
delete (inputArr[lastKey])
return tmp
} else {
return null
}
}
}
| 35.479167 | 87 | 0.622431 |
83effc52675ddb172f275ba9276aa0ab29e931e5 | 1,955 | js | JavaScript | src/components/input.doc.js | siddharthkp/fabric | 09f7ba15c5abb4acdaebed743c1eed9f100f24cd | [
"MIT"
] | 1 | 2022-03-16T11:19:52.000Z | 2022-03-16T11:19:52.000Z | src/components/input.doc.js | siddharthkp/fabric | 09f7ba15c5abb4acdaebed743c1eed9f100f24cd | [
"MIT"
] | null | null | null | src/components/input.doc.js | siddharthkp/fabric | 09f7ba15c5abb4acdaebed743c1eed9f100f24cd | [
"MIT"
] | null | null | null | export default {
name: 'Input',
description:
'An input field is typically used in forms. It has a range of options and supports several text formats including numbers.',
propList: [
{
name: 'type',
format: 'string',
description: 'semantic HTML input type',
options: [
{ name: 'text', value: `type="text"`, default: true },
{ name: 'password', value: `type="password"` }
],
required: true
},
{
name: 'code',
format: 'bool',
description: 'code formatting for your input boxes',
options: [
{ name: 'default', value: '', default: true },
{ name: 'code', value: 'code' }
]
},
{
name: 'readOnly',
format: 'bool',
description: 'code formatting for your input boxes',
options: [
{ name: 'editable', value: '', default: true },
{ name: 'readOnly', value: 'readOnly' }
]
},
{
name: 'placeholder',
format: 'string',
description:
'this is what is visible to the users before they add any text',
options: [
{ name: 'none', value: '' },
{
name: 'string',
value: `placeholder="Enter your username"`,
default: true
}
]
},
{
name: 'error',
format: 'string',
description: 'pass your error down as a string',
options: [
{ name: 'none', value: '', default: true },
{
name: 'string',
value: `error="Please enter a valid username"`
}
]
}
],
template: `
// import Input from 'fabric/button'
<Input {props} />
`,
examples: [
`<Input type="password" defaultValue="password" />`,
`<Input type="text" code defaultValue="const age = 18"/>`,
`<Input type="text" readOnly defaultValue="can't touch this"/>`,
`<Input type="text" error="Email address is invalid" defaultValue="sid@auth0..com" />`
]
}
| 26.418919 | 128 | 0.531458 |
83f00d1cbebe91b202ad167d0011710d39fc7d6c | 355 | js | JavaScript | webpack.ssr.mix.js | krunalinfynno/inertia-ssr-test | 3a94dc54f6c32ecaa5aba1f713a592ae23c2d7f5 | [
"MIT"
] | null | null | null | webpack.ssr.mix.js | krunalinfynno/inertia-ssr-test | 3a94dc54f6c32ecaa5aba1f713a592ae23c2d7f5 | [
"MIT"
] | null | null | null | webpack.ssr.mix.js | krunalinfynno/inertia-ssr-test | 3a94dc54f6c32ecaa5aba1f713a592ae23c2d7f5 | [
"MIT"
] | null | null | null | const path = require("path");
const mix = require("laravel-mix");
const nodeExternals = require("webpack-node-externals");
mix.options({ manifest: false })
.js("resources/js/ssr.js", "public/js")
.react()
.alias({ "@": path.resolve("resources/js") })
.webpackConfig({
target: "node",
externals: [nodeExternals()],
});
| 27.307692 | 56 | 0.608451 |
83f04986708505266f196a78ae2cab5b90b23a3c | 833 | js | JavaScript | src/components/ChallengePane/ChallengeFilterSubnav/ButtonFilter.js | reichg/maproulette3 | 2e92ca809362e21a639c3bf5ba049eac6673b11b | [
"MIT"
] | 78 | 2018-05-14T02:58:14.000Z | 2022-02-01T05:01:53.000Z | src/components/ChallengePane/ChallengeFilterSubnav/ButtonFilter.js | reichg/maproulette3 | 2e92ca809362e21a639c3bf5ba049eac6673b11b | [
"MIT"
] | 478 | 2018-05-11T05:29:07.000Z | 2022-03-31T22:25:14.000Z | src/components/ChallengePane/ChallengeFilterSubnav/ButtonFilter.js | reichg/maproulette3 | 2e92ca809362e21a639c3bf5ba049eac6673b11b | [
"MIT"
] | 29 | 2018-07-08T22:36:52.000Z | 2022-03-18T21:17:11.000Z | import React from 'react'
import classNames from 'classnames'
import SvgSymbol from '../../SvgSymbol/SvgSymbol'
const ButtonFilter = props => (
<span className="mr-block mr-text-left mr-font-normal">
<span className="mr-block mr-text-left mr-mb-1 mr-text-xs mr-uppercase mr-text-white">
{props.type}
</span>
<span className="mr-flex mr-items-center mr-text-green-lighter mr-cursor-pointer" onClick={props.onClick}>
<span className={classNames(
"mr-w-24 mr-mr-2 mr-overflow-hidden mr-whitespace-no-wrap mr-overflow-ellipsis",
props.selectionClassName)}
>
{props.selection}
</span>
<SvgSymbol
sym="icon-cheveron-down"
viewBox="0 0 20 20"
className="mr-fill-current mr-w-5 mr-h-5"
/>
</span>
</span>
)
export default ButtonFilter
| 30.851852 | 110 | 0.651861 |
83f05a2dd639910442cdf32adc708a174597e8c4 | 492 | js | JavaScript | 8kyu/Palindrome Strings.js | GabrielReisfeld/Solving-CodeWars-Katas | 744514ac3674261827e6aee83d2c674d786806c9 | [
"MIT"
] | null | null | null | 8kyu/Palindrome Strings.js | GabrielReisfeld/Solving-CodeWars-Katas | 744514ac3674261827e6aee83d2c674d786806c9 | [
"MIT"
] | null | null | null | 8kyu/Palindrome Strings.js | GabrielReisfeld/Solving-CodeWars-Katas | 744514ac3674261827e6aee83d2c674d786806c9 | [
"MIT"
] | null | null | null | /*
Palindrome strings
A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. This includes capital letters, punctuation, and word dividers.
Implement a function that checks if something is a palindrome.
Examples
isPalindrome("anna") ==> true
isPalindrome("walter") ==> false
isPalindrome(12321) ==> true
isPalindrome(123456) ==> false
*/
function isPalindrome(line) {
return line.split("").reverse().join("") === line;
} | 28.941176 | 176 | 0.73374 |
83f0ccb67a808b7ea1467fe59f3d62eb1cc1245a | 1,973 | js | JavaScript | node_modules/webdriverio/build/lib/commands/debug.js | nkyo/DamvcNodeJSSharing | fc2f84d95d8b31c15a193958c2c9a90fa08a5478 | [
"Apache-2.0"
] | null | null | null | node_modules/webdriverio/build/lib/commands/debug.js | nkyo/DamvcNodeJSSharing | fc2f84d95d8b31c15a193958c2c9a90fa08a5478 | [
"Apache-2.0"
] | null | null | null | node_modules/webdriverio/build/lib/commands/debug.js | nkyo/DamvcNodeJSSharing | fc2f84d95d8b31c15a193958c2c9a90fa08a5478 | [
"Apache-2.0"
] | null | null | null | /**
*
* This command helps you to debug your integration tests. It stops the running queue and gives
* you time to jump into the browser and check the state of your application (e.g. using the
* dev tools). Once you are done go to the command line and press Enter.
*
* Make sure you increase the timeout property of your test framework your are using (e.g. Mocha
* or Jasmine) in order to prevent the continuation due to a test timeout.
*
* <example>
:debugAsync.js
client
.setValue('#input', 'FOO')
.debug() // jumping into the browser and change value of #input to 'BAR'
.getValue('#input').then(function(value) {
console.log(value); // outputs: "BAR"
});
:debugSync.js
it('should demonstrate the debug command', function () {
browser
.setValue('#input', 'FOO')
.debug() // jumping into the browser and change value of #input to 'BAR'
var value = browser.getValue('#input');
console.log(value); // outputs: "BAR"
});
* </example>
*
* @type utility
*
*/
'use strict';
var _Promise = require('babel-runtime/core-js/promise')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
value: true
});
var _readline = require('readline');
var _readline2 = _interopRequireDefault(_readline);
var debug = function debug() {
var _this = this;
var RL = _readline2['default'].createInterface({
input: process.stdin,
output: process.stdout
});
var logLevel = this.logger.logLevel;
this.logger.logLevel = 'verbose';
this.logger.debug();
return new _Promise(function (resolve) {
RL.question('', function () {
_this.logger.logLevel = logLevel;
RL.close();
resolve();
});
});
};
exports['default'] = debug;
module.exports = exports['default'];
| 27.788732 | 97 | 0.631019 |
83f0ec7aff476a1afe1b022eda122fbdfdd3b4fd | 2,479 | js | JavaScript | test/healthcare-plan.spec.js | jongunter/Healthcare-Cost-Calculator | 0aeff4d1b79c56544fbbbd1935e0219d02bcd155 | [
"MIT"
] | null | null | null | test/healthcare-plan.spec.js | jongunter/Healthcare-Cost-Calculator | 0aeff4d1b79c56544fbbbd1935e0219d02bcd155 | [
"MIT"
] | null | null | null | test/healthcare-plan.spec.js | jongunter/Healthcare-Cost-Calculator | 0aeff4d1b79c56544fbbbd1935e0219d02bcd155 | [
"MIT"
] | null | null | null |
let plan;
beforeEach(()=>{
plan = new HealthcarePlan(100, 100, 0.7, 200);
})
describe('under deductible', function() {
it('returns the premium x 12 when no expenses billed to plan', ()=> {
let yearlyCosts = plan.caculateOutOfPocketCostForYear(0);
expect(yearlyCosts).toBe(1200);
});
it('returns yearly premium + expenses', ()=> {
const YEARLY_PREMIUM = 1200;
const EXPENSES = 50;
let yearlyCosts = plan.caculateOutOfPocketCostForYear(EXPENSES);
expect(yearlyCosts).toBe(YEARLY_PREMIUM + EXPENSES);
})
});
describe('under OOPM but over deductible', ()=> {
it('returns the right number', ()=> {
const YEARLY_PREMIUM = 1200;
const EXPENSES = 150;
let yearlyCosts = plan.caculateOutOfPocketCostForYear(150);
expect(yearlyCosts).toBe(YEARLY_PREMIUM + 100 /* Deductible */ + 15 /* 30% co-pay */)
})
})
describe('over OOPM', ()=> {
it('returns the right number', ()=> {
const YEARLY_PREMIUM = 1200;
let yearlyCosts = plan.caculateOutOfPocketCostForYear(1000);
expect(yearlyCosts).toBe(200 + 1200);
});
it('returns the right number when a huge cost is recorded', ()=> {
let yearlyCosts = plan.caculateOutOfPocketCostForYear(1000000);
expect(yearlyCosts).toBe(200 + 1200);
})
})
describe('a premium plan with no co-pays', ()=> {
const YEARLY_PREMIUM = 1200;
const DEDUCTIBLE = 200;
const ONE_HUNDRED_PERCENT = 1;
beforeEach(()=> {
plan = new HealthcarePlan(100, DEDUCTIBLE, ONE_HUNDRED_PERCENT, 7200 )
});
it('has a total cost of yearly premium with $0 of expenses', ()=> {
const yearlyCosts = plan.caculateOutOfPocketCostForYear(0);
expect(yearlyCosts).toBe(1200);
});
it('has a total cost of yearly premium + $50 with $200 of expenses', ()=> {
const yearlyCosts = plan.caculateOutOfPocketCostForYear(50);
expect(yearlyCosts).toBe(YEARLY_PREMIUM + 50);
});
it('has a total cost of yearly premium + deductible with $200 of expenses', ()=> {
const yearlyCosts = plan.caculateOutOfPocketCostForYear(200);
expect(yearlyCosts).toBe(YEARLY_PREMIUM + DEDUCTIBLE);
});
it('has a total cost of yearly premium + deductible with $5000 of expenses', ()=> {
const yearlyCosts = plan.caculateOutOfPocketCostForYear(5000);
expect(yearlyCosts).toBe(YEARLY_PREMIUM + DEDUCTIBLE);
});
})
| 30.9875 | 94 | 0.637354 |
83f1069a9346e3e2543311b2ed792272a7c0203d | 218 | js | JavaScript | lib/HMAC-SHA1-Helper/Hmac-Helper.js | vverma508/Twitter-SignIn-Module | 3a8145a335ca85f0421332873b704bb9db6420c9 | [
"MIT"
] | null | null | null | lib/HMAC-SHA1-Helper/Hmac-Helper.js | vverma508/Twitter-SignIn-Module | 3a8145a335ca85f0421332873b704bb9db6420c9 | [
"MIT"
] | null | null | null | lib/HMAC-SHA1-Helper/Hmac-Helper.js | vverma508/Twitter-SignIn-Module | 3a8145a335ca85f0421332873b704bb9db6420c9 | [
"MIT"
] | null | null | null |
const crypto = require('crypto');
const hmac = crypto.createHmac('sha256', 'a secret');
exports.GetOAuthSignature= function(key,message){
return crypto.createHmac('sha1', key).update(message).digest('base64')
}
| 21.8 | 73 | 0.724771 |
83f1ae4c8c0005670c7173bce6156e1756057ea2 | 12,909 | js | JavaScript | src/constants/CountryConstants.js | abonander/edge-react-gui | 46b4ebe911b6b9c1e1e652fb6241ea03691e6abf | [
"BSD-3-Clause"
] | 1 | 2021-12-23T13:42:19.000Z | 2021-12-23T13:42:19.000Z | src/constants/CountryConstants.js | abonander/edge-react-gui | 46b4ebe911b6b9c1e1e652fb6241ea03691e6abf | [
"BSD-3-Clause"
] | null | null | null | src/constants/CountryConstants.js | abonander/edge-react-gui | 46b4ebe911b6b9c1e1e652fb6241ea03691e6abf | [
"BSD-3-Clause"
] | 1 | 2020-10-24T03:31:10.000Z | 2020-10-24T03:31:10.000Z | // @flow
import { type CountryData } from '../types/types.js'
export const FLAG_LOGO_URL = 'https://developer.airbitz.co/content/country-logos'
export const COUNTRY_CODES: Array<CountryData> = [
{ name: 'Afghanistan', 'alpha-2': 'AF' },
{ name: 'Åland Islands', filename: 'aland-islands', 'alpha-2': 'AX' },
{ name: 'Albania', 'alpha-2': 'AL' },
{ name: 'Algeria', 'alpha-2': 'DZ' },
{ name: 'American Samoa', 'alpha-2': 'AS' },
{ name: 'Andorra', 'alpha-2': 'AD' },
{ name: 'Angola', 'alpha-2': 'AO' },
{ name: 'Anguilla', 'alpha-2': 'AI' },
{ name: 'Antarctica', 'alpha-2': 'AQ' },
{ name: 'Antigua and Barbuda', filename: 'antigua-and-barbuda', 'alpha-2': 'AG' },
{ name: 'Argentina', 'alpha-2': 'AR' },
{ name: 'Armenia', 'alpha-2': 'AM' },
{ name: 'Aruba', 'alpha-2': 'AW' },
{ name: 'Australia', 'alpha-2': 'AU' },
{ name: 'Austria', 'alpha-2': 'AT' },
{ name: 'Azerbaijan', 'alpha-2': 'AZ' },
{ name: 'Bahamas', 'alpha-2': 'BS' },
{ name: 'Bahrain', 'alpha-2': 'BH' },
{ name: 'Bangladesh', 'alpha-2': 'BD' },
{ name: 'Barbados', 'alpha-2': 'BB' },
{ name: 'Belarus', 'alpha-2': 'BY' },
{ name: 'Belgium', 'alpha-2': 'BE' },
{ name: 'Belize', 'alpha-2': 'BZ' },
{ name: 'Benin', 'alpha-2': 'BJ' },
{ name: 'Bermuda', 'alpha-2': 'BM' },
{ name: 'Bhutan', 'alpha-2': 'BT' },
{ name: 'Bolivia (Plurinational State of)', filename: 'bolivia', 'alpha-2': 'BO' },
{ name: 'Bonaire, Sint Eustatius and Saba', filename: 'bonaire', 'alpha-2': 'BQ' },
{ name: 'Bosnia and Herzegovina', filename: 'bosnia-and-herzegovina', 'alpha-2': 'BA' },
{ name: 'Botswana', 'alpha-2': 'BW' },
{ name: 'Bouvet Island', 'alpha-2': 'BV' },
{ name: 'Brazil', 'alpha-2': 'BR' },
{ name: 'British Indian Ocean Territory', filename: 'british-indian-ocean-territory', 'alpha-2': 'IO' },
{ name: 'Brunei Darussalam', filename: 'brunei', 'alpha-2': 'BN' },
{ name: 'Bulgaria', 'alpha-2': 'BG' },
{ name: 'Burkina Faso', 'alpha-2': 'BF' },
{ name: 'Burundi', 'alpha-2': 'BI' },
{ name: 'Cabo Verde', filename: 'cape-verde', 'alpha-2': 'CV' },
{ name: 'Cambodia', 'alpha-2': 'KH' },
{ name: 'Cameroon', 'alpha-2': 'CM' },
{ name: 'Canada', 'alpha-2': 'CA' },
{ name: 'Cayman Islands', 'alpha-2': 'KY' },
{ name: 'Central African Republic', filename: 'central-african-republic', 'alpha-2': 'CF' },
{ name: 'Chad', 'alpha-2': 'TD' },
{ name: 'Chile', 'alpha-2': 'CL' },
{ name: 'China', 'alpha-2': 'CN' },
{ name: 'Christmas Island', 'alpha-2': 'CX' },
{ name: 'Cocos (Keeling) Islands', filename: 'cocos-island', 'alpha-2': 'CC' },
{ name: 'Colombia', 'alpha-2': 'CO' },
{ name: 'Comoros', 'alpha-2': 'KM' },
{ name: 'Congo', 'alpha-2': 'CG' },
{ name: 'Congo, Democratic Republic of the', filanem: 'democratic-republic-of-congo', 'alpha-2': 'CD' },
{ name: 'Cook Islands', 'alpha-2': 'CK' },
{ name: 'Costa Rica', 'alpha-2': 'CR' },
{ name: "Côte d'Ivoire", filename: 'ivory-coast', 'alpha-2': 'CI' },
{ name: 'Croatia', 'alpha-2': 'HR' },
{ name: 'Cuba', 'alpha-2': 'CU' },
{ name: 'Curaçao', filename: 'curacao', 'alpha-2': 'CW' },
{ name: 'Cyprus', 'alpha-2': 'CY' },
{ name: 'Czechia', filename: 'czech-republic', 'alpha-2': 'CZ' },
{ name: 'Denmark', 'alpha-2': 'DK' },
{ name: 'Djibouti', 'alpha-2': 'DJ' },
{ name: 'Dominica', 'alpha-2': 'DM' },
{ name: 'Dominican Republic', 'alpha-2': 'DO' },
{ name: 'Ecuador', 'alpha-2': 'EC' },
{ name: 'Egypt', 'alpha-2': 'EG' },
{ name: 'El Salvador', filename: 'salvador', 'alpha-2': 'SV' },
{ name: 'Equatorial Guinea', 'alpha-2': 'GQ' },
{ name: 'Eritrea', 'alpha-2': 'ER' },
{ name: 'Estonia', 'alpha-2': 'EE' },
{ name: 'Eswatini', 'alpha-2': 'SZ' },
{ name: 'Ethiopia', 'alpha-2': 'ET' },
{ name: 'Falkland Islands (Malvinas)', filename: 'falkland-islands', 'alpha-2': 'FK' },
{ name: 'Faroe Islands', 'alpha-2': 'FO' },
{ name: 'Fiji', 'alpha-2': 'FJ' },
{ name: 'Finland', 'alpha-2': 'FI' },
{ name: 'France', 'alpha-2': 'FR' },
{ name: 'French Guiana', filename: 'guyana', 'alpha-2': 'GF' },
{ name: 'French Polynesia', 'alpha-2': 'PF' },
{ name: 'French Southern Territories', 'alpha-2': 'TF' },
{ name: 'Gabon', 'alpha-2': 'GA' },
{ name: 'Gambia', 'alpha-2': 'GM' },
{ name: 'Georgia', 'alpha-2': 'GE' },
{ name: 'Germany', 'alpha-2': 'DE' },
{ name: 'Ghana', 'alpha-2': 'GH' },
{ name: 'Gibraltar', 'alpha-2': 'GI' },
{ name: 'Greece', 'alpha-2': 'GR' },
{ name: 'Greenland', 'alpha-2': 'GL' },
{ name: 'Grenada', 'alpha-2': 'GD' },
{ name: 'Guadeloupe', 'alpha-2': 'GP' },
{ name: 'Guam', 'alpha-2': 'GU' },
{ name: 'Guatemala', 'alpha-2': 'GT' },
{ name: 'Guernsey', 'alpha-2': 'GG' },
{ name: 'Guinea', 'alpha-2': 'GN' },
{ name: 'Guinea-Bissau', 'alpha-2': 'GW' },
{ name: 'Guyana', 'alpha-2': 'GY' },
{ name: 'Haiti', 'alpha-2': 'HT' },
{ name: 'Heard Island and McDonald Islands', 'alpha-2': 'HM' },
{ name: 'Holy See', filename: 'vatican-city', 'alpha-2': 'VA' },
{ name: 'Honduras', 'alpha-2': 'HN' },
{ name: 'Hong Kong', 'alpha-2': 'HK' },
{ name: 'Hungary', 'alpha-2': 'HU' },
{ name: 'Iceland', 'alpha-2': 'IS' },
{ name: 'India', 'alpha-2': 'IN' },
{ name: 'Indonesia', 'alpha-2': 'ID' },
{ name: 'Iran (Islamic Republic of)', filename: 'iran', 'alpha-2': 'IR' },
{ name: 'Iraq', 'alpha-2': 'IQ' },
{ name: 'Ireland', 'alpha-2': 'IE' },
{ name: 'Isle of Man', filename: 'isle-of-man', 'alpha-2': 'IM' },
{ name: 'Israel', 'alpha-2': 'IL' },
{ name: 'Italy', 'alpha-2': 'IT' },
{ name: 'Jamaica', 'alpha-2': 'JM' },
{ name: 'Japan', 'alpha-2': 'JP' },
{ name: 'Jersey', 'alpha-2': 'JE' },
{ name: 'Jordan', 'alpha-2': 'JO' },
{ name: 'Kazakhstan', 'alpha-2': 'KZ' },
{ name: 'Kenya', 'alpha-2': 'KE' },
{ name: 'Kiribati', 'alpha-2': 'KI' },
{ name: "Korea (Democratic People's Republic of)", filename: 'north-korea', 'alpha-2': 'KP' },
{ name: 'Korea, Republic of', filename: 'south-korea', 'alpha-2': 'KR' },
{ name: 'Kuwait', 'alpha-2': 'KW' },
{ name: 'Kyrgyzstan', 'alpha-2': 'KG' },
{ name: "Lao People's Democratic Republic", filename: 'laos', 'alpha-2': 'LA' },
{ name: 'Latvia', 'alpha-2': 'LV' },
{ name: 'Lebanon', 'alpha-2': 'LB' },
{ name: 'Lesotho', 'alpha-2': 'LS' },
{ name: 'Liberia', 'alpha-2': 'LR' },
{ name: 'Libya', 'alpha-2': 'LY' },
{ name: 'Liechtenstein', 'alpha-2': 'LI' },
{ name: 'Lithuania', 'alpha-2': 'LT' },
{ name: 'Luxembourg', 'alpha-2': 'LU' },
{ name: 'Macao', 'alpha-2': 'MO' },
{ name: 'Madagascar', 'alpha-2': 'MG' },
{ name: 'Malawi', 'alpha-2': 'MW' },
{ name: 'Malaysia', 'alpha-2': 'MY' },
{ name: 'Maldives', 'alpha-2': 'MV' },
{ name: 'Mali', 'alpha-2': 'ML' },
{ name: 'Malta', 'alpha-2': 'MT' },
{ name: 'Marshall Islands', filename: 'marshall-island', 'alpha-2': 'MH' },
{ name: 'Martinique', 'alpha-2': 'MQ' },
{ name: 'Mauritania', 'alpha-2': 'MR' },
{ name: 'Mauritius', 'alpha-2': 'MU' },
{ name: 'Mayotte', 'alpha-2': 'YT' },
{ name: 'Mexico', 'alpha-2': 'MX' },
{ name: 'Micronesia (Federated States of)', filename: 'micronesia', 'alpha-2': 'FM' },
{ name: 'Moldova, Republic of', filename: 'moldova', 'alpha-2': 'MD' },
{ name: 'Monaco', 'alpha-2': 'MC' },
{ name: 'Mongolia', 'alpha-2': 'MN' },
{ name: 'Montenegro', 'alpha-2': 'ME' },
{ name: 'Montserrat', 'alpha-2': 'MS' },
{ name: 'Morocco', 'alpha-2': 'MA' },
{ name: 'Mozambique', 'alpha-2': 'MZ' },
{ name: 'Myanmar', 'alpha-2': 'MM' },
{ name: 'Namibia', 'alpha-2': 'NA' },
{ name: 'Nauru', 'alpha-2': 'NR' },
{ name: 'Nepal', 'alpha-2': 'NP' },
{ name: 'Netherlands', 'alpha-2': 'NL' },
{ name: 'New Caledonia', 'alpha-2': 'NC' },
{ name: 'New Zealand', 'alpha-2': 'NZ' },
{ name: 'Nicaragua', 'alpha-2': 'NI' },
{ name: 'Niger', 'alpha-2': 'NE' },
{ name: 'Nigeria', 'alpha-2': 'NG' },
{ name: 'Niue', 'alpha-2': 'NU' },
{ name: 'Norfolk Island', 'alpha-2': 'NF' },
{ name: 'North Macedonia', 'alpha-2': 'MK' },
{ name: 'Northern Mariana Islands', filename: 'northern-marianas-islands', 'alpha-2': 'MP' },
{ name: 'Norway', 'alpha-2': 'NO' },
{ name: 'Oman', 'alpha-2': 'OM' },
{ name: 'Pakistan', 'alpha-2': 'PK' },
{ name: 'Palau', 'alpha-2': 'PW' },
{ name: 'Palestine, State of', filename: 'palestine', 'alpha-2': 'PS' },
{ name: 'Panama', 'alpha-2': 'PA' },
{ name: 'Papua New Guinea', filename: 'papua-new-guinea', 'alpha-2': 'PG' },
{ name: 'Paraguay', 'alpha-2': 'PY' },
{ name: 'Peru', 'alpha-2': 'PE' },
{ name: 'Philippines', 'alpha-2': 'PH' },
{ name: 'Pitcairn', filename: 'pitcairn-islands', 'alpha-2': 'PN' },
{ name: 'Poland', filename: 'republic-of-poland', 'alpha-2': 'PL' },
{ name: 'Portugal', 'alpha-2': 'PT' },
{ name: 'Puerto Rico', 'alpha-2': 'PR' },
{ name: 'Qatar', 'alpha-2': 'QA' },
{ name: 'Réunion', 'alpha-2': 'RE' },
{ name: 'Romania', 'alpha-2': 'RO' },
{ name: 'Russian Federation', filename: 'russia', 'alpha-2': 'RU' },
{ name: 'Rwanda', 'alpha-2': 'RW' },
{ name: 'Saint Barthélemy', 'alpha-2': 'BL' },
{ name: 'Saint Helena, Ascension and Tristan da Cunha', 'alpha-2': 'SH' },
{ name: 'Saint Kitts and Nevis', filename: 'saint-kitts-and-nevis', 'alpha-2': 'KN' },
{ name: 'Saint Lucia', filename: 'st-lucia', 'alpha-2': 'LC' },
{ name: 'Saint Martin (French part)', 'alpha-2': 'MF' },
{ name: 'Saint Pierre and Miquelon', 'alpha-2': 'PM' },
{ name: 'Saint Vincent and the Grenadines', filename: 'st-vincent-and-the-grenadines', 'alpha-2': 'VC' },
{ name: 'Samoa', 'alpha-2': 'WS' },
{ name: 'San Marino', 'alpha-2': 'SM' },
{ name: 'Sao Tome and Principe', 'alpha-2': 'ST' },
{ name: 'Saudi Arabia', 'alpha-2': 'SA' },
{ name: 'Senegal', 'alpha-2': 'SN' },
{ name: 'Serbia', 'alpha-2': 'RS' },
{ name: 'Seychelles', 'alpha-2': 'SC' },
{ name: 'Sierra Leone', 'alpha-2': 'SL' },
{ name: 'Singapore', 'alpha-2': 'SG' },
{ name: 'Sint Maarten (Dutch part)', 'alpha-2': 'SX' },
{ name: 'Slovakia', 'alpha-2': 'SK' },
{ name: 'Slovenia', 'alpha-2': 'SI' },
{ name: 'Solomon Islands', 'alpha-2': 'SB' },
{ name: 'Somalia', 'alpha-2': 'SO' },
{ name: 'South Africa', 'alpha-2': 'ZA' },
{ name: 'South Georgia and the South Sandwich Islands', 'alpha-2': 'GS' },
{ name: 'South Sudan', 'alpha-2': 'SS' },
{ name: 'Spain', 'alpha-2': 'ES' },
{ name: 'Sri Lanka', 'alpha-2': 'LK' },
{ name: 'Sudan', 'alpha-2': 'SD' },
{ name: 'Suriname', 'alpha-2': 'SR' },
{ name: 'Svalbard and Jan Mayen', 'alpha-2': 'SJ' },
{ name: 'Sweden', 'alpha-2': 'SE' },
{ name: 'Switzerland', 'alpha-2': 'CH' },
{ name: 'Syrian Arab Republic', filename: 'syria', 'alpha-2': 'SY' },
{ name: 'Taiwan, Province of China', filename: 'taiwan', 'alpha-2': 'TW' },
{ name: 'Tajikistan', 'alpha-2': 'TJ' },
{ name: 'Tanzania, United Republic of', filename: 'tanzania', 'alpha-2': 'TZ' },
{ name: 'Thailand', 'alpha-2': 'TH' },
{ name: 'Timor-Leste', filename: 'east-timor', 'alpha-2': 'TL' },
{ name: 'Togo', 'alpha-2': 'TG' },
{ name: 'Tokelau', 'alpha-2': 'TK' },
{ name: 'Tonga', 'alpha-2': 'TO' },
{ name: 'Trinidad and Tobago', filename: 'trinidad-and-tobago', 'alpha-2': 'TT' },
{ name: 'Tunisia', 'alpha-2': 'TN' },
{ name: 'Turkey', 'alpha-2': 'TR' },
{ name: 'Turkmenistan', 'alpha-2': 'TM' },
{ name: 'Turks and Caicos Islands', filename: 'turks-and-caicos', 'alpha-2': 'TC' },
{ name: 'Tuvalu', 'alpha-2': 'TV' },
{ name: 'Uganda', 'alpha-2': 'UG' },
{ name: 'Ukraine', 'alpha-2': 'UA' },
{ name: 'United Arab Emirates', filename: 'united-arab-emirates', 'alpha-2': 'AE' },
{ name: 'United Kingdom of Great Britain and Northern Ireland', filename: 'united-kingdom', 'alpha-2': 'GB' },
{ name: 'United States of America', filename: 'united-states-of-america', 'alpha-2': 'US' },
{ name: 'United States Minor Outlying Islands', 'alpha-2': 'UM' },
{ name: 'Uruguay', 'alpha-2': 'UY' },
{ name: 'Uzbekistan', filename: 'uzbekistn', 'alpha-2': 'UZ' },
{ name: 'Vanuatu', 'alpha-2': 'VU' },
{ name: 'Venezuela (Bolivarian Republic of)', filename: 'venezuela', 'alpha-2': 'VE' },
{ name: 'Viet Nam', filename: 'vietnam', 'alpha-2': 'VN' },
{ name: 'Virgin Islands (British)', filename: 'british-virgin-islands', 'alpha-2': 'VG' },
{ name: 'Virgin Islands (U.S.)', filename: 'virgin-islands', 'alpha-2': 'VI' },
{ name: 'Wallis and Futuna', 'alpha-2': 'WF' },
{ name: 'Western Sahara', 'alpha-2': 'EH' },
{ name: 'Yemen', 'alpha-2': 'YE' },
{ name: 'Zambia', 'alpha-2': 'ZM' },
{ name: 'Zimbabwe', 'alpha-2': 'ZW' }
]
// utility for recreating list from https://raw.githubusercontent.com/lukes/ISO-3166-Countries-with-Regional-Codes/master/all/all.json
/* const modifiedCountryCodes = COUNTRY_CODES.map(country => {
return {
name: country.name,
'alpha-2': country['alpha-2']
}
})
console.log(JSON.stringify(modifiedCountryCodes)) */
| 48.16791 | 134 | 0.541638 |
83f32ee95d2d7f2181b3c1caf76dee4f5eb3d1f5 | 5,193 | js | JavaScript | resources/assets/js/good.js | Zaaraa96/reyhoon | 27539419550eab1ea234841d6fca2bbf2998bc7e | [
"MIT"
] | null | null | null | resources/assets/js/good.js | Zaaraa96/reyhoon | 27539419550eab1ea234841d6fca2bbf2998bc7e | [
"MIT"
] | 3 | 2021-05-10T02:07:45.000Z | 2022-02-26T15:25:36.000Z | resources/assets/js/good.js | Zaaraa96/reyhoon | 27539419550eab1ea234841d6fca2bbf2998bc7e | [
"MIT"
] | null | null | null |
Vue.component('good', {
template: `
<div class="good">
<div class="container">
<div class="row">
<div class="col-md-6">
<h5>رستورانهای خوب تهران در ریحون</h5>
<div class="row classify">
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/vitrin_6482_1547633681.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">ویترین</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/shandiz-jordan_1485_1520945254.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">شاندیز جردن</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/rad-catering_1464_1520945288.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">تهیه غذای راد</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/amolay_3424_1520945334.png@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">آمولای</figcaption>
</figure></a>
</div>
</div>
<div class="row classify">
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/narijeh_4007_1520945325.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">جنارو</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/langine_4867_1538558144.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">لانجین</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/jo_140_1520945298.jpg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">جو گریل فود</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/kubaba_5549_1547880029.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">رستوران کوبابا</figcaption>
</figure></a>
</div>
</div>
<div class="row classify">
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/tomo_5059_1530707026.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">تومو</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/narijeh_4007_1520945325.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">کترینگ و تشریفات ناریجه</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/amirchocolate_6246_1545546796.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">امیر شکلات</figcaption>
</figure></a>
</div>
<div class="col-md-3"> <a href="#">
<figure class="figure"><img src="assets/img/shirinpolo_450_1520945307.jpeg@!branch_logo_web_default" class="img-fluid figure-img">
<figcaption class="figure-caption">شیرین پلو</figcaption>
</figure></a>
</div>
</div>
</div>
<div class="col-md-6"></div>
</div>
</div>
</div>
`
})
new Vue({
el:'#good'
}) | 53.536082 | 163 | 0.457732 |
83f3972e2a7ee0fe15133b093398f2d03b361d07 | 1,886 | js | JavaScript | src/client/components/unauthenticated/presentational/ForgotPasswordForm.js | sanishtj/Health-Reacord-Stack-Front-End | 4c846d038027053383e263efb564a55c52971436 | [
"MIT"
] | null | null | null | src/client/components/unauthenticated/presentational/ForgotPasswordForm.js | sanishtj/Health-Reacord-Stack-Front-End | 4c846d038027053383e263efb564a55c52971436 | [
"MIT"
] | null | null | null | src/client/components/unauthenticated/presentational/ForgotPasswordForm.js | sanishtj/Health-Reacord-Stack-Front-End | 4c846d038027053383e263efb564a55c52971436 | [
"MIT"
] | null | null | null | import React from 'react';
import Textbox from './textbox';
export default function ForgotPasswordForm(props) {
return (
<div>
<div className="d-flex justify-content-center bd-highlight">
<h3 className="p-2 m-0">Forgot Password</h3>
</div>
<div className="d-flex justify-content-center bd-highlight">
<div className="p-2 m-0">
<form>
<fieldset>
<div className="form-group">
<div className="row">
<div className="col-sm-12 col-md-12 mb-2">
<Textbox
isPropertyValid={props.isEmailValid}
name="email"
type="text"
placeholder="Email Address"
value={props.email}
onChange={props.handleUserInput}
/>
</div>
</div>
</div>
</fieldset>
{!props.isFormValid.valid
&& props.isFormValid.errors
&& props.isFormValid.errors.length > 0
? props.isFormValid.errors.map(err => (
<div
key={err}
className="form-control-feedback mb-2 d-flex justify-content-center bd-highlight"
>
{err}
</div>
))
: null}
<button
type="button"
className="btn btn-custom-3"
disabled={!props.isFormValid.valid}
onClick={props.onForgotPassword}
>
Reset Password
</button>
</form>
</div>
</div>
{/* <div className="d-flex justify-content-center bd-highlight">
<div className="p-2 m-0">
</div>
</div> */}
</div>
);
}
| 30.918033 | 99 | 0.446448 |
83f3ef3937189cd38d1394bd75e2bf379477083a | 10,736 | js | JavaScript | modules/deviceapiv2/server/controllers/main.server.controller.js | AtrixTV/backoffice-administration | 19fdf5f173b1bef5d1f5a36aa02e12c0d13bc766 | [
"MIT"
] | null | null | null | modules/deviceapiv2/server/controllers/main.server.controller.js | AtrixTV/backoffice-administration | 19fdf5f173b1bef5d1f5a36aa02e12c0d13bc766 | [
"MIT"
] | null | null | null | modules/deviceapiv2/server/controllers/main.server.controller.js | AtrixTV/backoffice-administration | 19fdf5f173b1bef5d1f5a36aa02e12c0d13bc766 | [
"MIT"
] | null | null | null | 'use strict'
var path = require('path'),
db = require(path.resolve('./config/lib/sequelize')),
response = require(path.resolve("./config/responses.js")),
models = db.models,
fs = require('fs'),
qr = require('qr-image'),
download = require('download-file'),
winston = require(path.resolve('./config/lib/winston'));
var authentication = require(path.resolve('./modules/deviceapiv2/server/controllers/authentication.server.controller.js'));
var push_functions = require(path.resolve('./custom_functions/push_messages'));
/**
* @api {post} /apiv2/main/device_menu /apiv2/main/device_menu
* @apiName DeviceMenu
* @apiGroup DeviceAPI
*
* @apiUse body_auth
* @apiDescription Returns list of menu items available for this user and device
*
* Use this token for testing purposes
*
* auth=gPIfKkbN63B8ZkBWj+AjRNTfyLAsjpRdRU7JbdUUeBlk5Dw8DIJOoD+DGTDXBXaFji60z3ao66Qi6iDpGxAz0uyvIj/Lwjxw2Aq7J0w4C9hgXM9pSHD4UF7cQoKgJI/D
*/
exports.device_menu = function(req, res) {
var thisresponse = new response.OK();
var get_guest_menus = (req.auth_obj.username === 'guest' && req.app.locals.backendsettings[req.thisuser.company_id].allow_guest_login === true) ? true: false;
models.device_menu.findAll({
attributes: ['id', 'title', 'url', 'icon_url', [db.sequelize.fn('concat', req.app.locals.backendsettings[req.thisuser.company_id].assets_url, db.sequelize.col('icon_url')), 'icon'],
'menu_code', 'position', [db.sequelize.fn('concat', "", db.sequelize.col('menu_code')), 'menucode']],
where: {appid: {$like: '%'+req.auth_obj.appid+'%' }, isavailable:true, is_guest_menu: get_guest_menus, company_id: req.thisuser.company_id},
order: [[ 'position', 'ASC' ]]
}).then(function (result) {
for(var i=0; i<result.length; i++){
result[i].icon_url = req.app.locals.backendsettings[req.thisuser.company_id].assets_url+result[i].icon_url;
}
response.send_res(req, res, result, 200, 1, 'OK_DESCRIPTION', 'OK_DATA', 'private,max-age=86400');
}).catch(function(error) {
winston.error("Getting a list of menus failed with error: ", error);
response.send_res(req, res, [], 706, -1, 'DATABASE_ERROR_DESCRIPTION', 'DATABASE_ERROR_DATA', 'no-store');
});
};
/** DEVICE MENU GET
* @api {get} /apiv2/main/device_menu Get Device Main Menu
* @apiVersion 0.2.0
* @apiName GetDeviceMenu
* @apiGroup Main Menu
*
* @apiHeader {String} auth Users unique access-key.
* @apiDescription Get Main Menu object for the running application.
*/
exports.device_menu_get = function(req, res) {
var get_guest_menus = (req.auth_obj.username === 'guest' && req.app.locals.backendsettings[req.thisuser.company_id].allow_guest_login === true) ? true: false;
models.device_menu.findAll({
attributes: ['id', 'title', 'url', 'icon_url', [db.sequelize.fn('concat', req.app.locals.backendsettings[req.thisuser.company_id].assets_url, db.sequelize.col('icon_url')), 'icon'],
'menu_code', 'position', ['menu_code','menucode']],
where: {appid: {$like: '%'+req.auth_obj.appid+'%' }, isavailable:true, is_guest_menu: get_guest_menus, company_id: req.thisuser.company_id},
order: [[ 'position', 'ASC' ]]
}).then(function (result) {
for(var i=0; i<result.length; i++){
result[i].icon_url = req.app.locals.backendsettings[req.thisuser.company_id].assets_url+result[i].icon_url;
}
response.send_res_get(req, res, result, 200, 1, 'OK_DESCRIPTION', 'OK_DATA', 'private,max-age=86400');
}).catch(function(error) {
winston.error("Getting a list of menus failed with error: ", error);
response.send_res_get(req, res, [], 706, -1, 'DATABASE_ERROR_DESCRIPTION', 'DATABASE_ERROR_DATA', 'no-store');
});
};
/** GET DEVICE MENU WITH TWO LEVELS - LEVEL ONE
* @api {get} /apiv2/main/device_menu_levelone Get DeviceMenu level One
* @apiVersion 0.2.0
* @apiName GetDeviceMenuLevelOne
* @apiGroup Main Menu
*
* @apiHeader {String} auth Users unique access-key.
* @apiDescription Get Main Menu object for the running application.
*/
exports.get_devicemenu_levelone = function(req, res) {
var get_guest_menus = (req.auth_obj.username === 'guest' && req.app.locals.backendsettings[req.thisuser.company_id].allow_guest_login === true) ? true: false;
models.device_menu.findAll({
attributes: ['id', 'title', 'url',
[db.sequelize.fn('concat', req.app.locals.backendsettings[req.thisuser.company_id].assets_url, db.sequelize.col('icon_url')), 'icon'],
[db.sequelize.fn('concat', req.app.locals.backendsettings[req.thisuser.company_id].assets_url, db.sequelize.col('icon_url')), 'icon_url'],
'menu_code', 'position','parent_id','menu_description', ['menu_code','menucode']],
where: {appid: {$like: '%'+req.auth_obj.appid+'%' }, isavailable:true, is_guest_menu: get_guest_menus, company_id: req.thisuser.company_id},
order: [[ 'position', 'ASC' ]]
}).then(function (result) {
for(var i=0; i<result.length; i++){
result[i].dataValues.menucode = 0;
result[i].dataValues.menu_code = 0;
result[i].dataValues.parent_id = 0;
}
response.send_res_get(req, res, result, 200, 1, 'OK_DESCRIPTION', 'OK_DATA', 'private,max-age=86400');
}).catch(function(error) {
winston.error("Getting a list of level one menus failed with error: ", error);
response.send_res_get(req, res, [], 706, -1, 'DATABASE_ERROR_DESCRIPTION', 'DATABASE_ERROR_DATA', 'no-store');
});
};
/** GET DEVICE MENU WITH TWO LEVELS - LEVEL TWO
* @api {get} /apiv2/main/device_menu_leveltwo Get DeviceMenu level Two
* @apiVersion 0.2.0
* @apiName GetDeviceMenuLevelTwo
* @apiGroup Main Menu
*
* @apiHeader {String} auth Users unique access-key.
* @apiDescription Get Main Menu object for the running application.
*/
exports.get_devicemenu_leveltwo = function(req, res) {
models.device_menu_level2.findAll({
attributes: ['id', 'title', 'url',
[db.sequelize.fn('concat', req.app.locals.backendsettings[req.thisuser.company_id].assets_url, db.sequelize.col('icon_url')), 'icon'],
[db.sequelize.fn('concat', req.app.locals.backendsettings[req.thisuser.company_id].assets_url, db.sequelize.col('icon_url')), 'icon_url'],
'menu_code', 'position','parent_id','menu_description', ['menu_code','menucode']],
where: {appid: {$like: '%'+req.auth_obj.appid+'%' }, isavailable:true, company_id: req.thisuser.company_id},
order: [[ 'position', 'ASC' ]]
}).then(function (result) {
response.send_res_get(req, res, result, 200, 1, 'OK_DESCRIPTION', 'OK_DATA', 'private,max-age=86400');
}).catch(function(error) {
winston.error("Getting a list of second level menus failed with error: ", error);
response.send_res_get(req, res, [], 706, -1, 'DATABASE_ERROR_DESCRIPTION', 'DATABASE_ERROR_DATA', 'no-store');
});
};
exports.get_weather_widget = function(req, res) {
if (fs.existsSync('public/weather_widget/index.html')) {
var url= req.app.locals.backendsettings[1].assets_url;
var file = '/weather_widget/index.html';
var response_Array = {
"widget_url": url+file
};
return res.send(response_Array);
}else {
return res.status(404).send({
message: 'Image Not Found'
});
}
};
exports.get_welcomeMessage = function(req, res) {
models.customer_data.findOne({
attributes:['firstname','lastname'],
where: {id: req.thisuser.customer_id }
}).then(function(customer_data_result) {
models.html_content.findOne({
where: {name: 'welcomeMessage' }
}).then(function(html_content_result) {
var html;
if(!html_content_result){
html = 'Welcome';
}else {
var content_from_ui = html_content_result.content;
html = content_from_ui.replace(new RegExp('{{fullname}}', 'gi'),customer_data_result.firstname+' '+customer_data_result.lastname);
}
var response_Array = [{
"welcomeMessage": html
}];
// response.set('Content-Type', 'text/html');
response.send_res_get(req, res, response_Array, 200, 1, 'OK_DESCRIPTION', 'OK_DATA', 'private,max-age=86400');
return null;
}).catch(function(error){
winston.error("Html Content failed with error", error);
response.send_res(req, res, [], 706, -1, 'DATABASE_ERROR_DESCRIPTION', 'DATABASE_ERROR_DATA', 'no-store');
});
return false;
}).catch(function(error){
winston.error("Quering for the client's personal info failed with error: ", error);
response.send_res(req, res, [], 706, -1, 'DATABASE_ERROR_DESCRIPTION', 'DATABASE_ERROR_DATA', 'no-store');
});
};
exports.get_qrCode = function(req, res) {
if (!req.body.googleid) {
return res.send({error: {code: 400, message: 'googleid parameter null'}});
} else {
if (!fs.existsSync('./public/files/qrcode/')){
fs.mkdirSync('./public/files/qrcode/');
}
var url = req.app.locals.backendsettings[1].assets_url;
var d = new Date();
var qr_png = qr.image(url+'/apiv2/htmlContent/remotedeviceloginform?googleid='+req.body.googleid, { type: 'png', margin: 1, size: 5 });
qr_png.pipe(fs.createWriteStream('./public/files/qrcode/'+d.getTime()+'qrcode.png'));
var qrcode_image_fullpath = qr_png._readableState.pipes.path.slice(8);
var qrcode_url = url + qrcode_image_fullpath;
response.send_res_get(req, res, qrcode_url, 200, 1, 'OK_DESCRIPTION', 'OK_DATA', 'private,max-age=86400');
}
};
exports.getloginform = function(req, res) {
res.set('Content-Type', 'text/html');
res.render(path.resolve('modules/deviceapiv2/server/templates/qrcode'), {
googleid: req.query.googleid
});
return null;
};
exports.qr_login = function(req, res) {
var login_params = {
"username" : req.body.username,
"password" : req.body.password
};
var push_obj = new push_functions.ACTION_PUSH('Action', 'Performing an action', 5, 'login_user', login_params);
push_functions.send_notification(req.body.googleid, req.app.locals.backendsettings[1].firebase_key, req.body.username, push_obj, 60, false, false, function(result){});
res.status(200).send({message: 'Message sent'});
};
| 44.363636 | 189 | 0.645958 |
83f4afbe335c3f39864c9ba1511721f9ed105017 | 2,574 | js | JavaScript | dist/main.js | alexawesomecode/project-restaurant-is | aa4d40e9206a9add771da80f6bb4e116434b15b9 | [
"MIT"
] | null | null | null | dist/main.js | alexawesomecode/project-restaurant-is | aa4d40e9206a9add771da80f6bb4e116434b15b9 | [
"MIT"
] | 2 | 2021-03-11T00:10:08.000Z | 2021-05-11T19:05:01.000Z | dist/main.js | alexawesomecode/project-restaurant-is | aa4d40e9206a9add771da80f6bb4e116434b15b9 | [
"MIT"
] | null | null | null | !function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var a=(e,t,n)=>{n.classList.add("move"),setTimeout(()=>{n.innerHTML="\n\nwe serve delicious dishes, the best imported food\n\n",t.style.backgroundImage=`url('../imgs/${e}.jpg')`,n.classList.remove("move")},800)};var o=(e,t,n)=>{n.classList.add("move"),setTimeout(()=>{n.innerHTML="\n\nwanna know paradise without needing to travel to thailand?\nwanna feel the bangkok vibes, khao san road noise ?\nmiss chiang mai and want to taste again some khao soi?\nvisit us!\n\n",t.style.backgroundImage=`url('../imgs/${e}.jpg')`,n.classList.remove("move")},800)};var r=(e,t,n)=>{n.classList.add("move"),setTimeout(()=>{n.innerHTML="\n\n\nWe are ubicated at San Pepin Road #202-3\nNext to DiamondSutra Mall\n\n\n",t.style.backgroundImage=`url('../imgs/${e}.jpg')`,n.classList.remove("move")},800)};(function(){const e=document.getElementById("content"),t=document.createElement("div");e.appendChild(t),t.outerHTML="<nav><div class='logo'><span>sawadika!</span><span> thai food </span></div><div class='tabs'><button class='tab1'> delicious dishes</button><button class='tab2'> visit paradise</button><button class='tab3'> contact</button></div></nav><div id='central'></div>",document.getElementById("central").innerHTML="We are the bomb, a bomb of flavors, come and taste the richness & and extraordinaries possibilites that offers the real thai food. Welcome to Sawadika!"})();const s=e=>{const t=document.getElementById("content"),n=document.getElementById("central"),s=e.target.className;"tab1"===s&&a(s,t,n),"tab2"===s&&o(s,t,n),"tab3"===s&&r(s,t,n)};document.querySelectorAll("button").forEach(e=>e.addEventListener("click",s))}]); | 2,574 | 2,574 | 0.701243 |
83f4e2494da918389523b4c1fc7189ac4bc58cc1 | 843 | js | JavaScript | src/components/RegionTable/RegionTable.styles.js | MikeCoats/coronavirus-dashboard | b73f1869c92c22e03b9e7371618781317d5ad071 | [
"MIT"
] | null | null | null | src/components/RegionTable/RegionTable.styles.js | MikeCoats/coronavirus-dashboard | b73f1869c92c22e03b9e7371618781317d5ad071 | [
"MIT"
] | null | null | null | src/components/RegionTable/RegionTable.styles.js | MikeCoats/coronavirus-dashboard | b73f1869c92c22e03b9e7371618781317d5ad071 | [
"MIT"
] | null | null | null | // @flow
import styled from 'styled-components';
import type { ComponentType } from 'react';
export const Container: ComponentType<*> = (() => {
return styled.div`
grid-column: 1/4;
height: 600px;
@media only screen and (max-width: 768px) {
height: unset;
}
& .govuk-tabs__panel {
max-height: 485px;
overflow: auto;
@media only screen and (max-width: 768px) {
max-height: none;
}
}
`;
})();
export const Link: ComponentType<*> = (() => {
const getColor = ({ active }) => active ? '#0B0C0C' : '#1D70B8';
const getFontWeight = ({ active }) => active ? 'bold' : 400;
return styled.button`
color: ${getColor};
font-weight: ${getFontWeight};
text-decoration: none;
cursor: pointer;
&:visited {
color: ${getColor} !important;
}
`;
})();
| 21.075 | 66 | 0.572954 |
83f5446aafd001c91d1c868c06c077ad20f1faba | 710 | js | JavaScript | TestProject/test.js | nareindirentamizhmani/SlaEngine | cb6fa72bcc1affec4f6075d4622eb79b01a79bd6 | [
"Apache-2.0"
] | null | null | null | TestProject/test.js | nareindirentamizhmani/SlaEngine | cb6fa72bcc1affec4f6075d4622eb79b01a79bd6 | [
"Apache-2.0"
] | null | null | null | TestProject/test.js | nareindirentamizhmani/SlaEngine | cb6fa72bcc1affec4f6075d4622eb79b01a79bd6 | [
"Apache-2.0"
] | null | null | null | const dayjs = require('dayjs');
const engine = require('sla_engine')
const slaEngine = new engine();
/*One-Time Job - for SLA related usecases*/
slaEngine.addNewOneTimeJob(
{
Name:"CS001",
TriggerTime: dayjs().add(10, 'seconds').toDate(),
JobTemplate: "SLACountdown",
Data: {
JobMessage:"SLA for CS001 got breached"
}
});
slaEngine.startThisJob("CS001");
slaEngine.stopThisJob("CS001");
/*Reccurrent Job - for IOT/WO related usecases*/
slaEngine.addNewCronJob({
Name:"CS002",
CronSyntax: '* * * * *',
JobTemplate: "SLACountdown",
Data: {
JobMessage:"SLA for CS002 got breached"
}
});
slaEngine.startThisJob("CS002");
| 22.903226 | 57 | 0.625352 |
83f652010b95330cd607387b0b9ed1c35fa8262d | 1,489 | js | JavaScript | pm2/ecosystem.config.js | vucrr/mobile-next | d3016ffb758206fb9d93be1b421e0eff1f1e499f | [
"MIT"
] | null | null | null | pm2/ecosystem.config.js | vucrr/mobile-next | d3016ffb758206fb9d93be1b421e0eff1f1e499f | [
"MIT"
] | 10 | 2020-09-04T22:06:59.000Z | 2022-03-03T22:19:18.000Z | pm2/ecosystem.config.js | vucrr/mobile-next | d3016ffb758206fb9d93be1b421e0eff1f1e499f | [
"MIT"
] | null | null | null | const REACT_APP_API_ENV = process.env.REACT_APP_API_ENV || 'dev'
const TEST = process.env.TEST || ''
const PORT = parseInt(`3${TEST.padStart(3, '0')}`, 10) || 3000
function getName () {
if (REACT_APP_API_ENV === 'test') {
return `test${TEST}`
}
if (REACT_APP_API_ENV === 'stage') {
return `mobile-stage-${TEST}`
}
return `mobile-${REACT_APP_API_ENV}`
}
console.log(`start: pm2 name: ${getName()}, REACT_APP_API_ENV: ${REACT_APP_API_ENV}, PORT: ${PORT}`)
const betaOrProd = REACT_APP_API_ENV === 'beta' || REACT_APP_API_ENV === 'prod'
const baseURL = betaOrProd ? '/code/www/deploy/webroot/mobile-nextjs' : '.'
module.exports = {
apps: [{
name: getName(),
cwd: betaOrProd ? `${baseURL}/current` : `${baseURL}/`,
script: './build/backend/server/index.js',
max_memory_restart: '500M',
watch: false,
// watch: [
// 'build',
// ],
// ignore_watch: [
// 'node_modules',
// 'logs',
// 'static',
// ],
exec_mode: 'cluster',
// log_file: `./logs/${REACT_APP_API_ENV}/combined.outerr.log`,
error_file: betaOrProd ? '/var/log/pm2/app-err.log' : `${baseURL}/logs/app-err.log`,
out_file: betaOrProd ? '/var/log/pm2/app-out.log' : `${baseURL}/logs/app-out.log`,
log_date_format: 'YYYY-MM-DD HH:mm:ss',
// source_map_support: true,
merge_logs: true,
log_type: 'json',
instances: betaOrProd ? 'max' : 1,
env: {
NODE_ENV: 'production',
REACT_APP_API_ENV,
},
}],
}
| 29.78 | 100 | 0.607119 |
83f6e4bd3ea9735216db53afd145f3146969d793 | 1,494 | js | JavaScript | undergrad/cosc3020/peer_review/01/Lab01_Leong.js | andey-robins/school | a3bf98dd2fdcbdea9eeecc524a7c31125e82fd77 | [
"MIT"
] | null | null | null | undergrad/cosc3020/peer_review/01/Lab01_Leong.js | andey-robins/school | a3bf98dd2fdcbdea9eeecc524a7c31125e82fd77 | [
"MIT"
] | null | null | null | undergrad/cosc3020/peer_review/01/Lab01_Leong.js | andey-robins/school | a3bf98dd2fdcbdea9eeecc524a7c31125e82fd77 | [
"MIT"
] | null | null | null | <html>
<script>
var array = [2, 11, 5, 1, 9, 10, 21];
var array1 = [2, 9, 1, 3, 6];
function insertionSort(arr) {
for(var i = 1; i < arr.length; i++) {
var val = arr[i];
var j;
for(j = i; j > 0 && arr[j-1] > val; j--) {
arr[j] = arr[j-1];
}
arr[j] = val;
}
printArray(arr); //call print function
return arr;
}
function insertionSortReverse(arr){
for(var i=(arr.length-1); i >= 0 ; i--){
var val = arr[i];
var j
for(j=i; j<arr.length&&arr[j+1]<val;j++){
arr[j] = arr[j+1];
}
arr[j] = val;
}
printArray(arr); //call print function
return arr;
}
//output array function
function printArray(arr){
//store array as a string, each element separated by ', '
var str = arr.join(', ');
console.log('Array after sorting ['+str+']');
}
//call sort functions
console.log('Array before sorting [2, 11 , 5 , 1, 9, 10, 21]');
insertionSort(array);
console.log('Array before sorting [2, 9, 1, 3, 6]');
insertionSortReverse(array1);
/*Question 2
If from the begining the array is in a random numerical order,
then generally we can expect that each element is less than half the elements
to its left. In this instance, a call to swap array of n elements would swap
n/2 of them. Therefore, the running time will be half of the worst case
running time. Since we don't care about constant factors in asymptotic analysis,
the time complexity of the average case would be Θ(n^2), the same as the worst case
time complexity*/
</script>
</body>
</html>
| 26.210526 | 83 | 0.645917 |
83f723935f2f34e567f32ffce3830c72cfa38dad | 601 | js | JavaScript | backend/lib/entities/state/attributes/MovementModeStateAttribute.js | chrisob/Valetudo | 1802ef789f034bf636fb3594c49c06c4e668f5d4 | [
"Apache-2.0"
] | 3,076 | 2018-07-12T07:46:03.000Z | 2022-03-31T14:53:29.000Z | backend/lib/entities/state/attributes/MovementModeStateAttribute.js | chrisob/Valetudo | 1802ef789f034bf636fb3594c49c06c4e668f5d4 | [
"Apache-2.0"
] | 774 | 2018-07-12T07:34:57.000Z | 2022-03-26T14:25:31.000Z | backend/lib/entities/state/attributes/MovementModeStateAttribute.js | chrisob/Valetudo | 1802ef789f034bf636fb3594c49c06c4e668f5d4 | [
"Apache-2.0"
] | 446 | 2018-07-12T07:46:05.000Z | 2022-03-28T15:39:12.000Z | const StateAttribute = require("./StateAttribute");
class MovementModeStateAttribute extends StateAttribute {
/**
* @param {object} options
* @param {MovementModeAttributeValue} options.value
* @param {object} [options.metaData]
*/
constructor(options) {
super(options);
this.value = options.value;
}
}
/**
* @typedef {string} MovementModeAttributeValue
* @enum {string}
*
*/
MovementModeStateAttribute.VALUE = Object.freeze({
REGULAR: "regular",
MOP: "mop",
OUTLINE: "outline"
});
module.exports = MovementModeStateAttribute;
| 20.724138 | 57 | 0.657238 |
83f815358314a603ae7e44a54d66487baa4bfd70 | 164,600 | js | JavaScript | closure/goog/demos/graphics/tigerdata.js | ahrushko-blackbird/closure-library | 06ad0859c7b1b6e779aff6ea57a62a2faf18436b | [
"Apache-2.0"
] | 2 | 2020-02-20T05:52:55.000Z | 2021-12-26T00:26:07.000Z | third-party/goog/demos/graphics/tigerdata.js | BallyB/SeriousGame | dfb086c04814df31e145181057b193f24ed0b177 | [
"Apache-2.0"
] | 5 | 2019-12-10T11:08:26.000Z | 2022-03-08T23:03:57.000Z | third-party/goog/demos/graphics/tigerdata.js | BallyB/SeriousGame | dfb086c04814df31e145181057b193f24ed0b177 | [
"Apache-2.0"
] | 12 | 2019-08-11T08:26:19.000Z | 2021-08-24T09:14:01.000Z | // Copyright 2007 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS-IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/**
* @fileoverview This data is generated from an SVG image of a tiger.
*
* @author arv@google.com (Erik Arvidsson)
*/
var tigerData = [
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [77.696, 284.285]},
{t: 'C', p: [77.696, 284.285, 77.797, 286.179, 76.973, 286.16]},
{t: 'C', p: [76.149, 286.141, 59.695, 238.066, 39.167, 240.309]},
{t: 'C', p: [39.167, 240.309, 56.95, 232.956, 77.696, 284.285]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [81.226, 281.262]},
{t: 'C', p: [81.226, 281.262, 80.677, 283.078, 79.908, 282.779]},
{t: 'C', p: [79.14, 282.481, 80.023, 231.675, 59.957, 226.801]},
{t: 'C', p: [59.957, 226.801, 79.18, 225.937, 81.226, 281.262]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [108.716, 323.59]},
{t: 'C', p: [108.716, 323.59, 110.352, 324.55, 109.882, 325.227]},
{t: 'C', p: [109.411, 325.904, 60.237, 313.102, 50.782, 331.459]},
{t: 'C', p: [50.782, 331.459, 54.461, 312.572, 108.716, 323.59]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [105.907, 333.801]},
{t: 'C', p: [105.907, 333.801, 107.763, 334.197, 107.529, 334.988]},
{t: 'C', p: [107.296, 335.779, 56.593, 339.121, 53.403, 359.522]},
{t: 'C', p: [53.403, 359.522, 50.945, 340.437, 105.907, 333.801]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [101.696, 328.276]},
{t: 'C', p: [101.696, 328.276, 103.474, 328.939, 103.128, 329.687]},
{t: 'C', p: [102.782, 330.435, 52.134, 326.346, 46.002, 346.064]},
{t: 'C', p: [46.002, 346.064, 46.354, 326.825, 101.696, 328.276]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [90.991, 310.072]},
{t: 'C', p: [90.991, 310.072, 92.299, 311.446, 91.66, 311.967]},
{t: 'C', p: [91.021, 312.488, 47.278, 286.634, 33.131, 301.676]},
{t: 'C', p: [33.131, 301.676, 41.872, 284.533, 90.991, 310.072]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [83.446, 314.263]},
{t: 'C', p: [83.446, 314.263, 84.902, 315.48, 84.326, 316.071]},
{t: 'C', p: [83.75, 316.661, 37.362, 295.922, 25.008, 312.469]},
{t: 'C', p: [25.008, 312.469, 31.753, 294.447, 83.446, 314.263]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [80.846, 318.335]},
{t: 'C', p: [80.846, 318.335, 82.454, 319.343, 81.964, 320.006]},
{t: 'C', p: [81.474, 320.669, 32.692, 306.446, 22.709, 324.522]},
{t: 'C', p: [22.709, 324.522, 26.934, 305.749, 80.846, 318.335]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [91.58, 318.949]},
{t: 'C', p: [91.58, 318.949, 92.702, 320.48, 92.001, 320.915]},
{t: 'C', p: [91.3, 321.35, 51.231, 290.102, 35.273, 303.207]},
{t: 'C', p: [35.273, 303.207, 46.138, 287.326, 91.58, 318.949]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [71.8, 290]},
{t: 'C', p: [71.8, 290, 72.4, 291.8, 71.6, 292]},
{t: 'C', p: [70.8, 292.2, 42.2, 250.2, 22.999, 257.8]},
{t: 'C', p: [22.999, 257.8, 38.2, 246, 71.8, 290]}, {t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [72.495, 296.979]},
{t: 'C', p: [72.495, 296.979, 73.47, 298.608, 72.731, 298.975]},
{t: 'C', p: [71.993, 299.343, 35.008, 264.499, 17.899, 276.061]},
{t: 'C', p: [17.899, 276.061, 30.196, 261.261, 72.495, 296.979]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.172},
p: [
{t: 'M', p: [72.38, 301.349]},
{t: 'C', p: [72.38, 301.349, 73.502, 302.88, 72.801, 303.315]},
{t: 'C', p: [72.1, 303.749, 32.031, 272.502, 16.073, 285.607]},
{t: 'C', p: [16.073, 285.607, 26.938, 269.726, 72.38, 301.349]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: '#000',
p: [
{t: 'M', p: [70.17, 303.065]},
{t: 'C', p: [70.673, 309.113, 71.661, 315.682, 73.4, 318.801]},
{t: 'C', p: [73.4, 318.801, 69.8, 331.201, 78.6, 344.401]},
{t: 'C', p: [78.6, 344.401, 78.2, 351.601, 79.8, 354.801]},
{t: 'C', p: [79.8, 354.801, 83.8, 363.201, 88.6, 364.001]},
{t: 'C', p: [92.484, 364.648, 101.207, 367.717, 111.068, 369.121]},
{t: 'C', p: [111.068, 369.121, 128.2, 383.201, 125, 396.001]},
{t: 'C', p: [125, 396.001, 124.6, 412.401, 121, 414.001]},
{t: 'C', p: [121, 414.001, 132.6, 402.801, 123, 419.601]},
{t: 'L', p: [118.6, 438.401]},
{t: 'C', p: [118.6, 438.401, 144.2, 416.801, 128.6, 435.201]},
{t: 'L', p: [118.6, 461.201]},
{t: 'C', p: [118.6, 461.201, 138.2, 442.801, 131, 451.201]},
{t: 'L', p: [127.8, 460.001]},
{t: 'C', p: [127.8, 460.001, 171, 432.801, 140.2, 462.401]},
{t: 'C', p: [140.2, 462.401, 148.2, 458.801, 152.6, 461.601]},
{t: 'C', p: [152.6, 461.601, 159.4, 460.401, 158.6, 462.001]},
{t: 'C', p: [158.6, 462.001, 137.8, 472.401, 134.2, 490.801]},
{t: 'C', p: [134.2, 490.801, 142.6, 480.801, 139.4, 491.601]},
{t: 'L', p: [139.8, 503.201]},
{t: 'C', p: [139.8, 503.201, 143.8, 481.601, 143.4, 519.201]},
{t: 'C', p: [143.4, 519.201, 162.6, 501.201, 151, 522.001]},
{t: 'L', p: [151, 538.801]},
{t: 'C', p: [151, 538.801, 166.2, 522.401, 159.8, 535.201]},
{t: 'C', p: [159.8, 535.201, 169.8, 526.401, 165.8, 541.601]},
{t: 'C', p: [165.8, 541.601, 165, 552.001, 169.4, 540.801]},
{t: 'C', p: [169.4, 540.801, 185.4, 510.201, 179.4, 536.401]},
{t: 'C', p: [179.4, 536.401, 178.6, 555.601, 183.4, 540.801]},
{t: 'C', p: [183.4, 540.801, 183.8, 551.201, 193, 558.401]},
{t: 'C', p: [193, 558.401, 191.8, 507.601, 204.6, 543.601]},
{t: 'L', p: [208.6, 560.001]},
{t: 'C', p: [208.6, 560.001, 211.4, 550.801, 211, 545.601]},
{t: 'C', p: [211, 545.601, 225.8, 529.201, 219, 553.601]},
{t: 'C', p: [219, 553.601, 234.2, 530.801, 231, 544.001]},
{t: 'C', p: [231, 544.001, 223.4, 560.001, 225, 564.801]},
{t: 'C', p: [225, 564.801, 241.8, 530.001, 243, 528.401]},
{t: 'C', p: [243, 528.401, 241, 570.802, 251.8, 534.801]},
{t: 'C', p: [251.8, 534.801, 257.4, 546.801, 254.6, 551.201]},
{t: 'C', p: [254.6, 551.201, 262.6, 543.201, 261.8, 540.001]},
{t: 'C', p: [261.8, 540.001, 266.4, 531.801, 269.2, 545.401]},
{t: 'C', p: [269.2, 545.401, 271, 554.801, 272.6, 551.601]},
{t: 'C', p: [272.6, 551.601, 276.6, 575.602, 277.8, 552.801]},
{t: 'C', p: [277.8, 552.801, 279.4, 539.201, 272.2, 527.601]},
{t: 'C', p: [272.2, 527.601, 273, 524.401, 270.2, 520.401]},
{t: 'C', p: [270.2, 520.401, 283.8, 542.001, 276.6, 513.201]},
{t: 'C', p: [276.6, 513.201, 287.801, 521.201, 289.001, 521.201]},
{t: 'C', p: [289.001, 521.201, 275.4, 498.001, 284.2, 502.801]},
{t: 'C', p: [284.2, 502.801, 279, 492.401, 297.001, 504.401]},
{t: 'C', p: [297.001, 504.401, 281, 488.401, 298.601, 498.001]},
{t: 'C', p: [298.601, 498.001, 306.601, 504.401, 299.001, 494.401]},
{t: 'C', p: [299.001, 494.401, 284.6, 478.401, 306.601, 496.401]},
{t: 'C', p: [306.601, 496.401, 318.201, 512.801, 319.001, 515.601]},
{t: 'C', p: [319.001, 515.601, 309.001, 486.401, 304.601, 483.601]},
{t: 'C', p: [304.601, 483.601, 313.001, 447.201, 354.201, 462.801]},
{t: 'C', p: [354.201, 462.801, 361.001, 480.001, 365.401, 461.601]},
{t: 'C', p: [365.401, 461.601, 378.201, 455.201, 389.401, 482.801]},
{t: 'C', p: [389.401, 482.801, 393.401, 469.201, 392.601, 466.401]},
{t: 'C', p: [392.601, 466.401, 399.401, 467.601, 398.601, 466.401]},
{t: 'C', p: [398.601, 466.401, 411.801, 470.801, 413.001, 470.001]},
{t: 'C', p: [413.001, 470.001, 419.801, 476.801, 420.201, 473.201]},
{t: 'C', p: [420.201, 473.201, 429.401, 476.001, 427.401, 472.401]},
{t: 'C', p: [427.401, 472.401, 436.201, 488.001, 436.601, 491.601]},
{t: 'L', p: [439.001, 477.601]},
{t: 'L', p: [441.001, 480.401]},
{t: 'C', p: [441.001, 480.401, 442.601, 472.801, 441.801, 471.601]},
{t: 'C', p: [441.001, 470.401, 461.801, 478.401, 466.601, 499.201]},
{t: 'L', p: [468.601, 507.601]},
{t: 'C', p: [468.601, 507.601, 474.601, 492.801, 473.001, 488.801]},
{t: 'C', p: [473.001, 488.801, 478.201, 489.601, 478.601, 494.001]},
{t: 'C', p: [478.601, 494.001, 482.601, 470.801, 477.801, 464.801]},
{t: 'C', p: [477.801, 464.801, 482.201, 464.001, 483.401, 467.601]},
{t: 'L', p: [483.401, 460.401]},
{t: 'C', p: [483.401, 460.401, 490.601, 461.201, 490.601, 458.801]},
{t: 'C', p: [490.601, 458.801, 495.001, 454.801, 497.001, 459.601]},
{t: 'C', p: [497.001, 459.601, 484.601, 424.401, 503.001, 443.601]},
{t: 'C', p: [503.001, 443.601, 510.201, 454.401, 506.601, 435.601]},
{t: 'C', p: [503.001, 416.801, 499.001, 415.201, 503.801, 414.801]},
{t: 'C', p: [503.801, 414.801, 504.601, 411.201, 502.601, 409.601]},
{t: 'C', p: [500.601, 408.001, 503.801, 409.601, 503.801, 409.601]},
{t: 'C', p: [503.801, 409.601, 508.601, 413.601, 503.401, 391.601]},
{t: 'C', p: [503.401, 391.601, 509.801, 393.201, 497.801, 364.001]},
{t: 'C', p: [497.801, 364.001, 500.601, 361.601, 496.601, 353.201]},
{t: 'C', p: [496.601, 353.201, 504.601, 357.601, 507.401, 356.001]},
{t: 'C', p: [507.401, 356.001, 507.001, 354.401, 503.801, 350.401]},
{t: 'C', p: [503.801, 350.401, 482.201, 295.6, 502.601, 317.601]},
{t: 'C', p: [502.601, 317.601, 514.451, 331.151, 508.051, 308.351]},
{t: 'C', p: [508.051, 308.351, 498.94, 284.341, 499.717, 280.045]},
{t: 'L', p: [70.17, 303.065]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: '#000',
p: [
{t: 'M', p: [499.717, 280.245]},
{t: 'C', p: [500.345, 280.426, 502.551, 281.55, 503.801, 283.2]},
{t: 'C', p: [503.801, 283.2, 510.601, 294, 505.401, 275.6]},
{t: 'C', p: [505.401, 275.6, 496.201, 246.8, 505.001, 258]},
{t: 'C', p: [505.001, 258, 511.001, 265.2, 507.801, 251.6]},
{t: 'C', p: [503.936, 235.173, 501.401, 228.8, 501.401, 228.8]},
{t: 'C', p: [501.401, 228.8, 513.001, 233.6, 486.201, 194]},
{t: 'L', p: [495.001, 197.6]},
{t: 'C', p: [495.001, 197.6, 475.401, 158, 453.801, 152.8]},
{t: 'L', p: [445.801, 146.8]},
{t: 'C', p: [445.801, 146.8, 484.201, 108.8, 471.401, 72]},
{t: 'C', p: [471.401, 72, 464.601, 66.8, 455.001, 76]},
{t: 'C', p: [455.001, 76, 448.601, 80.8, 442.601, 79.2]},
{t: 'C', p: [442.601, 79.2, 411.801, 80.4, 409.801, 80.4]},
{t: 'C', p: [407.801, 80.4, 373.001, 43.2, 307.401, 60.8]},
{t: 'C', p: [307.401, 60.8, 302.201, 62.8, 297.801, 61.6]},
{t: 'C', p: [297.801, 61.6, 279.4, 45.6, 230.6, 68.4]},
{t: 'C', p: [230.6, 68.4, 220.6, 70.4, 219, 70.4]},
{t: 'C', p: [217.4, 70.4, 214.6, 70.4, 206.6, 76.8]},
{t: 'C', p: [198.6, 83.2, 198.2, 84, 196.2, 85.6]},
{t: 'C', p: [196.2, 85.6, 179.8, 96.8, 175, 97.6]},
{t: 'C', p: [175, 97.6, 163.4, 104, 159, 114]},
{t: 'L', p: [155.4, 115.2]},
{t: 'C', p: [155.4, 115.2, 153.8, 122.4, 153.4, 123.6]},
{t: 'C', p: [153.4, 123.6, 148.6, 127.2, 147.8, 132.8]},
{t: 'C', p: [147.8, 132.8, 139, 138.8, 139.4, 143.2]},
{t: 'C', p: [139.4, 143.2, 137.8, 148.4, 137, 153.2]},
{t: 'C', p: [137, 153.2, 129.8, 158, 130.6, 160.8]},
{t: 'C', p: [130.6, 160.8, 123, 174.8, 124.2, 181.6]},
{t: 'C', p: [124.2, 181.6, 117.8, 181.2, 115, 183.6]},
{t: 'C', p: [115, 183.6, 114.2, 188.4, 112.6, 188.8]},
{t: 'C', p: [112.6, 188.8, 109.8, 190, 112.2, 194]},
{t: 'C', p: [112.2, 194, 110.6, 196.8, 110.2, 198.4]},
{t: 'C', p: [110.2, 198.4, 111, 201.2, 106.6, 206.8]},
{t: 'C', p: [106.6, 206.8, 100.2, 225.6, 102.2, 230.8]},
{t: 'C', p: [102.2, 230.8, 102.6, 235.6, 99.8, 237.2]},
{t: 'C', p: [99.8, 237.2, 96.2, 236.8, 104.6, 248.8]},
{t: 'C', p: [104.6, 248.8, 105.4, 250, 102.2, 252.4]},
{t: 'C', p: [102.2, 252.4, 85, 256, 82.6, 272.4]},
{t: 'C', p: [82.6, 272.4, 69, 287.2, 69, 292.4]},
{t: 'C', p: [69, 294.705, 69.271, 297.852, 69.97, 302.465]},
{t: 'C', p: [69.97, 302.465, 69.4, 310.801, 97, 311.601]},
{t: 'C', p: [124.6, 312.401, 499.717, 280.245, 499.717, 280.245]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [84.4, 302.6]},
{t: 'C', p: [59.4, 263.2, 73.8, 319.601, 73.8, 319.601]},
{t: 'C', p: [82.6, 354.001, 212.2, 316.401, 212.2, 316.401]},
{t: 'C', p: [212.2, 316.401, 381.001, 286, 392.201, 282]},
{t: 'C', p: [403.401, 278, 498.601, 284.4, 498.601, 284.4]},
{t: 'L', p: [493.001, 267.6]},
{t: 'C', p: [428.201, 221.2, 409.001, 244.4, 395.401, 240.4]},
{t: 'C', p: [381.801, 236.4, 384.201, 246, 381.001, 246.8]},
{t: 'C', p: [377.801, 247.6, 338.601, 222.8, 332.201, 223.6]},
{t: 'C', p: [325.801, 224.4, 300.459, 200.649, 315.401, 232.4]},
{t: 'C', p: [331.401, 266.4, 257, 271.6, 240.2, 260.4]},
{t: 'C', p: [223.4, 249.2, 247.4, 278.8, 247.4, 278.8]},
{t: 'C', p: [265.8, 298.8, 231.4, 282, 231.4, 282]},
{t: 'C', p: [197, 269.2, 173, 294.8, 169.8, 295.6]},
{t: 'C', p: [166.6, 296.4, 161.8, 299.6, 161, 293.2]},
{t: 'C', p: [160.2, 286.8, 152.69, 270.099, 121, 296.4]},
{t: 'C', p: [101, 313.001, 87.2, 291, 87.2, 291]},
{t: 'L', p: [84.4, 302.6]}, {t: 'z', p: []}
]
},
{
f: '#e87f3a',
s: null,
p: [
{t: 'M', p: [333.51, 225.346]},
{t: 'C', p: [327.11, 226.146, 301.743, 202.407, 316.71, 234.146]},
{t: 'C', p: [333.31, 269.346, 258.31, 273.346, 241.51, 262.146]},
{t: 'C', p: [224.709, 250.946, 248.71, 280.546, 248.71, 280.546]},
{t: 'C', p: [267.11, 300.546, 232.709, 283.746, 232.709, 283.746]},
{t: 'C', p: [198.309, 270.946, 174.309, 296.546, 171.109, 297.346]},
{t: 'C', p: [167.909, 298.146, 163.109, 301.346, 162.309, 294.946]},
{t: 'C', p: [161.509, 288.546, 154.13, 272.012, 122.309, 298.146]},
{t: 'C', p: [101.073, 315.492, 87.582, 294.037, 87.582, 294.037]},
{t: 'L', p: [84.382, 304.146]},
{t: 'C', p: [59.382, 264.346, 74.454, 322.655, 74.454, 322.655]},
{t: 'C', p: [83.255, 357.056, 213.509, 318.146, 213.509, 318.146]},
{t: 'C', p: [213.509, 318.146, 382.31, 287.746, 393.51, 283.746]},
{t: 'C', p: [404.71, 279.746, 499.038, 286.073, 499.038, 286.073]},
{t: 'L', p: [493.51, 268.764]},
{t: 'C', p: [428.71, 222.364, 410.31, 246.146, 396.71, 242.146]},
{t: 'C', p: [383.11, 238.146, 385.51, 247.746, 382.31, 248.546]},
{t: 'C', p: [379.11, 249.346, 339.91, 224.546, 333.51, 225.346]},
{t: 'z', p: []}
]
},
{
f: '#ea8c4d',
s: null,
p: [
{t: 'M', p: [334.819, 227.091]},
{t: 'C', p: [328.419, 227.891, 303.685, 203.862, 318.019, 235.891]},
{t: 'C', p: [334.219, 272.092, 259.619, 275.092, 242.819, 263.892]},
{t: 'C', p: [226.019, 252.692, 250.019, 282.292, 250.019, 282.292]},
{t: 'C', p: [268.419, 302.292, 234.019, 285.492, 234.019, 285.492]},
{t: 'C', p: [199.619, 272.692, 175.618, 298.292, 172.418, 299.092]},
{t: 'C', p: [169.218, 299.892, 164.418, 303.092, 163.618, 296.692]},
{t: 'C', p: [162.818, 290.292, 155.57, 273.925, 123.618, 299.892]},
{t: 'C', p: [101.145, 317.983, 87.964, 297.074, 87.964, 297.074]},
{t: 'L', p: [84.364, 305.692]},
{t: 'C', p: [60.564, 266.692, 75.109, 325.71, 75.109, 325.71]},
{t: 'C', p: [83.909, 360.11, 214.819, 319.892, 214.819, 319.892]},
{t: 'C', p: [214.819, 319.892, 383.619, 289.492, 394.819, 285.492]},
{t: 'C', p: [406.019, 281.492, 499.474, 287.746, 499.474, 287.746]},
{t: 'L', p: [494.02, 269.928]},
{t: 'C', p: [429.219, 223.528, 411.619, 247.891, 398.019, 243.891]},
{t: 'C', p: [384.419, 239.891, 386.819, 249.491, 383.619, 250.292]},
{t: 'C', p: [380.419, 251.092, 341.219, 226.291, 334.819, 227.091]},
{t: 'z', p: []}
]
},
{
f: '#ec9961',
s: null,
p: [
{t: 'M', p: [336.128, 228.837]},
{t: 'C', p: [329.728, 229.637, 304.999, 205.605, 319.328, 237.637]},
{t: 'C', p: [336.128, 275.193, 260.394, 276.482, 244.128, 265.637]},
{t: 'C', p: [227.328, 254.437, 251.328, 284.037, 251.328, 284.037]},
{t: 'C', p: [269.728, 304.037, 235.328, 287.237, 235.328, 287.237]},
{t: 'C', p: [200.928, 274.437, 176.928, 300.037, 173.728, 300.837]},
{t: 'C', p: [170.528, 301.637, 165.728, 304.837, 164.928, 298.437]},
{t: 'C', p: [164.128, 292.037, 157.011, 275.839, 124.927, 301.637]},
{t: 'C', p: [101.218, 320.474, 88.345, 300.11, 88.345, 300.11]},
{t: 'L', p: [84.345, 307.237]},
{t: 'C', p: [62.545, 270.437, 75.764, 328.765, 75.764, 328.765]},
{t: 'C', p: [84.564, 363.165, 216.128, 321.637, 216.128, 321.637]},
{t: 'C', p: [216.128, 321.637, 384.928, 291.237, 396.129, 287.237]},
{t: 'C', p: [407.329, 283.237, 499.911, 289.419, 499.911, 289.419]},
{t: 'L', p: [494.529, 271.092]},
{t: 'C', p: [429.729, 224.691, 412.929, 249.637, 399.329, 245.637]},
{t: 'C', p: [385.728, 241.637, 388.128, 251.237, 384.928, 252.037]},
{t: 'C', p: [381.728, 252.837, 342.528, 228.037, 336.128, 228.837]},
{t: 'z', p: []}
]
},
{
f: '#eea575',
s: null,
p: [
{t: 'M', p: [337.438, 230.583]},
{t: 'C', p: [331.037, 231.383, 306.814, 207.129, 320.637, 239.383]},
{t: 'C', p: [337.438, 278.583, 262.237, 278.583, 245.437, 267.383]},
{t: 'C', p: [228.637, 256.183, 252.637, 285.783, 252.637, 285.783]},
{t: 'C', p: [271.037, 305.783, 236.637, 288.983, 236.637, 288.983]},
{t: 'C', p: [202.237, 276.183, 178.237, 301.783, 175.037, 302.583]},
{t: 'C', p: [171.837, 303.383, 167.037, 306.583, 166.237, 300.183]},
{t: 'C', p: [165.437, 293.783, 158.452, 277.752, 126.237, 303.383]},
{t: 'C', p: [101.291, 322.965, 88.727, 303.146, 88.727, 303.146]},
{t: 'L', p: [84.327, 308.783]},
{t: 'C', p: [64.527, 273.982, 76.418, 331.819, 76.418, 331.819]},
{t: 'C', p: [85.218, 366.22, 217.437, 323.383, 217.437, 323.383]},
{t: 'C', p: [217.437, 323.383, 386.238, 292.983, 397.438, 288.983]},
{t: 'C', p: [408.638, 284.983, 500.347, 291.092, 500.347, 291.092]},
{t: 'L', p: [495.038, 272.255]},
{t: 'C', p: [430.238, 225.855, 414.238, 251.383, 400.638, 247.383]},
{t: 'C', p: [387.038, 243.383, 389.438, 252.983, 386.238, 253.783]},
{t: 'C', p: [383.038, 254.583, 343.838, 229.783, 337.438, 230.583]},
{t: 'z', p: []}
]
},
{
f: '#f1b288',
s: null,
p: [
{t: 'M', p: [338.747, 232.328]},
{t: 'C', p: [332.347, 233.128, 306.383, 209.677, 321.947, 241.128]},
{t: 'C', p: [341.147, 279.928, 263.546, 280.328, 246.746, 269.128]},
{t: 'C', p: [229.946, 257.928, 253.946, 287.528, 253.946, 287.528]},
{t: 'C', p: [272.346, 307.528, 237.946, 290.728, 237.946, 290.728]},
{t: 'C', p: [203.546, 277.928, 179.546, 303.528, 176.346, 304.328]},
{t: 'C', p: [173.146, 305.128, 168.346, 308.328, 167.546, 301.928]},
{t: 'C', p: [166.746, 295.528, 159.892, 279.665, 127.546, 305.128]},
{t: 'C', p: [101.364, 325.456, 89.109, 306.183, 89.109, 306.183]},
{t: 'L', p: [84.309, 310.328]},
{t: 'C', p: [66.309, 277.128, 77.073, 334.874, 77.073, 334.874]},
{t: 'C', p: [85.873, 369.274, 218.746, 325.128, 218.746, 325.128]},
{t: 'C', p: [218.746, 325.128, 387.547, 294.728, 398.747, 290.728]},
{t: 'C', p: [409.947, 286.728, 500.783, 292.764, 500.783, 292.764]},
{t: 'L', p: [495.547, 273.419]},
{t: 'C', p: [430.747, 227.019, 415.547, 253.128, 401.947, 249.128]},
{t: 'C', p: [388.347, 245.128, 390.747, 254.728, 387.547, 255.528]},
{t: 'C', p: [384.347, 256.328, 345.147, 231.528, 338.747, 232.328]},
{t: 'z', p: []}
]
},
{
f: '#f3bf9c',
s: null,
p: [
{t: 'M', p: [340.056, 234.073]},
{t: 'C', p: [333.655, 234.873, 307.313, 211.613, 323.255, 242.873]},
{t: 'C', p: [343.656, 282.874, 264.855, 282.074, 248.055, 270.874]},
{t: 'C', p: [231.255, 259.674, 255.255, 289.274, 255.255, 289.274]},
{t: 'C', p: [273.655, 309.274, 239.255, 292.474, 239.255, 292.474]},
{t: 'C', p: [204.855, 279.674, 180.855, 305.274, 177.655, 306.074]},
{t: 'C', p: [174.455, 306.874, 169.655, 310.074, 168.855, 303.674]},
{t: 'C', p: [168.055, 297.274, 161.332, 281.578, 128.855, 306.874]},
{t: 'C', p: [101.436, 327.947, 89.491, 309.219, 89.491, 309.219]},
{t: 'L', p: [84.291, 311.874]},
{t: 'C', p: [68.291, 281.674, 77.727, 337.929, 77.727, 337.929]},
{t: 'C', p: [86.527, 372.329, 220.055, 326.874, 220.055, 326.874]},
{t: 'C', p: [220.055, 326.874, 388.856, 296.474, 400.056, 292.474]},
{t: 'C', p: [411.256, 288.474, 501.22, 294.437, 501.22, 294.437]},
{t: 'L', p: [496.056, 274.583]},
{t: 'C', p: [431.256, 228.183, 416.856, 254.874, 403.256, 250.874]},
{t: 'C', p: [389.656, 246.873, 392.056, 256.474, 388.856, 257.274]},
{t: 'C', p: [385.656, 258.074, 346.456, 233.273, 340.056, 234.073]},
{t: 'z', p: []}
]
},
{
f: '#f5ccb0',
s: null,
p: [
{t: 'M', p: [341.365, 235.819]},
{t: 'C', p: [334.965, 236.619, 307.523, 213.944, 324.565, 244.619]},
{t: 'C', p: [346.565, 284.219, 266.164, 283.819, 249.364, 272.619]},
{t: 'C', p: [232.564, 261.419, 256.564, 291.019, 256.564, 291.019]},
{t: 'C', p: [274.964, 311.019, 240.564, 294.219, 240.564, 294.219]},
{t: 'C', p: [206.164, 281.419, 182.164, 307.019, 178.964, 307.819]},
{t: 'C', p: [175.764, 308.619, 170.964, 311.819, 170.164, 305.419]},
{t: 'C', p: [169.364, 299.019, 162.773, 283.492, 130.164, 308.619]},
{t: 'C', p: [101.509, 330.438, 89.873, 312.256, 89.873, 312.256]},
{t: 'L', p: [84.273, 313.419]},
{t: 'C', p: [69.872, 285.019, 78.382, 340.983, 78.382, 340.983]},
{t: 'C', p: [87.182, 375.384, 221.364, 328.619, 221.364, 328.619]},
{t: 'C', p: [221.364, 328.619, 390.165, 298.219, 401.365, 294.219]},
{t: 'C', p: [412.565, 290.219, 501.656, 296.11, 501.656, 296.11]},
{t: 'L', p: [496.565, 275.746]},
{t: 'C', p: [431.765, 229.346, 418.165, 256.619, 404.565, 252.619]},
{t: 'C', p: [390.965, 248.619, 393.365, 258.219, 390.165, 259.019]},
{t: 'C', p: [386.965, 259.819, 347.765, 235.019, 341.365, 235.819]},
{t: 'z', p: []}
]
},
{
f: '#f8d8c4',
s: null,
p: [
{t: 'M', p: [342.674, 237.565]},
{t: 'C', p: [336.274, 238.365, 308.832, 215.689, 325.874, 246.365]},
{t: 'C', p: [347.874, 285.965, 267.474, 285.565, 250.674, 274.365]},
{t: 'C', p: [233.874, 263.165, 257.874, 292.765, 257.874, 292.765]},
{t: 'C', p: [276.274, 312.765, 241.874, 295.965, 241.874, 295.965]},
{t: 'C', p: [207.473, 283.165, 183.473, 308.765, 180.273, 309.565]},
{t: 'C', p: [177.073, 310.365, 172.273, 313.565, 171.473, 307.165]},
{t: 'C', p: [170.673, 300.765, 164.214, 285.405, 131.473, 310.365]},
{t: 'C', p: [101.582, 332.929, 90.255, 315.293, 90.255, 315.293]},
{t: 'L', p: [84.255, 314.965]},
{t: 'C', p: [70.654, 288.564, 79.037, 344.038, 79.037, 344.038]},
{t: 'C', p: [87.837, 378.438, 222.673, 330.365, 222.673, 330.365]},
{t: 'C', p: [222.673, 330.365, 391.474, 299.965, 402.674, 295.965]},
{t: 'C', p: [413.874, 291.965, 502.093, 297.783, 502.093, 297.783]},
{t: 'L', p: [497.075, 276.91]},
{t: 'C', p: [432.274, 230.51, 419.474, 258.365, 405.874, 254.365]},
{t: 'C', p: [392.274, 250.365, 394.674, 259.965, 391.474, 260.765]},
{t: 'C', p: [388.274, 261.565, 349.074, 236.765, 342.674, 237.565]},
{t: 'z', p: []}
]
},
{
f: '#fae5d7',
s: null,
p: [
{t: 'M', p: [343.983, 239.31]},
{t: 'C', p: [337.583, 240.11, 310.529, 217.223, 327.183, 248.11]},
{t: 'C', p: [349.183, 288.91, 268.783, 287.31, 251.983, 276.11]},
{t: 'C', p: [235.183, 264.91, 259.183, 294.51, 259.183, 294.51]},
{t: 'C', p: [277.583, 314.51, 243.183, 297.71, 243.183, 297.71]},
{t: 'C', p: [208.783, 284.91, 184.783, 310.51, 181.583, 311.31]},
{t: 'C', p: [178.382, 312.11, 173.582, 315.31, 172.782, 308.91]},
{t: 'C', p: [171.982, 302.51, 165.654, 287.318, 132.782, 312.11]},
{t: 'C', p: [101.655, 335.42, 90.637, 318.329, 90.637, 318.329]},
{t: 'L', p: [84.236, 316.51]},
{t: 'C', p: [71.236, 292.51, 79.691, 347.093, 79.691, 347.093]},
{t: 'C', p: [88.491, 381.493, 223.983, 332.11, 223.983, 332.11]},
{t: 'C', p: [223.983, 332.11, 392.783, 301.71, 403.983, 297.71]},
{t: 'C', p: [415.183, 293.71, 502.529, 299.456, 502.529, 299.456]},
{t: 'L', p: [497.583, 278.074]},
{t: 'C', p: [432.783, 231.673, 420.783, 260.11, 407.183, 256.11]},
{t: 'C', p: [393.583, 252.11, 395.983, 261.71, 392.783, 262.51]},
{t: 'C', p: [389.583, 263.31, 350.383, 238.51, 343.983, 239.31]},
{t: 'z', p: []}
]
},
{
f: '#fcf2eb',
s: null,
p: [
{t: 'M', p: [345.292, 241.055]},
{t: 'C', p: [338.892, 241.855, 312.917, 218.411, 328.492, 249.855]},
{t: 'C', p: [349.692, 292.656, 270.092, 289.056, 253.292, 277.856]},
{t: 'C', p: [236.492, 266.656, 260.492, 296.256, 260.492, 296.256]},
{t: 'C', p: [278.892, 316.256, 244.492, 299.456, 244.492, 299.456]},
{t: 'C', p: [210.092, 286.656, 186.092, 312.256, 182.892, 313.056]},
{t: 'C', p: [179.692, 313.856, 174.892, 317.056, 174.092, 310.656]},
{t: 'C', p: [173.292, 304.256, 167.095, 289.232, 134.092, 313.856]},
{t: 'C', p: [101.727, 337.911, 91.018, 321.365, 91.018, 321.365]},
{t: 'L', p: [84.218, 318.056]},
{t: 'C', p: [71.418, 294.856, 80.346, 350.147, 80.346, 350.147]},
{t: 'C', p: [89.146, 384.547, 225.292, 333.856, 225.292, 333.856]},
{t: 'C', p: [225.292, 333.856, 394.093, 303.456, 405.293, 299.456]},
{t: 'C', p: [416.493, 295.456, 502.965, 301.128, 502.965, 301.128]},
{t: 'L', p: [498.093, 279.237]},
{t: 'C', p: [433.292, 232.837, 422.093, 261.856, 408.493, 257.856]},
{t: 'C', p: [394.893, 253.855, 397.293, 263.456, 394.093, 264.256]},
{t: 'C', p: [390.892, 265.056, 351.692, 240.255, 345.292, 241.055]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [84.2, 319.601]},
{t: 'C', p: [71.4, 297.6, 81, 353.201, 81, 353.201]},
{t: 'C', p: [89.8, 387.601, 226.6, 335.601, 226.6, 335.601]},
{t: 'C', p: [226.6, 335.601, 395.401, 305.2, 406.601, 301.2]},
{t: 'C', p: [417.801, 297.2, 503.401, 302.8, 503.401, 302.8]},
{t: 'L', p: [498.601, 280.4]},
{t: 'C', p: [433.801, 234, 423.401, 263.6, 409.801, 259.6]},
{t: 'C', p: [396.201, 255.6, 398.601, 265.2, 395.401, 266]},
{t: 'C', p: [392.201, 266.8, 353.001, 242, 346.601, 242.8]},
{t: 'C', p: [340.201, 243.6, 314.981, 219.793, 329.801, 251.6]},
{t: 'C', p: [352.028, 299.307, 269.041, 289.227, 254.6, 279.6]},
{t: 'C', p: [237.8, 268.4, 261.8, 298, 261.8, 298]},
{t: 'C', p: [280.2, 318.001, 245.8, 301.2, 245.8, 301.2]},
{t: 'C', p: [211.4, 288.4, 187.4, 314.001, 184.2, 314.801]},
{t: 'C', p: [181, 315.601, 176.2, 318.801, 175.4, 312.401]},
{t: 'C', p: [174.6, 306, 168.535, 291.144, 135.4, 315.601]},
{t: 'C', p: [101.8, 340.401, 91.4, 324.401, 91.4, 324.401]},
{t: 'L', p: [84.2, 319.601]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [125.8, 349.601]},
{t: 'C', p: [125.8, 349.601, 118.6, 361.201, 139.4, 374.401]},
{t: 'C', p: [139.4, 374.401, 140.8, 375.801, 122.8, 371.601]},
{t: 'C', p: [122.8, 371.601, 116.6, 369.601, 115, 359.201]},
{t: 'C', p: [115, 359.201, 110.2, 354.801, 105.4, 349.201]},
{t: 'C', p: [100.6, 343.601, 125.8, 349.601, 125.8, 349.601]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [265.8, 302]},
{t: 'C', p: [265.8, 302, 283.498, 328.821, 282.9, 333.601]},
{t: 'C', p: [281.6, 344.001, 281.4, 353.601, 284.6, 357.601]},
{t: 'C', p: [287.801, 361.601, 296.601, 394.801, 296.601, 394.801]},
{t: 'C', p: [296.601, 394.801, 296.201, 396.001, 308.601, 358.001]},
{t: 'C', p: [308.601, 358.001, 320.201, 342.001, 300.201, 323.601]},
{t: 'C', p: [300.201, 323.601, 265, 294.8, 265.8, 302]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [145.8, 376.401]},
{t: 'C', p: [145.8, 376.401, 157, 383.601, 142.6, 414.801]},
{t: 'L', p: [149, 412.401]},
{t: 'C', p: [149, 412.401, 148.2, 423.601, 145, 426.001]},
{t: 'L', p: [152.2, 422.801]},
{t: 'C', p: [152.2, 422.801, 157, 430.801, 153, 435.601]},
{t: 'C', p: [153, 435.601, 169.8, 443.601, 169, 450.001]},
{t: 'C', p: [169, 450.001, 175.4, 442.001, 171.4, 435.601]},
{t: 'C', p: [167.4, 429.201, 160.2, 433.201, 161, 414.801]},
{t: 'L', p: [152.2, 418.001]},
{t: 'C', p: [152.2, 418.001, 157.8, 409.201, 157.8, 402.801]},
{t: 'L', p: [149.8, 405.201]},
{t: 'C', p: [149.8, 405.201, 165.269, 378.623, 154.6, 377.201]},
{t: 'C', p: [148.6, 376.401, 145.8, 376.401, 145.8, 376.401]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [178.2, 393.201]},
{t: 'C', p: [178.2, 393.201, 181, 388.801, 178.2, 389.601]},
{t: 'C', p: [175.4, 390.401, 144.2, 405.201, 138.2, 414.801]},
{t: 'C', p: [138.2, 414.801, 172.6, 390.401, 178.2, 393.201]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [188.6, 401.201]},
{t: 'C', p: [188.6, 401.201, 191.4, 396.801, 188.6, 397.601]},
{t: 'C', p: [185.8, 398.401, 154.6, 413.201, 148.6, 422.801]},
{t: 'C', p: [148.6, 422.801, 183, 398.401, 188.6, 401.201]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [201.8, 386.001]},
{t: 'C', p: [201.8, 386.001, 204.6, 381.601, 201.8, 382.401]},
{t: 'C', p: [199, 383.201, 167.8, 398.001, 161.8, 407.601]},
{t: 'C', p: [161.8, 407.601, 196.2, 383.201, 201.8, 386.001]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [178.6, 429.601]},
{t: 'C', p: [178.6, 429.601, 178.6, 423.601, 175.8, 424.401]},
{t: 'C', p: [173, 425.201, 137, 442.801, 131, 452.401]},
{t: 'C', p: [131, 452.401, 173, 426.801, 178.6, 429.601]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [179.8, 418.801]},
{t: 'C', p: [179.8, 418.801, 181, 414.001, 178.2, 414.801]},
{t: 'C', p: [176.2, 414.801, 149.8, 426.401, 143.8, 436.001]},
{t: 'C', p: [143.8, 436.001, 173.4, 414.401, 179.8, 418.801]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [165.4, 466.401]},
{t: 'L', p: [155.4, 474.001]},
{t: 'C', p: [155.4, 474.001, 165.8, 466.401, 169.4, 467.601]},
{t: 'C', p: [169.4, 467.601, 162.6, 478.801, 161.8, 484.001]},
{t: 'C', p: [161.8, 484.001, 172.2, 471.201, 177.8, 471.601]},
{t: 'C', p: [177.8, 471.601, 185.4, 472.001, 185.4, 482.801]},
{t: 'C', p: [185.4, 482.801, 191, 472.401, 194.2, 472.801]},
{t: 'C', p: [194.2, 472.801, 195.4, 479.201, 194.2, 486.001]},
{t: 'C', p: [194.2, 486.001, 198.2, 478.401, 202.2, 480.001]},
{t: 'C', p: [202.2, 480.001, 208.6, 478.001, 207.8, 489.601]},
{t: 'C', p: [207.8, 489.601, 207.8, 500.001, 207, 502.801]},
{t: 'C', p: [207, 502.801, 212.6, 476.401, 215, 476.001]},
{t: 'C', p: [215, 476.001, 223, 474.801, 227.8, 483.601]},
{t: 'C', p: [227.8, 483.601, 223.8, 476.001, 228.6, 478.001]},
{t: 'C', p: [228.6, 478.001, 239.4, 479.601, 242.6, 486.401]},
{t: 'C', p: [242.6, 486.401, 235.8, 474.401, 241.4, 477.601]},
{t: 'C', p: [241.4, 477.601, 248.2, 477.601, 249.4, 484.001]},
{t: 'C', p: [249.4, 484.001, 257.8, 505.201, 259.8, 506.801]},
{t: 'C', p: [259.8, 506.801, 252.2, 485.201, 253.8, 485.201]},
{t: 'C', p: [253.8, 485.201, 251.8, 473.201, 257, 488.001]},
{t: 'C', p: [257, 488.001, 253.8, 474.001, 259.4, 474.801]},
{t: 'C', p: [265, 475.601, 269.4, 485.601, 277.8, 483.201]},
{t: 'C', p: [277.8, 483.201, 287.401, 488.801, 289.401, 419.601]},
{t: 'L', p: [165.4, 466.401]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [170.2, 373.601]},
{t: 'C', p: [170.2, 373.601, 185, 367.601, 225, 373.601]},
{t: 'C', p: [225, 373.601, 232.2, 374.001, 239, 365.201]},
{t: 'C', p: [245.8, 356.401, 272.6, 349.201, 279, 351.201]},
{t: 'L', p: [288.601, 357.601]}, {t: 'L', p: [289.401, 358.801]},
{t: 'C', p: [289.401, 358.801, 301.801, 369.201, 302.201, 376.801]},
{t: 'C', p: [302.601, 384.401, 287.801, 432.401, 278.2, 448.401]},
{t: 'C', p: [268.6, 464.401, 259, 476.801, 239.8, 474.401]},
{t: 'C', p: [239.8, 474.401, 219, 470.401, 193.4, 474.401]},
{t: 'C', p: [193.4, 474.401, 164.2, 472.801, 161.4, 464.801]},
{t: 'C', p: [158.6, 456.801, 172.6, 441.601, 172.6, 441.601]},
{t: 'C', p: [172.6, 441.601, 177, 433.201, 175.8, 418.801]},
{t: 'C', p: [174.6, 404.401, 175, 376.401, 170.2, 373.601]},
{t: 'z', p: []}
]
},
{
f: '#e5668c',
s: null,
p: [
{t: 'M', p: [192.2, 375.601]},
{t: 'C', p: [200.6, 394.001, 171, 459.201, 171, 459.201]},
{t: 'C', p: [169, 460.801, 183.66, 466.846, 193.8, 464.401]},
{t: 'C', p: [204.746, 461.763, 245, 466.001, 245, 466.001]},
{t: 'C', p: [268.6, 450.401, 281.4, 406.001, 281.4, 406.001]},
{t: 'C', p: [281.4, 406.001, 291.801, 382.001, 274.2, 378.801]},
{t: 'C', p: [256.6, 375.601, 192.2, 375.601, 192.2, 375.601]},
{t: 'z', p: []}
]
},
{
f: '#b23259',
s: null,
p: [
{t: 'M', p: [190.169, 406.497]},
{t: 'C', p: [193.495, 393.707, 195.079, 381.906, 192.2, 375.601]},
{t: 'C', p: [192.2, 375.601, 254.6, 382.001, 265.8, 361.201]},
{t: 'C', p: [270.041, 353.326, 284.801, 384.001, 284.4, 393.601]},
{t: 'C', p: [284.4, 393.601, 221.4, 408.001, 206.6, 396.801]},
{t: 'L', p: [190.169, 406.497]}, {t: 'z', p: []}
]
},
{
f: '#a5264c',
s: null,
p: [
{t: 'M', p: [194.6, 422.801]},
{t: 'C', p: [194.6, 422.801, 196.6, 430.001, 194.2, 434.001]},
{t: 'C', p: [194.2, 434.001, 192.6, 434.801, 191.4, 435.201]},
{t: 'C', p: [191.4, 435.201, 192.6, 438.801, 198.6, 440.401]},
{t: 'C', p: [198.6, 440.401, 200.6, 444.801, 203, 445.201]},
{t: 'C', p: [205.4, 445.601, 210.2, 451.201, 214.2, 450.001]},
{t: 'C', p: [218.2, 448.801, 229.4, 444.801, 229.4, 444.801]},
{t: 'C', p: [229.4, 444.801, 235, 441.601, 243.8, 445.201]},
{t: 'C', p: [243.8, 445.201, 246.175, 444.399, 246.6, 440.401]},
{t: 'C', p: [247.1, 435.701, 250.2, 432.001, 252.2, 430.001]},
{t: 'C', p: [254.2, 428.001, 263.8, 415.201, 262.6, 414.801]},
{t: 'C', p: [261.4, 414.401, 194.6, 422.801, 194.6, 422.801]},
{t: 'z', p: []}
]
},
{
f: '#ff727f',
s: '#000',
p: [
{t: 'M', p: [190.2, 374.401]},
{t: 'C', p: [190.2, 374.401, 187.4, 396.801, 190.6, 405.201]},
{t: 'C', p: [193.8, 413.601, 193, 415.601, 192.2, 419.601]},
{t: 'C', p: [191.4, 423.601, 195.8, 433.601, 201.4, 439.601]},
{t: 'L', p: [213.4, 441.201]},
{t: 'C', p: [213.4, 441.201, 228.6, 437.601, 237.8, 440.401]},
{t: 'C', p: [237.8, 440.401, 246.794, 441.744, 250.2, 426.801]},
{t: 'C', p: [250.2, 426.801, 255, 420.401, 262.2, 417.601]},
{t: 'C', p: [269.4, 414.801, 276.6, 373.201, 272.6, 365.201]},
{t: 'C', p: [268.6, 357.201, 254.2, 352.801, 238.2, 368.401]},
{t: 'C', p: [222.2, 384.001, 220.2, 367.201, 190.2, 374.401]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [191.8, 449.201]},
{t: 'C', p: [191.8, 449.201, 191, 447.201, 186.6, 446.801]},
{t: 'C', p: [186.6, 446.801, 164.2, 443.201, 155.8, 430.801]},
{t: 'C', p: [155.8, 430.801, 149, 425.201, 153.4, 436.801]},
{t: 'C', p: [153.4, 436.801, 163.8, 457.201, 170.6, 460.001]},
{t: 'C', p: [170.6, 460.001, 187, 464.001, 191.8, 449.201]},
{t: 'z', p: []}
]
},
{
f: '#cc3f4c',
s: null,
p: [
{t: 'M', p: [271.742, 385.229]},
{t: 'C', p: [272.401, 377.323, 274.354, 368.709, 272.6, 365.201]},
{t: 'C', p: [266.154, 352.307, 249.181, 357.695, 238.2, 368.401]},
{t: 'C', p: [222.2, 384.001, 220.2, 367.201, 190.2, 374.401]},
{t: 'C', p: [190.2, 374.401, 188.455, 388.364, 189.295, 398.376]},
{t: 'C', p: [189.295, 398.376, 226.6, 386.801, 227.4, 392.401]},
{t: 'C', p: [227.4, 392.401, 229, 389.201, 238.2, 389.201]},
{t: 'C', p: [247.4, 389.201, 270.142, 388.029, 271.742, 385.229]},
{t: 'z', p: []}
]
},
{
f: null,
s: {c: '#a51926', w: 2},
p: [
{t: 'M', p: [228.6, 375.201]},
{t: 'C', p: [228.6, 375.201, 233.4, 380.001, 229.8, 389.601]},
{t: 'C', p: [229.8, 389.601, 215.4, 405.601, 217.4, 419.601]}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [180.6, 460.001]},
{t: 'C', p: [180.6, 460.001, 176.2, 447.201, 185, 454.001]},
{t: 'C', p: [185, 454.001, 189.8, 456.001, 188.6, 457.601]},
{t: 'C', p: [187.4, 459.201, 181.8, 463.201, 180.6, 460.001]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [185.64, 461.201]},
{t: 'C', p: [185.64, 461.201, 182.12, 450.961, 189.16, 456.401]},
{t: 'C', p: [189.16, 456.401, 193.581, 458.849, 192.04, 459.281]},
{t: 'C', p: [187.48, 460.561, 192.04, 463.121, 185.64, 461.201]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [190.44, 461.201]},
{t: 'C', p: [190.44, 461.201, 186.92, 450.961, 193.96, 456.401]},
{t: 'C', p: [193.96, 456.401, 198.335, 458.711, 196.84, 459.281]},
{t: 'C', p: [193.48, 460.561, 196.84, 463.121, 190.44, 461.201]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [197.04, 461.401]},
{t: 'C', p: [197.04, 461.401, 193.52, 451.161, 200.56, 456.601]},
{t: 'C', p: [200.56, 456.601, 204.943, 458.933, 203.441, 459.481]},
{t: 'C', p: [200.48, 460.561, 203.441, 463.321, 197.04, 461.401]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [203.52, 461.321]},
{t: 'C', p: [203.52, 461.321, 200, 451.081, 207.041, 456.521]},
{t: 'C', p: [207.041, 456.521, 210.881, 458.121, 209.921, 459.401]},
{t: 'C', p: [208.961, 460.681, 209.921, 463.241, 203.52, 461.321]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [210.2, 462.001]},
{t: 'C', p: [210.2, 462.001, 205.4, 449.601, 214.6, 456.001]},
{t: 'C', p: [214.6, 456.001, 219.4, 458.001, 218.2, 459.601]},
{t: 'C', p: [217, 461.201, 218.2, 464.401, 210.2, 462.001]},
{t: 'z', p: []}
]
},
{
f: null,
s: {c: '#a5264c', w: 2},
p: [
{t: 'M', p: [181.8, 444.801]},
{t: 'C', p: [181.8, 444.801, 195, 442.001, 201, 445.201]},
{t: 'C', p: [201, 445.201, 207, 446.401, 208.2, 446.001]},
{t: 'C', p: [209.4, 445.601, 212.6, 445.201, 212.6, 445.201]}
]
},
{
f: null,
s: {c: '#a5264c', w: 2},
p: [
{t: 'M', p: [215.8, 453.601]},
{t: 'C', p: [215.8, 453.601, 227.8, 440.001, 239.8, 444.401]},
{t: 'C', p: [246.816, 446.974, 245.8, 443.601, 246.6, 440.801]},
{t: 'C', p: [247.4, 438.001, 247.6, 433.801, 252.6, 430.801]}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [233, 437.601]},
{t: 'C', p: [233, 437.601, 229, 426.801, 226.2, 439.601]},
{t: 'C', p: [223.4, 452.401, 220.2, 456.001, 218.6, 458.801]},
{t: 'C', p: [218.6, 458.801, 218.6, 464.001, 227, 463.601]},
{t: 'C', p: [227, 463.601, 237.8, 463.201, 238.2, 460.401]},
{t: 'C', p: [238.6, 457.601, 237, 446.001, 233, 437.601]},
{t: 'z', p: []}
]
},
{
f: null,
s: {c: '#a5264c', w: 2},
p: [
{t: 'M', p: [247, 444.801]},
{t: 'C', p: [247, 444.801, 250.6, 442.401, 253, 443.601]}
]
},
{
f: null,
s: {c: '#a5264c', w: 2},
p: [
{t: 'M', p: [253.5, 428.401]},
{t: 'C', p: [253.5, 428.401, 256.4, 423.501, 261.2, 422.701]}
]
},
{
f: '#b2b2b2',
s: null,
p: [
{t: 'M', p: [174.2, 465.201]},
{t: 'C', p: [174.2, 465.201, 192.2, 468.401, 196.6, 466.801]},
{t: 'C', p: [196.6, 466.801, 205.4, 466.801, 197, 468.801]},
{t: 'C', p: [197, 468.801, 184.2, 468.801, 176.2, 467.601]},
{t: 'C', p: [176.2, 467.601, 164.6, 462.001, 174.2, 465.201]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [188.2, 372.001]},
{t: 'C', p: [188.2, 372.001, 205.8, 372.001, 207.8, 372.801]},
{t: 'C', p: [207.8, 372.801, 215, 403.601, 211.4, 411.201]},
{t: 'C', p: [211.4, 411.201, 210.2, 414.001, 207.4, 408.401]},
{t: 'C', p: [207.4, 408.401, 189, 375.601, 185.8, 373.601]},
{t: 'C', p: [182.6, 371.601, 187, 372.001, 188.2, 372.001]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [111.1, 369.301]},
{t: 'C', p: [111.1, 369.301, 120, 371.001, 132.6, 373.601]},
{t: 'C', p: [132.6, 373.601, 137.4, 396.001, 140.6, 400.801]},
{t: 'C', p: [143.8, 405.601, 140.2, 405.601, 136.6, 402.801]},
{t: 'C', p: [133, 400.001, 118.2, 386.001, 116.2, 381.601]},
{t: 'C', p: [114.2, 377.201, 111.1, 369.301, 111.1, 369.301]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [132.961, 373.818]},
{t: 'C', p: [132.961, 373.818, 138.761, 375.366, 139.77, 377.581]},
{t: 'C', p: [140.778, 379.795, 138.568, 383.092, 138.568, 383.092]},
{t: 'C', p: [138.568, 383.092, 137.568, 386.397, 136.366, 384.235]},
{t: 'C', p: [135.164, 382.072, 132.292, 374.412, 132.961, 373.818]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [133, 373.601]},
{t: 'C', p: [133, 373.601, 136.6, 378.801, 140.2, 378.801]},
{t: 'C', p: [143.8, 378.801, 144.182, 378.388, 147, 379.001]},
{t: 'C', p: [151.6, 380.001, 151.2, 378.001, 157.8, 379.201]},
{t: 'C', p: [160.44, 379.681, 163, 378.801, 165.8, 380.001]},
{t: 'C', p: [168.6, 381.201, 171.8, 380.401, 173, 378.401]},
{t: 'C', p: [174.2, 376.401, 179, 372.201, 179, 372.201]},
{t: 'C', p: [179, 372.201, 166.2, 374.001, 163.4, 374.801]},
{t: 'C', p: [163.4, 374.801, 141, 376.001, 133, 373.601]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [177.6, 373.801]},
{t: 'C', p: [177.6, 373.801, 171.15, 377.301, 170.75, 379.701]},
{t: 'C', p: [170.35, 382.101, 176, 385.801, 176, 385.801]},
{t: 'C', p: [176, 385.801, 178.75, 390.401, 179.35, 388.001]},
{t: 'C', p: [179.95, 385.601, 178.4, 374.201, 177.6, 373.801]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [140.115, 379.265]},
{t: 'C', p: [140.115, 379.265, 147.122, 390.453, 147.339, 379.242]},
{t: 'C', p: [147.339, 379.242, 147.896, 377.984, 146.136, 377.962]},
{t: 'C', p: [140.061, 377.886, 141.582, 373.784, 140.115, 379.265]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [147.293, 379.514]},
{t: 'C', p: [147.293, 379.514, 155.214, 390.701, 154.578, 379.421]},
{t: 'C', p: [154.578, 379.421, 154.585, 379.089, 152.832, 378.936]},
{t: 'C', p: [148.085, 378.522, 148.43, 374.004, 147.293, 379.514]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [154.506, 379.522]},
{t: 'C', p: [154.506, 379.522, 162.466, 390.15, 161.797, 380.484]},
{t: 'C', p: [161.797, 380.484, 161.916, 379.251, 160.262, 378.95]},
{t: 'C', p: [156.37, 378.244, 156.159, 374.995, 154.506, 379.522]},
{t: 'z', p: []}
]
},
{
f: '#ffc',
s: {c: '#000', w: 0.5},
p: [
{t: 'M', p: [161.382, 379.602]},
{t: 'C', p: [161.382, 379.602, 169.282, 391.163, 169.63, 381.382]},
{t: 'C', p: [169.63, 381.382, 171.274, 380.004, 169.528, 379.782]},
{t: 'C', p: [163.71, 379.042, 164.508, 374.588, 161.382, 379.602]},
{t: 'z', p: []}
]
},
{
f: '#e5e5b2',
s: null,
p: [
{t: 'M', p: [125.208, 383.132]}, {t: 'L', p: [117.55, 381.601]},
{t: 'C', p: [114.95, 376.601, 112.85, 370.451, 112.85, 370.451]},
{t: 'C', p: [112.85, 370.451, 119.2, 371.451, 131.7, 374.251]},
{t: 'C', p: [131.7, 374.251, 132.576, 377.569, 134.048, 383.364]},
{t: 'L', p: [125.208, 383.132]}, {t: 'z', p: []}
]
},
{
f: '#e5e5b2',
s: null,
p: [
{t: 'M', p: [190.276, 378.47]},
{t: 'C', p: [188.61, 375.964, 187.293, 374.206, 186.643, 373.8]},
{t: 'C', p: [183.63, 371.917, 187.773, 372.294, 188.902, 372.294]},
{t: 'C', p: [188.902, 372.294, 205.473, 372.294, 207.356, 373.047]},
{t: 'C', p: [207.356, 373.047, 207.88, 375.289, 208.564, 378.68]},
{t: 'C', p: [208.564, 378.68, 198.476, 376.67, 190.276, 378.47]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [243.88, 240.321]},
{t: 'C', p: [271.601, 244.281, 297.121, 208.641, 298.881, 198.96]},
{t: 'C', p: [300.641, 189.28, 290.521, 177.4, 290.521, 177.4]},
{t: 'C', p: [291.841, 174.32, 287.001, 160.24, 281.721, 151]},
{t: 'C', p: [276.441, 141.76, 260.54, 142.734, 243, 141.76]},
{t: 'C', p: [227.16, 140.88, 208.68, 164.2, 207.36, 165.96]},
{t: 'C', p: [206.04, 167.72, 212.2, 206.001, 213.52, 211.721]},
{t: 'C', p: [214.84, 217.441, 212.2, 243.841, 212.2, 243.841]},
{t: 'C', p: [246.44, 234.741, 216.16, 236.361, 243.88, 240.321]},
{t: 'z', p: []}
]
},
{
f: '#ea8e51',
s: null,
p: [
{t: 'M', p: [208.088, 166.608]},
{t: 'C', p: [206.792, 168.336, 212.84, 205.921, 214.136, 211.537]},
{t: 'C', p: [215.432, 217.153, 212.84, 243.073, 212.84, 243.073]},
{t: 'C', p: [245.512, 234.193, 216.728, 235.729, 243.944, 239.617]},
{t: 'C', p: [271.161, 243.505, 296.217, 208.513, 297.945, 199.008]},
{t: 'C', p: [299.673, 189.504, 289.737, 177.84, 289.737, 177.84]},
{t: 'C', p: [291.033, 174.816, 286.281, 160.992, 281.097, 151.92]},
{t: 'C', p: [275.913, 142.848, 260.302, 143.805, 243.08, 142.848]},
{t: 'C', p: [227.528, 141.984, 209.384, 164.88, 208.088, 166.608]},
{t: 'z', p: []}
]
},
{
f: '#efaa7c',
s: null,
p: [
{t: 'M', p: [208.816, 167.256]},
{t: 'C', p: [207.544, 168.952, 213.48, 205.841, 214.752, 211.353]},
{t: 'C', p: [216.024, 216.865, 213.48, 242.305, 213.48, 242.305]},
{t: 'C', p: [244.884, 233.145, 217.296, 235.097, 244.008, 238.913]},
{t: 'C', p: [270.721, 242.729, 295.313, 208.385, 297.009, 199.056]},
{t: 'C', p: [298.705, 189.728, 288.953, 178.28, 288.953, 178.28]},
{t: 'C', p: [290.225, 175.312, 285.561, 161.744, 280.473, 152.84]},
{t: 'C', p: [275.385, 143.936, 260.063, 144.875, 243.16, 143.936]},
{t: 'C', p: [227.896, 143.088, 210.088, 165.56, 208.816, 167.256]},
{t: 'z', p: []}
]
},
{
f: '#f4c6a8',
s: null,
p: [
{t: 'M', p: [209.544, 167.904]},
{t: 'C', p: [208.296, 169.568, 214.12, 205.761, 215.368, 211.169]},
{t: 'C', p: [216.616, 216.577, 214.12, 241.537, 214.12, 241.537]},
{t: 'C', p: [243.556, 232.497, 217.864, 234.465, 244.072, 238.209]},
{t: 'C', p: [270.281, 241.953, 294.409, 208.257, 296.073, 199.105]},
{t: 'C', p: [297.737, 189.952, 288.169, 178.72, 288.169, 178.72]},
{t: 'C', p: [289.417, 175.808, 284.841, 162.496, 279.849, 153.76]},
{t: 'C', p: [274.857, 145.024, 259.824, 145.945, 243.24, 145.024]},
{t: 'C', p: [228.264, 144.192, 210.792, 166.24, 209.544, 167.904]},
{t: 'z', p: []}
]
},
{
f: '#f9e2d3',
s: null,
p: [
{t: 'M', p: [210.272, 168.552]},
{t: 'C', p: [209.048, 170.184, 214.76, 205.681, 215.984, 210.985]},
{t: 'C', p: [217.208, 216.289, 214.76, 240.769, 214.76, 240.769]},
{t: 'C', p: [242.628, 231.849, 218.432, 233.833, 244.136, 237.505]},
{t: 'C', p: [269.841, 241.177, 293.505, 208.129, 295.137, 199.152]},
{t: 'C', p: [296.769, 190.176, 287.385, 179.16, 287.385, 179.16]},
{t: 'C', p: [288.609, 176.304, 284.121, 163.248, 279.225, 154.68]},
{t: 'C', p: [274.329, 146.112, 259.585, 147.015, 243.32, 146.112]},
{t: 'C', p: [228.632, 145.296, 211.496, 166.92, 210.272, 168.552]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [244.2, 236.8]},
{t: 'C', p: [269.4, 240.4, 292.601, 208, 294.201, 199.2]},
{t: 'C', p: [295.801, 190.4, 286.601, 179.6, 286.601, 179.6]},
{t: 'C', p: [287.801, 176.8, 283.4, 164, 278.6, 155.6]},
{t: 'C', p: [273.8, 147.2, 259.346, 148.086, 243.4, 147.2]},
{t: 'C', p: [229, 146.4, 212.2, 167.6, 211, 169.2]},
{t: 'C', p: [209.8, 170.8, 215.4, 205.6, 216.6, 210.8]},
{t: 'C', p: [217.8, 216, 215.4, 240, 215.4, 240]},
{t: 'C', p: [240.9, 231.4, 219, 233.2, 244.2, 236.8]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [290.601, 202.8]},
{t: 'C', p: [290.601, 202.8, 262.8, 210.4, 251.2, 208.8]},
{t: 'C', p: [251.2, 208.8, 235.4, 202.2, 226.6, 224]},
{t: 'C', p: [226.6, 224, 223, 231.2, 221, 233.2]},
{t: 'C', p: [219, 235.2, 290.601, 202.8, 290.601, 202.8]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [294.401, 200.6]},
{t: 'C', p: [294.401, 200.6, 265.4, 212.8, 255.4, 212.4]},
{t: 'C', p: [255.4, 212.4, 239, 207.8, 230.6, 222.4]},
{t: 'C', p: [230.6, 222.4, 222.2, 231.6, 219, 233.2]},
{t: 'C', p: [219, 233.2, 218.6, 234.8, 225, 230.8]},
{t: 'L', p: [235.4, 236]},
{t: 'C', p: [235.4, 236, 250.2, 245.6, 259.8, 229.6]},
{t: 'C', p: [259.8, 229.6, 263.8, 218.4, 263.8, 216.4]},
{t: 'C', p: [263.8, 214.4, 285, 208.8, 286.601, 208.4]},
{t: 'C', p: [288.201, 208, 294.801, 203.8, 294.401, 200.6]},
{t: 'z', p: []}
]
},
{
f: '#99cc32',
s: null,
p: [
{t: 'M', p: [247, 236.514]},
{t: 'C', p: [240.128, 236.514, 231.755, 232.649, 231.755, 226.4]},
{t: 'C', p: [231.755, 220.152, 240.128, 213.887, 247, 213.887]},
{t: 'C', p: [253.874, 213.887, 259.446, 218.952, 259.446, 225.2]},
{t: 'C', p: [259.446, 231.449, 253.874, 236.514, 247, 236.514]},
{t: 'z', p: []}
]
},
{
f: '#659900',
s: null,
p: [
{t: 'M', p: [243.377, 219.83]},
{t: 'C', p: [238.531, 220.552, 233.442, 222.055, 233.514, 221.839]},
{t: 'C', p: [235.054, 217.22, 241.415, 213.887, 247, 213.887]},
{t: 'C', p: [251.296, 213.887, 255.084, 215.865, 257.32, 218.875]},
{t: 'C', p: [257.32, 218.875, 252.004, 218.545, 243.377, 219.83]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [255.4, 219.6]},
{t: 'C', p: [255.4, 219.6, 251, 216.4, 251, 218.6]},
{t: 'C', p: [251, 218.6, 254.6, 223, 255.4, 219.6]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [245.4, 227.726]},
{t: 'C', p: [242.901, 227.726, 240.875, 225.7, 240.875, 223.2]},
{t: 'C', p: [240.875, 220.701, 242.901, 218.675, 245.4, 218.675]},
{t: 'C', p: [247.9, 218.675, 249.926, 220.701, 249.926, 223.2]},
{t: 'C', p: [249.926, 225.7, 247.9, 227.726, 245.4, 227.726]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [141.4, 214.4]},
{t: 'C', p: [141.4, 214.4, 138.2, 193.2, 140.6, 188.8]},
{t: 'C', p: [140.6, 188.8, 151.4, 178.8, 151, 175.2]},
{t: 'C', p: [151, 175.2, 150.6, 157.2, 149.4, 156.4]},
{t: 'C', p: [148.2, 155.6, 140.6, 149.6, 134.6, 156]},
{t: 'C', p: [134.6, 156, 124.2, 174, 125, 180.4]},
{t: 'L', p: [125, 182.4]},
{t: 'C', p: [125, 182.4, 117.4, 182, 115.8, 184]},
{t: 'C', p: [115.8, 184, 114.6, 189.2, 113.4, 189.6]},
{t: 'C', p: [113.4, 189.6, 110.6, 192, 112.6, 194.8]},
{t: 'C', p: [112.6, 194.8, 110.6, 197.2, 111, 201.2]},
{t: 'L', p: [118.6, 205.2]},
{t: 'C', p: [118.6, 205.2, 120.6, 219.6, 131.4, 224.8]},
{t: 'C', p: [136.236, 227.129, 139.4, 220.4, 141.4, 214.4]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [140.4, 212.56]},
{t: 'C', p: [140.4, 212.56, 137.52, 193.48, 139.68, 189.52]},
{t: 'C', p: [139.68, 189.52, 149.4, 180.52, 149.04, 177.28]},
{t: 'C', p: [149.04, 177.28, 148.68, 161.08, 147.6, 160.36]},
{t: 'C', p: [146.52, 159.64, 139.68, 154.24, 134.28, 160]},
{t: 'C', p: [134.28, 160, 124.92, 176.2, 125.64, 181.96]},
{t: 'L', p: [125.64, 183.76]},
{t: 'C', p: [125.64, 183.76, 118.8, 183.4, 117.36, 185.2]},
{t: 'C', p: [117.36, 185.2, 116.28, 189.88, 115.2, 190.24]},
{t: 'C', p: [115.2, 190.24, 112.68, 192.4, 114.48, 194.92]},
{t: 'C', p: [114.48, 194.92, 112.68, 197.08, 113.04, 200.68]},
{t: 'L', p: [119.88, 204.28]},
{t: 'C', p: [119.88, 204.28, 121.68, 217.24, 131.4, 221.92]},
{t: 'C', p: [135.752, 224.015, 138.6, 217.96, 140.4, 212.56]},
{t: 'z', p: []}
]
},
{
f: '#eb955c',
s: null,
p: [
{t: 'M', p: [148.95, 157.39]},
{t: 'C', p: [147.86, 156.53, 140.37, 150.76, 134.52, 157]},
{t: 'C', p: [134.52, 157, 124.38, 174.55, 125.16, 180.79]},
{t: 'L', p: [125.16, 182.74]},
{t: 'C', p: [125.16, 182.74, 117.75, 182.35, 116.19, 184.3]},
{t: 'C', p: [116.19, 184.3, 115.02, 189.37, 113.85, 189.76]},
{t: 'C', p: [113.85, 189.76, 111.12, 192.1, 113.07, 194.83]},
{t: 'C', p: [113.07, 194.83, 111.12, 197.17, 111.51, 201.07]},
{t: 'L', p: [118.92, 204.97]},
{t: 'C', p: [118.92, 204.97, 120.87, 219.01, 131.4, 224.08]},
{t: 'C', p: [136.114, 226.35, 139.2, 219.79, 141.15, 213.94]},
{t: 'C', p: [141.15, 213.94, 138.03, 193.27, 140.37, 188.98]},
{t: 'C', p: [140.37, 188.98, 150.9, 179.23, 150.51, 175.72]},
{t: 'C', p: [150.51, 175.72, 150.12, 158.17, 148.95, 157.39]},
{t: 'z', p: []}
]
},
{
f: '#f2b892',
s: null,
p: [
{t: 'M', p: [148.5, 158.38]},
{t: 'C', p: [147.52, 157.46, 140.14, 151.92, 134.44, 158]},
{t: 'C', p: [134.44, 158, 124.56, 175.1, 125.32, 181.18]},
{t: 'L', p: [125.32, 183.08]},
{t: 'C', p: [125.32, 183.08, 118.1, 182.7, 116.58, 184.6]},
{t: 'C', p: [116.58, 184.6, 115.44, 189.54, 114.3, 189.92]},
{t: 'C', p: [114.3, 189.92, 111.64, 192.2, 113.54, 194.86]},
{t: 'C', p: [113.54, 194.86, 111.64, 197.14, 112.02, 200.94]},
{t: 'L', p: [119.24, 204.74]},
{t: 'C', p: [119.24, 204.74, 121.14, 218.42, 131.4, 223.36]},
{t: 'C', p: [135.994, 225.572, 139, 219.18, 140.9, 213.48]},
{t: 'C', p: [140.9, 213.48, 137.86, 193.34, 140.14, 189.16]},
{t: 'C', p: [140.14, 189.16, 150.4, 179.66, 150.02, 176.24]},
{t: 'C', p: [150.02, 176.24, 149.64, 159.14, 148.5, 158.38]},
{t: 'z', p: []}
]
},
{
f: '#f8dcc8',
s: null,
p: [
{t: 'M', p: [148.05, 159.37]},
{t: 'C', p: [147.18, 158.39, 139.91, 153.08, 134.36, 159]},
{t: 'C', p: [134.36, 159, 124.74, 175.65, 125.48, 181.57]},
{t: 'L', p: [125.48, 183.42]},
{t: 'C', p: [125.48, 183.42, 118.45, 183.05, 116.97, 184.9]},
{t: 'C', p: [116.97, 184.9, 115.86, 189.71, 114.75, 190.08]},
{t: 'C', p: [114.75, 190.08, 112.16, 192.3, 114.01, 194.89]},
{t: 'C', p: [114.01, 194.89, 112.16, 197.11, 112.53, 200.81]},
{t: 'L', p: [119.56, 204.51]},
{t: 'C', p: [119.56, 204.51, 121.41, 217.83, 131.4, 222.64]},
{t: 'C', p: [135.873, 224.794, 138.8, 218.57, 140.65, 213.02]},
{t: 'C', p: [140.65, 213.02, 137.69, 193.41, 139.91, 189.34]},
{t: 'C', p: [139.91, 189.34, 149.9, 180.09, 149.53, 176.76]},
{t: 'C', p: [149.53, 176.76, 149.16, 160.11, 148.05, 159.37]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [140.4, 212.46]},
{t: 'C', p: [140.4, 212.46, 137.52, 193.48, 139.68, 189.52]},
{t: 'C', p: [139.68, 189.52, 149.4, 180.52, 149.04, 177.28]},
{t: 'C', p: [149.04, 177.28, 148.68, 161.08, 147.6, 160.36]},
{t: 'C', p: [146.84, 159.32, 139.68, 154.24, 134.28, 160]},
{t: 'C', p: [134.28, 160, 124.92, 176.2, 125.64, 181.96]},
{t: 'L', p: [125.64, 183.76]},
{t: 'C', p: [125.64, 183.76, 118.8, 183.4, 117.36, 185.2]},
{t: 'C', p: [117.36, 185.2, 116.28, 189.88, 115.2, 190.24]},
{t: 'C', p: [115.2, 190.24, 112.68, 192.4, 114.48, 194.92]},
{t: 'C', p: [114.48, 194.92, 112.68, 197.08, 113.04, 200.68]},
{t: 'L', p: [119.88, 204.28]},
{t: 'C', p: [119.88, 204.28, 121.68, 217.24, 131.4, 221.92]},
{t: 'C', p: [135.752, 224.015, 138.6, 217.86, 140.4, 212.46]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [137.3, 206.2]},
{t: 'C', p: [137.3, 206.2, 115.7, 196, 114.8, 195.2]},
{t: 'C', p: [114.8, 195.2, 123.9, 203.4, 124.7, 203.4]},
{t: 'C', p: [125.5, 203.4, 137.3, 206.2, 137.3, 206.2]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [120.2, 200]},
{t: 'C', p: [120.2, 200, 138.6, 203.6, 138.6, 208]},
{t: 'C', p: [138.6, 210.912, 138.357, 224.331, 133, 222.8]},
{t: 'C', p: [124.6, 220.4, 128.2, 206, 120.2, 200]}, {t: 'z', p: []}
]
},
{
f: '#99cc32',
s: null,
p: [
{t: 'M', p: [128.6, 203.8]},
{t: 'C', p: [128.6, 203.8, 137.578, 205.274, 138.6, 208]},
{t: 'C', p: [139.2, 209.6, 139.863, 217.908, 134.4, 219]},
{t: 'C', p: [129.848, 219.911, 127.618, 209.69, 128.6, 203.8]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [214.595, 246.349]},
{t: 'C', p: [214.098, 244.607, 215.409, 244.738, 217.2, 244.2]},
{t: 'C', p: [219.2, 243.6, 231.4, 239.8, 232.2, 237.2]},
{t: 'C', p: [233, 234.6, 246.2, 239, 246.2, 239]},
{t: 'C', p: [248, 239.8, 252.4, 242.4, 252.4, 242.4]},
{t: 'C', p: [257.2, 243.6, 263.8, 244, 263.8, 244]},
{t: 'C', p: [266.2, 245, 269.6, 247.8, 269.6, 247.8]},
{t: 'C', p: [284.2, 258, 296.601, 250.8, 296.601, 250.8]},
{t: 'C', p: [316.601, 244.2, 310.601, 227, 310.601, 227]},
{t: 'C', p: [307.601, 218, 310.801, 214.6, 310.801, 214.6]},
{t: 'C', p: [311.001, 210.8, 318.201, 217.2, 318.201, 217.2]},
{t: 'C', p: [320.801, 221.4, 321.601, 226.4, 321.601, 226.4]},
{t: 'C', p: [329.601, 237.6, 326.201, 219.8, 326.201, 219.8]},
{t: 'C', p: [326.401, 218.8, 323.601, 215.2, 323.601, 214]},
{t: 'C', p: [323.601, 212.8, 321.801, 209.4, 321.801, 209.4]},
{t: 'C', p: [318.801, 206, 321.201, 199, 321.201, 199]},
{t: 'C', p: [323.001, 185.2, 320.801, 187, 320.801, 187]},
{t: 'C', p: [319.601, 185.2, 310.401, 195.2, 310.401, 195.2]},
{t: 'C', p: [308.201, 198.6, 302.201, 200.2, 302.201, 200.2]},
{t: 'C', p: [299.401, 202, 296.001, 200.6, 296.001, 200.6]},
{t: 'C', p: [293.401, 200.2, 287.801, 207.2, 287.801, 207.2]},
{t: 'C', p: [290.601, 207, 293.001, 211.4, 295.401, 211.6]},
{t: 'C', p: [297.801, 211.8, 299.601, 209.2, 301.201, 208.6]},
{t: 'C', p: [302.801, 208, 305.601, 213.8, 305.601, 213.8]},
{t: 'C', p: [306.001, 216.4, 300.401, 221.2, 300.401, 221.2]},
{t: 'C', p: [300.001, 225.8, 298.401, 224.2, 298.401, 224.2]},
{t: 'C', p: [295.401, 223.6, 294.201, 227.4, 293.201, 232]},
{t: 'C', p: [292.201, 236.6, 288.001, 237, 288.001, 237]},
{t: 'C', p: [286.401, 244.4, 285.2, 241.4, 285.2, 241.4]},
{t: 'C', p: [285, 235.8, 279, 241.6, 279, 241.6]},
{t: 'C', p: [277.8, 243.6, 273.2, 241.4, 273.2, 241.4]},
{t: 'C', p: [266.4, 239.4, 268.8, 237.4, 268.8, 237.4]},
{t: 'C', p: [270.6, 235.2, 281.8, 237.4, 281.8, 237.4]},
{t: 'C', p: [284, 235.8, 276, 231.8, 276, 231.8]},
{t: 'C', p: [275.4, 230, 276.4, 225.6, 276.4, 225.6]},
{t: 'C', p: [277.6, 222.4, 284.4, 216.8, 284.4, 216.8]},
{t: 'C', p: [293.801, 215.6, 291.001, 214, 291.001, 214]},
{t: 'C', p: [284.801, 208.8, 279, 216.4, 279, 216.4]},
{t: 'C', p: [276.8, 222.6, 259.4, 237.6, 259.4, 237.6]},
{t: 'C', p: [254.6, 241, 257.2, 234.2, 253.2, 237.6]},
{t: 'C', p: [249.2, 241, 228.6, 232, 228.6, 232]},
{t: 'C', p: [217.038, 230.807, 214.306, 246.549, 210.777, 243.429]},
{t: 'C', p: [210.777, 243.429, 216.195, 251.949, 214.595, 246.349]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [409.401, 80]},
{t: 'C', p: [409.401, 80, 383.801, 88, 381.001, 106.8]},
{t: 'C', p: [381.001, 106.8, 378.601, 129.6, 399.001, 147.2]},
{t: 'C', p: [399.001, 147.2, 399.401, 153.6, 401.401, 156.8]},
{t: 'C', p: [401.401, 156.8, 399.801, 161.6, 418.601, 154]},
{t: 'L', p: [445.801, 145.6]},
{t: 'C', p: [445.801, 145.6, 452.201, 143.2, 457.401, 134.4]},
{t: 'C', p: [462.601, 125.6, 477.801, 106.8, 474.201, 81.6]},
{t: 'C', p: [474.201, 81.6, 475.401, 70.4, 469.401, 70]},
{t: 'C', p: [469.401, 70, 461.001, 68.4, 453.801, 76]},
{t: 'C', p: [453.801, 76, 447.001, 79.2, 444.601, 78.8]},
{t: 'L', p: [409.401, 80]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [464.022, 79.01]},
{t: 'C', p: [464.022, 79.01, 466.122, 70.08, 461.282, 74.92]},
{t: 'C', p: [461.282, 74.92, 454.242, 80.64, 446.761, 80.64]},
{t: 'C', p: [446.761, 80.64, 432.241, 82.84, 427.841, 96.04]},
{t: 'C', p: [427.841, 96.04, 423.881, 122.88, 431.801, 128.6]},
{t: 'C', p: [431.801, 128.6, 436.641, 136.08, 443.681, 129.48]},
{t: 'C', p: [450.722, 122.88, 466.222, 92.65, 464.022, 79.01]},
{t: 'z', p: []}
]
},
{
f: '#323232',
s: null,
p: [
{t: 'M', p: [463.648, 79.368]},
{t: 'C', p: [463.648, 79.368, 465.738, 70.624, 460.986, 75.376]},
{t: 'C', p: [460.986, 75.376, 454.074, 80.992, 446.729, 80.992]},
{t: 'C', p: [446.729, 80.992, 432.473, 83.152, 428.153, 96.112]},
{t: 'C', p: [428.153, 96.112, 424.265, 122.464, 432.041, 128.08]},
{t: 'C', p: [432.041, 128.08, 436.793, 135.424, 443.705, 128.944]},
{t: 'C', p: [450.618, 122.464, 465.808, 92.76, 463.648, 79.368]},
{t: 'z', p: []}
]
},
{
f: '#666',
s: null,
p: [
{t: 'M', p: [463.274, 79.726]},
{t: 'C', p: [463.274, 79.726, 465.354, 71.168, 460.69, 75.832]},
{t: 'C', p: [460.69, 75.832, 453.906, 81.344, 446.697, 81.344]},
{t: 'C', p: [446.697, 81.344, 432.705, 83.464, 428.465, 96.184]},
{t: 'C', p: [428.465, 96.184, 424.649, 122.048, 432.281, 127.56]},
{t: 'C', p: [432.281, 127.56, 436.945, 134.768, 443.729, 128.408]},
{t: 'C', p: [450.514, 122.048, 465.394, 92.87, 463.274, 79.726]},
{t: 'z', p: []}
]
},
{
f: '#999',
s: null,
p: [
{t: 'M', p: [462.9, 80.084]},
{t: 'C', p: [462.9, 80.084, 464.97, 71.712, 460.394, 76.288]},
{t: 'C', p: [460.394, 76.288, 453.738, 81.696, 446.665, 81.696]},
{t: 'C', p: [446.665, 81.696, 432.937, 83.776, 428.777, 96.256]},
{t: 'C', p: [428.777, 96.256, 425.033, 121.632, 432.521, 127.04]},
{t: 'C', p: [432.521, 127.04, 437.097, 134.112, 443.753, 127.872]},
{t: 'C', p: [450.41, 121.632, 464.98, 92.98, 462.9, 80.084]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [462.526, 80.442]},
{t: 'C', p: [462.526, 80.442, 464.586, 72.256, 460.098, 76.744]},
{t: 'C', p: [460.098, 76.744, 453.569, 82.048, 446.633, 82.048]},
{t: 'C', p: [446.633, 82.048, 433.169, 84.088, 429.089, 96.328]},
{t: 'C', p: [429.089, 96.328, 425.417, 121.216, 432.761, 126.52]},
{t: 'C', p: [432.761, 126.52, 437.249, 133.456, 443.777, 127.336]},
{t: 'C', p: [450.305, 121.216, 464.566, 93.09, 462.526, 80.442]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [462.151, 80.8]},
{t: 'C', p: [462.151, 80.8, 464.201, 72.8, 459.801, 77.2]},
{t: 'C', p: [459.801, 77.2, 453.401, 82.4, 446.601, 82.4]},
{t: 'C', p: [446.601, 82.4, 433.401, 84.4, 429.401, 96.4]},
{t: 'C', p: [429.401, 96.4, 425.801, 120.8, 433.001, 126]},
{t: 'C', p: [433.001, 126, 437.401, 132.8, 443.801, 126.8]},
{t: 'C', p: [450.201, 120.8, 464.151, 93.2, 462.151, 80.8]},
{t: 'z', p: []}
]
},
{
f: '#992600',
s: null,
p: [
{t: 'M', p: [250.6, 284]},
{t: 'C', p: [250.6, 284, 230.2, 264.8, 222.2, 264]},
{t: 'C', p: [222.2, 264, 187.8, 260, 173, 278]},
{t: 'C', p: [173, 278, 190.6, 257.6, 218.2, 263.2]},
{t: 'C', p: [218.2, 263.2, 196.6, 258.8, 184.2, 262]},
{t: 'C', p: [184.2, 262, 167.4, 262, 157.8, 276]},
{t: 'L', p: [155, 280.8]},
{t: 'C', p: [155, 280.8, 159, 266, 177.4, 260]},
{t: 'C', p: [177.4, 260, 200.2, 255.2, 211, 260]},
{t: 'C', p: [211, 260, 189.4, 253.2, 179.4, 255.2]},
{t: 'C', p: [179.4, 255.2, 149, 252.8, 136.2, 279.2]},
{t: 'C', p: [136.2, 279.2, 140.2, 264.8, 155, 257.6]},
{t: 'C', p: [155, 257.6, 168.6, 248.8, 189, 251.6]},
{t: 'C', p: [189, 251.6, 203.4, 254.8, 208.6, 257.2]},
{t: 'C', p: [213.8, 259.6, 212.6, 256.8, 204.2, 252]},
{t: 'C', p: [204.2, 252, 198.6, 242, 184.6, 242.4]},
{t: 'C', p: [184.6, 242.4, 141.8, 246, 131.4, 258]},
{t: 'C', p: [131.4, 258, 145, 246.8, 155.4, 244]},
{t: 'C', p: [155.4, 244, 177.8, 236, 186.2, 236.8]},
{t: 'C', p: [186.2, 236.8, 211, 237.8, 218.6, 233.8]},
{t: 'C', p: [218.6, 233.8, 207.4, 238.8, 210.6, 242]},
{t: 'C', p: [213.8, 245.2, 220.6, 252.8, 220.6, 254]},
{t: 'C', p: [220.6, 255.2, 244.8, 277.3, 248.4, 281.7]},
{t: 'L', p: [250.6, 284]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [389, 478]}, {t: 'C', p: [389, 478, 373.5, 441.5, 361, 432]},
{t: 'C', p: [361, 432, 387, 448, 390.5, 466]},
{t: 'C', p: [390.5, 466, 390.5, 476, 389, 478]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [436, 485.5]},
{t: 'C', p: [436, 485.5, 409.5, 430.5, 391, 406.5]},
{t: 'C', p: [391, 406.5, 434.5, 444, 439.5, 470.5]},
{t: 'L', p: [440, 476]}, {t: 'L', p: [437, 473.5]},
{t: 'C', p: [437, 473.5, 436.5, 482.5, 436, 485.5]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [492.5, 437]},
{t: 'C', p: [492.5, 437, 430, 377.5, 428.5, 375]},
{t: 'C', p: [428.5, 375, 489, 441, 492, 448.5]},
{t: 'C', p: [492, 448.5, 490, 439.5, 492.5, 437]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [304, 480.5]},
{t: 'C', p: [304, 480.5, 323.5, 428.5, 342.5, 451]},
{t: 'C', p: [342.5, 451, 357.5, 461, 357, 464]},
{t: 'C', p: [357, 464, 353, 457.5, 335, 458]},
{t: 'C', p: [335, 458, 316, 455, 304, 480.5]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [494.5, 353]},
{t: 'C', p: [494.5, 353, 449.5, 324.5, 442, 323]},
{t: 'C', p: [430.193, 320.639, 491.5, 352, 496.5, 362.5]},
{t: 'C', p: [496.5, 362.5, 498.5, 360, 494.5, 353]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [343.801, 459.601]},
{t: 'C', p: [343.801, 459.601, 364.201, 457.601, 371.001, 450.801]},
{t: 'L', p: [375.401, 454.401]},
{t: 'L', p: [393.001, 416.001]},
{t: 'L', p: [396.601, 421.201]},
{t: 'C', p: [396.601, 421.201, 411.001, 406.401, 410.201, 398.401]},
{t: 'C', p: [409.401, 390.401, 423.001, 404.401, 423.001, 404.401]},
{t: 'C', p: [423.001, 404.401, 422.201, 392.801, 429.401, 399.601]},
{t: 'C', p: [429.401, 399.601, 427.001, 384.001, 435.401, 392.001]},
{t: 'C', p: [435.401, 392.001, 424.864, 361.844, 447.401, 387.601]},
{t: 'C', p: [453.001, 394.001, 448.601, 387.201, 448.601, 387.201]},
{t: 'C', p: [448.601, 387.201, 422.601, 339.201, 444.201, 353.601]},
{t: 'C', p: [444.201, 353.601, 446.201, 330.801, 445.001, 326.401]},
{t: 'C', p: [443.801, 322.001, 441.801, 299.6, 437.001, 294.4]},
{t: 'C', p: [432.201, 289.2, 437.401, 287.6, 443.001, 292.8]},
{t: 'C', p: [443.001, 292.8, 431.801, 268.8, 445.001, 280.8]},
{t: 'C', p: [445.001, 280.8, 441.401, 265.6, 437.001, 262.8]},
{t: 'C', p: [437.001, 262.8, 431.401, 245.6, 446.601, 256.4]},
{t: 'C', p: [446.601, 256.4, 442.201, 244, 439.001, 240.8]},
{t: 'C', p: [439.001, 240.8, 427.401, 213.2, 434.601, 218]},
{t: 'L', p: [439.001, 221.6]},
{t: 'C', p: [439.001, 221.6, 432.201, 207.6, 438.601, 212]},
{t: 'C', p: [445.001, 216.4, 445.001, 216, 445.001, 216]},
{t: 'C', p: [445.001, 216, 423.801, 182.8, 444.201, 200.4]},
{t: 'C', p: [444.201, 200.4, 436.042, 186.482, 432.601, 179.6]},
{t: 'C', p: [432.601, 179.6, 413.801, 159.2, 428.201, 165.6]},
{t: 'L', p: [433.001, 167.2]},
{t: 'C', p: [433.001, 167.2, 424.201, 157.2, 416.201, 155.6]},
{t: 'C', p: [408.201, 154, 418.601, 147.6, 425.001, 149.6]},
{t: 'C', p: [431.401, 151.6, 447.001, 159.2, 447.001, 159.2]},
{t: 'C', p: [447.001, 159.2, 459.801, 178, 463.801, 178.4]},
{t: 'C', p: [463.801, 178.4, 443.801, 170.8, 449.801, 178.8]},
{t: 'C', p: [449.801, 178.8, 464.201, 192.8, 457.001, 192.4]},
{t: 'C', p: [457.001, 192.4, 451.001, 199.6, 455.801, 208.4]},
{t: 'C', p: [455.801, 208.4, 437.342, 190.009, 452.201, 215.6]},
{t: 'L', p: [459.001, 232]},
{t: 'C', p: [459.001, 232, 434.601, 207.2, 445.801, 229.2]},
{t: 'C', p: [445.801, 229.2, 463.001, 252.8, 465.001, 253.2]},
{t: 'C', p: [467.001, 253.6, 471.401, 262.4, 471.401, 262.4]},
{t: 'L', p: [467.001, 260.4]},
{t: 'L', p: [472.201, 269.2]},
{t: 'C', p: [472.201, 269.2, 461.001, 257.2, 467.001, 270.4]},
{t: 'L', p: [472.601, 284.8]},
{t: 'C', p: [472.601, 284.8, 452.201, 262.8, 465.801, 292.4]},
{t: 'C', p: [465.801, 292.4, 449.401, 287.2, 458.201, 304.4]},
{t: 'C', p: [458.201, 304.4, 456.601, 320.401, 457.001, 325.601]},
{t: 'C', p: [457.401, 330.801, 458.601, 359.201, 454.201, 367.201]},
{t: 'C', p: [449.801, 375.201, 460.201, 394.401, 462.201, 398.401]},
{t: 'C', p: [464.201, 402.401, 467.801, 413.201, 459.001, 404.001]},
{t: 'C', p: [450.201, 394.801, 454.601, 400.401, 456.601, 409.201]},
{t: 'C', p: [458.601, 418.001, 464.601, 433.601, 463.801, 439.201]},
{t: 'C', p: [463.801, 439.201, 462.601, 440.401, 459.401, 436.801]},
{t: 'C', p: [459.401, 436.801, 444.601, 414.001, 446.201, 428.401]},
{t: 'C', p: [446.201, 428.401, 445.001, 436.401, 441.801, 445.201]},
{t: 'C', p: [441.801, 445.201, 438.601, 456.001, 438.601, 447.201]},
{t: 'C', p: [438.601, 447.201, 435.401, 430.401, 432.601, 438.001]},
{t: 'C', p: [429.801, 445.601, 426.201, 451.601, 423.401, 454.001]},
{t: 'C', p: [420.601, 456.401, 415.401, 433.601, 414.201, 444.001]},
{t: 'C', p: [414.201, 444.001, 402.201, 431.601, 397.401, 448.001]},
{t: 'L', p: [385.801, 464.401]},
{t: 'C', p: [385.801, 464.401, 385.401, 452.001, 384.201, 458.001]},
{t: 'C', p: [384.201, 458.001, 354.201, 464.001, 343.801, 459.601]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [309.401, 102.8]},
{t: 'C', p: [309.401, 102.8, 297.801, 94.8, 293.801, 95.2]},
{t: 'C', p: [289.801, 95.6, 321.401, 86.4, 362.601, 114]},
{t: 'C', p: [362.601, 114, 367.401, 116.8, 371.001, 116.4]},
{t: 'C', p: [371.001, 116.4, 374.201, 118.8, 371.401, 122.4]},
{t: 'C', p: [371.401, 122.4, 362.601, 132, 373.801, 143.2]},
{t: 'C', p: [373.801, 143.2, 392.201, 150, 386.601, 141.2]},
{t: 'C', p: [386.601, 141.2, 397.401, 145.2, 399.801, 149.2]},
{t: 'C', p: [402.201, 153.2, 401.001, 149.2, 401.001, 149.2]},
{t: 'C', p: [401.001, 149.2, 394.601, 142, 388.601, 136.8]},
{t: 'C', p: [388.601, 136.8, 383.401, 134.8, 380.601, 126.4]},
{t: 'C', p: [377.801, 118, 375.401, 108, 379.801, 104.8]},
{t: 'C', p: [379.801, 104.8, 375.801, 109.2, 376.601, 105.2]},
{t: 'C', p: [377.401, 101.2, 381.001, 97.6, 382.601, 97.2]},
{t: 'C', p: [384.201, 96.8, 400.601, 81, 407.401, 80.6]},
{t: 'C', p: [407.401, 80.6, 398.201, 82, 395.201, 81]},
{t: 'C', p: [392.201, 80, 365.601, 68.6, 359.601, 67.4]},
{t: 'C', p: [359.601, 67.4, 342.801, 60.8, 354.801, 62.8]},
{t: 'C', p: [354.801, 62.8, 390.601, 66.6, 408.801, 79.8]},
{t: 'C', p: [408.801, 79.8, 401.601, 71.4, 383.201, 64.4]},
{t: 'C', p: [383.201, 64.4, 361.001, 51.8, 325.801, 56.8]},
{t: 'C', p: [325.801, 56.8, 308.001, 60, 300.201, 61.8]},
{t: 'C', p: [300.201, 61.8, 297.601, 61.2, 297.001, 60.8]},
{t: 'C', p: [296.401, 60.4, 284.6, 51.4, 257, 58.4]},
{t: 'C', p: [257, 58.4, 240, 63, 231.4, 67.8]},
{t: 'C', p: [231.4, 67.8, 216.2, 69, 212.6, 72.2]},
{t: 'C', p: [212.6, 72.2, 194, 86.8, 192, 87.6]},
{t: 'C', p: [190, 88.4, 178.6, 96, 177.8, 96.4]},
{t: 'C', p: [177.8, 96.4, 202.4, 89.8, 204.8, 87.4]},
{t: 'C', p: [207.2, 85, 224.6, 82.4, 227, 83.8]},
{t: 'C', p: [229.4, 85.2, 237.8, 84.6, 228.2, 85.2]},
{t: 'C', p: [228.2, 85.2, 303.801, 100, 304.601, 102]},
{t: 'C', p: [305.401, 104, 309.401, 102.8, 309.401, 102.8]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [380.801, 93.6]},
{t: 'C', p: [380.801, 93.6, 370.601, 86.2, 368.601, 86.2]},
{t: 'C', p: [366.601, 86.2, 354.201, 76, 350.001, 76.4]},
{t: 'C', p: [345.801, 76.8, 333.601, 66.8, 306.201, 75]},
{t: 'C', p: [306.201, 75, 305.601, 73, 309.201, 72.2]},
{t: 'C', p: [309.201, 72.2, 315.601, 70, 316.001, 69.4]},
{t: 'C', p: [316.001, 69.4, 336.201, 65.2, 343.401, 68.8]},
{t: 'C', p: [343.401, 68.8, 352.601, 71.4, 358.801, 77.6]},
{t: 'C', p: [358.801, 77.6, 370.001, 80.8, 373.201, 79.8]},
{t: 'C', p: [373.201, 79.8, 382.001, 82, 382.401, 83.8]},
{t: 'C', p: [382.401, 83.8, 388.201, 86.8, 386.401, 89.4]},
{t: 'C', p: [386.401, 89.4, 386.801, 91, 380.801, 93.6]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [368.33, 91.491]},
{t: 'C', p: [369.137, 92.123, 370.156, 92.221, 370.761, 93.03]},
{t: 'C', p: [370.995, 93.344, 370.706, 93.67, 370.391, 93.767]},
{t: 'C', p: [369.348, 94.084, 368.292, 93.514, 367.15, 94.102]},
{t: 'C', p: [366.748, 94.309, 366.106, 94.127, 365.553, 93.978]},
{t: 'C', p: [363.921, 93.537, 362.092, 93.512, 360.401, 94.2]},
{t: 'C', p: [358.416, 93.071, 356.056, 93.655, 353.975, 92.654]},
{t: 'C', p: [353.917, 92.627, 353.695, 92.973, 353.621, 92.946]},
{t: 'C', p: [350.575, 91.801, 346.832, 92.084, 344.401, 89.8]},
{t: 'C', p: [341.973, 89.388, 339.616, 88.926, 337.188, 88.246]},
{t: 'C', p: [335.37, 87.737, 333.961, 86.748, 332.341, 85.916]},
{t: 'C', p: [330.964, 85.208, 329.507, 84.686, 327.973, 84.314]},
{t: 'C', p: [326.11, 83.862, 324.279, 83.974, 322.386, 83.454]},
{t: 'C', p: [322.293, 83.429, 322.101, 83.773, 322.019, 83.746]},
{t: 'C', p: [321.695, 83.638, 321.405, 83.055, 321.234, 83.108]},
{t: 'C', p: [319.553, 83.63, 318.065, 82.658, 316.401, 83]},
{t: 'C', p: [315.223, 81.776, 313.495, 82.021, 311.949, 81.579]},
{t: 'C', p: [308.985, 80.731, 305.831, 82.001, 302.801, 81]},
{t: 'C', p: [306.914, 79.158, 311.601, 80.39, 315.663, 78.321]},
{t: 'C', p: [317.991, 77.135, 320.653, 78.237, 323.223, 77.477]},
{t: 'C', p: [323.71, 77.333, 324.401, 77.131, 324.801, 77.8]},
{t: 'C', p: [324.935, 77.665, 325.117, 77.426, 325.175, 77.454]},
{t: 'C', p: [327.625, 78.611, 329.94, 79.885, 332.422, 80.951]},
{t: 'C', p: [332.763, 81.097, 333.295, 80.865, 333.547, 81.067]},
{t: 'C', p: [335.067, 82.283, 337.01, 82.18, 338.401, 83.4]},
{t: 'C', p: [340.099, 82.898, 341.892, 83.278, 343.621, 82.654]},
{t: 'C', p: [343.698, 82.627, 343.932, 82.968, 343.965, 82.946]},
{t: 'C', p: [345.095, 82.198, 346.25, 82.469, 347.142, 82.773]},
{t: 'C', p: [347.48, 82.888, 348.143, 83.135, 348.448, 83.209]},
{t: 'C', p: [349.574, 83.485, 350.43, 83.965, 351.609, 84.148]},
{t: 'C', p: [351.723, 84.166, 351.908, 83.826, 351.98, 83.854]},
{t: 'C', p: [353.103, 84.292, 354.145, 84.236, 354.801, 85.4]},
{t: 'C', p: [354.936, 85.265, 355.101, 85.027, 355.183, 85.054]},
{t: 'C', p: [356.21, 85.392, 356.859, 86.147, 357.96, 86.388]},
{t: 'C', p: [358.445, 86.494, 359.057, 87.12, 359.633, 87.296]},
{t: 'C', p: [362.025, 88.027, 363.868, 89.556, 366.062, 90.451]},
{t: 'C', p: [366.821, 90.761, 367.697, 90.995, 368.33, 91.491]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [291.696, 77.261]},
{t: 'C', p: [289.178, 75.536, 286.81, 74.43, 284.368, 72.644]},
{t: 'C', p: [284.187, 72.511, 283.827, 72.681, 283.625, 72.559]},
{t: 'C', p: [282.618, 71.95, 281.73, 71.369, 280.748, 70.673]},
{t: 'C', p: [280.209, 70.291, 279.388, 70.302, 278.88, 70.044]},
{t: 'C', p: [276.336, 68.752, 273.707, 68.194, 271.2, 67]},
{t: 'C', p: [271.882, 66.362, 273.004, 66.606, 273.6, 65.8]},
{t: 'C', p: [273.795, 66.08, 274.033, 66.364, 274.386, 66.173]},
{t: 'C', p: [276.064, 65.269, 277.914, 65.116, 279.59, 65.206]},
{t: 'C', p: [281.294, 65.298, 283.014, 65.603, 284.789, 65.875]},
{t: 'C', p: [285.096, 65.922, 285.295, 66.445, 285.618, 66.542]},
{t: 'C', p: [287.846, 67.205, 290.235, 66.68, 292.354, 67.518]},
{t: 'C', p: [293.945, 68.147, 295.515, 68.97, 296.754, 70.245]},
{t: 'C', p: [297.006, 70.505, 296.681, 70.806, 296.401, 71]},
{t: 'C', p: [296.789, 70.891, 297.062, 71.097, 297.173, 71.41]},
{t: 'C', p: [297.257, 71.649, 297.257, 71.951, 297.173, 72.19]},
{t: 'C', p: [297.061, 72.502, 296.782, 72.603, 296.408, 72.654]},
{t: 'C', p: [295.001, 72.844, 296.773, 71.464, 296.073, 71.912]},
{t: 'C', p: [294.8, 72.726, 295.546, 74.132, 294.801, 75.4]},
{t: 'C', p: [294.521, 75.206, 294.291, 74.988, 294.401, 74.6]},
{t: 'C', p: [294.635, 75.122, 294.033, 75.412, 293.865, 75.728]},
{t: 'C', p: [293.48, 76.453, 292.581, 77.868, 291.696, 77.261]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [259.198, 84.609]},
{t: 'C', p: [256.044, 83.815, 252.994, 83.93, 249.978, 82.654]},
{t: 'C', p: [249.911, 82.626, 249.688, 82.973, 249.624, 82.946]},
{t: 'C', p: [248.258, 82.352, 247.34, 81.386, 246.264, 80.34]},
{t: 'C', p: [245.351, 79.452, 243.693, 79.839, 242.419, 79.352]},
{t: 'C', p: [242.095, 79.228, 241.892, 78.716, 241.591, 78.677]},
{t: 'C', p: [240.372, 78.52, 239.445, 77.571, 238.4, 77]},
{t: 'C', p: [240.736, 76.205, 243.147, 76.236, 245.609, 75.852]},
{t: 'C', p: [245.722, 75.834, 245.867, 76.155, 246, 76.155]},
{t: 'C', p: [246.136, 76.155, 246.266, 75.934, 246.4, 75.8]},
{t: 'C', p: [246.595, 76.08, 246.897, 76.406, 247.154, 76.152]},
{t: 'C', p: [247.702, 75.612, 248.258, 75.802, 248.798, 75.842]},
{t: 'C', p: [248.942, 75.852, 249.067, 76.155, 249.2, 76.155]},
{t: 'C', p: [249.336, 76.155, 249.467, 75.844, 249.6, 75.844]},
{t: 'C', p: [249.736, 75.845, 249.867, 76.155, 250, 76.155]},
{t: 'C', p: [250.136, 76.155, 250.266, 75.934, 250.4, 75.8]},
{t: 'C', p: [251.092, 76.582, 251.977, 76.028, 252.799, 76.207]},
{t: 'C', p: [253.837, 76.434, 254.104, 77.582, 255.178, 77.88]},
{t: 'C', p: [259.893, 79.184, 264.03, 81.329, 268.393, 83.416]},
{t: 'C', p: [268.7, 83.563, 268.91, 83.811, 268.8, 84.2]},
{t: 'C', p: [269.067, 84.2, 269.38, 84.112, 269.57, 84.244]},
{t: 'C', p: [270.628, 84.976, 271.669, 85.524, 272.366, 86.622]},
{t: 'C', p: [272.582, 86.961, 272.253, 87.368, 272.02, 87.316]},
{t: 'C', p: [267.591, 86.321, 263.585, 85.713, 259.198, 84.609]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [245.338, 128.821]},
{t: 'C', p: [243.746, 127.602, 243.162, 125.571, 242.034, 123.779]},
{t: 'C', p: [241.82, 123.439, 242.094, 123.125, 242.411, 123.036]},
{t: 'C', p: [242.971, 122.877, 243.514, 123.355, 243.923, 123.557]},
{t: 'C', p: [245.668, 124.419, 247.203, 125.661, 249.2, 125.8]},
{t: 'C', p: [251.19, 128.034, 255.45, 128.419, 255.457, 131.8]},
{t: 'C', p: [255.458, 132.659, 254.03, 131.741, 253.6, 132.6]},
{t: 'C', p: [251.149, 131.597, 248.76, 131.7, 246.38, 130.233]},
{t: 'C', p: [245.763, 129.852, 246.093, 129.399, 245.338, 128.821]},
{t: 'z', p: []}
]
},
{
f: '#cc7226',
s: null,
p: [
{t: 'M', p: [217.8, 76.244]},
{t: 'C', p: [217.935, 76.245, 224.966, 76.478, 224.949, 76.592]},
{t: 'C', p: [224.904, 76.901, 217.174, 77.95, 216.81, 77.78]},
{t: 'C', p: [216.646, 77.704, 209.134, 80.134, 209, 80]},
{t: 'C', p: [209.268, 79.865, 217.534, 76.244, 217.8, 76.244]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [233.2, 86]},
{t: 'C', p: [233.2, 86, 218.4, 87.8, 214, 89]},
{t: 'C', p: [209.6, 90.2, 191, 97.8, 188, 99.8]},
{t: 'C', p: [188, 99.8, 174.6, 105.2, 157.6, 125.2]},
{t: 'C', p: [157.6, 125.2, 165.2, 121.8, 167.4, 119]},
{t: 'C', p: [167.4, 119, 181, 106.4, 180.8, 109]},
{t: 'C', p: [180.8, 109, 193, 100.4, 192.4, 102.6]},
{t: 'C', p: [192.4, 102.6, 216.8, 91.4, 214.8, 94.6]},
{t: 'C', p: [214.8, 94.6, 236.4, 90, 235.4, 92]},
{t: 'C', p: [235.4, 92, 254.2, 96.4, 251.4, 96.6]},
{t: 'C', p: [251.4, 96.6, 245.6, 97.8, 252, 101.4]},
{t: 'C', p: [252, 101.4, 248.6, 105.8, 243.2, 101.8]},
{t: 'C', p: [237.8, 97.8, 240.8, 100, 235.8, 101]},
{t: 'C', p: [235.8, 101, 233.2, 101.8, 228.6, 97.8]},
{t: 'C', p: [228.6, 97.8, 223, 93.2, 214.2, 96.8]},
{t: 'C', p: [214.2, 96.8, 183.6, 109.4, 181.6, 110]},
{t: 'C', p: [181.6, 110, 178, 112.8, 175.6, 116.4]},
{t: 'C', p: [175.6, 116.4, 169.8, 120.8, 166.8, 122.2]},
{t: 'C', p: [166.8, 122.2, 154, 133.8, 152.8, 135.2]},
{t: 'C', p: [152.8, 135.2, 149.4, 140.4, 148.6, 140.8]},
{t: 'C', p: [148.6, 140.8, 155, 137, 157, 135]},
{t: 'C', p: [157, 135, 171, 125, 176.4, 124.2]},
{t: 'C', p: [176.4, 124.2, 180.8, 121.2, 181.6, 119.8]},
{t: 'C', p: [181.6, 119.8, 196, 110.6, 200.2, 110.6]},
{t: 'C', p: [200.2, 110.6, 209.4, 115.8, 211.8, 108.8]},
{t: 'C', p: [211.8, 108.8, 217.6, 107, 223.2, 108.2]},
{t: 'C', p: [223.2, 108.2, 226.4, 105.6, 225.6, 103.4]},
{t: 'C', p: [225.6, 103.4, 227.2, 101.6, 228.2, 105.4]},
{t: 'C', p: [228.2, 105.4, 231.6, 109, 236.4, 107]},
{t: 'C', p: [236.4, 107, 240.4, 106.8, 238.4, 109.2]},
{t: 'C', p: [238.4, 109.2, 234, 113, 222.2, 113.2]},
{t: 'C', p: [222.2, 113.2, 209.8, 113.8, 193.4, 121.4]},
{t: 'C', p: [193.4, 121.4, 163.6, 131.8, 154.4, 142.2]},
{t: 'C', p: [154.4, 142.2, 148, 151, 142.6, 152.2]},
{t: 'C', p: [142.6, 152.2, 136.8, 153, 130.8, 160.4]},
{t: 'C', p: [130.8, 160.4, 140.6, 154.6, 149.6, 154.6]},
{t: 'C', p: [149.6, 154.6, 153.6, 152.2, 149.8, 155.8]},
{t: 'C', p: [149.8, 155.8, 146.2, 163.4, 147.8, 168.8]},
{t: 'C', p: [147.8, 168.8, 147.2, 174, 146.4, 175.6]},
{t: 'C', p: [146.4, 175.6, 138.6, 188.4, 138.6, 190.8]},
{t: 'C', p: [138.6, 193.2, 139.8, 203, 140.2, 203.6]},
{t: 'C', p: [140.6, 204.2, 139.2, 202, 143, 204.4]},
{t: 'C', p: [146.8, 206.8, 149.6, 208.4, 150.4, 211.2]},
{t: 'C', p: [151.2, 214, 148.4, 205.8, 148.2, 204]},
{t: 'C', p: [148, 202.2, 143.8, 195, 144.6, 192.6]},
{t: 'C', p: [144.6, 192.6, 145.6, 193.6, 146.4, 195]},
{t: 'C', p: [146.4, 195, 145.8, 194.4, 146.4, 190.8]},
{t: 'C', p: [146.4, 190.8, 147.2, 185.6, 148.6, 182.4]},
{t: 'C', p: [150, 179.2, 152, 175.4, 152.4, 174.6]},
{t: 'C', p: [152.8, 173.8, 152.8, 168, 154.2, 170.6]},
{t: 'L', p: [157.6, 173.2]},
{t: 'C', p: [157.6, 173.2, 154.8, 170.6, 157, 168.4]},
{t: 'C', p: [157, 168.4, 156, 162.8, 157.8, 160.2]},
{t: 'C', p: [157.8, 160.2, 164.8, 151.8, 166.4, 150.8]},
{t: 'C', p: [168, 149.8, 166.6, 150.2, 166.6, 150.2]},
{t: 'C', p: [166.6, 150.2, 172.6, 146, 166.8, 147.6]},
{t: 'C', p: [166.8, 147.6, 162.8, 149.2, 159.8, 149.2]},
{t: 'C', p: [159.8, 149.2, 152.2, 151.2, 156.2, 147]},
{t: 'C', p: [160.2, 142.8, 170.2, 137.4, 174, 137.6]},
{t: 'L', p: [174.8, 139.2]},
{t: 'L', p: [186, 136.8]},
{t: 'L', p: [184.8, 137.6]},
{t: 'C', p: [184.8, 137.6, 184.6, 137.4, 188.8, 137]},
{t: 'C', p: [193, 136.6, 198.8, 138, 200.2, 136.2]},
{t: 'C', p: [201.6, 134.4, 205, 133.4, 204.6, 134.8]},
{t: 'C', p: [204.2, 136.2, 204, 138.2, 204, 138.2]},
{t: 'C', p: [204, 138.2, 209, 132.4, 208.4, 134.6]},
{t: 'C', p: [207.8, 136.8, 199.6, 142, 198.2, 148.2]},
{t: 'L', p: [208.6, 140]},
{t: 'L', p: [212.2, 137]},
{t: 'C', p: [212.2, 137, 215.8, 139.2, 216, 137.6]},
{t: 'C', p: [216.2, 136, 220.8, 130.2, 222, 130.4]},
{t: 'C', p: [223.2, 130.6, 225.2, 127.8, 225, 130.4]},
{t: 'C', p: [224.8, 133, 232.4, 138.4, 232.4, 138.4]},
{t: 'C', p: [232.4, 138.4, 235.6, 136.6, 237, 138]},
{t: 'C', p: [238.4, 139.4, 242.6, 118.2, 242.6, 118.2]},
{t: 'L', p: [267.6, 107.6]},
{t: 'L', p: [311.201, 104.2]},
{t: 'L', p: [294.201, 97.4]},
{t: 'L', p: [233.2, 86]},
{t: 'z', p: []}
]
},
{
f: null,
s: {c: '#4c0000', w: 2},
p: [
{t: 'M', p: [251.4, 285]},
{t: 'C', p: [251.4, 285, 236.4, 268.2, 228, 265.6]},
{t: 'C', p: [228, 265.6, 214.6, 258.8, 190, 266.6]}
]
},
{
f: null,
s: {c: '#4c0000', w: 2},
p: [
{t: 'M', p: [224.8, 264.2]},
{t: 'C', p: [224.8, 264.2, 199.6, 256.2, 184.2, 260.4]},
{t: 'C', p: [184.2, 260.4, 165.8, 262.4, 157.4, 276.2]}
]
},
{
f: null,
s: {c: '#4c0000', w: 2},
p: [
{t: 'M', p: [221.2, 263]},
{t: 'C', p: [221.2, 263, 204.2, 255.8, 189.4, 253.6]},
{t: 'C', p: [189.4, 253.6, 172.8, 251, 156.2, 258.2]},
{t: 'C', p: [156.2, 258.2, 144, 264.2, 138.6, 274.4]}
]
},
{
f: null,
s: {c: '#4c0000', w: 2},
p: [
{t: 'M', p: [222.2, 263.4]},
{t: 'C', p: [222.2, 263.4, 206.8, 252.4, 205.8, 251]},
{t: 'C', p: [205.8, 251, 198.8, 240, 185.8, 239.6]},
{t: 'C', p: [185.8, 239.6, 164.4, 240.4, 147.2, 248.4]}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [220.895, 254.407]},
{t: 'C', p: [222.437, 255.87, 249.4, 284.8, 249.4, 284.8]},
{t: 'C', p: [284.6, 321.401, 256.6, 287.2, 256.6, 287.2]},
{t: 'C', p: [249, 282.4, 239.8, 263.6, 239.8, 263.6]},
{t: 'C', p: [238.6, 260.8, 253.8, 270.8, 253.8, 270.8]},
{t: 'C', p: [257.8, 271.6, 271.4, 290.8, 271.4, 290.8]},
{t: 'C', p: [264.6, 288.4, 269.4, 295.6, 269.4, 295.6]},
{t: 'C', p: [272.2, 297.6, 292.601, 313.201, 292.601, 313.201]},
{t: 'C', p: [296.201, 317.201, 300.201, 318.801, 300.201, 318.801]},
{t: 'C', p: [314.201, 313.601, 307.801, 326.801, 307.801, 326.801]},
{t: 'C', p: [310.201, 333.601, 315.801, 322.001, 315.801, 322.001]},
{t: 'C', p: [327.001, 305.2, 310.601, 307.601, 310.601, 307.601]},
{t: 'C', p: [280.6, 310.401, 273.8, 294.4, 273.8, 294.4]},
{t: 'C', p: [271.4, 292, 280.2, 294.4, 280.2, 294.4]},
{t: 'C', p: [288.601, 296.4, 273, 282, 273, 282]},
{t: 'C', p: [275.4, 282, 284.6, 288.8, 284.6, 288.8]},
{t: 'C', p: [295.001, 298, 297.001, 296, 297.001, 296]},
{t: 'C', p: [315.001, 287.2, 325.401, 294.8, 325.401, 294.8]},
{t: 'C', p: [327.401, 296.4, 321.801, 303.2, 323.401, 308.401]},
{t: 'C', p: [325.001, 313.601, 329.801, 326.001, 329.801, 326.001]},
{t: 'C', p: [327.401, 327.601, 327.801, 338.401, 327.801, 338.401]},
{t: 'C', p: [344.601, 361.601, 335.001, 359.601, 335.001, 359.601]},
{t: 'C', p: [319.401, 359.201, 334.201, 366.801, 334.201, 366.801]},
{t: 'C', p: [337.401, 368.801, 346.201, 376.001, 346.201, 376.001]},
{t: 'C', p: [343.401, 374.801, 341.801, 380.001, 341.801, 380.001]},
{t: 'C', p: [346.601, 384.001, 343.801, 388.801, 343.801, 388.801]},
{t: 'C', p: [337.801, 390.001, 336.601, 394.001, 336.601, 394.001]},
{t: 'C', p: [343.401, 402.001, 333.401, 402.401, 333.401, 402.401]},
{t: 'C', p: [337.001, 406.801, 332.201, 418.801, 332.201, 418.801]},
{t: 'C', p: [327.401, 418.801, 321.001, 424.401, 321.001, 424.401]},
{t: 'C', p: [323.401, 429.201, 313.001, 434.801, 313.001, 434.801]},
{t: 'C', p: [304.601, 436.401, 307.401, 443.201, 307.401, 443.201]},
{t: 'C', p: [299.401, 449.201, 297.001, 465.201, 297.001, 465.201]},
{t: 'C', p: [296.201, 475.601, 293.801, 478.801, 299.001, 476.801]},
{t: 'C', p: [304.201, 474.801, 303.401, 462.401, 303.401, 462.401]},
{t: 'C', p: [298.601, 446.801, 341.401, 430.801, 341.401, 430.801]},
{t: 'C', p: [345.401, 429.201, 346.201, 424.001, 346.201, 424.001]},
{t: 'C', p: [348.201, 424.401, 357.001, 432.001, 357.001, 432.001]},
{t: 'C', p: [364.601, 443.201, 365.001, 434.001, 365.001, 434.001]},
{t: 'C', p: [366.201, 430.401, 364.601, 424.401, 364.601, 424.401]},
{t: 'C', p: [370.601, 402.801, 356.601, 396.401, 356.601, 396.401]},
{t: 'C', p: [346.601, 362.801, 360.601, 371.201, 360.601, 371.201]},
{t: 'C', p: [363.401, 376.801, 374.201, 382.001, 374.201, 382.001]},
{t: 'L', p: [377.801, 379.601]},
{t: 'C', p: [376.201, 374.801, 384.601, 368.801, 384.601, 368.801]},
{t: 'C', p: [387.401, 375.201, 393.401, 367.201, 393.401, 367.201]},
{t: 'C', p: [397.001, 342.801, 409.401, 357.201, 409.401, 357.201]},
{t: 'C', p: [413.401, 358.401, 414.601, 351.601, 414.601, 351.601]},
{t: 'C', p: [418.201, 341.201, 414.601, 327.601, 414.601, 327.601]},
{t: 'C', p: [418.201, 327.201, 427.801, 333.201, 427.801, 333.201]},
{t: 'C', p: [430.601, 329.601, 421.401, 312.801, 425.401, 315.201]},
{t: 'C', p: [429.401, 317.601, 433.801, 319.201, 433.801, 319.201]},
{t: 'C', p: [434.601, 317.201, 424.601, 304.801, 424.601, 304.801]},
{t: 'C', p: [420.201, 302, 415.001, 281.6, 415.001, 281.6]},
{t: 'C', p: [422.201, 285.2, 412.201, 270, 412.201, 270]},
{t: 'C', p: [412.201, 266.8, 418.201, 255.6, 418.201, 255.6]},
{t: 'C', p: [417.401, 248.8, 418.201, 249.2, 418.201, 249.2]},
{t: 'C', p: [421.001, 250.4, 429.001, 252, 422.201, 245.6]},
{t: 'C', p: [415.401, 239.2, 423.001, 234.4, 423.001, 234.4]},
{t: 'C', p: [427.401, 231.6, 413.801, 232, 413.801, 232]},
{t: 'C', p: [408.601, 227.6, 409.001, 223.6, 409.001, 223.6]},
{t: 'C', p: [417.001, 225.6, 402.601, 211.2, 400.201, 207.6]},
{t: 'C', p: [397.801, 204, 407.401, 198.8, 407.401, 198.8]},
{t: 'C', p: [420.601, 195.2, 409.001, 192, 409.001, 192]},
{t: 'C', p: [389.401, 192.4, 400.201, 181.6, 400.201, 181.6]},
{t: 'C', p: [406.201, 182, 404.601, 179.6, 404.601, 179.6]},
{t: 'C', p: [399.401, 178.4, 389.801, 172, 389.801, 172]},
{t: 'C', p: [385.801, 168.4, 389.401, 169.2, 389.401, 169.2]},
{t: 'C', p: [406.201, 170.4, 377.401, 159.2, 377.401, 159.2]},
{t: 'C', p: [385.401, 159.2, 367.401, 148.8, 367.401, 148.8]},
{t: 'C', p: [365.401, 147.2, 362.201, 139.6, 362.201, 139.6]},
{t: 'C', p: [356.201, 134.4, 351.401, 127.6, 351.401, 127.6]},
{t: 'C', p: [351.001, 123.2, 346.201, 118.4, 346.201, 118.4]},
{t: 'C', p: [334.601, 104.8, 329.001, 105.2, 329.001, 105.2]},
{t: 'C', p: [314.201, 101.6, 309.001, 102.4, 309.001, 102.4]},
{t: 'L', p: [256.2, 106.8]},
{t: 'C', p: [229.8, 119.6, 237.6, 140.6, 237.6, 140.6]},
{t: 'C', p: [244, 149, 253.2, 145.2, 253.2, 145.2]},
{t: 'C', p: [257.8, 139, 269.4, 141.2, 269.4, 141.2]},
{t: 'C', p: [289.801, 144.4, 287.201, 140.8, 287.201, 140.8]},
{t: 'C', p: [284.801, 136.2, 268.6, 130, 268.4, 129.4]},
{t: 'C', p: [268.2, 128.8, 259.4, 125.4, 259.4, 125.4]},
{t: 'C', p: [256.4, 124.2, 252, 115, 252, 115]},
{t: 'C', p: [248.8, 111.6, 264.6, 117.4, 264.6, 117.4]},
{t: 'C', p: [263.4, 118.4, 270.8, 122.4, 270.8, 122.4]},
{t: 'C', p: [288.201, 121.4, 298.801, 132.2, 298.801, 132.2]},
{t: 'C', p: [309.601, 148.8, 309.801, 140.6, 309.801, 140.6]},
{t: 'C', p: [312.601, 131.2, 300.801, 110, 300.801, 110]},
{t: 'C', p: [301.201, 108, 309.401, 114.6, 309.401, 114.6]},
{t: 'C', p: [310.801, 112.6, 311.601, 118.4, 311.601, 118.4]},
{t: 'C', p: [311.801, 120.8, 315.601, 128.8, 315.601, 128.8]},
{t: 'C', p: [318.401, 141.8, 322.001, 134.4, 322.001, 134.4]},
{t: 'L', p: [326.601, 143.8]},
{t: 'C', p: [328.001, 146.4, 322.001, 154, 322.001, 154]},
{t: 'C', p: [321.801, 156.8, 322.601, 156.6, 317.001, 164.2]},
{t: 'C', p: [311.401, 171.8, 314.801, 176.2, 314.801, 176.2]},
{t: 'C', p: [313.401, 182.8, 322.201, 182.4, 322.201, 182.4]},
{t: 'C', p: [324.801, 184.6, 328.201, 184.6, 328.201, 184.6]},
{t: 'C', p: [330.001, 186.6, 332.401, 186, 332.401, 186]},
{t: 'C', p: [334.001, 182.2, 340.201, 184.2, 340.201, 184.2]},
{t: 'C', p: [341.601, 181.8, 349.801, 181.4, 349.801, 181.4]},
{t: 'C', p: [350.801, 178.8, 351.201, 177.2, 354.601, 176.6]},
{t: 'C', p: [358.001, 176, 333.401, 133, 333.401, 133]},
{t: 'C', p: [339.801, 132.2, 331.601, 119.8, 331.601, 119.8]},
{t: 'C', p: [329.401, 113.2, 340.801, 127.8, 343.001, 129.2]},
{t: 'C', p: [345.201, 130.6, 346.201, 132.8, 344.601, 132.6]},
{t: 'C', p: [343.001, 132.4, 341.201, 134.6, 342.601, 134.8]},
{t: 'C', p: [344.001, 135, 357.001, 150, 360.401, 160.2]},
{t: 'C', p: [363.801, 170.4, 369.801, 174.4, 376.001, 180.4]},
{t: 'C', p: [382.201, 186.4, 381.401, 210.6, 381.401, 210.6]},
{t: 'C', p: [381.001, 219.4, 387.001, 230, 387.001, 230]},
{t: 'C', p: [389.001, 233.8, 384.801, 252, 384.801, 252]},
{t: 'C', p: [382.801, 254.2, 384.201, 255, 384.201, 255]},
{t: 'C', p: [385.201, 256.2, 392.001, 269.4, 392.001, 269.4]},
{t: 'C', p: [390.201, 269.2, 393.801, 272.8, 393.801, 272.8]},
{t: 'C', p: [399.001, 278.8, 392.601, 275.8, 392.601, 275.8]},
{t: 'C', p: [386.601, 274.2, 393.601, 284, 393.601, 284]},
{t: 'C', p: [394.801, 285.8, 385.801, 281.2, 385.801, 281.2]},
{t: 'C', p: [376.601, 280.6, 388.201, 287.8, 388.201, 287.8]},
{t: 'C', p: [396.801, 295, 385.401, 290.6, 385.401, 290.6]},
{t: 'C', p: [380.801, 288.8, 384.001, 295.6, 384.001, 295.6]},
{t: 'C', p: [387.201, 297.2, 404.401, 304.2, 404.401, 304.2]},
{t: 'C', p: [404.801, 308.001, 401.801, 313.001, 401.801, 313.001]},
{t: 'C', p: [402.201, 317.001, 400.001, 320.401, 400.001, 320.401]},
{t: 'C', p: [398.801, 328.601, 398.201, 329.401, 398.201, 329.401]},
{t: 'C', p: [394.001, 329.601, 386.601, 343.401, 386.601, 343.401]},
{t: 'C', p: [384.801, 346.001, 374.601, 358.001, 374.601, 358.001]},
{t: 'C', p: [372.601, 365.001, 354.601, 357.801, 354.601, 357.801]},
{t: 'C', p: [348.001, 361.201, 350.001, 357.801, 350.001, 357.801]},
{t: 'C', p: [349.601, 355.601, 354.401, 349.601, 354.401, 349.601]},
{t: 'C', p: [361.401, 347.001, 358.801, 336.201, 358.801, 336.201]},
{t: 'C', p: [362.801, 334.801, 351.601, 332.001, 351.801, 330.801]},
{t: 'C', p: [352.001, 329.601, 357.801, 328.201, 357.801, 328.201]},
{t: 'C', p: [365.801, 326.201, 361.401, 323.801, 361.401, 323.801]},
{t: 'C', p: [360.801, 319.801, 363.801, 314.201, 363.801, 314.201]},
{t: 'C', p: [375.401, 313.401, 363.801, 297.2, 363.801, 297.2]},
{t: 'C', p: [353.001, 289.6, 352.001, 283.8, 352.001, 283.8]},
{t: 'C', p: [364.601, 275.6, 356.401, 263.2, 356.601, 259.6]},
{t: 'C', p: [356.801, 256, 358.001, 234.4, 358.001, 234.4]},
{t: 'C', p: [356.001, 228.2, 353.001, 214.6, 353.001, 214.6]},
{t: 'C', p: [355.201, 209.4, 362.601, 196.8, 362.601, 196.8]},
{t: 'C', p: [365.401, 192.6, 374.201, 187.8, 372.001, 184.8]},
{t: 'C', p: [369.801, 181.8, 362.001, 183.6, 362.001, 183.6]},
{t: 'C', p: [354.201, 182.2, 354.801, 187.4, 354.801, 187.4]},
{t: 'C', p: [353.201, 188.4, 352.401, 193.4, 352.401, 193.4]},
{t: 'C', p: [351.68, 201.333, 342.801, 207.6, 342.801, 207.6]},
{t: 'C', p: [331.601, 213.8, 340.801, 217.8, 340.801, 217.8]},
{t: 'C', p: [346.801, 224.4, 337.001, 224.6, 337.001, 224.6]},
{t: 'C', p: [326.001, 222.8, 334.201, 233, 334.201, 233]},
{t: 'C', p: [345.001, 245.8, 342.001, 248.6, 342.001, 248.6]},
{t: 'C', p: [331.801, 249.6, 344.401, 258.8, 344.401, 258.8]},
{t: 'C', p: [344.401, 258.8, 343.601, 256.8, 343.801, 258.6]},
{t: 'C', p: [344.001, 260.4, 347.001, 264.6, 347.801, 266.6]},
{t: 'C', p: [348.601, 268.6, 344.601, 268.8, 344.601, 268.8]},
{t: 'C', p: [345.201, 278.4, 329.801, 274.2, 329.801, 274.2]},
{t: 'C', p: [329.801, 274.2, 329.801, 274.2, 328.201, 274.4]},
{t: 'C', p: [326.601, 274.6, 315.401, 273.8, 309.601, 271.6]},
{t: 'C', p: [303.801, 269.4, 297.001, 269.4, 297.001, 269.4]},
{t: 'C', p: [297.001, 269.4, 293.001, 271.2, 285.4, 271]},
{t: 'C', p: [277.8, 270.8, 269.8, 273.6, 269.8, 273.6]},
{t: 'C', p: [265.4, 273.2, 274, 268.8, 274.2, 269]},
{t: 'C', p: [274.4, 269.2, 280, 263.6, 272, 264.2]},
{t: 'C', p: [250.203, 265.835, 239.4, 255.6, 239.4, 255.6]},
{t: 'C', p: [237.4, 254.2, 234.8, 251.4, 234.8, 251.4]},
{t: 'C', p: [224.8, 249.4, 236.2, 263.8, 236.2, 263.8]},
{t: 'C', p: [237.4, 265.2, 236, 266.2, 236, 266.2]},
{t: 'C', p: [235.2, 264.6, 227.4, 259.2, 227.4, 259.2]},
{t: 'C', p: [224.589, 258.227, 223.226, 256.893, 220.895, 254.407]},
{t: 'z', p: []}
]
},
{
f: '#4c0000',
s: null,
p: [
{t: 'M', p: [197, 242.8]},
{t: 'C', p: [197, 242.8, 208.6, 248.4, 211.2, 251.2]},
{t: 'C', p: [213.8, 254, 227.8, 265.4, 227.8, 265.4]},
{t: 'C', p: [227.8, 265.4, 222.4, 263.4, 219.8, 261.6]},
{t: 'C', p: [217.2, 259.8, 206.4, 251.6, 206.4, 251.6]},
{t: 'C', p: [206.4, 251.6, 202.6, 245.6, 197, 242.8]}, {t: 'z', p: []}
]
},
{
f: '#99cc32',
s: null,
p: [
{t: 'M', p: [138.991, 211.603]},
{t: 'C', p: [139.328, 211.455, 138.804, 208.743, 138.6, 208.2]},
{t: 'C', p: [137.578, 205.474, 128.6, 204, 128.6, 204]},
{t: 'C', p: [128.373, 205.365, 128.318, 206.961, 128.424, 208.599]},
{t: 'C', p: [128.424, 208.599, 133.292, 214.118, 138.991, 211.603]},
{t: 'z', p: []}
]
},
{
f: '#659900',
s: null,
p: [
{t: 'M', p: [138.991, 211.403]},
{t: 'C', p: [138.542, 211.561, 138.976, 208.669, 138.8, 208.2]},
{t: 'C', p: [137.778, 205.474, 128.6, 203.9, 128.6, 203.9]},
{t: 'C', p: [128.373, 205.265, 128.318, 206.861, 128.424, 208.499]},
{t: 'C', p: [128.424, 208.499, 132.692, 213.618, 138.991, 211.403]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [134.6, 211.546]},
{t: 'C', p: [133.975, 211.546, 133.469, 210.406, 133.469, 209]},
{t: 'C', p: [133.469, 207.595, 133.975, 206.455, 134.6, 206.455]},
{t: 'C', p: [135.225, 206.455, 135.732, 207.595, 135.732, 209]},
{t: 'C', p: [135.732, 210.406, 135.225, 211.546, 134.6, 211.546]},
{t: 'z', p: []}
]
},
{f: '#000', s: null, p: [{t: 'M', p: [134.6, 209]}, {t: 'z', p: []}]},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [89, 309.601]},
{t: 'C', p: [89, 309.601, 83.4, 319.601, 108.2, 313.601]},
{t: 'C', p: [108.2, 313.601, 122.2, 312.401, 124.6, 310.001]},
{t: 'C', p: [125.8, 310.801, 134.166, 313.734, 137, 314.401]},
{t: 'C', p: [143.8, 316.001, 152.2, 306, 152.2, 306]},
{t: 'C', p: [152.2, 306, 156.8, 295.5, 159.6, 295.5]},
{t: 'C', p: [162.4, 295.5, 159.2, 297.1, 159.2, 297.1]},
{t: 'C', p: [159.2, 297.1, 152.6, 307.201, 153, 308.801]},
{t: 'C', p: [153, 308.801, 147.8, 328.801, 131.8, 329.601]},
{t: 'C', p: [131.8, 329.601, 115.65, 330.551, 117, 336.401]},
{t: 'C', p: [117, 336.401, 125.8, 334.001, 128.2, 336.401]},
{t: 'C', p: [128.2, 336.401, 139, 336.001, 131, 342.401]},
{t: 'L', p: [124.2, 354.001]},
{t: 'C', p: [124.2, 354.001, 124.34, 357.919, 114.2, 354.401]},
{t: 'C', p: [104.4, 351.001, 94.1, 338.101, 94.1, 338.101]},
{t: 'C', p: [94.1, 338.101, 78.15, 323.551, 89, 309.601]},
{t: 'z', p: []}
]
},
{
f: '#e59999',
s: null,
p: [
{t: 'M', p: [87.8, 313.601]},
{t: 'C', p: [87.8, 313.601, 85.8, 323.201, 122.6, 312.801]},
{t: 'C', p: [122.6, 312.801, 127, 312.801, 129.4, 313.601]},
{t: 'C', p: [131.8, 314.401, 143.8, 317.201, 145.8, 316.001]},
{t: 'C', p: [145.8, 316.001, 138.6, 329.601, 127, 328.001]},
{t: 'C', p: [127, 328.001, 113.8, 329.601, 114.2, 334.401]},
{t: 'C', p: [114.2, 334.401, 118.2, 341.601, 123, 344.001]},
{t: 'C', p: [123, 344.001, 125.8, 346.401, 125.4, 349.601]},
{t: 'C', p: [125, 352.801, 122.2, 354.401, 120.2, 355.201]},
{t: 'C', p: [118.2, 356.001, 115, 352.801, 113.4, 352.801]},
{t: 'C', p: [111.8, 352.801, 103.4, 346.401, 99, 341.601]},
{t: 'C', p: [94.6, 336.801, 86.2, 324.801, 86.6, 322.001]},
{t: 'C', p: [87, 319.201, 87.8, 313.601, 87.8, 313.601]},
{t: 'z', p: []}
]
},
{
f: '#b26565',
s: null,
p: [
{t: 'M', p: [91, 331.051]},
{t: 'C', p: [93.6, 335.001, 96.8, 339.201, 99, 341.601]},
{t: 'C', p: [103.4, 346.401, 111.8, 352.801, 113.4, 352.801]},
{t: 'C', p: [115, 352.801, 118.2, 356.001, 120.2, 355.201]},
{t: 'C', p: [122.2, 354.401, 125, 352.801, 125.4, 349.601]},
{t: 'C', p: [125.8, 346.401, 123, 344.001, 123, 344.001]},
{t: 'C', p: [119.934, 342.468, 117.194, 338.976, 115.615, 336.653]},
{t: 'C', p: [115.615, 336.653, 115.8, 339.201, 110.6, 338.401]},
{t: 'C', p: [105.4, 337.601, 100.2, 334.801, 98.6, 331.601]},
{t: 'C', p: [97, 328.401, 94.6, 326.001, 96.2, 329.601]},
{t: 'C', p: [97.8, 333.201, 100.2, 336.801, 101.8, 337.201]},
{t: 'C', p: [103.4, 337.601, 103, 338.801, 100.6, 338.401]},
{t: 'C', p: [98.2, 338.001, 95.4, 337.601, 91, 332.401]},
{t: 'z', p: []}
]
},
{
f: '#992600',
s: null,
p: [
{t: 'M', p: [88.4, 310.001]},
{t: 'C', p: [88.4, 310.001, 90.2, 296.4, 91.4, 292.4]},
{t: 'C', p: [91.4, 292.4, 90.6, 285.6, 93, 281.4]},
{t: 'C', p: [95.4, 277.2, 97.4, 271, 100.4, 265.6]},
{t: 'C', p: [103.4, 260.2, 103.6, 256.2, 107.6, 254.6]},
{t: 'C', p: [111.6, 253, 117.6, 244.4, 120.4, 243.4]},
{t: 'C', p: [123.2, 242.4, 123, 243.2, 123, 243.2]},
{t: 'C', p: [123, 243.2, 129.8, 228.4, 143.4, 232.4]},
{t: 'C', p: [143.4, 232.4, 127.2, 229.6, 143, 220.2]},
{t: 'C', p: [143, 220.2, 138.2, 221.3, 141.5, 214.3]},
{t: 'C', p: [143.701, 209.632, 143.2, 216.4, 132.2, 228.2]},
{t: 'C', p: [132.2, 228.2, 127.2, 236.8, 122, 239.8]},
{t: 'C', p: [116.8, 242.8, 104.8, 249.8, 103.6, 253.6]},
{t: 'C', p: [102.4, 257.4, 99.2, 263.2, 97.2, 264.8]},
{t: 'C', p: [95.2, 266.4, 92.4, 270.6, 92, 274]},
{t: 'C', p: [92, 274, 90.8, 278, 89.4, 279.2]},
{t: 'C', p: [88, 280.4, 87.8, 283.6, 87.8, 285.6]},
{t: 'C', p: [87.8, 287.6, 85.8, 290.4, 86, 292.8]},
{t: 'C', p: [86, 292.8, 86.8, 311.801, 86.4, 313.801]},
{t: 'L', p: [88.4, 310.001]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [79.8, 314.601]},
{t: 'C', p: [79.8, 314.601, 77.8, 313.201, 73.4, 319.201]},
{t: 'C', p: [73.4, 319.201, 80.7, 352.201, 80.7, 353.601]},
{t: 'C', p: [80.7, 353.601, 81.8, 351.501, 80.5, 344.301]},
{t: 'C', p: [79.2, 337.101, 78.3, 324.401, 78.3, 324.401]},
{t: 'L', p: [79.8, 314.601]}, {t: 'z', p: []}
]
},
{
f: '#992600',
s: null,
p: [
{t: 'M', p: [101.4, 254]},
{t: 'C', p: [101.4, 254, 83.8, 257.2, 84.2, 286.4]},
{t: 'L', p: [83.4, 311.201]},
{t: 'C', p: [83.4, 311.201, 82.2, 285.6, 81, 284]},
{t: 'C', p: [79.8, 282.4, 83.8, 271.2, 80.6, 277.2]},
{t: 'C', p: [80.6, 277.2, 66.6, 291.2, 74.6, 312.401]},
{t: 'C', p: [74.6, 312.401, 76.1, 315.701, 73.1, 311.101]},
{t: 'C', p: [73.1, 311.101, 68.5, 298.5, 69.6, 292.1]},
{t: 'C', p: [69.6, 292.1, 69.8, 289.9, 71.7, 287.1]},
{t: 'C', p: [71.7, 287.1, 80.3, 275.4, 83, 273.1]},
{t: 'C', p: [83, 273.1, 84.8, 258.7, 100.2, 253.5]},
{t: 'C', p: [100.2, 253.5, 105.9, 251.2, 101.4, 254]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [240.8, 187.8]},
{t: 'C', p: [241.46, 187.446, 241.451, 186.476, 242.031, 186.303]},
{t: 'C', p: [243.18, 185.959, 243.344, 184.892, 243.862, 184.108]},
{t: 'C', p: [244.735, 182.789, 244.928, 181.256, 245.51, 179.765]},
{t: 'C', p: [245.782, 179.065, 245.809, 178.11, 245.496, 177.45]},
{t: 'C', p: [244.322, 174.969, 243.62, 172.52, 242.178, 170.094]},
{t: 'C', p: [241.91, 169.644, 241.648, 168.85, 241.447, 168.252]},
{t: 'C', p: [240.984, 166.868, 239.727, 165.877, 238.867, 164.557]},
{t: 'C', p: [238.579, 164.116, 239.104, 163.191, 238.388, 163.107]},
{t: 'C', p: [237.491, 163.002, 236.042, 162.422, 235.809, 163.448]},
{t: 'C', p: [235.221, 166.035, 236.232, 168.558, 237.2, 171]},
{t: 'C', p: [236.418, 171.692, 236.752, 172.613, 236.904, 173.38]},
{t: 'C', p: [237.614, 176.986, 236.416, 180.338, 235.655, 183.812]},
{t: 'C', p: [235.632, 183.916, 235.974, 184.114, 235.946, 184.176]},
{t: 'C', p: [234.724, 186.862, 233.272, 189.307, 231.453, 191.688]},
{t: 'C', p: [230.695, 192.68, 229.823, 193.596, 229.326, 194.659]},
{t: 'C', p: [228.958, 195.446, 228.55, 196.412, 228.8, 197.4]},
{t: 'C', p: [225.365, 200.18, 223.115, 204.025, 220.504, 207.871]},
{t: 'C', p: [220.042, 208.551, 220.333, 209.76, 220.884, 210.029]},
{t: 'C', p: [221.697, 210.427, 222.653, 209.403, 223.123, 208.557]},
{t: 'C', p: [223.512, 207.859, 223.865, 207.209, 224.356, 206.566]},
{t: 'C', p: [224.489, 206.391, 224.31, 205.972, 224.445, 205.851]},
{t: 'C', p: [227.078, 203.504, 228.747, 200.568, 231.2, 198.2]},
{t: 'C', p: [233.15, 197.871, 234.687, 196.873, 236.435, 195.86]},
{t: 'C', p: [236.743, 195.681, 237.267, 195.93, 237.557, 195.735]},
{t: 'C', p: [239.31, 194.558, 239.308, 192.522, 239.414, 190.612]},
{t: 'C', p: [239.464, 189.728, 239.66, 188.411, 240.8, 187.8]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [231.959, 183.334]},
{t: 'C', p: [232.083, 183.257, 231.928, 182.834, 232.037, 182.618]},
{t: 'C', p: [232.199, 182.294, 232.602, 182.106, 232.764, 181.782]},
{t: 'C', p: [232.873, 181.566, 232.71, 181.186, 232.846, 181.044]},
{t: 'C', p: [235.179, 178.597, 235.436, 175.573, 234.4, 172.6]},
{t: 'C', p: [235.424, 171.98, 235.485, 170.718, 235.06, 169.871]},
{t: 'C', p: [234.207, 168.171, 234.014, 166.245, 233.039, 164.702]},
{t: 'C', p: [232.237, 163.433, 230.659, 162.189, 229.288, 163.492]},
{t: 'C', p: [228.867, 163.892, 228.546, 164.679, 228.824, 165.391]},
{t: 'C', p: [228.888, 165.554, 229.173, 165.7, 229.146, 165.782]},
{t: 'C', p: [229.039, 166.106, 228.493, 166.33, 228.487, 166.602]},
{t: 'C', p: [228.457, 168.098, 227.503, 169.609, 228.133, 170.938]},
{t: 'C', p: [228.905, 172.567, 229.724, 174.424, 230.4, 176.2]},
{t: 'C', p: [229.166, 178.316, 230.199, 180.765, 228.446, 182.642]},
{t: 'C', p: [228.31, 182.788, 228.319, 183.174, 228.441, 183.376]},
{t: 'C', p: [228.733, 183.862, 229.139, 184.268, 229.625, 184.56]},
{t: 'C', p: [229.827, 184.681, 230.175, 184.683, 230.375, 184.559]},
{t: 'C', p: [230.953, 184.197, 231.351, 183.71, 231.959, 183.334]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [294.771, 173.023]},
{t: 'C', p: [296.16, 174.815, 296.45, 177.61, 294.401, 179]},
{t: 'C', p: [294.951, 182.309, 298.302, 180.33, 300.401, 179.8]},
{t: 'C', p: [300.292, 179.412, 300.519, 179.068, 300.802, 179.063]},
{t: 'C', p: [301.859, 179.048, 302.539, 178.016, 303.601, 178.2]},
{t: 'C', p: [304.035, 176.643, 305.673, 175.941, 306.317, 174.561]},
{t: 'C', p: [308.043, 170.866, 307.452, 166.593, 304.868, 163.347]},
{t: 'C', p: [304.666, 163.093, 304.883, 162.576, 304.759, 162.214]},
{t: 'C', p: [304.003, 160.003, 301.935, 159.688, 300.001, 159]},
{t: 'C', p: [298.824, 155.125, 298.163, 151.094, 296.401, 147.4]},
{t: 'C', p: [294.787, 147.15, 294.089, 145.411, 292.752, 144.691]},
{t: 'C', p: [291.419, 143.972, 290.851, 145.551, 290.892, 146.597]},
{t: 'C', p: [290.899, 146.802, 291.351, 147.026, 291.181, 147.391]},
{t: 'C', p: [291.105, 147.555, 290.845, 147.666, 290.845, 147.8]},
{t: 'C', p: [290.846, 147.935, 291.067, 148.066, 291.201, 148.2]},
{t: 'C', p: [290.283, 149.02, 288.86, 149.497, 288.565, 150.642]},
{t: 'C', p: [287.611, 154.352, 290.184, 157.477, 291.852, 160.678]},
{t: 'C', p: [292.443, 161.813, 291.707, 163.084, 290.947, 164.292]},
{t: 'C', p: [290.509, 164.987, 290.617, 166.114, 290.893, 166.97]},
{t: 'C', p: [291.645, 169.301, 293.236, 171.04, 294.771, 173.023]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [257.611, 191.409]},
{t: 'C', p: [256.124, 193.26, 252.712, 195.829, 255.629, 197.757]},
{t: 'C', p: [255.823, 197.886, 256.193, 197.89, 256.366, 197.756]},
{t: 'C', p: [258.387, 196.191, 260.39, 195.288, 262.826, 194.706]},
{t: 'C', p: [262.95, 194.677, 263.224, 195.144, 263.593, 194.983]},
{t: 'C', p: [265.206, 194.28, 267.216, 194.338, 268.4, 193]},
{t: 'C', p: [272.167, 193.224, 275.732, 192.108, 279.123, 190.8]},
{t: 'C', p: [280.284, 190.352, 281.554, 189.793, 282.755, 189.291]},
{t: 'C', p: [284.131, 188.715, 285.335, 187.787, 286.447, 186.646]},
{t: 'C', p: [286.58, 186.51, 286.934, 186.6, 287.201, 186.6]},
{t: 'C', p: [287.161, 185.737, 288.123, 185.61, 288.37, 184.988]},
{t: 'C', p: [288.462, 184.756, 288.312, 184.36, 288.445, 184.258]},
{t: 'C', p: [290.583, 182.628, 291.503, 180.61, 290.334, 178.233]},
{t: 'C', p: [290.049, 177.655, 289.8, 177.037, 289.234, 176.561]},
{t: 'C', p: [288.149, 175.65, 287.047, 176.504, 286, 176.2]},
{t: 'C', p: [285.841, 176.828, 285.112, 176.656, 284.726, 176.854]},
{t: 'C', p: [283.867, 177.293, 282.534, 176.708, 281.675, 177.146]},
{t: 'C', p: [280.313, 177.841, 279.072, 178.01, 277.65, 178.387]},
{t: 'C', p: [277.338, 178.469, 276.56, 178.373, 276.4, 179]},
{t: 'C', p: [276.266, 178.866, 276.118, 178.632, 276.012, 178.654]},
{t: 'C', p: [274.104, 179.05, 272.844, 179.264, 271.543, 180.956]},
{t: 'C', p: [271.44, 181.089, 270.998, 180.91, 270.839, 181.045]},
{t: 'C', p: [269.882, 181.853, 269.477, 183.087, 268.376, 183.759]},
{t: 'C', p: [268.175, 183.882, 267.823, 183.714, 267.629, 183.843]},
{t: 'C', p: [266.983, 184.274, 266.616, 184.915, 265.974, 185.362]},
{t: 'C', p: [265.645, 185.591, 265.245, 185.266, 265.277, 185.01]},
{t: 'C', p: [265.522, 183.063, 266.175, 181.276, 265.6, 179.4]},
{t: 'C', p: [267.677, 176.88, 270.194, 174.931, 272, 172.2]},
{t: 'C', p: [272.015, 170.034, 272.707, 167.888, 272.594, 165.811]},
{t: 'C', p: [272.584, 165.618, 272.296, 164.885, 272.17, 164.538]},
{t: 'C', p: [271.858, 163.684, 272.764, 162.618, 271.92, 161.894]},
{t: 'C', p: [270.516, 160.691, 269.224, 161.567, 268.4, 163]},
{t: 'C', p: [266.562, 163.39, 264.496, 164.083, 262.918, 162.849]},
{t: 'C', p: [261.911, 162.062, 261.333, 161.156, 260.534, 160.1]},
{t: 'C', p: [259.549, 158.798, 259.884, 157.362, 259.954, 155.798]},
{t: 'C', p: [259.96, 155.67, 259.645, 155.534, 259.645, 155.4]},
{t: 'C', p: [259.646, 155.265, 259.866, 155.134, 260, 155]},
{t: 'C', p: [259.294, 154.374, 259.019, 153.316, 258, 153]},
{t: 'C', p: [258.305, 151.908, 257.629, 151.024, 256.758, 150.722]},
{t: 'C', p: [254.763, 150.031, 253.086, 151.943, 251.194, 152.016]},
{t: 'C', p: [250.68, 152.035, 250.213, 150.997, 249.564, 150.672]},
{t: 'C', p: [249.132, 150.456, 248.428, 150.423, 248.066, 150.689]},
{t: 'C', p: [247.378, 151.193, 246.789, 151.307, 246.031, 151.512]},
{t: 'C', p: [244.414, 151.948, 243.136, 153.042, 241.656, 153.897]},
{t: 'C', p: [240.171, 154.754, 239.216, 156.191, 238.136, 157.511]},
{t: 'C', p: [237.195, 158.663, 237.059, 161.077, 238.479, 161.577]},
{t: 'C', p: [240.322, 162.227, 241.626, 159.524, 243.592, 159.85]},
{t: 'C', p: [243.904, 159.901, 244.11, 160.212, 244, 160.6]},
{t: 'C', p: [244.389, 160.709, 244.607, 160.48, 244.8, 160.2]},
{t: 'C', p: [245.658, 161.219, 246.822, 161.556, 247.76, 162.429]},
{t: 'C', p: [248.73, 163.333, 250.476, 162.915, 251.491, 163.912]},
{t: 'C', p: [253.02, 165.414, 252.461, 168.095, 254.4, 169.4]},
{t: 'C', p: [253.814, 170.713, 253.207, 171.99, 252.872, 173.417]},
{t: 'C', p: [252.59, 174.623, 253.584, 175.82, 254.795, 175.729]},
{t: 'C', p: [256.053, 175.635, 256.315, 174.876, 256.8, 173.8]},
{t: 'C', p: [257.067, 174.067, 257.536, 174.364, 257.495, 174.58]},
{t: 'C', p: [257.038, 176.967, 256.011, 178.96, 255.553, 181.391]},
{t: 'C', p: [255.494, 181.708, 255.189, 181.91, 254.8, 181.8]},
{t: 'C', p: [254.332, 185.949, 250.28, 188.343, 247.735, 191.508]},
{t: 'C', p: [247.332, 192.01, 247.328, 193.259, 247.737, 193.662]},
{t: 'C', p: [249.14, 195.049, 251.1, 193.503, 252.8, 193]},
{t: 'C', p: [253.013, 191.794, 253.872, 190.852, 255.204, 190.908]},
{t: 'C', p: [255.46, 190.918, 255.695, 190.376, 256.019, 190.246]},
{t: 'C', p: [256.367, 190.108, 256.869, 190.332, 257.155, 190.134]},
{t: 'C', p: [258.884, 188.939, 260.292, 187.833, 262.03, 186.644]},
{t: 'C', p: [262.222, 186.513, 262.566, 186.672, 262.782, 186.564]},
{t: 'C', p: [263.107, 186.402, 263.294, 186.015, 263.617, 185.83]},
{t: 'C', p: [263.965, 185.63, 264.207, 185.92, 264.4, 186.2]},
{t: 'C', p: [263.754, 186.549, 263.75, 187.506, 263.168, 187.708]},
{t: 'C', p: [262.393, 187.976, 261.832, 188.489, 261.158, 188.936]},
{t: 'C', p: [260.866, 189.129, 260.207, 188.881, 260.103, 189.06]},
{t: 'C', p: [259.505, 190.088, 258.321, 190.526, 257.611, 191.409]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [202.2, 142]},
{t: 'C', p: [202.2, 142, 192.962, 139.128, 181.8, 164.8]},
{t: 'C', p: [181.8, 164.8, 179.4, 170, 177, 172]},
{t: 'C', p: [174.6, 174, 163.4, 177.6, 161.4, 181.6]},
{t: 'L', p: [151, 197.6]},
{t: 'C', p: [151, 197.6, 165.8, 181.6, 169, 179.2]},
{t: 'C', p: [169, 179.2, 177, 170.8, 173.8, 177.6]},
{t: 'C', p: [173.8, 177.6, 159.8, 188.4, 161, 197.6]},
{t: 'C', p: [161, 197.6, 155.4, 212, 154.6, 214]},
{t: 'C', p: [154.6, 214, 170.6, 182, 173, 180.8]},
{t: 'C', p: [175.4, 179.6, 176.6, 179.6, 175.4, 183.2]},
{t: 'C', p: [174.2, 186.8, 173.8, 203.2, 171, 205.2]},
{t: 'C', p: [171, 205.2, 179, 184.8, 178.2, 181.6]},
{t: 'C', p: [178.2, 181.6, 181.4, 178, 183.8, 183.2]},
{t: 'L', p: [182.6, 199.2]},
{t: 'L', p: [187, 211.2]},
{t: 'C', p: [187, 211.2, 184.6, 200, 186.2, 184.4]},
{t: 'C', p: [186.2, 184.4, 184.2, 174, 188.2, 179.6]},
{t: 'C', p: [192.2, 185.2, 201.8, 191.2, 201.8, 196]},
{t: 'C', p: [201.8, 196, 196.6, 178.4, 187.4, 173.6]},
{t: 'L', p: [183.4, 179.6]},
{t: 'L', p: [182.2, 177.6]},
{t: 'C', p: [182.2, 177.6, 178.6, 176.8, 183, 170]},
{t: 'C', p: [187.4, 163.2, 187, 162.4, 187, 162.4]},
{t: 'C', p: [187, 162.4, 193.4, 169.6, 195, 169.6]},
{t: 'C', p: [195, 169.6, 208.2, 162, 209.4, 186.4]},
{t: 'C', p: [209.4, 186.4, 216.2, 172, 207, 165.2]},
{t: 'C', p: [207, 165.2, 192.2, 163.2, 193.4, 158]},
{t: 'L', p: [200.6, 145.6]},
{t: 'C', p: [204.2, 140.4, 202.6, 143.2, 202.6, 143.2]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [182.2, 158.4]},
{t: 'C', p: [182.2, 158.4, 169.4, 158.4, 166.2, 163.6]},
{t: 'L', p: [159, 173.2]},
{t: 'C', p: [159, 173.2, 176.2, 163.2, 180.2, 162]},
{t: 'C', p: [184.2, 160.8, 182.2, 158.4, 182.2, 158.4]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [142.2, 164.8]},
{t: 'C', p: [142.2, 164.8, 140.2, 166, 139.8, 168.8]},
{t: 'C', p: [139.4, 171.6, 137, 172, 137.8, 174.8]},
{t: 'C', p: [138.6, 177.6, 140.6, 180, 140.6, 176]},
{t: 'C', p: [140.6, 172, 142.2, 170, 143, 168.8]},
{t: 'C', p: [143.8, 167.6, 145.4, 163.2, 142.2, 164.8]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [133.4, 226]},
{t: 'C', p: [133.4, 226, 125, 222, 121.8, 218.4]},
{t: 'C', p: [118.6, 214.8, 119.052, 219.966, 114.2, 219.6]},
{t: 'C', p: [108.353, 219.159, 109.4, 203.2, 109.4, 203.2]},
{t: 'L', p: [105.4, 210.8]},
{t: 'C', p: [105.4, 210.8, 104.2, 225.2, 112.2, 222.8]},
{t: 'C', p: [116.107, 221.628, 117.4, 223.2, 115.8, 224]},
{t: 'C', p: [114.2, 224.8, 121.4, 225.2, 118.6, 226.8]},
{t: 'C', p: [115.8, 228.4, 130.2, 223.2, 127.8, 233.6]},
{t: 'L', p: [133.4, 226]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [120.8, 240.4]},
{t: 'C', p: [120.8, 240.4, 105.4, 244.8, 101.8, 235.2]},
{t: 'C', p: [101.8, 235.2, 97, 237.6, 99.2, 240.6]},
{t: 'C', p: [101.4, 243.6, 102.6, 244, 102.6, 244]},
{t: 'C', p: [102.6, 244, 108, 245.2, 107.4, 246]},
{t: 'C', p: [106.8, 246.8, 104.4, 250.2, 104.4, 250.2]},
{t: 'C', p: [104.4, 250.2, 114.6, 244.2, 120.8, 240.4]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [349.201, 318.601]},
{t: 'C', p: [348.774, 320.735, 347.103, 321.536, 345.201, 322.201]},
{t: 'C', p: [343.284, 321.243, 340.686, 318.137, 338.801, 320.201]},
{t: 'C', p: [338.327, 319.721, 337.548, 319.661, 337.204, 318.999]},
{t: 'C', p: [336.739, 318.101, 337.011, 317.055, 336.669, 316.257]},
{t: 'C', p: [336.124, 314.985, 335.415, 313.619, 335.601, 312.201]},
{t: 'C', p: [337.407, 311.489, 338.002, 309.583, 337.528, 307.82]},
{t: 'C', p: [337.459, 307.563, 337.03, 307.366, 337.23, 307.017]},
{t: 'C', p: [337.416, 306.694, 337.734, 306.467, 338.001, 306.2]},
{t: 'C', p: [337.866, 306.335, 337.721, 306.568, 337.61, 306.548]},
{t: 'C', p: [337, 306.442, 337.124, 305.805, 337.254, 305.418]},
{t: 'C', p: [337.839, 303.672, 339.853, 303.408, 341.201, 304.6]},
{t: 'C', p: [341.457, 304.035, 341.966, 304.229, 342.401, 304.2]},
{t: 'C', p: [342.351, 303.621, 342.759, 303.094, 342.957, 302.674]},
{t: 'C', p: [343.475, 301.576, 345.104, 302.682, 345.901, 302.07]},
{t: 'C', p: [346.977, 301.245, 348.04, 300.546, 349.118, 301.149]},
{t: 'C', p: [350.927, 302.162, 352.636, 303.374, 353.835, 305.115]},
{t: 'C', p: [354.41, 305.949, 354.65, 307.23, 354.592, 308.188]},
{t: 'C', p: [354.554, 308.835, 353.173, 308.483, 352.83, 309.412]},
{t: 'C', p: [352.185, 311.16, 354.016, 311.679, 354.772, 313.017]},
{t: 'C', p: [354.97, 313.366, 354.706, 313.67, 354.391, 313.768]},
{t: 'C', p: [353.98, 313.896, 353.196, 313.707, 353.334, 314.16]},
{t: 'C', p: [354.306, 317.353, 351.55, 318.031, 349.201, 318.601]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: null,
p: [
{t: 'M', p: [339.6, 338.201]},
{t: 'C', p: [339.593, 336.463, 337.992, 334.707, 339.201, 333.001]},
{t: 'C', p: [339.336, 333.135, 339.467, 333.356, 339.601, 333.356]},
{t: 'C', p: [339.736, 333.356, 339.867, 333.135, 340.001, 333.001]},
{t: 'C', p: [341.496, 335.217, 345.148, 336.145, 345.006, 338.991]},
{t: 'C', p: [344.984, 339.438, 343.897, 340.356, 344.801, 341.001]},
{t: 'C', p: [342.988, 342.349, 342.933, 344.719, 342.001, 346.601]},
{t: 'C', p: [340.763, 346.315, 339.551, 345.952, 338.401, 345.401]},
{t: 'C', p: [338.753, 343.915, 338.636, 342.231, 339.456, 340.911]},
{t: 'C', p: [339.89, 340.213, 339.603, 339.134, 339.6, 338.201]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [173.4, 329.201]},
{t: 'C', p: [173.4, 329.201, 156.542, 339.337, 170.6, 324.001]},
{t: 'C', p: [179.4, 314.401, 189.4, 308.801, 189.4, 308.801]},
{t: 'C', p: [189.4, 308.801, 199.8, 304.4, 203.4, 303.2]},
{t: 'C', p: [207, 302, 222.2, 296.8, 225.4, 296.4]},
{t: 'C', p: [228.6, 296, 238.2, 292, 245, 296]},
{t: 'C', p: [251.8, 300, 259.8, 304.4, 259.8, 304.4]},
{t: 'C', p: [259.8, 304.4, 243.4, 296, 239.8, 298.4]},
{t: 'C', p: [236.2, 300.8, 229, 300.4, 223, 303.6]},
{t: 'C', p: [223, 303.6, 208.2, 308.001, 205, 310.001]},
{t: 'C', p: [201.8, 312.001, 191.4, 323.601, 189.8, 322.801]},
{t: 'C', p: [188.2, 322.001, 190.2, 321.601, 191.4, 318.801]},
{t: 'C', p: [192.6, 316.001, 190.6, 314.401, 182.6, 320.801]},
{t: 'C', p: [174.6, 327.201, 173.4, 329.201, 173.4, 329.201]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [180.805, 323.234]},
{t: 'C', p: [180.805, 323.234, 182.215, 310.194, 190.693, 311.859]},
{t: 'C', p: [190.693, 311.859, 198.919, 307.689, 201.641, 305.721]},
{t: 'C', p: [201.641, 305.721, 209.78, 304.019, 211.09, 303.402]},
{t: 'C', p: [229.569, 294.702, 244.288, 299.221, 244.835, 298.101]},
{t: 'C', p: [245.381, 296.982, 265.006, 304.099, 268.615, 308.185]},
{t: 'C', p: [269.006, 308.628, 258.384, 302.588, 248.686, 300.697]},
{t: 'C', p: [240.413, 299.083, 218.811, 300.944, 207.905, 306.48]},
{t: 'C', p: [204.932, 307.989, 195.987, 313.773, 193.456, 313.662]},
{t: 'C', p: [190.925, 313.55, 180.805, 323.234, 180.805, 323.234]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [177, 348.801]},
{t: 'C', p: [177, 348.801, 161.8, 346.401, 178.6, 344.801]},
{t: 'C', p: [178.6, 344.801, 196.6, 342.801, 200.6, 337.601]},
{t: 'C', p: [200.6, 337.601, 214.2, 328.401, 217, 328.001]},
{t: 'C', p: [219.8, 327.601, 249.8, 320.401, 250.2, 318.001]},
{t: 'C', p: [250.6, 315.601, 256.2, 315.601, 257.8, 316.401]},
{t: 'C', p: [259.4, 317.201, 258.6, 318.401, 255.8, 319.201]},
{t: 'C', p: [253, 320.001, 221.8, 336.401, 215.4, 337.601]},
{t: 'C', p: [209, 338.801, 197.4, 346.401, 192.6, 347.601]},
{t: 'C', p: [187.8, 348.801, 177, 348.801, 177, 348.801]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [196.52, 341.403]},
{t: 'C', p: [196.52, 341.403, 187.938, 340.574, 196.539, 339.755]},
{t: 'C', p: [196.539, 339.755, 205.355, 336.331, 207.403, 333.668]},
{t: 'C', p: [207.403, 333.668, 214.367, 328.957, 215.8, 328.753]},
{t: 'C', p: [217.234, 328.548, 231.194, 324.861, 231.399, 323.633]},
{t: 'C', p: [231.604, 322.404, 265.67, 309.823, 270.09, 313.013]},
{t: 'C', p: [273.001, 315.114, 263.1, 313.437, 253.466, 317.847]},
{t: 'C', p: [252.111, 318.467, 218.258, 333.054, 214.981, 333.668]},
{t: 'C', p: [211.704, 334.283, 205.765, 338.174, 203.307, 338.788]},
{t: 'C', p: [200.85, 339.403, 196.52, 341.403, 196.52, 341.403]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [188.6, 343.601]},
{t: 'C', p: [188.6, 343.601, 193.8, 343.201, 192.6, 344.801]},
{t: 'C', p: [191.4, 346.401, 189, 345.601, 189, 345.601]},
{t: 'L', p: [188.6, 343.601]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [181.4, 345.201]},
{t: 'C', p: [181.4, 345.201, 186.6, 344.801, 185.4, 346.401]},
{t: 'C', p: [184.2, 348.001, 181.8, 347.201, 181.8, 347.201]},
{t: 'L', p: [181.4, 345.201]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [171, 346.801]},
{t: 'C', p: [171, 346.801, 176.2, 346.401, 175, 348.001]},
{t: 'C', p: [173.8, 349.601, 171.4, 348.801, 171.4, 348.801]},
{t: 'L', p: [171, 346.801]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [163.4, 347.601]},
{t: 'C', p: [163.4, 347.601, 168.6, 347.201, 167.4, 348.801]},
{t: 'C', p: [166.2, 350.401, 163.8, 349.601, 163.8, 349.601]},
{t: 'L', p: [163.4, 347.601]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [201.8, 308.001]},
{t: 'C', p: [201.8, 308.001, 206.2, 308.001, 205, 309.601]},
{t: 'C', p: [203.8, 311.201, 200.6, 310.801, 200.6, 310.801]},
{t: 'L', p: [201.8, 308.001]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [191.8, 313.601]},
{t: 'C', p: [191.8, 313.601, 198.306, 311.46, 195.8, 314.801]},
{t: 'C', p: [194.6, 316.401, 192.2, 315.601, 192.2, 315.601]},
{t: 'L', p: [191.8, 313.601]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [180.6, 318.401]},
{t: 'C', p: [180.6, 318.401, 185.8, 318.001, 184.6, 319.601]},
{t: 'C', p: [183.4, 321.201, 181, 320.401, 181, 320.401]},
{t: 'L', p: [180.6, 318.401]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [173, 324.401]},
{t: 'C', p: [173, 324.401, 178.2, 324.001, 177, 325.601]},
{t: 'C', p: [175.8, 327.201, 173.4, 326.401, 173.4, 326.401]},
{t: 'L', p: [173, 324.401]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [166.2, 329.201]},
{t: 'C', p: [166.2, 329.201, 171.4, 328.801, 170.2, 330.401]},
{t: 'C', p: [169, 332.001, 166.6, 331.201, 166.6, 331.201]},
{t: 'L', p: [166.2, 329.201]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [205.282, 335.598]},
{t: 'C', p: [205.282, 335.598, 212.203, 335.066, 210.606, 337.195]},
{t: 'C', p: [209.009, 339.325, 205.814, 338.26, 205.814, 338.26]},
{t: 'L', p: [205.282, 335.598]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [215.682, 330.798]},
{t: 'C', p: [215.682, 330.798, 222.603, 330.266, 221.006, 332.395]},
{t: 'C', p: [219.409, 334.525, 216.214, 333.46, 216.214, 333.46]},
{t: 'L', p: [215.682, 330.798]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [226.482, 326.398]},
{t: 'C', p: [226.482, 326.398, 233.403, 325.866, 231.806, 327.995]},
{t: 'C', p: [230.209, 330.125, 227.014, 329.06, 227.014, 329.06]},
{t: 'L', p: [226.482, 326.398]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [236.882, 321.598]},
{t: 'C', p: [236.882, 321.598, 243.803, 321.066, 242.206, 323.195]},
{t: 'C', p: [240.609, 325.325, 237.414, 324.26, 237.414, 324.26]},
{t: 'L', p: [236.882, 321.598]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [209.282, 303.598]},
{t: 'C', p: [209.282, 303.598, 216.203, 303.066, 214.606, 305.195]},
{t: 'C', p: [213.009, 307.325, 209.014, 307.06, 209.014, 307.06]},
{t: 'L', p: [209.282, 303.598]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [219.282, 300.398]},
{t: 'C', p: [219.282, 300.398, 226.203, 299.866, 224.606, 301.995]},
{t: 'C', p: [223.009, 304.125, 218.614, 303.86, 218.614, 303.86]},
{t: 'L', p: [219.282, 300.398]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [196.6, 340.401]},
{t: 'C', p: [196.6, 340.401, 201.8, 340.001, 200.6, 341.601]},
{t: 'C', p: [199.4, 343.201, 197, 342.401, 197, 342.401]},
{t: 'L', p: [196.6, 340.401]}, {t: 'z', p: []}
]
},
{
f: '#992600',
s: null,
p: [
{t: 'M', p: [123.4, 241.2]},
{t: 'C', p: [123.4, 241.2, 119, 250, 118.6, 253.2]},
{t: 'C', p: [118.6, 253.2, 119.4, 244.4, 120.6, 242.4]},
{t: 'C', p: [121.8, 240.4, 123.4, 241.2, 123.4, 241.2]},
{t: 'z', p: []}
]
},
{
f: '#992600',
s: null,
p: [
{t: 'M', p: [105, 255.2]},
{t: 'C', p: [105, 255.2, 101.8, 269.6, 102.2, 272.4]},
{t: 'C', p: [102.2, 272.4, 101, 260.8, 101.4, 259.6]},
{t: 'C', p: [101.8, 258.4, 105, 255.2, 105, 255.2]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [125.8, 180.6]}, {t: 'L', p: [125.6, 183.8]},
{t: 'L', p: [123.4, 184]},
{t: 'C', p: [123.4, 184, 137.6, 196.6, 138.2, 204.2]},
{t: 'C', p: [138.2, 204.2, 139, 196, 125.8, 180.6]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [129.784, 181.865]},
{t: 'C', p: [129.353, 181.449, 129.572, 180.704, 129.164, 180.444]},
{t: 'C', p: [128.355, 179.928, 130.462, 179.871, 130.234, 179.155]},
{t: 'C', p: [129.851, 177.949, 130.038, 177.928, 129.916, 176.652]},
{t: 'C', p: [129.859, 176.054, 130.447, 174.514, 130.832, 174.074]},
{t: 'C', p: [132.278, 172.422, 130.954, 169.49, 132.594, 167.939]},
{t: 'C', p: [132.898, 167.65, 133.274, 167.098, 133.559, 166.68]},
{t: 'C', p: [134.218, 165.717, 135.402, 165.229, 136.352, 164.401]},
{t: 'C', p: [136.67, 164.125, 136.469, 163.298, 137.038, 163.39]},
{t: 'C', p: [137.752, 163.505, 138.993, 163.375, 138.948, 164.216]},
{t: 'C', p: [138.835, 166.336, 137.506, 168.056, 136.226, 169.724]},
{t: 'C', p: [136.677, 170.428, 136.219, 171.063, 135.935, 171.62]},
{t: 'C', p: [134.6, 174.24, 134.789, 177.081, 134.615, 179.921]},
{t: 'C', p: [134.61, 180.006, 134.303, 180.084, 134.311, 180.137]},
{t: 'C', p: [134.664, 182.472, 135.248, 184.671, 136.127, 186.9]},
{t: 'C', p: [136.493, 187.83, 136.964, 188.725, 137.114, 189.652]},
{t: 'C', p: [137.225, 190.338, 137.328, 191.171, 136.92, 191.876]},
{t: 'C', p: [138.955, 194.766, 137.646, 197.417, 138.815, 200.948]},
{t: 'C', p: [139.022, 201.573, 140.714, 203.487, 140.251, 203.326]},
{t: 'C', p: [137.738, 202.455, 137.626, 202.057, 137.449, 201.304]},
{t: 'C', p: [137.303, 200.681, 136.973, 199.304, 136.736, 198.702]},
{t: 'C', p: [136.672, 198.538, 136.501, 196.654, 136.423, 196.532]},
{t: 'C', p: [134.91, 194.15, 136.268, 194.326, 134.898, 191.968]},
{t: 'C', p: [133.47, 191.288, 132.504, 190.184, 131.381, 189.022]},
{t: 'C', p: [131.183, 188.818, 132.326, 188.094, 132.145, 187.881]},
{t: 'C', p: [131.053, 186.592, 129.9, 185.825, 130.236, 184.332]},
{t: 'C', p: [130.391, 183.642, 130.528, 182.585, 129.784, 181.865]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [126.2, 183.6]},
{t: 'C', p: [126.2, 183.6, 126.6, 190.4, 129, 192]},
{t: 'C', p: [131.4, 193.6, 130.2, 192.8, 127, 191.6]},
{t: 'C', p: [123.8, 190.4, 125, 189.6, 125, 189.6]},
{t: 'C', p: [125, 189.6, 122.2, 190, 124.6, 192]},
{t: 'C', p: [127, 194, 130.6, 196.4, 129, 196.4]},
{t: 'C', p: [127.4, 196.4, 119.8, 192.4, 119.8, 189.6]},
{t: 'C', p: [119.8, 186.8, 118.8, 182.7, 118.8, 182.7]},
{t: 'C', p: [118.8, 182.7, 119.9, 181.9, 124.7, 182]},
{t: 'C', p: [124.7, 182, 126.1, 182.7, 126.2, 183.6]}, {t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [125.4, 202.2]},
{t: 'C', p: [125.4, 202.2, 116.88, 199.409, 98.4, 202.8]},
{t: 'C', p: [98.4, 202.8, 107.431, 200.722, 126.2, 203]},
{t: 'C', p: [136.5, 204.25, 125.4, 202.2, 125.4, 202.2]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [127.498, 202.129]},
{t: 'C', p: [127.498, 202.129, 119.252, 198.611, 100.547, 200.392]},
{t: 'C', p: [100.547, 200.392, 109.725, 199.103, 128.226, 202.995]},
{t: 'C', p: [138.38, 205.131, 127.498, 202.129, 127.498, 202.129]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [129.286, 202.222]},
{t: 'C', p: [129.286, 202.222, 121.324, 198.101, 102.539, 198.486]},
{t: 'C', p: [102.539, 198.486, 111.787, 197.882, 129.948, 203.14]},
{t: 'C', p: [139.914, 206.025, 129.286, 202.222, 129.286, 202.222]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [130.556, 202.445]},
{t: 'C', p: [130.556, 202.445, 123.732, 198.138, 106.858, 197.04]},
{t: 'C', p: [106.858, 197.04, 115.197, 197.21, 131.078, 203.319]},
{t: 'C', p: [139.794, 206.672, 130.556, 202.445, 130.556, 202.445]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [245.84, 212.961]},
{t: 'C', p: [245.84, 212.961, 244.91, 213.605, 245.124, 212.424]},
{t: 'C', p: [245.339, 211.243, 273.547, 198.073, 277.161, 198.323]},
{t: 'C', p: [277.161, 198.323, 246.913, 211.529, 245.84, 212.961]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [242.446, 213.6]},
{t: 'C', p: [242.446, 213.6, 241.57, 214.315, 241.691, 213.121]},
{t: 'C', p: [241.812, 211.927, 268.899, 196.582, 272.521, 196.548]},
{t: 'C', p: [272.521, 196.548, 243.404, 212.089, 242.446, 213.6]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [239.16, 214.975]},
{t: 'C', p: [239.16, 214.975, 238.332, 215.747, 238.374, 214.547]},
{t: 'C', p: [238.416, 213.348, 258.233, 197.851, 268.045, 195.977]},
{t: 'C', p: [268.045, 195.977, 250.015, 204.104, 239.16, 214.975]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [236.284, 216.838]},
{t: 'C', p: [236.284, 216.838, 235.539, 217.532, 235.577, 216.453]},
{t: 'C', p: [235.615, 215.373, 253.449, 201.426, 262.28, 199.74]},
{t: 'C', p: [262.28, 199.74, 246.054, 207.054, 236.284, 216.838]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [204.6, 364.801]},
{t: 'C', p: [204.6, 364.801, 189.4, 362.401, 206.2, 360.801]},
{t: 'C', p: [206.2, 360.801, 224.2, 358.801, 228.2, 353.601]},
{t: 'C', p: [228.2, 353.601, 241.8, 344.401, 244.6, 344.001]},
{t: 'C', p: [247.4, 343.601, 263.8, 340.001, 264.2, 337.601]},
{t: 'C', p: [264.6, 335.201, 270.6, 332.801, 272.2, 333.601]},
{t: 'C', p: [273.8, 334.401, 273.8, 343.601, 271, 344.401]},
{t: 'C', p: [268.2, 345.201, 249.4, 352.401, 243, 353.601]},
{t: 'C', p: [236.6, 354.801, 225, 362.401, 220.2, 363.601]},
{t: 'C', p: [215.4, 364.801, 204.6, 364.801, 204.6, 364.801]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [277.6, 327.401]},
{t: 'C', p: [277.6, 327.401, 274.6, 329.001, 273.4, 331.601]},
{t: 'C', p: [273.4, 331.601, 267, 342.201, 252.8, 345.401]},
{t: 'C', p: [252.8, 345.401, 229.8, 354.401, 222, 356.401]},
{t: 'C', p: [222, 356.401, 208.6, 361.401, 201.2, 360.601]},
{t: 'C', p: [201.2, 360.601, 194.2, 360.801, 200.4, 362.401]},
{t: 'C', p: [200.4, 362.401, 220.6, 360.401, 224, 358.601]},
{t: 'C', p: [224, 358.601, 239.6, 353.401, 242.6, 350.801]},
{t: 'C', p: [245.6, 348.201, 263.8, 343.201, 266, 341.201]},
{t: 'C', p: [268.2, 339.201, 278, 330.801, 277.6, 327.401]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [218.882, 358.911]},
{t: 'C', p: [218.882, 358.911, 224.111, 358.685, 222.958, 360.234]},
{t: 'C', p: [221.805, 361.784, 219.357, 360.91, 219.357, 360.91]},
{t: 'L', p: [218.882, 358.911]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [211.68, 360.263]},
{t: 'C', p: [211.68, 360.263, 216.908, 360.037, 215.756, 361.586]},
{t: 'C', p: [214.603, 363.136, 212.155, 362.263, 212.155, 362.263]},
{t: 'L', p: [211.68, 360.263]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [201.251, 361.511]},
{t: 'C', p: [201.251, 361.511, 206.48, 361.284, 205.327, 362.834]},
{t: 'C', p: [204.174, 364.383, 201.726, 363.51, 201.726, 363.51]},
{t: 'L', p: [201.251, 361.511]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [193.617, 362.055]},
{t: 'C', p: [193.617, 362.055, 198.846, 361.829, 197.693, 363.378]},
{t: 'C', p: [196.54, 364.928, 194.092, 364.054, 194.092, 364.054]},
{t: 'L', p: [193.617, 362.055]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [235.415, 351.513]},
{t: 'C', p: [235.415, 351.513, 242.375, 351.212, 240.84, 353.274]},
{t: 'C', p: [239.306, 355.336, 236.047, 354.174, 236.047, 354.174]},
{t: 'L', p: [235.415, 351.513]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [245.73, 347.088]},
{t: 'C', p: [245.73, 347.088, 251.689, 343.787, 251.155, 348.849]},
{t: 'C', p: [250.885, 351.405, 246.362, 349.749, 246.362, 349.749]},
{t: 'L', p: [245.73, 347.088]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [254.862, 344.274]},
{t: 'C', p: [254.862, 344.274, 262.021, 340.573, 260.287, 346.035]},
{t: 'C', p: [259.509, 348.485, 255.493, 346.935, 255.493, 346.935]},
{t: 'L', p: [254.862, 344.274]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [264.376, 339.449]},
{t: 'C', p: [264.376, 339.449, 268.735, 334.548, 269.801, 341.21]},
{t: 'C', p: [270.207, 343.748, 265.008, 342.11, 265.008, 342.11]},
{t: 'L', p: [264.376, 339.449]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [226.834, 355.997]},
{t: 'C', p: [226.834, 355.997, 232.062, 355.77, 230.91, 357.32]},
{t: 'C', p: [229.757, 358.869, 227.308, 357.996, 227.308, 357.996]},
{t: 'L', p: [226.834, 355.997]}, {t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [262.434, 234.603]},
{t: 'C', p: [262.434, 234.603, 261.708, 235.268, 261.707, 234.197]},
{t: 'C', p: [261.707, 233.127, 279.191, 219.863, 288.034, 218.479]},
{t: 'C', p: [288.034, 218.479, 271.935, 225.208, 262.434, 234.603]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [265.4, 298.4]},
{t: 'C', p: [265.4, 298.4, 287.401, 320.801, 296.601, 324.401]},
{t: 'C', p: [296.601, 324.401, 305.801, 335.601, 301.801, 361.601]},
{t: 'C', p: [301.801, 361.601, 298.601, 369.201, 295.401, 348.401]},
{t: 'C', p: [295.401, 348.401, 298.601, 323.201, 287.401, 339.201]},
{t: 'C', p: [287.401, 339.201, 279, 329.301, 285.4, 329.601]},
{t: 'C', p: [285.4, 329.601, 288.601, 331.601, 289.001, 330.001]},
{t: 'C', p: [289.401, 328.401, 281.4, 314.801, 264.2, 300.4]},
{t: 'C', p: [247, 286, 265.4, 298.4, 265.4, 298.4]}, {t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [207, 337.201]},
{t: 'C', p: [207, 337.201, 206.8, 335.401, 208.6, 336.201]},
{t: 'C', p: [210.4, 337.001, 304.601, 343.201, 336.201, 367.201]},
{t: 'C', p: [336.201, 367.201, 291.001, 344.001, 207, 337.201]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [217.4, 332.801]},
{t: 'C', p: [217.4, 332.801, 217.2, 331.001, 219, 331.801]},
{t: 'C', p: [220.8, 332.601, 357.401, 331.601, 381.001, 364.001]},
{t: 'C', p: [381.001, 364.001, 359.001, 338.801, 217.4, 332.801]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [229, 328.801]},
{t: 'C', p: [229, 328.801, 228.8, 327.001, 230.6, 327.801]},
{t: 'C', p: [232.4, 328.601, 405.801, 315.601, 429.401, 348.001]},
{t: 'C', p: [429.401, 348.001, 419.801, 322.401, 229, 328.801]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [239, 324.001]},
{t: 'C', p: [239, 324.001, 238.8, 322.201, 240.6, 323.001]},
{t: 'C', p: [242.4, 323.801, 364.601, 285.2, 388.201, 317.601]},
{t: 'C', p: [388.201, 317.601, 374.801, 293, 239, 324.001]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [181, 346.801]},
{t: 'C', p: [181, 346.801, 180.8, 345.001, 182.6, 345.801]},
{t: 'C', p: [184.4, 346.601, 202.2, 348.801, 204.2, 387.601]},
{t: 'C', p: [204.2, 387.601, 197, 345.601, 181, 346.801]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [172.2, 348.401]},
{t: 'C', p: [172.2, 348.401, 172, 346.601, 173.8, 347.401]},
{t: 'C', p: [175.6, 348.201, 189.8, 343.601, 187, 382.401]},
{t: 'C', p: [187, 382.401, 188.2, 347.201, 172.2, 348.401]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [164.2, 348.801]},
{t: 'C', p: [164.2, 348.801, 164, 347.001, 165.8, 347.801]},
{t: 'C', p: [167.6, 348.601, 183, 349.201, 170.6, 371.601]},
{t: 'C', p: [170.6, 371.601, 180.2, 347.601, 164.2, 348.801]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [211.526, 304.465]},
{t: 'C', p: [211.526, 304.465, 211.082, 306.464, 212.631, 305.247]},
{t: 'C', p: [228.699, 292.622, 261.141, 233.72, 316.826, 228.086]},
{t: 'C', p: [316.826, 228.086, 278.518, 215.976, 211.526, 304.465]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [222.726, 302.665]},
{t: 'C', p: [222.726, 302.665, 221.363, 301.472, 223.231, 300.847]},
{t: 'C', p: [225.099, 300.222, 337.541, 227.72, 376.826, 235.686]},
{t: 'C', p: [376.826, 235.686, 349.719, 228.176, 222.726, 302.665]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [201.885, 308.767]},
{t: 'C', p: [201.885, 308.767, 201.376, 310.366, 203.087, 309.39]},
{t: 'C', p: [212.062, 304.27, 215.677, 247.059, 259.254, 245.804]},
{t: 'C', p: [259.254, 245.804, 226.843, 231.09, 201.885, 308.767]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [181.962, 319.793]},
{t: 'C', p: [181.962, 319.793, 180.885, 321.079, 182.838, 320.825]},
{t: 'C', p: [193.084, 319.493, 214.489, 278.222, 258.928, 283.301]},
{t: 'C', p: [258.928, 283.301, 226.962, 268.955, 181.962, 319.793]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [193.2, 313.667]},
{t: 'C', p: [193.2, 313.667, 192.389, 315.136, 194.258, 314.511]},
{t: 'C', p: [204.057, 311.237, 217.141, 266.625, 261.729, 263.078]},
{t: 'C', p: [261.729, 263.078, 227.603, 255.135, 193.2, 313.667]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [174.922, 324.912]},
{t: 'C', p: [174.922, 324.912, 174.049, 325.954, 175.631, 325.748]},
{t: 'C', p: [183.93, 324.669, 201.268, 291.24, 237.264, 295.354]},
{t: 'C', p: [237.264, 295.354, 211.371, 283.734, 174.922, 324.912]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [167.323, 330.821]},
{t: 'C', p: [167.323, 330.821, 166.318, 331.866, 167.909, 331.748]},
{t: 'C', p: [172.077, 331.439, 202.715, 298.36, 221.183, 313.862]},
{t: 'C', p: [221.183, 313.862, 209.168, 295.139, 167.323, 330.821]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [236.855, 298.898]},
{t: 'C', p: [236.855, 298.898, 235.654, 297.543, 237.586, 297.158]},
{t: 'C', p: [239.518, 296.774, 360.221, 239.061, 398.184, 251.927]},
{t: 'C', p: [398.184, 251.927, 372.243, 241.053, 236.855, 298.898]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [203.4, 363.201]},
{t: 'C', p: [203.4, 363.201, 203.2, 361.401, 205, 362.201]},
{t: 'C', p: [206.8, 363.001, 222.2, 363.601, 209.8, 386.001]},
{t: 'C', p: [209.8, 386.001, 219.4, 362.001, 203.4, 363.201]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [213.8, 361.601]},
{t: 'C', p: [213.8, 361.601, 213.6, 359.801, 215.4, 360.601]},
{t: 'C', p: [217.2, 361.401, 235, 363.601, 237, 402.401]},
{t: 'C', p: [237, 402.401, 229.8, 360.401, 213.8, 361.601]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [220.6, 360.001]},
{t: 'C', p: [220.6, 360.001, 220.4, 358.201, 222.2, 359.001]},
{t: 'C', p: [224, 359.801, 248.6, 363.201, 272.2, 395.601]},
{t: 'C', p: [272.2, 395.601, 236.6, 358.801, 220.6, 360.001]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [228.225, 357.972]},
{t: 'C', p: [228.225, 357.972, 227.788, 356.214, 229.678, 356.768]},
{t: 'C', p: [231.568, 357.322, 252.002, 355.423, 290.099, 389.599]},
{t: 'C', p: [290.099, 389.599, 243.924, 354.656, 228.225, 357.972]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [238.625, 353.572]},
{t: 'C', p: [238.625, 353.572, 238.188, 351.814, 240.078, 352.368]},
{t: 'C', p: [241.968, 352.922, 276.802, 357.423, 328.499, 392.399]},
{t: 'C', p: [328.499, 392.399, 254.324, 350.256, 238.625, 353.572]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [198.2, 342.001]},
{t: 'C', p: [198.2, 342.001, 198, 340.201, 199.8, 341.001]},
{t: 'C', p: [201.6, 341.801, 255, 344.401, 285.4, 371.201]},
{t: 'C', p: [285.4, 371.201, 250.499, 346.426, 198.2, 342.001]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [188.2, 346.001]},
{t: 'C', p: [188.2, 346.001, 188, 344.201, 189.8, 345.001]},
{t: 'C', p: [191.6, 345.801, 216.2, 349.201, 239.8, 381.601]},
{t: 'C', p: [239.8, 381.601, 204.2, 344.801, 188.2, 346.001]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [249.503, 348.962]},
{t: 'C', p: [249.503, 348.962, 248.938, 347.241, 250.864, 347.655]},
{t: 'C', p: [252.79, 348.068, 287.86, 350.004, 341.981, 381.098]},
{t: 'C', p: [341.981, 381.098, 264.317, 346.704, 249.503, 348.962]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [257.903, 346.562]},
{t: 'C', p: [257.903, 346.562, 257.338, 344.841, 259.264, 345.255]},
{t: 'C', p: [261.19, 345.668, 296.26, 347.604, 350.381, 378.698]},
{t: 'C', p: [350.381, 378.698, 273.317, 343.904, 257.903, 346.562]},
{t: 'z', p: []}
]
},
{
f: '#fff',
s: {c: '#000', w: 0.1},
p: [
{t: 'M', p: [267.503, 341.562]},
{t: 'C', p: [267.503, 341.562, 266.938, 339.841, 268.864, 340.255]},
{t: 'C', p: [270.79, 340.668, 313.86, 345.004, 403.582, 379.298]},
{t: 'C', p: [403.582, 379.298, 282.917, 338.904, 267.503, 341.562]},
{t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [156.2, 348.401]},
{t: 'C', p: [156.2, 348.401, 161.4, 348.001, 160.2, 349.601]},
{t: 'C', p: [159, 351.201, 156.6, 350.401, 156.6, 350.401]},
{t: 'L', p: [156.2, 348.401]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [187, 362.401]},
{t: 'C', p: [187, 362.401, 192.2, 362.001, 191, 363.601]},
{t: 'C', p: [189.8, 365.201, 187.4, 364.401, 187.4, 364.401]},
{t: 'L', p: [187, 362.401]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [178.2, 362.001]},
{t: 'C', p: [178.2, 362.001, 183.4, 361.601, 182.2, 363.201]},
{t: 'C', p: [181, 364.801, 178.6, 364.001, 178.6, 364.001]},
{t: 'L', p: [178.2, 362.001]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [82.831, 350.182]},
{t: 'C', p: [82.831, 350.182, 87.876, 351.505, 86.218, 352.624]},
{t: 'C', p: [84.561, 353.744, 82.554, 352.202, 82.554, 352.202]},
{t: 'L', p: [82.831, 350.182]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [84.831, 340.582]},
{t: 'C', p: [84.831, 340.582, 89.876, 341.905, 88.218, 343.024]},
{t: 'C', p: [86.561, 344.144, 84.554, 342.602, 84.554, 342.602]},
{t: 'L', p: [84.831, 340.582]}, {t: 'z', p: []}
]
},
{
f: '#000',
s: null,
p: [
{t: 'M', p: [77.631, 336.182]},
{t: 'C', p: [77.631, 336.182, 82.676, 337.505, 81.018, 338.624]},
{t: 'C', p: [79.361, 339.744, 77.354, 338.202, 77.354, 338.202]},
{t: 'L', p: [77.631, 336.182]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [157.4, 411.201]},
{t: 'C', p: [157.4, 411.201, 155.8, 411.201, 151.8, 413.201]},
{t: 'C', p: [149.8, 413.201, 138.6, 416.801, 133, 426.801]},
{t: 'C', p: [133, 426.801, 145.4, 417.201, 157.4, 411.201]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [245.116, 503.847]},
{t: 'C', p: [245.257, 504.105, 245.312, 504.525, 245.604, 504.542]},
{t: 'C', p: [246.262, 504.582, 247.495, 504.883, 247.37, 504.247]},
{t: 'C', p: [246.522, 499.941, 245.648, 495.004, 241.515, 493.197]},
{t: 'C', p: [240.876, 492.918, 239.434, 493.331, 239.36, 494.215]},
{t: 'C', p: [239.233, 495.739, 239.116, 497.088, 239.425, 498.554]},
{t: 'C', p: [239.725, 499.975, 241.883, 499.985, 242.8, 498.601]},
{t: 'C', p: [243.736, 500.273, 244.168, 502.116, 245.116, 503.847]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [234.038, 508.581]},
{t: 'C', p: [234.786, 509.994, 234.659, 511.853, 236.074, 512.416]},
{t: 'C', p: [236.814, 512.71, 238.664, 511.735, 238.246, 510.661]},
{t: 'C', p: [237.444, 508.6, 237.056, 506.361, 235.667, 504.55]},
{t: 'C', p: [235.467, 504.288, 235.707, 503.755, 235.547, 503.427]},
{t: 'C', p: [234.953, 502.207, 233.808, 501.472, 232.4, 501.801]},
{t: 'C', p: [231.285, 504.004, 232.433, 506.133, 233.955, 507.842]},
{t: 'C', p: [234.091, 507.994, 233.925, 508.37, 234.038, 508.581]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [194.436, 503.391]},
{t: 'C', p: [194.328, 503.014, 194.29, 502.551, 194.455, 502.23]},
{t: 'C', p: [194.986, 501.197, 195.779, 500.075, 195.442, 499.053]},
{t: 'C', p: [195.094, 497.997, 193.978, 498.179, 193.328, 498.748]},
{t: 'C', p: [192.193, 499.742, 192.144, 501.568, 191.453, 502.927]},
{t: 'C', p: [191.257, 503.313, 191.308, 503.886, 190.867, 504.277]},
{t: 'C', p: [190.393, 504.698, 189.953, 506.222, 190.049, 506.793]},
{t: 'C', p: [190.102, 507.106, 189.919, 517.014, 190.141, 516.751]},
{t: 'C', p: [190.76, 516.018, 193.81, 506.284, 193.879, 505.392]},
{t: 'C', p: [193.936, 504.661, 194.668, 504.196, 194.436, 503.391]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [168.798, 496.599]},
{t: 'C', p: [171.432, 494.1, 174.222, 491.139, 173.78, 487.427]},
{t: 'C', p: [173.664, 486.451, 171.889, 486.978, 171.702, 487.824]},
{t: 'C', p: [170.9, 491.449, 168.861, 494.11, 166.293, 496.502]},
{t: 'C', p: [164.097, 498.549, 162.235, 504.893, 162, 505.401]},
{t: 'C', p: [165.697, 500.145, 167.954, 497.399, 168.798, 496.599]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [155.224, 490.635]},
{t: 'C', p: [155.747, 490.265, 155.445, 489.774, 155.662, 489.442]},
{t: 'C', p: [156.615, 487.984, 157.916, 486.738, 157.934, 485]},
{t: 'C', p: [157.937, 484.723, 157.559, 484.414, 157.224, 484.638]},
{t: 'C', p: [156.947, 484.822, 156.605, 484.952, 156.497, 485.082]},
{t: 'C', p: [154.467, 487.531, 153.067, 490.202, 151.624, 493.014]},
{t: 'C', p: [151.441, 493.371, 150.297, 497.862, 150.61, 497.973]},
{t: 'C', p: [150.849, 498.058, 152.569, 493.877, 152.779, 493.763]},
{t: 'C', p: [154.042, 493.077, 154.054, 491.462, 155.224, 490.635]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [171.957, 510.179]},
{t: 'C', p: [172.401, 509.31, 173.977, 508.108, 173.864, 507.219]},
{t: 'C', p: [173.746, 506.291, 174.214, 504.848, 173.302, 505.536]},
{t: 'C', p: [172.045, 506.484, 168.596, 507.833, 168.326, 513.641]},
{t: 'C', p: [168.3, 514.212, 171.274, 511.519, 171.957, 510.179]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [186.4, 493.001]},
{t: 'C', p: [186.8, 492.333, 187.508, 492.806, 187.967, 492.543]},
{t: 'C', p: [188.615, 492.171, 189.226, 491.613, 189.518, 490.964]},
{t: 'C', p: [190.488, 488.815, 192.257, 486.995, 192.4, 484.601]},
{t: 'C', p: [190.909, 483.196, 190.23, 485.236, 189.6, 486.201]},
{t: 'C', p: [188.277, 484.554, 187.278, 486.428, 185.978, 486.947]},
{t: 'C', p: [185.908, 486.975, 185.695, 486.628, 185.62, 486.655]},
{t: 'C', p: [184.443, 487.095, 183.763, 488.176, 182.765, 488.957]},
{t: 'C', p: [182.594, 489.091, 182.189, 488.911, 182.042, 489.047]},
{t: 'C', p: [181.39, 489.65, 180.417, 489.975, 180.137, 490.657]},
{t: 'C', p: [179.027, 493.364, 175.887, 495.459, 174, 503.001]},
{t: 'C', p: [174.381, 503.91, 178.512, 496.359, 178.999, 495.661]},
{t: 'C', p: [179.835, 494.465, 179.953, 497.322, 181.229, 496.656]},
{t: 'C', p: [181.28, 496.629, 181.466, 496.867, 181.6, 497.001]},
{t: 'C', p: [181.794, 496.721, 182.012, 496.492, 182.4, 496.601]},
{t: 'C', p: [182.4, 496.201, 182.266, 495.645, 182.467, 495.486]},
{t: 'C', p: [183.704, 494.509, 183.62, 493.441, 184.4, 492.201]},
{t: 'C', p: [184.858, 492.99, 185.919, 492.271, 186.4, 493.001]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [246.2, 547.401]},
{t: 'C', p: [246.2, 547.401, 253.6, 527.001, 249.2, 515.801]},
{t: 'C', p: [249.2, 515.801, 260.6, 537.401, 256, 548.601]},
{t: 'C', p: [256, 548.601, 255.6, 538.201, 251.6, 533.201]},
{t: 'C', p: [251.6, 533.201, 247.6, 546.001, 246.2, 547.401]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [231.4, 544.801]},
{t: 'C', p: [231.4, 544.801, 236.8, 536.001, 228.8, 517.601]},
{t: 'C', p: [228.8, 517.601, 228, 538.001, 221.2, 549.001]},
{t: 'C', p: [221.2, 549.001, 235.4, 528.801, 231.4, 544.801]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [221.4, 542.801]},
{t: 'C', p: [221.4, 542.801, 221.2, 522.801, 221.6, 519.801]},
{t: 'C', p: [221.6, 519.801, 217.8, 536.401, 207.6, 546.001]},
{t: 'C', p: [207.6, 546.001, 222, 534.001, 221.4, 542.801]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [211.8, 510.801]},
{t: 'C', p: [211.8, 510.801, 217.8, 524.401, 207.8, 542.801]},
{t: 'C', p: [207.8, 542.801, 214.2, 530.601, 209.4, 523.601]},
{t: 'C', p: [209.4, 523.601, 212, 520.201, 211.8, 510.801]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [192.6, 542.401]},
{t: 'C', p: [192.6, 542.401, 191.6, 526.801, 193.4, 524.601]},
{t: 'C', p: [193.4, 524.601, 193.6, 518.201, 193.2, 517.201]},
{t: 'C', p: [193.2, 517.201, 197.2, 511.001, 197.4, 518.401]},
{t: 'C', p: [197.4, 518.401, 198.8, 526.201, 201.6, 530.801]},
{t: 'C', p: [201.6, 530.801, 205.2, 536.201, 205, 542.601]},
{t: 'C', p: [205, 542.601, 195, 512.401, 192.6, 542.401]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [189, 514.801]},
{t: 'C', p: [189, 514.801, 182.4, 525.601, 180.6, 544.601]},
{t: 'C', p: [180.6, 544.601, 179.2, 538.401, 183, 524.001]},
{t: 'C', p: [183, 524.001, 187.2, 508.601, 189, 514.801]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [167.2, 534.601]},
{t: 'C', p: [167.2, 534.601, 172.2, 529.201, 173.6, 524.201]},
{t: 'C', p: [173.6, 524.201, 177.2, 508.401, 170.8, 517.001]},
{t: 'C', p: [170.8, 517.001, 171, 525.001, 162.8, 532.401]},
{t: 'C', p: [162.8, 532.401, 167.6, 530.001, 167.2, 534.601]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [161.4, 529.601]},
{t: 'C', p: [161.4, 529.601, 164.8, 512.201, 165.6, 511.401]},
{t: 'C', p: [165.6, 511.401, 167.4, 508.001, 164.6, 511.201]},
{t: 'C', p: [164.6, 511.201, 155.8, 530.401, 151.8, 537.001]},
{t: 'C', p: [151.8, 537.001, 159.8, 527.801, 161.4, 529.601]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [155.6, 513.001]},
{t: 'C', p: [155.6, 513.001, 167.2, 490.601, 145.4, 516.401]},
{t: 'C', p: [145.4, 516.401, 156.4, 506.601, 155.6, 513.001]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [140.2, 498.401]},
{t: 'C', p: [140.2, 498.401, 145, 479.601, 147.6, 479.801]},
{t: 'C', p: [147.6, 479.801, 155.8, 470.801, 149.2, 481.401]},
{t: 'C', p: [149.2, 481.401, 143.2, 491.001, 143.8, 500.801]},
{t: 'C', p: [143.8, 500.801, 143.2, 491.201, 140.2, 498.401]},
{t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [470.5, 487]},
{t: 'C', p: [470.5, 487, 458.5, 477, 456, 473.5]},
{t: 'C', p: [456, 473.5, 469.5, 492, 469.5, 499]},
{t: 'C', p: [469.5, 499, 472, 491.5, 470.5, 487]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [476, 465]}, {t: 'C', p: [476, 465, 455, 450, 451.5, 442.5]},
{t: 'C', p: [451.5, 442.5, 478, 472, 478, 476.5]},
{t: 'C', p: [478, 476.5, 478.5, 467.5, 476, 465]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [493, 311]}, {t: 'C', p: [493, 311, 481, 303, 479.5, 305]},
{t: 'C', p: [479.5, 305, 490, 311.5, 492.5, 320]},
{t: 'C', p: [492.5, 320, 491, 311, 493, 311]}, {t: 'z', p: []}
]
},
{
f: '#ccc',
s: null,
p: [
{t: 'M', p: [501.5, 391.5]}, {t: 'L', p: [484, 379.5]},
{t: 'C', p: [484, 379.5, 503, 396.5, 503.5, 400.5]},
{t: 'L', p: [501.5, 391.5]}, {t: 'z', p: []}
]
},
{
f: null,
s: '#000',
p: [{t: 'M', p: [110.75, 369]}, {t: 'L', p: [132.75, 373.75]}]
},
{
f: null,
s: '#000',
p: [
{t: 'M', p: [161, 531]},
{t: 'C', p: [161, 531, 160.5, 527.5, 151.5, 538]}
]
},
{
f: null,
s: '#000',
p: [
{t: 'M', p: [166.5, 536]},
{t: 'C', p: [166.5, 536, 168.5, 529.5, 162, 534]}
]
},
{
f: null,
s: '#000',
p: [
{t: 'M', p: [220.5, 544.5]},
{t: 'C', p: [220.5, 544.5, 222, 533.5, 210.5, 546.5]}
]
}
];
| 39.77767 | 79 | 0.441695 |
83f886f9e48fb53b77ad4f9da3dfc9fd9ae00cc7 | 6,662 | js | JavaScript | hangman 2/app.js | 10-anasAllawafeh/js-task | 74a41f3d8bfe29cc8f69273f3f6ef528a34e9778 | [
"MIT"
] | null | null | null | hangman 2/app.js | 10-anasAllawafeh/js-task | 74a41f3d8bfe29cc8f69273f3f6ef528a34e9778 | [
"MIT"
] | 5 | 2021-09-28T14:46:10.000Z | 2021-10-21T10:41:09.000Z | hangman 2/app.js | 10-anasAllawafeh/js-task | 74a41f3d8bfe29cc8f69273f3f6ef528a34e9778 | [
"MIT"
] | 2 | 2021-09-28T14:27:26.000Z | 2021-10-21T09:35:17.000Z | window.onload = function () {
var alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's',
't', 'u', 'v', 'w', 'x', 'y', 'z'];
var categories; // Array of topics
var chosenCategory; // Selected catagory
var getHint ; // Word getHint
var word ; // Selected word
var guess ; // Geuss
var geusses = [ ]; // Stored geusses
var lives ; // Lives
var counter ; // Count correct geusses
var space; // Number of spaces in word '-'
// Get elements
var showLives = document.getElementById("mylives");
var showCatagory = document.getElementById("scatagory");
var getHint = document.getElementById("hint");
var showClue = document.getElementById("clue");
// create alphabet ul
var buttons = function () {
myButtons = document.getElementById('buttons');
letters = document.createElement('ul');
for (var i = 0; i < alphabet.length; i++) {
letters.id = 'alphabet';
list = document.createElement('li');
list.id = 'letter';
list.innerHTML = alphabet[i];
check();
myButtons.appendChild(letters);
letters.appendChild(list);
}
}
// Select Catagory
var selectCat = function () {
if (chosenCategory === categories[0]) {
catagoryName.innerHTML = "The Chosen Category Is Premier League Football Teams";
} else if (chosenCategory === categories[1]) {
catagoryName.innerHTML = "The Chosen Category Is Films";
} else if (chosenCategory === categories[2]) {
catagoryName.innerHTML = "The Chosen Category Is Cities";
}
}
// Create geusses ul
result = function () {
wordHolder = document.getElementById('hold');
correct = document.createElement('ul');
for (var i = 0; i < word.length; i++) {
correct.setAttribute('id', 'my-word');
guess = document.createElement('li');
guess.setAttribute('class', 'guess');
if (word[i] === "-") {
guess.innerHTML = "-";
space = 1;
} else {
guess.innerHTML = "_";
}
geusses.push(guess);
wordHolder.appendChild(correct);
correct.appendChild(guess);
}
}
// Show lives
comments = function () {
showLives.innerHTML = "You have " + lives + " lives";
if (lives < 1) {
showLives.innerHTML = "Game Over";
}
for (var i = 0; i < geusses.length; i++) {
if (counter + space === geusses.length) {
showLives.innerHTML = "You Win!";
}
}
}
// Animate man
var animate = function () {
var drawMe = lives ;
drawArray[drawMe]();
}
// Hangman
canvas = function(){
myStickman = document.getElementById("stickman");
context = myStickman.getContext('2d');
context.beginPath();
context.strokeStyle = "#fff";
context.lineWidth = 2;
};
head = function(){
myStickman = document.getElementById("stickman");
context = myStickman.getContext('2d');
context.beginPath();
context.arc(60, 25, 10, 0, Math.PI*2, true);
context.stroke();
}
draw = function($pathFromx, $pathFromy, $pathTox, $pathToy) {
context.moveTo($pathFromx, $pathFromy);
context.lineTo($pathTox, $pathToy);
context.stroke();
}
frame1 = function() {
draw (0, 150, 150, 150);
};
frame2 = function() {
draw (10, 0, 10, 600);
};
frame3 = function() {
draw (0, 5, 70, 5);
};
frame4 = function() {
draw (60, 5, 60, 15);
};
torso = function() {
draw (60, 36, 60, 70);
};
rightArm = function() {
draw (60, 46, 100, 50);
};
leftArm = function() {
draw (60, 46, 20, 50);
};
rightLeg = function() {
draw (60, 70, 100, 100);
};
leftLeg = function() {
draw (60, 70, 20, 100);
};
drawArray = [rightLeg, leftLeg, rightArm, leftArm, torso, head, frame4, frame3, frame2, frame1];
// OnClick Function
check = function () {
list.onclick = function () {
var geuss = (this.innerHTML);
this.setAttribute("class", "active");
this.onclick = null;
for (var i = 0; i < word.length; i++) {
if (word[i] === geuss) {
geusses[i].innerHTML = geuss;
counter += 1;
}
}
var j = (word.indexOf(geuss));
if (j === -1) {
lives -= 1;
comments();
animate();
} else {
comments();
}
}
}
// Play
play = function () {
categories = [
["everton", "liverpool", "swansea", "chelsea", "hull", "manchester-city", "newcastle-united"],
["alien", "dirty-harry", "gladiator", "finding-nemo", "jaws"],
["manchester", "milan", "madrid", "amsterdam", "prague"]
];
chosenCategory = categories[Math.floor(Math.random() * categories.length)];
word = chosenCategory[Math.floor(Math.random() * chosenCategory.length)];
word = word.replace(/\s/g, "-");
console.log(word);
buttons();
geusses = [ ];
lives = 10;
counter = 0;
space = 0;
result();
comments();
selectCat();
canvas();
}
play();
// Hint
hint.onclick = function() {
hints = [
["Based in Mersyside", "Based in Mersyside", "First Welsh team to reach the Premier Leauge", "Owned by A russian Billionaire", "Once managed by Phil Brown", "2013 FA Cup runners up", "Gazza's first club"],
["Science-Fiction horror film", "1971 American action film", "Historical drama", "Anamated Fish", "Giant great white shark"],
["Northern city in the UK", "Home of AC and Inter", "Spanish capital", "Netherlands capital", "Czech Republic capital"]
];
var catagoryIndex = categories.indexOf(chosenCategory);
var hintIndex = chosenCategory.indexOf(word);
showClue.innerHTML = "Clue: - " + hints [catagoryIndex][hintIndex];
};
// Reset
document.getElementById('reset').onclick = function() {
correct.parentNode.removeChild(correct);
letters.parentNode.removeChild(letters);
showClue.innerHTML = "";
context.clearRect(0, 0, 400, 400);
play();
}
} | 28.592275 | 215 | 0.521765 |
83f96e9b7caf0fe476ec6e5cdf6cf8225c163136 | 4,176 | js | JavaScript | index.js | Artpej/cluboeno | 509f9ca84e6cd4a96d295f2a9c4e2bd0fc0965d1 | [
"MIT"
] | null | null | null | index.js | Artpej/cluboeno | 509f9ca84e6cd4a96d295f2a9c4e2bd0fc0965d1 | [
"MIT"
] | null | null | null | index.js | Artpej/cluboeno | 509f9ca84e6cd4a96d295f2a9c4e2bd0fc0965d1 | [
"MIT"
] | null | null | null | var trendarticle = new Vue({
el: '#trendarticle',
data: {
articles : [
{
title : 'Short Blog Title',
publisheddate : '12th August 2018',
summation : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do',
img : 'https://picsum.photos/500/500/?random=1'
},
{
title : 'Short Blog Title',
publisheddate : '12th August 2018',
summation : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do',
img : 'https://picsum.photos/500/500/?random=2'
},
{
title : 'Short Blog Title',
publisheddate : '12th August 2018',
summation : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do',
img : 'https://picsum.photos/500/500/?random=3'
},
{
title : 'Short Blog Title',
publisheddate : '12th August 2018',
summation : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do',
img : 'https://picsum.photos/500/500/?random=4'
},
{
title : 'Short Blog Title',
publisheddate : '12th August 2018',
summation : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do',
img : 'https://picsum.photos/500/500/?random=5'
}
]
}
})
var lastarticle = new Vue({
el: '#lastarticle',
data: {
articles : [
{
title : 'Fusce facilisis tempus magna ac dignissim 1',
publisheddate : '12th August 2018',
text : 'Vivamus sed consequat urna. Fusce vitae urna sed ante placerat iaculis. Suspendisse potenti. Pellentesque quis fringilla libero. In hac habitasse platea dictumst. Ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo',
img : 'https://picsum.photos/800/300/?random=1'
},
{
title : 'Fusce facilisis tempus magna ac dignissim 2' ,
publisheddate : '12th August 2018',
text : 'Vivamus sed consequat urna. Fusce vitae urna sed ante placerat iaculis. Suspendisse potenti. Pellentesque quis fringilla libero. In hac habitasse platea dictumst. Ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo',
img : 'https://picsum.photos/800/300/?random=2'
},
{
title : 'Fusce facilisis tempus magna ac dignissim 3',
publisheddate : '12th August 2018',
text : 'Vivamus sed consequat urna. Fusce vitae urna sed ante placerat iaculis. Suspendisse potenti. Pellentesque quis fringilla libero. In hac habitasse platea dictumst. Ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo',
img : 'https://picsum.photos/800/300/?random=3'
},
{
title : 'Fusce facilisis tempus magna ac dignissim 4',
publisheddate : '12th August 2018',
text : 'Vivamus sed consequat urna. Fusce vitae urna sed ante placerat iaculis. Suspendisse potenti. Pellentesque quis fringilla libero. In hac habitasse platea dictumst. Ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo',
img : 'https://picsum.photos/800/300/?random=4'
},
{
title : 'Fusce facilisis tempus magna ac dignissim 5',
publisheddate : '12th August 2018',
text : 'Vivamus sed consequat urna. Fusce vitae urna sed ante placerat iaculis. Suspendisse potenti. Pellentesque quis fringilla libero. In hac habitasse platea dictumst. Ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo',
img : 'https://picsum.photos/800/300/?random=5'
}
]
}
}) | 54.947368 | 330 | 0.619492 |
83f9771c479e64363413fd8689c5ba7d953cc86e | 2,157 | js | JavaScript | config/webpack.config.js | mykabam/ngFormio | 46f02cb79abd26636a7183bc881677bab9d4d4f8 | [
"MIT"
] | null | null | null | config/webpack.config.js | mykabam/ngFormio | 46f02cb79abd26636a7183bc881677bab9d4d4f8 | [
"MIT"
] | null | null | null | config/webpack.config.js | mykabam/ngFormio | 46f02cb79abd26636a7183bc881677bab9d4d4f8 | [
"MIT"
] | null | null | null | const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const postcssPresetEnv = require('postcss-preset-env');
module.exports = {
performance: { hints: false },
entry: './lib/index.js',
output: {
path: path.resolve(__dirname, '../dist'),
filename: 'ng-formio.js',
libraryTarget: 'umd',
library: 'ngformio'
},
module: {
rules: [
{
test: /\.(html)$/,
use: {
loader: 'html-loader',
options: {
attrs: [':data-src']
}
}
},
{
test: /\.(css|scss)$/,
loader: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
'css-loader',
'sass-loader',
{
loader: 'postcss-loader',
options: {
ident: 'postcss',
plugins: () => [
postcssPresetEnv()
]
}
}
]
})
},
{
test: /\.(woff2?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
exclude: /icons?\/|images?\/|imgs?\//,
use: [{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'fonts/',
}
}]
},
{
test: /icons?\/.*\.(gif|png|jpe?g|svg)$/i,
exclude: /fonts?\//,
use: [
{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'icons/',
}
}
]
}
]
},
plugins: [
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
new webpack.ProvidePlugin({
'$': 'jquery',
'jQuery': 'jquery',
'window.jQuery': 'jquery',
'moment': 'moment'
}),
new webpack.optimize.OccurrenceOrderPlugin(),
new ExtractTextPlugin('formio.css')
],
externals: {
jquery: 'jquery',
angular: 'angular',
formiojs: 'formiojs',
},
devtool: 'source-map',
resolve: {
symlinks: false
},
devServer: {
historyApiFallback: true
}
};
| 22.946809 | 65 | 0.443208 |
83f9c5eec873555d84d574d9d69086ac4bc4f7c2 | 678,177 | js | JavaScript | documentation/js/search/search_index.js | cambagulung/smades | 06ed6ce3925986d31ed66e05e134ad238d9e4232 | [
"MIT"
] | 1 | 2022-03-10T22:03:28.000Z | 2022-03-10T22:03:28.000Z | documentation/js/search/search_index.js | cambagulung/smades | 06ed6ce3925986d31ed66e05e134ad238d9e4232 | [
"MIT"
] | null | null | null | documentation/js/search/search_index.js | cambagulung/smades | 06ed6ce3925986d31ed66e05e134ad238d9e4232 | [
"MIT"
] | null | null | null | var COMPODOC_SEARCH_INDEX = {
"index": {"version":"2.3.9","fields":["title","body"],"fieldVectors":[["title/modules/ApiModule.html",[0,1.213,1,2.748]],["body/modules/ApiModule.html",[0,1.604,1,5.528,2,1.553,3,2.265,4,3.174,5,3.174,6,4.554,7,0.016,8,4.554,9,4.554,10,4.251,11,4.251,12,4.251,13,2.499,14,1.795,15,1.795,16,0.112,17,0.097,18,0.097,19,3.664,20,2.499,21,4.178,22,4.178,23,4.178,24,4.178,25,4.178,26,4.749,27,2.949,28,0.338,29,0.652,30,2.256,31,1.627,32,3.664,33,3.664,34,3.664,35,3.664,36,3.664,37,3.664,38,3.664,39,3.664,40,3.664,41,3.664,42,3.664,43,3.664,44,3.664,45,0.112,46,0.207,47,0.007,48,0.01,49,0.007]],["title/classes/ArticleEntity.html",[46,0.218,50,2.545]],["body/classes/ArticleEntity.html",[7,0.016,16,0.095,17,0.082,18,0.082,28,0.235,45,0.095,46,0.175,47,0.006,48,0.009,49,0.006,50,4.308,51,0.707,52,2.686,53,1.212,54,3.092,55,0.363,56,1.367,57,3.293,58,5.349,59,3.809,60,5.349,61,5.349,62,5.349,63,5.349,64,3.092,65,5.349,66,4.161,67,1.574,68,1.615,69,0.914,70,1.128,71,1.815,72,2.686,73,3.922,74,0.951,75,3.101,76,3.4,77,2.045,78,2.412,79,3.101,80,4.022,81,2.412,82,1.835,83,3.101,84,5.349,85,3.101,86,5.349,87,3.101,88,3.922,89,3.036,90,3.101,91,2.616,92,3.922,93,3.101,94,4.342,95,3.101,96,3.101,97,3.101,98,3.101,99,2.788,100,3.101,101,3.101,102,1.793,103,2.788,104,3.523,105,2.986,106,4.633,107,1.909,108,1.058,109,0.506,110,3.101,111,2.045,112,2.412,113,3.922,114,2.412,115,3.101,116,3.101]],["title/controllers/ArticlesApiController.html",[21,2.748,117,1.496]],["body/controllers/ArticlesApiController.html",[7,0.016,16,0.077,17,0.066,18,0.066,20,1.231,21,2.754,28,0.277,29,0.447,45,0.077,46,0.142,47,0.005,48,0.007,49,0.005,55,0.294,57,2.903,67,1.738,68,1.96,69,0.653,70,1.211,71,1.308,74,0.686,108,0.858,109,0.864,117,1.5,118,2.177,119,1.267,120,2.723,121,1.807,122,3.519,123,2.664,124,1.657,125,2.681,126,2.887,127,1.79,128,2.514,129,1.362,130,1.207,131,2.551,132,1.734,133,2.352,134,2.177,135,1.79,136,2.514,137,5.229,138,2.177,139,3.35,140,2.514,141,1.895,142,2.177,143,3.26,144,1.79,145,2.514,146,3.491,147,1.657,148,1.657,149,1.657,150,2.381,151,1.547,152,1.297,153,1.37,154,1.547,155,1.657,156,1.547,157,2.551,158,1.657,159,1.911,160,1.297,161,3.491,162,1.547,163,1.547,164,1.547,165,2.514,166,1.547,167,0.597,168,2.177,169,2.571,170,1.807,171,2.341,172,1.79,173,1.475,174,2.177,175,2.571,176,3.85,177,3.109,178,3.437,179,2.147,180,3.109,181,2.903,182,1.955,183,2.551,184,1.657,185,2.177,186,3.109,187,2.094,188,1.657,189,1.657,190,2.551,191,2.551,192,3.35,193,2.177,194,2.177,195,1.657,196,1.657,197,2.551,198,2.177]],["title/modules/ArticlesModule.html",[0,1.213,6,2.545]],["body/modules/ArticlesModule.html",[0,1.994,2,2.162,3,2.817,6,5.065,7,0.015,13,3.107,14,2.498,15,2.498,16,0.156,17,0.134,18,0.134,28,0.279,29,0.907,45,0.156,46,0.288,47,0.01,48,0.012,49,0.01,199,4.416,200,4.416,201,4.416,202,5.25,203,5.099,204,3.458,205,3.667,206,5.099]],["title/injectables/ArticlesService.html",[202,2.545,207,0.779]],["body/injectables/ArticlesService.html",[7,0.016,16,0.115,17,0.099,18,0.099,28,0.262,29,0.669,45,0.115,46,0.212,47,0.007,48,0.01,49,0.007,55,0.44,68,2.102,69,0.791,70,1.258,74,0.872,109,1.047,119,1.701,121,1.773,123,2.42,129,1.65,130,1.463,132,2.337,173,1.876,179,1.283,202,3.424,207,1.048,208,1.458,209,3.257,210,3.949,211,3.197,212,3.197,213,5.194,214,4.439,215,3.761,216,3.761,217,3.197,218,3.761,219,3.197,220,3.761,221,3.698,222,5.08,223,3.761,224,1.752,225,4.498,226,2.315,227,5.831,228,3.761,229,4.991,230,2.925,231,3.761,232,3.761]],["title/controllers/AuthApiController.html",[22,2.748,117,1.496]],["body/controllers/AuthApiController.html",[7,0.016,16,0.086,17,0.074,18,0.074,20,1.371,22,2.988,28,0.312,29,0.498,45,0.086,46,0.158,47,0.005,48,0.008,49,0.005,55,0.328,56,0.845,67,1.685,69,0.862,70,0.456,71,1.244,74,0.652,91,1.627,102,1.617,109,0.822,117,1.627,119,1.374,122,2.583,125,2.485,129,1.295,130,1.148,132,1.649,150,2.583,151,1.722,152,1.444,153,1.526,154,2.583,162,1.722,163,1.722,164,1.722,166,1.722,173,1.403,179,0.955,181,2.583,233,2.423,234,4.896,235,4.352,236,4.197,237,2.798,238,4.352,239,2.798,240,4.197,241,4.846,242,2.798,243,4.197,244,3.635,245,3.635,246,4.197,247,4.197,248,2.798,249,2.798,250,2.798,251,2.741,252,3.635,253,4.197,254,3.265,255,2.798,256,3.32,257,3.432,258,4.197,259,4.352,260,2.798,261,2.798,262,3.585,263,2.798,264,4.197,265,2.798,266,2.372,267,3.635,268,3.635,269,2.798,270,2.798,271,1.992,272,4.197,273,4.361,274,4.197,275,4.361,276,4.846,277,2.423,278,1.134,279,2.798,280,1.304,281,3.1,282,2.798,283,1.992,284,2.177,285,2.177,286,2.798,287,2.798,288,2.423,289,1.722,290,2.798,291,2.798,292,4.361,293,2.423,294,4.361,295,1.304,296,2.798,297,2.423,298,2.177,299,2.798,300,2.798,301,2.798,302,2.423,303,2.798,304,2.798,305,2.798,306,2.798,307,2.423]],["title/modules/AuthModule.html",[0,1.213,8,2.545]],["body/modules/AuthModule.html",[0,1.573,2,1.511,3,2.222,7,0.016,8,5.197,10,4.214,11,4.214,12,4.214,13,2.451,14,1.746,15,1.746,16,0.109,17,0.094,18,0.094,27,2.892,28,0.332,29,0.634,45,0.109,46,0.201,47,0.007,48,0.01,49,0.007,204,2.728,205,2.892,281,4.641,308,3.087,309,3.087,310,3.087,311,3.087,312,4.514,313,4.514,314,4.514,315,4.514,316,3.564,317,3.564,318,3.564,319,5.003,320,1.943,321,3.564,322,2.772,323,3.564,324,2.537,325,3.564,326,3.564,327,3.564,328,3.564,329,3.564,330,3.564,331,3.564,332,3.087,333,3.087,334,3.564,335,3.564,336,3.564]],["title/injectables/AuthService.html",[207,0.779,281,2.376]],["body/injectables/AuthService.html",[7,0.016,16,0.115,17,0.099,18,0.099,28,0.314,29,0.669,45,0.115,46,0.212,47,0.007,48,0.01,49,0.007,55,0.44,67,1.39,69,0.733,74,0.77,109,0.971,119,1.701,120,2.306,129,1.53,130,1.356,132,1.701,133,1.67,141,1.842,167,0.893,170,1.283,171,1.458,173,1.447,207,1.048,208,1.458,234,4.04,235,4.04,251,3.143,266,2.72,271,5.08,281,3.197,294,3.257,322,2.925,337,3.257,338,1.633,339,3.761,340,5.152,341,3.709,342,7.136,343,3.761,344,5.194,345,3.761,346,5.194,347,3.761,348,3.424,349,3.761,350,3.761,351,2.677,352,2.925,353,3.761,354,3.257,355,3.761,356,2.772,357,3.761,358,2.677,359,3.761,360,3.761,361,2.479,362,3.761,363,3.761,364,3.761,365,3.257,366,3.761,367,3.761]],["title/classes/BaseController.html",[46,0.218,368,3.002]],["body/classes/BaseController.html",[7,0.014,16,0.184,17,0.158,18,0.158,45,0.184,46,0.338,47,0.012,48,0.014,49,0.012,51,1.367,368,5.44,369,2.541,370,5.192]],["title/classes/BaseDto.html",[46,0.218,371,2.231]],["body/classes/BaseDto.html",[7,0.015,16,0.169,17,0.145,18,0.145,45,0.169,46,0.311,47,0.011,48,0.013,49,0.011,51,1.257,69,0.679,74,0.714,109,0.899,125,2.954,129,1.417,130,1.257,176,4.131,338,1.733,369,2.82,371,3.845,372,4.773,373,4.386,374,5.511,375,3.005,376,3.392]],["title/injectables/BasicAuthGuard.html",[207,0.779,283,2.748]],["body/injectables/BasicAuthGuard.html",[7,0.015,16,0.174,17,0.15,18,0.15,28,0.298,29,1.012,45,0.174,46,0.321,47,0.011,48,0.013,49,0.011,53,1.522,207,1.368,208,2.204,283,4.826,284,4.423,320,3.1,377,4.048,378,4.423,379,5.686]],["title/injectables/BasicStrategy.html",[207,0.779,313,2.545]],["body/injectables/BasicStrategy.html",[7,0.016,16,0.126,17,0.108,18,0.108,28,0.315,29,0.732,45,0.126,46,0.232,47,0.008,48,0.011,49,0.008,53,1.102,55,0.482,67,1.669,69,0.681,70,1.167,74,0.715,109,0.901,119,1.809,120,2.417,129,1.421,130,1.259,132,1.348,141,2.017,159,2.898,160,2.125,166,2.534,167,0.977,169,2.245,170,1.405,171,1.596,172,2.931,173,1.147,175,2.245,178,2.125,179,1.405,207,1.115,208,1.596,266,1.745,289,2.534,313,4.11,320,2.245,338,1.294,380,3.566,381,4.297,382,3.566,383,4.117,384,4.784,385,4.849,386,4.117,387,3.012,388,3.203,389,2.931,390,4.117,391,3.203,392,3.933,393,3.566,394,2.931,395,3.203,396,2.715,397,3.566,398,3.566]],["title/guards/CanGuard.html",[399,3.002,400,3.002]],["body/guards/CanGuard.html",[7,0.016,16,0.128,17,0.11,18,0.11,28,0.295,29,0.743,45,0.128,46,0.236,47,0.008,48,0.011,49,0.008,55,0.489,67,1.493,69,0.687,74,0.722,89,2.156,91,2.162,102,2.415,109,0.91,119,1.827,120,2.434,129,1.434,130,1.272,132,1.368,159,2.972,160,2.156,167,1.324,170,1.904,171,1.619,173,1.554,207,1.125,338,1.754,351,2.974,356,2.599,387,3.041,400,4.339,401,3.249,402,3.618,403,5.804,404,3.618,405,6.221,406,4.177,407,4.831,408,5.212,409,4.177,410,3.249,411,3.618,412,6.279,413,4.177,414,4.177,415,3.618,416,3.618,417,3.249,418,4.177]],["title/controllers/CategoriesApiController.html",[23,2.748,117,1.496]],["body/controllers/CategoriesApiController.html",[7,0.016,16,0.075,17,0.064,18,0.064,20,1.193,23,2.689,28,0.283,29,0.433,45,0.075,46,0.138,47,0.005,48,0.007,49,0.005,55,0.285,57,2.846,64,2.183,67,0.652,68,1.94,69,0.642,70,1.205,71,1.287,74,0.674,108,0.832,109,0.85,114,5,117,1.464,119,1.237,120,2.703,121,1.924,122,3.469,123,2.626,124,1.607,125,2.762,127,1.735,129,1.339,130,1.188,131,4.446,132,1.706,133,2.313,135,1.735,144,1.735,146,3.434,147,1.607,148,1.607,149,1.607,150,2.325,151,1.5,152,1.257,153,1.328,154,1.5,155,1.607,159,1.874,160,1.257,161,3.434,162,1.5,163,1.5,164,1.5,167,0.896,169,2.521,170,1.778,171,2.312,173,1.451,175,2.521,176,3.814,177,3.049,178,3.405,179,2.123,180,3.049,181,2.846,183,2.49,184,1.607,186,3.049,187,2.054,188,1.607,189,2.49,190,2.49,191,2.49,195,1.607,196,1.607,197,2.49,338,0.766,356,1.76,419,2.11,420,3.011,421,2.437,422,1.895,423,2.437,424,2.437,425,3.777,426,2.437,427,1.895,428,3.434,429,2.437,430,2.846,431,2.437,432,1.895,433,2.689,434,1.895,435,2.437,436,2.437,437,2.437,438,3.271,439,2.437,440,2.437,441,2.437,442,2.437]],["title/modules/CategoriesModule.html",[0,1.213,9,2.545]],["body/modules/CategoriesModule.html",[0,1.943,2,2.073,3,2.744,7,0.015,9,5.019,13,3.027,14,2.395,15,2.395,16,0.15,17,0.129,18,0.129,27,2.827,28,0.313,29,0.87,30,3.01,31,2.172,45,0.15,46,0.276,47,0.009,48,0.012,49,0.009,76,2.827,204,3.369,205,3.572,430,4.874,443,4.235,444,4.235,445,4.235,446,4.89,447,4.89,448,3.804,449,4.89]],["title/injectables/CategoriesService.html",[207,0.779,430,2.376]],["body/injectables/CategoriesService.html",[7,0.016,16,0.09,17,0.077,18,0.077,28,0.299,29,0.521,31,1.301,45,0.09,46,0.245,47,0.006,48,0.008,49,0.006,55,0.343,64,2.992,68,1.311,69,0.789,70,1.197,74,0.858,76,3.308,89,1.512,108,1,109,1.044,114,4.754,119,1.422,120,2.894,121,1.482,123,2.412,129,1.646,130,1.46,132,2.097,133,2.542,167,0.695,170,1,171,2.219,173,1.783,179,1,207,0.876,208,1.136,210,3.523,211,2.673,212,2.673,217,2.673,219,2.673,224,1.365,226,1.803,338,1.365,356,1.365,387,2.368,420,3.83,428,4.487,430,2.673,433,3.092,448,2.279,450,2.537,451,4.343,452,2.93,453,3.523,454,2.93,455,4.343,456,4.343,457,2.93,458,2.93,459,4.343,460,2.93,461,2.93,462,2.93,463,2.93,464,2.93,465,1.932,466,2.93,467,1.435,468,3.762,469,2.93,470,2.93,471,2.93,472,2.93,473,2.93,474,4.343,475,2.93,476,2.93,477,2.93,478,2.537,479,2.93,480,2.93,481,2.93,482,2.279]],["title/classes/CategoryEntity.html",[46,0.218,76,2.231]],["body/classes/CategoryEntity.html",[7,0.016,16,0.123,17,0.105,18,0.105,28,0.29,45,0.123,46,0.226,47,0.008,48,0.01,49,0.008,50,4.342,51,0.912,53,1.451,54,3.552,55,0.469,56,1.636,64,3.552,68,1.855,69,0.874,70,1.204,71,1.7,72,3.466,73,4.694,74,0.891,76,3.133,77,2.639,82,2.196,89,2.797,94,4.236,99,3.336,103,3.782,105,3.573,107,2.464,108,1.366,109,1.074,111,3.573,224,1.865,229,3.113,230,4.78,257,3.35,369,1.697,420,2.313,433,2.849,483,3.466,484,4.002,485,4.002,486,4.002,487,2.849,488,4.002,489,4.002,490,3.466,491,4.002,492,2.849,493,3.466,494,4.002]],["title/classes/CreateArticleDto.html",[46,0.218,214,2.545]],["body/classes/CreateArticleDto.html",[7,0.014,16,0.184,17,0.158,18,0.158,45,0.184,46,0.338,47,0.012,48,0.014,49,0.012,51,1.367,214,4.611,495,5.192,496,4.663]],["title/classes/CreateCategoryDto.html",[46,0.218,420,2.231]],["body/classes/CreateCategoryDto.html",[7,0.015,16,0.131,17,0.113,18,0.113,28,0.28,45,0.131,46,0.32,47,0.008,48,0.011,49,0.008,51,0.978,55,0.502,56,1.714,64,3.915,69,0.835,70,1.181,71,1.572,74,0.877,76,2.48,109,1.105,125,2.521,129,1.103,130,0.978,167,1.8,257,3.469,338,1.349,373,3.743,375,2.339,376,2.641,420,3.282,432,5.479,448,3.337,467,2.101,497,3.337,498,5.511,499,4.29,500,4.917,501,4.29,502,4.29,503,4.29,504,4.29,505,3.692,506,3.678,507,4.29,508,4.29]],["title/classes/CreatePermissionDto.html",[46,0.218,509,2.231]],["body/classes/CreatePermissionDto.html",[7,0.016,16,0.149,17,0.128,18,0.128,28,0.322,45,0.149,46,0.347,47,0.009,48,0.012,49,0.009,51,1.107,55,0.569,56,1.857,69,0.599,70,1.004,71,1.2,74,0.629,82,1.968,109,1.102,167,1.603,278,1.968,280,2.263,295,2.263,467,2.379,505,3.354,506,3.556,509,3.556,510,4.786,511,3.778,512,4.857,513,4.857,514,2.867,515,4.207,516,2.99,517,2.99,518,3.458,519,2.059,520,3.778,521,4.857,522,4.207]],["title/classes/CreateRoleDto.html",[46,0.218,523,2.231]],["body/classes/CreateRoleDto.html",[7,0.016,16,0.149,17,0.128,18,0.128,28,0.322,45,0.149,46,0.347,47,0.009,48,0.012,49,0.009,51,1.107,55,0.569,56,1.857,69,0.599,70,1.004,71,1.2,74,0.629,82,1.968,109,1.102,167,1.603,278,1.968,280,2.263,295,2.263,467,2.379,505,3.354,506,3.556,514,2.867,515,4.207,516,2.99,517,2.99,518,3.458,522,4.207,523,3.556,524,4.786,525,3.778,526,4.857,527,4.857,528,2.263,529,3.458,530,4.857]],["title/classes/CreateSessionDto.html",[46,0.218,531,2.376]],["body/classes/CreateSessionDto.html",[7,0.015,16,0.158,17,0.136,18,0.136,28,0.227,45,0.158,46,0.291,47,0.01,48,0.012,49,0.01,51,1.175,55,0.604,56,1.928,67,1.857,69,0.855,70,1.183,74,0.898,266,2.941,289,3.173,358,4.94,361,4.575,531,3.931,532,6.281,533,4.009,534,5.154,535,5.154,536,5.154]],["title/classes/CreateUserDto.html",[46,0.218,126,2.104]],["body/classes/CreateUserDto.html",[7,0.016,16,0.113,17,0.097,18,0.097,28,0.294,45,0.113,46,0.288,47,0.007,48,0.01,49,0.007,51,0.838,55,0.43,56,1.543,69,0.823,70,1.18,71,1.569,74,0.864,91,1.424,109,1.089,125,2.269,126,2.786,129,0.945,130,0.838,141,2.878,156,4.254,167,1.799,278,1.489,280,1.712,295,2.96,338,1.155,373,3.369,375,2.003,376,2.261,467,1.799,498,5.089,505,3.64,506,3.859,514,3.111,516,2.261,517,2.261,518,2.616,537,2.858,538,3.874,539,3.617,540,3.674,541,3.672,542,3.674,543,3.674,544,3.674,545,3.674,546,3.674,547,3.674,548,3.674,549,3.674,550,4.426,551,3.182,552,2.616,553,2.422,554,3.182,555,2.858,556,4.426,557,2.858,558,2.858,559,3.182]],["title/classes/CreateUserRequestDto.html",[46,0.218,560,2.748]],["body/classes/CreateUserRequestDto.html",[7,0.015,16,0.107,17,0.092,18,0.092,28,0.288,45,0.151,46,0.278,47,0.007,48,0.01,49,0.007,51,0.793,55,0.407,56,1.484,67,1.751,69,0.764,70,1.163,71,1.532,74,0.803,82,2.311,91,1.348,109,1.012,141,2.794,156,4.027,167,1.782,170,1.187,234,3.825,254,3.825,257,3.888,278,1.409,280,1.62,295,2.889,467,1.703,505,3.567,506,3.782,514,3.048,516,2.141,517,2.141,518,2.476,538,4.088,539,3.511,541,3.584,550,4.259,551,3.012,552,2.476,553,2.293,554,3.012,555,2.705,556,4.259,557,2.705,558,2.705,559,3.012,560,3.501,561,2.476,562,4.259,563,3.478,564,3.478,565,5.37,566,3.478,567,3.478,568,4.061,569,3.478,570,3.478,571,3.825,572,4.917,573,4.259,574,3.478,575,3.478,576,3.012,577,3.478,578,3.478]],["title/controllers/HaloController.html",[117,1.496,579,2.748]],["body/controllers/HaloController.html",[7,0.016,16,0.156,17,0.134,18,0.134,20,2.489,28,0.303,29,1.226,45,0.156,46,0.287,47,0.01,48,0.012,49,0.01,55,0.595,70,0.829,71,1.255,74,0.658,117,1.97,119,2.073,132,1.664,173,1.415,579,4.506,580,4.4,581,5.081,582,6.329,583,7.216,584,5.081,585,5.081,586,6.329,587,5.081,588,5.081,589,5.081]],["title/guards/HasRolesGuard.html",[399,3.002,590,3.002]],["body/guards/HasRolesGuard.html",[7,0.016,16,0.133,17,0.114,18,0.114,28,0.281,29,0.77,45,0.133,46,0.244,47,0.008,48,0.011,49,0.008,55,0.507,67,1.529,69,0.704,74,0.739,89,2.234,91,2.214,102,2.502,109,0.932,119,1.87,129,1.469,130,1.302,132,1.418,166,2.664,167,1.027,170,1.949,173,1.591,207,1.152,338,1.361,351,3.082,401,3.367,403,5.886,404,3.749,405,6.284,407,4.946,408,5.287,410,3.367,411,3.749,415,3.749,416,3.749,417,3.367,590,4.442,591,5.536,592,3.749,593,4.329,594,4.329,595,5.711,596,5.711,597,4.329,598,4.329,599,4.329,600,4.329]],["title/injectables/JwtAuthGuard.html",[152,1.992,207,0.779]],["body/injectables/JwtAuthGuard.html",[7,0.015,16,0.174,17,0.15,18,0.15,28,0.298,29,1.012,45,0.174,46,0.321,47,0.011,48,0.013,49,0.011,53,1.522,152,3.498,153,3.1,207,1.368,208,2.204,320,3.1,377,4.048,378,4.423,601,5.686]],["title/injectables/JwtStrategy.html",[207,0.779,314,2.545]],["body/injectables/JwtStrategy.html",[7,0.016,16,0.102,17,0.088,18,0.088,28,0.303,29,0.593,45,0.102,46,0.188,47,0.006,48,0.009,49,0.006,53,0.892,55,0.39,67,1.723,69,0.75,70,0.544,74,0.618,82,1.35,89,2.461,109,0.778,119,1.562,120,2.16,129,1.227,130,1.088,132,1.091,133,1.48,159,2.794,160,1.719,167,0.791,169,1.817,170,1.628,171,1.849,173,0.928,175,1.817,178,1.719,179,1.137,207,0.962,208,1.292,235,2.592,238,3.71,241,4.825,245,2.886,259,2.592,262,2.372,267,4.131,268,4.131,271,4.582,297,2.886,298,2.592,314,3.145,320,1.817,324,2.372,333,2.886,338,1.5,340,4.131,341,3.516,348,3.673,352,2.592,356,2.223,361,3.145,365,4.131,381,3.71,388,2.592,389,2.372,391,2.592,392,3.396,395,2.592,396,2.197,573,2.886,602,2.886,603,3.332,604,3.332,605,4.77,606,3.332,607,3.332,608,3.332,609,3.332,610,3.332,611,3.332,612,3.332,613,3.332,614,3.332,615,3.332,616,3.332,617,3.332,618,3.332,619,3.332,620,3.332,621,3.332,622,3.332,623,3.332,624,3.332,625,3.332,626,2.886,627,3.332,628,3.332,629,3.332,630,3.332,631,3.332,632,2.886,633,4.131,634,3.332,635,3.332,636,3.332,637,3.332,638,3.332,639,3.332,640,3.332]],["title/injectables/LocalAuthGuard.html",[207,0.779,641,3.002]],["body/injectables/LocalAuthGuard.html",[7,0.015,16,0.174,17,0.15,18,0.15,28,0.298,29,1.012,45,0.174,46,0.321,47,0.011,48,0.013,49,0.011,53,1.522,207,1.368,208,2.204,320,3.1,377,4.048,378,4.423,641,5.273,642,4.924,643,5.686]],["title/classes/LocalBaseEntity.html",[46,0.218,644,3.002]],["body/classes/LocalBaseEntity.html",[7,0.015,16,0.151,17,0.13,18,0.13,28,0.217,45,0.151,46,0.278,47,0.01,48,0.012,49,0.01,51,1.123,53,1.661,54,3.587,55,0.577,69,0.607,70,0.803,74,0.804,108,1.681,109,0.803,129,1.266,130,1.123,173,1.372,338,1.548,369,2.881,375,2.684,376,3.031,396,3.246,644,5.286,645,4.264,646,6.796,647,4.827,648,6.796,649,6.206,650,7.51,651,4.924,652,4.924,653,4.924,654,4.924]],["title/injectables/LocalStrategy.html",[207,0.779,315,2.545]],["body/injectables/LocalStrategy.html",[7,0.016,16,0.127,17,0.109,18,0.109,28,0.315,29,0.735,45,0.127,46,0.233,47,0.008,48,0.011,49,0.008,53,1.105,55,0.484,67,1.671,69,0.682,70,1.168,74,0.717,109,0.903,119,1.813,120,2.42,129,1.423,130,1.262,132,1.352,141,2.022,159,2.901,160,2.131,166,2.542,167,0.98,169,2.251,170,1.409,171,1.601,172,2.94,173,1.15,175,2.251,178,2.131,179,1.409,207,1.117,208,1.601,266,1.75,289,2.542,315,3.649,320,2.251,338,1.298,381,4.305,382,3.576,384,4.793,385,4.856,387,3.018,388,3.212,389,2.94,391,3.212,392,3.94,393,3.576,394,2.94,395,3.212,396,2.722,397,3.576,398,3.576,655,3.576,656,4.129,657,4.129,658,3.576]],["title/classes/PermissionDto.html",[46,0.218,659,2.545]],["body/classes/PermissionDto.html",[7,0.016,16,0.142,17,0.122,18,0.122,28,0.307,45,0.142,46,0.262,47,0.009,48,0.012,49,0.009,51,1.057,53,1.599,55,0.543,56,1.803,68,1.995,69,0.736,70,1.138,71,1.476,74,0.773,82,1.879,109,1.078,167,1.755,278,1.879,280,2.161,295,2.783,369,1.966,371,3.819,514,3.079,519,1.966,541,3.453,659,3.938,660,4.016,661,5.973,662,5.973,663,4.637,664,4.637,665,3.057,666,3.057,667,3.301,668,3.301]],["title/classes/PermissionEntity.html",[46,0.218,519,1.636]],["body/classes/PermissionEntity.html",[7,0.016,16,0.126,17,0.108,18,0.108,28,0.306,45,0.126,46,0.232,47,0.008,48,0.011,49,0.008,51,0.939,53,1.478,54,3.603,55,0.482,56,1.668,67,1.102,68,1.882,69,0.821,70,1.087,71,1.646,74,0.863,77,3.642,82,2.238,89,2.851,91,2.583,94,3.4,99,3.4,102,2.38,103,3.837,105,4.11,107,2.534,108,1.405,109,1.087,224,1.918,369,1.745,487,2.931,492,2.931,509,2.38,519,2.342,528,3.104,669,3.566,670,4.11,671,4.438,672,4.117,673,4.117,674,4.117,675,4.117,676,2.931,677,3.203,678,4.117,679,3.566,680,2.715,681,3.566]],["title/controllers/PermissionsApiController.html",[24,2.748,117,1.496]],["body/controllers/PermissionsApiController.html",[7,0.016,16,0.075,17,0.064,18,0.064,20,1.195,24,2.692,28,0.283,29,0.434,45,0.075,46,0.138,47,0.005,48,0.007,49,0.005,55,0.286,57,2.849,67,0.653,68,1.942,69,0.642,70,1.206,71,1.288,74,0.675,108,0.833,109,0.973,117,1.466,119,1.238,120,2.704,121,1.925,122,3.472,123,2.628,124,1.609,125,2.764,127,1.738,129,1.341,130,1.189,131,4.448,132,1.707,133,2.315,135,1.738,144,1.738,146,3.437,147,1.609,148,1.609,149,1.609,150,2.328,151,1.502,152,1.26,153,1.331,154,1.502,155,1.609,159,1.876,160,1.26,161,3.437,162,1.502,163,1.502,164,1.502,167,0.898,169,2.524,170,1.779,171,2.313,173,1.452,175,2.524,176,3.816,177,3.052,178,3.407,179,2.124,180,3.052,181,2.849,183,2.493,184,1.609,186,3.052,187,2.315,188,1.609,189,2.493,190,2.493,191,2.493,195,1.609,196,1.609,197,2.493,338,0.767,356,1.762,422,1.899,427,1.899,438,3.275,509,3.013,510,1.899,676,2.692,682,2.114,683,2.441,684,2.441,685,2.114,686,3.275,687,2.441,688,3.437,689,2.441,690,1.899,691,2.849,692,2.441,693,2.114,694,3.959,695,2.441,696,2.441,697,2.441,698,2.441]],["title/modules/PermissionsModule.html",[0,1.213,10,2.376]],["body/modules/PermissionsModule.html",[0,1.943,2,2.073,3,2.744,7,0.015,10,4.686,13,3.027,14,2.395,15,2.395,16,0.15,17,0.129,18,0.129,27,2.827,28,0.313,29,0.87,30,3.01,31,2.172,45,0.15,46,0.276,47,0.009,48,0.012,49,0.009,204,3.369,205,3.572,519,2.073,520,3.804,691,4.874,699,4.235,700,4.235,701,4.235,702,4.89,703,4.89,704,4.89]],["title/injectables/PermissionsService.html",[207,0.779,691,2.376]],["body/injectables/PermissionsService.html",[7,0.016,16,0.092,17,0.079,18,0.079,28,0.284,29,0.532,31,1.328,45,0.092,46,0.169,47,0.006,48,0.009,49,0.006,55,0.35,68,1.582,69,0.822,70,1.222,74,0.886,108,1.021,109,1.16,119,1.444,120,2.904,121,1.505,123,2.055,129,1.715,130,1.521,132,2.185,133,2.326,167,0.71,170,1.505,171,2.031,173,1.858,179,1.021,207,0.89,208,1.16,210,3.559,211,2.715,212,2.715,217,2.715,219,2.715,221,3.14,224,1.394,226,1.841,338,1.386,356,1.394,387,3.152,453,3.559,465,1.972,482,3.43,509,3.563,519,1.268,520,2.327,676,3.14,688,4.514,691,2.715,694,2.715,705,2.59,706,3.819,707,3.819,708,2.991,709,2.991,710,4.41,711,4.41,712,2.991,713,2.991,714,3.819,715,2.991,716,2.991,717,2.991,718,3.819,719,2.991,720,2.991,721,2.991,722,2.991,723,4.41,724,2.991,725,2.991,726,2.991,727,2.991,728,4.41,729,2.59]],["title/classes/RoleDto.html",[46,0.218,730,3.002]],["body/classes/RoleDto.html",[7,0.016,16,0.129,17,0.111,18,0.111,28,0.308,45,0.129,46,0.238,47,0.008,48,0.011,49,0.008,51,0.961,53,1.502,55,0.494,56,1.694,68,1.904,69,0.777,70,1.097,71,1.386,74,0.817,82,1.707,109,1.097,125,1.871,129,1.084,130,0.961,167,1.709,179,1.438,187,1.871,278,1.707,280,1.964,295,2.614,338,1.325,369,1.786,371,3.646,373,3.699,376,2.594,514,2.939,528,3.133,529,3,541,3.243,659,2.779,665,2.779,667,3,668,3,694,2.594,730,4.364,731,3.65,732,4.214,733,5.61,734,4.214,735,4.214,736,3.65,737,3.65,738,4.214,739,4.214,740,4.214]],["title/classes/RoleEntity.html",[46,0.218,528,1.798]],["body/classes/RoleEntity.html",[7,0.016,16,0.125,17,0.108,18,0.108,28,0.305,45,0.125,46,0.231,47,0.008,48,0.011,49,0.008,51,0.933,53,1.473,54,3.593,55,0.48,56,1.661,67,1.096,68,1.877,69,0.819,70,1.084,71,1.642,74,0.861,77,3.628,78,3.184,82,1.659,89,2.84,91,2.577,94,3.387,99,3.387,102,2.366,103,3.826,104,4.28,105,4.098,107,2.52,108,1.397,109,1.084,187,2.76,224,1.907,369,1.735,487,2.915,492,2.915,519,2.818,523,2.366,528,2.564,666,2.699,671,4.425,694,2.52,741,3.545,742,4.094,743,4.094,744,4.094,745,4.094,746,2.915,747,4.094,748,3.545,749,4.094]],["title/controllers/RolesApiController.html",[25,2.748,117,1.496]],["body/controllers/RolesApiController.html",[7,0.016,16,0.076,17,0.065,18,0.065,20,1.208,25,2.714,28,0.284,29,0.439,45,0.076,46,0.139,47,0.005,48,0.007,49,0.005,55,0.289,57,2.868,67,0.66,68,1.948,69,0.646,70,1.208,71,1.295,74,0.679,108,0.842,109,0.977,117,1.478,119,1.248,120,2.71,121,1.789,122,3.489,123,2.641,124,1.626,125,2.774,127,1.756,129,1.348,130,1.195,131,4.255,132,1.717,133,2.328,135,1.756,144,1.756,146,3.456,147,1.626,148,1.626,149,1.626,150,2.346,151,1.518,152,1.273,153,1.344,154,1.518,155,1.626,159,1.888,160,1.273,161,3.456,162,1.518,163,1.518,164,1.518,167,0.905,169,2.54,170,1.789,171,2.323,173,1.46,175,2.54,176,3.828,177,3.072,178,3.418,179,2.132,180,3.072,181,2.868,182,1.918,183,2.513,184,3.072,186,3.072,187,2.069,188,1.626,189,1.626,190,2.513,191,2.513,195,1.626,196,1.626,197,2.513,338,0.775,356,1.776,422,1.918,427,1.918,523,3.03,524,1.918,670,1.626,680,4.255,685,2.136,686,3.301,693,2.136,746,2.714,750,2.136,751,2.466,752,2.466,753,2.466,754,3.456,755,2.466,756,1.918,757,2.868,758,2.466,759,2.466,760,2.466,761,2.466,762,2.466]],["title/modules/RolesModule.html",[0,1.213,11,2.376]],["body/modules/RolesModule.html",[0,1.943,2,2.073,3,2.744,7,0.015,11,4.686,13,3.027,14,2.395,15,2.395,16,0.15,17,0.129,18,0.129,27,2.827,28,0.313,29,0.87,30,3.01,31,2.172,45,0.15,46,0.276,47,0.009,48,0.012,49,0.009,204,3.369,205,3.572,528,2.279,529,3.482,757,4.874,763,4.235,764,4.235,765,4.235,766,4.89,767,4.89,768,4.89]],["title/injectables/RolesService.html",[207,0.779,757,2.376]],["body/injectables/RolesService.html",[7,0.016,16,0.074,17,0.063,18,0.063,28,0.272,29,0.427,31,1.066,45,0.074,46,0.135,47,0.005,48,0.007,49,0.005,55,0.281,68,1.56,69,0.809,70,1.245,74,0.869,108,0.819,109,1.133,119,1.222,120,2.789,121,1.274,123,2.134,129,1.689,130,1.498,132,2.151,133,1.657,167,0.57,170,1.563,171,1.776,173,1.83,187,3.037,207,0.753,208,0.93,210,3.18,211,2.297,212,2.297,217,2.297,219,2.297,224,1.118,226,1.477,338,1.173,356,1.118,375,2.035,387,3.231,453,3.18,465,1.582,478,2.078,482,3.562,519,2.19,523,3.235,528,2.407,529,1.709,680,4.078,681,2.078,706,3.232,707,3.232,714,3.232,718,3.232,729,2.078,746,2.657,754,4.217,757,2.297,769,2.078,770,3.232,771,3.232,772,2.4,773,2.4,774,3.732,775,3.232,776,2.4,777,3.732,778,2.4,779,3.232,780,2.4,781,2.4,782,4.975,783,4.811,784,2.4,785,2.4,786,2.4,787,2.4,788,2.4,789,2.4,790,2.078,791,2.4,792,2.4,793,2.4,794,2.4,795,2.4,796,2.4,797,2.4,798,2.4,799,3.732,800,2.903,801,1.867,802,3.732,803,2.4,804,2.078,805,2.4]],["title/classes/SessionDto.html",[46,0.218,256,2.545]],["body/classes/SessionDto.html",[7,0.016,16,0.122,17,0.105,18,0.105,28,0.302,45,0.122,46,0.224,47,0.008,48,0.01,49,0.008,51,0.905,53,1.442,55,0.465,56,1.627,67,1.062,68,1.847,69,0.809,70,1.154,71,1.512,74,0.85,82,2.479,109,0.647,125,1.763,129,1.021,130,0.905,167,1.772,179,1.355,251,3.215,256,3.553,266,1.682,278,1.608,280,1.849,289,2.443,295,2.851,338,1.248,358,4.356,361,4.034,369,1.682,371,3.537,373,3.553,376,2.443,514,3.058,541,3.537,552,2.826,665,2.617,667,2.826,668,2.826,737,3.437,806,3.437,807,3.969,808,3.969,809,3.969,810,3.969,811,3.087,812,3.969,813,3.969,814,3.969,815,3.969,816,3.969]],["title/classes/SessionEntity.html",[46,0.218,251,1.891]],["body/classes/SessionEntity.html",[7,0.016,16,0.117,17,0.1,18,0.1,28,0.297,45,0.117,46,0.215,47,0.007,48,0.01,49,0.007,51,0.869,53,1.403,54,3.463,55,0.446,56,1.582,59,4.265,67,1.727,68,1.809,69,0.861,70,1.14,71,1.727,74,0.905,80,3.972,81,4.077,82,2.427,91,2.501,92,3.3,94,4.408,99,3.226,102,2.203,103,3.687,106,4.539,107,2.346,108,1.301,109,0.622,111,3.456,112,4.077,224,1.776,251,2.567,278,1.544,358,4.265,361,3.95,369,1.615,514,1.776,531,2.346,817,3.3,818,4.66,819,3.811,820,3.811,821,3.811,822,3.811,823,3.811,824,3.811,825,2.964,826,3.811,827,3.811]],["title/modules/SessionsModule.html",[0,1.213,312,2.545]],["body/modules/SessionsModule.html",[0,1.943,2,2.073,3,2.744,7,0.015,13,3.027,14,2.395,15,2.395,16,0.15,17,0.129,18,0.129,27,2.827,28,0.313,29,0.87,30,3.01,31,2.172,45,0.15,46,0.276,47,0.009,48,0.012,49,0.009,204,3.369,205,3.572,251,2.395,312,5.019,341,4.577,811,3.804,828,4.235,829,4.235,830,4.235,831,4.89,832,4.89,833,4.89]],["title/injectables/SessionsService.html",[207,0.779,341,2.231]],["body/injectables/SessionsService.html",[7,0.016,16,0.081,17,0.07,18,0.07,28,0.29,29,0.47,31,1.174,45,0.081,46,0.149,47,0.005,48,0.008,49,0.005,55,0.31,67,0.708,68,1.859,69,0.789,70,1.205,74,0.854,80,1.627,108,0.902,109,1.044,119,1.317,120,2.902,121,1.372,123,2.267,129,1.646,130,1.46,132,2.161,133,1.785,170,1.855,171,2.107,173,1.784,179,2.185,207,0.811,208,1.025,210,3.346,211,2.475,212,2.475,217,2.475,219,2.475,221,1.882,224,1.232,226,1.627,227,2.289,251,1.295,256,1.743,266,1.121,338,1.264,341,2.324,348,3.584,354,2.289,356,1.232,375,1.441,387,3.597,453,3.346,465,1.743,493,2.289,531,3.6,782,4.228,783,4.228,800,2.056,801,2.056,811,2.056,818,2.056,825,3.127,834,2.289,835,4.02,836,4.02,837,2.643,838,2.643,839,4.02,840,4.02,841,2.643,842,2.643,843,2.643,844,4.02,845,2.643,846,2.643,847,4.02,848,2.643,849,4.697,850,2.643,851,2.643,852,2.643,853,2.643,854,2.643,855,5.436,856,2.289,857,5.436,858,2.289,859,2.643,860,2.643,861,4.02,862,2.643,863,4.02,864,2.643]],["title/modules/SuratModule.html",[0,1.213,865,2.748]],["body/modules/SuratModule.html",[0,2.044,2,2.25,3,2.887,7,0.015,13,3.185,14,2.599,15,2.599,16,0.163,17,0.14,18,0.14,28,0.286,29,0.944,45,0.163,46,0.3,47,0.01,48,0.013,49,0.01,204,3.545,865,5.446,866,4.596,867,4.596,868,5.044,869,5.307,870,5.307]],["title/injectables/SuratService.html",[207,0.779,868,2.545]],["body/injectables/SuratService.html",[7,0.015,16,0.18,17,0.155,18,0.155,28,0.258,29,1.045,45,0.18,46,0.331,47,0.011,48,0.013,49,0.011,207,1.394,208,2.277,868,4.556,871,5.086]],["title/classes/UpdateArticleDto.html",[46,0.218,222,2.748]],["body/classes/UpdateArticleDto.html",[7,0.015,16,0.174,17,0.149,18,0.149,28,0.297,45,0.174,46,0.32,47,0.011,48,0.013,49,0.011,51,1.291,53,1.516,121,1.933,214,3.734,222,4.815,225,4.905,496,4.405,872,4.905,873,3.274,874,3.274,875,3.274,876,5.664]],["title/classes/UpdateCategoryDto.html",[46,0.218,428,2.545]],["body/classes/UpdateCategoryDto.html",[7,0.015,16,0.174,17,0.149,18,0.149,28,0.297,45,0.174,46,0.32,47,0.011,48,0.013,49,0.011,51,1.291,53,1.516,121,1.933,420,3.274,428,4.459,433,4.032,434,4.405,497,4.405,873,3.274,874,3.274,875,3.274,877,5.664]],["title/classes/UpdatePermissionDto.html",[46,0.218,688,2.545]],["body/classes/UpdatePermissionDto.html",[7,0.015,16,0.174,17,0.149,18,0.149,28,0.297,45,0.174,46,0.32,47,0.011,48,0.013,49,0.011,51,1.291,53,1.516,121,1.933,509,3.274,511,4.405,676,4.032,688,4.459,690,4.405,873,3.274,874,3.274,875,3.274,878,5.664]],["title/classes/UpdateRoleDto.html",[46,0.218,754,2.545]],["body/classes/UpdateRoleDto.html",[7,0.016,16,0.151,17,0.13,18,0.13,28,0.323,45,0.151,46,0.35,47,0.01,48,0.012,49,0.01,51,1.123,53,1.318,55,0.577,56,1.874,69,0.837,71,1.217,74,0.637,121,1.681,130,1.415,187,3.018,519,2.881,523,2.846,525,3.83,659,4.092,666,3.246,736,4.264,746,3.506,754,4.092,756,4.827,873,2.846,874,2.846,875,2.846,879,4.264,880,4.924,881,3.83,882,4.924]],["title/classes/UpdateSessionDto.html",[46,0.218,849,2.748]],["body/classes/UpdateSessionDto.html",[7,0.015,16,0.152,17,0.131,18,0.131,28,0.315,45,0.152,46,0.353,47,0.01,48,0.012,49,0.01,51,1.134,53,1.332,55,0.583,56,1.886,69,0.613,71,1.229,74,0.644,80,3.845,121,1.698,167,1.621,278,2.016,467,2.437,505,3.406,514,2.911,531,3.062,533,3.87,818,5.311,825,3.87,849,4.447,873,2.876,874,2.876,875,2.876,883,5.41,884,4.975,885,4.975,886,6.247,887,4.975]],["title/classes/UpdateUserDto.html",[46,0.218,143,2.376]],["body/classes/UpdateUserDto.html",[7,0.016,16,0.131,17,0.112,18,0.112,28,0.318,45,0.131,46,0.358,47,0.008,48,0.011,49,0.008,51,0.972,53,1.141,55,0.499,56,1.707,69,0.89,70,0.922,71,1.568,74,0.821,121,1.455,126,2.325,130,1.647,143,3.481,157,2.812,158,4.455,167,1.506,187,2.817,467,2.089,500,3.693,505,3.083,506,3.269,519,2.864,528,3.148,537,3.317,539,3.905,666,2.812,670,4.183,677,3.317,873,2.465,874,2.465,875,2.465,879,4.897,881,3.317,888,4.264,889,4.264,890,4.264,891,4.264]],["title/classes/UpdateUserRequestDto.html",[46,0.218,892,3.002]],["body/classes/UpdateUserRequestDto.html",[7,0.015,16,0.141,17,0.121,18,0.121,28,0.317,45,0.141,46,0.336,47,0.009,48,0.012,49,0.009,51,1.05,53,1.233,55,0.54,56,1.796,67,1.763,69,0.568,70,0.97,71,1.138,74,0.596,121,1.572,158,3.922,167,1.564,254,4.627,257,3.243,278,1.867,280,2.147,295,2.147,302,3.99,467,2.257,505,3.243,506,3.438,514,2.772,541,2.663,560,3.28,561,3.28,568,4.69,665,3.038,873,2.663,874,2.663,875,2.663,892,4.627,893,6.587,894,5.948,895,5.948,896,4.607,897,4.607,898,4.607,899,4.607]],["title/classes/UserDto.html",[46,0.218,266,1.636]],["body/classes/UserDto.html",[7,0.016,16,0.094,17,0.081,18,0.081,28,0.257,45,0.094,46,0.173,47,0.006,48,0.009,49,0.006,51,0.699,53,1.203,55,0.359,56,1.356,59,3.785,66,4.135,68,1.605,69,0.829,70,1.218,71,1.608,74,0.893,80,1.888,82,2.724,91,1.189,109,0.955,130,1.024,141,2.604,167,1.84,173,0.855,257,3.898,266,2.254,278,1.243,280,1.43,295,3.033,369,1.301,371,3.073,514,3.133,538,4.107,539,3.602,541,3.762,552,2.184,553,2.023,555,2.386,557,2.386,562,3.891,565,5.069,571,3.495,576,3.891,647,3.495,665,2.023,667,2.184,668,2.184,900,2.657,901,4.604,902,5.852,903,4.493,904,6.509,905,3.068,906,5.852,907,3.068,908,3.068,909,3.068,910,4.493,911,4.493,912,3.068,913,3.068,914,3.068,915,2.657,916,3.068,917,3.068,918,3.068,919,4.493]],["title/classes/UserEntity.html",[46,0.218,91,1.496]],["body/classes/UserEntity.html",[7,0.016,16,0.089,17,0.076,18,0.076,28,0.29,45,0.089,46,0.164,47,0.006,48,0.008,49,0.006,50,3.755,51,0.661,53,1.154,54,2.974,55,0.34,56,1.301,59,3.663,66,4.002,68,1.553,69,0.882,70,1.151,71,1.769,74,0.938,77,2.842,78,3.353,80,3.506,81,2.256,82,2.308,88,2.512,89,3.292,91,1.671,94,4.267,99,2.653,103,3.167,104,4.002,105,3.392,107,1.785,108,0.99,109,0.929,111,1.912,112,2.256,113,2.512,126,1.581,141,2.52,157,1.912,173,0.808,187,2.285,224,1.351,229,2.256,230,4.002,251,2.79,288,2.512,348,1.912,369,1.229,487,3.069,490,2.512,492,3.069,519,2.414,528,2.654,538,3.392,539,3.506,647,3.353,666,1.912,670,3.392,677,2.256,680,1.912,694,1.785,856,4.455,858,2.512,901,4.455,915,2.512,920,2.512,921,4.311,922,2.9,923,2.9,924,2.9,925,2.9,926,2.9,927,2.9,928,2.9,929,2.9,930,2.9,931,2.9,932,2.9,933,2.9,934,5.144,935,2.9,936,2.9,937,2.9,938,2.9]],["title/controllers/UsersApiController.html",[26,2.748,117,1.496]],["body/controllers/UsersApiController.html",[7,0.016,16,0.061,17,0.052,18,0.052,20,0.969,26,2.28,28,0.271,29,0.352,45,0.061,46,0.112,47,0.004,48,0.006,49,0.004,55,0.232,57,2.483,67,1.598,68,1.803,69,0.736,70,1.16,71,1.145,74,0.6,108,0.675,109,0.831,117,1.242,119,1.049,120,2.561,121,1.582,122,3.134,123,2.372,124,1.305,125,3.158,126,2.527,129,1.192,130,1.057,131,2.112,132,1.518,133,2.059,134,1.714,137,4.719,138,1.714,139,1.714,141,2.925,142,1.714,143,2.853,146,3.056,147,1.305,148,1.305,149,1.305,150,1.971,151,1.218,152,1.021,153,1.079,154,1.218,155,1.305,156,1.218,157,2.112,158,1.305,159,1.634,160,1.021,161,3.056,162,1.218,163,1.218,164,1.218,166,1.218,167,0.47,168,1.714,169,2.199,170,1.582,171,2.112,172,1.409,173,1.291,174,1.714,175,2.199,176,3.566,177,2.66,178,3.184,179,1.958,180,2.66,181,2.483,182,1.539,183,2.112,184,1.305,185,1.714,186,2.66,187,1.791,188,1.305,189,1.305,190,2.112,191,2.112,192,2.774,193,1.714,194,1.714,195,1.305,196,1.305,197,2.112,198,1.714,252,4.015,257,3.455,259,4.93,266,2.615,273,4.409,275,4.409,276,4.409,277,1.714,278,0.802,289,1.218,292,4.015,293,4.968,295,1.492,571,5.428,632,2.774,633,2.774,671,1.409,939,1.714,940,3.202,941,1.979,942,5.448,943,1.979,944,1.979,945,3.202,946,1.979,947,1.979,948,3.202,949,3.202,950,1.979,951,3.202,952,3.202,953,1.979,954,3.202,955,1.979,956,1.979,957,3.202,958,1.979,959,1.979,960,3.202,961,1.979,962,1.979,963,1.979,964,1.979,965,1.979]],["title/modules/UsersModule.html",[0,1.213,12,2.376]],["body/modules/UsersModule.html",[0,1.943,2,2.073,3,2.744,7,0.015,12,4.686,13,3.027,14,2.395,15,2.395,16,0.15,17,0.129,18,0.129,27,2.827,28,0.313,29,0.87,30,3.01,31,2.172,45,0.15,46,0.276,47,0.009,48,0.012,49,0.009,91,1.896,159,3.208,204,3.369,205,3.572,553,3.224,966,4.235,967,4.235,968,4.235,969,4.89,970,4.89,971,4.89]],["title/injectables/UsersService.html",[159,1.564,207,0.779]],["body/injectables/UsersService.html",[7,0.016,16,0.043,17,0.037,18,0.037,28,0.246,29,0.248,31,0.619,45,0.043,46,0.079,47,0.003,48,0.005,49,0.003,55,0.163,67,1.496,68,1.898,69,0.809,70,1.246,74,0.839,91,0.927,108,0.476,109,1.042,119,0.783,120,2.927,121,0.816,123,1.115,126,2.492,129,1.643,130,1.457,132,2.092,133,2.171,141,1.538,143,3.175,157,1.577,159,0.969,167,0.331,170,2.24,171,2.477,173,1.78,176,0.806,179,1.907,187,3.008,207,0.483,208,0.541,210,2.292,211,1.933,212,1.473,217,0.859,219,1.473,221,1.703,224,0.65,226,0.859,238,1.861,266,0.591,307,4.467,338,0.752,356,0.65,375,2.03,385,1.861,387,3.578,394,0.993,396,0.92,453,2.292,465,0.92,519,1.578,528,1.735,538,2.071,539,1.933,553,0.92,670,4.212,671,1.703,679,1.208,680,1.577,694,0.859,748,1.208,770,2.072,771,2.072,775,2.072,779,2.072,782,4.805,783,4.71,790,1.208,800,2.896,801,2.896,804,1.208,972,1.208,973,2.392,974,2.392,975,3.141,976,3.141,977,3.141,978,2.392,979,1.861,980,5.158,981,2.392,982,1.395,983,1.395,984,2.392,985,1.395,986,2.392,987,1.395,988,2.392,989,1.395,990,1.395,991,2.392,992,1.395,993,1.395,994,1.395,995,1.395,996,1.395,997,1.395,998,1.395,999,1.395,1000,1.395,1001,2.392,1002,1.395,1003,2.392,1004,1.395,1005,1.395,1006,1.395,1007,1.395,1008,1.395,1009,2.392,1010,1.395,1011,1.395,1012,1.395,1013,1.395,1014,1.395,1015,1.395,1016,1.395,1017,1.395,1018,1.395,1019,2.392,1020,1.395,1021,3.141,1022,2.392,1023,2.392,1024,2.392,1025,2.392,1026,4.889,1027,1.395,1028,2.392,1029,1.395,1030,1.395,1031,1.395,1032,1.395,1033,1.395,1034,1.395,1035,1.395,1036,1.395,1037,1.395,1038,3.723,1039,2.392,1040,2.392,1041,1.395,1042,2.392,1043,1.395,1044,1.395,1045,2.392,1046,1.395,1047,1.395,1048,1.395,1049,1.395,1050,2.392,1051,2.392,1052,2.072,1053,1.395,1054,2.392,1055,1.395,1056,1.395]],["title/modules/WebModule.html",[0,1.213,1057,3.002]],["body/modules/WebModule.html",[0,2.121,2,2.391,7,0.015,16,0.173,17,0.149,18,0.149,20,3.305,28,0.297,29,1.004,45,0.173,46,0.318,47,0.011,48,0.013,49,0.011,579,5.139,1057,5.248,1058,5.641,1059,5.641]],["title/coverage.html",[1060,4.113]],["body/coverage.html",[7,0.016,18,0.06,21,1.611,22,1.611,23,1.611,24,1.611,25,1.611,26,1.611,46,0.43,47,0.004,48,0.007,49,0.004,50,1.492,52,1.96,64,1.308,67,1.339,69,0.279,76,1.308,91,0.877,117,2.346,118,1.96,126,1.234,143,1.393,152,1.168,153,1.234,156,2.715,158,2.351,159,0.917,179,0.772,202,1.492,207,1.419,209,1.96,214,1.492,222,1.611,233,1.96,251,1.109,256,1.492,262,1.611,266,0.959,281,1.393,283,1.611,284,1.761,285,1.761,313,1.492,314,1.492,315,1.492,324,1.611,337,1.96,341,1.308,368,1.761,369,1.87,370,1.96,371,1.308,372,1.96,377,3.14,380,1.96,399,2.773,400,1.761,402,1.96,419,1.96,420,1.308,428,1.492,430,1.393,432,1.761,434,1.761,450,1.96,483,1.96,495,1.96,496,2.773,497,2.773,509,1.308,510,1.761,511,2.773,516,1.393,517,2.715,519,0.959,523,1.308,524,1.761,525,2.773,528,1.055,531,1.393,532,1.96,533,2.773,537,2.773,560,1.611,561,3.14,568,1.611,579,1.611,580,1.96,590,1.761,591,1.96,592,1.96,602,1.96,641,1.761,642,1.96,644,1.761,645,1.96,655,1.96,659,1.492,660,1.96,669,1.96,682,1.96,688,1.492,690,1.761,691,1.393,705,1.96,730,1.761,731,1.96,741,1.96,750,1.96,754,1.492,756,1.761,757,1.393,769,1.96,806,1.96,817,1.96,834,1.96,849,1.611,868,1.492,871,1.96,872,1.96,883,1.96,892,1.761,900,1.96,920,1.96,939,1.96,972,1.96,979,1.761,1052,6.958,1060,1.761,1061,2.263,1062,2.263,1063,2.263,1064,4.411,1065,7.39,1066,2.263,1067,3.565,1068,6.603,1069,5.443,1070,1.96,1071,5.782,1072,6.269,1073,5.782,1074,3.565,1075,2.263,1076,2.263,1077,2.263,1078,2.263,1079,1.96,1080,1.96,1081,1.96,1082,1.96,1083,1.96,1084,1.96,1085,5.443,1086,1.96,1087,1.96,1088,1.96,1089,1.96,1090,1.96,1091,1.96,1092,1.96,1093,1.96,1094,2.263,1095,2.263]],["title/dependencies.html",[3,2.064,1096,3.214]],["body/dependencies.html",[3,1.787,7,0.016,29,0.716,31,1.787,46,0.307,47,0.008,48,0.011,49,0.008,108,1.374,278,1.631,280,1.875,298,3.131,320,2.194,322,3.131,348,2.654,351,2.865,352,4.793,389,4.387,394,2.865,467,1.971,468,3.486,658,3.486,881,3.131,1097,4.025,1098,4.025,1099,4.025,1100,5.44,1101,6.601,1102,4.025,1103,4.025,1104,5.44,1105,4.025,1106,5.44,1107,4.025,1108,5.44,1109,4.025,1110,4.025,1111,4.025,1112,4.025,1113,4.025,1114,4.025,1115,4.025,1116,4.025,1117,4.025,1118,4.025,1119,4.025,1120,4.025,1121,4.025,1122,4.025,1123,4.025,1124,4.025,1125,4.025,1126,4.025,1127,4.025,1128,4.025,1129,4.025,1130,4.025,1131,4.025,1132,4.025,1133,4.025,1134,4.025,1135,4.025,1136,4.025,1137,4.025,1138,4.025,1139,4.025,1140,4.025,1141,4.025,1142,4.025,1143,4.025,1144,4.025,1145,4.025,1146,4.025,1147,4.025,1148,4.025,1149,4.025,1150,4.025,1151,4.025,1152,4.025,1153,4.025,1154,4.025,1155,4.025]],["title/miscellaneous/functions.html",[1156,2.288,1157,4.025]],["body/miscellaneous/functions.html",[7,0.014,47,0.009,48,0.012,49,0.009,55,0.567,64,3.549,109,1.157,129,1.823,130,1.617,375,3.866,516,3.779,517,4.15,626,4.192,1084,4.192,1086,5.839,1087,5.317,1088,5.317,1089,5.317,1090,5.317,1091,5.317,1092,5.317,1093,4.192,1156,3.446,1157,4.192,1158,4.841,1159,6.743,1160,4.841,1161,4.841,1162,7.686,1163,4.841,1164,6.743,1165,4.841,1166,4.841]],["title/index.html",[55,0.376,1167,3.214,1168,3.214]],["body/index.html",[7,0.015,17,0.117,47,0.009,48,0.011,49,0.009,244,3.854,257,2.426,453,2.739,1060,3.461,1169,4.45,1170,4.45,1171,5.815,1172,4.45,1173,4.45,1174,4.45,1175,4.45,1176,4.45,1177,6.478,1178,4.45,1179,4.45,1180,4.45,1181,7.448,1182,4.45,1183,4.45,1184,4.45,1185,7.312,1186,4.45,1187,4.45,1188,5.815,1189,4.45,1190,4.45,1191,4.45,1192,4.45,1193,5.815,1194,5.815,1195,4.45,1196,4.45,1197,4.45,1198,5.815,1199,5.815,1200,4.45,1201,4.45,1202,4.45,1203,4.45,1204,4.45,1205,3.854,1206,4.45,1207,4.45,1208,4.45,1209,4.45,1210,4.45,1211,4.45,1212,4.45,1213,4.45,1214,4.45,1215,4.45,1216,4.45,1217,4.45,1218,4.45,1219,4.45,1220,4.45,1221,4.45,1222,4.45,1223,4.45,1224,5.815]],["title/modules.html",[2,2.241]],["body/modules.html",[1,3.669,2,2.185,6,3.398,7,0.012,8,3.398,9,3.398,10,3.173,11,3.173,12,3.173,47,0.01,48,0.012,49,0.01,312,3.398,865,3.669,1057,4.009,1205,6.793,1225,7.844,1226,7.844,1227,7.895,1228,5.154,1229,5.154]],["title/overview.html",[1230,4.579]],["body/overview.html",[1,5.375,2,1.39,3,2.094,4,2.839,5,2.839,6,4.391,7,0.015,8,5.132,9,4.391,10,4.224,11,4.224,12,4.224,13,2.309,14,1.606,15,1.606,20,1.606,47,0.006,48,0.009,49,0.006,51,0.748,159,2.78,199,2.839,200,2.839,201,2.839,202,4.525,208,1.271,281,4.224,308,2.839,309,2.839,310,2.839,311,2.839,312,4.391,313,3.64,314,3.64,315,3.64,341,3.967,401,2.55,430,4.224,443,2.839,444,2.839,445,2.839,691,4.224,699,2.839,700,2.839,701,2.839,757,4.224,763,2.839,764,2.839,765,2.839,828,2.839,829,2.839,830,2.839,865,4.298,866,2.839,867,2.839,868,3.64,966,2.839,967,2.839,968,2.839,1230,2.839,1231,3.279,1232,3.279,1233,3.279,1234,3.279,1235,3.279]],["title/miscellaneous/variables.html",[1156,2.288,1236,4.025]],["body/miscellaneous/variables.html",[7,0.016,47,0.008,48,0.01,49,0.008,55,0.464,67,1.835,69,0.488,70,1.069,111,4.662,125,2.911,156,2.436,170,1.836,173,1.498,178,2.776,179,1.836,251,1.939,262,4.35,266,1.678,271,3.829,285,3.079,324,3.829,332,3.428,392,3.829,408,4.184,410,4.753,417,3.079,558,3.079,561,3.829,568,3.829,979,4.184,1070,3.428,1079,3.428,1080,3.428,1081,4.658,1082,3.428,1083,4.658,1156,2.818,1236,3.428,1237,3.958,1238,3.958,1239,3.958,1240,3.958,1241,3.958,1242,3.958,1243,7.071,1244,5.379,1245,3.958,1246,3.958,1247,5.379,1248,3.958,1249,6.555,1250,3.958,1251,3.958,1252,3.958,1253,3.958,1254,3.958,1255,3.958,1256,3.958,1257,3.958,1258,5.379,1259,3.958]]],"invertedIndex":[["",{"_index":7,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"coverage.html":{},"dependencies.html":{},"miscellaneous/functions.html":{},"index.html":{},"modules.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["0",{"_index":1052,"title":{},"body":{"injectables/UsersService.html":{},"coverage.html":{}}}],["0.0.1",{"_index":1098,"title":{},"body":{"dependencies.html":{}}}],["0.1.13",{"_index":1144,"title":{},"body":{"dependencies.html":{}}}],["0.13.1",{"_index":1123,"title":{},"body":{"dependencies.html":{}}}],["0.2.36",{"_index":1155,"title":{},"body":{"dependencies.html":{}}}],["0.4.0",{"_index":1122,"title":{},"body":{"dependencies.html":{}}}],["0.4.1",{"_index":1100,"title":{},"body":{"dependencies.html":{}}}],["0.6.5",{"_index":1140,"title":{},"body":{"dependencies.html":{}}}],["0/1",{"_index":1065,"title":{},"body":{"coverage.html":{}}}],["0/11",{"_index":1075,"title":{},"body":{"coverage.html":{}}}],["0/12",{"_index":1077,"title":{},"body":{"coverage.html":{}}}],["0/13",{"_index":1066,"title":{},"body":{"coverage.html":{}}}],["0/18",{"_index":1078,"title":{},"body":{"coverage.html":{}}}],["0/2",{"_index":1072,"title":{},"body":{"coverage.html":{}}}],["0/3",{"_index":1073,"title":{},"body":{"coverage.html":{}}}],["0/4",{"_index":1069,"title":{},"body":{"coverage.html":{}}}],["0/5",{"_index":1068,"title":{},"body":{"coverage.html":{}}}],["0/6",{"_index":1064,"title":{},"body":{"coverage.html":{}}}],["0/7",{"_index":1076,"title":{},"body":{"coverage.html":{}}}],["0/8",{"_index":1067,"title":{},"body":{"coverage.html":{}}}],["0/9",{"_index":1074,"title":{},"body":{"coverage.html":{}}}],["1",{"_index":163,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["1.0.0",{"_index":1104,"title":{},"body":{"dependencies.html":{}}}],["1.0.1",{"_index":1110,"title":{},"body":{"dependencies.html":{}}}],["1.11.0",{"_index":1130,"title":{},"body":{"dependencies.html":{}}}],["1.17.2",{"_index":1133,"title":{},"body":{"dependencies.html":{}}}],["1.4.5",{"_index":1128,"title":{},"body":{"dependencies.html":{}}}],["1.6.0",{"_index":1149,"title":{},"body":{"dependencies.html":{}}}],["1.7.4",{"_index":1125,"title":{},"body":{"dependencies.html":{}}}],["10",{"_index":1231,"title":{},"body":{"overview.html":{}}}],["14",{"_index":1233,"title":{},"body":{"overview.html":{}}}],["2",{"_index":1235,"title":{},"body":{"overview.html":{}}}],["2.0.0",{"_index":1116,"title":{},"body":{"dependencies.html":{}}}],["2.2.2",{"_index":1113,"title":{},"body":{"dependencies.html":{}}}],["2.2.5",{"_index":1138,"title":{},"body":{"dependencies.html":{}}}],["27",{"_index":1234,"title":{},"body":{"overview.html":{}}}],["3.0.2",{"_index":1146,"title":{},"body":{"dependencies.html":{}}}],["3.27.0",{"_index":1121,"title":{},"body":{"dependencies.html":{}}}],["375b3d55c0331917a66eb7c04743805d6cf53b72",{"_index":1253,"title":{},"body":{"miscellaneous/variables.html":{}}}],["4.0.0",{"_index":1141,"title":{},"body":{"dependencies.html":{}}}],["4.1.2",{"_index":1136,"title":{},"body":{"dependencies.html":{}}}],["4.1.6",{"_index":1154,"title":{},"body":{"dependencies.html":{}}}],["4.2.0",{"_index":1151,"title":{},"body":{"dependencies.html":{}}}],["5.0.1",{"_index":1119,"title":{},"body":{"dependencies.html":{}}}],["5.0.9",{"_index":1114,"title":{},"body":{"dependencies.html":{}}}],["5.5.3",{"_index":1134,"title":{},"body":{"dependencies.html":{}}}],["60s",{"_index":336,"title":{},"body":{"modules/AuthModule.html":{}}}],["7",{"_index":1232,"title":{},"body":{"overview.html":{}}}],["7.2.0",{"_index":1148,"title":{},"body":{"dependencies.html":{}}}],["8.0.0",{"_index":1101,"title":{},"body":{"dependencies.html":{}}}],["8.0.1",{"_index":1105,"title":{},"body":{"dependencies.html":{}}}],["8.0.2",{"_index":1117,"title":{},"body":{"dependencies.html":{}}}],["8.0.5",{"_index":1108,"title":{},"body":{"dependencies.html":{}}}],["8.6.0",{"_index":1132,"title":{},"body":{"dependencies.html":{}}}],["ability",{"_index":414,"title":{},"body":{"guards/CanGuard.html":{}}}],["access_token",{"_index":294,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/AuthService.html":{}}}],["access_token'})@apiokresponse({type",{"_index":265,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["access_token'})@useguards(jwtauthguard)@get",{"_index":269,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["accessors",{"_index":647,"title":{},"body":{"classes/LocalBaseEntity.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["action",{"_index":227,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/SessionsService.html":{}}}],["activesession",{"_index":262,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["adds",{"_index":228,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["agent",{"_index":360,"title":{},"body":{"injectables/AuthService.html":{}}}],["akan",{"_index":952,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["akun",{"_index":904,"title":{},"body":{"classes/UserDto.html":{}}}],["alamat",{"_index":562,"title":{},"body":{"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["amazing",{"_index":1206,"title":{},"body":{"index.html":{}}}],["andwhere",{"_index":1046,"title":{},"body":{"injectables/UsersService.html":{}}}],["andwhere('role.name",{"_index":1053,"title":{},"body":{"injectables/UsersService.html":{}}}],["apibasicauth",{"_index":272,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["apibearerauth",{"_index":273,"title":{},"body":{"controllers/AuthApiController.html":{},"controllers/UsersApiController.html":{}}}],["apibearerauth()@apioperation({summary",{"_index":252,"title":{},"body":{"controllers/AuthApiController.html":{},"controllers/UsersApiController.html":{}}}],["apicreatedresponse",{"_index":274,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["apimodule",{"_index":1,"title":{"modules/ApiModule.html":{}},"body":{"modules/ApiModule.html":{},"modules.html":{},"overview.html":{}}}],["apiokresponse",{"_index":275,"title":{},"body":{"controllers/AuthApiController.html":{},"controllers/UsersApiController.html":{}}}],["apioperation",{"_index":276,"title":{},"body":{"controllers/AuthApiController.html":{},"controllers/UsersApiController.html":{}}}],["apioperation({summary",{"_index":239,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["apiparam",{"_index":960,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["apiproperty",{"_index":514,"title":{},"body":{"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["apiproperty()@isdate()@isnotempty",{"_index":884,"title":{},"body":{"classes/UpdateSessionDto.html":{}}}],["apiproperty({example",{"_index":541,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["apitags",{"_index":277,"title":{},"body":{"controllers/AuthApiController.html":{},"controllers/UsersApiController.html":{}}}],["apitags('auth",{"_index":290,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["apitags('users",{"_index":961,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["app",{"_index":1183,"title":{},"body":{"index.html":{}}}],["applications",{"_index":1176,"title":{},"body":{"index.html":{}}}],["args",{"_index":1249,"title":{},"body":{"miscellaneous/variables.html":{}}}],["article",{"_index":229,"title":{},"body":{"injectables/ArticlesService.html":{},"classes/CategoryEntity.html":{},"classes/UserEntity.html":{}}}],["article.categories",{"_index":494,"title":{},"body":{"classes/CategoryEntity.html":{}}}],["article.dto",{"_index":225,"title":{},"body":{"injectables/ArticlesService.html":{},"classes/UpdateArticleDto.html":{}}}],["article.dto.ts",{"_index":496,"title":{},"body":{"classes/CreateArticleDto.html":{},"classes/UpdateArticleDto.html":{},"coverage.html":{}}}],["article.user",{"_index":936,"title":{},"body":{"classes/UserEntity.html":{}}}],["article/articles",{"_index":165,"title":{},"body":{"controllers/ArticlesApiController.html":{}}}],["article/categories",{"_index":435,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["article_articles",{"_index":110,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["article_categories",{"_index":491,"title":{},"body":{"classes/CategoryEntity.html":{}}}],["articleentity",{"_index":50,"title":{"classes/ArticleEntity.html":{}},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/UserEntity.html":{},"coverage.html":{}}}],["articles",{"_index":230,"title":{},"body":{"injectables/ArticlesService.html":{},"classes/CategoryEntity.html":{},"classes/UserEntity.html":{}}}],["articles.service",{"_index":206,"title":{},"body":{"modules/ArticlesModule.html":{}}}],["articlesapicontroller",{"_index":21,"title":{"controllers/ArticlesApiController.html":{}},"body":{"modules/ApiModule.html":{},"controllers/ArticlesApiController.html":{},"coverage.html":{}}}],["articlesmodule",{"_index":6,"title":{"modules/ArticlesModule.html":{}},"body":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules.html":{},"overview.html":{}}}],["articlesservice",{"_index":202,"title":{"injectables/ArticlesService.html":{}},"body":{"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"coverage.html":{},"overview.html":{}}}],["asctivesession",{"_index":627,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["async",{"_index":120,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["atau",{"_index":573,"title":{},"body":{"classes/CreateUserRequestDto.html":{},"injectables/JwtStrategy.html":{}}}],["attachpermissions",{"_index":770,"title":{},"body":{"injectables/RolesService.html":{},"injectables/UsersService.html":{}}}],["attachpermissions(uuid",{"_index":775,"title":{},"body":{"injectables/RolesService.html":{},"injectables/UsersService.html":{}}}],["attachroles",{"_index":973,"title":{},"body":{"injectables/UsersService.html":{}}}],["attachroles(uuid",{"_index":986,"title":{},"body":{"injectables/UsersService.html":{}}}],["auth",{"_index":291,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["auth.guard",{"_index":154,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["auth.guard.ts",{"_index":377,"title":{},"body":{"injectables/BasicAuthGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/LocalAuthGuard.html":{},"coverage.html":{}}}],["auth.service",{"_index":317,"title":{},"body":{"modules/AuthModule.html":{}}}],["auth_permissions",{"_index":678,"title":{},"body":{"classes/PermissionEntity.html":{}}}],["auth_roles",{"_index":747,"title":{},"body":{"classes/RoleEntity.html":{}}}],["auth_sessions",{"_index":826,"title":{},"body":{"classes/SessionEntity.html":{}}}],["auth_users",{"_index":935,"title":{},"body":{"classes/UserEntity.html":{}}}],["authapicontroller",{"_index":22,"title":{"controllers/AuthApiController.html":{}},"body":{"modules/ApiModule.html":{},"controllers/AuthApiController.html":{},"coverage.html":{}}}],["authguard",{"_index":378,"title":{},"body":{"injectables/BasicAuthGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/LocalAuthGuard.html":{}}}],["authguard('basic",{"_index":379,"title":{},"body":{"injectables/BasicAuthGuard.html":{}}}],["authguard('jwt",{"_index":601,"title":{},"body":{"injectables/JwtAuthGuard.html":{}}}],["authguard('local",{"_index":643,"title":{},"body":{"injectables/LocalAuthGuard.html":{}}}],["authmodule",{"_index":8,"title":{"modules/AuthModule.html":{}},"body":{"modules/ApiModule.html":{},"modules/AuthModule.html":{},"modules.html":{},"overview.html":{}}}],["author",{"_index":1216,"title":{},"body":{"index.html":{}}}],["authservice",{"_index":281,"title":{"injectables/AuthService.html":{}},"body":{"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"coverage.html":{},"overview.html":{}}}],["authuuid",{"_index":137,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["available",{"_index":1229,"title":{},"body":{"modules.html":{}}}],["await",{"_index":171,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["backers",{"_index":1207,"title":{},"body":{"index.html":{}}}],["baru",{"_index":293,"title":{},"body":{"controllers/AuthApiController.html":{},"controllers/UsersApiController.html":{}}}],["baru'})@apibasicauth()@apicreatedresponse({description",{"_index":242,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["baru'})@apiokresponse({type",{"_index":941,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["basecontroller",{"_index":368,"title":{"classes/BaseController.html":{}},"body":{"classes/BaseController.html":{},"coverage.html":{}}}],["basedto",{"_index":371,"title":{"classes/BaseDto.html":{}},"body":{"classes/BaseDto.html":{},"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/UserDto.html":{},"coverage.html":{}}}],["baseentity",{"_index":54,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/LocalBaseEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{}}}],["basicauthguard",{"_index":283,"title":{"injectables/BasicAuthGuard.html":{}},"body":{"controllers/AuthApiController.html":{},"injectables/BasicAuthGuard.html":{},"coverage.html":{}}}],["basicstrategy",{"_index":313,"title":{"injectables/BasicStrategy.html":{}},"body":{"modules/AuthModule.html":{},"injectables/BasicStrategy.html":{},"coverage.html":{},"overview.html":{}}}],["bcrypt",{"_index":394,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{},"injectables/UsersService.html":{},"dependencies.html":{}}}],["berbeda",{"_index":636,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["berdasarkan",{"_index":949,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["berhasil",{"_index":246,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["body",{"_index":57,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["boolean",{"_index":595,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["bootstrap",{"_index":1086,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["brackets",{"_index":1014,"title":{},"body":{"injectables/UsersService.html":{}}}],["brackets((qb",{"_index":1047,"title":{},"body":{"injectables/UsersService.html":{}}}],["browse",{"_index":1227,"title":{},"body":{"modules.html":{}}}],["browser",{"_index":1225,"title":{},"body":{"modules.html":{}}}],["building",{"_index":1172,"title":{},"body":{"index.html":{}}}],["bull",{"_index":1120,"title":{},"body":{"dependencies.html":{}}}],["c",{"_index":439,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["canactivate",{"_index":403,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}}}],["canactivate(context",{"_index":407,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}}}],["canguard",{"_index":400,"title":{"guards/CanGuard.html":{}},"body":{"guards/CanGuard.html":{},"coverage.html":{}}}],["catch",{"_index":175,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/BasicStrategy.html":{},"controllers/CategoriesApiController.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["categories",{"_index":58,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["categories.service",{"_index":447,"title":{},"body":{"modules/CategoriesModule.html":{}}}],["categoriesapicontroller",{"_index":23,"title":{"controllers/CategoriesApiController.html":{}},"body":{"modules/ApiModule.html":{},"controllers/CategoriesApiController.html":{},"coverage.html":{}}}],["categoriesmodule",{"_index":9,"title":{"modules/CategoriesModule.html":{}},"body":{"modules/ApiModule.html":{},"modules/CategoriesModule.html":{},"modules.html":{},"overview.html":{}}}],["categoriesservice",{"_index":430,"title":{"injectables/CategoriesService.html":{}},"body":{"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"coverage.html":{},"overview.html":{}}}],["category",{"_index":114,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{}}}],["category.articles",{"_index":115,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["category.dto",{"_index":433,"title":{},"body":{"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/UpdateCategoryDto.html":{}}}],["category.dto.ts",{"_index":497,"title":{},"body":{"classes/CreateCategoryDto.html":{},"classes/UpdateCategoryDto.html":{},"coverage.html":{}}}],["category.dto.ts:12",{"_index":502,"title":{},"body":{"classes/CreateCategoryDto.html":{}}}],["category.dto.ts:16",{"_index":504,"title":{},"body":{"classes/CreateCategoryDto.html":{}}}],["category.dto.ts:20",{"_index":501,"title":{},"body":{"classes/CreateCategoryDto.html":{}}}],["category.dto.ts:5",{"_index":499,"title":{},"body":{"classes/CreateCategoryDto.html":{}}}],["categoryentity",{"_index":76,"title":{"classes/CategoryEntity.html":{}},"body":{"classes/ArticleEntity.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"coverage.html":{}}}],["categoryentity(createcategorydto",{"_index":473,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["categoryrepository",{"_index":455,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["class",{"_index":46,"title":{"classes/ArticleEntity.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/LocalBaseEntity.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"coverage.html":{},"dependencies.html":{}}}],["classes",{"_index":51,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/LocalBaseEntity.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"overview.html":{}}}],["client",{"_index":619,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["cluster_apimodule",{"_index":4,"title":{},"body":{"modules/ApiModule.html":{},"overview.html":{}}}],["cluster_apimodule_imports",{"_index":5,"title":{},"body":{"modules/ApiModule.html":{},"overview.html":{}}}],["cluster_articlesmodule",{"_index":199,"title":{},"body":{"modules/ArticlesModule.html":{},"overview.html":{}}}],["cluster_articlesmodule_exports",{"_index":201,"title":{},"body":{"modules/ArticlesModule.html":{},"overview.html":{}}}],["cluster_articlesmodule_providers",{"_index":200,"title":{},"body":{"modules/ArticlesModule.html":{},"overview.html":{}}}],["cluster_authmodule",{"_index":308,"title":{},"body":{"modules/AuthModule.html":{},"overview.html":{}}}],["cluster_authmodule_exports",{"_index":311,"title":{},"body":{"modules/AuthModule.html":{},"overview.html":{}}}],["cluster_authmodule_imports",{"_index":310,"title":{},"body":{"modules/AuthModule.html":{},"overview.html":{}}}],["cluster_authmodule_providers",{"_index":309,"title":{},"body":{"modules/AuthModule.html":{},"overview.html":{}}}],["cluster_categoriesmodule",{"_index":443,"title":{},"body":{"modules/CategoriesModule.html":{},"overview.html":{}}}],["cluster_categoriesmodule_exports",{"_index":444,"title":{},"body":{"modules/CategoriesModule.html":{},"overview.html":{}}}],["cluster_categoriesmodule_providers",{"_index":445,"title":{},"body":{"modules/CategoriesModule.html":{},"overview.html":{}}}],["cluster_permissionsmodule",{"_index":699,"title":{},"body":{"modules/PermissionsModule.html":{},"overview.html":{}}}],["cluster_permissionsmodule_exports",{"_index":701,"title":{},"body":{"modules/PermissionsModule.html":{},"overview.html":{}}}],["cluster_permissionsmodule_providers",{"_index":700,"title":{},"body":{"modules/PermissionsModule.html":{},"overview.html":{}}}],["cluster_rolesmodule",{"_index":763,"title":{},"body":{"modules/RolesModule.html":{},"overview.html":{}}}],["cluster_rolesmodule_exports",{"_index":764,"title":{},"body":{"modules/RolesModule.html":{},"overview.html":{}}}],["cluster_rolesmodule_providers",{"_index":765,"title":{},"body":{"modules/RolesModule.html":{},"overview.html":{}}}],["cluster_sessionsmodule",{"_index":828,"title":{},"body":{"modules/SessionsModule.html":{},"overview.html":{}}}],["cluster_sessionsmodule_exports",{"_index":829,"title":{},"body":{"modules/SessionsModule.html":{},"overview.html":{}}}],["cluster_sessionsmodule_providers",{"_index":830,"title":{},"body":{"modules/SessionsModule.html":{},"overview.html":{}}}],["cluster_suratmodule",{"_index":866,"title":{},"body":{"modules/SuratModule.html":{},"overview.html":{}}}],["cluster_suratmodule_providers",{"_index":867,"title":{},"body":{"modules/SuratModule.html":{},"overview.html":{}}}],["cluster_usersmodule",{"_index":966,"title":{},"body":{"modules/UsersModule.html":{},"overview.html":{}}}],["cluster_usersmodule_exports",{"_index":968,"title":{},"body":{"modules/UsersModule.html":{},"overview.html":{}}}],["cluster_usersmodule_providers",{"_index":967,"title":{},"body":{"modules/UsersModule.html":{},"overview.html":{}}}],["column",{"_index":94,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{}}}],["column({default",{"_index":81,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{}}}],["column({nullable",{"_index":88,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/UserEntity.html":{}}}],["column({type",{"_index":72,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{}}}],["column({unique",{"_index":487,"title":{},"body":{"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{}}}],["comparesync",{"_index":393,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["comparesync(pass",{"_index":397,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["compression",{"_index":1124,"title":{},"body":{"dependencies.html":{}}}],["const",{"_index":170,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CreateUserRequestDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"miscellaneous/variables.html":{}}}],["constants",{"_index":325,"title":{},"body":{"modules/AuthModule.html":{}}}],["constructor",{"_index":338,"title":{},"body":{"injectables/AuthService.html":{},"classes/BaseDto.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["constructor(categoryrepository",{"_index":452,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["constructor(createdto",{"_index":649,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["constructor(data",{"_index":373,"title":{},"body":{"classes/BaseDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{}}}],["constructor(permissionrepository",{"_index":708,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["constructor(private",{"_index":166,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"injectables/BasicStrategy.html":{},"guards/HasRolesGuard.html":{},"injectables/LocalStrategy.html":{},"controllers/UsersApiController.html":{}}}],["constructor(reflector",{"_index":404,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}}}],["constructor(request",{"_index":339,"title":{},"body":{"injectables/AuthService.html":{}}}],["constructor(rolerepository",{"_index":772,"title":{},"body":{"injectables/RolesService.html":{}}}],["constructor(sessionrepository",{"_index":837,"title":{},"body":{"injectables/SessionsService.html":{}}}],["constructor(sessionservice",{"_index":603,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["constructor(usersrepository",{"_index":982,"title":{},"body":{"injectables/UsersService.html":{}}}],["constructor(usersservice",{"_index":382,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["context",{"_index":410,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{},"miscellaneous/variables.html":{}}}],["context.getclass",{"_index":416,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}}}],["context.gethandler",{"_index":415,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}}}],["context.switchtohttp().getrequest",{"_index":417,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{},"miscellaneous/variables.html":{}}}],["controller",{"_index":117,"title":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/HaloController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/HaloController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{},"coverage.html":{}}}],["controller('halo",{"_index":588,"title":{},"body":{"controllers/HaloController.html":{}}}],["controller.ts",{"_index":370,"title":{},"body":{"classes/BaseController.html":{},"coverage.html":{}}}],["controllers",{"_index":20,"title":{},"body":{"modules/ApiModule.html":{},"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/HaloController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{},"modules/WebModule.html":{},"overview.html":{}}}],["controllers/articles.controller",{"_index":38,"title":{},"body":{"modules/ApiModule.html":{}}}],["controllers/auth.controller",{"_index":39,"title":{},"body":{"modules/ApiModule.html":{}}}],["controllers/categories.controller",{"_index":40,"title":{},"body":{"modules/ApiModule.html":{}}}],["controllers/permissions.controller",{"_index":41,"title":{},"body":{"modules/ApiModule.html":{}}}],["controllers/roles.controller",{"_index":42,"title":{},"body":{"modules/ApiModule.html":{}}}],["controllers/users.controller",{"_index":43,"title":{},"body":{"modules/ApiModule.html":{}}}],["cookie",{"_index":1126,"title":{},"body":{"dependencies.html":{}}}],["corebaseentity",{"_index":646,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["count",{"_index":1038,"title":{},"body":{"injectables/UsersService.html":{}}}],["coverage",{"_index":1060,"title":{"coverage.html":{}},"body":{"coverage.html":{},"index.html":{}}}],["create",{"_index":121,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["create(@user('uuid",{"_index":182,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["create(createarticledto",{"_index":213,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["create(createcategorydto",{"_index":456,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["create(createpermissiondto",{"_index":711,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["create(createroledto",{"_index":777,"title":{},"body":{"injectables/RolesService.html":{}}}],["create(createsessiondto",{"_index":840,"title":{},"body":{"injectables/SessionsService.html":{}}}],["create(createuserdto",{"_index":988,"title":{},"body":{"injectables/UsersService.html":{}}}],["create(useruuid",{"_index":124,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["createable",{"_index":183,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["createarticledto",{"_index":214,"title":{"classes/CreateArticleDto.html":{}},"body":{"injectables/ArticlesService.html":{},"classes/CreateArticleDto.html":{},"classes/UpdateArticleDto.html":{},"coverage.html":{}}}],["createcategorydto",{"_index":420,"title":{"classes/CreateCategoryDto.html":{}},"body":{"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/UpdateCategoryDto.html":{},"coverage.html":{}}}],["createdat",{"_index":59,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["createdto",{"_index":650,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["createparamdecorator",{"_index":1244,"title":{},"body":{"miscellaneous/variables.html":{}}}],["createpermissiondto",{"_index":509,"title":{"classes/CreatePermissionDto.html":{}},"body":{"classes/CreatePermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/UpdatePermissionDto.html":{},"coverage.html":{}}}],["createquerybuilder('user",{"_index":1040,"title":{},"body":{"injectables/UsersService.html":{}}}],["createroledto",{"_index":523,"title":{"classes/CreateRoleDto.html":{}},"body":{"classes/CreateRoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/UpdateRoleDto.html":{},"coverage.html":{}}}],["createsessiondto",{"_index":531,"title":{"classes/CreateSessionDto.html":{}},"body":{"classes/CreateSessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateSessionDto.html":{},"coverage.html":{}}}],["createuserdto",{"_index":126,"title":{"classes/CreateUserDto.html":{}},"body":{"controllers/ArticlesApiController.html":{},"classes/CreateUserDto.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"coverage.html":{}}}],["createuserrequestdto",{"_index":560,"title":{"classes/CreateUserRequestDto.html":{}},"body":{"classes/CreateUserRequestDto.html":{},"classes/UpdateUserRequestDto.html":{},"coverage.html":{}}}],["csurf",{"_index":1129,"title":{},"body":{"dependencies.html":{}}}],["current_timestamp",{"_index":112,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{}}}],["currentpassword",{"_index":893,"title":{},"body":{"classes/UpdateUserRequestDto.html":{}}}],["dan",{"_index":621,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["dari",{"_index":633,"title":{},"body":{"injectables/JwtStrategy.html":{},"controllers/UsersApiController.html":{}}}],["data",{"_index":125,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"classes/BaseDto.html":{},"controllers/CategoriesApiController.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{},"controllers/PermissionsApiController.html":{},"classes/RoleDto.html":{},"controllers/RolesApiController.html":{},"classes/SessionDto.html":{},"controllers/UsersApiController.html":{},"miscellaneous/variables.html":{}}}],["data)).nopassword",{"_index":194,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["data.permissions",{"_index":738,"title":{},"body":{"classes/RoleDto.html":{}}}],["data.permissions.map",{"_index":739,"title":{},"body":{"classes/RoleDto.html":{}}}],["data.user",{"_index":812,"title":{},"body":{"classes/SessionDto.html":{}}}],["datatype",{"_index":665,"title":{},"body":{"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["datatype.uuid",{"_index":668,"title":{},"body":{"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/UserDto.html":{}}}],["date",{"_index":80,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateSessionDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["date.past",{"_index":919,"title":{},"body":{"classes/UserDto.html":{}}}],["db",{"_index":634,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["decorators",{"_index":71,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{}}}],["default",{"_index":111,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{},"miscellaneous/variables.html":{}}}],["defined",{"_index":74,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"classes/BaseDto.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["deletable",{"_index":197,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["delete",{"_index":122,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["delete(':uuid",{"_index":195,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["delete(@user('uuid",{"_index":196,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["delete(authuuid",{"_index":134,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["delete(useruuid",{"_index":422,"title":{},"body":{"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["dengan",{"_index":620,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["dependencies",{"_index":3,"title":{"dependencies.html":{}},"body":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{},"dependencies.html":{},"overview.html":{}}}],["description",{"_index":257,"title":{},"body":{"controllers/AuthApiController.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"controllers/UsersApiController.html":{},"index.html":{}}}],["deta",{"_index":802,"title":{},"body":{"injectables/RolesService.html":{}}}],["detachpermissions",{"_index":771,"title":{},"body":{"injectables/RolesService.html":{},"injectables/UsersService.html":{}}}],["detachpermissions(uuid",{"_index":779,"title":{},"body":{"injectables/RolesService.html":{},"injectables/UsersService.html":{}}}],["detachroles",{"_index":974,"title":{},"body":{"injectables/UsersService.html":{}}}],["detachroles(uuid",{"_index":991,"title":{},"body":{"injectables/UsersService.html":{}}}],["development",{"_index":1184,"title":{},"body":{"index.html":{}}}],["device",{"_index":358,"title":{},"body":{"injectables/AuthService.html":{},"classes/CreateSessionDto.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{}}}],["diakses",{"_index":635,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["dicabut",{"_index":303,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["dicabut'})@useguards(jwtauthguard)@delete",{"_index":260,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["dicari",{"_index":962,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["dicari'})@apiokresponse({type",{"_index":953,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["dicuri",{"_index":638,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["didaftarkan",{"_index":963,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["didaftarkan'})@useguards(jwtauthguard)@post",{"_index":943,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["digunakan",{"_index":572,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["dihapus",{"_index":965,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["dihapus'})@useguards(jwtauthguard)@delete(':uuid",{"_index":946,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["diperbaharui",{"_index":964,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["diperbaharui'})@useguards(jwtauthguard)@patch(':uuid",{"_index":958,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["diperoleh",{"_index":954,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["diupdate",{"_index":911,"title":{},"body":{"classes/UserDto.html":{}}}],["dll",{"_index":630,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["documentation",{"_index":1061,"title":{},"body":{"coverage.html":{}}}],["dont",{"_index":186,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["dotenv",{"_index":1131,"title":{},"body":{"dependencies.html":{}}}],["dto",{"_index":667,"title":{},"body":{"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/UserDto.html":{}}}],["dto.ts",{"_index":372,"title":{},"body":{"classes/BaseDto.html":{},"coverage.html":{}}}],["dto.ts:1",{"_index":374,"title":{},"body":{"classes/BaseDto.html":{}}}],["dto/create",{"_index":224,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"injectables/PermissionsService.html":{},"classes/RoleEntity.html":{},"injectables/RolesService.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{}}}],["dto/session.dto",{"_index":851,"title":{},"body":{"injectables/SessionsService.html":{}}}],["dto/update",{"_index":226,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["dto/user.dto",{"_index":1016,"title":{},"body":{"injectables/UsersService.html":{}}}],["e",{"_index":176,"title":{},"body":{"controllers/ArticlesApiController.html":{},"classes/BaseDto.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["e2e",{"_index":1195,"title":{},"body":{"index.html":{}}}],["efficient",{"_index":1173,"title":{},"body":{"index.html":{}}}],["email",{"_index":538,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{}}}],["email'})@isnotempty()@isstring()@isemail()@isunique(userentity",{"_index":563,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["emitter",{"_index":1103,"title":{},"body":{"dependencies.html":{}}}],["entities/category.entity",{"_index":448,"title":{},"body":{"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CreateCategoryDto.html":{}}}],["entities/permission.entity",{"_index":520,"title":{},"body":{"classes/CreatePermissionDto.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{}}}],["entities/role.entity",{"_index":529,"title":{},"body":{"classes/CreateRoleDto.html":{},"classes/RoleDto.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{}}}],["entities/session.entity",{"_index":811,"title":{},"body":{"classes/SessionDto.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{}}}],["entities/user.entity",{"_index":553,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{}}}],["entity",{"_index":103,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{}}}],["entity.ts",{"_index":645,"title":{},"body":{"classes/LocalBaseEntity.html":{},"coverage.html":{}}}],["entity.ts:10",{"_index":653,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["entity.ts:3",{"_index":651,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["entitynotfounderror",{"_index":161,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["equal",{"_index":1087,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["example",{"_index":295,"title":{},"body":{"controllers/AuthApiController.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"controllers/UsersApiController.html":{}}}],["executioncontext",{"_index":408,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{},"miscellaneous/variables.html":{}}}],["exists.decorator.ts",{"_index":1090,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["expiresin",{"_index":335,"title":{},"body":{"modules/AuthModule.html":{}}}],["export",{"_index":45,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{}}}],["exports",{"_index":205,"title":{},"body":{"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/UsersModule.html":{}}}],["express",{"_index":352,"title":{},"body":{"injectables/AuthService.html":{},"injectables/JwtStrategy.html":{},"dependencies.html":{}}}],["extends",{"_index":53,"title":{},"body":{"classes/ArticleEntity.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"classes/CategoryEntity.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["extractjwt",{"_index":607,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["extractjwt.fromauthheaderasbearertoken",{"_index":611,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["faker",{"_index":280,"title":{},"body":{"controllers/AuthApiController.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"dependencies.html":{}}}],["fakergeneratedpassword",{"_index":568,"title":{},"body":{"classes/CreateUserRequestDto.html":{},"classes/UpdateUserRequestDto.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["file",{"_index":18,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"coverage.html":{}}}],["findall",{"_index":210,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["findbyemail",{"_index":975,"title":{},"body":{"injectables/UsersService.html":{}}}],["findbyemail(email",{"_index":994,"title":{},"body":{"injectables/UsersService.html":{}}}],["findbyname",{"_index":706,"title":{},"body":{"injectables/PermissionsService.html":{},"injectables/RolesService.html":{}}}],["findbyname(name",{"_index":714,"title":{},"body":{"injectables/PermissionsService.html":{},"injectables/RolesService.html":{}}}],["findbyslug",{"_index":451,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["findbyslug(slug",{"_index":459,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["findbyusername",{"_index":976,"title":{},"body":{"injectables/UsersService.html":{}}}],["findbyusername(username",{"_index":996,"title":{},"body":{"injectables/UsersService.html":{}}}],["findone",{"_index":211,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["findone(uuid",{"_index":217,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["findonebyoptions",{"_index":977,"title":{},"body":{"injectables/UsersService.html":{}}}],["findonebyoptions(options",{"_index":999,"title":{},"body":{"injectables/UsersService.html":{}}}],["findoneoptions",{"_index":783,"title":{},"body":{"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["forbiddenexception",{"_index":146,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["framework",{"_index":1171,"title":{},"body":{"index.html":{}}}],["function",{"_index":1085,"title":{},"body":{"coverage.html":{}}}],["functions",{"_index":1157,"title":{"miscellaneous/functions.html":{}},"body":{"miscellaneous/functions.html":{}}}],["gensaltsync",{"_index":1012,"title":{},"body":{"injectables/UsersService.html":{}}}],["gensaltsync(10",{"_index":1019,"title":{},"body":{"injectables/UsersService.html":{}}}],["get(':name",{"_index":686,"title":{},"body":{"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["get(':slug",{"_index":425,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["get(':username",{"_index":139,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["get()@render('index",{"_index":584,"title":{},"body":{"controllers/HaloController.html":{}}}],["get(@param('name",{"_index":693,"title":{},"body":{"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["get(@param('slug",{"_index":436,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["get(@param('username",{"_index":168,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["get(name",{"_index":685,"title":{},"body":{"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["get(slug",{"_index":424,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["get(username",{"_index":138,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["getcount",{"_index":1051,"title":{},"body":{"injectables/UsersService.html":{}}}],["getnopassword",{"_index":915,"title":{},"body":{"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["getrequest",{"_index":1246,"title":{},"body":{"miscellaneous/variables.html":{}}}],["getting",{"_index":1167,"title":{"index.html":{}},"body":{}}],["gettojson",{"_index":652,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["getuser",{"_index":835,"title":{},"body":{"injectables/SessionsService.html":{}}}],["getuser(uuid",{"_index":844,"title":{},"body":{"injectables/SessionsService.html":{}}}],["graph",{"_index":1228,"title":{},"body":{"modules.html":{}}}],["grow",{"_index":1202,"title":{},"body":{"index.html":{}}}],["guard",{"_index":399,"title":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}},"body":{"coverage.html":{}}}],["guards",{"_index":401,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{},"overview.html":{}}}],["halo",{"_index":582,"title":{},"body":{"controllers/HaloController.html":{}}}],["halo/halo.controller",{"_index":1059,"title":{},"body":{"modules/WebModule.html":{}}}],["halocontroller",{"_index":579,"title":{"controllers/HaloController.html":{}},"body":{"controllers/HaloController.html":{},"modules/WebModule.html":{},"coverage.html":{}}}],["hash('haval160,4",{"_index":1255,"title":{},"body":{"miscellaneous/variables.html":{}}}],["hash('sha512",{"_index":1256,"title":{},"body":{"miscellaneous/variables.html":{}}}],["hashsync",{"_index":1013,"title":{},"body":{"injectables/UsersService.html":{}}}],["hashsync(createuserdto.password",{"_index":1018,"title":{},"body":{"injectables/UsersService.html":{}}}],["hashsync(updateuserdto.password",{"_index":1030,"title":{},"body":{"injectables/UsersService.html":{}}}],["haspermissions",{"_index":978,"title":{},"body":{"injectables/UsersService.html":{}}}],["haspermissions(uuid",{"_index":1001,"title":{},"body":{"injectables/UsersService.html":{}}}],["hasroles",{"_index":979,"title":{},"body":{"injectables/UsersService.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["hasroles(uuid",{"_index":1003,"title":{},"body":{"injectables/UsersService.html":{}}}],["hasrolesguard",{"_index":590,"title":{"guards/HasRolesGuard.html":{}},"body":{"guards/HasRolesGuard.html":{},"coverage.html":{}}}],["hbs",{"_index":1135,"title":{},"body":{"dependencies.html":{}}}],["here",{"_index":1213,"title":{},"body":{"index.html":{}}}],["histories",{"_index":60,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["http",{"_index":390,"title":{},"body":{"injectables/BasicStrategy.html":{}}}],["https://nestjs.com",{"_index":1220,"title":{},"body":{"index.html":{}}}],["identifier",{"_index":1062,"title":{},"body":{"coverage.html":{}}}],["ignoreexpiration",{"_index":612,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["implements",{"_index":411,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}}}],["import",{"_index":28,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{}}}],["imports",{"_index":27,"title":{},"body":{"modules/ApiModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/UsersModule.html":{}}}],["index",{"_index":55,"title":{"index.html":{}},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"miscellaneous/functions.html":{},"miscellaneous/variables.html":{}}}],["info",{"_index":16,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{}}}],["ini",{"_index":302,"title":{},"body":{"controllers/AuthApiController.html":{},"classes/UpdateUserRequestDto.html":{}}}],["ini'})@apiokresponse({type",{"_index":255,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["ini'})@isnotempty()@isstring",{"_index":896,"title":{},"body":{"classes/UpdateUserRequestDto.html":{}}}],["inject",{"_index":349,"title":{},"body":{"injectables/AuthService.html":{}}}],["inject(request",{"_index":355,"title":{},"body":{"injectables/AuthService.html":{}}}],["injectable",{"_index":207,"title":{"injectables/ArticlesService.html":{},"injectables/AuthService.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"injectables/CategoriesService.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"injectables/LocalStrategy.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/SuratService.html":{},"injectables/UsersService.html":{}},"body":{"injectables/ArticlesService.html":{},"injectables/AuthService.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"injectables/CategoriesService.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"injectables/LocalStrategy.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/SuratService.html":{},"injectables/UsersService.html":{},"coverage.html":{}}}],["injectables",{"_index":208,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/AuthService.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"injectables/CategoriesService.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"injectables/LocalStrategy.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/SuratService.html":{},"injectables/UsersService.html":{},"overview.html":{}}}],["injectrepository",{"_index":465,"title":{},"body":{"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["injectrepository(categoryentity",{"_index":469,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["injectrepository(permissionentity",{"_index":721,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["injectrepository(roleentity",{"_index":791,"title":{},"body":{"injectables/RolesService.html":{}}}],["injectrepository(sessionentity",{"_index":852,"title":{},"body":{"injectables/SessionsService.html":{}}}],["injectrepository(userentity",{"_index":1017,"title":{},"body":{"injectables/UsersService.html":{}}}],["installation",{"_index":1180,"title":{},"body":{"index.html":{}}}],["installrunning",{"_index":1182,"title":{},"body":{"index.html":{}}}],["instanceof",{"_index":177,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["internet",{"_index":552,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/SessionDto.html":{},"classes/UserDto.html":{}}}],["internet.email",{"_index":555,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["internet.ip",{"_index":816,"title":{},"body":{"classes/SessionDto.html":{}}}],["internet.ipv6",{"_index":815,"title":{},"body":{"classes/SessionDto.html":{}}}],["internet.password",{"_index":558,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"miscellaneous/variables.html":{}}}],["internet.useragent",{"_index":814,"title":{},"body":{"classes/SessionDto.html":{}}}],["internet.username",{"_index":557,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["ip",{"_index":361,"title":{},"body":{"injectables/AuthService.html":{},"classes/CreateSessionDto.html":{},"injectables/JwtStrategy.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{}}}],["isdate",{"_index":886,"title":{},"body":{"classes/UpdateSessionDto.html":{}}}],["isemail",{"_index":550,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{}}}],["isequalto",{"_index":1089,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["isequalto(property",{"_index":1161,"title":{},"body":{"miscellaneous/functions.html":{}}}],["isexists",{"_index":1091,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["isexists(target",{"_index":1163,"title":{},"body":{"miscellaneous/functions.html":{}}}],["isnotempty",{"_index":505,"title":{},"body":{"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{}}}],["isnotempty()@isstring",{"_index":500,"title":{},"body":{"classes/CreateCategoryDto.html":{},"classes/UpdateUserDto.html":{}}}],["isnotempty()@isstring()@isunique(permissionentity)@apiproperty({example",{"_index":512,"title":{},"body":{"classes/CreatePermissionDto.html":{}}}],["isnotempty()@isstring()@isunique(roleentity)@apiproperty({example",{"_index":526,"title":{},"body":{"classes/CreateRoleDto.html":{}}}],["isnotempty()@slug(categoryentity",{"_index":503,"title":{},"body":{"classes/CreateCategoryDto.html":{}}}],["isstring",{"_index":506,"title":{},"body":{"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{}}}],["issuper",{"_index":1054,"title":{},"body":{"injectables/UsersService.html":{}}}],["isunique",{"_index":516,"title":{},"body":{"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"coverage.html":{},"miscellaneous/functions.html":{}}}],["isunique(permissionentity",{"_index":521,"title":{},"body":{"classes/CreatePermissionDto.html":{}}}],["isunique(roleentity",{"_index":530,"title":{},"body":{"classes/CreateRoleDto.html":{}}}],["isunique(target",{"_index":1165,"title":{},"body":{"miscellaneous/functions.html":{}}}],["isunique(userentity",{"_index":556,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{}}}],["jika",{"_index":245,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{}}}],["join",{"_index":1209,"title":{},"body":{"index.html":{}}}],["jointable",{"_index":104,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{}}}],["json.stringify(this",{"_index":654,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["jwt",{"_index":298,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{},"dependencies.html":{}}}],["jwtauthguard",{"_index":152,"title":{"injectables/JwtAuthGuard.html":{}},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"injectables/JwtAuthGuard.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{},"coverage.html":{}}}],["jwtconstants",{"_index":324,"title":{},"body":{"modules/AuthModule.html":{},"injectables/JwtStrategy.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["jwtconstants.secret",{"_index":333,"title":{},"body":{"modules/AuthModule.html":{},"injectables/JwtStrategy.html":{}}}],["jwtfromrequest",{"_index":610,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["jwtmodule",{"_index":321,"title":{},"body":{"modules/AuthModule.html":{}}}],["jwtmodule.register",{"_index":331,"title":{},"body":{"modules/AuthModule.html":{}}}],["jwtservice",{"_index":342,"title":{},"body":{"injectables/AuthService.html":{}}}],["jwtstrategy",{"_index":314,"title":{"injectables/JwtStrategy.html":{}},"body":{"modules/AuthModule.html":{},"injectables/JwtStrategy.html":{},"coverage.html":{},"overview.html":{}}}],["kamil",{"_index":1217,"title":{},"body":{"index.html":{}}}],["kata",{"_index":894,"title":{},"body":{"classes/UpdateUserRequestDto.html":{}}}],["katasandi",{"_index":578,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["katasandi'})@isnotempty()@isstring()@minlength(6",{"_index":569,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["ke",{"_index":268,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{}}}],["kemungkinan",{"_index":637,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["keperluan",{"_index":629,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["lastseen",{"_index":818,"title":{},"body":{"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateSessionDto.html":{}}}],["leftjoin('role.permissions",{"_index":1043,"title":{},"body":{"injectables/UsersService.html":{}}}],["leftjoin('user.permissions",{"_index":1041,"title":{},"body":{"injectables/UsersService.html":{}}}],["leftjoin('user.roles",{"_index":1042,"title":{},"body":{"injectables/UsersService.html":{}}}],["lengkap",{"_index":576,"title":{},"body":{"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["lengkap'})@isnotempty()@isstring",{"_index":566,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["license",{"_index":1223,"title":{},"body":{"index.html":{}}}],["licensed",{"_index":1199,"title":{},"body":{"index.html":{}}}],["lingu",{"_index":951,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["lingusecret",{"_index":1257,"title":{},"body":{"miscellaneous/variables.html":{}}}],["literal",{"_index":238,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{},"injectables/UsersService.html":{}}}],["local",{"_index":658,"title":{},"body":{"injectables/LocalStrategy.html":{},"dependencies.html":{}}}],["localauthguard",{"_index":641,"title":{"injectables/LocalAuthGuard.html":{}},"body":{"injectables/LocalAuthGuard.html":{},"coverage.html":{}}}],["localbaseentity",{"_index":644,"title":{"classes/LocalBaseEntity.html":{}},"body":{"classes/LocalBaseEntity.html":{},"coverage.html":{}}}],["localstrategy",{"_index":315,"title":{"injectables/LocalStrategy.html":{}},"body":{"modules/AuthModule.html":{},"injectables/LocalStrategy.html":{},"coverage.html":{},"overview.html":{}}}],["logger",{"_index":1011,"title":{},"body":{"injectables/UsersService.html":{}}}],["login",{"_index":234,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"classes/CreateUserRequestDto.html":{}}}],["login(@request",{"_index":300,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["login(undefined",{"_index":237,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["login(user",{"_index":344,"title":{},"body":{"injectables/AuthService.html":{}}}],["logout",{"_index":235,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/JwtStrategy.html":{}}}],["logout(@activesession",{"_index":304,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["logout(activesession",{"_index":250,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["logout(session",{"_index":346,"title":{},"body":{"injectables/AuthService.html":{}}}],["lorem",{"_index":515,"title":{},"body":{"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{}}}],["lorem.word",{"_index":522,"title":{},"body":{"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{}}}],["lower",{"_index":471,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["manytomany",{"_index":105,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{}}}],["manytomany(undefined",{"_index":77,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{}}}],["manytoone",{"_index":106,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/SessionEntity.html":{}}}],["manytoone(undefined",{"_index":92,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/SessionEntity.html":{}}}],["matching",{"_index":48,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"coverage.html":{},"dependencies.html":{},"miscellaneous/functions.html":{},"index.html":{},"modules.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["memanggil",{"_index":577,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["memanggil'})@isnotempty()@isstring()@isunique(userentity",{"_index":574,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["memasang",{"_index":625,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["memastikan",{"_index":622,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["membuat",{"_index":240,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["memeriksa",{"_index":264,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["memperbaharui",{"_index":957,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["mencabut",{"_index":253,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["mencetak",{"_index":661,"title":{},"body":{"classes/PermissionDto.html":{}}}],["mencocokan",{"_index":618,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["mendaftarkan",{"_index":940,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["mengabil",{"_index":948,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["menghapus",{"_index":632,"title":{},"body":{"injectables/JwtStrategy.html":{},"controllers/UsersApiController.html":{}}}],["message",{"_index":586,"title":{},"body":{"controllers/HaloController.html":{}}}],["metadata",{"_index":1143,"title":{},"body":{"dependencies.html":{}}}],["methods",{"_index":119,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["minlength",{"_index":551,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{}}}],["minlength(6",{"_index":559,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{}}}],["miscellaneous",{"_index":1156,"title":{"miscellaneous/functions.html":{},"miscellaneous/variables.html":{}},"body":{"miscellaneous/functions.html":{},"miscellaneous/variables.html":{}}}],["mit",{"_index":1198,"title":{},"body":{"index.html":{}}}],["mode",{"_index":1188,"title":{},"body":{"index.html":{}}}],["module",{"_index":0,"title":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{},"modules/WebModule.html":{}},"body":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{},"modules/WebModule.html":{}}}],["modules",{"_index":2,"title":{"modules.html":{}},"body":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{},"modules/WebModule.html":{},"modules.html":{},"overview.html":{}}}],["more",{"_index":1212,"title":{},"body":{"index.html":{}}}],["mysql2",{"_index":1137,"title":{},"body":{"dependencies.html":{}}}],["myśliwiec",{"_index":1218,"title":{},"body":{"index.html":{}}}],["nama",{"_index":565,"title":{},"body":{"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{}}}],["name",{"_index":109,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"classes/BaseDto.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"miscellaneous/functions.html":{}}}],["name.findname",{"_index":554,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{}}}],["name.firstname",{"_index":917,"title":{},"body":{"classes/UserDto.html":{}}}],["name.lastname",{"_index":918,"title":{},"body":{"classes/UserDto.html":{}}}],["nest",{"_index":1177,"title":{},"body":{"index.html":{}}}],["nestcafold",{"_index":1224,"title":{},"body":{"index.html":{}}}],["nestframework",{"_index":1222,"title":{},"body":{"index.html":{}}}],["nestjs/axios",{"_index":1097,"title":{},"body":{"dependencies.html":{}}}],["nestjs/bull",{"_index":1099,"title":{},"body":{"dependencies.html":{}}}],["nestjs/common",{"_index":29,"title":{},"body":{"modules/ApiModule.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"dependencies.html":{}}}],["nestjs/core",{"_index":351,"title":{},"body":{"injectables/AuthService.html":{},"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{},"dependencies.html":{}}}],["nestjs/event",{"_index":1102,"title":{},"body":{"dependencies.html":{}}}],["nestjs/jwt",{"_index":322,"title":{},"body":{"modules/AuthModule.html":{},"injectables/AuthService.html":{},"dependencies.html":{}}}],["nestjs/mapped",{"_index":874,"title":{},"body":{"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{}}}],["nestjs/passport",{"_index":320,"title":{},"body":{"modules/AuthModule.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"injectables/LocalStrategy.html":{},"dependencies.html":{}}}],["nestjs/platform",{"_index":1106,"title":{},"body":{"dependencies.html":{}}}],["nestjs/schedule",{"_index":1109,"title":{},"body":{"dependencies.html":{}}}],["nestjs/serve",{"_index":1111,"title":{},"body":{"dependencies.html":{}}}],["nestjs/swagger",{"_index":278,"title":{},"body":{"controllers/AuthApiController.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"controllers/UsersApiController.html":{},"dependencies.html":{}}}],["nestjs/throttler",{"_index":1115,"title":{},"body":{"dependencies.html":{}}}],["nestjs/typeorm",{"_index":31,"title":{},"body":{"modules/ApiModule.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"dependencies.html":{}}}],["nestjs/websockets",{"_index":1118,"title":{},"body":{"dependencies.html":{}}}],["new",{"_index":179,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/BasicStrategy.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"controllers/RolesApiController.html":{},"classes/SessionDto.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["node.js",{"_index":1170,"title":{},"body":{"index.html":{}}}],["nopassword",{"_index":901,"title":{},"body":{"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["notfoundexception",{"_index":147,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["notfoundexception(e.message",{"_index":180,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["npm",{"_index":1181,"title":{},"body":{"index.html":{}}}],["null",{"_index":493,"title":{},"body":{"classes/CategoryEntity.html":{},"injectables/SessionsService.html":{}}}],["nullable",{"_index":113,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/UserEntity.html":{}}}],["number",{"_index":1022,"title":{},"body":{"injectables/UsersService.html":{}}}],["object",{"_index":1252,"title":{},"body":{"miscellaneous/variables.html":{}}}],["object.assign(category",{"_index":480,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["object.assign(permission",{"_index":727,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["object.assign(request",{"_index":631,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["object.assign(session",{"_index":860,"title":{},"body":{"injectables/SessionsService.html":{}}}],["object.assign(this",{"_index":376,"title":{},"body":{"classes/BaseDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{},"classes/LocalBaseEntity.html":{},"classes/RoleDto.html":{},"classes/SessionDto.html":{}}}],["object.assign(updateuserdto",{"_index":1031,"title":{},"body":{"injectables/UsersService.html":{}}}],["object.assign(user",{"_index":1032,"title":{},"body":{"injectables/UsersService.html":{}}}],["officegen",{"_index":1139,"title":{},"body":{"dependencies.html":{}}}],["onetomany",{"_index":934,"title":{},"body":{"classes/UserEntity.html":{}}}],["onetomany(undefined",{"_index":921,"title":{},"body":{"classes/UserEntity.html":{}}}],["open",{"_index":1200,"title":{},"body":{"index.html":{}}}],["operator",{"_index":733,"title":{},"body":{"classes/RoleDto.html":{}}}],["optional",{"_index":130,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"classes/BaseDto.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"injectables/SessionsService.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateUserDto.html":{},"classes/UserDto.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"miscellaneous/functions.html":{}}}],["options",{"_index":782,"title":{},"body":{"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["out",{"_index":15,"title":{},"body":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{},"overview.html":{}}}],["overview",{"_index":1230,"title":{"overview.html":{}},"body":{"overview.html":{}}}],["package",{"_index":1096,"title":{"dependencies.html":{}},"body":{}}],["page",{"_index":1021,"title":{},"body":{"injectables/UsersService.html":{}}}],["param",{"_index":148,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["param('uuid",{"_index":190,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["parameters",{"_index":129,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"classes/BaseDto.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"miscellaneous/functions.html":{}}}],["parent",{"_index":61,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["parser",{"_index":1127,"title":{},"body":{"dependencies.html":{}}}],["partial",{"_index":498,"title":{},"body":{"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{}}}],["partialtype",{"_index":873,"title":{},"body":{"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{}}}],["partialtype(createarticledto",{"_index":876,"title":{},"body":{"classes/UpdateArticleDto.html":{}}}],["partialtype(createcategorydto",{"_index":877,"title":{},"body":{"classes/UpdateCategoryDto.html":{}}}],["partialtype(createpermissiondto",{"_index":878,"title":{},"body":{"classes/UpdatePermissionDto.html":{}}}],["partialtype(createroledto",{"_index":882,"title":{},"body":{"classes/UpdateRoleDto.html":{}}}],["partialtype(createsessiondto",{"_index":887,"title":{},"body":{"classes/UpdateSessionDto.html":{}}}],["partialtype(createuserdto",{"_index":891,"title":{},"body":{"classes/UpdateUserDto.html":{}}}],["partialtype(createuserrequestdto",{"_index":899,"title":{},"body":{"classes/UpdateUserRequestDto.html":{}}}],["pass",{"_index":385,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{},"injectables/UsersService.html":{}}}],["passport",{"_index":389,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"dependencies.html":{}}}],["passportmodule",{"_index":319,"title":{},"body":{"modules/AuthModule.html":{}}}],["passportstrategy",{"_index":391,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["passportstrategy(strategy",{"_index":395,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["passreqtocallback",{"_index":614,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["password",{"_index":539,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UpdateUserDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{}}}],["patch",{"_index":149,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["patch(':uuid",{"_index":188,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["path",{"_index":164,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["pembuatan",{"_index":903,"title":{},"body":{"classes/UserDto.html":{}}}],["pemilik",{"_index":906,"title":{},"body":{"classes/UserDto.html":{}}}],["pengguna",{"_index":571,"title":{},"body":{"classes/CreateUserRequestDto.html":{},"classes/UserDto.html":{},"controllers/UsersApiController.html":{}}}],["pengguna'})@apiokresponse({type",{"_index":945,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["permission",{"_index":694,"title":{},"body":{"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{}}}],["permission.dto",{"_index":676,"title":{},"body":{"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/UpdatePermissionDto.html":{}}}],["permission.dto.ts",{"_index":511,"title":{},"body":{"classes/CreatePermissionDto.html":{},"classes/UpdatePermissionDto.html":{},"coverage.html":{}}}],["permission.dto.ts:12",{"_index":513,"title":{},"body":{"classes/CreatePermissionDto.html":{}}}],["permission.roles",{"_index":749,"title":{},"body":{"classes/RoleEntity.html":{}}}],["permission.users",{"_index":937,"title":{},"body":{"classes/UserEntity.html":{}}}],["permissiondto",{"_index":659,"title":{"classes/PermissionDto.html":{}},"body":{"classes/PermissionDto.html":{},"classes/RoleDto.html":{},"classes/UpdateRoleDto.html":{},"coverage.html":{}}}],["permissiondto(permission",{"_index":740,"title":{},"body":{"classes/RoleDto.html":{}}}],["permissionentity",{"_index":519,"title":{"classes/PermissionEntity.html":{}},"body":{"classes/CreatePermissionDto.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleEntity.html":{},"injectables/RolesService.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{},"coverage.html":{}}}],["permissionentity(createpermissiondto",{"_index":722,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["permissionrepository",{"_index":710,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["permissions",{"_index":187,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["permissions.includes(e.name",{"_index":804,"title":{},"body":{"injectables/RolesService.html":{},"injectables/UsersService.html":{}}}],["permissions.service",{"_index":703,"title":{},"body":{"modules/PermissionsModule.html":{}}}],["permissions/entities/permission.entity",{"_index":790,"title":{},"body":{"injectables/RolesService.html":{},"injectables/UsersService.html":{}}}],["permissions/permissions.module",{"_index":328,"title":{},"body":{"modules/AuthModule.html":{}}}],["permissionsapicontroller",{"_index":24,"title":{"controllers/PermissionsApiController.html":{}},"body":{"modules/ApiModule.html":{},"controllers/PermissionsApiController.html":{},"coverage.html":{}}}],["permissionsmodule",{"_index":10,"title":{"modules/PermissionsModule.html":{}},"body":{"modules/ApiModule.html":{},"modules/AuthModule.html":{},"modules/PermissionsModule.html":{},"modules.html":{},"overview.html":{}}}],["permissionsservice",{"_index":691,"title":{"injectables/PermissionsService.html":{}},"body":{"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"coverage.html":{},"overview.html":{}}}],["php7",{"_index":1254,"title":{},"body":{"miscellaneous/variables.html":{}}}],["please",{"_index":1210,"title":{},"body":{"index.html":{}}}],["post",{"_index":150,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["prefix",{"_index":581,"title":{},"body":{"controllers/HaloController.html":{}}}],["primarygeneratedcolumn",{"_index":107,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{}}}],["primarygeneratedcolumn('uuid",{"_index":99,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserEntity.html":{}}}],["private",{"_index":356,"title":{},"body":{"injectables/AuthService.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"injectables/JwtStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["production",{"_index":1190,"title":{},"body":{"index.html":{}}}],["progressive",{"_index":1169,"title":{},"body":{"index.html":{}}}],["project",{"_index":1201,"title":{},"body":{"index.html":{}}}],["promise",{"_index":387,"title":{},"body":{"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"injectables/CategoriesService.html":{},"injectables/LocalStrategy.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["properties",{"_index":56,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/AuthApiController.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["property",{"_index":626,"title":{},"body":{"injectables/JwtStrategy.html":{},"miscellaneous/functions.html":{}}}],["providers",{"_index":204,"title":{},"body":{"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{}}}],["publishedat",{"_index":62,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["publishedby",{"_index":63,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["qb.orwhere('rolepermission.name",{"_index":1049,"title":{},"body":{"injectables/UsersService.html":{}}}],["qb.where('permission.name",{"_index":1048,"title":{},"body":{"injectables/UsersService.html":{}}}],["random",{"_index":279,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["random.alphanumeric(256",{"_index":296,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["read",{"_index":1211,"title":{},"body":{"index.html":{}}}],["readonly",{"_index":167,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["reflect",{"_index":1142,"title":{},"body":{"dependencies.html":{}}}],["reflector",{"_index":405,"title":{},"body":{"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{}}}],["relations",{"_index":800,"title":{},"body":{"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["remove",{"_index":212,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["remove(await",{"_index":864,"title":{},"body":{"injectables/SessionsService.html":{}}}],["remove(uuid",{"_index":219,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["removebyname",{"_index":707,"title":{},"body":{"injectables/PermissionsService.html":{},"injectables/RolesService.html":{}}}],["removebyname(name",{"_index":718,"title":{},"body":{"injectables/PermissionsService.html":{},"injectables/RolesService.html":{}}}],["removes",{"_index":232,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["render",{"_index":587,"title":{},"body":{"controllers/HaloController.html":{}}}],["render('index",{"_index":589,"title":{},"body":{"controllers/HaloController.html":{}}}],["repository",{"_index":453,"title":{},"body":{"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{},"index.html":{}}}],["request",{"_index":271,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/JwtStrategy.html":{},"miscellaneous/variables.html":{}}}],["request.activesession",{"_index":1247,"title":{},"body":{"miscellaneous/variables.html":{}}}],["request.activesession[data",{"_index":1248,"title":{},"body":{"miscellaneous/variables.html":{}}}],["request.dto",{"_index":898,"title":{},"body":{"classes/UpdateUserRequestDto.html":{}}}],["request.dto.ts",{"_index":561,"title":{},"body":{"classes/CreateUserRequestDto.html":{},"classes/UpdateUserRequestDto.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["request.dto.ts:13",{"_index":567,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["request.dto.ts:17",{"_index":897,"title":{},"body":{"classes/UpdateUserRequestDto.html":{}}}],["request.dto.ts:20",{"_index":564,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["request.dto.ts:29",{"_index":575,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["request.dto.ts:35",{"_index":570,"title":{},"body":{"classes/CreateUserRequestDto.html":{}}}],["request.ip",{"_index":624,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["request.user",{"_index":1258,"title":{},"body":{"miscellaneous/variables.html":{}}}],["request.user[data",{"_index":1259,"title":{},"body":{"miscellaneous/variables.html":{}}}],["requiredability",{"_index":412,"title":{},"body":{"guards/CanGuard.html":{}}}],["requiredroles",{"_index":596,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["requiredroles.some((role",{"_index":598,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["reset",{"_index":14,"title":{},"body":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{},"overview.html":{}}}],["respon",{"_index":243,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["result",{"_index":47,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"coverage.html":{},"dependencies.html":{},"miscellaneous/functions.html":{},"index.html":{},"modules.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["results",{"_index":49,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"coverage.html":{},"dependencies.html":{},"miscellaneous/functions.html":{},"index.html":{},"modules.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["return",{"_index":173,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"miscellaneous/variables.html":{}}}],["returns",{"_index":132,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["rimraf",{"_index":1145,"title":{},"body":{"dependencies.html":{}}}],["role",{"_index":680,"title":{},"body":{"classes/PermissionEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{}}}],["role.dto",{"_index":746,"title":{},"body":{"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/UpdateRoleDto.html":{}}}],["role.dto.ts",{"_index":525,"title":{},"body":{"classes/CreateRoleDto.html":{},"classes/UpdateRoleDto.html":{},"coverage.html":{}}}],["role.dto.ts:12",{"_index":527,"title":{},"body":{"classes/CreateRoleDto.html":{}}}],["role.dto.ts:9",{"_index":880,"title":{},"body":{"classes/UpdateRoleDto.html":{}}}],["role.name).includes(role",{"_index":600,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["role.permissions",{"_index":681,"title":{},"body":{"classes/PermissionEntity.html":{},"injectables/RolesService.html":{}}}],["role.permissions.filter((e",{"_index":803,"title":{},"body":{"injectables/RolesService.html":{}}}],["role.users",{"_index":938,"title":{},"body":{"classes/UserEntity.html":{}}}],["roledto",{"_index":730,"title":{"classes/RoleDto.html":{}},"body":{"classes/RoleDto.html":{},"coverage.html":{}}}],["roleentity",{"_index":528,"title":{"classes/RoleEntity.html":{}},"body":{"classes/CreateRoleDto.html":{},"classes/PermissionEntity.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{},"coverage.html":{}}}],["roleentity(createroledto",{"_index":793,"title":{},"body":{"injectables/RolesService.html":{}}}],["rolepermission",{"_index":1044,"title":{},"body":{"injectables/UsersService.html":{}}}],["rolerepository",{"_index":774,"title":{},"body":{"injectables/RolesService.html":{}}}],["roles",{"_index":670,"title":{},"body":{"classes/PermissionEntity.html":{},"controllers/RolesApiController.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{},"injectables/UsersService.html":{}}}],["roles.decorator.ts",{"_index":1081,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["roles.guard.ts",{"_index":592,"title":{},"body":{"guards/HasRolesGuard.html":{},"coverage.html":{}}}],["roles.guard.ts:6",{"_index":593,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["roles.guard.ts:9",{"_index":594,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["roles.includes(e.name",{"_index":1037,"title":{},"body":{"injectables/UsersService.html":{}}}],["roles.service",{"_index":767,"title":{},"body":{"modules/RolesModule.html":{}}}],["roles/entities/role.entity",{"_index":1015,"title":{},"body":{"injectables/UsersService.html":{}}}],["roles/roles.module",{"_index":329,"title":{},"body":{"modules/AuthModule.html":{}}}],["rolesapicontroller",{"_index":25,"title":{"controllers/RolesApiController.html":{}},"body":{"modules/ApiModule.html":{},"controllers/RolesApiController.html":{},"coverage.html":{}}}],["rolesmodule",{"_index":11,"title":{"modules/RolesModule.html":{}},"body":{"modules/ApiModule.html":{},"modules/AuthModule.html":{},"modules/RolesModule.html":{},"modules.html":{},"overview.html":{}}}],["rolesservice",{"_index":757,"title":{"injectables/RolesService.html":{}},"body":{"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"coverage.html":{},"overview.html":{}}}],["run",{"_index":1185,"title":{},"body":{"index.html":{}}}],["rxjs",{"_index":1147,"title":{},"body":{"dependencies.html":{}}}],["saat",{"_index":254,"title":{},"body":{"controllers/AuthApiController.html":{},"classes/CreateUserRequestDto.html":{},"classes/UpdateUserRequestDto.html":{}}}],["saja",{"_index":942,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["sandi",{"_index":895,"title":{},"body":{"classes/UpdateUserRequestDto.html":{}}}],["save(session",{"_index":862,"title":{},"body":{"injectables/SessionsService.html":{}}}],["scalable",{"_index":1174,"title":{},"body":{"index.html":{}}}],["schema",{"_index":247,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["secret",{"_index":332,"title":{},"body":{"modules/AuthModule.html":{},"miscellaneous/variables.html":{}}}],["secretorkey",{"_index":613,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["seen",{"_index":836,"title":{},"body":{"injectables/SessionsService.html":{}}}],["seen(uuid",{"_index":847,"title":{},"body":{"injectables/SessionsService.html":{}}}],["server",{"_index":244,"title":{},"body":{"controllers/AuthApiController.html":{},"index.html":{}}}],["sesei",{"_index":258,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["sesi",{"_index":241,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{}}}],["session",{"_index":348,"title":{},"body":{"injectables/AuthService.html":{},"injectables/JwtStrategy.html":{},"injectables/SessionsService.html":{},"classes/UserEntity.html":{},"dependencies.html":{}}}],["session.decorator",{"_index":286,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["session.decorator.ts",{"_index":1083,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["session.dto",{"_index":825,"title":{},"body":{"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateSessionDto.html":{}}}],["session.dto.ts",{"_index":533,"title":{},"body":{"classes/CreateSessionDto.html":{},"classes/UpdateSessionDto.html":{},"coverage.html":{}}}],["session.dto.ts:10",{"_index":885,"title":{},"body":{"classes/UpdateSessionDto.html":{}}}],["session.dto.ts:4",{"_index":536,"title":{},"body":{"classes/CreateSessionDto.html":{}}}],["session.dto.ts:5",{"_index":534,"title":{},"body":{"classes/CreateSessionDto.html":{}}}],["session.dto.ts:6",{"_index":535,"title":{},"body":{"classes/CreateSessionDto.html":{}}}],["session.ip",{"_index":623,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["session.user",{"_index":858,"title":{},"body":{"injectables/SessionsService.html":{},"classes/UserEntity.html":{}}}],["session.uuid",{"_index":366,"title":{},"body":{"injectables/AuthService.html":{}}}],["sessiondto",{"_index":256,"title":{"classes/SessionDto.html":{}},"body":{"controllers/AuthApiController.html":{},"classes/SessionDto.html":{},"injectables/SessionsService.html":{},"coverage.html":{}}}],["sessiondto(session",{"_index":855,"title":{},"body":{"injectables/SessionsService.html":{}}}],["sessionentity",{"_index":251,"title":{"classes/SessionEntity.html":{}},"body":{"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"classes/UserEntity.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["sessionentity(createsessiondto",{"_index":854,"title":{},"body":{"injectables/SessionsService.html":{}}}],["sessionrepository",{"_index":839,"title":{},"body":{"injectables/SessionsService.html":{}}}],["sessions",{"_index":856,"title":{},"body":{"injectables/SessionsService.html":{},"classes/UserEntity.html":{}}}],["sessions.service",{"_index":832,"title":{},"body":{"modules/SessionsModule.html":{}}}],["sessions/entities/session.entity",{"_index":353,"title":{},"body":{"injectables/AuthService.html":{}}}],["sessions/sessions.module",{"_index":327,"title":{},"body":{"modules/AuthModule.html":{}}}],["sessions/sessions.service",{"_index":350,"title":{},"body":{"injectables/AuthService.html":{}}}],["sessionservice",{"_index":340,"title":{},"body":{"injectables/AuthService.html":{},"injectables/JwtStrategy.html":{}}}],["sessionsmodule",{"_index":312,"title":{"modules/SessionsModule.html":{}},"body":{"modules/AuthModule.html":{},"modules/SessionsModule.html":{},"modules.html":{},"overview.html":{}}}],["sessionsservice",{"_index":341,"title":{"injectables/SessionsService.html":{}},"body":{"injectables/AuthService.html":{},"injectables/JwtStrategy.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"coverage.html":{},"overview.html":{}}}],["sessionuuid",{"_index":615,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["setmetadata('ability",{"_index":1250,"title":{},"body":{"miscellaneous/variables.html":{}}}],["setmetadata('roles",{"_index":1251,"title":{},"body":{"miscellaneous/variables.html":{}}}],["setparameters",{"_index":1050,"title":{},"body":{"injectables/UsersService.html":{}}}],["side",{"_index":1175,"title":{},"body":{"index.html":{}}}],["signoptions",{"_index":334,"title":{},"body":{"modules/AuthModule.html":{}}}],["skip",{"_index":1023,"title":{},"body":{"injectables/UsersService.html":{}}}],["slug",{"_index":64,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"coverage.html":{},"miscellaneous/functions.html":{}}}],["slug(categoryentity",{"_index":508,"title":{},"body":{"classes/CreateCategoryDto.html":{}}}],["slug(target",{"_index":1166,"title":{},"body":{"miscellaneous/functions.html":{}}}],["slugify",{"_index":468,"title":{},"body":{"injectables/CategoriesService.html":{},"dependencies.html":{}}}],["slugify(createcategorydto.slug",{"_index":470,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["socket.io",{"_index":1107,"title":{},"body":{"dependencies.html":{}}}],["source",{"_index":17,"title":{},"body":{"modules/ApiModule.html":{},"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"modules/ArticlesModule.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"modules/AuthModule.html":{},"injectables/AuthService.html":{},"classes/BaseController.html":{},"classes/BaseDto.html":{},"injectables/BasicAuthGuard.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"modules/CategoriesModule.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateArticleDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtAuthGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalAuthGuard.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"modules/PermissionsModule.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"modules/RolesModule.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"modules/SessionsModule.html":{},"injectables/SessionsService.html":{},"modules/SuratModule.html":{},"injectables/SuratService.html":{},"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"modules/WebModule.html":{},"index.html":{}}}],["sponsors",{"_index":1204,"title":{},"body":{"index.html":{}}}],["sqlite3",{"_index":1150,"title":{},"body":{"dependencies.html":{}}}],["src/.../active",{"_index":1237,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../can.decorator.ts",{"_index":1238,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../constants.ts",{"_index":1241,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../create",{"_index":1239,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../has",{"_index":1240,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../is",{"_index":1159,"title":{},"body":{"miscellaneous/functions.html":{}}}],["src/.../main.ts",{"_index":1158,"title":{},"body":{"miscellaneous/functions.html":{}}}],["src/.../slug.decorator.ts",{"_index":1160,"title":{},"body":{"miscellaneous/functions.html":{}}}],["src/.../user.decorator.ts",{"_index":1242,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/article/articles/articles.module",{"_index":32,"title":{},"body":{"modules/ApiModule.html":{}}}],["src/article/articles/articles.module.ts",{"_index":203,"title":{},"body":{"modules/ArticlesModule.html":{}}}],["src/article/articles/articles.service.ts",{"_index":209,"title":{},"body":{"injectables/ArticlesService.html":{},"coverage.html":{}}}],["src/article/articles/articles.service.ts:11",{"_index":216,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["src/article/articles/articles.service.ts:15",{"_index":218,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["src/article/articles/articles.service.ts:19",{"_index":223,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["src/article/articles/articles.service.ts:23",{"_index":220,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["src/article/articles/articles.service.ts:7",{"_index":215,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["src/article/articles/dto/create",{"_index":495,"title":{},"body":{"classes/CreateArticleDto.html":{},"coverage.html":{}}}],["src/article/articles/dto/update",{"_index":872,"title":{},"body":{"classes/UpdateArticleDto.html":{},"coverage.html":{}}}],["src/article/articles/entities/article.entity",{"_index":490,"title":{},"body":{"classes/CategoryEntity.html":{},"classes/UserEntity.html":{}}}],["src/article/articles/entities/article.entity.ts",{"_index":52,"title":{},"body":{"classes/ArticleEntity.html":{},"coverage.html":{}}}],["src/article/articles/entities/article.entity.ts:18",{"_index":100,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:21",{"_index":96,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:24",{"_index":95,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:27",{"_index":75,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:30",{"_index":83,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:33",{"_index":97,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:36",{"_index":90,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:40",{"_index":79,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:43",{"_index":85,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:46",{"_index":87,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:49",{"_index":98,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/articles/entities/article.entity.ts:52",{"_index":93,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/categories/categories.module",{"_index":33,"title":{},"body":{"modules/ApiModule.html":{}}}],["src/article/categories/categories.module.ts",{"_index":446,"title":{},"body":{"modules/CategoriesModule.html":{}}}],["src/article/categories/categories.service",{"_index":431,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["src/article/categories/categories.service.ts",{"_index":450,"title":{},"body":{"injectables/CategoriesService.html":{},"coverage.html":{}}}],["src/article/categories/categories.service.ts:12",{"_index":454,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["src/article/categories/categories.service.ts:18",{"_index":457,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["src/article/categories/categories.service.ts:31",{"_index":458,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["src/article/categories/categories.service.ts:35",{"_index":461,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["src/article/categories/categories.service.ts:39",{"_index":460,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["src/article/categories/categories.service.ts:43",{"_index":464,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["src/article/categories/categories.service.ts:54",{"_index":462,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["src/article/categories/dto/create",{"_index":432,"title":{},"body":{"controllers/CategoriesApiController.html":{},"classes/CreateCategoryDto.html":{},"coverage.html":{}}}],["src/article/categories/dto/update",{"_index":434,"title":{},"body":{"controllers/CategoriesApiController.html":{},"classes/UpdateCategoryDto.html":{},"coverage.html":{}}}],["src/article/categories/entities/category.entity",{"_index":101,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["src/article/categories/entities/category.entity.ts",{"_index":483,"title":{},"body":{"classes/CategoryEntity.html":{},"coverage.html":{}}}],["src/article/categories/entities/category.entity.ts:12",{"_index":486,"title":{},"body":{"classes/CategoryEntity.html":{}}}],["src/article/categories/entities/category.entity.ts:15",{"_index":488,"title":{},"body":{"classes/CategoryEntity.html":{}}}],["src/article/categories/entities/category.entity.ts:18",{"_index":485,"title":{},"body":{"classes/CategoryEntity.html":{}}}],["src/article/categories/entities/category.entity.ts:21",{"_index":484,"title":{},"body":{"classes/CategoryEntity.html":{}}}],["src/article/categories/entities/category.entity.ts:9",{"_index":489,"title":{},"body":{"classes/CategoryEntity.html":{}}}],["src/auth/auth.module",{"_index":34,"title":{},"body":{"modules/ApiModule.html":{}}}],["src/auth/auth.module.ts",{"_index":316,"title":{},"body":{"modules/AuthModule.html":{}}}],["src/auth/auth.service",{"_index":282,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["src/auth/auth.service.ts",{"_index":337,"title":{},"body":{"injectables/AuthService.html":{},"coverage.html":{}}}],["src/auth/auth.service.ts:10",{"_index":343,"title":{},"body":{"injectables/AuthService.html":{}}}],["src/auth/auth.service.ts:18",{"_index":345,"title":{},"body":{"injectables/AuthService.html":{}}}],["src/auth/auth.service.ts:33",{"_index":347,"title":{},"body":{"injectables/AuthService.html":{}}}],["src/auth/constants",{"_index":608,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["src/auth/constants.ts",{"_index":1070,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/auth/permissions/dto/create",{"_index":510,"title":{},"body":{"classes/CreatePermissionDto.html":{},"controllers/PermissionsApiController.html":{},"coverage.html":{}}}],["src/auth/permissions/dto/permission.dto",{"_index":736,"title":{},"body":{"classes/RoleDto.html":{},"classes/UpdateRoleDto.html":{}}}],["src/auth/permissions/dto/permission.dto.ts",{"_index":660,"title":{},"body":{"classes/PermissionDto.html":{},"coverage.html":{}}}],["src/auth/permissions/dto/permission.dto.ts:11",{"_index":663,"title":{},"body":{"classes/PermissionDto.html":{}}}],["src/auth/permissions/dto/permission.dto.ts:8",{"_index":664,"title":{},"body":{"classes/PermissionDto.html":{}}}],["src/auth/permissions/dto/update",{"_index":690,"title":{},"body":{"controllers/PermissionsApiController.html":{},"classes/UpdatePermissionDto.html":{},"coverage.html":{}}}],["src/auth/permissions/entities/permission.entity",{"_index":666,"title":{},"body":{"classes/PermissionDto.html":{},"classes/RoleEntity.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{}}}],["src/auth/permissions/entities/permission.entity.ts",{"_index":669,"title":{},"body":{"classes/PermissionEntity.html":{},"coverage.html":{}}}],["src/auth/permissions/entities/permission.entity.ts:10",{"_index":675,"title":{},"body":{"classes/PermissionEntity.html":{}}}],["src/auth/permissions/entities/permission.entity.ts:13",{"_index":672,"title":{},"body":{"classes/PermissionEntity.html":{}}}],["src/auth/permissions/entities/permission.entity.ts:16",{"_index":674,"title":{},"body":{"classes/PermissionEntity.html":{}}}],["src/auth/permissions/entities/permission.entity.ts:19",{"_index":673,"title":{},"body":{"classes/PermissionEntity.html":{}}}],["src/auth/permissions/permissions.module",{"_index":35,"title":{},"body":{"modules/ApiModule.html":{}}}],["src/auth/permissions/permissions.module.ts",{"_index":702,"title":{},"body":{"modules/PermissionsModule.html":{}}}],["src/auth/permissions/permissions.service",{"_index":692,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["src/auth/permissions/permissions.service.ts",{"_index":705,"title":{},"body":{"injectables/PermissionsService.html":{},"coverage.html":{}}}],["src/auth/permissions/permissions.service.ts:15",{"_index":712,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/permissions/permissions.service.ts:21",{"_index":713,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/permissions/permissions.service.ts:25",{"_index":716,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/permissions/permissions.service.ts:29",{"_index":715,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/permissions/permissions.service.ts:33",{"_index":720,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/permissions/permissions.service.ts:41",{"_index":717,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/permissions/permissions.service.ts:45",{"_index":719,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/permissions/permissions.service.ts:9",{"_index":709,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["src/auth/roles/dto/create",{"_index":524,"title":{},"body":{"classes/CreateRoleDto.html":{},"controllers/RolesApiController.html":{},"coverage.html":{}}}],["src/auth/roles/dto/role.dto.ts",{"_index":731,"title":{},"body":{"classes/RoleDto.html":{},"coverage.html":{}}}],["src/auth/roles/dto/role.dto.ts:20",{"_index":735,"title":{},"body":{"classes/RoleDto.html":{}}}],["src/auth/roles/dto/role.dto.ts:23",{"_index":734,"title":{},"body":{"classes/RoleDto.html":{}}}],["src/auth/roles/dto/role.dto.ts:7",{"_index":732,"title":{},"body":{"classes/RoleDto.html":{}}}],["src/auth/roles/dto/update",{"_index":756,"title":{},"body":{"controllers/RolesApiController.html":{},"classes/UpdateRoleDto.html":{},"coverage.html":{}}}],["src/auth/roles/entities/role.entity",{"_index":677,"title":{},"body":{"classes/PermissionEntity.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{}}}],["src/auth/roles/entities/role.entity.ts",{"_index":741,"title":{},"body":{"classes/RoleEntity.html":{},"coverage.html":{}}}],["src/auth/roles/entities/role.entity.ts:16",{"_index":745,"title":{},"body":{"classes/RoleEntity.html":{}}}],["src/auth/roles/entities/role.entity.ts:19",{"_index":742,"title":{},"body":{"classes/RoleEntity.html":{}}}],["src/auth/roles/entities/role.entity.ts:22",{"_index":744,"title":{},"body":{"classes/RoleEntity.html":{}}}],["src/auth/roles/entities/role.entity.ts:26",{"_index":743,"title":{},"body":{"classes/RoleEntity.html":{}}}],["src/auth/roles/roles.module",{"_index":36,"title":{},"body":{"modules/ApiModule.html":{}}}],["src/auth/roles/roles.module.ts",{"_index":766,"title":{},"body":{"modules/RolesModule.html":{}}}],["src/auth/roles/roles.service",{"_index":758,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["src/auth/roles/roles.service.ts",{"_index":769,"title":{},"body":{"injectables/RolesService.html":{},"coverage.html":{}}}],["src/auth/roles/roles.service.ts:10",{"_index":773,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:16",{"_index":778,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:20",{"_index":781,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:24",{"_index":785,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:28",{"_index":784,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:32",{"_index":789,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:43",{"_index":786,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:47",{"_index":787,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:51",{"_index":776,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/roles/roles.service.ts:59",{"_index":780,"title":{},"body":{"injectables/RolesService.html":{}}}],["src/auth/sessions/dto/create",{"_index":532,"title":{},"body":{"classes/CreateSessionDto.html":{},"coverage.html":{}}}],["src/auth/sessions/dto/session.dto",{"_index":287,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["src/auth/sessions/dto/session.dto.ts",{"_index":806,"title":{},"body":{"classes/SessionDto.html":{},"coverage.html":{}}}],["src/auth/sessions/dto/session.dto.ts:14",{"_index":810,"title":{},"body":{"classes/SessionDto.html":{}}}],["src/auth/sessions/dto/session.dto.ts:17",{"_index":808,"title":{},"body":{"classes/SessionDto.html":{}}}],["src/auth/sessions/dto/session.dto.ts:20",{"_index":809,"title":{},"body":{"classes/SessionDto.html":{}}}],["src/auth/sessions/dto/session.dto.ts:7",{"_index":807,"title":{},"body":{"classes/SessionDto.html":{}}}],["src/auth/sessions/dto/update",{"_index":883,"title":{},"body":{"classes/UpdateSessionDto.html":{},"coverage.html":{}}}],["src/auth/sessions/entities/session.entity",{"_index":288,"title":{},"body":{"controllers/AuthApiController.html":{},"classes/UserEntity.html":{}}}],["src/auth/sessions/entities/session.entity.ts",{"_index":817,"title":{},"body":{"classes/SessionEntity.html":{},"coverage.html":{}}}],["src/auth/sessions/entities/session.entity.ts:10",{"_index":824,"title":{},"body":{"classes/SessionEntity.html":{}}}],["src/auth/sessions/entities/session.entity.ts:13",{"_index":820,"title":{},"body":{"classes/SessionEntity.html":{}}}],["src/auth/sessions/entities/session.entity.ts:16",{"_index":821,"title":{},"body":{"classes/SessionEntity.html":{}}}],["src/auth/sessions/entities/session.entity.ts:19",{"_index":823,"title":{},"body":{"classes/SessionEntity.html":{}}}],["src/auth/sessions/entities/session.entity.ts:22",{"_index":819,"title":{},"body":{"classes/SessionEntity.html":{}}}],["src/auth/sessions/entities/session.entity.ts:25",{"_index":822,"title":{},"body":{"classes/SessionEntity.html":{}}}],["src/auth/sessions/sessions.module.ts",{"_index":831,"title":{},"body":{"modules/SessionsModule.html":{}}}],["src/auth/sessions/sessions.service",{"_index":609,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["src/auth/sessions/sessions.service.ts",{"_index":834,"title":{},"body":{"injectables/SessionsService.html":{},"coverage.html":{}}}],["src/auth/sessions/sessions.service.ts:11",{"_index":838,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/sessions/sessions.service.ts:17",{"_index":841,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/sessions/sessions.service.ts:25",{"_index":842,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/sessions/sessions.service.ts:29",{"_index":843,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/sessions/sessions.service.ts:35",{"_index":845,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/sessions/sessions.service.ts:43",{"_index":848,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/sessions/sessions.service.ts:47",{"_index":850,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/sessions/sessions.service.ts:60",{"_index":846,"title":{},"body":{"injectables/SessionsService.html":{}}}],["src/auth/strategies/basic.strategy.ts",{"_index":380,"title":{},"body":{"injectables/BasicStrategy.html":{},"coverage.html":{}}}],["src/auth/strategies/basic.strategy.ts:14",{"_index":386,"title":{},"body":{"injectables/BasicStrategy.html":{}}}],["src/auth/strategies/basic.strategy.ts:9",{"_index":383,"title":{},"body":{"injectables/BasicStrategy.html":{}}}],["src/auth/strategies/jwt.strategy.ts",{"_index":602,"title":{},"body":{"injectables/JwtStrategy.html":{},"coverage.html":{}}}],["src/auth/strategies/jwt.strategy.ts:10",{"_index":604,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["src/auth/strategies/jwt.strategy.ts:23",{"_index":606,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["src/auth/strategies/local.strategy.ts",{"_index":655,"title":{},"body":{"injectables/LocalStrategy.html":{},"coverage.html":{}}}],["src/auth/strategies/local.strategy.ts:14",{"_index":657,"title":{},"body":{"injectables/LocalStrategy.html":{}}}],["src/auth/strategies/local.strategy.ts:9",{"_index":656,"title":{},"body":{"injectables/LocalStrategy.html":{}}}],["src/auth/users/dto/create",{"_index":156,"title":{},"body":{"controllers/ArticlesApiController.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/UsersApiController.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/auth/users/dto/update",{"_index":158,"title":{},"body":{"controllers/ArticlesApiController.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"controllers/UsersApiController.html":{},"coverage.html":{}}}],["src/auth/users/dto/user.dto",{"_index":289,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/BasicStrategy.html":{},"classes/CreateSessionDto.html":{},"injectables/LocalStrategy.html":{},"classes/SessionDto.html":{},"controllers/UsersApiController.html":{}}}],["src/auth/users/dto/user.dto.ts",{"_index":900,"title":{},"body":{"classes/UserDto.html":{},"coverage.html":{}}}],["src/auth/users/dto/user.dto.ts:14",{"_index":908,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/dto/user.dto.ts:20",{"_index":907,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/dto/user.dto.ts:23",{"_index":913,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/dto/user.dto.ts:26",{"_index":905,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/dto/user.dto.ts:32",{"_index":912,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/dto/user.dto.ts:34",{"_index":909,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/dto/user.dto.ts:36",{"_index":916,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/dto/user.dto.ts:8",{"_index":914,"title":{},"body":{"classes/UserDto.html":{}}}],["src/auth/users/entities/user.entity",{"_index":102,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/AuthApiController.html":{},"guards/CanGuard.html":{},"guards/HasRolesGuard.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/SessionEntity.html":{}}}],["src/auth/users/entities/user.entity.ts",{"_index":920,"title":{},"body":{"classes/UserEntity.html":{},"coverage.html":{}}}],["src/auth/users/entities/user.entity.ts:19",{"_index":932,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:22",{"_index":925,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:25",{"_index":924,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:28",{"_index":931,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:31",{"_index":926,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:34",{"_index":929,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:37",{"_index":923,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:40",{"_index":930,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:43",{"_index":922,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:47",{"_index":927,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:51",{"_index":928,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/entities/user.entity.ts:53",{"_index":933,"title":{},"body":{"classes/UserEntity.html":{}}}],["src/auth/users/users.module",{"_index":37,"title":{},"body":{"modules/ApiModule.html":{}}}],["src/auth/users/users.module.ts",{"_index":969,"title":{},"body":{"modules/UsersModule.html":{}}}],["src/auth/users/users.service",{"_index":160,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["src/auth/users/users.service.ts",{"_index":972,"title":{},"body":{"injectables/UsersService.html":{},"coverage.html":{}}}],["src/auth/users/users.service.ts:102",{"_index":985,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:112",{"_index":990,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:124",{"_index":987,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:13",{"_index":983,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:134",{"_index":992,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:144",{"_index":1002,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:164",{"_index":1004,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:176",{"_index":1010,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:19",{"_index":989,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:28",{"_index":1007,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:41",{"_index":993,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:47",{"_index":998,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:56",{"_index":1000,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:64",{"_index":997,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:75",{"_index":995,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:82",{"_index":1008,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/auth/users/users.service.ts:96",{"_index":1005,"title":{},"body":{"injectables/UsersService.html":{}}}],["src/base",{"_index":369,"title":{},"body":{"classes/BaseController.html":{},"classes/BaseDto.html":{},"classes/CategoryEntity.html":{},"classes/LocalBaseEntity.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"coverage.html":{}}}],["src/http/api/api.module.ts",{"_index":19,"title":{},"body":{"modules/ApiModule.html":{}}}],["src/http/api/controllers/articles.controller.ts",{"_index":118,"title":{},"body":{"controllers/ArticlesApiController.html":{},"coverage.html":{}}}],["src/http/api/controllers/articles.controller.ts:25",{"_index":140,"title":{},"body":{"controllers/ArticlesApiController.html":{}}}],["src/http/api/controllers/articles.controller.ts:41",{"_index":128,"title":{},"body":{"controllers/ArticlesApiController.html":{}}}],["src/http/api/controllers/articles.controller.ts:53",{"_index":145,"title":{},"body":{"controllers/ArticlesApiController.html":{}}}],["src/http/api/controllers/articles.controller.ts:79",{"_index":136,"title":{},"body":{"controllers/ArticlesApiController.html":{}}}],["src/http/api/controllers/auth.controller.ts",{"_index":233,"title":{},"body":{"controllers/AuthApiController.html":{},"coverage.html":{}}}],["src/http/api/controllers/auth.controller.ts:48",{"_index":249,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["src/http/api/controllers/auth.controller.ts:60",{"_index":261,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["src/http/api/controllers/auth.controller.ts:72",{"_index":270,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["src/http/api/controllers/categories.controller.ts",{"_index":419,"title":{},"body":{"controllers/CategoriesApiController.html":{},"coverage.html":{}}}],["src/http/api/controllers/categories.controller.ts:29",{"_index":426,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["src/http/api/controllers/categories.controller.ts:45",{"_index":421,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["src/http/api/controllers/categories.controller.ts:64",{"_index":429,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["src/http/api/controllers/categories.controller.ts:93",{"_index":423,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["src/http/api/controllers/permissions.controller.ts",{"_index":682,"title":{},"body":{"controllers/PermissionsApiController.html":{},"coverage.html":{}}}],["src/http/api/controllers/permissions.controller.ts:29",{"_index":687,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["src/http/api/controllers/permissions.controller.ts:45",{"_index":683,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["src/http/api/controllers/permissions.controller.ts:63",{"_index":689,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["src/http/api/controllers/permissions.controller.ts:92",{"_index":684,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["src/http/api/controllers/roles.controller.ts",{"_index":750,"title":{},"body":{"controllers/RolesApiController.html":{},"coverage.html":{}}}],["src/http/api/controllers/roles.controller.ts:29",{"_index":753,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["src/http/api/controllers/roles.controller.ts:45",{"_index":751,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["src/http/api/controllers/roles.controller.ts:57",{"_index":755,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["src/http/api/controllers/roles.controller.ts:83",{"_index":752,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["src/http/api/controllers/users.controller.ts",{"_index":939,"title":{},"body":{"controllers/UsersApiController.html":{},"coverage.html":{}}}],["src/http/api/controllers/users.controller.ts:117",{"_index":947,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["src/http/api/controllers/users.controller.ts:45",{"_index":956,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["src/http/api/controllers/users.controller.ts:67",{"_index":944,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["src/http/api/controllers/users.controller.ts:85",{"_index":959,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["src/http/decorators/can.decorator.ts",{"_index":1079,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/http/decorators/has",{"_index":1080,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/http/decorators/user.decorator",{"_index":155,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["src/http/decorators/user.decorator.ts",{"_index":1082,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/http/guards/basic",{"_index":284,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/BasicAuthGuard.html":{},"coverage.html":{}}}],["src/http/guards/can.guard.ts",{"_index":402,"title":{},"body":{"guards/CanGuard.html":{},"coverage.html":{}}}],["src/http/guards/can.guard.ts:13",{"_index":409,"title":{},"body":{"guards/CanGuard.html":{}}}],["src/http/guards/can.guard.ts:7",{"_index":406,"title":{},"body":{"guards/CanGuard.html":{}}}],["src/http/guards/has",{"_index":591,"title":{},"body":{"guards/HasRolesGuard.html":{},"coverage.html":{}}}],["src/http/guards/jwt",{"_index":153,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"injectables/JwtAuthGuard.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{},"coverage.html":{}}}],["src/http/guards/local",{"_index":642,"title":{},"body":{"injectables/LocalAuthGuard.html":{},"coverage.html":{}}}],["src/http/sessions/decorators/active",{"_index":285,"title":{},"body":{"controllers/AuthApiController.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/http/web/halo/halo.controller.ts",{"_index":580,"title":{},"body":{"controllers/HaloController.html":{},"coverage.html":{}}}],["src/http/web/halo/halo.controller.ts:9",{"_index":585,"title":{},"body":{"controllers/HaloController.html":{}}}],["src/http/web/web.module.ts",{"_index":1058,"title":{},"body":{"modules/WebModule.html":{}}}],["src/main.ts",{"_index":1084,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["src/pdd/surat/surat.module.ts",{"_index":869,"title":{},"body":{"modules/SuratModule.html":{}}}],["src/pdd/surat/surat.service.ts",{"_index":871,"title":{},"body":{"injectables/SuratService.html":{},"coverage.html":{}}}],["src/validator/decorators/is",{"_index":517,"title":{},"body":{"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"coverage.html":{},"miscellaneous/functions.html":{}}}],["src/validator/decorators/slug.decorator",{"_index":507,"title":{},"body":{"classes/CreateCategoryDto.html":{}}}],["src/validator/decorators/slug.decorator.ts",{"_index":1093,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["start",{"_index":1186,"title":{},"body":{"index.html":{}}}],["start:dev",{"_index":1189,"title":{},"body":{"index.html":{}}}],["start:prodtest",{"_index":1191,"title":{},"body":{"index.html":{}}}],["started",{"_index":1168,"title":{"index.html":{}},"body":{}}],["starter",{"_index":1179,"title":{},"body":{"index.html":{}}}],["statements",{"_index":1063,"title":{},"body":{"coverage.html":{}}}],["static",{"_index":1112,"title":{},"body":{"dependencies.html":{}}}],["stay",{"_index":1214,"title":{},"body":{"index.html":{}}}],["strategies/basic.strategy",{"_index":330,"title":{},"body":{"modules/AuthModule.html":{}}}],["strategies/jwt.strategy",{"_index":326,"title":{},"body":{"modules/AuthModule.html":{}}}],["strategies/local.strategy",{"_index":318,"title":{},"body":{"modules/AuthModule.html":{}}}],["strategy",{"_index":388,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["string",{"_index":70,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/BasicStrategy.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"controllers/HaloController.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"miscellaneous/variables.html":{}}}],["sub",{"_index":365,"title":{},"body":{"injectables/AuthService.html":{},"injectables/JwtStrategy.html":{}}}],["summary",{"_index":292,"title":{},"body":{"controllers/AuthApiController.html":{},"controllers/UsersApiController.html":{}}}],["super",{"_index":396,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"injectables/UsersService.html":{}}}],["super(data",{"_index":737,"title":{},"body":{"classes/RoleDto.html":{},"classes/SessionDto.html":{}}}],["support",{"_index":1205,"title":{},"body":{"index.html":{},"modules.html":{}}}],["surat",{"_index":662,"title":{},"body":{"classes/PermissionDto.html":{}}}],["surat.service",{"_index":870,"title":{},"body":{"modules/SuratModule.html":{}}}],["suratmodule",{"_index":865,"title":{"modules/SuratModule.html":{}},"body":{"modules/SuratModule.html":{},"modules.html":{},"overview.html":{}}}],["suratservice",{"_index":868,"title":{"injectables/SuratService.html":{}},"body":{"modules/SuratModule.html":{},"injectables/SuratService.html":{},"coverage.html":{},"overview.html":{}}}],["svg",{"_index":1226,"title":{},"body":{"modules.html":{}}}],["swagger",{"_index":1152,"title":{},"body":{"dependencies.html":{}}}],["switchtohttp",{"_index":1245,"title":{},"body":{"miscellaneous/variables.html":{}}}],["table",{"_index":1095,"title":{},"body":{"coverage.html":{}}}],["tablesort(document.getelementbyid('coverage",{"_index":1094,"title":{},"body":{"coverage.html":{}}}],["take",{"_index":980,"title":{},"body":{"injectables/UsersService.html":{}}}],["take(undefined",{"_index":1006,"title":{},"body":{"injectables/UsersService.html":{}}}],["tanggal",{"_index":902,"title":{},"body":{"classes/UserDto.html":{}}}],["target",{"_index":1164,"title":{},"body":{"miscellaneous/functions.html":{}}}],["terakhir",{"_index":910,"title":{},"body":{"classes/UserDto.html":{}}}],["tertaut",{"_index":267,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{}}}],["tes",{"_index":583,"title":{},"body":{"controllers/HaloController.html":{}}}],["test",{"_index":1194,"title":{},"body":{"index.html":{}}}],["test:covsupport",{"_index":1197,"title":{},"body":{"index.html":{}}}],["test:e2e",{"_index":1196,"title":{},"body":{"index.html":{}}}],["tests",{"_index":1193,"title":{},"body":{"index.html":{}}}],["text",{"_index":73,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{}}}],["thanks",{"_index":1203,"title":{},"body":{"index.html":{}}}],["then((session",{"_index":863,"title":{},"body":{"injectables/SessionsService.html":{}}}],["this.authservice.login(user",{"_index":301,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["this.authservice.logout(activesession",{"_index":305,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["this.categoriesservice.create(data",{"_index":440,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["this.categoriesservice.findbyslug(slug",{"_index":437,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["this.categoriesservice.remove(uuid",{"_index":442,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["this.categoriesservice.update(uuid",{"_index":441,"title":{},"body":{"controllers/CategoriesApiController.html":{}}}],["this.categoryrepository.find",{"_index":475,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["this.categoryrepository.findoneorfail",{"_index":477,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["this.categoryrepository.findoneorfail(uuid",{"_index":476,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["this.categoryrepository.remove(await",{"_index":481,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["this.categoryrepository.save(category",{"_index":474,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["this.findbyname(name",{"_index":729,"title":{},"body":{"injectables/PermissionsService.html":{},"injectables/RolesService.html":{}}}],["this.findone(category",{"_index":479,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["this.findone(role",{"_index":797,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.findone(uuid",{"_index":482,"title":{},"body":{"injectables/CategoriesService.html":{},"injectables/PermissionsService.html":{},"injectables/RolesService.html":{}}}],["this.haspermissions(uuid",{"_index":1056,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.hasroles(uuid",{"_index":1055,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.jwtservice.sign",{"_index":363,"title":{},"body":{"injectables/AuthService.html":{}}}],["this.permissionrepository.find",{"_index":724,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["this.permissionrepository.findoneorfail",{"_index":726,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["this.permissionrepository.findoneorfail(uuid",{"_index":725,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["this.permissionrepository.remove(await",{"_index":728,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["this.permissionrepository.save(permission",{"_index":723,"title":{},"body":{"injectables/PermissionsService.html":{}}}],["this.permissionsservice.create(data",{"_index":696,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["this.permissionsservice.findbyname(name",{"_index":695,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["this.permissionsservice.remove(uuid",{"_index":698,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["this.permissionsservice.update(uuid",{"_index":697,"title":{},"body":{"controllers/PermissionsApiController.html":{}}}],["this.reflector.getallandoverride",{"_index":413,"title":{},"body":{"guards/CanGuard.html":{}}}],["this.reflector.getallandoverride('roles",{"_index":597,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["this.request.header('user",{"_index":359,"title":{},"body":{"injectables/AuthService.html":{}}}],["this.request.ip",{"_index":362,"title":{},"body":{"injectables/AuthService.html":{}}}],["this.rolerepository.find",{"_index":794,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.rolerepository.findoneorfail",{"_index":796,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.rolerepository.findoneorfail(uuid",{"_index":795,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.rolerepository.remove(await",{"_index":799,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.rolerepository.save",{"_index":798,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.rolerepository.save(new",{"_index":792,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.rolesservice.create(data",{"_index":760,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["this.rolesservice.findbyname(name",{"_index":759,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["this.rolesservice.remove(uuid",{"_index":762,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["this.rolesservice.update(uuid",{"_index":761,"title":{},"body":{"controllers/RolesApiController.html":{}}}],["this.sessionrepository",{"_index":861,"title":{},"body":{"injectables/SessionsService.html":{}}}],["this.sessionrepository.findoneorfail(uuid",{"_index":857,"title":{},"body":{"injectables/SessionsService.html":{}}}],["this.sessionrepository.save",{"_index":853,"title":{},"body":{"injectables/SessionsService.html":{}}}],["this.sessionservice.create",{"_index":357,"title":{},"body":{"injectables/AuthService.html":{}}}],["this.sessionservice.getuser(sessionuuid",{"_index":617,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["this.sessionservice.remove(session.uuid",{"_index":367,"title":{},"body":{"injectables/AuthService.html":{}}}],["this.sessionservice.remove(sessionuuid",{"_index":640,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["this.sessionservice.seen(sessionuuid",{"_index":616,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["this.update(role",{"_index":805,"title":{},"body":{"injectables/RolesService.html":{}}}],["this.update(uuid",{"_index":801,"title":{},"body":{"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["this.usersrepository",{"_index":1039,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersrepository.find",{"_index":1024,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersrepository.findoneorfail",{"_index":1028,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersrepository.findoneorfail(options",{"_index":1027,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersrepository.findoneorfail(uuid",{"_index":1026,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersrepository.remove(user).then((user",{"_index":1034,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersrepository.save",{"_index":1020,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersrepository.save(user).then((user",{"_index":1033,"title":{},"body":{"injectables/UsersService.html":{}}}],["this.usersservice.create(data)).nopassword",{"_index":185,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["this.usersservice.findbyusername(username",{"_index":172,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/UsersApiController.html":{}}}],["this.usersservice.remove(uuid)).nopassword",{"_index":198,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["this.usersservice.update(uuid",{"_index":193,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["this.usersservice.usercan",{"_index":438,"title":{},"body":{"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{}}}],["this.usersservice.usercan(authuuid",{"_index":192,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["this.usersservice.usercan(user.uuid",{"_index":418,"title":{},"body":{"guards/CanGuard.html":{}}}],["this.usersservice.usercan(useruuid",{"_index":184,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["throw",{"_index":178,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/BasicStrategy.html":{},"controllers/CategoriesApiController.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{},"miscellaneous/variables.html":{}}}],["tidak",{"_index":639,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["title",{"_index":65,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["to.decorator.ts",{"_index":1088,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["tojson",{"_index":648,"title":{},"body":{"classes/LocalBaseEntity.html":{}}}],["token",{"_index":297,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{}}}],["touch",{"_index":1215,"title":{},"body":{"index.html":{}}}],["transformer",{"_index":881,"title":{},"body":{"classes/UpdateRoleDto.html":{},"classes/UpdateUserDto.html":{},"dependencies.html":{}}}],["treechildren",{"_index":84,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["treeparent",{"_index":86,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["true",{"_index":89,"title":{},"body":{"classes/ArticleEntity.html":{},"guards/CanGuard.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{}}}],["try",{"_index":169,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/BasicStrategy.html":{},"controllers/CategoriesApiController.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["twitter",{"_index":1221,"title":{},"body":{"index.html":{}}}],["type",{"_index":69,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"classes/BaseDto.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"classes/LocalBaseEntity.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["type(undefined",{"_index":879,"title":{},"body":{"classes/UpdateRoleDto.html":{},"classes/UpdateUserDto.html":{}}}],["typeof",{"_index":478,"title":{},"body":{"injectables/CategoriesService.html":{},"injectables/RolesService.html":{}}}],["typeorm",{"_index":108,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/LocalBaseEntity.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"dependencies.html":{}}}],["typeormmodule",{"_index":30,"title":{},"body":{"modules/ApiModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/UsersModule.html":{}}}],["typeormmodule.forfeature([categoryentity",{"_index":449,"title":{},"body":{"modules/CategoriesModule.html":{}}}],["typeormmodule.forfeature([permissionentity",{"_index":704,"title":{},"body":{"modules/PermissionsModule.html":{}}}],["typeormmodule.forfeature([roleentity",{"_index":768,"title":{},"body":{"modules/RolesModule.html":{}}}],["typeormmodule.forfeature([sessionentity",{"_index":833,"title":{},"body":{"modules/SessionsModule.html":{}}}],["typeormmodule.forfeature([userentity",{"_index":971,"title":{},"body":{"modules/UsersModule.html":{}}}],["typeormmodule.forroot",{"_index":44,"title":{},"body":{"modules/ApiModule.html":{}}}],["types",{"_index":875,"title":{},"body":{"classes/UpdateArticleDto.html":{},"classes/UpdateCategoryDto.html":{},"classes/UpdatePermissionDto.html":{},"classes/UpdateRoleDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{}}}],["typescript",{"_index":1178,"title":{},"body":{"index.html":{}}}],["ui",{"_index":1153,"title":{},"body":{"dependencies.html":{}}}],["unauthorizedexception",{"_index":392,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"miscellaneous/variables.html":{}}}],["undefined",{"_index":82,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/CategoryEntity.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserRequestDto.html":{},"injectables/JwtStrategy.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["undefined)@jointable",{"_index":78,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{}}}],["undefined})@isnotempty()@isstring",{"_index":544,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["undefined})@isnotempty()@isstring()@isemail()@isunique(userentity",{"_index":542,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["undefined})@isnotempty()@isstring()@isunique(userentity",{"_index":548,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["undefined})@isnotempty()@isstring()@minlength(6",{"_index":546,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["undefined})@useguards(basicauthguard)@post",{"_index":248,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["unique",{"_index":492,"title":{},"body":{"classes/CategoryEntity.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/UserEntity.html":{}}}],["unique.decorator",{"_index":518,"title":{},"body":{"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{}}}],["unique.decorator.ts",{"_index":1092,"title":{},"body":{"coverage.html":{},"miscellaneous/functions.html":{}}}],["unit",{"_index":1192,"title":{},"body":{"index.html":{}}}],["unknown",{"_index":133,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/AuthService.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"injectables/JwtStrategy.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["untuk",{"_index":628,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["update",{"_index":123,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["update(authuuid",{"_index":142,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["update(category",{"_index":463,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["update(role",{"_index":788,"title":{},"body":{"injectables/RolesService.html":{}}}],["update(useruuid",{"_index":427,"title":{},"body":{"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["update(uuid",{"_index":221,"title":{},"body":{"injectables/ArticlesService.html":{},"injectables/PermissionsService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{}}}],["updateable",{"_index":191,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["updatearticledto",{"_index":222,"title":{"classes/UpdateArticleDto.html":{}},"body":{"injectables/ArticlesService.html":{},"classes/UpdateArticleDto.html":{},"coverage.html":{}}}],["updatecategorydto",{"_index":428,"title":{"classes/UpdateCategoryDto.html":{}},"body":{"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/UpdateCategoryDto.html":{},"coverage.html":{}}}],["updatedat",{"_index":66,"title":{},"body":{"classes/ArticleEntity.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{}}}],["updatepermissiondto",{"_index":688,"title":{"classes/UpdatePermissionDto.html":{}},"body":{"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/UpdatePermissionDto.html":{},"coverage.html":{}}}],["updateroledto",{"_index":754,"title":{"classes/UpdateRoleDto.html":{}},"body":{"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/UpdateRoleDto.html":{},"coverage.html":{}}}],["updates",{"_index":231,"title":{},"body":{"injectables/ArticlesService.html":{}}}],["updatesessiondto",{"_index":849,"title":{"classes/UpdateSessionDto.html":{}},"body":{"injectables/SessionsService.html":{},"classes/UpdateSessionDto.html":{},"coverage.html":{}}}],["updateuserdto",{"_index":143,"title":{"classes/UpdateUserDto.html":{}},"body":{"controllers/ArticlesApiController.html":{},"classes/UpdateUserDto.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"coverage.html":{}}}],["updateuserdto.password",{"_index":1029,"title":{},"body":{"injectables/UsersService.html":{}}}],["updateuserrequestdto",{"_index":892,"title":{"classes/UpdateUserRequestDto.html":{}},"body":{"classes/UpdateUserRequestDto.html":{},"coverage.html":{}}}],["useguards",{"_index":151,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["useguards(basicauthguard",{"_index":299,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["useguards(jwtauthguard",{"_index":181,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["useguards(jwtauthguard)@delete(':uuid",{"_index":135,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["useguards(jwtauthguard)@patch(':uuid",{"_index":144,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["useguards(jwtauthguard)@post",{"_index":127,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{}}}],["user",{"_index":67,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"classes/CreateSessionDto.html":{},"classes/CreateUserRequestDto.html":{},"guards/HasRolesGuard.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UpdateUserRequestDto.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["user('uuid",{"_index":189,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["user.articles",{"_index":116,"title":{},"body":{"classes/ArticleEntity.html":{}}}],["user.dto",{"_index":157,"title":{},"body":{"controllers/ArticlesApiController.html":{},"classes/UpdateUserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["user.dto.ts",{"_index":537,"title":{},"body":{"classes/CreateUserDto.html":{},"classes/UpdateUserDto.html":{},"coverage.html":{}}}],["user.dto.ts:11",{"_index":888,"title":{},"body":{"classes/UpdateUserDto.html":{}}}],["user.dto.ts:14",{"_index":889,"title":{},"body":{"classes/UpdateUserDto.html":{}}}],["user.dto.ts:15",{"_index":545,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["user.dto.ts:17",{"_index":890,"title":{},"body":{"classes/UpdateUserDto.html":{}}}],["user.dto.ts:22",{"_index":543,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["user.dto.ts:28",{"_index":549,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["user.dto.ts:34",{"_index":547,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["user.dto.ts:7",{"_index":540,"title":{},"body":{"classes/CreateUserDto.html":{}}}],["user.nopassword",{"_index":174,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/UsersApiController.html":{}}}],["user.password",{"_index":398,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["user.permissions",{"_index":679,"title":{},"body":{"classes/PermissionEntity.html":{},"injectables/UsersService.html":{}}}],["user.permissions.filter",{"_index":1035,"title":{},"body":{"injectables/UsersService.html":{}}}],["user.roles",{"_index":748,"title":{},"body":{"classes/RoleEntity.html":{},"injectables/UsersService.html":{}}}],["user.roles.filter((e",{"_index":1036,"title":{},"body":{"injectables/UsersService.html":{}}}],["user.roles?.map((role",{"_index":599,"title":{},"body":{"guards/HasRolesGuard.html":{}}}],["user.sessions",{"_index":827,"title":{},"body":{"classes/SessionEntity.html":{}}}],["user.username",{"_index":364,"title":{},"body":{"injectables/AuthService.html":{}}}],["usercan",{"_index":981,"title":{},"body":{"injectables/UsersService.html":{}}}],["usercan(uuid",{"_index":1009,"title":{},"body":{"injectables/UsersService.html":{}}}],["userdto",{"_index":266,"title":{"classes/UserDto.html":{}},"body":{"controllers/AuthApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"classes/CreateSessionDto.html":{},"injectables/LocalStrategy.html":{},"classes/SessionDto.html":{},"injectables/SessionsService.html":{},"classes/UserDto.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["userdto(data.user",{"_index":813,"title":{},"body":{"classes/SessionDto.html":{}}}],["userdto(session.user",{"_index":859,"title":{},"body":{"injectables/SessionsService.html":{}}}],["userdto(user",{"_index":307,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/UsersService.html":{}}}],["userentity",{"_index":91,"title":{"classes/UserEntity.html":{}},"body":{"classes/ArticleEntity.html":{},"controllers/AuthApiController.html":{},"guards/CanGuard.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"guards/HasRolesGuard.html":{},"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"classes/SessionEntity.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"coverage.html":{}}}],["username",{"_index":141,"title":{},"body":{"controllers/ArticlesApiController.html":{},"injectables/AuthService.html":{},"injectables/BasicStrategy.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"injectables/LocalStrategy.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["username'})@apiparam({name",{"_index":950,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["username'})@get(':username",{"_index":955,"title":{},"body":{"controllers/UsersApiController.html":{}}}],["users",{"_index":671,"title":{},"body":{"classes/PermissionEntity.html":{},"classes/RoleEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["users.map((user",{"_index":1025,"title":{},"body":{"injectables/UsersService.html":{}}}],["users.service",{"_index":970,"title":{},"body":{"modules/UsersModule.html":{}}}],["users/dto/user.dto",{"_index":354,"title":{},"body":{"injectables/AuthService.html":{},"injectables/SessionsService.html":{}}}],["users/users.module",{"_index":323,"title":{},"body":{"modules/AuthModule.html":{}}}],["usersapicontroller",{"_index":26,"title":{"controllers/UsersApiController.html":{}},"body":{"modules/ApiModule.html":{},"controllers/UsersApiController.html":{},"coverage.html":{}}}],["usersmodule",{"_index":12,"title":{"modules/UsersModule.html":{}},"body":{"modules/ApiModule.html":{},"modules/AuthModule.html":{},"modules/UsersModule.html":{},"modules.html":{},"overview.html":{}}}],["usersrepository",{"_index":984,"title":{},"body":{"injectables/UsersService.html":{}}}],["usersservice",{"_index":159,"title":{"injectables/UsersService.html":{}},"body":{"controllers/ArticlesApiController.html":{},"injectables/BasicStrategy.html":{},"guards/CanGuard.html":{},"controllers/CategoriesApiController.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{},"modules/UsersModule.html":{},"injectables/UsersService.html":{},"coverage.html":{},"overview.html":{}}}],["useruuid",{"_index":131,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["uuid",{"_index":68,"title":{},"body":{"classes/ArticleEntity.html":{},"controllers/ArticlesApiController.html":{},"injectables/ArticlesService.html":{},"controllers/CategoriesApiController.html":{},"injectables/CategoriesService.html":{},"classes/CategoryEntity.html":{},"classes/PermissionDto.html":{},"classes/PermissionEntity.html":{},"controllers/PermissionsApiController.html":{},"injectables/PermissionsService.html":{},"classes/RoleDto.html":{},"classes/RoleEntity.html":{},"controllers/RolesApiController.html":{},"injectables/RolesService.html":{},"classes/SessionDto.html":{},"classes/SessionEntity.html":{},"injectables/SessionsService.html":{},"classes/UserDto.html":{},"classes/UserEntity.html":{},"controllers/UsersApiController.html":{},"injectables/UsersService.html":{}}}],["validate",{"_index":381,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/JwtStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["validate(request",{"_index":605,"title":{},"body":{"injectables/JwtStrategy.html":{}}}],["validate(username",{"_index":384,"title":{},"body":{"injectables/BasicStrategy.html":{},"injectables/LocalStrategy.html":{}}}],["validateorreject",{"_index":466,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["validateorreject(createcategorydto",{"_index":472,"title":{},"body":{"injectables/CategoriesService.html":{}}}],["validationoptions",{"_index":1162,"title":{},"body":{"miscellaneous/functions.html":{}}}],["validator",{"_index":467,"title":{},"body":{"injectables/CategoriesService.html":{},"classes/CreateCategoryDto.html":{},"classes/CreatePermissionDto.html":{},"classes/CreateRoleDto.html":{},"classes/CreateUserDto.html":{},"classes/CreateUserRequestDto.html":{},"classes/UpdateSessionDto.html":{},"classes/UpdateUserDto.html":{},"classes/UpdateUserRequestDto.html":{},"dependencies.html":{}}}],["value",{"_index":1243,"title":{},"body":{"miscellaneous/variables.html":{}}}],["variable",{"_index":1071,"title":{},"body":{"coverage.html":{}}}],["variables",{"_index":1236,"title":{"miscellaneous/variables.html":{}},"body":{"miscellaneous/variables.html":{}}}],["verify",{"_index":236,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["verify(@request",{"_index":306,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["verify(undefined",{"_index":263,"title":{},"body":{"controllers/AuthApiController.html":{}}}],["version",{"_index":162,"title":{},"body":{"controllers/ArticlesApiController.html":{},"controllers/AuthApiController.html":{},"controllers/CategoriesApiController.html":{},"controllers/PermissionsApiController.html":{},"controllers/RolesApiController.html":{},"controllers/UsersApiController.html":{}}}],["watch",{"_index":1187,"title":{},"body":{"index.html":{}}}],["webmodule",{"_index":1057,"title":{"modules/WebModule.html":{}},"body":{"modules/WebModule.html":{},"modules.html":{}}}],["website",{"_index":1219,"title":{},"body":{"index.html":{}}}],["where('user.uuid",{"_index":1045,"title":{},"body":{"injectables/UsersService.html":{}}}],["yang",{"_index":259,"title":{},"body":{"controllers/AuthApiController.html":{},"injectables/JwtStrategy.html":{},"controllers/UsersApiController.html":{}}}],["yes",{"_index":375,"title":{},"body":{"classes/BaseDto.html":{},"classes/CreateCategoryDto.html":{},"classes/CreateUserDto.html":{},"classes/LocalBaseEntity.html":{},"injectables/RolesService.html":{},"injectables/SessionsService.html":{},"injectables/UsersService.html":{},"miscellaneous/functions.html":{}}}],["you'd",{"_index":1208,"title":{},"body":{"index.html":{}}}],["zoom",{"_index":13,"title":{},"body":{"modules/ApiModule.html":{},"modules/ArticlesModule.html":{},"modules/AuthModule.html":{},"modules/CategoriesModule.html":{},"modules/PermissionsModule.html":{},"modules/RolesModule.html":{},"modules/SessionsModule.html":{},"modules/SuratModule.html":{},"modules/UsersModule.html":{},"overview.html":{}}}]],"pipeline":["stemmer"]},
"store": {"modules/ApiModule.html":{"url":"modules/ApiModule.html","title":"module - ApiModule","body":"\n \n\n\n\n\n Modules\n ApiModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_ApiModule\n\n\n\ncluster_ApiModule_imports\n\n\n\n\nArticlesModule\n\nArticlesModule\n\n\n\nApiModule\n\nApiModule\n\nApiModule -->\n\nArticlesModule->ApiModule\n\n\n\n\n\nAuthModule\n\nAuthModule\n\nApiModule -->\n\nAuthModule->ApiModule\n\n\n\n\n\nCategoriesModule\n\nCategoriesModule\n\nApiModule -->\n\nCategoriesModule->ApiModule\n\n\n\n\n\nPermissionsModule\n\nPermissionsModule\n\nApiModule -->\n\nPermissionsModule->ApiModule\n\n\n\n\n\nRolesModule\n\nRolesModule\n\nApiModule -->\n\nRolesModule->ApiModule\n\n\n\n\n\nUsersModule\n\nUsersModule\n\nApiModule -->\n\nUsersModule->ApiModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/http/api/api.module.ts\n \n\n\n\n\n\n \n \n \n Controllers\n \n \n ArticlesApiController\n \n \n AuthApiController\n \n \n CategoriesApiController\n \n \n PermissionsApiController\n \n \n RolesApiController\n \n \n UsersApiController\n \n \n UsersApiController\n \n \n \n \n Imports\n \n \n ArticlesModule\n \n \n AuthModule\n \n \n CategoriesModule\n \n \n PermissionsModule\n \n \n RolesModule\n \n \n UsersModule\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { TypeOrmModule } from '@nestjs/typeorm';\nimport { ArticlesModule } from 'src/article/articles/articles.module';\nimport { CategoriesModule } from 'src/article/categories/categories.module';\nimport { AuthModule } from 'src/auth/auth.module';\nimport { PermissionsModule } from 'src/auth/permissions/permissions.module';\nimport { RolesModule } from 'src/auth/roles/roles.module';\nimport { UsersModule } from 'src/auth/users/users.module';\nimport { ArticlesApiController } from './controllers/articles.controller';\nimport { AuthApiController } from './controllers/auth.controller';\nimport { CategoriesApiController } from './controllers/categories.controller';\nimport { PermissionsApiController } from './controllers/permissions.controller';\nimport { RolesApiController } from './controllers/roles.controller';\nimport { UsersApiController } from './controllers/users.controller';\n\n@Module({\n imports: [\n TypeOrmModule.forRoot(),\n ArticlesModule,\n AuthModule,\n CategoriesModule,\n PermissionsModule,\n RolesModule,\n UsersModule,\n ],\n controllers: [\n ArticlesApiController,\n AuthApiController,\n CategoriesApiController,\n PermissionsApiController,\n RolesApiController,\n UsersApiController,\n UsersApiController,\n ],\n})\nexport class ApiModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/ArticleEntity.html":{"url":"classes/ArticleEntity.html","title":"class - ArticleEntity","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n ArticleEntity\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/articles/entities/article.entity.ts\n \n\n\n\n \n Extends\n \n \n BaseEntity\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n body\n \n \n categories\n \n \n createdAt\n \n \n histories\n \n \n parent\n \n \n publishedAt\n \n \n publishedBy\n \n \n slug\n \n \n title\n \n \n updatedAt\n \n \n user\n \n \n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n body\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column({type: 'text'})\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:27\n \n \n\n\n \n \n \n \n \n \n \n \n categories\n \n \n \n \n \n \n Type : CategoryEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)@JoinTable()\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:40\n \n \n\n\n \n \n \n \n \n \n \n \n createdAt\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @Column({default: undefined})\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:30\n \n \n\n\n \n \n \n \n \n \n \n \n histories\n \n \n \n \n \n \n Type : ArticleEntity[]\n\n \n \n \n \n Decorators : \n \n \n @TreeChildren()\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:43\n \n \n\n\n \n \n \n \n \n \n \n \n parent\n \n \n \n \n \n \n Type : ArticleEntity\n\n \n \n \n \n Decorators : \n \n \n @TreeParent()\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:46\n \n \n\n\n \n \n \n \n \n \n \n \n publishedAt\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @Column({nullable: true})\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:36\n \n \n\n\n \n \n \n \n \n \n \n \n publishedBy\n \n \n \n \n \n \n Type : UserEntity\n\n \n \n \n \n Decorators : \n \n \n @ManyToOne(undefined)\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:52\n \n \n\n\n \n \n \n \n \n \n \n \n slug\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column()\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:24\n \n \n\n\n \n \n \n \n \n \n \n \n title\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column()\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:21\n \n \n\n\n \n \n \n \n \n \n \n \n updatedAt\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @Column({nullable: true})\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:33\n \n \n\n\n \n \n \n \n \n \n \n \n user\n \n \n \n \n \n \n Type : UserEntity\n\n \n \n \n \n Decorators : \n \n \n @ManyToOne(undefined, undefined)\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:49\n \n \n\n\n \n \n \n \n \n \n \n \n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @PrimaryGeneratedColumn('uuid')\n \n \n \n \n \n Defined in src/article/articles/entities/article.entity.ts:18\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { CategoryEntity } from 'src/article/categories/entities/category.entity';\nimport { UserEntity } from 'src/auth/users/entities/user.entity';\nimport {\n BaseEntity,\n Column,\n Entity,\n JoinTable,\n ManyToMany,\n ManyToOne,\n PrimaryGeneratedColumn,\n TreeChildren,\n TreeParent,\n} from 'typeorm';\n\n@Entity({ name: 'article_articles' })\nexport class ArticleEntity extends BaseEntity {\n @PrimaryGeneratedColumn('uuid')\n uuid: string;\n\n @Column()\n title: string;\n\n @Column()\n slug: string;\n\n @Column({ type: 'text' })\n body: string;\n\n @Column({ default: () => 'CURRENT_TIMESTAMP' })\n createdAt: Date;\n\n @Column({ nullable: true })\n updatedAt: Date;\n\n @Column({ nullable: true })\n publishedAt: Date;\n\n @ManyToMany(() => CategoryEntity, (category) => category.articles)\n @JoinTable()\n categories: CategoryEntity[];\n\n @TreeChildren()\n histories: ArticleEntity[];\n\n @TreeParent()\n parent: ArticleEntity;\n\n @ManyToOne(() => UserEntity, (user) => user.articles)\n user: UserEntity;\n\n @ManyToOne(() => UserEntity)\n publishedBy: UserEntity;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"controllers/ArticlesApiController.html":{"url":"controllers/ArticlesApiController.html","title":"controller - ArticlesApiController","body":"\n \n\n\n\n\n\n\n Controllers\n ArticlesApiController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/api/controllers/articles.controller.ts\n \n\n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n create\n \n \n Async\n delete\n \n \n Async\n get\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(userUuid: string, data: CreateUserDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Post()\n \n \n\n \n \n Defined in src/http/api/controllers/articles.controller.ts:41\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n CreateUserDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n delete\n \n \n \n \n \n \n \n delete(authUuid: string, uuid: string)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Delete(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/articles.controller.ts:79\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n authUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n get\n \n \n \n \n \n \n \n get(username: string)\n \n \n\n \n \n Decorators : \n \n @Get(':username')\n \n \n\n \n \n Defined in src/http/api/controllers/articles.controller.ts:25\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n username\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(authUuid: string, uuid: string, data: UpdateUserDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Patch(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/articles.controller.ts:53\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n authUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n UpdateUserDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n\n\n \n import {\n Body,\n Controller,\n Delete,\n ForbiddenException,\n Get,\n NotFoundException,\n Param,\n Patch,\n Post,\n UseGuards,\n} from '@nestjs/common';\nimport { JwtAuthGuard } from 'src/http/guards/jwt-auth.guard';\nimport { User } from 'src/http/decorators/user.decorator';\nimport { CreateUserDto } from 'src/auth/users/dto/create-user.dto';\nimport { UpdateUserDto } from 'src/auth/users/dto/update-user.dto';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { EntityNotFoundError } from 'typeorm';\n\n@Controller({ version: '1', path: 'article/articles' })\nexport class ArticlesApiController {\n constructor(private readonly usersService: UsersService) {}\n\n @Get(':username')\n async get(@Param('username') username: string) {\n try {\n const user = await this.usersService.findByUsername(username);\n\n return user.noPassword;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n @UseGuards(JwtAuthGuard)\n @Post()\n async create(@User('uuid') userUuid: string, @Body() data: CreateUserDto) {\n const createable = await this.usersService.userCan(userUuid, 'create user');\n\n if (createable) return (await this.usersService.create(data)).noPassword;\n\n throw new ForbiddenException(\n 'You dont have permissions to create new user',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Patch(':uuid')\n async update(\n @User('uuid') authUuid: string,\n @Param('uuid') uuid: string,\n @Body() data: UpdateUserDto,\n ) {\n const updateable = await this.usersService.userCan(authUuid, 'update user');\n\n if (updateable || authUuid == uuid) {\n try {\n return (await this.usersService.update(uuid, data)).noPassword;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to update this user',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Delete(':uuid')\n async delete(@User('uuid') authUuid: string, @Param('uuid') uuid: string) {\n const deletable = this.usersService.userCan(authUuid, 'delete user');\n\n if (deletable && authUuid != uuid) {\n try {\n return (await this.usersService.remove(uuid)).noPassword;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to delete this user',\n );\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/ArticlesModule.html":{"url":"modules/ArticlesModule.html","title":"module - ArticlesModule","body":"\n \n\n\n\n\n Modules\n ArticlesModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_ArticlesModule\n\n\n\ncluster_ArticlesModule_providers\n\n\n\ncluster_ArticlesModule_exports\n\n\n\n\nArticlesService \n\nArticlesService \n\n\n\nArticlesModule\n\nArticlesModule\n\nArticlesService -->\n\nArticlesModule->ArticlesService \n\n\n\n\n\nArticlesService\n\nArticlesService\n\nArticlesModule -->\n\nArticlesService->ArticlesModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/article/articles/articles.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n ArticlesService\n \n \n \n \n Exports\n \n \n ArticlesService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { ArticlesService } from './articles.service';\n\n@Module({\n providers: [ArticlesService],\n exports: [ArticlesService],\n})\nexport class ArticlesModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/ArticlesService.html":{"url":"injectables/ArticlesService.html","title":"injectable - ArticlesService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n ArticlesService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/articles/articles.service.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n create\n \n \n findAll\n \n \n findOne\n \n \n remove\n \n \n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n create\n \n \n \n \n \n \ncreate(createArticleDto: CreateArticleDto)\n \n \n\n\n \n \n Defined in src/article/articles/articles.service.ts:7\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n createArticleDto\n \n CreateArticleDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : string\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n findAll\n \n \n \n \n \n \nfindAll()\n \n \n\n\n \n \n Defined in src/article/articles/articles.service.ts:11\n \n \n\n\n \n \n\n \n Returns : string\n\n \n \n \n \n \n \n \n \n \n \n \n findOne\n \n \n \n \n \n \nfindOne(uuid: string)\n \n \n\n\n \n \n Defined in src/article/articles/articles.service.ts:15\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : string\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n remove\n \n \n \n \n \n \nremove(uuid: string)\n \n \n\n\n \n \n Defined in src/article/articles/articles.service.ts:23\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : string\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n update\n \n \n \n \n \n \nupdate(uuid: string, updateArticleDto: UpdateArticleDto)\n \n \n\n\n \n \n Defined in src/article/articles/articles.service.ts:19\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n updateArticleDto\n \n UpdateArticleDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : string\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { CreateArticleDto } from './dto/create-article.dto';\nimport { UpdateArticleDto } from './dto/update-article.dto';\n\n@Injectable()\nexport class ArticlesService {\n create(createArticleDto: CreateArticleDto) {\n return 'This action adds a new article';\n }\n\n findAll() {\n return `This action returns all articles`;\n }\n\n findOne(uuid: string) {\n return `This action returns a #${uuid} article`;\n }\n\n update(uuid: string, updateArticleDto: UpdateArticleDto) {\n return `This action updates a #${uuid} article`;\n }\n\n remove(uuid: string) {\n return `This action removes a #${uuid} article`;\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"controllers/AuthApiController.html":{"url":"controllers/AuthApiController.html","title":"controller - AuthApiController","body":"\n \n\n\n\n\n\n\n Controllers\n AuthApiController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/api/controllers/auth.controller.ts\n \n\n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n login\n \n \n logout\n \n \n verify\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n login\n \n \n \n \n \n \nlogin(undefined: literal type)\n \n \n\n \n \n Decorators : \n \n @ApiOperation({summary: 'login, membuat sesi baru'})@ApiBasicAuth()@ApiCreatedResponse({description: 'respon server jika berhasil login', schema: undefined})@UseGuards(BasicAuthGuard)@Post()\n \n \n\n \n \n Defined in src/http/api/controllers/auth.controller.ts:48\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n \n literal type\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n logout\n \n \n \n \n \n \nlogout(activeSession: SessionEntity)\n \n \n\n \n \n Decorators : \n \n @ApiBearerAuth()@ApiOperation({summary: 'logout, mencabut sesi saat ini'})@ApiOkResponse({type: SessionDto, description: 'data sesei yang dicabut'})@UseGuards(JwtAuthGuard)@Delete()\n \n \n\n \n \n Defined in src/http/api/controllers/auth.controller.ts:60\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n activeSession\n \n SessionEntity\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n verify\n \n \n \n \n \n \nverify(undefined: literal type)\n \n \n\n \n \n Decorators : \n \n @ApiBearerAuth()@ApiOperation({summary: 'memeriksa access_token'})@ApiOkResponse({type: UserDto, description: 'data user yang tertaut ke access_token'})@UseGuards(JwtAuthGuard)@Get()\n \n \n\n \n \n Defined in src/http/api/controllers/auth.controller.ts:72\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n \n literal type\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n\n\n \n import {\n Controller,\n Delete,\n Get,\n Post,\n Request,\n UseGuards,\n} from '@nestjs/common';\nimport {\n ApiBasicAuth,\n ApiBearerAuth,\n ApiCreatedResponse,\n ApiOkResponse,\n ApiOperation,\n ApiTags,\n} from '@nestjs/swagger';\nimport { random } from 'faker';\nimport { AuthService } from 'src/auth/auth.service';\nimport { BasicAuthGuard } from 'src/http/guards/basic-auth.guard';\nimport { JwtAuthGuard } from 'src/http/guards/jwt-auth.guard';\nimport { ActiveSession } from 'src/http/sessions/decorators/active-session.decorator';\nimport { SessionDto } from 'src/auth/sessions/dto/session.dto';\nimport { SessionEntity } from 'src/auth/sessions/entities/session.entity';\nimport { UserDto } from 'src/auth/users/dto/user.dto';\nimport { UserEntity } from 'src/auth/users/entities/user.entity';\n\n@ApiTags('auth')\n@Controller({ version: '1', path: 'auth' })\nexport class AuthApiController {\n constructor(private authService: AuthService) {}\n\n @ApiOperation({ summary: 'login, membuat sesi baru' })\n @ApiBasicAuth()\n @ApiCreatedResponse({\n description: 'respon server jika berhasil login',\n schema: {\n properties: {\n access_token: {\n type: 'string',\n example: random.alphaNumeric(256),\n description: 'token JWT',\n },\n },\n },\n })\n @UseGuards(BasicAuthGuard)\n @Post()\n login(@Request() { user }: { user: UserDto }) {\n return this.authService.login(user);\n }\n\n @ApiBearerAuth()\n @ApiOperation({ summary: 'logout, mencabut sesi saat ini' })\n @ApiOkResponse({\n type: SessionDto,\n description: 'data sesei yang dicabut',\n })\n @UseGuards(JwtAuthGuard)\n @Delete()\n logout(@ActiveSession() activeSession: SessionEntity) {\n return this.authService.logout(activeSession);\n }\n\n @ApiBearerAuth()\n @ApiOperation({ summary: 'memeriksa access_token' })\n @ApiOkResponse({\n type: UserDto,\n description: 'data user yang tertaut ke access_token',\n })\n @UseGuards(JwtAuthGuard)\n @Get()\n verify(@Request() { user }: { user: UserEntity }) {\n return new UserDto(user);\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/AuthModule.html":{"url":"modules/AuthModule.html","title":"module - AuthModule","body":"\n \n\n\n\n\n Modules\n AuthModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_AuthModule\n\n\n\ncluster_AuthModule_providers\n\n\n\ncluster_AuthModule_imports\n\n\n\ncluster_AuthModule_exports\n\n\n\n\nPermissionsModule\n\nPermissionsModule\n\n\n\nAuthModule\n\nAuthModule\n\nAuthModule -->\n\nPermissionsModule->AuthModule\n\n\n\n\n\nRolesModule\n\nRolesModule\n\nAuthModule -->\n\nRolesModule->AuthModule\n\n\n\n\n\nSessionsModule\n\nSessionsModule\n\nAuthModule -->\n\nSessionsModule->AuthModule\n\n\n\n\n\nUsersModule\n\nUsersModule\n\nAuthModule -->\n\nUsersModule->AuthModule\n\n\n\n\n\nAuthService \n\nAuthService \n\nAuthService -->\n\nAuthModule->AuthService \n\n\n\n\n\nAuthService\n\nAuthService\n\nAuthModule -->\n\nAuthService->AuthModule\n\n\n\n\n\nBasicStrategy\n\nBasicStrategy\n\nAuthModule -->\n\nBasicStrategy->AuthModule\n\n\n\n\n\nJwtStrategy\n\nJwtStrategy\n\nAuthModule -->\n\nJwtStrategy->AuthModule\n\n\n\n\n\nLocalStrategy\n\nLocalStrategy\n\nAuthModule -->\n\nLocalStrategy->AuthModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/auth/auth.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n AuthService\n \n \n BasicStrategy\n \n \n JwtStrategy\n \n \n LocalStrategy\n \n \n \n \n Imports\n \n \n PermissionsModule\n \n \n RolesModule\n \n \n SessionsModule\n \n \n UsersModule\n \n \n \n \n Exports\n \n \n AuthService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { AuthService } from './auth.service';\nimport { LocalStrategy } from './strategies/local.strategy';\nimport { PassportModule } from '@nestjs/passport';\nimport { JwtModule } from '@nestjs/jwt';\nimport { UsersModule } from './users/users.module';\nimport { jwtConstants } from './constants';\nimport { JwtStrategy } from './strategies/jwt.strategy';\nimport { SessionsModule } from './sessions/sessions.module';\nimport { PermissionsModule } from './permissions/permissions.module';\nimport { RolesModule } from './roles/roles.module';\nimport { BasicStrategy } from './strategies/basic.strategy';\n@Module({\n imports: [\n UsersModule,\n SessionsModule,\n PassportModule,\n JwtModule.register({\n secret: jwtConstants.secret,\n signOptions: { expiresIn: '60s' },\n }),\n PermissionsModule,\n RolesModule,\n ],\n providers: [AuthService, LocalStrategy, JwtStrategy, BasicStrategy],\n exports: [AuthService],\n})\nexport class AuthModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/AuthService.html":{"url":"injectables/AuthService.html","title":"injectable - AuthService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n AuthService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/auth.service.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n login\n \n \n logout\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(request: Request, sessionService: SessionsService, jwtService: JwtService)\n \n \n \n \n Defined in src/auth/auth.service.ts:10\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n request\n \n \n Request\n \n \n \n No\n \n \n \n \n sessionService\n \n \n SessionsService\n \n \n \n No\n \n \n \n \n jwtService\n \n \n JwtService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n login\n \n \n \n \n \n \n \n login(user: UserDto)\n \n \n\n\n \n \n Defined in src/auth/auth.service.ts:18\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n user\n \n UserDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n logout\n \n \n \n \n \n \nlogout(session: SessionEntity)\n \n \n\n\n \n \n Defined in src/auth/auth.service.ts:33\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n session\n \n SessionEntity\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Inject, Injectable } from '@nestjs/common';\nimport { JwtService } from '@nestjs/jwt';\nimport { SessionsService } from './sessions/sessions.service';\nimport { REQUEST } from '@nestjs/core';\nimport { Request } from 'express';\nimport { SessionEntity } from './sessions/entities/session.entity';\nimport { UserDto } from './users/dto/user.dto';\n\n@Injectable()\nexport class AuthService {\n constructor(\n @Inject(REQUEST)\n private readonly request: Request,\n private sessionService: SessionsService,\n private jwtService: JwtService,\n ) {}\n\n async login(user: UserDto) {\n const session = await this.sessionService.create({\n user,\n device: this.request.header('user-agent') || '',\n ip: this.request.ip,\n });\n\n return {\n access_token: this.jwtService.sign({\n username: user.username,\n sub: session.uuid,\n }),\n };\n }\n\n logout(session: SessionEntity) {\n return this.sessionService.remove(session.uuid);\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/BaseController.html":{"url":"classes/BaseController.html","title":"class - BaseController","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n BaseController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/base-controller.ts\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n \n export class BaseController {}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/BaseDto.html":{"url":"classes/BaseDto.html","title":"class - BaseDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n BaseDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/base-dto.ts\n \n\n\n\n\n\n\n\n \n Constructor\n \n \n \n \nconstructor(data?: E)\n \n \n \n \n Defined in src/base-dto.ts:1\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n data\n \n \n E\n \n \n \n Yes\n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n \n export class BaseDto {\n constructor(data?: E) {\n Object.assign(this, data);\n }\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/BasicAuthGuard.html":{"url":"injectables/BasicAuthGuard.html","title":"injectable - BasicAuthGuard","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n BasicAuthGuard\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/guards/basic-auth.guard.ts\n \n\n\n\n\n\n\n\n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { AuthGuard } from '@nestjs/passport';\n\n@Injectable()\nexport class BasicAuthGuard extends AuthGuard('basic') {}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/BasicStrategy.html":{"url":"injectables/BasicStrategy.html","title":"injectable - BasicStrategy","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n BasicStrategy\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/strategies/basic.strategy.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n validate\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(usersService: UsersService)\n \n \n \n \n Defined in src/auth/strategies/basic.strategy.ts:9\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n usersService\n \n \n UsersService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n validate\n \n \n \n \n \n \n \n validate(username: string, pass: string)\n \n \n\n\n \n \n Defined in src/auth/strategies/basic.strategy.ts:14\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n username\n \n string\n \n\n \n No\n \n\n\n \n \n pass\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { BasicStrategy as Strategy } from 'passport-http';\nimport { PassportStrategy } from '@nestjs/passport';\nimport { Injectable, UnauthorizedException } from '@nestjs/common';\nimport { compareSync } from 'bcrypt';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { UserDto } from 'src/auth/users/dto/user.dto';\n\n@Injectable()\nexport class BasicStrategy extends PassportStrategy(Strategy) {\n constructor(private readonly usersService: UsersService) {\n super();\n }\n\n async validate(username: string, pass: string): Promise {\n try {\n const user = await this.usersService.findByUsername(username);\n\n if (user && compareSync(pass, user.password || '')) return user;\n } catch {}\n\n throw new UnauthorizedException();\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"guards/CanGuard.html":{"url":"guards/CanGuard.html","title":"guard - CanGuard","body":"\n \n\n\n\n\n\n\n\n\n\n\n Guards\n CanGuard\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/guards/can.guard.ts\n \n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n canActivate\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(reflector: Reflector, usersService: UsersService)\n \n \n \n \n Defined in src/http/guards/can.guard.ts:7\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n reflector\n \n \n Reflector\n \n \n \n No\n \n \n \n \n usersService\n \n \n UsersService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n canActivate\n \n \n \n \n \n \n \n canActivate(context: ExecutionContext)\n \n \n\n\n \n \n Defined in src/http/guards/can.guard.ts:13\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n context\n \n ExecutionContext\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n\n \n\n\n \n import { Injectable, CanActivate, ExecutionContext } from '@nestjs/common';\nimport { Reflector } from '@nestjs/core';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { UserEntity } from 'src/auth/users/entities/user.entity';\n\n@Injectable()\nexport class CanGuard implements CanActivate {\n constructor(\n private readonly reflector: Reflector,\n private readonly usersService: UsersService,\n ) {}\n\n async canActivate(context: ExecutionContext): Promise {\n const requiredAbility = this.reflector.getAllAndOverride(\n 'ability',\n [context.getHandler(), context.getClass()],\n );\n\n if (!requiredAbility) return true;\n\n const { user }: { user: UserEntity } = context.switchToHttp().getRequest();\n\n return await this.usersService.userCan(user.uuid, requiredAbility);\n }\n}\n\n \n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"controllers/CategoriesApiController.html":{"url":"controllers/CategoriesApiController.html","title":"controller - CategoriesApiController","body":"\n \n\n\n\n\n\n\n Controllers\n CategoriesApiController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/api/controllers/categories.controller.ts\n \n\n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n create\n \n \n Async\n delete\n \n \n Async\n get\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(userUuid: string, data: CreateCategoryDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Post()\n \n \n\n \n \n Defined in src/http/api/controllers/categories.controller.ts:45\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n CreateCategoryDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n delete\n \n \n \n \n \n \n \n delete(userUuid: string, uuid: string)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Delete(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/categories.controller.ts:93\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n get\n \n \n \n \n \n \n \n get(slug: string)\n \n \n\n \n \n Decorators : \n \n @Get(':slug')\n \n \n\n \n \n Defined in src/http/api/controllers/categories.controller.ts:29\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n slug\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(userUuid: string, uuid: string, data: UpdateCategoryDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Patch(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/categories.controller.ts:64\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n UpdateCategoryDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n\n\n \n import {\n Body,\n Controller,\n Delete,\n ForbiddenException,\n Get,\n NotFoundException,\n Param,\n Patch,\n Post,\n UseGuards,\n} from '@nestjs/common';\nimport { CategoriesService } from 'src/article/categories/categories.service';\nimport { CreateCategoryDto } from 'src/article/categories/dto/create-category.dto';\nimport { UpdateCategoryDto } from 'src/article/categories/dto/update-category.dto';\nimport { JwtAuthGuard } from 'src/http/guards/jwt-auth.guard';\nimport { User } from 'src/http/decorators/user.decorator';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { EntityNotFoundError } from 'typeorm';\n\n@Controller({ version: '1', path: 'article/categories' })\nexport class CategoriesApiController {\n constructor(\n private readonly categoriesService: CategoriesService,\n private readonly usersService: UsersService,\n ) {}\n\n @Get(':slug')\n async get(@Param('slug') slug: string) {\n try {\n const category = await this.categoriesService.findBySlug(slug);\n\n return category;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n @UseGuards(JwtAuthGuard)\n @Post()\n async create(\n @User('uuid') userUuid: string,\n @Body() data: CreateCategoryDto,\n ) {\n const createable = await this.usersService.userCan(\n userUuid,\n 'c',\n 'create category',\n );\n\n if (createable) return await this.categoriesService.create(data);\n\n throw new ForbiddenException(\n 'You dont have permissions to create new category',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Patch(':uuid')\n async update(\n @User('uuid') userUuid: string,\n @Param('uuid') uuid: string,\n @Body() data: UpdateCategoryDto,\n ) {\n const updateable = await this.usersService.userCan(\n userUuid,\n 'update category',\n );\n\n if (updateable || userUuid == uuid) {\n try {\n return await this.categoriesService.update(uuid, data);\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to update this category',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Delete(':uuid')\n async delete(@User('uuid') userUuid: string, @Param('uuid') uuid: string) {\n const deletable = this.usersService.userCan(userUuid, 'delete category');\n\n if (deletable && userUuid != uuid) {\n try {\n return await this.categoriesService.remove(uuid);\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to delete this category',\n );\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/CategoriesModule.html":{"url":"modules/CategoriesModule.html","title":"module - CategoriesModule","body":"\n \n\n\n\n\n Modules\n CategoriesModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_CategoriesModule\n\n\n\ncluster_CategoriesModule_exports\n\n\n\ncluster_CategoriesModule_providers\n\n\n\n\nCategoriesService \n\nCategoriesService \n\n\n\nCategoriesModule\n\nCategoriesModule\n\nCategoriesService -->\n\nCategoriesModule->CategoriesService \n\n\n\n\n\nCategoriesService\n\nCategoriesService\n\nCategoriesModule -->\n\nCategoriesService->CategoriesModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/article/categories/categories.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n CategoriesService\n \n \n \n \n Exports\n \n \n CategoriesService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { TypeOrmModule } from '@nestjs/typeorm';\nimport { CategoriesService } from './categories.service';\nimport { CategoryEntity } from './entities/category.entity';\n\n@Module({\n imports: [TypeOrmModule.forFeature([CategoryEntity])],\n providers: [CategoriesService],\n exports: [CategoriesService],\n})\nexport class CategoriesModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/CategoriesService.html":{"url":"injectables/CategoriesService.html","title":"injectable - CategoriesService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n CategoriesService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/categories/categories.service.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n create\n \n \n findAll\n \n \n Async\n findBySlug\n \n \n Async\n findOne\n \n \n Async\n remove\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(categoryRepository: Repository)\n \n \n \n \n Defined in src/article/categories/categories.service.ts:12\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n categoryRepository\n \n \n Repository\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(createCategoryDto: CreateCategoryDto)\n \n \n\n\n \n \n Defined in src/article/categories/categories.service.ts:18\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n createCategoryDto\n \n CreateCategoryDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n findAll\n \n \n \n \n \n \nfindAll()\n \n \n\n\n \n \n Defined in src/article/categories/categories.service.ts:31\n \n \n\n\n \n \n\n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n Async\n findBySlug\n \n \n \n \n \n \n \n findBySlug(slug: string)\n \n \n\n\n \n \n Defined in src/article/categories/categories.service.ts:39\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n slug\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n findOne\n \n \n \n \n \n \n \n findOne(uuid: string)\n \n \n\n\n \n \n Defined in src/article/categories/categories.service.ts:35\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n remove\n \n \n \n \n \n \n \n remove(uuid: string)\n \n \n\n\n \n \n Defined in src/article/categories/categories.service.ts:54\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(category: string | CategoryEntity, updateCategoryDto: UpdateCategoryDto)\n \n \n\n\n \n \n Defined in src/article/categories/categories.service.ts:43\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n category\n \n string | CategoryEntity\n \n\n \n No\n \n\n\n \n \n updateCategoryDto\n \n UpdateCategoryDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { InjectRepository } from '@nestjs/typeorm';\nimport { Repository } from 'typeorm';\nimport { CreateCategoryDto } from './dto/create-category.dto';\nimport { UpdateCategoryDto } from './dto/update-category.dto';\nimport { CategoryEntity } from './entities/category.entity';\nimport { validateOrReject } from 'class-validator';\n\nimport Slugify from 'slugify';\n\n@Injectable()\nexport class CategoriesService {\n constructor(\n @InjectRepository(CategoryEntity)\n private readonly categoryRepository: Repository,\n ) {}\n\n async create(createCategoryDto: CreateCategoryDto) {\n createCategoryDto = {\n ...createCategoryDto,\n slug: Slugify(createCategoryDto.slug, { lower: true }),\n };\n\n await validateOrReject(createCategoryDto);\n\n const category = new CategoryEntity(createCategoryDto);\n\n return this.categoryRepository.save(category);\n }\n\n findAll() {\n return this.categoryRepository.find();\n }\n\n async findOne(uuid: string) {\n return await this.categoryRepository.findOneOrFail(uuid);\n }\n\n async findBySlug(slug: string) {\n return await this.categoryRepository.findOneOrFail({ slug });\n }\n\n async update(\n category: string | CategoryEntity,\n updateCategoryDto: UpdateCategoryDto,\n ) {\n if (typeof category == 'string') category = await this.findOne(category);\n\n Object.assign(category, updateCategoryDto);\n\n return this.categoryRepository.save(category);\n }\n\n async remove(uuid: string): Promise {\n return this.categoryRepository.remove(await this.findOne(uuid));\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CategoryEntity.html":{"url":"classes/CategoryEntity.html","title":"class - CategoryEntity","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CategoryEntity\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/categories/entities/category.entity.ts\n \n\n\n\n \n Extends\n \n \n BaseEntity\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n articles\n \n \n description\n \n \n name\n \n \n slug\n \n \n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n articles\n \n \n \n \n \n \n Type : ArticleEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)\n \n \n \n \n \n Defined in src/article/categories/entities/category.entity.ts:21\n \n \n\n\n \n \n \n \n \n \n \n \n description\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column({type: 'text', default: undefined})\n \n \n \n \n \n Defined in src/article/categories/entities/category.entity.ts:18\n \n \n\n\n \n \n \n \n \n \n \n \n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column()\n \n \n \n \n \n Defined in src/article/categories/entities/category.entity.ts:12\n \n \n\n\n \n \n \n \n \n \n \n \n slug\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column({unique: true})\n \n \n \n \n \n Defined in src/article/categories/entities/category.entity.ts:15\n \n \n\n\n \n \n \n \n \n \n \n \n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @PrimaryGeneratedColumn('uuid')\n \n \n \n \n \n Defined in src/article/categories/entities/category.entity.ts:9\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ArticleEntity } from 'src/article/articles/entities/article.entity';\nimport { BaseEntity } from 'src/base-entity';\nimport { Column, Entity, ManyToMany, PrimaryGeneratedColumn } from 'typeorm';\nimport { CreateCategoryDto } from '../dto/create-category.dto';\n\n@Entity({ name: 'article_categories' })\nexport class CategoryEntity extends BaseEntity {\n @PrimaryGeneratedColumn('uuid')\n uuid: string;\n\n @Column()\n name: string;\n\n @Column({ unique: true })\n slug: string;\n\n @Column({ type: 'text', default: null })\n description: string;\n\n @ManyToMany(() => ArticleEntity, (article) => article.categories)\n articles: ArticleEntity[];\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CreateArticleDto.html":{"url":"classes/CreateArticleDto.html","title":"class - CreateArticleDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CreateArticleDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/articles/dto/create-article.dto.ts\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n \n export class CreateArticleDto {}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CreateCategoryDto.html":{"url":"classes/CreateCategoryDto.html","title":"class - CreateCategoryDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CreateCategoryDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/categories/dto/create-category.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n description\n \n \n Readonly\n name\n \n \n Readonly\n slug\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(data?: Partial)\n \n \n \n \n Defined in src/article/categories/dto/create-category.dto.ts:5\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n data\n \n \n Partial\n \n \n \n Yes\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n description\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @IsNotEmpty()@IsString()\n \n \n \n \n \n Defined in src/article/categories/dto/create-category.dto.ts:20\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @IsNotEmpty()@IsString()\n \n \n \n \n \n Defined in src/article/categories/dto/create-category.dto.ts:12\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n slug\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @IsNotEmpty()@Slug(CategoryEntity)\n \n \n \n \n \n Defined in src/article/categories/dto/create-category.dto.ts:16\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { IsNotEmpty, IsString } from 'class-validator';\nimport { Slug } from 'src/validator/decorators/slug.decorator';\nimport { CategoryEntity } from '../entities/category.entity';\n\nexport class CreateCategoryDto {\n constructor(data?: Partial) {\n Object.assign(this, data);\n }\n\n @IsNotEmpty()\n @IsString()\n readonly name: string;\n\n @IsNotEmpty()\n @Slug(CategoryEntity)\n readonly slug: string;\n\n @IsNotEmpty()\n @IsString()\n readonly description: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CreatePermissionDto.html":{"url":"classes/CreatePermissionDto.html","title":"class - CreatePermissionDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CreatePermissionDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/permissions/dto/create-permission.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @IsNotEmpty()@IsString()@IsUnique(PermissionEntity)@ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/permissions/dto/create-permission.dto.ts:12\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { IsNotEmpty, IsString } from 'class-validator';\nimport { lorem } from 'faker';\nimport { IsUnique } from 'src/validator/decorators/is-unique.decorator';\nimport { PermissionEntity } from '../entities/permission.entity';\n\nexport class CreatePermissionDto {\n @IsNotEmpty()\n @IsString()\n @IsUnique(PermissionEntity)\n @ApiProperty({ example: lorem.word() })\n readonly name: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CreateRoleDto.html":{"url":"classes/CreateRoleDto.html","title":"class - CreateRoleDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CreateRoleDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/roles/dto/create-role.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @IsNotEmpty()@IsString()@IsUnique(RoleEntity)@ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/roles/dto/create-role.dto.ts:12\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { IsNotEmpty, IsString } from 'class-validator';\nimport { lorem } from 'faker';\nimport { IsUnique } from 'src/validator/decorators/is-unique.decorator';\nimport { RoleEntity } from '../entities/role.entity';\n\nexport class CreateRoleDto {\n @IsNotEmpty()\n @IsString()\n @IsUnique(RoleEntity)\n @ApiProperty({ example: lorem.word() })\n readonly name: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CreateSessionDto.html":{"url":"classes/CreateSessionDto.html","title":"class - CreateSessionDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CreateSessionDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/sessions/dto/create-session.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n device\n \n \n ip\n \n \n user\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n device\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Defined in src/auth/sessions/dto/create-session.dto.ts:5\n \n \n\n\n \n \n \n \n \n \n \n \n ip\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Defined in src/auth/sessions/dto/create-session.dto.ts:6\n \n \n\n\n \n \n \n \n \n \n \n \n user\n \n \n \n \n \n \n Type : UserDto\n\n \n \n \n \n Defined in src/auth/sessions/dto/create-session.dto.ts:4\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { UserDto } from 'src/auth/users/dto/user.dto';\n\nexport class CreateSessionDto {\n user: UserDto;\n device: string;\n ip: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CreateUserDto.html":{"url":"classes/CreateUserDto.html","title":"class - CreateUserDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CreateUserDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/users/dto/create-user.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n email\n \n \n Readonly\n name\n \n \n Readonly\n password\n \n \n Readonly\n username\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(data?: Partial)\n \n \n \n \n Defined in src/auth/users/dto/create-user.dto.ts:7\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n data\n \n \n Partial\n \n \n \n Yes\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n email\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})@IsNotEmpty()@IsString()@IsEmail()@IsUnique(UserEntity)\n \n \n \n \n \n Defined in src/auth/users/dto/create-user.dto.ts:22\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})@IsNotEmpty()@IsString()\n \n \n \n \n \n Defined in src/auth/users/dto/create-user.dto.ts:15\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n password\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})@IsNotEmpty()@IsString()@MinLength(6)\n \n \n \n \n \n Defined in src/auth/users/dto/create-user.dto.ts:34\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n username\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})@IsNotEmpty()@IsString()@IsUnique(UserEntity)\n \n \n \n \n \n Defined in src/auth/users/dto/create-user.dto.ts:28\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { IsNotEmpty, IsEmail, IsString, MinLength } from 'class-validator';\nimport { internet, name } from 'faker';\nimport { IsUnique } from 'src/validator/decorators/is-unique.decorator';\nimport { UserEntity } from '../entities/user.entity';\n\nexport class CreateUserDto {\n constructor(data?: Partial) {\n Object.assign(this, data);\n }\n\n @ApiProperty({ example: name.findName() })\n @IsNotEmpty()\n @IsString()\n readonly name: string;\n\n @ApiProperty({ example: internet.email() })\n @IsNotEmpty()\n @IsString()\n @IsEmail()\n @IsUnique(UserEntity)\n readonly email: string;\n\n @ApiProperty({ example: internet.userName() })\n @IsNotEmpty()\n @IsString()\n @IsUnique(UserEntity)\n readonly username: string;\n\n @ApiProperty({ example: internet.password() })\n @IsNotEmpty()\n @IsString()\n @MinLength(6)\n readonly password: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/CreateUserRequestDto.html":{"url":"classes/CreateUserRequestDto.html","title":"class - CreateUserRequestDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n CreateUserRequestDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/users/dto/create-user-request.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n email\n \n \n Readonly\n name\n \n \n Readonly\n password\n \n \n Readonly\n username\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n email\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'alamat email'})@IsNotEmpty()@IsString()@IsEmail()@IsUnique(UserEntity)\n \n \n \n \n \n Defined in src/auth/users/dto/create-user-request.dto.ts:20\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'nama lengkap'})@IsNotEmpty()@IsString()\n \n \n \n \n \n Defined in src/auth/users/dto/create-user-request.dto.ts:13\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n password\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: fakerGeneratedPassword, description: 'katasandi'})@IsNotEmpty()@IsString()@MinLength(6)\n \n \n \n \n \n Defined in src/auth/users/dto/create-user-request.dto.ts:35\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n username\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'nama pengguna, digunakan saat login atau memanggil'})@IsNotEmpty()@IsString()@IsUnique(UserEntity)\n \n \n \n \n \n Defined in src/auth/users/dto/create-user-request.dto.ts:29\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { IsNotEmpty, IsEmail, IsString, MinLength } from 'class-validator';\nimport { internet, name } from 'faker';\nimport { IsUnique } from 'src/validator/decorators/is-unique.decorator';\nimport { UserEntity } from '../entities/user.entity';\n\nexport const fakerGeneratedPassword = internet.password();\n\nexport class CreateUserRequestDto {\n @ApiProperty({ example: name.findName(), description: 'nama lengkap' })\n @IsNotEmpty()\n @IsString()\n readonly name: string;\n\n @ApiProperty({ example: internet.email(), description: 'alamat email' })\n @IsNotEmpty()\n @IsString()\n @IsEmail()\n @IsUnique(UserEntity)\n readonly email: string;\n\n @ApiProperty({\n example: internet.userName(),\n description: 'nama pengguna, digunakan saat login atau memanggil',\n })\n @IsNotEmpty()\n @IsString()\n @IsUnique(UserEntity)\n readonly username: string;\n\n @ApiProperty({ example: fakerGeneratedPassword, description: 'katasandi' })\n @IsNotEmpty()\n @IsString()\n @MinLength(6)\n readonly password: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"controllers/HaloController.html":{"url":"controllers/HaloController.html","title":"controller - HaloController","body":"\n \n\n\n\n\n\n\n Controllers\n HaloController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/web/halo/halo.controller.ts\n \n\n \n Prefix\n \n \n halo\n \n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n tes\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n tes\n \n \n \n \n \n \ntes()\n \n \n\n \n \n Decorators : \n \n @Get()@Render('index')\n \n \n\n \n \n Defined in src/http/web/halo/halo.controller.ts:9\n \n \n\n\n \n \n\n \n Returns : { message: string; }\n\n \n \n \n \n \n \n\n\n \n import { Render } from '@nestjs/common';\nimport { Get } from '@nestjs/common';\nimport { Controller } from '@nestjs/common';\n\n@Controller('halo')\nexport class HaloController {\n @Get()\n @Render('index')\n tes() {\n return {\n message: 'Halo!',\n };\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"guards/HasRolesGuard.html":{"url":"guards/HasRolesGuard.html","title":"guard - HasRolesGuard","body":"\n \n\n\n\n\n\n\n\n\n\n\n Guards\n HasRolesGuard\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/guards/has-roles.guard.ts\n \n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n canActivate\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(reflector: Reflector)\n \n \n \n \n Defined in src/http/guards/has-roles.guard.ts:6\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n reflector\n \n \n Reflector\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n canActivate\n \n \n \n \n \n \ncanActivate(context: ExecutionContext)\n \n \n\n\n \n \n Defined in src/http/guards/has-roles.guard.ts:9\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n context\n \n ExecutionContext\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n\n \n\n\n \n import { Injectable, CanActivate, ExecutionContext } from '@nestjs/common';\nimport { Reflector } from '@nestjs/core';\nimport { UserEntity } from 'src/auth/users/entities/user.entity';\n\n@Injectable()\nexport class HasRolesGuard implements CanActivate {\n constructor(private readonly reflector: Reflector) {}\n\n canActivate(context: ExecutionContext): boolean {\n const requiredRoles = this.reflector.getAllAndOverride('roles', [\n context.getHandler(),\n context.getClass(),\n ]);\n\n if (!requiredRoles) return true;\n\n const { user }: { user: UserEntity } = context.switchToHttp().getRequest();\n\n return requiredRoles.some((role) =>\n user.roles?.map((role) => role.name).includes(role),\n );\n }\n}\n\n \n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/JwtAuthGuard.html":{"url":"injectables/JwtAuthGuard.html","title":"injectable - JwtAuthGuard","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n JwtAuthGuard\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/guards/jwt-auth.guard.ts\n \n\n\n\n\n\n\n\n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { AuthGuard } from '@nestjs/passport';\n\n@Injectable()\nexport class JwtAuthGuard extends AuthGuard('jwt') {}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/JwtStrategy.html":{"url":"injectables/JwtStrategy.html","title":"injectable - JwtStrategy","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n JwtStrategy\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/strategies/jwt.strategy.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n validate\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(sessionService: SessionsService, usersService: UsersService)\n \n \n \n \n Defined in src/auth/strategies/jwt.strategy.ts:10\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n sessionService\n \n \n SessionsService\n \n \n \n No\n \n \n \n \n usersService\n \n \n UsersService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n validate\n \n \n \n \n \n \n \n validate(request: Request, undefined: literal type)\n \n \n\n\n \n \n Defined in src/auth/strategies/jwt.strategy.ts:23\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n request\n \n Request\n \n\n \n No\n \n\n\n \n \n \n literal type\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { ExtractJwt, Strategy } from 'passport-jwt';\nimport { PassportStrategy } from '@nestjs/passport';\nimport { Injectable, UnauthorizedException } from '@nestjs/common';\nimport { jwtConstants } from 'src/auth/constants';\nimport { SessionsService } from 'src/auth/sessions/sessions.service';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { Request } from 'express';\n\n@Injectable()\nexport class JwtStrategy extends PassportStrategy(Strategy) {\n constructor(\n private sessionService: SessionsService,\n private readonly usersService: UsersService,\n ) {\n super({\n jwtFromRequest: ExtractJwt.fromAuthHeaderAsBearerToken(),\n ignoreExpiration: true,\n secretOrKey: jwtConstants.secret,\n passReqToCallback: true,\n });\n }\n\n async validate(request: Request, { sub: sessionUuid }: { sub: string }) {\n try {\n const session = await this.sessionService.seen(sessionUuid);\n const user = await this.sessionService.getUser(sessionUuid);\n\n if (session) {\n //mencocokan ip client dengan sesi dan memastikan sesi tertaut ke user\n if (session.ip == request.ip && user) {\n // memasang property asctiveSession untuk keperluan logout dll\n Object.assign(request, { activeSession: session });\n\n return user;\n }\n\n // menghapus sesi dari db jika diakses dari ip yang berbeda (kemungkinan token dicuri) atau tidak tertaut ke user\n this.sessionService.remove(sessionUuid);\n }\n } catch {}\n\n throw new UnauthorizedException();\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/LocalAuthGuard.html":{"url":"injectables/LocalAuthGuard.html","title":"injectable - LocalAuthGuard","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n LocalAuthGuard\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/guards/local-auth.guard.ts\n \n\n\n\n\n\n\n\n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { AuthGuard } from '@nestjs/passport';\n\n@Injectable()\nexport class LocalAuthGuard extends AuthGuard('local') {}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/LocalBaseEntity.html":{"url":"classes/LocalBaseEntity.html","title":"class - LocalBaseEntity","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n LocalBaseEntity\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/base-entity.ts\n \n\n\n\n \n Extends\n \n \n CoreBaseEntity\n \n\n\n\n \n Index\n \n \n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n toJson\n \n \n \n \n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(createDto?: CreateDto)\n \n \n \n \n Defined in src/base-entity.ts:3\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n createDto\n \n \n CreateDto\n \n \n \n Yes\n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n toJson\n \n \n\n \n \n gettoJson()\n \n \n \n \n Defined in src/base-entity.ts:10\n \n \n\n \n \n\n \n\n\n \n import { BaseEntity as CoreBaseEntity } from 'typeorm';\n\nclass LocalBaseEntity extends CoreBaseEntity {\n constructor(createDto?: CreateDto) {\n super();\n\n if (createDto) Object.assign(this, createDto);\n }\n\n get toJson(): string {\n return JSON.stringify(this);\n }\n}\n\nexport { LocalBaseEntity as BaseEntity };\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/LocalStrategy.html":{"url":"injectables/LocalStrategy.html","title":"injectable - LocalStrategy","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n LocalStrategy\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/strategies/local.strategy.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n validate\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(usersService: UsersService)\n \n \n \n \n Defined in src/auth/strategies/local.strategy.ts:9\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n usersService\n \n \n UsersService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n validate\n \n \n \n \n \n \n \n validate(username: string, pass: string)\n \n \n\n\n \n \n Defined in src/auth/strategies/local.strategy.ts:14\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n username\n \n string\n \n\n \n No\n \n\n\n \n \n pass\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Strategy } from 'passport-local';\nimport { PassportStrategy } from '@nestjs/passport';\nimport { Injectable, UnauthorizedException } from '@nestjs/common';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { compareSync } from 'bcrypt';\nimport { UserDto } from 'src/auth/users/dto/user.dto';\n\n@Injectable()\nexport class LocalStrategy extends PassportStrategy(Strategy) {\n constructor(private readonly usersService: UsersService) {\n super();\n }\n\n async validate(username: string, pass: string): Promise {\n try {\n const user = await this.usersService.findByUsername(username);\n\n if (user && compareSync(pass, user.password || '')) return user;\n } catch {}\n\n throw new UnauthorizedException();\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/PermissionDto.html":{"url":"classes/PermissionDto.html","title":"class - PermissionDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n PermissionDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/permissions/dto/permission.dto.ts\n \n\n\n\n \n Extends\n \n \n BaseDto\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n name\n \n \n Readonly\n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: 'mencetak surat'})\n \n \n \n \n \n Defined in src/auth/permissions/dto/permission.dto.ts:11\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/permissions/dto/permission.dto.ts:8\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { datatype } from 'faker';\nimport { PermissionEntity } from 'src/auth/permissions/entities/permission.entity';\nimport { BaseDto } from 'src/base-dto';\n\nexport class PermissionDto extends BaseDto {\n @ApiProperty({ example: datatype.uuid() })\n readonly uuid: string;\n\n @ApiProperty({ example: 'mencetak surat' })\n readonly name: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/PermissionEntity.html":{"url":"classes/PermissionEntity.html","title":"class - PermissionEntity","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n PermissionEntity\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/permissions/entities/permission.entity.ts\n \n\n\n\n \n Extends\n \n \n BaseEntity\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n name\n \n \n roles\n \n \n users\n \n \n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column({unique: true})\n \n \n \n \n \n Defined in src/auth/permissions/entities/permission.entity.ts:13\n \n \n\n\n \n \n \n \n \n \n \n \n roles\n \n \n \n \n \n \n Type : RoleEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)\n \n \n \n \n \n Defined in src/auth/permissions/entities/permission.entity.ts:19\n \n \n\n\n \n \n \n \n \n \n \n \n users\n \n \n \n \n \n \n Type : UserEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)\n \n \n \n \n \n Defined in src/auth/permissions/entities/permission.entity.ts:16\n \n \n\n\n \n \n \n \n \n \n \n \n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @PrimaryGeneratedColumn('uuid')\n \n \n \n \n \n Defined in src/auth/permissions/entities/permission.entity.ts:10\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { BaseEntity } from 'src/base-entity';\nimport { UserEntity } from 'src/auth/users/entities/user.entity';\nimport { Column, Entity, ManyToMany, PrimaryGeneratedColumn } from 'typeorm';\nimport { CreatePermissionDto } from '../dto/create-permission.dto';\nimport { RoleEntity } from 'src/auth/roles/entities/role.entity';\n\n@Entity({ name: 'auth_permissions' })\nexport class PermissionEntity extends BaseEntity {\n @PrimaryGeneratedColumn('uuid')\n uuid: string;\n\n @Column({ unique: true })\n name: string;\n\n @ManyToMany(() => UserEntity, (user) => user.permissions)\n users: UserEntity[];\n\n @ManyToMany(() => RoleEntity, (role) => role.permissions)\n roles: RoleEntity[];\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"controllers/PermissionsApiController.html":{"url":"controllers/PermissionsApiController.html","title":"controller - PermissionsApiController","body":"\n \n\n\n\n\n\n\n Controllers\n PermissionsApiController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/api/controllers/permissions.controller.ts\n \n\n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n create\n \n \n Async\n delete\n \n \n Async\n get\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(userUuid: string, data: CreatePermissionDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Post()\n \n \n\n \n \n Defined in src/http/api/controllers/permissions.controller.ts:45\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n CreatePermissionDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n delete\n \n \n \n \n \n \n \n delete(userUuid: string, uuid: string)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Delete(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/permissions.controller.ts:92\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n get\n \n \n \n \n \n \n \n get(name: string)\n \n \n\n \n \n Decorators : \n \n @Get(':name')\n \n \n\n \n \n Defined in src/http/api/controllers/permissions.controller.ts:29\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n name\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(userUuid: string, uuid: string, data: UpdatePermissionDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Patch(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/permissions.controller.ts:63\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n UpdatePermissionDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n\n\n \n import {\n Body,\n Controller,\n Delete,\n ForbiddenException,\n Get,\n NotFoundException,\n Param,\n Patch,\n Post,\n UseGuards,\n} from '@nestjs/common';\nimport { JwtAuthGuard } from 'src/http/guards/jwt-auth.guard';\nimport { CreatePermissionDto } from 'src/auth/permissions/dto/create-permission.dto';\nimport { UpdatePermissionDto } from 'src/auth/permissions/dto/update-permission.dto';\nimport { PermissionsService } from 'src/auth/permissions/permissions.service';\nimport { User } from 'src/http/decorators/user.decorator';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { EntityNotFoundError } from 'typeorm';\n\n@Controller({ version: '1', path: 'permissions' })\nexport class PermissionsApiController {\n constructor(\n private readonly permissionsService: PermissionsService,\n private readonly usersService: UsersService,\n ) {}\n\n @Get(':name')\n async get(@Param('name') name: string) {\n try {\n const permission = await this.permissionsService.findByName(name);\n\n return permission;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n @UseGuards(JwtAuthGuard)\n @Post()\n async create(\n @User('uuid') userUuid: string,\n @Body() data: CreatePermissionDto,\n ) {\n const createable = await this.usersService.userCan(\n userUuid,\n 'create permission',\n );\n\n if (createable) return await this.permissionsService.create(data);\n\n throw new ForbiddenException(\n 'You dont have permissions to create new permission',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Patch(':uuid')\n async update(\n @User('uuid') userUuid: string,\n @Param('uuid') uuid: string,\n @Body() data: UpdatePermissionDto,\n ) {\n const updateable = await this.usersService.userCan(\n userUuid,\n 'update permission',\n );\n\n if (updateable || userUuid == uuid) {\n try {\n return await this.permissionsService.update(uuid, data);\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to update this permission',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Delete(':uuid')\n async delete(@User('uuid') userUuid: string, @Param('uuid') uuid: string) {\n const deletable = this.usersService.userCan(userUuid, 'delete permission');\n\n if (deletable && userUuid != uuid) {\n try {\n return await this.permissionsService.remove(uuid);\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to delete this permission',\n );\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/PermissionsModule.html":{"url":"modules/PermissionsModule.html","title":"module - PermissionsModule","body":"\n \n\n\n\n\n Modules\n PermissionsModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_PermissionsModule\n\n\n\ncluster_PermissionsModule_providers\n\n\n\ncluster_PermissionsModule_exports\n\n\n\n\nPermissionsService \n\nPermissionsService \n\n\n\nPermissionsModule\n\nPermissionsModule\n\nPermissionsService -->\n\nPermissionsModule->PermissionsService \n\n\n\n\n\nPermissionsService\n\nPermissionsService\n\nPermissionsModule -->\n\nPermissionsService->PermissionsModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/auth/permissions/permissions.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n PermissionsService\n \n \n \n \n Exports\n \n \n PermissionsService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { TypeOrmModule } from '@nestjs/typeorm';\nimport { PermissionEntity } from './entities/permission.entity';\nimport { PermissionsService } from './permissions.service';\n\n@Module({\n imports: [TypeOrmModule.forFeature([PermissionEntity])],\n providers: [PermissionsService],\n exports: [PermissionsService],\n})\nexport class PermissionsModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/PermissionsService.html":{"url":"injectables/PermissionsService.html","title":"injectable - PermissionsService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n PermissionsService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/permissions/permissions.service.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n create\n \n \n findAll\n \n \n Async\n findByName\n \n \n Async\n findOne\n \n \n Async\n remove\n \n \n Async\n removeByName\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(permissionRepository: Repository)\n \n \n \n \n Defined in src/auth/permissions/permissions.service.ts:9\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n permissionRepository\n \n \n Repository\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n create\n \n \n \n \n \n \ncreate(createPermissionDto: CreatePermissionDto)\n \n \n\n\n \n \n Defined in src/auth/permissions/permissions.service.ts:15\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n createPermissionDto\n \n CreatePermissionDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n findAll\n \n \n \n \n \n \nfindAll()\n \n \n\n\n \n \n Defined in src/auth/permissions/permissions.service.ts:21\n \n \n\n\n \n \n\n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n Async\n findByName\n \n \n \n \n \n \n \n findByName(name: string)\n \n \n\n\n \n \n Defined in src/auth/permissions/permissions.service.ts:29\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n name\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n findOne\n \n \n \n \n \n \n \n findOne(uuid: string)\n \n \n\n\n \n \n Defined in src/auth/permissions/permissions.service.ts:25\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n remove\n \n \n \n \n \n \n \n remove(uuid: string)\n \n \n\n\n \n \n Defined in src/auth/permissions/permissions.service.ts:41\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n removeByName\n \n \n \n \n \n \n \n removeByName(name: string)\n \n \n\n\n \n \n Defined in src/auth/permissions/permissions.service.ts:45\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n name\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(uuid: string, updatePermissionDto: UpdatePermissionDto)\n \n \n\n\n \n \n Defined in src/auth/permissions/permissions.service.ts:33\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n updatePermissionDto\n \n UpdatePermissionDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { InjectRepository } from '@nestjs/typeorm';\nimport { Repository } from 'typeorm';\nimport { CreatePermissionDto } from './dto/create-permission.dto';\nimport { UpdatePermissionDto } from './dto/update-permission.dto';\nimport { PermissionEntity } from './entities/permission.entity';\n\n@Injectable()\nexport class PermissionsService {\n constructor(\n @InjectRepository(PermissionEntity)\n private readonly permissionRepository: Repository,\n ) {}\n\n create(createPermissionDto: CreatePermissionDto) {\n const permission = new PermissionEntity(createPermissionDto);\n\n return this.permissionRepository.save(permission);\n }\n\n findAll() {\n return this.permissionRepository.find();\n }\n\n async findOne(uuid: string) {\n return await this.permissionRepository.findOneOrFail(uuid);\n }\n\n async findByName(name: string) {\n return await this.permissionRepository.findOneOrFail({ name });\n }\n\n async update(uuid: string, updatePermissionDto: UpdatePermissionDto) {\n const permission = await this.findOne(uuid);\n\n Object.assign(permission, updatePermissionDto);\n\n return this.permissionRepository.save(permission);\n }\n\n async remove(uuid: string): Promise {\n return this.permissionRepository.remove(await this.findOne(uuid));\n }\n\n async removeByName(name: string): Promise {\n return this.permissionRepository.remove(await this.findByName(name));\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/RoleDto.html":{"url":"classes/RoleDto.html","title":"class - RoleDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n RoleDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/roles/dto/role.dto.ts\n \n\n\n\n \n Extends\n \n \n BaseDto\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n name\n \n \n Readonly\n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(data: RoleEntity)\n \n \n \n \n Defined in src/auth/roles/dto/role.dto.ts:7\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n data\n \n \n RoleEntity\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: 'operator'})\n \n \n \n \n \n Defined in src/auth/roles/dto/role.dto.ts:23\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/roles/dto/role.dto.ts:20\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { datatype } from 'faker';\nimport { PermissionDto } from 'src/auth/permissions/dto/permission.dto';\nimport { BaseDto } from 'src/base-dto';\nimport { RoleEntity } from '../entities/role.entity';\n\nexport class RoleDto extends BaseDto {\n constructor(data: RoleEntity) {\n super(data);\n\n if (data.permissions)\n Object.assign(this, {\n permissions: data.permissions.map(\n (permission) => new PermissionDto(permission),\n ),\n });\n }\n\n @ApiProperty({ example: datatype.uuid() })\n readonly uuid: string;\n\n @ApiProperty({ example: 'operator' })\n readonly name: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/RoleEntity.html":{"url":"classes/RoleEntity.html","title":"class - RoleEntity","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n RoleEntity\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/roles/entities/role.entity.ts\n \n\n\n\n \n Extends\n \n \n BaseEntity\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n name\n \n \n permissions\n \n \n users\n \n \n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column({unique: true})\n \n \n \n \n \n Defined in src/auth/roles/entities/role.entity.ts:19\n \n \n\n\n \n \n \n \n \n \n \n \n permissions\n \n \n \n \n \n \n Type : PermissionEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)@JoinTable()\n \n \n \n \n \n Defined in src/auth/roles/entities/role.entity.ts:26\n \n \n\n\n \n \n \n \n \n \n \n \n users\n \n \n \n \n \n \n Type : UserEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)\n \n \n \n \n \n Defined in src/auth/roles/entities/role.entity.ts:22\n \n \n\n\n \n \n \n \n \n \n \n \n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @PrimaryGeneratedColumn('uuid')\n \n \n \n \n \n Defined in src/auth/roles/entities/role.entity.ts:16\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { BaseEntity } from 'src/base-entity';\nimport { PermissionEntity } from 'src/auth/permissions/entities/permission.entity';\nimport { UserEntity } from 'src/auth/users/entities/user.entity';\nimport {\n Column,\n Entity,\n JoinTable,\n ManyToMany,\n PrimaryGeneratedColumn,\n} from 'typeorm';\nimport { CreateRoleDto } from '../dto/create-role.dto';\n\n@Entity({ name: 'auth_roles' })\nexport class RoleEntity extends BaseEntity {\n @PrimaryGeneratedColumn('uuid')\n uuid: string;\n\n @Column({ unique: true })\n name: string;\n\n @ManyToMany(() => UserEntity, (user) => user.roles)\n users: UserEntity[];\n\n @ManyToMany(() => PermissionEntity, (permission) => permission.roles)\n @JoinTable()\n permissions: PermissionEntity[];\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"controllers/RolesApiController.html":{"url":"controllers/RolesApiController.html","title":"controller - RolesApiController","body":"\n \n\n\n\n\n\n\n Controllers\n RolesApiController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/api/controllers/roles.controller.ts\n \n\n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n create\n \n \n Async\n delete\n \n \n Async\n get\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(userUuid: string, data: CreateRoleDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Post()\n \n \n\n \n \n Defined in src/http/api/controllers/roles.controller.ts:45\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n CreateRoleDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n delete\n \n \n \n \n \n \n \n delete(userUuid: string, uuid: string)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Delete(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/roles.controller.ts:83\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n get\n \n \n \n \n \n \n \n get(name: string)\n \n \n\n \n \n Decorators : \n \n @Get(':name')\n \n \n\n \n \n Defined in src/http/api/controllers/roles.controller.ts:29\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n name\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(userUuid: string, uuid: string, data: UpdateRoleDto)\n \n \n\n \n \n Decorators : \n \n @UseGuards(JwtAuthGuard)@Patch(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/roles.controller.ts:57\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n UpdateRoleDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n\n\n \n import {\n Body,\n Controller,\n Delete,\n ForbiddenException,\n Get,\n NotFoundException,\n Param,\n Patch,\n Post,\n UseGuards,\n} from '@nestjs/common';\nimport { JwtAuthGuard } from 'src/http/guards/jwt-auth.guard';\nimport { CreateRoleDto } from 'src/auth/roles/dto/create-role.dto';\nimport { UpdateRoleDto } from 'src/auth/roles/dto/update-role.dto';\nimport { RolesService } from 'src/auth/roles/roles.service';\nimport { User } from 'src/http/decorators/user.decorator';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { EntityNotFoundError } from 'typeorm';\n\n@Controller({ version: '1', path: 'roles' })\nexport class RolesApiController {\n constructor(\n private readonly rolesService: RolesService,\n private readonly usersService: UsersService,\n ) {}\n\n @Get(':name')\n async get(@Param('name') name: string) {\n try {\n const role = await this.rolesService.findByName(name);\n\n return role;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n @UseGuards(JwtAuthGuard)\n @Post()\n async create(@User('uuid') userUuid: string, @Body() data: CreateRoleDto) {\n const createable = await this.usersService.userCan(userUuid, 'create role');\n\n if (createable) return await this.rolesService.create(data);\n\n throw new ForbiddenException(\n 'You dont have permissions to create new role',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Patch(':uuid')\n async update(\n @User('uuid') userUuid: string,\n @Param('uuid') uuid: string,\n @Body() data: UpdateRoleDto,\n ) {\n const updateable = await this.usersService.userCan(userUuid, 'update role');\n\n if (updateable || userUuid == uuid) {\n try {\n return await this.rolesService.update(uuid, data);\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to update this role',\n );\n }\n\n @UseGuards(JwtAuthGuard)\n @Delete(':uuid')\n async delete(@User('uuid') userUuid: string, @Param('uuid') uuid: string) {\n const deletable = this.usersService.userCan(userUuid, 'delete role');\n\n if (deletable && userUuid != uuid) {\n try {\n return await this.rolesService.remove(uuid);\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to delete this role',\n );\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/RolesModule.html":{"url":"modules/RolesModule.html","title":"module - RolesModule","body":"\n \n\n\n\n\n Modules\n RolesModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_RolesModule\n\n\n\ncluster_RolesModule_exports\n\n\n\ncluster_RolesModule_providers\n\n\n\n\nRolesService \n\nRolesService \n\n\n\nRolesModule\n\nRolesModule\n\nRolesService -->\n\nRolesModule->RolesService \n\n\n\n\n\nRolesService\n\nRolesService\n\nRolesModule -->\n\nRolesService->RolesModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/auth/roles/roles.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n RolesService\n \n \n \n \n Exports\n \n \n RolesService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { TypeOrmModule } from '@nestjs/typeorm';\nimport { RoleEntity } from './entities/role.entity';\nimport { RolesService } from './roles.service';\n\n@Module({\n imports: [TypeOrmModule.forFeature([RoleEntity])],\n providers: [RolesService],\n exports: [RolesService],\n})\nexport class RolesModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/RolesService.html":{"url":"injectables/RolesService.html","title":"injectable - RolesService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n RolesService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/roles/roles.service.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n attachPermissions\n \n \n create\n \n \n Async\n detachPermissions\n \n \n findAll\n \n \n findByName\n \n \n findOne\n \n \n Async\n remove\n \n \n Async\n removeByName\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(roleRepository: Repository)\n \n \n \n \n Defined in src/auth/roles/roles.service.ts:10\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n roleRepository\n \n \n Repository\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n attachPermissions\n \n \n \n \n \n \n \n attachPermissions(uuid: string, permissions: PermissionEntity[])\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:51\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n permissions\n \n PermissionEntity[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n create\n \n \n \n \n \n \ncreate(createRoleDto: CreateRoleDto)\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:16\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n createRoleDto\n \n CreateRoleDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n detachPermissions\n \n \n \n \n \n \n \n detachPermissions(uuid: string, permissions: string[])\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:59\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n permissions\n \n string[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n findAll\n \n \n \n \n \n \nfindAll()\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:20\n \n \n\n\n \n \n\n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n findByName\n \n \n \n \n \n \nfindByName(name: string, options?: FindOneOptions)\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:28\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n name\n \n string\n \n\n \n No\n \n\n\n \n \n options\n \n FindOneOptions\n \n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n findOne\n \n \n \n \n \n \nfindOne(uuid: string, options?: FindOneOptions)\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:24\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n options\n \n FindOneOptions\n \n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n remove\n \n \n \n \n \n \n \n remove(uuid: string)\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:43\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n removeByName\n \n \n \n \n \n \n \n removeByName(name: string)\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:47\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n name\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(role: string | RoleEntity, updateRoleDto: UpdateRoleDto)\n \n \n\n\n \n \n Defined in src/auth/roles/roles.service.ts:32\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n role\n \n string | RoleEntity\n \n\n \n No\n \n\n\n \n \n updateRoleDto\n \n UpdateRoleDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { InjectRepository } from '@nestjs/typeorm';\nimport { FindOneOptions, Repository } from 'typeorm';\nimport { PermissionEntity } from '../permissions/entities/permission.entity';\nimport { CreateRoleDto } from './dto/create-role.dto';\nimport { UpdateRoleDto } from './dto/update-role.dto';\nimport { RoleEntity } from './entities/role.entity';\n\n@Injectable()\nexport class RolesService {\n constructor(\n @InjectRepository(RoleEntity)\n private readonly roleRepository: Repository,\n ) {}\n\n create(createRoleDto: CreateRoleDto) {\n return this.roleRepository.save(new RoleEntity(createRoleDto));\n }\n\n findAll() {\n return this.roleRepository.find();\n }\n\n findOne(uuid: string, options?: FindOneOptions) {\n return this.roleRepository.findOneOrFail(uuid, options);\n }\n\n findByName(name: string, options?: FindOneOptions) {\n return this.roleRepository.findOneOrFail({ name }, options);\n }\n\n async update(\n role: string | RoleEntity,\n updateRoleDto: UpdateRoleDto,\n ): Promise {\n if (typeof role == 'string') {\n role = await this.findOne(role);\n }\n\n return this.roleRepository.save({ ...role, ...updateRoleDto });\n }\n\n async remove(uuid: string): Promise {\n return this.roleRepository.remove(await this.findOne(uuid));\n }\n\n async removeByName(name: string): Promise {\n return this.roleRepository.remove(await this.findByName(name));\n }\n\n async attachPermissions(uuid: string, permissions: PermissionEntity[]) {\n const role = await this.findOne(uuid, { relations: ['permissions'] });\n\n return this.update(uuid, {\n permissions: [...role.permissions, ...permissions],\n });\n }\n\n async detachPermissions(uuid: string, permissions: string[]) {\n const role = await this.findOne(uuid, { relations: ['permissions'] });\n const deta = role.permissions.filter((e) => !permissions.includes(e.name));\n\n return this.update(role, { permissions: deta });\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/SessionDto.html":{"url":"classes/SessionDto.html","title":"class - SessionDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n SessionDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/sessions/dto/session.dto.ts\n \n\n\n\n \n Extends\n \n \n BaseDto\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n device\n \n \n Readonly\n ip\n \n \n Readonly\n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(data: SessionEntity)\n \n \n \n \n Defined in src/auth/sessions/dto/session.dto.ts:7\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n data\n \n \n SessionEntity\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n device\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/sessions/dto/session.dto.ts:17\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n ip\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/sessions/dto/session.dto.ts:20\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/sessions/dto/session.dto.ts:14\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { datatype, internet } from 'faker';\nimport { UserDto } from 'src/auth/users/dto/user.dto';\nimport { BaseDto } from 'src/base-dto';\nimport { SessionEntity } from '../entities/session.entity';\n\nexport class SessionDto extends BaseDto {\n constructor(data: SessionEntity) {\n super(data);\n\n if (data.user) Object.assign(this, { user: new UserDto(data.user) });\n }\n @ApiProperty({ example: datatype.uuid() })\n readonly uuid: string;\n\n @ApiProperty({ example: internet.userAgent() })\n readonly device: string;\n\n @ApiProperty({ example: internet.ipv6() + '::' + internet.ip() })\n readonly ip: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/SessionEntity.html":{"url":"classes/SessionEntity.html","title":"class - SessionEntity","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n SessionEntity\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/sessions/entities/session.entity.ts\n \n\n\n\n \n Extends\n \n \n BaseEntity\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n createdAt\n \n \n device\n \n \n ip\n \n \n lastSeen\n \n \n user\n \n \n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n createdAt\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @Column({default: undefined})\n \n \n \n \n \n Defined in src/auth/sessions/entities/session.entity.ts:22\n \n \n\n\n \n \n \n \n \n \n \n \n device\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column()\n \n \n \n \n \n Defined in src/auth/sessions/entities/session.entity.ts:13\n \n \n\n\n \n \n \n \n \n \n \n \n ip\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column()\n \n \n \n \n \n Defined in src/auth/sessions/entities/session.entity.ts:16\n \n \n\n\n \n \n \n \n \n \n \n \n lastSeen\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @Column({default: undefined})\n \n \n \n \n \n Defined in src/auth/sessions/entities/session.entity.ts:25\n \n \n\n\n \n \n \n \n \n \n \n \n user\n \n \n \n \n \n \n Type : UserEntity\n\n \n \n \n \n Decorators : \n \n \n @ManyToOne(undefined, undefined)\n \n \n \n \n \n Defined in src/auth/sessions/entities/session.entity.ts:19\n \n \n\n\n \n \n \n \n \n \n \n \n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @PrimaryGeneratedColumn('uuid')\n \n \n \n \n \n Defined in src/auth/sessions/entities/session.entity.ts:10\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { BaseEntity } from 'src/base-entity';\nimport { UserEntity } from 'src/auth/users/entities/user.entity';\nimport { Entity, Column, PrimaryGeneratedColumn, ManyToOne } from 'typeorm';\nimport { CreateSessionDto } from '../dto/create-session.dto';\n\n@Entity({ name: 'auth_sessions' })\nexport class SessionEntity extends BaseEntity {\n @PrimaryGeneratedColumn('uuid')\n uuid: string;\n\n @Column()\n device: string;\n\n @Column()\n ip: string;\n\n @ManyToOne(() => UserEntity, (user) => user.sessions)\n user: UserEntity;\n\n @Column({ default: () => 'CURRENT_TIMESTAMP' })\n createdAt: Date;\n\n @Column({ default: () => 'CURRENT_TIMESTAMP' })\n lastSeen: Date;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/SessionsModule.html":{"url":"modules/SessionsModule.html","title":"module - SessionsModule","body":"\n \n\n\n\n\n Modules\n SessionsModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_SessionsModule\n\n\n\ncluster_SessionsModule_exports\n\n\n\ncluster_SessionsModule_providers\n\n\n\n\nSessionsService \n\nSessionsService \n\n\n\nSessionsModule\n\nSessionsModule\n\nSessionsService -->\n\nSessionsModule->SessionsService \n\n\n\n\n\nSessionsService\n\nSessionsService\n\nSessionsModule -->\n\nSessionsService->SessionsModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/auth/sessions/sessions.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n SessionsService\n \n \n \n \n Exports\n \n \n SessionsService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { SessionsService } from './sessions.service';\nimport { SessionEntity } from './entities/session.entity';\nimport { TypeOrmModule } from '@nestjs/typeorm';\n\n@Module({\n imports: [TypeOrmModule.forFeature([SessionEntity])],\n providers: [SessionsService],\n exports: [SessionsService],\n})\nexport class SessionsModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/SessionsService.html":{"url":"injectables/SessionsService.html","title":"injectable - SessionsService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n SessionsService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/sessions/sessions.service.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n create\n \n \n findAll\n \n \n Async\n findOne\n \n \n Async\n getUser\n \n \n Async\n remove\n \n \n Async\n seen\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(sessionRepository: Repository)\n \n \n \n \n Defined in src/auth/sessions/sessions.service.ts:11\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n sessionRepository\n \n \n Repository\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(createSessionDto: CreateSessionDto)\n \n \n\n\n \n \n Defined in src/auth/sessions/sessions.service.ts:17\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n createSessionDto\n \n CreateSessionDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n findAll\n \n \n \n \n \n \nfindAll()\n \n \n\n\n \n \n Defined in src/auth/sessions/sessions.service.ts:25\n \n \n\n\n \n \n\n \n Returns : string\n\n \n \n \n \n \n \n \n \n \n \n \n Async\n findOne\n \n \n \n \n \n \n \n findOne(uuid: string, options?: FindOneOptions)\n \n \n\n\n \n \n Defined in src/auth/sessions/sessions.service.ts:29\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n options\n \n FindOneOptions\n \n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n getUser\n \n \n \n \n \n \n \n getUser(uuid: string)\n \n \n\n\n \n \n Defined in src/auth/sessions/sessions.service.ts:35\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n remove\n \n \n \n \n \n \n \n remove(uuid: string)\n \n \n\n\n \n \n Defined in src/auth/sessions/sessions.service.ts:60\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n seen\n \n \n \n \n \n \n \n seen(uuid: string)\n \n \n\n\n \n \n Defined in src/auth/sessions/sessions.service.ts:43\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(uuid: string, updateSessionDto: UpdateSessionDto)\n \n \n\n\n \n \n Defined in src/auth/sessions/sessions.service.ts:47\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n updateSessionDto\n \n UpdateSessionDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\nimport { InjectRepository } from '@nestjs/typeorm';\nimport { FindOneOptions, Repository } from 'typeorm';\nimport { UserDto } from '../users/dto/user.dto';\nimport { CreateSessionDto } from './dto/create-session.dto';\nimport { SessionDto } from './dto/session.dto';\nimport { UpdateSessionDto } from './dto/update-session.dto';\nimport { SessionEntity } from './entities/session.entity';\n\n@Injectable()\nexport class SessionsService {\n constructor(\n @InjectRepository(SessionEntity)\n private sessionRepository: Repository,\n ) {}\n\n async create(createSessionDto: CreateSessionDto): Promise {\n const session = await this.sessionRepository.save(\n new SessionEntity(createSessionDto),\n );\n\n return new SessionDto(session);\n }\n\n findAll() {\n return `This action returns all sessions`;\n }\n\n async findOne(uuid: string, options?: FindOneOptions) {\n const session = await this.sessionRepository.findOneOrFail(uuid, options);\n\n return new SessionDto(session);\n }\n\n async getUser(uuid: string): Promise {\n const session = await this.sessionRepository.findOneOrFail(uuid, {\n relations: ['user'],\n });\n\n return (session.user && new UserDto(session.user)) || null;\n }\n\n async seen(uuid: string): Promise {\n return this.update(uuid, { lastSeen: new Date() });\n }\n\n async update(\n uuid: string,\n updateSessionDto: UpdateSessionDto,\n ): Promise {\n const session = await this.sessionRepository.findOneOrFail(uuid);\n\n Object.assign(session, updateSessionDto);\n\n return this.sessionRepository\n .save(session)\n .then((session) => new SessionDto(session));\n }\n\n async remove(uuid: string) {\n return this.sessionRepository\n .remove(await this.sessionRepository.findOneOrFail(uuid))\n .then((session) => new SessionDto(session));\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/SuratModule.html":{"url":"modules/SuratModule.html","title":"module - SuratModule","body":"\n \n\n\n\n\n Modules\n SuratModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_SuratModule\n\n\n\ncluster_SuratModule_providers\n\n\n\n\nSuratService\n\nSuratService\n\n\n\nSuratModule\n\nSuratModule\n\nSuratModule -->\n\nSuratService->SuratModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/pdd/surat/surat.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n SuratService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { SuratService } from './surat.service';\n\n@Module({\n providers: [SuratService],\n})\nexport class SuratModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/SuratService.html":{"url":"injectables/SuratService.html","title":"injectable - SuratService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n SuratService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/pdd/surat/surat.service.ts\n \n\n\n\n\n\n\n\n\n\n \n\n\n \n import { Injectable } from '@nestjs/common';\n\n@Injectable()\nexport class SuratService {}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UpdateArticleDto.html":{"url":"classes/UpdateArticleDto.html","title":"class - UpdateArticleDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UpdateArticleDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/articles/dto/update-article.dto.ts\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n \n import { PartialType } from '@nestjs/mapped-types';\nimport { CreateArticleDto } from './create-article.dto';\n\nexport class UpdateArticleDto extends PartialType(CreateArticleDto) {}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UpdateCategoryDto.html":{"url":"classes/UpdateCategoryDto.html","title":"class - UpdateCategoryDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UpdateCategoryDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/article/categories/dto/update-category.dto.ts\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n \n import { PartialType } from '@nestjs/mapped-types';\nimport { CreateCategoryDto } from './create-category.dto';\n\nexport class UpdateCategoryDto extends PartialType(CreateCategoryDto) {}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UpdatePermissionDto.html":{"url":"classes/UpdatePermissionDto.html","title":"class - UpdatePermissionDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UpdatePermissionDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/permissions/dto/update-permission.dto.ts\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n \n import { PartialType } from '@nestjs/mapped-types';\nimport { CreatePermissionDto } from './create-permission.dto';\n\nexport class UpdatePermissionDto extends PartialType(CreatePermissionDto) {}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UpdateRoleDto.html":{"url":"classes/UpdateRoleDto.html","title":"class - UpdateRoleDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UpdateRoleDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/roles/dto/update-role.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Optional\n permissions\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Optional\n permissions\n \n \n \n \n \n \n Type : PermissionEntity[]\n\n \n \n \n \n Decorators : \n \n \n @Type(undefined)\n \n \n \n \n \n Defined in src/auth/roles/dto/update-role.dto.ts:9\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { PartialType } from '@nestjs/mapped-types';\nimport { PermissionEntity } from 'src/auth/permissions/entities/permission.entity';\nimport { CreateRoleDto } from './create-role.dto';\nimport { Type } from 'class-transformer';\nimport { PermissionDto } from 'src/auth/permissions/dto/permission.dto';\n\nexport class UpdateRoleDto extends PartialType(CreateRoleDto) {\n @Type(() => PermissionDto)\n permissions?: PermissionEntity[];\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UpdateSessionDto.html":{"url":"classes/UpdateSessionDto.html","title":"class - UpdateSessionDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UpdateSessionDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/sessions/dto/update-session.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n lastSeen\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n lastSeen\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty()@IsDate()@IsNotEmpty()\n \n \n \n \n \n Defined in src/auth/sessions/dto/update-session.dto.ts:10\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { IsNotEmpty, IsDate } from 'class-validator';\nimport { PartialType } from '@nestjs/mapped-types';\nimport { CreateSessionDto } from './create-session.dto';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class UpdateSessionDto extends PartialType(CreateSessionDto) {\n @ApiProperty()\n @IsDate()\n @IsNotEmpty()\n readonly lastSeen: Date;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UpdateUserDto.html":{"url":"classes/UpdateUserDto.html","title":"class - UpdateUserDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UpdateUserDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/users/dto/update-user.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n Optional\n password\n \n \n Optional\n permissions\n \n \n Optional\n roles\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n Optional\n password\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @IsNotEmpty()@IsString()\n \n \n \n \n \n Defined in src/auth/users/dto/update-user.dto.ts:11\n \n \n\n\n \n \n \n \n \n \n \n \n Optional\n permissions\n \n \n \n \n \n \n Type : PermissionEntity[]\n\n \n \n \n \n Decorators : \n \n \n @Type(undefined)\n \n \n \n \n \n Defined in src/auth/users/dto/update-user.dto.ts:14\n \n \n\n\n \n \n \n \n \n \n \n \n Optional\n roles\n \n \n \n \n \n \n Type : RoleEntity[]\n\n \n \n \n \n Decorators : \n \n \n @Type(undefined)\n \n \n \n \n \n Defined in src/auth/users/dto/update-user.dto.ts:17\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { PartialType } from '@nestjs/mapped-types';\nimport { CreateUserDto } from './create-user.dto';\nimport { IsNotEmpty, IsString } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { PermissionEntity } from 'src/auth/permissions/entities/permission.entity';\nimport { RoleEntity } from 'src/auth/roles/entities/role.entity';\n\nexport class UpdateUserDto extends PartialType(CreateUserDto) {\n @IsNotEmpty()\n @IsString()\n readonly password?: string;\n\n @Type(() => PermissionEntity)\n permissions?: PermissionEntity[];\n\n @Type(() => RoleEntity)\n roles?: RoleEntity[];\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UpdateUserRequestDto.html":{"url":"classes/UpdateUserRequestDto.html","title":"class - UpdateUserRequestDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UpdateUserRequestDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/users/dto/update-user-request.dto.ts\n \n\n\n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n currentPassword\n \n \n \n \n\n\n\n\n\n\n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n currentPassword\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: fakerGeneratedPassword, description: 'kata sandi saat ini'})@IsNotEmpty()@IsString()\n \n \n \n \n \n Defined in src/auth/users/dto/update-user-request.dto.ts:17\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n\n\n \n import { PartialType } from '@nestjs/mapped-types';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { IsNotEmpty, IsString } from 'class-validator';\nimport { datatype } from 'faker';\nimport {\n CreateUserRequestDto,\n fakerGeneratedPassword,\n} from './create-user-request.dto';\n\nexport class UpdateUserRequestDto extends PartialType(CreateUserRequestDto) {\n @ApiProperty({\n example: fakerGeneratedPassword,\n description: 'kata sandi saat ini',\n })\n @IsNotEmpty()\n @IsString()\n readonly currentPassword: string;\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UserDto.html":{"url":"classes/UserDto.html","title":"class - UserDto","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UserDto\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/users/dto/user.dto.ts\n \n\n\n\n \n Extends\n \n \n BaseDto\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Readonly\n createdAt\n \n \n Readonly\n email\n \n \n Readonly\n name\n \n \n Readonly\n Optional\n password\n \n \n Readonly\n updatedAt\n \n \n Readonly\n username\n \n \n Readonly\n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n noPassword\n \n \n \n \n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n Readonly\n createdAt\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'tanggal pembuatan akun'})\n \n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:26\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n email\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'alamat email pemilik akun'})\n \n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:20\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'nama lengkap pemilik akun'})\n \n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:14\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n Optional\n password\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:34\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n updatedAt\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'tanggal terakhir diupdate'})\n \n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:32\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n username\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined, description: 'nama pengguna'})\n \n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:23\n \n \n\n\n \n \n \n \n \n \n \n \n Readonly\n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @ApiProperty({example: undefined})\n \n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:8\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n noPassword\n \n \n\n \n \n getnoPassword()\n \n \n \n \n Defined in src/auth/users/dto/user.dto.ts:36\n \n \n\n \n \n\n \n\n\n \n import { ApiProperty } from '@nestjs/swagger';\nimport { datatype, date, internet, name } from 'faker';\nimport { BaseDto } from 'src/base-dto';\nimport { UserEntity } from '../entities/user.entity';\n\nexport class UserDto extends BaseDto {\n @ApiProperty({ example: datatype.uuid() })\n readonly uuid: string;\n\n @ApiProperty({\n example: name.firstName() + ' ' + name.lastName(),\n description: 'nama lengkap pemilik akun',\n })\n readonly name: string;\n\n @ApiProperty({\n example: internet.email(),\n description: 'alamat email pemilik akun',\n })\n readonly email: string;\n\n @ApiProperty({ example: internet.userName(), description: 'nama pengguna' })\n readonly username: string;\n\n @ApiProperty({ example: date.past(), description: 'tanggal pembuatan akun' })\n readonly createdAt: string;\n\n @ApiProperty({\n example: date.past(),\n description: 'tanggal terakhir diupdate',\n })\n readonly updatedAt: string;\n\n readonly password?: string;\n\n get noPassword(): UserDto {\n return { ...this, password: undefined };\n }\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/UserEntity.html":{"url":"classes/UserEntity.html","title":"class - UserEntity","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n UserEntity\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/users/entities/user.entity.ts\n \n\n\n\n \n Extends\n \n \n BaseEntity\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n articles\n \n \n createdAt\n \n \n email\n \n \n name\n \n \n password\n \n \n permissions\n \n \n roles\n \n \n sessions\n \n \n updatedAt\n \n \n username\n \n \n uuid\n \n \n \n \n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n noPassword\n \n \n \n \n \n \n\n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n articles\n \n \n \n \n \n \n Type : ArticleEntity[]\n\n \n \n \n \n Decorators : \n \n \n @OneToMany(undefined, undefined)\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:43\n \n \n\n\n \n \n \n \n \n \n \n \n createdAt\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @Column({default: undefined})\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:37\n \n \n\n\n \n \n \n \n \n \n \n \n email\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column({unique: true})\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:25\n \n \n\n\n \n \n \n \n \n \n \n \n name\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column()\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:22\n \n \n\n\n \n \n \n \n \n \n \n \n password\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column()\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:31\n \n \n\n\n \n \n \n \n \n \n \n \n permissions\n \n \n \n \n \n \n Type : PermissionEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)@JoinTable()\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:47\n \n \n\n\n \n \n \n \n \n \n \n \n roles\n \n \n \n \n \n \n Type : RoleEntity[]\n\n \n \n \n \n Decorators : \n \n \n @ManyToMany(undefined, undefined)@JoinTable()\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:51\n \n \n\n\n \n \n \n \n \n \n \n \n sessions\n \n \n \n \n \n \n Type : SessionEntity[]\n\n \n \n \n \n Decorators : \n \n \n @OneToMany(undefined, undefined)\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:34\n \n \n\n\n \n \n \n \n \n \n \n \n updatedAt\n \n \n \n \n \n \n Type : Date\n\n \n \n \n \n Decorators : \n \n \n @Column({nullable: true})\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:40\n \n \n\n\n \n \n \n \n \n \n \n \n username\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @Column({unique: true})\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:28\n \n \n\n\n \n \n \n \n \n \n \n \n uuid\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Decorators : \n \n \n @PrimaryGeneratedColumn('uuid')\n \n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:19\n \n \n\n\n \n \n\n\n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n noPassword\n \n \n\n \n \n getnoPassword()\n \n \n \n \n Defined in src/auth/users/entities/user.entity.ts:53\n \n \n\n \n \n\n \n\n\n \n import { BaseEntity } from 'src/base-entity';\nimport { ArticleEntity } from 'src/article/articles/entities/article.entity';\nimport { PermissionEntity } from 'src/auth/permissions/entities/permission.entity';\nimport { RoleEntity } from 'src/auth/roles/entities/role.entity';\nimport { SessionEntity } from 'src/auth/sessions/entities/session.entity';\nimport {\n Entity,\n Column,\n PrimaryGeneratedColumn,\n OneToMany,\n ManyToMany,\n JoinTable,\n} from 'typeorm';\nimport { CreateUserDto } from '../dto/create-user.dto';\n\n@Entity({ name: 'auth_users' })\nexport class UserEntity extends BaseEntity {\n @PrimaryGeneratedColumn('uuid')\n uuid: string;\n\n @Column()\n name: string;\n\n @Column({ unique: true })\n email: string;\n\n @Column({ unique: true })\n username: string;\n\n @Column()\n password: string;\n\n @OneToMany(() => SessionEntity, (session) => session.user)\n sessions: SessionEntity[];\n\n @Column({ default: () => 'CURRENT_TIMESTAMP' })\n createdAt: Date;\n\n @Column({ nullable: true })\n updatedAt: Date;\n\n @OneToMany(() => ArticleEntity, (article) => article.user)\n articles: ArticleEntity[];\n\n @ManyToMany(() => PermissionEntity, (permission) => permission.users)\n @JoinTable()\n permissions: PermissionEntity[];\n\n @ManyToMany(() => RoleEntity, (role) => role.users)\n @JoinTable()\n roles: RoleEntity[];\n\n get noPassword(): this {\n return { ...this, password: undefined };\n }\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"controllers/UsersApiController.html":{"url":"controllers/UsersApiController.html","title":"controller - UsersApiController","body":"\n \n\n\n\n\n\n\n Controllers\n UsersApiController\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/http/api/controllers/users.controller.ts\n \n\n\n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n create\n \n \n Async\n delete\n \n \n Async\n get\n \n \n Async\n update\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(userUuid: string, data: CreateUserDto)\n \n \n\n \n \n Decorators : \n \n @ApiBearerAuth()@ApiOperation({summary: 'mendaftarkan pengguna baru'})@ApiOkResponse({type: UserDto, description: 'data pengguna yang baru saja didaftarkan'})@UseGuards(JwtAuthGuard)@Post()\n \n \n\n \n \n Defined in src/http/api/controllers/users.controller.ts:67\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n userUuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n CreateUserDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n delete\n \n \n \n \n \n \n \n delete(authUuid: string, uuid: string)\n \n \n\n \n \n Decorators : \n \n @ApiBearerAuth()@ApiOperation({summary: 'menghapus pengguna'})@ApiOkResponse({type: UserDto, description: 'data pengguna yang baru saja dihapus'})@UseGuards(JwtAuthGuard)@Delete(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/users.controller.ts:117\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n authUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n get\n \n \n \n \n \n \n \n get(username: string)\n \n \n\n \n \n Decorators : \n \n @ApiBearerAuth()@ApiOperation({summary: 'mengabil data pengguna berdasarkan username'})@ApiParam({name: 'username', example: 'lingu', description: 'username pengguna yang akan dicari'})@ApiOkResponse({type: UserDto, description: 'data pengguna yang diperoleh dari username'})@Get(':username')\n \n \n\n \n \n Defined in src/http/api/controllers/users.controller.ts:45\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n username\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(authUuid: string, uuid: string, data: UpdateUserDto)\n \n \n\n \n \n Decorators : \n \n @ApiBearerAuth()@ApiOperation({summary: 'memperbaharui data pengguna'})@ApiOkResponse({type: UserDto, description: 'data pengguna yang baru saja diperbaharui'})@UseGuards(JwtAuthGuard)@Patch(':uuid')\n \n \n\n \n \n Defined in src/http/api/controllers/users.controller.ts:85\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n authUuid\n \n string\n \n\n \n No\n \n\n\n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n data\n \n UpdateUserDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n\n\n \n import {\n Body,\n Controller,\n Delete,\n ForbiddenException,\n Get,\n NotFoundException,\n Param,\n Patch,\n Post,\n UseGuards,\n} from '@nestjs/common';\nimport {\n ApiBearerAuth,\n ApiOkResponse,\n ApiOperation,\n ApiParam,\n ApiTags,\n} from '@nestjs/swagger';\nimport { JwtAuthGuard } from 'src/http/guards/jwt-auth.guard';\nimport { User } from 'src/http/decorators/user.decorator';\nimport { CreateUserDto } from 'src/auth/users/dto/create-user.dto';\nimport { UpdateUserDto } from 'src/auth/users/dto/update-user.dto';\nimport { UserDto } from 'src/auth/users/dto/user.dto';\nimport { UsersService } from 'src/auth/users/users.service';\nimport { EntityNotFoundError } from 'typeorm';\n\n@ApiTags('users')\n@Controller({ version: '1', path: 'users' })\nexport class UsersApiController {\n constructor(private readonly usersService: UsersService) {}\n\n @ApiBearerAuth()\n @ApiOperation({ summary: 'mengabil data pengguna berdasarkan username' })\n @ApiParam({\n name: 'username',\n example: 'lingu',\n description: 'username pengguna yang akan dicari',\n })\n @ApiOkResponse({\n type: UserDto,\n description: 'data pengguna yang diperoleh dari username',\n })\n @Get(':username')\n async get(@Param('username') username: string) {\n try {\n const user = await this.usersService.findByUsername(username);\n\n return user.noPassword;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n @ApiBearerAuth()\n @ApiOperation({ summary: 'mendaftarkan pengguna baru' })\n @ApiOkResponse({\n type: UserDto,\n description: 'data pengguna yang baru saja didaftarkan',\n })\n @UseGuards(JwtAuthGuard)\n @Post()\n async create(@User('uuid') userUuid: string, @Body() data: CreateUserDto) {\n const createable = await this.usersService.userCan(userUuid, 'create user');\n\n if (createable) return (await this.usersService.create(data)).noPassword;\n\n throw new ForbiddenException(\n 'You dont have permissions to create new user',\n );\n }\n\n @ApiBearerAuth()\n @ApiOperation({ summary: 'memperbaharui data pengguna' })\n @ApiOkResponse({\n type: UserDto,\n description: 'data pengguna yang baru saja diperbaharui',\n })\n @UseGuards(JwtAuthGuard)\n @Patch(':uuid')\n async update(\n @User('uuid') authUuid: string,\n @Param('uuid') uuid: string,\n @Body() data: UpdateUserDto,\n ) {\n const updateable = await this.usersService.userCan(authUuid, 'update user');\n\n if (updateable || authUuid == uuid) {\n try {\n return (await this.usersService.update(uuid, data)).noPassword;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to update this user',\n );\n }\n\n @ApiBearerAuth()\n @ApiOperation({ summary: 'menghapus pengguna' })\n @ApiOkResponse({\n type: UserDto,\n description: 'data pengguna yang baru saja dihapus',\n })\n @UseGuards(JwtAuthGuard)\n @Delete(':uuid')\n async delete(@User('uuid') authUuid: string, @Param('uuid') uuid: string) {\n const deletable = this.usersService.userCan(authUuid, 'delete user');\n\n if (deletable && authUuid != uuid) {\n try {\n return (await this.usersService.remove(uuid)).noPassword;\n } catch (e) {\n if (e instanceof EntityNotFoundError) {\n throw new NotFoundException(e.message);\n }\n\n throw e;\n }\n }\n\n throw new ForbiddenException(\n 'You dont have permissions to delete this user',\n );\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/UsersModule.html":{"url":"modules/UsersModule.html","title":"module - UsersModule","body":"\n \n\n\n\n\n Modules\n UsersModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_UsersModule\n\n\n\ncluster_UsersModule_providers\n\n\n\ncluster_UsersModule_exports\n\n\n\n\nUsersService \n\nUsersService \n\n\n\nUsersModule\n\nUsersModule\n\nUsersService -->\n\nUsersModule->UsersService \n\n\n\n\n\nUsersService\n\nUsersService\n\nUsersModule -->\n\nUsersService->UsersModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/auth/users/users.module.ts\n \n\n\n\n\n\n \n \n \n Providers\n \n \n UsersService\n \n \n \n \n Exports\n \n \n UsersService\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { TypeOrmModule } from '@nestjs/typeorm';\nimport { UserEntity } from './entities/user.entity';\nimport { UsersService } from './users.service';\n\n@Module({\n imports: [TypeOrmModule.forFeature([UserEntity])],\n providers: [UsersService],\n exports: [UsersService],\n})\nexport class UsersModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/UsersService.html":{"url":"injectables/UsersService.html","title":"injectable - UsersService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n UsersService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/auth/users/users.service.ts\n \n\n\n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Async\n attachPermissions\n \n \n Async\n attachRoles\n \n \n Async\n create\n \n \n Async\n detachPermissions\n \n \n Async\n detachRoles\n \n \n Async\n findAll\n \n \n findByEmail\n \n \n Async\n findByUsername\n \n \n Async\n findOne\n \n \n Async\n findOneByOptions\n \n \n Async\n hasPermissions\n \n \n Async\n hasRoles\n \n \n Async\n remove\n \n \n Async\n take\n \n \n Async\n update\n \n \n Async\n userCan\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(usersRepository: Repository)\n \n \n \n \n Defined in src/auth/users/users.service.ts:13\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n usersRepository\n \n \n Repository\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n Async\n attachPermissions\n \n \n \n \n \n \n \n attachPermissions(uuid: string, permissions: PermissionEntity[])\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:102\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n permissions\n \n PermissionEntity[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n attachRoles\n \n \n \n \n \n \n \n attachRoles(uuid: string, roles: RoleEntity[])\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:124\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n roles\n \n RoleEntity[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n create\n \n \n \n \n \n \n \n create(createUserDto: CreateUserDto)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:19\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n createUserDto\n \n CreateUserDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n detachPermissions\n \n \n \n \n \n \n \n detachPermissions(uuid: string, permissions: string[])\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:112\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n permissions\n \n string[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n detachRoles\n \n \n \n \n \n \n \n detachRoles(uuid: string, roles: string[])\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:134\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n roles\n \n string[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n findAll\n \n \n \n \n \n \n \n findAll()\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:41\n \n \n\n\n \n \n\n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n findByEmail\n \n \n \n \n \n \nfindByEmail(email: string, options?: FindOneOptions)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:75\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n email\n \n string\n \n\n \n No\n \n\n\n \n \n options\n \n FindOneOptions\n \n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n findByUsername\n \n \n \n \n \n \n \n findByUsername(username: string, options?: FindOneOptions)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:64\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n username\n \n string\n \n\n \n No\n \n\n\n \n \n options\n \n FindOneOptions\n \n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n findOne\n \n \n \n \n \n \n \n findOne(uuid: string, options?: FindOneOptions)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:47\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n options\n \n FindOneOptions\n \n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n findOneByOptions\n \n \n \n \n \n \n \n findOneByOptions(options?: FindOneOptions)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:56\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n options\n \n FindOneOptions\n \n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n hasPermissions\n \n \n \n \n \n \n \n hasPermissions(uuid: string, ...permissions: string[])\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:144\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n permissions\n \n string[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n hasRoles\n \n \n \n \n \n \n \n hasRoles(uuid: string, ...roles: string[])\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:164\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n roles\n \n string[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n remove\n \n \n \n \n \n \n \n remove(uuid: string)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:96\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n take\n \n \n \n \n \n \n \n take(undefined: literal type)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:28\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n \n literal type\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n update\n \n \n \n \n \n \n \n update(uuid: string, updateUserDto: UpdateUserDto)\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:82\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n updateUserDto\n \n UpdateUserDto\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Promise\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Async\n userCan\n \n \n \n \n \n \n \n userCan(uuid: string, ...permissions: string[])\n \n \n\n\n \n \n Defined in src/auth/users/users.service.ts:176\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n uuid\n \n string\n \n\n \n No\n \n\n\n \n \n permissions\n \n string[]\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : unknown\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable, Logger } from '@nestjs/common';\nimport { InjectRepository } from '@nestjs/typeorm';\nimport { genSaltSync, hashSync } from 'bcrypt';\nimport { Brackets, FindOneOptions, Repository } from 'typeorm';\nimport { PermissionEntity } from '../permissions/entities/permission.entity';\nimport { RoleEntity } from '../roles/entities/role.entity';\nimport { CreateUserDto } from './dto/create-user.dto';\nimport { UpdateUserDto } from './dto/update-user.dto';\nimport { UserDto } from './dto/user.dto';\nimport { UserEntity } from './entities/user.entity';\n\n@Injectable()\nexport class UsersService {\n constructor(\n @InjectRepository(UserEntity)\n private readonly usersRepository: Repository,\n ) {}\n\n async create(createUserDto: CreateUserDto): Promise {\n const pass = hashSync(createUserDto.password, genSaltSync(10));\n const user = await this.usersRepository.save(\n new UserEntity({ ...createUserDto, password: pass }),\n );\n\n return new UserDto(user);\n }\n\n async take({\n take,\n page,\n }: {\n take: number;\n page: number;\n }): Promise {\n const skip = page * take - take;\n const users = await this.usersRepository.find({ take, skip });\n\n return users.map((user) => new UserDto(user));\n }\n\n async findAll(): Promise {\n const users = await this.usersRepository.find();\n\n return users.map((user) => new UserDto(user));\n }\n\n async findOne(\n uuid: string,\n options?: FindOneOptions,\n ): Promise {\n const user = await this.usersRepository.findOneOrFail(uuid, options);\n\n return new UserDto(user);\n }\n\n async findOneByOptions(\n options?: FindOneOptions,\n ): Promise {\n const user = await this.usersRepository.findOneOrFail(options);\n\n return new UserDto(user);\n }\n\n async findByUsername(\n username: string,\n options?: FindOneOptions,\n ): Promise {\n const user = await this.usersRepository.findOneOrFail(\n { username },\n options,\n );\n return new UserDto(user);\n }\n\n findByEmail(\n email: string,\n options?: FindOneOptions,\n ): Promise {\n return this.usersRepository.findOneOrFail({ email }, options);\n }\n\n async update(uuid: string, updateUserDto: UpdateUserDto): Promise {\n const user = await this.usersRepository.findOneOrFail(uuid);\n\n if (updateUserDto.password) {\n const password = hashSync(updateUserDto.password, genSaltSync(10));\n\n Object.assign(updateUserDto, { password });\n }\n\n Object.assign(user, updateUserDto);\n\n return this.usersRepository.save(user).then((user) => new UserDto(user));\n }\n\n async remove(uuid: string): Promise {\n const user = await this.usersRepository.findOneOrFail(uuid);\n\n return this.usersRepository.remove(user).then((user) => new UserDto(user));\n }\n\n async attachPermissions(uuid: string, permissions: PermissionEntity[]) {\n const user = await this.usersRepository.findOneOrFail(uuid, {\n relations: ['permissions'],\n });\n\n return this.update(uuid, {\n permissions: [...user.permissions, ...permissions],\n });\n }\n\n async detachPermissions(uuid: string, permissions: string[]) {\n const user = await this.usersRepository.findOneOrFail(uuid, {\n relations: ['permissions'],\n });\n\n return this.update(uuid, {\n permissions: user.permissions.filter(\n (e) => !permissions.includes(e.name),\n ),\n });\n }\n\n async attachRoles(uuid: string, roles: RoleEntity[]) {\n const user = await this.usersRepository.findOneOrFail(uuid, {\n relations: ['roles'],\n });\n\n return this.update(uuid, {\n roles: [...user.roles, ...roles],\n });\n }\n\n async detachRoles(uuid: string, roles: string[]) {\n const user = await this.usersRepository.findOneOrFail(uuid, {\n relations: ['roles'],\n });\n\n return this.update(uuid, {\n roles: user.roles.filter((e) => !roles.includes(e.name)),\n });\n }\n\n async hasPermissions(uuid: string, ...permissions: string[]) {\n const count = await this.usersRepository\n .createQueryBuilder('user')\n .leftJoin('user.permissions', 'permission')\n .leftJoin('user.roles', 'role')\n .leftJoin('role.permissions', 'rolePermission')\n .where('user.uuid = :uuid')\n .andWhere(\n new Brackets((qb) => {\n qb.where('permission.name IN (:permissions)');\n qb.orWhere('rolePermission.name IN (:permissions)');\n }),\n )\n\n .setParameters({ uuid, permissions })\n .getCount();\n\n return count > 0;\n }\n\n async hasRoles(uuid: string, ...roles: string[]) {\n const count = await this.usersRepository\n .createQueryBuilder('user')\n .leftJoin('user.roles', 'role')\n .where('user.uuid = :uuid')\n .andWhere('role.name IN (:roles)')\n .setParameters({ uuid, roles })\n .getCount();\n\n return count > 0;\n }\n\n async userCan(uuid: string, ...permissions: string[]) {\n const isSuper = await this.hasRoles(uuid, 'super');\n\n return isSuper || (await this.hasPermissions(uuid, ...permissions));\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/WebModule.html":{"url":"modules/WebModule.html","title":"module - WebModule","body":"\n \n\n\n\n\n Modules\n WebModule\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n src/http/web/web.module.ts\n \n\n\n\n\n\n \n \n \n Controllers\n \n \n HaloController\n \n \n \n \n \n\n\n \n\n\n \n import { Module } from '@nestjs/common';\nimport { HaloController } from './halo/halo.controller';\n\n@Module({\n controllers: [HaloController],\n})\nexport class WebModule {}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"coverage.html":{"url":"coverage.html","title":"coverage - coverage","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n Documentation coverage\n\n\n\n \n\n\n\n \n \n File\n Type\n Identifier\n Statements\n \n \n \n \n \n \n src/article/articles/articles.service.ts\n \n injectable\n ArticlesService\n \n 0 %\n (0/6)\n \n \n \n \n \n src/article/articles/dto/create-article.dto.ts\n \n class\n CreateArticleDto\n \n 0 %\n (0/1)\n \n \n \n \n \n src/article/articles/dto/update-article.dto.ts\n \n class\n UpdateArticleDto\n \n 0 %\n (0/1)\n \n \n \n \n \n src/article/articles/entities/article.entity.ts\n \n class\n ArticleEntity\n \n 0 %\n (0/13)\n \n \n \n \n \n src/article/categories/categories.service.ts\n \n injectable\n CategoriesService\n \n 0 %\n (0/8)\n \n \n \n \n \n src/article/categories/dto/create-category.dto.ts\n \n class\n CreateCategoryDto\n \n 0 %\n (0/5)\n \n \n \n \n \n src/article/categories/dto/update-category.dto.ts\n \n class\n UpdateCategoryDto\n \n 0 %\n (0/1)\n \n \n \n \n \n src/article/categories/entities/category.entity.ts\n \n class\n CategoryEntity\n \n 0 %\n (0/6)\n \n \n \n \n \n src/auth/auth.service.ts\n \n injectable\n AuthService\n \n 0 %\n (0/4)\n \n \n \n \n \n src/auth/constants.ts\n \n variable\n jwtConstants\n \n 0 %\n (0/1)\n \n \n \n \n \n src/auth/permissions/dto/create-permission.dto.ts\n \n class\n CreatePermissionDto\n \n 0 %\n (0/2)\n \n \n \n \n \n src/auth/permissions/dto/permission.dto.ts\n \n class\n PermissionDto\n \n 0 %\n (0/3)\n \n \n \n \n \n src/auth/permissions/dto/update-permission.dto.ts\n \n class\n UpdatePermissionDto\n \n 0 %\n (0/1)\n \n \n \n \n \n src/auth/permissions/entities/permission.entity.ts\n \n class\n PermissionEntity\n \n 0 %\n (0/5)\n \n \n \n \n \n src/auth/permissions/permissions.service.ts\n \n injectable\n PermissionsService\n \n 0 %\n (0/9)\n \n \n \n \n \n src/auth/roles/dto/create-role.dto.ts\n \n class\n CreateRoleDto\n \n 0 %\n (0/2)\n \n \n \n \n \n src/auth/roles/dto/role.dto.ts\n \n class\n RoleDto\n \n 0 %\n (0/4)\n \n \n \n \n \n src/auth/roles/dto/update-role.dto.ts\n \n class\n UpdateRoleDto\n \n 0 %\n (0/2)\n \n \n \n \n \n src/auth/roles/entities/role.entity.ts\n \n class\n RoleEntity\n \n 0 %\n (0/5)\n \n \n \n \n \n src/auth/roles/roles.service.ts\n \n injectable\n RolesService\n \n 0 %\n (0/11)\n \n \n \n \n \n src/auth/sessions/dto/create-session.dto.ts\n \n class\n CreateSessionDto\n \n 0 %\n (0/4)\n \n \n \n \n \n src/auth/sessions/dto/session.dto.ts\n \n class\n SessionDto\n \n 0 %\n (0/5)\n \n \n \n \n \n src/auth/sessions/dto/update-session.dto.ts\n \n class\n UpdateSessionDto\n \n 0 %\n (0/2)\n \n \n \n \n \n src/auth/sessions/entities/session.entity.ts\n \n class\n SessionEntity\n \n 0 %\n (0/7)\n \n \n \n \n \n src/auth/sessions/sessions.service.ts\n \n injectable\n SessionsService\n \n 0 %\n (0/9)\n \n \n \n \n \n src/auth/strategies/basic.strategy.ts\n \n injectable\n BasicStrategy\n \n 0 %\n (0/3)\n \n \n \n \n \n src/auth/strategies/jwt.strategy.ts\n \n injectable\n JwtStrategy\n \n 0 %\n (0/3)\n \n \n \n \n \n src/auth/strategies/local.strategy.ts\n \n injectable\n LocalStrategy\n \n 0 %\n (0/3)\n \n \n \n \n \n src/auth/users/dto/create-user-request.dto.ts\n \n class\n CreateUserRequestDto\n \n 0 %\n (0/5)\n \n \n \n \n \n src/auth/users/dto/create-user-request.dto.ts\n \n variable\n fakerGeneratedPassword\n \n 0 %\n (0/1)\n \n \n \n \n \n src/auth/users/dto/create-user.dto.ts\n \n class\n CreateUserDto\n \n 0 %\n (0/6)\n \n \n \n \n \n src/auth/users/dto/update-user-request.dto.ts\n \n class\n UpdateUserRequestDto\n \n 0 %\n (0/2)\n \n \n \n \n \n src/auth/users/dto/update-user.dto.ts\n \n class\n UpdateUserDto\n \n 0 %\n (0/4)\n \n \n \n \n \n src/auth/users/dto/user.dto.ts\n \n class\n UserDto\n \n 0 %\n (0/8)\n \n \n \n \n \n src/auth/users/entities/user.entity.ts\n \n class\n UserEntity\n \n 0 %\n (0/12)\n \n \n \n \n \n src/auth/users/users.service.ts\n \n injectable\n UsersService\n \n 0 %\n (0/18)\n \n \n \n \n \n src/base-controller.ts\n \n class\n BaseController\n \n 0 %\n (0/1)\n \n \n \n \n \n src/base-dto.ts\n \n class\n BaseDto\n \n 0 %\n (0/2)\n \n \n \n \n \n src/base-entity.ts\n \n class\n LocalBaseEntity\n \n 0 %\n (0/2)\n \n \n \n \n \n src/http/api/controllers/articles.controller.ts\n \n controller\n ArticlesApiController\n \n 0 %\n (0/5)\n \n \n \n \n \n src/http/api/controllers/auth.controller.ts\n \n controller\n AuthApiController\n \n 0 %\n (0/4)\n \n \n \n \n \n src/http/api/controllers/categories.controller.ts\n \n controller\n CategoriesApiController\n \n 0 %\n (0/5)\n \n \n \n \n \n src/http/api/controllers/permissions.controller.ts\n \n controller\n PermissionsApiController\n \n 0 %\n (0/5)\n \n \n \n \n \n src/http/api/controllers/roles.controller.ts\n \n controller\n RolesApiController\n \n 0 %\n (0/5)\n \n \n \n \n \n src/http/api/controllers/users.controller.ts\n \n controller\n UsersApiController\n \n 0 %\n (0/5)\n \n \n \n \n \n src/http/decorators/can.decorator.ts\n \n variable\n Can\n \n 0 %\n (0/1)\n \n \n \n \n \n src/http/decorators/has-roles.decorator.ts\n \n variable\n HasRoles\n \n 0 %\n (0/1)\n \n \n \n \n \n src/http/decorators/user.decorator.ts\n \n variable\n User\n \n 0 %\n (0/1)\n \n \n \n \n \n src/http/guards/basic-auth.guard.ts\n \n injectable\n BasicAuthGuard\n \n 0 %\n (0/1)\n \n \n \n \n \n src/http/guards/can.guard.ts\n \n guard\n CanGuard\n \n 0 %\n (0/3)\n \n \n \n \n \n src/http/guards/has-roles.guard.ts\n \n guard\n HasRolesGuard\n \n 0 %\n (0/3)\n \n \n \n \n \n src/http/guards/jwt-auth.guard.ts\n \n injectable\n JwtAuthGuard\n \n 0 %\n (0/1)\n \n \n \n \n \n src/http/guards/local-auth.guard.ts\n \n injectable\n LocalAuthGuard\n \n 0 %\n (0/1)\n \n \n \n \n \n src/http/sessions/decorators/active-session.decorator.ts\n \n variable\n ActiveSession\n \n 0 %\n (0/1)\n \n \n \n \n \n src/http/web/halo/halo.controller.ts\n \n controller\n HaloController\n \n 0 %\n (0/2)\n \n \n \n \n \n src/main.ts\n \n function\n bootstrap\n \n 0 %\n (0/1)\n \n \n \n \n \n src/pdd/surat/surat.service.ts\n \n injectable\n SuratService\n \n 0 %\n (0/1)\n \n \n \n \n \n src/validator/decorators/is-equal-to.decorator.ts\n \n function\n IsEqualTo\n \n 0 %\n (0/1)\n \n \n \n \n \n src/validator/decorators/is-exists.decorator.ts\n \n function\n IsExists\n \n 0 %\n (0/1)\n \n \n \n \n \n src/validator/decorators/is-unique.decorator.ts\n \n function\n IsUnique\n \n 0 %\n (0/1)\n \n \n \n \n \n src/validator/decorators/slug.decorator.ts\n \n function\n Slug\n \n 0 %\n (0/1)\n \n \n \n\n\n\n\n\n new Tablesort(document.getElementById('coverage-table'));\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"dependencies.html":{"url":"dependencies.html","title":"package-dependencies - dependencies","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n Dependencies\n \n \n \n @nestjs/axios : ^0.0.1\n \n @nestjs/bull : ^0.4.1\n \n @nestjs/common : ^8.0.0\n \n @nestjs/core : ^8.0.0\n \n @nestjs/event-emitter : ^1.0.0\n \n @nestjs/jwt : ^8.0.0\n \n @nestjs/passport : ^8.0.1\n \n @nestjs/platform-express : ^8.0.0\n \n @nestjs/platform-socket.io : ^8.0.5\n \n @nestjs/schedule : ^1.0.1\n \n @nestjs/serve-static : ^2.2.2\n \n @nestjs/swagger : ^5.0.9\n \n @nestjs/throttler : ^2.0.0\n \n @nestjs/typeorm : ^8.0.2\n \n @nestjs/websockets : ^8.0.5\n \n bcrypt : ^5.0.1\n \n bull : ^3.27.0\n \n class-transformer : ^0.4.0\n \n class-validator : ^0.13.1\n \n compression : ^1.7.4\n \n cookie-parser : ^1.4.5\n \n csurf : ^1.11.0\n \n dotenv : ^8.6.0\n \n express-session : ^1.17.2\n \n faker : ^5.5.3\n \n hbs : ^4.1.2\n \n mysql2 : ^2.2.5\n \n officegen : ^0.6.5\n \n passport : ^0.4.1\n \n passport-jwt : ^4.0.0\n \n passport-local : ^1.0.0\n \n reflect-metadata : ^0.1.13\n \n rimraf : ^3.0.2\n \n rxjs : ^7.2.0\n \n slugify : ^1.6.0\n \n sqlite3 : ^4.2.0\n \n swagger-ui-express : ^4.1.6\n \n typeorm : ^0.2.36\n \n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"miscellaneous/functions.html":{"url":"miscellaneous/functions.html","title":"miscellaneous-functions - functions","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n Miscellaneous\n Functions\n\n\n\n Index\n \n \n \n \n \n \n bootstrap (src/.../main.ts)\n \n \n IsEqualTo (src/.../is-equal-to.decorator.ts)\n \n \n IsExists (src/.../is-exists.decorator.ts)\n \n \n IsUnique (src/.../is-unique.decorator.ts)\n \n \n Slug (src/.../slug.decorator.ts)\n \n \n \n \n \n \n\n\n src/main.ts\n \n \n \n \n \n \n \n bootstrap\n \n \n \n \n \n \nbootstrap()\n \n \n\n\n\n\n \n \n src/validator/decorators/is-equal-to.decorator.ts\n \n \n \n \n \n \n \n IsEqualTo\n \n \n \n \n \n \nIsEqualTo(property, validationOptions?)\n \n \n\n\n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n \n \n \n \n property\n\n \n No\n \n\n\n \n \n validationOptions\n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n \n \n \n src/validator/decorators/is-exists.decorator.ts\n \n \n \n \n \n \n \n IsExists\n \n \n \n \n \n \nIsExists(target, validationOptions?)\n \n \n\n\n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n \n \n \n \n target\n\n \n No\n \n\n\n \n \n validationOptions\n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n \n \n \n src/validator/decorators/is-unique.decorator.ts\n \n \n \n \n \n \n \n IsUnique\n \n \n \n \n \n \nIsUnique(target, validationOptions?)\n \n \n\n\n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n \n \n \n \n target\n\n \n No\n \n\n\n \n \n validationOptions\n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n \n \n \n src/validator/decorators/slug.decorator.ts\n \n \n \n \n \n \n \n Slug\n \n \n \n \n \n \nSlug(target, validationOptions?)\n \n \n\n\n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n \n \n \n \n target\n\n \n No\n \n\n\n \n \n validationOptions\n\n \n Yes\n \n\n\n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"index.html":{"url":"index.html","title":"getting-started - index","body":"\n \n\n\n \n\n\n A progressive Node.js framework for building efficient and scalable server-side applications.\n \n\n\n\n\n\n\n\n\n \n \n \n\n \n\nDescription\nNest framework TypeScript starter repository.\nInstallation\n$ npm installRunning the app\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prodTest\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:covSupport\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.\nStay in touch\n\nAuthor - Kamil Myśliwiec\nWebsite - https://nestjs.com\nTwitter - @nestframework\n\nLicense\nNest is MIT licensed.\nnestcafold\nnestcafold\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules.html":{"url":"modules.html","title":"modules - modules","body":"\n \n\n\n\n\n Modules\n\n\n \n \n \n \n ApiModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n ArticlesModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n AuthModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n CategoriesModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n PermissionsModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n RolesModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n SessionsModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n SuratModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n UsersModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n WebModule\n \n \n \n No graph available.\n \n \n Browse\n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"overview.html":{"url":"overview.html","title":"overview - overview","body":"\n \n\n\n\n Overview\n\n \n\n \n \n\n\n\n\n\ndependencies\n\ndependencies\n\ncluster_ApiModule\n\n\n\ncluster_ApiModule_imports\n\n\n\ncluster_ArticlesModule\n\n\n\ncluster_ArticlesModule_exports\n\n\n\ncluster_ArticlesModule_providers\n\n\n\ncluster_AuthModule\n\n\n\ncluster_AuthModule_imports\n\n\n\ncluster_AuthModule_exports\n\n\n\ncluster_AuthModule_providers\n\n\n\ncluster_CategoriesModule\n\n\n\ncluster_CategoriesModule_exports\n\n\n\ncluster_CategoriesModule_providers\n\n\n\ncluster_PermissionsModule\n\n\n\ncluster_PermissionsModule_exports\n\n\n\ncluster_PermissionsModule_providers\n\n\n\ncluster_RolesModule\n\n\n\ncluster_RolesModule_exports\n\n\n\ncluster_RolesModule_providers\n\n\n\ncluster_SessionsModule\n\n\n\ncluster_SessionsModule_exports\n\n\n\ncluster_SessionsModule_providers\n\n\n\ncluster_SuratModule\n\n\n\ncluster_SuratModule_providers\n\n\n\ncluster_UsersModule\n\n\n\ncluster_UsersModule_exports\n\n\n\ncluster_UsersModule_providers\n\n\n\n\nArticlesModule\n\nArticlesModule\n\n\n\nApiModule\n\nApiModule\n\nApiModule -->\n\nArticlesModule->ApiModule\n\n\n\n\n\nArticlesService \n\nArticlesService \n\nArticlesService -->\n\nArticlesModule->ArticlesService \n\n\n\n\n\nAuthModule\n\nAuthModule\n\nApiModule -->\n\nAuthModule->ApiModule\n\n\n\n\n\nAuthService \n\nAuthService \n\nAuthService -->\n\nAuthModule->AuthService \n\n\n\n\n\nCategoriesModule\n\nCategoriesModule\n\nApiModule -->\n\nCategoriesModule->ApiModule\n\n\n\n\n\nCategoriesService \n\nCategoriesService \n\nCategoriesService -->\n\nCategoriesModule->CategoriesService \n\n\n\n\n\nPermissionsModule\n\nPermissionsModule\n\nAuthModule -->\n\nPermissionsModule->AuthModule\n\n\n\nApiModule -->\n\nPermissionsModule->ApiModule\n\n\n\n\n\nPermissionsService \n\nPermissionsService \n\nPermissionsService -->\n\nPermissionsModule->PermissionsService \n\n\n\n\n\nRolesModule\n\nRolesModule\n\nAuthModule -->\n\nRolesModule->AuthModule\n\n\n\nApiModule -->\n\nRolesModule->ApiModule\n\n\n\n\n\nRolesService \n\nRolesService \n\nRolesService -->\n\nRolesModule->RolesService \n\n\n\n\n\nUsersModule\n\nUsersModule\n\nAuthModule -->\n\nUsersModule->AuthModule\n\n\n\nApiModule -->\n\nUsersModule->ApiModule\n\n\n\n\n\nUsersService \n\nUsersService \n\nUsersService -->\n\nUsersModule->UsersService \n\n\n\n\n\nArticlesService\n\nArticlesService\n\nArticlesModule -->\n\nArticlesService->ArticlesModule\n\n\n\n\n\nSessionsModule\n\nSessionsModule\n\nAuthModule -->\n\nSessionsModule->AuthModule\n\n\n\n\n\nSessionsService \n\nSessionsService \n\nSessionsService -->\n\nSessionsModule->SessionsService \n\n\n\n\n\nAuthService\n\nAuthService\n\nAuthModule -->\n\nAuthService->AuthModule\n\n\n\n\n\nBasicStrategy\n\nBasicStrategy\n\nAuthModule -->\n\nBasicStrategy->AuthModule\n\n\n\n\n\nJwtStrategy\n\nJwtStrategy\n\nAuthModule -->\n\nJwtStrategy->AuthModule\n\n\n\n\n\nLocalStrategy\n\nLocalStrategy\n\nAuthModule -->\n\nLocalStrategy->AuthModule\n\n\n\n\n\nCategoriesService\n\nCategoriesService\n\nCategoriesModule -->\n\nCategoriesService->CategoriesModule\n\n\n\n\n\nPermissionsService\n\nPermissionsService\n\nPermissionsModule -->\n\nPermissionsService->PermissionsModule\n\n\n\n\n\nRolesService\n\nRolesService\n\nRolesModule -->\n\nRolesService->RolesModule\n\n\n\n\n\nSessionsService\n\nSessionsService\n\nSessionsModule -->\n\nSessionsService->SessionsModule\n\n\n\n\n\nSuratService\n\nSuratService\n\n\n\nSuratModule\n\nSuratModule\n\nSuratModule -->\n\nSuratService->SuratModule\n\n\n\n\n\nUsersService\n\nUsersService\n\nUsersModule -->\n\nUsersService->UsersModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n \n\n \n \n \n \n \n \n 10 Modules\n \n \n \n \n \n \n \n \n 7 Controllers\n \n \n \n \n \n \n \n 14 Injectables\n \n \n \n \n \n \n \n 27 Classes\n \n \n \n \n \n \n \n 2 Guards\n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"miscellaneous/variables.html":{"url":"miscellaneous/variables.html","title":"miscellaneous-variables - variables","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n Miscellaneous\n Variables\n\n\n\n Index\n \n \n \n \n \n \n ActiveSession (src/.../active-session.decorator.ts)\n \n \n Can (src/.../can.decorator.ts)\n \n \n fakerGeneratedPassword (src/.../create-user-request.dto.ts)\n \n \n HasRoles (src/.../has-roles.decorator.ts)\n \n \n jwtConstants (src/.../constants.ts)\n \n \n User (src/.../user.decorator.ts)\n \n \n \n \n \n \n\n\n src/http/sessions/decorators/active-session.decorator.ts\n \n \n \n \n \n \n \n ActiveSession\n \n \n \n \n \n \n Default value : createParamDecorator(\n (data: string, context: ExecutionContext) => {\n const request: { activeSession: SessionEntity } = context\n .switchToHttp()\n .getRequest();\n\n if (request.activeSession) {\n return (data && request.activeSession[data]) || request.activeSession;\n }\n\n throw new UnauthorizedException();\n },\n)\n \n \n\n\n \n \n\n src/http/decorators/can.decorator.ts\n \n \n \n \n \n \n \n Can\n \n \n \n \n \n \n Default value : (...args: string[]) => SetMetadata('ability', args)\n \n \n\n\n \n \n\n src/auth/users/dto/create-user-request.dto.ts\n \n \n \n \n \n \n \n fakerGeneratedPassword\n \n \n \n \n \n \n Default value : internet.password()\n \n \n\n\n \n \n\n src/http/decorators/has-roles.decorator.ts\n \n \n \n \n \n \n \n HasRoles\n \n \n \n \n \n \n Default value : (...args: string[]) => SetMetadata('roles', args)\n \n \n\n\n \n \n\n src/auth/constants.ts\n \n \n \n \n \n \n \n jwtConstants\n \n \n \n \n \n \n Type : object\n\n \n \n \n \n Default value : {\n secret: '375b3d55c0331917a66eb7c04743805d6cf53b72', // php7 hash('haval160,4', hash('sha512', 'lingusecret'))\n}\n \n \n\n\n \n \n\n src/http/decorators/user.decorator.ts\n \n \n \n \n \n \n \n User\n \n \n \n \n \n \n Default value : createParamDecorator(\n (data: string, context: ExecutionContext) => {\n const request: { user: UserDto } = context.switchToHttp().getRequest();\n\n if (request.user) {\n return (data && request.user[data]) || request.user;\n }\n\n throw new UnauthorizedException();\n },\n)\n \n \n\n\n \n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"}}
}
| 135,635.4 | 427,007 | 0.424143 |
83fa15d3fb88089fc4e51bcc0632f079e80094ae | 15,675 | js | JavaScript | src/service/print/docx.js | snehar-nd/program-service | 49f2d8599937a584c84a00c3ad90a730ab38325e | [
"MIT"
] | null | null | null | src/service/print/docx.js | snehar-nd/program-service | 49f2d8599937a584c84a00c3ad90a730ab38325e | [
"MIT"
] | 43 | 2020-07-09T10:07:19.000Z | 2022-03-22T12:01:51.000Z | src/service/print/docx.js | snehar-nd/program-service | 49f2d8599937a584c84a00c3ad90a730ab38325e | [
"MIT"
] | 23 | 2020-03-10T06:53:51.000Z | 2021-12-27T13:19:26.000Z | const { getData } = require("./dataImporter");
const docx = require("docx");
const { Packer } = docx;
const getDocx = require("./getdocxdata");
const fs = require("fs");
var {
docDefinition,
getSectionTitle,
getTF,
getMTFHeader,
} = require("./utils/docDefinition");
const ProgramServiceHelper = require("../../helpers/programHelper");
var cheerio = require("cheerio");
var cheerioTableparser = require("cheerio-tableparser");
const sizeOf = require("image-size");
const programServiceHelper = new ProgramServiceHelper();
const { size, create } = require("lodash");
const buildDOCXWithCallback = async (id, callback) => {
let error = false;
let errorMsg = "";
let totalMarks = 0;
getData(id)
.then(async (data) => {
if (data.error) {
callback(null, data.error, data.errorMsg);
} else {
let subject, grade, examName, instructions, language;
if (data.paperData) {
subject = data.paperData.subject && data.paperData.subject[0];
grade = data.paperData.gradeLevel && data.paperData.gradeLevel[0];
examName = data.paperData.name;
instructions = data.paperData.description;
language = data.paperData.medium && data.paperData.medium[0];
}
data.sectionData.forEach((d) => {
d.questions.forEach((element, index) => {
const marks = parseInt(element.marks);
if (!isNaN(marks)) totalMarks += marks;
});
});
const questionPaperContent = [];
const paperDetails = {
examName: examName,
className: grade,
subject: subject,
};
let questionCounter = 0;
for (const d of data.sectionData) {
const sectionTitle = getSectionTitle(
d.section.name,
detectLanguage(d.section.name)
);
const section = d.section;
for (const [index, question] of d.questions.entries()) {
questionCounter += 1;
let questionContent;
switch (question.category) {
case "MCQ":
questionContent = [
await renderMCQ(question, questionCounter, question.marks),
];
break;
case "FTB":
questionContent = [
await renderQuestion(
question,
questionCounter,
question.marks,
"FTB"
),
];
break;
case "SA":
questionContent = [
await renderQuestion(
question,
questionCounter,
question.marks,
"SA"
),
];
break;
case "LA":
questionContent = [
await renderQuestion(
question,
questionCounter,
question.marks,
"LA"
),
];
break;
case "VSA":
questionContent = [
await renderQuestion(
question,
questionCounter,
question.marks,
"VSA"
),
];
break;
case "MTF":
questionContent = await renderMTF(
question,
questionCounter,
question.marks,
"MTF"
);
break;
case "COMPREHENSION":
questionContent = [
await renderComprehension(
question,
questionCounter,
question.marks,
"COMPREHENSION"
),
];
break;
case "CuriosityQuestion":
questionContent = [
await renderQuestion(
question,
questionCounter,
question.marks,
"CuriosityQuestion"
),
];
break;
}
questionPaperContent.push(questionContent);
}
}
const doc = await getDocx.create(questionPaperContent, paperDetails);
const b64string = await Packer.toBase64String(doc);
let filename = grade + "_" + subject + "_" + examName;
filename = filename.replace(/\s/g, "");
callback(b64string, null, null, filename);
}
})
.catch((e) => {
console.log(e);
error = true;
errorMsg = "";
callback(null, error, errorMsg);
});
};
const cleanHTML = (str, nbspAsLineBreak = false) => {
// Remove HTML characters since we are not converting HTML to PDF.
return str
.replace(/<[^>]+>/g, "")
.replace(/ /g, nbspAsLineBreak ? "\n" : "");
};
const detectLanguage = (str) => {
const unicodeBlocks = [
{
name: "Tamil",
regex: /[\u0B80-\u0BFF]+/g,
},
{
name: "Hindi",
regex: /[\u0900-\u097F]+/g,
},
];
let language = "English";
const langSplit = {
Hindi: 0,
Tamil: 0,
English: 0,
Undefined: 0,
};
if (typeof str === "string") {
str.split("").forEach((letter) => {
let found = false;
unicodeBlocks.forEach((block) => {
if (letter.match(block.regex)) {
langSplit[block.name]++;
found = true;
}
});
if (!found) {
langSplit.English++;
}
});
let max = 0;
for (var key of Object.keys(langSplit)) {
if (langSplit[key] > max) {
max = langSplit[key];
language = key;
}
}
return language;
}
return "English";
};
function createImageElement(src, width) {
let imageElement = {};
if (src.search("image/gif") >= 0) return null;
imageElement.image = src;
let img = Buffer.from(src.split(";base64,").pop(), "base64");
let dimensions = sizeOf(img);
let resizedWidth = dimensions.width * width;
imageElement.width = resizedWidth > 200 ? 200 : resizedWidth;
imageElement.height =
(dimensions.height / dimensions.width) * imageElement.width;
return imageElement;
}
function extractTextFromElement(elem) {
let rollUp = "";
if (cheerio.text(elem)) return cheerio.text(elem);
else if (elem.name === "sup")
return { text: elem.children[0].data, superScript: true };
else if (elem.name === "sub")
return { text: elem.children[0].data, subScript: true };
else if (elem.type === "text" && elem.data) return elem.data;
else {
if (elem.children && elem.children.length) {
for (const nestedElem of elem.children) {
let recurse = extractTextFromElement(nestedElem);
if (Array.isArray(rollUp)) {
rollUp.push(recurse);
} else {
if (Array.isArray(recurse)) {
rollUp = recurse;
} else if (typeof recurse === "object") {
rollUp = [rollUp, recurse];
} else rollUp += recurse;
}
}
}
}
return rollUp;
}
async function getStack(htmlString, questionCounter) {
const stack = [];
$ = cheerio.load(htmlString);
const elems = $("body").children().toArray();
for (const [index, elem] of elems.entries()) {
let nextLine = "";
switch (elem.name) {
case "p":
let extractedText = extractTextFromElement(elem);
// Returns array if superscript/subscript inside
if (Array.isArray(extractedText)) nextLine = { text: extractedText };
else nextLine += extractedText;
break;
case "ol":
nextLine = {
ol: elem.children.map(
(el) =>
el.children[0] &&
(el.children[0].data ||
(el.children[0].children[0] && el.children[0].children[0].data))
),
};
break;
case "ul":
nextLine = {
ul: elem.children.map(
(el) =>
el.children[0] &&
(el.children[0].data ||
(el.children[0].children[0] && el.children[0].children[0].data))
),
};
break;
case "figure":
let { style } = elem.attribs;
let width = 1;
if (style) {
width = parseFloat(style.split(":").pop().slice(0, -2));
width = width / 100;
}
if (elem.children && elem.children.length) {
let { src } = elem.children[0].attribs;
if (src) {
switch (src.slice(0, 4)) {
case "data":
nextLine = createImageElement(src, width);
break;
default:
let res = await programServiceHelper.getQuestionMedia(src);
nextLine = createImageElement(res, width);
}
}
}
if (!nextLine)
nextLine = "<An image of an unsupported format was scrubbed>";
break;
}
if (index === 0 && questionCounter) {
if (elem.name === "p") {
if (typeof nextLine === "object")
nextLine = { text: [`${questionCounter}. `, ...nextLine.text] };
else nextLine = `${questionCounter}. ${nextLine}`;
} else stack.push(`${questionCounter}.`);
}
stack.push(nextLine);
}
return stack;
}
async function renderMCQ(question, questionCounter, marks) {
const questionOptions = [],
answerOptions = ["A", "B", "C", "D"];
let questionTitle;
for (const [index, qo] of question.editorState.options.entries()) {
let qoBody = qo.value.body;
let qoData =
qoBody.search("img") >= 0 ||
qoBody.search("sup") >= 0 ||
qoBody.search("sub") >= 0 ||
(qoBody.match(/<p>/g) && qoBody.match(/<p>/g).length > 1) ||
(qoBody.match(/<ol>/g) && qoBody.match(/<ol>/g).length >= 1)
? await getStack(qoBody, answerOptions[index])
: [`${answerOptions[index]}. ${cleanHTML(qoBody)}`];
questionOptions.push(qoData);
}
let q = question.editorState.question;
questionTitle =
q.search("img") >= 0 ||
q.search("sub") >= 0 ||
q.search("sup") >= 0 ||
(q.match(/<p>/g) && q.match(/<p>/g).length > 1) ||
(q.match(/<ol>/g) && q.match(/<ol>/g).length > 1)
? await getStack(q, questionCounter)
: [`${questionCounter}. ${cleanHTML(q)}`];
let questionOpt = [];
let imageProperties = [];
if (typeof questionOptions[0][1] === "object") {
questionOpt.push(questionOptions[0][0] + questionOptions[0][1].image);
imageProperties.push({
width: questionOptions[0][1].width,
height: questionOptions[0][1].height,
});
} else {
questionOpt.push(questionOptions[0][0]);
imageProperties.push({
width: 0,
height: 0,
});
}
if (typeof questionOptions[1][1] === "object") {
questionOpt.push(questionOptions[1][0] + questionOptions[1][1].image);
imageProperties.push({
width: questionOptions[1][1].width,
height: questionOptions[1][1].height,
});
} else {
questionOpt.push(questionOptions[1][0]);
imageProperties.push({
width: 0,
height: 0,
});
}
if (typeof questionOptions[2][1] === "object") {
questionOpt.push(questionOptions[2][0] + questionOptions[2][1].image);
imageProperties.push({
width: questionOptions[2][1].width,
height: questionOptions[2][1].height,
});
} else {
questionOpt.push(questionOptions[2][0]);
imageProperties.push({
width: 0,
height: 0,
});
}
if (typeof questionOptions[3][1] === "object") {
questionOpt.push(questionOptions[3][0] + questionOptions[3][1].image);
imageProperties.push({
width: questionOptions[3][1].width,
height: questionOptions[3][1].height,
});
} else {
questionOpt.push(questionOptions[3][0]);
imageProperties.push({
width: 0,
height: 0,
});
}
let data = {
Questions: questionTitle,
Option1: questionOpt[0],
Option2: questionOpt[1],
Option3: questionOpt[2],
Option4: questionOpt[3],
Marks: marks,
Language: detectLanguage(questionTitle[0]),
type: "MCQ",
height1: imageProperties[0].height,
width1: imageProperties[0].width,
height2: imageProperties[1].height,
width2: imageProperties[1].width,
height3: imageProperties[2].height,
width3: imageProperties[2].width,
height4: imageProperties[3].height,
width4: imageProperties[3].width,
};
return data;
}
async function renderQuestion(question, questionCounter, marks, Type) {
let data;
if (
(question.media && question.media.length) ||
question.editorState.question.search("img") >= 0 ||
question.editorState.question.search("sub") >= 0 ||
question.editorState.question.search("sup") >= 0 ||
question.editorState.question.search("ol") >= 0 ||
question.editorState.question.search("ul") >= 0 ||
(question.editorState.question.match(/<p>/g) && question.editorState.question.match(/<p>/g).length > 1) ||
(question.editorState.question.match(/<ol>/g) && question.editorState.question.match(/<ol>/g).length > 1)
) {
data = await getStack(question.editorState.question, questionCounter);
} else {
data = [`${questionCounter}. ${cleanHTML(question.editorState.question)}`];
}
let quedata = {
Questions: data,
Marks: marks,
type: Type,
};
return quedata;
}
async function renderComprehension(question, questionCounter, marks, Type) {
let data;
if (
(question.media && question.media.length) ||
question.editorState.question.search("img") >= 0 ||
question.editorState.question.search("sub") >= 0 ||
question.editorState.question.search("sup") >= 0 ||
question.editorState.question.search("ol") >= 0 ||
question.editorState.question.search("ul") >= 0 ||
(question.editorState.question.match(/<p>/g) && question.editorState.question.match(/<p>/g).length > 1)||
(question.editorState.question.match(/<ol>/g) && question.editorState.question.match(/<ol>/g).length > 1)
) {
data = await getStack(question.editorState.question, questionCounter);
} else {
data = [`${questionCounter}. ${cleanHTML(question.editorState.question)}`];
}
let quedata = {
Questions: data,
Marks: marks,
type: Type,
};
return quedata;
}
async function renderMTF(question, questionCounter, marks, Type) {
$ = cheerio.load(question.editorState.question);
cheerioTableparser($);
var data = [];
var columns = $("table").parsetable(false, false, false);
let transposeColumns = columns[0].map((_, colIndex) =>
columns.map((row) => row[colIndex])
);
const heading = questionCounter + ". " + cleanHTML($("p").first().text());
data.push(heading, detectLanguage(heading), marks);
data.push(
getMTFHeader(
cleanHTML(transposeColumns[0][0]),
cleanHTML(transposeColumns[0][1]),
detectLanguage(cleanHTML(transposeColumns[0][0]))
)
);
transposeColumns.shift();
const rows = [];
for (const r of transposeColumns) {
let left, right;
if (r[0].search("img") >= 0) {
left = await getStack(r[0]);
} else left = [cleanHTML(r[0])];
if (r[1].search("img") >= 0) {
right = await getStack(r[1]);
} else right = [cleanHTML(r[1])];
rows.push({ left, right });
}
// return data.concat(rows);
let mtfData = [
{
Questions: rows,
Marks: marks,
type: Type,
heading: heading,
},
];
return mtfData;
}
module.exports = {
buildDOCXWithCallback,
};
| 29.857143 | 110 | 0.547815 |
83fa331c999a9574dead268fc5df21831084ef83 | 327 | js | JavaScript | test/test.js | classy-org/classy-pay-client | 09bcba3ed805de7908c19a5d0746817eec5965f3 | [
"MIT"
] | 3 | 2017-10-31T18:22:17.000Z | 2022-03-18T18:44:28.000Z | test/test.js | classy-org/classy-pay-client | 09bcba3ed805de7908c19a5d0746817eec5965f3 | [
"MIT"
] | 5 | 2017-08-28T14:49:38.000Z | 2021-02-25T21:27:52.000Z | test/test.js | classy-org/classy-pay-client | 09bcba3ed805de7908c19a5d0746817eec5965f3 | [
"MIT"
] | 2 | 2017-12-15T01:17:20.000Z | 2018-01-19T18:06:38.000Z | const PayClient = require('../index.js')({
apiUrl: 'https://pay.classy.org',
timeout: 10000,
token: process.argv[2],
secret: process.argv[3]
});
PayClient.request(
process.argv[4], 'GET', '/transaction/1', {}, (error, result) => {
if (error) {
console.log(error);
} else {
console.log(result);
}
});
| 20.4375 | 70 | 0.593272 |
83fa3b29c52287a20ad4beebb1ebde2342bf9aec | 283 | js | JavaScript | components/icons/Logo.js | jorgeorejas/adivias-vercel | 857f0ae0ac3d8601eab47dd7cd671eacebf32552 | [
"MIT"
] | null | null | null | components/icons/Logo.js | jorgeorejas/adivias-vercel | 857f0ae0ac3d8601eab47dd7cd671eacebf32552 | [
"MIT"
] | null | null | null | components/icons/Logo.js | jorgeorejas/adivias-vercel | 857f0ae0ac3d8601eab47dd7cd671eacebf32552 | [
"MIT"
] | null | null | null | const Logo = ({ className = '', ...props }) => (
<>
<span className="text-base text-2xl font-semibold tracking-wide">
<span className={className}>
Adivi<span className="font-extrabold text-blue">.</span>as
</span>
</span>
</>
);
export default Logo;
| 23.583333 | 69 | 0.590106 |
83fa8efb15998ee7ea849d211e7e8166e148cad8 | 1,603 | js | JavaScript | src/helpers/resHandler.js | luxwarp/todoify-client | de75ead45b86d0a4cd7a4012a917a4cc80a0ced7 | [
"0BSD"
] | 4 | 2019-08-02T07:51:26.000Z | 2020-03-03T19:30:41.000Z | src/helpers/resHandler.js | codeiolo/todoify-client | de75ead45b86d0a4cd7a4012a917a4cc80a0ced7 | [
"0BSD"
] | 8 | 2019-07-07T07:44:48.000Z | 2022-02-26T14:21:55.000Z | src/helpers/resHandler.js | codeiolo/todoify-client | de75ead45b86d0a4cd7a4012a917a4cc80a0ced7 | [
"0BSD"
] | 1 | 2021-12-06T09:41:07.000Z | 2021-12-06T09:41:07.000Z | import Store from "@/store/store";
import Router from "@/router";
const responseHandler = {
response: response => {
Store.commit("hideRequestStatus");
return response;
},
error: error => {
Store.commit("hideRequestStatus");
if (!error.response) {
return Promise.reject(error);
}
// Return any error which is not due to authentication back to the calling service
if (error.response.status !== 401) {
return Promise.reject(error.response.data.errors);
}
// Logout user if token refresh didn't work.
if (error.config.url.includes("refreshtoken")) {
Router.push({ name: "user.login" });
Store.commit("clearTokens");
Store.commit("createNotifier", {
type: "warning",
message: "Not authorized. Please log in."
});
return Promise.reject(error);
}
// Try request again with new token
return window.$todoify
.refreshToken(window.$cookies.get("refreshToken"))
.then(response => {
Store.commit("setTokens", response.data.data);
// New request with new token
const config = error.config;
config.headers.Authorization = response.data.data.accessToken;
return new Promise((resolve, reject) => {
window.$todoify
.customRequest(config)
.then(response => {
resolve(response);
})
.catch(error => {
reject(error);
});
});
})
.catch(error => {
return Promise.reject(error);
});
}
};
export default responseHandler;
| 27.637931 | 86 | 0.587024 |
83faaf02e49237d779969cd6c8f0d88c4cb4d5fe | 2,792 | js | JavaScript | src/js/reducers/index.js | quangkeu95/KyberSwap | 656ffcd759eb6150a2f95a42f9e011c4ae302d94 | [
"MIT"
] | null | null | null | src/js/reducers/index.js | quangkeu95/KyberSwap | 656ffcd759eb6150a2f95a42f9e011c4ae302d94 | [
"MIT"
] | null | null | null | src/js/reducers/index.js | quangkeu95/KyberSwap | 656ffcd759eb6150a2f95a42f9e011c4ae302d94 | [
"MIT"
] | null | null | null | import { combineReducers } from 'redux'
import { persistReducer } from 'redux-persist'
import session from 'redux-persist/lib/storage/session'
//import localForage from 'localforage'
import { routerReducer } from 'react-router-redux'
import * as BLOCKCHAIN_INFO from "../../../env"
import constants from "../services/constants"
import account from './accountReducer'
import tokens from './tokensReducer'
import exchange from './exchangeReducer'
import transfer from './transferReducer'
import global from './globalReducer'
import connection from './connection'
import utils from './utilsReducer'
import txs from './txsReducer'
import locale from './languageReducer'
import market from './marketReducer'
//import { localeReducer } from 'react-localize-redux';
import { localizeReducer } from 'react-localize-redux';
const appReducer = combineReducers({
account, exchange, transfer, connection, router: routerReducer, market,global,
// market: persistReducer({
// key: 'market',
// storage: localForage
// }, market),
locale : localizeReducer,
tokens, txs,
utils,
// locale: persistReducer({
// key: 'locale',
// storage: localForage
// }, locale),
// utils: persistReducer({
// key: 'utils',
// storage: session
// }, utils),
txs: persistReducer({
key: 'txs',
storage: session
}, txs),
// global: persistReducer({
// key: 'global',
// storage: localForage,
// blacklist: ['conn_checker', 'analizeError', 'isOpenAnalyze', 'termOfServiceAccepted']
// }, global)
})
const rootReducer = (state, action) => {
//let isGoToRoot = action.type === '@@router/LOCATION_CHANGE' && action.payload.pathname === constants.BASE_HOST
// if (action.type === 'GLOBAL.CLEAR_SESSION_FULFILLED') {
// var global = {...state.global}
// global.termOfServiceAccepted = true
// var initState = constants.INIT_EXCHANGE_FORM_STATE
// initState.snapshot = constants.INIT_EXCHANGE_FORM_STATE
// initState.maxGasPrice = state.exchange.maxGasPrice
// initState.gasPrice = state.exchange.gasPrice
// initState.gasPriceSuggest = {...state.exchange.gasPriceSuggest}
// var exchange = {...initState}
// state = {
// utils: state.utils,
// global: global,
// connection: state.connection,
// locale: state.locale,
// tokens: state.tokens,
// txs: state.txs,
// exchange: exchange
// }
// }
// let isGoToExchange = action.type === '@@router/LOCATION_CHANGE' && ( (action.payload.pathname === constants.BASE_HOST + '/swap')&&(action.payload.pathname === constants.BASE_HOST + '/transfer') )
// if(isGoToExchange && !state.account.account){
// window.location.href = '/'
// }
return appReducer(state, action)
}
export default rootReducer
| 32.091954 | 200 | 0.673352 |
83fb0949d2c619d8982df51f2693858c5123c099 | 4,747 | js | JavaScript | test/tn.js | dany611/node-bandwidth-iris | cc814c31dac31c4beff2e5ba66ab6d0f52d75555 | [
"MIT"
] | null | null | null | test/tn.js | dany611/node-bandwidth-iris | cc814c31dac31c4beff2e5ba66ab6d0f52d75555 | [
"MIT"
] | null | null | null | test/tn.js | dany611/node-bandwidth-iris | cc814c31dac31c4beff2e5ba66ab6d0f52d75555 | [
"MIT"
] | null | null | null | var lib = require("../");
var helper = require("./helper");
var nock = require("nock");
var Tn = lib.Tn;
describe("Tn", function(){
before(function(){
nock.disableNetConnect();
helper.setupGlobalOptions();
});
after(function(){
nock.cleanAll();
nock.enableNetConnect();
});
describe("#get", function(){
it("should return a tn", function(done){
var span = helper.nock().get("/v1.0/tns/1234").reply(200, helper.xml.tn, {"Content-Type": "application/xml"});
Tn.get(helper.createClient(), "1234", function(err, item){
if(err){
return done(err);
}
span.isDone().should.be.true;
item.telephoneNumber.should.equal(1234);
item.status.should.equal("Inservice");
new Tn();
done();
});
});
it("should return a tn (with default client)", function(done){
var span = helper.nock().get("/v1.0/tns/1234").reply(200, helper.xml.tn, {"Content-Type": "application/xml"});
Tn.get("1234", function(err, item){
if(err){
return done(err);
}
span.isDone().should.be.true;
item.telephoneNumber.should.equal(1234);
item.status.should.equal("Inservice");
new Tn();
done();
});
});
it("should fail for error status code", function(done){
helper.nock().get("/v1.0/tns/1234").reply(400);
Tn.get(helper.createClient(), "1234", function(err){
if(err){
return done();
}
done(new Error("An error is estimated"));
});
});
});
describe("#list", function() {
it("should return a list", function(done){
var span = helper.nock().get("/v1.0/tns?city=CARY&page=1&size=500").reply(200, helper.xml.tns, {"Content-Type": "application/xml"});
Tn.list({city:"CARY"}, function(err, res){
span.isDone().should.be.true;
res.telephoneNumbers.should.be.ok;
res.telephoneNumbers.telephoneNumber.length.should.eql(2);
res.links.should.be.ok;
done();
});
});
});
describe("#getTnDetails", function(){
it("should return tn details", function(done){
var span = helper.nock().get("/v1.0/tns/2018981023/tndetails").reply(200, helper.xml.tnDetails, {"Content-Type": "application/xml"});
var tn = new Tn();
tn.client = helper.createClient();
tn.telephoneNumber = "2018981023";
tn.getTnDetails(function(err,item){
if(err){
return done(err);
}
span.isDone().should.be.true;
item.fullNumber.should.eql(tn.telephoneNumber);
done();
});
});
});
describe("#getSites", function(){
it("should return sites", function(done){
var span = helper.nock().get("/v1.0/tns/1234/sites").reply(200, helper.xml.tnSites, {"Content-Type": "application/xml"});
var tn = new Tn();
tn.client = helper.createClient();
tn.telephoneNumber = "1234";
tn.getSites(function(err, item){
if(err){
return done(err);
}
span.isDone().should.be.true;
item.id.should.equal(1435);
item.name.should.equal("Sales Training");
done();
});
});
});
describe("#getSipPeers", function(){
it("should return peers", function(done){
var span = helper.nock().get("/v1.0/tns/1234/sippeers").reply(200, helper.xml.tnSipPeers, {"Content-Type": "application/xml"});
var tn = new Tn();
tn.client = helper.createClient();
tn.telephoneNumber = "1234";
tn.getSipPeers(function(err, item){
if(err){
return done(err);
}
span.isDone().should.be.true;
item.id.should.equal(4064);
item.name.should.equal("Sales");
done();
});
});
});
describe("#getRateCenter", function(){
it("should return rate center", function(done){
var span = helper.nock().get("/v1.0/tns/1234/ratecenter").reply(200, helper.xml.tnRateCenter, {"Content-Type": "application/xml"});
var tn = new Tn();
tn.client = helper.createClient();
tn.telephoneNumber = "1234";
tn.getRateCenter(function(err, item){
if(err){
return done(err);
}
span.isDone().should.be.true;
item.state.should.equal("CO");
item.rateCenter.should.equal("DENVER");
done();
});
});
it("should fail for error status code", function(done){
helper.nock().get("/v1.0/tns/1234/ratecenter").reply(400);
var tn = new Tn();
tn.client = helper.createClient();
tn.telephoneNumber = "1234";
tn.getRateCenter(function(err){
if(err){
return done();
}
done(new Error("An error is estimated"));
});
});
});
});
| 32.737931 | 139 | 0.568148 |
83fb73abd187b718bcb0c626a687c1106914d527 | 5,473 | js | JavaScript | nodeServer/node_modules/ipfs-http-server/cjs/src/api/resources/pin.js | mark146/usedmoa | 8e84982f27bbc3cfc0a1208e4c43d2adc2867717 | [
"Apache-2.0"
] | null | null | null | nodeServer/node_modules/ipfs-http-server/cjs/src/api/resources/pin.js | mark146/usedmoa | 8e84982f27bbc3cfc0a1208e4c43d2adc2867717 | [
"Apache-2.0"
] | null | null | null | nodeServer/node_modules/ipfs-http-server/cjs/src/api/resources/pin.js | mark146/usedmoa | 8e84982f27bbc3cfc0a1208e4c43d2adc2867717 | [
"Apache-2.0"
] | null | null | null | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var joi = require('../../utils/joi.js');
var Boom = require('@hapi/boom');
var map = require('it-map');
var itPipe = require('it-pipe');
var streamResponse = require('../../utils/stream-response.js');
var all = require('it-all');
var reduce = require('it-reduce');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var Boom__default = /*#__PURE__*/_interopDefaultLegacy(Boom);
var map__default = /*#__PURE__*/_interopDefaultLegacy(map);
var all__default = /*#__PURE__*/_interopDefaultLegacy(all);
var reduce__default = /*#__PURE__*/_interopDefaultLegacy(reduce);
function toPin(type, cid, metadata) {
const output = { Type: type };
if (cid) {
output.Cid = cid;
}
if (metadata) {
output.Metadata = metadata;
}
return output;
}
const lsResource = {
options: {
validate: {
options: {
allowUnknown: true,
stripUnknown: true
},
query: joi.object().keys({
paths: joi.array().single().items(joi.ipfsPath()),
recursive: joi.boolean().default(true),
cidBase: joi.string().default('base58btc'),
type: joi.string().valid('all', 'direct', 'indirect', 'recursive').default('all'),
stream: joi.boolean().default(false),
timeout: joi.timeout()
}).rename('cid-base', 'cidBase', {
override: true,
ignoreUndefined: true
}).rename('arg', 'paths', {
override: true,
ignoreUndefined: true
})
}
},
async handler(request, h) {
const {
app: {signal},
server: {
app: {ipfs}
},
query: {paths, type, cidBase, stream, timeout}
} = request;
const source = ipfs.pin.ls({
paths,
type,
signal,
timeout
});
const base = await ipfs.bases.getBase(cidBase);
if (!stream) {
const res = await itPipe.pipe(source, function collectKeys(source) {
const init = { Keys: {} };
return reduce__default['default'](source, (res, {type, cid, metadata}) => {
res.Keys[cid.toString(base.encoder)] = toPin(type, undefined, metadata);
return res;
}, init);
});
return h.response(res);
}
return streamResponse.streamResponse(request, h, () => itPipe.pipe(source, async function* transform(source) {
yield* map__default['default'](source, ({type, cid, metadata}) => toPin(type, cid.toString(base.encoder), metadata));
}));
}
};
const addResource = {
options: {
validate: {
options: {
allowUnknown: true,
stripUnknown: true
},
query: joi.object().keys({
cids: joi.array().single().items(joi.cid()).min(1).required(),
recursive: joi.boolean().default(true),
cidBase: joi.string().default('base58btc'),
timeout: joi.timeout(),
metadata: joi.json()
}).rename('cid-base', 'cidBase', {
override: true,
ignoreUndefined: true
}).rename('arg', 'cids', {
override: true,
ignoreUndefined: true
})
}
},
async handler(request, h) {
const {
app: {signal},
server: {
app: {ipfs}
},
query: {cids, recursive, cidBase, timeout, metadata}
} = request;
let result;
try {
result = await all__default['default'](ipfs.pin.addAll(cids.map(cid => ({
cid,
recursive,
metadata
})), {
signal,
timeout
}));
} catch (err) {
if (err.code === 'ERR_BAD_PATH') {
throw Boom__default['default'].boomify(err, { statusCode: 400 });
}
if (err.message.includes('already pinned recursively')) {
throw Boom__default['default'].boomify(err, { statusCode: 400 });
}
throw Boom__default['default'].boomify(err, { message: 'Failed to add pin' });
}
const base = await ipfs.bases.getBase(cidBase);
return h.response({ Pins: result.map(cid => cid.toString(base.encoder)) });
}
};
const rmResource = {
options: {
validate: {
options: {
allowUnknown: true,
stripUnknown: true
},
query: joi.object().keys({
cids: joi.array().single().items(joi.cid()).min(1).required(),
recursive: joi.boolean().default(true),
cidBase: joi.string().default('base58btc'),
timeout: joi.timeout()
}).rename('cid-base', 'cidBase', {
override: true,
ignoreUndefined: true
}).rename('arg', 'cids', {
override: true,
ignoreUndefined: true
})
}
},
async handler(request, h) {
const {
app: {signal},
server: {
app: {ipfs}
},
query: {cids, recursive, cidBase, timeout}
} = request;
let result;
try {
result = await all__default['default'](ipfs.pin.rmAll(cids.map(cid => ({
cid,
recursive
})), {
signal,
timeout
}));
} catch (err) {
if (err.code === 'ERR_BAD_PATH') {
throw Boom__default['default'].boomify(err, { statusCode: 400 });
}
throw Boom__default['default'].boomify(err, { message: 'Failed to remove pin' });
}
const base = await ipfs.bases.getBase(cidBase);
return h.response({ Pins: result.map(cid => cid.toString(base.encoder)) });
}
};
exports.addResource = addResource;
exports.lsResource = lsResource;
exports.rmResource = rmResource;
| 29.111702 | 123 | 0.573726 |
83fbd66f579a44001aaeeb0345266d70f3e6c8e6 | 35,265 | js | JavaScript | balancer.js | SunnyDazePewPew/OverwatchParty | 81c7591dbcc462ddae60a892e1f94cf5cc664d6b | [
"MIT"
] | 15 | 2018-01-05T04:16:04.000Z | 2022-03-29T19:29:43.000Z | balancer.js | SunnyDazePewPew/OverwatchParty | 81c7591dbcc462ddae60a892e1f94cf5cc664d6b | [
"MIT"
] | 9 | 2018-08-09T17:08:18.000Z | 2020-12-30T21:39:41.000Z | balancer.js | SunnyDazePewPew/OverwatchParty | 81c7591dbcc462ddae60a892e1f94cf5cc664d6b | [
"MIT"
] | 6 | 2019-06-09T14:35:52.000Z | 2022-01-25T22:09:45.000Z | /*
* Team balancer
*/
var Balancer = {
// input properties
players: [], // put active players here
// output properties
team1: [], // output team 1 (without role lock)
team2: [], // output team 2 (without role lock)
team1_slots: {}, // output team 1 by classes (with role lock)
team2_slots: {}, // output team 2 by classes (with role lock)
is_successfull: false, // indicates if any balanced combinations found
is_rolelock: false, // if true, output teams are team1_slots and team2_slots
// callbacks
onDebugMessage: undefined,
onProgressChange: undefined,
// common settings
// by each class. Example: {'dps':2, 'tank':2, 'support':2}
slots_count: {},
// balancing algorithm
// "classic" - old method without role lock
// "rolelock" - new method with roles
// "rolelockfallback" - try balance with role lock first. If not possible - uses classic method
algorithm: "rolelockfallback",
// do not place similar one-trick-ponies together
separate_otps: true,
// while calculating player's SR will be adjusted by given percent,
// depenging on player's main class (classic method) or role slot in team (with role lock)
// example: adjust_sr_by_class: {'dps':120, 'tank':100, 'support':80},
adjust_sr: false,
adjust_sr_by_class: {},
// combinations with objective function value within range of [OF_min...OF_min+OF_thresold] are considered as balanced
OF_thresold: 10,
// if debug messages enabled through onDebugMessage callcack
roll_debug: false,
// 0 - minimum dbg messages
// 1 - show details for best found combintation
// 2 - show details for all combinations (could crash with role lock!)
debug_level: 0,
// setting for classic algorithm
// method for calculating player SR as single number. See get_player_sr function
classic_sr_calc_method: "main",
// 0 - prioritize equal teams SR, 100 - prioritize equal classes (for classic algorithm without role lock)
balance_priority_classic: 50,
// setting for role lock algorithm
// 0 - prioritize equal teams SR, 100 - prioritize players sitting on their main class (for new algorithm with role lock)
balance_priority_rolelock: 50,
// internal properties
team_size: 0,
// correction coefficient for SR difference in objective function calculation
// 100 = no correction
balance_max_sr_diff: 100,
// bit mask for selecting players. 1 = player in team 1, 0 = in team 2.
player_selection_mask: [],
// arrays of players' structures for current combination
picked_players_team1: [],
picked_players_team2: [],
// mask for current class combination (role lock balancer)
// each element is index of selected class (index in player.classes) of specified player
// elements are handled as digits of specified base (=amount of game classes)
class_selection_mask: [],
// array for counting classes in current combination (role lock balancer)
// index in array = index of class in class_names
// value = amount of players on specified class in team
combination_class_count: [],
// current minimum value for objective function
OF_min: 0,
// map for storing found valid combinations of players (and classes for role lock balancer)
// key = player selection mask as string (classic balancer)
// or player selection mask and class selection masks for both teams as strings, separated by space (role lock balancer)
// value = objective function value
combinations: new Map(),
// array of best found balance variants
balanced_combinations: [],
// string with all balancer input data (setting and players) from previuos run
old_state: "",
dbg_class_combinations: 0,
dbg_printed_lines: 0,
// public methods
balanceTeams: function() {
var start_time = performance.now();
// calc total team size
this.team_size = 0;
for( let class_name in this.slots_count ) {
this.team_size += this.slots_count[class_name];
}
this.debugMsg( "team size="+this.team_size );
// init output properties
this.team1 = [];
this.team2 = [];
init_team_slots( this.team1_slots );
init_team_slots( this.team2_slots );
// check if we have enough players
if ( this.players.length < this.team_size ) {
this.debugMsg( "not enough players" );
this.is_successfull = false;
this.is_rolelock = false;
return;
}
// sort players by id
// otherwise combinations cache will be invalid
this.players.sort( function(player1, player2){
return ( player1.id<player2.id ? -1 : (player1.id>player2.id?1:0) )
} );
// check if all input data is identical to previous run
this.debugMsg( "old state: "+this.old_state, 1 );
var new_state = this.getBalancerStateString();
this.debugMsg( "new state: "+new_state, 1 );
if ( new_state == this.old_state ) {
this.debugMsg( "input data not changed, returning another variant from cache" );
if ( this.is_rolelock ) {
this.is_successfull = this.buildRandomBalanceVariantRolelock();
} else {
this.is_successfull = this.buildRandomBalanceVariantClassic();
}
} else {
this.debugMsg( "input data changed, calculating new balance" );
this.old_state = new_state;
// balance magic
if ( this.algorithm == "classic" ) {
this.debugMsg( "using classic alg" );
this.is_successfull = this.balanceTeamsClassic();
this.is_rolelock = false;
} else if ( this.algorithm == "rolelock" ) {
this.debugMsg( "using rolelock alg" );
this.is_successfull = this.balanceTeamsRoleLock();
this.is_rolelock = true;
} else if ( this.algorithm == "rolelockfallback" ) {
this.debugMsg( "using rolelockfallback alg" );
this.is_successfull = this.balanceTeamsRoleLock();
if ( this.is_successfull ) {
this.is_rolelock = true;
} else {
this.debugMsg( "balance not possible with role lock, fallback to classic" );
this.is_successfull = this.balanceTeamsClassic();
this.is_rolelock = false;
}
} else {
this.debugMsg( "unknown alg"+this.algorithm );
this.is_successfull = false;
this.is_rolelock = false;
}
}
var execTime = performance.now() - start_time;
this.debugMsg( "Exec time "+execTime+" ms" );
},
// private methods
balanceTeamsClassic: function() {
// init
this.initPlayerMask();
this.OF_min = Number.MAX_VALUE;
this.combinations.clear();
this.dbg_printed_lines = 0;
// iterate through all possible player combinations and calc objective function (OF)
// best balanced combinations are with minimum OF value, 0 = perfect
while ( this.findNextPlayerMask() ) {
this.picked_players_team1 = this.pickPlayersByMask( this.player_selection_mask );
this.picked_players_team2 = this.pickPlayersByMask( this.maskInvert(this.player_selection_mask) );
// calc objective function
var OF_current = this.calcObjectiveFunctionClassic();
if ( OF_current < this.OF_min ) {
this.OF_min = OF_current;
}
// store combination in map
var mask_string = this.maskToString( this.player_selection_mask );
this.combinations.set( mask_string, OF_current );
// print detailed info to debug out
if ( (this.debug_level>=2) && (this.dbg_printed_lines<500) ) {
this.dbg_printed_lines++;
this.debugMsg( mask_string, 2 );
this.dbgPrintCombinationInfoClassic( mask_string );
}
};
// filter balanced combinations within OF thresold around minimum and return random one
this.debugMsg( "best OF = "+this.OF_min );
this.debugMsg( "stored combinations count = "+this.combinations.size );
this.debugMsg( "best combinations:" );
this.balanced_combinations = [];
for (var [mask_string, OF_value] of this.combinations) {
if ( (OF_value-this.OF_min) <= this.OF_thresold ) {
this.balanced_combinations.push( mask_string );
if ( (this.debug_level>=1) && (this.dbg_printed_lines<500) ) {
this.dbg_printed_lines++;
this.debugMsg( "#"+(this.balanced_combinations.length-1)+" = "+mask_string, 1 );
this.dbgPrintCombinationInfoClassic( mask_string );
}
}
}
// clean up bad variants
this.combinations.clear();
return this.buildRandomBalanceVariantClassic();
},
buildRandomBalanceVariantClassic: function() {
this.debugMsg( "best combinations count = "+this.balanced_combinations.length );
if ( this.balanced_combinations.length == 0 ) {
// no possible balance found
return false;
}
// pick random one of best found combinations
var selected_mask_index = Math.floor(Math.random() * (this.balanced_combinations.length));
var selected_mask_string = this.balanced_combinations[ selected_mask_index ];
this.player_selection_mask = this.maskFromString( selected_mask_string );
this.debugMsg( "selected combination #"+selected_mask_index+" = "+selected_mask_string );
this.dbgPrintCombinationInfoClassic( selected_mask_string );
// form teams according to selected mask
this.team1 = this.pickPlayersByMask( this.player_selection_mask, true );
this.team2 = [];
for( let i=0; i<this.team_size; i++ ) {
let player = this.players.pop();
if ( player !== undefined ) {
this.team2.push( player );
} else {
break;
}
}
return true;
},
balanceTeamsRoleLock: function() {
//return false;
// init
this.initPlayerMask();
this.OF_min = Number.MAX_VALUE;
this.combinations.clear();
var players_combinations = 0;
var class_combinations_total = 0;
var class_combinations_valid = 0;
this.dbg_printed_lines = 0;
var target_players_combinations = factorial(this.team_size*2) / ( factorial(this.team_size) * factorial(this.team_size) );
this.debugMsg( "target_players_combinations = "+target_players_combinations );
var previous_progress = 0;
// iterate through all possible player and class combinations and calc objective function (OF)
// best balanced combinations are with minimum OF value, 0 = perfect
// player combinations loop
while ( this.findNextPlayerMask() ) {
if(typeof this.onProgressChange == "function") {
var current_progress = Math.round( (players_combinations / target_players_combinations)*100 );
if ( current_progress > previous_progress ) {
this.onProgressChange.call( undefined, current_progress );
previous_progress = current_progress;
}
}
players_combinations++;
this.picked_players_team1 = this.pickPlayersByMask( this.player_selection_mask );
this.picked_players_team2 = this.pickPlayersByMask( this.maskInvert(this.player_selection_mask) );
// iterate through all possible player classes combinations for team 1
this.class_selection_mask_team1 = Array(this.team_size).fill(0);
do {
if ( ! this.classMaskValid( this.picked_players_team1, this.class_selection_mask_team1 ) ) {
class_combinations_total++;
continue;
}
// iterate through all possible player classes combinations for team 2
this.class_selection_mask_team2 = Array(this.team_size).fill(0);
do {
class_combinations_total++;
if ( ! this.classMaskValid( this.picked_players_team2, this.class_selection_mask_team2 ) ) {
continue;
}
class_combinations_valid++;
// calc objective function
var OF_current = this.calcObjectiveFunctionRoleLock();
if ( (OF_current-this.OF_min) > this.OF_thresold ) {
// trash combination, do not save
continue;
}
if ( OF_current < this.OF_min ) {
this.OF_min = OF_current;
}
// store combination in map
var mask_string = this.maskToString(this.player_selection_mask)
+" "+this.maskToString(this.class_selection_mask_team1)
+" "+this.maskToString(this.class_selection_mask_team2);
this.combinations.set( mask_string, OF_current );
// print detailed info to debug out
if ( (this.debug_level>=2) && (this.dbg_printed_lines<500) ) {
this.dbg_printed_lines++;
this.debugMsg( mask_string, 2 );
this.dbgPrintCombinationInfoRoleLock( mask_string );
}
} while ( this.incrementClassMask( this.class_selection_mask_team2 ) );
} while ( this.incrementClassMask( this.class_selection_mask_team1 ) );
}
this.debugMsg( "best OF = "+this.OF_min );
this.debugMsg( "stored combinations count = "+this.combinations.size );
this.debugMsg( "total player combinations count = "+players_combinations );
this.debugMsg( "total class combinations count = "+class_combinations_total );
this.debugMsg( "valid class combinations count = "+class_combinations_valid );
// filter balanced combinations within OF thresold around minimum
this.debugMsg( "best combinations:", 1 );
this.balanced_combinations = [];
for (var [mask_string, OF_value] of this.combinations) {
if ( (OF_value-this.OF_min) <= this.OF_thresold ) {
this.balanced_combinations.push( mask_string );
// dbg info
if ( (this.debug_level>=1) && (this.dbg_printed_lines<500) ) {
this.dbg_printed_lines++;
this.debugMsg( "#"+(this.balanced_combinations.length-1)+" = "+mask_string, 1 );
this.dbgPrintCombinationInfoRoleLock( mask_string );
}
}
}
// clean up bad variants
this.combinations.clear();
return this.buildRandomBalanceVariantRolelock();
},
buildRandomBalanceVariantRolelock: function() {
this.debugMsg( "best combinations count = "+this.balanced_combinations.length );
if ( this.balanced_combinations.length == 0 ) {
// no possible balance found
return false;
}
// pick random one of best found combinations
var selected_mask_index = Math.floor(Math.random() * (this.balanced_combinations.length));
var selected_mask_string = this.balanced_combinations[ selected_mask_index ];
this.debugMsg( "selected combination #"+selected_mask_index+" = "+selected_mask_string );
this.dbgPrintCombinationInfoRoleLock( selected_mask_string );
// split masks from string key
var mask_parts = selected_mask_string.split(" ");
this.player_selection_mask = this.maskFromString( mask_parts[0] );
this.class_selection_mask_team1 = this.maskFromString( mask_parts[1] );
this.class_selection_mask_team2 = this.maskFromString( mask_parts[2] );
// place players to teams and role slots according to masks
this.picked_players_team1 = this.pickPlayersByMask( this.player_selection_mask );
this.picked_players_team2 = this.pickPlayersByMask( this.maskInvert(this.player_selection_mask) );
this.team1_slots = this.buildTeamRoleLock( this.picked_players_team1, this.class_selection_mask_team1 );
this.team2_slots = this.buildTeamRoleLock( this.picked_players_team2, this.class_selection_mask_team2 );
return true;
},
// mask functions
maskToString: function( mask ) {
return mask.join('');
},
maskFromString: function( mask_string ) {
mask = mask_string.split('');
mask.forEach( function(item) {
item = Number(item);
});
return mask;
},
maskInvert: function( mask ) {
var mask_inv = [];
for( let i=0; i<mask.length; i++ ) {
mask_inv.push( (mask[i]==0 ? 1 : 0) );
};
return mask_inv;
},
initPlayerMask: function () {
// start at ...00000111110
this.player_selection_mask = Array(this.players.length - this.team_size).fill(0).concat( Array(this.team_size).fill(1) );
this.player_selection_mask[this.players.length-1] = 0;
},
findNextPlayerMask: function() {
return this.findNextPlayerMaskIncrement();
},
findNextPlayerMaskIncrement: function() {
while(true) {
// binary increment mask
if ( ! this.incrementMask( this.player_selection_mask, 2 ) ) {
return false;
}
// check if mask has needed amount of bits
var bits_count = 0;
for ( var index = this.player_selection_mask.length - 1; index >=0; index-- ) {
bits_count += this.player_selection_mask[ index ];
}
if ( bits_count == this.team_size ) {
return true;
}
// stop at 111111000000...
var sum_head = 0;
for ( index=0; index<this.team_size; index++ ) {
sum_head += this.player_selection_mask[ index ];
}
if ( sum_head == this.team_size ) {
return false;
}
}
return false;
},
// increment mask (array): mask = mask + 1
// entire mask is handled as number of specified digit base
incrementMask: function( mask, digit_base ) {
var buf = 1;
for ( var index = mask.length - 1; index >=0; index-- ) {
buf += mask[ index ];
mask[ index ] = buf % digit_base;
buf -= mask[ index ];
if ( buf == 0 ) {
break;
}
buf = Math.floor( buf / digit_base );
}
// overflow check
if ( buf > 0 ) {
return false;
}
return true;
},
incrementClassMask: function( class_selection_mask ) {
return this.incrementMask( class_selection_mask, class_names.length );
},
classMaskValid: function(picked_players, class_selection_mask) {
// object to count classes in mask
for( var global_class_index=0; global_class_index<class_names.length; global_class_index++ ) {
this.combination_class_count[global_class_index] = 0;
}
// count selected classes
for( var i=0; i<class_selection_mask.length; i++ ) {
var class_index = class_selection_mask[i];
// check if player class index is correct
if ( class_index >= picked_players[i].classes.length ) {
return false;
}
var class_name = picked_players[i].classes[class_index];
var global_class_index = class_names.indexOf(class_name);
this.combination_class_count[ global_class_index ] ++;
}
// check if class count equals to slots count
for( var global_class_index=0; global_class_index<class_names.length; global_class_index++ ) {
var class_name = class_names[global_class_index];
if ( this.combination_class_count[global_class_index] != this.slots_count[class_name] ) {
return false;
}
}
return true;
},
// form array of players by specified mask (array)
// if mask element (bit) ar index I is 1 - pick player with index I
pickPlayersByMask: function( mask, remove_selected=false ) {
var picked_players = [];
for( i in mask ) {
if ( mask[i] == 1 ) {
picked_players.push( this.players[i] );
}
}
if ( remove_selected ) {
for ( i=mask.length-1; i>=0; i-- ) {
if ( mask[i] == 1 ) {
this.players.splice( i, 1 );
}
}
}
return picked_players;
},
// private calculation functions for classic algorithm
// objective function (OF) calculation for current players combination
// objective function is a measure of balance for combination.
// smaller value indicates better balanced combination, 0 = perfect balance
calcObjectiveFunctionClassic: function( print_debug=false ) {
// for classic balancer OF is a combined value of 3 factors:
// 1) difference in teams' average SR
// 2) difference in amount of players with each class
// 3) presence of similar 'one trick ponies' in the same team (if enabled)
// each factor is normalized as SR difference
// weights of factors 1 and 2 is adjusted by balance_priority_classic
// factor 3 simply adds huge value if any team has similar one-tricks
var team1_sr = this.calcTeamSRClassic(this.picked_players_team1);
var team2_sr = this.calcTeamSRClassic(this.picked_players_team2);
var sr_diff = Math.abs( team1_sr - team2_sr );
var class_unevenness = this.calcClassUnevennessClassic( this.picked_players_team1, this.picked_players_team2 );
var otp_conflicts = 0;
if (this.separate_otps) {
otp_conflicts = this.calcOTPConflicts( this.picked_players_team1 ) + this.calcOTPConflicts( this.picked_players_team2 );
}
var of_value = this.calcObjectiveFunctionValueClassic( sr_diff, class_unevenness, otp_conflicts );
if ( print_debug ) {
this.debugMsg ( "team1 sr = " + team1_sr + ", team2 sr = " + team2_sr +", sr diff = "+sr_diff+
", cu = "+class_unevenness+", otp = "+otp_conflicts+", of = "+of_value );
}
return of_value;
},
calcObjectiveFunctionValueClassic: function( sr_diff, class_unevenness, otp_conflicts ) {
var OF =
(class_unevenness * this.balance_priority_classic
+ (sr_diff/this.balance_max_sr_diff*100)*(100-this.balance_priority_classic)
+ otp_conflicts )
/100 ;
return round_to( OF, 1 );
},
// calculates average team SR
calcTeamSRClassic: function( team ) {
var team_sr = 0;
if (team.length > 0) {
for( var i=0; i<team.length; i++) {
var player_sr = team[i].sr;
player_sr = this.calcPlayerSRClassic( team[i] );
team_sr += player_sr;
}
team_sr = Math.round(team_sr / this.team_size);
}
return team_sr;
},
// calculates player SR with adjusment by class (if enabled)
calcPlayerSRClassic: function ( player ) {
var player_sr = get_player_sr( player, this.classic_sr_calc_method );
if ( this.adjust_sr ) {
if ( player.classes !== undefined ) {
var top_class = player.classes[0];
// @todo why appling only for players with 1 class? o_0
if( (top_class !== undefined) && (player.classes.length == 1) ) {
player_sr = Math.round( player_sr * is_undefined(this.adjust_sr_by_class[top_class],100)/100 );
}
}
}
return player_sr;
},
// calculates measure of difference in amount of players of each class across teams
// players with only 1 main class counted as 1 unit
// players with multiple classes counted as 2/3 units for main class and 1/3 units for each offclass
// resulting value is normalized as SR difference
// difference for 1 unit in each class equals to 100 SR difference in average SR
// 2 units = 400 SR
//
// example 1:
// team 1 = 2 tanks, 1 dps, 3 supports;
// team 1 = 2 tanks, 2 dps, 2 supports;
// class difference = 1+1 units = 200 SR difference
//
// example 2:
// team 1 = 2.6 tanks, 2.2 dps, 1.25 supports;
// team 1 = 2.25 tanks, 2.25 dps, 1.5 supports;
// class difference = 0.35 + 0.05 + 0.25 units = 12.3 + 0.3 + 6.3 = 18.9 SR difference
calcClassUnevennessClassic: function ( team1, team2 ) {
var class_count = [];
var teams = [team1, team2];
for ( let t in teams ) {
var current_class_count = {};
for( let class_name of class_names ) {
current_class_count[class_name] = 0;
}
for( let player of teams[t]) {
if ( player.classes.length == 2 ) {
current_class_count[player.classes[0]] += 2/3;
current_class_count[player.classes[1]] += 1/3;
} else if ( player.classes.length == 1 ) {
current_class_count[player.classes[0]] += 1;
} else if ( player.classes.length == 3 ) {
current_class_count[player.classes[0]] += 0.5;
current_class_count[player.classes[1]] += 0.25;
current_class_count[player.classes[2]] += 0.25;
}
}
class_count[t] = current_class_count;
}
var total_class_unevenness = 0;
for( let class_name of class_names ) {
total_class_unevenness += this.calcClassUnevennessValueClassic( class_count[0][class_name], class_count[1][class_name] );
}
return round_to( total_class_unevenness, 1 );
},
calcClassUnevennessValueClassic: function ( class_count_1, class_count_2 ) {
return 100*Math.pow((class_count_1 - class_count_2), 2);
},
calcOTPConflicts: function( team ) {
var otp_conflicts_count = 0;
// array of one-trick ponies (hero names) in current team
var current_team_otps = [];
for( p in team) {
if ( team[p].top_heroes.length == 1 ) {
var current_otp = team[p].top_heroes[0].hero;
if (current_team_otps.indexOf(current_otp) == -1) {
current_team_otps.push( current_otp );
} else {
otp_conflicts_count++;
}
}
}
return otp_conflicts_count * 10000;
},
// private calculation functions for role lock algorithm
// objective function (OF) calculation for current players and class combination
// objective function is a measure of balance for combination
// smaller value indicates better balanced combination, 0 = perfect balance
calcObjectiveFunctionRoleLock: function( print_debug=false ) {
// for role lock balancer OF is a combined value of 3 factors:
// 1) difference in teams' average SR
// 2) amount of players sitting on role which is not their main class (i.e. playing on offclass)
// 3) presence of similar 'one trick ponies' in the same team (if enabled)
// each factor is normalized as SR difference
// weights of factors 1 and 2 is adjusted by balance_priority_rolelock
// factor 3 simply adds huge value if any team has similar one-tricks
var team1_sr = this.calcTeamSRRoleLock( this.picked_players_team1, this.class_selection_mask_team1 );
var team2_sr = this.calcTeamSRRoleLock( this.picked_players_team2, this.class_selection_mask_team2 );
var sr_diff = Math.abs( team1_sr - team2_sr );
var class_mismatch = this.calcClassMismatchRoleLock();
var otp_conflicts = 0;
if (this.separate_otps) {
otp_conflicts = this.calcOTPConflicts( this.picked_players_team1 ) + this.calcOTPConflicts( this.picked_players_team2 );
}
var of_value = this.calcObjectiveFunctionValueRoleLock( sr_diff, class_mismatch, otp_conflicts );
if ( print_debug ) {
this.debugMsg ( "team1 sr = " + team1_sr + ", team2 sr = " + team2_sr +", sr diff = "+sr_diff+
", class_mismatch = "+class_mismatch+", otp = "+otp_conflicts+", OF = "+of_value );
}
return of_value;
},
calcTeamSRRoleLock: function( team, class_selection_mask ) {
var team_sr = 0;
if (team.length > 0) {
for( var i=0; i<team.length; i++) {
var slot_class = team[i].classes[ class_selection_mask[i] ];
var player_sr = this.calcPlayerSRRoleLock( team[i], slot_class );
team_sr += player_sr;
}
team_sr = Math.round(team_sr / this.team_size);
}
return team_sr;
},
// calculates player SR for specified role slot, with adjusment by class (if enabled)
calcPlayerSRRoleLock: function ( player, class_name ) {
var player_sr = get_player_sr( player, class_name );
if ( this.adjust_sr ) {
player_sr = Math.round( player_sr * is_undefined(this.adjust_sr_by_class[class_name],100)/100 );
}
return player_sr;
},
// calculates measure of players sitting on offroles (not playing their main class)
// each player player on slot matching his main (first) role = 0 units
// player player on slot matching his second role = 1 units
// player player on slot matching his third role = 1.5 units
// resulting value is normalized as SR difference
// difference for 1 unit equals to 10 SR difference in average SR
// 2 units = 40 SR
// 5 units = 250 SR
calcClassMismatchRoleLock: function() {
var players_on_offclass = 0;
for( var i=0; i<this.picked_players_team1.length; i++) {
var player_struct = this.picked_players_team1[i];
var slot_class = player_struct.classes[ this.class_selection_mask_team1[i] ];
if ( player_struct.classes.indexOf(slot_class) == 1 ) {
players_on_offclass += 1;
} else if ( player_struct.classes.indexOf(slot_class) > 1 ) {
players_on_offclass += 1.5;
}
}
for( var i=0; i<this.picked_players_team2.length; i++) {
var player_struct = this.picked_players_team2[i];
var slot_class = player_struct.classes[ this.class_selection_mask_team2[i] ];
if ( player_struct.classes.indexOf(slot_class) == 1 ) {
players_on_offclass += 1;
} else if ( player_struct.classes.indexOf(slot_class) > 1 ) {
players_on_offclass += 1.5;
}
}
return 10 * Math.pow(players_on_offclass, 2);
},
calcObjectiveFunctionValueRoleLock: function( sr_diff, class_mismatch, otp_conflicts ) {
var OF =
(class_mismatch * this.balance_priority_rolelock
+ (sr_diff/this.balance_max_sr_diff*100)*(100-this.balance_priority_rolelock)
+ otp_conflicts )
/100 ;
return round_to( OF, 1 );
},
// creates team structure with players on specified classes/roles
buildTeamRoleLock: function ( team, class_selection_mask ) {
var slots = {};
init_team_slots( slots );
for( var i=0; i<team.length; i++) {
var slot_class = team[i].classes[ class_selection_mask[i] ];
slots[ slot_class ].push( team[i] );
}
// sort players by sr in each role
for( let class_names in this.slots_count ) {
slots[ class_names ].sort( function(player1, player2){
var val1 = get_player_sr( player1, class_names );
var val2 = get_player_sr( player2, class_names );
return val2 - val1;
} );
}
return slots;
},
// build string representing all balancer settings and players
getBalancerStateString: function() {
// create temporary object with all data affecting balance calculation
// and copy data from this
var tmp_obj = {};
// list of properies affecting balance calculations
var balance_properties = [
"slots_count",
"algorithm",
"separate_otps",
"adjust_sr",
"adjust_sr_by_class",
"OF_thresold",
"classic_sr_calc_method",
"balance_priority_classic",
"balance_priority_rolelock",
"balance_max_sr_diff",
];
for ( let property_name of balance_properties ) {
tmp_obj[property_name] = this[property_name];
}
// copy players
tmp_obj.players = [];
for (let player of this.players) {
tmp_obj.players.push( player );
}
// convert obj to string
var data_string = JSON.stringify(tmp_obj, null, null);
return data_string;
},
// debug functions
debugMsg: function ( msg, msg_debug_level=0 ) {
if ( this.roll_debug && (msg_debug_level<=this.debug_level) ) {
if(typeof this.onDebugMessage == "function") {
this.onDebugMessage.call( undefined, msg );
}
}
},
dbgPrintCombinationInfoClassic: function( mask_string ) {
if ( this.roll_debug ) {
if(typeof this.onDebugMessage == "function") {
this.player_selection_mask = this.maskFromString( mask_string );
this.picked_players_team1 = this.pickPlayersByMask( this.player_selection_mask );
this.picked_players_team2 = this.pickPlayersByMask( this.maskInvert(this.player_selection_mask) );
var picked_players_string = "{ ";
for( var i=0; i<this.picked_players_team1.length; i++ ) {
picked_players_string += this.picked_players_team1[i].id;
picked_players_string += ", ";
}
picked_players_string += " }";
this.onDebugMessage.call( undefined, "team1 = " + picked_players_string);
var picked_players_string = "{ ";
for( var i=0; i<this.picked_players_team2.length; i++ ) {
picked_players_string += this.picked_players_team2[i].id;
picked_players_string += ", ";
}
picked_players_string += " }";
this.onDebugMessage.call( undefined, "team2 = " + picked_players_string);
var OF_current = this.calcObjectiveFunctionClassic( true );
this.onDebugMessage.call( undefined, "OF = " + OF_current);
}
}
},
dbgPrintCombinationInfoRoleLock: function( mask_string ) {
if ( this.roll_debug ) {
if(typeof this.onDebugMessage == "function") {
var mask_parts = mask_string.split(" ");
this.player_selection_mask = this.maskFromString( mask_parts[0] );
this.picked_players_team1 = this.pickPlayersByMask( this.player_selection_mask );
this.picked_players_team2 = this.pickPlayersByMask( this.maskInvert(this.player_selection_mask) );
this.class_selection_mask_team1 = this.maskFromString( mask_parts[1] );
this.class_selection_mask_team2 = this.maskFromString( mask_parts[2] );
var picked_players_string = "{ ";
for( var i=0; i<this.picked_players_team1.length; i++ ) {
picked_players_string += this.picked_players_team1[i].id;
picked_players_string += "=";
picked_players_string += this.picked_players_team1[i].classes[ this.class_selection_mask_team1[i] ];
picked_players_string += ", ";
}
picked_players_string += " }";
this.onDebugMessage.call( undefined, "team1 = " + picked_players_string);
var picked_players_string = "{ ";
for( var i=0; i<this.picked_players_team2.length; i++ ) {
picked_players_string += this.picked_players_team2[i].id;
picked_players_string += "=";
picked_players_string += this.picked_players_team2[i].classes[ this.class_selection_mask_team2[i] ];
picked_players_string += ", ";
}
picked_players_string += " }";
this.onDebugMessage.call( undefined, "team2 = " + picked_players_string);
var OF_current = this.calcObjectiveFunctionRoleLock( true );
this.onDebugMessage.call( undefined, "OF = " + OF_current);
}
}
},
}
// Algorithm testing
//
// Role Lock algorithm:
// total possible combinations count = (player combination count) * (class combination count)
// player combination count = (team_size*2)! / ( (team_size)! * ((team_size*2)−(team_size))! )
// = (team_size*2)! / ( (team_size)! * (team_size)! )
// for 6 * 6 teams
// player combination count = 6! / ( 6! * (12-6)! ) = 924
// class combination count depends on players' class count
// valid combination count (where OF will be calculated) also depends on slots.
//
// Worst case scenario (all players have 3 active classes, 2-2-2 slots):
// class combination count = 3^6 * 3^6 = 729 * 729 = 531 441
// total possible combinations count = 924 * 531 441 = 491 051 484
//
// Some real cases benchmarks (Firefox 60 32bit, Core i5 6500):
// initial code version, no optimisations
// 6*6 teams, 2-2-2 slots
// total combinations = 3M, valid combinations = 7K = 0.7 seconds
// total combinations = 6M, valid combinations = 39K = 1.6 seconds
// total combinations = 8M, valid combinations = 91K = 2.6 seconds
// total combinations = 12M, valid combinations = 164K = 4.5 seconds
// total combinations = 19M, valid combinations = 500K = 9.1 seconds
// total combinations = 30M, valid combinations = 1572K = 23.4 seconds
// total combinations = 35M, valid combinations = 2222K = 31.0 seconds
// worst case - all players have 3 classes:
// total combinations = 61M, valid combinations = 7484K = 90.9 seconds
//
// Chrome 76 64bit, Core i5 6500
// total combinations = 61M, valid combinations = 7484K = 53.5 seconds
//
//---------------------------------------
//
// Optimization tests for role lock algorithm
// Chrome 76 64bit, Core i5 6500
//
// total combinations = 8M, valid combinations = 58K
// initial code = 1750 ms
// + global class count obj in classMaskValid = 1750 ms
// + global array for class count instead of obj in classMaskValid = 1135 ms
// + class mask increment break on buf=0 = 550 ms
// + do not store trash combinations in map = 520 ms
//
// total combinations = 61M, valid combinations = 7484K
// all optimisations = 35.8 seconds
| 36.619938 | 126 | 0.678406 |
83fcec717650fb86f7dda15ed634ca2912294f50 | 3,921 | js | JavaScript | arman-ui-npm/lib/button/index.js | Arman19941113/arman-ui | db9204f45a5497a521d2f9289688ab12e2700d24 | [
"MIT"
] | null | null | null | arman-ui-npm/lib/button/index.js | Arman19941113/arman-ui | db9204f45a5497a521d2f9289688ab12e2700d24 | [
"MIT"
] | null | null | null | arman-ui-npm/lib/button/index.js | Arman19941113/arman-ui | db9204f45a5497a521d2f9289688ab12e2700d24 | [
"MIT"
] | 1 | 2019-03-17T03:34:53.000Z | 2019-03-17T03:34:53.000Z | import { computed, ref, resolveComponent, openBlock, createBlock, createVNode, createCommentVNode, renderSlot, toDisplayString } from 'vue';
import AIcon from 'arman-ui/lib/icon';
var script = {
name: 'AButton',
components: {
AIcon: AIcon
},
props: {
theme: {
type: String,
"default": 'default',
validator: function validator(value) {
if (['default', 'primary', 'success', 'warning', 'danger'].includes(value)) {
return true;
} else {
console.error("theme property is not valid: '".concat(value, "'"));
return false;
}
}
},
leftIcon: {
type: String,
"default": ''
},
rightIcon: {
type: String,
"default": ''
},
loading: {
type: Boolean,
"default": false
},
loadingText: {
type: String,
"default": ''
},
round: {
type: Boolean,
"default": false
},
disabled: {
type: Boolean,
"default": false
}
},
setup: function setup(props, context) {
var _useClickButton = useClickButton(),
isClicked = _useClickButton.isClicked,
handleClick = _useClickButton.handleClick;
var hasSlots = computed(function () {
return Boolean(context.slots["default"]);
});
return {
isClicked: isClicked,
handleClick: handleClick,
hasSlots: hasSlots
};
}
};
function useClickButton() {
var isClicked = ref(false);
function handleClick() {
isClicked.value = true;
setTimeout(function () {
isClicked.value = false;
}, 300);
}
return {
isClicked: isClicked,
handleClick: handleClick
};
}
const _hoisted_1 = {
key: 0,
class: "a-button-loading"
};
const _hoisted_2 = {
key: 0,
class: "loading-text"
};
function render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_AIcon = resolveComponent("AIcon");
return (openBlock(), createBlock("button", {
class: ['a-button', 'a-button-' + _ctx.theme, _ctx.isClicked && 'isClicked', _ctx.loading && 'is-loading', _ctx.round && 'is-round'],
style: { padding: !_ctx.hasSlots && '0 7px' },
disabled: _ctx.disabled,
onClick: _cache[1] || (_cache[1] = (...args) => (_ctx.handleClick(...args)))
}, [
createVNode("div", {
class: "a-button-content",
style: { visibility: _ctx.loading ? 'hidden' : 'inherit' }
}, [
(_ctx.leftIcon)
? createVNode(_component_AIcon, {
key: 0,
name: _ctx.leftIcon,
width: "16",
class: "button-icon"
}, null, 8 /* PROPS */, ["name"])
: createCommentVNode("v-if", true),
createVNode("span", {
class: "button-text",
style: { 'margin-left': _ctx.leftIcon && _ctx.hasSlots && '5px', 'margin-right': _ctx.rightIcon && _ctx.hasSlots && '5px' }
}, [
renderSlot(_ctx.$slots, "default")
], 4 /* STYLE */),
(_ctx.rightIcon)
? createVNode(_component_AIcon, {
key: 1,
name: _ctx.rightIcon,
width: "16",
class: "button-icon"
}, null, 8 /* PROPS */, ["name"])
: createCommentVNode("v-if", true)
], 4 /* STYLE */),
(_ctx.loading)
? (openBlock(), createBlock("div", _hoisted_1, [
createVNode(_component_AIcon, {
name: "loading",
width: "20",
color: _ctx.theme === 'default' ? '' : '#FFF',
class: "loading-icon"
}, null, 8 /* PROPS */, ["color"]),
(_ctx.loadingText)
? (openBlock(), createBlock("span", _hoisted_2, toDisplayString(_ctx.loadingText), 1 /* TEXT */))
: createCommentVNode("v-if", true)
]))
: createCommentVNode("v-if", true)
], 14 /* CLASS, STYLE, PROPS */, ["disabled"]))
}
script.render = render;
script.__file = "src/components/button/button.vue";
export default script;
| 28.007143 | 140 | 0.552665 |
83fd70aca5867bb87b262ca272fe8d2c01562292 | 574 | js | JavaScript | src/templates/application-letter/helper.js | mikeludemann/handlebars-container-elements | 40b4fb9d5286b5523c9f597ebca83e74fc882b4b | [
"MIT"
] | null | null | null | src/templates/application-letter/helper.js | mikeludemann/handlebars-container-elements | 40b4fb9d5286b5523c9f597ebca83e74fc882b4b | [
"MIT"
] | null | null | null | src/templates/application-letter/helper.js | mikeludemann/handlebars-container-elements | 40b4fb9d5286b5523c9f597ebca83e74fc882b4b | [
"MIT"
] | null | null | null |
Handlebars.registerHelper('fullName', function (person) {
//person = Handlebars.Utils.escapeExpression(person);
var result = person.firstName + " " + person.lastName;
return new Handlebars.SafeString(result);
});
Handlebars.registerHelper("fullDate", function () {
var date = new Date(),
day = date.getDate(),
month,
year = date.getFullYear();
if (date.getMonth() < 10) {
month = "0" + (date.getMonth() + 1);
} else {
month = date.getMonth() + 1;
}
var result = day + "." + month + "." + year;
return new Handlebars.SafeString(result);
});
| 16.882353 | 57 | 0.639373 |
83fda7eecdc939cc3bca1c65bebbc37f99d5bbfa | 4,264 | js | JavaScript | test/fixtures/unit/patient.js | EMRP/blue-button-fhir | bb6232f1b89d9cda49148ecd2fac2de9bf314e82 | [
"Apache-2.0"
] | null | null | null | test/fixtures/unit/patient.js | EMRP/blue-button-fhir | bb6232f1b89d9cda49148ecd2fac2de9bf314e82 | [
"Apache-2.0"
] | null | null | null | test/fixtures/unit/patient.js | EMRP/blue-button-fhir | bb6232f1b89d9cda49148ecd2fac2de9bf314e82 | [
"Apache-2.0"
] | null | null | null | "use strict";
var cases = module.exports = [];
cases[0] = {};
cases[0].resources = [{
"resource": {
"id": "Patient/p-0-0",
"resourceType": "Patient",
"identifier": [{
"system": "urn:oid:2.16.840.1.113883.19.5.99999.2",
"value": "998991"
}, {
"system": "urn:oid:2.16.840.1.113883.4.1",
"value": "111-00-2330"
}],
"name": [{
"family": [
"Jones"
],
"given": [
"Isabella",
"Isa"
]
}],
"telecom": [{
"system": "phone",
"value": "(816)276-6909",
"use": "home"
}],
"gender": "female",
"birthDate": "1975-05-01",
"communication": [{
"language": {
"coding": [{
"code": "en-US",
"system": "urn:ietf:params:language"
}]
}
}],
"address": [{
"use": "home",
"line": [
"1357 Amber Drive"
],
"city": "Beaverton",
"state": "OR",
"postalCode": "97867",
"country": "US"
}],
"maritalStatus": {
"coding": [{
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"code": "M",
"display": "Married"
}]
},
"extension": [{
"url": "http://hl7.org/fhir/StructureDefinition/us-core-religion",
"valueCodeableConcept": {
"coding": [{
"system": "http://hl7.org/fhir/v3/vs/ReligiousAffiliation",
"code": "1013",
"display": "Christian (non-Catholic, non-specific)"
}]
}
}, {
"url": "http://hl7.org/fhir/StructureDefinition/us-core-race",
"valueCodeableConcept": {
"coding": [{
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2106-3",
"display": "White"
}]
}
}, {
"url": "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity",
"valueCodeableConcept": {
"coding": [{
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2186-5",
"display": "Not Hispanic or Latino"
}]
}
}]
}
}];
cases[0].input = cases[0].resources[0];
cases[0].result = {
"name": {
"middle": [
"Isa"
],
"last": "Jones",
"first": "Isabella"
},
"dob": {
"point": {
"date": "1975-05-01T00:00:00.000Z",
"precision": "day"
}
},
"gender": "Female",
"identifiers": [{
"identifier": "2.16.840.1.113883.19.5.99999.2",
"extension": "998991"
}, {
"identifier": "2.16.840.1.113883.4.1",
"extension": "111-00-2330"
}],
"languages": [{
"language": "en-US"
}],
"marital_status": "Married",
"addresses": [{
"street_lines": [
"1357 Amber Drive"
],
"city": "Beaverton",
"state": "OR",
"zip": "97867",
"country": "US",
"use": "home address"
}],
"phone": [{
"number": "(816)276-6909",
"type": "primary home"
}],
"race": "White",
"ethnicity": "Not Hispanic or Latino",
"religion": "Christian (non-Catholic, non-specific)"
};
cases[1] = {};
cases[1].resources = [{
resource: {
"resourceType": "Patient",
"identifier": [{
"system": "http://amida-tech.com",
"value": "JOE_DOE_IDENTIFIER"
}],
"name": [{
"family": [
"DOE"
],
"given": [
"JOE"
]
}]
}
}];
cases[1].input = cases[1].resources[0];
cases[1].result = {
"name": {
"last": "DOE",
"first": "JOE"
},
"identifiers": [{
"identifier": "http://amida-tech.com",
"extension": "JOE_DOE_IDENTIFIER"
}]
};
| 25.230769 | 79 | 0.387195 |
83fe14912286f3d01abe948377e5f610b415e16b | 2,388 | js | JavaScript | karma.conf.js | Intellipharm/js-file-uploader-and-downloader | 69655a2a6ee49fc2590d5b440eb09f615766307d | [
"MIT"
] | null | null | null | karma.conf.js | Intellipharm/js-file-uploader-and-downloader | 69655a2a6ee49fc2590d5b440eb09f615766307d | [
"MIT"
] | null | null | null | karma.conf.js | Intellipharm/js-file-uploader-and-downloader | 69655a2a6ee49fc2590d5b440eb09f615766307d | [
"MIT"
] | 1 | 2018-05-22T09:45:08.000Z | 2018-05-22T09:45:08.000Z | // Karma configuration
// Generated on Tue Jan 27 2015 07:58:14 GMT+1000 (EST)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: [
// 3p dependencies
'bower_components/lodash/dist/lodash.min.js',
'bower_components/js-xls/dist/xls.min.js',
'bower_components/js-xlsx/dist/xlsx.full.min.js',
'bower_components/js-xlsx/dist/ods.js',
'bower_components/file-saver/FileSaver.min.js',
'bower_components/blob/Blob.js',
// test data
'tests-data/*.js',
// src
'src/scripts/modernizr.js',
'src/scripts/js-file.js',
'src/scripts/js-file-settings.js',
'src/scripts/utils/file-util.js',
'src/scripts/models/workbook-model.js',
'src/scripts/models/worksheet-model.js',
'src/scripts/models/worksheet-cell-model.js',
'src/scripts/file-downloader/file-downloader.js',
'src/scripts/file-downloader/file-downloader-service.js',
'src/scripts/file-reader/file-reader.js',
'src/scripts/file-reader/file-reader-service.js',
// tests
'tests/**/*.js'
],
// list of files to exclude
exclude: [
],
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
},
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],
// web server port
port: 9876,
// enable / disable colors in the output (reporters and logs)
colors: true,
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Firefox'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false
});
};
| 26.533333 | 118 | 0.682998 |
83fe32345e3d9d779edc362c1f636ac810140fed | 851 | js | JavaScript | packages/next/client/dev/on-demand-entries-client.js | arthurdenner/next.js | b701d018f2e867a0eabebbe2946c6ce87d8de177 | [
"MIT"
] | 17 | 2017-05-11T16:22:34.000Z | 2022-03-01T21:43:06.000Z | packages/next/client/dev/on-demand-entries-client.js | arthurdenner/next.js | b701d018f2e867a0eabebbe2946c6ce87d8de177 | [
"MIT"
] | 3 | 2017-10-16T21:20:39.000Z | 2018-03-12T17:54:25.000Z | packages/next/client/dev/on-demand-entries-client.js | arthurdenner/next.js | b701d018f2e867a0eabebbe2946c6ce87d8de177 | [
"MIT"
] | 3 | 2017-03-03T14:29:23.000Z | 2019-01-26T21:33:57.000Z | import Router from 'next/router'
import { setupPing, currentPage, closePing } from './on-demand-entries-utils'
export default async ({ assetPrefix }) => {
Router.ready(() => {
Router.events.on(
'routeChangeComplete',
setupPing.bind(this, assetPrefix, () => Router.pathname)
)
})
setupPing(
assetPrefix,
() => Router.query.__NEXT_PAGE || Router.pathname,
currentPage
)
// prevent HMR connection from being closed when running tests
if (!process.env.__NEXT_TEST_MODE) {
document.addEventListener('visibilitychange', (_event) => {
const state = document.visibilityState
if (state === 'visible') {
setupPing(assetPrefix, () => Router.pathname, true)
} else {
closePing()
}
})
window.addEventListener('beforeunload', () => {
closePing()
})
}
}
| 25.029412 | 77 | 0.626322 |
83fe47d319a7a7eebd1906228e5aa191c7d36ca9 | 203 | js | JavaScript | client/src/components/Footer.js | SamSverko/station-two | b6bd36e7c92ce405b01dcd2871620c321d5d7755 | [
"MIT"
] | 2 | 2020-06-04T05:08:12.000Z | 2021-06-12T09:02:18.000Z | client/src/components/Footer.js | SamSverko/station-two | b6bd36e7c92ce405b01dcd2871620c321d5d7755 | [
"MIT"
] | 29 | 2020-05-18T15:33:13.000Z | 2022-02-13T11:54:12.000Z | client/src/components/Footer.js | SamSverko/station-two | b6bd36e7c92ce405b01dcd2871620c321d5d7755 | [
"MIT"
] | null | null | null | // dependencies
import packageJson from '../../package.json'
import React from 'react'
const Footer = () => {
return <p className='mt-3 text-muted'>v{packageJson.version}</p>
}
export default Footer
| 20.3 | 66 | 0.699507 |
83ff87972a5ac2e3ca4da96c9cab23805c5073c4 | 511 | js | JavaScript | api/dist/spa/modules/@heroicons/vue/solid/ArrowCircleRightIcon.js | davidivkovic/web21 | a32c81d8731f4f34c5bd1c6f43654ffd90e4fa88 | [
"Apache-2.0"
] | null | null | null | api/dist/spa/modules/@heroicons/vue/solid/ArrowCircleRightIcon.js | davidivkovic/web21 | a32c81d8731f4f34c5bd1c6f43654ffd90e4fa88 | [
"Apache-2.0"
] | null | null | null | api/dist/spa/modules/@heroicons/vue/solid/ArrowCircleRightIcon.js | davidivkovic/web21 | a32c81d8731f4f34c5bd1c6f43654ffd90e4fa88 | [
"Apache-2.0"
] | null | null | null | import{createVNode as _createVNode,openBlock as _openBlock,createBlock as _createBlock}from"/modules/vue.js";export default function render(e,o){return _openBlock(),_createBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[_createVNode("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z","clip-rule":"evenodd"})])} | 511 | 511 | 0.735812 |
83ffd4401567484c4e84ae40f8b83bf77f37e4e4 | 3,234 | js | JavaScript | src/components/ReactHumanBody/Colon.js | YasminTeles/MegahackWomen | c409030791335a22e641a33c66dffeca5f7ab61f | [
"MIT"
] | 2 | 2020-08-31T16:40:05.000Z | 2020-09-07T19:50:08.000Z | src/components/ReactHumanBody/Colon.js | YasminTeles/MegahackWomen | c409030791335a22e641a33c66dffeca5f7ab61f | [
"MIT"
] | 1 | 2020-08-31T23:10:02.000Z | 2020-08-31T23:10:02.000Z | src/components/ReactHumanBody/Colon.js | YasminTeles/MegahackWomen | c409030791335a22e641a33c66dffeca5f7ab61f | [
"MIT"
] | 1 | 2021-01-03T18:38:39.000Z | 2021-01-03T18:38:39.000Z | import React, { Component } from 'react';
import Tooltip from '@material-ui/core/Tooltip';
class Colon extends Component {
render() { const {onClick, fillColor} = this.props
return (
<Tooltip
title="Colon"
placement="right">
<path
id="colon"
className="colon"
fill={fillColor} onClick={onClick}
fillOpacity="0.5"
stroke="#787878"
strokeWidth="0.5"
d="M279.948,288.077l-0.987-4.124
l0.662-2.406v-6.873l0.325-3.093l-0.325-1.375v-6.874l-0.33-1.375v-5.154l-0.332-1.375l-0.993-2.406l-0.993-1.717l-0.662-0.688
l-1.988-0.688h-1.981l-1.656,0.688h-2.317l-2.313,2.063l-1.985,1.03l-2.316,1.718l-1.985,1.719l-0.994,1.375l-3.313,1.718
l-1.651,1.718l-0.663,1.031l-2.315,1.375l-1.656,1.718l-0.329,0.345l-0.993,0.344l-6.628,2.75l-2.316,0.344l-3.313,1.375h-1.986
l-2.318-0.688l-2.318-0.343l-1.986-1.03L225,268.491l-2-0.344l-1.656-0.688l-1.986-0.344l-2.315-1.031l-2.319-0.688l-1.324-0.687
l-1.653-0.687l-1.324-0.688l-1.656-1.375l-1.657-1.031l-1.32-0.687l-1.657-0.688l-3.646,0.344H198.5l-1.656,1.031l-1.656,1.03
l-2.316,2.062l-0.662,2.063l-1.323,2.063l-1.325,1.031l-1.324,2.748l-1.984,4.813l-0.331,2.749l-2.649,4.124l-0.993,2.406
l-0.331,3.437l-0.33,4.124l-0.993,3.093v5.156l0.662,2.062l0.331,2.406l0.662,4.469l0.993,3.779l2.317,4.469l3.979,2.405
l3.313,1.375h3.646l3.313-1.03l-0.009-3.095l0.33-2.062l-0.66-3.096l-0.331-1.718l-0.993-2.062v-3.438l-1.656-3.093l-0.663-1.031
l-0.662-4.123l0.662-2.404v-3.438l0.663-1.375v-2.405l2.649-2.063v-2.063l0.661-1.031l0.33-3.092l1.324-1.375l0.663-2.406
l-0.785-0.977l3.771,0.977l1.655,2.062l3.313,0.345l1.986,0.688l2.979,1.03h3.313l2.979,1.375l2.98,1.031h1.325l2.646,0.344
l2.98,1.031l2.979,0.344h3.646l1.322-0.344l2.979-1.375h3.313l1.984-2.063h2.648l1.653-1.031h1.654l2.649-1.375l3.313-0.344
l1.985-2.406l2.979-0.688l2.648-2.405l1.983-0.345l-0.658,2.063l0.99,2.406l-0.99,2.406v4.123l0.658,1.719l-0.658,2.406v2.748
l-0.993,1.375l0.329,2.406l-0.993,2.406l0.332,2.406v1.718l-0.993,1.718l-1.323,1.031v2.406l-1.658,1.718v1.718l-1.652,2.406
l-0.661,2.406l-1.654,1.718l-1.986,1.718l-0.66,2.063h-2.317l-0.661,1.718l-2.317,0.343h-2.315l-2.646,1.718H239.9l-1.654,1.718
l-1.655,0.688h-4.971l-1.656,0.687l-1.987,0.347l-0.993,1.718h-2.315l-2.318,1.031l-0.331,2.404l-0.102,0.13
c-0.239,2.772-0.256,6.608,0.665,9.534c4.396-0.555,8.8-0.787,13.218-0.863c0.131-0.386,0.308-0.764,0.521-1.123l-0.392-0.115
l-0.661-1.718l4.313-1.72l1.319-1.029l1.323-0.346l2.318-0.687l1.322-2.063l2.649-0.346h1.655l2.314-0.343l3.313-1.031l2.316-0.343
l2.317-0.344l1.656-2.406h2.646l1.656-2.063l1.323-1.375l2.646-3.438v-1.031l0.994-0.687v-1.375l2.319-2.406v-1.375l2.315-2.749
l0.329-3.093l1.987-2.749l0.993-2.063l-0.33-2.404l0.993-2.405l-0.331-4.468v-3.094L279.948,288.077z"/>
</Tooltip>
)
}
}
export default Colon
| 73.5 | 144 | 0.59431 |
860015c7600610444847c26a9002f0dc4c3240bc | 493 | js | JavaScript | backend-ui/app/js/views/H2ConsoleView.js | making/categolj2-backend | cc08d1e842dd79a009965eb3e98615468ee96310 | [
"Apache-1.1"
] | 18 | 2015-01-10T15:00:21.000Z | 2015-08-30T10:46:34.000Z | backend-ui/app/js/views/H2ConsoleView.js | sqshq/categolj2-backend | cc08d1e842dd79a009965eb3e98615468ee96310 | [
"Apache-1.1"
] | 4 | 2015-01-25T16:26:58.000Z | 2015-05-13T03:47:21.000Z | backend-ui/app/js/views/H2ConsoleView.js | sqshq/categolj2-backend | cc08d1e842dd79a009965eb3e98615468ee96310 | [
"Apache-1.1"
] | 8 | 2016-09-17T21:07:44.000Z | 2022-01-18T05:07:26.000Z | define(function (require) {
var Backbone = require('backbone');
var Handlebars = require('handlebars');
var $ = require('jquery');
var _ = require('underscore');
var h2Console = require('text!js/templates/h2Console.hbs');
return Backbone.View.extend({
template: Handlebars.compile(h2Console),
initialize: function () {
},
render: function () {
this.$el.html(this.template());
return this;
}
});
}); | 25.947368 | 63 | 0.572008 |
86009fea378145faea860cb0cad83fd58ffed8d8 | 1,568 | js | JavaScript | src/App/DFSP/TLSClientCertificates/SentCSRs/selectors.js | kleyow/connection-manager-ui | a88b8c5e4e704aa902f00a21c8540b115059aea3 | [
"Apache-2.0"
] | null | null | null | src/App/DFSP/TLSClientCertificates/SentCSRs/selectors.js | kleyow/connection-manager-ui | a88b8c5e4e704aa902f00a21c8540b115059aea3 | [
"Apache-2.0"
] | null | null | null | src/App/DFSP/TLSClientCertificates/SentCSRs/selectors.js | kleyow/connection-manager-ui | a88b8c5e4e704aa902f00a21c8540b115059aea3 | [
"Apache-2.0"
] | null | null | null | import { createSelector } from 'reselect';
import find from 'lodash/find';
import { createPendingSelector } from '@modusbox/modusbox-ui-components/dist/redux-fetch';
import { getDfspHubExternalCaCertificates } from '../../CertificateAuthorities/HUBExternalCertificateAuthority/selectors';
export const getDfspSentCsrsError = state => state.dfsp.tls.client.csrs.dfspSentCsrsError;
export const getDfspSentCsrsFilter = state => state.dfsp.tls.client.csrs.dfspSentCsrsFilter;
export const getDfspSentCsrsCertificates = state => state.dfsp.tls.client.csrs.dfspSentCsrsCertificates;
export const getIsDfspSentCsrsCertificateModalVisible = state =>
state.dfsp.tls.client.csrs.isDfspSentCsrsCertificateModalVisible;
export const getDfspSentCsrsCertificateModalContent = state =>
state.dfsp.tls.client.csrs.dfspSentCsrsCertificateModalContent;
export const getDfspSentCsrsCertificateModalTitle = state =>
state.dfsp.tls.client.csrs.dfspSentCsrsCertificateModalTitle;
const findCaById = (id, cas) => find(cas, { id });
export const getFilteredDfspSentCsrsCertificates = createSelector(
getDfspHubExternalCaCertificates,
getDfspSentCsrsCertificates,
getDfspSentCsrsFilter,
(cas, certificates, filter) => {
const lowerCaseFilter = filter.toLowerCase();
return certificates
.map(csr => ({
...csr,
externalCa: findCaById(csr.hubCAId, cas),
}))
.filter(csr => csr.csrInfo.subject.CN.toLowerCase().includes(lowerCaseFilter));
}
);
export const getIsDfspSentCsrsPending = createPendingSelector('inboundEnrollments.read');
| 46.117647 | 122 | 0.78699 |
8600aa9a76911aea2a1b63d330213969b1b74ab0 | 1,812 | js | JavaScript | multi/commands/information/serverinfo.js | IzziInside/Mul | 25cb8b02d07a604320a4052bf7d18e74e1f7fc72 | [
"MIT"
] | 3 | 2021-02-08T13:15:22.000Z | 2022-02-21T13:25:43.000Z | multi/commands/information/serverinfo.js | IzziInside/Mul | 25cb8b02d07a604320a4052bf7d18e74e1f7fc72 | [
"MIT"
] | null | null | null | multi/commands/information/serverinfo.js | IzziInside/Mul | 25cb8b02d07a604320a4052bf7d18e74e1f7fc72 | [
"MIT"
] | 1 | 2021-02-05T11:36:01.000Z | 2021-02-05T11:36:01.000Z | const Discord = require('discord.js');
module.exports = {
name: "serverinfo",
category: "information",
description: "Serverinfo command.",
run: async(bot, message, args) => {
let verify = {
"NONE": "Žádný",
"LOW": "Nízký",
"MEDIUM": "Mediúm",
"HIGH": "(╯°□°)╯︵ ┻━┻",
"VERY_HIGH": "┻━┻ミヽ(ಠ益ಠ)ノ彡┻━┻"};
let serverregion = {
"europe": ":flag_eu: Evropa",
"brazil": ":flag_br: Brazílie",
"hongkong": ":flag_hk: Hong Kong",
"india": ":flag_in: Indie",
"japan": ":flag_jp: Japonsko",
"russia": ":flag_ru: Rusko",
"singapore": ":flag_sg: Singapur",
"southafrica": ":flag_za: Jižní Afrika",
"sydney": ":flag_au: Austrálie",
"us-central": ":flag_us: Střední Amerika",
"us-east": ":flag_us: Východ Spojených států amerických",
"us-south": ":flag_us: Jížní Amerika",
"us-west": ":flag_us: Západ Spojených států amerických"
}
let guild = message.guild;
const server = new Discord.MessageEmbed()
.setAuthor(`${guild.name}`)
.setThumbnail(guild.iconURL({format: 'png', format: 'gif'}))
.addField('Owner', `${guild.owner} (**${guild.ownerID}**)`)
.addField('Jméno', `**${guild.name}**`)
.addField('Región', `**${serverregion[guild.region]}**`)
.addField('Úroveň ověření', `${verify[guild.verificationLevel]}`)
.addField('Počet kanalů', `**${guild.channels.cache.size}**`)
.addField('Počet rolí', `**${guild.roles.cache.size}**`)
.addField('Počet emoji', `**${guild.emojis.cache.size}**`)
.addField('Uživatelé', `**${guild.members.cache.filter(member => !member.user.bot).size}** **(${guild.members.cache.filter(member => member.user.bot).size} boti)**`)
.addField('Server vytvořen', `**${guild.createdAt}**`)
.setColor('#E5E5E5')
.setFooter(`ID: ${guild.id}`)
message.channel.send(server)
}
}
| 36.979592 | 167 | 0.610927 |
86018360ce0da2bf02f63f77ecdd23a661dd86ee | 1,654 | js | JavaScript | cjs/decorator/string/IsISO8601.js | kurollo/nestjs-class-validator | 9c5cbe58f6d8fa967277c5ebaa2d9cac29a5708b | [
"MIT"
] | 1 | 2021-07-14T16:47:13.000Z | 2021-07-14T16:47:13.000Z | cjs/decorator/string/IsISO8601.js | kurollo/nestjs-class-validator | 9c5cbe58f6d8fa967277c5ebaa2d9cac29a5708b | [
"MIT"
] | null | null | null | cjs/decorator/string/IsISO8601.js | kurollo/nestjs-class-validator | 9c5cbe58f6d8fa967277c5ebaa2d9cac29a5708b | [
"MIT"
] | null | null | null | "use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.IsISO8601 = exports.isISO8601 = exports.IS_ISO8601 = void 0;
const ValidateBy_1 = require("../common/ValidateBy");
const isISO8601_1 = __importDefault(require("validator/lib/isISO8601"));
exports.IS_ISO8601 = 'isIso8601';
/**
* Checks if the string is a valid ISO 8601 date.
* If given value is not a string, then it returns false.
* Use the option strict = true for additional checks for a valid date, e.g. invalidates dates like 2019-02-29.
*/
function isISO8601(value, options) {
return typeof value === 'string' && isISO8601_1.default(value, options);
}
exports.isISO8601 = isISO8601;
/**
* Checks if the string is a valid ISO 8601 date.
* If given value is not a string, then it returns false.
* Use the option strict = true for additional checks for a valid date, e.g. invalidates dates like 2019-02-29.
*/
function IsISO8601(options, validationOptions) {
const translate = require("../../i18n/"+validationOptions['language']+".json");
return ValidateBy_1.ValidateBy({
name: exports.IS_ISO8601,
constraints: [options],
validator: {
validate: (value, args) => isISO8601(value, args.constraints[0]),
defaultMessage: ValidateBy_1.buildMessage(eachPrefix => eachPrefix + translate['$property must be a valid ISO 8601 date string'], validationOptions),
},
}, validationOptions);
}
exports.IsISO8601 = IsISO8601;
//# sourceMappingURL=IsISO8601.js.map | 45.944444 | 161 | 0.703144 |
8601af0734247137641f37fd6a14f100de28709b | 354 | js | JavaScript | src/reducers/misc.js | Jdemig/muc | 3a2c85adbdd3a56becb285fd1ba40e9a7cff04b8 | [
"MIT"
] | null | null | null | src/reducers/misc.js | Jdemig/muc | 3a2c85adbdd3a56becb285fd1ba40e9a7cff04b8 | [
"MIT"
] | null | null | null | src/reducers/misc.js | Jdemig/muc | 3a2c85adbdd3a56becb285fd1ba40e9a7cff04b8 | [
"MIT"
] | null | null | null | export default function misc(state = {}, action) {
switch (action.type) {
case 'SET_VAL':
return {
...state,
[action.payload.key]: action.payload.value,
};
case 'TOGGLE_MISC':
return {
...state,
[action.payload]: !state[action.payload],
};
default:
break;
}
return state;
}
| 19.666667 | 51 | 0.531073 |
8601d133786347b4543127e74f15c60c6b5baaa9 | 1,227 | js | JavaScript | src/Helpers/Errors/classes.js | zombiQWERTY/express-postgres-auth | 5f72c3a722d5ce695c046b872997cd727cf9c8a2 | [
"WTFPL"
] | null | null | null | src/Helpers/Errors/classes.js | zombiQWERTY/express-postgres-auth | 5f72c3a722d5ce695c046b872997cd727cf9c8a2 | [
"WTFPL"
] | null | null | null | src/Helpers/Errors/classes.js | zombiQWERTY/express-postgres-auth | 5f72c3a722d5ce695c046b872997cd727cf9c8a2 | [
"WTFPL"
] | null | null | null | import R from 'ramda';
export class ApplicationError extends Error {
constructor(...arg) {
super(...arg);
}
}
export class ValidationError extends ApplicationError {
constructor(errors) {
super();
this.errors = errors;
this.name = 'ValidationError';
}
}
export class AuthenticationError extends ApplicationError {
constructor(message) {
super(message || 'User not found.');
this.status = 401;
this.name = 'AuthenticationError';
this.detail = message || 'User not found.';
}
}
export class DBError extends ApplicationError {
constructor() {
super('Database error.');
this.name = 'DatabaseError';
}
}
const isPgError = R.allPass([R.has('severity'), R.has('internalPosition'), R.has('file'), R.has('routine')]);
export const manipulateErrorData = error => {
const errors = R.pathOr(undefined, ['errors'], error);
let message = R.pathOr(undefined, ['message'], error);
if (error && isPgError(error)) {
error = new DBError(error);
return { message: error.message, success: false };
}
if (error.message && error.message.includes('invalid values')) {
message = undefined;
}
return { errors, message, detail: error.detail, success: false };
};
| 24.54 | 109 | 0.664222 |
86035b8600d47eef1a56cd62632d1a843a49f92d | 2,738 | js | JavaScript | api/courseAPI.js | annguyen97dev/Dolphin | f26582173d30b1b5ec8ba3ab2f965f88ed264f1a | [
"MIT"
] | null | null | null | api/courseAPI.js | annguyen97dev/Dolphin | f26582173d30b1b5ec8ba3ab2f965f88ed264f1a | [
"MIT"
] | null | null | null | api/courseAPI.js | annguyen97dev/Dolphin | f26582173d30b1b5ec8ba3ab2f965f88ed264f1a | [
"MIT"
] | null | null | null | import instance, { getAccessToken } from './instanceAPI';
import { appSettings } from '~/config';
let uid = appSettings.uid;
const path = '/DolphinStudentApi';
export const courseAPI = async (filterValue, page, token) => {
let result;
try {
let res = await instance.get(path + '/GetCourse', {
params: {
groupCourseID: filterValue,
page: page,
token: token,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
export const courseAPI_all = async (token) => {
let result;
try {
let res = await instance.get(path + '/GetCourse', {
params: {
token: token,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
export const courseSectionAPI = async (courseID, token) => {
let result;
try {
let res = await instance.get(path + '/GetSection', {
params: {
courseID: courseID,
token: token,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
export const courseGroupAPI = async (token) => {
let result;
try {
let res = await instance.get(path + '/GetGroupCourse', {
params: {
token: token,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
export const detailLessonAPI = async (lessonID, token) => {
let result;
try {
let res = await instance.get(path + '/GetDetailLesson', {
params: {
lessonID: lessonID,
token: token,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
export const submitResult = async (dataResult) => {
let result;
try {
let res = await instance.get(path + '/SubmitResult', {
params: {
uid: uid,
...dataResult,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
export const courseRating = async (value, courseID, token) => {
let result;
try {
let res = await instance.get(path + '/SubmitRate', {
params: {
SettingCourseID: courseID,
rate: value.rating,
CommentRate: value.comment,
token: token,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
export const updateToken = async (token, time) => {
let result;
try {
let res = await instance.get(path + '/UpdateToken', {
params: {
token: token,
time: time,
},
});
result = res.data;
} catch (error) {
return error.message ? error.message : (result = '');
}
return result;
};
| 19.146853 | 63 | 0.609204 |
86042c97300f4ababa2afc145dcd6af684938960 | 7,229 | js | JavaScript | config/utils.js | leslieSie/webpack-simple-framework | 2b8bceac52c629f3eeb7562c4efd5f345d611da9 | [
"MIT"
] | 3 | 2019-06-03T03:58:06.000Z | 2019-08-25T03:51:27.000Z | config/utils.js | leslieSie/webpack-simple-framework | 2b8bceac52c629f3eeb7562c4efd5f345d611da9 | [
"MIT"
] | 5 | 2021-03-09T04:36:58.000Z | 2022-02-26T11:08:31.000Z | config/utils.js | leslieSie/webpack-simple-framework | 2b8bceac52c629f3eeb7562c4efd5f345d611da9 | [
"MIT"
] | 1 | 2019-06-27T02:40:34.000Z | 2019-06-27T02:40:34.000Z | let path = require("path");
let fs = require("fs");
let mkdirp = require("mkdirp");
const colors = require("colors");
const jsonfile = require('jsonfile');
// generate file address
let absPath = function(dir) {
return path.join(__dirname, "../", dir);
};
// judge the file is exist
let fileExist = function(absPath) {
return fs.existsSync(absPath);
};
// create new directory,if the directory exist that the function return the string which is 'the directory is exist'
let dirCreate = function(absPath, fn) {
let directoryIsExist = fileExist(absPath);
if (directoryIsExist) {
console.log("要创建的文件目录已经存在".red);
return {
status: "exist"
};
} else {
mkdirp(absPath, err => {
if (err) {
console.log(err.red);
return {
status: "error"
};
}
if (dataType(fn) == "Function") {
fn();
}
});
return {
status: "success"
};
}
};
//judge the data type
let dataType = function(data) {
let tmpType = Object.prototype.toString.call(data);
let sliceString = tmpType.slice(1, tmpType.length - 1);
return sliceString.split(" ").reverse()[0];
};
// get file name and directory name from absolute path
let getFileMsg = function(absPath) {
let basename = path.basename(absPath);
let dirname = path.dirname(absPath);
return {
filename: basename,
dirname: dirname
};
};
let createFileCoreModule = function(specifiedPath) {
return new Promise((resolve, reject) => {
fs.stat(specifiedPath, (err, stats) => {
if (err) {
resolve();
return false;
}
if (stats.isDirectory()) {
reject({
msg: "传入的路径不能为目录路径"
});
}
if (stats.isFile()) {
reject({
msg: `路径为${specifiedPath}的文件已经存在`
});
}
});
})
.then(data => {
let fileMsgs = getFileMsg(specifiedPath);
mkdirp(fileMsgs.dirname, err => {
if (err) {
console.log("文件创建失败".red);
return false;
}
fs.writeFileSync(
path.join(fileMsgs.dirname, fileMsgs.filename), {},
err => {
if (err) {
console.log(err.red);
return false;
}
}
);
});
return {
status: true,
}
})
.catch(errObj => {
console.log(errObj.msg.red);
return {
status: false,
info: errObj.msg
};
});
};
// create file on specified path,If the path mean directory,will return error message.If the path whitch is exist file,return a message to tell developer the file is exist.otherwise,create files depend on specifiedPath param.create succes run cb params.by the way,fn must Function type.
let createFiles = async function(specifiedPaths, cb) {
let statistic = 0;
switch (dataType(specifiedPaths)) {
case "String":
await createFileCoreModule(specifiedPaths);
cb();
break;
case "Array":
let status = specifiedPaths.forEach(async itemPath => {
await createFileCoreModule(itemPath);
statistic++;
if (Object.is(statistic, specifiedPaths.length)) {
cb();
}
});
break;
case "Undefined":
console.log("创建的路径不能为空!".red);
break;
}
};
let delFilesCoreModule = function(absPaths, params, cb) {
let isExist = fileExist(absPaths);
if (isExist) {
fs.unlinkSync(absPaths);
console.log("文件删除成功!".green);
if (dataType(params) == "Object" && params.autoClear == true) {
let files = fs.readdirSync(getFileMsg(absPaths).dirname);
if (files.length == 0) {
fs.rmdir(getFileMsg(absPaths).dirname, err => {
console.log("空文件夹删除".green);
});
}
}
cb();
} else {
console.log('文件删除路径不存在');
return false;
}
};
// delete file
let deleteFiles = function(absPaths, params, cb) {
switch (dataType(absPaths)) {
case "String":
delFilesCoreModule(absPaths, params, cb);
break;
case "Array":
absPaths.forEach(async path => {
delFilesCoreModule(path, params, cb);
});
break;
}
};
//read message from file
let readFromFile = function(absPath = "", params, cb) {
if (fileExist(absPath)) {
let fileMsg = fs.readFileSync(absPath, 'utf8');
if (Object.is('Object', dataType(params))) {
switch (params.type) {
case 'json':
jsonfile.readFile(absPath, (err, obj) => {
if (err == undefined) {
cb(err, obj);
}
});
break;
default:
break;
}
} else {
cb(fileMsg);
}
}
};
//store to file,only support message write to single file
// writeMsg not type undefined,null,NaN
let store2File = function(absPath = "", writeMsg, writeParams) {
let dealStr = "";
if (Object.is(dataType(writeParams), 'Object') && writeParams.parseType) {
switch (writeParams.parseType) {
case 'json':
jsonfile.writeFile(absPath, writeMsg)
.then(res => {
console.log(res);
})
break;
default:
break;
}
} else {
dealStr = writeMsg.toString();
}
/* switch (dataType(writeMsg)) {
case "Object":
case "Array":
dealStr = JSON.stringify(writeMsg);
break;
case 'Function':
dealStr = writeMsg.toString();
break;
default:
dealStr = writeMsg;
break;
} */
const buf = Buffer.from(dealStr, "utf8");
if (fileExist(absPath) && !fs.statSync(absPath).isDirectory()) {
let writeSteam = fs.createWriteStream(absPath);
writeSteam.write(buf, "utf8");
writeSteam.end();
writeSteam.on("finish", () => {
console.log("文件写入成功".green);
});
writeSteam.on("error", () => {
console.log("文件写入错误".red);
});
} else {
console.log("指定的路径文件不存在".red);
}
};
const global_exclude = [/node_modules/, absPath("build")];
module.exports = {
absPath,
fileExist,
dirCreate,
global_exclude,
dataType,
createFiles,
deleteFiles,
store2File,
getFileMsg,
readFromFile
};
| 28.573123 | 286 | 0.486789 |
86050235db1bb8557a9c6bbb4b9014c16e00265b | 1,072 | js | JavaScript | webpack.config.js | m00nst3r/react-dnd-bootstrap | c01782cb2f69d804334776d0fb5a06793140e7a9 | [
"MIT"
] | null | null | null | webpack.config.js | m00nst3r/react-dnd-bootstrap | c01782cb2f69d804334776d0fb5a06793140e7a9 | [
"MIT"
] | null | null | null | webpack.config.js | m00nst3r/react-dnd-bootstrap | c01782cb2f69d804334776d0fb5a06793140e7a9 | [
"MIT"
] | null | null | null | var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'cheap-module-eval-source-map',
entry: [
'webpack-hot-middleware/client',
'./index'
],
// devServer: { hot: true },
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js',
publicPath: '/static/'
},
plugins: [
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.HotModuleReplacementPlugin()
],
module: {
loaders: [
{test: /\.js$/, loaders: ['react-hot', 'babel-loader'], exclude: /node_modules/, include: __dirname},
{test: /\.css$/, loader: 'style-loader!css-loader'},
{test: /\.less$/, loader: "style!css!less"},
{test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=application/font-woff'},
{test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=application/octet-stream'},
{test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: 'file'},
{test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=image/svg+xml'}
]
}
} | 34.580645 | 110 | 0.573694 |
86052ce30abf613d9d0a573ba17b474e07450daf | 715 | js | JavaScript | src/components/header/Information.js | ana-jv/WebApp | ffe0377542824ff7b43e8269a1eb4f661b8709b8 | [
"MIT"
] | 2 | 2020-04-13T16:31:57.000Z | 2020-04-16T09:56:02.000Z | src/components/header/Information.js | ana-jv/WebApp | ffe0377542824ff7b43e8269a1eb4f661b8709b8 | [
"MIT"
] | null | null | null | src/components/header/Information.js | ana-jv/WebApp | ffe0377542824ff7b43e8269a1eb4f661b8709b8 | [
"MIT"
] | 9 | 2020-04-03T12:18:00.000Z | 2020-05-26T15:45:23.000Z | import React from 'react'
import Card from '@material-ui/core/Card'
import CardContent from '@material-ui/core/CardContent'
import { FormattedMessage } from 'react-intl'
import Typography from '@material-ui/core/Typography'
import { useStyles } from '../../style/HeaderStyle'
const Information = (props) => {
const classes = useStyles()
const { position, children } = props
return (
<Card className={classes.fullHeightCard}>
<CardContent>
<Typography variant="h6" align="left">
<FormattedMessage id={`information.${position}.title`} defaultMessage="Missing String" />
</Typography>
{ children }
</CardContent>
</Card>
)
}
export default Information
| 27.5 | 99 | 0.678322 |
8605d43e246fc992801b99276ac0c174c323f34e | 2,743 | js | JavaScript | src/models/track/Heightmap.js | stockHuman/racing-game | d8cf37a205cd40815efe2566c026d9507267311a | [
"MIT"
] | null | null | null | src/models/track/Heightmap.js | stockHuman/racing-game | d8cf37a205cd40815efe2566c026d9507267311a | [
"MIT"
] | null | null | null | src/models/track/Heightmap.js | stockHuman/racing-game | d8cf37a205cd40815efe2566c026d9507267311a | [
"MIT"
] | null | null | null | // import { useMemo } from 'react'
import { useTexture } from '@react-three/drei'
import { useHeightfield } from '@react-three/cannon'
import * as THREE from 'three'
import { useRef, useEffect, useMemo } from 'react'
function HeightmapGeometry({ heights, elementSize, ...rest }) {
const ref = useRef()
useEffect(() => {
const dx = elementSize
const dy = elementSize
// Create the vertex data from the heights
const vertices = heights.flatMap((row, i) => row.flatMap((z, j) => [i * dx, j * dy, z]))
// Create the faces
const indices = []
for (let i = 0; i < heights.length - 1; i++) {
for (let j = 0; j < heights[i].length - 1; j++) {
const stride = heights[i].length
const index = i * stride + j
indices.push(index + 1, index + stride, index + stride + 1)
indices.push(index + stride, index + 1, index)
}
}
ref.current.setIndex(indices)
ref.current.setAttribute('position', new THREE.Float32BufferAttribute(vertices, 3))
ref.current.computeVertexNormals()
ref.current.computeBoundingBox()
ref.current.computeBoundingSphere()
}, [heights])
return <bufferGeometry {...rest} ref={ref} />
}
/**
* Returns matrix data to be passed to heightfield.
* set elementSize as `size` / matrix[0].length (image width)
* and rotate heightfield to match (rotation.x = -Math.PI/2)
* @param {Image} image black & white, square heightmap texture
* @returns {[[Number]]} height data extracted from image
*/
function createHeightfieldMatrix(image) {
let matrix = []
const w = image.width
const h = image.height
const canvas = document.createElement('canvas')
const ctx = canvas.getContext('2d')
const scale = 40 // determines the vertical scale of the heightmap
let row
canvas.width = w
canvas.height = h
ctx.drawImage(image, 0, 0, w, h)
for (let x = 0; x < w; x++) {
row = []
for (let y = 0; y < h; y++) {
// returned pixel data is [r, g, b, alpha], since image is in b/w -> any rgb val
row.push(parseFloat((ctx.getImageData(x, y, 1, 1).data[0] / 255).toPrecision(2)) * scale)
}
matrix.push(row)
}
return matrix
}
export function Heightfield(props) {
const { elementSize, position, rotation, ...rest } = props
const heightmap = useTexture('/textures/heightmap_512.png')
const heights = useMemo(() => createHeightfieldMatrix(heightmap.image), [heightmap])
const [ref] = useHeightfield(() => ({
args: [heights, { elementSize }],
position,
rotation,
}))
// return null
return (
<mesh ref={ref} castShadow receiveShadow {...rest}>
<meshNormalMaterial flatShading/>
<HeightmapGeometry heights={heights} elementSize={elementSize} />
</mesh>
)
}
| 30.820225 | 95 | 0.641998 |
86065e42bd4646b8bd12264bc6eb4bafe7f8aeab | 1,949 | js | JavaScript | apps/website/inject-snippets-plugin.js | bsnelder/webshell | 882ff51c8a28004cf674114b62853119ddef2043 | [
"MIT"
] | 59 | 2020-08-20T10:39:37.000Z | 2022-03-09T06:26:41.000Z | apps/website/inject-snippets-plugin.js | bsnelder/webshell | 882ff51c8a28004cf674114b62853119ddef2043 | [
"MIT"
] | 16 | 2020-10-29T13:14:15.000Z | 2021-11-19T07:00:11.000Z | apps/website/inject-snippets-plugin.js | bsnelder/webshell | 882ff51c8a28004cf674114b62853119ddef2043 | [
"MIT"
] | 3 | 2021-01-11T20:46:47.000Z | 2021-09-01T15:10:16.000Z | /* eslint-disable compat/compat */
const path = require('path');
const globby = require('globby');
const fs = require('fs');
const ts = require('typescript');
const prettier = require('prettier');
async function clearSnippetsPath(snippetsPath) {
const currentFiles = await globby([snippetsPath]);
return Promise.all(currentFiles.map((f) => fs.promises.unlink(f)));
}
function prettifyTranspiledSources(sources, prettierOptions) {
return Promise.all(
sources.map(async (s) => {
const content = await fs.promises.readFile(s);
return fs.promises.writeFile(
s,
prettier.format(content.toString(), { filepath: s, ...prettierOptions })
);
})
);
}
async function transpileTypescriptSources(sources, snippetsPath) {
let program = ts.createProgram(sources, {
outDir: snippetsPath,
jsx: ts.JsxEmit.Preserve,
target: ts.ScriptTarget.Latest,
declaration: false,
removeComments: false
});
program.emit();
return await globby(snippetsPath);
}
function copySourcesFiles(sources, snippetsPath) {
return Promise.all(
sources.map(async (s) => {
const dest = path.resolve(snippetsPath, path.basename(s));
await fs.promises.copyFile(s, dest);
})
);
}
module.exports = function (context, options) {
const { siteDir } = context;
const snippetsPath = path.resolve(siteDir, options.snippetsPath);
return {
name: 'inject-snippets-plugin',
async loadContent() {
await clearSnippetsPath(snippetsPath);
const tsxSources = await globby(options.includes);
const transpiledFiles = await transpileTypescriptSources(
tsxSources,
snippetsPath
);
await prettifyTranspiledSources(transpiledFiles, options.prettierOptions);
await copySourcesFiles(tsxSources, snippetsPath);
console.info(
'inject-snippets-plugin:',
'sources copied and transpiles:',
tsxSources
);
}
};
};
| 28.661765 | 80 | 0.680349 |