text
stringlengths
1
22.8M
Weißer See (, literally "White Lake") is a lake in the Weissensee district of Berlin, Germany. Its surface area is 8.3011ha (84,000m2) and volume 360,606m3. With a depth of 10.64m (average depth 4.34m) it is one of the deepest areas of water in Berlin. Its dimensions are approx. 300m East-West by 350m North-South. The lake and its surrounding landscape were shaped by the Weichsel ice age. It is embedded in the ground moraines of Niederbarnimer. During the melting of the ice a huge block of ice remained; when it subsequently thawed it created what is known as a kettle hole. This was the origin of today's Weisser See. Over the centuries settlements developed around the lake, mainly based on agriculture; the oldest known settlement dates from the 13th century. During the past 150 years, through development of the near shore, the water balance and catchment area have been increasingly disturbed. As a reminder of the cultural heritage of the Sterneckerschen establishment (Weissensee Castle), there still exists the Strandbad Weissensee (Weissensee bathing beach), dating from 1912. In addition to its role as a bathing and recreation area, the Weisser See also functions as an overflow lake for the Weissensee storm sewers. The water level in the lake is regulated by the Berlin water company and measured at the bathing place. During times of low rainfall water from nearby sources can be pumped into the lake underneath the observation deck. Since the expense of the pumping is met by the surrounding district of Pankow, this additional water supply is limited by financial considerations. Notable in the Weisser See is a centre fountain of considerable height, which with the help of the Young Pioneers Diving Club is put into operation each year. The Weissensee Park surrounds the lake. On the banks of the lake there is a boat rental station and the historic Milchhäuschen (small milk house), a café that was well known in GDR days. Image Gallery References External links Lakes of Berlin Pankow
```python # yellowbrick.model_selection.validation_curve # Implements a visual validation curve for a hyperparameter. # # Author: Benjamin Bengfort # Created: Sat Mar 31 06:27:28 2018 -0400 # # For license information, see LICENSE.txt # # ID: validation_curve.py [c5355ee] benjamin@bengfort.com $ """ Implements a visual validation curve for a hyperparameter. """ ########################################################################## # Imports ########################################################################## import numpy as np from yellowbrick.base import ModelVisualizer from yellowbrick.style import resolve_colors from yellowbrick.exceptions import YellowbrickValueError from sklearn.model_selection import validation_curve as sk_validation_curve ########################################################################## # ValidationCurve visualizer ########################################################################## class ValidationCurve(ModelVisualizer): """ Visualizes the validation curve for both test and training data for a range of values for a single hyperparameter of the model. Adjusting the value of a hyperparameter adjusts the complexity of a model. Less complex models suffer from increased error due to bias, while more complex models suffer from increased error due to variance. By inspecting the training and cross-validated test score error, it is possible to estimate a good value for a hyperparameter that balances the bias/variance trade-off. The visualizer evaluates cross-validated training and test scores for the different hyperparameters supplied. The curve is plotted so that the x-axis is the value of the hyperparameter and the y-axis is the model score. This is similar to a grid search with a single hyperparameter. The cross-validation generator splits the dataset k times, and scores are averaged over all k runs for the training and test subsets. The curve plots the mean score, and the filled in area suggests the variability of cross-validation by plotting one standard deviation above and below the mean for each split. Parameters ---------- estimator : a scikit-learn estimator An object that implements ``fit`` and ``predict``, can be a classifier, regressor, or clusterer so long as there is also a valid associated scoring metric. Note that the object is cloned for each validation. param_name : string Name of the parameter that will be varied. param_range : array-like, shape (n_values,) The values of the parameter that will be evaluated. ax : matplotlib.Axes object, optional The axes object to plot the figure on. logx : boolean, optional If True, plots the x-axis with a logarithmic scale. groups : array-like, with shape (n_samples,) Optional group labels for the samples used while splitting the dataset into train/test sets. cv : int, cross-validation generator or an iterable, optional Determines the cross-validation splitting strategy. Possible inputs for cv are: - None, to use the default 3-fold cross-validation, - integer, to specify the number of folds. - An object to be used as a cross-validation generator. - An iterable yielding train/test splits. see the scikit-learn `cross-validation guide <path_to_url`_ for more information on the possible strategies that can be used here. scoring : string, callable or None, optional, default: None A string or scorer callable object / function with signature ``scorer(estimator, X, y)``. See scikit-learn model evaluation documentation for names of possible metrics. n_jobs : integer, optional Number of jobs to run in parallel (default 1). pre_dispatch : integer or string, optional Number of predispatched jobs for parallel execution (default is all). The option can reduce the allocated memory. The string can be an expression like '2*n_jobs'. markers : string, default: '-d' Matplotlib style markers for points on the plot points Options: '-,', '-+', '-o', '-*', '-v', '-h', '-d' kwargs : dict Keyword arguments that are passed to the base class and may influence the visualization as defined in other Visualizers. Attributes ---------- train_scores_ : array, shape (n_ticks, n_cv_folds) Scores on training sets. train_scores_mean_ : array, shape (n_ticks,) Mean training data scores for each training split train_scores_std_ : array, shape (n_ticks,) Standard deviation of training data scores for each training split test_scores_ : array, shape (n_ticks, n_cv_folds) Scores on test set. test_scores_mean_ : array, shape (n_ticks,) Mean test data scores for each test split test_scores_std_ : array, shape (n_ticks,) Standard deviation of test data scores for each test split Examples -------- >>> import numpy as np >>> from yellowbrick.model_selection import ValidationCurve >>> from sklearn.svm import SVC >>> pr = np.logspace(-6,-1,5) >>> model = ValidationCurve(SVC(), param_name="gamma", param_range=pr) >>> model.fit(X, y) >>> model.show() Notes ----- This visualizer is essentially a wrapper for the ``sklearn.model_selection.learning_curve utility``, discussed in the `validation curves <path_to_url`__ documentation. .. seealso:: The documentation for the `learning_curve <path_to_url`__ function, which this visualizer wraps. """ def __init__( self, estimator, param_name, param_range, ax=None, logx=False, groups=None, cv=None, scoring=None, n_jobs=1, pre_dispatch="all", markers='-d', **kwargs ): # Initialize the model visualizer super(ValidationCurve, self).__init__(estimator, ax=ax, **kwargs) # Validate the param_range param_range = np.asarray(param_range) if param_range.ndim != 1: raise YellowbrickValueError( "must specify array of param values, '{}' is not valid".format( repr(param_range) ) ) # Set the visual and validation curve parameters on the estimator self.param_name = param_name self.param_range = param_range self.logx = logx self.groups = groups self.cv = cv self.scoring = scoring self.n_jobs = n_jobs self.pre_dispatch = pre_dispatch self.markers = markers def fit(self, X, y=None): """ Fits the validation curve with the wrapped estimator and parameter array to the specified data. Draws training and test score curves and saves the scores to the visualizer. Parameters ---------- X : array-like, shape (n_samples, n_features) Training vector, where n_samples is the number of samples and n_features is the number of features. y : array-like, shape (n_samples) or (n_samples, n_features), optional Target relative to X for classification or regression; None for unsupervised learning. Returns ------- self : instance Returns the instance of the validation curve visualizer for use in pipelines and other sequential transformers. """ # arguments to pass to sk_validation_curve skvc_kwargs = { key: self.get_params()[key] for key in ( "param_name", "param_range", "groups", "cv", "scoring", "n_jobs", "pre_dispatch", ) } # compute the validation curve and store scores curve = sk_validation_curve(self.estimator, X, y, **skvc_kwargs) self.train_scores_, self.test_scores_ = curve # compute the mean and standard deviation of the training data self.train_scores_mean_ = np.mean(self.train_scores_, axis=1) self.train_scores_std_ = np.std(self.train_scores_, axis=1) # compute the mean and standard deviation of the test data self.test_scores_mean_ = np.mean(self.test_scores_, axis=1) self.test_scores_std_ = np.std(self.test_scores_, axis=1) # draw the curves on the current axes self.draw() return self def draw(self, **kwargs): """ Renders the training and test curves. """ # Specify the curves to draw and their labels labels = ("Training Score", "Cross Validation Score") curves = ( (self.train_scores_mean_, self.train_scores_std_), (self.test_scores_mean_, self.test_scores_std_), ) # Get the colors for the train and test curves colors = resolve_colors(n_colors=2) # Plot the fill betweens first so they are behind the curves. for idx, (mean, std) in enumerate(curves): # Plot one standard deviation above and below the mean self.ax.fill_between( self.param_range, mean - std, mean + std, alpha=0.25, color=colors[idx] ) # Plot the mean curves so they are in front of the variance fill for idx, (mean, _) in enumerate(curves): self.ax.plot( self.param_range, mean, self.markers, color=colors[idx], label=labels[idx] ) if self.logx: self.ax.set_xscale("log") return self.ax def finalize(self, **kwargs): """ Add the title, legend, and other visual final touches to the plot. """ # Set the title of the figure self.set_title("Validation Curve for {}".format(self.name)) # Add the legend self.ax.legend(frameon=True, loc="best") # Set the axis labels self.ax.set_xlabel(self.param_name) self.ax.set_ylabel("score") ########################################################################## # Quick Method ########################################################################## def validation_curve( estimator, X, y, param_name, param_range, ax=None, logx=False, groups=None, cv=None, scoring=None, n_jobs=1, pre_dispatch="all", show=True, markers='-d', **kwargs ): """ Displays a validation curve for the specified param and values, plotting both the train and cross-validated test scores. The validation curve is a visual, single-parameter grid search used to tune a model to find the best balance between error due to bias and error due to variance. This helper function is a wrapper to use the ValidationCurve in a fast, visual analysis. Parameters ---------- estimator : a scikit-learn estimator An object that implements ``fit`` and ``predict``, can be a classifier, regressor, or clusterer so long as there is also a valid associated scoring metric. Note that the object is cloned for each validation. X : array-like, shape (n_samples, n_features) Training vector, where n_samples is the number of samples and n_features is the number of features. y : array-like, shape (n_samples) or (n_samples, n_features), optional Target relative to X for classification or regression; None for unsupervised learning. param_name : string Name of the parameter that will be varied. param_range : array-like, shape (n_values,) The values of the parameter that will be evaluated. ax : matplotlib.Axes object, optional The axes object to plot the figure on. logx : boolean, optional If True, plots the x-axis with a logarithmic scale. groups : array-like, with shape (n_samples,) Optional group labels for the samples used while splitting the dataset into train/test sets. cv : int, cross-validation generator or an iterable, optional Determines the cross-validation splitting strategy. Possible inputs for cv are: - None, to use the default 3-fold cross-validation, - integer, to specify the number of folds. - An object to be used as a cross-validation generator. - An iterable yielding train/test splits. see the scikit-learn `cross-validation guide <path_to_url`_ for more information on the possible strategies that can be used here. scoring : string, callable or None, optional, default: None A string or scorer callable object / function with signature ``scorer(estimator, X, y)``. See scikit-learn model evaluation documentation for names of possible metrics. n_jobs : integer, optional Number of jobs to run in parallel (default 1). pre_dispatch : integer or string, optional Number of predispatched jobs for parallel execution (default is all). The option can reduce the allocated memory. The string can be an expression like '2*n_jobs'. show: bool, default: True If True, calls ``show()``, which in turn calls ``plt.show()`` however you cannot call ``plt.savefig`` from this signature, nor ``clear_figure``. If False, simply calls ``finalize()`` markers : string, default: '-d' Matplotlib style markers for points on the plot points Options: '-,', '-+', '-o', '-*', '-v', '-h', '-d' kwargs : dict Keyword arguments that are passed to the base class and may influence the visualization as defined in other Visualizers. These arguments are also passed to the ``show()`` method, e.g. can pass a path to save the figure to. Returns ------- visualizer : ValidationCurve The fitted visualizer """ # Initialize the visualizer oz = ValidationCurve( estimator, param_name, param_range, ax=ax, logx=logx, groups=groups, cv=cv, scoring=scoring, n_jobs=n_jobs, pre_dispatch=pre_dispatch, markers=markers, ) # Fit the visualizer oz.fit(X, y) # Draw final visualization if show: oz.show(**kwargs) else: oz.finalize() # Return the visualizer object return oz ```
Business Information Review is a quarterly peer-reviewed academic journal that publishes articles on information and knowledge management in organizations. The journal publishes both practitioner and academic papers themed around commercial information management issues. The journal's editors-in-chief are Claire Laybats and Luke Tredinnick. It has been in publication since 1984 and is currently published by SAGE Publications. Business Information Review is notable for producing the Annual Survey of Business Information, which has been published annually since 1991. Abstracting and indexing Business Information Quarterly is abstracted and indexed in: ABI/INFORM Corporate ResourceNET Current Contents/Social and Behavioral Sciences Inspec Library and Information Science Abstracts Scopus External links SAGE Publishing academic journals English-language journals Knowledge management journals Quarterly journals Academic journals established in 1984
Kerishan (, also Romanized as Kerīshān) is a village in Minjavan-e Sharqi Rural District, Minjavan District, Khoda Afarin County, East Azerbaijan Province, Iran. At the 2006 census, its population was 121, in 24 families. References Populated places in Khoda Afarin County
```smalltalk namespace Volo.Abp.BackgroundJobs.EntityFrameworkCore; public class BackgroundJobRepositoryTests : BackgroundJobRepository_Tests<AbpBackgroundJobsEntityFrameworkCoreTestModule> { } ```
Luca Vitelli (died 1730) was an Italian painter of the Baroque period, born and active in Rome and Ascoli Piceno. Biography He was born in Ascoli, and there was a pupil of Ludovico Trasi in Ascoli. He is said to have traveled to Rome, where he was employed in painting ceilings in private homes. He was facile in both tempera and oil. He worked alongside his fellow-pupil of Trasi, Tommaso Nardini. He painted the ceiling of the church of the Annunziata, and a canvas depicting the Martyrdom of Saints Crispin and Crispiniano for the church of Sant'Agostino, both in Ascoli. He also painted lunettes with the Story of Santa Caterina da Siena for the church of San Venanzio. He painted an Establishment of the Eucharist with the Virgin and Saints (1708) for the Confraternity of Corpus Domini in Ascoli. References Year of birth unknown 1730 deaths People from Ascoli Piceno 17th-century Italian painters Italian male painters 18th-century Italian painters Italian Baroque painters 18th-century Italian male artists
```asciidoc //// See accompanying file LICENSE_1_0.txt or copy at path_to_url //// [#atomic_shared_ptr] # atomic_shared_ptr :toc: :toc-title: :idprefix: atomic_shared_ptr_ ## Description The class template `atomic_shared_ptr<T>` implements the interface of `std::atomic` for a contained value of type `shared_ptr<T>`. Concurrent access to `atomic_shared_ptr` is not a data race. ## Synopsis `atomic_shared_ptr` is defined in `<boost/smart_ptr/atomic_shared_ptr.hpp>`. ``` namespace boost { template<class T> class atomic_shared_ptr { private: shared_ptr<T> p_; // exposition only atomic_shared_ptr(const atomic_shared_ptr&) = delete; atomic_shared_ptr& operator=(const atomic_shared_ptr&) = delete; public: constexpr atomic_shared_ptr() noexcept; atomic_shared_ptr( shared_ptr<T> p ) noexcept; atomic_shared_ptr& operator=( shared_ptr<T> r ) noexcept; bool is_lock_free() const noexcept; shared_ptr<T> load( int = 0 ) const noexcept; operator shared_ptr<T>() const noexcept; void store( shared_ptr<T> r, int = 0 ) noexcept; shared_ptr<T> exchange( shared_ptr<T> r, int = 0 ) noexcept; bool compare_exchange_weak( shared_ptr<T>& v, const shared_ptr<T>& w, int, int ) noexcept; bool compare_exchange_weak( shared_ptr<T>& v, const shared_ptr<T>& w, int = 0 ) noexcept; bool compare_exchange_strong( shared_ptr<T>& v, const shared_ptr<T>& w, int, int ) noexcept; bool compare_exchange_strong( shared_ptr<T>& v, const shared_ptr<T>& w, int = 0 ) noexcept; bool compare_exchange_weak( shared_ptr<T>& v, shared_ptr<T>&& w, int, int ) noexcept; bool compare_exchange_weak( shared_ptr<T>& v, shared_ptr<T>&& w, int = 0 ) noexcept; bool compare_exchange_strong( shared_ptr<T>& v, shared_ptr<T>&& w, int, int ) noexcept; bool compare_exchange_strong( shared_ptr<T>& v, shared_ptr<T>&& w, int = 0 ) noexcept; }; } ``` ## Members ``` constexpr atomic_shared_ptr() noexcept; ``` [none] * {blank} + Effects:: Default-initializes `p_`. ``` atomic_shared_ptr( shared_ptr<T> p ) noexcept; ``` [none] * {blank} + Effects:: Initializes `p_` to `p`. ``` atomic_shared_ptr& operator=( shared_ptr<T> r ) noexcept; ``` [none] * {blank} + Effects:: `p_.swap(r)`. Returns:: `*this`. ``` bool is_lock_free() const noexcept; ``` [none] * {blank} + Returns:: `false`. NOTE: This implementation is not lock-free. ``` shared_ptr<T> load( int = 0 ) const noexcept; ``` ``` operator shared_ptr<T>() const noexcept; ``` [none] * {blank} + Returns:: `p_`. NOTE: The `int` argument is intended to be of type `memory_order`, but is ignored. This implementation is lock-based and therefore always sequentially consistent. ``` void store( shared_ptr<T> r, int = 0 ) noexcept; ``` [none] * {blank} + Effects:: `p_.swap(r)`. ``` shared_ptr<T> exchange( shared_ptr<T> r, int = 0 ) noexcept; ``` [none] * {blank} + Effects:: `p_.swap(r)`. Returns:: The old value of `p_`. ``` bool compare_exchange_weak( shared_ptr<T>& v, const shared_ptr<T>& w, int, int ) noexcept; ``` ``` bool compare_exchange_weak( shared_ptr<T>& v, const shared_ptr<T>& w, int = 0 ) noexcept; ``` ``` bool compare_exchange_strong( shared_ptr<T>& v, const shared_ptr<T>& w, int, int ) noexcept; ``` ``` bool compare_exchange_strong( shared_ptr<T>& v, const shared_ptr<T>& w, int = 0 ) noexcept; ``` [none] * {blank} + Effects:: If `p_` is equivalent to `v`, assigns `w` to `p_`, otherwise assigns `p_` to `v`. Returns:: `true` if `p_` was equivalent to `v`, `false` otherwise. Remarks:: Two `shared_ptr` instances are equivalent if they store the same pointer value and _share ownership_. ``` bool compare_exchange_weak( shared_ptr<T>& v, shared_ptr<T>&& w, int, int ) noexcept; ``` ``` bool compare_exchange_weak( shared_ptr<T>& v, shared_ptr<T>&& w, int = 0 ) noexcept; ``` ``` bool compare_exchange_strong( shared_ptr<T>& v, shared_ptr<T>&& w, int, int ) noexcept; ``` ``` bool compare_exchange_strong( shared_ptr<T>& v, shared_ptr<T>&& w, int = 0 ) noexcept; ``` [none] * {blank} + Effects:: If `p_` is equivalent to `v`, assigns `std::move(w)` to `p_`, otherwise assigns `p_` to `v`. Returns:: `true` if `p_` was equivalent to `v`, `false` otherwise. Remarks:: The old value of `w` is not preserved in either case. ```
Lady Daeseowon of the Dongju Gim clan (; ) was the daughter of Gim Haeng-Pa who became the 20th wife of Taejo of Goryeo. She was the older sister of Lady Soseowon, her husband's 21st wife. In 922, their father moved to Seogyeong (nowadays Pyeongyang City) under King Taejo's command. One day, when Taejo went to Seogyeong, Gim Haeng-Pa met him on the road with the group he was hunting with and asked Taejo to come to his house. Taejo then agree this and came to Gim's house which he had his two daughters to take care of Taejo for one night each. However, after that day, Taejo didn't return again and as a result, that two women went back home and became nuns. Later, when Taejo heard these story, he took pity on the two sisters and called them, but when Taejo saw them, he said: "Since you have already gone home, you cannot take it away from you.""너희가 이미 출가하였으므로, 그 뜻을 빼앗을 수 없다." Seogyeong then built 2 Temples under Palace's command, there were: "Grand Western" (대서원, 大西院) and "Little Western" (소서원, 小西院) with each had a field and slaves, so that the two sisters were each to live there. Because of this, the older sister named "Lady (Dae)Seowon" and the younger sister named "Lady (So)Seowon". References External links 대서원부인 on Encykorea . Year of birth unknown Year of death unknown Consorts of Taejo of Goryeo People from North Hwanghae Province
Aces II (Advanced Concepts in Electronic Structure Theory) is an ab initio computational chemistry package for performing high-level quantum chemical ab initio calculations. Its major strength is the accurate calculation of atomic and molecular energies as well as properties using many-body techniques such as many-body perturbation theory (MBPT) and, in particular coupled cluster techniques to treat electron correlation. The development of ACES II began in early 1990 in the group of Professor Rodney J. Bartlett at the Quantum Theory Project (QTP) of the University of Florida in Gainesville. There, the need for more efficient codes had been realized and the idea of writing an entirely new program package emerged. During 1990 and 1991 John F. Stanton, Jürgen Gauß, and John D. Watts, all of them at that time postdoctoral researchers in the Bartlett group, supported by a few students, wrote the backbone of what is now known as the ACES II program package. The only parts which were not new coding efforts were the integral packages (the MOLECULE package of J. Almlöf, the VPROP package of P.R. Taylor, and the integral derivative package ABACUS of T. Helgaker, P. Jorgensen J. Olsen, and H.J. Aa. Jensen). The latter was modified extensively for adaptation with Aces II, while the others remained very much in their original forms. Ultimately, two different versions of the program evolved. The first was maintained by the Bartlett group at the University of Florida, and the other (known as ACESII-MAB) was maintained by groups at the University of Texas, Universitaet Mainz in Germany, and ELTE in Budapest, Hungary. The latter is now called CFOUR. Aces III is a parallel implementation that was released in the fall of 2008. The effort led to definition of a new architecture for scalable parallel software called the super instruction architecture. The design and creation of software is divided into two parts: The algorithms are coded in a domain specific language called super instruction assembly language or SIAL, pronounced "sail" for easy communication. The SIAL programs are executed by a MPMD parallel virtual machine called the super instruction processor or SIP. The ACES III program consists of 580,000 lines of SIAL code of which 200,000 lines are comments, and 230,000 lines of C/C++ and Fortran of which 62,000 lines are comments. The latest version of the program was released on August 1, 2014. See also Quantum chemistry computer programs References ACES II Florida-Version Homepage ACES II Mainz-Austin-Budapest-Version Homepage ACES III Homepage CFOUR Homepage Computational chemistry software University of Florida
Carlo Eduardo Acton (25 August 1829 – 2 February 1909) was an Italian composer and concert pianist. He is particularly remembered for his opera Una cena in convitto and for his sacred music compositions of which his Tantum ergo is the most well-known. His father, Francis Charles Acton (1796-1865), was the youngest son of General Joseph Acton, younger brother of Sir John Acton, 6th Baronet. His mother Esther was a daughter of the Irish painter Robert Fagan. References 1829 births 1909 deaths Italian classical composers Italian male classical composers Italian opera composers Male opera composers 19th-century Italian musicians 19th-century Italian male musicians
Neoplecostomus bandeirante is a species of catfish in the family Loricariidae. It is native to South America, where it occurs in the Paraitinguinha River, which is a tributary of the Tietê River, in the vicinity of Salesópolis in the state of São Paulo in Brazil. The species reaches 11 cm (4.3 inches) in standard length. Its specific name, bandeirante, refers to the bandeirantes of colonial Brazil. References bandeirante Fish described in 2012 Catfish of South America Freshwater fish of Brazil
Irene Lardschneider (born 9 February 1998) is an Italian biathlete. Career results World Championships References External links 1998 births Living people Italian female biathletes Sportspeople from Brixen Biathletes at the 2016 Winter Youth Olympics
```objective-c #pragma once #ifdef __cplusplus extern "C" { #endif struct LOC_STRING { LPWSTR wzId; LPWSTR wzText; BOOL bOverridable; }; const int LOC_CONTROL_NOT_SET = INT_MAX; struct LOC_CONTROL { LPWSTR wzControl; int nX; int nY; int nWidth; int nHeight; LPWSTR wzText; }; const int WIX_LOCALIZATION_LANGUAGE_NOT_SET = INT_MAX; struct WIX_LOCALIZATION { DWORD dwLangId; DWORD cLocStrings; LOC_STRING* rgLocStrings; DWORD cLocControls; LOC_CONTROL* rgLocControls; }; /******************************************************************** LocProbeForFile - Searches for a localization file on disk. *******************************************************************/ HRESULT DAPI LocProbeForFile( __in_z LPCWSTR wzBasePath, __in_z LPCWSTR wzLocFileName, __in_z_opt LPCWSTR wzLanguage, __inout LPWSTR* psczPath ); /******************************************************************** LocProbeForFileEx - Searches for a localization file on disk. useUILanguage should be set to TRUE. *******************************************************************/ extern "C" HRESULT DAPI LocProbeForFileEx( __in_z LPCWSTR wzBasePath, __in_z LPCWSTR wzLocFileName, __in_z_opt LPCWSTR wzLanguage, __inout LPWSTR* psczPath, __in BOOL useUILanguage ); /******************************************************************** LocLoadFromFile - Loads a localization file *******************************************************************/ HRESULT DAPI LocLoadFromFile( __in_z LPCWSTR wzWxlFile, __out WIX_LOCALIZATION** ppWixLoc ); /******************************************************************** LocLoadFromResource - loads a localization file from a module's data resource. NOTE: The resource data must be UTF-8 encoded. *******************************************************************/ HRESULT DAPI LocLoadFromResource( __in HMODULE hModule, __in_z LPCSTR szResource, __out WIX_LOCALIZATION** ppWixLoc ); /******************************************************************** LocFree - free memory allocated when loading a localization file *******************************************************************/ void DAPI LocFree( __in_opt WIX_LOCALIZATION* pWixLoc ); /******************************************************************** LocLocalizeString - replace any #(loc.id) in a string with the correct sub string *******************************************************************/ HRESULT DAPI LocLocalizeString( __in const WIX_LOCALIZATION* pWixLoc, __inout LPWSTR* psczInput ); /******************************************************************** LocGetControl - returns a control's localization information *******************************************************************/ HRESULT DAPI LocGetControl( __in const WIX_LOCALIZATION* pWixLoc, __in_z LPCWSTR wzId, __out LOC_CONTROL** ppLocControl ); /******************************************************************** LocGetString - returns a string's localization information *******************************************************************/ extern "C" HRESULT DAPI LocGetString( __in const WIX_LOCALIZATION* pWixLoc, __in_z LPCWSTR wzId, __out LOC_STRING** ppLocString ); /******************************************************************** LocAddString - adds a localization string *******************************************************************/ extern "C" HRESULT DAPI LocAddString( __in WIX_LOCALIZATION* pWixLoc, __in_z LPCWSTR wzId, __in_z LPCWSTR wzLocString, __in BOOL bOverridable ); #ifdef __cplusplus } #endif ```
```java /* This file is part of the iText (R) project. Authors: Apryse Software. This program is offered under a commercial and under the AGPL license. For commercial licensing, contact us at path_to_url For AGPL licensing, see below. AGPL licensing: This program is free software: you can redistribute it and/or modify (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the along with this program. If not, see <path_to_url */ package com.itextpdf.svg.renderers.impl; import com.itextpdf.test.ExtendedITextTest; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; @Tag("UnitTest") public class PathOperatorSplitTest extends ExtendedITextTest { @Test // Android-Conversion-Ignore-Test (TODO DEVSIX-6457 fix different behavior of Pattern.split method) public void testNumbersContainingExponent01() { String path = "M10,9.999999999999972C203.33333333333334,9.999999999999972,396.6666666666667,1.4210854715202004e-14,590,1.4210854715202004e-14L590,41.666666666666686C396.6666666666667,41.666666666666686,203.33333333333334,51.66666666666664,10,51.66666666666664Z"; String[] operators = new String[] { "M10,9.999999999999972", "C203.33333333333334,9.999999999999972,396.6666666666667,1.4210854715202004e-14,590,1.4210854715202004e-14", "L590,41.666666666666686", "C396.6666666666667,41.666666666666686,203.33333333333334,51.66666666666664,10,51.66666666666664", "Z" }; testSplitting(path, operators); } private void testSplitting(String originalStr, String[] expectedSplitting) { String[] result = PathSvgNodeRenderer.splitPathStringIntoOperators(originalStr); Assertions.assertArrayEquals(expectedSplitting, result); } } ```
Graphosia lophopyga is a moth of the family Erebidae. It was described by Alfred Jefferis Turner in 1940. It is found in Australia. References External links Lithosiina Moths described in 1940
```yaml common: timeout: 120 tests: kernel.multiprocessing.smp: tags: - kernel - smp ignore_faults: true filter: (CONFIG_MP_MAX_NUM_CPUS > 1) kernel.multiprocessing.smp.minimallibc: tags: - kernel - smp - libc ignore_faults: true filter: (CONFIG_MP_MAX_NUM_CPUS > 1) and CONFIG_MINIMAL_LIBC_SUPPORTED extra_configs: - CONFIG_MINIMAL_LIBC=y kernel.multiprocessing.smp.affinity: tags: - kernel - smp ignore_faults: true filter: (CONFIG_MP_MAX_NUM_CPUS > 1) extra_configs: - CONFIG_SCHED_CPU_MASK=y ```
```xml /* eslint-disable max-classes-per-file */ import { inject, named } from 'inversify'; import { ConfigurationTarget, DiagnosticSeverity } from 'vscode'; import { LanguageServerType } from '../../../activation/types'; import { IWorkspaceService } from '../../../common/application/types'; import { IConfigurationService, IDisposableRegistry, Resource } from '../../../common/types'; import { Common, Python27Support } from '../../../common/utils/localize'; import { IInterpreterService } from '../../../interpreter/contracts'; import { IServiceContainer } from '../../../ioc/types'; import { BaseDiagnostic, BaseDiagnosticsService } from '../base'; import { IDiagnosticsCommandFactory } from '../commands/types'; import { DiagnosticCodes } from '../constants'; import { DiagnosticCommandPromptHandlerServiceId, MessageCommandPrompt } from '../promptHandler'; import { DiagnosticScope, IDiagnostic, IDiagnosticHandlerService } from '../types'; export class JediPython27NotSupportedDiagnostic extends BaseDiagnostic { constructor(message: string, resource: Resource) { super( DiagnosticCodes.JediPython27NotSupportedDiagnostic, message, DiagnosticSeverity.Warning, DiagnosticScope.Global, resource, ); } } export const JediPython27NotSupportedDiagnosticServiceId = 'JediPython27NotSupportedDiagnosticServiceId'; export class JediPython27NotSupportedDiagnosticService extends BaseDiagnosticsService { constructor( @inject(IServiceContainer) serviceContainer: IServiceContainer, @inject(IInterpreterService) private readonly interpreterService: IInterpreterService, @inject(IWorkspaceService) private readonly workspaceService: IWorkspaceService, @inject(IConfigurationService) private readonly configurationService: IConfigurationService, @inject(IDiagnosticHandlerService) @named(DiagnosticCommandPromptHandlerServiceId) protected readonly messageService: IDiagnosticHandlerService<MessageCommandPrompt>, @inject(IDisposableRegistry) disposableRegistry: IDisposableRegistry, ) { super([DiagnosticCodes.JediPython27NotSupportedDiagnostic], serviceContainer, disposableRegistry, true); } public async diagnose(resource: Resource): Promise<IDiagnostic[]> { const interpreter = await this.interpreterService.getActiveInterpreter(resource); const { languageServer } = this.configurationService.getSettings(resource); await this.updateLanguageServerSetting(resource); // We don't need to check for JediLSP here, because we retrieve the setting from the configuration service, // Which already switched the JediLSP option to Jedi. if (interpreter && (interpreter.version?.major ?? 0) < 3 && languageServer === LanguageServerType.Jedi) { return [new JediPython27NotSupportedDiagnostic(Python27Support.jediMessage, resource)]; } return []; } protected async onHandle(diagnostics: IDiagnostic[]): Promise<void> { if (diagnostics.length === 0 || !this.canHandle(diagnostics[0])) { return; } const diagnostic = diagnostics[0]; if (await this.filterService.shouldIgnoreDiagnostic(diagnostic.code)) { return; } const commandFactory = this.serviceContainer.get<IDiagnosticsCommandFactory>(IDiagnosticsCommandFactory); const options = [ { prompt: Common.gotIt, }, { prompt: Common.doNotShowAgain, command: commandFactory.createCommand(diagnostic, { type: 'ignore', options: DiagnosticScope.Global }), }, ]; await this.messageService.handle(diagnostic, { commandPrompts: options }); } private async updateLanguageServerSetting(resource: Resource): Promise<void | undefined> { // Update settings.json value to Jedi if it's JediLSP. const settings = this.workspaceService .getConfiguration('python', resource) .inspect<LanguageServerType>('languageServer'); let configTarget: ConfigurationTarget; if (settings?.workspaceValue === LanguageServerType.JediLSP) { configTarget = ConfigurationTarget.Workspace; } else if (settings?.globalValue === LanguageServerType.JediLSP) { configTarget = ConfigurationTarget.Global; } else { return; } await this.configurationService.updateSetting( 'languageServer', LanguageServerType.Jedi, resource, configTarget, ); } } ```
Pamela Gail Fryman (born August 19, 1959) is an American sitcom director and producer. She directed all but twelve episodes of the television series How I Met Your Mother. Early life Fryman was born and grew up in Philadelphia, Pennsylvania. Career Fryman got her first job on The John Davidson Show as an assistant to the talent coordinator, and went on to be a booth production assistant and secretary on Santa Barbara, eventually moving up to assistant director (AD), and director. In 1993, producer Peter Noah, with whom she had worked on the game show Dream House, gave Fryman a chance to direct an episode of the short-lived sitcom Café Americain. These would be the first stepping stones toward a long and successful career. Before her directing career blossomed, Fryman pursued stage directing. On the set of Frasier, rehearsal resembled a play staging, which is exactly what creator and executive producer David Lee had in mind when he hired her. Fryman directed 34 episodes of the show from seasons four through eight. She also became main director on Just Shoot Me!, directing 94 out of the 148 episodes the show aired. Fryman directed the majority of the episodes of How I Met Your Mother. Show creator Craig Thomas praised her communication skills, saying, "She makes everyone feel they've been heard and respected and she can connect with anyone." Though Fryman's original career plan did not include directing (she figured she would "follow in her father's footsteps in merchandising"), she has grown to realize that directing is her forte and passion. In Variety magazine, Fryman said that continuing to direct How I Met Your Mother is her fantasy realized. In 2014, she officiated the wedding of How I Met Your Mother star Neil Patrick Harris and David Burtka, who played a side role in the show. She also directed 19 out of the 30 episodes that lasted How I Met Your Father. She achieved the milestone of directing her 500th episode of television in 2016 with the third episode of the third season of The Odd Couple. Awards Fryman has received recognition from the Academy of Television Arts & Sciences also known as the (ATAS), the National Academy of Television Arts and Sciences, the Directors Guild of America, Goldderby.com, the Online Film & Television Association also known as the (OFTA), and the Women in Film organization. 1990 Won - Daytime Emmy Award for Outstanding Drama Series Directing Team (Santa Barbara) 1991 Won - Daytime Emmy Award for Outstanding Drama Series Directing Team (Santa Barbara) 1998 Nominated - Directors Guild Award for Outstanding Directorial Achievement in Comedy Series ("Halloween (Part 1)") (Frasier) 1999 Nominated - Directors Guild Award for Outstanding Directorial Achievement in Comedy Series ("Two Girls for Every Boy") (Just Shoot Me!) 2000 Nominated - Directors Guild Award for Outstanding Directorial Achievement in Comedy Series ("The Flight Before Christmas") (Frasier) 2001 Nominated - Directors Guild Award for Outstanding Directorial Achievement in Comedy Series ("And The Dish Ran Away With The Spoon (Part 1 & 2)") (Frasier) 2009 Nominated - Primetime Emmy Award for Outstanding Comedy Series (How I Met Your Mother) 2011 Nominated - Online Film & Television Association Award for Best Direction in a Comedy Series (How I Met Your Mother) 2011 Nominated - Primetime Emmy Award for Outstanding Directing for a Comedy Series ("Subway Wars") (How I Met Your Mother) 2011 Won - Women in Film Crystal + Lucy Award, Dorothy Arzner Directors Award 2020 Nominated - Primetime Emmy Award for Outstanding Directing for a Variety Special (Live in Front of a Studio Audience: "All in the Family" and "Good Times") (shared with Andy Fisher) Filmography Film Television References External links Living people American television directors Television producers from Pennsylvania American women television producers Daytime Emmy Award winners American women television directors Businesspeople from Philadelphia 21st-century American women 1959 births
```css /* your_sha256_hash-------------- * * # Global less file * * Common less file with imports of plugins and pages * * Version: 1.0 * Latest update: Feb 5, 2016 * * your_sha256_hash------------ */ /* your_sha256_hash-------------- * * # Glyphicons for Bootstrap * * Glyphicons icon font path and style overrides * * Version: 1.0 * Latest update: May 25, 2015 * * your_sha256_hash------------ */ @font-face { font-family: 'Glyphicons Halflings'; src: url('../css/icons/glyphicons/glyphicons-halflings-regular.eot'); src: url('../css/icons/glyphicons/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../css/icons/glyphicons/glyphicons-halflings-regular.woff2') format('woff2'), url('../css/icons/glyphicons/glyphicons-halflings-regular.woff') format('woff'), url('../css/icons/glyphicons/glyphicons-halflings-regular.ttf') format('truetype'), url('../css/icons/glyphicons/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); } .glyphicon { font-size: 16px; vertical-align: middle; top: -1px; } /* your_sha256_hash-------------- * * # Scaffolding * * Overrides for bootstrap scaffolding * * Version: 1.3 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ html { height: 100%; } body { position: relative; min-height: 100%; } a { cursor: pointer; } a:focus { outline: 0; } figure { position: relative; } figcaption { position: absolute; bottom: 0; opacity: 0; visibility: hidden; width: 100%; color: #fff; padding: 10px 15px; z-index: 2; background-color: rgba(0, 0, 0, 0.7); -webkit-transition: all ease-in-out 0.2s; -o-transition: all ease-in-out 0.2s; transition: all ease-in-out 0.2s; } figure:hover figcaption { opacity: 1; visibility: visible; } .img-rounded { border-radius: 3px; } .hr-condensed { margin-top: 10px; margin-bottom: 10px; } /* your_sha256_hash-------------- * * # Main typography * * Main typography overrides, including custom content * * Version: 1.2 * Latest update: Nov 25, 2015 * * your_sha256_hash------------ */ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { letter-spacing: -0.015em; } h1 > .label, h2 > .label, h3 > .label, h4 > .label, h5 > .label, h6 > .label, .h1 > .label, .h2 > .label, .h3 > .label, .h4 > .label, .h5 > .label, .h6 > .label, h1 > .badge, h2 > .badge, h3 > .badge, h4 > .badge, h5 > .badge, h6 > .badge, .h1 > .badge, .h2 > .badge, .h3 > .badge, .h4 > .badge, .h5 > .badge, .h6 > .badge { vertical-align: middle; margin-top: -2px; } h1 > .label.pull-right, h2 > .label.pull-right, h3 > .label.pull-right, h4 > .label.pull-right, h5 > .label.pull-right, h6 > .label.pull-right, .h1 > .label.pull-right, .h2 > .label.pull-right, .h3 > .label.pull-right, .h4 > .label.pull-right, .h5 > .label.pull-right, .h6 > .label.pull-right, h1 > .badge.pull-right, h2 > .badge.pull-right, h3 > .badge.pull-right, h4 > .badge.pull-right, h5 > .badge.pull-right, h6 > .badge.pull-right, .h1 > .badge.pull-right, .h2 > .badge.pull-right, .h3 > .badge.pull-right, .h4 > .badge.pull-right, .h5 > .badge.pull-right, .h6 > .badge.pull-right { margin-top: 3px; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small { font-size: 13px; } h1 small.display-block, h2 small.display-block, h3 small.display-block, h4 small.display-block, h5 small.display-block, h6 small.display-block, .h1 small.display-block, .h2 small.display-block, .h3 small.display-block, .h4 small.display-block, .h5 small.display-block, .h6 small.display-block { margin-top: 3px; } h1 > [class*=icon-], h2 > [class*=icon-], h3 > [class*=icon-], .h1 > [class*=icon-], .h2 > [class*=icon-], .h3 > [class*=icon-] { top: -2px; } h1 small, h2 small, h3 small, .h1 small, .h2 small, .h3 small { font-size: 13px; } .heading-divided { margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #ddd; } a, button, input, textarea { outline: 0; } mark, .mark { background-color: #333333; padding: 2px 6px; color: #fff; border-radius: 2px; } svg { display: block; } .svg-inline svg { display: inline-block; } .svg-center svg { margin: auto; } .letter-icon { width: 16px; display: block; } .content-divider { text-align: center; position: relative; z-index: 1; } .content-divider > span { background-color: #f5f5f5; display: inline-block; padding-left: 12px; padding-right: 12px; } .panel .content-divider > span, .tab-content-bordered .content-divider > span, .modal .content-divider > span { background-color: #fff; } .content-divider > span:before { content: ""; position: absolute; top: 50%; left: 0; height: 1px; background-color: #ddd; width: 100%; z-index: -1; } .icon-object { border-radius: 50%; text-align: center; margin: 10px; border-width: 3px; border-style: solid; padding: 20px; display: inline-block; } .icon-object > i { font-size: 32px; top: 0; } .img-preview { max-height: 70px; } .video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; } .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .status-mark { width: 8px; height: 8px; display: inline-block; border-radius: 50%; border: 2px solid; } .dropdown-menu > .active .status-mark { background-color: #fff; border-color: #fff; } .position-left { margin-right: 7px; } .position-right { margin-left: 7px; } a.bg-primary:hover, a.bg-primary:focus { background-color: #2196F3; } .bg-success { color: #fff; background-color: #4CAF50; } a.bg-success:hover, a.bg-success:focus { background-color: #3d8b40; } a.bg-success:hover, a.bg-success:focus { background-color: #4CAF50; } .bg-info { color: #fff; background-color: #00BCD4; } a.bg-info:hover, a.bg-info:focus { background-color: #008fa1; } a.bg-info:hover, a.bg-info:focus { background-color: #00BCD4; } .bg-warning { color: #fff; background-color: #FF5722; } a.bg-warning:hover, a.bg-warning:focus { background-color: #ee3900; } a.bg-warning:hover, a.bg-warning:focus { background-color: #FF5722; } .bg-danger { color: #fff; background-color: #F44336; } a.bg-danger:hover, a.bg-danger:focus { background-color: #ea1c0d; } a.bg-danger:hover, a.bg-danger:focus { background-color: #F44336; } .page-header { margin: 0; padding: 0; border-bottom-width: 0; } @media (min-width: 769px) { .page-header .heading-elements.collapse { display: block; visibility: visible; } } .page-header-inverse { background-color: #273246; color: #fff; margin-bottom: 20px; } .page-header-inverse .page-title small { color: rgba(255, 255, 255, 0.5); } .page-header-inverse > .breadcrumb > li > a, .page-header-inverse .page-header-content .breadcrumb > li > a, .page-header-inverse > .breadcrumb > li + li:before, .page-header-inverse .page-header-content .breadcrumb > li + li:before { color: rgba(255, 255, 255, 0.9); } .page-header-inverse > .breadcrumb > li > a:hover, .page-header-inverse .page-header-content .breadcrumb > li > a:hover, .page-header-inverse > .breadcrumb > li > a:focus, .page-header-inverse .page-header-content .breadcrumb > li > a:focus { color: #fff; opacity: 1; filter: alpha(opacity=100); } .page-header-inverse > .breadcrumb > .active, .page-header-inverse .page-header-content .breadcrumb > .active { color: rgba(255, 255, 255, 0.5); } .page-header-inverse .form-control-feedback, .page-header-inverse .input-group-addon { color: rgba(255, 255, 255, 0.75); } .page-header-inverse .heading-text > a { color: #fff; } .page-header-inverse .form-control { border-bottom-color: rgba(255, 255, 255, 0.3); color: #fff; } .page-header-inverse .form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.75); opacity: 1; } .page-header-inverse .form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.75); } .page-header-inverse .form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.75); } .page-header-inverse .form-control:focus { border-bottom-color: #fff; -webkit-box-shadow: 0 1px 0 #fff; box-shadow: 0 1px 0 #fff; } .page-header-inverse.has-cover { background: url(../images/login_cover.jpg); background-size: cover; } .page-header-default { background-color: #fff; margin-bottom: 20px; -webkit-box-shadow: 0 1px 0 0 #ddd; box-shadow: 0 1px 0 0 #ddd; } .page-header-default.has-cover { background: url(../images/backgrounds/seamless.png); } .page-title { padding: 32px 36px 32px 0; display: block; position: relative; } .page-title small { margin-left: 10px; display: inline-block; } .page-title small:before { content: '/'; margin-right: 15px; } .page-title small.display-block { margin-left: 0; display: block; } .page-title small.display-block:before { content: none; } .page-title i ~ small.display-block { margin-left: 31px; } .page-header-lg .page-title { padding-top: 37px; padding-bottom: 37px; } .page-header-sm .page-title { padding-top: 27px; padding-bottom: 27px; } .page-header-xs .page-title { padding-top: 22px; padding-bottom: 22px; } .page-title h1, .page-title h2, .page-title h3, .page-title h4, .page-title h5, .page-title h6 { margin: 0; } @media (min-width: 769px) { .page-title { padding-right: 0; } } .page-header-content { position: relative; background-color: inherit; padding: 0 20px; } .page-header-content[class*=border-bottom-] + .breadcrumb-line { border-top: 0; } .text-black { font-weight: 900; } .text-bold { font-weight: 700; } .text-semibold { font-weight: 500; } .text-regular { font-weight: 400; } .text-light { font-weight: 300; } .text-thin { font-weight: 100; } .text-italic { font-style: italic; } .text-highlight { padding: 4px 6px; } .text-size-large { font-size: 14px; } .text-size-base { font-size: 13px; } .text-size-small { font-size: 12px; } .text-size-mini { font-size: 11px; } ul, ol { padding-left: 25px; } .list > li, .list > li .list > li { margin-top: 7px; } .list > li:first-child { margin-top: 0; } .list-condensed > li, .list-condensed > li .list > li { margin-top: 3px; } .list-extended > li, .list-extended > li .list > li { margin-top: 11px; } ul.list-square { list-style-type: square; } ul.list-circle { list-style-type: circle; } .list-inline { margin-left: 0; font-size: 0; } .list-inline > li { padding-left: 0; padding-right: 20px; font-size: 13px; } .list-inline > li:last-child { padding-right: 0; } .list-inline-condensed > li { padding-right: 10px; } .list-inline-separate > li { padding-right: 20px; position: relative; } .list-inline-separate > li:before { content: '\2022'; position: absolute; right: 8px; color: #ccc; top: 1px; } .list-inline-separate > li:last-child:before { content: none; } .list-icons { padding-left: 0; } .list-icons li { list-style: none; } .list-icons li i { margin-right: 7px; } .icons-list { margin: 0; padding: 0; list-style: none; line-height: 1; font-size: 0; } .icons-list > li { position: relative; display: inline-block; margin-left: 5px; font-size: 13px; } .icons-list > li:first-child { margin-left: 0; } .icons-list > li > a { color: inherit; display: block; opacity: 1; filter: alpha(opacity=100); } .icons-list > li > a:hover, .icons-list > li > a:focus { opacity: 0.75; filter: alpha(opacity=75); } .icons-list > li > a > i { top: 0; } .icons-list > li > a > .caret { margin-top: 0; margin-bottom: 0; } .icons-list-extended > li { margin-left: 10px; } dl { margin-bottom: 0; } dt { margin-bottom: 5px; font-weight: 500; } dd + dt { margin-top: 20px; } @media (min-width: 769px) { .dl-horizontal dt + dd { margin-top: 20px; } .dl-horizontal dt:first-child + dd { margin-top: 0; } } blockquote { margin: 0; } blockquote img { height: 42px; float: left; margin-right: 20px; } blockquote img.pull-right { margin-right: 0; margin-left: 20px; } blockquote footer, blockquote small, blockquote .small { font-size: 13px; margin-top: 7px; display: block; } .blockquote-reverse, blockquote.pull-right { padding-right: 20px; } /* your_sha256_hash-------------- * * # Code related components * * Overrides for code related bootstrap components * * Version: 1.1 * Latest update: Nov 25, 2015 * * your_sha256_hash------------ */ code { border-radius: 2px; word-wrap: break-word; } kbd { font-size: 11px; vertical-align: text-top; -webkit-box-shadow: none; box-shadow: none; } pre { padding: 20px; margin: 0; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } /* your_sha256_hash-------------- * * # Tables component * * Overrides for tables bootstrap component * * Version: 1.1 * Latest update: Oct 20, 2015 * * your_sha256_hash------------ */ th { font-weight: 500; } .table { margin-bottom: 0; } .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { vertical-align: middle; } .panel[class*=bg-] .table > thead > tr > th, .table[class*=bg-] > thead > tr > th, .panel[class*=bg-] .table > tbody > tr > th, .table[class*=bg-] > tbody > tr > th, .panel[class*=bg-] .table > tfoot > tr > th, .table[class*=bg-] > tfoot > tr > th, .panel[class*=bg-] .table > thead > tr > td, .table[class*=bg-] > thead > tr > td, .panel[class*=bg-] .table > tbody > tr > td, .table[class*=bg-] > tbody > tr > td, .panel[class*=bg-] .table > tfoot > tr > td, .table[class*=bg-] > tfoot > tr > td { border-color: rgba(255, 255, 255, 0.2); } .table tr[class*=bg-] > td, .table tr[class*=bg-] > th { border-color: #fff; } .table tr > td[class*=bg-], .table tr > th[class*=bg-] { border-color: #fff; } .table > thead > tr[class*=border-bottom-] > th, .table > thead > tr[class*=border-bottom-] > td { border-bottom-color: inherit; } .table > tbody > tr[class*=border-top-] > th, .table > tfoot > tr[class*=border-top-] > th, .table > tbody > tr[class*=border-top-] > td, .table > tfoot > tr[class*=border-top-] > td { border-top-color: inherit; } .table > thead > tr > th { border-bottom: 1px solid #bbb; } .table > tfoot > tr > th { border-top: 1px solid #bbb; } .table .table { background-color: #fff; } .table-responsive + .table-responsive > .table:not(.table-bordered):not(.table-framed), .table:not(.table-bordered):not(.table-framed) + .table:not(.table-bordered):not(.table-framed) { border-top: 1px solid #ddd; } .panel-body + .table > tbody:first-child > tr:first-child > td, .panel-body + .table-responsive > .table > tbody:first-child > tr:first-child > td, .panel-body + .table > tbody:first-child > tr:first-child > th, .panel-body + .table-responsive > .table > tbody:first-child > tr:first-child > th { border-top: 0; } .modal-body + .table-responsive > .table, .modal-body + .table { border-bottom: 1px solid #ddd; } .modal-body + .table-responsive { border: 0; } .panel[class*=bg-] > .panel-body + .table, .panel[class*=bg-] > .panel-body + .table-responsive { border-color: #fff; } .table > thead > tr.border-solid > th, .table > thead > tr.border-solid > td { border-bottom-width: 2px; } .table > tbody > tr.border-solid > td, .table > tfoot > tr.border-solid > td, .table > tbody > tr.border-solid > th, .table > tfoot > tr.border-solid > th { border-top-width: 2px; } .table-bordered > thead > tr.border-solid:first-child > th, .table-bordered > thead > tr.border-solid:first-child > td { border-bottom-width: 2px; } .table > thead > tr.border-double > th, .table > thead > tr.border-double > td { border-bottom-width: 3px; border-bottom-style: double; } .table > tbody > tr.border-double > td, .table > tfoot > tr.border-double > td, .table > tbody > tr.border-double > th, .table > tfoot > tr.border-double > th { border-top-width: 3px; border-top-style: double; } .table-bordered > thead > tr.border-double:first-child > th, .table-bordered > thead > tr.border-double:first-child > td { border-bottom-width: 3px; border-bottom-style: double; } .table > tbody > tr.border-dashed > td, .table > tbody > tr.border-dashed > th { border-top-style: dashed; } .table-framed, .panel > .table-framed, .panel > .table-responsive > .table-framed { border: 1px solid #ddd; } @media screen and (max-width: 768px) { .table-responsive > .table-framed { border: 0; } } .table-borderless > tbody > tr > td, .table-borderless > tbody > tr > th { border: 0; } .table-columned > tbody > tr > td, .table-columned > tfoot > tr > td, .table-columned > tbody > tr > th, .table-columned > tfoot > tr > th { border: 0; border-left: 1px solid #ddd; } .table-columned > tbody > tr > td:first-child, .table-columned > tfoot > tr > td:first-child, .table-columned > tbody > tr > th:first-child, .table-columned > tfoot > tr > th:first-child { border-left: 0; } .table-columned > thead > tr > th, .table-columned > thead > tr > td { border-left: 1px solid #ddd; } .table-columned > thead > tr > th:first-child, .table-columned > thead > tr > td:first-child { border-left: 0; } .table-xlg > thead > tr > th, .table-xlg > tbody > tr > th, .table-xlg > tfoot > tr > th, .table-xlg > thead > tr > td, .table-xlg > tbody > tr > td, .table-xlg > tfoot > tr > td { padding: 20px; } .table-lg > thead > tr > th, .table-lg > tbody > tr > th, .table-lg > tfoot > tr > th, .table-lg > thead > tr > td, .table-lg > tbody > tr > td, .table-lg > tfoot > tr > td { padding: 15px 20px; } .table-sm > thead > tr > th, .table-sm > tbody > tr > th, .table-sm > tfoot > tr > th, .table-sm > thead > tr > td, .table-sm > tbody > tr > td, .table-sm > tfoot > tr > td { padding: 10px 20px; } .table-xs > thead > tr > th, .table-xs > tbody > tr > th, .table-xs > tfoot > tr > th, .table-xs > thead > tr > td, .table-xs > tbody > tr > td, .table-xs > tfoot > tr > td { padding: 8px 20px; } .table-xxs > thead > tr > th, .table-xxs > tbody > tr > th, .table-xxs > tfoot > tr > th, .table-xxs > thead > tr > td, .table-xxs > tbody > tr > td, .table-xxs > tfoot > tr > td { padding: 6px 15px; } .table-bordered tr:first-child > td, .table-bordered tr:first-child > th { border-top-color: #bbb; } .table-bordered tr[class*=bg-] > th, .table-bordered tr[class*=bg-] > td, .table-bordered tr > th[class*=bg-], .table-bordered tr > td[class*=bg-] { border-color: #fff; } .panel[class*=bg-] .table-striped > tbody > tr:nth-child(odd), .table-striped[class*=bg-] > tbody > tr:nth-child(odd) { background-color: rgba(0, 0, 0, 0.05); } .table-hover > tbody > tr:hover > th, .table-hover > tbody > tr:hover > td { background-color: inherit; } .panel[class*=bg-] .table-hover > tbody > tr:hover, .table-hover[class*=bg-] > tbody > tr:hover { background-color: rgba(0, 0, 0, 0.1); } .panel[class*=bg-] .panel-body > .table .active > th, .panel[class*=bg-] .panel-body > .table-responsive > .table .active > th, .table[class*=bg-] .active > th, .panel[class*=bg-] .panel-body > .table .active > td, .panel[class*=bg-] .panel-body > .table-responsive > .table .active > td, .table[class*=bg-] .active > td, .panel[class*=bg-] .panel-body > .table th.active, .panel[class*=bg-] .panel-body > .table-responsive > .table th.active, .table[class*=bg-] th.active, .panel[class*=bg-] .panel-body > .table td.active, .panel[class*=bg-] .panel-body > .table-responsive > .table td.active, .table[class*=bg-] td.active { background-color: rgba(0, 0, 0, 0.15); } /* your_sha256_hash-------------- * * # Form related components * * Overrides for bootstrap form related components * * Version: 1.1 * Latest update: Mar 10, 2015 * * your_sha256_hash------------ */ /* Form controls ----------------------------------*/ legend { font-size: 12px; padding-top: 10px; padding-bottom: 10px; text-transform: uppercase; } fieldset:first-child legend:first-child { padding-top: 0; } legend .control-arrow { float: right; color: #999999; } legend .control-arrow:hover { color: #333333; } label { margin-bottom: 7px; font-weight: 400; } select[multiple], select[size] { height: 200px; padding: 7px; } select[multiple] option, select[size] option { padding: 7px 12px; border-radius: 3px; } select[multiple] option + option, select[size] option + option { margin-top: 1px; } input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { outline: 0; } .form-control { -webkit-box-shadow: none; box-shadow: none; } .form-control:focus { outline: 0; -webkit-box-shadow: none; box-shadow: none; } .form-control[class*=bg-]:focus { border-color: transparent; } .form-control[class*=bg-]::-moz-placeholder { color: #fff; opacity: 1; } .form-control[class*=bg-]:-ms-input-placeholder { color: #fff; } .form-control[class*=bg-]::-webkit-input-placeholder { color: #fff; } .input-rounded { border-radius: 100px; } .input-roundless { border-radius: 0; } .form-control-unstyled { padding: 0; border: 0; background-color: transparent; } input[type="text"], input[type="password"], input[type="search"], input[type="email"], input[type="number"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="url"], input[type="tel"], textarea { -webkit-appearance: none; } /* Form components ----------------------------------*/ .form-group { margin-bottom: 20px; position: relative; } .form-group .form-group:last-child { margin-bottom: 0; } @media (max-width: 1024px) { .form-group div[class*="col-md-"]:not(.control-label) + div[class*="col-md-"] { margin-top: 20px; } } @media (max-width: 1199px) { .form-group div[class*="col-lg-"]:not(.control-label) + div[class*="col-lg-"] { margin-top: 20px; } } @media (max-width: 768px) { .form-group div[class*="col-sm-"]:not(.control-label) + div[class*="col-sm-"] { margin-top: 20px; } } .form-group-material > .control-label { position: relative; top: 7px; opacity: 0; filter: alpha(opacity=0); } .form-group-material > .control-label ~ .form-control-feedback { top: 27px; } .form-group-material > .control-label.is-visible { top: 0; opacity: 1; filter: alpha(opacity=100); } .form-group-material > .control-label.animate { -webkit-transition: all linear 0.1s; -o-transition: all linear 0.1s; transition: all linear 0.1s; } .radio, .checkbox { margin-top: 8px; margin-bottom: 8px; } .radio label, .checkbox label { padding-left: 28px; } .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] { margin-left: 0; left: 0; } .radio + .radio, .checkbox + .checkbox { margin-top: 0; } .radio-inline, .checkbox-inline { position: relative; padding-left: 28px; } .radio-right.radio-inline, .radio-right label, .checkbox-right.radio-inline, .checkbox-right label, .checkbox-right.checkbox-inline, .checkbox-right label { padding-left: 0; padding-right: 28px; } .radio-right input[type="radio"], .checkbox-right input[type="radio"], .checkbox-right input[type="checkbox"] { left: auto; right: 0; } .radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-left: 15px; } .radio.disabled, .checkbox.disabled, .radio-inline.disabled, .checkbox-inline.disabled, fieldset[disabled] .radio, fieldset[disabled] .checkbox, fieldset[disabled] .radio-inline, fieldset[disabled] .checkbox-inline { color: #999999; } /* Form control sizing ----------------------------------*/ .input-xlg { height: 42px; padding: 10px 16px; font-size: 15px; line-height: 1.333334; border-radius: 3px; } select.input-xlg { height: 42px; line-height: 42px; } textarea.input-xlg, select[multiple].input-xlg { height: auto; } .form-group-xlg .form-control { height: 42px; padding: 10px 16px; font-size: 15px; line-height: 1.333334; border-radius: 3px; } select.form-group-xlg .form-control { height: 42px; line-height: 42px; } textarea.form-group-xlg .form-control, select[multiple].form-group-xlg .form-control { height: auto; } .form-group-xlg .form-control-static { height: 42px; min-height: 35px; padding: 10px 16px; font-size: 15px; line-height: 1.333334; } .input-xs { height: 32px; padding: 5px 10px; font-size: 12px; line-height: 1.6666667; border-radius: 2px; } select.input-xs { height: 32px; line-height: 32px; } textarea.input-xs, select[multiple].input-xs { height: auto; } .form-group-xs .form-control { height: 32px; padding: 5px 10px; font-size: 12px; line-height: 1.6666667; border-radius: 2px; } select.form-group-xs .form-control { height: 32px; line-height: 32px; } textarea.form-group-xs .form-control, select[multiple].form-group-xs .form-control { height: auto; } .form-group-xs .form-control-static { height: 32px; min-height: 32px; padding: 5px 10px; font-size: 12px; line-height: 1.6666667; } /* Form helpers ----------------------------------*/ .has-feedback .form-control { padding-right: 36px; } .has-feedback .form-control.input-xlg { padding-right: 42px; } .has-feedback .form-control.input-lg { padding-right: 40px; } .has-feedback .form-control.input-sm { padding-right: 34px; } .has-feedback .form-control.input-xs { padding-right: 32px; } .form-control-feedback { width: 38px; color: #333333; z-index: 3; } input[class*=bg-] + .form-control-feedback { color: #fff; } .has-feedback-left .form-control { padding-right: 12px; padding-left: 36px; } .has-feedback-left .form-control.input-xlg { padding-right: 10px; padding-left: 42px; } .has-feedback-left .form-control.input-lg { padding-right: 15px; padding-left: 40px; } .has-feedback-left .form-control.input-sm { padding-right: 11px; padding-left: 34px; } .has-feedback-left .form-control.input-xs { padding-right: 10px; padding-left: 32px; } .has-feedback-left .form-control-feedback { right: auto; left: 0; } .input-xlg + .form-control-feedback, .form-group-xlg > .form-control-feedback { width: 44px; height: 42px; line-height: 42px; } .input-lg + .form-control-feedback, .form-group-lg > .form-control-feedback { width: 42px; } .input-sm + .form-control-feedback, .form-group-sm > .form-control-feedback { width: 36px; } .input-xs + .form-control-feedback, .form-group-xs > .form-control-feedback { width: 34px; height: 32px; line-height: 32px; } .has-success .form-control:focus, .has-warning .form-control:focus, .has-error .form-control:focus { -webkit-box-shadow: none; box-shadow: none; } .help-block { color: #999999; font-size: 12px; margin-top: 7px; margin-bottom: 7px; } .help-inline { display: inline-block; color: #999999; font-size: 12px; margin-top: 8px; margin-bottom: 8px; } .form-horizontal .form-group > div[class*="col-"] + .help-inline { margin-left: 10px; margin-right: 10px; } @media (min-width: 1025px) { .help-inline { display: inline-block; margin-top: 8px; margin-bottom: 8px; vertical-align: top; } .help-inline:not(.label) { color: #999999; } .form-group-lg .help-inline { margin-top: 10px; } .form-group-sm .help-inline { margin-top: 7px; } .form-group-xs .help-inline { margin-top: 6px; } } /* Form layouts ----------------------------------*/ @media (min-width: 769px) { .form-inline .form-group + .form-group { margin-left: 15px; } .form-inline .form-group > label { margin-right: 7px; position: relative; top: 1px; } } .form-horizontal .form-group .form-group { margin-left: 0; margin-right: 0; } @media (min-width: 769px) { .form-horizontal .control-label { padding-bottom: 7px; padding-top: 0; } .form-horizontal .control-label:not(.text-right) { text-align: left; } } @media (min-width: 480px) { .form-horizontal .control-label[class*=col-xs-] { padding-top: 8px; } } @media (min-width: 1025px) { .form-horizontal .control-label[class*=col-md-] { padding-top: 8px; } } @media (min-width: 769px) { .form-horizontal .control-label[class*=col-sm-] { padding-top: 8px; } } @media (min-width: 1200px) { .form-horizontal .control-label[class*=col-lg-] { padding-top: 8px; } } .form-horizontal .has-feedback > .form-control-feedback { right: 0; } .form-horizontal .has-feedback-left .form-control-feedback { right: auto; left: 10px; } .form-horizontal .has-feedback-left > .form-control-feedback { left: 0; } @media (min-width: 769px) { .form-horizontal .form-group-xlg .control-label { font-size: 15px; padding-top: 11px; } } @media (min-width: 769px) { .form-horizontal .form-group-lg .control-label { padding-top: 10px; } } @media (min-width: 769px) { .form-horizontal .form-group-sm .control-label { padding-top: 7px; } } @media (min-width: 769px) { .form-horizontal .form-group-xs .control-label { font-size: 12px; padding-top: 6px; } } /* your_sha256_hash-------------- * * # Buttons component * * Overrides for buttons bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .btn { position: relative; } .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus { outline: 0; } .btn::-moz-focus-inner { border: 0; } .btn:hover, .btn:focus, .btn.focus { -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.05) inset; box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.05) inset; } .btn:active, .btn.active { -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.1) inset; box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.1) inset; } .btn[class*=bg-]:hover, .btn[class*=bg-]:focus, .btn[class*=bg-].focus { color: #fff; } .btn.text-size-small { line-height: 1.6666667; } .btn.text-size-mini { line-height: 1.82; } .btn-default:hover, .btn-default:focus, .btn-default.focus { -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.01) inset; box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.01) inset; } .btn-default:active, .btn-default.active { -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.03) inset; box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.03) inset; } .btn-labeled { padding-left: 48px; } .btn-labeled.btn-default > b { background-color: #2196F3; color: #fff; } .btn-labeled > b { position: absolute; top: -1px; left: -1px; background-color: rgba(0, 0, 0, 0.15); display: block; line-height: 1; padding: 10px; border-bottom-left-radius: 3px; border-top-left-radius: 3px; } .btn-labeled > b > i { top: 0; } .btn-labeled.btn-labeled-right { padding-left: 12px; padding-right: 48px; } .btn-labeled.btn-labeled-right > b { left: auto; right: -1px; border-bottom-left-radius: 0; border-top-left-radius: 0; border-bottom-right-radius: 3px; border-top-right-radius: 3px; } .btn-labeled.btn-xlg { padding-left: 58px; } .btn-labeled.btn-xlg > b { padding: 13px; } .btn-labeled.btn-xlg.btn-labeled-right { padding-left: 16px; padding-right: 58px; } .btn-labeled.btn-lg { padding-left: 55px; } .btn-labeled.btn-lg > b { padding: 12px; } .btn-labeled.btn-lg.btn-labeled-right { padding-left: 15px; padding-right: 55px; } .btn-labeled.btn-sm { padding-left: 45px; } .btn-labeled.btn-sm > b { padding: 9px; } .btn-labeled.btn-sm.btn-labeled-right { padding-left: 11px; padding-right: 45px; } .btn-labeled.btn-xs { padding-left: 42px; } .btn-labeled.btn-xs > b { padding: 8px; } .btn-labeled.btn-xs.btn-labeled-right { padding-left: 10px; padding-left: 42px; } .btn-flat { border-width: 2px; background-color: transparent; } .btn-flat:hover, .btn-flat:focus { opacity: 0.8; filter: alpha(opacity=80); -webkit-box-shadow: none; box-shadow: none; } .btn-flat:active { opacity: 0.95; filter: alpha(opacity=95); } .btn-group.open .dropdown-toggle.btn-flat { -webkit-box-shadow: none; box-shadow: none; } .btn-icon { padding-left: 9px; padding-right: 9px; } .btn-icon.icon-2x { padding-left: 7px; padding-right: 7px; } .btn-icon.icon-2x > i { font-size: 32px; top: 0; } .btn-icon.icon-2x.btn-xlg { padding-left: 10px; padding-right: 10px; } .btn-icon.icon-2x.btn-lg { padding-left: 9px; padding-right: 9px; } .btn-icon.icon-2x.btn-sm { padding-left: 6px; padding-right: 6px; } .btn-icon.icon-2x.btn-xs { padding-left: 5px; padding-right: 5px; } .btn-icon.btn-xlg, .input-group-xlg > .input-group-btn > .btn-icon { padding-left: 12px; padding-right: 12px; } .btn-icon.btn-lg, .input-group-lg > .input-group-btn > .btn-icon { padding-left: 11px; padding-right: 11px; } .btn-icon.btn-sm, .input-group-sm > .input-group-btn > .btn-icon { padding-left: 8px; padding-right: 8px; } .btn-icon.btn-xs, .input-group-xs > .input-group-btn > .btn.btn-icon { padding-left: 7px; padding-right: 7px; } .btn-float { padding: 16px; white-space: normal; border-radius: 3px; } .btn-float.btn-link { padding: 11px; } .btn-float i { display: block; margin: 0; top: 0; } .btn-float img { border-radius: 3px; } .btn-float > span { display: block; padding-top: 10px; margin-bottom: -6px; } .btn-float.btn-float-lg i { font-size: 32px; } .btn-link { color: #333333; } .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { -webkit-box-shadow: none; box-shadow: none; } .btn-rounded, .btn-rounded.btn-labeled > b, .btn-rounded img { border-radius: 100px; } .btn-block + .btn-block { margin-top: 10px; } .btn-default:focus, .btn-default.focus, .btn-default:hover { background-color: #fcfcfc; border-color: #ddd; } .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { background-color: #fcfcfc; border-color: #ddd; } .btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus { background-color: #fcfcfc; border-color: #ddd; } .btn-default.disabled { -webkit-box-shadow: none; box-shadow: none; } .btn-primary:focus, .btn-primary.focus, .btn-primary:hover { background-color: #2196F3; border-color: #2196F3; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { background-color: #2196F3; border-color: #2196F3; } .btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus { background-color: #2196F3; border-color: #2196F3; } .btn-primary.disabled { -webkit-box-shadow: none; box-shadow: none; } .btn-success:focus, .btn-success.focus, .btn-success:hover { background-color: #4CAF50; border-color: #4CAF50; } .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { background-color: #4CAF50; border-color: #4CAF50; } .btn-success:active:hover, .btn-success.active:hover, .open > .dropdown-toggle.btn-success:hover, .btn-success:active:focus, .btn-success.active:focus, .open > .dropdown-toggle.btn-success:focus, .btn-success:active.focus, .btn-success.active.focus, .open > .dropdown-toggle.btn-success.focus { background-color: #4CAF50; border-color: #4CAF50; } .btn-success.disabled { -webkit-box-shadow: none; box-shadow: none; } .btn-info:focus, .btn-info.focus, .btn-info:hover { background-color: #00BCD4; border-color: #00BCD4; } .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { background-color: #00BCD4; border-color: #00BCD4; } .btn-info:active:hover, .btn-info.active:hover, .open > .dropdown-toggle.btn-info:hover, .btn-info:active:focus, .btn-info.active:focus, .open > .dropdown-toggle.btn-info:focus, .btn-info:active.focus, .btn-info.active.focus, .open > .dropdown-toggle.btn-info.focus { background-color: #00BCD4; border-color: #00BCD4; } .btn-info.disabled { -webkit-box-shadow: none; box-shadow: none; } .btn-warning:focus, .btn-warning.focus, .btn-warning:hover { background-color: #FF5722; border-color: #FF5722; } .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { background-color: #FF5722; border-color: #FF5722; } .btn-warning:active:hover, .btn-warning.active:hover, .open > .dropdown-toggle.btn-warning:hover, .btn-warning:active:focus, .btn-warning.active:focus, .open > .dropdown-toggle.btn-warning:focus, .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus { background-color: #FF5722; border-color: #FF5722; } .btn-warning.disabled { -webkit-box-shadow: none; box-shadow: none; } .btn-danger:focus, .btn-danger.focus, .btn-danger:hover { background-color: #F44336; border-color: #F44336; } .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { background-color: #F44336; border-color: #F44336; } .btn-danger:active:hover, .btn-danger.active:hover, .open > .dropdown-toggle.btn-danger:hover, .btn-danger:active:focus, .btn-danger.active:focus, .open > .dropdown-toggle.btn-danger:focus, .btn-danger:active.focus, .btn-danger.active.focus, .open > .dropdown-toggle.btn-danger.focus { background-color: #F44336; border-color: #F44336; } .btn-danger.disabled { -webkit-box-shadow: none; box-shadow: none; } .btn-xlg, .btn-group-xlg > .btn { padding: 10px 16px; font-size: 14px; line-height: 1.4285715; border-radius: 3px; } .btn-xlg.btn-rounded { border-radius: 100px; } .btn-lg, .btn-group-lg > .btn { border-radius: 3px; } .btn-lg.btn-rounded { border-radius: 100px; } .btn-sm:not(.btn-rounded), .btn-group-sm > .btn:not(.btn-rounded), .btn-xs:not(.btn-rounded), .btn-group-xs > .btn:not(.btn-rounded) { border-radius: 3px; } /* your_sha256_hash-------------- * * # Dropdown menu component * * Overrides for dropdown menu bootstrap component * * Version: 1.2 * Latest update: Aug 10, 2016 * * your_sha256_hash------------ */ .caret { font-style: normal; font-weight: normal; border: 0; margin: 0; width: auto; height: auto; text-align: center; margin-top: -1px; } .caret:after { content: '\e9c5'; font-family: 'icomoon'; display: block; font-size: 16px; width: 16px; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .dropdown-menu { min-width: 180px; padding: 7px 0; color: #333333; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .dropdown-menu .divider { margin: 7px 0; } .dropdown-menu > li { position: relative; margin-bottom: 1px; } .dropdown-menu > li:last-child { margin-bottom: 0; } .dropdown-menu > li > a { padding: 8px 15px; outline: 0; overflow: hidden; text-overflow: ellipsis; } .dropdown-menu > li > a > i, .dropdown-menu > .dropdown-header > i, .dropdown-menu > li > a > img, .dropdown-menu > .dropdown-header > img { margin-right: 12px; float: left; margin-top: 2px; top: 0; } .dropdown-menu > li > a > i.pull-right, .dropdown-menu > .dropdown-header > i.pull-right, .dropdown-menu > li > a > img.pull-right, .dropdown-menu > .dropdown-header > img.pull-right { margin-right: 0; margin-left: 12px; } .dropdown-menu > li > a > .label, .dropdown-menu > .dropdown-header > .label, .dropdown-menu > li > a > .badge, .dropdown-menu > .dropdown-header > .badge { float: left; margin-right: 12px; } .dropdown-menu > li > a > .label.pull-right, .dropdown-menu > .dropdown-header > .label.pull-right, .dropdown-menu > li > a > .badge.pull-right, .dropdown-menu > .dropdown-header > .badge.pull-right { margin-right: 0; margin-left: 12px; } .dropdown-menu > li > a > img, .dropdown-menu > .dropdown-header > img { max-height: 16px; } .dropdown-menu > li > label:hover, .dropdown-menu > li > label:focus { text-decoration: none; color: #333333; background-color: #f5f5f5; } .dropdown-menu > .active > label, .dropdown-menu > .active > label:hover, .dropdown-menu > .active > label:focus { color: #fff; outline: 0; background-color: #2196F3; } .dropdown-menu > .disabled > label, .dropdown-menu > .disabled > label:hover, .dropdown-menu > .disabled > label:focus { background-color: transparent; color: #999999; } .dropdown-menu > li > label { padding: 8px 15px; padding-left: 43px; display: block; cursor: pointer; } .dropdown-menu > li > label .checker, .dropdown-menu > li > label .choice, .dropdown-menu > li > label > input[type=checkbox], .dropdown-menu > li > label > input[type=radio] { left: 15px; top: auto; margin-top: 1px; } .dropdown-menu > li.checkbox, .dropdown-menu > li.radio { margin-top: 0; } .dropdown-menu > li.checkbox-right > label, .dropdown-menu > li.radio-right > label, .dropdown-menu > li.checkbox-right > label { padding-left: 15px; padding-right: 43px; } .dropdown-menu > li.checkbox-right > label .checker, .dropdown-menu > li.checkbox-right > label > input[type=checkbox] { left: auto; right: 15px; } .dropdown-menu > li.radio-right > label .choice, .dropdown-menu > li.radio-right > label > input[type=radio], .dropdown-menu > li.checkbox-right > label .choice, .dropdown-menu > li.checkbox-right > label > input[type=radio] { left: auto; right: 15px; } .dropdown-menu > .checkbox-switchery > label > .switchery { left: 15px; } .dropdown-menu > .checkbox-switchery.checkbox-right[class*=switchery-] > label { padding-left: 15px; } .dropdown-menu > .checkbox-switchery.checkbox-right[class*=switchery-] > label > .switchery { left: auto; right: 15px; } .dropdown-menu > .checkbox-switchery.switchery-sm { margin-bottom: 0; } .dropdown-menu > .checkbox-switchery.switchery-sm > label { padding-left: 68px; } .dropdown-menu > .checkbox-switchery.switchery-xs { margin-bottom: 0; } .dropdown-menu > .checkbox-switchery.switchery-xs > label { padding-left: 60px; } .dropdown-menu > .checkbox-switchery.checkbox-right.switchery-sm > label { padding-right: 68px; } .dropdown-menu > .checkbox-switchery.checkbox-right.switchery-xs > label { padding-right: 60px; } .dropdown-menu > .disabled .badge, .dropdown-menu > .disabled .label, .dropdown-menu > .disabled img { opacity: 0.8; filter: alpha(opacity=80); } .dropdown-menu[class*=bg-] > li > a, .dropdown-menu[class*=bg-] > li > label { color: #fff; } .dropdown-menu[class*=bg-] > li > a:hover, .dropdown-menu[class*=bg-] > li > label:hover, .dropdown-menu[class*=bg-] > li > a:focus, .dropdown-menu[class*=bg-] > li > label:focus { background-color: rgba(0, 0, 0, 0.1); } .dropdown-menu[class*=bg-] > li > a > .label, .dropdown-menu[class*=bg-] > li > label > .label, .dropdown-menu[class*=bg-] > li > a > .badge, .dropdown-menu[class*=bg-] > li > label > .badge { color: #333333; background-color: #fff; border-color: #fff; } .dropdown-menu[class*=bg-] > .active > a, .dropdown-menu[class*=bg-] > .active > label, .dropdown-menu[class*=bg-] > .active > a:hover, .dropdown-menu[class*=bg-] > .active > label:hover, .dropdown-menu[class*=bg-] > .active > a:focus, .dropdown-menu[class*=bg-] > .active > label:focus { background-color: rgba(0, 0, 0, 0.2); } .dropdown-menu[class*=bg-] > .disabled > a, .dropdown-menu[class*=bg-] > .disabled > label, .dropdown-menu[class*=bg-] > .disabled > a:hover, .dropdown-menu[class*=bg-] > .disabled > label:hover, .dropdown-menu[class*=bg-] > .disabled > a:focus, .dropdown-menu[class*=bg-] > .disabled > label:focus { background-color: transparent; color: rgba(255, 255, 255, 0.6); } .dropdown-menu[class*=bg-] > .dropdown-header { color: rgba(255, 255, 255, 0.6); } .dropdown-menu[class*=bg-] > .dropdown-header.highlight { background-color: rgba(0, 0, 0, 0.1); } .dropdown-menu[class*=bg-] .divider { background-color: rgba(255, 255, 255, 0.4); } .dropdown-menu-lg > li > a { padding-top: 9px; padding-bottom: 9px; font-size: 14px; line-height: 1.4285715; } .dropdown-menu-sm > li > a { padding-top: 6px; padding-bottom: 6px; font-size: 12px; line-height: 1.6666667; } .dropdown-menu-xs > li > a { padding-top: 5px; padding-bottom: 5px; font-size: 12px; line-height: 1.6666667; } .dropdown-menu > .dropdown-submenu > a { padding-right: 38px; position: relative; } .dropdown-menu > .dropdown-submenu > a:after { content: '\e9c7'; font-family: 'icomoon'; position: absolute; top: 50%; margin-top: -8px; right: 15px; font-size: 16px; font-weight: 400; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; opacity: 0.8; filter: alpha(opacity=80); } .dropdown-menu > .dropdown-submenu:hover > a, .dropdown-menu > .dropdown-submenu:focus > a { background-color: #f5f5f5; } .dropdown-menu > .dropdown-submenu:hover > a:after, .dropdown-menu > .dropdown-submenu:focus > a:after { opacity: 1; filter: alpha(opacity=100); } .dropdown-menu > .dropdown-submenu.active > a { background-color: #2196F3; color: #fff; } @media (min-width: 769px) { .dropdown-menu > .dropdown-submenu:hover > .dropdown-menu { display: block; } } .dropdown-menu > .dropdown-submenu.disabled > .dropdown-menu { display: none; } .dropdown-menu > .dropdown-submenu.disabled > a { background-color: transparent; } .dropdown-menu > .dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-top: -8px; } .dropup .dropdown-menu > .dropdown-submenu > .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu > .dropdown-submenu > .dropdown-menu { top: auto; bottom: 0; margin-top: 0; margin-bottom: -8px; } .dropdown-menu > .dropdown-submenu.dropdown-submenu-left > .dropdown-menu { left: auto; right: 100%; } .dropup .dropdown-menu > .dropdown-submenu > .dropdown-menu, .dropup.dropdown-menu > .dropdown-submenu > .dropdown-menu { top: auto; bottom: 0; margin-top: 0; margin-bottom: -8px; } @media (max-width: 768px) { .dropdown-menu > .dropdown-submenu { position: static; } .dropdown-menu > .dropdown-submenu > a:after { content: '\e9c5'; } .dropdown-menu > .dropdown-submenu .dropdown-menu, .dropdown-menu > .dropdown-submenu.dropdown-submenu-left .dropdown-menu { position: relative; left: 0; right: 0; float: none; border-width: 0; border-color: rgba(0, 0, 0, 0.1); box-shadow: none; min-width: 100%; margin: 0; } .dropdown-menu > .dropdown-submenu .dropdown-menu > li > a, .dropdown-menu > .dropdown-submenu.dropdown-submenu-left .dropdown-menu > li > a { padding-left: 30px; } .dropdown-menu > .dropdown-submenu .dropdown-menu > li > ul > li > a, .dropdown-menu > .dropdown-submenu.dropdown-submenu-left .dropdown-menu > li > ul > li > a { padding-left: 45px; } } .dropdown-menu[class*=bg-] > .dropdown-submenu:hover > a, .dropdown-menu[class*=bg-] > .dropdown-submenu:focus > a { background-color: rgba(0, 0, 0, 0.1); } .dropdown-menu[class*=bg-] > .dropdown-submenu.disabled:hover > a, .dropdown-menu[class*=bg-] > .dropdown-submenu.disabled:focus > a { background-color: transparent; } .dropdown-header { padding: 8px 15px; font-size: 11px; line-height: 1.82; color: #999999; text-transform: uppercase; margin-top: 7px; } .dropdown-header.highlight { margin-top: 0; background-color: #f8f8f8; color: #999999; } li + .dropdown-header.highlight, .dropdown-header.highlight + li { margin-top: 7px; } .dropdown-header.highlight:first-child { margin-top: 0; } .dropup .caret, .navbar-fixed-bottom .dropdown .caret { border: 0; } .dropup .caret:after, .navbar-fixed-bottom .dropdown .caret:after { content: '\e9c6'; } /* your_sha256_hash-------------- * * # Button group component * * Overrides for button group bootstrap component * * Version: 1.1 * Latest update: Oct 20, 2015 * * your_sha256_hash------------ */ .btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group { margin-left: 1px; } .btn-group .btn + .btn-default, .btn-group .btn-default + .btn-group, .btn-group .btn-group + .btn-default { margin-left: -1px; } .btn-toolbar { font-size: 0; } .btn-toolbar .btn-group, .btn-toolbar .input-group { float: none; } .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; } .btn-group > .btn + .dropdown-toggle { padding-left: 9px; padding-right: 9px; } .btn-group > .btn-xlg + .dropdown-toggle, .btn-group-xlg > .btn + .dropdown-toggle { padding-left: 13px; padding-right: 13px; } .btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg > .btn + .dropdown-toggle { padding-left: 12px; padding-right: 12px; } .btn-group > .btn-sm + .dropdown-toggle, .btn-group-sm > .btn + .dropdown-toggle { padding-left: 8px; padding-right: 8px; } .btn-group > .btn-xs + .dropdown-toggle, .btn-group-xs > .btn + .dropdown-toggle { padding-left: 7px; padding-right: 7px; } .btn-group.open .dropdown-toggle { -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.1) inset; box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.1) inset; } .btn-group.open .dropdown-toggle.btn-default { -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.03) inset; box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.03) inset; } .btn-group-justified > .btn + .btn, .btn-group-justified > .btn-group + .btn-group > .btn { border-left-color: rgba(255, 255, 255, 0.2); } .btn-group-justified > .btn + .btn-default, .btn-group-justified > .btn-group + .btn-group > .btn-default { border-left-width: 0; } /* your_sha256_hash-------------- * * # Input groups component * * Overrides for input groups bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .input-group .form-control-feedback { z-index: 3; } .input-group-xlg > .form-control, .input-group-xlg > .input-group-addon, .input-group-xlg > .input-group-btn > .btn { height: 42px; padding: 10px 16px; font-size: 15px; line-height: 1.333334; } .input-group-xs > .form-control, .input-group-xs > .input-group-addon, .input-group-xs > .input-group-btn > .btn { height: 32px; padding: 5px 10px; font-size: 12px; line-height: 1.6666667; } .input-group-transparent .input-group-addon { background-color: transparent; border-color: transparent; padding: 0; } .input-group-transparent .form-control { background-color: transparent; border-color: transparent; cursor: pointer; width: auto; padding: 0; } .input-group-transparent .form-control:hover, .input-group-transparent .form-control:focus { border-color: transparent; } .input-group-addon > i { display: block; top: 0; } .input-group-addon .checker, .input-group-addon .choice { display: block; margin-top: 1px; } .input-group-addon.input-xlg { padding: 11px 15px; font-size: 14px; border-radius: 3px; } .input-group-addon.input-xs { padding: 5px 10px; font-size: 13px; border-radius: 2px; } .input-group-addon.input-sm { font-size: 13px; } .input-group-addon.input-lg { border-radius: 3px; } /* your_sha256_hash-------------- * * # Navs related component * * Overrides for navs related bootstrap component * * Version: 1.3 * Latest update: Aug 10, 2016 * * your_sha256_hash------------ */ .nav > li > a:focus { outline: 0; } .nav > li.disabled > a > .badge, .nav > li.disabled > a > .label, .nav > li.disabled > a > .status-mark, .nav > li.disabled > a > img { opacity: 0.75; filter: alpha(opacity=75); } .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: transparent; border-color: transparent; color: #333333; } .nav.nav-lg > li > a { padding: 11px 20px; } .nav.nav-sm > li > a { padding: 7px 15px; } .nav.nav-xs > li > a { padding: 5px 10px; } .nav .tab-img { max-height: 20px; display: inline-block; vertical-align: top; } .nav-tabs { margin-bottom: 20px; } .nav-tabs > li { float: none; } .nav-tabs > li > a { margin-right: 0; color: #888; border-radius: 0; } .nav-tabs > li > a:hover, .nav-tabs > li > a:focus { background-color: transparent; border-color: transparent; color: #333333; } .nav-tabs > li > a > [class*=icon-].pull-right { float: right; margin-top: 2px; } .nav-tabs.nav-justified > li > a { border-radius: 0; margin-bottom: 0; } .nav-tabs.nav-justified > li > a:hover, .nav-tabs.nav-justified > li > a:focus { border-bottom-color: #ddd; } @media (min-width: 769px) { .nav-tabs.nav-justified.nav-tabs-top { border-bottom: 1px solid #ddd; } .nav-tabs.nav-justified.nav-tabs-top > li > a, .nav-tabs.nav-justified.nav-tabs-top > li > a:hover, .nav-tabs.nav-justified.nav-tabs-top > li > a:focus { border: 0; } .nav-tabs.nav-justified.nav-tabs-bottom { border-bottom: 1px solid #ddd; } .nav-tabs.nav-justified.nav-tabs-highlight > li > a, .nav-tabs.nav-justified.nav-tabs-highlight > li > a:hover, .nav-tabs.nav-justified.nav-tabs-highlight > li > a:focus { border-top-width: 2px; } } @media (max-width: 768px) { .nav-tabs.nav-justified { border-bottom: 1px solid #ddd; } .nav-tabs.nav-justified > li.active > a, .nav-tabs.nav-justified > li.active > a:hover, .nav-tabs.nav-justified > li.active > a:focus { border: 0; } } @media (min-width: 769px) { .nav-tabs.nav-tabs-highlight > li > a, .nav-tabs.nav-tabs-highlight > li > a:hover, .nav-tabs.nav-tabs-highlight > li > a:focus { border-top-width: 2px; } .nav-tabs.nav-tabs-highlight > li.active > a, .nav-tabs.nav-tabs-highlight > li.active > a:hover, .nav-tabs.nav-tabs-highlight > li.active > a:focus { border-top-color: #2196F3; } } @media (min-width: 769px) { .nav-tabs.nav-tabs-top > li { margin-bottom: 0; } .nav-tabs.nav-tabs-top > li > a, .nav-tabs.nav-tabs-top > li > a:hover, .nav-tabs.nav-tabs-top > li > a:focus { border: 0; } .nav-tabs.nav-tabs-top > li > a:after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; } .nav-tabs.nav-tabs-top > li.open > a:after, .nav-tabs.nav-tabs-top > li > a:hover:after, .nav-tabs.nav-tabs-top > li > a:focus:after { background-color: #ddd; } .nav-tabs.nav-tabs-top > li.active > a:after { background-color: #F06292; } .nav-tabs.nav-tabs-top > li.active > a, .nav-tabs.nav-tabs-top > li.active > a:hover, .nav-tabs.nav-tabs-top > li.active > a:focus { background-color: transparent; } .nav-tabs.nav-tabs-top.top-divided { border-bottom-color: transparent; } } @media (min-width: 769px) { .nav-tabs.nav-tabs-bottom > li { margin-bottom: 0; } .nav-tabs.nav-tabs-bottom > li > a { border-width: 0; margin-bottom: -1px; } .nav-tabs.nav-tabs-bottom > li > a:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; } .nav-tabs.nav-tabs-bottom > li.active > a:after { background-color: #F06292; } .nav-tabs.nav-tabs-bottom > li.active > a, .nav-tabs.nav-tabs-bottom > li.active > a:hover, .nav-tabs.nav-tabs-bottom > li.active > a:focus { background-color: transparent; border-width: 0; } .nav-tabs.nav-tabs-bottom.bottom-divided { border-bottom-color: transparent; } } .nav-tabs[class*=bg-] { border-bottom: 0; } .nav-tabs[class*=bg-] > li { margin-bottom: 0; } .nav-tabs[class*=bg-] > li > a { color: #fff; border-width: 0; } .nav-tabs[class*=bg-] > li > a:hover, .nav-tabs[class*=bg-] > li > a:focus { background-color: rgba(0, 0, 0, 0.05); } .nav-tabs[class*=bg-] > li.open:not(.active) > a { color: #fff; background-color: rgba(0, 0, 0, 0.05); } .nav-tabs[class*=bg-] > .active > a, .nav-tabs[class*=bg-] > .active > a:hover, .nav-tabs[class*=bg-] > .active > a:focus { background-color: rgba(0, 0, 0, 0.1); border-width: 0; color: #fff; } .nav-tabs[class*=bg-] > .disabled > a, .nav-tabs[class*=bg-] > .disabled > a:hover, .nav-tabs[class*=bg-] > .disabled > a:focus { color: rgba(255, 255, 255, 0.5); } @media (min-width: 769px) { .tab-content-bordered .nav-tabs[class*=bg-] { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } .nav-tabs.nav-tabs-solid > li > a { color: #333333; } .nav-tabs.nav-tabs-solid > li > a, .nav-tabs.nav-tabs-solid > li > a:hover, .nav-tabs.nav-tabs-solid > li > a:focus { border-color: transparent; } .nav-tabs.nav-tabs-solid > .active > a, .nav-tabs.nav-tabs-solid > .active > a:hover, .nav-tabs.nav-tabs-solid > .active > a:focus { background-color: #2196F3; border-color: #2196F3; color: #fff; } @media (min-width: 769px) { .nav-tabs.nav-tabs-solid { background-color: #fafafa; border: 0; } .nav-tabs.nav-tabs-solid > li { margin-bottom: 0; } .nav-tabs.nav-tabs-solid > li > a:hover, .nav-tabs.nav-tabs-solid > li > a:focus { background-color: #f5f5f5; } .nav-tabs.nav-tabs-solid > .open:not(.active) > a { background-color: #f5f5f5; border-color: transparent; } } .nav-tabs.nav-tabs-icon > li > a > i { margin-right: 7px; } @media (min-width: 769px) { .nav-tabs.nav-tabs-icon > li > a { padding-bottom: 9.5px; } .nav-tabs.nav-tabs-icon > li > a > i { display: block; margin: 5px 0; } .nav-tabs.nav-tabs-icon.nav-lg > li > a { padding-bottom: 10.5px; } .nav-tabs.nav-tabs-icon.nav-sm > li > a { padding-bottom: 7.5px; } .nav-tabs.nav-tabs-icon.nav-xs > li > a { padding-bottom: 5.5px; } } @media (min-width: 769px) { .nav-tabs { font-size: 0; } .nav-tabs > li { display: inline-block; font-size: 13px; } } @media (max-width: 768px) { .nav-tabs { border-bottom: 0; position: relative; background-color: #fff; padding: 7px 0; border: 1px solid #ddd; border-radius: 3px; } .nav-tabs > li { margin-bottom: 0; } .nav-tabs > li > a { border: 0; } .nav-tabs > li > a:hover, .nav-tabs > li > a:focus { background-color: #fafafa; } .nav-tabs > li > a .position-right[class*=icon-] { float: right; margin-top: 2px; } .nav-tabs > li > a .position-right.label, .nav-tabs > li > a .position-right.badge { float: right; } .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { border: 0; background-color: #f5f5f5; } .nav-tabs > li.active > a:after, .nav-tabs > li.active > a:hover:after, .nav-tabs > li.active > a:focus:after { content: ''; position: absolute; top: 0; left: -1px; bottom: 0; width: 2px; background-color: #2196F3; } .nav-tabs > li.open:not(.active) > a, .nav-tabs > li.open:not(.active) > a:hover, .nav-tabs > li.open:not(.active) > a:focus { background-color: #fafafa; } .nav-tabs > li.pull-right { float: none!important; } .nav-tabs.nav-tabs-solid > li.active > a:after, .nav-tabs[class*=bg-] > li.active > a:after { content: none; } .nav-tabs:before { content: 'Contents'; color: inherit; font-size: 12px; line-height: 1.6666667; margin-top: 8px; margin-left: 15px; margin-bottom: 15px; text-transform: uppercase; opacity: 0.5; filter: alpha(opacity=50); } .nav-tabs[class*=bg-] > li > a:hover, .nav-tabs[class*=bg-] > li > a:focus, .nav-tabs[class*=bg-] > li.open:not(.active) > a { background-color: rgba(0, 0, 0, 0.05); } .nav-tabs-right .nav-tabs { margin-bottom: 0; margin-top: 20px; } } @media (min-width: 769px) { .nav-tabs-vertical { display: table; width: 100%; } .nav-tabs-vertical > .nav-tabs { display: table-cell; border-bottom: 0; width: 300px; } .nav-tabs-vertical > .nav-tabs > li { display: block; margin-bottom: 0; } .nav-tabs-vertical > .nav-tabs-solid > li:last-child > a:after { border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .nav-tabs-vertical > .nav-tabs[class*=bg-] > li:first-child > a { border-top-right-radius: 3px; border-top-left-radius: 3px; } .nav-tabs-vertical > .nav-tabs[class*=bg-] > li:last-child > a { border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .nav-tabs-vertical > .tab-content { display: table-cell; } .nav-tabs-vertical > .tab-content > .has-padding { padding: 0; padding-top: 10.5px; } .nav-tabs-vertical.tab-content-bordered > .tab-content { border-top-width: 1px; } .nav-tabs-left > .nav-tabs { border-right: 1px solid #ddd; } .nav-tabs-left > .nav-tabs > li { margin-right: -1px; } .nav-tabs-left > .nav-tabs > li.active > a, .nav-tabs-left > .nav-tabs > li.active > a:hover, .nav-tabs-left > .nav-tabs > li.active > a:focus { border-bottom-color: #ddd; border-right-color: transparent; } .nav-tabs-left > .nav-tabs.nav-tabs-component > li > a { border-radius: 3px 0 0 3px; } .nav-tabs-left > .nav-tabs-highlight > li > a, .nav-tabs-left > .nav-tabs-highlight > li > a:hover, .nav-tabs-left > .nav-tabs-highlight > li > a:focus { border-top-width: 1px; border-left-width: 2px; } .nav-tabs-left > .nav-tabs-highlight > li.active > a, .nav-tabs-left > .nav-tabs-highlight > li.active > a:hover, .nav-tabs-left > .nav-tabs-highlight > li.active > a:focus { border-top-color: #ddd; border-left-color: #EC407A; } .nav-tabs-left > .nav-tabs-top, .nav-tabs-left > .nav-tabs-bottom { padding-right: 20px; } .nav-tabs-left > .top-divided, .nav-tabs-left > .bottom-divided { padding-right: 0; border-right-width: 0; } .nav-tabs-left > .nav-tabs-solid, .nav-tabs-left > .nav-tabs[class*=bg-] { border-right: 0; border-radius: 3px; } .nav-tabs-left > .nav-tabs-solid > li, .nav-tabs-left > .nav-tabs[class*=bg-] > li { margin-right: 0; } .nav-tabs-left > .tab-content { padding-left: 20px; } .nav-tabs-left.tab-content-bordered > .tab-content { border-left-width: 0; } .nav-tabs-right > .nav-tabs { border-left: 1px solid #ddd; margin-bottom: 0; margin-top: 20px; } .nav-tabs-right > .nav-tabs > li { margin-left: -1px; } .nav-tabs-right > .nav-tabs > li.active > a, .nav-tabs-right > .nav-tabs > li.active > a:hover, .nav-tabs-right > .nav-tabs > li.active > a:focus { border-bottom-color: #ddd; border-left-color: transparent; } .nav-tabs-right > .nav-tabs.nav-tabs-component > li > a { border-radius: 0 3px 3px 0; } .nav-tabs-right > .nav-tabs-highlight > li > a, .nav-tabs-right > .nav-tabs-highlight > li > a:hover, .nav-tabs-right > .nav-tabs-highlight > li > a:focus { border-top-width: 1px; border-right-width: 2px; } .nav-tabs-right > .nav-tabs-highlight > li.active > a, .nav-tabs-right > .nav-tabs-highlight > li.active > a:hover, .nav-tabs-right > .nav-tabs-highlight > li.active > a:focus { border-top-color: #ddd; border-right-color: #EC407A; } .nav-tabs-right > .nav-tabs-top, .nav-tabs-right > .nav-tabs-bottom { padding-left: 20px; } .nav-tabs-right > .top-divided, .nav-tabs-right > .bottom-divided { padding-left: 0; border-left-width: 0; } .nav-tabs-right > .nav-tabs-solid, .nav-tabs-right > .nav-tabs[class*=bg-] { border-left: 0; border-radius: 3px; } .nav-tabs-right > .nav-tabs-solid > li, .nav-tabs-right > .nav-tabs[class*=bg-] > li { margin-left: 0; } .nav-tabs-right > .tab-content { padding-right: 20px; } .nav-tabs-right.tab-content-bordered > .tab-content { border-right-width: 0; } } .nav-pills { margin-bottom: 20px; } .nav-pills > li { float: none; } .nav-pills > li > a { color: #333333; } .nav-pills > li + li { margin-left: 0; } .nav-pills > li + li > a { margin-top: 2px; } .nav-pills .open > a, .nav-pills .open > a:hover, .nav-pills .open > a:focus { background-color: #f5f5f5; } .nav-pills.nav-pills-bordered > li > a, .nav-pills.nav-pills-toolbar > li > a, .nav-pills.nav-pills-bordered > .open > a, .nav-pills.nav-pills-toolbar > .open > a { border: 1px solid #ddd; } .nav-pills.nav-pills-bordered > .active > a, .nav-pills.nav-pills-toolbar > .active > a, .nav-pills.nav-pills-bordered > .active > a:hover, .nav-pills.nav-pills-toolbar > .active > a:hover, .nav-pills.nav-pills-bordered > .active > a:focus, .nav-pills.nav-pills-toolbar > .active > a:focus { border-color: #2196F3; } @media (min-width: 769px) { .nav-pills.nav-pills-toolbar > li > a { border: 1px solid #ddd; border-radius: 0; } .nav-pills.nav-pills-toolbar > li:first-child > a { border-radius: 3px 0 0 3px; } .nav-pills.nav-pills-toolbar > li:last-child > a { border-radius: 0 3px 3px 0; } .nav-pills.nav-pills-toolbar > li + li > a { margin-top: 0; margin-left: 0; border-left: 0; } } @media (min-width: 769px) { .nav-pills { font-size: 0; } .nav-pills > li { display: inline-block; font-size: 13px; } .nav-pills > li + li > a { margin-top: 0; margin-left: 2px; } .nav-pills.nav-justified > li { display: table-cell; } } @media (max-width: 768px) { .nav-pills > li > a .position-right[class*=icon-] { float: right; margin-top: 2px; } .nav-pills > li > a .position-right.label, .nav-pills > li > a .position-right.badge { float: right; } } .nav-stacked > li { display: block; } .nav-stacked > li > a .pull-right[class*=icon-] { float: right; margin-top: 2px; } .nav-stacked > li > a .pull-right.label, .nav-stacked > li > a .pull-right.badge { float: right; } .nav-stacked > li + li > a { margin-left: 0; } .nav-justified > li > a { margin-bottom: 0; } .nav-tabs-justified > li > a { border-radius: 0; margin-bottom: 0; } .nav-tabs-justified > li > a:hover, .nav-tabs-justified > li > a:focus { border-bottom-color: #ddd; } @media (min-width: 769px) { .nav-tabs-justified.nav-tabs-top { border-bottom: 1px solid #ddd; } .nav-tabs-justified.nav-tabs-top > li > a, .nav-tabs-justified.nav-tabs-top > li > a:hover, .nav-tabs-justified.nav-tabs-top > li > a:focus { border: 0; } .nav-tabs-justified.nav-tabs-bottom { border-bottom: 1px solid #ddd; } .nav-tabs-justified.nav-tabs-highlight > li > a, .nav-tabs-justified.nav-tabs-highlight > li > a:hover, .nav-tabs-justified.nav-tabs-highlight > li > a:focus { border-top-width: 2px; } } @media (max-width: 768px) { .nav-tabs-justified { border-bottom: 1px solid #ddd; } .nav-tabs-justified > li.active > a, .nav-tabs-justified > li.active > a:hover, .nav-tabs-justified > li.active > a:focus { border: 0; } } @media (min-width: 769px) { .nav-tabs.nav-tabs-component > li > a { border-radius: 3px 3px 0 0; } .nav-tabs.nav-tabs-component.nav-tabs-solid, .nav-tabs.nav-tabs-component[class*=bg-] { border-radius: 3px; } .nav-tabs.nav-tabs-component.nav-tabs-solid > li > a, .nav-tabs.nav-tabs-component[class*=bg-] > li > a { border-radius: 0; } .nav-tabs.nav-tabs-component.nav-tabs-solid > li:first-child > a, .nav-tabs.nav-tabs-component[class*=bg-] > li:first-child > a { border-radius: 3px 0 0 3px; } .nav-tabs-component.nav-justified.nav-tabs-solid > li:last-child > a, .nav-tabs-component.nav-justified[class*=bg-] > li:last-child > a { border-radius: 0 3px 3px 0; } } .tab-content-bordered .tab-content > .has-padding { padding: 20px; } .panel-flat > .panel-heading + .tab-content > .has-padding { padding-top: 0; } @media (min-width: 769px) { .tab-content > .has-padding { padding: 20px; } } .panel-tab-content > .has-padding { padding: 20px; } .tab-content-bordered .tab-content { border-radius: 3px; border: 1px solid transparent; } .tab-content-bordered .tab-content:not([class*=bg-]) { border-color: #ddd; background-color: #fff; } @media (min-width: 769px) { .tab-content-bordered .tab-content { border-top-width: 0; border-radius: 0 0 3px 3px; } } @media (min-width: 769px) { .tab-content-bordered .nav-tabs { margin-bottom: 0; } .tab-content-bordered .nav-tabs.nav-tabs-solid { border-radius: 3px 3px 0 0; -webkit-box-shadow: 0 0 0 1px #ddd inset; box-shadow: 0 0 0 1px #ddd inset; } .tab-content-bordered .nav-tabs.nav-tabs-solid > li:first-child > a { border-radius: 3px 0 0 0; } .tab-content-bordered .nav-tabs.nav-tabs-solid.nav-justified > li:last-child > a { border-radius: 0 3px 0 0; } .tab-content-bordered > .nav-tabs[class*=bg-] { border-top-right-radius: 3px; border-top-left-radius: 3px; } .tab-content-bordered > .nav-tabs[class*=bg-] + .tab-content[class*=bg-] { border-top-width: 1px; border-top-color: rgba(255, 255, 255, 0.5); } } @media (min-width: 769px) { .nav-tabs[class*=bg-] .dropdown-menu, .nav-tabs-top .dropdown-menu { margin-top: 0; } .nav-justified.bottom-divided .dropdown-menu { margin-top: 1px; } } @media (max-width: 768px) { .nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .nav-tabs.nav-justified > .dropdown .dropdown-menu, .nav-pills.nav-justified > .dropdown .dropdown-menu { left: -1px; right: -1px; margin-top: 2px; } .nav-tabs.nav-justified > li > a, .nav-pills.nav-justified > li > a, .nav-tabs.text-center > li > a, .nav-pills.text-center > li > a, .nav-tabs.text-right > li > a, .nav-pills.text-right > li > a { text-align: left; } } /* your_sha256_hash-------------- * * # Navbar component * * Overrides for navbar bootstrap component * * Version: 1.3 * Latest update: Aug 10, 2016 * * your_sha256_hash------------ */ .navbar { margin-bottom: 0; border-width: 1px 0; padding-left: 0; padding-right: 0; } @media (min-width: 769px) { .navbar { padding-left: 20px; padding-right: 20px; } } .navbar-component { border-radius: 3px; margin-bottom: 20px; border-width: 1px; } .page-header .navbar-component { margin-left: 20px; margin-right: 20px; } .navbar-component.navbar-default { border-color: #ddd; background-color: #fff; } .navbar-component > .navbar:first-child, .navbar-component > .navbar-collapse:first-child > .navbar:first-child { border-top-right-radius: 3px; border-top-left-radius: 3px; } .navbar-component > .navbar:last-child, .navbar-component > .navbar-collapse:last-child > .navbar:last-child { border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .affix.navbar, .affix.navbar-collapse { z-index: 1030; top: 0; width: 100%; } @media (max-width: 768px) { .affix.navbar, .affix.navbar-collapse { position: static; } } .navbar-header { min-width: 260px; } .navbar-collapse > .navbar-header { margin-left: 0; } .navbar-header .navbar-nav { float: right; margin-right: 5px; } .navbar-header .navbar-nav > li { float: left; } .navbar-header .navbar-nav > li > a { padding-left: 15px; padding-right: 15px; } @media (max-width: 768px) { .navbar-header .navbar-nav > li + li { margin-top: 0; } .navbar-collapse > .navbar-header { margin-left: 0; } } @media (min-width: 769px) { .navbar-header { margin-left: -20px; } } .navbar-collapse { text-align: center; padding-left: 0; padding-right: 0; } .navbar-collapse.collapsing { -webkit-transition-duration: 0.00000001s; transition-duration: 0.00000001s; } .navbar + .navbar-collapse { border-top: 0; } @media (min-width: 769px) { .navbar-collapse { text-align: left; margin-left: -20px; } } @media (max-width: 768px) { .navbar-fixed-top { position: static; } } @media (min-width: 769px) { .navbar-top-lg { padding-top: 52px; } .navbar-top-lg .sidebar-fixed.affix { top: 72px; } .navbar-top { padding-top: 48px; } .navbar-top .sidebar-fixed.affix { top: 68px; } .navbar-top-sm { padding-top: 46px; } .navbar-top-sm .sidebar-fixed.affix { top: 66px; } .navbar-top-xs { padding-top: 44px; } .navbar-top-xs .sidebar-fixed.affix { top: 64px; } .navbar-top-lg-lg { padding-top: 104px; } .navbar-top-lg-md, .navbar-top-md-lg { padding-top: 100px; } .navbar-top-lg-sm, .navbar-top-md-md, .navbar-top-sm-lg { padding-top: 96px; } .navbar-top-lg-xs, .navbar-top-md-sm, .navbar-top-sm-md, .navbar-top-xs-lg { padding-top: 94px; } .navbar-top-md-xs, .navbar-top-sm-sm, .navbar-top-xs-md { padding-top: 92px; } .navbar-top-sm-xs, .navbar-top-xs-sm { padding-top: 90px; } .navbar-top-xs-xs { padding-top: 88px; } } .navbar-bottom-lg { padding-bottom: 52px; } .navbar-bottom { padding-bottom: 48px; } .navbar-bottom-sm { padding-bottom: 46px; } .navbar-bottom-xs { padding-bottom: 44px; } .navbar-bottom-lg-lg { padding-bottom: 104px; } .navbar-bottom-lg-md, .navbar-bottom-md-lg { padding-bottom: 100px; } .navbar-bottom-lg-sm, .navbar-bottom-md-md, .navbar-bottom-sm-lg { padding-bottom: 96px; } .navbar-bottom-lg-xs, .navbar-bottom-md-sm, .navbar-bottom-sm-md, .navbar-bottom-xs-lg { padding-bottom: 94px; } .navbar-bottom-md-xs, .navbar-bottom-sm-sm, .navbar-bottom-xs-md { padding-bottom: 92px; } .navbar-bottom-sm-xs, .navbar-bottom-xs-sm { padding-bottom: 90px; } .navbar-bottom-xs-xs { padding-bottom: 88px; } .navbar-brand > img { margin-top: 2px; height: 16px; } .navbar-nav { margin: 0; text-align: left; } .navbar-nav > li > a { padding-top: 13px; padding-bottom: 13px; } .navbar-nav > li > a > .label, .navbar-nav > li > a > .badge { position: absolute; top: 0; right: 0; } .navbar-nav > li > a > .status-mark { position: absolute; top: 8px; right: 8px; } .navbar-nav > li > a > .status-mark-left { right: auto; left: 8px; } .navbar-nav > li > a > .label-left, .navbar-nav > li > a > .badge-left { right: auto; left: 0; } .navbar-nav > li > a > .label-inline, .navbar-nav > li > a > .badge-inline, .navbar-nav > li > a > .status-mark-inline { position: static; } .navbar-nav .language-switch a > img { position: relative; top: -1px; } .navbar-nav > .dropdown-user > a, .navbar-nav > .dropdown-user > a > span { padding-top: 6.5px; padding-bottom: 6.5px; } .navbar-nav > .dropdown-user > a > span { display: inline-block; padding-left: 7px; } .navbar-nav > .dropdown-user img { max-height: 30px; margin-top: -2.5px; border-radius: 50%; } .navbar-lg .navbar-nav > .dropdown-user img { max-height: 34px; margin-top: -3.5px; } .navbar-sm .navbar-nav > .dropdown-user img { max-height: 28px; margin-top: -2px; } .navbar-xs .navbar-nav > .dropdown-user img { max-height: 26px; margin-top: -1.5px; } @media (max-width: 768px) { .navbar-nav { border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header { padding: 8px 20px; } .navbar-nav .open .dropdown-menu > .dropdown-submenu > ul > li > a { padding-left: 40px; } .navbar-nav .open .dropdown-menu > .dropdown-submenu > ul > li > ul > li > a { padding-left: 60px; } .navbar-nav > li + li { margin-top: 1px; } .navbar-nav > li > a { padding-left: 20px; padding-right: 20px; } .navbar-nav > li > a .caret { float: right; margin-top: 2px; margin-left: 5px; } .navbar-nav > li > a .label, .navbar-nav > li > a .badge { position: static; float: right; } .navbar-nav > .dropdown-user .caret { margin-top: 8px; } .navbar-default .navbar-nav { border-bottom: 1px solid #ddd; } .navbar-nav:last-child { border-bottom: 0; } } @media (min-width: 769px) { .navbar-nav { margin-left: 20px; } } .navbar-form { padding: 13px 20px; margin-left: 0; margin-right: 0; border-top: 0; -webkit-box-shadow: none; box-shadow: none; } .navbar-form:last-child { border-bottom: 0; } @media (max-width: 768px) { .navbar-form .form-group { margin-bottom: 10px; } } .navbar-form .input-sm, .navbar-form .input-group-sm, .navbar-form .btn-sm, .navbar-form .select-sm, .navbar-form .uploader-sm { margin-top: 1px; margin-bottom: 1px; } .navbar-form .input-sm + .form-control-feedback { top: 1px; } .navbar-form .input-xs, .navbar-form .input-group-xs, .navbar-form .btn-xs, .navbar-form .select-xs, .navbar-form .uploader-xs { margin-top: 2px; margin-bottom: 2px; } .navbar-form .input-xs + .form-control-feedback { top: 2px; } .navbar-lg .navbar-form { margin-top: 7px; margin-bottom: 7px; } .navbar-sm .navbar-form { margin-top: 4px; margin-bottom: 4px; } .navbar-xs .navbar-form { margin-top: 3px; margin-bottom: 3px; } .navbar-form .checkbox-switchery[class*=switchery-] { margin-bottom: 0; } .navbar-form .checkbox-inline.switchery-double { padding-left: 0; } @media (min-width: 769px) { .navbar-form { padding: 0; } .navbar-form .form-control { min-width: 200px; } .navbar-form .uploader { width: 200px; } .navbar-form .form-group { margin-left: 20px; } .navbar-form .checkbox-inline, .navbar-form .radio-inline { margin-top: 8px; margin-bottom: 8px; } } @media (max-width: 768px) { .navbar-form { margin: 0; } } .navbar-nav > li > .dropdown-menu { margin-top: 1px; border-top-width: 0; } .navbar-nav > li > .dropdown-menu .media-list { max-height: 340px; overflow-y: auto; } .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { margin-top: 0; margin-bottom: 1px; border-top-width: 1px; border-bottom-width: 0; border-top-right-radius: 3px; border-top-left-radius: 3px; } .navbar-btn { margin-left: 20px; } + .navbar-btn { margin-left: 0; } .navbar-btn, .navbar-sm .navbar-btn.btn-sm, .navbar-xs .navbar-btn.btn-xs { margin-top: 5px; margin-bottom: 5px; } .navbar-lg .navbar-btn { margin-top: 7px; margin-bottom: 7px; } .navbar-sm .navbar-btn, .navbar-xs .navbar-btn.btn-sm { margin-top: 4px; margin-bottom: 4px; } .navbar-xs .navbar-btn { margin-top: 3px; margin-bottom: 3px; } .navbar-btn.btn-sm, .navbar-sm .navbar-btn.btn-xs { margin-top: 6px; margin-bottom: 6px; } .navbar-btn.btn-xs, .navbar-lg .navbar-btn.btn-sm { margin-top: 7px; margin-bottom: 7px; } .navbar-lg .navbar-btn.btn-xs { margin-top: 9px; margin-bottom: 9px; } @media (max-width: 768px) { .navbar-btn, .navbar-btn.btn-sm, .navbar-btn.btn-xs { margin: 13px 20px; } .navbar-btn + .navbar-btn { margin-left: 0; } } .navbar-text { margin: 0; padding: 13px 20px; } .navbar-text:last-child { border-bottom: 0; } .navbar-lg .navbar-text { padding-top: 15px; padding-bottom: 15px; } .navbar-sm .navbar-text { padding-top: 12px; padding-bottom: 12px; } .navbar-xs .navbar-text { padding-top: 11px; padding-bottom: 11px; } @media (min-width: 769px) { .navbar-text { padding-right: 0; } .navbar-text + .navbar-nav { margin-left: 15px; } .navbar-header + .navbar-text:first-child { padding-left: 0; } } @media (min-width: 769px) { .navbar-right { margin-right: 0; } } .navbar-default { border-top-color: transparent; } .navbar-default.navbar-default-secondary { background-color: #fcfcfc; } .page-header-content + .navbar-default { border-top-color: #ddd; } .navbar-default.navbar-fixed-bottom { border-top-color: #ddd; border-bottom-color: #fff; } .navbar-fixed-bottom > .navbar-default:first-child { border-top-color: #ddd; } @media (max-width: 768px) { .navbar-default .navbar-nav .open .dropdown-menu { color: #333333; background-color: transparent; border-bottom: 1px solid #ddd; } .navbar-default .navbar-nav .open > .dropdown-menu { border-top: 1px solid #ddd; } .navbar-default .navbar-nav .open:last-child .dropdown-menu { border-bottom: 0; } } .navbar-default .navbar-link { color: #1E88E5; } .navbar-default .navbar-link:hover { color: #166dba; } @media (max-width: 768px) { .navbar-default .dropdown-menu[class*=bg-] .label, .navbar-default .dropdown-menu[class*=bg-] .badge { color: #fff; background-color: #2196F3; border-color: transparent; } .navbar-default .dropdown-menu[class*=bg-] > .divider { background-color: #e5e5e5; } .navbar-default .dropdown-menu[class*=bg-] .dropdown-submenu:hover > a, .navbar-default .dropdown-menu[class*=bg-] .dropdown-submenu:focus > a { background-color: #f5f5f5; } .navbar-default .dropdown-menu .table-responsive { border-width: 0; } .navbar-default .dropdown-menu .dropdown-content-heading + .table-responsive { border-top-width: 1px; } .navbar-default .navbar-text:not([data-toggle="collapse"]) { border-bottom: 1px solid #ddd; } .navbar-default > .navbar-nav > li > a:not(.collapsed), .navbar-default > .navbar-nav > li > a:hover, .navbar-default > .navbar-nav > li > a:focus { background-color: #fcfcfc; } } .navbar-inverse { border-bottom-color: rgba(255, 255, 255, 0.1); color: #fff; } .navbar-inverse .navbar-collapse { border-color: rgba(0, 0, 0, 0.2); } .navbar-inverse .navbar-form { border-color: rgba(255, 255, 255, 0.1); } @media (max-width: 768px) { .navbar-inverse .navbar-nav .open .dropdown-menu { color: #fff; background-color: rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .navbar-inverse .navbar-nav .open .dropdown-menu .text-muted, .navbar-inverse .navbar-nav .open .dropdown-menu .media-annotation { color: rgba(255, 255, 255, 0.8); } .navbar-inverse .navbar-nav .open .dropdown-menu .media-list-linked > li { border-top-color: rgba(255, 255, 255, 0.1); } .navbar-inverse .navbar-nav .open .dropdown-menu .media-list-linked .media-link { color: #fff; } .navbar-inverse .navbar-nav .open .dropdown-menu .media-list-linked .media-link:hover, .navbar-inverse .navbar-nav .open .dropdown-menu .media-list-linked .media-link:focus { background-color: rgba(0, 0, 0, 0.1); color: #fff; } .navbar-inverse .navbar-nav .open .dropdown-menu a:not(.label-flat):not(.badge-flat):not(.disabled > a) { color: #fff; } .navbar-inverse .navbar-nav .open .dropdown-menu .divider { background-color: rgba(255, 255, 255, 0.1); } .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { color: rgba(255, 255, 255, 0.6); } .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-submenu:hover > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-submenu:focus > a { color: #fff; background-color: rgba(0, 0, 0, 0.1); } .navbar-inverse .navbar-nav .open > .dropdown-menu { border-top: 1px solid rgba(255, 255, 255, 0.1); } .navbar-inverse .navbar-nav .open:last-child .dropdown-menu { border-bottom: 0; } .navbar-inverse .navbar-nav .label, .navbar-inverse .navbar-nav .badge, .navbar-inverse .navbar-nav .label:hover, .navbar-inverse .navbar-nav .badge:hover, .navbar-inverse .navbar-nav .label:focus, .navbar-inverse .navbar-nav .badge:focus { background-color: #fff; border-color: #fff; color: #333333; } .navbar-inverse .navbar-nav .checker > span, .navbar-inverse .navbar-nav .choice > span { border-color: #fff; color: #fff; } .navbar-inverse .navbar-nav .nav-tabs { background-color: transparent; border: 0; } .navbar-inverse .navbar-nav .nav-tabs > li > a { background-color: transparent; } } @media (max-width: 768px) { .navbar-inverse .navbar-collapse { background-color: rgba(0, 0, 0, 0.05); } .navbar-inverse .navbar-text { border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .navbar-inverse > .navbar-nav > li > a:not(.collapsed) { background-color: rgba(0, 0, 0, 0.1); } .navbar-inverse .dropdown-menu .media-body a, .navbar-inverse .dropdown-menu .table a { color: #fff; } .navbar-inverse .dropdown-menu .table-responsive { border-width: 0 0 1px 0; border-color: rgba(255, 255, 255, 0.1); } .navbar-inverse .dropdown-menu .dropdown-content-heading + .table-responsive { border-top-width: 1px; } .navbar-inverse .dropdown-menu .table th, .navbar-inverse .dropdown-menu .table td { border-color: rgba(255, 255, 255, 0.1); } .navbar-inverse .label-flat, .navbar-inverse .badge-flat, .navbar-inverse .btn-flat { border-color: #fff; color: #fff; } } .navbar-lg { min-height: 50px; } .navbar-lg .navbar-brand { height: 50px; padding-top: 15px; padding-bottom: 15px; } .navbar-lg .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; } .navbar-lg .navbar-nav > .dropdown-user > a, .navbar-lg .navbar-nav > .dropdown-user > a > span { padding-top: 7.5px; padding-bottom: 7.5px; } .navbar-sm { min-height: 44px; } .navbar-sm .navbar-brand { height: 44px; padding-top: 12px; padding-bottom: 12px; } .navbar-sm .navbar-nav > li > a { padding-top: 12px; padding-bottom: 12px; } .navbar-sm .navbar-nav > .dropdown-user > a, .navbar-sm .navbar-nav > .dropdown-user > a > span { padding-top: 6px; padding-bottom: 6px; } .navbar-xs { min-height: 42px; } .navbar-xs .navbar-brand { height: 42px; padding-top: 11px; padding-bottom: 11px; } .navbar-xs .navbar-nav > li > a { padding-top: 11px; padding-bottom: 11px; } .navbar-xs .navbar-nav > .dropdown-user > a, .navbar-xs .navbar-nav > .dropdown-user > a > span { padding-top: 5.5px; padding-bottom: 5.5px; } .nav .mega-menu { position: static; } .mega-menu .dropdown-menu { left: auto; } @media (min-width: 769px) { .mega-menu.mega-menu-wide > .dropdown-menu { left: 20px; right: 20px; } .layout-boxed .mega-menu.mega-menu-wide > .dropdown-menu { left: 0; right: 0; } } .dropdown-content-heading { padding: 20px; font-size: 12px; text-transform: uppercase; font-weight: 500; } .dropdown-content-heading + .dropdown-menu-body { padding-top: 0; } .dropdown-content-heading + .dropdown-header { padding-top: 0!important; } ul.dropdown-menu .dropdown-content-heading { padding-left: 15px; padding-right: 15px; } ul.dropdown-menu .dropdown-content-heading:first-child { padding-top: 13px; padding-bottom: 13px; } .dropdown-content-heading .icons-list { float: right; } @media (min-width: 769px) { .dropdown-content-heading + .table-responsive { border-top: 1px solid #ddd; } } .dropdown-content-footer { background-color: #fcfcfc; color: #333333; border-top: 1px solid #ddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .dropdown-content-footer a { display: block; padding: 7px; text-align: center; color: #333333; } .dropdown-content-footer a:hover, .dropdown-content-footer a:focus { background-color: #f5f5f5; } .dropdown-content-footer a > i.display-block { top: 0; } @media (max-width: 768px) { .navbar-inverse .dropdown-content-footer { background-color: rgba(0, 0, 0, 0.1); color: #fff; border-color: transparent; border-radius: 0; } .navbar-inverse .dropdown-content-footer a { color: #fff; } .navbar-inverse .dropdown-content-footer a:hover, .navbar-inverse .dropdown-content-footer a:focus { background-color: rgba(0, 0, 0, 0.1); } } .dropdown-content-body { padding: 20px; } .dropdown-content-heading + .dropdown-content-body { padding-top: 0; } .dropdown-content:not(ul) { padding-top: 0; padding-bottom: 0; } .dropdown-content .form-inline { white-space: nowrap; } .menu-list { margin: 0 0 20px 0; list-style: none; padding: 0; overflow: hidden; } @media (min-width: 1200px) { [class*=col-lg-] .menu-list { margin-bottom: 8px; } } @media (min-width: 1025px) { [class*=col-md-] .menu-list { margin-bottom: 8px; } } @media (min-width: 769px) { [class*=col-sm-] .menu-list { margin-bottom: 8px; } } @media (min-width: 480px) { [class*=col-xs-] .menu-list { margin-bottom: 8px; } } .menu-list ul { margin: 0; padding: 0; list-style: none; position: absolute; display: none; left: 110%; width: 100%; } .menu-list li { position: relative; margin-top: 1px; } .menu-list li:first-child { margin-top: 0; } .menu-list li > a { display: block; color: #333333; padding: 8px 12px; border-radius: 3px; } .menu-list li > a:hover, .menu-list li > a:focus { background-color: #f5f5f5; } .menu-list li > a > i { margin-right: 10px; } .menu-list li > a > .label, .menu-list li > a > .badge { float: right; margin-left: 7px; } .menu-list li.active > a, .menu-list li.active > a:hover, .menu-list li.active > a:focus { color: #fff; background-color: #2196F3; } .menu-list li.disabled > a, .menu-list li.disabled > a:hover, .menu-list li.disabled > a:focus { background-color: transparent; color: #999999; cursor: not-allowed; } .menu-list li.disabled > a > .label, .menu-list li.disabled > a > .badge, .menu-list li.disabled > a > img { opacity: 0.8; filter: alpha(opacity=80); } @media (max-width: 768px) { .menu-list li > a { color: #fff; } .menu-list li > a:hover, .menu-list li > a:focus { background-color: rgba(0, 0, 0, 0.1); } .menu-list li.active > a, .menu-list li.active > a:hover, .menu-list li.active > a:focus { background-color: rgba(0, 0, 0, 0.1); } .menu-list li.disabled > a, .menu-list li.disabled > a:hover, .menu-list li.disabled > a:focus { background-color: transparent; color: rgba(255, 255, 255, 0.6); cursor: not-allowed; } .navbar-default .menu-list li > a { color: #333333; } .navbar-default .menu-list li > a:hover, .navbar-default .menu-list li > a:focus { background-color: #f5f5f5; } .navbar-default .menu-list li.active > a, .navbar-default .menu-list li.active > a:hover, .navbar-default .menu-list li.active > a:focus { color: #fff; background-color: #2196F3; } .navbar-default .menu-list li.disabled > a, .navbar-default .menu-list li.disabled > a:hover, .navbar-default .menu-list li.disabled > a:focus { background-color: transparent; color: #999999; } } @media (min-width: 769px) { .menu-list { overflow-y: auto; max-height: 340px; } } .dd-wrapper .dd-menu { overflow: hidden; position: relative; } .dd-wrapper .dd-header h6 .label, .dd-wrapper .dd-header h6 .badge { margin-left: 7px; } .dd-wrapper .dd-header h6 > i { margin-right: 7px; } .dd-wrapper .dd-header h6:first-child { display: none; } .dd-wrapper .dd-parent .active-ul + ul { position: relative; display: block; left: 0; } .dd-wrapper .link-back { display: block; padding: 8px 0; border-radius: 3px; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; line-height: 1.6666667; } .dd-wrapper .link-back:before { content: '\ede7'; font-family: 'icomoon'; font-size: 16px; line-height: 1; position: relative; top: -1px; vertical-align: middle; margin-right: 7px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .dd-wrapper .link-back .dd-icon, .dd-wrapper .link-back i { display: none; } @media (max-width: 768px) { .navbar .dd-wrapper .link-back { padding: 20px 0; text-align: center; margin-top: -10px; margin-bottom: 20px; border-bottom: 1px solid #eeeeee; } .navbar-inverse .dd-wrapper .link-back { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.1); } } .dd-wrapper .dd-icon { float: right; margin-top: 2px; } .dd-wrapper .dd-icon:after { content: '\e9c7'; font-family: 'icomoon'; font-size: 16px; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .dd-wrapper .dd-header .dd-icon:after { content: '\e9c5'; } .menu-heading { display: block; font-size: 12px; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; padding-top: 4px; } .menu-heading > i { float: left; margin-right: 7px; } .menu-heading.underlined { padding-bottom: 10px; border-bottom: 1px solid #eeeeee; } @media (max-width: 768px) { .menu-heading { color: #fff; } div:first-child > .menu-heading { margin-top: 0; } .navbar-default .menu-heading { color: #333333; } .menu-heading.underlined { border-bottom-color: rgba(255, 255, 255, 0.1); } .navbar-default .menu-heading.underlined { border-bottom-color: #eeeeee; } } .dropdown-menu .nav-tabs, .dropdown-menu .nav-tabs > li > a { border-radius: 0; } .dropdown-menu .nav-tabs > li:first-child > a, .dropdown-menu .nav-tabs > li.active:first-child > a { border-left: 0; } .dropdown-menu .nav-tabs > li:last-child > a, .dropdown-menu .nav-tabs > li.active:last-child > a { border-right: 0; } @media (max-width: 768px) { .dropdown-menu .nav-tabs { margin-top: 0; } .dropdown-menu .nav-tabs:before { content: none; } .dropdown-menu .nav-tabs > li + li { margin-top: 1px; } .dropdown-menu .nav-tabs > li > a { border: 0; padding-left: 20px; padding-right: 20px; } .dropdown-menu .nav-tabs > li > a:hover, .dropdown-menu .nav-tabs > li > a:focus { background-color: rgba(0, 0, 0, 0.1); } .dropdown-menu .nav-tabs > li.active > a, .dropdown-menu .nav-tabs > li.active > a:hover, .dropdown-menu .nav-tabs > li.active > a:focus { border: 0; background-color: rgba(0, 0, 0, 0.1); } .navbar .dropdown-menu .nav-tabs { border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .navbar .dropdown-menu .nav-tabs > li { margin-bottom: 0; } .navbar .dropdown-menu .nav-tabs.active > a { border-color: transparent; } .navbar-inverse .dropdown-menu .nav-tabs > li > a { color: #fff; } .navbar-inverse .dropdown-menu .nav-tabs > li.disabled > a, .navbar-inverse .dropdown-menu .nav-tabs > li.disabled > a:hover, .navbar-inverse .dropdown-menu .nav-tabs > li.disabled > a:focus { color: rgba(255, 255, 255, 0.6); background-color: transparent; } .navbar-default .dropdown-menu .nav-tabs { border-top-color: #ddd; border-bottom-color: #ddd; border-left: 0; border-right: 0; } .navbar-default .dropdown-menu .nav-tabs > li > a:hover, .navbar-default .dropdown-menu .nav-tabs > li > a:focus { color: #555; background-color: #f8f8f8; } .navbar-default .dropdown-menu .nav-tabs > li.active > a, .navbar-default .dropdown-menu .nav-tabs > li.active > a:hover, .navbar-default .dropdown-menu .nav-tabs > li.active > a:focus { color: #555; background-color: #f8f8f8; } .navbar-default .dropdown-menu .nav-tabs > li.disabled > a, .navbar-default .dropdown-menu .nav-tabs > li.disabled > a:hover, .navbar-default .dropdown-menu .nav-tabs > li.disabled > a:focus { color: #999999; background-color: transparent; } } .navbar-progress { float: left; margin-left: 20px; } .navbar-progress .progress { width: 200px; } @media (max-width: 768px) { .navbar-progress { margin: 13px 20px; float: none; } .navbar-progress .progress { margin-top: 0; margin-bottom: 0; width: 100%; } } .navbar-xs .navbar-progress .progress { margin-top: 12px; margin-bottom: 12px; } .navbar-progress .progress, .navbar-xs .navbar-progress .progress-sm { margin-top: 14px; margin-bottom: 14px; } .navbar-progress .progress-sm, .navbar-xs .navbar-progress .progress-xs { margin-top: 16px; margin-bottom: 16px; } .navbar-progress .progress-xs, .navbar-xs .navbar-progress .progress-xxs { margin-top: 18px; margin-bottom: 18px; } .navbar-progress .progress-xxs { margin-top: 20px; margin-bottom: 20px; } .navbar-sm .navbar-progress .progress { margin-top: 13px; margin-bottom: 13px; } .navbar-lg .navbar-progress .progress, .navbar-sm .navbar-progress .progress-sm { margin-top: 16px; margin-bottom: 16px; } .navbar-lg .navbar-progress .progress-sm, .navbar-sm .navbar-progress .progress-xs { margin-top: 18px; margin-bottom: 18px; } .navbar-lg .navbar-progress .progress-xs, .navbar-sm .navbar-progress .progress-xxs { margin-top: 20px; margin-bottom: 20px; } .navbar-lg .navbar-progress .progress-xxs { margin-top: 22px; margin-bottom: 22px; } @media (max-width: 768px) { .navbar .btn-group .dropdown-menu, .navbar .dropdown .dropdown-menu, .navbar .input-group .dropdown-menu { width: 100%; border-width: 0 0 1px 0; border-radius: 0; } .navbar .btn-group .dropdown-menu > li > a, .navbar .dropdown .dropdown-menu > li > a, .navbar .input-group .dropdown-menu > li > a { padding-left: 20px; padding-right: 20px; } .navbar .btn-group, .navbar .input-group, .navbar .form-group:not(.has-feedback), .navbar .input-group-btn { position: static; } .navbar .select2-container { width: 100%!important; } .navbar-fixed-bottom .btn-group .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu, .navbar-fixed-bottom .input-group .dropdown-menu { border-width: 1px 0 0 0; } .navbar-component .btn-group .dropdown-menu, .navbar-component .dropdown .dropdown-menu, .navbar-component .input-group .dropdown-menu { border-width: 0 1px 1px 1px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .table-responsive { margin-bottom: 0; } } /* your_sha256_hash-------------- * * # Breadcrumb component * * Overrides for breadcrumb bootstrap component * * Version: 1.1 * Latest update: Aug 10, 2016 * * your_sha256_hash------------ */ .breadcrumb { border-radius: 0; margin-bottom: 0; } .breadcrumb > li { position: relative; } .breadcrumb > li > a { color: #333333; } .breadcrumb > li > a:hover, .breadcrumb > li > a:focus { opacity: 0.85; filter: alpha(opacity=85); } .breadcrumb > li i { display: inline-block; font-size: 12px; } .breadcrumb > li > .dropdown-menu { margin-top: 0; margin-left: 5px; } .breadcrumb > li:first-child > .dropdown-menu { margin-left: 0; } .breadcrumb > li > .dropdown-menu-right { margin-left: 0; margin-right: -10px; } .breadcrumb > li:hover > .dropdown-menu { display: block; } .breadcrumb > li.location-text { margin-right: 7px; } .breadcrumb > li.location-text + li:before { content: none; } .breadcrumb > li.location-text + li > .dropdown-menu { margin-left: 0; } @media (max-width: 768px) { .heading-elements .breadcrumb { padding-top: 0; padding-bottom: 0; } .breadcrumb > li { position: static; } .breadcrumb > li .dropdown-menu { width: 100%; margin: 0; border-radius: 0; border-width: 1px 0; } .breadcrumb > li .dropdown-menu > li { position: static; } .breadcrumb .dropdown-submenu > .dropdown-menu { position: static; } } .page-title .breadcrumb { float: none; display: block; margin: 0; padding-top: 3px; padding-bottom: 0; } .page-title .breadcrumb:first-child { padding-top: 0; padding-bottom: 3px; } .page-title .breadcrumb.position-right { margin-left: 28px; } .page-header-content > .breadcrumb { padding-top: 0; padding-bottom: 20px; } .page-header-content > .breadcrumb:first-child { padding-bottom: 0; padding-top: 20px; } .breadcrumb-dash > li + li:before { content: '\2013\00a0'; } .breadcrumb-arrow > li + li:before { content: '\2192\00a0'; } .breadcrumb-arrows > li + li:before { content: '\00bb\00a0'; } .breadcrumb-caret > li + li:before { content: '\203A\00a0'; } .breadcrumb-line { position: relative; padding-left: 20px; padding-right: 20px; border-top: 1px solid #ddd; } .breadcrumb-line:after { content: ''; display: table; clear: both; } .breadcrumb-line:first-child { border-top-width: 0; border-bottom: 1px solid #ddd; } .page-header .breadcrumb-line:first-child { z-index: 994; } .breadcrumb-line:not([class*=bg-]) { background-color: #fff; } .page-header-content + .breadcrumb-line { margin-bottom: 20px; border-bottom: 1px solid #ddd; } .page-header-default .page-header-content + .breadcrumb-line, .page-header-inverse .page-header-content + .breadcrumb-line { margin-bottom: 0; } .page-header-default .page-header-content + .breadcrumb-line { border-bottom-width: 0; } .page-header-default .breadcrumb-line:not([class*=bg-]) { background-color: #fcfcfc; } .page-header-inverse .breadcrumb-line { border-top-width: 0; } .page-header-inverse .breadcrumb-line:first-child { border-bottom-width: 0; } .breadcrumb-line .breadcrumb { margin-right: 46px; } @media (min-width: 769px) { .breadcrumb-line .breadcrumb { float: left; margin-right: 0; } } @media (max-width: 768px) { .breadcrumb-line { z-index: 998; background-color: inherit; } } .breadcrumb-line-component { border-radius: 3px; padding-left: 0; padding-right: 0; } .breadcrumb-line-component:not([class*=bg-]) { background-color: #fff; border: 1px solid #ddd; } .page-header-default .breadcrumb-line-component:not([class*=bg-]) { border-width: 1px; } .page-header-inverse .breadcrumb-line-component:not([class*=bg-]) { border-width: 0; } .breadcrumb-line-component .breadcrumb { margin-left: 20px; } .page-header .breadcrumb-line-component { margin-left: 20px; margin-right: 20px; } .breadcrumb-line[class*=bg-] a, .breadcrumb-line[class*=bg-] i { color: inherit; } .breadcrumb-line[class*=bg-] .breadcrumb > .active, .breadcrumb-line[class*=bg-] .breadcrumb > li + li:before { color: rgba(255, 255, 255, 0.75); } .breadcrumb-line[class*=bg-] .breadcrumb-elements { border-top-color: rgba(255, 255, 255, 0.1); } .breadcrumb-line[class*=bg-] .breadcrumb-elements > li > a { color: rgba(255, 255, 255, 0.9); } .breadcrumb-line[class*=bg-] .breadcrumb-elements > li.open > a, .breadcrumb-line[class*=bg-] .breadcrumb-elements > li > a:hover, .breadcrumb-line[class*=bg-] .breadcrumb-elements > li > a:focus { color: #fff; } .breadcrumb-elements { text-align: center; margin: 0; padding: 0; list-style: none; border-top: 1px solid #ddd; font-size: 0; } .breadcrumb-elements:after { content: ''; display: table; clear: both; } .breadcrumb-elements > li { display: inline-block; position: static; font-size: 13px; } .breadcrumb-elements > li > a { display: block; padding: 10px 15px; color: #333333; } .breadcrumb-elements > li.open > a, .breadcrumb-elements > li > a:hover, .breadcrumb-elements > li > a:focus { background-color: #f9f9f9; } .breadcrumb-line[class*=bg-] .breadcrumb-elements > li.open > a, .breadcrumb-line[class*=bg-] .breadcrumb-elements > li > a:hover, .breadcrumb-line[class*=bg-] .breadcrumb-elements > li > a:focus { background-color: rgba(255, 255, 255, 0.1); } .breadcrumb-elements .dropdown-menu { margin-top: 0; left: auto; right: -1px; border-top-right-radius: 0; border-top-left-radius: 0; } @media (max-width: 768px) { .breadcrumb-elements .dropdown-menu { left: -1px; } .breadcrumb-elements .dropdown-menu > li > a { padding-left: 15px; padding-right: 15px; } } .breadcrumb-elements .dropup > .dropdown-menu { margin-bottom: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .breadcrumb-elements [data-toggle="collapse"] { display: block; position: absolute; top: 0; right: 20px; } @media (min-width: 769px) { .breadcrumb-elements { float: right; text-align: inherit; border-top: 0; } .breadcrumb-elements.collapse { display: block; visibility: visible; } .breadcrumb-elements > li { float: left; } .breadcrumb-elements > li, .breadcrumb-elements > li .btn-group { position: relative; } .breadcrumb-line-component .breadcrumb-elements > li:last-child > a { border-bottom-right-radius: 3px; border-top-right-radius: 3px; } .breadcrumb-elements [data-toggle="collapse"] { display: none; } } @media (max-width: 768px) { .breadcrumb-line:not(.breadcrumb-line-component) .breadcrumb-elements { background-color: inherit; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; } } /* your_sha256_hash-------------- * * # Pagination (multiple pages) component * * Overrides for pagination bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .pagination { margin-top: 0; margin-bottom: -6px; } .pagination > li > a, .pagination > li > span { min-width: 36px; text-align: center; } .pagination.pagination-rounded > li:first-child > a, .pagination.pagination-rounded > li:first-child > span { border-bottom-left-radius: 100px; border-top-left-radius: 100px; } .pagination.pagination-rounded > li:last-child > a, .pagination.pagination-rounded > li:last-child > span { border-bottom-right-radius: 100px; border-top-right-radius: 100px; } .pagination-flat > li > a, .pagination-flat > li > span { margin-left: 1px; border-radius: 3px; min-width: 36px; background-color: transparent; } .pagination-flat > li > a, .pagination-flat > li > span, .pagination-flat > li > a:hover, .pagination-flat > li > span:hover, .pagination-flat > li > a:focus, .pagination-flat > li > span:focus { border-color: transparent; } .pagination-flat > .active > a, .pagination-flat > .active > span, .pagination-flat > .active > a:hover, .pagination-flat > .active > span:hover, .pagination-flat > .active > a:focus, .pagination-flat > .active > span:focus { border-color: transparent; } .pagination-flat > .disabled > span, .pagination-flat > .disabled > span:hover, .pagination-flat > .disabled > span:focus, .pagination-flat > .disabled > a, .pagination-flat > .disabled > a:hover, .pagination-flat > .disabled > a:focus { border-color: transparent; } .pagination-flat.pagination-rounded > li > a, .pagination-flat.pagination-rounded > li > span { border-radius: 100px; } .pagination-flat.pagination-lg > li > a, .pagination-flat.pagination-lg > li > span { min-width: 40px; } .pagination-flat.pagination-sm > li > a, .pagination-flat.pagination-sm > li > span { min-width: 34px; } .pagination-flat.pagination-xs > li > a, .pagination-flat.pagination-xs > li > span { min-width: 32px; } .pagination-separated > li > a, .pagination-separated > li > span { margin-left: 2px; } .pagination-lg > li > a, .pagination-lg > li > span { min-width: 40px; } .pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span { border-bottom-left-radius: 3px; border-top-left-radius: 3px; } .pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span { border-bottom-right-radius: 3px; border-top-right-radius: 3px; } .pagination-sm > li > a, .pagination-sm > li > span { min-width: 34px; } .pagination-xs > li > a, .pagination-xs > li > span { padding: 5px 10px; font-size: 12px; line-height: 1.6666667; } .pagination-xs > li:first-child > a, .pagination-xs > li:first-child > span { border-bottom-left-radius: 3px; border-top-left-radius: 3px; } .pagination-xs > li:last-child > a, .pagination-xs > li:last-child > span { border-bottom-right-radius: 3px; border-top-right-radius: 3px; } .pagination-xs > li > a, .pagination-xs > li > span { min-width: 32px; } /* your_sha256_hash-------------- * * # Pager component * * Overrides for pager bootstrap component * * Version: 1.2 * Latest update: Aug 10, 2016 * * your_sha256_hash------------ */ .pager { margin-top: 0; margin-bottom: 0; font-size: 0; } .pager li > a, .pager li > span { padding: 7px 12px; color: #333333; font-size: 13px; } .pager li > a:hover, .pager li > a:focus { border-color: #2196F3; color: #fff; } .pager li + li { margin-left: 10px; } .pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span { border-color: #ddd; } .pager.text-left { text-align: left; } .pager.text-right { text-align: right; } .pager-lg li > a, .pager-lg li > span { padding: 9px 15px; font-size: 14px; line-height: 1.4285715; } .pager-sm li > a, .pager-sm li > span { padding: 6px 11px; font-size: 12px; line-height: 1.6666667; } .pager-xs li > a, .pager-xs li > span { padding: 5px 10px; font-size: 12px; line-height: 1.6666667; } .pager-rounded li > a, .pager-rounded li > span { border-radius: 100px; } .pager-linked li > a, .pager-linked li > span { border-color: transparent; color: #1E88E5; } .pager-linked li > a:hover, .pager-linked li > span:hover { background-color: #2196F3; color: #fff; } .pager-linked .disabled > a, .pager-linked .disabled > a:hover, .pager-linked .disabled > a:focus, .pager-linked .disabled > span { border-color: transparent; } /* your_sha256_hash-------------- * * # Labels component * * Overrides for labels bootstrap component * * Version: 1.2 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .label { display: inline-block; font-weight: 500; padding: 2px 5px 1px 5px; line-height: 1.5384616; border: 1px solid transparent; text-transform: uppercase; font-size: 10px; letter-spacing: 0.1px; border-radius: 2px; } .btn .label { top: 0; } .list-group-item.active > .label, .nav-pills > .active > a > .label, .nav-tabs-solid > .active > a > .label, .nav-tabs[class*=bg-] > li > a > .label { color: #333333; background-color: #fff; border-color: #fff; } @media (min-width: 769px) { .list-group-item > .label { float: right; } .list-group-item > .label + .label { margin-right: 7px; } } .label > .caret, .badge > .caret { margin-top: -2px; } .open .label.dropdown-toggle, .open .badge.dropdown-toggle { -webkit-box-shadow: none; box-shadow: none; } .label[href]:hover, .badge[href]:hover, .label[href]:focus, .badge[href]:focus { opacity: 0.85; filter: alpha(opacity=85); } .label-default { border-color: #999999; } .label-default[href]:hover, .label-default[href]:focus { background-color: #999999; } .label-primary { border-color: #2196F3; } .label-primary[href]:hover, .label-primary[href]:focus { background-color: #2196F3; } .label-success { border-color: #4CAF50; } .label-success[href]:hover, .label-success[href]:focus { background-color: #4CAF50; } .label-info { border-color: #00BCD4; } .label-info[href]:hover, .label-info[href]:focus { background-color: #00BCD4; } .label-warning { border-color: #FF5722; } .label-warning[href]:hover, .label-warning[href]:focus { background-color: #FF5722; } .label-danger { border-color: #F44336; } .label-danger[href]:hover, .label-danger[href]:focus { background-color: #F44336; } .label-striped { background-color: #f5f5f5; color: #333333; border-left-width: 2px; padding: 5px 10px; } .label-striped.label-striped-right { border-left-width: 1px; border-right-width: 2px; } .label-striped, .label-striped.label-icon { border-radius: 0; } .label-striped[href]:hover, .label-striped[href]:focus { color: #333333; background-color: #eeeeee; -webkit-box-shadow: none; box-shadow: none; } .label-flat { background-color: transparent; border-width: 2px; border-radius: 0; padding: 1px 4px 0 4px; } .label-flat[href]:hover, .label-flat[href]:focus { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; } .label-icon { padding: 7px; border-radius: 2px; line-height: 1; } .label-icon > i { top: 0; } .label-icon.label-flat { padding: 6px; } .label-icon-xlg { padding: 10px; } .label-icon-xlg.label-flat { padding: 9px; } .label-icon-lg { padding: 9px; } .label-icon-lg.label-flat { padding: 8px; } .label-icon-sm { padding: 6px; } .label-icon-sm.label-flat { padding: 5px; } .label-icon-xs { padding: 5px; } .label-icon-xs.label-flat { padding: 4px; } .label-rounded { border-radius: 100px; } .label-rounded:not(.label-icon) { padding-left: 7px; padding-right: 7px; } .label-roundless { border-radius: 0; } .label-block { display: block; } .form-control + .label-block { margin-top: 7px; } .label-block.text-left { text-align: left; margin-right: 0; } .label-block.text-right { text-align: right; margin-left: 0; } /* your_sha256_hash-------------- * * # Badges component * * Overrides for badges bootstrap component * * Version: 1.2 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .badge { padding: 2px 6px 1px 6px; font-size: 10px; letter-spacing: 0.1px; vertical-align: baseline; background-color: transparent; border: 1px solid transparent; border-radius: 100px; } .btn .badge { top: 0; } .btn-xs .badge { padding: 2px 6px 1px 6px; } .list-group-item.active > .badge, .nav-pills > .active > a > .badge, .nav-tabs-solid > .active > a > .badge, .nav-tabs[class*=bg-] > li > a > .badge { color: #333333; background-color: #fff; border-color: #fff; } .nav-pills > li > a > .badge { margin-left: 0; } .nav-pills > li > a > .badge.position-right { margin-left: 7px; } .badge-default { background-color: #999999; border-color: #999999; } .badge-primary { background-color: #2196F3; border-color: #2196F3; } .badge-success { background-color: #4CAF50; border-color: #4CAF50; } .badge-info { background-color: #00BCD4; border-color: #00BCD4; } .badge-warning { background-color: #FF5722; border-color: #FF5722; } .badge-danger { background-color: #F44336; border-color: #F44336; } .badge-flat { background-color: transparent; border-width: 2px; padding: 1px 5px 0 5px; } .badge-flat[href]:hover, .badge-flat[href]:focus { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; } /* your_sha256_hash-------------- * * # Thumbnails component * * Overrides for thumbnails bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .thumbnail { -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } .thumbnail > a { display: block; } .thumbnail > img, .thumbnail a > img { width: 100%; } a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { border-color: #ddd; } .thumbnail .caption { padding: 17px; padding-top: 20px; } .thumbnail .caption i.pull-right, .thumbnail .caption .icons-list.pull-right { margin-top: 4px; } .thumbnail .caption .media-heading { margin-top: 0; } .thumbnail .caption .media-heading:after { content: ''; display: table; clear: both; } .modal-dialog .thumbnail { border-width: 0; -webkit-box-shadow: none; box-shadow: none; } .thumbnail > .panel-heading { margin: -3px; margin-bottom: 0; } .thumbnail .panel-footer { margin: -3px; margin-top: 0; } .thumbnail.no-padding img, .thumbnail.no-padding .thumb { border-top-right-radius: 3px; border-top-left-radius: 3px; -webkit-box-shadow: none; box-shadow: none; } .thumbnail.no-padding .caption { padding: 20px; } .thumbnail.no-padding .panel-heading, .thumbnail.no-padding .panel-footer { margin: 0; } .thumb { position: relative; display: block; } .thumb img:not(.media-preview) { display: inline-block; width: 100%; max-width: 100%; height: auto; } .thumb:not(.thumb-rounded) img { border-radius: 3px; } .thumb:hover .caption-zoom { border-radius: 0; -webkit-box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.7); box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.7); } .thumb:hover .caption-offset { left: 8px; top: 8px; } .thumb .caption-collapse { top: 80%; z-index: 10; height: auto; } .thumb:hover .thumb .caption-collapse { top: 100%; } .thumb-rounded { width: 60%; margin: 20px auto 0 auto; } .thumb-rounded, .thumb-rounded img, .thumb-rounded .caption-overflow { border-radius: 50%; } .caption-overflow { position: absolute; top: 0; left: 0; color: #fff; width: 100%; height: 100%; visibility: hidden; border-radius: 3px; opacity: 0; filter: alpha(opacity=0); -webkit-transition: all 0.15s ease-in-out; -o-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out; } .caption-overflow span { position: absolute; top: 50%; margin-top: -17px; width: 100%; text-align: center; } .thumb:hover > .caption-overflow { background-color: rgba(0, 0, 0, 0.7); visibility: visible; opacity: 1; filter: alpha(opacity=100); } .zoom-image { color: #fff; display: inline-block; text-align: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; filter: alpha(opacity=0); -webkit-transition: all 0.15s ease-in-out; -o-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out; } .thumb:hover .zoom-image { background-color: rgba(0, 0, 0, 0.6); opacity: 1; filter: alpha(opacity=100); } .img-rounded + .zoom-image { border-radius: 3px; } .img-circle + .zoom-image { border-radius: 50%; } .zoom-image i { font-size: 32px; position: absolute; top: 50%; left: 50%; margin-top: -16px; margin-left: -16px; } .thumb-slide { overflow: hidden; } .thumb-slide .caption { position: absolute; bottom: -100%; left: 0; color: #fff; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 10; -webkit-transition: all 0.1s linear; -o-transition: all 0.1s linear; transition: all 0.1s linear; } .thumb-slide .caption span { position: absolute; top: 50%; left: 0; margin-top: -18px; width: 100%; text-align: center; } .thumb-slide:hover .caption { bottom: 0; } /* your_sha256_hash-------------- * * # Alert component * * Overrides for alerts bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .alert { position: relative; padding-left: 20px; padding-right: 20px; } .alert .alert-heading { margin-top: 0; margin-bottom: 5px; } .alert .alert-link { color: inherit; } .alert .close, .alert .close:hover, .alert .close:focus { color: inherit; } .alert-primary { background-color: #E3F2FD; border-color: #1E88E5; color: #1565C0; } .alert-primary hr { border-top-color: #187bd1; } .alert-primary .alert-link { color: #104d92; } .alert-primary, .alert-primary .close { color: #104d92; } .alert-success, .alert-success .close { color: #205823; } .alert-info, .alert-info .close { color: #00545c; } .alert-warning, .alert-warning .close { color: #aa3510; } .alert-danger, .alert-danger .close { color: #9c1f1f; } .alert.alert-rounded { border-radius: 100px; padding-left: 25px; padding-right: 25px; } .alert-component[class*=alert-styled-] { background-color: #fff; } .alert[class*=bg-] a, .alert[class*=bg-] .alert-link { color: #fff; } .alert[class*=alert-styled-]:after { content: '\e9a2'; font-family: 'icomoon'; color: #fff; width: 44px; left: -44px; text-align: center; position: absolute; top: 50%; margin-top: -8px; font-size: 16px; font-weight: 400; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .alert[class*=alert-styled-].alert-danger:after, .alert[class*=alert-styled-][class*=bg-danger]:after { content: '\ed64'; } .alert[class*=alert-styled-].alert-success:after, .alert[class*=alert-styled-][class*=bg-success]:after { content: '\ed6e'; } .alert[class*=alert-styled-].alert-warning:after, .alert[class*=alert-styled-][class*=bg-warning]:after { content: '\e9bd'; } .alert[class*=alert-styled-].alert-info:after, .alert[class*=alert-styled-][class*=bg-info]:after { content: '\e9b9'; } .alert.alert-styled-right:after { left: auto; right: -44px; } .alert.alert-styled-custom:after { content: "\e81b"; } .alert.alert-styled-left { border-left-width: 44px; } .alert.alert-styled-left[class*=bg-] { border-left-color: rgba(0, 0, 0, 0.15) !important; } .alert.alert-styled-right { border-right-width: 44px; } .alert.alert-styled-right[class*=bg-] { border-right-color: rgba(0, 0, 0, 0.15) !important; } .alert:not(.ui-pnotify)[class*=alert-arrow-]:before, .ui-pnotify.alert[class*=alert-arrow-] > .brighttheme:before { content: ""; display: inline-block; position: absolute; top: 50%; left: 0; border-left: 5px solid; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left-color: inherit; margin-top: -5px; } .alert:not(.ui-pnotify).alert-arrow-right:before, .ui-pnotify.alert.alert-arrow-right > .brighttheme:before { left: auto; right: 0; border-left: 0; border-right: 5px solid; border-right-color: inherit; } /* your_sha256_hash-------------- * * # Progress bars component * * Overrides for progress bars bootstrap component * * Version: 1.0 * Latest update: May 25, 2015 * * your_sha256_hash------------ */ .progress { position: relative; margin-bottom: 0; height: 18px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); } .progress-bar { line-height: 18px; overflow: hidden; } .progress-rounded, .progress-rounded > .progress-bar { border-radius: 100px; } .progress .progressbar-back-text { position: absolute; left: 0; width: 100%; height: 100%; text-align: center; font-size: 12px; } .progress .progressbar-front-text { display: block; width: 100%; text-align: center; position: relative; font-size: 12px; } .progress.right .progress-bar { right: 0; float: right; } .progress.right .progressbar-front-text { position: absolute; right: 0; } .progress.vertical { width: 50px; height: 100%; display: inline-block; } .progress.vertical + .progress.vertical { margin-left: 10px; } .progress.vertical .progress-bar { width: 100%; height: 0; -webkit-transition: height 0.6s ease; -o-transition: height 0.6s ease; transition: height 0.6s ease; } .progress.vertical.bottom { position: relative; } .progress.vertical.bottom .progressbar-front-text { position: absolute; bottom: 0; } .progress.vertical.bottom .progress-bar { position: absolute; bottom: 0; } .progress-lg { height: 22px; } .progress-lg .progress-bar { line-height: 22px; } .progress-sm { height: 14px; } .progress-xs { height: 10px; } .progress-xxs { height: 6px; } .progress-micro { height: 2px; } .progress-sm .progress-bar, .progress-xs .progress-bar, .progress-xxs .progress-bar, .progress-micro .progress-bar { font-size: 0; } /* your_sha256_hash-------------- * * # Media list component * * Overrides for media list bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .media { margin-top: 20px; position: relative; } .media, .media-body { overflow: visible; } .media-left, .media-right, .media-body { position: relative; } .media-heading { margin-bottom: 2px; display: block; } .media-list { margin-bottom: 0; } .media-right, .media > .pull-right { padding-left: 20px; } .media-left, .media > .pull-left { padding-right: 20px; } @media (max-width: 768px) { .stack-media-on-mobile { text-align: center; } .stack-media-on-mobile .media-annotation { display: block; } .stack-media-on-mobile .media-annotation.dotted:not(.pull-right):before { content: none; margin: 0; } .stack-media-on-mobile .media-heading .media-annotation { margin-left: 0; margin-right: 0; padding-bottom: 5px; } .stack-media-on-mobile .media-left, .stack-media-on-mobile .media-right, .stack-media-on-mobile .media-body { display: block; width: auto; padding-left: 0; padding-right: 0; } .stack-media-on-mobile .media-left img, .stack-media-on-mobile .media-right img, .stack-media-on-mobile .media-body img { width: 100%; height: auto; max-height: none; } .stack-media-on-mobile .media-body, .stack-media-on-mobile .media-right { margin-top: 15px; } .stack-media-on-mobile .media-heading { margin-bottom: 5px; } } .media-left img:not(.media-preview), .media-right img:not(.media-preview), .thumbnail .media img:not(.media-preview) { width: 40px; height: 40px; max-width: none; } .media-badge { position: absolute; left: -10px; top: -2px; } .media-badge, .media-badge[class*=bg-] { border: 2px solid; } @media (max-width: 768px) { .navbar-inverse .media-badge { border: 0; top: 0; } } .media-annotation { color: #999999; font-size: 12px; line-height: 1.6666667; font-weight: 400; } .media-heading .media-annotation { margin-left: 7px; } .media-annotation i { font-size: 13px; } .media-annotation.dotted:not(.pull-right):before { content: ''; margin-right: 10px; } .media-header { white-space: nowrap; margin-top: 20px; font-weight: 500; } .media-header:first-child { margin-top: 0; } .media-list-bordered > li { border-top: 1px solid #eeeeee; padding-top: 15px; margin-top: 15px; } .media-list-bordered > li:first-child { padding-top: 0; border-top-width: 0; } .media-list-bordered.media-list-linked .media-header { margin-bottom: 15px; } .media-list-linked .media { margin-top: 0; padding: 0; } .media-list-linked .media-link { display: block; padding: 15px 20px; color: #333333; } .media-list-linked .media-link:hover, .media-list-linked .media-link:focus { background-color: #fafafa; color: #333333; } .media-list-linked .media-header { padding-left: 20px; padding-right: 20px; margin-top: 10px; margin-bottom: 10px; } .media-list-linked .media-header:first-child { margin-top: 0; } .media-list-linked.media-list-bordered > li:first-child { border-top-width: 1px; } .media-list-linked.media-list-bordered > .media-header { margin-top: 0; } .media-list-linked.media-list-bordered > .media-header:first-child { border-top-width: 0; } /* your_sha256_hash-------------- * * # List groups component * * Overrides for list groups bootstrap component * * Version: 1.0 * Latest update: May 25, 2015 * * your_sha256_hash------------ */ .list-group { list-style: none; margin-bottom: 0; border: 1px solid #ddd; padding: 7px 0; border-radius: 3px; } .list-group-item { background-color: transparent; padding: 10px 20px; border: 0; } .list-group-item.disabled .label, .list-group-item.disabled:hover .label, .list-group-item.disabled:focus .label, .list-group-item.disabled .badge, .list-group-item.disabled:hover .badge, .list-group-item.disabled:focus .badge { opacity: 0.75; filter: alpha(opacity=75); } .list-group-divider { height: 1px; display: block; background-color: #e5e5e5; margin-top: 7px; margin-bottom: 7px; } .list-group-header { padding: 7px 20px; font-size: 11px; line-height: 1.82; color: #999999; text-transform: uppercase; } .list-group-header:first-child { margin-top: 7px; } .list-group-item + .list-group-header, .list-group-divider + .list-group-header { margin-top: 14px; } .list-group-item > i, .list-group-header > i { margin-right: 7px; } .list-group-item > i.pull-right, .list-group-header > i.pull-right { margin-right: 0; margin-left: 7px; margin-top: 3px; } .list-group-item-heading { margin-top: 7px; margin-bottom: 7px; } .list-group-item-text { line-height: 1.5384616; margin-bottom: 7px; } .list-group-item-success { color: #43A047; background-color: #E8F5E9; } a.list-group-item-success, button.list-group-item-success { color: #43A047; } a.list-group-item-success .list-group-item-heading, button.list-group-item-success .list-group-item-heading { color: inherit; } a.list-group-item-success:hover, button.list-group-item-success:hover, a.list-group-item-success:focus, button.list-group-item-success:focus { color: #43A047; background-color: #d6edd8; } a.list-group-item-success.active, button.list-group-item-success.active, a.list-group-item-success.active:hover, button.list-group-item-success.active:hover, a.list-group-item-success.active:focus, button.list-group-item-success.active:focus { color: #fff; background-color: #43A047; border-color: #43A047; } .list-group-item-success, a.list-group-item-success, a.list-group-item-success:hover, a.list-group-item-success:focus { color: #205823; } .list-group-item-info { color: #1565C0; background-color: #E3F2FD; } a.list-group-item-info, button.list-group-item-info { color: #1565C0; } a.list-group-item-info .list-group-item-heading, button.list-group-item-info .list-group-item-heading { color: inherit; } a.list-group-item-info:hover, button.list-group-item-info:hover, a.list-group-item-info:focus, button.list-group-item-info:focus { color: #1565C0; background-color: #cbe7fb; } a.list-group-item-info.active, button.list-group-item-info.active, a.list-group-item-info.active:hover, button.list-group-item-info.active:hover, a.list-group-item-info.active:focus, button.list-group-item-info.active:focus { color: #fff; background-color: #1565C0; border-color: #1565C0; } .list-group-item-info, a.list-group-item-info, a.list-group-item-info:hover, a.list-group-item-info:focus { color: #104d92; } .list-group-item-warning { color: #EF6C00; background-color: #FFF3E0; } a.list-group-item-warning, button.list-group-item-warning { color: #EF6C00; } a.list-group-item-warning .list-group-item-heading, button.list-group-item-warning .list-group-item-heading { color: inherit; } a.list-group-item-warning:hover, button.list-group-item-warning:hover, a.list-group-item-warning:focus, button.list-group-item-warning:focus { color: #EF6C00; background-color: #ffe9c6; } a.list-group-item-warning.active, button.list-group-item-warning.active, a.list-group-item-warning.active:hover, button.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus, button.list-group-item-warning.active:focus { color: #fff; background-color: #EF6C00; border-color: #EF6C00; } .list-group-item-warning, a.list-group-item-warning, a.list-group-item-warning:hover, a.list-group-item-warning:focus { color: #aa3510; } .list-group-item-danger { color: #D84315; background-color: #FBE9E7; } a.list-group-item-danger, button.list-group-item-danger { color: #D84315; } a.list-group-item-danger .list-group-item-heading, button.list-group-item-danger .list-group-item-heading { color: inherit; } a.list-group-item-danger:hover, button.list-group-item-danger:hover, a.list-group-item-danger:focus, button.list-group-item-danger:focus { color: #D84315; background-color: #f7d5d1; } a.list-group-item-danger.active, button.list-group-item-danger.active, a.list-group-item-danger.active:hover, button.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus, button.list-group-item-danger.active:focus { color: #fff; background-color: #D84315; border-color: #D84315; } .list-group-item-danger, a.list-group-item-danger, a.list-group-item-danger:hover, a.list-group-item-danger:focus { color: #9c1f1f; } /* your_sha256_hash-------------- * * # Panels component * * Overrides for panels bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .panel { margin-bottom: 20px; border-color: #ddd; color: #333333; } .panel[class*=bg-] > .panel-heading { border-color: rgba(255, 255, 255, 0.2); } @media (max-width: 768px) { .panel[class*=bg-] > .panel-heading { background-color: inherit; } } .panel[class*=bg-].panel-flat > .panel-heading { border-bottom-color: transparent; } .panel[class*=bg-] > .panel-body { background-color: inherit; } .panel[class*=bg-] .panel-title { color: #fff; } .panel[class*=bg-] .table thead td, .panel[class*=bg-] .table tbody td, .panel[class*=bg-] .table thead th, .panel[class*=bg-] .table tbody th { border-color: rgba(255, 255, 255, 0.1); } .panel[class*=bg-] .text-muted, .panel[class*=bg-] .help-block, .panel[class*=bg-] .help-inline { color: rgba(255, 255, 255, 0.8); } .panel[class*=border-top-] { border-top-right-radius: 0; border-top-left-radius: 0; } .panel[class*=border-bottom-] { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .panel[class*=border-left-] { border-bottom-left-radius: 0; border-top-left-radius: 0; } .panel[class*=border-right-] { border-bottom-right-radius: 0; border-top-right-radius: 0; } .panel-body { position: relative; } .panel-flat > .panel-heading + .panel-body { padding-top: 0; } .panel-heading { position: relative; border-top-right-radius: 3px; border-top-left-radius: 3px; } .panel-bordered > .panel-heading { margin: 0; } .panel-flat > .panel-heading { padding-top: 20px; padding-bottom: 20px; background-color: #fff; } .panel-flat > .panel-heading > .panel-title { margin-top: 2px; margin-bottom: 2px; } .panel-flat[class*=bg-] > .panel-heading { background-color: inherit; } .panel-heading[class*=bg-], .panel-primary .panel-heading, .panel-danger .panel-heading, .panel-success .panel-heading, .panel-warning .panel-heading, .panel-info .panel-heading { margin: -1px -1px 0 -1px; border-top-right-radius: 3px; border-top-left-radius: 3px; } .panel-white > .panel-heading { background-color: #fff; border-bottom-color: #ddd; } .panel-title { position: relative; font-size: 13px; } a.panel-title { display: block; } .panel-title img { max-height: 20px; display: inline-block; vertical-align: top; } .panel-title > small:not(.display-block), .panel-title > .small:not(.display-block) { margin-left: 5px; } h1.panel-title, .h1.panel-title { font-size: 25px; } h2.panel-title, .h2.panel-title { font-size: 23px; } h3.panel-title, .h3.panel-title { font-size: 21px; } h4.panel-title, .h4.panel-title { font-size: 19px; } h5.panel-title, .h5.panel-title { font-size: 17px; } h6.panel-title, .h6.panel-title { font-size: 15px; } .icons-list a[data-action] { vertical-align: middle; -webkit-transition: all ease-in-out 0.2s; -o-transition: all ease-in-out 0.2s; transition: all ease-in-out 0.2s; } .icons-list a[data-action]:after { font-family: 'icomoon'; font-size: 16px; min-width: 16px; text-align: center; display: inline-block; line-height: 1; vertical-align: middle; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icons-list a[data-action="collapse"]:after { content: '\e9c1'; } .icons-list a[data-action="reload"]:after { content: '\e9fb'; } .icons-list a[data-action="close"]:after { content: '\e9b6'; } .icons-list a[data-action="move"]:after { content: '\e986'; } .icons-list a[data-action="modal"]:after { content: '\e9eb'; } .panel-footer { position: relative; padding-left: 0; padding-right: 0; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .panel-footer:after { content: ''; display: table; clear: both; } .panel-footer-transparent { background-color: transparent; border-top: 0; padding-top: 0; padding-bottom: 12px; } .panel-footer-condensed { padding-top: 2px; padding-bottom: 2px; } .panel-footer-bordered { background-color: #fff; padding-right: 0; margin-left: 20px; margin-right: 20px; } .panel-group-control .panel-title > a { padding-left: 26px; display: inline-block; } .panel-group-control .panel-title > a:before { content: '\e9b7'; font-family: 'icomoon'; position: absolute; top: 50%; margin-top: -8px; left: 0; font-size: 16px; font-weight: 400; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .panel-group-control .panel-title > a.collapsed:before { content: '\e9b8'; } .panel-group-control.panel-group-control-right .panel-title > a { padding-left: 0; padding-right: 26px; } .panel-group-control.panel-group-control-right .panel-title > a:before { left: auto; right: 0; } .panel-primary { border-color: #ddd; } .panel-primary.panel-bordered { border-color: #2196F3; } .panel-success { border-color: #ddd; } .panel-success.panel-bordered { border-color: #4CAF50; } .panel-info { border-color: #ddd; } .panel-info.panel-bordered { border-color: #00BCD4; } .panel-warning { border-color: #ddd; } .panel-warning.panel-bordered { border-color: #FF5722; } .panel-danger { border-color: #ddd; } .panel-danger.panel-bordered { border-color: #F44336; } /* your_sha256_hash-------------- * * # Wells component * * Overrides for wells bootstrap component * * Version: 1.1 * Latest update: Mar 10, 2016 * * your_sha256_hash------------ */ .well { margin-bottom: 0; padding: 20px; -webkit-box-shadow: none; box-shadow: none; } .well-white { background-color: #fff; } .well[class*=border-top-] { border-top-right-radius: 0; border-top-left-radius: 0; } .well[class*=border-bottom-] { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .well[class*=border-left-] { border-bottom-left-radius: 0; border-top-left-radius: 0; } .well[class*=border-right-] { border-bottom-right-radius: 0; border-top-right-radius: 0; } .well-lg { padding: 25px; border-radius: 3px; } .well-sm { padding: 15px; border-radius: 3px; } /* your_sha256_hash-------------- * * # Close button component * * Overrides for close button bootstrap component * * Version: 1.0 * Latest update: May 25, 2015 * * your_sha256_hash------------ */ .close { text-shadow: none; opacity: 0.6; filter: alpha(opacity=60); } .close:hover, .close:focus { outline: 0; opacity: 1; filter: alpha(opacity=100); } /* your_sha256_hash-------------- * * # Modals component * * Overrides for modals bootstrap component * * Version: 1.0 * Latest update: May 25, 2015 * * your_sha256_hash------------ */ .modal-content { border-radius: 3px; -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); } .modal-header { position: relative; padding-bottom: 0; } .modal-header[class*=bg-] { padding: 15px 20px; border-top-right-radius: 2px; border-top-left-radius: 2px; } .modal-header[class*=bg-] .close { margin-top: -9.75px; } .modal-content[class*=bg-] .modal-header .close, .modal-header[class*=bg-] .close { color: #fff; } .modal-header .close { position: absolute; right: 20px; top: 50%; margin-top: 0; } .modal-body .close { margin-top: 0!important; } .modal-footer { padding-top: 0; } .modal-footer.text-center { text-align: center; } .modal-footer.text-left { text-align: left; } @media (min-width: 769px) { .modal-xs { width: 300px; } .modal-full { width: 94%; margin-left: 3%; margin-right: 3%; } } /* your_sha256_hash-------------- * * # Tooltips component * * Overrides for tooltips bootstrap component * * Version: 1.0 * Latest update: May 25, 2015 * * your_sha256_hash------------ */ .tooltip { font-size: 13px; line-height: 1.5384616; } .tooltip [class*=bg-] { border-radius: 3px; } .tooltip [class*=bg-] > .tooltip-inner { background-color: inherit; } .tooltip.top [class*=bg-] .tooltip-arrow { border-top-color: inherit; } .tooltip.right [class*=bg-] .tooltip-arrow { border-right-color: inherit; } .tooltip.bottom [class*=bg-] .tooltip-arrow { border-bottom-color: inherit; } .tooltip.left [class*=bg-] .tooltip-arrow { border-left-color: inherit; } .tooltip-inner { padding: 7px 12px; } /* your_sha256_hash-------------- * * # Popovers component * * Overrides for popovers bootstrap component * * Version: 1.0 * Latest update: May 25, 2015 * * your_sha256_hash------------ */ .popover { border-radius: 3px; padding: 0; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .popover-title { font-size: 12px; line-height: 1.6666667; border: 0; padding: 15px 15px 0 15px; text-transform: uppercase; font-weight: 500; border-top-right-radius: 3px; border-top-left-radius: 3px; } .popover-title[class*=bg-] { padding: 10px 15px; margin: -1px -1px 0 -1px; } .popover-content { padding: 15px; } .popover[class*=bg-].top > .arrow, .popover[class*=border-].top > .arrow, .popover[class*=bg-].top > .arrow:after, .popover[class*=border-].top > .arrow:after { border-top-color: inherit; } .popover[class*=bg-].right > .arrow, .popover[class*=border-].right > .arrow, .popover[class*=bg-].right > .arrow:after, .popover[class*=border-].right > .arrow:after { border-right-color: inherit; } .popover[class*=bg-].bottom > .arrow, .popover[class*=border-].bottom > .arrow, .popover[class*=bg-].bottom > .arrow:after, .popover[class*=border-].bottom > .arrow:after { border-bottom-color: inherit; } .popover[class*=bg-].left > .arrow, .popover[class*=border-].left > .arrow, .popover[class*=bg-].left > .arrow:after, .popover[class*=border-].left > .arrow:after { border-left-color: inherit; } .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { padding-left: 0px !important; } ```
```javascript const { getWorkspaceProjectsAliases } = require('@fluentui/scripts-monorepo'); const { workersConfig } = require('./shared'); // northstar packages should pull these from npm, not the repo const excludedPackages = ['@fluentui/dom-utilities']; const createConfig = (/** @type {import('@jest/types').Config.InitialOptions} */ customConfig) => ({ coverageDirectory: './coverage/', coverageReporters: ['json', 'lcov'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], setupFilesAfterEnv: [`${__dirname}/v0/setupTests.js`], testRegex: '/test/.*-test\\.tsx?$', transform: { '^.+\\.tsx?$': 'babel-jest', }, modulePathIgnorePatterns: ['<rootDir>/dist/'], verbose: false, watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'], testEnvironment: 'jsdom', restoreMocks: true, clearMocks: true, ...workersConfig, ...customConfig, moduleNameMapper: { ...getWorkspaceProjectsAliases({ type: 'jest', excludeProjects: excludedPackages, }), ...customConfig.moduleNameMapper, }, // OLD format for migration to jest 29 - TODO: migrate to new format . path_to_url#future snapshotFormat: { escapeString: true, printBasicPrototype: true, }, }); module.exports = createConfig; ```
This is a complete episode listing of the anime television series and its sequel , created by Gonzo. The Aegis of Uruk premiered on Japanese television, and across various websites including YouTube on April 1, 2008. The Sword of Uruk followed on Japanese television and, again, across various websites on January 8, 2009. Aegis of Uruk The first season of The Tower of Druaga began airing on April 1, 2008, and concluded on June 20. It consists of twelve episodes and follows the journey of Jil, Kaaya, Neeba, and other adventurers climbing the mysterious Tower of Druaga. The opening theme, Swinging is performed by Muramasa☆ and the ending theme, is performed by Kenn, the voice of Jil. Sword of Uruk The second season of The Tower of Druaga premiered on January 8, 2009 and ran for twelve episodes. Six months after the events of the first season, Jil, Fatina, and the surviving Climbers have settled in Meskia after the defeat of Druaga and the betrayals of Kaaya and Neeba. However, when a mysterious young girl appears, Jil and his companions must climb the Tower once more. The opening theme for the second season is "Questions?" by Yu Nakamura and the ending theme for episodes 01(13) to 11(23), is performed by Fumiko Orikasa, the voice of Kaaya. The ending theme for 12(24) is "Swinging" by Muramasa☆. References Tower of Druaga
```c++ /* * This file is part of libsidplayfp, a SID player engine. * * * This program is free software; you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "SincResampler.h" #include <cassert> #include <cstring> #include <cmath> #include <iostream> #include <sstream> #include "../siddefs-fp.h" #ifdef HAVE_CONFIG_H # include "config.h" #endif #ifdef HAVE_EMMINTRIN_H # include <emmintrin.h> #elif defined HAVE_MMINTRIN_H # include <mmintrin.h> #elif defined(HAVE_ARM_NEON_H) # include <arm_neon.h> #endif namespace reSIDfp { typedef std::map<std::string, matrix_t> fir_cache_t; /// Cache for the expensive FIR table computation results. fir_cache_t FIR_CACHE; /// Maximum error acceptable in I0 is 1e-6, or ~96 dB. const double I0E = 1e-6; const int BITS = 16; /** * Compute the 0th order modified Bessel function of the first kind. * This function is originally from resample-1.5/filterkit.c by J. O. Smith. * It is used to build the Kaiser window for resampling. * * @param x evaluate I0 at x * @return value of I0 at x. */ double I0(double x) { double sum = 1.; double u = 1.; double n = 1.; const double halfx = x / 2.; do { const double temp = halfx / n; u *= temp * temp; sum += u; n += 1.; } while (u >= I0E * sum); return sum; } /** * Calculate convolution with sample and sinc. * * @param a sample buffer input * @param b sinc buffer * @param bLength length of the sinc buffer * @return convolved result */ int convolve(const short* a, const short* b, int bLength) { #ifdef HAVE_EMMINTRIN_H int out = 0; const uintptr_t offset = (uintptr_t)(a) & 0x0f; // check for aligned accesses if (offset == ((uintptr_t)(b) & 0x0f)) { if (offset) { const int l = (0x10 - offset)/2; for (int i = 0; i < l; i++) { out += *a++ * *b++; } bLength -= offset; } __m128i acc = _mm_setzero_si128(); const int n = bLength / 8; for (int i = 0; i < n; i++) { const __m128i tmp = _mm_madd_epi16(*(__m128i*)a, *(__m128i*)b); acc = _mm_add_epi16(acc, tmp); a += 8; b += 8; } __m128i vsum = _mm_add_epi32(acc, _mm_srli_si128(acc, 8)); vsum = _mm_add_epi32(vsum, _mm_srli_si128(vsum, 4)); out += _mm_cvtsi128_si32(vsum); bLength &= 7; } #elif defined HAVE_MMINTRIN_H __m64 acc = _mm_setzero_si64(); const int n = bLength / 4; for (int i = 0; i < n; i++) { const __m64 tmp = _mm_madd_pi16(*(__m64*)a, *(__m64*)b); acc = _mm_add_pi16(acc, tmp); a += 4; b += 4; } int out = _mm_cvtsi64_si32(acc) + _mm_cvtsi64_si32(_mm_srli_si64(acc, 32)); _mm_empty(); bLength &= 3; #elif defined(HAVE_ARM_NEON_H) #if (defined(__arm64__) && defined(__APPLE__)) || defined(__aarch64__) int32x4_t acc1Low = vdupq_n_s32(0); int32x4_t acc1High = vdupq_n_s32(0); int32x4_t acc2Low = vdupq_n_s32(0); int32x4_t acc2High = vdupq_n_s32(0); const int n = bLength / 16; for (int i = 0; i < n; i++) { int16x8_t v11 = vld1q_s16(a); int16x8_t v12 = vld1q_s16(a + 8); int16x8_t v21 = vld1q_s16(b); int16x8_t v22 = vld1q_s16(b + 8); acc1Low = vmlal_s16(acc1Low, vget_low_s16(v11), vget_low_s16(v21)); acc1High = vmlal_high_s16(acc1High, v11, v21); acc2Low = vmlal_s16(acc2Low, vget_low_s16(v12), vget_low_s16(v22)); acc2High = vmlal_high_s16(acc2High, v12, v22); a += 16; b += 16; } bLength &= 15; if (bLength >= 8) { int16x8_t v1 = vld1q_s16(a); int16x8_t v2 = vld1q_s16(b); acc1Low = vmlal_s16(acc1Low, vget_low_s16(v1), vget_low_s16(v2)); acc1High = vmlal_high_s16(acc1High, v1, v2); a += 8; b += 8; } bLength &= 7; if (bLength >= 4) { int16x4_t v1 = vld1_s16(a); int16x4_t v2 = vld1_s16(b); acc1Low = vmlal_s16(acc1Low, v1, v2); a += 4; b += 4; } int32x4_t accSumsNeon = vaddq_s32(acc1Low, acc1High); accSumsNeon = vaddq_s32(accSumsNeon, acc2Low); accSumsNeon = vaddq_s32(accSumsNeon, acc2High); int out = vaddvq_s32(accSumsNeon); bLength &= 3; #else int32x4_t acc = vdupq_n_s32(0); const int n = bLength / 4; for (int i = 0; i < n; i++) { const int16x4_t h_vec = vld1_s16(a); const int16x4_t x_vec = vld1_s16(b); acc = vmlal_s16(acc, h_vec, x_vec); a += 4; b += 4; } int out = vgetq_lane_s32(acc, 0) + vgetq_lane_s32(acc, 1) + vgetq_lane_s32(acc, 2) + vgetq_lane_s32(acc, 3); bLength &= 3; #endif #else int out = 0; #endif for (int i = 0; i < bLength; i++) { out += *a++ * *b++; } return (out + (1 << 14)) >> 15; } int SincResampler::fir(int subcycle) { // Find the first of the nearest fir tables close to the phase int firTableFirst = (subcycle * firRES >> 10); const int firTableOffset = (subcycle * firRES) & 0x3ff; // Find firN most recent samples, plus one extra in case the FIR wraps. int sampleStart = sampleIndex - firN + RINGSIZE - 1; const int v1 = convolve(sample + sampleStart, (*firTable)[firTableFirst], firN); // Use next FIR table, wrap around to first FIR table using // previous sample. if (unlikely(++firTableFirst == firRES)) { firTableFirst = 0; ++sampleStart; } const int v2 = convolve(sample + sampleStart, (*firTable)[firTableFirst], firN); // Linear interpolation between the sinc tables yields good // approximation for the exact value. return v1 + (firTableOffset * (v2 - v1) >> 10); } SincResampler::SincResampler(double clockFrequency, double samplingFrequency, double highestAccurateFrequency) : sampleIndex(0), cyclesPerSample(static_cast<int>(clockFrequency / samplingFrequency * 1024.)), sampleOffset(0), outputValue(0) { // 16 bits -> -96dB stopband attenuation. const double A = -20. * log10(1.0 / (1 << BITS)); // A fraction of the bandwidth is allocated to the transition band, which we double // because we design the filter to transition halfway at nyquist. const double dw = (1. - 2.*highestAccurateFrequency / samplingFrequency) * M_PI * 2.; // For calculation of beta and N see the reference for the kaiserord // function in the MATLAB Signal Processing Toolbox: // path_to_url const double beta = 0.1102 * (A - 8.7); const double I0beta = I0(beta); const double cyclesPerSampleD = clockFrequency / samplingFrequency; { // The filter order will maximally be 124 with the current constraints. // N >= (96.33 - 7.95)/(2 * pi * 2.285 * (maxfreq - passbandfreq) >= 123 // The filter order is equal to the number of zero crossings, i.e. // it should be an even number (sinc is symmetric with respect to x = 0). int N = static_cast<int>((A - 7.95) / (2.285 * dw) + 0.5); N += N & 1; // The filter length is equal to the filter order + 1. // The filter length must be an odd number (sinc is symmetric with respect to // x = 0). firN = static_cast<int>(N * cyclesPerSampleD) + 1; firN |= 1; // Check whether the sample ring buffer would overflow. assert(firN < RINGSIZE); // Error is bounded by err < 1.234 / L^2, so L = sqrt(1.234 / (2^-16)) = sqrt(1.234 * 2^16). firRES = static_cast<int>(ceil(sqrt(1.234 * (1 << BITS)) / cyclesPerSampleD)); // firN*firRES represent the total resolution of the sinc sampling. JOS // recommends a length of 2^BITS, but we don't quite use that good a filter. // The filter test program indicates that the filter performs well, though. } // Create the map key std::ostringstream o; o << firN << "," << firRES << "," << cyclesPerSampleD; const std::string firKey = o.str(); fir_cache_t::iterator lb = FIR_CACHE.lower_bound(firKey); // The FIR computation is expensive and we set sampling parameters often, but // from a very small set of choices. Thus, caching is used to speed initialization. if (lb != FIR_CACHE.end() && !(FIR_CACHE.key_comp()(firKey, lb->first))) { firTable = &(lb->second); } else { // Allocate memory for FIR tables. matrix_t tempTable(firRES, firN); #ifdef HAVE_CXX11 firTable = &(FIR_CACHE.emplace_hint(lb, fir_cache_t::value_type(firKey, tempTable))->second); #else firTable = &(FIR_CACHE.insert(lb, fir_cache_t::value_type(firKey, tempTable))->second); #endif // The cutoff frequency is midway through the transition band, in effect the same as nyquist. const double wc = M_PI; // Calculate the sinc tables. const double scale = 32768.0 * wc / cyclesPerSampleD / M_PI; // we're not interested in the fractional part // so use int division before converting to double const int tmp = firN / 2; const double firN_2 = static_cast<double>(tmp); for (int i = 0; i < firRES; i++) { const double jPhase = (double) i / firRES + firN_2; for (int j = 0; j < firN; j++) { const double x = j - jPhase; const double xt = x / firN_2; const double kaiserXt = fabs(xt) < 1. ? I0(beta * sqrt(1. - xt * xt)) / I0beta : 0.; const double wt = wc * x / cyclesPerSampleD; const double sincWt = fabs(wt) >= 1e-8 ? sin(wt) / wt : 1.; (*firTable)[i][j] = static_cast<short>(scale * sincWt * kaiserXt); } } } } bool SincResampler::input(int input) { bool ready = false; /* * Clip the input as it may overflow the 16 bit range. * * Approximate measured input ranges: * 6581: [-24262,+25080] (Kawasaki_Synthesizer_Demo) * 8580: [-21514,+35232] (64_Forever, Drum_Fool) */ sample[sampleIndex] = sample[sampleIndex + RINGSIZE] = softClip(input); sampleIndex = (sampleIndex + 1) & (RINGSIZE - 1); if (sampleOffset < 1024) { outputValue = fir(sampleOffset); ready = true; sampleOffset += cyclesPerSample; } sampleOffset -= 1024; return ready; } void SincResampler::reset() { memset(sample, 0, sizeof(sample)); sampleOffset = 0; } } // namespace reSIDfp ```
Katran is a small village in Ratnagiri district, Maharashtra state in Western India. The 2011 Census of India recorded a total of 923 residents in the village. Katran's geographical area is approximately . References Villages in Ratnagiri district
Don-E (born Donald McLean, in Brixton, London, England) is a British soul singer, songwriter, musician and producer. Don-E is most well known for his début single, "Love Makes the World Go Round" which reached No. 18 in the UK Singles Chart in 1992. Career Don-E's interest in music began when his father, a South London pastor, gave him a home-made guitar for his fifth birthday. After taking an interest in his parents' collection of gospel and soul, he moved onto funk, reggae, jazz and pop. Whilst still only 19, Don-E was signed to Island Records and recorded his debut, Unbreakable, which was released in 1992 shortly after the summer hit, "Love Makes the World Go Round" scaled the international charts. Don-E wrote and produced the album, as well as providing the majority of the instrumentation. UK 'urban jazz' guitarist Ronny Jordan played on two of the album tracks. Following the lack of chart success of his second recording, Changing Seasons, Don-E left Island Records to focus on writing and production for a number of artists in the UK and US. It's during this period Don-E was briefly signed to D'Angelo's record label, along with former Jamiroquai member Stuart Zender, who together recorded an album under the name Azur. Among the tracks, Don-E and Zender recorded "So Cold" with D'Angelo playing the Fender Rhodes parts – the track later featuring officially on Don-E's Natural. Don-E eventually returned to recording as a solo artist, releasing Try This in 2005 through leading black music label, Dome Records. The album features a duet with British R&B peer, Omar. It was not until the release of his fourth major recording, Natural in 2008, that Don-E began to gain recognition in the music press once more, aided by the inclusion of some of Britain's top black female performers – all of whom Don-E had previously worked with in the studio. Natural featured vocals from ex-Sugababes, Keisha Buchanan and Mutya Buena, plus a duet with Kele Le Roc. Don-E is a regular member of Grace Jones's band, playing keyboard throughout her Hurricane tour. The first of Don-E's two-part Ladies Night collection was released in 2012, and showcased a number of up-and-coming British black female vocalists. He joined Peter Gabriel's touring band for the i/o tour in 2023. Discography Studio albums Unbreakable (1992) Changing Seasons (1995) Try This (2005) Natural (2008) Ladies Night Part 1 (2012) Little Star (2013) Future Rare Grooves (2014) Future Rares 2 (2015) EPs Sex-E Soul EP (2011) Singles References External links Official website Discography UK Vibe Interview 2013 Year of birth missing (living people) Living people Black British musicians English soul singers English male songwriters English record producers Musicians from Brixton
Eßweiler (, with a short E; also Essweiler) is an Ortsgemeinde – a municipality belonging to a Verbandsgemeinde, a kind of collective municipality – in the Kusel district in Rhineland-Palatinate, Germany. It belongs to the Verbandsgemeinde Lauterecken-Wolfstein. Geography Location The municipality lies roughly 25 km north of Kaiserslautern, 15 km east of Kusel and 4 km west of Wolfstein at the foot of the Königsberg, a mountain in the North Palatine Uplands. Eßweiler sits at an elevation of 260 to 280 m above sea level, and has also given the dale in which it lies its name, the Eßweiler Tal. In the village itself, the two streams, the Breitenbach and the Jettenbach, flow together to form the Talbach, which is fed by the Steinbach about 100 m beyond the municipal limit, thereafter flowing down to Offenbach-Hundheim, where it empties into the Glan. Found around Eßweiler are some of the district's highest mountains: the Königsberg (568 m), the Selberg (546 m), the Potschberg (498 m), the Bornberg (520 m) and the Herrmannsberg (536 m). Eßweiler has 431 inhabitants and an area of 8.1 km2. Land under agricultural use amounts to 39.5%, while 13.9% is used for residential and transport purposes. Another 46.1% of the municipal area is wooded, and 0.5% is open water. Neighbouring municipalities Eßweiler borders in the north on the municipality of Oberweiler im Tal, in the northeast on the municipality of Aschbach, in the east on the municipality of Rutsweiler an der Lauter, in the southeast on the municipality of Rothselberg, in the south on the municipality of Jettenbach, in the southwest on the municipality of Bosenbach, in the west on the municipality of Elzweiler and in the northwest on the municipality of Horschbach. Eßweiler also meets the town of Wolfstein at a single point in the northeast. Constituent communities Eßweiler has only one outlying centre, called the Schneeweiderhof (Hof means “estate” in German, and the name takes the definite article), lying some 3 km from the village at an elevation of about 500 m above sea level on the Bornberg. Its history is tightly bound with the stone quarries that were established there beginning in the 1870s. Between 1922 and 1924, the then owners of the quarries, Basalt-Actien-Gesellschaft (a company that is still in business today, based then, as now, in Linz am Rhein and known as Basalt AG for short), built a workers’ settlement for quarry employees, the Kolonie, out of basalt stones. The complex is still fairly well preserved. Owing to the great number of schoolchildren (all together 25 of them in seven grades in 1952), a school was set up at the Kolonie in 1952 in a purpose-built building, thus sparing the children the daily walk to the village and back. The school was, however, dissolved in 1965 owing to school reform. Since the quarries were closed in 1970, the population figure on the Schneeweiderhof has been steadily shrinking; more and more flats are now unoccupied. On the other hand, the Schneeweiderhof is popular among hikers and daytrippers from the local area, if only to make a stop at the local inn. Municipality’s layout Eßweiler owes its current shape mainly to the time that followed the Thirty Years' War. It was built as a linear village (by some definitions, a “thorpe”) stretching along Hauptstraße (also known today as Landesstraße 372). In the village core, where the Breitenbach and Jettenbach meet to form the Talbach, another road, Krämelstraße, branches off as Landesstraße 369 to Jettenbach and on towards Landstuhl. Also in the village core stands the Protestant church, built in 1865. Next to it were the old school building and the old village hall, which was renovated and expanded in the 1960s. As early as 1935, the former alte Schul (“old school”) was supplemented with a new school building on the road leading out of the village towards Oberweiler im Tal. The village core was given a makeover in the 1980s when a new village square was laid out. Eventually, in the years 1994–1997, a village community centre was built right on this square. Leading out of both the former and current village core is the street “Im Läppchen”, the part of which on the Talbach's right bank is known even today as the Judengasse (“Jews’ Lane”), a reference to the once important Jewish sector of the population in Eßweiler. Since the 1950s, the bridges leading across the brooks have been turned into culverts so that the crossing between the two highways – still known locally as a “bridge” – now bears little sign of its former shape. Branching off from Krämelstraße is a Kreisstraße that leads to the outlying centre of the Schneeweiderhof some 3 km away on the summit of the Bornberg. This road was expanded as Kreisstraße 31 in 1959 and renovated in 1994 and 1995. Until 1970, diorite was quarried at the Schneeweiderhof. The former quarry lands together with the Kolonie, a workers’ settlement for those who worked the quarries, built in 1923, may be described as an industrial monument. In 1988, the Kusel district began using the old quarries as the district dump. Just beyond the junction where the road branches off to the Schneeweiderhof, a new building development sprang up along Krämelstraße in the 1950s, which pushed the village's built-up area outwards towards Jettenbach. Work on a further building development, “Auf Herrmannsmauer”, began in 1980 on the road leading out of the village towards Oberweiler im Tal, above Landesstraße 372. Currently, the municipality is putting its efforts into yet another new building development in the field known as “Rödwies” on Rothenweg. According to the 1987 census, Eßweiler has 161 residential buildings with 195 dwellings. Somewhat more than one third of these buildings date from before 1900. On Eßweiler's outskirts, two Aussiedlerhöfe (outlying farming settlements), the Königsbergerhof (below the Königsberg) and the Lindenhof (on the road leading out of the village towards Jettenbach). Near the Lindenhof, in the part of the municipal area called “Altbach”, the municipality wants to open a commercial area. In the late 1980s, the Christliches Jugenddorfwerk Deutschlands (CJD) acquired a sizeable property in the village core. After the original idea of running a training centre for ecological farming fell through, the two buildings served as a way station for Aussiedler from East European countries. The CJD has also meanwhile housed trainees. History Stone Age to Roman times Within both Eßweiler's and Rothselberg’s municipal limits, several Stone Age finds have been brought to light. Later, Celts settled here. They were forced out by Germanic tribes, who were in turn pushed out, over to the Rhine’s right bank, by the Romans. By the time the Gallic Wars ended locally, in 51 BC, the whole of the Rhine’s left bank was part of Roman Gaul. Unearthed in 1904, and bearing witness to Roman-Gaulish times, was a silver spoon decorated with doves, grapes and grapeleaves and inscribed “Lucilianae vivas”. Its origin is Roman, from about the 4th century. The spoon is now to be found at the Historical Museum of the Palatinate (Historisches Museum der Pfalz) in Speyer, and is also early evidence of Christianity in the Palatinate (see Religion below). On the Trautmannsberg in 2002 and 2003, workers with the Office for Archaeological Monument Care (Amt für archäologische Denkmalpflege) undertook diggings to observe and preserve a Roman estate. Right next to the site, they unearthed ceramics and storage pits from pre-Celtic times (about 800 BC). Moreover, in the early 20th century on the Potschberg, the building remnants of a Roman mountain sanctuary were found. The Romans withdrew from the region about AD 400, and the Alemanni who settled after them were eventually driven out by the Franks under King Clovis I (466-511). The whole region was part of the Reichsland, which was at the king’s own disposal, giving rise to the name Königsland, still used today. Middle Ages Eßweiler most likely arose sometime between 600 and 800, which was the time when villages with names ending in —weiler came into being. In 1250 and 1296, Eßweiler had its first documentary mentions as Esewilre. Originally, the village lay not in the dale, but rather at the foot of the Königsberg, in what is now the field known as Kirchwiese. In earlier days, wall remnants were found. In the Middle Ages and Early Modern times, Eßweiler belonged to the Eßweiler Tal complex (Tal means “dale” or “valley”), a territorial unit comprising not only Eßweiler but also Oberweiler im Tal, Hinzweiler, Nerzweiler, Hundheim, Aschbach, Horschbach, Elzweiler and Hachenbach, all of which today lie within the Kusel district. A cleared area that included the greater part of the Eßweiler Tal was donated to Prüm Abbey in Prüm in the Eifel between 868 and 870. The lordly seat was Hirsau, whose ancient church bears witness to this time. Later, the whole Dale was ruled by the Counts of Veldenz, who had split away from the Waldgraves. Their administrative seat was at first Nerzweiler; sometime between 1443 and 1477, it was moved to Hundheim. The Offenbach Monastery and the old Hirsau Church (Hirsauer Kirche, the ancient church mentioned above) give a clue that the Eßweiler Tal was originally a monastic Vogtei region. The record shows that in 1150, the estates in Aschbach, Hachenbach and Hirsau were donated to the Offenbach Monastery by Reinfried von Rüdesheim as a provost’s realm of Saint Vincent’s Abbey in Metz; the Archbishop of Mainz confirmed this donation in 1289. Hirsau was until the 16th century a parish covering the whole Dale. In the 12th century, the Eßweiler Tal passed to Count Emich von Schmidtburg, who is said to be the one who endowed the comital line of Veldenz. In 1393, the Dale passed as a Wittum (widow’s estate) to Margarete von Nassau, Count of Veldenz Friedrich III’s wife. Between Eßweiler and Oberweiler im Tal, the Sprengelburg (or Springeburg – a castle) was built about 1300. It was not standing very long before it was destroyed. The castle lords at the time were the Knights of Mülenstein (or Mühlenstein), vassals of the Waldgraves, although little else is known about the castle’s history. Only in a 1595 description of the Eßweiler Tal written by state scrivener and geometer Johannes Hofmann on behalf of John I, Count Palatine of Zweibrücken, can anything be read about the Sprengelburg and its eventual destruction by merchants from Strasbourg. Today, only a ruin is left standing. It was restored by the municipality of Eßweiler in the 1980s after an American academic, Professor Thomas Higel from the University of Maryland, had unearthed some remnants in the 1970s that had lain under a heap of rubble. The castle lies on Landesstraße 372; the Eßweiler-Oberweiler municipal limit passes right through the castle grounds. It is still known today as the Altes Schloss, or “Old Castle”. It stands on a spur that juts out of the Königsberg, and the land drops off sharply to the brook that flows by through the dale. The lordly builders built their castle at the dale’s narrowest spot, which may have been done so that they could control the road that once ran through the dale. archaeological digs brought to light a rectangular arrangement of outer walls (roughly 15 × 20 m) with a round tower standing in the middle with a diameter of 8 m. This suggests that the complex was not a castle as such, but rather a well-developed watchtower. No special finds were unearthed in the course of digs. Only at the foot of the hill were potsherds found, although in the summer of 1978, Professor Higel’s team stumbled on a young woman’s skeleton; she might have died in the castle’s destruction. This find aroused much greater interest in the castle’s history. Perhaps, it was thought, the answer might lie in Johannes Hofmann’s old description, which contains, among other things, a detailed report about the castle’s destruction. The “Springeburg”, as Hofmann called it, met its fate in neither the Thirty Years' War nor the Nine Years' War (known in Germany as the Pfälzischer Erbfolgekrieg, or War of the Palatine Succession), but rather it was destroyed, supposedly sometime between 1350 and 1400, in the course of retaliatory measures – the Mülensteins were notorious as robber knights – undertaken by some Strasbourg merchants. Hofmann specifically mentioned a death in the incident, although it was a man, a Junker of Mühlenstein; presumably, though, others might have died with him. Over the years, the political unity of the Eßweiler Tal broke ever further down, until in the 16th century, 14 vassals held sway in the villages. The highest landlords and vassals at this time were the Junkers of Scharfenstein. They, too, were vassals of the Waldgraves and they maintained a common administration and jurisdiction. Early Modern times In 1595, the whole Eßweiler Tal passed to the Duchy of Palatinate-Zweibrücken, to which Eßweiler belonged until 1797, when the lands on the Rhine’s left bank were overrun and conquered by Napoleon’s forces, while a few villages passed back to the Waldgraves in 1755. The wars of the 17th and 18th centuries wrought great destruction and losses to the population. In the Thirty Years' War, there was no great amount of fighting, but many times various armies marched through the area, plundering and destroying; one mill in Eßweiler fell victim to their destructive ways (it was restored in 1661). Between 1635 and 1638, the villagers also had the Plague to deal with, which had cropped up sporadically before this. Subsequent wars, too, brought their own miseries as the region once again became a military route. In both the Franco-Dutch War and the Nine Years' War (known in Germany as the Pfälzischer Erbfolgekrieg, or War of the Palatine Succession), the region was occupied by French forces. There was repeated plundering and destroying. By 1768, only 141 families lived in the Eßweiler Tal. In the years that followed, many inhabitants emigrated to North and South America or Eastern Europe. Building work on a church began in Eßweiler in 1733. By 1745, there were once again two mills in the village (both of which still stand, and one of which was even still being run until the 1970s). In 1750, a fire wrought great damage to the village. Of the many settlements that arose in the expansions between 600 and 1200, more than half have not survived. As early as shortly after 1400, a few villages in the Eßweiler Tal were destroyed by “Armagnacs”. The inhabitants furthermore had to suffer under the great epidemics of the time. In 1564, the Plague supposedly claimed 200 victims of the 800 people then living in the Eßweiler Tal. In 1575, Eßweiler itself apparently had only 24 inhabitants left. In 1622, another wave of the Plague swept across the land during the Thirty Years' War leaving most villages all but depopulated. Time and again, as arranged by the lords who held the land, newcomers were brought in to settle the land again; from France, Switzerland and even the Tyrol they came, but the 1648 Peace of Westphalia failed to bring any calm to the land as French King Louis XIV waged his wars of conquest, turning the Palatinate into a battleground. Although the end of the politically and religiously motivated wars after 1700 soothed tensions somewhat, the land itself remained poor. Famines drove a great deal of the inhabitants to migrate to Habsburg-ruled Eastern Europe, Prussian Brandenburg, Pomerania and eventually overseas to North America. Many families from Eßweiler were among the emigrants. 19th century The outbreak of the French Revolution brought yet more war along with it. After Napoleon had conquered the area, Eßweiler belonged to France beginning in 1797, finding itself in the Department of Mont-Tonnerre (or Donnersberg in German), or more locally, Eßweiler was the seat of a mairie (“mayoralty”) in the Canton of Wolfstein and the Arrondissement of Kaiserslautern. From 1816, after the Congress of Vienna, until the First World War ended, Eßweiler belonged to the Kingdom of Bavaria. Thereafter and until the state of Rhineland-Palatinate was founded in 1947, it belonged to the Free State of Bavaria. In the early 19th century, the inhabitants fed themselves mainly by agriculture, but the population was rising markedly, which made poverty in Eßweiler all the more acute as there was a dearth of employment opportunities in the region. In 1803 there were 464 inhabitants, but by 1836 that number had risen to 614 (28 Catholics, 525 Protestants and 61 Jews), and by 1867 to 716 (14 Catholics, 617 Protestants and 85 Jews). Economic need and repeated famines, though, led in both the 18th and 19th centuries to several waves of emigration, which lasted into the 1920s. From Eßweiler, several branches of the family Gilcher (the current mayor’s surname), among others, emigrated to Brazil and the United States. It was in the 1830s that the Westpfälzer Wandermusikantentum, a musical movement that saw local Musikanten – literally “minstrels” – travel all over the world, began. Its heyday fell between 1850 and the First World War. Eßweiler was one of the main centres of what is now known as the Musikantenland, seemingly contributing a disproportionate share of these musicians. Some 300 musicians spread out from here in the 19th century and went throughout the world, mostly to North and South America, but also to Australia, China and Africa. Unlike the more permanent emigrants, most of these “wandering minstrels” eventually came back, even though for some, the journey could last several years. Well known musicians from Eßweiler include: Michael Gilcher (1822–1899), trumpeter, went to England and the USA, was later Eßweiler’s mayor. Hubertus Kilian (1827–1899), trombonist, went to among other places Australia, China (where he was named “Imperial Chinese Orchestra Leader”) and the USA. Rudolph Schmitt (1900–1993), clarinettist, stayed in the USA and became a sought-after clarinettist in several symphony orchestras. Another income source came into play when hard rock deposits were discovered at the Schneeweiderhof. About 1840, a few villagers began making paving stones on the Kiefernkopf. The diorite out of which these were being made was distinguished by its ability to bear up against stresses, which led to the local paving stones becoming a sought-after product, much favoured by many cities and towns. Since 1900 In the beginning, the stone deposit was worked by many small quarrying businesses, until 1914, when they were all taken over by Basalt AG from Linz am Rhein, who proceeded to further expand the quarrying operations. In 1919, a ropeway conveyor to Altenglan was built to ensure efficient transport of the product. In 1923, the Kolonie was built, a workers’ settlement with roughly 50 dwelling units. In 1928, the operation had 567 employees. By the time of the outbreak of the Second World War, the workforce had shrunk to 320. By the early 1950s, there were still 190 workers employed at the quarries, but by the late 1960s, this had dwindled to only 68, although productivity had nevertheless grown considerably as a result of rationalization. Nevertheless, the operation was shut down for good in 1970, not least of all because of the unfavourable transport conditions. The Wandermusikantentum and hard-stone quarrying were crucial for development in the early 20th century. In 1907, the first watermain was laid, bringing water from a spring at the Trautmannsberg. This remained in service until the 1980s. Eßweiler, along with the Schneeweiderhof, was then hooked up to the long-distance water supply system. Eßweiler was connected to the electrical grid beginning in 1924. In both world wars, Eßweiler lost many people. The inscription on the Eßweiler war memorial names 13 fallen and 2 missing soldiers from the First World War, but nothing is known about any destruction or civilian losses in the village itself. From the end of the Great War until 1946, Eßweiler belonged to the Free State of Bavaria (as opposed to the now defunct Kingdom). On Kristallnacht (9–10 November 1938), the two last Eßweiler Jewish families’ houses were both invaded and thoroughly vandalized. Shortly thereafter, the village’s three remaining Jewish residents were taken away to the camps (see also below). The village came through the Second World War more or less unscathed; only one building was damaged by an American tank. Nevertheless, according to memorial inscriptions, 51 soldiers from Eßweiler fell in the war. Particularly tragic was an accident that happened in February 1945, when some children and youths found a Panzerfaust left behind by retreating German soldiers and began playing with it. It exploded, killing five children. Several others were wounded, some seriously. Since 1946, Eßweiler has been part of the then newly founded state of Rhineland-Palatinate. With the establishment of the Verbandsgemeinde of Wolfstein on 1 January 1972, the Bürgermeisterei (“Mayoralty”) of Eßweiler, which was also responsible for the neighbouring municipality of Oberweiler im Tal, was dissolved. Today, Eßweiler is purely a residential community. The greater part of the roughly 450 inhabitants work in the surrounding towns. Population development Eßweiler's population figures rose during the 19th century and reached 614 by 1838. Despite emigration and people moving away, the figures kept rising, reaching 683 by 1939. After the Second World War, in 1950, the population even reached as high as 724, not least of all because of refugees from central Germany and ethnic Germans driven out of Germany's former eastern territories. In the time that followed, the population figures steadily dropped. While Eßweiler still had 687 inhabitants in 1961, this had fallen to 582 by 30 June 1997. The population is now well under 500. Population figures At 31 May 2009, 431 persons in Eßweiler had their main residence in the municipality, 207 (48.03%) of whom were male and 224 (51.97%) of whom were female. Foreigners were 1.62% of the population, and 46 had their secondary residence in Eßweiler. The following table shows population development over the centuries for Eßweiler, with some figures broken down by religious denomination: Age breakdown The following age breakdown can be deduced from Eßweiler's 31 May 2009 population figures: Population by religious affiliation At 31 May 2009, the 431 people whose primary residence was in Eßweiler adhered to the following faiths: Municipality’s name The village's name, Eßweiler, has the common German placename ending —weiler, which as a standalone word means “hamlet” (originally “homestead”), to which is prefixed a syllable believed by writer Ernst Christmann to have arisen from an old German man's name, Ezzo (or Ezo, Azzo or Azzio), and thus the name would originally have meant “Ezzo’s Homestead”, meaning that Eßweiler owes its modern name to one of its oldest settlers. Given the other forms of Ezzo's name, Eßweiler may have been named Aßweiler at one time, but there is no historical record to confirm this. In the beginning, the village lay on the cadastral area now called “Kirchwiese”, where once wall remnants were also found. In 1296, Eßweiler had its thus far earliest known documentary mention in a document from the Counts of Zweibrücken, which mentions the village of Esewilr. The area had been, however, settled earlier than that, as the Stone Age to Roman times section, above, details. Religion Christianity The Roman silver spoon found in 1904, mentioned above, is reckoned to bear witness to early Christianization, for the doves pecking at grapes with which the spoon is decorated were described in the literature about the find as a typically Christian emblem. It shows at least there was contact with Christianity at that time. In an ecclesiastical sense as well as a political one, the Eßweiler Tal was a unit. Until the Reformation, the Catholic faith predominated. The ecclesiastical hub was Hirsau. The parish church was the Hirsauer Kirche, a 12th-century church near Hundheim, and the whole Eßweiler Tal was its parish. This unity was lost in the Reformation, for in 1544, the villages of Eßweiler, Hinzweiler and Oberweiler im Tal were split away from the old parish and made into a new parish of their own based at Hinzweiler; the church in that village became the parish church, and that was also where the parish priest lived. This separation came along with the spread of Protestantism once the Waldgraves converted to Lutheranism. In 1595, the Dale passed to the Duchy of Palatinate-Zweibrücken, which required, under the principle of cuius regio, eius religio, that everyone convert to the Reformed faith. It was in this time that the parish of Hinzweiler, which was also responsible for Eßweiler, was headed by a pastor from Austria named Pantaleon Weiß (he called himself Candidus). He had studied in Wittenberg under Philipp Melanchthon and harboured Reformed ideas. Originally, the whole Eßweiler Tal had only one graveyard, in Hirsau. Eßweiler, however, had its own graveyard by 1590. It can be assumed that Protestantism was quite widespread at the time, as it was the lords’ belief. In 1601, Eßweiler passed to the parish of Bosenbach, which after the Thirty Years' War was united with the parish of Hinzweiler. Thereafter, the local ecclesiastical seat was once again Hinzweiler. According to the 1697 Treaty of Ryswick, all villages in the Eßweiler Tal were parochially merged with Eßweiler. The Lutheran faith had not vanished utterly: In 1709, when the Duchy of Palatinate-Zweibrücken lay under Swedish rule, the Lutheran Church established its own parish for the Eßweiler Tal villages to which, in fact, more than twenty villages belonged. The small Lutheran communities in Wolfstein and Roßbach were for a while tended by Eßweiler. In 1746, Eßweiler passed back to the parish of Bosenbach. This was not changed again until 1971, when Eßweiler passed to the parish of Rothselberg, to which it still belongs now, along with Rothselberg and Kreimbach-Kaulbach. From 1758 to 1763, Johann Julius Printz was the pastor in Eßweiler, and from 1810 to 1817 it was Johann Heinrich Bauer. The Catholics’ share of the population was quite small in Eßweiler. In 1836 and 1837, Eßweiler had 614 inhabitants, of whom 28 were Catholic, 525 were Protestant and 61 were Jewish. As early as 1821, the Eßweiler parish church became a branch of Bosenbach. One of the best known pastors was Christian Böhmer (1823-1877). Born in Kusel, he came to Bosenbach in 1872 and earned himself some measure of fame through his literary endeavours. The Catholics were at this time tended by Wolfstein, while the few Catholics in the Eßweiler Tal before then belonged to Lauterecken, where there was a simultaneous church as early as 1725. The Jewish community Important in Eßweiler at one time was the rather great share of the population represented by Jews. Jewish families are known to have lived in Eßweiler in 1680, 1698, 1746, 1776 and 1780. In 1688, there were four Jewish families living in Eßweiler. Their numbers grew steadily over the years until in the 1860s, Eßweiler had one of the biggest Jewish communities in the Kusel district. In 1789, a synagogue in the village was mentioned. The synagogue, locally known as the Judenschule, stood on the Judengasse (“Jews’ Lane”); the building is still standing. In 1867, the Jewish population numbered 85. The number fell steadily over the years that followed as many inhabitants moved to the cities. On 24 January 1906, the Eßweiler Jewish worship community was dissolved. The remaining Jewish inhabitants, the two families of Isidor and his brother Sigmund (or Siegmund) Rothschild, joined the Kusel worship community. On Kristallnacht (9–10 November 1938), Brownshirts from Altenglan and Theisbergstegen, reinforced by a few NSDAP followers from Jettenbach and Brownshirts from Kusel who happened to be going about in the district destroying Jewish property, thronged into these two men's houses and laid them waste. Shortly thereafter, the village's three remaining Jewish residents, the widower Isidor Rothschild, his brother Sigmund and Sigmund's wife Blondine were taken away to the camps. The last two named are believed to have died at Theresienstadt. Two of their four daughters, too, were murdered in the camps. The other two, and also Isidor's son, survived the Holocaust and later lived in the United States. There was a synagogue in the village, known popularly as the Judenschule. It was mentioned as early as 1789. The street on which it stood is to this day popularly known as the Judengasse (“Jews’ Lane”). The synagogue was let out as a dwelling in 1902 and then auctioned in 1907. The building is still standing, but it is now a house, and bears no sign of its original function. In the neighbouring building, renovation work in the 1960s unearthed the remains of a mikveh. Jewish family names represented in the village were, among others, Rothschild, Loeb, Hermann, Wolf, Dreifuß, Lazarus, Herz and Ehrlich. The Jews had their own graveyard in Hinzweiler, which was transferred to the Eßweiler community's ownership in 1904, but later, they also buried their dead in Kaiserslautern. Politics Eßweiler has belonged since 1 January 1972 to the then newly formed Verbandsgemeinde of Wolfstein. Municipal council The council is made up of 8 council members, who were elected by majority vote at the municipal election held on 7 June 2009, and the honorary mayor as chairman. Mayor Eßweiler's mayor is Peter Gilcher, elected in 2019. Coat of arms The German blazon reads: In Gold ein blauer Schräglinkswellenbalken, oben rechts eine rote schwebende Zinnenburg mit rotem Zinnenturm, links unten zwei gekreuzte schwarze Steinabbauhämmer. The municipality's arms might in English heraldic language be described thus: Or a bend sinister wavy azure between a castle and a tower both embattled gules masoned sable and a hammer and pick per saltire of the last. The three charges in the arms are a castle, which represents the Sprengelburg or Springeburg, a “bend sinister wavy”, which represents the Talbach, which begins in the village with the merging of two other streams, and a crossed hammer and pick, which represent the old quarries in the outlying centre of the Schneeweiderhof. The arms have been borne since 13 October 1982 when they were approved by the now defunct Regierungsbezirk administration in Neustadt an der Weinstraße. Culture and sightseeing Buildings The following are listed buildings or sites in Rhineland-Palatinate’s Directory of Cultural Monuments: Protestant church, Läppchen 1 – Baroque aisleless church, 1733, tower with tent roof, 1865, architect Johann Schmeisser, Kusel; organ by E.F. Walcker & Cie. Ludwigsburg from 1869; stone fountain, 1857 Near Läppchen 1 – warriors’ memorial 1914-1918 and 1939–1945, fountain complex, 1927, by Karl Dick, Kaiserslautern, expanded after 1945 Mühlgasse 5 – former gristmill; one-floor sandstone-framed plastered building on raised basement, 1870; technical equipment from 1920s/1930s, turbine from 1950s Former workers’ colony of the Schneeweiderhof, west of the village on the Hermannsberg (monumental zone) – dwelling blocks for the quarry workers, two- and three-floor Swiss chalet style buildings of basalt quarrystone, round the back a farm and goat pens, 1922–1924, architects Heinrich Marrat and Eduard Scheler, Cologne Castle Sprengelburg ruin Between Eßweiler and Oberweiler im Tal on an outlying hill of the Königsberg, right on Landesstraße (State Road) 372, stands the Sprengelburg (or Springeburg). Judging from the remnants, it was built about 1300 and was soon thereafter destroyed in a feud against the Knights of Mülenstein, who were the castle lords, occasioned by their activities as robber knights. Right up until the 1970s, the site was known simply as am alten Schloss (“at the Old Castle”) and the whole ruin was buried under an earthen hill, quite hidden from sight, and with trees growing on it. The ruin's current appearance is the result of restoration measures undertaken from 1976 to the mid-1980s initiated by the State Office for Monument Care (Landesamt für Denkmalpflege) in Speyer. Since 1983, the ruin has been listed as an architectural monument. The Kolonie In the quarries on the Schneeweiderhof, sometimes up to 500 people were employed until the mid 20th century. They came from their homes in the surrounding villages to the mountain, and went back again each day, on foot, some of them walking five or six kilometres. Between 1922 and 1924, the quarry owners, Basalt AG, Linz am Rhein, built a workers’ settlement on the Schneeweiderhof out of basalt stones quarried on site. It is known locally as die Kolonie. The complex is made up of a three-floor main building and two wing buildings, which stand somewhat nearer the road. Through driveways with round arches, one reached the farms behind the complex, where there were goat pens and chicken coops. The complex's outer appearance has been largely preserved from how it originally looked. Many of the flats, however, are now empty. Evangelical church In the village centre stands the Evangelical church. The nave, work on which began in 1733, is still standing. The ridge turret, which was falling into disrepair, was replaced with a tower in 1865. Inside is an organ by E.F. Walcker & Cie. Ludwigsburg from 1869. It has been preserved unchanged from its original state. Cultural life Cultural life in Eßweiler was in days of yore characterized by the schools, not least of all by the Latin school. From old documents come accounts even of theatrical productions in Eßweiler. Moreover, Eßweiler's cultural life reached a high point in the 19th century with the emergence of the travelling musician industry (Wandermusikantentum). Musicians from Eßweiler went throughout the world. Among the 19th century's best known orchestra leaders were Hubertus Kilian and Michel Gilcher. In the 20th century there was Jakob Meisenheimer, who travelled to almost every part of the globe. Also enjoying fame were Jakob Hager who, among other things, played at the Metropolitan Opera in New York, and Rudolph Schmitt, who worked for many years as a clarinettist for the world-famous orchestras in Chicago and San Francisco. Clubs Given that there was a strong “musical industry” in the village at the time, it was no accident that there was a music club in Eßweiler as early as the 19th century. The treasurer's book from the Mackenbach music club lists for the year of the Eßweiler club's founding, 1883, an entry according to which an emissary was sent to Eßweiler to fetch the club's bylaws. The music club continued to exist up until the time of the Weimar Republic, but then, by and by, it broke up. In 1990, the old Musikanten tradition in Eßweiler was revived by the founding of the “Talbachmusikanten” music club. The youth orchestra, Jugendorchester Eßweiler/Jettenbach, also belongs to this. Eßweiler's oldest club is the Gesangverein 1888 Eßweiler e. V., a singing club. According to a 1942 record kept by the Deutscher Sängerbund (German Singers’ Association), it was founded as a men's singing club in 1888. In its early days, the conductor was usually the local schoolteacher. In 1925, another singing club was founded, the Arbeiter Gesang- und Unterstützungsverein (“Workers’ Singing and Support Club”), whereupon the original singing club became known as the bürgerlicher Gesangverein (“civic singing club”). After Adolf Hitler’s 1933 seizure of power, the two clubs were actually forced into a merger under the terms of Gleichschaltung. The new, merged club was active until 1942. In 1946 came the refounding of the original club, which did not come off altogether well, as the French occupational authorities demanded, among other things, a French translation of the club’s charter. Beginning in the mid-1960s, it was becoming ever harder to find new blood for the singing club. Thus, in 1967, a women’s choir was founded and the men’s singing club became a mixed singing club. This served only to stave the problem off for a while, but by the 1990s, the singing club decided that it would be a good idea to form an association with the Gesangverein Horschbach. A major figure in the singing club was Oswald Henn, who from 1925 (then as part of the Workers Singing Club) to 1981 was the conductor. From 1902 until the late 1960s, the singing club also staged theatrical productions. When a theatre group was founded in 1998, this tradition was once again continued. In 1924, the bürgerlicher Sportverein Eßweiler (“Eßweiler Civic Sport Club”) was founded. In 1928, a gymnastic department and a girls’ squad were added, and thus arose today's name, Turn- und Sportverein Eßweiler (“Eßweiler Gymnastic and Sport Club”). After the Second World War, the club was newly founded as a football club, although at first, owing to a lack of players, an association had to be formed with Rothselberg and Kreimbach-Kaulbach. Beginning in 1949, there were enough players for Eßweiler to field its own team. In 1957, the team rose to the Kusel B Class. In the 1960s, the lack of new blood became noticeable. The team rallied, however, and since 1968, there has been a playing association with Rothselberg. Since 1988, the association, SG Eßweiler-Rothselberg, has been playing once again in the Kusel B Class or Kreisliga. The Landfrauenverein (“Countrywomen’s Club”) has been active in Eßweiler since 1962. In the early 1970s, the Heimat- und Verkehrsverein (“Local History and Transport Club”) was founded, which runs the Landscheidhütte and to which the theatre group also belongs. To support the fire brigade, the Feuerwehrförderverein „St. Florian“ Eßweiler (“Eßweiler Saint Florian Fire Brigade Promotional Association”) was founded. Other clubs in the municipality are the Alten- und Krankenpflegeverein (club for care of the elderly and infirm), the local SPD association and the Luftsportverein Eßweiler (vorm. Landstuhl) e. V. (air sports). The following clubs, with founding date and membership, are currently active in Eßweiler: Turn- und Sportverein Eßweiler (gymnastic and sport club), founded in 1924, 125 members; Gesangverein 1888 Eßweiler (singing club), founded in 1888, 85 members, 25 active and 60 passive; since 1993 there has been an alliance with the Horschbach singing club; Landfrauenverein (countrywomen's club), founded in 1962, 47 members; Feuerwehrförderverein (fire brigade promotional association), founded in 1983, 35 members; Heimat- und Verkehrsverein (local history and transport club), founded in 1972, 40 members; Musikverein Talbachmusikanten (music club), founded in 1990, 65 members, 35 active and 30 passive; Krankenpflegeverein (club for care of the elderly and infirm); Ortsverein der Sozialdemokratischen Partei Deutschlands (Social Democratic Party of Germany local branch). Also closely associated with Eßweiler's club scene is the Luftsportverein Landstuhl (Landstuhl Air Sports Club), which has been maintaining a glideerport at the cadastral area called “Striet” since 1964. Economy and infrastructure Economic structure Until the 20th century, agriculture was the mainstay of the local people's livelihood. In 1833, the following acreages were noted: How great the extent of the meadowlands was is, however, unknown. Handicrafts arose insofar as they were needed to support the main endeavour, farming. In the earlier half of the 20th century, Eßweiler still had bakers, butchers, saddlers, cabinetmakers, tailors, shoemakers, painters and plasterers. Beginning about 1830, the Wandermusikantentum – the “minstrel” tradition for which the area is famous – was growing in importance in the West Palatinate, and Eßweiler was becoming one of the great centres of the Musikantenland (see above). Besides this Wandermusikantentum, though, another musical enterprise also arose in Eßweiler, albeit on a small scale. This was the craft of making musical instruments. In the 18th and 19th centuries, many mines arose around Eßweiler. Of greatest importance to Eßweiler, however, were the hard-rock deposits on the Schneeweiderhof, where citizens from Eßweiler first established quarries beginning in 1870. The main product was paving stones. In 1914, Basalt AG, Linz am Rhein bought up the quarries. A transport problem lay in the stones’ having to be laboriously carted overland to the railway stations in Kreimbach or Altenglan, but this was solved in 1919 with the opening of a five-kilometre-long ropeway conveyor to Altenglan. From time to time, up to 500 people from the surrounding villages were working at the quarries. Work permanently ceased there in 1970. The end of the Wandermusikantentum after the First World War made itself felt in its effect on job opportunities. After the Second World War, the formerly common livelihood of farming was shifted to a secondary position, or in some cases it vanished utterly as agriculture itself lost more and more of its importance, although two Aussiedlerhöfe (singular: Aussiedlerhof – outlying farming settlements) were established in the 1960s. By 2007 there were only eight agricultural operations covering an area of 84 ha (34.8% cropland and 65.2% meadow or grazing land). Another sector of the population worked at the K.O. Braun bandage factory in Wolfstein. To be sure, there were several small businesses in Eßweiler from the 1950s to the 1990s, but these did not truly weigh in the balance as far as job opportunities were concerned. Given this dearth of work, more and more workers became commuters. In the mid-1960s, Opel opened a plant in Kaiserslautern, which promised jobs for workers throughout the region. This would have been welcome in Eßweiler, especially after the quarries were shut down in 1970. Most of the inhabitants today work in nearby villages, towns or cities such as Wolfstein, Kusel or Kaiserslautern. Most drive, for despite considerable improvement to local public transport, it can still be problematic. Several small businesses have set up shop in Eßweiler, among others two bus operators, several craft businesses, the district dump on the Schneeweiderhof, which began operations in 1988, and the Christliche Jugenddorf Wolfstein (“Wolfstein Christian Youth Village”). Retail trade and dining In earlier times, the village had all that it needed for basic food supplies. There were several butcher’s shops and bakeries. During the heyday of the Wandermusikantentum, the musician Adolph Schwarz ran a music shop. Until the mid-1970s, there were still three grocery shops in Eßweiler, two butcher’s shops and a bakery. Nowadays there are only one food shop and one branch bakery. Until the early 1970s, there were four inns in Eßweiler, and another one on the Schneeweiderhof. There are now only two – one in the village itself and the one on the Schneeweiderhof – and the local history club’s stall, which is open afternoons. Public institutions Between 1967 and 1969, the town hall was built. Today it houses the municipal council chamber, a branch of the district savings and loan association (Kreissparkasse) and a bakery branch, and it is also used by local clubs for small-scale events. A youth meeting centre has also been set up in the basement. Right next door, a fire station was built in 1988. After the municipality bought an agricultural property and tore the buildings down, it built a village square in the village centre in 1987. On the lands occupied by the district dump on the Schneeweiderhof, there has been since 2005 the “Eßweiler” weather station, run by Meteomedia AG. As well, a four-hectare area was given over to a solar plant in November 2008; its output is 1.5 MW, and it is run by Neue Energie Pfälzer Bergland GmbH, a joint venture by Pfalzwerke AG and the District of Kusel. Also standing on the Schneeweiderhof is the 151 m-tall Bornberg transmission tower. Bürgerhaus Eßweiler Since there was no longer any room for large-scale events in Eßweiler – the former dance halls in the old inns had over time all been converted into dwellings – planning began in the early 1990s to build a village community centre, the Bürgerhaus Eßweiler. Originally it was to have been a new building on the way out of the village going towards Jettenbach, but while planning was still ongoing, an agricultural property in the village centre, complete with a house, a farm and a barn with stalls, was offered for sale. The municipality acquired the property and planning then took a new turn. The foundation stone was laid on 2 June 1995. Mostly by Eßweiler citizens’ own volunteer work, the buildings were converted into a village community centre. The old building material was thereby preserved and integrated: the former house now houses the lavatory complex, several smaller event rooms and, in the vaulted cellar, the bar. The barn was gutted and now contains the actual event hall. Between the two, a new building went up. It contains the reception area, a vestibule and a commercial wing with a kitchen, a serving counter and storage rooms. Education There was no school as such in the Eßweiler Tal in the 16th century, but it is clear that children were being taught by clergymen. This was a job to which the clergymen were not strongly drawn, for their dwellings – where they would have had to hold lessons – were quite small and in the summertime they had to work the parish plot. In the late 16th century, though, the call to education was roused by the spread of humanistic and reform-minded ideas. A 1572 document hints at the existence of a school in Eßweiler. In 1604, the Eßweiler parishioners sent a petitionary letter to the lord who was responsible, namely Duke Johannes II (“the Young”), asking for a Latin school to be established. The Duke answered the request with a decree on 31 May 1604. The resulting Latin school was, however, lost in the Thirty Years' War (1618-1648). Theodor Zink reports of a Greek inscription on the arch above the doorway of the former parish cellar; it was apparently still preserved as late as 1818. After the ravages of the Great War, Eßweiler may have got a new school, but whatever the truth, teachers’ names are known from this time. During the 20th century, there was a two-stream primary school in Eßweiler, which in the beginning was housed at the old schoolhouse on the street “Im Läppchen”. In 1936, a new schoolhouse was built on the way out of the village going towards Oberweiler im Tal, while the old school was still used until the 1950s. Until then, schoolchildren had attended classes in a building in the village centre and also at the town hall. This new schoolhouse, which over the years underwent many conversions, was used until 2002. In 1956, an upper floor was added to the new schoolhouse. Between 1952 and 1965, the Schneeweiderhof had its own school. It was opened on 2 November 1952, it had 43 pupils and it had one room. Hitherto, children had had to walk 3 km each day to the village (and of course 3 km back) every day to school. On 25 August 1965, this school was closed and schoolchildren in year levels 1 to 4 then went to the primary school in Eßweiler, while those in year levels 5 to 8 went to the Mittelpunktschule (“midpoint school”, a central school, designed to eliminate smaller outlying schools) in Wolfstein. This Mittelpunktschule in Wolfstein was founded in 1965 after a trial year in 1962/1963. Since then secondary-level students have been taught there. The primary school stayed in Eßweiler. With the founding of the Verbandsgemeinde of Wolfstein in 1971, schooling was also somewhat reorganized. Founded for the municipalities of Eßweiler, Oberweiler im Tal and Hinzweiler was the Grundschule Eßweilertal with school locations in Eßweiler and Hinzweiler. Eventually, in the 1980s, the Königsland-Grundschule was founded for the municipalities of Eßweiler, Hinzweiler, Jettenbach, Oberweiler im Tal and Rothselberg with three initial locations at Eßweiler, Jettenbach and Rothselberg; the Jettenbach location was later closed. At the beginning of 1997, the Königsland-Grundschule had 134 pupils in 8 classrooms. The various locations and, particularly, the lack of room, were grounds for planning a new school building. Thus, since the beginning of the 2002 school year, children from Eßweiler, Rothselberg, Jettenbach, Oberweiler im Tal and Hinzweiler formerly attending primary schools in Eßweiler, Jettenbach and Rothselberg have had a new, modern school building at their disposal, the Grundschule Königsland in Jettenbach. Beginning in 1972, the municipality of Eßweiler ran, in the framework of a special-purpose association founded on 24 August of that year, a kindergarten in Jettenbach in collaboration with the municipalities of Jettenbach, Rothselberg, Oberweiler im Tal and Hinzweiler. Since 1997, Eßweiler and the neighbouring village of Rothselberg have been jointly running a kindergarten, called Spatzennest (“Sparrow’s Nest”) in the latter village. The sponsor is the Rothselberg Evangelical church community. Further schooling in the area is to be had at the Realschule plus Lauterecken-Wolfstein, the Realschule plus Kusel, the Gymnasien in Kusel and Lauterecken and the school centre in Kusel on the Roßberg with its Hauptschule, vocational school and Wirtschaftsgymnasium (business Gymnasium – see Education in Germany). The nearest colleges are the Fachhochschule Kaiserslautern and the Kaiserslautern University of Technology. Transport Running through Eßweiler is Landesstraße (State Road) 372, known locally as Hauptstraße (“Main Street”). It leads from Rothselberg to Offenbach-Hundheim. Joining to Hauptstraße in the village centre is Landesstraße 369, known locally as Krämelstraße. It leads to Jettenbach, and Kreisstraße (District Road) 31 branches from it at the Schneeweiderhof. It was built in 1959. The Kaiserslautern West interchange onto the Autobahn A 6 (Saarbrücken–Mannheim) lies 25 km away. It is 20 km to the Kusel interchange onto the Autobahn A 62 (Kaiserslautern–Trier), and likewise 20 km to the Sembach interchange onto the Autobahn A 63 towards Mainz. Furthermore, Bundesstraßen 270 (near Kreimbach-Kaulbach, roughly 6 km), 420 and 423 (in Altenglan, roughly 10 km) are right nearby. Eßweiler belongs to the VRN. It is served by bus routes 140, 272, 274 and 275. The nearest railway station is found in Kreimbach-Kaulbach on the Lauter Valley Railway (Lautertalbahn), some 7 km away. Trains from there run to Kaiserslautern Central Station (Hauptbahnhof). Gliderport Above the village lies the Eßweiler Gliderport, run by the Eßweiler Air Sports Club. It was built in 1963, and is designed for gliders, motorgliders and ultralights. Motorized aircraft may only use the field if their takeoff weight is two metric tons or less, and they have an aerotow coupler. Famous people Sons and daughters of the town Michael Gilcher (1822–1899), wandering minstrel Rudolph Schmitt (1900–1993), clarinettist Famous people associated with the municipality Hubertus Kilian (1827–1899), wandering minstrel, born in Jettenbach, died in Eßweiler Alexander Ulrich (1971–), Member of the Bundestag, grew up in Eßweiler. References Also based on personal oral communication between citizens of Eßweiler and the writer of the original German Wikipedia article from which this article is partly translated. External links Municipality’s official webpage Brief portrait of Eßweiler with film from Hierzuland at SWR Fernsehen Municipalities in Rhineland-Palatinate Kusel (district) Holocaust locations in Germany
```objective-c // This source code is licensed under both the GPLv2 (found in the // (found in the LICENSE.Apache file in the root directory). // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // WriteBatch holds a collection of updates to apply atomically to a DB. // // The updates are applied in the order in which they are added // to the WriteBatch. For example, the value of "key" will be "v3" // after the following batch is written: // // batch.Put("key", "v1"); // batch.Delete("key"); // batch.Put("key", "v2"); // batch.Put("key", "v3"); // // Multiple threads can invoke const methods on a WriteBatch without // external synchronization, but if any of the threads may call a // non-const method, all threads accessing the same WriteBatch must use // external synchronization. #pragma once #include <atomic> #include <stack> #include <string> #include <stdint.h> #include "rocksdb/status.h" #include "rocksdb/write_batch_base.h" namespace rocksdb { class Slice; class ColumnFamilyHandle; struct SavePoints; struct SliceParts; struct SavePoint { size_t size; // size of rep_ int count; // count of elements in rep_ uint32_t content_flags; SavePoint() : size(0), count(0), content_flags(0) {} SavePoint(size_t _size, int _count, uint32_t _flags) : size(_size), count(_count), content_flags(_flags) {} void clear() { size = 0; count = 0; content_flags = 0; } bool is_cleared() const { return (size | count | content_flags) == 0; } }; class WriteBatch : public WriteBatchBase { public: explicit WriteBatch(size_t reserved_bytes = 0, size_t max_bytes = 0); ~WriteBatch() override; using WriteBatchBase::Put; // Store the mapping "key->value" in the database. Status Put(ColumnFamilyHandle* column_family, const Slice& key, const Slice& value) override; Status Put(const Slice& key, const Slice& value) override { return Put(nullptr, key, value); } // Variant of Put() that gathers output like writev(2). The key and value // that will be written to the database are concatenations of arrays of // slices. Status Put(ColumnFamilyHandle* column_family, const SliceParts& key, const SliceParts& value) override; Status Put(const SliceParts& key, const SliceParts& value) override { return Put(nullptr, key, value); } using WriteBatchBase::Delete; // If the database contains a mapping for "key", erase it. Else do nothing. Status Delete(ColumnFamilyHandle* column_family, const Slice& key) override; Status Delete(const Slice& key) override { return Delete(nullptr, key); } // variant that takes SliceParts Status Delete(ColumnFamilyHandle* column_family, const SliceParts& key) override; Status Delete(const SliceParts& key) override { return Delete(nullptr, key); } using WriteBatchBase::SingleDelete; // WriteBatch implementation of DB::SingleDelete(). See db.h. Status SingleDelete(ColumnFamilyHandle* column_family, const Slice& key) override; Status SingleDelete(const Slice& key) override { return SingleDelete(nullptr, key); } // variant that takes SliceParts Status SingleDelete(ColumnFamilyHandle* column_family, const SliceParts& key) override; Status SingleDelete(const SliceParts& key) override { return SingleDelete(nullptr, key); } using WriteBatchBase::DeleteRange; // WriteBatch implementation of DB::DeleteRange(). See db.h. Status DeleteRange(ColumnFamilyHandle* column_family, const Slice& begin_key, const Slice& end_key) override; Status DeleteRange(const Slice& begin_key, const Slice& end_key) override { return DeleteRange(nullptr, begin_key, end_key); } // variant that takes SliceParts Status DeleteRange(ColumnFamilyHandle* column_family, const SliceParts& begin_key, const SliceParts& end_key) override; Status DeleteRange(const SliceParts& begin_key, const SliceParts& end_key) override { return DeleteRange(nullptr, begin_key, end_key); } using WriteBatchBase::Merge; // Merge "value" with the existing value of "key" in the database. // "key->merge(existing, value)" Status Merge(ColumnFamilyHandle* column_family, const Slice& key, const Slice& value) override; Status Merge(const Slice& key, const Slice& value) override { return Merge(nullptr, key, value); } // variant that takes SliceParts Status Merge(ColumnFamilyHandle* column_family, const SliceParts& key, const SliceParts& value) override; Status Merge(const SliceParts& key, const SliceParts& value) override { return Merge(nullptr, key, value); } using WriteBatchBase::PutLogData; // Append a blob of arbitrary size to the records in this batch. The blob will // be stored in the transaction log but not in any other file. In particular, // it will not be persisted to the SST files. When iterating over this // WriteBatch, WriteBatch::Handler::LogData will be called with the contents // of the blob as it is encountered. Blobs, puts, deletes, and merges will be // encountered in the same order in which they were inserted. The blob will // NOT consume sequence number(s) and will NOT increase the count of the batch // // Example application: add timestamps to the transaction log for use in // replication. Status PutLogData(const Slice& blob) override; using WriteBatchBase::Clear; // Clear all updates buffered in this batch. void Clear() override; // Records the state of the batch for future calls to RollbackToSavePoint(). // May be called multiple times to set multiple save points. void SetSavePoint() override; // Remove all entries in this batch (Put, Merge, Delete, PutLogData) since the // most recent call to SetSavePoint() and removes the most recent save point. // If there is no previous call to SetSavePoint(), Status::NotFound() // will be returned. // Otherwise returns Status::OK(). Status RollbackToSavePoint() override; // Pop the most recent save point. // If there is no previous call to SetSavePoint(), Status::NotFound() // will be returned. // Otherwise returns Status::OK(). Status PopSavePoint() override; // Support for iterating over the contents of a batch. class Handler { public: virtual ~Handler(); // All handler functions in this class provide default implementations so // we won't break existing clients of Handler on a source code level when // adding a new member function. // default implementation will just call Put without column family for // backwards compatibility. If the column family is not default, // the function is noop virtual Status PutCF(uint32_t column_family_id, const Slice& key, const Slice& value) { if (column_family_id == 0) { // Put() historically doesn't return status. We didn't want to be // backwards incompatible so we didn't change the return status // (this is a public API). We do an ordinary get and return Status::OK() Put(key, value); return Status::OK(); } return Status::InvalidArgument( "non-default column family and PutCF not implemented"); } virtual void Put(const Slice& /*key*/, const Slice& /*value*/) {} virtual Status DeleteCF(uint32_t column_family_id, const Slice& key) { if (column_family_id == 0) { Delete(key); return Status::OK(); } return Status::InvalidArgument( "non-default column family and DeleteCF not implemented"); } virtual void Delete(const Slice& /*key*/) {} virtual Status SingleDeleteCF(uint32_t column_family_id, const Slice& key) { if (column_family_id == 0) { SingleDelete(key); return Status::OK(); } return Status::InvalidArgument( "non-default column family and SingleDeleteCF not implemented"); } virtual void SingleDelete(const Slice& /*key*/) {} virtual Status DeleteRangeCF(uint32_t /*column_family_id*/, const Slice& /*begin_key*/, const Slice& /*end_key*/) { return Status::InvalidArgument("DeleteRangeCF not implemented"); } virtual Status MergeCF(uint32_t column_family_id, const Slice& key, const Slice& value) { if (column_family_id == 0) { Merge(key, value); return Status::OK(); } return Status::InvalidArgument( "non-default column family and MergeCF not implemented"); } virtual void Merge(const Slice& /*key*/, const Slice& /*value*/) {} virtual Status PutBlobIndexCF(uint32_t /*column_family_id*/, const Slice& /*key*/, const Slice& /*value*/) { return Status::InvalidArgument("PutBlobIndexCF not implemented"); } // The default implementation of LogData does nothing. virtual void LogData(const Slice& blob); virtual Status MarkBeginPrepare(bool = false) { return Status::InvalidArgument("MarkBeginPrepare() handler not defined."); } virtual Status MarkEndPrepare(const Slice& /*xid*/) { return Status::InvalidArgument("MarkEndPrepare() handler not defined."); } virtual Status MarkNoop(bool /*empty_batch*/) { return Status::InvalidArgument("MarkNoop() handler not defined."); } virtual Status MarkRollback(const Slice& /*xid*/) { return Status::InvalidArgument( "MarkRollbackPrepare() handler not defined."); } virtual Status MarkCommit(const Slice& /*xid*/) { return Status::InvalidArgument("MarkCommit() handler not defined."); } // Continue is called by WriteBatch::Iterate. If it returns false, // iteration is halted. Otherwise, it continues iterating. The default // implementation always returns true. virtual bool Continue(); protected: friend class WriteBatch; virtual bool WriteAfterCommit() const { return true; } virtual bool WriteBeforePrepare() const { return false; } }; Status Iterate(Handler* handler) const; // Retrieve the serialized version of this batch. const std::string& Data() const { return rep_; } // Retrieve data size of the batch. size_t GetDataSize() const { return rep_.size(); } // Returns the number of updates in the batch int Count() const; // Returns true if PutCF will be called during Iterate bool HasPut() const; // Returns true if DeleteCF will be called during Iterate bool HasDelete() const; // Returns true if SingleDeleteCF will be called during Iterate bool HasSingleDelete() const; // Returns true if DeleteRangeCF will be called during Iterate bool HasDeleteRange() const; // Returns true if MergeCF will be called during Iterate bool HasMerge() const; // Returns true if MarkBeginPrepare will be called during Iterate bool HasBeginPrepare() const; // Returns true if MarkEndPrepare will be called during Iterate bool HasEndPrepare() const; // Returns trie if MarkCommit will be called during Iterate bool HasCommit() const; // Returns trie if MarkRollback will be called during Iterate bool HasRollback() const; using WriteBatchBase::GetWriteBatch; WriteBatch* GetWriteBatch() override { return this; } // Constructor with a serialized string object explicit WriteBatch(const std::string& rep); explicit WriteBatch(std::string&& rep); WriteBatch(const WriteBatch& src); WriteBatch(WriteBatch&& src) noexcept; WriteBatch& operator=(const WriteBatch& src); WriteBatch& operator=(WriteBatch&& src); // marks this point in the WriteBatch as the last record to // be inserted into the WAL, provided the WAL is enabled void MarkWalTerminationPoint(); const SavePoint& GetWalTerminationPoint() const { return wal_term_point_; } void SetMaxBytes(size_t max_bytes) override { max_bytes_ = max_bytes; } private: friend class WriteBatchInternal; friend class LocalSavePoint; // TODO(myabandeh): this is needed for a hack to collapse the write batch and // remove duplicate keys. Remove it when the hack is replaced with a proper // solution. friend class WriteBatchWithIndex; SavePoints* save_points_; // When sending a WriteBatch through WriteImpl we might want to // specify that only the first x records of the batch be written to // the WAL. SavePoint wal_term_point_; // For HasXYZ. Mutable to allow lazy computation of results mutable std::atomic<uint32_t> content_flags_; // Performs deferred computation of content_flags if necessary uint32_t ComputeContentFlags() const; // Maximum size of rep_. size_t max_bytes_; // Is the content of the batch the application's latest state that meant only // to be used for recovery? Refer to // TransactionOptions::use_only_the_last_commit_time_batch_for_recovery for // more details. bool is_latest_persistent_state_ = false; protected: std::string rep_; // See comment in write_batch.cc for the format of rep_ // Intentionally copyable }; } // namespace rocksdb ```
```objective-c /* Simple DirectMedia Layer This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #include "../../SDL_internal.h" #ifndef _SDL_windowsevents_h #define _SDL_windowsevents_h extern LPTSTR SDL_Appname; extern Uint32 SDL_Appstyle; extern HINSTANCE SDL_Instance; extern LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); extern void WIN_PumpEvents(_THIS); #endif /* _SDL_windowsevents_h */ /* vi: set ts=4 sw=4 expandtab: */ ```
WinRoll is an open source, free software utility for Windows 2000, Windows XP and Windows 7 which allows the user to "roll up" windows into their title bars, in addition to other window management related features. It is compiled in assembly code. History WinRoll 1.0 was first released on April 10, 2003. It is unclear if it still maintained by Wil Palma. The most recent version, 2.0, was released on April 7, 2004. Being an open source program, its source code was freely available from the website. The website is now down. Source code is available as a fork on Github. Features The purpose of WinRoll is to allow users to have many windows on the screen, while keeping them organized and manageable. The main feature of the program is enabling the user to "roll" windows up into their title bars. It also allows users to minimize programs to the tray, and to adjust the opacity of windows. See also Free software Open source software Assembly language Free software primarily written in assembly language Free system software Windows-only free software
```makefile ################################################################################ # # keyutils # ################################################################################ KEYUTILS_VERSION = 1.5.9 KEYUTILS_SOURCE = keyutils-$(KEYUTILS_VERSION).tar.bz2 KEYUTILS_SITE = path_to_url~dhowells/keyutils KEYUTILS_LICENSE = GPLv2+ LGPLv2.1+ KEYUTILS_LICENSE_FILES = LICENCE.GPL LICENCE.LGPL KEYUTILS_INSTALL_STAGING = YES KEYUTILS_MAKE_PARAMS = \ INSTALL=$(INSTALL) \ LIBDIR=/usr/lib \ USRLIBDIR=/usr/lib \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="$(TARGET_CPPFLAGS) -I." \ LNS="$(HOSTLN) -sf" ifeq ($(BR2_STATIC_LIBS),y) KEYUTILS_MAKE_PARAMS += NO_SOLIB=1 endif ifeq ($(BR2_SHARED_LIBS),y) KEYUTILS_MAKE_PARAMS += NO_ARLIB=1 endif define KEYUTILS_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D) endef define KEYUTILS_INSTALL_STAGING_CMDS $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D) DESTDIR=$(STAGING_DIR) install endef define KEYUTILS_INSTALL_TARGET_CMDS $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package)) ```
Lower West Side may refer to the following neighborhoods: Lower West Side, Chicago Lower West Side, Buffalo New York Lower West Side, Manhattan See also Lower East Side Upper West Side
```html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "path_to_url"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class no_slots_error</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../signals2/reference.html#header.boost.signals2.last_value_hpp" title="Header &lt;boost/signals2/last_value.hpp&gt;"> <link rel="prev" href="last_valu_1_3_37_6_5_1_1_2.html" title="Class last_value&lt;void&gt;"> <link rel="next" href="mutex.html" title="Class mutex"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="path_to_url">People</a></td> <td align="center"><a href="path_to_url">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="last_valu_1_3_37_6_5_1_1_2.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../signals2/reference.html#header.boost.signals2.last_value_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="mutex.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.signals2.no_slots_error"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Class no_slots_error</span></h2> <p>boost::signals2::no_slots_error &#8212; Indicates a combiner was unable to synthesize a return value.</p> </div> <h2 xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../signals2/reference.html#header.boost.signals2.last_value_hpp" title="Header &lt;boost/signals2/last_value.hpp&gt;">boost/signals2/last_value.hpp</a>&gt; </span> <span class="keyword">class</span> <a class="link" href="no_slots_error.html" title="Class no_slots_error">no_slots_error</a> <span class="special">:</span> <span class="keyword">public</span> std::exception <span class="special">{</span> <span class="keyword">public</span><span class="special">:</span> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="no_slots_error.html#id-1_3_37_6_5_1_1_3_4-bb"><span class="identifier">what</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="id-1.3.37.6.6.5.4"></a><h2>Description</h2>The <code class="computeroutput">no_slots_error</code> exception may be thrown by <a class="link" href="last_value.html" title="Class template last_value">signals2::last_value</a> when it is run but unable to obtain any results from its input iterators. <pre class="literallayout"><span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="id-1_3_37_6_5_1_1_3_4-bb"></a><span class="identifier">what</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> </div> </div> <table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="path_to_url" target="_top">path_to_url </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="last_valu_1_3_37_6_5_1_1_2.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../signals2/reference.html#header.boost.signals2.last_value_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="mutex.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> ```
Glass Castle (; also known as City of Glass) is a 2008 South Korean television series that aired on SBS from September 6, 2008, to March 1, 2009, on Saturdays and Sundays at 20:50 for 51 episodes. Yoon So-yi stars as an ambitious and tough reporter whose life and career take a turn after she falls for a charming and persistent suitor (played by Lee Jin-wook), and marries him. But her aspirations of becoming a great reporter are put on hold while she struggles with her new life as the daughter-in-law of a rich, influential but controlling chaebol family. On the sidelines is her mentor and friend, a head newscaster (played by Kim Seung-soo) for whom she also develops uncertain feelings. Plot Growing up in a poor family, Min-joo (Yoon So-yi) finally lands a job as a news correspondent with JBC Networks after two previous failed attempts. She works hard to gain recognition as a reporter but faces a career setback due to a stroke of bad luck. With strong support from Seok-jin (Kim Seung-soo), she is able to get her career back on track. Although she has feelings for Seok-jin, she is reluctant to date him because he is a single father with one daughter. Meanwhile, Joon-sung (Lee Jin-wook), the scion of a wealthy family, enters her life and proposes marriage to her after a brief courtship. She becomes the envy of her friends when she marries him because her life is like a modern version of the Cinderella fairy tale. Her life as the daughter-in-law of a wealthy family is wonderful at first but she becomes disillusioned with her marriage when her in-laws begin to look down on her and smother her personal life. Against the wishes of her in-laws, she returns to work as a news correspondent and soon learns that the adopted son of her brother-in-law is actually the son of her husband from a previous relationship. Shocked at this revelation, she realizes that she loved Joon-sung for his family wealth and not for who he was. After contemplating on what to do, she decides that getting a divorce is her only option. Joon-sung, however, agrees to part ways in an amicable divorce without telling her that the adopted son of his brother is actually the posthumous child of his second brother... Cast Main characters Yoon So-yi as Jung Min-joo, 26 years old Min-joo is a hard worker. She believes in justice, respect, and that if you work hard at your dreams they will come true. This is exactly how she became a news announcer at JBC. After almost failing the exam/interview twice she finally gets her hand at being a reporter. While her true dream is to become a news anchor, she can't believe her luck when she is given this chance while on assignment. She is praised for a job well done, but she can't help but notice that her role model, Seok-jin, doesn't seem to notice. She doesn't understand why he gives her such a hard time and is secretly infuriated with him because of his rudeness. In the meantime, she runs into Joon-sung. While he doesn't give her a good impression at first, she slowly warms up to him and is astonished when she finally finds out that he is the son of Yoo Sung Group. Throughout this story she will come face to face with two kinds of love, from Joon-sung and from Seok-jin. Lee Jin-wook as Kim Joon-sung, 32 years old Joon-sung is your typical cool guy, but a little smarter. After seeing how loveless his older brother's marriage is, Joon-sung is determined to fall in love with someone who he can remain passionate with for the rest of his life. Until that time, he continues to work for his father's corporation, Yoo Sung Group. While he works for a corporation during the day, at night he plays at a local jazz club. His real dream is to become a guitarist in a band... While driving at night he almost hits a young woman who is crossing the street on a red light. This woman is Min-joo. While he normally wouldn't think twice about such an odd encounter, he picks up her diary/calendar and realizes what a spunky woman she is. He is determined to get to know her personally and it is during this time that the two fall in love. Kim Seung-soo as Park Seok-jin, 37 years old Seok-jin is cold to those who have not yet earned their place, which is exactly how he acts toward the fresh, young Min-joo. He's skilled at what he does and knows it, but he attributes it to his passion for the industry and the hard work that got him there. He comes from a humble background and even has a daughter from a previously loving relationship. As he gets to know Min-joo he slowly realizes he has feelings for her. But he doesn't let this make him treat her any differently from others. He gives her a hard time, but only because he wants her to learn from her mistakes. When he discovers that his feelings are deeper than he thought, he tries to figure out whether or not to hide them because of his past, and whether or not she deserves better. Supporting characters Jung family Lee Hye-sook as Han Yang-sook (Min-joo's mother) Lee Han-wi as Son Dong-sik (Min-joo's step-father) Han Yeo-reum as Kang Hye-young (Min-joo's half-sister) Shin Dong-woo as Son Kang-min (Dong-sik and Yang-suk's son) Kim family Park Geun-hyung as Kim Doo-hyung (Joon-sung's father) Park Won-sook as Yoon In-kyung (Joon-sung's mother) Jang Hyun-sung as Kim Gyu-sung (Joon-sung older brother) Yang Jung-a as Oh Yoo-ran (Gyu-sung's wife) Yoo Seo-jin as Kim Joon-hee (Joon-sung's older sister) ?? as Kim Seung-ha (Gyu-sung and Yoo-ran's 2-year-old son) ?? as Kim Moo-sung (Joon-sung's deceased brother) Park family Jung Jae-soon as Yoon In-suk (Joon-sung's aunt) Lee Joo-yeon as Park Seul-ki (Seok-jin's 8-year-old daughter) Other people Jung Jin-moo as Jang Tae-soo (Hye-young's boyfriend) Kim Sun-hwa as Chun Ok-ja (Tae-soo's mother) Song Ji-eun as Song Ji-yeon (Seung-ha's biological mother) Yoon A-jung as Lee Joo-hee Jung Da-young as Seo Ye-kyung Seo Jin-wook as Min Ji-hwan Yoo Tae-woong as prosecutor Lee Hyung-suk Song Seo-yeon as Song Ji-yeon Kang Chan-yang as Kang Mi-ae Lee Sol-gu as hostage taker Awards 2008 SBS Drama Awards Best Supporting Actor in a Serial Drama: Lee Han-wi New Star Award: Yoon So-yi References External links Glass Castle official SBS website Seoul Broadcasting System television dramas 2008 South Korean television series debuts 2009 South Korean television series endings Korean-language television shows South Korean romance television series Television series about journalism Television series by HB Entertainment
```linker script /* * */ /* ROM function interface esp32h2.rom.heap.ld for esp32h2 * * * Generated from ./target/esp32h2/interface-esp32h2.yml md5sum c0ad4e113e5b29bb9d799f10f03edbc1 * * Compatible with ROM where ECO version equal or greater to 0. * * THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT. */ /*************************************** Group heap ***************************************/ /* Functions */ tlsf_create = 0x400003f4; tlsf_create_with_pool = 0x400003f8; tlsf_get_pool = 0x400003fc; tlsf_add_pool = 0x40000400; tlsf_remove_pool = 0x40000404; tlsf_malloc = 0x40000408; tlsf_memalign = 0x4000040c; tlsf_memalign_offs = 0x40000410; tlsf_realloc = 0x40000414; tlsf_free = 0x40000418; tlsf_block_size = 0x4000041c; tlsf_size = 0x40000420; tlsf_align_size = 0x40000424; tlsf_block_size_min = 0x40000428; tlsf_block_size_max = 0x4000042c; tlsf_pool_overhead = 0x40000430; tlsf_alloc_overhead = 0x40000434; tlsf_walk_pool = 0x40000438; tlsf_check = 0x4000043c; tlsf_poison_fill_pfunc_set = 0x40000444; tlsf_poison_check_pfunc_set = 0x40000448; multi_heap_get_block_address_impl = 0x4000044c; multi_heap_get_allocated_size_impl = 0x40000450; multi_heap_register_impl = 0x40000454; multi_heap_set_lock = 0x40000458; multi_heap_os_funcs_init = 0x4000045c; multi_heap_internal_lock = 0x40000460; multi_heap_internal_unlock = 0x40000464; multi_heap_get_first_block = 0x40000468; multi_heap_get_next_block = 0x4000046c; multi_heap_is_free = 0x40000470; multi_heap_malloc_impl = 0x40000474; multi_heap_free_impl = 0x40000478; multi_heap_realloc_impl = 0x4000047c; multi_heap_aligned_alloc_impl_offs = 0x40000480; multi_heap_aligned_alloc_impl = 0x40000484; multi_heap_check = 0x40000488; multi_heap_dump = 0x4000048c; multi_heap_free_size_impl = 0x40000490; multi_heap_minimum_free_size_impl = 0x40000494; multi_heap_get_info_impl = 0x40000498; /* Data (.data, .bss, .rodata) */ heap_tlsf_table_ptr = 0x4084ffd8; PROVIDE (multi_heap_malloc = multi_heap_malloc_impl); PROVIDE (multi_heap_free = multi_heap_free_impl); PROVIDE (multi_heap_realloc = multi_heap_realloc_impl); PROVIDE (multi_heap_get_allocated_size = multi_heap_get_allocated_size_impl); PROVIDE (multi_heap_register = multi_heap_register_impl); PROVIDE (multi_heap_get_info = multi_heap_get_info_impl); PROVIDE (multi_heap_free_size = multi_heap_free_size_impl); PROVIDE (multi_heap_minimum_free_size = multi_heap_minimum_free_size_impl); PROVIDE (multi_heap_get_block_address = multi_heap_get_block_address_impl); PROVIDE (multi_heap_aligned_alloc = multi_heap_aligned_alloc_impl); PROVIDE (multi_heap_aligned_free = multi_heap_aligned_free_impl); PROVIDE (multi_heap_check = multi_heap_check); PROVIDE (multi_heap_set_lock = multi_heap_set_lock); PROVIDE (multi_heap_os_funcs_init = multi_heap_mutex_init); PROVIDE (multi_heap_internal_lock = multi_heap_internal_lock); PROVIDE (multi_heap_internal_unlock = multi_heap_internal_unlock); ```
Giovanni Antonio Giay (sometimes spelled Giaj; 11 June 1690 – 10 September 1764) was an Italian composer. His compositional output includes 15 operas, 5 symphonies, and a significant amount of sacred music. Life and career Born in Turin, Giay's father, Stefano Giuseppe Giay, was a chemist. His father died when he was 5 years old. In 1710 he entered the Collegio degli Innocenti at the Turin Cathedral where he studied music with Francesco Fasoli. His first opera, Il trionfo d'Amore ossia La Fillide, premiered at the Teatro Carignano during Carnival of 1715. In 1732 he succeeded Andrea Stefano Fiorè as the maestro di cappella at the royal chapel in Turin at the behest of Charles Emmanuel III of Savoy. He remained in that post until his death 26 years later, after which his son, Francesco Saverio, took over the post from 1764 until 1798. As master of the Cappella Regia, Giay wrote many religious and secular musical and operatic works. His work include Don Chisciotte in Venezia, an intermezzo written in 1748 to 1752, with lyrics by Giuseppe Baretti. The lyrics feature Miguel de Cervantes' characters Don Quixote and Dulcinea, during the carnival of Venice. References External links 1690 births 1764 deaths Italian Baroque composers Italian Classical-period composers Italian male classical composers Italian opera composers Male opera composers 18th-century Italian composers 18th-century Italian male musicians
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ package com.haulmont.cuba.gui.executors; /** * Task handler for {@link BackgroundTask}. */ public interface BackgroundTaskHandler<V> { /** * Execute the {@link BackgroundTask}. * <br> This method must be called only once for a handler instance. */ @ExecutedOnUIThread void execute(); /** * Cancel task. * * @return true if canceled, false if the task was not started or is already stopped */ @ExecutedOnUIThread boolean cancel(); /** * Wait for the task completion and return its result. * * @return task's result returned from {@link BackgroundTask#run(TaskLifeCycle)} method */ @ExecutedOnUIThread V getResult(); /** * @return true if the task is completed */ boolean isDone(); /** * @return true if the task has been canceled */ boolean isCancelled(); /** * @return true if the task is running */ boolean isAlive(); } ```
```c++ // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS // IN THE SOFTWARE. #include "InputHandler.h" #include <assert.h> #include <errno.h> #include <stdio.h> #include <sys/select.h> #include <unistd.h> #include <algorithm> #include <vector> #include "../shared/DebugClient.h" #include "Util.h" #include "WakeupFd.h" InputHandler::InputHandler( HANDLE conin, int inputfd, WakeupFd &completionWakeup) : m_conin(conin), m_inputfd(inputfd), m_completionWakeup(completionWakeup), m_threadHasBeenJoined(false), m_shouldShutdown(0), m_threadCompleted(0) { pthread_create(&m_thread, NULL, InputHandler::threadProcS, this); } void InputHandler::shutdown() { startShutdown(); if (!m_threadHasBeenJoined) { int ret = pthread_join(m_thread, NULL); assert(ret == 0 && "pthread_join failed"); m_threadHasBeenJoined = true; } } void InputHandler::threadProc() { std::vector<char> buffer(4096); fd_set readfds; FD_ZERO(&readfds); while (true) { // Handle shutdown. m_wakeup.reset(); if (m_shouldShutdown) { trace("InputHandler: shutting down"); break; } // Block until data arrives. { const int max_fd = std::max(m_inputfd, m_wakeup.fd()); FD_SET(m_inputfd, &readfds); FD_SET(m_wakeup.fd(), &readfds); selectWrapper("InputHandler", max_fd + 1, &readfds); if (!FD_ISSET(m_inputfd, &readfds)) { continue; } } const int numRead = read(m_inputfd, &buffer[0], buffer.size()); if (numRead == -1 && errno == EINTR) { // Apparently, this read is interrupted on Cygwin 1.7 by a SIGWINCH // signal even though I set the SA_RESTART flag on the handler. continue; } // tty is closed, or the read failed for some unexpected reason. if (numRead <= 0) { trace("InputHandler: tty read failed: numRead=%d", numRead); break; } DWORD written = 0; BOOL ret = WriteFile(m_conin, &buffer[0], numRead, &written, NULL); if (!ret || written != static_cast<DWORD>(numRead)) { if (!ret && GetLastError() == ERROR_BROKEN_PIPE) { trace("InputHandler: pipe closed: written=%u", static_cast<unsigned int>(written)); } else { trace("InputHandler: write failed: " "ret=%d lastError=0x%x numRead=%d written=%u", ret, static_cast<unsigned int>(GetLastError()), numRead, static_cast<unsigned int>(written)); } break; } } m_threadCompleted = 1; m_completionWakeup.set(); } ```
```shell #!/bin/bash ############################################################################### # # Before running this AWS CLI example, set up your development environment, including your credentials. # # For more information, see the following documentation topic: # # path_to_url # ############################################################################### source ./awsdocs_general.sh # snippet-start:[aws-cli.bash-linux.dynamodb.CreateTable] ############################################################################### # function dynamodb_create_table # # This function creates an Amazon DynamoDB table. # # Parameters: # -n table_name -- The name of the table to create. # -a attribute_definitions -- JSON file path of a list of attributes and their types. # -k key_schema -- JSON file path of a list of attributes and their key types. # -p provisioned_throughput -- Provisioned throughput settings for the table. # # Returns: # 0 - If successful. # 1 - If it fails. ############################################################################### function dynamodb_create_table() { local table_name attribute_definitions key_schema provisioned_throughput response local option OPTARG # Required to use getopts command in a function. ####################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_create_table" echo "Creates an Amazon DynamoDB table." echo " -n table_name -- The name of the table to create." echo " -a attribute_definitions -- JSON file path of a list of attributes and their types." echo " -k key_schema -- JSON file path of a list of attributes and their key types." echo " -p provisioned_throughput -- Provisioned throughput settings for the table." echo "" } # Retrieve the calling parameters. while getopts "n:a:k:p:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; a) attribute_definitions="${OPTARG}" ;; k) key_schema="${OPTARG}" ;; p) provisioned_throughput="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi if [[ -z "$attribute_definitions" ]]; then errecho "ERROR: You must provide an attribute definitions json file path the -a parameter." usage return 1 fi if [[ -z "$key_schema" ]]; then errecho "ERROR: You must provide a key schema json file path the -k parameter." usage return 1 fi if [[ -z "$provisioned_throughput" ]]; then errecho "ERROR: You must provide a provisioned throughput json file path the -p parameter." usage return 1 fi iecho "Parameters:\n" iecho " table_name: $table_name" iecho " attribute_definitions: $attribute_definitions" iecho " key_schema: $key_schema" iecho " provisioned_throughput: $provisioned_throughput" iecho "" response=$(aws dynamodb create-table \ --table-name "$table_name" \ --attribute-definitions file://"$attribute_definitions" \ --key-schema file://"$key_schema" \ --provisioned-throughput "$provisioned_throughput") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports create-table operation failed.$response" return 1 fi return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.CreateTable] ############################################################################### # function dynamodb_wait_table_active # # This function waits for a DynamoDB table to become active. # # Parameters: # -n table_name -- The name of the table. # # Returns: # 0 - Table is active. # 1 - If it fails. ############################################################################### function dynamodb_wait_table_active() { local table_name local option OPTARG # Required to use getopts command in a function. ####################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_wait_table_active" echo "Waits for a DynamoDB table to become active." echo " -n table_name -- The name of the table." echo "" } # Retrieve the calling parameters. while getopts "n:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi aws dynamodb wait table-exists \ --table-name "$table_name" local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log "$error_code" errecho "ERROR: AWS reports wait table-exists operation failed." return 1 fi return 0 } # snippet-start:[aws-cli.bash-linux.dynamodb.DescribeTable] ############################################################################### # function dynamodb_describe_table # # This function returns the status of a DynamoDB table. # # Parameters: # -n table_name -- The name of the table. # # Response: # - TableStatus: # And: # 0 - Table is active. # 1 - If it fails. ############################################################################### function dynamodb_describe_table { local table_name local option OPTARG # Required to use getopts command in a function. ####################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_describe_table" echo "Describe the status of a DynamoDB table." echo " -n table_name -- The name of the table." echo "" } # Retrieve the calling parameters. while getopts "n:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi local table_status table_status=$( aws dynamodb describe-table \ --table-name "$table_name" \ --output text \ --query 'Table.TableStatus' ) local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log "$error_code" errecho "ERROR: AWS reports describe-table operation failed.$table_status" return 1 fi echo "$table_status" return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.DescribeTable] # snippet-start:[aws-cli.bash-linux.dynamodb.PutItem] ############################################################################## # function dynamodb_put_item # # This function puts an item into a DynamoDB table. # # Parameters: # -n table_name -- The name of the table. # -i item -- Path to json file containing the item values. # # Returns: # 0 - If successful. # 1 - If it fails. ############################################################################## function dynamodb_put_item() { local table_name item response local option OPTARG # Required to use getopts command in a function. ####################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_put_item" echo "Put an item into a DynamoDB table." echo " -n table_name -- The name of the table." echo " -i item -- Path to json file containing the item values." echo "" } while getopts "n:i:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; i) item="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi if [[ -z "$item" ]]; then errecho "ERROR: You must provide an item with the -i parameter." usage return 1 fi iecho "Parameters:\n" iecho " table_name: $table_name" iecho " item: $item" iecho "" iecho "" response=$(aws dynamodb put-item \ --table-name "$table_name" \ --item file://"$item") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports put-item operation failed.$response" return 1 fi return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.PutItem] # snippet-start:[aws-cli.bash-linux.dynamodb.UpdateItem] ############################################################################## # function dynamodb_update_item # # This function updates an item in a DynamoDB table. # # # Parameters: # -n table_name -- The name of the table. # -k keys -- Path to json file containing the keys that identify the item to update. # -e update expression -- An expression that defines one or more attributes to be updated. # -v values -- Path to json file containing the update values. # # Returns: # 0 - If successful. # 1 - If it fails. ############################################################################# function dynamodb_update_item() { local table_name keys update_expression values response local option OPTARG # Required to use getopts command in a function. ####################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_update_item" echo "Update an item in a DynamoDB table." echo " -n table_name -- The name of the table." echo " -k keys -- Path to json file containing the keys that identify the item to update." echo " -e update expression -- An expression that defines one or more attributes to be updated." echo " -v values -- Path to json file containing the update values." echo "" } while getopts "n:k:e:v:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; k) keys="${OPTARG}" ;; e) update_expression="${OPTARG}" ;; v) values="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi if [[ -z "$keys" ]]; then errecho "ERROR: You must provide a keys json file path the -k parameter." usage return 1 fi if [[ -z "$update_expression" ]]; then errecho "ERROR: You must provide an update expression with the -e parameter." usage return 1 fi if [[ -z "$values" ]]; then errecho "ERROR: You must provide a values json file path the -v parameter." usage return 1 fi iecho "Parameters:\n" iecho " table_name: $table_name" iecho " keys: $keys" iecho " update_expression: $update_expression" iecho " values: $values" response=$(aws dynamodb update-item \ --table-name "$table_name" \ --key file://"$keys" \ --update-expression "$update_expression" \ --expression-attribute-values file://"$values") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports update-item operation failed.$response" return 1 fi return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.UpdateItem] # snippet-start:[aws-cli.bash-linux.dynamodb.GetItem] ############################################################################# # function dynamodb_get_item # # This function gets an item from a DynamoDB table. # # Parameters: # -n table_name -- The name of the table. # -k keys -- Path to json file containing the keys that identify the item to get. # [-q query] -- Optional JMESPath query expression. # # Returns: # The item as text output. # And: # 0 - If successful. # 1 - If it fails. ############################################################################ function dynamodb_get_item() { local table_name keys query response local option OPTARG # Required to use getopts command in a function. # ###################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_get_item" echo "Get an item from a DynamoDB table." echo " -n table_name -- The name of the table." echo " -k keys -- Path to json file containing the keys that identify the item to get." echo " [-q query] -- Optional JMESPath query expression." echo "" } query="" while getopts "n:k:q:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; k) keys="${OPTARG}" ;; q) query="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi if [[ -z "$keys" ]]; then errecho "ERROR: You must provide a keys json file path the -k parameter." usage return 1 fi if [[ -n "$query" ]]; then response=$(aws dynamodb get-item \ --table-name "$table_name" \ --key file://"$keys" \ --output text \ --query "$query") else response=$( aws dynamodb get-item \ --table-name "$table_name" \ --key file://"$keys" \ --output text ) fi local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports get-item operation failed.$response" return 1 fi if [[ -n "$query" ]]; then echo "$response" | sed "/^\t/s/\t//1" # Remove initial tab that the JMSEPath query inserts on some strings. else echo "$response" fi return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.GetItem] # snippet-start:[aws-cli.bash-linux.dynamodb.DeleteItem] ############################################################################## # function dynamodb_delete_item # # This function deletes an item from a DynamoDB table. # # Parameters: # -n table_name -- The name of the table. # -k keys -- Path to json file containing the keys that identify the item to delete. # # Returns: # 0 - If successful. # 1 - If it fails. ########################################################################### function dynamodb_delete_item() { local table_name keys response local option OPTARG # Required to use getopts command in a function. # ###################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_delete_item" echo "Delete an item from a DynamoDB table." echo " -n table_name -- The name of the table." echo " -k keys -- Path to json file containing the keys that identify the item to delete." echo "" } while getopts "n:k:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; k) keys="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi if [[ -z "$keys" ]]; then errecho "ERROR: You must provide a keys json file path the -k parameter." usage return 1 fi iecho "Parameters:\n" iecho " table_name: $table_name" iecho " keys: $keys" iecho "" response=$(aws dynamodb delete-item \ --table-name "$table_name" \ --key file://"$keys") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports delete-item operation failed.$response" return 1 fi return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.DeleteItem] # snippet-start:[aws-cli.bash-linux.dynamodb.Query] ############################################################################# # function dynamodb_query # # This function queries a DynamoDB table. # # Parameters: # -n table_name -- The name of the table. # -k key_condition_expression -- The key condition expression. # -a attribute_names -- Path to JSON file containing the attribute names. # -v attribute_values -- Path to JSON file containing the attribute values. # [-p projection_expression] -- Optional projection expression. # # Returns: # The items as json output. # And: # 0 - If successful. # 1 - If it fails. ########################################################################### function dynamodb_query() { local table_name key_condition_expression attribute_names attribute_values projection_expression response local option OPTARG # Required to use getopts command in a function. # ###################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_query" echo "Query a DynamoDB table." echo " -n table_name -- The name of the table." echo " -k key_condition_expression -- The key condition expression." echo " -a attribute_names -- Path to JSON file containing the attribute names." echo " -v attribute_values -- Path to JSON file containing the attribute values." echo " [-p projection_expression] -- Optional projection expression." echo "" } while getopts "n:k:a:v:p:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; k) key_condition_expression="${OPTARG}" ;; a) attribute_names="${OPTARG}" ;; v) attribute_values="${OPTARG}" ;; p) projection_expression="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi if [[ -z "$key_condition_expression" ]]; then errecho "ERROR: You must provide a key condition expression with the -k parameter." usage return 1 fi if [[ -z "$attribute_names" ]]; then errecho "ERROR: You must provide a attribute names with the -a parameter." usage return 1 fi if [[ -z "$attribute_values" ]]; then errecho "ERROR: You must provide a attribute values with the -v parameter." usage return 1 fi if [[ -z "$projection_expression" ]]; then response=$(aws dynamodb query \ --table-name "$table_name" \ --key-condition-expression "$key_condition_expression" \ --expression-attribute-names file://"$attribute_names" \ --expression-attribute-values file://"$attribute_values") else response=$(aws dynamodb query \ --table-name "$table_name" \ --key-condition-expression "$key_condition_expression" \ --expression-attribute-names file://"$attribute_names" \ --expression-attribute-values file://"$attribute_values" \ --projection-expression "$projection_expression") fi local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports query operation failed.$response" return 1 fi echo "$response" return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.Query] # snippet-start:[aws-cli.bash-linux.dynamodb.Scan] ############################################################################# # function dynamodb_scan # # This function scans a DynamoDB table. # # Parameters: # -n table_name -- The name of the table. # -f filter_expression -- The filter expression. # -a expression_attribute_names -- Path to JSON file containing the expression attribute names. # -v expression_attribute_values -- Path to JSON file containing the expression attribute values. # [-p projection_expression] -- Optional projection expression. # # Returns: # The items as json output. # And: # 0 - If successful. # 1 - If it fails. ########################################################################### function dynamodb_scan() { local table_name filter_expression expression_attribute_names expression_attribute_values projection_expression response local option OPTARG # Required to use getopts command in a function. # ###################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_scan" echo "Scan a DynamoDB table." echo " -n table_name -- The name of the table." echo " -f filter_expression -- The filter expression." echo " -a expression_attribute_names -- Path to JSON file containing the expression attribute names." echo " -v expression_attribute_values -- Path to JSON file containing the expression attribute values." echo " [-p projection_expression] -- Optional projection expression." echo "" } while getopts "n:f:a:v:p:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; f) filter_expression="${OPTARG}" ;; a) expression_attribute_names="${OPTARG}" ;; v) expression_attribute_values="${OPTARG}" ;; p) projection_expression="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi if [[ -z "$filter_expression" ]]; then errecho "ERROR: You must provide a filter expression with the -f parameter." usage return 1 fi if [[ -z "$expression_attribute_names" ]]; then errecho "ERROR: You must provide expression attribute names with the -a parameter." usage return 1 fi if [[ -z "$expression_attribute_values" ]]; then errecho "ERROR: You must provide expression attribute values with the -v parameter." usage return 1 fi if [[ -z "$projection_expression" ]]; then response=$(aws dynamodb scan \ --table-name "$table_name" \ --filter-expression "$filter_expression" \ --expression-attribute-names file://"$expression_attribute_names" \ --expression-attribute-values file://"$expression_attribute_values") else response=$(aws dynamodb scan \ --table-name "$table_name" \ --filter-expression "$filter_expression" \ --expression-attribute-names file://"$expression_attribute_names" \ --expression-attribute-values file://"$expression_attribute_values" \ --projection-expression "$projection_expression") fi local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports scan operation failed.$response" return 1 fi echo "$response" return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.Scan] # snippet-start:[aws-cli.bash-linux.dynamodb.BatchWriteItem] ############################################################################## # function dynamodb_batch_write_item # # This function writes a batch of items into a DynamoDB table. # # Parameters: # -i item -- Path to json file containing the items to write. # # Returns: # 0 - If successful. # 1 - If it fails. ############################################################################ function dynamodb_batch_write_item() { local item response local option OPTARG # Required to use getopts command in a function. ####################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_batch_write_item" echo "Write a batch of items into a DynamoDB table." echo " -i item -- Path to json file containing the items to write." echo "" } while getopts "i:h" option; do case "${option}" in i) item="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$item" ]]; then errecho "ERROR: You must provide an item with the -i parameter." usage return 1 fi iecho "Parameters:\n" iecho " table_name: $table_name" iecho " item: $item" iecho "" response=$(aws dynamodb batch-write-item \ --request-items file://"$item") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports batch-write-item operation failed.$response" return 1 fi return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.BatchWriteItem] # snippet-start:[aws-cli.bash-linux.dynamodb.BatchGetItem] ############################################################################# # function dynamodb_batch_get_item # # This function gets a batch of items from a DynamoDB table. # # Parameters: # -i item -- Path to json file containing the keys of the items to get. # # Returns: # The items as json output. # And: # 0 - If successful. # 1 - If it fails. ########################################################################## function dynamodb_batch_get_item() { local item response local option OPTARG # Required to use getopts command in a function. ####################################### # Function usage explanation ####################################### function usage() { echo "function dynamodb_batch_get_item" echo "Get a batch of items from a DynamoDB table." echo " -i item -- Path to json file containing the keys of the items to get." echo "" } while getopts "i:h" option; do case "${option}" in i) item="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$item" ]]; then errecho "ERROR: You must provide an item with the -i parameter." usage return 1 fi response=$(aws dynamodb batch-get-item \ --request-items file://"$item") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports batch-get-item operation failed.$response" return 1 fi echo "$response" return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.BatchGetItem] # snippet-start:[aws-cli.bash-linux.dynamodb.ListTables] ############################################################################## # function dynamodb_list_tables # # This function lists all the tables in a DynamoDB. # # Returns: # 0 - If successful. # 1 - If it fails. ########################################################################### function dynamodb_list_tables() { response=$(aws dynamodb list-tables \ --output text \ --query "TableNames") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports batch-write-item operation failed.$response" return 1 fi echo "$response" | tr -s "[:space:]" "\n" return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.ListTables] # snippet-start:[aws-cli.bash-linux.dynamodb.DeleteTable] ############################################################################### # function dynamodb_delete_table # # This function deletes a DynamoDB table. # # Parameters: # -n table_name -- The name of the table to delete. # # Returns: # 0 - If successful. # 1 - If it fails. ############################################################################### function dynamodb_delete_table() { local table_name response local option OPTARG # Required to use getopts command in a function. # bashsupport disable=BP5008 function usage() { echo "function dynamodb_delete_table" echo "Deletes an Amazon DynamoDB table." echo " -n table_name -- The name of the table to delete." echo "" } # Retrieve the calling parameters. while getopts "n:h" option; do case "${option}" in n) table_name="${OPTARG}" ;; h) usage return 0 ;; \?) echo "Invalid parameter" usage return 1 ;; esac done export OPTIND=1 if [[ -z "$table_name" ]]; then errecho "ERROR: You must provide a table name with the -n parameter." usage return 1 fi iecho "Parameters:\n" iecho " table_name: $table_name" iecho "" response=$(aws dynamodb delete-table \ --table-name "$table_name") local error_code=${?} if [[ $error_code -ne 0 ]]; then aws_cli_error_log $error_code errecho "ERROR: AWS reports delete-table operation failed.$response" return 1 fi return 0 } # snippet-end:[aws-cli.bash-linux.dynamodb.DeleteTable] ```
Charles Louis Kuhn II (December 14, 1901 – July 21, 1985) was an American art historian and curator. Kuhn was the Director of the Busch-Reisinger Museum at Harvard University from 1930 to 1968. Career Kuhn graduated from the University of Michigan with a Bachelor of Arts in 1923, and then continued on to Harvard University to earn a Master of Arts and a Doctor of Philosophy in 1924 and 1929, respectively. His doctoral dissertation was on Romanesque murals in Catalonia. A year later, Kuhn joined the faculty of his alma mater. In addition to teaching, he was named Director of the Busch-Reisinger Museum there, which was dedicated to the study of art from Germanic countries, succeeding Kuno Francke. Kuhn also served as the chair of the art history department from 1949 to 1953. He retired from Harvard in 1968 and was given the title of Emeritus. During his tenure, Kuhn helped the museum acquire important works such as Self-Portrait in Tuxedo by Max Beckmann. Kuhn's academic career was interrupted by World War II as, in 1942, he joined the United States Naval Reserve as a Navy Intelligence Officer. In addition to rising to the rank of Lieutenant Commander, he was also assigned an Officer for Monuments, Fine Arts, and Archives program (MFAA) by the Roberts Commission. In 1945, Kuhn was named Deputy Chief of the MFAA by its head, Geoffrey Webb, and was stationed in Frankfurt and Versailles. They were responsible for recovering Nazi plunder. In 1945, Kuhn returned to Harvard. In 1955, Kuhn was named a Knight of the Order of the Polar Star by the Government of Sweden, and four years later, was given the Order of Merit of the Federal Republic of Germany. Kuhn died in Cambridge in 1985. See also List of Harvard University people List of Monuments, Fine Arts, and Archives personnel List of people from Cincinnati List of University of Michigan arts alumni References External links Monuments Men Foundation profile Dictionary of Art Historians profile 1901 births 1985 deaths Educators from Cincinnati University of Michigan alumni Harvard Graduate School of Arts and Sciences alumni Harvard University faculty American art curators American art historians United States Navy reservists Monuments men Recipients of the Order of Merit of the Federal Republic of Germany
Glyn Townsend Davies (born 1957) is a senior advisor at ASG, a strategy and commercial diplomacy firm. A career member of the U.S. Senior Foreign Service, he served as U.S. Ambassador to the United Nations International Organizations in Vienna from 2009 to 2011, as Special Representative for North Korea Policy from 2011 to 2014, and as Ambassador to Thailand from 2015 to 2018. Career Davies began his diplomatic career with postings to the U.S. Consulate General in Melbourne, Australia from 1980 to 1982, and the U.S. Embassy Kinshasa, Zaire (now the Congo) from 1982 to 1984. He was Special Assistant to Secretary of State George Shultz from 1986 to 1987. From 1987 to 1992, Davies served in the U.S. State Department’s Office of European Security and Political Affairs working primarily on NATO nuclear and disarmament issues, followed by an assignment as Political-Military Affairs Officer, and then as Deputy Political Counselor at the U.S. Embassy in Paris. Some of his senior-level diplomatic assignments include serving as the Director of the State Department Operations Center from 1992 to 1994, and Deputy Spokesman and Deputy Assistant Secretary of State for Public Affairs from 1995 to 1997. From there he went on to be Executive Secretary of the White House National Security Council Staff from 1997 to 1999. He served as Deputy Chief of Mission (with the rank of minister) at the U.S. Embassy in London, United Kingdom from 1999 to 2003 before receiving his first ambassador-level ranking as Political Director of the U.S. Presidency of the G-8 from 2003 to 2004. He also served as Deputy Assistant Secretary for European Affairs from 2004 to 2005; Acting Assistant Secretary in the Bureau of Democracy, Human Rights and Labor in 2005; Principal Deputy Assistant Secretary of State for East Asian and Pacific Affairs from 2006 to 2009; Permanent Representative (with the rank of ambassador) to the International Atomic Energy Agency and the United Nations Office in Vienna from 2009 to 2012. Davies served as a Senior Adviser in the Bureau of East Asian and Pacific Affairs at the Department of State, a position he held since 2014. Prior to that, Davies served as the Special Representative of the U.S. Secretary of State for North Korea Policy from January 2012 to November 2014. In this capacity, he was responsible for coordinating U.S. involvement in the Six-Party Talks process, as well as all other aspects of U.S. security, political, economic, human rights, and humanitarian assistance policy regarding North Korea. President Obama appointed Davies as United States Ambassador to Thailand on April 14, 2015. He was confirmed by the senate on August 5, 2015. He presented his credentials on September 22, 2015, and served until September 29, 2018. Personal life and education Davies is the son of the late Richard T. Davies, a career Foreign Service officer. The younger Davies earned a Bachelor of Science in Foreign Service from Georgetown University in 1979. He later earned a Master of Science, with distinction, in National Security Strategy from the National War College at Ft. McNair, Washington, D.C. He and his wife Jacqueline M. Davies, a lawyer, have two daughters and two granddaughters. Footnoted references External links |- |- 1957 births Living people Ambassadors of the United States to Thailand Walsh School of Foreign Service alumni National War College alumni United States Department of State officials United States Foreign Service personnel Representatives of the United States to the United Nations International Organizations in Vienna 21st-century American diplomats
```yaml apiVersion: batch/v1 kind: Job metadata: name: job-pod-failure-policy-example spec: completions: 12 parallelism: 3 template: spec: restartPolicy: Never containers: - name: main image: docker.io/library/bash:5 command: ["bash"] # example command simulating a bug which triggers the FailJob action args: - -c - echo "Hello world!" && sleep 5 && exit 42 backoffLimit: 6 podFailurePolicy: rules: - action: FailJob onExitCodes: containerName: main # optional operator: In # one of: In, NotIn values: [42] - action: Ignore # one of: Ignore, FailJob, Count onPodConditions: - type: DisruptionTarget # indicates Pod disruption ```
Independent Athletes competed at the 2022 Asian Games Games in Hangzhou, China from September 23 to October 8, 2023. The delegation, competing as neutrals under the Olympic Council of Asia flag consist of the Sri Lanka national rugby sevens team whose federation was suspended by the World Rugby. Rugby sevens Sri Lanka entered a men's rugby sevens team. World Rugby allowed the team to compete, even though the Sri Lankan Rugby Federation was suspended. The team was allowed to compete under the Sri Lankan Olympic Committee and Olympic Council of Asia flags. The 12 member team was officially named on July 28, 2023. Roster Tharinda Ratwatte Adeesha Weeratunga Chathura Senevirathne Anjala Hettiarachchi Aakash Madushanka Dinupa Senevirathne Gemunu Chethiya Dharshana Dabare Srinath Sooriyabandara Ramesh Fernando Heshan Jensen Adam Gauder References Nations at the 2022 Asian Games 2023 in Sri Lankan sport
The third season of the police procedural drama NCIS was originally broadcast between September 20, 2005, and May 16, 2006, on CBS. The third season opens in the aftermath of "Twilight", with the entire team in shock and Gibbs on a vendetta to seek revenge for Kate's murder. Matters are complicated by the intervention of Gibbs' former lover and new NCIS director Jenny Shepard, and Mossad officer Ziva David. This season begins to drop little hints about Gibbs' past, and is the first to reference his first wife, Shannon, and his daughter, Kelly. The season finale introduces his former boss, Mike Franks (Muse Watson), who assists Gibbs in recovering from a near-fatal bomb blast. The season ends with Gibbs retiring, leaving DiNozzo in charge of the Major Case Response Team. Cast Main Mark Harmon as Leroy Jethro Gibbs, NCIS Supervisory Special Agent (SSA) of the Major Case Response Team (MCRT) assigned to Washington's Navy Yard Michael Weatherly as Anthony DiNozzo, NCIS Senior Special Agent, second in command of MCRT Cote de Pablo as Ziva David, Mossad Liaison Officer to NCIS (episodes 4–24) Pauley Perrette as Abby Sciuto, Forensic Specialist for NCIS Sean Murray as Timothy McGee, NCIS Probationary Special Agent Lauren Holly as Jenny Shepard, new NCIS Director (episodes 9–24) David McCallum as Dr. Donald "Ducky" Mallard, Chief Medical Examiner for NCIS Recurring Cote de Pablo as Ziva David, Mossad Liaison Officer to NCIS (episodes 1–2) Lauren Holly as Jenny Shephard, new NCIS Director (episodes 1–2, 4, 6–8) Alan Dale as Thomas Morrow, departing NCIS Director Joe Spano as Tobias Fornell, FBI Senior Special Agent Pancho Demmings as Gerald Jackson, departing Assistant Medical Examiner for NCIS and Ducky's first assistant Jessica Steen as Paula Cassidy, NCIS Senior Special Agent Rudolf Martin as Ari Haswari, rogue Mossad Agent who killed Caitlin Todd Brian Dietzen as Jimmy Palmer, Assistant Medical Examiner for NCIS Nina Foch as Victoria Mallard, Ducky's mother Tamara Taylor as Cassie Yates, NCIS Special Agent Kent Shocknek as Guy Ross, ZNN news anchor Mary Mouser as Kelly Gibbs, Gibbs' deceased daughter Darby Stanchfield as Shannon Gibbs, Gibbs' deceased wife Michael Bellisario as Charles Sterling, Abby's lab assistant Stephanie Mello as Cynthia Summer, NCIS Secretary to Director Shepard Muse Watson as Mike Franks, retired Senior Special Agent for NCIS and Gibbs' former boss Don Franklin as Ron Sacks, FBI Special Agent Guest appearances Sasha Alexander as Caitlin Todd, deceased NCIS Special Agent who was killed by Ari Haswari Episodes DVD special features References General references 2005 American television seasons 2006 American television seasons NCIS 03
```html (See accompanying file LICENSE_1_0.txt or copy at path_to_url --> <!-- or a copy at path_to_url Some files are held under additional license. Please see "path_to_url" for more information. --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "path_to_url"> <html xmlns="path_to_url" lang="en" xml:lang="en"> <head> <TITLE>Generic Image Library: Member List</TITLE> <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/> <LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/> </head> <body> <table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr> <td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'> <div class="qindex"><a class="qindex" href="index.html">Modules</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="../index.html">GIL Home Page</a> </div> <!-- End Header --> <!-- Generated by Doxygen 1.5.6 --> <div class="contents"> <h1>HomogeneousColorBaseConcept Member List</h1>This is the complete list of members for <a class="el" href="g_i_l_0296.html">HomogeneousColorBaseConcept</a>, including all inherited members.<p><table> <tr bgcolor="#f0f0f0"><td><b>cb</b> (defined in <a class="el" href="g_i_l_0296.html">HomogeneousColorBaseConcept</a>)</td><td><a class="el" href="g_i_l_0296.html">HomogeneousColorBaseConcept</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>constraints</b>() (defined in <a class="el" href="g_i_l_0296.html">HomogeneousColorBaseConcept</a>)</td><td><a class="el" href="g_i_l_0296.html">HomogeneousColorBaseConcept</a></td><td><code> [inline]</code></td></tr> </table></div> <hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:17 2009 for Generic Image Library by&nbsp; <a href="path_to_url"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html> ```
```php <?php /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the */ namespace Google\Service\Dfareporting; class CreativeFieldsListResponse extends \Google\Collection { protected $collection_key = 'creativeFields'; protected $creativeFieldsType = CreativeField::class; protected $creativeFieldsDataType = 'array'; /** * @var string */ public $kind; /** * @var string */ public $nextPageToken; /** * @param CreativeField[] */ public function setCreativeFields($creativeFields) { $this->creativeFields = $creativeFields; } /** * @return CreativeField[] */ public function getCreativeFields() { return $this->creativeFields; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CreativeFieldsListResponse::class, 'Google_Service_Dfareporting_CreativeFieldsListResponse'); ```
```go // Unless explicitly stated otherwise all files in this repository are licensed // This product includes software developed at Datadog (path_to_url package network import ( "syscall" "github.com/DataDog/datadog-agent/pkg/network/dns" ) // DNSKey generates a key suitable for looking up DNS stats based on a ConnectionStats object func DNSKey(c *ConnectionStats) (dns.Key, bool) { if c == nil || c.DPort != 53 { return dns.Key{}, false } serverIP, _ := GetNATRemoteAddress(*c) clientIP, clientPort := GetNATLocalAddress(*c) key := dns.Key{ ServerIP: serverIP, ClientIP: clientIP, ClientPort: clientPort, } switch c.Type { case TCP: key.Protocol = syscall.IPPROTO_TCP case UDP: key.Protocol = syscall.IPPROTO_UDP } return key, true } ```
```smalltalk // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.DotNet.ApiCompatibility.Rules { /// <summary> /// Interface for Rules to use in order to be discovered and instantiated by the <see cref="IRuleFactory"/> /// </summary> public interface IRule { } } ```
```xml import { createRootRoute } from '@tanstack/react-router' import { Outlet, ScrollRestoration } from '@tanstack/react-router' import { Body, Head, Html, Meta, Scripts } from '@tanstack/start' import * as React from 'react' export const Route = createRootRoute({ meta: () => [ { charSet: 'utf-8', }, { name: 'viewport', content: 'width=device-width, initial-scale=1', }, { title: 'TanStack Form + Start', }, ], component: RootComponent, }) function RootComponent() { return ( <RootDocument> <Outlet /> </RootDocument> ) } function RootDocument({ children }: { children: React.ReactNode }) { return ( <Html> <Head> <Meta /> </Head> <Body> {children} <ScrollRestoration /> <Scripts /> </Body> </Html> ) } ```
```c++ // r128util.cpp // // Original version by Chris Laurel <claurel@shatters.net> // // 128-bit fixed point (64.64) numbers for high-precision celestial // coordinates. When you need millimeter accurate navigation across a scale // of thousands of light years, double precision floating point numbers // are inadequate. // // This program is free software; you can redistribute it and/or // as published by the Free Software Foundation; either version 2 #include <array> #include <cassert> #include <cmath> #include <cstddef> #include <cstdint> #define R128_IMPLEMENTATION #include "r128util.h" using namespace std::string_view_literals; namespace { constexpr std::string_view alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"sv; static_assert(alphabet.size() == 64, "Base64 decoder alphabet must be of length 64"); constexpr std::uint8_t AsciiRange = 128; using DecoderArray = std::array<std::int8_t, AsciiRange>; DecoderArray createBase64Decoder() { DecoderArray decoder; decoder.fill(-1); for (std::size_t i = 0; i < alphabet.size(); ++i) { std::uint8_t idx = static_cast<std::uint8_t>(alphabet[i]); assert(idx < AsciiRange); decoder[idx] = static_cast<std::int8_t>(i); } return decoder; } } // end unnamed namespace namespace celestia::util { std::string EncodeAsBase64(const R128 &b) { // Old BigFix class used 8 16-bit words. The bulk of this function // is copied from that class, so first we'll convert from two // 64-bit words to 8 16-bit words so that the old code can work // as-is. std::array<std::uint16_t, 8> n = { static_cast<std::uint16_t>(b.lo), static_cast<std::uint16_t>(b.lo >> 16), static_cast<std::uint16_t>(b.lo >> 32), static_cast<std::uint16_t>(b.lo >> 48), static_cast<std::uint16_t>(b.hi), static_cast<std::uint16_t>(b.hi >> 16), static_cast<std::uint16_t>(b.hi >> 32), static_cast<std::uint16_t>(b.hi >> 48), }; // Conversion using code from the original R128 class. std::string encoded; int bits, c, char_count, i; char_count = 0; bits = 0; // Find first significant (non null) byte i = 16; do { i--; c = n[i/2]; if ((i & 1) != 0) c >>= 8; c &= 0xff; } while ((c == 0) && (i != 0)); if (i == 0) return encoded; // Then we encode starting by the LSB (i+1 bytes to encode) for (auto j = 0; j <= i; j++) { c = n[j/2]; if ( (j & 1) != 0 ) c >>= 8; c &= 0xff; bits += c; char_count++; if (char_count == 3) { encoded += alphabet[bits >> 18]; encoded += alphabet[(bits >> 12) & 0x3f]; encoded += alphabet[(bits >> 6) & 0x3f]; encoded += alphabet[bits & 0x3f]; bits = 0; char_count = 0; } else { bits <<= 8; } } if (char_count != 0) { bits <<= 16 - (8 * char_count); encoded += alphabet[bits >> 18]; encoded += alphabet[(bits >> 12) & 0x3f]; if (char_count != 1) encoded += alphabet[(bits >> 6) & 0x3f]; } return encoded; } R128 DecodeFromBase64(std::string_view val) { static DecoderArray decoder = createBase64Decoder(); std::array<std::uint16_t, 8> n = {0}; // Code from original BigFix class to convert base64 string into // array of 8 16-bit values. int char_count = 0; int bits = 0; int i = 0; for (unsigned char c : val) { if (c == '=') break; if (c >= AsciiRange) continue; std::int8_t decoded = decoder[c]; if (decoded < 0) continue; bits += decoded; char_count++; if (char_count == 4) { n[i/2] >>= 8; n[i/2] += (bits >> 8) & 0xff00; i++; n[i/2] >>= 8; n[i/2] += bits & 0xff00; i++; n[i/2] >>= 8; n[i/2] += (bits << 8) & 0xff00; i++; bits = 0; char_count = 0; } else { bits <<= 6; } } switch (char_count) { case 2: n[i/2] >>= 8; n[i/2] += (bits >> 2) & 0xff00; i++; break; case 3: n[i/2] >>= 8; n[i/2] += (bits >> 8) & 0xff00; i++; n[i/2] >>= 8; n[i/2] += bits & 0xff00; i++; break; } if ((i & 1) != 0) n[i/2] >>= 8; // Now, convert the 8 16-bit values to a 2 64-bit values std::uint64_t lo = (static_cast<std::uint64_t>(n[0]) | (static_cast<std::uint64_t>(n[1]) << 16) | (static_cast<std::uint64_t>(n[2]) << 32) | (static_cast<std::uint64_t>(n[3]) << 48)); std::uint64_t hi = (static_cast<std::uint64_t>(n[4]) | (static_cast<std::uint64_t>(n[5]) << 16) | (static_cast<std::uint64_t>(n[6]) << 32) | (static_cast<std::uint64_t>(n[7]) << 48)); return {lo, hi}; } bool isOutOfBounds(const R128 &b) { constexpr std::uint64_t hi_threshold = UINT64_C(1) << 62; constexpr std::uint64_t lo_threshold = static_cast<std::uint64_t>(-static_cast<std::int64_t>(hi_threshold)); return (b.hi > hi_threshold && b.hi < lo_threshold); } } // end namespace celestia::util ```
```javascript module.exports = function () { return { plugins: [] } } ```
A porter, also called a bearer, is a person who carries objects or cargo for others. The range of services conducted by porters is extensive, from shuttling luggage aboard a train (a railroad porter) to bearing heavy burdens at altitude in inclement weather on multi-month mountaineering expeditions. They can carry items on their backs (backpack) or on their heads. The word "porter" derives from the Latin portare (to carry). The use of humans to transport cargo dates to the ancient world, prior to domesticating animals and development of the wheel. Historically it remained prevalent in areas where slavery was permitted, and exists today where modern forms of mechanical conveyance are impractical or impossible, such as in mountainous terrain, or thick jungle or forest cover. Over time slavery diminished and technology advanced, but the role of porter for specialized transporting services remains strong in the 21st century. Examples include bellhops at hotels, redcaps at railway stations, skycaps at airports, and bearers on adventure trips engaged by foreign travelers. Expeditions Porters, frequently called Sherpas in the Himalayas (after the ethnic group most Himalayan porters come from), are also an essential part of mountaineering: they are typically highly skilled professionals who specialize in the logistics of mountain climbing, not merely people paid to carry loads (although carrying is integral to the profession). Frequently, porters/Sherpas work for companies who hire them out to climbing groups, to serve both as porters and as mountain guides; the term "guide" is often used interchangeably with "Sherpa" or "porter", but there are certain differences. Porters are expected to prepare the route before and/or while the main expedition climbs, climbing up beforehand with tents, food, water, and equipment (enough for themselves and for the main expedition), which they place in carefully located deposits on the mountain. This preparation can take months of work before the main expedition starts. Doing this involves numerous trips up and down the mountain, until the last and smallest supply deposit is planted shortly below the peak. When the route is prepared, either entirely or in stages ahead of the expedition, the main body follows. The last stage is often done without the porters, they remaining at the last camp, a quarter mile or below the summit, meaning only the main expedition is given the credit for mounting the summit. In many cases, since the porters are going ahead, they are forced to freeclimb, driving spikes and laying safety lines for the main expedition to use as they follow. Porters (such as Sherpas for example), are frequently local ethnic types, well adapted to living in the rarified atmosphere and accustomed to life in the mountains. Although they receive little glory, porters or Sherpas are often considered among the most skilled of mountaineers, and are generally treated with respect, since the success of the entire expedition is only possible through their work. They are also often called upon to stage rescue expeditions when a part of the party is endangered or there is an injury; when a rescue attempt is successful, several porters are usually called upon to transport the injured climber(s) back down the mountain so the expedition can continue. A well known incident where porters attempted to rescue numerous stranded climbers, and often died as a result, is the 2008 K2 disaster. Sixteen Sherpas were killed in the 2014 Mount Everest ice avalanche, inciting the entire Sherpa guide community to refuse to undertake any more ascents for the remainder of the year, making any further expeditions impossible. History Human adaptability and flexibility led to the early use of humans for transporting gear. Porters were commonly used as beasts of burden in the ancient world, when labor was generally cheap and slavery widespread. The ancient Sumerians, for example, enslaved women to shift wool and flax. In the early Americas, where there were few native beasts of burden, all goods were carried by porters called Tlamemes in the Nahuatl language of Mesoamerica. In colonial times, some areas of the Andes employed porters called silleros to carry persons, particularly Europeans, as well as their luggage across the difficult mountain passes. Throughout the globe porters served, and in some areas continue to, as such littermen, particularly in crowded urban areas. Many great works of engineering were created solely by muscle power in the days before machinery or even wheelbarrows and wagons; massive workforces of workers and bearers would complete impressive earthworks by manually lugging the earth, stones, or bricks in baskets on their backs. Porters were very important to the local economies of many large cities in Brazil during the 1800s, where they were known as ganhadores. In 1857, ganhadores in Salvador, Bahia, went on strike in the first general strike in the country's history. Contribution to mountain climbing expeditions The contributions of porters can often go overlooked. Amir Mehdi was a Pakistani mountaineer and porter known for being part of the team which managed the first successful ascent of Nanga Parbat in 1953, and of K2 in 1954 with an Italian expedition. He, along with the Italian mountaineer Walter Bonatti, are also known for having survived a night at the highest open bivouac - - on K2 in 1954. Fazal Ali, who was born in the Shimshal Valley in Pakistan North, is – according to the Guinness Book of World Records – the only man ever to have scaled K2 (8611 m) three times, in 2014, 2017 and 2018, all without oxygen, but his achievements have gone largely unrecognised. Today Porters are still paid to shift burdens in many third-world countries where motorized transport is impractical or unavailable, often alongside pack animals. The Sherpa people of Nepal are so renowned as mountaineering porters that their ethnonym is synonymous with that profession. Their skill, knowledge of the mountains and local culture, and ability to perform at altitude make them indispensable for the highest Himalayan expeditions. Porters at Indian railway stations are called coolies, a term for unskilled Asian labourer derived from the Chinese word for porter. Mountain porters are also still in use in a handful of more developed countries, including Slovakia (horský nosič) and Japan (bokka, 歩荷). These men (and more rarely women) regularly resupply mountain huts and tourist chalets at high-altitude mountain ranges. In North America Certain trade-specific terms are used for forms of porters in North America, including bellhop (hotel porter), redcap (railway station porter), and skycap (airport porter). The practice of railroad station porters wearing red-colored caps to distinguish them from blue-capped train personnel with other duties was begun on Labor Day of 1890 by an African-American porter in order to stand out from the crowds at Grand Central Terminal in New York City. The tactic immediately caught on, over time adapted by other forms of porters for their specialties. Photos See also Head-carrying Kayayei (Ghanaian term for a female porter) Human-powered transport Land transport Portage Tumpline References Herinneringen aan Japan, 1850–1870: Foto's en Fotoalbums in Nederlands Bezit ('s-Gravenhage : Staatsuitgeverij, 1987), pp. 106–107, repr. New York Public Library, s.v. "Beato, Felice", cited 21 June 2006. Personal care and service occupations Transport occupations Walking Mountaineering
```smalltalk // <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Ombi.Store.Context.MySql; namespace Ombi.Store.Migrations.OmbiMySql { [DbContext(typeof(OmbiMySqlContext))] [Migration("20210305151743_TvRequestProviderId")] partial class TvRequestProviderId { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("Relational:MaxIdentifierLength", 64) .HasAnnotation("ProductVersion", "5.0.1"); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b => { b.Property<string>("Id") .HasColumnType("varchar(255)"); b.Property<string>("ConcurrencyStamp") .IsConcurrencyToken() .HasColumnType("longtext"); b.Property<string>("Name") .HasMaxLength(256) .HasColumnType("varchar(256)"); b.Property<string>("NormalizedName") .HasMaxLength(256) .HasColumnType("varchar(256)"); b.HasKey("Id"); b.HasIndex("NormalizedName") .IsUnique() .HasDatabaseName("RoleNameIndex"); b.ToTable("AspNetRoles"); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<string>("ClaimType") .HasColumnType("longtext"); b.Property<string>("ClaimValue") .HasColumnType("longtext"); b.Property<string>("RoleId") .IsRequired() .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("RoleId"); b.ToTable("AspNetRoleClaims"); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<string>("ClaimType") .HasColumnType("longtext"); b.Property<string>("ClaimValue") .HasColumnType("longtext"); b.Property<string>("UserId") .IsRequired() .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("AspNetUserClaims"); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b => { b.Property<string>("LoginProvider") .HasColumnType("varchar(255)"); b.Property<string>("ProviderKey") .HasColumnType("varchar(255)"); b.Property<string>("ProviderDisplayName") .HasColumnType("longtext"); b.Property<string>("UserId") .IsRequired() .HasColumnType("varchar(255)"); b.HasKey("LoginProvider", "ProviderKey"); b.HasIndex("UserId"); b.ToTable("AspNetUserLogins"); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<string>", b => { b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.Property<string>("RoleId") .HasColumnType("varchar(255)"); b.HasKey("UserId", "RoleId"); b.HasIndex("RoleId"); b.ToTable("AspNetUserRoles"); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b => { b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.Property<string>("LoginProvider") .HasColumnType("varchar(255)"); b.Property<string>("Name") .HasColumnType("varchar(255)"); b.Property<string>("Value") .HasColumnType("longtext"); b.HasKey("UserId", "LoginProvider", "Name"); b.ToTable("AspNetUserTokens"); }); modelBuilder.Entity("Ombi.Store.Entities.Audit", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<int>("AuditArea") .HasColumnType("int"); b.Property<int>("AuditType") .HasColumnType("int"); b.Property<DateTime>("DateTime") .HasColumnType("datetime(6)"); b.Property<string>("Description") .HasColumnType("longtext"); b.Property<string>("User") .HasColumnType("longtext"); b.HasKey("Id"); b.ToTable("Audit"); }); modelBuilder.Entity("Ombi.Store.Entities.MobileDevices", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime>("AddedAt") .HasColumnType("datetime(6)"); b.Property<string>("Token") .HasColumnType("longtext"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("MobileDevices"); }); modelBuilder.Entity("Ombi.Store.Entities.NotificationTemplates", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<int>("Agent") .HasColumnType("int"); b.Property<bool>("Enabled") .HasColumnType("tinyint(1)"); b.Property<string>("Message") .HasColumnType("longtext"); b.Property<int>("NotificationType") .HasColumnType("int"); b.Property<string>("Subject") .HasColumnType("longtext"); b.HasKey("Id"); b.ToTable("NotificationTemplates"); }); modelBuilder.Entity("Ombi.Store.Entities.NotificationUserId", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime>("AddedAt") .HasColumnType("datetime(6)"); b.Property<string>("PlayerId") .HasColumnType("longtext"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("NotificationUserId"); }); modelBuilder.Entity("Ombi.Store.Entities.OmbiUser", b => { b.Property<string>("Id") .HasColumnType("varchar(255)"); b.Property<int>("AccessFailedCount") .HasColumnType("int"); b.Property<string>("Alias") .HasColumnType("longtext"); b.Property<string>("ConcurrencyStamp") .IsConcurrencyToken() .HasColumnType("longtext"); b.Property<string>("Email") .HasMaxLength(256) .HasColumnType("varchar(256)"); b.Property<bool>("EmailConfirmed") .HasColumnType("tinyint(1)"); b.Property<int?>("EpisodeRequestLimit") .HasColumnType("int"); b.Property<string>("Language") .HasColumnType("longtext"); b.Property<DateTime?>("LastLoggedIn") .HasColumnType("datetime(6)"); b.Property<bool>("LockoutEnabled") .HasColumnType("tinyint(1)"); b.Property<DateTimeOffset?>("LockoutEnd") .HasColumnType("datetime(6)"); b.Property<int?>("MovieRequestLimit") .HasColumnType("int"); b.Property<int?>("MusicRequestLimit") .HasColumnType("int"); b.Property<string>("NormalizedEmail") .HasMaxLength(256) .HasColumnType("varchar(256)"); b.Property<string>("NormalizedUserName") .HasMaxLength(256) .HasColumnType("varchar(256)"); b.Property<string>("PasswordHash") .HasColumnType("longtext"); b.Property<string>("PhoneNumber") .HasColumnType("longtext"); b.Property<bool>("PhoneNumberConfirmed") .HasColumnType("tinyint(1)"); b.Property<string>("ProviderUserId") .HasColumnType("longtext"); b.Property<string>("SecurityStamp") .HasColumnType("longtext"); b.Property<string>("StreamingCountry") .IsRequired() .HasColumnType("longtext"); b.Property<bool>("TwoFactorEnabled") .HasColumnType("tinyint(1)"); b.Property<string>("UserAccessToken") .HasColumnType("longtext"); b.Property<string>("UserName") .HasMaxLength(256) .HasColumnType("varchar(256)"); b.Property<int>("UserType") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("NormalizedEmail") .HasDatabaseName("EmailIndex"); b.HasIndex("NormalizedUserName") .IsUnique() .HasDatabaseName("UserNameIndex"); b.ToTable("AspNetUsers"); }); modelBuilder.Entity("Ombi.Store.Entities.RecentlyAddedLog", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime>("AddedAt") .HasColumnType("datetime(6)"); b.Property<string>("AlbumId") .HasColumnType("longtext"); b.Property<int>("ContentId") .HasColumnType("int"); b.Property<int>("ContentType") .HasColumnType("int"); b.Property<int?>("EpisodeNumber") .HasColumnType("int"); b.Property<int?>("SeasonNumber") .HasColumnType("int"); b.Property<int>("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("RecentlyAddedLog"); }); modelBuilder.Entity("Ombi.Store.Entities.RequestQueue", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime?>("Completed") .HasColumnType("datetime(6)"); b.Property<DateTime>("Dts") .HasColumnType("datetime(6)"); b.Property<string>("Error") .HasColumnType("longtext"); b.Property<int>("RequestId") .HasColumnType("int"); b.Property<int>("RetryCount") .HasColumnType("int"); b.Property<int>("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("RequestQueue"); }); modelBuilder.Entity("Ombi.Store.Entities.RequestSubscription", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<int>("RequestId") .HasColumnType("int"); b.Property<int>("RequestType") .HasColumnType("int"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("RequestSubscription"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.AlbumRequest", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<bool>("Approved") .HasColumnType("tinyint(1)"); b.Property<string>("ArtistName") .HasColumnType("longtext"); b.Property<bool>("Available") .HasColumnType("tinyint(1)"); b.Property<string>("Cover") .HasColumnType("longtext"); b.Property<bool?>("Denied") .HasColumnType("tinyint(1)"); b.Property<string>("DeniedReason") .HasColumnType("longtext"); b.Property<string>("Disk") .HasColumnType("longtext"); b.Property<string>("ForeignAlbumId") .HasColumnType("longtext"); b.Property<string>("ForeignArtistId") .HasColumnType("longtext"); b.Property<DateTime>("MarkedAsApproved") .HasColumnType("datetime(6)"); b.Property<DateTime?>("MarkedAsAvailable") .HasColumnType("datetime(6)"); b.Property<DateTime>("MarkedAsDenied") .HasColumnType("datetime(6)"); b.Property<decimal>("Rating") .HasColumnType("decimal(65,30)"); b.Property<DateTime>("ReleaseDate") .HasColumnType("datetime(6)"); b.Property<int>("RequestType") .HasColumnType("int"); b.Property<string>("RequestedByAlias") .HasColumnType("longtext"); b.Property<DateTime>("RequestedDate") .HasColumnType("datetime(6)"); b.Property<string>("RequestedUserId") .HasColumnType("varchar(255)"); b.Property<string>("Title") .HasColumnType("longtext"); b.HasKey("Id"); b.HasIndex("RequestedUserId"); b.ToTable("AlbumRequests"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.ChildRequests", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<bool>("Approved") .HasColumnType("tinyint(1)"); b.Property<bool>("Available") .HasColumnType("tinyint(1)"); b.Property<bool?>("Denied") .HasColumnType("tinyint(1)"); b.Property<string>("DeniedReason") .HasColumnType("longtext"); b.Property<int?>("IssueId") .HasColumnType("int"); b.Property<DateTime>("MarkedAsApproved") .HasColumnType("datetime(6)"); b.Property<DateTime?>("MarkedAsAvailable") .HasColumnType("datetime(6)"); b.Property<DateTime>("MarkedAsDenied") .HasColumnType("datetime(6)"); b.Property<int>("ParentRequestId") .HasColumnType("int"); b.Property<int>("RequestType") .HasColumnType("int"); b.Property<string>("RequestedByAlias") .HasColumnType("longtext"); b.Property<DateTime>("RequestedDate") .HasColumnType("datetime(6)"); b.Property<string>("RequestedUserId") .HasColumnType("varchar(255)"); b.Property<int>("SeriesType") .HasColumnType("int"); b.Property<string>("Title") .HasColumnType("longtext"); b.HasKey("Id"); b.HasIndex("ParentRequestId"); b.HasIndex("RequestedUserId"); b.ToTable("ChildRequests"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.IssueCategory", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<string>("Value") .HasColumnType("longtext"); b.HasKey("Id"); b.ToTable("IssueCategory"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.IssueComments", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<string>("Comment") .HasColumnType("longtext"); b.Property<DateTime>("Date") .HasColumnType("datetime(6)"); b.Property<int?>("IssuesId") .HasColumnType("int"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("IssuesId"); b.HasIndex("UserId"); b.ToTable("IssueComments"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.Issues", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime>("CreatedDate") .HasColumnType("datetime(6)"); b.Property<string>("Description") .HasColumnType("longtext"); b.Property<int>("IssueCategoryId") .HasColumnType("int"); b.Property<int?>("IssueId") .HasColumnType("int"); b.Property<string>("ProviderId") .HasColumnType("longtext"); b.Property<int?>("RequestId") .HasColumnType("int"); b.Property<int>("RequestType") .HasColumnType("int"); b.Property<DateTime?>("ResovledDate") .HasColumnType("datetime(6)"); b.Property<int>("Status") .HasColumnType("int"); b.Property<string>("Subject") .HasColumnType("longtext"); b.Property<string>("Title") .HasColumnType("longtext"); b.Property<string>("UserReportedId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("IssueCategoryId"); b.HasIndex("IssueId"); b.HasIndex("UserReportedId"); b.ToTable("Issues"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.MovieRequests", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<bool>("Approved") .HasColumnType("tinyint(1)"); b.Property<bool>("Available") .HasColumnType("tinyint(1)"); b.Property<string>("Background") .HasColumnType("longtext"); b.Property<bool?>("Denied") .HasColumnType("tinyint(1)"); b.Property<string>("DeniedReason") .HasColumnType("longtext"); b.Property<DateTime?>("DigitalReleaseDate") .HasColumnType("datetime(6)"); b.Property<string>("ImdbId") .HasColumnType("longtext"); b.Property<int?>("IssueId") .HasColumnType("int"); b.Property<string>("LangCode") .HasColumnType("longtext"); b.Property<DateTime>("MarkedAsApproved") .HasColumnType("datetime(6)"); b.Property<DateTime?>("MarkedAsAvailable") .HasColumnType("datetime(6)"); b.Property<DateTime>("MarkedAsDenied") .HasColumnType("datetime(6)"); b.Property<string>("Overview") .HasColumnType("longtext"); b.Property<string>("PosterPath") .HasColumnType("longtext"); b.Property<int>("QualityOverride") .HasColumnType("int"); b.Property<DateTime>("ReleaseDate") .HasColumnType("datetime(6)"); b.Property<int>("RequestType") .HasColumnType("int"); b.Property<string>("RequestedByAlias") .HasColumnType("longtext"); b.Property<DateTime>("RequestedDate") .HasColumnType("datetime(6)"); b.Property<string>("RequestedUserId") .HasColumnType("varchar(255)"); b.Property<int>("RootPathOverride") .HasColumnType("int"); b.Property<string>("Status") .HasColumnType("longtext"); b.Property<int>("TheMovieDbId") .HasColumnType("int"); b.Property<string>("Title") .HasColumnType("longtext"); b.HasKey("Id"); b.HasIndex("RequestedUserId"); b.ToTable("MovieRequests"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.RequestLog", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<int>("EpisodeCount") .HasColumnType("int"); b.Property<DateTime>("RequestDate") .HasColumnType("datetime(6)"); b.Property<int>("RequestId") .HasColumnType("int"); b.Property<int>("RequestType") .HasColumnType("int"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("RequestLog"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.TvRequests", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<string>("Background") .HasColumnType("longtext"); b.Property<int>("ExternalProviderId") .HasColumnType("int"); b.Property<string>("ImdbId") .HasColumnType("longtext"); b.Property<string>("Overview") .HasColumnType("longtext"); b.Property<string>("PosterPath") .HasColumnType("longtext"); b.Property<int?>("QualityOverride") .HasColumnType("int"); b.Property<DateTime>("ReleaseDate") .HasColumnType("datetime(6)"); b.Property<int?>("RootFolder") .HasColumnType("int"); b.Property<string>("Status") .HasColumnType("longtext"); b.Property<string>("Title") .HasColumnType("longtext"); b.Property<int>("TotalSeasons") .HasColumnType("int"); b.Property<int>("TvDbId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("TvRequests"); }); modelBuilder.Entity("Ombi.Store.Entities.Tokens", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<string>("Token") .HasColumnType("longtext"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("Tokens"); }); modelBuilder.Entity("Ombi.Store.Entities.UserNotificationPreferences", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<int>("Agent") .HasColumnType("int"); b.Property<bool>("Enabled") .HasColumnType("tinyint(1)"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.Property<string>("Value") .HasColumnType("longtext"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("UserNotificationPreferences"); }); modelBuilder.Entity("Ombi.Store.Entities.UserQualityProfiles", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<int>("RadarrQualityProfile") .HasColumnType("int"); b.Property<int>("RadarrRootPath") .HasColumnType("int"); b.Property<int>("SonarrQualityProfile") .HasColumnType("int"); b.Property<int>("SonarrQualityProfileAnime") .HasColumnType("int"); b.Property<int>("SonarrRootPath") .HasColumnType("int"); b.Property<int>("SonarrRootPathAnime") .HasColumnType("int"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("UserQualityProfiles"); }); modelBuilder.Entity("Ombi.Store.Entities.Votes", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime>("Date") .HasColumnType("datetime(6)"); b.Property<bool>("Deleted") .HasColumnType("tinyint(1)"); b.Property<int>("RequestId") .HasColumnType("int"); b.Property<int>("RequestType") .HasColumnType("int"); b.Property<string>("UserId") .HasColumnType("varchar(255)"); b.Property<int>("VoteType") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("Votes"); }); modelBuilder.Entity("Ombi.Store.Repository.Requests.EpisodeRequests", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime>("AirDate") .HasColumnType("datetime(6)"); b.Property<bool>("Approved") .HasColumnType("tinyint(1)"); b.Property<bool>("Available") .HasColumnType("tinyint(1)"); b.Property<int>("EpisodeNumber") .HasColumnType("int"); b.Property<bool>("Requested") .HasColumnType("tinyint(1)"); b.Property<int>("SeasonId") .HasColumnType("int"); b.Property<string>("Title") .HasColumnType("longtext"); b.Property<string>("Url") .HasColumnType("longtext"); b.HasKey("Id"); b.HasIndex("SeasonId"); b.ToTable("EpisodeRequests"); }); modelBuilder.Entity("Ombi.Store.Repository.Requests.SeasonRequests", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<int>("ChildRequestId") .HasColumnType("int"); b.Property<string>("Overview") .HasColumnType("longtext"); b.Property<int>("SeasonNumber") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("ChildRequestId"); b.ToTable("SeasonRequests"); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b => { b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null) .WithMany() .HasForeignKey("RoleId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<string>", b => { b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null) .WithMany() .HasForeignKey("RoleId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("Ombi.Store.Entities.OmbiUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("Ombi.Store.Entities.MobileDevices", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany() .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.NotificationUserId", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany("NotificationUserIds") .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.RequestSubscription", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany() .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.AlbumRequest", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "RequestedUser") .WithMany() .HasForeignKey("RequestedUserId"); b.Navigation("RequestedUser"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.ChildRequests", b => { b.HasOne("Ombi.Store.Entities.Requests.TvRequests", "ParentRequest") .WithMany("ChildRequests") .HasForeignKey("ParentRequestId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("Ombi.Store.Entities.OmbiUser", "RequestedUser") .WithMany() .HasForeignKey("RequestedUserId"); b.Navigation("ParentRequest"); b.Navigation("RequestedUser"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.IssueComments", b => { b.HasOne("Ombi.Store.Entities.Requests.Issues", "Issues") .WithMany("Comments") .HasForeignKey("IssuesId"); b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany() .HasForeignKey("UserId"); b.Navigation("Issues"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.Issues", b => { b.HasOne("Ombi.Store.Entities.Requests.IssueCategory", "IssueCategory") .WithMany() .HasForeignKey("IssueCategoryId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("Ombi.Store.Entities.Requests.ChildRequests", null) .WithMany("Issues") .HasForeignKey("IssueId"); b.HasOne("Ombi.Store.Entities.Requests.MovieRequests", null) .WithMany("Issues") .HasForeignKey("IssueId"); b.HasOne("Ombi.Store.Entities.OmbiUser", "UserReported") .WithMany() .HasForeignKey("UserReportedId"); b.Navigation("IssueCategory"); b.Navigation("UserReported"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.MovieRequests", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "RequestedUser") .WithMany() .HasForeignKey("RequestedUserId"); b.Navigation("RequestedUser"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.RequestLog", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany() .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.Tokens", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany() .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.UserNotificationPreferences", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany("UserNotificationPreferences") .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.UserQualityProfiles", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany() .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Entities.Votes", b => { b.HasOne("Ombi.Store.Entities.OmbiUser", "User") .WithMany() .HasForeignKey("UserId"); b.Navigation("User"); }); modelBuilder.Entity("Ombi.Store.Repository.Requests.EpisodeRequests", b => { b.HasOne("Ombi.Store.Repository.Requests.SeasonRequests", "Season") .WithMany("Episodes") .HasForeignKey("SeasonId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Season"); }); modelBuilder.Entity("Ombi.Store.Repository.Requests.SeasonRequests", b => { b.HasOne("Ombi.Store.Entities.Requests.ChildRequests", "ChildRequest") .WithMany("SeasonRequests") .HasForeignKey("ChildRequestId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ChildRequest"); }); modelBuilder.Entity("Ombi.Store.Entities.OmbiUser", b => { b.Navigation("NotificationUserIds"); b.Navigation("UserNotificationPreferences"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.ChildRequests", b => { b.Navigation("Issues"); b.Navigation("SeasonRequests"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.Issues", b => { b.Navigation("Comments"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.MovieRequests", b => { b.Navigation("Issues"); }); modelBuilder.Entity("Ombi.Store.Entities.Requests.TvRequests", b => { b.Navigation("ChildRequests"); }); modelBuilder.Entity("Ombi.Store.Repository.Requests.SeasonRequests", b => { b.Navigation("Episodes"); }); #pragma warning restore 612, 618 } } } ```
```yaml tests: kernel.scheduler.metairq: tags: kernel platform_exclude: nrf52dk/nrf52810 ```
```python import pytest from localstack.aws.api.apigateway import GatewayResponse, GatewayResponseType from localstack.http import Request from localstack.services.apigateway.models import MergedRestApi, RestApiDeployment from localstack.services.apigateway.next_gen.execute_api.api import RestApiGatewayHandlerChain from localstack.services.apigateway.next_gen.execute_api.context import RestApiInvocationContext from localstack.services.apigateway.next_gen.execute_api.gateway_response import ( AccessDeniedError, BaseGatewayException, UnauthorizedError, ) from localstack.services.apigateway.next_gen.execute_api.handlers import GatewayExceptionHandler from localstack.services.apigateway.next_gen.execute_api.router import ApiGatewayEndpoint from localstack.services.apigateway.next_gen.execute_api.variables import ContextVariables from localstack.testing.config import TEST_AWS_ACCOUNT_ID, TEST_AWS_REGION_NAME class TestGatewayResponse: def test_base_response(self): with pytest.raises(BaseGatewayException) as e: raise BaseGatewayException() assert e.value.message == "Unimplemented Response" def test_subclassed_response(self): with pytest.raises(BaseGatewayException) as e: raise AccessDeniedError("Access Denied") assert e.value.message == "Access Denied" assert e.value.type == GatewayResponseType.ACCESS_DENIED @pytest.fixture def apigw_response(): return ApiGatewayEndpoint.create_response(Request()) class TestGatewayResponseHandler: @pytest.fixture def get_context(self): def _create_context_with_deployment(gateway_responses=None) -> RestApiInvocationContext: context = RestApiInvocationContext(Request()) context.deployment = RestApiDeployment( account_id=TEST_AWS_ACCOUNT_ID, region=TEST_AWS_REGION_NAME, rest_api=MergedRestApi(None), ) context.context_variables = ContextVariables(requestId="REQUEST_ID") if gateway_responses: context.deployment.rest_api.gateway_responses = gateway_responses return context return _create_context_with_deployment def test_non_gateway_exception(self, get_context, apigw_response): exception_handler = GatewayExceptionHandler() # create a default Exception that should not be handled by the handler exception = Exception("Unhandled exception") exception_handler( chain=RestApiGatewayHandlerChain(), exception=exception, context=get_context(), response=apigw_response, ) assert apigw_response.status_code == 500 assert apigw_response.data == b"Error in apigateway invocation: Unhandled exception" def test_gateway_exception(self, get_context, apigw_response): exception_handler = GatewayExceptionHandler() # Create an UnauthorizedError exception with no Gateway Response configured exception = UnauthorizedError("Unauthorized") exception_handler( chain=RestApiGatewayHandlerChain(), exception=exception, context=get_context(), response=apigw_response, ) assert apigw_response.status_code == 401 assert apigw_response.json == {"message": "Unauthorized"} assert apigw_response.headers.get("x-amzn-errortype") == "UnauthorizedException" def test_gateway_exception_with_default_4xx(self, get_context, apigw_response): exception_handler = GatewayExceptionHandler() # Configure DEFAULT_4XX response gateway_responses = {GatewayResponseType.DEFAULT_4XX: GatewayResponse(statusCode="400")} # Create an UnauthorizedError exception with DEFAULT_4xx configured exception = UnauthorizedError("Unauthorized") exception_handler( chain=RestApiGatewayHandlerChain(), exception=exception, context=get_context(gateway_responses), response=apigw_response, ) assert apigw_response.status_code == 400 assert apigw_response.json == {"message": "Unauthorized"} assert apigw_response.headers.get("x-amzn-errortype") == "UnauthorizedException" def test_gateway_exception_with_gateway_response(self, get_context, apigw_response): exception_handler = GatewayExceptionHandler() # Configure Access Denied response gateway_responses = {GatewayResponseType.UNAUTHORIZED: GatewayResponse(statusCode="405")} # Create an UnauthorizedError exception with UNAUTHORIZED configured exception = UnauthorizedError("Unauthorized") exception_handler( chain=RestApiGatewayHandlerChain(), exception=exception, context=get_context(gateway_responses), response=apigw_response, ) assert apigw_response.status_code == 405 assert apigw_response.json == {"message": "Unauthorized"} assert apigw_response.headers.get("x-amzn-errortype") == "UnauthorizedException" def test_gateway_exception_access_denied(self, get_context, apigw_response): # special case where the `Message` field is capitalized exception_handler = GatewayExceptionHandler() # Create an AccessDeniedError exception with no Gateway Response configured exception = AccessDeniedError("Access Denied") exception_handler( chain=RestApiGatewayHandlerChain(), exception=exception, context=get_context(), response=apigw_response, ) assert apigw_response.status_code == 403 assert apigw_response.json == {"Message": "Access Denied"} assert apigw_response.headers.get("x-amzn-errortype") == "AccessDeniedException" ```
The Earth Is Not a Cold Dead Place is the third studio album by Austin post-rock group Explosions in the Sky, which comprises Mike Smith and Munaf Rayani on guitars, Michael James on bass, and Christopher Hrasky on drums, with the album being produced by John Congleton. The album consists of five tracks spanning 45 minutes. It was released on November 4, 2003 by Temporary Residence Limited. Having formed in Austin, Texas in 1999, the band recorded two studio albums before releasing The Earth Is Not a Cold Dead Place. The album is often considered to be released within the context of the post-September 11 attacks world, despite the attacks not being taken into consideration by the band during recording. The music of the album is without lyrics, and includes tracks that are considered to be inspired by reactions to crises, including the Kursk submarine disaster. The album generally garnered positive reviews. Background Explosions in the Sky, comprising Mike Smith and Munaf Rayani (guitars), Michael James (bass), and Christopher Hrasky (drums), was formed in 1999 in Austin, Texas under the name Breaker Morant. They released their first album, How Strange, Innocence with Temporary Residence Limited in 2000. In 2001, the band released their second album Those Who Tell the Truth Shall Die, Those Who Tell the Truth Shall Live Forever, which was widely distributed and led to a critical breakthrough for the band. As the band's money and concentration began to decrease, they returned to Midland, Texas, where The Earth Is Not a Cold Dead Place was recorded. The band worked day jobs to play in an office building basement. Between Those Who Tell the Truth Shall Die, Those Who Tell the Truth Shall Live Forever and The Earth Is Not a Cold Dead Place, the September 11 attacks occurred. It was within the context of the post-September 11 world that The Earth Is Not a Cold Dead Place was released. Although the band did not have the September 11 attacks in mind while recording the album, band member Christopher Hrasky commented that "but if people look at it as though 'this song is about 9/11,' then that connection exists for them." The album was, according to producer John Congleton, recorded and mixed in three days. Music None of the tracks on The Earth Is Not a Cold Dead Place have lyrics. "Six Days at the Bottom of the Ocean" was inspired by the Kursk submarine disaster in 2000 – the band sees the track as "the album's darkest moment." Songs like "First Breath After Coma," "Memorial" and "Your Hand in Mine" suggest "personal or collective reactions to crises", according to scholars of September 11-related music Joseph Fisher and Brian Flota. Hartley Goldstein of Pitchfork compared the album to their previous one, saying that it was much warmer and "laced with an intense yearning for optimism in the face of horrific circumstance." The album opens with "First Breath After Coma," starting with a sound that "captures a moment of awakening" with a guitar that mimics "the incessant nerve-wracking electrical beeps of a hospital heart monitor". Guitars "dance and gleam" through "The Only Moment We Were Alone." The closing guitar freakout of "The Only Moment We Were Alone" transitions into "Six Days at the Bottom of the Ocean," which relies heavily on it. Johnny Loftus of AllMusic referred to "Memorial" as the "meditative heart" of the album, saying that "it begins so quietly, reduced to brittle landscapes of tone. Lightly chiming guitars drift in, like the echoes of church bells off in narrow city streets. Then, like each of the album's movements, it surges forward in a rush, like the overtures of Sonic Youth separated, dried, and ultimately lengthened in the blistering Texas sun." "Your Hand in Mine" is the most popular of the album's tracks. Loftus describes it as including a "pair of determined guitars picking out a melody that's both pretty and pretty damn heartbreaking." Title and packaging The title of The Earth Is Not a Cold Dead Place originated, according to Hrasky, "from this idea of life being very confusing. It was a dark time, and the record is sort of about trying to hang on to the beauty in the world." The cover, designed by Esteban Rey, depicts the album's name in black written repeatedly across a white background. Hrasky explains that "that way we could kind of imagine that it was written by someone who sees all the horror and terror of the world, but who is also trying to look at all the wonderful and beautiful things." The inside sleeve of the album depicts "a sketch of lifeless autumnal leaf wistfully tumbling in the air, only to transform into the body of a fluttering dove." Critical reception The album was received well, with a rating of 86 out of 100 on Metacritic, based on reviews from 17 critics, indicating "universal acclaim". Stylus called the album "essential", with the reviewer remarking that "I may never need another instrumental album like this again". Guitar.com argues that it is the "ultimate post-rock album". The Guardian praised the album, calling the tracks "tunes that twinkle and thunder like exploding stars, and show that there are still infinite possibilities in two guitars, bass and drums." Entertainment Weekly commented on the "gargantuan beauty" of the album. Pitchfork pinpointed the most impressive part of the album as the fact that it is constantly in flux, and called it "a sweetly melodic, inspirationally hopeful album for a genre whose trademark is tragedy." Blender, however, gave a mixed review of the album, saying that it was "executing almost exactly the same formula [as the first track] four more times ... and the dramatic shock wears off quickly." The album is featured on a list of 30 best post-rock albums as compiled by Fact, at the 20th spot. Fact praises the simplicity of the album, but also calls its simplicity the reason for its downfall, as "their blueprint was easy to replicate, creating a sea of diluted copyists. But there’s no taking away the sparkle of the album that inspired them all". Kerrang! put the album on its list of the 16 greatest post-rock albums, saying that there was "something wonderfully, moreishly melodramatic about this set, possessing an unspoken narrative that post-rock rarely conjured". Paste put the album at the 24th spot on its list of the 50 best post-rock albums, describing the album as having "dramatic compositions that swell and recede like a deep meditative breath before bursting forth with fist-pumping crescendos". In other media On the Versus TV network, "First Breath After Coma" was used to introduce feature presentations. "The Only Moment We Were Alone" is featured on the film Capitalism: A Love Story (2009). According to guitarist Munaf Rayani, "it's exciting to see visual images accompany our music." The Ted Cruz 2016 presidential campaign used "Your Hand in Mine" in a campaign video, which was taken down following comments against the use by the band. Track listing Credits Munaf Rayani (guitars) Michael James (guitars/bass) Mark T Smith (guitars) Christopher Hrasky (drums) Recorded and engineered by John Congleton References Citations Bibliography Books and articles Online 2003 albums Explosions in the Sky albums Bella Union albums Temporary Residence Limited albums Albums produced by John Congleton Concept albums Post-rock albums by American artists
```ruby class Lightgbm < Formula desc "Fast, distributed, high performance gradient boosting framework" homepage "path_to_url" url "path_to_url", tag: "v4.5.0", revision: "3f7e6081275624edfca1f9b3096bea7a81a744ed" license "MIT" bottle do sha256 cellar: :any, arm64_sonoma: your_sha256_hash sha256 cellar: :any, arm64_ventura: your_sha256_hash sha256 cellar: :any, arm64_monterey: your_sha256_hash sha256 cellar: :any, sonoma: your_sha256_hash sha256 cellar: :any, ventura: your_sha256_hash sha256 cellar: :any, monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash end depends_on "cmake" => :build on_macos do depends_on "libomp" end def install system "cmake", "-S", ".", "-B", "build", *std_cmake_args, "-DAPPLE_OUTPUT_DYLIB=ON" system "cmake", "--build", "build" system "cmake", "--install", "build" pkgshare.install "examples" end test do cp_r (pkgshare/"examples/regression"), testpath cd "regression" do system bin/"lightgbm", "config=train.conf" end end end ```
Lemvig Basket is a Danish basketball club based in the small town of Lemvig. Founded 10 years ago as an independent club it has steadily improved and is currently the top overall Danish basketball club for both men and women. The ladies have moved up to the Dameligaen (highest level in Denmark) while the gentlemen have, for several years been between among the top teams in DBBF Herrer Div.1 (2nd best level in Denmark). It maintains a high level of internal competition while offering players at all levels an opportunity to enjoy basketball on teams composed of less experienced Danish basketball players for both sexes. The club focuses on giving younger players an opportunity to improve and this principle is strongly supported by its experienced professionals. Lemvig Basket is a very active club in both sports and social aspects of life and is organizing Denmark's largest basketball tournament, The Limfjords-cup. History 2012/2013 season Men Depth chart 2012/2013 season Woman Depth chart Previous seasons Limfjordscup Every year, between 27 and 30 December, Lemvig Basket are hosting Limfjorgscup which is the largest youth tournament in Denmark with 1.500 participants from all over Europe from. In 2011 it will be 20th time the tournament is held. External links Lemvig Basket website (Danish) Results (Danish) Presentation of men's team (Danish) Presentation of women's team (Danish) Dameligaen website (Danish) Limfjordscup website (English) Basketball teams in Denmark Basket
```javascript import PromiseRouter from '../PromiseRouter'; import Parse from 'parse/node'; import rest from '../rest'; const triggers = require('../triggers'); const middleware = require('../middlewares'); function formatJobSchedule(job_schedule) { if (typeof job_schedule.startAfter === 'undefined') { job_schedule.startAfter = new Date().toISOString(); } return job_schedule; } function validateJobSchedule(config, job_schedule) { const jobs = triggers.getJobs(config.applicationId) || {}; if (job_schedule.jobName && !jobs[job_schedule.jobName]) { throw new Parse.Error( Parse.Error.INTERNAL_SERVER_ERROR, 'Cannot Schedule a job that is not deployed' ); } } export class CloudCodeRouter extends PromiseRouter { mountRoutes() { this.route( 'GET', '/cloud_code/jobs', middleware.promiseEnforceMasterKeyAccess, CloudCodeRouter.getJobs ); this.route( 'GET', '/cloud_code/jobs/data', middleware.promiseEnforceMasterKeyAccess, CloudCodeRouter.getJobsData ); this.route( 'POST', '/cloud_code/jobs', middleware.promiseEnforceMasterKeyAccess, CloudCodeRouter.createJob ); this.route( 'PUT', '/cloud_code/jobs/:objectId', middleware.promiseEnforceMasterKeyAccess, CloudCodeRouter.editJob ); this.route( 'DELETE', '/cloud_code/jobs/:objectId', middleware.promiseEnforceMasterKeyAccess, CloudCodeRouter.deleteJob ); } static getJobs(req) { return rest.find(req.config, req.auth, '_JobSchedule', {}, {}).then(scheduledJobs => { return { response: scheduledJobs.results, }; }); } static getJobsData(req) { const config = req.config; const jobs = triggers.getJobs(config.applicationId) || {}; return rest.find(req.config, req.auth, '_JobSchedule', {}, {}).then(scheduledJobs => { return { response: { in_use: scheduledJobs.results.map(job => job.jobName), jobs: Object.keys(jobs), }, }; }); } static createJob(req) { const { job_schedule } = req.body; validateJobSchedule(req.config, job_schedule); return rest.create( req.config, req.auth, '_JobSchedule', formatJobSchedule(job_schedule), req.client, req.info.context ); } static editJob(req) { const { objectId } = req.params; const { job_schedule } = req.body; validateJobSchedule(req.config, job_schedule); return rest .update( req.config, req.auth, '_JobSchedule', { objectId }, formatJobSchedule(job_schedule), undefined, req.info.context ) .then(response => { return { response, }; }); } static deleteJob(req) { const { objectId } = req.params; return rest .del(req.config, req.auth, '_JobSchedule', objectId, req.info.context) .then(response => { return { response, }; }); } } ```
```swift import Prelude extension Item { public enum lens { public static let description = Lens<Item, String?>( view: { $0.description }, set: { .init( description: $0, id: $1.id, name: $1.name, projectId: $1.projectId ) } ) public static let id = Lens<Item, Int>( view: { $0.id }, set: { .init( description: $1.description, id: $0, name: $1.name, projectId: $1.projectId ) } ) public static let name = Lens<Item, String>( view: { $0.name }, set: { .init( description: $1.description, id: $1.id, name: $0, projectId: $1.projectId ) } ) public static let projectId = Lens<Item, Int>( view: { $0.projectId }, set: { .init( description: $1.description, id: $1.id, name: $1.name, projectId: $0 ) } ) } } ```
```html <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=enum.LookupRefOrTempId.html"> </head> <body> <p>Redirecting to <a href="enum.LookupRefOrTempId.html">enum.LookupRefOrTempId.html</a>...</p> <script>location.replace("enum.LookupRefOrTempId.html" + location.search + location.hash);</script> </body> </html> ```
The Seventh Fleet is a numbered fleet of the United States Navy. It is headquartered at U.S. Fleet Activities Yokosuka, in Yokosuka, Kanagawa Prefecture, Japan. It is part of the United States Pacific Fleet. At present, it is the largest of the forward-deployed U.S. fleets, with 50 to 70 ships, 150 aircraft and 27,000 Sailors and Marines. Its principal responsibilities are to provide joint command in natural disaster or military operations and operational command of all US naval forces in the region. History World War II The Seventh Fleet was formed on 15 March 1943 in Brisbane, Australia, during World War II, under the command of Admiral Arthur S. "Chips" Carpender. It served in the South West Pacific Area (SWPA) under General Douglas MacArthur. The Seventh Fleet commander also served as commander of Allied naval forces in the SWPA. Most of the ships of the Royal Australian Navy were also part of the fleet from 1943 to 1945 as part of Task Force 74 (formerly the Anzac Squadron). The Seventh Fleet—under Admiral Thomas C. Kinkaid—formed a large part of the Allied forces at the Battle of Leyte Gulf, the largest naval battle in history, in October 1944. The Seventh Fleet fought in two of the Battle of Leyte Gulf's main actions, the Battle of Surigao Strait and the Battle off Samar. 1945–1950 After the end of the war, the 7th Fleet moved its headquarters to Qingdao, China. As laid out in Operation Plan 13–45 of 26 August 1945, Kinkaid established five major task forces to manage operations in the Western Pacific: Task Force 71, the North China Force with 75 ships; Task Force 72, the Fast Carrier Force, directed to provide air cover to the Marines going ashore and discourage with dramatic aerial flyovers any Communist forces that might oppose the operation; Task Force 73, the Yangtze Patrol Force with another 75 combatants; Task Force 74, the South China Force, ordered to protect the transportation of Japanese and Chinese Nationalist troops from that region; and Task Force 78, the Amphibious Force, charged with the movement of the III Marine Amphibious Corps to China. After the war, on 1 January 1947, the Fleet's name was changed to Naval Forces Western Pacific. In late 1948, the Fleet moved its principal base of operations from Qingdao to the Philippines, where the Navy, following the war, had developed new facilities at Subic Bay and an airfield at Sangley Point. Peacetime operations of the Seventh Fleet were under the control of Commander in Chief Pacific Fleet, Admiral Arthur W. Radford, but standing orders provided that, when operating in Japanese waters or in the event of an emergency, control would pass to Commander, Naval Forces Far East, a component of General Douglas MacArthur's occupation force. On 19 August 1949 the force was designated as United States Seventh Task Fleet. On 11 February 1950, just prior to the outbreak of the Korean War, the force assumed the name United States Seventh Fleet, which it holds today. Korean War Seventh Fleet units participated in all major operations of the Korean and Vietnamese Wars. The first Navy jet aircraft used in combat was launched from a Task Force 77 (TF 77) aircraft carrier on 3 July 1950. The landings at Inchon, Korea were conducted by Seventh Fleet amphibious ships. The battleships , , and all served as flagships for Commander, U.S. Seventh Fleet during the Korean War. During the Korean War, the Seventh Fleet consisted of Task Force 70, a maritime patrol force provided by Fleet Air Wing One and Fleet Air Wing Six, Task Force 72, the Formosa Patrol, Task Force 77, and Task Force 79, a service support squadron. Over the next decade the Seventh Fleet responded to numerous crisis situations including contingency operations conducted in Laos in 1959 and Thailand in 1962. During September 1959, in the autumn of 1960, and again in January 1961, the Seventh Fleet deployed multiship carrier task forces into the South China Sea. Although the Pathet Lao and North Vietnamese supporting forces withdrew in each crisis, in the spring of 1961 their offensive appeared on the verge of overwhelming the pro-American Royal Lao Army. Once again the fleet moved into Southeast Asian waters. By the end of April 1961, most of the Seventh Fleet was deployed off the Indochinese Peninsula preparing to initiate operations into Laos. The force consisted of the and carrier battle groups, antisubmarine support carrier , one helicopter carrier, three groups of amphibious ships, two submarines, and three Marine battalion landing teams. At the same time, shorebased air patrol squadrons and another three Marine battalion landing teams stood ready in Okinawa and the Philippines to support the afloat force. Although the administration of President John F. Kennedy already had decided against American intervention to rescue the Laotian government, Communist forces halted their advance and agreed to negotiations. The contending Laotian factions concluded a cease-fire on 8 May 1961, but it lasted only a year. In June 1963 the Seventh Fleet held 'Flagpole '63,' a joint naval exercise with the Republic of Korea. Seventh Fleet represented the first official entrance of the United States into the Vietnam War, with the Gulf of Tonkin incident. Between 1950 and 1970, the U.S. Seventh Fleet was known by the tongue-in-cheek nickname "Tonkin Gulf Yacht Club" since most of the fleet's operations were conducted from the Tonkin Gulf at the time. On 12 February 1965, became the first U.S. Navy ship to conduct operations inside Vietnam coastal waters. Salisbury Sound set up a seadrome in Da Nang Bay and conducted seaplane patrols in support of Operation Flaming Dart, the bombing of North Vietnamese army camps. Operating primarily from Yankee Station off the north coast of Vietnam and the aptly-named Dixie Station off the south coast of Vietnam in the South China Sea, Seventh Fleet was organized into a series of task forces, often known by the acronym CTF (Commander Task Force): Task Force 73 included the fleet's logistics support vessels operating as an underway replenishment group (URG) containing an oiler, an ammunition ship, and other supply tenders. Task Force 75, Surface Combatant Force, contained the fleet's surface combatants and naval gunfire support. These units formed the gun line to bombard enemy forces during Operation Sea Dragon, Operation Custom Tailor, and Operation Lion's Den. The Royal Australian Navy contributed a series of guided missile destroyers to the gun line, including , , , and . The naval gun line concept was made possible with deep waters for larger vessels well away from both the shoals and enemy coastal artillery. Task Group 70.8, a cruiser-destroyer subset of the task force, began shelling Vietnam on 27 May 1965. The cruisers and destroyers mostly used 5-inch and 8-inch guns while opened fire with her 16-inch guns. Task Force 76 was the Amphibious Force, Seventh Fleet. Marines went ashore at Da Nang in March 1965 and patrolled throughout the I Corps area of responsibility during operations Starlite, Dagger Thrust, Double Eagle, and Jackstay. Task Force 77 was the Carrier Battle Force, Seventh Fleet. It would participate in striking North Vietnamese targets, providing air support to US forces in South Vietnam, and mining Haiphong Harbor. Task Force 78 was the fleet's minesweeper support. After the 1973 cease-fire, it was responsible for Operation End Sweep, removing naval mines dropped in Haiphong harbor only months earlier. Task Forces 116 and 117 were brown-water riverine forces involved in the interdiction efforts Operation Market Time, Operation Game Warden, and Operation Sealords. In 1975, ships and aircraft of the Fleet evacuated thousands of U.S. citizens and refugees from South Vietnam and Cambodia as those countries fell to opposing forces. Since the end of the Vietnam War, the Seventh Fleet has participated in a joint/combined exercise called Team Spirit, conducted with the Republic of Korea armed forces. With capability to respond to any contingency, Fleet operations are credited with maintaining security during the Asian Games of 1986 and the Seoul Olympics of 1988. During 1989, Seventh Fleet units participated in a variety of exercises called PACEX, the largest peacetime exercises since World War II. 1971 Indo-Pakistan War A carrier task force of the Seventh Fleet, Task Force 74 (TF 74), entered the Bay of Bengal at the height of the war in December 1971. Its mission was to support Pakistan during the war. TF 74 comprised the nuclear-powered aircraft carrier ; the amphibious assault carrier ; the destroyers , , and ; the guided-missile escorts , , and ; the nuclear-powered attack submarine ; and supply ship . On 15 December, a day before the surrender of Pakistan to the joint force of India and Bangladesh, the task force entered the Bay of Bengal, at a distance of some from Dhaka. The Soviet Union, in favor of India, dispatched the 10th Operative Battle Group of its Pacific Fleet under Admiral Vladimir Kruglyakov from Vladivostok to the area. This caused the United States Seventh Fleet to abort its mission and leave the Bay of Bengal. At the same time, the Royal Navy had forces in the Arabian sea with a similar goal as the Seventh Fleet, but that mission was also aborted. India won the war and Bangladesh was liberated amid US and UK's naval support to Pakistan. Gulf War and 1990s In response to the Iraqi invasion of Kuwait on 2 August 1990, General Norman Schwarzkopf (CINCENT) discussed naval command arrangements in his area of responsibility with Commander-in-Chief, Pacific, Admiral Huntington Hardisty. The result was that Commander, U.S. Seventh Fleet was ordered to assume additional responsibilities as Commander, U.S. Naval Forces Central Command. The Fleet Commander departed Yokosuka, Japan immediately, heading for the Persian Gulf, and joined the remainder of his staff aboard the flagship on 1 September 1990. During Operation Desert Shield and Operation Desert Storm, Naval Forces Central Command exercised command and control of the largest U.S. Navy armada since the Second World War. At the peak of combat operations, over 130 U.S. ships joined more than 50 allied ships to conduct maritime intercept operations, minesweeping and combat strike operations against enemy forces in Iraq and Kuwait. Naval Forces Central Command included six aircraft carrier battle groups, two battleships (Missouri and Wisconsin), two hospital ships, 31 amphibious assault ships, four minesweeping vessels and numerous combatants in support of allied air and ground forces. After a decisive allied victory in the Gulf War, Commander U.S. Seventh Fleet relinquished control of Naval Forces Central Command to Commander, Middle East Force on 24 April 1991 and returned to Yokosuka, Japan to resume his Asia-Pacific duties. Following months of tension as well as the death of North Korean leader Kim Il-Sung, in July 1994, the Kitty Hawk battle group was diverted from a Southern Watch deployment to the Persian Gulf and remained in the Western Pacific (the Seventh Fleet's operation area) for the entire deployment. The Independence also conducted operations near the Peninsula during the crisis. In 1996, two aircraft carrier battle groups were sent to the Taiwan Straits under Seventh Fleet control to demonstrate U.S. support for Taiwan during the Third Taiwan Strait Crisis. The Nimitz battle group (CCDG 7) made a high speed transit from the Persian Gulf, while Carrier Group Five, led by Independence, sortied from its Japanese homeports. USS John S. McCain and Alnic MC collision On 21 August 2017, while on a routine visit to Singapore, destroyer was involved in a collision with merchant vessel Alnic MC off the coast of Singapore, east of the Strait of Malacca. The incident left 10 Navy sailors missing and five injured. The US Navy announced that Commander of the Seventh Fleet Vice Adm. Joseph Aucoin had been dismissed and replaced by Vice Adm. Phillip G. Sawyer, who had already been nominated and confirmed to replace the retiring Aucoin. Operations Of the 50–60 ships typically assigned to Seventh Fleet, 18 operate from U.S. facilities in Japan and Guam. These forward-deployed units represent the heart of Seventh Fleet, and the centerpieces of American forward presence in Asia. They are seventeen steaming days closer to locations in Asia than their counterparts based in the continental United States. It would take three to five times the number of rotationally-based ships in the U.S. to equal the same presence and crisis response capability as these 18 forward deployed ships. On any given day, about 50% of Seventh Fleet forces are deployed at sea throughout the area of responsibility. Following the end of the Cold War, the two major military scenarios in which the Seventh Fleet would be used would be in case of conflict in Korea or a conflict between People's Republic of China and Taiwan (Republic of China) in the Taiwan Strait. It was reported on 10 May 2012 that would be dispatched to Singapore in the northern spring of 2013 for a roughly 10-month deployment. On 2 June 2012 the U.S. and Singaporean Defense Ministers announced that Singapore has agreed 'in principle' to the US request 'to forward deploy up to four littoral combat ships to Singapore on a rotational basis.' Officials stressed however that vessels will not be permanently based there and their crews will live aboard during ship visits. Fleet organization The Seventh Fleet is organized into specialized task forces. Task Force 70 – TF 70 is the Battle Force of 7th Fleet and is made up of two distinct components: Surface Combatant Force 7th Fleet, composed of cruisers and destroyers, and Carrier Strike Force 7th Fleet, made up of at least one aircraft carrier and its embarked air wing. The Battle Force is currently centered around Carrier Strike Group Five, the carrier responsible for unit-level training, integrated training, and material readiness for the group's ships and aviation squadrons. As the only continuously forward deployed carrier strike group, the CSG-5 staff does not stand down when the strike group is in Yokosuka, but instead continues to maintain command responsibilities over deploying Carrier Strike Groups and independently deployed cruisers, destroyers, and frigates that operate in the Seventh Fleet operating area. The commander and staff are also responsible for the higher level Task Force 70 duties throughout the year in addition to the CSG-5 duties. The composition of the strike group in immediate proximity of Ronald Reagan varies throughout the year. The CSG 5 Commander also serves as Battle Force Seventh Fleet and Commander, Task Force (CTF 70) for 7th Fleet. In these responsibilities, CSG 5 serves as the Commander of all surface forces (carrier strike groups, independently deploying cruisers, destroyers and frigates) in the 7th Fleet area of responsibility. CTF 70 also serves as the Theater Surface Warfare Commander (TSUWC) and Theater Integrated Air Missile Defense Commander (TIAMDC) for Seventh Fleet. During the Korean War, Captain Charles L. Melson was the commanding officer of the flagship of the Seventh Fleet, the battleship from 20 October 1952. He also served during that time as Commander, Task Group 70.1. Task Force 71 – TF 71 includes all Naval Special Warfare (NSW) units and Explosive Ordnance Disposal Mobile Units (EODMU) assigned to 7th Fleet. It is based in Guam. Task Force 72 – TF 72 is the Patrol and Reconnaissance Force, Seventh Fleet. It is located at Naval Air Facility Misawa (Misawa Air Base), Japan. It is mainly composed of anti-submarine warfare (ASW) aircraft and maritime airborne surveillance platforms such as P-3 Orion and Lockheed EP-3 reconnaissance planes operating on land bases. Toward the end of the Korean War, Commander Task Force 72 transferred his flag to on 7 March and detachments of VP-42 also left USS Salisbury Sound for that seaplane tender. That same day Task Force Seventy-Two was established as the Formosa Patrol Force under Rear Admiral Williamson in Pine Island. Task Force 73/Commander, Logistics Group Western Pacific – 7th Fleet's Logistics Force composed of supply ships and other fleet support vessels. Headquartered in Singapore. Task Force 74 – TF 74 was the designation used for the Enterprise battle group in 1971. Today, it is the Fleet Submarine Force responsible for planning and coordinating submarine operations within 7th Fleet's area of operations. Task Force 75 – Navy Expeditionary Forces Command Pacific is 7th Fleet's primary Expeditionary task force. Located in Camp Covington, Guam, CTF 75 is responsible for the planning and execution of coastal riverine operations, explosive ordnance disposal, diving, engineering and construction, and underwater construction throughout the 7th Fleet area of responsibility. Task Force 76 – Amphibious assault task force currently headquartered at U.S. Fleet Activities Sasebo, mainly responsible for supporting Marine landing operations. It is composed of units capable of delivering ship-to-shore assault troops, such as and amphibious assault ships, and landing craft. Task Force 77 – 7th Fleet Mine Warfare Force composed of mine countermeasure, mine hunter, and mine control ships as well as mine countermeasure helicopters (MH-53). This task force is only activated during specific combat operations and was filled by the Commander of Mine Warfare Command. Mine Warfare Command has now been disestablished and replaced by Navy Mine and Antisubmarine Warfare Command, Naval Base Point Loma, Calif. Task Force 78 – In 1973, Task Force 78 served as the mine clearance force that cleared Haiphong Harbour in Operation End Sweep. Major elements of the U.S. Navy mine warfare force, including Mobile Mine Command (MOMCOM), Mine Warfare Support Group (MWFSG), and HM-12 were airlifted by C-5A to NAS Cubi Point in the Philippines. These specialists formed the nucleus of Task Force 78, under the command of Rear Admiral Brian McCauley, for Operation End Sweep. Commander, Mine Force, U.S. Atlantic Fleet had reported to Vice Admiral James L. Holloway III, Commander, Seventh Fleet, in September 1972 as Commander Task Force 78. TF 78 was officially activated in November 1972. However, it became clear more helicopters were needed. Responding to a Navy request for assistance, Commanding General, Fleet Marine Force Pacific (CG FMFPAC) directed that HMH-463 deploy from MCAS Kaneohe Bay, Hawaii, to NAS Cubi Point, to join Task Force 78. On 27 November 1972, with the efficient support of Col. Bill Crocker's MAG-24, HM-463 embarked at Pearl Harbor aboard , which was en route from Norfolk to augment Seventh Fleet Amphibious Forces and to participate in End Sweep. The ceasefire was signed on 23 January 1973, and the day afterwards, major components of TF 78 deployed from Subic Bay to Haiphong. These included four ocean minesweepers (MSO), USS Inchon, and four amphibious ships, including two with docking capabilities to handle the minesweeping sleds towed by the CH-53Ms. During the six months of Operation End Sweep, ten ocean minesweepers, nine amphibious ships, six fleet tugs, three salvage ships, and nineteen destroyers operated in Task Force 78 in the vicinity of Haiphong.' As of 2010, Commander Naval Forces Korea, an administrative liaison unit between USFK, the ROK Navy, and Seventh Fleet, has been assigned the TF 78 designation. Naval Forces Korea is headquartered at Busan and has a base at Chinhae, Commander Fleet Activities Chinhae. Task Force 79 – The Marine expeditionary unit or Landing Force assigned to the fleet, consisting of at least a reinforced Marine battalion and its equipment. This unit is separate from the Marine Expeditionary Unit (MEU) normally embarked in USS Bonhomme Richard Amphibious Readiness Group (ARG). Marine units serving in 7th Fleet are normally drawn from III Marine Expeditionary Force based in Okinawa, Japan. Forward-deployed Seventh Fleet ships U.S. Fleet Activities Yokosuka, Japan Carrier Strike Group Five: , , and . Destroyer Squadron 15: , , , , , , and . (flagship) U.S. Fleet Activities Sasebo, Japan Apra Harbor, Guam Fleet commanders The Commander of the 7th Fleet is known as COMSEVENTHFLT. See also NOAA Pacific Islands Fleet Citations References Further reading External links Seventh Fleet News 07 Fleet0007 7 Military units and formations of the United States in the Cold War 1943 establishments in Australia
```shell Rapidly invoke an editor to write a long, complex, or tricky command Execute a command without saving it in history Quick `bash` shortcuts Breaking out of a terminal when `ssh` locks Sequential execution using the `;` statement separator ```
```c++ #include <fc/crypto/base64.hpp> #include <ctype.h> /* base64.cpp and base64.h This source code is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this source code must not be misrepresented; you must not claim that you wrote the original source code. If you use this source code in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original source code. 3. This notice may not be removed or altered from any source distribution. Ren Nyffenegger rene.nyffenegger@adp-gmbh.ch */ namespace fc { inline const std::string& base64_chars() { static const std::string m_base64_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789+/"; return m_base64_chars; } static inline bool is_base64(unsigned char c) { return (isalnum(c) || (c == '+') || (c == '/')); } std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len); std::string base64_encode( const std::string& enc ) { char const* s = enc.c_str(); return base64_encode( (unsigned char const*)s, enc.size() ); } std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len) { std::string ret; int i = 0; int j = 0; unsigned char char_array_3[3]; unsigned char char_array_4[4]; while (in_len--) { char_array_3[i++] = *(bytes_to_encode++); if (i == 3) { char_array_4[0] = (char_array_3[0] & 0xfc) >> 2; char_array_4[1] = ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4); char_array_4[2] = ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6); char_array_4[3] = char_array_3[2] & 0x3f; for(i = 0; (i <4) ; i++) ret += base64_chars()[char_array_4[i]]; i = 0; } } if (i) { for(j = i; j < 3; j++) char_array_3[j] = '\0'; char_array_4[0] = (char_array_3[0] & 0xfc) >> 2; char_array_4[1] = ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4); char_array_4[2] = ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6); char_array_4[3] = char_array_3[2] & 0x3f; for (j = 0; (j < i + 1); j++) ret += base64_chars()[char_array_4[j]]; while((i++ < 3)) ret += '='; } return ret; } std::string base64_decode(std::string const& encoded_string) { int in_len = encoded_string.size(); int i = 0; int j = 0; int in_ = 0; unsigned char char_array_4[4], char_array_3[3]; std::string ret; while (in_len-- && ( encoded_string[in_] != '=') && is_base64(encoded_string[in_])) { char_array_4[i++] = encoded_string[in_]; in_++; if (i ==4) { for (i = 0; i <4; i++) char_array_4[i] = base64_chars().find(char_array_4[i]); char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4); char_array_3[1] = ((char_array_4[1] & 0xf) << 4) + ((char_array_4[2] & 0x3c) >> 2); char_array_3[2] = ((char_array_4[2] & 0x3) << 6) + char_array_4[3]; for (i = 0; (i < 3); i++) ret += char_array_3[i]; i = 0; } } if (i) { for (j = i; j <4; j++) char_array_4[j] = 0; for (j = 0; j <4; j++) char_array_4[j] = base64_chars().find(char_array_4[j]); char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4); char_array_3[1] = ((char_array_4[1] & 0xf) << 4) + ((char_array_4[2] & 0x3c) >> 2); char_array_3[2] = ((char_array_4[2] & 0x3) << 6) + char_array_4[3]; for (j = 0; (j < i - 1); j++) ret += char_array_3[j]; } return ret; } } // namespace fc ```
Bidak (, also Romanized as Bīdak) is a village in Meyami Rural District, Razaviyeh District, Mashhad County, Razavi Khorasan Province, Iran. At the 2006 census, its population was 116, in 31 families. References Populated places in Mashhad County
Eddy Zervigon (born 7 July 1940) is a Cuban flautist and bandleader. He was born in Guines, Cuba but moved to the United States in 1962, where he founded the charanga band Orquesta Broadway with his brothers Rudy and Kelvin. The lead singer was Roberto Torres. A very successful band, Orquesta Broadway toured Africa and Europe. References Living people 1940 births Cuban flautists Cuban emigrants to the United States People from Güines
Les Rencontres Trans Musicales (generally referred to as Les Transmusicales de Rennes) is a music festival that lasts for 3 or 4 days. It is held annually in December. The festival takes place in Rennes, Brittany, France. Since the festival's beginning, it has been renowned for revealing the "next big thing" in music. The festival has become one of the most significant musical events in Europe, attracting over 62,000 people in 2013. It attracted over 80 groups and artists from over 26 nationalities and music industry professionals coming from all continents. Historical Les Rencontres Trans Musicales, often called Les Trans, was created in 1979 by Béatrice Macé, Jean-Louis Brossard, Hervé Bordier (until 1996), Jean-René (until 1989), and other music students. The association was initially in debt, which led to programming a benefit concert. The first concert took place in la salle de la Cité in June. Twelve bands performed on two nights to an audience of approximately 1800 people. The second concert was in December 2013. Jean-Louis Brossard is the artistic director and Sandrine Poutrel is the production manager. Jean-Louis Brossard and Béatrice Macé together lead Les Rencontres Trans Musicales. From the first concerts, before the word 'festival' had been attached to the event, the artistic bias of the line up was toward originality and new artistic forms. The artists who participated in the festival would often rise to the top of the music charts within a few months following their performance. Björk, Ben Harper and Lenny Kravitz all performed for the first time in public in the festival. It is considered that the festival boosted the popularity of Étienne Daho, Arno, Stephan Eicher, Les Négresses Vertes, Nirvana, Bérurier Noir, Denez Prigent, Daft Punk, Amadou & Mariam, Birdy Nam Nam, Justice, Fugees, Stromae, London Grammar and many other bands. In 2004, the festival moved to the Parc Expo, close to Rennes Bretagne Airport. Some concerts are still organized in the town of Rennes. In 2004, the festival moved to the Parc Expo Since 1979, TRANS has shown the ability to capture the musical zeitgeist and to maintain with it a combination of discovery and influence. TRANS exported itself to China, Norway, Czech Republic and Russia. On 8 December 2010, l'Association des Trans Musicales launched a website that recounts the history of the festival. Line-up Striking artists: 1979 : Marquis de Sade 1980 : Étienne Daho, L’Orchestre Rouge 1981 : Carte de Séjour, KaS Product, Les Dogs 1982 : Minimal Compact, Blurt, Marc Minelli 1983 : Cabaret Voltaire, Litfiba, TC Matic, La Fundación 1984 : The Full, Stephan Eicher, Chevalier Brothers 1985 : The Woodentops, Sigue Sigue Sputnik 1986 : Noir Désir, Mint Juleps, Bérurier Noir 1987 : Fishbone, Laibach, Yargo 1988 : Mano Negra, Les Négresses Vertes, The Sugarcubes 1989 : Lenny Kravitz, Einstürzende Neubauten, House of Love 1990 : IAM, Stereo MCs, The La's, FFF 1991 : Zebda, Keziah Jones, MC Solaar, Nirvana 1992 : Denez Prigent, Sonic Youth, Underground Resistance, Suicide 1993 : Björk, Ben Harper, Sinclair, Jamiroquai, Carl Cox 1994 : Portishead, Massive Attack, Beck, The Prodigy, the Offspring 1995 : DJ Shadow, Garbage, Chemical Brothers, Laurent Garnier 1996 : Daft Punk, Nada Surf, Carlinhos Brown, Rinôçérôse 1997 : Cypress Hill, Faudel, Yann Tiersen, Dyonisos, Tortoise 1998 : Fat Boy Slim, Basement Jaxx, Freestylers, DJ Krush 1999 : Macy Gray, Saïan Supa Crew, Coldcut, Groove Armada, Tony Allen 2000 : Bumcello, De La Soul, Goldfrapp, Saul Williams, Amon Tobin 2001 : Gotan Project, Röyksopp, Zéro7, Carl Hancock Rux, Overhead, Bauchklang 2002 : Ginger Ale, Radio 4, Stupeflip, 2 Many DJs, An Pierlé 2003 : Cody Chesnutt, !!!, Ralph Myerz & The Jack Herren Band 2004 : Beastie Boys, Dizzee Rascal, Primal Scream, Ebony Bones 2005 : The Fugees, The Undertones, Coldcut, Brian Jonestown Massacre, Philippe Katerine, Clap Your Hands Say Yeah 2006 : Cassius, Klaxons, Kaiser Chiefs, Razorlight, The Horrors 2007 : Simian Mobile Disco, Boys Noize, Étienne de Crécy, Yuksek, 2008 : Minitel Rose, Birdy Nam Nam, The Shoes, Ebony Bones, The Penelopes, Diplo, Crookers 2009 : The Japanese Popstars, FM Belfast, Fever Ray, The Very Best, Rodriguez, New Politics, Major Lazer 2010 : Stromae, M.I.A., Janelle Monáe, A-Trak 2013 : London Grammar, Jungle, Benjamin Clementine 2014 : Jeanne Added, Shamir The Trans Musicales made it clear from the first edition, in June 1979, and their philosophy never changed: Reflect the reality of musical life Showcase emerging artists Find and promote artistic originality Help fulfill all the necessary conditions for experimentation The International Trans project The international work has been going on since the end of the 1980s. Turned towards research and exploration of musical movements and where they originate, the programming puts us in touch with artists, labels, editors and agents on all continents. On the other hand, the Trans collaboration with foreign media and professionals is strong and continuous. Since the 2001 edition, the International Trans project consolidates and extends their work overseas, in partnership with Cultures France, a governmental operator on all international actions. The project was conceived as a way to extend the collaboration with the artists beyond the time span of a single edition. The line-up included bands that have performed or are about to perform the Trans in Rennes; they are joined by local artists. Previous actions Expo 2002 The Trans Musicales team programmed two evenings at the Cargo, in Neuchâtel, for the Expo. Trans/Ubu/Bato Fou In March 2003 two evenings and two residencies opposing Dj Morpheus vs. El Diabolo (Réunion) and Dj Buddha vs. Tamm Ha Tamm (Réunion). Norway 2005 During the festival, By-Larm, one evening in honour of Rennes and one improvised concert at the top of a glacier. Beijing 18 and 19 June 2005 at Chaoyang Park. A huge stage, 16 artists in front of 16 000 spectators for the first open air festival in the Chinese capital. Russia In 2010, concerts took place in Moscow and Saint Petersburg. Hip-Hop, jazz and electronic music were the main events. Trans on Tour Co-produced by the association Trans Musicales, Trans on Tour offers for the ninth year in a row, the opportunity for local bands to perform in the venues of the Great West. Kick-starting the festival, the main aim of this tour is to assist artists in developing their professionalism. The high point of this tour is a performance at the Trans Musicales for each participating band. The aim is to challenge aspiring artists with a stream of events requiring total immersion in a professional framework. Being on tour means many concert dates, in this case ending with a performance at a festival visited by professionals: this project is a life-size rehearsal for the life of a professional performer. Trans on Tour, conceived first as a boost to the local artistic scene, offers a wide range of tools to the bands: interviews at the beginning and the end of the tour, working time on the stage of the Ubu (local stage in Rennes), a regular follow-up by a specialised team, a promotional video and a dedicated stand at the festival's Village. During this tour with its twenty bands - out of which eight are on an accompaniment program – each concert concludes with the performance of an artist recommended by the host venue. References External links Official website Breton festivals Music festivals in France Rennes Tourist attractions in Brittany Tourist attractions in Ille-et-Vilaine
```c++ #pragma once #include "wayfire/signal-provider.hpp" #include "wayfire/util.hpp" #include <wayfire/txn/transaction-object.hpp> namespace wf { namespace txn { /** * A transaction contains one or more transaction objects whose state should be applied atomically, that is, * changes to the objects should be applied only after all the objects are ready to apply the changes. */ class transaction_t : public signal::provider_t { public: using timer_setter_t = std::function<void (uint64_t, wf::wl_timer<false>::callback_t)>; /** * Create a new transaction. * * @param timeout The timeout for the transaction in milliseconds after it is committed. * -1 means that core should pick a default timeout. */ static std::unique_ptr<transaction_t> create(int64_t timeout = -1); /** * Create a new empty transaction. * * @param timer A function used to set timeout callbacks at runtime. * @param timeout The maximal duration, in milliseconds, to wait for transaction objects to become ready. * When the timeout is reached, all committed state is applied. */ transaction_t(uint64_t timeout, timer_setter_t timer_setter); /** * Add a new object to the transaction. If the object was already part of it, this is no-op. */ void add_object(transaction_object_sptr object); /** * Get a list of all the objects currently part of the transaction. */ const std::vector<transaction_object_sptr>& get_objects() const; /** * Commit the transaction, that is, commit the pending state of all participating objects. * As soon as all objects are ready or the transaction times out, the state will be applied. */ void commit(); virtual ~transaction_t() = default; private: std::vector<transaction_object_sptr> objects; int count_ready_objects = 0; uint64_t timeout; timer_setter_t timer_setter; void apply(bool did_timeout); wf::signal::connection_t<object_ready_signal> on_object_ready; }; using transaction_uptr = std::unique_ptr<transaction_t>; /** * A signal emitted on a transaction as soon as it has been applied. */ struct transaction_applied_signal { transaction_t *self; // Set to true if the transaction timed out and the desired object state may not have been achieved. bool timed_out; }; } } ```
Nostalgia is the sixth studio album by Scottish singer-songwriter Annie Lennox. It was released on 30 September 2014 by Island Records. It is Lennox's first album in four years, and her third album of covers. The album consists entirely of cover versions, mainly of compositions from the Great American Songbook originally written in the 1930s; two compositions initially date from the 1950s. The material was researched and learned by Lennox as she studied archival footage uploaded to YouTube. Nostalgia debuted at number nine on the UK Albums Chart, becoming Lennox's sixth UK top-10 solo album. It has since been certified Gold by the BPI for sales in excess of 100,000 copies in the UK. It debuted at number 10 on the US Billboard 200 with first-week sales of 32,000 copies, earning Lennox her third top-10 solo album on the chart, as well as her first-ever number-one album on both Billboards Jazz Albums and Traditional Jazz Albums charts. It had sold 139,000 copies in the United States as of April 2015. Nostalgia peaked inside the top ten in Austria, Canada, Italy and Switzerland. The album was nominated for Best Traditional Pop Vocal Album at the 57th Grammy Awards. Background and release On 15 August 2014, Lennox published a blog post on her official website announcing the upcoming release of Nostalgia. She stated that the album would initially be released on vinyl LP format on 30 September 2014 as a three-week vinyl exclusive. Nostalgia was previewed to a small audience at the Hollywood Forever Cemetery in Los Angeles on 12 August 2014. Promotion Lennox explained that she did not plan to tour as extensively as she did in support of her album Songs of Mass Destruction (2007). She told Billboard that "at this point in time, less is more for me. I'm more about quality than quantity, and I think this is quite a niche place to be." The single "I Put a Spell on You" received its first radio play on 15 September 2014 by Ken Bruce on BBC Radio 2. Lennox performed the song at the 57th Annual Grammy Awards in 2015, and coupled with the inclusion of the track as the opening song of the film Fifty Shades of Grey, pushed it into the Billboard Hot 100 at number 97 in February 2015. It also entered the UK Singles Chart at number 63 that same month. Despite a relatively lowly chart peak, in October 2022 the single was certified Silver by the BPI denoting sales/equivalent streams of 200,000 copies in the UK, making it one of Lennox's most popular singles. Critical response Nostalgia received generally favourable reviews from critics. At Metacritic, the album has a score of 68 out of 100 based on eight reviews. Mojo gave the album a positive review, stating it was "Straight and true, without a trace of rear-view-mirror sentimentality." Mike Wass of Idolator wrote that Lennox "breathes new life into the much-covered gems with perhaps the best vocal performance of her long and varied career", noting the assistance given by the "haunting arrangements". He stated that it would be an understatement to call the album "a departure from Annie's usual oeuvre," and that Lennox "puts her own inimitable spin" on the tracks. In a mixed review, The Guardian stated "Lennox can't hope to approach the anguish or disgust of Billie Holiday's original 'Strange Fruit', so why even try, unless you're going to totally reinvent the song like the Cocteau Twins did? Lennox is at her best when she sounds most involved, and her beautiful takes on 'Georgia on My Mind', 'God Bless the Child' and 'You Belong to Me' are full of poignancy and yearning." Track listing Personnel Credits for Nostalgia adapted from Tidal. Musicians Annie Lennox - all vocals, Fender Rhodes piano, flute, organ, percussion, piano, string arrangement Mike Stevens - production, accordion, guitar, harmonica, keyboards, organ, vibraphone Chris Hill - bass guitar, double bass Ivan Hussey - cello Neal Wilkinson - drums Nichol Thomposn - trombone Simon Finch - trumpet Stephen Hussey - viola, violin, orchestration Richard Brook - percussion Technical Mike Stevens - production, engineering, mixing, programming, studio personnel Mandy Parnell - master engineering, studio personnel Cameron Craig - studio personnel Artwork Gavin Taylor - art direction, design Robert Sebree - photography Charts Weekly charts Year-end charts Certifications Release history References 2014 albums Annie Lennox albums Blue Note Records albums Covers albums Island Records albums Traditional pop albums
Events from the year 1730 in Canada. Incumbents French Monarch: Louis XV British and Irish Monarch: George II Governors Governor General of New France: Charles de la Boische, Marquis de Beauharnois Colonial Governor of Louisiana: Étienne Perier Governor of Nova Scotia: Lawrence Armstrong Commodore-Governor of Newfoundland: Henry Osborn Events Seven Cherokee chiefs visit London and form an alliance, The Articles of Agreement, with King George II. 1730s: The Mississauga drive the Seneca Iroquois south of Lake Erie. Births Deaths Antoine Laumet Cadillac, founder of Detroit. Historical documents Jesuit's long report on Saguenay region, it's geography and Mistassini Cree, and Innu (Montagnais) near Tadoussac (Note: "savages" used) New York governor seeks way to subsidize Oswego garrison and trade (key to Six Nations support) with tax acceptable to Assembly and Crown "That they might live and settle among them" - French and Meskwaki (Fox) in Seneca territory concern New York Indian commissioners N.Y. legislators on backfired past attempt to squeeze French out of Indigenous trade, and effect of current trouble from Oswego traders French send "a thousand sail of ships annually" to fish off Newfoundland and had 220,000 quintals of cod for Marseille market in 1730 Legal advice that Newfoundland justices' powers don't include judging property cases, and taxation must have consent of some popular assembly "Hundreds of these poor creatures are beging [sic] up and down" - Servants' wages are withheld at end of fishing season, leaving them destitute Fishing admirals hold themselves superior to justices of the peace and Governor Osborn, whose authority is "only from the Privy Council" "So avers to all Government" - Fishing captains and traders won't support civil authority, even at tax rate of "one farthing in the pound" Newfoundlanders ask protection from price gouging by "masters of shipps," and that their flax and hemp "be sent home freight free" History of 1720s fighting between Saint George River settlers and "French Indians" to keep former's land out of "the hands of the Indians" Surveyor of His Majesty's Woods told to, "by the most gentle usage," deter Penobscot from hindering settlement beyond Saint George River In face of aggressiveness from Massachusetts, David Dunbar reaches out to Penobscot and their Canada-educated, mixed-race comrade Gov. Belcher objects to Dunbar's settlements between Sagadahoc (Kennebec) River and Gulf of St. Lawrence, which Massachusetts claims Nova Scotia governor offers Dunbar his limited advice on Penobscot (Note: "animals" and "savages" used) Dunbar relates complaints of Minas region merchants required to discount wares they supply to Annapolis Royal garrison Sure that his own settlements will take years to actualize, Gov. Philipps envies way new "Province of Maine" governor attracts settlers David Dunbar criticized for settlement names like "Province of Georgia" (it's Nova Scotia land) and "Fredericksburg" (which isn't English) Fidelity oath (in French) signed by Annapolis Acadians, plus their address welcoming governor's written assurance of religious rights 1755 Acadian petition includes 1730 fidelity oath (in English) and testimony that Gov. Philipps promised them neutrality at that time With brief French lesson, Trade Board says oath given to Annapolis Acadians doesn't actually require their fidelity to His Majesty "Good management, plain reasoning and presents" - Philipps reports that Indigenous and French have submitted to British governance Oath of allegiance signed by 591 of "the French inhabitants of Nova Scotia" Philipps again appeals for adequate defence of Canso, pointing out its £30-40,000 value in duties and its 6–7 hours march from French forces Philipps told issuing settler-requested £2,000 in paper money impossible "till you shall have an Assembly," and then with "very great caution" David Dunbar worried about working in Nova Scotia, where people are afraid to travel and "are even insulted in their garrisons" Philipps to assist in settling Irish and Palatines in defensible townships between Penobscot and St. Croix rivers (Note: "savage" used) Fine and prison sentence set for "wild fellows who catch the horses in the fields and race them to the great detriment of the beasts" Hudson's Bay Company employee reports on wild rice, good grass for hay, and thriving fruit trees (!) in Moose River country Governors instructed not to seize whale products or discourage that fishery but "to encourage the same to the utmost of their power" References 1730 in New France 1730s in Canada Canada 30
The Golden Screw was an Off-Off-Broadway folk rock musical written and performed by Tom Sankey which premiered at the Theatre Genesis in September 1966. It ran again from January 30, 1967 to March 5, 1967 at the Provincetown Playhouse in Greenwich Village. The show's cast album was the first rock theatrical recording of its kind. The play follows a Bob Dylanesque singer figure from folk music roots to commercialization. A subsequent production was mounted at Toronto's Global Village Theatre in 1972. Directed by Sankey, the cast included Elan Ross Gibson, Francois Regis-Klanfer and Yank Azman with music by Larry Wells (piano) and Fergus Hambleton, (guitar.) Play The play was directed by David Eliscu, produced by Paul Stoudt, and the cast included: Tom Sankey, Janet Day, Patrick Sullivan and Murray Paskin. The musicians were Tom Sankey (autoharp), Jack Hopper (guitar) and members of The Inner Sanctum: Kevin Michael (lead guitar), Gerry Michael (drums), Vince Taggart (rhythm guitar). The script was published as The Golden Screw, Or That's Your Thing, Baby (1968). Track listing Bad Girl New Evaline You Won't Say No The Beautiful People I Heard My Mother Crying I Can't Make It Anymore Jesus Come Down 2000 Miles Trip Tick Talking Blues Can I Touch You That's Your Thing, Baby I Can't Remember Bottom End of Bleecher Street Flippin' Out - Little White Dog See also Hair (musical) The Golden Screw opened nine months before Hair. References 1966 musicals 1967 albums American musicals
```python # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/protobuf/source_context.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='google/protobuf/source_context.proto', package='google.protobuf', syntax='proto3', serialized_pb=_b('\n$google/protobuf/source_context.proto\x12\x0fgoogle.protobuf\"\"\n\rSourceContext\x12\x11\n\tfile_name\x18\x01 \x01(\tB\x95\x01\n\x13\x63om.google.protobufB\x12SourceContextProtoP\x01ZAgoogle.golang.org/genproto/protobuf/source_context;source_context\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3') ) _SOURCECONTEXT = _descriptor.Descriptor( name='SourceContext', full_name='google.protobuf.SourceContext', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='file_name', full_name='google.protobuf.SourceContext.file_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=57, serialized_end=91, ) DESCRIPTOR.message_types_by_name['SourceContext'] = _SOURCECONTEXT _sym_db.RegisterFileDescriptor(DESCRIPTOR) SourceContext = _reflection.GeneratedProtocolMessageType('SourceContext', (_message.Message,), dict( DESCRIPTOR = _SOURCECONTEXT, __module__ = 'google.protobuf.source_context_pb2' # @@protoc_insertion_point(class_scope:google.protobuf.SourceContext) )) _sym_db.RegisterMessage(SourceContext) DESCRIPTOR.has_options = True DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\023com.google.protobufB\022SourceContextProtoP\001ZAgoogle.golang.org/genproto/protobuf/source_context;source_context\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes')) # @@protoc_insertion_point(module_scope) ```
```c++ /* ============================================================================== JoyConModule.cpp Created: 23 Jan 2018 4:30:24pm Author: Ben ============================================================================== */ JoyConModule::JoyConModule() : Module(getDefaultTypeString()), Thread("joycon"), leftValues("Left Controller"), rightValues("Right Controller") { valuesCC.addChildControllableContainer(&leftValues); valuesCC.addChildControllableContainer(&rightValues); reconnectControllers = moduleParams.addTrigger("Reconnect Controllers", "If the controllers were not powered on at initialization, then you can connect by clicking here"); useJitterThreshold = moduleParams.addBoolParameter("Use Jitter Threshold", "Only send accel/orentiation/stick changes if the delta is greater than the jitter threshold.", true); jitterThreshold = moduleParams.addFloatParameter("Jitter Threshold", "Delta change threshold for analog inputs. Only update values if the change is greater than the threshold.", 0.005, 0.0, 0.1, true); leftAccel = leftValues.addPoint3DParameter("Left Accel", ""); leftAccel->setBounds(-1, -1, -1, 1, 1, 1); leftOrientation = leftValues.addPoint3DParameter("Left Orientation", ""); leftOrientation->setBounds(-1, -1, -1, 1, 1, 1); leftAxis = leftValues.addPoint2DParameter("Left Axis", ""); leftAxis->setBounds(-1, -1, 1, 1); lStick = leftValues.addBoolParameter("Left Stick", "", false); up = leftValues.addBoolParameter("Up", "", false); down = leftValues.addBoolParameter("Down", "", false); left = leftValues.addBoolParameter("Left", "", false); right = leftValues.addBoolParameter("Right", "", false); l = leftValues.addBoolParameter("L", "", false); zl = leftValues.addBoolParameter("ZL", "", false); leftSL = leftValues.addBoolParameter("Left SL", "", false); leftSR = leftValues.addBoolParameter("Left SR", "", false); minus = leftValues.addBoolParameter("-", "", false); capture = leftValues.addBoolParameter("Capture", "", false); rightAccel = rightValues.addPoint3DParameter("Right Accel", ""); rightAccel->setBounds(-1, -1, -1, 1, 1, 1); rightOrientation = rightValues.addPoint3DParameter("Right Orientation", ""); rightOrientation->setBounds(-1, -1, -1, 1, 1, 1); rightAxis = rightValues.addPoint2DParameter("Right Axis", ""); rightAxis->setBounds(-1, -1, 1, 1); rStick = rightValues.addBoolParameter("Right Stick", "", false); a = rightValues.addBoolParameter("A", "", false); b = rightValues.addBoolParameter("B", "", false); x = rightValues.addBoolParameter("X", "", false); y = rightValues.addBoolParameter("Y", "", false); r = rightValues.addBoolParameter("R", "", false); zr = rightValues.addBoolParameter("ZR", "", false); rightSL = rightValues.addBoolParameter("Right SL", "", false); rightSR = rightValues.addBoolParameter("Right SR", "", false); plus = rightValues.addBoolParameter("+", "", false); home = rightValues.addBoolParameter("Home", "", false); //for (auto &c : leftValues.controllables) c->isControllableFeedbackOnly = true; //for (auto &c : rightValues.controllables) c->isControllableFeedbackOnly = true; startThread(); } JoyConModule::~JoyConModule() { stopThread(500); } void JoyConModule::connectControllers() { LOG("Connecting Joycons..."); int numConnected = JslConnectDevices(); int connectedDevices[32]; int deviceHandles = JslGetConnectedDeviceHandles(connectedDevices, numConnected); controllers.clear(); for (int i = 0; i < deviceHandles; i++) { controllers.add(connectedDevices[i]); JslSetPlayerNumber(connectedDevices[i], i + 1); } LOG(controllers.size() << " controllers found."); } void JoyConModule::updateController(int controller) { if (isClearing || !enabled->boolValue()) return; //Left controller int type = JslGetControllerType(controller); JOY_SHOCK_STATE state = JslGetSimpleState(controller); MOTION_STATE motion = JslGetMotionState(controller); float tmpThreshold = jitterThreshold->getValue(); if (type == 1) { up->setValue((state.buttons >> 0) & 1); down->setValue((state.buttons >> 1) & 1); left->setValue((state.buttons >> 2) & 1); right->setValue((state.buttons >> 3) & 1); minus->setValue((state.buttons >> 5) & 1); lStick->setValue((state.buttons >> 6) & 1); l->setValue((state.buttons >> 8) & 1); zl->setValue((state.buttons >> 10) & 1); capture->setValue((state.buttons >> 17) & 1); leftSL->setValue((state.buttons >> 18) & 1); leftSR->setValue((state.buttons >> 19) & 1); tmpDeltaX = abs(lastLeftAccelX - motion.accelX); tmpDeltaY = abs(lastLeftAccelY - motion.accelY); tmpDeltaZ = abs(lastLeftAccelZ - motion.accelZ); if (useJitterThreshold->getValue() && (tmpDeltaX > tmpThreshold || tmpDeltaY > tmpThreshold || tmpDeltaZ > tmpThreshold)) { lastLeftAccelX = motion.accelX; lastLeftAccelY = motion.accelY; lastLeftAccelZ = motion.accelZ; leftAccel->setVector(motion.accelX, motion.accelY, motion.accelZ); } else if(!useJitterThreshold->getValue()) { leftAccel->setVector(motion.accelX, motion.accelY, motion.accelZ); } tmpDeltaX = abs(lastLeftOrientationX - motion.gravX); tmpDeltaY = abs(lastLeftOrientationY - motion.gravY); tmpDeltaZ = abs(lastLeftOrientationZ - motion.gravZ); if (useJitterThreshold->getValue() && (tmpDeltaX > tmpThreshold || tmpDeltaY > tmpThreshold || tmpDeltaZ > tmpThreshold)) { lastLeftOrientationX = motion.gravX; lastLeftOrientationY = motion.gravY; lastLeftOrientationZ = motion.gravZ; leftOrientation->setVector(motion.gravX, motion.gravY, motion.gravZ); } else if (!useJitterThreshold->getValue()) { leftOrientation->setVector(motion.gravX, motion.gravY, motion.gravZ); } tmpDeltaX = abs(lastLeftAxisX - state.stickLX); tmpDeltaY = abs(lastLeftAxisY - state.stickLY); if (useJitterThreshold->getValue() && (tmpDeltaX > tmpThreshold || tmpDeltaY > tmpThreshold)) { lastLeftAxisX = state.stickLX; lastLeftAxisY = state.stickLY; leftAxis->setPoint(state.stickLX, state.stickLY); } else if (!useJitterThreshold->getValue()) { leftAxis->setPoint(state.stickLX, state.stickLY); } } else if (type == 2) { plus->setValue((state.buttons >> 4) & 1); rStick->setValue((state.buttons >> 7) & 1); r->setValue((state.buttons >> 9) & 1); zr->setValue((state.buttons >> 11) & 1); b->setValue((state.buttons >> 12) & 1); a->setValue((state.buttons >> 13) & 1); y->setValue((state.buttons >> 14) & 1); x->setValue((state.buttons >> 15) & 1); home->setValue((state.buttons >> 16) & 1); rightSL->setValue((state.buttons >> 18) & 1); rightSR->setValue((state.buttons >> 19) & 1); tmpDeltaX = abs(lastRightAccelX - motion.accelX); tmpDeltaY = abs(lastRightAccelY - motion.accelY); tmpDeltaZ = abs(lastRightAccelZ - motion.accelZ); if (useJitterThreshold->getValue() && (tmpDeltaX > tmpThreshold || tmpDeltaY > tmpThreshold || tmpDeltaZ > tmpThreshold)) { lastRightAccelX = motion.accelX; lastRightAccelY = motion.accelY; lastRightAccelZ = motion.accelZ; leftAccel->setVector(motion.accelX, motion.accelY, motion.accelZ); } else if (!useJitterThreshold->getValue()) { leftAccel->setVector(motion.accelX, motion.accelY, motion.accelZ); } tmpDeltaX = abs(lastRightOrientationX - motion.gravX); tmpDeltaY = abs(lastRightOrientationY - motion.gravY); tmpDeltaZ = abs(lastRightOrientationZ - motion.gravZ); if (useJitterThreshold->getValue() && (tmpDeltaX > tmpThreshold || tmpDeltaY > tmpThreshold || tmpDeltaZ > tmpThreshold)) { lastRightOrientationX = motion.gravX; lastRightOrientationY = motion.gravY; lastRightOrientationZ = motion.gravZ; rightOrientation->setVector(motion.gravX, motion.gravY, motion.gravZ); } else if (!useJitterThreshold->getValue()) { rightOrientation->setVector(motion.gravX, motion.gravY, motion.gravZ); } tmpDeltaX = abs(lastRightAxisX - state.stickLX); tmpDeltaY = abs(lastRightAxisY - state.stickLY); if (useJitterThreshold->getValue() && (tmpDeltaX > tmpThreshold || tmpDeltaY > tmpThreshold)) { lastRightAxisX = state.stickLX; lastRightAxisY = state.stickLY; rightAxis->setPoint(state.stickLX, state.stickLY); } else if (!useJitterThreshold->getValue()) { rightAxis->setPoint(state.stickLX, state.stickLY); } } } void JoyConModule::onControllableFeedbackUpdateInternal(ControllableContainer * cc, Controllable * c) { Module::onControllableFeedbackUpdateInternal(cc, c); if (c->parentContainer == &valuesCC || c->parentContainer->parentContainer == &valuesCC) { inActivityTrigger->trigger(); } else if (c == reconnectControllers) { stopThread(500); startThread(); } } void JoyConModule::run() { connectControllers(); float rate = jmax(50.0f, 100.0f, JslGetPollRate(0)); int msToWait = 1000 / rate; while (!threadShouldExit()) { try { for (auto& controller : controllers) updateController(controller); wait(msToWait); } catch (std::exception e) { LOGERROR("Error while updating the joycon : " << e.what()); break; } } controllers.clear(); JslDisconnectAndDisposeAll(); } ```
Sicario: Day of the Soldado (also known as Sicario 2: Soldado and Soldado) is a 2018 American action-thriller film directed by Stefano Sollima and written by Taylor Sheridan. A sequel to 2015's Sicario, the film features Benicio del Toro, Josh Brolin, Jeffrey Donovan, and Raoul Trujillo reprising their roles, with Isabela Moner, Manuel Garcia-Rulfo, and Catherine Keener joining the cast. The story relates to human trafficking at the U.S.-Mexico border and an attempt by the United States government to incite increased conflict among the cartels. Sicario: Day of the Soldado was released in the United States and Canada on June 29, 2018, by Sony Pictures Releasing under its Columbia Pictures label, while it was distributed internationally by Lionsgate (excluding Latin America and Spain, where it was distributed by Sony). The film is dedicated to the memory of Jóhann Jóhannsson, the composer of the first film, who died four months before it came out. It received generally favorable reviews from critics. A sequel, titled Sicario: Capos, is in development. Plot A suicide bombing by ISIS in a Kansas City grocery store kills fifteen people. In response, the United States government orders CIA officer Matt Graver to apply extreme measures to combat Mexican drug cartels who are suspected of having smuggled the terrorists across the U.S.-Mexico border. Graver and the Department of Defense decide the best option is to instigate a war between the major cartels, and Graver recruits operative Alejandro Gillick for the mission. Graver also meets with PMC official Andy Wheeldon to secure mercenaries, helicopters, and encrypted communication equipment in order for the U.S. to maintain plausible deniability while combating the Mexican cartels. Gillick assassinates a high-profile lawyer of the Matamoros cartel in Mexico City while Graver and his team capture Isabel Reyes, the daughter of Carlos Reyes (kingpin of the Sonoran drug cartel, rivals of the Matamoros), in a false flag operation. Graver, Gillick and their team take Isabel to a safe house in Texas. They stage a DEA raid and pretend to rescue her, making her believe that she had been captured by the Matamoros cartel. They take her to an American military base while the team organizes her return to Mexico. They plan to leave her behind in a Mexican Federal Police depot located inside territory controlled by her father's rivals to further escalate the inter-cartel conflict. However, after they cross into Mexico, the corrupt police escort turns against them and attacks the American armored vehicles. In the firefight that ensues, Graver and his team kill 25 Mexican policemen to escape the ambush. Amidst the chaos, Isabel runs away into the desert. Gillick goes after her alone while the rest of the team returns to the United States. Meanwhile, the American government determines that at least two of the suicide bombers in Kansas City were in fact domestic terrorists, not foreign nationals, and thus were not smuggled into the United States by the cartels. To quell tensions with Mexico, the Secretary of Defense orders the CIA to abandon the mission. Learning that Isabel witnessed the Americans shooting the Mexican police, the Secretary orders the team to erase all proof of American involvement by killing Isabel and Gillick. Graver in turn warns Gillick and orders him to kill Isabel, but Gillick refuses and turns rogue in order to keep her alive. Both have found shelter at an isolated farm in the desert for the night. Gillick knows that if they stay in Mexico, Isabel will be killed. With few resources, they disguise themselves as illegal immigrants and pay human traffickers to help them re-enter the United States. Graver and his team fly covertly into Mexico on Black Hawks, tracking a GPS device that Gillick has activated and embedded into Isabel's shoe. At the point of departure for the border, Miguel, a young Mexican-American who has been recruited as a coyote, recognizes Gillick from an encounter in a Texas parking lot two days earlier. He alerts his boss, who takes Gillick and Isabel hostage. As a gang initiation, Miguel is forced to shoot a hooded Gillick in the head. Upset, Miguel abandons the gang and walks off by himself. Graver witnesses the apparent killing of Gillick through live satellite imaging and his team track down and eliminate the Mexican gang. They find Isabel, and defying his own orders, Graver decides to bring her to the U.S. and place her in witness protection. Meanwhile, Gillick regains consciousness and discovers he has been shot through the cheek. He is chased by a gang search party but he kills its members by throwing a grenade into the pursuing car. One year later, a now heavily gang-tattooed Miguel is in the Texas mall where he first saw Gillick. He enters the office of his gang contact but instead finds Gillick waiting for him. Gillick says to an inscrutable Miguel: "So you want to be a sicario? Let's talk about your future." Cast Production In September 2015, Lionsgate commissioned a sequel to Sicario, centering on Benicio del Toro's character. The project was being overseen by writer Taylor Sheridan, with Denis Villeneuve initially involved. In April 2016, producers Molly Smith and Trent Luckinbill said Emily Blunt, del Toro and Josh Brolin would return. By June 1, 2016, Italian director Stefano Sollima had been hired to direct what was now titled Soldado from a script by Sheridan. On October 27, 2016, Catherine Keener was cast in the film, which Lionsgate and Black Label Media financed, and which was produced by Thunder Road's Basil Iwanyk, Black Label's Molly Smith and Thad and Trent Luckinbill, and Edward McDonnell. By November 2016, Blunt was no longer attached. The following month, Isabela Moner, David Castaneda and Manuel Garcia-Rulfo joined the cast. Jeffrey Donovan, who returned as Steve Forsing, said that the story would focus on Forsing, Gillick and Graver "going down into Mexico to basically start a war, on purpose, between the rival Mexican cartels," and described the film as a "stand-alone spin-off" rather than a sequel or prequel. In January 2017, Elijah Rodriguez, Matthew Modine and Ian Bohen also joined the cast. Sheridan said, "if Sicario is a film about the militarization of police and that blending over, this is removing the policing aspect from it." Principal photography on the film began in New Mexico on November 8, 2016, and then it was shot in Mexico City and Tijuana, Baja California. Music Hildur Guðnadóttir composed the score for the film, after collaborating with Jóhann Jóhannsson on the first film as cello soloist. The soundtrack was released by Varese Sarabande Records. Release The film was originally set to be released by Lionsgate in the United States, under the title Soldado, but a disagreement between Lionsgate and production company Black Label Media saw the North American distribution rights change to Sony Pictures Releasing through its Columbia Pictures label, who then changed the title to Sicario 2: Soldado (which is the UK title) and then thereafter to Sicario: Day of the Soldado, in the North American market. Sony Pictures distributed the film in the United States, Canada, Latin America and Spain, while Lionsgate distributed it in the United Kingdom, as well as handling international rights to other independent distributors. In August 2017, Sony set the release date for June 29, 2018. Marketing On December 19, 2017, the first trailer was released. The second trailer debuted on March 19, 2018, confirming the new title as Sicario: Day of the Soldado. The film was released outside North America under the title Sicario 2: Soldado in some locations, and in Italy, the Philippines and others keeping the initial title of Soldado. Reception Box office Sicario: Day of the Soldado grossed $50.1 million in the United States and Canada, and $25.7 million in other territories, for a total worldwide gross of $75.8 million. The studio has stated the production budget was $35 million, although Deadline Hollywood reported the film cost as high as $45 million before prints and advertising. In the United States and Canada, Day of the Soldado was released alongside Uncle Drew, and was initially projected to gross around $12 million from 3,055 theaters in its opening weekend. After making $7.5 million on its first day (including $2 million from Thursday night previews), estimates were raised to $19 million. Its debut was ultimately $19.1 million, an improvement over the $12.1 million the first film took in during its wide expansion, and third at the box office that weekend, behind other sequels such as Jurassic World: Fallen Kingdom and Incredibles 2. It fell 61% in its second weekend, to $7.3 million, finishing fifth at the box office. Critical response On review aggregation website Rotten Tomatoes, Day of the Soldado holds an approval rating of based on reviews, with an average rating of . The website's critical consensus reads, "Though less subversive than its predecessor, Sicario: Day of the Soldado succeeds as a stylish, dynamic thriller—even if its amoral machismo makes for grim viewing." On Metacritic, the film has a weighted average score of 61 out of 100, based on 50 critics, indicating "generally favorable reviews". Audiences polled by CinemaScore gave the film an average grade of "B" on an A+ to F scale, down from the first film's "A−". Varietys Peter Debruge called the film "tense, tough, and shockingly ruthless at times," and wrote, "Soldado may not be as masterful as Villeneuve's original, but it sets up a world of possibilities for elaborating on a complex conflict far too rich to be resolved in two hours' time." Todd McCarthy of The Hollywood Reporter praised the film as a "worthy, rough-and-tough sequel", highlighting the direction, lead performances and Sheridan's script, and saying "Sicario: Day of the Soldado emerges as a dynamic action drama in its own right." Darren Franich of Entertainment Weekly gave the film a 'B' rating, praising the performance of Del Toro while criticizing the plot, stating: "Alejandro (played by Del Toro) assassinates a cartel functionary in broad daylight... He executes the man, firing his gun exactly 417 times. So Sicario 2 is junk, but it's terrifically stylish junk. Director Stefano Solima has worked in Italian crime thrillers, and he brings a run-and-gun humanity to this, suggesting complexities of border society where the first film defaulted to moody hellscapery". Time magazine's Stephanie Zacharek found the film to be adequate, though lacking the presence of a character in the sequel as emotive as the one played by Emily Blunt in the original, stating: "There's not a Blunt in sight, though special task force macho men Matt Graver and Alejandro... return. This time their job is to stir up a war between rival Mexican drug cartels; part of the scheme involves kidnapping a drug lord's scrappy teenage daughter. Although she has enough teen-beat orneriness to kick both Matt's and Alejandro's butts, the movie doesn't let her." In an opinion piece for NBC News, Ani Bundel called the film "as implausible as it is irresponsible" and criticized the use of negative stereotypes, concluding that the film "is the worst kind of propaganda, in that it probably doesn't even realize just how harmful it really is." Monica Castillo at IndieWire describes the first film as an unsympathetic portrayal of Mexicans, and compares the sequel to state-sanctioned propaganda, decrying the "xenophobic absurdity" of it. Possible sequel In June 2018, prior to the release of Soldado, producer Trent Luckinbill stated that a third film is in development. In January 2021, it was noted that the producers hoped to start filming of a third installment in the spring or summer of that year. It was revealed that the third film will be named Sicario: Capos. In February 2021, producer Molly Smith said the film was still in development. In September 2023, it was reported that a script was being written prior to the 2023 Writers Guild of America strike, with writers ready to continue whenever the strike should end. See also Mexico-United States relations Coyote (person) List of films featuring the deaf and hard of hearing References External links Sicario (film series) 2018 films 2018 action thriller films American action thriller films American sequel films Black Label Media films Columbia Pictures films Lionsgate films Films about the Federal Bureau of Investigation Films about the Central Intelligence Agency Films about drugs Films about Mexican drug cartels Films about terrorism Films about witness protection Films directed by Stefano Sollima Films produced by Basil Iwanyk Films scored by Hildur Guðnadóttir Films set in Mexico City Films set in New Mexico Films set in Texas Films shot in New Mexico Films with screenplays by Taylor Sheridan Thunder Road Films films 2010s English-language films 2010s American films
King's Quest (video game) may refer to: King's Quest I, a 1984 video game King's Quest (2015 video game)
Sacred Music is a documentary series broadcast on BBC Four and BBC Two from 2008. Presented by actor and former chorister Simon Russell Beale, it is produced in conjunction with The Open University and features performances and interviews by Harry Christophers and his choir, The Sixteen. Regular episodes Series 1 Series 2 Specials Release and reception Home Media Most episodes have been released on DVD under The Sixteen's own label, Coro. References External links http://www.open2.net/sacredmusic/index.html 2008 British television series debuts 2015 British television series endings 2000s British music television series 2010s British music television series BBC high definition shows BBC Television shows English-language television shows
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package com.oracle.svm.core.memory; import org.graalvm.nativeimage.ImageSingletons; import org.graalvm.nativeimage.impl.UnmanagedMemorySupport; import org.graalvm.word.PointerBase; import org.graalvm.word.UnsignedWord; import org.graalvm.word.WordFactory; import com.oracle.svm.core.Uninterruptible; import com.oracle.svm.core.feature.AutomaticallyRegisteredFeature; import com.oracle.svm.core.feature.InternalFeature; import com.oracle.svm.core.headers.LibCSupport; import com.oracle.svm.core.util.UnsignedUtils; import jdk.graal.compiler.api.replacements.Fold; /** * Delegates to the libc-specific memory management functions. Some platforms use a different * implementation. */ class UnmanagedMemorySupportImpl implements UnmanagedMemorySupport { @Override @Uninterruptible(reason = "Called from uninterruptible code.", mayBeInlined = true) public <T extends PointerBase> T malloc(UnsignedWord size) { /* * Some libc implementations may return a nullptr when the size is 0. We use a minimum size * of 1 to ensure that we always get a unique pointer if the allocation succeeds. */ UnsignedWord allocationSize = UnsignedUtils.max(size, WordFactory.unsigned(1)); return libc().malloc(allocationSize); } @Override @Uninterruptible(reason = "Called from uninterruptible code.", mayBeInlined = true) public <T extends PointerBase> T calloc(UnsignedWord size) { return libc().calloc(WordFactory.unsigned(1), size); } @Override @Uninterruptible(reason = "Called from uninterruptible code.", mayBeInlined = true) public <T extends PointerBase> T realloc(T ptr, UnsignedWord size) { return libc().realloc(ptr, size); } @Override @Uninterruptible(reason = "Called from uninterruptible code.", mayBeInlined = true) public void free(PointerBase ptr) { libc().free(ptr); } @Fold static LibCSupport libc() { return ImageSingletons.lookup(LibCSupport.class); } } @AutomaticallyRegisteredFeature class UnmanagedMemorySupportFeature implements InternalFeature { @Override public void duringSetup(DuringSetupAccess access) { if (!ImageSingletons.contains(UnmanagedMemorySupport.class)) { ImageSingletons.add(UnmanagedMemorySupport.class, new UnmanagedMemorySupportImpl()); } } } ```
The crested francolin (Ortygornis sephaena) is a species of bird in the family Phasianidae. It is found in southern Africa. One of its subspecies, Ortygornis sephaena rovuma, is sometimes considered a separate species, Kirk's francolin. Taxonomy Formerly, the crested francolin was classified in its own genus Dendroperdix, but phylogenetic analysis indicates that it groups with the grey francolin (O. pondicerianus) and swamp francolin (O. gularis). As a result, all three species were reclassified into the genus Ortygornis. Subspecies Subspecies include: O. s. grantii (Hartlaub, 1866) O. s. rovuma (Gray, GR, 1867) - Kirk's francolin O. s. spilogaster (Salvadori, 1888) O. s. zambesiae (Mackworth-Praed, 1920) O. s. sephaena (Smith, A, 1836) References External links Crested Francolin - Species text in The Atlas of Southern African Birds Birds described in 1836 Ortygornis Taxonomy articles created by Polbot Taxobox binomials not recognized by IUCN
```scss @import "../../common"; // react-day-picker does not conform to our naming scheme /* stylelint-disable selector-class-pattern */ .#{$ns}-daterangepicker { display: flex; .DayPicker-NavButton--interactionDisabled { display: none; } // ensure min-widths are set correctly for variants of contiguous months, single month, and shortcuts &.#{$ns}-daterangepicker-contiguous .DayPicker { min-width: $datepicker-min-width + $pt-grid-size; } &.#{$ns}-daterangepicker-single-month .DayPicker { min-width: $datepicker-min-width; } .DayPicker-Day { // we only want outside days to be shown when displaying one month at a time // path_to_url#r98813760 &--outside { visibility: hidden; } &--hovered-range { border-radius: 0; color: $blue2; // need to disable hover styles for all variants of selected dates /* stylelint-disable max-line-length */ &:not(.DayPicker-Day--selected):not(.DayPicker-Day--selected-range):not(.DayPicker-Day--selected-range-start):not(.DayPicker-Day--selected-range-end) { background-color: $daterangepicker-range-background-color; } /* stylelint-enable max-line-length */ } &--selected-range { background-color: $daterangepicker-range-background-color-selected; border-radius: 0; color: $blue2; &:hover { background-color: $daterangepicker-range-background-color-selected-hover; color: $blue2; } } // need to set rounded corners /* stylelint-disable max-line-length */ &--selected-range-start:not(.DayPicker-Day--selected-range-end):not(.DayPicker-Day--hovered-range-end) { border-bottom-right-radius: 0; border-top-right-radius: 0; } &--selected-range-end:not(.DayPicker-Day--selected-range-start):not(.DayPicker-Day--hovered-range-start) { border-bottom-left-radius: 0; border-top-left-radius: 0; } /* stylelint-enable max-line-length */ &--hovered-range-start:not(.DayPicker-Day--hovered-range-end) { border-bottom-right-radius: 0; border-top-right-radius: 0; } &--hovered-range-end:not(.DayPicker-Day--hovered-range-start) { border-bottom-left-radius: 0; border-top-left-radius: 0; } } .#{$ns}-dark & { .DayPicker-Day { &--hovered-range { color: $light-gray5; /* stylelint-disable max-line-length */ &:not(.DayPicker-Day--selected):not(.DayPicker-Day--selected-range):not(.DayPicker-Day--selected-range-start):not(.DayPicker-Day--selected-range-end) { background-color: $dark-daterangepicker-range-background-color; } /* stylelint-enable max-line-length */ } &--selected-range { background-color: $dark-daterangepicker-range-background-color-selected; color: $light-gray5; &:hover { background-color: $dark-daterangepicker-range-background-color-selected-hover; } } } } } .#{$ns}-daterangepicker-calendars { display: flex; flex-direction: row; justify-content: space-around; width: 100%; } .#{$ns}-daterangepicker-timepickers { display: flex; flex-direction: row; justify-content: space-around; width: 100%; .#{$ns}-timepicker-arrow-row:empty + .#{$ns}-timepicker-input-row { // when timepicker arrows are not displayed in the daterangepicker, we need a bit of extra margin margin: $datepicker-padding 0; } } .#{$ns}-menu.#{$ns}-daterangepicker-shortcuts { min-width: $pt-grid-size * 12; padding: 0; } ```
```python # Placeholders #---------------------------------- # # This function introduces how to # use placeholders in TensorFlow import numpy as np import tensorflow as tf from tensorflow.python.framework import ops ops.reset_default_graph() # Using Placeholders sess = tf.Session() x = tf.placeholder(tf.float32, shape=(4, 4)) y = tf.identity(x) rand_array = np.random.rand(4, 4) merged = tf.summary.merge_all() writer = tf.summary.FileWriter("/tmp/variable_logs", sess.graph) print(sess.run(y, feed_dict={x: rand_array})) ```
```css Block element characteristics Use pseudo-classes to describe a special state of an element Use `:not()` to apply/unapply styles Adjacent sibling selector Styling elements using `::before` and `::after` ```
```dart // MIT-style license that can be found in the LICENSE file or at // path_to_url import 'package:source_span/source_span.dart'; import '../../../utils.dart'; import '../../../visitor/interface/modifiable_css.dart'; import '../keyframe_block.dart'; import '../value.dart'; import 'node.dart'; /// A modifiable version of [CssKeyframeBlock] for use in the evaluation step. final class ModifiableCssKeyframeBlock extends ModifiableCssParentNode implements CssKeyframeBlock { final CssValue<List<String>> selector; final FileSpan span; ModifiableCssKeyframeBlock(this.selector, this.span); T accept<T>(ModifiableCssVisitor<T> visitor) => visitor.visitCssKeyframeBlock(this); bool equalsIgnoringChildren(ModifiableCssNode other) => other is ModifiableCssKeyframeBlock && listEquals(selector.value, other.selector.value); ModifiableCssKeyframeBlock copyWithoutChildren() => ModifiableCssKeyframeBlock(selector, span); } ```
PalmarèsADISQ par Stingray is a Canadian French language Category B high definition television channel owned by Stingray Group. The channel is a partnership between Stingray and Palmarès ADISQ, a website run by the Association québécoise de l'industrie du disque, du spectacle et de la video (ADISQ). The channel primarily broadcasts music videos for French-language songs from Canadian and international musicians, as well as English-language music videos from Quebecois musicians. The channel broadcasts a variety of music genres including pop, rock, hip-hop, and indie from both past and present decades. History On June 15, 2018, a week after the channel launch, Stingray and ADISQ jointly announced the launch of PalmarèsADISQ par Stingray. Upon its launch, the channel was added to Vidéotron, however, during its announcement, agreements have been made to add the channel to Bell Fibe TV, Telus, Cogeco, Rogers Cable, Eastlink, and Shaw Direct systems at a later date. References External links Stingray Group Music video networks in Canada Television channels and stations established in 2018 Digital cable television networks in Canada French-language television networks in Canada
Michaela Alica Breeze (born 17 May 1979) is a British former weightlifter. Breeze was born in Watford and raised in Cornwall and educated at Wadebridge School. She started weightlifting under the guidance of PE teacher Dave Allen. Breeze then went on to Bodmin Community College before attending the University of Wales Institute, Cardiff. Breeze is well known for commentating at various events including Rio Olympics and Tokyo Olympics. After nearly eighteen months of starting weightlifting she was put in touch with a new coach, Ken Price. She sustained a back injury in 2000, which saw her miss international competition and training for over a year. After taking a silver at the 2010 Commonwealth Games, Breeze retired from the sport and opened a gym in Aberdare. However, she made a comeback for the 2014 Commonwealth Games, motivated by a desire to push athletes she was coaching towards qualifying for the Games themselves. Breeze won a bronze medal in the 58 kg competition, setting a new Commonwealth Games snatch record and subsequently announced her second retirement. Breeze also taught PE at Ivybridge Community College in Devon. She was appointed Member of the Order of the British Empire (MBE) in the 2011 Birthday Honours for services to weightlifting. Major results Career achievements Bronze medal in the Clean and Jerk at the World Junior Championships held in Savannah, USA in 1999. Winning the European Junior title in Poland in 1999. Gold in the snatch and silvers in the Clean and Jerk and combined total at the 2002 Commonwealth Games in Manchester. Bronze medal in the 58 kg class at the European Senior Championships in Greece in 2003. 9th position in the 58 kg class of the 2004 Summer Olympics. Gold medal in the 2006 Commonwealth Games. 10th position in the 63 kg category at the 2007 World Weightlifting Championships. 5th position in the 63 kg category at the 2008 European Weightlifting Championships. 14th position in the 63 kg category of the 2008 Summer Olympics. Won a silver medal at 2010 Commonwealth Games held in Delhi, India in the Women's 63 kg Category. Won a bronze medal at 2014 Commonwealth Games held in Glasgow, Scotland. Personal life Breeze married Welsh netball representative Sinead Kelly in May 2015. Notes and references External links Interview for BBC Sport Profile for Athens 2004 Athlete Biography at beijing2008 1979 births Welsh female weightlifters Sportspeople from Watford Commonwealth Games gold medallists for Wales Commonwealth Games silver medallists for Wales Olympic weightlifters for Great Britain Weightlifters at the 2002 Commonwealth Games Weightlifters at the 2004 Summer Olympics Weightlifters at the 2006 Commonwealth Games Weightlifters at the 2008 Summer Olympics Weightlifters at the 2010 Commonwealth Games Weightlifters at the 2014 Commonwealth Games People from Wadebridge Alumni of Cardiff Metropolitan University Living people Members of the Order of the British Empire Commonwealth Games bronze medallists for Wales Commonwealth Games medallists in weightlifting LGBT weightlifters European Weightlifting Championships medalists Medallists at the 2002 Commonwealth Games Medallists at the 2006 Commonwealth Games Medallists at the 2010 Commonwealth Games Medallists at the 2014 Commonwealth Games
John Cassin Cantwell (9 January 1859 – 8 October 1940) was a United States Coast Guard officer and early United States explorer of Alaska. Biography Born in Raleigh, North Carolina, Cantwell was the son of an Irish-born military officer who sent him to study at a Roman Catholic seminary in Ireland. Returning to the United States, he joined the United States Revenue Cutter Service as a seaman in 1879. After a year, he passed a competitive officer candidate examination and became a cadet on 7 June 1880. He was commissioned as a third lieutenant on 5 July 1882. In 1884, Cantwell was assigned to the USRC Thomas Corwin based at San Francisco. Under the command of Captain Michael A. Healy, the Thomas Corwin made summer patrols to the Bering Sea and Alaskan coast in both 1884 and 1885. The delta and lower part of the Kowak River having been explored by U.S. Navy Lieutenant George M. Stoney in 1883, Cantwell was sent to explore further upriver in the ship's steam launch in 1884. He conducted additional exploration of the river valley the following summer accompanied by Smithsonian Institution naturalist Charles Townsend. From 1886 to 1898, Cantwell made additional visits to the Bering Sea and Alaskan coast as part of the summer Bering Sea Fleet. He was promoted to second lieutenant on 25 July 1888 and first lieutenant on 27 May 1895. Cantwell commanded the Revenue Service steamer Nunivak on the Yukon River from 1899 to 1901. He subsequently published "Report on the Operations of the United States Revenue Steamer Nunivak on the Yukon River Station, 1899–1901". Cantwell was promoted to captain on 11 October 1904. Thereafter, he commanded several Revenue Service cutters. Cantwell was the commanding officer of USRC McCulloch on a 1906 Alaskan patrol and USRC Manning on a 1907 Alaskan patrol. He then commanded USRC Onondaga based at Norfolk, Virginia. Cantwell was promoted to senior captain during World War I, serving as commanding officer of the San Pedro Coast Guard training center. Cantwell retired from active duty on 10 May 1920 and settled in Sausalito, California. In 1921, he was reclassified as a commander on the retired list when U.S. Coast Guard officer ranks were aligned with U.S. Navy ranks. Cantwell died at a Marin County hospital in Sausalito and was buried in the Pacific Ocean from the Thetis-class cutter USCGC Daphne on 10 October 1940. Legacy Cantwell Glacier, Cantwell Creek and the town of Cantwell in Alaska were named in his honor. The Nenana River was formerly named in his honor. References 1859 births 1940 deaths People from Raleigh, North Carolina United States Revenue Cutter Service officers American explorers American male non-fiction writers American military personnel of World War I United States Coast Guard officers People from Sausalito, California Burials at sea
```java package org.mitre.synthea.export; import ca.uhn.fhir.context.FhirContext; import com.google.common.collect.HashBasedTable; import com.google.common.collect.Table; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import java.awt.geom.Point2D; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.UUID; import java.util.stream.Collectors; import org.apache.commons.lang3.StringUtils; import org.hl7.fhir.r4.model.Address; import org.hl7.fhir.r4.model.AllergyIntolerance; import org.hl7.fhir.r4.model.AllergyIntolerance.AllergyIntoleranceCategory; import org.hl7.fhir.r4.model.AllergyIntolerance.AllergyIntoleranceCriticality; import org.hl7.fhir.r4.model.AllergyIntolerance.AllergyIntoleranceType; import org.hl7.fhir.r4.model.BooleanType; import org.hl7.fhir.r4.model.Bundle; import org.hl7.fhir.r4.model.Bundle.BundleEntryComponent; import org.hl7.fhir.r4.model.Bundle.BundleEntryRequestComponent; import org.hl7.fhir.r4.model.Bundle.BundleType; import org.hl7.fhir.r4.model.Bundle.HTTPVerb; import org.hl7.fhir.r4.model.CarePlan.CarePlanActivityComponent; import org.hl7.fhir.r4.model.CarePlan.CarePlanActivityDetailComponent; import org.hl7.fhir.r4.model.CarePlan.CarePlanActivityStatus; import org.hl7.fhir.r4.model.CarePlan.CarePlanIntent; import org.hl7.fhir.r4.model.CarePlan.CarePlanStatus; import org.hl7.fhir.r4.model.CareTeam; import org.hl7.fhir.r4.model.CareTeam.CareTeamParticipantComponent; import org.hl7.fhir.r4.model.CareTeam.CareTeamStatus; import org.hl7.fhir.r4.model.Claim.ClaimStatus; import org.hl7.fhir.r4.model.Claim.DiagnosisComponent; import org.hl7.fhir.r4.model.Claim.InsuranceComponent; import org.hl7.fhir.r4.model.Claim.ItemComponent; import org.hl7.fhir.r4.model.Claim.ProcedureComponent; import org.hl7.fhir.r4.model.Claim.SupportingInformationComponent; import org.hl7.fhir.r4.model.CodeType; import org.hl7.fhir.r4.model.CodeableConcept; import org.hl7.fhir.r4.model.Coding; import org.hl7.fhir.r4.model.Condition; import org.hl7.fhir.r4.model.ContactPoint; import org.hl7.fhir.r4.model.ContactPoint.ContactPointSystem; import org.hl7.fhir.r4.model.ContactPoint.ContactPointUse; import org.hl7.fhir.r4.model.Coverage; import org.hl7.fhir.r4.model.Coverage.CoverageStatus; import org.hl7.fhir.r4.model.DateTimeType; import org.hl7.fhir.r4.model.DateType; import org.hl7.fhir.r4.model.DecimalType; import org.hl7.fhir.r4.model.Device; import org.hl7.fhir.r4.model.Device.DeviceNameType; import org.hl7.fhir.r4.model.Device.FHIRDeviceStatus; import org.hl7.fhir.r4.model.DiagnosticReport; import org.hl7.fhir.r4.model.DiagnosticReport.DiagnosticReportStatus; import org.hl7.fhir.r4.model.DocumentReference; import org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceContextComponent; import org.hl7.fhir.r4.model.Dosage; import org.hl7.fhir.r4.model.Dosage.DosageDoseAndRateComponent; import org.hl7.fhir.r4.model.Encounter.EncounterHospitalizationComponent; import org.hl7.fhir.r4.model.Encounter.EncounterStatus; import org.hl7.fhir.r4.model.Enumerations.AdministrativeGender; import org.hl7.fhir.r4.model.Enumerations.DocumentReferenceStatus; import org.hl7.fhir.r4.model.ExplanationOfBenefit; import org.hl7.fhir.r4.model.ExplanationOfBenefit.RemittanceOutcome; import org.hl7.fhir.r4.model.ExplanationOfBenefit.TotalComponent; import org.hl7.fhir.r4.model.ExplanationOfBenefit.Use; import org.hl7.fhir.r4.model.Extension; import org.hl7.fhir.r4.model.Goal; import org.hl7.fhir.r4.model.Goal.GoalLifecycleStatus; import org.hl7.fhir.r4.model.HumanName; import org.hl7.fhir.r4.model.Identifier; import org.hl7.fhir.r4.model.Identifier.IdentifierUse; import org.hl7.fhir.r4.model.ImagingStudy.ImagingStudySeriesComponent; import org.hl7.fhir.r4.model.ImagingStudy.ImagingStudySeriesInstanceComponent; import org.hl7.fhir.r4.model.ImagingStudy.ImagingStudyStatus; import org.hl7.fhir.r4.model.Immunization.ImmunizationStatus; import org.hl7.fhir.r4.model.Immunization; import org.hl7.fhir.r4.model.IntegerType; import org.hl7.fhir.r4.model.Location.LocationPositionComponent; import org.hl7.fhir.r4.model.Location.LocationStatus; import org.hl7.fhir.r4.model.Media; import org.hl7.fhir.r4.model.Media.MediaStatus; import org.hl7.fhir.r4.model.Medication.MedicationStatus; import org.hl7.fhir.r4.model.MedicationAdministration; import org.hl7.fhir.r4.model.MedicationAdministration.MedicationAdministrationDosageComponent; import org.hl7.fhir.r4.model.MedicationRequest; import org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestIntent; import org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestStatus; import org.hl7.fhir.r4.model.Meta; import org.hl7.fhir.r4.model.Money; import org.hl7.fhir.r4.model.Narrative; import org.hl7.fhir.r4.model.Narrative.NarrativeStatus; import org.hl7.fhir.r4.model.Observation.ObservationComponentComponent; import org.hl7.fhir.r4.model.Observation.ObservationStatus; import org.hl7.fhir.r4.model.Organization; import org.hl7.fhir.r4.model.Patient; import org.hl7.fhir.r4.model.Patient.ContactComponent; import org.hl7.fhir.r4.model.Patient.PatientCommunicationComponent; import org.hl7.fhir.r4.model.Period; import org.hl7.fhir.r4.model.PositiveIntType; import org.hl7.fhir.r4.model.Practitioner; import org.hl7.fhir.r4.model.PractitionerRole; import org.hl7.fhir.r4.model.Procedure.ProcedureStatus; import org.hl7.fhir.r4.model.Property; import org.hl7.fhir.r4.model.Provenance; import org.hl7.fhir.r4.model.Provenance.ProvenanceAgentComponent; import org.hl7.fhir.r4.model.Quantity; import org.hl7.fhir.r4.model.Reference; import org.hl7.fhir.r4.model.Resource; import org.hl7.fhir.r4.model.ServiceRequest; import org.hl7.fhir.r4.model.SimpleQuantity; import org.hl7.fhir.r4.model.StringType; import org.hl7.fhir.r4.model.SupplyDelivery; import org.hl7.fhir.r4.model.SupplyDelivery.SupplyDeliveryStatus; import org.hl7.fhir.r4.model.SupplyDelivery.SupplyDeliverySuppliedItemComponent; import org.hl7.fhir.r4.model.Timing; import org.hl7.fhir.r4.model.Timing.TimingRepeatComponent; import org.hl7.fhir.r4.model.Timing.UnitsOfTime; import org.hl7.fhir.r4.model.Type; import org.hl7.fhir.r4.model.codesystems.DoseRateType; import org.hl7.fhir.utilities.xhtml.NodeType; import org.hl7.fhir.utilities.xhtml.XhtmlNode; import org.mitre.synthea.engine.Components; import org.mitre.synthea.engine.Components.Attachment; import org.mitre.synthea.helpers.Config; import org.mitre.synthea.helpers.SimpleCSV; import org.mitre.synthea.helpers.Utilities; import org.mitre.synthea.identity.Entity; import org.mitre.synthea.world.agents.Clinician; import org.mitre.synthea.world.agents.Payer; import org.mitre.synthea.world.agents.Person; import org.mitre.synthea.world.agents.Provider; import org.mitre.synthea.world.concepts.Claim; import org.mitre.synthea.world.concepts.ClinicianSpecialty; import org.mitre.synthea.world.concepts.Costs; import org.mitre.synthea.world.concepts.HealthRecord; import org.mitre.synthea.world.concepts.HealthRecord.CarePlan; import org.mitre.synthea.world.concepts.HealthRecord.Code; import org.mitre.synthea.world.concepts.HealthRecord.Encounter; import org.mitre.synthea.world.concepts.HealthRecord.EncounterType; import org.mitre.synthea.world.concepts.HealthRecord.ImagingStudy; import org.mitre.synthea.world.concepts.HealthRecord.Medication; import org.mitre.synthea.world.concepts.HealthRecord.Observation; import org.mitre.synthea.world.concepts.HealthRecord.Procedure; import org.mitre.synthea.world.concepts.HealthRecord.Report; import org.mitre.synthea.world.geography.Location; public class FhirR4 { // HAPI FHIR warns that the context creation is expensive, and should be performed // per-application, not per-record private static final FhirContext FHIR_CTX = FhirContext.forR4(); private static final String SNOMED_URI = "path_to_url"; private static final String LOINC_URI = "path_to_url"; private static final String RXNORM_URI = "path_to_url"; private static final String CVX_URI = "path_to_url"; private static final String DISCHARGE_URI = "path_to_url"; private static final String SYNTHEA_EXT = "path_to_url"; private static final String UNITSOFMEASURE_URI = "path_to_url"; private static final String DICOM_DCM_URI = "path_to_url"; private static final String MEDIA_TYPE_URI = "path_to_url"; protected static final String SYNTHEA_IDENTIFIER = "path_to_url"; @SuppressWarnings("rawtypes") private static final Map raceEthnicityCodes = loadRaceEthnicityCodes(); @SuppressWarnings("rawtypes") private static final Map languageLookup = loadLanguageLookup(); protected static boolean TRANSACTION_BUNDLE = Config.getAsBoolean("exporter.fhir.transaction_bundle"); protected static boolean USE_US_CORE_IG = Config.getAsBoolean("exporter.fhir.use_us_core_ig"); protected static String US_CORE_VERSION = Config.get("exporter.fhir.us_core_version", "6.1.0"); private static Table<String, String, String> US_CORE_MAPPING; private static final Table<String, String, String> US_CORE_3_MAPPING; private static final Table<String, String, String> US_CORE_4_MAPPING; private static final Table<String, String, String> US_CORE_5_MAPPING; private static final Table<String, String, String> US_CORE_6_MAPPING; public static enum USCoreVersion { v311, v400, v501, v610 } protected static boolean useUSCore3() { boolean useUSCore3 = USE_US_CORE_IG && US_CORE_VERSION.startsWith("3"); if (useUSCore3) { US_CORE_MAPPING = US_CORE_3_MAPPING; } return useUSCore3; } protected static boolean useUSCore4() { boolean useUSCore4 = USE_US_CORE_IG && US_CORE_VERSION.startsWith("4"); if (useUSCore4) { US_CORE_MAPPING = US_CORE_4_MAPPING; } return useUSCore4; } protected static boolean useUSCore5() { boolean useUSCore5 = USE_US_CORE_IG && US_CORE_VERSION.startsWith("5"); if (useUSCore5) { US_CORE_MAPPING = US_CORE_5_MAPPING; } return useUSCore5; } protected static boolean useUSCore6() { boolean useUSCore6 = USE_US_CORE_IG && US_CORE_VERSION.startsWith("6"); if (useUSCore6) { US_CORE_MAPPING = US_CORE_6_MAPPING; } return useUSCore6; } private static final String COUNTRY_CODE = Config.get("generate.geography.country_code"); private static final String PASSPORT_URI = Config.get("generate.geography.passport_uri", "path_to_url"); private static final HashSet<Class<? extends Resource>> includedResources = new HashSet<>(); private static final HashSet<Class<? extends Resource>> excludedResources = new HashSet<>(); static { reloadIncludeExclude(); Map<String, Table<String, String, String>> usCoreMappings = loadMappingWithVersions("us_core_mapping.csv", "3", "4", "5", "6"); US_CORE_3_MAPPING = usCoreMappings.get("3"); US_CORE_4_MAPPING = usCoreMappings.get("4"); US_CORE_5_MAPPING = usCoreMappings.get("5"); US_CORE_6_MAPPING = usCoreMappings.get("6"); if (US_CORE_VERSION.startsWith("3")) { US_CORE_MAPPING = US_CORE_3_MAPPING; } else if (US_CORE_VERSION.startsWith("4")) { US_CORE_MAPPING = US_CORE_4_MAPPING; } else if (US_CORE_VERSION.startsWith("5")) { US_CORE_MAPPING = US_CORE_5_MAPPING; } else if (US_CORE_VERSION.startsWith("6")) { US_CORE_MAPPING = US_CORE_6_MAPPING; } } static void reloadIncludeExclude() { includedResources.clear(); excludedResources.clear(); String includedResourcesStr = Config.get("exporter.fhir.included_resources", "").trim(); String excludedResourcesStr = Config.get("exporter.fhir.excluded_resources", "").trim(); List<Class<? extends Resource>> includedResourcesList = Collections.emptyList(); List<Class<? extends Resource>> excludedResourcesList = Collections.emptyList(); if (!includedResourcesStr.isEmpty() && !excludedResourcesStr.isEmpty()) { System.err.println( "FHIR exporter: Included and Excluded resource settings are both set -- ignoring both"); } else if (!includedResourcesStr.isEmpty()) { includedResourcesList = propStringToList(includedResourcesStr); } else if (!excludedResourcesStr.isEmpty()) { excludedResourcesList = propStringToList(excludedResourcesStr); } includedResources.addAll(includedResourcesList); excludedResources.addAll(excludedResourcesList); } static boolean shouldExport(Class<? extends Resource> resourceType) { return (includedResources.isEmpty() || includedResources.contains(resourceType)) && !excludedResources.contains(resourceType); } /** * Helper function to convert a string of resource type names * from synthea.properties into a list of FHIR ResourceTypes. * @param propString String directly from Config, ex "Patient,Condition , Procedure" * @return normalized list of filenames as strings */ private static List<Class<? extends Resource>> propStringToList(String propString) { List<String> resourceTypes = Arrays.asList(propString.split(",")); // normalize filenames by trimming, convert to resource class @SuppressWarnings("unchecked") List<Class<? extends Resource>> resourceClasses = resourceTypes.stream().map(f -> { try { return (Class<? extends Resource>)Class.forName("org.hl7.fhir.r4.model." + f.trim()); } catch (ClassNotFoundException | ClassCastException e) { throw new RuntimeException("Type " + f + " listed in the FHIR include/exclude list is not a valid FHIR resource type", e); } }).collect(Collectors.toList()); return resourceClasses; } @SuppressWarnings("rawtypes") private static Map loadRaceEthnicityCodes() { String filename = "race_ethnicity_codes.json"; try { String json = Utilities.readResource(filename); Gson g = new Gson(); return g.fromJson(json, HashMap.class); } catch (Exception e) { System.err.println("ERROR: unable to load json: " + filename); e.printStackTrace(); throw new ExceptionInInitializerError(e); } } @SuppressWarnings("rawtypes") private static Map loadLanguageLookup() { String filename = "language_lookup.json"; try { String json = Utilities.readResource(filename); Gson g = new Gson(); return g.fromJson(json, HashMap.class); } catch (Exception e) { System.err.println("ERROR: unable to load json: " + filename); e.printStackTrace(); throw new ExceptionInInitializerError(e); } } private static Map<String, Table<String, String, String>> loadMappingWithVersions(String filename, String... supportedVersions) { Map<String, Table<String,String,String>> versions = new HashMap<>(); for (String version : supportedVersions) { versions.put(version, HashBasedTable.create()); } List<LinkedHashMap<String, String>> csvData; try { csvData = SimpleCSV.parse(Utilities.readResource(filename)); } catch (IOException e) { e.printStackTrace(); return null; } for (LinkedHashMap<String, String> line : csvData) { String system = line.get("SYSTEM"); String code = line.get("CODE"); String url = line.get("URL"); String version = line.get("VERSION"); for (Entry<String, Table<String, String, String>> e : versions.entrySet()) { String versionKey = e.getKey(); Table<String, String, String> mappingTable = e.getValue(); if (StringUtils.isBlank(version) || version.contains(versionKey)) { // blank means applies to ALL versions // version.contains allows for things like "4,5,6" mappingTable.put(system, code, url); } } } return versions; } public static FhirContext getContext() { return FHIR_CTX; } /** * Convert the given Person into a FHIR Bundle of the Patient and the * associated entries from their health record. * * @param person Person to generate the FHIR JSON for * @param stopTime Time the simulation ended * @return FHIR Bundle containing the Person's health record */ public static Bundle convertToFHIR(Person person, long stopTime) { Bundle bundle = new Bundle(); if (TRANSACTION_BUNDLE) { bundle.setType(BundleType.TRANSACTION); } else { bundle.setType(BundleType.COLLECTION); } BundleEntryComponent personEntry = basicInfo(person, bundle, stopTime); for (Encounter encounter : person.record.encounters) { BundleEntryComponent encounterEntry = encounter(person, personEntry, bundle, encounter); if (shouldExport(Condition.class)) { for (HealthRecord.Entry condition : encounter.conditions) { condition(personEntry, bundle, encounterEntry, condition); } } if (shouldExport(AllergyIntolerance.class)) { for (HealthRecord.Allergy allergy : encounter.allergies) { allergy(personEntry, bundle, encounterEntry, allergy); } } final boolean shouldExportMedia = shouldExport(Media.class); final boolean shouldExportObservation = shouldExport(org.hl7.fhir.r4.model.Observation.class); for (Observation observation : encounter.observations) { // If the Observation contains an attachment, use a Media resource, since // Observation resources in v4 don't support Attachments if (observation.value instanceof Attachment) { if (shouldExportMedia) { media(personEntry, bundle, encounterEntry, observation); } } else if (shouldExportObservation) { observation(personEntry, bundle, encounterEntry, observation); } } if (shouldExport(org.hl7.fhir.r4.model.Procedure.class)) { for (Procedure procedure : encounter.procedures) { procedure(personEntry, bundle, encounterEntry, procedure); } } if (shouldExport(Device.class)) { for (HealthRecord.Device device : encounter.devices) { device(personEntry, bundle, device); } } if (shouldExport(SupplyDelivery.class)) { for (HealthRecord.Supply supply : encounter.supplies) { supplyDelivery(personEntry, bundle, supply, encounter); } } if (shouldExport(MedicationRequest.class)) { for (Medication medication : encounter.medications) { medicationRequest(person, personEntry, bundle, encounterEntry, encounter, medication); } } if (shouldExport(Immunization.class)) { for (HealthRecord.Entry immunization : encounter.immunizations) { immunization(personEntry, bundle, encounterEntry, immunization); } } if (shouldExport(DiagnosticReport.class)) { for (Report report : encounter.reports) { report(personEntry, bundle, encounterEntry, report); } } if (shouldExport(org.hl7.fhir.r4.model.CarePlan.class)) { final boolean shouldExportCareTeam = shouldExport(CareTeam.class); for (CarePlan careplan : encounter.careplans) { BundleEntryComponent careTeamEntry = null; if (shouldExportCareTeam) { careTeamEntry = careTeam(person, personEntry, bundle, encounterEntry, careplan); } carePlan(person, personEntry, bundle, encounterEntry, encounter.provider, careTeamEntry, careplan); } } if (shouldExport(org.hl7.fhir.r4.model.ImagingStudy.class)) { for (ImagingStudy imagingStudy : encounter.imagingStudies) { imagingStudy(personEntry, bundle, encounterEntry, imagingStudy); } } if (USE_US_CORE_IG && shouldExport(DiagnosticReport.class)) { String clinicalNoteText = ClinicalNoteExporter.export(person, encounter); boolean lastNote = (encounter == person.record.encounters.get(person.record.encounters.size() - 1)); clinicalNote(person, personEntry, bundle, encounterEntry, clinicalNoteText, lastNote); } if (shouldExport(org.hl7.fhir.r4.model.Claim.class)) { // one claim per encounter BundleEntryComponent encounterClaim = encounterClaim(person, personEntry, bundle, encounterEntry, encounter); if (shouldExport(ExplanationOfBenefit.class)) { explanationOfBenefit(personEntry, bundle, encounterEntry, person, encounterClaim, encounter, encounter.claim); } } } if (USE_US_CORE_IG && shouldExport(Provenance.class)) { // Add Provenance to the Bundle provenance(bundle, person, stopTime); } return bundle; } /** * Convert the given Person into a JSON String, containing a FHIR Bundle of the Person and the * associated entries from their health record. * * @param person Person to generate the FHIR JSON for * @param stopTime Time the simulation ended * @return String containing a JSON representation of a FHIR Bundle containing the Person's health * record */ public static String convertToFHIRJson(Person person, long stopTime) { Bundle bundle = convertToFHIR(person, stopTime); Boolean pretty = Config.getAsBoolean("exporter.pretty_print", true); String bundleJson = FHIR_CTX.newJsonParser().setPrettyPrint(pretty) .encodeResourceToString(bundle); return bundleJson; } /** * Map the given Person to a FHIR Patient resource, and add it to the given Bundle. * * @param person The Person * @param bundle The Bundle to add to * @param stopTime Time the simulation ended * @return The created Entry */ @SuppressWarnings("rawtypes") private static BundleEntryComponent basicInfo(Person person, Bundle bundle, long stopTime) { Patient patientResource = new Patient(); patientResource.addIdentifier().setSystem(SYNTHEA_IDENTIFIER) .setValue((String) person.attributes.get(Person.ID)); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); patientResource.setMeta(meta); } Code mrnCode = new Code("path_to_url", "MR", "Medical Record Number"); patientResource.addIdentifier() .setType(mapCodeToCodeableConcept(mrnCode, "path_to_url")) .setSystem("path_to_url") .setValue((String) person.attributes.get(Person.ID)); Code ssnCode = new Code("path_to_url", "SS", "Social Security Number"); patientResource.addIdentifier() .setType(mapCodeToCodeableConcept(ssnCode, "path_to_url")) .setSystem("path_to_url") .setValue((String) person.attributes.get(Person.IDENTIFIER_SSN)); if (person.attributes.get(Person.IDENTIFIER_DRIVERS) != null) { Code driversCode = new Code("path_to_url", "DL", "Driver's license number"); patientResource.addIdentifier() .setType(mapCodeToCodeableConcept(driversCode, "path_to_url")) .setSystem("urn:oid:2.16.840.1.113883.4.3.25") .setValue((String) person.attributes.get(Person.IDENTIFIER_DRIVERS)); } if (person.attributes.get(Person.IDENTIFIER_PASSPORT) != null) { Code passportCode = new Code("path_to_url", "PPN", "Passport Number"); patientResource.addIdentifier() .setType(mapCodeToCodeableConcept(passportCode, "path_to_url")) .setSystem(PASSPORT_URI) .setValue((String) person.attributes.get(Person.IDENTIFIER_PASSPORT)); } if (person.attributes.get(Person.ENTITY) != null) { Entity entity = (Entity) person.attributes.get(Person.ENTITY); patientResource.addIdentifier() .setSystem("path_to_url") .setValue(entity.getIndividualId()); patientResource.addIdentifier() .setSystem("path_to_url") .setValue(String.valueOf(person.attributes.get(Person.IDENTIFIER_SEED_ID))); patientResource.addIdentifier() .setSystem("path_to_url") .setValue(String.valueOf((String) person.attributes.get(Person.HOUSEHOLD))); } if (person.attributes.get(Person.CONTACT_EMAIL) != null) { ContactComponent contact = new ContactComponent(); HumanName contactName = new HumanName(); contactName.setUse(HumanName.NameUse.OFFICIAL); contactName.addGiven((String) person.attributes.get(Person.CONTACT_GIVEN_NAME)); contactName.setFamily((String) person.attributes.get(Person.CONTACT_FAMILY_NAME)); contact.setName(contactName); contact.addTelecom().setSystem(ContactPointSystem.EMAIL) .setUse(ContactPointUse.HOME) .setValue((String) person.attributes.get(Person.CONTACT_EMAIL)); patientResource.addContact(contact); } if (USE_US_CORE_IG) { // We do not yet account for mixed race Extension raceExtension = new Extension( "path_to_url"); String race = (String) person.attributes.get(Person.RACE); String raceDisplay; switch (race) { case "white": raceDisplay = "White"; break; case "black": raceDisplay = "Black or African American"; break; case "asian": raceDisplay = "Asian"; break; case "native": raceDisplay = "American Indian or Alaska Native"; break; case "hawaiian": raceDisplay = "Native Hawaiian or Other Pacific Islander"; break; default: raceDisplay = "Other"; break; } String raceNum = (String) raceEthnicityCodes.get(race); Extension raceCodingExtension = new Extension("ombCategory"); Coding raceCoding = new Coding(); if (raceDisplay.equals("Other")) { raceCoding.setSystem("path_to_url"); raceCoding.setCode("UNK"); raceCoding.setDisplay("Unknown"); } else { raceCoding.setSystem("urn:oid:2.16.840.1.113883.6.238"); raceCoding.setCode(raceNum); raceCoding.setDisplay(raceDisplay); } raceCodingExtension.setValue(raceCoding); raceExtension.addExtension(raceCodingExtension); Extension raceTextExtension = new Extension("text"); raceTextExtension.setValue(new StringType(raceDisplay)); raceExtension.addExtension(raceTextExtension); patientResource.addExtension(raceExtension); // We do not yet account for mixed ethnicity Extension ethnicityExtension = new Extension( "path_to_url"); String ethnicity = (String) person.attributes.get(Person.ETHNICITY); String ethnicityDisplay; if (ethnicity.equals("hispanic")) { ethnicity = "hispanic"; ethnicityDisplay = "Hispanic or Latino"; } else { ethnicity = "nonhispanic"; ethnicityDisplay = "Not Hispanic or Latino"; } String ethnicityNum = (String) raceEthnicityCodes.get(ethnicity); Extension ethnicityCodingExtension = new Extension("ombCategory"); Coding ethnicityCoding = new Coding(); ethnicityCoding.setSystem("urn:oid:2.16.840.1.113883.6.238"); ethnicityCoding.setCode(ethnicityNum); ethnicityCoding.setDisplay(ethnicityDisplay); ethnicityCodingExtension.setValue(ethnicityCoding); ethnicityExtension.addExtension(ethnicityCodingExtension); Extension ethnicityTextExtension = new Extension("text"); ethnicityTextExtension.setValue(new StringType(ethnicityDisplay)); ethnicityExtension.addExtension(ethnicityTextExtension); patientResource.addExtension(ethnicityExtension); } String firstLanguage = (String) person.attributes.get(Person.FIRST_LANGUAGE); Map languageMap = (Map) languageLookup.get(firstLanguage); Code languageCode = new Code((String) languageMap.get("system"), (String) languageMap.get("code"), (String) languageMap.get("display")); List<PatientCommunicationComponent> communication = new ArrayList<PatientCommunicationComponent>(); communication.add(new PatientCommunicationComponent( mapCodeToCodeableConcept(languageCode, (String) languageMap.get("system")))); patientResource.setCommunication(communication); HumanName name = patientResource.addName(); name.setUse(HumanName.NameUse.OFFICIAL); name.addGiven((String) person.attributes.get(Person.FIRST_NAME)); if (person.attributes.containsKey(Person.MIDDLE_NAME)) { name.addGiven((String) person.attributes.get(Person.MIDDLE_NAME)); } name.setFamily((String) person.attributes.get(Person.LAST_NAME)); if (person.attributes.get(Person.NAME_PREFIX) != null) { name.addPrefix((String) person.attributes.get(Person.NAME_PREFIX)); } if (person.attributes.get(Person.NAME_SUFFIX) != null) { name.addSuffix((String) person.attributes.get(Person.NAME_SUFFIX)); } if (person.attributes.get(Person.MAIDEN_NAME) != null) { HumanName maidenName = patientResource.addName(); maidenName.setUse(HumanName.NameUse.MAIDEN); maidenName.addGiven((String) person.attributes.get(Person.FIRST_NAME)); if (person.attributes.containsKey(Person.MIDDLE_NAME)) { maidenName.addGiven((String) person.attributes.get(Person.MIDDLE_NAME)); } maidenName.setFamily((String) person.attributes.get(Person.MAIDEN_NAME)); if (person.attributes.get(Person.NAME_PREFIX) != null) { maidenName.addPrefix((String) person.attributes.get(Person.NAME_PREFIX)); } if (person.attributes.get(Person.NAME_SUFFIX) != null) { maidenName.addSuffix((String) person.attributes.get(Person.NAME_SUFFIX)); } } Extension mothersMaidenNameExtension = new Extension( "path_to_url"); String mothersMaidenName = (String) person.attributes.get(Person.NAME_MOTHER); mothersMaidenNameExtension.setValue(new StringType(mothersMaidenName)); patientResource.addExtension(mothersMaidenNameExtension); long birthdate = (long) person.attributes.get(Person.BIRTHDATE); patientResource.setBirthDate(new Date(birthdate)); Extension birthSexExtension = new Extension( "path_to_url"); if (person.attributes.get(Person.GENDER).equals("M")) { patientResource.setGender(AdministrativeGender.MALE); birthSexExtension.setValue(new CodeType("M")); } else if (person.attributes.get(Person.GENDER).equals("F")) { patientResource.setGender(AdministrativeGender.FEMALE); birthSexExtension.setValue(new CodeType("F")); } else if (person.attributes.get(Person.GENDER).equals("UNK")) { patientResource.setGender(AdministrativeGender.UNKNOWN); } if (USE_US_CORE_IG) { patientResource.addExtension(birthSexExtension); } String state = (String) person.attributes.get(Person.STATE); if (USE_US_CORE_IG) { state = Location.getAbbreviation(state); } Address addrResource = patientResource.addAddress(); addrResource.addLine((String) person.attributes.get(Person.ADDRESS)) .setCity((String) person.attributes.get(Person.CITY)) .setPostalCode((String) person.attributes.get(Person.ZIP)) .setState(state); if (COUNTRY_CODE != null) { addrResource.setCountry(COUNTRY_CODE); } Address birthplace = new Address(); birthplace.setCity((String) person.attributes.get(Person.BIRTH_CITY)) .setState((String) person.attributes.get(Person.BIRTH_STATE)) .setCountry((String) person.attributes.get(Person.BIRTH_COUNTRY)); Extension birthplaceExtension = new Extension( "path_to_url"); birthplaceExtension.setValue(birthplace); patientResource.addExtension(birthplaceExtension); if (person.attributes.get(Person.MULTIPLE_BIRTH_STATUS) != null) { patientResource.setMultipleBirth( new IntegerType((int) person.attributes.get(Person.MULTIPLE_BIRTH_STATUS))); } else { patientResource.setMultipleBirth(new BooleanType(false)); } patientResource.addTelecom().setSystem(ContactPointSystem.PHONE) .setUse(ContactPointUse.HOME) .setValue((String) person.attributes.get(Person.TELECOM)); String maritalStatus = ((String) person.attributes.get(Person.MARITAL_STATUS)); if (maritalStatus != null) { Map<String, String> maritalStatusCodes = Map.of( "A", "Annulled", "D", "Divorced", "I", "Interlocutory", "L", "Legally Separated", "M", "Married", "P", "Polygamous", "T", "Domestic partner", "U", "unmarried", "S", "Never Married", "W", "Widowed"); String maritalStatusDisplay = maritalStatusCodes.getOrDefault(maritalStatus, maritalStatus); Code maritalStatusCode = new Code("path_to_url", maritalStatus, maritalStatusDisplay); patientResource.setMaritalStatus( mapCodeToCodeableConcept(maritalStatusCode, "path_to_url")); } else { Code maritalStatusCode = new Code("path_to_url", "S", "Never Married"); patientResource.setMaritalStatus( mapCodeToCodeableConcept(maritalStatusCode, "path_to_url")); } Point2D.Double coord = person.getLonLat(); if (coord != null) { Extension geolocation = addrResource.addExtension(); geolocation.setUrl("path_to_url"); geolocation.addExtension("latitude", new DecimalType(coord.getY())); geolocation.addExtension("longitude", new DecimalType(coord.getX())); } if (!person.alive(stopTime)) { patientResource.setDeceased( convertFhirDateTime((Long) person.attributes.get(Person.DEATHDATE), true)); } String generatedBySynthea = "Generated by <a href=\"path_to_url">Synthea</a>." + "Version identifier: " + Utilities.SYNTHEA_VERSION + " . " + " Person seed: " + person.getSeed() + " Population seed: " + person.populationSeed; patientResource.setText(new Narrative().setStatus(NarrativeStatus.GENERATED) .setDiv(new XhtmlNode(NodeType.Element).setValue(generatedBySynthea))); // DALY and QALY values // we only write the last(current) one to the patient record Double dalyValue = (Double) person.attributes.get("most-recent-daly"); Double qalyValue = (Double) person.attributes.get("most-recent-qaly"); if (dalyValue != null) { Extension dalyExtension = new Extension(SYNTHEA_EXT + "disability-adjusted-life-years"); DecimalType daly = new DecimalType(dalyValue); dalyExtension.setValue(daly); patientResource.addExtension(dalyExtension); Extension qalyExtension = new Extension(SYNTHEA_EXT + "quality-adjusted-life-years"); DecimalType qaly = new DecimalType(qalyValue); qalyExtension.setValue(qaly); patientResource.addExtension(qalyExtension); } return newEntry(bundle, patientResource, (String) person.attributes.get(Person.ID)); } /** * Map the given Encounter into a FHIR Encounter resource, and add it to the given Bundle. * * @param personEntry Entry for the Person * @param bundle The Bundle to add to * @param encounter The current Encounter * @return The added Entry */ private static BundleEntryComponent encounter(Person person, BundleEntryComponent personEntry, Bundle bundle, Encounter encounter) { org.hl7.fhir.r4.model.Encounter encounterResource = new org.hl7.fhir.r4.model.Encounter(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); encounterResource.setMeta(meta); } Patient patient = (Patient) personEntry.getResource(); encounterResource.setSubject(new Reference() .setReference(personEntry.getFullUrl()) .setDisplay(patient.getNameFirstRep().getNameAsSingleString())); encounterResource.setStatus(EncounterStatus.FINISHED); if (encounter.codes.isEmpty()) { // wellness encounter encounterResource.addType().addCoding().setCode("185349003") .setDisplay("Encounter for check up").setSystem(SNOMED_URI); } else { Code code = encounter.codes.get(0); encounterResource.addType(mapCodeToCodeableConcept(code, SNOMED_URI)); } Coding classCode = new Coding(); classCode.setCode(EncounterType.fromString(encounter.type).code()); classCode.setSystem("path_to_url"); encounterResource.setClass_(classCode); encounterResource .setPeriod(new Period() .setStart(new Date(encounter.start)) .setEnd(new Date(encounter.stop))); if (encounter.reason != null) { encounterResource.addReasonCode().addCoding().setCode(encounter.reason.code) .setDisplay(encounter.reason.display).setSystem(SNOMED_URI); } Provider provider = encounter.provider; if (provider == null) { // no associated provider, patient goes to wellness provider provider = person.getProvider(EncounterType.WELLNESS, encounter.start); } if (TRANSACTION_BUNDLE) { encounterResource.setServiceProvider(new Reference( ExportHelper.buildFhirSearchUrl("Organization", provider.getResourceID()))); } else { String providerFullUrl = findProviderUrl(provider, bundle); if (providerFullUrl != null) { encounterResource.setServiceProvider(new Reference(providerFullUrl)); } else { BundleEntryComponent providerOrganization = provider(bundle, provider); encounterResource.setServiceProvider(new Reference(providerOrganization.getFullUrl())); } } encounterResource.getServiceProvider().setDisplay(provider.name); if (USE_US_CORE_IG) { String referenceUrl; String display; if (TRANSACTION_BUNDLE) { if (encounter.type.equals(EncounterType.VIRTUAL.toString())) { referenceUrl = ExportHelper.buildFhirSearchUrl("Location", FhirR4PatientHome.getPatientHome().getId()); display = "Patient's Home"; } else { referenceUrl = ExportHelper.buildFhirSearchUrl("Location", provider.getResourceLocationID()); display = provider.name; } } else { if (encounter.type.equals(EncounterType.VIRTUAL.toString())) { referenceUrl = addPatientHomeLocation(bundle); display = "Patient's Home"; } else { referenceUrl = findLocationUrl(provider, bundle); display = provider.name; } } encounterResource.addLocation().setLocation(new Reference() .setReference(referenceUrl) .setDisplay(display)); } if (encounter.clinician != null) { if (TRANSACTION_BUNDLE) { encounterResource.addParticipant().setIndividual(new Reference( ExportHelper.buildFhirNpiSearchUrl(encounter.clinician))); } else { String practitionerFullUrl = findPractitioner(encounter.clinician, bundle); if (practitionerFullUrl != null) { encounterResource.addParticipant().setIndividual(new Reference(practitionerFullUrl)); } else { BundleEntryComponent practitioner = practitioner(bundle, encounter.clinician); encounterResource.addParticipant().setIndividual( new Reference(practitioner.getFullUrl())); } } encounterResource.getParticipantFirstRep().getIndividual() .setDisplay(encounter.clinician.getFullname()); encounterResource.getParticipantFirstRep().addType(mapCodeToCodeableConcept( new Code("path_to_url", "PPRF", "primary performer"), null)); encounterResource.getParticipantFirstRep().setPeriod(encounterResource.getPeriod()); } if (encounter.discharge != null) { EncounterHospitalizationComponent hospitalization = new EncounterHospitalizationComponent(); Code dischargeDisposition = new Code(DISCHARGE_URI, encounter.discharge.code, encounter.discharge.display); hospitalization .setDischargeDisposition(mapCodeToCodeableConcept(dischargeDisposition, DISCHARGE_URI)); encounterResource.setHospitalization(hospitalization); } BundleEntryComponent entry = newEntry(bundle, encounterResource, encounter.uuid.toString()); if (USE_US_CORE_IG) { // US Core Encounters should have an identifier to support the required // Encounter.identifier search parameter encounterResource.addIdentifier() .setUse(IdentifierUse.OFFICIAL) .setSystem(SYNTHEA_IDENTIFIER) .setValue(encounterResource.getId()); } return entry; } /** * Find the provider entry in this bundle, and return the associated "fullUrl" attribute. * * @param provider A given provider. * @param bundle The current bundle being generated. * @return Provider.fullUrl if found, otherwise null. */ private static String findProviderUrl(Provider provider, Bundle bundle) { for (BundleEntryComponent entry : bundle.getEntry()) { if (entry.getResource().fhirType().equals("Organization")) { Organization org = (Organization) entry.getResource(); if (org.getIdentifierFirstRep().getValue() != null && org.getIdentifierFirstRep().getValue().equals(provider.getResourceID())) { return entry.getFullUrl(); } } } return null; } /** * Finds the "patient's home" Location resource and returns the URL. If it does not yet exist in * the bundle, it will create it. * @param bundle the bundle to look in for the patient home resource * @return the URL of the patient home resource */ public static String addPatientHomeLocation(Bundle bundle) { String locationURL = null; for (BundleEntryComponent entry : bundle.getEntry()) { if (entry.getResource().fhirType().equals("Location")) { if (entry.getResource().getId().equals(FhirR4PatientHome.getPatientHome().getId())) { locationURL = entry.getFullUrl(); } } } if (locationURL == null) { org.hl7.fhir.r4.model.Location location = FhirR4PatientHome.getPatientHome(); BundleEntryComponent bec = newEntry(bundle, location, location.getId()); locationURL = bec.getFullUrl(); } return locationURL; } /** * Find the Location entry in this bundle for the given provider, and return the * "fullUrl" attribute. * * @param provider A given provider. * @param bundle The current bundle being generated. * @return Location.fullUrl if found, otherwise null. */ private static String findLocationUrl(Provider provider, Bundle bundle) { if (provider == null) { return null; } for (BundleEntryComponent entry : bundle.getEntry()) { if (entry.getResource().fhirType().equals("Location")) { org.hl7.fhir.r4.model.Location location = (org.hl7.fhir.r4.model.Location) entry.getResource(); Reference managingOrg = location.getManagingOrganization(); if (managingOrg != null && managingOrg.hasIdentifier() && managingOrg.getIdentifier().hasValue() && managingOrg.getIdentifier().getValue().equals(provider.getResourceID())) { return entry.getFullUrl(); } } } return null; } /** * Find the Practitioner entry in this bundle, and return the associated "fullUrl" * attribute. * @param clinician A given clinician. * @param bundle The current bundle being generated. * @return Practitioner.fullUrl if found, otherwise null. */ private static String findPractitioner(Clinician clinician, Bundle bundle) { for (BundleEntryComponent entry : bundle.getEntry()) { if (entry.getResource().fhirType().equals("Practitioner")) { Practitioner doc = (Practitioner) entry.getResource(); if (doc.getIdentifierFirstRep().getValue().equals(clinician.npi)) { return entry.getFullUrl(); } } } return null; } /** * Create an entry for the given Claim, which references a Medication. * * @param person The person being prescribed medication * @param personEntry Entry for the person * @param bundle The Bundle to add to * @param encounterEntry The current Encounter * @param encounter The Encounter * @param claim the Claim object * @param medicationEntry The medication Entry * @param medicationCodeableConcept The medication CodeableConcept * @return the added Entry */ private static BundleEntryComponent medicationClaim( Person person, BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Encounter encounter, Claim claim, BundleEntryComponent medicationEntry, CodeableConcept medicationCodeableConcept) { org.hl7.fhir.r4.model.Claim claimResource = new org.hl7.fhir.r4.model.Claim(); org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); claimResource.setStatus(ClaimStatus.ACTIVE); CodeableConcept type = new CodeableConcept(); type.getCodingFirstRep() .setSystem("path_to_url") .setCode("pharmacy"); claimResource.setType(type); claimResource.setUse(org.hl7.fhir.r4.model.Claim.Use.CLAIM); // Get the insurance info at the time that the encounter occurred. InsuranceComponent insuranceComponent = new InsuranceComponent(); insuranceComponent.setSequence(1); insuranceComponent.setFocal(true); insuranceComponent.setCoverage(new Reference().setDisplay(claim.getPayer().getName())); claimResource.addInsurance(insuranceComponent); // duration of encounter claimResource.setBillablePeriod(encounterResource.getPeriod()); claimResource.setCreated(encounterResource.getPeriod().getEnd()); claimResource.setPatient(new Reference(personEntry.getFullUrl())); claimResource.setProvider(encounterResource.getServiceProvider()); // set the required priority CodeableConcept priority = new CodeableConcept(); priority.getCodingFirstRep() .setSystem("path_to_url") .setCode("normal"); claimResource.setPriority(priority); // add item for medication claimResource.addItem(new ItemComponent(new PositiveIntType(1), medicationCodeableConcept) .addEncounter(new Reference(encounterEntry.getFullUrl()))); // add prescription. claimResource.setPrescription(new Reference(medicationEntry.getFullUrl())); Money moneyResource = new Money(); moneyResource.setValue(claim.getTotalClaimCost()); moneyResource.setCurrency("USD"); claimResource.setTotal(moneyResource); BundleEntryComponent medicationClaimEntry = newEntry(bundle, claimResource, claim.uuid.toString()); explanationOfBenefit(personEntry, bundle, encounterEntry, person, medicationClaimEntry, encounter, claim); return medicationClaimEntry; } /** * Create an entry for the given Claim, associated to an Encounter. * * @param person The patient having the encounter. * @param personEntry Entry for the person * @param bundle The Bundle to add to * @param encounterEntry Entry for the Encounter * @param encounter The health record encounter * @return the added Entry */ private static BundleEntryComponent encounterClaim( Person person, BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Encounter encounter) { org.hl7.fhir.r4.model.Claim claimResource = new org.hl7.fhir.r4.model.Claim(); org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); claimResource.setStatus(ClaimStatus.ACTIVE); CodeableConcept type = new CodeableConcept(); type.getCodingFirstRep().setSystem("path_to_url"); EncounterType encType = EncounterType.fromString(encounter.type); if (encType.code().equals(EncounterType.OUTPATIENT.code())) { type.getCodingFirstRep().setCode("professional"); } else { type.getCodingFirstRep().setCode("institutional"); } claimResource.setType(type); claimResource.setUse(org.hl7.fhir.r4.model.Claim.Use.CLAIM); InsuranceComponent insuranceComponent = new InsuranceComponent(); insuranceComponent.setSequence(1); insuranceComponent.setFocal(true); insuranceComponent.setCoverage(new Reference() .setDisplay(encounter.claim.getPayer().getName())); claimResource.addInsurance(insuranceComponent); // duration of encounter claimResource.setBillablePeriod(encounterResource.getPeriod()); claimResource.setCreated(encounterResource.getPeriod().getEnd()); claimResource.setPatient(new Reference() .setReference(personEntry.getFullUrl()) .setDisplay((String) person.attributes.get(Person.NAME))); claimResource.setProvider(encounterResource.getServiceProvider()); if (USE_US_CORE_IG) { claimResource.setFacility(encounterResource.getLocationFirstRep().getLocation()); } // set the required priority CodeableConcept priority = new CodeableConcept(); priority.getCodingFirstRep() .setSystem("path_to_url") .setCode("normal"); claimResource.setPriority(priority); // add item for encounter claimResource.addItem(new ItemComponent(new PositiveIntType(1), encounterResource.getTypeFirstRep()) .addEncounter(new Reference(encounterEntry.getFullUrl()))); int itemSequence = 2; int conditionSequence = 1; int procedureSequence = 1; int informationSequence = 1; for (Claim.ClaimEntry claimEntry : encounter.claim.items) { HealthRecord.Entry item = claimEntry.entry; if (Costs.hasCost(item)) { // update claimItems list Code primaryCode = item.codes.get(0); String system = ExportHelper.getSystemURI(primaryCode.system); ItemComponent claimItem = new ItemComponent(new PositiveIntType(itemSequence), mapCodeToCodeableConcept(primaryCode, system)); // calculate the cost of the procedure Money moneyResource = new Money(); moneyResource.setCurrency("USD"); moneyResource.setValue(item.getCost()); claimItem.setNet(moneyResource); claimResource.addItem(claimItem); if (item instanceof Procedure) { Type procedureReference = new Reference(item.fullUrl); ProcedureComponent claimProcedure = new ProcedureComponent( new PositiveIntType(procedureSequence), procedureReference); claimResource.addProcedure(claimProcedure); claimItem.addProcedureSequence(procedureSequence); procedureSequence++; } else { Reference informationReference = new Reference(item.fullUrl); SupportingInformationComponent informationComponent = new SupportingInformationComponent(); informationComponent.setSequence(informationSequence); informationComponent.setValue(informationReference); CodeableConcept category = new CodeableConcept(); category.getCodingFirstRep() .setSystem("path_to_url") .setCode("info"); informationComponent.setCategory(category); claimResource.addSupportingInfo(informationComponent); claimItem.addInformationSequence(informationSequence); informationSequence++; } } else { // assume it's a Condition, we don't have a Condition class specifically // add diagnosisComponent to claim Reference diagnosisReference = new Reference(item.fullUrl); DiagnosisComponent diagnosisComponent = new DiagnosisComponent( new PositiveIntType(conditionSequence), diagnosisReference); claimResource.addDiagnosis(diagnosisComponent); // update claimItems with diagnosis ItemComponent diagnosisItem = new ItemComponent(new PositiveIntType(itemSequence), mapCodeToCodeableConcept(item.codes.get(0), SNOMED_URI)); diagnosisItem.addDiagnosisSequence(conditionSequence); claimResource.addItem(diagnosisItem); conditionSequence++; } itemSequence++; } Money moneyResource = new Money(); moneyResource.setCurrency("USD"); moneyResource.setValue(encounter.claim.getTotalClaimCost()); claimResource.setTotal(moneyResource); return newEntry(bundle, claimResource, encounter.claim.uuid.toString()); } /** * Create an explanation of benefit resource for each claim, detailing insurance * information. * * @param personEntry Entry for the person * @param bundle The Bundle to add to * @param encounterEntry The current Encounter * @param claimEntry the Claim object * @param person the person the health record belongs to * @param encounter the current Encounter as an object * @param claim the Claim. * @return the added entry */ private static BundleEntryComponent explanationOfBenefit(BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Person person, BundleEntryComponent claimEntry, Encounter encounter, Claim claim) { ExplanationOfBenefit eob = new ExplanationOfBenefit(); eob.setStatus(org.hl7.fhir.r4.model.ExplanationOfBenefit.ExplanationOfBenefitStatus.ACTIVE); eob.setType(new CodeableConcept() .addCoding(new Coding() .setSystem("path_to_url") .setCode("professional") .setDisplay("Professional"))); eob.setUse(Use.CLAIM); eob.setOutcome(RemittanceOutcome.COMPLETE); org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); // according to CMS guidelines claims have 12 months to be // billed, so we set the billable period to 1 year after // services have ended (the encounter ends). Calendar cal = Calendar.getInstance(); cal.setTime(encounterResource.getPeriod().getEnd()); cal.add(Calendar.YEAR, 1); Period billablePeriod = new Period() .setStart(encounterResource .getPeriod() .getEnd()) .setEnd(cal.getTime()); eob.setBillablePeriod(billablePeriod); // cost is hardcoded to be USD in claim so this should be fine as well Money totalCost = new Money(); totalCost.setCurrency("USD"); totalCost.setValue(claim.getTotalClaimCost()); TotalComponent total = eob.addTotal(); total.setAmount(totalCost); Code submitted = new Code("path_to_url", "submitted", "Submitted Amount"); total.setCategory(mapCodeToCodeableConcept(submitted, "path_to_url")); // Set References eob.setPatient(new Reference(personEntry.getFullUrl())); if (USE_US_CORE_IG) { eob.setFacility(encounterResource.getLocationFirstRep().getLocation()); } ServiceRequest referral = (ServiceRequest) new ServiceRequest() .setStatus(ServiceRequest.ServiceRequestStatus.COMPLETED) .setIntent(ServiceRequest.ServiceRequestIntent.ORDER) .setSubject(new Reference(personEntry.getFullUrl())) .setId("referral"); CodeableConcept primaryCareRole = new CodeableConcept().addCoding(new Coding() .setCode("primary") .setSystem("path_to_url") .setDisplay("Primary provider")); Reference providerReference = new Reference().setDisplay("Unknown"); if (encounter.clinician != null) { String practitionerFullUrl = TRANSACTION_BUNDLE ? ExportHelper.buildFhirNpiSearchUrl(encounter.clinician) : findPractitioner(encounter.clinician, bundle); if (practitionerFullUrl != null) { providerReference = new Reference(practitionerFullUrl); } } else if (encounter.provider != null) { String providerUrl = TRANSACTION_BUNDLE ? ExportHelper.buildFhirSearchUrl("Location", encounter.provider.getResourceLocationID()) : findProviderUrl(encounter.provider, bundle); if (providerUrl != null) { providerReference = new Reference(providerUrl); } } eob.setProvider(providerReference); eob.addCareTeam(new ExplanationOfBenefit.CareTeamComponent() .setSequence(1) .setProvider(providerReference) .setRole(primaryCareRole)); referral.setRequester(providerReference); referral.addPerformer(providerReference); eob.addContained(referral); eob.setReferral(new Reference().setReference("#referral")); // Get the insurance info at the time that the encounter occurred. Payer payer = claim.getPayer(); Coverage coverage = new Coverage(); coverage.setId("coverage"); coverage.setStatus(CoverageStatus.ACTIVE); coverage.setType(new CodeableConcept().setText(payer.getName())); coverage.setBeneficiary(new Reference(personEntry.getFullUrl())); coverage.addPayor(new Reference().setDisplay(payer.getName())); eob.addContained(coverage); ExplanationOfBenefit.InsuranceComponent insuranceComponent = new ExplanationOfBenefit.InsuranceComponent(); insuranceComponent.setFocal(true); insuranceComponent.setCoverage(new Reference("#coverage").setDisplay(payer.getName())); eob.addInsurance(insuranceComponent); eob.setInsurer(new Reference().setDisplay(payer.getName())); org.hl7.fhir.r4.model.Claim claimResource = (org.hl7.fhir.r4.model.Claim) claimEntry.getResource(); eob.addIdentifier() .setSystem("path_to_url") .setValue(claimResource.getId()); // Hardcoded group id eob.addIdentifier() .setSystem("path_to_url") .setValue("99999999999"); eob.setClaim(new Reference().setReference(claimEntry.getFullUrl())); eob.setCreated(encounterResource.getPeriod().getEnd()); eob.setType(claimResource.getType()); List<ExplanationOfBenefit.DiagnosisComponent> eobDiag = new ArrayList<>(); for (DiagnosisComponent claimDiagnosis : claimResource.getDiagnosis()) { ExplanationOfBenefit.DiagnosisComponent diagnosisComponent = new ExplanationOfBenefit.DiagnosisComponent(); diagnosisComponent.setDiagnosis(claimDiagnosis.getDiagnosis()); diagnosisComponent.getType().add(new CodeableConcept() .addCoding(new Coding() .setCode("principal") .setSystem("path_to_url"))); diagnosisComponent.setSequence(claimDiagnosis.getSequence()); diagnosisComponent.setPackageCode(claimDiagnosis.getPackageCode()); eobDiag.add(diagnosisComponent); } eob.setDiagnosis(eobDiag); List<ExplanationOfBenefit.ProcedureComponent> eobProc = new ArrayList<>(); for (ProcedureComponent proc : claimResource.getProcedure()) { ExplanationOfBenefit.ProcedureComponent p = new ExplanationOfBenefit.ProcedureComponent(); p.setDate(proc.getDate()); p.setSequence(proc.getSequence()); p.setProcedure(proc.getProcedure()); } eob.setProcedure(eobProc); List<ExplanationOfBenefit.ItemComponent> eobItem = new ArrayList<>(); double totalPayment = 0; // Get all the items info from the claim for (ItemComponent item : claimResource.getItem()) { ExplanationOfBenefit.ItemComponent itemComponent = new ExplanationOfBenefit.ItemComponent(); itemComponent.setSequence(item.getSequence()); itemComponent.setQuantity(item.getQuantity()); itemComponent.setUnitPrice(item.getUnitPrice()); itemComponent.setCareTeamSequence(item.getCareTeamSequence()); itemComponent.setDiagnosisSequence(item.getDiagnosisSequence()); itemComponent.setInformationSequence(item.getInformationSequence()); itemComponent.setNet(item.getNet()); itemComponent.setEncounter(item.getEncounter()); itemComponent.setServiced(encounterResource.getPeriod()); itemComponent.setCategory(new CodeableConcept().addCoding(new Coding() .setSystem("path_to_url") .setCode("1") .setDisplay("Medical care"))); itemComponent.setProductOrService(item.getProductOrService()); // Location of service, can use switch statement based on // encounter type String code; String display; CodeableConcept location = new CodeableConcept(); EncounterType encounterType = EncounterType.fromString(encounter.type); switch (encounterType) { case AMBULATORY: code = "21"; display = "Inpatient Hospital"; break; case EMERGENCY: code = "20"; display = "Urgent Care Facility"; break; case INPATIENT: code = "21"; display = "Inpatient Hospital"; break; case URGENTCARE: code = "20"; display = "Urgent Care Facility"; break; case WELLNESS: code = "19"; display = "Off Campus-Outpatient Hospital"; break; default: code = "21"; display = "Inpatient Hospital"; } location.addCoding() .setCode(code) .setSystem("path_to_url") .setDisplay(display); itemComponent.setLocation(location); // Adjudication if (item.hasNet()) { // Assume that the patient has already paid deductible and // has 20/80 coinsurance ExplanationOfBenefit.AdjudicationComponent coinsuranceAmount = new ExplanationOfBenefit.AdjudicationComponent(); coinsuranceAmount.getCategory() .getCoding() .add(new Coding() .setCode("path_to_url") .setSystem("path_to_url") .setDisplay("Line Beneficiary Coinsurance Amount")); coinsuranceAmount.getAmount() .setValue(0.2 * item.getNet().getValue().doubleValue()) //20% coinsurance .setCurrency("USD"); ExplanationOfBenefit.AdjudicationComponent lineProviderAmount = new ExplanationOfBenefit.AdjudicationComponent(); lineProviderAmount.getCategory() .getCoding() .add(new Coding() .setCode("path_to_url") .setSystem("path_to_url") .setDisplay("Line Provider Payment Amount")); lineProviderAmount.getAmount() .setValue(0.8 * item.getNet().getValue().doubleValue()) .setCurrency("USD"); // assume the allowed and submitted amounts are the same for now ExplanationOfBenefit.AdjudicationComponent submittedAmount = new ExplanationOfBenefit.AdjudicationComponent(); submittedAmount.getCategory() .getCoding() .add(new Coding() .setCode("path_to_url") .setSystem("path_to_url") .setDisplay("Line Submitted Charge Amount")); submittedAmount.getAmount() .setValue(item.getNet().getValue()) .setCurrency("USD"); ExplanationOfBenefit.AdjudicationComponent allowedAmount = new ExplanationOfBenefit.AdjudicationComponent(); allowedAmount.getCategory() .getCoding() .add(new Coding() .setCode("path_to_url") .setSystem("path_to_url") .setDisplay("Line Allowed Charge Amount")); allowedAmount.getAmount() .setValue(item.getNet().getValue()) .setCurrency("USD"); ExplanationOfBenefit.AdjudicationComponent indicatorCode = new ExplanationOfBenefit.AdjudicationComponent(); indicatorCode.getCategory() .getCoding() .add(new Coding() .setCode("path_to_url") .setSystem("path_to_url") .setDisplay("Line Processing Indicator Code")); // assume deductible is 0 ExplanationOfBenefit.AdjudicationComponent deductibleAmount = new ExplanationOfBenefit.AdjudicationComponent(); deductibleAmount.getCategory() .getCoding() .add(new Coding() .setCode("path_to_url") .setSystem("path_to_url") .setDisplay("Line Beneficiary Part B Deductible Amount")); deductibleAmount.getAmount() .setValue(0) .setCurrency("USD"); List<ExplanationOfBenefit.AdjudicationComponent> adjudicationComponents = new ArrayList<>(); adjudicationComponents.add(coinsuranceAmount); adjudicationComponents.add(lineProviderAmount); adjudicationComponents.add(submittedAmount); adjudicationComponents.add(allowedAmount); adjudicationComponents.add(deductibleAmount); adjudicationComponents.add(indicatorCode); itemComponent.setAdjudication(adjudicationComponents); // the total payment is what the insurance ends up paying totalPayment += 0.8 * item.getNet().getValue().doubleValue(); } eobItem.add(itemComponent); } eob.setItem(eobItem); // This will throw a validation error no matter what. The // payment section is required, and it requires a value. // The validator will complain that if there is a value, the payment // needs a code, but it will also complain if there is a code. // There is no way to resolve this error. Money payment = new Money(); payment.setValue(totalPayment) .setCurrency("USD"); eob.setPayment(new ExplanationOfBenefit.PaymentComponent() .setAmount(payment)); String uuid = ExportHelper.buildUUID(person, claim.mainEntry.entry.start, "ExplanationOfBenefit for Claim" + claim.uuid); return newEntry(bundle, eob, uuid); } /** * Map the Condition into a FHIR Condition resource, and add it to the given Bundle. * * @param personEntry The Entry for the Person * @param bundle The Bundle to add to * @param encounterEntry The current Encounter entry * @param condition The Condition * @return The added Entry */ private static BundleEntryComponent condition( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, HealthRecord.Entry condition) { Condition conditionResource = new Condition(); if (USE_US_CORE_IG) { Meta meta = new Meta(); if (useUSCore5() || useUSCore6()) { meta.addProfile( "path_to_url"); } else { meta.addProfile( "path_to_url"); } conditionResource.setMeta(meta); conditionResource.addCategory(new CodeableConcept().addCoding(new Coding( "path_to_url", "encounter-diagnosis", "Encounter Diagnosis"))); } conditionResource.setSubject(new Reference(personEntry.getFullUrl())); conditionResource.setEncounter(new Reference(encounterEntry.getFullUrl())); Code code = condition.codes.get(0); conditionResource.setCode(mapCodeToCodeableConcept(code, SNOMED_URI)); CodeableConcept verification = new CodeableConcept(); verification.getCodingFirstRep() .setCode("confirmed") .setSystem("path_to_url"); conditionResource.setVerificationStatus(verification); CodeableConcept status = new CodeableConcept(); status.getCodingFirstRep() .setCode("active") .setSystem("path_to_url"); conditionResource.setClinicalStatus(status); conditionResource.setOnset(convertFhirDateTime(condition.start, true)); conditionResource.setRecordedDate(new Date(condition.start)); if (condition.stop != 0) { conditionResource.setAbatement(convertFhirDateTime(condition.stop, true)); status.getCodingFirstRep().setCode("resolved"); } BundleEntryComponent conditionEntry = newEntry(bundle, conditionResource, condition.uuid.toString()); condition.fullUrl = conditionEntry.getFullUrl(); return conditionEntry; } /** * Map the Condition into a FHIR AllergyIntolerance resource, and add it to the given Bundle. * * @param personEntry The Entry for the Person * @param bundle The Bundle to add to * @param encounterEntry The current Encounter entry * @param allergy The Allergy Entry * @return The added Entry */ private static BundleEntryComponent allergy( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, HealthRecord.Allergy allergy) { AllergyIntolerance allergyResource = new AllergyIntolerance(); allergyResource.setRecordedDate(new Date(allergy.start)); CodeableConcept status = new CodeableConcept(); status.getCodingFirstRep() .setSystem("path_to_url"); allergyResource.setClinicalStatus(status); if (allergy.stop == 0) { status.getCodingFirstRep().setCode("active"); } else { status.getCodingFirstRep().setCode("inactive"); } if (allergy.allergyType == null || allergy.allergyType.equalsIgnoreCase("allergy")) { allergyResource.setType(AllergyIntoleranceType.ALLERGY); } else { allergyResource.setType(AllergyIntoleranceType.INTOLERANCE); } AllergyIntoleranceCategory category = null; if (allergy.category != null) { switch (allergy.category) { case "food": category = AllergyIntoleranceCategory.FOOD; break; case "medication": category = AllergyIntoleranceCategory.MEDICATION; break; case "environment": category = AllergyIntoleranceCategory.ENVIRONMENT; break; case "biologic": category = AllergyIntoleranceCategory.BIOLOGIC; break; default: category = AllergyIntoleranceCategory.MEDICATION; } } allergyResource.addCategory(category); allergyResource.setCriticality(AllergyIntoleranceCriticality.LOW); CodeableConcept verification = new CodeableConcept(); verification.getCodingFirstRep() .setSystem("path_to_url") .setCode("confirmed"); allergyResource.setVerificationStatus(verification); allergyResource.setPatient(new Reference(personEntry.getFullUrl())); Code code = allergy.codes.get(0); allergyResource.setCode(mapCodeToCodeableConcept(code, SNOMED_URI)); if (allergy.reactions != null) { List<Code> sortedReactions = new ArrayList<>(allergy.reactions.keySet()); sortedReactions.sort((a,b) -> a.code.compareTo(b.code)); sortedReactions.forEach(manifestation -> { AllergyIntolerance.AllergyIntoleranceReactionComponent reactionComponent = new AllergyIntolerance.AllergyIntoleranceReactionComponent(); reactionComponent.addManifestation(mapCodeToCodeableConcept(manifestation, SNOMED_URI)); HealthRecord.ReactionSeverity severity = allergy.reactions.get(manifestation); if (severity != null) { switch (severity) { case MILD: reactionComponent.setSeverity(AllergyIntolerance.AllergyIntoleranceSeverity.MILD); break; case MODERATE: reactionComponent.setSeverity(AllergyIntolerance.AllergyIntoleranceSeverity.MODERATE); break; case SEVERE: reactionComponent.setSeverity(AllergyIntolerance.AllergyIntoleranceSeverity.SEVERE); break; default: // do nothing } } allergyResource.addReaction(reactionComponent); }); } if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); allergyResource.setMeta(meta); } BundleEntryComponent allergyEntry = newEntry(bundle, allergyResource, allergy.uuid.toString()); allergy.fullUrl = allergyEntry.getFullUrl(); return allergyEntry; } /** * Map the given Observation into a FHIR Observation resource, and add it to the given Bundle. * * @param personEntry The Person Entry * @param bundle The Bundle to add to * @param encounterEntry The current Encounter entry * @param observation The Observation * @return The added Entry */ private static BundleEntryComponent observation( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Observation observation) { org.hl7.fhir.r4.model.Observation observationResource = new org.hl7.fhir.r4.model.Observation(); observationResource.setSubject(new Reference(personEntry.getFullUrl())); observationResource.setEncounter(new Reference(encounterEntry.getFullUrl())); observationResource.setStatus(ObservationStatus.FINAL); Code code = observation.codes.get(0); observationResource.setCode(mapCodeToCodeableConcept(code, LOINC_URI)); // add extra codes, if there are any... if (observation.codes.size() > 1) { for (int i = 1; i < observation.codes.size(); i++) { code = observation.codes.get(i); Coding coding = new Coding(); coding.setCode(code.code); coding.setDisplay(code.display); coding.setSystem(LOINC_URI); observationResource.getCode().addCoding(coding); } } // map the code to the official display, ex "vital-signs" --> "Vital Signs" // in all cases the text is the same just with these two differences- space/hyphen and caps // path_to_url String categoryDisplay = null; if (observation.category != null) { categoryDisplay = StringUtils.capitalize(observation.category.replace('-', ' ')); } observationResource.addCategory().addCoding().setCode(observation.category) .setSystem("path_to_url") .setDisplay(categoryDisplay); if (observation.value != null) { Type value = mapValueToFHIRType(observation.value, observation.unit); observationResource.setValue(value); } else if (observation.observations != null && !observation.observations.isEmpty()) { // multi-observation (ex blood pressure) for (Observation subObs : observation.observations) { ObservationComponentComponent comp = new ObservationComponentComponent(); comp.setCode(mapCodeToCodeableConcept(subObs.codes.get(0), LOINC_URI)); Type value = mapValueToFHIRType(subObs.value, subObs.unit); comp.setValue(value); observationResource.addComponent(comp); } } observationResource.setEffective(convertFhirDateTime(observation.start, true)); observationResource.setIssued(new Date(observation.start)); if (USE_US_CORE_IG) { Meta meta = new Meta(); // add the specific profile based on code String codeMappingUri = US_CORE_MAPPING.get(LOINC_URI, code.code); if (codeMappingUri != null) { meta.addProfile(codeMappingUri); if (!codeMappingUri.contains("/us/core/") && observation.category.equals("vital-signs")) { meta.addProfile("path_to_url"); } } else if (observation.report != null && observation.category.equals("laboratory")) { meta.addProfile("path_to_url"); } if (observation.category != null) { if (useUSCore6()) { switch (observation.category) { case "imaging": meta.addProfile("path_to_url"); break; case "social-history": meta.addProfile("path_to_url"); break; case "survey": meta.addProfile("path_to_url"); break; case "exam": meta.addProfile("path_to_url"); break; case "laboratory": meta.addProfile("path_to_url"); break; default: // do nothing } } else if (useUSCore5()) { switch (observation.category) { case "imaging": meta.addProfile("path_to_url"); break; case "social-history": meta.addProfile("path_to_url"); break; case "survey": meta.addProfile("path_to_url"); // note that the -sdoh-assessment profile is a subset of -survey, // those are handled by code in US_CORE_MAPPING above break; case "exam": // this one is a little nebulous -- are all exams also clinical tests? meta.addProfile("path_to_url"); observationResource.addCategory().addCoding().setCode("clinical-test") .setSystem("path_to_url") .setDisplay("Clinical Test"); break; default: // do nothing } } } if (meta.hasProfile()) { observationResource.setMeta(meta); } } BundleEntryComponent entry = newEntry(bundle, observationResource, observation.uuid.toString()); observation.fullUrl = entry.getFullUrl(); return entry; } static Type mapValueToFHIRType(Object value, String unit) { if (value == null) { return null; } else if (value instanceof Condition) { Code conditionCode = ((HealthRecord.Entry) value).codes.get(0); return mapCodeToCodeableConcept(conditionCode, SNOMED_URI); } else if (value instanceof Code) { return mapCodeToCodeableConcept((Code) value, SNOMED_URI); } else if (value instanceof String) { return new StringType((String) value); } else if (value instanceof Number) { double dblVal = ((Number) value).doubleValue(); PlainBigDecimal bigVal = new PlainBigDecimal(dblVal); return new Quantity().setValue(bigVal) .setCode(unit).setSystem(UNITSOFMEASURE_URI) .setUnit(unit); } else if (value instanceof Components.SampledData) { return mapValueToSampledData((Components.SampledData) value, unit); } else if (value instanceof Boolean) { return new BooleanType((Boolean) value); } else { throw new IllegalArgumentException("unexpected observation value class: " + value.getClass().toString() + "; " + value); } } /** * Maps a Synthea internal SampledData object to the FHIR standard SampledData * representation. * * @param value Synthea internal SampledData instance * @param unit Observation unit value * @return */ static org.hl7.fhir.r4.model.SampledData mapValueToSampledData( Components.SampledData value, String unit) { org.hl7.fhir.r4.model.SampledData recordData = new org.hl7.fhir.r4.model.SampledData(); recordData.setOrigin(new Quantity().setValue(value.originValue) .setCode(unit).setSystem(UNITSOFMEASURE_URI) .setUnit(unit)); // Use the period from the first series. They should all be the same. // FHIR output is milliseconds so we need to convert from TimeSeriesData seconds. recordData.setPeriod(value.series.get(0).getPeriod() * 1000); // Set optional fields if they were provided if (value.factor != null) { recordData.setFactor(value.factor); } if (value.lowerLimit != null) { recordData.setLowerLimit(value.lowerLimit); } if (value.upperLimit != null) { recordData.setUpperLimit(value.upperLimit); } recordData.setDimensions(value.series.size()); recordData.setData(ExportHelper.sampledDataToValueString(value)); return recordData; } /** * Map the given Procedure into a FHIR Procedure resource, and add it to the given Bundle. * * @param personEntry The Person entry * @param bundle Bundle to add to * @param encounterEntry The current Encounter entry * @param procedure The Procedure * @return The added Entry */ private static BundleEntryComponent procedure( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Procedure procedure) { org.hl7.fhir.r4.model.Procedure procedureResource = new org.hl7.fhir.r4.model.Procedure(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); procedureResource.setMeta(meta); } procedureResource.setStatus(ProcedureStatus.COMPLETED); procedureResource.setSubject(new Reference(personEntry.getFullUrl())); procedureResource.setEncounter(new Reference(encounterEntry.getFullUrl())); if (USE_US_CORE_IG) { org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); procedureResource.setLocation(encounterResource.getLocationFirstRep().getLocation()); } Code code = procedure.codes.get(0); CodeableConcept procCode = mapCodeToCodeableConcept(code, SNOMED_URI); procedureResource.setCode(procCode); if (procedure.stop != 0L) { Date startDate = new Date(procedure.start); Date endDate = new Date(procedure.stop); procedureResource.setPerformed(new Period().setStart(startDate).setEnd(endDate)); } else { procedureResource.setPerformed(convertFhirDateTime(procedure.start, true)); } if (!procedure.reasons.isEmpty()) { Code reason = procedure.reasons.get(0); // Only one element in list BundleEntryComponent reasonCondition = findConditionResourceByCode(bundle, reason.code); if (reasonCondition != null) { procedureResource.addReasonReference() .setReference(reasonCondition.getFullUrl()) .setDisplay(reason.display); } else { // we didn't find a matching Condition, // fallback to just reason code procedureResource.addReasonCode(mapCodeToCodeableConcept(reason, SNOMED_URI)); } } BundleEntryComponent procedureEntry = newEntry(bundle, procedureResource, procedure.uuid.toString()); procedure.fullUrl = procedureEntry.getFullUrl(); return procedureEntry; } /** * Map the HealthRecord.Device into a FHIR Device and add it to the Bundle. * * @param personEntry The Person entry. * @param bundle Bundle to add to. * @param device The device to add. * @return The added Entry. */ private static BundleEntryComponent device( BundleEntryComponent personEntry, Bundle bundle, HealthRecord.Device device) { Device deviceResource = new Device(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile("path_to_url"); deviceResource.setMeta(meta); } deviceResource.addUdiCarrier() .setDeviceIdentifier(device.deviceIdentifier) .setCarrierHRF(device.udi); deviceResource.setStatus(FHIRDeviceStatus.ACTIVE); deviceResource.setDistinctIdentifier(device.deviceIdentifier); if (device.manufacturer != null) { deviceResource.setManufacturer(device.manufacturer); } if (device.model != null) { deviceResource.setModelNumber(device.model); } deviceResource.setManufactureDate(new Date(device.manufactureTime)); deviceResource.setExpirationDate(new Date(device.expirationTime)); deviceResource.setLotNumber(device.lotNumber); deviceResource.setSerialNumber(device.serialNumber); deviceResource.addDeviceName() .setName(device.codes.get(0).display) .setType(DeviceNameType.USERFRIENDLYNAME); deviceResource.setType(mapCodeToCodeableConcept(device.codes.get(0), SNOMED_URI)); deviceResource.setPatient(new Reference(personEntry.getFullUrl())); return newEntry(bundle, deviceResource, device.uuid.toString()); } /** * Map the JsonObject for a Supply into a FHIR SupplyDelivery and add it to the Bundle. * * @param personEntry The Person entry. * @param bundle Bundle to add to. * @param supply The supplied object to add. * @param encounter The encounter during which the supplies were delivered * @return The added Entry. */ private static BundleEntryComponent supplyDelivery( BundleEntryComponent personEntry, Bundle bundle, HealthRecord.Supply supply, Encounter encounter) { SupplyDelivery supplyResource = new SupplyDelivery(); supplyResource.setStatus(SupplyDeliveryStatus.COMPLETED); supplyResource.setPatient(new Reference(personEntry.getFullUrl())); CodeableConcept type = new CodeableConcept(); type.addCoding() .setCode("device") .setDisplay("Device") .setSystem("path_to_url"); supplyResource.setType(type); SupplyDeliverySuppliedItemComponent suppliedItem = new SupplyDeliverySuppliedItemComponent(); suppliedItem.setItem(mapCodeToCodeableConcept(supply.codes.get(0), SNOMED_URI)); suppliedItem.setQuantity(new Quantity(supply.quantity)); supplyResource.setSuppliedItem(suppliedItem); supplyResource.setOccurrence(convertFhirDateTime(supply.start, true)); return newEntry(bundle, supplyResource, supply.uuid.toString()); } /** * Create a Provenance entry at the end of this Bundle that * targets all the entries in the Bundle. * * @param bundle The finished complete Bundle. * @param person The person. * @param stopTime The time the simulation stopped. * @return BundleEntryComponent containing a Provenance resource. */ private static BundleEntryComponent provenance(Bundle bundle, Person person, long stopTime) { Provenance provenance = new Provenance(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); provenance.setMeta(meta); } for (BundleEntryComponent entry : bundle.getEntry()) { provenance.addTarget(new Reference(entry.getFullUrl())); } provenance.setRecorded(new Date(stopTime)); // Provenance sources... int index = person.record.encounters.size() - 1; Clinician clinician = null; Provider providerOrganization = null; while (index >= 0 && (clinician == null || providerOrganization == null)) { clinician = person.record.encounters.get(index).clinician; providerOrganization = person.record.encounters.get(index).provider; index--; } if (clinician == null && providerOrganization == null) { providerOrganization = person.getProvider(EncounterType.WELLNESS, stopTime); clinician = providerOrganization.chooseClinicianList(ClinicianSpecialty.GENERAL_PRACTICE, person); } else if (clinician == null || providerOrganization == null) { if (clinician == null && providerOrganization != null) { clinician = providerOrganization.chooseClinicianList(ClinicianSpecialty.GENERAL_PRACTICE, person); } else if (clinician != null && providerOrganization == null) { providerOrganization = clinician.getOrganization(); if (providerOrganization == null) { providerOrganization = person.getProvider(EncounterType.WELLNESS, stopTime); } } } if (clinician.getEncounterCount() == 0) { clinician.incrementEncounters(); } if (providerOrganization.getUtilization().isEmpty()) { // If this provider has never been used, ensure they have at least one encounter // (encounter creating this Provenance record) so that the provider is exported. providerOrganization.incrementEncounters(EncounterType.VIRTUAL, Utilities.getYear(stopTime)); } String clinicianDisplay = clinician.getFullname(); String practitionerFullUrl = TRANSACTION_BUNDLE ? ExportHelper.buildFhirNpiSearchUrl(clinician) : findPractitioner(clinician, bundle); String organizationFullUrl = TRANSACTION_BUNDLE ? ExportHelper.buildFhirSearchUrl("Organization", providerOrganization.getResourceID()) : findProviderUrl(providerOrganization, bundle); // Provenance Author... ProvenanceAgentComponent agent = provenance.addAgent(); agent.setType(mapCodeToCodeableConcept( new Code("path_to_url", "author", "Author"), null)); agent.setWho(new Reference() .setReference(practitionerFullUrl) .setDisplay(clinicianDisplay)); agent.setOnBehalfOf(new Reference() .setReference(organizationFullUrl) .setDisplay(providerOrganization.name)); // Provenance Transmitter... agent = provenance.addAgent(); agent.setType(mapCodeToCodeableConcept( new Code("path_to_url", "transmitter", "Transmitter"), null)); agent.setWho(new Reference() .setReference(practitionerFullUrl) .setDisplay(clinicianDisplay)); agent.setOnBehalfOf(new Reference() .setReference(organizationFullUrl) .setDisplay(providerOrganization.name)); // NOTE: this assumes only one Provenance per bundle. // If that assumption is ever not true, change the timestamp used and/or key here String uuid = ExportHelper.buildUUID(person, (long) person.attributes.get(Person.BIRTHDATE), "Provenance"); return newEntry(bundle, provenance, uuid); } private static BundleEntryComponent immunization( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, HealthRecord.Entry immunization) { Immunization immResource = new Immunization(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); immResource.setMeta(meta); } immResource.setStatus(ImmunizationStatus.COMPLETED); immResource.setOccurrence(convertFhirDateTime(immunization.start, true)); immResource.setVaccineCode(mapCodeToCodeableConcept(immunization.codes.get(0), CVX_URI)); immResource.setPrimarySource(true); immResource.setPatient(new Reference(personEntry.getFullUrl())); immResource.setEncounter(new Reference(encounterEntry.getFullUrl())); if (USE_US_CORE_IG) { org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); immResource.setLocation(encounterResource.getLocationFirstRep().getLocation()); } BundleEntryComponent immunizationEntry = newEntry(bundle, immResource, immunization.uuid.toString()); immunization.fullUrl = immunizationEntry.getFullUrl(); return immunizationEntry; } /** * Map the given Medication to a FHIR MedicationRequest resource, and add it to the given Bundle. * * @param person The person being prescribed medication * @param personEntry The Entry for the Person * @param bundle Bundle to add the Medication to * @param encounterEntry Current Encounter entry * @param encounter The Encounter * @param medication The Medication * @return The added Entry */ private static BundleEntryComponent medicationRequest( Person person, BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Encounter encounter, Medication medication) { MedicationRequest medicationResource = new MedicationRequest(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); medicationResource.setMeta(meta); Code category = new Code("path_to_url", "community", "Community"); medicationResource.addCategory(mapCodeToCodeableConcept(category, null)); } medicationResource.setSubject(new Reference(personEntry.getFullUrl())); medicationResource.setEncounter(new Reference(encounterEntry.getFullUrl())); Code code = medication.codes.get(0); String system = code.system.equals("SNOMED-CT") ? SNOMED_URI : RXNORM_URI; CodeableConcept medicationCodeableConcept = mapCodeToCodeableConcept(code, system); medicationResource.setMedication(medicationCodeableConcept); if (USE_US_CORE_IG && medication.administration && shouldExport(org.hl7.fhir.r4.model.Medication.class)) { // Occasionally, rather than use medication codes, we want to use a Medication // Resource. We only want to do this when we use US Core, to make sure we // sometimes produce a resource for the us-core-medication profile, and the // 'administration' flag is an arbitrary way to decide without flipping a coin. org.hl7.fhir.r4.model.Medication drugResource = new org.hl7.fhir.r4.model.Medication(); Meta meta = new Meta(); meta.addProfile( "path_to_url"); drugResource.setMeta(meta); drugResource.setCode(medicationCodeableConcept); drugResource.setStatus(MedicationStatus.ACTIVE); String drugUUID = ExportHelper.buildUUID(person, medication.start, "Medication Resource for " + medication.uuid); BundleEntryComponent drugEntry = newEntry(bundle, drugResource, drugUUID); medicationResource.setMedication(new Reference(drugEntry.getFullUrl())); // Set the MedicationRequest.category EncounterType type = EncounterType.fromString(encounter.type); if (type.code().equals(EncounterType.INPATIENT.code())) { CodeableConcept concept = medicationResource.getCategoryFirstRep(); concept.setText("Inpatient"); Coding category = concept.getCodingFirstRep(); category.setCode("inpatient"); category.setDisplay("Inpatient"); } else if (type.code().equals(EncounterType.OUTPATIENT.code())) { CodeableConcept concept = medicationResource.getCategoryFirstRep(); concept.setText("Outpatient"); Coding category = concept.getCodingFirstRep(); category.setCode("outpatient"); category.setDisplay("Outpatient"); } } medicationResource.setAuthoredOn(new Date(medication.start)); medicationResource.setIntent(MedicationRequestIntent.ORDER); org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); medicationResource.setRequester(encounterResource.getParticipantFirstRep().getIndividual()); if (medication.stop != 0L) { medicationResource.setStatus(MedicationRequestStatus.STOPPED); } else { medicationResource.setStatus(MedicationRequestStatus.ACTIVE); } if (!medication.reasons.isEmpty()) { // Only one element in list Code reason = medication.reasons.get(0); BundleEntryComponent reasonCondition = findConditionResourceByCode(bundle, reason.code); if (reasonCondition != null) { medicationResource.addReasonReference() .setReference(reasonCondition.getFullUrl()) .setDisplay(reason.display); } else { // we didn't find a matching Condition, // fallback to just reason code medicationResource.addReasonCode(mapCodeToCodeableConcept(reason, SNOMED_URI)); } } if (medication.prescriptionDetails != null) { JsonObject rxInfo = medication.prescriptionDetails; Dosage dosage = new Dosage(); dosage.setSequence(1); // as_needed is true if present dosage.setAsNeeded(new BooleanType(rxInfo.has("as_needed"))); if (rxInfo.has("as_needed")) { dosage.setText("Take as needed."); } // as_needed is false if ((rxInfo.has("dosage")) && (!rxInfo.has("as_needed"))) { Timing timing = new Timing(); TimingRepeatComponent timingRepeatComponent = new TimingRepeatComponent(); timingRepeatComponent.setFrequency( rxInfo.get("dosage").getAsJsonObject().get("frequency").getAsInt()); timingRepeatComponent.setPeriod( rxInfo.get("dosage").getAsJsonObject().get("period").getAsDouble()); timingRepeatComponent.setPeriodUnit( convertUcumCode(rxInfo.get("dosage").getAsJsonObject().get("unit").getAsString())); timing.setRepeat(timingRepeatComponent); dosage.setTiming(timing); Quantity dose = new SimpleQuantity().setValue( rxInfo.get("dosage").getAsJsonObject().get("amount").getAsDouble()); DosageDoseAndRateComponent dosageDetails = new DosageDoseAndRateComponent(); dosageDetails.setType(new CodeableConcept().addCoding( new Coding().setCode(DoseRateType.ORDERED.toCode()) .setSystem(DoseRateType.ORDERED.getSystem()) .setDisplay(DoseRateType.ORDERED.getDisplay()))); dosageDetails.setDose(dose); List<DosageDoseAndRateComponent> details = new ArrayList<DosageDoseAndRateComponent>(); details.add(dosageDetails); dosage.setDoseAndRate(details); if (rxInfo.has("instructions")) { StringBuilder text = new StringBuilder(); for (JsonElement instructionElement : rxInfo.get("instructions").getAsJsonArray()) { JsonObject instruction = instructionElement.getAsJsonObject(); Code instructionCode = new Code( SNOMED_URI, instruction.get("code").getAsString(), instruction.get("display").getAsString() ); text.append(instructionCode.display).append('\n'); dosage.addAdditionalInstruction(mapCodeToCodeableConcept(instructionCode, SNOMED_URI)); } text.deleteCharAt(text.length() - 1); // delete the last newline char dosage.setText(text.toString()); } } List<Dosage> dosageInstruction = new ArrayList<Dosage>(); dosageInstruction.add(dosage); medicationResource.setDosageInstruction(dosageInstruction); } BundleEntryComponent medicationEntry = newEntry(bundle, medicationResource, medication.uuid.toString()); if (shouldExport(org.hl7.fhir.r4.model.Claim.class)) { // create new claim for medication medicationClaim(person, personEntry, bundle, encounterEntry, encounter, medication.claim, medicationEntry, medicationCodeableConcept); } // Create new administration for medication, if needed if (medication.administration && shouldExport(MedicationAdministration.class)) { medicationAdministration(person, personEntry, bundle, encounterEntry, medication, medicationResource); } return medicationEntry; } /** * Add a MedicationAdministration if needed for the given medication. * * @param person The Person * @param personEntry The Entry for the Person * @param bundle Bundle to add the MedicationAdministration to * @param encounterEntry Current Encounter entry * @param medication The Medication * @param medicationRequest The related medicationRequest * @return The added Entry */ private static BundleEntryComponent medicationAdministration( Person person, BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Medication medication, MedicationRequest medicationRequest) { MedicationAdministration medicationResource = new MedicationAdministration(); medicationResource.setSubject(new Reference(personEntry.getFullUrl())); medicationResource.setContext(new Reference(encounterEntry.getFullUrl())); Code code = medication.codes.get(0); String system = code.system.equals("SNOMED-CT") ? SNOMED_URI : RXNORM_URI; medicationResource.setMedication(mapCodeToCodeableConcept(code, system)); medicationResource.setEffective(new DateTimeType(new Date(medication.start))); medicationResource.setStatus(MedicationAdministration.MedicationAdministrationStatus.COMPLETED); if (medication.prescriptionDetails != null) { JsonObject rxInfo = medication.prescriptionDetails; MedicationAdministrationDosageComponent dosage = new MedicationAdministrationDosageComponent(); // as_needed is false if ((rxInfo.has("dosage")) && (!rxInfo.has("as_needed"))) { Quantity dose = new SimpleQuantity() .setValue(rxInfo.get("dosage").getAsJsonObject().get("amount").getAsDouble()); dosage.setDose((SimpleQuantity) dose); if (rxInfo.has("instructions")) { for (JsonElement instructionElement : rxInfo.get("instructions").getAsJsonArray()) { JsonObject instruction = instructionElement.getAsJsonObject(); dosage.setText(instruction.get("display").getAsString()); } } } if (rxInfo.has("refills")) { SimpleQuantity rate = new SimpleQuantity(); rate.setValue(rxInfo.get("refills").getAsLong()); dosage.setRate(rate); } medicationResource.setDosage(dosage); } if (!medication.reasons.isEmpty()) { // Only one element in list Code reason = medication.reasons.get(0); BundleEntryComponent reasonCondition = findConditionResourceByCode(bundle, reason.code); if (reasonCondition != null) { medicationResource.addReasonReference() .setReference(reasonCondition.getFullUrl()) .setDisplay(reason.display); } else { // we didn't find a matching Condition, // fallback to just reason code medicationResource.addReasonCode(mapCodeToCodeableConcept(reason, SNOMED_URI)); } } String medicationAdminUUID = ExportHelper.buildUUID(person, medication.start, "MedicationAdministration for " + medication.uuid); BundleEntryComponent medicationAdminEntry = newEntry(bundle, medicationResource, medicationAdminUUID); return medicationAdminEntry; } /** * Map the given Report to a FHIR DiagnosticReport resource, and add it to the given Bundle. * * @param personEntry The Entry for the Person * @param bundle Bundle to add the Report to * @param encounterEntry Current Encounter entry * @param report The Report * @return The added Entry */ private static BundleEntryComponent report( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Report report) { DiagnosticReport reportResource = new DiagnosticReport(); boolean labsOnly = true; for (Observation observation : report.observations) { labsOnly = labsOnly && observation.category.equalsIgnoreCase("laboratory"); } if (labsOnly && USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); reportResource.setMeta(meta); org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); reportResource.addPerformer(encounterResource.getServiceProvider()); } reportResource.setStatus(DiagnosticReportStatus.FINAL); if (labsOnly) { reportResource.addCategory(new CodeableConcept( new Coding("path_to_url", "LAB", "Laboratory"))); } reportResource.setCode(mapCodeToCodeableConcept(report.codes.get(0), LOINC_URI)); reportResource.setSubject(new Reference(personEntry.getFullUrl())); reportResource.setEncounter(new Reference(encounterEntry.getFullUrl())); reportResource.setEffective(convertFhirDateTime(report.start, true)); reportResource.setIssued(new Date(report.start)); if (shouldExport(org.hl7.fhir.r4.model.Observation.class)) { // if observations are not exported, we can't reference them for (Observation observation : report.observations) { Reference reference = new Reference(observation.fullUrl); reference.setDisplay(observation.codes.get(0).display); reportResource.addResult(reference); } } return newEntry(bundle, reportResource, report.uuid.toString()); } /** * Add a clinical note to the Bundle, which adds both a DocumentReference and a * DiagnosticReport. * * @param person The Person * @param personEntry The Entry for the Person * @param bundle Bundle to add the Report to * @param encounterEntry Current Encounter entry * @param clinicalNoteText The plain text contents of the note. * @param currentNote If this is the most current note. * @return The entry for the DocumentReference. */ private static void clinicalNote(Person person, BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, String clinicalNoteText, boolean currentNote) { // We'll need the encounter... org.hl7.fhir.r4.model.Encounter encounter = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); // Add a DiagnosticReport DiagnosticReport reportResource = new DiagnosticReport(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); reportResource.setMeta(meta); } reportResource.setStatus(DiagnosticReportStatus.FINAL); reportResource.addCategory(new CodeableConcept( new Coding(LOINC_URI, "34117-2", "History and physical note"))); reportResource.getCategoryFirstRep().addCoding( new Coding(LOINC_URI, "51847-2", "Evaluation + Plan note")); reportResource.setCode(reportResource.getCategoryFirstRep()); reportResource.setSubject(new Reference(personEntry.getFullUrl())); reportResource.setEncounter(new Reference(encounterEntry.getFullUrl())); reportResource.setEffective(encounter.getPeriod().getStartElement()); reportResource.setIssued(encounter.getPeriod().getStart()); if (encounter.hasParticipant()) { reportResource.addPerformer(encounter.getParticipantFirstRep().getIndividual()); } else { reportResource.addPerformer(encounter.getServiceProvider()); } reportResource.addPresentedForm() .setContentType("text/plain; charset=utf-8") .setData(clinicalNoteText.getBytes(java.nio.charset.StandardCharsets.UTF_8)); // the note text might be exactly identical for multiple encounters, // so to ensure the UUID is unique use the encounter ID as the key // IMPORTANT: if this function is called more than once per encounter, change here and below! String reportUUID = ExportHelper.buildUUID(person, 0, "DiagnosticReport for note on encounter " + encounter.getId()); newEntry(bundle, reportResource, reportUUID); if (shouldExport(DocumentReference.class)) { // Add a DocumentReference DocumentReference documentReference = new DocumentReference(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); documentReference.setMeta(meta); } if (currentNote) { documentReference.setStatus(DocumentReferenceStatus.CURRENT); } else { documentReference.setStatus(DocumentReferenceStatus.SUPERSEDED); } documentReference.addIdentifier() .setSystem("urn:ietf:rfc:3986") .setValue("urn:uuid:" + reportResource.getId()); documentReference.setType(reportResource.getCategoryFirstRep()); documentReference.addCategory(new CodeableConcept( new Coding("path_to_url", "clinical-note", "Clinical Note"))); documentReference.setSubject(new Reference(personEntry.getFullUrl())); documentReference.setDate(encounter.getPeriod().getStart()); documentReference.addAuthor(reportResource.getPerformerFirstRep()); documentReference.setCustodian(encounter.getServiceProvider()); documentReference.addContent() .setAttachment(reportResource.getPresentedFormFirstRep()) .setFormat( new Coding("path_to_url", "urn:ihe:iti:xds:2017:mimeTypeSufficient", "mimeType Sufficient")); documentReference.setContext(new DocumentReferenceContextComponent() .addEncounter(reportResource.getEncounter()) .setPeriod(encounter.getPeriod())); String documentUUID = ExportHelper.buildUUID(person, 0, "DocumentReference for note on encounter " + encounter.getId()); newEntry(bundle, documentReference, documentUUID); } } /** * Map the given CarePlan to a FHIR CarePlan resource, and add it to the given Bundle. * * @param person The Person * @param personEntry The Entry for the Person * @param bundle Bundle to add the CarePlan to * @param encounterEntry Current Encounter entry * @param provider The current provider * @param carePlan The CarePlan to map to FHIR and add to the bundle * @return The added Entry */ private static BundleEntryComponent carePlan(Person person, BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Provider provider, BundleEntryComponent careTeamEntry, CarePlan carePlan) { org.hl7.fhir.r4.model.CarePlan careplanResource = new org.hl7.fhir.r4.model.CarePlan(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); careplanResource.setMeta(meta); careplanResource.addCategory(mapCodeToCodeableConcept( new Code("path_to_url", "assess-plan", null), null)); } String narrative = "Care Plan for "; careplanResource.setIntent(CarePlanIntent.ORDER); careplanResource.setSubject(new Reference(personEntry.getFullUrl())); careplanResource.setEncounter(new Reference(encounterEntry.getFullUrl())); if (careTeamEntry != null) { careplanResource.addCareTeam(new Reference(careTeamEntry.getFullUrl())); } Code code = carePlan.codes.get(0); careplanResource.addCategory(mapCodeToCodeableConcept(code, SNOMED_URI)); narrative += code.display + "."; CarePlanActivityStatus activityStatus; CodeableConcept goalStatus = new CodeableConcept(); goalStatus.getCodingFirstRep() .setSystem("path_to_url"); Period period = new Period().setStart(new Date(carePlan.start)); careplanResource.setPeriod(period); if (carePlan.stop != 0L) { period.setEnd(new Date(carePlan.stop)); careplanResource.setStatus(CarePlanStatus.COMPLETED); activityStatus = CarePlanActivityStatus.COMPLETED; goalStatus.getCodingFirstRep().setCode("achieved"); } else { careplanResource.setStatus(CarePlanStatus.ACTIVE); activityStatus = CarePlanActivityStatus.INPROGRESS; goalStatus.getCodingFirstRep().setCode("in-progress"); } BundleEntryComponent reasonCondition = null; Code reason = null; if (!carePlan.reasons.isEmpty()) { // Only one element in list reason = carePlan.reasons.get(0); narrative += "<br/>Care plan is meant to treat " + reason.display + "."; reasonCondition = findConditionResourceByCode(bundle, reason.code); if (reasonCondition != null) { careplanResource.addAddresses().setReference(reasonCondition.getFullUrl()); } } if (!carePlan.activities.isEmpty()) { narrative += "<br/>Activities: <ul>"; String locationUrl = findLocationUrl(provider, bundle); for (Code activity : carePlan.activities) { narrative += "<li>" + code.display + "</li>"; CarePlanActivityComponent activityComponent = new CarePlanActivityComponent(); CarePlanActivityDetailComponent activityDetailComponent = new CarePlanActivityDetailComponent(); activityDetailComponent.setStatus(activityStatus); activityDetailComponent.setLocation(new Reference() .setReference(locationUrl) .setDisplay(provider.name)); activityDetailComponent.setCode(mapCodeToCodeableConcept(activity, SNOMED_URI)); if (reasonCondition != null) { activityDetailComponent.addReasonReference().setReference(reasonCondition.getFullUrl()); } else if (reason != null) { activityDetailComponent.addReasonCode(mapCodeToCodeableConcept(reason, SNOMED_URI)); } activityComponent.setDetail(activityDetailComponent); careplanResource.addActivity(activityComponent); } narrative += "</ul>"; } for (JsonObject goal : carePlan.goals) { BundleEntryComponent goalEntry = careGoal(person, bundle, personEntry, carePlan.start, goalStatus, goal); careplanResource.addGoal().setReference(goalEntry.getFullUrl()); } careplanResource.setText(new Narrative().setStatus(NarrativeStatus.GENERATED) .setDiv(new XhtmlNode(NodeType.Element).setValue(narrative))); return newEntry(bundle, careplanResource, carePlan.uuid.toString()); } /** * Map the JsonObject into a FHIR Goal resource, and add it to the given Bundle. * @param person The Person * @param bundle The Bundle to add to * @param goalStatus The GoalStatus * @param goal The JsonObject * @return The added Entry */ private static BundleEntryComponent careGoal( Person person, Bundle bundle, BundleEntryComponent personEntry, long carePlanStart, CodeableConcept goalStatus, JsonObject goal) { Goal goalResource = new Goal(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); goalResource.setMeta(meta); } goalResource.setLifecycleStatus(GoalLifecycleStatus.ACCEPTED); goalResource.setAchievementStatus(goalStatus); goalResource.setSubject(new Reference(personEntry.getFullUrl())); if (goal.has("text")) { CodeableConcept descriptionCodeableConcept = new CodeableConcept(); descriptionCodeableConcept.setText(goal.get("text").getAsString()); goalResource.setDescription(descriptionCodeableConcept); } else if (goal.has("codes")) { CodeableConcept descriptionCodeableConcept = new CodeableConcept(); JsonObject code = goal.get("codes").getAsJsonArray().get(0).getAsJsonObject(); descriptionCodeableConcept.addCoding() .setSystem(LOINC_URI) .setCode(code.get("code").getAsString()) .setDisplay(code.get("display").getAsString()); descriptionCodeableConcept.setText(code.get("display").getAsString()); goalResource.setDescription(descriptionCodeableConcept); } else if (goal.has("observation")) { CodeableConcept descriptionCodeableConcept = new CodeableConcept(); // build up our own text from the observation condition, similar to the graphviz logic JsonObject logic = goal.get("observation").getAsJsonObject(); String[] text = { logic.get("codes").getAsJsonArray().get(0) .getAsJsonObject().get("display").getAsString(), logic.get("operator").getAsString(), logic.get("value").getAsString() }; descriptionCodeableConcept.setText(String.join(" ", text)); goalResource.setDescription(descriptionCodeableConcept); } goalResource.addTarget().setMeasure(goalResource.getDescription()) .setDue(new DateType(new Date(carePlanStart + Utilities.convertTime("days", 30)))); if (goal.has("addresses")) { for (JsonElement reasonElement : goal.get("addresses").getAsJsonArray()) { if (reasonElement instanceof JsonObject) { JsonObject reasonObject = reasonElement.getAsJsonObject(); String reasonCode = reasonObject.get("codes") .getAsJsonObject() .get("SNOMED-CT") .getAsJsonArray() .get(0) .getAsString(); BundleEntryComponent reasonCondition = findConditionResourceByCode(bundle, reasonCode); if (reasonCondition != null) { goalResource.addAddresses().setReference(reasonCondition.getFullUrl()); } } } } // note: this ID logic assumes the person will not have 2 careplans // that start at the same timestep with the same description String resourceID = ExportHelper.buildUUID(person, carePlanStart, "CareGoal for " + goalResource.getDescription()); return newEntry(bundle, goalResource, resourceID); } /** * Map the given CarePlan to a FHIR CareTeam resource, and add it to the given Bundle. * * @param person The Person * @param personEntry The Entry for the Person * @param bundle Bundle to add the CarePlan to * @param encounterEntry Current Encounter entry * @param carePlan The CarePlan to map to FHIR and add to the bundle * @return The added Entry */ private static BundleEntryComponent careTeam(Person person, BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, CarePlan carePlan) { CareTeam careTeam = new CareTeam(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); careTeam.setMeta(meta); } Period period = new Period().setStart(new Date(carePlan.start)); careTeam.setPeriod(period); if (carePlan.stop != 0L) { period.setEnd(new Date(carePlan.stop)); careTeam.setStatus(CareTeamStatus.INACTIVE); } else { careTeam.setStatus(CareTeamStatus.ACTIVE); } careTeam.setSubject(new Reference(personEntry.getFullUrl())); careTeam.setEncounter(new Reference(encounterEntry.getFullUrl())); if (carePlan.reasons != null && !carePlan.reasons.isEmpty()) { for (Code code : carePlan.reasons) { careTeam.addReasonCode(mapCodeToCodeableConcept(code, SNOMED_URI)); } } // The first participant is the patient... CareTeamParticipantComponent participant = careTeam.addParticipant(); participant.addRole(mapCodeToCodeableConcept( new Code( SNOMED_URI, "116154003", "Patient"), SNOMED_URI)); Patient patient = (Patient) personEntry.getResource(); participant.setMember(new Reference() .setReference(personEntry.getFullUrl()) .setDisplay(patient.getNameFirstRep().getNameAsSingleString())); org.hl7.fhir.r4.model.Encounter encounter = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); // The second participant is the practitioner... if (encounter.hasParticipant()) { participant = careTeam.addParticipant(); participant.addRole(mapCodeToCodeableConcept( new Code( SNOMED_URI, "223366009", "Healthcare professional (occupation)"), SNOMED_URI)); participant.setMember(encounter.getParticipantFirstRep().getIndividual()); } // The last participant is the organization... participant = careTeam.addParticipant(); participant.addRole(mapCodeToCodeableConcept( new Code( SNOMED_URI, "224891009", "Healthcare services (qualifier value)"), SNOMED_URI)); participant.setMember(encounter.getServiceProvider()); careTeam.addManagingOrganization(encounter.getServiceProvider()); String careTeamUUID = ExportHelper.buildUUID(person, carePlan.start, "CareTeam for CarePlan " + carePlan.uuid); return newEntry(bundle, careTeam, careTeamUUID); } private static Identifier generateIdentifier(String uid) { Identifier identifier = new Identifier(); identifier.setUse(Identifier.IdentifierUse.OFFICIAL); identifier.setSystem("urn:ietf:rfc:3986"); identifier.setValue("urn:oid:" + uid); return identifier; } /** * Map the given ImagingStudy to a FHIR ImagingStudy resource, and add it to the given Bundle. * * @param personEntry The Entry for the Person * @param bundle Bundle to add the ImagingStudy to * @param encounterEntry Current Encounter entry * @param imagingStudy The ImagingStudy to map to FHIR and add to the bundle * @return The added Entry */ private static BundleEntryComponent imagingStudy( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, ImagingStudy imagingStudy) { org.hl7.fhir.r4.model.ImagingStudy imagingStudyResource = new org.hl7.fhir.r4.model.ImagingStudy(); imagingStudyResource.addIdentifier(generateIdentifier(imagingStudy.dicomUid)); imagingStudyResource.setStatus(ImagingStudyStatus.AVAILABLE); imagingStudyResource.setSubject(new Reference(personEntry.getFullUrl())); imagingStudyResource.setEncounter(new Reference(encounterEntry.getFullUrl())); if (USE_US_CORE_IG) { org.hl7.fhir.r4.model.Encounter encounterResource = (org.hl7.fhir.r4.model.Encounter) encounterEntry.getResource(); imagingStudyResource.setLocation(encounterResource.getLocationFirstRep().getLocation()); } if (! imagingStudy.codes.isEmpty()) { imagingStudyResource.addProcedureCode( mapCodeToCodeableConcept(imagingStudy.codes.get(0), SNOMED_URI)); } Date startDate = new Date(imagingStudy.start); imagingStudyResource.setStarted(startDate); // Convert the series into their FHIR equivalents int numberOfSeries = imagingStudy.series.size(); imagingStudyResource.setNumberOfSeries(numberOfSeries); List<ImagingStudySeriesComponent> seriesResourceList = new ArrayList<ImagingStudySeriesComponent>(); int totalNumberOfInstances = 0; int seriesNo = 1; for (ImagingStudy.Series series : imagingStudy.series) { ImagingStudySeriesComponent seriesResource = new ImagingStudySeriesComponent(); seriesResource.setUid(series.dicomUid); seriesResource.setNumber(seriesNo); seriesResource.setStarted(startDate); CodeableConcept modalityConcept = mapCodeToCodeableConcept(series.modality, DICOM_DCM_URI); seriesResource.setModality(modalityConcept.getCoding().get(0)); CodeableConcept bodySiteConcept = mapCodeToCodeableConcept(series.bodySite, SNOMED_URI); seriesResource.setBodySite(bodySiteConcept.getCoding().get(0)); // Convert the images in each series into their FHIR equivalents int numberOfInstances = series.instances.size(); seriesResource.setNumberOfInstances(numberOfInstances); totalNumberOfInstances += numberOfInstances; List<ImagingStudySeriesInstanceComponent> instanceResourceList = new ArrayList<ImagingStudySeriesInstanceComponent>(); int instanceNo = 1; for (ImagingStudy.Instance instance : series.instances) { ImagingStudySeriesInstanceComponent instanceResource = new ImagingStudySeriesInstanceComponent(); instanceResource.setUid(instance.dicomUid); instanceResource.setTitle(instance.title); instanceResource.setSopClass(new Coding() .setCode("urn:oid:" + instance.sopClass.code) .setSystem("urn:ietf:rfc:3986")); instanceResource.setNumber(instanceNo); instanceResourceList.add(instanceResource); instanceNo += 1; } seriesResource.setInstance(instanceResourceList); seriesResourceList.add(seriesResource); seriesNo += 1; } imagingStudyResource.setSeries(seriesResourceList); imagingStudyResource.setNumberOfInstances(totalNumberOfInstances); return newEntry(bundle, imagingStudyResource, imagingStudy.uuid.toString()); } /** * Map the given Observation with attachment element to a FHIR Media resource, and add it to the * given Bundle. * * @param personEntry The Entry for the Person * @param bundle Bundle to add the Media to * @param encounterEntry Current Encounter entry * @param obs The Observation to map to FHIR and add to the bundle * @return The added Entry */ private static BundleEntryComponent media( BundleEntryComponent personEntry, Bundle bundle, BundleEntryComponent encounterEntry, Observation obs) { org.hl7.fhir.r4.model.Media mediaResource = new org.hl7.fhir.r4.model.Media(); // Hard code as Image since we don't anticipate using video or audio any time soon Code mediaType = new Code("path_to_url", "image", "Image"); if (obs.codes != null && obs.codes.size() > 0) { List<CodeableConcept> reasonList = obs.codes.stream() .map(code -> mapCodeToCodeableConcept(code, SNOMED_URI)).collect(Collectors.toList()); mediaResource.setReasonCode(reasonList); } mediaResource.setType(mapCodeToCodeableConcept(mediaType, MEDIA_TYPE_URI)); mediaResource.setStatus(MediaStatus.COMPLETED); mediaResource.setSubject(new Reference(personEntry.getFullUrl())); mediaResource.setEncounter(new Reference(encounterEntry.getFullUrl())); Attachment content = (Attachment) obs.value; org.hl7.fhir.r4.model.Attachment contentResource = new org.hl7.fhir.r4.model.Attachment(); contentResource.setContentType(content.contentType); contentResource.setLanguage(content.language); if (content.data != null) { contentResource.setDataElement(new org.hl7.fhir.r4.model.Base64BinaryType(content.data)); } else { contentResource.setSize(content.size); } contentResource.setUrl(content.url); contentResource.setTitle(content.title); if (content.hash != null) { contentResource.setHashElement(new org.hl7.fhir.r4.model.Base64BinaryType(content.hash)); } mediaResource.setWidth(content.width); mediaResource.setHeight(content.height); mediaResource.setContent(contentResource); return newEntry(bundle, mediaResource, obs.uuid.toString()); } /** * Map the Provider into a FHIR Organization resource, and add it to the given Bundle. * * @param bundle The Bundle to add to * @param provider The Provider * @return The added Entry */ protected static BundleEntryComponent provider(Bundle bundle, Provider provider) { Organization organizationResource = new Organization(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); organizationResource.setMeta(meta); } List<CodeableConcept> organizationType = new ArrayList<CodeableConcept>(); organizationType.add( mapCodeToCodeableConcept( new Code( "path_to_url", "prov", "Healthcare Provider"), "path_to_url") ); organizationResource.addIdentifier().setSystem(SYNTHEA_IDENTIFIER) .setValue((String) provider.getResourceID()); organizationResource.setActive(true); organizationResource.setId(provider.getResourceID()); organizationResource.setName(provider.name); organizationResource.setType(organizationType); Address address = new Address() .addLine(provider.address) .setCity(provider.city) .setPostalCode(provider.zip) .setState(provider.state); if (COUNTRY_CODE != null) { address.setCountry(COUNTRY_CODE); } organizationResource.addAddress(address); if (provider.phone != null && !provider.phone.isEmpty()) { ContactPoint contactPoint = new ContactPoint() .setSystem(ContactPointSystem.PHONE) .setValue(provider.phone); organizationResource.addTelecom(contactPoint); } else if (USE_US_CORE_IG) { ContactPoint contactPoint = new ContactPoint() .setSystem(ContactPointSystem.PHONE) .setValue("(555) 555-5555"); organizationResource.addTelecom(contactPoint); } org.hl7.fhir.r4.model.Location location = null; if (USE_US_CORE_IG) { location = providerLocation(bundle, provider); } BundleEntryComponent entry = newEntry(bundle, organizationResource, provider.uuid); // add location to bundle *after* organization to ensure no forward reference if (location != null) { newEntry(bundle, location, provider.getResourceLocationID()); } return entry; } /** * Map the Provider into a FHIR Location resource, and add it to the given Bundle. * * @param bundle The Bundle to add to * @param provider The Provider * @return The added Entry or null if the bundle already contains this provider location */ protected static org.hl7.fhir.r4.model.Location providerLocation( Bundle bundle, Provider provider) { org.hl7.fhir.r4.model.Location location = new org.hl7.fhir.r4.model.Location(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); location.setMeta(meta); } location.setStatus(LocationStatus.ACTIVE); location.setName(provider.name); // set telecom if (provider.phone != null && !provider.phone.isEmpty()) { ContactPoint contactPoint = new ContactPoint() .setSystem(ContactPointSystem.PHONE) .setValue(provider.phone); location.addTelecom(contactPoint); } else if (USE_US_CORE_IG) { ContactPoint contactPoint = new ContactPoint() .setSystem(ContactPointSystem.PHONE) .setValue("(555) 555-5555"); location.addTelecom(contactPoint); } // set address Address address = new Address() .addLine(provider.address) .setCity(provider.city) .setPostalCode(provider.zip) .setState(provider.state); if (COUNTRY_CODE != null) { address.setCountry(COUNTRY_CODE); } location.setAddress(address); LocationPositionComponent position = new LocationPositionComponent(); position.setLatitude(provider.getY()); position.setLongitude(provider.getX()); location.setPosition(position); location.addIdentifier() .setSystem(SYNTHEA_IDENTIFIER) .setValue(provider.getResourceLocationID()); Identifier organizationIdentifier = new Identifier() .setSystem(SYNTHEA_IDENTIFIER) .setValue(provider.getResourceID()); location.setManagingOrganization(new Reference() .setIdentifier(organizationIdentifier) .setDisplay(provider.name)); return location; } /** * Map the clinician into a FHIR Practitioner resource, and add it to the given Bundle. * @param bundle The Bundle to add to * @param clinician The clinician * @return The added Entry */ protected static BundleEntryComponent practitioner(Bundle bundle, Clinician clinician) { Practitioner practitionerResource = new Practitioner(); if (USE_US_CORE_IG) { Meta meta = new Meta(); meta.addProfile( "path_to_url"); practitionerResource.setMeta(meta); } practitionerResource.addIdentifier() .setSystem("path_to_url") .setValue(clinician.npi); practitionerResource.setActive(true); practitionerResource.addName().setFamily( (String) clinician.attributes.get(Clinician.LAST_NAME)) .addGiven((String) clinician.attributes.get(Clinician.FIRST_NAME)) .addPrefix((String) clinician.attributes.get(Clinician.NAME_PREFIX)); String email = (String) clinician.attributes.get(Clinician.FIRST_NAME) + "." + (String) clinician.attributes.get(Clinician.LAST_NAME) + "@example.com"; practitionerResource.addTelecom() .setSystem(ContactPointSystem.EMAIL) .setUse(ContactPointUse.WORK) .setValue(email); if (USE_US_CORE_IG) { practitionerResource.getTelecomFirstRep().addExtension() .setUrl("path_to_url") .setValue(new BooleanType(true)); } Address address = new Address() .addLine((String) clinician.attributes.get(Clinician.ADDRESS)) .setCity((String) clinician.attributes.get(Clinician.CITY)) .setPostalCode((String) clinician.attributes.get(Clinician.ZIP)) .setState((String) clinician.attributes.get(Clinician.STATE)); if (COUNTRY_CODE != null) { address.setCountry(COUNTRY_CODE); } practitionerResource.addAddress(address); if (clinician.attributes.get(Person.GENDER).equals("M")) { practitionerResource.setGender(AdministrativeGender.MALE); } else if (clinician.attributes.get(Person.GENDER).equals("F")) { practitionerResource.setGender(AdministrativeGender.FEMALE); } BundleEntryComponent practitionerEntry = newEntry(bundle, practitionerResource, clinician.getResourceID()); if (USE_US_CORE_IG) { // generate an accompanying PractitionerRole resource PractitionerRole practitionerRole = new PractitionerRole(); Meta meta = new Meta(); meta.addProfile( "path_to_url"); practitionerRole.setMeta(meta); practitionerRole.setPractitioner(new Reference() .setIdentifier(new Identifier() .setSystem("path_to_url") .setValue(clinician.npi)) .setDisplay(practitionerResource.getNameFirstRep().getNameAsSingleString())); practitionerRole.setOrganization(new Reference() .setIdentifier(new Identifier() .setSystem(SYNTHEA_IDENTIFIER) .setValue(clinician.getOrganization().getResourceID())) .setDisplay(clinician.getOrganization().name)); practitionerRole.addCode( mapCodeToCodeableConcept( new Code("path_to_url", "208D00000X", "General Practice Physician"), null)); practitionerRole.addSpecialty( mapCodeToCodeableConcept( new Code("path_to_url", "208D00000X", "General Practice Physician"), null)); practitionerRole.addLocation() .setIdentifier(new Identifier() .setSystem(SYNTHEA_IDENTIFIER) .setValue(clinician.getOrganization().getResourceLocationID())) .setDisplay(clinician.getOrganization().name); if (clinician.getOrganization().phone != null && !clinician.getOrganization().phone.isEmpty()) { practitionerRole.addTelecom(new ContactPoint() .setSystem(ContactPointSystem.PHONE) .setValue(clinician.getOrganization().phone)); } practitionerRole.addTelecom(practitionerResource.getTelecomFirstRep()); // clinicians do not have any associated "individual seed" or "timestamp" // so we'll just re-use the uuid bits UUID origUUID = UUID.fromString(clinician.uuid); String uuid = ExportHelper.buildUUID(origUUID.getLeastSignificantBits(), origUUID.getMostSignificantBits(), "PractitionerRole for Clinician " + origUUID); newEntry(bundle, practitionerRole, uuid); } return practitionerEntry; } /** * Convert the unit into a UnitsOfTime. * * @param unit unit String * @return a UnitsOfTime representing the given unit */ private static UnitsOfTime convertUcumCode(String unit) { // From: path_to_url switch (unit) { case "seconds": return UnitsOfTime.S; case "minutes": return UnitsOfTime.MIN; case "hours": return UnitsOfTime.H; case "days": return UnitsOfTime.D; case "weeks": return UnitsOfTime.WK; case "months": return UnitsOfTime.MO; case "years": return UnitsOfTime.A; default: return null; } } /** * Convert the timestamp into a FHIR DateType or DateTimeType. * * @param datetime Timestamp * @param time If true, return a DateTime; if false, return a Date. * @return a DateType or DateTimeType representing the given timestamp */ private static Type convertFhirDateTime(long datetime, boolean time) { Date date = new Date(datetime); if (time) { return new DateTimeType(date); } else { return new DateType(date); } } /** * Helper function to convert a Code into a CodeableConcept. Takes an optional system, which * replaces the Code.system in the resulting CodeableConcept if not null. * * @param from The Code to create a CodeableConcept from. * @param system The system identifier, such as a URI. Optional; may be null. * @return The converted CodeableConcept */ private static CodeableConcept mapCodeToCodeableConcept(Code from, String system) { CodeableConcept to = new CodeableConcept(); system = system == null ? null : ExportHelper.getSystemURI(system); from.system = ExportHelper.getSystemURI(from.system); if (from.display != null) { to.setText(from.display); } Coding coding = new Coding(); coding.setCode(from.code); coding.setDisplay(from.display); if (from.system == null) { coding.setSystem(system); } else { coding.setSystem(from.system); } coding.setVersion(from.version); // may be null to.addCoding(coding); return to; } /** * Helper function to create an Entry for the given Resource within the given Bundle. Sets the * resourceID to the given ID, sets the entry's fullURL to that resourceID, and adds the entry to * the bundle. * * @param bundle The Bundle to add the Entry to * @param resource Resource the new Entry should contain * @param resourceID The Resource ID to assign * @return the created Entry */ private static BundleEntryComponent newEntry(Bundle bundle, Resource resource, String resourceID) { BundleEntryComponent entry = bundle.addEntry(); resource.setId(resourceID); entry.setFullUrl(getUrlPrefix(resource.fhirType()) + resourceID); entry.setResource(resource); if (TRANSACTION_BUNDLE) { BundleEntryRequestComponent request = entry.getRequest(); request.setMethod(HTTPVerb.POST); String resourceType = resource.getResourceType().name(); request.setUrl(resourceType); if (ExportHelper.UNDUPLICATED_FHIR_RESOURCES.contains(resourceType)) { Property prop = entry.getResource().getNamedProperty("identifier"); if (prop != null && prop.getValues().size() > 0) { Identifier identifier = (Identifier)prop.getValues().get(0); request.setIfNoneExist( "identifier=" + identifier.getSystem() + "|" + identifier.getValue()); } } entry.setRequest(request); } return entry; } /** * Find a Condition resource whose primary code matches the provided code. * The BundleEntryComponent will be returned to allow for references. * @param bundle Bundle to find a resource in * @param code Code to find * @return entry for the matching Condition, or null if none is found */ private static BundleEntryComponent findConditionResourceByCode(Bundle bundle, String code) { for (BundleEntryComponent entry : bundle.getEntry()) { if (entry.getResource().fhirType().equals("Condition")) { Condition condition = (Condition) entry.getResource(); Coding coding = condition.getCode().getCoding().get(0); // Only one element in list if (code.equals(coding.getCode())) { return entry; } } } return null; } /** * Return either "[resourceType]/" or "urn:uuid:" as appropriate. * @param resourceType The resource type being referenced. * @return "[resourceType]/" or "urn:uuid:" */ protected static String getUrlPrefix(String resourceType) { if (Config.getAsBoolean("exporter.fhir.bulk_data")) { return resourceType + "/"; } else { return "urn:uuid:"; } } } ```
Row or ROW may refer to: Exercise Rowing, or a form of aquatic movement using oars Row (weight-lifting), a form of weight-lifting exercise Mathematics and informatics Row vector, a 1 × n matrix in linear algebra Row(s) in a table (information), a data arrangement with rows and columns Row (database), a single, implicitly structured data item in a database table Tone row, an arrangement of the twelve notes of the chromatic scale Places Rów, Pomeranian Voivodeship, north Poland Rów, Warmian-Masurian Voivodeship, north Poland Rów, West Pomeranian Voivodeship, northwest Poland Roswell International Air Center's IATA code Row, a former spelling of Rhu, Dunbartonshire, Scotland The Row (Lyme, New York), a set of historic homes The Row, Virginia, an unincorporated community Rest of the world (RoW) The Row or The Row Fulton Market, 900 West Randolph, a Chicago Skyscraper on Chicago's Restaurant Row Other Reality of Wrestling, an American professional wrestling promotion founded in 2005 Row (album), an album by Gerard Right-of-way (transportation), ROW, also often R/O/W. The Row (fashion label) The Row (film), a 2018 Canadian-American film See also Skid row (disambiguation) Rowing (disambiguation) Rowe (disambiguation) Roe (disambiguation) Rho (disambiguation) Line (disambiguation) Column (disambiguation) Controversy
```xml <?xml version="1.0" encoding="utf-8"?> <Project> <PropertyGroup> <OutDirName>Tests\$(MSBuildProjectName)</OutDirName> </PropertyGroup> <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>$(SdkTargetFramework)-windows</TargetFramework> </PropertyGroup> <PropertyGroup> <CanRunTestAsTool>false</CanRunTestAsTool> <RootNamespace>Microsoft.DotNet.MsiInstallerTests</RootNamespace> </PropertyGroup> <ItemGroup> <PackageReference Include="FluentAssertions" /> <PackageReference Include="NuGet.ProjectModel" /> <PackageReference Include="NuGet.LibraryModel" /> <PackageReference Include="NuGet.Versioning" /> <PackageReference Include="NuGet.Configuration" /> <PackageReference Include="NuGet.Frameworks" /> <PackageReference Include="NuGet.Common" /> <PackageReference Include="Microsoft.Management.Infrastructure" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Microsoft.NET.TestFramework\Microsoft.NET.TestFramework.csproj" /> <ProjectReference Include="..\..\src\Cli\dotnet\dotnet.csproj" /> </ItemGroup> <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" /> </Project> ```
```smalltalk using System; using System.Globalization; namespace Xamarin.Forms.Platform.WPF.Converters { public sealed class FontIconColorConverter : System.Windows.Data.IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is Color c && !c.IsDefault) { return c.ToBrush(); } return Color.White.ToBrush(); } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { throw new NotImplementedException(); } } } ```
```protocol buffer syntax = "proto3"; package envoymobile.extensions.filters.http.test_event_tracker; message TestEventTracker { // The attributes to report as part of envoy event emitted by `TestEventTrackerFilter` filter. map<string, string> attributes = 1; } ```
Texas vs The Nation was an American college football all-star bowl game played from 2007 to 2013. Originally played at the Sun Bowl Stadium, the format of the game pitted 50 top-rated college seniors who played college or high school football in Texas against a squad of 50 top-rated seniors from the other 49 states. In its first year, 73% of players who participated in the game were signed by National Football League (NFL) teams. In 2011, the game moved from El Paso to San Antonio, and the National Football League Players Association (NFLPA) became the named sponsor of the game. In 2012, the NFLPA began its own all-star game, the NFLPA Collegiate Bowl, and the Texas vs The Nation game was not held. The game was revived in 2013 at Eagle Stadium in Allen, but did not return in 2014. Game results Game MVPs References External links via Wayback Machine YouTube channel American football in the Dallas–Fort Worth metroplex American football in El Paso, Texas American football competitions in San Antonio College football all-star games Recurring sporting events established in 2007 Recurring sporting events disestablished in 2013
Yaakov Eliezer Kahana Shapira (, born 26 December 1950) is the rosh yeshiva of the Mercaz HaRav yeshiva in Jerusalem and a member of the Chief Rabbinate Council. Biography Shapiro was born in Jerusalem to Rabbi Avraham Shapira, the previous Rosh Yeshiva of Mercaz HaRav, and his wife, Penina Perl. He studied in the Yashlatz yeshiva high school, and then at Yeshivat Mercaz Harav. He was ordained by his father and Rabbi Shaul Yisraeli. Rabbinic career In 1983, his father appointed him as a lecturer in Mercaz Harav, and until 1993, he served as his father's right-hand man in the Chief Rabbinate. After his father's death in 2007, Rabbi Yaakov Shapira was appointed Rosh Yeshiva, in accordance with his father's will. In 2008, during his first year as Rosh Yeshiva, an Arab from Jabel Mukaber in East Jerusalem entered the yeshiva with a gun and began firing indiscriminately, killing eight students and wounding 15 others. In 2013, Rabbi Shapira competed for the position of Ashkenazi Chief Rabbi of Israel, but lost to Rabbi David Lau. In October 2014, he submitted his candidacy for the position of Chief Rabbi of Jerusalem, but withdrew from the race on election day. References 1950 births Living people Religious Zionist rosh yeshivas Mercaz HaRav alumni Rabbis in Jerusalem
The Oxford Parliament, also known as the Third Exclusion Parliament, was an English Parliament assembled in the city of Oxford for one week from 21 March 1681 until 28 March 1681 during the reign of Charles II of England. Summoning Parliament to meet in Oxford, a Royalist stronghold which had been Charles I's capital during the Civil War, was designed to deprive the Whig opposition of the grassroots support from the London masses, which was an important factor in earlier stages of the Exclusion Crisis. Succeeding the Exclusion Bill Parliament, this was the fifth and last parliament of the King's reign. Both Houses of Parliament met and the King delivered a speech to them on the first day. The Speaker was William Williams, who had been the Speaker in the previous Parliament. He was elected unanimously and delivered a speech on 22 March. The Oxford Parliament was dismissed after another Exclusion Bill was presented with popular support. Charles dissolved it after securing the necessary funds from King Louis XIV of France. In the Glorious Revolution During the Glorious Revolution, surviving members of the Oxford Parliament met again in December 1688, following the flight of King James II – leading to the election of the irregular Convention Parliament which conferred the Throne jointly on William III and Mary II. In literature The events of the Oxford Parliament are described in the final part of Robert Neill's historical novel "The Golden Days". See also List of parliaments of England 1681 English general election Oxford Parliament (1258) Oxford Parliament (1644) External links British History Online information 1681 in England Parliament (1681) Political history of England Parliaments of Charles II of England 1681 in politics 17th century in Oxfordshire The Restoration
```kotlin /* */ package com.example.splitties.material import android.annotation.SuppressLint import android.content.Context import android.util.AttributeSet import com.example.splitties.R import splitties.dimensions.dip import splitties.views.dsl.coordinatorlayout.coordinatorLayout import splitties.views.dsl.core.* import splitties.views.dsl.idepreview.UiPreView import splitties.views.dsl.material.contentScrollingWithAppBarLParams import splitties.views.textAppearance import splitties.views.verticalMargin import splitties.views.verticalPadding import com.google.android.material.R as MaterialR class MaterialComponentsCheatSheetUi(override val ctx: Context) : Ui { @SuppressLint("SetTextI18n") private val mainContent = verticalLayout { arrayOf( MaterialR.style.TextAppearance_MaterialComponents_Headline1, MaterialR.style.TextAppearance_MaterialComponents_Headline2, MaterialR.style.TextAppearance_MaterialComponents_Headline3, MaterialR.style.TextAppearance_MaterialComponents_Headline4, MaterialR.style.TextAppearance_MaterialComponents_Headline5, MaterialR.style.TextAppearance_MaterialComponents_Headline6, MaterialR.style.TextAppearance_MaterialComponents_Subtitle1, MaterialR.style.TextAppearance_MaterialComponents_Subtitle2, MaterialR.style.TextAppearance_MaterialComponents_Body1, MaterialR.style.TextAppearance_MaterialComponents_Body2, MaterialR.style.TextAppearance_MaterialComponents_Caption, MaterialR.style.TextAppearance_MaterialComponents_Overline, MaterialR.style.TextAppearance_MaterialComponents_Button ).forEach { add(textView { textAppearance = it text = resources.getResourceEntryName(it).substringAfterLast('.') }, lParams { verticalMargin = dip(4) }) } }.wrapInScrollView(R.id.main_scrolling_content) { verticalPadding = dip(4) clipToPadding = false } override val root = coordinatorLayout { add(mainContent, contentScrollingWithAppBarLParams()) } } //region IDE preview @Deprecated("For IDE preview only", level = DeprecationLevel.HIDDEN) private class MaterialComponentsCheatSheetUiPreview( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 ) : UiPreView( context = context.withTheme(R.style.AppTheme), attrs = attrs, defStyleAttr = defStyleAttr, createUi = { MaterialComponentsCheatSheetUi(it) } ) //endregion ```
```javascript module["exports"] = [ "habilidad", "acceso", "adaptador", "algoritmo", "alianza", "analista", "aplicacin", "enfoque", "arquitectura", "archivo", "inteligencia artificial", "array", "actitud", "medicin", "gestin presupuestaria", "capacidad", "desafo", "circuito", "colaboracin", "complejidad", "concepto", "conglomeracin", "contingencia", "ncleo", "fidelidad", "base de datos", "data-warehouse", "definicin", "emulacin", "codificar", "encriptar", "extranet", "firmware", "flexibilidad", "focus group", "previsin", "base de trabajo", "funcin", "funcionalidad", "Interfaz Grfica", "groupware", "Interfaz grfico de usuario", "hardware", "Soporte", "jerarqua", "conjunto", "implementacin", "infraestructura", "iniciativa", "instalacin", "conjunto de instrucciones", "interfaz", "intranet", "base del conocimiento", "red de area local", "aprovechar", "matrices", "metodologas", "middleware", "migracin", "modelo", "moderador", "monitorizar", "arquitectura abierta", "sistema abierto", "orquestar", "paradigma", "paralelismo", "poltica", "portal", "estructura de precios", "proceso de mejora", "producto", "productividad", "proyecto", "proyeccin", "protocolo", "lnea segura", "software", "solucin", "estandardizacin", "estrategia", "estructura", "xito", "superestructura", "soporte", "sinergia", "mediante", "marco de tiempo", "caja de herramientas", "utilizacin", "website", "fuerza de trabajo" ]; ```
Yebin Mok (born April 19, 1984) is an American former competitive figure skater. She is the 2002 Golden Spin of Zagreb silver medalist, won two bronze medals on the ISU Junior Grand Prix circuit, and placed fifth at the 2003 World Junior Championships. Personal life Mok was born on April 19, 1984, in Seoul, South Korea. She emigrated to the United States with her parents when she was seven. Career Mok began skating in 1994 in Culver City, California. She won Junior Olympics in 1997 in Juvenile, and 1998 in Intermediate Ladies, which is equivalent to U.S Junior Nationals. A stress fracture in the summer of 1998 kept her off the ice for three months. In October 2000, Mok made her Junior Grand Prix (JGP) debut, placing fourth in Germany before winning bronze in the Czech Republic. In November, she won a senior international medal – silver at the Golden Spin of Zagreb. Around 2000, she developed a pinched nerve in her back. She was selected to compete at the 2001 World Junior Championships in Sofia, Bulgaria. She placed tenth in her qualifying group but withdrew before the short program. In the 2002–03 JGP series, Mok placed fourth in Montreal and won bronze in Beijing. She placed sixth on the senior level at the 2003 U.S. Championships and was sent to the 2003 World Junior Championships in Ostrava. She placed second in her qualifying group, fifth in the short program, sixth in the free skate, and fifth overall in the Czech Republic. Mok later missed five months of training due to a stress fracture in her lower back and then four months due to ganglion cysts on her ankles, which required surgery. Mok did not compete in the 2005–06 season. She struggled with eating disorders, obsessive-compulsive disorder, and depression. In 2008, she became a professional skater for Holiday on Ice. Programs Competitive highlights References External links 1984 births Living people American female single skaters American sportspeople of Korean descent South Korean emigrants to the United States Sportspeople from Greater Los Angeles 21st-century American women
```python import numpy as np from numpy.testing import assert_array_equal from pytest import raises as assert_raises from scipy.signal._arraytools import (axis_slice, axis_reverse, odd_ext, even_ext, const_ext, zero_ext) class TestArrayTools: def test_axis_slice(self): a = np.arange(12).reshape(3, 4) s = axis_slice(a, start=0, stop=1, axis=0) assert_array_equal(s, a[0:1, :]) s = axis_slice(a, start=-1, axis=0) assert_array_equal(s, a[-1:, :]) s = axis_slice(a, start=0, stop=1, axis=1) assert_array_equal(s, a[:, 0:1]) s = axis_slice(a, start=-1, axis=1) assert_array_equal(s, a[:, -1:]) s = axis_slice(a, start=0, step=2, axis=0) assert_array_equal(s, a[::2, :]) s = axis_slice(a, start=0, step=2, axis=1) assert_array_equal(s, a[:, ::2]) def test_axis_reverse(self): a = np.arange(12).reshape(3, 4) r = axis_reverse(a, axis=0) assert_array_equal(r, a[::-1, :]) r = axis_reverse(a, axis=1) assert_array_equal(r, a[:, ::-1]) def test_odd_ext(self): a = np.array([[1, 2, 3, 4, 5], [9, 8, 7, 6, 5]]) odd = odd_ext(a, 2, axis=1) expected = np.array([[-1, 0, 1, 2, 3, 4, 5, 6, 7], [11, 10, 9, 8, 7, 6, 5, 4, 3]]) assert_array_equal(odd, expected) odd = odd_ext(a, 1, axis=0) expected = np.array([[-7, -4, -1, 2, 5], [1, 2, 3, 4, 5], [9, 8, 7, 6, 5], [17, 14, 11, 8, 5]]) assert_array_equal(odd, expected) assert_raises(ValueError, odd_ext, a, 2, axis=0) assert_raises(ValueError, odd_ext, a, 5, axis=1) def test_even_ext(self): a = np.array([[1, 2, 3, 4, 5], [9, 8, 7, 6, 5]]) even = even_ext(a, 2, axis=1) expected = np.array([[3, 2, 1, 2, 3, 4, 5, 4, 3], [7, 8, 9, 8, 7, 6, 5, 6, 7]]) assert_array_equal(even, expected) even = even_ext(a, 1, axis=0) expected = np.array([[9, 8, 7, 6, 5], [1, 2, 3, 4, 5], [9, 8, 7, 6, 5], [1, 2, 3, 4, 5]]) assert_array_equal(even, expected) assert_raises(ValueError, even_ext, a, 2, axis=0) assert_raises(ValueError, even_ext, a, 5, axis=1) def test_const_ext(self): a = np.array([[1, 2, 3, 4, 5], [9, 8, 7, 6, 5]]) const = const_ext(a, 2, axis=1) expected = np.array([[1, 1, 1, 2, 3, 4, 5, 5, 5], [9, 9, 9, 8, 7, 6, 5, 5, 5]]) assert_array_equal(const, expected) const = const_ext(a, 1, axis=0) expected = np.array([[1, 2, 3, 4, 5], [1, 2, 3, 4, 5], [9, 8, 7, 6, 5], [9, 8, 7, 6, 5]]) assert_array_equal(const, expected) def test_zero_ext(self): a = np.array([[1, 2, 3, 4, 5], [9, 8, 7, 6, 5]]) zero = zero_ext(a, 2, axis=1) expected = np.array([[0, 0, 1, 2, 3, 4, 5, 0, 0], [0, 0, 9, 8, 7, 6, 5, 0, 0]]) assert_array_equal(zero, expected) zero = zero_ext(a, 1, axis=0) expected = np.array([[0, 0, 0, 0, 0], [1, 2, 3, 4, 5], [9, 8, 7, 6, 5], [0, 0, 0, 0, 0]]) assert_array_equal(zero, expected) ```
Abrotonum () Abrotonon, pronounced Avrotonon can refer to: Abrotonon, 6th-century BC was a Thracian the mother of Themistocles. There is an epigram preserved Book VII of Anthologia Palatina (Epitaphs): Abrotonon, the name of a hetaera. Plutarch refers to an Abrotonon from Thrace in his Erotikos (). In the first dialogue of Dialogues of the Courtesans of Lucian the name of an hetaera named Abrotonon is also mentioned. Abrotonum, a plant of this name is mentioned from Pliny the Elder in his work Natural History Abrotonum, a Phoenician city on the coast of North Africa, in the district of Tripolitana, between the Syrtes, usually identified with Sabratha though Pliny makes them different places. References Sources 6th-century BC Greek people Hetairai Thracian women Phoenician colonies in Libya
```forth mult_add_fix8bx4_sim/mult_add_fix8bx4.v ```
```yaml name: angel_user_agent version: 2.0.0 description: Angel middleware to parse and inject a User Agent object into requests. author: Tobe O <thosakwe@gmail.com> homepage: path_to_url environment: sdk: ">=2.0.0-dev <3.0.0" dependencies: angel_framework: ^2.0.0-alpha user_agent: ^2.0.0 ```
Bolinao 52 is a documentary by Vietnamese American director Duc Nguyen about the Vietnamese boat people ship that was originally stranded in the Pacific Ocean in 1988. During their 37 days at sea, the group encountered violent storms and engine failures. They fought their thirst and hunger and a US Navy ship reportedly refused to rescue them, forcing the boat people to starve despite resorting to cannibalism. Only 52 out of the 110 boat people survived the tragedy and were rescued by Filipino fishermen who brought them to Bolinao in the Philippines. Bolinao 52 premiered on March 19, 2007, in San Francisco and on March 24, 2007, in San Jose at the San Francisco International Asian American Film Festival. See also Boat people Vượt Sóng Vietnamese International Film Festival External links Archival collections Guide to the Duc Nguyen Video Footage for Bolinao 52. Special Collections and Archives, The UC Irvine Libraries, Irvine, California. Other Official Website Seeing 'Bolinao 52'? Press Articles Written About Bolinao 52 Phim "Bolinao 52" Thảm kịch của 110 người vượt biên đi tìm tự do Bolinao 52 - Sự cảm thông đến từ những người còn sống UCIspace @ the Libraries digital collection: Duc Nguyen video footage for Bolinao 52 2007 films Vietnamese diaspora Vietnamese documentary films Vietnamese refugees 2007 documentary films Vietnamese-language films Vietnamese historical films Documentary films about refugees Incidents of cannibalism
```go // _ _ // __ _____ __ ___ ___ __ _| |_ ___ // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ // \ V V / __/ (_| |\ V /| | (_| | || __/ // \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| // // // CONTACT: hello@weaviate.io // //go:build integrationTest package db import ( "context" "math/rand" "testing" "time" "github.com/go-openapi/strfmt" "github.com/google/uuid" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" "github.com/weaviate/weaviate/adapters/repos/db/indexcheckpoint" "github.com/weaviate/weaviate/adapters/repos/db/inverted" "github.com/weaviate/weaviate/adapters/repos/db/inverted/stopwords" "github.com/weaviate/weaviate/entities/models" "github.com/weaviate/weaviate/entities/schema" schemaConfig "github.com/weaviate/weaviate/entities/schema/config" "github.com/weaviate/weaviate/entities/storobj" esync "github.com/weaviate/weaviate/entities/sync" enthnsw "github.com/weaviate/weaviate/entities/vectorindex/hnsw" "github.com/weaviate/weaviate/usecases/memwatch" ) func parkingGaragesSchema() schema.Schema { return schema.Schema{ Objects: &models.Schema{ Classes: []*models.Class{ { Class: "MultiRefParkingGarage", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, { Name: "location", DataType: []string{string(schema.DataTypeGeoCoordinates)}, }, }, }, { Class: "MultiRefParkingLot", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, }, }, { Class: "MultiRefCar", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, { Name: "parkedAt", DataType: []string{"MultiRefParkingGarage", "MultiRefParkingLot"}, }, }, }, { Class: "MultiRefDriver", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, { Name: "drives", DataType: []string{"MultiRefCar"}, }, }, }, { Class: "MultiRefPerson", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, { Name: "friendsWith", DataType: []string{"MultiRefDriver"}, }, }, }, { Class: "MultiRefSociety", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, { Name: "hasMembers", DataType: []string{"MultiRefPerson"}, }, }, }, // for classifications test { Class: "ExactCategory", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, }, }, { Class: "MainCategory", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ { Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace, }, }, }, }, }, } } func cityCountryAirportSchema() schema.Schema { return schema.Schema{ Objects: &models.Schema{ Classes: []*models.Class{ { Class: "Country", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ {Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace}, }, }, { Class: "City", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ {Name: "name", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace}, {Name: "inCountry", DataType: []string{"Country"}}, {Name: "population", DataType: []string{"int"}}, {Name: "location", DataType: []string{"geoCoordinates"}}, }, }, { Class: "Airport", VectorIndexConfig: enthnsw.NewDefaultUserConfig(), InvertedIndexConfig: invertedConfig(), Properties: []*models.Property{ {Name: "code", DataType: schema.DataTypeText.PropString(), Tokenization: models.PropertyTokenizationWhitespace}, {Name: "phone", DataType: []string{"phoneNumber"}}, {Name: "inCity", DataType: []string{"City"}}, }, }, }, }, } } func testCtx() context.Context { //nolint:govet ctx, _ := context.WithTimeout(context.Background(), 30*time.Second) return ctx } func getRandomSeed() *rand.Rand { return rand.New(rand.NewSource(time.Now().UnixNano())) } func testShard(t *testing.T, ctx context.Context, className string, indexOpts ...func(*Index)) (ShardLike, *Index) { return testShardWithSettings(t, ctx, &models.Class{Class: className}, enthnsw.UserConfig{Skip: true}, false, false, indexOpts...) } func testShardWithSettings(t *testing.T, ctx context.Context, class *models.Class, vic schemaConfig.VectorIndexConfig, withStopwords, withCheckpoints bool, indexOpts ...func(*Index), ) (ShardLike, *Index) { tmpDir := t.TempDir() logger, _ := test.NewNullLogger() maxResults := int64(10_000) repo, err := New(logger, Config{ MemtablesFlushDirtyAfter: 60, RootPath: tmpDir, QueryMaximumResults: maxResults, MaxImportGoroutinesFactor: 1, }, &fakeRemoteClient{}, &fakeNodeResolver{}, &fakeRemoteNodeClient{}, &fakeReplicationClient{}, nil, memwatch.NewDummyMonitor()) require.Nil(t, err) shardState := singleShardState() sch := schema.Schema{ Objects: &models.Schema{ Classes: []*models.Class{class}, }, } schemaGetter := &fakeSchemaGetter{shardState: shardState, schema: sch} iic := schema.InvertedIndexConfig{} if class.InvertedIndexConfig != nil { iic = inverted.ConfigFromModel(class.InvertedIndexConfig) } var sd *stopwords.Detector if withStopwords { sd, err = stopwords.NewDetectorFromConfig(iic.Stopwords) require.NoError(t, err) } var checkpts *indexcheckpoint.Checkpoints if withCheckpoints { checkpts, err = indexcheckpoint.New(tmpDir, logger) require.NoError(t, err) } idx := &Index{ Config: IndexConfig{ RootPath: tmpDir, ClassName: schema.ClassName(class.Class), QueryMaximumResults: maxResults, ReplicationFactor: NewAtomicInt64(1), }, partitioningEnabled: shardState.PartitioningEnabled, invertedIndexConfig: iic, vectorIndexUserConfig: vic, logger: logger, getSchema: schemaGetter, centralJobQueue: repo.jobQueueCh, stopwords: sd, indexCheckpoints: checkpts, allocChecker: memwatch.NewDummyMonitor(), shardCreateLocks: esync.NewKeyLocker(), } idx.closingCtx, idx.closingCancel = context.WithCancel(context.Background()) idx.initCycleCallbacksNoop() for _, opt := range indexOpts { opt(idx) } shardName := shardState.AllPhysicalShards()[0] shard, err := idx.initShard(ctx, shardName, class, nil, idx.Config.DisableLazyLoadShards) require.NoError(t, err) idx.shards.Store(shardName, shard) return idx.shards.Load(shardName), idx } func testObject(className string) *storobj.Object { return &storobj.Object{ MarshallerVersion: 1, Object: models.Object{ ID: strfmt.UUID(uuid.NewString()), Class: className, }, Vector: []float32{1, 2, 3}, } } func createRandomObjects(r *rand.Rand, className string, numObj int, vectorDim int) []*storobj.Object { obj := make([]*storobj.Object, numObj) for i := 0; i < numObj; i++ { obj[i] = &storobj.Object{ MarshallerVersion: 1, Object: models.Object{ ID: strfmt.UUID(uuid.NewString()), Class: className, }, Vector: make([]float32, vectorDim), } for d := 0; d < vectorDim; d++ { obj[i].Vector[d] = r.Float32() } } return obj } ```